;(function (e) { var t = {} function r(n) { if (t[n]) return t[n].exports var i = (t[n] = { i: n, l: !1, exports: {} }) return e[n].call(i.exports, i, i.exports, r), (i.l = !0), i.exports } ;(r.m = e), (r.c = t), (r.d = function (e, t, n) { r.o(e, t) || Object.defineProperty(e, t, { enumerable: !0, get: n }) }), (r.r = function (e) { "undefined" !== typeof Symbol && Symbol.toStringTag && Object.defineProperty(e, Symbol.toStringTag, { value: "Module" }), Object.defineProperty(e, "__esModule", { value: !0 }) }), (r.t = function (e, t) { if ((1 & t && (e = r(e)), 8 & t)) return e if (4 & t && "object" === typeof e && e && e.__esModule) return e var n = Object.create(null) if ( (r.r(n), Object.defineProperty(n, "default", { enumerable: !0, value: e }), 2 & t && "string" != typeof e) ) for (var i in e) r.d( n, i, function (t) { return e[t] }.bind(null, i) ) return n }), (r.n = function (e) { var t = e && e.__esModule ? function () { return e["default"] } : function () { return e } return r.d(t, "a", t), t }), (r.o = function (e, t) { return Object.prototype.hasOwnProperty.call(e, t) }), (r.p = "/"), r((r.s = "9a7e")) })({ 0: function (e, t) {}, "00ee": function (e, t, r) { var n = r("b622"), i = n("toStringTag"), o = {} ;(o[i] = "z"), (e.exports = "[object z]" === String(o)) }, "0366": function (e, t, r) { var n = r("1c0b") e.exports = function (e, t, r) { if ((n(e), void 0 === t)) return e switch (r) { case 0: return function () { return e.call(t) } case 1: return function (r) { return e.call(t, r) } case 2: return function (r, n) { return e.call(t, r, n) } case 3: return function (r, n, i) { return e.call(t, r, n, i) } } return function () { return e.apply(t, arguments) } } }, "057f": function (e, t, r) { var n = r("fc6a"), i = r("241c").f, o = {}.toString, a = "object" == typeof window && window && Object.getOwnPropertyNames ? Object.getOwnPropertyNames(window) : [], s = function (e) { try { return i(e) } catch (t) { return a.slice() } } e.exports.f = function (e) { return a && "[object Window]" == o.call(e) ? s(e) : i(n(e)) } }, "06cf": function (e, t, r) { var n = r("83ab"), i = r("d1e7"), o = r("5c6c"), a = r("fc6a"), s = r("a04b"), l = r("5135"), c = r("0cfb"), u = Object.getOwnPropertyDescriptor t.f = n ? u : function (e, t) { if (((e = a(e)), (t = s(t)), c)) try { return u(e, t) } catch (r) {} if (l(e, t)) return o(!i.f.call(e, t), e[t]) } }, "078a": function (e, t, r) { var n = r("96c1"), i = r("844f") function o(e) { var t = n.copyOptions(e) return n.ensureSpacesExists(t), t } e.exports = function (e, t) { var r, n, a, s return ( (r = o(t)), (n = i(e, r)), (s = "compact" in r && r.compact ? "_parent" : "parent"), (a = "addParent" in r && r.addParent ? JSON.stringify( n, function (e, t) { return e === s ? "_" : t }, r.spaces ) : JSON.stringify(n, null, r.spaces)), a.replace(/\u2028/g, "\\u2028").replace(/\u2029/g, "\\u2029") ) } }, "0960": function (e, t, r) { e.exports = r("b19a") }, "0b42": function (e, t, r) { var n = r("861d"), i = r("e8b5"), o = r("b622"), a = o("species") e.exports = function (e) { var t return ( i(e) && ((t = e.constructor), "function" != typeof t || (t !== Array && !i(t.prototype)) ? n(t) && ((t = t[a]), null === t && (t = void 0)) : (t = void 0)), void 0 === t ? Array : t ) } }, "0cb2": function (e, t, r) { var n = r("7b0b"), i = Math.floor, o = "".replace, a = /\$([$&'`]|\d{1,2}|<[^>]*>)/g, s = /\$([$&'`]|\d{1,2})/g e.exports = function (e, t, r, l, c, u) { var f = r + e.length, p = l.length, d = s return ( void 0 !== c && ((c = n(c)), (d = a)), o.call(u, d, function (n, o) { var a switch (o.charAt(0)) { case "$": return "$" case "&": return e case "`": return t.slice(0, r) case "'": return t.slice(f) case "<": a = c[o.slice(1, -1)] break default: var s = +o if (0 === s) return n if (s > p) { var u = i(s / 10) return 0 === u ? n : u <= p ? (void 0 === l[u - 1] ? o.charAt(1) : l[u - 1] + o.charAt(1)) : n } a = l[s - 1] } return void 0 === a ? "" : a }) ) } }, "0cfb": function (e, t, r) { var n = r("83ab"), i = r("d039"), o = r("cc12") e.exports = !n && !i(function () { return ( 7 != Object.defineProperty(o("div"), "a", { get: function () { return 7 } }).a ) }) }, 1: function (e, t) {}, "107c": function (e, t, r) { var n = r("d039"), i = r("da84"), o = i.RegExp e.exports = n(function () { var e = o("(?b)", "g") return "b" !== e.exec("b").groups.a || "bc" !== "b".replace(e, "$c") }) }, 1276: function (e, t, r) { "use strict" var n = r("d784"), i = r("44e7"), o = r("825a"), a = r("1d80"), s = r("4840"), l = r("8aa5"), c = r("50c4"), u = r("577e"), f = r("14c3"), p = r("9263"), d = r("9f7f"), h = r("d039"), m = d.UNSUPPORTED_Y, g = [].push, y = Math.min, v = 4294967295, b = !h(function () { var e = /(?:)/, t = e.exec e.exec = function () { return t.apply(this, arguments) } var r = "ab".split(e) return 2 !== r.length || "a" !== r[0] || "b" !== r[1] }) n( "split", function (e, t, r) { var n return ( (n = "c" == "abbc".split(/(b)*/)[1] || 4 != "test".split(/(?:)/, -1).length || 2 != "ab".split(/(?:ab)*/).length || 4 != ".".split(/(.?)(.?)/).length || ".".split(/()()/).length > 1 || "".split(/.?/).length ? function (e, r) { var n = u(a(this)), o = void 0 === r ? v : r >>> 0 if (0 === o) return [] if (void 0 === e) return [n] if (!i(e)) return t.call(n, e, o) var s, l, c, f = [], d = (e.ignoreCase ? "i" : "") + (e.multiline ? "m" : "") + (e.unicode ? "u" : "") + (e.sticky ? "y" : ""), h = 0, m = new RegExp(e.source, d + "g") while ((s = p.call(m, n))) { if ( ((l = m.lastIndex), l > h && (f.push(n.slice(h, s.index)), s.length > 1 && s.index < n.length && g.apply(f, s.slice(1)), (c = s[0].length), (h = l), f.length >= o)) ) break m.lastIndex === s.index && m.lastIndex++ } return h === n.length ? (!c && m.test("")) || f.push("") : f.push(n.slice(h)), f.length > o ? f.slice(0, o) : f } : "0".split(void 0, 0).length ? function (e, r) { return void 0 === e && 0 === r ? [] : t.call(this, e, r) } : t), [ function (t, r) { var i = a(this), o = void 0 == t ? void 0 : t[e] return void 0 !== o ? o.call(t, i, r) : n.call(u(i), t, r) }, function (e, i) { var a = o(this), p = u(e), d = r(n, a, p, i, n !== t) if (d.done) return d.value var h = s(a, RegExp), g = a.unicode, b = (a.ignoreCase ? "i" : "") + (a.multiline ? "m" : "") + (a.unicode ? "u" : "") + (m ? "g" : "y"), w = new h(m ? "^(?:" + a.source + ")" : a, b), x = void 0 === i ? v : i >>> 0 if (0 === x) return [] if (0 === p.length) return null === f(w, p) ? [p] : [] var A = 0, _ = 0, T = [] while (_ < p.length) { w.lastIndex = m ? 0 : _ var E, S = f(w, m ? p.slice(_) : p) if (null === S || (E = y(c(w.lastIndex + (m ? _ : 0)), p.length)) === A) _ = l(p, _, g) else { if ((T.push(p.slice(A, _)), T.length === x)) return T for (var C = 1; C <= S.length - 1; C++) if ((T.push(S[C]), T.length === x)) return T _ = A = E } } return T.push(p.slice(A)), T } ] ) }, !b, m ) }, "14c3": function (e, t, r) { var n = r("c6b6"), i = r("9263") e.exports = function (e, t) { var r = e.exec if ("function" === typeof r) { var o = r.call(e, t) if ("object" !== typeof o) throw TypeError("RegExp exec method returned something other than an Object or null") return o } if ("RegExp" !== n(e)) throw TypeError("RegExp#exec called on incompatible receiver") return i.call(e, t) } }, "159b": function (e, t, r) { var n = r("da84"), i = r("fdbc"), o = r("17c2"), a = r("9112") for (var s in i) { var l = n[s], c = l && l.prototype if (c && c.forEach !== o) try { a(c, "forEach", o) } catch (u) { c.forEach = o } } }, "17c2": function (e, t, r) { "use strict" var n = r("b727").forEach, i = r("a640"), o = i("forEach") e.exports = o ? [].forEach : function (e) { return n(this, e, arguments.length > 1 ? arguments[1] : void 0) } }, "1be4": function (e, t, r) { var n = r("d066") e.exports = n("document", "documentElement") }, "1c0b": function (e, t) { e.exports = function (e) { if ("function" != typeof e) throw TypeError(String(e) + " is not a function") return e } }, "1c7e": function (e, t, r) { var n = r("b622"), i = n("iterator"), o = !1 try { var a = 0, s = { next: function () { return { done: !!a++ } }, return: function () { o = !0 } } ;(s[i] = function () { return this }), Array.from(s, function () { throw 2 }) } catch (l) {} e.exports = function (e, t) { if (!t && !o) return !1 var r = !1 try { var n = {} ;(n[i] = function () { return { next: function () { return { done: (r = !0) } } } }), e(n) } catch (l) {} return r } }, "1d80": function (e, t) { e.exports = function (e) { if (void 0 == e) throw TypeError("Can't call method on " + e) return e } }, "1dde": function (e, t, r) { var n = r("d039"), i = r("b622"), o = r("2d00"), a = i("species") e.exports = function (e) { return ( o >= 51 || !n(function () { var t = [], r = (t.constructor = {}) return ( (r[a] = function () { return { foo: 1 } }), 1 !== t[e](Boolean).foo ) }) ) } }, "1fb5": function (e, t, r) { "use strict" ;(t.byteLength = u), (t.toByteArray = p), (t.fromByteArray = m) for ( var n = [], i = [], o = "undefined" !== typeof Uint8Array ? Uint8Array : Array, a = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", s = 0, l = a.length; s < l; ++s ) (n[s] = a[s]), (i[a.charCodeAt(s)] = s) function c(e) { var t = e.length if (t % 4 > 0) throw new Error("Invalid string. Length must be a multiple of 4") var r = e.indexOf("=") ;-1 === r && (r = t) var n = r === t ? 0 : 4 - (r % 4) return [r, n] } function u(e) { var t = c(e), r = t[0], n = t[1] return (3 * (r + n)) / 4 - n } function f(e, t, r) { return (3 * (t + r)) / 4 - r } function p(e) { var t, r, n = c(e), a = n[0], s = n[1], l = new o(f(e, a, s)), u = 0, p = s > 0 ? a - 4 : a for (r = 0; r < p; r += 4) (t = (i[e.charCodeAt(r)] << 18) | (i[e.charCodeAt(r + 1)] << 12) | (i[e.charCodeAt(r + 2)] << 6) | i[e.charCodeAt(r + 3)]), (l[u++] = (t >> 16) & 255), (l[u++] = (t >> 8) & 255), (l[u++] = 255 & t) return ( 2 === s && ((t = (i[e.charCodeAt(r)] << 2) | (i[e.charCodeAt(r + 1)] >> 4)), (l[u++] = 255 & t)), 1 === s && ((t = (i[e.charCodeAt(r)] << 10) | (i[e.charCodeAt(r + 1)] << 4) | (i[e.charCodeAt(r + 2)] >> 2)), (l[u++] = (t >> 8) & 255), (l[u++] = 255 & t)), l ) } function d(e) { return n[(e >> 18) & 63] + n[(e >> 12) & 63] + n[(e >> 6) & 63] + n[63 & e] } function h(e, t, r) { for (var n, i = [], o = t; o < r; o += 3) (n = ((e[o] << 16) & 16711680) + ((e[o + 1] << 8) & 65280) + (255 & e[o + 2])), i.push(d(n)) return i.join("") } function m(e) { for (var t, r = e.length, i = r % 3, o = [], a = 16383, s = 0, l = r - i; s < l; s += a) o.push(h(e, s, s + a > l ? l : s + a)) return ( 1 === i ? ((t = e[r - 1]), o.push(n[t >> 2] + n[(t << 4) & 63] + "==")) : 2 === i && ((t = (e[r - 2] << 8) + e[r - 1]), o.push(n[t >> 10] + n[(t >> 4) & 63] + n[(t << 2) & 63] + "=")), o.join("") ) } ;(i["-".charCodeAt(0)] = 62), (i["_".charCodeAt(0)] = 63) }, 2: function (e, t) {}, "23cb": function (e, t, r) { var n = r("a691"), i = Math.max, o = Math.min e.exports = function (e, t) { var r = n(e) return r < 0 ? i(r + t, 0) : o(r, t) } }, "23e7": function (e, t, r) { var n = r("da84"), i = r("06cf").f, o = r("9112"), a = r("6eeb"), s = r("ce4e"), l = r("e893"), c = r("94ca") e.exports = function (e, t) { var r, u, f, p, d, h, m = e.target, g = e.global, y = e.stat if (((u = g ? n : y ? n[m] || s(m, {}) : (n[m] || {}).prototype), u)) for (f in t) { if ( ((d = t[f]), e.noTargetGet ? ((h = i(u, f)), (p = h && h.value)) : (p = u[f]), (r = c(g ? f : m + (y ? "." : "#") + f, e.forced)), !r && void 0 !== p) ) { if (typeof d === typeof p) continue l(d, p) } ;(e.sham || (p && p.sham)) && o(d, "sham", !0), a(u, f, d, e) } } }, "241c": function (e, t, r) { var n = r("ca84"), i = r("7839"), o = i.concat("length", "prototype") t.f = Object.getOwnPropertyNames || function (e) { return n(e, o) } }, 2532: function (e, t, r) { "use strict" var n = r("23e7"), i = r("5a34"), o = r("1d80"), a = r("577e"), s = r("ab13") n( { target: "String", proto: !0, forced: !s("includes") }, { includes: function (e) { return !!~a(o(this)).indexOf(a(i(e)), arguments.length > 1 ? arguments[1] : void 0) } } ) }, "27bf": function (e, t, r) { "use strict" e.exports = a var n = r("b19a"), i = Object.create(r("3a7c")) function o(e, t) { var r = this._transformState r.transforming = !1 var n = r.writecb if (!n) return this.emit("error", new Error("write callback called multiple times")) ;(r.writechunk = null), (r.writecb = null), null != t && this.push(t), n(e) var i = this._readableState ;(i.reading = !1), (i.needReadable || i.length < i.highWaterMark) && this._read(i.highWaterMark) } function a(e) { if (!(this instanceof a)) return new a(e) n.call(this, e), (this._transformState = { afterTransform: o.bind(this), needTransform: !1, transforming: !1, writecb: null, writechunk: null, writeencoding: null }), (this._readableState.needReadable = !0), (this._readableState.sync = !1), e && ("function" === typeof e.transform && (this._transform = e.transform), "function" === typeof e.flush && (this._flush = e.flush)), this.on("prefinish", s) } function s() { var e = this "function" === typeof this._flush ? this._flush(function (t, r) { l(e, t, r) }) : l(this, null, null) } function l(e, t, r) { if (t) return e.emit("error", t) if ((null != r && e.push(r), e._writableState.length)) throw new Error("Calling transform done when ws.length != 0") if (e._transformState.transforming) throw new Error("Calling transform done when still transforming") return e.push(null) } ;(i.inherits = r("3fb5")), i.inherits(a, n), (a.prototype.push = function (e, t) { return (this._transformState.needTransform = !1), n.prototype.push.call(this, e, t) }), (a.prototype._transform = function (e, t, r) { throw new Error("_transform() is not implemented") }), (a.prototype._write = function (e, t, r) { var n = this._transformState if (((n.writecb = r), (n.writechunk = e), (n.writeencoding = t), !n.transforming)) { var i = this._readableState ;(n.needTransform || i.needReadable || i.length < i.highWaterMark) && this._read(i.highWaterMark) } }), (a.prototype._read = function (e) { var t = this._transformState null !== t.writechunk && t.writecb && !t.transforming ? ((t.transforming = !0), this._transform(t.writechunk, t.writeencoding, t.afterTransform)) : (t.needTransform = !0) }), (a.prototype._destroy = function (e, t) { var r = this n.prototype._destroy.call(this, e, function (e) { t(e), r.emit("close") }) }) }, "2a62": function (e, t, r) { var n = r("825a") e.exports = function (e, t, r) { var i, o n(e) try { if (((i = e["return"]), void 0 === i)) { if ("throw" === t) throw r return r } i = i.call(e) } catch (a) { ;(o = !0), (i = a) } if ("throw" === t) throw r if (o) throw i return n(i), r } }, "2c63": function (e, t, r) { e.exports = r("dc14") }, "2d00": function (e, t, r) { var n, i, o = r("da84"), a = r("342f"), s = o.process, l = o.Deno, c = (s && s.versions) || (l && l.version), u = c && c.v8 u ? ((n = u.split(".")), (i = n[0] < 4 ? 1 : n[0] + n[1])) : a && ((n = a.match(/Edge\/(\d+)/)), (!n || n[1] >= 74) && ((n = a.match(/Chrome\/(\d+)/)), n && (i = n[1]))), (e.exports = i && +i) }, "2ef0": function (e, t, r) { ;(function (e, n) { var i /** * @license * Lodash * Copyright OpenJS Foundation and other contributors * Released under MIT license * Based on Underscore.js 1.8.3 * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors */ ;(function () { var o, a = "4.17.21", s = 200, l = "Unsupported core-js use. Try https://npms.io/search?q=ponyfill.", c = "Expected a function", u = "Invalid `variable` option passed into `_.template`", f = "__lodash_hash_undefined__", p = 500, d = "__lodash_placeholder__", h = 1, m = 2, g = 4, y = 1, v = 2, b = 1, w = 2, x = 4, A = 8, _ = 16, T = 32, E = 64, S = 128, C = 256, k = 512, L = 30, P = "...", O = 800, j = 16, R = 1, I = 2, N = 3, M = 1 / 0, D = 9007199254740991, B = 17976931348623157e292, F = NaN, U = 4294967295, z = U - 1, q = U >>> 1, G = [ ["ary", S], ["bind", b], ["bindKey", w], ["curry", A], ["curryRight", _], ["flip", k], ["partial", T], ["partialRight", E], ["rearg", C] ], W = "[object Arguments]", V = "[object Array]", H = "[object AsyncFunction]", X = "[object Boolean]", Y = "[object Date]", K = "[object DOMException]", Z = "[object Error]", Q = "[object Function]", J = "[object GeneratorFunction]", $ = "[object Map]", ee = "[object Number]", te = "[object Null]", re = "[object Object]", ne = "[object Promise]", ie = "[object Proxy]", oe = "[object RegExp]", ae = "[object Set]", se = "[object String]", le = "[object Symbol]", ce = "[object Undefined]", ue = "[object WeakMap]", fe = "[object WeakSet]", pe = "[object ArrayBuffer]", de = "[object DataView]", he = "[object Float32Array]", me = "[object Float64Array]", ge = "[object Int8Array]", ye = "[object Int16Array]", ve = "[object Int32Array]", be = "[object Uint8Array]", we = "[object Uint8ClampedArray]", xe = "[object Uint16Array]", Ae = "[object Uint32Array]", _e = /\b__p \+= '';/g, Te = /\b(__p \+=) '' \+/g, Ee = /(__e\(.*?\)|\b__t\)) \+\n'';/g, Se = /&(?:amp|lt|gt|quot|#39);/g, Ce = /[&<>"']/g, ke = RegExp(Se.source), Le = RegExp(Ce.source), Pe = /<%-([\s\S]+?)%>/g, Oe = /<%([\s\S]+?)%>/g, je = /<%=([\s\S]+?)%>/g, Re = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, Ie = /^\w*$/, Ne = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, Me = /[\\^$.*+?()[\]{}|]/g, De = RegExp(Me.source), Be = /^\s+/, Fe = /\s/, Ue = /\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/, ze = /\{\n\/\* \[wrapped with (.+)\] \*/, qe = /,? & /, Ge = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g, We = /[()=,{}\[\]\/\s]/, Ve = /\\(\\)?/g, He = /\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g, Xe = /\w*$/, Ye = /^[-+]0x[0-9a-f]+$/i, Ke = /^0b[01]+$/i, Ze = /^\[object .+?Constructor\]$/, Qe = /^0o[0-7]+$/i, Je = /^(?:0|[1-9]\d*)$/, $e = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g, et = /($^)/, tt = /['\n\r\u2028\u2029\\]/g, rt = "\\ud800-\\udfff", nt = "\\u0300-\\u036f", it = "\\ufe20-\\ufe2f", ot = "\\u20d0-\\u20ff", at = nt + it + ot, st = "\\u2700-\\u27bf", lt = "a-z\\xdf-\\xf6\\xf8-\\xff", ct = "\\xac\\xb1\\xd7\\xf7", ut = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf", ft = "\\u2000-\\u206f", pt = " \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000", dt = "A-Z\\xc0-\\xd6\\xd8-\\xde", ht = "\\ufe0e\\ufe0f", mt = ct + ut + ft + pt, gt = "['’]", yt = "[" + rt + "]", vt = "[" + mt + "]", bt = "[" + at + "]", wt = "\\d+", xt = "[" + st + "]", At = "[" + lt + "]", _t = "[^" + rt + mt + wt + st + lt + dt + "]", Tt = "\\ud83c[\\udffb-\\udfff]", Et = "(?:" + bt + "|" + Tt + ")", St = "[^" + rt + "]", Ct = "(?:\\ud83c[\\udde6-\\uddff]){2}", kt = "[\\ud800-\\udbff][\\udc00-\\udfff]", Lt = "[" + dt + "]", Pt = "\\u200d", Ot = "(?:" + At + "|" + _t + ")", jt = "(?:" + Lt + "|" + _t + ")", Rt = "(?:" + gt + "(?:d|ll|m|re|s|t|ve))?", It = "(?:" + gt + "(?:D|LL|M|RE|S|T|VE))?", Nt = Et + "?", Mt = "[" + ht + "]?", Dt = "(?:" + Pt + "(?:" + [St, Ct, kt].join("|") + ")" + Mt + Nt + ")*", Bt = "\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])", Ft = "\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])", Ut = Mt + Nt + Dt, zt = "(?:" + [xt, Ct, kt].join("|") + ")" + Ut, qt = "(?:" + [St + bt + "?", bt, Ct, kt, yt].join("|") + ")", Gt = RegExp(gt, "g"), Wt = RegExp(bt, "g"), Vt = RegExp(Tt + "(?=" + Tt + ")|" + qt + Ut, "g"), Ht = RegExp( [ Lt + "?" + At + "+" + Rt + "(?=" + [vt, Lt, "$"].join("|") + ")", jt + "+" + It + "(?=" + [vt, Lt + Ot, "$"].join("|") + ")", Lt + "?" + Ot + "+" + Rt, Lt + "+" + It, Ft, Bt, wt, zt ].join("|"), "g" ), Xt = RegExp("[" + Pt + rt + at + ht + "]"), Yt = /[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/, Kt = [ "Array", "Buffer", "DataView", "Date", "Error", "Float32Array", "Float64Array", "Function", "Int8Array", "Int16Array", "Int32Array", "Map", "Math", "Object", "Promise", "RegExp", "Set", "String", "Symbol", "TypeError", "Uint8Array", "Uint8ClampedArray", "Uint16Array", "Uint32Array", "WeakMap", "_", "clearTimeout", "isFinite", "parseInt", "setTimeout" ], Zt = -1, Qt = {} ;(Qt[he] = Qt[me] = Qt[ge] = Qt[ye] = Qt[ve] = Qt[be] = Qt[we] = Qt[xe] = Qt[Ae] = !0), (Qt[W] = Qt[V] = Qt[pe] = Qt[X] = Qt[de] = Qt[Y] = Qt[Z] = Qt[Q] = Qt[$] = Qt[ee] = Qt[re] = Qt[oe] = Qt[ae] = Qt[se] = Qt[ue] = !1) var Jt = {} ;(Jt[W] = Jt[V] = Jt[pe] = Jt[de] = Jt[X] = Jt[Y] = Jt[he] = Jt[me] = Jt[ge] = Jt[ye] = Jt[ve] = Jt[$] = Jt[ee] = Jt[re] = Jt[oe] = Jt[ae] = Jt[se] = Jt[le] = Jt[be] = Jt[we] = Jt[xe] = Jt[Ae] = !0), (Jt[Z] = Jt[Q] = Jt[ue] = !1) var $t = { À: "A", Á: "A", Â: "A", Ã: "A", Ä: "A", Å: "A", à: "a", á: "a", â: "a", ã: "a", ä: "a", å: "a", Ç: "C", ç: "c", Ð: "D", ð: "d", È: "E", É: "E", Ê: "E", Ë: "E", è: "e", é: "e", ê: "e", ë: "e", Ì: "I", Í: "I", Î: "I", Ï: "I", ì: "i", í: "i", î: "i", ï: "i", Ñ: "N", ñ: "n", Ò: "O", Ó: "O", Ô: "O", Õ: "O", Ö: "O", Ø: "O", ò: "o", ó: "o", ô: "o", õ: "o", ö: "o", ø: "o", Ù: "U", Ú: "U", Û: "U", Ü: "U", ù: "u", ú: "u", û: "u", ü: "u", Ý: "Y", ý: "y", ÿ: "y", Æ: "Ae", æ: "ae", Þ: "Th", þ: "th", ß: "ss", Ā: "A", Ă: "A", Ą: "A", ā: "a", ă: "a", ą: "a", Ć: "C", Ĉ: "C", Ċ: "C", Č: "C", ć: "c", ĉ: "c", ċ: "c", č: "c", Ď: "D", Đ: "D", ď: "d", đ: "d", Ē: "E", Ĕ: "E", Ė: "E", Ę: "E", Ě: "E", ē: "e", ĕ: "e", ė: "e", ę: "e", ě: "e", Ĝ: "G", Ğ: "G", Ġ: "G", Ģ: "G", ĝ: "g", ğ: "g", ġ: "g", ģ: "g", Ĥ: "H", Ħ: "H", ĥ: "h", ħ: "h", Ĩ: "I", Ī: "I", Ĭ: "I", Į: "I", İ: "I", ĩ: "i", ī: "i", ĭ: "i", į: "i", ı: "i", Ĵ: "J", ĵ: "j", Ķ: "K", ķ: "k", ĸ: "k", Ĺ: "L", Ļ: "L", Ľ: "L", Ŀ: "L", Ł: "L", ĺ: "l", ļ: "l", ľ: "l", ŀ: "l", ł: "l", Ń: "N", Ņ: "N", Ň: "N", Ŋ: "N", ń: "n", ņ: "n", ň: "n", ŋ: "n", Ō: "O", Ŏ: "O", Ő: "O", ō: "o", ŏ: "o", ő: "o", Ŕ: "R", Ŗ: "R", Ř: "R", ŕ: "r", ŗ: "r", ř: "r", Ś: "S", Ŝ: "S", Ş: "S", Š: "S", ś: "s", ŝ: "s", ş: "s", š: "s", Ţ: "T", Ť: "T", Ŧ: "T", ţ: "t", ť: "t", ŧ: "t", Ũ: "U", Ū: "U", Ŭ: "U", Ů: "U", Ű: "U", Ų: "U", ũ: "u", ū: "u", ŭ: "u", ů: "u", ű: "u", ų: "u", Ŵ: "W", ŵ: "w", Ŷ: "Y", ŷ: "y", Ÿ: "Y", Ź: "Z", Ż: "Z", Ž: "Z", ź: "z", ż: "z", ž: "z", IJ: "IJ", ij: "ij", Œ: "Oe", œ: "oe", ʼn: "'n", ſ: "s" }, er = { "&": "&", "<": "<", ">": ">", '"': """, "'": "'" }, tr = { "&": "&", "<": "<", ">": ">", """: '"', "'": "'" }, rr = { "\\": "\\", "'": "'", "\n": "n", "\r": "r", "\u2028": "u2028", "\u2029": "u2029" }, nr = parseFloat, ir = parseInt, or = "object" == typeof e && e && e.Object === Object && e, ar = "object" == typeof self && self && self.Object === Object && self, sr = or || ar || Function("return this")(), lr = t && !t.nodeType && t, cr = lr && "object" == typeof n && n && !n.nodeType && n, ur = cr && cr.exports === lr, fr = ur && or.process, pr = (function () { try { var e = cr && cr.require && cr.require("util").types return e || (fr && fr.binding && fr.binding("util")) } catch (t) {} })(), dr = pr && pr.isArrayBuffer, hr = pr && pr.isDate, mr = pr && pr.isMap, gr = pr && pr.isRegExp, yr = pr && pr.isSet, vr = pr && pr.isTypedArray function br(e, t, r) { switch (r.length) { case 0: return e.call(t) case 1: return e.call(t, r[0]) case 2: return e.call(t, r[0], r[1]) case 3: return e.call(t, r[0], r[1], r[2]) } return e.apply(t, r) } function wr(e, t, r, n) { var i = -1, o = null == e ? 0 : e.length while (++i < o) { var a = e[i] t(n, a, r(a), e) } return n } function xr(e, t) { var r = -1, n = null == e ? 0 : e.length while (++r < n) if (!1 === t(e[r], r, e)) break return e } function Ar(e, t) { var r = null == e ? 0 : e.length while (r--) if (!1 === t(e[r], r, e)) break return e } function _r(e, t) { var r = -1, n = null == e ? 0 : e.length while (++r < n) if (!t(e[r], r, e)) return !1 return !0 } function Tr(e, t) { var r = -1, n = null == e ? 0 : e.length, i = 0, o = [] while (++r < n) { var a = e[r] t(a, r, e) && (o[i++] = a) } return o } function Er(e, t) { var r = null == e ? 0 : e.length return !!r && Dr(e, t, 0) > -1 } function Sr(e, t, r) { var n = -1, i = null == e ? 0 : e.length while (++n < i) if (r(t, e[n])) return !0 return !1 } function Cr(e, t) { var r = -1, n = null == e ? 0 : e.length, i = Array(n) while (++r < n) i[r] = t(e[r], r, e) return i } function kr(e, t) { var r = -1, n = t.length, i = e.length while (++r < n) e[i + r] = t[r] return e } function Lr(e, t, r, n) { var i = -1, o = null == e ? 0 : e.length n && o && (r = e[++i]) while (++i < o) r = t(r, e[i], i, e) return r } function Pr(e, t, r, n) { var i = null == e ? 0 : e.length n && i && (r = e[--i]) while (i--) r = t(r, e[i], i, e) return r } function Or(e, t) { var r = -1, n = null == e ? 0 : e.length while (++r < n) if (t(e[r], r, e)) return !0 return !1 } var jr = zr("length") function Rr(e) { return e.split("") } function Ir(e) { return e.match(Ge) || [] } function Nr(e, t, r) { var n return ( r(e, function (e, r, i) { if (t(e, r, i)) return (n = r), !1 }), n ) } function Mr(e, t, r, n) { var i = e.length, o = r + (n ? 1 : -1) while (n ? o-- : ++o < i) if (t(e[o], o, e)) return o return -1 } function Dr(e, t, r) { return t === t ? hn(e, t, r) : Mr(e, Fr, r) } function Br(e, t, r, n) { var i = r - 1, o = e.length while (++i < o) if (n(e[i], t)) return i return -1 } function Fr(e) { return e !== e } function Ur(e, t) { var r = null == e ? 0 : e.length return r ? Vr(e, t) / r : F } function zr(e) { return function (t) { return null == t ? o : t[e] } } function qr(e) { return function (t) { return null == e ? o : e[t] } } function Gr(e, t, r, n, i) { return ( i(e, function (e, i, o) { r = n ? ((n = !1), e) : t(r, e, i, o) }), r ) } function Wr(e, t) { var r = e.length e.sort(t) while (r--) e[r] = e[r].value return e } function Vr(e, t) { var r, n = -1, i = e.length while (++n < i) { var a = t(e[n]) a !== o && (r = r === o ? a : r + a) } return r } function Hr(e, t) { var r = -1, n = Array(e) while (++r < e) n[r] = t(r) return n } function Xr(e, t) { return Cr(t, function (t) { return [t, e[t]] }) } function Yr(e) { return e ? e.slice(0, vn(e) + 1).replace(Be, "") : e } function Kr(e) { return function (t) { return e(t) } } function Zr(e, t) { return Cr(t, function (t) { return e[t] }) } function Qr(e, t) { return e.has(t) } function Jr(e, t) { var r = -1, n = e.length while (++r < n && Dr(t, e[r], 0) > -1); return r } function $r(e, t) { var r = e.length while (r-- && Dr(t, e[r], 0) > -1); return r } function en(e, t) { var r = e.length, n = 0 while (r--) e[r] === t && ++n return n } var tn = qr($t), rn = qr(er) function nn(e) { return "\\" + rr[e] } function on(e, t) { return null == e ? o : e[t] } function an(e) { return Xt.test(e) } function sn(e) { return Yt.test(e) } function ln(e) { var t, r = [] while (!(t = e.next()).done) r.push(t.value) return r } function cn(e) { var t = -1, r = Array(e.size) return ( e.forEach(function (e, n) { r[++t] = [n, e] }), r ) } function un(e, t) { return function (r) { return e(t(r)) } } function fn(e, t) { var r = -1, n = e.length, i = 0, o = [] while (++r < n) { var a = e[r] ;(a !== t && a !== d) || ((e[r] = d), (o[i++] = r)) } return o } function pn(e) { var t = -1, r = Array(e.size) return ( e.forEach(function (e) { r[++t] = e }), r ) } function dn(e) { var t = -1, r = Array(e.size) return ( e.forEach(function (e) { r[++t] = [e, e] }), r ) } function hn(e, t, r) { var n = r - 1, i = e.length while (++n < i) if (e[n] === t) return n return -1 } function mn(e, t, r) { var n = r + 1 while (n--) if (e[n] === t) return n return n } function gn(e) { return an(e) ? wn(e) : jr(e) } function yn(e) { return an(e) ? xn(e) : Rr(e) } function vn(e) { var t = e.length while (t-- && Fe.test(e.charAt(t))); return t } var bn = qr(tr) function wn(e) { var t = (Vt.lastIndex = 0) while (Vt.test(e)) ++t return t } function xn(e) { return e.match(Vt) || [] } function An(e) { return e.match(Ht) || [] } var _n = function e(t) { t = null == t ? sr : Tn.defaults(sr.Object(), t, Tn.pick(sr, Kt)) var r = t.Array, n = t.Date, i = t.Error, Fe = t.Function, Ge = t.Math, rt = t.Object, nt = t.RegExp, it = t.String, ot = t.TypeError, at = r.prototype, st = Fe.prototype, lt = rt.prototype, ct = t["__core-js_shared__"], ut = st.toString, ft = lt.hasOwnProperty, pt = 0, dt = (function () { var e = /[^.]+$/.exec((ct && ct.keys && ct.keys.IE_PROTO) || "") return e ? "Symbol(src)_1." + e : "" })(), ht = lt.toString, mt = ut.call(rt), gt = sr._, yt = nt( "^" + ut .call(ft) .replace(Me, "\\$&") .replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$" ), vt = ur ? t.Buffer : o, bt = t.Symbol, wt = t.Uint8Array, xt = vt ? vt.allocUnsafe : o, At = un(rt.getPrototypeOf, rt), _t = rt.create, Tt = lt.propertyIsEnumerable, Et = at.splice, St = bt ? bt.isConcatSpreadable : o, Ct = bt ? bt.iterator : o, kt = bt ? bt.toStringTag : o, Lt = (function () { try { var e = Xa(rt, "defineProperty") return e({}, "", {}), e } catch (t) {} })(), Pt = t.clearTimeout !== sr.clearTimeout && t.clearTimeout, Ot = n && n.now !== sr.Date.now && n.now, jt = t.setTimeout !== sr.setTimeout && t.setTimeout, Rt = Ge.ceil, It = Ge.floor, Nt = rt.getOwnPropertySymbols, Mt = vt ? vt.isBuffer : o, Dt = t.isFinite, Bt = at.join, Ft = un(rt.keys, rt), Ut = Ge.max, zt = Ge.min, qt = n.now, Vt = t.parseInt, Ht = Ge.random, Xt = at.reverse, Yt = Xa(t, "DataView"), $t = Xa(t, "Map"), er = Xa(t, "Promise"), tr = Xa(t, "Set"), rr = Xa(t, "WeakMap"), or = Xa(rt, "create"), ar = rr && new rr(), lr = {}, cr = js(Yt), fr = js($t), pr = js(er), jr = js(tr), Rr = js(rr), qr = bt ? bt.prototype : o, hn = qr ? qr.valueOf : o, wn = qr ? qr.toString : o function xn(e) { if (Eu(e) && !lu(e) && !(e instanceof Cn)) { if (e instanceof Sn) return e if (ft.call(e, "__wrapped__")) return Is(e) } return new Sn(e) } var _n = (function () { function e() {} return function (t) { if (!Tu(t)) return {} if (_t) return _t(t) e.prototype = t var r = new e() return (e.prototype = o), r } })() function En() {} function Sn(e, t) { ;(this.__wrapped__ = e), (this.__actions__ = []), (this.__chain__ = !!t), (this.__index__ = 0), (this.__values__ = o) } function Cn(e) { ;(this.__wrapped__ = e), (this.__actions__ = []), (this.__dir__ = 1), (this.__filtered__ = !1), (this.__iteratees__ = []), (this.__takeCount__ = U), (this.__views__ = []) } function kn() { var e = new Cn(this.__wrapped__) return ( (e.__actions__ = ia(this.__actions__)), (e.__dir__ = this.__dir__), (e.__filtered__ = this.__filtered__), (e.__iteratees__ = ia(this.__iteratees__)), (e.__takeCount__ = this.__takeCount__), (e.__views__ = ia(this.__views__)), e ) } function Ln() { if (this.__filtered__) { var e = new Cn(this) ;(e.__dir__ = -1), (e.__filtered__ = !0) } else (e = this.clone()), (e.__dir__ *= -1) return e } function Pn() { var e = this.__wrapped__.value(), t = this.__dir__, r = lu(e), n = t < 0, i = r ? e.length : 0, o = Ja(0, i, this.__views__), a = o.start, s = o.end, l = s - a, c = n ? s : a - 1, u = this.__iteratees__, f = u.length, p = 0, d = zt(l, this.__takeCount__) if (!r || (!n && i == l && d == l)) return Fo(e, this.__actions__) var h = [] e: while (l-- && p < d) { c += t var m = -1, g = e[c] while (++m < f) { var y = u[m], v = y.iteratee, b = y.type, w = v(g) if (b == I) g = w else if (!w) { if (b == R) continue e break e } } h[p++] = g } return h } function On(e) { var t = -1, r = null == e ? 0 : e.length this.clear() while (++t < r) { var n = e[t] this.set(n[0], n[1]) } } function jn() { ;(this.__data__ = or ? or(null) : {}), (this.size = 0) } function Rn(e) { var t = this.has(e) && delete this.__data__[e] return (this.size -= t ? 1 : 0), t } function In(e) { var t = this.__data__ if (or) { var r = t[e] return r === f ? o : r } return ft.call(t, e) ? t[e] : o } function Nn(e) { var t = this.__data__ return or ? t[e] !== o : ft.call(t, e) } function Mn(e, t) { var r = this.__data__ return (this.size += this.has(e) ? 0 : 1), (r[e] = or && t === o ? f : t), this } function Dn(e) { var t = -1, r = null == e ? 0 : e.length this.clear() while (++t < r) { var n = e[t] this.set(n[0], n[1]) } } function Bn() { ;(this.__data__ = []), (this.size = 0) } function Fn(e) { var t = this.__data__, r = ui(t, e) if (r < 0) return !1 var n = t.length - 1 return r == n ? t.pop() : Et.call(t, r, 1), --this.size, !0 } function Un(e) { var t = this.__data__, r = ui(t, e) return r < 0 ? o : t[r][1] } function zn(e) { return ui(this.__data__, e) > -1 } function qn(e, t) { var r = this.__data__, n = ui(r, e) return n < 0 ? (++this.size, r.push([e, t])) : (r[n][1] = t), this } function Gn(e) { var t = -1, r = null == e ? 0 : e.length this.clear() while (++t < r) { var n = e[t] this.set(n[0], n[1]) } } function Wn() { ;(this.size = 0), (this.__data__ = { hash: new On(), map: new ($t || Dn)(), string: new On() }) } function Vn(e) { var t = Va(this, e)["delete"](e) return (this.size -= t ? 1 : 0), t } function Hn(e) { return Va(this, e).get(e) } function Xn(e) { return Va(this, e).has(e) } function Yn(e, t) { var r = Va(this, e), n = r.size return r.set(e, t), (this.size += r.size == n ? 0 : 1), this } function Kn(e) { var t = -1, r = null == e ? 0 : e.length this.__data__ = new Gn() while (++t < r) this.add(e[t]) } function Zn(e) { return this.__data__.set(e, f), this } function Qn(e) { return this.__data__.has(e) } function Jn(e) { var t = (this.__data__ = new Dn(e)) this.size = t.size } function $n() { ;(this.__data__ = new Dn()), (this.size = 0) } function ei(e) { var t = this.__data__, r = t["delete"](e) return (this.size = t.size), r } function ti(e) { return this.__data__.get(e) } function ri(e) { return this.__data__.has(e) } function ni(e, t) { var r = this.__data__ if (r instanceof Dn) { var n = r.__data__ if (!$t || n.length < s - 1) return n.push([e, t]), (this.size = ++r.size), this r = this.__data__ = new Gn(n) } return r.set(e, t), (this.size = r.size), this } function ii(e, t) { var r = lu(e), n = !r && su(e), i = !r && !n && du(e), o = !r && !n && !i && Uu(e), a = r || n || i || o, s = a ? Hr(e.length, it) : [], l = s.length for (var c in e) (!t && !ft.call(e, c)) || (a && ("length" == c || (i && ("offset" == c || "parent" == c)) || (o && ("buffer" == c || "byteLength" == c || "byteOffset" == c)) || as(c, l))) || s.push(c) return s } function oi(e) { var t = e.length return t ? e[vo(0, t - 1)] : o } function ai(e, t) { return Ls(ia(e), gi(t, 0, e.length)) } function si(e) { return Ls(ia(e)) } function li(e, t, r) { ;((r !== o && !iu(e[t], r)) || (r === o && !(t in e))) && hi(e, t, r) } function ci(e, t, r) { var n = e[t] ;(ft.call(e, t) && iu(n, r) && (r !== o || t in e)) || hi(e, t, r) } function ui(e, t) { var r = e.length while (r--) if (iu(e[r][0], t)) return r return -1 } function fi(e, t, r, n) { return ( Ai(e, function (e, i, o) { t(n, e, r(e), o) }), n ) } function pi(e, t) { return e && oa(t, _f(t), e) } function di(e, t) { return e && oa(t, Tf(t), e) } function hi(e, t, r) { "__proto__" == t && Lt ? Lt(e, t, { configurable: !0, enumerable: !0, value: r, writable: !0 }) : (e[t] = r) } function mi(e, t) { var n = -1, i = t.length, a = r(i), s = null == e while (++n < i) a[n] = s ? o : yf(e, t[n]) return a } function gi(e, t, r) { return e === e && (r !== o && (e = e <= r ? e : r), t !== o && (e = e >= t ? e : t)), e } function yi(e, t, r, n, i, a) { var s, l = t & h, c = t & m, u = t & g if ((r && (s = i ? r(e, n, i, a) : r(e)), s !== o)) return s if (!Tu(e)) return e var f = lu(e) if (f) { if (((s = ts(e)), !l)) return ia(e, s) } else { var p = Qa(e), d = p == Q || p == J if (du(e)) return Yo(e, l) if (p == re || p == W || (d && !i)) { if (((s = c || d ? {} : rs(e)), !l)) return c ? sa(e, di(s, e)) : aa(e, pi(s, e)) } else { if (!Jt[p]) return i ? e : {} s = ns(e, p, l) } } a || (a = new Jn()) var y = a.get(e) if (y) return y a.set(e, s), Du(e) ? e.forEach(function (n) { s.add(yi(n, t, r, n, e, a)) }) : Su(e) && e.forEach(function (n, i) { s.set(i, yi(n, t, r, i, e, a)) }) var v = u ? (c ? Ua : Fa) : c ? Tf : _f, b = f ? o : v(e) return ( xr(b || e, function (n, i) { b && ((i = n), (n = e[i])), ci(s, i, yi(n, t, r, i, e, a)) }), s ) } function vi(e) { var t = _f(e) return function (r) { return bi(r, e, t) } } function bi(e, t, r) { var n = r.length if (null == e) return !n e = rt(e) while (n--) { var i = r[n], a = t[i], s = e[i] if ((s === o && !(i in e)) || !a(s)) return !1 } return !0 } function wi(e, t, r) { if ("function" != typeof e) throw new ot(c) return Es(function () { e.apply(o, r) }, t) } function xi(e, t, r, n) { var i = -1, o = Er, a = !0, l = e.length, c = [], u = t.length if (!l) return c r && (t = Cr(t, Kr(r))), n ? ((o = Sr), (a = !1)) : t.length >= s && ((o = Qr), (a = !1), (t = new Kn(t))) e: while (++i < l) { var f = e[i], p = null == r ? f : r(f) if (((f = n || 0 !== f ? f : 0), a && p === p)) { var d = u while (d--) if (t[d] === p) continue e c.push(f) } else o(t, p, n) || c.push(f) } return c } ;(xn.templateSettings = { escape: Pe, evaluate: Oe, interpolate: je, variable: "", imports: { _: xn } }), (xn.prototype = En.prototype), (xn.prototype.constructor = xn), (Sn.prototype = _n(En.prototype)), (Sn.prototype.constructor = Sn), (Cn.prototype = _n(En.prototype)), (Cn.prototype.constructor = Cn), (On.prototype.clear = jn), (On.prototype["delete"] = Rn), (On.prototype.get = In), (On.prototype.has = Nn), (On.prototype.set = Mn), (Dn.prototype.clear = Bn), (Dn.prototype["delete"] = Fn), (Dn.prototype.get = Un), (Dn.prototype.has = zn), (Dn.prototype.set = qn), (Gn.prototype.clear = Wn), (Gn.prototype["delete"] = Vn), (Gn.prototype.get = Hn), (Gn.prototype.has = Xn), (Gn.prototype.set = Yn), (Kn.prototype.add = Kn.prototype.push = Zn), (Kn.prototype.has = Qn), (Jn.prototype.clear = $n), (Jn.prototype["delete"] = ei), (Jn.prototype.get = ti), (Jn.prototype.has = ri), (Jn.prototype.set = ni) var Ai = ua(Oi), _i = ua(ji, !0) function Ti(e, t) { var r = !0 return ( Ai(e, function (e, n, i) { return (r = !!t(e, n, i)), r }), r ) } function Ei(e, t, r) { var n = -1, i = e.length while (++n < i) { var a = e[n], s = t(a) if (null != s && (l === o ? s === s && !Fu(s) : r(s, l))) var l = s, c = a } return c } function Si(e, t, r, n) { var i = e.length ;(r = Yu(r)), r < 0 && (r = -r > i ? 0 : i + r), (n = n === o || n > i ? i : Yu(n)), n < 0 && (n += i), (n = r > n ? 0 : Ku(n)) while (r < n) e[r++] = t return e } function Ci(e, t) { var r = [] return ( Ai(e, function (e, n, i) { t(e, n, i) && r.push(e) }), r ) } function ki(e, t, r, n, i) { var o = -1, a = e.length r || (r = os), i || (i = []) while (++o < a) { var s = e[o] t > 0 && r(s) ? (t > 1 ? ki(s, t - 1, r, n, i) : kr(i, s)) : n || (i[i.length] = s) } return i } var Li = fa(), Pi = fa(!0) function Oi(e, t) { return e && Li(e, t, _f) } function ji(e, t) { return e && Pi(e, t, _f) } function Ri(e, t) { return Tr(t, function (t) { return xu(e[t]) }) } function Ii(e, t) { t = Wo(t, e) var r = 0, n = t.length while (null != e && r < n) e = e[Os(t[r++])] return r && r == n ? e : o } function Ni(e, t, r) { var n = t(e) return lu(e) ? n : kr(n, r(e)) } function Mi(e) { return null == e ? (e === o ? ce : te) : kt && kt in rt(e) ? Ya(e) : bs(e) } function Di(e, t) { return e > t } function Bi(e, t) { return null != e && ft.call(e, t) } function Fi(e, t) { return null != e && t in rt(e) } function Ui(e, t, r) { return e >= zt(t, r) && e < Ut(t, r) } function zi(e, t, n) { var i = n ? Sr : Er, a = e[0].length, s = e.length, l = s, c = r(s), u = 1 / 0, f = [] while (l--) { var p = e[l] l && t && (p = Cr(p, Kr(t))), (u = zt(p.length, u)), (c[l] = !n && (t || (a >= 120 && p.length >= 120)) ? new Kn(l && p) : o) } p = e[0] var d = -1, h = c[0] e: while (++d < a && f.length < u) { var m = p[d], g = t ? t(m) : m if (((m = n || 0 !== m ? m : 0), !(h ? Qr(h, g) : i(f, g, n)))) { l = s while (--l) { var y = c[l] if (!(y ? Qr(y, g) : i(e[l], g, n))) continue e } h && h.push(g), f.push(m) } } return f } function qi(e, t, r, n) { return ( Oi(e, function (e, i, o) { t(n, r(e), i, o) }), n ) } function Gi(e, t, r) { ;(t = Wo(t, e)), (e = xs(e, t)) var n = null == e ? e : e[Os(ol(t))] return null == n ? o : br(n, e, r) } function Wi(e) { return Eu(e) && Mi(e) == W } function Vi(e) { return Eu(e) && Mi(e) == pe } function Hi(e) { return Eu(e) && Mi(e) == Y } function Xi(e, t, r, n, i) { return e === t || (null == e || null == t || (!Eu(e) && !Eu(t)) ? e !== e && t !== t : Yi(e, t, r, n, Xi, i)) } function Yi(e, t, r, n, i, o) { var a = lu(e), s = lu(t), l = a ? V : Qa(e), c = s ? V : Qa(t) ;(l = l == W ? re : l), (c = c == W ? re : c) var u = l == re, f = c == re, p = l == c if (p && du(e)) { if (!du(t)) return !1 ;(a = !0), (u = !1) } if (p && !u) return o || (o = new Jn()), a || Uu(e) ? Na(e, t, r, n, i, o) : Ma(e, t, l, r, n, i, o) if (!(r & y)) { var d = u && ft.call(e, "__wrapped__"), h = f && ft.call(t, "__wrapped__") if (d || h) { var m = d ? e.value() : e, g = h ? t.value() : t return o || (o = new Jn()), i(m, g, r, n, o) } } return !!p && (o || (o = new Jn()), Da(e, t, r, n, i, o)) } function Ki(e) { return Eu(e) && Qa(e) == $ } function Zi(e, t, r, n) { var i = r.length, a = i, s = !n if (null == e) return !a e = rt(e) while (i--) { var l = r[i] if (s && l[2] ? l[1] !== e[l[0]] : !(l[0] in e)) return !1 } while (++i < a) { l = r[i] var c = l[0], u = e[c], f = l[1] if (s && l[2]) { if (u === o && !(c in e)) return !1 } else { var p = new Jn() if (n) var d = n(u, f, c, e, t, p) if (!(d === o ? Xi(f, u, y | v, n, p) : d)) return !1 } } return !0 } function Qi(e) { if (!Tu(e) || fs(e)) return !1 var t = xu(e) ? yt : Ze return t.test(js(e)) } function Ji(e) { return Eu(e) && Mi(e) == oe } function $i(e) { return Eu(e) && Qa(e) == ae } function eo(e) { return Eu(e) && _u(e.length) && !!Qt[Mi(e)] } function to(e) { return "function" == typeof e ? e : null == e ? Op : "object" == typeof e ? (lu(e) ? so(e[0], e[1]) : ao(e)) : Wp(e) } function ro(e) { if (!ds(e)) return Ft(e) var t = [] for (var r in rt(e)) ft.call(e, r) && "constructor" != r && t.push(r) return t } function no(e) { if (!Tu(e)) return vs(e) var t = ds(e), r = [] for (var n in e) ("constructor" != n || (!t && ft.call(e, n))) && r.push(n) return r } function io(e, t) { return e < t } function oo(e, t) { var n = -1, i = uu(e) ? r(e.length) : [] return ( Ai(e, function (e, r, o) { i[++n] = t(e, r, o) }), i ) } function ao(e) { var t = Ha(e) return 1 == t.length && t[0][2] ? ms(t[0][0], t[0][1]) : function (r) { return r === e || Zi(r, e, t) } } function so(e, t) { return ls(e) && hs(t) ? ms(Os(e), t) : function (r) { var n = yf(r, e) return n === o && n === t ? bf(r, e) : Xi(t, n, y | v) } } function lo(e, t, r, n, i) { e !== t && Li( t, function (a, s) { if ((i || (i = new Jn()), Tu(a))) co(e, t, s, r, lo, n, i) else { var l = n ? n(_s(e, s), a, s + "", e, t, i) : o l === o && (l = a), li(e, s, l) } }, Tf ) } function co(e, t, r, n, i, a, s) { var l = _s(e, r), c = _s(t, r), u = s.get(c) if (u) li(e, r, u) else { var f = a ? a(l, c, r + "", e, t, s) : o, p = f === o if (p) { var d = lu(c), h = !d && du(c), m = !d && !h && Uu(c) ;(f = c), d || h || m ? lu(l) ? (f = l) : fu(l) ? (f = ia(l)) : h ? ((p = !1), (f = Yo(c, !0))) : m ? ((p = !1), (f = $o(c, !0))) : (f = []) : Iu(c) || su(c) ? ((f = l), su(l) ? (f = Qu(l)) : (Tu(l) && !xu(l)) || (f = rs(c))) : (p = !1) } p && (s.set(c, f), i(f, c, n, a, s), s["delete"](c)), li(e, r, f) } } function uo(e, t) { var r = e.length if (r) return (t += t < 0 ? r : 0), as(t, r) ? e[t] : o } function fo(e, t, r) { t = t.length ? Cr(t, function (e) { return lu(e) ? function (t) { return Ii(t, 1 === e.length ? e[0] : e) } : e }) : [Op] var n = -1 t = Cr(t, Kr(Wa())) var i = oo(e, function (e, r, i) { var o = Cr(t, function (t) { return t(e) }) return { criteria: o, index: ++n, value: e } }) return Wr(i, function (e, t) { return ta(e, t, r) }) } function po(e, t) { return ho(e, t, function (t, r) { return bf(e, r) }) } function ho(e, t, r) { var n = -1, i = t.length, o = {} while (++n < i) { var a = t[n], s = Ii(e, a) r(s, a) && To(o, Wo(a, e), s) } return o } function mo(e) { return function (t) { return Ii(t, e) } } function go(e, t, r, n) { var i = n ? Br : Dr, o = -1, a = t.length, s = e e === t && (t = ia(t)), r && (s = Cr(e, Kr(r))) while (++o < a) { var l = 0, c = t[o], u = r ? r(c) : c while ((l = i(s, u, l, n)) > -1) s !== e && Et.call(s, l, 1), Et.call(e, l, 1) } return e } function yo(e, t) { var r = e ? t.length : 0, n = r - 1 while (r--) { var i = t[r] if (r == n || i !== o) { var o = i as(i) ? Et.call(e, i, 1) : Mo(e, i) } } return e } function vo(e, t) { return e + It(Ht() * (t - e + 1)) } function bo(e, t, n, i) { var o = -1, a = Ut(Rt((t - e) / (n || 1)), 0), s = r(a) while (a--) (s[i ? a : ++o] = e), (e += n) return s } function wo(e, t) { var r = "" if (!e || t < 1 || t > D) return r do { t % 2 && (r += e), (t = It(t / 2)), t && (e += e) } while (t) return r } function xo(e, t) { return Ss(ws(e, t, Op), e + "") } function Ao(e) { return oi(qf(e)) } function _o(e, t) { var r = qf(e) return Ls(r, gi(t, 0, r.length)) } function To(e, t, r, n) { if (!Tu(e)) return e t = Wo(t, e) var i = -1, a = t.length, s = a - 1, l = e while (null != l && ++i < a) { var c = Os(t[i]), u = r if ("__proto__" === c || "constructor" === c || "prototype" === c) return e if (i != s) { var f = l[c] ;(u = n ? n(f, c, l) : o), u === o && (u = Tu(f) ? f : as(t[i + 1]) ? [] : {}) } ci(l, c, u), (l = l[c]) } return e } var Eo = ar ? function (e, t) { return ar.set(e, t), e } : Op, So = Lt ? function (e, t) { return Lt(e, "toString", { configurable: !0, enumerable: !1, value: Cp(t), writable: !0 }) } : Op function Co(e) { return Ls(qf(e)) } function ko(e, t, n) { var i = -1, o = e.length t < 0 && (t = -t > o ? 0 : o + t), (n = n > o ? o : n), n < 0 && (n += o), (o = t > n ? 0 : (n - t) >>> 0), (t >>>= 0) var a = r(o) while (++i < o) a[i] = e[i + t] return a } function Lo(e, t) { var r return ( Ai(e, function (e, n, i) { return (r = t(e, n, i)), !r }), !!r ) } function Po(e, t, r) { var n = 0, i = null == e ? n : e.length if ("number" == typeof t && t === t && i <= q) { while (n < i) { var o = (n + i) >>> 1, a = e[o] null !== a && !Fu(a) && (r ? a <= t : a < t) ? (n = o + 1) : (i = o) } return i } return Oo(e, t, Op, r) } function Oo(e, t, r, n) { var i = 0, a = null == e ? 0 : e.length if (0 === a) return 0 t = r(t) var s = t !== t, l = null === t, c = Fu(t), u = t === o while (i < a) { var f = It((i + a) / 2), p = r(e[f]), d = p !== o, h = null === p, m = p === p, g = Fu(p) if (s) var y = n || m else y = u ? m && (n || d) : l ? m && d && (n || !h) : c ? m && d && !h && (n || !g) : !h && !g && (n ? p <= t : p < t) y ? (i = f + 1) : (a = f) } return zt(a, z) } function jo(e, t) { var r = -1, n = e.length, i = 0, o = [] while (++r < n) { var a = e[r], s = t ? t(a) : a if (!r || !iu(s, l)) { var l = s o[i++] = 0 === a ? 0 : a } } return o } function Ro(e) { return "number" == typeof e ? e : Fu(e) ? F : +e } function Io(e) { if ("string" == typeof e) return e if (lu(e)) return Cr(e, Io) + "" if (Fu(e)) return wn ? wn.call(e) : "" var t = e + "" return "0" == t && 1 / e == -M ? "-0" : t } function No(e, t, r) { var n = -1, i = Er, o = e.length, a = !0, l = [], c = l if (r) (a = !1), (i = Sr) else if (o >= s) { var u = t ? null : La(e) if (u) return pn(u) ;(a = !1), (i = Qr), (c = new Kn()) } else c = t ? [] : l e: while (++n < o) { var f = e[n], p = t ? t(f) : f if (((f = r || 0 !== f ? f : 0), a && p === p)) { var d = c.length while (d--) if (c[d] === p) continue e t && c.push(p), l.push(f) } else i(c, p, r) || (c !== l && c.push(p), l.push(f)) } return l } function Mo(e, t) { return (t = Wo(t, e)), (e = xs(e, t)), null == e || delete e[Os(ol(t))] } function Do(e, t, r, n) { return To(e, t, r(Ii(e, t)), n) } function Bo(e, t, r, n) { var i = e.length, o = n ? i : -1 while ((n ? o-- : ++o < i) && t(e[o], o, e)); return r ? ko(e, n ? 0 : o, n ? o + 1 : i) : ko(e, n ? o + 1 : 0, n ? i : o) } function Fo(e, t) { var r = e return ( r instanceof Cn && (r = r.value()), Lr( t, function (e, t) { return t.func.apply(t.thisArg, kr([e], t.args)) }, r ) ) } function Uo(e, t, n) { var i = e.length if (i < 2) return i ? No(e[0]) : [] var o = -1, a = r(i) while (++o < i) { var s = e[o], l = -1 while (++l < i) l != o && (a[o] = xi(a[o] || s, e[l], t, n)) } return No(ki(a, 1), t, n) } function zo(e, t, r) { var n = -1, i = e.length, a = t.length, s = {} while (++n < i) { var l = n < a ? t[n] : o r(s, e[n], l) } return s } function qo(e) { return fu(e) ? e : [] } function Go(e) { return "function" == typeof e ? e : Op } function Wo(e, t) { return lu(e) ? e : ls(e, t) ? [e] : Ps($u(e)) } var Vo = xo function Ho(e, t, r) { var n = e.length return (r = r === o ? n : r), !t && r >= n ? e : ko(e, t, r) } var Xo = Pt || function (e) { return sr.clearTimeout(e) } function Yo(e, t) { if (t) return e.slice() var r = e.length, n = xt ? xt(r) : new e.constructor(r) return e.copy(n), n } function Ko(e) { var t = new e.constructor(e.byteLength) return new wt(t).set(new wt(e)), t } function Zo(e, t) { var r = t ? Ko(e.buffer) : e.buffer return new e.constructor(r, e.byteOffset, e.byteLength) } function Qo(e) { var t = new e.constructor(e.source, Xe.exec(e)) return (t.lastIndex = e.lastIndex), t } function Jo(e) { return hn ? rt(hn.call(e)) : {} } function $o(e, t) { var r = t ? Ko(e.buffer) : e.buffer return new e.constructor(r, e.byteOffset, e.length) } function ea(e, t) { if (e !== t) { var r = e !== o, n = null === e, i = e === e, a = Fu(e), s = t !== o, l = null === t, c = t === t, u = Fu(t) if ((!l && !u && !a && e > t) || (a && s && c && !l && !u) || (n && s && c) || (!r && c) || !i) return 1 if ((!n && !a && !u && e < t) || (u && r && i && !n && !a) || (l && r && i) || (!s && i) || !c) return -1 } return 0 } function ta(e, t, r) { var n = -1, i = e.criteria, o = t.criteria, a = i.length, s = r.length while (++n < a) { var l = ea(i[n], o[n]) if (l) { if (n >= s) return l var c = r[n] return l * ("desc" == c ? -1 : 1) } } return e.index - t.index } function ra(e, t, n, i) { var o = -1, a = e.length, s = n.length, l = -1, c = t.length, u = Ut(a - s, 0), f = r(c + u), p = !i while (++l < c) f[l] = t[l] while (++o < s) (p || o < a) && (f[n[o]] = e[o]) while (u--) f[l++] = e[o++] return f } function na(e, t, n, i) { var o = -1, a = e.length, s = -1, l = n.length, c = -1, u = t.length, f = Ut(a - l, 0), p = r(f + u), d = !i while (++o < f) p[o] = e[o] var h = o while (++c < u) p[h + c] = t[c] while (++s < l) (d || o < a) && (p[h + n[s]] = e[o++]) return p } function ia(e, t) { var n = -1, i = e.length t || (t = r(i)) while (++n < i) t[n] = e[n] return t } function oa(e, t, r, n) { var i = !r r || (r = {}) var a = -1, s = t.length while (++a < s) { var l = t[a], c = n ? n(r[l], e[l], l, r, e) : o c === o && (c = e[l]), i ? hi(r, l, c) : ci(r, l, c) } return r } function aa(e, t) { return oa(e, Ka(e), t) } function sa(e, t) { return oa(e, Za(e), t) } function la(e, t) { return function (r, n) { var i = lu(r) ? wr : fi, o = t ? t() : {} return i(r, e, Wa(n, 2), o) } } function ca(e) { return xo(function (t, r) { var n = -1, i = r.length, a = i > 1 ? r[i - 1] : o, s = i > 2 ? r[2] : o ;(a = e.length > 3 && "function" == typeof a ? (i--, a) : o), s && ss(r[0], r[1], s) && ((a = i < 3 ? o : a), (i = 1)), (t = rt(t)) while (++n < i) { var l = r[n] l && e(t, l, n, a) } return t }) } function ua(e, t) { return function (r, n) { if (null == r) return r if (!uu(r)) return e(r, n) var i = r.length, o = t ? i : -1, a = rt(r) while (t ? o-- : ++o < i) if (!1 === n(a[o], o, a)) break return r } } function fa(e) { return function (t, r, n) { var i = -1, o = rt(t), a = n(t), s = a.length while (s--) { var l = a[e ? s : ++i] if (!1 === r(o[l], l, o)) break } return t } } function pa(e, t, r) { var n = t & b, i = ma(e) function o() { var t = this && this !== sr && this instanceof o ? i : e return t.apply(n ? r : this, arguments) } return o } function da(e) { return function (t) { t = $u(t) var r = an(t) ? yn(t) : o, n = r ? r[0] : t.charAt(0), i = r ? Ho(r, 1).join("") : t.slice(1) return n[e]() + i } } function ha(e) { return function (t) { return Lr(Ap(Kf(t).replace(Gt, "")), e, "") } } function ma(e) { return function () { var t = arguments switch (t.length) { case 0: return new e() case 1: return new e(t[0]) case 2: return new e(t[0], t[1]) case 3: return new e(t[0], t[1], t[2]) case 4: return new e(t[0], t[1], t[2], t[3]) case 5: return new e(t[0], t[1], t[2], t[3], t[4]) case 6: return new e(t[0], t[1], t[2], t[3], t[4], t[5]) case 7: return new e(t[0], t[1], t[2], t[3], t[4], t[5], t[6]) } var r = _n(e.prototype), n = e.apply(r, t) return Tu(n) ? n : r } } function ga(e, t, n) { var i = ma(e) function a() { var s = arguments.length, l = r(s), c = s, u = Ga(a) while (c--) l[c] = arguments[c] var f = s < 3 && l[0] !== u && l[s - 1] !== u ? [] : fn(l, u) if (((s -= f.length), s < n)) return Ca(e, t, ba, a.placeholder, o, l, f, o, o, n - s) var p = this && this !== sr && this instanceof a ? i : e return br(p, this, l) } return a } function ya(e) { return function (t, r, n) { var i = rt(t) if (!uu(t)) { var a = Wa(r, 3) ;(t = _f(t)), (r = function (e) { return a(i[e], e, i) }) } var s = e(t, r, n) return s > -1 ? i[a ? t[s] : s] : o } } function va(e) { return Ba(function (t) { var r = t.length, n = r, i = Sn.prototype.thru e && t.reverse() while (n--) { var a = t[n] if ("function" != typeof a) throw new ot(c) if (i && !s && "wrapper" == qa(a)) var s = new Sn([], !0) } n = s ? n : r while (++n < r) { a = t[n] var l = qa(a), u = "wrapper" == l ? za(a) : o s = u && us(u[0]) && u[1] == (S | A | T | C) && !u[4].length && 1 == u[9] ? s[qa(u[0])].apply(s, u[3]) : 1 == a.length && us(a) ? s[l]() : s.thru(a) } return function () { var e = arguments, n = e[0] if (s && 1 == e.length && lu(n)) return s.plant(n).value() var i = 0, o = r ? t[i].apply(this, e) : n while (++i < r) o = t[i].call(this, o) return o } }) } function ba(e, t, n, i, a, s, l, c, u, f) { var p = t & S, d = t & b, h = t & w, m = t & (A | _), g = t & k, y = h ? o : ma(e) function v() { var o = arguments.length, b = r(o), w = o while (w--) b[w] = arguments[w] if (m) var x = Ga(v), A = en(b, x) if ((i && (b = ra(b, i, a, m)), s && (b = na(b, s, l, m)), (o -= A), m && o < f)) { var _ = fn(b, x) return Ca(e, t, ba, v.placeholder, n, b, _, c, u, f - o) } var T = d ? n : this, E = h ? T[e] : e return ( (o = b.length), c ? (b = As(b, c)) : g && o > 1 && b.reverse(), p && u < o && (b.length = u), this && this !== sr && this instanceof v && (E = y || ma(E)), E.apply(T, b) ) } return v } function wa(e, t) { return function (r, n) { return qi(r, e, t(n), {}) } } function xa(e, t) { return function (r, n) { var i if (r === o && n === o) return t if ((r !== o && (i = r), n !== o)) { if (i === o) return n "string" == typeof r || "string" == typeof n ? ((r = Io(r)), (n = Io(n))) : ((r = Ro(r)), (n = Ro(n))), (i = e(r, n)) } return i } } function Aa(e) { return Ba(function (t) { return ( (t = Cr(t, Kr(Wa()))), xo(function (r) { var n = this return e(t, function (e) { return br(e, n, r) }) }) ) }) } function _a(e, t) { t = t === o ? " " : Io(t) var r = t.length if (r < 2) return r ? wo(t, e) : t var n = wo(t, Rt(e / gn(t))) return an(t) ? Ho(yn(n), 0, e).join("") : n.slice(0, e) } function Ta(e, t, n, i) { var o = t & b, a = ma(e) function s() { var t = -1, l = arguments.length, c = -1, u = i.length, f = r(u + l), p = this && this !== sr && this instanceof s ? a : e while (++c < u) f[c] = i[c] while (l--) f[c++] = arguments[++t] return br(p, o ? n : this, f) } return s } function Ea(e) { return function (t, r, n) { return ( n && "number" != typeof n && ss(t, r, n) && (r = n = o), (t = Xu(t)), r === o ? ((r = t), (t = 0)) : (r = Xu(r)), (n = n === o ? (t < r ? 1 : -1) : Xu(n)), bo(t, r, n, e) ) } } function Sa(e) { return function (t, r) { return ("string" == typeof t && "string" == typeof r) || ((t = Zu(t)), (r = Zu(r))), e(t, r) } } function Ca(e, t, r, n, i, a, s, l, c, u) { var f = t & A, p = f ? s : o, d = f ? o : s, h = f ? a : o, m = f ? o : a ;(t |= f ? T : E), (t &= ~(f ? E : T)), t & x || (t &= ~(b | w)) var g = [e, t, i, h, p, m, d, l, c, u], y = r.apply(o, g) return us(e) && Ts(y, g), (y.placeholder = n), Cs(y, e, t) } function ka(e) { var t = Ge[e] return function (e, r) { if (((e = Zu(e)), (r = null == r ? 0 : zt(Yu(r), 292)), r && Dt(e))) { var n = ($u(e) + "e").split("e"), i = t(n[0] + "e" + (+n[1] + r)) return (n = ($u(i) + "e").split("e")), +(n[0] + "e" + (+n[1] - r)) } return t(e) } } var La = tr && 1 / pn(new tr([, -0]))[1] == M ? function (e) { return new tr(e) } : Fp function Pa(e) { return function (t) { var r = Qa(t) return r == $ ? cn(t) : r == ae ? dn(t) : Xr(t, e(t)) } } function Oa(e, t, r, n, i, a, s, l) { var u = t & w if (!u && "function" != typeof e) throw new ot(c) var f = n ? n.length : 0 if ( (f || ((t &= ~(T | E)), (n = i = o)), (s = s === o ? s : Ut(Yu(s), 0)), (l = l === o ? l : Yu(l)), (f -= i ? i.length : 0), t & E) ) { var p = n, d = i n = i = o } var h = u ? o : za(e), m = [e, t, r, n, i, p, d, a, s, l] if ( (h && ys(m, h), (e = m[0]), (t = m[1]), (r = m[2]), (n = m[3]), (i = m[4]), (l = m[9] = m[9] === o ? (u ? 0 : e.length) : Ut(m[9] - f, 0)), !l && t & (A | _) && (t &= ~(A | _)), t && t != b) ) g = t == A || t == _ ? ga(e, t, l) : (t != T && t != (b | T)) || i.length ? ba.apply(o, m) : Ta(e, t, r, n) else var g = pa(e, t, r) var y = h ? Eo : Ts return Cs(y(g, m), e, t) } function ja(e, t, r, n) { return e === o || (iu(e, lt[r]) && !ft.call(n, r)) ? t : e } function Ra(e, t, r, n, i, a) { return Tu(e) && Tu(t) && (a.set(t, e), lo(e, t, o, Ra, a), a["delete"](t)), e } function Ia(e) { return Iu(e) ? o : e } function Na(e, t, r, n, i, a) { var s = r & y, l = e.length, c = t.length if (l != c && !(s && c > l)) return !1 var u = a.get(e), f = a.get(t) if (u && f) return u == t && f == e var p = -1, d = !0, h = r & v ? new Kn() : o a.set(e, t), a.set(t, e) while (++p < l) { var m = e[p], g = t[p] if (n) var b = s ? n(g, m, p, t, e, a) : n(m, g, p, e, t, a) if (b !== o) { if (b) continue d = !1 break } if (h) { if ( !Or(t, function (e, t) { if (!Qr(h, t) && (m === e || i(m, e, r, n, a))) return h.push(t) }) ) { d = !1 break } } else if (m !== g && !i(m, g, r, n, a)) { d = !1 break } } return a["delete"](e), a["delete"](t), d } function Ma(e, t, r, n, i, o, a) { switch (r) { case de: if (e.byteLength != t.byteLength || e.byteOffset != t.byteOffset) return !1 ;(e = e.buffer), (t = t.buffer) case pe: return !(e.byteLength != t.byteLength || !o(new wt(e), new wt(t))) case X: case Y: case ee: return iu(+e, +t) case Z: return e.name == t.name && e.message == t.message case oe: case se: return e == t + "" case $: var s = cn case ae: var l = n & y if ((s || (s = pn), e.size != t.size && !l)) return !1 var c = a.get(e) if (c) return c == t ;(n |= v), a.set(e, t) var u = Na(s(e), s(t), n, i, o, a) return a["delete"](e), u case le: if (hn) return hn.call(e) == hn.call(t) } return !1 } function Da(e, t, r, n, i, a) { var s = r & y, l = Fa(e), c = l.length, u = Fa(t), f = u.length if (c != f && !s) return !1 var p = c while (p--) { var d = l[p] if (!(s ? d in t : ft.call(t, d))) return !1 } var h = a.get(e), m = a.get(t) if (h && m) return h == t && m == e var g = !0 a.set(e, t), a.set(t, e) var v = s while (++p < c) { d = l[p] var b = e[d], w = t[d] if (n) var x = s ? n(w, b, d, t, e, a) : n(b, w, d, e, t, a) if (!(x === o ? b === w || i(b, w, r, n, a) : x)) { g = !1 break } v || (v = "constructor" == d) } if (g && !v) { var A = e.constructor, _ = t.constructor A == _ || !("constructor" in e) || !("constructor" in t) || ("function" == typeof A && A instanceof A && "function" == typeof _ && _ instanceof _) || (g = !1) } return a["delete"](e), a["delete"](t), g } function Ba(e) { return Ss(ws(e, o, Ys), e + "") } function Fa(e) { return Ni(e, _f, Ka) } function Ua(e) { return Ni(e, Tf, Za) } var za = ar ? function (e) { return ar.get(e) } : Fp function qa(e) { var t = e.name + "", r = lr[t], n = ft.call(lr, t) ? r.length : 0 while (n--) { var i = r[n], o = i.func if (null == o || o == e) return i.name } return t } function Ga(e) { var t = ft.call(xn, "placeholder") ? xn : e return t.placeholder } function Wa() { var e = xn.iteratee || jp return (e = e === jp ? to : e), arguments.length ? e(arguments[0], arguments[1]) : e } function Va(e, t) { var r = e.__data__ return cs(t) ? r["string" == typeof t ? "string" : "hash"] : r.map } function Ha(e) { var t = _f(e), r = t.length while (r--) { var n = t[r], i = e[n] t[r] = [n, i, hs(i)] } return t } function Xa(e, t) { var r = on(e, t) return Qi(r) ? r : o } function Ya(e) { var t = ft.call(e, kt), r = e[kt] try { e[kt] = o var n = !0 } catch (a) {} var i = ht.call(e) return n && (t ? (e[kt] = r) : delete e[kt]), i } var Ka = Nt ? function (e) { return null == e ? [] : ((e = rt(e)), Tr(Nt(e), function (t) { return Tt.call(e, t) })) } : Yp, Za = Nt ? function (e) { var t = [] while (e) kr(t, Ka(e)), (e = At(e)) return t } : Yp, Qa = Mi function Ja(e, t, r) { var n = -1, i = r.length while (++n < i) { var o = r[n], a = o.size switch (o.type) { case "drop": e += a break case "dropRight": t -= a break case "take": t = zt(t, e + a) break case "takeRight": e = Ut(e, t - a) break } } return { start: e, end: t } } function $a(e) { var t = e.match(ze) return t ? t[1].split(qe) : [] } function es(e, t, r) { t = Wo(t, e) var n = -1, i = t.length, o = !1 while (++n < i) { var a = Os(t[n]) if (!(o = null != e && r(e, a))) break e = e[a] } return o || ++n != i ? o : ((i = null == e ? 0 : e.length), !!i && _u(i) && as(a, i) && (lu(e) || su(e))) } function ts(e) { var t = e.length, r = new e.constructor(t) return t && "string" == typeof e[0] && ft.call(e, "index") && ((r.index = e.index), (r.input = e.input)), r } function rs(e) { return "function" != typeof e.constructor || ds(e) ? {} : _n(At(e)) } function ns(e, t, r) { var n = e.constructor switch (t) { case pe: return Ko(e) case X: case Y: return new n(+e) case de: return Zo(e, r) case he: case me: case ge: case ye: case ve: case be: case we: case xe: case Ae: return $o(e, r) case $: return new n() case ee: case se: return new n(e) case oe: return Qo(e) case ae: return new n() case le: return Jo(e) } } function is(e, t) { var r = t.length if (!r) return e var n = r - 1 return ( (t[n] = (r > 1 ? "& " : "") + t[n]), (t = t.join(r > 2 ? ", " : " ")), e.replace(Ue, "{\n/* [wrapped with " + t + "] */\n") ) } function os(e) { return lu(e) || su(e) || !!(St && e && e[St]) } function as(e, t) { var r = typeof e return (t = null == t ? D : t), !!t && ("number" == r || ("symbol" != r && Je.test(e))) && e > -1 && e % 1 == 0 && e < t } function ss(e, t, r) { if (!Tu(r)) return !1 var n = typeof t return !!("number" == n ? uu(r) && as(t, r.length) : "string" == n && t in r) && iu(r[t], e) } function ls(e, t) { if (lu(e)) return !1 var r = typeof e return ( !("number" != r && "symbol" != r && "boolean" != r && null != e && !Fu(e)) || Ie.test(e) || !Re.test(e) || (null != t && e in rt(t)) ) } function cs(e) { var t = typeof e return "string" == t || "number" == t || "symbol" == t || "boolean" == t ? "__proto__" !== e : null === e } function us(e) { var t = qa(e), r = xn[t] if ("function" != typeof r || !(t in Cn.prototype)) return !1 if (e === r) return !0 var n = za(r) return !!n && e === n[0] } function fs(e) { return !!dt && dt in e } ;((Yt && Qa(new Yt(new ArrayBuffer(1))) != de) || ($t && Qa(new $t()) != $) || (er && Qa(er.resolve()) != ne) || (tr && Qa(new tr()) != ae) || (rr && Qa(new rr()) != ue)) && (Qa = function (e) { var t = Mi(e), r = t == re ? e.constructor : o, n = r ? js(r) : "" if (n) switch (n) { case cr: return de case fr: return $ case pr: return ne case jr: return ae case Rr: return ue } return t }) var ps = ct ? xu : Kp function ds(e) { var t = e && e.constructor, r = ("function" == typeof t && t.prototype) || lt return e === r } function hs(e) { return e === e && !Tu(e) } function ms(e, t) { return function (r) { return null != r && r[e] === t && (t !== o || e in rt(r)) } } function gs(e) { var t = Uc(e, function (e) { return r.size === p && r.clear(), e }), r = t.cache return t } function ys(e, t) { var r = e[1], n = t[1], i = r | n, o = i < (b | w | S), a = (n == S && r == A) || (n == S && r == C && e[7].length <= t[8]) || (n == (S | C) && t[7].length <= t[8] && r == A) if (!o && !a) return e n & b && ((e[2] = t[2]), (i |= r & b ? 0 : x)) var s = t[3] if (s) { var l = e[3] ;(e[3] = l ? ra(l, s, t[4]) : s), (e[4] = l ? fn(e[3], d) : t[4]) } return ( (s = t[5]), s && ((l = e[5]), (e[5] = l ? na(l, s, t[6]) : s), (e[6] = l ? fn(e[5], d) : t[6])), (s = t[7]), s && (e[7] = s), n & S && (e[8] = null == e[8] ? t[8] : zt(e[8], t[8])), null == e[9] && (e[9] = t[9]), (e[0] = t[0]), (e[1] = i), e ) } function vs(e) { var t = [] if (null != e) for (var r in rt(e)) t.push(r) return t } function bs(e) { return ht.call(e) } function ws(e, t, n) { return ( (t = Ut(t === o ? e.length - 1 : t, 0)), function () { var i = arguments, o = -1, a = Ut(i.length - t, 0), s = r(a) while (++o < a) s[o] = i[t + o] o = -1 var l = r(t + 1) while (++o < t) l[o] = i[o] return (l[t] = n(s)), br(e, this, l) } ) } function xs(e, t) { return t.length < 2 ? e : Ii(e, ko(t, 0, -1)) } function As(e, t) { var r = e.length, n = zt(t.length, r), i = ia(e) while (n--) { var a = t[n] e[n] = as(a, r) ? i[a] : o } return e } function _s(e, t) { if (("constructor" !== t || "function" !== typeof e[t]) && "__proto__" != t) return e[t] } var Ts = ks(Eo), Es = jt || function (e, t) { return sr.setTimeout(e, t) }, Ss = ks(So) function Cs(e, t, r) { var n = t + "" return Ss(e, is(n, Rs($a(n), r))) } function ks(e) { var t = 0, r = 0 return function () { var n = qt(), i = j - (n - r) if (((r = n), i > 0)) { if (++t >= O) return arguments[0] } else t = 0 return e.apply(o, arguments) } } function Ls(e, t) { var r = -1, n = e.length, i = n - 1 t = t === o ? n : t while (++r < t) { var a = vo(r, i), s = e[a] ;(e[a] = e[r]), (e[r] = s) } return (e.length = t), e } var Ps = gs(function (e) { var t = [] return ( 46 === e.charCodeAt(0) && t.push(""), e.replace(Ne, function (e, r, n, i) { t.push(n ? i.replace(Ve, "$1") : r || e) }), t ) }) function Os(e) { if ("string" == typeof e || Fu(e)) return e var t = e + "" return "0" == t && 1 / e == -M ? "-0" : t } function js(e) { if (null != e) { try { return ut.call(e) } catch (t) {} try { return e + "" } catch (t) {} } return "" } function Rs(e, t) { return ( xr(G, function (r) { var n = "_." + r[0] t & r[1] && !Er(e, n) && e.push(n) }), e.sort() ) } function Is(e) { if (e instanceof Cn) return e.clone() var t = new Sn(e.__wrapped__, e.__chain__) return (t.__actions__ = ia(e.__actions__)), (t.__index__ = e.__index__), (t.__values__ = e.__values__), t } function Ns(e, t, n) { t = (n ? ss(e, t, n) : t === o) ? 1 : Ut(Yu(t), 0) var i = null == e ? 0 : e.length if (!i || t < 1) return [] var a = 0, s = 0, l = r(Rt(i / t)) while (a < i) l[s++] = ko(e, a, (a += t)) return l } function Ms(e) { var t = -1, r = null == e ? 0 : e.length, n = 0, i = [] while (++t < r) { var o = e[t] o && (i[n++] = o) } return i } function Ds() { var e = arguments.length if (!e) return [] var t = r(e - 1), n = arguments[0], i = e while (i--) t[i - 1] = arguments[i] return kr(lu(n) ? ia(n) : [n], ki(t, 1)) } var Bs = xo(function (e, t) { return fu(e) ? xi(e, ki(t, 1, fu, !0)) : [] }), Fs = xo(function (e, t) { var r = ol(t) return fu(r) && (r = o), fu(e) ? xi(e, ki(t, 1, fu, !0), Wa(r, 2)) : [] }), Us = xo(function (e, t) { var r = ol(t) return fu(r) && (r = o), fu(e) ? xi(e, ki(t, 1, fu, !0), o, r) : [] }) function zs(e, t, r) { var n = null == e ? 0 : e.length return n ? ((t = r || t === o ? 1 : Yu(t)), ko(e, t < 0 ? 0 : t, n)) : [] } function qs(e, t, r) { var n = null == e ? 0 : e.length return n ? ((t = r || t === o ? 1 : Yu(t)), (t = n - t), ko(e, 0, t < 0 ? 0 : t)) : [] } function Gs(e, t) { return e && e.length ? Bo(e, Wa(t, 3), !0, !0) : [] } function Ws(e, t) { return e && e.length ? Bo(e, Wa(t, 3), !0) : [] } function Vs(e, t, r, n) { var i = null == e ? 0 : e.length return i ? (r && "number" != typeof r && ss(e, t, r) && ((r = 0), (n = i)), Si(e, t, r, n)) : [] } function Hs(e, t, r) { var n = null == e ? 0 : e.length if (!n) return -1 var i = null == r ? 0 : Yu(r) return i < 0 && (i = Ut(n + i, 0)), Mr(e, Wa(t, 3), i) } function Xs(e, t, r) { var n = null == e ? 0 : e.length if (!n) return -1 var i = n - 1 return r !== o && ((i = Yu(r)), (i = r < 0 ? Ut(n + i, 0) : zt(i, n - 1))), Mr(e, Wa(t, 3), i, !0) } function Ys(e) { var t = null == e ? 0 : e.length return t ? ki(e, 1) : [] } function Ks(e) { var t = null == e ? 0 : e.length return t ? ki(e, M) : [] } function Zs(e, t) { var r = null == e ? 0 : e.length return r ? ((t = t === o ? 1 : Yu(t)), ki(e, t)) : [] } function Qs(e) { var t = -1, r = null == e ? 0 : e.length, n = {} while (++t < r) { var i = e[t] n[i[0]] = i[1] } return n } function Js(e) { return e && e.length ? e[0] : o } function $s(e, t, r) { var n = null == e ? 0 : e.length if (!n) return -1 var i = null == r ? 0 : Yu(r) return i < 0 && (i = Ut(n + i, 0)), Dr(e, t, i) } function el(e) { var t = null == e ? 0 : e.length return t ? ko(e, 0, -1) : [] } var tl = xo(function (e) { var t = Cr(e, qo) return t.length && t[0] === e[0] ? zi(t) : [] }), rl = xo(function (e) { var t = ol(e), r = Cr(e, qo) return t === ol(r) ? (t = o) : r.pop(), r.length && r[0] === e[0] ? zi(r, Wa(t, 2)) : [] }), nl = xo(function (e) { var t = ol(e), r = Cr(e, qo) return (t = "function" == typeof t ? t : o), t && r.pop(), r.length && r[0] === e[0] ? zi(r, o, t) : [] }) function il(e, t) { return null == e ? "" : Bt.call(e, t) } function ol(e) { var t = null == e ? 0 : e.length return t ? e[t - 1] : o } function al(e, t, r) { var n = null == e ? 0 : e.length if (!n) return -1 var i = n return r !== o && ((i = Yu(r)), (i = i < 0 ? Ut(n + i, 0) : zt(i, n - 1))), t === t ? mn(e, t, i) : Mr(e, Fr, i, !0) } function sl(e, t) { return e && e.length ? uo(e, Yu(t)) : o } var ll = xo(cl) function cl(e, t) { return e && e.length && t && t.length ? go(e, t) : e } function ul(e, t, r) { return e && e.length && t && t.length ? go(e, t, Wa(r, 2)) : e } function fl(e, t, r) { return e && e.length && t && t.length ? go(e, t, o, r) : e } var pl = Ba(function (e, t) { var r = null == e ? 0 : e.length, n = mi(e, t) return ( yo( e, Cr(t, function (e) { return as(e, r) ? +e : e }).sort(ea) ), n ) }) function dl(e, t) { var r = [] if (!e || !e.length) return r var n = -1, i = [], o = e.length t = Wa(t, 3) while (++n < o) { var a = e[n] t(a, n, e) && (r.push(a), i.push(n)) } return yo(e, i), r } function hl(e) { return null == e ? e : Xt.call(e) } function ml(e, t, r) { var n = null == e ? 0 : e.length return n ? (r && "number" != typeof r && ss(e, t, r) ? ((t = 0), (r = n)) : ((t = null == t ? 0 : Yu(t)), (r = r === o ? n : Yu(r))), ko(e, t, r)) : [] } function gl(e, t) { return Po(e, t) } function yl(e, t, r) { return Oo(e, t, Wa(r, 2)) } function vl(e, t) { var r = null == e ? 0 : e.length if (r) { var n = Po(e, t) if (n < r && iu(e[n], t)) return n } return -1 } function bl(e, t) { return Po(e, t, !0) } function wl(e, t, r) { return Oo(e, t, Wa(r, 2), !0) } function xl(e, t) { var r = null == e ? 0 : e.length if (r) { var n = Po(e, t, !0) - 1 if (iu(e[n], t)) return n } return -1 } function Al(e) { return e && e.length ? jo(e) : [] } function _l(e, t) { return e && e.length ? jo(e, Wa(t, 2)) : [] } function Tl(e) { var t = null == e ? 0 : e.length return t ? ko(e, 1, t) : [] } function El(e, t, r) { return e && e.length ? ((t = r || t === o ? 1 : Yu(t)), ko(e, 0, t < 0 ? 0 : t)) : [] } function Sl(e, t, r) { var n = null == e ? 0 : e.length return n ? ((t = r || t === o ? 1 : Yu(t)), (t = n - t), ko(e, t < 0 ? 0 : t, n)) : [] } function Cl(e, t) { return e && e.length ? Bo(e, Wa(t, 3), !1, !0) : [] } function kl(e, t) { return e && e.length ? Bo(e, Wa(t, 3)) : [] } var Ll = xo(function (e) { return No(ki(e, 1, fu, !0)) }), Pl = xo(function (e) { var t = ol(e) return fu(t) && (t = o), No(ki(e, 1, fu, !0), Wa(t, 2)) }), Ol = xo(function (e) { var t = ol(e) return (t = "function" == typeof t ? t : o), No(ki(e, 1, fu, !0), o, t) }) function jl(e) { return e && e.length ? No(e) : [] } function Rl(e, t) { return e && e.length ? No(e, Wa(t, 2)) : [] } function Il(e, t) { return (t = "function" == typeof t ? t : o), e && e.length ? No(e, o, t) : [] } function Nl(e) { if (!e || !e.length) return [] var t = 0 return ( (e = Tr(e, function (e) { if (fu(e)) return (t = Ut(e.length, t)), !0 })), Hr(t, function (t) { return Cr(e, zr(t)) }) ) } function Ml(e, t) { if (!e || !e.length) return [] var r = Nl(e) return null == t ? r : Cr(r, function (e) { return br(t, o, e) }) } var Dl = xo(function (e, t) { return fu(e) ? xi(e, t) : [] }), Bl = xo(function (e) { return Uo(Tr(e, fu)) }), Fl = xo(function (e) { var t = ol(e) return fu(t) && (t = o), Uo(Tr(e, fu), Wa(t, 2)) }), Ul = xo(function (e) { var t = ol(e) return (t = "function" == typeof t ? t : o), Uo(Tr(e, fu), o, t) }), zl = xo(Nl) function ql(e, t) { return zo(e || [], t || [], ci) } function Gl(e, t) { return zo(e || [], t || [], To) } var Wl = xo(function (e) { var t = e.length, r = t > 1 ? e[t - 1] : o return (r = "function" == typeof r ? (e.pop(), r) : o), Ml(e, r) }) function Vl(e) { var t = xn(e) return (t.__chain__ = !0), t } function Hl(e, t) { return t(e), e } function Xl(e, t) { return t(e) } var Yl = Ba(function (e) { var t = e.length, r = t ? e[0] : 0, n = this.__wrapped__, i = function (t) { return mi(t, e) } return !(t > 1 || this.__actions__.length) && n instanceof Cn && as(r) ? ((n = n.slice(r, +r + (t ? 1 : 0))), n.__actions__.push({ func: Xl, args: [i], thisArg: o }), new Sn(n, this.__chain__).thru(function (e) { return t && !e.length && e.push(o), e })) : this.thru(i) }) function Kl() { return Vl(this) } function Zl() { return new Sn(this.value(), this.__chain__) } function Ql() { this.__values__ === o && (this.__values__ = Hu(this.value())) var e = this.__index__ >= this.__values__.length, t = e ? o : this.__values__[this.__index__++] return { done: e, value: t } } function Jl() { return this } function $l(e) { var t, r = this while (r instanceof En) { var n = Is(r) ;(n.__index__ = 0), (n.__values__ = o), t ? (i.__wrapped__ = n) : (t = n) var i = n r = r.__wrapped__ } return (i.__wrapped__ = e), t } function ec() { var e = this.__wrapped__ if (e instanceof Cn) { var t = e return ( this.__actions__.length && (t = new Cn(this)), (t = t.reverse()), t.__actions__.push({ func: Xl, args: [hl], thisArg: o }), new Sn(t, this.__chain__) ) } return this.thru(hl) } function tc() { return Fo(this.__wrapped__, this.__actions__) } var rc = la(function (e, t, r) { ft.call(e, r) ? ++e[r] : hi(e, r, 1) }) function nc(e, t, r) { var n = lu(e) ? _r : Ti return r && ss(e, t, r) && (t = o), n(e, Wa(t, 3)) } function ic(e, t) { var r = lu(e) ? Tr : Ci return r(e, Wa(t, 3)) } var oc = ya(Hs), ac = ya(Xs) function sc(e, t) { return ki(gc(e, t), 1) } function lc(e, t) { return ki(gc(e, t), M) } function cc(e, t, r) { return (r = r === o ? 1 : Yu(r)), ki(gc(e, t), r) } function uc(e, t) { var r = lu(e) ? xr : Ai return r(e, Wa(t, 3)) } function fc(e, t) { var r = lu(e) ? Ar : _i return r(e, Wa(t, 3)) } var pc = la(function (e, t, r) { ft.call(e, r) ? e[r].push(t) : hi(e, r, [t]) }) function dc(e, t, r, n) { ;(e = uu(e) ? e : qf(e)), (r = r && !n ? Yu(r) : 0) var i = e.length return r < 0 && (r = Ut(i + r, 0)), Bu(e) ? r <= i && e.indexOf(t, r) > -1 : !!i && Dr(e, t, r) > -1 } var hc = xo(function (e, t, n) { var i = -1, o = "function" == typeof t, a = uu(e) ? r(e.length) : [] return ( Ai(e, function (e) { a[++i] = o ? br(t, e, n) : Gi(e, t, n) }), a ) }), mc = la(function (e, t, r) { hi(e, r, t) }) function gc(e, t) { var r = lu(e) ? Cr : oo return r(e, Wa(t, 3)) } function yc(e, t, r, n) { return null == e ? [] : (lu(t) || (t = null == t ? [] : [t]), (r = n ? o : r), lu(r) || (r = null == r ? [] : [r]), fo(e, t, r)) } var vc = la( function (e, t, r) { e[r ? 0 : 1].push(t) }, function () { return [[], []] } ) function bc(e, t, r) { var n = lu(e) ? Lr : Gr, i = arguments.length < 3 return n(e, Wa(t, 4), r, i, Ai) } function wc(e, t, r) { var n = lu(e) ? Pr : Gr, i = arguments.length < 3 return n(e, Wa(t, 4), r, i, _i) } function xc(e, t) { var r = lu(e) ? Tr : Ci return r(e, zc(Wa(t, 3))) } function Ac(e) { var t = lu(e) ? oi : Ao return t(e) } function _c(e, t, r) { t = (r ? ss(e, t, r) : t === o) ? 1 : Yu(t) var n = lu(e) ? ai : _o return n(e, t) } function Tc(e) { var t = lu(e) ? si : Co return t(e) } function Ec(e) { if (null == e) return 0 if (uu(e)) return Bu(e) ? gn(e) : e.length var t = Qa(e) return t == $ || t == ae ? e.size : ro(e).length } function Sc(e, t, r) { var n = lu(e) ? Or : Lo return r && ss(e, t, r) && (t = o), n(e, Wa(t, 3)) } var Cc = xo(function (e, t) { if (null == e) return [] var r = t.length return r > 1 && ss(e, t[0], t[1]) ? (t = []) : r > 2 && ss(t[0], t[1], t[2]) && (t = [t[0]]), fo(e, ki(t, 1), []) }), kc = Ot || function () { return sr.Date.now() } function Lc(e, t) { if ("function" != typeof t) throw new ot(c) return ( (e = Yu(e)), function () { if (--e < 1) return t.apply(this, arguments) } ) } function Pc(e, t, r) { return (t = r ? o : t), (t = e && null == t ? e.length : t), Oa(e, S, o, o, o, o, t) } function Oc(e, t) { var r if ("function" != typeof t) throw new ot(c) return ( (e = Yu(e)), function () { return --e > 0 && (r = t.apply(this, arguments)), e <= 1 && (t = o), r } ) } var jc = xo(function (e, t, r) { var n = b if (r.length) { var i = fn(r, Ga(jc)) n |= T } return Oa(e, n, t, r, i) }), Rc = xo(function (e, t, r) { var n = b | w if (r.length) { var i = fn(r, Ga(Rc)) n |= T } return Oa(t, n, e, r, i) }) function Ic(e, t, r) { t = r ? o : t var n = Oa(e, A, o, o, o, o, o, t) return (n.placeholder = Ic.placeholder), n } function Nc(e, t, r) { t = r ? o : t var n = Oa(e, _, o, o, o, o, o, t) return (n.placeholder = Nc.placeholder), n } function Mc(e, t, r) { var n, i, a, s, l, u, f = 0, p = !1, d = !1, h = !0 if ("function" != typeof e) throw new ot(c) function m(t) { var r = n, a = i return (n = i = o), (f = t), (s = e.apply(a, r)), s } function g(e) { return (f = e), (l = Es(b, t)), p ? m(e) : s } function y(e) { var r = e - u, n = e - f, i = t - r return d ? zt(i, a - n) : i } function v(e) { var r = e - u, n = e - f return u === o || r >= t || r < 0 || (d && n >= a) } function b() { var e = kc() if (v(e)) return w(e) l = Es(b, y(e)) } function w(e) { return (l = o), h && n ? m(e) : ((n = i = o), s) } function x() { l !== o && Xo(l), (f = 0), (n = u = i = l = o) } function A() { return l === o ? s : w(kc()) } function _() { var e = kc(), r = v(e) if (((n = arguments), (i = this), (u = e), r)) { if (l === o) return g(u) if (d) return Xo(l), (l = Es(b, t)), m(u) } return l === o && (l = Es(b, t)), s } return ( (t = Zu(t) || 0), Tu(r) && ((p = !!r.leading), (d = "maxWait" in r), (a = d ? Ut(Zu(r.maxWait) || 0, t) : a), (h = "trailing" in r ? !!r.trailing : h)), (_.cancel = x), (_.flush = A), _ ) } var Dc = xo(function (e, t) { return wi(e, 1, t) }), Bc = xo(function (e, t, r) { return wi(e, Zu(t) || 0, r) }) function Fc(e) { return Oa(e, k) } function Uc(e, t) { if ("function" != typeof e || (null != t && "function" != typeof t)) throw new ot(c) var r = function () { var n = arguments, i = t ? t.apply(this, n) : n[0], o = r.cache if (o.has(i)) return o.get(i) var a = e.apply(this, n) return (r.cache = o.set(i, a) || o), a } return (r.cache = new (Uc.Cache || Gn)()), r } function zc(e) { if ("function" != typeof e) throw new ot(c) return function () { var t = arguments switch (t.length) { case 0: return !e.call(this) case 1: return !e.call(this, t[0]) case 2: return !e.call(this, t[0], t[1]) case 3: return !e.call(this, t[0], t[1], t[2]) } return !e.apply(this, t) } } function qc(e) { return Oc(2, e) } Uc.Cache = Gn var Gc = Vo(function (e, t) { t = 1 == t.length && lu(t[0]) ? Cr(t[0], Kr(Wa())) : Cr(ki(t, 1), Kr(Wa())) var r = t.length return xo(function (n) { var i = -1, o = zt(n.length, r) while (++i < o) n[i] = t[i].call(this, n[i]) return br(e, this, n) }) }), Wc = xo(function (e, t) { var r = fn(t, Ga(Wc)) return Oa(e, T, o, t, r) }), Vc = xo(function (e, t) { var r = fn(t, Ga(Vc)) return Oa(e, E, o, t, r) }), Hc = Ba(function (e, t) { return Oa(e, C, o, o, o, t) }) function Xc(e, t) { if ("function" != typeof e) throw new ot(c) return (t = t === o ? t : Yu(t)), xo(e, t) } function Yc(e, t) { if ("function" != typeof e) throw new ot(c) return ( (t = null == t ? 0 : Ut(Yu(t), 0)), xo(function (r) { var n = r[t], i = Ho(r, 0, t) return n && kr(i, n), br(e, this, i) }) ) } function Kc(e, t, r) { var n = !0, i = !0 if ("function" != typeof e) throw new ot(c) return ( Tu(r) && ((n = "leading" in r ? !!r.leading : n), (i = "trailing" in r ? !!r.trailing : i)), Mc(e, t, { leading: n, maxWait: t, trailing: i }) ) } function Zc(e) { return Pc(e, 1) } function Qc(e, t) { return Wc(Go(t), e) } function Jc() { if (!arguments.length) return [] var e = arguments[0] return lu(e) ? e : [e] } function $c(e) { return yi(e, g) } function eu(e, t) { return (t = "function" == typeof t ? t : o), yi(e, g, t) } function tu(e) { return yi(e, h | g) } function ru(e, t) { return (t = "function" == typeof t ? t : o), yi(e, h | g, t) } function nu(e, t) { return null == t || bi(e, t, _f(t)) } function iu(e, t) { return e === t || (e !== e && t !== t) } var ou = Sa(Di), au = Sa(function (e, t) { return e >= t }), su = Wi( (function () { return arguments })() ) ? Wi : function (e) { return Eu(e) && ft.call(e, "callee") && !Tt.call(e, "callee") }, lu = r.isArray, cu = dr ? Kr(dr) : Vi function uu(e) { return null != e && _u(e.length) && !xu(e) } function fu(e) { return Eu(e) && uu(e) } function pu(e) { return !0 === e || !1 === e || (Eu(e) && Mi(e) == X) } var du = Mt || Kp, hu = hr ? Kr(hr) : Hi function mu(e) { return Eu(e) && 1 === e.nodeType && !Iu(e) } function gu(e) { if (null == e) return !0 if (uu(e) && (lu(e) || "string" == typeof e || "function" == typeof e.splice || du(e) || Uu(e) || su(e))) return !e.length var t = Qa(e) if (t == $ || t == ae) return !e.size if (ds(e)) return !ro(e).length for (var r in e) if (ft.call(e, r)) return !1 return !0 } function yu(e, t) { return Xi(e, t) } function vu(e, t, r) { r = "function" == typeof r ? r : o var n = r ? r(e, t) : o return n === o ? Xi(e, t, o, r) : !!n } function bu(e) { if (!Eu(e)) return !1 var t = Mi(e) return t == Z || t == K || ("string" == typeof e.message && "string" == typeof e.name && !Iu(e)) } function wu(e) { return "number" == typeof e && Dt(e) } function xu(e) { if (!Tu(e)) return !1 var t = Mi(e) return t == Q || t == J || t == H || t == ie } function Au(e) { return "number" == typeof e && e == Yu(e) } function _u(e) { return "number" == typeof e && e > -1 && e % 1 == 0 && e <= D } function Tu(e) { var t = typeof e return null != e && ("object" == t || "function" == t) } function Eu(e) { return null != e && "object" == typeof e } var Su = mr ? Kr(mr) : Ki function Cu(e, t) { return e === t || Zi(e, t, Ha(t)) } function ku(e, t, r) { return (r = "function" == typeof r ? r : o), Zi(e, t, Ha(t), r) } function Lu(e) { return Ru(e) && e != +e } function Pu(e) { if (ps(e)) throw new i(l) return Qi(e) } function Ou(e) { return null === e } function ju(e) { return null == e } function Ru(e) { return "number" == typeof e || (Eu(e) && Mi(e) == ee) } function Iu(e) { if (!Eu(e) || Mi(e) != re) return !1 var t = At(e) if (null === t) return !0 var r = ft.call(t, "constructor") && t.constructor return "function" == typeof r && r instanceof r && ut.call(r) == mt } var Nu = gr ? Kr(gr) : Ji function Mu(e) { return Au(e) && e >= -D && e <= D } var Du = yr ? Kr(yr) : $i function Bu(e) { return "string" == typeof e || (!lu(e) && Eu(e) && Mi(e) == se) } function Fu(e) { return "symbol" == typeof e || (Eu(e) && Mi(e) == le) } var Uu = vr ? Kr(vr) : eo function zu(e) { return e === o } function qu(e) { return Eu(e) && Qa(e) == ue } function Gu(e) { return Eu(e) && Mi(e) == fe } var Wu = Sa(io), Vu = Sa(function (e, t) { return e <= t }) function Hu(e) { if (!e) return [] if (uu(e)) return Bu(e) ? yn(e) : ia(e) if (Ct && e[Ct]) return ln(e[Ct]()) var t = Qa(e), r = t == $ ? cn : t == ae ? pn : qf return r(e) } function Xu(e) { if (!e) return 0 === e ? e : 0 if (((e = Zu(e)), e === M || e === -M)) { var t = e < 0 ? -1 : 1 return t * B } return e === e ? e : 0 } function Yu(e) { var t = Xu(e), r = t % 1 return t === t ? (r ? t - r : t) : 0 } function Ku(e) { return e ? gi(Yu(e), 0, U) : 0 } function Zu(e) { if ("number" == typeof e) return e if (Fu(e)) return F if (Tu(e)) { var t = "function" == typeof e.valueOf ? e.valueOf() : e e = Tu(t) ? t + "" : t } if ("string" != typeof e) return 0 === e ? e : +e e = Yr(e) var r = Ke.test(e) return r || Qe.test(e) ? ir(e.slice(2), r ? 2 : 8) : Ye.test(e) ? F : +e } function Qu(e) { return oa(e, Tf(e)) } function Ju(e) { return e ? gi(Yu(e), -D, D) : 0 === e ? e : 0 } function $u(e) { return null == e ? "" : Io(e) } var ef = ca(function (e, t) { if (ds(t) || uu(t)) oa(t, _f(t), e) else for (var r in t) ft.call(t, r) && ci(e, r, t[r]) }), tf = ca(function (e, t) { oa(t, Tf(t), e) }), rf = ca(function (e, t, r, n) { oa(t, Tf(t), e, n) }), nf = ca(function (e, t, r, n) { oa(t, _f(t), e, n) }), of = Ba(mi) function af(e, t) { var r = _n(e) return null == t ? r : pi(r, t) } var sf = xo(function (e, t) { e = rt(e) var r = -1, n = t.length, i = n > 2 ? t[2] : o i && ss(t[0], t[1], i) && (n = 1) while (++r < n) { var a = t[r], s = Tf(a), l = -1, c = s.length while (++l < c) { var u = s[l], f = e[u] ;(f === o || (iu(f, lt[u]) && !ft.call(e, u))) && (e[u] = a[u]) } } return e }), lf = xo(function (e) { return e.push(o, Ra), br(kf, o, e) }) function cf(e, t) { return Nr(e, Wa(t, 3), Oi) } function uf(e, t) { return Nr(e, Wa(t, 3), ji) } function ff(e, t) { return null == e ? e : Li(e, Wa(t, 3), Tf) } function pf(e, t) { return null == e ? e : Pi(e, Wa(t, 3), Tf) } function df(e, t) { return e && Oi(e, Wa(t, 3)) } function hf(e, t) { return e && ji(e, Wa(t, 3)) } function mf(e) { return null == e ? [] : Ri(e, _f(e)) } function gf(e) { return null == e ? [] : Ri(e, Tf(e)) } function yf(e, t, r) { var n = null == e ? o : Ii(e, t) return n === o ? r : n } function vf(e, t) { return null != e && es(e, t, Bi) } function bf(e, t) { return null != e && es(e, t, Fi) } var wf = wa(function (e, t, r) { null != t && "function" != typeof t.toString && (t = ht.call(t)), (e[t] = r) }, Cp(Op)), xf = wa(function (e, t, r) { null != t && "function" != typeof t.toString && (t = ht.call(t)), ft.call(e, t) ? e[t].push(r) : (e[t] = [r]) }, Wa), Af = xo(Gi) function _f(e) { return uu(e) ? ii(e) : ro(e) } function Tf(e) { return uu(e) ? ii(e, !0) : no(e) } function Ef(e, t) { var r = {} return ( (t = Wa(t, 3)), Oi(e, function (e, n, i) { hi(r, t(e, n, i), e) }), r ) } function Sf(e, t) { var r = {} return ( (t = Wa(t, 3)), Oi(e, function (e, n, i) { hi(r, n, t(e, n, i)) }), r ) } var Cf = ca(function (e, t, r) { lo(e, t, r) }), kf = ca(function (e, t, r, n) { lo(e, t, r, n) }), Lf = Ba(function (e, t) { var r = {} if (null == e) return r var n = !1 ;(t = Cr(t, function (t) { return (t = Wo(t, e)), n || (n = t.length > 1), t })), oa(e, Ua(e), r), n && (r = yi(r, h | m | g, Ia)) var i = t.length while (i--) Mo(r, t[i]) return r }) function Pf(e, t) { return jf(e, zc(Wa(t))) } var Of = Ba(function (e, t) { return null == e ? {} : po(e, t) }) function jf(e, t) { if (null == e) return {} var r = Cr(Ua(e), function (e) { return [e] }) return ( (t = Wa(t)), ho(e, r, function (e, r) { return t(e, r[0]) }) ) } function Rf(e, t, r) { t = Wo(t, e) var n = -1, i = t.length i || ((i = 1), (e = o)) while (++n < i) { var a = null == e ? o : e[Os(t[n])] a === o && ((n = i), (a = r)), (e = xu(a) ? a.call(e) : a) } return e } function If(e, t, r) { return null == e ? e : To(e, t, r) } function Nf(e, t, r, n) { return (n = "function" == typeof n ? n : o), null == e ? e : To(e, t, r, n) } var Mf = Pa(_f), Df = Pa(Tf) function Bf(e, t, r) { var n = lu(e), i = n || du(e) || Uu(e) if (((t = Wa(t, 4)), null == r)) { var o = e && e.constructor r = i ? (n ? new o() : []) : Tu(e) && xu(o) ? _n(At(e)) : {} } return ( (i ? xr : Oi)(e, function (e, n, i) { return t(r, e, n, i) }), r ) } function Ff(e, t) { return null == e || Mo(e, t) } function Uf(e, t, r) { return null == e ? e : Do(e, t, Go(r)) } function zf(e, t, r, n) { return (n = "function" == typeof n ? n : o), null == e ? e : Do(e, t, Go(r), n) } function qf(e) { return null == e ? [] : Zr(e, _f(e)) } function Gf(e) { return null == e ? [] : Zr(e, Tf(e)) } function Wf(e, t, r) { return ( r === o && ((r = t), (t = o)), r !== o && ((r = Zu(r)), (r = r === r ? r : 0)), t !== o && ((t = Zu(t)), (t = t === t ? t : 0)), gi(Zu(e), t, r) ) } function Vf(e, t, r) { return (t = Xu(t)), r === o ? ((r = t), (t = 0)) : (r = Xu(r)), (e = Zu(e)), Ui(e, t, r) } function Hf(e, t, r) { if ( (r && "boolean" != typeof r && ss(e, t, r) && (t = r = o), r === o && ("boolean" == typeof t ? ((r = t), (t = o)) : "boolean" == typeof e && ((r = e), (e = o))), e === o && t === o ? ((e = 0), (t = 1)) : ((e = Xu(e)), t === o ? ((t = e), (e = 0)) : (t = Xu(t))), e > t) ) { var n = e ;(e = t), (t = n) } if (r || e % 1 || t % 1) { var i = Ht() return zt(e + i * (t - e + nr("1e-" + ((i + "").length - 1))), t) } return vo(e, t) } var Xf = ha(function (e, t, r) { return (t = t.toLowerCase()), e + (r ? Yf(t) : t) }) function Yf(e) { return xp($u(e).toLowerCase()) } function Kf(e) { return (e = $u(e)), e && e.replace($e, tn).replace(Wt, "") } function Zf(e, t, r) { ;(e = $u(e)), (t = Io(t)) var n = e.length r = r === o ? n : gi(Yu(r), 0, n) var i = r return (r -= t.length), r >= 0 && e.slice(r, i) == t } function Qf(e) { return (e = $u(e)), e && Le.test(e) ? e.replace(Ce, rn) : e } function Jf(e) { return (e = $u(e)), e && De.test(e) ? e.replace(Me, "\\$&") : e } var $f = ha(function (e, t, r) { return e + (r ? "-" : "") + t.toLowerCase() }), ep = ha(function (e, t, r) { return e + (r ? " " : "") + t.toLowerCase() }), tp = da("toLowerCase") function rp(e, t, r) { ;(e = $u(e)), (t = Yu(t)) var n = t ? gn(e) : 0 if (!t || n >= t) return e var i = (t - n) / 2 return _a(It(i), r) + e + _a(Rt(i), r) } function np(e, t, r) { ;(e = $u(e)), (t = Yu(t)) var n = t ? gn(e) : 0 return t && n < t ? e + _a(t - n, r) : e } function ip(e, t, r) { ;(e = $u(e)), (t = Yu(t)) var n = t ? gn(e) : 0 return t && n < t ? _a(t - n, r) + e : e } function op(e, t, r) { return r || null == t ? (t = 0) : t && (t = +t), Vt($u(e).replace(Be, ""), t || 0) } function ap(e, t, r) { return (t = (r ? ss(e, t, r) : t === o) ? 1 : Yu(t)), wo($u(e), t) } function sp() { var e = arguments, t = $u(e[0]) return e.length < 3 ? t : t.replace(e[1], e[2]) } var lp = ha(function (e, t, r) { return e + (r ? "_" : "") + t.toLowerCase() }) function cp(e, t, r) { return ( r && "number" != typeof r && ss(e, t, r) && (t = r = o), (r = r === o ? U : r >>> 0), r ? ((e = $u(e)), e && ("string" == typeof t || (null != t && !Nu(t))) && ((t = Io(t)), !t && an(e)) ? Ho(yn(e), 0, r) : e.split(t, r)) : [] ) } var up = ha(function (e, t, r) { return e + (r ? " " : "") + xp(t) }) function fp(e, t, r) { return (e = $u(e)), (r = null == r ? 0 : gi(Yu(r), 0, e.length)), (t = Io(t)), e.slice(r, r + t.length) == t } function pp(e, t, r) { var n = xn.templateSettings r && ss(e, t, r) && (t = o), (e = $u(e)), (t = rf({}, t, n, ja)) var a, s, l = rf({}, t.imports, n.imports, ja), c = _f(l), f = Zr(l, c), p = 0, d = t.interpolate || et, h = "__p += '", m = nt( (t.escape || et).source + "|" + d.source + "|" + (d === je ? He : et).source + "|" + (t.evaluate || et).source + "|$", "g" ), g = "//# sourceURL=" + (ft.call(t, "sourceURL") ? (t.sourceURL + "").replace(/\s/g, " ") : "lodash.templateSources[" + ++Zt + "]") + "\n" e.replace(m, function (t, r, n, i, o, l) { return ( n || (n = i), (h += e.slice(p, l).replace(tt, nn)), r && ((a = !0), (h += "' +\n__e(" + r + ") +\n'")), o && ((s = !0), (h += "';\n" + o + ";\n__p += '")), n && (h += "' +\n((__t = (" + n + ")) == null ? '' : __t) +\n'"), (p = l + t.length), t ) }), (h += "';\n") var y = ft.call(t, "variable") && t.variable if (y) { if (We.test(y)) throw new i(u) } else h = "with (obj) {\n" + h + "\n}\n" ;(h = (s ? h.replace(_e, "") : h).replace(Te, "$1").replace(Ee, "$1;")), (h = "function(" + (y || "obj") + ") {\n" + (y ? "" : "obj || (obj = {});\n") + "var __t, __p = ''" + (a ? ", __e = _.escape" : "") + (s ? ", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n" : ";\n") + h + "return __p\n}") var v = _p(function () { return Fe(c, g + "return " + h).apply(o, f) }) if (((v.source = h), bu(v))) throw v return v } function dp(e) { return $u(e).toLowerCase() } function hp(e) { return $u(e).toUpperCase() } function mp(e, t, r) { if (((e = $u(e)), e && (r || t === o))) return Yr(e) if (!e || !(t = Io(t))) return e var n = yn(e), i = yn(t), a = Jr(n, i), s = $r(n, i) + 1 return Ho(n, a, s).join("") } function gp(e, t, r) { if (((e = $u(e)), e && (r || t === o))) return e.slice(0, vn(e) + 1) if (!e || !(t = Io(t))) return e var n = yn(e), i = $r(n, yn(t)) + 1 return Ho(n, 0, i).join("") } function yp(e, t, r) { if (((e = $u(e)), e && (r || t === o))) return e.replace(Be, "") if (!e || !(t = Io(t))) return e var n = yn(e), i = Jr(n, yn(t)) return Ho(n, i).join("") } function vp(e, t) { var r = L, n = P if (Tu(t)) { var i = "separator" in t ? t.separator : i ;(r = "length" in t ? Yu(t.length) : r), (n = "omission" in t ? Io(t.omission) : n) } e = $u(e) var a = e.length if (an(e)) { var s = yn(e) a = s.length } if (r >= a) return e var l = r - gn(n) if (l < 1) return n var c = s ? Ho(s, 0, l).join("") : e.slice(0, l) if (i === o) return c + n if ((s && (l += c.length - l), Nu(i))) { if (e.slice(l).search(i)) { var u, f = c i.global || (i = nt(i.source, $u(Xe.exec(i)) + "g")), (i.lastIndex = 0) while ((u = i.exec(f))) var p = u.index c = c.slice(0, p === o ? l : p) } } else if (e.indexOf(Io(i), l) != l) { var d = c.lastIndexOf(i) d > -1 && (c = c.slice(0, d)) } return c + n } function bp(e) { return (e = $u(e)), e && ke.test(e) ? e.replace(Se, bn) : e } var wp = ha(function (e, t, r) { return e + (r ? " " : "") + t.toUpperCase() }), xp = da("toUpperCase") function Ap(e, t, r) { return (e = $u(e)), (t = r ? o : t), t === o ? (sn(e) ? An(e) : Ir(e)) : e.match(t) || [] } var _p = xo(function (e, t) { try { return br(e, o, t) } catch (r) { return bu(r) ? r : new i(r) } }), Tp = Ba(function (e, t) { return ( xr(t, function (t) { ;(t = Os(t)), hi(e, t, jc(e[t], e)) }), e ) }) function Ep(e) { var t = null == e ? 0 : e.length, r = Wa() return ( (e = t ? Cr(e, function (e) { if ("function" != typeof e[1]) throw new ot(c) return [r(e[0]), e[1]] }) : []), xo(function (r) { var n = -1 while (++n < t) { var i = e[n] if (br(i[0], this, r)) return br(i[1], this, r) } }) ) } function Sp(e) { return vi(yi(e, h)) } function Cp(e) { return function () { return e } } function kp(e, t) { return null == e || e !== e ? t : e } var Lp = va(), Pp = va(!0) function Op(e) { return e } function jp(e) { return to("function" == typeof e ? e : yi(e, h)) } function Rp(e) { return ao(yi(e, h)) } function Ip(e, t) { return so(e, yi(t, h)) } var Np = xo(function (e, t) { return function (r) { return Gi(r, e, t) } }), Mp = xo(function (e, t) { return function (r) { return Gi(e, r, t) } }) function Dp(e, t, r) { var n = _f(t), i = Ri(t, n) null != r || (Tu(t) && (i.length || !n.length)) || ((r = t), (t = e), (e = this), (i = Ri(t, _f(t)))) var o = !(Tu(r) && "chain" in r) || !!r.chain, a = xu(e) return ( xr(i, function (r) { var n = t[r] ;(e[r] = n), a && (e.prototype[r] = function () { var t = this.__chain__ if (o || t) { var r = e(this.__wrapped__), i = (r.__actions__ = ia(this.__actions__)) return ( i.push({ func: n, args: arguments, thisArg: e }), (r.__chain__ = t), r ) } return n.apply(e, kr([this.value()], arguments)) }) }), e ) } function Bp() { return sr._ === this && (sr._ = gt), this } function Fp() {} function Up(e) { return ( (e = Yu(e)), xo(function (t) { return uo(t, e) }) ) } var zp = Aa(Cr), qp = Aa(_r), Gp = Aa(Or) function Wp(e) { return ls(e) ? zr(Os(e)) : mo(e) } function Vp(e) { return function (t) { return null == e ? o : Ii(e, t) } } var Hp = Ea(), Xp = Ea(!0) function Yp() { return [] } function Kp() { return !1 } function Zp() { return {} } function Qp() { return "" } function Jp() { return !0 } function $p(e, t) { if (((e = Yu(e)), e < 1 || e > D)) return [] var r = U, n = zt(e, U) ;(t = Wa(t)), (e -= U) var i = Hr(n, t) while (++r < e) t(r) return i } function ed(e) { return lu(e) ? Cr(e, Os) : Fu(e) ? [e] : ia(Ps($u(e))) } function td(e) { var t = ++pt return $u(e) + t } var rd = xa(function (e, t) { return e + t }, 0), nd = ka("ceil"), id = xa(function (e, t) { return e / t }, 1), od = ka("floor") function ad(e) { return e && e.length ? Ei(e, Op, Di) : o } function sd(e, t) { return e && e.length ? Ei(e, Wa(t, 2), Di) : o } function ld(e) { return Ur(e, Op) } function cd(e, t) { return Ur(e, Wa(t, 2)) } function ud(e) { return e && e.length ? Ei(e, Op, io) : o } function fd(e, t) { return e && e.length ? Ei(e, Wa(t, 2), io) : o } var pd = xa(function (e, t) { return e * t }, 1), dd = ka("round"), hd = xa(function (e, t) { return e - t }, 0) function md(e) { return e && e.length ? Vr(e, Op) : 0 } function gd(e, t) { return e && e.length ? Vr(e, Wa(t, 2)) : 0 } return ( (xn.after = Lc), (xn.ary = Pc), (xn.assign = ef), (xn.assignIn = tf), (xn.assignInWith = rf), (xn.assignWith = nf), (xn.at = of), (xn.before = Oc), (xn.bind = jc), (xn.bindAll = Tp), (xn.bindKey = Rc), (xn.castArray = Jc), (xn.chain = Vl), (xn.chunk = Ns), (xn.compact = Ms), (xn.concat = Ds), (xn.cond = Ep), (xn.conforms = Sp), (xn.constant = Cp), (xn.countBy = rc), (xn.create = af), (xn.curry = Ic), (xn.curryRight = Nc), (xn.debounce = Mc), (xn.defaults = sf), (xn.defaultsDeep = lf), (xn.defer = Dc), (xn.delay = Bc), (xn.difference = Bs), (xn.differenceBy = Fs), (xn.differenceWith = Us), (xn.drop = zs), (xn.dropRight = qs), (xn.dropRightWhile = Gs), (xn.dropWhile = Ws), (xn.fill = Vs), (xn.filter = ic), (xn.flatMap = sc), (xn.flatMapDeep = lc), (xn.flatMapDepth = cc), (xn.flatten = Ys), (xn.flattenDeep = Ks), (xn.flattenDepth = Zs), (xn.flip = Fc), (xn.flow = Lp), (xn.flowRight = Pp), (xn.fromPairs = Qs), (xn.functions = mf), (xn.functionsIn = gf), (xn.groupBy = pc), (xn.initial = el), (xn.intersection = tl), (xn.intersectionBy = rl), (xn.intersectionWith = nl), (xn.invert = wf), (xn.invertBy = xf), (xn.invokeMap = hc), (xn.iteratee = jp), (xn.keyBy = mc), (xn.keys = _f), (xn.keysIn = Tf), (xn.map = gc), (xn.mapKeys = Ef), (xn.mapValues = Sf), (xn.matches = Rp), (xn.matchesProperty = Ip), (xn.memoize = Uc), (xn.merge = Cf), (xn.mergeWith = kf), (xn.method = Np), (xn.methodOf = Mp), (xn.mixin = Dp), (xn.negate = zc), (xn.nthArg = Up), (xn.omit = Lf), (xn.omitBy = Pf), (xn.once = qc), (xn.orderBy = yc), (xn.over = zp), (xn.overArgs = Gc), (xn.overEvery = qp), (xn.overSome = Gp), (xn.partial = Wc), (xn.partialRight = Vc), (xn.partition = vc), (xn.pick = Of), (xn.pickBy = jf), (xn.property = Wp), (xn.propertyOf = Vp), (xn.pull = ll), (xn.pullAll = cl), (xn.pullAllBy = ul), (xn.pullAllWith = fl), (xn.pullAt = pl), (xn.range = Hp), (xn.rangeRight = Xp), (xn.rearg = Hc), (xn.reject = xc), (xn.remove = dl), (xn.rest = Xc), (xn.reverse = hl), (xn.sampleSize = _c), (xn.set = If), (xn.setWith = Nf), (xn.shuffle = Tc), (xn.slice = ml), (xn.sortBy = Cc), (xn.sortedUniq = Al), (xn.sortedUniqBy = _l), (xn.split = cp), (xn.spread = Yc), (xn.tail = Tl), (xn.take = El), (xn.takeRight = Sl), (xn.takeRightWhile = Cl), (xn.takeWhile = kl), (xn.tap = Hl), (xn.throttle = Kc), (xn.thru = Xl), (xn.toArray = Hu), (xn.toPairs = Mf), (xn.toPairsIn = Df), (xn.toPath = ed), (xn.toPlainObject = Qu), (xn.transform = Bf), (xn.unary = Zc), (xn.union = Ll), (xn.unionBy = Pl), (xn.unionWith = Ol), (xn.uniq = jl), (xn.uniqBy = Rl), (xn.uniqWith = Il), (xn.unset = Ff), (xn.unzip = Nl), (xn.unzipWith = Ml), (xn.update = Uf), (xn.updateWith = zf), (xn.values = qf), (xn.valuesIn = Gf), (xn.without = Dl), (xn.words = Ap), (xn.wrap = Qc), (xn.xor = Bl), (xn.xorBy = Fl), (xn.xorWith = Ul), (xn.zip = zl), (xn.zipObject = ql), (xn.zipObjectDeep = Gl), (xn.zipWith = Wl), (xn.entries = Mf), (xn.entriesIn = Df), (xn.extend = tf), (xn.extendWith = rf), Dp(xn, xn), (xn.add = rd), (xn.attempt = _p), (xn.camelCase = Xf), (xn.capitalize = Yf), (xn.ceil = nd), (xn.clamp = Wf), (xn.clone = $c), (xn.cloneDeep = tu), (xn.cloneDeepWith = ru), (xn.cloneWith = eu), (xn.conformsTo = nu), (xn.deburr = Kf), (xn.defaultTo = kp), (xn.divide = id), (xn.endsWith = Zf), (xn.eq = iu), (xn.escape = Qf), (xn.escapeRegExp = Jf), (xn.every = nc), (xn.find = oc), (xn.findIndex = Hs), (xn.findKey = cf), (xn.findLast = ac), (xn.findLastIndex = Xs), (xn.findLastKey = uf), (xn.floor = od), (xn.forEach = uc), (xn.forEachRight = fc), (xn.forIn = ff), (xn.forInRight = pf), (xn.forOwn = df), (xn.forOwnRight = hf), (xn.get = yf), (xn.gt = ou), (xn.gte = au), (xn.has = vf), (xn.hasIn = bf), (xn.head = Js), (xn.identity = Op), (xn.includes = dc), (xn.indexOf = $s), (xn.inRange = Vf), (xn.invoke = Af), (xn.isArguments = su), (xn.isArray = lu), (xn.isArrayBuffer = cu), (xn.isArrayLike = uu), (xn.isArrayLikeObject = fu), (xn.isBoolean = pu), (xn.isBuffer = du), (xn.isDate = hu), (xn.isElement = mu), (xn.isEmpty = gu), (xn.isEqual = yu), (xn.isEqualWith = vu), (xn.isError = bu), (xn.isFinite = wu), (xn.isFunction = xu), (xn.isInteger = Au), (xn.isLength = _u), (xn.isMap = Su), (xn.isMatch = Cu), (xn.isMatchWith = ku), (xn.isNaN = Lu), (xn.isNative = Pu), (xn.isNil = ju), (xn.isNull = Ou), (xn.isNumber = Ru), (xn.isObject = Tu), (xn.isObjectLike = Eu), (xn.isPlainObject = Iu), (xn.isRegExp = Nu), (xn.isSafeInteger = Mu), (xn.isSet = Du), (xn.isString = Bu), (xn.isSymbol = Fu), (xn.isTypedArray = Uu), (xn.isUndefined = zu), (xn.isWeakMap = qu), (xn.isWeakSet = Gu), (xn.join = il), (xn.kebabCase = $f), (xn.last = ol), (xn.lastIndexOf = al), (xn.lowerCase = ep), (xn.lowerFirst = tp), (xn.lt = Wu), (xn.lte = Vu), (xn.max = ad), (xn.maxBy = sd), (xn.mean = ld), (xn.meanBy = cd), (xn.min = ud), (xn.minBy = fd), (xn.stubArray = Yp), (xn.stubFalse = Kp), (xn.stubObject = Zp), (xn.stubString = Qp), (xn.stubTrue = Jp), (xn.multiply = pd), (xn.nth = sl), (xn.noConflict = Bp), (xn.noop = Fp), (xn.now = kc), (xn.pad = rp), (xn.padEnd = np), (xn.padStart = ip), (xn.parseInt = op), (xn.random = Hf), (xn.reduce = bc), (xn.reduceRight = wc), (xn.repeat = ap), (xn.replace = sp), (xn.result = Rf), (xn.round = dd), (xn.runInContext = e), (xn.sample = Ac), (xn.size = Ec), (xn.snakeCase = lp), (xn.some = Sc), (xn.sortedIndex = gl), (xn.sortedIndexBy = yl), (xn.sortedIndexOf = vl), (xn.sortedLastIndex = bl), (xn.sortedLastIndexBy = wl), (xn.sortedLastIndexOf = xl), (xn.startCase = up), (xn.startsWith = fp), (xn.subtract = hd), (xn.sum = md), (xn.sumBy = gd), (xn.template = pp), (xn.times = $p), (xn.toFinite = Xu), (xn.toInteger = Yu), (xn.toLength = Ku), (xn.toLower = dp), (xn.toNumber = Zu), (xn.toSafeInteger = Ju), (xn.toString = $u), (xn.toUpper = hp), (xn.trim = mp), (xn.trimEnd = gp), (xn.trimStart = yp), (xn.truncate = vp), (xn.unescape = bp), (xn.uniqueId = td), (xn.upperCase = wp), (xn.upperFirst = xp), (xn.each = uc), (xn.eachRight = fc), (xn.first = Js), Dp( xn, (function () { var e = {} return ( Oi(xn, function (t, r) { ft.call(xn.prototype, r) || (e[r] = t) }), e ) })(), { chain: !1 } ), (xn.VERSION = a), xr(["bind", "bindKey", "curry", "curryRight", "partial", "partialRight"], function (e) { xn[e].placeholder = xn }), xr(["drop", "take"], function (e, t) { ;(Cn.prototype[e] = function (r) { r = r === o ? 1 : Ut(Yu(r), 0) var n = this.__filtered__ && !t ? new Cn(this) : this.clone() return ( n.__filtered__ ? (n.__takeCount__ = zt(r, n.__takeCount__)) : n.__views__.push({ size: zt(r, U), type: e + (n.__dir__ < 0 ? "Right" : "") }), n ) }), (Cn.prototype[e + "Right"] = function (t) { return this.reverse()[e](t).reverse() }) }), xr(["filter", "map", "takeWhile"], function (e, t) { var r = t + 1, n = r == R || r == N Cn.prototype[e] = function (e) { var t = this.clone() return ( t.__iteratees__.push({ iteratee: Wa(e, 3), type: r }), (t.__filtered__ = t.__filtered__ || n), t ) } }), xr(["head", "last"], function (e, t) { var r = "take" + (t ? "Right" : "") Cn.prototype[e] = function () { return this[r](1).value()[0] } }), xr(["initial", "tail"], function (e, t) { var r = "drop" + (t ? "" : "Right") Cn.prototype[e] = function () { return this.__filtered__ ? new Cn(this) : this[r](1) } }), (Cn.prototype.compact = function () { return this.filter(Op) }), (Cn.prototype.find = function (e) { return this.filter(e).head() }), (Cn.prototype.findLast = function (e) { return this.reverse().find(e) }), (Cn.prototype.invokeMap = xo(function (e, t) { return "function" == typeof e ? new Cn(this) : this.map(function (r) { return Gi(r, e, t) }) })), (Cn.prototype.reject = function (e) { return this.filter(zc(Wa(e))) }), (Cn.prototype.slice = function (e, t) { e = Yu(e) var r = this return r.__filtered__ && (e > 0 || t < 0) ? new Cn(r) : (e < 0 ? (r = r.takeRight(-e)) : e && (r = r.drop(e)), t !== o && ((t = Yu(t)), (r = t < 0 ? r.dropRight(-t) : r.take(t - e))), r) }), (Cn.prototype.takeRightWhile = function (e) { return this.reverse().takeWhile(e).reverse() }), (Cn.prototype.toArray = function () { return this.take(U) }), Oi(Cn.prototype, function (e, t) { var r = /^(?:filter|find|map|reject)|While$/.test(t), n = /^(?:head|last)$/.test(t), i = xn[n ? "take" + ("last" == t ? "Right" : "") : t], a = n || /^find/.test(t) i && (xn.prototype[t] = function () { var t = this.__wrapped__, s = n ? [1] : arguments, l = t instanceof Cn, c = s[0], u = l || lu(t), f = function (e) { var t = i.apply(xn, kr([e], s)) return n && p ? t[0] : t } u && r && "function" == typeof c && 1 != c.length && (l = u = !1) var p = this.__chain__, d = !!this.__actions__.length, h = a && !p, m = l && !d if (!a && u) { t = m ? t : new Cn(this) var g = e.apply(t, s) return ( g.__actions__.push({ func: Xl, args: [f], thisArg: o }), new Sn(g, p) ) } return h && m ? e.apply(this, s) : ((g = this.thru(f)), h ? (n ? g.value()[0] : g.value()) : g) }) }), xr(["pop", "push", "shift", "sort", "splice", "unshift"], function (e) { var t = at[e], r = /^(?:push|sort|unshift)$/.test(e) ? "tap" : "thru", n = /^(?:pop|shift)$/.test(e) xn.prototype[e] = function () { var e = arguments if (n && !this.__chain__) { var i = this.value() return t.apply(lu(i) ? i : [], e) } return this[r](function (r) { return t.apply(lu(r) ? r : [], e) }) } }), Oi(Cn.prototype, function (e, t) { var r = xn[t] if (r) { var n = r.name + "" ft.call(lr, n) || (lr[n] = []), lr[n].push({ name: t, func: r }) } }), (lr[ba(o, w).name] = [ { name: "wrapper", func: o } ]), (Cn.prototype.clone = kn), (Cn.prototype.reverse = Ln), (Cn.prototype.value = Pn), (xn.prototype.at = Yl), (xn.prototype.chain = Kl), (xn.prototype.commit = Zl), (xn.prototype.next = Ql), (xn.prototype.plant = $l), (xn.prototype.reverse = ec), (xn.prototype.toJSON = xn.prototype.valueOf = xn.prototype.value = tc), (xn.prototype.first = xn.prototype.head), Ct && (xn.prototype[Ct] = Jl), xn ) }, Tn = _n() ;(sr._ = Tn), (i = function () { return Tn }.call(t, r, t, n)), i === o || (n.exports = i) }).call(this) }).call(this, r("c8ba"), r("62e4")(e)) }, 3: function (e, t) {}, 3171: function (e, t, r) { ;(function (e) { ;(function (t) { ;(t.parser = function (e, t) { return new o(e, t) }), (t.SAXParser = o), (t.SAXStream = f), (t.createStream = u), (t.MAX_BUFFER_LENGTH = 65536) var n, i = [ "comment", "sgmlDecl", "textNode", "tagName", "doctype", "procInstName", "procInstBody", "entity", "attribName", "attribValue", "cdata", "script" ] function o(e, r) { if (!(this instanceof o)) return new o(e, r) var n = this s(n), (n.q = n.c = ""), (n.bufferCheckPosition = t.MAX_BUFFER_LENGTH), (n.opt = r || {}), (n.opt.lowercase = n.opt.lowercase || n.opt.lowercasetags), (n.looseCase = n.opt.lowercase ? "toLowerCase" : "toUpperCase"), (n.tags = []), (n.closed = n.closedRoot = n.sawRoot = !1), (n.tag = n.error = null), (n.strict = !!e), (n.noscript = !(!e && !n.opt.noscript)), (n.state = S.BEGIN), (n.strictEntities = n.opt.strictEntities), (n.ENTITIES = n.strictEntities ? Object.create(t.XML_ENTITIES) : Object.create(t.ENTITIES)), (n.attribList = []), n.opt.xmlns && (n.ns = Object.create(g)), (n.trackPosition = !1 !== n.opt.position), n.trackPosition && (n.position = n.line = n.column = 0), k(n, "onready") } function a(e) { for (var r = Math.max(t.MAX_BUFFER_LENGTH, 10), n = 0, o = 0, a = i.length; o < a; o++) { var s = e[i[o]].length if (s > r) switch (i[o]) { case "textNode": P(e) break case "cdata": L(e, "oncdata", e.cdata), (e.cdata = "") break case "script": L(e, "onscript", e.script), (e.script = "") break default: j(e, "Max buffer length exceeded: " + i[o]) } n = Math.max(n, s) } var l = t.MAX_BUFFER_LENGTH - n e.bufferCheckPosition = l + e.position } function s(e) { for (var t = 0, r = i.length; t < r; t++) e[i[t]] = "" } function l(e) { P(e), "" !== e.cdata && (L(e, "oncdata", e.cdata), (e.cdata = "")), "" !== e.script && (L(e, "onscript", e.script), (e.script = "")) } ;(t.EVENTS = [ "text", "processinginstruction", "sgmldeclaration", "doctype", "comment", "opentagstart", "attribute", "opentag", "closetag", "opencdata", "cdata", "closecdata", "error", "end", "ready", "script", "opennamespace", "closenamespace" ]), Object.create || (Object.create = function (e) { function t() {} t.prototype = e var r = new t() return r }), Object.keys || (Object.keys = function (e) { var t = [] for (var r in e) e.hasOwnProperty(r) && t.push(r) return t }), (o.prototype = { end: function () { R(this) }, write: G, resume: function () { return (this.error = null), this }, close: function () { return this.write(null) }, flush: function () { l(this) } }) try { n = r("d485").Stream } catch (W) { n = function () {} } var c = t.EVENTS.filter(function (e) { return "error" !== e && "end" !== e }) function u(e, t) { return new f(e, t) } function f(e, t) { if (!(this instanceof f)) return new f(e, t) n.apply(this), (this._parser = new o(e, t)), (this.writable = !0), (this.readable = !0) var r = this ;(this._parser.onend = function () { r.emit("end") }), (this._parser.onerror = function (e) { r.emit("error", e), (r._parser.error = null) }), (this._decoder = null), c.forEach(function (e) { Object.defineProperty(r, "on" + e, { get: function () { return r._parser["on" + e] }, set: function (t) { if (!t) return r.removeAllListeners(e), (r._parser["on" + e] = t), t r.on(e, t) }, enumerable: !0, configurable: !1 }) }) } ;(f.prototype = Object.create(n.prototype, { constructor: { value: f } })), (f.prototype.write = function (t) { if ("function" === typeof e && "function" === typeof e.isBuffer && e.isBuffer(t)) { if (!this._decoder) { var n = r("7d72").StringDecoder this._decoder = new n("utf8") } t = this._decoder.write(t) } return this._parser.write(t.toString()), this.emit("data", t), !0 }), (f.prototype.end = function (e) { return e && e.length && this.write(e), this._parser.end(), !0 }), (f.prototype.on = function (e, t) { var r = this return ( r._parser["on" + e] || -1 === c.indexOf(e) || (r._parser["on" + e] = function () { var t = 1 === arguments.length ? [arguments[0]] : Array.apply(null, arguments) t.splice(0, 0, e), r.emit.apply(r, t) }), n.prototype.on.call(r, e, t) ) }) var p = "[CDATA[", d = "DOCTYPE", h = "http://www.w3.org/XML/1998/namespace", m = "http://www.w3.org/2000/xmlns/", g = { xml: h, xmlns: m }, y = /[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/, v = /[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/, b = /[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/, w = /[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/ function x(e) { return " " === e || "\n" === e || "\r" === e || "\t" === e } function A(e) { return '"' === e || "'" === e } function _(e) { return ">" === e || x(e) } function T(e, t) { return e.test(t) } function E(e, t) { return !T(e, t) } var S = 0 for (var C in ((t.STATE = { BEGIN: S++, BEGIN_WHITESPACE: S++, TEXT: S++, TEXT_ENTITY: S++, OPEN_WAKA: S++, SGML_DECL: S++, SGML_DECL_QUOTED: S++, DOCTYPE: S++, DOCTYPE_QUOTED: S++, DOCTYPE_DTD: S++, DOCTYPE_DTD_QUOTED: S++, COMMENT_STARTING: S++, COMMENT: S++, COMMENT_ENDING: S++, COMMENT_ENDED: S++, CDATA: S++, CDATA_ENDING: S++, CDATA_ENDING_2: S++, PROC_INST: S++, PROC_INST_BODY: S++, PROC_INST_ENDING: S++, OPEN_TAG: S++, OPEN_TAG_SLASH: S++, ATTRIB: S++, ATTRIB_NAME: S++, ATTRIB_NAME_SAW_WHITE: S++, ATTRIB_VALUE: S++, ATTRIB_VALUE_QUOTED: S++, ATTRIB_VALUE_CLOSED: S++, ATTRIB_VALUE_UNQUOTED: S++, ATTRIB_VALUE_ENTITY_Q: S++, ATTRIB_VALUE_ENTITY_U: S++, CLOSE_TAG: S++, CLOSE_TAG_SAW_WHITE: S++, SCRIPT: S++, SCRIPT_ENDING: S++ }), (t.XML_ENTITIES = { amp: "&", gt: ">", lt: "<", quot: '"', apos: "'" }), (t.ENTITIES = { amp: "&", gt: ">", lt: "<", quot: '"', apos: "'", AElig: 198, Aacute: 193, Acirc: 194, Agrave: 192, Aring: 197, Atilde: 195, Auml: 196, Ccedil: 199, ETH: 208, Eacute: 201, Ecirc: 202, Egrave: 200, Euml: 203, Iacute: 205, Icirc: 206, Igrave: 204, Iuml: 207, Ntilde: 209, Oacute: 211, Ocirc: 212, Ograve: 210, Oslash: 216, Otilde: 213, Ouml: 214, THORN: 222, Uacute: 218, Ucirc: 219, Ugrave: 217, Uuml: 220, Yacute: 221, aacute: 225, acirc: 226, aelig: 230, agrave: 224, aring: 229, atilde: 227, auml: 228, ccedil: 231, eacute: 233, ecirc: 234, egrave: 232, eth: 240, euml: 235, iacute: 237, icirc: 238, igrave: 236, iuml: 239, ntilde: 241, oacute: 243, ocirc: 244, ograve: 242, oslash: 248, otilde: 245, ouml: 246, szlig: 223, thorn: 254, uacute: 250, ucirc: 251, ugrave: 249, uuml: 252, yacute: 253, yuml: 255, copy: 169, reg: 174, nbsp: 160, iexcl: 161, cent: 162, pound: 163, curren: 164, yen: 165, brvbar: 166, sect: 167, uml: 168, ordf: 170, laquo: 171, not: 172, shy: 173, macr: 175, deg: 176, plusmn: 177, sup1: 185, sup2: 178, sup3: 179, acute: 180, micro: 181, para: 182, middot: 183, cedil: 184, ordm: 186, raquo: 187, frac14: 188, frac12: 189, frac34: 190, iquest: 191, times: 215, divide: 247, OElig: 338, oelig: 339, Scaron: 352, scaron: 353, Yuml: 376, fnof: 402, circ: 710, tilde: 732, Alpha: 913, Beta: 914, Gamma: 915, Delta: 916, Epsilon: 917, Zeta: 918, Eta: 919, Theta: 920, Iota: 921, Kappa: 922, Lambda: 923, Mu: 924, Nu: 925, Xi: 926, Omicron: 927, Pi: 928, Rho: 929, Sigma: 931, Tau: 932, Upsilon: 933, Phi: 934, Chi: 935, Psi: 936, Omega: 937, alpha: 945, beta: 946, gamma: 947, delta: 948, epsilon: 949, zeta: 950, eta: 951, theta: 952, iota: 953, kappa: 954, lambda: 955, mu: 956, nu: 957, xi: 958, omicron: 959, pi: 960, rho: 961, sigmaf: 962, sigma: 963, tau: 964, upsilon: 965, phi: 966, chi: 967, psi: 968, omega: 969, thetasym: 977, upsih: 978, piv: 982, ensp: 8194, emsp: 8195, thinsp: 8201, zwnj: 8204, zwj: 8205, lrm: 8206, rlm: 8207, ndash: 8211, mdash: 8212, lsquo: 8216, rsquo: 8217, sbquo: 8218, ldquo: 8220, rdquo: 8221, bdquo: 8222, dagger: 8224, Dagger: 8225, bull: 8226, hellip: 8230, permil: 8240, prime: 8242, Prime: 8243, lsaquo: 8249, rsaquo: 8250, oline: 8254, frasl: 8260, euro: 8364, image: 8465, weierp: 8472, real: 8476, trade: 8482, alefsym: 8501, larr: 8592, uarr: 8593, rarr: 8594, darr: 8595, harr: 8596, crarr: 8629, lArr: 8656, uArr: 8657, rArr: 8658, dArr: 8659, hArr: 8660, forall: 8704, part: 8706, exist: 8707, empty: 8709, nabla: 8711, isin: 8712, notin: 8713, ni: 8715, prod: 8719, sum: 8721, minus: 8722, lowast: 8727, radic: 8730, prop: 8733, infin: 8734, ang: 8736, and: 8743, or: 8744, cap: 8745, cup: 8746, int: 8747, there4: 8756, sim: 8764, cong: 8773, asymp: 8776, ne: 8800, equiv: 8801, le: 8804, ge: 8805, sub: 8834, sup: 8835, nsub: 8836, sube: 8838, supe: 8839, oplus: 8853, otimes: 8855, perp: 8869, sdot: 8901, lceil: 8968, rceil: 8969, lfloor: 8970, rfloor: 8971, lang: 9001, rang: 9002, loz: 9674, spades: 9824, clubs: 9827, hearts: 9829, diams: 9830 }), Object.keys(t.ENTITIES).forEach(function (e) { var r = t.ENTITIES[e], n = "number" === typeof r ? String.fromCharCode(r) : r t.ENTITIES[e] = n }), t.STATE)) t.STATE[t.STATE[C]] = C function k(e, t, r) { e[t] && e[t](r) } function L(e, t, r) { e.textNode && P(e), k(e, t, r) } function P(e) { ;(e.textNode = O(e.opt, e.textNode)), e.textNode && k(e, "ontext", e.textNode), (e.textNode = "") } function O(e, t) { return e.trim && (t = t.trim()), e.normalize && (t = t.replace(/\s+/g, " ")), t } function j(e, t) { return ( P(e), e.trackPosition && (t += "\nLine: " + e.line + "\nColumn: " + e.column + "\nChar: " + e.c), (t = new Error(t)), (e.error = t), k(e, "onerror", t), e ) } function R(e) { return ( e.sawRoot && !e.closedRoot && I(e, "Unclosed root tag"), e.state !== S.BEGIN && e.state !== S.BEGIN_WHITESPACE && e.state !== S.TEXT && j(e, "Unexpected end"), P(e), (e.c = ""), (e.closed = !0), k(e, "onend"), o.call(e, e.strict, e.opt), e ) } function I(e, t) { if ("object" !== typeof e || !(e instanceof o)) throw new Error("bad call to strictFail") e.strict && j(e, t) } function N(e) { e.strict || (e.tagName = e.tagName[e.looseCase]()) var t = e.tags[e.tags.length - 1] || e, r = (e.tag = { name: e.tagName, attributes: {} }) e.opt.xmlns && (r.ns = t.ns), (e.attribList.length = 0), L(e, "onopentagstart", r) } function M(e, t) { var r = e.indexOf(":"), n = r < 0 ? ["", e] : e.split(":"), i = n[0], o = n[1] return ( t && "xmlns" === e && ((i = "xmlns"), (o = "")), { prefix: i, local: o } ) } function D(e) { if ( (e.strict || (e.attribName = e.attribName[e.looseCase]()), -1 !== e.attribList.indexOf(e.attribName) || e.tag.attributes.hasOwnProperty(e.attribName)) ) e.attribName = e.attribValue = "" else { if (e.opt.xmlns) { var t = M(e.attribName, !0), r = t.prefix, n = t.local if ("xmlns" === r) if ("xml" === n && e.attribValue !== h) I(e, "xml: prefix must be bound to " + h + "\nActual: " + e.attribValue) else if ("xmlns" === n && e.attribValue !== m) I(e, "xmlns: prefix must be bound to " + m + "\nActual: " + e.attribValue) else { var i = e.tag, o = e.tags[e.tags.length - 1] || e i.ns === o.ns && (i.ns = Object.create(o.ns)), (i.ns[n] = e.attribValue) } e.attribList.push([e.attribName, e.attribValue]) } else (e.tag.attributes[e.attribName] = e.attribValue), L(e, "onattribute", { name: e.attribName, value: e.attribValue }) e.attribName = e.attribValue = "" } } function B(e, t) { if (e.opt.xmlns) { var r = e.tag, n = M(e.tagName) ;(r.prefix = n.prefix), (r.local = n.local), (r.uri = r.ns[n.prefix] || ""), r.prefix && !r.uri && (I(e, "Unbound namespace prefix: " + JSON.stringify(e.tagName)), (r.uri = n.prefix)) var i = e.tags[e.tags.length - 1] || e r.ns && i.ns !== r.ns && Object.keys(r.ns).forEach(function (t) { L(e, "onopennamespace", { prefix: t, uri: r.ns[t] }) }) for (var o = 0, a = e.attribList.length; o < a; o++) { var s = e.attribList[o], l = s[0], c = s[1], u = M(l, !0), f = u.prefix, p = u.local, d = "" === f ? "" : r.ns[f] || "", h = { name: l, value: c, prefix: f, local: p, uri: d } f && "xmlns" !== f && !d && (I(e, "Unbound namespace prefix: " + JSON.stringify(f)), (h.uri = f)), (e.tag.attributes[l] = h), L(e, "onattribute", h) } e.attribList.length = 0 } ;(e.tag.isSelfClosing = !!t), (e.sawRoot = !0), e.tags.push(e.tag), L(e, "onopentag", e.tag), t || (e.noscript || "script" !== e.tagName.toLowerCase() ? (e.state = S.TEXT) : (e.state = S.SCRIPT), (e.tag = null), (e.tagName = "")), (e.attribName = e.attribValue = ""), (e.attribList.length = 0) } function F(e) { if (!e.tagName) return I(e, "Weird empty close tag."), (e.textNode += ">"), void (e.state = S.TEXT) if (e.script) { if ("script" !== e.tagName) return (e.script += "" + e.tagName + ">"), (e.tagName = ""), void (e.state = S.SCRIPT) L(e, "onscript", e.script), (e.script = "") } var t = e.tags.length, r = e.tagName e.strict || (r = r[e.looseCase]()) var n = r while (t--) { var i = e.tags[t] if (i.name === n) break I(e, "Unexpected close tag") } if (t < 0) return I(e, "Unmatched closing tag: " + e.tagName), (e.textNode += "" + e.tagName + ">"), void (e.state = S.TEXT) e.tagName = r var o = e.tags.length while (o-- > t) { var a = (e.tag = e.tags.pop()) ;(e.tagName = e.tag.name), L(e, "onclosetag", e.tagName) var s = {} for (var l in a.ns) s[l] = a.ns[l] var c = e.tags[e.tags.length - 1] || e e.opt.xmlns && a.ns !== c.ns && Object.keys(a.ns).forEach(function (t) { var r = a.ns[t] L(e, "onclosenamespace", { prefix: t, uri: r }) }) } 0 === t && (e.closedRoot = !0), (e.tagName = e.attribValue = e.attribName = ""), (e.attribList.length = 0), (e.state = S.TEXT) } function U(e) { var t, r = e.entity, n = r.toLowerCase(), i = "" return e.ENTITIES[r] ? e.ENTITIES[r] : e.ENTITIES[n] ? e.ENTITIES[n] : ((r = n), "#" === r.charAt(0) && ("x" === r.charAt(1) ? ((r = r.slice(2)), (t = parseInt(r, 16)), (i = t.toString(16))) : ((r = r.slice(1)), (t = parseInt(r, 10)), (i = t.toString(10)))), (r = r.replace(/^0+/, "")), isNaN(t) || i.toLowerCase() !== r ? (I(e, "Invalid character entity"), "&" + e.entity + ";") : String.fromCodePoint(t)) } function z(e, t) { "<" === t ? ((e.state = S.OPEN_WAKA), (e.startTagPosition = e.position)) : x(t) || (I(e, "Non-whitespace before first tag."), (e.textNode = t), (e.state = S.TEXT)) } function q(e, t) { var r = "" return t < e.length && (r = e.charAt(t)), r } function G(e) { var t = this if (this.error) throw this.error if (t.closed) return j(t, "Cannot write after close. Assign an onready handler.") if (null === e) return R(t) "object" === typeof e && (e = e.toString()) var r = 0, n = "" while (1) { if (((n = q(e, r++)), (t.c = n), !n)) break switch ((t.trackPosition && (t.position++, "\n" === n ? (t.line++, (t.column = 0)) : t.column++), t.state)) { case S.BEGIN: if (((t.state = S.BEGIN_WHITESPACE), "\ufeff" === n)) continue z(t, n) continue case S.BEGIN_WHITESPACE: z(t, n) continue case S.TEXT: if (t.sawRoot && !t.closedRoot) { var i = r - 1 while (n && "<" !== n && "&" !== n) (n = q(e, r++)), n && t.trackPosition && (t.position++, "\n" === n ? (t.line++, (t.column = 0)) : t.column++) t.textNode += e.substring(i, r - 1) } "<" !== n || (t.sawRoot && t.closedRoot && !t.strict) ? (x(n) || (t.sawRoot && !t.closedRoot) || I(t, "Text data outside of root node."), "&" === n ? (t.state = S.TEXT_ENTITY) : (t.textNode += n)) : ((t.state = S.OPEN_WAKA), (t.startTagPosition = t.position)) continue case S.SCRIPT: "<" === n ? (t.state = S.SCRIPT_ENDING) : (t.script += n) continue case S.SCRIPT_ENDING: "/" === n ? (t.state = S.CLOSE_TAG) : ((t.script += "<" + n), (t.state = S.SCRIPT)) continue case S.OPEN_WAKA: if ("!" === n) (t.state = S.SGML_DECL), (t.sgmlDecl = "") else if (x(n)); else if (T(y, n)) (t.state = S.OPEN_TAG), (t.tagName = n) else if ("/" === n) (t.state = S.CLOSE_TAG), (t.tagName = "") else if ("?" === n) (t.state = S.PROC_INST), (t.procInstName = t.procInstBody = "") else { if ((I(t, "Unencoded <"), t.startTagPosition + 1 < t.position)) { var o = t.position - t.startTagPosition n = new Array(o).join(" ") + n } ;(t.textNode += "<" + n), (t.state = S.TEXT) } continue case S.SGML_DECL: ;(t.sgmlDecl + n).toUpperCase() === p ? (L(t, "onopencdata"), (t.state = S.CDATA), (t.sgmlDecl = ""), (t.cdata = "")) : t.sgmlDecl + n === "--" ? ((t.state = S.COMMENT), (t.comment = ""), (t.sgmlDecl = "")) : (t.sgmlDecl + n).toUpperCase() === d ? ((t.state = S.DOCTYPE), (t.doctype || t.sawRoot) && I(t, "Inappropriately located doctype declaration"), (t.doctype = ""), (t.sgmlDecl = "")) : ">" === n ? (L(t, "onsgmldeclaration", t.sgmlDecl), (t.sgmlDecl = ""), (t.state = S.TEXT)) : A(n) ? ((t.state = S.SGML_DECL_QUOTED), (t.sgmlDecl += n)) : (t.sgmlDecl += n) continue case S.SGML_DECL_QUOTED: n === t.q && ((t.state = S.SGML_DECL), (t.q = "")), (t.sgmlDecl += n) continue case S.DOCTYPE: ">" === n ? ((t.state = S.TEXT), L(t, "ondoctype", t.doctype), (t.doctype = !0)) : ((t.doctype += n), "[" === n ? (t.state = S.DOCTYPE_DTD) : A(n) && ((t.state = S.DOCTYPE_QUOTED), (t.q = n))) continue case S.DOCTYPE_QUOTED: ;(t.doctype += n), n === t.q && ((t.q = ""), (t.state = S.DOCTYPE)) continue case S.DOCTYPE_DTD: ;(t.doctype += n), "]" === n ? (t.state = S.DOCTYPE) : A(n) && ((t.state = S.DOCTYPE_DTD_QUOTED), (t.q = n)) continue case S.DOCTYPE_DTD_QUOTED: ;(t.doctype += n), n === t.q && ((t.state = S.DOCTYPE_DTD), (t.q = "")) continue case S.COMMENT: "-" === n ? (t.state = S.COMMENT_ENDING) : (t.comment += n) continue case S.COMMENT_ENDING: "-" === n ? ((t.state = S.COMMENT_ENDED), (t.comment = O(t.opt, t.comment)), t.comment && L(t, "oncomment", t.comment), (t.comment = "")) : ((t.comment += "-" + n), (t.state = S.COMMENT)) continue case S.COMMENT_ENDED: ">" !== n ? (I(t, "Malformed comment"), (t.comment += "--" + n), (t.state = S.COMMENT)) : (t.state = S.TEXT) continue case S.CDATA: "]" === n ? (t.state = S.CDATA_ENDING) : (t.cdata += n) continue case S.CDATA_ENDING: "]" === n ? (t.state = S.CDATA_ENDING_2) : ((t.cdata += "]" + n), (t.state = S.CDATA)) continue case S.CDATA_ENDING_2: ">" === n ? (t.cdata && L(t, "oncdata", t.cdata), L(t, "onclosecdata"), (t.cdata = ""), (t.state = S.TEXT)) : "]" === n ? (t.cdata += "]") : ((t.cdata += "]]" + n), (t.state = S.CDATA)) continue case S.PROC_INST: "?" === n ? (t.state = S.PROC_INST_ENDING) : x(n) ? (t.state = S.PROC_INST_BODY) : (t.procInstName += n) continue case S.PROC_INST_BODY: if (!t.procInstBody && x(n)) continue "?" === n ? (t.state = S.PROC_INST_ENDING) : (t.procInstBody += n) continue case S.PROC_INST_ENDING: ">" === n ? (L(t, "onprocessinginstruction", { name: t.procInstName, body: t.procInstBody }), (t.procInstName = t.procInstBody = ""), (t.state = S.TEXT)) : ((t.procInstBody += "?" + n), (t.state = S.PROC_INST_BODY)) continue case S.OPEN_TAG: T(v, n) ? (t.tagName += n) : (N(t), ">" === n ? B(t) : "/" === n ? (t.state = S.OPEN_TAG_SLASH) : (x(n) || I(t, "Invalid character in tag name"), (t.state = S.ATTRIB))) continue case S.OPEN_TAG_SLASH: ">" === n ? (B(t, !0), F(t)) : (I(t, "Forward-slash in opening tag not followed by >"), (t.state = S.ATTRIB)) continue case S.ATTRIB: if (x(n)) continue ">" === n ? B(t) : "/" === n ? (t.state = S.OPEN_TAG_SLASH) : T(y, n) ? ((t.attribName = n), (t.attribValue = ""), (t.state = S.ATTRIB_NAME)) : I(t, "Invalid attribute name") continue case S.ATTRIB_NAME: "=" === n ? (t.state = S.ATTRIB_VALUE) : ">" === n ? (I(t, "Attribute without value"), (t.attribValue = t.attribName), D(t), B(t)) : x(n) ? (t.state = S.ATTRIB_NAME_SAW_WHITE) : T(v, n) ? (t.attribName += n) : I(t, "Invalid attribute name") continue case S.ATTRIB_NAME_SAW_WHITE: if ("=" === n) t.state = S.ATTRIB_VALUE else { if (x(n)) continue I(t, "Attribute without value"), (t.tag.attributes[t.attribName] = ""), (t.attribValue = ""), L(t, "onattribute", { name: t.attribName, value: "" }), (t.attribName = ""), ">" === n ? B(t) : T(y, n) ? ((t.attribName = n), (t.state = S.ATTRIB_NAME)) : (I(t, "Invalid attribute name"), (t.state = S.ATTRIB)) } continue case S.ATTRIB_VALUE: if (x(n)) continue A(n) ? ((t.q = n), (t.state = S.ATTRIB_VALUE_QUOTED)) : (I(t, "Unquoted attribute value"), (t.state = S.ATTRIB_VALUE_UNQUOTED), (t.attribValue = n)) continue case S.ATTRIB_VALUE_QUOTED: if (n !== t.q) { "&" === n ? (t.state = S.ATTRIB_VALUE_ENTITY_Q) : (t.attribValue += n) continue } D(t), (t.q = ""), (t.state = S.ATTRIB_VALUE_CLOSED) continue case S.ATTRIB_VALUE_CLOSED: x(n) ? (t.state = S.ATTRIB) : ">" === n ? B(t) : "/" === n ? (t.state = S.OPEN_TAG_SLASH) : T(y, n) ? (I(t, "No whitespace between attributes"), (t.attribName = n), (t.attribValue = ""), (t.state = S.ATTRIB_NAME)) : I(t, "Invalid attribute name") continue case S.ATTRIB_VALUE_UNQUOTED: if (!_(n)) { "&" === n ? (t.state = S.ATTRIB_VALUE_ENTITY_U) : (t.attribValue += n) continue } D(t), ">" === n ? B(t) : (t.state = S.ATTRIB) continue case S.CLOSE_TAG: if (t.tagName) ">" === n ? F(t) : T(v, n) ? (t.tagName += n) : t.script ? ((t.script += "" + t.tagName), (t.tagName = ""), (t.state = S.SCRIPT)) : (x(n) || I(t, "Invalid tagname in closing tag"), (t.state = S.CLOSE_TAG_SAW_WHITE)) else { if (x(n)) continue E(y, n) ? t.script ? ((t.script += "" + n), (t.state = S.SCRIPT)) : I(t, "Invalid tagname in closing tag.") : (t.tagName = n) } continue case S.CLOSE_TAG_SAW_WHITE: if (x(n)) continue ">" === n ? F(t) : I(t, "Invalid characters in closing tag") continue case S.TEXT_ENTITY: case S.ATTRIB_VALUE_ENTITY_Q: case S.ATTRIB_VALUE_ENTITY_U: var s, l switch (t.state) { case S.TEXT_ENTITY: ;(s = S.TEXT), (l = "textNode") break case S.ATTRIB_VALUE_ENTITY_Q: ;(s = S.ATTRIB_VALUE_QUOTED), (l = "attribValue") break case S.ATTRIB_VALUE_ENTITY_U: ;(s = S.ATTRIB_VALUE_UNQUOTED), (l = "attribValue") break } ";" === n ? ((t[l] += U(t)), (t.entity = ""), (t.state = s)) : T(t.entity.length ? w : b, n) ? (t.entity += n) : (I(t, "Invalid character in entity name"), (t[l] += "&" + t.entity + n), (t.entity = ""), (t.state = s)) continue default: throw new Error(t, "Unknown state: " + t.state) } } return t.position >= t.bufferCheckPosition && a(t), t } /*! http://mths.be/fromcodepoint v0.1.0 by @mathias */ ;(S = t.STATE), String.fromCodePoint || (function () { var e = String.fromCharCode, t = Math.floor, r = function () { var r, n, i = 16384, o = [], a = -1, s = arguments.length if (!s) return "" var l = "" while (++a < s) { var c = Number(arguments[a]) if (!isFinite(c) || c < 0 || c > 1114111 || t(c) !== c) throw RangeError("Invalid code point: " + c) c <= 65535 ? o.push(c) : ((c -= 65536), (r = 55296 + (c >> 10)), (n = (c % 1024) + 56320), o.push(r, n)), (a + 1 === s || o.length > i) && ((l += e.apply(null, o)), (o.length = 0)) } return l } Object.defineProperty ? Object.defineProperty(String, "fromCodePoint", { value: r, configurable: !0, writable: !0 }) : (String.fromCodePoint = r) })() })(t) }).call(this, r("b639").Buffer) }, "342f": function (e, t, r) { var n = r("d066") e.exports = n("navigator", "userAgent") || "" }, "35a1": function (e, t, r) { var n = r("f5df"), i = r("3f8c"), o = r("b622"), a = o("iterator") e.exports = function (e) { if (void 0 != e) return e[a] || e["@@iterator"] || i[n(e)] } }, "37e8": function (e, t, r) { var n = r("83ab"), i = r("9bf2"), o = r("825a"), a = r("df75") e.exports = n ? Object.defineProperties : function (e, t) { o(e) var r, n = a(t), s = n.length, l = 0 while (s > l) i.f(e, (r = n[l++]), t[r]) return e } }, "3a7c": function (e, t, r) { function n(e) { return Array.isArray ? Array.isArray(e) : "[object Array]" === y(e) } function i(e) { return "boolean" === typeof e } function o(e) { return null === e } function a(e) { return null == e } function s(e) { return "number" === typeof e } function l(e) { return "string" === typeof e } function c(e) { return "symbol" === typeof e } function u(e) { return void 0 === e } function f(e) { return "[object RegExp]" === y(e) } function p(e) { return "object" === typeof e && null !== e } function d(e) { return "[object Date]" === y(e) } function h(e) { return "[object Error]" === y(e) || e instanceof Error } function m(e) { return "function" === typeof e } function g(e) { return ( null === e || "boolean" === typeof e || "number" === typeof e || "string" === typeof e || "symbol" === typeof e || "undefined" === typeof e ) } function y(e) { return Object.prototype.toString.call(e) } ;(t.isArray = n), (t.isBoolean = i), (t.isNull = o), (t.isNullOrUndefined = a), (t.isNumber = s), (t.isString = l), (t.isSymbol = c), (t.isUndefined = u), (t.isRegExp = f), (t.isObject = p), (t.isDate = d), (t.isError = h), (t.isFunction = m), (t.isPrimitive = g), (t.isBuffer = r("b639").Buffer.isBuffer) }, "3bbe": function (e, t, r) { var n = r("861d") e.exports = function (e) { if (!n(e) && null !== e) throw TypeError("Can't set " + String(e) + " as a prototype") return e } }, "3ca3": function (e, t, r) { "use strict" var n = r("6547").charAt, i = r("577e"), o = r("69f3"), a = r("7dd0"), s = "String Iterator", l = o.set, c = o.getterFor(s) a( String, "String", function (e) { l(this, { type: s, string: i(e), index: 0 }) }, function () { var e, t = c(this), r = t.string, i = t.index return i >= r.length ? { value: void 0, done: !0 } : ((e = n(r, i)), (t.index += e.length), { value: e, done: !1 }) } ) }, "3f8c": function (e, t) { e.exports = {} }, "3fb5": function (e, t) { "function" === typeof Object.create ? (e.exports = function (e, t) { t && ((e.super_ = t), (e.prototype = Object.create(t.prototype, { constructor: { value: e, enumerable: !1, writable: !0, configurable: !0 } }))) }) : (e.exports = function (e, t) { if (t) { e.super_ = t var r = function () {} ;(r.prototype = t.prototype), (e.prototype = new r()), (e.prototype.constructor = e) } }) }, "428f": function (e, t, r) { var n = r("da84") e.exports = n }, "429b": function (e, t, r) { e.exports = r("faa1").EventEmitter }, 4362: function (e, t, r) { ;(t.nextTick = function (e) { var t = Array.prototype.slice.call(arguments) t.shift(), setTimeout(function () { e.apply(null, t) }, 0) }), (t.platform = t.arch = t.execPath = t.title = "browser"), (t.pid = 1), (t.browser = !0), (t.env = {}), (t.argv = []), (t.binding = function (e) { throw new Error("No such module. (Possibly not yet loaded)") }), (function () { var e, n = "/" ;(t.cwd = function () { return n }), (t.chdir = function (t) { e || (e = r("df7c")), (n = e.resolve(t, n)) }) })(), (t.exit = t.kill = t.umask = t.dlopen = t.uptime = t.memoryUsage = t.uvCounters = function () {}), (t.features = {}) }, "44ad": function (e, t, r) { var n = r("d039"), i = r("c6b6"), o = "".split e.exports = n(function () { return !Object("z").propertyIsEnumerable(0) }) ? function (e) { return "String" == i(e) ? o.call(e, "") : Object(e) } : Object }, "44d2": function (e, t, r) { var n = r("b622"), i = r("7c73"), o = r("9bf2"), a = n("unscopables"), s = Array.prototype void 0 == s[a] && o.f(s, a, { configurable: !0, value: i(null) }), (e.exports = function (e) { s[a][e] = !0 }) }, "44e7": function (e, t, r) { var n = r("861d"), i = r("c6b6"), o = r("b622"), a = o("match") e.exports = function (e) { var t return n(e) && (void 0 !== (t = e[a]) ? !!t : "RegExp" == i(e)) } }, 4681: function (e, t, r) { "use strict" var n = r("966d") function i(e, t) { var r = this, i = this._readableState && this._readableState.destroyed, o = this._writableState && this._writableState.destroyed return i || o ? (t ? t(e) : !e || (this._writableState && this._writableState.errorEmitted) || n.nextTick(a, this, e), this) : (this._readableState && (this._readableState.destroyed = !0), this._writableState && (this._writableState.destroyed = !0), this._destroy(e || null, function (e) { !t && e ? (n.nextTick(a, r, e), r._writableState && (r._writableState.errorEmitted = !0)) : t && t(e) }), this) } function o() { this._readableState && ((this._readableState.destroyed = !1), (this._readableState.reading = !1), (this._readableState.ended = !1), (this._readableState.endEmitted = !1)), this._writableState && ((this._writableState.destroyed = !1), (this._writableState.ended = !1), (this._writableState.ending = !1), (this._writableState.finished = !1), (this._writableState.errorEmitted = !1)) } function a(e, t) { e.emit("error", t) } e.exports = { destroy: i, undestroy: o } }, 4840: function (e, t, r) { var n = r("825a"), i = r("1c0b"), o = r("b622"), a = o("species") e.exports = function (e, t) { var r, o = n(e).constructor return void 0 === o || void 0 == (r = n(o)[a]) ? t : i(r) } }, "485a": function (e, t, r) { var n = r("861d") e.exports = function (e, t) { var r, i if ("string" === t && "function" == typeof (r = e.toString) && !n((i = r.call(e)))) return i if ("function" == typeof (r = e.valueOf) && !n((i = r.call(e)))) return i if ("string" !== t && "function" == typeof (r = e.toString) && !n((i = r.call(e)))) return i throw TypeError("Can't convert object to primitive value") } }, 4930: function (e, t, r) { var n = r("2d00"), i = r("d039") e.exports = !!Object.getOwnPropertySymbols && !i(function () { var e = Symbol() return !String(e) || !(Object(e) instanceof Symbol) || (!Symbol.sham && n && n < 41) }) }, "493b": function (e, t, r) { ;(function (t) { var n = r("cef9") e.exports = function (e, r) { e instanceof t && (e = e.toString()) var i = null if ("string" === typeof e) try { i = JSON.parse(e) } catch (o) { throw new Error("The JSON structure is invalid") } else i = e return n(i, r) } }).call(this, r("b639").Buffer) }, "498a": function (e, t, r) { "use strict" var n = r("23e7"), i = r("58a8").trim, o = r("c8d2") n( { target: "String", proto: !0, forced: o("trim") }, { trim: function () { return i(this) } } ) }, "4d64": function (e, t, r) { var n = r("fc6a"), i = r("50c4"), o = r("23cb"), a = function (e) { return function (t, r, a) { var s, l = n(t), c = i(l.length), u = o(a, c) if (e && r != r) { while (c > u) if (((s = l[u++]), s != s)) return !0 } else for (; c > u; u++) if ((e || u in l) && l[u] === r) return e || u || 0 return !e && -1 } } e.exports = { includes: a(!0), indexOf: a(!1) } }, "4de4": function (e, t, r) { "use strict" var n = r("23e7"), i = r("b727").filter, o = r("1dde"), a = o("filter") n( { target: "Array", proto: !0, forced: !a }, { filter: function (e) { return i(this, e, arguments.length > 1 ? arguments[1] : void 0) } } ) }, "4df4": function (e, t, r) { "use strict" var n = r("0366"), i = r("7b0b"), o = r("9bdd"), a = r("e95a"), s = r("50c4"), l = r("8418"), c = r("9a1f"), u = r("35a1") e.exports = function (e) { var t, r, f, p, d, h, m = i(e), g = "function" == typeof this ? this : Array, y = arguments.length, v = y > 1 ? arguments[1] : void 0, b = void 0 !== v, w = u(m), x = 0 if ((b && (v = n(v, y > 2 ? arguments[2] : void 0, 2)), void 0 == w || (g == Array && a(w)))) for (t = s(m.length), r = new g(t); t > x; x++) (h = b ? v(m[x], x) : m[x]), l(r, x, h) else for (p = c(m, w), d = p.next, r = new g(); !(f = d.call(p)).done; x++) (h = b ? o(p, v, [f.value, x], !0) : f.value), l(r, x, h) return (r.length = x), r } }, "50c4": function (e, t, r) { var n = r("a691"), i = Math.min e.exports = function (e) { return e > 0 ? i(n(e), 9007199254740991) : 0 } }, 5135: function (e, t, r) { var n = r("7b0b"), i = {}.hasOwnProperty e.exports = Object.hasOwn || function (e, t) { return i.call(n(e), t) } }, 5319: function (e, t, r) { "use strict" var n = r("d784"), i = r("d039"), o = r("825a"), a = r("a691"), s = r("50c4"), l = r("577e"), c = r("1d80"), u = r("8aa5"), f = r("0cb2"), p = r("14c3"), d = r("b622"), h = d("replace"), m = Math.max, g = Math.min, y = function (e) { return void 0 === e ? e : String(e) }, v = (function () { return "$0" === "a".replace(/./, "$0") })(), b = (function () { return !!/./[h] && "" === /./[h]("a", "$0") })(), w = !i(function () { var e = /./ return ( (e.exec = function () { var e = [] return ( (e.groups = { a: "7" }), e ) }), "7" !== "".replace(e, "$") ) }) n( "replace", function (e, t, r) { var n = b ? "$" : "$0" return [ function (e, r) { var n = c(this), i = void 0 == e ? void 0 : e[h] return void 0 !== i ? i.call(e, n, r) : t.call(l(n), e, r) }, function (e, i) { var c = o(this), d = l(e) if ("string" === typeof i && -1 === i.indexOf(n) && -1 === i.indexOf("$<")) { var h = r(t, c, d, i) if (h.done) return h.value } var v = "function" === typeof i v || (i = l(i)) var b = c.global if (b) { var w = c.unicode c.lastIndex = 0 } var x = [] while (1) { var A = p(c, d) if (null === A) break if ((x.push(A), !b)) break var _ = l(A[0]) "" === _ && (c.lastIndex = u(d, s(c.lastIndex), w)) } for (var T = "", E = 0, S = 0; S < x.length; S++) { A = x[S] for (var C = l(A[0]), k = m(g(a(A.index), d.length), 0), L = [], P = 1; P < A.length; P++) L.push(y(A[P])) var O = A.groups if (v) { var j = [C].concat(L, k, d) void 0 !== O && j.push(O) var R = l(i.apply(void 0, j)) } else R = f(C, d, k, L, O, i) k >= E && ((T += d.slice(E, k) + R), (E = k + C.length)) } return T + d.slice(E) } ] }, !w || !v || b ) }, 5692: function (e, t, r) { var n = r("c430"), i = r("c6cd") ;(e.exports = function (e, t) { return i[e] || (i[e] = void 0 !== t ? t : {}) })("versions", []).push({ version: "3.17.2", mode: n ? "pure" : "global", copyright: "© 2021 Denis Pushkarev (zloirock.ru)" }) }, "56ef": function (e, t, r) { var n = r("d066"), i = r("241c"), o = r("7418"), a = r("825a") e.exports = n("Reflect", "ownKeys") || function (e) { var t = i.f(a(e)), r = o.f return r ? t.concat(r(e)) : t } }, "577e": function (e, t, r) { var n = r("d9b5") e.exports = function (e) { if (n(e)) throw TypeError("Cannot convert a Symbol value to a string") return String(e) } }, 5899: function (e, t) { e.exports = "\t\n\v\f\r \u2028\u2029\ufeff" }, "58a8": function (e, t, r) { var n = r("1d80"), i = r("577e"), o = r("5899"), a = "[" + o + "]", s = RegExp("^" + a + a + "*"), l = RegExp(a + a + "*$"), c = function (e) { return function (t) { var r = i(n(t)) return 1 & e && (r = r.replace(s, "")), 2 & e && (r = r.replace(l, "")), r } } e.exports = { start: c(1), end: c(2), trim: c(3) } }, "5a34": function (e, t, r) { var n = r("44e7") e.exports = function (e) { if (n(e)) throw TypeError("The method doesn't accept regular expressions") return e } }, "5c6c": function (e, t) { e.exports = function (e, t) { return { enumerable: !(1 & e), configurable: !(2 & e), writable: !(4 & e), value: t } } }, "5e1a": function (e, t, r) { "use strict" function n(e, t) { if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function") } var i = r("a8f0").Buffer, o = r(3) function a(e, t, r) { e.copy(t, r) } ;(e.exports = (function () { function e() { n(this, e), (this.head = null), (this.tail = null), (this.length = 0) } return ( (e.prototype.push = function (e) { var t = { data: e, next: null } this.length > 0 ? (this.tail.next = t) : (this.head = t), (this.tail = t), ++this.length }), (e.prototype.unshift = function (e) { var t = { data: e, next: this.head } 0 === this.length && (this.tail = t), (this.head = t), ++this.length }), (e.prototype.shift = function () { if (0 !== this.length) { var e = this.head.data return 1 === this.length ? (this.head = this.tail = null) : (this.head = this.head.next), --this.length, e } }), (e.prototype.clear = function () { ;(this.head = this.tail = null), (this.length = 0) }), (e.prototype.join = function (e) { if (0 === this.length) return "" var t = this.head, r = "" + t.data while ((t = t.next)) r += e + t.data return r }), (e.prototype.concat = function (e) { if (0 === this.length) return i.alloc(0) if (1 === this.length) return this.head.data var t = i.allocUnsafe(e >>> 0), r = this.head, n = 0 while (r) a(r.data, t, n), (n += r.data.length), (r = r.next) return t }), e ) })()), o && o.inspect && o.inspect.custom && (e.exports.prototype[o.inspect.custom] = function () { var e = o.inspect({ length: this.length }) return this.constructor.name + " " + e }) }, "62e4": function (e, t) { e.exports = function (e) { return ( e.webpackPolyfill || ((e.deprecate = function () {}), (e.paths = []), e.children || (e.children = []), Object.defineProperty(e, "loaded", { enumerable: !0, get: function () { return e.l } }), Object.defineProperty(e, "id", { enumerable: !0, get: function () { return e.i } }), (e.webpackPolyfill = 1)), e ) } }, 6547: function (e, t, r) { var n = r("a691"), i = r("577e"), o = r("1d80"), a = function (e) { return function (t, r) { var a, s, l = i(o(t)), c = n(r), u = l.length return c < 0 || c >= u ? e ? "" : void 0 : ((a = l.charCodeAt(c)), a < 55296 || a > 56319 || c + 1 === u || (s = l.charCodeAt(c + 1)) < 56320 || s > 57343 ? e ? l.charAt(c) : a : e ? l.slice(c, c + 2) : s - 56320 + ((a - 55296) << 10) + 65536) } } e.exports = { codeAt: a(!1), charAt: a(!0) } }, "65f0": function (e, t, r) { var n = r("0b42") e.exports = function (e, t) { return new (n(e))(0 === t ? 0 : t) } }, "69f3": function (e, t, r) { var n, i, o, a = r("7f9a"), s = r("da84"), l = r("861d"), c = r("9112"), u = r("5135"), f = r("c6cd"), p = r("f772"), d = r("d012"), h = "Object already initialized", m = s.WeakMap, g = function (e) { return o(e) ? i(e) : n(e, {}) }, y = function (e) { return function (t) { var r if (!l(t) || (r = i(t)).type !== e) throw TypeError("Incompatible receiver, " + e + " required") return r } } if (a || f.state) { var v = f.state || (f.state = new m()), b = v.get, w = v.has, x = v.set ;(n = function (e, t) { if (w.call(v, e)) throw new TypeError(h) return (t.facade = e), x.call(v, e, t), t }), (i = function (e) { return b.call(v, e) || {} }), (o = function (e) { return w.call(v, e) }) } else { var A = p("state") ;(d[A] = !0), (n = function (e, t) { if (u(e, A)) throw new TypeError(h) return (t.facade = e), c(e, A, t), t }), (i = function (e) { return u(e, A) ? e[A] : {} }), (o = function (e) { return u(e, A) }) } e.exports = { set: n, get: i, has: o, enforce: g, getterFor: y } }, "6eeb": function (e, t, r) { var n = r("da84"), i = r("9112"), o = r("5135"), a = r("ce4e"), s = r("8925"), l = r("69f3"), c = l.get, u = l.enforce, f = String(String).split("String") ;(e.exports = function (e, t, r, s) { var l, c = !!s && !!s.unsafe, p = !!s && !!s.enumerable, d = !!s && !!s.noTargetGet "function" == typeof r && ("string" != typeof t || o(r, "name") || i(r, "name", t), (l = u(r)), l.source || (l.source = f.join("string" == typeof t ? t : ""))), e !== n ? (c ? !d && e[t] && (p = !0) : delete e[t], p ? (e[t] = r) : i(e, t, r)) : p ? (e[t] = r) : a(t, r) })(Function.prototype, "toString", function () { return ("function" == typeof this && c(this).source) || s(this) }) }, 7418: function (e, t) { t.f = Object.getOwnPropertySymbols }, "746f": function (e, t, r) { var n = r("428f"), i = r("5135"), o = r("e538"), a = r("9bf2").f e.exports = function (e) { var t = n.Symbol || (n.Symbol = {}) i(t, e) || a(t, e, { value: o.f(e) }) } }, "780f": function (e, t, r) { "use strict" e.exports = o var n = r("27bf"), i = Object.create(r("3a7c")) function o(e) { if (!(this instanceof o)) return new o(e) n.call(this, e) } ;(i.inherits = r("3fb5")), i.inherits(o, n), (o.prototype._transform = function (e, t, r) { r(null, e) }) }, 7839: function (e, t) { e.exports = ["constructor", "hasOwnProperty", "isPrototypeOf", "propertyIsEnumerable", "toLocaleString", "toString", "valueOf"] }, "7b0b": function (e, t, r) { var n = r("1d80") e.exports = function (e) { return Object(n(e)) } }, "7c73": function (e, t, r) { var n, i = r("825a"), o = r("37e8"), a = r("7839"), s = r("d012"), l = r("1be4"), c = r("cc12"), u = r("f772"), f = ">", p = "<", d = "prototype", h = "script", m = u("IE_PROTO"), g = function () {}, y = function (e) { return p + h + f + e + p + "/" + h + f }, v = function (e) { e.write(y("")), e.close() var t = e.parentWindow.Object return (e = null), t }, b = function () { var e, t = c("iframe"), r = "java" + h + ":" return ( (t.style.display = "none"), l.appendChild(t), (t.src = String(r)), (e = t.contentWindow.document), e.open(), e.write(y("document.F=Object")), e.close(), e.F ) }, w = function () { try { n = new ActiveXObject("htmlfile") } catch (t) {} w = "undefined" != typeof document ? (document.domain && n ? v(n) : b()) : v(n) var e = a.length while (e--) delete w[d][a[e]] return w() } ;(s[m] = !0), (e.exports = Object.create || function (e, t) { var r return null !== e ? ((g[d] = i(e)), (r = new g()), (g[d] = null), (r[m] = e)) : (r = w()), void 0 === t ? r : o(r, t) }) }, "7d72": function (e, t, r) { "use strict" var n = r("8707").Buffer, i = n.isEncoding || function (e) { switch (((e = "" + e), e && e.toLowerCase())) { case "hex": case "utf8": case "utf-8": case "ascii": case "binary": case "base64": case "ucs2": case "ucs-2": case "utf16le": case "utf-16le": case "raw": return !0 default: return !1 } } function o(e) { if (!e) return "utf8" var t while (1) switch (e) { case "utf8": case "utf-8": return "utf8" case "ucs2": case "ucs-2": case "utf16le": case "utf-16le": return "utf16le" case "latin1": case "binary": return "latin1" case "base64": case "ascii": case "hex": return e default: if (t) return ;(e = ("" + e).toLowerCase()), (t = !0) } } function a(e) { var t = o(e) if ("string" !== typeof t && (n.isEncoding === i || !i(e))) throw new Error("Unknown encoding: " + e) return t || e } function s(e) { var t switch (((this.encoding = a(e)), this.encoding)) { case "utf16le": ;(this.text = h), (this.end = m), (t = 4) break case "utf8": ;(this.fillLast = f), (t = 4) break case "base64": ;(this.text = g), (this.end = y), (t = 3) break default: return (this.write = v), void (this.end = b) } ;(this.lastNeed = 0), (this.lastTotal = 0), (this.lastChar = n.allocUnsafe(t)) } function l(e) { return e <= 127 ? 0 : e >> 5 === 6 ? 2 : e >> 4 === 14 ? 3 : e >> 3 === 30 ? 4 : e >> 6 === 2 ? -1 : -2 } function c(e, t, r) { var n = t.length - 1 if (n < r) return 0 var i = l(t[n]) return i >= 0 ? (i > 0 && (e.lastNeed = i - 1), i) : --n < r || -2 === i ? 0 : ((i = l(t[n])), i >= 0 ? (i > 0 && (e.lastNeed = i - 2), i) : --n < r || -2 === i ? 0 : ((i = l(t[n])), i >= 0 ? (i > 0 && (2 === i ? (i = 0) : (e.lastNeed = i - 3)), i) : 0)) } function u(e, t, r) { if (128 !== (192 & t[0])) return (e.lastNeed = 0), "�" if (e.lastNeed > 1 && t.length > 1) { if (128 !== (192 & t[1])) return (e.lastNeed = 1), "�" if (e.lastNeed > 2 && t.length > 2 && 128 !== (192 & t[2])) return (e.lastNeed = 2), "�" } } function f(e) { var t = this.lastTotal - this.lastNeed, r = u(this, e, t) return void 0 !== r ? r : this.lastNeed <= e.length ? (e.copy(this.lastChar, t, 0, this.lastNeed), this.lastChar.toString(this.encoding, 0, this.lastTotal)) : (e.copy(this.lastChar, t, 0, e.length), void (this.lastNeed -= e.length)) } function p(e, t) { var r = c(this, e, t) if (!this.lastNeed) return e.toString("utf8", t) this.lastTotal = r var n = e.length - (r - this.lastNeed) return e.copy(this.lastChar, 0, n), e.toString("utf8", t, n) } function d(e) { var t = e && e.length ? this.write(e) : "" return this.lastNeed ? t + "�" : t } function h(e, t) { if ((e.length - t) % 2 === 0) { var r = e.toString("utf16le", t) if (r) { var n = r.charCodeAt(r.length - 1) if (n >= 55296 && n <= 56319) return ( (this.lastNeed = 2), (this.lastTotal = 4), (this.lastChar[0] = e[e.length - 2]), (this.lastChar[1] = e[e.length - 1]), r.slice(0, -1) ) } return r } return (this.lastNeed = 1), (this.lastTotal = 2), (this.lastChar[0] = e[e.length - 1]), e.toString("utf16le", t, e.length - 1) } function m(e) { var t = e && e.length ? this.write(e) : "" if (this.lastNeed) { var r = this.lastTotal - this.lastNeed return t + this.lastChar.toString("utf16le", 0, r) } return t } function g(e, t) { var r = (e.length - t) % 3 return 0 === r ? e.toString("base64", t) : ((this.lastNeed = 3 - r), (this.lastTotal = 3), 1 === r ? (this.lastChar[0] = e[e.length - 1]) : ((this.lastChar[0] = e[e.length - 2]), (this.lastChar[1] = e[e.length - 1])), e.toString("base64", t, e.length - r)) } function y(e) { var t = e && e.length ? this.write(e) : "" return this.lastNeed ? t + this.lastChar.toString("base64", 0, 3 - this.lastNeed) : t } function v(e) { return e.toString(this.encoding) } function b(e) { return e && e.length ? this.write(e) : "" } ;(t.StringDecoder = s), (s.prototype.write = function (e) { if (0 === e.length) return "" var t, r if (this.lastNeed) { if (((t = this.fillLast(e)), void 0 === t)) return "" ;(r = this.lastNeed), (this.lastNeed = 0) } else r = 0 return r < e.length ? (t ? t + this.text(e, r) : this.text(e, r)) : t || "" }), (s.prototype.end = d), (s.prototype.text = p), (s.prototype.fillLast = function (e) { if (this.lastNeed <= e.length) return ( e.copy(this.lastChar, this.lastTotal - this.lastNeed, 0, this.lastNeed), this.lastChar.toString(this.encoding, 0, this.lastTotal) ) e.copy(this.lastChar, this.lastTotal - this.lastNeed, 0, e.length), (this.lastNeed -= e.length) }) }, "7db0": function (e, t, r) { "use strict" var n = r("23e7"), i = r("b727").find, o = r("44d2"), a = "find", s = !0 a in [] && Array(1)[a](function () { s = !1 }), n( { target: "Array", proto: !0, forced: s }, { find: function (e) { return i(this, e, arguments.length > 1 ? arguments[1] : void 0) } } ), o(a) }, "7dd0": function (e, t, r) { "use strict" var n = r("23e7"), i = r("9ed3"), o = r("e163"), a = r("d2bb"), s = r("d44e"), l = r("9112"), c = r("6eeb"), u = r("b622"), f = r("c430"), p = r("3f8c"), d = r("ae93"), h = d.IteratorPrototype, m = d.BUGGY_SAFARI_ITERATORS, g = u("iterator"), y = "keys", v = "values", b = "entries", w = function () { return this } e.exports = function (e, t, r, u, d, x, A) { i(r, t, u) var _, T, E, S = function (e) { if (e === d && O) return O if (!m && e in L) return L[e] switch (e) { case y: return function () { return new r(this, e) } case v: return function () { return new r(this, e) } case b: return function () { return new r(this, e) } } return function () { return new r(this) } }, C = t + " Iterator", k = !1, L = e.prototype, P = L[g] || L["@@iterator"] || (d && L[d]), O = (!m && P) || S(d), j = ("Array" == t && L.entries) || P if ( (j && ((_ = o(j.call(new e()))), h !== Object.prototype && _.next && (f || o(_) === h || (a ? a(_, h) : "function" != typeof _[g] && l(_, g, w)), s(_, C, !0, !0), f && (p[C] = w))), d == v && P && P.name !== v && ((k = !0), (O = function () { return P.call(this) })), (f && !A) || L[g] === O || l(L, g, O), (p[t] = O), d) ) if ( ((T = { values: S(v), keys: x ? O : S(y), entries: S(b) }), A) ) for (E in T) (m || k || !(E in L)) && c(L, E, T[E]) else n( { target: t, proto: !0, forced: m || k }, T ) return T } }, "7f9a": function (e, t, r) { var n = r("da84"), i = r("8925"), o = n.WeakMap e.exports = "function" === typeof o && /native code/.test(i(o)) }, "825a": function (e, t, r) { var n = r("861d") e.exports = function (e) { if (!n(e)) throw TypeError(String(e) + " is not an object") return e } }, "83ab": function (e, t, r) { var n = r("d039") e.exports = !n(function () { return ( 7 != Object.defineProperty({}, 1, { get: function () { return 7 } })[1] ) }) }, 8418: function (e, t, r) { "use strict" var n = r("a04b"), i = r("9bf2"), o = r("5c6c") e.exports = function (e, t, r) { var a = n(t) a in e ? i.f(e, a, o(0, r)) : (e[a] = r) } }, "844f": function (e, t, r) { var n, i, o = r("3171"), a = { on: function () {}, parse: function () {} }, s = r("96c1"), l = r("9b12").isArray, c = !0 function u(e) { return ( (n = s.copyOptions(e)), s.ensureFlagExists("ignoreDeclaration", n), s.ensureFlagExists("ignoreInstruction", n), s.ensureFlagExists("ignoreAttributes", n), s.ensureFlagExists("ignoreText", n), s.ensureFlagExists("ignoreComment", n), s.ensureFlagExists("ignoreCdata", n), s.ensureFlagExists("ignoreDoctype", n), s.ensureFlagExists("compact", n), s.ensureFlagExists("alwaysChildren", n), s.ensureFlagExists("addParent", n), s.ensureFlagExists("trim", n), s.ensureFlagExists("nativeType", n), s.ensureFlagExists("nativeTypeAttributes", n), s.ensureFlagExists("sanitize", n), s.ensureFlagExists("instructionHasAttributes", n), s.ensureFlagExists("captureSpacesBetweenElements", n), s.ensureAlwaysArrayExists(n), s.ensureKeyExists("declaration", n), s.ensureKeyExists("instruction", n), s.ensureKeyExists("attributes", n), s.ensureKeyExists("text", n), s.ensureKeyExists("comment", n), s.ensureKeyExists("cdata", n), s.ensureKeyExists("doctype", n), s.ensureKeyExists("type", n), s.ensureKeyExists("name", n), s.ensureKeyExists("elements", n), s.ensureKeyExists("parent", n), s.checkFnExists("doctype", n), s.checkFnExists("instruction", n), s.checkFnExists("cdata", n), s.checkFnExists("comment", n), s.checkFnExists("text", n), s.checkFnExists("instructionName", n), s.checkFnExists("elementName", n), s.checkFnExists("attributeName", n), s.checkFnExists("attributeValue", n), s.checkFnExists("attributes", n), n ) } function f(e) { var t = Number(e) if (!isNaN(t)) return t var r = e.toLowerCase() return "true" === r || ("false" !== r && e) } function p(e, t) { var r if (n.compact) { if ( (!i[n[e + "Key"]] && (l(n.alwaysArray) ? -1 !== n.alwaysArray.indexOf(n[e + "Key"]) : n.alwaysArray) && (i[n[e + "Key"]] = []), i[n[e + "Key"]] && !l(i[n[e + "Key"]]) && (i[n[e + "Key"]] = [i[n[e + "Key"]]]), e + "Fn" in n && "string" === typeof t && (t = n[e + "Fn"](t, i)), "instruction" === e && ("instructionFn" in n || "instructionNameFn" in n)) ) for (r in t) if (t.hasOwnProperty(r)) if ("instructionFn" in n) t[r] = n.instructionFn(t[r], r, i) else { var o = t[r] delete t[r], (t[n.instructionNameFn(r, o, i)] = o) } l(i[n[e + "Key"]]) ? i[n[e + "Key"]].push(t) : (i[n[e + "Key"]] = t) } else { i[n.elementsKey] || (i[n.elementsKey] = []) var a = {} if (((a[n.typeKey] = e), "instruction" === e)) { for (r in t) if (t.hasOwnProperty(r)) break ;(a[n.nameKey] = "instructionNameFn" in n ? n.instructionNameFn(r, t, i) : r), n.instructionHasAttributes ? ((a[n.attributesKey] = t[r][n.attributesKey]), "instructionFn" in n && (a[n.attributesKey] = n.instructionFn(a[n.attributesKey], r, i))) : ("instructionFn" in n && (t[r] = n.instructionFn(t[r], r, i)), (a[n.instructionKey] = t[r])) } else e + "Fn" in n && (t = n[e + "Fn"](t, i)), (a[n[e + "Key"]] = t) n.addParent && (a[n.parentKey] = i), i[n.elementsKey].push(a) } } function d(e) { var t if ( ("attributesFn" in n && e && (e = n.attributesFn(e, i)), (n.trim || "attributeValueFn" in n || "attributeNameFn" in n || n.nativeTypeAttributes) && e) ) for (t in e) if ( e.hasOwnProperty(t) && (n.trim && (e[t] = e[t].trim()), n.nativeTypeAttributes && (e[t] = f(e[t])), "attributeValueFn" in n && (e[t] = n.attributeValueFn(e[t], t, i)), "attributeNameFn" in n) ) { var r = e[t] delete e[t], (e[n.attributeNameFn(t, e[t], i)] = r) } return e } function h(e) { var t = {} if (e.body && ("xml" === e.name.toLowerCase() || n.instructionHasAttributes)) { var r, o = /([\w:-]+)\s*=\s*(?:"([^"]*)"|'([^']*)'|(\w+))\s*/g while (null !== (r = o.exec(e.body))) t[r[1]] = r[2] || r[3] || r[4] t = d(t) } if ("xml" === e.name.toLowerCase()) { if (n.ignoreDeclaration) return ;(i[n.declarationKey] = {}), Object.keys(t).length && (i[n.declarationKey][n.attributesKey] = t), n.addParent && (i[n.declarationKey][n.parentKey] = i) } else { if (n.ignoreInstruction) return n.trim && (e.body = e.body.trim()) var a = {} n.instructionHasAttributes && Object.keys(t).length ? ((a[e.name] = {}), (a[e.name][n.attributesKey] = t)) : (a[e.name] = e.body), p("instruction", a) } } function m(e, t) { var r if ( ("object" === typeof e && ((t = e.attributes), (e = e.name)), (t = d(t)), "elementNameFn" in n && (e = n.elementNameFn(e, i)), n.compact) ) { var o if (((r = {}), !n.ignoreAttributes && t && Object.keys(t).length)) for (o in ((r[n.attributesKey] = {}), t)) t.hasOwnProperty(o) && (r[n.attributesKey][o] = t[o]) !(e in i) && (l(n.alwaysArray) ? -1 !== n.alwaysArray.indexOf(e) : n.alwaysArray) && (i[e] = []), i[e] && !l(i[e]) && (i[e] = [i[e]]), l(i[e]) ? i[e].push(r) : (i[e] = r) } else i[n.elementsKey] || (i[n.elementsKey] = []), (r = {}), (r[n.typeKey] = "element"), (r[n.nameKey] = e), !n.ignoreAttributes && t && Object.keys(t).length && (r[n.attributesKey] = t), n.alwaysChildren && (r[n.elementsKey] = []), i[n.elementsKey].push(r) ;(r[n.parentKey] = i), (i = r) } function g(e) { n.ignoreText || ((e.trim() || n.captureSpacesBetweenElements) && (n.trim && (e = e.trim()), n.nativeType && (e = f(e)), n.sanitize && (e = e.replace(/&/g, "&").replace(//g, ">")), p("text", e))) } function y(e) { n.ignoreComment || (n.trim && (e = e.trim()), p("comment", e)) } function v(e) { var t = i[n.parentKey] n.addParent || delete i[n.parentKey], (i = t) } function b(e) { n.ignoreCdata || (n.trim && (e = e.trim()), p("cdata", e)) } function w(e) { n.ignoreDoctype || ((e = e.replace(/^ /, "")), n.trim && (e = e.trim()), p("doctype", e)) } function x(e) { e.note = e } e.exports = function (e, t) { var r = c ? o.parser(!0, {}) : (r = new a.Parser("UTF-8")), s = {} if ( ((i = s), (n = u(t)), c ? ((r.opt = { strictEntities: !0 }), (r.onopentag = m), (r.ontext = g), (r.oncomment = y), (r.onclosetag = v), (r.onerror = x), (r.oncdata = b), (r.ondoctype = w), (r.onprocessinginstruction = h)) : (r.on("startElement", m), r.on("text", g), r.on("comment", y), r.on("endElement", v), r.on("error", x)), c) ) r.write(e).close() else if (!r.parse(e)) throw new Error("XML parsing error: " + r.getError()) if (s[n.elementsKey]) { var l = s[n.elementsKey] delete s[n.elementsKey], (s[n.elementsKey] = l), delete s.text } return s } }, "84f2": function (e, t, r) { ;(function (t, r) { e.exports = r() })(0, function () { "use strict" function e(e, t) { return ( (t = { exports: {} }), e(t, t.exports), t.exports ) } var t = e(function (e, t) { ;(function (t) { e.exports = t() })(function (e) { var t = function (e, t) { return (e + t) & 4294967295 }, r = ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "a", "b", "c", "d", "e", "f"] function n(e, r, n, i, o, a) { return (r = t(t(r, e), t(i, a))), t((r << o) | (r >>> (32 - o)), n) } function i(e, t, r, i, o, a, s) { return n((t & r) | (~t & i), e, t, o, a, s) } function o(e, t, r, i, o, a, s) { return n((t & i) | (r & ~i), e, t, o, a, s) } function a(e, t, r, i, o, a, s) { return n(t ^ r ^ i, e, t, o, a, s) } function s(e, t, r, i, o, a, s) { return n(r ^ (t | ~i), e, t, o, a, s) } function l(e, r) { var n = e[0], l = e[1], c = e[2], u = e[3] ;(n = i(n, l, c, u, r[0], 7, -680876936)), (u = i(u, n, l, c, r[1], 12, -389564586)), (c = i(c, u, n, l, r[2], 17, 606105819)), (l = i(l, c, u, n, r[3], 22, -1044525330)), (n = i(n, l, c, u, r[4], 7, -176418897)), (u = i(u, n, l, c, r[5], 12, 1200080426)), (c = i(c, u, n, l, r[6], 17, -1473231341)), (l = i(l, c, u, n, r[7], 22, -45705983)), (n = i(n, l, c, u, r[8], 7, 1770035416)), (u = i(u, n, l, c, r[9], 12, -1958414417)), (c = i(c, u, n, l, r[10], 17, -42063)), (l = i(l, c, u, n, r[11], 22, -1990404162)), (n = i(n, l, c, u, r[12], 7, 1804603682)), (u = i(u, n, l, c, r[13], 12, -40341101)), (c = i(c, u, n, l, r[14], 17, -1502002290)), (l = i(l, c, u, n, r[15], 22, 1236535329)), (n = o(n, l, c, u, r[1], 5, -165796510)), (u = o(u, n, l, c, r[6], 9, -1069501632)), (c = o(c, u, n, l, r[11], 14, 643717713)), (l = o(l, c, u, n, r[0], 20, -373897302)), (n = o(n, l, c, u, r[5], 5, -701558691)), (u = o(u, n, l, c, r[10], 9, 38016083)), (c = o(c, u, n, l, r[15], 14, -660478335)), (l = o(l, c, u, n, r[4], 20, -405537848)), (n = o(n, l, c, u, r[9], 5, 568446438)), (u = o(u, n, l, c, r[14], 9, -1019803690)), (c = o(c, u, n, l, r[3], 14, -187363961)), (l = o(l, c, u, n, r[8], 20, 1163531501)), (n = o(n, l, c, u, r[13], 5, -1444681467)), (u = o(u, n, l, c, r[2], 9, -51403784)), (c = o(c, u, n, l, r[7], 14, 1735328473)), (l = o(l, c, u, n, r[12], 20, -1926607734)), (n = a(n, l, c, u, r[5], 4, -378558)), (u = a(u, n, l, c, r[8], 11, -2022574463)), (c = a(c, u, n, l, r[11], 16, 1839030562)), (l = a(l, c, u, n, r[14], 23, -35309556)), (n = a(n, l, c, u, r[1], 4, -1530992060)), (u = a(u, n, l, c, r[4], 11, 1272893353)), (c = a(c, u, n, l, r[7], 16, -155497632)), (l = a(l, c, u, n, r[10], 23, -1094730640)), (n = a(n, l, c, u, r[13], 4, 681279174)), (u = a(u, n, l, c, r[0], 11, -358537222)), (c = a(c, u, n, l, r[3], 16, -722521979)), (l = a(l, c, u, n, r[6], 23, 76029189)), (n = a(n, l, c, u, r[9], 4, -640364487)), (u = a(u, n, l, c, r[12], 11, -421815835)), (c = a(c, u, n, l, r[15], 16, 530742520)), (l = a(l, c, u, n, r[2], 23, -995338651)), (n = s(n, l, c, u, r[0], 6, -198630844)), (u = s(u, n, l, c, r[7], 10, 1126891415)), (c = s(c, u, n, l, r[14], 15, -1416354905)), (l = s(l, c, u, n, r[5], 21, -57434055)), (n = s(n, l, c, u, r[12], 6, 1700485571)), (u = s(u, n, l, c, r[3], 10, -1894986606)), (c = s(c, u, n, l, r[10], 15, -1051523)), (l = s(l, c, u, n, r[1], 21, -2054922799)), (n = s(n, l, c, u, r[8], 6, 1873313359)), (u = s(u, n, l, c, r[15], 10, -30611744)), (c = s(c, u, n, l, r[6], 15, -1560198380)), (l = s(l, c, u, n, r[13], 21, 1309151649)), (n = s(n, l, c, u, r[4], 6, -145523070)), (u = s(u, n, l, c, r[11], 10, -1120210379)), (c = s(c, u, n, l, r[2], 15, 718787259)), (l = s(l, c, u, n, r[9], 21, -343485551)), (e[0] = t(n, e[0])), (e[1] = t(l, e[1])), (e[2] = t(c, e[2])), (e[3] = t(u, e[3])) } function c(e) { var t, r = [] for (t = 0; t < 64; t += 4) r[t >> 2] = e.charCodeAt(t) + (e.charCodeAt(t + 1) << 8) + (e.charCodeAt(t + 2) << 16) + (e.charCodeAt(t + 3) << 24) return r } function u(e) { var t, r = [] for (t = 0; t < 64; t += 4) r[t >> 2] = e[t] + (e[t + 1] << 8) + (e[t + 2] << 16) + (e[t + 3] << 24) return r } function f(e) { var t, r, n, i, o, a, s = e.length, u = [1732584193, -271733879, -1732584194, 271733878] for (t = 64; t <= s; t += 64) l(u, c(e.substring(t - 64, t))) for (e = e.substring(t - 64), r = e.length, n = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], t = 0; t < r; t += 1) n[t >> 2] |= e.charCodeAt(t) << (t % 4 << 3) if (((n[t >> 2] |= 128 << (t % 4 << 3)), t > 55)) for (l(u, n), t = 0; t < 16; t += 1) n[t] = 0 return ( (i = 8 * s), (i = i.toString(16).match(/(.*?)(.{0,8})$/)), (o = parseInt(i[2], 16)), (a = parseInt(i[1], 16) || 0), (n[14] = o), (n[15] = a), l(u, n), u ) } function p(e) { var t, r, n, i, o, a, s = e.length, c = [1732584193, -271733879, -1732584194, 271733878] for (t = 64; t <= s; t += 64) l(c, u(e.subarray(t - 64, t))) for ( e = t - 64 < s ? e.subarray(t - 64) : new Uint8Array(0), r = e.length, n = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], t = 0; t < r; t += 1 ) n[t >> 2] |= e[t] << (t % 4 << 3) if (((n[t >> 2] |= 128 << (t % 4 << 3)), t > 55)) for (l(c, n), t = 0; t < 16; t += 1) n[t] = 0 return ( (i = 8 * s), (i = i.toString(16).match(/(.*?)(.{0,8})$/)), (o = parseInt(i[2], 16)), (a = parseInt(i[1], 16) || 0), (n[14] = o), (n[15] = a), l(c, n), c ) } function d(e) { var t, n = "" for (t = 0; t < 4; t += 1) n += r[(e >> (8 * t + 4)) & 15] + r[(e >> (8 * t)) & 15] return n } function h(e) { var t for (t = 0; t < e.length; t += 1) e[t] = d(e[t]) return e.join("") } function m(e) { return /[\u0080-\uFFFF]/.test(e) && (e = unescape(encodeURIComponent(e))), e } function g(e, t) { var r, n = e.length, i = new ArrayBuffer(n), o = new Uint8Array(i) for (r = 0; r < n; r += 1) o[r] = e.charCodeAt(r) return t ? o : i } function y(e) { return String.fromCharCode.apply(null, new Uint8Array(e)) } function v(e, t, r) { var n = new Uint8Array(e.byteLength + t.byteLength) return n.set(new Uint8Array(e)), n.set(new Uint8Array(t), e.byteLength), r ? n : n.buffer } function b(e) { var t, r = [], n = e.length for (t = 0; t < n - 1; t += 2) r.push(parseInt(e.substr(t, 2), 16)) return String.fromCharCode.apply(String, r) } function w() { this.reset() } return ( "5d41402abc4b2a76b9719d911017c592" !== h(f("hello")) && (t = function (e, t) { var r = (65535 & e) + (65535 & t), n = (e >> 16) + (t >> 16) + (r >> 16) return (n << 16) | (65535 & r) }), "undefined" === typeof ArrayBuffer || ArrayBuffer.prototype.slice || (function () { function t(e, t) { return (e = 0 | e || 0), e < 0 ? Math.max(e + t, 0) : Math.min(e, t) } ArrayBuffer.prototype.slice = function (r, n) { var i, o, a, s, l = this.byteLength, c = t(r, l), u = l return ( n !== e && (u = t(n, l)), c > u ? new ArrayBuffer(0) : ((i = u - c), (o = new ArrayBuffer(i)), (a = new Uint8Array(o)), (s = new Uint8Array(this, c, i)), a.set(s), o) ) } })(), (w.prototype.append = function (e) { return this.appendBinary(m(e)), this }), (w.prototype.appendBinary = function (e) { ;(this._buff += e), (this._length += e.length) var t, r = this._buff.length for (t = 64; t <= r; t += 64) l(this._hash, c(this._buff.substring(t - 64, t))) return (this._buff = this._buff.substring(t - 64)), this }), (w.prototype.end = function (e) { var t, r, n = this._buff, i = n.length, o = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] for (t = 0; t < i; t += 1) o[t >> 2] |= n.charCodeAt(t) << (t % 4 << 3) return this._finish(o, i), (r = h(this._hash)), e && (r = b(r)), this.reset(), r }), (w.prototype.reset = function () { return (this._buff = ""), (this._length = 0), (this._hash = [1732584193, -271733879, -1732584194, 271733878]), this }), (w.prototype.getState = function () { return { buff: this._buff, length: this._length, hash: this._hash } }), (w.prototype.setState = function (e) { return (this._buff = e.buff), (this._length = e.length), (this._hash = e.hash), this }), (w.prototype.destroy = function () { delete this._hash, delete this._buff, delete this._length }), (w.prototype._finish = function (e, t) { var r, n, i, o = t if (((e[o >> 2] |= 128 << (o % 4 << 3)), o > 55)) for (l(this._hash, e), o = 0; o < 16; o += 1) e[o] = 0 ;(r = 8 * this._length), (r = r.toString(16).match(/(.*?)(.{0,8})$/)), (n = parseInt(r[2], 16)), (i = parseInt(r[1], 16) || 0), (e[14] = n), (e[15] = i), l(this._hash, e) }), (w.hash = function (e, t) { return w.hashBinary(m(e), t) }), (w.hashBinary = function (e, t) { var r = f(e), n = h(r) return t ? b(n) : n }), (w.ArrayBuffer = function () { this.reset() }), (w.ArrayBuffer.prototype.append = function (e) { var t, r = v(this._buff.buffer, e, !0), n = r.length for (this._length += e.byteLength, t = 64; t <= n; t += 64) l(this._hash, u(r.subarray(t - 64, t))) return (this._buff = t - 64 < n ? new Uint8Array(r.buffer.slice(t - 64)) : new Uint8Array(0)), this }), (w.ArrayBuffer.prototype.end = function (e) { var t, r, n = this._buff, i = n.length, o = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] for (t = 0; t < i; t += 1) o[t >> 2] |= n[t] << (t % 4 << 3) return this._finish(o, i), (r = h(this._hash)), e && (r = b(r)), this.reset(), r }), (w.ArrayBuffer.prototype.reset = function () { return ( (this._buff = new Uint8Array(0)), (this._length = 0), (this._hash = [1732584193, -271733879, -1732584194, 271733878]), this ) }), (w.ArrayBuffer.prototype.getState = function () { var e = w.prototype.getState.call(this) return (e.buff = y(e.buff)), e }), (w.ArrayBuffer.prototype.setState = function (e) { return (e.buff = g(e.buff, !0)), w.prototype.setState.call(this, e) }), (w.ArrayBuffer.prototype.destroy = w.prototype.destroy), (w.ArrayBuffer.prototype._finish = w.prototype._finish), (w.ArrayBuffer.hash = function (e, t) { var r = p(new Uint8Array(e)), n = h(r) return t ? b(n) : n }), w ) }) }) class r { md5(e, r, n) { ;(this.aborted = !1), (this.progress = 0) let i = 0 const o = File.prototype.slice || File.prototype.mozSlice || File.prototype.webkitSlice, a = 2097152, s = Math.ceil(e.size / a), l = new t.ArrayBuffer(), c = new FileReader() function u() { const t = i * a, r = t + a >= e.size ? e.size : t + a c.readAsArrayBuffer(o.call(e, t, r)) } u(), (c.onloadend = e => { l.append(e.target.result), i++, (this.progress = i / s), n && "function" === typeof n && n(this.progress), this.aborted ? r("aborted") : i < s ? u() : r(null, l.end()) }) } abort() { this.aborted = !0 } } return r }) }, "861d": function (e, t) { e.exports = function (e) { return "object" === typeof e ? null !== e : "function" === typeof e } }, 8707: function (e, t, r) { /*! safe-buffer. MIT License. Feross Aboukhadijeh */ var n = r("b639"), i = n.Buffer function o(e, t) { for (var r in e) t[r] = e[r] } function a(e, t, r) { return i(e, t, r) } i.from && i.alloc && i.allocUnsafe && i.allocUnsafeSlow ? (e.exports = n) : (o(n, t), (t.Buffer = a)), (a.prototype = Object.create(i.prototype)), o(i, a), (a.from = function (e, t, r) { if ("number" === typeof e) throw new TypeError("Argument must not be a number") return i(e, t, r) }), (a.alloc = function (e, t, r) { if ("number" !== typeof e) throw new TypeError("Argument must be a number") var n = i(e) return void 0 !== t ? ("string" === typeof r ? n.fill(t, r) : n.fill(t)) : n.fill(0), n }), (a.allocUnsafe = function (e) { if ("number" !== typeof e) throw new TypeError("Argument must be a number") return i(e) }), (a.allocUnsafeSlow = function (e) { if ("number" !== typeof e) throw new TypeError("Argument must be a number") return n.SlowBuffer(e) }) }, 8925: function (e, t, r) { var n = r("c6cd"), i = Function.toString "function" != typeof n.inspectSource && (n.inspectSource = function (e) { return i.call(e) }), (e.exports = n.inspectSource) }, "8aa5": function (e, t, r) { "use strict" var n = r("6547").charAt e.exports = function (e, t, r) { return t + (r ? n(e, t).length : 1) } }, "8fc1": function (e, t, r) { "use strict" ;(function (e) { r.d(t, "a", function () { return wt }) var n = r("c4e3"), i = r.n(n), o = function () { return ( (o = Object.assign || function (e) { for (var t, r = 1, n = arguments.length; r < n; r++) for (var i in ((t = arguments[r]), t)) Object.prototype.hasOwnProperty.call(t, i) && (e[i] = t[i]) return e }), o.apply(this, arguments) ) } function a(e, t, r) { if (r || 2 === arguments.length) for (var n, i = 0, o = t.length; i < o; i++) (!n && i in t) || (n || (n = Array.prototype.slice.call(t, 0, i)), (n[i] = t[i])) return e.concat(n || Array.prototype.slice.call(t)) } var s, l, c = 914400, u = 12700, f = "\r\n", p = 2147483649, d = /^[0-9a-fA-F]{6}$/, h = 1.67, m = 27, g = { type: "solid", color: "666666", pt: 1 }, y = [0.05, 0.1, 0.05, 0.1], v = { type: "solid", color: "363636", pt: 1 }, b = { color: "888888", style: "solid", size: 1 }, w = "000000", x = 12, A = 18, _ = "LAYOUT_16x9", T = "DEFAULT", E = "333333", S = { type: "outer", blur: 3, offset: 23e3 / 12700, angle: 90, color: "000000", opacity: 0.35, rotateWithShape: !0 }, C = [0.5, 0.5, 0.5, 0.5], k = { type: "outer", blur: 8, offset: 4, angle: 270, color: "000000", opacity: 0.75 }, L = { size: 8, color: "FFFFFF", opacity: 0.75 }, P = "2094734552", O = "2094734553", j = "2094734554", R = "2094734555", I = "2094734556", N = "ABCDEFGHIJKLMNOPQRSTUVWXYZ".split(""), M = [ "C0504D", "4F81BD", "9BBB59", "8064A2", "4BACC6", "F79646", "628FC6", "C86360", "C0504D", "4F81BD", "9BBB59", "8064A2", "4BACC6", "F79646", "628FC6", "C86360" ], D = [ "5DA5DA", "FAA43A", "60BD68", "F17CB0", "B2912F", "B276B2", "DECF3F", "F15854", "A7A7A7", "5DA5DA", "FAA43A", "60BD68", "F17CB0", "B2912F", "B276B2", "DECF3F", "F15854", "A7A7A7" ] ;(function (e) { ;(e["left"] = "left"), (e["center"] = "center"), (e["right"] = "right"), (e["justify"] = "justify") })(s || (s = {})), (function (e) { ;(e["b"] = "b"), (e["ctr"] = "ctr"), (e["t"] = "t") })(l || (l = {})) var B, F, U, z, q, G, W, V, H, X, Y, K, Z, Q = "{F7021451-1387-4CA6-816F-3879F97B5CBC}" ;(function (e) { ;(e["arraybuffer"] = "arraybuffer"), (e["base64"] = "base64"), (e["binarystring"] = "binarystring"), (e["blob"] = "blob"), (e["nodebuffer"] = "nodebuffer"), (e["uint8array"] = "uint8array") })(B || (B = {})), (function (e) { ;(e["area"] = "area"), (e["bar"] = "bar"), (e["bar3d"] = "bar3D"), (e["bubble"] = "bubble"), (e["bubble3d"] = "bubble3D"), (e["doughnut"] = "doughnut"), (e["line"] = "line"), (e["pie"] = "pie"), (e["radar"] = "radar"), (e["scatter"] = "scatter") })(F || (F = {})), (function (e) { ;(e["accentBorderCallout1"] = "accentBorderCallout1"), (e["accentBorderCallout2"] = "accentBorderCallout2"), (e["accentBorderCallout3"] = "accentBorderCallout3"), (e["accentCallout1"] = "accentCallout1"), (e["accentCallout2"] = "accentCallout2"), (e["accentCallout3"] = "accentCallout3"), (e["actionButtonBackPrevious"] = "actionButtonBackPrevious"), (e["actionButtonBeginning"] = "actionButtonBeginning"), (e["actionButtonBlank"] = "actionButtonBlank"), (e["actionButtonDocument"] = "actionButtonDocument"), (e["actionButtonEnd"] = "actionButtonEnd"), (e["actionButtonForwardNext"] = "actionButtonForwardNext"), (e["actionButtonHelp"] = "actionButtonHelp"), (e["actionButtonHome"] = "actionButtonHome"), (e["actionButtonInformation"] = "actionButtonInformation"), (e["actionButtonMovie"] = "actionButtonMovie"), (e["actionButtonReturn"] = "actionButtonReturn"), (e["actionButtonSound"] = "actionButtonSound"), (e["arc"] = "arc"), (e["bentArrow"] = "bentArrow"), (e["bentUpArrow"] = "bentUpArrow"), (e["bevel"] = "bevel"), (e["blockArc"] = "blockArc"), (e["borderCallout1"] = "borderCallout1"), (e["borderCallout2"] = "borderCallout2"), (e["borderCallout3"] = "borderCallout3"), (e["bracePair"] = "bracePair"), (e["bracketPair"] = "bracketPair"), (e["callout1"] = "callout1"), (e["callout2"] = "callout2"), (e["callout3"] = "callout3"), (e["can"] = "can"), (e["chartPlus"] = "chartPlus"), (e["chartStar"] = "chartStar"), (e["chartX"] = "chartX"), (e["chevron"] = "chevron"), (e["chord"] = "chord"), (e["circularArrow"] = "circularArrow"), (e["cloud"] = "cloud"), (e["cloudCallout"] = "cloudCallout"), (e["corner"] = "corner"), (e["cornerTabs"] = "cornerTabs"), (e["cube"] = "cube"), (e["curvedDownArrow"] = "curvedDownArrow"), (e["curvedLeftArrow"] = "curvedLeftArrow"), (e["curvedRightArrow"] = "curvedRightArrow"), (e["curvedUpArrow"] = "curvedUpArrow"), (e["custGeom"] = "custGeom"), (e["decagon"] = "decagon"), (e["diagStripe"] = "diagStripe"), (e["diamond"] = "diamond"), (e["dodecagon"] = "dodecagon"), (e["donut"] = "donut"), (e["doubleWave"] = "doubleWave"), (e["downArrow"] = "downArrow"), (e["downArrowCallout"] = "downArrowCallout"), (e["ellipse"] = "ellipse"), (e["ellipseRibbon"] = "ellipseRibbon"), (e["ellipseRibbon2"] = "ellipseRibbon2"), (e["flowChartAlternateProcess"] = "flowChartAlternateProcess"), (e["flowChartCollate"] = "flowChartCollate"), (e["flowChartConnector"] = "flowChartConnector"), (e["flowChartDecision"] = "flowChartDecision"), (e["flowChartDelay"] = "flowChartDelay"), (e["flowChartDisplay"] = "flowChartDisplay"), (e["flowChartDocument"] = "flowChartDocument"), (e["flowChartExtract"] = "flowChartExtract"), (e["flowChartInputOutput"] = "flowChartInputOutput"), (e["flowChartInternalStorage"] = "flowChartInternalStorage"), (e["flowChartMagneticDisk"] = "flowChartMagneticDisk"), (e["flowChartMagneticDrum"] = "flowChartMagneticDrum"), (e["flowChartMagneticTape"] = "flowChartMagneticTape"), (e["flowChartManualInput"] = "flowChartManualInput"), (e["flowChartManualOperation"] = "flowChartManualOperation"), (e["flowChartMerge"] = "flowChartMerge"), (e["flowChartMultidocument"] = "flowChartMultidocument"), (e["flowChartOfflineStorage"] = "flowChartOfflineStorage"), (e["flowChartOffpageConnector"] = "flowChartOffpageConnector"), (e["flowChartOnlineStorage"] = "flowChartOnlineStorage"), (e["flowChartOr"] = "flowChartOr"), (e["flowChartPredefinedProcess"] = "flowChartPredefinedProcess"), (e["flowChartPreparation"] = "flowChartPreparation"), (e["flowChartProcess"] = "flowChartProcess"), (e["flowChartPunchedCard"] = "flowChartPunchedCard"), (e["flowChartPunchedTape"] = "flowChartPunchedTape"), (e["flowChartSort"] = "flowChartSort"), (e["flowChartSummingJunction"] = "flowChartSummingJunction"), (e["flowChartTerminator"] = "flowChartTerminator"), (e["folderCorner"] = "folderCorner"), (e["frame"] = "frame"), (e["funnel"] = "funnel"), (e["gear6"] = "gear6"), (e["gear9"] = "gear9"), (e["halfFrame"] = "halfFrame"), (e["heart"] = "heart"), (e["heptagon"] = "heptagon"), (e["hexagon"] = "hexagon"), (e["homePlate"] = "homePlate"), (e["horizontalScroll"] = "horizontalScroll"), (e["irregularSeal1"] = "irregularSeal1"), (e["irregularSeal2"] = "irregularSeal2"), (e["leftArrow"] = "leftArrow"), (e["leftArrowCallout"] = "leftArrowCallout"), (e["leftBrace"] = "leftBrace"), (e["leftBracket"] = "leftBracket"), (e["leftCircularArrow"] = "leftCircularArrow"), (e["leftRightArrow"] = "leftRightArrow"), (e["leftRightArrowCallout"] = "leftRightArrowCallout"), (e["leftRightCircularArrow"] = "leftRightCircularArrow"), (e["leftRightRibbon"] = "leftRightRibbon"), (e["leftRightUpArrow"] = "leftRightUpArrow"), (e["leftUpArrow"] = "leftUpArrow"), (e["lightningBolt"] = "lightningBolt"), (e["line"] = "line"), (e["lineInv"] = "lineInv"), (e["mathDivide"] = "mathDivide"), (e["mathEqual"] = "mathEqual"), (e["mathMinus"] = "mathMinus"), (e["mathMultiply"] = "mathMultiply"), (e["mathNotEqual"] = "mathNotEqual"), (e["mathPlus"] = "mathPlus"), (e["moon"] = "moon"), (e["noSmoking"] = "noSmoking"), (e["nonIsoscelesTrapezoid"] = "nonIsoscelesTrapezoid"), (e["notchedRightArrow"] = "notchedRightArrow"), (e["octagon"] = "octagon"), (e["parallelogram"] = "parallelogram"), (e["pentagon"] = "pentagon"), (e["pie"] = "pie"), (e["pieWedge"] = "pieWedge"), (e["plaque"] = "plaque"), (e["plaqueTabs"] = "plaqueTabs"), (e["plus"] = "plus"), (e["quadArrow"] = "quadArrow"), (e["quadArrowCallout"] = "quadArrowCallout"), (e["rect"] = "rect"), (e["ribbon"] = "ribbon"), (e["ribbon2"] = "ribbon2"), (e["rightArrow"] = "rightArrow"), (e["rightArrowCallout"] = "rightArrowCallout"), (e["rightBrace"] = "rightBrace"), (e["rightBracket"] = "rightBracket"), (e["round1Rect"] = "round1Rect"), (e["round2DiagRect"] = "round2DiagRect"), (e["round2SameRect"] = "round2SameRect"), (e["roundRect"] = "roundRect"), (e["rtTriangle"] = "rtTriangle"), (e["smileyFace"] = "smileyFace"), (e["snip1Rect"] = "snip1Rect"), (e["snip2DiagRect"] = "snip2DiagRect"), (e["snip2SameRect"] = "snip2SameRect"), (e["snipRoundRect"] = "snipRoundRect"), (e["squareTabs"] = "squareTabs"), (e["star10"] = "star10"), (e["star12"] = "star12"), (e["star16"] = "star16"), (e["star24"] = "star24"), (e["star32"] = "star32"), (e["star4"] = "star4"), (e["star5"] = "star5"), (e["star6"] = "star6"), (e["star7"] = "star7"), (e["star8"] = "star8"), (e["stripedRightArrow"] = "stripedRightArrow"), (e["sun"] = "sun"), (e["swooshArrow"] = "swooshArrow"), (e["teardrop"] = "teardrop"), (e["trapezoid"] = "trapezoid"), (e["triangle"] = "triangle"), (e["upArrow"] = "upArrow"), (e["upArrowCallout"] = "upArrowCallout"), (e["upDownArrow"] = "upDownArrow"), (e["upDownArrowCallout"] = "upDownArrowCallout"), (e["uturnArrow"] = "uturnArrow"), (e["verticalScroll"] = "verticalScroll"), (e["wave"] = "wave"), (e["wedgeEllipseCallout"] = "wedgeEllipseCallout"), (e["wedgeRectCallout"] = "wedgeRectCallout"), (e["wedgeRoundRectCallout"] = "wedgeRoundRectCallout") })(U || (U = {})), (function (e) { ;(e["text1"] = "tx1"), (e["text2"] = "tx2"), (e["background1"] = "bg1"), (e["background2"] = "bg2"), (e["accent1"] = "accent1"), (e["accent2"] = "accent2"), (e["accent3"] = "accent3"), (e["accent4"] = "accent4"), (e["accent5"] = "accent5"), (e["accent6"] = "accent6") })(z || (z = {})), (function (e) { ;(e["left"] = "left"), (e["center"] = "center"), (e["right"] = "right"), (e["justify"] = "justify") })(q || (q = {})), (function (e) { ;(e["top"] = "top"), (e["middle"] = "middle"), (e["bottom"] = "bottom") })(G || (G = {})), (function (e) { ;(e["ACTION_BUTTON_BACK_OR_PREVIOUS"] = "actionButtonBackPrevious"), (e["ACTION_BUTTON_BEGINNING"] = "actionButtonBeginning"), (e["ACTION_BUTTON_CUSTOM"] = "actionButtonBlank"), (e["ACTION_BUTTON_DOCUMENT"] = "actionButtonDocument"), (e["ACTION_BUTTON_END"] = "actionButtonEnd"), (e["ACTION_BUTTON_FORWARD_OR_NEXT"] = "actionButtonForwardNext"), (e["ACTION_BUTTON_HELP"] = "actionButtonHelp"), (e["ACTION_BUTTON_HOME"] = "actionButtonHome"), (e["ACTION_BUTTON_INFORMATION"] = "actionButtonInformation"), (e["ACTION_BUTTON_MOVIE"] = "actionButtonMovie"), (e["ACTION_BUTTON_RETURN"] = "actionButtonReturn"), (e["ACTION_BUTTON_SOUND"] = "actionButtonSound"), (e["ARC"] = "arc"), (e["BALLOON"] = "wedgeRoundRectCallout"), (e["BENT_ARROW"] = "bentArrow"), (e["BENT_UP_ARROW"] = "bentUpArrow"), (e["BEVEL"] = "bevel"), (e["BLOCK_ARC"] = "blockArc"), (e["CAN"] = "can"), (e["CHART_PLUS"] = "chartPlus"), (e["CHART_STAR"] = "chartStar"), (e["CHART_X"] = "chartX"), (e["CHEVRON"] = "chevron"), (e["CHORD"] = "chord"), (e["CIRCULAR_ARROW"] = "circularArrow"), (e["CLOUD"] = "cloud"), (e["CLOUD_CALLOUT"] = "cloudCallout"), (e["CORNER"] = "corner"), (e["CORNER_TABS"] = "cornerTabs"), (e["CROSS"] = "plus"), (e["CUBE"] = "cube"), (e["CURVED_DOWN_ARROW"] = "curvedDownArrow"), (e["CURVED_DOWN_RIBBON"] = "ellipseRibbon"), (e["CURVED_LEFT_ARROW"] = "curvedLeftArrow"), (e["CURVED_RIGHT_ARROW"] = "curvedRightArrow"), (e["CURVED_UP_ARROW"] = "curvedUpArrow"), (e["CURVED_UP_RIBBON"] = "ellipseRibbon2"), (e["CUSTOM_GEOMETRY"] = "custGeom"), (e["DECAGON"] = "decagon"), (e["DIAGONAL_STRIPE"] = "diagStripe"), (e["DIAMOND"] = "diamond"), (e["DODECAGON"] = "dodecagon"), (e["DONUT"] = "donut"), (e["DOUBLE_BRACE"] = "bracePair"), (e["DOUBLE_BRACKET"] = "bracketPair"), (e["DOUBLE_WAVE"] = "doubleWave"), (e["DOWN_ARROW"] = "downArrow"), (e["DOWN_ARROW_CALLOUT"] = "downArrowCallout"), (e["DOWN_RIBBON"] = "ribbon"), (e["EXPLOSION1"] = "irregularSeal1"), (e["EXPLOSION2"] = "irregularSeal2"), (e["FLOWCHART_ALTERNATE_PROCESS"] = "flowChartAlternateProcess"), (e["FLOWCHART_CARD"] = "flowChartPunchedCard"), (e["FLOWCHART_COLLATE"] = "flowChartCollate"), (e["FLOWCHART_CONNECTOR"] = "flowChartConnector"), (e["FLOWCHART_DATA"] = "flowChartInputOutput"), (e["FLOWCHART_DECISION"] = "flowChartDecision"), (e["FLOWCHART_DELAY"] = "flowChartDelay"), (e["FLOWCHART_DIRECT_ACCESS_STORAGE"] = "flowChartMagneticDrum"), (e["FLOWCHART_DISPLAY"] = "flowChartDisplay"), (e["FLOWCHART_DOCUMENT"] = "flowChartDocument"), (e["FLOWCHART_EXTRACT"] = "flowChartExtract"), (e["FLOWCHART_INTERNAL_STORAGE"] = "flowChartInternalStorage"), (e["FLOWCHART_MAGNETIC_DISK"] = "flowChartMagneticDisk"), (e["FLOWCHART_MANUAL_INPUT"] = "flowChartManualInput"), (e["FLOWCHART_MANUAL_OPERATION"] = "flowChartManualOperation"), (e["FLOWCHART_MERGE"] = "flowChartMerge"), (e["FLOWCHART_MULTIDOCUMENT"] = "flowChartMultidocument"), (e["FLOWCHART_OFFLINE_STORAGE"] = "flowChartOfflineStorage"), (e["FLOWCHART_OFFPAGE_CONNECTOR"] = "flowChartOffpageConnector"), (e["FLOWCHART_OR"] = "flowChartOr"), (e["FLOWCHART_PREDEFINED_PROCESS"] = "flowChartPredefinedProcess"), (e["FLOWCHART_PREPARATION"] = "flowChartPreparation"), (e["FLOWCHART_PROCESS"] = "flowChartProcess"), (e["FLOWCHART_PUNCHED_TAPE"] = "flowChartPunchedTape"), (e["FLOWCHART_SEQUENTIAL_ACCESS_STORAGE"] = "flowChartMagneticTape"), (e["FLOWCHART_SORT"] = "flowChartSort"), (e["FLOWCHART_STORED_DATA"] = "flowChartOnlineStorage"), (e["FLOWCHART_SUMMING_JUNCTION"] = "flowChartSummingJunction"), (e["FLOWCHART_TERMINATOR"] = "flowChartTerminator"), (e["FOLDED_CORNER"] = "folderCorner"), (e["FRAME"] = "frame"), (e["FUNNEL"] = "funnel"), (e["GEAR_6"] = "gear6"), (e["GEAR_9"] = "gear9"), (e["HALF_FRAME"] = "halfFrame"), (e["HEART"] = "heart"), (e["HEPTAGON"] = "heptagon"), (e["HEXAGON"] = "hexagon"), (e["HORIZONTAL_SCROLL"] = "horizontalScroll"), (e["ISOSCELES_TRIANGLE"] = "triangle"), (e["LEFT_ARROW"] = "leftArrow"), (e["LEFT_ARROW_CALLOUT"] = "leftArrowCallout"), (e["LEFT_BRACE"] = "leftBrace"), (e["LEFT_BRACKET"] = "leftBracket"), (e["LEFT_CIRCULAR_ARROW"] = "leftCircularArrow"), (e["LEFT_RIGHT_ARROW"] = "leftRightArrow"), (e["LEFT_RIGHT_ARROW_CALLOUT"] = "leftRightArrowCallout"), (e["LEFT_RIGHT_CIRCULAR_ARROW"] = "leftRightCircularArrow"), (e["LEFT_RIGHT_RIBBON"] = "leftRightRibbon"), (e["LEFT_RIGHT_UP_ARROW"] = "leftRightUpArrow"), (e["LEFT_UP_ARROW"] = "leftUpArrow"), (e["LIGHTNING_BOLT"] = "lightningBolt"), (e["LINE_CALLOUT_1"] = "borderCallout1"), (e["LINE_CALLOUT_1_ACCENT_BAR"] = "accentCallout1"), (e["LINE_CALLOUT_1_BORDER_AND_ACCENT_BAR"] = "accentBorderCallout1"), (e["LINE_CALLOUT_1_NO_BORDER"] = "callout1"), (e["LINE_CALLOUT_2"] = "borderCallout2"), (e["LINE_CALLOUT_2_ACCENT_BAR"] = "accentCallout2"), (e["LINE_CALLOUT_2_BORDER_AND_ACCENT_BAR"] = "accentBorderCallout2"), (e["LINE_CALLOUT_2_NO_BORDER"] = "callout2"), (e["LINE_CALLOUT_3"] = "borderCallout3"), (e["LINE_CALLOUT_3_ACCENT_BAR"] = "accentCallout3"), (e["LINE_CALLOUT_3_BORDER_AND_ACCENT_BAR"] = "accentBorderCallout3"), (e["LINE_CALLOUT_3_NO_BORDER"] = "callout3"), (e["LINE_CALLOUT_4"] = "borderCallout3"), (e["LINE_CALLOUT_4_ACCENT_BAR"] = "accentCallout3"), (e["LINE_CALLOUT_4_BORDER_AND_ACCENT_BAR"] = "accentBorderCallout3"), (e["LINE_CALLOUT_4_NO_BORDER"] = "callout3"), (e["LINE"] = "line"), (e["LINE_INVERSE"] = "lineInv"), (e["MATH_DIVIDE"] = "mathDivide"), (e["MATH_EQUAL"] = "mathEqual"), (e["MATH_MINUS"] = "mathMinus"), (e["MATH_MULTIPLY"] = "mathMultiply"), (e["MATH_NOT_EQUAL"] = "mathNotEqual"), (e["MATH_PLUS"] = "mathPlus"), (e["MOON"] = "moon"), (e["NON_ISOSCELES_TRAPEZOID"] = "nonIsoscelesTrapezoid"), (e["NOTCHED_RIGHT_ARROW"] = "notchedRightArrow"), (e["NO_SYMBOL"] = "noSmoking"), (e["OCTAGON"] = "octagon"), (e["OVAL"] = "ellipse"), (e["OVAL_CALLOUT"] = "wedgeEllipseCallout"), (e["PARALLELOGRAM"] = "parallelogram"), (e["PENTAGON"] = "homePlate"), (e["PIE"] = "pie"), (e["PIE_WEDGE"] = "pieWedge"), (e["PLAQUE"] = "plaque"), (e["PLAQUE_TABS"] = "plaqueTabs"), (e["QUAD_ARROW"] = "quadArrow"), (e["QUAD_ARROW_CALLOUT"] = "quadArrowCallout"), (e["RECTANGLE"] = "rect"), (e["RECTANGULAR_CALLOUT"] = "wedgeRectCallout"), (e["REGULAR_PENTAGON"] = "pentagon"), (e["RIGHT_ARROW"] = "rightArrow"), (e["RIGHT_ARROW_CALLOUT"] = "rightArrowCallout"), (e["RIGHT_BRACE"] = "rightBrace"), (e["RIGHT_BRACKET"] = "rightBracket"), (e["RIGHT_TRIANGLE"] = "rtTriangle"), (e["ROUNDED_RECTANGLE"] = "roundRect"), (e["ROUNDED_RECTANGULAR_CALLOUT"] = "wedgeRoundRectCallout"), (e["ROUND_1_RECTANGLE"] = "round1Rect"), (e["ROUND_2_DIAG_RECTANGLE"] = "round2DiagRect"), (e["ROUND_2_SAME_RECTANGLE"] = "round2SameRect"), (e["SMILEY_FACE"] = "smileyFace"), (e["SNIP_1_RECTANGLE"] = "snip1Rect"), (e["SNIP_2_DIAG_RECTANGLE"] = "snip2DiagRect"), (e["SNIP_2_SAME_RECTANGLE"] = "snip2SameRect"), (e["SNIP_ROUND_RECTANGLE"] = "snipRoundRect"), (e["SQUARE_TABS"] = "squareTabs"), (e["STAR_10_POINT"] = "star10"), (e["STAR_12_POINT"] = "star12"), (e["STAR_16_POINT"] = "star16"), (e["STAR_24_POINT"] = "star24"), (e["STAR_32_POINT"] = "star32"), (e["STAR_4_POINT"] = "star4"), (e["STAR_5_POINT"] = "star5"), (e["STAR_6_POINT"] = "star6"), (e["STAR_7_POINT"] = "star7"), (e["STAR_8_POINT"] = "star8"), (e["STRIPED_RIGHT_ARROW"] = "stripedRightArrow"), (e["SUN"] = "sun"), (e["SWOOSH_ARROW"] = "swooshArrow"), (e["TEAR"] = "teardrop"), (e["TRAPEZOID"] = "trapezoid"), (e["UP_ARROW"] = "upArrow"), (e["UP_ARROW_CALLOUT"] = "upArrowCallout"), (e["UP_DOWN_ARROW"] = "upDownArrow"), (e["UP_DOWN_ARROW_CALLOUT"] = "upDownArrowCallout"), (e["UP_RIBBON"] = "ribbon2"), (e["U_TURN_ARROW"] = "uturnArrow"), (e["VERTICAL_SCROLL"] = "verticalScroll"), (e["WAVE"] = "wave") })(W || (W = {})), (function (e) { ;(e["AREA"] = "area"), (e["BAR"] = "bar"), (e["BAR3D"] = "bar3D"), (e["BUBBLE"] = "bubble"), (e["BUBBLE3D"] = "bubble3D"), (e["DOUGHNUT"] = "doughnut"), (e["LINE"] = "line"), (e["PIE"] = "pie"), (e["RADAR"] = "radar"), (e["SCATTER"] = "scatter") })(V || (V = {})), (function (e) { ;(e["TEXT1"] = "tx1"), (e["TEXT2"] = "tx2"), (e["BACKGROUND1"] = "bg1"), (e["BACKGROUND2"] = "bg2"), (e["ACCENT1"] = "accent1"), (e["ACCENT2"] = "accent2"), (e["ACCENT3"] = "accent3"), (e["ACCENT4"] = "accent4"), (e["ACCENT5"] = "accent5"), (e["ACCENT6"] = "accent6") })(H || (H = {})), (function (e) { ;(e["chart"] = "chart"), (e["image"] = "image"), (e["line"] = "line"), (e["rect"] = "rect"), (e["text"] = "text"), (e["placeholder"] = "placeholder") })(X || (X = {})), (function (e) { ;(e["chart"] = "chart"), (e["hyperlink"] = "hyperlink"), (e["image"] = "image"), (e["media"] = "media"), (e["online"] = "online"), (e["placeholder"] = "placeholder"), (e["table"] = "table"), (e["tablecell"] = "tablecell"), (e["text"] = "text"), (e["notes"] = "notes") })(Y || (Y = {})), (function (e) { ;(e["title"] = "title"), (e["body"] = "body"), (e["image"] = "pic"), (e["chart"] = "chart"), (e["table"] = "tbl"), (e["media"] = "media") })(K || (K = {})), (function (e) { ;(e["DEFAULT"] = "•"), (e["CHECK"] = "✓"), (e["STAR"] = "★"), (e["TRIANGLE"] = "▶") })(Z || (Z = {})) var J = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAAB3CAYAAAD1oOVhAAAGAUlEQVR4Xu2dT0xcRRzHf7tAYSsc0EBSIq2xEg8mtTGebVzEqOVIolz0siRE4gGTStqKwdpWsXoyGhMuyAVJOHBgqyvLNgonDkabeCBYW/8kTUr0wsJC+Wfm0bfuvn37Znbem9mR9303mJnf/Pb7ed95M7PDI5JIJPYJV5EC7e3t1N/fT62trdqViQCIu+bVgpIHEo/Hqbe3V/sdYVKHyWSSZmZm8ilVA0oeyNjYmEnaVC2Xvr6+qg5fAOJAz4DU1dURGzFSqZRVqtMpAFIGyMjICC0vL9PExIRWKADiAYTNshYWFrRCARAOEFZcCKWtrY0GBgaUTYkBRACIE4rKZwqACALR5RQAqQCIDqcASIVAVDsFQCSAqHQKgEgCUeUUAPEBRIVTAMQnEBvK5OQkbW9vk991CoAEAMQJxc86BUACAhKUUwAkQCBBOAVAAgbi1ykAogCIH6cAiCIgsk4BEIVAZJwCIIqBVLqiBxANQFgXS0tLND4+zl08AogmIG5OSSQS1gGKwgtANAIRcQqAaAbCe6YASBWA2E6xDyeyDUl7+AKQMkDYYevm5mZHabA/Li4uUiaTsYLau8QA4gLE/hU7wajyYtv1hReDAiAOxQcHBymbzark4BkbQKom/X8dp9Npmpqasn4BIAYAYSnYp+4BBEAMUcCwNOCQsAKZnp62NtQOw8WmwT09PUo+ijaHsOMx7GppaaH6+nolH0Z10K2tLVpdXbW6UfV3mNqBdHd3U1NTk2rtlMRfW1uj2dlZAFGirkRQAJEQTWUTAFGprkRsAJEQTWUTAFGprkRsAJEQTWUTAFGprkRsAJEQTWUTAFGprkRsAJEQTWUTAFGprkRsAJEQTWUTAGHqrm8caPzQ0WC1logbeiC7X3xJm0PvUmRzh45cuki1588FAmVn9BO6P3yF9utrqGH0MtW82S8UN9RA9v/4k7InjhcJFTs/TLVXLwmJV67S7vD7tHF5pKi46fYdosdOcOOGG8j1OcqefbFEJD9Q3GCwDhqT31HklS4A8VRgfYM2Op6k3bt/BQJl58J7lPvwg5JYNccepaMry0LPqFA7hCm39+NNyp2J0172b19QysGINj5CsRtpij57musOViH0QPJQXn6J9u7dlYJSFkbrMYolrwvDAJAC+WWdEpQz7FTgECeUCpzi6YxvvqXoM6eEhqnCSgDikEzUKUE7Aw7xuHctKB5OYU3dZlNR9syQdAaAcAYTC0pXF+39c09o2Ik+3EqxVKqiB7hbYAxZkk4pbBaEM+AQofv+wTrFwylBOQNABIGwavdfe4O2pg5elO+86l99nY58/VUF0byrYsjiSFluNlXYrOHcBar7+EogUADEQ0YRGHbzoKAASBkg2+9cpM1rV0tK2QOcXW7bLEFAARAXIF4w2DrDWoeUWaf4hQIgDiA8GPZ2iNfi0Q8UACkAIgrDbrJ385eDxaPLLrEsFAB5oG6lMPJQPLZZZKAACBGVhcG2Q+bmuLu2nk55e4jqPv1IeEoceiBeX7s2zCa5MAqdstl91vfXwaEGsv/rb5TtOFk6tWXOuJGh6KmnhO9sayrMninPx103JBtXblHkice58cINZP4Hyr5wpkgkdiChEmc4FWazLzenNKa/p0jncwDiqcD6BuWePk07t1asatZGoYQzSqA4nFJ7soNiP/+EUyfc25GI2GG53dHPrKo1g/1Cw4pIXLrzO+1c+/wg7tBbFDle/EbQcjFCPWQJCau5EoBoFpzXHYDwFNJcDiCaBed1ByA8hTSXA4hmwXndAQhPIc3lAKJZcF53AMJTSHM5gGgWnNcdgPAU0lwOIJoF53UHIDyFNJcfSiCdnZ0Ui8U0SxlMd7lcjubn561gh+Y1scFIU/0o/3sgeLO12E2k7UXKYumgFoAYdg8ACIAYpoBh6cAhAGKYAoalA4cAiGEKGJYOHAIghilgWDpwCIAYpoBh6cAhAGKYAoalA4cAiGEKGJYOHAIghilgWDpwCIAYpoBh6ZQ4JB6PKzviYthnNy4d9h+1M5mMlVckkUjsG5dhiBMCEMPg/wuOfrZZ/RSywQAAAABJRU5ErkJggg==", $ = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAHCCAYAAAAXY63IAAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN/rXXPues852zzwfACAyWSDNRNYAMqUIeEeCDx8TG4eQuQIEKJHAAEAizZCFz/SMBAPh+PDwrIsAHvgABeNMLCADATZvAMByH/w/qQplcAYCEAcB0kThLCIAUAEB6jkKmAEBGAYCdmCZTAKAEAGDLY2LjAFAtAGAnf+bTAICd+Jl7AQBblCEVAaCRACATZYhEAGg7AKzPVopFAFgwABRmS8Q5ANgtADBJV2ZIALC3AMDOEAuyAAgMADBRiIUpAAR7AGDIIyN4AISZABRG8lc88SuuEOcqAAB4mbI8uSQ5RYFbCC1xB1dXLh4ozkkXKxQ2YQJhmkAuwnmZGTKBNA/g88wAAKCRFRHgg/P9eM4Ors7ONo62Dl8t6r8G/yJiYuP+5c+rcEAAAOF0ftH+LC+zGoA7BoBt/qIl7gRoXgugdfeLZrIPQLUAoOnaV/Nw+H48PEWhkLnZ2eXk5NhKxEJbYcpXff5nwl/AV/1s+X48/Pf14L7iJIEyXYFHBPjgwsz0TKUcz5IJhGLc5o9H/LcL//wd0yLESWK5WCoU41EScY5EmozzMqUiiUKSKcUl0v9k4t8s+wM+3zUAsGo+AXuRLahdYwP2SycQWHTA4vcAAPK7b8HUKAgDgGiD4c93/+8//UegJQCAZkmScQAAXkQkLlTKsz/HCAAARKCBKrBBG/TBGCzABhzBBdzBC/xgNoRCJMTCQhBCCmSAHHJgKayCQiiGzbAdKmAv1EAdNMBRaIaTcA4uwlW4Dj1wD/phCJ7BKLyBCQRByAgTYSHaiAFiilgjjggXmYX4IcFIBBKLJCDJiBRRIkuRNUgxUopUIFVIHfI9cgI5h1xGupE7yAAygvyGvEcxlIGyUT3UDLVDuag3GoRGogvQZHQxmo8WoJvQcrQaPYw2oefQq2gP2o8+Q8cwwOgYBzPEbDAuxsNCsTgsCZNjy7EirAyrxhqwVqwDu4n1Y8+xdwQSgUXACTYEd0IgYR5BSFhMWE7YSKggHCQ0EdoJNwkDhFHCJyKTqEu0JroR+cQYYjIxh1hILCPWEo8TLxB7iEPENyQSiUMyJ7mQAkmxpFTSEtJG0m5SI+ksqZs0SBojk8naZGuyBzmULCAryIXkneTD5DPkG+Qh8lsKnWJAcaT4U+IoUspqShnlEOU05QZlmDJBVaOaUt2ooVQRNY9aQq2htlKvUYeoEzR1mjnNgxZJS6WtopXTGmgXaPdpr+h0uhHdlR5Ol9BX0svpR+iX6AP0dwwNhhWDx4hnKBmbGAcYZxl3GK+YTKYZ04sZx1QwNzHrmOeZD5lvVVgqtip8FZHKCpVKlSaVGyovVKmqpqreqgtV81XLVI+pXlN9rkZVM1PjqQnUlqtVqp1Q61MbU2epO6iHqmeob1Q/pH5Z/YkGWcNMw09DpFGgsV/jvMYgC2MZs3gsIWsNq4Z1gTXEJrHN2Xx2KruY/R27iz2qqaE5QzNKM1ezUvOUZj8H45hx+Jx0TgnnKKeX836K3hTvKeIpG6Y0TLkxZVxrqpaXllirSKtRq0frvTau7aedpr1Fu1n7gQ5Bx0onXCdHZ4/OBZ3nU9lT3acKpxZNPTr1ri6qa6UbobtEd79up+6Ynr5egJ5Mb6feeb3n+hx9L/1U/W36p/VHDFgGswwkBtsMzhg8xTVxbzwdL8fb8VFDXcNAQ6VhlWGX4YSRudE8o9VGjUYPjGnGXOMk423GbcajJgYmISZLTepN7ppSTbmmKaY7TDtMx83MzaLN1pk1mz0x1zLnm+eb15vft2BaeFostqi2uGVJsuRaplnutrxuhVo5WaVYVVpds0atna0l1rutu6cRp7lOk06rntZnw7Dxtsm2qbcZsOXYBtuutm22fWFnYhdnt8Wuw+6TvZN9un2N/T0HDYfZDqsdWh1+c7RyFDpWOt6azpzuP33F9JbpL2dYzxDP2DPjthPLKcRpnVOb00dnF2e5c4PziIuJS4LLLpc+Lpsbxt3IveRKdPVxXeF60vWdm7Obwu2o26/uNu5p7ofcn8w0nymeWTNz0MPIQ+BR5dE/C5+VMGvfrH5PQ0+BZ7XnIy9jL5FXrdewt6V3qvdh7xc+9j5yn+M+4zw33jLeWV/MN8C3yLfLT8Nvnl+F30N/I/9k/3r/0QCngCUBZwOJgUGBWwL7+Hp8Ib+OPzrbZfay2e1BjKC5QRVBj4KtguXBrSFoyOyQrSH355jOkc5pDoVQfujW0Adh5mGLw34MJ4WHhVeGP45wiFga0TGXNXfR3ENz30T6RJZE3ptnMU85ry1KNSo+qi5qPNo3ujS6P8YuZlnM1VidWElsSxw5LiquNm5svt/87fOH4p3iC+N7F5gvyF1weaHOwvSFpxapLhIsOpZATIhOOJTwQRAqqBaMJfITdyWOCnnCHcJnIi/RNtGI2ENcKh5O8kgqTXqS7JG8NXkkxTOlLOW5hCepkLxMDUzdmzqeFpp2IG0yPTq9MYOSkZBxQqohTZO2Z+pn5mZ2y6xlhbL+xW6Lty8elQfJa7OQrAVZLQq2QqboVFoo1yoHsmdlV2a/zYnKOZarnivN7cyzytuQN5zvn//tEsIS4ZK2pYZLVy0dWOa9rGo5sjxxedsK4xUFK4ZWBqw8uIq2Km3VT6vtV5eufr0mek1rgV7ByoLBtQFr6wtVCuWFfevc1+1dT1gvWd+1YfqGnRs+FYmKrhTbF5cVf9go3HjlG4dvyr+Z3JS0qavEuWTPZtJm6ebeLZ5bDpaql+aXDm4N2dq0Dd9WtO319kXbL5fNKNu7g7ZDuaO/PLi8ZafJzs07P1SkVPRU+lQ27tLdtWHX+G7R7ht7vPY07NXbW7z3/T7JvttVAVVN1WbVZftJ+7P3P66Jqun4lvttXa1ObXHtxwPSA/0HIw6217nU1R3SPVRSj9Yr60cOxx++/p3vdy0NNg1VjZzG4iNwRHnk6fcJ3/ceDTradox7rOEH0x92HWcdL2pCmvKaRptTmvtbYlu6T8w+0dbq3nr8R9sfD5w0PFl5SvNUyWna6YLTk2fyz4ydlZ19fi753GDborZ752PO32oPb++6EHTh0kX/i+c7vDvOXPK4dPKy2+UTV7hXmq86X23qdOo8/pPTT8e7nLuarrlca7nuer21e2b36RueN87d9L158Rb/1tWeOT3dvfN6b/fF9/XfFt1+cif9zsu72Xcn7q28T7xf9EDtQdlD3YfVP1v+3Njv3H9qwHeg89HcR/cGhYPP/pH1jw9DBY+Zj8uGDYbrnjg+OTniP3L96fynQ89kzyaeF/6i/suuFxYvfvjV69fO0ZjRoZfyl5O/bXyl/erA6xmv28bCxh6+yXgzMV70VvvtwXfcdx3vo98PT+R8IH8o/2j5sfVT0Kf7kxmTk/8EA5jz/GMzLdsAAAAgY0hSTQAAeiUAAICDAAD5/wAAgOkAAHUwAADqYAAAOpgAABdvkl/FRgAAFRdJREFUeNrs3WFz2lbagOEnkiVLxsYQsP//z9uZZmMswJIlS3k/tPb23U3TOAUM6Lpm8qkzbXM4A7p1dI4+/etf//oWAAAAB3ARETGdTo0EAACwV1VVRWIYAACAQxEgAACAAAEAAAQIAACAAAEAAAQIAACAAAEAAAQIAAAgQAAAAAQIAAAgQAAAAAQIAAAgQAAAAAECAAAgQAAAAAECAAAgQAAAAAECAAAIEAAAAAECAAAIEAAAAAECAAAIEAAAQIAAAAAIEAAAQIAAAAAIEAAAQIAAAAACBAAAQIAAAAACBAAAQIAAAAACBAAAQIAAAAACBAAAECAAAAACBAAAECAAAAACBAAAECAAAIAAAQAAECAAAIAAAQAAECAAAIAAAQAABAgAAIAAAQAABAgAAIAAAQAABAgAACBAAAAABAgAACBAAAAABAgAACBAAAAAAQIAACBAAAAAAQIAACBAAAAAAQIAACBAAAAAAQIAAAgQAAAAAQIAAAgQAAAAAQIAAAgQAABAgAAAAAgQAABAgAAAAAgQAABAgAAAAAIEAABAgAAAAAIEAABAgAAAAAIEAAAQIAAAAAIEAAAQIAAAAAIEAAAQIAAAgAABAAAQIAAAgAABAAAQIAAAgAABAAAQIAAAgAABAAAECAAAgAABAAAECAAAgAABAAAECAAAIEAAAAAECAAAIEAAAAAECAAAIEAAAAABAgAAIEAAAAABAgAAIEAAAAABAgAACBAAAAABAgAACBAAAAABAgAACBAAAECAAAAACBAAAECAAAAACBAAAECAAAAAAgQAAECAAAAAAgQAAECAAAAAAgQAAECAAAAAAgQAABAgAAAAAgQAABAgAAAAAgQAABAgAACAAAEAABAgAACAAAEAABAgAACAAAEAAAQIAACAAAEAAAQIAACAAAEAAAQIAAAgQAAAAPbnwhAA8CuGYYiXl5fv/7hcXESSuMcFgAAB4G90XRffvn2L5+fniIho2zYiIvq+j77vf+nfmaZppGkaERF5nkdExOXlZXz69CmyLDPoAAIEgDFo2zaen5/j5eUl+r6Pruv28t/5c7y8Bs1ms3n751mWRZqmcXFxEZeXl2+RAoAAAeBEDcMQbdu+/dlXbPyKruve/n9ewyTLssjz/O2PR7oABAgAR67v+2iaJpqmeVt5OBWvUbLdbiPi90e3iqKIoijeHucCQIAAcATRsd1uo2maX96zcYxeV26qqoo0TaMoiphMJmIEQIAAcGjDMERd11HX9VE9WrXvyNput5FlWZRlGWVZekwLQIAAsE+vjyjVdT3qMei6LqqqirIsYzKZOFkLQIAAsEt1XcfT09PJ7es4xLjUdR15nsfV1VWUZWlQAAQIAP/kAnu9Xp/V3o59eN0vsl6v4+bmRogACBAAhMf+9X0fq9VKiAAIEAB+RtM0UVWV8NhhiEyn0yiKwqAACBAAXr1uqrbHY/ch8vDwEHmex3Q6tVkdQIAAjNswDLHZbN5evsd+tG0bX758iclkEtfX147vBRAgAOPTNE08Pj7GMAwG40BejzC+vb31WBaAAAEYh9f9CR63+hjDMLw9ljWfz62GAOyZb1mAD9Q0TXz58kV8HIG2beO3336LpmkMBsAeWQEB+ADDMERVVaN+g/mxfi4PDw9RlmVMp1OrIQACBOD0dV0XDw8PjtY9YnVdR9u2MZ/PnZQFsGNu7QAc+ML269ev4uME9H0fX79+tUoFsGNWQAAOZLVauZg9McMwxGq1iufn55jNZgYEQIAAnMZF7MPDg43mJ6yu6+j73ilZADvgWxRgj7qui69fv4qPM9C2rcfnAAQIwPHHR9d1BuOMPtMvX774TAEECMBxxoe3mp+fYRiEJYAAATgeryddiY/zjxAvLQQQIAAfHh+r1Up8jCRCHh4enGwGIEAAPkbTNLFarQzEyKxWKyshAAIE4LC6rovHx0cDMVKPj4/2hAAIEIDDxYc9H+NmYzqAAAEQH4gQAAECcF4XnI+Pj+IDcwJAgADs38PDg7vd/I+u6+Lh4cFAAAgQgN1ZrVbRtq2B4LvatnUiGoAAAdiNuq69+wHzBECAAOxf13VRVZWB4KdUVeUxPQABAvBrXt98bYMx5gyAAAHYu6qqou97A8G79H1v1QxAgAC8T9M0nufnl9V1HU3TGAgAAQLw9/q+j8fHx5P6f86yLMqy9OEdEe8HARAgAD9ltVqd3IXjp0+fYjabxWKxiDzPfYhH4HU/CIAAAeAvNU1z0u/7yPM8FotFzGazSBJf+R+tbVuPYgECxBAAfN8wDCf36NVfKcsy7u7u4vr62gf7wTyKBQgQAL5rs9mc1YVikiRxc3MT9/f3URSFD/gDw3az2RgIQIAA8B9d18V2uz3Lv1uapjGfz2OxWESWZT7sD7Ddbr2gEBAgAPzHGN7bkOd5LJfLmE6n9oeYYwACBOCjnPrG8/eaTCZxd3cXk8nEh39ANqQDAgSAiBjnnekkSWI6ncb9/b1je801AAECcCh1XUff96P9+6dpGovFIhaLRaRpakLsWd/3Ude1gQAECMBYrddrgxC/7w+5v7+P6+tr+0PMOQABArAPY1/9+J6bm5u4u7uLsiwNxp5YBQEECMBIuRP9Fz8USRKz2SyWy6X9IeYegAAB2AWrH38vy7JYLBYxn8/tD9kxqyCAAAEYmaenJ4Pwk4qiiOVyaX+IOQggQAB+Rdd1o3rvx05+PJIkbm5uYrlc2h+yI23bejs6IEAAxmC73RqEX5Smacxms1gsFpFlmQExFwEECMCPDMPg2fsdyPM8lstlzGYzj2X9A3VdxzAMBgIQIADnfMHH7pRlGXd3d3F9fW0wzEkAAQLgYu8APyx/7A+5v7+PoigMiDkJIEAAIn4/+tSm3/1J0zTm83ksFgvH9r5D13WOhAYECMA5suH3MPI8j/v7+5hOp/aHmJsAAgQYr6ZpDMIBTSaTuLu7i8lkYjDMTUCAAIxL3/cec/mIH50kiel0Gvf395HnuQExPwEBAjAO7jB/rDRNY7FYxHw+tz/EHAUECICLOw6jKIq4v7+P6+tr+0PMUUCAAJynYRiibVsDcURubm7i7u4uyrI0GH9o29ZLCQEBAnAuF3Yc4Q9SksRsNovlcml/iLkKCBAAF3UcRpZlsVgsYjabjX5/iLkKnKMLQwC4qOMYlWUZl5eXsd1u4+npaZSPI5mrwDmyAgKMjrefn9CPVJLEzc1NLJfLUe4PMVcBAQJw4txRPk1pmsZsNovFYhFZlpmzAAIE4DQ8Pz8bhBOW53ksl8uYzWajObbXnAXOjT0gwKi8vLwYhDPw5/0hm83GnAU4IVZAgFHp+94gnMsP2B/7Q+7v78/62F5zFhAgACfMpt7zk6ZpLBaLWCwWZ3lsrzkLCBAAF3IcoTzP4/7+PqbT6dntDzF3AQECcIK+fftmEEZgMpnE3d1dTCYTcxdAgAB8HKcJjejHLUliOp3Gcrk8i/0h5i4gQADgBGRZFovFIubz+VnuDwE4RY7hBUbDC93GqyiKKIoi1ut1PD09xTAM5i7AB7ECAsBo3NzcxN3dXZRlaTAABAjAfnmfAhG/7w+ZzWaxWCxOZn+IuQsIEAABwonL8zwWi0XMZrOj3x9i7gLnxB4QAEatLMu4vLyM7XZ7kvtDAE6NFRAA/BgmSdzc3MRyuYyiKAwIgAAB+Gfc1eZnpGka8/k8FotFZFlmDgMIEIBf8/LyYhD4aXmex3K5jNlsFkmSmMMAO2QPCAD8hT/vD9lsNgYEYAesgADAj34o/9gfcn9/fzLH9gIIEAAAgPAIFgD80DAMsdlsYrvdGgwAAQIA+/O698MJVAACBOB9X3YXvu74eW3bRlVV0XWdOQwgQADe71iOUuW49X0fVVVF0zTmMIAAAYD9GIbBUbsAAgQA9q+u61iv19H3vcEAECAAu5OmqYtM3rRtG+v1Otq2PYm5CyBAAAQIJ6jv+1iv11HX9UnNXQABAgAnZr1ex9PTk2N1AQQIwP7leX4Sj9uwe03TRFVVJ7sClue5DxEQIABw7Lqui6qqhCeAAAE4vMvLS8esjsQwDLHZbGK73Z7N3AUQIAAn5tOnTwZhBF7f53FO+zzMXUCAAJygLMsMwhlr2zZWq9VZnnRm7gICBOCEL+S6rjMQZ6Tv+1itVme7z0N8AAIE4ISlaSpAzsQwDG+PW537nAUQIACn+qV34WvvHNR1HVVVjeJ9HuYsIEAATpiTsE5b27ZRVdWoVrGcgAUIEIBT/tJzN/kk9X0fVVVF0zSj+7t7CSEgQABOWJIkNqKfkNd9Hk9PT6N43Oq/2YAOCBCAM5DnuQA5AXVdx3q9Pstjdd8zVwEECMAZXNSdyxuyz1HXdVFV1dkeqytAAAEC4KKOIzAMQ1RVFXVdGwxzFRAgAOcjSZLI89wd9iOyXq9Hu8/jR/GRJImBAAQIwDkoikKAHIGmaaKqqlHv8/jRHAUQIABndHFXVZWB+CB938dqtRKBAgQQIADjkKZppGnqzvuBDcMQm83GIQA/OT8BBAjAGSmKwoXwAW2329hsNvZ5/OTcBBAgAGdmMpkIkANo2zZWq5XVpnfOTQABAnBm0jT1VvQ96vs+qqqKpmkMxjtkWebxK0CAAJyrsiwFyI4Nw/D2uBW/NicBBAjAGV/sOQ1rd+q6jqqq7PMQIAACBOB7kiSJsiy9ffsfats2qqqymrSD+PDyQUCAAJy5q6srAfKL+r6P9Xpt/HY4FwEECMCZy/M88jz3Urx3eN3n8fT05HGrHc9DAAECMAJXV1cC5CfVdR3r9dqxunuYgwACBGAkyrJ0Uf03uq6LqqqE2h6kaWrzOSBAAMbm5uYmVquVgfgvwzBEVVX2eex57gEIEICRsQryv9brtX0ee2b1AxAgACNmFeR3bdvGarUSYweacwACBGCkxr4K0vd9rFYr+zwOxOoHIEAAGOUqyDAMsdlsYrvdmgAHnmsAAgRg5MqyjKenp9GsAmy329hsNvZ5HFie51Y/gFFKDAHA/xrDnem2bePLly9RVZX4MMcADsYKCMB3vN6dPsejZ/u+j6qqomkaH/QHKcvSW88BAQLA/zedTuP5+flsVgeGYXh73IqPkyRJTKdTAwGM93vQEAD89YXi7e3tWfxd6rqO3377TXwcgdvb20gSP7/AeFkBAfiBoigiz/OT3ZDetm2s12vH6h6JPM+jKAoDAYyaWzAAf2M2m53cHetv377FarWKf//73+LjWH5wkyRms5mBAHwfGgKAH0vT9OQexeq67iw30J+y29vbSNPUQAACxBAA/L2iKDw6g/kDIEAADscdbH7FKa6gAQgQgGP4wkySmM/nBoJ3mc/nTr0CECAAvybLMhuJ+Wmz2SyyLDMQAAIE4NeVZRllWRoIzBMAAQJwGO5s8yNWygAECMDOff78WYTw3fj4/PmzgQAQIAA7/gJNkri9vbXBGHMCQIAAHMbr3W4XnCRJYlUMQIAAiBDEB4AAATjDCJlOpwZipKbTqfgAECAAh1WWpZOPRmg2mzluF+AdLgwBwG4jJCKiqqoYhsGAnLEkSWI6nYoPgPd+fxoCgN1HiD0h5x8fnz9/Fh8AAgTgONiYfv7xYc8HgAABOMoIcaHqMwVAgAC4YOVd8jz3WQIIEIAT+KJNklgul/YLnLCyLGOxWHikDkCAAJyO2WzmmF6fG8DoOYYX4IDKsoyLi4t4eHiIvu8NyBFL0zTm87lHrgB2zAoIwIFlWRbL5TKKojAYR6ooilgul+IDYA+sgAB8gCRJYj6fR9M08fj46KWFR/S53N7eikMAAQJwnoqiiCzLYrVaRdu2BuQD5Xkes9ks0jQ1GAACBOB8pWkai8XCasgHseoBIEAARqkoisjzPKqqirquDcgBlGUZ0+nU8boAAgRgnJIkidlsFldXV7Ferz2WtSd5nsd0OrXJHECAAPB6gbxYLKKu61iv147s3ZE0TWM6nXrcCkCAAPA9ZVlGWZZCZAfhcXNz4230AAIEACEiPAAECABHHyJPT0/2iPyFPM/j6upKeAAIEAB2GSJt28bT05NTs/40LpPJxOZyAAECwD7kef52olNd11HXdXRdN6oxyLLsLcgcpwsgQAA4gCRJYjKZxGQyib7vY7vdRtM0Z7tXJE3TKIoiJpOJN5cDCBAAPvrifDqdxnQ6jb7vo2maaJrm5PeL5HkeRVFEURSiA0CAAHCsMfK6MjIMQ7Rt+/bn2B/VyrLs7RGzPM89XgUgQAA4JUmSvK0gvGrbNp6fn+Pl5SX6vv+wKMmyLNI0jYuLi7i8vIw8z31gAAIEgHPzurrwZ13Xxbdv3+L5+fktUiIi+r7/5T0laZq+PTb1+t+7vLyMT58+ObEKQIAAMGavQfB3qxDDMMTLy8v3f1wuLjwyBYAAAWB3kiTxqBQA7//9MAQAAIAAAQAABAgAAIAAAQAABAgAAIAAAQAABAgAACBAAAAABAgAACBAAAAABAgAACBAAAAAAQIAACBAAAAAAQIAACBAAAAAAQIAAAgQAAAAAQIAAAgQAAAAAQIAAAgQAABAgAAAAAgQAABAgAAAAAgQAABAgAAAAAIEAABAgAAAAAIEAABAgAAAAAIEAABAgAAAAAIEAAAQIAAAAAIEAAAQIAAAAAIEAAAQIAAAgAABAAAQIAAAgAABAAAQIAAAgAABAAAECAAAgAABAAAECAAAgAABAAAECAAAIEAAAAAECAAAIEAAAAAECAAAIEAAAAABAgAAIEAAAAABAgAAIEAAAAABAgAAIEAAAAABAgAACBAAAAABAgAACBAAAAABAgAACBAAAECAAAAACBAAAECAAAAACBAAAECAAAAAAgQAAECAAAAAAgQAAECAAAAAAgQAABAgAAAAAgQAABAgAAAAAgQAABAgAACAAAEAABAgAACAAAEAABAgAACAAAEAAASIIQAAAAQIAAAgQAAAAAQIAAAgQAAAAAQIAAAgQAAAAAECAAAgQAAAAAECAAAgQAAAAAECAAAIEAAAAAECAAAIEAAAAAECAAAIEAAAQIAAAAAIEAAAQIAAAAAIEAAAQIAAAAACBAAAQIAAAAACBAAAQIAAAAACBAAAECAAAAACBAAAECAAAAACBAAAECAAAAACBAAAECAAAIAAAQAAECAAAIAAAQAAECAAAIAAAQAABAgAAIAAAQAABAgAAIAAAQAABAgAACBAAAAAdu0iIqKqKiMBAADs3f8NAFFjCf5mB+leAAAAAElFTkSuQmCC" function ee(e, t, r) { return ( "string" !== typeof e || isNaN(Number(e)) || (e = Number(e)), "number" === typeof e && e < 100 ? ie(e) : "number" === typeof e && e >= 100 ? e : "string" === typeof e && e.indexOf("%") > -1 ? t && "X" === t ? Math.round((parseFloat(e) / 100) * r.width) : t && "Y" === t ? Math.round((parseFloat(e) / 100) * r.height) : Math.round((parseFloat(e) / 100) * r.width) : 0 ) } function te(e) { return e.replace(/[xy]/g, function (e) { var t = (16 * Math.random()) | 0, r = "x" === e ? t : (3 & t) | 8 return r.toString(16) }) } function re(e, t, r) { for ( var n = {}, i = function (e) { var t = o[e] t && Object.keys(t).forEach(function (e) { n[e] = t[e] }) }, o = arguments, a = 0; a <= arguments.length; a++ ) i(a) return n } function ne(e) { return "undefined" === typeof e || null == e ? "" : e.toString().replace(/&/g, "&").replace(//g, ">").replace(/"/g, """).replace(/'/g, "'") } function ie(e) { return "number" === typeof e && e > 100 ? e : ("string" === typeof e && (e = Number(e.replace(/in*/gi, ""))), Math.round(c * e)) } function oe(e) { var t = Number(e) || 0 return isNaN(t) ? 0 : Math.round(t * u) } function ae(e) { return (e = e || 0), Math.round(6e4 * (e > 360 ? e - 360 : e)) } function se(e) { var t = e.toString(16) return 1 === t.length ? "0" + t : t } function le(e, t, r) { return (se(e) + se(t) + se(r)).toUpperCase() } function ce(e, t) { var r = (e || "").replace("#", "") d.test(r) || r === z.background1 || r === z.background2 || r === z.text1 || r === z.text2 || r === z.accent1 || r === z.accent2 || r === z.accent3 || r === z.accent4 || r === z.accent5 || r === z.accent6 || (console.warn( '"' .concat(r, '" is not a valid scheme color or hex RGB! "') .concat(w, "\" used instead. Only provide 6-digit RGB or 'pptx.SchemeColor' values!") ), (r = w)) var n = d.test(r) ? "srgbClr" : "schemeClr", i = 'val="' + (d.test(r) ? r.toUpperCase() : r) + '"' return t ? "").concat(t, "") : "") } function ue(e, t) { var r = "", n = re(t, e), i = Math.round(n["size"] * u), o = n["color"], a = Math.round(1e5 * n["opacity"]) return (r += '')), (r += ce(o, ''))), (r += ""), r } function fe(e) { var t = "solid", r = "", n = "", i = "" if (e) switch ( ("string" === typeof e ? (r = e) : (e.type && (t = e.type), e.color && (r = e.color), e.alpha && (n += '')), e.transparency && (n += ''))), t) ) { case "solid": i += "".concat(ce(r, n), "") break default: i += "" break } return i } function pe(e) { return e._rels.length + e._relsChart.length + e._relsMedia.length + 1 } function de(e, t, r) { var n = 2.3 + (e.options && e.options.autoPageCharWeight ? e.options.autoPageCharWeight : 0), i = Math.floor((t / u) * c) / ((e.options && e.options.fontSize ? e.options.fontSize : x) / n), a = [], s = [], l = [], f = [] e.text && 0 === e.text.toString().trim().length ? s.push({ _type: Y.tablecell, text: " " }) : "number" === typeof e.text || "string" === typeof e.text ? s.push({ _type: Y.tablecell, text: (e.text || "").toString().trim() }) : Array.isArray(e.text) && (s = e.text), r && (console.log("[1/4] inputCells"), s.forEach(function (e, t) { return console.log("[1/4] [".concat(t + 1, "] cell: ").concat(JSON.stringify(e))) })) var p = [] return ( s.forEach(function (e) { "string" === typeof e.text && (e.text.split("\n").length > 1 ? e.text.split("\n").forEach(function (t) { p.push({ _type: Y.tablecell, text: t, options: o(o({}, e.options), { breakLine: !0 }) }) }) : p.push({ _type: Y.tablecell, text: e.text.trim(), options: e.options }), e.options && e.options.breakLine && (r && console.log("inputCells: new line > ".concat(JSON.stringify(p))), l.push(p), (p = []))), p.length > 0 && l.push(p) }), r && (console.log("[2/4] inputLines1 (".concat(l.length, ")")), l.forEach(function (e, t) { return console.log("[2/4] [".concat(t + 1, "] line: ").concat(JSON.stringify(e))) })), l.forEach(function (e) { e.forEach(function (e) { var t = [], r = e.text + "", n = r.split(" ") n.forEach(function (r, i) { var a = o({}, e.options) a && a.breakLine && (a.breakLine = i + 1 === n.length), t.push({ _type: Y.tablecell, text: r + (i + 1 < n.length ? " " : ""), options: a }) }), f.push(t) }) }), r && (console.log("[3/4] inputLines2 (".concat(f.length, ")")), f.forEach(function (e) { return console.log("[3/4] line: ".concat(JSON.stringify(e))) })), f.forEach(function (e) { var t = [], r = "" e.forEach(function (e) { r.length + e.text.length > i && (a.push(t), (t = []), (r = "")), t.push(e), (r += e.text.toString()) }), t.length > 0 && a.push(t) }), r && (console.log("[4/4] parsedLines (".concat(a.length, ")")), a.forEach(function (e, t) { return console.log("[4/4] [Line ".concat(t + 1, "]:\n").concat(JSON.stringify(e))) }), console.log("...............................................\n\n")), a ) } function he(e, t, r, n) { void 0 === e && (e = []), void 0 === t && (t = {}) var i = C, o = 1 * c, a = 1 * c, s = 0, l = 0, u = [], f = ee(t.x, "X", r), p = ee(t.y, "Y", r), d = ee(t.w, "X", r), m = ee(t.h, "Y", r), g = d function y() { var e = 0 0 === u.length && (e = p || ie(i[0])), u.length > 0 && (e = ie(t.autoPageSlideStartY || t.newSlideStartY || i[0])), (a = (m || r.height) - e - ie(i[2])), u.length > 1 && ("number" === typeof t.autoPageSlideStartY ? (a = (m || r.height) - ie(t.autoPageSlideStartY + i[2])) : "number" === typeof t.newSlideStartY ? (a = (m || r.height) - ie(t.newSlideStartY + i[2])) : p && ((a = (m || r.height) - ie((p / c < i[0] ? p / c : i[0]) + i[2])), a < m && (a = m))) } t.verbose && (console.log("[[VERBOSE MODE]]"), console.log("|-- TABLE PROPS --------------------------------------------------------|"), console.log("| presLayout.width ................................ = ".concat((r.width / c).toFixed(1))), console.log("| presLayout.height ............................... = ".concat((r.height / c).toFixed(1))), console.log("| tableProps.x .................................... = ".concat("number" === typeof t.x ? (t.x / c).toFixed(1) : t.x)), console.log("| tableProps.y .................................... = ".concat("number" === typeof t.y ? (t.y / c).toFixed(1) : t.y)), console.log("| tableProps.w .................................... = ".concat("number" === typeof t.w ? (t.w / c).toFixed(1) : t.w)), console.log("| tableProps.h .................................... = ".concat("number" === typeof t.h ? (t.h / c).toFixed(1) : t.h)), console.log("| tableProps.slideMargin .......................... = ".concat(t.slideMargin || "")), console.log("| tableProps.margin ............................... = ".concat(t.margin)), console.log("| tableProps.colW ................................. = ".concat(t.colW)), console.log("| tableProps.autoPageSlideStartY .................. = ".concat(t.autoPageSlideStartY)), console.log("| tableProps.autoPageCharWeight ................... = ".concat(t.autoPageCharWeight)), console.log("|-- CALCULATIONS -------------------------------------------------------|"), console.log("| tablePropX ...................................... = ".concat(f / c)), console.log("| tablePropY ...................................... = ".concat(p / c)), console.log("| tablePropW ...................................... = ".concat(d / c)), console.log("| tablePropH ...................................... = ".concat(m / c)), console.log("| tableCalcW ...................................... = ".concat(g / c))), t.slideMargin || 0 === t.slideMargin || (t.slideMargin = C[0]), n && "undefined" !== typeof n._margin ? Array.isArray(n._margin) ? (i = n._margin) : isNaN(Number(n._margin)) || (i = [Number(n._margin), Number(n._margin), Number(n._margin), Number(n._margin)]) : (t.slideMargin || 0 === t.slideMargin) && (Array.isArray(t.slideMargin) ? (i = t.slideMargin) : isNaN(t.slideMargin) || (i = [t.slideMargin, t.slideMargin, t.slideMargin, t.slideMargin])), t.verbose && console.log("| arrInchMargins .................................. = [".concat(i.join(", "), "]")) var v = e[0] || [] if ( (v.forEach(function (e) { e || (e = { _type: Y.tablecell }) var t = e.options || null l += Number(t && t.colspan ? t.colspan : 1) }), t.verbose && console.log("| numCols ......................................... = ".concat(l)), !d && t.colW && ((g = Array.isArray(t.colW) ? t.colW.reduce(function (e, t) { return e + t }) * c : t.colW * l || 0), t.verbose && console.log("| tableCalcW ...................................... = ".concat(g / c))), (o = g || ie((f ? f / c : i[1]) + i[3])), t.verbose && console.log("| emuSlideTabW .................................... = ".concat((o / c).toFixed(1))), !t.colW || !Array.isArray(t.colW)) ) if (t.colW && !isNaN(Number(t.colW))) { var b = [] v = e[0] || [] v.forEach(function () { return b.push(t.colW) }), (t.colW = []), b.forEach(function (e) { Array.isArray(t.colW) && t.colW.push(e) }) } else { t.colW = [] for (var w = 0; w < l; w++) t.colW.push(o / c / l) } var A = { rows: [] } return ( e.forEach(function (e, r) { var n = [], i = 0, o = 0, l = [] e.forEach(function (e) { l.push({ _type: Y.tablecell, text: [], options: e.options }), e.options.margin && e.options.margin[0] >= 1 ? (e.options.margin && e.options.margin[0] && oe(e.options.margin[0]) > i ? (i = oe(e.options.margin[0])) : t.margin && t.margin[0] && oe(t.margin[0]) > i && (i = oe(t.margin[0])), e.options.margin && e.options.margin[2] && oe(e.options.margin[2]) > o ? (o = oe(e.options.margin[2])) : t.margin && t.margin[2] && oe(t.margin[2]) > o && (o = oe(t.margin[2]))) : (e.options.margin && e.options.margin[0] && ie(e.options.margin[0]) > i ? (i = ie(e.options.margin[0])) : t.margin && t.margin[0] && ie(t.margin[0]) > i && (i = ie(t.margin[0])), e.options.margin && e.options.margin[2] && ie(e.options.margin[2]) > o ? (o = ie(e.options.margin[2])) : t.margin && t.margin[2] && ie(t.margin[2]) > o && (o = ie(t.margin[2]))) }), y(), (s += i + o), t.verbose && 0 === r && console.log("| SLIDE [".concat(u.length, "]: emuSlideTabH ...... = ").concat((a / c).toFixed(1), " ")), e.forEach(function (e, r) { var i = { _type: Y.tablecell, _lines: null, _lineHeight: ie( ((e.options && e.options.fontSize ? e.options.fontSize : t.fontSize ? t.fontSize : x) * (h + (t.autoPageLineWeight ? t.autoPageLineWeight : 0))) / 100 ), text: [], options: e.options } i.options.rowspan && (i._lineHeight = 0), (i.options.autoPageCharWeight = t.autoPageCharWeight ? t.autoPageCharWeight : null) var o = t.colW[r] e.options.colspan && Array.isArray(t.colW) && (o = t.colW .filter(function (t, n) { return n >= r && n < n + e.options.colspan }) .reduce(function (e, t) { return e + t })), (i._lines = de(e, o, !1)), n.push(i) }), t.verbose && console.log("\n| SLIDE [".concat(u.length, "]: ROW [").concat(r, "]: START...")) var f = 0, p = 0, d = !1 while (!d) { var m = n[f], g = l[f] if ( (n.forEach(function (e) { e._lineHeight >= p && (p = e._lineHeight) }), s + p > a) ) { t.verbose && (console.log("\n|-----------------------------------------------------------------------|"), console.log( "|-- NEW SLIDE CREATED (currTabH+currLineH > maxH) => " .concat((s / c).toFixed(2), " + ") .concat((m._lineHeight / c).toFixed(2), " > ") .concat(a / c) ), console.log("|-----------------------------------------------------------------------|\n\n")), l.length > 0 && l .map(function (e) { return e.text.length }) .reduce(function (e, t) { return e + t }) > 0 && A.rows.push(l), u.push(A) var v = [] ;(A = { rows: v }), (l = []), e.forEach(function (e) { return l.push({ _type: Y.tablecell, text: [], options: e.options }) }), y(), (s += i + o), t.verbose && console.log("| SLIDE [".concat(u.length, "]: emuSlideTabH ...... = ").concat((a / c).toFixed(1), " ")), (s = 0), (t.addHeaderToEach || t.autoPageRepeatHeader) && t._arrObjTabHeadRows && t._arrObjTabHeadRows.forEach(function (e) { var t = [], r = 0 e.forEach(function (e) { t.push(e), e._lineHeight > r && (r = e._lineHeight) }), A.rows.push(t), (s += r) }), (g = l[f]) } var b = m._lines.shift() Array.isArray(g.text) && (b ? (g.text = g.text.concat(b)) : 0 === g.text.length && (g.text = g.text.concat({ _type: Y.tablecell, text: "" }))), f === n.length - 1 && (s += p), (f = f < n.length - 1 ? f + 1 : 0) var w = n .map(function (e) { return e._lines.length }) .reduce(function (e, t) { return e + t }) 0 === w && (d = !0) } l.length > 0 && A.rows.push(l), t.verbose && console.log( "- SLIDE [" .concat(u.length, "]: ROW [") .concat(r, "]: ...COMPLETE ...... emuTabCurrH = ") .concat((s / c).toFixed(2), " ( emuSlideTabH = ") .concat((a / c).toFixed(2), " )") ) }), u.push(A), t.verbose && (console.log("\n|================================================|"), console.log("| FINAL: tableRowSlides.length = ".concat(u.length)), u.forEach(function (e) { return console.log(e) }), console.log("|================================================|\n\n")), u ) } function me(e, t, r, n) { void 0 === r && (r = {}) var i = r || {} i.slideMargin = i.slideMargin || 0 === i.slideMargin ? i.slideMargin : 0.5 var o = i.w || e.presLayout.width, s = [], l = [], u = [], f = [], p = [], d = [0.5, 0.5, 0.5, 0.5], h = 0 if (!document.getElementById(t)) throw new Error('tableToSlides: Table ID "' + t + '" does not exist!') n && n._margin ? (Array.isArray(n._margin) ? (d = n._margin) : isNaN(n._margin) || (d = [n._margin, n._margin, n._margin, n._margin]), (i.slideMargin = d)) : i && i.slideMargin && (Array.isArray(i.slideMargin) ? (d = i.slideMargin) : isNaN(i.slideMargin) || (d = [i.slideMargin, i.slideMargin, i.slideMargin, i.slideMargin])), (o = (i.w ? ie(i.w) : e.presLayout.width) - ie(d[1] + d[3])), i.verbose && (console.log("[[VERBOSE MODE]]"), console.log("|-- `tableToSlides` ----------------------------------------------------|"), console.log("| tableProps.h .................................... = ".concat(i.h)), console.log("| tableProps.w .................................... = ".concat(i.w)), console.log("| pptx.presLayout.width ........................... = ".concat((e.presLayout.width / c).toFixed(1))), console.log("| pptx.presLayout.height .......................... = ".concat((e.presLayout.height / c).toFixed(1))), console.log("| emuSlideTabW .................................... = ".concat((o / c).toFixed(1)))) var m = document.querySelectorAll("#".concat(t, " tr:first-child th")) 0 === m.length && (m = document.querySelectorAll("#".concat(t, " tr:first-child td"))), m.forEach(function (e) { if (e.getAttribute("colspan")) for (var t = 0; t < Number(e.getAttribute("colspan")); t++) p.push(Math.round(e.offsetWidth / Number(e.getAttribute("colspan")))) else p.push(e.offsetWidth) }), p.forEach(function (e) { h += e }), p.forEach(function (e, r) { var n = Number(((Number(o) * ((e / h) * 100)) / 100 / c).toFixed(2)), i = 0, a = document.querySelector("#".concat(t, " thead tr:first-child th:nth-child(").concat(r + 1, ")")) a && (i = Number(a.getAttribute("data-pptx-min-width"))) var s = document.querySelector("#".concat(t, " thead tr:first-child th:nth-child(").concat(r + 1, ")")) s && (i = Number(s.getAttribute("data-pptx-width"))), f.push(i > n ? i : n) }), i.verbose && console.log("| arrColW ......................................... = [".concat(f.join(", "), "]")) var g = ["thead", "tbody", "tfoot"] g.forEach(function (e) { document.querySelectorAll("#".concat(t, " ").concat(e, " tr")).forEach(function (t) { var r = [] switch ( (Array.from(t.cells).forEach(function (e) { var t = window .getComputedStyle(e) .getPropertyValue("color") .replace(/\s+/gi, "") .replace("rgba(", "") .replace("rgb(", "") .replace(")", "") .split(","), n = window .getComputedStyle(e) .getPropertyValue("background-color") .replace(/\s+/gi, "") .replace("rgba(", "") .replace("rgb(", "") .replace(")", "") .split(",") ;("rgba(0, 0, 0, 0)" === window.getComputedStyle(e).getPropertyValue("background-color") || window.getComputedStyle(e).getPropertyValue("transparent")) && (n = ["255", "255", "255"]) var i = { align: null, bold: "bold" === window.getComputedStyle(e).getPropertyValue("font-weight") || Number(window.getComputedStyle(e).getPropertyValue("font-weight")) >= 500, border: null, color: le(Number(t[0]), Number(t[1]), Number(t[2])), fill: { color: le(Number(n[0]), Number(n[1]), Number(n[2])) }, fontFace: (window.getComputedStyle(e).getPropertyValue("font-family") || "") .split(",")[0] .replace(/"/g, "") .replace("inherit", "") .replace("initial", "") || null, fontSize: Number(window.getComputedStyle(e).getPropertyValue("font-size").replace(/[a-z]/gi, "")), margin: null, colspan: Number(e.getAttribute("colspan")) || null, rowspan: Number(e.getAttribute("rowspan")) || null, valign: null } if (["left", "center", "right", "start", "end"].indexOf(window.getComputedStyle(e).getPropertyValue("text-align")) > -1) { var o = window.getComputedStyle(e).getPropertyValue("text-align").replace("start", "left").replace("end", "right") i.align = "center" === o ? "center" : "left" === o ? "left" : "right" === o ? "right" : null } if (["top", "middle", "bottom"].indexOf(window.getComputedStyle(e).getPropertyValue("vertical-align")) > -1) { var a = window.getComputedStyle(e).getPropertyValue("vertical-align") i.valign = "top" === a ? "top" : "middle" === a ? "middle" : "bottom" === a ? "bottom" : null } if (window.getComputedStyle(e).getPropertyValue("padding-left")) { i.margin = [0, 0, 0, 0] var s = ["padding-top", "padding-right", "padding-bottom", "padding-left"] s.forEach(function (t, r) { i.margin[r] = Math.round(Number(window.getComputedStyle(e).getPropertyValue(t).replace(/\D/gi, ""))) }) } if ( window.getComputedStyle(e).getPropertyValue("border-top-width") || window.getComputedStyle(e).getPropertyValue("border-right-width") || window.getComputedStyle(e).getPropertyValue("border-bottom-width") || window.getComputedStyle(e).getPropertyValue("border-left-width") ) { i.border = [null, null, null, null] var l = ["top", "right", "bottom", "left"] l.forEach(function (t, r) { var n = Math.round( Number( window .getComputedStyle(e) .getPropertyValue("border-" + t + "-width") .replace("px", "") ) ), o = [] o = window .getComputedStyle(e) .getPropertyValue("border-" + t + "-color") .replace(/\s+/gi, "") .replace("rgba(", "") .replace("rgb(", "") .replace(")", "") .split(",") var a = le(Number(o[0]), Number(o[1]), Number(o[2])) i.border[r] = { pt: n, color: a } }) } r.push({ _type: Y.tablecell, text: e.innerText, options: i }) }), e) ) { case "thead": s.push(r) break case "tbody": l.push(r) break case "tfoot": u.push(r) break default: console.log("table parsing: unexpected table part: ".concat(e)) break } }) }), (i._arrObjTabHeadRows = s || null), (i.colW = f), he(a(a(a([], s, !0), l, !0), u, !0), i, e.presLayout, n).forEach(function (t, r) { var n = e.addSlide({ masterName: i.masterSlideName || null }) 0 === r && (i.y = i.y || d[0]), r > 0 && (i.y = i.autoPageSlideStartY || i.newSlideStartY || d[0]), i.verbose && console.log( "| opts.autoPageSlideStartY: " .concat(i.autoPageSlideStartY, " / arrInchMargins[0]: ") .concat(d[0], " => opts.y = ") .concat(i.y) ), n.addTable(t.rows, { x: i.x || d[3], y: i.y, w: Number(o) / c, colW: f, autoPage: !1 }), i.addImage && ((i.addImage.options = i.addImage.options || {}), i.addImage.image && (i.addImage.image.path || i.addImage.image.data) ? n.addImage({ path: i.addImage.image.path, data: i.addImage.image.data, x: i.addImage.options.x, y: i.addImage.options.y, w: i.addImage.options.w, h: i.addImage.options.h }) : console.warn("Warning: tableToSlides.addImage requires either `path` or `data`")), i.addShape && n.addShape(i.addShape.shape, i.addShape.options || {}), i.addTable && n.addTable(i.addTable.rows, i.addTable.options || {}), i.addText && n.addText(i.addText.text, i.addText.options || {}) }) } var ge = { cover: function (e, t) { var r = e.h / e.w, n = t.h / t.w, i = n > r, o = i ? t.h / r : t.w, a = i ? t.h : t.w * r, s = Math.round(5e4 * (1 - t.w / o)), l = Math.round(5e4 * (1 - t.h / a)) return '' }, contain: function (e, t) { var r = e.h / e.w, n = t.h / t.w, i = n > r, o = i ? t.w : t.h / r, a = i ? t.w * r : t.h, s = Math.round(5e4 * (1 - t.w / o)), l = Math.round(5e4 * (1 - t.h / a)) return '' }, crop: function (e, t) { var r = t.x, n = e.w - (t.x + t.w), i = t.y, o = e.h - (t.y + t.h), a = Math.round((r / e.w) * 1e5), s = Math.round((n / e.w) * 1e5), l = Math.round((i / e.h) * 1e5), c = Math.round((o / e.h) * 1e5) return '' } } function ye(e) { var t = e._name ? '' : "", r = 1 return ( e._bkgdImgRid ? (t += '' )) : e.background && e.background.color ? (t += "".concat(fe(e.background), "")) : !e.bkgd && e._name && e._name === T && (t += ''), (t += ""), (t += ''), (t += ''), (t += ''), e._slideObjects.forEach(function (n, i) { var o, s, l = 0, u = 0, f = ee("75%", "X", e._presLayout), p = 0, d = "" switch ( (void 0 !== e._slideLayout && void 0 !== e._slideLayout._slideObjects && n.options && n.options.placeholder && (s = e._slideLayout._slideObjects.filter(function (e) { return e.options.placeholder === n.options.placeholder })[0]), (n.options = n.options || {}), "undefined" !== typeof n.options.x && (l = ee(n.options.x, "X", e._presLayout)), "undefined" !== typeof n.options.y && (u = ee(n.options.y, "Y", e._presLayout)), "undefined" !== typeof n.options.w && (f = ee(n.options.w, "X", e._presLayout)), "undefined" !== typeof n.options.h && (p = ee(n.options.h, "Y", e._presLayout)), s && ((s.options.x || 0 === s.options.x) && (l = ee(s.options.x, "X", e._presLayout)), (s.options.y || 0 === s.options.y) && (u = ee(s.options.y, "Y", e._presLayout)), (s.options.w || 0 === s.options.w) && (f = ee(s.options.w, "X", e._presLayout)), (s.options.h || 0 === s.options.h) && (p = ee(s.options.h, "Y", e._presLayout))), n.options.flipH && (d += ' flipH="1"'), n.options.flipV && (d += ' flipV="1"'), n.options.rotate && (d += ' rot="' + ae(n.options.rotate) + '"'), n._type) ) { case Y.table: var h, m = n.arrTabRows, g = n.options, v = 0, b = 0 m[0].forEach(function (e) { ;(h = e.options || null), (v += h && h.colspan ? Number(h.colspan) : 1) }) var w = '') if ( ((w += ' '), (w += '')), (w += ''), Array.isArray(g.colW)) ) { w += "" for (var x = 0; x < v; x++) { var A = ie(g.colW[x]) ;(null == A || isNaN(A)) && (A = ("number" === typeof n.options.w ? n.options.w : 1) / v), (w += '') } w += "" } else { ;(b = g.colW ? g.colW : c), n.options.w && !g.colW && (b = Math.round(("number" === typeof n.options.w ? n.options.w : 1) / v)), (w += "") for (var _ = 0; _ < v; _++) w += '' w += "" } m.forEach(function (e) { for ( var t, r, n, i = function (i) { var o = e[i], s = null === (t = o.options) || void 0 === t ? void 0 : t.colspan, l = null === (r = o.options) || void 0 === r ? void 0 : r.rowspan if (s && s > 1) { var c = new Array(s - 1).fill(void 0).map(function (e) { return { _type: Y.tablecell, options: { rowspan: l }, _hmerge: !0 } }) e.splice.apply(e, a([i + 1, 0], c, !1)), (i += s) } else i += 1 n = i }, o = 0; o < e.length; ) i(o), (o = n) }), m.forEach(function (e, t) { var r = m[t + 1] r && e.forEach(function (e, t) { var n, i, o = e._rowContinue || (null === (n = e.options) || void 0 === n ? void 0 : n.rowspan), a = null === (i = e.options) || void 0 === i ? void 0 : i.colspan, s = e._hmerge if (o && o > 1) { var l = { _type: Y.tablecell, options: { colspan: a }, _rowContinue: o - 1, _vmerge: !0, _hmerge: s } r.splice(t, 0, l) } }) }), m.forEach(function (e, t) { var r = 0 Array.isArray(g.rowH) && g.rowH[t] ? (r = ie(Number(g.rowH[t]))) : g.rowH && !isNaN(Number(g.rowH)) ? (r = ie(Number(g.rowH))) : (n.options.cy || n.options.h) && (r = Math.round((n.options.h ? ie(n.options.h) : "number" === typeof n.options.cy ? n.options.cy : 1) / m.length)), (w += '')), e.forEach(function (e) { var t, r, n = e, i = { rowSpan: (null === (t = n.options) || void 0 === t ? void 0 : t.rowspan) > 1 ? n.options.rowspan : void 0, gridSpan: (null === (r = n.options) || void 0 === r ? void 0 : r.colspan) > 1 ? n.options.colspan : void 0, vMerge: n._vmerge ? 1 : void 0, hMerge: n._hmerge ? 1 : void 0 }, o = Object.keys(i) .map(function (e) { return [e, i[e]] }) .filter(function (e) { e[0] var t = e[1] return !!t }) .map(function (e) { var t = e[0], r = e[1] return "".concat(t, '="').concat(r, '"') }) .join(" ") if ((o && (o = " " + o), n._hmerge || n._vmerge)) w += "") else { var a = n.options || {} ;(n.options = a), [ "align", "bold", "border", "color", "fill", "fontFace", "fontSize", "margin", "underline", "valign" ].forEach(function (e) { g[e] && !a[e] && 0 !== a[e] && (a[e] = g[e]) }) var s = a.valign ? ' anchor="' + a.valign .replace(/^c$/i, "ctr") .replace(/^m$/i, "ctr") .replace("center", "ctr") .replace("middle", "ctr") .replace("top", "t") .replace("btm", "b") .replace("bottom", "b") + '"' : "", l = n._optImp && n._optImp.fill && n._optImp.fill.color ? n._optImp.fill.color : n._optImp && n._optImp.fill && "string" === typeof n._optImp.fill ? n._optImp.fill : "" l = l || a.fill ? a.fill : "" var c = l ? fe(l) : "", u = 0 === a.margin || a.margin ? a.margin : y Array.isArray(u) || "number" !== typeof u || (u = [u, u, u, u]) var f = "" ;(f = u[0] >= 1 ? ' marL="' .concat(oe(u[3]), '" marR="') .concat(oe(u[1]), '" marT="') .concat(oe(u[0]), '" marB="') .concat(oe(u[2]), '"') : ' marL="' .concat(ie(u[3]), '" marR="') .concat(ie(u[1]), '" marT="') .concat(ie(u[0]), '" marB="') .concat(ie(u[2]), '"')), (w += "").concat(_e(n), "")), a.border && Array.isArray(a.border) && [ { idx: 3, name: "lnL" }, { idx: 1, name: "lnR" }, { idx: 0, name: "lnT" }, { idx: 2, name: "lnB" } ].forEach(function (e) { "none" !== a.border[e.idx].type ? ((w += "')), (w += "".concat(ce(a.border[e.idx].color), "")), (w += '' )), (w += ""))) : (w += "")) }), (w += c), (w += " "), (w += " ") } }), (w += "") }), (w += " "), (w += " "), (w += " "), (w += ""), (t += w), r++ break case Y.text: case Y.placeholder: if ( (n.options.line || 0 !== p || (p = 0.3 * c), n.options._bodyProp || (n.options._bodyProp = {}), n.options.margin && Array.isArray(n.options.margin) ? ((n.options._bodyProp.lIns = oe(n.options.margin[0] || 0)), (n.options._bodyProp.rIns = oe(n.options.margin[1] || 0)), (n.options._bodyProp.bIns = oe(n.options.margin[2] || 0)), (n.options._bodyProp.tIns = oe(n.options.margin[3] || 0))) : "number" === typeof n.options.margin && ((n.options._bodyProp.lIns = oe(n.options.margin)), (n.options._bodyProp.rIns = oe(n.options.margin)), (n.options._bodyProp.bIns = oe(n.options.margin)), (n.options._bodyProp.tIns = oe(n.options.margin))), (t += ""), (t += '')), n.options.hyperlink && n.options.hyperlink.url && (t += ''), n.options.hyperlink && n.options.hyperlink.slide && (t += ''), (t += ""), (t += "' : "/>")), (t += "".concat("placeholder" === n._type ? Te(n) : Te(s), "")), (t += ""), (t += "")), (t += '')), (t += '')), "custGeom" === n.shape) ) (t += ""), (t += ""), (t += ""), (t += ""), (t += ""), (t += ""), (t += ''), (t += ""), (t += '')), null === (o = n.options.points) || void 0 === o || o.map(function (r, n) { if ("curve" in r) switch (r.curve.type) { case "arc": t += '') break case "cubic": t += '\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t') break case "quadratic": t += '\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t') break } else "close" in r ? (t += "") : r.moveTo || 0 === n ? (t += '')) : (t += '')) }), (t += ""), (t += ""), (t += "") else { if (((t += ''), n.options.rectRadius)) t += '') else if (n.options.angleRange) { for (var T = 0; T < 2; T++) { var E = n.options.angleRange[T] t += '') } n.options.arcThicknessRatio && (t += '')) } t += "" } ;(t += n.options.fill ? fe(n.options.fill) : ""), n.options.line && ((t += n.options.line.width ? '') : ""), n.options.line.color && (t += fe(n.options.line)), n.options.line.dashType && (t += '')), n.options.line.beginArrowType && (t += '')), n.options.line.endArrowType && (t += '')), (t += "")), n.options.shadow && ((n.options.shadow.type = n.options.shadow.type || "outer"), (n.options.shadow.blur = oe(n.options.shadow.blur || 8)), (n.options.shadow.offset = oe(n.options.shadow.offset || 4)), (n.options.shadow.angle = Math.round(6e4 * (n.options.shadow.angle || 270))), (n.options.shadow.opacity = Math.round(1e5 * (n.options.shadow.opacity || 0.75))), (n.options.shadow.color = n.options.shadow.color || k.color), (t += ""), (t += "'), (t += ''), (t += ''), (t += ""), (t += "")), (t += ""), (t += _e(n)), (t += "") break case Y.image: var S = n.options.sizing, C = n.options.rounding, L = f, P = p if ( ((t += ""), (t += " "), (t += '')), n.hyperlink && n.hyperlink.url && (t += '')), n.hyperlink && n.hyperlink.slide && (t += '')), (t += " "), (t += ' '), (t += " " + Te(s) + ""), (t += " "), (t += ""), (e._relsMedia || []).filter(function (e) { return e.rId === n.imageRid })[0] && "svg" === (e._relsMedia || []).filter(function (e) { return e.rId === n.imageRid })[0]["extn"] ? ((t += ''), (t += n.options.transparency ? ' ') : ""), (t += " "), (t += ' '), (t += ' '), (t += " "), (t += " "), (t += "")) : ((t += ''), (t += n.options.transparency ? ' ') : ""), (t += "")), S && S.type) ) { var O = S.w ? ee(S.w, "X", e._presLayout) : f, j = S.h ? ee(S.h, "Y", e._presLayout) : p, R = ee(S.x || 0, "X", e._presLayout), I = ee(S.y || 0, "Y", e._presLayout) ;(t += ge[S.type]( { w: L, h: P }, { w: O, h: j, x: R, y: I } )), (L = O), (P = j) } else t += " " ;(t += ""), (t += ""), (t += " "), (t += ' '), (t += ' '), (t += " "), (t += ' '), (t += ""), (t += "") break case Y.media: "online" === n.mtype ? ((t += ""), (t += " "), (t += '')), (t += " "), (t += " "), (t += ' '), (t += " "), (t += " "), (t += ' '), (t += " "), (t += " "), (t += ' '), (t += ' '), (t += " "), (t += ' '), (t += " "), (t += "")) : ((t += ""), (t += " "), (t += '')), (t += ' '), (t += " "), (t += " ')), (t += " "), (t += ' '), (t += ' '), (t += " "), (t += " "), (t += " "), (t += " "), (t += ' '), (t += " "), (t += " "), (t += ' '), (t += ' '), (t += " "), (t += ' '), (t += " "), (t += "")) break case Y.chart: ;(t += ""), (t += " "), (t += ' ')), (t += " "), (t += " ".concat(Te(s), "")), (t += " "), (t += ' ')), (t += ' '), (t += ' '), (t += ' ')), (t += " "), (t += " "), (t += "") break default: t += "" break } }), e._slideNumberProps && (e._slideNumberProps.align || (e._slideNumberProps.align = "left"), (t += ' '), (t += ""), (t += ""), (t += " "), (e._slideNumberProps.fontFace || e._slideNumberProps.fontSize || e._slideNumberProps.color) && ((t += '')), e._slideNumberProps.color && (t += fe(e._slideNumberProps.color)), e._slideNumberProps.fontFace && (t += '')), (t += "")), (t += ""), (t += ""), e._slideNumberProps.align.startsWith("l") ? (t += '') : e._slideNumberProps.align.startsWith("c") ? (t += '') : e._slideNumberProps.align.startsWith("r") ? (t += '') : (t += ''), (t += '')), (t += "".concat(e._slideNum, '')), (t += "")), (t += ""), (t += ""), t ) } function ve(e, t) { var r = 0, n = '' + f + '' return ( e._rels.forEach(function (e) { ;(r = Math.max(r, e.rId)), e.type.toLowerCase().indexOf("hyperlink") > -1 ? "slide" === e.data ? (n += '') : (n += '') : e.type.toLowerCase().indexOf("notesSlide") > -1 && (n += '') }), (e._relsChart || []).forEach(function (e) { ;(r = Math.max(r, e.rId)), (n += '') }), (e._relsMedia || []).forEach(function (e) { ;(r = Math.max(r, e.rId)), e.type.toLowerCase().indexOf("image") > -1 ? (n += '') : e.type.toLowerCase().indexOf("audio") > -1 ? n.indexOf(' Target="' + e.Target + '"') > -1 ? (n += '') : (n += '') : e.type.toLowerCase().indexOf("video") > -1 ? n.indexOf(' Target="' + e.Target + '"') > -1 ? (n += '') : (n += '') : e.type.toLowerCase().indexOf("online") > -1 && (n.indexOf(' Target="' + e.Target + '"') > -1 ? (n += '') : (n += '')) }), t.forEach(function (e, t) { n += '' }), (n += ""), n ) } function be(e, t) { var r = "", n = "", i = "", o = "", a = t ? "a:lvl1pPr" : "a:pPr", s = oe(m), l = "<".concat(a).concat(e.options.rtlMode ? ' rtl="1" ' : "") if (e.options.align) switch (e.options.align) { case "left": l += ' algn="l"' break case "right": l += ' algn="r"' break case "center": l += ' algn="ctr"' break case "justify": l += ' algn="just"' break default: l += "" break } if ( (e.options.lineSpacing ? (n = '')) : e.options.lineSpacingMultiple && (n = '')), e.options.indentLevel && !isNaN(Number(e.options.indentLevel)) && e.options.indentLevel > 0 && (l += ' lvl="'.concat(e.options.indentLevel, '"')), e.options.paraSpaceBefore && !isNaN(Number(e.options.paraSpaceBefore)) && e.options.paraSpaceBefore > 0 && (i += '')), e.options.paraSpaceAfter && !isNaN(Number(e.options.paraSpaceAfter)) && e.options.paraSpaceAfter > 0 && (i += '')), "object" === typeof e.options.bullet) ) if ((e && e.options && e.options.bullet && e.options.bullet.indent && (s = oe(e.options.bullet.indent)), e.options.bullet.type)) "number" === e.options.bullet.type.toString().toLowerCase() && ((l += ' marL="' .concat(e.options.indentLevel && e.options.indentLevel > 0 ? s + s * e.options.indentLevel : s, '" indent="-') .concat(s, '"')), (r = ''))) else if (e.options.bullet.characterCode) { var c = "".concat(e.options.bullet.characterCode, ";") !1 === /^[0-9A-Fa-f]{4}$/.test(e.options.bullet.characterCode) && (console.warn("Warning: `bullet.characterCode should be a 4-digit unicode charatcer (ex: 22AB)`!"), (c = Z["DEFAULT"])), (l += ' marL="' .concat(e.options.indentLevel && e.options.indentLevel > 0 ? s + s * e.options.indentLevel : s, '" indent="-') .concat(s, '"')), (r = '') } else if (e.options.bullet.code) { c = "".concat(e.options.bullet.code, ";") !1 === /^[0-9A-Fa-f]{4}$/.test(e.options.bullet.code) && (console.warn("Warning: `bullet.code should be a 4-digit hex code (ex: 22AB)`!"), (c = Z["DEFAULT"])), (l += ' marL="' .concat(e.options.indentLevel && e.options.indentLevel > 0 ? s + s * e.options.indentLevel : s, '" indent="-') .concat(s, '"')), (r = '') } else (l += ' marL="' .concat(e.options.indentLevel && e.options.indentLevel > 0 ? s + s * e.options.indentLevel : s, '" indent="-') .concat(s, '"')), (r = '')) else !0 === e.options.bullet ? ((l += ' marL="' .concat(e.options.indentLevel && e.options.indentLevel > 0 ? s + s * e.options.indentLevel : s, '" indent="-') .concat(s, '"')), (r = ''))) : !1 === e.options.bullet && ((l += ' indent="0" marL="0"'), (r = "")) if (e.options.tabStops && Array.isArray(e.options.tabStops)) { var u = e.options.tabStops .map(function (e) { return '') }) .join("") o = "".concat(u, "") } return (l += ">" + n + i + r + o), t && (l += we(e.options, !0)), (l += "" + a + ">"), l } function we(e, t) { var r, n = "", i = t ? "a:defRPr" : "a:rPr" if ( ((n += "<" + i + ' lang="' + (e.lang ? e.lang : "en-US") + '"' + (e.lang ? ' altLang="en-US"' : "")), (n += e.fontSize ? ' sz="' + Math.round(e.fontSize) + '00"' : ""), (n += e.hasOwnProperty("bold") ? ' b="'.concat(e.bold ? 1 : 0, '"') : ""), (n += e.hasOwnProperty("italic") ? ' i="'.concat(e.italic ? 1 : 0, '"') : ""), (n += e.hasOwnProperty("strike") ? ' strike="'.concat("string" === typeof e.strike ? e.strike : "sngStrike", '"') : ""), "object" === typeof e.underline && (null === (r = e.underline) || void 0 === r ? void 0 : r.style) ? (n += ' u="'.concat(e.underline.style, '"')) : "string" === typeof e.underline ? (n += ' u="'.concat(e.underline, '"')) : e.hyperlink && (n += ' u="sng"'), e.baseline ? (n += ' baseline="'.concat(Math.round(50 * e.baseline), '"')) : e.subscript ? (n += ' baseline="-40000"') : e.superscript && (n += ' baseline="30000"'), (n += e.charSpacing ? ' spc="'.concat(Math.round(100 * e.charSpacing), '" kern="0"') : ""), (n += ' dirty="0">'), (e.color || e.fontFace || e.outline || ("object" === typeof e.underline && e.underline.color)) && (e.outline && "object" === typeof e.outline && (n += '').concat(fe(e.outline.color || "FFFFFF"), "")), e.color && (n += fe({ color: e.color, transparency: e.transparency })), e.highlight && (n += "".concat(ce(e.highlight), "")), "object" === typeof e.underline && e.underline.color && (n += "".concat(fe(e.underline.color), "")), e.glow && (n += "".concat(ue(e.glow, L), "")), e.fontFace && (n += ''))), e.hyperlink) ) { if ("object" !== typeof e.hyperlink) throw new Error("ERROR: text `hyperlink` option should be an object. Ex: `hyperlink:{url:'https://github.com'}` ") if (!e.hyperlink.url && !e.hyperlink.slide) throw new Error("ERROR: 'hyperlink requires either `url` or `slide`'") e.hyperlink.url ? (n += '" : "/>")) : e.hyperlink.slide && (n += '" : "/>")), e.color && ((n += "\t"), (n += '\t\t'), (n += '\t\t\t'), (n += "\t\t"), (n += "\t"), (n += "")) } return (n += "".concat(i, ">")), n } function xe(e) { return e.text ? "".concat(we(e.options, !1), "").concat(ne(e.text), "") : "" } function Ae(e) { var t = ""), e.options.fit && ("none" === e.options.fit ? (t += "") : "shrink" === e.options.fit ? (t += "") : "resize" === e.options.fit && (t += "")), e.options.shrinkText && (t += ""), (t += !1 !== e.options._bodyProp.autoFit ? "" : ""), (t += "")) : ((t += ' wrap="square" rtlCol="0">'), (t += "")), e._type === Y.tablecell ? "" : t ) } function _e(e) { var t = e.options || {}, r = [], n = [] if (t && e._type !== Y.tablecell && ("undefined" === typeof e.text || null === e.text)) return "" var i = e._type === Y.tablecell ? "" : "" ;(i += Ae(e)), 0 === t.h && t.line && t.align ? (i += '') : "placeholder" === e._type ? (i += "".concat(be(e, !0), "")) : (i += ""), "string" === typeof e.text || "number" === typeof e.text ? r.push({ text: e.text.toString(), options: t || {} }) : e.text && !Array.isArray(e.text) && "object" === typeof e.text && Object.keys(e.text).indexOf("text") > -1 ? r.push({ text: e.text || "", options: e.options || {} }) : Array.isArray(e.text) && (r = e.text.map(function (e) { return { text: e.text, options: e.options } })), r.forEach(function (e, r) { e.text || (e.text = ""), (e.options = e.options || t || {}), 0 === r && e.options && !e.options.bullet && t.bullet && (e.options.bullet = t.bullet), ("string" !== typeof e.text && "number" !== typeof e.text) || (e.text = e.text.toString().replace(/\r*\n/g, f)), e.text.indexOf(f) > -1 && null === e.text.match(/\n$/g) ? e.text.split(f).forEach(function (t) { ;(e.options.breakLine = !0), n.push({ text: t, options: e.options }) }) : n.push(e) }) var o = [], a = [] return ( n.forEach(function (e, r) { a.length > 0 && (e.options.align || t.align) ? e.options.align != n[r - 1].options.align && (o.push(a), (a = [])) : a.length > 0 && e.options.bullet && a.length > 0 && (o.push(a), (a = []), (e.options.breakLine = !1)), a.push(e), a.length > 0 && e.options.breakLine && r + 1 < n.length && (o.push(a), (a = [])), r + 1 === n.length && o.push(a) }), o.forEach(function (r) { var n = !1 i += "" var o = " 0 && e.options.softBreakBefore && (i += ""), (e.options.align = e.options.align || t.align), (e.options.lineSpacing = e.options.lineSpacing || t.lineSpacing), (e.options.lineSpacingMultiple = e.options.lineSpacingMultiple || t.lineSpacingMultiple), (e.options.indentLevel = e.options.indentLevel || t.indentLevel), (e.options.paraSpaceBefore = e.options.paraSpaceBefore || t.paraSpaceBefore), (e.options.paraSpaceAfter = e.options.paraSpaceAfter || t.paraSpaceAfter), (o = be(e, !1)), (i += o.replace("", "")), Object.entries(t).forEach(function (t) { var r = t[0], n = t[1] ;(e.options.hyperlink && "color" === r) || "bullet" === r || e.options[r] || (e.options[r] = n) }), (i += xe(e)), ((!e.text && t.fontSize) || e.options.fontSize) && ((n = !0), (t.fontSize = t.fontSize || e.options.fontSize)) }), e._type === Y.tablecell && (t.fontSize || t.fontFace) ? t.fontFace ? ((i += ''), (i += '')), (i += '')), (i += '')), (i += "")) : (i += '') : (i += n ? '' : '')), (i += "") }), (i += e._type === Y.tablecell ? "" : ""), i ) } function Te(e) { if (!e) return "" var t = e.options && e.options._placeholderIdx ? e.options._placeholderIdx : "", r = e.options && e.options._placeholderType ? e.options._placeholderType : "" return " 0 ? ' hasCustomPrompt="1"' : "", "\n\t\t/>") } function Ee(e, t, r) { var n = '' + f return ( (n += ''), (n += ''), (n += ''), (n += ''), (n += ''), (n += ''), (n += ''), (n += ''), (n += ''), e.forEach(function (e) { ;(e._relsMedia || []).forEach(function (e) { "image" !== e.type && "online" !== e.type && "chart" !== e.type && "m4v" !== e.extn && -1 === n.indexOf(e.type) && (n += '') }) }), (n += ''), (n += ''), (n += ''), (n += ''), e.forEach(function (e, t) { ;(n += ''), (n += ''), e._relsChart.forEach(function (e) { n += ' ' }) }), (n += ''), (n += ''), (n += ''), (n += ''), t.forEach(function (e, t) { ;(n += ''), (e._relsChart || []).forEach(function (e) { n += ' ' }) }), e.forEach(function (e, t) { n += ' ' }), r._relsChart.forEach(function (e) { n += ' ' }), r._relsMedia.forEach(function (e) { "image" !== e.type && "online" !== e.type && "chart" !== e.type && "m4v" !== e.extn && -1 === n.indexOf(e.type) && (n += ' ') }), (n += ' '), (n += ' '), (n += ""), n ) } function Se() { return ''.concat( f, '\n\t\t\n\t\t\n\t\t\n\t\t' ) } function Ce(e, t) { return '' .concat( f, '\n\t0\n\t0\n\tMicrosoft Office PowerPoint\n\tOn-screen Show (16:9)\n\t0\n\t' ) .concat(e.length, "\n\t") .concat( e.length, '\n\t0\n\t0\n\tfalse\n\t\n\t\t\n\t\t\tFonts Used\n\t\t\t2\n\t\t\tTheme\n\t\t\t1\n\t\t\tSlide Titles\n\t\t\t' ) .concat(e.length, '\n\t\t\n\t\n\t\n\t\t\n\t\t\tArial\n\t\t\tCalibri\n\t\t\tOffice Theme\n\t\t\t' ) .concat( e .map(function (e, t) { return "Slide " + (t + 1) + "\n" }) .join(""), "\n\t\t\n\t\n\t" ) .concat( t, "\n\tfalse\n\tfalse\n\tfalse\n\t16.0000\n\t" ) } function ke(e, t, r, n) { return '\n\t\n\t\t' .concat(ne(e), "\n\t\t") .concat(ne(t), "\n\t\t") .concat(ne(r), "\n\t\t") .concat(ne(r), "\n\t\t") .concat(n, '\n\t\t') .concat(new Date().toISOString().replace(/\.\d\d\dZ/, "Z"), '\n\t\t') .concat(new Date().toISOString().replace(/\.\d\d\dZ/, "Z"), "\n\t") } function Le(e) { var t = 1, r = '' + f ;(r += ''), (r += '') for (var n = 1; n <= e.length; n++) r += '' return ( t++, (r += ''), r ) } function Pe(e) { return ( ''.concat(f) + '") + "".concat(ye(e)) + "" ) } function Oe(e) { var t = "" return ( e._slideObjects.forEach(function (e) { e._type === Y.notes && (t += e.text && e.text[0] ? e.text[0].text : "") }), t.replace(/\r*\n/g, f) ) } function je() { return ''.concat( f, '7/23/19Click to edit Master text stylesSecond levelThird levelFourth levelFifth level‹#›' ) } function Re(e) { return ( '' + f + '' + ne(Oe(e)) + '' + e._slideNum + '' ) } function Ie(e) { return '\n\t\t\n\t\t'.concat( ye(e), "\n\t\t" ) } function Ne(e, t) { var r = t.map(function (t, r) { return '' }), n = '' + f return ( (n += ''), (n += ye(e)), (n += ''), (n += "" + r.join("") + ""), (n += ''), (n += ' '), (n += ""), n ) } function Me(e, t) { return ve(t[e - 1], [ { target: "../slideMasters/slideMaster1.xml", type: "http://schemas.openxmlformats.org/officeDocument/2006/relationships/slideMaster" } ]) } function De(e, t, r) { return ve(e[r - 1], [ { target: "../slideLayouts/slideLayout" + ze(e, t, r) + ".xml", type: "http://schemas.openxmlformats.org/officeDocument/2006/relationships/slideLayout" }, { target: "../notesSlides/notesSlide" + r + ".xml", type: "http://schemas.openxmlformats.org/officeDocument/2006/relationships/notesSlide" } ]) } function Be(e) { return '\n\t\t\n\t\t\t\n\t\t\t\n\t\t' ) } function Fe(e, t) { var r = t.map(function (e, t) { return { target: "../slideLayouts/slideLayout".concat(t + 1, ".xml"), type: "http://schemas.openxmlformats.org/officeDocument/2006/relationships/slideLayout" } }) return ( r.push({ target: "../theme/theme1.xml", type: "http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme" }), ve(e, r) ) } function Ue() { return ''.concat( f, '\n\t\t\n\t\t' ) } function ze(e, t, r) { for (var n = 0; n < t.length; n++) if (t[n]._name === e[r - 1]._slideLayout._name) return n + 1 return 1 } function qe() { return ''.concat( f, '' ) } function Ge(e) { var t = ''.concat(f) + '' ) ;(t += ''), (t += ""), e.slides.forEach(function (e) { return (t += '')) }), (t += ""), (t += '')), (t += '')), (t += '')), (t += "") for (var r = 1; r < 10; r++) t += "') + '' + "") return ( (t += ""), e.sections && e.sections.length > 0 && ((t += ''), (t += ''), e.sections.forEach(function (e) { ;(t += '')), e._slides.forEach(function (e) { return (t += '')) }), (t += "") }), (t += ""), (t += ''), (t += "")), (t += ""), t ) } function We() { return ''.concat( f, '' ) } function Ve() { return ''.concat( f, '' ) } function He() { return ''.concat( f, '' ) } function Xe(e) { e && "object" === typeof e && ("outer" !== e.type && "inner" !== e.type && "none" !== e.type && (console.warn("Warning: shadow.type options are `outer`, `inner` or `none`."), (e.type = "outer")), e.angle && ((isNaN(Number(e.angle)) || e.angle < 0 || e.angle > 359) && (console.warn("Warning: shadow.angle can only be 0-359"), (e.angle = 270)), (e.angle = Math.round(Number(e.angle)))), e.opacity && ((isNaN(Number(e.opacity)) || e.opacity < 0 || e.opacity > 1) && (console.warn("Warning: shadow.opacity can only be 0-1"), (e.opacity = 0.75)), (e.opacity = Number(e.opacity)))) } var Ye = 0 function Ke(e, t) { e.bkgd && (t.bkgd = e.bkgd), e.objects && Array.isArray(e.objects) && e.objects.length > 0 && e.objects.forEach(function (e, r) { var n = Object.keys(e)[0], i = t X[n] && "chart" === n ? Ze(i, e[n].type, e[n].data, e[n].opts) : X[n] && "image" === n ? Qe(i, e[n]) : X[n] && "line" === n ? et(i, W.LINE, e[n]) : X[n] && "rect" === n ? et(i, W.RECTANGLE, e[n]) : X[n] && "text" === n ? rt( i, [ { text: e[n].text } ], e[n].options, !1 ) : X[n] && "placeholder" === n && ((e[n].options.placeholder = e[n].options.name), delete e[n].options.name, (e[n].options._placeholderType = e[n].options.type), delete e[n].options.type, (e[n].options._placeholderIdx = 100 + r), rt( i, [ { text: e[n].text } ], e[n].options, !0 )) }), e.slideNumber && "object" === typeof e.slideNumber && (t._slideNumberProps = e.slideNumber) } function Ze(e, t, r, n) { function i(e) { e && "none" !== e.style && (void 0 !== e.size && (isNaN(Number(e.size)) || e.size <= 0) && (console.warn("Warning: chart.gridLine.size must be greater than 0."), delete e.size), e.style && ["solid", "dash", "dot"].indexOf(e.style) < 0 && (console.warn("Warning: chart.gridLine.style options: `solid`, `dash`, `dot`."), delete e.style)) } var o, a, s = ++Ye, l = { _type: null, text: null, options: null, chartRid: null }, c = [] return ( Array.isArray(t) ? (t.forEach(function (e) { c = c.concat(e.data) }), (o = r || n)) : ((c = r), (o = n)), c.forEach(function (e, t) { ;(e._dataIndex = t), void 0 === e.labels || Array.isArray(e.labels[0]) || (e.labels = [e.labels]) }), (a = o && "object" === typeof o ? o : {}), (a._type = t), (a.x = "undefined" === typeof a.x || null == a.x || isNaN(Number(a.x)) ? 1 : a.x), (a.y = "undefined" === typeof a.y || null == a.y || isNaN(Number(a.y)) ? 1 : a.y), (a.w = a.w || "50%"), (a.h = a.h || "50%"), (a.objectName = a.objectName ? ne(a.objectName) : "Chart ".concat( e._slideObjects.filter(function (e) { return e._type === Y.chart }).length )), ["bar", "col"].indexOf(a.barDir || "") < 0 && (a.barDir = "col"), a._type === V.AREA && ["stacked", "standard", "percentStacked"].indexOf(a.barGrouping || "") < 0 && (a.barGrouping = "standard"), a._type === V.BAR && ["clustered", "stacked", "percentStacked"].indexOf(a.barGrouping || "") < 0 && (a.barGrouping = "clustered"), a._type === V.BAR3D && ["clustered", "stacked", "standard", "percentStacked"].indexOf(a.barGrouping || "") < 0 && (a.barGrouping = "standard"), a.barGrouping && a.barGrouping.indexOf("tacked") > -1 && (a.barGapWidthPct || (a.barGapWidthPct = 50)), a.dataLabelPosition && ((a._type !== V.AREA && a._type !== V.BAR3D && a._type !== V.DOUGHNUT && a._type !== V.RADAR) || delete a.dataLabelPosition, a._type === V.PIE && ["bestFit", "ctr", "inEnd", "outEnd"].indexOf(a.dataLabelPosition) < 0 && delete a.dataLabelPosition, (a._type !== V.BUBBLE && a._type !== V.BUBBLE3D && a._type !== V.LINE && a._type !== V.SCATTER) || (["b", "ctr", "l", "r", "t"].indexOf(a.dataLabelPosition) < 0 && delete a.dataLabelPosition), a._type === V.BAR && (["stacked", "percentStacked"].indexOf(a.barGrouping || "") < 0 && ["ctr", "inBase", "inEnd"].indexOf(a.dataLabelPosition) < 0 && delete a.dataLabelPosition, ["clustered"].indexOf(a.barGrouping || "") < 0 && ["ctr", "inBase", "inEnd", "outEnd"].indexOf(a.dataLabelPosition) < 0 && delete a.dataLabelPosition)), (a.dataLabelBkgrdColors = (!0 === a.dataLabelBkgrdColors || !1 === a.dataLabelBkgrdColors) && a.dataLabelBkgrdColors), ["b", "l", "r", "t", "tr"].indexOf(a.legendPos || "") < 0 && (a.legendPos = "r"), ["cone", "coneToMax", "box", "cylinder", "pyramid", "pyramidToMax"].indexOf(a.bar3DShape || "") < 0 && (a.bar3DShape = "box"), ["circle", "dash", "diamond", "dot", "none", "square", "triangle"].indexOf(a.lineDataSymbol || "") < 0 && (a.lineDataSymbol = "circle"), ["gap", "span"].indexOf(a.displayBlanksAs || "") < 0 && (a.displayBlanksAs = "span"), ["standard", "marker", "filled"].indexOf(a.radarStyle || "") < 0 && (a.radarStyle = "standard"), (a.lineDataSymbolSize = a.lineDataSymbolSize && !isNaN(a.lineDataSymbolSize) ? a.lineDataSymbolSize : 6), (a.lineDataSymbolLineSize = a.lineDataSymbolLineSize && !isNaN(a.lineDataSymbolLineSize) ? oe(a.lineDataSymbolLineSize) : oe(0.75)), a.layout && ["x", "y", "w", "h"].forEach(function (e) { var t = a.layout[e] ;(isNaN(Number(t)) || t < 0 || t > 1) && (console.warn("Warning: chart.layout." + e + " can only be 0-1"), delete a.layout[e]) }), (a.catGridLine = a.catGridLine || (a._type === V.SCATTER ? { color: "D9D9D9", size: 1 } : { style: "none" })), (a.valGridLine = a.valGridLine || (a._type === V.SCATTER ? { color: "D9D9D9", size: 1 } : {})), (a.serGridLine = a.serGridLine || (a._type === V.SCATTER ? { color: "D9D9D9", size: 1 } : { style: "none" })), i(a.catGridLine), i(a.valGridLine), i(a.serGridLine), Xe(a.shadow), (a.showDataTable = (!0 === a.showDataTable || !1 === a.showDataTable) && a.showDataTable), (a.showDataTableHorzBorder = (!0 !== a.showDataTableHorzBorder && !1 !== a.showDataTableHorzBorder) || a.showDataTableHorzBorder), (a.showDataTableVertBorder = (!0 !== a.showDataTableVertBorder && !1 !== a.showDataTableVertBorder) || a.showDataTableVertBorder), (a.showDataTableOutline = (!0 !== a.showDataTableOutline && !1 !== a.showDataTableOutline) || a.showDataTableOutline), (a.showDataTableKeys = (!0 !== a.showDataTableKeys && !1 !== a.showDataTableKeys) || a.showDataTableKeys), (a.showLabel = (!0 === a.showLabel || !1 === a.showLabel) && a.showLabel), (a.showLegend = (!0 === a.showLegend || !1 === a.showLegend) && a.showLegend), (a.showPercent = (!0 !== a.showPercent && !1 !== a.showPercent) || a.showPercent), (a.showTitle = (!0 === a.showTitle || !1 === a.showTitle) && a.showTitle), (a.showValue = (!0 === a.showValue || !1 === a.showValue) && a.showValue), (a.showLeaderLines = (!0 === a.showLeaderLines || !1 === a.showLeaderLines) && a.showLeaderLines), (a.catAxisLineShow = "undefined" === typeof a.catAxisLineShow || a.catAxisLineShow), (a.valAxisLineShow = "undefined" === typeof a.valAxisLineShow || a.valAxisLineShow), (a.serAxisLineShow = "undefined" === typeof a.serAxisLineShow || a.serAxisLineShow), (a.v3DRotX = !isNaN(a.v3DRotX) && a.v3DRotX >= -90 && a.v3DRotX <= 90 ? a.v3DRotX : 30), (a.v3DRotY = !isNaN(a.v3DRotY) && a.v3DRotY >= 0 && a.v3DRotY <= 360 ? a.v3DRotY : 30), (a.v3DRAngAx = (!0 !== a.v3DRAngAx && !1 !== a.v3DRAngAx) || a.v3DRAngAx), (a.v3DPerspective = !isNaN(a.v3DPerspective) && a.v3DPerspective >= 0 && a.v3DPerspective <= 240 ? a.v3DPerspective : 30), (a.barGapWidthPct = !isNaN(a.barGapWidthPct) && a.barGapWidthPct >= 0 && a.barGapWidthPct <= 1e3 ? a.barGapWidthPct : 150), (a.barGapDepthPct = !isNaN(a.barGapDepthPct) && a.barGapDepthPct >= 0 && a.barGapDepthPct <= 1e3 ? a.barGapDepthPct : 150), (a.chartColors = Array.isArray(a.chartColors) ? a.chartColors : a._type === V.PIE || a._type === V.DOUGHNUT ? D : M), (a.chartColorsOpacity = a.chartColorsOpacity && !isNaN(a.chartColorsOpacity) ? a.chartColorsOpacity : null), (a.border = a.border && "object" === typeof a.border ? a.border : null), !a.border || (a.border.pt && !isNaN(a.border.pt)) || (a.border.pt = v.pt), !a.border || (a.border.color && "string" === typeof a.border.color) || (a.border.color = v.color), (a.plotArea = a.plotArea || {}), (a.plotArea.border = a.plotArea.border && "object" === typeof a.plotArea.border ? a.plotArea.border : null), !a.plotArea.border || (a.plotArea.border.pt && !isNaN(a.plotArea.border.pt)) || (a.plotArea.border.pt = v.pt), !a.plotArea.border || (a.plotArea.border.color && "string" === typeof a.plotArea.border.color) || (a.plotArea.border.color = v.color), a.border && (a.plotArea.border = a.border), (a.plotArea.fill = a.plotArea.fill || { color: null, transparency: null }), a.fill && (a.plotArea.fill.color = a.fill), (a.chartArea = a.chartArea || {}), (a.chartArea.border = a.chartArea.border && "object" === typeof a.chartArea.border ? a.chartArea.border : null), a.chartArea.border && (a.chartArea.border = { color: a.chartArea.border.color || v.color, pt: a.chartArea.border.pt || v.pt }), (a.chartArea.roundedCorners = "boolean" !== typeof a.chartArea.roundedCorners || a.chartArea.roundedCorners), (a.dataBorder = a.dataBorder && "object" === typeof a.dataBorder ? a.dataBorder : null), !a.dataBorder || (a.dataBorder.pt && !isNaN(a.dataBorder.pt)) || (a.dataBorder.pt = 0.75), !a.dataBorder || (a.dataBorder.color && "string" === typeof a.dataBorder.color && 6 === a.dataBorder.color.length) || (a.dataBorder.color = "F9F9F9"), a.dataLabelFormatCode || a._type !== V.SCATTER || (a.dataLabelFormatCode = "General"), a.dataLabelFormatCode || (a._type !== V.PIE && a._type !== V.DOUGHNUT) || (a.dataLabelFormatCode = a.showPercent ? "0%" : "General"), (a.dataLabelFormatCode = a.dataLabelFormatCode && "string" === typeof a.dataLabelFormatCode ? a.dataLabelFormatCode : "#,##0"), a.dataLabelFormatScatter || a._type !== V.SCATTER || (a.dataLabelFormatScatter = "custom"), (a.lineSize = "number" === typeof a.lineSize ? a.lineSize : 2), (a.valAxisMajorUnit = "number" === typeof a.valAxisMajorUnit ? a.valAxisMajorUnit : null), a._type === V.AREA || a._type === V.BAR || a._type === V.BAR3D || a._type === V.LINE ? (a.catAxisMultiLevelLabels = !!a.catAxisMultiLevelLabels) : delete a.catAxisMultiLevelLabels, (l._type = "chart"), (l.options = a), (l.chartRid = pe(e)), e._relsChart.push({ rId: pe(e), data: c, opts: a, type: a._type, globalId: s, fileName: "chart" + s + ".xml", Target: "/ppt/charts/chart" + s + ".xml" }), e._slideObjects.push(l), l ) } function Qe(e, t) { var r = { _type: null, text: null, options: null, image: null, imageRid: null, hyperlink: null }, n = t.x || 0, i = t.y || 0, o = t.w || 0, a = t.h || 0, s = t.sizing || null, l = t.hyperlink || "", c = t.data || "", u = t.path || "", f = pe(e), p = t.objectName ? ne(t.objectName) : "Image ".concat( e._slideObjects.filter(function (e) { return e._type === Y.image }).length ) if (!u && !c) return console.error("ERROR: addImage() requires either 'data' or 'path' parameter!"), null if (u && "string" !== typeof u) return console.error("ERROR: addImage() 'path' should be a string, ex: {path:'/img/sample.png'} - you sent ".concat(u)), null if (c && "string" !== typeof c) return console.error("ERROR: addImage() 'data' should be a string, ex: {data:'image/png;base64,NMP[...]'} - you sent ".concat(c)), null if (c && "string" === typeof c && -1 === c.toLowerCase().indexOf("base64,")) return console.error("ERROR: Image `data` value lacks a base64 header! Ex: 'image/png;base64,NMP[...]')"), null var d = ( u .substring(u.lastIndexOf("/") + 1) .split("?")[0] .split(".") .pop() .split("#")[0] || "png" ).toLowerCase() if ( (c && /image\/(\w+);/.exec(c) && /image\/(\w+);/.exec(c).length > 0 ? (d = /image\/(\w+);/.exec(c)[1]) : c && c.toLowerCase().indexOf("image/svg+xml") > -1 && (d = "svg"), (r._type = Y.image), (r.image = u || "preencoded.png"), (r.options = { x: n || 0, y: i || 0, w: o || 1, h: a || 1, altText: t.altText || "", rounding: "boolean" === typeof t.rounding && t.rounding, sizing: s, placeholder: t.placeholder, rotate: t.rotate || 0, flipV: t.flipV || !1, flipH: t.flipH || !1, transparency: t.transparency || 0, objectName: p }), "svg" === d) ) e._relsMedia.push({ path: u || c + "png", type: "image/png", extn: "png", data: c || "", rId: f, Target: "../media/image-" + e._slideNum + "-" + (e._relsMedia.length + 1) + ".png", isSvgPng: !0, svgSize: { w: ee(r.options.w, "X", e._presLayout), h: ee(r.options.h, "Y", e._presLayout) } }), (r.imageRid = f), e._relsMedia.push({ path: u || c, type: "image/svg+xml", extn: d, data: c || "", rId: f + 1, Target: "../media/image-" + e._slideNum + "-" + (e._relsMedia.length + 1) + "." + d }), (r.imageRid = f + 1) else { var h = e._relsMedia.filter(function (e) { return e.path && e.path === u && e.type === "image/" + d && !1 === e.isDuplicate })[0] e._relsMedia.push({ path: u || "preencoded." + d, type: "image/" + d, extn: d, data: c || "", rId: f, isDuplicate: !(!h || !h.Target), Target: h && h.Target ? h.Target : "../media/image-" .concat(e._slideNum, "-") .concat(e._relsMedia.length + 1, ".") .concat(d) }), (r.imageRid = f) } if ("object" === typeof l) { if (!l.url && !l.slide) throw new Error("ERROR: `hyperlink` option requires either: `url` or `slide`") f++, e._rels.push({ type: Y.hyperlink, data: l.slide ? "slide" : "dummy", rId: f, Target: l.url || l.slide.toString() }), (l._rId = f), (r.hyperlink = l) } e._slideObjects.push(r) } function Je(e, t) { var r = t.x || 0, n = t.y || 0, i = t.w || 2, o = t.h || 2, a = t.data || "", s = t.link || "", l = t.path || "", c = t.type || "audio", u = "", f = t.cover || $, p = t.objectName ? ne(t.objectName) : "Media ".concat( e._slideObjects.filter(function (e) { return e._type === Y.media }).length ), d = { _type: Y.media } if (!l && !a && "online" !== c) throw new Error("addMedia() error: either 'data' or 'path' are required!") if (a && -1 === a.toLowerCase().indexOf("base64,")) throw new Error("addMedia() error: `data` value lacks a base64 header! Ex: 'video/mpeg;base64,NMP[...]')") if ("online" === c && !s) throw new Error("addMedia() error: online videos require `link` value") if ( ((u = t.extn || (a ? a.split(";")[0].split("/")[1] : l.split(".").pop()) || "mp3"), (d.mtype = c), (d.media = l || "preencoded.mov"), (d.options = {}), (d.options.x = r), (d.options.y = n), (d.options.w = i), (d.options.h = o), (d.options.objectName = p), "online" === c) ) { var h = pe(e) e._relsMedia.push({ path: l || "preencoded" + u, data: "dummy", type: "online", extn: u, rId: h, Target: s }), (d.mediaRid = h), e._relsMedia.push({ path: "preencoded.png", data: f, type: "image/png", extn: "png", rId: pe(e), Target: "../media/image-" + e._slideNum + "-" + (e._relsMedia.length + 1) + ".png" }) } else { var m = e._relsMedia.filter(function (e) { return e.path && e.path === l && e.type === c + "/" + u && !1 === e.isDuplicate })[0] h = pe(e) e._relsMedia.push({ path: l || "preencoded" + u, type: c + "/" + u, extn: u, data: a || "", rId: h, isDuplicate: !(!m || !m.Target), Target: m && m.Target ? m.Target : "../media/media-" .concat(e._slideNum, "-") .concat(e._relsMedia.length + 1, ".") .concat(u) }), (d.mediaRid = h), e._relsMedia.push({ path: l || "preencoded" + u, type: c + "/" + u, extn: u, data: a || "", rId: pe(e), isDuplicate: !(!m || !m.Target), Target: m && m.Target ? m.Target : "../media/media-" .concat(e._slideNum, "-") .concat(e._relsMedia.length + 0, ".") .concat(u) }), e._relsMedia.push({ path: "preencoded.png", type: "image/png", extn: "png", data: f, rId: pe(e), Target: "../media/image-".concat(e._slideNum, "-").concat(e._relsMedia.length + 1, ".png") }) } e._slideObjects.push(d) } function $e(e, t) { e._slideObjects.push({ _type: Y.notes, text: [ { text: t } ] }) } function et(e, t, r) { var n = "object" === typeof r ? r : {} n.line = n.line || { type: "none" } var i = { _type: Y.text, shape: t || W.RECTANGLE, options: n, text: null } if (!t) throw new Error("Missing/Invalid shape parameter! Example: `addShape(pptxgen.shapes.LINE, {x:1, y:1, w:1, h:1});`") var o = { type: n.line.type || "solid", color: n.line.color || E, transparency: n.line.transparency || 0, width: n.line.width || 1, dashType: n.line.dashType || "solid", beginArrowType: n.line.beginArrowType || null, endArrowType: n.line.endArrowType || null } if ( ("object" === typeof n.line && "none" !== n.line.type && (n.line = o), (n.x = n.x || (0 === n.x ? 0 : 1)), (n.y = n.y || (0 === n.y ? 0 : 1)), (n.w = n.w || (0 === n.w ? 0 : 1)), (n.h = n.h || (0 === n.h ? 0 : 1)), (n.objectName = n.objectName ? ne(n.objectName) : "Shape ".concat( e._slideObjects.filter(function (e) { return e._type === Y.text }).length )), "string" === typeof n.line) ) { var a = o ;(a.color = n.line + ""), (n.line = a) } "number" === typeof n.lineSize && (n.line.width = n.lineSize), "string" === typeof n.lineDash && (n.line.dashType = n.lineDash), "string" === typeof n.lineHead && (n.line.beginArrowType = n.lineHead), "string" === typeof n.lineTail && (n.line.endArrowType = n.lineTail), ot(e, i), e._slideObjects.push(i) } function tt(e, t, r, n, i, o, a) { var s = [e], l = r && "object" === typeof r ? r : {} if ( ((l.objectName = l.objectName ? ne(l.objectName) : "Table ".concat( e._slideObjects.filter(function (e) { return e._type === Y.table }).length )), null === t || 0 === t.length || !Array.isArray(t)) ) throw new Error( "addTable: Array expected! EX: 'slide.addTable( [rows], {options} );' (https://gitbrent.github.io/PptxGenJS/docs/api-tables.html)" ) if (!t[0] || !Array.isArray(t[0])) throw new Error( "addTable: 'rows' should be an array of cells! EX: 'slide.addTable( [ ['A'], ['B'], {text:'C',options:{align:'center'}} ] );' (https://gitbrent.github.io/PptxGenJS/docs/api-tables.html)" ) var u = [] t.forEach(function (e) { var t = [] Array.isArray(e) ? e.forEach(function (e) { var r = { _type: Y.tablecell, text: "", options: "object" === typeof e && e.options ? e.options : {} } "string" === typeof e || "number" === typeof e ? (r.text = e.toString()) : e.text && ("string" === typeof e.text || "number" === typeof e.text ? (r.text = e.text.toString()) : e.text && (r.text = e.text), e.options && "object" === typeof e.options && (r.options = e.options)), (r.options.border = r.options.border || l.border || [ { type: "none" }, { type: "none" }, { type: "none" }, { type: "none" } ]) var n = r.options.border Array.isArray(n) || "object" !== typeof n || (r.options.border = [n, n, n, n]), r.options.border[0] || (r.options.border[0] = { type: "none" }), r.options.border[1] || (r.options.border[1] = { type: "none" }), r.options.border[2] || (r.options.border[2] = { type: "none" }), r.options.border[3] || (r.options.border[3] = { type: "none" }) var i = [0, 1, 2, 3] i.forEach(function (e) { r.options.border[e] = { type: r.options.border[e].type || g.type, color: r.options.border[e].color || g.color, pt: "number" === typeof r.options.border[e].pt ? r.options.border[e].pt : g.pt } }), t.push(r) }) : (console.log("addTable: tableRows has a bad row. A row should be an array of cells. You provided:"), console.log(e)), u.push(t) }), (l.x = ee(l.x || (0 === l.x ? 0 : c / 2), "X", i)), (l.y = ee(l.y || (0 === l.y ? 0 : c / 2), "Y", i)), l.h && (l.h = ee(l.h, "Y", i)), (l.fontSize = l.fontSize || x), (l.margin = 0 === l.margin || l.margin ? l.margin : y), "number" === typeof l.margin && (l.margin = [Number(l.margin), Number(l.margin), Number(l.margin), Number(l.margin)]), l.color || (l.color = l.color || w), "string" === typeof l.border ? (console.warn("addTable `border` option must be an object. Ex: `{border: {type:'none'}}`"), (l.border = null)) : Array.isArray(l.border) && [0, 1, 2, 3].forEach(function (e) { l.border[e] = l.border[e] ? { type: l.border[e].type || g.type, color: l.border[e].color || g.color, pt: l.border[e].pt || g.pt } : { type: "none" } }), (l.autoPage = "boolean" === typeof l.autoPage && l.autoPage), (l.autoPageRepeatHeader = "boolean" === typeof l.autoPageRepeatHeader && l.autoPageRepeatHeader), (l.autoPageHeaderRows = "undefined" === typeof l.autoPageHeaderRows || isNaN(Number(l.autoPageHeaderRows)) ? 1 : Number(l.autoPageHeaderRows)), (l.autoPageLineWeight = "undefined" === typeof l.autoPageLineWeight || isNaN(Number(l.autoPageLineWeight)) ? 0 : Number(l.autoPageLineWeight)), l.autoPageLineWeight && (l.autoPageLineWeight > 1 ? (l.autoPageLineWeight = 1) : l.autoPageLineWeight < -1 && (l.autoPageLineWeight = -1)) var f = C if ( (n && "undefined" !== typeof n._margin && (Array.isArray(n._margin) ? (f = n._margin) : isNaN(Number(n._margin)) || (f = [Number(n._margin), Number(n._margin), Number(n._margin), Number(n._margin)])), l.colW) ) { var p = u[0].reduce(function (e, t) { return t && t.options && t.options.colspan && "number" === typeof t.options.colspan ? (e += t.options.colspan) : (e += 1), e }, 0) "string" === typeof l.colW || "number" === typeof l.colW || (l.colW && Array.isArray(l.colW) && 1 === l.colW.length && p > 1) ? ((l.w = Math.floor(Number(l.colW) * p)), (l.colW = null)) : l.colW && Array.isArray(l.colW) && l.colW.length !== p && (console.warn("addTable: mismatch: (colW.length != data.length) Therefore, defaulting to evenly distributed col widths."), (l.colW = null)) } else l.w ? (l.w = ee(l.w, "X", i)) : (l.w = Math.floor(i._sizeW / c - f[1] - f[3])) l.x && l.x < 20 && (l.x = ie(l.x)), l.y && l.y < 20 && (l.y = ie(l.y)), l.w && l.w < 20 && (l.w = ie(l.w)), l.h && l.h < 20 && (l.h = ie(l.h)), u.forEach(function (e) { e.forEach(function (t, r) { "number" === typeof t || "string" === typeof t ? (e[r] = { _type: Y.tablecell, text: e[r].toString(), options: l }) : "object" === typeof t && ("number" === typeof t.text ? (e[r].text = e[r].text.toString()) : ("undefined" !== typeof t.text && null !== t.text) || (e[r].text = ""), (e[r].options = t.options || {}), (e[r]._type = Y.tablecell)) }) }), l && !1 === l.autoPage ? (ot(e, u), e._slideObjects.push({ _type: Y.table, arrTabRows: u, options: Object.assign({}, l) })) : (l.autoPageRepeatHeader && (l._arrObjTabHeadRows = u.filter(function (e, t) { return t < l.autoPageHeaderRows })), he(u, l, i, n).forEach(function (t, r) { a(e._slideNum + r) || s.push(o(n ? n._name : null)), r > 0 && (l.y = ie(l.autoPageSlideStartY || l.newSlideStartY || f[0])) var i = a(e._slideNum + r) ;(l.autoPage = !1), ot(i, t.rows), i.addTable(t.rows, Object.assign({}, l)) })) } function rt(e, t, r, n) { var i = { _type: n ? Y.placeholder : Y.text, shape: (r && r.shape) || W.RECTANGLE, text: t && 0 !== t.length ? t : [ { text: "", options: null } ], options: r || {} } function a(t) { if ( (t.placeholder || (t.color = t.color || i.options.color || e.color || w), (t.placeholder || n) && (t.bullet = t.bullet || !1), t.placeholder && e._slideLayout && e._slideLayout._slideObjects) ) { var r = e._slideLayout._slideObjects.filter(function (e) { return "placeholder" === e._type && e.options && e.options.placeholder && e.options.placeholder === t.placeholder })[0] r && r.options && (t = o(o({}, t), r.options)) } if ( ((t.objectName = t.objectName ? ne(t.objectName) : "Text ".concat( e._slideObjects.filter(function (e) { return e._type === Y.text }).length )), t.shape === W.LINE) ) { var a = { type: t.line.type || "solid", color: t.line.color || E, transparency: t.line.transparency || 0, width: t.line.width || 1, dashType: t.line.dashType || "solid", beginArrowType: t.line.beginArrowType || null, endArrowType: t.line.endArrowType || null } if (("object" === typeof t.line && (t.line = a), "string" === typeof t.line)) { var c = a "string" === typeof t.line && (c.color = t.line), (t.line = c) } "number" === typeof t.lineSize && (t.line.width = t.lineSize), "string" === typeof t.lineDash && (t.line.dashType = t.lineDash), "string" === typeof t.lineHead && (t.line.beginArrowType = t.lineHead), "string" === typeof t.lineTail && (t.line.endArrowType = t.lineTail) } return ( (t.line = t.line || {}), (t.lineSpacing = t.lineSpacing && !isNaN(t.lineSpacing) ? t.lineSpacing : null), (t.lineSpacingMultiple = t.lineSpacingMultiple && !isNaN(t.lineSpacingMultiple) ? t.lineSpacingMultiple : null), (t._bodyProp = t._bodyProp || {}), (t._bodyProp.autoFit = t.autoFit || !1), (t._bodyProp.anchor = t.placeholder ? null : l.ctr), (t._bodyProp.vert = t.vert || null), (t._bodyProp.wrap = "boolean" !== typeof t.wrap || t.wrap), ((t.inset && !isNaN(Number(t.inset))) || 0 === t.inset) && ((t._bodyProp.lIns = ie(t.inset)), (t._bodyProp.rIns = ie(t.inset)), (t._bodyProp.tIns = ie(t.inset)), (t._bodyProp.bIns = ie(t.inset))), "boolean" === typeof t.underline && !0 === t.underline && (t.underline = { style: "sng" }), 0 === (t.align || "").toLowerCase().indexOf("c") ? (t._bodyProp.align = s.center) : 0 === (t.align || "").toLowerCase().indexOf("l") ? (t._bodyProp.align = s.left) : 0 === (t.align || "").toLowerCase().indexOf("r") ? (t._bodyProp.align = s.right) : 0 === (t.align || "").toLowerCase().indexOf("j") && (t._bodyProp.align = s.justify), 0 === (t.valign || "").toLowerCase().indexOf("b") ? (t._bodyProp.anchor = l.b) : 0 === (t.valign || "").toLowerCase().indexOf("m") ? (t._bodyProp.anchor = l.ctr) : 0 === (t.valign || "").toLowerCase().indexOf("t") && (t._bodyProp.anchor = l.t), Xe(t.shadow), t ) } ;(i.options = a(i.options)), i.text.forEach(function (e) { return (e.options = a(e.options || {})) }), ot(e, i.text || ""), e._slideObjects.push(i) } function nt(e) { ;(e._slideLayout._slideObjects || []).forEach(function (t) { t._type === Y.placeholder && 0 === e._slideObjects.filter(function (e) { return e.options && e.options.placeholder === t.options.placeholder }).length && rt( e, [ { text: "" } ], t.options, !1 ) }) } function it(e, t) { if ( (t.bkgd && (t.background || (t.background = {}), "string" === typeof t.bkgd ? (t.background.color = t.bkgd) : (t.bkgd.data && (t.background.data = t.bkgd.data), t.bkgd.path && (t.background.path = t.bkgd.path), t.bkgd["src"] && (t.background.path = t.bkgd["src"]))), t.background && t.background.fill && (t.background.color = t.background.fill), e && (e.path || e.data)) ) { e.path = e.path || "preencoded.png" var r = (e.path.split(".").pop() || "png").split("?")[0] "jpg" === r && (r = "jpeg"), (t._relsMedia = t._relsMedia || []) var n = t._relsMedia.length + 1 t._relsMedia.push({ path: e.path, type: Y.image, extn: r, data: e.data || null, rId: n, Target: "../media/" .concat((t._name || "").replace(/\s+/gi, "-"), "-image-") .concat(t._relsMedia.length + 1, ".") .concat(r) }), (t._bkgdImgRid = n) } } function ot(e, t) { var r = [] "string" !== typeof t && "number" !== typeof t && (Array.isArray(t) ? (r = t) : "object" === typeof t && (r = [t]), r.forEach(function (t) { if (Array.isArray(t)) ot(e, t) else if (Array.isArray(t.text)) ot(e, t.text) else if (t && "object" === typeof t && t.options && t.options.hyperlink && !t.options.hyperlink._rId) if ("object" !== typeof t.options.hyperlink) console.log("ERROR: text `hyperlink` option should be an object. Ex: `hyperlink: {url:'https://github.com'}` ") else if (t.options.hyperlink.url || t.options.hyperlink.slide) { var r = pe(e) e._rels.push({ type: Y.hyperlink, data: t.options.hyperlink.slide ? "slide" : "dummy", rId: r, Target: ne(t.options.hyperlink.url) || t.options.hyperlink.slide.toString() }), (t.options.hyperlink._rId = r) } else console.log("ERROR: 'hyperlink requires either: `url` or `slide`'") })) } var at = (function () { function e(e) { ;(this.addSlide = e.addSlide), (this.getSlide = e.getSlide), (this._name = "Slide " + e.slideNumber), (this._presLayout = e.presLayout), (this._rId = e.slideRId), (this._rels = []), (this._relsChart = []), (this._relsMedia = []), (this._setSlideNum = e.setSlideNum), (this._slideId = e.slideId), (this._slideLayout = e.slideLayout || null), (this._slideNum = e.slideNumber), (this._slideObjects = []), (this._slideNumberProps = this._slideLayout && this._slideLayout._slideNumberProps ? this._slideLayout._slideNumberProps : null) } return ( Object.defineProperty(e.prototype, "bkgd", { get: function () { return this._bkgd }, set: function (e) { ;(this._bkgd = e), (this._background && this._background.color) || (this._background || (this._background = {}), "string" === typeof e && (this._background.color = e)) }, enumerable: !1, configurable: !0 }), Object.defineProperty(e.prototype, "background", { get: function () { return this._background }, set: function (e) { ;(this._background = e), e && it(e, this) }, enumerable: !1, configurable: !0 }), Object.defineProperty(e.prototype, "color", { get: function () { return this._color }, set: function (e) { this._color = e }, enumerable: !1, configurable: !0 }), Object.defineProperty(e.prototype, "hidden", { get: function () { return this._hidden }, set: function (e) { this._hidden = e }, enumerable: !1, configurable: !0 }), Object.defineProperty(e.prototype, "slideNumber", { get: function () { return this._slideNumberProps }, set: function (e) { ;(this._slideNumberProps = e), this._setSlideNum(e) }, enumerable: !1, configurable: !0 }), (e.prototype.addChart = function (e, t, r) { var n = r || {} return (n._type = e), Ze(this, e, t, r), this }), (e.prototype.addImage = function (e) { return Qe(this, e), this }), (e.prototype.addMedia = function (e) { return Je(this, e), this }), (e.prototype.addNotes = function (e) { return $e(this, e), this }), (e.prototype.addShape = function (e, t) { return et(this, e, t), this }), (e.prototype.addTable = function (e, t) { return tt(this, e, t, this._slideLayout, this._presLayout, this.addSlide, this.getSlide), this }), (e.prototype.addText = function (e, t) { var r = "string" === typeof e || "number" === typeof e ? [ { text: e, options: t } ] : e return rt(this, r, t, !1), this }), e ) })() function st(e, t) { var r = e.data return new Promise(function (n, o) { var a = new i.a(), s = 2 * (r.length - 1) + 1, l = r[0] && r[0].labels && r[0].labels.length > 1 a.folder("_rels"), a.folder("docProps"), a.folder("xl/_rels"), a.folder("xl/tables"), a.folder("xl/theme"), a.folder("xl/worksheets"), a.folder("xl/worksheets/_rels"), a.file( "[Content_Types].xml", ' \n' ), a.file( "_rels/.rels", '\n' ), a.file( "docProps/app.xml", 'Microsoft Macintosh Excel0falseWorksheets1Sheet1falsefalsefalse16.0300\n' ), a.file( "docProps/core.xml", 'PptxGenJSPptxGenJS' + new Date().toISOString() + '' + new Date().toISOString() + "" ), a.file( "xl/_rels/workbook.xml.rels", '' ), a.file( "xl/styles.xml", '\n' ), a.file( "xl/theme/theme1.xml", '' ), a.file( "xl/workbook.xml", '\n' ), a.file( "xl/worksheets/_rels/sheet1.xml.rels", '\n' ) var c = '' if (e.opts._type === V.BUBBLE || e.opts._type === V.BUBBLE3D) c += '') else if (e.opts._type === V.SCATTER) c += '') else if (l) { var u = r.length r[0].labels.forEach(function (e) { return (u += e.filter(function (e) { return e && "" !== e }).length) }), (c += '')), (c += "") } else { var f = r.length + r[0].labels.length * r[0].labels[0].length + r[0].labels.length, p = r.length + r[0].labels.length * r[0].labels[0].length + 1 ;(c += '')), (c += '') } e.opts._type === V.BUBBLE || e.opts._type === V.BUBBLE3D ? r.forEach(function (e, t) { 0 === t ? (c += "X-Axis") : ((c += "".concat(ne(e.name || "Y-Axis" + t), "")), (c += "".concat(ne("Size" + t), ""))) }) : r.forEach(function (e) { c += "".concat(ne((e.name || " ").replace("X-Axis", "X-Values")), "") }), e.opts._type !== V.BUBBLE && e.opts._type !== V.BUBBLE3D && e.opts._type !== V.SCATTER && r[0].labels .slice() .reverse() .forEach(function (e) { e.filter(function (e) { return e && "" !== e }).forEach(function (e) { c += "".concat(ne(e), "") }) }), (c += "\n"), a.file("xl/sharedStrings.xml", c) var d = '' if (e.opts._type === V.BUBBLE || e.opts._type === V.BUBBLE3D) { ;(d += '')), (d += '')) var h = 1 r.forEach(function (e, t) { 0 === t ? (d += '')) : ((d += '')), h++, (d += ''))) }) } else e.opts._type === V.SCATTER ? ((d += ''), (d += ''), r.forEach(function (e, t) { d += '' })) : ((d += ''), (d += ''), r[0].labels.forEach(function (e, t) { d += '') }), r.forEach(function (e, t) { d += '' })) ;(d += ""), (d += ''), (d += ""), a.file("xl/tables/table1.xml", d) var m = '' if ( ((m += ''), e.opts._type === V.BUBBLE || e.opts._type === V.BUBBLE3D ? (m += '')) : e.opts._type === V.SCATTER ? (m += '')) : (m += '')), (m += ''), (m += ''), e.opts._type === V.BUBBLE || e.opts._type === V.BUBBLE3D) ) { ;(m += ""), (m += '')), (m += '0') for (var g = 1; g < s; g++) m += '').concat(g, "") ;(m += ""), r[0].values.forEach(function (e, t) { ;(m += '')), (m += '').concat(e, "")) for (var n = 2, i = 1; i < r.length; i++) (m += '') .concat(r[i].values[t] || "", "")), n++, (m += '') .concat(r[i].sizes[t] || "", "")), n++ m += "" }) } else if (e.opts._type === V.SCATTER) { ;(m += ""), (m += '')) for (g = 0; g < r.length; g++) m += '').concat(g, "") ;(m += ""), r[0].values.forEach(function (e, t) { ;(m += '')), (m += '').concat(e, "")) for (var n = 1; n < r.length; n++) m += '') .concat(r[n].values[t] || 0 === r[n].values[t] ? r[n].values[t] : "", "") m += "" }) } else if (((m += ""), l)) { m += '') for (g = 0; g < r[0].labels.length; g++) m += '0') for (g = r[0].labels.length - 1; g < r.length + r[0].labels.length - 1; g++) m += '').concat(g, "") m += "" var y = r.length, v = r[0].labels[0].length, b = r[0].labels.length, w = function (e) { m += '') var t = y, n = r[0].labels.slice().reverse() n.forEach(function (r, i) { var o = r[e] if (o) { var a = 0 === i ? 1 : n[i - 1].filter(function (e) { return e && "" !== e }).length ;(t += a), (m += '') .concat(t, "")) } }) for (var i = 0; i < y; i++) m += '') .concat(r[i].values[e] || 0, "") m += "" } for (g = 0; g < v; g++) w(g) } else { ;(m += '')), r[0].labels.forEach(function (e, t) { m += '0') }) for (var g = 0; g < r.length; g++) m += '').concat(g + 1, "") ;(m += ""), r[0].labels[0].forEach(function (e, t) { m += '') for (var n = r[0].labels.length - 1; n >= 0; n--) (m += '')), (m += "".concat(r.length + t + 1, "")), (m += "") for (var i = 0; i < r.length; i++) m += '') .concat(r[i].values[t] || "", "") m += "" }) } ;(m += ""), (m += ''), (m += "\n"), a.file("xl/worksheets/sheet1.xml", m), a .generateAsync({ type: "base64" }) .then(function (r) { t.file("ppt/embeddings/Microsoft_Excel_Worksheet" + e.globalId + ".xlsx", r, { base64: !0 }), t.file( "ppt/charts/_rels/" + e.fileName + ".rels", '' + '' ) + "" ), t.file("ppt/charts/".concat(e.fileName), lt(e)), n(null) }) .catch(function (e) { o(e) }) }) } function lt(e) { var t = '', r = !1 if ( ((t += ''), (t += ''), (t += '')), (t += ""), e.opts.showTitle ? ((t += dt( { title: e.opts.title || "Chart Title", color: e.opts.titleColor, fontFace: e.opts.titleFontFace, fontSize: e.opts.titleFontSize || A, titleAlign: e.opts.titleAlign, titleBold: e.opts.titleBold, titlePos: e.opts.titlePos, titleRotate: e.opts.titleRotate }, e.opts.x, e.opts.y )), (t += '')) : (t += ''), e.opts._type === V.BAR3D && ((t += ""), (t += ' '), (t += ' '), (t += ' '), (t += ' '), (t += "")), (t += ""), e.opts.layout ? ((t += ""), (t += " "), (t += ' '), (t += ' '), (t += ' '), (t += ' '), (t += ' '), (t += ' '), (t += ' '), (t += " "), (t += "")) : (t += ""), Array.isArray(e.opts._type) ? e.opts._type.forEach(function (n) { var i = re(e.opts, n.options), o = i["secondaryValAxis"] ? O : P, a = i["secondaryCatAxis"] ? R : j ;(r = r || i.secondaryValAxis), (t += ct(n.type, n.data, i, o, a)) }) : (t += ct(e.opts._type, e.data, e.opts, P, j)), e.opts._type !== V.PIE && e.opts._type !== V.DOUGHNUT) ) { if (e.opts.valAxes && e.opts.valAxes.length > 1 && !r) throw new Error("Secondary axis must be used by one of the multiple charts") if (e.opts.catAxes) { if (!e.opts.valAxes || e.opts.valAxes.length !== e.opts.catAxes.length) throw new Error("There must be the same number of value and category axes.") t += ut(re(e.opts, e.opts.catAxes[0]), j, P) } else t += ut(e.opts, j, P) e.opts.valAxes ? ((t += ft(re(e.opts, e.opts.valAxes[0]), P)), e.opts.valAxes[1] && (t += ft(re(e.opts, e.opts.valAxes[1]), O))) : ((t += ft(e.opts, P)), e.opts._type === V.BAR3D && (t += pt(e.opts, I, P))), e.opts.catAxes && e.opts.catAxes[1] && (t += ut(re(e.opts, e.opts.catAxes[1]), R, O)) } return ( e.opts.showDataTable && ((t += ""), (t += ' '), (t += ' '), (t += ' '), (t += ' '), (t += " "), (t += " "), (t += ' '), (t += " "), (t += " "), (t += " "), (t += '\t '), (t += "\t "), (t += "\t "), (t += '\t\t'), (t += ' ' )), (t += '\t\t\t'), (t += '\t\t\t'), (t += '\t\t\t'), (t += '\t\t\t'), (t += "\t\t "), (t += "\t\t"), (t += '\t\t'), (t += "\t "), (t += "\t"), (t += "")), (t += " "), (t += e.opts.plotArea.fill && e.opts.plotArea.fill.color ? fe(e.opts.plotArea.fill) : ""), (t += e.opts.plotArea.border ? '').concat(fe(e.opts.plotArea.border.color), "") : ""), (t += " "), (t += " "), (t += ""), e.opts.showLegend && ((t += ""), (t += ''), (t += ''), (e.opts.legendFontFace || e.opts.legendFontSize || e.opts.legendColor) && ((t += ""), (t += " "), (t += " "), (t += " "), (t += " "), (t += e.opts.legendFontSize ? '' : ""), e.opts.legendColor && (t += fe(e.opts.legendColor)), e.opts.legendFontFace && (t += ''), e.opts.legendFontFace && (t += ''), (t += " "), (t += " "), (t += ' '), (t += " "), (t += "")), (t += "")), (t += ' '), (t += ' '), e.opts._type === V.SCATTER && (t += ''), (t += ""), (t += ""), (t += e.opts.chartArea.fill && e.opts.chartArea.fill.color ? fe(e.opts.chartArea.fill) : ""), (t += e.opts.chartArea.border ? '').concat(fe(e.opts.chartArea.border.color), "") : ""), (t += " "), (t += ""), (t += ''), (t += ""), t ) } function ct(e, t, r, n, i, o) { var a = "" switch (e) { case V.AREA: case V.BAR: case V.BAR3D: case V.LINE: case V.RADAR: ;(a += "")), e === V.AREA && "stacked" === r.barGrouping && (a += ''), (e !== V.BAR && e !== V.BAR3D) || ((a += ''), (a += '')), e === V.RADAR && (a += ''), (a += '') var s = -1 t.forEach(function (n) { s++, (a += ""), (a += ' '), (a += ' '), (a += " "), (a += " "), (a += " Sheet1!$" + ht(n._dataIndex + n.labels.length + 1) + "$1"), (a += ' ' + ne(n.name) + ""), (a += " "), (a += " ") var i = r.chartColors ? r.chartColors[s % r.chartColors.length] : null ;(a += " "), "transparent" === i ? (a += "") : r.chartColorsOpacity ? (a += "" + ce(i, '')) + "") : (a += "" + ce(i) + ""), e === V.LINE || e === V.RADAR ? 0 === r.lineSize ? (a += "") : ((a += '' + ce(i) + ""), (a += '')) : r.dataBorder && (a += '' + ce(r.dataBorder.color) + ''), (a += mt(r.shadow, S)), (a += " "), (a += ' '), e !== V.RADAR && ((a += ""), (a += '')), r.dataLabelBkgrdColors && (a += "".concat(ce(i), "")), (a += ""), (a += '')), (a += "".concat(ce(r.dataLabelColor || w), "")), (a += '')), (a += ""), r.dataLabelPosition && (a += '')), (a += ''), (a += '')), (a += '' )), (a += '')), (a += "")), (e !== V.LINE && e !== V.RADAR) || ((a += ""), (a += ' '), r.lineDataSymbolSize && (a += ' '), (a += " "), (a += " " + ce( r.chartColors[ n._dataIndex + 1 > r.chartColors.length ? Math.floor(Math.random() * r.chartColors.length) : n._dataIndex ] ) + ""), (a += ' ' + ce(r.lineDataSymbolLineColor || i) + ''), (a += " "), (a += " "), (a += "")), (e !== V.BAR && e !== V.BAR3D) || 1 !== t.length || !((r.chartColors && r.chartColors !== M && r.chartColors.length > 1) || (r.invertedColors && r.invertedColors.length)) || n.values.forEach(function (t, n) { var i = t < 0 ? r.invertedColors || r.chartColors || M : r.chartColors || [] ;(a += " "), (a += ' '), (a += ' '), (a += ' '), (a += " "), 0 === r.lineSize ? (a += "") : e === V.BAR ? ((a += ""), (a += ' '), (a += "")) : ((a += ""), (a += " "), (a += ' '), (a += " "), (a += "")), (a += mt(r.shadow, S)), (a += " "), (a += " ") }), (a += ""), r.catLabelFormatCode ? ((a += " "), (a += " Sheet1!$A$2:$A$" + (n.labels[0].length + 1) + ""), (a += " "), (a += " " + (r.catLabelFormatCode || "General") + ""), (a += ' '), n.labels[0].forEach(function (e, t) { a += '' + ne(e) + "" }), (a += " "), (a += " ")) : ((a += " "), (a += " Sheet1!$A$2:$" + ht(n.labels.length) + "$" + (n.labels[0].length + 1) + ""), (a += " "), (a += '\t '), n.labels.forEach(function (e) { ;(a += " "), e.forEach(function (e, t) { a += '' + ne(e) + "" }), (a += " ") }), (a += " "), (a += " ")), (a += ""), (a += ""), (a += " "), (a += "Sheet1!$" .concat(ht(n._dataIndex + n.labels.length + 1), "$2:$") .concat(ht(n._dataIndex + n.labels.length + 1), "$") .concat(n.labels[0].length + 1, "")), (a += " "), (a += " " + (r.valLabelFormatCode || r.dataTableFormatCode || "General") + ""), (a += ' '), n.values.forEach(function (e, t) { return (a += '').concat(e || 0 === e ? e : "", "")) }), (a += " "), (a += " "), (a += ""), e === V.LINE && (a += ''), (a += "") }), (a += " "), (a += ' ')), (a += " "), (a += " "), (a += " "), (a += " "), (a += ' '), (a += " " + ce(r.dataLabelColor || w) + ""), (a += ' '), (a += " "), (a += " "), (a += " "), r.dataLabelPosition && (a += ' '), (a += ' '), (a += ' '), (a += ' '), (a += ' '), (a += ' '), (a += ' '), (a += ' ')), (a += " "), e === V.BAR ? ((a += ' '), (a += ' -1 ? 100 : r.barOverlapPct ? r.barOverlapPct : 0) + '"/>')) : e === V.BAR3D ? ((a += ' '), (a += ' '), (a += ' ')) : e === V.LINE && (a += ' '), (a += '')), (a += "")) break case V.SCATTER: ;(a += ""), (a += ''), (a += ''), (s = -1), t .filter(function (e, t) { return t > 0 }) .forEach(function (e, n) { s++, (a += ""), (a += ' '), (a += ' '), (a += " "), (a += " "), (a += " Sheet1!$" + ht(n + 2) + "$1"), (a += ' ' + ne(e.name) + ""), (a += " "), (a += " "), (a += " ") var i = r.chartColors[s % r.chartColors.length] if ( ("transparent" === i ? (a += "") : r.chartColorsOpacity ? (a += "" + ce(i, '') + "") : (a += "" + ce(i) + ""), 0 === r.lineSize ? (a += "") : ((a += '' + ce(i) + ""), (a += '')), (a += mt(r.shadow, S)), (a += " "), (a += ""), (a += ' '), r.lineDataSymbolSize && (a += ' '), (a += " "), (a += " " + ce(r.chartColors[n + 1 > r.chartColors.length ? Math.floor(Math.random() * r.chartColors.length) : n]) + ""), (a += ' ' + ce(r.lineDataSymbolLineColor || r.chartColors[s % r.chartColors.length]) + ''), (a += " "), (a += " "), (a += ""), r.showLabel) ) { var o = te("-xxxx-xxxx-xxxx-xxxxxxxxxxxx") !e.labels[0] || ("custom" !== r.dataLabelFormatScatter && "customXY" !== r.dataLabelFormatScatter) || ((a += ""), e.labels[0].forEach(function (t, n) { ;("custom" !== r.dataLabelFormatScatter && "customXY" !== r.dataLabelFormatScatter) || ((a += " "), (a += ' '), (a += " "), (a += " "), (a += "\t\t\t"), (a += "\t\t\t\t"), (a += "\t\t\t"), (a += " \t"), (a += " \t"), (a += "\t\t\t\t"), (a += "\t\t\t\t\t"), (a += "\t\t\t\t"), (a += " \t"), (a += ' \t\t'), (a += " \t\t" + ne(t) + ""), (a += " \t"), "customXY" !== r.dataLabelFormatScatter || /^ *$/.test(t) || ((a += " \t"), (a += ' \t\t'), (a += " \t\t ("), (a += " \t"), (a += ' \t'), (a += ' \t\t'), (a += " \t\t"), (a += " \t\t\t"), (a += " \t\t"), (a += " \t\t[" + ne(e.name) + ""), (a += " \t"), (a += " \t"), (a += ' \t\t'), (a += " \t\t, "), (a += " \t"), (a += ' \t'), (a += ' \t\t'), (a += " \t\t"), (a += " \t\t\t"), (a += " \t\t"), (a += " \t\t[" + ne(e.name) + "]"), (a += " \t"), (a += " \t"), (a += ' \t\t'), (a += " \t\t)"), (a += " \t"), (a += ' \t')), (a += " \t"), (a += " "), (a += " "), (a += " "), (a += " \t"), (a += " \t"), (a += " \t\t"), (a += " \t"), (a += " \t"), (a += " "), r.dataLabelPosition && (a += ' '), (a += ' '), (a += ' '), (a += ' '), (a += ' '), (a += ' '), (a += ' '), (a += '\t '), (a += " "), (a += ' '), (a += ' '), (a += '\t\t\t'), (a += " "), (a += "\t\t"), (a += "")) }), (a += "")), "XY" === r.dataLabelFormatScatter && ((a += ""), (a += "\t"), (a += "\t\t"), (a += "\t\t"), (a += "\t\t\t"), (a += "\t\t"), (a += "\t \t"), (a += "\t"), (a += "\t"), (a += "\t\t"), (a += "\t\t\t"), (a += "\t\t"), (a += "\t\t"), (a += "\t\t"), (a += "\t \t"), (a += " \t\t"), (a += "\t \t"), (a += '\t \t'), (a += "\t\t"), (a += "\t"), r.dataLabelPosition && (a += ' '), (a += '\t'), (a += ' ')), (a += ' ')), (a += ' ')), (a += '\t'), (a += '\t'), (a += "\t"), (a += '\t\t'), (a += '\t\t\t'), (a += "\t\t"), (a += "\t"), (a += "")) } 1 === t.length && r.chartColors !== M && e.values.forEach(function (e, t) { var n = e < 0 ? r.invertedColors || r.chartColors || M : r.chartColors || [] ;(a += " "), (a += ' '), (a += ' '), (a += ' '), (a += " "), 0 === r.lineSize ? (a += "") : ((a += ""), (a += ' '), (a += "")), (a += mt(r.shadow, S)), (a += " "), (a += " ") }), (a += ""), (a += " "), (a += " Sheet1!$A$2:$A$" + (t[0].values.length + 1) + ""), (a += " "), (a += " General"), (a += ' '), t[0].values.forEach(function (e, t) { a += '' + (e || 0 === e ? e : "") + "" }), (a += " "), (a += " "), (a += ""), (a += ""), (a += " "), (a += " Sheet1!$" + ht(n + 2) + "$2:$" + ht(n + 2) + "$" + (t[0].values.length + 1) + ""), (a += " "), (a += " General"), (a += ' '), t[0].values.forEach(function (t, r) { a += '' + (e.values[r] || 0 === e.values[r] ? e.values[r] : "") + "" }), (a += " "), (a += " "), (a += ""), (a += ''), (a += "") }), (a += " "), (a += ' ')), (a += " "), (a += " "), (a += " "), (a += " "), (a += ' '), (a += " " + ce(r.dataLabelColor || w) + ""), (a += ' '), (a += " "), (a += " "), (a += " "), r.dataLabelPosition && (a += ' '), (a += ' '), (a += ' '), (a += ' '), (a += ' '), (a += ' '), (a += ' '), (a += " "), (a += '')), (a += "") break case V.BUBBLE: case V.BUBBLE3D: ;(a += ""), (a += ''), (s = -1) var l = 1 t .filter(function (e, t) { return t > 0 }) .forEach(function (n, i) { s++, (a += ""), (a += ' '), (a += ' '), (a += " "), (a += " "), (a += " Sheet1!$" + ht(l + 1) + "$1"), (a += ' ' + ne(n.name) + ""), (a += " "), (a += " "), (a += "") var o = r.chartColors[s % r.chartColors.length] "transparent" === o ? (a += "") : r.chartColorsOpacity ? (a += "" + ce(o, '') + "") : (a += "" + ce(o) + ""), 0 === r.lineSize ? (a += "") : r.dataBorder ? (a += '' + ce(r.dataBorder.color) + '') : ((a += '' + ce(o) + ""), (a += '')), (a += mt(r.shadow, S)), (a += ""), (a += ""), (a += " "), (a += " Sheet1!$A$2:$A$" + (t[0].values.length + 1) + ""), (a += " "), (a += " General"), (a += ' '), t[0].values.forEach(function (e, t) { a += '' + (e || 0 === e ? e : "") + "" }), (a += " "), (a += " "), (a += ""), (a += ""), (a += " "), (a += " Sheet1!$" + ht(l + 1) + "$2:$" + ht(l + 1) + "$" + (t[0].values.length + 1) + ""), l++, (a += " "), (a += " General"), (a += ' '), t[0].values.forEach(function (e, t) { a += '' + (n.values[t] || 0 === n.values[t] ? n.values[t] : "") + "" }), (a += " "), (a += " "), (a += ""), (a += " "), (a += " "), (a += " Sheet1!$" + ht(l + 1) + "$2:$" + ht(l + 1) + "$" + (n.sizes.length + 1) + ""), l++, (a += " "), (a += " General"), (a += '\t '), n.sizes.forEach(function (e, t) { a += '' + (e || "") + "" }), (a += " "), (a += " "), (a += " "), (a += ' '), (a += "") }), (a += ""), (a += '')), (a += ""), (a += '')), (a += "".concat(ce(r.dataLabelColor || w), "")), (a += '')), (a += ""), r.dataLabelPosition && (a += '')), (a += ''), (a += '')), (a += '' )), (a += ""), (a += ' '), (a += ' '), (a += " "), (a += ""), (a += ""), (a += '')), (a += "") break case V.DOUGHNUT: case V.PIE: var c = t[0] ;(a += ""), (a += ' '), (a += ""), (a += ' '), (a += ' '), (a += " "), (a += " "), (a += " Sheet1!$B$1"), (a += " "), (a += ' '), (a += ' ' + ne(c.name) + ""), (a += " "), (a += " "), (a += " "), (a += " "), (a += ' '), (a += ' '), r.dataNoEffects ? (a += "") : (a += mt(r.shadow, S)), (a += " "), c.labels[0].forEach(function (e, t) { ;(a += ""), (a += ' ')), (a += ' '), (a += " "), (a += "".concat( ce(r.chartColors[t + 1 > r.chartColors.length ? Math.floor(Math.random() * r.chartColors.length) : t]), "" )), r.dataBorder && (a += '') .concat(ce(r.dataBorder.color), '')), (a += mt(r.shadow, S)), (a += " "), (a += "") }), (a += ""), c.labels[0].forEach(function (t, n) { ;(a += ""), (a += ' ')), (a += ' ')), (a += " "), (a += " "), (a += " "), (a += ' ')), (a += " " + ce(r.dataLabelColor || w) + ""), (a += ' ')), (a += " "), (a += " "), (a += " "), e === V.PIE && r.dataLabelPosition && (a += ' ')), (a += ' '), (a += ' '), (a += ' '), (a += ' '), (a += ' '), (a += ' '), (a += " ") }), (a += ' ')), (a += "\t"), (a += "\t "), (a += "\t "), (a += "\t "), (a += "\t\t"), (a += '\t\t '), (a += '\t\t\t'), (a += "\t\t "), (a += "\t\t"), (a += "\t "), (a += "\t"), (a += e === V.PIE ? '' : ""), (a += '\t'), (a += '\t'), (a += '\t'), (a += '\t'), (a += '\t'), (a += '\t'), (a += ' ')), (a += ""), (a += ""), (a += " "), (a += " Sheet1!$A$2:$A$" + (c.labels[0].length + 1) + ""), (a += " "), (a += '\t '), c.labels[0].forEach(function (e, t) { a += '' + ne(e) + "" }), (a += " "), (a += " "), (a += ""), (a += " "), (a += " "), (a += " Sheet1!$B$2:$B$" + (c.labels[0].length + 1) + ""), (a += " "), (a += '\t '), c.values.forEach(function (e, t) { a += '' + (e || 0 === e ? e : "") + "" }), (a += " "), (a += " "), (a += " "), (a += " "), (a += ' ')), e === V.DOUGHNUT && (a += ' '), (a += "") break default: a += "" break } return a } function ut(e, t, r) { var n = "" return ( e._type === V.SCATTER || e._type === V.BUBBLE || e._type === V.BUBBLE3D ? (n += "") : (n += ""), (n += ' '), (n += " "), (n += ''), (e.catAxisMaxVal || 0 === e.catAxisMaxVal) && (n += ''), (e.catAxisMinVal || 0 === e.catAxisMinVal) && (n += ''), (n += ""), (n += ' '), (n += ' '), (n += "none" !== e.catGridLine.style ? gt(e.catGridLine) : ""), e.showCatAxisTitle && (n += dt({ color: e.catAxisTitleColor, fontFace: e.catAxisTitleFontFace, fontSize: e.catAxisTitleFontSize, titleRotate: e.catAxisTitleRotate, title: e.catAxisTitle || "Axis Title" })), e._type === V.SCATTER || e._type === V.BUBBLE || e._type === V.BUBBLE3D ? (n += ' ') : (n += ' '), e._type === V.SCATTER ? ((n += ' '), (n += ' '), (n += ' ')) : ((n += ' '), (n += ' '), (n += ' ')), (n += " "), (n += ' '), (n += !1 === e.catAxisLineShow ? "" : "" + ce(e.catAxisLineColor || b.color) + ""), (n += ' '), (n += " "), (n += " "), (n += " "), (n += " "), (n += " "), (n += " "), (n += " "), (n += " "), (n += ' '), (n += " " + ce(e.catAxisLabelColor || w) + ""), (n += ' '), (n += " "), (n += " "), (n += ' '), (n += " "), (n += " "), (n += ' '), (n += " ')), (n += ' '), (n += ' '), (n += ' '), e.catAxisLabelFrequency && (n += ' '), (e.catLabelFormatCode || e._type === V.SCATTER || e._type === V.BUBBLE || e._type === V.BUBBLE3D) && (e.catLabelFormatCode && (["catAxisBaseTimeUnit", "catAxisMajorTimeUnit", "catAxisMinorTimeUnit"].forEach(function (t) { !e[t] || ("string" === typeof e[t] && -1 !== ["days", "months", "years"].indexOf(e[t].toLowerCase())) || (console.warn("`" + t + "` must be one of: 'days','months','years' !"), (e[t] = null)) }), e.catAxisBaseTimeUnit && (n += ''), e.catAxisMajorTimeUnit && (n += ''), e.catAxisMinorTimeUnit && (n += '')), e.catAxisMajorUnit && (n += ''), e.catAxisMinorUnit && (n += '')), e._type === V.SCATTER || e._type === V.BUBBLE || e._type === V.BUBBLE3D ? (n += "") : (n += ""), n ) } function ft(e, t) { var r = t === P ? ("col" === e.barDir ? "l" : "b") : "col" !== e.barDir ? "r" : "t" t === O && (r = "r") var n = t === P ? j : R, i = "" if ( ((i += ""), (i += ' '), (i += " "), e.valAxisLogScaleBase && (i += '')), (i += ''), (e.valAxisMaxVal || 0 === e.valAxisMaxVal) && (i += ''), (e.valAxisMinVal || 0 === e.valAxisMinVal) && (i += ''), (i += " "), (i += ' '), (i += ' '), "none" !== e.valGridLine.style && (i += gt(e.valGridLine)), e.showValAxisTitle && (i += dt({ color: e.valAxisTitleColor, fontFace: e.valAxisTitleFontFace, fontSize: e.valAxisTitleFontSize, titleRotate: e.valAxisTitleRotate, title: e.valAxisTitle || "Axis Title" })), (i += '')), e._type === V.SCATTER ? ((i += ' '), (i += ' '), (i += ' ')) : ((i += ' '), (i += ' '), (i += ' ')), (i += " "), (i += ' '), (i += !1 === e.valAxisLineShow ? "" : "" + ce(e.valAxisLineColor || b.color) + ""), (i += ' '), (i += " "), (i += " "), (i += " "), (i += " "), (i += " "), (i += " "), (i += " "), (i += " "), (i += ' '), (i += " " + ce(e.valAxisLabelColor || w) + ""), (i += ' '), (i += " "), (i += " "), (i += ' '), (i += " "), (i += " "), (i += ' '), "number" === typeof e.catAxisCrossesAt) ) i += ' ' else if ("string" === typeof e.catAxisCrossesAt) i += ' ' else { var o = "r" === r || "t" === r, a = o ? "max" : "autoZero" i += ' ' } return ( (i += ' '), e.valAxisMajorUnit && (i += ' '), e.valAxisDisplayUnit && (i += '') .concat(e.valAxisDisplayUnitLabel ? "" : "", "")), (i += ""), i ) } function pt(e, t, r) { var n = "" return ( (n += ""), (n += ' '), (n += ' '), (n += ' '), (n += ' '), (n += "none" !== e.serGridLine.style ? gt(e.serGridLine) : ""), e.showSerAxisTitle && (n += dt({ color: e.serAxisTitleColor, fontFace: e.serAxisTitleFontFace, fontSize: e.serAxisTitleFontSize, titleRotate: e.serAxisTitleRotate, title: e.serAxisTitle || "Axis Title" })), (n += ' ')), (n += ' '), (n += ' '), (n += ' '), (n += " "), (n += ' '), (n += !1 === e.serAxisLineShow ? "" : "" + ce(e.serAxisLineColor || b.color) + ""), (n += ' '), (n += " "), (n += " "), (n += " "), (n += " "), (n += " "), (n += " "), (n += " "), (n += " "), (n += ' ')), (n += " " + ce(e.serAxisLabelColor || w) + ""), (n += ' '), (n += " "), (n += " "), (n += ' '), (n += " "), (n += " "), (n += ' '), (n += ' '), e.serAxisLabelFrequency && (n += ' '), e.serLabelFormatCode && (["serAxisBaseTimeUnit", "serAxisMajorTimeUnit", "serAxisMinorTimeUnit"].forEach(function (t) { !e[t] || ("string" === typeof e[t] && -1 !== ["days", "months", "years"].indexOf(t.toLowerCase())) || (console.warn("`" + t + "` must be one of: 'days','months','years' !"), (e[t] = null)) }), e.serAxisBaseTimeUnit && (n += ' '), e.serAxisMajorTimeUnit && (n += ' '), e.serAxisMinorTimeUnit && (n += ' '), e.serAxisMajorUnit && (n += ' '), e.serAxisMinorUnit && (n += ' ')), (n += ""), n ) } function dt(e, t, r) { var n = "left" === e.titleAlign || "right" === e.titleAlign ? '') : "", i = e.titleRotate ? '') : "", o = e.fontSize ? 'sz="' + Math.round(100 * e.fontSize) + '"' : "", a = !0 === e.titleBold ? 1 : 0, s = "" if (e.titlePos && "number" === typeof e.titlePos.x && "number" === typeof e.titlePos.y) { var l = e.titlePos.x + t, c = e.titlePos.y + r, u = 0 === l ? 0 : (l * (l / 5)) / 10 u >= 1 && (u /= 10), u >= 0.1 && (u /= 10) var f = 0 === c ? 0 : (c * (c / 5)) / 10 f >= 1 && (f /= 10), f >= 0.1 && (f /= 10), (s = '')) } return "\n\t \n\t \n\t " .concat(i, "\n\t \n\t \n\t ") .concat(n, "\n\t \n\t ') .concat(ce(e.color || w), '\n\t \n\t \n\t \n\t \n\t \n\t ') .concat(ce(e.color || w), '\n\t \n\t \n\t ') .concat(ne(e.title) || "", "\n\t \n\t \n\t \n\t \n\t ") .concat(s, '\n\t \n\t') } function ht(e) { var t = "", r = e - 1 return (t = r <= 25 ? N[r] : "".concat(N[Math.floor(r / N.length - 1)]).concat(N[r % N.length])), t } function mt(e, t) { if (!e) return "" if ("object" !== typeof e) return console.warn("`shadow` options must be an object. Ex: `{shadow: {type:'none'}}`"), "" var r = "", n = re(t, e), i = n["type"] || "outer", o = oe(n["blur"]), a = oe(n["offset"]), s = Math.round(6e4 * n["angle"]), l = n["color"], c = Math.round(1e5 * n["opacity"]), u = n["rotateWithShape"] ? 1 : 0 return ( (r += "'), (r += ''), (r += ''), (r += ""), (r += ""), r ) } function gt(e) { var t = "" return ( (t += " "), (t += ' '), (t += ' '), (t += ' '), (t += " "), (t += " "), (t += ""), t ) } function yt(t) { var n = "undefined" === typeof window ? r(0) : null, i = "undefined" === typeof window ? r(1) : null, o = [], a = t._relsMedia.filter(function (e) { return "online" !== e.type && !e.data && (!e.path || (e.path && -1 === e.path.indexOf("preencoded"))) }), s = [] return ( a.forEach(function (e) { ;-1 === s.indexOf(e.path) ? ((e.isDuplicate = !1), s.push(e.path)) : (e.isDuplicate = !0) }), a .filter(function (e) { return !e.isDuplicate }) .forEach(function (t) { o.push( new Promise(function (r, o) { if (n && Object.values(n).length > 0 && 0 !== t.path.indexOf("http")) try { var s = n.readFileSync(t.path) ;(t.data = e.from(s).toString("base64")), a .filter(function (e) { return e.isDuplicate && e.path === t.path }) .forEach(function (e) { return (e.data = t.data) }), r("done") } catch (c) { ;(t.data = J), a .filter(function (e) { return e.isDuplicate && e.path === t.path }) .forEach(function (e) { return (e.data = t.data) }), o('ERROR: Unable to read media: "' + t.path + '"\n' + c.toString()) } else if (n && Object.values(n).length > 0 && Object.values(i).length > 0 && i && 0 === t.path.indexOf("http")) i.get(t.path, function (n) { var i = "" n.setEncoding("binary"), n.on("data", function (e) { return (i += e) }), n.on("end", function () { ;(t.data = e.from(i, "binary").toString("base64")), a .filter(function (e) { return e.isDuplicate && e.path === t.path }) .forEach(function (e) { return (e.data = t.data) }), r("done") }), n.on("error", function (e) { ;(t.data = J), a .filter(function (e) { return e.isDuplicate && e.path === t.path }) .forEach(function (e) { return (e.data = t.data) }), o("ERROR! Unable to load image (https.get): ".concat(t.path)) }) }) else { var l = new XMLHttpRequest() ;(l.onload = function () { var e = new FileReader() ;(e.onloadend = function () { ;(t.data = e.result), a .filter(function (e) { return e.isDuplicate && e.path === t.path }) .forEach(function (e) { return (e.data = t.data) }), t.isSvgPng ? vt(t) .then(function () { r("done") }) .catch(function (e) { o(e) }) : r("done") }), e.readAsDataURL(l.response) }), (l.onerror = function (e) { ;(t.data = J), a .filter(function (e) { return e.isDuplicate && e.path === t.path }) .forEach(function (e) { return (e.data = t.data) }), o("ERROR! Unable to load image (xhr.onerror): ".concat(t.path)) }), l.open("GET", t.path), (l.responseType = "blob"), l.send() } }) ) }), t._relsMedia .filter(function (e) { return e.isSvgPng && e.data }) .forEach(function (e) { n ? ((e.data = J), o.push( Promise.resolve().then(function () { return "done" }) )) : o.push(vt(e)) }), o ) } function vt(e) { return new Promise(function (t, r) { var n = new Image() ;(n.onload = function () { n.width + n.height === 0 && n.onerror("h/w=0") var r = document.createElement("CANVAS"), i = r.getContext("2d") ;(r.width = n.width), (r.height = n.height), i.drawImage(n, 0, 0) try { ;(e.data = r.toDataURL(e.type)), t("done") } catch (o) { n.onerror(o) } r = null }), (n.onerror = function (t) { ;(e.data = J), r("ERROR! Unable to load image (image.onerror): ".concat(e.path)) }), (n.src = "string" === typeof e.data ? e.data : J) }) } var bt = "3.11.0", wt = (function () { function e() { var e = this ;(this._version = bt), (this._alignH = q), (this._alignV = G), (this._chartType = F), (this._outputType = B), (this._schemeColor = z), (this._shapeType = U), (this._charts = V), (this._colors = H), (this._shapes = W), (this.addNewSlide = function (t) { var r = e.sections.length > 0 && e.sections[e.sections.length - 1]._slides.filter(function (t) { return t._slideNum === e.slides[e.slides.length - 1]._slideNum }).length > 0 return e.addSlide({ masterName: t, sectionTitle: r ? e.sections[e.sections.length - 1].title : null }) }), (this.getSlide = function (t) { return e.slides.filter(function (e) { return e._slideNum === t })[0] }), (this.setSlideNumber = function (t) { ;(e.masterSlide._slideNumberProps = t), (e.slideLayouts.filter(function (e) { return e._name === T })[0]._slideNumberProps = t) }), (this.createChartMediaRels = function (e, t, r) { e._relsChart.forEach(function (e) { return r.push(st(e, t)) }), e._relsMedia.forEach(function (e) { if ("online" !== e.type && "hyperlink" !== e.type) { var r = e.data && "string" === typeof e.data ? e.data : "" ;(-1 === r.indexOf(",") && -1 === r.indexOf(";")) || -1 === r.indexOf(",") ? (r = "image/png;base64," + r) : -1 === r.indexOf(";") && (r = "image/png;" + r), t.file(e.Target.replace("..", "ppt"), r.split(",").pop(), { base64: !0 }) } }) }), (this.writeFileToBrowser = function (e, t) { var r = document.createElement("a") if ( (r.setAttribute("style", "display:none;"), (r.dataset.interception = "off"), document.body.appendChild(r), window.URL.createObjectURL) ) { var n = window.URL.createObjectURL( new Blob([t], { type: "application/vnd.openxmlformats-officedocument.presentationml.presentation" }) ) return ( (r.href = n), (r.download = e), r.click(), setTimeout(function () { window.URL.revokeObjectURL(n), document.body.removeChild(r) }, 100), Promise.resolve(e) ) } }), (this.exportPresentation = function (t) { var r = [], n = [], o = new i.a() return ( e.slides.forEach(function (e) { n = n.concat(yt(e)) }), e.slideLayouts.forEach(function (e) { n = n.concat(yt(e)) }), (n = n.concat(yt(e.masterSlide))), Promise.all(n).then(function () { return ( e.slides.forEach(function (e) { e._slideLayout && nt(e) }), o.folder("_rels"), o.folder("docProps"), o.folder("ppt").folder("_rels"), o.folder("ppt/charts").folder("_rels"), o.folder("ppt/embeddings"), o.folder("ppt/media"), o.folder("ppt/slideLayouts").folder("_rels"), o.folder("ppt/slideMasters").folder("_rels"), o.folder("ppt/slides").folder("_rels"), o.folder("ppt/theme"), o.folder("ppt/notesMasters").folder("_rels"), o.folder("ppt/notesSlides").folder("_rels"), o.file("[Content_Types].xml", Ee(e.slides, e.slideLayouts, e.masterSlide)), o.file("_rels/.rels", Se()), o.file("docProps/app.xml", Ce(e.slides, e.company)), o.file("docProps/core.xml", ke(e.title, e.subject, e.author, e.revision)), o.file("ppt/_rels/presentation.xml.rels", Le(e.slides)), o.file("ppt/theme/theme1.xml", qe()), o.file("ppt/presentation.xml", Ge(e)), o.file("ppt/presProps.xml", We()), o.file("ppt/tableStyles.xml", Ve()), o.file("ppt/viewProps.xml", He()), e.slideLayouts.forEach(function (t, r) { o.file("ppt/slideLayouts/slideLayout" + (r + 1) + ".xml", Ie(t)), o.file("ppt/slideLayouts/_rels/slideLayout" + (r + 1) + ".xml.rels", Me(r + 1, e.slideLayouts)) }), e.slides.forEach(function (t, r) { o.file("ppt/slides/slide" + (r + 1) + ".xml", Pe(t)), o.file("ppt/slides/_rels/slide" + (r + 1) + ".xml.rels", De(e.slides, e.slideLayouts, r + 1)), o.file("ppt/notesSlides/notesSlide" + (r + 1) + ".xml", Re(t)), o.file("ppt/notesSlides/_rels/notesSlide" + (r + 1) + ".xml.rels", Be(r + 1)) }), o.file("ppt/slideMasters/slideMaster1.xml", Ne(e.masterSlide, e.slideLayouts)), o.file("ppt/slideMasters/_rels/slideMaster1.xml.rels", Fe(e.masterSlide, e.slideLayouts)), o.file("ppt/notesMasters/notesMaster1.xml", je()), o.file("ppt/notesMasters/_rels/notesMaster1.xml.rels", Ue()), e.slideLayouts.forEach(function (t) { e.createChartMediaRels(t, o, r) }), e.slides.forEach(function (t) { e.createChartMediaRels(t, o, r) }), e.createChartMediaRels(e.masterSlide, o, r), Promise.all(r).then(function () { return "STREAM" === t.outputType ? o.generateAsync({ type: "nodebuffer", compression: t.compression ? "DEFLATE" : "STORE" }) : t.outputType ? o.generateAsync({ type: t.outputType }) : o.generateAsync({ type: "blob", compression: t.compression ? "DEFLATE" : "STORE" }) }) ) }) ) }), (this.LAYOUTS = { LAYOUT_4x3: { name: "screen4x3", width: 9144e3, height: 6858e3 }, LAYOUT_16x9: { name: "screen16x9", width: 9144e3, height: 5143500 }, LAYOUT_16x10: { name: "screen16x10", width: 9144e3, height: 5715e3 }, LAYOUT_WIDE: { name: "custom", width: 12192e3, height: 6858e3 } }), (this._author = "PptxGenJS"), (this._company = "PptxGenJS"), (this._revision = "1"), (this._subject = "PptxGenJS Presentation"), (this._title = "PptxGenJS Presentation"), (this._presLayout = { name: this.LAYOUTS[_].name, _sizeW: this.LAYOUTS[_].width, _sizeH: this.LAYOUTS[_].height, width: this.LAYOUTS[_].width, height: this.LAYOUTS[_].height }), (this._rtlMode = !1), (this._slideLayouts = [ { _margin: C, _name: T, _presLayout: this._presLayout, _rels: [], _relsChart: [], _relsMedia: [], _slide: null, _slideNum: 1e3, _slideNumberProps: null, _slideObjects: [] } ]), (this._slides = []), (this._sections = []), (this._masterSlide = { addChart: null, addImage: null, addMedia: null, addNotes: null, addShape: null, addTable: null, addText: null, _name: null, _presLayout: this._presLayout, _rId: null, _rels: [], _relsChart: [], _relsMedia: [], _slideId: null, _slideLayout: null, _slideNum: null, _slideNumberProps: null, _slideObjects: [] }) } return ( Object.defineProperty(e.prototype, "layout", { get: function () { return this._layout }, set: function (e) { var t = this.LAYOUTS[e] if (!t) throw new Error("UNKNOWN-LAYOUT") ;(this._layout = e), (this._presLayout = t) }, enumerable: !1, configurable: !0 }), Object.defineProperty(e.prototype, "version", { get: function () { return this._version }, enumerable: !1, configurable: !0 }), Object.defineProperty(e.prototype, "author", { get: function () { return this._author }, set: function (e) { this._author = e }, enumerable: !1, configurable: !0 }), Object.defineProperty(e.prototype, "company", { get: function () { return this._company }, set: function (e) { this._company = e }, enumerable: !1, configurable: !0 }), Object.defineProperty(e.prototype, "revision", { get: function () { return this._revision }, set: function (e) { this._revision = e }, enumerable: !1, configurable: !0 }), Object.defineProperty(e.prototype, "subject", { get: function () { return this._subject }, set: function (e) { this._subject = e }, enumerable: !1, configurable: !0 }), Object.defineProperty(e.prototype, "title", { get: function () { return this._title }, set: function (e) { this._title = e }, enumerable: !1, configurable: !0 }), Object.defineProperty(e.prototype, "rtlMode", { get: function () { return this._rtlMode }, set: function (e) { this._rtlMode = e }, enumerable: !1, configurable: !0 }), Object.defineProperty(e.prototype, "masterSlide", { get: function () { return this._masterSlide }, enumerable: !1, configurable: !0 }), Object.defineProperty(e.prototype, "slides", { get: function () { return this._slides }, enumerable: !1, configurable: !0 }), Object.defineProperty(e.prototype, "sections", { get: function () { return this._sections }, enumerable: !1, configurable: !0 }), Object.defineProperty(e.prototype, "slideLayouts", { get: function () { return this._slideLayouts }, enumerable: !1, configurable: !0 }), Object.defineProperty(e.prototype, "AlignH", { get: function () { return this._alignH }, enumerable: !1, configurable: !0 }), Object.defineProperty(e.prototype, "AlignV", { get: function () { return this._alignV }, enumerable: !1, configurable: !0 }), Object.defineProperty(e.prototype, "ChartType", { get: function () { return this._chartType }, enumerable: !1, configurable: !0 }), Object.defineProperty(e.prototype, "OutputType", { get: function () { return this._outputType }, enumerable: !1, configurable: !0 }), Object.defineProperty(e.prototype, "presLayout", { get: function () { return this._presLayout }, enumerable: !1, configurable: !0 }), Object.defineProperty(e.prototype, "SchemeColor", { get: function () { return this._schemeColor }, enumerable: !1, configurable: !0 }), Object.defineProperty(e.prototype, "ShapeType", { get: function () { return this._shapeType }, enumerable: !1, configurable: !0 }), Object.defineProperty(e.prototype, "charts", { get: function () { return this._charts }, enumerable: !1, configurable: !0 }), Object.defineProperty(e.prototype, "colors", { get: function () { return this._colors }, enumerable: !1, configurable: !0 }), Object.defineProperty(e.prototype, "shapes", { get: function () { return this._shapes }, enumerable: !1, configurable: !0 }), (e.prototype.stream = function (e) { var t = !("object" !== typeof e || !e.hasOwnProperty("compression")) && e.compression return this.exportPresentation({ compression: t, outputType: "STREAM" }) }), (e.prototype.write = function (e) { var t = "object" === typeof e && e.hasOwnProperty("outputType") ? e.outputType : e || null, r = !("object" !== typeof e || !e.hasOwnProperty("compression")) && e.compression return this.exportPresentation({ compression: r, outputType: t }) }), (e.prototype.writeFile = function (e) { var t = this, n = "undefined" === typeof window ? r(0) : null "string" === typeof e && console.log("Warning: `writeFile(filename)` is deprecated - please use `WriteFileProps` argument (v3.5.0)") var i = "object" === typeof e && e.hasOwnProperty("fileName") ? e.fileName : "string" === typeof e ? e : "", o = !("object" !== typeof e || !e.hasOwnProperty("compression")) && e.compression, a = i ? (i.toString().toLowerCase().endsWith(".pptx") ? i : i + ".pptx") : "Presentation.pptx" return this.exportPresentation({ compression: o, outputType: n ? "nodebuffer" : null }).then(function (e) { return n ? new Promise(function (t, r) { n.writeFile(a, e, function (e) { e ? r(e) : t(a) }) }) : t.writeFileToBrowser(a, e) }) }), (e.prototype.addSection = function (e) { e ? e.title || console.warn("addSection requires a title") : console.warn("addSection requires an argument") var t = { _type: "user", _slides: [], title: e.title } e.order ? this.sections.splice(e.order, 0, t) : this._sections.push(t) }), (e.prototype.addSlide = function (e) { var t = "string" === typeof e ? e : e && e.masterName ? e.masterName : "", r = { _name: this.LAYOUTS[_].name, _presLayout: this.presLayout, _rels: [], _relsChart: [], _relsMedia: [], _slideNum: this.slides.length + 1 } if (t) { var n = this.slideLayouts.filter(function (e) { return e._name === t })[0] n && (r = n) } var i = new at({ addSlide: this.addNewSlide, getSlide: this.getSlide, presLayout: this.presLayout, setSlideNum: this.setSlideNumber, slideId: this.slides.length + 256, slideRId: this.slides.length + 2, slideNumber: this.slides.length + 1, slideLayout: r }) if ((this._slides.push(i), e && e.sectionTitle)) { var o = this.sections.filter(function (t) { return t.title === e.sectionTitle })[0] o ? o._slides.push(i) : console.warn('addSlide: unable to find section with title: "'.concat(e.sectionTitle, '"')) } else if (this.sections && this.sections.length > 0 && (!e || !e.sectionTitle)) { var a = this._sections[this.sections.length - 1] "default" === a._type ? a._slides.push(i) : this._sections.push({ title: "Default-".concat( this.sections.filter(function (e) { return "default" === e._type }).length + 1 ), _type: "default", _slides: [i] }) } return i }), (e.prototype.defineLayout = function (e) { e ? e.name ? e.width ? e.height ? "number" !== typeof e.height ? console.warn("defineLayout `height` should be a number (inches)") : "number" !== typeof e.width && console.warn("defineLayout `width` should be a number (inches)") : console.warn("defineLayout requires `height`") : console.warn("defineLayout requires `width`") : console.warn("defineLayout requires `name`") : console.warn("defineLayout requires `{name, width, height}`"), (this.LAYOUTS[e.name] = { name: e.name, _sizeW: Math.round(Number(e.width) * c), _sizeH: Math.round(Number(e.height) * c), width: Math.round(Number(e.width) * c), height: Math.round(Number(e.height) * c) }) }), (e.prototype.defineSlideMaster = function (e) { if (!e.title) throw new Error( "defineSlideMaster() object argument requires a `title` value. (https://gitbrent.github.io/PptxGenJS/docs/masters.html)" ) var t = { _margin: e.margin || C, _name: e.title, _presLayout: this.presLayout, _rels: [], _relsChart: [], _relsMedia: [], _slide: null, _slideNum: 1e3 + this.slideLayouts.length + 1, _slideNumberProps: e.slideNumber || null, _slideObjects: [], background: e.background || null, bkgd: e.bkgd || null } Ke(e, t), this.slideLayouts.push(t), (e.background || e.bkgd) && it(e.background, t), t._slideNumberProps && !this.masterSlide._slideNumberProps && (this.masterSlide._slideNumberProps = t._slideNumberProps) }), (e.prototype.tableToSlides = function (e, t) { void 0 === t && (t = {}), me( this, e, t, t && t.masterSlideName ? this.slideLayouts.filter(function (e) { return e._name === t.masterSlideName })[0] : null ) }), e ) })() }).call(this, r("b639").Buffer) }, "90e3": function (e, t) { var r = 0, n = Math.random() e.exports = function (e) { return "Symbol(" + String(void 0 === e ? "" : e) + ")_" + (++r + n).toString(36) } }, 9112: function (e, t, r) { var n = r("83ab"), i = r("9bf2"), o = r("5c6c") e.exports = n ? function (e, t, r) { return i.f(e, t, o(1, r)) } : function (e, t, r) { return (e[t] = r), e } }, 9152: function (e, t) { /*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh */ ;(t.read = function (e, t, r, n, i) { var o, a, s = 8 * i - n - 1, l = (1 << s) - 1, c = l >> 1, u = -7, f = r ? i - 1 : 0, p = r ? -1 : 1, d = e[t + f] for (f += p, o = d & ((1 << -u) - 1), d >>= -u, u += s; u > 0; o = 256 * o + e[t + f], f += p, u -= 8); for (a = o & ((1 << -u) - 1), o >>= -u, u += n; u > 0; a = 256 * a + e[t + f], f += p, u -= 8); if (0 === o) o = 1 - c else { if (o === l) return a ? NaN : (1 / 0) * (d ? -1 : 1) ;(a += Math.pow(2, n)), (o -= c) } return (d ? -1 : 1) * a * Math.pow(2, o - n) }), (t.write = function (e, t, r, n, i, o) { var a, s, l, c = 8 * o - i - 1, u = (1 << c) - 1, f = u >> 1, p = 23 === i ? Math.pow(2, -24) - Math.pow(2, -77) : 0, d = n ? 0 : o - 1, h = n ? 1 : -1, m = t < 0 || (0 === t && 1 / t < 0) ? 1 : 0 for ( t = Math.abs(t), isNaN(t) || t === 1 / 0 ? ((s = isNaN(t) ? 1 : 0), (a = u)) : ((a = Math.floor(Math.log(t) / Math.LN2)), t * (l = Math.pow(2, -a)) < 1 && (a--, (l *= 2)), (t += a + f >= 1 ? p / l : p * Math.pow(2, 1 - f)), t * l >= 2 && (a++, (l /= 2)), a + f >= u ? ((s = 0), (a = u)) : a + f >= 1 ? ((s = (t * l - 1) * Math.pow(2, i)), (a += f)) : ((s = t * Math.pow(2, f - 1) * Math.pow(2, i)), (a = 0))); i >= 8; e[r + d] = 255 & s, d += h, s /= 256, i -= 8 ); for (a = (a << i) | s, c += i; c > 0; e[r + d] = 255 & a, d += h, a /= 256, c -= 8); e[r + d - h] |= 128 * m }) }, 9263: function (e, t, r) { "use strict" var n = r("577e"), i = r("ad6d"), o = r("9f7f"), a = r("5692"), s = r("7c73"), l = r("69f3").get, c = r("fce3"), u = r("107c"), f = RegExp.prototype.exec, p = a("native-string-replace", String.prototype.replace), d = f, h = (function () { var e = /a/, t = /b*/g return f.call(e, "a"), f.call(t, "a"), 0 !== e.lastIndex || 0 !== t.lastIndex })(), m = o.UNSUPPORTED_Y || o.BROKEN_CARET, g = void 0 !== /()??/.exec("")[1], y = h || g || m || c || u y && (d = function (e) { var t, r, o, a, c, u, y, v = this, b = l(v), w = n(e), x = b.raw if (x) return (x.lastIndex = v.lastIndex), (t = d.call(x, w)), (v.lastIndex = x.lastIndex), t var A = b.groups, _ = m && v.sticky, T = i.call(v), E = v.source, S = 0, C = w if ( (_ && ((T = T.replace("y", "")), -1 === T.indexOf("g") && (T += "g"), (C = w.slice(v.lastIndex)), v.lastIndex > 0 && (!v.multiline || (v.multiline && "\n" !== w.charAt(v.lastIndex - 1))) && ((E = "(?: " + E + ")"), (C = " " + C), S++), (r = new RegExp("^(?:" + E + ")", T))), g && (r = new RegExp("^" + E + "$(?!\\s)", T)), h && (o = v.lastIndex), (a = f.call(_ ? r : v, C)), _ ? a ? ((a.input = a.input.slice(S)), (a[0] = a[0].slice(S)), (a.index = v.lastIndex), (v.lastIndex += a[0].length)) : (v.lastIndex = 0) : h && a && (v.lastIndex = v.global ? a.index + a[0].length : o), g && a && a.length > 1 && p.call(a[0], r, function () { for (c = 1; c < arguments.length - 2; c++) void 0 === arguments[c] && (a[c] = void 0) }), a && A) ) for (a.groups = u = s(null), c = 0; c < A.length; c++) (y = A[c]), (u[y[0]] = a[y[1]]) return a }), (e.exports = d) }, "94ca": function (e, t, r) { var n = r("d039"), i = /#|\.prototype\./, o = function (e, t) { var r = s[a(e)] return r == c || (r != l && ("function" == typeof t ? n(t) : !!t)) }, a = (o.normalize = function (e) { return String(e).replace(i, ".").toLowerCase() }), s = (o.data = {}), l = (o.NATIVE = "N"), c = (o.POLYFILL = "P") e.exports = o }, "966d": function (e, t, r) { "use strict" ;(function (t) { function r(e, r, n, i) { if ("function" !== typeof e) throw new TypeError('"callback" argument must be a function') var o, a, s = arguments.length switch (s) { case 0: case 1: return t.nextTick(e) case 2: return t.nextTick(function () { e.call(null, r) }) case 3: return t.nextTick(function () { e.call(null, r, n) }) case 4: return t.nextTick(function () { e.call(null, r, n, i) }) default: ;(o = new Array(s - 1)), (a = 0) while (a < o.length) o[a++] = arguments[a] return t.nextTick(function () { e.apply(null, o) }) } } "undefined" === typeof t || !t.version || 0 === t.version.indexOf("v0.") || (0 === t.version.indexOf("v1.") && 0 !== t.version.indexOf("v1.8.")) ? (e.exports = { nextTick: r }) : (e.exports = t) }).call(this, r("4362")) }, "96c1": function (e, t, r) { var n = r("9b12").isArray e.exports = { copyOptions: function (e) { var t, r = {} for (t in e) e.hasOwnProperty(t) && (r[t] = e[t]) return r }, ensureFlagExists: function (e, t) { ;(e in t && "boolean" === typeof t[e]) || (t[e] = !1) }, ensureSpacesExists: function (e) { ;(!("spaces" in e) || ("number" !== typeof e.spaces && "string" !== typeof e.spaces)) && (e.spaces = 0) }, ensureAlwaysArrayExists: function (e) { ;("alwaysArray" in e && ("boolean" === typeof e.alwaysArray || n(e.alwaysArray))) || (e.alwaysArray = !1) }, ensureKeyExists: function (e, t) { ;(e + "Key" in t && "string" === typeof t[e + "Key"]) || (t[e + "Key"] = t.compact ? "_" + e : e) }, checkFnExists: function (e, t) { return e + "Fn" in t } } }, "96cf": function (e, t, r) { var n = (function (e) { "use strict" var t, r = Object.prototype, n = r.hasOwnProperty, i = "function" === typeof Symbol ? Symbol : {}, o = i.iterator || "@@iterator", a = i.asyncIterator || "@@asyncIterator", s = i.toStringTag || "@@toStringTag" function l(e, t, r) { return ( Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }), e[t] ) } try { l({}, "") } catch (j) { l = function (e, t, r) { return (e[t] = r) } } function c(e, t, r, n) { var i = t && t.prototype instanceof g ? t : g, o = Object.create(i.prototype), a = new L(n || []) return (o._invoke = E(e, r, a)), o } function u(e, t, r) { try { return { type: "normal", arg: e.call(t, r) } } catch (j) { return { type: "throw", arg: j } } } e.wrap = c var f = "suspendedStart", p = "suspendedYield", d = "executing", h = "completed", m = {} function g() {} function y() {} function v() {} var b = {} l(b, o, function () { return this }) var w = Object.getPrototypeOf, x = w && w(w(P([]))) x && x !== r && n.call(x, o) && (b = x) var A = (v.prototype = g.prototype = Object.create(b)) function _(e) { ;["next", "throw", "return"].forEach(function (t) { l(e, t, function (e) { return this._invoke(t, e) }) }) } function T(e, t) { function r(i, o, a, s) { var l = u(e[i], e, o) if ("throw" !== l.type) { var c = l.arg, f = c.value return f && "object" === typeof f && n.call(f, "__await") ? t.resolve(f.__await).then( function (e) { r("next", e, a, s) }, function (e) { r("throw", e, a, s) } ) : t.resolve(f).then( function (e) { ;(c.value = e), a(c) }, function (e) { return r("throw", e, a, s) } ) } s(l.arg) } var i function o(e, n) { function o() { return new t(function (t, i) { r(e, n, t, i) }) } return (i = i ? i.then(o, o) : o()) } this._invoke = o } function E(e, t, r) { var n = f return function (i, o) { if (n === d) throw new Error("Generator is already running") if (n === h) { if ("throw" === i) throw o return O() } ;(r.method = i), (r.arg = o) while (1) { var a = r.delegate if (a) { var s = S(a, r) if (s) { if (s === m) continue return s } } if ("next" === r.method) r.sent = r._sent = r.arg else if ("throw" === r.method) { if (n === f) throw ((n = h), r.arg) r.dispatchException(r.arg) } else "return" === r.method && r.abrupt("return", r.arg) n = d var l = u(e, t, r) if ("normal" === l.type) { if (((n = r.done ? h : p), l.arg === m)) continue return { value: l.arg, done: r.done } } "throw" === l.type && ((n = h), (r.method = "throw"), (r.arg = l.arg)) } } } function S(e, r) { var n = e.iterator[r.method] if (n === t) { if (((r.delegate = null), "throw" === r.method)) { if (e.iterator["return"] && ((r.method = "return"), (r.arg = t), S(e, r), "throw" === r.method)) return m ;(r.method = "throw"), (r.arg = new TypeError("The iterator does not provide a 'throw' method")) } return m } var i = u(n, e.iterator, r.arg) if ("throw" === i.type) return (r.method = "throw"), (r.arg = i.arg), (r.delegate = null), m var o = i.arg return o ? o.done ? ((r[e.resultName] = o.value), (r.next = e.nextLoc), "return" !== r.method && ((r.method = "next"), (r.arg = t)), (r.delegate = null), m) : o : ((r.method = "throw"), (r.arg = new TypeError("iterator result is not an object")), (r.delegate = null), m) } function C(e) { var t = { tryLoc: e[0] } 1 in e && (t.catchLoc = e[1]), 2 in e && ((t.finallyLoc = e[2]), (t.afterLoc = e[3])), this.tryEntries.push(t) } function k(e) { var t = e.completion || {} ;(t.type = "normal"), delete t.arg, (e.completion = t) } function L(e) { ;(this.tryEntries = [ { tryLoc: "root" } ]), e.forEach(C, this), this.reset(!0) } function P(e) { if (e) { var r = e[o] if (r) return r.call(e) if ("function" === typeof e.next) return e if (!isNaN(e.length)) { var i = -1, a = function r() { while (++i < e.length) if (n.call(e, i)) return (r.value = e[i]), (r.done = !1), r return (r.value = t), (r.done = !0), r } return (a.next = a) } } return { next: O } } function O() { return { value: t, done: !0 } } return ( (y.prototype = v), l(A, "constructor", v), l(v, "constructor", y), (y.displayName = l(v, s, "GeneratorFunction")), (e.isGeneratorFunction = function (e) { var t = "function" === typeof e && e.constructor return !!t && (t === y || "GeneratorFunction" === (t.displayName || t.name)) }), (e.mark = function (e) { return ( Object.setPrototypeOf ? Object.setPrototypeOf(e, v) : ((e.__proto__ = v), l(e, s, "GeneratorFunction")), (e.prototype = Object.create(A)), e ) }), (e.awrap = function (e) { return { __await: e } }), _(T.prototype), l(T.prototype, a, function () { return this }), (e.AsyncIterator = T), (e.async = function (t, r, n, i, o) { void 0 === o && (o = Promise) var a = new T(c(t, r, n, i), o) return e.isGeneratorFunction(r) ? a : a.next().then(function (e) { return e.done ? e.value : a.next() }) }), _(A), l(A, s, "Generator"), l(A, o, function () { return this }), l(A, "toString", function () { return "[object Generator]" }), (e.keys = function (e) { var t = [] for (var r in e) t.push(r) return ( t.reverse(), function r() { while (t.length) { var n = t.pop() if (n in e) return (r.value = n), (r.done = !1), r } return (r.done = !0), r } ) }), (e.values = P), (L.prototype = { constructor: L, reset: function (e) { if ( ((this.prev = 0), (this.next = 0), (this.sent = this._sent = t), (this.done = !1), (this.delegate = null), (this.method = "next"), (this.arg = t), this.tryEntries.forEach(k), !e) ) for (var r in this) "t" === r.charAt(0) && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = t) }, stop: function () { this.done = !0 var e = this.tryEntries[0], t = e.completion if ("throw" === t.type) throw t.arg return this.rval }, dispatchException: function (e) { if (this.done) throw e var r = this function i(n, i) { return (s.type = "throw"), (s.arg = e), (r.next = n), i && ((r.method = "next"), (r.arg = t)), !!i } for (var o = this.tryEntries.length - 1; o >= 0; --o) { var a = this.tryEntries[o], s = a.completion if ("root" === a.tryLoc) return i("end") if (a.tryLoc <= this.prev) { var l = n.call(a, "catchLoc"), c = n.call(a, "finallyLoc") if (l && c) { if (this.prev < a.catchLoc) return i(a.catchLoc, !0) if (this.prev < a.finallyLoc) return i(a.finallyLoc) } else if (l) { if (this.prev < a.catchLoc) return i(a.catchLoc, !0) } else { if (!c) throw new Error("try statement without catch or finally") if (this.prev < a.finallyLoc) return i(a.finallyLoc) } } } }, abrupt: function (e, t) { for (var r = this.tryEntries.length - 1; r >= 0; --r) { var i = this.tryEntries[r] if (i.tryLoc <= this.prev && n.call(i, "finallyLoc") && this.prev < i.finallyLoc) { var o = i break } } o && ("break" === e || "continue" === e) && o.tryLoc <= t && t <= o.finallyLoc && (o = null) var a = o ? o.completion : {} return (a.type = e), (a.arg = t), o ? ((this.method = "next"), (this.next = o.finallyLoc), m) : this.complete(a) }, complete: function (e, t) { if ("throw" === e.type) throw e.arg return ( "break" === e.type || "continue" === e.type ? (this.next = e.arg) : "return" === e.type ? ((this.rval = this.arg = e.arg), (this.method = "return"), (this.next = "end")) : "normal" === e.type && t && (this.next = t), m ) }, finish: function (e) { for (var t = this.tryEntries.length - 1; t >= 0; --t) { var r = this.tryEntries[t] if (r.finallyLoc === e) return this.complete(r.completion, r.afterLoc), k(r), m } }, catch: function (e) { for (var t = this.tryEntries.length - 1; t >= 0; --t) { var r = this.tryEntries[t] if (r.tryLoc === e) { var n = r.completion if ("throw" === n.type) { var i = n.arg k(r) } return i } } throw new Error("illegal catch attempt") }, delegateYield: function (e, r, n) { return ( (this.delegate = { iterator: P(e), resultName: r, nextLoc: n }), "next" === this.method && (this.arg = t), m ) } }), e ) })(e.exports) try { regeneratorRuntime = n } catch (i) { "object" === typeof globalThis ? (globalThis.regeneratorRuntime = n) : Function("r", "regeneratorRuntime = r")(n) } }, "99af": function (e, t, r) { "use strict" var n = r("23e7"), i = r("d039"), o = r("e8b5"), a = r("861d"), s = r("7b0b"), l = r("50c4"), c = r("8418"), u = r("65f0"), f = r("1dde"), p = r("b622"), d = r("2d00"), h = p("isConcatSpreadable"), m = 9007199254740991, g = "Maximum allowed index exceeded", y = d >= 51 || !i(function () { var e = [] return (e[h] = !1), e.concat()[0] !== e }), v = f("concat"), b = function (e) { if (!a(e)) return !1 var t = e[h] return void 0 !== t ? !!t : o(e) }, w = !y || !v n( { target: "Array", proto: !0, forced: w }, { concat: function (e) { var t, r, n, i, o, a = s(this), f = u(a, 0), p = 0 for (t = -1, n = arguments.length; t < n; t++) if (((o = -1 === t ? a : arguments[t]), b(o))) { if (((i = l(o.length)), p + i > m)) throw TypeError(g) for (r = 0; r < i; r++, p++) r in o && c(f, p, o[r]) } else { if (p >= m) throw TypeError(g) c(f, p++, o) } return (f.length = p), f } } ) }, "9a1f": function (e, t, r) { var n = r("825a"), i = r("35a1") e.exports = function (e, t) { var r = arguments.length < 2 ? i(e) : t if ("function" != typeof r) throw TypeError(String(e) + " is not iterable") return n(r.call(e)) } }, "9a7e": function (e, t, r) { "use strict" r.r(t), r.d(t, "createTaskController", function () { return J }), r.d(t, "destoryTaskController", function () { return $ }), r.d(t, "addCourseWareTask", function () { return ee }), r.d(t, "getRunJobIds", function () { return te }), r.d(t, "initOssResource", function () { return re }), r.d(t, "destroyOssResource", function () { return ne }) r("d3b7") function n(e, t) { ;(null == t || t > e.length) && (t = e.length) for (var r = 0, n = new Array(t); r < t; r++) n[r] = e[r] return n } function i(e) { if (Array.isArray(e)) return n(e) } r("a4d3"), r("e01a"), r("d28b"), r("3ca3"), r("ddb0"), r("a630") function o(e) { if (("undefined" !== typeof Symbol && null != e[Symbol.iterator]) || null != e["@@iterator"]) return Array.from(e) } r("fb6a"), r("b0c0") function a(e, t) { if (e) { if ("string" === typeof e) return n(e, t) var r = Object.prototype.toString.call(e).slice(8, -1) return ( "Object" === r && e.constructor && (r = e.constructor.name), "Map" === r || "Set" === r ? Array.from(e) : "Arguments" === r || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r) ? n(e, t) : void 0 ) } } function s() { throw new TypeError( "Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method." ) } function l(e) { return i(e) || o(e) || a(e) || s() } r("b64b"), r("4de4"), r("e439"), r("159b"), r("dbb4") function c(e, t, r) { return ( t in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : (e[t] = r), e ) } function u(e, t) { var r = Object.keys(e) if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e) t && (n = n.filter(function (t) { return Object.getOwnPropertyDescriptor(e, t).enumerable })), r.push.apply(r, n) } return r } function f(e) { for (var t = 1; t < arguments.length; t++) { var r = null != arguments[t] ? arguments[t] : {} t % 2 ? u(Object(r), !0).forEach(function (t) { c(e, t, r[t]) }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : u(Object(r)).forEach(function (t) { Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(r, t)) }) } return e } function p(e) { if (Array.isArray(e)) return e } function d(e, t) { var r = null == e ? null : ("undefined" !== typeof Symbol && e[Symbol.iterator]) || e["@@iterator"] if (null != r) { var n, i, o = [], a = !0, s = !1 try { for (r = r.call(e); !(a = (n = r.next()).done); a = !0) if ((o.push(n.value), t && o.length === t)) break } catch (l) { ;(s = !0), (i = l) } finally { try { a || null == r["return"] || r["return"]() } finally { if (s) throw i } } return o } } function h() { throw new TypeError( "Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method." ) } function m(e, t) { return p(e) || d(e, t) || a(e, t) || h() } function g(e, t) { if (null == e) return {} var r, n, i = {}, o = Object.keys(e) for (n = 0; n < o.length; n++) (r = o[n]), t.indexOf(r) >= 0 || (i[r] = e[r]) return i } function y(e, t) { if (null == e) return {} var r, n, i = g(e, t) if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e) for (n = 0; n < o.length; n++) (r = o[n]), t.indexOf(r) >= 0 || (Object.prototype.propertyIsEnumerable.call(e, r) && (i[r] = e[r])) } return i } function v(e, t) { if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function") } function b(e, t) { for (var r = 0; r < t.length; r++) { var n = t[r] ;(n.enumerable = n.enumerable || !1), (n.configurable = !0), "value" in n && (n.writable = !0), Object.defineProperty(e, n.key, n) } } function w(e, t, r) { return t && b(e.prototype, t), r && b(e, r), e } r("7db0"), r("caad"), r("2532") function x(e, t, r, n, i, o, a) { try { var s = e[o](a), l = s.value } catch (c) { return void r(c) } s.done ? t(l) : Promise.resolve(l).then(n, i) } function A(e) { return function () { var t = this, r = arguments return new Promise(function (n, i) { var o = e.apply(t, r) function a(e) { x(o, n, i, a, s, "next", e) } function s(e) { x(o, n, i, a, s, "throw", e) } a(void 0) }) } } r("96cf"), r("ac1f"), r("5319"), r("99af"), r("498a"), r("1276") var _ = r("9b15"), T = r.n(_), E = function (e, t, r, n) { function i(e) { return e instanceof r ? e : new r(function (t) { t(e) }) } return new (r || (r = Promise))(function (r, o) { function a(e) { try { l(n.next(e)) } catch (t) { o(t) } } function s(e) { try { l(n["throw"](e)) } catch (t) { o(t) } } function l(e) { e.done ? r(e.value) : i(e.value).then(a, s) } l((n = n.apply(e, t || [])).next()) }) } const S = r("df7c") function C(e) { return new Promise(t => setTimeout(t, e)) } let k class L { constructor(e) { ;(this.host = e.host), (this.token = e.token), (this.urlExistTimeout = (null === e || void 0 === e ? void 0 : e.urlExistTimeout) ? e.urlExistTimeout : 3e3), (this.retryMax = (null === e || void 0 === e ? void 0 : e.retryMax) ? e.retryMax : 0), (this.timeout = (null === e || void 0 === e ? void 0 : e.timeout) ? e.timeout : 6e4), (this.secure = !(null === e || void 0 === e ? void 0 : e.secure) || e.secure), (this.options = e), (k = e.fetch || fetch), (this.isNodeEnv = e.isNodeEnv || !1) } fetchOssConfig() { return E(this, void 0, void 0, function* () { const e = yield k(`https://${this.host}/common/oss-upload-config`, { method: "GET", headers: { Authorization: "Bearer " + this.token } }), t = yield e.json() if (0 !== t.status_code) { const e = new Error(t.message) throw ((e.status_code = t.status_code), e) } return t.data.upload_config }) } init() { return E(this, void 0, void 0, function* () { // hqy return // hqy try { this.ossConfig = yield this.fetchOssConfig() const { access_key_id: e, access_key_secret: t, sts_token: r, region: n, bucket: i } = this.ossConfig this.client = new T.a({ timeout: this.timeout, retryMax: this.retryMax, accessKeyId: e, accessKeySecret: t, stsToken: r, region: n, bucket: i, refreshSTSToken: () => E(this, void 0, void 0, function* () { try { return ( (this.ossConfig = yield this.fetchOssConfig()), { accessKeyId: this.ossConfig.access_key_id, accessKeySecret: this.ossConfig.access_key_secret, stsToken: this.ossConfig.sts_token } ) } catch (e) { console.error("刷新sts token 失败"), this.uploadReject && this.uploadReject(e) } }), secure: this.secure }) } catch (e) { throw (console.error("create oss resource error"), e) } }) } isExist(e) { return E(this, void 0, void 0, function* () { try { e = e.replace(/\+/g, "%2B") const t = yield k(e, { method: "HEAD" }) return 404 !== t.status } catch (t) { return !1 } }) } upload(e, t, r) { return E(this, void 0, void 0, function* () { return new Promise((n, i) => E(this, void 0, void 0, function* () { // hqy fileUpload({ host: this.host, token: this.token }, { fileName: t.name, file: t }) .then(res => { n(res) }) .catch(err => { n("") }) return // hqy try { this.uploadReject = i const a = { override: !1, cache: !1, cacheTime: 3600, ignorePathPrefix: !1 } r = Object.assign({}, a, r) const s = r.ignorePathPrefix ? "" + e : `${this.ossConfig.base_path}/${e}`, l = `${this.ossConfig.download_domain}/${s}` if (!r.override) { const e = yield this.isExist(l) if (e) return n(l) } let c = S.basename(s) t instanceof String ? (t = S.normalize(t)) : !this.options.isNodeEnv && t instanceof File && (c = t.name) const u = { "Content-Disposition": `attachment; filename="${encodeURIComponent(c)}"` } r.cache ? (u["Cache-Control"] = "max-age=" + r.cacheTime) : (u["Cache-Control"] = "no-cache") try { yield this.client.multipartUpload(s, t, { progress: r.progress, headers: u }) } catch (o) { i(o) } let f = !0 const p = setTimeout(() => { ;(f = !1), i(new Error("timeout: url not exist ")) }, this.urlExistTimeout) while (f) { const e = yield this.isExist(l) if (e) { clearTimeout(p), n(l) break } yield C(1e3) } } catch (o) { i(o) } }) ) }) } abort(e, t) { return E(this, void 0, void 0, function* () { if (e && t) return yield this.client.abortMultipartUpload(e, t) console.warn("name or uploadId isn't set") }) } } var P, O, j = r("84f2"), R = r.n(j), I = function () { for ( var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : 6, t = "_0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz", r = t.length, n = "", i = 0; i < e; i++ ) { var o = Math.floor(Math.random() * r) n += t[o] } return n }, N = function () { var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : "-", t = new Date(), r = t.getFullYear(), n = t.getMonth() + 1, i = "".concat(t.getDate()) n >= 1 && n <= 9 && (n = "0" + n), i >= 0 && i <= 9 && (i = "0" + i) var o = r + e + n + e + i return o }, M = (function () { var e = A( regeneratorRuntime.mark(function e(t, r) { return regeneratorRuntime.wrap(function (e) { while (1) switch ((e.prev = e.next)) { case 0: if (!P) { e.next = 2 break } return e.abrupt("return", P) case 2: return ( (P = new L({ // hqy //host: t.replace("https://", "").replace("/", "") || "", host: t || "", // hqy token: r, timeout: 12e4, urlExistTimeout: 6e4, retryMax: 3 })), (e.next = 5), P.init() ) case 5: case "end": return e.stop() } }, e) }) ) return function (t, r) { return e.apply(this, arguments) } })(), D = function () { P && (P = null) }, B = function (e) { var t = new R.a() return new Promise(function (r, n) { t.md5(e, function (e, t) { e && n(e), r(t) }) }) }, F = (function () { var e = A( regeneratorRuntime.mark(function e(t, r) { var n, i, o, a, s, l, c, u = arguments return regeneratorRuntime.wrap(function (e) { while (1) switch ((e.prev = e.next)) { case 0: if (((n = !(u.length > 2 && void 0 !== u[2]) || u[2]), P)) { e.next = 3 break } throw new Error("no init ossResource") case 3: return (i = t.size), (e.next = 6), B(t) case 6: return ( (o = e.sent), (a = I(10)), (s = N("")), (l = "" .concat(s, "/") .concat(t.name.split(".")[0].trim(), "-") .concat(a, ".") .concat(t.name.substring(t.name.lastIndexOf(".") + 1).trim() || t.type.split("/")[1])), (c = ""), (e.next = 13), P.upload(l, t, { cache: n, progress: r }).catch(function (e) { throw new Error(e) }) ) case 13: return ( (c = e.sent), e.abrupt("return", { url: c, md5: o, size: i }) ) case 15: case "end": return e.stop() } }, e) }) ) return function (t, r) { return e.apply(this, arguments) } })(), U = r("f5f5"), z = function (e) { return new Promise(function (t, r) { var n = e.extra, i = n.files, o = n.path, a = n.paths, s = n.type, l = n.name, c = { beforeParse: function () { e.progress({ id: e.id, status: O.doing, progress: 0 }) }, afterParseSlide: function (t, r, n, i) { e.progress({ id: e.id, status: O.doing, progress: (n / i) * 100 }) }, upload: F } U["a"] .pptx2json(i, c) .then(function (n) { var i = new Blob([n], { type: "" }), c = new File([i], "".concat(l, ".json"), { type: "application/json" }) F( c, function (t) { e.progress({ id: e.id, status: O.doing, progress: 100 * t }) }, !1 ) .then(function (e) { return t( f( f({}, e), {}, { name: l, contentType: s, suffix: ".json", path: o, paths: a } ) ) }) .catch(r) }) .catch(r) }) }, q = function (e) { return new Promise(function (t, r) { var n = e.extra, i = n.files, o = n.suffix, a = n.path, s = n.paths, l = n.type, c = n.name e.progress({ id: e.id, status: O.doing, progress: 0 }) var u = new FileReader() u.readAsText(i, "UTF-8"), (u.onloadend = function () { var n = u.result try { var p = JSON.parse(n), d = Object.keys(p) || [] d.includes("slides") && d.includes("theme") ? F( i, function (t) { e.progress({ id: e.id, status: O.doing, progress: 100 * t }) }, !1 ) .then(function (e) { return t( f( f({}, e), {}, { name: c, contentType: l, suffix: o, path: a, paths: s } ) ) }) .catch(r) : r(new Error("invalid theme or slides")) } catch (h) { r(h) } }) }) }, G = function (e) { return new Promise(function (t, r) { var n = e.extra, i = n.files, o = n.suffix, a = n.path, s = n.paths, l = n.type, c = n.name F(i, function (t) { e.progress({ id: e.id, status: O.doing, progress: 100 * t }) }) .then(function (e) { return t( f( f({}, e), {}, { name: c, contentType: l, suffix: o, path: a, paths: s } ) ) }) .catch(r) }) }, W = function (e) { return new Promise(function (t, r) { var n = e.extra.suffix, i = void 0 === n ? ".pptx" : n, o = null switch (i) { case ".pptx": o = z break case ".json": o = q break default: o = G break } o ? (e.progress({ id: e.id, status: O.start, progress: 0, jobExtra: e }), o && o(e) .then(function (r) { e.progress({ id: e.id, status: O.done, progress: 100, extra: r }), t(r) }) .catch(function (t) { e.progress({ id: e.id, status: O.failed, progress: 100, extra: { errorMsg: t.message } }), r(t) })) : r(new Error("no found upload function:".concat(i))) }) }, V = function (e) { return new Promise(function (t, r) { var n = e.extra, i = n.jsonUrl, o = n.name, a = n.id, s = n.type, l = { name: "".concat(o, ".pptx"), viewportRatio: 0.5625, beforeParse: function () { e.progress({ id: e.id, status: O.doing, progress: 0 }) }, afterParseSlide: function (t, r, n, i) { e.progress({ id: e.id, status: O.doing, progress: (n / i) * 100 }) } } U["a"] .json2pptx(i, l) .then(function (e) { t({ id: a, type: s, name: "".concat(o, ".pptx"), buffer: e, contentType: "application/vnd.openxmlformats-officedocument.presentationml.presentation", suffix: ".pptx" }) }) .catch(r) }) }, H = function (e) { return new Promise(function (t, r) { var n = e.extra.taskType, i = void 0 === n ? "json2pptx" : n, o = null switch (i) { case "json2pptx": o = V break } o ? (e.progress({ id: e.id, status: O.start, progress: 0, jobExtra: e }), o && o(e) .then(function (r) { e.progress({ id: e.id, status: O.done, progress: 100, extra: r }), t(r) }) .catch(function (t) { e.progress({ id: e.id, status: O.failed, progress: 100, extra: { errorMsg: t.message } }), r(t) })) : r(new Error("no found dowload function:".concat(i))) }) }, X = ["extra", "type"], Y = "progress" ;(function (e) { ;(e["pending"] = "pending"), (e["start"] = "start"), (e["doing"] = "doing"), (e["done"] = "done"), (e["failed"] = "failed") })(O || (O = {})) var K = function () { for ( var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : 6, t = "_0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz", r = t.length, n = "", i = 0; i < e; i++ ) { var o = Math.floor(Math.random() * r) n += t[o] } return n }, Z = (function () { function e(t, r) { v(this, e), (this.jobs = []), (this.jobsExtra = []), (this.jobsExtraed = []), (this.runJobIds = []), (this.timeId = null), (this.timeOut = 100), (this.jobTimeOut = 36e5), (this.asyncJobNum = 3), (this.running = !1), t && (this.timeOut = t), r && (this.jobTimeOut = r) } return ( w(e, [ { key: "destroy", value: function () { ;(this.running = !1), (this.jobs.length = 0), (this.jobsExtra.length = 0), (this.runJobIds.length = 0), this.timeId && clearInterval(this.timeId), (this.timeId = null) } }, { key: "addCourseWareTask", value: function (e) { var t = this return new Promise(function (r, n) { e.type || n(new Error("taskType must be a string")) var i = e.extra, o = e.type, a = y(e, X) i = Array.isArray(i) ? i : [i] var s = [], l = [] i.forEach(function (e) { var r = t.createJob(o, e), n = m(r, 2), i = n[0], c = n[1] s.push(f(f({}, i), a)), l.push(c) }), r([s, l]) }) .then(function (e) { var r, n, i = m(e, 2), o = i[0], a = i[1] return (r = t.jobs).push.apply(r, l(o)), (n = t.jobsExtra).push.apply(n, l(a)), o }) .then(function (e) { return t.startTask(), e }) } }, { key: "startTask", value: function () { var e = this return new Promise(function (t, r) { e.running || ((e.running = !0), e.createTimer().then(t).catch(r)) }) } }, { key: "stopTask", value: function () { ;(this.running = !1), this.timeId && clearInterval(this.timeId), (this.timeId = null), (this.runJobIds.length = 0) } }, { key: "getRunJobIds", value: function () { return this.runJobIds } }, { key: "onProgress", value: function (e) { var t = e.id, r = e.progress, n = e.status, i = e.jobExtra, o = e.extra, a = this.jobs.find(function (e) { return e.id === t }) a && ((a.progress = r), (a.status = n), n === O.start && this.jobsExtraed.push(i), (n !== O.done && n !== O.failed) || (this.runJobIds = this.runJobIds .filter(function (e) { return e !== t }) .filter(Boolean)), self.postMessage({ id: K(), type: Y, result: f( f({}, a), {}, { extra: o } ) })) } }, { key: "createTimer", value: function () { var e = this return new Promise(function (t, r) { var n = e n.timeId = self.setInterval(function () { var t = n.runJobIds.length if (t !== n.asyncJobNum && 0 !== n.jobsExtra.length) { for (var i = n.asyncJobNum - t, o = [], a = 0; a < i; a++) n.jobsExtra.length > 0 && o.push(n.jobsExtra.pop()) ;(o = o.filter(Boolean)), o.forEach(function (t) { n.doJob(t) .then(function () { e.runJobIds.push(t.id) }) .catch(r) }) } }, n.timeOut) }) } }, { key: "doJob", value: function (e) { return Promise.resolve().then(function () { e.jobFunc(e) }) } }, { key: "createJob", value: function (e, t) { var r = { id: K(), name: t.outputName || t.name || "未命名", type: e, progress: 0, status: O.pending }, n = { id: r.id, extra: t, progress: this.onProgress.bind(this), jobFunc: this.createJobFunc(r) } return [r, n] } }, { key: "createJobFunc", value: function (e) { var t = null switch (e.type) { case "downloadCourseware": t = H break case "uploadCourseware": t = W break } return t } } ]), e ) })(), Q = null, J = function () { return Q || (Q = new Z()), Q }, $ = function () { Q = null }, ee = function (e) { return new Promise(function (t, r) { Q ? Q.addCourseWareTask(e).then(t).catch(r) : r(new Error("no found courseWareTaskController instance ")) }) }, te = function () { var e return (null === (e = Q) || void 0 === e ? void 0 : e.getRunJobIds()) || [] }, re = function (e, t) { M(e, t) }, ne = function () { D() } addEventListener("message", function (e) { var r, n, i = e.data, o = i.type, a = i.method, s = i.id, l = i.params "RPC" === o && a && ((n = (r = t[a]) ? Promise.resolve().then(function () { return r.apply(t, l) }) : Promise.reject("No such method")), n .then(function (e) { postMessage({ type: "RPC", id: s, result: e }) }) .catch(function (e) { var t = { message: e } e.stack && ((t.message = e.message), (t.stack = e.stack), (t.name = e.name)), postMessage({ type: "RPC", id: s, error: t }) })) }), postMessage({ type: "RPC", method: "ready" }) }, "9b12": function (e, t) { e.exports = { isArray: function (e) { return Array.isArray ? Array.isArray(e) : "[object Array]" === Object.prototype.toString.call(e) } } }, "9b15": function (module, exports, __webpack_require__) { ;(function (global) { var require, require ;(function (e) { module.exports = e() })(function () { var define, module, exports return (function () { function e(t, r, n) { function i(a, s) { if (!r[a]) { if (!t[a]) { var l = "function" == typeof require && require if (!s && l) return require(a, !0) if (o) return o(a, !0) var c = new Error("Cannot find module '" + a + "'") throw ((c.code = "MODULE_NOT_FOUND"), c) } var u = (r[a] = { exports: {} }) t[a][0].call( u.exports, function (e) { var r = t[a][1][e] return i(r || e) }, u, u.exports, e, t, r, n ) } return r[a].exports } for (var o = "function" == typeof require && require, a = 0; a < n.length; a++) i(n[a]) return i } return e })()( { 1: [ function (e, t, r) { "use strict" var n = e("./browser/client") ;(n.Buffer = e("buffer").Buffer), (n.urllib = e("../shims/xhr")), (n.version = e("./browser/version").version), (t.exports = n) }, { "../shims/xhr": 396, "./browser/client": 2, "./browser/version": 5, buffer: 99 } ], 2: [ function (e, t, r) { ;(function (r, n) { "use strict" var i = e("@babel/runtime/helpers/interopRequireDefault") e("core-js/modules/es.symbol"), e("core-js/modules/es.symbol.description"), e("core-js/modules/es.array.concat"), e("core-js/modules/es.array.includes"), e("core-js/modules/es.array.index-of"), e("core-js/modules/es.array.slice"), e("core-js/modules/es.function.name"), e("core-js/modules/es.object.assign"), e("core-js/modules/es.object.to-string"), e("core-js/modules/es.promise"), e("core-js/modules/es.regexp.exec"), e("core-js/modules/es.regexp.to-string"), e("core-js/modules/es.string.replace"), e("core-js/modules/es.string.split") var o = i(e("@babel/runtime/regenerator")) e("regenerator-runtime/runtime") var a = i(e("@babel/runtime/helpers/asyncToGenerator")), s = e("debug")("ali-oss"), l = e("xml2js"), c = e("agentkeepalive"), u = e("merge-descriptors"), f = e("platform"), p = e("utility"), d = e("urllib"), h = e("./version"), m = e("bowser"), g = e("../common/signUtils"), y = e("../common/client/initOptions"), v = e("../common/utils/createRequest"), b = v.createRequest, w = e("../common/utils/encoder"), x = w.encoder, A = e("../common/client/getReqUrl"), _ = A.getReqUrl, T = e("../common/utils/setSTSToken"), E = T.setSTSToken, S = e("../common/utils/retry"), C = S.retry, k = e("../common/utils/isFunction"), L = k.isFunction, P = new c() function O() { var e = f.name, t = f.version e && e.toLowerCase && "ie" === e.toLowerCase() && t.split(".")[0] < 10 && console.warn("ali-oss does not support the current browser") } function j() { return location && "https:" === location.protocol } function R(e, t) { if ((O(), !(this instanceof R))) return new R(e, t) e && e.inited ? (this.options = e) : (this.options = R.initOptions(e)), (this.options.cancelFlag = !1), this.options.urllib ? (this.urllib = this.options.urllib) : ((this.urllib = d), (this.agent = this.options.agent || P)), (this.ctx = t), (this.userAgent = this._getUserAgent()), (this.options.amendTimeSkewed = 0) } ;(t.exports = R), (R.initOptions = function (e) { e.stsToken || console.warn( "Please use STS Token for safety, see more details at https://help.aliyun.com/document_detail/32077.html" ) var t = Object.assign( { secure: j(), useFetch: !1 }, e ) return y(t) }) var I = R.prototype function N(e) { return M.apply(this, arguments) } function M() { return ( (M = (0, a.default)( o.default.mark(function e(t) { var r, n, i, a, s, l return o.default.wrap( function (e) { while (1) switch ((e.prev = e.next)) { case 0: if (!this.options.stsToken || !L(this.options.refreshSTSToken)) { e.next = 3 break } return (e.next = 3), E.call(this) case 3: return ( (r = b.call(this, t)), this.options.useFetch || (r.params.mode = "disable-fetch"), (a = !!t.stream), (e.prev = 6), (e.next = 9), this.urllib.request(r.url, r.params) ) case 9: ;(n = e.sent), this.debug( "response %s %s, got %s, headers: %j", t.method, r.url, n.status, n.headers, "info" ), (e.next = 16) break case 13: ;(e.prev = 13), (e.t0 = e["catch"](6)), (i = e.t0) case 16: if (!n || !t.successStatuses || -1 !== t.successStatuses.indexOf(n.status)) { e.next = 28 break } return (e.next = 19), this.requestError(n) case 19: if (((s = e.sent), "RequestTimeTooSkewed" !== s.code || a)) { e.next = 25 break } return ( (this.options.amendTimeSkewed = +new Date(s.serverTime) - new Date()), (e.next = 24), this.request(t) ) case 24: return e.abrupt("return", e.sent) case 25: ;(s.params = t), (e.next = 32) break case 28: if (!i) { e.next = 32 break } return (e.next = 31), this.requestError(i) case 31: s = e.sent case 32: if (!s) { e.next = 34 break } throw s case 34: if (!t.xmlResponse) { e.next = 39 break } return (e.next = 37), this.parseXML(n.data) case 37: ;(l = e.sent), (n.data = l) case 39: return e.abrupt("return", n) case 40: case "end": return e.stop() } }, e, this, [[6, 13]] ) }) )), M.apply(this, arguments) ) } ;(I.debug = s), u(I, e("./object")), u(I, e("../common/bucket/getBucketWebsite")), u(I, e("../common/bucket/putBucketWebsite")), u(I, e("../common/bucket/deleteBucketWebsite")), u(I, e("../common/bucket/getBucketLifecycle")), u(I, e("../common/bucket/putBucketLifecycle")), u(I, e("../common/bucket/deleteBucketLifecycle")), u(I, e("../common/bucket/putBucketVersioning")), u(I, e("../common/bucket/getBucketVersioning")), u(I, e("../common/bucket/getBucketInventory")), u(I, e("../common/bucket/deleteBucketInventory")), u(I, e("../common/bucket/listBucketInventory")), u(I, e("../common/bucket/putBucketInventory")), u(I, e("../common/bucket/abortBucketWorm")), u(I, e("../common/bucket/completeBucketWorm")), u(I, e("../common/bucket/extendBucketWorm")), u(I, e("../common/bucket/getBucketWorm")), u(I, e("../common/bucket/initiateBucketWorm")), u(I, e("./managed-upload")), u(I, e("../common/multipart")), u(I, e("../common/parallel")), (I.signature = function (e) { return ( this.debug("authorization stringToSign: %s", e, "info"), g.computeSignature(this.options.accessKeySecret, e, this.options.headerEncoding) ) }), (I._getReqUrl = _), (I.authorization = function (e, t, r, n) { var i = g.buildCanonicalString(e.toUpperCase(), t, { headers: n, parameters: r }) return g.authorization(this.options.accessKeyId, this.options.accessKeySecret, i, this.options.headerEncoding) }), (I.request = (function () { var e = (0, a.default)( o.default.mark(function e(t) { var r = this return o.default.wrap( function (e) { while (1) switch ((e.prev = e.next)) { case 0: if (!this.options.retryMax) { e.next = 6 break } return ( (e.next = 3), C(N.bind(this), this.options.retryMax, { errorHandler: function (e) { var n = function (e) { if (t.stream) return !1 var n = [-1, -2].includes(e.status), i = r.options.requestErrorRetryHandle || function () { return !0 } return n && i(e) } return !!n(e) } })(t) ) case 3: return e.abrupt("return", e.sent) case 6: return e.abrupt("return", N.call(this, t)) case 7: case "end": return e.stop() } }, e, this ) }) ) return function (t) { return e.apply(this, arguments) } })()), (I._getResource = function (e) { var t = "/" return e.bucket && (t += "".concat(e.bucket, "/")), e.object && (t += x(e.object, this.options.headerEncoding)), t }), (I._escape = function (e) { return p.encodeURIComponent(e).replace(/%2F/g, "/") }), (I._getUserAgent = function () { var e = n && n.browser ? "js" : "nodejs", t = "aliyun-sdk-".concat(e, "/").concat(h.version), r = f.description return ( !r && n && (r = "Node.js ".concat(n.version.slice(1), " on ").concat(n.platform, " ").concat(n.arch)), this._checkUserAgent("".concat(t, " ").concat(r)) ) }), (I._checkUserAgent = function (e) { var t = e.replace(/\u03b1/, "alpha").replace(/\u03b2/, "beta") return t }), (I.checkBrowserAndVersion = function (e, t) { return m.name === e && m.version.split(".")[0] === t }), (I.parseXML = function (e) { return new Promise(function (t, n) { r.isBuffer(e) && (e = e.toString()), l.parseString( e, { explicitRoot: !1, explicitArray: !1 }, function (e, r) { e ? n(e) : t(r) } ) }) }), (I.requestError = (function () { var e = (0, a.default)( o.default.mark(function e(t) { var r, n, i, a return o.default.wrap( function (e) { while (1) switch ((e.prev = e.next)) { case 0: if (((r = null), t.data && t.data.length)) { e.next = 5 break } ;-1 === t.status || -2 === t.status ? ((r = new Error(t.message)), (r.name = t.name), (r.status = t.status), (r.code = t.name)) : (404 === t.status ? ((r = new Error("Object not exists")), (r.name = "NoSuchKeyError"), (r.status = 404), (r.code = "NoSuchKey")) : 412 === t.status ? ((r = new Error("Pre condition failed")), (r.name = "PreconditionFailedError"), (r.status = 412), (r.code = "PreconditionFailed")) : ((r = new Error("Unknow error, status: ".concat(t.status))), (r.name = "UnknowError"), (r.status = t.status)), (r.requestId = t.headers["x-oss-request-id"]), (r.host = "")), (e.next = 32) break case 5: return ( (n = String(t.data)), this.debug("request response error data: %s", n, "error"), (e.prev = 7), (e.next = 10), this.parseXML(n) ) case 10: if (((e.t0 = e.sent), e.t0)) { e.next = 13 break } e.t0 = {} case 13: ;(i = e.t0), (e.next = 23) break case 16: return ( (e.prev = 16), (e.t1 = e["catch"](7)), this.debug(n, "error"), (e.t1.message += "\nraw xml: ".concat(n)), (e.t1.status = t.status), (e.t1.requestId = t.headers["x-oss-request-id"]), e.abrupt("return", e.t1) ) case 23: ;(a = i.Message || "unknow request error, status: ".concat(t.status)), i.Condition && (a += " (condition: ".concat(i.Condition, ")")), (r = new Error(a)), (r.name = i.Code ? "".concat(i.Code, "Error") : "UnknowError"), (r.status = t.status), (r.code = i.Code), (r.requestId = i.RequestId), (r.hostId = i.HostId), (r.serverTime = i.ServerTime) case 32: return this.debug("generate error %j", r, "error"), e.abrupt("return", r) case 34: case "end": return e.stop() } }, e, this, [[7, 16]] ) }) ) function t(t) { return e.apply(this, arguments) } return t })()) }).call( this, { isBuffer: e("../../node_modules/is-buffer/index.js") }, e("_process") ) }, { "../../node_modules/is-buffer/index.js": 307, "../common/bucket/abortBucketWorm": 6, "../common/bucket/completeBucketWorm": 7, "../common/bucket/deleteBucketInventory": 8, "../common/bucket/deleteBucketLifecycle": 9, "../common/bucket/deleteBucketWebsite": 10, "../common/bucket/extendBucketWorm": 11, "../common/bucket/getBucketInventory": 12, "../common/bucket/getBucketLifecycle": 13, "../common/bucket/getBucketVersioning": 14, "../common/bucket/getBucketWebsite": 15, "../common/bucket/getBucketWorm": 16, "../common/bucket/initiateBucketWorm": 17, "../common/bucket/listBucketInventory": 18, "../common/bucket/putBucketInventory": 19, "../common/bucket/putBucketLifecycle": 20, "../common/bucket/putBucketVersioning": 21, "../common/bucket/putBucketWebsite": 22, "../common/client/getReqUrl": 24, "../common/client/initOptions": 25, "../common/multipart": 28, "../common/parallel": 46, "../common/signUtils": 47, "../common/utils/createRequest": 52, "../common/utils/encoder": 55, "../common/utils/isFunction": 63, "../common/utils/retry": 68, "../common/utils/setSTSToken": 70, "./managed-upload": 3, "./object": 4, "./version": 5, "@babel/runtime/helpers/asyncToGenerator": 71, "@babel/runtime/helpers/interopRequireDefault": 72, "@babel/runtime/regenerator": 75, _process: 392, agentkeepalive: 76, bowser: 78, "core-js/modules/es.array.concat": 234, "core-js/modules/es.array.includes": 240, "core-js/modules/es.array.index-of": 241, "core-js/modules/es.array.slice": 246, "core-js/modules/es.function.name": 249, "core-js/modules/es.object.assign": 251, "core-js/modules/es.object.to-string": 254, "core-js/modules/es.promise": 255, "core-js/modules/es.regexp.exec": 256, "core-js/modules/es.regexp.to-string": 257, "core-js/modules/es.string.replace": 261, "core-js/modules/es.string.split": 263, "core-js/modules/es.symbol": 266, "core-js/modules/es.symbol.description": 265, debug: 390, "merge-descriptors": 310, platform: 316, "regenerator-runtime/runtime": 336, urllib: 396, utility: 395, xml2js: 351 } ], 3: [ function (e, t, r) { ;(function (t) { "use strict" var n = e("@babel/runtime/helpers/interopRequireDefault") e("core-js/modules/es.array.concat"), e("core-js/modules/es.array.filter"), e("core-js/modules/es.array.find"), e("core-js/modules/es.array.from"), e("core-js/modules/es.array.index-of"), e("core-js/modules/es.array.iterator"), e("core-js/modules/es.array.map"), e("core-js/modules/es.array.slice"), e("core-js/modules/es.array-buffer.slice"), e("core-js/modules/es.function.name"), e("core-js/modules/es.object.to-string"), e("core-js/modules/es.promise"), e("core-js/modules/es.regexp.to-string"), e("core-js/modules/es.string.iterator"), e("core-js/modules/es.typed-array.uint8-array"), e("core-js/modules/es.typed-array.copy-within"), e("core-js/modules/es.typed-array.every"), e("core-js/modules/es.typed-array.fill"), e("core-js/modules/es.typed-array.filter"), e("core-js/modules/es.typed-array.find"), e("core-js/modules/es.typed-array.find-index"), e("core-js/modules/es.typed-array.for-each"), e("core-js/modules/es.typed-array.includes"), e("core-js/modules/es.typed-array.index-of"), e("core-js/modules/es.typed-array.iterator"), e("core-js/modules/es.typed-array.join"), e("core-js/modules/es.typed-array.last-index-of"), e("core-js/modules/es.typed-array.map"), e("core-js/modules/es.typed-array.reduce"), e("core-js/modules/es.typed-array.reduce-right"), e("core-js/modules/es.typed-array.reverse"), e("core-js/modules/es.typed-array.set"), e("core-js/modules/es.typed-array.slice"), e("core-js/modules/es.typed-array.some"), e("core-js/modules/es.typed-array.sort"), e("core-js/modules/es.typed-array.subarray"), e("core-js/modules/es.typed-array.to-locale-string"), e("core-js/modules/es.typed-array.to-string") var i = n(e("@babel/runtime/regenerator")) e("regenerator-runtime/runtime") var o = n(e("@babel/runtime/helpers/asyncToGenerator")), a = e("util"), s = e("path"), l = e("mime"), c = e("copy-to"), u = e("../common/utils/isBlob"), f = u.isBlob, p = e("../common/utils/isFile"), d = p.isFile, h = e("../common/utils/isArray"), m = (h.isArray, e("../common/utils/isBuffer")), g = m.isBuffer, y = e("../common/utils/retry"), v = (y.retry, r) ;(v.multipartUpload = (function () { var e = (0, o.default)( i.default.mark(function e(t, r) { var n, o, a, c, u, p, h, m, y, v = arguments return i.default.wrap( function (e) { while (1) switch ((e.prev = e.next)) { case 0: if ( ((n = v.length > 2 && void 0 !== v[2] ? v[2] : {}), this.resetCancelFlag(), (n.disabledMD5 = void 0 === n.disabledMD5 || !!n.disabledMD5), !n.checkpoint || !n.checkpoint.uploadId) ) { e.next = 8 break } return r && d(r) && (n.checkpoint.file = r), (e.next = 7), this._resumeMultipart(n.checkpoint, n) case 7: return e.abrupt("return", e.sent) case 8: return ( (o = 102400), n.mime || (d(r) ? (n.mime = l.getType(s.extname(r.name))) : f(r) ? (n.mime = r.type) : g(r) ? (n.mime = "") : (n.mime = l.getType(s.extname(r)))), (n.headers = n.headers || {}), this._convertMetaToHeaders(n.meta, n.headers), (e.next = 14), this._getFileSize(r) ) case 14: if (((a = e.sent), !(a < o))) { e.next = 26 break } return (n.contentLength = a), (e.next = 19), this.put(t, r, n) case 19: if (((c = e.sent), !n || !n.progress)) { e.next = 23 break } return (e.next = 23), n.progress(1) case 23: return ( (u = { res: c.res, bucket: this.options.bucket, name: t, etag: c.res.headers.etag }), ((n.headers && n.headers["x-oss-callback"]) || n.callback) && (u.data = c.data), e.abrupt("return", u) ) case 26: if (!n.partSize || parseInt(n.partSize, 10) === n.partSize) { e.next = 28 break } throw new Error("partSize must be int number") case 28: if (!(n.partSize && n.partSize < o)) { e.next = 30 break } throw new Error("partSize must not be smaller than ".concat(o)) case 30: return (e.next = 32), this.initMultipartUpload(t, n) case 32: if ( ((p = e.sent), (h = p.uploadId), (m = this._getPartSize(a, n.partSize)), (y = { file: r, name: t, fileSize: a, partSize: m, uploadId: h, doneParts: [] }), !n || !n.progress) ) { e.next = 39 break } return (e.next = 39), n.progress(0, y, p.res) case 39: return (e.next = 41), this._resumeMultipart(y, n) case 41: return e.abrupt("return", e.sent) case 42: case "end": return e.stop() } }, e, this ) }) ) function t(t, r) { return e.apply(this, arguments) } return t })()), (v._resumeMultipart = (function () { var e = (0, o.default)( i.default.mark(function e(t, r) { var n, a, s, l, u, f, p, d, h, m, g, y, v, b, w, x, A, _, T return i.default.wrap( function (e) { while (1) switch ((e.prev = e.next)) { case 0: if (((n = this), !this.isCancel())) { e.next = 3 break } throw this._makeCancelEvent() case 3: return ( (a = t.file), (s = t.fileSize), (l = t.partSize), (u = t.uploadId), (f = t.doneParts), (p = t.name), (d = []), f.length > 0 && c(f).to(d), (h = this._divideParts(s, l)), (m = h.length), (g = !1), (y = function (e, n) { return new Promise( (function () { var s = (0, o.default)( i.default.mark(function o(s, l) { var d, y, v, b, w return i.default.wrap( function (i) { while (1) switch ((i.prev = i.next)) { case 0: if (((i.prev = 0), e.isCancel())) { i.next = 29 break } return ( (d = h[n - 1]), (i.next = 5), e._createBuffer(a, d.start, d.end) ) case 5: return ( (y = i.sent), (v = { content: y, size: d.end - d.start }), (i.prev = 7), (i.next = 10), e._uploadPart(p, u, n, v, { timeout: r.timeout, disabledMD5: r.disabledMD5 }) ) case 10: ;(b = i.sent), (i.next = 18) break case 13: if ( ((i.prev = 13), (i.t0 = i["catch"](7)), 404 !== i.t0.status) ) { i.next = 17 break } throw e._makeAbortEvent() case 17: throw i.t0 case 18: if (e.isCancel() || g) { i.next = 26 break } if ( (t.doneParts.push({ number: n, etag: b.res.headers.etag }), !r.progress) ) { i.next = 23 break } return (i.next = 23), r.progress(f.length / m, t, b.res) case 23: s({ number: n, etag: b.res.headers.etag }), (i.next = 27) break case 26: s() case 27: i.next = 30 break case 29: s() case 30: i.next = 41 break case 32: ;(i.prev = 32), (i.t1 = i["catch"](0)), (w = new Error()), (w.name = i.t1.name), (w.message = i.t1.message), (w.stack = i.t1.stack), (w.partNum = n), c(i.t1).to(w), l(w) case 41: case "end": return i.stop() } }, o, null, [ [0, 32], [7, 13] ] ) }) ) return function (e, t) { return s.apply(this, arguments) } })() ) }), (v = Array.from(new Array(m), function (e, t) { return t + 1 })), (b = d.map(function (e) { return e.number })), (w = v.filter(function (e) { return b.indexOf(e) < 0 })), (x = 5), (A = r.parallel || x), (e.next = 17), this._parallel(w, A, function (e) { return new Promise(function (t, r) { y(n, e) .then(function (e) { e && d.push(e), t() }) .catch(function (e) { r(e) }) }) }) ) case 17: if ( ((_ = e.sent), (g = !0), (T = _.find(function (e) { return "abort" === e.name })), !T) ) { e.next = 22 break } throw T case 22: if (!this.isCancel()) { e.next = 25 break } throw ((y = null), this._makeCancelEvent()) case 25: if (!(_ && _.length > 0)) { e.next = 28 break } throw ( ((_[0].message = "Failed to upload some parts with error: " .concat(_[0].toString(), " part_num: ") .concat(_[0].partNum)), _[0]) ) case 28: return (e.next = 30), this.completeMultipartUpload(p, u, d, r) case 30: return e.abrupt("return", e.sent) case 31: case "end": return e.stop() } }, e, this ) }) ) function t(t, r) { return e.apply(this, arguments) } return t })()), (v._getFileSize = (function () { var e = (0, o.default)( i.default.mark(function e(t) { return i.default.wrap(function (e) { while (1) switch ((e.prev = e.next)) { case 0: if (!g(t)) { e.next = 4 break } return e.abrupt("return", t.length) case 4: if (!f(t) && !d(t)) { e.next = 6 break } return e.abrupt("return", t.size) case 6: throw new Error("_getFileSize requires Buffer/File/Blob.") case 7: case "end": return e.stop() } }, e) }) ) function t(t) { return e.apply(this, arguments) } return t })()) var b = e("stream"), w = b.Readable function x(e, t) { if (!(this instanceof x)) return new x(e, t) w.call(this, t), (this.file = e), (this.reader = new FileReader()), (this.start = 0), (this.finish = !1), (this.fileBuffer = null) } function A(e) { return e.arrayBuffer ? e.arrayBuffer() : new Promise(function (t, r) { var n = new FileReader() ;(n.onload = function (e) { t(e.target.result) }), (n.onerror = function (e) { r(e) }), n.readAsArrayBuffer(e) }) } a.inherits(x, w), (x.prototype.readFileAndPush = function (e) { if (this.fileBuffer) { var t = !0 while (t && this.fileBuffer && this.start < this.fileBuffer.length) { var r = this.start, n = r + e ;(n = n > this.fileBuffer.length ? this.fileBuffer.length : n), (this.start = n), (t = this.push(this.fileBuffer.slice(r, n))) } } }), (x.prototype._read = function (e) { if ( (this.file && this.start >= this.file.size) || (this.fileBuffer && this.start >= this.fileBuffer.length) || this.finish || (0 === this.start && !this.file) ) return this.finish || ((this.fileBuffer = null), (this.finish = !0)), void this.push(null) var r = 16384 e = e || r var n = this ;(this.reader.onload = function (r) { ;(n.fileBuffer = t.from(new Uint8Array(r.target.result))), (n.file = null), n.readFileAndPush(e) }), 0 === this.start ? this.reader.readAsArrayBuffer(this.file) : this.readFileAndPush(e) }), (v._createBuffer = (function () { var e = (0, o.default)( i.default.mark(function e(r, n, o) { var a, s return i.default.wrap(function (e) { while (1) switch ((e.prev = e.next)) { case 0: if (!f(r) && !d(r)) { e.next = 8 break } return (a = r.slice(n, o)), (e.next = 4), A(a) case 4: return (s = e.sent), e.abrupt("return", t.from(s)) case 8: if (!g(r)) { e.next = 12 break } return e.abrupt("return", r.subarray(n, o)) case 12: throw new Error("_createBuffer requires File/Blob/Buffer.") case 13: case "end": return e.stop() } }, e) }) ) function r(t, r, n) { return e.apply(this, arguments) } return r })()), (v._getPartSize = function (e, t) { var r = 1e4, n = 1048576 t || (t = n) var i = Math.ceil(e / r) return ( t < i && ((t = i), console.warn( "partSize has been set to ".concat( t, ", because the partSize you provided causes partNumber to be greater than 10,000" ) )), t ) }), (v._divideParts = function (e, t) { for (var r = Math.ceil(e / t), n = [], i = 0; i < r; i++) { var o = t * i, a = Math.min(o + t, e) n.push({ start: o, end: a }) } return n }) }).call(this, e("buffer").Buffer) }, { "../common/utils/isArray": 59, "../common/utils/isBlob": 60, "../common/utils/isBuffer": 61, "../common/utils/isFile": 62, "../common/utils/retry": 68, "@babel/runtime/helpers/asyncToGenerator": 71, "@babel/runtime/helpers/interopRequireDefault": 72, "@babel/runtime/regenerator": 75, buffer: 99, "copy-to": 101, "core-js/modules/es.array-buffer.slice": 233, "core-js/modules/es.array.concat": 234, "core-js/modules/es.array.filter": 236, "core-js/modules/es.array.find": 237, "core-js/modules/es.array.from": 239, "core-js/modules/es.array.index-of": 241, "core-js/modules/es.array.iterator": 242, "core-js/modules/es.array.map": 245, "core-js/modules/es.array.slice": 246, "core-js/modules/es.function.name": 249, "core-js/modules/es.object.to-string": 254, "core-js/modules/es.promise": 255, "core-js/modules/es.regexp.to-string": 257, "core-js/modules/es.string.iterator": 259, "core-js/modules/es.typed-array.copy-within": 267, "core-js/modules/es.typed-array.every": 268, "core-js/modules/es.typed-array.fill": 269, "core-js/modules/es.typed-array.filter": 270, "core-js/modules/es.typed-array.find": 272, "core-js/modules/es.typed-array.find-index": 271, "core-js/modules/es.typed-array.for-each": 273, "core-js/modules/es.typed-array.includes": 274, "core-js/modules/es.typed-array.index-of": 275, "core-js/modules/es.typed-array.iterator": 276, "core-js/modules/es.typed-array.join": 277, "core-js/modules/es.typed-array.last-index-of": 278, "core-js/modules/es.typed-array.map": 279, "core-js/modules/es.typed-array.reduce": 281, "core-js/modules/es.typed-array.reduce-right": 280, "core-js/modules/es.typed-array.reverse": 282, "core-js/modules/es.typed-array.set": 283, "core-js/modules/es.typed-array.slice": 284, "core-js/modules/es.typed-array.some": 285, "core-js/modules/es.typed-array.sort": 286, "core-js/modules/es.typed-array.subarray": 287, "core-js/modules/es.typed-array.to-locale-string": 288, "core-js/modules/es.typed-array.to-string": 289, "core-js/modules/es.typed-array.uint8-array": 290, mime: 312, path: 315, "regenerator-runtime/runtime": 336, stream: 339, util: 345 } ], 4: [ function (e, t, r) { "use strict" var n = e("@babel/runtime/helpers/interopRequireDefault") e("core-js/modules/es.array.for-each"), e("core-js/modules/es.array.map"), e("core-js/modules/es.function.name"), e("core-js/modules/es.number.constructor"), e("core-js/modules/es.object.assign"), e("core-js/modules/es.object.keys"), e("core-js/modules/es.object.to-string"), e("core-js/modules/es.promise"), e("core-js/modules/es.regexp.exec"), e("core-js/modules/es.regexp.to-string"), e("core-js/modules/es.string.replace"), e("core-js/modules/web.dom-collections.for-each") var i = n(e("@babel/runtime/regenerator")) e("regenerator-runtime/runtime") var o = n(e("@babel/runtime/helpers/asyncToGenerator")), a = e("fs"), s = e("copy-to"), l = e("path"), c = e("mime"), u = e("../common/callback"), f = e("merge-descriptors"), p = e("../common/utils/isBlob"), d = p.isBlob, h = e("../common/utils/isFile"), m = h.isFile, g = e("../common/utils/isBuffer"), y = g.isBuffer, v = r ;(v.append = (function () { var e = (0, o.default)( i.default.mark(function e(t, r, n) { var o return i.default.wrap( function (e) { while (1) switch ((e.prev = e.next)) { case 0: return ( (n = n || {}), void 0 === n.position && (n.position = "0"), (n.subres = { append: "", position: n.position }), (n.method = "POST"), (e.next = 6), this.put(t, r, n) ) case 6: return ( (o = e.sent), (o.nextAppendPosition = o.res.headers["x-oss-next-append-position"]), e.abrupt("return", o) ) case 9: case "end": return e.stop() } }, e, this ) }) ) function t(t, r, n) { return e.apply(this, arguments) } return t })()), (v.put = (function () { var e = (0, o.default)( i.default.mark(function e(t, r, n) { var o, a, s, f, p return i.default.wrap( function (e) { while (1) switch ((e.prev = e.next)) { case 0: if ( ((n = n || {}), (n.disabledMD5 = void 0 === n.disabledMD5 || !!n.disabledMD5), (n.headers = n.headers || {}), (t = this._objectName(t)), !y(r)) ) { e.next = 8 break } ;(o = r), (e.next = 19) break case 8: if (!d(r) && !m(r)) { e.next = 18 break } return ( n.mime || (m(r) ? (n.mime = c.getType(l.extname(r.name))) : (n.mime = r.type)), (e.next = 12), this._createBuffer(r, 0, r.size) ) case 12: return (o = e.sent), (e.next = 15), this._getFileSize(r) case 15: ;(n.contentLength = e.sent), (e.next = 19) break case 18: throw new TypeError("Must provide Buffer/Blob/File for put.") case 19: return ( this._convertMetaToHeaders(n.meta, n.headers), (a = n.method || "PUT"), (s = this._objectRequestParams(a, t, n)), u.encodeCallback(s, n), (s.mime = n.mime), (s.disabledMD5 = n.disabledMD5), (s.content = o), (s.successStatuses = [200]), (e.next = 29), this.request(s) ) case 29: return ( (f = e.sent), (p = { name: t, url: this._objectUrl(t), res: f.res }), s.headers && s.headers["x-oss-callback"] && (p.data = JSON.parse(f.data.toString())), e.abrupt("return", p) ) case 33: case "end": return e.stop() } }, e, this ) }) ) function t(t, r, n) { return e.apply(this, arguments) } return t })()), (v.putStream = (function () { var e = (0, o.default)( i.default.mark(function e(t, r, n) { var o, a, s, l return i.default.wrap( function (e) { while (1) switch ((e.prev = e.next)) { case 0: return ( (n = n || {}), (n.headers = n.headers || {}), (t = this._objectName(t)), n.contentLength ? (n.headers["Content-Length"] = n.contentLength) : (n.headers["Transfer-Encoding"] = "chunked"), this._convertMetaToHeaders(n.meta, n.headers), (o = n.method || "PUT"), (a = this._objectRequestParams(o, t, n)), u.encodeCallback(a, n), (a.mime = n.mime), (a.stream = r), (a.successStatuses = [200]), (e.next = 13), this.request(a) ) case 13: return ( (s = e.sent), (l = { name: t, url: this._objectUrl(t), res: s.res }), a.headers && a.headers["x-oss-callback"] && (l.data = JSON.parse(s.data.toString())), e.abrupt("return", l) ) case 17: case "end": return e.stop() } }, e, this ) }) ) function t(t, r, n) { return e.apply(this, arguments) } return t })()), f(v, e("../common/object/copyObject")), f(v, e("../common/object/getObjectTagging")), f(v, e("../common/object/putObjectTagging")), f(v, e("../common/object/deleteObjectTagging")), f(v, e("../common/image")), f(v, e("../common/object/getBucketVersions")), f(v, e("../common/object/getACL")), f(v, e("../common/object/putACL")), f(v, e("../common/object/head")), f(v, e("../common/object/delete")), f(v, e("../common/object/get")), f(v, e("../common/object/putSymlink")), f(v, e("../common/object/getSymlink")), f(v, e("../common/object/deleteMulti")), f(v, e("../common/object/getObjectMeta")), f(v, e("../common/object/getObjectUrl")), f(v, e("../common/object/generateObjectUrl")), f(v, e("../common/object/signatureUrl")), (v.putMeta = (function () { var e = (0, o.default)( i.default.mark(function e(t, r, n) { var o return i.default.wrap( function (e) { while (1) switch ((e.prev = e.next)) { case 0: return ( (e.next = 2), this.copy(t, t, { meta: r || {}, timeout: n && n.timeout, ctx: n && n.ctx }) ) case 2: return (o = e.sent), e.abrupt("return", o) case 4: case "end": return e.stop() } }, e, this ) }) ) function t(t, r, n) { return e.apply(this, arguments) } return t })()), (v.list = (function () { var e = (0, o.default)( i.default.mark(function e(t, r) { var n, o, a, s, l return i.default.wrap( function (e) { while (1) switch ((e.prev = e.next)) { case 0: return ( (n = this._objectRequestParams("GET", "", r)), (n.query = t), (n.xmlResponse = !0), (n.successStatuses = [200]), (e.next = 6), this.request(n) ) case 6: return ( (o = e.sent), (a = o.data.Contents), (s = this), a && (Array.isArray(a) || (a = [a]), (a = a.map(function (e) { return { name: e.Key, url: s._objectUrl(e.Key), lastModified: e.LastModified, etag: e.ETag, type: e.Type, size: Number(e.Size), storageClass: e.StorageClass, owner: { id: e.Owner.ID, displayName: e.Owner.DisplayName } } }))), (l = o.data.CommonPrefixes || null), l && (Array.isArray(l) || (l = [l]), (l = l.map(function (e) { return e.Prefix }))), e.abrupt("return", { res: o.res, objects: a, prefixes: l, nextMarker: o.data.NextMarker || null, isTruncated: "true" === o.data.IsTruncated }) ) case 13: case "end": return e.stop() } }, e, this ) }) ) function t(t, r) { return e.apply(this, arguments) } return t })()), (v.listV2 = (function () { var e = (0, o.default)( i.default.mark(function e(t) { var r, n, o, a, s, l, c, u = arguments return i.default.wrap( function (e) { while (1) switch ((e.prev = e.next)) { case 0: return ( (r = u.length > 1 && void 0 !== u[1] ? u[1] : {}), (n = t["continuation-token"] || t.continuationToken), delete t["continuation-token"], delete t.continuationToken, n && (r.subres = Object.assign( { "continuation-token": n }, r.subres )), (o = this._objectRequestParams("GET", "", r)), (o.query = Object.assign( { "list-type": 2 }, t )), (o.xmlResponse = !0), (o.successStatuses = [200]), (e.next = 11), this.request(o) ) case 11: return ( (a = e.sent), (s = a.data.Contents), (l = this), s && (Array.isArray(s) || (s = [s]), (s = s.map(function (e) { return { name: e.Key, url: l._objectUrl(e.Key), lastModified: e.LastModified, etag: e.ETag, type: e.Type, size: Number(e.Size), storageClass: e.StorageClass, owner: e.Owner ? { id: e.Owner.ID, displayName: e.Owner.DisplayName } : null } }))), (c = a.data.CommonPrefixes || null), c && (Array.isArray(c) || (c = [c]), (c = c.map(function (e) { return e.Prefix }))), e.abrupt("return", { res: a.res, objects: s, prefixes: c, isTruncated: "true" === a.data.IsTruncated, keyCount: +a.data.KeyCount, continuationToken: a.data.ContinuationToken || null, nextContinuationToken: a.data.NextContinuationToken || null }) ) case 18: case "end": return e.stop() } }, e, this ) }) ) function t(t) { return e.apply(this, arguments) } return t })()), (v.restore = (function () { var e = (0, o.default)( i.default.mark(function e(t, r) { var n, o return i.default.wrap( function (e) { while (1) switch ((e.prev = e.next)) { case 0: return ( (r = r || {}), (r.subres = Object.assign( { restore: "" }, r.subres )), r.versionId && (r.subres.versionId = r.versionId), (n = this._objectRequestParams("POST", t, r)), (n.successStatuses = [202]), (e.next = 7), this.request(n) ) case 7: return ( (o = e.sent), e.abrupt("return", { res: o.res }) ) case 9: case "end": return e.stop() } }, e, this ) }) ) function t(t, r) { return e.apply(this, arguments) } return t })()), (v._objectUrl = function (e) { return this._getReqUrl({ bucket: this.options.bucket, object: e }) }), (v._objectRequestParams = function (e, t, r) { if (!this.options.bucket && !this.options.cname) throw new Error("Please create a bucket first") ;(r = r || {}), (t = this._objectName(t)) var n = { object: t, bucket: this.options.bucket, method: e, subres: r && r.subres, timeout: r && r.timeout, ctx: r && r.ctx } return r.headers && ((n.headers = {}), s(r.headers).to(n.headers)), n }), (v._objectName = function (e) { return e.replace(/^\/+/, "") }), (v._convertMetaToHeaders = function (e, t) { e && Object.keys(e).forEach(function (r) { t["x-oss-meta-".concat(r)] = e[r] }) }), (v._deleteFileSafe = function (e) { var t = this return new Promise(function (r) { a.exists(e, function (n) { n ? a.unlink(e, function (n) { n && t.debug("unlink %j error: %s", e, n, "error"), r() }) : r() }) }) }) }, { "../common/callback": 23, "../common/image": 26, "../common/object/copyObject": 29, "../common/object/delete": 30, "../common/object/deleteMulti": 31, "../common/object/deleteObjectTagging": 32, "../common/object/generateObjectUrl": 33, "../common/object/get": 34, "../common/object/getACL": 35, "../common/object/getBucketVersions": 36, "../common/object/getObjectMeta": 37, "../common/object/getObjectTagging": 38, "../common/object/getObjectUrl": 39, "../common/object/getSymlink": 40, "../common/object/head": 41, "../common/object/putACL": 42, "../common/object/putObjectTagging": 43, "../common/object/putSymlink": 44, "../common/object/signatureUrl": 45, "../common/utils/isBlob": 60, "../common/utils/isBuffer": 61, "../common/utils/isFile": 62, "@babel/runtime/helpers/asyncToGenerator": 71, "@babel/runtime/helpers/interopRequireDefault": 72, "@babel/runtime/regenerator": 75, "copy-to": 101, "core-js/modules/es.array.for-each": 238, "core-js/modules/es.array.map": 245, "core-js/modules/es.function.name": 249, "core-js/modules/es.number.constructor": 250, "core-js/modules/es.object.assign": 251, "core-js/modules/es.object.keys": 253, "core-js/modules/es.object.to-string": 254, "core-js/modules/es.promise": 255, "core-js/modules/es.regexp.exec": 256, "core-js/modules/es.regexp.to-string": 257, "core-js/modules/es.string.replace": 261, "core-js/modules/web.dom-collections.for-each": 291, fs: 79, "merge-descriptors": 310, mime: 312, path: 315, "regenerator-runtime/runtime": 336 } ], 5: [ function (e, t, r) { "use strict" r.version = "6.16.0" }, {} ], 6: [ function (e, t, r) { "use strict" var n = e("@babel/runtime/helpers/interopRequireDefault"), i = n(e("@babel/runtime/regenerator")) e("regenerator-runtime/runtime") var o = n(e("@babel/runtime/helpers/asyncToGenerator")) Object.defineProperty(r, "__esModule", { value: !0 }), (r.abortBucketWorm = void 0) var a = e("../utils/checkBucketName") function s(e, t) { return l.apply(this, arguments) } function l() { return ( (l = (0, o.default)( i.default.mark(function e(t, r) { var n, o return i.default.wrap( function (e) { while (1) switch ((e.prev = e.next)) { case 0: return ( a.checkBucketName(t), (n = this._bucketRequestParams("DELETE", t, "worm", r)), (e.next = 4), this.request(n) ) case 4: return ( (o = e.sent), e.abrupt("return", { res: o.res, status: o.status }) ) case 6: case "end": return e.stop() } }, e, this ) }) )), l.apply(this, arguments) ) } r.abortBucketWorm = s }, { "../utils/checkBucketName": 48, "@babel/runtime/helpers/asyncToGenerator": 71, "@babel/runtime/helpers/interopRequireDefault": 72, "@babel/runtime/regenerator": 75, "regenerator-runtime/runtime": 336 } ], 7: [ function (e, t, r) { "use strict" var n = e("@babel/runtime/helpers/interopRequireDefault"), i = n(e("@babel/runtime/regenerator")) e("regenerator-runtime/runtime") var o = n(e("@babel/runtime/helpers/asyncToGenerator")) Object.defineProperty(r, "__esModule", { value: !0 }), (r.completeBucketWorm = void 0) var a = e("../utils/checkBucketName") function s(e, t, r) { return l.apply(this, arguments) } function l() { return ( (l = (0, o.default)( i.default.mark(function e(t, r, n) { var o, s return i.default.wrap( function (e) { while (1) switch ((e.prev = e.next)) { case 0: return ( a.checkBucketName(t), (o = this._bucketRequestParams( "POST", t, { wormId: r }, n )), (e.next = 4), this.request(o) ) case 4: return ( (s = e.sent), e.abrupt("return", { res: s.res, status: s.status }) ) case 6: case "end": return e.stop() } }, e, this ) }) )), l.apply(this, arguments) ) } r.completeBucketWorm = s }, { "../utils/checkBucketName": 48, "@babel/runtime/helpers/asyncToGenerator": 71, "@babel/runtime/helpers/interopRequireDefault": 72, "@babel/runtime/regenerator": 75, "regenerator-runtime/runtime": 336 } ], 8: [ function (e, t, r) { "use strict" var n = e("@babel/runtime/helpers/interopRequireDefault") e("core-js/modules/es.object.assign") var i = n(e("@babel/runtime/regenerator")) e("regenerator-runtime/runtime") var o = n(e("@babel/runtime/helpers/asyncToGenerator")) Object.defineProperty(r, "__esModule", { value: !0 }), (r.deleteBucketInventory = void 0) var a = e("../utils/checkBucketName") function s(e, t) { return l.apply(this, arguments) } function l() { return ( (l = (0, o.default)( i.default.mark(function e(t, r) { var n, o, s, l, c = arguments return i.default.wrap( function (e) { while (1) switch ((e.prev = e.next)) { case 0: return ( (n = c.length > 2 && void 0 !== c[2] ? c[2] : {}), (o = Object.assign( { inventory: "", inventoryId: r }, n.subres )), a.checkBucketName(t), (s = this._bucketRequestParams("DELETE", t, o, n)), (s.successStatuses = [204]), (e.next = 7), this.request(s) ) case 7: return ( (l = e.sent), e.abrupt("return", { status: l.status, res: l.res }) ) case 9: case "end": return e.stop() } }, e, this ) }) )), l.apply(this, arguments) ) } r.deleteBucketInventory = s }, { "../utils/checkBucketName": 48, "@babel/runtime/helpers/asyncToGenerator": 71, "@babel/runtime/helpers/interopRequireDefault": 72, "@babel/runtime/regenerator": 75, "core-js/modules/es.object.assign": 251, "regenerator-runtime/runtime": 336 } ], 9: [ function (e, t, r) { "use strict" var n = e("@babel/runtime/helpers/interopRequireDefault"), i = n(e("@babel/runtime/regenerator")) e("regenerator-runtime/runtime") var o = n(e("@babel/runtime/helpers/asyncToGenerator")), a = e("../utils/checkBucketName"), s = a.checkBucketName, l = r l.deleteBucketLifecycle = (function () { var e = (0, o.default)( i.default.mark(function e(t, r) { var n, o return i.default.wrap( function (e) { while (1) switch ((e.prev = e.next)) { case 0: return ( s(t), (n = this._bucketRequestParams("DELETE", t, "lifecycle", r)), (n.successStatuses = [204]), (e.next = 5), this.request(n) ) case 5: return ( (o = e.sent), e.abrupt("return", { res: o.res }) ) case 7: case "end": return e.stop() } }, e, this ) }) ) function t(t, r) { return e.apply(this, arguments) } return t })() }, { "../utils/checkBucketName": 48, "@babel/runtime/helpers/asyncToGenerator": 71, "@babel/runtime/helpers/interopRequireDefault": 72, "@babel/runtime/regenerator": 75, "regenerator-runtime/runtime": 336 } ], 10: [ function (e, t, r) { "use strict" var n = e("@babel/runtime/helpers/interopRequireDefault"), i = n(e("@babel/runtime/regenerator")) e("regenerator-runtime/runtime") var o = n(e("@babel/runtime/helpers/asyncToGenerator")), a = e("../utils/checkBucketName"), s = a.checkBucketName, l = r l.deleteBucketWebsite = (function () { var e = (0, o.default)( i.default.mark(function e(t, r) { var n, o return i.default.wrap( function (e) { while (1) switch ((e.prev = e.next)) { case 0: return ( s(t), (n = this._bucketRequestParams("DELETE", t, "website", r)), (n.successStatuses = [204]), (e.next = 5), this.request(n) ) case 5: return ( (o = e.sent), e.abrupt("return", { res: o.res }) ) case 7: case "end": return e.stop() } }, e, this ) }) ) function t(t, r) { return e.apply(this, arguments) } return t })() }, { "../utils/checkBucketName": 48, "@babel/runtime/helpers/asyncToGenerator": 71, "@babel/runtime/helpers/interopRequireDefault": 72, "@babel/runtime/regenerator": 75, "regenerator-runtime/runtime": 336 } ], 11: [ function (e, t, r) { "use strict" var n = e("@babel/runtime/helpers/interopRequireDefault"), i = n(e("@babel/runtime/regenerator")) e("regenerator-runtime/runtime") var o = n(e("@babel/runtime/helpers/asyncToGenerator")) Object.defineProperty(r, "__esModule", { value: !0 }), (r.extendBucketWorm = void 0) var a = e("../utils/checkBucketName"), s = e("../utils/obj2xml") function l(e, t, r, n) { return c.apply(this, arguments) } function c() { return ( (c = (0, o.default)( i.default.mark(function e(t, r, n, o) { var l, c, u return i.default.wrap( function (e) { while (1) switch ((e.prev = e.next)) { case 0: return ( a.checkBucketName(t), (l = this._bucketRequestParams( "POST", t, { wormExtend: "", wormId: r }, o )), (c = { ExtendWormConfiguration: { RetentionPeriodInDays: n } }), (l.mime = "xml"), (l.content = s.obj2xml(c, { headers: !0 })), (l.successStatuses = [200]), (e.next = 8), this.request(l) ) case 8: return ( (u = e.sent), e.abrupt("return", { res: u.res, status: u.status }) ) case 10: case "end": return e.stop() } }, e, this ) }) )), c.apply(this, arguments) ) } r.extendBucketWorm = l }, { "../utils/checkBucketName": 48, "../utils/obj2xml": 67, "@babel/runtime/helpers/asyncToGenerator": 71, "@babel/runtime/helpers/interopRequireDefault": 72, "@babel/runtime/regenerator": 75, "regenerator-runtime/runtime": 336 } ], 12: [ function (e, t, r) { "use strict" var n = e("@babel/runtime/helpers/interopRequireDefault") e("core-js/modules/es.object.assign") var i = n(e("@babel/runtime/regenerator")) e("regenerator-runtime/runtime") var o = n(e("@babel/runtime/helpers/asyncToGenerator")) Object.defineProperty(r, "__esModule", { value: !0 }), (r.getBucketInventory = void 0) var a = e("../utils/checkBucketName"), s = e("../utils/formatInventoryConfig") function l(e, t) { return c.apply(this, arguments) } function c() { return ( (c = (0, o.default)( i.default.mark(function e(t, r) { var n, o, l, c, u = arguments return i.default.wrap( function (e) { while (1) switch ((e.prev = e.next)) { case 0: return ( (n = u.length > 2 && void 0 !== u[2] ? u[2] : {}), (o = Object.assign( { inventory: "", inventoryId: r }, n.subres )), a.checkBucketName(t), (l = this._bucketRequestParams("GET", t, o, n)), (l.successStatuses = [200]), (l.xmlResponse = !0), (e.next = 8), this.request(l) ) case 8: return ( (c = e.sent), e.abrupt("return", { status: c.status, res: c.res, inventory: s.formatInventoryConfig(c.data) }) ) case 10: case "end": return e.stop() } }, e, this ) }) )), c.apply(this, arguments) ) } r.getBucketInventory = l }, { "../utils/checkBucketName": 48, "../utils/formatInventoryConfig": 56, "@babel/runtime/helpers/asyncToGenerator": 71, "@babel/runtime/helpers/interopRequireDefault": 72, "@babel/runtime/regenerator": 75, "core-js/modules/es.object.assign": 251, "regenerator-runtime/runtime": 336 } ], 13: [ function (e, t, r) { "use strict" var n = e("@babel/runtime/helpers/interopRequireDefault") e("core-js/modules/es.array.map") var i = n(e("@babel/runtime/regenerator")) e("regenerator-runtime/runtime") var o = n(e("@babel/runtime/helpers/asyncToGenerator")), a = e("../utils/checkBucketName"), s = a.checkBucketName, l = e("../utils/isArray"), c = l.isArray, u = e("../utils/formatObjKey"), f = u.formatObjKey, p = r p.getBucketLifecycle = (function () { var e = (0, o.default)( i.default.mark(function e(t, r) { var n, o, a return i.default.wrap( function (e) { while (1) switch ((e.prev = e.next)) { case 0: return ( s(t), (n = this._bucketRequestParams("GET", t, "lifecycle", r)), (n.successStatuses = [200]), (n.xmlResponse = !0), (e.next = 6), this.request(n) ) case 6: return ( (o = e.sent), (a = o.data.Rule || null), a && (c(a) || (a = [a]), (a = a.map(function (e) { return ( e.ID && ((e.id = e.ID), delete e.ID), e.Tag && !c(e.Tag) && (e.Tag = [e.Tag]), f(e, "firstLowerCase") ) }))), e.abrupt("return", { rules: a, res: o.res }) ) case 10: case "end": return e.stop() } }, e, this ) }) ) function t(t, r) { return e.apply(this, arguments) } return t })() }, { "../utils/checkBucketName": 48, "../utils/formatObjKey": 57, "../utils/isArray": 59, "@babel/runtime/helpers/asyncToGenerator": 71, "@babel/runtime/helpers/interopRequireDefault": 72, "@babel/runtime/regenerator": 75, "core-js/modules/es.array.map": 245, "regenerator-runtime/runtime": 336 } ], 14: [ function (e, t, r) { "use strict" var n = e("@babel/runtime/helpers/interopRequireDefault"), i = n(e("@babel/runtime/regenerator")) e("regenerator-runtime/runtime") var o = n(e("@babel/runtime/helpers/asyncToGenerator")), a = e("../utils/checkBucketName"), s = a.checkBucketName, l = r l.getBucketVersioning = (function () { var e = (0, o.default)( i.default.mark(function e(t, r) { var n, o, a return i.default.wrap( function (e) { while (1) switch ((e.prev = e.next)) { case 0: return ( s(t), (n = this._bucketRequestParams("GET", t, "versioning", r)), (n.xmlResponse = !0), (n.successStatuses = [200]), (e.next = 6), this.request(n) ) case 6: return ( (o = e.sent), (a = o.data.Status), e.abrupt("return", { status: o.status, versionStatus: a, res: o.res }) ) case 9: case "end": return e.stop() } }, e, this ) }) ) function t(t, r) { return e.apply(this, arguments) } return t })() }, { "../utils/checkBucketName": 48, "@babel/runtime/helpers/asyncToGenerator": 71, "@babel/runtime/helpers/interopRequireDefault": 72, "@babel/runtime/regenerator": 75, "regenerator-runtime/runtime": 336 } ], 15: [ function (e, t, r) { "use strict" var n = e("@babel/runtime/helpers/interopRequireDefault"), i = n(e("@babel/runtime/regenerator")) e("regenerator-runtime/runtime") var o = n(e("@babel/runtime/helpers/asyncToGenerator")), a = e("../utils/checkBucketName"), s = a.checkBucketName, l = e("../utils/isObject"), c = l.isObject, u = r u.getBucketWebsite = (function () { var e = (0, o.default)( i.default.mark(function e(t, r) { var n, o, a return i.default.wrap( function (e) { while (1) switch ((e.prev = e.next)) { case 0: return ( s(t), (n = this._bucketRequestParams("GET", t, "website", r)), (n.successStatuses = [200]), (n.xmlResponse = !0), (e.next = 6), this.request(n) ) case 6: return ( (o = e.sent), (a = []), o.data.RoutingRules && o.data.RoutingRules.RoutingRule && (a = c(o.data.RoutingRules.RoutingRule) ? [o.data.RoutingRules.RoutingRule] : o.data.RoutingRules.RoutingRule), e.abrupt("return", { index: (o.data.IndexDocument && o.data.IndexDocument.Suffix) || "", supportSubDir: (o.data.IndexDocument && o.data.IndexDocument.SupportSubDir) || "false", type: o.data.IndexDocument && o.data.IndexDocument.Type, routingRules: a, error: (o.data.ErrorDocument && o.data.ErrorDocument.Key) || null, res: o.res }) ) case 10: case "end": return e.stop() } }, e, this ) }) ) function t(t, r) { return e.apply(this, arguments) } return t })() }, { "../utils/checkBucketName": 48, "../utils/isObject": 65, "@babel/runtime/helpers/asyncToGenerator": 71, "@babel/runtime/helpers/interopRequireDefault": 72, "@babel/runtime/regenerator": 75, "regenerator-runtime/runtime": 336 } ], 16: [ function (e, t, r) { "use strict" var n = e("@babel/runtime/helpers/interopRequireDefault") e("core-js/modules/es.object.assign") var i = n(e("@babel/runtime/regenerator")) e("regenerator-runtime/runtime") var o = n(e("@babel/runtime/helpers/asyncToGenerator")) Object.defineProperty(r, "__esModule", { value: !0 }), (r.getBucketWorm = void 0) var a = e("../utils/checkBucketName"), s = e("../utils/dataFix") function l(e, t) { return c.apply(this, arguments) } function c() { return ( (c = (0, o.default)( i.default.mark(function e(t, r) { var n, o return i.default.wrap( function (e) { while (1) switch ((e.prev = e.next)) { case 0: return ( a.checkBucketName(t), (n = this._bucketRequestParams("GET", t, "worm", r)), (n.successStatuses = [200]), (n.xmlResponse = !0), (e.next = 6), this.request(n) ) case 6: return ( (o = e.sent), s.dataFix(o.data, { lowerFirst: !0, rename: { RetentionPeriodInDays: "days" } }), e.abrupt( "return", Object.assign(Object.assign({}, o.data), { res: o.res, status: o.status }) ) ) case 9: case "end": return e.stop() } }, e, this ) }) )), c.apply(this, arguments) ) } r.getBucketWorm = l }, { "../utils/checkBucketName": 48, "../utils/dataFix": 53, "@babel/runtime/helpers/asyncToGenerator": 71, "@babel/runtime/helpers/interopRequireDefault": 72, "@babel/runtime/regenerator": 75, "core-js/modules/es.object.assign": 251, "regenerator-runtime/runtime": 336 } ], 17: [ function (e, t, r) { "use strict" var n = e("@babel/runtime/helpers/interopRequireDefault"), i = n(e("@babel/runtime/regenerator")) e("regenerator-runtime/runtime") var o = n(e("@babel/runtime/helpers/asyncToGenerator")) Object.defineProperty(r, "__esModule", { value: !0 }), (r.initiateBucketWorm = void 0) var a = e("../utils/obj2xml"), s = e("../utils/checkBucketName") function l(e, t, r) { return c.apply(this, arguments) } function c() { return ( (c = (0, o.default)( i.default.mark(function e(t, r, n) { var o, l, c return i.default.wrap( function (e) { while (1) switch ((e.prev = e.next)) { case 0: return ( s.checkBucketName(t), (o = this._bucketRequestParams("POST", t, "worm", n)), (l = { InitiateWormConfiguration: { RetentionPeriodInDays: r } }), (o.mime = "xml"), (o.content = a.obj2xml(l, { headers: !0 })), (o.successStatuses = [200]), (e.next = 8), this.request(o) ) case 8: return ( (c = e.sent), e.abrupt("return", { res: c.res, wormId: c.res.headers["x-oss-worm-id"], status: c.status }) ) case 10: case "end": return e.stop() } }, e, this ) }) )), c.apply(this, arguments) ) } r.initiateBucketWorm = l }, { "../utils/checkBucketName": 48, "../utils/obj2xml": 67, "@babel/runtime/helpers/asyncToGenerator": 71, "@babel/runtime/helpers/interopRequireDefault": 72, "@babel/runtime/regenerator": 75, "regenerator-runtime/runtime": 336 } ], 18: [ function (e, t, r) { "use strict" var n = e("@babel/runtime/helpers/interopRequireDefault") e("core-js/modules/es.object.assign") var i = n(e("@babel/runtime/regenerator")) e("regenerator-runtime/runtime") var o = n(e("@babel/runtime/helpers/asyncToGenerator")) Object.defineProperty(r, "__esModule", { value: !0 }), (r.listBucketInventory = void 0) var a = e("../utils/checkBucketName"), s = e("../utils/formatInventoryConfig") function l(e) { return c.apply(this, arguments) } function c() { return ( (c = (0, o.default)( i.default.mark(function e(t) { var r, n, o, l, c, u, f, p, d = arguments return i.default.wrap( function (e) { while (1) switch ((e.prev = e.next)) { case 0: return ( (r = d.length > 1 && void 0 !== d[1] ? d[1] : {}), (n = r.continuationToken), (o = Object.assign( { inventory: "" }, n && { "continuation-token": n }, r.subres )), a.checkBucketName(t), (l = this._bucketRequestParams("GET", t, o, r)), (l.successStatuses = [200]), (l.xmlResponse = !0), (e.next = 9), this.request(l) ) case 9: return ( (c = e.sent), (u = c.data), (f = c.res), (p = c.status), e.abrupt("return", { isTruncated: "true" === u.IsTruncated, nextContinuationToken: u.NextContinuationToken, inventoryList: s.formatInventoryConfig(u.InventoryConfiguration, !0), status: p, res: f }) ) case 12: case "end": return e.stop() } }, e, this ) }) )), c.apply(this, arguments) ) } r.listBucketInventory = l }, { "../utils/checkBucketName": 48, "../utils/formatInventoryConfig": 56, "@babel/runtime/helpers/asyncToGenerator": 71, "@babel/runtime/helpers/interopRequireDefault": 72, "@babel/runtime/regenerator": 75, "core-js/modules/es.object.assign": 251, "regenerator-runtime/runtime": 336 } ], 19: [ function (e, t, r) { "use strict" var n = e("@babel/runtime/helpers/interopRequireDefault") e("core-js/modules/es.array.concat"), e("core-js/modules/es.object.assign") var i = n(e("@babel/runtime/regenerator")) e("regenerator-runtime/runtime") var o = n(e("@babel/runtime/helpers/asyncToGenerator")) Object.defineProperty(r, "__esModule", { value: !0 }), (r.putBucketInventory = void 0) var a = e("../utils/checkBucketName"), s = e("../utils/obj2xml") function l(e, t) { return c.apply(this, arguments) } function c() { return ( (c = (0, o.default)( i.default.mark(function e(t, r) { var n, o, l, c, u, f, p, d, h, m, g, y = arguments return i.default.wrap( function (e) { while (1) switch ((e.prev = e.next)) { case 0: return ( (n = y.length > 2 && void 0 !== y[2] ? y[2] : {}), (o = Object.assign( { inventory: "", inventoryId: r.id }, n.subres )), a.checkBucketName(t), (l = r.OSSBucketDestination), (c = r.optionalFields), (u = r.includedObjectVersions), (f = "acs:oss:::"), (p = "acs:ram::".concat(l.accountId, ":role/")), (d = { InventoryConfiguration: { Id: r.id, IsEnabled: r.isEnabled, Filter: { Prefix: r.prefix || "" }, Destination: { OSSBucketDestination: { Format: l.format, AccountId: l.accountId, RoleArn: "".concat(p).concat(l.rolename), Bucket: "".concat(f).concat(l.bucket), Prefix: l.prefix || "", Encryption: l.encryption || "" } }, Schedule: { Frequency: r.frequency }, IncludedObjectVersions: u, OptionalFields: { Field: (null === c || void 0 === c ? void 0 : c.field) || [] } } }), (h = s.obj2xml(d, { headers: !0, firstUpperCase: !0 })), (m = this._bucketRequestParams("PUT", t, o, n)), (m.successStatuses = [200]), (m.mime = "xml"), (m.content = h), (e.next = 14), this.request(m) ) case 14: return ( (g = e.sent), e.abrupt("return", { status: g.status, res: g.res }) ) case 16: case "end": return e.stop() } }, e, this ) }) )), c.apply(this, arguments) ) } r.putBucketInventory = l }, { "../utils/checkBucketName": 48, "../utils/obj2xml": 67, "@babel/runtime/helpers/asyncToGenerator": 71, "@babel/runtime/helpers/interopRequireDefault": 72, "@babel/runtime/regenerator": 75, "core-js/modules/es.array.concat": 234, "core-js/modules/es.object.assign": 251, "regenerator-runtime/runtime": 336 } ], 20: [ function (e, t, r) { "use strict" var n = e("@babel/runtime/helpers/interopRequireDefault") e("core-js/modules/es.array.for-each"), e("core-js/modules/es.array.includes"), e("core-js/modules/web.dom-collections.for-each") var i = n(e("@babel/runtime/regenerator")) e("regenerator-runtime/runtime") var o = n(e("@babel/runtime/helpers/asyncToGenerator")), a = e("../utils/checkBucketName"), s = a.checkBucketName, l = e("../utils/isArray"), c = l.isArray, u = e("../utils/deepCopy"), f = u.deepCopy, p = e("../utils/isObject"), d = p.isObject, h = e("../utils/obj2xml"), m = h.obj2xml, g = e("../utils/checkObjectTag"), y = g.checkObjectTag, v = e("../utils/getStrBytesCount"), b = v.getStrBytesCount, w = r function x(e) { e.days && (e.expiration = { days: e.days }), e.date && (e.expiration = { createdBeforeDate: e.date }) } function A(e, t) { var r = e.days, n = e.createdBeforeDate if (!r && !n) throw new Error("".concat(t, " must includes days or createdBeforeDate")) if (r && !/^[1-9][0-9]*$/.test(r)) throw new Error("days must be a positive integer") if (n && !/\d{4}-\d{2}-\d{2}T00:00:00.000Z/.test(n)) throw new Error("createdBeforeDate must be date and conform to iso8601 format") } function _(e) { if (!c(e) && !d(e)) throw new Error("tag must be Object or Array") e = d(e) ? [e] : e var t = {}, r = f(e) r.forEach(function (e) { t[e.key] = e.value }), y(t) } function T(e) { if (e.id && b(e.id) > 255) throw new Error("ID is composed of 255 bytes at most") if (void 0 === e.prefix) throw new Error("Rule must includes prefix") if (!["Enabled", "Disabled"].includes(e.status)) throw new Error("Status must be Enabled or Disabled") if (e.transition) { if (!["IA", "Archive"].includes(e.transition.storageClass)) throw new Error("StorageClass must be IA or Archive") A(e.transition, "Transition") } if (e.expiration) if (e.expiration.expiredObjectDeleteMarker) { if (e.expiration.days || e.expiration.createdBeforeDate) throw new Error("expiredObjectDeleteMarker cannot be used with days or createdBeforeDate") } else A(e.expiration, "Expiration") if ( (e.abortMultipartUpload && A(e.abortMultipartUpload, "AbortMultipartUpload"), !e.expiration && !e.abortMultipartUpload && !e.transition && !e.noncurrentVersionTransition) ) throw new Error("Rule must includes expiration or abortMultipartUpload or transition or noncurrentVersionTransition") if (e.tag) { if (e.abortMultipartUpload) throw new Error("Tag cannot be used with abortMultipartUpload") _(e.tag) } } w.putBucketLifecycle = (function () { var e = (0, o.default)( i.default.mark(function e(t, r, n) { var o, a, l, u, f return i.default.wrap( function (e) { while (1) switch ((e.prev = e.next)) { case 0: if ((s(t), c(r))) { e.next = 3 break } throw new Error("rules must be Array") case 3: return ( (o = this._bucketRequestParams("PUT", t, "lifecycle", n)), (a = []), (l = { LifecycleConfiguration: { Rule: a } }), r.forEach(function (e) { x(e), T(e), e.id && ((e.ID = e.id), delete e.id), a.push(e) }), (u = m(l, { headers: !0, firstUpperCase: !0 })), (o.content = u), (o.mime = "xml"), (o.successStatuses = [200]), (e.next = 13), this.request(o) ) case 13: return ( (f = e.sent), e.abrupt("return", { res: f.res }) ) case 15: case "end": return e.stop() } }, e, this ) }) ) function t(t, r, n) { return e.apply(this, arguments) } return t })() }, { "../utils/checkBucketName": 48, "../utils/checkObjectTag": 50, "../utils/deepCopy": 54, "../utils/getStrBytesCount": 58, "../utils/isArray": 59, "../utils/isObject": 65, "../utils/obj2xml": 67, "@babel/runtime/helpers/asyncToGenerator": 71, "@babel/runtime/helpers/interopRequireDefault": 72, "@babel/runtime/regenerator": 75, "core-js/modules/es.array.for-each": 238, "core-js/modules/es.array.includes": 240, "core-js/modules/web.dom-collections.for-each": 291, "regenerator-runtime/runtime": 336 } ], 21: [ function (e, t, r) { "use strict" var n = e("@babel/runtime/helpers/interopRequireDefault") e("core-js/modules/es.array.includes") var i = n(e("@babel/runtime/regenerator")) e("regenerator-runtime/runtime") var o = n(e("@babel/runtime/helpers/asyncToGenerator")), a = e("../utils/checkBucketName"), s = a.checkBucketName, l = e("../utils/obj2xml"), c = l.obj2xml, u = r u.putBucketVersioning = (function () { var e = (0, o.default)( i.default.mark(function e(t, r) { var n, o, a, l, u = arguments return i.default.wrap( function (e) { while (1) switch ((e.prev = e.next)) { case 0: if (((n = u.length > 2 && void 0 !== u[2] ? u[2] : {}), s(t), ["Enabled", "Suspended"].includes(r))) { e.next = 4 break } throw new Error("status must be Enabled or Suspended") case 4: return ( (o = this._bucketRequestParams("PUT", t, "versioning", n)), (a = { VersioningConfiguration: { Status: r } }), (o.mime = "xml"), (o.content = c(a, { headers: !0 })), (e.next = 10), this.request(o) ) case 10: return ( (l = e.sent), e.abrupt("return", { res: l.res, status: l.status }) ) case 12: case "end": return e.stop() } }, e, this ) }) ) function t(t, r) { return e.apply(this, arguments) } return t })() }, { "../utils/checkBucketName": 48, "../utils/obj2xml": 67, "@babel/runtime/helpers/asyncToGenerator": 71, "@babel/runtime/helpers/interopRequireDefault": 72, "@babel/runtime/regenerator": 75, "core-js/modules/es.array.includes": 240, "regenerator-runtime/runtime": 336 } ], 22: [ function (e, t, r) { "use strict" var n = e("@babel/runtime/helpers/interopRequireDefault"), i = n(e("@babel/runtime/regenerator")) e("regenerator-runtime/runtime") var o = n(e("@babel/runtime/helpers/asyncToGenerator")), a = e("../utils/checkBucketName"), s = a.checkBucketName, l = e("../utils/obj2xml"), c = l.obj2xml, u = e("../utils/isArray"), f = u.isArray, p = r p.putBucketWebsite = (function () { var e = (0, o.default)( i.default.mark(function e(t) { var r, n, o, a, l, u, p, d = arguments return i.default.wrap( function (e) { while (1) switch ((e.prev = e.next)) { case 0: if ( ((r = d.length > 1 && void 0 !== d[1] ? d[1] : {}), (n = d.length > 2 ? d[2] : void 0), s(t), (o = this._bucketRequestParams("PUT", t, "website", n)), (a = { Suffix: r.index || "index.html" }), (l = { IndexDocument: a }), (u = { WebsiteConfiguration: l }), r.supportSubDir && (a.SupportSubDir = r.supportSubDir), r.type && (a.Type = r.type), r.error && (l.ErrorDocument = { Key: r.error }), void 0 === r.routingRules) ) { e.next = 14 break } if (f(r.routingRules)) { e.next = 13 break } throw new Error("RoutingRules must be Array") case 13: l.RoutingRules = { RoutingRule: r.routingRules } case 14: return ( (u = c(u)), (o.content = u), (o.mime = "xml"), (o.successStatuses = [200]), (e.next = 20), this.request(o) ) case 20: return ( (p = e.sent), e.abrupt("return", { res: p.res }) ) case 22: case "end": return e.stop() } }, e, this ) }) ) function t(t) { return e.apply(this, arguments) } return t })() }, { "../utils/checkBucketName": 48, "../utils/isArray": 59, "../utils/obj2xml": 67, "@babel/runtime/helpers/asyncToGenerator": 71, "@babel/runtime/helpers/interopRequireDefault": 72, "@babel/runtime/regenerator": 75, "regenerator-runtime/runtime": 336 } ], 23: [ function (e, t, r) { ;(function (t) { "use strict" e("core-js/modules/es.array.for-each"), e("core-js/modules/es.object.keys"), e("core-js/modules/es.object.to-string"), e("core-js/modules/es.regexp.to-string"), e("core-js/modules/web.dom-collections.for-each"), (r.encodeCallback = function (e, r) { if ( ((e.headers = e.headers || {}), !Object.prototype.hasOwnProperty.call(e.headers, "x-oss-callback") && r.callback) ) { var n = { callbackUrl: encodeURI(r.callback.url), callbackBody: r.callback.body } r.callback.host && (n.callbackHost = r.callback.host), r.callback.contentType && (n.callbackBodyType = r.callback.contentType) var i = t.from(JSON.stringify(n)).toString("base64") if (((e.headers["x-oss-callback"] = i), r.callback.customValue)) { var o = {} Object.keys(r.callback.customValue).forEach(function (e) { o["x:".concat(e)] = r.callback.customValue[e] }), (e.headers["x-oss-callback-var"] = t.from(JSON.stringify(o)).toString("base64")) } } }) }).call(this, e("buffer").Buffer) }, { buffer: 99, "core-js/modules/es.array.for-each": 238, "core-js/modules/es.object.keys": 253, "core-js/modules/es.object.to-string": 254, "core-js/modules/es.regexp.to-string": 257, "core-js/modules/web.dom-collections.for-each": 291 } ], 24: [ function (e, t, r) { "use strict" e("core-js/modules/es.array.concat"), e("core-js/modules/es.array.for-each"), e("core-js/modules/es.regexp.exec"), e("core-js/modules/es.string.replace"), e("core-js/modules/web.dom-collections.for-each") var n = function (e) { return e && e.__esModule ? e : { default: e } } Object.defineProperty(r, "__esModule", { value: !0 }), (r.getReqUrl = void 0) var i = n(e("copy-to")), o = n(e("url")), a = n(e("merge-descriptors")), s = n(e("is-type-of")), l = e("../utils/isIP"), c = e("../utils/checkConfigValid") function u(e) { var t = {}, r = this.options.cname c.checkConfigValid(this.options.endpoint, "endpoint"), i.default(this.options.endpoint, !1).to(t), !e.bucket || r || l.isIP(t.hostname) || this.options.sldEnable || (t.host = "".concat(e.bucket, ".").concat(t.host)) var n = "/" e.bucket && this.options.sldEnable && (n += "".concat(e.bucket, "/")), e.object && (n += this._escape(e.object).replace(/\+/g, "%2B")), (t.pathname = n) var u = {} if ((e.query && a.default(u, e.query), e.subres)) { var f = {} s.default.string(e.subres) ? (f[e.subres] = "") : s.default.array(e.subres) ? e.subres.forEach(function (e) { f[e] = "" }) : (f = e.subres), a.default(u, f) } return (t.query = u), o.default.format(t) } r.getReqUrl = u }, { "../utils/checkConfigValid": 49, "../utils/isIP": 64, "copy-to": 101, "core-js/modules/es.array.concat": 234, "core-js/modules/es.array.for-each": 238, "core-js/modules/es.regexp.exec": 256, "core-js/modules/es.string.replace": 261, "core-js/modules/web.dom-collections.for-each": 291, "is-type-of": 391, "merge-descriptors": 310, url: 393 } ], 25: [ function (e, t, r) { "use strict" e("core-js/modules/es.array.concat"), e("core-js/modules/es.object.assign"), e("core-js/modules/es.string.trim") var n = e("humanize-ms"), i = e("url"), o = e("../utils/checkBucketName"), a = o.checkBucketName, s = e("../utils/setRegion"), l = s.setRegion, c = e("../utils/checkConfigValid"), u = c.checkConfigValid function f(e, t) { u(e, "endpoint") var r = i.parse(e) if ( (r.protocol || (r = i.parse("http".concat(t ? "s" : "", "://").concat(e))), "http:" !== r.protocol && "https:" !== r.protocol) ) throw new Error("Endpoint protocol must be http or https.") return r } t.exports = function (e) { if (!e || !e.accessKeyId || !e.accessKeySecret) throw new Error("require accessKeyId, accessKeySecret") !e.stsToken || e.refreshSTSToken || e.refreshSTSTokenInterval || console.warn( "It's recommended to set 'refreshSTSToken' and 'refreshSTSTokenInterval' to refresh stsToken、accessKeyId、accessKeySecret automatically when sts token has expired" ), e.bucket && a(e.bucket) var t = Object.assign( { region: "oss-cn-hangzhou", internal: !1, secure: !1, timeout: 6e4, bucket: null, endpoint: null, cname: !1, isRequestPay: !1, sldEnable: !1, headerEncoding: "utf-8", refreshSTSToken: null, refreshSTSTokenInterval: 3e5, retryMax: 0 }, e ) if ( ((t.accessKeyId = t.accessKeyId.trim()), (t.accessKeySecret = t.accessKeySecret.trim()), t.timeout && (t.timeout = n(t.timeout)), t.endpoint) ) t.endpoint = f(t.endpoint, t.secure) else { if (!t.region) throw new Error("require options.endpoint or options.region") t.endpoint = l(t.region, t.internal, t.secure) } return (t.inited = !0), t } }, { "../utils/checkBucketName": 48, "../utils/checkConfigValid": 49, "../utils/setRegion": 69, "core-js/modules/es.array.concat": 234, "core-js/modules/es.object.assign": 251, "core-js/modules/es.string.trim": 264, "humanize-ms": 298, url: 393 } ], 26: [ function (e, t, r) { "use strict" var n = e("merge-descriptors"), i = r n(i, e("./processObjectSave")) }, { "./processObjectSave": 27, "merge-descriptors": 310 } ], 27: [ function (e, t, r) { "use strict" var n = e("@babel/runtime/helpers/interopRequireDefault") e("core-js/modules/es.array.concat") var i = n(e("@babel/runtime/regenerator")) e("regenerator-runtime/runtime") var o = n(e("@babel/runtime/helpers/asyncToGenerator")), a = e("../utils/checkBucketName"), s = a.checkBucketName, l = e("querystring"), c = e("js-base64"), u = c.Base64.encode, f = r function p(e, t) { if (!e) throw new Error("".concat(t, " is required")) if ("string" !== typeof e) throw new Error("".concat(t, " must be String")) } f.processObjectSave = (function () { var e = (0, o.default)( i.default.mark(function e(t, r, n, o) { var a, c, f, d return i.default.wrap( function (e) { while (1) switch ((e.prev = e.next)) { case 0: return ( p(t, "sourceObject"), p(r, "targetObject"), p(n, "process"), (r = this._objectName(r)), o && s(o), (a = this._objectRequestParams("POST", t, { subres: "x-oss-process" })), (c = o ? ",b_".concat(u(o)) : ""), (r = u(r)), (f = { "x-oss-process": "".concat(n, "|sys/saveas,o_").concat(r).concat(c) }), (a.content = l.stringify(f)), (e.next = 12), this.request(a) ) case 12: return ( (d = e.sent), e.abrupt("return", { res: d.res, status: d.res.status }) ) case 14: case "end": return e.stop() } }, e, this ) }) ) function t(t, r, n, i) { return e.apply(this, arguments) } return t })() }, { "../utils/checkBucketName": 48, "@babel/runtime/helpers/asyncToGenerator": 71, "@babel/runtime/helpers/interopRequireDefault": 72, "@babel/runtime/regenerator": 75, "core-js/modules/es.array.concat": 234, "js-base64": 309, querystring: 322, "regenerator-runtime/runtime": 336 } ], 28: [ function (e, t, r) { ;(function (t) { "use strict" var n = e("@babel/runtime/helpers/interopRequireDefault") e("core-js/modules/es.array.concat"), e("core-js/modules/es.array.filter"), e("core-js/modules/es.array.map"), e("core-js/modules/es.array.sort"), e("core-js/modules/es.object.to-string"), e("core-js/modules/es.regexp.to-string") var i = n(e("@babel/runtime/regenerator")) e("regenerator-runtime/runtime") var o = n(e("@babel/runtime/helpers/asyncToGenerator")), a = e("copy-to"), s = e("./callback"), l = e("./utils/deepCopy"), c = l.deepCopyWith, u = e("./utils/isBuffer"), f = u.isBuffer, p = r ;(p.listUploads = (function () { var e = (0, o.default)( i.default.mark(function e(t, r) { var n, o, s, l return i.default.wrap( function (e) { while (1) switch ((e.prev = e.next)) { case 0: return ( (r = r || {}), (n = {}), a(r).to(n), (n.subres = "uploads"), (o = this._objectRequestParams("GET", "", n)), (o.query = t), (o.xmlResponse = !0), (o.successStatuses = [200]), (e.next = 10), this.request(o) ) case 10: return ( (s = e.sent), (l = s.data.Upload || []), Array.isArray(l) || (l = [l]), (l = l.map(function (e) { return { name: e.Key, uploadId: e.UploadId, initiated: e.Initiated } })), e.abrupt("return", { res: s.res, uploads: l, bucket: s.data.Bucket, nextKeyMarker: s.data.NextKeyMarker, nextUploadIdMarker: s.data.NextUploadIdMarker, isTruncated: "true" === s.data.IsTruncated }) ) case 15: case "end": return e.stop() } }, e, this ) }) ) function t(t, r) { return e.apply(this, arguments) } return t })()), (p.listParts = (function () { var e = (0, o.default)( i.default.mark(function e(t, r, n, o) { var s, l, c return i.default.wrap( function (e) { while (1) switch ((e.prev = e.next)) { case 0: return ( (o = o || {}), (s = {}), a(o).to(s), (s.subres = { uploadId: r }), (l = this._objectRequestParams("GET", t, s)), (l.query = n), (l.xmlResponse = !0), (l.successStatuses = [200]), (e.next = 10), this.request(l) ) case 10: return ( (c = e.sent), e.abrupt("return", { res: c.res, uploadId: c.data.UploadId, bucket: c.data.Bucket, name: c.data.Key, partNumberMarker: c.data.PartNumberMarker, nextPartNumberMarker: c.data.NextPartNumberMarker, maxParts: c.data.MaxParts, isTruncated: c.data.IsTruncated, parts: c.data.Part || [] }) ) case 12: case "end": return e.stop() } }, e, this ) }) ) function t(t, r, n, i) { return e.apply(this, arguments) } return t })()), (p.abortMultipartUpload = (function () { var e = (0, o.default)( i.default.mark(function e(t, r, n) { var o, s, l return i.default.wrap( function (e) { while (1) switch ((e.prev = e.next)) { case 0: return ( this._stop(), (n = n || {}), (o = {}), a(n).to(o), (o.subres = { uploadId: r }), (s = this._objectRequestParams("DELETE", t, o)), (s.successStatuses = [204]), (e.next = 9), this.request(s) ) case 9: return ( (l = e.sent), e.abrupt("return", { res: l.res }) ) case 11: case "end": return e.stop() } }, e, this ) }) ) function t(t, r, n) { return e.apply(this, arguments) } return t })()), (p.initMultipartUpload = (function () { var e = (0, o.default)( i.default.mark(function e(t, r) { var n, o, s return i.default.wrap( function (e) { while (1) switch ((e.prev = e.next)) { case 0: return ( (r = r || {}), (n = {}), a(r).to(n), (n.headers = n.headers || {}), this._convertMetaToHeaders(r.meta, n.headers), (n.subres = "uploads"), (o = this._objectRequestParams("POST", t, n)), (o.mime = r.mime), (o.xmlResponse = !0), (o.successStatuses = [200]), (e.next = 12), this.request(o) ) case 12: return ( (s = e.sent), e.abrupt("return", { res: s.res, bucket: s.data.Bucket, name: s.data.Key, uploadId: s.data.UploadId }) ) case 14: case "end": return e.stop() } }, e, this ) }) ) function t(t, r) { return e.apply(this, arguments) } return t })()), (p.uploadPart = (function () { var e = (0, o.default)( i.default.mark(function e(r, n, o, a, s, l, c) { var u, f return i.default.wrap( function (e) { while (1) switch ((e.prev = e.next)) { case 0: if ( ((u = { size: l - s }), (f = t && t.browser), !f) ) { e.next = 8 break } return (e.next = 5), this._createBuffer(a, s, l) case 5: ;(u.content = e.sent), (e.next = 11) break case 8: return (e.next = 10), this._createStream(a, s, l) case 10: u.stream = e.sent case 11: return (e.next = 13), this._uploadPart(r, n, o, u, c) case 13: return e.abrupt("return", e.sent) case 14: case "end": return e.stop() } }, e, this ) }) ) function r(t, r, n, i, o, a, s) { return e.apply(this, arguments) } return r })()), (p.completeMultipartUpload = (function () { var e = (0, o.default)( i.default.mark(function e(t, r, n, o) { var a, l, u, p, d, h, m, g return i.default.wrap( function (e) { while (1) switch ((e.prev = e.next)) { case 0: for ( a = n .concat() .sort(function (e, t) { return e.number - t.number }) .filter(function (e, t, r) { return !t || e.number !== r[t - 1].number }), l = '\n\n', u = 0; u < a.length; u++ ) (p = a[u]), (l += "\n"), (l += "".concat(p.number, "\n")), (l += "".concat(p.etag, "\n")), (l += "\n") return ( (l += ""), (o = o || {}), (d = {}), (d = c(o, function (e) { if (f(e)) return null })), d.headers && delete d.headers["x-oss-server-side-encryption"], (d.subres = { uploadId: r }), (h = this._objectRequestParams("POST", t, d)), s.encodeCallback(h, d), (h.mime = "xml"), (h.content = l), (h.headers && h.headers["x-oss-callback"]) || (h.xmlResponse = !0), (h.successStatuses = [200]), (e.next = 17), this.request(h) ) case 17: return ( (m = e.sent), (g = { res: m.res, bucket: h.bucket, name: t, etag: m.res.headers.etag }), h.headers && h.headers["x-oss-callback"] && (g.data = JSON.parse(m.data.toString())), e.abrupt("return", g) ) case 21: case "end": return e.stop() } }, e, this ) }) ) function t(t, r, n, i) { return e.apply(this, arguments) } return t })()), (p._uploadPart = (function () { var e = (0, o.default)( i.default.mark(function e(r, n, o, s, l) { var c, u, f, p return i.default.wrap( function (e) { while (1) switch ((e.prev = e.next)) { case 0: return ( (l = l || {}), (c = {}), a(l).to(c), (c.headers = { "Content-Length": s.size }), (c.subres = { partNumber: o, uploadId: n }), (u = this._objectRequestParams("PUT", r, c)), (u.mime = c.mime), (f = t && t.browser), f ? (u.content = s.content) : (u.stream = s.stream), (u.successStatuses = [200]), (u.disabledMD5 = l.disabledMD5), (e.next = 13), this.request(u) ) case 13: if (((p = e.sent), p.res.headers.etag)) { e.next = 16 break } throw new Error( "Please set the etag of expose-headers in OSS \n https://help.aliyun.com/document_detail/32069.html" ) case 16: return ( s.stream && ((s.stream = null), (u.stream = null)), e.abrupt("return", { name: r, etag: p.res.headers.etag, res: p.res }) ) case 18: case "end": return e.stop() } }, e, this ) }) ) function r(t, r, n, i, o) { return e.apply(this, arguments) } return r })()) }).call(this, e("_process")) }, { "./callback": 23, "./utils/deepCopy": 54, "./utils/isBuffer": 61, "@babel/runtime/helpers/asyncToGenerator": 71, "@babel/runtime/helpers/interopRequireDefault": 72, "@babel/runtime/regenerator": 75, _process: 392, "copy-to": 101, "core-js/modules/es.array.concat": 234, "core-js/modules/es.array.filter": 236, "core-js/modules/es.array.map": 245, "core-js/modules/es.array.sort": 247, "core-js/modules/es.object.to-string": 254, "core-js/modules/es.regexp.to-string": 257, "regenerator-runtime/runtime": 336 } ], 29: [ function (e, t, r) { "use strict" var n = e("@babel/runtime/helpers/interopRequireDefault") e("core-js/modules/es.array.concat"), e("core-js/modules/es.array.find"), e("core-js/modules/es.array.for-each"), e("core-js/modules/es.array.includes"), e("core-js/modules/es.object.keys"), e("core-js/modules/es.regexp.exec"), e("core-js/modules/es.string.replace"), e("core-js/modules/web.dom-collections.for-each") var i = n(e("@babel/runtime/regenerator")), o = n(e("@babel/runtime/helpers/typeof")) e("regenerator-runtime/runtime") var a = n(e("@babel/runtime/helpers/asyncToGenerator")), s = e("../utils/checkBucketName"), l = s.checkBucketName, c = r, u = ["content-type", "content-encoding", "content-language", "content-disposition", "cache-control", "expires"] ;(c.copy = (function () { var e = (0, a.default)( i.default.mark(function e(t, r, n, a) { var s, l, c return i.default.wrap( function (e) { while (1) switch ((e.prev = e.next)) { case 0: return ( "object" === (0, o.default)(n) && (a = n), (a = a || {}), (a.headers = a.headers || {}), Object.keys(a.headers).forEach(function (e) { a.headers["x-oss-copy-source-".concat(e.toLowerCase())] = a.headers[e] }), (a.meta || Object.keys(a.headers).find(function (e) { return u.includes(e.toLowerCase()) })) && (a.headers["x-oss-metadata-directive"] = "REPLACE"), this._convertMetaToHeaders(a.meta, a.headers), (r = this._getSourceName(r, n)), a.versionId && (r = "".concat(r, "?versionId=").concat(a.versionId)), (a.headers["x-oss-copy-source"] = r), (s = this._objectRequestParams("PUT", t, a)), (s.xmlResponse = !0), (s.successStatuses = [200, 304]), (e.next = 14), this.request(s) ) case 14: return ( (l = e.sent), (c = l.data), c && (c = { etag: c.ETag, lastModified: c.LastModified }), e.abrupt("return", { data: c, res: l.res }) ) case 18: case "end": return e.stop() } }, e, this ) }) ) function t(t, r, n, i) { return e.apply(this, arguments) } return t })()), (c._getSourceName = function (e, t) { return ( "string" === typeof t ? (e = this._objectName(e)) : "/" !== e[0] ? (t = this.options.bucket) : ((t = e.replace(/\/(.+?)(\/.*)/, "$1")), (e = e.replace(/(\/.+?\/)(.*)/, "$2"))), l(t), (e = encodeURIComponent(e)), (e = "/".concat(t, "/").concat(e)), e ) }) }, { "../utils/checkBucketName": 48, "@babel/runtime/helpers/asyncToGenerator": 71, "@babel/runtime/helpers/interopRequireDefault": 72, "@babel/runtime/helpers/typeof": 73, "@babel/runtime/regenerator": 75, "core-js/modules/es.array.concat": 234, "core-js/modules/es.array.find": 237, "core-js/modules/es.array.for-each": 238, "core-js/modules/es.array.includes": 240, "core-js/modules/es.object.keys": 253, "core-js/modules/es.regexp.exec": 256, "core-js/modules/es.string.replace": 261, "core-js/modules/web.dom-collections.for-each": 291, "regenerator-runtime/runtime": 336 } ], 30: [ function (e, t, r) { "use strict" var n = e("@babel/runtime/helpers/interopRequireDefault") e("core-js/modules/es.object.assign") var i = n(e("@babel/runtime/regenerator")) e("regenerator-runtime/runtime") var o = n(e("@babel/runtime/helpers/asyncToGenerator")), a = r a.delete = (function () { var e = (0, o.default)( i.default.mark(function e(t) { var r, n, o, a = arguments return i.default.wrap( function (e) { while (1) switch ((e.prev = e.next)) { case 0: return ( (r = a.length > 1 && void 0 !== a[1] ? a[1] : {}), (r.subres = Object.assign({}, r.subres)), r.versionId && (r.subres.versionId = r.versionId), (n = this._objectRequestParams("DELETE", t, r)), (n.successStatuses = [204]), (e.next = 7), this.request(n) ) case 7: return ( (o = e.sent), e.abrupt("return", { res: o.res }) ) case 9: case "end": return e.stop() } }, e, this ) }) ) function t(t) { return e.apply(this, arguments) } return t })() }, { "@babel/runtime/helpers/asyncToGenerator": 71, "@babel/runtime/helpers/interopRequireDefault": 72, "@babel/runtime/regenerator": 75, "core-js/modules/es.object.assign": 251, "regenerator-runtime/runtime": 336 } ], 31: [ function (e, t, r) { "use strict" var n = e("@babel/runtime/helpers/interopRequireDefault") e("core-js/modules/es.object.assign") var i = n(e("@babel/runtime/regenerator")) e("regenerator-runtime/runtime") var o = n(e("@babel/runtime/helpers/asyncToGenerator")), a = e("utility"), s = e("../utils/obj2xml"), l = s.obj2xml, c = r c.deleteMulti = (function () { var e = (0, o.default)( i.default.mark(function e(t) { var r, n, o, s, c, u, f, p, d, h, m, g, y, v = arguments return i.default.wrap( function (e) { while (1) switch ((e.prev = e.next)) { case 0: if (((r = v.length > 1 && void 0 !== v[1] ? v[1] : {}), (n = []), t && t.length)) { e.next = 4 break } throw new Error("names is required") case 4: for (o = 0; o < t.length; o++) (s = {}), "string" === typeof t[o] ? (s.Key = a.escape(this._objectName(t[o]))) : ((c = t[o]), (u = c.key), (f = c.versionId), (s.Key = a.escape(this._objectName(u))), (s.VersionId = f)), n.push(s) return ( (p = { Delete: { Quiet: !!r.quiet, Object: n } }), (d = l(p, { headers: !0 })), (r.subres = Object.assign( { delete: "" }, r.subres )), r.versionId && (r.subres.versionId = r.versionId), (h = this._objectRequestParams("POST", "", r)), (h.mime = "xml"), (h.content = d), (h.xmlResponse = !0), (h.successStatuses = [200]), (e.next = 16), this.request(h) ) case 16: return ( (m = e.sent), (g = m.data), (y = (g && g.Deleted) || null), y && (Array.isArray(y) || (y = [y])), e.abrupt("return", { res: m.res, deleted: y || [] }) ) case 21: case "end": return e.stop() } }, e, this ) }) ) function t(t) { return e.apply(this, arguments) } return t })() }, { "../utils/obj2xml": 67, "@babel/runtime/helpers/asyncToGenerator": 71, "@babel/runtime/helpers/interopRequireDefault": 72, "@babel/runtime/regenerator": 75, "core-js/modules/es.object.assign": 251, "regenerator-runtime/runtime": 336, utility: 395 } ], 32: [ function (e, t, r) { "use strict" var n = e("@babel/runtime/helpers/interopRequireDefault") e("core-js/modules/es.object.assign") var i = n(e("@babel/runtime/regenerator")) e("regenerator-runtime/runtime") var o = n(e("@babel/runtime/helpers/asyncToGenerator")), a = r a.deleteObjectTagging = (function () { var e = (0, o.default)( i.default.mark(function e(t) { var r, n, o, a = arguments return i.default.wrap( function (e) { while (1) switch ((e.prev = e.next)) { case 0: return ( (r = a.length > 1 && void 0 !== a[1] ? a[1] : {}), (r.subres = Object.assign( { tagging: "" }, r.subres )), r.versionId && (r.subres.versionId = r.versionId), (t = this._objectName(t)), (n = this._objectRequestParams("DELETE", t, r)), (n.successStatuses = [204]), (e.next = 8), this.request(n) ) case 8: return ( (o = e.sent), e.abrupt("return", { status: o.status, res: o.res }) ) case 10: case "end": return e.stop() } }, e, this ) }) ) function t(t) { return e.apply(this, arguments) } return t })() }, { "@babel/runtime/helpers/asyncToGenerator": 71, "@babel/runtime/helpers/interopRequireDefault": 72, "@babel/runtime/regenerator": 75, "core-js/modules/es.object.assign": 251, "regenerator-runtime/runtime": 336 } ], 33: [ function (e, t, r) { "use strict" e("core-js/modules/es.array.concat") var n = e("url"), i = e("../utils/isIP"), o = i.isIP, a = r a.generateObjectUrl = function (e, t) { if (o(this.options.endpoint.hostname)) throw new Error("can not get the object URL when endpoint is IP") if (t) "/" !== t[t.length - 1] && (t += "/") else { t = this.options.endpoint.format() var r = n.parse(t), i = this.options.bucket ;(r.hostname = "".concat(i, ".").concat(r.hostname)), (r.host = "".concat(i, ".").concat(r.host)), (t = r.format()) } return t + this._escape(this._objectName(e)) } }, { "../utils/isIP": 64, "core-js/modules/es.array.concat": 234, url: 393 } ], 34: [ function (e, t, r) { ;(function (t) { "use strict" var n = e("@babel/runtime/helpers/interopRequireDefault") e("core-js/modules/es.object.assign") var i = n(e("@babel/runtime/regenerator")) e("regenerator-runtime/runtime") var o = n(e("@babel/runtime/helpers/asyncToGenerator")), a = e("fs"), s = e("is-type-of"), l = r l.get = (function () { var e = (0, o.default)( i.default.mark(function e(r, n) { var o, l, c, u, f, p, d, h, m = arguments return i.default.wrap( function (e) { while (1) switch ((e.prev = e.next)) { case 0: return ( (o = m.length > 2 && void 0 !== m[2] ? m[2] : {}), (l = null), (c = !1), s.writableStream(n) ? (l = n) : s.string(n) ? ((l = a.createWriteStream(n)), (c = !0)) : (o = n), (o = o || {}), (u = t && t.browser), (f = null === o.responseCacheControl ? "" : "no-cache"), (p = u && f ? { "response-cache-control": f } : {}), (o.subres = Object.assign(p, o.subres)), o.versionId && (o.subres.versionId = o.versionId), o.process && (o.subres["x-oss-process"] = o.process), (e.prev = 11), (h = this._objectRequestParams("GET", r, o)), (h.writeStream = l), (h.successStatuses = [200, 206, 304]), (e.next = 17), this.request(h) ) case 17: ;(d = e.sent), c && l.destroy(), (e.next = 28) break case 21: if (((e.prev = 21), (e.t0 = e["catch"](11)), !c)) { e.next = 27 break } return l.destroy(), (e.next = 27), this._deleteFileSafe(n) case 27: throw e.t0 case 28: return e.abrupt("return", { res: d.res, content: d.data }) case 29: case "end": return e.stop() } }, e, this, [[11, 21]] ) }) ) function r(t, r) { return e.apply(this, arguments) } return r })() }).call(this, e("_process")) }, { "@babel/runtime/helpers/asyncToGenerator": 71, "@babel/runtime/helpers/interopRequireDefault": 72, "@babel/runtime/regenerator": 75, _process: 392, "core-js/modules/es.object.assign": 251, fs: 79, "is-type-of": 391, "regenerator-runtime/runtime": 336 } ], 35: [ function (e, t, r) { "use strict" var n = e("@babel/runtime/helpers/interopRequireDefault") e("core-js/modules/es.object.assign") var i = n(e("@babel/runtime/regenerator")) e("regenerator-runtime/runtime") var o = n(e("@babel/runtime/helpers/asyncToGenerator")), a = r a.getACL = (function () { var e = (0, o.default)( i.default.mark(function e(t) { var r, n, o, a = arguments return i.default.wrap( function (e) { while (1) switch ((e.prev = e.next)) { case 0: return ( (r = a.length > 1 && void 0 !== a[1] ? a[1] : {}), (r.subres = Object.assign( { acl: "" }, r.subres )), r.versionId && (r.subres.versionId = r.versionId), (t = this._objectName(t)), (n = this._objectRequestParams("GET", t, r)), (n.successStatuses = [200]), (n.xmlResponse = !0), (e.next = 9), this.request(n) ) case 9: return ( (o = e.sent), e.abrupt("return", { acl: o.data.AccessControlList.Grant, owner: { id: o.data.Owner.ID, displayName: o.data.Owner.DisplayName }, res: o.res }) ) case 11: case "end": return e.stop() } }, e, this ) }) ) function t(t) { return e.apply(this, arguments) } return t })() }, { "@babel/runtime/helpers/asyncToGenerator": 71, "@babel/runtime/helpers/interopRequireDefault": 72, "@babel/runtime/regenerator": 75, "core-js/modules/es.object.assign": 251, "regenerator-runtime/runtime": 336 } ], 36: [ function (e, t, r) { "use strict" var n = e("@babel/runtime/helpers/interopRequireDefault") e("core-js/modules/es.array.for-each"), e("core-js/modules/es.array.map"), e("core-js/modules/es.number.constructor"), e("core-js/modules/es.object.assign"), e("core-js/modules/es.object.keys"), e("core-js/modules/es.regexp.exec"), e("core-js/modules/es.string.replace"), e("core-js/modules/web.dom-collections.for-each") var i = n(e("@babel/runtime/regenerator")) e("regenerator-runtime/runtime") var o = n(e("@babel/runtime/helpers/asyncToGenerator")), a = r, s = e("../utils/isObject"), l = s.isObject, c = e("../utils/isArray"), u = c.isArray function f() { return p.apply(this, arguments) } function p() { return ( (p = (0, o.default)( i.default.mark(function e() { var t, r, n, o, a, s, l, c, f = arguments return i.default.wrap( function (e) { while (1) switch ((e.prev = e.next)) { case 0: if ( ((t = f.length > 0 && void 0 !== f[0] ? f[0] : {}), (r = f.length > 1 && void 0 !== f[1] ? f[1] : {}), !t.versionIdMarker || void 0 !== t.keyMarker) ) { e.next = 4 break } throw new Error("A version-id marker cannot be specified without a key marker") case 4: return ( (r.subres = Object.assign( { versions: "" }, r.subres )), r.versionId && (r.subres.versionId = r.versionId), (n = this._objectRequestParams("GET", "", r)), (n.xmlResponse = !0), (n.successStatuses = [200]), (n.query = h(t)), (e.next = 12), this.request(n) ) case 12: return ( (o = e.sent), (a = o.data.Version || []), (s = o.data.DeleteMarker || []), (l = this), a && (Array.isArray(a) || (a = [a]), (a = a.map(function (e) { return { name: e.Key, url: l._objectUrl(e.Key), lastModified: e.LastModified, isLatest: "true" === e.IsLatest, versionId: e.VersionId, etag: e.ETag, type: e.Type, size: Number(e.Size), storageClass: e.StorageClass, owner: { id: e.Owner.ID, displayName: e.Owner.DisplayName } } }))), s && (u(s) || (s = [s]), (s = s.map(function (e) { return { name: e.Key, lastModified: e.LastModified, versionId: e.VersionId, owner: { id: e.Owner.ID, displayName: e.Owner.DisplayName } } }))), (c = o.data.CommonPrefixes || null), c && (u(c) || (c = [c]), (c = c.map(function (e) { return e.Prefix }))), e.abrupt("return", { res: o.res, objects: a, deleteMarker: s, prefixes: c, nextMarker: o.data.NextKeyMarker || null, NextVersionIdMarker: o.data.NextVersionIdMarker || null, nextKeyMarker: o.data.NextKeyMarker || null, nextVersionIdMarker: o.data.NextVersionIdMarker || null, isTruncated: "true" === o.data.IsTruncated }) ) case 21: case "end": return e.stop() } }, e, this ) }) )), p.apply(this, arguments) ) } function d(e) { return e.replace(/([A-Z])/g, "-$1").toLowerCase() } function h() { var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}, t = {} return ( l(e) && Object.keys(e).forEach(function (r) { t[d(r)] = e[r] }), t ) } ;(a.getBucketVersions = f), (a.listObjectVersions = f) }, { "../utils/isArray": 59, "../utils/isObject": 65, "@babel/runtime/helpers/asyncToGenerator": 71, "@babel/runtime/helpers/interopRequireDefault": 72, "@babel/runtime/regenerator": 75, "core-js/modules/es.array.for-each": 238, "core-js/modules/es.array.map": 245, "core-js/modules/es.number.constructor": 250, "core-js/modules/es.object.assign": 251, "core-js/modules/es.object.keys": 253, "core-js/modules/es.regexp.exec": 256, "core-js/modules/es.string.replace": 261, "core-js/modules/web.dom-collections.for-each": 291, "regenerator-runtime/runtime": 336 } ], 37: [ function (e, t, r) { "use strict" var n = e("@babel/runtime/helpers/interopRequireDefault") e("core-js/modules/es.object.assign") var i = n(e("@babel/runtime/regenerator")) e("regenerator-runtime/runtime") var o = n(e("@babel/runtime/helpers/asyncToGenerator")), a = r a.getObjectMeta = (function () { var e = (0, o.default)( i.default.mark(function e(t, r) { var n, o return i.default.wrap( function (e) { while (1) switch ((e.prev = e.next)) { case 0: return ( (r = r || {}), (t = this._objectName(t)), (r.subres = Object.assign( { objectMeta: "" }, r.subres )), r.versionId && (r.subres.versionId = r.versionId), (n = this._objectRequestParams("HEAD", t, r)), (n.successStatuses = [200]), (e.next = 8), this.request(n) ) case 8: return ( (o = e.sent), e.abrupt("return", { status: o.status, res: o.res }) ) case 10: case "end": return e.stop() } }, e, this ) }) ) function t(t, r) { return e.apply(this, arguments) } return t })() }, { "@babel/runtime/helpers/asyncToGenerator": 71, "@babel/runtime/helpers/interopRequireDefault": 72, "@babel/runtime/regenerator": 75, "core-js/modules/es.object.assign": 251, "regenerator-runtime/runtime": 336 } ], 38: [ function (e, t, r) { "use strict" var n = e("@babel/runtime/helpers/interopRequireDefault") e("core-js/modules/es.array.for-each"), e("core-js/modules/es.object.assign"), e("core-js/modules/web.dom-collections.for-each") var i = n(e("@babel/runtime/regenerator")) e("regenerator-runtime/runtime") var o = n(e("@babel/runtime/helpers/asyncToGenerator")), a = r, s = e("../utils/isObject"), l = s.isObject a.getObjectTagging = (function () { var e = (0, o.default)( i.default.mark(function e(t) { var r, n, o, a, s, c, u = arguments return i.default.wrap( function (e) { while (1) switch ((e.prev = e.next)) { case 0: return ( (r = u.length > 1 && void 0 !== u[1] ? u[1] : {}), (r.subres = Object.assign( { tagging: "" }, r.subres )), r.versionId && (r.subres.versionId = r.versionId), (t = this._objectName(t)), (n = this._objectRequestParams("GET", t, r)), (n.successStatuses = [200]), (e.next = 8), this.request(n) ) case 8: return (o = e.sent), (e.next = 11), this.parseXML(o.data) case 11: return ( (a = e.sent), (s = a.TagSet.Tag), (s = s && l(s) ? [s] : s || []), (c = {}), s.forEach(function (e) { c[e.Key] = e.Value }), e.abrupt("return", { status: o.status, res: o.res, tag: c }) ) case 17: case "end": return e.stop() } }, e, this ) }) ) function t(t) { return e.apply(this, arguments) } return t })() }, { "../utils/isObject": 65, "@babel/runtime/helpers/asyncToGenerator": 71, "@babel/runtime/helpers/interopRequireDefault": 72, "@babel/runtime/regenerator": 75, "core-js/modules/es.array.for-each": 238, "core-js/modules/es.object.assign": 251, "core-js/modules/web.dom-collections.for-each": 291, "regenerator-runtime/runtime": 336 } ], 39: [ function (e, t, r) { "use strict" var n = e("../utils/isIP"), i = n.isIP, o = r o.getObjectUrl = function (e, t) { if (i(this.options.endpoint.hostname)) throw new Error("can not get the object URL when endpoint is IP") return ( t ? "/" !== t[t.length - 1] && (t += "/") : (t = this.options.endpoint.format()), t + this._escape(this._objectName(e)) ) } }, { "../utils/isIP": 64 } ], 40: [ function (e, t, r) { "use strict" var n = e("@babel/runtime/helpers/interopRequireDefault") e("core-js/modules/es.object.assign") var i = n(e("@babel/runtime/regenerator")) e("regenerator-runtime/runtime") var o = n(e("@babel/runtime/helpers/asyncToGenerator")), a = r a.getSymlink = (function () { var e = (0, o.default)( i.default.mark(function e(t) { var r, n, o, a, s = arguments return i.default.wrap( function (e) { while (1) switch ((e.prev = e.next)) { case 0: return ( (r = s.length > 1 && void 0 !== s[1] ? s[1] : {}), (r.subres = Object.assign( { symlink: "" }, r.subres )), r.versionId && (r.subres.versionId = r.versionId), (t = this._objectName(t)), (n = this._objectRequestParams("GET", t, r)), (n.successStatuses = [200]), (e.next = 8), this.request(n) ) case 8: return ( (o = e.sent), (a = o.res.headers["x-oss-symlink-target"]), e.abrupt("return", { targetName: decodeURIComponent(a), res: o.res }) ) case 11: case "end": return e.stop() } }, e, this ) }) ) function t(t) { return e.apply(this, arguments) } return t })() }, { "@babel/runtime/helpers/asyncToGenerator": 71, "@babel/runtime/helpers/interopRequireDefault": 72, "@babel/runtime/regenerator": 75, "core-js/modules/es.object.assign": 251, "regenerator-runtime/runtime": 336 } ], 41: [ function (e, t, r) { "use strict" var n = e("@babel/runtime/helpers/interopRequireDefault") e("core-js/modules/es.array.for-each"), e("core-js/modules/es.array.index-of"), e("core-js/modules/es.object.assign"), e("core-js/modules/es.object.keys"), e("core-js/modules/web.dom-collections.for-each") var i = n(e("@babel/runtime/regenerator")) e("regenerator-runtime/runtime") var o = n(e("@babel/runtime/helpers/asyncToGenerator")), a = r a.head = (function () { var e = (0, o.default)( i.default.mark(function e(t) { var r, n, o, a, s = arguments return i.default.wrap( function (e) { while (1) switch ((e.prev = e.next)) { case 0: return ( (r = s.length > 1 && void 0 !== s[1] ? s[1] : {}), (r.subres = Object.assign({}, r.subres)), r.versionId && (r.subres.versionId = r.versionId), (n = this._objectRequestParams("HEAD", t, r)), (n.successStatuses = [200, 304]), (e.next = 7), this.request(n) ) case 7: return ( (o = e.sent), (a = { meta: null, res: o.res, status: o.status }), 200 === o.status && Object.keys(o.headers).forEach(function (e) { 0 === e.indexOf("x-oss-meta-") && (a.meta || (a.meta = {}), (a.meta[e.substring(11)] = o.headers[e])) }), e.abrupt("return", a) ) case 11: case "end": return e.stop() } }, e, this ) }) ) function t(t) { return e.apply(this, arguments) } return t })() }, { "@babel/runtime/helpers/asyncToGenerator": 71, "@babel/runtime/helpers/interopRequireDefault": 72, "@babel/runtime/regenerator": 75, "core-js/modules/es.array.for-each": 238, "core-js/modules/es.array.index-of": 241, "core-js/modules/es.object.assign": 251, "core-js/modules/es.object.keys": 253, "core-js/modules/web.dom-collections.for-each": 291, "regenerator-runtime/runtime": 336 } ], 42: [ function (e, t, r) { "use strict" var n = e("@babel/runtime/helpers/interopRequireDefault") e("core-js/modules/es.object.assign") var i = n(e("@babel/runtime/regenerator")) e("regenerator-runtime/runtime") var o = n(e("@babel/runtime/helpers/asyncToGenerator")), a = r a.putACL = (function () { var e = (0, o.default)( i.default.mark(function e(t, r, n) { var o, a return i.default.wrap( function (e) { while (1) switch ((e.prev = e.next)) { case 0: return ( (n = n || {}), (n.subres = Object.assign( { acl: "" }, n.subres )), n.versionId && (n.subres.versionId = n.versionId), (n.headers = n.headers || {}), (n.headers["x-oss-object-acl"] = r), (t = this._objectName(t)), (o = this._objectRequestParams("PUT", t, n)), (o.successStatuses = [200]), (e.next = 10), this.request(o) ) case 10: return ( (a = e.sent), e.abrupt("return", { res: a.res }) ) case 12: case "end": return e.stop() } }, e, this ) }) ) function t(t, r, n) { return e.apply(this, arguments) } return t })() }, { "@babel/runtime/helpers/asyncToGenerator": 71, "@babel/runtime/helpers/interopRequireDefault": 72, "@babel/runtime/regenerator": 75, "core-js/modules/es.object.assign": 251, "regenerator-runtime/runtime": 336 } ], 43: [ function (e, t, r) { "use strict" var n = e("@babel/runtime/helpers/interopRequireDefault") e("core-js/modules/es.array.map"), e("core-js/modules/es.object.assign"), e("core-js/modules/es.object.keys") var i = n(e("@babel/runtime/regenerator")) e("regenerator-runtime/runtime") var o = n(e("@babel/runtime/helpers/asyncToGenerator")), a = e("../utils/obj2xml"), s = a.obj2xml, l = e("../utils/checkObjectTag"), c = l.checkObjectTag, u = r u.putObjectTagging = (function () { var e = (0, o.default)( i.default.mark(function e(t, r) { var n, o, a, l, u = arguments return i.default.wrap( function (e) { while (1) switch ((e.prev = e.next)) { case 0: return ( (n = u.length > 2 && void 0 !== u[2] ? u[2] : {}), c(r), (n.subres = Object.assign( { tagging: "" }, n.subres )), n.versionId && (n.subres.versionId = n.versionId), (t = this._objectName(t)), (o = this._objectRequestParams("PUT", t, n)), (o.successStatuses = [200]), (r = Object.keys(r).map(function (e) { return { Key: e, Value: r[e] } })), (a = { Tagging: { TagSet: { Tag: r } } }), (o.mime = "xml"), (o.content = s(a)), (e.next = 13), this.request(o) ) case 13: return ( (l = e.sent), e.abrupt("return", { res: l.res, status: l.status }) ) case 15: case "end": return e.stop() } }, e, this ) }) ) function t(t, r) { return e.apply(this, arguments) } return t })() }, { "../utils/checkObjectTag": 50, "../utils/obj2xml": 67, "@babel/runtime/helpers/asyncToGenerator": 71, "@babel/runtime/helpers/interopRequireDefault": 72, "@babel/runtime/regenerator": 75, "core-js/modules/es.array.map": 245, "core-js/modules/es.object.assign": 251, "core-js/modules/es.object.keys": 253, "regenerator-runtime/runtime": 336 } ], 44: [ function (e, t, r) { "use strict" var n = e("@babel/runtime/helpers/interopRequireDefault") e("core-js/modules/es.object.assign") var i = n(e("@babel/runtime/regenerator")) e("regenerator-runtime/runtime") var o = n(e("@babel/runtime/helpers/asyncToGenerator")), a = r a.putSymlink = (function () { var e = (0, o.default)( i.default.mark(function e(t, r, n) { var o, a return i.default.wrap( function (e) { while (1) switch ((e.prev = e.next)) { case 0: return ( (n = n || {}), (n.headers = n.headers || {}), (r = this._escape(this._objectName(r))), this._convertMetaToHeaders(n.meta, n.headers), (n.headers["x-oss-symlink-target"] = r), (n.subres = Object.assign( { symlink: "" }, n.subres )), n.versionId && (n.subres.versionId = n.versionId), n.storageClass && (n.headers["x-oss-storage-class"] = n.storageClass), (t = this._objectName(t)), (o = this._objectRequestParams("PUT", t, n)), (o.successStatuses = [200]), (e.next = 13), this.request(o) ) case 13: return ( (a = e.sent), e.abrupt("return", { res: a.res }) ) case 15: case "end": return e.stop() } }, e, this ) }) ) function t(t, r, n) { return e.apply(this, arguments) } return t })() }, { "@babel/runtime/helpers/asyncToGenerator": 71, "@babel/runtime/helpers/interopRequireDefault": 72, "@babel/runtime/regenerator": 75, "core-js/modules/es.object.assign": 251, "regenerator-runtime/runtime": 336 } ], 45: [ function (e, t, r) { "use strict" var n = e("url"), i = e("utility"), o = e("copy-to"), a = e("../../common/signUtils"), s = e("../utils/isIP"), l = s.isIP, c = r c.signatureUrl = function (e, t) { if (l(this.options.endpoint.hostname)) throw new Error("can not get the object URL when endpoint is IP") ;(t = t || {}), (e = this._objectName(e)), (t.method = t.method || "GET") var r = i.timestamp() + (t.expires || 1800), s = { bucket: this.options.bucket, object: e }, c = this._getResource(s) this.options.stsToken && (t["security-token"] = this.options.stsToken) var u = a._signatureForURL(this.options.accessKeySecret, t, c, r), f = n.parse(this._getReqUrl(s)) return ( (f.query = { OSSAccessKeyId: this.options.accessKeyId, Expires: r, Signature: u.Signature }), o(u.subResource).to(f.query), f.format() ) } }, { "../../common/signUtils": 47, "../utils/isIP": 64, "copy-to": 101, url: 393, utility: 395 } ], 46: [ function (e, t, r) { "use strict" var n = e("@babel/runtime/helpers/interopRequireDefault") e("core-js/modules/es.array.for-each"), e("core-js/modules/es.array.iterator"), e("core-js/modules/es.function.name"), e("core-js/modules/es.object.to-string"), e("core-js/modules/es.promise"), e("core-js/modules/es.string.iterator"), e("core-js/modules/web.dom-collections.for-each"), e("core-js/modules/web.dom-collections.iterator") var i = n(e("@babel/runtime/regenerator")) e("regenerator-runtime/runtime") var o = n(e("@babel/runtime/helpers/asyncToGenerator")), a = e("./utils/isArray"), s = a.isArray, l = r ;(l._parallelNode = (function () { var e = (0, o.default)( i.default.mark(function e(t, r, n, o) { var a, s, l, c, u, f, p, d return i.default.wrap( function (e) { while (1) switch ((e.prev = e.next)) { case 0: ;(a = this), (s = []), (l = []), (c = t.length / r), (u = t.length % r), (f = 0 === u ? c : (t.length - u) / r + 1), (p = 1), (d = 0) case 8: if (!(d < t.length)) { e.next = 26 break } if (!a.isCancel()) { e.next = 11 break } return e.abrupt("break", 26) case 11: if ( (o ? l.push(n(a, t[d], o)) : l.push(n(a, t[d])), l.length !== r && (p !== f || d !== t.length - 1)) ) { e.next = 23 break } return (e.prev = 13), (p += 1), (e.next = 17), Promise.all(l) case 17: e.next = 22 break case 19: ;(e.prev = 19), (e.t0 = e["catch"](13)), s.push(e.t0) case 22: l = [] case 23: d++, (e.next = 8) break case 26: return e.abrupt("return", s) case 27: case "end": return e.stop() } }, e, this, [[13, 19]] ) }) ) function t(t, r, n, i) { return e.apply(this, arguments) } return t })()), (l._parallel = function (e, t, r) { var n = this return new Promise(function (i) { var o = [] if (t <= 0 || !e) i(o) else { var a = f(e), s = !1, l = 0, c = !1 h() } function u(e) { return function () { if (null === e) throw new Error("Callback was already called.") var t = e e = null for (var r = arguments.length, n = new Array(r), i = 0; i < r; i++) n[i] = arguments[i] t.apply(this, n) } } function f(e) { var t = -1, r = e.length return function () { return ++t < r && !n.isCancel() ? { value: e[t], key: t } : null } } function p(e, t) { ;(l -= 1), e ? ((s = !0), o.push(e), i(o)) : t === {} || (s && l <= 0) ? ((s = !0), i(o)) : c || (n.isCancel() ? i(o) : h()) } function d(e, t) { r(e) .then(function (e) { t(null, e) }) .catch(function (e) { t(e) }) } function h() { c = !0 while (l < t && !s && !n.isCancel()) { var e = a() if (null === e || o.length > 0) return (s = !0), void (l <= 0 && i(o)) ;(l += 1), d(e.value, u(p)) } c = !1 } }) }), (l.cancel = function (e) { ;(this.options.cancelFlag = !0), s(this.multipartUploadStreams) && this.multipartUploadStreams.forEach(function (e) { if (!1 === e.destroyed) { var t = { name: "cancel", message: "cancel" } e.destroy(t) } }), (this.multipartUploadStreams = []), e && this.abortMultipartUpload(e.name, e.uploadId, e.options) }), (l.isCancel = function () { return this.options.cancelFlag }), (l.resetCancelFlag = function () { this.options.cancelFlag = !1 }), (l._stop = function () { this.options.cancelFlag = !0 }), (l._makeCancelEvent = function () { var e = { status: 0, name: "cancel" } return e }), (l._makeAbortEvent = function () { var e = { status: 0, name: "abort", message: "upload task has been abort" } return e }) }, { "./utils/isArray": 59, "@babel/runtime/helpers/asyncToGenerator": 71, "@babel/runtime/helpers/interopRequireDefault": 72, "@babel/runtime/regenerator": 75, "core-js/modules/es.array.for-each": 238, "core-js/modules/es.array.iterator": 242, "core-js/modules/es.function.name": 249, "core-js/modules/es.object.to-string": 254, "core-js/modules/es.promise": 255, "core-js/modules/es.string.iterator": 259, "core-js/modules/web.dom-collections.for-each": 291, "core-js/modules/web.dom-collections.iterator": 292, "regenerator-runtime/runtime": 336 } ], 47: [ function (e, t, r) { ;(function (t) { "use strict" e("core-js/modules/es.array.concat"), e("core-js/modules/es.array.for-each"), e("core-js/modules/es.array.index-of"), e("core-js/modules/es.array.join"), e("core-js/modules/es.array.sort"), e("core-js/modules/es.object.keys"), e("core-js/modules/es.object.to-string"), e("core-js/modules/es.regexp.to-string"), e("core-js/modules/es.string.trim"), e("core-js/modules/web.dom-collections.for-each") var n = e("./../../shims/crypto/crypto.js"), i = e("is-type-of"), o = e("./utils/lowercaseKeyHeader"), a = o.lowercaseKeyHeader ;(r.buildCanonicalizedResource = function (e, t) { var r = "".concat(e), n = "?" if (i.string(t) && "" !== t.trim()) r += n + t else if (i.array(t)) t.sort(), (r += n + t.join("&")) else if (t) { var o = function (e, t) { return e[0] > t[0] ? 1 : e[0] < t[0] ? -1 : 0 }, a = function (e) { ;(r += n + e), t[e] && (r += "=".concat(t[e])), (n = "&") } Object.keys(t).sort(o).forEach(a) } return r }), (r.buildCanonicalString = function (e, t, r, n) { r = r || {} var i = a(r.headers), o = "x-oss-", s = [], l = {}, c = [e.toUpperCase(), i["content-md5"] || "", i["content-type"], n || i["x-oss-date"]] return ( Object.keys(i).forEach(function (e) { var t = e.toLowerCase() 0 === t.indexOf(o) && (l[t] = String(i[e]).trim()) }), Object.keys(l) .sort() .forEach(function (e) { s.push("".concat(e, ":").concat(l[e])) }), (c = c.concat(s)), c.push(this.buildCanonicalizedResource(t, r.parameters)), c.join("\n") ) }), (r.computeSignature = function (e, r) { var i = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : "utf-8", o = n.createHmac("sha1", e) return o.update(t.from(r, i)).digest("base64") }), (r.authorization = function (e, t, r, n) { return "OSS ".concat(e, ":").concat(this.computeSignature(t, r, n)) }), (r._signatureForURL = function (e) { var r = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {}, n = arguments.length > 2 ? arguments[2] : void 0, i = arguments.length > 3 ? arguments[3] : void 0, o = arguments.length > 4 ? arguments[4] : void 0, a = {}, s = r.subResource, l = void 0 === s ? {} : s if (r.process) { var c = "x-oss-process" l[c] = r.process } if (r.trafficLimit) { var u = "x-oss-traffic-limit" l[u] = r.trafficLimit } if ( (r.response && Object.keys(r.response).forEach(function (e) { var t = "response-".concat(e.toLowerCase()) l[t] = r.response[e] }), Object.keys(r).forEach(function (e) { var t = e.toLowerCase(), n = r[e] 0 === t.indexOf("x-oss-") ? (a[t] = n) : (0 === t.indexOf("content-md5") || 0 === t.indexOf("content-type")) && (a[e] = n) }), Object.prototype.hasOwnProperty.call(r, "security-token") && (l["security-token"] = r["security-token"]), Object.prototype.hasOwnProperty.call(r, "callback")) ) { var f = { callbackUrl: encodeURI(r.callback.url), callbackBody: r.callback.body } if ( (r.callback.host && (f.callbackHost = r.callback.host), r.callback.contentType && (f.callbackBodyType = r.callback.contentType), (l.callback = t.from(JSON.stringify(f)).toString("base64")), r.callback.customValue) ) { var p = {} Object.keys(r.callback.customValue).forEach(function (e) { p["x:".concat(e)] = r.callback.customValue[e] }), (l["callback-var"] = t.from(JSON.stringify(p)).toString("base64")) } } var d = this.buildCanonicalString( r.method, n, { headers: a, parameters: l }, i.toString() ) return { Signature: this.computeSignature(e, d, o), subResource: l } }) }).call(this, e("buffer").Buffer) }, { "./../../shims/crypto/crypto.js": 386, "./utils/lowercaseKeyHeader": 66, buffer: 99, "core-js/modules/es.array.concat": 234, "core-js/modules/es.array.for-each": 238, "core-js/modules/es.array.index-of": 241, "core-js/modules/es.array.join": 243, "core-js/modules/es.array.sort": 247, "core-js/modules/es.object.keys": 253, "core-js/modules/es.object.to-string": 254, "core-js/modules/es.regexp.to-string": 257, "core-js/modules/es.string.trim": 264, "core-js/modules/web.dom-collections.for-each": 291, "is-type-of": 391 } ], 48: [ function (e, t, r) { "use strict" Object.defineProperty(r, "__esModule", { value: !0 }), (r.checkBucketName = void 0), (r.checkBucketName = function (e) { var t = arguments.length > 1 && void 0 !== arguments[1] && arguments[1], r = t ? /^[a-z0-9][a-z0-9-]{1,61}[a-z0-9]$/ : /^[a-z0-9_][a-z0-9-_]{1,61}[a-z0-9_]$/ if (!r.test(e)) throw new Error("The bucket must be conform to the specifications") }) }, {} ], 49: [ function (e, t, r) { "use strict" Object.defineProperty(r, "__esModule", { value: !0 }), (r.checkConfigValid = void 0) var n = { endpoint: i, region: /^[a-zA-Z0-9\-_]+$/ } function i(e) { return "string" === typeof e ? /^[a-zA-Z0-9._:/-]+$/.test(e) : !!e.host && /^[a-zA-Z0-9._:/-]+$/.test(e.host) } r.checkConfigValid = function (e, t) { if (n[t]) { var r = !0 if (((r = n[t] instanceof Function ? n[t](e) : n[t].test(e)), !r)) throw new Error("The ".concat(t, " must be conform to the specifications")) } } }, {} ], 50: [ function (e, t, r) { "use strict" e("core-js/modules/es.array.concat"), e("core-js/modules/es.array.for-each"), e("core-js/modules/es.object.entries"), e("core-js/modules/web.dom-collections.for-each"), Object.defineProperty(r, "__esModule", { value: !0 }), (r.checkObjectTag = void 0) var n = e("./checkValid"), i = n.checkValid, o = e("./isObject"), a = o.isObject, s = [ { validator: function (e) { if ("string" !== typeof e) throw new Error("the key and value of the tag must be String") } }, { pattern: /^[a-zA-Z0-9 +-=._:/]+$/, msg: "tag can contain letters, numbers, spaces, and the following symbols: plus sign (+), hyphen (-), equal sign (=), period (.), underscore (_), colon (:), and forward slash (/)" } ], l = { key: [].concat(s, [ { pattern: /^.{1,128}$/, msg: "tag key can be a maximum of 128 bytes in length" } ]), value: [].concat(s, [ { pattern: /^.{0,256}$/, msg: "tag value can be a maximum of 256 bytes in length" } ]) } function c(e) { if (!a(e)) throw new Error("tag must be Object") var t = Object.entries(e) if (t.length > 10) throw new Error("maximum of 10 tags for a object") var r = ["key", "value"] t.forEach(function (e) { e.forEach(function (e, t) { i(e, l[r[t]]) }) }) } r.checkObjectTag = c }, { "./checkValid": 51, "./isObject": 65, "core-js/modules/es.array.concat": 234, "core-js/modules/es.array.for-each": 238, "core-js/modules/es.object.entries": 252, "core-js/modules/web.dom-collections.for-each": 291 } ], 51: [ function (e, t, r) { "use strict" function n(e, t) { t.forEach(function (t) { if (t.validator) t.validator(e) else if (t.pattern && !t.pattern.test(e)) throw new Error(t.msg) }) } e("core-js/modules/es.array.for-each"), e("core-js/modules/web.dom-collections.for-each"), Object.defineProperty(r, "__esModule", { value: !0 }), (r.checkValid = void 0), (r.checkValid = n) }, { "core-js/modules/es.array.for-each": 238, "core-js/modules/web.dom-collections.for-each": 291 } ], 52: [ function (e, t, r) { ;(function (t) { "use strict" e("core-js/modules/es.array.concat"), e("core-js/modules/es.array.includes"), e("core-js/modules/es.array.index-of"), e("core-js/modules/es.object.assign"), e("core-js/modules/es.string.includes"), Object.defineProperty(r, "__esModule", { value: !0 }), (r.createRequest = void 0) var n = e("./../../../shims/crypto/crypto.js"), i = e("debug")("ali-oss"), o = e("mime"), a = e("dateformat"), s = e("copy-to"), l = e("path"), c = e("./encoder"), u = c.encoder, f = e("./isIP"), p = f.isIP, d = e("./setRegion"), h = d.setRegion, m = e("../client/getReqUrl"), g = m.getReqUrl function y(e, t) { return e[t] || e[t.toLowerCase()] } function v(e, t) { delete e[t], delete e[t.toLowerCase()] } function b(e) { var r = new Date() this.options.amendTimeSkewed && (r = +new Date() + this.options.amendTimeSkewed) var c = { "x-oss-date": a(r, "UTC:ddd, dd mmm yyyy HH:MM:ss 'GMT'"), "x-oss-user-agent": this.userAgent } this.userAgent.includes("nodejs") && (c["User-Agent"] = this.userAgent), this.options.isRequestPay && Object.assign(c, { "x-oss-request-payer": "requester" }), this.options.stsToken && (c["x-oss-security-token"] = this.options.stsToken), s(e.headers).to(c), y(c, "Content-Type") || (e.mime && e.mime.indexOf("/") > 0 ? (c["Content-Type"] = e.mime) : (c["Content-Type"] = o.getType(e.mime || l.extname(e.object || "")))), y(c, "Content-Type") || v(c, "Content-Type"), e.content && (e.disabledMD5 || (c["Content-MD5"] = n.createHash("md5").update(t.from(e.content, "utf8")).digest("base64")), c["Content-Length"] || (c["Content-Length"] = e.content.length)) var f = Object.prototype.hasOwnProperty for (var d in c) c[d] && f.call(c, d) && (c[d] = u(String(c[d]), this.options.headerEncoding)) var m = this._getResource(e) if ( ((c.authorization = this.authorization(e.method, m, e.subres, c, this.options.headerEncoding)), p(this.options.endpoint.hostname)) ) { var b = this.options, w = b.region, x = b.internal, A = b.secure, _ = h(w, x, A) c.host = "".concat(e.bucket, ".").concat(_.host) } var T = g.bind(this)(e) i("request %s %s, with headers %j, !!stream: %s", e.method, T, c, !!e.stream) var E = e.timeout || this.options.timeout, S = { method: e.method, content: e.content, stream: e.stream, headers: c, timeout: E, writeStream: e.writeStream, customResponse: e.customResponse, ctx: e.ctx || this.ctx } return ( this.agent && (S.agent = this.agent), this.httpsAgent && (S.httpsAgent = this.httpsAgent), (S.enableProxy = !!this.options.enableProxy), (S.proxy = this.options.proxy ? this.options.proxy : null), { url: T, params: S } ) } r.createRequest = b }).call(this, e("buffer").Buffer) }, { "../client/getReqUrl": 24, "./../../../shims/crypto/crypto.js": 386, "./encoder": 55, "./isIP": 64, "./setRegion": 69, buffer: 99, "copy-to": 101, "core-js/modules/es.array.concat": 234, "core-js/modules/es.array.includes": 240, "core-js/modules/es.array.index-of": 241, "core-js/modules/es.object.assign": 251, "core-js/modules/es.string.includes": 258, dateformat: 294, debug: 390, mime: 312, path: 315 } ], 53: [ function (e, t, r) { "use strict" e("core-js/modules/es.array.for-each"), e("core-js/modules/es.array.includes"), e("core-js/modules/es.object.entries"), e("core-js/modules/es.object.keys"), e("core-js/modules/es.regexp.exec"), e("core-js/modules/es.string.replace"), e("core-js/modules/web.dom-collections.for-each"), Object.defineProperty(r, "__esModule", { value: !0 }), (r.dataFix = void 0) var n = e("./isObject"), i = ["true", "TRUE", "1", 1], o = ["false", "FALSE", "0", 0] function a(e, t, r) { if (n.isObject(e)) { var i = t.remove, o = void 0 === i ? [] : i, c = t.rename, u = void 0 === c ? {} : c, f = t.camel, p = void 0 === f ? [] : f, d = t.bool, h = void 0 === d ? [] : d, m = t.lowerFirst, g = void 0 !== m && m return ( o.forEach(function (t) { return delete e[t] }), Object.entries(u).forEach(function (t) { e[t[0]] && (e[t[1]] || ((e[t[1]] = e[t[0]]), delete e[t[0]])) }), p.forEach(function (t) { if (e[t]) { var r = t .replace(/^(.)/, function (e) { return e.toLowerCase() }) .replace(/-(\w)/g, function (e, t) { return t.toUpperCase() }) e[r] || (e[r] = e[t]) } }), h.forEach(function (t) { e[t] = s(e[t]) }), "function" === typeof r && r(e), l(e, g), a ) } } function s(e) { return !!e && (!!i.includes(e) || (!o.includes(e) && e)) } function l(e, t) { t && Object.keys(e).forEach(function (t) { var r = t.replace(/^\w/, function (e) { return e.toLowerCase() }) "undefined" === typeof e[r] && ((e[r] = e[t]), delete e[t]) }) } r.dataFix = a }, { "./isObject": 65, "core-js/modules/es.array.for-each": 238, "core-js/modules/es.array.includes": 240, "core-js/modules/es.object.entries": 252, "core-js/modules/es.object.keys": 253, "core-js/modules/es.regexp.exec": 256, "core-js/modules/es.string.replace": 261, "core-js/modules/web.dom-collections.for-each": 291 } ], 54: [ function (e, t, r) { "use strict" var n = e("@babel/runtime/helpers/interopRequireDefault") e("core-js/modules/es.array.for-each"), e("core-js/modules/es.array.slice"), e("core-js/modules/es.object.keys"), e("core-js/modules/web.dom-collections.for-each") var i = n(e("@babel/runtime/helpers/typeof")) Object.defineProperty(r, "__esModule", { value: !0 }), (r.deepCopyWith = r.deepCopy = void 0) var o = e("./isBuffer") ;(r.deepCopy = function (e) { if (null === e || "object" !== (0, i.default)(e)) return e if (o.isBuffer(e)) return e.slice() var t = Array.isArray(e) ? [] : {} return ( Object.keys(e).forEach(function (n) { t[n] = r.deepCopy(e[n]) }), t ) }), (r.deepCopyWith = function (e, t) { function n(e, r, a) { var s = t(e, r, a) if (void 0 !== s) return s if (null === e || "object" !== (0, i.default)(e)) return e if (o.isBuffer(e)) return e.slice() var l = Array.isArray(e) ? [] : {} return ( Object.keys(e).forEach(function (t) { l[t] = n(e[t], t, e) }), l ) } return t ? n(e, "", null) : r.deepCopy(e) }) }, { "./isBuffer": 61, "@babel/runtime/helpers/interopRequireDefault": 72, "@babel/runtime/helpers/typeof": 73, "core-js/modules/es.array.for-each": 238, "core-js/modules/es.array.slice": 246, "core-js/modules/es.object.keys": 253, "core-js/modules/web.dom-collections.for-each": 291 } ], 55: [ function (e, t, r) { ;(function (t) { "use strict" function n(e) { var r = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : "utf-8" return "utf-8" === r ? e : t.from(e).toString("latin1") } e("core-js/modules/es.object.to-string"), e("core-js/modules/es.regexp.to-string"), Object.defineProperty(r, "__esModule", { value: !0 }), (r.encoder = void 0), (r.encoder = n) }).call(this, e("buffer").Buffer) }, { buffer: 99, "core-js/modules/es.object.to-string": 254, "core-js/modules/es.regexp.to-string": 257 } ], 56: [ function (e, t, r) { "use strict" e("core-js/modules/es.array.map"), e("core-js/modules/es.regexp.exec"), e("core-js/modules/es.string.replace"), Object.defineProperty(r, "__esModule", { value: !0 }), (r.formatInventoryConfig = void 0) var n = e("../utils/dataFix"), i = e("../utils/isObject"), o = e("../utils/isArray"), a = e("../utils/formatObjKey") function s(e) { var t = arguments.length > 1 && void 0 !== arguments[1] && arguments[1] return t && i.isObject(e) && (e = [e]), (e = o.isArray(e) ? e.map(l) : l(e)), e } function l(e) { return ( n.dataFix( e, { bool: ["IsEnabled"] }, function (e) { var t, r ;(e.prefix = e.Filter.Prefix), delete e.Filter, (e.OSSBucketDestination = e.Destination.OSSBucketDestination), (e.OSSBucketDestination.rolename = e.OSSBucketDestination.RoleArn.replace(/.*\//, "")), delete e.OSSBucketDestination.RoleArn, (e.OSSBucketDestination.bucket = e.OSSBucketDestination.Bucket.replace(/.*:::/, "")), delete e.OSSBucketDestination.Bucket, delete e.Destination, (e.frequency = e.Schedule.Frequency), delete e.Schedule.Frequency, (null === (t = null === e || void 0 === e ? void 0 : e.OptionalFields) || void 0 === t ? void 0 : t.Field) && !o.isArray(null === (r = e.OptionalFields) || void 0 === r ? void 0 : r.Field) && (e.OptionalFields.Field = [e.OptionalFields.Field]) } ), (e = a.formatObjKey(e, "firstLowerCase", { exclude: ["OSSBucketDestination", "SSE-OSS", "SSE-KMS"] })), e ) } r.formatInventoryConfig = s }, { "../utils/dataFix": 53, "../utils/formatObjKey": 57, "../utils/isArray": 59, "../utils/isObject": 65, "core-js/modules/es.array.map": 245, "core-js/modules/es.regexp.exec": 256, "core-js/modules/es.string.replace": 261 } ], 57: [ function (e, t, r) { "use strict" var n = e("@babel/runtime/helpers/interopRequireDefault") e("core-js/modules/es.array.for-each"), e("core-js/modules/es.array.includes"), e("core-js/modules/es.object.keys"), e("core-js/modules/es.regexp.exec"), e("core-js/modules/es.string.includes"), e("core-js/modules/es.string.replace"), e("core-js/modules/web.dom-collections.for-each") var i = n(e("@babel/runtime/helpers/typeof")) function o(e, t, r) { if (null === e || "object" !== (0, i.default)(e)) return e var n if (Array.isArray(e)) { n = [] for (var s = 0; s < e.length; s++) n.push(o(e[s], t, r)) } else (n = {}), Object.keys(e).forEach(function (i) { n[a(i, t, r)] = o(e[i], t, r) }) return n } function a(e, t, r) { var n return ( (r && (null === (n = r.exclude) || void 0 === n ? void 0 : n.includes(e))) || ("firstUpperCase" === t ? (e = e.replace(/^./, function (e) { return e.toUpperCase() })) : "firstLowerCase" === t && (e = e.replace(/^./, function (e) { return e.toLowerCase() }))), e ) } Object.defineProperty(r, "__esModule", { value: !0 }), (r.formatObjKey = void 0), (r.formatObjKey = o) }, { "@babel/runtime/helpers/interopRequireDefault": 72, "@babel/runtime/helpers/typeof": 73, "core-js/modules/es.array.for-each": 238, "core-js/modules/es.array.includes": 240, "core-js/modules/es.object.keys": 253, "core-js/modules/es.regexp.exec": 256, "core-js/modules/es.string.includes": 258, "core-js/modules/es.string.replace": 261, "core-js/modules/web.dom-collections.for-each": 291 } ], 58: [ function (e, t, r) { "use strict" function n(e) { for (var t = 0, r = 0; r < e.length; r++) { var n = e.charAt(r) ;/^[\u00-\uff]$/.test(n) ? (t += 1) : (t += 2) } return t } Object.defineProperty(r, "__esModule", { value: !0 }), (r.getStrBytesCount = void 0), (r.getStrBytesCount = n) }, {} ], 59: [ function (e, t, r) { "use strict" e("core-js/modules/es.object.to-string"), e("core-js/modules/es.regexp.to-string"), Object.defineProperty(r, "__esModule", { value: !0 }), (r.isArray = void 0), (r.isArray = function (e) { return "[object Array]" === Object.prototype.toString.call(e) }) }, { "core-js/modules/es.object.to-string": 254, "core-js/modules/es.regexp.to-string": 257 } ], 60: [ function (e, t, r) { "use strict" function n(e) { return "undefined" !== typeof Blob && e instanceof Blob } Object.defineProperty(r, "__esModule", { value: !0 }), (r.isBlob = void 0), (r.isBlob = n) }, {} ], 61: [ function (e, t, r) { ;(function (e) { "use strict" function t(t) { return e.isBuffer(t) } Object.defineProperty(r, "__esModule", { value: !0 }), (r.isBuffer = void 0), (r.isBuffer = t) }).call(this, { isBuffer: e("../../../node_modules/is-buffer/index.js") }) }, { "../../../node_modules/is-buffer/index.js": 307 } ], 62: [ function (e, t, r) { "use strict" Object.defineProperty(r, "__esModule", { value: !0 }), (r.isFile = void 0), (r.isFile = function (e) { return "undefined" !== typeof File && e instanceof File }) }, {} ], 63: [ function (e, t, r) { "use strict" Object.defineProperty(r, "__esModule", { value: !0 }), (r.isFunction = void 0), (r.isFunction = function (e) { return "function" === typeof e }) }, {} ], 64: [ function (e, t, r) { "use strict" Object.defineProperty(r, "__esModule", { value: !0 }), (r.isIP = void 0), (r.isIP = function (e) { var t = /^(25[0-5]|2[0-4]\d|[0-1]?\d?\d)(\.(25[0-5]|2[0-4]\d|[0-1]?\d?\d)){3}$/, r = /^\s*((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(%.+)?\s*$/ return t.test(e) || r.test(e) }) }, {} ], 65: [ function (e, t, r) { "use strict" e("core-js/modules/es.object.to-string"), e("core-js/modules/es.regexp.to-string"), Object.defineProperty(r, "__esModule", { value: !0 }), (r.isObject = void 0), (r.isObject = function (e) { return "[object Object]" === Object.prototype.toString.call(e) }) }, { "core-js/modules/es.object.to-string": 254, "core-js/modules/es.regexp.to-string": 257 } ], 66: [ function (e, t, r) { "use strict" e("core-js/modules/es.array.for-each"), e("core-js/modules/es.object.keys"), e("core-js/modules/web.dom-collections.for-each"), Object.defineProperty(r, "__esModule", { value: !0 }), (r.lowercaseKeyHeader = void 0) var n = e("./isObject") function i(e) { var t = {} return ( n.isObject(e) && Object.keys(e).forEach(function (r) { t[r.toLowerCase()] = e[r] }), t ) } r.lowercaseKeyHeader = i }, { "./isObject": 65, "core-js/modules/es.array.for-each": 238, "core-js/modules/es.object.keys": 253, "core-js/modules/web.dom-collections.for-each": 291 } ], 67: [ function (e, t, r) { "use strict" e("core-js/modules/es.array.concat"), e("core-js/modules/es.array.for-each"), e("core-js/modules/es.array.join"), e("core-js/modules/es.array.map"), e("core-js/modules/es.object.keys"), e("core-js/modules/es.object.to-string"), e("core-js/modules/es.regexp.exec"), e("core-js/modules/es.regexp.to-string"), e("core-js/modules/es.string.replace"), e("core-js/modules/web.dom-collections.for-each"), Object.defineProperty(r, "__esModule", { value: !0 }), (r.obj2xml = void 0) var n = e("./formatObjKey") function i(e) { return Object.prototype.toString .call(e) .replace(/(.*? |])/g, "") .toLowerCase() } function o(e, t) { var r = "" return ( t && t.headers && (r = '\n'), t && t.firstUpperCase && (e = n.formatObjKey(e, "firstUpperCase")), "object" === i(e) ? Object.keys(e).forEach(function (t) { "undefined" !== i(e[t]) && "null" !== i(e[t]) && ("string" === i(e[t]) || "number" === i(e[t]) ? (r += "<".concat(t, ">").concat(e[t], "").concat(t, ">")) : "object" === i(e[t]) ? (r += "<".concat(t, ">").concat(o(e[t]), "").concat(t, ">")) : "array" === i(e[t]) ? (r += e[t] .map(function (e) { return "<".concat(t, ">").concat(o(e), "").concat(t, ">") }) .join("")) : (r += "<".concat(t, ">").concat(e[t].toString(), "").concat(t, ">"))) }) : (r += e.toString()), r ) } r.obj2xml = o }, { "./formatObjKey": 57, "core-js/modules/es.array.concat": 234, "core-js/modules/es.array.for-each": 238, "core-js/modules/es.array.join": 243, "core-js/modules/es.array.map": 245, "core-js/modules/es.object.keys": 253, "core-js/modules/es.object.to-string": 254, "core-js/modules/es.regexp.exec": 256, "core-js/modules/es.regexp.to-string": 257, "core-js/modules/es.string.replace": 261, "core-js/modules/web.dom-collections.for-each": 291 } ], 68: [ function (e, t, r) { "use strict" function n(e, t) { var r = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : {}, n = 0, i = r.retryDelay, o = void 0 === i ? 500 : i, a = r.errorHandler, s = void 0 === a ? function () { return !0 } : a, l = function r() { for (var i = arguments.length, a = new Array(i), l = 0; l < i; l++) a[l] = arguments[l] return new Promise(function (i, l) { e.apply(void 0, a) .then(function (e) { ;(n = 0), i(e) }) .catch(function (e) { n < t && s(e) ? (n++, setTimeout(function () { i(r.apply(void 0, a)) }, o)) : ((n = 0), l(e)) }) }) } return l } e("core-js/modules/es.object.to-string"), e("core-js/modules/es.promise"), Object.defineProperty(r, "__esModule", { value: !0 }), (r.retry = void 0), (r.retry = n) }, { "core-js/modules/es.object.to-string": 254, "core-js/modules/es.promise": 255 } ], 69: [ function (e, t, r) { "use strict" var n = function (e) { return e && e.__esModule ? e : { default: e } } Object.defineProperty(r, "__esModule", { value: !0 }), (r.setRegion = void 0) var i = n(e("url")), o = e("./checkConfigValid") function a(e) { var t = arguments.length > 1 && void 0 !== arguments[1] && arguments[1], r = arguments.length > 2 && void 0 !== arguments[2] && arguments[2] o.checkConfigValid(e, "region") var n = r ? "https://" : "http://", a = t ? "-internal.aliyuncs.com" : ".aliyuncs.com", s = "vpc100-oss-cn-" return e.substr(0, s.length) === s && (a = ".aliyuncs.com"), i.default.parse(n + e + a) } r.setRegion = a }, { "./checkConfigValid": 49, url: 393 } ], 70: [ function (e, t, r) { "use strict" var n = e("@babel/runtime/helpers/interopRequireDefault") e("core-js/modules/es.array.find"), e("core-js/modules/es.array.for-each"), e("core-js/modules/es.object.assign"), e("core-js/modules/es.object.keys") var i = n(e("@babel/runtime/regenerator")) e("regenerator-runtime/runtime") var o = n(e("@babel/runtime/helpers/asyncToGenerator")) Object.defineProperty(r, "__esModule", { value: !0 }), (r.setSTSToken = void 0) var a = e("./formatObjKey") function s() { return l.apply(this, arguments) } function l() { return ( (l = (0, o.default)( i.default.mark(function e() { var t, r return i.default.wrap( function (e) { while (1) switch ((e.prev = e.next)) { case 0: if ((this.options || (this.options = {}), (t = new Date()), !this.stsTokenFreshTime)) { e.next = 14 break } if (!(+t - this.stsTokenFreshTime >= this.options.refreshSTSTokenInterval)) { e.next = 12 break } return (this.stsTokenFreshTime = t), (e.next = 7), this.options.refreshSTSToken() case 7: ;(r = e.sent), (r = a.formatObjKey(r, "firstLowerCase")), r.securityToken && (r.stsToken = r.securityToken), c(r), Object.assign(this.options, r) case 12: e.next = 15 break case 14: this.stsTokenFreshTime = t case 15: return e.abrupt("return", null) case 16: case "end": return e.stop() } }, e, this ) }) )), l.apply(this, arguments) ) } function c(e) { var t = ["accessKeySecret", "accessKeyId", "stsToken"], r = Object.keys(e) t.forEach(function (e) { if ( !r.find(function (t) { return t === e }) ) throw Error("refreshSTSToken must return contains ".concat(e)) }) } r.setSTSToken = s }, { "./formatObjKey": 57, "@babel/runtime/helpers/asyncToGenerator": 71, "@babel/runtime/helpers/interopRequireDefault": 72, "@babel/runtime/regenerator": 75, "core-js/modules/es.array.find": 237, "core-js/modules/es.array.for-each": 238, "core-js/modules/es.object.assign": 251, "core-js/modules/es.object.keys": 253, "regenerator-runtime/runtime": 336 } ], 71: [ function (e, t, r) { function n(e, t, r, n, i, o, a) { try { var s = e[o](a), l = s.value } catch (c) { return void r(c) } s.done ? t(l) : Promise.resolve(l).then(n, i) } function i(e) { return function () { var t = this, r = arguments return new Promise(function (i, o) { var a = e.apply(t, r) function s(e) { n(a, i, o, s, l, "next", e) } function l(e) { n(a, i, o, s, l, "throw", e) } s(void 0) }) } } t.exports = i }, {} ], 72: [ function (e, t, r) { function n(e) { return e && e.__esModule ? e : { default: e } } t.exports = n }, {} ], 73: [ function (e, t, r) { function n(e) { return ( "function" === typeof Symbol && "symbol" === typeof Symbol.iterator ? (t.exports = n = function (e) { return typeof e }) : (t.exports = n = function (e) { return e && "function" === typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e }), n(e) ) } t.exports = n }, {} ], 74: [ function (e, t, r) { var n = (function (e) { "use strict" var t, r = Object.prototype, n = r.hasOwnProperty, i = "function" === typeof Symbol ? Symbol : {}, o = i.iterator || "@@iterator", a = i.asyncIterator || "@@asyncIterator", s = i.toStringTag || "@@toStringTag" function l(e, t, r) { return ( Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }), e[t] ) } try { l({}, "") } catch (j) { l = function (e, t, r) { return (e[t] = r) } } function c(e, t, r, n) { var i = t && t.prototype instanceof g ? t : g, o = Object.create(i.prototype), a = new L(n || []) return (o._invoke = E(e, r, a)), o } function u(e, t, r) { try { return { type: "normal", arg: e.call(t, r) } } catch (j) { return { type: "throw", arg: j } } } e.wrap = c var f = "suspendedStart", p = "suspendedYield", d = "executing", h = "completed", m = {} function g() {} function y() {} function v() {} var b = {} b[o] = function () { return this } var w = Object.getPrototypeOf, x = w && w(w(P([]))) x && x !== r && n.call(x, o) && (b = x) var A = (v.prototype = g.prototype = Object.create(b)) function _(e) { ;["next", "throw", "return"].forEach(function (t) { l(e, t, function (e) { return this._invoke(t, e) }) }) } function T(e, t) { function r(i, o, a, s) { var l = u(e[i], e, o) if ("throw" !== l.type) { var c = l.arg, f = c.value return f && "object" === typeof f && n.call(f, "__await") ? t.resolve(f.__await).then( function (e) { r("next", e, a, s) }, function (e) { r("throw", e, a, s) } ) : t.resolve(f).then( function (e) { ;(c.value = e), a(c) }, function (e) { return r("throw", e, a, s) } ) } s(l.arg) } var i function o(e, n) { function o() { return new t(function (t, i) { r(e, n, t, i) }) } return (i = i ? i.then(o, o) : o()) } this._invoke = o } function E(e, t, r) { var n = f return function (i, o) { if (n === d) throw new Error("Generator is already running") if (n === h) { if ("throw" === i) throw o return O() } ;(r.method = i), (r.arg = o) while (1) { var a = r.delegate if (a) { var s = S(a, r) if (s) { if (s === m) continue return s } } if ("next" === r.method) r.sent = r._sent = r.arg else if ("throw" === r.method) { if (n === f) throw ((n = h), r.arg) r.dispatchException(r.arg) } else "return" === r.method && r.abrupt("return", r.arg) n = d var l = u(e, t, r) if ("normal" === l.type) { if (((n = r.done ? h : p), l.arg === m)) continue return { value: l.arg, done: r.done } } "throw" === l.type && ((n = h), (r.method = "throw"), (r.arg = l.arg)) } } } function S(e, r) { var n = e.iterator[r.method] if (n === t) { if (((r.delegate = null), "throw" === r.method)) { if (e.iterator["return"] && ((r.method = "return"), (r.arg = t), S(e, r), "throw" === r.method)) return m ;(r.method = "throw"), (r.arg = new TypeError("The iterator does not provide a 'throw' method")) } return m } var i = u(n, e.iterator, r.arg) if ("throw" === i.type) return (r.method = "throw"), (r.arg = i.arg), (r.delegate = null), m var o = i.arg return o ? o.done ? ((r[e.resultName] = o.value), (r.next = e.nextLoc), "return" !== r.method && ((r.method = "next"), (r.arg = t)), (r.delegate = null), m) : o : ((r.method = "throw"), (r.arg = new TypeError("iterator result is not an object")), (r.delegate = null), m) } function C(e) { var t = { tryLoc: e[0] } 1 in e && (t.catchLoc = e[1]), 2 in e && ((t.finallyLoc = e[2]), (t.afterLoc = e[3])), this.tryEntries.push(t) } function k(e) { var t = e.completion || {} ;(t.type = "normal"), delete t.arg, (e.completion = t) } function L(e) { ;(this.tryEntries = [ { tryLoc: "root" } ]), e.forEach(C, this), this.reset(!0) } function P(e) { if (e) { var r = e[o] if (r) return r.call(e) if ("function" === typeof e.next) return e if (!isNaN(e.length)) { var i = -1, a = function r() { while (++i < e.length) if (n.call(e, i)) return (r.value = e[i]), (r.done = !1), r return (r.value = t), (r.done = !0), r } return (a.next = a) } } return { next: O } } function O() { return { value: t, done: !0 } } return ( (y.prototype = A.constructor = v), (v.constructor = y), (y.displayName = l(v, s, "GeneratorFunction")), (e.isGeneratorFunction = function (e) { var t = "function" === typeof e && e.constructor return !!t && (t === y || "GeneratorFunction" === (t.displayName || t.name)) }), (e.mark = function (e) { return ( Object.setPrototypeOf ? Object.setPrototypeOf(e, v) : ((e.__proto__ = v), l(e, s, "GeneratorFunction")), (e.prototype = Object.create(A)), e ) }), (e.awrap = function (e) { return { __await: e } }), _(T.prototype), (T.prototype[a] = function () { return this }), (e.AsyncIterator = T), (e.async = function (t, r, n, i, o) { void 0 === o && (o = Promise) var a = new T(c(t, r, n, i), o) return e.isGeneratorFunction(r) ? a : a.next().then(function (e) { return e.done ? e.value : a.next() }) }), _(A), l(A, s, "Generator"), (A[o] = function () { return this }), (A.toString = function () { return "[object Generator]" }), (e.keys = function (e) { var t = [] for (var r in e) t.push(r) return ( t.reverse(), function r() { while (t.length) { var n = t.pop() if (n in e) return (r.value = n), (r.done = !1), r } return (r.done = !0), r } ) }), (e.values = P), (L.prototype = { constructor: L, reset: function (e) { if ( ((this.prev = 0), (this.next = 0), (this.sent = this._sent = t), (this.done = !1), (this.delegate = null), (this.method = "next"), (this.arg = t), this.tryEntries.forEach(k), !e) ) for (var r in this) "t" === r.charAt(0) && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = t) }, stop: function () { this.done = !0 var e = this.tryEntries[0], t = e.completion if ("throw" === t.type) throw t.arg return this.rval }, dispatchException: function (e) { if (this.done) throw e var r = this function i(n, i) { return (s.type = "throw"), (s.arg = e), (r.next = n), i && ((r.method = "next"), (r.arg = t)), !!i } for (var o = this.tryEntries.length - 1; o >= 0; --o) { var a = this.tryEntries[o], s = a.completion if ("root" === a.tryLoc) return i("end") if (a.tryLoc <= this.prev) { var l = n.call(a, "catchLoc"), c = n.call(a, "finallyLoc") if (l && c) { if (this.prev < a.catchLoc) return i(a.catchLoc, !0) if (this.prev < a.finallyLoc) return i(a.finallyLoc) } else if (l) { if (this.prev < a.catchLoc) return i(a.catchLoc, !0) } else { if (!c) throw new Error("try statement without catch or finally") if (this.prev < a.finallyLoc) return i(a.finallyLoc) } } } }, abrupt: function (e, t) { for (var r = this.tryEntries.length - 1; r >= 0; --r) { var i = this.tryEntries[r] if (i.tryLoc <= this.prev && n.call(i, "finallyLoc") && this.prev < i.finallyLoc) { var o = i break } } o && ("break" === e || "continue" === e) && o.tryLoc <= t && t <= o.finallyLoc && (o = null) var a = o ? o.completion : {} return (a.type = e), (a.arg = t), o ? ((this.method = "next"), (this.next = o.finallyLoc), m) : this.complete(a) }, complete: function (e, t) { if ("throw" === e.type) throw e.arg return ( "break" === e.type || "continue" === e.type ? (this.next = e.arg) : "return" === e.type ? ((this.rval = this.arg = e.arg), (this.method = "return"), (this.next = "end")) : "normal" === e.type && t && (this.next = t), m ) }, finish: function (e) { for (var t = this.tryEntries.length - 1; t >= 0; --t) { var r = this.tryEntries[t] if (r.finallyLoc === e) return this.complete(r.completion, r.afterLoc), k(r), m } }, catch: function (e) { for (var t = this.tryEntries.length - 1; t >= 0; --t) { var r = this.tryEntries[t] if (r.tryLoc === e) { var n = r.completion if ("throw" === n.type) { var i = n.arg k(r) } return i } } throw new Error("illegal catch attempt") }, delegateYield: function (e, r, n) { return ( (this.delegate = { iterator: P(e), resultName: r, nextLoc: n }), "next" === this.method && (this.arg = t), m ) } }), e ) })("object" === typeof t ? t.exports : {}) try { regeneratorRuntime = n } catch (i) { Function("r", "regeneratorRuntime = r")(n) } }, {} ], 75: [ function (e, t, r) { t.exports = e("regenerator-runtime") }, { "regenerator-runtime": 74 } ], 76: [ function (e, t, r) { function n() {} ;(t.exports = n), (t.exports.HttpsAgent = n) }, {} ], 77: [ function (e, t, r) { "use strict" ;(r.byteLength = u), (r.toByteArray = p), (r.fromByteArray = m) for ( var n = [], i = [], o = "undefined" !== typeof Uint8Array ? Uint8Array : Array, a = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", s = 0, l = a.length; s < l; ++s ) (n[s] = a[s]), (i[a.charCodeAt(s)] = s) function c(e) { var t = e.length if (t % 4 > 0) throw new Error("Invalid string. Length must be a multiple of 4") var r = e.indexOf("=") ;-1 === r && (r = t) var n = r === t ? 0 : 4 - (r % 4) return [r, n] } function u(e) { var t = c(e), r = t[0], n = t[1] return (3 * (r + n)) / 4 - n } function f(e, t, r) { return (3 * (t + r)) / 4 - r } function p(e) { var t, r, n = c(e), a = n[0], s = n[1], l = new o(f(e, a, s)), u = 0, p = s > 0 ? a - 4 : a for (r = 0; r < p; r += 4) (t = (i[e.charCodeAt(r)] << 18) | (i[e.charCodeAt(r + 1)] << 12) | (i[e.charCodeAt(r + 2)] << 6) | i[e.charCodeAt(r + 3)]), (l[u++] = (t >> 16) & 255), (l[u++] = (t >> 8) & 255), (l[u++] = 255 & t) return ( 2 === s && ((t = (i[e.charCodeAt(r)] << 2) | (i[e.charCodeAt(r + 1)] >> 4)), (l[u++] = 255 & t)), 1 === s && ((t = (i[e.charCodeAt(r)] << 10) | (i[e.charCodeAt(r + 1)] << 4) | (i[e.charCodeAt(r + 2)] >> 2)), (l[u++] = (t >> 8) & 255), (l[u++] = 255 & t)), l ) } function d(e) { return n[(e >> 18) & 63] + n[(e >> 12) & 63] + n[(e >> 6) & 63] + n[63 & e] } function h(e, t, r) { for (var n, i = [], o = t; o < r; o += 3) (n = ((e[o] << 16) & 16711680) + ((e[o + 1] << 8) & 65280) + (255 & e[o + 2])), i.push(d(n)) return i.join("") } function m(e) { for (var t, r = e.length, i = r % 3, o = [], a = 16383, s = 0, l = r - i; s < l; s += a) o.push(h(e, s, s + a > l ? l : s + a)) return ( 1 === i ? ((t = e[r - 1]), o.push(n[t >> 2] + n[(t << 4) & 63] + "==")) : 2 === i && ((t = (e[r - 2] << 8) + e[r - 1]), o.push(n[t >> 10] + n[(t >> 4) & 63] + n[(t << 2) & 63] + "=")), o.join("") ) } ;(i["-".charCodeAt(0)] = 62), (i["_".charCodeAt(0)] = 63) }, {} ], 78: [ function (e, t, r) { /*! * Bowser - a browser detector * https://github.com/ded/bowser * MIT License | (c) Dustin Diaz 2015 */ !(function (e, r, n) { "undefined" != typeof t && t.exports ? (t.exports = n()) : "function" == typeof define && define.amd ? define(r, n) : (e[r] = n()) })(this, "bowser", function () { var e = !0 function t(t) { function r(e) { var r = t.match(e) return (r && r.length > 1 && r[1]) || "" } function n(e) { var r = t.match(e) return (r && r.length > 1 && r[2]) || "" } var i, a = r(/(ipod|iphone|ipad)/i).toLowerCase(), s = /like android/i.test(t), l = !s && /android/i.test(t), c = /nexus\s*[0-6]\s*/i.test(t), u = !c && /nexus\s*[0-9]+/i.test(t), f = /CrOS/.test(t), p = /silk/i.test(t), d = /sailfish/i.test(t), h = /tizen/i.test(t), m = /(web|hpw)(o|0)s/i.test(t), g = /windows phone/i.test(t), y = (/SamsungBrowser/i.test(t), !g && /windows/i.test(t)), v = !a && !p && /macintosh/i.test(t), b = !l && !d && !h && !m && /linux/i.test(t), w = n(/edg([ea]|ios)\/(\d+(\.\d+)?)/i), x = r(/version\/(\d+(\.\d+)?)/i), A = /tablet/i.test(t) && !/tablet pc/i.test(t), _ = !A && /[^-]mobi/i.test(t), T = /xbox/i.test(t) function E(e) { switch (e) { case "NT": return "NT" case "XP": return "XP" case "NT 5.0": return "2000" case "NT 5.1": return "XP" case "NT 5.2": return "2003" case "NT 6.0": return "Vista" case "NT 6.1": return "7" case "NT 6.2": return "8" case "NT 6.3": return "8.1" case "NT 10.0": return "10" default: return } } ;/opera/i.test(t) ? (i = { name: "Opera", opera: e, version: x || r(/(?:opera|opr|opios)[\s\/](\d+(\.\d+)?)/i) }) : /opr\/|opios/i.test(t) ? (i = { name: "Opera", opera: e, version: r(/(?:opr|opios)[\s\/](\d+(\.\d+)?)/i) || x }) : /SamsungBrowser/i.test(t) ? (i = { name: "Samsung Internet for Android", samsungBrowser: e, version: x || r(/(?:SamsungBrowser)[\s\/](\d+(\.\d+)?)/i) }) : /Whale/i.test(t) ? (i = { name: "NAVER Whale browser", whale: e, version: r(/(?:whale)[\s\/](\d+(?:\.\d+)+)/i) }) : /MZBrowser/i.test(t) ? (i = { name: "MZ Browser", mzbrowser: e, version: r(/(?:MZBrowser)[\s\/](\d+(?:\.\d+)+)/i) }) : /coast/i.test(t) ? (i = { name: "Opera Coast", coast: e, version: x || r(/(?:coast)[\s\/](\d+(\.\d+)?)/i) }) : /focus/i.test(t) ? (i = { name: "Focus", focus: e, version: r(/(?:focus)[\s\/](\d+(?:\.\d+)+)/i) }) : /yabrowser/i.test(t) ? (i = { name: "Yandex Browser", yandexbrowser: e, version: x || r(/(?:yabrowser)[\s\/](\d+(\.\d+)?)/i) }) : /ucbrowser/i.test(t) ? (i = { name: "UC Browser", ucbrowser: e, version: r(/(?:ucbrowser)[\s\/](\d+(?:\.\d+)+)/i) }) : /mxios/i.test(t) ? (i = { name: "Maxthon", maxthon: e, version: r(/(?:mxios)[\s\/](\d+(?:\.\d+)+)/i) }) : /epiphany/i.test(t) ? (i = { name: "Epiphany", epiphany: e, version: r(/(?:epiphany)[\s\/](\d+(?:\.\d+)+)/i) }) : /puffin/i.test(t) ? (i = { name: "Puffin", puffin: e, version: r(/(?:puffin)[\s\/](\d+(?:\.\d+)?)/i) }) : /sleipnir/i.test(t) ? (i = { name: "Sleipnir", sleipnir: e, version: r(/(?:sleipnir)[\s\/](\d+(?:\.\d+)+)/i) }) : /k-meleon/i.test(t) ? (i = { name: "K-Meleon", kMeleon: e, version: r(/(?:k-meleon)[\s\/](\d+(?:\.\d+)+)/i) }) : g ? ((i = { name: "Windows Phone", osname: "Windows Phone", windowsphone: e }), w ? ((i.msedge = e), (i.version = w)) : ((i.msie = e), (i.version = r(/iemobile\/(\d+(\.\d+)?)/i)))) : /msie|trident/i.test(t) ? (i = { name: "Internet Explorer", msie: e, version: r(/(?:msie |rv:)(\d+(\.\d+)?)/i) }) : f ? (i = { name: "Chrome", osname: "Chrome OS", chromeos: e, chromeBook: e, chrome: e, version: r(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i) }) : /edg([ea]|ios)/i.test(t) ? (i = { name: "Microsoft Edge", msedge: e, version: w }) : /vivaldi/i.test(t) ? (i = { name: "Vivaldi", vivaldi: e, version: r(/vivaldi\/(\d+(\.\d+)?)/i) || x }) : d ? (i = { name: "Sailfish", osname: "Sailfish OS", sailfish: e, version: r(/sailfish\s?browser\/(\d+(\.\d+)?)/i) }) : /seamonkey\//i.test(t) ? (i = { name: "SeaMonkey", seamonkey: e, version: r(/seamonkey\/(\d+(\.\d+)?)/i) }) : /firefox|iceweasel|fxios/i.test(t) ? ((i = { name: "Firefox", firefox: e, version: r(/(?:firefox|iceweasel|fxios)[ \/](\d+(\.\d+)?)/i) }), /\((mobile|tablet);[^\)]*rv:[\d\.]+\)/i.test(t) && ((i.firefoxos = e), (i.osname = "Firefox OS"))) : p ? (i = { name: "Amazon Silk", silk: e, version: r(/silk\/(\d+(\.\d+)?)/i) }) : /phantom/i.test(t) ? (i = { name: "PhantomJS", phantom: e, version: r(/phantomjs\/(\d+(\.\d+)?)/i) }) : /slimerjs/i.test(t) ? (i = { name: "SlimerJS", slimer: e, version: r(/slimerjs\/(\d+(\.\d+)?)/i) }) : /blackberry|\bbb\d+/i.test(t) || /rim\stablet/i.test(t) ? (i = { name: "BlackBerry", osname: "BlackBerry OS", blackberry: e, version: x || r(/blackberry[\d]+\/(\d+(\.\d+)?)/i) }) : m ? ((i = { name: "WebOS", osname: "WebOS", webos: e, version: x || r(/w(?:eb)?osbrowser\/(\d+(\.\d+)?)/i) }), /touchpad\//i.test(t) && (i.touchpad = e)) : /bada/i.test(t) ? (i = { name: "Bada", osname: "Bada", bada: e, version: r(/dolfin\/(\d+(\.\d+)?)/i) }) : h ? (i = { name: "Tizen", osname: "Tizen", tizen: e, version: r(/(?:tizen\s?)?browser\/(\d+(\.\d+)?)/i) || x }) : /qupzilla/i.test(t) ? (i = { name: "QupZilla", qupzilla: e, version: r(/(?:qupzilla)[\s\/](\d+(?:\.\d+)+)/i) || x }) : /chromium/i.test(t) ? (i = { name: "Chromium", chromium: e, version: r(/(?:chromium)[\s\/](\d+(?:\.\d+)?)/i) || x }) : /chrome|crios|crmo/i.test(t) ? (i = { name: "Chrome", chrome: e, version: r(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i) }) : l ? (i = { name: "Android", version: x }) : /safari|applewebkit/i.test(t) ? ((i = { name: "Safari", safari: e }), x && (i.version = x)) : a ? ((i = { name: "iphone" == a ? "iPhone" : "ipad" == a ? "iPad" : "iPod" }), x && (i.version = x)) : (i = /googlebot/i.test(t) ? { name: "Googlebot", googlebot: e, version: r(/googlebot\/(\d+(\.\d+))/i) || x } : { name: r(/^(.*)\/(.*) /), version: n(/^(.*)\/(.*) /) }), !i.msedge && /(apple)?webkit/i.test(t) ? (/(apple)?webkit\/537\.36/i.test(t) ? ((i.name = i.name || "Blink"), (i.blink = e)) : ((i.name = i.name || "Webkit"), (i.webkit = e)), !i.version && x && (i.version = x)) : !i.opera && /gecko\//i.test(t) && ((i.name = i.name || "Gecko"), (i.gecko = e), (i.version = i.version || r(/gecko\/(\d+(\.\d+)?)/i))), i.windowsphone || (!l && !i.silk) ? !i.windowsphone && a ? ((i[a] = e), (i.ios = e), (i.osname = "iOS")) : v ? ((i.mac = e), (i.osname = "macOS")) : T ? ((i.xbox = e), (i.osname = "Xbox")) : y ? ((i.windows = e), (i.osname = "Windows")) : b && ((i.linux = e), (i.osname = "Linux")) : ((i.android = e), (i.osname = "Android")) var S = "" i.windows ? (S = E(r(/Windows ((NT|XP)( \d\d?.\d)?)/i))) : i.windowsphone ? (S = r(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i)) : i.mac ? ((S = r(/Mac OS X (\d+([_\.\s]\d+)*)/i)), (S = S.replace(/[_\s]/g, "."))) : a ? ((S = r(/os (\d+([_\s]\d+)*) like mac os x/i)), (S = S.replace(/[_\s]/g, "."))) : l ? (S = r(/android[ \/-](\d+(\.\d+)*)/i)) : i.webos ? (S = r(/(?:web|hpw)os\/(\d+(\.\d+)*)/i)) : i.blackberry ? (S = r(/rim\stablet\sos\s(\d+(\.\d+)*)/i)) : i.bada ? (S = r(/bada\/(\d+(\.\d+)*)/i)) : i.tizen && (S = r(/tizen[\/\s](\d+(\.\d+)*)/i)), S && (i.osversion = S) var C = !i.windows && S.split(".")[0] return ( A || u || "ipad" == a || (l && (3 == C || (C >= 4 && !_))) || i.silk ? (i.tablet = e) : (_ || "iphone" == a || "ipod" == a || l || c || i.blackberry || i.webos || i.bada) && (i.mobile = e), i.msedge || (i.msie && i.version >= 10) || (i.yandexbrowser && i.version >= 15) || (i.vivaldi && i.version >= 1) || (i.chrome && i.version >= 20) || (i.samsungBrowser && i.version >= 4) || (i.whale && 1 === o([i.version, "1.0"])) || (i.mzbrowser && 1 === o([i.version, "6.0"])) || (i.focus && 1 === o([i.version, "1.0"])) || (i.firefox && i.version >= 20) || (i.safari && i.version >= 6) || (i.opera && i.version >= 10) || (i.ios && i.osversion && i.osversion.split(".")[0] >= 6) || (i.blackberry && i.version >= 10.1) || (i.chromium && i.version >= 20) ? (i.a = e) : (i.msie && i.version < 10) || (i.chrome && i.version < 20) || (i.firefox && i.version < 20) || (i.safari && i.version < 6) || (i.opera && i.version < 10) || (i.ios && i.osversion && i.osversion.split(".")[0] < 6) || (i.chromium && i.version < 20) ? (i.c = e) : (i.x = e), i ) } var r = t(("undefined" !== typeof navigator && navigator.userAgent) || "") function n(e) { return e.split(".").length } function i(e, t) { var r, n = [] if (Array.prototype.map) return Array.prototype.map.call(e, t) for (r = 0; r < e.length; r++) n.push(t(e[r])) return n } function o(e) { var t = Math.max(n(e[0]), n(e[1])), r = i(e, function (e) { var r = t - n(e) return ( (e += new Array(r + 1).join(".0")), i(e.split("."), function (e) { return new Array(20 - e.length).join("0") + e }).reverse() ) }) while (--t >= 0) { if (r[0][t] > r[1][t]) return 1 if (r[0][t] !== r[1][t]) return -1 if (0 === t) return 0 } } function a(e, n, i) { var a = r "string" === typeof n && ((i = n), (n = void 0)), void 0 === n && (n = !1), i && (a = t(i)) var s = "" + a.version for (var l in e) if (e.hasOwnProperty(l) && a[l]) { if ("string" !== typeof e[l]) throw new Error("Browser version in the minVersion map should be a string: " + l + ": " + String(e)) return o([s, e[l]]) < 0 } return n } function s(e, t, r) { return !a(e, t, r) } return ( (r.test = function (e) { for (var t = 0; t < e.length; ++t) { var n = e[t] if ("string" === typeof n && n in r) return !0 } return !1 }), (r.isUnsupportedBrowser = a), (r.compareVersions = o), (r.check = s), (r._detect = t), (r.detect = t), r ) }) }, {} ], 79: [function (e, t, r) {}, {}], 80: [ function (e, t, r) { ;(function (t) { var n = e("./lib/request"), i = e("./lib/response"), o = e("xtend"), a = e("builtin-status-codes"), s = e("url"), l = r ;(l.request = function (e, r) { e = "string" === typeof e ? s.parse(e) : o(e) var i = -1 === t.location.protocol.search(/^https?:$/) ? "http:" : "", a = e.protocol || i, l = e.hostname || e.host, c = e.port, u = e.path || "/" l && -1 !== l.indexOf(":") && (l = "[" + l + "]"), (e.url = (l ? a + "//" + l : "") + (c ? ":" + c : "") + u), (e.method = (e.method || "GET").toUpperCase()), (e.headers = e.headers || {}) var f = new n(e) return r && f.on("response", r), f }), (l.get = function (e, t) { var r = l.request(e, t) return r.end(), r }), (l.ClientRequest = n), (l.IncomingMessage = i.IncomingMessage), (l.Agent = function () {}), (l.Agent.defaultMaxSockets = 4), (l.globalAgent = new l.Agent()), (l.STATUS_CODES = a), (l.METHODS = [ "CHECKOUT", "CONNECT", "COPY", "DELETE", "GET", "HEAD", "LOCK", "M-SEARCH", "MERGE", "MKACTIVITY", "MKCOL", "MOVE", "NOTIFY", "OPTIONS", "PATCH", "POST", "PROPFIND", "PROPPATCH", "PURGE", "PUT", "REPORT", "SEARCH", "SUBSCRIBE", "TRACE", "UNLOCK", "UNSUBSCRIBE" ]) }).call( this, "undefined" !== typeof global ? global : "undefined" !== typeof self ? self : "undefined" !== typeof window ? window : {} ) }, { "./lib/request": 82, "./lib/response": 83, "builtin-status-codes": 100, url: 393, xtend: 385 } ], 81: [ function (e, t, r) { ;(function (e) { var t function n() { if (void 0 !== t) return t if (e.XMLHttpRequest) { t = new e.XMLHttpRequest() try { t.open("GET", e.XDomainRequest ? "/" : "https://example.com") } catch (r) { t = null } } else t = null return t } function i(e) { var t = n() if (!t) return !1 try { return (t.responseType = e), t.responseType === e } catch (r) {} return !1 } function o(e) { return "function" === typeof e } ;(r.fetch = o(e.fetch) && o(e.ReadableStream)), (r.writableStream = o(e.WritableStream)), (r.abortController = o(e.AbortController)), (r.arraybuffer = r.fetch || i("arraybuffer")), (r.msstream = !r.fetch && i("ms-stream")), (r.mozchunkedarraybuffer = !r.fetch && i("moz-chunked-arraybuffer")), (r.overrideMimeType = r.fetch || (!!n() && o(n().overrideMimeType))), (t = null) }).call( this, "undefined" !== typeof global ? global : "undefined" !== typeof self ? self : "undefined" !== typeof window ? window : {} ) }, {} ], 82: [ function (e, t, r) { ;(function (r, n, i) { var o = e("./capability"), a = e("inherits"), s = e("./response"), l = e("readable-stream"), c = s.IncomingMessage, u = s.readyStates function f(e, t) { return o.fetch && t ? "fetch" : o.mozchunkedarraybuffer ? "moz-chunked-arraybuffer" : o.msstream ? "ms-stream" : o.arraybuffer && e ? "arraybuffer" : "text" } var p = (t.exports = function (e) { var t, r = this l.Writable.call(r), (r._opts = e), (r._body = []), (r._headers = {}), e.auth && r.setHeader("Authorization", "Basic " + i.from(e.auth).toString("base64")), Object.keys(e.headers).forEach(function (t) { r.setHeader(t, e.headers[t]) }) var n = !0 if ("disable-fetch" === e.mode || ("requestTimeout" in e && !o.abortController)) (n = !1), (t = !0) else if ("prefer-streaming" === e.mode) t = !1 else if ("allow-wrong-content-type" === e.mode) t = !o.overrideMimeType else { if (e.mode && "default" !== e.mode && "prefer-fast" !== e.mode) throw new Error("Invalid value for opts.mode") t = !0 } ;(r._mode = f(t, n)), (r._fetchTimer = null), r.on("finish", function () { r._onFinish() }) }) function d(e) { try { var t = e.status return null !== t && 0 !== t } catch (r) { return !1 } } a(p, l.Writable), (p.prototype.setHeader = function (e, t) { var r = this, n = e.toLowerCase() ;-1 === h.indexOf(n) && (r._headers[n] = { name: e, value: t }) }), (p.prototype.getHeader = function (e) { var t = this._headers[e.toLowerCase()] return t ? t.value : null }), (p.prototype.removeHeader = function (e) { var t = this delete t._headers[e.toLowerCase()] }), (p.prototype._onFinish = function () { var e = this if (!e._destroyed) { var t = e._opts, i = e._headers, a = null "GET" !== t.method && "HEAD" !== t.method && (a = new Blob(e._body, { type: (i["content-type"] || {}).value || "" })) var s = [] if ( (Object.keys(i).forEach(function (e) { var t = i[e].name, r = i[e].value Array.isArray(r) ? r.forEach(function (e) { s.push([t, e]) }) : s.push([t, r]) }), "fetch" === e._mode) ) { var l = null if (o.abortController) { var c = new AbortController() ;(l = c.signal), (e._fetchAbortController = c), "requestTimeout" in t && 0 !== t.requestTimeout && (e._fetchTimer = n.setTimeout(function () { e.emit("requestTimeout"), e._fetchAbortController && e._fetchAbortController.abort() }, t.requestTimeout)) } n.fetch(e._opts.url, { method: e._opts.method, headers: s, body: a || void 0, mode: "cors", credentials: t.withCredentials ? "include" : "same-origin", signal: l }).then( function (t) { ;(e._fetchResponse = t), e._connect() }, function (t) { n.clearTimeout(e._fetchTimer), e._destroyed || e.emit("error", t) } ) } else { var f = (e._xhr = new n.XMLHttpRequest()) try { f.open(e._opts.method, e._opts.url, !0) } catch (p) { return void r.nextTick(function () { e.emit("error", p) }) } "responseType" in f && (f.responseType = e._mode), "withCredentials" in f && (f.withCredentials = !!t.withCredentials), "text" === e._mode && "overrideMimeType" in f && f.overrideMimeType("text/plain; charset=x-user-defined"), "requestTimeout" in t && ((f.timeout = t.requestTimeout), (f.ontimeout = function () { e.emit("requestTimeout") })), s.forEach(function (e) { f.setRequestHeader(e[0], e[1]) }), (e._response = null), (f.onreadystatechange = function () { switch (f.readyState) { case u.LOADING: case u.DONE: e._onXHRProgress() break } }), "moz-chunked-arraybuffer" === e._mode && (f.onprogress = function () { e._onXHRProgress() }), (f.onerror = function () { e._destroyed || e.emit("error", new Error("XHR error")) }) try { f.send(a) } catch (p) { return void r.nextTick(function () { e.emit("error", p) }) } } } }), (p.prototype._onXHRProgress = function () { var e = this d(e._xhr) && !e._destroyed && (e._response || e._connect(), e._response._onXHRProgress()) }), (p.prototype._connect = function () { var e = this e._destroyed || ((e._response = new c(e._xhr, e._fetchResponse, e._mode, e._fetchTimer)), e._response.on("error", function (t) { e.emit("error", t) }), e.emit("response", e._response)) }), (p.prototype._write = function (e, t, r) { var n = this n._body.push(e), r() }), (p.prototype.abort = p.prototype.destroy = function () { var e = this ;(e._destroyed = !0), n.clearTimeout(e._fetchTimer), e._response && (e._response._destroyed = !0), e._xhr ? e._xhr.abort() : e._fetchAbortController && e._fetchAbortController.abort() }), (p.prototype.end = function (e, t, r) { var n = this "function" === typeof e && ((r = e), (e = void 0)), l.Writable.prototype.end.call(n, e, t, r) }), (p.prototype.flushHeaders = function () {}), (p.prototype.setTimeout = function () {}), (p.prototype.setNoDelay = function () {}), (p.prototype.setSocketKeepAlive = function () {}) var h = [ "accept-charset", "accept-encoding", "access-control-request-headers", "access-control-request-method", "connection", "content-length", "cookie", "cookie2", "date", "dnt", "expect", "host", "keep-alive", "origin", "referer", "te", "trailer", "transfer-encoding", "upgrade", "via" ] }).call( this, e("_process"), "undefined" !== typeof global ? global : "undefined" !== typeof self ? self : "undefined" !== typeof window ? window : {}, e("buffer").Buffer ) }, { "./capability": 81, "./response": 83, _process: 392, buffer: 99, inherits: 306, "readable-stream": 98 } ], 83: [ function (e, t, r) { ;(function (t, n, i) { var o = e("./capability"), a = e("inherits"), s = e("readable-stream"), l = (r.readyStates = { UNSENT: 0, OPENED: 1, HEADERS_RECEIVED: 2, LOADING: 3, DONE: 4 }), c = (r.IncomingMessage = function (e, r, a, l) { var c = this if ( (s.Readable.call(c), (c._mode = a), (c.headers = {}), (c.rawHeaders = []), (c.trailers = {}), (c.rawTrailers = []), c.on("end", function () { t.nextTick(function () { c.emit("close") }) }), "fetch" === a) ) { if ( ((c._fetchResponse = r), (c.url = r.url), (c.statusCode = r.status), (c.statusMessage = r.statusText), r.headers.forEach(function (e, t) { ;(c.headers[t.toLowerCase()] = e), c.rawHeaders.push(t, e) }), o.writableStream) ) { var u = new WritableStream({ write: function (e) { return new Promise(function (t, r) { c._destroyed ? r() : c.push(i.from(e)) ? t() : (c._resumeFetch = t) }) }, close: function () { n.clearTimeout(l), c._destroyed || c.push(null) }, abort: function (e) { c._destroyed || c.emit("error", e) } }) try { return void r.body.pipeTo(u).catch(function (e) { n.clearTimeout(l), c._destroyed || c.emit("error", e) }) } catch (g) {} } var f = r.body.getReader() function p() { f.read() .then(function (e) { if (!c._destroyed) { if (e.done) return n.clearTimeout(l), void c.push(null) c.push(i.from(e.value)), p() } }) .catch(function (e) { n.clearTimeout(l), c._destroyed || c.emit("error", e) }) } p() } else { ;(c._xhr = e), (c._pos = 0), (c.url = e.responseURL), (c.statusCode = e.status), (c.statusMessage = e.statusText) var d = e.getAllResponseHeaders().split(/\r?\n/) if ( (d.forEach(function (e) { var t = e.match(/^([^:]+):\s*(.*)/) if (t) { var r = t[1].toLowerCase() "set-cookie" === r ? (void 0 === c.headers[r] && (c.headers[r] = []), c.headers[r].push(t[2])) : void 0 !== c.headers[r] ? (c.headers[r] += ", " + t[2]) : (c.headers[r] = t[2]), c.rawHeaders.push(t[1], t[2]) } }), (c._charset = "x-user-defined"), !o.overrideMimeType) ) { var h = c.rawHeaders["mime-type"] if (h) { var m = h.match(/;\s*charset=([^;])(;|$)/) m && (c._charset = m[1].toLowerCase()) } c._charset || (c._charset = "utf-8") } } }) a(c, s.Readable), (c.prototype._read = function () { var e = this, t = e._resumeFetch t && ((e._resumeFetch = null), t()) }), (c.prototype._onXHRProgress = function () { var e = this, t = e._xhr, r = null switch (e._mode) { case "text": if (((r = t.responseText), r.length > e._pos)) { var o = r.substr(e._pos) if ("x-user-defined" === e._charset) { for (var a = i.alloc(o.length), s = 0; s < o.length; s++) a[s] = 255 & o.charCodeAt(s) e.push(a) } else e.push(o, e._charset) e._pos = r.length } break case "arraybuffer": if (t.readyState !== l.DONE || !t.response) break ;(r = t.response), e.push(i.from(new Uint8Array(r))) break case "moz-chunked-arraybuffer": if (((r = t.response), t.readyState !== l.LOADING || !r)) break e.push(i.from(new Uint8Array(r))) break case "ms-stream": if (((r = t.response), t.readyState !== l.LOADING)) break var c = new n.MSStreamReader() ;(c.onprogress = function () { c.result.byteLength > e._pos && (e.push(i.from(new Uint8Array(c.result.slice(e._pos)))), (e._pos = c.result.byteLength)) }), (c.onload = function () { e.push(null) }), c.readAsArrayBuffer(r) break } e._xhr.readyState === l.DONE && "ms-stream" !== e._mode && e.push(null) }) }).call( this, e("_process"), "undefined" !== typeof global ? global : "undefined" !== typeof self ? self : "undefined" !== typeof window ? window : {}, e("buffer").Buffer ) }, { "./capability": 81, _process: 392, buffer: 99, inherits: 306, "readable-stream": 98 } ], 84: [ function (e, t, r) { "use strict" function n(e, t) { ;(e.prototype = Object.create(t.prototype)), (e.prototype.constructor = e), (e.__proto__ = t) } var i = {} function o(e, t, r) { function o(e, r, n) { return "string" === typeof t ? t : t(e, r, n) } r || (r = Error) var a = (function (e) { function t(t, r, n) { return e.call(this, o(t, r, n)) || this } return n(t, e), t })(r) ;(a.prototype.name = r.name), (a.prototype.code = e), (i[e] = a) } function a(e, t) { if (Array.isArray(e)) { var r = e.length return ( (e = e.map(function (e) { return String(e) })), r > 2 ? "one of ".concat(t, " ").concat(e.slice(0, r - 1).join(", "), ", or ") + e[r - 1] : 2 === r ? "one of ".concat(t, " ").concat(e[0], " or ").concat(e[1]) : "of ".concat(t, " ").concat(e[0]) ) } return "of ".concat(t, " ").concat(String(e)) } function s(e, t, r) { return e.substr(!r || r < 0 ? 0 : +r, t.length) === t } function l(e, t, r) { return (void 0 === r || r > e.length) && (r = e.length), e.substring(r - t.length, r) === t } function c(e, t, r) { return "number" !== typeof r && (r = 0), !(r + t.length > e.length) && -1 !== e.indexOf(t, r) } o( "ERR_INVALID_OPT_VALUE", function (e, t) { return 'The value "' + t + '" is invalid for option "' + e + '"' }, TypeError ), o( "ERR_INVALID_ARG_TYPE", function (e, t, r) { var n, i if ( ("string" === typeof t && s(t, "not ") ? ((n = "must not be"), (t = t.replace(/^not /, ""))) : (n = "must be"), l(e, " argument")) ) i = "The ".concat(e, " ").concat(n, " ").concat(a(t, "type")) else { var o = c(e, ".") ? "property" : "argument" i = 'The "'.concat(e, '" ').concat(o, " ").concat(n, " ").concat(a(t, "type")) } return (i += ". Received type ".concat(typeof r)), i }, TypeError ), o("ERR_STREAM_PUSH_AFTER_EOF", "stream.push() after EOF"), o("ERR_METHOD_NOT_IMPLEMENTED", function (e) { return "The " + e + " method is not implemented" }), o("ERR_STREAM_PREMATURE_CLOSE", "Premature close"), o("ERR_STREAM_DESTROYED", function (e) { return "Cannot call " + e + " after a stream was destroyed" }), o("ERR_MULTIPLE_CALLBACK", "Callback called multiple times"), o("ERR_STREAM_CANNOT_PIPE", "Cannot pipe, not readable"), o("ERR_STREAM_WRITE_AFTER_END", "write after end"), o("ERR_STREAM_NULL_VALUES", "May not write null values to stream", TypeError), o( "ERR_UNKNOWN_ENCODING", function (e) { return "Unknown encoding: " + e }, TypeError ), o("ERR_STREAM_UNSHIFT_AFTER_END_EVENT", "stream.unshift() after end event"), (t.exports.codes = i) }, {} ], 85: [ function (e, t, r) { ;(function (r) { "use strict" var n = Object.keys || function (e) { var t = [] for (var r in e) t.push(r) return t } t.exports = c var i = e("./_stream_readable"), o = e("./_stream_writable") e("inherits")(c, i) for (var a = n(o.prototype), s = 0; s < a.length; s++) { var l = a[s] c.prototype[l] || (c.prototype[l] = o.prototype[l]) } function c(e) { if (!(this instanceof c)) return new c(e) i.call(this, e), o.call(this, e), (this.allowHalfOpen = !0), e && (!1 === e.readable && (this.readable = !1), !1 === e.writable && (this.writable = !1), !1 === e.allowHalfOpen && ((this.allowHalfOpen = !1), this.once("end", u))) } function u() { this._writableState.ended || r.nextTick(f, this) } function f(e) { e.end() } Object.defineProperty(c.prototype, "writableHighWaterMark", { enumerable: !1, get: function () { return this._writableState.highWaterMark } }), Object.defineProperty(c.prototype, "writableBuffer", { enumerable: !1, get: function () { return this._writableState && this._writableState.getBuffer() } }), Object.defineProperty(c.prototype, "writableLength", { enumerable: !1, get: function () { return this._writableState.length } }), Object.defineProperty(c.prototype, "destroyed", { enumerable: !1, get: function () { return ( void 0 !== this._readableState && void 0 !== this._writableState && this._readableState.destroyed && this._writableState.destroyed ) }, set: function (e) { void 0 !== this._readableState && void 0 !== this._writableState && ((this._readableState.destroyed = e), (this._writableState.destroyed = e)) } }) }).call(this, e("_process")) }, { "./_stream_readable": 87, "./_stream_writable": 89, _process: 392, inherits: 306 } ], 86: [ function (e, t, r) { "use strict" t.exports = i var n = e("./_stream_transform") function i(e) { if (!(this instanceof i)) return new i(e) n.call(this, e) } e("inherits")(i, n), (i.prototype._transform = function (e, t, r) { r(null, e) }) }, { "./_stream_transform": 88, inherits: 306 } ], 87: [ function (e, t, r) { ;(function (r, n) { "use strict" var i ;(t.exports = L), (L.ReadableState = k) e("events").EventEmitter var o = function (e, t) { return e.listeners(t).length }, a = e("./internal/streams/stream"), s = e("buffer").Buffer, l = n.Uint8Array || function () {} function c(e) { return s.from(e) } function u(e) { return s.isBuffer(e) || e instanceof l } var f, p = e("util") f = p && p.debuglog ? p.debuglog("stream") : function () {} var d, h, m, g = e("./internal/streams/buffer_list"), y = e("./internal/streams/destroy"), v = e("./internal/streams/state"), b = v.getHighWaterMark, w = e("../errors").codes, x = w.ERR_INVALID_ARG_TYPE, A = w.ERR_STREAM_PUSH_AFTER_EOF, _ = w.ERR_METHOD_NOT_IMPLEMENTED, T = w.ERR_STREAM_UNSHIFT_AFTER_END_EVENT e("inherits")(L, a) var E = y.errorOrDestroy, S = ["error", "close", "destroy", "pause", "resume"] function C(e, t, r) { if ("function" === typeof e.prependListener) return e.prependListener(t, r) e._events && e._events[t] ? Array.isArray(e._events[t]) ? e._events[t].unshift(r) : (e._events[t] = [r, e._events[t]]) : e.on(t, r) } function k(t, r, n) { ;(i = i || e("./_stream_duplex")), (t = t || {}), "boolean" !== typeof n && (n = r instanceof i), (this.objectMode = !!t.objectMode), n && (this.objectMode = this.objectMode || !!t.readableObjectMode), (this.highWaterMark = b(this, t, "readableHighWaterMark", n)), (this.buffer = new g()), (this.length = 0), (this.pipes = null), (this.pipesCount = 0), (this.flowing = null), (this.ended = !1), (this.endEmitted = !1), (this.reading = !1), (this.sync = !0), (this.needReadable = !1), (this.emittedReadable = !1), (this.readableListening = !1), (this.resumeScheduled = !1), (this.paused = !0), (this.emitClose = !1 !== t.emitClose), (this.autoDestroy = !!t.autoDestroy), (this.destroyed = !1), (this.defaultEncoding = t.defaultEncoding || "utf8"), (this.awaitDrain = 0), (this.readingMore = !1), (this.decoder = null), (this.encoding = null), t.encoding && (d || (d = e("string_decoder/").StringDecoder), (this.decoder = new d(t.encoding)), (this.encoding = t.encoding)) } function L(t) { if (((i = i || e("./_stream_duplex")), !(this instanceof L))) return new L(t) var r = this instanceof i ;(this._readableState = new k(t, this, r)), (this.readable = !0), t && ("function" === typeof t.read && (this._read = t.read), "function" === typeof t.destroy && (this._destroy = t.destroy)), a.call(this) } function P(e, t, r, n, i) { f("readableAddChunk", t) var o, a = e._readableState if (null === t) (a.reading = !1), M(e, a) else if ((i || (o = j(a, t)), o)) E(e, o) else if (a.objectMode || (t && t.length > 0)) if (("string" === typeof t || a.objectMode || Object.getPrototypeOf(t) === s.prototype || (t = c(t)), n)) a.endEmitted ? E(e, new T()) : O(e, a, t, !0) else if (a.ended) E(e, new A()) else { if (a.destroyed) return !1 ;(a.reading = !1), a.decoder && !r ? ((t = a.decoder.write(t)), a.objectMode || 0 !== t.length ? O(e, a, t, !1) : F(e, a)) : O(e, a, t, !1) } else n || ((a.reading = !1), F(e, a)) return !a.ended && (a.length < a.highWaterMark || 0 === a.length) } function O(e, t, r, n) { t.flowing && 0 === t.length && !t.sync ? ((t.awaitDrain = 0), e.emit("data", r)) : ((t.length += t.objectMode ? 1 : r.length), n ? t.buffer.unshift(r) : t.buffer.push(r), t.needReadable && D(e)), F(e, t) } function j(e, t) { var r return ( u(t) || "string" === typeof t || void 0 === t || e.objectMode || (r = new x("chunk", ["string", "Buffer", "Uint8Array"], t)), r ) } Object.defineProperty(L.prototype, "destroyed", { enumerable: !1, get: function () { return void 0 !== this._readableState && this._readableState.destroyed }, set: function (e) { this._readableState && (this._readableState.destroyed = e) } }), (L.prototype.destroy = y.destroy), (L.prototype._undestroy = y.undestroy), (L.prototype._destroy = function (e, t) { t(e) }), (L.prototype.push = function (e, t) { var r, n = this._readableState return ( n.objectMode ? (r = !0) : "string" === typeof e && ((t = t || n.defaultEncoding), t !== n.encoding && ((e = s.from(e, t)), (t = "")), (r = !0)), P(this, e, t, !1, r) ) }), (L.prototype.unshift = function (e) { return P(this, e, null, !0, !1) }), (L.prototype.isPaused = function () { return !1 === this._readableState.flowing }), (L.prototype.setEncoding = function (t) { d || (d = e("string_decoder/").StringDecoder) var r = new d(t) ;(this._readableState.decoder = r), (this._readableState.encoding = this._readableState.decoder.encoding) var n = this._readableState.buffer.head, i = "" while (null !== n) (i += r.write(n.data)), (n = n.next) return ( this._readableState.buffer.clear(), "" !== i && this._readableState.buffer.push(i), (this._readableState.length = i.length), this ) }) var R = 1073741824 function I(e) { return e >= R ? (e = R) : (e--, (e |= e >>> 1), (e |= e >>> 2), (e |= e >>> 4), (e |= e >>> 8), (e |= e >>> 16), e++), e } function N(e, t) { return e <= 0 || (0 === t.length && t.ended) ? 0 : t.objectMode ? 1 : e !== e ? t.flowing && t.length ? t.buffer.head.data.length : t.length : (e > t.highWaterMark && (t.highWaterMark = I(e)), e <= t.length ? e : t.ended ? t.length : ((t.needReadable = !0), 0)) } function M(e, t) { if ((f("onEofChunk"), !t.ended)) { if (t.decoder) { var r = t.decoder.end() r && r.length && (t.buffer.push(r), (t.length += t.objectMode ? 1 : r.length)) } ;(t.ended = !0), t.sync ? D(e) : ((t.needReadable = !1), t.emittedReadable || ((t.emittedReadable = !0), B(e))) } } function D(e) { var t = e._readableState f("emitReadable", t.needReadable, t.emittedReadable), (t.needReadable = !1), t.emittedReadable || (f("emitReadable", t.flowing), (t.emittedReadable = !0), r.nextTick(B, e)) } function B(e) { var t = e._readableState f("emitReadable_", t.destroyed, t.length, t.ended), t.destroyed || (!t.length && !t.ended) || (e.emit("readable"), (t.emittedReadable = !1)), (t.needReadable = !t.flowing && !t.ended && t.length <= t.highWaterMark), H(e) } function F(e, t) { t.readingMore || ((t.readingMore = !0), r.nextTick(U, e, t)) } function U(e, t) { while (!t.reading && !t.ended && (t.length < t.highWaterMark || (t.flowing && 0 === t.length))) { var r = t.length if ((f("maybeReadMore read 0"), e.read(0), r === t.length)) break } t.readingMore = !1 } function z(e) { return function () { var t = e._readableState f("pipeOnDrain", t.awaitDrain), t.awaitDrain && t.awaitDrain--, 0 === t.awaitDrain && o(e, "data") && ((t.flowing = !0), H(e)) } } function q(e) { var t = e._readableState ;(t.readableListening = e.listenerCount("readable") > 0), t.resumeScheduled && !t.paused ? (t.flowing = !0) : e.listenerCount("data") > 0 && e.resume() } function G(e) { f("readable nexttick read 0"), e.read(0) } function W(e, t) { t.resumeScheduled || ((t.resumeScheduled = !0), r.nextTick(V, e, t)) } function V(e, t) { f("resume", t.reading), t.reading || e.read(0), (t.resumeScheduled = !1), e.emit("resume"), H(e), t.flowing && !t.reading && e.read(0) } function H(e) { var t = e._readableState f("flow", t.flowing) while (t.flowing && null !== e.read()); } function X(e, t) { return 0 === t.length ? null : (t.objectMode ? (r = t.buffer.shift()) : !e || e >= t.length ? ((r = t.decoder ? t.buffer.join("") : 1 === t.buffer.length ? t.buffer.first() : t.buffer.concat(t.length)), t.buffer.clear()) : (r = t.buffer.consume(e, t.decoder)), r) var r } function Y(e) { var t = e._readableState f("endReadable", t.endEmitted), t.endEmitted || ((t.ended = !0), r.nextTick(K, t, e)) } function K(e, t) { if ( (f("endReadableNT", e.endEmitted, e.length), !e.endEmitted && 0 === e.length && ((e.endEmitted = !0), (t.readable = !1), t.emit("end"), e.autoDestroy)) ) { var r = t._writableState ;(!r || (r.autoDestroy && r.finished)) && t.destroy() } } function Z(e, t) { for (var r = 0, n = e.length; r < n; r++) if (e[r] === t) return r return -1 } ;(L.prototype.read = function (e) { f("read", e), (e = parseInt(e, 10)) var t = this._readableState, r = e if ( (0 !== e && (t.emittedReadable = !1), 0 === e && t.needReadable && ((0 !== t.highWaterMark ? t.length >= t.highWaterMark : t.length > 0) || t.ended)) ) return f("read: emitReadable", t.length, t.ended), 0 === t.length && t.ended ? Y(this) : D(this), null if (((e = N(e, t)), 0 === e && t.ended)) return 0 === t.length && Y(this), null var n, i = t.needReadable return ( f("need readable", i), (0 === t.length || t.length - e < t.highWaterMark) && ((i = !0), f("length less than watermark", i)), t.ended || t.reading ? ((i = !1), f("reading or ended", i)) : i && (f("do read"), (t.reading = !0), (t.sync = !0), 0 === t.length && (t.needReadable = !0), this._read(t.highWaterMark), (t.sync = !1), t.reading || (e = N(r, t))), (n = e > 0 ? X(e, t) : null), null === n ? ((t.needReadable = t.length <= t.highWaterMark), (e = 0)) : ((t.length -= e), (t.awaitDrain = 0)), 0 === t.length && (t.ended || (t.needReadable = !0), r !== e && t.ended && Y(this)), null !== n && this.emit("data", n), n ) }), (L.prototype._read = function (e) { E(this, new _("_read()")) }), (L.prototype.pipe = function (e, t) { var n = this, i = this._readableState switch (i.pipesCount) { case 0: i.pipes = e break case 1: i.pipes = [i.pipes, e] break default: i.pipes.push(e) break } ;(i.pipesCount += 1), f("pipe count=%d opts=%j", i.pipesCount, t) var a = (!t || !1 !== t.end) && e !== r.stdout && e !== r.stderr, s = a ? c : v function l(e, t) { f("onunpipe"), e === n && t && !1 === t.hasUnpiped && ((t.hasUnpiped = !0), d()) } function c() { f("onend"), e.end() } i.endEmitted ? r.nextTick(s) : n.once("end", s), e.on("unpipe", l) var u = z(n) e.on("drain", u) var p = !1 function d() { f("cleanup"), e.removeListener("close", g), e.removeListener("finish", y), e.removeListener("drain", u), e.removeListener("error", m), e.removeListener("unpipe", l), n.removeListener("end", c), n.removeListener("end", v), n.removeListener("data", h), (p = !0), !i.awaitDrain || (e._writableState && !e._writableState.needDrain) || u() } function h(t) { f("ondata") var r = e.write(t) f("dest.write", r), !1 === r && (((1 === i.pipesCount && i.pipes === e) || (i.pipesCount > 1 && -1 !== Z(i.pipes, e))) && !p && (f("false write response, pause", i.awaitDrain), i.awaitDrain++), n.pause()) } function m(t) { f("onerror", t), v(), e.removeListener("error", m), 0 === o(e, "error") && E(e, t) } function g() { e.removeListener("finish", y), v() } function y() { f("onfinish"), e.removeListener("close", g), v() } function v() { f("unpipe"), n.unpipe(e) } return ( n.on("data", h), C(e, "error", m), e.once("close", g), e.once("finish", y), e.emit("pipe", n), i.flowing || (f("pipe resume"), n.resume()), e ) }), (L.prototype.unpipe = function (e) { var t = this._readableState, r = { hasUnpiped: !1 } if (0 === t.pipesCount) return this if (1 === t.pipesCount) return ( (e && e !== t.pipes) || (e || (e = t.pipes), (t.pipes = null), (t.pipesCount = 0), (t.flowing = !1), e && e.emit("unpipe", this, r)), this ) if (!e) { var n = t.pipes, i = t.pipesCount ;(t.pipes = null), (t.pipesCount = 0), (t.flowing = !1) for (var o = 0; o < i; o++) n[o].emit("unpipe", this, { hasUnpiped: !1 }) return this } var a = Z(t.pipes, e) return ( -1 === a || (t.pipes.splice(a, 1), (t.pipesCount -= 1), 1 === t.pipesCount && (t.pipes = t.pipes[0]), e.emit("unpipe", this, r)), this ) }), (L.prototype.on = function (e, t) { var n = a.prototype.on.call(this, e, t), i = this._readableState return ( "data" === e ? ((i.readableListening = this.listenerCount("readable") > 0), !1 !== i.flowing && this.resume()) : "readable" === e && (i.endEmitted || i.readableListening || ((i.readableListening = i.needReadable = !0), (i.flowing = !1), (i.emittedReadable = !1), f("on readable", i.length, i.reading), i.length ? D(this) : i.reading || r.nextTick(G, this))), n ) }), (L.prototype.addListener = L.prototype.on), (L.prototype.removeListener = function (e, t) { var n = a.prototype.removeListener.call(this, e, t) return "readable" === e && r.nextTick(q, this), n }), (L.prototype.removeAllListeners = function (e) { var t = a.prototype.removeAllListeners.apply(this, arguments) return ("readable" !== e && void 0 !== e) || r.nextTick(q, this), t }), (L.prototype.resume = function () { var e = this._readableState return e.flowing || (f("resume"), (e.flowing = !e.readableListening), W(this, e)), (e.paused = !1), this }), (L.prototype.pause = function () { return ( f("call pause flowing=%j", this._readableState.flowing), !1 !== this._readableState.flowing && (f("pause"), (this._readableState.flowing = !1), this.emit("pause")), (this._readableState.paused = !0), this ) }), (L.prototype.wrap = function (e) { var t = this, r = this._readableState, n = !1 for (var i in (e.on("end", function () { if ((f("wrapped end"), r.decoder && !r.ended)) { var e = r.decoder.end() e && e.length && t.push(e) } t.push(null) }), e.on("data", function (i) { if ( (f("wrapped data"), r.decoder && (i = r.decoder.write(i)), (!r.objectMode || (null !== i && void 0 !== i)) && (r.objectMode || (i && i.length))) ) { var o = t.push(i) o || ((n = !0), e.pause()) } }), e)) void 0 === this[i] && "function" === typeof e[i] && (this[i] = (function (t) { return function () { return e[t].apply(e, arguments) } })(i)) for (var o = 0; o < S.length; o++) e.on(S[o], this.emit.bind(this, S[o])) return ( (this._read = function (t) { f("wrapped _read", t), n && ((n = !1), e.resume()) }), this ) }), "function" === typeof Symbol && (L.prototype[Symbol.asyncIterator] = function () { return void 0 === h && (h = e("./internal/streams/async_iterator")), h(this) }), Object.defineProperty(L.prototype, "readableHighWaterMark", { enumerable: !1, get: function () { return this._readableState.highWaterMark } }), Object.defineProperty(L.prototype, "readableBuffer", { enumerable: !1, get: function () { return this._readableState && this._readableState.buffer } }), Object.defineProperty(L.prototype, "readableFlowing", { enumerable: !1, get: function () { return this._readableState.flowing }, set: function (e) { this._readableState && (this._readableState.flowing = e) } }), (L._fromList = X), Object.defineProperty(L.prototype, "readableLength", { enumerable: !1, get: function () { return this._readableState.length } }), "function" === typeof Symbol && (L.from = function (t, r) { return void 0 === m && (m = e("./internal/streams/from")), m(L, t, r) }) }).call( this, e("_process"), "undefined" !== typeof global ? global : "undefined" !== typeof self ? self : "undefined" !== typeof window ? window : {} ) }, { "../errors": 84, "./_stream_duplex": 85, "./internal/streams/async_iterator": 90, "./internal/streams/buffer_list": 91, "./internal/streams/destroy": 92, "./internal/streams/from": 94, "./internal/streams/state": 96, "./internal/streams/stream": 97, _process: 392, buffer: 99, events: 296, inherits: 306, "string_decoder/": 340, util: 79 } ], 88: [ function (e, t, r) { "use strict" t.exports = u var n = e("../errors").codes, i = n.ERR_METHOD_NOT_IMPLEMENTED, o = n.ERR_MULTIPLE_CALLBACK, a = n.ERR_TRANSFORM_ALREADY_TRANSFORMING, s = n.ERR_TRANSFORM_WITH_LENGTH_0, l = e("./_stream_duplex") function c(e, t) { var r = this._transformState r.transforming = !1 var n = r.writecb if (null === n) return this.emit("error", new o()) ;(r.writechunk = null), (r.writecb = null), null != t && this.push(t), n(e) var i = this._readableState ;(i.reading = !1), (i.needReadable || i.length < i.highWaterMark) && this._read(i.highWaterMark) } function u(e) { if (!(this instanceof u)) return new u(e) l.call(this, e), (this._transformState = { afterTransform: c.bind(this), needTransform: !1, transforming: !1, writecb: null, writechunk: null, writeencoding: null }), (this._readableState.needReadable = !0), (this._readableState.sync = !1), e && ("function" === typeof e.transform && (this._transform = e.transform), "function" === typeof e.flush && (this._flush = e.flush)), this.on("prefinish", f) } function f() { var e = this "function" !== typeof this._flush || this._readableState.destroyed ? p(this, null, null) : this._flush(function (t, r) { p(e, t, r) }) } function p(e, t, r) { if (t) return e.emit("error", t) if ((null != r && e.push(r), e._writableState.length)) throw new s() if (e._transformState.transforming) throw new a() return e.push(null) } e("inherits")(u, l), (u.prototype.push = function (e, t) { return (this._transformState.needTransform = !1), l.prototype.push.call(this, e, t) }), (u.prototype._transform = function (e, t, r) { r(new i("_transform()")) }), (u.prototype._write = function (e, t, r) { var n = this._transformState if (((n.writecb = r), (n.writechunk = e), (n.writeencoding = t), !n.transforming)) { var i = this._readableState ;(n.needTransform || i.needReadable || i.length < i.highWaterMark) && this._read(i.highWaterMark) } }), (u.prototype._read = function (e) { var t = this._transformState null === t.writechunk || t.transforming ? (t.needTransform = !0) : ((t.transforming = !0), this._transform(t.writechunk, t.writeencoding, t.afterTransform)) }), (u.prototype._destroy = function (e, t) { l.prototype._destroy.call(this, e, function (e) { t(e) }) }) }, { "../errors": 84, "./_stream_duplex": 85, inherits: 306 } ], 89: [ function (e, t, r) { ;(function (r, n) { "use strict" function i(e) { var t = this ;(this.next = null), (this.entry = null), (this.finish = function () { V(t, e) }) } var o ;(t.exports = k), (k.WritableState = C) var a = { deprecate: e("util-deprecate") }, s = e("./internal/streams/stream"), l = e("buffer").Buffer, c = n.Uint8Array || function () {} function u(e) { return l.from(e) } function f(e) { return l.isBuffer(e) || e instanceof c } var p, d = e("./internal/streams/destroy"), h = e("./internal/streams/state"), m = h.getHighWaterMark, g = e("../errors").codes, y = g.ERR_INVALID_ARG_TYPE, v = g.ERR_METHOD_NOT_IMPLEMENTED, b = g.ERR_MULTIPLE_CALLBACK, w = g.ERR_STREAM_CANNOT_PIPE, x = g.ERR_STREAM_DESTROYED, A = g.ERR_STREAM_NULL_VALUES, _ = g.ERR_STREAM_WRITE_AFTER_END, T = g.ERR_UNKNOWN_ENCODING, E = d.errorOrDestroy function S() {} function C(t, r, n) { ;(o = o || e("./_stream_duplex")), (t = t || {}), "boolean" !== typeof n && (n = r instanceof o), (this.objectMode = !!t.objectMode), n && (this.objectMode = this.objectMode || !!t.writableObjectMode), (this.highWaterMark = m(this, t, "writableHighWaterMark", n)), (this.finalCalled = !1), (this.needDrain = !1), (this.ending = !1), (this.ended = !1), (this.finished = !1), (this.destroyed = !1) var a = !1 === t.decodeStrings ;(this.decodeStrings = !a), (this.defaultEncoding = t.defaultEncoding || "utf8"), (this.length = 0), (this.writing = !1), (this.corked = 0), (this.sync = !0), (this.bufferProcessing = !1), (this.onwrite = function (e) { M(r, e) }), (this.writecb = null), (this.writelen = 0), (this.bufferedRequest = null), (this.lastBufferedRequest = null), (this.pendingcb = 0), (this.prefinished = !1), (this.errorEmitted = !1), (this.emitClose = !1 !== t.emitClose), (this.autoDestroy = !!t.autoDestroy), (this.bufferedRequestCount = 0), (this.corkedRequestsFree = new i(this)) } function k(t) { o = o || e("./_stream_duplex") var r = this instanceof o if (!r && !p.call(k, this)) return new k(t) ;(this._writableState = new C(t, this, r)), (this.writable = !0), t && ("function" === typeof t.write && (this._write = t.write), "function" === typeof t.writev && (this._writev = t.writev), "function" === typeof t.destroy && (this._destroy = t.destroy), "function" === typeof t.final && (this._final = t.final)), s.call(this) } function L(e, t) { var n = new _() E(e, n), r.nextTick(t, n) } function P(e, t, n, i) { var o return ( null === n ? (o = new A()) : "string" === typeof n || t.objectMode || (o = new y("chunk", ["string", "Buffer"], n)), !o || (E(e, o), r.nextTick(i, o), !1) ) } function O(e, t, r) { return e.objectMode || !1 === e.decodeStrings || "string" !== typeof t || (t = l.from(t, r)), t } function j(e, t, r, n, i, o) { if (!r) { var a = O(t, n, i) n !== a && ((r = !0), (i = "buffer"), (n = a)) } var s = t.objectMode ? 1 : n.length t.length += s var l = t.length < t.highWaterMark if ((l || (t.needDrain = !0), t.writing || t.corked)) { var c = t.lastBufferedRequest ;(t.lastBufferedRequest = { chunk: n, encoding: i, isBuf: r, callback: o, next: null }), c ? (c.next = t.lastBufferedRequest) : (t.bufferedRequest = t.lastBufferedRequest), (t.bufferedRequestCount += 1) } else R(e, t, !1, s, n, i, o) return l } function R(e, t, r, n, i, o, a) { ;(t.writelen = n), (t.writecb = a), (t.writing = !0), (t.sync = !0), t.destroyed ? t.onwrite(new x("write")) : r ? e._writev(i, t.onwrite) : e._write(i, o, t.onwrite), (t.sync = !1) } function I(e, t, n, i, o) { --t.pendingcb, n ? (r.nextTick(o, i), r.nextTick(G, e, t), (e._writableState.errorEmitted = !0), E(e, i)) : (o(i), (e._writableState.errorEmitted = !0), E(e, i), G(e, t)) } function N(e) { ;(e.writing = !1), (e.writecb = null), (e.length -= e.writelen), (e.writelen = 0) } function M(e, t) { var n = e._writableState, i = n.sync, o = n.writecb if ("function" !== typeof o) throw new b() if ((N(n), t)) I(e, n, i, t, o) else { var a = U(n) || e.destroyed a || n.corked || n.bufferProcessing || !n.bufferedRequest || F(e, n), i ? r.nextTick(D, e, n, a, o) : D(e, n, a, o) } } function D(e, t, r, n) { r || B(e, t), t.pendingcb--, n(), G(e, t) } function B(e, t) { 0 === t.length && t.needDrain && ((t.needDrain = !1), e.emit("drain")) } function F(e, t) { t.bufferProcessing = !0 var r = t.bufferedRequest if (e._writev && r && r.next) { var n = t.bufferedRequestCount, o = new Array(n), a = t.corkedRequestsFree a.entry = r var s = 0, l = !0 while (r) (o[s] = r), r.isBuf || (l = !1), (r = r.next), (s += 1) ;(o.allBuffers = l), R(e, t, !0, t.length, o, "", a.finish), t.pendingcb++, (t.lastBufferedRequest = null), a.next ? ((t.corkedRequestsFree = a.next), (a.next = null)) : (t.corkedRequestsFree = new i(t)), (t.bufferedRequestCount = 0) } else { while (r) { var c = r.chunk, u = r.encoding, f = r.callback, p = t.objectMode ? 1 : c.length if ((R(e, t, !1, p, c, u, f), (r = r.next), t.bufferedRequestCount--, t.writing)) break } null === r && (t.lastBufferedRequest = null) } ;(t.bufferedRequest = r), (t.bufferProcessing = !1) } function U(e) { return e.ending && 0 === e.length && null === e.bufferedRequest && !e.finished && !e.writing } function z(e, t) { e._final(function (r) { t.pendingcb--, r && E(e, r), (t.prefinished = !0), e.emit("prefinish"), G(e, t) }) } function q(e, t) { t.prefinished || t.finalCalled || ("function" !== typeof e._final || t.destroyed ? ((t.prefinished = !0), e.emit("prefinish")) : (t.pendingcb++, (t.finalCalled = !0), r.nextTick(z, e, t))) } function G(e, t) { var r = U(t) if (r && (q(e, t), 0 === t.pendingcb && ((t.finished = !0), e.emit("finish"), t.autoDestroy))) { var n = e._readableState ;(!n || (n.autoDestroy && n.endEmitted)) && e.destroy() } return r } function W(e, t, n) { ;(t.ending = !0), G(e, t), n && (t.finished ? r.nextTick(n) : e.once("finish", n)), (t.ended = !0), (e.writable = !1) } function V(e, t, r) { var n = e.entry e.entry = null while (n) { var i = n.callback t.pendingcb--, i(r), (n = n.next) } t.corkedRequestsFree.next = e } e("inherits")(k, s), (C.prototype.getBuffer = function () { var e = this.bufferedRequest, t = [] while (e) t.push(e), (e = e.next) return t }), (function () { try { Object.defineProperty(C.prototype, "buffer", { get: a.deprecate( function () { return this.getBuffer() }, "_writableState.buffer is deprecated. Use _writableState.getBuffer instead.", "DEP0003" ) }) } catch (e) {} })(), "function" === typeof Symbol && Symbol.hasInstance && "function" === typeof Function.prototype[Symbol.hasInstance] ? ((p = Function.prototype[Symbol.hasInstance]), Object.defineProperty(k, Symbol.hasInstance, { value: function (e) { return !!p.call(this, e) || (this === k && e && e._writableState instanceof C) } })) : (p = function (e) { return e instanceof this }), (k.prototype.pipe = function () { E(this, new w()) }), (k.prototype.write = function (e, t, r) { var n = this._writableState, i = !1, o = !n.objectMode && f(e) return ( o && !l.isBuffer(e) && (e = u(e)), "function" === typeof t && ((r = t), (t = null)), o ? (t = "buffer") : t || (t = n.defaultEncoding), "function" !== typeof r && (r = S), n.ending ? L(this, r) : (o || P(this, n, e, r)) && (n.pendingcb++, (i = j(this, n, o, e, t, r))), i ) }), (k.prototype.cork = function () { this._writableState.corked++ }), (k.prototype.uncork = function () { var e = this._writableState e.corked && (e.corked--, e.writing || e.corked || e.bufferProcessing || !e.bufferedRequest || F(this, e)) }), (k.prototype.setDefaultEncoding = function (e) { if ( ("string" === typeof e && (e = e.toLowerCase()), !( ["hex", "utf8", "utf-8", "ascii", "binary", "base64", "ucs2", "ucs-2", "utf16le", "utf-16le", "raw"].indexOf( (e + "").toLowerCase() ) > -1 )) ) throw new T(e) return (this._writableState.defaultEncoding = e), this }), Object.defineProperty(k.prototype, "writableBuffer", { enumerable: !1, get: function () { return this._writableState && this._writableState.getBuffer() } }), Object.defineProperty(k.prototype, "writableHighWaterMark", { enumerable: !1, get: function () { return this._writableState.highWaterMark } }), (k.prototype._write = function (e, t, r) { r(new v("_write()")) }), (k.prototype._writev = null), (k.prototype.end = function (e, t, r) { var n = this._writableState return ( "function" === typeof e ? ((r = e), (e = null), (t = null)) : "function" === typeof t && ((r = t), (t = null)), null !== e && void 0 !== e && this.write(e, t), n.corked && ((n.corked = 1), this.uncork()), n.ending || W(this, n, r), this ) }), Object.defineProperty(k.prototype, "writableLength", { enumerable: !1, get: function () { return this._writableState.length } }), Object.defineProperty(k.prototype, "destroyed", { enumerable: !1, get: function () { return void 0 !== this._writableState && this._writableState.destroyed }, set: function (e) { this._writableState && (this._writableState.destroyed = e) } }), (k.prototype.destroy = d.destroy), (k.prototype._undestroy = d.undestroy), (k.prototype._destroy = function (e, t) { t(e) }) }).call( this, e("_process"), "undefined" !== typeof global ? global : "undefined" !== typeof self ? self : "undefined" !== typeof window ? window : {} ) }, { "../errors": 84, "./_stream_duplex": 85, "./internal/streams/destroy": 92, "./internal/streams/state": 96, "./internal/streams/stream": 97, _process: 392, buffer: 99, inherits: 306, "util-deprecate": 342 } ], 90: [ function (e, t, r) { ;(function (r) { "use strict" var n function i(e, t, r) { return ( t in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : (e[t] = r), e ) } var o = e("./end-of-stream"), a = Symbol("lastResolve"), s = Symbol("lastReject"), l = Symbol("error"), c = Symbol("ended"), u = Symbol("lastPromise"), f = Symbol("handlePromise"), p = Symbol("stream") function d(e, t) { return { value: e, done: t } } function h(e) { var t = e[a] if (null !== t) { var r = e[p].read() null !== r && ((e[u] = null), (e[a] = null), (e[s] = null), t(d(r, !1))) } } function m(e) { r.nextTick(h, e) } function g(e, t) { return function (r, n) { e.then(function () { t[c] ? r(d(void 0, !0)) : t[f](r, n) }, n) } } var y = Object.getPrototypeOf(function () {}), v = Object.setPrototypeOf( ((n = { get stream() { return this[p] }, next: function () { var e = this, t = this[l] if (null !== t) return Promise.reject(t) if (this[c]) return Promise.resolve(d(void 0, !0)) if (this[p].destroyed) return new Promise(function (t, n) { r.nextTick(function () { e[l] ? n(e[l]) : t(d(void 0, !0)) }) }) var n, i = this[u] if (i) n = new Promise(g(i, this)) else { var o = this[p].read() if (null !== o) return Promise.resolve(d(o, !1)) n = new Promise(this[f]) } return (this[u] = n), n } }), i(n, Symbol.asyncIterator, function () { return this }), i(n, "return", function () { var e = this return new Promise(function (t, r) { e[p].destroy(null, function (e) { e ? r(e) : t(d(void 0, !0)) }) }) }), n), y ), b = function (e) { var t, r = Object.create( v, ((t = {}), i(t, p, { value: e, writable: !0 }), i(t, a, { value: null, writable: !0 }), i(t, s, { value: null, writable: !0 }), i(t, l, { value: null, writable: !0 }), i(t, c, { value: e._readableState.endEmitted, writable: !0 }), i(t, f, { value: function (e, t) { var n = r[p].read() n ? ((r[u] = null), (r[a] = null), (r[s] = null), e(d(n, !1))) : ((r[a] = e), (r[s] = t)) }, writable: !0 }), t) ) return ( (r[u] = null), o(e, function (e) { if (e && "ERR_STREAM_PREMATURE_CLOSE" !== e.code) { var t = r[s] return null !== t && ((r[u] = null), (r[a] = null), (r[s] = null), t(e)), void (r[l] = e) } var n = r[a] null !== n && ((r[u] = null), (r[a] = null), (r[s] = null), n(d(void 0, !0))), (r[c] = !0) }), e.on("readable", m.bind(null, r)), r ) } t.exports = b }).call(this, e("_process")) }, { "./end-of-stream": 93, _process: 392 } ], 91: [ function (e, t, r) { "use strict" function n(e, t) { var r = Object.keys(e) if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e) t && (n = n.filter(function (t) { return Object.getOwnPropertyDescriptor(e, t).enumerable })), r.push.apply(r, n) } return r } function i(e) { for (var t = 1; t < arguments.length; t++) { var r = null != arguments[t] ? arguments[t] : {} t % 2 ? n(Object(r), !0).forEach(function (t) { o(e, t, r[t]) }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : n(Object(r)).forEach(function (t) { Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(r, t)) }) } return e } function o(e, t, r) { return ( t in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : (e[t] = r), e ) } function a(e, t) { if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function") } function s(e, t) { for (var r = 0; r < t.length; r++) { var n = t[r] ;(n.enumerable = n.enumerable || !1), (n.configurable = !0), "value" in n && (n.writable = !0), Object.defineProperty(e, n.key, n) } } function l(e, t, r) { return t && s(e.prototype, t), r && s(e, r), e } var c = e("buffer"), u = c.Buffer, f = e("util"), p = f.inspect, d = (p && p.custom) || "inspect" function h(e, t, r) { u.prototype.copy.call(e, t, r) } t.exports = (function () { function e() { a(this, e), (this.head = null), (this.tail = null), (this.length = 0) } return ( l(e, [ { key: "push", value: function (e) { var t = { data: e, next: null } this.length > 0 ? (this.tail.next = t) : (this.head = t), (this.tail = t), ++this.length } }, { key: "unshift", value: function (e) { var t = { data: e, next: this.head } 0 === this.length && (this.tail = t), (this.head = t), ++this.length } }, { key: "shift", value: function () { if (0 !== this.length) { var e = this.head.data return 1 === this.length ? (this.head = this.tail = null) : (this.head = this.head.next), --this.length, e } } }, { key: "clear", value: function () { ;(this.head = this.tail = null), (this.length = 0) } }, { key: "join", value: function (e) { if (0 === this.length) return "" var t = this.head, r = "" + t.data while ((t = t.next)) r += e + t.data return r } }, { key: "concat", value: function (e) { if (0 === this.length) return u.alloc(0) var t = u.allocUnsafe(e >>> 0), r = this.head, n = 0 while (r) h(r.data, t, n), (n += r.data.length), (r = r.next) return t } }, { key: "consume", value: function (e, t) { var r return ( e < this.head.data.length ? ((r = this.head.data.slice(0, e)), (this.head.data = this.head.data.slice(e))) : (r = e === this.head.data.length ? this.shift() : t ? this._getString(e) : this._getBuffer(e)), r ) } }, { key: "first", value: function () { return this.head.data } }, { key: "_getString", value: function (e) { var t = this.head, r = 1, n = t.data e -= n.length while ((t = t.next)) { var i = t.data, o = e > i.length ? i.length : e if ((o === i.length ? (n += i) : (n += i.slice(0, e)), (e -= o), 0 === e)) { o === i.length ? (++r, t.next ? (this.head = t.next) : (this.head = this.tail = null)) : ((this.head = t), (t.data = i.slice(o))) break } ++r } return (this.length -= r), n } }, { key: "_getBuffer", value: function (e) { var t = u.allocUnsafe(e), r = this.head, n = 1 r.data.copy(t), (e -= r.data.length) while ((r = r.next)) { var i = r.data, o = e > i.length ? i.length : e if ((i.copy(t, t.length - e, 0, o), (e -= o), 0 === e)) { o === i.length ? (++n, r.next ? (this.head = r.next) : (this.head = this.tail = null)) : ((this.head = r), (r.data = i.slice(o))) break } ++n } return (this.length -= n), t } }, { key: d, value: function (e, t) { return p( this, i({}, t, { depth: 0, customInspect: !1 }) ) } } ]), e ) })() }, { buffer: 99, util: 79 } ], 92: [ function (e, t, r) { ;(function (e) { "use strict" function r(t, r) { var o = this, s = this._readableState && this._readableState.destroyed, l = this._writableState && this._writableState.destroyed return s || l ? (r ? r(t) : t && (this._writableState ? this._writableState.errorEmitted || ((this._writableState.errorEmitted = !0), e.nextTick(a, this, t)) : e.nextTick(a, this, t)), this) : (this._readableState && (this._readableState.destroyed = !0), this._writableState && (this._writableState.destroyed = !0), this._destroy(t || null, function (t) { !r && t ? o._writableState ? o._writableState.errorEmitted ? e.nextTick(i, o) : ((o._writableState.errorEmitted = !0), e.nextTick(n, o, t)) : e.nextTick(n, o, t) : r ? (e.nextTick(i, o), r(t)) : e.nextTick(i, o) }), this) } function n(e, t) { a(e, t), i(e) } function i(e) { ;(e._writableState && !e._writableState.emitClose) || (e._readableState && !e._readableState.emitClose) || e.emit("close") } function o() { this._readableState && ((this._readableState.destroyed = !1), (this._readableState.reading = !1), (this._readableState.ended = !1), (this._readableState.endEmitted = !1)), this._writableState && ((this._writableState.destroyed = !1), (this._writableState.ended = !1), (this._writableState.ending = !1), (this._writableState.finalCalled = !1), (this._writableState.prefinished = !1), (this._writableState.finished = !1), (this._writableState.errorEmitted = !1)) } function a(e, t) { e.emit("error", t) } function s(e, t) { var r = e._readableState, n = e._writableState ;(r && r.autoDestroy) || (n && n.autoDestroy) ? e.destroy(t) : e.emit("error", t) } t.exports = { destroy: r, undestroy: o, errorOrDestroy: s } }).call(this, e("_process")) }, { _process: 392 } ], 93: [ function (e, t, r) { "use strict" var n = e("../../../errors").codes.ERR_STREAM_PREMATURE_CLOSE function i(e) { var t = !1 return function () { if (!t) { t = !0 for (var r = arguments.length, n = new Array(r), i = 0; i < r; i++) n[i] = arguments[i] e.apply(this, n) } } } function o() {} function a(e) { return e.setHeader && "function" === typeof e.abort } function s(e, t, r) { if ("function" === typeof t) return s(e, null, t) t || (t = {}), (r = i(r || o)) var l = t.readable || (!1 !== t.readable && e.readable), c = t.writable || (!1 !== t.writable && e.writable), u = function () { e.writable || p() }, f = e._writableState && e._writableState.finished, p = function () { ;(c = !1), (f = !0), l || r.call(e) }, d = e._readableState && e._readableState.endEmitted, h = function () { ;(l = !1), (d = !0), c || r.call(e) }, m = function (t) { r.call(e, t) }, g = function () { var t return l && !d ? ((e._readableState && e._readableState.ended) || (t = new n()), r.call(e, t)) : c && !f ? ((e._writableState && e._writableState.ended) || (t = new n()), r.call(e, t)) : void 0 }, y = function () { e.req.on("finish", p) } return ( a(e) ? (e.on("complete", p), e.on("abort", g), e.req ? y() : e.on("request", y)) : c && !e._writableState && (e.on("end", u), e.on("close", u)), e.on("end", h), e.on("finish", p), !1 !== t.error && e.on("error", m), e.on("close", g), function () { e.removeListener("complete", p), e.removeListener("abort", g), e.removeListener("request", y), e.req && e.req.removeListener("finish", p), e.removeListener("end", u), e.removeListener("close", u), e.removeListener("finish", p), e.removeListener("end", h), e.removeListener("error", m), e.removeListener("close", g) } ) } t.exports = s }, { "../../../errors": 84 } ], 94: [ function (e, t, r) { t.exports = function () { throw new Error("Readable.from is not available in the browser") } }, {} ], 95: [ function (e, t, r) { "use strict" var n function i(e) { var t = !1 return function () { t || ((t = !0), e.apply(void 0, arguments)) } } var o = e("../../../errors").codes, a = o.ERR_MISSING_ARGS, s = o.ERR_STREAM_DESTROYED function l(e) { if (e) throw e } function c(e) { return e.setHeader && "function" === typeof e.abort } function u(t, r, o, a) { a = i(a) var l = !1 t.on("close", function () { l = !0 }), void 0 === n && (n = e("./end-of-stream")), n( t, { readable: r, writable: o }, function (e) { if (e) return a(e) ;(l = !0), a() } ) var u = !1 return function (e) { if (!l && !u) return (u = !0), c(t) ? t.abort() : "function" === typeof t.destroy ? t.destroy() : void a(e || new s("pipe")) } } function f(e) { e() } function p(e, t) { return e.pipe(t) } function d(e) { return e.length ? ("function" !== typeof e[e.length - 1] ? l : e.pop()) : l } function h() { for (var e = arguments.length, t = new Array(e), r = 0; r < e; r++) t[r] = arguments[r] var n, i = d(t) if ((Array.isArray(t[0]) && (t = t[0]), t.length < 2)) throw new a("streams") var o = t.map(function (e, r) { var a = r < t.length - 1, s = r > 0 return u(e, a, s, function (e) { n || (n = e), e && o.forEach(f), a || (o.forEach(f), i(n)) }) }) return t.reduce(p) } t.exports = h }, { "../../../errors": 84, "./end-of-stream": 93 } ], 96: [ function (e, t, r) { "use strict" var n = e("../../../errors").codes.ERR_INVALID_OPT_VALUE function i(e, t, r) { return null != e.highWaterMark ? e.highWaterMark : t ? e[r] : null } function o(e, t, r, o) { var a = i(t, o, r) if (null != a) { if (!isFinite(a) || Math.floor(a) !== a || a < 0) { var s = o ? r : "highWaterMark" throw new n(s, a) } return Math.floor(a) } return e.objectMode ? 16 : 16384 } t.exports = { getHighWaterMark: o } }, { "../../../errors": 84 } ], 97: [ function (e, t, r) { t.exports = e("events").EventEmitter }, { events: 296 } ], 98: [ function (e, t, r) { ;(r = t.exports = e("./lib/_stream_readable.js")), (r.Stream = r), (r.Readable = r), (r.Writable = e("./lib/_stream_writable.js")), (r.Duplex = e("./lib/_stream_duplex.js")), (r.Transform = e("./lib/_stream_transform.js")), (r.PassThrough = e("./lib/_stream_passthrough.js")), (r.finished = e("./lib/internal/streams/end-of-stream.js")), (r.pipeline = e("./lib/internal/streams/pipeline.js")) }, { "./lib/_stream_duplex.js": 85, "./lib/_stream_passthrough.js": 86, "./lib/_stream_readable.js": 87, "./lib/_stream_transform.js": 88, "./lib/_stream_writable.js": 89, "./lib/internal/streams/end-of-stream.js": 93, "./lib/internal/streams/pipeline.js": 95 } ], 99: [ function (e, t, r) { ;(function (t) { /*! * The buffer module from node.js, for the browser. * * @author Feross Aboukhadijeh * @license MIT */ "use strict" var n = e("base64-js"), i = e("ieee754") ;(r.Buffer = t), (r.SlowBuffer = y), (r.INSPECT_MAX_BYTES = 50) var o = 2147483647 function a() { try { var e = new Uint8Array(1) return ( (e.__proto__ = { __proto__: Uint8Array.prototype, foo: function () { return 42 } }), 42 === e.foo() ) } catch (t) { return !1 } } function s(e) { if (e > o) throw new RangeError('The value "' + e + '" is invalid for option "size"') var r = new Uint8Array(e) return (r.__proto__ = t.prototype), r } function t(e, t, r) { if ("number" === typeof e) { if ("string" === typeof t) throw new TypeError('The "string" argument must be of type string. Received type number') return f(e) } return l(e, t, r) } function l(e, r, n) { if ("string" === typeof e) return p(e, r) if (ArrayBuffer.isView(e)) return d(e) if (null == e) throw TypeError( "The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type " + typeof e ) if (Z(e, ArrayBuffer) || (e && Z(e.buffer, ArrayBuffer))) return h(e, r, n) if ("number" === typeof e) throw new TypeError('The "value" argument must not be of type number. Received type number') var i = e.valueOf && e.valueOf() if (null != i && i !== e) return t.from(i, r, n) var o = m(e) if (o) return o if ("undefined" !== typeof Symbol && null != Symbol.toPrimitive && "function" === typeof e[Symbol.toPrimitive]) return t.from(e[Symbol.toPrimitive]("string"), r, n) throw new TypeError( "The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type " + typeof e ) } function c(e) { if ("number" !== typeof e) throw new TypeError('"size" argument must be of type number') if (e < 0) throw new RangeError('The value "' + e + '" is invalid for option "size"') } function u(e, t, r) { return c(e), e <= 0 ? s(e) : void 0 !== t ? ("string" === typeof r ? s(e).fill(t, r) : s(e).fill(t)) : s(e) } function f(e) { return c(e), s(e < 0 ? 0 : 0 | g(e)) } function p(e, r) { if ((("string" === typeof r && "" !== r) || (r = "utf8"), !t.isEncoding(r))) throw new TypeError("Unknown encoding: " + r) var n = 0 | v(e, r), i = s(n), o = i.write(e, r) return o !== n && (i = i.slice(0, o)), i } function d(e) { for (var t = e.length < 0 ? 0 : 0 | g(e.length), r = s(t), n = 0; n < t; n += 1) r[n] = 255 & e[n] return r } function h(e, r, n) { if (r < 0 || e.byteLength < r) throw new RangeError('"offset" is outside of buffer bounds') if (e.byteLength < r + (n || 0)) throw new RangeError('"length" is outside of buffer bounds') var i return ( (i = void 0 === r && void 0 === n ? new Uint8Array(e) : void 0 === n ? new Uint8Array(e, r) : new Uint8Array(e, r, n)), (i.__proto__ = t.prototype), i ) } function m(e) { if (t.isBuffer(e)) { var r = 0 | g(e.length), n = s(r) return 0 === n.length || e.copy(n, 0, 0, r), n } return void 0 !== e.length ? "number" !== typeof e.length || Q(e.length) ? s(0) : d(e) : "Buffer" === e.type && Array.isArray(e.data) ? d(e.data) : void 0 } function g(e) { if (e >= o) throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x" + o.toString(16) + " bytes") return 0 | e } function y(e) { return +e != e && (e = 0), t.alloc(+e) } function v(e, r) { if (t.isBuffer(e)) return e.length if (ArrayBuffer.isView(e) || Z(e, ArrayBuffer)) return e.byteLength if ("string" !== typeof e) throw new TypeError( 'The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type ' + typeof e ) var n = e.length, i = arguments.length > 2 && !0 === arguments[2] if (!i && 0 === n) return 0 for (var o = !1; ; ) switch (r) { case "ascii": case "latin1": case "binary": return n case "utf8": case "utf-8": return V(e).length case "ucs2": case "ucs-2": case "utf16le": case "utf-16le": return 2 * n case "hex": return n >>> 1 case "base64": return Y(e).length default: if (o) return i ? -1 : V(e).length ;(r = ("" + r).toLowerCase()), (o = !0) } } function b(e, t, r) { var n = !1 if (((void 0 === t || t < 0) && (t = 0), t > this.length)) return "" if (((void 0 === r || r > this.length) && (r = this.length), r <= 0)) return "" if (((r >>>= 0), (t >>>= 0), r <= t)) return "" e || (e = "utf8") while (1) switch (e) { case "hex": return N(this, t, r) case "utf8": case "utf-8": return P(this, t, r) case "ascii": return R(this, t, r) case "latin1": case "binary": return I(this, t, r) case "base64": return L(this, t, r) case "ucs2": case "ucs-2": case "utf16le": case "utf-16le": return M(this, t, r) default: if (n) throw new TypeError("Unknown encoding: " + e) ;(e = (e + "").toLowerCase()), (n = !0) } } function w(e, t, r) { var n = e[t] ;(e[t] = e[r]), (e[r] = n) } function x(e, r, n, i, o) { if (0 === e.length) return -1 if ( ("string" === typeof n ? ((i = n), (n = 0)) : n > 2147483647 ? (n = 2147483647) : n < -2147483648 && (n = -2147483648), (n = +n), Q(n) && (n = o ? 0 : e.length - 1), n < 0 && (n = e.length + n), n >= e.length) ) { if (o) return -1 n = e.length - 1 } else if (n < 0) { if (!o) return -1 n = 0 } if (("string" === typeof r && (r = t.from(r, i)), t.isBuffer(r))) return 0 === r.length ? -1 : A(e, r, n, i, o) if ("number" === typeof r) return ( (r &= 255), "function" === typeof Uint8Array.prototype.indexOf ? o ? Uint8Array.prototype.indexOf.call(e, r, n) : Uint8Array.prototype.lastIndexOf.call(e, r, n) : A(e, [r], n, i, o) ) throw new TypeError("val must be string, number or Buffer") } function A(e, t, r, n, i) { var o, a = 1, s = e.length, l = t.length if ( void 0 !== n && ((n = String(n).toLowerCase()), "ucs2" === n || "ucs-2" === n || "utf16le" === n || "utf-16le" === n) ) { if (e.length < 2 || t.length < 2) return -1 ;(a = 2), (s /= 2), (l /= 2), (r /= 2) } function c(e, t) { return 1 === a ? e[t] : e.readUInt16BE(t * a) } if (i) { var u = -1 for (o = r; o < s; o++) if (c(e, o) === c(t, -1 === u ? 0 : o - u)) { if ((-1 === u && (u = o), o - u + 1 === l)) return u * a } else -1 !== u && (o -= o - u), (u = -1) } else for (r + l > s && (r = s - l), o = r; o >= 0; o--) { for (var f = !0, p = 0; p < l; p++) if (c(e, o + p) !== c(t, p)) { f = !1 break } if (f) return o } return -1 } function _(e, t, r, n) { r = Number(r) || 0 var i = e.length - r n ? ((n = Number(n)), n > i && (n = i)) : (n = i) var o = t.length n > o / 2 && (n = o / 2) for (var a = 0; a < n; ++a) { var s = parseInt(t.substr(2 * a, 2), 16) if (Q(s)) return a e[r + a] = s } return a } function T(e, t, r, n) { return K(V(t, e.length - r), e, r, n) } function E(e, t, r, n) { return K(H(t), e, r, n) } function S(e, t, r, n) { return E(e, t, r, n) } function C(e, t, r, n) { return K(Y(t), e, r, n) } function k(e, t, r, n) { return K(X(t, e.length - r), e, r, n) } function L(e, t, r) { return 0 === t && r === e.length ? n.fromByteArray(e) : n.fromByteArray(e.slice(t, r)) } function P(e, t, r) { r = Math.min(e.length, r) var n = [], i = t while (i < r) { var o, a, s, l, c = e[i], u = null, f = c > 239 ? 4 : c > 223 ? 3 : c > 191 ? 2 : 1 if (i + f <= r) switch (f) { case 1: c < 128 && (u = c) break case 2: ;(o = e[i + 1]), 128 === (192 & o) && ((l = ((31 & c) << 6) | (63 & o)), l > 127 && (u = l)) break case 3: ;(o = e[i + 1]), (a = e[i + 2]), 128 === (192 & o) && 128 === (192 & a) && ((l = ((15 & c) << 12) | ((63 & o) << 6) | (63 & a)), l > 2047 && (l < 55296 || l > 57343) && (u = l)) break case 4: ;(o = e[i + 1]), (a = e[i + 2]), (s = e[i + 3]), 128 === (192 & o) && 128 === (192 & a) && 128 === (192 & s) && ((l = ((15 & c) << 18) | ((63 & o) << 12) | ((63 & a) << 6) | (63 & s)), l > 65535 && l < 1114112 && (u = l)) } null === u ? ((u = 65533), (f = 1)) : u > 65535 && ((u -= 65536), n.push(((u >>> 10) & 1023) | 55296), (u = 56320 | (1023 & u))), n.push(u), (i += f) } return j(n) } ;(r.kMaxLength = o), (t.TYPED_ARRAY_SUPPORT = a()), t.TYPED_ARRAY_SUPPORT || "undefined" === typeof console || "function" !== typeof console.error || console.error( "This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support." ), Object.defineProperty(t.prototype, "parent", { enumerable: !0, get: function () { if (t.isBuffer(this)) return this.buffer } }), Object.defineProperty(t.prototype, "offset", { enumerable: !0, get: function () { if (t.isBuffer(this)) return this.byteOffset } }), "undefined" !== typeof Symbol && null != Symbol.species && t[Symbol.species] === t && Object.defineProperty(t, Symbol.species, { value: null, configurable: !0, enumerable: !1, writable: !1 }), (t.poolSize = 8192), (t.from = function (e, t, r) { return l(e, t, r) }), (t.prototype.__proto__ = Uint8Array.prototype), (t.__proto__ = Uint8Array), (t.alloc = function (e, t, r) { return u(e, t, r) }), (t.allocUnsafe = function (e) { return f(e) }), (t.allocUnsafeSlow = function (e) { return f(e) }), (t.isBuffer = function (e) { return null != e && !0 === e._isBuffer && e !== t.prototype }), (t.compare = function (e, r) { if ( (Z(e, Uint8Array) && (e = t.from(e, e.offset, e.byteLength)), Z(r, Uint8Array) && (r = t.from(r, r.offset, r.byteLength)), !t.isBuffer(e) || !t.isBuffer(r)) ) throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array') if (e === r) return 0 for (var n = e.length, i = r.length, o = 0, a = Math.min(n, i); o < a; ++o) if (e[o] !== r[o]) { ;(n = e[o]), (i = r[o]) break } return n < i ? -1 : i < n ? 1 : 0 }), (t.isEncoding = function (e) { switch (String(e).toLowerCase()) { case "hex": case "utf8": case "utf-8": case "ascii": case "latin1": case "binary": case "base64": case "ucs2": case "ucs-2": case "utf16le": case "utf-16le": return !0 default: return !1 } }), (t.concat = function (e, r) { if (!Array.isArray(e)) throw new TypeError('"list" argument must be an Array of Buffers') if (0 === e.length) return t.alloc(0) var n if (void 0 === r) for (r = 0, n = 0; n < e.length; ++n) r += e[n].length var i = t.allocUnsafe(r), o = 0 for (n = 0; n < e.length; ++n) { var a = e[n] if ((Z(a, Uint8Array) && (a = t.from(a)), !t.isBuffer(a))) throw new TypeError('"list" argument must be an Array of Buffers') a.copy(i, o), (o += a.length) } return i }), (t.byteLength = v), (t.prototype._isBuffer = !0), (t.prototype.swap16 = function () { var e = this.length if (e % 2 !== 0) throw new RangeError("Buffer size must be a multiple of 16-bits") for (var t = 0; t < e; t += 2) w(this, t, t + 1) return this }), (t.prototype.swap32 = function () { var e = this.length if (e % 4 !== 0) throw new RangeError("Buffer size must be a multiple of 32-bits") for (var t = 0; t < e; t += 4) w(this, t, t + 3), w(this, t + 1, t + 2) return this }), (t.prototype.swap64 = function () { var e = this.length if (e % 8 !== 0) throw new RangeError("Buffer size must be a multiple of 64-bits") for (var t = 0; t < e; t += 8) w(this, t, t + 7), w(this, t + 1, t + 6), w(this, t + 2, t + 5), w(this, t + 3, t + 4) return this }), (t.prototype.toString = function () { var e = this.length return 0 === e ? "" : 0 === arguments.length ? P(this, 0, e) : b.apply(this, arguments) }), (t.prototype.toLocaleString = t.prototype.toString), (t.prototype.equals = function (e) { if (!t.isBuffer(e)) throw new TypeError("Argument must be a Buffer") return this === e || 0 === t.compare(this, e) }), (t.prototype.inspect = function () { var e = "", t = r.INSPECT_MAX_BYTES return ( (e = this.toString("hex", 0, t) .replace(/(.{2})/g, "$1 ") .trim()), this.length > t && (e += " ... "), "" ) }), (t.prototype.compare = function (e, r, n, i, o) { if ((Z(e, Uint8Array) && (e = t.from(e, e.offset, e.byteLength)), !t.isBuffer(e))) throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type ' + typeof e) if ( (void 0 === r && (r = 0), void 0 === n && (n = e ? e.length : 0), void 0 === i && (i = 0), void 0 === o && (o = this.length), r < 0 || n > e.length || i < 0 || o > this.length) ) throw new RangeError("out of range index") if (i >= o && r >= n) return 0 if (i >= o) return -1 if (r >= n) return 1 if (((r >>>= 0), (n >>>= 0), (i >>>= 0), (o >>>= 0), this === e)) return 0 for (var a = o - i, s = n - r, l = Math.min(a, s), c = this.slice(i, o), u = e.slice(r, n), f = 0; f < l; ++f) if (c[f] !== u[f]) { ;(a = c[f]), (s = u[f]) break } return a < s ? -1 : s < a ? 1 : 0 }), (t.prototype.includes = function (e, t, r) { return -1 !== this.indexOf(e, t, r) }), (t.prototype.indexOf = function (e, t, r) { return x(this, e, t, r, !0) }), (t.prototype.lastIndexOf = function (e, t, r) { return x(this, e, t, r, !1) }), (t.prototype.write = function (e, t, r, n) { if (void 0 === t) (n = "utf8"), (r = this.length), (t = 0) else if (void 0 === r && "string" === typeof t) (n = t), (r = this.length), (t = 0) else { if (!isFinite(t)) throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported") ;(t >>>= 0), isFinite(r) ? ((r >>>= 0), void 0 === n && (n = "utf8")) : ((n = r), (r = void 0)) } var i = this.length - t if (((void 0 === r || r > i) && (r = i), (e.length > 0 && (r < 0 || t < 0)) || t > this.length)) throw new RangeError("Attempt to write outside buffer bounds") n || (n = "utf8") for (var o = !1; ; ) switch (n) { case "hex": return _(this, e, t, r) case "utf8": case "utf-8": return T(this, e, t, r) case "ascii": return E(this, e, t, r) case "latin1": case "binary": return S(this, e, t, r) case "base64": return C(this, e, t, r) case "ucs2": case "ucs-2": case "utf16le": case "utf-16le": return k(this, e, t, r) default: if (o) throw new TypeError("Unknown encoding: " + n) ;(n = ("" + n).toLowerCase()), (o = !0) } }), (t.prototype.toJSON = function () { return { type: "Buffer", data: Array.prototype.slice.call(this._arr || this, 0) } }) var O = 4096 function j(e) { var t = e.length if (t <= O) return String.fromCharCode.apply(String, e) var r = "", n = 0 while (n < t) r += String.fromCharCode.apply(String, e.slice(n, (n += O))) return r } function R(e, t, r) { var n = "" r = Math.min(e.length, r) for (var i = t; i < r; ++i) n += String.fromCharCode(127 & e[i]) return n } function I(e, t, r) { var n = "" r = Math.min(e.length, r) for (var i = t; i < r; ++i) n += String.fromCharCode(e[i]) return n } function N(e, t, r) { var n = e.length ;(!t || t < 0) && (t = 0), (!r || r < 0 || r > n) && (r = n) for (var i = "", o = t; o < r; ++o) i += W(e[o]) return i } function M(e, t, r) { for (var n = e.slice(t, r), i = "", o = 0; o < n.length; o += 2) i += String.fromCharCode(n[o] + 256 * n[o + 1]) return i } function D(e, t, r) { if (e % 1 !== 0 || e < 0) throw new RangeError("offset is not uint") if (e + t > r) throw new RangeError("Trying to access beyond buffer length") } function B(e, r, n, i, o, a) { if (!t.isBuffer(e)) throw new TypeError('"buffer" argument must be a Buffer instance') if (r > o || r < a) throw new RangeError('"value" argument is out of bounds') if (n + i > e.length) throw new RangeError("Index out of range") } function F(e, t, r, n, i, o) { if (r + n > e.length) throw new RangeError("Index out of range") if (r < 0) throw new RangeError("Index out of range") } function U(e, t, r, n, o) { return ( (t = +t), (r >>>= 0), o || F(e, t, r, 4, 34028234663852886e22, -34028234663852886e22), i.write(e, t, r, n, 23, 4), r + 4 ) } function z(e, t, r, n, o) { return ( (t = +t), (r >>>= 0), o || F(e, t, r, 8, 17976931348623157e292, -17976931348623157e292), i.write(e, t, r, n, 52, 8), r + 8 ) } ;(t.prototype.slice = function (e, r) { var n = this.length ;(e = ~~e), (r = void 0 === r ? n : ~~r), e < 0 ? ((e += n), e < 0 && (e = 0)) : e > n && (e = n), r < 0 ? ((r += n), r < 0 && (r = 0)) : r > n && (r = n), r < e && (r = e) var i = this.subarray(e, r) return (i.__proto__ = t.prototype), i }), (t.prototype.readUIntLE = function (e, t, r) { ;(e >>>= 0), (t >>>= 0), r || D(e, t, this.length) var n = this[e], i = 1, o = 0 while (++o < t && (i *= 256)) n += this[e + o] * i return n }), (t.prototype.readUIntBE = function (e, t, r) { ;(e >>>= 0), (t >>>= 0), r || D(e, t, this.length) var n = this[e + --t], i = 1 while (t > 0 && (i *= 256)) n += this[e + --t] * i return n }), (t.prototype.readUInt8 = function (e, t) { return (e >>>= 0), t || D(e, 1, this.length), this[e] }), (t.prototype.readUInt16LE = function (e, t) { return (e >>>= 0), t || D(e, 2, this.length), this[e] | (this[e + 1] << 8) }), (t.prototype.readUInt16BE = function (e, t) { return (e >>>= 0), t || D(e, 2, this.length), (this[e] << 8) | this[e + 1] }), (t.prototype.readUInt32LE = function (e, t) { return ( (e >>>= 0), t || D(e, 4, this.length), (this[e] | (this[e + 1] << 8) | (this[e + 2] << 16)) + 16777216 * this[e + 3] ) }), (t.prototype.readUInt32BE = function (e, t) { return ( (e >>>= 0), t || D(e, 4, this.length), 16777216 * this[e] + ((this[e + 1] << 16) | (this[e + 2] << 8) | this[e + 3]) ) }), (t.prototype.readIntLE = function (e, t, r) { ;(e >>>= 0), (t >>>= 0), r || D(e, t, this.length) var n = this[e], i = 1, o = 0 while (++o < t && (i *= 256)) n += this[e + o] * i return (i *= 128), n >= i && (n -= Math.pow(2, 8 * t)), n }), (t.prototype.readIntBE = function (e, t, r) { ;(e >>>= 0), (t >>>= 0), r || D(e, t, this.length) var n = t, i = 1, o = this[e + --n] while (n > 0 && (i *= 256)) o += this[e + --n] * i return (i *= 128), o >= i && (o -= Math.pow(2, 8 * t)), o }), (t.prototype.readInt8 = function (e, t) { return (e >>>= 0), t || D(e, 1, this.length), 128 & this[e] ? -1 * (255 - this[e] + 1) : this[e] }), (t.prototype.readInt16LE = function (e, t) { ;(e >>>= 0), t || D(e, 2, this.length) var r = this[e] | (this[e + 1] << 8) return 32768 & r ? 4294901760 | r : r }), (t.prototype.readInt16BE = function (e, t) { ;(e >>>= 0), t || D(e, 2, this.length) var r = this[e + 1] | (this[e] << 8) return 32768 & r ? 4294901760 | r : r }), (t.prototype.readInt32LE = function (e, t) { return ( (e >>>= 0), t || D(e, 4, this.length), this[e] | (this[e + 1] << 8) | (this[e + 2] << 16) | (this[e + 3] << 24) ) }), (t.prototype.readInt32BE = function (e, t) { return ( (e >>>= 0), t || D(e, 4, this.length), (this[e] << 24) | (this[e + 1] << 16) | (this[e + 2] << 8) | this[e + 3] ) }), (t.prototype.readFloatLE = function (e, t) { return (e >>>= 0), t || D(e, 4, this.length), i.read(this, e, !0, 23, 4) }), (t.prototype.readFloatBE = function (e, t) { return (e >>>= 0), t || D(e, 4, this.length), i.read(this, e, !1, 23, 4) }), (t.prototype.readDoubleLE = function (e, t) { return (e >>>= 0), t || D(e, 8, this.length), i.read(this, e, !0, 52, 8) }), (t.prototype.readDoubleBE = function (e, t) { return (e >>>= 0), t || D(e, 8, this.length), i.read(this, e, !1, 52, 8) }), (t.prototype.writeUIntLE = function (e, t, r, n) { if (((e = +e), (t >>>= 0), (r >>>= 0), !n)) { var i = Math.pow(2, 8 * r) - 1 B(this, e, t, r, i, 0) } var o = 1, a = 0 this[t] = 255 & e while (++a < r && (o *= 256)) this[t + a] = (e / o) & 255 return t + r }), (t.prototype.writeUIntBE = function (e, t, r, n) { if (((e = +e), (t >>>= 0), (r >>>= 0), !n)) { var i = Math.pow(2, 8 * r) - 1 B(this, e, t, r, i, 0) } var o = r - 1, a = 1 this[t + o] = 255 & e while (--o >= 0 && (a *= 256)) this[t + o] = (e / a) & 255 return t + r }), (t.prototype.writeUInt8 = function (e, t, r) { return (e = +e), (t >>>= 0), r || B(this, e, t, 1, 255, 0), (this[t] = 255 & e), t + 1 }), (t.prototype.writeUInt16LE = function (e, t, r) { return (e = +e), (t >>>= 0), r || B(this, e, t, 2, 65535, 0), (this[t] = 255 & e), (this[t + 1] = e >>> 8), t + 2 }), (t.prototype.writeUInt16BE = function (e, t, r) { return (e = +e), (t >>>= 0), r || B(this, e, t, 2, 65535, 0), (this[t] = e >>> 8), (this[t + 1] = 255 & e), t + 2 }), (t.prototype.writeUInt32LE = function (e, t, r) { return ( (e = +e), (t >>>= 0), r || B(this, e, t, 4, 4294967295, 0), (this[t + 3] = e >>> 24), (this[t + 2] = e >>> 16), (this[t + 1] = e >>> 8), (this[t] = 255 & e), t + 4 ) }), (t.prototype.writeUInt32BE = function (e, t, r) { return ( (e = +e), (t >>>= 0), r || B(this, e, t, 4, 4294967295, 0), (this[t] = e >>> 24), (this[t + 1] = e >>> 16), (this[t + 2] = e >>> 8), (this[t + 3] = 255 & e), t + 4 ) }), (t.prototype.writeIntLE = function (e, t, r, n) { if (((e = +e), (t >>>= 0), !n)) { var i = Math.pow(2, 8 * r - 1) B(this, e, t, r, i - 1, -i) } var o = 0, a = 1, s = 0 this[t] = 255 & e while (++o < r && (a *= 256)) e < 0 && 0 === s && 0 !== this[t + o - 1] && (s = 1), (this[t + o] = (((e / a) >> 0) - s) & 255) return t + r }), (t.prototype.writeIntBE = function (e, t, r, n) { if (((e = +e), (t >>>= 0), !n)) { var i = Math.pow(2, 8 * r - 1) B(this, e, t, r, i - 1, -i) } var o = r - 1, a = 1, s = 0 this[t + o] = 255 & e while (--o >= 0 && (a *= 256)) e < 0 && 0 === s && 0 !== this[t + o + 1] && (s = 1), (this[t + o] = (((e / a) >> 0) - s) & 255) return t + r }), (t.prototype.writeInt8 = function (e, t, r) { return (e = +e), (t >>>= 0), r || B(this, e, t, 1, 127, -128), e < 0 && (e = 255 + e + 1), (this[t] = 255 & e), t + 1 }), (t.prototype.writeInt16LE = function (e, t, r) { return ( (e = +e), (t >>>= 0), r || B(this, e, t, 2, 32767, -32768), (this[t] = 255 & e), (this[t + 1] = e >>> 8), t + 2 ) }), (t.prototype.writeInt16BE = function (e, t, r) { return ( (e = +e), (t >>>= 0), r || B(this, e, t, 2, 32767, -32768), (this[t] = e >>> 8), (this[t + 1] = 255 & e), t + 2 ) }), (t.prototype.writeInt32LE = function (e, t, r) { return ( (e = +e), (t >>>= 0), r || B(this, e, t, 4, 2147483647, -2147483648), (this[t] = 255 & e), (this[t + 1] = e >>> 8), (this[t + 2] = e >>> 16), (this[t + 3] = e >>> 24), t + 4 ) }), (t.prototype.writeInt32BE = function (e, t, r) { return ( (e = +e), (t >>>= 0), r || B(this, e, t, 4, 2147483647, -2147483648), e < 0 && (e = 4294967295 + e + 1), (this[t] = e >>> 24), (this[t + 1] = e >>> 16), (this[t + 2] = e >>> 8), (this[t + 3] = 255 & e), t + 4 ) }), (t.prototype.writeFloatLE = function (e, t, r) { return U(this, e, t, !0, r) }), (t.prototype.writeFloatBE = function (e, t, r) { return U(this, e, t, !1, r) }), (t.prototype.writeDoubleLE = function (e, t, r) { return z(this, e, t, !0, r) }), (t.prototype.writeDoubleBE = function (e, t, r) { return z(this, e, t, !1, r) }), (t.prototype.copy = function (e, r, n, i) { if (!t.isBuffer(e)) throw new TypeError("argument should be a Buffer") if ( (n || (n = 0), i || 0 === i || (i = this.length), r >= e.length && (r = e.length), r || (r = 0), i > 0 && i < n && (i = n), i === n) ) return 0 if (0 === e.length || 0 === this.length) return 0 if (r < 0) throw new RangeError("targetStart out of bounds") if (n < 0 || n >= this.length) throw new RangeError("Index out of range") if (i < 0) throw new RangeError("sourceEnd out of bounds") i > this.length && (i = this.length), e.length - r < i - n && (i = e.length - r + n) var o = i - n if (this === e && "function" === typeof Uint8Array.prototype.copyWithin) this.copyWithin(r, n, i) else if (this === e && n < r && r < i) for (var a = o - 1; a >= 0; --a) e[a + r] = this[a + n] else Uint8Array.prototype.set.call(e, this.subarray(n, i), r) return o }), (t.prototype.fill = function (e, r, n, i) { if ("string" === typeof e) { if ( ("string" === typeof r ? ((i = r), (r = 0), (n = this.length)) : "string" === typeof n && ((i = n), (n = this.length)), void 0 !== i && "string" !== typeof i) ) throw new TypeError("encoding must be a string") if ("string" === typeof i && !t.isEncoding(i)) throw new TypeError("Unknown encoding: " + i) if (1 === e.length) { var o = e.charCodeAt(0) ;(("utf8" === i && o < 128) || "latin1" === i) && (e = o) } } else "number" === typeof e && (e &= 255) if (r < 0 || this.length < r || this.length < n) throw new RangeError("Out of range index") if (n <= r) return this var a if (((r >>>= 0), (n = void 0 === n ? this.length : n >>> 0), e || (e = 0), "number" === typeof e)) for (a = r; a < n; ++a) this[a] = e else { var s = t.isBuffer(e) ? e : t.from(e, i), l = s.length if (0 === l) throw new TypeError('The value "' + e + '" is invalid for argument "value"') for (a = 0; a < n - r; ++a) this[a + r] = s[a % l] } return this }) var q = /[^+/0-9A-Za-z-_]/g function G(e) { if (((e = e.split("=")[0]), (e = e.trim().replace(q, "")), e.length < 2)) return "" while (e.length % 4 !== 0) e += "=" return e } function W(e) { return e < 16 ? "0" + e.toString(16) : e.toString(16) } function V(e, t) { var r t = t || 1 / 0 for (var n = e.length, i = null, o = [], a = 0; a < n; ++a) { if (((r = e.charCodeAt(a)), r > 55295 && r < 57344)) { if (!i) { if (r > 56319) { ;(t -= 3) > -1 && o.push(239, 191, 189) continue } if (a + 1 === n) { ;(t -= 3) > -1 && o.push(239, 191, 189) continue } i = r continue } if (r < 56320) { ;(t -= 3) > -1 && o.push(239, 191, 189), (i = r) continue } r = 65536 + (((i - 55296) << 10) | (r - 56320)) } else i && (t -= 3) > -1 && o.push(239, 191, 189) if (((i = null), r < 128)) { if ((t -= 1) < 0) break o.push(r) } else if (r < 2048) { if ((t -= 2) < 0) break o.push((r >> 6) | 192, (63 & r) | 128) } else if (r < 65536) { if ((t -= 3) < 0) break o.push((r >> 12) | 224, ((r >> 6) & 63) | 128, (63 & r) | 128) } else { if (!(r < 1114112)) throw new Error("Invalid code point") if ((t -= 4) < 0) break o.push((r >> 18) | 240, ((r >> 12) & 63) | 128, ((r >> 6) & 63) | 128, (63 & r) | 128) } } return o } function H(e) { for (var t = [], r = 0; r < e.length; ++r) t.push(255 & e.charCodeAt(r)) return t } function X(e, t) { for (var r, n, i, o = [], a = 0; a < e.length; ++a) { if ((t -= 2) < 0) break ;(r = e.charCodeAt(a)), (n = r >> 8), (i = r % 256), o.push(i), o.push(n) } return o } function Y(e) { return n.toByteArray(G(e)) } function K(e, t, r, n) { for (var i = 0; i < n; ++i) { if (i + r >= t.length || i >= e.length) break t[i + r] = e[i] } return i } function Z(e, t) { return ( e instanceof t || (null != e && null != e.constructor && null != e.constructor.name && e.constructor.name === t.name) ) } function Q(e) { return e !== e } }).call(this, e("buffer").Buffer) }, { "base64-js": 77, buffer: 99, ieee754: 299 } ], 100: [ function (e, t, r) { t.exports = { 100: "Continue", 101: "Switching Protocols", 102: "Processing", 200: "OK", 201: "Created", 202: "Accepted", 203: "Non-Authoritative Information", 204: "No Content", 205: "Reset Content", 206: "Partial Content", 207: "Multi-Status", 208: "Already Reported", 226: "IM Used", 300: "Multiple Choices", 301: "Moved Permanently", 302: "Found", 303: "See Other", 304: "Not Modified", 305: "Use Proxy", 307: "Temporary Redirect", 308: "Permanent Redirect", 400: "Bad Request", 401: "Unauthorized", 402: "Payment Required", 403: "Forbidden", 404: "Not Found", 405: "Method Not Allowed", 406: "Not Acceptable", 407: "Proxy Authentication Required", 408: "Request Timeout", 409: "Conflict", 410: "Gone", 411: "Length Required", 412: "Precondition Failed", 413: "Payload Too Large", 414: "URI Too Long", 415: "Unsupported Media Type", 416: "Range Not Satisfiable", 417: "Expectation Failed", 418: "I'm a teapot", 421: "Misdirected Request", 422: "Unprocessable Entity", 423: "Locked", 424: "Failed Dependency", 425: "Unordered Collection", 426: "Upgrade Required", 428: "Precondition Required", 429: "Too Many Requests", 431: "Request Header Fields Too Large", 451: "Unavailable For Legal Reasons", 500: "Internal Server Error", 501: "Not Implemented", 502: "Bad Gateway", 503: "Service Unavailable", 504: "Gateway Timeout", 505: "HTTP Version Not Supported", 506: "Variant Also Negotiates", 507: "Insufficient Storage", 508: "Loop Detected", 509: "Bandwidth Limit Exceeded", 510: "Not Extended", 511: "Network Authentication Required" } }, {} ], 101: [ function (e, t, r) { /*! * copy-to - index.js * Copyright(c) 2014 dead_horse * MIT Licensed */ "use strict" var n = Array.prototype.slice function i(e, t) { if (!(this instanceof i)) return new i(e, t) ;(this.src = e), (this._withAccess = t) } function o(e, t) { return void 0 === e[t] && void 0 === e.__lookupGetter__(t) && void 0 === e.__lookupSetter__(t) } ;(t.exports = i), (i.prototype.withAccess = function (e) { return (this._withAccess = !1 !== e), this }), (i.prototype.pick = function (e) { return Array.isArray(e) || (e = n.call(arguments)), e.length && (this.keys = e), this }), (i.prototype.to = function (e) { if (((e = e || {}), !this.src)) return e var t = this.keys || Object.keys(this.src) if (!this._withAccess) { for (var r = 0; r < t.length; r++) (n = t[r]), void 0 === e[n] && (e[n] = this.src[n]) return e } for (r = 0; r < t.length; r++) { var n = t[r] if (o(e, n)) { var i = this.src.__lookupGetter__(n), a = this.src.__lookupSetter__(n) i && e.__defineGetter__(n, i), a && e.__defineSetter__(n, a), i || a || (e[n] = this.src[n]) } } return e }), (i.prototype.toCover = function (e) { for (var t = this.keys || Object.keys(this.src), r = 0; r < t.length; r++) { var n = t[r] delete e[n] var i = this.src.__lookupGetter__(n), o = this.src.__lookupSetter__(n) i && e.__defineGetter__(n, i), o && e.__defineSetter__(n, o), i || o || (e[n] = this.src[n]) } }), (i.prototype.override = i.prototype.toCover), (i.prototype.and = function (e) { var t = {} return this.to(t), (this.src = e), this.to(t), (this.src = t), this }) }, {} ], 102: [ function (e, t, r) { t.exports = function (e) { if ("function" != typeof e) throw TypeError(String(e) + " is not a function") return e } }, {} ], 103: [ function (e, t, r) { var n = e("../internals/is-object") t.exports = function (e) { if (!n(e) && null !== e) throw TypeError("Can't set " + String(e) + " as a prototype") return e } }, { "../internals/is-object": 164 } ], 104: [ function (e, t, r) { var n = e("../internals/well-known-symbol"), i = e("../internals/object-create"), o = e("../internals/object-define-property"), a = n("unscopables"), s = Array.prototype void 0 == s[a] && o.f(s, a, { configurable: !0, value: i(null) }), (t.exports = function (e) { s[a][e] = !0 }) }, { "../internals/object-create": 178, "../internals/object-define-property": 180, "../internals/well-known-symbol": 231 } ], 105: [ function (e, t, r) { "use strict" var n = e("../internals/string-multibyte").charAt t.exports = function (e, t, r) { return t + (r ? n(e, t).length : 1) } }, { "../internals/string-multibyte": 211 } ], 106: [ function (e, t, r) { t.exports = function (e, t, r) { if (!(e instanceof t)) throw TypeError("Incorrect " + (r ? r + " " : "") + "invocation") return e } }, {} ], 107: [ function (e, t, r) { var n = e("../internals/is-object") t.exports = function (e) { if (!n(e)) throw TypeError(String(e) + " is not an object") return e } }, { "../internals/is-object": 164 } ], 108: [ function (e, t, r) { t.exports = "undefined" !== typeof ArrayBuffer && "undefined" !== typeof DataView }, {} ], 109: [ function (e, t, r) { "use strict" var n, i = e("../internals/array-buffer-native"), o = e("../internals/descriptors"), a = e("../internals/global"), s = e("../internals/is-object"), l = e("../internals/has"), c = e("../internals/classof"), u = e("../internals/create-non-enumerable-property"), f = e("../internals/redefine"), p = e("../internals/object-define-property").f, d = e("../internals/object-get-prototype-of"), h = e("../internals/object-set-prototype-of"), m = e("../internals/well-known-symbol"), g = e("../internals/uid"), y = a.Int8Array, v = y && y.prototype, b = a.Uint8ClampedArray, w = b && b.prototype, x = y && d(y), A = v && d(v), _ = Object.prototype, T = _.isPrototypeOf, E = m("toStringTag"), S = g("TYPED_ARRAY_TAG"), C = i && !!h && "Opera" !== c(a.opera), k = !1, L = { Int8Array: 1, Uint8Array: 1, Uint8ClampedArray: 1, Int16Array: 2, Uint16Array: 2, Int32Array: 4, Uint32Array: 4, Float32Array: 4, Float64Array: 8 }, P = function (e) { var t = c(e) return "DataView" === t || l(L, t) }, O = function (e) { return s(e) && l(L, c(e)) }, j = function (e) { if (O(e)) return e throw TypeError("Target is not a typed array") }, R = function (e) { if (h) { if (T.call(x, e)) return e } else for (var t in L) if (l(L, n)) { var r = a[t] if (r && (e === r || T.call(r, e))) return e } throw TypeError("Target is not a typed array constructor") }, I = function (e, t, r) { if (o) { if (r) for (var n in L) { var i = a[n] i && l(i.prototype, e) && delete i.prototype[e] } ;(A[e] && !r) || f(A, e, r ? t : (C && v[e]) || t) } }, N = function (e, t, r) { var n, i if (o) { if (h) { if (r) for (n in L) (i = a[n]), i && l(i, e) && delete i[e] if (x[e] && !r) return try { return f(x, e, r ? t : (C && y[e]) || t) } catch (s) {} } for (n in L) (i = a[n]), !i || (i[e] && !r) || f(i, e, t) } } for (n in L) a[n] || (C = !1) if ( (!C || "function" != typeof x || x === Function.prototype) && ((x = function () { throw TypeError("Incorrect invocation") }), C) ) for (n in L) a[n] && h(a[n], x) if ((!C || !A || A === _) && ((A = x.prototype), C)) for (n in L) a[n] && h(a[n].prototype, A) if ((C && d(w) !== A && h(w, A), o && !l(A, E))) for (n in ((k = !0), p(A, E, { get: function () { return s(this) ? this[S] : void 0 } }), L)) a[n] && u(a[n], S, n) t.exports = { NATIVE_ARRAY_BUFFER_VIEWS: C, TYPED_ARRAY_TAG: k && S, aTypedArray: j, aTypedArrayConstructor: R, exportTypedArrayMethod: I, exportTypedArrayStaticMethod: N, isView: P, isTypedArray: O, TypedArray: x, TypedArrayPrototype: A } }, { "../internals/array-buffer-native": 108, "../internals/classof": 126, "../internals/create-non-enumerable-property": 131, "../internals/descriptors": 136, "../internals/global": 150, "../internals/has": 151, "../internals/is-object": 164, "../internals/object-define-property": 180, "../internals/object-get-prototype-of": 185, "../internals/object-set-prototype-of": 189, "../internals/redefine": 197, "../internals/uid": 228, "../internals/well-known-symbol": 231 } ], 110: [ function (e, t, r) { "use strict" var n = e("../internals/global"), i = e("../internals/descriptors"), o = e("../internals/array-buffer-native"), a = e("../internals/create-non-enumerable-property"), s = e("../internals/redefine-all"), l = e("../internals/fails"), c = e("../internals/an-instance"), u = e("../internals/to-integer"), f = e("../internals/to-length"), p = e("../internals/to-index"), d = e("../internals/ieee754"), h = e("../internals/object-get-prototype-of"), m = e("../internals/object-set-prototype-of"), g = e("../internals/object-get-own-property-names").f, y = e("../internals/object-define-property").f, v = e("../internals/array-fill"), b = e("../internals/set-to-string-tag"), w = e("../internals/internal-state"), x = w.get, A = w.set, _ = "ArrayBuffer", T = "DataView", E = "prototype", S = "Wrong length", C = "Wrong index", k = n[_], L = k, P = n[T], O = P && P[E], j = Object.prototype, R = n.RangeError, I = d.pack, N = d.unpack, M = function (e) { return [255 & e] }, D = function (e) { return [255 & e, (e >> 8) & 255] }, B = function (e) { return [255 & e, (e >> 8) & 255, (e >> 16) & 255, (e >> 24) & 255] }, F = function (e) { return (e[3] << 24) | (e[2] << 16) | (e[1] << 8) | e[0] }, U = function (e) { return I(e, 23, 4) }, z = function (e) { return I(e, 52, 8) }, q = function (e, t) { y(e[E], t, { get: function () { return x(this)[t] } }) }, G = function (e, t, r, n) { var i = p(r), o = x(e) if (i + t > o.byteLength) throw R(C) var a = x(o.buffer).bytes, s = i + o.byteOffset, l = a.slice(s, s + t) return n ? l : l.reverse() }, W = function (e, t, r, n, i, o) { var a = p(r), s = x(e) if (a + t > s.byteLength) throw R(C) for (var l = x(s.buffer).bytes, c = a + s.byteOffset, u = n(+i), f = 0; f < t; f++) l[c + f] = u[o ? f : t - f - 1] } if (o) { if ( !l(function () { k(1) }) || !l(function () { new k(-1) }) || l(function () { return new k(), new k(1.5), new k(NaN), k.name != _ }) ) { L = function (e) { return c(this, L), new k(p(e)) } for (var V, H = (L[E] = k[E]), X = g(k), Y = 0; X.length > Y; ) (V = X[Y++]) in L || a(L, V, k[V]) H.constructor = L } m && h(O) !== j && m(O, j) var K = new P(new L(2)), Z = O.setInt8 K.setInt8(0, 2147483648), K.setInt8(1, 2147483649), (!K.getInt8(0) && K.getInt8(1)) || s( O, { setInt8: function (e, t) { Z.call(this, e, (t << 24) >> 24) }, setUint8: function (e, t) { Z.call(this, e, (t << 24) >> 24) } }, { unsafe: !0 } ) } else (L = function (e) { c(this, L, _) var t = p(e) A(this, { bytes: v.call(new Array(t), 0), byteLength: t }), i || (this.byteLength = t) }), (P = function (e, t, r) { c(this, P, T), c(e, L, T) var n = x(e).byteLength, o = u(t) if (o < 0 || o > n) throw R("Wrong offset") if (((r = void 0 === r ? n - o : f(r)), o + r > n)) throw R(S) A(this, { buffer: e, byteLength: r, byteOffset: o }), i || ((this.buffer = e), (this.byteLength = r), (this.byteOffset = o)) }), i && (q(L, "byteLength"), q(P, "buffer"), q(P, "byteLength"), q(P, "byteOffset")), s(P[E], { getInt8: function (e) { return (G(this, 1, e)[0] << 24) >> 24 }, getUint8: function (e) { return G(this, 1, e)[0] }, getInt16: function (e) { var t = G(this, 2, e, arguments.length > 1 ? arguments[1] : void 0) return (((t[1] << 8) | t[0]) << 16) >> 16 }, getUint16: function (e) { var t = G(this, 2, e, arguments.length > 1 ? arguments[1] : void 0) return (t[1] << 8) | t[0] }, getInt32: function (e) { return F(G(this, 4, e, arguments.length > 1 ? arguments[1] : void 0)) }, getUint32: function (e) { return F(G(this, 4, e, arguments.length > 1 ? arguments[1] : void 0)) >>> 0 }, getFloat32: function (e) { return N(G(this, 4, e, arguments.length > 1 ? arguments[1] : void 0), 23) }, getFloat64: function (e) { return N(G(this, 8, e, arguments.length > 1 ? arguments[1] : void 0), 52) }, setInt8: function (e, t) { W(this, 1, e, M, t) }, setUint8: function (e, t) { W(this, 1, e, M, t) }, setInt16: function (e, t) { W(this, 2, e, D, t, arguments.length > 2 ? arguments[2] : void 0) }, setUint16: function (e, t) { W(this, 2, e, D, t, arguments.length > 2 ? arguments[2] : void 0) }, setInt32: function (e, t) { W(this, 4, e, B, t, arguments.length > 2 ? arguments[2] : void 0) }, setUint32: function (e, t) { W(this, 4, e, B, t, arguments.length > 2 ? arguments[2] : void 0) }, setFloat32: function (e, t) { W(this, 4, e, U, t, arguments.length > 2 ? arguments[2] : void 0) }, setFloat64: function (e, t) { W(this, 8, e, z, t, arguments.length > 2 ? arguments[2] : void 0) } }) b(L, _), b(P, T), (t.exports = { ArrayBuffer: L, DataView: P }) }, { "../internals/an-instance": 106, "../internals/array-buffer-native": 108, "../internals/array-fill": 112, "../internals/create-non-enumerable-property": 131, "../internals/descriptors": 136, "../internals/fails": 145, "../internals/global": 150, "../internals/ieee754": 156, "../internals/internal-state": 160, "../internals/object-define-property": 180, "../internals/object-get-own-property-names": 183, "../internals/object-get-prototype-of": 185, "../internals/object-set-prototype-of": 189, "../internals/redefine-all": 196, "../internals/set-to-string-tag": 206, "../internals/to-index": 216, "../internals/to-integer": 218, "../internals/to-length": 219 } ], 111: [ function (e, t, r) { "use strict" var n = e("../internals/to-object"), i = e("../internals/to-absolute-index"), o = e("../internals/to-length"), a = Math.min t.exports = [].copyWithin || function (e, t) { var r = n(this), s = o(r.length), l = i(e, s), c = i(t, s), u = arguments.length > 2 ? arguments[2] : void 0, f = a((void 0 === u ? s : i(u, s)) - c, s - l), p = 1 c < l && l < c + f && ((p = -1), (c += f - 1), (l += f - 1)) while (f-- > 0) c in r ? (r[l] = r[c]) : delete r[l], (l += p), (c += p) return r } }, { "../internals/to-absolute-index": 215, "../internals/to-length": 219, "../internals/to-object": 220 } ], 112: [ function (e, t, r) { "use strict" var n = e("../internals/to-object"), i = e("../internals/to-absolute-index"), o = e("../internals/to-length") t.exports = function (e) { var t = n(this), r = o(t.length), a = arguments.length, s = i(a > 1 ? arguments[1] : void 0, r), l = a > 2 ? arguments[2] : void 0, c = void 0 === l ? r : i(l, r) while (c > s) t[s++] = e return t } }, { "../internals/to-absolute-index": 215, "../internals/to-length": 219, "../internals/to-object": 220 } ], 113: [ function (e, t, r) { "use strict" var n = e("../internals/array-iteration").forEach, i = e("../internals/array-method-is-strict"), o = e("../internals/array-method-uses-to-length"), a = i("forEach"), s = o("forEach") t.exports = a && s ? [].forEach : function (e) { return n(this, e, arguments.length > 1 ? arguments[1] : void 0) } }, { "../internals/array-iteration": 116, "../internals/array-method-is-strict": 119, "../internals/array-method-uses-to-length": 120 } ], 114: [ function (e, t, r) { "use strict" var n = e("../internals/function-bind-context"), i = e("../internals/to-object"), o = e("../internals/call-with-safe-iteration-closing"), a = e("../internals/is-array-iterator-method"), s = e("../internals/to-length"), l = e("../internals/create-property"), c = e("../internals/get-iterator-method") t.exports = function (e) { var t, r, u, f, p, d, h = i(e), m = "function" == typeof this ? this : Array, g = arguments.length, y = g > 1 ? arguments[1] : void 0, v = void 0 !== y, b = c(h), w = 0 if ((v && (y = n(y, g > 2 ? arguments[2] : void 0, 2)), void 0 == b || (m == Array && a(b)))) for (t = s(h.length), r = new m(t); t > w; w++) (d = v ? y(h[w], w) : h[w]), l(r, w, d) else for (f = b.call(h), p = f.next, r = new m(); !(u = p.call(f)).done; w++) (d = v ? o(f, y, [u.value, w], !0) : u.value), l(r, w, d) return (r.length = w), r } }, { "../internals/call-with-safe-iteration-closing": 123, "../internals/create-property": 133, "../internals/function-bind-context": 147, "../internals/get-iterator-method": 149, "../internals/is-array-iterator-method": 161, "../internals/to-length": 219, "../internals/to-object": 220 } ], 115: [ function (e, t, r) { var n = e("../internals/to-indexed-object"), i = e("../internals/to-length"), o = e("../internals/to-absolute-index"), a = function (e) { return function (t, r, a) { var s, l = n(t), c = i(l.length), u = o(a, c) if (e && r != r) { while (c > u) if (((s = l[u++]), s != s)) return !0 } else for (; c > u; u++) if ((e || u in l) && l[u] === r) return e || u || 0 return !e && -1 } } t.exports = { includes: a(!0), indexOf: a(!1) } }, { "../internals/to-absolute-index": 215, "../internals/to-indexed-object": 217, "../internals/to-length": 219 } ], 116: [ function (e, t, r) { var n = e("../internals/function-bind-context"), i = e("../internals/indexed-object"), o = e("../internals/to-object"), a = e("../internals/to-length"), s = e("../internals/array-species-create"), l = [].push, c = function (e) { var t = 1 == e, r = 2 == e, c = 3 == e, u = 4 == e, f = 6 == e, p = 5 == e || f return function (d, h, m, g) { for ( var y, v, b = o(d), w = i(b), x = n(h, m, 3), A = a(w.length), _ = 0, T = g || s, E = t ? T(d, A) : r ? T(d, 0) : void 0; A > _; _++ ) if ((p || _ in w) && ((y = w[_]), (v = x(y, _, b)), e)) if (t) E[_] = v else if (v) switch (e) { case 3: return !0 case 5: return y case 6: return _ case 2: l.call(E, y) } else if (u) return !1 return f ? -1 : c || u ? u : E } } t.exports = { forEach: c(0), map: c(1), filter: c(2), some: c(3), every: c(4), find: c(5), findIndex: c(6) } }, { "../internals/array-species-create": 122, "../internals/function-bind-context": 147, "../internals/indexed-object": 157, "../internals/to-length": 219, "../internals/to-object": 220 } ], 117: [ function (e, t, r) { "use strict" var n = e("../internals/to-indexed-object"), i = e("../internals/to-integer"), o = e("../internals/to-length"), a = e("../internals/array-method-is-strict"), s = e("../internals/array-method-uses-to-length"), l = Math.min, c = [].lastIndexOf, u = !!c && 1 / [1].lastIndexOf(1, -0) < 0, f = a("lastIndexOf"), p = s("indexOf", { ACCESSORS: !0, 1: 0 }), d = u || !f || !p t.exports = d ? function (e) { if (u) return c.apply(this, arguments) || 0 var t = n(this), r = o(t.length), a = r - 1 for (arguments.length > 1 && (a = l(a, i(arguments[1]))), a < 0 && (a = r + a); a >= 0; a--) if (a in t && t[a] === e) return a || 0 return -1 } : c }, { "../internals/array-method-is-strict": 119, "../internals/array-method-uses-to-length": 120, "../internals/to-indexed-object": 217, "../internals/to-integer": 218, "../internals/to-length": 219 } ], 118: [ function (e, t, r) { var n = e("../internals/fails"), i = e("../internals/well-known-symbol"), o = e("../internals/engine-v8-version"), a = i("species") t.exports = function (e) { return ( o >= 51 || !n(function () { var t = [], r = (t.constructor = {}) return ( (r[a] = function () { return { foo: 1 } }), 1 !== t[e](Boolean).foo ) }) ) } }, { "../internals/engine-v8-version": 142, "../internals/fails": 145, "../internals/well-known-symbol": 231 } ], 119: [ function (e, t, r) { "use strict" var n = e("../internals/fails") t.exports = function (e, t) { var r = [][e] return ( !!r && n(function () { r.call( null, t || function () { throw 1 }, 1 ) }) ) } }, { "../internals/fails": 145 } ], 120: [ function (e, t, r) { var n = e("../internals/descriptors"), i = e("../internals/fails"), o = e("../internals/has"), a = Object.defineProperty, s = {}, l = function (e) { throw e } t.exports = function (e, t) { if (o(s, e)) return s[e] t || (t = {}) var r = [][e], c = !!o(t, "ACCESSORS") && t.ACCESSORS, u = o(t, 0) ? t[0] : l, f = o(t, 1) ? t[1] : void 0 return (s[e] = !!r && !i(function () { if (c && !n) return !0 var e = { length: -1 } c ? a(e, 1, { enumerable: !0, get: l }) : (e[1] = 1), r.call(e, u, f) })) } }, { "../internals/descriptors": 136, "../internals/fails": 145, "../internals/has": 151 } ], 121: [ function (e, t, r) { var n = e("../internals/a-function"), i = e("../internals/to-object"), o = e("../internals/indexed-object"), a = e("../internals/to-length"), s = function (e) { return function (t, r, s, l) { n(r) var c = i(t), u = o(c), f = a(c.length), p = e ? f - 1 : 0, d = e ? -1 : 1 if (s < 2) while (1) { if (p in u) { ;(l = u[p]), (p += d) break } if (((p += d), e ? p < 0 : f <= p)) throw TypeError("Reduce of empty array with no initial value") } for (; e ? p >= 0 : f > p; p += d) p in u && (l = r(l, u[p], p, c)) return l } } t.exports = { left: s(!1), right: s(!0) } }, { "../internals/a-function": 102, "../internals/indexed-object": 157, "../internals/to-length": 219, "../internals/to-object": 220 } ], 122: [ function (e, t, r) { var n = e("../internals/is-object"), i = e("../internals/is-array"), o = e("../internals/well-known-symbol"), a = o("species") t.exports = function (e, t) { var r return ( i(e) && ((r = e.constructor), "function" != typeof r || (r !== Array && !i(r.prototype)) ? n(r) && ((r = r[a]), null === r && (r = void 0)) : (r = void 0)), new (void 0 === r ? Array : r)(0 === t ? 0 : t) ) } }, { "../internals/is-array": 162, "../internals/is-object": 164, "../internals/well-known-symbol": 231 } ], 123: [ function (e, t, r) { var n = e("../internals/an-object"), i = e("../internals/iterator-close") t.exports = function (e, t, r, o) { try { return o ? t(n(r)[0], r[1]) : t(r) } catch (a) { throw (i(e), a) } } }, { "../internals/an-object": 107, "../internals/iterator-close": 168 } ], 124: [ function (e, t, r) { var n = e("../internals/well-known-symbol"), i = n("iterator"), o = !1 try { var a = 0, s = { next: function () { return { done: !!a++ } }, return: function () { o = !0 } } ;(s[i] = function () { return this }), Array.from(s, function () { throw 2 }) } catch (l) {} t.exports = function (e, t) { if (!t && !o) return !1 var r = !1 try { var n = {} ;(n[i] = function () { return { next: function () { return { done: (r = !0) } } } }), e(n) } catch (l) {} return r } }, { "../internals/well-known-symbol": 231 } ], 125: [ function (e, t, r) { var n = {}.toString t.exports = function (e) { return n.call(e).slice(8, -1) } }, {} ], 126: [ function (e, t, r) { var n = e("../internals/to-string-tag-support"), i = e("../internals/classof-raw"), o = e("../internals/well-known-symbol"), a = o("toStringTag"), s = "Arguments" == i( (function () { return arguments })() ), l = function (e, t) { try { return e[t] } catch (r) {} } t.exports = n ? i : function (e) { var t, r, n return void 0 === e ? "Undefined" : null === e ? "Null" : "string" == typeof (r = l((t = Object(e)), a)) ? r : s ? i(t) : "Object" == (n = i(t)) && "function" == typeof t.callee ? "Arguments" : n } }, { "../internals/classof-raw": 125, "../internals/to-string-tag-support": 224, "../internals/well-known-symbol": 231 } ], 127: [ function (e, t, r) { var n = e("../internals/has"), i = e("../internals/own-keys"), o = e("../internals/object-get-own-property-descriptor"), a = e("../internals/object-define-property") t.exports = function (e, t) { for (var r = i(t), s = a.f, l = o.f, c = 0; c < r.length; c++) { var u = r[c] n(e, u) || s(e, u, l(t, u)) } } }, { "../internals/has": 151, "../internals/object-define-property": 180, "../internals/object-get-own-property-descriptor": 181, "../internals/own-keys": 192 } ], 128: [ function (e, t, r) { var n = e("../internals/well-known-symbol"), i = n("match") t.exports = function (e) { var t = /./ try { "/./"[e](t) } catch (r) { try { return (t[i] = !1), "/./"[e](t) } catch (n) {} } return !1 } }, { "../internals/well-known-symbol": 231 } ], 129: [ function (e, t, r) { var n = e("../internals/fails") t.exports = !n(function () { function e() {} return (e.prototype.constructor = null), Object.getPrototypeOf(new e()) !== e.prototype }) }, { "../internals/fails": 145 } ], 130: [ function (e, t, r) { "use strict" var n = e("../internals/iterators-core").IteratorPrototype, i = e("../internals/object-create"), o = e("../internals/create-property-descriptor"), a = e("../internals/set-to-string-tag"), s = e("../internals/iterators"), l = function () { return this } t.exports = function (e, t, r) { var c = t + " Iterator" return ( (e.prototype = i(n, { next: o(1, r) })), a(e, c, !1, !0), (s[c] = l), e ) } }, { "../internals/create-property-descriptor": 132, "../internals/iterators": 170, "../internals/iterators-core": 169, "../internals/object-create": 178, "../internals/set-to-string-tag": 206 } ], 131: [ function (e, t, r) { var n = e("../internals/descriptors"), i = e("../internals/object-define-property"), o = e("../internals/create-property-descriptor") t.exports = n ? function (e, t, r) { return i.f(e, t, o(1, r)) } : function (e, t, r) { return (e[t] = r), e } }, { "../internals/create-property-descriptor": 132, "../internals/descriptors": 136, "../internals/object-define-property": 180 } ], 132: [ function (e, t, r) { t.exports = function (e, t) { return { enumerable: !(1 & e), configurable: !(2 & e), writable: !(4 & e), value: t } } }, {} ], 133: [ function (e, t, r) { "use strict" var n = e("../internals/to-primitive"), i = e("../internals/object-define-property"), o = e("../internals/create-property-descriptor") t.exports = function (e, t, r) { var a = n(t) a in e ? i.f(e, a, o(0, r)) : (e[a] = r) } }, { "../internals/create-property-descriptor": 132, "../internals/object-define-property": 180, "../internals/to-primitive": 223 } ], 134: [ function (e, t, r) { "use strict" var n = e("../internals/export"), i = e("../internals/create-iterator-constructor"), o = e("../internals/object-get-prototype-of"), a = e("../internals/object-set-prototype-of"), s = e("../internals/set-to-string-tag"), l = e("../internals/create-non-enumerable-property"), c = e("../internals/redefine"), u = e("../internals/well-known-symbol"), f = e("../internals/is-pure"), p = e("../internals/iterators"), d = e("../internals/iterators-core"), h = d.IteratorPrototype, m = d.BUGGY_SAFARI_ITERATORS, g = u("iterator"), y = "keys", v = "values", b = "entries", w = function () { return this } t.exports = function (e, t, r, u, d, x, A) { i(r, t, u) var _, T, E, S = function (e) { if (e === d && O) return O if (!m && e in L) return L[e] switch (e) { case y: return function () { return new r(this, e) } case v: return function () { return new r(this, e) } case b: return function () { return new r(this, e) } } return function () { return new r(this) } }, C = t + " Iterator", k = !1, L = e.prototype, P = L[g] || L["@@iterator"] || (d && L[d]), O = (!m && P) || S(d), j = ("Array" == t && L.entries) || P if ( (j && ((_ = o(j.call(new e()))), h !== Object.prototype && _.next && (f || o(_) === h || (a ? a(_, h) : "function" != typeof _[g] && l(_, g, w)), s(_, C, !0, !0), f && (p[C] = w))), d == v && P && P.name !== v && ((k = !0), (O = function () { return P.call(this) })), (f && !A) || L[g] === O || l(L, g, O), (p[t] = O), d) ) if ( ((T = { values: S(v), keys: x ? O : S(y), entries: S(b) }), A) ) for (E in T) (m || k || !(E in L)) && c(L, E, T[E]) else n( { target: t, proto: !0, forced: m || k }, T ) return T } }, { "../internals/create-iterator-constructor": 130, "../internals/create-non-enumerable-property": 131, "../internals/export": 144, "../internals/is-pure": 165, "../internals/iterators": 170, "../internals/iterators-core": 169, "../internals/object-get-prototype-of": 185, "../internals/object-set-prototype-of": 189, "../internals/redefine": 197, "../internals/set-to-string-tag": 206, "../internals/well-known-symbol": 231 } ], 135: [ function (e, t, r) { var n = e("../internals/path"), i = e("../internals/has"), o = e("../internals/well-known-symbol-wrapped"), a = e("../internals/object-define-property").f t.exports = function (e) { var t = n.Symbol || (n.Symbol = {}) i(t, e) || a(t, e, { value: o.f(e) }) } }, { "../internals/has": 151, "../internals/object-define-property": 180, "../internals/path": 193, "../internals/well-known-symbol-wrapped": 230 } ], 136: [ function (e, t, r) { var n = e("../internals/fails") t.exports = !n(function () { return ( 7 != Object.defineProperty({}, 1, { get: function () { return 7 } })[1] ) }) }, { "../internals/fails": 145 } ], 137: [ function (e, t, r) { var n = e("../internals/global"), i = e("../internals/is-object"), o = n.document, a = i(o) && i(o.createElement) t.exports = function (e) { return a ? o.createElement(e) : {} } }, { "../internals/global": 150, "../internals/is-object": 164 } ], 138: [ function (e, t, r) { t.exports = { CSSRuleList: 0, CSSStyleDeclaration: 0, CSSValueList: 0, ClientRectList: 0, DOMRectList: 0, DOMStringList: 0, DOMTokenList: 1, DataTransferItemList: 0, FileList: 0, HTMLAllCollection: 0, HTMLCollection: 0, HTMLFormElement: 0, HTMLSelectElement: 0, MediaList: 0, MimeTypeArray: 0, NamedNodeMap: 0, NodeList: 1, PaintRequestList: 0, Plugin: 0, PluginArray: 0, SVGLengthList: 0, SVGNumberList: 0, SVGPathSegList: 0, SVGPointList: 0, SVGStringList: 0, SVGTransformList: 0, SourceBufferList: 0, StyleSheetList: 0, TextTrackCueList: 0, TextTrackList: 0, TouchList: 0 } }, {} ], 139: [ function (e, t, r) { var n = e("../internals/engine-user-agent") t.exports = /(iphone|ipod|ipad).*applewebkit/i.test(n) }, { "../internals/engine-user-agent": 141 } ], 140: [ function (e, t, r) { var n = e("../internals/classof-raw"), i = e("../internals/global") t.exports = "process" == n(i.process) }, { "../internals/classof-raw": 125, "../internals/global": 150 } ], 141: [ function (e, t, r) { var n = e("../internals/get-built-in") t.exports = n("navigator", "userAgent") || "" }, { "../internals/get-built-in": 148 } ], 142: [ function (e, t, r) { var n, i, o = e("../internals/global"), a = e("../internals/engine-user-agent"), s = o.process, l = s && s.versions, c = l && l.v8 c ? ((n = c.split(".")), (i = n[0] + n[1])) : a && ((n = a.match(/Edge\/(\d+)/)), (!n || n[1] >= 74) && ((n = a.match(/Chrome\/(\d+)/)), n && (i = n[1]))), (t.exports = i && +i) }, { "../internals/engine-user-agent": 141, "../internals/global": 150 } ], 143: [ function (e, t, r) { t.exports = [ "constructor", "hasOwnProperty", "isPrototypeOf", "propertyIsEnumerable", "toLocaleString", "toString", "valueOf" ] }, {} ], 144: [ function (e, t, r) { var n = e("../internals/global"), i = e("../internals/object-get-own-property-descriptor").f, o = e("../internals/create-non-enumerable-property"), a = e("../internals/redefine"), s = e("../internals/set-global"), l = e("../internals/copy-constructor-properties"), c = e("../internals/is-forced") t.exports = function (e, t) { var r, u, f, p, d, h, m = e.target, g = e.global, y = e.stat if (((u = g ? n : y ? n[m] || s(m, {}) : (n[m] || {}).prototype), u)) for (f in t) { if ( ((d = t[f]), e.noTargetGet ? ((h = i(u, f)), (p = h && h.value)) : (p = u[f]), (r = c(g ? f : m + (y ? "." : "#") + f, e.forced)), !r && void 0 !== p) ) { if (typeof d === typeof p) continue l(d, p) } ;(e.sham || (p && p.sham)) && o(d, "sham", !0), a(u, f, d, e) } } }, { "../internals/copy-constructor-properties": 127, "../internals/create-non-enumerable-property": 131, "../internals/global": 150, "../internals/is-forced": 163, "../internals/object-get-own-property-descriptor": 181, "../internals/redefine": 197, "../internals/set-global": 204 } ], 145: [ function (e, t, r) { t.exports = function (e) { try { return !!e() } catch (t) { return !0 } } }, {} ], 146: [ function (e, t, r) { "use strict" e("../modules/es.regexp.exec") var n = e("../internals/redefine"), i = e("../internals/fails"), o = e("../internals/well-known-symbol"), a = e("../internals/regexp-exec"), s = e("../internals/create-non-enumerable-property"), l = o("species"), c = !i(function () { var e = /./ return ( (e.exec = function () { var e = [] return ( (e.groups = { a: "7" }), e ) }), "7" !== "".replace(e, "$") ) }), u = (function () { return "$0" === "a".replace(/./, "$0") })(), f = o("replace"), p = (function () { return !!/./[f] && "" === /./[f]("a", "$0") })(), d = !i(function () { var e = /(?:)/, t = e.exec e.exec = function () { return t.apply(this, arguments) } var r = "ab".split(e) return 2 !== r.length || "a" !== r[0] || "b" !== r[1] }) t.exports = function (e, t, r, f) { var h = o(e), m = !i(function () { var t = {} return ( (t[h] = function () { return 7 }), 7 != ""[e](t) ) }), g = m && !i(function () { var t = !1, r = /a/ return ( "split" === e && ((r = {}), (r.constructor = {}), (r.constructor[l] = function () { return r }), (r.flags = ""), (r[h] = /./[h])), (r.exec = function () { return (t = !0), null }), r[h](""), !t ) }) if (!m || !g || ("replace" === e && (!c || !u || p)) || ("split" === e && !d)) { var y = /./[h], v = r( h, ""[e], function (e, t, r, n, i) { return t.exec === a ? m && !i ? { done: !0, value: y.call(t, r, n) } : { done: !0, value: e.call(r, t, n) } : { done: !1 } }, { REPLACE_KEEPS_$0: u, REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE: p } ), b = v[0], w = v[1] n(String.prototype, e, b), n( RegExp.prototype, h, 2 == t ? function (e, t) { return w.call(e, this, t) } : function (e) { return w.call(e, this) } ) } f && s(RegExp.prototype[h], "sham", !0) } }, { "../internals/create-non-enumerable-property": 131, "../internals/fails": 145, "../internals/redefine": 197, "../internals/regexp-exec": 199, "../internals/well-known-symbol": 231, "../modules/es.regexp.exec": 256 } ], 147: [ function (e, t, r) { var n = e("../internals/a-function") t.exports = function (e, t, r) { if ((n(e), void 0 === t)) return e switch (r) { case 0: return function () { return e.call(t) } case 1: return function (r) { return e.call(t, r) } case 2: return function (r, n) { return e.call(t, r, n) } case 3: return function (r, n, i) { return e.call(t, r, n, i) } } return function () { return e.apply(t, arguments) } } }, { "../internals/a-function": 102 } ], 148: [ function (e, t, r) { var n = e("../internals/path"), i = e("../internals/global"), o = function (e) { return "function" == typeof e ? e : void 0 } t.exports = function (e, t) { return arguments.length < 2 ? o(n[e]) || o(i[e]) : (n[e] && n[e][t]) || (i[e] && i[e][t]) } }, { "../internals/global": 150, "../internals/path": 193 } ], 149: [ function (e, t, r) { var n = e("../internals/classof"), i = e("../internals/iterators"), o = e("../internals/well-known-symbol"), a = o("iterator") t.exports = function (e) { if (void 0 != e) return e[a] || e["@@iterator"] || i[n(e)] } }, { "../internals/classof": 126, "../internals/iterators": 170, "../internals/well-known-symbol": 231 } ], 150: [ function (e, t, r) { ;(function (e) { var r = function (e) { return e && e.Math == Math && e } t.exports = r("object" == typeof globalThis && globalThis) || r("object" == typeof window && window) || r("object" == typeof self && self) || r("object" == typeof e && e) || (function () { return this })() || Function("return this")() }).call( this, "undefined" !== typeof global ? global : "undefined" !== typeof self ? self : "undefined" !== typeof window ? window : {} ) }, {} ], 151: [ function (e, t, r) { var n = {}.hasOwnProperty t.exports = function (e, t) { return n.call(e, t) } }, {} ], 152: [ function (e, t, r) { t.exports = {} }, {} ], 153: [ function (e, t, r) { var n = e("../internals/global") t.exports = function (e, t) { var r = n.console r && r.error && (1 === arguments.length ? r.error(e) : r.error(e, t)) } }, { "../internals/global": 150 } ], 154: [ function (e, t, r) { var n = e("../internals/get-built-in") t.exports = n("document", "documentElement") }, { "../internals/get-built-in": 148 } ], 155: [ function (e, t, r) { var n = e("../internals/descriptors"), i = e("../internals/fails"), o = e("../internals/document-create-element") t.exports = !n && !i(function () { return ( 7 != Object.defineProperty(o("div"), "a", { get: function () { return 7 } }).a ) }) }, { "../internals/descriptors": 136, "../internals/document-create-element": 137, "../internals/fails": 145 } ], 156: [ function (e, t, r) { var n = 1 / 0, i = Math.abs, o = Math.pow, a = Math.floor, s = Math.log, l = Math.LN2, c = function (e, t, r) { var c, u, f, p = new Array(r), d = 8 * r - t - 1, h = (1 << d) - 1, m = h >> 1, g = 23 === t ? o(2, -24) - o(2, -77) : 0, y = e < 0 || (0 === e && 1 / e < 0) ? 1 : 0, v = 0 for ( e = i(e), e != e || e === n ? ((u = e != e ? 1 : 0), (c = h)) : ((c = a(s(e) / l)), e * (f = o(2, -c)) < 1 && (c--, (f *= 2)), (e += c + m >= 1 ? g / f : g * o(2, 1 - m)), e * f >= 2 && (c++, (f /= 2)), c + m >= h ? ((u = 0), (c = h)) : c + m >= 1 ? ((u = (e * f - 1) * o(2, t)), (c += m)) : ((u = e * o(2, m - 1) * o(2, t)), (c = 0))); t >= 8; p[v++] = 255 & u, u /= 256, t -= 8 ); for (c = (c << t) | u, d += t; d > 0; p[v++] = 255 & c, c /= 256, d -= 8); return (p[--v] |= 128 * y), p }, u = function (e, t) { var r, i = e.length, a = 8 * i - t - 1, s = (1 << a) - 1, l = s >> 1, c = a - 7, u = i - 1, f = e[u--], p = 127 & f for (f >>= 7; c > 0; p = 256 * p + e[u], u--, c -= 8); for (r = p & ((1 << -c) - 1), p >>= -c, c += t; c > 0; r = 256 * r + e[u], u--, c -= 8); if (0 === p) p = 1 - l else { if (p === s) return r ? NaN : f ? -n : n ;(r += o(2, t)), (p -= l) } return (f ? -1 : 1) * r * o(2, p - t) } t.exports = { pack: c, unpack: u } }, {} ], 157: [ function (e, t, r) { var n = e("../internals/fails"), i = e("../internals/classof-raw"), o = "".split t.exports = n(function () { return !Object("z").propertyIsEnumerable(0) }) ? function (e) { return "String" == i(e) ? o.call(e, "") : Object(e) } : Object }, { "../internals/classof-raw": 125, "../internals/fails": 145 } ], 158: [ function (e, t, r) { var n = e("../internals/is-object"), i = e("../internals/object-set-prototype-of") t.exports = function (e, t, r) { var o, a return i && "function" == typeof (o = t.constructor) && o !== r && n((a = o.prototype)) && a !== r.prototype && i(e, a), e } }, { "../internals/is-object": 164, "../internals/object-set-prototype-of": 189 } ], 159: [ function (e, t, r) { var n = e("../internals/shared-store"), i = Function.toString "function" != typeof n.inspectSource && (n.inspectSource = function (e) { return i.call(e) }), (t.exports = n.inspectSource) }, { "../internals/shared-store": 208 } ], 160: [ function (e, t, r) { var n, i, o, a = e("../internals/native-weak-map"), s = e("../internals/global"), l = e("../internals/is-object"), c = e("../internals/create-non-enumerable-property"), u = e("../internals/has"), f = e("../internals/shared-store"), p = e("../internals/shared-key"), d = e("../internals/hidden-keys"), h = s.WeakMap, m = function (e) { return o(e) ? i(e) : n(e, {}) }, g = function (e) { return function (t) { var r if (!l(t) || (r = i(t)).type !== e) throw TypeError("Incompatible receiver, " + e + " required") return r } } if (a) { var y = f.state || (f.state = new h()), v = y.get, b = y.has, w = y.set ;(n = function (e, t) { return (t.facade = e), w.call(y, e, t), t }), (i = function (e) { return v.call(y, e) || {} }), (o = function (e) { return b.call(y, e) }) } else { var x = p("state") ;(d[x] = !0), (n = function (e, t) { return (t.facade = e), c(e, x, t), t }), (i = function (e) { return u(e, x) ? e[x] : {} }), (o = function (e) { return u(e, x) }) } t.exports = { set: n, get: i, has: o, enforce: m, getterFor: g } }, { "../internals/create-non-enumerable-property": 131, "../internals/global": 150, "../internals/has": 151, "../internals/hidden-keys": 152, "../internals/is-object": 164, "../internals/native-weak-map": 174, "../internals/shared-key": 207, "../internals/shared-store": 208 } ], 161: [ function (e, t, r) { var n = e("../internals/well-known-symbol"), i = e("../internals/iterators"), o = n("iterator"), a = Array.prototype t.exports = function (e) { return void 0 !== e && (i.Array === e || a[o] === e) } }, { "../internals/iterators": 170, "../internals/well-known-symbol": 231 } ], 162: [ function (e, t, r) { var n = e("../internals/classof-raw") t.exports = Array.isArray || function (e) { return "Array" == n(e) } }, { "../internals/classof-raw": 125 } ], 163: [ function (e, t, r) { var n = e("../internals/fails"), i = /#|\.prototype\./, o = function (e, t) { var r = s[a(e)] return r == c || (r != l && ("function" == typeof t ? n(t) : !!t)) }, a = (o.normalize = function (e) { return String(e).replace(i, ".").toLowerCase() }), s = (o.data = {}), l = (o.NATIVE = "N"), c = (o.POLYFILL = "P") t.exports = o }, { "../internals/fails": 145 } ], 164: [ function (e, t, r) { t.exports = function (e) { return "object" === typeof e ? null !== e : "function" === typeof e } }, {} ], 165: [ function (e, t, r) { t.exports = !1 }, {} ], 166: [ function (e, t, r) { var n = e("../internals/is-object"), i = e("../internals/classof-raw"), o = e("../internals/well-known-symbol"), a = o("match") t.exports = function (e) { var t return n(e) && (void 0 !== (t = e[a]) ? !!t : "RegExp" == i(e)) } }, { "../internals/classof-raw": 125, "../internals/is-object": 164, "../internals/well-known-symbol": 231 } ], 167: [ function (e, t, r) { var n = e("../internals/an-object"), i = e("../internals/is-array-iterator-method"), o = e("../internals/to-length"), a = e("../internals/function-bind-context"), s = e("../internals/get-iterator-method"), l = e("../internals/iterator-close"), c = function (e, t) { ;(this.stopped = e), (this.result = t) } t.exports = function (e, t, r) { var u, f, p, d, h, m, g, y = r && r.that, v = !(!r || !r.AS_ENTRIES), b = !(!r || !r.IS_ITERATOR), w = !(!r || !r.INTERRUPTED), x = a(t, y, 1 + v + w), A = function (e) { return u && l(u), new c(!0, e) }, _ = function (e) { return v ? (n(e), w ? x(e[0], e[1], A) : x(e[0], e[1])) : w ? x(e, A) : x(e) } if (b) u = e else { if (((f = s(e)), "function" != typeof f)) throw TypeError("Target is not iterable") if (i(f)) { for (p = 0, d = o(e.length); d > p; p++) if (((h = _(e[p])), h && h instanceof c)) return h return new c(!1) } u = f.call(e) } m = u.next while (!(g = m.call(u)).done) { try { h = _(g.value) } catch (T) { throw (l(u), T) } if ("object" == typeof h && h && h instanceof c) return h } return new c(!1) } }, { "../internals/an-object": 107, "../internals/function-bind-context": 147, "../internals/get-iterator-method": 149, "../internals/is-array-iterator-method": 161, "../internals/iterator-close": 168, "../internals/to-length": 219 } ], 168: [ function (e, t, r) { var n = e("../internals/an-object") t.exports = function (e) { var t = e["return"] if (void 0 !== t) return n(t.call(e)).value } }, { "../internals/an-object": 107 } ], 169: [ function (e, t, r) { "use strict" var n, i, o, a = e("../internals/object-get-prototype-of"), s = e("../internals/create-non-enumerable-property"), l = e("../internals/has"), c = e("../internals/well-known-symbol"), u = e("../internals/is-pure"), f = c("iterator"), p = !1, d = function () { return this } ;[].keys && ((o = [].keys()), "next" in o ? ((i = a(a(o))), i !== Object.prototype && (n = i)) : (p = !0)), void 0 == n && (n = {}), u || l(n, f) || s(n, f, d), (t.exports = { IteratorPrototype: n, BUGGY_SAFARI_ITERATORS: p }) }, { "../internals/create-non-enumerable-property": 131, "../internals/has": 151, "../internals/is-pure": 165, "../internals/object-get-prototype-of": 185, "../internals/well-known-symbol": 231 } ], 170: [ function (e, t, r) { arguments[4][152][0].apply(r, arguments) }, { dup: 152 } ], 171: [ function (e, t, r) { var n, i, o, a, s, l, c, u, f = e("../internals/global"), p = e("../internals/object-get-own-property-descriptor").f, d = e("../internals/task").set, h = e("../internals/engine-is-ios"), m = e("../internals/engine-is-node"), g = f.MutationObserver || f.WebKitMutationObserver, y = f.document, v = f.process, b = f.Promise, w = p(f, "queueMicrotask"), x = w && w.value x || ((n = function () { var e, t m && (e = v.domain) && e.exit() while (i) { ;(t = i.fn), (i = i.next) try { t() } catch (r) { throw (i ? a() : (o = void 0), r) } } ;(o = void 0), e && e.enter() }), !h && !m && g && y ? ((s = !0), (l = y.createTextNode("")), new g(n).observe(l, { characterData: !0 }), (a = function () { l.data = s = !s })) : b && b.resolve ? ((c = b.resolve(void 0)), (u = c.then), (a = function () { u.call(c, n) })) : (a = m ? function () { v.nextTick(n) } : function () { d.call(f, n) })), (t.exports = x || function (e) { var t = { fn: e, next: void 0 } o && (o.next = t), i || ((i = t), a()), (o = t) }) }, { "../internals/engine-is-ios": 139, "../internals/engine-is-node": 140, "../internals/global": 150, "../internals/object-get-own-property-descriptor": 181, "../internals/task": 214 } ], 172: [ function (e, t, r) { var n = e("../internals/global") t.exports = n.Promise }, { "../internals/global": 150 } ], 173: [ function (e, t, r) { var n = e("../internals/fails") t.exports = !!Object.getOwnPropertySymbols && !n(function () { return !String(Symbol()) }) }, { "../internals/fails": 145 } ], 174: [ function (e, t, r) { var n = e("../internals/global"), i = e("../internals/inspect-source"), o = n.WeakMap t.exports = "function" === typeof o && /native code/.test(i(o)) }, { "../internals/global": 150, "../internals/inspect-source": 159 } ], 175: [ function (e, t, r) { "use strict" var n = e("../internals/a-function"), i = function (e) { var t, r ;(this.promise = new e(function (e, n) { if (void 0 !== t || void 0 !== r) throw TypeError("Bad Promise constructor") ;(t = e), (r = n) })), (this.resolve = n(t)), (this.reject = n(r)) } t.exports.f = function (e) { return new i(e) } }, { "../internals/a-function": 102 } ], 176: [ function (e, t, r) { var n = e("../internals/is-regexp") t.exports = function (e) { if (n(e)) throw TypeError("The method doesn't accept regular expressions") return e } }, { "../internals/is-regexp": 166 } ], 177: [ function (e, t, r) { "use strict" var n = e("../internals/descriptors"), i = e("../internals/fails"), o = e("../internals/object-keys"), a = e("../internals/object-get-own-property-symbols"), s = e("../internals/object-property-is-enumerable"), l = e("../internals/to-object"), c = e("../internals/indexed-object"), u = Object.assign, f = Object.defineProperty t.exports = !u || i(function () { if ( n && 1 !== u( { b: 1 }, u( f({}, "a", { enumerable: !0, get: function () { f(this, "b", { value: 3, enumerable: !1 }) } }), { b: 2 } ) ).b ) return !0 var e = {}, t = {}, r = Symbol(), i = "abcdefghijklmnopqrst" return ( (e[r] = 7), i.split("").forEach(function (e) { t[e] = e }), 7 != u({}, e)[r] || o(u({}, t)).join("") != i ) }) ? function (e, t) { var r = l(e), i = arguments.length, u = 1, f = a.f, p = s.f while (i > u) { var d, h = c(arguments[u++]), m = f ? o(h).concat(f(h)) : o(h), g = m.length, y = 0 while (g > y) (d = m[y++]), (n && !p.call(h, d)) || (r[d] = h[d]) } return r } : u }, { "../internals/descriptors": 136, "../internals/fails": 145, "../internals/indexed-object": 157, "../internals/object-get-own-property-symbols": 184, "../internals/object-keys": 187, "../internals/object-property-is-enumerable": 188, "../internals/to-object": 220 } ], 178: [ function (e, t, r) { var n, i = e("../internals/an-object"), o = e("../internals/object-define-properties"), a = e("../internals/enum-bug-keys"), s = e("../internals/hidden-keys"), l = e("../internals/html"), c = e("../internals/document-create-element"), u = e("../internals/shared-key"), f = ">", p = "<", d = "prototype", h = "script", m = u("IE_PROTO"), g = function () {}, y = function (e) { return p + h + f + e + p + "/" + h + f }, v = function (e) { e.write(y("")), e.close() var t = e.parentWindow.Object return (e = null), t }, b = function () { var e, t = c("iframe"), r = "java" + h + ":" return ( (t.style.display = "none"), l.appendChild(t), (t.src = String(r)), (e = t.contentWindow.document), e.open(), e.write(y("document.F=Object")), e.close(), e.F ) }, w = function () { try { n = document.domain && new ActiveXObject("htmlfile") } catch (t) {} w = n ? v(n) : b() var e = a.length while (e--) delete w[d][a[e]] return w() } ;(s[m] = !0), (t.exports = Object.create || function (e, t) { var r return null !== e ? ((g[d] = i(e)), (r = new g()), (g[d] = null), (r[m] = e)) : (r = w()), void 0 === t ? r : o(r, t) }) }, { "../internals/an-object": 107, "../internals/document-create-element": 137, "../internals/enum-bug-keys": 143, "../internals/hidden-keys": 152, "../internals/html": 154, "../internals/object-define-properties": 179, "../internals/shared-key": 207 } ], 179: [ function (e, t, r) { var n = e("../internals/descriptors"), i = e("../internals/object-define-property"), o = e("../internals/an-object"), a = e("../internals/object-keys") t.exports = n ? Object.defineProperties : function (e, t) { o(e) var r, n = a(t), s = n.length, l = 0 while (s > l) i.f(e, (r = n[l++]), t[r]) return e } }, { "../internals/an-object": 107, "../internals/descriptors": 136, "../internals/object-define-property": 180, "../internals/object-keys": 187 } ], 180: [ function (e, t, r) { var n = e("../internals/descriptors"), i = e("../internals/ie8-dom-define"), o = e("../internals/an-object"), a = e("../internals/to-primitive"), s = Object.defineProperty r.f = n ? s : function (e, t, r) { if ((o(e), (t = a(t, !0)), o(r), i)) try { return s(e, t, r) } catch (n) {} if ("get" in r || "set" in r) throw TypeError("Accessors not supported") return "value" in r && (e[t] = r.value), e } }, { "../internals/an-object": 107, "../internals/descriptors": 136, "../internals/ie8-dom-define": 155, "../internals/to-primitive": 223 } ], 181: [ function (e, t, r) { var n = e("../internals/descriptors"), i = e("../internals/object-property-is-enumerable"), o = e("../internals/create-property-descriptor"), a = e("../internals/to-indexed-object"), s = e("../internals/to-primitive"), l = e("../internals/has"), c = e("../internals/ie8-dom-define"), u = Object.getOwnPropertyDescriptor r.f = n ? u : function (e, t) { if (((e = a(e)), (t = s(t, !0)), c)) try { return u(e, t) } catch (r) {} if (l(e, t)) return o(!i.f.call(e, t), e[t]) } }, { "../internals/create-property-descriptor": 132, "../internals/descriptors": 136, "../internals/has": 151, "../internals/ie8-dom-define": 155, "../internals/object-property-is-enumerable": 188, "../internals/to-indexed-object": 217, "../internals/to-primitive": 223 } ], 182: [ function (e, t, r) { var n = e("../internals/to-indexed-object"), i = e("../internals/object-get-own-property-names").f, o = {}.toString, a = "object" == typeof window && window && Object.getOwnPropertyNames ? Object.getOwnPropertyNames(window) : [], s = function (e) { try { return i(e) } catch (t) { return a.slice() } } t.exports.f = function (e) { return a && "[object Window]" == o.call(e) ? s(e) : i(n(e)) } }, { "../internals/object-get-own-property-names": 183, "../internals/to-indexed-object": 217 } ], 183: [ function (e, t, r) { var n = e("../internals/object-keys-internal"), i = e("../internals/enum-bug-keys"), o = i.concat("length", "prototype") r.f = Object.getOwnPropertyNames || function (e) { return n(e, o) } }, { "../internals/enum-bug-keys": 143, "../internals/object-keys-internal": 186 } ], 184: [ function (e, t, r) { r.f = Object.getOwnPropertySymbols }, {} ], 185: [ function (e, t, r) { var n = e("../internals/has"), i = e("../internals/to-object"), o = e("../internals/shared-key"), a = e("../internals/correct-prototype-getter"), s = o("IE_PROTO"), l = Object.prototype t.exports = a ? Object.getPrototypeOf : function (e) { return ( (e = i(e)), n(e, s) ? e[s] : "function" == typeof e.constructor && e instanceof e.constructor ? e.constructor.prototype : e instanceof Object ? l : null ) } }, { "../internals/correct-prototype-getter": 129, "../internals/has": 151, "../internals/shared-key": 207, "../internals/to-object": 220 } ], 186: [ function (e, t, r) { var n = e("../internals/has"), i = e("../internals/to-indexed-object"), o = e("../internals/array-includes").indexOf, a = e("../internals/hidden-keys") t.exports = function (e, t) { var r, s = i(e), l = 0, c = [] for (r in s) !n(a, r) && n(s, r) && c.push(r) while (t.length > l) n(s, (r = t[l++])) && (~o(c, r) || c.push(r)) return c } }, { "../internals/array-includes": 115, "../internals/has": 151, "../internals/hidden-keys": 152, "../internals/to-indexed-object": 217 } ], 187: [ function (e, t, r) { var n = e("../internals/object-keys-internal"), i = e("../internals/enum-bug-keys") t.exports = Object.keys || function (e) { return n(e, i) } }, { "../internals/enum-bug-keys": 143, "../internals/object-keys-internal": 186 } ], 188: [ function (e, t, r) { "use strict" var n = {}.propertyIsEnumerable, i = Object.getOwnPropertyDescriptor, o = i && !n.call( { 1: 2 }, 1 ) r.f = o ? function (e) { var t = i(this, e) return !!t && t.enumerable } : n }, {} ], 189: [ function (e, t, r) { var n = e("../internals/an-object"), i = e("../internals/a-possible-prototype") t.exports = Object.setPrototypeOf || ("__proto__" in {} ? (function () { var e, t = !1, r = {} try { ;(e = Object.getOwnPropertyDescriptor(Object.prototype, "__proto__").set), e.call(r, []), (t = r instanceof Array) } catch (o) {} return function (r, o) { return n(r), i(o), t ? e.call(r, o) : (r.__proto__ = o), r } })() : void 0) }, { "../internals/a-possible-prototype": 103, "../internals/an-object": 107 } ], 190: [ function (e, t, r) { var n = e("../internals/descriptors"), i = e("../internals/object-keys"), o = e("../internals/to-indexed-object"), a = e("../internals/object-property-is-enumerable").f, s = function (e) { return function (t) { var r, s = o(t), l = i(s), c = l.length, u = 0, f = [] while (c > u) (r = l[u++]), (n && !a.call(s, r)) || f.push(e ? [r, s[r]] : s[r]) return f } } t.exports = { entries: s(!0), values: s(!1) } }, { "../internals/descriptors": 136, "../internals/object-keys": 187, "../internals/object-property-is-enumerable": 188, "../internals/to-indexed-object": 217 } ], 191: [ function (e, t, r) { "use strict" var n = e("../internals/to-string-tag-support"), i = e("../internals/classof") t.exports = n ? {}.toString : function () { return "[object " + i(this) + "]" } }, { "../internals/classof": 126, "../internals/to-string-tag-support": 224 } ], 192: [ function (e, t, r) { var n = e("../internals/get-built-in"), i = e("../internals/object-get-own-property-names"), o = e("../internals/object-get-own-property-symbols"), a = e("../internals/an-object") t.exports = n("Reflect", "ownKeys") || function (e) { var t = i.f(a(e)), r = o.f return r ? t.concat(r(e)) : t } }, { "../internals/an-object": 107, "../internals/get-built-in": 148, "../internals/object-get-own-property-names": 183, "../internals/object-get-own-property-symbols": 184 } ], 193: [ function (e, t, r) { var n = e("../internals/global") t.exports = n }, { "../internals/global": 150 } ], 194: [ function (e, t, r) { t.exports = function (e) { try { return { error: !1, value: e() } } catch (t) { return { error: !0, value: t } } } }, {} ], 195: [ function (e, t, r) { var n = e("../internals/an-object"), i = e("../internals/is-object"), o = e("../internals/new-promise-capability") t.exports = function (e, t) { if ((n(e), i(t) && t.constructor === e)) return t var r = o.f(e), a = r.resolve return a(t), r.promise } }, { "../internals/an-object": 107, "../internals/is-object": 164, "../internals/new-promise-capability": 175 } ], 196: [ function (e, t, r) { var n = e("../internals/redefine") t.exports = function (e, t, r) { for (var i in t) n(e, i, t[i], r) return e } }, { "../internals/redefine": 197 } ], 197: [ function (e, t, r) { var n = e("../internals/global"), i = e("../internals/create-non-enumerable-property"), o = e("../internals/has"), a = e("../internals/set-global"), s = e("../internals/inspect-source"), l = e("../internals/internal-state"), c = l.get, u = l.enforce, f = String(String).split("String") ;(t.exports = function (e, t, r, s) { var l, c = !!s && !!s.unsafe, p = !!s && !!s.enumerable, d = !!s && !!s.noTargetGet "function" == typeof r && ("string" != typeof t || o(r, "name") || i(r, "name", t), (l = u(r)), l.source || (l.source = f.join("string" == typeof t ? t : ""))), e !== n ? (c ? !d && e[t] && (p = !0) : delete e[t], p ? (e[t] = r) : i(e, t, r)) : p ? (e[t] = r) : a(t, r) })(Function.prototype, "toString", function () { return ("function" == typeof this && c(this).source) || s(this) }) }, { "../internals/create-non-enumerable-property": 131, "../internals/global": 150, "../internals/has": 151, "../internals/inspect-source": 159, "../internals/internal-state": 160, "../internals/set-global": 204 } ], 198: [ function (e, t, r) { var n = e("./classof-raw"), i = e("./regexp-exec") t.exports = function (e, t) { var r = e.exec if ("function" === typeof r) { var o = r.call(e, t) if ("object" !== typeof o) throw TypeError("RegExp exec method returned something other than an Object or null") return o } if ("RegExp" !== n(e)) throw TypeError("RegExp#exec called on incompatible receiver") return i.call(e, t) } }, { "./classof-raw": 125, "./regexp-exec": 199 } ], 199: [ function (e, t, r) { "use strict" var n = e("./regexp-flags"), i = e("./regexp-sticky-helpers"), o = RegExp.prototype.exec, a = String.prototype.replace, s = o, l = (function () { var e = /a/, t = /b*/g return o.call(e, "a"), o.call(t, "a"), 0 !== e.lastIndex || 0 !== t.lastIndex })(), c = i.UNSUPPORTED_Y || i.BROKEN_CARET, u = void 0 !== /()??/.exec("")[1], f = l || u || c f && (s = function (e) { var t, r, i, s, f = this, p = c && f.sticky, d = n.call(f), h = f.source, m = 0, g = e return ( p && ((d = d.replace("y", "")), -1 === d.indexOf("g") && (d += "g"), (g = String(e).slice(f.lastIndex)), f.lastIndex > 0 && (!f.multiline || (f.multiline && "\n" !== e[f.lastIndex - 1])) && ((h = "(?: " + h + ")"), (g = " " + g), m++), (r = new RegExp("^(?:" + h + ")", d))), u && (r = new RegExp("^" + h + "$(?!\\s)", d)), l && (t = f.lastIndex), (i = o.call(p ? r : f, g)), p ? i ? ((i.input = i.input.slice(m)), (i[0] = i[0].slice(m)), (i.index = f.lastIndex), (f.lastIndex += i[0].length)) : (f.lastIndex = 0) : l && i && (f.lastIndex = f.global ? i.index + i[0].length : t), u && i && i.length > 1 && a.call(i[0], r, function () { for (s = 1; s < arguments.length - 2; s++) void 0 === arguments[s] && (i[s] = void 0) }), i ) }), (t.exports = s) }, { "./regexp-flags": 200, "./regexp-sticky-helpers": 201 } ], 200: [ function (e, t, r) { "use strict" var n = e("../internals/an-object") t.exports = function () { var e = n(this), t = "" return ( e.global && (t += "g"), e.ignoreCase && (t += "i"), e.multiline && (t += "m"), e.dotAll && (t += "s"), e.unicode && (t += "u"), e.sticky && (t += "y"), t ) } }, { "../internals/an-object": 107 } ], 201: [ function (e, t, r) { "use strict" var n = e("./fails") function i(e, t) { return RegExp(e, t) } ;(r.UNSUPPORTED_Y = n(function () { var e = i("a", "y") return (e.lastIndex = 2), null != e.exec("abcd") })), (r.BROKEN_CARET = n(function () { var e = i("^r", "gy") return (e.lastIndex = 2), null != e.exec("str") })) }, { "./fails": 145 } ], 202: [ function (e, t, r) { t.exports = function (e) { if (void 0 == e) throw TypeError("Can't call method on " + e) return e } }, {} ], 203: [ function (e, t, r) { t.exports = Object.is || function (e, t) { return e === t ? 0 !== e || 1 / e === 1 / t : e != e && t != t } }, {} ], 204: [ function (e, t, r) { var n = e("../internals/global"), i = e("../internals/create-non-enumerable-property") t.exports = function (e, t) { try { i(n, e, t) } catch (r) { n[e] = t } return t } }, { "../internals/create-non-enumerable-property": 131, "../internals/global": 150 } ], 205: [ function (e, t, r) { "use strict" var n = e("../internals/get-built-in"), i = e("../internals/object-define-property"), o = e("../internals/well-known-symbol"), a = e("../internals/descriptors"), s = o("species") t.exports = function (e) { var t = n(e), r = i.f a && t && !t[s] && r(t, s, { configurable: !0, get: function () { return this } }) } }, { "../internals/descriptors": 136, "../internals/get-built-in": 148, "../internals/object-define-property": 180, "../internals/well-known-symbol": 231 } ], 206: [ function (e, t, r) { var n = e("../internals/object-define-property").f, i = e("../internals/has"), o = e("../internals/well-known-symbol"), a = o("toStringTag") t.exports = function (e, t, r) { e && !i((e = r ? e : e.prototype), a) && n(e, a, { configurable: !0, value: t }) } }, { "../internals/has": 151, "../internals/object-define-property": 180, "../internals/well-known-symbol": 231 } ], 207: [ function (e, t, r) { var n = e("../internals/shared"), i = e("../internals/uid"), o = n("keys") t.exports = function (e) { return o[e] || (o[e] = i(e)) } }, { "../internals/shared": 209, "../internals/uid": 228 } ], 208: [ function (e, t, r) { var n = e("../internals/global"), i = e("../internals/set-global"), o = "__core-js_shared__", a = n[o] || i(o, {}) t.exports = a }, { "../internals/global": 150, "../internals/set-global": 204 } ], 209: [ function (e, t, r) { var n = e("../internals/is-pure"), i = e("../internals/shared-store") ;(t.exports = function (e, t) { return i[e] || (i[e] = void 0 !== t ? t : {}) })("versions", []).push({ version: "3.7.0", mode: n ? "pure" : "global", copyright: "© 2020 Denis Pushkarev (zloirock.ru)" }) }, { "../internals/is-pure": 165, "../internals/shared-store": 208 } ], 210: [ function (e, t, r) { var n = e("../internals/an-object"), i = e("../internals/a-function"), o = e("../internals/well-known-symbol"), a = o("species") t.exports = function (e, t) { var r, o = n(e).constructor return void 0 === o || void 0 == (r = n(o)[a]) ? t : i(r) } }, { "../internals/a-function": 102, "../internals/an-object": 107, "../internals/well-known-symbol": 231 } ], 211: [ function (e, t, r) { var n = e("../internals/to-integer"), i = e("../internals/require-object-coercible"), o = function (e) { return function (t, r) { var o, a, s = String(i(t)), l = n(r), c = s.length return l < 0 || l >= c ? e ? "" : void 0 : ((o = s.charCodeAt(l)), o < 55296 || o > 56319 || l + 1 === c || (a = s.charCodeAt(l + 1)) < 56320 || a > 57343 ? e ? s.charAt(l) : o : e ? s.slice(l, l + 2) : a - 56320 + ((o - 55296) << 10) + 65536) } } t.exports = { codeAt: o(!1), charAt: o(!0) } }, { "../internals/require-object-coercible": 202, "../internals/to-integer": 218 } ], 212: [ function (e, t, r) { var n = e("../internals/fails"), i = e("../internals/whitespaces"), o = " " t.exports = function (e) { return n(function () { return !!i[e]() || o[e]() != o || i[e].name !== e }) } }, { "../internals/fails": 145, "../internals/whitespaces": 232 } ], 213: [ function (e, t, r) { var n = e("../internals/require-object-coercible"), i = e("../internals/whitespaces"), o = "[" + i + "]", a = RegExp("^" + o + o + "*"), s = RegExp(o + o + "*$"), l = function (e) { return function (t) { var r = String(n(t)) return 1 & e && (r = r.replace(a, "")), 2 & e && (r = r.replace(s, "")), r } } t.exports = { start: l(1), end: l(2), trim: l(3) } }, { "../internals/require-object-coercible": 202, "../internals/whitespaces": 232 } ], 214: [ function (e, t, r) { var n, i, o, a = e("../internals/global"), s = e("../internals/fails"), l = e("../internals/function-bind-context"), c = e("../internals/html"), u = e("../internals/document-create-element"), f = e("../internals/engine-is-ios"), p = e("../internals/engine-is-node"), d = a.location, h = a.setImmediate, m = a.clearImmediate, g = a.process, y = a.MessageChannel, v = a.Dispatch, b = 0, w = {}, x = "onreadystatechange", A = function (e) { if (w.hasOwnProperty(e)) { var t = w[e] delete w[e], t() } }, _ = function (e) { return function () { A(e) } }, T = function (e) { A(e.data) }, E = function (e) { a.postMessage(e + "", d.protocol + "//" + d.host) } ;(h && m) || ((h = function (e) { var t = [], r = 1 while (arguments.length > r) t.push(arguments[r++]) return ( (w[++b] = function () { ;("function" == typeof e ? e : Function(e)).apply(void 0, t) }), n(b), b ) }), (m = function (e) { delete w[e] }), p ? (n = function (e) { g.nextTick(_(e)) }) : v && v.now ? (n = function (e) { v.now(_(e)) }) : y && !f ? ((i = new y()), (o = i.port2), (i.port1.onmessage = T), (n = l(o.postMessage, o, 1))) : a.addEventListener && "function" == typeof postMessage && !a.importScripts && d && "file:" !== d.protocol && !s(E) ? ((n = E), a.addEventListener("message", T, !1)) : (n = x in u("script") ? function (e) { c.appendChild(u("script"))[x] = function () { c.removeChild(this), A(e) } } : function (e) { setTimeout(_(e), 0) })), (t.exports = { set: h, clear: m }) }, { "../internals/document-create-element": 137, "../internals/engine-is-ios": 139, "../internals/engine-is-node": 140, "../internals/fails": 145, "../internals/function-bind-context": 147, "../internals/global": 150, "../internals/html": 154 } ], 215: [ function (e, t, r) { var n = e("../internals/to-integer"), i = Math.max, o = Math.min t.exports = function (e, t) { var r = n(e) return r < 0 ? i(r + t, 0) : o(r, t) } }, { "../internals/to-integer": 218 } ], 216: [ function (e, t, r) { var n = e("../internals/to-integer"), i = e("../internals/to-length") t.exports = function (e) { if (void 0 === e) return 0 var t = n(e), r = i(t) if (t !== r) throw RangeError("Wrong length or index") return r } }, { "../internals/to-integer": 218, "../internals/to-length": 219 } ], 217: [ function (e, t, r) { var n = e("../internals/indexed-object"), i = e("../internals/require-object-coercible") t.exports = function (e) { return n(i(e)) } }, { "../internals/indexed-object": 157, "../internals/require-object-coercible": 202 } ], 218: [ function (e, t, r) { var n = Math.ceil, i = Math.floor t.exports = function (e) { return isNaN((e = +e)) ? 0 : (e > 0 ? i : n)(e) } }, {} ], 219: [ function (e, t, r) { var n = e("../internals/to-integer"), i = Math.min t.exports = function (e) { return e > 0 ? i(n(e), 9007199254740991) : 0 } }, { "../internals/to-integer": 218 } ], 220: [ function (e, t, r) { var n = e("../internals/require-object-coercible") t.exports = function (e) { return Object(n(e)) } }, { "../internals/require-object-coercible": 202 } ], 221: [ function (e, t, r) { var n = e("../internals/to-positive-integer") t.exports = function (e, t) { var r = n(e) if (r % t) throw RangeError("Wrong offset") return r } }, { "../internals/to-positive-integer": 222 } ], 222: [ function (e, t, r) { var n = e("../internals/to-integer") t.exports = function (e) { var t = n(e) if (t < 0) throw RangeError("The argument can't be less than 0") return t } }, { "../internals/to-integer": 218 } ], 223: [ function (e, t, r) { var n = e("../internals/is-object") t.exports = function (e, t) { if (!n(e)) return e var r, i if (t && "function" == typeof (r = e.toString) && !n((i = r.call(e)))) return i if ("function" == typeof (r = e.valueOf) && !n((i = r.call(e)))) return i if (!t && "function" == typeof (r = e.toString) && !n((i = r.call(e)))) return i throw TypeError("Can't convert object to primitive value") } }, { "../internals/is-object": 164 } ], 224: [ function (e, t, r) { var n = e("../internals/well-known-symbol"), i = n("toStringTag"), o = {} ;(o[i] = "z"), (t.exports = "[object z]" === String(o)) }, { "../internals/well-known-symbol": 231 } ], 225: [ function (e, t, r) { "use strict" var n = e("../internals/export"), i = e("../internals/global"), o = e("../internals/descriptors"), a = e("../internals/typed-array-constructors-require-wrappers"), s = e("../internals/array-buffer-view-core"), l = e("../internals/array-buffer"), c = e("../internals/an-instance"), u = e("../internals/create-property-descriptor"), f = e("../internals/create-non-enumerable-property"), p = e("../internals/to-length"), d = e("../internals/to-index"), h = e("../internals/to-offset"), m = e("../internals/to-primitive"), g = e("../internals/has"), y = e("../internals/classof"), v = e("../internals/is-object"), b = e("../internals/object-create"), w = e("../internals/object-set-prototype-of"), x = e("../internals/object-get-own-property-names").f, A = e("../internals/typed-array-from"), _ = e("../internals/array-iteration").forEach, T = e("../internals/set-species"), E = e("../internals/object-define-property"), S = e("../internals/object-get-own-property-descriptor"), C = e("../internals/internal-state"), k = e("../internals/inherit-if-required"), L = C.get, P = C.set, O = E.f, j = S.f, R = Math.round, I = i.RangeError, N = l.ArrayBuffer, M = l.DataView, D = s.NATIVE_ARRAY_BUFFER_VIEWS, B = s.TYPED_ARRAY_TAG, F = s.TypedArray, U = s.TypedArrayPrototype, z = s.aTypedArrayConstructor, q = s.isTypedArray, G = "BYTES_PER_ELEMENT", W = "Wrong length", V = function (e, t) { var r = 0, n = t.length, i = new (z(e))(n) while (n > r) i[r] = t[r++] return i }, H = function (e, t) { O(e, t, { get: function () { return L(this)[t] } }) }, X = function (e) { var t return e instanceof N || "ArrayBuffer" == (t = y(e)) || "SharedArrayBuffer" == t }, Y = function (e, t) { return q(e) && "symbol" != typeof t && t in e && String(+t) == String(t) }, K = function (e, t) { return Y(e, (t = m(t, !0))) ? u(2, e[t]) : j(e, t) }, Z = function (e, t, r) { return !(Y(e, (t = m(t, !0))) && v(r) && g(r, "value")) || g(r, "get") || g(r, "set") || r.configurable || (g(r, "writable") && !r.writable) || (g(r, "enumerable") && !r.enumerable) ? O(e, t, r) : ((e[t] = r.value), e) } o ? (D || ((S.f = K), (E.f = Z), H(U, "buffer"), H(U, "byteOffset"), H(U, "byteLength"), H(U, "length")), n( { target: "Object", stat: !0, forced: !D }, { getOwnPropertyDescriptor: K, defineProperty: Z } ), (t.exports = function (e, t, r) { var o = e.match(/\d+$/)[0] / 8, s = e + (r ? "Clamped" : "") + "Array", l = "get" + e, u = "set" + e, m = i[s], g = m, y = g && g.prototype, E = {}, S = function (e, t) { var r = L(e) return r.view[l](t * o + r.byteOffset, !0) }, C = function (e, t, n) { var i = L(e) r && (n = (n = R(n)) < 0 ? 0 : n > 255 ? 255 : 255 & n), i.view[u](t * o + i.byteOffset, n, !0) }, j = function (e, t) { O(e, t, { get: function () { return S(this, t) }, set: function (e) { return C(this, t, e) }, enumerable: !0 }) } D ? a && ((g = t(function (e, t, r, n) { return ( c(e, g, s), k( (function () { return v(t) ? X(t) ? void 0 !== n ? new m(t, h(r, o), n) : void 0 !== r ? new m(t, h(r, o)) : new m(t) : q(t) ? V(g, t) : A.call(g, t) : new m(d(t)) })(), e, g ) ) })), w && w(g, F), _(x(m), function (e) { e in g || f(g, e, m[e]) }), (g.prototype = y)) : ((g = t(function (e, t, r, n) { c(e, g, s) var i, a, l, u = 0, f = 0 if (v(t)) { if (!X(t)) return q(t) ? V(g, t) : A.call(g, t) ;(i = t), (f = h(r, o)) var m = t.byteLength if (void 0 === n) { if (m % o) throw I(W) if (((a = m - f), a < 0)) throw I(W) } else if (((a = p(n) * o), a + f > m)) throw I(W) l = a / o } else (l = d(t)), (a = l * o), (i = new N(a)) P(e, { buffer: i, byteOffset: f, byteLength: a, length: l, view: new M(i) }) while (u < l) j(e, u++) })), w && w(g, F), (y = g.prototype = b(U))), y.constructor !== g && f(y, "constructor", g), B && f(y, B, s), (E[s] = g), n( { global: !0, forced: g != m, sham: !D }, E ), G in g || f(g, G, o), G in y || f(y, G, o), T(s) })) : (t.exports = function () {}) }, { "../internals/an-instance": 106, "../internals/array-buffer": 110, "../internals/array-buffer-view-core": 109, "../internals/array-iteration": 116, "../internals/classof": 126, "../internals/create-non-enumerable-property": 131, "../internals/create-property-descriptor": 132, "../internals/descriptors": 136, "../internals/export": 144, "../internals/global": 150, "../internals/has": 151, "../internals/inherit-if-required": 158, "../internals/internal-state": 160, "../internals/is-object": 164, "../internals/object-create": 178, "../internals/object-define-property": 180, "../internals/object-get-own-property-descriptor": 181, "../internals/object-get-own-property-names": 183, "../internals/object-set-prototype-of": 189, "../internals/set-species": 205, "../internals/to-index": 216, "../internals/to-length": 219, "../internals/to-offset": 221, "../internals/to-primitive": 223, "../internals/typed-array-constructors-require-wrappers": 226, "../internals/typed-array-from": 227 } ], 226: [ function (e, t, r) { var n = e("../internals/global"), i = e("../internals/fails"), o = e("../internals/check-correctness-of-iteration"), a = e("../internals/array-buffer-view-core").NATIVE_ARRAY_BUFFER_VIEWS, s = n.ArrayBuffer, l = n.Int8Array t.exports = !a || !i(function () { l(1) }) || !i(function () { new l(-1) }) || !o(function (e) { new l(), new l(null), new l(1.5), new l(e) }, !0) || i(function () { return 1 !== new l(new s(2), 1, void 0).length }) }, { "../internals/array-buffer-view-core": 109, "../internals/check-correctness-of-iteration": 124, "../internals/fails": 145, "../internals/global": 150 } ], 227: [ function (e, t, r) { var n = e("../internals/to-object"), i = e("../internals/to-length"), o = e("../internals/get-iterator-method"), a = e("../internals/is-array-iterator-method"), s = e("../internals/function-bind-context"), l = e("../internals/array-buffer-view-core").aTypedArrayConstructor t.exports = function (e) { var t, r, c, u, f, p, d = n(e), h = arguments.length, m = h > 1 ? arguments[1] : void 0, g = void 0 !== m, y = o(d) if (void 0 != y && !a(y)) { ;(f = y.call(d)), (p = f.next), (d = []) while (!(u = p.call(f)).done) d.push(u.value) } for (g && h > 2 && (m = s(m, arguments[2], 2)), r = i(d.length), c = new (l(this))(r), t = 0; r > t; t++) c[t] = g ? m(d[t], t) : d[t] return c } }, { "../internals/array-buffer-view-core": 109, "../internals/function-bind-context": 147, "../internals/get-iterator-method": 149, "../internals/is-array-iterator-method": 161, "../internals/to-length": 219, "../internals/to-object": 220 } ], 228: [ function (e, t, r) { var n = 0, i = Math.random() t.exports = function (e) { return "Symbol(" + String(void 0 === e ? "" : e) + ")_" + (++n + i).toString(36) } }, {} ], 229: [ function (e, t, r) { var n = e("../internals/native-symbol") t.exports = n && !Symbol.sham && "symbol" == typeof Symbol.iterator }, { "../internals/native-symbol": 173 } ], 230: [ function (e, t, r) { var n = e("../internals/well-known-symbol") r.f = n }, { "../internals/well-known-symbol": 231 } ], 231: [ function (e, t, r) { var n = e("../internals/global"), i = e("../internals/shared"), o = e("../internals/has"), a = e("../internals/uid"), s = e("../internals/native-symbol"), l = e("../internals/use-symbol-as-uid"), c = i("wks"), u = n.Symbol, f = l ? u : (u && u.withoutSetter) || a t.exports = function (e) { return o(c, e) || (s && o(u, e) ? (c[e] = u[e]) : (c[e] = f("Symbol." + e))), c[e] } }, { "../internals/global": 150, "../internals/has": 151, "../internals/native-symbol": 173, "../internals/shared": 209, "../internals/uid": 228, "../internals/use-symbol-as-uid": 229 } ], 232: [ function (e, t, r) { t.exports = "\t\n\v\f\r \u2028\u2029\ufeff" }, {} ], 233: [ function (e, t, r) { "use strict" var n = e("../internals/export"), i = e("../internals/fails"), o = e("../internals/array-buffer"), a = e("../internals/an-object"), s = e("../internals/to-absolute-index"), l = e("../internals/to-length"), c = e("../internals/species-constructor"), u = o.ArrayBuffer, f = o.DataView, p = u.prototype.slice, d = i(function () { return !new u(2).slice(1, void 0).byteLength }) n( { target: "ArrayBuffer", proto: !0, unsafe: !0, forced: d }, { slice: function (e, t) { if (void 0 !== p && void 0 === t) return p.call(a(this), e) var r = a(this).byteLength, n = s(e, r), i = s(void 0 === t ? r : t, r), o = new (c(this, u))(l(i - n)), d = new f(this), h = new f(o), m = 0 while (n < i) h.setUint8(m++, d.getUint8(n++)) return o } } ) }, { "../internals/an-object": 107, "../internals/array-buffer": 110, "../internals/export": 144, "../internals/fails": 145, "../internals/species-constructor": 210, "../internals/to-absolute-index": 215, "../internals/to-length": 219 } ], 234: [ function (e, t, r) { "use strict" var n = e("../internals/export"), i = e("../internals/fails"), o = e("../internals/is-array"), a = e("../internals/is-object"), s = e("../internals/to-object"), l = e("../internals/to-length"), c = e("../internals/create-property"), u = e("../internals/array-species-create"), f = e("../internals/array-method-has-species-support"), p = e("../internals/well-known-symbol"), d = e("../internals/engine-v8-version"), h = p("isConcatSpreadable"), m = 9007199254740991, g = "Maximum allowed index exceeded", y = d >= 51 || !i(function () { var e = [] return (e[h] = !1), e.concat()[0] !== e }), v = f("concat"), b = function (e) { if (!a(e)) return !1 var t = e[h] return void 0 !== t ? !!t : o(e) }, w = !y || !v n( { target: "Array", proto: !0, forced: w }, { concat: function (e) { var t, r, n, i, o, a = s(this), f = u(a, 0), p = 0 for (t = -1, n = arguments.length; t < n; t++) if (((o = -1 === t ? a : arguments[t]), b(o))) { if (((i = l(o.length)), p + i > m)) throw TypeError(g) for (r = 0; r < i; r++, p++) r in o && c(f, p, o[r]) } else { if (p >= m) throw TypeError(g) c(f, p++, o) } return (f.length = p), f } } ) }, { "../internals/array-method-has-species-support": 118, "../internals/array-species-create": 122, "../internals/create-property": 133, "../internals/engine-v8-version": 142, "../internals/export": 144, "../internals/fails": 145, "../internals/is-array": 162, "../internals/is-object": 164, "../internals/to-length": 219, "../internals/to-object": 220, "../internals/well-known-symbol": 231 } ], 235: [ function (e, t, r) { var n = e("../internals/export"), i = e("../internals/array-fill"), o = e("../internals/add-to-unscopables") n( { target: "Array", proto: !0 }, { fill: i } ), o("fill") }, { "../internals/add-to-unscopables": 104, "../internals/array-fill": 112, "../internals/export": 144 } ], 236: [ function (e, t, r) { "use strict" var n = e("../internals/export"), i = e("../internals/array-iteration").filter, o = e("../internals/array-method-has-species-support"), a = e("../internals/array-method-uses-to-length"), s = o("filter"), l = a("filter") n( { target: "Array", proto: !0, forced: !s || !l }, { filter: function (e) { return i(this, e, arguments.length > 1 ? arguments[1] : void 0) } } ) }, { "../internals/array-iteration": 116, "../internals/array-method-has-species-support": 118, "../internals/array-method-uses-to-length": 120, "../internals/export": 144 } ], 237: [ function (e, t, r) { "use strict" var n = e("../internals/export"), i = e("../internals/array-iteration").find, o = e("../internals/add-to-unscopables"), a = e("../internals/array-method-uses-to-length"), s = "find", l = !0, c = a(s) s in [] && Array(1)[s](function () { l = !1 }), n( { target: "Array", proto: !0, forced: l || !c }, { find: function (e) { return i(this, e, arguments.length > 1 ? arguments[1] : void 0) } } ), o(s) }, { "../internals/add-to-unscopables": 104, "../internals/array-iteration": 116, "../internals/array-method-uses-to-length": 120, "../internals/export": 144 } ], 238: [ function (e, t, r) { "use strict" var n = e("../internals/export"), i = e("../internals/array-for-each") n( { target: "Array", proto: !0, forced: [].forEach != i }, { forEach: i } ) }, { "../internals/array-for-each": 113, "../internals/export": 144 } ], 239: [ function (e, t, r) { var n = e("../internals/export"), i = e("../internals/array-from"), o = e("../internals/check-correctness-of-iteration"), a = !o(function (e) { Array.from(e) }) n( { target: "Array", stat: !0, forced: a }, { from: i } ) }, { "../internals/array-from": 114, "../internals/check-correctness-of-iteration": 124, "../internals/export": 144 } ], 240: [ function (e, t, r) { "use strict" var n = e("../internals/export"), i = e("../internals/array-includes").includes, o = e("../internals/add-to-unscopables"), a = e("../internals/array-method-uses-to-length"), s = a("indexOf", { ACCESSORS: !0, 1: 0 }) n( { target: "Array", proto: !0, forced: !s }, { includes: function (e) { return i(this, e, arguments.length > 1 ? arguments[1] : void 0) } } ), o("includes") }, { "../internals/add-to-unscopables": 104, "../internals/array-includes": 115, "../internals/array-method-uses-to-length": 120, "../internals/export": 144 } ], 241: [ function (e, t, r) { "use strict" var n = e("../internals/export"), i = e("../internals/array-includes").indexOf, o = e("../internals/array-method-is-strict"), a = e("../internals/array-method-uses-to-length"), s = [].indexOf, l = !!s && 1 / [1].indexOf(1, -0) < 0, c = o("indexOf"), u = a("indexOf", { ACCESSORS: !0, 1: 0 }) n( { target: "Array", proto: !0, forced: l || !c || !u }, { indexOf: function (e) { return l ? s.apply(this, arguments) || 0 : i(this, e, arguments.length > 1 ? arguments[1] : void 0) } } ) }, { "../internals/array-includes": 115, "../internals/array-method-is-strict": 119, "../internals/array-method-uses-to-length": 120, "../internals/export": 144 } ], 242: [ function (e, t, r) { "use strict" var n = e("../internals/to-indexed-object"), i = e("../internals/add-to-unscopables"), o = e("../internals/iterators"), a = e("../internals/internal-state"), s = e("../internals/define-iterator"), l = "Array Iterator", c = a.set, u = a.getterFor(l) ;(t.exports = s( Array, "Array", function (e, t) { c(this, { type: l, target: n(e), index: 0, kind: t }) }, function () { var e = u(this), t = e.target, r = e.kind, n = e.index++ return !t || n >= t.length ? ((e.target = void 0), { value: void 0, done: !0 }) : "keys" == r ? { value: n, done: !1 } : "values" == r ? { value: t[n], done: !1 } : { value: [n, t[n]], done: !1 } }, "values" )), (o.Arguments = o.Array), i("keys"), i("values"), i("entries") }, { "../internals/add-to-unscopables": 104, "../internals/define-iterator": 134, "../internals/internal-state": 160, "../internals/iterators": 170, "../internals/to-indexed-object": 217 } ], 243: [ function (e, t, r) { "use strict" var n = e("../internals/export"), i = e("../internals/indexed-object"), o = e("../internals/to-indexed-object"), a = e("../internals/array-method-is-strict"), s = [].join, l = i != Object, c = a("join", ",") n( { target: "Array", proto: !0, forced: l || !c }, { join: function (e) { return s.call(o(this), void 0 === e ? "," : e) } } ) }, { "../internals/array-method-is-strict": 119, "../internals/export": 144, "../internals/indexed-object": 157, "../internals/to-indexed-object": 217 } ], 244: [ function (e, t, r) { var n = e("../internals/export"), i = e("../internals/array-last-index-of") n( { target: "Array", proto: !0, forced: i !== [].lastIndexOf }, { lastIndexOf: i } ) }, { "../internals/array-last-index-of": 117, "../internals/export": 144 } ], 245: [ function (e, t, r) { "use strict" var n = e("../internals/export"), i = e("../internals/array-iteration").map, o = e("../internals/array-method-has-species-support"), a = e("../internals/array-method-uses-to-length"), s = o("map"), l = a("map") n( { target: "Array", proto: !0, forced: !s || !l }, { map: function (e) { return i(this, e, arguments.length > 1 ? arguments[1] : void 0) } } ) }, { "../internals/array-iteration": 116, "../internals/array-method-has-species-support": 118, "../internals/array-method-uses-to-length": 120, "../internals/export": 144 } ], 246: [ function (e, t, r) { "use strict" var n = e("../internals/export"), i = e("../internals/is-object"), o = e("../internals/is-array"), a = e("../internals/to-absolute-index"), s = e("../internals/to-length"), l = e("../internals/to-indexed-object"), c = e("../internals/create-property"), u = e("../internals/well-known-symbol"), f = e("../internals/array-method-has-species-support"), p = e("../internals/array-method-uses-to-length"), d = f("slice"), h = p("slice", { ACCESSORS: !0, 0: 0, 1: 2 }), m = u("species"), g = [].slice, y = Math.max n( { target: "Array", proto: !0, forced: !d || !h }, { slice: function (e, t) { var r, n, u, f = l(this), p = s(f.length), d = a(e, p), h = a(void 0 === t ? p : t, p) if ( o(f) && ((r = f.constructor), "function" != typeof r || (r !== Array && !o(r.prototype)) ? i(r) && ((r = r[m]), null === r && (r = void 0)) : (r = void 0), r === Array || void 0 === r) ) return g.call(f, d, h) for (n = new (void 0 === r ? Array : r)(y(h - d, 0)), u = 0; d < h; d++, u++) d in f && c(n, u, f[d]) return (n.length = u), n } } ) }, { "../internals/array-method-has-species-support": 118, "../internals/array-method-uses-to-length": 120, "../internals/create-property": 133, "../internals/export": 144, "../internals/is-array": 162, "../internals/is-object": 164, "../internals/to-absolute-index": 215, "../internals/to-indexed-object": 217, "../internals/to-length": 219, "../internals/well-known-symbol": 231 } ], 247: [ function (e, t, r) { "use strict" var n = e("../internals/export"), i = e("../internals/a-function"), o = e("../internals/to-object"), a = e("../internals/fails"), s = e("../internals/array-method-is-strict"), l = [], c = l.sort, u = a(function () { l.sort(void 0) }), f = a(function () { l.sort(null) }), p = s("sort"), d = u || !f || !p n( { target: "Array", proto: !0, forced: d }, { sort: function (e) { return void 0 === e ? c.call(o(this)) : c.call(o(this), i(e)) } } ) }, { "../internals/a-function": 102, "../internals/array-method-is-strict": 119, "../internals/export": 144, "../internals/fails": 145, "../internals/to-object": 220 } ], 248: [ function (e, t, r) { "use strict" var n = e("../internals/export"), i = e("../internals/to-absolute-index"), o = e("../internals/to-integer"), a = e("../internals/to-length"), s = e("../internals/to-object"), l = e("../internals/array-species-create"), c = e("../internals/create-property"), u = e("../internals/array-method-has-species-support"), f = e("../internals/array-method-uses-to-length"), p = u("splice"), d = f("splice", { ACCESSORS: !0, 0: 0, 1: 2 }), h = Math.max, m = Math.min, g = 9007199254740991, y = "Maximum allowed length exceeded" n( { target: "Array", proto: !0, forced: !p || !d }, { splice: function (e, t) { var r, n, u, f, p, d, v = s(this), b = a(v.length), w = i(e, b), x = arguments.length if ( (0 === x ? (r = n = 0) : 1 === x ? ((r = 0), (n = b - w)) : ((r = x - 2), (n = m(h(o(t), 0), b - w))), b + r - n > g) ) throw TypeError(y) for (u = l(v, n), f = 0; f < n; f++) (p = w + f), p in v && c(u, f, v[p]) if (((u.length = n), r < n)) { for (f = w; f < b - n; f++) (p = f + n), (d = f + r), p in v ? (v[d] = v[p]) : delete v[d] for (f = b; f > b - n + r; f--) delete v[f - 1] } else if (r > n) for (f = b - n; f > w; f--) (p = f + n - 1), (d = f + r - 1), p in v ? (v[d] = v[p]) : delete v[d] for (f = 0; f < r; f++) v[f + w] = arguments[f + 2] return (v.length = b - n + r), u } } ) }, { "../internals/array-method-has-species-support": 118, "../internals/array-method-uses-to-length": 120, "../internals/array-species-create": 122, "../internals/create-property": 133, "../internals/export": 144, "../internals/to-absolute-index": 215, "../internals/to-integer": 218, "../internals/to-length": 219, "../internals/to-object": 220 } ], 249: [ function (e, t, r) { var n = e("../internals/descriptors"), i = e("../internals/object-define-property").f, o = Function.prototype, a = o.toString, s = /^\s*function ([^ (]*)/, l = "name" n && !(l in o) && i(o, l, { configurable: !0, get: function () { try { return a.call(this).match(s)[1] } catch (e) { return "" } } }) }, { "../internals/descriptors": 136, "../internals/object-define-property": 180 } ], 250: [ function (e, t, r) { "use strict" var n = e("../internals/descriptors"), i = e("../internals/global"), o = e("../internals/is-forced"), a = e("../internals/redefine"), s = e("../internals/has"), l = e("../internals/classof-raw"), c = e("../internals/inherit-if-required"), u = e("../internals/to-primitive"), f = e("../internals/fails"), p = e("../internals/object-create"), d = e("../internals/object-get-own-property-names").f, h = e("../internals/object-get-own-property-descriptor").f, m = e("../internals/object-define-property").f, g = e("../internals/string-trim").trim, y = "Number", v = i[y], b = v.prototype, w = l(p(b)) == y, x = function (e) { var t, r, n, i, o, a, s, l, c = u(e, !1) if ("string" == typeof c && c.length > 2) if (((c = g(c)), (t = c.charCodeAt(0)), 43 === t || 45 === t)) { if (((r = c.charCodeAt(2)), 88 === r || 120 === r)) return NaN } else if (48 === t) { switch (c.charCodeAt(1)) { case 66: case 98: ;(n = 2), (i = 49) break case 79: case 111: ;(n = 8), (i = 55) break default: return +c } for (o = c.slice(2), a = o.length, s = 0; s < a; s++) if (((l = o.charCodeAt(s)), l < 48 || l > i)) return NaN return parseInt(o, n) } return +c } if (o(y, !v(" 0o1") || !v("0b1") || v("+0x1"))) { for ( var A, _ = function (e) { var t = arguments.length < 1 ? 0 : e, r = this return r instanceof _ && (w ? f(function () { b.valueOf.call(r) }) : l(r) != y) ? c(new v(x(t)), r, _) : x(t) }, T = n ? d(v) : "MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split( "," ), E = 0; T.length > E; E++ ) s(v, (A = T[E])) && !s(_, A) && m(_, A, h(v, A)) ;(_.prototype = b), (b.constructor = _), a(i, y, _) } }, { "../internals/classof-raw": 125, "../internals/descriptors": 136, "../internals/fails": 145, "../internals/global": 150, "../internals/has": 151, "../internals/inherit-if-required": 158, "../internals/is-forced": 163, "../internals/object-create": 178, "../internals/object-define-property": 180, "../internals/object-get-own-property-descriptor": 181, "../internals/object-get-own-property-names": 183, "../internals/redefine": 197, "../internals/string-trim": 213, "../internals/to-primitive": 223 } ], 251: [ function (e, t, r) { var n = e("../internals/export"), i = e("../internals/object-assign") n( { target: "Object", stat: !0, forced: Object.assign !== i }, { assign: i } ) }, { "../internals/export": 144, "../internals/object-assign": 177 } ], 252: [ function (e, t, r) { var n = e("../internals/export"), i = e("../internals/object-to-array").entries n( { target: "Object", stat: !0 }, { entries: function (e) { return i(e) } } ) }, { "../internals/export": 144, "../internals/object-to-array": 190 } ], 253: [ function (e, t, r) { var n = e("../internals/export"), i = e("../internals/to-object"), o = e("../internals/object-keys"), a = e("../internals/fails"), s = a(function () { o(1) }) n( { target: "Object", stat: !0, forced: s }, { keys: function (e) { return o(i(e)) } } ) }, { "../internals/export": 144, "../internals/fails": 145, "../internals/object-keys": 187, "../internals/to-object": 220 } ], 254: [ function (e, t, r) { var n = e("../internals/to-string-tag-support"), i = e("../internals/redefine"), o = e("../internals/object-to-string") n || i(Object.prototype, "toString", o, { unsafe: !0 }) }, { "../internals/object-to-string": 191, "../internals/redefine": 197, "../internals/to-string-tag-support": 224 } ], 255: [ function (e, t, r) { "use strict" var n, i, o, a, s = e("../internals/export"), l = e("../internals/is-pure"), c = e("../internals/global"), u = e("../internals/get-built-in"), f = e("../internals/native-promise-constructor"), p = e("../internals/redefine"), d = e("../internals/redefine-all"), h = e("../internals/set-to-string-tag"), m = e("../internals/set-species"), g = e("../internals/is-object"), y = e("../internals/a-function"), v = e("../internals/an-instance"), b = e("../internals/inspect-source"), w = e("../internals/iterate"), x = e("../internals/check-correctness-of-iteration"), A = e("../internals/species-constructor"), _ = e("../internals/task").set, T = e("../internals/microtask"), E = e("../internals/promise-resolve"), S = e("../internals/host-report-errors"), C = e("../internals/new-promise-capability"), k = e("../internals/perform"), L = e("../internals/internal-state"), P = e("../internals/is-forced"), O = e("../internals/well-known-symbol"), j = e("../internals/engine-is-node"), R = e("../internals/engine-v8-version"), I = O("species"), N = "Promise", M = L.get, D = L.set, B = L.getterFor(N), F = f, U = c.TypeError, z = c.document, q = c.process, G = u("fetch"), W = C.f, V = W, H = !!(z && z.createEvent && c.dispatchEvent), X = "function" == typeof PromiseRejectionEvent, Y = "unhandledrejection", K = "rejectionhandled", Z = 0, Q = 1, J = 2, $ = 1, ee = 2, te = P(N, function () { var e = b(F) !== String(F) if (!e) { if (66 === R) return !0 if (!j && !X) return !0 } if (l && !F.prototype["finally"]) return !0 if (R >= 51 && /native code/.test(F)) return !1 var t = F.resolve(1), r = function (e) { e( function () {}, function () {} ) }, n = (t.constructor = {}) return (n[I] = r), !(t.then(function () {}) instanceof r) }), re = te || !x(function (e) { F.all(e)["catch"](function () {}) }), ne = function (e) { var t return !(!g(e) || "function" != typeof (t = e.then)) && t }, ie = function (e, t) { if (!e.notified) { e.notified = !0 var r = e.reactions T(function () { var n = e.value, i = e.state == Q, o = 0 while (r.length > o) { var a, s, l, c = r[o++], u = i ? c.ok : c.fail, f = c.resolve, p = c.reject, d = c.domain try { u ? (i || (e.rejection === ee && le(e), (e.rejection = $)), !0 === u ? (a = n) : (d && d.enter(), (a = u(n)), d && (d.exit(), (l = !0))), a === c.promise ? p(U("Promise-chain cycle")) : (s = ne(a)) ? s.call(a, f, p) : f(a)) : p(n) } catch (h) { d && !l && d.exit(), p(h) } } ;(e.reactions = []), (e.notified = !1), t && !e.rejection && ae(e) }) } }, oe = function (e, t, r) { var n, i H ? ((n = z.createEvent("Event")), (n.promise = t), (n.reason = r), n.initEvent(e, !1, !0), c.dispatchEvent(n)) : (n = { promise: t, reason: r }), !X && (i = c["on" + e]) ? i(n) : e === Y && S("Unhandled promise rejection", r) }, ae = function (e) { _.call(c, function () { var t, r = e.facade, n = e.value, i = se(e) if ( i && ((t = k(function () { j ? q.emit("unhandledRejection", n, r) : oe(Y, r, n) })), (e.rejection = j || se(e) ? ee : $), t.error) ) throw t.value }) }, se = function (e) { return e.rejection !== $ && !e.parent }, le = function (e) { _.call(c, function () { var t = e.facade j ? q.emit("rejectionHandled", t) : oe(K, t, e.value) }) }, ce = function (e, t, r) { return function (n) { e(t, n, r) } }, ue = function (e, t, r) { e.done || ((e.done = !0), r && (e = r), (e.value = t), (e.state = J), ie(e, !0)) }, fe = function (e, t, r) { if (!e.done) { ;(e.done = !0), r && (e = r) try { if (e.facade === t) throw U("Promise can't be resolved itself") var n = ne(t) n ? T(function () { var r = { done: !1 } try { n.call(t, ce(fe, r, e), ce(ue, r, e)) } catch (i) { ue(r, i, e) } }) : ((e.value = t), (e.state = Q), ie(e, !1)) } catch (i) { ue( { done: !1 }, i, e ) } } } te && ((F = function (e) { v(this, F, N), y(e), n.call(this) var t = M(this) try { e(ce(fe, t), ce(ue, t)) } catch (r) { ue(t, r) } }), (n = function (e) { D(this, { type: N, done: !1, notified: !1, parent: !1, reactions: [], rejection: !1, state: Z, value: void 0 }) }), (n.prototype = d(F.prototype, { then: function (e, t) { var r = B(this), n = W(A(this, F)) return ( (n.ok = "function" != typeof e || e), (n.fail = "function" == typeof t && t), (n.domain = j ? q.domain : void 0), (r.parent = !0), r.reactions.push(n), r.state != Z && ie(r, !1), n.promise ) }, catch: function (e) { return this.then(void 0, e) } })), (i = function () { var e = new n(), t = M(e) ;(this.promise = e), (this.resolve = ce(fe, t)), (this.reject = ce(ue, t)) }), (C.f = W = function (e) { return e === F || e === o ? new i(e) : V(e) }), l || "function" != typeof f || ((a = f.prototype.then), p( f.prototype, "then", function (e, t) { var r = this return new F(function (e, t) { a.call(r, e, t) }).then(e, t) }, { unsafe: !0 } ), "function" == typeof G && s( { global: !0, enumerable: !0, forced: !0 }, { fetch: function (e) { return E(F, G.apply(c, arguments)) } } ))), s( { global: !0, wrap: !0, forced: te }, { Promise: F } ), h(F, N, !1, !0), m(N), (o = u(N)), s( { target: N, stat: !0, forced: te }, { reject: function (e) { var t = W(this) return t.reject.call(void 0, e), t.promise } } ), s( { target: N, stat: !0, forced: l || te }, { resolve: function (e) { return E(l && this === o ? F : this, e) } } ), s( { target: N, stat: !0, forced: re }, { all: function (e) { var t = this, r = W(t), n = r.resolve, i = r.reject, o = k(function () { var r = y(t.resolve), o = [], a = 0, s = 1 w(e, function (e) { var l = a++, c = !1 o.push(void 0), s++, r.call(t, e).then(function (e) { c || ((c = !0), (o[l] = e), --s || n(o)) }, i) }), --s || n(o) }) return o.error && i(o.value), r.promise }, race: function (e) { var t = this, r = W(t), n = r.reject, i = k(function () { var i = y(t.resolve) w(e, function (e) { i.call(t, e).then(r.resolve, n) }) }) return i.error && n(i.value), r.promise } } ) }, { "../internals/a-function": 102, "../internals/an-instance": 106, "../internals/check-correctness-of-iteration": 124, "../internals/engine-is-node": 140, "../internals/engine-v8-version": 142, "../internals/export": 144, "../internals/get-built-in": 148, "../internals/global": 150, "../internals/host-report-errors": 153, "../internals/inspect-source": 159, "../internals/internal-state": 160, "../internals/is-forced": 163, "../internals/is-object": 164, "../internals/is-pure": 165, "../internals/iterate": 167, "../internals/microtask": 171, "../internals/native-promise-constructor": 172, "../internals/new-promise-capability": 175, "../internals/perform": 194, "../internals/promise-resolve": 195, "../internals/redefine": 197, "../internals/redefine-all": 196, "../internals/set-species": 205, "../internals/set-to-string-tag": 206, "../internals/species-constructor": 210, "../internals/task": 214, "../internals/well-known-symbol": 231 } ], 256: [ function (e, t, r) { "use strict" var n = e("../internals/export"), i = e("../internals/regexp-exec") n( { target: "RegExp", proto: !0, forced: /./.exec !== i }, { exec: i } ) }, { "../internals/export": 144, "../internals/regexp-exec": 199 } ], 257: [ function (e, t, r) { "use strict" var n = e("../internals/redefine"), i = e("../internals/an-object"), o = e("../internals/fails"), a = e("../internals/regexp-flags"), s = "toString", l = RegExp.prototype, c = l[s], u = o(function () { return ( "/a/b" != c.call({ source: "a", flags: "b" }) ) }), f = c.name != s ;(u || f) && n( RegExp.prototype, s, function () { var e = i(this), t = String(e.source), r = e.flags, n = String(void 0 === r && e instanceof RegExp && !("flags" in l) ? a.call(e) : r) return "/" + t + "/" + n }, { unsafe: !0 } ) }, { "../internals/an-object": 107, "../internals/fails": 145, "../internals/redefine": 197, "../internals/regexp-flags": 200 } ], 258: [ function (e, t, r) { "use strict" var n = e("../internals/export"), i = e("../internals/not-a-regexp"), o = e("../internals/require-object-coercible"), a = e("../internals/correct-is-regexp-logic") n( { target: "String", proto: !0, forced: !a("includes") }, { includes: function (e) { return !!~String(o(this)).indexOf(i(e), arguments.length > 1 ? arguments[1] : void 0) } } ) }, { "../internals/correct-is-regexp-logic": 128, "../internals/export": 144, "../internals/not-a-regexp": 176, "../internals/require-object-coercible": 202 } ], 259: [ function (e, t, r) { "use strict" var n = e("../internals/string-multibyte").charAt, i = e("../internals/internal-state"), o = e("../internals/define-iterator"), a = "String Iterator", s = i.set, l = i.getterFor(a) o( String, "String", function (e) { s(this, { type: a, string: String(e), index: 0 }) }, function () { var e, t = l(this), r = t.string, i = t.index return i >= r.length ? { value: void 0, done: !0 } : ((e = n(r, i)), (t.index += e.length), { value: e, done: !1 }) } ) }, { "../internals/define-iterator": 134, "../internals/internal-state": 160, "../internals/string-multibyte": 211 } ], 260: [ function (e, t, r) { "use strict" var n = e("../internals/fix-regexp-well-known-symbol-logic"), i = e("../internals/an-object"), o = e("../internals/to-length"), a = e("../internals/require-object-coercible"), s = e("../internals/advance-string-index"), l = e("../internals/regexp-exec-abstract") n("match", 1, function (e, t, r) { return [ function (t) { var r = a(this), n = void 0 == t ? void 0 : t[e] return void 0 !== n ? n.call(t, r) : new RegExp(t)[e](String(r)) }, function (e) { var n = r(t, e, this) if (n.done) return n.value var a = i(e), c = String(this) if (!a.global) return l(a, c) var u = a.unicode a.lastIndex = 0 var f, p = [], d = 0 while (null !== (f = l(a, c))) { var h = String(f[0]) ;(p[d] = h), "" === h && (a.lastIndex = s(c, o(a.lastIndex), u)), d++ } return 0 === d ? null : p } ] }) }, { "../internals/advance-string-index": 105, "../internals/an-object": 107, "../internals/fix-regexp-well-known-symbol-logic": 146, "../internals/regexp-exec-abstract": 198, "../internals/require-object-coercible": 202, "../internals/to-length": 219 } ], 261: [ function (e, t, r) { "use strict" var n = e("../internals/fix-regexp-well-known-symbol-logic"), i = e("../internals/an-object"), o = e("../internals/to-object"), a = e("../internals/to-length"), s = e("../internals/to-integer"), l = e("../internals/require-object-coercible"), c = e("../internals/advance-string-index"), u = e("../internals/regexp-exec-abstract"), f = Math.max, p = Math.min, d = Math.floor, h = /\$([$&'`]|\d\d?|<[^>]*>)/g, m = /\$([$&'`]|\d\d?)/g, g = function (e) { return void 0 === e ? e : String(e) } n("replace", 2, function (e, t, r, n) { var y = n.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE, v = n.REPLACE_KEEPS_$0, b = y ? "$" : "$0" return [ function (r, n) { var i = l(this), o = void 0 == r ? void 0 : r[e] return void 0 !== o ? o.call(r, i, n) : t.call(String(i), r, n) }, function (e, n) { if ((!y && v) || ("string" === typeof n && -1 === n.indexOf(b))) { var o = r(t, e, this, n) if (o.done) return o.value } var l = i(e), d = String(this), h = "function" === typeof n h || (n = String(n)) var m = l.global if (m) { var x = l.unicode l.lastIndex = 0 } var A = [] while (1) { var _ = u(l, d) if (null === _) break if ((A.push(_), !m)) break var T = String(_[0]) "" === T && (l.lastIndex = c(d, a(l.lastIndex), x)) } for (var E = "", S = 0, C = 0; C < A.length; C++) { _ = A[C] for (var k = String(_[0]), L = f(p(s(_.index), d.length), 0), P = [], O = 1; O < _.length; O++) P.push(g(_[O])) var j = _.groups if (h) { var R = [k].concat(P, L, d) void 0 !== j && R.push(j) var I = String(n.apply(void 0, R)) } else I = w(k, d, L, P, j, n) L >= S && ((E += d.slice(S, L) + I), (S = L + k.length)) } return E + d.slice(S) } ] function w(e, r, n, i, a, s) { var l = n + e.length, c = i.length, u = m return ( void 0 !== a && ((a = o(a)), (u = h)), t.call(s, u, function (t, o) { var s switch (o.charAt(0)) { case "$": return "$" case "&": return e case "`": return r.slice(0, n) case "'": return r.slice(l) case "<": s = a[o.slice(1, -1)] break default: var u = +o if (0 === u) return t if (u > c) { var f = d(u / 10) return 0 === f ? t : f <= c ? (void 0 === i[f - 1] ? o.charAt(1) : i[f - 1] + o.charAt(1)) : t } s = i[u - 1] } return void 0 === s ? "" : s }) ) } }) }, { "../internals/advance-string-index": 105, "../internals/an-object": 107, "../internals/fix-regexp-well-known-symbol-logic": 146, "../internals/regexp-exec-abstract": 198, "../internals/require-object-coercible": 202, "../internals/to-integer": 218, "../internals/to-length": 219, "../internals/to-object": 220 } ], 262: [ function (e, t, r) { "use strict" var n = e("../internals/fix-regexp-well-known-symbol-logic"), i = e("../internals/an-object"), o = e("../internals/require-object-coercible"), a = e("../internals/same-value"), s = e("../internals/regexp-exec-abstract") n("search", 1, function (e, t, r) { return [ function (t) { var r = o(this), n = void 0 == t ? void 0 : t[e] return void 0 !== n ? n.call(t, r) : new RegExp(t)[e](String(r)) }, function (e) { var n = r(t, e, this) if (n.done) return n.value var o = i(e), l = String(this), c = o.lastIndex a(c, 0) || (o.lastIndex = 0) var u = s(o, l) return a(o.lastIndex, c) || (o.lastIndex = c), null === u ? -1 : u.index } ] }) }, { "../internals/an-object": 107, "../internals/fix-regexp-well-known-symbol-logic": 146, "../internals/regexp-exec-abstract": 198, "../internals/require-object-coercible": 202, "../internals/same-value": 203 } ], 263: [ function (e, t, r) { "use strict" var n = e("../internals/fix-regexp-well-known-symbol-logic"), i = e("../internals/is-regexp"), o = e("../internals/an-object"), a = e("../internals/require-object-coercible"), s = e("../internals/species-constructor"), l = e("../internals/advance-string-index"), c = e("../internals/to-length"), u = e("../internals/regexp-exec-abstract"), f = e("../internals/regexp-exec"), p = e("../internals/fails"), d = [].push, h = Math.min, m = 4294967295, g = !p(function () { return !RegExp(m, "y") }) n( "split", 2, function (e, t, r) { var n return ( (n = "c" == "abbc".split(/(b)*/)[1] || 4 != "test".split(/(?:)/, -1).length || 2 != "ab".split(/(?:ab)*/).length || 4 != ".".split(/(.?)(.?)/).length || ".".split(/()()/).length > 1 || "".split(/.?/).length ? function (e, r) { var n = String(a(this)), o = void 0 === r ? m : r >>> 0 if (0 === o) return [] if (void 0 === e) return [n] if (!i(e)) return t.call(n, e, o) var s, l, c, u = [], p = (e.ignoreCase ? "i" : "") + (e.multiline ? "m" : "") + (e.unicode ? "u" : "") + (e.sticky ? "y" : ""), h = 0, g = new RegExp(e.source, p + "g") while ((s = f.call(g, n))) { if ( ((l = g.lastIndex), l > h && (u.push(n.slice(h, s.index)), s.length > 1 && s.index < n.length && d.apply(u, s.slice(1)), (c = s[0].length), (h = l), u.length >= o)) ) break g.lastIndex === s.index && g.lastIndex++ } return ( h === n.length ? (!c && g.test("")) || u.push("") : u.push(n.slice(h)), u.length > o ? u.slice(0, o) : u ) } : "0".split(void 0, 0).length ? function (e, r) { return void 0 === e && 0 === r ? [] : t.call(this, e, r) } : t), [ function (t, r) { var i = a(this), o = void 0 == t ? void 0 : t[e] return void 0 !== o ? o.call(t, i, r) : n.call(String(i), t, r) }, function (e, i) { var a = r(n, e, this, i, n !== t) if (a.done) return a.value var f = o(e), p = String(this), d = s(f, RegExp), y = f.unicode, v = (f.ignoreCase ? "i" : "") + (f.multiline ? "m" : "") + (f.unicode ? "u" : "") + (g ? "y" : "g"), b = new d(g ? f : "^(?:" + f.source + ")", v), w = void 0 === i ? m : i >>> 0 if (0 === w) return [] if (0 === p.length) return null === u(b, p) ? [p] : [] var x = 0, A = 0, _ = [] while (A < p.length) { b.lastIndex = g ? A : 0 var T, E = u(b, g ? p : p.slice(A)) if (null === E || (T = h(c(b.lastIndex + (g ? 0 : A)), p.length)) === x) A = l(p, A, y) else { if ((_.push(p.slice(x, A)), _.length === w)) return _ for (var S = 1; S <= E.length - 1; S++) if ((_.push(E[S]), _.length === w)) return _ A = x = T } } return _.push(p.slice(x)), _ } ] ) }, !g ) }, { "../internals/advance-string-index": 105, "../internals/an-object": 107, "../internals/fails": 145, "../internals/fix-regexp-well-known-symbol-logic": 146, "../internals/is-regexp": 166, "../internals/regexp-exec": 199, "../internals/regexp-exec-abstract": 198, "../internals/require-object-coercible": 202, "../internals/species-constructor": 210, "../internals/to-length": 219 } ], 264: [ function (e, t, r) { "use strict" var n = e("../internals/export"), i = e("../internals/string-trim").trim, o = e("../internals/string-trim-forced") n( { target: "String", proto: !0, forced: o("trim") }, { trim: function () { return i(this) } } ) }, { "../internals/export": 144, "../internals/string-trim": 213, "../internals/string-trim-forced": 212 } ], 265: [ function (e, t, r) { "use strict" var n = e("../internals/export"), i = e("../internals/descriptors"), o = e("../internals/global"), a = e("../internals/has"), s = e("../internals/is-object"), l = e("../internals/object-define-property").f, c = e("../internals/copy-constructor-properties"), u = o.Symbol if (i && "function" == typeof u && (!("description" in u.prototype) || void 0 !== u().description)) { var f = {}, p = function () { var e = arguments.length < 1 || void 0 === arguments[0] ? void 0 : String(arguments[0]), t = this instanceof p ? new u(e) : void 0 === e ? u() : u(e) return "" === e && (f[t] = !0), t } c(p, u) var d = (p.prototype = u.prototype) d.constructor = p var h = d.toString, m = "Symbol(test)" == String(u("test")), g = /^Symbol\((.*)\)[^)]+$/ l(d, "description", { configurable: !0, get: function () { var e = s(this) ? this.valueOf() : this, t = h.call(e) if (a(f, e)) return "" var r = m ? t.slice(7, -1) : t.replace(g, "$1") return "" === r ? void 0 : r } }), n( { global: !0, forced: !0 }, { Symbol: p } ) } }, { "../internals/copy-constructor-properties": 127, "../internals/descriptors": 136, "../internals/export": 144, "../internals/global": 150, "../internals/has": 151, "../internals/is-object": 164, "../internals/object-define-property": 180 } ], 266: [ function (e, t, r) { "use strict" var n = e("../internals/export"), i = e("../internals/global"), o = e("../internals/get-built-in"), a = e("../internals/is-pure"), s = e("../internals/descriptors"), l = e("../internals/native-symbol"), c = e("../internals/use-symbol-as-uid"), u = e("../internals/fails"), f = e("../internals/has"), p = e("../internals/is-array"), d = e("../internals/is-object"), h = e("../internals/an-object"), m = e("../internals/to-object"), g = e("../internals/to-indexed-object"), y = e("../internals/to-primitive"), v = e("../internals/create-property-descriptor"), b = e("../internals/object-create"), w = e("../internals/object-keys"), x = e("../internals/object-get-own-property-names"), A = e("../internals/object-get-own-property-names-external"), _ = e("../internals/object-get-own-property-symbols"), T = e("../internals/object-get-own-property-descriptor"), E = e("../internals/object-define-property"), S = e("../internals/object-property-is-enumerable"), C = e("../internals/create-non-enumerable-property"), k = e("../internals/redefine"), L = e("../internals/shared"), P = e("../internals/shared-key"), O = e("../internals/hidden-keys"), j = e("../internals/uid"), R = e("../internals/well-known-symbol"), I = e("../internals/well-known-symbol-wrapped"), N = e("../internals/define-well-known-symbol"), M = e("../internals/set-to-string-tag"), D = e("../internals/internal-state"), B = e("../internals/array-iteration").forEach, F = P("hidden"), U = "Symbol", z = "prototype", q = R("toPrimitive"), G = D.set, W = D.getterFor(U), V = Object[z], H = i.Symbol, X = o("JSON", "stringify"), Y = T.f, K = E.f, Z = A.f, Q = S.f, J = L("symbols"), $ = L("op-symbols"), ee = L("string-to-symbol-registry"), te = L("symbol-to-string-registry"), re = L("wks"), ne = i.QObject, ie = !ne || !ne[z] || !ne[z].findChild, oe = s && u(function () { return ( 7 != b( K({}, "a", { get: function () { return K(this, "a", { value: 7 }).a } }) ).a ) }) ? function (e, t, r) { var n = Y(V, t) n && delete V[t], K(e, t, r), n && e !== V && K(V, t, n) } : K, ae = function (e, t) { var r = (J[e] = b(H[z])) return ( G(r, { type: U, tag: e, description: t }), s || (r.description = t), r ) }, se = c ? function (e) { return "symbol" == typeof e } : function (e) { return Object(e) instanceof H }, le = function (e, t, r) { e === V && le($, t, r), h(e) var n = y(t, !0) return ( h(r), f(J, n) ? (r.enumerable ? (f(e, F) && e[F][n] && (e[F][n] = !1), (r = b(r, { enumerable: v(0, !1) }))) : (f(e, F) || K(e, F, v(1, {})), (e[F][n] = !0)), oe(e, n, r)) : K(e, n, r) ) }, ce = function (e, t) { h(e) var r = g(t), n = w(r).concat(he(r)) return ( B(n, function (t) { ;(s && !fe.call(r, t)) || le(e, t, r[t]) }), e ) }, ue = function (e, t) { return void 0 === t ? b(e) : ce(b(e), t) }, fe = function (e) { var t = y(e, !0), r = Q.call(this, t) return !(this === V && f(J, t) && !f($, t)) && (!(r || !f(this, t) || !f(J, t) || (f(this, F) && this[F][t])) || r) }, pe = function (e, t) { var r = g(e), n = y(t, !0) if (r !== V || !f(J, n) || f($, n)) { var i = Y(r, n) return !i || !f(J, n) || (f(r, F) && r[F][n]) || (i.enumerable = !0), i } }, de = function (e) { var t = Z(g(e)), r = [] return ( B(t, function (e) { f(J, e) || f(O, e) || r.push(e) }), r ) }, he = function (e) { var t = e === V, r = Z(t ? $ : g(e)), n = [] return ( B(r, function (e) { !f(J, e) || (t && !f(V, e)) || n.push(J[e]) }), n ) } if ( (l || ((H = function () { if (this instanceof H) throw TypeError("Symbol is not a constructor") var e = arguments.length && void 0 !== arguments[0] ? String(arguments[0]) : void 0, t = j(e), r = function (e) { this === V && r.call($, e), f(this, F) && f(this[F], t) && (this[F][t] = !1), oe(this, t, v(1, e)) } return ( s && ie && oe(V, t, { configurable: !0, set: r }), ae(t, e) ) }), k(H[z], "toString", function () { return W(this).tag }), k(H, "withoutSetter", function (e) { return ae(j(e), e) }), (S.f = fe), (E.f = le), (T.f = pe), (x.f = A.f = de), (_.f = he), (I.f = function (e) { return ae(R(e), e) }), s && (K(H[z], "description", { configurable: !0, get: function () { return W(this).description } }), a || k(V, "propertyIsEnumerable", fe, { unsafe: !0 }))), n( { global: !0, wrap: !0, forced: !l, sham: !l }, { Symbol: H } ), B(w(re), function (e) { N(e) }), n( { target: U, stat: !0, forced: !l }, { for: function (e) { var t = String(e) if (f(ee, t)) return ee[t] var r = H(t) return (ee[t] = r), (te[r] = t), r }, keyFor: function (e) { if (!se(e)) throw TypeError(e + " is not a symbol") if (f(te, e)) return te[e] }, useSetter: function () { ie = !0 }, useSimple: function () { ie = !1 } } ), n( { target: "Object", stat: !0, forced: !l, sham: !s }, { create: ue, defineProperty: le, defineProperties: ce, getOwnPropertyDescriptor: pe } ), n( { target: "Object", stat: !0, forced: !l }, { getOwnPropertyNames: de, getOwnPropertySymbols: he } ), n( { target: "Object", stat: !0, forced: u(function () { _.f(1) }) }, { getOwnPropertySymbols: function (e) { return _.f(m(e)) } } ), X) ) { var me = !l || u(function () { var e = H() return ( "[null]" != X([e]) || "{}" != X({ a: e }) || "{}" != X(Object(e)) ) }) n( { target: "JSON", stat: !0, forced: me }, { stringify: function (e, t, r) { var n, i = [e], o = 1 while (arguments.length > o) i.push(arguments[o++]) if (((n = t), (d(t) || void 0 !== e) && !se(e))) return ( p(t) || (t = function (e, t) { if (("function" == typeof n && (t = n.call(this, e, t)), !se(t))) return t }), (i[1] = t), X.apply(null, i) ) } } ) } H[z][q] || C(H[z], q, H[z].valueOf), M(H, U), (O[F] = !0) }, { "../internals/an-object": 107, "../internals/array-iteration": 116, "../internals/create-non-enumerable-property": 131, "../internals/create-property-descriptor": 132, "../internals/define-well-known-symbol": 135, "../internals/descriptors": 136, "../internals/export": 144, "../internals/fails": 145, "../internals/get-built-in": 148, "../internals/global": 150, "../internals/has": 151, "../internals/hidden-keys": 152, "../internals/internal-state": 160, "../internals/is-array": 162, "../internals/is-object": 164, "../internals/is-pure": 165, "../internals/native-symbol": 173, "../internals/object-create": 178, "../internals/object-define-property": 180, "../internals/object-get-own-property-descriptor": 181, "../internals/object-get-own-property-names": 183, "../internals/object-get-own-property-names-external": 182, "../internals/object-get-own-property-symbols": 184, "../internals/object-keys": 187, "../internals/object-property-is-enumerable": 188, "../internals/redefine": 197, "../internals/set-to-string-tag": 206, "../internals/shared": 209, "../internals/shared-key": 207, "../internals/to-indexed-object": 217, "../internals/to-object": 220, "../internals/to-primitive": 223, "../internals/uid": 228, "../internals/use-symbol-as-uid": 229, "../internals/well-known-symbol": 231, "../internals/well-known-symbol-wrapped": 230 } ], 267: [ function (e, t, r) { "use strict" var n = e("../internals/array-buffer-view-core"), i = e("../internals/array-copy-within"), o = n.aTypedArray, a = n.exportTypedArrayMethod a("copyWithin", function (e, t) { return i.call(o(this), e, t, arguments.length > 2 ? arguments[2] : void 0) }) }, { "../internals/array-buffer-view-core": 109, "../internals/array-copy-within": 111 } ], 268: [ function (e, t, r) { "use strict" var n = e("../internals/array-buffer-view-core"), i = e("../internals/array-iteration").every, o = n.aTypedArray, a = n.exportTypedArrayMethod a("every", function (e) { return i(o(this), e, arguments.length > 1 ? arguments[1] : void 0) }) }, { "../internals/array-buffer-view-core": 109, "../internals/array-iteration": 116 } ], 269: [ function (e, t, r) { "use strict" var n = e("../internals/array-buffer-view-core"), i = e("../internals/array-fill"), o = n.aTypedArray, a = n.exportTypedArrayMethod a("fill", function (e) { return i.apply(o(this), arguments) }) }, { "../internals/array-buffer-view-core": 109, "../internals/array-fill": 112 } ], 270: [ function (e, t, r) { "use strict" var n = e("../internals/array-buffer-view-core"), i = e("../internals/array-iteration").filter, o = e("../internals/species-constructor"), a = n.aTypedArray, s = n.aTypedArrayConstructor, l = n.exportTypedArrayMethod l("filter", function (e) { var t = i(a(this), e, arguments.length > 1 ? arguments[1] : void 0), r = o(this, this.constructor), n = 0, l = t.length, c = new (s(r))(l) while (l > n) c[n] = t[n++] return c }) }, { "../internals/array-buffer-view-core": 109, "../internals/array-iteration": 116, "../internals/species-constructor": 210 } ], 271: [ function (e, t, r) { "use strict" var n = e("../internals/array-buffer-view-core"), i = e("../internals/array-iteration").findIndex, o = n.aTypedArray, a = n.exportTypedArrayMethod a("findIndex", function (e) { return i(o(this), e, arguments.length > 1 ? arguments[1] : void 0) }) }, { "../internals/array-buffer-view-core": 109, "../internals/array-iteration": 116 } ], 272: [ function (e, t, r) { "use strict" var n = e("../internals/array-buffer-view-core"), i = e("../internals/array-iteration").find, o = n.aTypedArray, a = n.exportTypedArrayMethod a("find", function (e) { return i(o(this), e, arguments.length > 1 ? arguments[1] : void 0) }) }, { "../internals/array-buffer-view-core": 109, "../internals/array-iteration": 116 } ], 273: [ function (e, t, r) { "use strict" var n = e("../internals/array-buffer-view-core"), i = e("../internals/array-iteration").forEach, o = n.aTypedArray, a = n.exportTypedArrayMethod a("forEach", function (e) { i(o(this), e, arguments.length > 1 ? arguments[1] : void 0) }) }, { "../internals/array-buffer-view-core": 109, "../internals/array-iteration": 116 } ], 274: [ function (e, t, r) { "use strict" var n = e("../internals/array-buffer-view-core"), i = e("../internals/array-includes").includes, o = n.aTypedArray, a = n.exportTypedArrayMethod a("includes", function (e) { return i(o(this), e, arguments.length > 1 ? arguments[1] : void 0) }) }, { "../internals/array-buffer-view-core": 109, "../internals/array-includes": 115 } ], 275: [ function (e, t, r) { "use strict" var n = e("../internals/array-buffer-view-core"), i = e("../internals/array-includes").indexOf, o = n.aTypedArray, a = n.exportTypedArrayMethod a("indexOf", function (e) { return i(o(this), e, arguments.length > 1 ? arguments[1] : void 0) }) }, { "../internals/array-buffer-view-core": 109, "../internals/array-includes": 115 } ], 276: [ function (e, t, r) { "use strict" var n = e("../internals/global"), i = e("../internals/array-buffer-view-core"), o = e("../modules/es.array.iterator"), a = e("../internals/well-known-symbol"), s = a("iterator"), l = n.Uint8Array, c = o.values, u = o.keys, f = o.entries, p = i.aTypedArray, d = i.exportTypedArrayMethod, h = l && l.prototype[s], m = !!h && ("values" == h.name || void 0 == h.name), g = function () { return c.call(p(this)) } d("entries", function () { return f.call(p(this)) }), d("keys", function () { return u.call(p(this)) }), d("values", g, !m), d(s, g, !m) }, { "../internals/array-buffer-view-core": 109, "../internals/global": 150, "../internals/well-known-symbol": 231, "../modules/es.array.iterator": 242 } ], 277: [ function (e, t, r) { "use strict" var n = e("../internals/array-buffer-view-core"), i = n.aTypedArray, o = n.exportTypedArrayMethod, a = [].join o("join", function (e) { return a.apply(i(this), arguments) }) }, { "../internals/array-buffer-view-core": 109 } ], 278: [ function (e, t, r) { "use strict" var n = e("../internals/array-buffer-view-core"), i = e("../internals/array-last-index-of"), o = n.aTypedArray, a = n.exportTypedArrayMethod a("lastIndexOf", function (e) { return i.apply(o(this), arguments) }) }, { "../internals/array-buffer-view-core": 109, "../internals/array-last-index-of": 117 } ], 279: [ function (e, t, r) { "use strict" var n = e("../internals/array-buffer-view-core"), i = e("../internals/array-iteration").map, o = e("../internals/species-constructor"), a = n.aTypedArray, s = n.aTypedArrayConstructor, l = n.exportTypedArrayMethod l("map", function (e) { return i(a(this), e, arguments.length > 1 ? arguments[1] : void 0, function (e, t) { return new (s(o(e, e.constructor)))(t) }) }) }, { "../internals/array-buffer-view-core": 109, "../internals/array-iteration": 116, "../internals/species-constructor": 210 } ], 280: [ function (e, t, r) { "use strict" var n = e("../internals/array-buffer-view-core"), i = e("../internals/array-reduce").right, o = n.aTypedArray, a = n.exportTypedArrayMethod a("reduceRight", function (e) { return i(o(this), e, arguments.length, arguments.length > 1 ? arguments[1] : void 0) }) }, { "../internals/array-buffer-view-core": 109, "../internals/array-reduce": 121 } ], 281: [ function (e, t, r) { "use strict" var n = e("../internals/array-buffer-view-core"), i = e("../internals/array-reduce").left, o = n.aTypedArray, a = n.exportTypedArrayMethod a("reduce", function (e) { return i(o(this), e, arguments.length, arguments.length > 1 ? arguments[1] : void 0) }) }, { "../internals/array-buffer-view-core": 109, "../internals/array-reduce": 121 } ], 282: [ function (e, t, r) { "use strict" var n = e("../internals/array-buffer-view-core"), i = n.aTypedArray, o = n.exportTypedArrayMethod, a = Math.floor o("reverse", function () { var e, t = this, r = i(t).length, n = a(r / 2), o = 0 while (o < n) (e = t[o]), (t[o++] = t[--r]), (t[r] = e) return t }) }, { "../internals/array-buffer-view-core": 109 } ], 283: [ function (e, t, r) { "use strict" var n = e("../internals/array-buffer-view-core"), i = e("../internals/to-length"), o = e("../internals/to-offset"), a = e("../internals/to-object"), s = e("../internals/fails"), l = n.aTypedArray, c = n.exportTypedArrayMethod, u = s(function () { new Int8Array(1).set({}) }) c( "set", function (e) { l(this) var t = o(arguments.length > 1 ? arguments[1] : void 0, 1), r = this.length, n = a(e), s = i(n.length), c = 0 if (s + t > r) throw RangeError("Wrong length") while (c < s) this[t + c] = n[c++] }, u ) }, { "../internals/array-buffer-view-core": 109, "../internals/fails": 145, "../internals/to-length": 219, "../internals/to-object": 220, "../internals/to-offset": 221 } ], 284: [ function (e, t, r) { "use strict" var n = e("../internals/array-buffer-view-core"), i = e("../internals/species-constructor"), o = e("../internals/fails"), a = n.aTypedArray, s = n.aTypedArrayConstructor, l = n.exportTypedArrayMethod, c = [].slice, u = o(function () { new Int8Array(1).slice() }) l( "slice", function (e, t) { var r = c.call(a(this), e, t), n = i(this, this.constructor), o = 0, l = r.length, u = new (s(n))(l) while (l > o) u[o] = r[o++] return u }, u ) }, { "../internals/array-buffer-view-core": 109, "../internals/fails": 145, "../internals/species-constructor": 210 } ], 285: [ function (e, t, r) { "use strict" var n = e("../internals/array-buffer-view-core"), i = e("../internals/array-iteration").some, o = n.aTypedArray, a = n.exportTypedArrayMethod a("some", function (e) { return i(o(this), e, arguments.length > 1 ? arguments[1] : void 0) }) }, { "../internals/array-buffer-view-core": 109, "../internals/array-iteration": 116 } ], 286: [ function (e, t, r) { "use strict" var n = e("../internals/array-buffer-view-core"), i = n.aTypedArray, o = n.exportTypedArrayMethod, a = [].sort o("sort", function (e) { return a.call(i(this), e) }) }, { "../internals/array-buffer-view-core": 109 } ], 287: [ function (e, t, r) { "use strict" var n = e("../internals/array-buffer-view-core"), i = e("../internals/to-length"), o = e("../internals/to-absolute-index"), a = e("../internals/species-constructor"), s = n.aTypedArray, l = n.exportTypedArrayMethod l("subarray", function (e, t) { var r = s(this), n = r.length, l = o(e, n) return new (a(r, r.constructor))(r.buffer, r.byteOffset + l * r.BYTES_PER_ELEMENT, i((void 0 === t ? n : o(t, n)) - l)) }) }, { "../internals/array-buffer-view-core": 109, "../internals/species-constructor": 210, "../internals/to-absolute-index": 215, "../internals/to-length": 219 } ], 288: [ function (e, t, r) { "use strict" var n = e("../internals/global"), i = e("../internals/array-buffer-view-core"), o = e("../internals/fails"), a = n.Int8Array, s = i.aTypedArray, l = i.exportTypedArrayMethod, c = [].toLocaleString, u = [].slice, f = !!a && o(function () { c.call(new a(1)) }), p = o(function () { return [1, 2].toLocaleString() != new a([1, 2]).toLocaleString() }) || !o(function () { a.prototype.toLocaleString.call([1, 2]) }) l( "toLocaleString", function () { return c.apply(f ? u.call(s(this)) : s(this), arguments) }, p ) }, { "../internals/array-buffer-view-core": 109, "../internals/fails": 145, "../internals/global": 150 } ], 289: [ function (e, t, r) { "use strict" var n = e("../internals/array-buffer-view-core").exportTypedArrayMethod, i = e("../internals/fails"), o = e("../internals/global"), a = o.Uint8Array, s = (a && a.prototype) || {}, l = [].toString, c = [].join i(function () { l.call({}) }) && (l = function () { return c.call(this) }) var u = s.toString != l n("toString", l, u) }, { "../internals/array-buffer-view-core": 109, "../internals/fails": 145, "../internals/global": 150 } ], 290: [ function (e, t, r) { var n = e("../internals/typed-array-constructor") n("Uint8", function (e) { return function (t, r, n) { return e(this, t, r, n) } }) }, { "../internals/typed-array-constructor": 225 } ], 291: [ function (e, t, r) { var n = e("../internals/global"), i = e("../internals/dom-iterables"), o = e("../internals/array-for-each"), a = e("../internals/create-non-enumerable-property") for (var s in i) { var l = n[s], c = l && l.prototype if (c && c.forEach !== o) try { a(c, "forEach", o) } catch (u) { c.forEach = o } } }, { "../internals/array-for-each": 113, "../internals/create-non-enumerable-property": 131, "../internals/dom-iterables": 138, "../internals/global": 150 } ], 292: [ function (e, t, r) { var n = e("../internals/global"), i = e("../internals/dom-iterables"), o = e("../modules/es.array.iterator"), a = e("../internals/create-non-enumerable-property"), s = e("../internals/well-known-symbol"), l = s("iterator"), c = s("toStringTag"), u = o.values for (var f in i) { var p = n[f], d = p && p.prototype if (d) { if (d[l] !== u) try { a(d, l, u) } catch (m) { d[l] = u } if ((d[c] || a(d, c, f), i[f])) for (var h in o) if (d[h] !== o[h]) try { a(d, h, o[h]) } catch (m) { d[h] = o[h] } } } }, { "../internals/create-non-enumerable-property": 131, "../internals/dom-iterables": 138, "../internals/global": 150, "../internals/well-known-symbol": 231, "../modules/es.array.iterator": 242 } ], 293: [ function (e, t, r) { ;(function (e) { function t(e) { return Array.isArray ? Array.isArray(e) : "[object Array]" === g(e) } function n(e) { return "boolean" === typeof e } function i(e) { return null === e } function o(e) { return null == e } function a(e) { return "number" === typeof e } function s(e) { return "string" === typeof e } function l(e) { return "symbol" === typeof e } function c(e) { return void 0 === e } function u(e) { return "[object RegExp]" === g(e) } function f(e) { return "object" === typeof e && null !== e } function p(e) { return "[object Date]" === g(e) } function d(e) { return "[object Error]" === g(e) || e instanceof Error } function h(e) { return "function" === typeof e } function m(e) { return ( null === e || "boolean" === typeof e || "number" === typeof e || "string" === typeof e || "symbol" === typeof e || "undefined" === typeof e ) } function g(e) { return Object.prototype.toString.call(e) } ;(r.isArray = t), (r.isBoolean = n), (r.isNull = i), (r.isNullOrUndefined = o), (r.isNumber = a), (r.isString = s), (r.isSymbol = l), (r.isUndefined = c), (r.isRegExp = u), (r.isObject = f), (r.isDate = p), (r.isError = d), (r.isFunction = h), (r.isPrimitive = m), (r.isBuffer = e.isBuffer) }).call(this, { isBuffer: e("../../is-buffer/index.js") }) }, { "../../is-buffer/index.js": 307 } ], 294: [ function (e, t, r) { ;(function (e) { "use strict" var n = (function () { var e = /d{1,4}|m{1,4}|yy(?:yy)?|([HhMsTt])\1?|[LloSZWN]|'[^']*'|'[^']*'/g, t = /\b(?:[PMCEA][SDP]T|(?:Pacific|Mountain|Central|Eastern|Atlantic) (?:Standard|Daylight|Prevailing) Time|(?:GMT|UTC)(?:[-+]\d{4})?)\b/g, r = /[^-+\dA-Z]/g return function (l, c, u, f) { if ( (1 !== arguments.length || "string" !== s(l) || /\d/.test(l) || ((c = l), (l = void 0)), (l = l || new Date()), l instanceof Date || (l = new Date(l)), isNaN(l)) ) throw TypeError("Invalid date") c = String(n.masks[c] || c || n.masks["default"]) var p = c.slice(0, 4) ;("UTC:" !== p && "GMT:" !== p) || ((c = c.slice(4)), (u = !0), "GMT:" === p && (f = !0)) var d = u ? "getUTC" : "get", h = l[d + "Date"](), m = l[d + "Day"](), g = l[d + "Month"](), y = l[d + "FullYear"](), v = l[d + "Hours"](), b = l[d + "Minutes"](), w = l[d + "Seconds"](), x = l[d + "Milliseconds"](), A = u ? 0 : l.getTimezoneOffset(), _ = o(l), T = a(l), E = { d: h, dd: i(h), ddd: n.i18n.dayNames[m], dddd: n.i18n.dayNames[m + 7], m: g + 1, mm: i(g + 1), mmm: n.i18n.monthNames[g], mmmm: n.i18n.monthNames[g + 12], yy: String(y).slice(2), yyyy: y, h: v % 12 || 12, hh: i(v % 12 || 12), H: v, HH: i(v), M: b, MM: i(b), s: w, ss: i(w), l: i(x, 3), L: i(Math.round(x / 10)), t: v < 12 ? "a" : "p", tt: v < 12 ? "am" : "pm", T: v < 12 ? "A" : "P", TT: v < 12 ? "AM" : "PM", Z: f ? "GMT" : u ? "UTC" : (String(l).match(t) || [""]).pop().replace(r, ""), o: (A > 0 ? "-" : "+") + i(100 * Math.floor(Math.abs(A) / 60) + (Math.abs(A) % 60), 4), S: ["th", "st", "nd", "rd"][h % 10 > 3 ? 0 : (((h % 100) - (h % 10) != 10) * h) % 10], W: _, N: T } return c.replace(e, function (e) { return e in E ? E[e] : e.slice(1, e.length - 1) }) } })() function i(e, t) { ;(e = String(e)), (t = t || 2) while (e.length < t) e = "0" + e return e } function o(e) { var t = new Date(e.getFullYear(), e.getMonth(), e.getDate()) t.setDate(t.getDate() - ((t.getDay() + 6) % 7) + 3) var r = new Date(t.getFullYear(), 0, 4) r.setDate(r.getDate() - ((r.getDay() + 6) % 7) + 3) var n = t.getTimezoneOffset() - r.getTimezoneOffset() t.setHours(t.getHours() - n) var i = (t - r) / 6048e5 return 1 + Math.floor(i) } function a(e) { var t = e.getDay() return 0 === t && (t = 7), t } function s(e) { return null === e ? "null" : void 0 === e ? "undefined" : "object" !== typeof e ? typeof e : Array.isArray(e) ? "array" : {}.toString.call(e).slice(8, -1).toLowerCase() } ;(n.masks = { default: "ddd mmm dd yyyy HH:MM:ss", shortDate: "m/d/yy", mediumDate: "mmm d, yyyy", longDate: "mmmm d, yyyy", fullDate: "dddd, mmmm d, yyyy", shortTime: "h:MM TT", mediumTime: "h:MM:ss TT", longTime: "h:MM:ss TT Z", isoDate: "yyyy-mm-dd", isoTime: "HH:MM:ss", isoDateTime: "yyyy-mm-dd'T'HH:MM:sso", isoUtcDateTime: "UTC:yyyy-mm-dd'T'HH:MM:ss'Z'", expiresHeaderFormat: "ddd, dd mmm yyyy HH:MM:ss Z" }), (n.i18n = { dayNames: [ "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday" ], monthNames: [ "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec", "January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December" ] }), "function" === typeof define && define.amd ? define(function () { return n }) : "object" === typeof r ? (t.exports = n) : (e.dateFormat = n) })(this) }, {} ], 295: [ function (e, t, r) { /*! * escape-html * Copyright(c) 2012-2013 TJ Holowaychuk * Copyright(c) 2015 Andreas Lubbe * Copyright(c) 2015 Tiancheng "Timothy" Gu * MIT Licensed */ "use strict" var n = /["'&<>]/ function i(e) { var t, r = "" + e, i = n.exec(r) if (!i) return r var o = "", a = 0, s = 0 for (a = i.index; a < r.length; a++) { switch (r.charCodeAt(a)) { case 34: t = """ break case 38: t = "&" break case 39: t = "'" break case 60: t = "<" break case 62: t = ">" break default: continue } s !== a && (o += r.substring(s, a)), (s = a + 1), (o += t) } return s !== a ? o + r.substring(s, a) : o } t.exports = i }, {} ], 296: [ function (e, t, r) { var n = Object.create || T, i = Object.keys || E, o = Function.prototype.bind || S function a() { ;(this._events && Object.prototype.hasOwnProperty.call(this, "_events")) || ((this._events = n(null)), (this._eventsCount = 0)), (this._maxListeners = this._maxListeners || void 0) } ;(t.exports = a), (a.EventEmitter = a), (a.prototype._events = void 0), (a.prototype._maxListeners = void 0) var s, l = 10 try { var c = {} Object.defineProperty && Object.defineProperty(c, "x", { value: 0 }), (s = 0 === c.x) } catch (C) { s = !1 } function u(e) { return void 0 === e._maxListeners ? a.defaultMaxListeners : e._maxListeners } function f(e, t, r) { if (t) e.call(r) else for (var n = e.length, i = A(e, n), o = 0; o < n; ++o) i[o].call(r) } function p(e, t, r, n) { if (t) e.call(r, n) else for (var i = e.length, o = A(e, i), a = 0; a < i; ++a) o[a].call(r, n) } function d(e, t, r, n, i) { if (t) e.call(r, n, i) else for (var o = e.length, a = A(e, o), s = 0; s < o; ++s) a[s].call(r, n, i) } function h(e, t, r, n, i, o) { if (t) e.call(r, n, i, o) else for (var a = e.length, s = A(e, a), l = 0; l < a; ++l) s[l].call(r, n, i, o) } function m(e, t, r, n) { if (t) e.apply(r, n) else for (var i = e.length, o = A(e, i), a = 0; a < i; ++a) o[a].apply(r, n) } function g(e, t, r, i) { var o, a, s if ("function" !== typeof r) throw new TypeError('"listener" argument must be a function') if ( ((a = e._events), a ? (a.newListener && (e.emit("newListener", t, r.listener ? r.listener : r), (a = e._events)), (s = a[t])) : ((a = e._events = n(null)), (e._eventsCount = 0)), s) ) { if ( ("function" === typeof s ? (s = a[t] = i ? [r, s] : [s, r]) : i ? s.unshift(r) : s.push(r), !s.warned && ((o = u(e)), o && o > 0 && s.length > o)) ) { s.warned = !0 var l = new Error( "Possible EventEmitter memory leak detected. " + s.length + ' "' + String(t) + '" listeners added. Use emitter.setMaxListeners() to increase limit.' ) ;(l.name = "MaxListenersExceededWarning"), (l.emitter = e), (l.type = t), (l.count = s.length), "object" === typeof console && console.warn && console.warn("%s: %s", l.name, l.message) } } else (s = a[t] = r), ++e._eventsCount return e } function y() { if (!this.fired) switch ((this.target.removeListener(this.type, this.wrapFn), (this.fired = !0), arguments.length)) { case 0: return this.listener.call(this.target) case 1: return this.listener.call(this.target, arguments[0]) case 2: return this.listener.call(this.target, arguments[0], arguments[1]) case 3: return this.listener.call(this.target, arguments[0], arguments[1], arguments[2]) default: for (var e = new Array(arguments.length), t = 0; t < e.length; ++t) e[t] = arguments[t] this.listener.apply(this.target, e) } } function v(e, t, r) { var n = { fired: !1, wrapFn: void 0, target: e, type: t, listener: r }, i = o.call(y, n) return (i.listener = r), (n.wrapFn = i), i } function b(e, t, r) { var n = e._events if (!n) return [] var i = n[t] return i ? ("function" === typeof i ? (r ? [i.listener || i] : [i]) : r ? _(i) : A(i, i.length)) : [] } function w(e) { var t = this._events if (t) { var r = t[e] if ("function" === typeof r) return 1 if (r) return r.length } return 0 } function x(e, t) { for (var r = t, n = r + 1, i = e.length; n < i; r += 1, n += 1) e[r] = e[n] e.pop() } function A(e, t) { for (var r = new Array(t), n = 0; n < t; ++n) r[n] = e[n] return r } function _(e) { for (var t = new Array(e.length), r = 0; r < t.length; ++r) t[r] = e[r].listener || e[r] return t } function T(e) { var t = function () {} return (t.prototype = e), new t() } function E(e) { var t = [] for (var r in e) Object.prototype.hasOwnProperty.call(e, r) && t.push(r) return r } function S(e) { var t = this return function () { return t.apply(e, arguments) } } s ? Object.defineProperty(a, "defaultMaxListeners", { enumerable: !0, get: function () { return l }, set: function (e) { if ("number" !== typeof e || e < 0 || e !== e) throw new TypeError('"defaultMaxListeners" must be a positive number') l = e } }) : (a.defaultMaxListeners = l), (a.prototype.setMaxListeners = function (e) { if ("number" !== typeof e || e < 0 || isNaN(e)) throw new TypeError('"n" argument must be a positive number') return (this._maxListeners = e), this }), (a.prototype.getMaxListeners = function () { return u(this) }), (a.prototype.emit = function (e) { var t, r, n, i, o, a, s = "error" === e if (((a = this._events), a)) s = s && null == a.error else if (!s) return !1 if (s) { if ((arguments.length > 1 && (t = arguments[1]), t instanceof Error)) throw t var l = new Error('Unhandled "error" event. (' + t + ")") throw ((l.context = t), l) } if (((r = a[e]), !r)) return !1 var c = "function" === typeof r switch (((n = arguments.length), n)) { case 1: f(r, c, this) break case 2: p(r, c, this, arguments[1]) break case 3: d(r, c, this, arguments[1], arguments[2]) break case 4: h(r, c, this, arguments[1], arguments[2], arguments[3]) break default: for (i = new Array(n - 1), o = 1; o < n; o++) i[o - 1] = arguments[o] m(r, c, this, i) } return !0 }), (a.prototype.addListener = function (e, t) { return g(this, e, t, !1) }), (a.prototype.on = a.prototype.addListener), (a.prototype.prependListener = function (e, t) { return g(this, e, t, !0) }), (a.prototype.once = function (e, t) { if ("function" !== typeof t) throw new TypeError('"listener" argument must be a function') return this.on(e, v(this, e, t)), this }), (a.prototype.prependOnceListener = function (e, t) { if ("function" !== typeof t) throw new TypeError('"listener" argument must be a function') return this.prependListener(e, v(this, e, t)), this }), (a.prototype.removeListener = function (e, t) { var r, i, o, a, s if ("function" !== typeof t) throw new TypeError('"listener" argument must be a function') if (((i = this._events), !i)) return this if (((r = i[e]), !r)) return this if (r === t || r.listener === t) 0 === --this._eventsCount ? (this._events = n(null)) : (delete i[e], i.removeListener && this.emit("removeListener", e, r.listener || t)) else if ("function" !== typeof r) { for (o = -1, a = r.length - 1; a >= 0; a--) if (r[a] === t || r[a].listener === t) { ;(s = r[a].listener), (o = a) break } if (o < 0) return this 0 === o ? r.shift() : x(r, o), 1 === r.length && (i[e] = r[0]), i.removeListener && this.emit("removeListener", e, s || t) } return this }), (a.prototype.removeAllListeners = function (e) { var t, r, o if (((r = this._events), !r)) return this if (!r.removeListener) return ( 0 === arguments.length ? ((this._events = n(null)), (this._eventsCount = 0)) : r[e] && (0 === --this._eventsCount ? (this._events = n(null)) : delete r[e]), this ) if (0 === arguments.length) { var a, s = i(r) for (o = 0; o < s.length; ++o) (a = s[o]), "removeListener" !== a && this.removeAllListeners(a) return this.removeAllListeners("removeListener"), (this._events = n(null)), (this._eventsCount = 0), this } if (((t = r[e]), "function" === typeof t)) this.removeListener(e, t) else if (t) for (o = t.length - 1; o >= 0; o--) this.removeListener(e, t[o]) return this }), (a.prototype.listeners = function (e) { return b(this, e, !0) }), (a.prototype.rawListeners = function (e) { return b(this, e, !1) }), (a.listenerCount = function (e, t) { return "function" === typeof e.listenerCount ? e.listenerCount(t) : w.call(e, t) }), (a.prototype.listenerCount = w), (a.prototype.eventNames = function () { return this._eventsCount > 0 ? Reflect.ownKeys(this._events) : [] }) }, {} ], 297: [ function (e, t, r) { var n = e("http"), i = e("url"), o = t.exports for (var a in n) n.hasOwnProperty(a) && (o[a] = n[a]) function s(e) { if (("string" === typeof e && (e = i.parse(e)), e.protocol || (e.protocol = "https:"), "https:" !== e.protocol)) throw new Error('Protocol "' + e.protocol + '" not supported. Expected "https:"') return e } ;(o.request = function (e, t) { return (e = s(e)), n.request.call(this, e, t) }), (o.get = function (e, t) { return (e = s(e)), n.get.call(this, e, t) }) }, { http: 80, url: 393 } ], 298: [ function (e, t, r) { /*! * humanize-ms - index.js * Copyright(c) 2014 dead_horse * MIT Licensed */ "use strict" var n = e("util"), i = e("ms") t.exports = function (e) { if ("number" === typeof e) return e var t = i(e) if (void 0 === t) { var r = new Error(n.format("humanize-ms(%j) result undefined", e)) console.warn(r.stack) } return t } }, { ms: 314, util: 345 } ], 299: [ function (e, t, r) { ;(r.read = function (e, t, r, n, i) { var o, a, s = 8 * i - n - 1, l = (1 << s) - 1, c = l >> 1, u = -7, f = r ? i - 1 : 0, p = r ? -1 : 1, d = e[t + f] for (f += p, o = d & ((1 << -u) - 1), d >>= -u, u += s; u > 0; o = 256 * o + e[t + f], f += p, u -= 8); for (a = o & ((1 << -u) - 1), o >>= -u, u += n; u > 0; a = 256 * a + e[t + f], f += p, u -= 8); if (0 === o) o = 1 - c else { if (o === l) return a ? NaN : (1 / 0) * (d ? -1 : 1) ;(a += Math.pow(2, n)), (o -= c) } return (d ? -1 : 1) * a * Math.pow(2, o - n) }), (r.write = function (e, t, r, n, i, o) { var a, s, l, c = 8 * o - i - 1, u = (1 << c) - 1, f = u >> 1, p = 23 === i ? Math.pow(2, -24) - Math.pow(2, -77) : 0, d = n ? 0 : o - 1, h = n ? 1 : -1, m = t < 0 || (0 === t && 1 / t < 0) ? 1 : 0 for ( t = Math.abs(t), isNaN(t) || t === 1 / 0 ? ((s = isNaN(t) ? 1 : 0), (a = u)) : ((a = Math.floor(Math.log(t) / Math.LN2)), t * (l = Math.pow(2, -a)) < 1 && (a--, (l *= 2)), (t += a + f >= 1 ? p / l : p * Math.pow(2, 1 - f)), t * l >= 2 && (a++, (l /= 2)), a + f >= u ? ((s = 0), (a = u)) : a + f >= 1 ? ((s = (t * l - 1) * Math.pow(2, i)), (a += f)) : ((s = t * Math.pow(2, f - 1) * Math.pow(2, i)), (a = 0))); i >= 8; e[r + d] = 255 & s, d += h, s /= 256, i -= 8 ); for (a = (a << i) | s, c += i; c > 0; e[r + d] = 255 & a, d += h, a /= 256, c -= 8); e[r + d - h] |= 128 * m }) }, {} ], 300: [ function (e, t, r) { "use strict" var n, i, o, a = [ e("./nextTick"), e("./queueMicrotask"), e("./mutation.js"), e("./messageChannel"), e("./stateChange"), e("./timeout") ], s = -1, l = [], c = !1 function u() { n && i && ((n = !1), i.length ? (l = i.concat(l)) : (s = -1), l.length && f()) } function f() { if (!n) { ;(c = !1), (n = !0) var e = l.length, t = setTimeout(u) while (e) { ;(i = l), (l = []) while (i && ++s < e) i[s].run() ;(s = -1), (e = l.length) } ;(i = null), (s = -1), (n = !1), clearTimeout(t) } } var p = -1, d = a.length while (++p < d) if (a[p] && a[p].test && a[p].test()) { o = a[p].install(f) break } function h(e, t) { ;(this.fun = e), (this.array = t) } function m(e) { var t = new Array(arguments.length - 1) if (arguments.length > 1) for (var r = 1; r < arguments.length; r++) t[r - 1] = arguments[r] l.push(new h(e, t)), c || n || ((c = !0), o()) } ;(h.prototype.run = function () { var e = this.fun, t = this.array switch (t.length) { case 0: return e() case 1: return e(t[0]) case 2: return e(t[0], t[1]) case 3: return e(t[0], t[1], t[2]) default: return e.apply(null, t) } }), (t.exports = m) }, { "./messageChannel": 301, "./mutation.js": 302, "./nextTick": 79, "./queueMicrotask": 303, "./stateChange": 304, "./timeout": 305 } ], 301: [ function (e, t, r) { ;(function (e) { "use strict" ;(r.test = function () { return !e.setImmediate && "undefined" !== typeof e.MessageChannel }), (r.install = function (t) { var r = new e.MessageChannel() return ( (r.port1.onmessage = t), function () { r.port2.postMessage(0) } ) }) }).call( this, "undefined" !== typeof global ? global : "undefined" !== typeof self ? self : "undefined" !== typeof window ? window : {} ) }, {} ], 302: [ function (e, t, r) { ;(function (e) { "use strict" var t = e.MutationObserver || e.WebKitMutationObserver ;(r.test = function () { return t }), (r.install = function (r) { var n = 0, i = new t(r), o = e.document.createTextNode("") return ( i.observe(o, { characterData: !0 }), function () { o.data = n = ++n % 2 } ) }) }).call( this, "undefined" !== typeof global ? global : "undefined" !== typeof self ? self : "undefined" !== typeof window ? window : {} ) }, {} ], 303: [ function (e, t, r) { ;(function (e) { "use strict" ;(r.test = function () { return "function" === typeof e.queueMicrotask }), (r.install = function (t) { return function () { e.queueMicrotask(t) } }) }).call( this, "undefined" !== typeof global ? global : "undefined" !== typeof self ? self : "undefined" !== typeof window ? window : {} ) }, {} ], 304: [ function (e, t, r) { ;(function (e) { "use strict" ;(r.test = function () { return "document" in e && "onreadystatechange" in e.document.createElement("script") }), (r.install = function (t) { return function () { var r = e.document.createElement("script") return ( (r.onreadystatechange = function () { t(), (r.onreadystatechange = null), r.parentNode.removeChild(r), (r = null) }), e.document.documentElement.appendChild(r), t ) } }) }).call( this, "undefined" !== typeof global ? global : "undefined" !== typeof self ? self : "undefined" !== typeof window ? window : {} ) }, {} ], 305: [ function (e, t, r) { "use strict" ;(r.test = function () { return !0 }), (r.install = function (e) { return function () { setTimeout(e, 0) } }) }, {} ], 306: [ function (e, t, r) { "function" === typeof Object.create ? (t.exports = function (e, t) { t && ((e.super_ = t), (e.prototype = Object.create(t.prototype, { constructor: { value: e, enumerable: !1, writable: !0, configurable: !0 } }))) }) : (t.exports = function (e, t) { if (t) { e.super_ = t var r = function () {} ;(r.prototype = t.prototype), (e.prototype = new r()), (e.prototype.constructor = e) } }) }, {} ], 307: [ function (e, t, r) { function n(e) { return !!e.constructor && "function" === typeof e.constructor.isBuffer && e.constructor.isBuffer(e) } function i(e) { return "function" === typeof e.readFloatLE && "function" === typeof e.slice && n(e.slice(0, 0)) } /*! * Determine if an object is a Buffer * * @author Feross Aboukhadijeh * @license MIT */ t.exports = function (e) { return null != e && (n(e) || i(e) || !!e._isBuffer) } }, {} ], 308: [ function (e, t, r) { var n = {}.toString t.exports = Array.isArray || function (e) { return "[object Array]" == n.call(e) } }, {} ], 309: [ function (require, module, exports) { ;(function (global) { ;(function (e, t) { "object" === typeof exports && "undefined" !== typeof module ? (module.exports = t(e)) : "function" === typeof define && define.amd ? define(t) : t(e) })( "undefined" !== typeof self ? self : "undefined" !== typeof window ? window : "undefined" !== typeof global ? global : this, function (global) { "use strict" global = global || {} var _Base64 = global.Base64, version = "2.5.2", buffer if ("undefined" !== typeof module && module.exports) try { buffer = eval("require('buffer').Buffer") } catch (err) { buffer = void 0 } var b64chars = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", b64tab = (function (e) { for (var t = {}, r = 0, n = e.length; r < n; r++) t[e.charAt(r)] = r return t })(b64chars), fromCharCode = String.fromCharCode, cb_utob = function (e) { if (e.length < 2) { var t = e.charCodeAt(0) return t < 128 ? e : t < 2048 ? fromCharCode(192 | (t >>> 6)) + fromCharCode(128 | (63 & t)) : fromCharCode(224 | ((t >>> 12) & 15)) + fromCharCode(128 | ((t >>> 6) & 63)) + fromCharCode(128 | (63 & t)) } t = 65536 + 1024 * (e.charCodeAt(0) - 55296) + (e.charCodeAt(1) - 56320) return ( fromCharCode(240 | ((t >>> 18) & 7)) + fromCharCode(128 | ((t >>> 12) & 63)) + fromCharCode(128 | ((t >>> 6) & 63)) + fromCharCode(128 | (63 & t)) ) }, re_utob = /[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g, utob = function (e) { return e.replace(re_utob, cb_utob) }, cb_encode = function (e) { var t = [0, 2, 1][e.length % 3], r = (e.charCodeAt(0) << 16) | ((e.length > 1 ? e.charCodeAt(1) : 0) << 8) | (e.length > 2 ? e.charCodeAt(2) : 0), n = [ b64chars.charAt(r >>> 18), b64chars.charAt((r >>> 12) & 63), t >= 2 ? "=" : b64chars.charAt((r >>> 6) & 63), t >= 1 ? "=" : b64chars.charAt(63 & r) ] return n.join("") }, btoa = global.btoa ? function (e) { return global.btoa(e) } : function (e) { return e.replace(/[\s\S]{1,3}/g, cb_encode) }, _encode = function (e) { var t = "[object Uint8Array]" === Object.prototype.toString.call(e) return t ? e.toString("base64") : btoa(utob(String(e))) }, encode = function (e, t) { return t ? _encode(String(e)) .replace(/[+\/]/g, function (e) { return "+" == e ? "-" : "_" }) .replace(/=/g, "") : _encode(e) }, encodeURI = function (e) { return encode(e, !0) }, re_btou = /[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g, cb_btou = function (e) { switch (e.length) { case 4: var t = ((7 & e.charCodeAt(0)) << 18) | ((63 & e.charCodeAt(1)) << 12) | ((63 & e.charCodeAt(2)) << 6) | (63 & e.charCodeAt(3)), r = t - 65536 return fromCharCode(55296 + (r >>> 10)) + fromCharCode(56320 + (1023 & r)) case 3: return fromCharCode( ((15 & e.charCodeAt(0)) << 12) | ((63 & e.charCodeAt(1)) << 6) | (63 & e.charCodeAt(2)) ) default: return fromCharCode(((31 & e.charCodeAt(0)) << 6) | (63 & e.charCodeAt(1))) } }, btou = function (e) { return e.replace(re_btou, cb_btou) }, cb_decode = function (e) { var t = e.length, r = t % 4, n = (t > 0 ? b64tab[e.charAt(0)] << 18 : 0) | (t > 1 ? b64tab[e.charAt(1)] << 12 : 0) | (t > 2 ? b64tab[e.charAt(2)] << 6 : 0) | (t > 3 ? b64tab[e.charAt(3)] : 0), i = [fromCharCode(n >>> 16), fromCharCode((n >>> 8) & 255), fromCharCode(255 & n)] return (i.length -= [0, 0, 2, 1][r]), i.join("") }, _atob = global.atob ? function (e) { return global.atob(e) } : function (e) { return e.replace(/\S{1,4}/g, cb_decode) }, atob = function (e) { return _atob(String(e).replace(/[^A-Za-z0-9\+\/]/g, "")) }, _decode = buffer ? buffer.from && Uint8Array && buffer.from !== Uint8Array.from ? function (e) { return (e.constructor === buffer.constructor ? e : buffer.from(e, "base64")).toString() } : function (e) { return (e.constructor === buffer.constructor ? e : new buffer(e, "base64")).toString() } : function (e) { return btou(_atob(e)) }, decode = function (e) { return _decode( String(e) .replace(/[-_]/g, function (e) { return "-" == e ? "+" : "/" }) .replace(/[^A-Za-z0-9\+\/]/g, "") ) }, noConflict = function () { var e = global.Base64 return (global.Base64 = _Base64), e } if ( ((global.Base64 = { VERSION: version, atob: atob, btoa: btoa, fromBase64: decode, toBase64: encode, utob: utob, encode: encode, encodeURI: encodeURI, btou: btou, decode: decode, noConflict: noConflict, __buffer__: buffer }), "function" === typeof Object.defineProperty) ) { var noEnum = function (e) { return { value: e, enumerable: !1, writable: !0, configurable: !0 } } global.Base64.extendString = function () { Object.defineProperty( String.prototype, "fromBase64", noEnum(function () { return decode(this) }) ), Object.defineProperty( String.prototype, "toBase64", noEnum(function (e) { return encode(this, e) }) ), Object.defineProperty( String.prototype, "toBase64URI", noEnum(function () { return encode(this, !0) }) ) } } return ( global["Meteor"] && (Base64 = global.Base64), "undefined" !== typeof module && module.exports ? (module.exports.Base64 = global.Base64) : "function" === typeof define && define.amd && define([], function () { return global.Base64 }), { Base64: global.Base64 } ) } ) }).call( this, "undefined" !== typeof global ? global : "undefined" !== typeof self ? self : "undefined" !== typeof window ? window : {} ) }, {} ], 310: [ function (e, t, r) { /*! * merge-descriptors * Copyright(c) 2014 Jonathan Ong * Copyright(c) 2015 Douglas Christopher Wilson * MIT Licensed */ "use strict" t.exports = i var n = Object.prototype.hasOwnProperty function i(e, t, r) { if (!e) throw new TypeError("argument dest is required") if (!t) throw new TypeError("argument src is required") return ( void 0 === r && (r = !0), Object.getOwnPropertyNames(t).forEach(function (i) { if (r || !n.call(e, i)) { var o = Object.getOwnPropertyDescriptor(t, i) Object.defineProperty(e, i, o) } }), e ) } }, {} ], 311: [ function (e, t, r) { "use strict" function n() { ;(this._types = Object.create(null)), (this._extensions = Object.create(null)) for (var e = 0; e < arguments.length; e++) this.define(arguments[e]) ;(this.define = this.define.bind(this)), (this.getType = this.getType.bind(this)), (this.getExtension = this.getExtension.bind(this)) } ;(n.prototype.define = function (e, t) { for (var r in e) { var n = e[r].map(function (e) { return e.toLowerCase() }) r = r.toLowerCase() for (var i = 0; i < n.length; i++) { var o = n[i] if ("*" != o[0]) { if (!t && o in this._types) throw new Error( 'Attempt to change mapping for "' + o + '" extension from "' + this._types[o] + '" to "' + r + '". Pass `force=true` to allow this, otherwise remove "' + o + '" from the list of extensions for "' + r + '".' ) this._types[o] = r } } if (t || !this._extensions[r]) { o = n[0] this._extensions[r] = "*" != o[0] ? o : o.substr(1) } } }), (n.prototype.getType = function (e) { e = String(e) var t = e.replace(/^.*[/\\]/, "").toLowerCase(), r = t.replace(/^.*\./, "").toLowerCase(), n = t.length < e.length, i = r.length < t.length - 1 return ((i || !n) && this._types[r]) || null }), (n.prototype.getExtension = function (e) { return (e = /^\s*([^;\s]*)/.test(e) && RegExp.$1), (e && this._extensions[e.toLowerCase()]) || null }), (t.exports = n) }, {} ], 312: [ function (e, t, r) { "use strict" var n = e("./Mime") t.exports = new n(e("./types/standard")) }, { "./Mime": 311, "./types/standard": 313 } ], 313: [ function (e, t, r) { t.exports = { "application/andrew-inset": ["ez"], "application/applixware": ["aw"], "application/atom+xml": ["atom"], "application/atomcat+xml": ["atomcat"], "application/atomdeleted+xml": ["atomdeleted"], "application/atomsvc+xml": ["atomsvc"], "application/atsc-dwd+xml": ["dwd"], "application/atsc-held+xml": ["held"], "application/atsc-rsat+xml": ["rsat"], "application/bdoc": ["bdoc"], "application/calendar+xml": ["xcs"], "application/ccxml+xml": ["ccxml"], "application/cdfx+xml": ["cdfx"], "application/cdmi-capability": ["cdmia"], "application/cdmi-container": ["cdmic"], "application/cdmi-domain": ["cdmid"], "application/cdmi-object": ["cdmio"], "application/cdmi-queue": ["cdmiq"], "application/cu-seeme": ["cu"], "application/dash+xml": ["mpd"], "application/davmount+xml": ["davmount"], "application/docbook+xml": ["dbk"], "application/dssc+der": ["dssc"], "application/dssc+xml": ["xdssc"], "application/ecmascript": ["ecma", "es"], "application/emma+xml": ["emma"], "application/emotionml+xml": ["emotionml"], "application/epub+zip": ["epub"], "application/exi": ["exi"], "application/fdt+xml": ["fdt"], "application/font-tdpfr": ["pfr"], "application/geo+json": ["geojson"], "application/gml+xml": ["gml"], "application/gpx+xml": ["gpx"], "application/gxf": ["gxf"], "application/gzip": ["gz"], "application/hjson": ["hjson"], "application/hyperstudio": ["stk"], "application/inkml+xml": ["ink", "inkml"], "application/ipfix": ["ipfix"], "application/its+xml": ["its"], "application/java-archive": ["jar", "war", "ear"], "application/java-serialized-object": ["ser"], "application/java-vm": ["class"], "application/javascript": ["js", "mjs"], "application/json": ["json", "map"], "application/json5": ["json5"], "application/jsonml+json": ["jsonml"], "application/ld+json": ["jsonld"], "application/lgr+xml": ["lgr"], "application/lost+xml": ["lostxml"], "application/mac-binhex40": ["hqx"], "application/mac-compactpro": ["cpt"], "application/mads+xml": ["mads"], "application/manifest+json": ["webmanifest"], "application/marc": ["mrc"], "application/marcxml+xml": ["mrcx"], "application/mathematica": ["ma", "nb", "mb"], "application/mathml+xml": ["mathml"], "application/mbox": ["mbox"], "application/mediaservercontrol+xml": ["mscml"], "application/metalink+xml": ["metalink"], "application/metalink4+xml": ["meta4"], "application/mets+xml": ["mets"], "application/mmt-aei+xml": ["maei"], "application/mmt-usd+xml": ["musd"], "application/mods+xml": ["mods"], "application/mp21": ["m21", "mp21"], "application/mp4": ["mp4s", "m4p"], "application/mrb-consumer+xml": ["*xdf"], "application/mrb-publish+xml": ["*xdf"], "application/msword": ["doc", "dot"], "application/mxf": ["mxf"], "application/n-quads": ["nq"], "application/n-triples": ["nt"], "application/node": ["cjs"], "application/octet-stream": [ "bin", "dms", "lrf", "mar", "so", "dist", "distz", "pkg", "bpk", "dump", "elc", "deploy", "exe", "dll", "deb", "dmg", "iso", "img", "msi", "msp", "msm", "buffer" ], "application/oda": ["oda"], "application/oebps-package+xml": ["opf"], "application/ogg": ["ogx"], "application/omdoc+xml": ["omdoc"], "application/onenote": ["onetoc", "onetoc2", "onetmp", "onepkg"], "application/oxps": ["oxps"], "application/p2p-overlay+xml": ["relo"], "application/patch-ops-error+xml": ["*xer"], "application/pdf": ["pdf"], "application/pgp-encrypted": ["pgp"], "application/pgp-signature": ["asc", "sig"], "application/pics-rules": ["prf"], "application/pkcs10": ["p10"], "application/pkcs7-mime": ["p7m", "p7c"], "application/pkcs7-signature": ["p7s"], "application/pkcs8": ["p8"], "application/pkix-attr-cert": ["ac"], "application/pkix-cert": ["cer"], "application/pkix-crl": ["crl"], "application/pkix-pkipath": ["pkipath"], "application/pkixcmp": ["pki"], "application/pls+xml": ["pls"], "application/postscript": ["ai", "eps", "ps"], "application/provenance+xml": ["provx"], "application/pskc+xml": ["pskcxml"], "application/raml+yaml": ["raml"], "application/rdf+xml": ["rdf", "owl"], "application/reginfo+xml": ["rif"], "application/relax-ng-compact-syntax": ["rnc"], "application/resource-lists+xml": ["rl"], "application/resource-lists-diff+xml": ["rld"], "application/rls-services+xml": ["rs"], "application/route-apd+xml": ["rapd"], "application/route-s-tsid+xml": ["sls"], "application/route-usd+xml": ["rusd"], "application/rpki-ghostbusters": ["gbr"], "application/rpki-manifest": ["mft"], "application/rpki-roa": ["roa"], "application/rsd+xml": ["rsd"], "application/rss+xml": ["rss"], "application/rtf": ["rtf"], "application/sbml+xml": ["sbml"], "application/scvp-cv-request": ["scq"], "application/scvp-cv-response": ["scs"], "application/scvp-vp-request": ["spq"], "application/scvp-vp-response": ["spp"], "application/sdp": ["sdp"], "application/senml+xml": ["senmlx"], "application/sensml+xml": ["sensmlx"], "application/set-payment-initiation": ["setpay"], "application/set-registration-initiation": ["setreg"], "application/shf+xml": ["shf"], "application/sieve": ["siv", "sieve"], "application/smil+xml": ["smi", "smil"], "application/sparql-query": ["rq"], "application/sparql-results+xml": ["srx"], "application/srgs": ["gram"], "application/srgs+xml": ["grxml"], "application/sru+xml": ["sru"], "application/ssdl+xml": ["ssdl"], "application/ssml+xml": ["ssml"], "application/swid+xml": ["swidtag"], "application/tei+xml": ["tei", "teicorpus"], "application/thraud+xml": ["tfi"], "application/timestamped-data": ["tsd"], "application/toml": ["toml"], "application/ttml+xml": ["ttml"], "application/urc-ressheet+xml": ["rsheet"], "application/voicexml+xml": ["vxml"], "application/wasm": ["wasm"], "application/widget": ["wgt"], "application/winhlp": ["hlp"], "application/wsdl+xml": ["wsdl"], "application/wspolicy+xml": ["wspolicy"], "application/xaml+xml": ["xaml"], "application/xcap-att+xml": ["xav"], "application/xcap-caps+xml": ["xca"], "application/xcap-diff+xml": ["xdf"], "application/xcap-el+xml": ["xel"], "application/xcap-error+xml": ["xer"], "application/xcap-ns+xml": ["xns"], "application/xenc+xml": ["xenc"], "application/xhtml+xml": ["xhtml", "xht"], "application/xliff+xml": ["xlf"], "application/xml": ["xml", "xsl", "xsd", "rng"], "application/xml-dtd": ["dtd"], "application/xop+xml": ["xop"], "application/xproc+xml": ["xpl"], "application/xslt+xml": ["xslt"], "application/xspf+xml": ["xspf"], "application/xv+xml": ["mxml", "xhvml", "xvml", "xvm"], "application/yang": ["yang"], "application/yin+xml": ["yin"], "application/zip": ["zip"], "audio/3gpp": ["*3gpp"], "audio/adpcm": ["adp"], "audio/basic": ["au", "snd"], "audio/midi": ["mid", "midi", "kar", "rmi"], "audio/mobile-xmf": ["mxmf"], "audio/mp3": ["*mp3"], "audio/mp4": ["m4a", "mp4a"], "audio/mpeg": ["mpga", "mp2", "mp2a", "mp3", "m2a", "m3a"], "audio/ogg": ["oga", "ogg", "spx"], "audio/s3m": ["s3m"], "audio/silk": ["sil"], "audio/wav": ["wav"], "audio/wave": ["*wav"], "audio/webm": ["weba"], "audio/xm": ["xm"], "font/collection": ["ttc"], "font/otf": ["otf"], "font/ttf": ["ttf"], "font/woff": ["woff"], "font/woff2": ["woff2"], "image/aces": ["exr"], "image/apng": ["apng"], "image/bmp": ["bmp"], "image/cgm": ["cgm"], "image/dicom-rle": ["drle"], "image/emf": ["emf"], "image/fits": ["fits"], "image/g3fax": ["g3"], "image/gif": ["gif"], "image/heic": ["heic"], "image/heic-sequence": ["heics"], "image/heif": ["heif"], "image/heif-sequence": ["heifs"], "image/hej2k": ["hej2"], "image/hsj2": ["hsj2"], "image/ief": ["ief"], "image/jls": ["jls"], "image/jp2": ["jp2", "jpg2"], "image/jpeg": ["jpeg", "jpg", "jpe"], "image/jph": ["jph"], "image/jphc": ["jhc"], "image/jpm": ["jpm"], "image/jpx": ["jpx", "jpf"], "image/jxr": ["jxr"], "image/jxra": ["jxra"], "image/jxrs": ["jxrs"], "image/jxs": ["jxs"], "image/jxsc": ["jxsc"], "image/jxsi": ["jxsi"], "image/jxss": ["jxss"], "image/ktx": ["ktx"], "image/png": ["png"], "image/sgi": ["sgi"], "image/svg+xml": ["svg", "svgz"], "image/t38": ["t38"], "image/tiff": ["tif", "tiff"], "image/tiff-fx": ["tfx"], "image/webp": ["webp"], "image/wmf": ["wmf"], "message/disposition-notification": ["disposition-notification"], "message/global": ["u8msg"], "message/global-delivery-status": ["u8dsn"], "message/global-disposition-notification": ["u8mdn"], "message/global-headers": ["u8hdr"], "message/rfc822": ["eml", "mime"], "model/3mf": ["3mf"], "model/gltf+json": ["gltf"], "model/gltf-binary": ["glb"], "model/iges": ["igs", "iges"], "model/mesh": ["msh", "mesh", "silo"], "model/mtl": ["mtl"], "model/obj": ["obj"], "model/stl": ["stl"], "model/vrml": ["wrl", "vrml"], "model/x3d+binary": ["*x3db", "x3dbz"], "model/x3d+fastinfoset": ["x3db"], "model/x3d+vrml": ["*x3dv", "x3dvz"], "model/x3d+xml": ["x3d", "x3dz"], "model/x3d-vrml": ["x3dv"], "text/cache-manifest": ["appcache", "manifest"], "text/calendar": ["ics", "ifb"], "text/coffeescript": ["coffee", "litcoffee"], "text/css": ["css"], "text/csv": ["csv"], "text/html": ["html", "htm", "shtml"], "text/jade": ["jade"], "text/jsx": ["jsx"], "text/less": ["less"], "text/markdown": ["markdown", "md"], "text/mathml": ["mml"], "text/mdx": ["mdx"], "text/n3": ["n3"], "text/plain": ["txt", "text", "conf", "def", "list", "log", "in", "ini"], "text/richtext": ["rtx"], "text/rtf": ["*rtf"], "text/sgml": ["sgml", "sgm"], "text/shex": ["shex"], "text/slim": ["slim", "slm"], "text/stylus": ["stylus", "styl"], "text/tab-separated-values": ["tsv"], "text/troff": ["t", "tr", "roff", "man", "me", "ms"], "text/turtle": ["ttl"], "text/uri-list": ["uri", "uris", "urls"], "text/vcard": ["vcard"], "text/vtt": ["vtt"], "text/xml": ["*xml"], "text/yaml": ["yaml", "yml"], "video/3gpp": ["3gp", "3gpp"], "video/3gpp2": ["3g2"], "video/h261": ["h261"], "video/h263": ["h263"], "video/h264": ["h264"], "video/jpeg": ["jpgv"], "video/jpm": ["*jpm", "jpgm"], "video/mj2": ["mj2", "mjp2"], "video/mp2t": ["ts"], "video/mp4": ["mp4", "mp4v", "mpg4"], "video/mpeg": ["mpeg", "mpg", "mpe", "m1v", "m2v"], "video/ogg": ["ogv"], "video/quicktime": ["qt", "mov"], "video/webm": ["webm"] } }, {} ], 314: [ function (e, t, r) { var n = 1e3, i = 60 * n, o = 60 * i, a = 24 * o, s = 7 * a, l = 365.25 * a function c(e) { if (((e = String(e)), !(e.length > 100))) { var t = /^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec( e ) if (t) { var r = parseFloat(t[1]), c = (t[2] || "ms").toLowerCase() switch (c) { case "years": case "year": case "yrs": case "yr": case "y": return r * l case "weeks": case "week": case "w": return r * s case "days": case "day": case "d": return r * a case "hours": case "hour": case "hrs": case "hr": case "h": return r * o case "minutes": case "minute": case "mins": case "min": case "m": return r * i case "seconds": case "second": case "secs": case "sec": case "s": return r * n case "milliseconds": case "millisecond": case "msecs": case "msec": case "ms": return r default: return } } } } function u(e) { var t = Math.abs(e) return t >= a ? Math.round(e / a) + "d" : t >= o ? Math.round(e / o) + "h" : t >= i ? Math.round(e / i) + "m" : t >= n ? Math.round(e / n) + "s" : e + "ms" } function f(e) { var t = Math.abs(e) return t >= a ? p(e, t, a, "day") : t >= o ? p(e, t, o, "hour") : t >= i ? p(e, t, i, "minute") : t >= n ? p(e, t, n, "second") : e + " ms" } function p(e, t, r, n) { var i = t >= 1.5 * r return Math.round(e / r) + " " + n + (i ? "s" : "") } t.exports = function (e, t) { t = t || {} var r = typeof e if ("string" === r && e.length > 0) return c(e) if ("number" === r && isFinite(e)) return t.long ? f(e) : u(e) throw new Error("val is not a non-empty string or a valid number. val=" + JSON.stringify(e)) } }, {} ], 315: [ function (e, t, r) { ;(function (e) { function t(e, t) { for (var r = 0, n = e.length - 1; n >= 0; n--) { var i = e[n] "." === i ? e.splice(n, 1) : ".." === i ? (e.splice(n, 1), r++) : r && (e.splice(n, 1), r--) } if (t) for (; r--; r) e.unshift("..") return e } function n(e) { "string" !== typeof e && (e += "") var t, r = 0, n = -1, i = !0 for (t = e.length - 1; t >= 0; --t) if (47 === e.charCodeAt(t)) { if (!i) { r = t + 1 break } } else -1 === n && ((i = !1), (n = t + 1)) return -1 === n ? "" : e.slice(r, n) } function i(e, t) { if (e.filter) return e.filter(t) for (var r = [], n = 0; n < e.length; n++) t(e[n], n, e) && r.push(e[n]) return r } ;(r.resolve = function () { for (var r = "", n = !1, o = arguments.length - 1; o >= -1 && !n; o--) { var a = o >= 0 ? arguments[o] : e.cwd() if ("string" !== typeof a) throw new TypeError("Arguments to path.resolve must be strings") a && ((r = a + "/" + r), (n = "/" === a.charAt(0))) } return ( (r = t( i(r.split("/"), function (e) { return !!e }), !n ).join("/")), (n ? "/" : "") + r || "." ) }), (r.normalize = function (e) { var n = r.isAbsolute(e), a = "/" === o(e, -1) return ( (e = t( i(e.split("/"), function (e) { return !!e }), !n ).join("/")), e || n || (e = "."), e && a && (e += "/"), (n ? "/" : "") + e ) }), (r.isAbsolute = function (e) { return "/" === e.charAt(0) }), (r.join = function () { var e = Array.prototype.slice.call(arguments, 0) return r.normalize( i(e, function (e, t) { if ("string" !== typeof e) throw new TypeError("Arguments to path.join must be strings") return e }).join("/") ) }), (r.relative = function (e, t) { function n(e) { for (var t = 0; t < e.length; t++) if ("" !== e[t]) break for (var r = e.length - 1; r >= 0; r--) if ("" !== e[r]) break return t > r ? [] : e.slice(t, r - t + 1) } ;(e = r.resolve(e).substr(1)), (t = r.resolve(t).substr(1)) for (var i = n(e.split("/")), o = n(t.split("/")), a = Math.min(i.length, o.length), s = a, l = 0; l < a; l++) if (i[l] !== o[l]) { s = l break } var c = [] for (l = s; l < i.length; l++) c.push("..") return (c = c.concat(o.slice(s))), c.join("/") }), (r.sep = "/"), (r.delimiter = ":"), (r.dirname = function (e) { if (("string" !== typeof e && (e += ""), 0 === e.length)) return "." for (var t = e.charCodeAt(0), r = 47 === t, n = -1, i = !0, o = e.length - 1; o >= 1; --o) if (((t = e.charCodeAt(o)), 47 === t)) { if (!i) { n = o break } } else i = !1 return -1 === n ? (r ? "/" : ".") : r && 1 === n ? "/" : e.slice(0, n) }), (r.basename = function (e, t) { var r = n(e) return t && r.substr(-1 * t.length) === t && (r = r.substr(0, r.length - t.length)), r }), (r.extname = function (e) { "string" !== typeof e && (e += "") for (var t = -1, r = 0, n = -1, i = !0, o = 0, a = e.length - 1; a >= 0; --a) { var s = e.charCodeAt(a) if (47 !== s) -1 === n && ((i = !1), (n = a + 1)), 46 === s ? (-1 === t ? (t = a) : 1 !== o && (o = 1)) : -1 !== t && (o = -1) else if (!i) { r = a + 1 break } } return -1 === t || -1 === n || 0 === o || (1 === o && t === n - 1 && t === r + 1) ? "" : e.slice(t, n) }) var o = "b" === "ab".substr(-1) ? function (e, t, r) { return e.substr(t, r) } : function (e, t, r) { return t < 0 && (t = e.length + t), e.substr(t, r) } }).call(this, e("_process")) }, { _process: 392 } ], 316: [ function (e, t, r) { ;(function (e) { ;(function () { "use strict" var n = { function: !0, object: !0 }, i = (n[typeof window] && window) || this, o = n[typeof r] && r, a = n[typeof t] && t && !t.nodeType && t, s = o && a && "object" == typeof e && e !s || (s.global !== s && s.window !== s && s.self !== s) || (i = s) var l = Math.pow(2, 53) - 1, c = /\bOpera/, u = Object.prototype, f = u.hasOwnProperty, p = u.toString function d(e) { return (e = String(e)), e.charAt(0).toUpperCase() + e.slice(1) } function h(e, t, r) { var n = { "10.0": "10", 6.4: "10 Technical Preview", 6.3: "8.1", 6.2: "8", 6.1: "Server 2008 R2 / 7", "6.0": "Server 2008 / Vista", 5.2: "Server 2003 / XP 64-bit", 5.1: "XP", 5.01: "2000 SP1", "5.0": "2000", "4.0": "NT", "4.90": "ME" } return ( t && r && /^Win/i.test(e) && !/^Windows Phone /i.test(e) && (n = n[/[\d.]+$/.exec(e)]) && (e = "Windows " + n), (e = String(e)), t && r && (e = e.replace(RegExp(t, "i"), r)), (e = g( e .replace(/ ce$/i, " CE") .replace(/\bhpw/i, "web") .replace(/\bMacintosh\b/, "Mac OS") .replace(/_PowerPC\b/i, " OS") .replace(/\b(OS X) [^ \d]+/i, "$1") .replace(/\bMac (OS X)\b/, "$1") .replace(/\/(\d)/, " $1") .replace(/_/g, ".") .replace(/(?: BePC|[ .]*fc[ \d.]+)$/i, "") .replace(/\bx86\.64\b/gi, "x86_64") .replace(/\b(Windows Phone) OS\b/, "$1") .replace(/\b(Chrome OS \w+) [\d.]+\b/, "$1") .split(" on ")[0] )), e ) } function m(e, t) { var r = -1, n = e ? e.length : 0 if ("number" == typeof n && n > -1 && n <= l) while (++r < n) t(e[r], r, e) else y(e, t) } function g(e) { return (e = A(e)), /^(?:webOS|i(?:OS|P))/.test(e) ? e : d(e) } function y(e, t) { for (var r in e) f.call(e, r) && t(e[r], r, e) } function v(e) { return null == e ? d(e) : p.call(e).slice(8, -1) } function b(e, t) { var r = null != e ? typeof e[t] : "number" return !/^(?:boolean|number|string|undefined)$/.test(r) && ("object" != r || !!e[t]) } function w(e) { return String(e).replace(/([ -])(?!$)/g, "$1?") } function x(e, t) { var r = null return ( m(e, function (n, i) { r = t(r, n, i, e) }), r ) } function A(e) { return String(e).replace(/^ +| +$/g, "") } function _(e) { var t = i, r = e && "object" == typeof e && "String" != v(e) r && ((t = e), (e = null)) var n = t.navigator || {}, o = n.userAgent || "" e || (e = o) var a, s, l = r ? !!n.likeChrome : /\bChrome\b/.test(e) && !/internal|\n/i.test(p.toString()), u = "Object", f = r ? u : "ScriptBridgingProxyObject", d = r ? u : "Environment", m = r && t.java ? "JavaPackage" : v(t.java), T = r ? u : "RuntimeObject", E = /\bJava/.test(m) && t.java, S = E && v(t.environment) == d, C = E ? "a" : "α", k = E ? "b" : "β", L = t.document || {}, P = t.operamini || t.opera, O = c.test((O = r && P ? P["[[Class]]"] : v(P))) ? O : (P = null), j = e, R = [], I = null, N = e == o, M = N && P && "function" == typeof P.version && P.version(), D = q([ { label: "EdgeHTML", pattern: "Edge" }, "Trident", { label: "WebKit", pattern: "AppleWebKit" }, "iCab", "Presto", "NetFront", "Tasman", "KHTML", "Gecko" ]), B = W([ "Adobe AIR", "Arora", "Avant Browser", "Breach", "Camino", "Electron", "Epiphany", "Fennec", "Flock", "Galeon", "GreenBrowser", "iCab", "Iceweasel", "K-Meleon", "Konqueror", "Lunascape", "Maxthon", { label: "Microsoft Edge", pattern: "Edge" }, "Midori", "Nook Browser", "PaleMoon", "PhantomJS", "Raven", "Rekonq", "RockMelt", { label: "Samsung Internet", pattern: "SamsungBrowser" }, "SeaMonkey", { label: "Silk", pattern: "(?:Cloud9|Silk-Accelerated)" }, "Sleipnir", "SlimBrowser", { label: "SRWare Iron", pattern: "Iron" }, "Sunrise", "Swiftfox", "Waterfox", "WebPositive", "Opera Mini", { label: "Opera Mini", pattern: "OPiOS" }, "Opera", { label: "Opera", pattern: "OPR" }, "Chrome", { label: "Chrome Mobile", pattern: "(?:CriOS|CrMo)" }, { label: "Firefox", pattern: "(?:Firefox|Minefield)" }, { label: "Firefox for iOS", pattern: "FxiOS" }, { label: "IE", pattern: "IEMobile" }, { label: "IE", pattern: "MSIE" }, "Safari" ]), F = H([ { label: "BlackBerry", pattern: "BB10" }, "BlackBerry", { label: "Galaxy S", pattern: "GT-I9000" }, { label: "Galaxy S2", pattern: "GT-I9100" }, { label: "Galaxy S3", pattern: "GT-I9300" }, { label: "Galaxy S4", pattern: "GT-I9500" }, { label: "Galaxy S5", pattern: "SM-G900" }, { label: "Galaxy S6", pattern: "SM-G920" }, { label: "Galaxy S6 Edge", pattern: "SM-G925" }, { label: "Galaxy S7", pattern: "SM-G930" }, { label: "Galaxy S7 Edge", pattern: "SM-G935" }, "Google TV", "Lumia", "iPad", "iPod", "iPhone", "Kindle", { label: "Kindle Fire", pattern: "(?:Cloud9|Silk-Accelerated)" }, "Nexus", "Nook", "PlayBook", "PlayStation Vita", "PlayStation", "TouchPad", "Transformer", { label: "Wii U", pattern: "WiiU" }, "Wii", "Xbox One", { label: "Xbox 360", pattern: "Xbox" }, "Xoom" ]), U = G({ Apple: { iPad: 1, iPhone: 1, iPod: 1 }, Archos: {}, Amazon: { Kindle: 1, "Kindle Fire": 1 }, Asus: { Transformer: 1 }, "Barnes & Noble": { Nook: 1 }, BlackBerry: { PlayBook: 1 }, Google: { "Google TV": 1, Nexus: 1 }, HP: { TouchPad: 1 }, HTC: {}, LG: {}, Microsoft: { Xbox: 1, "Xbox One": 1 }, Motorola: { Xoom: 1 }, Nintendo: { "Wii U": 1, Wii: 1 }, Nokia: { Lumia: 1 }, Samsung: { "Galaxy S": 1, "Galaxy S2": 1, "Galaxy S3": 1, "Galaxy S4": 1 }, Sony: { PlayStation: 1, "PlayStation Vita": 1 } }), z = V([ "Windows Phone", "Android", "CentOS", { label: "Chrome OS", pattern: "CrOS" }, "Debian", "Fedora", "FreeBSD", "Gentoo", "Haiku", "Kubuntu", "Linux Mint", "OpenBSD", "Red Hat", "SuSE", "Ubuntu", "Xubuntu", "Cygwin", "Symbian OS", "hpwOS", "webOS ", "webOS", "Tablet OS", "Tizen", "Linux", "Mac OS X", "Macintosh", "Mac", "Windows 98;", "Windows " ]) function q(t) { return x(t, function (t, r) { return t || (RegExp("\\b" + (r.pattern || w(r)) + "\\b", "i").exec(e) && (r.label || r)) }) } function G(t) { return x(t, function (t, r, n) { return ( t || ((r[F] || r[/^[a-z]+(?: +[a-z]+\b)*/i.exec(F)] || RegExp("\\b" + w(n) + "(?:\\b|\\w*\\d)", "i").exec(e)) && n) ) }) } function W(t) { return x(t, function (t, r) { return t || (RegExp("\\b" + (r.pattern || w(r)) + "\\b", "i").exec(e) && (r.label || r)) }) } function V(t) { return x(t, function (t, r) { var n = r.pattern || w(r) return !t && (t = RegExp("\\b" + n + "(?:/[\\d.]+|[ \\w.]*)", "i").exec(e)) && (t = h(t, n, r.label || r)), t }) } function H(t) { return x(t, function (t, r) { var n = r.pattern || w(r) return ( !t && (t = RegExp("\\b" + n + " *\\d+[.\\w_]*", "i").exec(e) || RegExp("\\b" + n + " *\\w+-[\\w]*", "i").exec(e) || RegExp("\\b" + n + "(?:; *(?:[a-z]+[_-])?[a-z]+\\d+|[^ ();-]*)", "i").exec(e)) && ((t = String(r.label && !RegExp(n, "i").test(r.label) ? r.label : t).split("/"))[1] && !/[\d.]+/.test(t[0]) && (t[0] += " " + t[1]), (r = r.label || r), (t = g( t[0] .replace(RegExp(n, "i"), r) .replace(RegExp("; *(?:" + r + "[_-])?", "i"), " ") .replace(RegExp("(" + r + ")[-_.]?(\\w)", "i"), "$1 $2") ))), t ) }) } function X(t) { return x(t, function (t, r) { return ( t || (RegExp(r + "(?:-[\\d.]+/|(?: for [\\w-]+)?[ /-])([\\d.]+[^ ();/_-]*)", "i").exec(e) || 0)[1] || null ) }) } function Y() { return this.description || "" } if ( (D && (D = [D]), U && !F && (F = H([U])), (a = /\bGoogle TV\b/.exec(F)) && (F = a[0]), /\bSimulator\b/i.test(e) && (F = (F ? F + " " : "") + "Simulator"), "Opera Mini" == B && /\bOPiOS\b/.test(e) && R.push("running in Turbo/Uncompressed mode"), "IE" == B && /\blike iPhone OS\b/.test(e) ? ((a = _(e.replace(/like iPhone OS/, ""))), (U = a.manufacturer), (F = a.product)) : /^iP/.test(F) ? (B || (B = "Safari"), (z = "iOS" + ((a = / OS ([\d_]+)/i.exec(e)) ? " " + a[1].replace(/_/g, ".") : ""))) : "Konqueror" != B || /buntu/i.test(z) ? (U && "Google" != U && ((/Chrome/.test(B) && !/\bMobile Safari\b/i.test(e)) || /\bVita\b/.test(F))) || (/\bAndroid\b/.test(z) && /^Chrome/.test(B) && /\bVersion\//i.test(e)) ? ((B = "Android Browser"), (z = /\bAndroid\b/.test(z) ? z : "Android")) : "Silk" == B ? (/\bMobi/i.test(e) || ((z = "Android"), R.unshift("desktop mode")), /Accelerated *= *true/i.test(e) && R.unshift("accelerated")) : "PaleMoon" == B && (a = /\bFirefox\/([\d.]+)\b/.exec(e)) ? R.push("identifying as Firefox " + a[1]) : "Firefox" == B && (a = /\b(Mobile|Tablet|TV)\b/i.exec(e)) ? (z || (z = "Firefox OS"), F || (F = a[1])) : !B || (a = !/\bMinefield\b/i.test(e) && /\b(?:Firefox|Safari)\b/.exec(B)) ? (B && !F && /[\/,]|^[^(]+?\)/.test(e.slice(e.indexOf(a + "/") + 8)) && (B = null), (a = F || U || z) && (F || U || /\b(?:Android|Symbian OS|Tablet OS|webOS)\b/.test(z)) && (B = /[a-z]+(?: Hat)?/i.exec(/\bAndroid\b/.test(z) ? z : a) + " Browser")) : "Electron" == B && (a = (/\bChrome\/([\d.]+)\b/.exec(e) || 0)[1]) && R.push("Chromium " + a) : (z = "Kubuntu"), M || (M = X([ "(?:Cloud9|CriOS|CrMo|Edge|FxiOS|IEMobile|Iron|Opera ?Mini|OPiOS|OPR|Raven|SamsungBrowser|Silk(?!/[\\d.]+$))", "Version", w(B), "(?:Firefox|Minefield|NetFront)" ])), (a = ("iCab" == D && parseFloat(M) > 3 ? "WebKit" : /\bOpera\b/.test(B) && (/\bOPR\b/.test(e) ? "Blink" : "Presto")) || (/\b(?:Midori|Nook|Safari)\b/i.test(e) && !/^(?:Trident|EdgeHTML)$/.test(D) && "WebKit") || (!D && /\bMSIE\b/i.test(e) && ("Mac OS" == z ? "Tasman" : "Trident")) || ("WebKit" == D && /\bPlayStation\b(?! Vita\b)/i.test(B) && "NetFront")) && (D = [a]), "IE" == B && (a = (/; *(?:XBLWP|ZuneWP)(\d+)/i.exec(e) || 0)[1]) ? ((B += " Mobile"), (z = "Windows Phone " + (/\+$/.test(a) ? a : a + ".x")), R.unshift("desktop mode")) : /\bWPDesktop\b/i.test(e) ? ((B = "IE Mobile"), (z = "Windows Phone 8.x"), R.unshift("desktop mode"), M || (M = (/\brv:([\d.]+)/.exec(e) || 0)[1])) : "IE" != B && "Trident" == D && (a = /\brv:([\d.]+)/.exec(e)) && (B && R.push("identifying as " + B + (M ? " " + M : "")), (B = "IE"), (M = a[1])), N) ) { if (b(t, "global")) if ( (E && ((a = E.lang.System), (j = a.getProperty("os.arch")), (z = z || a.getProperty("os.name") + " " + a.getProperty("os.version"))), S) ) { try { ;(M = t.require("ringo/engine").version.join(".")), (B = "RingoJS") } catch (Z) { ;(a = t.system) && a.global.system == t.system && ((B = "Narwhal"), z || (z = a[0].os || null)) } B || (B = "Rhino") } else "object" == typeof t.process && !t.process.browser && (a = t.process) && ("object" == typeof a.versions && ("string" == typeof a.versions.electron ? (R.push("Node " + a.versions.node), (B = "Electron"), (M = a.versions.electron)) : "string" == typeof a.versions.nw && (R.push("Chromium " + M, "Node " + a.versions.node), (B = "NW.js"), (M = a.versions.nw))), B || ((B = "Node.js"), (j = a.arch), (z = a.platform), (M = /[\d.]+/.exec(a.version)), (M = M ? M[0] : null))) else v((a = t.runtime)) == f ? ((B = "Adobe AIR"), (z = a.flash.system.Capabilities.os)) : v((a = t.phantom)) == T ? ((B = "PhantomJS"), (M = (a = a.version || null) && a.major + "." + a.minor + "." + a.patch)) : "number" == typeof L.documentMode && (a = /\bTrident\/(\d+)/i.exec(e)) ? ((M = [M, L.documentMode]), (a = +a[1] + 4) != M[1] && (R.push("IE " + M[1] + " mode"), D && (D[1] = ""), (M[1] = a)), (M = "IE" == B ? String(M[1].toFixed(1)) : M[0])) : "number" == typeof L.documentMode && /^(?:Chrome|Firefox)\b/.test(B) && (R.push("masking as " + B + " " + M), (B = "IE"), (M = "11.0"), (D = ["Trident"]), (z = "Windows")) z = z && g(z) } if ( (M && (a = /(?:[ab]|dp|pre|[ab]\d+pre)(?:\d+\+?)?$/i.exec(M) || /(?:alpha|beta)(?: ?\d)?/i.exec(e + ";" + (N && n.appMinorVersion)) || (/\bMinefield\b/i.test(e) && "a")) && ((I = /b/i.test(a) ? "beta" : "alpha"), (M = M.replace(RegExp(a + "\\+?$"), "") + ("beta" == I ? k : C) + (/\d+\+?/.exec(a) || ""))), "Fennec" == B || ("Firefox" == B && /\b(?:Android|Firefox OS)\b/.test(z))) ) B = "Firefox Mobile" else if ("Maxthon" == B && M) M = M.replace(/\.[\d.]+/, ".x") else if (/\bXbox\b/i.test(F)) "Xbox 360" == F && (z = null), "Xbox 360" == F && /\bIEMobile\b/.test(e) && R.unshift("mobile mode") else if ( (!/^(?:Chrome|IE|Opera)$/.test(B) && (!B || F || /Browser|Mobi/.test(B))) || ("Windows CE" != z && !/Mobi/i.test(e)) ) if ("IE" == B && N) try { null === t.external && R.unshift("platform preview") } catch (Z) { R.unshift("embedded") } else (/\bBlackBerry\b/.test(F) || /\bBB10\b/.test(e)) && (a = (RegExp(F.replace(/ +/g, " *") + "/([.\\d]+)", "i").exec(e) || 0)[1] || M) ? ((a = [a, /BB10/.test(e)]), (z = (a[1] ? ((F = null), (U = "BlackBerry")) : "Device Software") + " " + a[0]), (M = null)) : this != y && "Wii" != F && ((N && P) || (/Opera/.test(B) && /\b(?:MSIE|Firefox)\b/i.test(e)) || ("Firefox" == B && /\bOS X (?:\d+\.){2,}/.test(z)) || ("IE" == B && ((z && !/^Win/.test(z) && M > 5.5) || (/\bWindows XP\b/.test(z) && M > 8) || (8 == M && !/\bTrident\b/.test(e))))) && !c.test((a = _.call(y, e.replace(c, "") + ";"))) && a.name && ((a = "ing as " + a.name + ((a = a.version) ? " " + a : "")), c.test(B) ? (/\bIE\b/.test(a) && "Mac OS" == z && (z = null), (a = "identify" + a)) : ((a = "mask" + a), (B = O ? g(O.replace(/([a-z])([A-Z])/g, "$1 $2")) : "Opera"), /\bIE\b/.test(a) && (z = null), N || (M = null)), (D = ["Presto"]), R.push(a)) else B += " Mobile" ;(a = (/\bAppleWebKit\/([\d.]+\+?)/i.exec(e) || 0)[1]) && ((a = [parseFloat(a.replace(/\.(\d)$/, ".0$1")), a]), "Safari" == B && "+" == a[1].slice(-1) ? ((B = "WebKit Nightly"), (I = "alpha"), (M = a[1].slice(0, -1))) : (M != a[1] && M != (a[2] = (/\bSafari\/([\d.]+\+?)/i.exec(e) || 0)[1])) || (M = null), (a[1] = (/\bChrome\/([\d.]+)/i.exec(e) || 0)[1]), 537.36 == a[0] && 537.36 == a[2] && parseFloat(a[1]) >= 28 && "WebKit" == D && (D = ["Blink"]), N && (l || a[1]) ? (D && (D[1] = "like Chrome"), (a = a[1] || ((a = a[0]), a < 530 ? 1 : a < 532 ? 2 : a < 532.05 ? 3 : a < 533 ? 4 : a < 534.03 ? 5 : a < 534.07 ? 6 : a < 534.1 ? 7 : a < 534.13 ? 8 : a < 534.16 ? 9 : a < 534.24 ? 10 : a < 534.3 ? 11 : a < 535.01 ? 12 : a < 535.02 ? "13+" : a < 535.07 ? 15 : a < 535.11 ? 16 : a < 535.19 ? 17 : a < 536.05 ? 18 : a < 536.1 ? 19 : a < 537.01 ? 20 : a < 537.11 ? "21+" : a < 537.13 ? 23 : a < 537.18 ? 24 : a < 537.24 ? 25 : a < 537.36 ? 26 : "Blink" != D ? "27" : "28"))) : (D && (D[1] = "like Safari"), (a = a[0]), (a = a < 400 ? 1 : a < 500 ? 2 : a < 526 ? 3 : a < 533 ? 4 : a < 534 ? "4+" : a < 535 ? 5 : a < 537 ? 6 : a < 538 ? 7 : a < 601 ? 8 : "8")), D && (D[1] += " " + (a += "number" == typeof a ? ".x" : /[.+]/.test(a) ? "" : "+")), "Safari" == B && (!M || parseInt(M) > 45) && (M = a)), "Opera" == B && (a = /\bzbov|zvav$/.exec(z)) ? ((B += " "), R.unshift("desktop mode"), "zvav" == a ? ((B += "Mini"), (M = null)) : (B += "Mobile"), (z = z.replace(RegExp(" *" + a + "$"), ""))) : "Safari" == B && /\bChrome\b/.exec(D && D[1]) && (R.unshift("desktop mode"), (B = "Chrome Mobile"), (M = null), /\bOS X\b/.test(z) ? ((U = "Apple"), (z = "iOS 4.3+")) : (z = null)), M && 0 == M.indexOf((a = /[\d.]+$/.exec(z))) && e.indexOf("/" + a + "-") > -1 && (z = A(z.replace(a, ""))), D && !/\b(?:Avant|Nook)\b/.test(B) && (/Browser|Lunascape|Maxthon/.test(B) || ("Safari" != B && /^iOS/.test(z) && /\bSafari\b/.test(D[1])) || (/^(?:Adobe|Arora|Breach|Midori|Opera|Phantom|Rekonq|Rock|Samsung Internet|Sleipnir|Web)/.test(B) && D[1])) && (a = D[D.length - 1]) && R.push(a), R.length && (R = ["(" + R.join("; ") + ")"]), U && F && F.indexOf(U) < 0 && R.push("on " + U), F && R.push((/^on /.test(R[R.length - 1]) ? "" : "on ") + F), z && ((a = / ([\d.+]+)$/.exec(z)), (s = a && "/" == z.charAt(z.length - a[0].length - 1)), (z = { architecture: 32, family: a && !s ? z.replace(a[0], "") : z, version: a ? a[1] : null, toString: function () { var e = this.version return this.family + (e && !s ? " " + e : "") + (64 == this.architecture ? " 64-bit" : "") } })), (a = /\b(?:AMD|IA|Win|WOW|x86_|x)64\b/i.exec(j)) && !/\bi686\b/i.test(j) ? (z && ((z.architecture = 64), (z.family = z.family.replace(RegExp(" *" + a), ""))), B && (/\bWOW64\b/i.test(e) || (N && /\w(?:86|32)$/.test(n.cpuClass || n.platform) && !/\bWin64; x64\b/i.test(e))) && R.unshift("32-bit")) : z && /^OS X/.test(z.family) && "Chrome" == B && parseFloat(M) >= 39 && (z.architecture = 64), e || (e = null) var K = {} return ( (K.description = e), (K.layout = D && D[0]), (K.manufacturer = U), (K.name = B), (K.prerelease = I), (K.product = F), (K.ua = e), (K.version = B && M), (K.os = z || { architecture: null, family: null, version: null, toString: function () { return "null" } }), (K.parse = _), (K.toString = Y), K.version && R.unshift(M), K.name && R.unshift(B), z && B && (z != String(z).split(" ")[0] || (z != B.split(" ")[0] && !F)) && R.push(F ? "(" + z + ")" : "on " + z), R.length && (K.description = R.join(" ")), K ) } var T = _() "function" == typeof define && "object" == typeof define.amd && define.amd ? ((i.platform = T), define(function () { return T })) : o && a ? y(T, function (e, t) { o[t] = e }) : (i.platform = T) }).call(this) }).call( this, "undefined" !== typeof global ? global : "undefined" !== typeof self ? self : "undefined" !== typeof window ? window : {} ) }, {} ], 317: [ function (e, t, r) { ;(function (e) { "use strict" function r(t, r, n, i) { if ("function" !== typeof t) throw new TypeError('"callback" argument must be a function') var o, a, s = arguments.length switch (s) { case 0: case 1: return e.nextTick(t) case 2: return e.nextTick(function () { t.call(null, r) }) case 3: return e.nextTick(function () { t.call(null, r, n) }) case 4: return e.nextTick(function () { t.call(null, r, n, i) }) default: ;(o = new Array(s - 1)), (a = 0) while (a < o.length) o[a++] = arguments[a] return e.nextTick(function () { t.apply(null, o) }) } } "undefined" === typeof e || !e.version || 0 === e.version.indexOf("v0.") || (0 === e.version.indexOf("v1.") && 0 !== e.version.indexOf("v1.8.")) ? (t.exports = { nextTick: r }) : (t.exports = e) }).call(this, e("_process")) }, { _process: 392 } ], 318: [ function (e, t, r) { var n, i, o = (t.exports = {}) function a() { throw new Error("setTimeout has not been defined") } function s() { throw new Error("clearTimeout has not been defined") } function l(e) { if (n === setTimeout) return setTimeout(e, 0) if ((n === a || !n) && setTimeout) return (n = setTimeout), setTimeout(e, 0) try { return n(e, 0) } catch (t) { try { return n.call(null, e, 0) } catch (t) { return n.call(this, e, 0) } } } function c(e) { if (i === clearTimeout) return clearTimeout(e) if ((i === s || !i) && clearTimeout) return (i = clearTimeout), clearTimeout(e) try { return i(e) } catch (t) { try { return i.call(null, e) } catch (t) { return i.call(this, e) } } } ;(function () { try { n = "function" === typeof setTimeout ? setTimeout : a } catch (e) { n = a } try { i = "function" === typeof clearTimeout ? clearTimeout : s } catch (e) { i = s } })() var u, f = [], p = !1, d = -1 function h() { p && u && ((p = !1), u.length ? (f = u.concat(f)) : (d = -1), f.length && m()) } function m() { if (!p) { var e = l(h) p = !0 var t = f.length while (t) { ;(u = f), (f = []) while (++d < t) u && u[d].run() ;(d = -1), (t = f.length) } ;(u = null), (p = !1), c(e) } } function g(e, t) { ;(this.fun = e), (this.array = t) } function y() {} ;(o.nextTick = function (e) { var t = new Array(arguments.length - 1) if (arguments.length > 1) for (var r = 1; r < arguments.length; r++) t[r - 1] = arguments[r] f.push(new g(e, t)), 1 !== f.length || p || l(m) }), (g.prototype.run = function () { this.fun.apply(null, this.array) }), (o.title = "browser"), (o.browser = !0), (o.env = {}), (o.argv = []), (o.version = ""), (o.versions = {}), (o.on = y), (o.addListener = y), (o.once = y), (o.off = y), (o.removeListener = y), (o.removeAllListeners = y), (o.emit = y), (o.prependListener = y), (o.prependOnceListener = y), (o.listeners = function (e) { return [] }), (o.binding = function (e) { throw new Error("process.binding is not supported") }), (o.cwd = function () { return "/" }), (o.chdir = function (e) { throw new Error("process.chdir is not supported") }), (o.umask = function () { return 0 }) }, {} ], 319: [ function (e, t, r) { ;(function (e) { ;(function (n) { var i = "object" == typeof r && r && !r.nodeType && r, o = "object" == typeof t && t && !t.nodeType && t, a = "object" == typeof e && e ;(a.global !== a && a.window !== a && a.self !== a) || (n = a) var s, l, c = 2147483647, u = 36, f = 1, p = 26, d = 38, h = 700, m = 72, g = 128, y = "-", v = /^xn--/, b = /[^\x20-\x7E]/, w = /[\x2E\u3002\uFF0E\uFF61]/g, x = { overflow: "Overflow: input needs wider integers to process", "not-basic": "Illegal input >= 0x80 (not a basic code point)", "invalid-input": "Invalid input" }, A = u - f, _ = Math.floor, T = String.fromCharCode function E(e) { throw new RangeError(x[e]) } function S(e, t) { var r = e.length, n = [] while (r--) n[r] = t(e[r]) return n } function C(e, t) { var r = e.split("@"), n = "" r.length > 1 && ((n = r[0] + "@"), (e = r[1])), (e = e.replace(w, ".")) var i = e.split("."), o = S(i, t).join(".") return n + o } function k(e) { var t, r, n = [], i = 0, o = e.length while (i < o) (t = e.charCodeAt(i++)), t >= 55296 && t <= 56319 && i < o ? ((r = e.charCodeAt(i++)), 56320 == (64512 & r) ? n.push(((1023 & t) << 10) + (1023 & r) + 65536) : (n.push(t), i--)) : n.push(t) return n } function L(e) { return S(e, function (e) { var t = "" return ( e > 65535 && ((e -= 65536), (t += T(((e >>> 10) & 1023) | 55296)), (e = 56320 | (1023 & e))), (t += T(e)), t ) }).join("") } function P(e) { return e - 48 < 10 ? e - 22 : e - 65 < 26 ? e - 65 : e - 97 < 26 ? e - 97 : u } function O(e, t) { return e + 22 + 75 * (e < 26) - ((0 != t) << 5) } function j(e, t, r) { var n = 0 for (e = r ? _(e / h) : e >> 1, e += _(e / t); e > (A * p) >> 1; n += u) e = _(e / A) return _(n + ((A + 1) * e) / (e + d)) } function R(e) { var t, r, n, i, o, a, s, l, d, h, v = [], b = e.length, w = 0, x = g, A = m for (r = e.lastIndexOf(y), r < 0 && (r = 0), n = 0; n < r; ++n) e.charCodeAt(n) >= 128 && E("not-basic"), v.push(e.charCodeAt(n)) for (i = r > 0 ? r + 1 : 0; i < b; ) { for (o = w, a = 1, s = u; ; s += u) { if ( (i >= b && E("invalid-input"), (l = P(e.charCodeAt(i++))), (l >= u || l > _((c - w) / a)) && E("overflow"), (w += l * a), (d = s <= A ? f : s >= A + p ? p : s - A), l < d) ) break ;(h = u - d), a > _(c / h) && E("overflow"), (a *= h) } ;(t = v.length + 1), (A = j(w - o, t, 0 == o)), _(w / t) > c - x && E("overflow"), (x += _(w / t)), (w %= t), v.splice(w++, 0, x) } return L(v) } function I(e) { var t, r, n, i, o, a, s, l, d, h, v, b, w, x, A, S = [] for (e = k(e), b = e.length, t = g, r = 0, o = m, a = 0; a < b; ++a) (v = e[a]), v < 128 && S.push(T(v)) ;(n = i = S.length), i && S.push(y) while (n < b) { for (s = c, a = 0; a < b; ++a) (v = e[a]), v >= t && v < s && (s = v) for (w = n + 1, s - t > _((c - r) / w) && E("overflow"), r += (s - t) * w, t = s, a = 0; a < b; ++a) if (((v = e[a]), v < t && ++r > c && E("overflow"), v == t)) { for (l = r, d = u; ; d += u) { if (((h = d <= o ? f : d >= o + p ? p : d - o), l < h)) break ;(A = l - h), (x = u - h), S.push(T(O(h + (A % x), 0))), (l = _(A / x)) } S.push(T(O(l, 0))), (o = j(r, w, n == i)), (r = 0), ++n } ++r, ++t } return S.join("") } function N(e) { return C(e, function (e) { return v.test(e) ? R(e.slice(4).toLowerCase()) : e }) } function M(e) { return C(e, function (e) { return b.test(e) ? "xn--" + I(e) : e }) } if ( ((s = { version: "1.4.1", ucs2: { decode: k, encode: L }, decode: R, encode: I, toASCII: M, toUnicode: N }), "function" == typeof define && "object" == typeof define.amd && define.amd) ) define("punycode", function () { return s }) else if (i && o) if (t.exports == i) o.exports = s else for (l in s) s.hasOwnProperty(l) && (i[l] = s[l]) else n.punycode = s })(this) }).call( this, "undefined" !== typeof global ? global : "undefined" !== typeof self ? self : "undefined" !== typeof window ? window : {} ) }, {} ], 320: [ function (e, t, r) { "use strict" function n(e, t) { return Object.prototype.hasOwnProperty.call(e, t) } t.exports = function (e, t, r, o) { ;(t = t || "&"), (r = r || "=") var a = {} if ("string" !== typeof e || 0 === e.length) return a var s = /\+/g e = e.split(t) var l = 1e3 o && "number" === typeof o.maxKeys && (l = o.maxKeys) var c = e.length l > 0 && c > l && (c = l) for (var u = 0; u < c; ++u) { var f, p, d, h, m = e[u].replace(s, "%20"), g = m.indexOf(r) g >= 0 ? ((f = m.substr(0, g)), (p = m.substr(g + 1))) : ((f = m), (p = "")), (d = decodeURIComponent(f)), (h = decodeURIComponent(p)), n(a, d) ? (i(a[d]) ? a[d].push(h) : (a[d] = [a[d], h])) : (a[d] = h) } return a } var i = Array.isArray || function (e) { return "[object Array]" === Object.prototype.toString.call(e) } }, {} ], 321: [ function (e, t, r) { "use strict" var n = function (e) { switch (typeof e) { case "string": return e case "boolean": return e ? "true" : "false" case "number": return isFinite(e) ? e : "" default: return "" } } t.exports = function (e, t, r, s) { return ( (t = t || "&"), (r = r || "="), null === e && (e = void 0), "object" === typeof e ? o(a(e), function (a) { var s = encodeURIComponent(n(a)) + r return i(e[a]) ? o(e[a], function (e) { return s + encodeURIComponent(n(e)) }).join(t) : s + encodeURIComponent(n(e[a])) }).join(t) : s ? encodeURIComponent(n(s)) + r + encodeURIComponent(n(e)) : "" ) } var i = Array.isArray || function (e) { return "[object Array]" === Object.prototype.toString.call(e) } function o(e, t) { if (e.map) return e.map(t) for (var r = [], n = 0; n < e.length; n++) r.push(t(e[n], n)) return r } var a = Object.keys || function (e) { var t = [] for (var r in e) Object.prototype.hasOwnProperty.call(e, r) && t.push(r) return t } }, {} ], 322: [ function (e, t, r) { "use strict" ;(r.decode = r.parse = e("./decode")), (r.encode = r.stringify = e("./encode")) }, { "./decode": 320, "./encode": 321 } ], 323: [ function (e, t, r) { t.exports = e("./lib/_stream_duplex.js") }, { "./lib/_stream_duplex.js": 324 } ], 324: [ function (e, t, r) { "use strict" var n = e("process-nextick-args"), i = Object.keys || function (e) { var t = [] for (var r in e) t.push(r) return t } t.exports = f var o = Object.create(e("core-util-is")) o.inherits = e("inherits") var a = e("./_stream_readable"), s = e("./_stream_writable") o.inherits(f, a) for (var l = i(s.prototype), c = 0; c < l.length; c++) { var u = l[c] f.prototype[u] || (f.prototype[u] = s.prototype[u]) } function f(e) { if (!(this instanceof f)) return new f(e) a.call(this, e), s.call(this, e), e && !1 === e.readable && (this.readable = !1), e && !1 === e.writable && (this.writable = !1), (this.allowHalfOpen = !0), e && !1 === e.allowHalfOpen && (this.allowHalfOpen = !1), this.once("end", p) } function p() { this.allowHalfOpen || this._writableState.ended || n.nextTick(d, this) } function d(e) { e.end() } Object.defineProperty(f.prototype, "writableHighWaterMark", { enumerable: !1, get: function () { return this._writableState.highWaterMark } }), Object.defineProperty(f.prototype, "destroyed", { get: function () { return ( void 0 !== this._readableState && void 0 !== this._writableState && this._readableState.destroyed && this._writableState.destroyed ) }, set: function (e) { void 0 !== this._readableState && void 0 !== this._writableState && ((this._readableState.destroyed = e), (this._writableState.destroyed = e)) } }), (f.prototype._destroy = function (e, t) { this.push(null), this.end(), n.nextTick(t, e) }) }, { "./_stream_readable": 326, "./_stream_writable": 328, "core-util-is": 293, inherits: 306, "process-nextick-args": 317 } ], 325: [ function (e, t, r) { "use strict" t.exports = o var n = e("./_stream_transform"), i = Object.create(e("core-util-is")) function o(e) { if (!(this instanceof o)) return new o(e) n.call(this, e) } ;(i.inherits = e("inherits")), i.inherits(o, n), (o.prototype._transform = function (e, t, r) { r(null, e) }) }, { "./_stream_transform": 327, "core-util-is": 293, inherits: 306 } ], 326: [ function (e, t, r) { ;(function (r, n) { "use strict" var i = e("process-nextick-args") t.exports = A var o, a = e("isarray") A.ReadableState = x e("events").EventEmitter var s = function (e, t) { return e.listeners(t).length }, l = e("./internal/streams/stream"), c = e("safe-buffer").Buffer, u = n.Uint8Array || function () {} function f(e) { return c.from(e) } function p(e) { return c.isBuffer(e) || e instanceof u } var d = Object.create(e("core-util-is")) d.inherits = e("inherits") var h = e("util"), m = void 0 m = h && h.debuglog ? h.debuglog("stream") : function () {} var g, y = e("./internal/streams/BufferList"), v = e("./internal/streams/destroy") d.inherits(A, l) var b = ["error", "close", "destroy", "pause", "resume"] function w(e, t, r) { if ("function" === typeof e.prependListener) return e.prependListener(t, r) e._events && e._events[t] ? a(e._events[t]) ? e._events[t].unshift(r) : (e._events[t] = [r, e._events[t]]) : e.on(t, r) } function x(t, r) { ;(o = o || e("./_stream_duplex")), (t = t || {}) var n = r instanceof o ;(this.objectMode = !!t.objectMode), n && (this.objectMode = this.objectMode || !!t.readableObjectMode) var i = t.highWaterMark, a = t.readableHighWaterMark, s = this.objectMode ? 16 : 16384 ;(this.highWaterMark = i || 0 === i ? i : n && (a || 0 === a) ? a : s), (this.highWaterMark = Math.floor(this.highWaterMark)), (this.buffer = new y()), (this.length = 0), (this.pipes = null), (this.pipesCount = 0), (this.flowing = null), (this.ended = !1), (this.endEmitted = !1), (this.reading = !1), (this.sync = !0), (this.needReadable = !1), (this.emittedReadable = !1), (this.readableListening = !1), (this.resumeScheduled = !1), (this.destroyed = !1), (this.defaultEncoding = t.defaultEncoding || "utf8"), (this.awaitDrain = 0), (this.readingMore = !1), (this.decoder = null), (this.encoding = null), t.encoding && (g || (g = e("string_decoder/").StringDecoder), (this.decoder = new g(t.encoding)), (this.encoding = t.encoding)) } function A(t) { if (((o = o || e("./_stream_duplex")), !(this instanceof A))) return new A(t) ;(this._readableState = new x(t, this)), (this.readable = !0), t && ("function" === typeof t.read && (this._read = t.read), "function" === typeof t.destroy && (this._destroy = t.destroy)), l.call(this) } function _(e, t, r, n, i) { var o, a = e._readableState null === t ? ((a.reading = !1), P(e, a)) : (i || (o = E(a, t)), o ? e.emit("error", o) : a.objectMode || (t && t.length > 0) ? ("string" === typeof t || a.objectMode || Object.getPrototypeOf(t) === c.prototype || (t = f(t)), n ? a.endEmitted ? e.emit("error", new Error("stream.unshift() after end event")) : T(e, a, t, !0) : a.ended ? e.emit("error", new Error("stream.push() after EOF")) : ((a.reading = !1), a.decoder && !r ? ((t = a.decoder.write(t)), a.objectMode || 0 !== t.length ? T(e, a, t, !1) : R(e, a)) : T(e, a, t, !1))) : n || (a.reading = !1)) return S(a) } function T(e, t, r, n) { t.flowing && 0 === t.length && !t.sync ? (e.emit("data", r), e.read(0)) : ((t.length += t.objectMode ? 1 : r.length), n ? t.buffer.unshift(r) : t.buffer.push(r), t.needReadable && O(e)), R(e, t) } function E(e, t) { var r return ( p(t) || "string" === typeof t || void 0 === t || e.objectMode || (r = new TypeError("Invalid non-string/buffer chunk")), r ) } function S(e) { return !e.ended && (e.needReadable || e.length < e.highWaterMark || 0 === e.length) } Object.defineProperty(A.prototype, "destroyed", { get: function () { return void 0 !== this._readableState && this._readableState.destroyed }, set: function (e) { this._readableState && (this._readableState.destroyed = e) } }), (A.prototype.destroy = v.destroy), (A.prototype._undestroy = v.undestroy), (A.prototype._destroy = function (e, t) { this.push(null), t(e) }), (A.prototype.push = function (e, t) { var r, n = this._readableState return ( n.objectMode ? (r = !0) : "string" === typeof e && ((t = t || n.defaultEncoding), t !== n.encoding && ((e = c.from(e, t)), (t = "")), (r = !0)), _(this, e, t, !1, r) ) }), (A.prototype.unshift = function (e) { return _(this, e, null, !0, !1) }), (A.prototype.isPaused = function () { return !1 === this._readableState.flowing }), (A.prototype.setEncoding = function (t) { return ( g || (g = e("string_decoder/").StringDecoder), (this._readableState.decoder = new g(t)), (this._readableState.encoding = t), this ) }) var C = 8388608 function k(e) { return e >= C ? (e = C) : (e--, (e |= e >>> 1), (e |= e >>> 2), (e |= e >>> 4), (e |= e >>> 8), (e |= e >>> 16), e++), e } function L(e, t) { return e <= 0 || (0 === t.length && t.ended) ? 0 : t.objectMode ? 1 : e !== e ? t.flowing && t.length ? t.buffer.head.data.length : t.length : (e > t.highWaterMark && (t.highWaterMark = k(e)), e <= t.length ? e : t.ended ? t.length : ((t.needReadable = !0), 0)) } function P(e, t) { if (!t.ended) { if (t.decoder) { var r = t.decoder.end() r && r.length && (t.buffer.push(r), (t.length += t.objectMode ? 1 : r.length)) } ;(t.ended = !0), O(e) } } function O(e) { var t = e._readableState ;(t.needReadable = !1), t.emittedReadable || (m("emitReadable", t.flowing), (t.emittedReadable = !0), t.sync ? i.nextTick(j, e) : j(e)) } function j(e) { m("emit readable"), e.emit("readable"), F(e) } function R(e, t) { t.readingMore || ((t.readingMore = !0), i.nextTick(I, e, t)) } function I(e, t) { var r = t.length while (!t.reading && !t.flowing && !t.ended && t.length < t.highWaterMark) { if ((m("maybeReadMore read 0"), e.read(0), r === t.length)) break r = t.length } t.readingMore = !1 } function N(e) { return function () { var t = e._readableState m("pipeOnDrain", t.awaitDrain), t.awaitDrain && t.awaitDrain--, 0 === t.awaitDrain && s(e, "data") && ((t.flowing = !0), F(e)) } } function M(e) { m("readable nexttick read 0"), e.read(0) } function D(e, t) { t.resumeScheduled || ((t.resumeScheduled = !0), i.nextTick(B, e, t)) } function B(e, t) { t.reading || (m("resume read 0"), e.read(0)), (t.resumeScheduled = !1), (t.awaitDrain = 0), e.emit("resume"), F(e), t.flowing && !t.reading && e.read(0) } function F(e) { var t = e._readableState m("flow", t.flowing) while (t.flowing && null !== e.read()); } function U(e, t) { return 0 === t.length ? null : (t.objectMode ? (r = t.buffer.shift()) : !e || e >= t.length ? ((r = t.decoder ? t.buffer.join("") : 1 === t.buffer.length ? t.buffer.head.data : t.buffer.concat(t.length)), t.buffer.clear()) : (r = z(e, t.buffer, t.decoder)), r) var r } function z(e, t, r) { var n return ( e < t.head.data.length ? ((n = t.head.data.slice(0, e)), (t.head.data = t.head.data.slice(e))) : (n = e === t.head.data.length ? t.shift() : r ? q(e, t) : G(e, t)), n ) } function q(e, t) { var r = t.head, n = 1, i = r.data e -= i.length while ((r = r.next)) { var o = r.data, a = e > o.length ? o.length : e if ((a === o.length ? (i += o) : (i += o.slice(0, e)), (e -= a), 0 === e)) { a === o.length ? (++n, r.next ? (t.head = r.next) : (t.head = t.tail = null)) : ((t.head = r), (r.data = o.slice(a))) break } ++n } return (t.length -= n), i } function G(e, t) { var r = c.allocUnsafe(e), n = t.head, i = 1 n.data.copy(r), (e -= n.data.length) while ((n = n.next)) { var o = n.data, a = e > o.length ? o.length : e if ((o.copy(r, r.length - e, 0, a), (e -= a), 0 === e)) { a === o.length ? (++i, n.next ? (t.head = n.next) : (t.head = t.tail = null)) : ((t.head = n), (n.data = o.slice(a))) break } ++i } return (t.length -= i), r } function W(e) { var t = e._readableState if (t.length > 0) throw new Error('"endReadable()" called on non-empty stream') t.endEmitted || ((t.ended = !0), i.nextTick(V, t, e)) } function V(e, t) { e.endEmitted || 0 !== e.length || ((e.endEmitted = !0), (t.readable = !1), t.emit("end")) } function H(e, t) { for (var r = 0, n = e.length; r < n; r++) if (e[r] === t) return r return -1 } ;(A.prototype.read = function (e) { m("read", e), (e = parseInt(e, 10)) var t = this._readableState, r = e if ((0 !== e && (t.emittedReadable = !1), 0 === e && t.needReadable && (t.length >= t.highWaterMark || t.ended))) return m("read: emitReadable", t.length, t.ended), 0 === t.length && t.ended ? W(this) : O(this), null if (((e = L(e, t)), 0 === e && t.ended)) return 0 === t.length && W(this), null var n, i = t.needReadable return ( m("need readable", i), (0 === t.length || t.length - e < t.highWaterMark) && ((i = !0), m("length less than watermark", i)), t.ended || t.reading ? ((i = !1), m("reading or ended", i)) : i && (m("do read"), (t.reading = !0), (t.sync = !0), 0 === t.length && (t.needReadable = !0), this._read(t.highWaterMark), (t.sync = !1), t.reading || (e = L(r, t))), (n = e > 0 ? U(e, t) : null), null === n ? ((t.needReadable = !0), (e = 0)) : (t.length -= e), 0 === t.length && (t.ended || (t.needReadable = !0), r !== e && t.ended && W(this)), null !== n && this.emit("data", n), n ) }), (A.prototype._read = function (e) { this.emit("error", new Error("_read() is not implemented")) }), (A.prototype.pipe = function (e, t) { var n = this, o = this._readableState switch (o.pipesCount) { case 0: o.pipes = e break case 1: o.pipes = [o.pipes, e] break default: o.pipes.push(e) break } ;(o.pipesCount += 1), m("pipe count=%d opts=%j", o.pipesCount, t) var a = (!t || !1 !== t.end) && e !== r.stdout && e !== r.stderr, l = a ? u : x function c(e, t) { m("onunpipe"), e === n && t && !1 === t.hasUnpiped && ((t.hasUnpiped = !0), d()) } function u() { m("onend"), e.end() } o.endEmitted ? i.nextTick(l) : n.once("end", l), e.on("unpipe", c) var f = N(n) e.on("drain", f) var p = !1 function d() { m("cleanup"), e.removeListener("close", v), e.removeListener("finish", b), e.removeListener("drain", f), e.removeListener("error", y), e.removeListener("unpipe", c), n.removeListener("end", u), n.removeListener("end", x), n.removeListener("data", g), (p = !0), !o.awaitDrain || (e._writableState && !e._writableState.needDrain) || f() } var h = !1 function g(t) { m("ondata"), (h = !1) var r = e.write(t) !1 !== r || h || (((1 === o.pipesCount && o.pipes === e) || (o.pipesCount > 1 && -1 !== H(o.pipes, e))) && !p && (m("false write response, pause", n._readableState.awaitDrain), n._readableState.awaitDrain++, (h = !0)), n.pause()) } function y(t) { m("onerror", t), x(), e.removeListener("error", y), 0 === s(e, "error") && e.emit("error", t) } function v() { e.removeListener("finish", b), x() } function b() { m("onfinish"), e.removeListener("close", v), x() } function x() { m("unpipe"), n.unpipe(e) } return ( n.on("data", g), w(e, "error", y), e.once("close", v), e.once("finish", b), e.emit("pipe", n), o.flowing || (m("pipe resume"), n.resume()), e ) }), (A.prototype.unpipe = function (e) { var t = this._readableState, r = { hasUnpiped: !1 } if (0 === t.pipesCount) return this if (1 === t.pipesCount) return ( (e && e !== t.pipes) || (e || (e = t.pipes), (t.pipes = null), (t.pipesCount = 0), (t.flowing = !1), e && e.emit("unpipe", this, r)), this ) if (!e) { var n = t.pipes, i = t.pipesCount ;(t.pipes = null), (t.pipesCount = 0), (t.flowing = !1) for (var o = 0; o < i; o++) n[o].emit("unpipe", this, r) return this } var a = H(t.pipes, e) return ( -1 === a || (t.pipes.splice(a, 1), (t.pipesCount -= 1), 1 === t.pipesCount && (t.pipes = t.pipes[0]), e.emit("unpipe", this, r)), this ) }), (A.prototype.on = function (e, t) { var r = l.prototype.on.call(this, e, t) if ("data" === e) !1 !== this._readableState.flowing && this.resume() else if ("readable" === e) { var n = this._readableState n.endEmitted || n.readableListening || ((n.readableListening = n.needReadable = !0), (n.emittedReadable = !1), n.reading ? n.length && O(this) : i.nextTick(M, this)) } return r }), (A.prototype.addListener = A.prototype.on), (A.prototype.resume = function () { var e = this._readableState return e.flowing || (m("resume"), (e.flowing = !0), D(this, e)), this }), (A.prototype.pause = function () { return ( m("call pause flowing=%j", this._readableState.flowing), !1 !== this._readableState.flowing && (m("pause"), (this._readableState.flowing = !1), this.emit("pause")), this ) }), (A.prototype.wrap = function (e) { var t = this, r = this._readableState, n = !1 for (var i in (e.on("end", function () { if ((m("wrapped end"), r.decoder && !r.ended)) { var e = r.decoder.end() e && e.length && t.push(e) } t.push(null) }), e.on("data", function (i) { if ( (m("wrapped data"), r.decoder && (i = r.decoder.write(i)), (!r.objectMode || (null !== i && void 0 !== i)) && (r.objectMode || (i && i.length))) ) { var o = t.push(i) o || ((n = !0), e.pause()) } }), e)) void 0 === this[i] && "function" === typeof e[i] && (this[i] = (function (t) { return function () { return e[t].apply(e, arguments) } })(i)) for (var o = 0; o < b.length; o++) e.on(b[o], this.emit.bind(this, b[o])) return ( (this._read = function (t) { m("wrapped _read", t), n && ((n = !1), e.resume()) }), this ) }), Object.defineProperty(A.prototype, "readableHighWaterMark", { enumerable: !1, get: function () { return this._readableState.highWaterMark } }), (A._fromList = U) }).call( this, e("_process"), "undefined" !== typeof global ? global : "undefined" !== typeof self ? self : "undefined" !== typeof window ? window : {} ) }, { "./_stream_duplex": 324, "./internal/streams/BufferList": 329, "./internal/streams/destroy": 330, "./internal/streams/stream": 331, _process: 392, "core-util-is": 293, events: 296, inherits: 306, isarray: 308, "process-nextick-args": 317, "safe-buffer": 337, "string_decoder/": 340, util: 79 } ], 327: [ function (e, t, r) { "use strict" t.exports = a var n = e("./_stream_duplex"), i = Object.create(e("core-util-is")) function o(e, t) { var r = this._transformState r.transforming = !1 var n = r.writecb if (!n) return this.emit("error", new Error("write callback called multiple times")) ;(r.writechunk = null), (r.writecb = null), null != t && this.push(t), n(e) var i = this._readableState ;(i.reading = !1), (i.needReadable || i.length < i.highWaterMark) && this._read(i.highWaterMark) } function a(e) { if (!(this instanceof a)) return new a(e) n.call(this, e), (this._transformState = { afterTransform: o.bind(this), needTransform: !1, transforming: !1, writecb: null, writechunk: null, writeencoding: null }), (this._readableState.needReadable = !0), (this._readableState.sync = !1), e && ("function" === typeof e.transform && (this._transform = e.transform), "function" === typeof e.flush && (this._flush = e.flush)), this.on("prefinish", s) } function s() { var e = this "function" === typeof this._flush ? this._flush(function (t, r) { l(e, t, r) }) : l(this, null, null) } function l(e, t, r) { if (t) return e.emit("error", t) if ((null != r && e.push(r), e._writableState.length)) throw new Error("Calling transform done when ws.length != 0") if (e._transformState.transforming) throw new Error("Calling transform done when still transforming") return e.push(null) } ;(i.inherits = e("inherits")), i.inherits(a, n), (a.prototype.push = function (e, t) { return (this._transformState.needTransform = !1), n.prototype.push.call(this, e, t) }), (a.prototype._transform = function (e, t, r) { throw new Error("_transform() is not implemented") }), (a.prototype._write = function (e, t, r) { var n = this._transformState if (((n.writecb = r), (n.writechunk = e), (n.writeencoding = t), !n.transforming)) { var i = this._readableState ;(n.needTransform || i.needReadable || i.length < i.highWaterMark) && this._read(i.highWaterMark) } }), (a.prototype._read = function (e) { var t = this._transformState null !== t.writechunk && t.writecb && !t.transforming ? ((t.transforming = !0), this._transform(t.writechunk, t.writeencoding, t.afterTransform)) : (t.needTransform = !0) }), (a.prototype._destroy = function (e, t) { var r = this n.prototype._destroy.call(this, e, function (e) { t(e), r.emit("close") }) }) }, { "./_stream_duplex": 324, "core-util-is": 293, inherits: 306 } ], 328: [ function (e, t, r) { ;(function (r, n, i) { "use strict" var o = e("process-nextick-args") function a(e) { var t = this ;(this.next = null), (this.entry = null), (this.finish = function () { D(t, e) }) } t.exports = w var s, l = !r.browser && ["v0.10", "v0.9."].indexOf(r.version.slice(0, 5)) > -1 ? i : o.nextTick w.WritableState = b var c = Object.create(e("core-util-is")) c.inherits = e("inherits") var u = { deprecate: e("util-deprecate") }, f = e("./internal/streams/stream"), p = e("safe-buffer").Buffer, d = n.Uint8Array || function () {} function h(e) { return p.from(e) } function m(e) { return p.isBuffer(e) || e instanceof d } var g, y = e("./internal/streams/destroy") function v() {} function b(t, r) { ;(s = s || e("./_stream_duplex")), (t = t || {}) var n = r instanceof s ;(this.objectMode = !!t.objectMode), n && (this.objectMode = this.objectMode || !!t.writableObjectMode) var i = t.highWaterMark, o = t.writableHighWaterMark, l = this.objectMode ? 16 : 16384 ;(this.highWaterMark = i || 0 === i ? i : n && (o || 0 === o) ? o : l), (this.highWaterMark = Math.floor(this.highWaterMark)), (this.finalCalled = !1), (this.needDrain = !1), (this.ending = !1), (this.ended = !1), (this.finished = !1), (this.destroyed = !1) var c = !1 === t.decodeStrings ;(this.decodeStrings = !c), (this.defaultEncoding = t.defaultEncoding || "utf8"), (this.length = 0), (this.writing = !1), (this.corked = 0), (this.sync = !0), (this.bufferProcessing = !1), (this.onwrite = function (e) { k(r, e) }), (this.writecb = null), (this.writelen = 0), (this.bufferedRequest = null), (this.lastBufferedRequest = null), (this.pendingcb = 0), (this.prefinished = !1), (this.errorEmitted = !1), (this.bufferedRequestCount = 0), (this.corkedRequestsFree = new a(this)) } function w(t) { if (((s = s || e("./_stream_duplex")), !g.call(w, this) && !(this instanceof s))) return new w(t) ;(this._writableState = new b(t, this)), (this.writable = !0), t && ("function" === typeof t.write && (this._write = t.write), "function" === typeof t.writev && (this._writev = t.writev), "function" === typeof t.destroy && (this._destroy = t.destroy), "function" === typeof t.final && (this._final = t.final)), f.call(this) } function x(e, t) { var r = new Error("write after end") e.emit("error", r), o.nextTick(t, r) } function A(e, t, r, n) { var i = !0, a = !1 return ( null === r ? (a = new TypeError("May not write null values to stream")) : "string" === typeof r || void 0 === r || t.objectMode || (a = new TypeError("Invalid non-string/buffer chunk")), a && (e.emit("error", a), o.nextTick(n, a), (i = !1)), i ) } function _(e, t, r) { return e.objectMode || !1 === e.decodeStrings || "string" !== typeof t || (t = p.from(t, r)), t } function T(e, t, r, n, i, o) { if (!r) { var a = _(t, n, i) n !== a && ((r = !0), (i = "buffer"), (n = a)) } var s = t.objectMode ? 1 : n.length t.length += s var l = t.length < t.highWaterMark if ((l || (t.needDrain = !0), t.writing || t.corked)) { var c = t.lastBufferedRequest ;(t.lastBufferedRequest = { chunk: n, encoding: i, isBuf: r, callback: o, next: null }), c ? (c.next = t.lastBufferedRequest) : (t.bufferedRequest = t.lastBufferedRequest), (t.bufferedRequestCount += 1) } else E(e, t, !1, s, n, i, o) return l } function E(e, t, r, n, i, o, a) { ;(t.writelen = n), (t.writecb = a), (t.writing = !0), (t.sync = !0), r ? e._writev(i, t.onwrite) : e._write(i, o, t.onwrite), (t.sync = !1) } function S(e, t, r, n, i) { --t.pendingcb, r ? (o.nextTick(i, n), o.nextTick(N, e, t), (e._writableState.errorEmitted = !0), e.emit("error", n)) : (i(n), (e._writableState.errorEmitted = !0), e.emit("error", n), N(e, t)) } function C(e) { ;(e.writing = !1), (e.writecb = null), (e.length -= e.writelen), (e.writelen = 0) } function k(e, t) { var r = e._writableState, n = r.sync, i = r.writecb if ((C(r), t)) S(e, r, n, t, i) else { var o = j(r) o || r.corked || r.bufferProcessing || !r.bufferedRequest || O(e, r), n ? l(L, e, r, o, i) : L(e, r, o, i) } } function L(e, t, r, n) { r || P(e, t), t.pendingcb--, n(), N(e, t) } function P(e, t) { 0 === t.length && t.needDrain && ((t.needDrain = !1), e.emit("drain")) } function O(e, t) { t.bufferProcessing = !0 var r = t.bufferedRequest if (e._writev && r && r.next) { var n = t.bufferedRequestCount, i = new Array(n), o = t.corkedRequestsFree o.entry = r var s = 0, l = !0 while (r) (i[s] = r), r.isBuf || (l = !1), (r = r.next), (s += 1) ;(i.allBuffers = l), E(e, t, !0, t.length, i, "", o.finish), t.pendingcb++, (t.lastBufferedRequest = null), o.next ? ((t.corkedRequestsFree = o.next), (o.next = null)) : (t.corkedRequestsFree = new a(t)), (t.bufferedRequestCount = 0) } else { while (r) { var c = r.chunk, u = r.encoding, f = r.callback, p = t.objectMode ? 1 : c.length if ((E(e, t, !1, p, c, u, f), (r = r.next), t.bufferedRequestCount--, t.writing)) break } null === r && (t.lastBufferedRequest = null) } ;(t.bufferedRequest = r), (t.bufferProcessing = !1) } function j(e) { return e.ending && 0 === e.length && null === e.bufferedRequest && !e.finished && !e.writing } function R(e, t) { e._final(function (r) { t.pendingcb--, r && e.emit("error", r), (t.prefinished = !0), e.emit("prefinish"), N(e, t) }) } function I(e, t) { t.prefinished || t.finalCalled || ("function" === typeof e._final ? (t.pendingcb++, (t.finalCalled = !0), o.nextTick(R, e, t)) : ((t.prefinished = !0), e.emit("prefinish"))) } function N(e, t) { var r = j(t) return r && (I(e, t), 0 === t.pendingcb && ((t.finished = !0), e.emit("finish"))), r } function M(e, t, r) { ;(t.ending = !0), N(e, t), r && (t.finished ? o.nextTick(r) : e.once("finish", r)), (t.ended = !0), (e.writable = !1) } function D(e, t, r) { var n = e.entry e.entry = null while (n) { var i = n.callback t.pendingcb--, i(r), (n = n.next) } t.corkedRequestsFree ? (t.corkedRequestsFree.next = e) : (t.corkedRequestsFree = e) } c.inherits(w, f), (b.prototype.getBuffer = function () { var e = this.bufferedRequest, t = [] while (e) t.push(e), (e = e.next) return t }), (function () { try { Object.defineProperty(b.prototype, "buffer", { get: u.deprecate( function () { return this.getBuffer() }, "_writableState.buffer is deprecated. Use _writableState.getBuffer instead.", "DEP0003" ) }) } catch (e) {} })(), "function" === typeof Symbol && Symbol.hasInstance && "function" === typeof Function.prototype[Symbol.hasInstance] ? ((g = Function.prototype[Symbol.hasInstance]), Object.defineProperty(w, Symbol.hasInstance, { value: function (e) { return !!g.call(this, e) || (this === w && e && e._writableState instanceof b) } })) : (g = function (e) { return e instanceof this }), (w.prototype.pipe = function () { this.emit("error", new Error("Cannot pipe, not readable")) }), (w.prototype.write = function (e, t, r) { var n = this._writableState, i = !1, o = !n.objectMode && m(e) return ( o && !p.isBuffer(e) && (e = h(e)), "function" === typeof t && ((r = t), (t = null)), o ? (t = "buffer") : t || (t = n.defaultEncoding), "function" !== typeof r && (r = v), n.ended ? x(this, r) : (o || A(this, n, e, r)) && (n.pendingcb++, (i = T(this, n, o, e, t, r))), i ) }), (w.prototype.cork = function () { var e = this._writableState e.corked++ }), (w.prototype.uncork = function () { var e = this._writableState e.corked && (e.corked--, e.writing || e.corked || e.finished || e.bufferProcessing || !e.bufferedRequest || O(this, e)) }), (w.prototype.setDefaultEncoding = function (e) { if ( ("string" === typeof e && (e = e.toLowerCase()), !( ["hex", "utf8", "utf-8", "ascii", "binary", "base64", "ucs2", "ucs-2", "utf16le", "utf-16le", "raw"].indexOf( (e + "").toLowerCase() ) > -1 )) ) throw new TypeError("Unknown encoding: " + e) return (this._writableState.defaultEncoding = e), this }), Object.defineProperty(w.prototype, "writableHighWaterMark", { enumerable: !1, get: function () { return this._writableState.highWaterMark } }), (w.prototype._write = function (e, t, r) { r(new Error("_write() is not implemented")) }), (w.prototype._writev = null), (w.prototype.end = function (e, t, r) { var n = this._writableState "function" === typeof e ? ((r = e), (e = null), (t = null)) : "function" === typeof t && ((r = t), (t = null)), null !== e && void 0 !== e && this.write(e, t), n.corked && ((n.corked = 1), this.uncork()), n.ending || n.finished || M(this, n, r) }), Object.defineProperty(w.prototype, "destroyed", { get: function () { return void 0 !== this._writableState && this._writableState.destroyed }, set: function (e) { this._writableState && (this._writableState.destroyed = e) } }), (w.prototype.destroy = y.destroy), (w.prototype._undestroy = y.undestroy), (w.prototype._destroy = function (e, t) { this.end(), t(e) }) }).call( this, e("_process"), "undefined" !== typeof global ? global : "undefined" !== typeof self ? self : "undefined" !== typeof window ? window : {}, e("timers").setImmediate ) }, { "./_stream_duplex": 324, "./internal/streams/destroy": 330, "./internal/streams/stream": 331, _process: 392, "core-util-is": 293, inherits: 306, "process-nextick-args": 317, "safe-buffer": 337, timers: 341, "util-deprecate": 342 } ], 329: [ function (e, t, r) { "use strict" function n(e, t) { if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function") } var i = e("safe-buffer").Buffer, o = e("util") function a(e, t, r) { e.copy(t, r) } ;(t.exports = (function () { function e() { n(this, e), (this.head = null), (this.tail = null), (this.length = 0) } return ( (e.prototype.push = function (e) { var t = { data: e, next: null } this.length > 0 ? (this.tail.next = t) : (this.head = t), (this.tail = t), ++this.length }), (e.prototype.unshift = function (e) { var t = { data: e, next: this.head } 0 === this.length && (this.tail = t), (this.head = t), ++this.length }), (e.prototype.shift = function () { if (0 !== this.length) { var e = this.head.data return 1 === this.length ? (this.head = this.tail = null) : (this.head = this.head.next), --this.length, e } }), (e.prototype.clear = function () { ;(this.head = this.tail = null), (this.length = 0) }), (e.prototype.join = function (e) { if (0 === this.length) return "" var t = this.head, r = "" + t.data while ((t = t.next)) r += e + t.data return r }), (e.prototype.concat = function (e) { if (0 === this.length) return i.alloc(0) if (1 === this.length) return this.head.data var t = i.allocUnsafe(e >>> 0), r = this.head, n = 0 while (r) a(r.data, t, n), (n += r.data.length), (r = r.next) return t }), e ) })()), o && o.inspect && o.inspect.custom && (t.exports.prototype[o.inspect.custom] = function () { var e = o.inspect({ length: this.length }) return this.constructor.name + " " + e }) }, { "safe-buffer": 337, util: 79 } ], 330: [ function (e, t, r) { "use strict" var n = e("process-nextick-args") function i(e, t) { var r = this, i = this._readableState && this._readableState.destroyed, o = this._writableState && this._writableState.destroyed return i || o ? (t ? t(e) : !e || (this._writableState && this._writableState.errorEmitted) || n.nextTick(a, this, e), this) : (this._readableState && (this._readableState.destroyed = !0), this._writableState && (this._writableState.destroyed = !0), this._destroy(e || null, function (e) { !t && e ? (n.nextTick(a, r, e), r._writableState && (r._writableState.errorEmitted = !0)) : t && t(e) }), this) } function o() { this._readableState && ((this._readableState.destroyed = !1), (this._readableState.reading = !1), (this._readableState.ended = !1), (this._readableState.endEmitted = !1)), this._writableState && ((this._writableState.destroyed = !1), (this._writableState.ended = !1), (this._writableState.ending = !1), (this._writableState.finished = !1), (this._writableState.errorEmitted = !1)) } function a(e, t) { e.emit("error", t) } t.exports = { destroy: i, undestroy: o } }, { "process-nextick-args": 317 } ], 331: [ function (e, t, r) { arguments[4][97][0].apply(r, arguments) }, { dup: 97, events: 296 } ], 332: [ function (e, t, r) { t.exports = e("./readable").PassThrough }, { "./readable": 333 } ], 333: [ function (e, t, r) { ;(r = t.exports = e("./lib/_stream_readable.js")), (r.Stream = r), (r.Readable = r), (r.Writable = e("./lib/_stream_writable.js")), (r.Duplex = e("./lib/_stream_duplex.js")), (r.Transform = e("./lib/_stream_transform.js")), (r.PassThrough = e("./lib/_stream_passthrough.js")) }, { "./lib/_stream_duplex.js": 324, "./lib/_stream_passthrough.js": 325, "./lib/_stream_readable.js": 326, "./lib/_stream_transform.js": 327, "./lib/_stream_writable.js": 328 } ], 334: [ function (e, t, r) { t.exports = e("./readable").Transform }, { "./readable": 333 } ], 335: [ function (e, t, r) { t.exports = e("./lib/_stream_writable.js") }, { "./lib/_stream_writable.js": 328 } ], 336: [ function (e, t, r) { !(function (e) { "use strict" var r, n = Object.prototype, i = n.hasOwnProperty, o = "function" === typeof Symbol ? Symbol : {}, a = o.iterator || "@@iterator", s = o.asyncIterator || "@@asyncIterator", l = o.toStringTag || "@@toStringTag", c = "object" === typeof t, u = e.regeneratorRuntime if (u) c && (t.exports = u) else { ;(u = e.regeneratorRuntime = c ? t.exports : {}), (u.wrap = w) var f = "suspendedStart", p = "suspendedYield", d = "executing", h = "completed", m = {}, g = {} g[a] = function () { return this } var y = Object.getPrototypeOf, v = y && y(y(j([]))) v && v !== n && i.call(v, a) && (g = v) var b = (T.prototype = A.prototype = Object.create(g)) ;(_.prototype = b.constructor = T), (T.constructor = _), (T[l] = _.displayName = "GeneratorFunction"), (u.isGeneratorFunction = function (e) { var t = "function" === typeof e && e.constructor return !!t && (t === _ || "GeneratorFunction" === (t.displayName || t.name)) }), (u.mark = function (e) { return ( Object.setPrototypeOf ? Object.setPrototypeOf(e, T) : ((e.__proto__ = T), l in e || (e[l] = "GeneratorFunction")), (e.prototype = Object.create(b)), e ) }), (u.awrap = function (e) { return { __await: e } }), E(S.prototype), (S.prototype[s] = function () { return this }), (u.AsyncIterator = S), (u.async = function (e, t, r, n) { var i = new S(w(e, t, r, n)) return u.isGeneratorFunction(t) ? i : i.next().then(function (e) { return e.done ? e.value : i.next() }) }), E(b), (b[l] = "Generator"), (b[a] = function () { return this }), (b.toString = function () { return "[object Generator]" }), (u.keys = function (e) { var t = [] for (var r in e) t.push(r) return ( t.reverse(), function r() { while (t.length) { var n = t.pop() if (n in e) return (r.value = n), (r.done = !1), r } return (r.done = !0), r } ) }), (u.values = j), (O.prototype = { constructor: O, reset: function (e) { if ( ((this.prev = 0), (this.next = 0), (this.sent = this._sent = r), (this.done = !1), (this.delegate = null), (this.method = "next"), (this.arg = r), this.tryEntries.forEach(P), !e) ) for (var t in this) "t" === t.charAt(0) && i.call(this, t) && !isNaN(+t.slice(1)) && (this[t] = r) }, stop: function () { this.done = !0 var e = this.tryEntries[0], t = e.completion if ("throw" === t.type) throw t.arg return this.rval }, dispatchException: function (e) { if (this.done) throw e var t = this function n(n, i) { return (s.type = "throw"), (s.arg = e), (t.next = n), i && ((t.method = "next"), (t.arg = r)), !!i } for (var o = this.tryEntries.length - 1; o >= 0; --o) { var a = this.tryEntries[o], s = a.completion if ("root" === a.tryLoc) return n("end") if (a.tryLoc <= this.prev) { var l = i.call(a, "catchLoc"), c = i.call(a, "finallyLoc") if (l && c) { if (this.prev < a.catchLoc) return n(a.catchLoc, !0) if (this.prev < a.finallyLoc) return n(a.finallyLoc) } else if (l) { if (this.prev < a.catchLoc) return n(a.catchLoc, !0) } else { if (!c) throw new Error("try statement without catch or finally") if (this.prev < a.finallyLoc) return n(a.finallyLoc) } } } }, abrupt: function (e, t) { for (var r = this.tryEntries.length - 1; r >= 0; --r) { var n = this.tryEntries[r] if (n.tryLoc <= this.prev && i.call(n, "finallyLoc") && this.prev < n.finallyLoc) { var o = n break } } o && ("break" === e || "continue" === e) && o.tryLoc <= t && t <= o.finallyLoc && (o = null) var a = o ? o.completion : {} return ( (a.type = e), (a.arg = t), o ? ((this.method = "next"), (this.next = o.finallyLoc), m) : this.complete(a) ) }, complete: function (e, t) { if ("throw" === e.type) throw e.arg return ( "break" === e.type || "continue" === e.type ? (this.next = e.arg) : "return" === e.type ? ((this.rval = this.arg = e.arg), (this.method = "return"), (this.next = "end")) : "normal" === e.type && t && (this.next = t), m ) }, finish: function (e) { for (var t = this.tryEntries.length - 1; t >= 0; --t) { var r = this.tryEntries[t] if (r.finallyLoc === e) return this.complete(r.completion, r.afterLoc), P(r), m } }, catch: function (e) { for (var t = this.tryEntries.length - 1; t >= 0; --t) { var r = this.tryEntries[t] if (r.tryLoc === e) { var n = r.completion if ("throw" === n.type) { var i = n.arg P(r) } return i } } throw new Error("illegal catch attempt") }, delegateYield: function (e, t, n) { return ( (this.delegate = { iterator: j(e), resultName: t, nextLoc: n }), "next" === this.method && (this.arg = r), m ) } }) } function w(e, t, r, n) { var i = t && t.prototype instanceof A ? t : A, o = Object.create(i.prototype), a = new O(n || []) return (o._invoke = C(e, r, a)), o } function x(e, t, r) { try { return { type: "normal", arg: e.call(t, r) } } catch (n) { return { type: "throw", arg: n } } } function A() {} function _() {} function T() {} function E(e) { ;["next", "throw", "return"].forEach(function (t) { e[t] = function (e) { return this._invoke(t, e) } }) } function S(e) { function t(r, n, o, a) { var s = x(e[r], e, n) if ("throw" !== s.type) { var l = s.arg, c = l.value return c && "object" === typeof c && i.call(c, "__await") ? Promise.resolve(c.__await).then( function (e) { t("next", e, o, a) }, function (e) { t("throw", e, o, a) } ) : Promise.resolve(c).then(function (e) { ;(l.value = e), o(l) }, a) } a(s.arg) } var r function n(e, n) { function i() { return new Promise(function (r, i) { t(e, n, r, i) }) } return (r = r ? r.then(i, i) : i()) } this._invoke = n } function C(e, t, r) { var n = f return function (i, o) { if (n === d) throw new Error("Generator is already running") if (n === h) { if ("throw" === i) throw o return R() } ;(r.method = i), (r.arg = o) while (1) { var a = r.delegate if (a) { var s = k(a, r) if (s) { if (s === m) continue return s } } if ("next" === r.method) r.sent = r._sent = r.arg else if ("throw" === r.method) { if (n === f) throw ((n = h), r.arg) r.dispatchException(r.arg) } else "return" === r.method && r.abrupt("return", r.arg) n = d var l = x(e, t, r) if ("normal" === l.type) { if (((n = r.done ? h : p), l.arg === m)) continue return { value: l.arg, done: r.done } } "throw" === l.type && ((n = h), (r.method = "throw"), (r.arg = l.arg)) } } } function k(e, t) { var n = e.iterator[t.method] if (n === r) { if (((t.delegate = null), "throw" === t.method)) { if (e.iterator.return && ((t.method = "return"), (t.arg = r), k(e, t), "throw" === t.method)) return m ;(t.method = "throw"), (t.arg = new TypeError("The iterator does not provide a 'throw' method")) } return m } var i = x(n, e.iterator, t.arg) if ("throw" === i.type) return (t.method = "throw"), (t.arg = i.arg), (t.delegate = null), m var o = i.arg return o ? o.done ? ((t[e.resultName] = o.value), (t.next = e.nextLoc), "return" !== t.method && ((t.method = "next"), (t.arg = r)), (t.delegate = null), m) : o : ((t.method = "throw"), (t.arg = new TypeError("iterator result is not an object")), (t.delegate = null), m) } function L(e) { var t = { tryLoc: e[0] } 1 in e && (t.catchLoc = e[1]), 2 in e && ((t.finallyLoc = e[2]), (t.afterLoc = e[3])), this.tryEntries.push(t) } function P(e) { var t = e.completion || {} ;(t.type = "normal"), delete t.arg, (e.completion = t) } function O(e) { ;(this.tryEntries = [ { tryLoc: "root" } ]), e.forEach(L, this), this.reset(!0) } function j(e) { if (e) { var t = e[a] if (t) return t.call(e) if ("function" === typeof e.next) return e if (!isNaN(e.length)) { var n = -1, o = function t() { while (++n < e.length) if (i.call(e, n)) return (t.value = e[n]), (t.done = !1), t return (t.value = r), (t.done = !0), t } return (o.next = o) } } return { next: R } } function R() { return { value: r, done: !0 } } })( (function () { return this })() || Function("return this")() ) }, {} ], 337: [ function (e, t, r) { var n = e("buffer"), i = n.Buffer function o(e, t) { for (var r in e) t[r] = e[r] } function a(e, t, r) { return i(e, t, r) } i.from && i.alloc && i.allocUnsafe && i.allocUnsafeSlow ? (t.exports = n) : (o(n, r), (r.Buffer = a)), o(i, a), (a.from = function (e, t, r) { if ("number" === typeof e) throw new TypeError("Argument must not be a number") return i(e, t, r) }), (a.alloc = function (e, t, r) { if ("number" !== typeof e) throw new TypeError("Argument must be a number") var n = i(e) return void 0 !== t ? ("string" === typeof r ? n.fill(t, r) : n.fill(t)) : n.fill(0), n }), (a.allocUnsafe = function (e) { if ("number" !== typeof e) throw new TypeError("Argument must be a number") return i(e) }), (a.allocUnsafeSlow = function (e) { if ("number" !== typeof e) throw new TypeError("Argument must be a number") return n.SlowBuffer(e) }) }, { buffer: 99 } ], 338: [ function (e, t, r) { ;(function (t) { ;(function (r) { ;(r.parser = function (e, t) { return new o(e, t) }), (r.SAXParser = o), (r.SAXStream = f), (r.createStream = u), (r.MAX_BUFFER_LENGTH = 65536) var n, i = [ "comment", "sgmlDecl", "textNode", "tagName", "doctype", "procInstName", "procInstBody", "entity", "attribName", "attribValue", "cdata", "script" ] function o(e, t) { if (!(this instanceof o)) return new o(e, t) var n = this s(n), (n.q = n.c = ""), (n.bufferCheckPosition = r.MAX_BUFFER_LENGTH), (n.opt = t || {}), (n.opt.lowercase = n.opt.lowercase || n.opt.lowercasetags), (n.looseCase = n.opt.lowercase ? "toLowerCase" : "toUpperCase"), (n.tags = []), (n.closed = n.closedRoot = n.sawRoot = !1), (n.tag = n.error = null), (n.strict = !!e), (n.noscript = !(!e && !n.opt.noscript)), (n.state = S.BEGIN), (n.strictEntities = n.opt.strictEntities), (n.ENTITIES = n.strictEntities ? Object.create(r.XML_ENTITIES) : Object.create(r.ENTITIES)), (n.attribList = []), n.opt.xmlns && (n.ns = Object.create(g)), (n.trackPosition = !1 !== n.opt.position), n.trackPosition && (n.position = n.line = n.column = 0), k(n, "onready") } function a(e) { for (var t = Math.max(r.MAX_BUFFER_LENGTH, 10), n = 0, o = 0, a = i.length; o < a; o++) { var s = e[i[o]].length if (s > t) switch (i[o]) { case "textNode": P(e) break case "cdata": L(e, "oncdata", e.cdata), (e.cdata = "") break case "script": L(e, "onscript", e.script), (e.script = "") break default: j(e, "Max buffer length exceeded: " + i[o]) } n = Math.max(n, s) } var l = r.MAX_BUFFER_LENGTH - n e.bufferCheckPosition = l + e.position } function s(e) { for (var t = 0, r = i.length; t < r; t++) e[i[t]] = "" } function l(e) { P(e), "" !== e.cdata && (L(e, "oncdata", e.cdata), (e.cdata = "")), "" !== e.script && (L(e, "onscript", e.script), (e.script = "")) } ;(r.EVENTS = [ "text", "processinginstruction", "sgmldeclaration", "doctype", "comment", "opentagstart", "attribute", "opentag", "closetag", "opencdata", "cdata", "closecdata", "error", "end", "ready", "script", "opennamespace", "closenamespace" ]), Object.create || (Object.create = function (e) { function t() {} t.prototype = e var r = new t() return r }), Object.keys || (Object.keys = function (e) { var t = [] for (var r in e) e.hasOwnProperty(r) && t.push(r) return t }), (o.prototype = { end: function () { R(this) }, write: G, resume: function () { return (this.error = null), this }, close: function () { return this.write(null) }, flush: function () { l(this) } }) try { n = e("stream").Stream } catch (W) { n = function () {} } var c = r.EVENTS.filter(function (e) { return "error" !== e && "end" !== e }) function u(e, t) { return new f(e, t) } function f(e, t) { if (!(this instanceof f)) return new f(e, t) n.apply(this), (this._parser = new o(e, t)), (this.writable = !0), (this.readable = !0) var r = this ;(this._parser.onend = function () { r.emit("end") }), (this._parser.onerror = function (e) { r.emit("error", e), (r._parser.error = null) }), (this._decoder = null), c.forEach(function (e) { Object.defineProperty(r, "on" + e, { get: function () { return r._parser["on" + e] }, set: function (t) { if (!t) return r.removeAllListeners(e), (r._parser["on" + e] = t), t r.on(e, t) }, enumerable: !0, configurable: !1 }) }) } ;(f.prototype = Object.create(n.prototype, { constructor: { value: f } })), (f.prototype.write = function (r) { if ("function" === typeof t && "function" === typeof t.isBuffer && t.isBuffer(r)) { if (!this._decoder) { var n = e("string_decoder").StringDecoder this._decoder = new n("utf8") } r = this._decoder.write(r) } return this._parser.write(r.toString()), this.emit("data", r), !0 }), (f.prototype.end = function (e) { return e && e.length && this.write(e), this._parser.end(), !0 }), (f.prototype.on = function (e, t) { var r = this return ( r._parser["on" + e] || -1 === c.indexOf(e) || (r._parser["on" + e] = function () { var t = 1 === arguments.length ? [arguments[0]] : Array.apply(null, arguments) t.splice(0, 0, e), r.emit.apply(r, t) }), n.prototype.on.call(r, e, t) ) }) var p = "[CDATA[", d = "DOCTYPE", h = "http://www.w3.org/XML/1998/namespace", m = "http://www.w3.org/2000/xmlns/", g = { xml: h, xmlns: m }, y = /[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/, v = /[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/, b = /[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/, w = /[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/ function x(e) { return " " === e || "\n" === e || "\r" === e || "\t" === e } function A(e) { return '"' === e || "'" === e } function _(e) { return ">" === e || x(e) } function T(e, t) { return e.test(t) } function E(e, t) { return !T(e, t) } var S = 0 for (var C in ((r.STATE = { BEGIN: S++, BEGIN_WHITESPACE: S++, TEXT: S++, TEXT_ENTITY: S++, OPEN_WAKA: S++, SGML_DECL: S++, SGML_DECL_QUOTED: S++, DOCTYPE: S++, DOCTYPE_QUOTED: S++, DOCTYPE_DTD: S++, DOCTYPE_DTD_QUOTED: S++, COMMENT_STARTING: S++, COMMENT: S++, COMMENT_ENDING: S++, COMMENT_ENDED: S++, CDATA: S++, CDATA_ENDING: S++, CDATA_ENDING_2: S++, PROC_INST: S++, PROC_INST_BODY: S++, PROC_INST_ENDING: S++, OPEN_TAG: S++, OPEN_TAG_SLASH: S++, ATTRIB: S++, ATTRIB_NAME: S++, ATTRIB_NAME_SAW_WHITE: S++, ATTRIB_VALUE: S++, ATTRIB_VALUE_QUOTED: S++, ATTRIB_VALUE_CLOSED: S++, ATTRIB_VALUE_UNQUOTED: S++, ATTRIB_VALUE_ENTITY_Q: S++, ATTRIB_VALUE_ENTITY_U: S++, CLOSE_TAG: S++, CLOSE_TAG_SAW_WHITE: S++, SCRIPT: S++, SCRIPT_ENDING: S++ }), (r.XML_ENTITIES = { amp: "&", gt: ">", lt: "<", quot: '"', apos: "'" }), (r.ENTITIES = { amp: "&", gt: ">", lt: "<", quot: '"', apos: "'", AElig: 198, Aacute: 193, Acirc: 194, Agrave: 192, Aring: 197, Atilde: 195, Auml: 196, Ccedil: 199, ETH: 208, Eacute: 201, Ecirc: 202, Egrave: 200, Euml: 203, Iacute: 205, Icirc: 206, Igrave: 204, Iuml: 207, Ntilde: 209, Oacute: 211, Ocirc: 212, Ograve: 210, Oslash: 216, Otilde: 213, Ouml: 214, THORN: 222, Uacute: 218, Ucirc: 219, Ugrave: 217, Uuml: 220, Yacute: 221, aacute: 225, acirc: 226, aelig: 230, agrave: 224, aring: 229, atilde: 227, auml: 228, ccedil: 231, eacute: 233, ecirc: 234, egrave: 232, eth: 240, euml: 235, iacute: 237, icirc: 238, igrave: 236, iuml: 239, ntilde: 241, oacute: 243, ocirc: 244, ograve: 242, oslash: 248, otilde: 245, ouml: 246, szlig: 223, thorn: 254, uacute: 250, ucirc: 251, ugrave: 249, uuml: 252, yacute: 253, yuml: 255, copy: 169, reg: 174, nbsp: 160, iexcl: 161, cent: 162, pound: 163, curren: 164, yen: 165, brvbar: 166, sect: 167, uml: 168, ordf: 170, laquo: 171, not: 172, shy: 173, macr: 175, deg: 176, plusmn: 177, sup1: 185, sup2: 178, sup3: 179, acute: 180, micro: 181, para: 182, middot: 183, cedil: 184, ordm: 186, raquo: 187, frac14: 188, frac12: 189, frac34: 190, iquest: 191, times: 215, divide: 247, OElig: 338, oelig: 339, Scaron: 352, scaron: 353, Yuml: 376, fnof: 402, circ: 710, tilde: 732, Alpha: 913, Beta: 914, Gamma: 915, Delta: 916, Epsilon: 917, Zeta: 918, Eta: 919, Theta: 920, Iota: 921, Kappa: 922, Lambda: 923, Mu: 924, Nu: 925, Xi: 926, Omicron: 927, Pi: 928, Rho: 929, Sigma: 931, Tau: 932, Upsilon: 933, Phi: 934, Chi: 935, Psi: 936, Omega: 937, alpha: 945, beta: 946, gamma: 947, delta: 948, epsilon: 949, zeta: 950, eta: 951, theta: 952, iota: 953, kappa: 954, lambda: 955, mu: 956, nu: 957, xi: 958, omicron: 959, pi: 960, rho: 961, sigmaf: 962, sigma: 963, tau: 964, upsilon: 965, phi: 966, chi: 967, psi: 968, omega: 969, thetasym: 977, upsih: 978, piv: 982, ensp: 8194, emsp: 8195, thinsp: 8201, zwnj: 8204, zwj: 8205, lrm: 8206, rlm: 8207, ndash: 8211, mdash: 8212, lsquo: 8216, rsquo: 8217, sbquo: 8218, ldquo: 8220, rdquo: 8221, bdquo: 8222, dagger: 8224, Dagger: 8225, bull: 8226, hellip: 8230, permil: 8240, prime: 8242, Prime: 8243, lsaquo: 8249, rsaquo: 8250, oline: 8254, frasl: 8260, euro: 8364, image: 8465, weierp: 8472, real: 8476, trade: 8482, alefsym: 8501, larr: 8592, uarr: 8593, rarr: 8594, darr: 8595, harr: 8596, crarr: 8629, lArr: 8656, uArr: 8657, rArr: 8658, dArr: 8659, hArr: 8660, forall: 8704, part: 8706, exist: 8707, empty: 8709, nabla: 8711, isin: 8712, notin: 8713, ni: 8715, prod: 8719, sum: 8721, minus: 8722, lowast: 8727, radic: 8730, prop: 8733, infin: 8734, ang: 8736, and: 8743, or: 8744, cap: 8745, cup: 8746, int: 8747, there4: 8756, sim: 8764, cong: 8773, asymp: 8776, ne: 8800, equiv: 8801, le: 8804, ge: 8805, sub: 8834, sup: 8835, nsub: 8836, sube: 8838, supe: 8839, oplus: 8853, otimes: 8855, perp: 8869, sdot: 8901, lceil: 8968, rceil: 8969, lfloor: 8970, rfloor: 8971, lang: 9001, rang: 9002, loz: 9674, spades: 9824, clubs: 9827, hearts: 9829, diams: 9830 }), Object.keys(r.ENTITIES).forEach(function (e) { var t = r.ENTITIES[e], n = "number" === typeof t ? String.fromCharCode(t) : t r.ENTITIES[e] = n }), r.STATE)) r.STATE[r.STATE[C]] = C function k(e, t, r) { e[t] && e[t](r) } function L(e, t, r) { e.textNode && P(e), k(e, t, r) } function P(e) { ;(e.textNode = O(e.opt, e.textNode)), e.textNode && k(e, "ontext", e.textNode), (e.textNode = "") } function O(e, t) { return e.trim && (t = t.trim()), e.normalize && (t = t.replace(/\s+/g, " ")), t } function j(e, t) { return ( P(e), e.trackPosition && (t += "\nLine: " + e.line + "\nColumn: " + e.column + "\nChar: " + e.c), (t = new Error(t)), (e.error = t), k(e, "onerror", t), e ) } function R(e) { return ( e.sawRoot && !e.closedRoot && I(e, "Unclosed root tag"), e.state !== S.BEGIN && e.state !== S.BEGIN_WHITESPACE && e.state !== S.TEXT && j(e, "Unexpected end"), P(e), (e.c = ""), (e.closed = !0), k(e, "onend"), o.call(e, e.strict, e.opt), e ) } function I(e, t) { if ("object" !== typeof e || !(e instanceof o)) throw new Error("bad call to strictFail") e.strict && j(e, t) } function N(e) { e.strict || (e.tagName = e.tagName[e.looseCase]()) var t = e.tags[e.tags.length - 1] || e, r = (e.tag = { name: e.tagName, attributes: {} }) e.opt.xmlns && (r.ns = t.ns), (e.attribList.length = 0), L(e, "onopentagstart", r) } function M(e, t) { var r = e.indexOf(":"), n = r < 0 ? ["", e] : e.split(":"), i = n[0], o = n[1] return ( t && "xmlns" === e && ((i = "xmlns"), (o = "")), { prefix: i, local: o } ) } function D(e) { if ( (e.strict || (e.attribName = e.attribName[e.looseCase]()), -1 !== e.attribList.indexOf(e.attribName) || e.tag.attributes.hasOwnProperty(e.attribName)) ) e.attribName = e.attribValue = "" else { if (e.opt.xmlns) { var t = M(e.attribName, !0), r = t.prefix, n = t.local if ("xmlns" === r) if ("xml" === n && e.attribValue !== h) I(e, "xml: prefix must be bound to " + h + "\nActual: " + e.attribValue) else if ("xmlns" === n && e.attribValue !== m) I(e, "xmlns: prefix must be bound to " + m + "\nActual: " + e.attribValue) else { var i = e.tag, o = e.tags[e.tags.length - 1] || e i.ns === o.ns && (i.ns = Object.create(o.ns)), (i.ns[n] = e.attribValue) } e.attribList.push([e.attribName, e.attribValue]) } else (e.tag.attributes[e.attribName] = e.attribValue), L(e, "onattribute", { name: e.attribName, value: e.attribValue }) e.attribName = e.attribValue = "" } } function B(e, t) { if (e.opt.xmlns) { var r = e.tag, n = M(e.tagName) ;(r.prefix = n.prefix), (r.local = n.local), (r.uri = r.ns[n.prefix] || ""), r.prefix && !r.uri && (I(e, "Unbound namespace prefix: " + JSON.stringify(e.tagName)), (r.uri = n.prefix)) var i = e.tags[e.tags.length - 1] || e r.ns && i.ns !== r.ns && Object.keys(r.ns).forEach(function (t) { L(e, "onopennamespace", { prefix: t, uri: r.ns[t] }) }) for (var o = 0, a = e.attribList.length; o < a; o++) { var s = e.attribList[o], l = s[0], c = s[1], u = M(l, !0), f = u.prefix, p = u.local, d = "" === f ? "" : r.ns[f] || "", h = { name: l, value: c, prefix: f, local: p, uri: d } f && "xmlns" !== f && !d && (I(e, "Unbound namespace prefix: " + JSON.stringify(f)), (h.uri = f)), (e.tag.attributes[l] = h), L(e, "onattribute", h) } e.attribList.length = 0 } ;(e.tag.isSelfClosing = !!t), (e.sawRoot = !0), e.tags.push(e.tag), L(e, "onopentag", e.tag), t || (e.noscript || "script" !== e.tagName.toLowerCase() ? (e.state = S.TEXT) : (e.state = S.SCRIPT), (e.tag = null), (e.tagName = "")), (e.attribName = e.attribValue = ""), (e.attribList.length = 0) } function F(e) { if (!e.tagName) return I(e, "Weird empty close tag."), (e.textNode += ">"), void (e.state = S.TEXT) if (e.script) { if ("script" !== e.tagName) return (e.script += "" + e.tagName + ">"), (e.tagName = ""), void (e.state = S.SCRIPT) L(e, "onscript", e.script), (e.script = "") } var t = e.tags.length, r = e.tagName e.strict || (r = r[e.looseCase]()) var n = r while (t--) { var i = e.tags[t] if (i.name === n) break I(e, "Unexpected close tag") } if (t < 0) return ( I(e, "Unmatched closing tag: " + e.tagName), (e.textNode += "" + e.tagName + ">"), void (e.state = S.TEXT) ) e.tagName = r var o = e.tags.length while (o-- > t) { var a = (e.tag = e.tags.pop()) ;(e.tagName = e.tag.name), L(e, "onclosetag", e.tagName) var s = {} for (var l in a.ns) s[l] = a.ns[l] var c = e.tags[e.tags.length - 1] || e e.opt.xmlns && a.ns !== c.ns && Object.keys(a.ns).forEach(function (t) { var r = a.ns[t] L(e, "onclosenamespace", { prefix: t, uri: r }) }) } 0 === t && (e.closedRoot = !0), (e.tagName = e.attribValue = e.attribName = ""), (e.attribList.length = 0), (e.state = S.TEXT) } function U(e) { var t, r = e.entity, n = r.toLowerCase(), i = "" return e.ENTITIES[r] ? e.ENTITIES[r] : e.ENTITIES[n] ? e.ENTITIES[n] : ((r = n), "#" === r.charAt(0) && ("x" === r.charAt(1) ? ((r = r.slice(2)), (t = parseInt(r, 16)), (i = t.toString(16))) : ((r = r.slice(1)), (t = parseInt(r, 10)), (i = t.toString(10)))), (r = r.replace(/^0+/, "")), isNaN(t) || i.toLowerCase() !== r ? (I(e, "Invalid character entity"), "&" + e.entity + ";") : String.fromCodePoint(t)) } function z(e, t) { "<" === t ? ((e.state = S.OPEN_WAKA), (e.startTagPosition = e.position)) : x(t) || (I(e, "Non-whitespace before first tag."), (e.textNode = t), (e.state = S.TEXT)) } function q(e, t) { var r = "" return t < e.length && (r = e.charAt(t)), r } function G(e) { var t = this if (this.error) throw this.error if (t.closed) return j(t, "Cannot write after close. Assign an onready handler.") if (null === e) return R(t) "object" === typeof e && (e = e.toString()) var r = 0, n = "" while (1) { if (((n = q(e, r++)), (t.c = n), !n)) break switch ((t.trackPosition && (t.position++, "\n" === n ? (t.line++, (t.column = 0)) : t.column++), t.state)) { case S.BEGIN: if (((t.state = S.BEGIN_WHITESPACE), "\ufeff" === n)) continue z(t, n) continue case S.BEGIN_WHITESPACE: z(t, n) continue case S.TEXT: if (t.sawRoot && !t.closedRoot) { var i = r - 1 while (n && "<" !== n && "&" !== n) (n = q(e, r++)), n && t.trackPosition && (t.position++, "\n" === n ? (t.line++, (t.column = 0)) : t.column++) t.textNode += e.substring(i, r - 1) } "<" !== n || (t.sawRoot && t.closedRoot && !t.strict) ? (x(n) || (t.sawRoot && !t.closedRoot) || I(t, "Text data outside of root node."), "&" === n ? (t.state = S.TEXT_ENTITY) : (t.textNode += n)) : ((t.state = S.OPEN_WAKA), (t.startTagPosition = t.position)) continue case S.SCRIPT: "<" === n ? (t.state = S.SCRIPT_ENDING) : (t.script += n) continue case S.SCRIPT_ENDING: "/" === n ? (t.state = S.CLOSE_TAG) : ((t.script += "<" + n), (t.state = S.SCRIPT)) continue case S.OPEN_WAKA: if ("!" === n) (t.state = S.SGML_DECL), (t.sgmlDecl = "") else if (x(n)); else if (T(y, n)) (t.state = S.OPEN_TAG), (t.tagName = n) else if ("/" === n) (t.state = S.CLOSE_TAG), (t.tagName = "") else if ("?" === n) (t.state = S.PROC_INST), (t.procInstName = t.procInstBody = "") else { if ((I(t, "Unencoded <"), t.startTagPosition + 1 < t.position)) { var o = t.position - t.startTagPosition n = new Array(o).join(" ") + n } ;(t.textNode += "<" + n), (t.state = S.TEXT) } continue case S.SGML_DECL: ;(t.sgmlDecl + n).toUpperCase() === p ? (L(t, "onopencdata"), (t.state = S.CDATA), (t.sgmlDecl = ""), (t.cdata = "")) : t.sgmlDecl + n === "--" ? ((t.state = S.COMMENT), (t.comment = ""), (t.sgmlDecl = "")) : (t.sgmlDecl + n).toUpperCase() === d ? ((t.state = S.DOCTYPE), (t.doctype || t.sawRoot) && I(t, "Inappropriately located doctype declaration"), (t.doctype = ""), (t.sgmlDecl = "")) : ">" === n ? (L(t, "onsgmldeclaration", t.sgmlDecl), (t.sgmlDecl = ""), (t.state = S.TEXT)) : A(n) ? ((t.state = S.SGML_DECL_QUOTED), (t.sgmlDecl += n)) : (t.sgmlDecl += n) continue case S.SGML_DECL_QUOTED: n === t.q && ((t.state = S.SGML_DECL), (t.q = "")), (t.sgmlDecl += n) continue case S.DOCTYPE: ">" === n ? ((t.state = S.TEXT), L(t, "ondoctype", t.doctype), (t.doctype = !0)) : ((t.doctype += n), "[" === n ? (t.state = S.DOCTYPE_DTD) : A(n) && ((t.state = S.DOCTYPE_QUOTED), (t.q = n))) continue case S.DOCTYPE_QUOTED: ;(t.doctype += n), n === t.q && ((t.q = ""), (t.state = S.DOCTYPE)) continue case S.DOCTYPE_DTD: ;(t.doctype += n), "]" === n ? (t.state = S.DOCTYPE) : A(n) && ((t.state = S.DOCTYPE_DTD_QUOTED), (t.q = n)) continue case S.DOCTYPE_DTD_QUOTED: ;(t.doctype += n), n === t.q && ((t.state = S.DOCTYPE_DTD), (t.q = "")) continue case S.COMMENT: "-" === n ? (t.state = S.COMMENT_ENDING) : (t.comment += n) continue case S.COMMENT_ENDING: "-" === n ? ((t.state = S.COMMENT_ENDED), (t.comment = O(t.opt, t.comment)), t.comment && L(t, "oncomment", t.comment), (t.comment = "")) : ((t.comment += "-" + n), (t.state = S.COMMENT)) continue case S.COMMENT_ENDED: ">" !== n ? (I(t, "Malformed comment"), (t.comment += "--" + n), (t.state = S.COMMENT)) : (t.state = S.TEXT) continue case S.CDATA: "]" === n ? (t.state = S.CDATA_ENDING) : (t.cdata += n) continue case S.CDATA_ENDING: "]" === n ? (t.state = S.CDATA_ENDING_2) : ((t.cdata += "]" + n), (t.state = S.CDATA)) continue case S.CDATA_ENDING_2: ">" === n ? (t.cdata && L(t, "oncdata", t.cdata), L(t, "onclosecdata"), (t.cdata = ""), (t.state = S.TEXT)) : "]" === n ? (t.cdata += "]") : ((t.cdata += "]]" + n), (t.state = S.CDATA)) continue case S.PROC_INST: "?" === n ? (t.state = S.PROC_INST_ENDING) : x(n) ? (t.state = S.PROC_INST_BODY) : (t.procInstName += n) continue case S.PROC_INST_BODY: if (!t.procInstBody && x(n)) continue "?" === n ? (t.state = S.PROC_INST_ENDING) : (t.procInstBody += n) continue case S.PROC_INST_ENDING: ">" === n ? (L(t, "onprocessinginstruction", { name: t.procInstName, body: t.procInstBody }), (t.procInstName = t.procInstBody = ""), (t.state = S.TEXT)) : ((t.procInstBody += "?" + n), (t.state = S.PROC_INST_BODY)) continue case S.OPEN_TAG: T(v, n) ? (t.tagName += n) : (N(t), ">" === n ? B(t) : "/" === n ? (t.state = S.OPEN_TAG_SLASH) : (x(n) || I(t, "Invalid character in tag name"), (t.state = S.ATTRIB))) continue case S.OPEN_TAG_SLASH: ">" === n ? (B(t, !0), F(t)) : (I(t, "Forward-slash in opening tag not followed by >"), (t.state = S.ATTRIB)) continue case S.ATTRIB: if (x(n)) continue ">" === n ? B(t) : "/" === n ? (t.state = S.OPEN_TAG_SLASH) : T(y, n) ? ((t.attribName = n), (t.attribValue = ""), (t.state = S.ATTRIB_NAME)) : I(t, "Invalid attribute name") continue case S.ATTRIB_NAME: "=" === n ? (t.state = S.ATTRIB_VALUE) : ">" === n ? (I(t, "Attribute without value"), (t.attribValue = t.attribName), D(t), B(t)) : x(n) ? (t.state = S.ATTRIB_NAME_SAW_WHITE) : T(v, n) ? (t.attribName += n) : I(t, "Invalid attribute name") continue case S.ATTRIB_NAME_SAW_WHITE: if ("=" === n) t.state = S.ATTRIB_VALUE else { if (x(n)) continue I(t, "Attribute without value"), (t.tag.attributes[t.attribName] = ""), (t.attribValue = ""), L(t, "onattribute", { name: t.attribName, value: "" }), (t.attribName = ""), ">" === n ? B(t) : T(y, n) ? ((t.attribName = n), (t.state = S.ATTRIB_NAME)) : (I(t, "Invalid attribute name"), (t.state = S.ATTRIB)) } continue case S.ATTRIB_VALUE: if (x(n)) continue A(n) ? ((t.q = n), (t.state = S.ATTRIB_VALUE_QUOTED)) : (I(t, "Unquoted attribute value"), (t.state = S.ATTRIB_VALUE_UNQUOTED), (t.attribValue = n)) continue case S.ATTRIB_VALUE_QUOTED: if (n !== t.q) { "&" === n ? (t.state = S.ATTRIB_VALUE_ENTITY_Q) : (t.attribValue += n) continue } D(t), (t.q = ""), (t.state = S.ATTRIB_VALUE_CLOSED) continue case S.ATTRIB_VALUE_CLOSED: x(n) ? (t.state = S.ATTRIB) : ">" === n ? B(t) : "/" === n ? (t.state = S.OPEN_TAG_SLASH) : T(y, n) ? (I(t, "No whitespace between attributes"), (t.attribName = n), (t.attribValue = ""), (t.state = S.ATTRIB_NAME)) : I(t, "Invalid attribute name") continue case S.ATTRIB_VALUE_UNQUOTED: if (!_(n)) { "&" === n ? (t.state = S.ATTRIB_VALUE_ENTITY_U) : (t.attribValue += n) continue } D(t), ">" === n ? B(t) : (t.state = S.ATTRIB) continue case S.CLOSE_TAG: if (t.tagName) ">" === n ? F(t) : T(v, n) ? (t.tagName += n) : t.script ? ((t.script += "" + t.tagName), (t.tagName = ""), (t.state = S.SCRIPT)) : (x(n) || I(t, "Invalid tagname in closing tag"), (t.state = S.CLOSE_TAG_SAW_WHITE)) else { if (x(n)) continue E(y, n) ? t.script ? ((t.script += "" + n), (t.state = S.SCRIPT)) : I(t, "Invalid tagname in closing tag.") : (t.tagName = n) } continue case S.CLOSE_TAG_SAW_WHITE: if (x(n)) continue ">" === n ? F(t) : I(t, "Invalid characters in closing tag") continue case S.TEXT_ENTITY: case S.ATTRIB_VALUE_ENTITY_Q: case S.ATTRIB_VALUE_ENTITY_U: var s, l switch (t.state) { case S.TEXT_ENTITY: ;(s = S.TEXT), (l = "textNode") break case S.ATTRIB_VALUE_ENTITY_Q: ;(s = S.ATTRIB_VALUE_QUOTED), (l = "attribValue") break case S.ATTRIB_VALUE_ENTITY_U: ;(s = S.ATTRIB_VALUE_UNQUOTED), (l = "attribValue") break } ";" === n ? ((t[l] += U(t)), (t.entity = ""), (t.state = s)) : T(t.entity.length ? w : b, n) ? (t.entity += n) : (I(t, "Invalid character in entity name"), (t[l] += "&" + t.entity + n), (t.entity = ""), (t.state = s)) continue default: throw new Error(t, "Unknown state: " + t.state) } } return t.position >= t.bufferCheckPosition && a(t), t } /*! http://mths.be/fromcodepoint v0.1.0 by @mathias */ ;(S = r.STATE), String.fromCodePoint || (function () { var e = String.fromCharCode, t = Math.floor, r = function () { var r, n, i = 16384, o = [], a = -1, s = arguments.length if (!s) return "" var l = "" while (++a < s) { var c = Number(arguments[a]) if (!isFinite(c) || c < 0 || c > 1114111 || t(c) !== c) throw RangeError("Invalid code point: " + c) c <= 65535 ? o.push(c) : ((c -= 65536), (r = 55296 + (c >> 10)), (n = (c % 1024) + 56320), o.push(r, n)), (a + 1 === s || o.length > i) && ((l += e.apply(null, o)), (o.length = 0)) } return l } Object.defineProperty ? Object.defineProperty(String, "fromCodePoint", { value: r, configurable: !0, writable: !0 }) : (String.fromCodePoint = r) })() })("undefined" === typeof r ? (this.sax = {}) : r) }).call(this, e("buffer").Buffer) }, { buffer: 99, stream: 339, string_decoder: 340 } ], 339: [ function (e, t, r) { t.exports = o var n = e("events").EventEmitter, i = e("inherits") function o() { n.call(this) } i(o, n), (o.Readable = e("readable-stream/readable.js")), (o.Writable = e("readable-stream/writable.js")), (o.Duplex = e("readable-stream/duplex.js")), (o.Transform = e("readable-stream/transform.js")), (o.PassThrough = e("readable-stream/passthrough.js")), (o.Stream = o), (o.prototype.pipe = function (e, t) { var r = this function i(t) { e.writable && !1 === e.write(t) && r.pause && r.pause() } function o() { r.readable && r.resume && r.resume() } r.on("data", i), e.on("drain", o), e._isStdio || (t && !1 === t.end) || (r.on("end", s), r.on("close", l)) var a = !1 function s() { a || ((a = !0), e.end()) } function l() { a || ((a = !0), "function" === typeof e.destroy && e.destroy()) } function c(e) { if ((u(), 0 === n.listenerCount(this, "error"))) throw e } function u() { r.removeListener("data", i), e.removeListener("drain", o), r.removeListener("end", s), r.removeListener("close", l), r.removeListener("error", c), e.removeListener("error", c), r.removeListener("end", u), r.removeListener("close", u), e.removeListener("close", u) } return r.on("error", c), e.on("error", c), r.on("end", u), r.on("close", u), e.on("close", u), e.emit("pipe", r), e }) }, { events: 296, inherits: 306, "readable-stream/duplex.js": 323, "readable-stream/passthrough.js": 332, "readable-stream/readable.js": 333, "readable-stream/transform.js": 334, "readable-stream/writable.js": 335 } ], 340: [ function (e, t, r) { "use strict" var n = e("safe-buffer").Buffer, i = n.isEncoding || function (e) { switch (((e = "" + e), e && e.toLowerCase())) { case "hex": case "utf8": case "utf-8": case "ascii": case "binary": case "base64": case "ucs2": case "ucs-2": case "utf16le": case "utf-16le": case "raw": return !0 default: return !1 } } function o(e) { if (!e) return "utf8" var t while (1) switch (e) { case "utf8": case "utf-8": return "utf8" case "ucs2": case "ucs-2": case "utf16le": case "utf-16le": return "utf16le" case "latin1": case "binary": return "latin1" case "base64": case "ascii": case "hex": return e default: if (t) return ;(e = ("" + e).toLowerCase()), (t = !0) } } function a(e) { var t = o(e) if ("string" !== typeof t && (n.isEncoding === i || !i(e))) throw new Error("Unknown encoding: " + e) return t || e } function s(e) { var t switch (((this.encoding = a(e)), this.encoding)) { case "utf16le": ;(this.text = h), (this.end = m), (t = 4) break case "utf8": ;(this.fillLast = f), (t = 4) break case "base64": ;(this.text = g), (this.end = y), (t = 3) break default: return (this.write = v), void (this.end = b) } ;(this.lastNeed = 0), (this.lastTotal = 0), (this.lastChar = n.allocUnsafe(t)) } function l(e) { return e <= 127 ? 0 : e >> 5 === 6 ? 2 : e >> 4 === 14 ? 3 : e >> 3 === 30 ? 4 : e >> 6 === 2 ? -1 : -2 } function c(e, t, r) { var n = t.length - 1 if (n < r) return 0 var i = l(t[n]) return i >= 0 ? (i > 0 && (e.lastNeed = i - 1), i) : --n < r || -2 === i ? 0 : ((i = l(t[n])), i >= 0 ? (i > 0 && (e.lastNeed = i - 2), i) : --n < r || -2 === i ? 0 : ((i = l(t[n])), i >= 0 ? (i > 0 && (2 === i ? (i = 0) : (e.lastNeed = i - 3)), i) : 0)) } function u(e, t, r) { if (128 !== (192 & t[0])) return (e.lastNeed = 0), "�" if (e.lastNeed > 1 && t.length > 1) { if (128 !== (192 & t[1])) return (e.lastNeed = 1), "�" if (e.lastNeed > 2 && t.length > 2 && 128 !== (192 & t[2])) return (e.lastNeed = 2), "�" } } function f(e) { var t = this.lastTotal - this.lastNeed, r = u(this, e, t) return void 0 !== r ? r : this.lastNeed <= e.length ? (e.copy(this.lastChar, t, 0, this.lastNeed), this.lastChar.toString(this.encoding, 0, this.lastTotal)) : (e.copy(this.lastChar, t, 0, e.length), void (this.lastNeed -= e.length)) } function p(e, t) { var r = c(this, e, t) if (!this.lastNeed) return e.toString("utf8", t) this.lastTotal = r var n = e.length - (r - this.lastNeed) return e.copy(this.lastChar, 0, n), e.toString("utf8", t, n) } function d(e) { var t = e && e.length ? this.write(e) : "" return this.lastNeed ? t + "�" : t } function h(e, t) { if ((e.length - t) % 2 === 0) { var r = e.toString("utf16le", t) if (r) { var n = r.charCodeAt(r.length - 1) if (n >= 55296 && n <= 56319) return ( (this.lastNeed = 2), (this.lastTotal = 4), (this.lastChar[0] = e[e.length - 2]), (this.lastChar[1] = e[e.length - 1]), r.slice(0, -1) ) } return r } return ( (this.lastNeed = 1), (this.lastTotal = 2), (this.lastChar[0] = e[e.length - 1]), e.toString("utf16le", t, e.length - 1) ) } function m(e) { var t = e && e.length ? this.write(e) : "" if (this.lastNeed) { var r = this.lastTotal - this.lastNeed return t + this.lastChar.toString("utf16le", 0, r) } return t } function g(e, t) { var r = (e.length - t) % 3 return 0 === r ? e.toString("base64", t) : ((this.lastNeed = 3 - r), (this.lastTotal = 3), 1 === r ? (this.lastChar[0] = e[e.length - 1]) : ((this.lastChar[0] = e[e.length - 2]), (this.lastChar[1] = e[e.length - 1])), e.toString("base64", t, e.length - r)) } function y(e) { var t = e && e.length ? this.write(e) : "" return this.lastNeed ? t + this.lastChar.toString("base64", 0, 3 - this.lastNeed) : t } function v(e) { return e.toString(this.encoding) } function b(e) { return e && e.length ? this.write(e) : "" } ;(r.StringDecoder = s), (s.prototype.write = function (e) { if (0 === e.length) return "" var t, r if (this.lastNeed) { if (((t = this.fillLast(e)), void 0 === t)) return "" ;(r = this.lastNeed), (this.lastNeed = 0) } else r = 0 return r < e.length ? (t ? t + this.text(e, r) : this.text(e, r)) : t || "" }), (s.prototype.end = d), (s.prototype.text = p), (s.prototype.fillLast = function (e) { if (this.lastNeed <= e.length) return ( e.copy(this.lastChar, this.lastTotal - this.lastNeed, 0, this.lastNeed), this.lastChar.toString(this.encoding, 0, this.lastTotal) ) e.copy(this.lastChar, this.lastTotal - this.lastNeed, 0, e.length), (this.lastNeed -= e.length) }) }, { "safe-buffer": 337 } ], 341: [ function (e, t, r) { ;(function (t, n) { var i = e("process/browser.js").nextTick, o = Function.prototype.apply, a = Array.prototype.slice, s = {}, l = 0 function c(e, t) { ;(this._id = e), (this._clearFn = t) } ;(r.setTimeout = function () { return new c(o.call(setTimeout, window, arguments), clearTimeout) }), (r.setInterval = function () { return new c(o.call(setInterval, window, arguments), clearInterval) }), (r.clearTimeout = r.clearInterval = function (e) { e.close() }), (c.prototype.unref = c.prototype.ref = function () {}), (c.prototype.close = function () { this._clearFn.call(window, this._id) }), (r.enroll = function (e, t) { clearTimeout(e._idleTimeoutId), (e._idleTimeout = t) }), (r.unenroll = function (e) { clearTimeout(e._idleTimeoutId), (e._idleTimeout = -1) }), (r._unrefActive = r.active = function (e) { clearTimeout(e._idleTimeoutId) var t = e._idleTimeout t >= 0 && (e._idleTimeoutId = setTimeout(function () { e._onTimeout && e._onTimeout() }, t)) }), (r.setImmediate = "function" === typeof t ? t : function (e) { var t = l++, n = !(arguments.length < 2) && a.call(arguments, 1) return ( (s[t] = !0), i(function () { s[t] && (n ? e.apply(null, n) : e.call(null), r.clearImmediate(t)) }), t ) }), (r.clearImmediate = "function" === typeof n ? n : function (e) { delete s[e] }) }).call(this, e("timers").setImmediate, e("timers").clearImmediate) }, { "process/browser.js": 318, timers: 341 } ], 342: [ function (e, t, r) { ;(function (e) { function r(e, t) { if (n("noDeprecation")) return e var r = !1 function i() { if (!r) { if (n("throwDeprecation")) throw new Error(t) n("traceDeprecation") ? console.trace(t) : console.warn(t), (r = !0) } return e.apply(this, arguments) } return i } function n(t) { try { if (!e.localStorage) return !1 } catch (n) { return !1 } var r = e.localStorage[t] return null != r && "true" === String(r).toLowerCase() } t.exports = r }).call( this, "undefined" !== typeof global ? global : "undefined" !== typeof self ? self : "undefined" !== typeof window ? window : {} ) }, {} ], 343: [ function (e, t, r) { "function" === typeof Object.create ? (t.exports = function (e, t) { ;(e.super_ = t), (e.prototype = Object.create(t.prototype, { constructor: { value: e, enumerable: !1, writable: !0, configurable: !0 } })) }) : (t.exports = function (e, t) { e.super_ = t var r = function () {} ;(r.prototype = t.prototype), (e.prototype = new r()), (e.prototype.constructor = e) }) }, {} ], 344: [ function (e, t, r) { t.exports = function (e) { return ( e && "object" === typeof e && "function" === typeof e.copy && "function" === typeof e.fill && "function" === typeof e.readUInt8 ) } }, {} ], 345: [ function (e, t, r) { ;(function (t, n) { var i = /%[sdj%]/g ;(r.format = function (e) { if (!A(e)) { for (var t = [], r = 0; r < arguments.length; r++) t.push(s(arguments[r])) return t.join(" ") } r = 1 for ( var n = arguments, o = n.length, a = String(e).replace(i, function (e) { if ("%%" === e) return "%" if (r >= o) return e switch (e) { case "%s": return String(n[r++]) case "%d": return Number(n[r++]) case "%j": try { return JSON.stringify(n[r++]) } catch (t) { return "[Circular]" } default: return e } }), l = n[r]; r < o; l = n[++r] ) b(l) || !S(l) ? (a += " " + l) : (a += " " + s(l)) return a }), (r.deprecate = function (e, i) { if (T(n.process)) return function () { return r.deprecate(e, i).apply(this, arguments) } if (!0 === t.noDeprecation) return e var o = !1 function a() { if (!o) { if (t.throwDeprecation) throw new Error(i) t.traceDeprecation ? console.trace(i) : console.error(i), (o = !0) } return e.apply(this, arguments) } return a }) var o, a = {} function s(e, t) { var n = { seen: [], stylize: c } return ( arguments.length >= 3 && (n.depth = arguments[2]), arguments.length >= 4 && (n.colors = arguments[3]), v(t) ? (n.showHidden = t) : t && r._extend(n, t), T(n.showHidden) && (n.showHidden = !1), T(n.depth) && (n.depth = 2), T(n.colors) && (n.colors = !1), T(n.customInspect) && (n.customInspect = !0), n.colors && (n.stylize = l), f(n, e, n.depth) ) } function l(e, t) { var r = s.styles[t] return r ? "[" + s.colors[r][0] + "m" + e + "[" + s.colors[r][1] + "m" : e } function c(e, t) { return e } function u(e) { var t = {} return ( e.forEach(function (e, r) { t[e] = !0 }), t ) } function f(e, t, n) { if ( e.customInspect && t && L(t.inspect) && t.inspect !== r.inspect && (!t.constructor || t.constructor.prototype !== t) ) { var i = t.inspect(n, e) return A(i) || (i = f(e, i, n)), i } var o = p(e, t) if (o) return o var a = Object.keys(t), s = u(a) if ( (e.showHidden && (a = Object.getOwnPropertyNames(t)), k(t) && (a.indexOf("message") >= 0 || a.indexOf("description") >= 0)) ) return d(t) if (0 === a.length) { if (L(t)) { var l = t.name ? ": " + t.name : "" return e.stylize("[Function" + l + "]", "special") } if (E(t)) return e.stylize(RegExp.prototype.toString.call(t), "regexp") if (C(t)) return e.stylize(Date.prototype.toString.call(t), "date") if (k(t)) return d(t) } var c, v = "", b = !1, w = ["{", "}"] if ((y(t) && ((b = !0), (w = ["[", "]"])), L(t))) { var x = t.name ? ": " + t.name : "" v = " [Function" + x + "]" } return ( E(t) && (v = " " + RegExp.prototype.toString.call(t)), C(t) && (v = " " + Date.prototype.toUTCString.call(t)), k(t) && (v = " " + d(t)), 0 !== a.length || (b && 0 != t.length) ? n < 0 ? E(t) ? e.stylize(RegExp.prototype.toString.call(t), "regexp") : e.stylize("[Object]", "special") : (e.seen.push(t), (c = b ? h(e, t, n, s, a) : a.map(function (r) { return m(e, t, n, s, r, b) })), e.seen.pop(), g(c, v, w)) : w[0] + v + w[1] ) } function p(e, t) { if (T(t)) return e.stylize("undefined", "undefined") if (A(t)) { var r = "'" + JSON.stringify(t).replace(/^"|"$/g, "").replace(/'/g, "\\'").replace(/\\"/g, '"') + "'" return e.stylize(r, "string") } return x(t) ? e.stylize("" + t, "number") : v(t) ? e.stylize("" + t, "boolean") : b(t) ? e.stylize("null", "null") : void 0 } function d(e) { return "[" + Error.prototype.toString.call(e) + "]" } function h(e, t, r, n, i) { for (var o = [], a = 0, s = t.length; a < s; ++a) N(t, String(a)) ? o.push(m(e, t, r, n, String(a), !0)) : o.push("") return ( i.forEach(function (i) { i.match(/^\d+$/) || o.push(m(e, t, r, n, i, !0)) }), o ) } function m(e, t, r, n, i, o) { var a, s, l if ( ((l = Object.getOwnPropertyDescriptor(t, i) || { value: t[i] }), l.get ? (s = l.set ? e.stylize("[Getter/Setter]", "special") : e.stylize("[Getter]", "special")) : l.set && (s = e.stylize("[Setter]", "special")), N(n, i) || (a = "[" + i + "]"), s || (e.seen.indexOf(l.value) < 0 ? ((s = b(r) ? f(e, l.value, null) : f(e, l.value, r - 1)), s.indexOf("\n") > -1 && (s = o ? s .split("\n") .map(function (e) { return " " + e }) .join("\n") .substr(2) : "\n" + s .split("\n") .map(function (e) { return " " + e }) .join("\n"))) : (s = e.stylize("[Circular]", "special"))), T(a)) ) { if (o && i.match(/^\d+$/)) return s ;(a = JSON.stringify("" + i)), a.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/) ? ((a = a.substr(1, a.length - 2)), (a = e.stylize(a, "name"))) : ((a = a .replace(/'/g, "\\'") .replace(/\\"/g, '"') .replace(/(^"|"$)/g, "'")), (a = e.stylize(a, "string"))) } return a + ": " + s } function g(e, t, r) { var n = e.reduce(function (e, t) { return t.indexOf("\n") >= 0 && 0, e + t.replace(/\u001b\[\d\d?m/g, "").length + 1 }, 0) return n > 60 ? r[0] + ("" === t ? "" : t + "\n ") + " " + e.join(",\n ") + " " + r[1] : r[0] + t + " " + e.join(", ") + " " + r[1] } function y(e) { return Array.isArray(e) } function v(e) { return "boolean" === typeof e } function b(e) { return null === e } function w(e) { return null == e } function x(e) { return "number" === typeof e } function A(e) { return "string" === typeof e } function _(e) { return "symbol" === typeof e } function T(e) { return void 0 === e } function E(e) { return S(e) && "[object RegExp]" === O(e) } function S(e) { return "object" === typeof e && null !== e } function C(e) { return S(e) && "[object Date]" === O(e) } function k(e) { return S(e) && ("[object Error]" === O(e) || e instanceof Error) } function L(e) { return "function" === typeof e } function P(e) { return ( null === e || "boolean" === typeof e || "number" === typeof e || "string" === typeof e || "symbol" === typeof e || "undefined" === typeof e ) } function O(e) { return Object.prototype.toString.call(e) } function j(e) { return e < 10 ? "0" + e.toString(10) : e.toString(10) } ;(r.debuglog = function (e) { if ((T(o) && (o = t.env.NODE_DEBUG || ""), (e = e.toUpperCase()), !a[e])) if (new RegExp("\\b" + e + "\\b", "i").test(o)) { var n = t.pid a[e] = function () { var t = r.format.apply(r, arguments) console.error("%s %d: %s", e, n, t) } } else a[e] = function () {} return a[e] }), (r.inspect = s), (s.colors = { bold: [1, 22], italic: [3, 23], underline: [4, 24], inverse: [7, 27], white: [37, 39], grey: [90, 39], black: [30, 39], blue: [34, 39], cyan: [36, 39], green: [32, 39], magenta: [35, 39], red: [31, 39], yellow: [33, 39] }), (s.styles = { special: "cyan", number: "yellow", boolean: "yellow", undefined: "grey", null: "bold", string: "green", date: "magenta", regexp: "red" }), (r.isArray = y), (r.isBoolean = v), (r.isNull = b), (r.isNullOrUndefined = w), (r.isNumber = x), (r.isString = A), (r.isSymbol = _), (r.isUndefined = T), (r.isRegExp = E), (r.isObject = S), (r.isDate = C), (r.isError = k), (r.isFunction = L), (r.isPrimitive = P), (r.isBuffer = e("./support/isBuffer")) var R = ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"] function I() { var e = new Date(), t = [j(e.getHours()), j(e.getMinutes()), j(e.getSeconds())].join(":") return [e.getDate(), R[e.getMonth()], t].join(" ") } function N(e, t) { return Object.prototype.hasOwnProperty.call(e, t) } ;(r.log = function () { console.log("%s - %s", I(), r.format.apply(r, arguments)) }), (r.inherits = e("inherits")), (r._extend = function (e, t) { if (!t || !S(t)) return e var r = Object.keys(t), n = r.length while (n--) e[r[n]] = t[r[n]] return e }) }).call( this, e("_process"), "undefined" !== typeof global ? global : "undefined" !== typeof self ? self : "undefined" !== typeof window ? window : {} ) }, { "./support/isBuffer": 344, _process: 392, inherits: 343 } ], 346: [ function (e, t, r) { ;(function () { "use strict" r.stripBOM = function (e) { return "\ufeff" === e[0] ? e.substring(1) : e } }).call(this) }, {} ], 347: [ function (e, t, r) { ;(function () { "use strict" var t, n, i, o, a, s = {}.hasOwnProperty ;(t = e("xmlbuilder")), (n = e("./defaults").defaults), (o = function (e) { return "string" === typeof e && (e.indexOf("&") >= 0 || e.indexOf(">") >= 0 || e.indexOf("<") >= 0) }), (a = function (e) { return "" }), (i = function (e) { return e.replace("]]>", "]]]]>") }), (r.Builder = (function () { function e(e) { var t, r, i for (t in ((this.options = {}), (r = n["0.2"]), r)) s.call(r, t) && ((i = r[t]), (this.options[t] = i)) for (t in e) s.call(e, t) && ((i = e[t]), (this.options[t] = i)) } return ( (e.prototype.buildObject = function (e) { var r, i, l, c, u return ( (r = this.options.attrkey), (i = this.options.charkey), 1 === Object.keys(e).length && this.options.rootName === n["0.2"].rootName ? ((u = Object.keys(e)[0]), (e = e[u])) : (u = this.options.rootName), (l = (function (e) { return function (t, n) { var c, u, f, p, d, h if ("object" !== typeof n) e.options.cdata && o(n) ? t.raw(a(n)) : t.txt(n) else if (Array.isArray(n)) { for (p in n) if (s.call(n, p)) for (d in ((u = n[p]), u)) (f = u[d]), (t = l(t.ele(d), f).up()) } else for (d in n) if (s.call(n, d)) if (((u = n[d]), d === r)) { if ("object" === typeof u) for (c in u) (h = u[c]), (t = t.att(c, h)) } else if (d === i) t = e.options.cdata && o(u) ? t.raw(a(u)) : t.txt(u) else if (Array.isArray(u)) for (p in u) s.call(u, p) && ((f = u[p]), (t = "string" === typeof f ? e.options.cdata && o(f) ? t.ele(d).raw(a(f)).up() : t.ele(d, f).up() : l(t.ele(d), f).up())) else "object" === typeof u ? (t = l(t.ele(d), u).up()) : "string" === typeof u && e.options.cdata && o(u) ? (t = t.ele(d).raw(a(u)).up()) : (null == u && (u = ""), (t = t.ele(d, u.toString()).up())) return t } })(this)), (c = t.create(u, this.options.xmldec, this.options.doctype, { headless: this.options.headless, allowSurrogateChars: this.options.allowSurrogateChars })), l(c, e).end(this.options.renderOpts) ) }), e ) })()) }).call(this) }, { "./defaults": 348, xmlbuilder: 384 } ], 348: [ function (e, t, r) { ;(function () { r.defaults = { 0.1: { explicitCharkey: !1, trim: !0, normalize: !0, normalizeTags: !1, attrkey: "@", charkey: "#", explicitArray: !1, ignoreAttrs: !1, mergeAttrs: !1, explicitRoot: !1, validator: null, xmlns: !1, explicitChildren: !1, childkey: "@@", charsAsChildren: !1, includeWhiteChars: !1, async: !1, strict: !0, attrNameProcessors: null, attrValueProcessors: null, tagNameProcessors: null, valueProcessors: null, emptyTag: "" }, 0.2: { explicitCharkey: !1, trim: !1, normalize: !1, normalizeTags: !1, attrkey: "$", charkey: "_", explicitArray: !0, ignoreAttrs: !1, mergeAttrs: !1, explicitRoot: !0, validator: null, xmlns: !1, explicitChildren: !1, preserveChildrenOrder: !1, childkey: "$$", charsAsChildren: !1, includeWhiteChars: !1, async: !1, strict: !0, attrNameProcessors: null, attrValueProcessors: null, tagNameProcessors: null, valueProcessors: null, rootName: "root", xmldec: { version: "1.0", encoding: "UTF-8", standalone: !0 }, doctype: null, renderOpts: { pretty: !0, indent: " ", newline: "\n" }, headless: !1, chunkSize: 1e4, emptyTag: "", cdata: !1 } } }).call(this) }, {} ], 349: [ function (e, t, r) { ;(function () { "use strict" var t, n, i, o, a, s, l, c, u = function (e, t) { return function () { return e.apply(t, arguments) } }, f = function (e, t) { for (var r in t) p.call(t, r) && (e[r] = t[r]) function n() { this.constructor = e } return (n.prototype = t.prototype), (e.prototype = new n()), (e.__super__ = t.prototype), e }, p = {}.hasOwnProperty ;(l = e("sax")), (i = e("events")), (t = e("./bom")), (s = e("./processors")), (c = e("timers").setImmediate), (n = e("./defaults").defaults), (o = function (e) { return "object" === typeof e && null != e && 0 === Object.keys(e).length }), (a = function (e, t, r) { var n, i, o for (n = 0, i = e.length; n < i; n++) (o = e[n]), (t = o(t, r)) return t }), (r.Parser = (function (e) { function i(e) { var t, i, o if ( ((this.parseStringPromise = u(this.parseStringPromise, this)), (this.parseString = u(this.parseString, this)), (this.reset = u(this.reset, this)), (this.assignOrPush = u(this.assignOrPush, this)), (this.processAsync = u(this.processAsync, this)), !(this instanceof r.Parser)) ) return new r.Parser(e) for (t in ((this.options = {}), (i = n["0.2"]), i)) p.call(i, t) && ((o = i[t]), (this.options[t] = o)) for (t in e) p.call(e, t) && ((o = e[t]), (this.options[t] = o)) this.options.xmlns && (this.options.xmlnskey = this.options.attrkey + "ns"), this.options.normalizeTags && (this.options.tagNameProcessors || (this.options.tagNameProcessors = []), this.options.tagNameProcessors.unshift(s.normalize)), this.reset() } return ( f(i, e), (i.prototype.processAsync = function () { var e, t try { return this.remaining.length <= this.options.chunkSize ? ((e = this.remaining), (this.remaining = ""), (this.saxParser = this.saxParser.write(e)), this.saxParser.close()) : ((e = this.remaining.substr(0, this.options.chunkSize)), (this.remaining = this.remaining.substr(this.options.chunkSize, this.remaining.length)), (this.saxParser = this.saxParser.write(e)), c(this.processAsync)) } catch (r) { if (((t = r), !this.saxParser.errThrown)) return (this.saxParser.errThrown = !0), this.emit(t) } }), (i.prototype.assignOrPush = function (e, t, r) { return t in e ? (e[t] instanceof Array || (e[t] = [e[t]]), e[t].push(r)) : this.options.explicitArray ? (e[t] = [r]) : (e[t] = r) }), (i.prototype.reset = function () { var e, t, r, n return ( this.removeAllListeners(), (this.saxParser = l.parser(this.options.strict, { trim: !1, normalize: !1, xmlns: this.options.xmlns })), (this.saxParser.errThrown = !1), (this.saxParser.onerror = (function (e) { return function (t) { if ((e.saxParser.resume(), !e.saxParser.errThrown)) return (e.saxParser.errThrown = !0), e.emit("error", t) } })(this)), (this.saxParser.onend = (function (e) { return function () { if (!e.saxParser.ended) return (e.saxParser.ended = !0), e.emit("end", e.resultObject) } })(this)), (this.saxParser.ended = !1), (this.EXPLICIT_CHARKEY = this.options.explicitCharkey), (this.resultObject = null), (n = []), (e = this.options.attrkey), (t = this.options.charkey), (this.saxParser.onopentag = (function (r) { return function (i) { var o, s, l, c, u if (((l = {}), (l[t] = ""), !r.options.ignoreAttrs)) for (o in ((u = i.attributes), u)) p.call(u, o) && (e in l || r.options.mergeAttrs || (l[e] = {}), (s = r.options.attrValueProcessors ? a(r.options.attrValueProcessors, i.attributes[o], o) : i.attributes[o]), (c = r.options.attrNameProcessors ? a(r.options.attrNameProcessors, o) : o), r.options.mergeAttrs ? r.assignOrPush(l, c, s) : (l[e][c] = s)) return ( (l["#name"] = r.options.tagNameProcessors ? a(r.options.tagNameProcessors, i.name) : i.name), r.options.xmlns && (l[r.options.xmlnskey] = { uri: i.uri, local: i.local }), n.push(l) ) } })(this)), (this.saxParser.onclosetag = (function (e) { return function () { var r, i, s, l, c, u, f, d, h, m if ( ((u = n.pop()), (c = u["#name"]), (e.options.explicitChildren && e.options.preserveChildrenOrder) || delete u["#name"], !0 === u.cdata && ((r = u.cdata), delete u.cdata), (h = n[n.length - 1]), u[t].match(/^\s*$/) && !r ? ((i = u[t]), delete u[t]) : (e.options.trim && (u[t] = u[t].trim()), e.options.normalize && (u[t] = u[t].replace(/\s{2,}/g, " ").trim()), (u[t] = e.options.valueProcessors ? a(e.options.valueProcessors, u[t], c) : u[t]), 1 === Object.keys(u).length && t in u && !e.EXPLICIT_CHARKEY && (u = u[t])), o(u) && (u = "" !== e.options.emptyTag ? e.options.emptyTag : i), null != e.options.validator && ((m = "/" + (function () { var e, t, r for (r = [], e = 0, t = n.length; e < t; e++) (l = n[e]), r.push(l["#name"]) return r })() .concat(c) .join("/")), (function () { var t try { u = e.options.validator(m, h && h[c], u) } catch (r) { return (t = r), e.emit("error", t) } })()), e.options.explicitChildren && !e.options.mergeAttrs && "object" === typeof u) ) if (e.options.preserveChildrenOrder) { if (h) { for (s in ((h[e.options.childkey] = h[e.options.childkey] || []), (f = {}), u)) p.call(u, s) && (f[s] = u[s]) h[e.options.childkey].push(f), delete u["#name"], 1 === Object.keys(u).length && t in u && !e.EXPLICIT_CHARKEY && (u = u[t]) } } else (l = {}), e.options.attrkey in u && ((l[e.options.attrkey] = u[e.options.attrkey]), delete u[e.options.attrkey]), !e.options.charsAsChildren && e.options.charkey in u && ((l[e.options.charkey] = u[e.options.charkey]), delete u[e.options.charkey]), Object.getOwnPropertyNames(u).length > 0 && (l[e.options.childkey] = u), (u = l) return n.length > 0 ? e.assignOrPush(h, c, u) : (e.options.explicitRoot && ((d = u), (u = {}), (u[c] = d)), (e.resultObject = u), (e.saxParser.ended = !0), e.emit("end", e.resultObject)) } })(this)), (r = (function (e) { return function (r) { var i, o if (((o = n[n.length - 1]), o)) return ( (o[t] += r), e.options.explicitChildren && e.options.preserveChildrenOrder && e.options.charsAsChildren && (e.options.includeWhiteChars || "" !== r.replace(/\\n/g, "").trim()) && ((o[e.options.childkey] = o[e.options.childkey] || []), (i = { "#name": "__text__" }), (i[t] = r), e.options.normalize && (i[t] = i[t].replace(/\s{2,}/g, " ").trim()), o[e.options.childkey].push(i)), o ) } })(this)), (this.saxParser.ontext = r), (this.saxParser.oncdata = (function (e) { return function (e) { var t if (((t = r(e)), t)) return (t.cdata = !0) } })()) ) }), (i.prototype.parseString = function (e, r) { var n null != r && "function" === typeof r && (this.on("end", function (e) { return this.reset(), r(null, e) }), this.on("error", function (e) { return this.reset(), r(e) })) try { return ( (e = e.toString()), "" === e.trim() ? (this.emit("end", null), !0) : ((e = t.stripBOM(e)), this.options.async ? ((this.remaining = e), c(this.processAsync), this.saxParser) : this.saxParser.write(e).close()) ) } catch (i) { if (((n = i), !this.saxParser.errThrown && !this.saxParser.ended)) return this.emit("error", n), (this.saxParser.errThrown = !0) if (this.saxParser.ended) throw n } }), (i.prototype.parseStringPromise = function (e) { return new Promise( (function (t) { return function (r, n) { return t.parseString(e, function (e, t) { return e ? n(e) : r(t) }) } })(this) ) }), i ) })(i)), (r.parseString = function (e, t, n) { var i, o, a return ( null != n ? ("function" === typeof n && (i = n), "object" === typeof t && (o = t)) : ("function" === typeof t && (i = t), (o = {})), (a = new r.Parser(o)), a.parseString(e, i) ) }), (r.parseStringPromise = function (e, t) { var n, i return "object" === typeof t && (n = t), (i = new r.Parser(n)), i.parseStringPromise(e) }) }).call(this) }, { "./bom": 346, "./defaults": 348, "./processors": 350, events: 296, sax: 338, timers: 341 } ], 350: [ function (e, t, r) { ;(function () { "use strict" var e ;(e = new RegExp(/(?!xmlns)^.*:/)), (r.normalize = function (e) { return e.toLowerCase() }), (r.firstCharLowerCase = function (e) { return e.charAt(0).toLowerCase() + e.slice(1) }), (r.stripPrefix = function (t) { return t.replace(e, "") }), (r.parseNumbers = function (e) { return isNaN(e) || (e = e % 1 === 0 ? parseInt(e, 10) : parseFloat(e)), e }), (r.parseBooleans = function (e) { return /^(?:true|false)$/i.test(e) && (e = "true" === e.toLowerCase()), e }) }).call(this) }, {} ], 351: [ function (e, t, r) { ;(function () { "use strict" var t, n, i, o, a = function (e, t) { for (var r in t) s.call(t, r) && (e[r] = t[r]) function n() { this.constructor = e } return (n.prototype = t.prototype), (e.prototype = new n()), (e.__super__ = t.prototype), e }, s = {}.hasOwnProperty ;(n = e("./defaults")), (t = e("./builder")), (i = e("./parser")), (o = e("./processors")), (r.defaults = n.defaults), (r.processors = o), (r.ValidationError = (function (e) { function t(e) { this.message = e } return a(t, e), t })(Error)), (r.Builder = t.Builder), (r.Parser = i.Parser), (r.parseString = i.parseString), (r.parseStringPromise = i.parseStringPromise) }).call(this) }, { "./builder": 347, "./defaults": 348, "./parser": 349, "./processors": 350 } ], 352: [ function (e, t, r) { ;(function () { t.exports = { Disconnected: 1, Preceding: 2, Following: 4, Contains: 8, ContainedBy: 16, ImplementationSpecific: 32 } }).call(this) }, {} ], 353: [ function (e, t, r) { ;(function () { t.exports = { Element: 1, Attribute: 2, Text: 3, CData: 4, EntityReference: 5, EntityDeclaration: 6, ProcessingInstruction: 7, Comment: 8, Document: 9, DocType: 10, DocumentFragment: 11, NotationDeclaration: 12, Declaration: 201, Raw: 202, AttributeDeclaration: 203, ElementDeclaration: 204, Dummy: 205 } }).call(this) }, {} ], 354: [ function (e, t, r) { ;(function () { var e, r, n, i, o, a, s, l = [].slice, c = {}.hasOwnProperty ;(e = function () { var e, t, r, n, i, a if (((a = arguments[0]), (i = 2 <= arguments.length ? l.call(arguments, 1) : []), o(Object.assign))) Object.assign.apply(null, arguments) else for (e = 0, r = i.length; e < r; e++) if (((n = i[e]), null != n)) for (t in n) c.call(n, t) && (a[t] = n[t]) return a }), (o = function (e) { return !!e && "[object Function]" === Object.prototype.toString.call(e) }), (a = function (e) { var t return !!e && ("function" === (t = typeof e) || "object" === t) }), (n = function (e) { return o(Array.isArray) ? Array.isArray(e) : "[object Array]" === Object.prototype.toString.call(e) }), (i = function (e) { var t if (n(e)) return !e.length for (t in e) if (c.call(e, t)) return !1 return !0 }), (s = function (e) { var t, r return ( a(e) && (r = Object.getPrototypeOf(e)) && (t = r.constructor) && "function" === typeof t && t instanceof t && Function.prototype.toString.call(t) === Function.prototype.toString.call(Object) ) }), (r = function (e) { return o(e.valueOf) ? e.valueOf() : e }), (t.exports.assign = e), (t.exports.isFunction = o), (t.exports.isObject = a), (t.exports.isArray = n), (t.exports.isEmpty = i), (t.exports.isPlainObject = s), (t.exports.getValue = r) }).call(this) }, {} ], 355: [ function (e, t, r) { ;(function () { t.exports = { None: 0, OpenTag: 1, InsideTag: 2, CloseTag: 3 } }).call(this) }, {} ], 356: [ function (e, t, r) { ;(function () { var r ;(r = e("./NodeType")), e("./XMLNode"), (t.exports = (function () { function e(e, t, n) { if ( ((this.parent = e), this.parent && ((this.options = this.parent.options), (this.stringify = this.parent.stringify)), null == t) ) throw new Error("Missing attribute name. " + this.debugInfo(t)) ;(this.name = this.stringify.name(t)), (this.value = this.stringify.attValue(n)), (this.type = r.Attribute), (this.isId = !1), (this.schemaTypeInfo = null) } return ( Object.defineProperty(e.prototype, "nodeType", { get: function () { return this.type } }), Object.defineProperty(e.prototype, "ownerElement", { get: function () { return this.parent } }), Object.defineProperty(e.prototype, "textContent", { get: function () { return this.value }, set: function (e) { return (this.value = e || "") } }), Object.defineProperty(e.prototype, "namespaceURI", { get: function () { return "" } }), Object.defineProperty(e.prototype, "prefix", { get: function () { return "" } }), Object.defineProperty(e.prototype, "localName", { get: function () { return this.name } }), Object.defineProperty(e.prototype, "specified", { get: function () { return !0 } }), (e.prototype.clone = function () { return Object.create(this) }), (e.prototype.toString = function (e) { return this.options.writer.attribute(this, this.options.writer.filterOptions(e)) }), (e.prototype.debugInfo = function (e) { return ( (e = e || this.name), null == e ? "parent: <" + this.parent.name + ">" : "attribute: {" + e + "}, parent: <" + this.parent.name + ">" ) }), (e.prototype.isEqualNode = function (e) { return ( e.namespaceURI === this.namespaceURI && e.prefix === this.prefix && e.localName === this.localName && e.value === this.value ) }), e ) })()) }).call(this) }, { "./NodeType": 353, "./XMLNode": 375 } ], 357: [ function (e, t, r) { ;(function () { var r, n, i = function (e, t) { for (var r in t) o.call(t, r) && (e[r] = t[r]) function n() { this.constructor = e } return (n.prototype = t.prototype), (e.prototype = new n()), (e.__super__ = t.prototype), e }, o = {}.hasOwnProperty ;(r = e("./NodeType")), (n = e("./XMLCharacterData")), (t.exports = (function (e) { function t(e, n) { if ((t.__super__.constructor.call(this, e), null == n)) throw new Error("Missing CDATA text. " + this.debugInfo()) ;(this.name = "#cdata-section"), (this.type = r.CData), (this.value = this.stringify.cdata(n)) } return ( i(t, e), (t.prototype.clone = function () { return Object.create(this) }), (t.prototype.toString = function (e) { return this.options.writer.cdata(this, this.options.writer.filterOptions(e)) }), t ) })(n)) }).call(this) }, { "./NodeType": 353, "./XMLCharacterData": 358 } ], 358: [ function (e, t, r) { ;(function () { var r, n = function (e, t) { for (var r in t) i.call(t, r) && (e[r] = t[r]) function n() { this.constructor = e } return (n.prototype = t.prototype), (e.prototype = new n()), (e.__super__ = t.prototype), e }, i = {}.hasOwnProperty ;(r = e("./XMLNode")), (t.exports = (function (e) { function t(e) { t.__super__.constructor.call(this, e), (this.value = "") } return ( n(t, e), Object.defineProperty(t.prototype, "data", { get: function () { return this.value }, set: function (e) { return (this.value = e || "") } }), Object.defineProperty(t.prototype, "length", { get: function () { return this.value.length } }), Object.defineProperty(t.prototype, "textContent", { get: function () { return this.value }, set: function (e) { return (this.value = e || "") } }), (t.prototype.clone = function () { return Object.create(this) }), (t.prototype.substringData = function (e, t) { throw new Error("This DOM method is not implemented." + this.debugInfo()) }), (t.prototype.appendData = function (e) { throw new Error("This DOM method is not implemented." + this.debugInfo()) }), (t.prototype.insertData = function (e, t) { throw new Error("This DOM method is not implemented." + this.debugInfo()) }), (t.prototype.deleteData = function (e, t) { throw new Error("This DOM method is not implemented." + this.debugInfo()) }), (t.prototype.replaceData = function (e, t, r) { throw new Error("This DOM method is not implemented." + this.debugInfo()) }), (t.prototype.isEqualNode = function (e) { return !!t.__super__.isEqualNode.apply(this, arguments).isEqualNode(e) && e.data === this.data }), t ) })(r)) }).call(this) }, { "./XMLNode": 375 } ], 359: [ function (e, t, r) { ;(function () { var r, n, i = function (e, t) { for (var r in t) o.call(t, r) && (e[r] = t[r]) function n() { this.constructor = e } return (n.prototype = t.prototype), (e.prototype = new n()), (e.__super__ = t.prototype), e }, o = {}.hasOwnProperty ;(r = e("./NodeType")), (n = e("./XMLCharacterData")), (t.exports = (function (e) { function t(e, n) { if ((t.__super__.constructor.call(this, e), null == n)) throw new Error("Missing comment text. " + this.debugInfo()) ;(this.name = "#comment"), (this.type = r.Comment), (this.value = this.stringify.comment(n)) } return ( i(t, e), (t.prototype.clone = function () { return Object.create(this) }), (t.prototype.toString = function (e) { return this.options.writer.comment(this, this.options.writer.filterOptions(e)) }), t ) })(n)) }).call(this) }, { "./NodeType": 353, "./XMLCharacterData": 358 } ], 360: [ function (e, t, r) { ;(function () { var r, n ;(r = e("./XMLDOMErrorHandler")), (n = e("./XMLDOMStringList")), (t.exports = (function () { function e() { ;(this.defaultParams = { "canonical-form": !1, "cdata-sections": !1, comments: !1, "datatype-normalization": !1, "element-content-whitespace": !0, entities: !0, "error-handler": new r(), infoset: !0, "validate-if-schema": !1, namespaces: !0, "namespace-declarations": !0, "normalize-characters": !1, "schema-location": "", "schema-type": "", "split-cdata-sections": !0, validate: !1, "well-formed": !0 }), (this.params = Object.create(this.defaultParams)) } return ( Object.defineProperty(e.prototype, "parameterNames", { get: function () { return new n(Object.keys(this.defaultParams)) } }), (e.prototype.getParameter = function (e) { return this.params.hasOwnProperty(e) ? this.params[e] : null }), (e.prototype.canSetParameter = function (e, t) { return !0 }), (e.prototype.setParameter = function (e, t) { return null != t ? (this.params[e] = t) : delete this.params[e] }), e ) })()) }).call(this) }, { "./XMLDOMErrorHandler": 361, "./XMLDOMStringList": 363 } ], 361: [ function (e, t, r) { ;(function () { t.exports = (function () { function e() {} return ( (e.prototype.handleError = function (e) { throw new Error(e) }), e ) })() }).call(this) }, {} ], 362: [ function (e, t, r) { ;(function () { t.exports = (function () { function e() {} return ( (e.prototype.hasFeature = function (e, t) { return !0 }), (e.prototype.createDocumentType = function (e, t, r) { throw new Error("This DOM method is not implemented.") }), (e.prototype.createDocument = function (e, t, r) { throw new Error("This DOM method is not implemented.") }), (e.prototype.createHTMLDocument = function (e) { throw new Error("This DOM method is not implemented.") }), (e.prototype.getFeature = function (e, t) { throw new Error("This DOM method is not implemented.") }), e ) })() }).call(this) }, {} ], 363: [ function (e, t, r) { ;(function () { t.exports = (function () { function e(e) { this.arr = e || [] } return ( Object.defineProperty(e.prototype, "length", { get: function () { return this.arr.length } }), (e.prototype.item = function (e) { return this.arr[e] || null }), (e.prototype.contains = function (e) { return -1 !== this.arr.indexOf(e) }), e ) })() }).call(this) }, {} ], 364: [ function (e, t, r) { ;(function () { var r, n, i = function (e, t) { for (var r in t) o.call(t, r) && (e[r] = t[r]) function n() { this.constructor = e } return (n.prototype = t.prototype), (e.prototype = new n()), (e.__super__ = t.prototype), e }, o = {}.hasOwnProperty ;(n = e("./XMLNode")), (r = e("./NodeType")), (t.exports = (function (e) { function t(e, n, i, o, a, s) { if ((t.__super__.constructor.call(this, e), null == n)) throw new Error("Missing DTD element name. " + this.debugInfo()) if (null == i) throw new Error("Missing DTD attribute name. " + this.debugInfo(n)) if (!o) throw new Error("Missing DTD attribute type. " + this.debugInfo(n)) if (!a) throw new Error("Missing DTD attribute default. " + this.debugInfo(n)) if ((0 !== a.indexOf("#") && (a = "#" + a), !a.match(/^(#REQUIRED|#IMPLIED|#FIXED|#DEFAULT)$/))) throw new Error( "Invalid default value type; expected: #REQUIRED, #IMPLIED, #FIXED or #DEFAULT. " + this.debugInfo(n) ) if (s && !a.match(/^(#FIXED|#DEFAULT)$/)) throw new Error("Default value only applies to #FIXED or #DEFAULT. " + this.debugInfo(n)) ;(this.elementName = this.stringify.name(n)), (this.type = r.AttributeDeclaration), (this.attributeName = this.stringify.name(i)), (this.attributeType = this.stringify.dtdAttType(o)), s && (this.defaultValue = this.stringify.dtdAttDefault(s)), (this.defaultValueType = a) } return ( i(t, e), (t.prototype.toString = function (e) { return this.options.writer.dtdAttList(this, this.options.writer.filterOptions(e)) }), t ) })(n)) }).call(this) }, { "./NodeType": 353, "./XMLNode": 375 } ], 365: [ function (e, t, r) { ;(function () { var r, n, i = function (e, t) { for (var r in t) o.call(t, r) && (e[r] = t[r]) function n() { this.constructor = e } return (n.prototype = t.prototype), (e.prototype = new n()), (e.__super__ = t.prototype), e }, o = {}.hasOwnProperty ;(n = e("./XMLNode")), (r = e("./NodeType")), (t.exports = (function (e) { function t(e, n, i) { if ((t.__super__.constructor.call(this, e), null == n)) throw new Error("Missing DTD element name. " + this.debugInfo()) i || (i = "(#PCDATA)"), Array.isArray(i) && (i = "(" + i.join(",") + ")"), (this.name = this.stringify.name(n)), (this.type = r.ElementDeclaration), (this.value = this.stringify.dtdElementValue(i)) } return ( i(t, e), (t.prototype.toString = function (e) { return this.options.writer.dtdElement(this, this.options.writer.filterOptions(e)) }), t ) })(n)) }).call(this) }, { "./NodeType": 353, "./XMLNode": 375 } ], 366: [ function (e, t, r) { ;(function () { var r, n, i, o = function (e, t) { for (var r in t) a.call(t, r) && (e[r] = t[r]) function n() { this.constructor = e } return (n.prototype = t.prototype), (e.prototype = new n()), (e.__super__ = t.prototype), e }, a = {}.hasOwnProperty ;(i = e("./Utility").isObject), (n = e("./XMLNode")), (r = e("./NodeType")), (t.exports = (function (e) { function t(e, n, o, a) { if ((t.__super__.constructor.call(this, e), null == o)) throw new Error("Missing DTD entity name. " + this.debugInfo(o)) if (null == a) throw new Error("Missing DTD entity value. " + this.debugInfo(o)) if (((this.pe = !!n), (this.name = this.stringify.name(o)), (this.type = r.EntityDeclaration), i(a))) { if (!a.pubID && !a.sysID) throw new Error( "Public and/or system identifiers are required for an external entity. " + this.debugInfo(o) ) if (a.pubID && !a.sysID) throw new Error("System identifier is required for a public external entity. " + this.debugInfo(o)) if ( ((this.internal = !1), null != a.pubID && (this.pubID = this.stringify.dtdPubID(a.pubID)), null != a.sysID && (this.sysID = this.stringify.dtdSysID(a.sysID)), null != a.nData && (this.nData = this.stringify.dtdNData(a.nData)), this.pe && this.nData) ) throw new Error("Notation declaration is not allowed in a parameter entity. " + this.debugInfo(o)) } else (this.value = this.stringify.dtdEntityValue(a)), (this.internal = !0) } return ( o(t, e), Object.defineProperty(t.prototype, "publicId", { get: function () { return this.pubID } }), Object.defineProperty(t.prototype, "systemId", { get: function () { return this.sysID } }), Object.defineProperty(t.prototype, "notationName", { get: function () { return this.nData || null } }), Object.defineProperty(t.prototype, "inputEncoding", { get: function () { return null } }), Object.defineProperty(t.prototype, "xmlEncoding", { get: function () { return null } }), Object.defineProperty(t.prototype, "xmlVersion", { get: function () { return null } }), (t.prototype.toString = function (e) { return this.options.writer.dtdEntity(this, this.options.writer.filterOptions(e)) }), t ) })(n)) }).call(this) }, { "./NodeType": 353, "./Utility": 354, "./XMLNode": 375 } ], 367: [ function (e, t, r) { ;(function () { var r, n, i = function (e, t) { for (var r in t) o.call(t, r) && (e[r] = t[r]) function n() { this.constructor = e } return (n.prototype = t.prototype), (e.prototype = new n()), (e.__super__ = t.prototype), e }, o = {}.hasOwnProperty ;(n = e("./XMLNode")), (r = e("./NodeType")), (t.exports = (function (e) { function t(e, n, i) { if ((t.__super__.constructor.call(this, e), null == n)) throw new Error("Missing DTD notation name. " + this.debugInfo(n)) if (!i.pubID && !i.sysID) throw new Error("Public or system identifiers are required for an external entity. " + this.debugInfo(n)) ;(this.name = this.stringify.name(n)), (this.type = r.NotationDeclaration), null != i.pubID && (this.pubID = this.stringify.dtdPubID(i.pubID)), null != i.sysID && (this.sysID = this.stringify.dtdSysID(i.sysID)) } return ( i(t, e), Object.defineProperty(t.prototype, "publicId", { get: function () { return this.pubID } }), Object.defineProperty(t.prototype, "systemId", { get: function () { return this.sysID } }), (t.prototype.toString = function (e) { return this.options.writer.dtdNotation(this, this.options.writer.filterOptions(e)) }), t ) })(n)) }).call(this) }, { "./NodeType": 353, "./XMLNode": 375 } ], 368: [ function (e, t, r) { ;(function () { var r, n, i, o = function (e, t) { for (var r in t) a.call(t, r) && (e[r] = t[r]) function n() { this.constructor = e } return (n.prototype = t.prototype), (e.prototype = new n()), (e.__super__ = t.prototype), e }, a = {}.hasOwnProperty ;(i = e("./Utility").isObject), (n = e("./XMLNode")), (r = e("./NodeType")), (t.exports = (function (e) { function t(e, n, o, a) { var s t.__super__.constructor.call(this, e), i(n) && ((s = n), (n = s.version), (o = s.encoding), (a = s.standalone)), n || (n = "1.0"), (this.type = r.Declaration), (this.version = this.stringify.xmlVersion(n)), null != o && (this.encoding = this.stringify.xmlEncoding(o)), null != a && (this.standalone = this.stringify.xmlStandalone(a)) } return ( o(t, e), (t.prototype.toString = function (e) { return this.options.writer.declaration(this, this.options.writer.filterOptions(e)) }), t ) })(n)) }).call(this) }, { "./NodeType": 353, "./Utility": 354, "./XMLNode": 375 } ], 369: [ function (e, t, r) { ;(function () { var r, n, i, o, a, s, l, c, u = function (e, t) { for (var r in t) f.call(t, r) && (e[r] = t[r]) function n() { this.constructor = e } return (n.prototype = t.prototype), (e.prototype = new n()), (e.__super__ = t.prototype), e }, f = {}.hasOwnProperty ;(c = e("./Utility").isObject), (l = e("./XMLNode")), (r = e("./NodeType")), (n = e("./XMLDTDAttList")), (o = e("./XMLDTDEntity")), (i = e("./XMLDTDElement")), (a = e("./XMLDTDNotation")), (s = e("./XMLNamedNodeMap")), (t.exports = (function (e) { function t(e, n, i) { var o, a, s, l, u, f if ((t.__super__.constructor.call(this, e), (this.type = r.DocType), e.children)) for (l = e.children, a = 0, s = l.length; a < s; a++) if (((o = l[a]), o.type === r.Element)) { this.name = o.name break } ;(this.documentObject = e), c(n) && ((u = n), (n = u.pubID), (i = u.sysID)), null == i && ((f = [n, i]), (i = f[0]), (n = f[1])), null != n && (this.pubID = this.stringify.dtdPubID(n)), null != i && (this.sysID = this.stringify.dtdSysID(i)) } return ( u(t, e), Object.defineProperty(t.prototype, "entities", { get: function () { var e, t, n, i, o for (i = {}, o = this.children, t = 0, n = o.length; t < n; t++) (e = o[t]), e.type !== r.EntityDeclaration || e.pe || (i[e.name] = e) return new s(i) } }), Object.defineProperty(t.prototype, "notations", { get: function () { var e, t, n, i, o for (i = {}, o = this.children, t = 0, n = o.length; t < n; t++) (e = o[t]), e.type === r.NotationDeclaration && (i[e.name] = e) return new s(i) } }), Object.defineProperty(t.prototype, "publicId", { get: function () { return this.pubID } }), Object.defineProperty(t.prototype, "systemId", { get: function () { return this.sysID } }), Object.defineProperty(t.prototype, "internalSubset", { get: function () { throw new Error("This DOM method is not implemented." + this.debugInfo()) } }), (t.prototype.element = function (e, t) { var r return (r = new i(this, e, t)), this.children.push(r), this }), (t.prototype.attList = function (e, t, r, i, o) { var a return (a = new n(this, e, t, r, i, o)), this.children.push(a), this }), (t.prototype.entity = function (e, t) { var r return (r = new o(this, !1, e, t)), this.children.push(r), this }), (t.prototype.pEntity = function (e, t) { var r return (r = new o(this, !0, e, t)), this.children.push(r), this }), (t.prototype.notation = function (e, t) { var r return (r = new a(this, e, t)), this.children.push(r), this }), (t.prototype.toString = function (e) { return this.options.writer.docType(this, this.options.writer.filterOptions(e)) }), (t.prototype.ele = function (e, t) { return this.element(e, t) }), (t.prototype.att = function (e, t, r, n, i) { return this.attList(e, t, r, n, i) }), (t.prototype.ent = function (e, t) { return this.entity(e, t) }), (t.prototype.pent = function (e, t) { return this.pEntity(e, t) }), (t.prototype.not = function (e, t) { return this.notation(e, t) }), (t.prototype.up = function () { return this.root() || this.documentObject }), (t.prototype.isEqualNode = function (e) { return ( !!t.__super__.isEqualNode.apply(this, arguments).isEqualNode(e) && e.name === this.name && e.publicId === this.publicId && e.systemId === this.systemId ) }), t ) })(l)) }).call(this) }, { "./NodeType": 353, "./Utility": 354, "./XMLDTDAttList": 364, "./XMLDTDElement": 365, "./XMLDTDEntity": 366, "./XMLDTDNotation": 367, "./XMLNamedNodeMap": 374, "./XMLNode": 375 } ], 370: [ function (e, t, r) { ;(function () { var r, n, i, o, a, s, l, c = function (e, t) { for (var r in t) u.call(t, r) && (e[r] = t[r]) function n() { this.constructor = e } return (n.prototype = t.prototype), (e.prototype = new n()), (e.__super__ = t.prototype), e }, u = {}.hasOwnProperty ;(l = e("./Utility").isPlainObject), (i = e("./XMLDOMImplementation")), (n = e("./XMLDOMConfiguration")), (o = e("./XMLNode")), (r = e("./NodeType")), (s = e("./XMLStringifier")), (a = e("./XMLStringWriter")), (t.exports = (function (e) { function t(e) { t.__super__.constructor.call(this, null), (this.name = "#document"), (this.type = r.Document), (this.documentURI = null), (this.domConfig = new n()), e || (e = {}), e.writer || (e.writer = new a()), (this.options = e), (this.stringify = new s(e)) } return ( c(t, e), Object.defineProperty(t.prototype, "implementation", { value: new i() }), Object.defineProperty(t.prototype, "doctype", { get: function () { var e, t, n, i for (i = this.children, t = 0, n = i.length; t < n; t++) if (((e = i[t]), e.type === r.DocType)) return e return null } }), Object.defineProperty(t.prototype, "documentElement", { get: function () { return this.rootObject || null } }), Object.defineProperty(t.prototype, "inputEncoding", { get: function () { return null } }), Object.defineProperty(t.prototype, "strictErrorChecking", { get: function () { return !1 } }), Object.defineProperty(t.prototype, "xmlEncoding", { get: function () { return 0 !== this.children.length && this.children[0].type === r.Declaration ? this.children[0].encoding : null } }), Object.defineProperty(t.prototype, "xmlStandalone", { get: function () { return ( 0 !== this.children.length && this.children[0].type === r.Declaration && "yes" === this.children[0].standalone ) } }), Object.defineProperty(t.prototype, "xmlVersion", { get: function () { return 0 !== this.children.length && this.children[0].type === r.Declaration ? this.children[0].version : "1.0" } }), Object.defineProperty(t.prototype, "URL", { get: function () { return this.documentURI } }), Object.defineProperty(t.prototype, "origin", { get: function () { return null } }), Object.defineProperty(t.prototype, "compatMode", { get: function () { return null } }), Object.defineProperty(t.prototype, "characterSet", { get: function () { return null } }), Object.defineProperty(t.prototype, "contentType", { get: function () { return null } }), (t.prototype.end = function (e) { var t return ( (t = {}), e ? l(e) && ((t = e), (e = this.options.writer)) : (e = this.options.writer), e.document(this, e.filterOptions(t)) ) }), (t.prototype.toString = function (e) { return this.options.writer.document(this, this.options.writer.filterOptions(e)) }), (t.prototype.createElement = function (e) { throw new Error("This DOM method is not implemented." + this.debugInfo()) }), (t.prototype.createDocumentFragment = function () { throw new Error("This DOM method is not implemented." + this.debugInfo()) }), (t.prototype.createTextNode = function (e) { throw new Error("This DOM method is not implemented." + this.debugInfo()) }), (t.prototype.createComment = function (e) { throw new Error("This DOM method is not implemented." + this.debugInfo()) }), (t.prototype.createCDATASection = function (e) { throw new Error("This DOM method is not implemented." + this.debugInfo()) }), (t.prototype.createProcessingInstruction = function (e, t) { throw new Error("This DOM method is not implemented." + this.debugInfo()) }), (t.prototype.createAttribute = function (e) { throw new Error("This DOM method is not implemented." + this.debugInfo()) }), (t.prototype.createEntityReference = function (e) { throw new Error("This DOM method is not implemented." + this.debugInfo()) }), (t.prototype.getElementsByTagName = function (e) { throw new Error("This DOM method is not implemented." + this.debugInfo()) }), (t.prototype.importNode = function (e, t) { throw new Error("This DOM method is not implemented." + this.debugInfo()) }), (t.prototype.createElementNS = function (e, t) { throw new Error("This DOM method is not implemented." + this.debugInfo()) }), (t.prototype.createAttributeNS = function (e, t) { throw new Error("This DOM method is not implemented." + this.debugInfo()) }), (t.prototype.getElementsByTagNameNS = function (e, t) { throw new Error("This DOM method is not implemented." + this.debugInfo()) }), (t.prototype.getElementById = function (e) { throw new Error("This DOM method is not implemented." + this.debugInfo()) }), (t.prototype.adoptNode = function (e) { throw new Error("This DOM method is not implemented." + this.debugInfo()) }), (t.prototype.normalizeDocument = function () { throw new Error("This DOM method is not implemented." + this.debugInfo()) }), (t.prototype.renameNode = function (e, t, r) { throw new Error("This DOM method is not implemented." + this.debugInfo()) }), (t.prototype.getElementsByClassName = function (e) { throw new Error("This DOM method is not implemented." + this.debugInfo()) }), (t.prototype.createEvent = function (e) { throw new Error("This DOM method is not implemented." + this.debugInfo()) }), (t.prototype.createRange = function () { throw new Error("This DOM method is not implemented." + this.debugInfo()) }), (t.prototype.createNodeIterator = function (e, t, r) { throw new Error("This DOM method is not implemented." + this.debugInfo()) }), (t.prototype.createTreeWalker = function (e, t, r) { throw new Error("This DOM method is not implemented." + this.debugInfo()) }), t ) })(o)) }).call(this) }, { "./NodeType": 353, "./Utility": 354, "./XMLDOMConfiguration": 360, "./XMLDOMImplementation": 362, "./XMLNode": 375, "./XMLStringWriter": 380, "./XMLStringifier": 381 } ], 371: [ function (e, t, r) { ;(function () { var r, n, i, o, a, s, l, c, u, f, p, d, h, m, g, y, v, b, w, x, A, _, T, E = {}.hasOwnProperty ;(T = e("./Utility")), (A = T.isObject), (x = T.isFunction), (_ = T.isPlainObject), (w = T.getValue), (r = e("./NodeType")), (d = e("./XMLDocument")), (h = e("./XMLElement")), (o = e("./XMLCData")), (a = e("./XMLComment")), (g = e("./XMLRaw")), (b = e("./XMLText")), (m = e("./XMLProcessingInstruction")), (f = e("./XMLDeclaration")), (p = e("./XMLDocType")), (s = e("./XMLDTDAttList")), (c = e("./XMLDTDEntity")), (l = e("./XMLDTDElement")), (u = e("./XMLDTDNotation")), (i = e("./XMLAttribute")), (v = e("./XMLStringifier")), (y = e("./XMLStringWriter")), (n = e("./WriterState")), (t.exports = (function () { function e(e, t, n) { var i ;(this.name = "?xml"), (this.type = r.Document), e || (e = {}), (i = {}), e.writer ? _(e.writer) && ((i = e.writer), (e.writer = new y())) : (e.writer = new y()), (this.options = e), (this.writer = e.writer), (this.writerOptions = this.writer.filterOptions(i)), (this.stringify = new v(e)), (this.onDataCallback = t || function () {}), (this.onEndCallback = n || function () {}), (this.currentNode = null), (this.currentLevel = -1), (this.openTags = {}), (this.documentStarted = !1), (this.documentCompleted = !1), (this.root = null) } return ( (e.prototype.createChildNode = function (e) { var t, n, i, o, a, s, l, c switch (e.type) { case r.CData: this.cdata(e.value) break case r.Comment: this.comment(e.value) break case r.Element: for (n in ((i = {}), (l = e.attribs), l)) E.call(l, n) && ((t = l[n]), (i[n] = t.value)) this.node(e.name, i) break case r.Dummy: this.dummy() break case r.Raw: this.raw(e.value) break case r.Text: this.text(e.value) break case r.ProcessingInstruction: this.instruction(e.target, e.value) break default: throw new Error("This XML node type is not supported in a JS object: " + e.constructor.name) } for (c = e.children, a = 0, s = c.length; a < s; a++) (o = c[a]), this.createChildNode(o), o.type === r.Element && this.up() return this }), (e.prototype.dummy = function () { return this }), (e.prototype.node = function (e, t, r) { var n if (null == e) throw new Error("Missing node name.") if (this.root && -1 === this.currentLevel) throw new Error("Document can only have one root node. " + this.debugInfo(e)) return ( this.openCurrent(), (e = w(e)), null == t && (t = {}), (t = w(t)), A(t) || ((n = [t, r]), (r = n[0]), (t = n[1])), (this.currentNode = new h(this, e, t)), (this.currentNode.children = !1), this.currentLevel++, (this.openTags[this.currentLevel] = this.currentNode), null != r && this.text(r), this ) }), (e.prototype.element = function (e, t, n) { var i, o, a, s, l, c if (this.currentNode && this.currentNode.type === r.DocType) this.dtdElement.apply(this, arguments) else if (Array.isArray(e) || A(e) || x(e)) for ( s = this.options.noValidation, this.options.noValidation = !0, c = new d(this.options).element("TEMP_ROOT"), c.element(e), this.options.noValidation = s, l = c.children, o = 0, a = l.length; o < a; o++ ) (i = l[o]), this.createChildNode(i), i.type === r.Element && this.up() else this.node(e, t, n) return this }), (e.prototype.attribute = function (e, t) { var r, n if (!this.currentNode || this.currentNode.children) throw new Error( "att() can only be used immediately after an ele() call in callback mode. " + this.debugInfo(e) ) if ((null != e && (e = w(e)), A(e))) for (r in e) E.call(e, r) && ((n = e[r]), this.attribute(r, n)) else x(t) && (t = t.apply()), this.options.keepNullAttributes && null == t ? (this.currentNode.attribs[e] = new i(this, e, "")) : null != t && (this.currentNode.attribs[e] = new i(this, e, t)) return this }), (e.prototype.text = function (e) { var t return ( this.openCurrent(), (t = new b(this, e)), this.onData(this.writer.text(t, this.writerOptions, this.currentLevel + 1), this.currentLevel + 1), this ) }), (e.prototype.cdata = function (e) { var t return ( this.openCurrent(), (t = new o(this, e)), this.onData(this.writer.cdata(t, this.writerOptions, this.currentLevel + 1), this.currentLevel + 1), this ) }), (e.prototype.comment = function (e) { var t return ( this.openCurrent(), (t = new a(this, e)), this.onData(this.writer.comment(t, this.writerOptions, this.currentLevel + 1), this.currentLevel + 1), this ) }), (e.prototype.raw = function (e) { var t return ( this.openCurrent(), (t = new g(this, e)), this.onData(this.writer.raw(t, this.writerOptions, this.currentLevel + 1), this.currentLevel + 1), this ) }), (e.prototype.instruction = function (e, t) { var r, n, i, o, a if ((this.openCurrent(), null != e && (e = w(e)), null != t && (t = w(t)), Array.isArray(e))) for (r = 0, o = e.length; r < o; r++) (n = e[r]), this.instruction(n) else if (A(e)) for (n in e) E.call(e, n) && ((i = e[n]), this.instruction(n, i)) else x(t) && (t = t.apply()), (a = new m(this, e, t)), this.onData( this.writer.processingInstruction(a, this.writerOptions, this.currentLevel + 1), this.currentLevel + 1 ) return this }), (e.prototype.declaration = function (e, t, r) { var n if ((this.openCurrent(), this.documentStarted)) throw new Error("declaration() must be the first node.") return ( (n = new f(this, e, t, r)), this.onData(this.writer.declaration(n, this.writerOptions, this.currentLevel + 1), this.currentLevel + 1), this ) }), (e.prototype.doctype = function (e, t, r) { if ((this.openCurrent(), null == e)) throw new Error("Missing root node name.") if (this.root) throw new Error("dtd() must come before the root node.") return ( (this.currentNode = new p(this, t, r)), (this.currentNode.rootNodeName = e), (this.currentNode.children = !1), this.currentLevel++, (this.openTags[this.currentLevel] = this.currentNode), this ) }), (e.prototype.dtdElement = function (e, t) { var r return ( this.openCurrent(), (r = new l(this, e, t)), this.onData(this.writer.dtdElement(r, this.writerOptions, this.currentLevel + 1), this.currentLevel + 1), this ) }), (e.prototype.attList = function (e, t, r, n, i) { var o return ( this.openCurrent(), (o = new s(this, e, t, r, n, i)), this.onData(this.writer.dtdAttList(o, this.writerOptions, this.currentLevel + 1), this.currentLevel + 1), this ) }), (e.prototype.entity = function (e, t) { var r return ( this.openCurrent(), (r = new c(this, !1, e, t)), this.onData(this.writer.dtdEntity(r, this.writerOptions, this.currentLevel + 1), this.currentLevel + 1), this ) }), (e.prototype.pEntity = function (e, t) { var r return ( this.openCurrent(), (r = new c(this, !0, e, t)), this.onData(this.writer.dtdEntity(r, this.writerOptions, this.currentLevel + 1), this.currentLevel + 1), this ) }), (e.prototype.notation = function (e, t) { var r return ( this.openCurrent(), (r = new u(this, e, t)), this.onData(this.writer.dtdNotation(r, this.writerOptions, this.currentLevel + 1), this.currentLevel + 1), this ) }), (e.prototype.up = function () { if (this.currentLevel < 0) throw new Error("The document node has no parent.") return ( this.currentNode ? (this.currentNode.children ? this.closeNode(this.currentNode) : this.openNode(this.currentNode), (this.currentNode = null)) : this.closeNode(this.openTags[this.currentLevel]), delete this.openTags[this.currentLevel], this.currentLevel--, this ) }), (e.prototype.end = function () { while (this.currentLevel >= 0) this.up() return this.onEnd() }), (e.prototype.openCurrent = function () { if (this.currentNode) return (this.currentNode.children = !0), this.openNode(this.currentNode) }), (e.prototype.openNode = function (e) { var t, i, o, a if (!e.isOpen) { if ( (this.root || 0 !== this.currentLevel || e.type !== r.Element || (this.root = e), (i = ""), e.type === r.Element) ) { for (o in ((this.writerOptions.state = n.OpenTag), (i = this.writer.indent(e, this.writerOptions, this.currentLevel) + "<" + e.name), (a = e.attribs), a)) E.call(a, o) && ((t = a[o]), (i += this.writer.attribute(t, this.writerOptions, this.currentLevel))) ;(i += (e.children ? ">" : "/>") + this.writer.endline(e, this.writerOptions, this.currentLevel)), (this.writerOptions.state = n.InsideTag) } else (this.writerOptions.state = n.OpenTag), (i = this.writer.indent(e, this.writerOptions, this.currentLevel) + "")), (i += this.writer.endline(e, this.writerOptions, this.currentLevel)) return this.onData(i, this.currentLevel), (e.isOpen = !0) } }), (e.prototype.closeNode = function (e) { var t if (!e.isClosed) return ( (t = ""), (this.writerOptions.state = n.CloseTag), (t = e.type === r.Element ? this.writer.indent(e, this.writerOptions, this.currentLevel) + "" + e.name + ">" + this.writer.endline(e, this.writerOptions, this.currentLevel) : this.writer.indent(e, this.writerOptions, this.currentLevel) + "]>" + this.writer.endline(e, this.writerOptions, this.currentLevel)), (this.writerOptions.state = n.None), this.onData(t, this.currentLevel), (e.isClosed = !0) ) }), (e.prototype.onData = function (e, t) { return (this.documentStarted = !0), this.onDataCallback(e, t + 1) }), (e.prototype.onEnd = function () { return (this.documentCompleted = !0), this.onEndCallback() }), (e.prototype.debugInfo = function (e) { return null == e ? "" : "node: <" + e + ">" }), (e.prototype.ele = function () { return this.element.apply(this, arguments) }), (e.prototype.nod = function (e, t, r) { return this.node(e, t, r) }), (e.prototype.txt = function (e) { return this.text(e) }), (e.prototype.dat = function (e) { return this.cdata(e) }), (e.prototype.com = function (e) { return this.comment(e) }), (e.prototype.ins = function (e, t) { return this.instruction(e, t) }), (e.prototype.dec = function (e, t, r) { return this.declaration(e, t, r) }), (e.prototype.dtd = function (e, t, r) { return this.doctype(e, t, r) }), (e.prototype.e = function (e, t, r) { return this.element(e, t, r) }), (e.prototype.n = function (e, t, r) { return this.node(e, t, r) }), (e.prototype.t = function (e) { return this.text(e) }), (e.prototype.d = function (e) { return this.cdata(e) }), (e.prototype.c = function (e) { return this.comment(e) }), (e.prototype.r = function (e) { return this.raw(e) }), (e.prototype.i = function (e, t) { return this.instruction(e, t) }), (e.prototype.att = function () { return this.currentNode && this.currentNode.type === r.DocType ? this.attList.apply(this, arguments) : this.attribute.apply(this, arguments) }), (e.prototype.a = function () { return this.currentNode && this.currentNode.type === r.DocType ? this.attList.apply(this, arguments) : this.attribute.apply(this, arguments) }), (e.prototype.ent = function (e, t) { return this.entity(e, t) }), (e.prototype.pent = function (e, t) { return this.pEntity(e, t) }), (e.prototype.not = function (e, t) { return this.notation(e, t) }), e ) })()) }).call(this) }, { "./NodeType": 353, "./Utility": 354, "./WriterState": 355, "./XMLAttribute": 356, "./XMLCData": 357, "./XMLComment": 359, "./XMLDTDAttList": 364, "./XMLDTDElement": 365, "./XMLDTDEntity": 366, "./XMLDTDNotation": 367, "./XMLDeclaration": 368, "./XMLDocType": 369, "./XMLDocument": 370, "./XMLElement": 373, "./XMLProcessingInstruction": 377, "./XMLRaw": 378, "./XMLStringWriter": 380, "./XMLStringifier": 381, "./XMLText": 382 } ], 372: [ function (e, t, r) { ;(function () { var r, n, i = function (e, t) { for (var r in t) o.call(t, r) && (e[r] = t[r]) function n() { this.constructor = e } return (n.prototype = t.prototype), (e.prototype = new n()), (e.__super__ = t.prototype), e }, o = {}.hasOwnProperty ;(n = e("./XMLNode")), (r = e("./NodeType")), (t.exports = (function (e) { function t(e) { t.__super__.constructor.call(this, e), (this.type = r.Dummy) } return ( i(t, e), (t.prototype.clone = function () { return Object.create(this) }), (t.prototype.toString = function (e) { return "" }), t ) })(n)) }).call(this) }, { "./NodeType": 353, "./XMLNode": 375 } ], 373: [ function (e, t, r) { ;(function () { var r, n, i, o, a, s, l, c, u = function (e, t) { for (var r in t) f.call(t, r) && (e[r] = t[r]) function n() { this.constructor = e } return (n.prototype = t.prototype), (e.prototype = new n()), (e.__super__ = t.prototype), e }, f = {}.hasOwnProperty ;(c = e("./Utility")), (l = c.isObject), (s = c.isFunction), (a = c.getValue), (o = e("./XMLNode")), (r = e("./NodeType")), (n = e("./XMLAttribute")), (i = e("./XMLNamedNodeMap")), (t.exports = (function (e) { function t(e, n, i) { var o, a, s, l if ((t.__super__.constructor.call(this, e), null == n)) throw new Error("Missing element name. " + this.debugInfo()) if ( ((this.name = this.stringify.name(n)), (this.type = r.Element), (this.attribs = {}), (this.schemaTypeInfo = null), null != i && this.attribute(i), e.type === r.Document && ((this.isRoot = !0), (this.documentObject = e), (e.rootObject = this), e.children)) ) for (l = e.children, a = 0, s = l.length; a < s; a++) if (((o = l[a]), o.type === r.DocType)) { o.name = this.name break } } return ( u(t, e), Object.defineProperty(t.prototype, "tagName", { get: function () { return this.name } }), Object.defineProperty(t.prototype, "namespaceURI", { get: function () { return "" } }), Object.defineProperty(t.prototype, "prefix", { get: function () { return "" } }), Object.defineProperty(t.prototype, "localName", { get: function () { return this.name } }), Object.defineProperty(t.prototype, "id", { get: function () { throw new Error("This DOM method is not implemented." + this.debugInfo()) } }), Object.defineProperty(t.prototype, "className", { get: function () { throw new Error("This DOM method is not implemented." + this.debugInfo()) } }), Object.defineProperty(t.prototype, "classList", { get: function () { throw new Error("This DOM method is not implemented." + this.debugInfo()) } }), Object.defineProperty(t.prototype, "attributes", { get: function () { return ( (this.attributeMap && this.attributeMap.nodes) || (this.attributeMap = new i(this.attribs)), this.attributeMap ) } }), (t.prototype.clone = function () { var e, t, r, n for (t in ((r = Object.create(this)), r.isRoot && (r.documentObject = null), (r.attribs = {}), (n = this.attribs), n)) f.call(n, t) && ((e = n[t]), (r.attribs[t] = e.clone())) return ( (r.children = []), this.children.forEach(function (e) { var t return (t = e.clone()), (t.parent = r), r.children.push(t) }), r ) }), (t.prototype.attribute = function (e, t) { var r, i if ((null != e && (e = a(e)), l(e))) for (r in e) f.call(e, r) && ((i = e[r]), this.attribute(r, i)) else s(t) && (t = t.apply()), this.options.keepNullAttributes && null == t ? (this.attribs[e] = new n(this, e, "")) : null != t && (this.attribs[e] = new n(this, e, t)) return this }), (t.prototype.removeAttribute = function (e) { var t, r, n if (null == e) throw new Error("Missing attribute name. " + this.debugInfo()) if (((e = a(e)), Array.isArray(e))) for (r = 0, n = e.length; r < n; r++) (t = e[r]), delete this.attribs[t] else delete this.attribs[e] return this }), (t.prototype.toString = function (e) { return this.options.writer.element(this, this.options.writer.filterOptions(e)) }), (t.prototype.att = function (e, t) { return this.attribute(e, t) }), (t.prototype.a = function (e, t) { return this.attribute(e, t) }), (t.prototype.getAttribute = function (e) { return this.attribs.hasOwnProperty(e) ? this.attribs[e].value : null }), (t.prototype.setAttribute = function (e, t) { throw new Error("This DOM method is not implemented." + this.debugInfo()) }), (t.prototype.getAttributeNode = function (e) { return this.attribs.hasOwnProperty(e) ? this.attribs[e] : null }), (t.prototype.setAttributeNode = function (e) { throw new Error("This DOM method is not implemented." + this.debugInfo()) }), (t.prototype.removeAttributeNode = function (e) { throw new Error("This DOM method is not implemented." + this.debugInfo()) }), (t.prototype.getElementsByTagName = function (e) { throw new Error("This DOM method is not implemented." + this.debugInfo()) }), (t.prototype.getAttributeNS = function (e, t) { throw new Error("This DOM method is not implemented." + this.debugInfo()) }), (t.prototype.setAttributeNS = function (e, t, r) { throw new Error("This DOM method is not implemented." + this.debugInfo()) }), (t.prototype.removeAttributeNS = function (e, t) { throw new Error("This DOM method is not implemented." + this.debugInfo()) }), (t.prototype.getAttributeNodeNS = function (e, t) { throw new Error("This DOM method is not implemented." + this.debugInfo()) }), (t.prototype.setAttributeNodeNS = function (e) { throw new Error("This DOM method is not implemented." + this.debugInfo()) }), (t.prototype.getElementsByTagNameNS = function (e, t) { throw new Error("This DOM method is not implemented." + this.debugInfo()) }), (t.prototype.hasAttribute = function (e) { return this.attribs.hasOwnProperty(e) }), (t.prototype.hasAttributeNS = function (e, t) { throw new Error("This DOM method is not implemented." + this.debugInfo()) }), (t.prototype.setIdAttribute = function (e, t) { return this.attribs.hasOwnProperty(e) ? this.attribs[e].isId : t }), (t.prototype.setIdAttributeNS = function (e, t, r) { throw new Error("This DOM method is not implemented." + this.debugInfo()) }), (t.prototype.setIdAttributeNode = function (e, t) { throw new Error("This DOM method is not implemented." + this.debugInfo()) }), (t.prototype.getElementsByTagName = function (e) { throw new Error("This DOM method is not implemented." + this.debugInfo()) }), (t.prototype.getElementsByTagNameNS = function (e, t) { throw new Error("This DOM method is not implemented." + this.debugInfo()) }), (t.prototype.getElementsByClassName = function (e) { throw new Error("This DOM method is not implemented." + this.debugInfo()) }), (t.prototype.isEqualNode = function (e) { var r, n, i if (!t.__super__.isEqualNode.apply(this, arguments).isEqualNode(e)) return !1 if (e.namespaceURI !== this.namespaceURI) return !1 if (e.prefix !== this.prefix) return !1 if (e.localName !== this.localName) return !1 if (e.attribs.length !== this.attribs.length) return !1 for (r = n = 0, i = this.attribs.length - 1; 0 <= i ? n <= i : n >= i; r = 0 <= i ? ++n : --n) if (!this.attribs[r].isEqualNode(e.attribs[r])) return !1 return !0 }), t ) })(o)) }).call(this) }, { "./NodeType": 353, "./Utility": 354, "./XMLAttribute": 356, "./XMLNamedNodeMap": 374, "./XMLNode": 375 } ], 374: [ function (e, t, r) { ;(function () { t.exports = (function () { function e(e) { this.nodes = e } return ( Object.defineProperty(e.prototype, "length", { get: function () { return Object.keys(this.nodes).length || 0 } }), (e.prototype.clone = function () { return (this.nodes = null) }), (e.prototype.getNamedItem = function (e) { return this.nodes[e] }), (e.prototype.setNamedItem = function (e) { var t return (t = this.nodes[e.nodeName]), (this.nodes[e.nodeName] = e), t || null }), (e.prototype.removeNamedItem = function (e) { var t return (t = this.nodes[e]), delete this.nodes[e], t || null }), (e.prototype.item = function (e) { return this.nodes[Object.keys(this.nodes)[e]] || null }), (e.prototype.getNamedItemNS = function (e, t) { throw new Error("This DOM method is not implemented.") }), (e.prototype.setNamedItemNS = function (e) { throw new Error("This DOM method is not implemented.") }), (e.prototype.removeNamedItemNS = function (e, t) { throw new Error("This DOM method is not implemented.") }), e ) })() }).call(this) }, {} ], 375: [ function (e, t, r) { ;(function () { var r, n, i, o, a, s, l, c, u, f, p, d, h, m, g, y, v, b = {}.hasOwnProperty ;(v = e("./Utility")), (y = v.isObject), (g = v.isFunction), (m = v.isEmpty), (h = v.getValue), (c = null), (i = null), (o = null), (a = null), (s = null), (p = null), (d = null), (f = null), (l = null), (n = null), (u = null), (r = null), (t.exports = (function () { function t(t) { ;(this.parent = t), this.parent && ((this.options = this.parent.options), (this.stringify = this.parent.stringify)), (this.value = null), (this.children = []), (this.baseURI = null), c || ((c = e("./XMLElement")), (i = e("./XMLCData")), (o = e("./XMLComment")), (a = e("./XMLDeclaration")), (s = e("./XMLDocType")), (p = e("./XMLRaw")), (d = e("./XMLText")), (f = e("./XMLProcessingInstruction")), (l = e("./XMLDummy")), (n = e("./NodeType")), (u = e("./XMLNodeList")), e("./XMLNamedNodeMap"), (r = e("./DocumentPosition"))) } return ( Object.defineProperty(t.prototype, "nodeName", { get: function () { return this.name } }), Object.defineProperty(t.prototype, "nodeType", { get: function () { return this.type } }), Object.defineProperty(t.prototype, "nodeValue", { get: function () { return this.value } }), Object.defineProperty(t.prototype, "parentNode", { get: function () { return this.parent } }), Object.defineProperty(t.prototype, "childNodes", { get: function () { return ( (this.childNodeList && this.childNodeList.nodes) || (this.childNodeList = new u(this.children)), this.childNodeList ) } }), Object.defineProperty(t.prototype, "firstChild", { get: function () { return this.children[0] || null } }), Object.defineProperty(t.prototype, "lastChild", { get: function () { return this.children[this.children.length - 1] || null } }), Object.defineProperty(t.prototype, "previousSibling", { get: function () { var e return (e = this.parent.children.indexOf(this)), this.parent.children[e - 1] || null } }), Object.defineProperty(t.prototype, "nextSibling", { get: function () { var e return (e = this.parent.children.indexOf(this)), this.parent.children[e + 1] || null } }), Object.defineProperty(t.prototype, "ownerDocument", { get: function () { return this.document() || null } }), Object.defineProperty(t.prototype, "textContent", { get: function () { var e, t, r, i, o if (this.nodeType === n.Element || this.nodeType === n.DocumentFragment) { for (o = "", i = this.children, t = 0, r = i.length; t < r; t++) (e = i[t]), e.textContent && (o += e.textContent) return o } return null }, set: function (e) { throw new Error("This DOM method is not implemented." + this.debugInfo()) } }), (t.prototype.setParent = function (e) { var t, r, n, i, o for ( this.parent = e, e && ((this.options = e.options), (this.stringify = e.stringify)), i = this.children, o = [], r = 0, n = i.length; r < n; r++ ) (t = i[r]), o.push(t.setParent(this)) return o }), (t.prototype.element = function (e, t, r) { var n, i, o, a, s, l, c, u, f, p, d if ( ((l = null), null === t && null == r && ((f = [{}, null]), (t = f[0]), (r = f[1])), null == t && (t = {}), (t = h(t)), y(t) || ((p = [t, r]), (r = p[0]), (t = p[1])), null != e && (e = h(e)), Array.isArray(e)) ) for (o = 0, c = e.length; o < c; o++) (i = e[o]), (l = this.element(i)) else if (g(e)) l = this.element(e.apply()) else if (y(e)) { for (s in e) if (b.call(e, s)) if ( ((d = e[s]), g(d) && (d = d.apply()), !this.options.ignoreDecorators && this.stringify.convertAttKey && 0 === s.indexOf(this.stringify.convertAttKey)) ) l = this.attribute(s.substr(this.stringify.convertAttKey.length), d) else if (!this.options.separateArrayItems && Array.isArray(d) && m(d)) l = this.dummy() else if (y(d) && m(d)) l = this.element(s) else if (this.options.keepNullNodes || null != d) if (!this.options.separateArrayItems && Array.isArray(d)) for (a = 0, u = d.length; a < u; a++) (i = d[a]), (n = {}), (n[s] = i), (l = this.element(n)) else y(d) ? !this.options.ignoreDecorators && this.stringify.convertTextKey && 0 === s.indexOf(this.stringify.convertTextKey) ? (l = this.element(d)) : ((l = this.element(s)), l.element(d)) : (l = this.element(s, d)) else l = this.dummy() } else l = this.options.keepNullNodes || null !== r ? !this.options.ignoreDecorators && this.stringify.convertTextKey && 0 === e.indexOf(this.stringify.convertTextKey) ? this.text(r) : !this.options.ignoreDecorators && this.stringify.convertCDataKey && 0 === e.indexOf(this.stringify.convertCDataKey) ? this.cdata(r) : !this.options.ignoreDecorators && this.stringify.convertCommentKey && 0 === e.indexOf(this.stringify.convertCommentKey) ? this.comment(r) : !this.options.ignoreDecorators && this.stringify.convertRawKey && 0 === e.indexOf(this.stringify.convertRawKey) ? this.raw(r) : !this.options.ignoreDecorators && this.stringify.convertPIKey && 0 === e.indexOf(this.stringify.convertPIKey) ? this.instruction(e.substr(this.stringify.convertPIKey.length), r) : this.node(e, t, r) : this.dummy() if (null == l) throw new Error("Could not create any elements with: " + e + ". " + this.debugInfo()) return l }), (t.prototype.insertBefore = function (e, t, r) { var n, i, o, a, s if (null != e ? e.type : void 0) return ( (o = e), (a = t), o.setParent(this), a ? ((i = children.indexOf(a)), (s = children.splice(i)), children.push(o), Array.prototype.push.apply(children, s)) : children.push(o), o ) if (this.isRoot) throw new Error("Cannot insert elements at root level. " + this.debugInfo(e)) return ( (i = this.parent.children.indexOf(this)), (s = this.parent.children.splice(i)), (n = this.parent.element(e, t, r)), Array.prototype.push.apply(this.parent.children, s), n ) }), (t.prototype.insertAfter = function (e, t, r) { var n, i, o if (this.isRoot) throw new Error("Cannot insert elements at root level. " + this.debugInfo(e)) return ( (i = this.parent.children.indexOf(this)), (o = this.parent.children.splice(i + 1)), (n = this.parent.element(e, t, r)), Array.prototype.push.apply(this.parent.children, o), n ) }), (t.prototype.remove = function () { var e if (this.isRoot) throw new Error("Cannot remove the root element. " + this.debugInfo()) return ( (e = this.parent.children.indexOf(this)), [].splice.apply(this.parent.children, [e, e - e + 1].concat([])), this.parent ) }), (t.prototype.node = function (e, t, r) { var n, i return ( null != e && (e = h(e)), t || (t = {}), (t = h(t)), y(t) || ((i = [t, r]), (r = i[0]), (t = i[1])), (n = new c(this, e, t)), null != r && n.text(r), this.children.push(n), n ) }), (t.prototype.text = function (e) { var t return y(e) && this.element(e), (t = new d(this, e)), this.children.push(t), this }), (t.prototype.cdata = function (e) { var t return (t = new i(this, e)), this.children.push(t), this }), (t.prototype.comment = function (e) { var t return (t = new o(this, e)), this.children.push(t), this }), (t.prototype.commentBefore = function (e) { var t, r return ( (t = this.parent.children.indexOf(this)), (r = this.parent.children.splice(t)), this.parent.comment(e), Array.prototype.push.apply(this.parent.children, r), this ) }), (t.prototype.commentAfter = function (e) { var t, r return ( (t = this.parent.children.indexOf(this)), (r = this.parent.children.splice(t + 1)), this.parent.comment(e), Array.prototype.push.apply(this.parent.children, r), this ) }), (t.prototype.raw = function (e) { var t return (t = new p(this, e)), this.children.push(t), this }), (t.prototype.dummy = function () { var e return (e = new l(this)), e }), (t.prototype.instruction = function (e, t) { var r, n, i, o, a if ((null != e && (e = h(e)), null != t && (t = h(t)), Array.isArray(e))) for (o = 0, a = e.length; o < a; o++) (r = e[o]), this.instruction(r) else if (y(e)) for (r in e) b.call(e, r) && ((n = e[r]), this.instruction(r, n)) else g(t) && (t = t.apply()), (i = new f(this, e, t)), this.children.push(i) return this }), (t.prototype.instructionBefore = function (e, t) { var r, n return ( (r = this.parent.children.indexOf(this)), (n = this.parent.children.splice(r)), this.parent.instruction(e, t), Array.prototype.push.apply(this.parent.children, n), this ) }), (t.prototype.instructionAfter = function (e, t) { var r, n return ( (r = this.parent.children.indexOf(this)), (n = this.parent.children.splice(r + 1)), this.parent.instruction(e, t), Array.prototype.push.apply(this.parent.children, n), this ) }), (t.prototype.declaration = function (e, t, r) { var i, o return ( (i = this.document()), (o = new a(i, e, t, r)), 0 === i.children.length ? i.children.unshift(o) : i.children[0].type === n.Declaration ? (i.children[0] = o) : i.children.unshift(o), i.root() || i ) }), (t.prototype.dtd = function (e, t) { var r, i, o, a, l, c, u, f, p, d for (i = this.document(), o = new s(i, e, t), p = i.children, a = l = 0, u = p.length; l < u; a = ++l) if (((r = p[a]), r.type === n.DocType)) return (i.children[a] = o), o for (d = i.children, a = c = 0, f = d.length; c < f; a = ++c) if (((r = d[a]), r.isRoot)) return i.children.splice(a, 0, o), o return i.children.push(o), o }), (t.prototype.up = function () { if (this.isRoot) throw new Error("The root node has no parent. Use doc() if you need to get the document object.") return this.parent }), (t.prototype.root = function () { var e e = this while (e) { if (e.type === n.Document) return e.rootObject if (e.isRoot) return e e = e.parent } }), (t.prototype.document = function () { var e e = this while (e) { if (e.type === n.Document) return e e = e.parent } }), (t.prototype.end = function (e) { return this.document().end(e) }), (t.prototype.prev = function () { var e if (((e = this.parent.children.indexOf(this)), e < 1)) throw new Error("Already at the first node. " + this.debugInfo()) return this.parent.children[e - 1] }), (t.prototype.next = function () { var e if (((e = this.parent.children.indexOf(this)), -1 === e || e === this.parent.children.length - 1)) throw new Error("Already at the last node. " + this.debugInfo()) return this.parent.children[e + 1] }), (t.prototype.importDocument = function (e) { var t return (t = e.root().clone()), (t.parent = this), (t.isRoot = !1), this.children.push(t), this }), (t.prototype.debugInfo = function (e) { var t, r return ( (e = e || this.name), null != e || (null != (t = this.parent) ? t.name : void 0) ? null == e ? "parent: <" + this.parent.name + ">" : (null != (r = this.parent) ? r.name : void 0) ? "node: <" + e + ">, parent: <" + this.parent.name + ">" : "node: <" + e + ">" : "" ) }), (t.prototype.ele = function (e, t, r) { return this.element(e, t, r) }), (t.prototype.nod = function (e, t, r) { return this.node(e, t, r) }), (t.prototype.txt = function (e) { return this.text(e) }), (t.prototype.dat = function (e) { return this.cdata(e) }), (t.prototype.com = function (e) { return this.comment(e) }), (t.prototype.ins = function (e, t) { return this.instruction(e, t) }), (t.prototype.doc = function () { return this.document() }), (t.prototype.dec = function (e, t, r) { return this.declaration(e, t, r) }), (t.prototype.e = function (e, t, r) { return this.element(e, t, r) }), (t.prototype.n = function (e, t, r) { return this.node(e, t, r) }), (t.prototype.t = function (e) { return this.text(e) }), (t.prototype.d = function (e) { return this.cdata(e) }), (t.prototype.c = function (e) { return this.comment(e) }), (t.prototype.r = function (e) { return this.raw(e) }), (t.prototype.i = function (e, t) { return this.instruction(e, t) }), (t.prototype.u = function () { return this.up() }), (t.prototype.importXMLBuilder = function (e) { return this.importDocument(e) }), (t.prototype.replaceChild = function (e, t) { throw new Error("This DOM method is not implemented." + this.debugInfo()) }), (t.prototype.removeChild = function (e) { throw new Error("This DOM method is not implemented." + this.debugInfo()) }), (t.prototype.appendChild = function (e) { throw new Error("This DOM method is not implemented." + this.debugInfo()) }), (t.prototype.hasChildNodes = function () { return 0 !== this.children.length }), (t.prototype.cloneNode = function (e) { throw new Error("This DOM method is not implemented." + this.debugInfo()) }), (t.prototype.normalize = function () { throw new Error("This DOM method is not implemented." + this.debugInfo()) }), (t.prototype.isSupported = function (e, t) { return !0 }), (t.prototype.hasAttributes = function () { return 0 !== this.attribs.length }), (t.prototype.compareDocumentPosition = function (e) { var t, n return ( (t = this), t === e ? 0 : this.document() !== e.document() ? ((n = r.Disconnected | r.ImplementationSpecific), Math.random() < 0.5 ? (n |= r.Preceding) : (n |= r.Following), n) : t.isAncestor(e) ? r.Contains | r.Preceding : t.isDescendant(e) ? r.Contains | r.Following : t.isPreceding(e) ? r.Preceding : r.Following ) }), (t.prototype.isSameNode = function (e) { throw new Error("This DOM method is not implemented." + this.debugInfo()) }), (t.prototype.lookupPrefix = function (e) { throw new Error("This DOM method is not implemented." + this.debugInfo()) }), (t.prototype.isDefaultNamespace = function (e) { throw new Error("This DOM method is not implemented." + this.debugInfo()) }), (t.prototype.lookupNamespaceURI = function (e) { throw new Error("This DOM method is not implemented." + this.debugInfo()) }), (t.prototype.isEqualNode = function (e) { var t, r, n if (e.nodeType !== this.nodeType) return !1 if (e.children.length !== this.children.length) return !1 for (t = r = 0, n = this.children.length - 1; 0 <= n ? r <= n : r >= n; t = 0 <= n ? ++r : --r) if (!this.children[t].isEqualNode(e.children[t])) return !1 return !0 }), (t.prototype.getFeature = function (e, t) { throw new Error("This DOM method is not implemented." + this.debugInfo()) }), (t.prototype.setUserData = function (e, t, r) { throw new Error("This DOM method is not implemented." + this.debugInfo()) }), (t.prototype.getUserData = function (e) { throw new Error("This DOM method is not implemented." + this.debugInfo()) }), (t.prototype.contains = function (e) { return !!e && (e === this || this.isDescendant(e)) }), (t.prototype.isDescendant = function (e) { var t, r, n, i, o for (o = this.children, n = 0, i = o.length; n < i; n++) { if (((t = o[n]), e === t)) return !0 if (((r = t.isDescendant(e)), r)) return !0 } return !1 }), (t.prototype.isAncestor = function (e) { return e.isDescendant(this) }), (t.prototype.isPreceding = function (e) { var t, r return (t = this.treePosition(e)), (r = this.treePosition(this)), -1 !== t && -1 !== r && t < r }), (t.prototype.isFollowing = function (e) { var t, r return (t = this.treePosition(e)), (r = this.treePosition(this)), -1 !== t && -1 !== r && t > r }), (t.prototype.treePosition = function (e) { var t, r return ( (r = 0), (t = !1), this.foreachTreeNode(this.document(), function (n) { if ((r++, !t && n === e)) return (t = !0) }), t ? r : -1 ) }), (t.prototype.foreachTreeNode = function (e, t) { var r, n, i, o, a for (e || (e = this.document()), o = e.children, n = 0, i = o.length; n < i; n++) { if (((r = o[n]), (a = t(r)))) return a if (((a = this.foreachTreeNode(r, t)), a)) return a } }), t ) })()) }).call(this) }, { "./DocumentPosition": 352, "./NodeType": 353, "./Utility": 354, "./XMLCData": 357, "./XMLComment": 359, "./XMLDeclaration": 368, "./XMLDocType": 369, "./XMLDummy": 372, "./XMLElement": 373, "./XMLNamedNodeMap": 374, "./XMLNodeList": 376, "./XMLProcessingInstruction": 377, "./XMLRaw": 378, "./XMLText": 382 } ], 376: [ function (e, t, r) { ;(function () { t.exports = (function () { function e(e) { this.nodes = e } return ( Object.defineProperty(e.prototype, "length", { get: function () { return this.nodes.length || 0 } }), (e.prototype.clone = function () { return (this.nodes = null) }), (e.prototype.item = function (e) { return this.nodes[e] || null }), e ) })() }).call(this) }, {} ], 377: [ function (e, t, r) { ;(function () { var r, n, i = function (e, t) { for (var r in t) o.call(t, r) && (e[r] = t[r]) function n() { this.constructor = e } return (n.prototype = t.prototype), (e.prototype = new n()), (e.__super__ = t.prototype), e }, o = {}.hasOwnProperty ;(r = e("./NodeType")), (n = e("./XMLCharacterData")), (t.exports = (function (e) { function t(e, n, i) { if ((t.__super__.constructor.call(this, e), null == n)) throw new Error("Missing instruction target. " + this.debugInfo()) ;(this.type = r.ProcessingInstruction), (this.target = this.stringify.insTarget(n)), (this.name = this.target), i && (this.value = this.stringify.insValue(i)) } return ( i(t, e), (t.prototype.clone = function () { return Object.create(this) }), (t.prototype.toString = function (e) { return this.options.writer.processingInstruction(this, this.options.writer.filterOptions(e)) }), (t.prototype.isEqualNode = function (e) { return !!t.__super__.isEqualNode.apply(this, arguments).isEqualNode(e) && e.target === this.target }), t ) })(n)) }).call(this) }, { "./NodeType": 353, "./XMLCharacterData": 358 } ], 378: [ function (e, t, r) { ;(function () { var r, n, i = function (e, t) { for (var r in t) o.call(t, r) && (e[r] = t[r]) function n() { this.constructor = e } return (n.prototype = t.prototype), (e.prototype = new n()), (e.__super__ = t.prototype), e }, o = {}.hasOwnProperty ;(r = e("./NodeType")), (n = e("./XMLNode")), (t.exports = (function (e) { function t(e, n) { if ((t.__super__.constructor.call(this, e), null == n)) throw new Error("Missing raw text. " + this.debugInfo()) ;(this.type = r.Raw), (this.value = this.stringify.raw(n)) } return ( i(t, e), (t.prototype.clone = function () { return Object.create(this) }), (t.prototype.toString = function (e) { return this.options.writer.raw(this, this.options.writer.filterOptions(e)) }), t ) })(n)) }).call(this) }, { "./NodeType": 353, "./XMLNode": 375 } ], 379: [ function (e, t, r) { ;(function () { var r, n, i, o = function (e, t) { for (var r in t) a.call(t, r) && (e[r] = t[r]) function n() { this.constructor = e } return (n.prototype = t.prototype), (e.prototype = new n()), (e.__super__ = t.prototype), e }, a = {}.hasOwnProperty ;(r = e("./NodeType")), (i = e("./XMLWriterBase")), (n = e("./WriterState")), (t.exports = (function (e) { function t(e, r) { ;(this.stream = e), t.__super__.constructor.call(this, r) } return ( o(t, e), (t.prototype.endline = function (e, r, i) { return e.isLastRootNode && r.state === n.CloseTag ? "" : t.__super__.endline.call(this, e, r, i) }), (t.prototype.document = function (e, t) { var r, n, i, o, a, s, l, c, u for (l = e.children, n = i = 0, a = l.length; i < a; n = ++i) (r = l[n]), (r.isLastRootNode = n === e.children.length - 1) for (t = this.filterOptions(t), c = e.children, u = [], o = 0, s = c.length; o < s; o++) (r = c[o]), u.push(this.writeChildNode(r, t, 0)) return u }), (t.prototype.attribute = function (e, r, n) { return this.stream.write(t.__super__.attribute.call(this, e, r, n)) }), (t.prototype.cdata = function (e, r, n) { return this.stream.write(t.__super__.cdata.call(this, e, r, n)) }), (t.prototype.comment = function (e, r, n) { return this.stream.write(t.__super__.comment.call(this, e, r, n)) }), (t.prototype.declaration = function (e, r, n) { return this.stream.write(t.__super__.declaration.call(this, e, r, n)) }), (t.prototype.docType = function (e, t, r) { var i, o, a, s if ( (r || (r = 0), this.openNode(e, t, r), (t.state = n.OpenTag), this.stream.write(this.indent(e, t, r)), this.stream.write(" 0) ) { for ( this.stream.write(" ["), this.stream.write(this.endline(e, t, r)), t.state = n.InsideTag, s = e.children, o = 0, a = s.length; o < a; o++ ) (i = s[o]), this.writeChildNode(i, t, r + 1) ;(t.state = n.CloseTag), this.stream.write("]") } return ( (t.state = n.CloseTag), this.stream.write(t.spaceBeforeSlash + ">"), this.stream.write(this.endline(e, t, r)), (t.state = n.None), this.closeNode(e, t, r) ) }), (t.prototype.element = function (e, t, i) { var o, s, l, c, u, f, p, d, h for (p in (i || (i = 0), this.openNode(e, t, i), (t.state = n.OpenTag), this.stream.write(this.indent(e, t, i) + "<" + e.name), (d = e.attribs), d)) a.call(d, p) && ((o = d[p]), this.attribute(o, t, i)) if ( ((l = e.children.length), (c = 0 === l ? null : e.children[0]), 0 === l || e.children.every(function (e) { return (e.type === r.Text || e.type === r.Raw) && "" === e.value })) ) t.allowEmpty ? (this.stream.write(">"), (t.state = n.CloseTag), this.stream.write("" + e.name + ">")) : ((t.state = n.CloseTag), this.stream.write(t.spaceBeforeSlash + "/>")) else if (!t.pretty || 1 !== l || (c.type !== r.Text && c.type !== r.Raw) || null == c.value) { for ( this.stream.write(">" + this.endline(e, t, i)), t.state = n.InsideTag, h = e.children, u = 0, f = h.length; u < f; u++ ) (s = h[u]), this.writeChildNode(s, t, i + 1) ;(t.state = n.CloseTag), this.stream.write(this.indent(e, t, i) + "" + e.name + ">") } else this.stream.write(">"), (t.state = n.InsideTag), t.suppressPrettyCount++, !0, this.writeChildNode(c, t, i + 1), t.suppressPrettyCount--, !1, (t.state = n.CloseTag), this.stream.write("" + e.name + ">") return this.stream.write(this.endline(e, t, i)), (t.state = n.None), this.closeNode(e, t, i) }), (t.prototype.processingInstruction = function (e, r, n) { return this.stream.write(t.__super__.processingInstruction.call(this, e, r, n)) }), (t.prototype.raw = function (e, r, n) { return this.stream.write(t.__super__.raw.call(this, e, r, n)) }), (t.prototype.text = function (e, r, n) { return this.stream.write(t.__super__.text.call(this, e, r, n)) }), (t.prototype.dtdAttList = function (e, r, n) { return this.stream.write(t.__super__.dtdAttList.call(this, e, r, n)) }), (t.prototype.dtdElement = function (e, r, n) { return this.stream.write(t.__super__.dtdElement.call(this, e, r, n)) }), (t.prototype.dtdEntity = function (e, r, n) { return this.stream.write(t.__super__.dtdEntity.call(this, e, r, n)) }), (t.prototype.dtdNotation = function (e, r, n) { return this.stream.write(t.__super__.dtdNotation.call(this, e, r, n)) }), t ) })(i)) }).call(this) }, { "./NodeType": 353, "./WriterState": 355, "./XMLWriterBase": 383 } ], 380: [ function (e, t, r) { ;(function () { var r, n = function (e, t) { for (var r in t) i.call(t, r) && (e[r] = t[r]) function n() { this.constructor = e } return (n.prototype = t.prototype), (e.prototype = new n()), (e.__super__ = t.prototype), e }, i = {}.hasOwnProperty ;(r = e("./XMLWriterBase")), (t.exports = (function (e) { function t(e) { t.__super__.constructor.call(this, e) } return ( n(t, e), (t.prototype.document = function (e, t) { var r, n, i, o, a for (t = this.filterOptions(t), o = "", a = e.children, n = 0, i = a.length; n < i; n++) (r = a[n]), (o += this.writeChildNode(r, t, 0)) return t.pretty && o.slice(-t.newline.length) === t.newline && (o = o.slice(0, -t.newline.length)), o }), t ) })(r)) }).call(this) }, { "./XMLWriterBase": 383 } ], 381: [ function (e, t, r) { ;(function () { var e = function (e, t) { return function () { return e.apply(t, arguments) } }, r = {}.hasOwnProperty t.exports = (function () { function t(t) { var n, i, o for (n in ((this.assertLegalName = e(this.assertLegalName, this)), (this.assertLegalChar = e(this.assertLegalChar, this)), t || (t = {}), (this.options = t), this.options.version || (this.options.version = "1.0"), (i = t.stringify || {}), i)) r.call(i, n) && ((o = i[n]), (this[n] = o)) } return ( (t.prototype.name = function (e) { return this.options.noValidation ? e : this.assertLegalName("" + e || "") }), (t.prototype.text = function (e) { return this.options.noValidation ? e : this.assertLegalChar(this.textEscape("" + e || "")) }), (t.prototype.cdata = function (e) { return this.options.noValidation ? e : ((e = "" + e || ""), (e = e.replace("]]>", "]]]]>")), this.assertLegalChar(e)) }), (t.prototype.comment = function (e) { if (this.options.noValidation) return e if (((e = "" + e || ""), e.match(/--/))) throw new Error("Comment text cannot contain double-hypen: " + e) return this.assertLegalChar(e) }), (t.prototype.raw = function (e) { return this.options.noValidation ? e : "" + e || "" }), (t.prototype.attValue = function (e) { return this.options.noValidation ? e : this.assertLegalChar(this.attEscape((e = "" + e || ""))) }), (t.prototype.insTarget = function (e) { return this.options.noValidation ? e : this.assertLegalChar("" + e || "") }), (t.prototype.insValue = function (e) { if (this.options.noValidation) return e if (((e = "" + e || ""), e.match(/\?>/))) throw new Error("Invalid processing instruction value: " + e) return this.assertLegalChar(e) }), (t.prototype.xmlVersion = function (e) { if (this.options.noValidation) return e if (((e = "" + e || ""), !e.match(/1\.[0-9]+/))) throw new Error("Invalid version number: " + e) return e }), (t.prototype.xmlEncoding = function (e) { if (this.options.noValidation) return e if (((e = "" + e || ""), !e.match(/^[A-Za-z](?:[A-Za-z0-9._-])*$/))) throw new Error("Invalid encoding: " + e) return this.assertLegalChar(e) }), (t.prototype.xmlStandalone = function (e) { return this.options.noValidation ? e : e ? "yes" : "no" }), (t.prototype.dtdPubID = function (e) { return this.options.noValidation ? e : this.assertLegalChar("" + e || "") }), (t.prototype.dtdSysID = function (e) { return this.options.noValidation ? e : this.assertLegalChar("" + e || "") }), (t.prototype.dtdElementValue = function (e) { return this.options.noValidation ? e : this.assertLegalChar("" + e || "") }), (t.prototype.dtdAttType = function (e) { return this.options.noValidation ? e : this.assertLegalChar("" + e || "") }), (t.prototype.dtdAttDefault = function (e) { return this.options.noValidation ? e : this.assertLegalChar("" + e || "") }), (t.prototype.dtdEntityValue = function (e) { return this.options.noValidation ? e : this.assertLegalChar("" + e || "") }), (t.prototype.dtdNData = function (e) { return this.options.noValidation ? e : this.assertLegalChar("" + e || "") }), (t.prototype.convertAttKey = "@"), (t.prototype.convertPIKey = "?"), (t.prototype.convertTextKey = "#text"), (t.prototype.convertCDataKey = "#cdata"), (t.prototype.convertCommentKey = "#comment"), (t.prototype.convertRawKey = "#raw"), (t.prototype.assertLegalChar = function (e) { var t, r if (this.options.noValidation) return e if (((t = ""), "1.0" === this.options.version)) { if ( ((t = /[\0-\x08\x0B\f\x0E-\x1F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/), (r = e.match(t))) ) throw new Error("Invalid character in string: " + e + " at index " + r.index) } else if ( "1.1" === this.options.version && ((t = /[\0\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/), (r = e.match(t))) ) throw new Error("Invalid character in string: " + e + " at index " + r.index) return e }), (t.prototype.assertLegalName = function (e) { var t if (this.options.noValidation) return e if ( (this.assertLegalChar(e), (t = /^([:A-Z_a-z\xC0-\xD6\xD8-\xF6\xF8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uDB7F][\uDC00-\uDFFF])([\x2D\.0-:A-Z_a-z\xB7\xC0-\xD6\xD8-\xF6\xF8-\u037D\u037F-\u1FFF\u200C\u200D\u203F\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uDB7F][\uDC00-\uDFFF])*$/), !e.match(t)) ) throw new Error("Invalid character in name") return e }), (t.prototype.textEscape = function (e) { var t return this.options.noValidation ? e : ((t = this.options.noDoubleEncoding ? /(?!&\S+;)&/g : /&/g), e.replace(t, "&").replace(//g, ">").replace(/\r/g, " ")) }), (t.prototype.attEscape = function (e) { var t return this.options.noValidation ? e : ((t = this.options.noDoubleEncoding ? /(?!&\S+;)&/g : /&/g), e .replace(t, "&") .replace(/ 0) ? new Array(n).join(t.indent) : "" }), (e.prototype.endline = function (e, t, r) { return !t.pretty || t.suppressPrettyCount ? "" : t.newline }), (e.prototype.attribute = function (e, t, r) { var n return this.openAttribute(e, t, r), (n = " " + e.name + '="' + e.value + '"'), this.closeAttribute(e, t, r), n }), (e.prototype.cdata = function (e, t, r) { var i return ( this.openNode(e, t, r), (t.state = n.OpenTag), (i = this.indent(e, t, r) + "" + this.endline(e, t, r)), (t.state = n.None), this.closeNode(e, t, r), i ) }), (e.prototype.comment = function (e, t, r) { var i return ( this.openNode(e, t, r), (t.state = n.OpenTag), (i = this.indent(e, t, r) + "\x3c!-- "), (t.state = n.InsideTag), (i += e.value), (t.state = n.CloseTag), (i += " --\x3e" + this.endline(e, t, r)), (t.state = n.None), this.closeNode(e, t, r), i ) }), (e.prototype.declaration = function (e, t, r) { var i return ( this.openNode(e, t, r), (t.state = n.OpenTag), (i = this.indent(e, t, r) + ""), (i += this.endline(e, t, r)), (t.state = n.None), this.closeNode(e, t, r), i ) }), (e.prototype.docType = function (e, t, r) { var i, o, a, s, l if ( (r || (r = 0), this.openNode(e, t, r), (t.state = n.OpenTag), (s = this.indent(e, t, r)), (s += " 0) ) { for ( s += " [", s += this.endline(e, t, r), t.state = n.InsideTag, l = e.children, o = 0, a = l.length; o < a; o++ ) (i = l[o]), (s += this.writeChildNode(i, t, r + 1)) ;(t.state = n.CloseTag), (s += "]") } return ( (t.state = n.CloseTag), (s += t.spaceBeforeSlash + ">"), (s += this.endline(e, t, r)), (t.state = n.None), this.closeNode(e, t, r), s ) }), (e.prototype.element = function (e, t, i) { var a, s, l, c, u, f, p, d, h, m, g, y, v, b for (h in (i || (i = 0), (m = !1), (g = ""), this.openNode(e, t, i), (t.state = n.OpenTag), (g += this.indent(e, t, i) + "<" + e.name), (y = e.attribs), y)) o.call(y, h) && ((a = y[h]), (g += this.attribute(a, t, i))) if ( ((l = e.children.length), (c = 0 === l ? null : e.children[0]), 0 === l || e.children.every(function (e) { return (e.type === r.Text || e.type === r.Raw) && "" === e.value })) ) t.allowEmpty ? ((g += ">"), (t.state = n.CloseTag), (g += "" + e.name + ">" + this.endline(e, t, i))) : ((t.state = n.CloseTag), (g += t.spaceBeforeSlash + "/>" + this.endline(e, t, i))) else if (!t.pretty || 1 !== l || (c.type !== r.Text && c.type !== r.Raw) || null == c.value) { if (t.dontPrettyTextNodes) for (v = e.children, u = 0, p = v.length; u < p; u++) if (((s = v[u]), (s.type === r.Text || s.type === r.Raw) && null != s.value)) { t.suppressPrettyCount++, (m = !0) break } for ( g += ">" + this.endline(e, t, i), t.state = n.InsideTag, b = e.children, f = 0, d = b.length; f < d; f++ ) (s = b[f]), (g += this.writeChildNode(s, t, i + 1)) ;(t.state = n.CloseTag), (g += this.indent(e, t, i) + "" + e.name + ">"), m && t.suppressPrettyCount--, (g += this.endline(e, t, i)), (t.state = n.None) } else (g += ">"), (t.state = n.InsideTag), t.suppressPrettyCount++, (m = !0), (g += this.writeChildNode(c, t, i + 1)), t.suppressPrettyCount--, (m = !1), (t.state = n.CloseTag), (g += "" + e.name + ">" + this.endline(e, t, i)) return this.closeNode(e, t, i), g }), (e.prototype.writeChildNode = function (e, t, n) { switch (e.type) { case r.CData: return this.cdata(e, t, n) case r.Comment: return this.comment(e, t, n) case r.Element: return this.element(e, t, n) case r.Raw: return this.raw(e, t, n) case r.Text: return this.text(e, t, n) case r.ProcessingInstruction: return this.processingInstruction(e, t, n) case r.Dummy: return "" case r.Declaration: return this.declaration(e, t, n) case r.DocType: return this.docType(e, t, n) case r.AttributeDeclaration: return this.dtdAttList(e, t, n) case r.ElementDeclaration: return this.dtdElement(e, t, n) case r.EntityDeclaration: return this.dtdEntity(e, t, n) case r.NotationDeclaration: return this.dtdNotation(e, t, n) default: throw new Error("Unknown XML node type: " + e.constructor.name) } }), (e.prototype.processingInstruction = function (e, t, r) { var i return ( this.openNode(e, t, r), (t.state = n.OpenTag), (i = this.indent(e, t, r) + ""), (t.state = n.InsideTag), (i += e.target), e.value && (i += " " + e.value), (t.state = n.CloseTag), (i += t.spaceBeforeSlash + "?>"), (i += this.endline(e, t, r)), (t.state = n.None), this.closeNode(e, t, r), i ) }), (e.prototype.raw = function (e, t, r) { var i return ( this.openNode(e, t, r), (t.state = n.OpenTag), (i = this.indent(e, t, r)), (t.state = n.InsideTag), (i += e.value), (t.state = n.CloseTag), (i += this.endline(e, t, r)), (t.state = n.None), this.closeNode(e, t, r), i ) }), (e.prototype.text = function (e, t, r) { var i return ( this.openNode(e, t, r), (t.state = n.OpenTag), (i = this.indent(e, t, r)), (t.state = n.InsideTag), (i += e.value), (t.state = n.CloseTag), (i += this.endline(e, t, r)), (t.state = n.None), this.closeNode(e, t, r), i ) }), (e.prototype.dtdAttList = function (e, t, r) { var i return ( this.openNode(e, t, r), (t.state = n.OpenTag), (i = this.indent(e, t, r) + "" + this.endline(e, t, r)), (t.state = n.None), this.closeNode(e, t, r), i ) }), (e.prototype.dtdElement = function (e, t, r) { var i return ( this.openNode(e, t, r), (t.state = n.OpenTag), (i = this.indent(e, t, r) + "" + this.endline(e, t, r)), (t.state = n.None), this.closeNode(e, t, r), i ) }), (e.prototype.dtdEntity = function (e, t, r) { var i return ( this.openNode(e, t, r), (t.state = n.OpenTag), (i = this.indent(e, t, r) + "" + this.endline(e, t, r)), (t.state = n.None), this.closeNode(e, t, r), i ) }), (e.prototype.dtdNotation = function (e, t, r) { var i return ( this.openNode(e, t, r), (t.state = n.OpenTag), (i = this.indent(e, t, r) + "" + this.endline(e, t, r)), (t.state = n.None), this.closeNode(e, t, r), i ) }), (e.prototype.openNode = function (e, t, r) {}), (e.prototype.closeNode = function (e, t, r) {}), (e.prototype.openAttribute = function (e, t, r) {}), (e.prototype.closeAttribute = function (e, t, r) {}), e ) })()) }).call(this) }, { "./NodeType": 353, "./Utility": 354, "./WriterState": 355, "./XMLCData": 357, "./XMLComment": 359, "./XMLDTDAttList": 364, "./XMLDTDElement": 365, "./XMLDTDEntity": 366, "./XMLDTDNotation": 367, "./XMLDeclaration": 368, "./XMLDocType": 369, "./XMLDummy": 372, "./XMLElement": 373, "./XMLProcessingInstruction": 377, "./XMLRaw": 378, "./XMLText": 382 } ], 384: [ function (e, t, r) { ;(function () { var r, n, i, o, a, s, l, c, u, f ;(f = e("./Utility")), (c = f.assign), (u = f.isFunction), (i = e("./XMLDOMImplementation")), (o = e("./XMLDocument")), (a = e("./XMLDocumentCB")), (l = e("./XMLStringWriter")), (s = e("./XMLStreamWriter")), (r = e("./NodeType")), (n = e("./WriterState")), (t.exports.create = function (e, t, r, n) { var i, a if (null == e) throw new Error("Root element needs a name.") return ( (n = c({}, t, r, n)), (i = new o(n)), (a = i.element(e)), n.headless || (i.declaration(n), (null == n.pubID && null == n.sysID) || i.dtd(n)), a ) }), (t.exports.begin = function (e, t, r) { var n return u(e) && ((n = [e, t]), (t = n[0]), (r = n[1]), (e = {})), t ? new a(e, t, r) : new o(e) }), (t.exports.stringWriter = function (e) { return new l(e) }), (t.exports.streamWriter = function (e, t) { return new s(e, t) }), (t.exports.implementation = new i()), (t.exports.nodeType = r), (t.exports.writerState = n) }).call(this) }, { "./NodeType": 353, "./Utility": 354, "./WriterState": 355, "./XMLDOMImplementation": 362, "./XMLDocument": 370, "./XMLDocumentCB": 371, "./XMLStreamWriter": 379, "./XMLStringWriter": 380 } ], 385: [ function (e, t, r) { t.exports = i var n = Object.prototype.hasOwnProperty function i() { for (var e = {}, t = 0; t < arguments.length; t++) { var r = arguments[t] for (var i in r) n.call(r, i) && (e[i] = r[i]) } return e } }, {} ], 386: [ function (e, t, r) { "use strict" e("core-js/modules/es.array.concat"), e("core-js/modules/es.array.fill"), e("core-js/modules/es.array.join"), e("core-js/modules/es.array.slice"), e("core-js/modules/es.object.to-string"), e("core-js/modules/es.regexp.to-string") var n = e("buffer").Buffer, i = e("./sha"), o = e("./md5"), a = { sha1: i, md5: o }, s = 64, l = n.alloc(s) function c(e, t, r) { n.isBuffer(t) || (t = n.from(t)), n.isBuffer(r) || (r = n.from(r)), t.length > s ? (t = e(t)) : t.length < s && (t = n.concat([t, l], s)) for (var i = n.alloc(s), o = n.alloc(s), a = 0; a < s; a++) (i[a] = 54 ^ t[a]), (o[a] = 92 ^ t[a]) var c = e(n.concat([i, r])) return e(n.concat([o, c])) } function u(e, t) { e = e || "sha1" var r = a[e], i = [] return ( r || f("algorithm:", e, "is not yet supported"), { update: function (e) { return n.isBuffer(e) || (e = n.from(e)), i.push(e), e.length, this }, digest: function (e) { var o = n.concat(i), a = t ? c(r, t, o) : r(o) return (i = null), e ? a.toString(e) : a } } ) } function f() { var e = [].slice.call(arguments).join(" ") throw new Error([e, "we accept pull requests", "http://github.com/dominictarr/crypto-browserify"].join("\n")) } l.fill(0), (r.createHash = function (e) { return u(e) }), (r.createHmac = function (e, t) { return u(e, t) }), (r.createCredentials = function () { f("sorry,createCredentials is not implemented yet") }), (r.createCipher = function () { f("sorry,createCipher is not implemented yet") }), (r.createCipheriv = function () { f("sorry,createCipheriv is not implemented yet") }), (r.createDecipher = function () { f("sorry,createDecipher is not implemented yet") }), (r.createDecipheriv = function () { f("sorry,createDecipheriv is not implemented yet") }), (r.createSign = function () { f("sorry,createSign is not implemented yet") }), (r.createVerify = function () { f("sorry,createVerify is not implemented yet") }), (r.createDiffieHellman = function () { f("sorry,createDiffieHellman is not implemented yet") }), (r.pbkdf2 = function () { f("sorry,pbkdf2 is not implemented yet") }) }, { "./md5": 388, "./sha": 389, buffer: 99, "core-js/modules/es.array.concat": 234, "core-js/modules/es.array.fill": 235, "core-js/modules/es.array.join": 243, "core-js/modules/es.array.slice": 246, "core-js/modules/es.object.to-string": 254, "core-js/modules/es.regexp.to-string": 257 } ], 387: [ function (e, t, r) { "use strict" e("core-js/modules/es.array.concat"), e("core-js/modules/es.array.fill") var n = e("buffer").Buffer, i = 4, o = n.alloc(i) o.fill(0) var a = 8 function s(e, t) { if (e.length % i !== 0) { var r = e.length + (i - (e.length % i)) e = n.concat([e, o], r) } for (var a = [], s = t ? e.readInt32BE : e.readInt32LE, l = 0; l < e.length; l += i) a.push(s.call(e, l)) return a } function l(e, t, r) { for (var i = n.alloc(t), o = r ? i.writeInt32BE : i.writeInt32LE, a = 0; a < e.length; a++) o.call(i, e[a], 4 * a, !0) return i } function c(e, t, r, i) { n.isBuffer(e) || (e = n.from(e)) var o = t(s(e, i), e.length * a) return l(o, r, i) } t.exports = { hash: c } }, { buffer: 99, "core-js/modules/es.array.concat": 234, "core-js/modules/es.array.fill": 235 } ], 388: [ function (e, t, r) { "use strict" var n = e("./helpers") function i(e, t) { ;(e[t >> 5] |= 128 << t % 32), (e[14 + (((t + 64) >>> 9) << 4)] = t) for (var r = 1732584193, n = -271733879, i = -1732584194, o = 271733878, f = 0; f < e.length; f += 16) { var p = r, d = n, h = i, m = o ;(r = a(r, n, i, o, e[f + 0], 7, -680876936)), (o = a(o, r, n, i, e[f + 1], 12, -389564586)), (i = a(i, o, r, n, e[f + 2], 17, 606105819)), (n = a(n, i, o, r, e[f + 3], 22, -1044525330)), (r = a(r, n, i, o, e[f + 4], 7, -176418897)), (o = a(o, r, n, i, e[f + 5], 12, 1200080426)), (i = a(i, o, r, n, e[f + 6], 17, -1473231341)), (n = a(n, i, o, r, e[f + 7], 22, -45705983)), (r = a(r, n, i, o, e[f + 8], 7, 1770035416)), (o = a(o, r, n, i, e[f + 9], 12, -1958414417)), (i = a(i, o, r, n, e[f + 10], 17, -42063)), (n = a(n, i, o, r, e[f + 11], 22, -1990404162)), (r = a(r, n, i, o, e[f + 12], 7, 1804603682)), (o = a(o, r, n, i, e[f + 13], 12, -40341101)), (i = a(i, o, r, n, e[f + 14], 17, -1502002290)), (n = a(n, i, o, r, e[f + 15], 22, 1236535329)), (r = s(r, n, i, o, e[f + 1], 5, -165796510)), (o = s(o, r, n, i, e[f + 6], 9, -1069501632)), (i = s(i, o, r, n, e[f + 11], 14, 643717713)), (n = s(n, i, o, r, e[f + 0], 20, -373897302)), (r = s(r, n, i, o, e[f + 5], 5, -701558691)), (o = s(o, r, n, i, e[f + 10], 9, 38016083)), (i = s(i, o, r, n, e[f + 15], 14, -660478335)), (n = s(n, i, o, r, e[f + 4], 20, -405537848)), (r = s(r, n, i, o, e[f + 9], 5, 568446438)), (o = s(o, r, n, i, e[f + 14], 9, -1019803690)), (i = s(i, o, r, n, e[f + 3], 14, -187363961)), (n = s(n, i, o, r, e[f + 8], 20, 1163531501)), (r = s(r, n, i, o, e[f + 13], 5, -1444681467)), (o = s(o, r, n, i, e[f + 2], 9, -51403784)), (i = s(i, o, r, n, e[f + 7], 14, 1735328473)), (n = s(n, i, o, r, e[f + 12], 20, -1926607734)), (r = l(r, n, i, o, e[f + 5], 4, -378558)), (o = l(o, r, n, i, e[f + 8], 11, -2022574463)), (i = l(i, o, r, n, e[f + 11], 16, 1839030562)), (n = l(n, i, o, r, e[f + 14], 23, -35309556)), (r = l(r, n, i, o, e[f + 1], 4, -1530992060)), (o = l(o, r, n, i, e[f + 4], 11, 1272893353)), (i = l(i, o, r, n, e[f + 7], 16, -155497632)), (n = l(n, i, o, r, e[f + 10], 23, -1094730640)), (r = l(r, n, i, o, e[f + 13], 4, 681279174)), (o = l(o, r, n, i, e[f + 0], 11, -358537222)), (i = l(i, o, r, n, e[f + 3], 16, -722521979)), (n = l(n, i, o, r, e[f + 6], 23, 76029189)), (r = l(r, n, i, o, e[f + 9], 4, -640364487)), (o = l(o, r, n, i, e[f + 12], 11, -421815835)), (i = l(i, o, r, n, e[f + 15], 16, 530742520)), (n = l(n, i, o, r, e[f + 2], 23, -995338651)), (r = c(r, n, i, o, e[f + 0], 6, -198630844)), (o = c(o, r, n, i, e[f + 7], 10, 1126891415)), (i = c(i, o, r, n, e[f + 14], 15, -1416354905)), (n = c(n, i, o, r, e[f + 5], 21, -57434055)), (r = c(r, n, i, o, e[f + 12], 6, 1700485571)), (o = c(o, r, n, i, e[f + 3], 10, -1894986606)), (i = c(i, o, r, n, e[f + 10], 15, -1051523)), (n = c(n, i, o, r, e[f + 1], 21, -2054922799)), (r = c(r, n, i, o, e[f + 8], 6, 1873313359)), (o = c(o, r, n, i, e[f + 15], 10, -30611744)), (i = c(i, o, r, n, e[f + 6], 15, -1560198380)), (n = c(n, i, o, r, e[f + 13], 21, 1309151649)), (r = c(r, n, i, o, e[f + 4], 6, -145523070)), (o = c(o, r, n, i, e[f + 11], 10, -1120210379)), (i = c(i, o, r, n, e[f + 2], 15, 718787259)), (n = c(n, i, o, r, e[f + 9], 21, -343485551)), (r = u(r, p)), (n = u(n, d)), (i = u(i, h)), (o = u(o, m)) } return Array(r, n, i, o) } function o(e, t, r, n, i, o) { return u(f(u(u(t, e), u(n, o)), i), r) } function a(e, t, r, n, i, a, s) { return o((t & r) | (~t & n), e, t, i, a, s) } function s(e, t, r, n, i, a, s) { return o((t & n) | (r & ~n), e, t, i, a, s) } function l(e, t, r, n, i, a, s) { return o(t ^ r ^ n, e, t, i, a, s) } function c(e, t, r, n, i, a, s) { return o(r ^ (t | ~n), e, t, i, a, s) } function u(e, t) { var r = (65535 & e) + (65535 & t), n = (e >> 16) + (t >> 16) + (r >> 16) return (n << 16) | (65535 & r) } function f(e, t) { return (e << t) | (e >>> (32 - t)) } t.exports = function (e) { return n.hash(e, i, 16) } }, { "./helpers": 387 } ], 389: [ function (e, t, r) { "use strict" var n = e("./helpers") function i(e, t) { ;(e[t >> 5] |= 128 << (24 - (t % 32))), (e[15 + (((t + 64) >> 9) << 4)] = t) for ( var r = Array(80), n = 1732584193, i = -271733879, c = -1732584194, u = 271733878, f = -1009589776, p = 0; p < e.length; p += 16 ) { for (var d = n, h = i, m = c, g = u, y = f, v = 0; v < 80; v++) { r[v] = v < 16 ? e[p + v] : l(r[v - 3] ^ r[v - 8] ^ r[v - 14] ^ r[v - 16], 1) var b = s(s(l(n, 5), o(v, i, c, u)), s(s(f, r[v]), a(v))) ;(f = u), (u = c), (c = l(i, 30)), (i = n), (n = b) } ;(n = s(n, d)), (i = s(i, h)), (c = s(c, m)), (u = s(u, g)), (f = s(f, y)) } return Array(n, i, c, u, f) } function o(e, t, r, n) { return e < 20 ? (t & r) | (~t & n) : e < 40 ? t ^ r ^ n : e < 60 ? (t & r) | (t & n) | (r & n) : t ^ r ^ n } function a(e) { return e < 20 ? 1518500249 : e < 40 ? 1859775393 : e < 60 ? -1894007588 : -899497514 } function s(e, t) { var r = (65535 & e) + (65535 & t), n = (e >> 16) + (t >> 16) + (r >> 16) return (n << 16) | (65535 & r) } function l(e, t) { return (e << t) | (e >>> (32 - t)) } t.exports = function (e) { return n.hash(e, i, 20, !0) } }, { "./helpers": 387 } ], 390: [ function (e, t, r) { "use strict" t.exports = function () { return function () {} } }, {} ], 391: [ function (e, t, r) { ;(function (r) { "use strict" var n = e("@babel/runtime/helpers/interopRequireDefault"), i = n(e("@babel/runtime/helpers/typeof")), o = e("stream"), a = o.Stream, s = e("../lib/common/utils/isArray"), l = s.isArray function c(e) { return e instanceof a } ;(t.exports.string = function (e) { return "string" === typeof e }), (t.exports.array = l), (t.exports.buffer = r.isBuffer), (t.exports.writableStream = function (e) { return c(e) && "function" === typeof e._write && "object" === (0, i.default)(e._writableState) }) }).call(this, { isBuffer: e("../node_modules/is-buffer/index.js") }) }, { "../lib/common/utils/isArray": 59, "../node_modules/is-buffer/index.js": 307, "@babel/runtime/helpers/interopRequireDefault": 72, "@babel/runtime/helpers/typeof": 73, stream: 339 } ], 392: [ function (e, t, r) { "use strict" var n = e("immediate"), i = (t.exports = {}) function o() {} ;(i.nextTick = n), (i.title = "browser"), (i.browser = !0), (i.env = {}), (i.argv = []), (i.version = ""), (i.versions = {}), (i.on = o), (i.addListener = o), (i.once = o), (i.off = o), (i.removeListener = o), (i.removeAllListeners = o), (i.emit = o), (i.prependListener = o), (i.prependOnceListener = o), (i.listeners = function (e) { return [] }), (i.binding = function (e) { throw new Error("process.binding is not supported") }), (i.cwd = function () { return "/" }), (i.chdir = function (e) { throw new Error("process.chdir is not supported") }), (i.umask = function () { return 0 }) }, { immediate: 300 } ], 393: [ function (e, t, r) { "use strict" var n = e("@babel/runtime/helpers/interopRequireDefault") e("core-js/modules/es.array.concat"), e("core-js/modules/es.array.index-of"), e("core-js/modules/es.array.join"), e("core-js/modules/es.array.last-index-of"), e("core-js/modules/es.array.slice"), e("core-js/modules/es.array.splice"), e("core-js/modules/es.object.keys"), e("core-js/modules/es.regexp.exec"), e("core-js/modules/es.string.match"), e("core-js/modules/es.string.replace"), e("core-js/modules/es.string.search"), e("core-js/modules/es.string.split"), e("core-js/modules/es.string.trim") var i = n(e("@babel/runtime/helpers/typeof")), o = e("punycode"), a = e("./util") function s() { ;(this.protocol = null), (this.slashes = null), (this.auth = null), (this.host = null), (this.port = null), (this.hostname = null), (this.hash = null), (this.search = null), (this.query = null), (this.pathname = null), (this.path = null), (this.href = null) } ;(r.parse = _), (r.resolve = E), (r.resolveObject = S), (r.format = T), (r.Url = s) var l = /^([a-z0-9.+-]+:)/i, c = /:[0-9]*$/, u = /^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/, f = ["<", ">", '"', "`", " ", "\r", "\n", "\t"], p = ["{", "}", "|", "\\", "^", "`"].concat(f), d = ["'"].concat(p), h = ["%", "/", "?", ";", "#"].concat(d), m = ["/", "?", "#"], g = 255, y = /^[+a-z0-9A-Z_-]{0,63}$/, v = /^([+a-z0-9A-Z_-]{0,63})(.*)$/, b = { javascript: !0, "javascript:": !0 }, w = { javascript: !0, "javascript:": !0 }, x = { http: !0, https: !0, ftp: !0, gopher: !0, file: !0, "http:": !0, "https:": !0, "ftp:": !0, "gopher:": !0, "file:": !0 }, A = e("querystring") function _(e, t, r) { if (e && a.isObject(e) && e instanceof s) return e var n = new s() return n.parse(e, t, r), n } function T(e) { return a.isString(e) && (e = _(e)), e instanceof s ? e.format() : s.prototype.format.call(e) } function E(e, t) { return _(e, !1, !0).resolve(t) } function S(e, t) { return e ? _(e, !1, !0).resolveObject(t) : t } ;(s.prototype.parse = function (e, t, r) { if (!a.isString(e)) throw new TypeError("Parameter 'url' must be a string, not " + (0, i.default)(e)) var n = e.indexOf("?"), s = -1 !== n && n < e.indexOf("#") ? "?" : "#", c = e.split(s), f = /\\/g ;(c[0] = c[0].replace(f, "/")), (e = c.join(s)) var p = e if (((p = p.trim()), !r && 1 === e.split("#").length)) { var _ = u.exec(p) if (_) return ( (this.path = p), (this.href = p), (this.pathname = _[1]), _[2] ? ((this.search = _[2]), (this.query = t ? A.parse(this.search.substr(1)) : this.search.substr(1))) : t && ((this.search = ""), (this.query = {})), this ) } var T = l.exec(p) if (T) { T = T[0] var E = T.toLowerCase() ;(this.protocol = E), (p = p.substr(T.length)) } if (r || T || p.match(/^\/\/[^@\/]+@[^@\/]+/)) { var S = "//" === p.substr(0, 2) !S || (T && w[T]) || ((p = p.substr(2)), (this.slashes = !0)) } if (!w[T] && (S || (T && !x[T]))) { for (var C, k, L = -1, P = 0; P < m.length; P++) { var O = p.indexOf(m[P]) ;-1 !== O && (-1 === L || O < L) && (L = O) } ;(k = -1 === L ? p.lastIndexOf("@") : p.lastIndexOf("@", L)), -1 !== k && ((C = p.slice(0, k)), (p = p.slice(k + 1)), (this.auth = decodeURIComponent(C))), (L = -1) for (P = 0; P < h.length; P++) { O = p.indexOf(h[P]) ;-1 !== O && (-1 === L || O < L) && (L = O) } ;-1 === L && (L = p.length), (this.host = p.slice(0, L)), (p = p.slice(L)), this.parseHost(), (this.hostname = this.hostname || "") var j = "[" === this.hostname[0] && "]" === this.hostname[this.hostname.length - 1] if (!j) for (var R = this.hostname.split("."), I = ((P = 0), R.length); P < I; P++) { var N = R[P] if (N && !N.match(y)) { for (var M = "", D = 0, B = N.length; D < B; D++) N.charCodeAt(D) > 127 ? (M += "x") : (M += N[D]) if (!M.match(y)) { var F = R.slice(0, P), U = R.slice(P + 1), z = N.match(v) z && (F.push(z[1]), U.unshift(z[2])), U.length && (p = "/" + U.join(".") + p), (this.hostname = F.join(".")) break } } } this.hostname.length > g ? (this.hostname = "") : (this.hostname = this.hostname.toLowerCase()), j || (this.hostname = o.toASCII(this.hostname)) var q = this.port ? ":" + this.port : "", G = this.hostname || "" ;(this.host = G + q), (this.href += this.host), j && ((this.hostname = this.hostname.substr(1, this.hostname.length - 2)), "/" !== p[0] && (p = "/" + p)) } if (!b[E]) for (P = 0, I = d.length; P < I; P++) { var W = d[P] if (-1 !== p.indexOf(W)) { var V = encodeURIComponent(W) V === W && (V = escape(W)), (p = p.split(W).join(V)) } } var H = p.indexOf("#") ;-1 !== H && ((this.hash = p.substr(H)), (p = p.slice(0, H))) var X = p.indexOf("?") if ( (-1 !== X ? ((this.search = p.substr(X)), (this.query = p.substr(X + 1)), t && (this.query = A.parse(this.query)), (p = p.slice(0, X))) : t && ((this.search = ""), (this.query = {})), p && (this.pathname = p), x[E] && this.hostname && !this.pathname && (this.pathname = "/"), this.pathname || this.search) ) { q = this.pathname || "" var Y = this.search || "" this.path = q + Y } return (this.href = this.format()), this }), (s.prototype.format = function () { var e = this.auth || "" e && ((e = encodeURIComponent(e)), (e = e.replace(/%3A/i, ":")), (e += "@")) var t = this.protocol || "", r = this.pathname || "", n = this.hash || "", i = !1, o = "" this.host ? (i = e + this.host) : this.hostname && ((i = e + (-1 === this.hostname.indexOf(":") ? this.hostname : "[" + this.hostname + "]")), this.port && (i += ":" + this.port)), this.query && a.isObject(this.query) && Object.keys(this.query).length && (o = A.stringify(this.query)) var s = this.search || (o && "?" + o) || "" return ( t && ":" !== t.substr(-1) && (t += ":"), this.slashes || ((!t || x[t]) && !1 !== i) ? ((i = "//" + (i || "")), r && "/" !== r.charAt(0) && (r = "/" + r)) : i || (i = ""), n && "#" !== n.charAt(0) && (n = "#" + n), s && "?" !== s.charAt(0) && (s = "?" + s), (r = r.replace(/[?#]/g, function (e) { return encodeURIComponent(e) })), (s = s.replace("#", "%23")), t + i + r + s + n ) }), (s.prototype.resolve = function (e) { return this.resolveObject(_(e, !1, !0)).format() }), (s.prototype.resolveObject = function (e) { if (a.isString(e)) { var t = new s() t.parse(e, !1, !0), (e = t) } for (var r = new s(), n = Object.keys(this), i = 0; i < n.length; i++) { var o = n[i] r[o] = this[o] } if (((r.hash = e.hash), "" === e.href)) return (r.href = r.format()), r if (e.slashes && !e.protocol) { for (var l = Object.keys(e), c = 0; c < l.length; c++) { var u = l[c] "protocol" !== u && (r[u] = e[u]) } return x[r.protocol] && r.hostname && !r.pathname && (r.path = r.pathname = "/"), (r.href = r.format()), r } if (e.protocol && e.protocol !== r.protocol) { if (!x[e.protocol]) { for (var f = Object.keys(e), p = 0; p < f.length; p++) { var d = f[p] r[d] = e[d] } return (r.href = r.format()), r } if (((r.protocol = e.protocol), e.host || w[e.protocol])) r.pathname = e.pathname else { var h = (e.pathname || "").split("/") while (h.length && !(e.host = h.shift())); e.host || (e.host = ""), e.hostname || (e.hostname = ""), "" !== h[0] && h.unshift(""), h.length < 2 && h.unshift(""), (r.pathname = h.join("/")) } if ( ((r.search = e.search), (r.query = e.query), (r.host = e.host || ""), (r.auth = e.auth), (r.hostname = e.hostname || e.host), (r.port = e.port), r.pathname || r.search) ) { var m = r.pathname || "", g = r.search || "" r.path = m + g } return (r.slashes = r.slashes || e.slashes), (r.href = r.format()), r } var y = r.pathname && "/" === r.pathname.charAt(0), v = e.host || (e.pathname && "/" === e.pathname.charAt(0)), b = v || y || (r.host && e.pathname), A = b, _ = (r.pathname && r.pathname.split("/")) || [], T = ((h = (e.pathname && e.pathname.split("/")) || []), r.protocol && !x[r.protocol]) if ( (T && ((r.hostname = ""), (r.port = null), r.host && ("" === _[0] ? (_[0] = r.host) : _.unshift(r.host)), (r.host = ""), e.protocol && ((e.hostname = null), (e.port = null), e.host && ("" === h[0] ? (h[0] = e.host) : h.unshift(e.host)), (e.host = null)), (b = b && ("" === h[0] || "" === _[0]))), v) ) (r.host = e.host || "" === e.host ? e.host : r.host), (r.hostname = e.hostname || "" === e.hostname ? e.hostname : r.hostname), (r.search = e.search), (r.query = e.query), (_ = h) else if (h.length) _ || (_ = []), _.pop(), (_ = _.concat(h)), (r.search = e.search), (r.query = e.query) else if (!a.isNullOrUndefined(e.search)) { if (T) { r.hostname = r.host = _.shift() var E = !!(r.host && r.host.indexOf("@") > 0) && r.host.split("@") E && ((r.auth = E.shift()), (r.host = r.hostname = E.shift())) } return ( (r.search = e.search), (r.query = e.query), (a.isNull(r.pathname) && a.isNull(r.search)) || (r.path = (r.pathname ? r.pathname : "") + (r.search ? r.search : "")), (r.href = r.format()), r ) } if (!_.length) return (r.pathname = null), r.search ? (r.path = "/" + r.search) : (r.path = null), (r.href = r.format()), r for ( var S = _.slice(-1)[0], C = ((r.host || e.host || _.length > 1) && ("." === S || ".." === S)) || "" === S, k = 0, L = _.length; L >= 0; L-- ) (S = _[L]), "." === S ? _.splice(L, 1) : ".." === S ? (_.splice(L, 1), k++) : k && (_.splice(L, 1), k--) if (!b && !A) for (; k--; k) _.unshift("..") !b || "" === _[0] || (_[0] && "/" === _[0].charAt(0)) || _.unshift(""), C && "/" !== _.join("/").substr(-1) && _.push("") var P = "" === _[0] || (_[0] && "/" === _[0].charAt(0)) if (T) { r.hostname = r.host = P ? "" : _.length ? _.shift() : "" E = !!(r.host && r.host.indexOf("@") > 0) && r.host.split("@") E && ((r.auth = E.shift()), (r.host = r.hostname = E.shift())) } return ( (b = b || (r.host && _.length)), b && !P && _.unshift(""), _.length ? (r.pathname = _.join("/")) : ((r.pathname = null), (r.path = null)), (a.isNull(r.pathname) && a.isNull(r.search)) || (r.path = (r.pathname ? r.pathname : "") + (r.search ? r.search : "")), (r.auth = e.auth || r.auth), (r.slashes = r.slashes || e.slashes), (r.href = r.format()), r ) }), (s.prototype.parseHost = function () { var e = this.host, t = c.exec(e) t && ((t = t[0]), ":" !== t && (this.port = t.substr(1)), (e = e.substr(0, e.length - t.length))), e && (this.hostname = e) }) }, { "./util": 394, "@babel/runtime/helpers/interopRequireDefault": 72, "@babel/runtime/helpers/typeof": 73, "core-js/modules/es.array.concat": 234, "core-js/modules/es.array.index-of": 241, "core-js/modules/es.array.join": 243, "core-js/modules/es.array.last-index-of": 244, "core-js/modules/es.array.slice": 246, "core-js/modules/es.array.splice": 248, "core-js/modules/es.object.keys": 253, "core-js/modules/es.regexp.exec": 256, "core-js/modules/es.string.match": 260, "core-js/modules/es.string.replace": 261, "core-js/modules/es.string.search": 262, "core-js/modules/es.string.split": 263, "core-js/modules/es.string.trim": 264, punycode: 319, querystring: 322 } ], 394: [ function (e, t, r) { "use strict" var n = e("@babel/runtime/helpers/interopRequireDefault"), i = n(e("@babel/runtime/helpers/typeof")) t.exports = { isString: function (e) { return "string" === typeof e }, isObject: function (e) { return "object" === (0, i.default)(e) && null !== e }, isNull: function (e) { return null === e }, isNullOrUndefined: function (e) { return null == e } } }, { "@babel/runtime/helpers/interopRequireDefault": 72, "@babel/runtime/helpers/typeof": 73 } ], 395: [ function (e, t, r) { "use strict" e("core-js/modules/es.number.constructor"), (r.encodeURIComponent = function (e) { try { return encodeURIComponent(e) } catch (t) { return e } }), (r.escape = e("escape-html")), (r.timestamp = function (e) { if (e) { var t = e return "string" === typeof t && (t = Number(t)), 10 === String(e).length && (t *= 1e3), new Date(t) } return Math.round(Date.now() / 1e3) }) }, { "core-js/modules/es.number.constructor": 250, "escape-html": 295 } ], 396: [ function (e, t, r) { ;(function (t, n) { "use strict" var i = e("@babel/runtime/helpers/interopRequireDefault") e("core-js/modules/es.array.concat"), e("core-js/modules/es.array.index-of"), e("core-js/modules/es.function.name"), e("core-js/modules/es.object.to-string"), e("core-js/modules/es.promise"), e("core-js/modules/es.regexp.exec"), e("core-js/modules/es.string.split"), e("core-js/modules/es.string.trim") var o = i(e("@babel/runtime/helpers/typeof")), a = e("util"), s = e("url"), l = e("http"), c = e("https"), u = e("debug")("urllib"), f = e("humanize-ms"), p = 0, d = Math.pow(2, 31) - 10, h = /^https?:\/\//i function m(e, t) { return void 0 === e ? t : e } function g(e) { return e ? e.split(";")[0].trim().toLowerCase() : "" } function y(e, t) { return function (r, n, i) { if (r) return t(r) e({ data: n, status: i.statusCode, headers: i.headers, res: i }) } } r.TIMEOUTS = [f("300s"), f("300s")] var v = ["json", "text"] ;(r.request = function (e, t, n) { return ( 2 === arguments.length && "function" === typeof t && ((n = t), (t = null)), "function" === typeof n ? r.requestWithCallback(e, t, n) : new Promise(function (n, i) { r.requestWithCallback(e, t, y(n, i)) }) ) }), (r.requestWithCallback = function (e, i, y) { if (!e || ("string" !== typeof e && "object" !== (0, o.default)(e))) { var b = a.format("expect request url to be a string or a http request options, but got %j", e) throw new Error(b) } 2 === arguments.length && "function" === typeof i && ((y = i), (i = null)), (i = i || {}), p >= d && (p = 0) var w = ++p i.requestUrls = i.requestUrls || [] var x = { requestId: w, url: e, args: i, ctx: i.ctx } i.emitter && i.emitter.emit("request", x), (i.timeout = i.timeout || r.TIMEOUTS), (i.maxRedirects = i.maxRedirects || 10), (i.streaming = i.streaming || i.customResponse) var A, _ = Date.now() "string" === typeof e ? (h.test(e) || (e = "https://" + e), (A = s.parse(e))) : (A = e) var T = (i.type || i.method || A.method || "GET").toUpperCase(), E = A.port || 80, S = l, C = m(i.agent, r.agent), k = i.fixJSONCtlChars "https:" === A.protocol && ((S = c), (C = m(i.httpsAgent, r.httpsAgent)), A.port || (E = 443)) var L = { host: A.hostname || A.host || "localhost", path: A.path || "/", method: T, port: E, agent: C, headers: i.headers || {}, lookup: i.lookup } Array.isArray(i.timeout) ? (L.requestTimeout = i.timeout[i.timeout.length - 1]) : "undefined" !== typeof i.timeout && (L.requestTimeout = i.timeout) var P = i.auth || A.auth P && (L.auth = P) var O = i.content || i.data, j = "GET" === T || "HEAD" === T || i.dataAsQueryString if (!i.content && O && "string" !== typeof O && !n.isBuffer(O)) if (j) O = i.nestedQuerystring ? qs.stringify(O) : querystring.stringify(O) else { var R = L.headers["Content-Type"] || L.headers["content-type"] R || ((R = "json" === i.contentType ? "application/json" : "application/x-www-form-urlencoded"), (L.headers["Content-Type"] = R)), (O = "application/json" === g(R) ? JSON.stringify(O) : i.nestedQuerystring ? qs.stringify(O) : querystring.stringify(O)) } j && O && ((L.path += (A.query ? "&" : "?") + O), (O = null)) var I = 0 if (O) { var N = O.length n.isBuffer(O) || (N = n.byteLength(O)), (I = L.headers["Content-Length"] = N) } "json" === i.dataType && (L.headers.Accept = "application/json"), "function" === typeof i.beforeRequest && i.beforeRequest(L) var M = null, D = null, B = null, F = !1, U = !1, z = 0, q = -1, G = !1, W = "", V = "", H = null function X() { M && (clearTimeout(M), (M = null)) } function Y() { D && (clearTimeout(D), (D = null)) } function K(r, n, o) { if ((Y(), !y)) return ( console.warn("[urllib:warn] [%s] [%s] [worker:%s] %s %s callback twice!!!", Date(), w, t.pid, L.method, e), void ( r && console.warn( "[urllib:warn] [%s] [%s] [worker:%s] %s: %s\nstack: %s", Date(), w, t.pid, r.name, r.message, r.stack ) ) ) var a = y y = null var s = {} o && ((q = o.statusCode), (s = o.headers)) var l = Date.now() - _ H && (H.contentDownload = l), u( "[%sms] done, %s bytes HTTP %s %s %s %s, keepAliveSocket: %s, timing: %j", l, z, q, L.method, L.host, L.path, U, H ) var c = { status: q, statusCode: q, headers: s, size: z, aborted: G, rt: l, keepAliveSocket: U, data: n, requestUrls: i.requestUrls, timing: H, remoteAddress: W, remotePort: V } if (r) { var f = "" C && "function" === typeof C.getCurrentStatus && (f = ", agent status: " + JSON.stringify(C.getCurrentStatus())), (r.message += ", " + L.method + " " + e + " " + q + " (connected: " + F + ", keepalive socket: " + U + f + ")\nheaders: " + JSON.stringify(s)), (r.data = n), (r.path = L.path), (r.status = q), (r.headers = s), (r.res = c) } a(r, n, i.streaming ? o : c), i.emitter && ((x.url = e), (x.socket = ee && ee.connection), (x.options = L), (x.size = I), i.emitter.emit("response", { requestId: w, error: r, ctx: i.ctx, req: x, res: c })) } function Z(t) { var n = null if (i.followRedirect && statuses.redirect[t.statusCode]) { i._followRedirectCount = (i._followRedirectCount || 0) + 1 var o = t.headers.location if (o) { if (!(i._followRedirectCount > i.maxRedirects)) { var a = i.formatRedirectUrl ? i.formatRedirectUrl(e, o) : s.resolve(e, o) u("Request#%d %s: `redirected` from %s to %s", w, L.path, e, a), Y(), i.headers && i.headers.Host && h.test(o) && (i.headers.Host = null) var l = y return ( (y = null), r.requestWithCallback(a, i, l), { redirect: !0, error: null } ) } ;(n = new Error("Exceeded maxRedirects. Probably stuck in a redirect loop " + e)), (n.name = "MaxRedirectError") } else (n = new Error("Got statusCode " + t.statusCode + " but cannot resolve next location from headers")), (n.name = "FollowRedirectError") } return { redirect: !1, error: n } } function Q(e, t, r) { var n = e.headers["content-encoding"] return r(null, t, n) } i.timing && (H = { queuing: 0, dnslookup: 0, connected: 0, requestSent: 0, waiting: 0, contentDownload: 0 }), i.gzip && (L.headers["Accept-Encoding"] || L.headers["accept-encoding"] || (L.headers["Accept-Encoding"] = "gzip")) var J, $, ee, te = i.writeStream function re(t) { if ( (H && (H.waiting = Date.now() - _), u("Request#%d %s `req response` event emit: status %d, headers: %j", w, e, t.statusCode, t.headers), i.streaming) ) { var r = Z(t) return r.redirect ? void t.resume() : r.error ? (t.resume(), K(r.error, null, t)) : K(null, null, t) } if ( (t.on("close", function () { u("Request#%d %s: `res close` event emit, total size %d", w, e, z) }), t.on("error", function () { u("Request#%d %s: `res error` event emit, total size %d", w, e, z) }), t.on("aborted", function () { ;(G = !0), u("Request#%d %s: `res aborted` event emit, total size %d", w, e, z) }), te) ) { var o = Z(t) return o.redirect ? void t.resume() : o.error ? (t.resume(), te.end(), K(o.error, null, t)) : (!1 === i.consumeWriteStream ? t.on("end", K.bind(null, null, null, t)) : te.on("close", function () { u("Request#%d %s: writeStream close event emitted", w, e), K(B || null, null, t) }), t.pipe(te)) } var a = [] t.on("data", function (t) { u("Request#%d %s: `res data` event emit, size %d", w, e, t.length), (z += t.length), a.push(t) }), t.on("end", function () { var r = n.concat(a, z) if ((u("Request#%d %s: `res end` event emit, total size %d, _dumped: %s", w, e, z, t._dumped), B)) return K(B, r, t) var o = Z(t) if (o.error) return K(o.error, r, t) o.redirect || Q(t, r, function (n, o, a) { if (n) return K(n, r, t) if (!a && v.indexOf(i.dataType) >= 0) { try { o = decodeBodyByCharset(o, t) } catch (l) { return u("decodeBodyByCharset error: %s", l), K(null, o, t) } if ("json" === i.dataType) if (0 === z) o = null else { var s = parseJSON(o, k) s.error ? (n = s.error) : (o = s.data) } } G && u("Request#%d %s: Remote socket was terminated before `response.end()` was called", w, e), K(n, o, t) }) }) } function ne() { u("Connect timer ticking, timeout: %d", J), (M = setTimeout(function () { ;(M = null), -1 === q && (q = -2) var t = "Connect timeout for " + J + "ms", r = "ConnectionTimeoutError" ee.socket || ((r = "SocketAssignTimeoutError"), (t += ", working sockets is full")), (B = new Error(t)), (B.name = r), (B.requestId = w), u("ConnectTimeout: Request#%d %s %s: %s, connected: %s", w, e, B.name, t, F), oe() }, J)) } function ie() { u("Response timer ticking, timeout: %d", $), (D = setTimeout(function () { D = null var t = "Response timeout for " + $ + "ms", r = "ResponseTimeoutError" ;(B = new Error(t)), (B.name = r), (B.requestId = w), u("ResponseTimeout: Request#%d %s %s: %s, connected: %s", w, e, B.name, t, F), oe() }, $)) } u("Request#%d %s %s with headers %j, options.path: %s", w, T, e, L.headers, L.path), i.requestUrls.push(e), Array.isArray(i.timeout) ? ((J = f(i.timeout[0])), ($ = f(i.timeout[1]))) : (J = $ = f(i.timeout)), u("ConnectTimeout: %d, ResponseTimeout: %d", J, $), (L.mode = i.mode ? i.mode : "") try { ee = S.request(L, re) } catch (ae) { return K(ae) } function oe() { u("Request#%d %s abort, connected: %s", w, e, F), ee.socket || ((B.noSocket = !0), K(B)), ee.abort() } return ( "undefined" === typeof window ? ne() : ee.on("requestTimeout", function () { ;-1 === q && (q = -2) var e = "Connect timeout for " + J + "ms", t = "ConnectionTimeoutError" ;(B = new Error(e)), (B.name = t), (B.requestId = w), oe() }), H && ee.on("finish", function () { H.requestSent = Date.now() - _ }), ee.once("socket", function (t) { H && (H.queuing = Date.now() - _) var r = t.readyState if ("opening" === r) return ( t.once("lookup", function (t, r, n) { u("Request#%d %s lookup: %s, %s, %s", w, e, t, r, n), H && (H.dnslookup = Date.now() - _), r && (W = r) }), void t.once("connect", function () { H && (H.connected = Date.now() - _), X(), ie(), u("Request#%d %s new socket connected", w, e), (F = !0), W || (W = t.remoteAddress), (V = t.remotePort) }) ) u("Request#%d %s reuse socket connected, readyState: %s", w, e, r), (F = !0), (U = !0), W || (W = t.remoteAddress), (V = t.remotePort), X(), ie() }), ee.on("error", function (t) { ;("Error" !== t.name && "TypeError" !== t.name) || (t.name = F ? "ResponseError" : "RequestError"), (t.message += ' (req "error")'), u("Request#%d %s `req error` event emit, %s: %s", w, e, t.name, t.message), K(B || t) }), te && te.once("error", function (t) { ;(t.message += ' (writeStream "error")'), (B = t), u("Request#%d %s `writeStream error` event emit, %s: %s", w, e, t.name, t.message), oe() }), i.stream ? (i.stream.pipe(ee), i.stream.once("error", function (t) { ;(t.message += ' (stream "error")'), (B = t), u("Request#%d %s `readStream error` event emit, %s: %s", w, e, t.name, t.message), oe() })) : ee.end(O), (ee.requestId = w), ee ) }) }).call(this, e("_process"), e("buffer").Buffer) }, { "@babel/runtime/helpers/interopRequireDefault": 72, "@babel/runtime/helpers/typeof": 73, _process: 392, buffer: 99, "core-js/modules/es.array.concat": 234, "core-js/modules/es.array.index-of": 241, "core-js/modules/es.function.name": 249, "core-js/modules/es.object.to-string": 254, "core-js/modules/es.promise": 255, "core-js/modules/es.regexp.exec": 256, "core-js/modules/es.string.split": 263, "core-js/modules/es.string.trim": 264, debug: 390, http: 80, https: 297, "humanize-ms": 298, url: 393, util: 345 } ] }, {}, [1] )(1) }) }).call(this, __webpack_require__("c8ba")) }, "9bdd": function (e, t, r) { var n = r("825a"), i = r("2a62") e.exports = function (e, t, r, o) { try { return o ? t(n(r)[0], r[1]) : t(r) } catch (a) { i(e, "throw", a) } } }, "9bf2": function (e, t, r) { var n = r("83ab"), i = r("0cfb"), o = r("825a"), a = r("a04b"), s = Object.defineProperty t.f = n ? s : function (e, t, r) { if ((o(e), (t = a(t)), o(r), i)) try { return s(e, t, r) } catch (n) {} if ("get" in r || "set" in r) throw TypeError("Accessors not supported") return "value" in r && (e[t] = r.value), e } }, "9ed3": function (e, t, r) { "use strict" var n = r("ae93").IteratorPrototype, i = r("7c73"), o = r("5c6c"), a = r("d44e"), s = r("3f8c"), l = function () { return this } e.exports = function (e, t, r) { var c = t + " Iterator" return ( (e.prototype = i(n, { next: o(1, r) })), a(e, c, !1, !0), (s[c] = l), e ) } }, "9f7f": function (e, t, r) { var n = r("d039"), i = r("da84"), o = i.RegExp ;(t.UNSUPPORTED_Y = n(function () { var e = o("a", "y") return (e.lastIndex = 2), null != e.exec("abcd") })), (t.BROKEN_CARET = n(function () { var e = o("^r", "gy") return (e.lastIndex = 2), null != e.exec("str") })) }, a04b: function (e, t, r) { var n = r("c04e"), i = r("d9b5") e.exports = function (e) { var t = n(e, "string") return i(t) ? t : String(t) } }, a4d3: function (e, t, r) { "use strict" var n = r("23e7"), i = r("da84"), o = r("d066"), a = r("c430"), s = r("83ab"), l = r("4930"), c = r("d039"), u = r("5135"), f = r("e8b5"), p = r("861d"), d = r("d9b5"), h = r("825a"), m = r("7b0b"), g = r("fc6a"), y = r("a04b"), v = r("577e"), b = r("5c6c"), w = r("7c73"), x = r("df75"), A = r("241c"), _ = r("057f"), T = r("7418"), E = r("06cf"), S = r("9bf2"), C = r("d1e7"), k = r("9112"), L = r("6eeb"), P = r("5692"), O = r("f772"), j = r("d012"), R = r("90e3"), I = r("b622"), N = r("e538"), M = r("746f"), D = r("d44e"), B = r("69f3"), F = r("b727").forEach, U = O("hidden"), z = "Symbol", q = "prototype", G = I("toPrimitive"), W = B.set, V = B.getterFor(z), H = Object[q], X = i.Symbol, Y = o("JSON", "stringify"), K = E.f, Z = S.f, Q = _.f, J = C.f, $ = P("symbols"), ee = P("op-symbols"), te = P("string-to-symbol-registry"), re = P("symbol-to-string-registry"), ne = P("wks"), ie = i.QObject, oe = !ie || !ie[q] || !ie[q].findChild, ae = s && c(function () { return ( 7 != w( Z({}, "a", { get: function () { return Z(this, "a", { value: 7 }).a } }) ).a ) }) ? function (e, t, r) { var n = K(H, t) n && delete H[t], Z(e, t, r), n && e !== H && Z(H, t, n) } : Z, se = function (e, t) { var r = ($[e] = w(X[q])) return ( W(r, { type: z, tag: e, description: t }), s || (r.description = t), r ) }, le = function (e, t, r) { e === H && le(ee, t, r), h(e) var n = y(t) return ( h(r), u($, n) ? (r.enumerable ? (u(e, U) && e[U][n] && (e[U][n] = !1), (r = w(r, { enumerable: b(0, !1) }))) : (u(e, U) || Z(e, U, b(1, {})), (e[U][n] = !0)), ae(e, n, r)) : Z(e, n, r) ) }, ce = function (e, t) { h(e) var r = g(t), n = x(r).concat(he(r)) return ( F(n, function (t) { ;(s && !fe.call(r, t)) || le(e, t, r[t]) }), e ) }, ue = function (e, t) { return void 0 === t ? w(e) : ce(w(e), t) }, fe = function (e) { var t = y(e), r = J.call(this, t) return !(this === H && u($, t) && !u(ee, t)) && (!(r || !u(this, t) || !u($, t) || (u(this, U) && this[U][t])) || r) }, pe = function (e, t) { var r = g(e), n = y(t) if (r !== H || !u($, n) || u(ee, n)) { var i = K(r, n) return !i || !u($, n) || (u(r, U) && r[U][n]) || (i.enumerable = !0), i } }, de = function (e) { var t = Q(g(e)), r = [] return ( F(t, function (e) { u($, e) || u(j, e) || r.push(e) }), r ) }, he = function (e) { var t = e === H, r = Q(t ? ee : g(e)), n = [] return ( F(r, function (e) { !u($, e) || (t && !u(H, e)) || n.push($[e]) }), n ) } if ( (l || ((X = function () { if (this instanceof X) throw TypeError("Symbol is not a constructor") var e = arguments.length && void 0 !== arguments[0] ? v(arguments[0]) : void 0, t = R(e), r = function (e) { this === H && r.call(ee, e), u(this, U) && u(this[U], t) && (this[U][t] = !1), ae(this, t, b(1, e)) } return ( s && oe && ae(H, t, { configurable: !0, set: r }), se(t, e) ) }), L(X[q], "toString", function () { return V(this).tag }), L(X, "withoutSetter", function (e) { return se(R(e), e) }), (C.f = fe), (S.f = le), (E.f = pe), (A.f = _.f = de), (T.f = he), (N.f = function (e) { return se(I(e), e) }), s && (Z(X[q], "description", { configurable: !0, get: function () { return V(this).description } }), a || L(H, "propertyIsEnumerable", fe, { unsafe: !0 }))), n( { global: !0, wrap: !0, forced: !l, sham: !l }, { Symbol: X } ), F(x(ne), function (e) { M(e) }), n( { target: z, stat: !0, forced: !l }, { for: function (e) { var t = v(e) if (u(te, t)) return te[t] var r = X(t) return (te[t] = r), (re[r] = t), r }, keyFor: function (e) { if (!d(e)) throw TypeError(e + " is not a symbol") if (u(re, e)) return re[e] }, useSetter: function () { oe = !0 }, useSimple: function () { oe = !1 } } ), n( { target: "Object", stat: !0, forced: !l, sham: !s }, { create: ue, defineProperty: le, defineProperties: ce, getOwnPropertyDescriptor: pe } ), n( { target: "Object", stat: !0, forced: !l }, { getOwnPropertyNames: de, getOwnPropertySymbols: he } ), n( { target: "Object", stat: !0, forced: c(function () { T.f(1) }) }, { getOwnPropertySymbols: function (e) { return T.f(m(e)) } } ), Y) ) { var me = !l || c(function () { var e = X() return ( "[null]" != Y([e]) || "{}" != Y({ a: e }) || "{}" != Y(Object(e)) ) }) n( { target: "JSON", stat: !0, forced: me }, { stringify: function (e, t, r) { var n, i = [e], o = 1 while (arguments.length > o) i.push(arguments[o++]) if (((n = t), (p(t) || void 0 !== e) && !d(e))) return ( f(t) || (t = function (e, t) { if (("function" == typeof n && (t = n.call(this, e, t)), !d(t))) return t }), (i[1] = t), Y.apply(null, i) ) } } ) } X[q][G] || k(X[q], G, X[q].valueOf), D(X, z), (j[U] = !0) }, a630: function (e, t, r) { var n = r("23e7"), i = r("4df4"), o = r("1c7e"), a = !o(function (e) { Array.from(e) }) n( { target: "Array", stat: !0, forced: a }, { from: i } ) }, a640: function (e, t, r) { "use strict" var n = r("d039") e.exports = function (e, t) { var r = [][e] return ( !!r && n(function () { r.call( null, t || function () { throw 1 }, 1 ) }) ) } }, a691: function (e, t) { var r = Math.ceil, n = Math.floor e.exports = function (e) { return isNaN((e = +e)) ? 0 : (e > 0 ? n : r)(e) } }, a8f0: function (e, t, r) { var n = r("b639"), i = n.Buffer function o(e, t) { for (var r in e) t[r] = e[r] } function a(e, t, r) { return i(e, t, r) } i.from && i.alloc && i.allocUnsafe && i.allocUnsafeSlow ? (e.exports = n) : (o(n, t), (t.Buffer = a)), o(i, a), (a.from = function (e, t, r) { if ("number" === typeof e) throw new TypeError("Argument must not be a number") return i(e, t, r) }), (a.alloc = function (e, t, r) { if ("number" !== typeof e) throw new TypeError("Argument must be a number") var n = i(e) return void 0 !== t ? ("string" === typeof r ? n.fill(t, r) : n.fill(t)) : n.fill(0), n }), (a.allocUnsafe = function (e) { if ("number" !== typeof e) throw new TypeError("Argument must be a number") return i(e) }), (a.allocUnsafeSlow = function (e) { if ("number" !== typeof e) throw new TypeError("Argument must be a number") return n.SlowBuffer(e) }) }, ab13: function (e, t, r) { var n = r("b622"), i = n("match") e.exports = function (e) { var t = /./ try { "/./"[e](t) } catch (r) { try { return (t[i] = !1), "/./"[e](t) } catch (n) {} } return !1 } }, ac1f: function (e, t, r) { "use strict" var n = r("23e7"), i = r("9263") n( { target: "RegExp", proto: !0, forced: /./.exec !== i }, { exec: i } ) }, ad6d: function (e, t, r) { "use strict" var n = r("825a") e.exports = function () { var e = n(this), t = "" return ( e.global && (t += "g"), e.ignoreCase && (t += "i"), e.multiline && (t += "m"), e.dotAll && (t += "s"), e.unicode && (t += "u"), e.sticky && (t += "y"), t ) } }, ad71: function (e, t, r) { "use strict" ;(function (t, n) { var i = r("966d") e.exports = A var o, a = r("e3db") A.ReadableState = x r("faa1").EventEmitter var s = function (e, t) { return e.listeners(t).length }, l = r("429b"), c = r("a8f0").Buffer, u = t.Uint8Array || function () {} function f(e) { return c.from(e) } function p(e) { return c.isBuffer(e) || e instanceof u } var d = Object.create(r("3a7c")) d.inherits = r("3fb5") var h = r(2), m = void 0 m = h && h.debuglog ? h.debuglog("stream") : function () {} var g, y = r("5e1a"), v = r("4681") d.inherits(A, l) var b = ["error", "close", "destroy", "pause", "resume"] function w(e, t, r) { if ("function" === typeof e.prependListener) return e.prependListener(t, r) e._events && e._events[t] ? (a(e._events[t]) ? e._events[t].unshift(r) : (e._events[t] = [r, e._events[t]])) : e.on(t, r) } function x(e, t) { ;(o = o || r("b19a")), (e = e || {}) var n = t instanceof o ;(this.objectMode = !!e.objectMode), n && (this.objectMode = this.objectMode || !!e.readableObjectMode) var i = e.highWaterMark, a = e.readableHighWaterMark, s = this.objectMode ? 16 : 16384 ;(this.highWaterMark = i || 0 === i ? i : n && (a || 0 === a) ? a : s), (this.highWaterMark = Math.floor(this.highWaterMark)), (this.buffer = new y()), (this.length = 0), (this.pipes = null), (this.pipesCount = 0), (this.flowing = null), (this.ended = !1), (this.endEmitted = !1), (this.reading = !1), (this.sync = !0), (this.needReadable = !1), (this.emittedReadable = !1), (this.readableListening = !1), (this.resumeScheduled = !1), (this.destroyed = !1), (this.defaultEncoding = e.defaultEncoding || "utf8"), (this.awaitDrain = 0), (this.readingMore = !1), (this.decoder = null), (this.encoding = null), e.encoding && (g || (g = r("7d72").StringDecoder), (this.decoder = new g(e.encoding)), (this.encoding = e.encoding)) } function A(e) { if (((o = o || r("b19a")), !(this instanceof A))) return new A(e) ;(this._readableState = new x(e, this)), (this.readable = !0), e && ("function" === typeof e.read && (this._read = e.read), "function" === typeof e.destroy && (this._destroy = e.destroy)), l.call(this) } function _(e, t, r, n, i) { var o, a = e._readableState null === t ? ((a.reading = !1), P(e, a)) : (i || (o = E(a, t)), o ? e.emit("error", o) : a.objectMode || (t && t.length > 0) ? ("string" === typeof t || a.objectMode || Object.getPrototypeOf(t) === c.prototype || (t = f(t)), n ? a.endEmitted ? e.emit("error", new Error("stream.unshift() after end event")) : T(e, a, t, !0) : a.ended ? e.emit("error", new Error("stream.push() after EOF")) : ((a.reading = !1), a.decoder && !r ? ((t = a.decoder.write(t)), a.objectMode || 0 !== t.length ? T(e, a, t, !1) : R(e, a)) : T(e, a, t, !1))) : n || (a.reading = !1)) return S(a) } function T(e, t, r, n) { t.flowing && 0 === t.length && !t.sync ? (e.emit("data", r), e.read(0)) : ((t.length += t.objectMode ? 1 : r.length), n ? t.buffer.unshift(r) : t.buffer.push(r), t.needReadable && O(e)), R(e, t) } function E(e, t) { var r return p(t) || "string" === typeof t || void 0 === t || e.objectMode || (r = new TypeError("Invalid non-string/buffer chunk")), r } function S(e) { return !e.ended && (e.needReadable || e.length < e.highWaterMark || 0 === e.length) } Object.defineProperty(A.prototype, "destroyed", { get: function () { return void 0 !== this._readableState && this._readableState.destroyed }, set: function (e) { this._readableState && (this._readableState.destroyed = e) } }), (A.prototype.destroy = v.destroy), (A.prototype._undestroy = v.undestroy), (A.prototype._destroy = function (e, t) { this.push(null), t(e) }), (A.prototype.push = function (e, t) { var r, n = this._readableState return ( n.objectMode ? (r = !0) : "string" === typeof e && ((t = t || n.defaultEncoding), t !== n.encoding && ((e = c.from(e, t)), (t = "")), (r = !0)), _(this, e, t, !1, r) ) }), (A.prototype.unshift = function (e) { return _(this, e, null, !0, !1) }), (A.prototype.isPaused = function () { return !1 === this._readableState.flowing }), (A.prototype.setEncoding = function (e) { return g || (g = r("7d72").StringDecoder), (this._readableState.decoder = new g(e)), (this._readableState.encoding = e), this }) var C = 8388608 function k(e) { return e >= C ? (e = C) : (e--, (e |= e >>> 1), (e |= e >>> 2), (e |= e >>> 4), (e |= e >>> 8), (e |= e >>> 16), e++), e } function L(e, t) { return e <= 0 || (0 === t.length && t.ended) ? 0 : t.objectMode ? 1 : e !== e ? t.flowing && t.length ? t.buffer.head.data.length : t.length : (e > t.highWaterMark && (t.highWaterMark = k(e)), e <= t.length ? e : t.ended ? t.length : ((t.needReadable = !0), 0)) } function P(e, t) { if (!t.ended) { if (t.decoder) { var r = t.decoder.end() r && r.length && (t.buffer.push(r), (t.length += t.objectMode ? 1 : r.length)) } ;(t.ended = !0), O(e) } } function O(e) { var t = e._readableState ;(t.needReadable = !1), t.emittedReadable || (m("emitReadable", t.flowing), (t.emittedReadable = !0), t.sync ? i.nextTick(j, e) : j(e)) } function j(e) { m("emit readable"), e.emit("readable"), F(e) } function R(e, t) { t.readingMore || ((t.readingMore = !0), i.nextTick(I, e, t)) } function I(e, t) { var r = t.length while (!t.reading && !t.flowing && !t.ended && t.length < t.highWaterMark) { if ((m("maybeReadMore read 0"), e.read(0), r === t.length)) break r = t.length } t.readingMore = !1 } function N(e) { return function () { var t = e._readableState m("pipeOnDrain", t.awaitDrain), t.awaitDrain && t.awaitDrain--, 0 === t.awaitDrain && s(e, "data") && ((t.flowing = !0), F(e)) } } function M(e) { m("readable nexttick read 0"), e.read(0) } function D(e, t) { t.resumeScheduled || ((t.resumeScheduled = !0), i.nextTick(B, e, t)) } function B(e, t) { t.reading || (m("resume read 0"), e.read(0)), (t.resumeScheduled = !1), (t.awaitDrain = 0), e.emit("resume"), F(e), t.flowing && !t.reading && e.read(0) } function F(e) { var t = e._readableState m("flow", t.flowing) while (t.flowing && null !== e.read()); } function U(e, t) { return 0 === t.length ? null : (t.objectMode ? (r = t.buffer.shift()) : !e || e >= t.length ? ((r = t.decoder ? t.buffer.join("") : 1 === t.buffer.length ? t.buffer.head.data : t.buffer.concat(t.length)), t.buffer.clear()) : (r = z(e, t.buffer, t.decoder)), r) var r } function z(e, t, r) { var n return ( e < t.head.data.length ? ((n = t.head.data.slice(0, e)), (t.head.data = t.head.data.slice(e))) : (n = e === t.head.data.length ? t.shift() : r ? q(e, t) : G(e, t)), n ) } function q(e, t) { var r = t.head, n = 1, i = r.data e -= i.length while ((r = r.next)) { var o = r.data, a = e > o.length ? o.length : e if ((a === o.length ? (i += o) : (i += o.slice(0, e)), (e -= a), 0 === e)) { a === o.length ? (++n, r.next ? (t.head = r.next) : (t.head = t.tail = null)) : ((t.head = r), (r.data = o.slice(a))) break } ++n } return (t.length -= n), i } function G(e, t) { var r = c.allocUnsafe(e), n = t.head, i = 1 n.data.copy(r), (e -= n.data.length) while ((n = n.next)) { var o = n.data, a = e > o.length ? o.length : e if ((o.copy(r, r.length - e, 0, a), (e -= a), 0 === e)) { a === o.length ? (++i, n.next ? (t.head = n.next) : (t.head = t.tail = null)) : ((t.head = n), (n.data = o.slice(a))) break } ++i } return (t.length -= i), r } function W(e) { var t = e._readableState if (t.length > 0) throw new Error('"endReadable()" called on non-empty stream') t.endEmitted || ((t.ended = !0), i.nextTick(V, t, e)) } function V(e, t) { e.endEmitted || 0 !== e.length || ((e.endEmitted = !0), (t.readable = !1), t.emit("end")) } function H(e, t) { for (var r = 0, n = e.length; r < n; r++) if (e[r] === t) return r return -1 } ;(A.prototype.read = function (e) { m("read", e), (e = parseInt(e, 10)) var t = this._readableState, r = e if ((0 !== e && (t.emittedReadable = !1), 0 === e && t.needReadable && (t.length >= t.highWaterMark || t.ended))) return m("read: emitReadable", t.length, t.ended), 0 === t.length && t.ended ? W(this) : O(this), null if (((e = L(e, t)), 0 === e && t.ended)) return 0 === t.length && W(this), null var n, i = t.needReadable return ( m("need readable", i), (0 === t.length || t.length - e < t.highWaterMark) && ((i = !0), m("length less than watermark", i)), t.ended || t.reading ? ((i = !1), m("reading or ended", i)) : i && (m("do read"), (t.reading = !0), (t.sync = !0), 0 === t.length && (t.needReadable = !0), this._read(t.highWaterMark), (t.sync = !1), t.reading || (e = L(r, t))), (n = e > 0 ? U(e, t) : null), null === n ? ((t.needReadable = !0), (e = 0)) : (t.length -= e), 0 === t.length && (t.ended || (t.needReadable = !0), r !== e && t.ended && W(this)), null !== n && this.emit("data", n), n ) }), (A.prototype._read = function (e) { this.emit("error", new Error("_read() is not implemented")) }), (A.prototype.pipe = function (e, t) { var r = this, o = this._readableState switch (o.pipesCount) { case 0: o.pipes = e break case 1: o.pipes = [o.pipes, e] break default: o.pipes.push(e) break } ;(o.pipesCount += 1), m("pipe count=%d opts=%j", o.pipesCount, t) var a = (!t || !1 !== t.end) && e !== n.stdout && e !== n.stderr, l = a ? u : x function c(e, t) { m("onunpipe"), e === r && t && !1 === t.hasUnpiped && ((t.hasUnpiped = !0), d()) } function u() { m("onend"), e.end() } o.endEmitted ? i.nextTick(l) : r.once("end", l), e.on("unpipe", c) var f = N(r) e.on("drain", f) var p = !1 function d() { m("cleanup"), e.removeListener("close", v), e.removeListener("finish", b), e.removeListener("drain", f), e.removeListener("error", y), e.removeListener("unpipe", c), r.removeListener("end", u), r.removeListener("end", x), r.removeListener("data", g), (p = !0), !o.awaitDrain || (e._writableState && !e._writableState.needDrain) || f() } var h = !1 function g(t) { m("ondata"), (h = !1) var n = e.write(t) !1 !== n || h || (((1 === o.pipesCount && o.pipes === e) || (o.pipesCount > 1 && -1 !== H(o.pipes, e))) && !p && (m("false write response, pause", r._readableState.awaitDrain), r._readableState.awaitDrain++, (h = !0)), r.pause()) } function y(t) { m("onerror", t), x(), e.removeListener("error", y), 0 === s(e, "error") && e.emit("error", t) } function v() { e.removeListener("finish", b), x() } function b() { m("onfinish"), e.removeListener("close", v), x() } function x() { m("unpipe"), r.unpipe(e) } return ( r.on("data", g), w(e, "error", y), e.once("close", v), e.once("finish", b), e.emit("pipe", r), o.flowing || (m("pipe resume"), r.resume()), e ) }), (A.prototype.unpipe = function (e) { var t = this._readableState, r = { hasUnpiped: !1 } if (0 === t.pipesCount) return this if (1 === t.pipesCount) return ( (e && e !== t.pipes) || (e || (e = t.pipes), (t.pipes = null), (t.pipesCount = 0), (t.flowing = !1), e && e.emit("unpipe", this, r)), this ) if (!e) { var n = t.pipes, i = t.pipesCount ;(t.pipes = null), (t.pipesCount = 0), (t.flowing = !1) for (var o = 0; o < i; o++) n[o].emit("unpipe", this, r) return this } var a = H(t.pipes, e) return ( -1 === a || (t.pipes.splice(a, 1), (t.pipesCount -= 1), 1 === t.pipesCount && (t.pipes = t.pipes[0]), e.emit("unpipe", this, r)), this ) }), (A.prototype.on = function (e, t) { var r = l.prototype.on.call(this, e, t) if ("data" === e) !1 !== this._readableState.flowing && this.resume() else if ("readable" === e) { var n = this._readableState n.endEmitted || n.readableListening || ((n.readableListening = n.needReadable = !0), (n.emittedReadable = !1), n.reading ? n.length && O(this) : i.nextTick(M, this)) } return r }), (A.prototype.addListener = A.prototype.on), (A.prototype.resume = function () { var e = this._readableState return e.flowing || (m("resume"), (e.flowing = !0), D(this, e)), this }), (A.prototype.pause = function () { return ( m("call pause flowing=%j", this._readableState.flowing), !1 !== this._readableState.flowing && (m("pause"), (this._readableState.flowing = !1), this.emit("pause")), this ) }), (A.prototype.wrap = function (e) { var t = this, r = this._readableState, n = !1 for (var i in (e.on("end", function () { if ((m("wrapped end"), r.decoder && !r.ended)) { var e = r.decoder.end() e && e.length && t.push(e) } t.push(null) }), e.on("data", function (i) { if ( (m("wrapped data"), r.decoder && (i = r.decoder.write(i)), (!r.objectMode || (null !== i && void 0 !== i)) && (r.objectMode || (i && i.length))) ) { var o = t.push(i) o || ((n = !0), e.pause()) } }), e)) void 0 === this[i] && "function" === typeof e[i] && (this[i] = (function (t) { return function () { return e[t].apply(e, arguments) } })(i)) for (var o = 0; o < b.length; o++) e.on(b[o], this.emit.bind(this, b[o])) return ( (this._read = function (t) { m("wrapped _read", t), n && ((n = !1), e.resume()) }), this ) }), Object.defineProperty(A.prototype, "readableHighWaterMark", { enumerable: !1, get: function () { return this._readableState.highWaterMark } }), (A._fromList = U) }).call(this, r("c8ba"), r("4362")) }, ae93: function (e, t, r) { "use strict" var n, i, o, a = r("d039"), s = r("e163"), l = r("9112"), c = r("5135"), u = r("b622"), f = r("c430"), p = u("iterator"), d = !1, h = function () { return this } ;[].keys && ((o = [].keys()), "next" in o ? ((i = s(s(o))), i !== Object.prototype && (n = i)) : (d = !0)) var m = void 0 == n || a(function () { var e = {} return n[p].call(e) !== e }) m && (n = {}), (f && !m) || c(n, p) || l(n, p, h), (e.exports = { IteratorPrototype: n, BUGGY_SAFARI_ITERATORS: d }) }, b041: function (e, t, r) { "use strict" var n = r("00ee"), i = r("f5df") e.exports = n ? {}.toString : function () { return "[object " + i(this) + "]" } }, b0c0: function (e, t, r) { var n = r("83ab"), i = r("9bf2").f, o = Function.prototype, a = o.toString, s = /^\s*function ([^ (]*)/, l = "name" n && !(l in o) && i(o, l, { configurable: !0, get: function () { try { return a.call(this).match(s)[1] } catch (e) { return "" } } }) }, b19a: function (e, t, r) { "use strict" var n = r("966d"), i = Object.keys || function (e) { var t = [] for (var r in e) t.push(r) return t } e.exports = f var o = Object.create(r("3a7c")) o.inherits = r("3fb5") var a = r("ad71"), s = r("dc14") o.inherits(f, a) for (var l = i(s.prototype), c = 0; c < l.length; c++) { var u = l[c] f.prototype[u] || (f.prototype[u] = s.prototype[u]) } function f(e) { if (!(this instanceof f)) return new f(e) a.call(this, e), s.call(this, e), e && !1 === e.readable && (this.readable = !1), e && !1 === e.writable && (this.writable = !1), (this.allowHalfOpen = !0), e && !1 === e.allowHalfOpen && (this.allowHalfOpen = !1), this.once("end", p) } function p() { this.allowHalfOpen || this._writableState.ended || n.nextTick(d, this) } function d(e) { e.end() } Object.defineProperty(f.prototype, "writableHighWaterMark", { enumerable: !1, get: function () { return this._writableState.highWaterMark } }), Object.defineProperty(f.prototype, "destroyed", { get: function () { return ( void 0 !== this._readableState && void 0 !== this._writableState && this._readableState.destroyed && this._writableState.destroyed ) }, set: function (e) { void 0 !== this._readableState && void 0 !== this._writableState && ((this._readableState.destroyed = e), (this._writableState.destroyed = e)) } }), (f.prototype._destroy = function (e, t) { this.push(null), this.end(), n.nextTick(t, e) }) }, b622: function (e, t, r) { var n = r("da84"), i = r("5692"), o = r("5135"), a = r("90e3"), s = r("4930"), l = r("fdbf"), c = i("wks"), u = n.Symbol, f = l ? u : (u && u.withoutSetter) || a e.exports = function (e) { return (o(c, e) && (s || "string" == typeof c[e])) || (s && o(u, e) ? (c[e] = u[e]) : (c[e] = f("Symbol." + e))), c[e] } }, b639: function (e, t, r) { "use strict" ;(function (e) { /*! * The buffer module from node.js, for the browser. * * @author Feross Aboukhadijeh * @license MIT */ var n = r("1fb5"), i = r("9152"), o = r("e3db") function a() { try { var e = new Uint8Array(1) return ( (e.__proto__ = { __proto__: Uint8Array.prototype, foo: function () { return 42 } }), 42 === e.foo() && "function" === typeof e.subarray && 0 === e.subarray(1, 1).byteLength ) } catch (t) { return !1 } } function s() { return c.TYPED_ARRAY_SUPPORT ? 2147483647 : 1073741823 } function l(e, t) { if (s() < t) throw new RangeError("Invalid typed array length") return c.TYPED_ARRAY_SUPPORT ? ((e = new Uint8Array(t)), (e.__proto__ = c.prototype)) : (null === e && (e = new c(t)), (e.length = t)), e } function c(e, t, r) { if (!c.TYPED_ARRAY_SUPPORT && !(this instanceof c)) return new c(e, t, r) if ("number" === typeof e) { if ("string" === typeof t) throw new Error("If encoding is specified then the first argument must be a string") return d(this, e) } return u(this, e, t, r) } function u(e, t, r, n) { if ("number" === typeof t) throw new TypeError('"value" argument must not be a number') return "undefined" !== typeof ArrayBuffer && t instanceof ArrayBuffer ? g(e, t, r, n) : "string" === typeof t ? h(e, t, r) : y(e, t) } function f(e) { if ("number" !== typeof e) throw new TypeError('"size" argument must be a number') if (e < 0) throw new RangeError('"size" argument must not be negative') } function p(e, t, r, n) { return f(t), t <= 0 ? l(e, t) : void 0 !== r ? ("string" === typeof n ? l(e, t).fill(r, n) : l(e, t).fill(r)) : l(e, t) } function d(e, t) { if ((f(t), (e = l(e, t < 0 ? 0 : 0 | v(t))), !c.TYPED_ARRAY_SUPPORT)) for (var r = 0; r < t; ++r) e[r] = 0 return e } function h(e, t, r) { if ((("string" === typeof r && "" !== r) || (r = "utf8"), !c.isEncoding(r))) throw new TypeError('"encoding" must be a valid string encoding') var n = 0 | w(t, r) e = l(e, n) var i = e.write(t, r) return i !== n && (e = e.slice(0, i)), e } function m(e, t) { var r = t.length < 0 ? 0 : 0 | v(t.length) e = l(e, r) for (var n = 0; n < r; n += 1) e[n] = 255 & t[n] return e } function g(e, t, r, n) { if ((t.byteLength, r < 0 || t.byteLength < r)) throw new RangeError("'offset' is out of bounds") if (t.byteLength < r + (n || 0)) throw new RangeError("'length' is out of bounds") return ( (t = void 0 === r && void 0 === n ? new Uint8Array(t) : void 0 === n ? new Uint8Array(t, r) : new Uint8Array(t, r, n)), c.TYPED_ARRAY_SUPPORT ? ((e = t), (e.__proto__ = c.prototype)) : (e = m(e, t)), e ) } function y(e, t) { if (c.isBuffer(t)) { var r = 0 | v(t.length) return (e = l(e, r)), 0 === e.length ? e : (t.copy(e, 0, 0, r), e) } if (t) { if (("undefined" !== typeof ArrayBuffer && t.buffer instanceof ArrayBuffer) || "length" in t) return "number" !== typeof t.length || te(t.length) ? l(e, 0) : m(e, t) if ("Buffer" === t.type && o(t.data)) return m(e, t.data) } throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.") } function v(e) { if (e >= s()) throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x" + s().toString(16) + " bytes") return 0 | e } function b(e) { return +e != e && (e = 0), c.alloc(+e) } function w(e, t) { if (c.isBuffer(e)) return e.length if ("undefined" !== typeof ArrayBuffer && "function" === typeof ArrayBuffer.isView && (ArrayBuffer.isView(e) || e instanceof ArrayBuffer)) return e.byteLength "string" !== typeof e && (e = "" + e) var r = e.length if (0 === r) return 0 for (var n = !1; ; ) switch (t) { case "ascii": case "latin1": case "binary": return r case "utf8": case "utf-8": case void 0: return Z(e).length case "ucs2": case "ucs-2": case "utf16le": case "utf-16le": return 2 * r case "hex": return r >>> 1 case "base64": return $(e).length default: if (n) return Z(e).length ;(t = ("" + t).toLowerCase()), (n = !0) } } function x(e, t, r) { var n = !1 if (((void 0 === t || t < 0) && (t = 0), t > this.length)) return "" if (((void 0 === r || r > this.length) && (r = this.length), r <= 0)) return "" if (((r >>>= 0), (t >>>= 0), r <= t)) return "" e || (e = "utf8") while (1) switch (e) { case "hex": return D(this, t, r) case "utf8": case "utf-8": return j(this, t, r) case "ascii": return N(this, t, r) case "latin1": case "binary": return M(this, t, r) case "base64": return O(this, t, r) case "ucs2": case "ucs-2": case "utf16le": case "utf-16le": return B(this, t, r) default: if (n) throw new TypeError("Unknown encoding: " + e) ;(e = (e + "").toLowerCase()), (n = !0) } } function A(e, t, r) { var n = e[t] ;(e[t] = e[r]), (e[r] = n) } function _(e, t, r, n, i) { if (0 === e.length) return -1 if ( ("string" === typeof r ? ((n = r), (r = 0)) : r > 2147483647 ? (r = 2147483647) : r < -2147483648 && (r = -2147483648), (r = +r), isNaN(r) && (r = i ? 0 : e.length - 1), r < 0 && (r = e.length + r), r >= e.length) ) { if (i) return -1 r = e.length - 1 } else if (r < 0) { if (!i) return -1 r = 0 } if (("string" === typeof t && (t = c.from(t, n)), c.isBuffer(t))) return 0 === t.length ? -1 : T(e, t, r, n, i) if ("number" === typeof t) return ( (t &= 255), c.TYPED_ARRAY_SUPPORT && "function" === typeof Uint8Array.prototype.indexOf ? i ? Uint8Array.prototype.indexOf.call(e, t, r) : Uint8Array.prototype.lastIndexOf.call(e, t, r) : T(e, [t], r, n, i) ) throw new TypeError("val must be string, number or Buffer") } function T(e, t, r, n, i) { var o, a = 1, s = e.length, l = t.length if (void 0 !== n && ((n = String(n).toLowerCase()), "ucs2" === n || "ucs-2" === n || "utf16le" === n || "utf-16le" === n)) { if (e.length < 2 || t.length < 2) return -1 ;(a = 2), (s /= 2), (l /= 2), (r /= 2) } function c(e, t) { return 1 === a ? e[t] : e.readUInt16BE(t * a) } if (i) { var u = -1 for (o = r; o < s; o++) if (c(e, o) === c(t, -1 === u ? 0 : o - u)) { if ((-1 === u && (u = o), o - u + 1 === l)) return u * a } else -1 !== u && (o -= o - u), (u = -1) } else for (r + l > s && (r = s - l), o = r; o >= 0; o--) { for (var f = !0, p = 0; p < l; p++) if (c(e, o + p) !== c(t, p)) { f = !1 break } if (f) return o } return -1 } function E(e, t, r, n) { r = Number(r) || 0 var i = e.length - r n ? ((n = Number(n)), n > i && (n = i)) : (n = i) var o = t.length if (o % 2 !== 0) throw new TypeError("Invalid hex string") n > o / 2 && (n = o / 2) for (var a = 0; a < n; ++a) { var s = parseInt(t.substr(2 * a, 2), 16) if (isNaN(s)) return a e[r + a] = s } return a } function S(e, t, r, n) { return ee(Z(t, e.length - r), e, r, n) } function C(e, t, r, n) { return ee(Q(t), e, r, n) } function k(e, t, r, n) { return C(e, t, r, n) } function L(e, t, r, n) { return ee($(t), e, r, n) } function P(e, t, r, n) { return ee(J(t, e.length - r), e, r, n) } function O(e, t, r) { return 0 === t && r === e.length ? n.fromByteArray(e) : n.fromByteArray(e.slice(t, r)) } function j(e, t, r) { r = Math.min(e.length, r) var n = [], i = t while (i < r) { var o, a, s, l, c = e[i], u = null, f = c > 239 ? 4 : c > 223 ? 3 : c > 191 ? 2 : 1 if (i + f <= r) switch (f) { case 1: c < 128 && (u = c) break case 2: ;(o = e[i + 1]), 128 === (192 & o) && ((l = ((31 & c) << 6) | (63 & o)), l > 127 && (u = l)) break case 3: ;(o = e[i + 1]), (a = e[i + 2]), 128 === (192 & o) && 128 === (192 & a) && ((l = ((15 & c) << 12) | ((63 & o) << 6) | (63 & a)), l > 2047 && (l < 55296 || l > 57343) && (u = l)) break case 4: ;(o = e[i + 1]), (a = e[i + 2]), (s = e[i + 3]), 128 === (192 & o) && 128 === (192 & a) && 128 === (192 & s) && ((l = ((15 & c) << 18) | ((63 & o) << 12) | ((63 & a) << 6) | (63 & s)), l > 65535 && l < 1114112 && (u = l)) } null === u ? ((u = 65533), (f = 1)) : u > 65535 && ((u -= 65536), n.push(((u >>> 10) & 1023) | 55296), (u = 56320 | (1023 & u))), n.push(u), (i += f) } return I(n) } ;(t.Buffer = c), (t.SlowBuffer = b), (t.INSPECT_MAX_BYTES = 50), (c.TYPED_ARRAY_SUPPORT = void 0 !== e.TYPED_ARRAY_SUPPORT ? e.TYPED_ARRAY_SUPPORT : a()), (t.kMaxLength = s()), (c.poolSize = 8192), (c._augment = function (e) { return (e.__proto__ = c.prototype), e }), (c.from = function (e, t, r) { return u(null, e, t, r) }), c.TYPED_ARRAY_SUPPORT && ((c.prototype.__proto__ = Uint8Array.prototype), (c.__proto__ = Uint8Array), "undefined" !== typeof Symbol && Symbol.species && c[Symbol.species] === c && Object.defineProperty(c, Symbol.species, { value: null, configurable: !0 })), (c.alloc = function (e, t, r) { return p(null, e, t, r) }), (c.allocUnsafe = function (e) { return d(null, e) }), (c.allocUnsafeSlow = function (e) { return d(null, e) }), (c.isBuffer = function (e) { return !(null == e || !e._isBuffer) }), (c.compare = function (e, t) { if (!c.isBuffer(e) || !c.isBuffer(t)) throw new TypeError("Arguments must be Buffers") if (e === t) return 0 for (var r = e.length, n = t.length, i = 0, o = Math.min(r, n); i < o; ++i) if (e[i] !== t[i]) { ;(r = e[i]), (n = t[i]) break } return r < n ? -1 : n < r ? 1 : 0 }), (c.isEncoding = function (e) { switch (String(e).toLowerCase()) { case "hex": case "utf8": case "utf-8": case "ascii": case "latin1": case "binary": case "base64": case "ucs2": case "ucs-2": case "utf16le": case "utf-16le": return !0 default: return !1 } }), (c.concat = function (e, t) { if (!o(e)) throw new TypeError('"list" argument must be an Array of Buffers') if (0 === e.length) return c.alloc(0) var r if (void 0 === t) for (t = 0, r = 0; r < e.length; ++r) t += e[r].length var n = c.allocUnsafe(t), i = 0 for (r = 0; r < e.length; ++r) { var a = e[r] if (!c.isBuffer(a)) throw new TypeError('"list" argument must be an Array of Buffers') a.copy(n, i), (i += a.length) } return n }), (c.byteLength = w), (c.prototype._isBuffer = !0), (c.prototype.swap16 = function () { var e = this.length if (e % 2 !== 0) throw new RangeError("Buffer size must be a multiple of 16-bits") for (var t = 0; t < e; t += 2) A(this, t, t + 1) return this }), (c.prototype.swap32 = function () { var e = this.length if (e % 4 !== 0) throw new RangeError("Buffer size must be a multiple of 32-bits") for (var t = 0; t < e; t += 4) A(this, t, t + 3), A(this, t + 1, t + 2) return this }), (c.prototype.swap64 = function () { var e = this.length if (e % 8 !== 0) throw new RangeError("Buffer size must be a multiple of 64-bits") for (var t = 0; t < e; t += 8) A(this, t, t + 7), A(this, t + 1, t + 6), A(this, t + 2, t + 5), A(this, t + 3, t + 4) return this }), (c.prototype.toString = function () { var e = 0 | this.length return 0 === e ? "" : 0 === arguments.length ? j(this, 0, e) : x.apply(this, arguments) }), (c.prototype.equals = function (e) { if (!c.isBuffer(e)) throw new TypeError("Argument must be a Buffer") return this === e || 0 === c.compare(this, e) }), (c.prototype.inspect = function () { var e = "", r = t.INSPECT_MAX_BYTES return ( this.length > 0 && ((e = this.toString("hex", 0, r).match(/.{2}/g).join(" ")), this.length > r && (e += " ... ")), "" ) }), (c.prototype.compare = function (e, t, r, n, i) { if (!c.isBuffer(e)) throw new TypeError("Argument must be a Buffer") if ( (void 0 === t && (t = 0), void 0 === r && (r = e ? e.length : 0), void 0 === n && (n = 0), void 0 === i && (i = this.length), t < 0 || r > e.length || n < 0 || i > this.length) ) throw new RangeError("out of range index") if (n >= i && t >= r) return 0 if (n >= i) return -1 if (t >= r) return 1 if (((t >>>= 0), (r >>>= 0), (n >>>= 0), (i >>>= 0), this === e)) return 0 for (var o = i - n, a = r - t, s = Math.min(o, a), l = this.slice(n, i), u = e.slice(t, r), f = 0; f < s; ++f) if (l[f] !== u[f]) { ;(o = l[f]), (a = u[f]) break } return o < a ? -1 : a < o ? 1 : 0 }), (c.prototype.includes = function (e, t, r) { return -1 !== this.indexOf(e, t, r) }), (c.prototype.indexOf = function (e, t, r) { return _(this, e, t, r, !0) }), (c.prototype.lastIndexOf = function (e, t, r) { return _(this, e, t, r, !1) }), (c.prototype.write = function (e, t, r, n) { if (void 0 === t) (n = "utf8"), (r = this.length), (t = 0) else if (void 0 === r && "string" === typeof t) (n = t), (r = this.length), (t = 0) else { if (!isFinite(t)) throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported") ;(t |= 0), isFinite(r) ? ((r |= 0), void 0 === n && (n = "utf8")) : ((n = r), (r = void 0)) } var i = this.length - t if (((void 0 === r || r > i) && (r = i), (e.length > 0 && (r < 0 || t < 0)) || t > this.length)) throw new RangeError("Attempt to write outside buffer bounds") n || (n = "utf8") for (var o = !1; ; ) switch (n) { case "hex": return E(this, e, t, r) case "utf8": case "utf-8": return S(this, e, t, r) case "ascii": return C(this, e, t, r) case "latin1": case "binary": return k(this, e, t, r) case "base64": return L(this, e, t, r) case "ucs2": case "ucs-2": case "utf16le": case "utf-16le": return P(this, e, t, r) default: if (o) throw new TypeError("Unknown encoding: " + n) ;(n = ("" + n).toLowerCase()), (o = !0) } }), (c.prototype.toJSON = function () { return { type: "Buffer", data: Array.prototype.slice.call(this._arr || this, 0) } }) var R = 4096 function I(e) { var t = e.length if (t <= R) return String.fromCharCode.apply(String, e) var r = "", n = 0 while (n < t) r += String.fromCharCode.apply(String, e.slice(n, (n += R))) return r } function N(e, t, r) { var n = "" r = Math.min(e.length, r) for (var i = t; i < r; ++i) n += String.fromCharCode(127 & e[i]) return n } function M(e, t, r) { var n = "" r = Math.min(e.length, r) for (var i = t; i < r; ++i) n += String.fromCharCode(e[i]) return n } function D(e, t, r) { var n = e.length ;(!t || t < 0) && (t = 0), (!r || r < 0 || r > n) && (r = n) for (var i = "", o = t; o < r; ++o) i += K(e[o]) return i } function B(e, t, r) { for (var n = e.slice(t, r), i = "", o = 0; o < n.length; o += 2) i += String.fromCharCode(n[o] + 256 * n[o + 1]) return i } function F(e, t, r) { if (e % 1 !== 0 || e < 0) throw new RangeError("offset is not uint") if (e + t > r) throw new RangeError("Trying to access beyond buffer length") } function U(e, t, r, n, i, o) { if (!c.isBuffer(e)) throw new TypeError('"buffer" argument must be a Buffer instance') if (t > i || t < o) throw new RangeError('"value" argument is out of bounds') if (r + n > e.length) throw new RangeError("Index out of range") } function z(e, t, r, n) { t < 0 && (t = 65535 + t + 1) for (var i = 0, o = Math.min(e.length - r, 2); i < o; ++i) e[r + i] = (t & (255 << (8 * (n ? i : 1 - i)))) >>> (8 * (n ? i : 1 - i)) } function q(e, t, r, n) { t < 0 && (t = 4294967295 + t + 1) for (var i = 0, o = Math.min(e.length - r, 4); i < o; ++i) e[r + i] = (t >>> (8 * (n ? i : 3 - i))) & 255 } function G(e, t, r, n, i, o) { if (r + n > e.length) throw new RangeError("Index out of range") if (r < 0) throw new RangeError("Index out of range") } function W(e, t, r, n, o) { return o || G(e, t, r, 4, 34028234663852886e22, -34028234663852886e22), i.write(e, t, r, n, 23, 4), r + 4 } function V(e, t, r, n, o) { return o || G(e, t, r, 8, 17976931348623157e292, -17976931348623157e292), i.write(e, t, r, n, 52, 8), r + 8 } ;(c.prototype.slice = function (e, t) { var r, n = this.length if ( ((e = ~~e), (t = void 0 === t ? n : ~~t), e < 0 ? ((e += n), e < 0 && (e = 0)) : e > n && (e = n), t < 0 ? ((t += n), t < 0 && (t = 0)) : t > n && (t = n), t < e && (t = e), c.TYPED_ARRAY_SUPPORT) ) (r = this.subarray(e, t)), (r.__proto__ = c.prototype) else { var i = t - e r = new c(i, void 0) for (var o = 0; o < i; ++o) r[o] = this[o + e] } return r }), (c.prototype.readUIntLE = function (e, t, r) { ;(e |= 0), (t |= 0), r || F(e, t, this.length) var n = this[e], i = 1, o = 0 while (++o < t && (i *= 256)) n += this[e + o] * i return n }), (c.prototype.readUIntBE = function (e, t, r) { ;(e |= 0), (t |= 0), r || F(e, t, this.length) var n = this[e + --t], i = 1 while (t > 0 && (i *= 256)) n += this[e + --t] * i return n }), (c.prototype.readUInt8 = function (e, t) { return t || F(e, 1, this.length), this[e] }), (c.prototype.readUInt16LE = function (e, t) { return t || F(e, 2, this.length), this[e] | (this[e + 1] << 8) }), (c.prototype.readUInt16BE = function (e, t) { return t || F(e, 2, this.length), (this[e] << 8) | this[e + 1] }), (c.prototype.readUInt32LE = function (e, t) { return t || F(e, 4, this.length), (this[e] | (this[e + 1] << 8) | (this[e + 2] << 16)) + 16777216 * this[e + 3] }), (c.prototype.readUInt32BE = function (e, t) { return t || F(e, 4, this.length), 16777216 * this[e] + ((this[e + 1] << 16) | (this[e + 2] << 8) | this[e + 3]) }), (c.prototype.readIntLE = function (e, t, r) { ;(e |= 0), (t |= 0), r || F(e, t, this.length) var n = this[e], i = 1, o = 0 while (++o < t && (i *= 256)) n += this[e + o] * i return (i *= 128), n >= i && (n -= Math.pow(2, 8 * t)), n }), (c.prototype.readIntBE = function (e, t, r) { ;(e |= 0), (t |= 0), r || F(e, t, this.length) var n = t, i = 1, o = this[e + --n] while (n > 0 && (i *= 256)) o += this[e + --n] * i return (i *= 128), o >= i && (o -= Math.pow(2, 8 * t)), o }), (c.prototype.readInt8 = function (e, t) { return t || F(e, 1, this.length), 128 & this[e] ? -1 * (255 - this[e] + 1) : this[e] }), (c.prototype.readInt16LE = function (e, t) { t || F(e, 2, this.length) var r = this[e] | (this[e + 1] << 8) return 32768 & r ? 4294901760 | r : r }), (c.prototype.readInt16BE = function (e, t) { t || F(e, 2, this.length) var r = this[e + 1] | (this[e] << 8) return 32768 & r ? 4294901760 | r : r }), (c.prototype.readInt32LE = function (e, t) { return t || F(e, 4, this.length), this[e] | (this[e + 1] << 8) | (this[e + 2] << 16) | (this[e + 3] << 24) }), (c.prototype.readInt32BE = function (e, t) { return t || F(e, 4, this.length), (this[e] << 24) | (this[e + 1] << 16) | (this[e + 2] << 8) | this[e + 3] }), (c.prototype.readFloatLE = function (e, t) { return t || F(e, 4, this.length), i.read(this, e, !0, 23, 4) }), (c.prototype.readFloatBE = function (e, t) { return t || F(e, 4, this.length), i.read(this, e, !1, 23, 4) }), (c.prototype.readDoubleLE = function (e, t) { return t || F(e, 8, this.length), i.read(this, e, !0, 52, 8) }), (c.prototype.readDoubleBE = function (e, t) { return t || F(e, 8, this.length), i.read(this, e, !1, 52, 8) }), (c.prototype.writeUIntLE = function (e, t, r, n) { if (((e = +e), (t |= 0), (r |= 0), !n)) { var i = Math.pow(2, 8 * r) - 1 U(this, e, t, r, i, 0) } var o = 1, a = 0 this[t] = 255 & e while (++a < r && (o *= 256)) this[t + a] = (e / o) & 255 return t + r }), (c.prototype.writeUIntBE = function (e, t, r, n) { if (((e = +e), (t |= 0), (r |= 0), !n)) { var i = Math.pow(2, 8 * r) - 1 U(this, e, t, r, i, 0) } var o = r - 1, a = 1 this[t + o] = 255 & e while (--o >= 0 && (a *= 256)) this[t + o] = (e / a) & 255 return t + r }), (c.prototype.writeUInt8 = function (e, t, r) { return (e = +e), (t |= 0), r || U(this, e, t, 1, 255, 0), c.TYPED_ARRAY_SUPPORT || (e = Math.floor(e)), (this[t] = 255 & e), t + 1 }), (c.prototype.writeUInt16LE = function (e, t, r) { return ( (e = +e), (t |= 0), r || U(this, e, t, 2, 65535, 0), c.TYPED_ARRAY_SUPPORT ? ((this[t] = 255 & e), (this[t + 1] = e >>> 8)) : z(this, e, t, !0), t + 2 ) }), (c.prototype.writeUInt16BE = function (e, t, r) { return ( (e = +e), (t |= 0), r || U(this, e, t, 2, 65535, 0), c.TYPED_ARRAY_SUPPORT ? ((this[t] = e >>> 8), (this[t + 1] = 255 & e)) : z(this, e, t, !1), t + 2 ) }), (c.prototype.writeUInt32LE = function (e, t, r) { return ( (e = +e), (t |= 0), r || U(this, e, t, 4, 4294967295, 0), c.TYPED_ARRAY_SUPPORT ? ((this[t + 3] = e >>> 24), (this[t + 2] = e >>> 16), (this[t + 1] = e >>> 8), (this[t] = 255 & e)) : q(this, e, t, !0), t + 4 ) }), (c.prototype.writeUInt32BE = function (e, t, r) { return ( (e = +e), (t |= 0), r || U(this, e, t, 4, 4294967295, 0), c.TYPED_ARRAY_SUPPORT ? ((this[t] = e >>> 24), (this[t + 1] = e >>> 16), (this[t + 2] = e >>> 8), (this[t + 3] = 255 & e)) : q(this, e, t, !1), t + 4 ) }), (c.prototype.writeIntLE = function (e, t, r, n) { if (((e = +e), (t |= 0), !n)) { var i = Math.pow(2, 8 * r - 1) U(this, e, t, r, i - 1, -i) } var o = 0, a = 1, s = 0 this[t] = 255 & e while (++o < r && (a *= 256)) e < 0 && 0 === s && 0 !== this[t + o - 1] && (s = 1), (this[t + o] = (((e / a) >> 0) - s) & 255) return t + r }), (c.prototype.writeIntBE = function (e, t, r, n) { if (((e = +e), (t |= 0), !n)) { var i = Math.pow(2, 8 * r - 1) U(this, e, t, r, i - 1, -i) } var o = r - 1, a = 1, s = 0 this[t + o] = 255 & e while (--o >= 0 && (a *= 256)) e < 0 && 0 === s && 0 !== this[t + o + 1] && (s = 1), (this[t + o] = (((e / a) >> 0) - s) & 255) return t + r }), (c.prototype.writeInt8 = function (e, t, r) { return ( (e = +e), (t |= 0), r || U(this, e, t, 1, 127, -128), c.TYPED_ARRAY_SUPPORT || (e = Math.floor(e)), e < 0 && (e = 255 + e + 1), (this[t] = 255 & e), t + 1 ) }), (c.prototype.writeInt16LE = function (e, t, r) { return ( (e = +e), (t |= 0), r || U(this, e, t, 2, 32767, -32768), c.TYPED_ARRAY_SUPPORT ? ((this[t] = 255 & e), (this[t + 1] = e >>> 8)) : z(this, e, t, !0), t + 2 ) }), (c.prototype.writeInt16BE = function (e, t, r) { return ( (e = +e), (t |= 0), r || U(this, e, t, 2, 32767, -32768), c.TYPED_ARRAY_SUPPORT ? ((this[t] = e >>> 8), (this[t + 1] = 255 & e)) : z(this, e, t, !1), t + 2 ) }), (c.prototype.writeInt32LE = function (e, t, r) { return ( (e = +e), (t |= 0), r || U(this, e, t, 4, 2147483647, -2147483648), c.TYPED_ARRAY_SUPPORT ? ((this[t] = 255 & e), (this[t + 1] = e >>> 8), (this[t + 2] = e >>> 16), (this[t + 3] = e >>> 24)) : q(this, e, t, !0), t + 4 ) }), (c.prototype.writeInt32BE = function (e, t, r) { return ( (e = +e), (t |= 0), r || U(this, e, t, 4, 2147483647, -2147483648), e < 0 && (e = 4294967295 + e + 1), c.TYPED_ARRAY_SUPPORT ? ((this[t] = e >>> 24), (this[t + 1] = e >>> 16), (this[t + 2] = e >>> 8), (this[t + 3] = 255 & e)) : q(this, e, t, !1), t + 4 ) }), (c.prototype.writeFloatLE = function (e, t, r) { return W(this, e, t, !0, r) }), (c.prototype.writeFloatBE = function (e, t, r) { return W(this, e, t, !1, r) }), (c.prototype.writeDoubleLE = function (e, t, r) { return V(this, e, t, !0, r) }), (c.prototype.writeDoubleBE = function (e, t, r) { return V(this, e, t, !1, r) }), (c.prototype.copy = function (e, t, r, n) { if ( (r || (r = 0), n || 0 === n || (n = this.length), t >= e.length && (t = e.length), t || (t = 0), n > 0 && n < r && (n = r), n === r) ) return 0 if (0 === e.length || 0 === this.length) return 0 if (t < 0) throw new RangeError("targetStart out of bounds") if (r < 0 || r >= this.length) throw new RangeError("sourceStart out of bounds") if (n < 0) throw new RangeError("sourceEnd out of bounds") n > this.length && (n = this.length), e.length - t < n - r && (n = e.length - t + r) var i, o = n - r if (this === e && r < t && t < n) for (i = o - 1; i >= 0; --i) e[i + t] = this[i + r] else if (o < 1e3 || !c.TYPED_ARRAY_SUPPORT) for (i = 0; i < o; ++i) e[i + t] = this[i + r] else Uint8Array.prototype.set.call(e, this.subarray(r, r + o), t) return o }), (c.prototype.fill = function (e, t, r, n) { if ("string" === typeof e) { if ( ("string" === typeof t ? ((n = t), (t = 0), (r = this.length)) : "string" === typeof r && ((n = r), (r = this.length)), 1 === e.length) ) { var i = e.charCodeAt(0) i < 256 && (e = i) } if (void 0 !== n && "string" !== typeof n) throw new TypeError("encoding must be a string") if ("string" === typeof n && !c.isEncoding(n)) throw new TypeError("Unknown encoding: " + n) } else "number" === typeof e && (e &= 255) if (t < 0 || this.length < t || this.length < r) throw new RangeError("Out of range index") if (r <= t) return this var o if (((t >>>= 0), (r = void 0 === r ? this.length : r >>> 0), e || (e = 0), "number" === typeof e)) for (o = t; o < r; ++o) this[o] = e else { var a = c.isBuffer(e) ? e : Z(new c(e, n).toString()), s = a.length for (o = 0; o < r - t; ++o) this[o + t] = a[o % s] } return this }) var H = /[^+\/0-9A-Za-z-_]/g function X(e) { if (((e = Y(e).replace(H, "")), e.length < 2)) return "" while (e.length % 4 !== 0) e += "=" return e } function Y(e) { return e.trim ? e.trim() : e.replace(/^\s+|\s+$/g, "") } function K(e) { return e < 16 ? "0" + e.toString(16) : e.toString(16) } function Z(e, t) { var r t = t || 1 / 0 for (var n = e.length, i = null, o = [], a = 0; a < n; ++a) { if (((r = e.charCodeAt(a)), r > 55295 && r < 57344)) { if (!i) { if (r > 56319) { ;(t -= 3) > -1 && o.push(239, 191, 189) continue } if (a + 1 === n) { ;(t -= 3) > -1 && o.push(239, 191, 189) continue } i = r continue } if (r < 56320) { ;(t -= 3) > -1 && o.push(239, 191, 189), (i = r) continue } r = 65536 + (((i - 55296) << 10) | (r - 56320)) } else i && (t -= 3) > -1 && o.push(239, 191, 189) if (((i = null), r < 128)) { if ((t -= 1) < 0) break o.push(r) } else if (r < 2048) { if ((t -= 2) < 0) break o.push((r >> 6) | 192, (63 & r) | 128) } else if (r < 65536) { if ((t -= 3) < 0) break o.push((r >> 12) | 224, ((r >> 6) & 63) | 128, (63 & r) | 128) } else { if (!(r < 1114112)) throw new Error("Invalid code point") if ((t -= 4) < 0) break o.push((r >> 18) | 240, ((r >> 12) & 63) | 128, ((r >> 6) & 63) | 128, (63 & r) | 128) } } return o } function Q(e) { for (var t = [], r = 0; r < e.length; ++r) t.push(255 & e.charCodeAt(r)) return t } function J(e, t) { for (var r, n, i, o = [], a = 0; a < e.length; ++a) { if ((t -= 2) < 0) break ;(r = e.charCodeAt(a)), (n = r >> 8), (i = r % 256), o.push(i), o.push(n) } return o } function $(e) { return n.toByteArray(X(e)) } function ee(e, t, r, n) { for (var i = 0; i < n; ++i) { if (i + r >= t.length || i >= e.length) break t[i + r] = e[i] } return i } function te(e) { return e !== e } }).call(this, r("c8ba")) }, b64b: function (e, t, r) { var n = r("23e7"), i = r("7b0b"), o = r("df75"), a = r("d039"), s = a(function () { o(1) }) n( { target: "Object", stat: !0, forced: s }, { keys: function (e) { return o(i(e)) } } ) }, b727: function (e, t, r) { var n = r("0366"), i = r("44ad"), o = r("7b0b"), a = r("50c4"), s = r("65f0"), l = [].push, c = function (e) { var t = 1 == e, r = 2 == e, c = 3 == e, u = 4 == e, f = 6 == e, p = 7 == e, d = 5 == e || f return function (h, m, g, y) { for ( var v, b, w = o(h), x = i(w), A = n(m, g, 3), _ = a(x.length), T = 0, E = y || s, S = t ? E(h, _) : r || p ? E(h, 0) : void 0; _ > T; T++ ) if ((d || T in x) && ((v = x[T]), (b = A(v, T, w)), e)) if (t) S[T] = b else if (b) switch (e) { case 3: return !0 case 5: return v case 6: return T case 2: l.call(S, v) } else switch (e) { case 4: return !1 case 7: l.call(S, v) } return f ? -1 : c || u ? u : S } } e.exports = { forEach: c(0), map: c(1), filter: c(2), some: c(3), every: c(4), find: c(5), findIndex: c(6), filterReject: c(7) } }, b7d1: function (e, t, r) { ;(function (t) { function r(e, t) { if (n("noDeprecation")) return e var r = !1 function i() { if (!r) { if (n("throwDeprecation")) throw new Error(t) n("traceDeprecation") ? console.trace(t) : console.warn(t), (r = !0) } return e.apply(this, arguments) } return i } function n(e) { try { if (!t.localStorage) return !1 } catch (n) { return !1 } var r = t.localStorage[e] return null != r && "true" === String(r).toLowerCase() } e.exports = r }).call(this, r("c8ba")) }, c04e: function (e, t, r) { var n = r("861d"), i = r("d9b5"), o = r("485a"), a = r("b622"), s = a("toPrimitive") e.exports = function (e, t) { if (!n(e) || i(e)) return e var r, a = e[s] if (void 0 !== a) { if ((void 0 === t && (t = "default"), (r = a.call(e, t)), !n(r) || i(r))) return r throw TypeError("Can't convert object to primitive value") } return void 0 === t && (t = "number"), o(e, t) } }, c2ae: function (e, t, r) { e.exports = r("e372").PassThrough }, c430: function (e, t) { e.exports = !1 }, c4e3: function (e, t, r) { ;(function (t, r, n) { var i !(function (t) { e.exports = t() })(function () { return (function e(t, r, n) { function o(s, l) { if (!r[s]) { if (!t[s]) { var c = "function" == typeof i && i if (!l && c) return i(s, !0) if (a) return a(s, !0) var u = new Error("Cannot find module '" + s + "'") throw ((u.code = "MODULE_NOT_FOUND"), u) } var f = (r[s] = { exports: {} }) t[s][0].call( f.exports, function (e) { var r = t[s][1][e] return o(r || e) }, f, f.exports, e, t, r, n ) } return r[s].exports } for (var a = "function" == typeof i && i, s = 0; s < n.length; s++) o(n[s]) return o })( { 1: [ function (e, t, r) { "use strict" var n = e("./utils"), i = e("./support"), o = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=" ;(r.encode = function (e) { for (var t, r, i, a, s, l, c, u = [], f = 0, p = e.length, d = p, h = "string" !== n.getTypeOf(e); f < e.length; ) (d = p - f), (i = h ? ((t = e[f++]), (r = f < p ? e[f++] : 0), f < p ? e[f++] : 0) : ((t = e.charCodeAt(f++)), (r = f < p ? e.charCodeAt(f++) : 0), f < p ? e.charCodeAt(f++) : 0)), (a = t >> 2), (s = ((3 & t) << 4) | (r >> 4)), (l = 1 < d ? ((15 & r) << 2) | (i >> 6) : 64), (c = 2 < d ? 63 & i : 64), u.push(o.charAt(a) + o.charAt(s) + o.charAt(l) + o.charAt(c)) return u.join("") }), (r.decode = function (e) { var t, r, n, a, s, l, c = 0, u = 0, f = "data:" if (e.substr(0, f.length) === f) throw new Error("Invalid base64 input, it looks like a data url.") var p, d = (3 * (e = e.replace(/[^A-Za-z0-9+/=]/g, "")).length) / 4 if ((e.charAt(e.length - 1) === o.charAt(64) && d--, e.charAt(e.length - 2) === o.charAt(64) && d--, d % 1 != 0)) throw new Error("Invalid base64 input, bad content length.") for (p = i.uint8array ? new Uint8Array(0 | d) : new Array(0 | d); c < e.length; ) (t = (o.indexOf(e.charAt(c++)) << 2) | ((a = o.indexOf(e.charAt(c++))) >> 4)), (r = ((15 & a) << 4) | ((s = o.indexOf(e.charAt(c++))) >> 2)), (n = ((3 & s) << 6) | (l = o.indexOf(e.charAt(c++)))), (p[u++] = t), 64 !== s && (p[u++] = r), 64 !== l && (p[u++] = n) return p }) }, { "./support": 30, "./utils": 32 } ], 2: [ function (e, t, r) { "use strict" var n = e("./external"), i = e("./stream/DataWorker"), o = e("./stream/Crc32Probe"), a = e("./stream/DataLengthProbe") function s(e, t, r, n, i) { ;(this.compressedSize = e), (this.uncompressedSize = t), (this.crc32 = r), (this.compression = n), (this.compressedContent = i) } ;(s.prototype = { getContentWorker: function () { var e = new i(n.Promise.resolve(this.compressedContent)) .pipe(this.compression.uncompressWorker()) .pipe(new a("data_length")), t = this return ( e.on("end", function () { if (this.streamInfo.data_length !== t.uncompressedSize) throw new Error("Bug : uncompressed data size mismatch") }), e ) }, getCompressedWorker: function () { return new i(n.Promise.resolve(this.compressedContent)) .withStreamInfo("compressedSize", this.compressedSize) .withStreamInfo("uncompressedSize", this.uncompressedSize) .withStreamInfo("crc32", this.crc32) .withStreamInfo("compression", this.compression) } }), (s.createWorkerFrom = function (e, t, r) { return e .pipe(new o()) .pipe(new a("uncompressedSize")) .pipe(t.compressWorker(r)) .pipe(new a("compressedSize")) .withStreamInfo("compression", t) }), (t.exports = s) }, { "./external": 6, "./stream/Crc32Probe": 25, "./stream/DataLengthProbe": 26, "./stream/DataWorker": 27 } ], 3: [ function (e, t, r) { "use strict" var n = e("./stream/GenericWorker") ;(r.STORE = { magic: "\0\0", compressWorker: function () { return new n("STORE compression") }, uncompressWorker: function () { return new n("STORE decompression") } }), (r.DEFLATE = e("./flate")) }, { "./flate": 7, "./stream/GenericWorker": 28 } ], 4: [ function (e, t, r) { "use strict" var n = e("./utils"), i = (function () { for (var e, t = [], r = 0; r < 256; r++) { e = r for (var n = 0; n < 8; n++) e = 1 & e ? 3988292384 ^ (e >>> 1) : e >>> 1 t[r] = e } return t })() t.exports = function (e, t) { return void 0 !== e && e.length ? "string" !== n.getTypeOf(e) ? (function (e, t, r, n) { var o = i, a = n + r e ^= -1 for (var s = n; s < a; s++) e = (e >>> 8) ^ o[255 & (e ^ t[s])] return -1 ^ e })(0 | t, e, e.length, 0) : (function (e, t, r, n) { var o = i, a = n + r e ^= -1 for (var s = n; s < a; s++) e = (e >>> 8) ^ o[255 & (e ^ t.charCodeAt(s))] return -1 ^ e })(0 | t, e, e.length, 0) : 0 } }, { "./utils": 32 } ], 5: [ function (e, t, r) { "use strict" ;(r.base64 = !1), (r.binary = !1), (r.dir = !1), (r.createFolders = !0), (r.date = null), (r.compression = null), (r.compressionOptions = null), (r.comment = null), (r.unixPermissions = null), (r.dosPermissions = null) }, {} ], 6: [ function (e, t, r) { "use strict" var n = null ;(n = "undefined" != typeof Promise ? Promise : e("lie")), (t.exports = { Promise: n }) }, { lie: 37 } ], 7: [ function (e, t, r) { "use strict" var n = "undefined" != typeof Uint8Array && "undefined" != typeof Uint16Array && "undefined" != typeof Uint32Array, i = e("pako"), o = e("./utils"), a = e("./stream/GenericWorker"), s = n ? "uint8array" : "array" function l(e, t) { a.call(this, "FlateWorker/" + e), (this._pako = null), (this._pakoAction = e), (this._pakoOptions = t), (this.meta = {}) } ;(r.magic = "\b\0"), o.inherits(l, a), (l.prototype.processChunk = function (e) { ;(this.meta = e.meta), null === this._pako && this._createPako(), this._pako.push(o.transformTo(s, e.data), !1) }), (l.prototype.flush = function () { a.prototype.flush.call(this), null === this._pako && this._createPako(), this._pako.push([], !0) }), (l.prototype.cleanUp = function () { a.prototype.cleanUp.call(this), (this._pako = null) }), (l.prototype._createPako = function () { this._pako = new i[this._pakoAction]({ raw: !0, level: this._pakoOptions.level || -1 }) var e = this this._pako.onData = function (t) { e.push({ data: t, meta: e.meta }) } }), (r.compressWorker = function (e) { return new l("Deflate", e) }), (r.uncompressWorker = function () { return new l("Inflate", {}) }) }, { "./stream/GenericWorker": 28, "./utils": 32, pako: 38 } ], 8: [ function (e, t, r) { "use strict" function n(e, t) { var r, n = "" for (r = 0; r < t; r++) (n += String.fromCharCode(255 & e)), (e >>>= 8) return n } function i(e, t, r, i, a, u) { var f, p, d = e.file, h = e.compression, m = u !== s.utf8encode, g = o.transformTo("string", u(d.name)), y = o.transformTo("string", s.utf8encode(d.name)), v = d.comment, b = o.transformTo("string", u(v)), w = o.transformTo("string", s.utf8encode(v)), x = y.length !== d.name.length, A = w.length !== v.length, _ = "", T = "", E = "", S = d.dir, C = d.date, k = { crc32: 0, compressedSize: 0, uncompressedSize: 0 } ;(t && !r) || ((k.crc32 = e.crc32), (k.compressedSize = e.compressedSize), (k.uncompressedSize = e.uncompressedSize)) var L = 0 t && (L |= 8), m || (!x && !A) || (L |= 2048) var P = 0, O = 0 S && (P |= 16), "UNIX" === a ? ((O = 798), (P |= (function (e, t) { var r = e return e || (r = t ? 16893 : 33204), (65535 & r) << 16 })(d.unixPermissions, S))) : ((O = 20), (P |= (function (e) { return 63 & (e || 0) })(d.dosPermissions))), (f = C.getUTCHours()), (f <<= 6), (f |= C.getUTCMinutes()), (f <<= 5), (f |= C.getUTCSeconds() / 2), (p = C.getUTCFullYear() - 1980), (p <<= 4), (p |= C.getUTCMonth() + 1), (p <<= 5), (p |= C.getUTCDate()), x && ((T = n(1, 1) + n(l(g), 4) + y), (_ += "up" + n(T.length, 2) + T)), A && ((E = n(1, 1) + n(l(b), 4) + w), (_ += "uc" + n(E.length, 2) + E)) var j = "" return ( (j += "\n\0"), (j += n(L, 2)), (j += h.magic), (j += n(f, 2)), (j += n(p, 2)), (j += n(k.crc32, 4)), (j += n(k.compressedSize, 4)), (j += n(k.uncompressedSize, 4)), (j += n(g.length, 2)), (j += n(_.length, 2)), { fileRecord: c.LOCAL_FILE_HEADER + j + g + _, dirRecord: c.CENTRAL_FILE_HEADER + n(O, 2) + j + n(b.length, 2) + "\0\0\0\0" + n(P, 4) + n(i, 4) + g + _ + b } ) } var o = e("../utils"), a = e("../stream/GenericWorker"), s = e("../utf8"), l = e("../crc32"), c = e("../signature") function u(e, t, r, n) { a.call(this, "ZipFileWorker"), (this.bytesWritten = 0), (this.zipComment = t), (this.zipPlatform = r), (this.encodeFileName = n), (this.streamFiles = e), (this.accumulate = !1), (this.contentBuffer = []), (this.dirRecords = []), (this.currentSourceOffset = 0), (this.entriesCount = 0), (this.currentFile = null), (this._sources = []) } o.inherits(u, a), (u.prototype.push = function (e) { var t = e.meta.percent || 0, r = this.entriesCount, n = this._sources.length this.accumulate ? this.contentBuffer.push(e) : ((this.bytesWritten += e.data.length), a.prototype.push.call(this, { data: e.data, meta: { currentFile: this.currentFile, percent: r ? (t + 100 * (r - n - 1)) / r : 100 } })) }), (u.prototype.openedSource = function (e) { ;(this.currentSourceOffset = this.bytesWritten), (this.currentFile = e.file.name) var t = this.streamFiles && !e.file.dir if (t) { var r = i(e, t, !1, this.currentSourceOffset, this.zipPlatform, this.encodeFileName) this.push({ data: r.fileRecord, meta: { percent: 0 } }) } else this.accumulate = !0 }), (u.prototype.closedSource = function (e) { this.accumulate = !1 var t = this.streamFiles && !e.file.dir, r = i(e, t, !0, this.currentSourceOffset, this.zipPlatform, this.encodeFileName) if ((this.dirRecords.push(r.dirRecord), t)) this.push({ data: (function (e) { return c.DATA_DESCRIPTOR + n(e.crc32, 4) + n(e.compressedSize, 4) + n(e.uncompressedSize, 4) })(e), meta: { percent: 100 } }) else for ( this.push({ data: r.fileRecord, meta: { percent: 0 } }); this.contentBuffer.length; ) this.push(this.contentBuffer.shift()) this.currentFile = null }), (u.prototype.flush = function () { for (var e = this.bytesWritten, t = 0; t < this.dirRecords.length; t++) this.push({ data: this.dirRecords[t], meta: { percent: 100 } }) var r = this.bytesWritten - e, i = (function (e, t, r, i, a) { var s = o.transformTo("string", a(i)) return c.CENTRAL_DIRECTORY_END + "\0\0\0\0" + n(e, 2) + n(e, 2) + n(t, 4) + n(r, 4) + n(s.length, 2) + s })(this.dirRecords.length, r, e, this.zipComment, this.encodeFileName) this.push({ data: i, meta: { percent: 100 } }) }), (u.prototype.prepareNextSource = function () { ;(this.previous = this._sources.shift()), this.openedSource(this.previous.streamInfo), this.isPaused ? this.previous.pause() : this.previous.resume() }), (u.prototype.registerPrevious = function (e) { this._sources.push(e) var t = this return ( e.on("data", function (e) { t.processChunk(e) }), e.on("end", function () { t.closedSource(t.previous.streamInfo), t._sources.length ? t.prepareNextSource() : t.end() }), e.on("error", function (e) { t.error(e) }), this ) }), (u.prototype.resume = function () { return ( !!a.prototype.resume.call(this) && (!this.previous && this._sources.length ? (this.prepareNextSource(), !0) : this.previous || this._sources.length || this.generatedError ? void 0 : (this.end(), !0)) ) }), (u.prototype.error = function (e) { var t = this._sources if (!a.prototype.error.call(this, e)) return !1 for (var r = 0; r < t.length; r++) try { t[r].error(e) } catch (e) {} return !0 }), (u.prototype.lock = function () { a.prototype.lock.call(this) for (var e = this._sources, t = 0; t < e.length; t++) e[t].lock() }), (t.exports = u) }, { "../crc32": 4, "../signature": 23, "../stream/GenericWorker": 28, "../utf8": 31, "../utils": 32 } ], 9: [ function (e, t, r) { "use strict" var n = e("../compressions"), i = e("./ZipFileWorker") r.generateWorker = function (e, t, r) { var o = new i(t.streamFiles, r, t.platform, t.encodeFileName), a = 0 try { e.forEach(function (e, r) { a++ var i = (function (e, t) { var r = e || t, i = n[r] if (!i) throw new Error(r + " is not a valid compression method !") return i })(r.options.compression, t.compression), s = r.options.compressionOptions || t.compressionOptions || {}, l = r.dir, c = r.date r._compressWorker(i, s) .withStreamInfo("file", { name: e, dir: l, date: c, comment: r.comment || "", unixPermissions: r.unixPermissions, dosPermissions: r.dosPermissions }) .pipe(o) }), (o.entriesCount = a) } catch (e) { o.error(e) } return o } }, { "../compressions": 3, "./ZipFileWorker": 8 } ], 10: [ function (e, t, r) { "use strict" function n() { if (!(this instanceof n)) return new n() if (arguments.length) throw new Error("The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide.") ;(this.files = Object.create(null)), (this.comment = null), (this.root = ""), (this.clone = function () { var e = new n() for (var t in this) "function" != typeof this[t] && (e[t] = this[t]) return e }) } ;((n.prototype = e("./object")).loadAsync = e("./load")), (n.support = e("./support")), (n.defaults = e("./defaults")), (n.version = "3.10.1"), (n.loadAsync = function (e, t) { return new n().loadAsync(e, t) }), (n.external = e("./external")), (t.exports = n) }, { "./defaults": 5, "./external": 6, "./load": 11, "./object": 15, "./support": 30 } ], 11: [ function (e, t, r) { "use strict" var n = e("./utils"), i = e("./external"), o = e("./utf8"), a = e("./zipEntries"), s = e("./stream/Crc32Probe"), l = e("./nodejsUtils") function c(e) { return new i.Promise(function (t, r) { var n = e.decompressed.getContentWorker().pipe(new s()) n.on("error", function (e) { r(e) }) .on("end", function () { n.streamInfo.crc32 !== e.decompressed.crc32 ? r(new Error("Corrupted zip : CRC32 mismatch")) : t() }) .resume() }) } t.exports = function (e, t) { var r = this return ( (t = n.extend(t || {}, { base64: !1, checkCRC32: !1, optimizedBinaryString: !1, createFolders: !1, decodeFileName: o.utf8decode })), l.isNode && l.isStream(e) ? i.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")) : n .prepareContent("the loaded zip file", e, !0, t.optimizedBinaryString, t.base64) .then(function (e) { var r = new a(t) return r.load(e), r }) .then(function (e) { var r = [i.Promise.resolve(e)], n = e.files if (t.checkCRC32) for (var o = 0; o < n.length; o++) r.push(c(n[o])) return i.Promise.all(r) }) .then(function (e) { for (var i = e.shift(), o = i.files, a = 0; a < o.length; a++) { var s = o[a], l = s.fileNameStr, c = n.resolve(s.fileNameStr) r.file(c, s.decompressed, { binary: !0, optimizedBinaryString: !0, date: s.date, dir: s.dir, comment: s.fileCommentStr.length ? s.fileCommentStr : null, unixPermissions: s.unixPermissions, dosPermissions: s.dosPermissions, createFolders: t.createFolders }), s.dir || (r.file(c).unsafeOriginalName = l) } return i.zipComment.length && (r.comment = i.zipComment), r }) ) } }, { "./external": 6, "./nodejsUtils": 14, "./stream/Crc32Probe": 25, "./utf8": 31, "./utils": 32, "./zipEntries": 33 } ], 12: [ function (e, t, r) { "use strict" var n = e("../utils"), i = e("../stream/GenericWorker") function o(e, t) { i.call(this, "Nodejs stream input adapter for " + e), (this._upstreamEnded = !1), this._bindStream(t) } n.inherits(o, i), (o.prototype._bindStream = function (e) { var t = this ;(this._stream = e).pause(), e .on("data", function (e) { t.push({ data: e, meta: { percent: 0 } }) }) .on("error", function (e) { t.isPaused ? (this.generatedError = e) : t.error(e) }) .on("end", function () { t.isPaused ? (t._upstreamEnded = !0) : t.end() }) }), (o.prototype.pause = function () { return !!i.prototype.pause.call(this) && (this._stream.pause(), !0) }), (o.prototype.resume = function () { return !!i.prototype.resume.call(this) && (this._upstreamEnded ? this.end() : this._stream.resume(), !0) }), (t.exports = o) }, { "../stream/GenericWorker": 28, "../utils": 32 } ], 13: [ function (e, t, r) { "use strict" var n = e("readable-stream").Readable function i(e, t, r) { n.call(this, t), (this._helper = e) var i = this e.on("data", function (e, t) { i.push(e) || i._helper.pause(), r && r(t) }) .on("error", function (e) { i.emit("error", e) }) .on("end", function () { i.push(null) }) } e("../utils").inherits(i, n), (i.prototype._read = function () { this._helper.resume() }), (t.exports = i) }, { "../utils": 32, "readable-stream": 16 } ], 14: [ function (e, r, n) { "use strict" r.exports = { isNode: "undefined" != typeof t, newBufferFrom: function (e, r) { if (t.from && t.from !== Uint8Array.from) return t.from(e, r) if ("number" == typeof e) throw new Error('The "data" argument must not be a number') return new t(e, r) }, allocBuffer: function (e) { if (t.alloc) return t.alloc(e) var r = new t(e) return r.fill(0), r }, isBuffer: function (e) { return t.isBuffer(e) }, isStream: function (e) { return e && "function" == typeof e.on && "function" == typeof e.pause && "function" == typeof e.resume } } }, {} ], 15: [ function (e, t, r) { "use strict" function n(e, t, r) { var n, i = o.getTypeOf(t), s = o.extend(r || {}, l) ;(s.date = s.date || new Date()), null !== s.compression && (s.compression = s.compression.toUpperCase()), "string" == typeof s.unixPermissions && (s.unixPermissions = parseInt(s.unixPermissions, 8)), s.unixPermissions && 16384 & s.unixPermissions && (s.dir = !0), s.dosPermissions && 16 & s.dosPermissions && (s.dir = !0), s.dir && (e = m(e)), s.createFolders && (n = h(e)) && g.call(this, n, !0) var f = "string" === i && !1 === s.binary && !1 === s.base64 ;(r && void 0 !== r.binary) || (s.binary = !f), ((t instanceof c && 0 === t.uncompressedSize) || s.dir || !t || 0 === t.length) && ((s.base64 = !1), (s.binary = !0), (t = ""), (s.compression = "STORE"), (i = "string")) var y = null y = t instanceof c || t instanceof a ? t : p.isNode && p.isStream(t) ? new d(e, t) : o.prepareContent(e, t, s.binary, s.optimizedBinaryString, s.base64) var v = new u(e, y, s) this.files[e] = v } var i = e("./utf8"), o = e("./utils"), a = e("./stream/GenericWorker"), s = e("./stream/StreamHelper"), l = e("./defaults"), c = e("./compressedObject"), u = e("./zipObject"), f = e("./generate"), p = e("./nodejsUtils"), d = e("./nodejs/NodejsStreamInputAdapter"), h = function (e) { "/" === e.slice(-1) && (e = e.substring(0, e.length - 1)) var t = e.lastIndexOf("/") return 0 < t ? e.substring(0, t) : "" }, m = function (e) { return "/" !== e.slice(-1) && (e += "/"), e }, g = function (e, t) { return ( (t = void 0 !== t ? t : l.createFolders), (e = m(e)), this.files[e] || n.call(this, e, null, { dir: !0, createFolders: t }), this.files[e] ) } function y(e) { return "[object RegExp]" === Object.prototype.toString.call(e) } var v = { load: function () { throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.") }, forEach: function (e) { var t, r, n for (t in this.files) (n = this.files[t]), (r = t.slice(this.root.length, t.length)) && t.slice(0, this.root.length) === this.root && e(r, n) }, filter: function (e) { var t = [] return ( this.forEach(function (r, n) { e(r, n) && t.push(n) }), t ) }, file: function (e, t, r) { if (1 !== arguments.length) return (e = this.root + e), n.call(this, e, t, r), this if (y(e)) { var i = e return this.filter(function (e, t) { return !t.dir && i.test(e) }) } var o = this.files[this.root + e] return o && !o.dir ? o : null }, folder: function (e) { if (!e) return this if (y(e)) return this.filter(function (t, r) { return r.dir && e.test(t) }) var t = this.root + e, r = g.call(this, t), n = this.clone() return (n.root = r.name), n }, remove: function (e) { e = this.root + e var t = this.files[e] if ((t || ("/" !== e.slice(-1) && (e += "/"), (t = this.files[e])), t && !t.dir)) delete this.files[e] else for ( var r = this.filter(function (t, r) { return r.name.slice(0, e.length) === e }), n = 0; n < r.length; n++ ) delete this.files[r[n].name] return this }, generate: function () { throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.") }, generateInternalStream: function (e) { var t, r = {} try { if ( (((r = o.extend(e || {}, { streamFiles: !1, compression: "STORE", compressionOptions: null, type: "", platform: "DOS", comment: null, mimeType: "application/zip", encodeFileName: i.utf8encode })).type = r.type.toLowerCase()), (r.compression = r.compression.toUpperCase()), "binarystring" === r.type && (r.type = "string"), !r.type) ) throw new Error("No output type specified.") o.checkSupport(r.type), ("darwin" !== r.platform && "freebsd" !== r.platform && "linux" !== r.platform && "sunos" !== r.platform) || (r.platform = "UNIX"), "win32" === r.platform && (r.platform = "DOS") var n = r.comment || this.comment || "" t = f.generateWorker(this, r, n) } catch (e) { ;(t = new a("error")).error(e) } return new s(t, r.type || "string", r.mimeType) }, generateAsync: function (e, t) { return this.generateInternalStream(e).accumulate(t) }, generateNodeStream: function (e, t) { return (e = e || {}).type || (e.type = "nodebuffer"), this.generateInternalStream(e).toNodejsStream(t) } } t.exports = v }, { "./compressedObject": 2, "./defaults": 5, "./generate": 9, "./nodejs/NodejsStreamInputAdapter": 12, "./nodejsUtils": 14, "./stream/GenericWorker": 28, "./stream/StreamHelper": 29, "./utf8": 31, "./utils": 32, "./zipObject": 35 } ], 16: [ function (e, t, r) { "use strict" t.exports = e("stream") }, { stream: void 0 } ], 17: [ function (e, t, r) { "use strict" var n = e("./DataReader") function i(e) { n.call(this, e) for (var t = 0; t < this.data.length; t++) e[t] = 255 & e[t] } e("../utils").inherits(i, n), (i.prototype.byteAt = function (e) { return this.data[this.zero + e] }), (i.prototype.lastIndexOfSignature = function (e) { for ( var t = e.charCodeAt(0), r = e.charCodeAt(1), n = e.charCodeAt(2), i = e.charCodeAt(3), o = this.length - 4; 0 <= o; --o ) if (this.data[o] === t && this.data[o + 1] === r && this.data[o + 2] === n && this.data[o + 3] === i) return o - this.zero return -1 }), (i.prototype.readAndCheckSignature = function (e) { var t = e.charCodeAt(0), r = e.charCodeAt(1), n = e.charCodeAt(2), i = e.charCodeAt(3), o = this.readData(4) return t === o[0] && r === o[1] && n === o[2] && i === o[3] }), (i.prototype.readData = function (e) { if ((this.checkOffset(e), 0 === e)) return [] var t = this.data.slice(this.zero + this.index, this.zero + this.index + e) return (this.index += e), t }), (t.exports = i) }, { "../utils": 32, "./DataReader": 18 } ], 18: [ function (e, t, r) { "use strict" var n = e("../utils") function i(e) { ;(this.data = e), (this.length = e.length), (this.index = 0), (this.zero = 0) } ;(i.prototype = { checkOffset: function (e) { this.checkIndex(this.index + e) }, checkIndex: function (e) { if (this.length < this.zero + e || e < 0) throw new Error("End of data reached (data length = " + this.length + ", asked index = " + e + "). Corrupted zip ?") }, setIndex: function (e) { this.checkIndex(e), (this.index = e) }, skip: function (e) { this.setIndex(this.index + e) }, byteAt: function () {}, readInt: function (e) { var t, r = 0 for (this.checkOffset(e), t = this.index + e - 1; t >= this.index; t--) r = (r << 8) + this.byteAt(t) return (this.index += e), r }, readString: function (e) { return n.transformTo("string", this.readData(e)) }, readData: function () {}, lastIndexOfSignature: function () {}, readAndCheckSignature: function () {}, readDate: function () { var e = this.readInt(4) return new Date( Date.UTC( 1980 + ((e >> 25) & 127), ((e >> 21) & 15) - 1, (e >> 16) & 31, (e >> 11) & 31, (e >> 5) & 63, (31 & e) << 1 ) ) } }), (t.exports = i) }, { "../utils": 32 } ], 19: [ function (e, t, r) { "use strict" var n = e("./Uint8ArrayReader") function i(e) { n.call(this, e) } e("../utils").inherits(i, n), (i.prototype.readData = function (e) { this.checkOffset(e) var t = this.data.slice(this.zero + this.index, this.zero + this.index + e) return (this.index += e), t }), (t.exports = i) }, { "../utils": 32, "./Uint8ArrayReader": 21 } ], 20: [ function (e, t, r) { "use strict" var n = e("./DataReader") function i(e) { n.call(this, e) } e("../utils").inherits(i, n), (i.prototype.byteAt = function (e) { return this.data.charCodeAt(this.zero + e) }), (i.prototype.lastIndexOfSignature = function (e) { return this.data.lastIndexOf(e) - this.zero }), (i.prototype.readAndCheckSignature = function (e) { return e === this.readData(4) }), (i.prototype.readData = function (e) { this.checkOffset(e) var t = this.data.slice(this.zero + this.index, this.zero + this.index + e) return (this.index += e), t }), (t.exports = i) }, { "../utils": 32, "./DataReader": 18 } ], 21: [ function (e, t, r) { "use strict" var n = e("./ArrayReader") function i(e) { n.call(this, e) } e("../utils").inherits(i, n), (i.prototype.readData = function (e) { if ((this.checkOffset(e), 0 === e)) return new Uint8Array(0) var t = this.data.subarray(this.zero + this.index, this.zero + this.index + e) return (this.index += e), t }), (t.exports = i) }, { "../utils": 32, "./ArrayReader": 17 } ], 22: [ function (e, t, r) { "use strict" var n = e("../utils"), i = e("../support"), o = e("./ArrayReader"), a = e("./StringReader"), s = e("./NodeBufferReader"), l = e("./Uint8ArrayReader") t.exports = function (e) { var t = n.getTypeOf(e) return ( n.checkSupport(t), "string" !== t || i.uint8array ? "nodebuffer" === t ? new s(e) : i.uint8array ? new l(n.transformTo("uint8array", e)) : new o(n.transformTo("array", e)) : new a(e) ) } }, { "../support": 30, "../utils": 32, "./ArrayReader": 17, "./NodeBufferReader": 19, "./StringReader": 20, "./Uint8ArrayReader": 21 } ], 23: [ function (e, t, r) { "use strict" ;(r.LOCAL_FILE_HEADER = "PK"), (r.CENTRAL_FILE_HEADER = "PK"), (r.CENTRAL_DIRECTORY_END = "PK"), (r.ZIP64_CENTRAL_DIRECTORY_LOCATOR = "PK"), (r.ZIP64_CENTRAL_DIRECTORY_END = "PK"), (r.DATA_DESCRIPTOR = "PK\b") }, {} ], 24: [ function (e, t, r) { "use strict" var n = e("./GenericWorker"), i = e("../utils") function o(e) { n.call(this, "ConvertWorker to " + e), (this.destType = e) } i.inherits(o, n), (o.prototype.processChunk = function (e) { this.push({ data: i.transformTo(this.destType, e.data), meta: e.meta }) }), (t.exports = o) }, { "../utils": 32, "./GenericWorker": 28 } ], 25: [ function (e, t, r) { "use strict" var n = e("./GenericWorker"), i = e("../crc32") function o() { n.call(this, "Crc32Probe"), this.withStreamInfo("crc32", 0) } e("../utils").inherits(o, n), (o.prototype.processChunk = function (e) { ;(this.streamInfo.crc32 = i(e.data, this.streamInfo.crc32 || 0)), this.push(e) }), (t.exports = o) }, { "../crc32": 4, "../utils": 32, "./GenericWorker": 28 } ], 26: [ function (e, t, r) { "use strict" var n = e("../utils"), i = e("./GenericWorker") function o(e) { i.call(this, "DataLengthProbe for " + e), (this.propName = e), this.withStreamInfo(e, 0) } n.inherits(o, i), (o.prototype.processChunk = function (e) { if (e) { var t = this.streamInfo[this.propName] || 0 this.streamInfo[this.propName] = t + e.data.length } i.prototype.processChunk.call(this, e) }), (t.exports = o) }, { "../utils": 32, "./GenericWorker": 28 } ], 27: [ function (e, t, r) { "use strict" var n = e("../utils"), i = e("./GenericWorker") function o(e) { i.call(this, "DataWorker") var t = this ;(this.dataIsReady = !1), (this.index = 0), (this.max = 0), (this.data = null), (this.type = ""), (this._tickScheduled = !1), e.then( function (e) { ;(t.dataIsReady = !0), (t.data = e), (t.max = (e && e.length) || 0), (t.type = n.getTypeOf(e)), t.isPaused || t._tickAndRepeat() }, function (e) { t.error(e) } ) } n.inherits(o, i), (o.prototype.cleanUp = function () { i.prototype.cleanUp.call(this), (this.data = null) }), (o.prototype.resume = function () { return ( !!i.prototype.resume.call(this) && (!this._tickScheduled && this.dataIsReady && ((this._tickScheduled = !0), n.delay(this._tickAndRepeat, [], this)), !0) ) }), (o.prototype._tickAndRepeat = function () { ;(this._tickScheduled = !1), this.isPaused || this.isFinished || (this._tick(), this.isFinished || (n.delay(this._tickAndRepeat, [], this), (this._tickScheduled = !0))) }), (o.prototype._tick = function () { if (this.isPaused || this.isFinished) return !1 var e = null, t = Math.min(this.max, this.index + 16384) if (this.index >= this.max) return this.end() switch (this.type) { case "string": e = this.data.substring(this.index, t) break case "uint8array": e = this.data.subarray(this.index, t) break case "array": case "nodebuffer": e = this.data.slice(this.index, t) } return ( (this.index = t), this.push({ data: e, meta: { percent: this.max ? (this.index / this.max) * 100 : 0 } }) ) }), (t.exports = o) }, { "../utils": 32, "./GenericWorker": 28 } ], 28: [ function (e, t, r) { "use strict" function n(e) { ;(this.name = e || "default"), (this.streamInfo = {}), (this.generatedError = null), (this.extraStreamInfo = {}), (this.isPaused = !0), (this.isFinished = !1), (this.isLocked = !1), (this._listeners = { data: [], end: [], error: [] }), (this.previous = null) } ;(n.prototype = { push: function (e) { this.emit("data", e) }, end: function () { if (this.isFinished) return !1 this.flush() try { this.emit("end"), this.cleanUp(), (this.isFinished = !0) } catch (e) { this.emit("error", e) } return !0 }, error: function (e) { return ( !this.isFinished && (this.isPaused ? (this.generatedError = e) : ((this.isFinished = !0), this.emit("error", e), this.previous && this.previous.error(e), this.cleanUp()), !0) ) }, on: function (e, t) { return this._listeners[e].push(t), this }, cleanUp: function () { ;(this.streamInfo = this.generatedError = this.extraStreamInfo = null), (this._listeners = []) }, emit: function (e, t) { if (this._listeners[e]) for (var r = 0; r < this._listeners[e].length; r++) this._listeners[e][r].call(this, t) }, pipe: function (e) { return e.registerPrevious(this) }, registerPrevious: function (e) { if (this.isLocked) throw new Error("The stream '" + this + "' has already been used.") ;(this.streamInfo = e.streamInfo), this.mergeStreamInfo(), (this.previous = e) var t = this return ( e.on("data", function (e) { t.processChunk(e) }), e.on("end", function () { t.end() }), e.on("error", function (e) { t.error(e) }), this ) }, pause: function () { return !this.isPaused && !this.isFinished && ((this.isPaused = !0), this.previous && this.previous.pause(), !0) }, resume: function () { if (!this.isPaused || this.isFinished) return !1 var e = (this.isPaused = !1) return this.generatedError && (this.error(this.generatedError), (e = !0)), this.previous && this.previous.resume(), !e }, flush: function () {}, processChunk: function (e) { this.push(e) }, withStreamInfo: function (e, t) { return (this.extraStreamInfo[e] = t), this.mergeStreamInfo(), this }, mergeStreamInfo: function () { for (var e in this.extraStreamInfo) Object.prototype.hasOwnProperty.call(this.extraStreamInfo, e) && (this.streamInfo[e] = this.extraStreamInfo[e]) }, lock: function () { if (this.isLocked) throw new Error("The stream '" + this + "' has already been used.") ;(this.isLocked = !0), this.previous && this.previous.lock() }, toString: function () { var e = "Worker " + this.name return this.previous ? this.previous + " -> " + e : e } }), (t.exports = n) }, {} ], 29: [ function (e, r, n) { "use strict" var i = e("../utils"), o = e("./ConvertWorker"), a = e("./GenericWorker"), s = e("../base64"), l = e("../support"), c = e("../external"), u = null if (l.nodestream) try { u = e("../nodejs/NodejsStreamOutputAdapter") } catch (e) {} function f(e, r) { return new c.Promise(function (n, o) { var a = [], l = e._internalType, c = e._outputType, u = e._mimeType e.on("data", function (e, t) { a.push(e), r && r(t) }) .on("error", function (e) { ;(a = []), o(e) }) .on("end", function () { try { var e = (function (e, t, r) { switch (e) { case "blob": return i.newBlob(i.transformTo("arraybuffer", t), r) case "base64": return s.encode(t) default: return i.transformTo(e, t) } })( c, (function (e, r) { var n, i = 0, o = null, a = 0 for (n = 0; n < r.length; n++) a += r[n].length switch (e) { case "string": return r.join("") case "array": return Array.prototype.concat.apply([], r) case "uint8array": for (o = new Uint8Array(a), n = 0; n < r.length; n++) o.set(r[n], i), (i += r[n].length) return o case "nodebuffer": return t.concat(r) default: throw new Error("concat : unsupported type '" + e + "'") } })(l, a), u ) n(e) } catch (e) { o(e) } a = [] }) .resume() }) } function p(e, t, r) { var n = t switch (t) { case "blob": case "arraybuffer": n = "uint8array" break case "base64": n = "string" } try { ;(this._internalType = n), (this._outputType = t), (this._mimeType = r), i.checkSupport(n), (this._worker = e.pipe(new o(n))), e.lock() } catch (e) { ;(this._worker = new a("error")), this._worker.error(e) } } ;(p.prototype = { accumulate: function (e) { return f(this, e) }, on: function (e, t) { var r = this return ( "data" === e ? this._worker.on(e, function (e) { t.call(r, e.data, e.meta) }) : this._worker.on(e, function () { i.delay(t, arguments, r) }), this ) }, resume: function () { return i.delay(this._worker.resume, [], this._worker), this }, pause: function () { return this._worker.pause(), this }, toNodejsStream: function (e) { if ((i.checkSupport("nodestream"), "nodebuffer" !== this._outputType)) throw new Error(this._outputType + " is not supported by this method") return new u( this, { objectMode: "nodebuffer" !== this._outputType }, e ) } }), (r.exports = p) }, { "../base64": 1, "../external": 6, "../nodejs/NodejsStreamOutputAdapter": 13, "../support": 30, "../utils": 32, "./ConvertWorker": 24, "./GenericWorker": 28 } ], 30: [ function (e, r, n) { "use strict" if ( ((n.base64 = !0), (n.array = !0), (n.string = !0), (n.arraybuffer = "undefined" != typeof ArrayBuffer && "undefined" != typeof Uint8Array), (n.nodebuffer = "undefined" != typeof t), (n.uint8array = "undefined" != typeof Uint8Array), "undefined" == typeof ArrayBuffer) ) n.blob = !1 else { var i = new ArrayBuffer(0) try { n.blob = 0 === new Blob([i], { type: "application/zip" }).size } catch (e) { try { var o = new (self.BlobBuilder || self.WebKitBlobBuilder || self.MozBlobBuilder || self.MSBlobBuilder)() o.append(i), (n.blob = 0 === o.getBlob("application/zip").size) } catch (e) { n.blob = !1 } } } try { n.nodestream = !!e("readable-stream").Readable } catch (e) { n.nodestream = !1 } }, { "readable-stream": 16 } ], 31: [ function (e, t, r) { "use strict" for ( var n = e("./utils"), i = e("./support"), o = e("./nodejsUtils"), a = e("./stream/GenericWorker"), s = new Array(256), l = 0; l < 256; l++ ) s[l] = 252 <= l ? 6 : 248 <= l ? 5 : 240 <= l ? 4 : 224 <= l ? 3 : 192 <= l ? 2 : 1 function c() { a.call(this, "utf-8 decode"), (this.leftOver = null) } function u() { a.call(this, "utf-8 encode") } ;(s[254] = s[254] = 1), (r.utf8encode = function (e) { return i.nodebuffer ? o.newBufferFrom(e, "utf-8") : (function (e) { var t, r, n, o, a, s = e.length, l = 0 for (o = 0; o < s; o++) 55296 == (64512 & (r = e.charCodeAt(o))) && o + 1 < s && 56320 == (64512 & (n = e.charCodeAt(o + 1))) && ((r = 65536 + ((r - 55296) << 10) + (n - 56320)), o++), (l += r < 128 ? 1 : r < 2048 ? 2 : r < 65536 ? 3 : 4) for (t = i.uint8array ? new Uint8Array(l) : new Array(l), o = a = 0; a < l; o++) 55296 == (64512 & (r = e.charCodeAt(o))) && o + 1 < s && 56320 == (64512 & (n = e.charCodeAt(o + 1))) && ((r = 65536 + ((r - 55296) << 10) + (n - 56320)), o++), r < 128 ? (t[a++] = r) : (r < 2048 ? (t[a++] = 192 | (r >>> 6)) : (r < 65536 ? (t[a++] = 224 | (r >>> 12)) : ((t[a++] = 240 | (r >>> 18)), (t[a++] = 128 | ((r >>> 12) & 63))), (t[a++] = 128 | ((r >>> 6) & 63))), (t[a++] = 128 | (63 & r))) return t })(e) }), (r.utf8decode = function (e) { return i.nodebuffer ? n.transformTo("nodebuffer", e).toString("utf-8") : (function (e) { var t, r, i, o, a = e.length, l = new Array(2 * a) for (t = r = 0; t < a; ) if ((i = e[t++]) < 128) l[r++] = i else if (4 < (o = s[i])) (l[r++] = 65533), (t += o - 1) else { for (i &= 2 === o ? 31 : 3 === o ? 15 : 7; 1 < o && t < a; ) (i = (i << 6) | (63 & e[t++])), o-- 1 < o ? (l[r++] = 65533) : i < 65536 ? (l[r++] = i) : ((i -= 65536), (l[r++] = 55296 | ((i >> 10) & 1023)), (l[r++] = 56320 | (1023 & i))) } return l.length !== r && (l.subarray ? (l = l.subarray(0, r)) : (l.length = r)), n.applyFromCharCode(l) })((e = n.transformTo(i.uint8array ? "uint8array" : "array", e))) }), n.inherits(c, a), (c.prototype.processChunk = function (e) { var t = n.transformTo(i.uint8array ? "uint8array" : "array", e.data) if (this.leftOver && this.leftOver.length) { if (i.uint8array) { var o = t ;(t = new Uint8Array(o.length + this.leftOver.length)).set(this.leftOver, 0), t.set(o, this.leftOver.length) } else t = this.leftOver.concat(t) this.leftOver = null } var a = (function (e, t) { var r for ((t = t || e.length) > e.length && (t = e.length), r = t - 1; 0 <= r && 128 == (192 & e[r]); ) r-- return r < 0 || 0 === r ? t : r + s[e[r]] > t ? r : t })(t), l = t a !== t.length && (i.uint8array ? ((l = t.subarray(0, a)), (this.leftOver = t.subarray(a, t.length))) : ((l = t.slice(0, a)), (this.leftOver = t.slice(a, t.length)))), this.push({ data: r.utf8decode(l), meta: e.meta }) }), (c.prototype.flush = function () { this.leftOver && this.leftOver.length && (this.push({ data: r.utf8decode(this.leftOver), meta: {} }), (this.leftOver = null)) }), (r.Utf8DecodeWorker = c), n.inherits(u, a), (u.prototype.processChunk = function (e) { this.push({ data: r.utf8encode(e.data), meta: e.meta }) }), (r.Utf8EncodeWorker = u) }, { "./nodejsUtils": 14, "./stream/GenericWorker": 28, "./support": 30, "./utils": 32 } ], 32: [ function (e, t, r) { "use strict" var n = e("./support"), i = e("./base64"), o = e("./nodejsUtils"), a = e("./external") function s(e) { return e } function l(e, t) { for (var r = 0; r < e.length; ++r) t[r] = 255 & e.charCodeAt(r) return t } e("setimmediate"), (r.newBlob = function (t, n) { r.checkSupport("blob") try { return new Blob([t], { type: n }) } catch (e) { try { var i = new (self.BlobBuilder || self.WebKitBlobBuilder || self.MozBlobBuilder || self.MSBlobBuilder)() return i.append(t), i.getBlob(n) } catch (e) { throw new Error("Bug : can't construct the Blob.") } } }) var c = { stringifyByChunk: function (e, t, r) { var n = [], i = 0, o = e.length if (o <= r) return String.fromCharCode.apply(null, e) for (; i < o; ) "array" === t || "nodebuffer" === t ? n.push(String.fromCharCode.apply(null, e.slice(i, Math.min(i + r, o)))) : n.push(String.fromCharCode.apply(null, e.subarray(i, Math.min(i + r, o)))), (i += r) return n.join("") }, stringifyByChar: function (e) { for (var t = "", r = 0; r < e.length; r++) t += String.fromCharCode(e[r]) return t }, applyCanBeUsed: { uint8array: (function () { try { return n.uint8array && 1 === String.fromCharCode.apply(null, new Uint8Array(1)).length } catch (e) { return !1 } })(), nodebuffer: (function () { try { return n.nodebuffer && 1 === String.fromCharCode.apply(null, o.allocBuffer(1)).length } catch (e) { return !1 } })() } } function u(e) { var t = 65536, n = r.getTypeOf(e), i = !0 if (("uint8array" === n ? (i = c.applyCanBeUsed.uint8array) : "nodebuffer" === n && (i = c.applyCanBeUsed.nodebuffer), i)) for (; 1 < t; ) try { return c.stringifyByChunk(e, n, t) } catch (e) { t = Math.floor(t / 2) } return c.stringifyByChar(e) } function f(e, t) { for (var r = 0; r < e.length; r++) t[r] = e[r] return t } r.applyFromCharCode = u var p = {} ;(p.string = { string: s, array: function (e) { return l(e, new Array(e.length)) }, arraybuffer: function (e) { return p.string.uint8array(e).buffer }, uint8array: function (e) { return l(e, new Uint8Array(e.length)) }, nodebuffer: function (e) { return l(e, o.allocBuffer(e.length)) } }), (p.array = { string: u, array: s, arraybuffer: function (e) { return new Uint8Array(e).buffer }, uint8array: function (e) { return new Uint8Array(e) }, nodebuffer: function (e) { return o.newBufferFrom(e) } }), (p.arraybuffer = { string: function (e) { return u(new Uint8Array(e)) }, array: function (e) { return f(new Uint8Array(e), new Array(e.byteLength)) }, arraybuffer: s, uint8array: function (e) { return new Uint8Array(e) }, nodebuffer: function (e) { return o.newBufferFrom(new Uint8Array(e)) } }), (p.uint8array = { string: u, array: function (e) { return f(e, new Array(e.length)) }, arraybuffer: function (e) { return e.buffer }, uint8array: s, nodebuffer: function (e) { return o.newBufferFrom(e) } }), (p.nodebuffer = { string: u, array: function (e) { return f(e, new Array(e.length)) }, arraybuffer: function (e) { return p.nodebuffer.uint8array(e).buffer }, uint8array: function (e) { return f(e, new Uint8Array(e.length)) }, nodebuffer: s }), (r.transformTo = function (e, t) { if (((t = t || ""), !e)) return t r.checkSupport(e) var n = r.getTypeOf(t) return p[n][e](t) }), (r.resolve = function (e) { for (var t = e.split("/"), r = [], n = 0; n < t.length; n++) { var i = t[n] "." === i || ("" === i && 0 !== n && n !== t.length - 1) || (".." === i ? r.pop() : r.push(i)) } return r.join("/") }), (r.getTypeOf = function (e) { return "string" == typeof e ? "string" : "[object Array]" === Object.prototype.toString.call(e) ? "array" : n.nodebuffer && o.isBuffer(e) ? "nodebuffer" : n.uint8array && e instanceof Uint8Array ? "uint8array" : n.arraybuffer && e instanceof ArrayBuffer ? "arraybuffer" : void 0 }), (r.checkSupport = function (e) { if (!n[e.toLowerCase()]) throw new Error(e + " is not supported by this platform") }), (r.MAX_VALUE_16BITS = 65535), (r.MAX_VALUE_32BITS = -1), (r.pretty = function (e) { var t, r, n = "" for (r = 0; r < (e || "").length; r++) n += "\\x" + ((t = e.charCodeAt(r)) < 16 ? "0" : "") + t.toString(16).toUpperCase() return n }), (r.delay = function (e, t, r) { setImmediate(function () { e.apply(r || null, t || []) }) }), (r.inherits = function (e, t) { function r() {} ;(r.prototype = t.prototype), (e.prototype = new r()) }), (r.extend = function () { var e, t, r = {} for (e = 0; e < arguments.length; e++) for (t in arguments[e]) Object.prototype.hasOwnProperty.call(arguments[e], t) && void 0 === r[t] && (r[t] = arguments[e][t]) return r }), (r.prepareContent = function (e, t, o, s, c) { return a.Promise.resolve(t) .then(function (e) { return n.blob && (e instanceof Blob || -1 !== ["[object File]", "[object Blob]"].indexOf(Object.prototype.toString.call(e))) && "undefined" != typeof FileReader ? new a.Promise(function (t, r) { var n = new FileReader() ;(n.onload = function (e) { t(e.target.result) }), (n.onerror = function (e) { r(e.target.error) }), n.readAsArrayBuffer(e) }) : e }) .then(function (t) { var u = r.getTypeOf(t) return u ? ("arraybuffer" === u ? (t = r.transformTo("uint8array", t)) : "string" === u && (c ? (t = i.decode(t)) : o && !0 !== s && (t = (function (e) { return l(e, n.uint8array ? new Uint8Array(e.length) : new Array(e.length)) })(t))), t) : a.Promise.reject( new Error( "Can't read the data of '" + e + "'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?" ) ) }) }) }, { "./base64": 1, "./external": 6, "./nodejsUtils": 14, "./support": 30, setimmediate: 54 } ], 33: [ function (e, t, r) { "use strict" var n = e("./reader/readerFor"), i = e("./utils"), o = e("./signature"), a = e("./zipEntry"), s = e("./support") function l(e) { ;(this.files = []), (this.loadOptions = e) } ;(l.prototype = { checkSignature: function (e) { if (!this.reader.readAndCheckSignature(e)) { this.reader.index -= 4 var t = this.reader.readString(4) throw new Error("Corrupted zip or bug: unexpected signature (" + i.pretty(t) + ", expected " + i.pretty(e) + ")") } }, isSignature: function (e, t) { var r = this.reader.index this.reader.setIndex(e) var n = this.reader.readString(4) === t return this.reader.setIndex(r), n }, readBlockEndOfCentral: function () { ;(this.diskNumber = this.reader.readInt(2)), (this.diskWithCentralDirStart = this.reader.readInt(2)), (this.centralDirRecordsOnThisDisk = this.reader.readInt(2)), (this.centralDirRecords = this.reader.readInt(2)), (this.centralDirSize = this.reader.readInt(4)), (this.centralDirOffset = this.reader.readInt(4)), (this.zipCommentLength = this.reader.readInt(2)) var e = this.reader.readData(this.zipCommentLength), t = s.uint8array ? "uint8array" : "array", r = i.transformTo(t, e) this.zipComment = this.loadOptions.decodeFileName(r) }, readBlockZip64EndOfCentral: function () { ;(this.zip64EndOfCentralSize = this.reader.readInt(8)), this.reader.skip(4), (this.diskNumber = this.reader.readInt(4)), (this.diskWithCentralDirStart = this.reader.readInt(4)), (this.centralDirRecordsOnThisDisk = this.reader.readInt(8)), (this.centralDirRecords = this.reader.readInt(8)), (this.centralDirSize = this.reader.readInt(8)), (this.centralDirOffset = this.reader.readInt(8)), (this.zip64ExtensibleData = {}) for (var e, t, r, n = this.zip64EndOfCentralSize - 44; 0 < n; ) (e = this.reader.readInt(2)), (t = this.reader.readInt(4)), (r = this.reader.readData(t)), (this.zip64ExtensibleData[e] = { id: e, length: t, value: r }) }, readBlockZip64EndOfCentralLocator: function () { if ( ((this.diskWithZip64CentralDirStart = this.reader.readInt(4)), (this.relativeOffsetEndOfZip64CentralDir = this.reader.readInt(8)), (this.disksCount = this.reader.readInt(4)), 1 < this.disksCount) ) throw new Error("Multi-volumes zip are not supported") }, readLocalFiles: function () { var e, t for (e = 0; e < this.files.length; e++) (t = this.files[e]), this.reader.setIndex(t.localHeaderOffset), this.checkSignature(o.LOCAL_FILE_HEADER), t.readLocalPart(this.reader), t.handleUTF8(), t.processAttributes() }, readCentralDir: function () { var e for (this.reader.setIndex(this.centralDirOffset); this.reader.readAndCheckSignature(o.CENTRAL_FILE_HEADER); ) (e = new a( { zip64: this.zip64 }, this.loadOptions )).readCentralPart(this.reader), this.files.push(e) if (this.centralDirRecords !== this.files.length && 0 !== this.centralDirRecords && 0 === this.files.length) throw new Error( "Corrupted zip or bug: expected " + this.centralDirRecords + " records in central dir, got " + this.files.length ) }, readEndOfCentral: function () { var e = this.reader.lastIndexOfSignature(o.CENTRAL_DIRECTORY_END) if (e < 0) throw this.isSignature(0, o.LOCAL_FILE_HEADER) ? new Error("Corrupted zip: can't find end of central directory") : new Error( "Can't find end of central directory : is this a zip file ? If it is, see https://stuk.github.io/jszip/documentation/howto/read_zip.html" ) this.reader.setIndex(e) var t = e if ( (this.checkSignature(o.CENTRAL_DIRECTORY_END), this.readBlockEndOfCentral(), this.diskNumber === i.MAX_VALUE_16BITS || this.diskWithCentralDirStart === i.MAX_VALUE_16BITS || this.centralDirRecordsOnThisDisk === i.MAX_VALUE_16BITS || this.centralDirRecords === i.MAX_VALUE_16BITS || this.centralDirSize === i.MAX_VALUE_32BITS || this.centralDirOffset === i.MAX_VALUE_32BITS) ) { if (((this.zip64 = !0), (e = this.reader.lastIndexOfSignature(o.ZIP64_CENTRAL_DIRECTORY_LOCATOR)) < 0)) throw new Error("Corrupted zip: can't find the ZIP64 end of central directory locator") if ( (this.reader.setIndex(e), this.checkSignature(o.ZIP64_CENTRAL_DIRECTORY_LOCATOR), this.readBlockZip64EndOfCentralLocator(), !this.isSignature(this.relativeOffsetEndOfZip64CentralDir, o.ZIP64_CENTRAL_DIRECTORY_END) && ((this.relativeOffsetEndOfZip64CentralDir = this.reader.lastIndexOfSignature(o.ZIP64_CENTRAL_DIRECTORY_END)), this.relativeOffsetEndOfZip64CentralDir < 0)) ) throw new Error("Corrupted zip: can't find the ZIP64 end of central directory") this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir), this.checkSignature(o.ZIP64_CENTRAL_DIRECTORY_END), this.readBlockZip64EndOfCentral() } var r = this.centralDirOffset + this.centralDirSize this.zip64 && ((r += 20), (r += 12 + this.zip64EndOfCentralSize)) var n = t - r if (0 < n) this.isSignature(t, o.CENTRAL_FILE_HEADER) || (this.reader.zero = n) else if (n < 0) throw new Error("Corrupted zip: missing " + Math.abs(n) + " bytes.") }, prepareReader: function (e) { this.reader = n(e) }, load: function (e) { this.prepareReader(e), this.readEndOfCentral(), this.readCentralDir(), this.readLocalFiles() } }), (t.exports = l) }, { "./reader/readerFor": 22, "./signature": 23, "./support": 30, "./utils": 32, "./zipEntry": 34 } ], 34: [ function (e, t, r) { "use strict" var n = e("./reader/readerFor"), i = e("./utils"), o = e("./compressedObject"), a = e("./crc32"), s = e("./utf8"), l = e("./compressions"), c = e("./support") function u(e, t) { ;(this.options = e), (this.loadOptions = t) } ;(u.prototype = { isEncrypted: function () { return 1 == (1 & this.bitFlag) }, useUTF8: function () { return 2048 == (2048 & this.bitFlag) }, readLocalPart: function (e) { var t, r if ( (e.skip(22), (this.fileNameLength = e.readInt(2)), (r = e.readInt(2)), (this.fileName = e.readData(this.fileNameLength)), e.skip(r), -1 === this.compressedSize || -1 === this.uncompressedSize) ) throw new Error( "Bug or corrupted zip : didn't get enough information from the central directory (compressedSize === -1 || uncompressedSize === -1)" ) if ( null === (t = (function (e) { for (var t in l) if (Object.prototype.hasOwnProperty.call(l, t) && l[t].magic === e) return l[t] return null })(this.compressionMethod)) ) throw new Error( "Corrupted zip : compression " + i.pretty(this.compressionMethod) + " unknown (inner file : " + i.transformTo("string", this.fileName) + ")" ) this.decompressed = new o(this.compressedSize, this.uncompressedSize, this.crc32, t, e.readData(this.compressedSize)) }, readCentralPart: function (e) { ;(this.versionMadeBy = e.readInt(2)), e.skip(2), (this.bitFlag = e.readInt(2)), (this.compressionMethod = e.readString(2)), (this.date = e.readDate()), (this.crc32 = e.readInt(4)), (this.compressedSize = e.readInt(4)), (this.uncompressedSize = e.readInt(4)) var t = e.readInt(2) if ( ((this.extraFieldsLength = e.readInt(2)), (this.fileCommentLength = e.readInt(2)), (this.diskNumberStart = e.readInt(2)), (this.internalFileAttributes = e.readInt(2)), (this.externalFileAttributes = e.readInt(4)), (this.localHeaderOffset = e.readInt(4)), this.isEncrypted()) ) throw new Error("Encrypted zip are not supported") e.skip(t), this.readExtraFields(e), this.parseZIP64ExtraField(e), (this.fileComment = e.readData(this.fileCommentLength)) }, processAttributes: function () { ;(this.unixPermissions = null), (this.dosPermissions = null) var e = this.versionMadeBy >> 8 ;(this.dir = !!(16 & this.externalFileAttributes)), 0 == e && (this.dosPermissions = 63 & this.externalFileAttributes), 3 == e && (this.unixPermissions = (this.externalFileAttributes >> 16) & 65535), this.dir || "/" !== this.fileNameStr.slice(-1) || (this.dir = !0) }, parseZIP64ExtraField: function () { if (this.extraFields[1]) { var e = n(this.extraFields[1].value) this.uncompressedSize === i.MAX_VALUE_32BITS && (this.uncompressedSize = e.readInt(8)), this.compressedSize === i.MAX_VALUE_32BITS && (this.compressedSize = e.readInt(8)), this.localHeaderOffset === i.MAX_VALUE_32BITS && (this.localHeaderOffset = e.readInt(8)), this.diskNumberStart === i.MAX_VALUE_32BITS && (this.diskNumberStart = e.readInt(4)) } }, readExtraFields: function (e) { var t, r, n, i = e.index + this.extraFieldsLength for (this.extraFields || (this.extraFields = {}); e.index + 4 < i; ) (t = e.readInt(2)), (r = e.readInt(2)), (n = e.readData(r)), (this.extraFields[t] = { id: t, length: r, value: n }) e.setIndex(i) }, handleUTF8: function () { var e = c.uint8array ? "uint8array" : "array" if (this.useUTF8()) (this.fileNameStr = s.utf8decode(this.fileName)), (this.fileCommentStr = s.utf8decode(this.fileComment)) else { var t = this.findExtraFieldUnicodePath() if (null !== t) this.fileNameStr = t else { var r = i.transformTo(e, this.fileName) this.fileNameStr = this.loadOptions.decodeFileName(r) } var n = this.findExtraFieldUnicodeComment() if (null !== n) this.fileCommentStr = n else { var o = i.transformTo(e, this.fileComment) this.fileCommentStr = this.loadOptions.decodeFileName(o) } } }, findExtraFieldUnicodePath: function () { var e = this.extraFields[28789] if (e) { var t = n(e.value) return 1 !== t.readInt(1) || a(this.fileName) !== t.readInt(4) ? null : s.utf8decode(t.readData(e.length - 5)) } return null }, findExtraFieldUnicodeComment: function () { var e = this.extraFields[25461] if (e) { var t = n(e.value) return 1 !== t.readInt(1) || a(this.fileComment) !== t.readInt(4) ? null : s.utf8decode(t.readData(e.length - 5)) } return null } }), (t.exports = u) }, { "./compressedObject": 2, "./compressions": 3, "./crc32": 4, "./reader/readerFor": 22, "./support": 30, "./utf8": 31, "./utils": 32 } ], 35: [ function (e, t, r) { "use strict" function n(e, t, r) { ;(this.name = e), (this.dir = r.dir), (this.date = r.date), (this.comment = r.comment), (this.unixPermissions = r.unixPermissions), (this.dosPermissions = r.dosPermissions), (this._data = t), (this._dataBinary = r.binary), (this.options = { compression: r.compression, compressionOptions: r.compressionOptions }) } var i = e("./stream/StreamHelper"), o = e("./stream/DataWorker"), a = e("./utf8"), s = e("./compressedObject"), l = e("./stream/GenericWorker") n.prototype = { internalStream: function (e) { var t = null, r = "string" try { if (!e) throw new Error("No output type specified.") var n = "string" === (r = e.toLowerCase()) || "text" === r ;("binarystring" !== r && "text" !== r) || (r = "string"), (t = this._decompressWorker()) var o = !this._dataBinary o && !n && (t = t.pipe(new a.Utf8EncodeWorker())), !o && n && (t = t.pipe(new a.Utf8DecodeWorker())) } catch (e) { ;(t = new l("error")).error(e) } return new i(t, r, "") }, async: function (e, t) { return this.internalStream(e).accumulate(t) }, nodeStream: function (e, t) { return this.internalStream(e || "nodebuffer").toNodejsStream(t) }, _compressWorker: function (e, t) { if (this._data instanceof s && this._data.compression.magic === e.magic) return this._data.getCompressedWorker() var r = this._decompressWorker() return this._dataBinary || (r = r.pipe(new a.Utf8EncodeWorker())), s.createWorkerFrom(r, e, t) }, _decompressWorker: function () { return this._data instanceof s ? this._data.getContentWorker() : this._data instanceof l ? this._data : new o(this._data) } } for ( var c = ["asText", "asBinary", "asNodeBuffer", "asUint8Array", "asArrayBuffer"], u = function () { throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.") }, f = 0; f < c.length; f++ ) n.prototype[c[f]] = u t.exports = n }, { "./compressedObject": 2, "./stream/DataWorker": 27, "./stream/GenericWorker": 28, "./stream/StreamHelper": 29, "./utf8": 31 } ], 36: [ function (e, t, n) { ;(function (e) { "use strict" var r, n, i = e.MutationObserver || e.WebKitMutationObserver if (i) { var o = 0, a = new i(u), s = e.document.createTextNode("") a.observe(s, { characterData: !0 }), (r = function () { s.data = o = ++o % 2 }) } else if (e.setImmediate || void 0 === e.MessageChannel) r = "document" in e && "onreadystatechange" in e.document.createElement("script") ? function () { var t = e.document.createElement("script") ;(t.onreadystatechange = function () { u(), (t.onreadystatechange = null), t.parentNode.removeChild(t), (t = null) }), e.document.documentElement.appendChild(t) } : function () { setTimeout(u, 0) } else { var l = new e.MessageChannel() ;(l.port1.onmessage = u), (r = function () { l.port2.postMessage(0) }) } var c = [] function u() { var e, t n = !0 for (var r = c.length; r; ) { for (t = c, c = [], e = -1; ++e < r; ) t[e]() r = c.length } n = !1 } t.exports = function (e) { 1 !== c.push(e) || n || r() } }).call(this, "undefined" != typeof r ? r : "undefined" != typeof self ? self : "undefined" != typeof window ? window : {}) }, {} ], 37: [ function (e, t, r) { "use strict" var n = e("immediate") function i() {} var o = {}, a = ["REJECTED"], s = ["FULFILLED"], l = ["PENDING"] function c(e) { if ("function" != typeof e) throw new TypeError("resolver must be a function") ;(this.state = l), (this.queue = []), (this.outcome = void 0), e !== i && d(this, e) } function u(e, t, r) { ;(this.promise = e), "function" == typeof t && ((this.onFulfilled = t), (this.callFulfilled = this.otherCallFulfilled)), "function" == typeof r && ((this.onRejected = r), (this.callRejected = this.otherCallRejected)) } function f(e, t, r) { n(function () { var n try { n = t(r) } catch (n) { return o.reject(e, n) } n === e ? o.reject(e, new TypeError("Cannot resolve promise with itself")) : o.resolve(e, n) }) } function p(e) { var t = e && e.then if (e && ("object" == typeof e || "function" == typeof e) && "function" == typeof t) return function () { t.apply(e, arguments) } } function d(e, t) { var r = !1 function n(t) { r || ((r = !0), o.reject(e, t)) } function i(t) { r || ((r = !0), o.resolve(e, t)) } var a = h(function () { t(i, n) }) "error" === a.status && n(a.value) } function h(e, t) { var r = {} try { ;(r.value = e(t)), (r.status = "success") } catch (e) { ;(r.status = "error"), (r.value = e) } return r } ;((t.exports = c).prototype.finally = function (e) { if ("function" != typeof e) return this var t = this.constructor return this.then( function (r) { return t.resolve(e()).then(function () { return r }) }, function (r) { return t.resolve(e()).then(function () { throw r }) } ) }), (c.prototype.catch = function (e) { return this.then(null, e) }), (c.prototype.then = function (e, t) { if (("function" != typeof e && this.state === s) || ("function" != typeof t && this.state === a)) return this var r = new this.constructor(i) return this.state !== l ? f(r, this.state === s ? e : t, this.outcome) : this.queue.push(new u(r, e, t)), r }), (u.prototype.callFulfilled = function (e) { o.resolve(this.promise, e) }), (u.prototype.otherCallFulfilled = function (e) { f(this.promise, this.onFulfilled, e) }), (u.prototype.callRejected = function (e) { o.reject(this.promise, e) }), (u.prototype.otherCallRejected = function (e) { f(this.promise, this.onRejected, e) }), (o.resolve = function (e, t) { var r = h(p, t) if ("error" === r.status) return o.reject(e, r.value) var n = r.value if (n) d(e, n) else { ;(e.state = s), (e.outcome = t) for (var i = -1, a = e.queue.length; ++i < a; ) e.queue[i].callFulfilled(t) } return e }), (o.reject = function (e, t) { ;(e.state = a), (e.outcome = t) for (var r = -1, n = e.queue.length; ++r < n; ) e.queue[r].callRejected(t) return e }), (c.resolve = function (e) { return e instanceof this ? e : o.resolve(new this(i), e) }), (c.reject = function (e) { var t = new this(i) return o.reject(t, e) }), (c.all = function (e) { var t = this if ("[object Array]" !== Object.prototype.toString.call(e)) return this.reject(new TypeError("must be an array")) var r = e.length, n = !1 if (!r) return this.resolve([]) for (var a = new Array(r), s = 0, l = -1, c = new this(i); ++l < r; ) u(e[l], l) return c function u(e, i) { t.resolve(e).then( function (e) { ;(a[i] = e), ++s !== r || n || ((n = !0), o.resolve(c, a)) }, function (e) { n || ((n = !0), o.reject(c, e)) } ) } }), (c.race = function (e) { var t = this if ("[object Array]" !== Object.prototype.toString.call(e)) return this.reject(new TypeError("must be an array")) var r = e.length, n = !1 if (!r) return this.resolve([]) for (var a, s = -1, l = new this(i); ++s < r; ) (a = e[s]), t.resolve(a).then( function (e) { n || ((n = !0), o.resolve(l, e)) }, function (e) { n || ((n = !0), o.reject(l, e)) } ) return l }) }, { immediate: 36 } ], 38: [ function (e, t, r) { "use strict" var n = {} ;(0, e("./lib/utils/common").assign)(n, e("./lib/deflate"), e("./lib/inflate"), e("./lib/zlib/constants")), (t.exports = n) }, { "./lib/deflate": 39, "./lib/inflate": 40, "./lib/utils/common": 41, "./lib/zlib/constants": 44 } ], 39: [ function (e, t, r) { "use strict" var n = e("./zlib/deflate"), i = e("./utils/common"), o = e("./utils/strings"), a = e("./zlib/messages"), s = e("./zlib/zstream"), l = Object.prototype.toString, c = 0, u = -1, f = 0, p = 8 function d(e) { if (!(this instanceof d)) return new d(e) this.options = i.assign( { level: u, method: p, chunkSize: 16384, windowBits: 15, memLevel: 8, strategy: f, to: "" }, e || {} ) var t = this.options t.raw && 0 < t.windowBits ? (t.windowBits = -t.windowBits) : t.gzip && 0 < t.windowBits && t.windowBits < 16 && (t.windowBits += 16), (this.err = 0), (this.msg = ""), (this.ended = !1), (this.chunks = []), (this.strm = new s()), (this.strm.avail_out = 0) var r = n.deflateInit2(this.strm, t.level, t.method, t.windowBits, t.memLevel, t.strategy) if (r !== c) throw new Error(a[r]) if ((t.header && n.deflateSetHeader(this.strm, t.header), t.dictionary)) { var h if ( ((h = "string" == typeof t.dictionary ? o.string2buf(t.dictionary) : "[object ArrayBuffer]" === l.call(t.dictionary) ? new Uint8Array(t.dictionary) : t.dictionary), (r = n.deflateSetDictionary(this.strm, h)) !== c) ) throw new Error(a[r]) this._dict_set = !0 } } function h(e, t) { var r = new d(t) if ((r.push(e, !0), r.err)) throw r.msg || a[r.err] return r.result } ;(d.prototype.push = function (e, t) { var r, a, s = this.strm, u = this.options.chunkSize if (this.ended) return !1 ;(a = t === ~~t ? t : !0 === t ? 4 : 0), "string" == typeof e ? (s.input = o.string2buf(e)) : "[object ArrayBuffer]" === l.call(e) ? (s.input = new Uint8Array(e)) : (s.input = e), (s.next_in = 0), (s.avail_in = s.input.length) do { if ( (0 === s.avail_out && ((s.output = new i.Buf8(u)), (s.next_out = 0), (s.avail_out = u)), 1 !== (r = n.deflate(s, a)) && r !== c) ) return this.onEnd(r), !(this.ended = !0) ;(0 !== s.avail_out && (0 !== s.avail_in || (4 !== a && 2 !== a))) || ("string" === this.options.to ? this.onData(o.buf2binstring(i.shrinkBuf(s.output, s.next_out))) : this.onData(i.shrinkBuf(s.output, s.next_out))) } while ((0 < s.avail_in || 0 === s.avail_out) && 1 !== r) return 4 === a ? ((r = n.deflateEnd(this.strm)), this.onEnd(r), (this.ended = !0), r === c) : 2 !== a || (this.onEnd(c), !(s.avail_out = 0)) }), (d.prototype.onData = function (e) { this.chunks.push(e) }), (d.prototype.onEnd = function (e) { e === c && ("string" === this.options.to ? (this.result = this.chunks.join("")) : (this.result = i.flattenChunks(this.chunks))), (this.chunks = []), (this.err = e), (this.msg = this.strm.msg) }), (r.Deflate = d), (r.deflate = h), (r.deflateRaw = function (e, t) { return ((t = t || {}).raw = !0), h(e, t) }), (r.gzip = function (e, t) { return ((t = t || {}).gzip = !0), h(e, t) }) }, { "./utils/common": 41, "./utils/strings": 42, "./zlib/deflate": 46, "./zlib/messages": 51, "./zlib/zstream": 53 } ], 40: [ function (e, t, r) { "use strict" var n = e("./zlib/inflate"), i = e("./utils/common"), o = e("./utils/strings"), a = e("./zlib/constants"), s = e("./zlib/messages"), l = e("./zlib/zstream"), c = e("./zlib/gzheader"), u = Object.prototype.toString function f(e) { if (!(this instanceof f)) return new f(e) this.options = i.assign( { chunkSize: 16384, windowBits: 0, to: "" }, e || {} ) var t = this.options t.raw && 0 <= t.windowBits && t.windowBits < 16 && ((t.windowBits = -t.windowBits), 0 === t.windowBits && (t.windowBits = -15)), !(0 <= t.windowBits && t.windowBits < 16) || (e && e.windowBits) || (t.windowBits += 32), 15 < t.windowBits && t.windowBits < 48 && 0 == (15 & t.windowBits) && (t.windowBits |= 15), (this.err = 0), (this.msg = ""), (this.ended = !1), (this.chunks = []), (this.strm = new l()), (this.strm.avail_out = 0) var r = n.inflateInit2(this.strm, t.windowBits) if (r !== a.Z_OK) throw new Error(s[r]) ;(this.header = new c()), n.inflateGetHeader(this.strm, this.header) } function p(e, t) { var r = new f(t) if ((r.push(e, !0), r.err)) throw r.msg || s[r.err] return r.result } ;(f.prototype.push = function (e, t) { var r, s, l, c, f, p, d = this.strm, h = this.options.chunkSize, m = this.options.dictionary, g = !1 if (this.ended) return !1 ;(s = t === ~~t ? t : !0 === t ? a.Z_FINISH : a.Z_NO_FLUSH), "string" == typeof e ? (d.input = o.binstring2buf(e)) : "[object ArrayBuffer]" === u.call(e) ? (d.input = new Uint8Array(e)) : (d.input = e), (d.next_in = 0), (d.avail_in = d.input.length) do { if ( (0 === d.avail_out && ((d.output = new i.Buf8(h)), (d.next_out = 0), (d.avail_out = h)), (r = n.inflate(d, a.Z_NO_FLUSH)) === a.Z_NEED_DICT && m && ((p = "string" == typeof m ? o.string2buf(m) : "[object ArrayBuffer]" === u.call(m) ? new Uint8Array(m) : m), (r = n.inflateSetDictionary(this.strm, p))), r === a.Z_BUF_ERROR && !0 === g && ((r = a.Z_OK), (g = !1)), r !== a.Z_STREAM_END && r !== a.Z_OK) ) return this.onEnd(r), !(this.ended = !0) d.next_out && ((0 !== d.avail_out && r !== a.Z_STREAM_END && (0 !== d.avail_in || (s !== a.Z_FINISH && s !== a.Z_SYNC_FLUSH))) || ("string" === this.options.to ? ((l = o.utf8border(d.output, d.next_out)), (c = d.next_out - l), (f = o.buf2string(d.output, l)), (d.next_out = c), (d.avail_out = h - c), c && i.arraySet(d.output, d.output, l, c, 0), this.onData(f)) : this.onData(i.shrinkBuf(d.output, d.next_out)))), 0 === d.avail_in && 0 === d.avail_out && (g = !0) } while ((0 < d.avail_in || 0 === d.avail_out) && r !== a.Z_STREAM_END) return ( r === a.Z_STREAM_END && (s = a.Z_FINISH), s === a.Z_FINISH ? ((r = n.inflateEnd(this.strm)), this.onEnd(r), (this.ended = !0), r === a.Z_OK) : s !== a.Z_SYNC_FLUSH || (this.onEnd(a.Z_OK), !(d.avail_out = 0)) ) }), (f.prototype.onData = function (e) { this.chunks.push(e) }), (f.prototype.onEnd = function (e) { e === a.Z_OK && ("string" === this.options.to ? (this.result = this.chunks.join("")) : (this.result = i.flattenChunks(this.chunks))), (this.chunks = []), (this.err = e), (this.msg = this.strm.msg) }), (r.Inflate = f), (r.inflate = p), (r.inflateRaw = function (e, t) { return ((t = t || {}).raw = !0), p(e, t) }), (r.ungzip = p) }, { "./utils/common": 41, "./utils/strings": 42, "./zlib/constants": 44, "./zlib/gzheader": 47, "./zlib/inflate": 49, "./zlib/messages": 51, "./zlib/zstream": 53 } ], 41: [ function (e, t, r) { "use strict" var n = "undefined" != typeof Uint8Array && "undefined" != typeof Uint16Array && "undefined" != typeof Int32Array ;(r.assign = function (e) { for (var t = Array.prototype.slice.call(arguments, 1); t.length; ) { var r = t.shift() if (r) { if ("object" != typeof r) throw new TypeError(r + "must be non-object") for (var n in r) r.hasOwnProperty(n) && (e[n] = r[n]) } } return e }), (r.shrinkBuf = function (e, t) { return e.length === t ? e : e.subarray ? e.subarray(0, t) : ((e.length = t), e) }) var i = { arraySet: function (e, t, r, n, i) { if (t.subarray && e.subarray) e.set(t.subarray(r, r + n), i) else for (var o = 0; o < n; o++) e[i + o] = t[r + o] }, flattenChunks: function (e) { var t, r, n, i, o, a for (t = n = 0, r = e.length; t < r; t++) n += e[t].length for (a = new Uint8Array(n), t = i = 0, r = e.length; t < r; t++) (o = e[t]), a.set(o, i), (i += o.length) return a } }, o = { arraySet: function (e, t, r, n, i) { for (var o = 0; o < n; o++) e[i + o] = t[r + o] }, flattenChunks: function (e) { return [].concat.apply([], e) } } ;(r.setTyped = function (e) { e ? ((r.Buf8 = Uint8Array), (r.Buf16 = Uint16Array), (r.Buf32 = Int32Array), r.assign(r, i)) : ((r.Buf8 = Array), (r.Buf16 = Array), (r.Buf32 = Array), r.assign(r, o)) }), r.setTyped(n) }, {} ], 42: [ function (e, t, r) { "use strict" var n = e("./common"), i = !0, o = !0 try { String.fromCharCode.apply(null, [0]) } catch (e) { i = !1 } try { String.fromCharCode.apply(null, new Uint8Array(1)) } catch (e) { o = !1 } for (var a = new n.Buf8(256), s = 0; s < 256; s++) a[s] = 252 <= s ? 6 : 248 <= s ? 5 : 240 <= s ? 4 : 224 <= s ? 3 : 192 <= s ? 2 : 1 function l(e, t) { if (t < 65537 && ((e.subarray && o) || (!e.subarray && i))) return String.fromCharCode.apply(null, n.shrinkBuf(e, t)) for (var r = "", a = 0; a < t; a++) r += String.fromCharCode(e[a]) return r } ;(a[254] = a[254] = 1), (r.string2buf = function (e) { var t, r, i, o, a, s = e.length, l = 0 for (o = 0; o < s; o++) 55296 == (64512 & (r = e.charCodeAt(o))) && o + 1 < s && 56320 == (64512 & (i = e.charCodeAt(o + 1))) && ((r = 65536 + ((r - 55296) << 10) + (i - 56320)), o++), (l += r < 128 ? 1 : r < 2048 ? 2 : r < 65536 ? 3 : 4) for (t = new n.Buf8(l), o = a = 0; a < l; o++) 55296 == (64512 & (r = e.charCodeAt(o))) && o + 1 < s && 56320 == (64512 & (i = e.charCodeAt(o + 1))) && ((r = 65536 + ((r - 55296) << 10) + (i - 56320)), o++), r < 128 ? (t[a++] = r) : (r < 2048 ? (t[a++] = 192 | (r >>> 6)) : (r < 65536 ? (t[a++] = 224 | (r >>> 12)) : ((t[a++] = 240 | (r >>> 18)), (t[a++] = 128 | ((r >>> 12) & 63))), (t[a++] = 128 | ((r >>> 6) & 63))), (t[a++] = 128 | (63 & r))) return t }), (r.buf2binstring = function (e) { return l(e, e.length) }), (r.binstring2buf = function (e) { for (var t = new n.Buf8(e.length), r = 0, i = t.length; r < i; r++) t[r] = e.charCodeAt(r) return t }), (r.buf2string = function (e, t) { var r, n, i, o, s = t || e.length, c = new Array(2 * s) for (r = n = 0; r < s; ) if ((i = e[r++]) < 128) c[n++] = i else if (4 < (o = a[i])) (c[n++] = 65533), (r += o - 1) else { for (i &= 2 === o ? 31 : 3 === o ? 15 : 7; 1 < o && r < s; ) (i = (i << 6) | (63 & e[r++])), o-- 1 < o ? (c[n++] = 65533) : i < 65536 ? (c[n++] = i) : ((i -= 65536), (c[n++] = 55296 | ((i >> 10) & 1023)), (c[n++] = 56320 | (1023 & i))) } return l(c, n) }), (r.utf8border = function (e, t) { var r for ((t = t || e.length) > e.length && (t = e.length), r = t - 1; 0 <= r && 128 == (192 & e[r]); ) r-- return r < 0 || 0 === r ? t : r + a[e[r]] > t ? r : t }) }, { "./common": 41 } ], 43: [ function (e, t, r) { "use strict" t.exports = function (e, t, r, n) { for (var i = (65535 & e) | 0, o = ((e >>> 16) & 65535) | 0, a = 0; 0 !== r; ) { for (r -= a = 2e3 < r ? 2e3 : r; (o = (o + (i = (i + t[n++]) | 0)) | 0), --a; ); ;(i %= 65521), (o %= 65521) } return i | (o << 16) | 0 } }, {} ], 44: [ function (e, t, r) { "use strict" t.exports = { Z_NO_FLUSH: 0, Z_PARTIAL_FLUSH: 1, Z_SYNC_FLUSH: 2, Z_FULL_FLUSH: 3, Z_FINISH: 4, Z_BLOCK: 5, Z_TREES: 6, Z_OK: 0, Z_STREAM_END: 1, Z_NEED_DICT: 2, Z_ERRNO: -1, Z_STREAM_ERROR: -2, Z_DATA_ERROR: -3, Z_BUF_ERROR: -5, Z_NO_COMPRESSION: 0, Z_BEST_SPEED: 1, Z_BEST_COMPRESSION: 9, Z_DEFAULT_COMPRESSION: -1, Z_FILTERED: 1, Z_HUFFMAN_ONLY: 2, Z_RLE: 3, Z_FIXED: 4, Z_DEFAULT_STRATEGY: 0, Z_BINARY: 0, Z_TEXT: 1, Z_UNKNOWN: 2, Z_DEFLATED: 8 } }, {} ], 45: [ function (e, t, r) { "use strict" var n = (function () { for (var e, t = [], r = 0; r < 256; r++) { e = r for (var n = 0; n < 8; n++) e = 1 & e ? 3988292384 ^ (e >>> 1) : e >>> 1 t[r] = e } return t })() t.exports = function (e, t, r, i) { var o = n, a = i + r e ^= -1 for (var s = i; s < a; s++) e = (e >>> 8) ^ o[255 & (e ^ t[s])] return -1 ^ e } }, {} ], 46: [ function (e, t, r) { "use strict" var n, i = e("../utils/common"), o = e("./trees"), a = e("./adler32"), s = e("./crc32"), l = e("./messages"), c = 0, u = 4, f = 0, p = -2, d = -1, h = 4, m = 2, g = 8, y = 9, v = 286, b = 30, w = 19, x = 2 * v + 1, A = 15, _ = 3, T = 258, E = T + _ + 1, S = 42, C = 113, k = 1, L = 2, P = 3, O = 4 function j(e, t) { return (e.msg = l[t]), t } function R(e) { return (e << 1) - (4 < e ? 9 : 0) } function I(e) { for (var t = e.length; 0 <= --t; ) e[t] = 0 } function N(e) { var t = e.state, r = t.pending r > e.avail_out && (r = e.avail_out), 0 !== r && (i.arraySet(e.output, t.pending_buf, t.pending_out, r, e.next_out), (e.next_out += r), (t.pending_out += r), (e.total_out += r), (e.avail_out -= r), (t.pending -= r), 0 === t.pending && (t.pending_out = 0)) } function M(e, t) { o._tr_flush_block(e, 0 <= e.block_start ? e.block_start : -1, e.strstart - e.block_start, t), (e.block_start = e.strstart), N(e.strm) } function D(e, t) { e.pending_buf[e.pending++] = t } function B(e, t) { ;(e.pending_buf[e.pending++] = (t >>> 8) & 255), (e.pending_buf[e.pending++] = 255 & t) } function F(e, t) { var r, n, i = e.max_chain_length, o = e.strstart, a = e.prev_length, s = e.nice_match, l = e.strstart > e.w_size - E ? e.strstart - (e.w_size - E) : 0, c = e.window, u = e.w_mask, f = e.prev, p = e.strstart + T, d = c[o + a - 1], h = c[o + a] e.prev_length >= e.good_match && (i >>= 2), s > e.lookahead && (s = e.lookahead) do { if (c[(r = t) + a] === h && c[r + a - 1] === d && c[r] === c[o] && c[++r] === c[o + 1]) { ;(o += 2), r++ do {} while ( c[++o] === c[++r] && c[++o] === c[++r] && c[++o] === c[++r] && c[++o] === c[++r] && c[++o] === c[++r] && c[++o] === c[++r] && c[++o] === c[++r] && c[++o] === c[++r] && o < p ) if (((n = T - (p - o)), (o = p - T), a < n)) { if (((e.match_start = t), s <= (a = n))) break ;(d = c[o + a - 1]), (h = c[o + a]) } } } while ((t = f[t & u]) > l && 0 != --i) return a <= e.lookahead ? a : e.lookahead } function U(e) { var t, r, n, o, l, c, u, f, p, d, h = e.w_size do { if (((o = e.window_size - e.lookahead - e.strstart), e.strstart >= h + (h - E))) { for ( i.arraySet(e.window, e.window, h, h, 0), e.match_start -= h, e.strstart -= h, e.block_start -= h, t = r = e.hash_size; (n = e.head[--t]), (e.head[t] = h <= n ? n - h : 0), --r; ); for (t = r = h; (n = e.prev[--t]), (e.prev[t] = h <= n ? n - h : 0), --r; ); o += h } if (0 === e.strm.avail_in) break if ( ((c = e.strm), (u = e.window), (f = e.strstart + e.lookahead), (p = o), (d = void 0), (d = c.avail_in), p < d && (d = p), (r = 0 === d ? 0 : ((c.avail_in -= d), i.arraySet(u, c.input, c.next_in, d, f), 1 === c.state.wrap ? (c.adler = a(c.adler, u, d, f)) : 2 === c.state.wrap && (c.adler = s(c.adler, u, d, f)), (c.next_in += d), (c.total_in += d), d)), (e.lookahead += r), e.lookahead + e.insert >= _) ) for ( l = e.strstart - e.insert, e.ins_h = e.window[l], e.ins_h = ((e.ins_h << e.hash_shift) ^ e.window[l + 1]) & e.hash_mask; e.insert && ((e.ins_h = ((e.ins_h << e.hash_shift) ^ e.window[l + _ - 1]) & e.hash_mask), (e.prev[l & e.w_mask] = e.head[e.ins_h]), (e.head[e.ins_h] = l), l++, e.insert--, !(e.lookahead + e.insert < _)); ); } while (e.lookahead < E && 0 !== e.strm.avail_in) } function z(e, t) { for (var r, n; ; ) { if (e.lookahead < E) { if ((U(e), e.lookahead < E && t === c)) return k if (0 === e.lookahead) break } if ( ((r = 0), e.lookahead >= _ && ((e.ins_h = ((e.ins_h << e.hash_shift) ^ e.window[e.strstart + _ - 1]) & e.hash_mask), (r = e.prev[e.strstart & e.w_mask] = e.head[e.ins_h]), (e.head[e.ins_h] = e.strstart)), 0 !== r && e.strstart - r <= e.w_size - E && (e.match_length = F(e, r)), e.match_length >= _) ) if ( ((n = o._tr_tally(e, e.strstart - e.match_start, e.match_length - _)), (e.lookahead -= e.match_length), e.match_length <= e.max_lazy_match && e.lookahead >= _) ) { for ( e.match_length--; e.strstart++, (e.ins_h = ((e.ins_h << e.hash_shift) ^ e.window[e.strstart + _ - 1]) & e.hash_mask), (r = e.prev[e.strstart & e.w_mask] = e.head[e.ins_h]), (e.head[e.ins_h] = e.strstart), 0 != --e.match_length; ); e.strstart++ } else (e.strstart += e.match_length), (e.match_length = 0), (e.ins_h = e.window[e.strstart]), (e.ins_h = ((e.ins_h << e.hash_shift) ^ e.window[e.strstart + 1]) & e.hash_mask) else (n = o._tr_tally(e, 0, e.window[e.strstart])), e.lookahead--, e.strstart++ if (n && (M(e, !1), 0 === e.strm.avail_out)) return k } return ( (e.insert = e.strstart < _ - 1 ? e.strstart : _ - 1), t === u ? (M(e, !0), 0 === e.strm.avail_out ? P : O) : e.last_lit && (M(e, !1), 0 === e.strm.avail_out) ? k : L ) } function q(e, t) { for (var r, n, i; ; ) { if (e.lookahead < E) { if ((U(e), e.lookahead < E && t === c)) return k if (0 === e.lookahead) break } if ( ((r = 0), e.lookahead >= _ && ((e.ins_h = ((e.ins_h << e.hash_shift) ^ e.window[e.strstart + _ - 1]) & e.hash_mask), (r = e.prev[e.strstart & e.w_mask] = e.head[e.ins_h]), (e.head[e.ins_h] = e.strstart)), (e.prev_length = e.match_length), (e.prev_match = e.match_start), (e.match_length = _ - 1), 0 !== r && e.prev_length < e.max_lazy_match && e.strstart - r <= e.w_size - E && ((e.match_length = F(e, r)), e.match_length <= 5 && (1 === e.strategy || (e.match_length === _ && 4096 < e.strstart - e.match_start)) && (e.match_length = _ - 1)), e.prev_length >= _ && e.match_length <= e.prev_length) ) { for ( i = e.strstart + e.lookahead - _, n = o._tr_tally(e, e.strstart - 1 - e.prev_match, e.prev_length - _), e.lookahead -= e.prev_length - 1, e.prev_length -= 2; ++e.strstart <= i && ((e.ins_h = ((e.ins_h << e.hash_shift) ^ e.window[e.strstart + _ - 1]) & e.hash_mask), (r = e.prev[e.strstart & e.w_mask] = e.head[e.ins_h]), (e.head[e.ins_h] = e.strstart)), 0 != --e.prev_length; ); if (((e.match_available = 0), (e.match_length = _ - 1), e.strstart++, n && (M(e, !1), 0 === e.strm.avail_out))) return k } else if (e.match_available) { if ( ((n = o._tr_tally(e, 0, e.window[e.strstart - 1])) && M(e, !1), e.strstart++, e.lookahead--, 0 === e.strm.avail_out) ) return k } else (e.match_available = 1), e.strstart++, e.lookahead-- } return ( e.match_available && ((n = o._tr_tally(e, 0, e.window[e.strstart - 1])), (e.match_available = 0)), (e.insert = e.strstart < _ - 1 ? e.strstart : _ - 1), t === u ? (M(e, !0), 0 === e.strm.avail_out ? P : O) : e.last_lit && (M(e, !1), 0 === e.strm.avail_out) ? k : L ) } function G(e, t, r, n, i) { ;(this.good_length = e), (this.max_lazy = t), (this.nice_length = r), (this.max_chain = n), (this.func = i) } function W() { ;(this.strm = null), (this.status = 0), (this.pending_buf = null), (this.pending_buf_size = 0), (this.pending_out = 0), (this.pending = 0), (this.wrap = 0), (this.gzhead = null), (this.gzindex = 0), (this.method = g), (this.last_flush = -1), (this.w_size = 0), (this.w_bits = 0), (this.w_mask = 0), (this.window = null), (this.window_size = 0), (this.prev = null), (this.head = null), (this.ins_h = 0), (this.hash_size = 0), (this.hash_bits = 0), (this.hash_mask = 0), (this.hash_shift = 0), (this.block_start = 0), (this.match_length = 0), (this.prev_match = 0), (this.match_available = 0), (this.strstart = 0), (this.match_start = 0), (this.lookahead = 0), (this.prev_length = 0), (this.max_chain_length = 0), (this.max_lazy_match = 0), (this.level = 0), (this.strategy = 0), (this.good_match = 0), (this.nice_match = 0), (this.dyn_ltree = new i.Buf16(2 * x)), (this.dyn_dtree = new i.Buf16(2 * (2 * b + 1))), (this.bl_tree = new i.Buf16(2 * (2 * w + 1))), I(this.dyn_ltree), I(this.dyn_dtree), I(this.bl_tree), (this.l_desc = null), (this.d_desc = null), (this.bl_desc = null), (this.bl_count = new i.Buf16(A + 1)), (this.heap = new i.Buf16(2 * v + 1)), I(this.heap), (this.heap_len = 0), (this.heap_max = 0), (this.depth = new i.Buf16(2 * v + 1)), I(this.depth), (this.l_buf = 0), (this.lit_bufsize = 0), (this.last_lit = 0), (this.d_buf = 0), (this.opt_len = 0), (this.static_len = 0), (this.matches = 0), (this.insert = 0), (this.bi_buf = 0), (this.bi_valid = 0) } function V(e) { var t return e && e.state ? ((e.total_in = e.total_out = 0), (e.data_type = m), ((t = e.state).pending = 0), (t.pending_out = 0), t.wrap < 0 && (t.wrap = -t.wrap), (t.status = t.wrap ? S : C), (e.adler = 2 === t.wrap ? 0 : 1), (t.last_flush = c), o._tr_init(t), f) : j(e, p) } function H(e) { var t = V(e) return ( t === f && (function (e) { ;(e.window_size = 2 * e.w_size), I(e.head), (e.max_lazy_match = n[e.level].max_lazy), (e.good_match = n[e.level].good_length), (e.nice_match = n[e.level].nice_length), (e.max_chain_length = n[e.level].max_chain), (e.strstart = 0), (e.block_start = 0), (e.lookahead = 0), (e.insert = 0), (e.match_length = e.prev_length = _ - 1), (e.match_available = 0), (e.ins_h = 0) })(e.state), t ) } function X(e, t, r, n, o, a) { if (!e) return p var s = 1 if ( (t === d && (t = 6), n < 0 ? ((s = 0), (n = -n)) : 15 < n && ((s = 2), (n -= 16)), o < 1 || y < o || r !== g || n < 8 || 15 < n || t < 0 || 9 < t || a < 0 || h < a) ) return j(e, p) 8 === n && (n = 9) var l = new W() return ( ((e.state = l).strm = e), (l.wrap = s), (l.gzhead = null), (l.w_bits = n), (l.w_size = 1 << l.w_bits), (l.w_mask = l.w_size - 1), (l.hash_bits = o + 7), (l.hash_size = 1 << l.hash_bits), (l.hash_mask = l.hash_size - 1), (l.hash_shift = ~~((l.hash_bits + _ - 1) / _)), (l.window = new i.Buf8(2 * l.w_size)), (l.head = new i.Buf16(l.hash_size)), (l.prev = new i.Buf16(l.w_size)), (l.lit_bufsize = 1 << (o + 6)), (l.pending_buf_size = 4 * l.lit_bufsize), (l.pending_buf = new i.Buf8(l.pending_buf_size)), (l.d_buf = 1 * l.lit_bufsize), (l.l_buf = 3 * l.lit_bufsize), (l.level = t), (l.strategy = a), (l.method = r), H(e) ) } ;(n = [ new G(0, 0, 0, 0, function (e, t) { var r = 65535 for (r > e.pending_buf_size - 5 && (r = e.pending_buf_size - 5); ; ) { if (e.lookahead <= 1) { if ((U(e), 0 === e.lookahead && t === c)) return k if (0 === e.lookahead) break } ;(e.strstart += e.lookahead), (e.lookahead = 0) var n = e.block_start + r if ( (0 === e.strstart || e.strstart >= n) && ((e.lookahead = e.strstart - n), (e.strstart = n), M(e, !1), 0 === e.strm.avail_out) ) return k if (e.strstart - e.block_start >= e.w_size - E && (M(e, !1), 0 === e.strm.avail_out)) return k } return ( (e.insert = 0), t === u ? (M(e, !0), 0 === e.strm.avail_out ? P : O) : (e.strstart > e.block_start && (M(e, !1), e.strm.avail_out), k) ) }), new G(4, 4, 8, 4, z), new G(4, 5, 16, 8, z), new G(4, 6, 32, 32, z), new G(4, 4, 16, 16, q), new G(8, 16, 32, 32, q), new G(8, 16, 128, 128, q), new G(8, 32, 128, 256, q), new G(32, 128, 258, 1024, q), new G(32, 258, 258, 4096, q) ]), (r.deflateInit = function (e, t) { return X(e, t, g, 15, 8, 0) }), (r.deflateInit2 = X), (r.deflateReset = H), (r.deflateResetKeep = V), (r.deflateSetHeader = function (e, t) { return e && e.state ? (2 !== e.state.wrap ? p : ((e.state.gzhead = t), f)) : p }), (r.deflate = function (e, t) { var r, i, a, l if (!e || !e.state || 5 < t || t < 0) return e ? j(e, p) : p if (((i = e.state), !e.output || (!e.input && 0 !== e.avail_in) || (666 === i.status && t !== u))) return j(e, 0 === e.avail_out ? -5 : p) if (((i.strm = e), (r = i.last_flush), (i.last_flush = t), i.status === S)) if (2 === i.wrap) (e.adler = 0), D(i, 31), D(i, 139), D(i, 8), i.gzhead ? (D( i, (i.gzhead.text ? 1 : 0) + (i.gzhead.hcrc ? 2 : 0) + (i.gzhead.extra ? 4 : 0) + (i.gzhead.name ? 8 : 0) + (i.gzhead.comment ? 16 : 0) ), D(i, 255 & i.gzhead.time), D(i, (i.gzhead.time >> 8) & 255), D(i, (i.gzhead.time >> 16) & 255), D(i, (i.gzhead.time >> 24) & 255), D(i, 9 === i.level ? 2 : 2 <= i.strategy || i.level < 2 ? 4 : 0), D(i, 255 & i.gzhead.os), i.gzhead.extra && i.gzhead.extra.length && (D(i, 255 & i.gzhead.extra.length), D(i, (i.gzhead.extra.length >> 8) & 255)), i.gzhead.hcrc && (e.adler = s(e.adler, i.pending_buf, i.pending, 0)), (i.gzindex = 0), (i.status = 69)) : (D(i, 0), D(i, 0), D(i, 0), D(i, 0), D(i, 0), D(i, 9 === i.level ? 2 : 2 <= i.strategy || i.level < 2 ? 4 : 0), D(i, 3), (i.status = C)) else { var d = (g + ((i.w_bits - 8) << 4)) << 8 ;(d |= (2 <= i.strategy || i.level < 2 ? 0 : i.level < 6 ? 1 : 6 === i.level ? 2 : 3) << 6), 0 !== i.strstart && (d |= 32), (d += 31 - (d % 31)), (i.status = C), B(i, d), 0 !== i.strstart && (B(i, e.adler >>> 16), B(i, 65535 & e.adler)), (e.adler = 1) } if (69 === i.status) if (i.gzhead.extra) { for ( a = i.pending; i.gzindex < (65535 & i.gzhead.extra.length) && (i.pending !== i.pending_buf_size || (i.gzhead.hcrc && i.pending > a && (e.adler = s(e.adler, i.pending_buf, i.pending - a, a)), N(e), (a = i.pending), i.pending !== i.pending_buf_size)); ) D(i, 255 & i.gzhead.extra[i.gzindex]), i.gzindex++ i.gzhead.hcrc && i.pending > a && (e.adler = s(e.adler, i.pending_buf, i.pending - a, a)), i.gzindex === i.gzhead.extra.length && ((i.gzindex = 0), (i.status = 73)) } else i.status = 73 if (73 === i.status) if (i.gzhead.name) { a = i.pending do { if ( i.pending === i.pending_buf_size && (i.gzhead.hcrc && i.pending > a && (e.adler = s(e.adler, i.pending_buf, i.pending - a, a)), N(e), (a = i.pending), i.pending === i.pending_buf_size) ) { l = 1 break } ;(l = i.gzindex < i.gzhead.name.length ? 255 & i.gzhead.name.charCodeAt(i.gzindex++) : 0), D(i, l) } while (0 !== l) i.gzhead.hcrc && i.pending > a && (e.adler = s(e.adler, i.pending_buf, i.pending - a, a)), 0 === l && ((i.gzindex = 0), (i.status = 91)) } else i.status = 91 if (91 === i.status) if (i.gzhead.comment) { a = i.pending do { if ( i.pending === i.pending_buf_size && (i.gzhead.hcrc && i.pending > a && (e.adler = s(e.adler, i.pending_buf, i.pending - a, a)), N(e), (a = i.pending), i.pending === i.pending_buf_size) ) { l = 1 break } ;(l = i.gzindex < i.gzhead.comment.length ? 255 & i.gzhead.comment.charCodeAt(i.gzindex++) : 0), D(i, l) } while (0 !== l) i.gzhead.hcrc && i.pending > a && (e.adler = s(e.adler, i.pending_buf, i.pending - a, a)), 0 === l && (i.status = 103) } else i.status = 103 if ( (103 === i.status && (i.gzhead.hcrc ? (i.pending + 2 > i.pending_buf_size && N(e), i.pending + 2 <= i.pending_buf_size && (D(i, 255 & e.adler), D(i, (e.adler >> 8) & 255), (e.adler = 0), (i.status = C))) : (i.status = C)), 0 !== i.pending) ) { if ((N(e), 0 === e.avail_out)) return (i.last_flush = -1), f } else if (0 === e.avail_in && R(t) <= R(r) && t !== u) return j(e, -5) if (666 === i.status && 0 !== e.avail_in) return j(e, -5) if (0 !== e.avail_in || 0 !== i.lookahead || (t !== c && 666 !== i.status)) { var h = 2 === i.strategy ? (function (e, t) { for (var r; ; ) { if (0 === e.lookahead && (U(e), 0 === e.lookahead)) { if (t === c) return k break } if ( ((e.match_length = 0), (r = o._tr_tally(e, 0, e.window[e.strstart])), e.lookahead--, e.strstart++, r && (M(e, !1), 0 === e.strm.avail_out)) ) return k } return ( (e.insert = 0), t === u ? (M(e, !0), 0 === e.strm.avail_out ? P : O) : e.last_lit && (M(e, !1), 0 === e.strm.avail_out) ? k : L ) })(i, t) : 3 === i.strategy ? (function (e, t) { for (var r, n, i, a, s = e.window; ; ) { if (e.lookahead <= T) { if ((U(e), e.lookahead <= T && t === c)) return k if (0 === e.lookahead) break } if ( ((e.match_length = 0), e.lookahead >= _ && 0 < e.strstart && (n = s[(i = e.strstart - 1)]) === s[++i] && n === s[++i] && n === s[++i]) ) { a = e.strstart + T do {} while ( n === s[++i] && n === s[++i] && n === s[++i] && n === s[++i] && n === s[++i] && n === s[++i] && n === s[++i] && n === s[++i] && i < a ) ;(e.match_length = T - (a - i)), e.match_length > e.lookahead && (e.match_length = e.lookahead) } if ( (e.match_length >= _ ? ((r = o._tr_tally(e, 1, e.match_length - _)), (e.lookahead -= e.match_length), (e.strstart += e.match_length), (e.match_length = 0)) : ((r = o._tr_tally(e, 0, e.window[e.strstart])), e.lookahead--, e.strstart++), r && (M(e, !1), 0 === e.strm.avail_out)) ) return k } return ( (e.insert = 0), t === u ? (M(e, !0), 0 === e.strm.avail_out ? P : O) : e.last_lit && (M(e, !1), 0 === e.strm.avail_out) ? k : L ) })(i, t) : n[i.level].func(i, t) if (((h !== P && h !== O) || (i.status = 666), h === k || h === P)) return 0 === e.avail_out && (i.last_flush = -1), f if ( h === L && (1 === t ? o._tr_align(i) : 5 !== t && (o._tr_stored_block(i, 0, 0, !1), 3 === t && (I(i.head), 0 === i.lookahead && ((i.strstart = 0), (i.block_start = 0), (i.insert = 0)))), N(e), 0 === e.avail_out) ) return (i.last_flush = -1), f } return t !== u ? f : i.wrap <= 0 ? 1 : (2 === i.wrap ? (D(i, 255 & e.adler), D(i, (e.adler >> 8) & 255), D(i, (e.adler >> 16) & 255), D(i, (e.adler >> 24) & 255), D(i, 255 & e.total_in), D(i, (e.total_in >> 8) & 255), D(i, (e.total_in >> 16) & 255), D(i, (e.total_in >> 24) & 255)) : (B(i, e.adler >>> 16), B(i, 65535 & e.adler)), N(e), 0 < i.wrap && (i.wrap = -i.wrap), 0 !== i.pending ? f : 1) }), (r.deflateEnd = function (e) { var t return e && e.state ? (t = e.state.status) !== S && 69 !== t && 73 !== t && 91 !== t && 103 !== t && t !== C && 666 !== t ? j(e, p) : ((e.state = null), t === C ? j(e, -3) : f) : p }), (r.deflateSetDictionary = function (e, t) { var r, n, o, s, l, c, u, d, h = t.length if (!e || !e.state) return p if (2 === (s = (r = e.state).wrap) || (1 === s && r.status !== S) || r.lookahead) return p for ( 1 === s && (e.adler = a(e.adler, t, h, 0)), r.wrap = 0, h >= r.w_size && (0 === s && (I(r.head), (r.strstart = 0), (r.block_start = 0), (r.insert = 0)), (d = new i.Buf8(r.w_size)), i.arraySet(d, t, h - r.w_size, r.w_size, 0), (t = d), (h = r.w_size)), l = e.avail_in, c = e.next_in, u = e.input, e.avail_in = h, e.next_in = 0, e.input = t, U(r); r.lookahead >= _; ) { for ( n = r.strstart, o = r.lookahead - (_ - 1); (r.ins_h = ((r.ins_h << r.hash_shift) ^ r.window[n + _ - 1]) & r.hash_mask), (r.prev[n & r.w_mask] = r.head[r.ins_h]), (r.head[r.ins_h] = n), n++, --o; ); ;(r.strstart = n), (r.lookahead = _ - 1), U(r) } return ( (r.strstart += r.lookahead), (r.block_start = r.strstart), (r.insert = r.lookahead), (r.lookahead = 0), (r.match_length = r.prev_length = _ - 1), (r.match_available = 0), (e.next_in = c), (e.input = u), (e.avail_in = l), (r.wrap = s), f ) }), (r.deflateInfo = "pako deflate (from Nodeca project)") }, { "../utils/common": 41, "./adler32": 43, "./crc32": 45, "./messages": 51, "./trees": 52 } ], 47: [ function (e, t, r) { "use strict" t.exports = function () { ;(this.text = 0), (this.time = 0), (this.xflags = 0), (this.os = 0), (this.extra = null), (this.extra_len = 0), (this.name = ""), (this.comment = ""), (this.hcrc = 0), (this.done = !1) } }, {} ], 48: [ function (e, t, r) { "use strict" t.exports = function (e, t) { var r, n, i, o, a, s, l, c, u, f, p, d, h, m, g, y, v, b, w, x, A, _, T, E, S ;(r = e.state), (n = e.next_in), (E = e.input), (i = n + (e.avail_in - 5)), (o = e.next_out), (S = e.output), (a = o - (t - e.avail_out)), (s = o + (e.avail_out - 257)), (l = r.dmax), (c = r.wsize), (u = r.whave), (f = r.wnext), (p = r.window), (d = r.hold), (h = r.bits), (m = r.lencode), (g = r.distcode), (y = (1 << r.lenbits) - 1), (v = (1 << r.distbits) - 1) e: do { h < 15 && ((d += E[n++] << h), (h += 8), (d += E[n++] << h), (h += 8)), (b = m[d & y]) t: for (;;) { if (((d >>>= w = b >>> 24), (h -= w), 0 === (w = (b >>> 16) & 255))) S[o++] = 65535 & b else { if (!(16 & w)) { if (0 == (64 & w)) { b = m[(65535 & b) + (d & ((1 << w) - 1))] continue t } if (32 & w) { r.mode = 12 break e } ;(e.msg = "invalid literal/length code"), (r.mode = 30) break e } ;(x = 65535 & b), (w &= 15) && (h < w && ((d += E[n++] << h), (h += 8)), (x += d & ((1 << w) - 1)), (d >>>= w), (h -= w)), h < 15 && ((d += E[n++] << h), (h += 8), (d += E[n++] << h), (h += 8)), (b = g[d & v]) r: for (;;) { if (((d >>>= w = b >>> 24), (h -= w), !(16 & (w = (b >>> 16) & 255)))) { if (0 == (64 & w)) { b = g[(65535 & b) + (d & ((1 << w) - 1))] continue r } ;(e.msg = "invalid distance code"), (r.mode = 30) break e } if ( ((A = 65535 & b), h < (w &= 15) && ((d += E[n++] << h), (h += 8) < w && ((d += E[n++] << h), (h += 8))), l < (A += d & ((1 << w) - 1))) ) { ;(e.msg = "invalid distance too far back"), (r.mode = 30) break e } if (((d >>>= w), (h -= w), (w = o - a) < A)) { if (u < (w = A - w) && r.sane) { ;(e.msg = "invalid distance too far back"), (r.mode = 30) break e } if (((T = p), (_ = 0) === f)) { if (((_ += c - w), w < x)) { for (x -= w; (S[o++] = p[_++]), --w; ); ;(_ = o - A), (T = S) } } else if (f < w) { if (((_ += c + f - w), (w -= f) < x)) { for (x -= w; (S[o++] = p[_++]), --w; ); if (((_ = 0), f < x)) { for (x -= w = f; (S[o++] = p[_++]), --w; ); ;(_ = o - A), (T = S) } } } else if (((_ += f - w), w < x)) { for (x -= w; (S[o++] = p[_++]), --w; ); ;(_ = o - A), (T = S) } for (; 2 < x; ) (S[o++] = T[_++]), (S[o++] = T[_++]), (S[o++] = T[_++]), (x -= 3) x && ((S[o++] = T[_++]), 1 < x && (S[o++] = T[_++])) } else { for (_ = o - A; (S[o++] = S[_++]), (S[o++] = S[_++]), (S[o++] = S[_++]), 2 < (x -= 3); ); x && ((S[o++] = S[_++]), 1 < x && (S[o++] = S[_++])) } break } } break } } while (n < i && o < s) ;(n -= x = h >> 3), (d &= (1 << (h -= x << 3)) - 1), (e.next_in = n), (e.next_out = o), (e.avail_in = n < i ? i - n + 5 : 5 - (n - i)), (e.avail_out = o < s ? s - o + 257 : 257 - (o - s)), (r.hold = d), (r.bits = h) } }, {} ], 49: [ function (e, t, r) { "use strict" var n = e("../utils/common"), i = e("./adler32"), o = e("./crc32"), a = e("./inffast"), s = e("./inftrees"), l = 1, c = 2, u = 0, f = -2, p = 1, d = 852, h = 592 function m(e) { return ((e >>> 24) & 255) + ((e >>> 8) & 65280) + ((65280 & e) << 8) + ((255 & e) << 24) } function g() { ;(this.mode = 0), (this.last = !1), (this.wrap = 0), (this.havedict = !1), (this.flags = 0), (this.dmax = 0), (this.check = 0), (this.total = 0), (this.head = null), (this.wbits = 0), (this.wsize = 0), (this.whave = 0), (this.wnext = 0), (this.window = null), (this.hold = 0), (this.bits = 0), (this.length = 0), (this.offset = 0), (this.extra = 0), (this.lencode = null), (this.distcode = null), (this.lenbits = 0), (this.distbits = 0), (this.ncode = 0), (this.nlen = 0), (this.ndist = 0), (this.have = 0), (this.next = null), (this.lens = new n.Buf16(320)), (this.work = new n.Buf16(288)), (this.lendyn = null), (this.distdyn = null), (this.sane = 0), (this.back = 0), (this.was = 0) } function y(e) { var t return e && e.state ? ((t = e.state), (e.total_in = e.total_out = t.total = 0), (e.msg = ""), t.wrap && (e.adler = 1 & t.wrap), (t.mode = p), (t.last = 0), (t.havedict = 0), (t.dmax = 32768), (t.head = null), (t.hold = 0), (t.bits = 0), (t.lencode = t.lendyn = new n.Buf32(d)), (t.distcode = t.distdyn = new n.Buf32(h)), (t.sane = 1), (t.back = -1), u) : f } function v(e) { var t return e && e.state ? (((t = e.state).wsize = 0), (t.whave = 0), (t.wnext = 0), y(e)) : f } function b(e, t) { var r, n return e && e.state ? ((n = e.state), t < 0 ? ((r = 0), (t = -t)) : ((r = 1 + (t >> 4)), t < 48 && (t &= 15)), t && (t < 8 || 15 < t) ? f : (null !== n.window && n.wbits !== t && (n.window = null), (n.wrap = r), (n.wbits = t), v(e))) : f } function w(e, t) { var r, n return e ? ((n = new g()), ((e.state = n).window = null), (r = b(e, t)) !== u && (e.state = null), r) : f } var x, A, _ = !0 function T(e) { if (_) { var t for (x = new n.Buf32(512), A = new n.Buf32(32), t = 0; t < 144; ) e.lens[t++] = 8 for (; t < 256; ) e.lens[t++] = 9 for (; t < 280; ) e.lens[t++] = 7 for (; t < 288; ) e.lens[t++] = 8 for ( s(l, e.lens, 0, 288, x, 0, e.work, { bits: 9 }), t = 0; t < 32; ) e.lens[t++] = 5 s(c, e.lens, 0, 32, A, 0, e.work, { bits: 5 }), (_ = !1) } ;(e.lencode = x), (e.lenbits = 9), (e.distcode = A), (e.distbits = 5) } function E(e, t, r, i) { var o, a = e.state return ( null === a.window && ((a.wsize = 1 << a.wbits), (a.wnext = 0), (a.whave = 0), (a.window = new n.Buf8(a.wsize))), i >= a.wsize ? (n.arraySet(a.window, t, r - a.wsize, a.wsize, 0), (a.wnext = 0), (a.whave = a.wsize)) : (i < (o = a.wsize - a.wnext) && (o = i), n.arraySet(a.window, t, r - i, o, a.wnext), (i -= o) ? (n.arraySet(a.window, t, r - i, i, 0), (a.wnext = i), (a.whave = a.wsize)) : ((a.wnext += o), a.wnext === a.wsize && (a.wnext = 0), a.whave < a.wsize && (a.whave += o))), 0 ) } ;(r.inflateReset = v), (r.inflateReset2 = b), (r.inflateResetKeep = y), (r.inflateInit = function (e) { return w(e, 15) }), (r.inflateInit2 = w), (r.inflate = function (e, t) { var r, d, h, g, y, v, b, w, x, A, _, S, C, k, L, P, O, j, R, I, N, M, D, B, F = 0, U = new n.Buf8(4), z = [16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15] if (!e || !e.state || !e.output || (!e.input && 0 !== e.avail_in)) return f 12 === (r = e.state).mode && (r.mode = 13), (y = e.next_out), (h = e.output), (b = e.avail_out), (g = e.next_in), (d = e.input), (v = e.avail_in), (w = r.hold), (x = r.bits), (A = v), (_ = b), (M = u) e: for (;;) switch (r.mode) { case p: if (0 === r.wrap) { r.mode = 13 break } for (; x < 16; ) { if (0 === v) break e v--, (w += d[g++] << x), (x += 8) } if (2 & r.wrap && 35615 === w) { ;(U[(r.check = 0)] = 255 & w), (U[1] = (w >>> 8) & 255), (r.check = o(r.check, U, 2, 0)), (x = w = 0), (r.mode = 2) break } if (((r.flags = 0), r.head && (r.head.done = !1), !(1 & r.wrap) || (((255 & w) << 8) + (w >> 8)) % 31)) { ;(e.msg = "incorrect header check"), (r.mode = 30) break } if (8 != (15 & w)) { ;(e.msg = "unknown compression method"), (r.mode = 30) break } if (((x -= 4), (N = 8 + (15 & (w >>>= 4))), 0 === r.wbits)) r.wbits = N else if (N > r.wbits) { ;(e.msg = "invalid window size"), (r.mode = 30) break } ;(r.dmax = 1 << N), (e.adler = r.check = 1), (r.mode = 512 & w ? 10 : 12), (x = w = 0) break case 2: for (; x < 16; ) { if (0 === v) break e v--, (w += d[g++] << x), (x += 8) } if (((r.flags = w), 8 != (255 & r.flags))) { ;(e.msg = "unknown compression method"), (r.mode = 30) break } if (57344 & r.flags) { ;(e.msg = "unknown header flags set"), (r.mode = 30) break } r.head && (r.head.text = (w >> 8) & 1), 512 & r.flags && ((U[0] = 255 & w), (U[1] = (w >>> 8) & 255), (r.check = o(r.check, U, 2, 0))), (x = w = 0), (r.mode = 3) case 3: for (; x < 32; ) { if (0 === v) break e v--, (w += d[g++] << x), (x += 8) } r.head && (r.head.time = w), 512 & r.flags && ((U[0] = 255 & w), (U[1] = (w >>> 8) & 255), (U[2] = (w >>> 16) & 255), (U[3] = (w >>> 24) & 255), (r.check = o(r.check, U, 4, 0))), (x = w = 0), (r.mode = 4) case 4: for (; x < 16; ) { if (0 === v) break e v--, (w += d[g++] << x), (x += 8) } r.head && ((r.head.xflags = 255 & w), (r.head.os = w >> 8)), 512 & r.flags && ((U[0] = 255 & w), (U[1] = (w >>> 8) & 255), (r.check = o(r.check, U, 2, 0))), (x = w = 0), (r.mode = 5) case 5: if (1024 & r.flags) { for (; x < 16; ) { if (0 === v) break e v--, (w += d[g++] << x), (x += 8) } ;(r.length = w), r.head && (r.head.extra_len = w), 512 & r.flags && ((U[0] = 255 & w), (U[1] = (w >>> 8) & 255), (r.check = o(r.check, U, 2, 0))), (x = w = 0) } else r.head && (r.head.extra = null) r.mode = 6 case 6: if ( 1024 & r.flags && (v < (S = r.length) && (S = v), S && (r.head && ((N = r.head.extra_len - r.length), r.head.extra || (r.head.extra = new Array(r.head.extra_len)), n.arraySet(r.head.extra, d, g, S, N)), 512 & r.flags && (r.check = o(r.check, d, S, g)), (v -= S), (g += S), (r.length -= S)), r.length) ) break e ;(r.length = 0), (r.mode = 7) case 7: if (2048 & r.flags) { if (0 === v) break e for ( S = 0; (N = d[g + S++]), r.head && N && r.length < 65536 && (r.head.name += String.fromCharCode(N)), N && S < v; ); if ((512 & r.flags && (r.check = o(r.check, d, S, g)), (v -= S), (g += S), N)) break e } else r.head && (r.head.name = null) ;(r.length = 0), (r.mode = 8) case 8: if (4096 & r.flags) { if (0 === v) break e for ( S = 0; (N = d[g + S++]), r.head && N && r.length < 65536 && (r.head.comment += String.fromCharCode(N)), N && S < v; ); if ((512 & r.flags && (r.check = o(r.check, d, S, g)), (v -= S), (g += S), N)) break e } else r.head && (r.head.comment = null) r.mode = 9 case 9: if (512 & r.flags) { for (; x < 16; ) { if (0 === v) break e v--, (w += d[g++] << x), (x += 8) } if (w !== (65535 & r.check)) { ;(e.msg = "header crc mismatch"), (r.mode = 30) break } x = w = 0 } r.head && ((r.head.hcrc = (r.flags >> 9) & 1), (r.head.done = !0)), (e.adler = r.check = 0), (r.mode = 12) break case 10: for (; x < 32; ) { if (0 === v) break e v--, (w += d[g++] << x), (x += 8) } ;(e.adler = r.check = m(w)), (x = w = 0), (r.mode = 11) case 11: if (0 === r.havedict) return (e.next_out = y), (e.avail_out = b), (e.next_in = g), (e.avail_in = v), (r.hold = w), (r.bits = x), 2 ;(e.adler = r.check = 1), (r.mode = 12) case 12: if (5 === t || 6 === t) break e case 13: if (r.last) { ;(w >>>= 7 & x), (x -= 7 & x), (r.mode = 27) break } for (; x < 3; ) { if (0 === v) break e v--, (w += d[g++] << x), (x += 8) } switch (((r.last = 1 & w), (x -= 1), 3 & (w >>>= 1))) { case 0: r.mode = 14 break case 1: if ((T(r), (r.mode = 20), 6 !== t)) break ;(w >>>= 2), (x -= 2) break e case 2: r.mode = 17 break case 3: ;(e.msg = "invalid block type"), (r.mode = 30) } ;(w >>>= 2), (x -= 2) break case 14: for (w >>>= 7 & x, x -= 7 & x; x < 32; ) { if (0 === v) break e v--, (w += d[g++] << x), (x += 8) } if ((65535 & w) != ((w >>> 16) ^ 65535)) { ;(e.msg = "invalid stored block lengths"), (r.mode = 30) break } if (((r.length = 65535 & w), (x = w = 0), (r.mode = 15), 6 === t)) break e case 15: r.mode = 16 case 16: if ((S = r.length)) { if ((v < S && (S = v), b < S && (S = b), 0 === S)) break e n.arraySet(h, d, g, S, y), (v -= S), (g += S), (b -= S), (y += S), (r.length -= S) break } r.mode = 12 break case 17: for (; x < 14; ) { if (0 === v) break e v--, (w += d[g++] << x), (x += 8) } if ( ((r.nlen = 257 + (31 & w)), (w >>>= 5), (x -= 5), (r.ndist = 1 + (31 & w)), (w >>>= 5), (x -= 5), (r.ncode = 4 + (15 & w)), (w >>>= 4), (x -= 4), 286 < r.nlen || 30 < r.ndist) ) { ;(e.msg = "too many length or distance symbols"), (r.mode = 30) break } ;(r.have = 0), (r.mode = 18) case 18: for (; r.have < r.ncode; ) { for (; x < 3; ) { if (0 === v) break e v--, (w += d[g++] << x), (x += 8) } ;(r.lens[z[r.have++]] = 7 & w), (w >>>= 3), (x -= 3) } for (; r.have < 19; ) r.lens[z[r.have++]] = 0 if ( ((r.lencode = r.lendyn), (r.lenbits = 7), (D = { bits: r.lenbits }), (M = s(0, r.lens, 0, 19, r.lencode, 0, r.work, D)), (r.lenbits = D.bits), M) ) { ;(e.msg = "invalid code lengths set"), (r.mode = 30) break } ;(r.have = 0), (r.mode = 19) case 19: for (; r.have < r.nlen + r.ndist; ) { for ( ; (P = ((F = r.lencode[w & ((1 << r.lenbits) - 1)]) >>> 16) & 255), (O = 65535 & F), !((L = F >>> 24) <= x); ) { if (0 === v) break e v--, (w += d[g++] << x), (x += 8) } if (O < 16) (w >>>= L), (x -= L), (r.lens[r.have++] = O) else { if (16 === O) { for (B = L + 2; x < B; ) { if (0 === v) break e v--, (w += d[g++] << x), (x += 8) } if (((w >>>= L), (x -= L), 0 === r.have)) { ;(e.msg = "invalid bit length repeat"), (r.mode = 30) break } ;(N = r.lens[r.have - 1]), (S = 3 + (3 & w)), (w >>>= 2), (x -= 2) } else if (17 === O) { for (B = L + 3; x < B; ) { if (0 === v) break e v--, (w += d[g++] << x), (x += 8) } ;(x -= L), (N = 0), (S = 3 + (7 & (w >>>= L))), (w >>>= 3), (x -= 3) } else { for (B = L + 7; x < B; ) { if (0 === v) break e v--, (w += d[g++] << x), (x += 8) } ;(x -= L), (N = 0), (S = 11 + (127 & (w >>>= L))), (w >>>= 7), (x -= 7) } if (r.have + S > r.nlen + r.ndist) { ;(e.msg = "invalid bit length repeat"), (r.mode = 30) break } for (; S--; ) r.lens[r.have++] = N } } if (30 === r.mode) break if (0 === r.lens[256]) { ;(e.msg = "invalid code -- missing end-of-block"), (r.mode = 30) break } if ( ((r.lenbits = 9), (D = { bits: r.lenbits }), (M = s(l, r.lens, 0, r.nlen, r.lencode, 0, r.work, D)), (r.lenbits = D.bits), M) ) { ;(e.msg = "invalid literal/lengths set"), (r.mode = 30) break } if ( ((r.distbits = 6), (r.distcode = r.distdyn), (D = { bits: r.distbits }), (M = s(c, r.lens, r.nlen, r.ndist, r.distcode, 0, r.work, D)), (r.distbits = D.bits), M) ) { ;(e.msg = "invalid distances set"), (r.mode = 30) break } if (((r.mode = 20), 6 === t)) break e case 20: r.mode = 21 case 21: if (6 <= v && 258 <= b) { ;(e.next_out = y), (e.avail_out = b), (e.next_in = g), (e.avail_in = v), (r.hold = w), (r.bits = x), a(e, _), (y = e.next_out), (h = e.output), (b = e.avail_out), (g = e.next_in), (d = e.input), (v = e.avail_in), (w = r.hold), (x = r.bits), 12 === r.mode && (r.back = -1) break } for ( r.back = 0; (P = ((F = r.lencode[w & ((1 << r.lenbits) - 1)]) >>> 16) & 255), (O = 65535 & F), !((L = F >>> 24) <= x); ) { if (0 === v) break e v--, (w += d[g++] << x), (x += 8) } if (P && 0 == (240 & P)) { for ( j = L, R = P, I = O; (P = ((F = r.lencode[I + ((w & ((1 << (j + R)) - 1)) >> j)]) >>> 16) & 255), (O = 65535 & F), !(j + (L = F >>> 24) <= x); ) { if (0 === v) break e v--, (w += d[g++] << x), (x += 8) } ;(w >>>= j), (x -= j), (r.back += j) } if (((w >>>= L), (x -= L), (r.back += L), (r.length = O), 0 === P)) { r.mode = 26 break } if (32 & P) { ;(r.back = -1), (r.mode = 12) break } if (64 & P) { ;(e.msg = "invalid literal/length code"), (r.mode = 30) break } ;(r.extra = 15 & P), (r.mode = 22) case 22: if (r.extra) { for (B = r.extra; x < B; ) { if (0 === v) break e v--, (w += d[g++] << x), (x += 8) } ;(r.length += w & ((1 << r.extra) - 1)), (w >>>= r.extra), (x -= r.extra), (r.back += r.extra) } ;(r.was = r.length), (r.mode = 23) case 23: for ( ; (P = ((F = r.distcode[w & ((1 << r.distbits) - 1)]) >>> 16) & 255), (O = 65535 & F), !((L = F >>> 24) <= x); ) { if (0 === v) break e v--, (w += d[g++] << x), (x += 8) } if (0 == (240 & P)) { for ( j = L, R = P, I = O; (P = ((F = r.distcode[I + ((w & ((1 << (j + R)) - 1)) >> j)]) >>> 16) & 255), (O = 65535 & F), !(j + (L = F >>> 24) <= x); ) { if (0 === v) break e v--, (w += d[g++] << x), (x += 8) } ;(w >>>= j), (x -= j), (r.back += j) } if (((w >>>= L), (x -= L), (r.back += L), 64 & P)) { ;(e.msg = "invalid distance code"), (r.mode = 30) break } ;(r.offset = O), (r.extra = 15 & P), (r.mode = 24) case 24: if (r.extra) { for (B = r.extra; x < B; ) { if (0 === v) break e v--, (w += d[g++] << x), (x += 8) } ;(r.offset += w & ((1 << r.extra) - 1)), (w >>>= r.extra), (x -= r.extra), (r.back += r.extra) } if (r.offset > r.dmax) { ;(e.msg = "invalid distance too far back"), (r.mode = 30) break } r.mode = 25 case 25: if (0 === b) break e if (((S = _ - b), r.offset > S)) { if ((S = r.offset - S) > r.whave && r.sane) { ;(e.msg = "invalid distance too far back"), (r.mode = 30) break } ;(C = S > r.wnext ? ((S -= r.wnext), r.wsize - S) : r.wnext - S), S > r.length && (S = r.length), (k = r.window) } else (k = h), (C = y - r.offset), (S = r.length) for (b < S && (S = b), b -= S, r.length -= S; (h[y++] = k[C++]), --S; ); 0 === r.length && (r.mode = 21) break case 26: if (0 === b) break e ;(h[y++] = r.length), b--, (r.mode = 21) break case 27: if (r.wrap) { for (; x < 32; ) { if (0 === v) break e v--, (w |= d[g++] << x), (x += 8) } if ( ((_ -= b), (e.total_out += _), (r.total += _), _ && (e.adler = r.check = r.flags ? o(r.check, h, _, y - _) : i(r.check, h, _, y - _)), (_ = b), (r.flags ? w : m(w)) !== r.check) ) { ;(e.msg = "incorrect data check"), (r.mode = 30) break } x = w = 0 } r.mode = 28 case 28: if (r.wrap && r.flags) { for (; x < 32; ) { if (0 === v) break e v--, (w += d[g++] << x), (x += 8) } if (w !== (4294967295 & r.total)) { ;(e.msg = "incorrect length check"), (r.mode = 30) break } x = w = 0 } r.mode = 29 case 29: M = 1 break e case 30: M = -3 break e case 31: return -4 case 32: default: return f } return ( (e.next_out = y), (e.avail_out = b), (e.next_in = g), (e.avail_in = v), (r.hold = w), (r.bits = x), (r.wsize || (_ !== e.avail_out && r.mode < 30 && (r.mode < 27 || 4 !== t))) && E(e, e.output, e.next_out, _ - e.avail_out) ? ((r.mode = 31), -4) : ((A -= e.avail_in), (_ -= e.avail_out), (e.total_in += A), (e.total_out += _), (r.total += _), r.wrap && _ && (e.adler = r.check = r.flags ? o(r.check, h, _, e.next_out - _) : i(r.check, h, _, e.next_out - _)), (e.data_type = r.bits + (r.last ? 64 : 0) + (12 === r.mode ? 128 : 0) + (20 === r.mode || 15 === r.mode ? 256 : 0)), ((0 == A && 0 === _) || 4 === t) && M === u && (M = -5), M) ) }), (r.inflateEnd = function (e) { if (!e || !e.state) return f var t = e.state return t.window && (t.window = null), (e.state = null), u }), (r.inflateGetHeader = function (e, t) { var r return e && e.state ? (0 == (2 & (r = e.state).wrap) ? f : (((r.head = t).done = !1), u)) : f }), (r.inflateSetDictionary = function (e, t) { var r, n = t.length return e && e.state ? 0 !== (r = e.state).wrap && 11 !== r.mode ? f : 11 === r.mode && i(1, t, n, 0) !== r.check ? -3 : E(e, t, n, n) ? ((r.mode = 31), -4) : ((r.havedict = 1), u) : f }), (r.inflateInfo = "pako inflate (from Nodeca project)") }, { "../utils/common": 41, "./adler32": 43, "./crc32": 45, "./inffast": 48, "./inftrees": 50 } ], 50: [ function (e, t, r) { "use strict" var n = e("../utils/common"), i = [ 3, 4, 5, 6, 7, 8, 9, 10, 11, 13, 15, 17, 19, 23, 27, 31, 35, 43, 51, 59, 67, 83, 99, 115, 131, 163, 195, 227, 258, 0, 0 ], o = [ 16, 16, 16, 16, 16, 16, 16, 16, 17, 17, 17, 17, 18, 18, 18, 18, 19, 19, 19, 19, 20, 20, 20, 20, 21, 21, 21, 21, 16, 72, 78 ], a = [ 1, 2, 3, 4, 5, 7, 9, 13, 17, 25, 33, 49, 65, 97, 129, 193, 257, 385, 513, 769, 1025, 1537, 2049, 3073, 4097, 6145, 8193, 12289, 16385, 24577, 0, 0 ], s = [ 16, 16, 16, 16, 17, 17, 18, 18, 19, 19, 20, 20, 21, 21, 22, 22, 23, 23, 24, 24, 25, 25, 26, 26, 27, 27, 28, 28, 29, 29, 64, 64 ] t.exports = function (e, t, r, l, c, u, f, p) { var d, h, m, g, y, v, b, w, x, A = p.bits, _ = 0, T = 0, E = 0, S = 0, C = 0, k = 0, L = 0, P = 0, O = 0, j = 0, R = null, I = 0, N = new n.Buf16(16), M = new n.Buf16(16), D = null, B = 0 for (_ = 0; _ <= 15; _++) N[_] = 0 for (T = 0; T < l; T++) N[t[r + T]]++ for (C = A, S = 15; 1 <= S && 0 === N[S]; S--); if ((S < C && (C = S), 0 === S)) return (c[u++] = 20971520), (c[u++] = 20971520), (p.bits = 1), 0 for (E = 1; E < S && 0 === N[E]; E++); for (C < E && (C = E), _ = P = 1; _ <= 15; _++) if (((P <<= 1), (P -= N[_]) < 0)) return -1 if (0 < P && (0 === e || 1 !== S)) return -1 for (M[1] = 0, _ = 1; _ < 15; _++) M[_ + 1] = M[_] + N[_] for (T = 0; T < l; T++) 0 !== t[r + T] && (f[M[t[r + T]]++] = T) if ( ((v = 0 === e ? ((R = D = f), 19) : 1 === e ? ((R = i), (I -= 257), (D = o), (B -= 257), 256) : ((R = a), (D = s), -1)), (_ = E), (y = u), (L = T = j = 0), (m = -1), (g = (O = 1 << (k = C)) - 1), (1 === e && 852 < O) || (2 === e && 592 < O)) ) return 1 for (;;) { for ( b = _ - L, x = f[T] < v ? ((w = 0), f[T]) : f[T] > v ? ((w = D[B + f[T]]), R[I + f[T]]) : ((w = 96), 0), d = 1 << (_ - L), E = h = 1 << k; (c[y + (j >> L) + (h -= d)] = (b << 24) | (w << 16) | x | 0), 0 !== h; ); for (d = 1 << (_ - 1); j & d; ) d >>= 1 if ((0 !== d ? ((j &= d - 1), (j += d)) : (j = 0), T++, 0 == --N[_])) { if (_ === S) break _ = t[r + f[T]] } if (C < _ && (j & g) !== m) { for (0 === L && (L = C), y += E, P = 1 << (k = _ - L); k + L < S && !((P -= N[k + L]) <= 0); ) k++, (P <<= 1) if (((O += 1 << k), (1 === e && 852 < O) || (2 === e && 592 < O))) return 1 c[(m = j & g)] = (C << 24) | (k << 16) | (y - u) | 0 } } return 0 !== j && (c[y + j] = ((_ - L) << 24) | (64 << 16) | 0), (p.bits = C), 0 } }, { "../utils/common": 41 } ], 51: [ function (e, t, r) { "use strict" t.exports = { 2: "need dictionary", 1: "stream end", 0: "", "-1": "file error", "-2": "stream error", "-3": "data error", "-4": "insufficient memory", "-5": "buffer error", "-6": "incompatible version" } }, {} ], 52: [ function (e, t, r) { "use strict" var n = e("../utils/common"), i = 0, o = 1 function a(e) { for (var t = e.length; 0 <= --t; ) e[t] = 0 } var s = 0, l = 29, c = 256, u = c + 1 + l, f = 30, p = 19, d = 2 * u + 1, h = 15, m = 16, g = 7, y = 256, v = 16, b = 17, w = 18, x = [0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5, 5, 0], A = [0, 0, 0, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9, 10, 10, 11, 11, 12, 12, 13, 13], _ = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 3, 7], T = [16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15], E = new Array(2 * (u + 2)) a(E) var S = new Array(2 * f) a(S) var C = new Array(512) a(C) var k = new Array(256) a(k) var L = new Array(l) a(L) var P, O, j, R = new Array(f) function I(e, t, r, n, i) { ;(this.static_tree = e), (this.extra_bits = t), (this.extra_base = r), (this.elems = n), (this.max_length = i), (this.has_stree = e && e.length) } function N(e, t) { ;(this.dyn_tree = e), (this.max_code = 0), (this.stat_desc = t) } function M(e) { return e < 256 ? C[e] : C[256 + (e >>> 7)] } function D(e, t) { ;(e.pending_buf[e.pending++] = 255 & t), (e.pending_buf[e.pending++] = (t >>> 8) & 255) } function B(e, t, r) { e.bi_valid > m - r ? ((e.bi_buf |= (t << e.bi_valid) & 65535), D(e, e.bi_buf), (e.bi_buf = t >> (m - e.bi_valid)), (e.bi_valid += r - m)) : ((e.bi_buf |= (t << e.bi_valid) & 65535), (e.bi_valid += r)) } function F(e, t, r) { B(e, r[2 * t], r[2 * t + 1]) } function U(e, t) { for (var r = 0; (r |= 1 & e), (e >>>= 1), (r <<= 1), 0 < --t; ); return r >>> 1 } function z(e, t, r) { var n, i, o = new Array(h + 1), a = 0 for (n = 1; n <= h; n++) o[n] = a = (a + r[n - 1]) << 1 for (i = 0; i <= t; i++) { var s = e[2 * i + 1] 0 !== s && (e[2 * i] = U(o[s]++, s)) } } function q(e) { var t for (t = 0; t < u; t++) e.dyn_ltree[2 * t] = 0 for (t = 0; t < f; t++) e.dyn_dtree[2 * t] = 0 for (t = 0; t < p; t++) e.bl_tree[2 * t] = 0 ;(e.dyn_ltree[2 * y] = 1), (e.opt_len = e.static_len = 0), (e.last_lit = e.matches = 0) } function G(e) { 8 < e.bi_valid ? D(e, e.bi_buf) : 0 < e.bi_valid && (e.pending_buf[e.pending++] = e.bi_buf), (e.bi_buf = 0), (e.bi_valid = 0) } function W(e, t, r, n) { var i = 2 * t, o = 2 * r return e[i] < e[o] || (e[i] === e[o] && n[t] <= n[r]) } function V(e, t, r) { for ( var n = e.heap[r], i = r << 1; i <= e.heap_len && (i < e.heap_len && W(t, e.heap[i + 1], e.heap[i], e.depth) && i++, !W(t, n, e.heap[i], e.depth)); ) (e.heap[r] = e.heap[i]), (r = i), (i <<= 1) e.heap[r] = n } function H(e, t, r) { var n, i, o, a, s = 0 if (0 !== e.last_lit) for ( ; (n = (e.pending_buf[e.d_buf + 2 * s] << 8) | e.pending_buf[e.d_buf + 2 * s + 1]), (i = e.pending_buf[e.l_buf + s]), s++, 0 === n ? F(e, i, t) : (F(e, (o = k[i]) + c + 1, t), 0 !== (a = x[o]) && B(e, (i -= L[o]), a), F(e, (o = M(--n)), r), 0 !== (a = A[o]) && B(e, (n -= R[o]), a)), s < e.last_lit; ); F(e, y, t) } function X(e, t) { var r, n, i, o = t.dyn_tree, a = t.stat_desc.static_tree, s = t.stat_desc.has_stree, l = t.stat_desc.elems, c = -1 for (e.heap_len = 0, e.heap_max = d, r = 0; r < l; r++) 0 !== o[2 * r] ? ((e.heap[++e.heap_len] = c = r), (e.depth[r] = 0)) : (o[2 * r + 1] = 0) for (; e.heap_len < 2; ) (o[2 * (i = e.heap[++e.heap_len] = c < 2 ? ++c : 0)] = 1), (e.depth[i] = 0), e.opt_len--, s && (e.static_len -= a[2 * i + 1]) for (t.max_code = c, r = e.heap_len >> 1; 1 <= r; r--) V(e, o, r) for ( i = l; (r = e.heap[1]), (e.heap[1] = e.heap[e.heap_len--]), V(e, o, 1), (n = e.heap[1]), (e.heap[--e.heap_max] = r), (e.heap[--e.heap_max] = n), (o[2 * i] = o[2 * r] + o[2 * n]), (e.depth[i] = (e.depth[r] >= e.depth[n] ? e.depth[r] : e.depth[n]) + 1), (o[2 * r + 1] = o[2 * n + 1] = i), (e.heap[1] = i++), V(e, o, 1), 2 <= e.heap_len; ); ;(e.heap[--e.heap_max] = e.heap[1]), (function (e, t) { var r, n, i, o, a, s, l = t.dyn_tree, c = t.max_code, u = t.stat_desc.static_tree, f = t.stat_desc.has_stree, p = t.stat_desc.extra_bits, m = t.stat_desc.extra_base, g = t.stat_desc.max_length, y = 0 for (o = 0; o <= h; o++) e.bl_count[o] = 0 for (l[2 * e.heap[e.heap_max] + 1] = 0, r = e.heap_max + 1; r < d; r++) g < (o = l[2 * l[2 * (n = e.heap[r]) + 1] + 1] + 1) && ((o = g), y++), (l[2 * n + 1] = o), c < n || (e.bl_count[o]++, (a = 0), m <= n && (a = p[n - m]), (s = l[2 * n]), (e.opt_len += s * (o + a)), f && (e.static_len += s * (u[2 * n + 1] + a))) if (0 !== y) { do { for (o = g - 1; 0 === e.bl_count[o]; ) o-- e.bl_count[o]--, (e.bl_count[o + 1] += 2), e.bl_count[g]--, (y -= 2) } while (0 < y) for (o = g; 0 !== o; o--) for (n = e.bl_count[o]; 0 !== n; ) c < (i = e.heap[--r]) || (l[2 * i + 1] !== o && ((e.opt_len += (o - l[2 * i + 1]) * l[2 * i]), (l[2 * i + 1] = o)), n--) } })(e, t), z(o, c, e.bl_count) } function Y(e, t, r) { var n, i, o = -1, a = t[1], s = 0, l = 7, c = 4 for (0 === a && ((l = 138), (c = 3)), t[2 * (r + 1) + 1] = 65535, n = 0; n <= r; n++) (i = a), (a = t[2 * (n + 1) + 1]), (++s < l && i === a) || (s < c ? (e.bl_tree[2 * i] += s) : 0 !== i ? (i !== o && e.bl_tree[2 * i]++, e.bl_tree[2 * v]++) : s <= 10 ? e.bl_tree[2 * b]++ : e.bl_tree[2 * w]++, (o = i), (c = (s = 0) === a ? ((l = 138), 3) : i === a ? ((l = 6), 3) : ((l = 7), 4))) } function K(e, t, r) { var n, i, o = -1, a = t[1], s = 0, l = 7, c = 4 for (0 === a && ((l = 138), (c = 3)), n = 0; n <= r; n++) if (((i = a), (a = t[2 * (n + 1) + 1]), !(++s < l && i === a))) { if (s < c) for (; F(e, i, e.bl_tree), 0 != --s; ); else 0 !== i ? (i !== o && (F(e, i, e.bl_tree), s--), F(e, v, e.bl_tree), B(e, s - 3, 2)) : s <= 10 ? (F(e, b, e.bl_tree), B(e, s - 3, 3)) : (F(e, w, e.bl_tree), B(e, s - 11, 7)) ;(o = i), (c = (s = 0) === a ? ((l = 138), 3) : i === a ? ((l = 6), 3) : ((l = 7), 4)) } } a(R) var Z = !1 function Q(e, t, r, i) { B(e, (s << 1) + (i ? 1 : 0), 3), (function (e, t, r, i) { G(e), i && (D(e, r), D(e, ~r)), n.arraySet(e.pending_buf, e.window, t, r, e.pending), (e.pending += r) })(e, t, r, !0) } ;(r._tr_init = function (e) { Z || ((function () { var e, t, r, n, i, o = new Array(h + 1) for (n = r = 0; n < l - 1; n++) for (L[n] = r, e = 0; e < 1 << x[n]; e++) k[r++] = n for (k[r - 1] = n, n = i = 0; n < 16; n++) for (R[n] = i, e = 0; e < 1 << A[n]; e++) C[i++] = n for (i >>= 7; n < f; n++) for (R[n] = i << 7, e = 0; e < 1 << (A[n] - 7); e++) C[256 + i++] = n for (t = 0; t <= h; t++) o[t] = 0 for (e = 0; e <= 143; ) (E[2 * e + 1] = 8), e++, o[8]++ for (; e <= 255; ) (E[2 * e + 1] = 9), e++, o[9]++ for (; e <= 279; ) (E[2 * e + 1] = 7), e++, o[7]++ for (; e <= 287; ) (E[2 * e + 1] = 8), e++, o[8]++ for (z(E, u + 1, o), e = 0; e < f; e++) (S[2 * e + 1] = 5), (S[2 * e] = U(e, 5)) ;(P = new I(E, x, c + 1, u, h)), (O = new I(S, A, 0, f, h)), (j = new I(new Array(0), _, 0, p, g)) })(), (Z = !0)), (e.l_desc = new N(e.dyn_ltree, P)), (e.d_desc = new N(e.dyn_dtree, O)), (e.bl_desc = new N(e.bl_tree, j)), (e.bi_buf = 0), (e.bi_valid = 0), q(e) }), (r._tr_stored_block = Q), (r._tr_flush_block = function (e, t, r, n) { var a, s, l = 0 0 < e.level ? (2 === e.strm.data_type && (e.strm.data_type = (function (e) { var t, r = 4093624447 for (t = 0; t <= 31; t++, r >>>= 1) if (1 & r && 0 !== e.dyn_ltree[2 * t]) return i if (0 !== e.dyn_ltree[18] || 0 !== e.dyn_ltree[20] || 0 !== e.dyn_ltree[26]) return o for (t = 32; t < c; t++) if (0 !== e.dyn_ltree[2 * t]) return o return i })(e)), X(e, e.l_desc), X(e, e.d_desc), (l = (function (e) { var t for ( Y(e, e.dyn_ltree, e.l_desc.max_code), Y(e, e.dyn_dtree, e.d_desc.max_code), X(e, e.bl_desc), t = p - 1; 3 <= t && 0 === e.bl_tree[2 * T[t] + 1]; t-- ); return (e.opt_len += 3 * (t + 1) + 5 + 5 + 4), t })(e)), (a = (e.opt_len + 3 + 7) >>> 3), (s = (e.static_len + 3 + 7) >>> 3) <= a && (a = s)) : (a = s = r + 5), r + 4 <= a && -1 !== t ? Q(e, t, r, n) : 4 === e.strategy || s === a ? (B(e, 2 + (n ? 1 : 0), 3), H(e, E, S)) : (B(e, 4 + (n ? 1 : 0), 3), (function (e, t, r, n) { var i for (B(e, t - 257, 5), B(e, r - 1, 5), B(e, n - 4, 4), i = 0; i < n; i++) B(e, e.bl_tree[2 * T[i] + 1], 3) K(e, e.dyn_ltree, t - 1), K(e, e.dyn_dtree, r - 1) })(e, e.l_desc.max_code + 1, e.d_desc.max_code + 1, l + 1), H(e, e.dyn_ltree, e.dyn_dtree)), q(e), n && G(e) }), (r._tr_tally = function (e, t, r) { return ( (e.pending_buf[e.d_buf + 2 * e.last_lit] = (t >>> 8) & 255), (e.pending_buf[e.d_buf + 2 * e.last_lit + 1] = 255 & t), (e.pending_buf[e.l_buf + e.last_lit] = 255 & r), e.last_lit++, 0 === t ? e.dyn_ltree[2 * r]++ : (e.matches++, t--, e.dyn_ltree[2 * (k[r] + c + 1)]++, e.dyn_dtree[2 * M(t)]++), e.last_lit === e.lit_bufsize - 1 ) }), (r._tr_align = function (e) { B(e, 2, 3), F(e, y, E), (function (e) { 16 === e.bi_valid ? (D(e, e.bi_buf), (e.bi_buf = 0), (e.bi_valid = 0)) : 8 <= e.bi_valid && ((e.pending_buf[e.pending++] = 255 & e.bi_buf), (e.bi_buf >>= 8), (e.bi_valid -= 8)) })(e) }) }, { "../utils/common": 41 } ], 53: [ function (e, t, r) { "use strict" t.exports = function () { ;(this.input = null), (this.next_in = 0), (this.avail_in = 0), (this.total_in = 0), (this.output = null), (this.next_out = 0), (this.avail_out = 0), (this.total_out = 0), (this.msg = ""), (this.state = null), (this.data_type = 2), (this.adler = 0) } }, {} ], 54: [ function (e, t, i) { ;(function (e) { !(function (e, t) { "use strict" if (!e.setImmediate) { var r, i, o, a, s = 1, l = {}, c = !1, u = e.document, f = Object.getPrototypeOf && Object.getPrototypeOf(e) ;(f = f && f.setTimeout ? f : e), (r = "[object process]" === {}.toString.call(e.process) ? function (e) { n.nextTick(function () { d(e) }) } : (function () { if (e.postMessage && !e.importScripts) { var t = !0, r = e.onmessage return ( (e.onmessage = function () { t = !1 }), e.postMessage("", "*"), (e.onmessage = r), t ) } })() ? ((a = "setImmediate$" + Math.random() + "$"), e.addEventListener ? e.addEventListener("message", h, !1) : e.attachEvent("onmessage", h), function (t) { e.postMessage(a + t, "*") }) : e.MessageChannel ? (((o = new MessageChannel()).port1.onmessage = function (e) { d(e.data) }), function (e) { o.port2.postMessage(e) }) : u && "onreadystatechange" in u.createElement("script") ? ((i = u.documentElement), function (e) { var t = u.createElement("script") ;(t.onreadystatechange = function () { d(e), (t.onreadystatechange = null), i.removeChild(t), (t = null) }), i.appendChild(t) }) : function (e) { setTimeout(d, 0, e) }), (f.setImmediate = function (e) { "function" != typeof e && (e = new Function("" + e)) for (var t = new Array(arguments.length - 1), n = 0; n < t.length; n++) t[n] = arguments[n + 1] var i = { callback: e, args: t } return (l[s] = i), r(s), s++ }), (f.clearImmediate = p) } function p(e) { delete l[e] } function d(e) { if (c) setTimeout(d, 0, e) else { var r = l[e] if (r) { c = !0 try { !(function (e) { var r = e.callback, n = e.args switch (n.length) { case 0: r() break case 1: r(n[0]) break case 2: r(n[0], n[1]) break case 3: r(n[0], n[1], n[2]) break default: r.apply(t, n) } })(r) } finally { p(e), (c = !1) } } } } function h(t) { t.source === e && "string" == typeof t.data && 0 === t.data.indexOf(a) && d(+t.data.slice(a.length)) } })("undefined" == typeof self ? (void 0 === e ? this : e) : self) }).call(this, "undefined" != typeof r ? r : "undefined" != typeof self ? self : "undefined" != typeof window ? window : {}) }, {} ] }, {}, [10] )(10) }) }).call(this, r("b639").Buffer, r("c8ba"), r("4362")) }, c51a: function (e, t, r) { var n = r("844f"), i = r("078a"), o = r("cef9"), a = r("493b") e.exports = { xml2js: n, xml2json: i, js2xml: o, json2xml: a } }, c6b6: function (e, t) { var r = {}.toString e.exports = function (e) { return r.call(e).slice(8, -1) } }, c6cd: function (e, t, r) { var n = r("da84"), i = r("ce4e"), o = "__core-js_shared__", a = n[o] || i(o, {}) e.exports = a }, c8ba: function (e, t) { var r r = (function () { return this })() try { r = r || new Function("return this")() } catch (n) { "object" === typeof window && (r = window) } e.exports = r }, c8d2: function (e, t, r) { var n = r("d039"), i = r("5899"), o = " " e.exports = function (e) { return n(function () { return !!i[e]() || o[e]() != o || i[e].name !== e }) } }, ca84: function (e, t, r) { var n = r("5135"), i = r("fc6a"), o = r("4d64").indexOf, a = r("d012") e.exports = function (e, t) { var r, s = i(e), l = 0, c = [] for (r in s) !n(a, r) && n(s, r) && c.push(r) while (t.length > l) n(s, (r = t[l++])) && (~o(c, r) || c.push(r)) return c } }, caad: function (e, t, r) { "use strict" var n = r("23e7"), i = r("4d64").includes, o = r("44d2") n( { target: "Array", proto: !0 }, { includes: function (e) { return i(this, e, arguments.length > 1 ? arguments[1] : void 0) } } ), o("includes") }, cc12: function (e, t, r) { var n = r("da84"), i = r("861d"), o = n.document, a = i(o) && i(o.createElement) e.exports = function (e) { return a ? o.createElement(e) : {} } }, ce4e: function (e, t, r) { var n = r("da84") e.exports = function (e, t) { try { Object.defineProperty(n, e, { value: t, configurable: !0, writable: !0 }) } catch (r) { n[e] = t } return t } }, cef9: function (e, t, r) { var n, i, o = r("96c1"), a = r("9b12").isArray function s(e) { var t = o.copyOptions(e) return ( o.ensureFlagExists("ignoreDeclaration", t), o.ensureFlagExists("ignoreInstruction", t), o.ensureFlagExists("ignoreAttributes", t), o.ensureFlagExists("ignoreText", t), o.ensureFlagExists("ignoreComment", t), o.ensureFlagExists("ignoreCdata", t), o.ensureFlagExists("ignoreDoctype", t), o.ensureFlagExists("compact", t), o.ensureFlagExists("indentText", t), o.ensureFlagExists("indentCdata", t), o.ensureFlagExists("indentAttributes", t), o.ensureFlagExists("indentInstruction", t), o.ensureFlagExists("fullTagEmptyElement", t), o.ensureFlagExists("noQuotesForNativeAttributes", t), o.ensureSpacesExists(t), "number" === typeof t.spaces && (t.spaces = Array(t.spaces + 1).join(" ")), o.ensureKeyExists("declaration", t), o.ensureKeyExists("instruction", t), o.ensureKeyExists("attributes", t), o.ensureKeyExists("text", t), o.ensureKeyExists("comment", t), o.ensureKeyExists("cdata", t), o.ensureKeyExists("doctype", t), o.ensureKeyExists("type", t), o.ensureKeyExists("name", t), o.ensureKeyExists("elements", t), o.checkFnExists("doctype", t), o.checkFnExists("instruction", t), o.checkFnExists("cdata", t), o.checkFnExists("comment", t), o.checkFnExists("text", t), o.checkFnExists("instructionName", t), o.checkFnExists("elementName", t), o.checkFnExists("attributeName", t), o.checkFnExists("attributeValue", t), o.checkFnExists("attributes", t), o.checkFnExists("fullTagEmptyElement", t), t ) } function l(e, t, r) { return (!r && e.spaces ? "\n" : "") + Array(t + 1).join(e.spaces) } function c(e, t, r) { if (t.ignoreAttributes) return "" "attributesFn" in t && (e = t.attributesFn(e, i, n)) var o, a, s, c, u = [] for (o in e) e.hasOwnProperty(o) && null !== e[o] && void 0 !== e[o] && ((c = t.noQuotesForNativeAttributes && "string" !== typeof e[o] ? "" : '"'), (a = "" + e[o]), (a = a.replace(/"/g, """)), (s = "attributeNameFn" in t ? t.attributeNameFn(o, a, i, n) : o), u.push(t.spaces && t.indentAttributes ? l(t, r + 1, !1) : " "), u.push(s + "=" + c + ("attributeValueFn" in t ? t.attributeValueFn(a, o, i, n) : a) + c)) return e && Object.keys(e).length && t.spaces && t.indentAttributes && u.push(l(t, r, !1)), u.join("") } function u(e, t, r) { return (n = e), (i = "xml"), t.ignoreDeclaration ? "" : "" } function f(e, t, r) { if (t.ignoreInstruction) return "" var o for (o in e) if (e.hasOwnProperty(o)) break var a = "instructionNameFn" in t ? t.instructionNameFn(o, e[o], i, n) : o if ("object" === typeof e[o]) return (n = e), (i = a), "" + a + c(e[o][t.attributesKey], t, r) + "?>" var s = e[o] ? e[o] : "" return "instructionFn" in t && (s = t.instructionFn(s, o, i, n)), "" + a + (s ? " " + s : "") + "?>" } function p(e, t) { return t.ignoreComment ? "" : "\x3c!--" + ("commentFn" in t ? t.commentFn(e, i, n) : e) + "--\x3e" } function d(e, t) { return t.ignoreCdata ? "" : "", "]]]]>")) + "]]>" } function h(e, t) { return t.ignoreDoctype ? "" : "" } function m(e, t) { return t.ignoreText ? "" : ((e = "" + e), (e = e.replace(/&/g, "&")), (e = e.replace(/&/g, "&").replace(//g, ">")), "textFn" in t ? t.textFn(e, i, n) : e) } function g(e, t) { var r if (e.elements && e.elements.length) for (r = 0; r < e.elements.length; ++r) switch (e.elements[r][t.typeKey]) { case "text": if (t.indentText) return !0 break case "cdata": if (t.indentCdata) return !0 break case "instruction": if (t.indentInstruction) return !0 break case "doctype": case "comment": case "element": return !0 default: return !0 } return !1 } function y(e, t, r) { ;(n = e), (i = e.name) var o = [], a = "elementNameFn" in t ? t.elementNameFn(e.name, e) : e.name o.push("<" + a), e[t.attributesKey] && o.push(c(e[t.attributesKey], t, r)) var s = (e[t.elementsKey] && e[t.elementsKey].length) || (e[t.attributesKey] && "preserve" === e[t.attributesKey]["xml:space"]) return ( s || (s = "fullTagEmptyElementFn" in t ? t.fullTagEmptyElementFn(e.name, e) : t.fullTagEmptyElement), s ? (o.push(">"), e[t.elementsKey] && e[t.elementsKey].length && (o.push(v(e[t.elementsKey], t, r + 1)), (n = e), (i = e.name)), o.push(t.spaces && g(e, t) ? "\n" + Array(r + 1).join(t.spaces) : ""), o.push("" + a + ">")) : o.push("/>"), o.join("") ) } function v(e, t, r, n) { return e.reduce(function (e, i) { var o = l(t, r, n && !e) switch (i.type) { case "element": return e + o + y(i, t, r) case "comment": return e + o + p(i[t.commentKey], t) case "doctype": return e + o + h(i[t.doctypeKey], t) case "cdata": return e + (t.indentCdata ? o : "") + d(i[t.cdataKey], t) case "text": return e + (t.indentText ? o : "") + m(i[t.textKey], t) case "instruction": var a = {} return (a[i[t.nameKey]] = i[t.attributesKey] ? i : i[t.instructionKey]), e + (t.indentInstruction ? o : "") + f(a, t, r) } }, "") } function b(e, t, r) { var n for (n in e) if (e.hasOwnProperty(n)) switch (n) { case t.parentKey: case t.attributesKey: break case t.textKey: if (t.indentText || r) return !0 break case t.cdataKey: if (t.indentCdata || r) return !0 break case t.instructionKey: if (t.indentInstruction || r) return !0 break case t.doctypeKey: case t.commentKey: return !0 default: return !0 } return !1 } function w(e, t, r, o, a) { ;(n = e), (i = t) var s = "elementNameFn" in r ? r.elementNameFn(t, e) : t if ("undefined" === typeof e || null === e || "" === e) return ("fullTagEmptyElementFn" in r && r.fullTagEmptyElementFn(t, e)) || r.fullTagEmptyElement ? "<" + s + ">" + s + ">" : "<" + s + "/>" var u = [] if (t) { if ((u.push("<" + s), "object" !== typeof e)) return u.push(">" + m(e, r) + "" + s + ">"), u.join("") e[r.attributesKey] && u.push(c(e[r.attributesKey], r, o)) var f = b(e, r, !0) || (e[r.attributesKey] && "preserve" === e[r.attributesKey]["xml:space"]) if ((f || (f = "fullTagEmptyElementFn" in r ? r.fullTagEmptyElementFn(t, e) : r.fullTagEmptyElement), !f)) return u.push("/>"), u.join("") u.push(">") } return u.push(x(e, r, o + 1, !1)), (n = e), (i = t), t && u.push((a ? l(r, o, !1) : "") + "" + s + ">"), u.join("") } function x(e, t, r, n) { var i, o, s, c = [] for (o in e) if (e.hasOwnProperty(o)) for (s = a(e[o]) ? e[o] : [e[o]], i = 0; i < s.length; ++i) { switch (o) { case t.declarationKey: c.push(u(s[i], t, r)) break case t.instructionKey: c.push((t.indentInstruction ? l(t, r, n) : "") + f(s[i], t, r)) break case t.attributesKey: case t.parentKey: break case t.textKey: c.push((t.indentText ? l(t, r, n) : "") + m(s[i], t)) break case t.cdataKey: c.push((t.indentCdata ? l(t, r, n) : "") + d(s[i], t)) break case t.doctypeKey: c.push(l(t, r, n) + h(s[i], t)) break case t.commentKey: c.push(l(t, r, n) + p(s[i], t)) break default: c.push(l(t, r, n) + w(s[i], o, t, r, b(s[i], t))) } n = n && !c.length } return c.join("") } e.exports = function (e, t) { t = s(t) var r = [] return ( (n = e), (i = "_root_"), t.compact ? r.push(x(e, t, 0, !0)) : (e[t.declarationKey] && r.push(u(e[t.declarationKey], t, 0)), e[t.elementsKey] && e[t.elementsKey].length && r.push(v(e[t.elementsKey], t, 0, !r.length))), r.join("") ) } }, d012: function (e, t) { e.exports = {} }, d039: function (e, t) { e.exports = function (e) { try { return !!e() } catch (t) { return !0 } } }, d066: function (e, t, r) { var n = r("da84"), i = function (e) { return "function" == typeof e ? e : void 0 } e.exports = function (e, t) { return arguments.length < 2 ? i(n[e]) : n[e] && n[e][t] } }, d17b: function (e, t, r) { e.exports = r("e372").Transform }, d1e7: function (e, t, r) { "use strict" var n = {}.propertyIsEnumerable, i = Object.getOwnPropertyDescriptor, o = i && !n.call( { 1: 2 }, 1 ) t.f = o ? function (e) { var t = i(this, e) return !!t && t.enumerable } : n }, d28b: function (e, t, r) { var n = r("746f") n("iterator") }, d2bb: function (e, t, r) { var n = r("825a"), i = r("3bbe") e.exports = Object.setPrototypeOf || ("__proto__" in {} ? (function () { var e, t = !1, r = {} try { ;(e = Object.getOwnPropertyDescriptor(Object.prototype, "__proto__").set), e.call(r, []), (t = r instanceof Array) } catch (o) {} return function (r, o) { return n(r), i(o), t ? e.call(r, o) : (r.__proto__ = o), r } })() : void 0) }, d3b7: function (e, t, r) { var n = r("00ee"), i = r("6eeb"), o = r("b041") n || i(Object.prototype, "toString", o, { unsafe: !0 }) }, d44e: function (e, t, r) { var n = r("9bf2").f, i = r("5135"), o = r("b622"), a = o("toStringTag") e.exports = function (e, t, r) { e && !i((e = r ? e : e.prototype), a) && n(e, a, { configurable: !0, value: t }) } }, d485: function (e, t, r) { e.exports = o var n = r("faa1").EventEmitter, i = r("3fb5") function o() { n.call(this) } i(o, n), (o.Readable = r("e372")), (o.Writable = r("2c63")), (o.Duplex = r("0960")), (o.Transform = r("d17b")), (o.PassThrough = r("c2ae")), (o.Stream = o), (o.prototype.pipe = function (e, t) { var r = this function i(t) { e.writable && !1 === e.write(t) && r.pause && r.pause() } function o() { r.readable && r.resume && r.resume() } r.on("data", i), e.on("drain", o), e._isStdio || (t && !1 === t.end) || (r.on("end", s), r.on("close", l)) var a = !1 function s() { a || ((a = !0), e.end()) } function l() { a || ((a = !0), "function" === typeof e.destroy && e.destroy()) } function c(e) { if ((u(), 0 === n.listenerCount(this, "error"))) throw e } function u() { r.removeListener("data", i), e.removeListener("drain", o), r.removeListener("end", s), r.removeListener("close", l), r.removeListener("error", c), e.removeListener("error", c), r.removeListener("end", u), r.removeListener("close", u), e.removeListener("close", u) } return r.on("error", c), e.on("error", c), r.on("end", u), r.on("close", u), e.on("close", u), e.emit("pipe", r), e }) }, d784: function (e, t, r) { "use strict" r("ac1f") var n = r("6eeb"), i = r("9263"), o = r("d039"), a = r("b622"), s = r("9112"), l = a("species"), c = RegExp.prototype e.exports = function (e, t, r, u) { var f = a(e), p = !o(function () { var t = {} return ( (t[f] = function () { return 7 }), 7 != ""[e](t) ) }), d = p && !o(function () { var t = !1, r = /a/ return ( "split" === e && ((r = {}), (r.constructor = {}), (r.constructor[l] = function () { return r }), (r.flags = ""), (r[f] = /./[f])), (r.exec = function () { return (t = !0), null }), r[f](""), !t ) }) if (!p || !d || r) { var h = /./[f], m = t(f, ""[e], function (e, t, r, n, o) { var a = t.exec return a === i || a === c.exec ? p && !o ? { done: !0, value: h.call(t, r, n) } : { done: !0, value: e.call(r, t, n) } : { done: !1 } }) n(String.prototype, e, m[0]), n(c, f, m[1]) } u && s(c[f], "sham", !0) } }, d9b5: function (e, t, r) { var n = r("d066"), i = r("fdbf") e.exports = i ? function (e) { return "symbol" == typeof e } : function (e) { var t = n("Symbol") return "function" == typeof t && Object(e) instanceof t } }, da84: function (e, t, r) { ;(function (t) { var r = function (e) { return e && e.Math == Math && e } e.exports = r("object" == typeof globalThis && globalThis) || r("object" == typeof window && window) || r("object" == typeof self && self) || r("object" == typeof t && t) || (function () { return this })() || Function("return this")() }).call(this, r("c8ba")) }, dbb4: function (e, t, r) { var n = r("23e7"), i = r("83ab"), o = r("56ef"), a = r("fc6a"), s = r("06cf"), l = r("8418") n( { target: "Object", stat: !0, sham: !i }, { getOwnPropertyDescriptors: function (e) { var t, r, n = a(e), i = s.f, c = o(n), u = {}, f = 0 while (c.length > f) (r = i(n, (t = c[f++]))), void 0 !== r && l(u, t, r) return u } } ) }, dc14: function (e, t, r) { "use strict" ;(function (t, n) { var i = r("966d") function o(e) { var t = this ;(this.next = null), (this.entry = null), (this.finish = function () { M(t, e) }) } e.exports = b var a, s = !t.browser && ["v0.10", "v0.9."].indexOf(t.version.slice(0, 5)) > -1 ? setImmediate : i.nextTick b.WritableState = v var l = Object.create(r("3a7c")) l.inherits = r("3fb5") var c = { deprecate: r("b7d1") }, u = r("429b"), f = r("a8f0").Buffer, p = n.Uint8Array || function () {} function d(e) { return f.from(e) } function h(e) { return f.isBuffer(e) || e instanceof p } var m, g = r("4681") function y() {} function v(e, t) { ;(a = a || r("b19a")), (e = e || {}) var n = t instanceof a ;(this.objectMode = !!e.objectMode), n && (this.objectMode = this.objectMode || !!e.writableObjectMode) var i = e.highWaterMark, s = e.writableHighWaterMark, l = this.objectMode ? 16 : 16384 ;(this.highWaterMark = i || 0 === i ? i : n && (s || 0 === s) ? s : l), (this.highWaterMark = Math.floor(this.highWaterMark)), (this.finalCalled = !1), (this.needDrain = !1), (this.ending = !1), (this.ended = !1), (this.finished = !1), (this.destroyed = !1) var c = !1 === e.decodeStrings ;(this.decodeStrings = !c), (this.defaultEncoding = e.defaultEncoding || "utf8"), (this.length = 0), (this.writing = !1), (this.corked = 0), (this.sync = !0), (this.bufferProcessing = !1), (this.onwrite = function (e) { C(t, e) }), (this.writecb = null), (this.writelen = 0), (this.bufferedRequest = null), (this.lastBufferedRequest = null), (this.pendingcb = 0), (this.prefinished = !1), (this.errorEmitted = !1), (this.bufferedRequestCount = 0), (this.corkedRequestsFree = new o(this)) } function b(e) { if (((a = a || r("b19a")), !m.call(b, this) && !(this instanceof a))) return new b(e) ;(this._writableState = new v(e, this)), (this.writable = !0), e && ("function" === typeof e.write && (this._write = e.write), "function" === typeof e.writev && (this._writev = e.writev), "function" === typeof e.destroy && (this._destroy = e.destroy), "function" === typeof e.final && (this._final = e.final)), u.call(this) } function w(e, t) { var r = new Error("write after end") e.emit("error", r), i.nextTick(t, r) } function x(e, t, r, n) { var o = !0, a = !1 return ( null === r ? (a = new TypeError("May not write null values to stream")) : "string" === typeof r || void 0 === r || t.objectMode || (a = new TypeError("Invalid non-string/buffer chunk")), a && (e.emit("error", a), i.nextTick(n, a), (o = !1)), o ) } function A(e, t, r) { return e.objectMode || !1 === e.decodeStrings || "string" !== typeof t || (t = f.from(t, r)), t } function _(e, t, r, n, i, o) { if (!r) { var a = A(t, n, i) n !== a && ((r = !0), (i = "buffer"), (n = a)) } var s = t.objectMode ? 1 : n.length t.length += s var l = t.length < t.highWaterMark if ((l || (t.needDrain = !0), t.writing || t.corked)) { var c = t.lastBufferedRequest ;(t.lastBufferedRequest = { chunk: n, encoding: i, isBuf: r, callback: o, next: null }), c ? (c.next = t.lastBufferedRequest) : (t.bufferedRequest = t.lastBufferedRequest), (t.bufferedRequestCount += 1) } else T(e, t, !1, s, n, i, o) return l } function T(e, t, r, n, i, o, a) { ;(t.writelen = n), (t.writecb = a), (t.writing = !0), (t.sync = !0), r ? e._writev(i, t.onwrite) : e._write(i, o, t.onwrite), (t.sync = !1) } function E(e, t, r, n, o) { --t.pendingcb, r ? (i.nextTick(o, n), i.nextTick(I, e, t), (e._writableState.errorEmitted = !0), e.emit("error", n)) : (o(n), (e._writableState.errorEmitted = !0), e.emit("error", n), I(e, t)) } function S(e) { ;(e.writing = !1), (e.writecb = null), (e.length -= e.writelen), (e.writelen = 0) } function C(e, t) { var r = e._writableState, n = r.sync, i = r.writecb if ((S(r), t)) E(e, r, n, t, i) else { var o = O(r) o || r.corked || r.bufferProcessing || !r.bufferedRequest || P(e, r), n ? s(k, e, r, o, i) : k(e, r, o, i) } } function k(e, t, r, n) { r || L(e, t), t.pendingcb--, n(), I(e, t) } function L(e, t) { 0 === t.length && t.needDrain && ((t.needDrain = !1), e.emit("drain")) } function P(e, t) { t.bufferProcessing = !0 var r = t.bufferedRequest if (e._writev && r && r.next) { var n = t.bufferedRequestCount, i = new Array(n), a = t.corkedRequestsFree a.entry = r var s = 0, l = !0 while (r) (i[s] = r), r.isBuf || (l = !1), (r = r.next), (s += 1) ;(i.allBuffers = l), T(e, t, !0, t.length, i, "", a.finish), t.pendingcb++, (t.lastBufferedRequest = null), a.next ? ((t.corkedRequestsFree = a.next), (a.next = null)) : (t.corkedRequestsFree = new o(t)), (t.bufferedRequestCount = 0) } else { while (r) { var c = r.chunk, u = r.encoding, f = r.callback, p = t.objectMode ? 1 : c.length if ((T(e, t, !1, p, c, u, f), (r = r.next), t.bufferedRequestCount--, t.writing)) break } null === r && (t.lastBufferedRequest = null) } ;(t.bufferedRequest = r), (t.bufferProcessing = !1) } function O(e) { return e.ending && 0 === e.length && null === e.bufferedRequest && !e.finished && !e.writing } function j(e, t) { e._final(function (r) { t.pendingcb--, r && e.emit("error", r), (t.prefinished = !0), e.emit("prefinish"), I(e, t) }) } function R(e, t) { t.prefinished || t.finalCalled || ("function" === typeof e._final ? (t.pendingcb++, (t.finalCalled = !0), i.nextTick(j, e, t)) : ((t.prefinished = !0), e.emit("prefinish"))) } function I(e, t) { var r = O(t) return r && (R(e, t), 0 === t.pendingcb && ((t.finished = !0), e.emit("finish"))), r } function N(e, t, r) { ;(t.ending = !0), I(e, t), r && (t.finished ? i.nextTick(r) : e.once("finish", r)), (t.ended = !0), (e.writable = !1) } function M(e, t, r) { var n = e.entry e.entry = null while (n) { var i = n.callback t.pendingcb--, i(r), (n = n.next) } t.corkedRequestsFree ? (t.corkedRequestsFree.next = e) : (t.corkedRequestsFree = e) } l.inherits(b, u), (v.prototype.getBuffer = function () { var e = this.bufferedRequest, t = [] while (e) t.push(e), (e = e.next) return t }), (function () { try { Object.defineProperty(v.prototype, "buffer", { get: c.deprecate( function () { return this.getBuffer() }, "_writableState.buffer is deprecated. Use _writableState.getBuffer instead.", "DEP0003" ) }) } catch (e) {} })(), "function" === typeof Symbol && Symbol.hasInstance && "function" === typeof Function.prototype[Symbol.hasInstance] ? ((m = Function.prototype[Symbol.hasInstance]), Object.defineProperty(b, Symbol.hasInstance, { value: function (e) { return !!m.call(this, e) || (this === b && e && e._writableState instanceof v) } })) : (m = function (e) { return e instanceof this }), (b.prototype.pipe = function () { this.emit("error", new Error("Cannot pipe, not readable")) }), (b.prototype.write = function (e, t, r) { var n = this._writableState, i = !1, o = !n.objectMode && h(e) return ( o && !f.isBuffer(e) && (e = d(e)), "function" === typeof t && ((r = t), (t = null)), o ? (t = "buffer") : t || (t = n.defaultEncoding), "function" !== typeof r && (r = y), n.ended ? w(this, r) : (o || x(this, n, e, r)) && (n.pendingcb++, (i = _(this, n, o, e, t, r))), i ) }), (b.prototype.cork = function () { var e = this._writableState e.corked++ }), (b.prototype.uncork = function () { var e = this._writableState e.corked && (e.corked--, e.writing || e.corked || e.finished || e.bufferProcessing || !e.bufferedRequest || P(this, e)) }), (b.prototype.setDefaultEncoding = function (e) { if ( ("string" === typeof e && (e = e.toLowerCase()), !( ["hex", "utf8", "utf-8", "ascii", "binary", "base64", "ucs2", "ucs-2", "utf16le", "utf-16le", "raw"].indexOf( (e + "").toLowerCase() ) > -1 )) ) throw new TypeError("Unknown encoding: " + e) return (this._writableState.defaultEncoding = e), this }), Object.defineProperty(b.prototype, "writableHighWaterMark", { enumerable: !1, get: function () { return this._writableState.highWaterMark } }), (b.prototype._write = function (e, t, r) { r(new Error("_write() is not implemented")) }), (b.prototype._writev = null), (b.prototype.end = function (e, t, r) { var n = this._writableState "function" === typeof e ? ((r = e), (e = null), (t = null)) : "function" === typeof t && ((r = t), (t = null)), null !== e && void 0 !== e && this.write(e, t), n.corked && ((n.corked = 1), this.uncork()), n.ending || n.finished || N(this, n, r) }), Object.defineProperty(b.prototype, "destroyed", { get: function () { return void 0 !== this._writableState && this._writableState.destroyed }, set: function (e) { this._writableState && (this._writableState.destroyed = e) } }), (b.prototype.destroy = g.destroy), (b.prototype._undestroy = g.undestroy), (b.prototype._destroy = function (e, t) { this.end(), t(e) }) }).call(this, r("4362"), r("c8ba")) }, ddb0: function (e, t, r) { var n = r("da84"), i = r("fdbc"), o = r("e260"), a = r("9112"), s = r("b622"), l = s("iterator"), c = s("toStringTag"), u = o.values for (var f in i) { var p = n[f], d = p && p.prototype if (d) { if (d[l] !== u) try { a(d, l, u) } catch (m) { d[l] = u } if ((d[c] || a(d, c, f), i[f])) for (var h in o) if (d[h] !== o[h]) try { a(d, h, o[h]) } catch (m) { d[h] = o[h] } } } }, df75: function (e, t, r) { var n = r("ca84"), i = r("7839") e.exports = Object.keys || function (e) { return n(e, i) } }, df7c: function (e, t, r) { ;(function (e) { function r(e, t) { for (var r = 0, n = e.length - 1; n >= 0; n--) { var i = e[n] "." === i ? e.splice(n, 1) : ".." === i ? (e.splice(n, 1), r++) : r && (e.splice(n, 1), r--) } if (t) for (; r--; r) e.unshift("..") return e } function n(e) { "string" !== typeof e && (e += "") var t, r = 0, n = -1, i = !0 for (t = e.length - 1; t >= 0; --t) if (47 === e.charCodeAt(t)) { if (!i) { r = t + 1 break } } else -1 === n && ((i = !1), (n = t + 1)) return -1 === n ? "" : e.slice(r, n) } function i(e, t) { if (e.filter) return e.filter(t) for (var r = [], n = 0; n < e.length; n++) t(e[n], n, e) && r.push(e[n]) return r } ;(t.resolve = function () { for (var t = "", n = !1, o = arguments.length - 1; o >= -1 && !n; o--) { var a = o >= 0 ? arguments[o] : e.cwd() if ("string" !== typeof a) throw new TypeError("Arguments to path.resolve must be strings") a && ((t = a + "/" + t), (n = "/" === a.charAt(0))) } return ( (t = r( i(t.split("/"), function (e) { return !!e }), !n ).join("/")), (n ? "/" : "") + t || "." ) }), (t.normalize = function (e) { var n = t.isAbsolute(e), a = "/" === o(e, -1) return ( (e = r( i(e.split("/"), function (e) { return !!e }), !n ).join("/")), e || n || (e = "."), e && a && (e += "/"), (n ? "/" : "") + e ) }), (t.isAbsolute = function (e) { return "/" === e.charAt(0) }), (t.join = function () { var e = Array.prototype.slice.call(arguments, 0) return t.normalize( i(e, function (e, t) { if ("string" !== typeof e) throw new TypeError("Arguments to path.join must be strings") return e }).join("/") ) }), (t.relative = function (e, r) { function n(e) { for (var t = 0; t < e.length; t++) if ("" !== e[t]) break for (var r = e.length - 1; r >= 0; r--) if ("" !== e[r]) break return t > r ? [] : e.slice(t, r - t + 1) } ;(e = t.resolve(e).substr(1)), (r = t.resolve(r).substr(1)) for (var i = n(e.split("/")), o = n(r.split("/")), a = Math.min(i.length, o.length), s = a, l = 0; l < a; l++) if (i[l] !== o[l]) { s = l break } var c = [] for (l = s; l < i.length; l++) c.push("..") return (c = c.concat(o.slice(s))), c.join("/") }), (t.sep = "/"), (t.delimiter = ":"), (t.dirname = function (e) { if (("string" !== typeof e && (e += ""), 0 === e.length)) return "." for (var t = e.charCodeAt(0), r = 47 === t, n = -1, i = !0, o = e.length - 1; o >= 1; --o) if (((t = e.charCodeAt(o)), 47 === t)) { if (!i) { n = o break } } else i = !1 return -1 === n ? (r ? "/" : ".") : r && 1 === n ? "/" : e.slice(0, n) }), (t.basename = function (e, t) { var r = n(e) return t && r.substr(-1 * t.length) === t && (r = r.substr(0, r.length - t.length)), r }), (t.extname = function (e) { "string" !== typeof e && (e += "") for (var t = -1, r = 0, n = -1, i = !0, o = 0, a = e.length - 1; a >= 0; --a) { var s = e.charCodeAt(a) if (47 !== s) -1 === n && ((i = !1), (n = a + 1)), 46 === s ? (-1 === t ? (t = a) : 1 !== o && (o = 1)) : -1 !== t && (o = -1) else if (!i) { r = a + 1 break } } return -1 === t || -1 === n || 0 === o || (1 === o && t === n - 1 && t === r + 1) ? "" : e.slice(t, n) }) var o = "b" === "ab".substr(-1) ? function (e, t, r) { return e.substr(t, r) } : function (e, t, r) { return t < 0 && (t = e.length + t), e.substr(t, r) } }).call(this, r("4362")) }, e01a: function (e, t, r) { "use strict" var n = r("23e7"), i = r("83ab"), o = r("da84"), a = r("5135"), s = r("861d"), l = r("9bf2").f, c = r("e893"), u = o.Symbol if (i && "function" == typeof u && (!("description" in u.prototype) || void 0 !== u().description)) { var f = {}, p = function () { var e = arguments.length < 1 || void 0 === arguments[0] ? void 0 : String(arguments[0]), t = this instanceof p ? new u(e) : void 0 === e ? u() : u(e) return "" === e && (f[t] = !0), t } c(p, u) var d = (p.prototype = u.prototype) d.constructor = p var h = d.toString, m = "Symbol(test)" == String(u("test")), g = /^Symbol\((.*)\)[^)]+$/ l(d, "description", { configurable: !0, get: function () { var e = s(this) ? this.valueOf() : this, t = h.call(e) if (a(f, e)) return "" var r = m ? t.slice(7, -1) : t.replace(g, "$1") return "" === r ? void 0 : r } }), n( { global: !0, forced: !0 }, { Symbol: p } ) } }, e163: function (e, t, r) { var n = r("5135"), i = r("7b0b"), o = r("f772"), a = r("e177"), s = o("IE_PROTO"), l = Object.prototype e.exports = a ? Object.getPrototypeOf : function (e) { return ( (e = i(e)), n(e, s) ? e[s] : "function" == typeof e.constructor && e instanceof e.constructor ? e.constructor.prototype : e instanceof Object ? l : null ) } }, e177: function (e, t, r) { var n = r("d039") e.exports = !n(function () { function e() {} return (e.prototype.constructor = null), Object.getPrototypeOf(new e()) !== e.prototype }) }, e260: function (e, t, r) { "use strict" var n = r("fc6a"), i = r("44d2"), o = r("3f8c"), a = r("69f3"), s = r("7dd0"), l = "Array Iterator", c = a.set, u = a.getterFor(l) ;(e.exports = s( Array, "Array", function (e, t) { c(this, { type: l, target: n(e), index: 0, kind: t }) }, function () { var e = u(this), t = e.target, r = e.kind, n = e.index++ return !t || n >= t.length ? ((e.target = void 0), { value: void 0, done: !0 }) : "keys" == r ? { value: n, done: !1 } : "values" == r ? { value: t[n], done: !1 } : { value: [n, t[n]], done: !1 } }, "values" )), (o.Arguments = o.Array), i("keys"), i("values"), i("entries") }, e372: function (e, t, r) { ;(t = e.exports = r("ad71")), (t.Stream = t), (t.Readable = t), (t.Writable = r("dc14")), (t.Duplex = r("b19a")), (t.Transform = r("27bf")), (t.PassThrough = r("780f")) }, e3db: function (e, t) { var r = {}.toString e.exports = Array.isArray || function (e) { return "[object Array]" == r.call(e) } }, e439: function (e, t, r) { var n = r("23e7"), i = r("d039"), o = r("fc6a"), a = r("06cf").f, s = r("83ab"), l = i(function () { a(1) }), c = !s || l n( { target: "Object", stat: !0, forced: c, sham: !s }, { getOwnPropertyDescriptor: function (e, t) { return a(o(e), t) } } ) }, e538: function (e, t, r) { var n = r("b622") t.f = n }, e893: function (e, t, r) { var n = r("5135"), i = r("56ef"), o = r("06cf"), a = r("9bf2") e.exports = function (e, t) { for (var r = i(t), s = a.f, l = o.f, c = 0; c < r.length; c++) { var u = r[c] n(e, u) || s(e, u, l(t, u)) } } }, e8b5: function (e, t, r) { var n = r("c6b6") e.exports = Array.isArray || function (e) { return "Array" == n(e) } }, e95a: function (e, t, r) { var n = r("b622"), i = r("3f8c"), o = n("iterator"), a = Array.prototype e.exports = function (e) { return void 0 !== e && (i.Array === e || a[o] === e) } }, f5df: function (e, t, r) { var n = r("00ee"), i = r("c6b6"), o = r("b622"), a = o("toStringTag"), s = "Arguments" == i( (function () { return arguments })() ), l = function (e, t) { try { return e[t] } catch (r) {} } e.exports = n ? i : function (e) { var t, r, n return void 0 === e ? "Undefined" : null === e ? "Null" : "string" == typeof (r = l((t = Object(e)), a)) ? r : s ? i(t) : "Object" == (n = i(t)) && "function" == typeof t.callee ? "Arguments" : n } }, f5f5: function (e, t, r) { "use strict" ;(function (e) { r.d(t, "a", function () { return Ri }) var n, i, o, a = r("8fc1"), s = r("2ef0"), l = r.n(s), c = r("c4e3"), u = r.n(c), f = r("c51a") function p(e, t) { for (var r = 0; r < t.length; r++) { var n = t[r] ;(n.enumerable = n.enumerable || !1), (n.configurable = !0), "value" in n && (n.writable = !0), Object.defineProperty(e, j(n.key), n) } } function d(e, t, r) { return ( t && p(e.prototype, t), r && p(e, r), Object.defineProperty(e, "prototype", { writable: !1 }), e ) } function h(e, t) { if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function") } function m(e, t) { if ("function" !== typeof t && null !== t) throw new TypeError("Super expression must either be null or a function") ;(e.prototype = Object.create(t && t.prototype, { constructor: { value: e, writable: !0, configurable: !0 } })), Object.defineProperty(e, "prototype", { writable: !1 }), t && g(e, t) } function g(e, t) { return ( (g = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (e, t) { return (e.__proto__ = t), e }), g(e, t) ) } function y(e) { var t = w() return function () { var r, n = x(e) if (t) { var i = x(this).constructor r = Reflect.construct(n, arguments, i) } else r = n.apply(this, arguments) return v(this, r) } } function v(e, t) { if (t && ("object" === z(t) || "function" === typeof t)) return t if (void 0 !== t) throw new TypeError("Derived constructors may only return object or undefined") return b(e) } function b(e) { if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called") return e } function w() { if ("undefined" === typeof Reflect || !Reflect.construct) return !1 if (Reflect.construct.sham) return !1 if ("function" === typeof Proxy) return !0 try { return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})), !0 } catch (Rt) { return !1 } } function x(e) { return ( (x = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (e) { return e.__proto__ || Object.getPrototypeOf(e) }), x(e) ) } function A() { /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ A = function () { return e } var e = {}, t = Object.prototype, r = t.hasOwnProperty, n = Object.defineProperty || function (e, t, r) { e[t] = r.value }, i = "function" == typeof Symbol ? Symbol : {}, o = i.iterator || "@@iterator", a = i.asyncIterator || "@@asyncIterator", s = i.toStringTag || "@@toStringTag" function l(e, t, r) { return ( Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }), e[t] ) } try { l({}, "") } catch (L) { l = function (e, t, r) { return (e[t] = r) } } function c(e, t, r, i) { var o = t && t.prototype instanceof p ? t : p, a = Object.create(o.prototype), s = new S(i || []) return ( n(a, "_invoke", { value: x(e, r, s) }), a ) } function u(e, t, r) { try { return { type: "normal", arg: e.call(t, r) } } catch (L) { return { type: "throw", arg: L } } } e.wrap = c var f = {} function p() {} function d() {} function h() {} var m = {} l(m, o, function () { return this }) var g = Object.getPrototypeOf, y = g && g(g(C([]))) y && y !== t && r.call(y, o) && (m = y) var v = (h.prototype = p.prototype = Object.create(m)) function b(e) { ;["next", "throw", "return"].forEach(function (t) { l(e, t, function (e) { return this._invoke(t, e) }) }) } function w(e, t) { function i(n, o, a, s) { var l = u(e[n], e, o) if ("throw" !== l.type) { var c = l.arg, f = c.value return f && "object" == z(f) && r.call(f, "__await") ? t.resolve(f.__await).then( function (e) { i("next", e, a, s) }, function (e) { i("throw", e, a, s) } ) : t.resolve(f).then( function (e) { ;(c.value = e), a(c) }, function (e) { return i("throw", e, a, s) } ) } s(l.arg) } var o n(this, "_invoke", { value: function (e, r) { function n() { return new t(function (t, n) { i(e, r, t, n) }) } return (o = o ? o.then(n, n) : n()) } }) } function x(e, t, r) { var n = "suspendedStart" return function (i, o) { if ("executing" === n) throw new Error("Generator is already running") if ("completed" === n) { if ("throw" === i) throw o return k() } for (r.method = i, r.arg = o; ; ) { var a = r.delegate if (a) { var s = _(a, r) if (s) { if (s === f) continue return s } } if ("next" === r.method) r.sent = r._sent = r.arg else if ("throw" === r.method) { if ("suspendedStart" === n) throw ((n = "completed"), r.arg) r.dispatchException(r.arg) } else "return" === r.method && r.abrupt("return", r.arg) n = "executing" var l = u(e, t, r) if ("normal" === l.type) { if (((n = r.done ? "completed" : "suspendedYield"), l.arg === f)) continue return { value: l.arg, done: r.done } } "throw" === l.type && ((n = "completed"), (r.method = "throw"), (r.arg = l.arg)) } } } function _(e, t) { var r = t.method, n = e.iterator[r] if (void 0 === n) return ( (t.delegate = null), ("throw" === r && e.iterator["return"] && ((t.method = "return"), (t.arg = void 0), _(e, t), "throw" === t.method)) || ("return" !== r && ((t.method = "throw"), (t.arg = new TypeError("The iterator does not provide a '" + r + "' method")))), f ) var i = u(n, e.iterator, t.arg) if ("throw" === i.type) return (t.method = "throw"), (t.arg = i.arg), (t.delegate = null), f var o = i.arg return o ? o.done ? ((t[e.resultName] = o.value), (t.next = e.nextLoc), "return" !== t.method && ((t.method = "next"), (t.arg = void 0)), (t.delegate = null), f) : o : ((t.method = "throw"), (t.arg = new TypeError("iterator result is not an object")), (t.delegate = null), f) } function T(e) { var t = { tryLoc: e[0] } 1 in e && (t.catchLoc = e[1]), 2 in e && ((t.finallyLoc = e[2]), (t.afterLoc = e[3])), this.tryEntries.push(t) } function E(e) { var t = e.completion || {} ;(t.type = "normal"), delete t.arg, (e.completion = t) } function S(e) { ;(this.tryEntries = [ { tryLoc: "root" } ]), e.forEach(T, this), this.reset(!0) } function C(e) { if (e) { var t = e[o] if (t) return t.call(e) if ("function" == typeof e.next) return e if (!isNaN(e.length)) { var n = -1, i = function t() { for (; ++n < e.length; ) if (r.call(e, n)) return (t.value = e[n]), (t.done = !1), t return (t.value = void 0), (t.done = !0), t } return (i.next = i) } } return { next: k } } function k() { return { value: void 0, done: !0 } } return ( (d.prototype = h), n(v, "constructor", { value: h, configurable: !0 }), n(h, "constructor", { value: d, configurable: !0 }), (d.displayName = l(h, s, "GeneratorFunction")), (e.isGeneratorFunction = function (e) { var t = "function" == typeof e && e.constructor return !!t && (t === d || "GeneratorFunction" === (t.displayName || t.name)) }), (e.mark = function (e) { return ( Object.setPrototypeOf ? Object.setPrototypeOf(e, h) : ((e.__proto__ = h), l(e, s, "GeneratorFunction")), (e.prototype = Object.create(v)), e ) }), (e.awrap = function (e) { return { __await: e } }), b(w.prototype), l(w.prototype, a, function () { return this }), (e.AsyncIterator = w), (e.async = function (t, r, n, i, o) { void 0 === o && (o = Promise) var a = new w(c(t, r, n, i), o) return e.isGeneratorFunction(r) ? a : a.next().then(function (e) { return e.done ? e.value : a.next() }) }), b(v), l(v, s, "Generator"), l(v, o, function () { return this }), l(v, "toString", function () { return "[object Generator]" }), (e.keys = function (e) { var t = Object(e), r = [] for (var n in t) r.push(n) return ( r.reverse(), function e() { for (; r.length; ) { var n = r.pop() if (n in t) return (e.value = n), (e.done = !1), e } return (e.done = !0), e } ) }), (e.values = C), (S.prototype = { constructor: S, reset: function (e) { if ( ((this.prev = 0), (this.next = 0), (this.sent = this._sent = void 0), (this.done = !1), (this.delegate = null), (this.method = "next"), (this.arg = void 0), this.tryEntries.forEach(E), !e) ) for (var t in this) "t" === t.charAt(0) && r.call(this, t) && !isNaN(+t.slice(1)) && (this[t] = void 0) }, stop: function () { this.done = !0 var e = this.tryEntries[0].completion if ("throw" === e.type) throw e.arg return this.rval }, dispatchException: function (e) { if (this.done) throw e var t = this function n(r, n) { return (a.type = "throw"), (a.arg = e), (t.next = r), n && ((t.method = "next"), (t.arg = void 0)), !!n } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var o = this.tryEntries[i], a = o.completion if ("root" === o.tryLoc) return n("end") if (o.tryLoc <= this.prev) { var s = r.call(o, "catchLoc"), l = r.call(o, "finallyLoc") if (s && l) { if (this.prev < o.catchLoc) return n(o.catchLoc, !0) if (this.prev < o.finallyLoc) return n(o.finallyLoc) } else if (s) { if (this.prev < o.catchLoc) return n(o.catchLoc, !0) } else { if (!l) throw new Error("try statement without catch or finally") if (this.prev < o.finallyLoc) return n(o.finallyLoc) } } } }, abrupt: function (e, t) { for (var n = this.tryEntries.length - 1; n >= 0; --n) { var i = this.tryEntries[n] if (i.tryLoc <= this.prev && r.call(i, "finallyLoc") && this.prev < i.finallyLoc) { var o = i break } } o && ("break" === e || "continue" === e) && o.tryLoc <= t && t <= o.finallyLoc && (o = null) var a = o ? o.completion : {} return (a.type = e), (a.arg = t), o ? ((this.method = "next"), (this.next = o.finallyLoc), f) : this.complete(a) }, complete: function (e, t) { if ("throw" === e.type) throw e.arg return ( "break" === e.type || "continue" === e.type ? (this.next = e.arg) : "return" === e.type ? ((this.rval = this.arg = e.arg), (this.method = "return"), (this.next = "end")) : "normal" === e.type && t && (this.next = t), f ) }, finish: function (e) { for (var t = this.tryEntries.length - 1; t >= 0; --t) { var r = this.tryEntries[t] if (r.finallyLoc === e) return this.complete(r.completion, r.afterLoc), E(r), f } }, catch: function (e) { for (var t = this.tryEntries.length - 1; t >= 0; --t) { var r = this.tryEntries[t] if (r.tryLoc === e) { var n = r.completion if ("throw" === n.type) { var i = n.arg E(r) } return i } } throw new Error("illegal catch attempt") }, delegateYield: function (e, t, r) { return ( (this.delegate = { iterator: C(e), resultName: t, nextLoc: r }), "next" === this.method && (this.arg = void 0), f ) } }), e ) } function _(e, t, r, n, i, o, a) { try { var s = e[o](a), l = s.value } catch (c) { return void r(c) } s.done ? t(l) : Promise.resolve(l).then(n, i) } function T(e) { return function () { var t = this, r = arguments return new Promise(function (n, i) { var o = e.apply(t, r) function a(e) { _(o, n, i, a, s, "next", e) } function s(e) { _(o, n, i, a, s, "throw", e) } a(void 0) }) } } function E(e, t) { return k(e) || C(e, t) || D(e, t) || S() } function S() { throw new TypeError( "Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method." ) } function C(e, t) { var r = null == e ? null : ("undefined" != typeof Symbol && e[Symbol.iterator]) || e["@@iterator"] if (null != r) { var n, i, o, a, s = [], l = !0, c = !1 try { if (((o = (r = r.call(e)).next), 0 === t)) { if (Object(r) !== r) return l = !1 } else for (; !(l = (n = o.call(r)).done) && (s.push(n.value), s.length !== t); l = !0); } catch (u) { ;(c = !0), (i = u) } finally { try { if (!l && null != r["return"] && ((a = r["return"]()), Object(a) !== a)) return } finally { if (c) throw i } } return s } } function k(e) { if (Array.isArray(e)) return e } function L(e, t) { var r = Object.keys(e) if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e) t && (n = n.filter(function (t) { return Object.getOwnPropertyDescriptor(e, t).enumerable })), r.push.apply(r, n) } return r } function P(e) { for (var t = 1; t < arguments.length; t++) { var r = null != arguments[t] ? arguments[t] : {} t % 2 ? L(Object(r), !0).forEach(function (t) { O(e, t, r[t]) }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : L(Object(r)).forEach(function (t) { Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(r, t)) }) } return e } function O(e, t, r) { return ( (t = j(t)), t in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : (e[t] = r), e ) } function j(e) { var t = R(e, "string") return "symbol" === z(t) ? t : String(t) } function R(e, t) { if ("object" !== z(e) || null === e) return e var r = e[Symbol.toPrimitive] if (void 0 !== r) { var n = r.call(e, t || "default") if ("object" !== z(n)) return n throw new TypeError("@@toPrimitive must return a primitive value.") } return ("string" === t ? String : Number)(e) } function I(e, t) { var r = ("undefined" !== typeof Symbol && e[Symbol.iterator]) || e["@@iterator"] if (!r) { if (Array.isArray(e) || (r = D(e)) || (t && e && "number" === typeof e.length)) { r && (e = r) var n = 0, i = function () {} return { s: i, n: function () { return n >= e.length ? { done: !0 } : { done: !1, value: e[n++] } }, e: function (e) { throw e }, f: i } } throw new TypeError( "Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method." ) } var o, a = !0, s = !1 return { s: function () { r = r.call(e) }, n: function () { var e = r.next() return (a = e.done), e }, e: function (e) { ;(s = !0), (o = e) }, f: function () { try { a || null == r["return"] || r["return"]() } finally { if (s) throw o } } } } function N(e) { return F(e) || B(e) || D(e) || M() } function M() { throw new TypeError( "Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method." ) } function D(e, t) { if (e) { if ("string" === typeof e) return U(e, t) var r = Object.prototype.toString.call(e).slice(8, -1) return ( "Object" === r && e.constructor && (r = e.constructor.name), "Map" === r || "Set" === r ? Array.from(e) : "Arguments" === r || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r) ? U(e, t) : void 0 ) } } function B(e) { if (("undefined" !== typeof Symbol && null != e[Symbol.iterator]) || null != e["@@iterator"]) return Array.from(e) } function F(e) { if (Array.isArray(e)) return U(e) } function U(e, t) { ;(null == t || t > e.length) && (t = e.length) for (var r = 0, n = new Array(t); r < t; r++) n[r] = e[r] return n } function z(e) { return ( (z = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (e) { return typeof e } : function (e) { return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e }), z(e) ) /*! * @evideo/pptist-exchange-pptx v0.0.17 * (c) 2023 brisky-package-template * @license MIT */ } function q(e) { return H(e) || V(e) || W(e) || G() } function G() { throw new TypeError( "Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method." ) } function W(e, t) { if (e) { if ("string" === typeof e) return X(e, t) var r = Object.prototype.toString.call(e).slice(8, -1) return ( "Object" === r && e.constructor && (r = e.constructor.name), "Map" === r || "Set" === r ? Array.from(e) : "Arguments" === r || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r) ? X(e, t) : void 0 ) } } function V(e) { if (("undefined" !== typeof Symbol && null != e[Symbol.iterator]) || null != e["@@iterator"]) return Array.from(e) } function H(e) { if (Array.isArray(e)) return X(e) } function X(e, t) { ;(null == t || t > e.length) && (t = e.length) for (var r = 0, n = new Array(t); r < t; r++) n[r] = e[r] return n } function Y(e, t) { if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function") } function K(e, t) { for (var r = 0; r < t.length; r++) { var n = t[r] ;(n.enumerable = n.enumerable || !1), (n.configurable = !0), "value" in n && (n.writable = !0), Object.defineProperty(e, n.key, n) } } function Z(e, t, r) { return ( t && K(e.prototype, t), r && K(e, r), Object.defineProperty(e, "prototype", { writable: !1 }), e ) } function Q(e, t, r) { return ( t in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : (e[t] = r), e ) } /*! * @evideo/logger v1.0.7 * (c) 2023 evideo-logger * @license MIT */ ;(function (e) { ;(e["ALL"] = "all"), (e["TRACE"] = "trace"), (e["DEBUG"] = "debug"), (e["INFO"] = "info"), (e["WARN"] = "warn"), (e["ERROR"] = "error"), (e["FETAL"] = "fatal"), (e["OFF"] = "off") })(o || (o = {})) var J = ((i = {}), Q(i, o.ALL, 0), Q(i, o.TRACE, 1), Q(i, o.DEBUG, 2), Q(i, o.INFO, 3), Q(i, o.WARN, 4), Q(i, o.ERROR, 5), Q(i, o.FETAL, 6), Q(i, o.OFF, 7), i), $ = "1.0.7", ee = "FrontEndLogger", te = (function () { function e() { var t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : "unknown", r = !(arguments.length > 1 && void 0 !== arguments[1]) || arguments[1], n = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : void 0 Y(this, e), Q(this, "namespace", void 0), Q(this, "showLevel", void 0), Q(this, "printLevel", void 0), Q(this, "beforeFuncs", []), Q(this, "afterFuncs", []), (this.namespace = t), (this.showLevel = r), (this.printLevel = n), console.log("".concat(ee, " Version: ").concat($)) } return ( Z(e, [ { key: "_log", value: function (e) { for (var t, r = this, n = arguments.length, i = new Array(n > 1 ? n - 1 : 0), o = 1; o < n; o++) i[o - 1] = arguments[o] var a = this.getPrintLevel() if (!(J[a] > J[e])) { this.beforeFuncs.forEach(function (t) { return t(e, r.namespace, i) }) var s = "" if (i.length > 1 && "log-stack" === String(i[i.length - 1])) { var l, c = (null === (l = new Error().stack) || void 0 === l ? void 0 : l.split("\n")) || [] s = "\n" + c.slice(2).join("\n") } var u = s ? i.slice(0, i.length - 1) : i ;(t = console).log.apply( t, ["".concat(this.showLevel ? "[".concat(e.toUpperCase(), "]-") : "", "(").concat(this.namespace, "):")].concat(q(u), [ s ]) ), this.afterFuncs.reverse().forEach(function (t) { return t(e, r.namespace, i) }) } } }, { key: "getPrintLevel", value: function () { var e = self || {}, t = self.localStorage || { getItem: function () {} } return ( this.printLevel || e["".concat(this.namespace, "LoggerLevel")] || t.getItem("logger.".concat(this.namespace, ".level")) || e.FrontEndLoggerLevel || t.getItem("logger.level") || o.INFO ) } }, { key: "addInterceptor", value: function (e) { var t = !(arguments.length > 1 && void 0 !== arguments[1]) || arguments[1] if ("function" !== typeof e) throw new Error("interceptor is not a function") return t ? (this.beforeFuncs.push(e), this) : (this.afterFuncs.push(e), this) } }, { key: "addBeforeInterceptor", value: function (e) { return this.addInterceptor(e), this } }, { key: "addAfterInterceptor", value: function (e) { return this.addInterceptor(e, !1), this } }, { key: "create", value: function () { var t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : "unknown", r = !(arguments.length > 1 && void 0 !== arguments[1]) || arguments[1], n = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : void 0 return new e(t, r, n) } }, { key: "setNamespace", value: function () { var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : "" return (this.namespace = e), this } }, { key: "setPrintLevel", value: function (e) { return (this.printLevel = e), this } }, { key: "trace", value: function () { for (var e = arguments.length, t = new Array(e), r = 0; r < e; r++) t[r] = arguments[r] return this._log.apply(this, [o.TRACE].concat(t, ["log-stack"])), this } }, { key: "debug", value: function () { for (var e = arguments.length, t = new Array(e), r = 0; r < e; r++) t[r] = arguments[r] return this._log.apply(this, [o.DEBUG].concat(t)), this } }, { key: "info", value: function () { for (var e = arguments.length, t = new Array(e), r = 0; r < e; r++) t[r] = arguments[r] return this._log.apply(this, [o.INFO].concat(t)), this } }, { key: "warn", value: function () { for (var e = arguments.length, t = new Array(e), r = 0; r < e; r++) t[r] = arguments[r] return this._log.apply(this, [o.WARN].concat(t)), this } }, { key: "error", value: function () { for (var e = arguments.length, t = new Array(e), r = 0; r < e; r++) t[r] = arguments[r] return this._log.apply(this, [o.ERROR].concat(t)), this } }, { key: "fetal", value: function () { for (var e = arguments.length, t = new Array(e), r = 0; r < e; r++) t[r] = arguments[r] return this._log.apply(this, [o.FETAL].concat(t)), this } }, { key: "time", value: function (e) { return console.time("(".concat(this.namespace, "):").concat(e)), this } }, { key: "timeEnd", value: function (e) { return console.timeEnd("(".concat(this.namespace, "):").concat(e)), this } } ]), e ) })(), re = new te(), ne = /^\s+/, ie = /\s+$/ function oe(e, t) { if (((e = e || ""), (t = t || {}), e instanceof oe)) return e if (!(this instanceof oe)) return new oe(e, t) var r = ae(e) ;(this._originalInput = e), (this._r = r.r), (this._g = r.g), (this._b = r.b), (this._a = r.a), (this._roundA = Math.round(100 * this._a) / 100), (this._format = t.format || r.format), (this._gradientType = t.gradientType), this._r < 1 && (this._r = Math.round(this._r)), this._g < 1 && (this._g = Math.round(this._g)), this._b < 1 && (this._b = Math.round(this._b)), (this._ok = r.ok) } function ae(e) { var t = { r: 0, g: 0, b: 0 }, r = 1, n = null, i = null, o = null, a = !1, s = !1 return ( "string" == typeof e && (e = qe(e)), "object" == z(e) && (ze(e.r) && ze(e.g) && ze(e.b) ? ((t = se(e.r, e.g, e.b)), (a = !0), (s = "%" === String(e.r).substr(-1) ? "prgb" : "rgb")) : ze(e.h) && ze(e.s) && ze(e.v) ? ((n = De(e.s)), (i = De(e.v)), (t = fe(e.h, n, i)), (a = !0), (s = "hsv")) : ze(e.h) && ze(e.s) && ze(e.l) && ((n = De(e.s)), (o = De(e.l)), (t = ce(e.h, n, o)), (a = !0), (s = "hsl")), e.hasOwnProperty("a") && (r = e.a)), (r = Pe(r)), { ok: a, format: e.format || s, r: Math.min(255, Math.max(t.r, 0)), g: Math.min(255, Math.max(t.g, 0)), b: Math.min(255, Math.max(t.b, 0)), a: r } ) } function se(e, t, r) { return { r: 255 * Oe(e, 255), g: 255 * Oe(t, 255), b: 255 * Oe(r, 255) } } function le(e, t, r) { ;(e = Oe(e, 255)), (t = Oe(t, 255)), (r = Oe(r, 255)) var n, i, o = Math.max(e, t, r), a = Math.min(e, t, r), s = (o + a) / 2 if (o == a) n = i = 0 else { var l = o - a switch (((i = s > 0.5 ? l / (2 - o - a) : l / (o + a)), o)) { case e: n = (t - r) / l + (t < r ? 6 : 0) break case t: n = (r - e) / l + 2 break case r: n = (e - t) / l + 4 break } n /= 6 } return { h: n, s: i, l: s } } function ce(e, t, r) { var n, i, o function a(e, t, r) { return ( r < 0 && (r += 1), r > 1 && (r -= 1), r < 1 / 6 ? e + 6 * (t - e) * r : r < 0.5 ? t : r < 2 / 3 ? e + (t - e) * (2 / 3 - r) * 6 : e ) } if (((e = Oe(e, 360)), (t = Oe(t, 100)), (r = Oe(r, 100)), 0 === t)) n = i = o = r else { var s = r < 0.5 ? r * (1 + t) : r + t - r * t, l = 2 * r - s ;(n = a(l, s, e + 1 / 3)), (i = a(l, s, e)), (o = a(l, s, e - 1 / 3)) } return { r: 255 * n, g: 255 * i, b: 255 * o } } function ue(e, t, r) { ;(e = Oe(e, 255)), (t = Oe(t, 255)), (r = Oe(r, 255)) var n, i, o = Math.max(e, t, r), a = Math.min(e, t, r), s = o, l = o - a if (((i = 0 === o ? 0 : l / o), o == a)) n = 0 else { switch (o) { case e: n = (t - r) / l + (t < r ? 6 : 0) break case t: n = (r - e) / l + 2 break case r: n = (e - t) / l + 4 break } n /= 6 } return { h: n, s: i, v: s } } function fe(e, t, r) { ;(e = 6 * Oe(e, 360)), (t = Oe(t, 100)), (r = Oe(r, 100)) var n = Math.floor(e), i = e - n, o = r * (1 - t), a = r * (1 - i * t), s = r * (1 - (1 - i) * t), l = n % 6, c = [r, a, o, o, s, r][l], u = [s, r, r, a, o, o][l], f = [o, o, s, r, r, a][l] return { r: 255 * c, g: 255 * u, b: 255 * f } } function pe(e, t, r, n) { var i = [Me(Math.round(e).toString(16)), Me(Math.round(t).toString(16)), Me(Math.round(r).toString(16))] return n && i[0].charAt(0) == i[0].charAt(1) && i[1].charAt(0) == i[1].charAt(1) && i[2].charAt(0) == i[2].charAt(1) ? i[0].charAt(0) + i[1].charAt(0) + i[2].charAt(0) : i.join("") } function de(e, t, r, n, i) { var o = [Me(Math.round(e).toString(16)), Me(Math.round(t).toString(16)), Me(Math.round(r).toString(16)), Me(Be(n))] return i && o[0].charAt(0) == o[0].charAt(1) && o[1].charAt(0) == o[1].charAt(1) && o[2].charAt(0) == o[2].charAt(1) && o[3].charAt(0) == o[3].charAt(1) ? o[0].charAt(0) + o[1].charAt(0) + o[2].charAt(0) + o[3].charAt(0) : o.join("") } function he(e, t, r, n) { var i = [Me(Be(n)), Me(Math.round(e).toString(16)), Me(Math.round(t).toString(16)), Me(Math.round(r).toString(16))] return i.join("") } function me(e, t) { t = 0 === t ? 0 : t || 10 var r = oe(e).toHsl() return (r.s -= t / 100), (r.s = je(r.s)), oe(r) } function ge(e, t) { t = 0 === t ? 0 : t || 10 var r = oe(e).toHsl() return (r.s += t / 100), (r.s = je(r.s)), oe(r) } function ye(e) { return oe(e).desaturate(100) } function ve(e, t) { t = 0 === t ? 0 : t || 10 var r = oe(e).toHsl() return (r.l += t / 100), (r.l = je(r.l)), oe(r) } function be(e, t) { t = 0 === t ? 0 : t || 10 var r = oe(e).toRgb() return ( (r.r = Math.max(0, Math.min(255, r.r - Math.round((-t / 100) * 255)))), (r.g = Math.max(0, Math.min(255, r.g - Math.round((-t / 100) * 255)))), (r.b = Math.max(0, Math.min(255, r.b - Math.round((-t / 100) * 255)))), oe(r) ) } function we(e, t) { t = 0 === t ? 0 : t || 10 var r = oe(e).toHsl() return (r.l -= t / 100), (r.l = je(r.l)), oe(r) } function xe(e, t) { var r = oe(e).toHsl(), n = (r.h + t) % 360 return (r.h = n < 0 ? 360 + n : n), oe(r) } function Ae(e) { var t = oe(e).toHsl() return (t.h = (t.h + 180) % 360), oe(t) } function _e(e, t) { if (isNaN(t) || t <= 0) throw new Error("Argument to polyad must be a positive number") for (var r = oe(e).toHsl(), n = [oe(e)], i = 360 / t, o = 1; o < t; o++) n.push( oe({ h: (r.h + o * i) % 360, s: r.s, l: r.l }) ) return n } function Te(e) { var t = oe(e).toHsl(), r = t.h return [ oe(e), oe({ h: (r + 72) % 360, s: t.s, l: t.l }), oe({ h: (r + 216) % 360, s: t.s, l: t.l }) ] } function Ee(e, t, r) { ;(t = t || 6), (r = r || 30) var n = oe(e).toHsl(), i = 360 / r, o = [oe(e)] for (n.h = (n.h - ((i * t) >> 1) + 720) % 360; --t; ) (n.h = (n.h + i) % 360), o.push(oe(n)) return o } function Se(e, t) { t = t || 6 var r = oe(e).toHsv(), n = r.h, i = r.s, o = r.v, a = [], s = 1 / t while (t--) a.push( oe({ h: n, s: i, v: o }) ), (o = (o + s) % 1) return a } ;(oe.prototype = { isDark: function () { return this.getBrightness() < 128 }, isLight: function () { return !this.isDark() }, isValid: function () { return this._ok }, getOriginalInput: function () { return this._originalInput }, getFormat: function () { return this._format }, getAlpha: function () { return this._a }, getBrightness: function () { var e = this.toRgb() return (299 * e.r + 587 * e.g + 114 * e.b) / 1e3 }, getLuminance: function () { var e, t, r, n, i, o, a = this.toRgb() return ( (e = a.r / 255), (t = a.g / 255), (r = a.b / 255), (n = e <= 0.03928 ? e / 12.92 : Math.pow((e + 0.055) / 1.055, 2.4)), (i = t <= 0.03928 ? t / 12.92 : Math.pow((t + 0.055) / 1.055, 2.4)), (o = r <= 0.03928 ? r / 12.92 : Math.pow((r + 0.055) / 1.055, 2.4)), 0.2126 * n + 0.7152 * i + 0.0722 * o ) }, setAlpha: function (e) { return (this._a = Pe(e)), (this._roundA = Math.round(100 * this._a) / 100), this }, toHsv: function () { var e = ue(this._r, this._g, this._b) return { h: 360 * e.h, s: e.s, v: e.v, a: this._a } }, toHsvString: function () { var e = ue(this._r, this._g, this._b), t = Math.round(360 * e.h), r = Math.round(100 * e.s), n = Math.round(100 * e.v) return 1 == this._a ? "hsv(" + t + ", " + r + "%, " + n + "%)" : "hsva(" + t + ", " + r + "%, " + n + "%, " + this._roundA + ")" }, toHsl: function () { var e = le(this._r, this._g, this._b) return { h: 360 * e.h, s: e.s, l: e.l, a: this._a } }, toHslString: function () { var e = le(this._r, this._g, this._b), t = Math.round(360 * e.h), r = Math.round(100 * e.s), n = Math.round(100 * e.l) return 1 == this._a ? "hsl(" + t + ", " + r + "%, " + n + "%)" : "hsla(" + t + ", " + r + "%, " + n + "%, " + this._roundA + ")" }, toHex: function (e) { return pe(this._r, this._g, this._b, e) }, toHexString: function (e) { return "#" + this.toHex(e) }, toHex8: function (e) { return de(this._r, this._g, this._b, this._a, e) }, toHex8String: function (e) { return "#" + this.toHex8(e) }, toRgb: function () { return { r: Math.round(this._r), g: Math.round(this._g), b: Math.round(this._b), a: this._a } }, toRgbString: function () { return 1 == this._a ? "rgb(" + Math.round(this._r) + ", " + Math.round(this._g) + ", " + Math.round(this._b) + ")" : "rgba(" + Math.round(this._r) + ", " + Math.round(this._g) + ", " + Math.round(this._b) + ", " + this._roundA + ")" }, toPercentageRgb: function () { return { r: Math.round(100 * Oe(this._r, 255)) + "%", g: Math.round(100 * Oe(this._g, 255)) + "%", b: Math.round(100 * Oe(this._b, 255)) + "%", a: this._a } }, toPercentageRgbString: function () { return 1 == this._a ? "rgb(" + Math.round(100 * Oe(this._r, 255)) + "%, " + Math.round(100 * Oe(this._g, 255)) + "%, " + Math.round(100 * Oe(this._b, 255)) + "%)" : "rgba(" + Math.round(100 * Oe(this._r, 255)) + "%, " + Math.round(100 * Oe(this._g, 255)) + "%, " + Math.round(100 * Oe(this._b, 255)) + "%, " + this._roundA + ")" }, toName: function () { return 0 === this._a ? "transparent" : !(this._a < 1) && (ke[pe(this._r, this._g, this._b, !0)] || !1) }, toFilter: function (e) { var t = "#" + he(this._r, this._g, this._b, this._a), r = t, n = this._gradientType ? "GradientType = 1, " : "" if (e) { var i = oe(e) r = "#" + he(i._r, i._g, i._b, i._a) } return "progid:DXImageTransform.Microsoft.gradient(" + n + "startColorstr=" + t + ",endColorstr=" + r + ")" }, toString: function (e) { var t = !!e e = e || this._format var r = !1, n = this._a < 1 && this._a >= 0, i = !t && n && ("hex" === e || "hex6" === e || "hex3" === e || "hex4" === e || "hex8" === e || "name" === e) return i ? "name" === e && 0 === this._a ? this.toName() : this.toRgbString() : ("rgb" === e && (r = this.toRgbString()), "prgb" === e && (r = this.toPercentageRgbString()), ("hex" !== e && "hex6" !== e) || (r = this.toHexString()), "hex3" === e && (r = this.toHexString(!0)), "hex4" === e && (r = this.toHex8String(!0)), "hex8" === e && (r = this.toHex8String()), "name" === e && (r = this.toName()), "hsl" === e && (r = this.toHslString()), "hsv" === e && (r = this.toHsvString()), r || this.toHexString()) }, clone: function () { return oe(this.toString()) }, _applyModification: function (e, t) { var r = e.apply(null, [this].concat([].slice.call(t))) return (this._r = r._r), (this._g = r._g), (this._b = r._b), this.setAlpha(r._a), this }, lighten: function () { return this._applyModification(ve, arguments) }, brighten: function () { return this._applyModification(be, arguments) }, darken: function () { return this._applyModification(we, arguments) }, desaturate: function () { return this._applyModification(me, arguments) }, saturate: function () { return this._applyModification(ge, arguments) }, greyscale: function () { return this._applyModification(ye, arguments) }, spin: function () { return this._applyModification(xe, arguments) }, _applyCombination: function (e, t) { return e.apply(null, [this].concat([].slice.call(t))) }, analogous: function () { return this._applyCombination(Ee, arguments) }, complement: function () { return this._applyCombination(Ae, arguments) }, monochromatic: function () { return this._applyCombination(Se, arguments) }, splitcomplement: function () { return this._applyCombination(Te, arguments) }, triad: function () { return this._applyCombination(_e, [3]) }, tetrad: function () { return this._applyCombination(_e, [4]) } }), (oe.fromRatio = function (e, t) { if ("object" == z(e)) { var r = {} for (var n in e) e.hasOwnProperty(n) && (r[n] = "a" === n ? e[n] : De(e[n])) e = r } return oe(e, t) }), (oe.equals = function (e, t) { return !(!e || !t) && oe(e).toRgbString() == oe(t).toRgbString() }), (oe.random = function () { return oe.fromRatio({ r: Math.random(), g: Math.random(), b: Math.random() }) }), (oe.mix = function (e, t, r) { r = 0 === r ? 0 : r || 50 var n = oe(e).toRgb(), i = oe(t).toRgb(), o = r / 100, a = { r: (i.r - n.r) * o + n.r, g: (i.g - n.g) * o + n.g, b: (i.b - n.b) * o + n.b, a: (i.a - n.a) * o + n.a } return oe(a) }), (oe.readability = function (e, t) { var r = oe(e), n = oe(t) return (Math.max(r.getLuminance(), n.getLuminance()) + 0.05) / (Math.min(r.getLuminance(), n.getLuminance()) + 0.05) }), (oe.isReadable = function (e, t, r) { var n, i, o = oe.readability(e, t) switch (((i = !1), (n = Ge(r)), n.level + n.size)) { case "AAsmall": case "AAAlarge": i = o >= 4.5 break case "AAlarge": i = o >= 3 break case "AAAsmall": i = o >= 7 break } return i }), (oe.mostReadable = function (e, t, r) { var n, i, o, a, s = null, l = 0 ;(r = r || {}), (i = r.includeFallbackColors), (o = r.level), (a = r.size) for (var c = 0; c < t.length; c++) (n = oe.readability(e, t[c])), n > l && ((l = n), (s = oe(t[c]))) return oe.isReadable(e, s, { level: o, size: a }) || !i ? s : ((r.includeFallbackColors = !1), oe.mostReadable(e, ["#fff", "#000"], r)) }) var Ce = (oe.names = { aliceblue: "f0f8ff", antiquewhite: "faebd7", aqua: "0ff", aquamarine: "7fffd4", azure: "f0ffff", beige: "f5f5dc", bisque: "ffe4c4", black: "000", blanchedalmond: "ffebcd", blue: "00f", blueviolet: "8a2be2", brown: "a52a2a", burlywood: "deb887", burntsienna: "ea7e5d", cadetblue: "5f9ea0", chartreuse: "7fff00", chocolate: "d2691e", coral: "ff7f50", cornflowerblue: "6495ed", cornsilk: "fff8dc", crimson: "dc143c", cyan: "0ff", darkblue: "00008b", darkcyan: "008b8b", darkgoldenrod: "b8860b", darkgray: "a9a9a9", darkgreen: "006400", darkgrey: "a9a9a9", darkkhaki: "bdb76b", darkmagenta: "8b008b", darkolivegreen: "556b2f", darkorange: "ff8c00", darkorchid: "9932cc", darkred: "8b0000", darksalmon: "e9967a", darkseagreen: "8fbc8f", darkslateblue: "483d8b", darkslategray: "2f4f4f", darkslategrey: "2f4f4f", darkturquoise: "00ced1", darkviolet: "9400d3", deeppink: "ff1493", deepskyblue: "00bfff", dimgray: "696969", dimgrey: "696969", dodgerblue: "1e90ff", firebrick: "b22222", floralwhite: "fffaf0", forestgreen: "228b22", fuchsia: "f0f", gainsboro: "dcdcdc", ghostwhite: "f8f8ff", gold: "ffd700", goldenrod: "daa520", gray: "808080", green: "008000", greenyellow: "adff2f", grey: "808080", honeydew: "f0fff0", hotpink: "ff69b4", indianred: "cd5c5c", indigo: "4b0082", ivory: "fffff0", khaki: "f0e68c", lavender: "e6e6fa", lavenderblush: "fff0f5", lawngreen: "7cfc00", lemonchiffon: "fffacd", lightblue: "add8e6", lightcoral: "f08080", lightcyan: "e0ffff", lightgoldenrodyellow: "fafad2", lightgray: "d3d3d3", lightgreen: "90ee90", lightgrey: "d3d3d3", lightpink: "ffb6c1", lightsalmon: "ffa07a", lightseagreen: "20b2aa", lightskyblue: "87cefa", lightslategray: "789", lightslategrey: "789", lightsteelblue: "b0c4de", lightyellow: "ffffe0", lime: "0f0", limegreen: "32cd32", linen: "faf0e6", magenta: "f0f", maroon: "800000", mediumaquamarine: "66cdaa", mediumblue: "0000cd", mediumorchid: "ba55d3", mediumpurple: "9370db", mediumseagreen: "3cb371", mediumslateblue: "7b68ee", mediumspringgreen: "00fa9a", mediumturquoise: "48d1cc", mediumvioletred: "c71585", midnightblue: "191970", mintcream: "f5fffa", mistyrose: "ffe4e1", moccasin: "ffe4b5", navajowhite: "ffdead", navy: "000080", oldlace: "fdf5e6", olive: "808000", olivedrab: "6b8e23", orange: "ffa500", orangered: "ff4500", orchid: "da70d6", palegoldenrod: "eee8aa", palegreen: "98fb98", paleturquoise: "afeeee", palevioletred: "db7093", papayawhip: "ffefd5", peachpuff: "ffdab9", peru: "cd853f", pink: "ffc0cb", plum: "dda0dd", powderblue: "b0e0e6", purple: "800080", rebeccapurple: "663399", red: "f00", rosybrown: "bc8f8f", royalblue: "4169e1", saddlebrown: "8b4513", salmon: "fa8072", sandybrown: "f4a460", seagreen: "2e8b57", seashell: "fff5ee", sienna: "a0522d", silver: "c0c0c0", skyblue: "87ceeb", slateblue: "6a5acd", slategray: "708090", slategrey: "708090", snow: "fffafa", springgreen: "00ff7f", steelblue: "4682b4", tan: "d2b48c", teal: "008080", thistle: "d8bfd8", tomato: "ff6347", turquoise: "40e0d0", violet: "ee82ee", wheat: "f5deb3", white: "fff", whitesmoke: "f5f5f5", yellow: "ff0", yellowgreen: "9acd32" }), ke = (oe.hexNames = Le(Ce)) function Le(e) { var t = {} for (var r in e) e.hasOwnProperty(r) && (t[e[r]] = r) return t } function Pe(e) { return (e = parseFloat(e)), (isNaN(e) || e < 0 || e > 1) && (e = 1), e } function Oe(e, t) { Ie(e) && (e = "100%") var r = Ne(e) return ( (e = Math.min(t, Math.max(0, parseFloat(e)))), r && (e = parseInt(e * t, 10) / 100), Math.abs(e - t) < 1e-6 ? 1 : (e % t) / parseFloat(t) ) } function je(e) { return Math.min(1, Math.max(0, e)) } function Re(e) { return parseInt(e, 16) } function Ie(e) { return "string" == typeof e && -1 != e.indexOf(".") && 1 === parseFloat(e) } function Ne(e) { return "string" === typeof e && -1 != e.indexOf("%") } function Me(e) { return 1 == e.length ? "0" + e : "" + e } function De(e) { return e <= 1 && (e = 100 * e + "%"), e } function Be(e) { return Math.round(255 * parseFloat(e)).toString(16) } function Fe(e) { return Re(e) / 255 } var Ue = (function () { var e = "[-\\+]?\\d+%?", t = "[-\\+]?\\d*\\.\\d+%?", r = "(?:" + t + ")|(?:" + e + ")", n = "[\\s|\\(]+(" + r + ")[,|\\s]+(" + r + ")[,|\\s]+(" + r + ")\\s*\\)?", i = "[\\s|\\(]+(" + r + ")[,|\\s]+(" + r + ")[,|\\s]+(" + r + ")[,|\\s]+(" + r + ")\\s*\\)?" return { CSS_UNIT: new RegExp(r), rgb: new RegExp("rgb" + n), rgba: new RegExp("rgba" + i), hsl: new RegExp("hsl" + n), hsla: new RegExp("hsla" + i), hsv: new RegExp("hsv" + n), hsva: new RegExp("hsva" + i), hex3: /^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/, hex6: /^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/, hex4: /^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/, hex8: /^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/ } })() function ze(e) { return !!Ue.CSS_UNIT.exec(e) } function qe(e) { e = e.replace(ne, "").replace(ie, "").toLowerCase() var t, r = !1 if (Ce[e]) (e = Ce[e]), (r = !0) else if ("transparent" == e) return { r: 0, g: 0, b: 0, a: 0, format: "name" } return (t = Ue.rgb.exec(e)) ? { r: t[1], g: t[2], b: t[3] } : (t = Ue.rgba.exec(e)) ? { r: t[1], g: t[2], b: t[3], a: t[4] } : (t = Ue.hsl.exec(e)) ? { h: t[1], s: t[2], l: t[3] } : (t = Ue.hsla.exec(e)) ? { h: t[1], s: t[2], l: t[3], a: t[4] } : (t = Ue.hsv.exec(e)) ? { h: t[1], s: t[2], v: t[3] } : (t = Ue.hsva.exec(e)) ? { h: t[1], s: t[2], v: t[3], a: t[4] } : (t = Ue.hex8.exec(e)) ? { r: Re(t[1]), g: Re(t[2]), b: Re(t[3]), a: Fe(t[4]), format: r ? "name" : "hex8" } : (t = Ue.hex6.exec(e)) ? { r: Re(t[1]), g: Re(t[2]), b: Re(t[3]), format: r ? "name" : "hex" } : (t = Ue.hex4.exec(e)) ? { r: Re(t[1] + "" + t[1]), g: Re(t[2] + "" + t[2]), b: Re(t[3] + "" + t[3]), a: Fe(t[4] + "" + t[4]), format: r ? "name" : "hex8" } : !!(t = Ue.hex3.exec(e)) && { r: Re(t[1] + "" + t[1]), g: Re(t[2] + "" + t[2]), b: Re(t[3] + "" + t[3]), format: r ? "name" : "hex" } } function Ge(e) { var t, r return ( (e = e || { level: "AA", size: "small" }), (t = (e.level || "AA").toUpperCase()), (r = (e.size || "small").toLowerCase()), "AA" !== t && "AAA" !== t && (t = "AA"), "small" !== r && "large" !== r && (r = "small"), { level: t, size: r } ) } var We = ["style", "script", "template"], Ve = ["html", "head", "body", "p", "dt", "dd", "li", "option", "thead", "th", "tbody", "tr", "td", "tfoot", "colgroup"], He = { li: ["ul", "ol", "menu"], dt: ["dl"], dd: ["dl"], tbody: ["table"], thead: ["table"], tfoot: ["table"], tr: ["table"], td: ["table"] }, Xe = [ "!doctype", "area", "base", "br", "col", "command", "embed", "hr", "img", "input", "keygen", "link", "meta", "param", "source", "track", "wbr" ], Ye = function (e, t) { var r = t - e.position Ke(e, r) }, Ke = function (e, t) { e.position = e.position + t }, Ze = function (e, t) { var r = !1 while (!r) { var n = e.indexOf("<", t) if (-1 === n) return n var i = e.charAt(n + 1) if ("/" === i || "!" === i || /[A-Za-z0-9]/.test(i)) return n t = n + 1 } return -1 }, Qe = function (e) { var t = e.str, r = Ze(t, e.position) if (r !== e.position) { ;-1 === r && (r = t.length) var n = t.slice(e.position, r) Ye(e, r), e.tokens.push({ type: "text", content: n }) } }, Je = function (e) { var t = e.str Ke(e, 4) var r = t.indexOf("--\x3e", e.position), n = r + 3 ;-1 === r && (r = n = t.length) var i = t.slice(e.position, r) Ye(e, n), e.tokens.push({ type: "comment", content: i }) }, $e = function (e) { var t = e.str, r = t.length, n = e.position while (n < r) { var i = t.charAt(n), o = !(/\s/.test(i) || "/" === i || ">" === i) if (o) break n++ } var a = n + 1 while (a < r) { var s = t.charAt(a), l = !(/\s/.test(s) || "/" === s || ">" === s) if (!l) break a++ } Ye(e, a) var c = t.slice(n, a) return ( e.tokens.push({ type: "tag", content: c }), c ) }, et = function (e) { var t = e.str, r = e.tokens, n = e.position, i = null, o = n, a = [], l = t.length while (n < l) { var c = t.charAt(n) if (i) { var u = c === i u && (i = null), n++ } else { var f = "/" === c || ">" === c if (f) { n !== o && a.push(t.slice(o, n)) break } var p = /\s/.test(c) if (p) n !== o && a.push(t.slice(o, n)), (o = n + 1), n++ else { var d = "'" === c || '"' === c d ? ((i = c), n++) : n++ } } } Ye(e, n) for (var h = "attribute", m = 0; m < a.length; m++) { var g = a[m], y = -1 === g.indexOf("=") if (y) { var v = a[m + 1] if (v && Object(s["startsWith"])(v, "=")) { if (v.length > 1) { var b = g + v r.push({ type: h, content: b }), (m += 1) continue } var w = a[m + 2] if (((m += 1), w)) { var x = g + "=" + w r.push({ type: h, content: x }), (m += 1) continue } } } if (Object(s["endsWith"])(g, "=")) { var A = a[m + 1] if (A && -1 === A.indexOf("=")) { var _ = g + A r.push({ type: h, content: _ }), (m += 1) continue } var T = g.slice(0, -1) r.push({ type: h, content: T }) } else r.push({ type: h, content: g }) } }, tt = function (e, t) { var r = t.str, n = t.tokens, i = e.toLowerCase(), o = r.length, a = t.position while (a < o) { var s = r.indexOf("", a) if (-1 === s) { Qe(t) break } var l = { str: r, position: t.position, tokens: [] } Ye(l, s) var c = rt(l) if (i === c.toLowerCase()) { if (s !== t.position) { var u = t.position Ye(t, s), n.push({ type: "text", content: r.slice(u, s) }) } n.push.apply(n, N(l.tokens)), Ye(t, l.position) break } a = l.position } }, rt = function (e) { var t = e.str, r = t.charAt(e.position + 1), n = "/" === r Ke(e, n ? 2 : 1), e.tokens.push({ type: "tag-start", close: n }) var i = $e(e) et(e) var o = t.charAt(e.position), a = "/" === o return ( Ke(e, a ? 2 : 1), e.tokens.push({ type: "tag-end", close: a }), i ) }, nt = function (e) { var t = e.str, r = t.length while (e.position < r) { var n = e.position if ((Qe(e), e.position === n)) { var i = Object(s["startsWith"])(t, "!--", n + 1) if (i) Je(e) else { var o = rt(e), a = o.toLowerCase() We.includes(a) && tt(o, e) } } } }, it = function (e) { var t = { str: e, position: 0, tokens: [] } return nt(t), t.tokens }, ot = function (e) { var t = { tagName: null, children: [] }, r = { tokens: e, cursor: 0, stack: [t] } return lt(r), t.children }, at = function (e, t) { var r = He[e] if (r) { var n = t.length - 1 while (n >= 0) { var i = t[n].tagName if (i === e) break if (r.includes(i)) return !0 n-- } } return !1 }, st = function (e, t) { e.splice(t) }, lt = function e(t) { var r = t.stack, n = t.tokens, i = t.cursor, o = r[r.length - 1].children, a = n.length while (i < a) { var s = n[i] if ("tag-start" === s.type) { var l = n[++i] i++ var c = l.content.toLowerCase() if (s.close) { var u = r.length, f = !1 while (--u > -1) if (r[u].tagName === c) { f = !0 break } while (i < a) { if ("tag-end" !== n[i].type) break i++ } if (f) { st(r, u) break } } else { var p = Ve.includes(c), d = p if ((d && (d = !at(c, r)), d)) { var h = r.length - 1 while (h > 0) { if (c === r[h].tagName) { st(r, h) var m = h - 1 o = r[m].children break } h -= 1 } } var g = [], y = void 0 while (i < a) { var v = n[i] if ("tag-end" === v.type) { y = v break } g.push(v.content), i++ } if (!y) break i++ var b = [], w = { type: "element", tagName: l.content, attributes: g, children: b } o.push(w) var x = !(y.close || Xe.includes(c)) if (x) { r.push({ tagName: c, children: b }) var A = { tokens: n, cursor: i, stack: r } e(A), (i = A.cursor) } } } else o.push(s), i++ } t.cursor = i }, ct = function (e, t) { var r = e.indexOf(t) return -1 === r ? [e] : [e.slice(0, r), e.slice(r + t.length)] }, ut = function (e) { var t = e.charAt(0), r = e.length - 1, n = '"' === t || "'" === t return n && t === e.charAt(r) ? e.slice(1, r) : e }, ft = function (e) { return e.map(function (e) { var t = ct(e.trim(), "="), r = t[0], n = "string" === typeof t[1] ? ut(t[1]) : null return { key: r, value: n } }) }, pt = function e(t) { return t.map(function (t) { if ("element" === t.type) { var r = e(t.children), n = { type: "element", tagName: t.tagName.toLowerCase(), attributes: ft(t.attributes), children: r } return n } var i = { type: t.type, content: t.content } return i }) }, dt = function (e) { var t = it(e), r = ot(t) return pt(r) }, ht = 96, mt = 0.75, gt = function (e) { var t = oe(e), r = t.getAlpha(), n = 0 === r ? "#ffffff" : t.setAlpha(1).toHexString() return { alpha: r, color: n } }, yt = function (e) { var t = dt(e), r = !1, n = 0, i = [], o = function e(t) { var o, a = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {}, s = I(t) try { for (s.s(); !(o = s.n()).done; ) { var c = o.value, u = "tagName" in c && ["div", "li", "p"].includes(c.tagName) if (u && i.length) { var f = i[i.length - 1] f.options || (f.options = {}), (f.options.breakLine = !0) } var p = P({}, a), d = "attributes" in c ? c.attributes.find(function (e) { return "style" === e.key }) : null if (d && d.value) { var h, m = d.value.split(";"), g = I(m) try { for (g.s(); !(h = g.n()).done; ) { var y = h.value, v = y.split(": "), b = E(v, 2), w = b[0], x = b[1], A = [l.a.trim(w), l.a.trim(x)], _ = A[0], T = A[1] _ && T && (p[_] = T) var S = y.split(":"), C = E(S, 2), k = C[0], L = C[1], O = [l.a.trim(k), l.a.trim(L)], j = O[0], R = O[1] j && R && (p[j] = R) } } catch (F) { g.e(F) } finally { g.f() } } if ("tagName" in c) { if ( ("em" === c.tagName && (p["font-style"] = "italic"), "strong" === c.tagName && (p["font-weight"] = "bold"), "sup" === c.tagName && (p["vertical-align"] = "super"), "sub" === c.tagName && (p["vertical-align"] = "sub"), "a" === c.tagName) ) { var N = c.attributes.find(function (e) { return "href" === e.key }) p["href"] = (null === N || void 0 === N ? void 0 : N.value) || "" } if ( ("ul" === c.tagName && (p["list-type"] = "ul"), "ol" === c.tagName && (p["list-type"] = "ol"), "li" === c.tagName && (r = !0), "p" === c.tagName && "attributes" in c) ) { var M = c.attributes.find(function (e) { return "data-indent" === e.key }) M && M.value && (n = +M.value) } } if ("tagName" in c && "br" === c.tagName) i.push({ text: "", options: { breakLine: !0 } }) else if ("content" in c) { var D = c.content .replace(/ /g, " ") .replace(/>/g, ">") .replace(/</g, "<") .replace(/&/g, "&") .replace(/\n/g, ""), B = {} p["font-size"] && (B.fontSize = parseInt(p["font-size"]) * mt), p["color"] && (B.color = gt(p["color"]).color), p["background-color"] && (B.highlight = gt(p["background-color"]).color), p["text-decoration-line"] && (-1 !== p["text-decoration-line"].indexOf("underline") && (B.underline = { color: B.color || "#000000", style: "sng" }), -1 !== p["text-decoration-line"].indexOf("line-through") && (B.strike = "sngStrike")), p["text-decoration"] && (-1 !== p["text-decoration"].indexOf("underline") && (B.underline = { color: B.color || "#000000", style: "sng" }), -1 !== p["text-decoration"].indexOf("line-through") && (B.strike = "sngStrike")), p["vertical-align"] && ("super" === p["vertical-align"] && (B.superscript = !0), "sub" === p["vertical-align"] && (B.subscript = !0)), p["text-align"] && (B.align = p["text-align"]), p["font-weight"] && (B.bold = "bold" === p["font-weight"]), p["font-style"] && (B.italic = "italic" === p["font-style"]), p["font-family"] && (B.fontFace = p["font-family"]), p["href"] && (B.hyperlink = { url: p["href"] }), r && "ol" === p["list-type"] && ((B.bullet = { type: "number", indent: 20 * mt }), (B.paraSpaceBefore = 0.1), (r = !1)), r && "ul" === p["list-type"] && ((B.bullet = { indent: 20 * mt }), (B.paraSpaceBefore = 0.1), (r = !1)), n && ((B.indentLevel = n), (n = 0)), i.push({ text: D, options: B }) } else "children" in c && e(c.children, p) } } catch (F) { s.e(F) } finally { s.f() } } return o(t), i }, vt = function (e) { var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : { x: 1, y: 1 } return e.map(function (e) { if (void 0 !== e.close) return { close: !0 } if ("M" === e.type) return { x: (e.x / ht) * t.x, y: (e.y / ht) * t.y, moveTo: !0 } if (e.curve) { if ("cubic" === e.curve.type) return { x: (e.x / ht) * t.x, y: (e.y / ht) * t.y, curve: { type: "cubic", x1: (e.curve.x1 / ht) * t.x, y1: (e.curve.y1 / ht) * t.y, x2: (e.curve.x2 / ht) * t.x, y2: (e.curve.y2 / ht) * t.y } } if ("quadratic" === e.curve.type) return { x: (e.x / ht) * t.x, y: (e.y / ht) * t.y, curve: { type: "quadratic", x1: (e.curve.x1 / ht) * t.x, y1: (e.curve.y1 / ht) * t.y } } } return { x: (e.x / ht) * t.x, y: (e.y / ht) * t.y } }) }, bt = function (e) { var t = gt(e.color), r = e.h, n = e.v, i = 4, o = 45 return ( 0 === r && 0 === n ? ((i = 4), (o = 45)) : 0 === r ? n > 0 ? ((i = n), (o = 90)) : ((i = -n), (o = 270)) : 0 === n ? r > 0 ? ((i = r), (o = 1)) : ((i = -r), (o = 180)) : r > 0 && n > 0 ? ((i = Math.max(r, n)), (o = 45)) : r > 0 && n < 0 ? ((i = Math.max(r, -n)), (o = 315)) : r < 0 && n > 0 ? ((i = Math.max(-r, n)), (o = 135)) : r < 0 && n < 0 && ((i = Math.max(-r, -n)), (o = 225)), { type: "outer", color: t.color.replace("#", ""), opacity: t.alpha, blur: e.blur * mt, offset: i, angle: o } ) }, wt = function (e) { var t = gt((null === e || void 0 === e ? void 0 : e.color) || "#000000") return { color: t.color, transparency: 100 * (1 - t.alpha), width: (e.width || 1) * mt, dashType: "solid" === e.style ? "solid" : "dash" } }, xt = function (e) { var t = e.start.join(","), r = e.end.join(",") if (e.broken) { var n = e.broken.join(",") return "M".concat(t, " L").concat(n, " L").concat(r) } if (e.curve) { var i = e.curve.join(",") return "M".concat(t, " Q").concat(i, " ").concat(r) } if (e.cubic) { var o = E(e.cubic, 2), a = o[0], s = o[1], l = a.join(","), c = s.join(",") return "M".concat(t, " C").concat(l, " ").concat(c, " ").concat(r) } return "M".concat(t, " L").concat(r) }, At = function (e) { var t, r, n, i if ("line" === e.type) (t = e.left), (r = e.left + Math.max(e.start[0], e.end[0])), (n = e.top), (i = e.top + Math.max(e.start[1], e.end[1])) else if ("rotate" in e && e.rotate) { var o = e.left, a = e.top, s = e.width, l = e.height, c = e.rotate, u = _t({ left: o, top: a, width: s, height: l, rotate: c }), f = u.xRange, p = u.yRange ;(t = f[0]), (r = f[1]), (n = p[0]), (i = p[1]) } else (t = e.left), (r = e.left + e.width), (n = e.top), (i = e.top + e.height) return { minX: t, maxX: r, minY: n, maxY: i } }, _t = function (e) { var t = e.left, r = e.top, n = e.width, i = e.height, o = e.rotate, a = void 0 === o ? 0 : o, s = Math.sqrt(Math.pow(n, 2) + Math.pow(i, 2)) / 2, l = (180 * Math.atan(i / n)) / Math.PI, c = ((180 - a - l) * Math.PI) / 180, u = ((l - a) * Math.PI) / 180, f = t + n / 2, p = r + i / 2, d = [f + s * Math.cos(c), f + s * Math.cos(u), f - s * Math.cos(c), f - s * Math.cos(u)], h = [p - s * Math.sin(c), p - s * Math.sin(u), p + s * Math.sin(c), p + s * Math.sin(u)] return { xRange: [Math.min.apply(Math, d), Math.max.apply(Math, d)], yRange: [Math.min.apply(Math, h), Math.max.apply(Math, h)] } }, Tt = function (e) { var t = oe(e) return [t.setAlpha(0.3).toRgbString(), t.setAlpha(0.1).toRgbString()] }, Et = function (e) { var t = e.type, r = e.target if ("web-url" === t) return { url: r } if ("slide" === t) { var n, i = +(null === (n = r.split("-")) || void 0 === n ? void 0 : n[0]) if (-1 !== i) return { slide: i + 1 } } return null }, St = { A3: { name: "A3", width: 10, height: 7.0710678 }, LAYOUT_1920x1200: { name: "LAYOUT_1920x1200", width: 20, height: 12.25 }, LAYOUT_1920x1080: { name: "LAYOUT_1920x1080", width: 20, height: 11.25 }, LAYOUT_1920x1440: { name: "LAYOUT_1920x1440", width: 20, height: 14.5833 } }, Ct = function (e) { Object.entries(St).forEach(function (t) { var r = E(t, 2), n = (r[0], r[1]) e.defineLayout(P({}, n || {})) }) }, kt = function (e, t, r) { switch ((Ct(r), t.viewportRatio)) { case 0.625: r.layout = St.LAYOUT_1920x1200.name break case 0.75: r.layout = St.LAYOUT_1920x1440.name break case 0.70710678: r.layout = St.A3.name break default: r.layout = St.LAYOUT_1920x1080.name break } if (t.masterOverwrite) { var n = gt(e.theme.backgroundColor), i = n.color, o = n.alpha r.defineSlideMaster({ title: "".concat(t.name, "_MASTER"), background: { color: i, transparency: 100 * (1 - o) } }) } return r }, Lt = function (e, t, r, n, i, o) { return new Promise(function (r, i) { for (var o = [], a = 0; a < e.data.series.length; a++) { var s = e.data.series[a] o.push({ name: "系列".concat(a + 1), labels: e.data.labels, values: s }) } var l = [], c = Array.isArray(e.themeColor) ? e.themeColor : [e.themeColor] if (10 === c.length) l = c.map(function (e) { return gt(e).color }) else if (1 === c.length) l = oe(c[0]) .analogous(10) .map(function (e) { return gt(e.toHexString()).color }) else { var u = c.length, f = oe(c[u - 1]) .analogous(11 - u) .map(function (e) { return e.toHexString() }) l = [].concat(N(c.slice(0, u - 1)), N(f)).map(function (e) { return gt(e).color }) } var p = { x: e.left / ht, y: e.top / ht, w: e.width / ht, h: e.height / ht, chartColors: "pie" === e.chartType ? l : l.slice(0, e.data.series.length) } e.fill && (p.plotArea = { fill: { color: gt(e.fill).color } }), e.legend && ((p.showLegend = !0), (p.legendPos = "top" === e.legend ? "t" : "b"), (p.legendColor = gt(e.gridColor || "#000000").color), (p.legendFontSize = 14 * mt)) var d, h = n.ChartType.bar if ("bar" === e.chartType) (h = n.ChartType.bar), (p.barDir = null !== (d = e.options) && void 0 !== d && d.horizontalBars ? "bar" : "col") else if ("line" === e.chartType) { var m, g, y null !== (m = e.options) && void 0 !== m && m.showArea ? (h = n.ChartType.area) : !1 === (null === (g = e.options) || void 0 === g ? void 0 : g.showLine) ? ((h = n.ChartType.scatter), o.unshift({ name: "X-Axis", values: Array(e.data.series[0].length) .fill(0) .map(function (e, t) { return t }) }), (p.lineSize = 0)) : (h = n.ChartType.line), null !== (y = e.options) && void 0 !== y && y.lineSmooth ? (p.lineSmooth = !0) : (p.lineSmooth = !1) } else if ("pie" === e.chartType) { var v null !== (v = e.options) && void 0 !== v && v.donut ? ((h = n.ChartType.doughnut), (p.holeSize = 75)) : (h = n.ChartType.pie) } t.addChart(h, o, p), r(t) }) }, Pt = function (e, t, r, n, i, o) { return new Promise(function (r, n) { var i, o, a = e.src.indexOf("data:image") > -1, s = { path: a ? void 0 : e.src, data: a ? e.src : void 0, x: e.left / ht, y: e.top / ht, w: e.width / ht, h: e.height / ht } if ((e.flipH && (s.flipH = e.flipH), e.flipV && (s.flipV = e.flipV), e.rotate && (s.rotate = e.rotate), e.link)) { var l = Et(e.link) l && (s.hyperlink = l) } if ( (null !== (i = e.filters) && void 0 !== i && i.opacity && (s.transparency = 100 - parseInt(null === (o = e.filters) || void 0 === o ? void 0 : o.opacity)), e.clip) ) { "ellipse" === e.clip.shape && (s.rounding = !0) var c = E(e.clip.range, 2), u = c[0], f = c[1], p = E(u, 2), d = p[0], h = p[1], m = E(f, 2), g = m[0], y = m[1], v = e.width / ((g - d) / ht), b = e.height / ((y - h) / ht) ;(s.w = v / ht), (s.h = b / ht), (s.sizing = { type: "crop", x: ((d / ht) * v) / ht, y: ((h / ht) * b) / ht, w: (((g - d) / ht) * v) / ht, h: (((y - h) / ht) * b) / ht }) } t.addImage(s), r(t) }) }, Ot = function (e, t) { return (Ot = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (e, t) { e.__proto__ = t }) || function (e, t) { for (var r in t) Object.prototype.hasOwnProperty.call(t, r) && (e[r] = t[r]) })(e, t) } function jt(e, t) { if ("function" != typeof t && null !== t) throw new TypeError("Class extends value " + String(t) + " is not a constructor or null") function r() { this.constructor = e } Ot(e, t), (e.prototype = null === t ? Object.create(t) : ((r.prototype = t.prototype), new r())) } function Rt(e) { var t = "" Array.isArray(e) || (e = [e]) for (var r = 0; r < e.length; r++) { var n = e[r] if (n.type === Qt.CLOSE_PATH) t += "z" else if (n.type === Qt.HORIZ_LINE_TO) t += (n.relative ? "h" : "H") + n.x else if (n.type === Qt.VERT_LINE_TO) t += (n.relative ? "v" : "V") + n.y else if (n.type === Qt.MOVE_TO) t += (n.relative ? "m" : "M") + n.x + " " + n.y else if (n.type === Qt.LINE_TO) t += (n.relative ? "l" : "L") + n.x + " " + n.y else if (n.type === Qt.CURVE_TO) t += (n.relative ? "c" : "C") + n.x1 + " " + n.y1 + " " + n.x2 + " " + n.y2 + " " + n.x + " " + n.y else if (n.type === Qt.SMOOTH_CURVE_TO) t += (n.relative ? "s" : "S") + n.x2 + " " + n.y2 + " " + n.x + " " + n.y else if (n.type === Qt.QUAD_TO) t += (n.relative ? "q" : "Q") + n.x1 + " " + n.y1 + " " + n.x + " " + n.y else if (n.type === Qt.SMOOTH_QUAD_TO) t += (n.relative ? "t" : "T") + n.x + " " + n.y else { if (n.type !== Qt.ARC) throw new Error('Unexpected command type "' + n.type + '" at index ' + r + ".") t += (n.relative ? "a" : "A") + n.rX + " " + n.rY + " " + n.xRot + " " + +n.lArcFlag + " " + +n.sweepFlag + " " + n.x + " " + n.y } } return t } function It(e, t) { var r = e[0], n = e[1] return [r * Math.cos(t) - n * Math.sin(t), r * Math.sin(t) + n * Math.cos(t)] } function Nt() { for (var e = [], t = 0; t < arguments.length; t++) e[t] = arguments[t] for (var r = 0; r < e.length; r++) if ("number" != typeof e[r]) throw new Error("assertNumbers arguments[" + r + "] is not a number. " + z(e[r]) + " == typeof " + e[r]) return !0 } var Mt = Math.PI function Dt(e, t, r) { ;(e.lArcFlag = 0 === e.lArcFlag ? 0 : 1), (e.sweepFlag = 0 === e.sweepFlag ? 0 : 1) var n = e.rX, i = e.rY, o = e.x, a = e.y ;(n = Math.abs(e.rX)), (i = Math.abs(e.rY)) var s = It([(t - o) / 2, (r - a) / 2], (-e.xRot / 180) * Mt), l = s[0], c = s[1], u = Math.pow(l, 2) / Math.pow(n, 2) + Math.pow(c, 2) / Math.pow(i, 2) 1 < u && ((n *= Math.sqrt(u)), (i *= Math.sqrt(u))), (e.rX = n), (e.rY = i) var f = Math.pow(n, 2) * Math.pow(c, 2) + Math.pow(i, 2) * Math.pow(l, 2), p = (e.lArcFlag !== e.sweepFlag ? 1 : -1) * Math.sqrt(Math.max(0, (Math.pow(n, 2) * Math.pow(i, 2) - f) / f)), d = ((n * c) / i) * p, h = ((-i * l) / n) * p, m = It([d, h], (e.xRot / 180) * Mt) ;(e.cX = m[0] + (t + o) / 2), (e.cY = m[1] + (r + a) / 2), (e.phi1 = Math.atan2((c - h) / i, (l - d) / n)), (e.phi2 = Math.atan2((-c - h) / i, (-l - d) / n)), 0 === e.sweepFlag && e.phi2 > e.phi1 && (e.phi2 -= 2 * Mt), 1 === e.sweepFlag && e.phi2 < e.phi1 && (e.phi2 += 2 * Mt), (e.phi1 *= 180 / Mt), (e.phi2 *= 180 / Mt) } function Bt(e, t, r) { Nt(e, t, r) var n = e * e + t * t - r * r if (0 > n) return [] if (0 === n) return [[(e * r) / (e * e + t * t), (t * r) / (e * e + t * t)]] var i = Math.sqrt(n) return [ [(e * r + t * i) / (e * e + t * t), (t * r - e * i) / (e * e + t * t)], [(e * r - t * i) / (e * e + t * t), (t * r + e * i) / (e * e + t * t)] ] } var Ft, Ut = Math.PI / 180 function zt(e, t, r) { return (1 - r) * e + r * t } function qt(e, t, r, n) { return e + Math.cos((n / 180) * Mt) * t + Math.sin((n / 180) * Mt) * r } function Gt(e, t, r, n) { var i = 1e-6, o = t - e, a = r - t, s = 3 * o + 3 * (n - r) - 6 * a, l = 6 * (a - o), c = 3 * o return Math.abs(s) < i ? [-c / l] : (function (e, t, r) { void 0 === r && (r = 1e-6) var n = (e * e) / 4 - t if (n < -r) return [] if (n <= r) return [-e / 2] var i = Math.sqrt(n) return [-e / 2 - i, -e / 2 + i] })(l / s, c / s, i) } function Wt(e, t, r, n, i) { var o = 1 - i return e * (o * o * o) + t * (3 * o * o * i) + r * (3 * o * i * i) + n * (i * i * i) } !(function (e) { function t() { return i(function (e, t, r) { return ( e.relative && (void 0 !== e.x1 && (e.x1 += t), void 0 !== e.y1 && (e.y1 += r), void 0 !== e.x2 && (e.x2 += t), void 0 !== e.y2 && (e.y2 += r), void 0 !== e.x && (e.x += t), void 0 !== e.y && (e.y += r), (e.relative = !1)), e ) }) } function r() { var e = NaN, t = NaN, r = NaN, n = NaN return i(function (i, o, a) { return ( i.type & Qt.SMOOTH_CURVE_TO && ((i.type = Qt.CURVE_TO), (e = isNaN(e) ? o : e), (t = isNaN(t) ? a : t), (i.x1 = i.relative ? o - e : 2 * o - e), (i.y1 = i.relative ? a - t : 2 * a - t)), i.type & Qt.CURVE_TO ? ((e = i.relative ? o + i.x2 : i.x2), (t = i.relative ? a + i.y2 : i.y2)) : ((e = NaN), (t = NaN)), i.type & Qt.SMOOTH_QUAD_TO && ((i.type = Qt.QUAD_TO), (r = isNaN(r) ? o : r), (n = isNaN(n) ? a : n), (i.x1 = i.relative ? o - r : 2 * o - r), (i.y1 = i.relative ? a - n : 2 * a - n)), i.type & Qt.QUAD_TO ? ((r = i.relative ? o + i.x1 : i.x1), (n = i.relative ? a + i.y1 : i.y1)) : ((r = NaN), (n = NaN)), i ) }) } function n() { var e = NaN, t = NaN return i(function (r, n, i) { if ( (r.type & Qt.SMOOTH_QUAD_TO && ((r.type = Qt.QUAD_TO), (e = isNaN(e) ? n : e), (t = isNaN(t) ? i : t), (r.x1 = r.relative ? n - e : 2 * n - e), (r.y1 = r.relative ? i - t : 2 * i - t)), r.type & Qt.QUAD_TO) ) { ;(e = r.relative ? n + r.x1 : r.x1), (t = r.relative ? i + r.y1 : r.y1) var o = r.x1, a = r.y1 ;(r.type = Qt.CURVE_TO), (r.x1 = ((r.relative ? 0 : n) + 2 * o) / 3), (r.y1 = ((r.relative ? 0 : i) + 2 * a) / 3), (r.x2 = (r.x + 2 * o) / 3), (r.y2 = (r.y + 2 * a) / 3) } else (e = NaN), (t = NaN) return r }) } function i(e) { var t = 0, r = 0, n = NaN, i = NaN return function (o) { if (isNaN(n) && !(o.type & Qt.MOVE_TO)) throw new Error("path must start with moveto") var a = e(o, t, r, n, i) return ( o.type & Qt.CLOSE_PATH && ((t = n), (r = i)), void 0 !== o.x && (t = o.relative ? t + o.x : o.x), void 0 !== o.y && (r = o.relative ? r + o.y : o.y), o.type & Qt.MOVE_TO && ((n = t), (i = r)), a ) } } function o(e, t, r, n, o, a) { return ( Nt(e, t, r, n, o, a), i(function (i, s, l, c) { var u = i.x1, f = i.x2, p = i.relative && !isNaN(c), d = void 0 !== i.x ? i.x : p ? 0 : s, h = void 0 !== i.y ? i.y : p ? 0 : l function m(e) { return e * e } i.type & Qt.HORIZ_LINE_TO && 0 !== t && ((i.type = Qt.LINE_TO), (i.y = i.relative ? 0 : l)), i.type & Qt.VERT_LINE_TO && 0 !== r && ((i.type = Qt.LINE_TO), (i.x = i.relative ? 0 : s)), void 0 !== i.x && (i.x = i.x * e + h * r + (p ? 0 : o)), void 0 !== i.y && (i.y = d * t + i.y * n + (p ? 0 : a)), void 0 !== i.x1 && (i.x1 = i.x1 * e + i.y1 * r + (p ? 0 : o)), void 0 !== i.y1 && (i.y1 = u * t + i.y1 * n + (p ? 0 : a)), void 0 !== i.x2 && (i.x2 = i.x2 * e + i.y2 * r + (p ? 0 : o)), void 0 !== i.y2 && (i.y2 = f * t + i.y2 * n + (p ? 0 : a)) var g = e * n - t * r if (void 0 !== i.xRot && (1 !== e || 0 !== t || 0 !== r || 1 !== n)) if (0 === g) delete i.rX, delete i.rY, delete i.xRot, delete i.lArcFlag, delete i.sweepFlag, (i.type = Qt.LINE_TO) else { var y = (i.xRot * Math.PI) / 180, v = Math.sin(y), b = Math.cos(y), w = 1 / m(i.rX), x = 1 / m(i.rY), A = m(b) * w + m(v) * x, _ = 2 * v * b * (w - x), T = m(v) * w + m(b) * x, E = A * n * n - _ * t * n + T * t * t, S = _ * (e * n + t * r) - 2 * (A * r * n + T * e * t), C = A * r * r - _ * e * r + T * e * e, k = ((Math.atan2(S, E - C) + Math.PI) % Math.PI) / 2, L = Math.sin(k), P = Math.cos(k) ;(i.rX = Math.abs(g) / Math.sqrt(E * m(P) + S * L * P + C * m(L))), (i.rY = Math.abs(g) / Math.sqrt(E * m(L) - S * L * P + C * m(P))), (i.xRot = (180 * k) / Math.PI) } return void 0 !== i.sweepFlag && 0 > g && (i.sweepFlag = +!i.sweepFlag), i }) ) } function a() { return function (e) { var t = {} for (var r in e) t[r] = e[r] return t } } ;(e.ROUND = function (e) { function t(t) { return Math.round(t * e) / e } return ( void 0 === e && (e = 1e13), Nt(e), function (e) { return ( void 0 !== e.x1 && (e.x1 = t(e.x1)), void 0 !== e.y1 && (e.y1 = t(e.y1)), void 0 !== e.x2 && (e.x2 = t(e.x2)), void 0 !== e.y2 && (e.y2 = t(e.y2)), void 0 !== e.x && (e.x = t(e.x)), void 0 !== e.y && (e.y = t(e.y)), void 0 !== e.rX && (e.rX = t(e.rX)), void 0 !== e.rY && (e.rY = t(e.rY)), e ) } ) }), (e.TO_ABS = t), (e.TO_REL = function () { return i(function (e, t, r) { return ( e.relative || (void 0 !== e.x1 && (e.x1 -= t), void 0 !== e.y1 && (e.y1 -= r), void 0 !== e.x2 && (e.x2 -= t), void 0 !== e.y2 && (e.y2 -= r), void 0 !== e.x && (e.x -= t), void 0 !== e.y && (e.y -= r), (e.relative = !0)), e ) }) }), (e.NORMALIZE_HVZ = function (e, t, r) { return ( void 0 === e && (e = !0), void 0 === t && (t = !0), void 0 === r && (r = !0), i(function (n, i, o, a, s) { if (isNaN(a) && !(n.type & Qt.MOVE_TO)) throw new Error("path must start with moveto") return ( t && n.type & Qt.HORIZ_LINE_TO && ((n.type = Qt.LINE_TO), (n.y = n.relative ? 0 : o)), r && n.type & Qt.VERT_LINE_TO && ((n.type = Qt.LINE_TO), (n.x = n.relative ? 0 : i)), e && n.type & Qt.CLOSE_PATH && ((n.type = Qt.LINE_TO), (n.x = n.relative ? a - i : a), (n.y = n.relative ? s - o : s)), n.type & Qt.ARC && (0 === n.rX || 0 === n.rY) && ((n.type = Qt.LINE_TO), delete n.rX, delete n.rY, delete n.xRot, delete n.lArcFlag, delete n.sweepFlag), n ) }) ) }), (e.NORMALIZE_ST = r), (e.QT_TO_C = n), (e.INFO = i), (e.SANITIZE = function (e) { void 0 === e && (e = 0), Nt(e) var t = NaN, r = NaN, n = NaN, o = NaN return i(function (i, a, s, l, c) { var u = Math.abs, f = !1, p = 0, d = 0 if ( (i.type & Qt.SMOOTH_CURVE_TO && ((p = isNaN(t) ? 0 : a - t), (d = isNaN(r) ? 0 : s - r)), i.type & (Qt.CURVE_TO | Qt.SMOOTH_CURVE_TO) ? ((t = i.relative ? a + i.x2 : i.x2), (r = i.relative ? s + i.y2 : i.y2)) : ((t = NaN), (r = NaN)), i.type & Qt.SMOOTH_QUAD_TO ? ((n = isNaN(n) ? a : 2 * a - n), (o = isNaN(o) ? s : 2 * s - o)) : i.type & Qt.QUAD_TO ? ((n = i.relative ? a + i.x1 : i.x1), (o = i.relative ? s + i.y1 : i.y2)) : ((n = NaN), (o = NaN)), i.type & Qt.LINE_COMMANDS || (i.type & Qt.ARC && (0 === i.rX || 0 === i.rY || !i.lArcFlag)) || i.type & Qt.CURVE_TO || i.type & Qt.SMOOTH_CURVE_TO || i.type & Qt.QUAD_TO || i.type & Qt.SMOOTH_QUAD_TO) ) { var h = void 0 === i.x ? 0 : i.relative ? i.x : i.x - a, m = void 0 === i.y ? 0 : i.relative ? i.y : i.y - s ;(p = isNaN(n) ? (void 0 === i.x1 ? p : i.relative ? i.x : i.x1 - a) : n - a), (d = isNaN(o) ? (void 0 === i.y1 ? d : i.relative ? i.y : i.y1 - s) : o - s) var g = void 0 === i.x2 ? 0 : i.relative ? i.x : i.x2 - a, y = void 0 === i.y2 ? 0 : i.relative ? i.y : i.y2 - s u(h) <= e && u(m) <= e && u(p) <= e && u(d) <= e && u(g) <= e && u(y) <= e && (f = !0) } return i.type & Qt.CLOSE_PATH && u(a - l) <= e && u(s - c) <= e && (f = !0), f ? [] : i }) }), (e.MATRIX = o), (e.ROTATE = function (e, t, r) { void 0 === t && (t = 0), void 0 === r && (r = 0), Nt(e, t, r) var n = Math.sin(e), i = Math.cos(e) return o(i, n, -n, i, t - t * i + r * n, r - t * n - r * i) }), (e.TRANSLATE = function (e, t) { return void 0 === t && (t = 0), Nt(e, t), o(1, 0, 0, 1, e, t) }), (e.SCALE = function (e, t) { return void 0 === t && (t = e), Nt(e, t), o(e, 0, 0, t, 0, 0) }), (e.SKEW_X = function (e) { return Nt(e), o(1, 0, Math.atan(e), 1, 0, 0) }), (e.SKEW_Y = function (e) { return Nt(e), o(1, Math.atan(e), 0, 1, 0, 0) }), (e.X_AXIS_SYMMETRY = function (e) { return void 0 === e && (e = 0), Nt(e), o(-1, 0, 0, 1, e, 0) }), (e.Y_AXIS_SYMMETRY = function (e) { return void 0 === e && (e = 0), Nt(e), o(1, 0, 0, -1, 0, e) }), (e.A_TO_C = function () { return i(function (e, t, r) { return Qt.ARC === e.type ? (function (e, t, r) { var n, i, o, a e.cX || Dt(e, t, r) for ( var s = Math.min(e.phi1, e.phi2), l = Math.max(e.phi1, e.phi2) - s, c = Math.ceil(l / 90), u = new Array(c), f = t, p = r, d = 0; d < c; d++ ) { var h = zt(e.phi1, e.phi2, d / c), m = zt(e.phi1, e.phi2, (d + 1) / c), g = m - h, y = (4 / 3) * Math.tan((g * Ut) / 4), v = [Math.cos(h * Ut) - y * Math.sin(h * Ut), Math.sin(h * Ut) + y * Math.cos(h * Ut)], b = v[0], w = v[1], x = [Math.cos(m * Ut), Math.sin(m * Ut)], A = x[0], _ = x[1], T = [A + y * Math.sin(m * Ut), _ - y * Math.cos(m * Ut)], E = T[0], S = T[1] u[d] = { relative: e.relative, type: Qt.CURVE_TO } var C = function (t, r) { var n = It([t * e.rX, r * e.rY], e.xRot), i = n[0], o = n[1] return [e.cX + i, e.cY + o] } ;(n = C(b, w)), (u[d].x1 = n[0]), (u[d].y1 = n[1]), (i = C(E, S)), (u[d].x2 = i[0]), (u[d].y2 = i[1]), (o = C(A, _)), (u[d].x = o[0]), (u[d].y = o[1]), e.relative && ((u[d].x1 -= f), (u[d].y1 -= p), (u[d].x2 -= f), (u[d].y2 -= p), (u[d].x -= f), (u[d].y -= p)), (f = (a = [u[d].x, u[d].y])[0]), (p = a[1]) } return u })(e, e.relative ? 0 : t, e.relative ? 0 : r) : e }) }), (e.ANNOTATE_ARCS = function () { return i(function (e, t, r) { return e.relative && ((t = 0), (r = 0)), Qt.ARC === e.type && Dt(e, t, r), e }) }), (e.CLONE = a), (e.CALCULATE_BOUNDS = function () { var e = function (e) { var t = {} for (var r in e) t[r] = e[r] return t }, o = t(), a = n(), s = r(), l = i(function (t, r, n) { var i = s(a(o(e(t)))) function c(e) { e > l.maxX && (l.maxX = e), e < l.minX && (l.minX = e) } function u(e) { e > l.maxY && (l.maxY = e), e < l.minY && (l.minY = e) } if ( (i.type & Qt.DRAWING_COMMANDS && (c(r), u(n)), i.type & Qt.HORIZ_LINE_TO && c(i.x), i.type & Qt.VERT_LINE_TO && u(i.y), i.type & Qt.LINE_TO && (c(i.x), u(i.y)), i.type & Qt.CURVE_TO) ) { c(i.x), u(i.y) for (var f = 0, p = Gt(r, i.x1, i.x2, i.x); f < p.length; f++) 0 < (k = p[f]) && 1 > k && c(Wt(r, i.x1, i.x2, i.x, k)) for (var d = 0, h = Gt(n, i.y1, i.y2, i.y); d < h.length; d++) 0 < (k = h[d]) && 1 > k && u(Wt(n, i.y1, i.y2, i.y, k)) } if (i.type & Qt.ARC) { c(i.x), u(i.y), Dt(i, r, n) for ( var m = (i.xRot / 180) * Math.PI, g = Math.cos(m) * i.rX, y = Math.sin(m) * i.rX, v = -Math.sin(m) * i.rY, b = Math.cos(m) * i.rY, w = i.phi1 < i.phi2 ? [i.phi1, i.phi2] : -180 > i.phi2 ? [i.phi2 + 360, i.phi1 + 360] : [i.phi2, i.phi1], x = w[0], A = w[1], _ = function (e) { var t = e[0], r = e[1], n = (180 * Math.atan2(r, t)) / Math.PI return n < x ? n + 360 : n }, T = 0, E = Bt(v, -g, 0).map(_); T < E.length; T++ ) (k = E[T]) > x && k < A && c(qt(i.cX, g, v, k)) for (var S = 0, C = Bt(b, -y, 0).map(_); S < C.length; S++) { var k ;(k = C[S]) > x && k < A && u(qt(i.cY, y, b, k)) } } return t }) return (l.minX = 1 / 0), (l.maxX = -1 / 0), (l.minY = 1 / 0), (l.maxY = -1 / 0), l }) })(Ft || (Ft = {})) var Vt, Ht, Xt = (function () { function e() {} return ( (e.prototype.round = function (e) { return this.transform(Ft.ROUND(e)) }), (e.prototype.toAbs = function () { return this.transform(Ft.TO_ABS()) }), (e.prototype.toRel = function () { return this.transform(Ft.TO_REL()) }), (e.prototype.normalizeHVZ = function (e, t, r) { return this.transform(Ft.NORMALIZE_HVZ(e, t, r)) }), (e.prototype.normalizeST = function () { return this.transform(Ft.NORMALIZE_ST()) }), (e.prototype.qtToC = function () { return this.transform(Ft.QT_TO_C()) }), (e.prototype.aToC = function () { return this.transform(Ft.A_TO_C()) }), (e.prototype.sanitize = function (e) { return this.transform(Ft.SANITIZE(e)) }), (e.prototype.translate = function (e, t) { return this.transform(Ft.TRANSLATE(e, t)) }), (e.prototype.scale = function (e, t) { return this.transform(Ft.SCALE(e, t)) }), (e.prototype.rotate = function (e, t, r) { return this.transform(Ft.ROTATE(e, t, r)) }), (e.prototype.matrix = function (e, t, r, n, i, o) { return this.transform(Ft.MATRIX(e, t, r, n, i, o)) }), (e.prototype.skewX = function (e) { return this.transform(Ft.SKEW_X(e)) }), (e.prototype.skewY = function (e) { return this.transform(Ft.SKEW_Y(e)) }), (e.prototype.xSymmetry = function (e) { return this.transform(Ft.X_AXIS_SYMMETRY(e)) }), (e.prototype.ySymmetry = function (e) { return this.transform(Ft.Y_AXIS_SYMMETRY(e)) }), (e.prototype.annotateArcs = function () { return this.transform(Ft.ANNOTATE_ARCS()) }), e ) })(), Yt = function (e) { return " " === e || "\t" === e || "\r" === e || "\n" === e }, Kt = function (e) { return "0".charCodeAt(0) <= e.charCodeAt(0) && e.charCodeAt(0) <= "9".charCodeAt(0) }, Zt = (function (e) { function t() { var t = e.call(this) || this return ( (t.curNumber = ""), (t.curCommandType = -1), (t.curCommandRelative = !1), (t.canParseCommandOrComma = !0), (t.curNumberHasExp = !1), (t.curNumberHasExpDigits = !1), (t.curNumberHasDecimal = !1), (t.curArgs = []), t ) } return ( jt(t, e), (t.prototype.finish = function (e) { if ((void 0 === e && (e = []), this.parse(" ", e), 0 !== this.curArgs.length || !this.canParseCommandOrComma)) throw new SyntaxError("Unterminated command at the path end.") return e }), (t.prototype.parse = function (e, t) { var r = this void 0 === t && (t = []) for ( var n = function (e) { t.push(e), (r.curArgs.length = 0), (r.canParseCommandOrComma = !0) }, i = 0; i < e.length; i++ ) { var o = e[i], a = !( this.curCommandType !== Qt.ARC || (3 !== this.curArgs.length && 4 !== this.curArgs.length) || 1 !== this.curNumber.length || ("0" !== this.curNumber && "1" !== this.curNumber) ), s = Kt(o) && (("0" === this.curNumber && "0" === o) || a) if (!Kt(o) || s) if ("e" !== o && "E" !== o) if (("-" !== o && "+" !== o) || !this.curNumberHasExp || this.curNumberHasExpDigits) if ("." !== o || this.curNumberHasExp || this.curNumberHasDecimal || a) { if (this.curNumber && -1 !== this.curCommandType) { var l = Number(this.curNumber) if (isNaN(l)) throw new SyntaxError("Invalid number ending at " + i) if (this.curCommandType === Qt.ARC) if (0 === this.curArgs.length || 1 === this.curArgs.length) { if (0 > l) throw new SyntaxError('Expected positive number, got "' + l + '" at index "' + i + '"') } else if ( (3 === this.curArgs.length || 4 === this.curArgs.length) && "0" !== this.curNumber && "1" !== this.curNumber ) throw new SyntaxError('Expected a flag, got "' + this.curNumber + '" at index "' + i + '"') this.curArgs.push(l), this.curArgs.length === Jt[this.curCommandType] && (Qt.HORIZ_LINE_TO === this.curCommandType ? n({ type: Qt.HORIZ_LINE_TO, relative: this.curCommandRelative, x: l }) : Qt.VERT_LINE_TO === this.curCommandType ? n({ type: Qt.VERT_LINE_TO, relative: this.curCommandRelative, y: l }) : this.curCommandType === Qt.MOVE_TO || this.curCommandType === Qt.LINE_TO || this.curCommandType === Qt.SMOOTH_QUAD_TO ? (n({ type: this.curCommandType, relative: this.curCommandRelative, x: this.curArgs[0], y: this.curArgs[1] }), Qt.MOVE_TO === this.curCommandType && (this.curCommandType = Qt.LINE_TO)) : this.curCommandType === Qt.CURVE_TO ? n({ type: Qt.CURVE_TO, relative: this.curCommandRelative, x1: this.curArgs[0], y1: this.curArgs[1], x2: this.curArgs[2], y2: this.curArgs[3], x: this.curArgs[4], y: this.curArgs[5] }) : this.curCommandType === Qt.SMOOTH_CURVE_TO ? n({ type: Qt.SMOOTH_CURVE_TO, relative: this.curCommandRelative, x2: this.curArgs[0], y2: this.curArgs[1], x: this.curArgs[2], y: this.curArgs[3] }) : this.curCommandType === Qt.QUAD_TO ? n({ type: Qt.QUAD_TO, relative: this.curCommandRelative, x1: this.curArgs[0], y1: this.curArgs[1], x: this.curArgs[2], y: this.curArgs[3] }) : this.curCommandType === Qt.ARC && n({ type: Qt.ARC, relative: this.curCommandRelative, rX: this.curArgs[0], rY: this.curArgs[1], xRot: this.curArgs[2], lArcFlag: this.curArgs[3], sweepFlag: this.curArgs[4], x: this.curArgs[5], y: this.curArgs[6] })), (this.curNumber = ""), (this.curNumberHasExpDigits = !1), (this.curNumberHasExp = !1), (this.curNumberHasDecimal = !1), (this.canParseCommandOrComma = !0) } if (!Yt(o)) if ("," === o && this.canParseCommandOrComma) this.canParseCommandOrComma = !1 else if ("+" !== o && "-" !== o && "." !== o) if (s) (this.curNumber = o), (this.curNumberHasDecimal = !1) else { if (0 !== this.curArgs.length) throw new SyntaxError("Unterminated command at index " + i + ".") if (!this.canParseCommandOrComma) throw new SyntaxError( 'Unexpected character "' + o + '" at index ' + i + ". Command cannot follow comma" ) if (((this.canParseCommandOrComma = !1), "z" !== o && "Z" !== o)) if ("h" === o || "H" === o) (this.curCommandType = Qt.HORIZ_LINE_TO), (this.curCommandRelative = "h" === o) else if ("v" === o || "V" === o) (this.curCommandType = Qt.VERT_LINE_TO), (this.curCommandRelative = "v" === o) else if ("m" === o || "M" === o) (this.curCommandType = Qt.MOVE_TO), (this.curCommandRelative = "m" === o) else if ("l" === o || "L" === o) (this.curCommandType = Qt.LINE_TO), (this.curCommandRelative = "l" === o) else if ("c" === o || "C" === o) (this.curCommandType = Qt.CURVE_TO), (this.curCommandRelative = "c" === o) else if ("s" === o || "S" === o) (this.curCommandType = Qt.SMOOTH_CURVE_TO), (this.curCommandRelative = "s" === o) else if ("q" === o || "Q" === o) (this.curCommandType = Qt.QUAD_TO), (this.curCommandRelative = "q" === o) else if ("t" === o || "T" === o) (this.curCommandType = Qt.SMOOTH_QUAD_TO), (this.curCommandRelative = "t" === o) else { if ("a" !== o && "A" !== o) throw new SyntaxError('Unexpected character "' + o + '" at index ' + i + ".") ;(this.curCommandType = Qt.ARC), (this.curCommandRelative = "a" === o) } else t.push({ type: Qt.CLOSE_PATH }), (this.canParseCommandOrComma = !0), (this.curCommandType = -1) } else (this.curNumber = o), (this.curNumberHasDecimal = "." === o) } else (this.curNumber += o), (this.curNumberHasDecimal = !0) else this.curNumber += o else (this.curNumber += o), (this.curNumberHasExp = !0) else (this.curNumber += o), (this.curNumberHasExpDigits = this.curNumberHasExp) } return t }), (t.prototype.transform = function (e) { return Object.create(this, { parse: { value: function (t, r) { void 0 === r && (r = []) for (var n = 0, i = Object.getPrototypeOf(this).parse.call(this, t); n < i.length; n++) { var o = i[n], a = e(o) Array.isArray(a) ? r.push.apply(r, a) : r.push(a) } return r } } }) }), t ) })(Xt), Qt = (function (e) { function t(r) { var n = e.call(this) || this return (n.commands = "string" == typeof r ? t.parse(r) : r), n } return ( jt(t, e), (t.prototype.encode = function () { return t.encode(this.commands) }), (t.prototype.getBounds = function () { var e = Ft.CALCULATE_BOUNDS() return this.transform(e), e }), (t.prototype.transform = function (e) { for (var t = [], r = 0, n = this.commands; r < n.length; r++) { var i = e(n[r]) Array.isArray(i) ? t.push.apply(t, i) : t.push(i) } return (this.commands = t), this }), (t.encode = function (e) { return Rt(e) }), (t.parse = function (e) { var t = new Zt(), r = [] return t.parse(e, r), t.finish(r), r }), (t.CLOSE_PATH = 1), (t.MOVE_TO = 2), (t.HORIZ_LINE_TO = 4), (t.VERT_LINE_TO = 8), (t.LINE_TO = 16), (t.CURVE_TO = 32), (t.SMOOTH_CURVE_TO = 64), (t.QUAD_TO = 128), (t.SMOOTH_QUAD_TO = 256), (t.ARC = 512), (t.LINE_COMMANDS = t.LINE_TO | t.HORIZ_LINE_TO | t.VERT_LINE_TO), (t.DRAWING_COMMANDS = t.HORIZ_LINE_TO | t.VERT_LINE_TO | t.LINE_TO | t.CURVE_TO | t.SMOOTH_CURVE_TO | t.QUAD_TO | t.SMOOTH_QUAD_TO | t.ARC), t ) })(Xt), Jt = (((Vt = {})[Qt.MOVE_TO] = 2), (Vt[Qt.LINE_TO] = 2), (Vt[Qt.HORIZ_LINE_TO] = 1), (Vt[Qt.VERT_LINE_TO] = 1), (Vt[Qt.CLOSE_PATH] = 0), (Vt[Qt.QUAD_TO] = 4), (Vt[Qt.SMOOTH_QUAD_TO] = 2), (Vt[Qt.CURVE_TO] = 6), (Vt[Qt.SMOOTH_CURVE_TO] = 4), (Vt[Qt.ARC] = 7), Vt), $t = (function () { function e(e, t) { var r = [], n = !0, i = !1, o = void 0 try { for (var a, s = e[Symbol.iterator](); !(n = (a = s.next()).done); n = !0) if ((r.push(a.value), t && r.length === t)) break } catch (l) { ;(i = !0), (o = l) } finally { try { !n && s["return"] && s["return"]() } finally { if (i) throw o } } return r } return function (t, r) { if (Array.isArray(t)) return t if (Symbol.iterator in Object(t)) return e(t, r) throw new TypeError("Invalid attempt to destructure non-iterable instance") } })(), er = 2 * Math.PI, tr = function (e, t, r, n, i, o, a) { var s = e.x, l = e.y ;(s *= t), (l *= r) var c = n * s - i * l, u = i * s + n * l return { x: c + o, y: u + a } }, rr = function (e, t) { var r = 1.5707963267948966 === t ? 0.551915024494 : -1.5707963267948966 === t ? -0.551915024494 : (4 / 3) * Math.tan(t / 4), n = Math.cos(e), i = Math.sin(e), o = Math.cos(e + t), a = Math.sin(e + t) return [ { x: n - i * r, y: i + n * r }, { x: o + a * r, y: a - o * r }, { x: o, y: a } ] }, nr = function (e, t, r, n) { var i = e * n - t * r < 0 ? -1 : 1, o = e * r + t * n return o > 1 && (o = 1), o < -1 && (o = -1), i * Math.acos(o) }, ir = function (e, t, r, n, i, o, a, s, l, c, u, f) { var p = Math.pow(i, 2), d = Math.pow(o, 2), h = Math.pow(u, 2), m = Math.pow(f, 2), g = p * d - p * m - d * h g < 0 && (g = 0), (g /= p * m + d * h), (g = Math.sqrt(g) * (a === s ? -1 : 1)) var y = ((g * i) / o) * f, v = ((g * -o) / i) * u, b = c * y - l * v + (e + r) / 2, w = l * y + c * v + (t + n) / 2, x = (u - y) / i, A = (f - v) / o, _ = (-u - y) / i, T = (-f - v) / o, E = nr(1, 0, x, A), S = nr(x, A, _, T) return 0 === s && S > 0 && (S -= er), 1 === s && S < 0 && (S += er), [b, w, E, S] }, or = function (e) { var t = e.px, r = e.py, n = e.cx, i = e.cy, o = e.rx, a = e.ry, s = e.xAxisRotation, l = void 0 === s ? 0 : s, c = e.largeArcFlag, u = void 0 === c ? 0 : c, f = e.sweepFlag, p = void 0 === f ? 0 : f, d = [] if (0 === o || 0 === a) return [] var h = Math.sin((l * er) / 360), m = Math.cos((l * er) / 360), g = (m * (t - n)) / 2 + (h * (r - i)) / 2, y = (-h * (t - n)) / 2 + (m * (r - i)) / 2 if (0 === g && 0 === y) return [] ;(o = Math.abs(o)), (a = Math.abs(a)) var v = Math.pow(g, 2) / Math.pow(o, 2) + Math.pow(y, 2) / Math.pow(a, 2) v > 1 && ((o *= Math.sqrt(v)), (a *= Math.sqrt(v))) var b = ir(t, r, n, i, o, a, u, p, h, m, g, y), w = $t(b, 4), x = w[0], A = w[1], _ = w[2], T = w[3], E = Math.abs(T) / (er / 4) Math.abs(1 - E) < 1e-7 && (E = 1) var S = Math.max(Math.ceil(E), 1) T /= S for (var C = 0; C < S; C++) d.push(rr(_, T)), (_ += T) return d.map(function (e) { var t = tr(e[0], o, a, m, h, x, A), r = t.x, n = t.y, i = tr(e[1], o, a, m, h, x, A), s = i.x, l = i.y, c = tr(e[2], o, a, m, h, x, A), u = c.x, f = c.y return { x1: r, y1: n, x2: s, y2: l, x: u, y: f } }) }, ar = { 1: "Z", 2: "M", 4: "H", 8: "V", 16: "L", 32: "C", 64: "S", 128: "Q", 256: "T", 512: "A" }, sr = function (e) { var t, r = new Qt(e), n = [], i = I(r.commands) try { for (i.s(); !(t = i.n()).done; ) { var o = t.value, a = ar[o.type] if ( ((2 !== o.type && 16 !== o.type) || n.push({ x: o.x, y: o.y, relative: o.relative, type: a }), 32 === o.type) ) n.push({ x: o.x, y: o.y, curve: { type: "cubic", x1: o.x1, y1: o.y1, x2: o.x2, y2: o.y2 }, relative: o.relative, type: a }) else if (128 === o.type) n.push({ x: o.x, y: o.y, curve: { type: "quadratic", x1: o.x1, y1: o.y1 }, relative: o.relative, type: a }) else if (512 === o.type) { var s = n[n.length - 1] if (!["M", "L", "Q", "C"].includes(s.type)) continue var l, c = or({ px: s.x, py: s.y, cx: o.x, cy: o.y, rx: o.rX, ry: o.rY, xAxisRotation: o.xRot, largeArcFlag: o.lArcFlag, sweepFlag: o.sweepFlag }), u = I(c) try { for (u.s(); !(l = u.n()).done; ) { var f = l.value n.push({ x: f.x, y: f.y, curve: { type: "cubic", x1: f.x1, y1: f.y1, x2: f.x2, y2: f.y2 }, relative: !1, type: "C" }) } } catch (p) { u.e(p) } finally { u.f() } } else { if (1 !== o.type) continue n.push({ close: !0, type: a }) } } } catch (p) { i.e(p) } finally { i.f() } return n }, lr = function (e) { var t = "none" switch (e) { case "arrow": t = "arrow" break case "dot": t = "oval" break default: t = "none" break } return t }, cr = function (e, t, r, n, i, o) { return new Promise(function (r, n) { var i = xt(e), o = vt(sr(i)), a = At(e), s = a.minX, l = a.maxX, c = a.minY, u = a.maxY, f = gt(e.color), p = { x: e.left / ht, y: e.top / ht, w: (l - s) / ht, h: (u - c) / ht, line: { color: f.color, transparency: 100 * (1 - f.alpha), width: e.width * mt, dashType: "solid" === e.style ? "solid" : "dash", beginArrowType: lr(e.points[0]), endArrowType: lr(e.points[1]) }, points: o } e.shadow && (p.shadow = bt(e.shadow)), t.addShape("custGeom", p), r(t) }) }, ur = function (e, t, r, n, i, o) { return new Promise(function (r, n) { var i, o = yt(e.content), a = { x: e.left / ht, y: e.top / ht, w: e.width / ht, h: e.height / ht, fontSize: 40 * mt, fontFace: "微软雅黑", color: "#000000", valign: "top", margin: 10 * mt, paraSpaceBefore: 5 * mt, lineSpacingMultiple: 1.2, autoFit: !0 } if ( (e.rotate && (a.rotate = e.rotate), e.wordSpace && (a.charSpacing = e.wordSpace * mt), e.lineHeight && (a.lineSpacingMultiple = e.lineHeight / 1.25), e.fill) ) { var s = gt(e.fill), l = void 0 === e.opacity ? 1 : e.opacity a.fill = { color: s.color, transparency: 100 * (1 - s.alpha * l) } } if ( (e.defaultColor && (a.color = gt(e.defaultColor).color), e.shadow && (a.shadow = bt(e.shadow)), null !== (i = e.outline) && void 0 !== i && i.width && (a.line = wt(e.outline)), void 0 !== e.opacity && (a.transparency = 100 * (1 - e.opacity)), void 0 !== e.paragraphSpace && (a.paraSpaceBefore = e.paragraphSpace * mt), e.vertical && (a.vert = "eaVert"), e.link) ) { var c = Et(e.link) c && (a.hyperlink = c) } ;(o = Array.isArray(o) ? o : [o]), (o = o.map(function (e) { var t = e.text, r = e.options, n = void 0 === r ? {} : r return { text: t, options: P( P({}, n), {}, { fontFace: "微软雅黑" } ) } })), t.addText(o, a), r(t) }) }, fr = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=", pr = "data:image/svg+xml;base64,", dr = function (e) { e = e.replace(/\r\n/g, "\n") for (var t = "", r = 0; r < e.length; r++) { var n = e.charCodeAt(r) n < 128 ? (t += String.fromCharCode(n)) : n > 127 && n < 2048 ? ((t += String.fromCharCode((n >> 6) | 192)), (t += String.fromCharCode((63 & n) | 128))) : ((t += String.fromCharCode((n >> 12) | 224)), (t += String.fromCharCode(((n >> 6) & 63) | 128)), (t += String.fromCharCode((63 & n) | 128))) } return t }, hr = function (e) { var t, r, n, i, o, a, s, l = "", c = 0 e = dr(e) while (c < e.length) (t = e.charCodeAt(c++)), (r = e.charCodeAt(c++)), (n = e.charCodeAt(c++)), (i = t >> 2), (o = ((3 & t) << 4) | (r >> 4)), (a = ((15 & r) << 2) | (n >> 6)), (s = 63 & n), isNaN(r) ? (a = s = 64) : isNaN(n) && (s = 64), (l = l + fr.charAt(i) + fr.charAt(o) + fr.charAt(a) + fr.charAt(s)) return l }, mr = function (e) { return pr + hr(e) }, gr = function (e, t, r, n, i, o) { return new Promise(function (r, n) { if (e.special && e.svgStr) { var i = e.svgStr, o = mr(i), a = { data: o, x: e.left / 100, y: e.top / 100, w: e.width / 100, h: e.height / 100 } if ((e.rotate && (a.rotate = e.rotate), e.link)) { var s = Et(e.link) s && (a.hyperlink = s) } t.addImage(a) } else { var l, c = Array.isArray(e.viewBox) ? e.viewBox : [e.viewBox, e.viewBox], u = { x: e.width / c[0], y: e.height / c[1] } null !== e && void 0 !== e && e.path && e.path.includes("NaN") && r(t) var f = vt(sr(e.path), u), p = gt(e.fill), d = void 0 === e.opacity ? 1 : e.opacity, h = { x: e.left / ht, y: e.top / ht, w: e.width / ht, h: e.height / ht, fill: { color: p.color, transparency: 100 * (1 - p.alpha * d) }, points: f } if ( (e.flipH && (h.flipH = e.flipH), e.flipV && (h.flipV = e.flipV), e.shadow && (h.shadow = bt(e.shadow)), null !== (l = e.outline) && void 0 !== l && l.width && (h.line = wt(e.outline)), e.link) ) { var m = Et(e.link) m && (h.hyperlink = m) } if ((t.addShape("custGeom", h), e.text)) { var g = e.text, y = g.content, v = g.align, b = g.defaultColor, w = yt(y), x = { shape: "custGeom", x: e.left / ht, y: e.top / ht, w: e.width / ht, h: e.height / ht, valign: v, fontSize: 40 * mt, fontFace: "微软雅黑", color: "#000000" } b && (x.color = gt(b).color), (w = Array.isArray(w) ? w : [w]), (w = w.map(function (e) { var t = e.text, r = e.options, n = void 0 === r ? {} : r return { text: t, options: P( P({}, n), {}, { fontFace: "微软雅黑" } ) } })), t.addText(w, x) } } r(t) }) }, yr = function (e, t, r, n, i, o) { return new Promise(function (r, n) { for (var i = [], o = 0; o < e.data.length; o++) for (var a = e.data[o], s = 0; s < a.length; s++) { var l = a[s] if (l.colspan > 1 || l.rowspan > 1) for (var c = o; c < o + l.rowspan; c++) for (var u = c === o ? s + 1 : s; u < s + l.colspan; u++) i.push("".concat(c, "_").concat(u)) } var f = [], p = e.theme, d = null, h = [] p && ((d = gt(p.color)), (h = Tt(p.color).map(function (e) { return gt(e) }))) for (var m = 0; m < e.data.length; m++) { for (var g = e.data[m], y = [], v = 0; v < g.length; v++) { var b, w, x, A, _, T, E, S, C = g[v], k = { colspan: C.colspan, rowspan: C.rowspan, bold: (null === (b = C.style) || void 0 === b ? void 0 : b.bold) || !1, italic: (null === (w = C.style) || void 0 === w ? void 0 : w.em) || !1, underline: { style: null !== (x = C.style) && void 0 !== x && x.underline ? "sng" : "none" }, align: (null === (A = C.style) || void 0 === A ? void 0 : A.align) || "left", valign: "middle", fontFace: "微软雅黑", fontSize: (null !== (_ = C.style) && void 0 !== _ && _.fontsize ? parseInt(null === (T = C.style) || void 0 === T ? void 0 : T.fontsize) : 14) * mt } if (p && d) { var L = void 0 ;(L = m % 2 === 0 ? h[1] : h[0]), ((p.rowHeader && 0 === m) || (p.rowFooter && m === e.data.length - 1) || (p.colHeader && 0 === v) || (p.colFooter && v === g.length - 1)) && (L = d), (k.fill = { color: L.color, transparency: 100 * (1 - L.alpha) }) } if (null !== (E = C.style) && void 0 !== E && E.backcolor) { var P = gt(C.style.backcolor) k.fill = { color: P.color, transparency: 100 * (1 - P.alpha) } } null !== (S = C.style) && void 0 !== S && S.color && (k.color = gt(C.style.color).color), i.includes("".concat(m, "_").concat(v)) || y.push({ text: C.text, options: k }) } y.length && f.push(y) } var O = { x: e.left / ht, y: e.top / ht, w: e.width / ht, h: e.height / ht, colW: e.colWidths.map(function (t) { return (e.width * t) / ht }) } e.theme && (O.fill = { color: "#ffffff" }), e.outline.width && e.outline.color && (O.border = { type: "solid" === e.outline.style ? "solid" : "dash", pt: e.outline.width * mt, color: gt(e.outline.color).color }), t.addTable(f, O), r(t) }) }, vr = function (e) { return new Promise(function (t) { fetch(e) .then(function (e) { return e.blob() }) .then(function (e) { var r = new FileReader() r.addEventListener("load", function () { t(r.result) }), r.readAsDataURL(e) }) }) }, br = function (e) { return new Promise(function (t, r) { e ? vr(e).then(function (e) { return t(e) }) : t(null) }) }, wr = function (e, t, r, n, i, o) { return br(e.poster || e.src + "?x-oss-process=video/snapshot,t_0,f_jpg,w_0,h_0,m_fast").then(function (r) { var n = { type: "online", link: e.src, x: e.left / ht, y: e.top / ht, w: e.width / ht, h: e.height / ht } return ( r && l.a.merge(n, { cover: r }), t.addMedia(n), t ) }) }, xr = function (e, t, r, n, i, o) { return new Promise(function (r, n) { var i = { type: "audio", path: e.src, x: e.left / ht, y: e.top / ht, w: 60 / ht, h: 60 / ht, cover: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEEAAABBCAMAAAC5KTl3AAADdmlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS41LWMwMjEgNzkuMTU1NzcyLCAyMDE0LzAxLzEzLTE5OjQ0OjAwICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtbG5zOnhtcD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLyIgeG1wTU06T3JpZ2luYWxEb2N1bWVudElEPSJ4bXAuZGlkOmVlOTdmZGI5LThjMDQtNGI0YS05NDJlLTcwNDc5NDVmZjVhNiIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDo3OUUwNTgzQTU1NzQxMUU2OTI4Q0I3MTI5MEFDNjdEOCIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDo3OUUwNTgzOTU1NzQxMUU2OTI4Q0I3MTI5MEFDNjdEOCIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxNCAoV2luZG93cykiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo5NGE5MGE1OC01N2YyLTcxNDItYWJmMi1iOTU0MTQ2Y2Y3MzUiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6ZWU5N2ZkYjktOGMwNC00YjRhLTk0MmUtNzA0Nzk0NWZmNWE2Ii8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+BmF+rgAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAACNUExURUdwTOmPTumPTumPTumPTumPTumPTumPTumPTumPTumPTumPTumPTumPTumPTumPTumPTumPTumPTumPTumPTumPTumPTumPTumPTumPTumPTumPTumPTumPTumPTumPTumPTumPTumPTumPTumPTumPTumPTumPTumPTumPTumPTumPTumPTumPTumPToF3nRIAAAAudFJOUwC7HEg57eN/gPkZBlTuLU4e1fD+k7r9NizHysnpEvHTspEXucIIIjjy2JKxB9SH738mAAAA30lEQVRYw+3W2Q6CMBAFUFAQEFFUcN/39f7/5ymJLyaXMG31id7HJj1JM9N2HMfGpnbp7f2+Z7B/d8c7a32g4xcARrr7Hxk++VoOIAWWBzAhgFQ4XcEEOTBegAly4LwCE+RAdwAmyIFGC0yQA/EcTJADzhZUkAPNIReqk+YReKSCCxgKkbGAWgjV4v+FutTCvCfN70Xqmt7NqvdBQbpxIZQT8YyfQoEoeatViJL/QoXwLrwWKkTCq6lATFq8HxSI9pR3VChvi2Om25O/m6OKk2wK4Wk2T+aJ0TxpY2OjlRdpOINRgkW3uAAAAABJRU5ErkJggg==" } t.addMedia(i), r(t) }) }, Ar = function (e, t, r, n, i, o) { return new Promise(function (e, n) { var i = 1080 switch (o.viewportRatio) { case 0.625: i = 1200 break case 0.75: i = 1440 break default: i = 1080 break } // hqy 这里没有预览图的时候会报错,所以加了判空 var a = r.preview || "", // hqy s = a.indexOf("data:image") > -1, l = { path: s ? void 0 : a, data: s ? a : void 0, x: 0 / ht, y: 0 / ht, w: 1920 / ht, h: i / ht } t.addImage(l), e(t) }) }, _r = function (e, t, r, n, i, o) { return new Promise(function (a, s) { var l = null switch (e.subtype) { case "elf-audio": l = xr break case "elf-video": l = wr break case "elf-sing-play": case "elf-enjoy": case "elf-music-rhythm": case "elf-questions-bank": case "elf-carouse-image": l = Ar break } if (!l) return console.warn(new Error("no found elfelement ".concat(e.subtype, " parse Function"))), void a(t) l(e, t, r, n, i, o) .then(function () { return a(t) }) ["catch"](function (e) { return s(e) }) }) }, Tr = function (e, t, r, n, i, o, a, s) { return new Promise(function (l, c) { var u = null switch (t.type) { case "text": u = ur break case "image": u = Pt break case "shape": u = gr break case "line": u = cr break case "chart": u = Lt break case "table": u = yr break case "elf": u = _r break } if (!u) return console.warn(new Error("no found element ".concat(t.type, " parse Function"))), void l(r) a.beforeParseElement && a.beforeParseElement(t, void 0, r, e, s), u(t, r, n, i, o, a) .then(function () { a.afterParseElement && a.afterParseElement(t, void 0, r, e, s) }) .then(function () { return l(r) }) ["catch"](function (e) { return c(e) }) }) }, Er = function (e, t, r, n, i, o) { return new Promise(function (a, s) { var l = r.addSlide() if ((i.beforeParseSlide && i.beforeParseSlide(t, l, e, o), t.background)) { var c = t.background if ("image" === c.type && c.image) { var u = c.image.indexOf("data:image") > -1 l.background = { path: u ? void 0 : c.image, data: u ? c.image : void 0 } } else if ("solid" === c.type && c.color) { var f = gt(c.color) l.background = { color: f.color, transparency: 100 * (1 - f.alpha) } } else if ("gradient" === c.type && c.gradientColor) { var p = E(c.gradientColor, 2), d = p[0], h = p[1], m = oe.mix(d, h).toHexString(), g = gt(m) l.background = { color: g.color, transparency: 100 * (1 - g.alpha) } } } if ((t.remark && l.addNotes(t.remark), t.elements)) { for (var y = [], v = 0; v < t.elements.length; v++) { var b = t.elements[v] y.push(Tr(v + 1, b, l, t, r, n, i, t.elements.length)) } Promise.all(y) .then(function () { i.afterParseSlide && i.afterParseSlide(t, l, e, o) }) .then(function () { return a(l) }) ["catch"](function (e) { return s(e) }) } else a(l) }) }, Sr = function (e, t) { return new Promise(function (r, n) { var i = new a["a"](), o = [] t.beforeParse && t.beforeParse(e, i), kt(e, t, i) for (var s = 0; s < e.slides.length; s++) { var l = e.slides[s] o.push(Er(s + 1, l, i, e, t, e.slides.length)) } Promise.all(o) .then(function () { t.afterParse && t.afterParse(e, i) }) .then(function () { return r(i) }) ["catch"](function (e) { return n(e) }) ["finally"](function () { re.info("fininsh parse json", i) }) }) }, Cr = function (e) { return fetch(e).then(function (e) { return e.json() }) }, kr = (function () { var e = T( A().mark(function e(t, r) { return A().wrap(function (e) { while (1) switch ((e.prev = e.next)) { case 0: return ( (r.viewportRatio = t.theme.viewportRatio), e.abrupt("return", { pptJson: t, json2PptxOption: r }) ) case 2: case "end": return e.stop() } }, e) }) ) return function (t, r) { return e.apply(this, arguments) } })(), Lr = function (e) { var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : { name: "pptist.pptx", viewportRatio: 0.5625 } return new Promise(function (r, n) { Cr(e) .then(function (e) { return kr(e, t) }) .then(function (e) { var t = e.pptJson, r = e.json2PptxOption return Sr(t, r) }) .then(function (e) { return e.write({ outputType: "arraybuffer" }) }) .then(function (e) { return r(e) }) ["catch"](function (e) { return n(e) }) }) }, Pr = function (e) { var t = e.toLowerCase() "#" !== t[0] && (t = "#" + t) var r = /^#([0-9a-fA-f]{3}|[0-9a-fA-f]{6})$/, n = [] if (t && r.test(t)) { if (4 === t.length) { for (var i = "#", o = 1; o < 4; o += 1) i += t.slice(o, o + 1).concat(t.slice(o, o + 1)) t = i } for (var a = 1; a < 7; a += 2) n.push(parseInt("0x" + t.slice(a, a + 2))) } return n }, Or = function (e) { for (var t = "#", r = 0; r < 3; r++) { var n = Number(e[r]).toString(16) n.length < 2 && (n = "0" + n), (t += n) } return t }, jr = function (e, t, r) { var n, i, o = e / 255, a = t / 255, s = r / 255, l = Math.max(o, a, s), c = Math.min(o, a, s), u = (l + c) / 2 if (l === c) (n = 0), (i = 0) else { var f = l - c switch (((i = u > 0.5 ? f / (2 - l - c) : f / (l + c)), l)) { case o: n = (a - s) / f + (a < s ? 6 : 0) break case a: n = (s - o) / f + 2 break case s: n = (o - a) / f + 4 break default: return } console.log("h:", n), (n *= 0.6) } return [n, i, u] }, Rr = function () { var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : 0, t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : 0, r = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : 0, n = (1 - Math.abs(2 * r - 1)) * t, i = n * (1 - Math.abs(((e / 60) % 2) - 1)), o = r - n / 2, a = [] e >= 0 && e < 60 ? a.push(n, i, 0) : e >= 60 && e < 120 ? a.push(i, n, 0) : e >= 120 && e < 180 ? a.push(0, n, i) : e >= 180 && e < 240 ? a.push(0, i, n) : e >= 240 && e < 300 ? a.push(i, 0, n) : e >= 300 && e < 360 && a.push(n, 0, i) var s = a[0], l = a[1], c = a[2], u = 255 * (s + o), f = 255 * (l + o), p = 255 * (c + o) return [Math.round(u), Math.round(f), Math.round(p)] }, Ir = function (e, t) { return Object(f["xml2js"])(e, t) }, Nr = function () { for ( var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : 6, t = "_0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz", r = t.length, n = "", i = 0; i < e; i++ ) { var o = Math.floor(Math.random() * r) n += t[o] } return n }, Mr = function (e) { return e ? (Array.isArray(e) ? e : [e]) : [] }, Dr = function (e) { var t = e / 12700, r = (4 * t) / 3 return r }, Br = function (e) { var t, r, n, i return ( !(null !== e && void 0 !== e && null !== (t = e.spPr) && void 0 !== t && t.xfrm) || (null === e || void 0 === e || null === (r = e.nvSpPr) || void 0 === r || null === (n = r.nvPr) || void 0 === n || null === (i = n.ph) || void 0 === i ? void 0 : i.attributes) ) }, Fr = { compact: !0, ignoreDeclaration: !0, attributesKey: "attributes", elementNameFn: function (e) { return e.replace("p:", "").replace("a:", "") } }, Ur = (function () { var e = T( A().mark(function e(t, r, n, i) { var o, a, s, l, c, u, f, p, d, h, m, g, y, v, b, w, x, _, T, E, S return A().wrap(function (e) { while (1) switch ((e.prev = e.next)) { case 0: ;(o = {}), (a = {}), (s = []), r.forEach(function (e) { s.push(n[e]) }), (l = 0) case 5: if (!(l < s.length)) { e.next = 18 break } return (e.next = 8), s[l].async("string") case 8: for (g in ((p = e.sent), (d = Ir(p, Fr)), (h = null === d || void 0 === d || null === (c = d.theme) || void 0 === c || null === (u = c.themeElements) || void 0 === u ? void 0 : u.clrScheme), (m = {}), h)) (y = h[g]), null !== y && void 0 !== y && y.srgbClr ? (m[g] = null === (v = y.srgbClr.attributes) || void 0 === v ? void 0 : v.val) : null !== y && void 0 !== y && y.sysClr && (m[g] = null === (b = y.sysClr) || void 0 === b || null === (w = b.attributes) || void 0 === w ? void 0 : w.lastClr) ;(x = (null === (f = s[l].name.match(/\d+(.\d+)?/g)) || void 0 === f ? void 0 : f[0]) || l + 1), (o[x] = m) case 15: l++, (e.next = 5) break case 18: ;(_ = []), t.forEach(function (e) { _.push(n[e]) }), (T = []), i.forEach(function (e) { T.push(n[e]) }), (E = A().mark(function e() { var t, r, n, i, s, l, c, u, f return A().wrap(function (e) { while (1) switch ((e.prev = e.next)) { case 0: return (e.next = 2), _[S].async("string") case 2: if ( ((i = e.sent), (s = Ir(i, Fr)), (l = (null === (t = _[S].name.match(/\d+(.\d+)?/g)) || void 0 === t ? void 0 : t[0]) || S + 1), (a[l] = null === s || void 0 === s || null === (r = s.sldMaster) || void 0 === r || null === (n = r.clrMap) || void 0 === n ? void 0 : n.attributes), null === T || void 0 === T || !T[S]) ) { e.next = 13 break } return (e.next = 9), T[S].async("string") case 9: ;(c = e.sent), (u = Ir(c, Fr)), (f = Array.isArray(u.Relationships.Relationship) ? u.Relationships.Relationship : [u.Relationships.Relationship]), null === f || void 0 === f || f.forEach(function (e) { if (e.attributes.Target.includes("theme")) { var t = +e.attributes.Target.replace(/[^0-9]/gi, ""), r = o[t] for (var n in a[l]) { var i, s = a[l][n] r[s] && (a[l][n] = r[s]), (null !== a && void 0 !== a && null !== (i = a[l]) && void 0 !== i && i[s]) || !r[s] || (a[l][s] = r[s]) } } }) case 13: case "end": return e.stop() } }, e) })), (S = 0) case 24: if (!(S < _.length)) { e.next = 29 break } return e.delegateYield(E(), "t0", 26) case 26: S++, (e.next = 24) break case 29: return e.abrupt("return", a) case 30: case "end": return e.stop() } }, e) }) ) return function (t, r, n, i) { return e.apply(this, arguments) } })(), zr = function (e, t, r) { return e[t][r] ? "#".concat(e[t][r]) : "" }, qr = (function () { var e = T( A().mark(function e(t, r) { var n, i, o, a return A().wrap(function (e) { while (1) switch ((e.prev = e.next)) { case 0: return (n = t[r]), (e.next = 3), n.async("string") case 3: return (i = e.sent), (o = Ir(i, Fr)), (a = o.presentation.defaultTextStyle.lvl1pPr), e.abrupt("return", a) case 7: case "end": return e.stop() } }, e) }) ) return function (t, r) { return e.apply(this, arguments) } })(), Gr = (function () { var e = T( A().mark(function e(t, r, n, i) { var o, a, s, l, c, u, f, p, d, h, m, g, y, v, b, w, x, _, T, E, S, C, k, L, P, O, j, R, I, N return A().wrap(function (e) { while (1) switch ((e.prev = e.next)) { case 0: if ( ((h = (null === t || void 0 === t || null === (o = t.nvSpPr) || void 0 === o || null === (a = o.nvPr) || void 0 === a || null === (s = a.ph) || void 0 === s || null === (l = s.attributes) || void 0 === l ? void 0 : l.type) || (null === t || void 0 === t || null === (c = t.nvSpPr) || void 0 === c || null === (u = c.nvPr) || void 0 === u || null === (f = u.ph) || void 0 === f || null === (p = f.attributes) || void 0 === p ? void 0 : p.idx)), (m = null === r || void 0 === r || null === (d = r.Relationships) || void 0 === d ? void 0 : d.Relationship), Array.isArray(m) ? m.forEach(function (e) { var t e.attributes.Type.includes("slideLayout") && (g = null === (t = e.attributes) || void 0 === t ? void 0 : t.Target) }) : (g = null === r || void 0 === r || null === (v = r.Relationships) || void 0 === v || null === (b = v.Relationship) || void 0 === b || null === (w = b.attributes) || void 0 === w ? void 0 : w.Target), !g) ) { e.next = 20 break } return (k = n["ppt".concat(g.replace("..", ""))]), (e.next = 7), k.async("string") case 7: if ( ((L = e.sent), (P = Ir(L, Fr)), (O = null === P || void 0 === P || null === (x = P.sldLayout) || void 0 === x || null === (_ = x.cSld) || void 0 === _ || null === (T = _.spTree) || void 0 === T ? void 0 : T.sp), (y = null === (E = Mr(O)) || void 0 === E ? void 0 : E.find(function (e) { var t, r, n, i, o, a, s, l return ( (null === e || void 0 === e || null === (t = e.nvSpPr) || void 0 === t || null === (r = t.nvPr) || void 0 === r || null === (n = r.ph) || void 0 === n || null === (i = n.attributes) || void 0 === i ? void 0 : i.type) === h || (null === e || void 0 === e || null === (o = e.nvSpPr) || void 0 === o || null === (a = o.nvPr) || void 0 === a || null === (s = a.ph) || void 0 === s || null === (l = s.attributes) || void 0 === l ? void 0 : l.idx) === h ) })), null !== (S = y) && void 0 !== S && null !== (C = S.spPr) && void 0 !== C && C.xfrm) ) { e.next = 19 break } return (R = n["ppt/slideMasters/".concat(i)]), (e.next = 15), R.async("string") case 15: ;(I = e.sent), (N = Ir(I, Fr)), "1" === h && (h = "body"), null === (j = N.sldMaster.cSld.spTree.sp) || void 0 === j || j.forEach(function (e) { var t, r, n ;(null === (t = e.nvSpPr.nvPr) || void 0 === t || null === (r = t.ph) || void 0 === r || null === (n = r.attributes) || void 0 === n ? void 0 : n.type) === h && (y = e) }) case 19: return e.abrupt("return", y) case 20: case "end": return e.stop() } }, e) }) ) return function (t, r, n, i) { return e.apply(this, arguments) } })(), Wr = (function () { var e = T( A().mark(function e(t, r, n, i) { var o, a, s, l, c, u, f, p, d, h, m, g, y, v, b, w, x, _, T, E, S return A().wrap(function (e) { while (1) switch ((e.prev = e.next)) { case 0: if ( ((v = (null === t || void 0 === t || null === (o = t.spPr) || void 0 === o ? void 0 : o.xfrm) || (null === t || void 0 === t ? void 0 : t.xfrm)), v) ) { e.next = 8 break } if (((b = Br(t)), !b)) { e.next = 8 break } return (e.next = 6), Gr(t, r, n, i) case 6: ;(x = e.sent), (v = null === x || void 0 === x || null === (w = x.spPr) || void 0 === w ? void 0 : w.xfrm) case 8: return ( (_ = Dr( (null === (a = v) || void 0 === a || null === (s = a.off) || void 0 === s || null === (l = s.attributes) || void 0 === l ? void 0 : l.x) || 0 )), (T = Dr( (null === (c = v) || void 0 === c || null === (u = c.off) || void 0 === u || null === (f = u.attributes) || void 0 === f ? void 0 : f.y) || 0 )), (E = Dr( (null === (p = v) || void 0 === p || null === (d = p.ext) || void 0 === d || null === (h = d.attributes) || void 0 === h ? void 0 : h.cx) || 9144e3 )), (S = Dr( (null === (m = v) || void 0 === m || null === (g = m.ext) || void 0 === g || null === (y = g.attributes) || void 0 === y ? void 0 : y.cy) || 2387600 )), e.abrupt("return", { left: _, top: T, width: E, height: S }) ) case 13: case "end": return e.stop() } }, e) }) ) return function (t, r, n, i) { return e.apply(this, arguments) } })(), Vr = function (e, t) { var r, n, i, o, a = e.xfrm ;(t.left = (12700 * t.left * 3) / 4), (t.top = (12700 * t.top * 3) / 4), (t.width = (12700 * t.width * 3) / 4), (t.height = (12700 * t.height * 3) / 4) var s = (null === a || void 0 === a || null === (r = a.chExt) || void 0 === r ? void 0 : r.attributes) || {}, l = s.cx, c = s.cy, u = (null === a || void 0 === a || null === (n = a.chOff) || void 0 === n ? void 0 : n.attributes) || {}, f = u.x, p = u.y, d = (null === a || void 0 === a || null === (i = a.ext) || void 0 === i ? void 0 : i.attributes) || {}, h = d.cx, m = d.cy, g = (null === a || void 0 === a || null === (o = a.off) || void 0 === o ? void 0 : o.attributes) || {}, y = g.x, v = g.y, b = t.left, w = t.top, x = t.width, A = t.height if (l && h) { var _ = +l || 1 x = (x / _) * h var T = +f || 0 b = ((Number(b) - Number(T)) / _) * h + Number(y) } if (c && m) { var E = +c || 1 A = (A / E) * m var S = +p || 0 w = ((Number(w) - Number(S)) / E) * m + Number(v) } return { left: Dr(b), top: Dr(w), width: Dr(x), height: Dr(A) } }, Hr = function (e, t, r) { var n = 1, i = 0 t && (n = +t / 1e5), r && (i = +r / 1e5) var o = Pr(e), a = jr(o[0], o[1], o[2]) if (null === a || void 0 === a || !a[2]) return e a[2] = a[2] * n + i var s = Rr( Math.round(100 * (null === a || void 0 === a ? void 0 : a[0])), null === a || void 0 === a ? void 0 : a[1], null === a || void 0 === a ? void 0 : a[2] ), l = Or(s) return l }, Xr = function (e, t, r, n, i, o) { var a, s, l, c, u, f, p, d, h = o.colorMap, m = o.textStyleDef, g = o.slidePer, y = o.defaultTextStyle, v = [] if (r) { var b, w, x, A, _, T, E, S, C, k, L, P, O = (null === r || void 0 === r || null === (b = r.txBody) || void 0 === b || null === (w = b.lstStyle) || void 0 === w || null === (x = w.lvl1pPr) || void 0 === x || null === (A = x.defRPr) || void 0 === A || null === (_ = A.attributes) || void 0 === _ ? void 0 : _.sz) || (null === m || void 0 === m || null === (T = m.txBody.lstStyle.lvl1pPr.defRPr) || void 0 === T || null === (E = T.attributes) || void 0 === E ? void 0 : E.sz) if (!O || (null !== (S = t.rPr) && void 0 !== S && null !== (C = S.attributes) && void 0 !== C && C.baseline)) { if ( null !== (k = t.rPr) && void 0 !== k && null !== (L = k.attributes) && void 0 !== L && L.baseline && null !== t && void 0 !== t && null !== (P = t.rPr) && void 0 !== P && P.attributes.sz ) { var j = ((t.rPr.attributes.sz / 100) * 4) / 3 1 !== g && (j = Math.round(j / g)), v.push("font-size:".concat(j, "px;")) } } else { var R = ((O / 100) * 4) / 3 1 !== g && (R = Math.round(R / g)), v.push("font-size:".concat(R, "px;")) } } if ( (e && v.push("text-decoration: underline;"), null !== (a = t.rPr) && void 0 !== a && null !== (s = a.attributes) && void 0 !== s && s.sz) ) { var I = ((t.rPr.attributes.sz / 100) * 4) / 3 1 !== g && (I = Math.round(I / g)), v.push("font-size:".concat(I, "px;")) } else if ( i && null !== i && void 0 !== i && null !== (l = i.defRPr) && void 0 !== l && null !== (c = l.attributes) && void 0 !== c && c.sz ) { var N = ((i.defRPr.attributes.sz / 100) * 4) / 3 1 !== g && (N = Math.round(N / g)), v.push("font-size:".concat(N, "px;")) } else if (y) { var M, D = (null === y || void 0 === y || null === (M = y.defRPr) || void 0 === M ? void 0 : M.attributes) || {}, B = D.sz if (B) { var F = ((B / 100) * 4) / 3 1 !== g && (F = Math.round(F / g)), v.push("font-size:".concat(F, "px;")) } } var U = t || {}, z = U.rPr, q = i || {}, G = q.defRPr, W = G || {}, V = W.solidFill if (null !== z && void 0 !== z && z.solidFill) { var H = (null === z || void 0 === z ? void 0 : z.solidFill) || {}, X = H.schemeClr, Y = H.srgbClr, K = H.prstClr if (Y) { var Z, Q, J = "#" + Y.attributes.val if (J && ((null !== Y && void 0 !== Y && Y.lumMod) || (null !== Y && void 0 !== Y && Y.lumOff))) J = Hr( J, (null === Y || void 0 === Y || null === (Z = Y.lumMod) || void 0 === Z ? void 0 : Z.attributes.val) || 0, (null === Y || void 0 === Y || null === (Q = Y.lumOff) || void 0 === Q ? void 0 : Q.attributes.val) || 0 ) v.push("color:".concat(J, ";")) } if (X) { var $, ee, te = zr(h, n, X.attributes.val) if (te && ((null !== X && void 0 !== X && X.lumMod) || (null !== X && void 0 !== X && X.lumOff))) te = Hr( te, (null === X || void 0 === X || null === ($ = X.lumMod) || void 0 === $ ? void 0 : $.attributes.val) || 0, (null === X || void 0 === X || null === (ee = X.lumOff) || void 0 === ee ? void 0 : ee.attributes.val) || 0 ) v.push("color:".concat(te, ";")) } K && "white" === K.attributes.val && v.push("color:#ffffff;") } else if (V) { var re = V || {}, ne = re.schemeClr, ie = re.srgbClr if (ne) { var oe, ae, se = zr(h, n, ne.attributes.val) if (se && ((null !== ne && void 0 !== ne && ne.lumMod) || (null !== ne && void 0 !== ne && ne.lumOff))) se = Hr( se, (null === ne || void 0 === ne || null === (oe = ne.lumMod) || void 0 === oe ? void 0 : oe.attributes.val) || 0, (null === ne || void 0 === ne || null === (ae = ne.lumOff) || void 0 === ae ? void 0 : ae.attributes.val) || 0 ) v.push("color:".concat(se, ";")) } ie && v.push("color:#".concat(ie.attributes.val, ";")) } else if (y) { var le, ce = null === y || void 0 === y || null === (le = y.defRPr) || void 0 === le ? void 0 : le.solidFill, ue = ce.srgbClr, fe = ce.schemeClr if (ue) { var pe, de, he = "#" + ue.attributes.val if (he && ((null !== ue && void 0 !== ue && ue.lumMod) || (null !== ue && void 0 !== ue && ue.lumOff))) he = Hr( he, (null === ue || void 0 === ue || null === (pe = ue.lumMod) || void 0 === pe ? void 0 : pe.attributes.val) || 0, (null === ue || void 0 === ue || null === (de = ue.lumOff) || void 0 === de ? void 0 : de.attributes.val) || 0 ) v.push("color:".concat(he, ";")) } if (fe) { var me, ge, ye = zr(h, n, fe.attributes.val) if (ye && ((null !== fe && void 0 !== fe && fe.lumMod) || (null !== fe && void 0 !== fe && fe.lumOff))) ye = Hr( ye, (null === fe || void 0 === fe || null === (me = fe.lumMod) || void 0 === me ? void 0 : me.attributes.val) || 0, (null === fe || void 0 === fe || null === (ge = fe.lumOff) || void 0 === ge ? void 0 : ge.attributes.val) || 0 ) v.push("color:".concat(ye, ";")) } } return ( null !== (u = t.rPr) && void 0 !== u && null !== (f = u.highlight) && void 0 !== f && null !== (p = f.srgbClr) && void 0 !== p && null !== (d = p.attributes) && void 0 !== d && d.val && v.push("background-color: #".concat(t.rPr.highlight.srgbClr.attributes.val, ";")), v.join("") ) }, Yr = function (e, t, r, n) { var i, o, a = "" if (e && null !== e && void 0 !== e && null !== (i = e.attributes) && void 0 !== i && i.algn) "ctr" === e.attributes.algn ? (a = "text-align:center;") : "r" === e.attributes.algn && (a = "text-align:right;") else if (t && null !== t && void 0 !== t && null !== (o = t.attributes) && void 0 !== o && o.algn) "ctr" === t.attributes.algn ? (a = "text-align:center;") : "r" === t.attributes.algn && (a = "text-align:right;") else if (r) { var s, l null !== r && void 0 !== r && null !== (s = r.lvl1pPr) && void 0 !== s && null !== (l = s.attributes) && void 0 !== l && l.algn ? "ctr" === r.lvl1pPr.attributes.algn ? (a = "text-align:center;") : "r" === r.lvl1pPr.attributes.algn && (a = "text-align:right;") : null !== r && void 0 !== r && r.type && (r.type.includes("title") || r.type.includes("Title")) && (a = "text-align:center;") } return a }, Kr = function (e, t, r, n, i) { var o = "#ffffff" if (((o = "#" + t[e][r]), n || i)) { var a = Hr(o, n, i) a && (o = a) } return o }, Zr = (function () { var e = T( A().mark(function e(t, r, n, i, o, a, s, l) { var c, u, f, p, d, h, m, g, y, v, b, w, x, _, T, E, S, C, k, L, P, O, j, R, I, N, M, D, B, F, U, z, q, G return A().wrap( function (e) { while (1) switch ((e.prev = e.next)) { case 0: if ( null === n || void 0 === n || null === (c = n.sld) || void 0 === c || null === (u = c.cSld) || void 0 === u || null === (f = u.bg) || void 0 === f || null === (p = f.bgPr) || void 0 === p || null === (d = p.blipFill) || void 0 === d || !d.blip ) { e.next = 7 break } if (((j = n.sld.cSld.bg.bgPr.blipFill.blip.attributes["r:embed"]), j)) { e.next = 4 break } return e.abrupt("return") case 4: ;(O = i.Relationships.Relationship.find(function (e) { return e.attributes.Id === j })), (e.next = 27) break case 7: if ( null === n || void 0 === n || null === (h = n.sld) || void 0 === h || null === (m = h.cSld) || void 0 === m || null === (g = m.bg) || void 0 === g || null === (y = g.bgPr) || void 0 === y || !y.noFill ) { e.next = 11 break } return e.abrupt("return") case 11: if ( null === o || void 0 === o || null === (v = o.sldLayout) || void 0 === v || null === (b = v.cSld) || void 0 === b || null === (w = b.bg) || void 0 === w || null === (x = w.bgPr) || void 0 === x || null === (_ = x.blipFill) || void 0 === _ || !_.blip ) { e.next = 18 break } if (((R = o.sldLayout.cSld.bg.bgPr.blipFill.blip.attributes["r:embed"]), R)) { e.next = 15 break } return e.abrupt("return") case 15: ;(O = a.Relationships.Relationship.find(function (e) { return e.attributes.Id === R })), (e.next = 27) break case 18: if ("0" !== (null === (T = o.sldLayout.attributes) || void 0 === T ? void 0 : T.showMasterSp)) { e.next = 22 break } return e.abrupt("return") case 22: if ( null === s || void 0 === s || null === (E = s.sldMaster) || void 0 === E || null === (S = E.cSld) || void 0 === S || null === (C = S.bg) || void 0 === C || null === (k = C.bgPr) || void 0 === k || null === (L = k.blipFill) || void 0 === L || null === (P = L.blip) || void 0 === P || !P.attributes ) { e.next = 27 break } if (((I = s.sldMaster.cSld.bg.bgPr.blipFill.blip.attributes["r:embed"]), I)) { e.next = 26 break } return e.abrupt("return") case 26: O = l.Relationships.Relationship.find(function (e) { return e.attributes.Id === I }) case 27: if (O) { e.next = 29 break } return e.abrupt("return") case 29: return ( (N = O.attributes.Target), (M = t["ppt".concat(N.replace("..", ""))]), (e.prev = 31), (e.next = 34), M.async("arraybuffer") ) case 34: return ( (D = e.sent), (B = M.name.split(".")), (F = "image/".concat(B[B.length - 1])), (U = new Blob([D], { type: F })), (z = M.name.split("/").reverse()[0]), (q = new File([U], z, { type: F })), (e.next = 42), r(q) ) case 42: return (G = e.sent), e.abrupt("return", G) case 46: throw ( ((e.prev = 46), (e.t0 = e["catch"](31)), re.error("ppt-file parse background image upload failed", e.t0), new Error("背景图片上传失败")) ) case 50: case "end": return e.stop() } }, e, null, [[31, 46]] ) }) ) return function (t, r, n, i, o, a, s, l) { return e.apply(this, arguments) } })(), Qr = (function () { var e = T( A().mark(function e(t, r, n, i, o, a, s, l) { var c, u, f, p, d, h, m, g, y, v, b, w, x, _, T, E, S, C, k, L, P, O, j, R, I, N, M, D, B, F, U, z, q, G, W, V, H, X, Y, K, Z, Q, J, $, ee, te, re, ne, ie, ae, se, le, ce, ue, fe, pe, de, he, me, ge, ye, ve, be, we, xe, Ae, _e, Te, Ee, Se, Ce, ke, Le, Pe, Oe, je, Re, Ie, Ne, Me, De, Be, Fe, Ue, ze, qe, Ge, We, Ve, He, Xe, Ye, Ke, Ze, Qe, Je, $e, et, tt, rt, nt, it return A().wrap(function (e) { while (1) switch ((e.prev = e.next)) { case 0: return ( (T = { type: "solid", color: "#fff" }), (E = +l.replace(/[^0-9]/gi, "")), (S = t["ppt/slideMasters/_rels/".concat(l, ".rels")]), (e.next = 5), S.async("string") ) case 5: return (C = e.sent), (k = Ir(C, Fr)), (L = t["ppt/slideMasters/".concat(l)]), (e.next = 10), L.async("string") case 10: return (P = e.sent), (O = Ir(P, Fr)), (e.next = 14), Zr(t, r.upload, i, o, a, s, O, k) case 14: if (((j = e.sent), !j)) { e.next = 20 break } return (T.type = "image"), (T.imageSize = "100% 100%"), (T.image = j.url), e.abrupt("return", T) case 20: if (((R = ""), !i)) { e.next = 37 break } if ( ((D = (null === i || void 0 === i || null === (I = i.sld) || void 0 === I || null === (N = I.cSld) || void 0 === N || null === (M = N.bg) || void 0 === M ? void 0 : M.bgPr) || {}), (B = D.solidFill), (F = B || {}), (U = F.schemeClr), (z = F.srgbClr), (q = U || z || {}), (G = q.lumMod), (W = q.lumOff), !U) ) { e.next = 33 break } if ( ((Y = null === U || void 0 === U || null === (V = U.attributes) || void 0 === V ? void 0 : V.val), (K = null === G || void 0 === G || null === (H = G.attributes) || void 0 === H ? void 0 : H.val), (Z = null === W || void 0 === W || null === (X = W.attributes) || void 0 === X ? void 0 : X.val), !Y) ) { e.next = 33 break } return (R = Kr(E, n, Y, K, Z)), R && (T.color = R), e.abrupt("return", T) case 33: if (!z) { e.next = 37 break } return ( (R = null === z || void 0 === z || null === (Q = z.attributes) || void 0 === Q ? void 0 : Q.val), (T.color = "#" + (null === z || void 0 === z || null === (J = z.attributes) || void 0 === J ? void 0 : J.val)), e.abrupt("return", T) ) case 37: if (!a) { e.next = 53 break } if ( ((re = (null === a || void 0 === a || null === ($ = a.sldLayout) || void 0 === $ || null === (ee = $.cSld) || void 0 === ee || null === (te = ee.bg) || void 0 === te ? void 0 : te.bgPr) || {}), (ne = re.solidFill), (ie = ne || {}), (ae = ie.schemeClr), (se = ie.srgbClr), (le = ae || se || {}), (ce = le.lumMod), (ue = le.lumOff), !ae) ) { e.next = 49 break } if ( ((he = null === ae || void 0 === ae || null === (fe = ae.attributes) || void 0 === fe ? void 0 : fe.val), (me = null === ce || void 0 === ce || null === (pe = ce.attributes) || void 0 === pe ? void 0 : pe.val), (ge = null === ue || void 0 === ue || null === (de = ue.attributes) || void 0 === de ? void 0 : de.val), !he) ) { e.next = 49 break } return (R = Kr(E, n, he, me, ge)), R && (T.color = R), e.abrupt("return", T) case 49: if (!se) { e.next = 53 break } return ( (R = null === se || void 0 === se || null === (ye = se.attributes) || void 0 === ye ? void 0 : ye.val), (T.color = "#" + (null === se || void 0 === se || null === (ve = se.attributes) || void 0 === ve ? void 0 : ve.val)), e.abrupt("return", T) ) case 53: if (!O) { e.next = 69 break } if ( ((Ae = (null === O || void 0 === O || null === (be = O.sldMaster) || void 0 === be || null === (we = be.cSld) || void 0 === we || null === (xe = we.bg) || void 0 === xe ? void 0 : xe.bgPr) || {}), (_e = Ae.solidFill), (Te = _e || {}), (Ee = Te.schemeClr), (Se = Te.srgbClr), (Ce = Ee || Se || {}), (ke = Ce.lumMod), (Le = Ce.lumOff), !Ee) ) { e.next = 65 break } if ( ((Re = null === Ee || void 0 === Ee || null === (Pe = Ee.attributes) || void 0 === Pe ? void 0 : Pe.val), (Ie = null === ke || void 0 === ke || null === (Oe = ke.attributes) || void 0 === Oe ? void 0 : Oe.val), (Ne = null === Le || void 0 === Le || null === (je = Le.attributes) || void 0 === je ? void 0 : je.val), !Re) ) { e.next = 65 break } return (R = Kr(E, n, Re, Ie, Ne)), R && (T.color = R), e.abrupt("return", T) case 65: if (!Se) { e.next = 69 break } return ( (R = null === Se || void 0 === Se || null === (Me = Se.attributes) || void 0 === Me ? void 0 : Me.val), (T.color = "#" + (null === Se || void 0 === Se || null === (De = Se.attributes) || void 0 === De ? void 0 : De.val)), e.abrupt("return", T) ) case 69: if ( ((Be = (null === i || void 0 === i || null === (c = i.sld) || void 0 === c || null === (u = c.cSld) || void 0 === u || null === (f = u.bg) || void 0 === f || null === (p = f.bgPr) || void 0 === p ? void 0 : p.gradFill) || (null === a || void 0 === a || null === (d = a.sldLayout) || void 0 === d || null === (h = d.cSld) || void 0 === h || null === (m = h.bg) || void 0 === m || null === (g = m.bgPr) || void 0 === g ? void 0 : g.gradFill) || (null === O || void 0 === O || null === (y = O.sldMaster) || void 0 === y || null === (v = y.cSld) || void 0 === v || null === (b = v.bg) || void 0 === b || null === (w = b.bgPr) || void 0 === w ? void 0 : w.gradFill) || {}), (Fe = Be.gsLst), !(Fe && null !== (x = Fe.gs) && void 0 !== x && x[0] && null !== (_ = Fe.gs) && void 0 !== _ && _[1])) ) { e.next = 97 break } if ( ((Ue = Fe.gs[0] || {}), (ze = Ue.srgbClr), (qe = Ue.schemeClr), (Ge = Fe.gs[1] || {}), (We = Ge.srgbClr), (Ve = Ge.schemeClr), (He = +l.replace(/[^0-9]/gi, "")), !ze || !We) ) { e.next = 78 break } return (Xe = oe.mix(ze.attributes.val, We.attributes.val).toHexString()), (T.color = Xe), e.abrupt("return", T) case 78: if ( ((Ye = ""), (Ke = ""), qe && ((Ye = zr(n, He, qe.attributes.val)), (Ze = qe || {}), (Qe = Ze.lumMod), (Je = Ze.lumOff), Ye && (Qe || Je) && (Ye = Hr( Ye, (null === Qe || void 0 === Qe ? void 0 : Qe.attributes.val) || 0, (null === Je || void 0 === Je ? void 0 : Je.attributes.val) || 0 ))), Ve && ((Ke = zr(n, He, Ve.attributes.val)), ($e = Ve || {}), (et = $e.lumMod), (tt = $e.lumOff), Ve && (et || tt) && (Ke = Hr( Ke, (null === et || void 0 === et ? void 0 : et.attributes.val) || 0, (null === tt || void 0 === tt ? void 0 : tt.attributes.val) || 0 ))), !Ye || !We) ) { e.next = 87 break } if (((rt = oe.mix(Ye, We.attributes.val).toHexString()), !rt)) { e.next = 87 break } return (T.color = rt), e.abrupt("return", T) case 87: if (!Ke || !ze) { e.next = 92 break } if (((nt = oe.mix(Ke, ze.attributes.val).toHexString()), !nt)) { e.next = 92 break } return (T.color = nt), e.abrupt("return", T) case 92: if (!qe || !Ve) { e.next = 97 break } if (((it = oe.mix(Ye, Ke).toHexString()), !it)) { e.next = 97 break } return (T.color = it), e.abrupt("return", T) case 97: return e.abrupt("return", T) case 98: case "end": return e.stop() } }, e) }) ) return function (t, r, n, i, o, a, s, l) { return e.apply(this, arguments) } })(), Jr = (function () { var e = T( A().mark(function e(t, r) { var n, i, o, a, s, l return A().wrap(function (e) { while (1) switch ((e.prev = e.next)) { case 0: return (n = t[r]), (e.next = 3), n.async("string") case 3: return ( (i = e.sent), (o = Ir(i, Fr)), (a = o.presentation.sldSz.attributes), (s = Dr(a.cx)), (l = Dr(a.cy)), e.abrupt("return", { width: s, height: l }) ) case 9: case "end": return e.stop() } }, e) }) ) return function (t, r) { return e.apply(this, arguments) } })(), $r = function (e, t, r) { var n, i, o, a, s, l, c if ("title" === t && null !== (n = e.sldMaster.txStyles) && void 0 !== n && null !== (i = n.titleStyle) && void 0 !== i && i.lvl1pPr) c = { txBody: { lstStyle: { lvl1pPr: e.sldMaster.txStyles.titleStyle.lvl1pPr } } } else if ( "body" === t && null !== (o = e.sldMaster.txStyles) && void 0 !== o && null !== (a = o.bodyStyle) && void 0 !== a && a.lvl1pPr ) c = { txBody: { lstStyle: { lvl1pPr: e.sldMaster.txStyles.bodyStyle.lvl1pPr } } } else if (r || (null !== (s = e.sldMaster.txStyles) && void 0 !== s && null !== (l = s.otherStyle) && void 0 !== l && l.lvl1pPr)) { var u ;(u = r ? { defRPr: { attributes: { sz: r } } } : e.sldMaster.txStyles.otherStyle.lvl1pPr), (c = { txBody: { lstStyle: { lvl1pPr: u } } }) } return c }, en = (function () { var e = T( A().mark(function e(t, r) { var n, i, o return A().wrap(function (e) { while (1) switch ((e.prev = e.next)) { case 0: return (e.next = 2), Jr(t, "ppt/presentation.xml") case 2: return ( (n = e.sent), (i = { width: 1920, height: 0.5625 === r ? 1080 : 1080 / r }), (o = Math.max(n.width / i.width, n.height / i.height)), e.abrupt("return", o) ) case 6: case "end": return e.stop() } }, e) }) ) return function (t, r) { return e.apply(this, arguments) } })(), tn = new Uint8Array(16) function rn() { if ( !Ht && ((Ht = ("undefined" !== typeof crypto && crypto.getRandomValues && crypto.getRandomValues.bind(crypto)) || ("undefined" !== typeof msCrypto && "function" === typeof msCrypto.getRandomValues && msCrypto.getRandomValues.bind(msCrypto))), !Ht) ) throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported") return Ht(tn) } var nn = /^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i function on(e) { return "string" === typeof e && nn.test(e) } for (var an = [], sn = 0; sn < 256; ++sn) an.push((sn + 256).toString(16).substr(1)) function ln(e) { var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : 0, r = ( an[e[t + 0]] + an[e[t + 1]] + an[e[t + 2]] + an[e[t + 3]] + "-" + an[e[t + 4]] + an[e[t + 5]] + "-" + an[e[t + 6]] + an[e[t + 7]] + "-" + an[e[t + 8]] + an[e[t + 9]] + "-" + an[e[t + 10]] + an[e[t + 11]] + an[e[t + 12]] + an[e[t + 13]] + an[e[t + 14]] + an[e[t + 15]] ).toLowerCase() if (!on(r)) throw TypeError("Stringified UUID is invalid") return r } function cn(e, t, r) { e = e || {} var n = e.random || (e.rng || rn)() if (((n[6] = (15 & n[6]) | 64), (n[8] = (63 & n[8]) | 128), t)) { r = r || 0 for (var i = 0; i < 16; ++i) t[r + i] = n[i] return t } return ln(n) } function un(e, t, r) { return ( (r = { path: t, exports: {}, require: function (e, t) { return fn(e, void 0 === t || null === t ? r.path : t) } }), e(r, r.exports), r.exports ) } function fn() { throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs") } var pn = "object" === ("undefined" === typeof e ? "undefined" : z(e)) && e && "win32" === e.platform, dn = pn ? { sep: "\\" } : { sep: "/" }, hn = mn function mn(e, t, r) { e instanceof RegExp && (e = gn(e, r)), t instanceof RegExp && (t = gn(t, r)) var n = yn(e, t, r) return ( n && { start: n[0], end: n[1], pre: r.slice(0, n[0]), body: r.slice(n[0] + e.length, n[1]), post: r.slice(n[1] + t.length) } ) } function gn(e, t) { var r = t.match(e) return r ? r[0] : null } function yn(e, t, r) { var n, i, o, a, s, l = r.indexOf(e), c = r.indexOf(t, l + 1), u = l if (l >= 0 && c > 0) { if (e === t) return [l, c] ;(n = []), (o = r.length) while (u >= 0 && !s) u == l ? (n.push(u), (l = r.indexOf(e, u + 1))) : 1 == n.length ? (s = [n.pop(), c]) : ((i = n.pop()), i < o && ((o = i), (a = c)), (c = r.indexOf(t, u + 1))), (u = l < c && l >= 0 ? l : c) n.length && (s = [o, a]) } return s } mn.range = yn var vn = kn, bn = "\0SLASH" + Math.random() + "\0", wn = "\0OPEN" + Math.random() + "\0", xn = "\0CLOSE" + Math.random() + "\0", An = "\0COMMA" + Math.random() + "\0", _n = "\0PERIOD" + Math.random() + "\0" function Tn(e) { return parseInt(e, 10) == e ? parseInt(e, 10) : e.charCodeAt(0) } function En(e) { return e.split("\\\\").join(bn).split("\\{").join(wn).split("\\}").join(xn).split("\\,").join(An).split("\\.").join(_n) } function Sn(e) { return e.split(bn).join("\\").split(wn).join("{").split(xn).join("}").split(An).join(",").split(_n).join(".") } function Cn(e) { if (!e) return [""] var t = [], r = hn("{", "}", e) if (!r) return e.split(",") var n = r.pre, i = r.body, o = r.post, a = n.split(",") a[a.length - 1] += "{" + i + "}" var s = Cn(o) return o.length && ((a[a.length - 1] += s.shift()), a.push.apply(a, s)), t.push.apply(t, a), t } function kn(e) { return e ? ("{}" === e.substr(0, 2) && (e = "\\{\\}" + e.substr(2)), Rn(En(e), !0).map(Sn)) : [] } function Ln(e) { return "{" + e + "}" } function Pn(e) { return /^-?0\d/.test(e) } function On(e, t) { return e <= t } function jn(e, t) { return e >= t } function Rn(e, t) { var r = [], n = hn("{", "}", e) if (!n) return [e] var i = n.pre, o = n.post.length ? Rn(n.post, !1) : [""] if (/\$$/.test(n.pre)) for (var a = 0; a < o.length; a++) { var s = i + "{" + n.body + "}" + o[a] r.push(s) } else { var l, c, u = /^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(n.body), f = /^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(n.body), p = u || f, d = n.body.indexOf(",") >= 0 if (!p && !d) return n.post.match(/,.*\}/) ? ((e = n.pre + "{" + n.body + xn + n.post), Rn(e)) : [e] if (p) l = n.body.split(/\.\./) else if (((l = Cn(n.body)), 1 === l.length && ((l = Rn(l[0], !1).map(Ln)), 1 === l.length))) return o.map(function (e) { return n.pre + l[0] + e }) if (p) { var h = Tn(l[0]), m = Tn(l[1]), g = Math.max(l[0].length, l[1].length), y = 3 == l.length ? Math.abs(Tn(l[2])) : 1, v = On, b = m < h b && ((y *= -1), (v = jn)) var w = l.some(Pn) c = [] for (var x = h; v(x, m); x += y) { var A if (f) (A = String.fromCharCode(x)), "\\" === A && (A = "") else if (((A = String(x)), w)) { var _ = g - A.length if (_ > 0) { var T = new Array(_ + 1).join("0") A = x < 0 ? "-" + T + A.slice(1) : T + A } } c.push(A) } } else { c = [] for (var E = 0; E < l.length; E++) c.push.apply(c, Rn(l[E], !1)) } for (E = 0; E < c.length; E++) for (a = 0; a < o.length; a++) { s = i + c[E] + o[a] ;(!t || p || s) && r.push(s) } } return r } var In = un(function (e) { var t = (e.exports = function (e, t) { var r = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : {} return b(t), !(!r.nocomment && "#" === t.charAt(0)) && new E(t, r).match(e) }) ;(e.exports = t), (t.sep = dn.sep) var r = Symbol("globstar **") t.GLOBSTAR = r var n = { "!": { open: "(?:(?!(?:", close: "))[^/]*?)" }, "?": { open: "(?:", close: ")?" }, "+": { open: "(?:", close: ")+" }, "*": { open: "(?:", close: ")*" }, "@": { open: "(?:", close: ")" } }, i = "[^/]", o = i + "*?", a = "(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?", s = "(?:(?!(?:\\/|^)\\.).)*?", l = function (e) { return e.split("").reduce(function (e, t) { return (e[t] = !0), e }, {}) }, c = l("().*{}+?[]^$\\!"), u = l("[.("), f = /\/+/ t.filter = function (e) { var r = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {} return function (n, i, o) { return t(n, e, r) } } var p = function (e) { var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {}, r = {} return ( Object.keys(e).forEach(function (t) { return (r[t] = e[t]) }), Object.keys(t).forEach(function (e) { return (r[e] = t[e]) }), r ) } ;(t.defaults = function (e) { if (!e || "object" !== z(e) || !Object.keys(e).length) return t var r = t, n = function (t, n, i) { return r(t, n, p(e, i)) } return ( (n.Minimatch = (function (t) { m(n, t) var r = y(n) function n(t, i) { return h(this, n), r.call(this, t, p(e, i)) } return d(n) })(r.Minimatch)), (n.Minimatch.defaults = function (t) { return r.defaults(p(e, t)).Minimatch }), (n.filter = function (t, n) { return r.filter(t, p(e, n)) }), (n.defaults = function (t) { return r.defaults(p(e, t)) }), (n.makeRe = function (t, n) { return r.makeRe(t, p(e, n)) }), (n.braceExpand = function (t, n) { return r.braceExpand(t, p(e, n)) }), (n.match = function (t, n, i) { return r.match(t, n, p(e, i)) }), n ) }), (t.braceExpand = function (e, t) { return g(e, t) }) var g = function (e) { var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {} return b(e), t.nobrace || !/\{(?:(?!\{).)*\}/.test(e) ? [e] : vn(e) }, v = 65536, b = function (e) { if ("string" !== typeof e) throw new TypeError("invalid pattern") if (e.length > v) throw new TypeError("pattern is too long") }, w = Symbol("subparse") ;(t.makeRe = function (e, t) { return new E(e, t || {}).makeRe() }), (t.match = function (e, t) { var r = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : {}, n = new E(t, r) return ( (e = e.filter(function (e) { return n.match(e) })), n.options.nonull && !e.length && e.push(t), e ) }) var x = function (e) { return e.replace(/\\(.)/g, "$1") }, A = function (e) { return e.replace(/\\([^-\]])/g, "$1") }, _ = function (e) { return e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, "\\$&") }, T = function (e) { return e.replace(/[[\]\\]/g, "\\$&") }, E = (function () { function e(t, r) { h(this, e), b(t), r || (r = {}), (this.options = r), (this.set = []), (this.pattern = t), (this.windowsPathsNoEscape = !!r.windowsPathsNoEscape || !1 === r.allowWindowsEscape), this.windowsPathsNoEscape && (this.pattern = this.pattern.replace(/\\/g, "/")), (this.regexp = null), (this.negate = !1), (this.comment = !1), (this.empty = !1), (this.partial = !!r.partial), this.make() } return ( d( e, [ { key: "debug", value: function () {} }, { key: "make", value: function () { var e = this, t = this.pattern, r = this.options if (r.nocomment || "#" !== t.charAt(0)) if (t) { this.parseNegate() var n = (this.globSet = this.braceExpand()) r.debug && (this.debug = function () { var e return (e = console).error.apply(e, arguments) }), this.debug(this.pattern, n), (n = this.globParts = n.map(function (e) { return e.split(f) })), this.debug(this.pattern, n), (n = n.map(function (t, r, n) { return t.map(e.parse, e) })), this.debug(this.pattern, n), (n = n.filter(function (e) { return -1 === e.indexOf(!1) })), this.debug(this.pattern, n), (this.set = n) } else this.empty = !0 else this.comment = !0 } }, { key: "parseNegate", value: function () { if (!this.options.nonegate) { for (var e = this.pattern, t = !1, r = 0, n = 0; n < e.length && "!" === e.charAt(n); n++) (t = !t), r++ r && (this.pattern = e.slice(r)), (this.negate = t) } } }, { key: "matchOne", value: function (e, t, n) { var i = this.options this.debug("matchOne", { this: this, file: e, pattern: t }), this.debug("matchOne", e.length, t.length) for (var o = 0, a = 0, s = e.length, l = t.length; o < s && a < l; o++, a++) { this.debug("matchOne loop") var c, u = t[a], f = e[o] if ((this.debug(t, u, f), !1 === u)) return !1 if (u === r) { this.debug("GLOBSTAR", [t, u, f]) var p = o, d = a + 1 if (d === l) { for (this.debug("** at the end"); o < s; o++) if ("." === e[o] || ".." === e[o] || (!i.dot && "." === e[o].charAt(0))) return !1 return !0 } while (p < s) { var h = e[p] if ((this.debug("\nglobstar while", e, p, t, d, h), this.matchOne(e.slice(p), t.slice(d), n))) return this.debug("globstar found match!", p, s, h), !0 if ("." === h || ".." === h || (!i.dot && "." === h.charAt(0))) { this.debug("dot detected!", e, p, t, d) break } this.debug("globstar swallow a segment, and continue"), p++ } return !(!n || (this.debug("\n>>> no match, partial?", e, p, t, d), p !== s)) } if ( ("string" === typeof u ? ((c = f === u), this.debug("string match", u, f, c)) : ((c = f.match(u)), this.debug("pattern match", u, f, c)), !c) ) return !1 } if (o === s && a === l) return !0 if (o === s) return n if (a === l) return o === s - 1 && "" === e[o] throw new Error("wtf?") } }, { key: "braceExpand", value: function () { return g(this.pattern, this.options) } }, { key: "parse", value: function (e, t) { var a = this b(e) var s = this.options if ("**" === e) { if (!s.noglobstar) return r e = "*" } if ("" === e) return "" for ( var l, f, p, d, h, m = "", g = !!s.nocase, y = !1, v = [], _ = [], E = !1, S = -1, C = -1, k = "." === e.charAt(0) ? "" : s.dot ? "(?!(?:^|\\/)\\.{1,2}(?:$|\\/))" : "(?!\\.)", L = function () { if (l) { switch (l) { case "*": ;(m += o), (g = !0) break case "?": ;(m += i), (g = !0) break default: m += "\\" + l break } a.debug("clearStateChar %j %j", l, m), (l = !1) } }, P = 0; P < e.length && (h = e.charAt(P)); P++ ) if ((this.debug("%s\t%s %s %j", e, P, m, h), y)) { if ("/" === h) return !1 c[h] && (m += "\\"), (m += h), (y = !1) } else switch (h) { case "/": return !1 case "\\": if (E && "-" === e.charAt(P + 1)) { m += h continue } L(), (y = !0) continue case "?": case "*": case "+": case "@": case "!": if ((this.debug("%s\t%s %s %j <-- stateChar", e, P, m, h), E)) { this.debug(" in class"), "!" === h && P === C + 1 && (h = "^"), (m += h) continue } this.debug("call clearStateChar %j", l), L(), (l = h), s.noext && L() continue case "(": if (E) { m += "(" continue } if (!l) { m += "\\(" continue } v.push({ type: l, start: P - 1, reStart: m.length, open: n[l].open, close: n[l].close }), (m += "!" === l ? "(?:(?!(?:" : "(?:"), this.debug("plType %j %j", l, m), (l = !1) continue case ")": if (E || !v.length) { m += "\\)" continue } L(), (g = !0), (p = v.pop()), (m += p.close), "!" === p.type && _.push(p), (p.reEnd = m.length) continue case "|": if (E || !v.length) { m += "\\|" continue } L(), (m += "|") continue case "[": if ((L(), E)) { m += "\\" + h continue } ;(E = !0), (C = P), (S = m.length), (m += h) continue case "]": if (P === C + 1 || !E) { m += "\\" + h continue } f = e.substring(C + 1, P) try { RegExp("[" + T(A(f)) + "]"), (m += h) } catch (V) { m = m.substring(0, S) + "(?:$.)" } ;(g = !0), (E = !1) continue default: L(), !c[h] || ("^" === h && E) || (m += "\\"), (m += h) break } for ( E && ((f = e.slice(C + 1)), (d = this.parse(f, w)), (m = m.substring(0, S) + "\\[" + d[0]), (g = g || d[1])), p = v.pop(); p; p = v.pop() ) { var O = void 0 ;(O = m.slice(p.reStart + p.open.length)), this.debug("setting tail", m, p), (O = O.replace(/((?:\\{2}){0,64})(\\?)\|/g, function (e, t, r) { return r || (r = "\\"), t + t + r + "|" })), this.debug("tail=%j\n %s", O, O, p, m) var j = "*" === p.type ? o : "?" === p.type ? i : "\\" + p.type ;(g = !0), (m = m.slice(0, p.reStart) + j + "\\(" + O) } L(), y && (m += "\\\\") for (var R = u[m.charAt(0)], I = _.length - 1; I > -1; I--) { for ( var N = _[I], M = m.slice(0, N.reStart), D = m.slice(N.reStart, N.reEnd - 8), B = m.slice(N.reEnd), F = m.slice(N.reEnd - 8, N.reEnd) + B, U = M.split("(").length - 1, z = B, q = 0; q < U; q++ ) z = z.replace(/\)[+*?]?/, "") B = z var G = "" === B && t !== w ? "$" : "" m = M + D + B + G + F } if (("" !== m && g && (m = "(?=.)" + m), R && (m = k + m), t === w)) return [m, g] if (!g) return x(e) var W = s.nocase ? "i" : "" try { return Object.assign(new RegExp("^" + m + "$", W), { _glob: e, _src: m }) } catch (V) { return new RegExp("$.") } } }, { key: "makeRe", value: function () { if (this.regexp || !1 === this.regexp) return this.regexp var e = this.set if (!e.length) return (this.regexp = !1), this.regexp var t = this.options, n = t.noglobstar ? o : t.dot ? a : s, i = t.nocase ? "i" : "", l = e .map(function (e) { return ( (e = e .map(function (e) { return "string" === typeof e ? _(e) : e === r ? r : e._src }) .reduce(function (e, t) { return (e[e.length - 1] === r && t === r) || e.push(t), e }, [])), e.forEach(function (t, i) { t === r && e[i - 1] !== r && (0 === i ? e.length > 1 ? (e[i + 1] = "(?:\\/|" + n + "\\/)?" + e[i + 1]) : (e[i] = n) : i === e.length - 1 ? (e[i - 1] += "(?:\\/|" + n + ")?") : ((e[i - 1] += "(?:\\/|\\/" + n + "\\/)" + e[i + 1]), (e[i + 1] = r))) }), e .filter(function (e) { return e !== r }) .join("/") ) }) .join("|") ;(l = "^(?:" + l + ")$"), this.negate && (l = "^(?!" + l + ").*$") try { this.regexp = new RegExp(l, i) } catch (c) { this.regexp = !1 } return this.regexp } }, { key: "match", value: function (e) { var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : this.partial if ((this.debug("match", e, this.pattern), this.comment)) return !1 if (this.empty) return "" === e if ("/" === e && t) return !0 var r = this.options "/" !== dn.sep && (e = e.split(dn.sep).join("/")), (e = e.split(f)), this.debug(this.pattern, "split", e) var n, i = this.set this.debug(this.pattern, "set", i) for (var o = e.length - 1; o >= 0; o--) if (((n = e[o]), n)) break for (var a = 0; a < i.length; a++) { var s = i[a], l = e r.matchBase && 1 === s.length && (l = [n]) var c = this.matchOne(l, s, t) if (c) return !!r.flipNegate || !this.negate } return !r.flipNegate && this.negate } } ], [ { key: "defaults", value: function (e) { return t.defaults(e).Minimatch } } ] ), e ) })() t.Minimatch = E }), Nn = { ContentTypesPath: "[Content_Types].xml", PresentationRelsPath: "ppt/_rels/presentation.xml.rels", SlidePath: "ppt/slides/slide[0-9]*.xml", SlideRelsPath: "ppt/slides/_rels/slide[0-9]*.xml.rels", MediaPath: "ppt/media/**/*.**", themePath: "ppt/theme/theme[0-9]*.xml", PresentationPath: "ppt/presentation.xml", SlideLayoutsPath: "ppt/slideLayouts/slideLayout[0-9]*.xml" }, Mn = { compact: !0, ignoreDeclaration: !0, attributesKey: "attributes", elementNameFn: function (e) { return e.replace("p:", "").replace("a:", "") } }, Dn = (function () { var e = T( A().mark(function e(t) { var r, n, i, o, a, s, l, c, u, f, p, d, h, m, g, y, v, b, w return A().wrap(function (e) { while (1) switch ((e.prev = e.next)) { case 0: return ( (l = Object.keys(t)), (c = In.match(l, Nn.themePath, { matchBase: !0 }) || []), (u = t[c[0]]), (e.next = 5), u.async("string") ) case 5: return ( (f = e.sent), (p = Ir(f, Mn)), (d = p.theme.themeElements.clrScheme), (h = "#".concat( (null === (r = d.lt1.sysClr) || void 0 === r ? void 0 : r.attributes.lastClr) || (null === (n = d.lt1.srgbClr) || void 0 === n ? void 0 : n.attributes.val) )), (m = "#".concat( (null === (i = d.dk1.sysClr) || void 0 === i ? void 0 : i.attributes.lastClr) || (null === (o = d.dk1.srgbClr) || void 0 === o ? void 0 : o.attributes.val) )), (g = "#".concat( (null === (a = d.accent1.sysClr) || void 0 === a ? void 0 : a.attributes.lastClr) || (null === (s = d.accent1.srgbClr) || void 0 === s ? void 0 : s.attributes.val) )), (y = "Sans-serif"), (e.next = 14), Jr(t, "ppt/presentation.xml") ) case 14: return ( (v = e.sent), (b = 0.5625), v.height / v.width === 9 / 16 ? (b = 0.5625) : v.height / v.width === 3 / 4 ? (b = 0.75) : 0.626 === +(v.height / v.width).toFixed(3) && (b = 0.625), (w = b), e.abrupt("return", { backgroundColor: h, fontColor: m, themeColor: g, fontName: y, fontSize: "40px", viewportRatio: b, bestViewportRatio: w }) ) case 19: case "end": return e.stop() } }, e) }) ) return function (t) { return e.apply(this, arguments) } })(), Bn = ["emf", "wmf", "tiff", "tif"], Fn = (function () { var e = T( A().mark(function e(t, r, n, i, o) { var a, s, l, c, u, f, p, d, h, m, g, y, v, b return A().wrap( function (e) { while (1) switch ((e.prev = e.next)) { case 0: if ( ((s = null === r || void 0 === r || null === (a = r.blipFill) || void 0 === a ? void 0 : a.blip), (l = s.attributes["r:embed"]), l) ) { e.next = 4 break } return e.abrupt("return") case 4: if ( ((c = n.Relationships.Relationship || []), (u = c.find(function (e) { return e.attributes.Id === l })), u) ) { e.next = 8 break } return e.abrupt("return") case 8: if (((f = u.attributes.Target), (p = i["ppt".concat(f.replace("..", ""))]), p)) { e.next = 12 break } return e.abrupt("return") case 12: return (e.prev = 12), (e.next = 15), p.async("arraybuffer") case 15: if ( ((d = e.sent), (h = p.name.split(".")), (m = "image/".concat(h[h.length - 1])), -1 === Bn.indexOf(h[h.length - 1])) ) { e.next = 20 break } return e.abrupt("return", "noSupportImageType") case 20: return ( (g = new Blob([d], { type: m })), (y = p.name.split("/").reverse()[0]), (v = new File([g], y, { type: m })), (e.next = 25), o(v) ) case 25: return (b = e.sent), e.abrupt("return", b) case 29: throw ( ((e.prev = 29), (e.t0 = e["catch"](12)), re.error("ppt-file parse image upload failed", e.t0), new Error("第".concat(t, "页PPT 图片上传失败,请重试"))) ) case 33: case "end": return e.stop() } }, e, null, [[12, 29]] ) }) ) return function (t, r, n, i, o) { return e.apply(this, arguments) } })(), Un = (function () { var e = T( A().mark(function e(t, r, n, i, o, a, s) { var c, u, f, p, d, h, m, g, y, v, b, w, x, _, T, E, S, C, k, L, P, O, j, R, I, N, M, D, B, F, U, z, q, G, W, V, H, X, Y, K, Z, Q, J, $, ee, te, re, ne, ie, oe, ae, se, le, ce, ue, fe, pe, de, he, me, ge, ye, ve, be, we, xe, Ae, _e, Te, Ee, Se, Ce, ke, Le return A().wrap(function (e) { while (1) switch ((e.prev = e.next)) { case 0: return ( (_ = { type: "image", id: Nr(), left: 0, top: 0, width: 0, height: 0, rotate: 0, fixedRatio: !0, src: "", size: 0, md5: "" }), (e.next = 3), Fn(t, r, n, o, a) ) case 3: if (((T = e.sent), "noSupportImageType" !== T)) { e.next = 6 break } return e.abrupt("return", "noSupportImageType") case 6: if ((T && ((_.src = T.url), (_.size = T.size), (_.md5 = T.md5)), _.src)) { e.next = 9 break } return e.abrupt("return") case 9: return ( null !== r && void 0 !== r && null !== (c = r.spPr) && void 0 !== c && null !== (u = c.xfrm) && void 0 !== u && null !== (f = u.attributes) && void 0 !== f && f.rot && (_.rotate = r.spPr.xfrm.attributes.rot / 6e4 > 180 ? r.spPr.xfrm.attributes.rot / 6e4 - 360 : r.spPr.xfrm.attributes.rot / 6e4), (_.flipH = (null === r || void 0 === r || null === (p = r.spPr) || void 0 === p || null === (d = p.xfrm) || void 0 === d || null === (h = d.attributes) || void 0 === h ? void 0 : h.flipH) || !1), (_.flipV = (null === r || void 0 === r || null === (m = r.spPr) || void 0 === m || null === (g = m.xfrm) || void 0 === g || null === (y = g.attributes) || void 0 === y ? void 0 : y.flipV) || !1), null !== r && void 0 !== r && null !== (v = r.spPr) && void 0 !== v && v.ln && ((null !== (E = r.spPr.ln) && void 0 !== E && E.noFill) || (null !== (S = r.spPr.ln) && void 0 !== S && S.miter) || ((U = { style: -1 === (null === (C = r.spPr.ln) || void 0 === C || null === (k = C.prstDash) || void 0 === k || null === (L = k.attributes) || void 0 === L ? void 0 : L.val.toLowerCase().indexOf("solid")) ? "dashed" : "solid", width: ((null === (P = r.spPr.ln) || void 0 === P || null === (O = P.attributes) || void 0 === O ? void 0 : O.w) || 9525) / 12700, color: "#000000" }), null !== (j = r.spPr.ln) && void 0 !== j && null !== (R = j.solidFill) && void 0 !== R && null !== (I = R.srgbClr) && void 0 !== I && null !== (N = I.attributes) && void 0 !== N && N.val ? (U.color = "#".concat( null === (z = r.spPr.ln) || void 0 === z || null === (q = z.solidFill) || void 0 === q || null === (G = q.srgbClr) || void 0 === G || null === (W = G.attributes) || void 0 === W ? void 0 : W.val )) : null !== (M = r.spPr.ln) && void 0 !== M && null !== (D = M.solidFill) && void 0 !== D && null !== (B = D.schemeClr) && void 0 !== B && null !== (F = B.attributes) && void 0 !== F && F.val && ((K = +i.replace(/[^0-9]/gi, "")), (Z = zr( s, K, null === (V = r.spPr.ln) || void 0 === V || null === (H = V.solidFill) || void 0 === H || null === (X = H.schemeClr) || void 0 === X || null === (Y = X.attributes) || void 0 === Y ? void 0 : Y.val )), Z && (U.color = Z)), (_.outline = U))), null !== r && void 0 !== r && null !== (b = r.spPr) && void 0 !== b && null !== (w = b.effectLst) && void 0 !== w && w.outerShdw && ((de = { blur: 1, color: "#000000", h: ((null === (Q = r.spPr.effectLst.outerShdw) || void 0 === Q ? void 0 : Q.attributes.sx) || 12700) / 12700, v: ((null === (J = r.spPr.effectLst.outerShdw) || void 0 === J ? void 0 : J.attributes.sy) || 12700) / 12700 }), null !== ($ = r.spPr) && void 0 !== $ && null !== (ee = $.effectLst) && void 0 !== ee && null !== (te = ee.outerShdw) && void 0 !== te && null !== (re = te.attributes) && void 0 !== re && re.blurRad && (de.blur = (r.spPr.effectLst.outerShdw.attributes.blurRad / 12700 / 100) * 20), null !== (ne = r.spPr) && void 0 !== ne && null !== (ie = ne.effectLst) && void 0 !== ie && null !== (oe = ie.outerShdw) && void 0 !== oe && null !== (ae = oe.srgbClr) && void 0 !== ae && null !== (se = ae.attributes) && void 0 !== se && se.val ? (de.color = "#".concat(r.spPr.effectLst.outerShdw.srgbClr.attributes.val)) : null !== (le = r.spPr) && void 0 !== le && null !== (ce = le.effectLst) && void 0 !== ce && null !== (ue = ce.outerShdw) && void 0 !== ue && null !== (fe = ue.schemeClr) && void 0 !== fe && null !== (pe = fe.attributes) && void 0 !== pe && pe.val && ((he = +i.replace(/[^0-9]/gi, "")), (me = zr(s, he, r.spPr.effectLst.outerShdw.schemeClr.attributes.val)), me && (de.color = me)), (_.shadow = de)), null !== r && void 0 !== r && null !== (x = r.blipFill) && void 0 !== x && x.srcRect && ((Te = ((null === (ge = r.blipFill.srcRect) || void 0 === ge || null === (ye = ge.attributes) || void 0 === ye ? void 0 : ye.t) || 0) / 1e3), (Ee = 100 - (null === (ve = r.blipFill.srcRect) || void 0 === ve || null === (be = ve.attributes) || void 0 === be ? void 0 : be.b) / 1e3 || 100), (Se = ((null === (we = r.blipFill.srcRect) || void 0 === we || null === (xe = we.attributes) || void 0 === xe ? void 0 : xe.l) || 0) / 1e3), (Ce = 100 - (null === (Ae = r.blipFill.srcRect) || void 0 === Ae || null === (_e = Ae.attributes) || void 0 === _e ? void 0 : _e.r) / 1e3 || 100), (ke = { range: [ [Se, Te], [Ce, Ee] ], shape: "rect" }), (_.clip = ke)), (e.next = 17), Wr(r, n, o) ) case 17: return (Le = e.sent), l.a.merge(_, Le), e.abrupt("return", _) case 20: case "end": return e.stop() } }, e) }) ) return function (t, r, n, i, o, a, s) { return e.apply(this, arguments) } })(), zn = function (e) { var t = "" switch (e) { case "arrow": case "triangle": case "stealth": t = "arrow" break case "oval": case "diamond": t = "dot" break default: t = "" break } return t }, qn = function (e, t, r, n, i, o, a) { var s = { type: "line", id: Nr(), left: 0, top: 0, width: 2, start: [0, 0], end: [0, 0], points: ["", ""], color: "#5b9bd5", style: "solid" }, c = 1, u = 1 return Wr(t, r, i) .then(function (e) { var r = t.spPr, n = void 0 === r ? {} : r, i = n.xfrm, o = (null === i || void 0 === i ? void 0 : i.attributes) || {}, a = o.flipH, f = o.flipV, p = { left: e.left, top: e.top, start: [0, 0], end: [e.width, e.height] } l.a.merge(s, p), (c = e.width), (u = e.height), a && !f && l.a.merge( s, P( P({}, p), {}, { start: [e.width, 0], end: [0, e.height] } ) ), !a && f && l.a.merge( s, P( P({}, p), {}, { start: [0, e.height], end: [e.width, 0] } ) ), a && f && l.a.merge( s, P( P({}, p), {}, { start: [e.height, e.width], end: [0, 0] } ) ) }) .then(function () { var e, r, n, i, o, a = t.spPr, c = E(s.points, 2), u = c[0], f = c[1], p = s.style if (a && null !== a && void 0 !== a && a.ln) { var d, h, m = a.ln, g = m.headEnd, y = m.tailEnd g && (u = zn(null === g || void 0 === g || null === (d = g.attributes) || void 0 === d ? void 0 : d.type)), y && (f = zn(null === y || void 0 === y || null === (h = y.attributes) || void 0 === h ? void 0 : h.type)) } a && null !== a && void 0 !== a && a.ln && null !== a && void 0 !== a && null !== (e = a.ln) && void 0 !== e && e.prstDash && "solid" !== (null === a || void 0 === a || null === (r = a.ln) || void 0 === r || null === (n = r.prstDash) || void 0 === n ? void 0 : n.attributes.val) && "tx1" !== (null === a || void 0 === a || null === (i = a.ln) || void 0 === i || null === (o = i.prstDash) || void 0 === o ? void 0 : o.attributes.val) && (p = "dashed"), l.a.merge(s, { points: [u, f], style: p }) }) .then(function () { var e, r, i, o, c, u, f = t.spPr, p = t.style, d = +n.replace(/[^0-9]/gi, ""), h = s.color, m = s.width, g = s.shadow if ( f && null !== f && void 0 !== f && f.ln && null !== f && void 0 !== f && null !== (e = f.ln) && void 0 !== e && e.solidFill ) { var y, v, b, w = null === f || void 0 === f || null === (y = f.ln) || void 0 === y ? void 0 : y.solidFill, x = w.schemeClr, A = w.srgbClr if ( (x && (h = zr(a, d, x.attributes.val)), (null !== x && void 0 !== x && x.lumMod) || (null !== x && void 0 !== x && x.lumOff)) ) h = Hr( h, null === x || void 0 === x || null === (v = x.lumMod) || void 0 === v ? void 0 : v.attributes.val, null === x || void 0 === x || null === (b = x.lumOff) || void 0 === b ? void 0 : b.attributes.val ) A && (h = "#".concat(A.attributes.val)) } else if (p && null !== p && void 0 !== p && p.lnRef) { var _ = p.lnRef, T = _.schemeClr, E = _.srgbClr, S = T || E || {}, C = S.lumMod, k = S.lumOff T && (h = zr(a, d, T.attributes.val)), E && (h = "#".concat(E.attributes.val)), (C || k) && (h = Hr( h, null === C || void 0 === C ? void 0 : C.attributes.val, null === k || void 0 === k ? void 0 : k.attributes.val )) } f && null !== f && void 0 !== f && f.ln && null !== f && void 0 !== f && null !== (r = f.ln) && void 0 !== r && null !== (i = r.attributes) && void 0 !== i && i.w && (m = Dr( null === f || void 0 === f || null === (c = f.ln) || void 0 === c || null === (u = c.attributes) || void 0 === u ? void 0 : u.w )) if ( f && null !== f && void 0 !== f && f.effectLst && null !== f && void 0 !== f && null !== (o = f.effectLst) && void 0 !== o && o.outerShdw ) { var L, P, O = (null === f || void 0 === f || null === (L = f.effectLst) || void 0 === L ? void 0 : L.outerShdw.attributes) || {}, j = O.blurRad, R = O.dist, I = O.sx g = { blur: Dr(j || 12700), color: "#000000", h: Dr(I), v: Dr(R) } var N = null === f || void 0 === f || null === (P = f.effectLst) || void 0 === P ? void 0 : P.outerShdw, M = N.schemeClr, D = N.srgbClr M && (g.color = zr(a, d, M.attributes.val)), D && (g.color = "#".concat(D.attributes.val)) } l.a.merge(s, { color: h, width: m, shadow: g }) }) .then(function () { var e, r, n return { id: null === t || void 0 === t || null === (e = t.nvCxnSpPr) || void 0 === e || null === (r = e.cNvPr) || void 0 === r || null === (n = r.attributes) || void 0 === n ? void 0 : n.id, element: s, lineWidth: c, lineHeight: u } }) }, Gn = function (e, t, r, n, i, o, a) { return new Promise(function (s, l) { var c, u = Array.isArray(t) ? t : [t], f = [], p = I(u) try { for (p.s(); !(c = p.n()).done; ) { var d = c.value f.push(qn(e, d, r, n, i, o, a)) } } catch (h) { p.e(h) } finally { p.f() } Promise.all(f).then(function () { var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : [] s(e.filter(Boolean)) }) }) }, Wn = ((n = {}), O(n, "roundRect", { editable: !0, defaultValue: 0.125, range: [0, 0.5], relative: "left", getBaseSize: function (e, t) { return Math.min(e, t) }, formula: function (e, t, r) { var n = Math.min(e, t) * r return "M " .concat(n, " 0 L ") .concat(e - n, " 0 Q ") .concat(e, " 0 ") .concat(e, " ") .concat(n, " L ") .concat(e, " ") .concat(t - n, " Q ") .concat(e, " ") .concat(t, " ") .concat(e - n, " ") .concat(t, " L ") .concat(n, " ") .concat(t, " Q 0 ") .concat(t, " 0 ") .concat(t - n, " L 0 ") .concat(n, " Q 0 0 ") .concat(n, " 0 Z") } }), O(n, "cutRectDiagonal", { editable: !0, defaultValue: 0.2, range: [0, 0.9], relative: "right", getBaseSize: function (e, t) { return Math.min(e, t) }, formula: function (e, t, r) { var n = Math.min(e, t) * r return "M 0 " .concat(t - n, " L 0 0 L ") .concat(e - n, " 0 L ") .concat(e, " ") .concat(n, " L ") .concat(e, " ") .concat(t, " L ") .concat(n, " ") .concat(t, " Z") } }), O(n, "cutRectSingle", { editable: !0, defaultValue: 0.2, range: [0, 0.9], relative: "right", getBaseSize: function (e, t) { return Math.min(e, t) }, formula: function (e, t, r) { var n = Math.min(e, t) * r return "M 0 " .concat(t, " L 0 0 L ") .concat(e - n, " 0 L ") .concat(e, " ") .concat(n, " L ") .concat(e, " ") .concat(t, " Z") } }), O(n, "cutRectSameSide", { editable: !0, defaultValue: 0.2, range: [0, 0.5], relative: "left", getBaseSize: function (e, t) { return Math.min(e, t) }, formula: function (e, t, r) { var n = Math.min(e, t) * r return "M 0 " .concat(n, " L ") .concat(n, " 0 L ") .concat(e - n, " 0 L ") .concat(e, " ") .concat(n, " L ") .concat(e, " ") .concat(t, " L 0 ") .concat(t, " Z") } }), O(n, "roundRectDiagonal", { editable: !0, defaultValue: 0.125, range: [0, 1], relative: "right", getBaseSize: function (e, t) { return Math.min(e, t) }, formula: function (e, t, r) { var n = Math.min(e, t) * r return "M 0 0 L " .concat(e - n, " 0 Q ") .concat(e, " 0 ") .concat(e, " ") .concat(n, " L ") .concat(e, " ") .concat(t, " L ") .concat(n, " ") .concat(t, " Q 0 ") .concat(t, " 0 ") .concat(t - n, " L 0 0 Z") } }), O(n, "roundRectSingle", { editable: !0, defaultValue: 0.125, range: [0, 1], relative: "right", getBaseSize: function (e, t) { return Math.min(e, t) }, formula: function (e, t, r) { var n = Math.min(e, t) * r return "M 0 0 L " .concat(e - n, " 0 Q ") .concat(e, " 0 ") .concat(e, " ") .concat(n, " L ") .concat(e, " ") .concat(t, " L 0 ") .concat(t, " L 0 0 Z") } }), O(n, "roundRectSameSide", { editable: !0, defaultValue: 0.125, range: [0, 0.5], relative: "left", getBaseSize: function (e, t) { return Math.min(e, t) }, formula: function (e, t, r) { var n = Math.min(e, t) * r return "M 0 " .concat(n, " Q 0 0 ") .concat(n, " 0 L ") .concat(e - n, " 0 Q ") .concat(e, " 0 ") .concat(e, " ") .concat(n, " L ") .concat(e, " ") .concat(t, " L 0 ") .concat(t, " Z") } }), O(n, "message", { formula: function (e, t) { var r = 0.2 * e, n = 0.2 * t return "M 0 0 L " .concat(e, " 0 L ") .concat(e, " ") .concat(t - n, " L ") .concat(e / 2, " ") .concat(t - n, " L ") .concat(e / 2 - r, " ") .concat(t, " L ") .concat(e / 2 - r, " ") .concat(t - n, " L 0 ") .concat(t - n, " Z") } }), O(n, "roundMessage", { formula: function (e, t) { var r = 0.125 * Math.min(e, t), n = 0.2 * e, i = 0.2 * t return "M 0 " .concat(r, " Q 0 0 ") .concat(r, " 0 L ") .concat(e - r, " 0 Q ") .concat(e, " 0 ") .concat(e, " ") .concat(r, " L ") .concat(e, " ") .concat(t - r - i, " Q ") .concat(e, " ") .concat(t - i, " ") .concat(e - r, " ") .concat(t - i, " L ") .concat(e / 2, " ") .concat(t - i, " L ") .concat(e / 2 - n, " ") .concat(t, " L ") .concat(e / 2 - n, " ") .concat(t - i, " L ") .concat(r, " ") .concat(t - i, " Q 0 ") .concat(t - i, " 0 ") .concat(t - r - i, " L 0 ") .concat(r, " Z") } }), O(n, "L", { editable: !0, defaultValue: 0.25, range: [0.1, 0.9], relative: "left", getBaseSize: function (e, t) { return Math.min(e, t) }, formula: function (e, t, r) { var n = Math.min(e, t) * r return "M 0 0 L 0 " .concat(t, " L ") .concat(e, " ") .concat(t, " L ") .concat(e, " ") .concat(t - n, " L ") .concat(n, " ") .concat(t - n, " L ") .concat(n, " 0 Z") } }), O(n, "ringRect", { editable: !0, defaultValue: 0.25, range: [0.1, 0.45], relative: "left", getBaseSize: function (e, t) { return Math.min(e, t) }, formula: function (e, t, r) { var n = Math.min(e, t) * r return "M 0 0 " .concat(e, " 0 ") .concat(e, " ") .concat(t, " L 0 ") .concat(t, " L 0 0 Z M ") .concat(n, " ") .concat(n, " L ") .concat(n, " ") .concat(t - n, " L ") .concat(e - n, " ") .concat(t - n, " L ") .concat(e - n, " ") .concat(n, " Z") } }), O(n, "plus", { editable: !0, defaultValue: 0.25, range: [0.1, 0.9], relative: "center", getBaseSize: function (e, t) { return Math.min(e, t) }, formula: function (e, t, r) { var n = Math.min(e, t) * r return "M " .concat(e / 2 - n / 2, " 0 L ") .concat(e / 2 - n / 2, " ") .concat(t / 2 - n / 2, " L 0 ") .concat(t / 2 - n / 2, " L 0 ") .concat(t / 2 + n / 2, " L ") .concat(e / 2 - n / 2, " ") .concat(t / 2 + n / 2, " L ") .concat(e / 2 - n / 2, " ") .concat(t, " L ") .concat(e / 2 + n / 2, " ") .concat(t, " L ") .concat(e / 2 + n / 2, " ") .concat(t / 2 + n / 2, " L ") .concat(e, " ") .concat(t / 2 + n / 2, " L ") .concat(e, " ") .concat(t / 2 - n / 2, " L ") .concat(e / 2 + n / 2, " ") .concat(t / 2 - n / 2, " L ") .concat(e / 2 + n / 2, " 0 Z") } }), O(n, "triangle", { editable: !0, defaultValue: 0.5, range: [0, 1], relative: "left", getBaseSize: function (e, t) { return e }, formula: function (e, t, r) { var n = e * r return "M ".concat(n, " 0 L 0 ").concat(t, " L ").concat(e, " ").concat(t, " Z") } }), O(n, "parallelogramLeft", { editable: !0, defaultValue: 0.25, range: [0, 0.9], relative: "left", getBaseSize: function (e, t) { return e }, formula: function (e, t, r) { var n = e * r return "M " .concat(n, " 0 L ") .concat(e, " 0 L ") .concat(e - n, " ") .concat(t, " L 0 ") .concat(t, " Z") } }), O(n, "parallelogramRight", { editable: !0, defaultValue: 0.25, range: [0, 0.9], relative: "right", getBaseSize: function (e, t) { return e }, formula: function (e, t, r) { var n = e * r return "M 0 0 L " .concat(e - n, " 0 L ") .concat(e, " ") .concat(t, " L ") .concat(n, " ") .concat(t, " Z") } }), O(n, "trapezoid", { editable: !0, defaultValue: 0.25, range: [0, 0.5], relative: "left", getBaseSize: function (e, t) { return e }, formula: function (e, t, r) { var n = e * r return "M " .concat(n, " 0 L ") .concat(e - n, " 0 L ") .concat(e, " ") .concat(t, " L 0 ") .concat(t, " Z") } }), O(n, "bullet", { editable: !0, defaultValue: 0.2, range: [0, 1], relative: "top", getBaseSize: function (e, t) { return t }, formula: function (e, t, r) { var n = t * r return "M " .concat(e / 2, " 0 L 0 ") .concat(n, " L 0 ") .concat(t, " L ") .concat(e, " ") .concat(t, " L ") .concat(e, " ") .concat(n, " Z") } }), O(n, "indicator", { editable: !0, defaultValue: 0.2, range: [0, 0.9], relative: "right", getBaseSize: function (e, t) { return e }, formula: function (e, t, r) { var n = e * r return "M " .concat(e, " ") .concat(t / 2, " L ") .concat(e - n, " 0 L 0 0 L ") .concat(n, " ") .concat(t / 2, " L 0 ") .concat(t, " L ") .concat(e - n, " ") .concat(t, " Z") } }), n), Vn = [ { type: "矩形", children: [ { viewBox: [200, 200], path: "M 0 0 L 200 0 L 200 200 L 0 200 Z", name: "rect" }, { viewBox: [200, 200], path: "M 50 0 L 150 0 Q 200 0 200 50 L 200 150 Q 200 200 150 200 L 50 200 Q 0 200 0 150 L 0 50 Q 0 0 50 0 Z", pathFormula: "roundRect", name: "roundRect" }, { viewBox: [200, 200], path: "M 0 150 L 0 0 L 150 0 L 200 50 L 200 200 L 50 200 Z", pathFormula: "cutRectDiagonal", name: "cutRectDiaGonal" }, { viewBox: [200, 200], path: "M 0 200 L 0 0 L 150 0 L 200 50 L 200 200 Z", pathFormula: "cutRectSingle", name: "cutRectSingle" }, { viewBox: [200, 200], path: "M 0 50 L 50 0 L 150 0 L 200 50 L 200 200 L 0 200 Z", pathFormula: "cutRectSameSide", name: "cutRectSameSide" }, { viewBox: [200, 200], path: "M 0 0 L 150 0 Q 200 0 200 50 L 200 200 L 50 200 Q 0 200 0 150 L 0 0 Z", pathFormula: "roundRectDiagonal", name: "roundRectDiagonal" }, { viewBox: [200, 200], path: "M 0 0 L 150 0 Q 200 0 200 50 L 200 200 L 0 200 L 0 0 Z", pathFormula: "roundRectSingle", name: "roundRectSingle" }, { viewBox: [200, 200], path: "M 0 50 Q 0 0 50 0 L 150 0 Q 200 0 200 50 L 200 200 L 0 200 Z", pathFormula: "roundRectSameSide", name: "roundRectSameSide" } ] }, { type: "常用形状", children: [ { viewBox: [200, 200], path: "M 100 0 A 50 50 0 1 1 100 200 A 50 50 0 1 1 100 0 Z", name: "ellipse" }, { viewBox: [200, 200], path: "M 100 0 L 0 200 L 200 200 L 100 0 Z", pathFormula: "triangle", name: "triangle" }, { viewBox: [200, 200], path: "M 0 0 L 0 200 L 200 200 Z", name: "rtTriangle" }, { viewBox: [200, 200], path: "M 50 0 L 200 0 L 150 200 L 0 200 L 50 0 Z", pathFormula: "parallelogramLeft", name: "parallelogramLeft" }, { viewBox: [200, 200], path: "M 0 0 L 150 0 L 200 200 L 50 200 L 0 0 Z", pathFormula: "parallelogramRight", name: "parallelogramRight" }, { viewBox: [200, 200], path: "M 50 0 L 150 0 L 200 200 L 0 200 L 50 0 Z", pathFormula: "trapezoid", name: "trapezoid" }, { viewBox: [200, 200], path: "M 100 0 L 0 100 L 100 200 L 200 100 L 100 0 Z", name: "diamond" }, { viewBox: [200, 200], path: "M 100 0 L 0 50 L 0 200 L 200 200 L 200 50 L 100 0 Z", pathFormula: "bullet", name: "bullet" }, { viewBox: [200, 200], path: "M 200 100 L 150 0 L 0 0 L 50 100 L 0 200 L 150 200 L 200 100 Z", pathFormula: "indicator", name: "indicator" }, { viewBox: [200, 200], path: "M 0 200 A 50 100 0 1 1 200 200 L 0 200 Z", name: "halfUpElliptical" }, { viewBox: [200, 200], path: "M 40 20 A 100 100 0 1 0 200 100 L 100 100 L 40 20 Z", name: "5/8pie" }, { viewBox: [200, 200], path: "M 100 0 A 100 100 102 1 0 200 100 L 100 100 L 100 0 Z", name: "pie" }, { viewBox: [200, 200], path: "M 160 20 A 100 100 0 1 0 200 100 L 100 100 L 160 20 Z", name: "7/8pie" }, { viewBox: [200, 200], path: "M 100 0 A 100 100 102 1 0 200 100 L 100 0 Z", name: "chord" }, { viewBox: [200, 200], path: "M 100 0 A 100 100 102 1 0 200 100 L 200 0 L 100 0 Z", name: "teardrop" }, { viewBox: [200, 200], path: "M 0 0 L 200 0 Q 200 200 0 200 L 0 0 Z", name: "1/4pie" }, { viewBox: [200, 200], path: "M 100 0 L 0 90 L 50 200 L 150 200 L 200 90 L 100 0 Z", name: "pentagon" }, { viewBox: [200, 200], path: "M 100 0 L 0 60 L 0 140 L 100 200 L 200 140 L 200 60 L 100 0 Z", name: "hexagon" }, { viewBox: [200, 200], path: "M 60 0 L 140 0 L 200 60 L 200 140 L 140 200 L 60 200 L 0 140 L 0 60 L 60 0 Z", name: "octagon" }, { viewBox: [200, 200], path: "M 75 0 L 125 0 L 175 25 L 200 75 L 200 125 L 175 175 L 125 200 L 75 200 L 25 175 L 0 125 L 0 75 L 25 25 L 75 0 Z", name: "dodecagon" }, { viewBox: [200, 200], path: "M 150 0 A 50 100 0 1 1 150 200 L 0 200 L 0 0 L 150 0 Z", name: "flowChartDelay" }, { viewBox: [200, 200], path: "M 50 0 A 25 50 0 1 0 50 200 L 150 200 A 25 50 0 1 0 150 0 L 50 0 Z", name: "flowChartTerminator" }, { viewBox: [200, 200], path: "M 150 0 A 50 100 0 1 1 150 200 L 0 200 A 50 100 0 0 0 0 0 L 150 0 Z", name: "flowChartOnlineStorage" }, { viewBox: [200, 200], path: "M 200 0 L 200 200 L 0 200 L 0 100 L 200 0 Z", name: "flowChartManualInputLeft" }, { viewBox: [200, 200], path: "M 0 0 L 200 100 L 200 200 L 0 200 L 0 0 Z", name: "flowChartManualInputRight" }, { viewBox: [200, 200], path: "M 200 0 L 100 0 L 0 100 L 0 200 L 200 0 Z", name: "diagStripe" }, { viewBox: [200, 200], path: "M 50 0 L 150 0 L 150 50 L 200 50 L 200 150 L 150 150 L 150 200 L 50 200 L 50 150 L 0 150 L 0 50 L 50 50 L 50 0 Z", name: "plusStatic" }, { viewBox: [200, 200], path: "M 0 0 L 0 200 L 200 200 L 200 140 L 60 140 L 60 0 L 0 0 Z", pathFormula: "L", name: "L" }, { viewBox: [200, 200], path: "M0 0 L200 0 L200 200 L0 200 L0 0 Z M50 50 L50 150 L150 150 L150 50 Z", pathFormula: "ringRect", name: "ringRect" }, { viewBox: [200, 200], path: "M0 100 A100 100 0 1 1 0 101 Z M150 100 A50 50 0 1 0 150 101 Z", name: "donut" }, { viewBox: [200, 200], path: "M 70 0 L 70 70 L 0 70 L 0 130 L 70 130 L 70 200 L 130 200 L 130 130 L 200 130 L 200 70 L 130 70 L 130 0 L 70 0 Z", pathFormula: "plus", name: "plus" }, { viewBox: [200, 200], path: "M 40 0 L 0 40 L 60 100 L 0 160 L 40 200 L 100 140 L 160 200 L 200 160 L 140 100 L 200 40 L 160 0 L 100 60 L 40 0 Z", name: "multiply" }, { viewBox: [200, 200], path: "M 0 0 L 200 0 L 200 160 L 100 160 L 60 200 L 60 160 L 0 160 Z", pathFormula: "message", name: "message" }, { viewBox: [200, 200], path: "M 0 40 Q 0 0 40 0 L 160 0 Q 200 0 200 40 L 200 120 Q 200 160 160 160 L 100 160 L 60 200 L 60 160 L 40 160 Q 0 160 0 120 L 0 40 Z", pathFormula: "roundMessage", name: "roundMessage" }, { viewBox: [200, 200], path: "M 180 160 A 100 100 0 1 0 100 200 L 200 200 L 200 160 L 180 160 Z", name: "flowChartMagneticTape" }, { viewBox: [200, 200], path: "M 200 0 L 0 0 L 200 200 L 0 200 L 200 0 Z", name: "flowChartCollate" }, { viewBox: [200, 200], path: "M 0 20 C 60 60 140 -40 200 20 L 200 180 C 140 140 60 240 0 180 L 0 20 Z", name: "wave" }, { viewBox: [200, 200], path: "M 0 20 C 40 -40 60 60 100 20 C 140 -40 160 60 200 20 L 200 180 C 140 240 160 140 100 180 C 40 240 60 140 0 180 L 0 20 Z", name: "doubleWave" }, { viewBox: [200, 200], path: "M 100 0 Q 0 50 0 175 Q 100 225 200 175 Q 200 50 100 0 Z", name: "roundTriangle" }, { viewBox: [200, 200], path: "M 0 100 A 50 50 0 1 1 200 100 L 100 200 L 0 100 Z", name: "parachute" }, { viewBox: [200, 200], path: "M 100 0 L 60 60 L 0 100 L 60 140 L 100 200 L 140 140 L 200 100 L 140 60 L 100 0 Z", name: "star4" }, { viewBox: [200, 200], path: "M 100 0 L 80 40 L 20 20 L 40 80 L 0 100 L 40 120 L 20 180 L 80 160 L 100 200 L 120 160 L 180 180 L 160 120 L 200 100 L 160 80 L 180 20 L 120 40 L 100 0 Z", name: "star8" } ] }, { type: "箭头", children: [ { viewBox: [200, 200], path: "M 100 0 L 0 100 L 50 100 L 50 200 L 150 200 L 150 100 L 200 100 L 100 0 Z", name: "upArrow" }, { viewBox: [200, 200], path: "M 100 200 L 200 100 L 150 100 L 150 0 L 50 0 L 50 100 L 0 100 L 100 200 Z", name: "downArrow" }, { viewBox: [200, 200], path: "M 0 100 L 100 0 L 100 50 L 200 50 L 200 150 L 100 150 L 100 200 L 0 100 Z", name: "leftArrow" }, { viewBox: [200, 200], path: "M 200 100 L 100 0 L 100 50 L 0 50 L 0 150 L 100 150 L 100 200 L 200 100 Z", name: "rightArrow" }, { viewBox: [200, 200], path: "M 100 0 L 0 60 L 60 60 L 60 140 L 0 140 L 100 200 L 200 140 L 140 140 L 140 60 L 200 60 L 100 0 Z", name: "upDownArrow" }, { viewBox: [200, 200], path: "M 0 100 L 60 0 L 60 60 L 140 60 L 140 0 L 200 100 L 140 200 L 140 140 L 60 140 L 60 200 L 0 100 Z", name: "leftRightArrow" }, { viewBox: [200, 200], path: "M 100 0 L 60 40 L 80 40 L 80 80 L 40 80 L 40 60 L 0 100 L 40 140 L 40 120 L 80 120 L 80 160 L 60 160 L 100 200 L 140 160 L 120 160 L 120 120 L 160 120 L 160 140 L 200 100 L 160 60 L 160 80 L 120 80 L 120 40 L 140 40 L 100 0 Z", name: "quadArrow" }, { viewBox: [200, 200], path: "M 0 100 L 100 0 L 100 50 L 200 50 L 150 100 L 200 150 L 100 150 L 100 200 L 0 100 Z", name: "notchedLeftArrow" }, { viewBox: [200, 200], path: "M 200 100 L 100 0 L 100 50 L 0 50 L 50 100 L 0 150 L 100 150 L 100 200 L 200 100 Z", name: "notchedRightArrow" }, { viewBox: [200, 200], path: "M 0 100 L 80 20 L 80 80 L 120 80 L 120 0 L 200 0 L 200 200 L 120 200 L 120 120 L 80 120 L 80 180 L 0 100 Z", name: "leftArrowCallout" }, { viewBox: [200, 200], path: "M 200 100 L 120 20 L 120 80 L 80 80 L 80 0 L 0 0 L 0 200 L 80 200 L 80 120 L 120 120 L 120 180 L 200 100 Z", name: "rightArrowCallout" }, { viewBox: [200, 200], path: "M 0 0 L 120 0 L 200 100 L 120 200 L 0 200 L 80 100 L 0 0 Z", name: "chevronRight" }, { viewBox: [200, 200], path: "M 80 0 L 200 0 L 120 100 L 200 200 L 80 200 L 0 100 L 80 0 Z", name: "chevronLeft" }, { viewBox: [200, 200], path: "M 0 0 L 140 0 L 200 100 L 140 200 L 0 200 L 0 100 L 0 0 Z", name: "homePlateRight" }, { viewBox: [200, 200], path: "M 60 0 L 200 0 L 200 100 L 200 200 L 60 200 L 0 100 L 60 0 Z", name: "homePlateLeft" }, { viewBox: [200, 200], path: "M 0 0 L 200 100 L 0 200 L 60 100 L 0 0 Z", name: "triangleArrowRight" }, { viewBox: [200, 200], path: "M 200 0 L 0 100 L 200 200 L 140 100 L 200 0 Z", name: "triangleArrowLeft" }, { viewBox: [200, 200], path: "M 0 0 L 80 0 L 200 100 L 80 200 L 0 200 L 120 100 L 0 0 Z", name: "chevronThinRight" }, { viewBox: [200, 200], path: "M 200 0 L 120 0 L 0 100 L 120 200 L 200 200 L 80 100 L 200 0 Z", name: "chevronThinLeft" }, { viewBox: [200, 200], path: "M 0 200 L 180 200 L 180 40 L 200 40 L 160 0 L 120 40 L 140 40 L 140 160 L 0 160 L 0 200 Z", name: "bentUpArrow" }, { viewBox: [200, 200], path: "M 0 200 L 0 20 L 160 20 L 160 0 L 200 40 L 160 80 L 160 60 L 40 60 L 40 200 L 0 200 Z", name: "bentRightArrow" }, { viewBox: [200, 200], path: "M 40 180 L 180 180 L 180 40 L 200 40 L 160 0 L 120 40 L 140 40 L 140 140 L 40 140 L 40 120 L 0 160 L 40 200 L 40 180 Z", name: "leftUpArrow" }, { viewBox: [1024, 1024], path: "M398.208 302.912V64L0 482.112l398.208 418.176V655.36c284.48 0 483.584 95.552 625.792 304.64-56.896-298.688-227.584-597.312-625.792-657.088z", special: !0, name: "leftBendArrow" }, { viewBox: [1024, 1024], path: "M625.792 302.912V64L1024 482.112l-398.208 418.176V655.36C341.312 655.36 142.208 750.912 0 960c56.896-298.688 227.584-597.312 625.792-657.088z", special: !0, name: "rightBendArrow" } ] }, { type: "其他形状", children: [ { viewBox: [1024, 1024], path: "M995.336 243.4016c-15.7584-36.5736-38.3376-69.26639999-66.91440001-97.37280001-28.5768-27.98879999-61.73999999-49.8624-98.78399999-65.26799998-38.22-15.876-78.6744-23.8728-120.4224-23.87280001-57.97680001 0-114.5424 15.876-163.69919999 45.864-11.76 7.17360001-22.932 15.05279999-33.51600001 23.63760001-10.584-8.5848-21.75600001-16.46400001-33.51600001-23.63760001-49.1568-29.98799999-105.7224-45.86399999-163.69919999-45.864-41.74799999 0-82.2024 7.9968-120.4224 23.87280001-36.9264 15.28799999-70.2072 37.27919999-98.78399999 65.26799998-28.6944 28.10640001-51.156 60.79919999-66.91440001 97.37280001-16.34639999 37.9848-24.696 78.3216-24.696 119.83439999 0 39.1608 7.9968 79.96800001 23.8728 121.48080001 13.28880001 34.692 32.34000001 70.67760001 56.6832 107.016 38.57279999 57.5064 91.61040001 117.4824 157.4664 178.28160001 109.1328 100.78319999 217.2072 170.4024 221.79359999 173.22479998l27.87120001 17.8752c12.348 7.8792 28.224 7.8792 40.572 0l27.87119999-17.8752c4.58639999-2.94 112.54319999-72.44159999 221.79360001-173.22479998 65.85599999-60.79919999 118.89359999-120.7752 157.4664-178.28160001 24.3432-36.33839999 43.512-72.324 56.68319999-107.016 15.876-41.5128 23.8728-82.32 23.87280001-121.48080001 0.1176-41.5128-8.232-81.8496-24.5784-119.83439999z", special: !0, name: "heart" }, { viewBox: [1024, 1024], path: "M985.20746667 343.50079998l-303.32586667-44.08319999L546.28693333 24.5248c-3.70346666-7.5264-9.79626667-13.6192-17.32266665-17.32266668-18.87573334-9.3184-41.81333333-1.55306667-51.25120001 17.32266668L342.1184 299.41759999l-303.32586667 44.08319999c-8.36266667 1.19466667-16.00853333 5.13706667-21.8624 11.11040001-14.69440001 15.17226667-14.45546667 39.30453334 0.71679999 54.1184l219.46026668 213.9648-51.84853333 302.1312c-1.43359999 8.24320001-0.11946667 16.8448 3.82293333 24.25173333 9.79626667 18.6368 32.9728 25.92426667 51.6096 16.00853334L512 822.44266665l271.3088 142.64320001c7.40693333 3.9424 16.00853333 5.25653333 24.25173333 3.82293333 20.78719999-3.584 34.7648-23.296 31.1808-44.0832l-51.84853333-302.1312 219.46026668-213.9648c5.97333334-5.85386666 9.91573333-13.49973334 11.11039999-21.8624 3.2256-20.90666667-11.34933333-40.26026667-32.256-43.36640001z", special: !0, name: "star5" }, { viewBox: [1024, 1024], path: "M852.65066667 405.84533333C800.54044445 268.40177778 667.76177778 170.66666667 512.22755555 170.66666667S223.91466667 268.288 171.80444445 405.73155555C74.29688889 431.33155555 2.27555555 520.07822222 2.27555555 625.77777778c0 125.72444445 101.83111111 227.55555555 227.44177778 227.55555555h564.56533334C919.89333333 853.33333333 1021.72444445 751.50222222 1021.72444445 625.77777778c0-105.472-71.79377778-194.21866667-169.07377778-219.93244445z", special: !0, name: "cloud" }, { viewBox: [1024, 1024], path: "M926.25224691 323.7371485H654.6457886L898.88200917 15.14388241c5.05486373-6.53433603 0.49315743-16.02761669-7.76722963-16.02761668H418.30008701c-3.45210206 0-6.78091476 1.84934039-8.50696579 4.93157436L90.35039154 555.76772251c-3.82197013 6.53433603 0.86302552 14.7947231 8.50696578 14.79472311h215.01664245l-110.22068713 440.88274851c-2.34249783 9.61657002 9.24670194 16.39748478 16.39748477 9.49328065L933.03316167 340.62779071c6.41104668-6.0411786 2.09591911-16.8906422-6.78091476-16.89064221z", special: !0, name: "lightningBolt" }, { viewBox: [1024, 1024], path: "M878.47822222 463.30311111c-22.18666667-49.83466667-53.93066667-93.98044445-94.32177777-131.072l-33.10933334-30.37866666c-4.89244445-4.32355555-12.62933333-2.38933333-14.79111111 3.75466666l-14.79111111 42.43911111c-9.216 26.624-26.16888889 53.81688889-50.176 80.55466667-1.59288889 1.70666667-3.41333333 2.16177778-4.66488889 2.27555556-1.25155555 0.11377778-3.18577778-0.11377778-4.89244445-1.70666667-1.59288889-1.36533333-2.38933333-3.41333333-2.27555555-5.46133333 4.20977778-68.49422222-16.27022222-145.74933333-61.09866667-229.83111112C561.26577778 124.01777778 509.72444445 69.51822222 445.32622222 31.51644445l-46.99022222-27.648c-6.144-3.64088889-13.99466667 1.13777778-13.65333333 8.30577777l2.50311111 54.61333333c1.70666667 37.31911111-2.61688889 70.31466667-12.85688889 97.73511112-12.51555555 33.56444445-30.49244445 64.73955555-53.47555556 92.72888888-16.15644445 19.56977778-34.24711111 37.20533333-54.04444444 52.45155556-47.90044445 36.75022222-87.38133333 84.65066667-114.11911111 138.24C125.72444445 502.10133333 111.50222222 562.74488889 111.50222222 623.50222222c0 53.70311111 10.58133333 105.69955555 31.51644445 154.73777778 20.25244445 47.21777778 49.152 89.77066667 85.90222222 126.17955555 36.864 36.40888889 79.64444445 65.08088889 127.31733333 84.992C405.61777778 1010.11911111 457.95555555 1020.58666667 512 1020.58666667s106.38222222-10.46755555 155.76177778-31.06133334c47.67288889-19.91111111 90.56711111-48.46933333 127.31733333-84.992 36.864-36.40888889 65.76355555-78.96177778 85.90222222-126.17955555 20.93511111-49.03822222 31.51644445-101.03466667 31.51644445-154.73777778 0-55.52355555-11.37777778-109.45422222-34.01955556-160.31288889z", special: !0, name: "fire" }, { viewBox: [1024, 1024], path: "M968.20337778 20.11591112H705.44042667c-22.17301333 0-41.92483556 15.16430222-47.14951111 37.33731555C642.36202666 124.73685332 582.08711111 173.03324444 512 173.03324444s-130.36202666-48.29639112-146.29091556-115.58001777c-5.22467555-22.17301333-24.84906667-37.33731556-47.14951111-37.33731555H55.79662222c-30.96576 0-56.06968889 25.10392889-56.06968888 56.06968888v321.12639999c0 30.96576 25.10392889 56.06968889 56.06968888 56.06968889h95.57333334v494.43271112c0 30.96576 25.10392889 56.06968889 56.06968889 56.06968888h609.1207111c30.96576 0 56.06968889-25.10392889 56.06968889-56.06968888V453.38168888h95.57333334c30.96576 0 56.06968889-25.10392889 56.06968888-56.06968889V76.1856c0-30.96576-25.10392889-56.06968889-56.06968888-56.06968888z", special: !0, name: "clothes" }, { viewBox: [1024, 1024], path: "M980.94648889 239.80714666H523.46880001L373.99210666 96.82944c-1.91146667-1.78403556-4.46008889-2.80348444-7.00871111-2.80348445H43.05351111c-22.55530667 0-40.77795555 18.22264888-40.77795555 40.77795557v754.39217776c0 22.55530667 18.22264888 40.77795555 40.77795555 40.77795557h937.89297778c22.55530667 0 40.77795555-18.22264888 40.77795555-40.77795557V280.58510222c0-22.55530667-18.22264888-40.77795555-40.77795555-40.77795556z", special: !0, name: "folder" }, { viewBox: [1024, 1024], path: "M972.60904597 164.57058577L841.30587843 33.39070759c-18.86327195-18.86327195-44.1375906-29.34286748-70.64480282-29.3428675-26.75379095 0-51.90482023 10.47959553-70.76809219 29.3428675L558.60337778 174.68031322c-18.86327195 18.86327195-29.34286748 44.1375906-29.34286749 70.64480283 0 26.75379095 10.47959553 51.90482023 29.34286749 70.76809218l103.31648301 103.31648302c-24.28800376 53.50758189-57.69942011 101.59043198-99.24793416 143.13894603-41.42522469 41.67180341-89.63136414 75.08321976-143.13894603 99.61780223L316.21649759 558.84995649c-18.86327195-18.86327195-44.1375906-29.34286748-70.64480283-29.34286747-26.75379095 0-51.90482023 10.47959553-70.76809217 29.34286747L33.39070759 700.01627278c-18.86327195 18.86327195-29.34286748 44.1375906-29.3428675 70.76809217 0 26.75379095 10.47959553 51.90482023 29.3428675 70.76809219l131.05658883 131.05658883c30.08260365 30.205893 71.63111769 47.34311394 114.28923598 47.34311394 9.00012323 0 17.63037836-0.73973616 26.13734414-2.21920846 166.19405621-27.37023774 331.03192945-115.76870829 464.06114804-248.67463751C901.84095379 636.27567408 990.11613498 471.56109018 1017.85624079 304.87387654c8.38367642-50.91850535-8.50696579-103.31648302-45.24719482-140.30329077z", special: !0, name: "phone" }, { viewBox: [1024, 1024], path: "M910.60451556 640.96028445c-20.38897778-65.49959112-43.83630221-120.54983112-79.89930667-210.64362666C836.31217778 193.67708444 737.93535999 2.27555556 511.36284444 2.27555556 282.24170667 2.27555556 186.03121778 197.50001778 192.14791111 430.31665779c-36.19043555 90.22122667-59.51032888 144.88917333-79.89930667 210.64362666-43.32657778 139.53706668-29.30915556 197.26336001-18.60494222 198.53767111 22.9376 2.80348444 89.32920888-105.00323556 89.32920889-105.00323556 0 62.44124445 32.11264001 143.86972444 101.69002667 202.61546667-33.64181333 10.32192-109.20846222 38.10190221-91.24067556 68.55793777 14.52714667 24.59420444 250.01984 15.67402668 317.94062222 8.02816 67.92078222 7.64586667 303.41347556 16.56604444 317.94062223-8.02816 17.96778667-30.32860444-57.72629333-58.23601779-91.24067555-68.55793777 69.57738667-58.87317334 101.69002667-140.30165333 101.69002667-202.61546667 0 0 66.39160889 107.80672 89.32920888 105.00323556 10.83164445-1.40174222 24.84906667-59.12803556-18.47751111-198.53767111z", special: !0, name: "penguin" }, { viewBox: [1024, 1024], path: "M1016.86992592 199.24764445c-37.13706667 16.01991111-77.55093333 27.54939259-119.17842962 32.03982222 42.96248889-25.60758518 75.60912592-66.02145185 91.02222222-114.08118519-39.68568889 23.66577778-84.58998518 41.02068148-131.31472593 50.00154074C819.53374815 126.79395555 765.76995555 101.79318518 706.18074075 101.79318518c-114.688 0-206.92385185 92.96402963-206.92385186 207.04521482 0 16.01991111 1.94180741 32.03982222 5.09724444 47.45291852-171.72859259-8.98085925-324.88865185-91.02222222-426.71217778-216.63288889-17.96171852 30.82619259-28.15620741 66.02145185-28.1562074 104.49351112 0 71.84687408 36.53025185 135.19834075 92.23585185 172.45677036-33.98162963-1.33499259-66.02145185-10.92266667-93.57084445-26.33576296v2.54862222c0 100.6098963 71.1186963 183.98625185 165.90317037 203.1616-17.3549037 4.49042963-35.92343703 7.03905185-54.49197037 7.03905185-13.47128889 0-26.2144-1.33499259-39.07887407-3.15543704C146.69748148 681.90814815 223.03478518 741.49736297 313.93564445 743.43917037c-71.1186963 55.7056-160.19911111 88.4736-256.9253926 88.4736-17.3549037 0-33.37481482-0.60681482-50.00154074-2.54862222C98.75911111 888.22518518 207.62168889 922.20681482 324.85831111 922.20681482 705.45256297 922.20681482 913.71140741 606.90583703 913.71140741 333.23235555c0-8.98085925 0-17.96171852-0.60681482-26.94257777 40.2925037-29.4912 75.60912592-66.02145185 103.76533333-107.04213333z", special: !0, name: "bird" }, { viewBox: [1024, 1024], path: "M917.96720197 1.08889505H106.03279803C53.56084718 1.08889505 9.37393998 45.27580225 9.37393998 97.74775309v5.52336372c0 19.33177108 8.28504494 41.42522469 22.0934536 55.23363205l331.40179753 392.15879462v325.87843379c0 16.57008987 8.28504494 30.37849854 22.09345359 35.90186098l209.88780469 104.94390299 2.76168121 2.76168121c27.61681602 11.04672615 55.23363335-8.28504494 55.23363335-38.66354218V550.66354348l331.40179753-392.15879462c35.90186097-41.42522469 30.37849854-102.18222047-11.04672616-135.32240022-11.04672615-13.80840865-33.14017975-22.0934536-55.23363335-22.09345359z", special: !0, name: "funnel" }, { viewBox: [1024, 1024], path: "M491.70164031 97.48884502a25.89076502 25.89076502 0 0 1 40.59671938 0L745.66415762 367.01171317a25.89076502 25.89076502 0 0 0 30.49932208 7.72839349l208.00640948-89.14190458a25.89076502 25.89076502 0 0 1 35.56096592 29.06238339l-115.18801541 554.96855704A103.56306132 103.56306132 0 0 1 803.14165689 952.14301275H220.85834311a103.56306132 103.56306132 0 0 1-101.4011828-82.51387024l-115.18801541-554.96855704a25.89076502 25.89076502 0 0 1 35.54802012-29.06238339l208.01935528 89.14190458a25.89076502 25.89076502 0 0 0 30.49932208-7.72839349l213.36579793-269.52286815z", special: !0, name: "crown" }, { viewBox: [1024, 1024], path: "M643.02466884 387.7801525c19.85376751-88.69205333 33.718272-152.84087467 41.61900049-192.57389433C704.52292267 95.17283515 652.90057916 2.27555515 550.58614084 2.27555515c-92.26012484 0-138.59407685 45.84971417-165.91530666 137.49816969l-0.70087152 2.67605334c-16.40038399 74.13942085-41.47882668 131.61085116-74.6746315 172.73287031a189.06953915 189.06953915 0 0 1-143.04142182 70.44391902l-26.17434983 0.5606965C77.66380049 387.52529067 27.76177817 438.90551468 27.76177817 501.84374084V881.55022182c0 77.4144 62.25009818 140.17422182 139.05282766 140.17422303h492.82707951c101.23127467 0 191.59267516-63.995904 225.93535999-159.98976l102.37815468-286.22301868c26.04691951-72.82688-11.39234134-153.15945284-83.63303784-179.42300483a138.04612267 138.04612267 0 0 0-47.17499733-8.30850884H643.02466884z", special: !0, name: "like" }, { viewBox: [1024, 1024], path: "M512 512c140.82958222 0 254.86222222-114.03264 254.86222222-254.86222222S652.82958222 2.27555555 512 2.27555555a254.78940445 254.78940445 0 0 0-254.86222222 254.86222223C257.13777778 397.96736 371.17041778 512 512 512z m0 72.81777778c-170.10232889 0-509.72444445 97.57582222-509.72444445 291.27111111v145.63555556h1019.4488889v-145.63555556c0-193.69528889-339.62211555-291.27111111-509.72444445-291.27111111z", special: !0, name: "people" }, { viewBox: [1024, 1024], path: "M1019.81297778 564.50161779l-138.89991111-472.51456c-8.66531556-25.99594668-29.43658667-43.45400889-57.21656889-43.45400891s-50.33528889 15.67402668-59.00060446 41.66997334l-92.00526221 274.48661334H351.69166222L259.6864 90.33045333c-8.66531556-25.99594668-31.22062222-41.66997333-59.00060444-41.66997332s-50.33528889 17.33063112-57.2165689 43.45400887L4.69674667 564.50161779c-5.22467555 17.33063112 1.78403556 36.44529778 15.67402667 46.89464887l491.11950221 368.27591113 492.77610666-368.27591113c13.76256-10.32192 20.77127111-29.43658667 15.54659557-46.89464887z", special: !0, name: "fox" }, { viewBox: [1024, 1024], path: "M927.78951111 340.39277037c-12.01493333-47.81700741 12.01493333-124.03294815 89.08041481-150.97552592l-82.40545184-4.36906667s-31.19028148-109.22666667-174.27721483-118.9357037c-143.08693333-9.8304-236.65777778-3.64088889-236.65777777-3.6408889s106.07122963 67.47780741 63.5941926 187.74850371c-31.06891852 63.71555555-79.85682963 116.02299259-132.04290371 175.61220741-1.57771852 1.57771852-3.03407408 3.15543703-4.2477037 4.49042962C278.25493333 624.86755555 7.13007408 934.34311111 7.13007408 934.34311111c298.43152592 78.15774815 498.43768889-7.64586667 616.76657777-110.56165926 24.87940741-0.24272592 43.5693037-0.36408889 56.19105185-0.36408888 164.8109037 0 304.13558518-142.72284445 298.43152593-301.4656-3.88361482-109.1053037-38.71478518-133.74198518-50.72971852-181.5589926z", special: !0, name: "bird2" }, { viewBox: [1024, 1024], path: "M997.8886764 504.17210418L537.2729208 43.89182982c-13.97838539-13.97838539-36.56745619-13.97838539-50.5458416 0L26.1113236 504.17210418c-13.41924998 13.41924998-21.02349164 31.64706454-21.02349163 50.65766867 0 39.47496036 32.09437288 71.56933323 71.56933324 71.56933323h48.53295408V954.83524937c0 19.79339373 15.99127289 35.78466661 35.78466663 35.78466662H440.43066677V740.12724968h125.24633315v250.49266631h297.34821416c19.79339373 0 35.78466661-15.99127289 35.78466663-35.78466662V626.39910608h48.53295408c19.01060414 0 37.23841869-7.49241457 50.65766869-21.02349163 27.84494371-27.95677079 27.84494371-73.24673948-0.11182708-101.20351027z", special: !0, name: "house" }, { viewBox: [1024, 1024], path: "M1009.13013121 349.27572283L674.72427717 14.86986879c-8.82158299-8.82158299-20.35749924-13.16451618-31.89341544-13.16451618s-23.07183245 4.34293316-31.89341547 13.16451618L392.29790453 233.6451272c-16.5574327-1.90003326-33.25058207-2.71433322-49.94373146-2.71433324-99.34459624 0-198.68919249 32.70771543-280.25490606 98.12314628-20.90036589 16.69314938-22.52896582 48.04369819-3.66434987 67.04403081l246.59717401 246.59717401-292.33368895 292.06225564c-3.52863319 3.52863319-5.83581644 8.27871636-6.24296642 13.30023282l-4.61436649 50.48659809c-1.22144996 12.75736619 8.95729967 23.6146991 21.57894918 23.6146991 0.6785833 0 1.35716662 0 2.03574992-0.13571666l50.48659809-4.61436649c5.02151649-0.40714999 9.77159962-2.71433322 13.30023282-6.24296643l292.33368896-292.33368896 246.59717402 246.59717401c8.82158299 8.82158299 20.35749924 13.16451618 31.89341544 13.16451618 13.16451618 0 26.19331567-5.70009979 35.15061536-16.82886604 76.40848044-95.40881307 108.16617924-214.83947521 95.27309638-330.33435417l218.63954175-218.63954173c17.50744934-17.37173267 17.50744934-45.8722316 0-63.51539759z", special: !0, name: "nail" }, { viewBox: [1024, 1024], path: "M976.62005979 160.47737905c-0.39452595-0.39452595-80.35178503 78.64217259-239.47725131 237.50462156l-111.6508437-111.65084369 237.89914752-237.89914752c-125.19623464-75.35445635-286.03131335-56.02268482-390.31767264 48.26367449-81.92988882 81.92988882-112.57140424 200.15616502-83.37648398 310.09739626l2.36715569 8.81107954-372.82702222 372.69551356c-8.15353628 8.15353628-8.15353628 21.56741857 0 29.72095487l185.95323084 185.95323084c8.15353628 8.15353628 21.56741857 8.15353628 29.72095485 0l372.56400493-372.56400493 8.81107953 2.3671557c110.07273989 29.32642892 228.29901608-1.18357785 310.36041356-83.24497533 104.41786795-104.2863593 123.74963948-265.12143802 49.97328693-390.05465535z", special: !0, name: "wrench" } ] }, { type: "线性", children: [ { viewBox: [1024, 1024], path: "M953.5488 832.61667556c-24.08448-57.08913778-58.74574221-108.31644445-102.70947556-152.28017777-43.96373333-43.96373333-95.19104-78.49756444-152.28017777-102.70947558-0.50972445-0.25486222-1.01944888-0.38229333-1.52917334-0.63715555C776.41955556 519.64586667 828.02915556 426.23886221 828.02915556 320.85333332c0-174.58062221-141.44853334-316.02915556-316.02915556-316.02915554S195.97084444 146.27271111 195.97084444 320.85333332c0 105.38552889 51.6096 198.79253333 130.99918223 256.26396447-0.50972445 0.25486222-1.01944888 0.38229333-1.52917334 0.63715555-57.08913778 24.08448-108.31644445 58.61831112-152.28017777 102.70947554-43.96373333 43.96373333-78.49756444 95.19104-102.70947556 152.28017779C46.74901333 888.55893332 34.13333334 947.8144 32.85902222 1008.72647111c-0.12743111 5.7344 4.46008889 10.44935111 10.19448889 10.44935111h76.45866667c5.60696888 0 10.06705778-4.46008889 10.19448889-9.93962666 2.54862221-98.37681778 42.05226667-190.50951112 111.88451555-260.34176001 72.25344-72.25344 168.20906666-112.01194667 270.40881778-112.01194667s198.15537778 39.75850667 270.40881778 112.01194667C852.24106667 818.72668444 891.74471111 910.85937779 894.29333333 1009.23619556c0.12743111 5.60696888 4.58752 9.93962667 10.19448889 9.93962666h76.45866667c5.7344 0 10.32192-4.71495112 10.19448889-10.44935111-1.27431111-60.91207112-13.88999112-120.16753779-37.59217778-176.10979555zM512 540.03484444c-58.49088 0-113.54112-22.81016889-154.95623111-64.22527999S292.81848888 379.34421333 292.81848888 320.85333332c0-58.49088 22.81016889-113.54112 64.22528001-154.9562311S453.50912 101.67182221 512 101.67182221s113.54112 22.81016889 154.95623111 64.22528001S731.18151112 262.36245333 731.18151112 320.85333332c0 58.49088-22.81016889 113.54112-64.22528001 154.95623113S570.49088 540.03484444 512 540.03484444z", special: !0, outlined: !0, name: "peopleLine" }, { viewBox: [1024, 1024], path: "M985.31555555 111.50222222H38.68444445c-20.13866667 0-36.40888889 16.27022222-36.4088889 36.40888889v728.17777778c0 20.13866667 16.27022222 36.40888889 36.4088889 36.40888889h946.6311111c20.13866667 0 36.40888889-16.27022222 36.4088889-36.40888889V147.91111111c0-20.13866667-16.27022222-36.40888889-36.4088889-36.40888889z m-45.5111111 126.06577778V830.57777778H84.19555555V237.568l-31.40266666-24.46222222 44.71466666-57.45777778 48.6968889 37.888h731.70488888l48.69688889-37.888 44.71466667 57.45777778-31.51644444 24.46222222z M877.90933333 193.42222222L512 477.86666667 146.09066667 193.42222222l-48.69688889-37.888-44.71466667 57.45777778 31.40266667 24.46222222 388.66488889 302.19377778c22.98311111 17.86311111 55.18222222 17.86311111 78.16533333 0L939.80444445 237.568l31.40266666-24.46222222-44.71466666-57.45777778-48.58311112 37.77422222z", special: !0, outlined: !0, name: "envelopLine" }, { viewBox: [1024, 1024], path: "M985.31555555 88.74666667H38.68444445c-20.13866667 0-36.40888889 16.27022222-36.4088889 36.40888888v564.33777778c0 20.13866667 16.27022222 36.40888889 36.4088889 36.40888889h432.35555555v127.43111111H275.34222222c-10.01244445 0-18.20444445 8.192-18.20444444 18.20444445v54.61333333c0 5.00622222 4.096 9.10222222 9.10222222 9.10222222h491.52c5.00622222 0 9.10222222-4.096 9.10222222-9.10222222v-54.61333333c0-10.01244445-8.192-18.20444445-18.20444444-18.20444445H552.96V725.90222222h432.35555555c20.13866667 0 36.40888889-16.27022222 36.4088889-36.40888889V125.15555555c0-20.13866667-16.27022222-36.40888889-36.4088889-36.40888888z m-45.5111111 555.23555555H84.19555555V170.66666667h855.6088889v473.31555555z", special: !0, outlined: !0, name: "pcLine" }, { viewBox: [1024, 1024], path: "M512 2.27555555C230.51377778 2.27555555 2.27555555 230.51377778 2.27555555 512s228.23822222 509.72444445 509.72444445 509.72444445 509.72444445-228.23822222 509.72444445-509.72444445S793.48622222 2.27555555 512 2.27555555z m0 932.97777778c-233.69955555 0-423.25333333-189.55377778-423.25333333-423.25333333 0-101.26222222 35.61244445-194.33244445 95.00444444-267.15022222l595.39911111 595.39911111C706.33244445 899.64088889 613.26222222 935.25333333 512 935.25333333z m328.24888889-156.10311111L244.84977778 183.75111111C317.66755555 124.35911111 410.73777778 88.74666667 512 88.74666667c233.69955555 0 423.25333333 189.55377778 423.25333333 423.25333333 0 101.26222222-35.61244445 194.33244445-95.00444444 267.15022222z", special: !0, outlined: !0, name: "forbidLine" }, { viewBox: [1024, 1024], path: "M901.80266667 257.82044445L656.95288889 12.97066667c-6.82666667-6.82666667-16.04266667-10.69511111-25.71377778-10.69511112H147.91111111c-20.13866667 0-36.40888889 16.27022222-36.40888889 36.4088889v946.6311111c0 20.13866667 16.27022222 36.40888889 36.40888889 36.4088889h728.17777778c20.13866667 0 36.40888889-16.27022222 36.40888889-36.4088889V283.648c0-9.67111111-3.86844445-19.00088889-10.69511111-25.82755555zM828.52977778 300.37333333H614.4V86.24355555L828.52977778 300.37333333z m2.048 639.43111112H193.42222222V84.19555555h343.60888889v245.76c0 26.39644445 21.39022222 47.78666667 47.78666667 47.78666667h245.76v562.06222223z", special: !0, outlined: !0, name: "paperLine" }, { viewBox: [1024, 1024], path: "M981.07392 55.79662222H42.92608c-31.22062222 0-50.71758221 34.02410666-35.04355556 61.16693334L304.28728889 620.82616888V927.42542221c0 22.55530667 18.09521779 40.77795555 40.52309333 40.77795557h334.37923556c22.42787556 0 40.52309333-18.22264888 40.52309333-40.77795557V620.82616888L1016.24490667 116.96355556c15.54659555-27.14282666-3.95036444-61.16693333-35.17098667-61.16693334zM628.47203556 876.45297779H395.52796444V677.66044445h233.07150222v198.79253334z m12.23338666-301.50200891l-12.10595556 21.15356445h-233.19893332l-12.10595556-21.15356445L130.59868445 147.54702221h762.8026311L640.70542222 574.95096888z", special: !0, outlined: !0, name: "bowl" }, { viewBox: [1024, 1024], path: "M980.62285431 4.54099753H654.39920987c-4.2719763 0-7.76722963 3.49525333-7.76722962 7.76722964v72.4941432c0 4.2719763 3.49525333 7.76722963 7.76722962 7.76722963h207.64393877L604.04167111 350.57107753c-64.72691358-49.83972347-143.69374815-76.7661195-226.67365136-76.7661195-99.54999309 0-193.27456395 38.83614815-263.5679921 109.25903012S4.54099753 547.08198717 4.54099753 646.63198025s38.83614815 193.27456395 109.25903012 263.5679921C184.09345581 980.62285431 277.81802667 1019.45900247 377.36801975 1019.45900247s193.27456395-38.83614815 263.5679921-109.25903012C711.35889383 839.90654419 750.19504197 746.18197333 750.19504197 646.63198025c0-82.9799032-26.92639605-161.68783013-76.63666567-226.41474372L931.4304 162.34521283V369.60079013c0 4.2719763 3.49525333 7.76722963 7.76722963 7.76722962h72.4941432c4.2719763 0 7.76722963-3.49525333 7.76722964-7.76722962V43.37714569c0-21.35988148-17.47626667-38.83614815-38.83614816-38.83614816zM377.36801975 921.07409383c-151.33152395 0-274.44211358-123.11058963-274.44211358-274.44211358s123.11058963-274.44211358 274.44211358-274.44211358 274.44211358 123.11058963 274.44211358 274.44211358-123.11058963 274.44211358-274.44211358 274.44211358z", special: !0, outlined: !0, name: "manLine" }, { viewBox: [1024, 1024], path: "M591.98717801 512l405.34042913-483.16579151c6.79427767-8.02960089 1.08090782-20.22841761-9.41933951-20.2284176h-123.22349044c-7.25752386 0-14.20621693 3.24272343-18.99309439 8.80167789L511.38233839 415.95362022 177.07299399 17.40746878c-4.63246205-5.55895447-11.58115512-8.80167789-18.99309439-8.80167789H34.85640916c-10.50024731 0-16.21361717 12.19881672-9.41933952 20.2284176L430.77749876 512 25.43706964 995.16579151c-6.79427767 8.02960089-1.08090782 20.22841761 9.41933952 20.2284176h123.22349044c7.25752386 0 14.20621693-3.24272343 18.99309439-8.80167789l334.3093444-398.54615144 334.30934441 398.54615144c4.63246205 5.55895447 11.58115512 8.80167789 18.99309439 8.80167789h123.22349044c10.50024731 0 16.21361717-12.19881672 9.41933951-20.2284176L591.98717801 512z", special: !0, outlined: !0, name: "wrongLine" } ] } ], Hn = { rect: "rect", roundRect: "roundRect", snip2DiagRect: "cutRectDiagonal", snip1Rect: "cutRectSingle", snip2SameRect: "cutRectSameSide", round2DiagRect: "roundRectDiagonal", round1Rect: "roundRectSingle", round2SameRect: "roundRectSameSide", mathMinus: "rect", flowChartPunchedCard: "cutRectSingle", flowChartProcess: "rect", flowChartAlternateProcess: "roundRect", flowChartPredefinedProcess: "rect", flowChartInternalStorage: "rect", flowChartDocument: "rect", flowChartMultidocument: "rect", flowChartDisplay: "rect", ribbon2: "rect", ribbon: "rect", ellipseRibbon2: "rect", ellipseRibbon: "rect", verticalScroll: "rect", horizontalScroll: "rect" }, Xn = { ellipse: "ellipse", triangle: "triangle", rtTriangle: "rtTriangle", parallelogram: "parallelogramLeft", trapezoid: "trapezoid", diamond: "diamond", hexagon: "hexagon", pentagon: "pentagon", octagon: "octagon", dodecagon: "dodecagon", pie: "pie", chord: "chord", teardrop: "teardrop", frame: "ringRect", corner: "L", diagStripe: "diagStripe", plus: "plus", donut: "donut", mathPlus: "plus", mathMultiply: "multiply", flowChartManualInput: "flowChartManualInputLeft", flowChartMerge: "triangle", flowChartManualOperation: "trapezoid", flowChartPunchedTape: "wave", flowChartCollate: "flowChartCollate", flowChartDecision: "diamond", flowChartInputOutput: "parallelogramLeft", flowChartTerminator: "flowChartTerminator", flowChartConnector: "ellipse", flowChartExtract: "triangle", flowChartOnlineStorage: "flowChartOnlineStorage", flowChartDelay: "flowChartDelay", flowChartMagneticTape: "flowChartMagneticTape", irregularSeal1: "star8", irregularSeal2: "star8", star6: "star8", star7: "star8", star8: "star8", star10: "star8", star12: "star8", star16: "star8", star24: "star8", star32: "star8", star4: "star4", wave: "wave", doubleWave: "doubleWave", wedgeRectCallout: "message", wedgeRoundRectCallout: "roundMessage", wedgeEllipseCallout: "roundMessage", cloudCallout: "roundMessage", borderCallout1: "message", borderCallout2: "message", borderCallout3: "message", accentCallout1: "message", accentCallout2: "message", accentCallout3: "message", callout1: "message", callout3: "message", accentBorderCallout1: "message", accentBorderCallout2: "message", accentBorderCallout3: "message" }, Yn = { rightArrow: "rightArrow", leftArrow: "leftArrow", upArrow: "upArrow", downArrow: "downArrow", leftRightArrow: "leftRightArrow", upDownArrow: "upDownArrow", quadArrow: "quadArrow", bentArrow: "rightArrow", uturnArrow: "downArrow", leftUpArrow: "leftUpArrow", bentUpArrow: "bentUpArrow", curvedRightArrow: "rightArrow", curvedLeftArrow: "leftArrow", curvedUpArrow: "upArrow", curvedDownArrow: "downArrow", stripedRightArrow: "rightArrow", homePlate: "homePlateRight", notchedRightArrow: "notchedRightArrow", chevron: "chevronRight", rightArrowCallout: "rightArrowCallout", leftArrowCallout: "leftArrowCallout", upArrowCallout: "leftArrowCallout", downArrowCallout: "leftArrowCallout", circularArrow: "downArrow", flowChartOffpageConnector: "homePlateRight" }, Kn = { heart: "heart", lightningBolt: "lightningBolt", cloud: "cloud", star5: "star5" }, Zn = { snip2DiagRect: "adj2", snip2SameRect: "adj1", round2DiagRect: "adj1", round2SameRect: "adj1", corner: "adj2" }, Qn = function (e) { return void 0 !== Hn[e] ? "rect" : void 0 !== Xn[e] ? "common" : void 0 !== Yn[e] ? "arrow" : void 0 !== Kn[e] ? "other" : void 0 }, Jn = function (e, t, r, n, i, o) { var a, s = e.spPr.prstGeom.avLst.gd, l = n.defaultValue if (Array.isArray(s)) { var c, u = e.spPr.prstGeom.avLst.gd, f = u.findLast(function (e) { var r return ( (null === e || void 0 === e || null === (r = e.attributes) || void 0 === r ? void 0 : r.name) && e.attributes.name === Zn[t] ) }) f && null !== f && void 0 !== f && null !== (c = f.attributes) && void 0 !== c && c.fmla && (a = f.attributes.fmla.replace(/[^\d]/g, "")) } else { var p ;("adj" !== s.attributes.name && "adj1" !== s.attributes.name) || null === (p = s.attributes) || void 0 === p || !p.fmla || ((a = s.attributes.fmla.replace(/[^\d]/g, "")), "plus" === t && (a = 2 * (5e4 - a))) } if (void 0 !== a) { var d = E(n.range, 2), h = d[0], m = d[1] ;(l = a / 1e5), l < h ? (l = h) : l > m && (l = m) } return { keypoint: l, path: n.formula(i / r, o / r, l) } }, $n = function (e, t) { return Vn[e].children.find(function (e) { return e.name === t }) }, ei = function (e, t, r) { var n = { path: "M 0 0 L 200 0 L 200 200 L 0 200 Z", viewBox: [200, 200] }, i = r.width, o = r.height, a = r.sp, s = Qn(e) switch (s) { case "rect": var c, u, f = Hn[e], p = Wn[f] if ("rect" !== f) if (((n.viewBox = [i / t, o / t]), (n["pathFormula"] = f), p)) if ( ((n.path = p.formula(i / t, o / t, p.defaultValue)), (n["keypoint"] = p.defaultValue), "editable" in p && null !== (c = a.spPr.prstGeom) && void 0 !== c && null !== (u = c.avLst) && void 0 !== u && u.gd) ) { var d = Jn(a, e, t, p, i, o) l.a.merge(n, d) } break case "common": var h = Xn[e] if (h) { var m = Wn[h] if (m) { var g, y if ( ((n.viewBox = [i / t, o / t]), (n["pathFormula"] = h), (n.path = m.formula(i / t, o / t, m.defaultValue)), (n["keypoint"] = m.defaultValue), "editable" in m && null !== (g = a.spPr.prstGeom) && void 0 !== g && null !== (y = g.avLst) && void 0 !== y && y.gd) ) { var v = Jn(a, e, t, m, i, o) l.a.merge(n, v) } } else { var b = $n(1, h) b && (n = b) } } break case "arrow": var w = Yn[e] if (w) { var x = $n(2, w) x && (n = x) } break case "other": var A = Kn[e] if (A) { var _ = $n(3, A) _ && (n = _) } break } return n }, ti = function (e, t, r, n) { var i = r || {}, o = i.ext, a = e.gdLst, s = e.pathLst, l = a.gd, c = s.path, u = Array.isArray(c) ? c[0].attributes : null !== c && void 0 !== c && c.attributes ? c.attributes : {}, f = u.w, p = void 0 === f ? 1 : f, d = u.h, h = void 0 === d ? 1 : d, m = [1, 1] if (o) { var g = (null === o || void 0 === o ? void 0 : o.attributes) || {}, y = g.cx, v = g.cy if (y && v) { var b = (y / (+p || 1)).toFixed(1), w = (v / (+h || 1)).toFixed(1) Array.isArray(c), (m[0] = +b || 1), (m[1] = +w || 1) } } l && Array.isArray(l) && l.forEach(function (e) { var t = e.attributes || {}, r = t.name, n = t.fmla if (n && r) { var i = n.replace("w", p).replace("h", h).split(" "), o = void 0 if (i.length > 0) { var a = i[0].split(""), s = 0 a.forEach(function (e) { switch (e) { case "*": 0 === s ? ((o = Math.round(i[1] * i[2])), (s = 3)) : ((o = Math.round(o * i[s])), s++) break case "/": 0 === s ? ((o = Math.round(i[1] / i[2])), (s = 3)) : ((o = Math.round(o / i[s])), s++) break } }) } } }) var x = [] if (t) for ( var A = function () { switch (t[_].name) { case "moveTo": var e = t[_].elements[0].attributes, r = e.x, i = e.y, o = Dr(r * m[0]) / n, a = Dr(i * m[1]) / n, s = "M ".concat(o, " ").concat(a) x.push(s) break case "lnTo": var l = t[_].elements[0].attributes, c = l.x, u = l.y, f = Dr(c * m[0]) / n, p = Dr(u * m[1]) / n, d = "L ".concat(f, " ").concat(p) x.push(d) break case "cubicBezTo": var h = t[_].elements, g = "C" h.forEach(function (e) { var t = (null === e || void 0 === e ? void 0 : e.attributes) || {}, r = t.x, i = t.y, o = Dr(r * m[0]) / n, a = Dr(i * m[1]) / n g = g + " " + o + " " + a }), x.push(g) break case "close": x.push("Z") break } }, _ = 0; _ < t.length; _++ ) A() return x.join(" ") }, ri = function (e, t, r, n, i) { var o, a, s, l = "", c = (null === e || void 0 === e || null === (o = e.br) || void 0 === o ? void 0 : o.length) || 0, u = (null === e || void 0 === e || null === (a = e.endParaRPr) || void 0 === a ? void 0 : a.length) || 0, f = 0 t && (t = null === (s = t) || void 0 === s ? void 0 : s.filter(function (e) { return "r" === e.name || "br" === e.name })) var p = i.textStyleOtherDef, d = i.slidePer, h = [], m = null === e || void 0 === e ? void 0 : e.lstStyle return ( Object.entries(e).forEach(function (o) { var a = E(o, 2), s = a[0], g = a[1] switch (s) { case "r": var y = Array.isArray(g) ? g : [g] y.forEach(function (o) { var a, s, l, g, y, v, b, w, x, A, _, T, E, S, C, k, L, P, O, j, R = [], I = o.t._text || "", N = { bold: "1" === (null === o || void 0 === o || null === (a = o.rPr) || void 0 === a || null === (s = a.attributes) || void 0 === s ? void 0 : s.b) || "1" === (null === m || void 0 === m || null === (l = m.defRPr) || void 0 === l || null === (g = l.attributes) || void 0 === g ? void 0 : g.b) || "b" === (null === r || void 0 === r || null === (y = r.txBody) || void 0 === y || null === (v = y.bodyPr) || void 0 === v || null === (b = v.attributes) || void 0 === b ? void 0 : b.anchor) ? 1 : 0, em: "1" === (null === o || void 0 === o || null === (w = o.rPr) || void 0 === w || null === (x = w.attributes) || void 0 === x ? void 0 : x.i) ? 1 : 0, underLine: "1" === (null === o || void 0 === o || null === (A = o.rPr) || void 0 === A || null === (_ = A.attributes) || void 0 === _ ? void 0 : _.u) || "sng" === (null === o || void 0 === o || null === (T = o.rPr) || void 0 === T || null === (E = T.attributes) || void 0 === E ? void 0 : E.u) ? 1 : 0, baseLine: null === o || void 0 === o || null === (S = o.rPr) || void 0 === S || null === (C = S.attributes) || void 0 === C ? void 0 : C.baseline }, M = Xr(N.underLine, o, r, n, null === e || void 0 === e ? void 0 : e.lstStyle, i), D = (null === (k = o.rPr) || void 0 === k || null === (L = k.latin) || void 0 === L || null === (P = L.attributes) || void 0 === P ? void 0 : P.typeface) || "Sans-serif" if ( (D in ["Sans-serif", "Serif"] || (D = "Sans-serif"), !M.includes("font-size")) && null !== p && void 0 !== p && null !== (O = p.txBody.lstStyle.lvl1pPr.defRPr) && void 0 !== O && null !== (j = O.attributes) && void 0 !== j && j.sz ) { var B = (((null === p || void 0 === p ? void 0 : p.txBody.lstStyle.lvl1pPr.defRPr.attributes.sz) / 100) * 4) / 3 1 !== d && (B = Math.round(B / d)), (M = "".concat(M, "font-size:").concat(B, "px;vertical-align:top;")) } var F = '').concat(I, "") R.push(F), N.em && (R.unshift(""), R.push("")), N.bold && (R.unshift(""), R.push("")), N.baseLine && (N.baseLine > 0 ? (R.unshift(""), R.push("")) : N.baseLine < 0 && (R.unshift(""), R.push(""))), (F = R.join("")), c > 0 && u === c && (F = "".concat(F, "")), t && t[f + 1] && "br" === t[f + 1].name && (f++, (F = "".concat(F, ""))), f++, h.push(F) }), (l = h.join("")) break } }), h.length <= 0 && (l = ""), l ) }, ni = "", ii = function (e, t) { if (ni) { var r, n, i, o, a, s if ( ((null === e || void 0 === e || null === (r = e.pPr) || void 0 === r || !r.buChar) && (null === e || void 0 === e || null === (n = e.pPr) || void 0 === n || !n.buAutoNum) && (null === t || void 0 === t || null === (i = t.txBody) || void 0 === i || null === (o = i.lstStyle) || void 0 === o || null === (a = o.lvl1pPr) || void 0 === a || !a.buChar)) || (null !== e && void 0 !== e && null !== (s = e.pPr) && void 0 !== s && s.buNone) ) { var l = "bulletList" === ni ? "" : "" return (ni = ""), l } } else { var c, u, f, p, d, h if (null !== e && void 0 !== e && null !== (c = e.pPr) && void 0 !== c && c.buChar) return (ni = "bulletList"), "" if ( (null === e || void 0 === e || null === (u = e.pPr) || void 0 === u || !u.buNone) && null !== t && void 0 !== t && null !== (f = t.txBody) && void 0 !== f && null !== (p = f.lstStyle) && void 0 !== p && null !== (d = p.lvl1pPr) && void 0 !== d && d.buChar ) return (ni = "bulletList"), "" if (null !== e && void 0 !== e && null !== (h = e.pPr) && void 0 !== h && h.buAutoNum) return (ni = "orderedList"), "" } return "" }, oi = (function () { var e = T( A().mark(function e(t, r, n, i, o, a, s) { var c, u, f, p, d, h, m, g, y, v, b, w, x, _, T, S, C, k, L, O, j, R, I, N, M, D, B, F, U, z, q, G, W, V, H, X, Y, K, Z, Q, J, $, ee, te, re, ne, ie, oe, ae, se, le, ce, ue, fe, pe, de, he, me, ge, ye, ve, be return A().wrap(function (e) { while (1) switch ((e.prev = e.next)) { case 0: if ( ((f = []), (p = null === t || void 0 === t ? void 0 : t.txBody.p), (d = null === t || void 0 === t || null === (c = t.txBody) || void 0 === c || null === (u = c.lstStyle) || void 0 === u ? void 0 : u.lvl1pPr), d && (p.lstStyle = d), (h = t.txBody.p), Array.isArray(h) || (h = [h]), h.map(function (e) { var r, n, i, o if ( null !== e && void 0 !== e && e.r && null !== t && void 0 !== t && null !== (r = t.txBody) && void 0 !== r && null !== (n = r.bodyPr) && void 0 !== n && null !== (i = n.normAutofit) && void 0 !== i && null !== (o = i.attributes) && void 0 !== o && o.fontScale ) { var a, s, l, c, u = e.r Array.isArray(u) || (u = [u]) var f = ((null === t || void 0 === t || null === (a = t.txBody) || void 0 === a || null === (s = a.bodyPr) || void 0 === s || null === (l = s.normAutofit) || void 0 === l || null === (c = l.attributes) || void 0 === c ? void 0 : c.fontScale) || 1e5) / 1e5 u.map(function (e) { var t, r, n, i, o null === (t = e) || void 0 === t || null === (r = t.rPr) || void 0 === r || null === (n = r.attributes) || void 0 === n || !n.sz || (null !== (i = e.rPr) && void 0 !== i && null !== (o = i.attributes) && void 0 !== o && o.baseline) ? (e = P( P({}, e), {}, { rpr: { attributes: { sz: (e.rPr.attributes.sz *= f) } } } )) : (e.rPr.attributes.sz *= f) }) } }), !Br(t)) ) { e.next = 29 break } if ( ((b = null === n || void 0 === n || null === (v = n.Relationships) || void 0 === v ? void 0 : v.Relationship), Array.isArray(b) ? b.forEach(function (e) { var t e.attributes.Type.includes("slideLayout") && (w = null === (t = e.attributes) || void 0 === t ? void 0 : t.Target) }) : (w = null === n || void 0 === n || null === (x = n.Relationships) || void 0 === x || null === (_ = x.Relationship) || void 0 === _ || null === (T = _.attributes) || void 0 === T ? void 0 : T.Target), !w) ) { e.next = 29 break } return (U = o["ppt".concat(w.replace("..", ""))]), (e.next = 14), U.async("string") case 14: return ( (z = e.sent), (q = Ir(z, Fr)), (G = null === q || void 0 === q || null === (S = q.sldLayout) || void 0 === S || null === (C = S.cSld) || void 0 === C || null === (k = C.spTree) || void 0 === k ? void 0 : k.sp), (W = (null === t || void 0 === t || null === (L = t.nvSpPr) || void 0 === L || null === (O = L.nvPr) || void 0 === O || null === (j = O.ph) || void 0 === j || null === (R = j.attributes) || void 0 === R ? void 0 : R.type) || (null === t || void 0 === t || null === (I = t.nvSpPr) || void 0 === I || null === (N = I.nvPr) || void 0 === N || null === (M = N.ph) || void 0 === M || null === (D = M.attributes) || void 0 === D ? void 0 : D.idx)), (V = o["ppt/slideMasters/".concat(i)]), (e.next = 21), V.async("string") ) case 21: ;(H = e.sent), (X = Ir(H, Fr)), (Y = s || {}), (K = Y.defaultTextStyle), (Z = (null === K || void 0 === K || null === (B = K.defRPr) || void 0 === B ? void 0 : B.attributes) || {}), (Q = Z.sz), (g = $r(X, "1" === W ? "body" : W, Q)), (y = $r(X, "other", Q)), (m = null === (F = Mr(G)) || void 0 === F ? void 0 : F.find(function (e) { var t, r, n, i, o, a, s, l return ( ((null === e || void 0 === e || null === (t = e.nvSpPr) || void 0 === t || null === (r = t.nvPr) || void 0 === r || null === (n = r.ph) || void 0 === n || null === (i = n.attributes) || void 0 === i ? void 0 : i.type) || (null === e || void 0 === e || null === (o = e.nvSpPr) || void 0 === o || null === (a = o.nvPr) || void 0 === a || null === (s = a.ph) || void 0 === s || null === (l = s.attributes) || void 0 === l ? void 0 : l.idx)) === W ) })), (m && "1" !== W) || (m = g) case 29: if ( ((J = l.a.cloneDeep({ textStyleDef: g, textStyleOtherDef: y, colorMap: a, slidePer: s.slidePer, defaultTextStyle: null === s || void 0 === s ? void 0 : s.defaultTextStyle })), ($ = ""), (ee = !1), (ni = ""), (te = Object.keys(p)), te.forEach(function (e) { ;/^\d+$/.test(e) && (ee = !0) }), (re = +i.replace(/[^0-9]/gi, "")), !ee) ) { e.next = 40 break } Object.entries(p).forEach(function (e, n) { var i, o, a, s, c, u, d, h, y, v, b, w, x, A, _, T, S, C, k, L, P, O, j, R, I, N, M, D, B = E(e, 2), F = B[1], U = ii(F, m) if ( (U && f.push(U), null !== p && void 0 !== p && p.lstStyle && (F["lstStyle"] = l.a.cloneDeep(p.lstStyle)), ($ = ri(F, null === r || void 0 === r || null === (i = r[n]) || void 0 === i ? void 0 : i.elements, m, re, J)), $) ) { if ( ((null !== F && void 0 !== F && null !== (o = F.pPr) && void 0 !== o && o.buChar) || (null !== F && void 0 !== F && null !== (a = F.pPr) && void 0 !== a && a.buAutoNum) || (null !== (s = m) && void 0 !== s && null !== (c = s.txBody) && void 0 !== c && null !== (u = c.lstStyle) && void 0 !== u && null !== (d = u.lvl1pPr) && void 0 !== d && d.buChar)) && (null === F || void 0 === F || null === (h = F.pPr) || void 0 === h || !h.buNone) && $ ) { var z, q = $.match(/font-size:\d+(.\d+)?px/g) || [], G = 40 if (null !== q && void 0 !== q && q[0]) G = (null === (z = q[0].match(/\d+(.\d+)?/g)) || void 0 === z ? void 0 : z[0]) || 40 f.push('')) } var W = Yr( null === F || void 0 === F ? void 0 : F.pPr, null === F || void 0 === F ? void 0 : F.lstStyle, null !== (y = m) && void 0 !== y && null !== (v = y.nvSpPr) && void 0 !== v && null !== (b = v.nvPr) && void 0 !== b && null !== (w = b.ph) && void 0 !== w && null !== (x = w.attributes) && void 0 !== x && x.type ? m.nvSpPr.nvPr.ph.attributes : null !== (A = m) && void 0 !== A && null !== (_ = A.txBody) && void 0 !== _ && null !== (T = _.lstStyle) && void 0 !== T && T.lvl1pPr ? null === (S = m) || void 0 === S || null === (C = S.txBody) || void 0 === C ? void 0 : C.lstStyle : null === (k = g) || void 0 === k || null === (L = k.txBody) || void 0 === L ? void 0 : L.lstStyle, null === t || void 0 === t || null === (P = t.txBody) || void 0 === P ? void 0 : P.bodyPr ) if ($.includes("")) { var V = $.split("") V.forEach(function (e) { f.push("").concat(e, "")) }) } else f.push("").concat($, "")) !( (null !== F && void 0 !== F && null !== (O = F.pPr) && void 0 !== O && O.buChar) || (null !== F && void 0 !== F && null !== (j = F.pPr) && void 0 !== j && j.buAutoNum) || (null !== (R = m) && void 0 !== R && null !== (I = R.txBody) && void 0 !== I && null !== (N = I.lstStyle) && void 0 !== N && null !== (M = N.lvl1pPr) && void 0 !== M && M.buChar) ) || (null !== F && void 0 !== F && null !== (D = F.pPr) && void 0 !== D && D.buNone) || !$ || f.push("") } }), (e.next = 48) break case 40: if ( ((ge = Yr( null === p || void 0 === p ? void 0 : p.pPr, null === p || void 0 === p ? void 0 : p.lstStyle, null !== (ne = m) && void 0 !== ne && null !== (ie = ne.nvSpPr) && void 0 !== ie && null !== (oe = ie.nvPr) && void 0 !== oe && null !== (ae = oe.ph) && void 0 !== ae && null !== (se = ae.attributes) && void 0 !== se && se.type ? m.nvSpPr.nvPr.ph.attributes : null !== (le = m) && void 0 !== le && null !== (ce = le.txBody) && void 0 !== ce && null !== (ue = ce.lstStyle) && void 0 !== ue && ue.lvl1pPr ? null === (fe = m) || void 0 === fe || null === (pe = fe.txBody) || void 0 === pe ? void 0 : pe.lstStyle : null === (de = g) || void 0 === de || null === (he = de.txBody) || void 0 === he ? void 0 : he.lstStyle, null === t || void 0 === t || null === (me = t.txBody) || void 0 === me ? void 0 : me.bodyPr )), ($ = ri(p, null === r || void 0 === r ? void 0 : r[0].elements, m, re, J)), $ && "" !== $) ) { e.next = 44 break } return e.abrupt("return") case 44: ;(ye = ii(p, m)), ye && (f.push(ye), f.push("")), $.includes("") ? (($ = $.replaceAll("", ""))), f.push($)) : $.includes("") ? ((ve = $.split("")), ve.forEach(function (e) { f.push("").concat(e, "")) })) : f.push("").concat($, "")), ye && (f.push(""), (be = "" === ye ? "" : ""), f.push(be)) case 48: return e.abrupt("return", { textContent: f.join(""), sp: t }) case 49: case "end": return e.stop() } }, e) }) ) return function (t, r, n, i, o, a, s) { return e.apply(this, arguments) } })(), ai = (function () { var e = T( A().mark(function e(t, r, n, i, o, a) { var s, c, u, f, p, d, h, m, g, y, v, b, w, x, _, T, E, S, C, k, L, P, O, j, R, I, N, M, D, B, F, U, z, q, G, W, V, H, X, Y, K, Z, Q, J, $, ee, te, re, ne, ie, oe, ae, se, le, ce, ue, fe, pe, de, he, me, ge, ye, ve, be, we, xe, Ae, _e, Te, Ee, Se, Ce, ke, Le, Pe, Oe, je, Re, Ie, Ne, Me, De, Be, Fe, Ue, ze, qe, Ge, We, Ve, He, Xe, Ye, Ke, Ze, Qe, Je, $e, et, tt, rt, nt, it, ot, at, st, lt, ct, ut, ft, pt, dt, ht, mt, gt, yt, vt, bt, wt, xt, At, _t, Tt, Et, St, Ct, kt, Lt, Pt, Ot, jt, Rt, It, Nt, Mt, Dt, Bt, Ft, Ut, zt, qt, Gt, Wt, Vt return A().wrap(function (e) { while (1) switch ((e.prev = e.next)) { case 0: return ( (Q = { type: "text", id: Nr(), left: 0, top: 0, width: 0, height: 0, content: "", rotate: 0, defaultFontName: "Sans-serif", defaultColor: "#000", lineHeight: 1.2 }), (J = a.colorMap), ($ = +i.replace(/[^0-9]/gi, "")), null !== J && void 0 !== J && null !== (s = J[$]) && void 0 !== s && s["tx1"] && (Q.defaultColor = "#" + J[$]["tx1"]), (e.next = 6), oi(t, r, n, i, o, J, a) ) case 6: if ( ((ee = e.sent), ee && ((Q.content = ee.textContent), (t = ee.sp)), null !== (c = t) && void 0 !== c && null !== (u = c.spPr) && void 0 !== u && null !== (f = u.xfrm) && void 0 !== f && null !== (p = f.attributes) && void 0 !== p && p.rot && (Q.rotate = (null === (te = t) || void 0 === te ? void 0 : te.spPr.xfrm.attributes.rot) / 6e4 > 180 ? (null === (re = t) || void 0 === re ? void 0 : re.spPr.xfrm.attributes.rot) / 6e4 - 360 : (null === (ne = t) || void 0 === ne ? void 0 : ne.spPr.xfrm.attributes.rot) / 6e4), null !== (d = t) && void 0 !== d && null !== (h = d.spPr) && void 0 !== h && null !== (m = h.solidFill) && void 0 !== m && null !== (g = m.schemeClr) && void 0 !== g && null !== (y = g.attributes) && void 0 !== y && y.val ? ((ue = Kr( $, J, t.spPr.solidFill.schemeClr.attributes.val, null === (ie = t.spPr.solidFill.schemeClr) || void 0 === ie || null === (oe = ie.lumMod) || void 0 === oe || null === (ae = oe.attributes) || void 0 === ae ? void 0 : ae.val, null === (se = t.spPr.solidFill.schemeClr) || void 0 === se || null === (le = se.lumOff) || void 0 === le || null === (ce = le.attributes) || void 0 === ce ? void 0 : ce.val )), ue && (Q.fill = ue)) : null !== (v = t) && void 0 !== v && null !== (b = v.spPr) && void 0 !== b && null !== (w = b.solidFill) && void 0 !== w && w.srgbClr && (Q.fill = "#" + (null === (fe = t) || void 0 === fe || null === (pe = fe.spPr) || void 0 === pe || null === (de = pe.solidFill) || void 0 === de || null === (he = de.srgbClr) || void 0 === he ? void 0 : he.attributes.val)), ((null !== (x = t) && void 0 !== x && null !== (_ = x.txBody) && void 0 !== _ && null !== (T = _.bodyPr) && void 0 !== T && T.vert) || "vert" === (null === (E = t) || void 0 === E || null === (S = E.nvSpPr) || void 0 === S || null === (C = S.nvPr) || void 0 === C || null === (k = C.ph) || void 0 === k || null === (L = k.attributes) || void 0 === L ? void 0 : L.orient)) && (Q.vertical = !0), Q.content) ) { e.next = 13 break } return e.abrupt("return") case 13: return (e.next = 15), Wr(t, n, o, i) case 15: return ( (me = e.sent), null !== (P = t) && void 0 !== P && null !== (O = P.spPr) && void 0 !== O && O.ln && ((null !== (ge = t.spPr.ln) && void 0 !== ge && ge.noFill) || ((_e = (null === (ye = t.spPr.ln) || void 0 === ye ? void 0 : ye.solidFill) || {}), (Te = _e.srgbClr), (Ee = _e.schemeClr), (Se = "#000000"), Te ? (Se = "#" + (null === Te || void 0 === Te || null === (Ce = Te.attributes) || void 0 === Ce ? void 0 : Ce.val)) : Ee && (Se = zr( J, $, null === Ee || void 0 === Ee || null === (ke = Ee.attributes) || void 0 === ke ? void 0 : ke.val )), (Le = { style: -1 === (null === (ve = t.spPr.ln) || void 0 === ve || null === (be = ve.prstDash) || void 0 === be || null === (we = be.attributes) || void 0 === we ? void 0 : we.val.toLowerCase().indexOf("solid")) ? "dashed" : "solid", width: ((null === (xe = t.spPr.ln) || void 0 === xe || null === (Ae = xe.attributes) || void 0 === Ae ? void 0 : Ae.w) || 12700) / 12700, color: Se }), (Q.outline = Le))), null !== (j = t.spPr) && void 0 !== j && null !== (R = j.effectLst) && void 0 !== R && R.outerShdw ? ((He = { blur: 1, color: "#000000", h: ((null === (Pe = t.spPr.effectLst.outerShdw) || void 0 === Pe || null === (Oe = Pe.attributes) || void 0 === Oe ? void 0 : Oe.sx) || 12700) / 12700, v: ((null === (je = t.spPr.effectLst.outerShdw) || void 0 === je || null === (Re = je.attributes) || void 0 === Re ? void 0 : Re.sy) || 12700) / 12700 }), null !== (Ie = t.spPr.effectLst.outerShdw) && void 0 !== Ie && null !== (Ne = Ie.attributes) && void 0 !== Ne && Ne.blurRad && (He.blur = ((null === (Xe = t.spPr.effectLst.outerShdw) || void 0 === Xe || null === (Ye = Xe.attributes) || void 0 === Ye ? void 0 : Ye.blurRad) / 12700 / 100) * 20), null !== (Me = t.spPr) && void 0 !== Me && null !== (De = Me.effectLst) && void 0 !== De && null !== (Be = De.outerShdw) && void 0 !== Be && null !== (Fe = Be.srgbClr) && void 0 !== Fe && null !== (Ue = Fe.attributes) && void 0 !== Ue && Ue.val ? (He.color = "#".concat(t.spPr.effectLst.outerShdw.srgbClr.attributes.val)) : null !== (ze = t.spPr) && void 0 !== ze && null !== (qe = ze.effectLst) && void 0 !== qe && null !== (Ge = qe.outerShdw) && void 0 !== Ge && null !== (We = Ge.schemeClr) && void 0 !== We && null !== (Ve = We.attributes) && void 0 !== Ve && Ve.val && ((Ke = +i.replace(/[^0-9]/gi, "")), (Ze = zr(J, Ke, t.spPr.effectLst.outerShdw.schemeClr.attributes.val)), Ze && (He.color = Ze)), (Q.shadow = He)) : null !== (I = t) && void 0 !== I && null !== (N = I.txBody) && void 0 !== N && null !== (M = N.p[0]) && void 0 !== M && null !== (D = M.r) && void 0 !== D && null !== (B = D.rPr) && void 0 !== B && null !== (F = B.effectLst) && void 0 !== F && F.outerShdw ? ((ct = { blur: 1, color: "#000000", h: ((null === (Qe = t.txBody.p[0].r.rPr.effectLst.outerShdw) || void 0 === Qe || null === (Je = Qe.attributes) || void 0 === Je ? void 0 : Je.sx) || 12700) / 12700, v: ((null === ($e = t.txBody.p[0].r.rPr.effectLst.outerShdw) || void 0 === $e || null === (et = $e.attributes) || void 0 === et ? void 0 : et.sy) || 12700) / 12700 }), null !== (tt = t.txBody.p[0].r.rPr.effectLst.outerShdw) && void 0 !== tt && null !== (rt = tt.attributes) && void 0 !== rt && rt.blurRad && (ct.blur = ((null === (ut = t.txBody.p[0].r.rPr.effectLst.outerShdw) || void 0 === ut || null === (ft = ut.attributes) || void 0 === ft ? void 0 : ft.blurRad) / 12700 / 100) * 20), null !== (nt = t.txBody.p[0].r.rPr.effectLst.outerShdw) && void 0 !== nt && null !== (it = nt.srgbClr) && void 0 !== it && null !== (ot = it.attributes) && void 0 !== ot && ot.val ? (ct.color = "#".concat(t.txBody.p[0].r.rPr.effectLst.outerShdw.srgbClr.attributes.val)) : null !== (at = t.txBody.p[0].r.rPr.effectLst.outerShdw) && void 0 !== at && null !== (st = at.schemeClr) && void 0 !== st && null !== (lt = st.attributes) && void 0 !== lt && lt.val && ((pt = +i.replace(/[^0-9]/gi, "")), (dt = zr(J, pt, t.txBody.p[0].r.rPr.effectLst.outerShdw.schemeClr.attributes.val)), dt && (ct.color = dt)), (Q.shadow = ct)) : null !== (U = t) && void 0 !== U && null !== (z = U.txBody) && void 0 !== z && null !== (q = z.p) && void 0 !== q && null !== (G = q.r) && void 0 !== G && null !== (W = G.rPr) && void 0 !== W && null !== (V = W.effectLst) && void 0 !== V && V.outerShdw && ((St = { blur: 1, color: "#000000", h: Dr( (null === (ht = t.txBody.p.r.rPr.effectLst.outerShdw) || void 0 === ht || null === (mt = ht.attributes) || void 0 === mt ? void 0 : mt.sx) || 12700 ), v: Dr( (null === (gt = t.txBody.p.r.rPr.effectLst.outerShdw) || void 0 === gt || null === (yt = gt.attributes) || void 0 === yt ? void 0 : yt.sy) || 12700 ) }), null !== (vt = t.txBody.p.r.rPr.effectLst.outerShdw) && void 0 !== vt && null !== (bt = vt.attributes) && void 0 !== bt && bt.blurRad && (St.blur = ((null === (Ct = t.txBody.p.r.rPr.effectLst.outerShdw) || void 0 === Ct || null === (kt = Ct.attributes) || void 0 === kt ? void 0 : kt.blurRad) / 12700 / 100) * 20), null !== (wt = t.txBody.p.r.rPr.effectLst.outerShdw) && void 0 !== wt && null !== (xt = wt.srgbClr) && void 0 !== xt && null !== (At = xt.attributes) && void 0 !== At && At.val ? (St.color = "#".concat(t.txBody.p.r.rPr.effectLst.outerShdw.srgbClr.attributes.val)) : null !== (_t = t.txBody.p.r.rPr.effectLst.outerShdw) && void 0 !== _t && null !== (Tt = _t.schemeClr) && void 0 !== Tt && null !== (Et = Tt.attributes) && void 0 !== Et && Et.val && ((Lt = +i.replace(/[^0-9]/gi, "")), (Pt = zr(J, Lt, t.txBody.p.r.rPr.effectLst.outerShdw.schemeClr.attributes.val)), Pt && (St.color = Pt)), (Q.shadow = St)), null !== (H = t) && void 0 !== H && null !== (X = H.txBody) && void 0 !== X && null !== (Y = X.p) && void 0 !== Y && Y.r && ((Dt = t.txBody.p.r), Array.isArray(Dt) || (Dt = [Dt]), null !== (Ot = Dt[0]) && void 0 !== Ot && null !== (jt = Ot.rPr) && void 0 !== jt && null !== (Rt = jt.solidFill) && void 0 !== Rt && null !== (It = Rt.schemeClr) && void 0 !== It && null !== (Nt = It.alpha) && void 0 !== Nt && null !== (Mt = Nt.attributes) && void 0 !== Mt && Mt.val && ((Bt = Dt[0].rPr.solidFill.schemeClr.alpha.attributes.val / 1e5), (Q.opacity = Bt))), null !== (K = t) && void 0 !== K && null !== (Z = K.txBody) && void 0 !== Z && Z.p && ((Wt = t.txBody.p), Array.isArray(Wt) || (Wt = [Wt]), null !== (Ft = Wt[0]) && void 0 !== Ft && null !== (Ut = Ft.pPr) && void 0 !== Ut && null !== (zt = Ut.lnSpc) && void 0 !== zt && null !== (qt = zt.spcPct) && void 0 !== qt && null !== (Gt = qt.attributes) && void 0 !== Gt && Gt.val && ((Vt = Wt[0].pPr.lnSpc.spcPct.attributes.val / 1e5), (Q.lineHeight = Vt < 1 ? 1 : Vt))), l.a.merge(Q, me), e.abrupt("return", Q) ) case 22: case "end": return e.stop() } }, e) }) ) return function (t, r, n, i, o, a) { return e.apply(this, arguments) } })(), si = (function () { var e = T( A().mark(function e(t, r, n, i, o, a, s, c, u) { var f, p, d, h, m, g, y, v, b, w, x, _, T, E, S, C, k, L, P, O, j, R, I, N, M, D, B, F, U, z, q, G, W, V, H, X, Y, K, Z, Q, J, $, ee, te, re, ne, ie, ae, se, le, ce, ue, fe, pe, de, he, me, ge, ye, ve, be, we, xe, Ae, _e, Te, Ee, Se, Ce, ke, Le, Pe, Oe, je, Re, Ie, Ne, Me, De, Be, Fe, Ue, ze, qe, Ge, We, Ve, He, Xe, Ye, Ke, Ze, Qe, Je, $e, et, tt, rt, nt, it, ot, at, st, lt, ct, ut, ft, pt, dt, ht, mt, gt, yt, vt, bt, wt, xt, At, _t, Tt, Et, St, Ct, kt return A().wrap(function (e) { while (1) switch ((e.prev = e.next)) { case 0: if (((E = u.colorMap), (S = u.slidePer), null === (f = t.spPr) || void 0 === f || !f.blipFill)) { e.next = 6 break } return (e.next = 4), Un(a, t.spPr, n, i, o, s, E) case 4: return (C = e.sent), e.abrupt("return", C) case 6: if ( !( (null === (p = t.spPr.prstGeom) || void 0 === p || null === (d = p.attributes) || void 0 === d || null === (h = d.prst) || void 0 === h ? void 0 : h.indexOf("line")) >= 0 ) ) { e.next = 12 break } return (e.next = 9), Gn(a, t, n, i, o, s, E) case 9: if (((L = e.sent), null === L || void 0 === L || null === (k = L[0]) || void 0 === k || !k.element)) { e.next = 12 break } return e.abrupt("return", L[0]) case 12: return ( (P = { type: "shape", id: Nr(), left: 0, top: 0, width: 0, height: 0, rotate: 0, viewBox: [200, 200], fixedRatio: !1, fill: "transparent", path: "M 0 0 L 200 0 L 200 200 L 0 200 Z" }), (e.next = 15), Wr(t, n, o, i) ) case 15: if ( ((O = e.sent), l.a.merge(P, O), null !== (m = t.spPr) && void 0 !== m && m.custGeom ? ((R = ti(t.spPr.custGeom, c, null === (j = t.spPr) || void 0 === j ? void 0 : j.xfrm, S)), R && ((P.path = R), (P.viewBox = [P.width / S, P.height / S]))) : ((D = ei( null === (I = t.spPr) || void 0 === I || null === (N = I.prstGeom) || void 0 === N || null === (M = N.attributes) || void 0 === M ? void 0 : M.prst, S, { width: P.width, height: P.height, sp: t } )), l.a.merge(P, D)), (B = t.spPr || {}), (F = B.noFill), (U = B.solidFill), (z = B.gradFill), (q = (null === t || void 0 === t ? void 0 : t.style) || {}), (G = q.fillRef), ("arc" !== (null === (g = t.spPr.prstGeom) || void 0 === g || null === (y = g.attributes) || void 0 === y ? void 0 : y.prst) || U) && (z ? ((W = z || {}), (V = W.gsLst), (H = V || {}), (X = H.gs), null !== X && void 0 !== X && X[0] && null !== X && void 0 !== X && X[1] ? ((Y = X[0] || {}), (K = Y.srgbClr), (Z = Y.schemeClr), (Q = X[1] || {}), (J = Q.srgbClr), ($ = Q.schemeClr), (ee = +i.replace(/[^0-9]/gi, "")), K && J && ((te = oe.mix(K.attributes.val, J.attributes.val).toHexString()), (P.fill = te)), (re = ""), (ne = ""), Z && ((re = zr(E, ee, Z.attributes.val)), (ie = Z || {}), (ae = ie.lumMod), (se = ie.lumOff), re && (ae || se) && (re = Hr( re, (null === ae || void 0 === ae ? void 0 : ae.attributes.val) || 0, (null === se || void 0 === se ? void 0 : se.attributes.val) || 0 ))), $ && ((ne = zr(E, ee, $.attributes.val)), (le = $ || {}), (ce = le.lumMod), (ue = le.lumOff), $ && (ce || ue) && (ne = Hr( ne, (null === ce || void 0 === ce ? void 0 : ce.attributes.val) || 0, (null === ue || void 0 === ue ? void 0 : ue.attributes.val) || 0 ))), re && J && ((fe = oe.mix(re, J.attributes.val).toHexString()), fe && (P.fill = fe)), ne && K && ((pe = oe.mix(ne, K.attributes.val).toHexString()), pe && (P.fill = pe)), Z && $ && ((de = oe.mix(re, ne).toHexString()), de && (P.fill = de))) : (P.fill = "#000")) : F ? (P.fill = "transparent") : U ? ((he = U.schemeClr), (me = U.srgbClr), he && ((ve = +i.replace(/[^0-9]/gi, "")), (be = zr(E, ve, null === he || void 0 === he ? void 0 : he.attributes.val)), (we = (null === (ge = t.spPr) || void 0 === ge || null === (ye = ge.solidFill) || void 0 === ye ? void 0 : ye.schemeClr) || {}), (xe = we.lumMod), (Ae = we.lumOff), be && (xe || Ae) && (be = Hr( be, (null === xe || void 0 === xe ? void 0 : xe.attributes.val) || 0, (null === Ae || void 0 === Ae ? void 0 : Ae.attributes.val) || 0 )), be && (P.fill = be), (_e = he || {}), (Te = _e.alpha), Te && (P.opacity = 1 - (1e5 - Te.attributes.val) / 1e5)), me && ((ke = null === (Ee = t.spPr) || void 0 === Ee || null === (Se = Ee.solidFill) || void 0 === Se || null === (Ce = Se.srgbClr) || void 0 === Ce ? void 0 : Ce.attributes.val), ke && (P.fill = "#" + ke), (Le = me || {}), (Pe = Le.alpha), Pe && (P.opacity = 1 - (1e5 - Pe.attributes.val) / 1e5))) : !G || (null !== (v = t.spPr) && void 0 !== v && v.custGeom) || ((Oe = G.schemeClr), (je = +i.replace(/[^0-9]/gi, "")), (Re = zr(E, je, null === Oe || void 0 === Oe ? void 0 : Oe.attributes.val)), Re && (P.fill = Re))), null === (b = t.txBody) || void 0 === b || !b.p) ) { e.next = 26 break } return (e.next = 24), ai(t, r, n, i, o, u) case 24: ;(Ie = e.sent), null !== Ie && void 0 !== Ie && Ie.content && ((P.text = { content: Ie.content, defaultColor: Ie.defaultColor, defaultFontName: "Sans-serif", align: "top" }), "ctr" === (null === (Ne = t.txBody) || void 0 === Ne || null === (Me = Ne.bodyPr) || void 0 === Me || null === (De = Me.attributes) || void 0 === De ? void 0 : De.anchor) ? (P.text.align = "middle") : "t" === (null === (Be = t.txBody) || void 0 === Be || null === (Fe = Be.bodyPr) || void 0 === Fe || null === (Ue = Fe.attributes) || void 0 === Ue ? void 0 : Ue.anchor) ? (P.text.align = "top") : "b" === (null === (ze = t.txBody) || void 0 === ze || null === (qe = ze.bodyPr) || void 0 === qe || null === (Ge = qe.attributes) || void 0 === Ge ? void 0 : Ge.anchor) && (P.text.align = "bottom"), null !== (We = t.style) && void 0 !== We && null !== (Ve = We.fontRef) && void 0 !== Ve && Ve.schemeClr && ((Ke = +i.replace(/[^0-9]/gi, "")), (Ze = zr( E, Ke, null === t || void 0 === t || null === (He = t.style) || void 0 === He || null === (Xe = He.fontRef) || void 0 === Xe || null === (Ye = Xe.schemeClr) || void 0 === Ye ? void 0 : Ye.attributes.val )), Ze && (P.text.defaultColor = Ze))) case 26: return ( (null !== (w = t.spPr) && void 0 !== w && null !== (x = w.ln) && void 0 !== x && x.noFill) || ((tt = +i.replace(/[^0-9]/gi, "")), (rt = "transparent"), null !== (Qe = t.style) && void 0 !== Qe && null !== (Je = Qe.lnRef) && void 0 !== Je && null !== ($e = Je.schemeClr) && void 0 !== $e && $e.attributes.val && ((ot = zr( E, tt, null === (nt = t.style) || void 0 === nt || null === (it = nt.lnRef) || void 0 === it ? void 0 : it.schemeClr.attributes.val )), ot && (rt = ot)), (at = { style: "solid", width: 1, color: rt }), null !== t && void 0 !== t && null !== (et = t.spPr) && void 0 !== et && et.ln && ((dt = (null === (st = t.spPr.ln) || void 0 === st ? void 0 : st.solidFill) || {}), (ht = dt.srgbClr), (mt = dt.schemeClr), (gt = rt), ht ? (gt = "#" + (null === ht || void 0 === ht || null === (yt = ht.attributes) || void 0 === yt ? void 0 : yt.val)) : mt && ((gt = zr( E, tt, null === mt || void 0 === mt || null === (vt = mt.attributes) || void 0 === vt ? void 0 : vt.val )), (At = (null === (bt = t.spPr) || void 0 === bt || null === (wt = bt.ln) || void 0 === wt || null === (xt = wt.solidFill) || void 0 === xt ? void 0 : xt.schemeClr) || {}), (_t = At.lumMod), (Tt = At.lumOff), gt && (_t || Tt) && (gt = Hr( gt, (null === _t || void 0 === _t ? void 0 : _t.attributes.val) || 0, (null === Tt || void 0 === Tt ? void 0 : Tt.attributes.val) || 0 ))), (at.style = -1 === (null === (lt = t.spPr.ln) || void 0 === lt || null === (ct = lt.prstDash) || void 0 === ct || null === (ut = ct.attributes) || void 0 === ut ? void 0 : ut.val.toLowerCase().indexOf("solid")) ? "dashed" : "solid"), ( (at.width = (((null === (ft = t.spPr.ln) || void 0 === ft || null === (pt = ft.attributes) || void 0 === pt ? void 0 : pt.w) || 12700) / 12700) * 4) / 3 ).toFixed(1), (at.color = gt)), (P.outline = at)), (Et = (null === t || void 0 === t || null === (_ = t.spPr) || void 0 === _ || null === (T = _.xfrm) || void 0 === T ? void 0 : T.attributes) || {}), (St = Et.rot), (Ct = Et.flipV), (kt = Et.flipH), St && (P.rotate = t.spPr.xfrm.attributes.rot / 6e4 > 180 ? t.spPr.xfrm.attributes.rot / 6e4 - 360 : t.spPr.xfrm.attributes.rot / 6e4), Ct && (P.flipV = !0), kt && (P.flipH = !0), e.abrupt("return", P) ) case 32: case "end": return e.stop() } }, e) }) ) return function (t, r, n, i, o, a, s, l, c) { return e.apply(this, arguments) } })(), li = { slide: 0, layout: 1, master: 2 }, ci = (function () { var e = T( A().mark(function e(t, r, n, i, o, a, s, l, c, u) { var f, p, d, h, m, g, y return A().wrap(function (e) { while (1) switch ((e.prev = e.next)) { case 0: if ( ((p = []), (d = []), Array.isArray(t) || (t = [t]), (h = null === n || void 0 === n || null === (f = n.elements) || void 0 === f ? void 0 : f.filter(function (e) { return "sp" === e.name })), h) ) { e.next = 6 break } return e.abrupt("return") case 6: ;(m = A().mark(function e() { var n, c, f, m, y, v, b, w, x, _, T, E, S, C, k, L, P, O, j, R, I, N, M, D, B, F, U, z return A().wrap(function (e) { while (1) switch ((e.prev = e.next)) { case 0: if (((w = t[g]), r !== li.layout && r !== li.master)) { e.next = 4 break } if ( null === w || void 0 === w || null === (x = w.nvSpPr) || void 0 === x || null === (_ = x.nvPr) || void 0 === _ || !_.ph ) { e.next = 4 break } return e.abrupt("return", "continue") case 4: if ( ((T = null === w || void 0 === w || null === (n = w.nvSpPr) || void 0 === n || null === (c = n.cNvPr) || void 0 === c || null === (f = c.attributes) || void 0 === f ? void 0 : f.id), h.forEach(function (e) { null === e || void 0 === e || e.elements.forEach(function (t) { "nvSpPr" === t.name && (null === t || void 0 === t || t.elements.forEach(function (t) { if ("cNvPr" === t.name && t.attributes.id === T) { var r = null === e || void 0 === e ? void 0 : e.elements.filter(function (e) { return "txBody" === e.name })[0] E = null === r || void 0 === r ? void 0 : r.elements.filter(function (e) { return "p" === e.name }) } })) }) }), !( (null !== (m = w.spPr) && void 0 !== m && null !== (y = m.prstGeom) && void 0 !== y && null !== (v = y.attributes) && void 0 !== v && v.prst) || (null !== (b = w.spPr) && void 0 !== b && b.custGeom) )) ) { e.next = 16 break } return ( (k = null === (S = w.nvSpPr) || void 0 === S || null === (C = S.cNvPr) || void 0 === C ? void 0 : C.attributes.id), (L = []), h.forEach(function (e) { var t = !0 null === e || void 0 === e || e.elements.forEach(function (e) { "nvSpPr" === e.name && (null === e || void 0 === e || e.elements.forEach(function (e) { var r "cNvPr" === e.name && (null === (r = e.attributes) || void 0 === r ? void 0 : r.id) !== k && (t = !1) })), "spPr" === e.name && t && (null === e || void 0 === e || e.elements.forEach(function (e) { "custGeom" === e.name && (null === e || void 0 === e || e.elements.forEach(function (e) { "pathLst" === e.name && (null === e || void 0 === e || e.elements.every(function (e) { return ( "path" !== e.name || ((L = (null === e || void 0 === e ? void 0 : e.elements) || []), !1) ) })) })) })) }) }), (e.next = 12), si(w, E, i, o, a, s, l, L, u) ) case 12: ;(P = e.sent), P && (null !== P && void 0 !== P && P.element && "line" === (null === (O = P.element) || void 0 === O ? void 0 : O.type) ? (p.push(P.element), d.push({ id: null === w || void 0 === w || null === (j = w.nvSpPr) || void 0 === j || null === (R = j.cNvPr) || void 0 === R || null === (I = R.attributes) || void 0 === I ? void 0 : I.id, element: P.element, lineWidth: P.lineWidth, lineHeight: P.lineHeight })) : (p.push(P), d.push({ id: null === w || void 0 === w || null === (N = w.nvSpPr) || void 0 === N || null === (M = N.cNvPr) || void 0 === M || null === (D = M.attributes) || void 0 === D ? void 0 : D.id, element: P }))), (e.next = 20) break case 16: return (e.next = 18), ai(w, E, i, o, a, u) case 18: ;(B = e.sent), null !== B && void 0 !== B && B.content && (p.push(B), d.push({ id: null === w || void 0 === w || null === (F = w.nvSpPr) || void 0 === F || null === (U = F.cNvPr) || void 0 === U || null === (z = U.attributes) || void 0 === z ? void 0 : z.id, element: B })) case 20: case "end": return e.stop() } }, e) })), (g = 0) case 8: if (!(g < t.length)) { e.next = 16 break } return e.delegateYield(m(), "t0", 10) case 10: if (((y = e.t0), "continue" !== y)) { e.next = 13 break } return e.abrupt("continue", 13) case 13: g++, (e.next = 8) break case 16: return e.abrupt("return", d) case 17: case "end": return e.stop() } }, e) }) ) return function (t, r, n, i, o, a, s, l, c, u) { return e.apply(this, arguments) } })(), ui = (function () { var e = T( A().mark(function e(t, r, n, i, o, a) { var s, l, c, u, f, p, d, h, m, g, y, v, b, w, x, _, T, E return A().wrap( function (e) { while (1) switch ((e.prev = e.next)) { case 0: if ( (n ? (l = (null === (c = n["p14:media"]) || void 0 === c || null === (u = c.attributes) || void 0 === u ? void 0 : u["r:embed"]) || (null === (f = n["p14:media"]) || void 0 === f || null === (p = f.attributes) || void 0 === p ? void 0 : p["r:link"])) : r && (l = null === (d = r.attributes) || void 0 === d ? void 0 : d["r:link"]), l) ) { e.next = 3 break } return e.abrupt("return") case 3: if ( ((h = i.Relationships.Relationship || []), (m = h.find(function (e) { return e.attributes.Id === l })), m) ) { e.next = 7 break } return e.abrupt("return") case 7: if ( ((g = m.attributes.Target), "External" !== (null === (s = m.attributes) || void 0 === s ? void 0 : s.TargetMode)) ) { e.next = 10 break } return e.abrupt("return", "external") case 10: if (((y = o["ppt".concat(g.replace("..", ""))]), y)) { e.next = 13 break } return e.abrupt("return") case 13: return (e.prev = 13), (e.next = 16), y.async("arraybuffer") case 16: return ( (v = e.sent), (b = y.name.split(".")), (w = "audio/".concat(b[b.length - 1])), (x = new Blob([v], { type: w })), (_ = y.name.split("/").reverse()[0]), (T = new File([x], _, { type: w })), (e.next = 24), a(T) ) case 24: return (E = e.sent), (E.name = _.split(".")[0]), e.abrupt("return", E) case 29: throw ( ((e.prev = 29), (e.t0 = e["catch"](13)), re.error("ppt-file parse audio upload failed", e.t0), new Error("第".concat(t, "页PPT 音频上传失败,请重试"))) ) case 33: case "end": return e.stop() } }, e, null, [[13, 29]] ) }) ) return function (t, r, n, i, o, a) { return e.apply(this, arguments) } })(), fi = (function () { var e = T( A().mark(function e(t, r, n, i, o, a) { var s, l, c, u, f, p, d return A().wrap(function (e) { while (1) switch ((e.prev = e.next)) { case 0: return ( (u = { type: "elf", subtype: "elf-audio", id: Nr(), left: 0, top: 0, width: 400, height: 50, src: "", name: "", focusOrder: 1 }), (f = null === n || void 0 === n || null === (s = n.nvPicPr) || void 0 === s || null === (l = s.nvPr) || void 0 === l || null === (c = l.extLst) || void 0 === c ? void 0 : c.ext), (e.next = 4), ui(t, r, f, i, o, a) ) case 4: if (((p = e.sent), "external" !== p)) { e.next = 7 break } return e.abrupt("return", "external") case 7: if ((p && ((u.src = p.url), (u.size = p.size), (u.md5 = p.md5), (u.name = p.name)), u.src)) { e.next = 10 break } return e.abrupt("return") case 10: return (e.next = 12), Wr(n, i, o) case 12: return ( (d = e.sent), d && ((u.left = null === d || void 0 === d ? void 0 : d.left), (u.top = null === d || void 0 === d ? void 0 : d.top)), e.abrupt("return", u) ) case 15: case "end": return e.stop() } }, e) }) ) return function (t, r, n, i, o, a) { return e.apply(this, arguments) } })(), pi = ["avi", "mpg"], di = (function () { var e = T( A().mark(function e(t, r, n, i, o) { var a, s, l, c, u, f, p, d, h, m, g, y, v return A().wrap( function (e) { while (1) switch ((e.prev = e.next)) { case 0: if (((s = r.attributes["r:link"]), s)) { e.next = 3 break } return e.abrupt("return") case 3: if ( ((l = n.Relationships.Relationship || []), (c = l.find(function (e) { return e.attributes.Id === s })), "External" !== (null === (a = c.attributes) || void 0 === a ? void 0 : a.TargetMode)) ) { e.next = 7 break } return e.abrupt("return", "external") case 7: if (c) { e.next = 9 break } return e.abrupt("return") case 9: if (((u = c.attributes.Target), (f = i["ppt".concat(u.replace("..", ""))]), f)) { e.next = 13 break } return e.abrupt("return") case 13: return (e.prev = 13), (e.next = 16), f.async("arraybuffer") case 16: if ( ((p = e.sent), (d = f.name.split(".")), (h = "video/".concat(d[d.length - 1])), -1 === pi.indexOf(d[d.length - 1])) ) { e.next = 21 break } return e.abrupt("return", "noSupportVideoType") case 21: return ( (m = new Blob([p], { type: h })), (g = f.name.split("/").reverse()[0]), (y = new File([m], g, { type: h })), (e.next = 26), o(y) ) case 26: return (v = e.sent), (v.name = g.split(".")[0]), e.abrupt("return", v) case 31: throw ( ((e.prev = 31), (e.t0 = e["catch"](13)), re.error("ppt-file parse video upload failed", e.t0), new Error("第".concat(t, "页PPT 视频上传失败,请重试"))) ) case 35: case "end": return e.stop() } }, e, null, [[13, 31]] ) }) ) return function (t, r, n, i, o) { return e.apply(this, arguments) } })(), hi = (function () { var e = T( A().mark(function e(t, r, n, i, o, a) { var s, c, u return A().wrap(function (e) { while (1) switch ((e.prev = e.next)) { case 0: return ( (s = { type: "elf", subtype: "elf-video", id: Nr(), left: 0, top: 0, width: 0, height: 0, name: "", src: "", poster: "", videoSize: 0, posterSize: 0 }), (e.next = 3), di(t, r, i, o, a) ) case 3: if (((c = e.sent), "external" !== c)) { e.next = 6 break } return e.abrupt("return", "external") case 6: if ("noSupportVideoType" !== c) { e.next = 8 break } return e.abrupt("return", "noSupportVideoType") case 8: if ((c && ((s.src = c.url), (s.videoSize = c.size), (s.md5 = c.md5), (s.name = c.name)), s.src)) { e.next = 11 break } return e.abrupt("return") case 11: return (e.next = 13), Wr(n, i, o) case 13: return (u = e.sent), l.a.merge(s, u), e.abrupt("return", s) case 16: case "end": return e.stop() } }, e) }) ) return function (t, r, n, i, o, a) { return e.apply(this, arguments) } })(), mi = function (e) { var t = [] if (Array.isArray(e)) { e.forEach(function (e) { null !== e && void 0 !== e && e.id && -1 === gi.indexOf(e.id) && t.push(e) }) var r = [] t.forEach(function (e) { var t "elf-video" === (null === e || void 0 === e || null === (t = e.element) || void 0 === t ? void 0 : t.subtype) && r.push(e.id) }), r.length > 0 && r.forEach(function (e) { var r t.forEach(function (t) { var n t.id === e && "image" === (null === t || void 0 === t || null === (n = t.element) || void 0 === n ? void 0 : n.type) && (r = t) }), r && t.forEach(function (t) { var n t.id === e && "elf-video" === (null === t || void 0 === t || null === (n = t.element) || void 0 === n ? void 0 : n.subtype) && (t.element.poster = r.element.src) }) }), (t = t.filter(function (e) { var t return ( "elf-video" === (null === e || void 0 === e || null === (t = e.element) || void 0 === t ? void 0 : t.subtype) || -1 === r.indexOf(e.id) ) })) } return t }, gi = [], yi = (function () { var e = T( A().mark(function e(t, r, n, i, o, a, s) { var l, c, u, f, p, d, h, m, g, y, v, b return A().wrap(function (e) { while (1) switch ((e.prev = e.next)) { case 0: if ( ((l = r.nvPicPr.nvPr || {}), (c = Object.entries(l)), (u = []), 0 !== c.length && (1 !== c.length || "attributes" !== c[0][0])) ) { e.next = 12 break } return (e.next = 6), Un(t, r, n, i, o, a, s) case 6: if (((f = e.sent), f)) { e.next = 9 break } throw new Error("第".concat(t, "页PPT 图片解析失败,请重试")) case 9: if ("noSupportImageType" !== f) { e.next = 11 break } return e.abrupt("return") case 11: u.push({ id: r.nvPicPr.cNvPr.attributes.id, element: f }) case 12: p = 0 case 13: if (!(p < c.length)) { e.next = 59 break } if (((d = E(c[p], 2)), (h = d[0]), (m = d[1]), "audioFile" !== h)) { e.next = 24 break } return (e.next = 18), fi(t, m, r, n, o, a) case 18: if (((g = e.sent), g)) { e.next = 21 break } throw new Error("第".concat(t, "页PPT 音频解析失败,请重试")) case 21: "external" !== g && u.push({ id: r.nvPicPr.cNvPr.attributes.id, element: g }), (e.next = 56) break case 24: if ("videoFile" !== h) { e.next = 36 break } return (e.next = 27), hi(t, m, r, n, o, a) case 27: if (((y = e.sent), !y || "noSupportVideoType" !== y)) { e.next = 31 break } return gi.push(r.nvPicPr.cNvPr.attributes.id), e.abrupt("return") case 31: if (y) { e.next = 33 break } throw new Error("第".concat(t, "页PPT 视频解析失败,请重试")) case 33: "external" !== y ? u.push({ id: r.nvPicPr.cNvPr.attributes.id, element: y }) : gi.push(r.nvPicPr.cNvPr.attributes.id), (e.next = 56) break case 36: if ("ph" !== h) { e.next = 47 break } return (e.next = 39), Un(t, r, n, i, o, a, s) case 39: if (((v = e.sent), v)) { e.next = 42 break } throw new Error("第".concat(t, "页PPT 图片解析失败,请重试")) case 42: if ("noSupportImageType" !== v) { e.next = 44 break } return e.abrupt("return") case 44: u.push({ id: r.nvPicPr.cNvPr.attributes.id, element: v }), (e.next = 56) break case 47: if ("custDataLst" !== h) { e.next = 56 break } return (e.next = 50), Un(t, r, n, i, o, a, s) case 50: if (((b = e.sent), b)) { e.next = 53 break } throw new Error("第".concat(t, "页PPT 图片解析失败,请重试")) case 53: if ("noSupportImageType" !== b) { e.next = 55 break } return e.abrupt("return") case 55: u.push({ id: r.nvPicPr.cNvPr.attributes.id, element: b }) case 56: p++, (e.next = 13) break case 59: return (u = mi(u)), e.abrupt("return", u) case 61: case "end": return e.stop() } }, e) }) ) return function (t, r, n, i, o, a, s) { return e.apply(this, arguments) } })(), vi = { ContentTypesPath: "[Content_Types].xml", PresentationRelsPath: "ppt/_rels/presentation.xml.rels", SlidePath: "ppt/slides/slide[0-9]*.xml", SlideRelsPath: "ppt/slides/_rels/slide[0-9]*.xml.rels", MediaPath: "ppt/media/**/*.**", themePath: "ppt/theme/theme[0-9]*.xml", PresentationPath: "ppt/presentation.xml", SlideLayoutRelsPath: "ppt/slideLayouts/_rels/slideLayout[0-100]*.xml.rels", SlideMasterPath: "ppt/slideMasters/slideMaster[0-9]*.xml", SlideMasterRelsPath: "ppt/slideMasters/_rels/slideMaster[0-9]*.xml.rels" }, bi = { compact: !0, ignoreDeclaration: !0, attributesKey: "attributes", elementNameFn: function (e) { return e.replace("p:", "").replace("a:", "") } }, wi = { compact: !1, ignoreDeclaration: !0, attributesKey: "attributes", elementNameFn: function (e) { return e.replace("p:", "").replace("a:", "") } }, xi = { slide: 0, layout: 1, master: 2 }, Ai = function e(t, r, n) { var i = [] if (r) { var o, a if ("spTree" === r.name) r = null === (o = r) || void 0 === o ? void 0 : o.elements.filter(function (e) { return "pic" === e.name || "sp" === e.name || "grpSp" === e.name || "graphicFrame" === e.name || "cxnSp" === e.name }) else r = null === (a = r) || void 0 === a ? void 0 : a.filter(function (e) { return "pic" === e.name || "sp" === e.name || "grpSp" === e.name || "graphicFrame" === e.name || "cxnSp" === e.name }) var s = [] if ( (t.forEach(function (e) { null !== e && void 0 !== e && e.graphicFrameId && s.push(e.graphicFrameId) }), r.length > 0) ) for ( var c = function () { if ("pic" === r[u].name) { var o, a, c, f, p = null === (o = r[u].elements) || void 0 === o ? void 0 : o.find(function (e) { return "nvPicPr" === e.name }), d = null === (a = Mr(null === p || void 0 === p ? void 0 : p.elements)) || void 0 === a ? void 0 : a.find(function (e) { return "cNvPr" === e.name }), h = null === d || void 0 === d || null === (c = d.attributes) || void 0 === c ? void 0 : c.id, m = null === (f = Mr(t)) || void 0 === f ? void 0 : f.find(function (e) { return ( (!n && e.id === h) || (n && e.id === h && n === (null === e || void 0 === e ? void 0 : e.graphicFrameId)) ) }) m && i.push(m.element) } else if ("sp" === r[u].name) { var g, y, v, b, w = null === (g = Mr(r[u].elements)) || void 0 === g ? void 0 : g.find(function (e) { return "nvSpPr" === e.name }), x = null === (y = Mr(null === w || void 0 === w ? void 0 : w.elements)) || void 0 === y ? void 0 : y.find(function (e) { return "cNvPr" === e.name }), A = null === x || void 0 === x || null === (v = x.attributes) || void 0 === v ? void 0 : v.id, _ = null === (b = Mr(t)) || void 0 === b ? void 0 : b.find(function (e) { return e.id === A }) _ && i.push(_.element) } else if ("grpSp" === r[u].name) { var T, E = l.a.cloneDeep(i) i = [] var S = e(t, r[u].elements) || [] ;(T = i).push.apply(T, N(E).concat(N(S))) } else if ("graphicFrame" === r[u].name) { var C = !1, k = "" r[u].elements.forEach(function (e) { "nvGraphicFramePr" === e.name && e.elements.forEach(function (e) { "cNvPr" === e.name && ((k = e.attributes.id), k && s.includes(k) && (C = !0)) }) }), C && r[u].elements.forEach(function (r) { "graphic" === r.name && r.elements.forEach(function (r) { "graphicData" === r.name && r.elements.forEach(function (r) { "mc:AlternateContent" === r.name && r.elements.forEach(function (r) { "mc:Fallback" === r.name && r.elements.forEach(function (r) { if ("oleObj" === r.name) { var n, o = l.a.cloneDeep(i) i = [] var a = e(t, r.elements, k) || [] ;(n = i).push.apply(n, N(o).concat(N(a))) } }) }) }) }) }) } else if ("cxnSp" === r[u].name) { var L, P, O, j, R = null === (L = Mr(r[u].elements)) || void 0 === L ? void 0 : L.find(function (e) { return "nvCxnSpPr" === e.name }), I = null === (P = Mr(null === R || void 0 === R ? void 0 : R.elements)) || void 0 === P ? void 0 : P.find(function (e) { return "cNvPr" === e.name }), M = null === I || void 0 === I || null === (O = I.attributes) || void 0 === O ? void 0 : O.id, D = null === (j = Mr(t)) || void 0 === j ? void 0 : j.find(function (e) { return e.id === M }) D && i.push(D.element) } }, u = 0; u < r.length; u++ ) c() return i } }, _i = (function () { var e = T( A().mark(function e(t, r, n, i, o, a, s, l, c, u, f, p) { var d, h, m return A().wrap(function (e) { while (1) switch ((e.prev = e.next)) { case 0: ;(d = []), (h = A().mark(function e() { var h, g, y, v, b, w, x, _, T, S, C, k, L, P, O, j, R, I, M, D, B, F, U, z, q, G, W, V, H, X, Y, K, Z, Q, J, $, ee, te, re, ne return A().wrap( function (e) { while (1) switch ((e.prev = e.next)) { case 0: ;(h = E(n[m], 2)), (g = h[0]), (y = h[1]), l.beforeParseElement && l.beforeParseElement(n[m], d[m], m + 1, n.length), (e.t0 = g), (e.next = "sp" === e.t0 ? 5 : "grpSp" === e.t0 ? 19 : "grpSpPr" === e.t0 ? 52 : "pic" === e.t0 ? 55 : "graphicFrame" === e.t0 ? 76 : "cxnSp" === e.t0 ? 91 : 99) break case 5: return (e.prev = 5), (e.next = 8), ci(y, r, i, o, a, s, t, l.upload, c, p) case 8: if (((e.t1 = e.sent), e.t1)) { e.next = 11 break } e.t1 = [] case 11: ;(v = e.t1), v.forEach(function (e) { d.push(e) }), (e.next = 18) break case 15: throw ((e.prev = 15), (e.t2 = e["catch"](5)), new Error(e.t2.message)) case 18: return e.abrupt("break", 99) case 19: if (!y) { e.next = 51 break } if (((b = Object.entries(y)), (e.prev = 21), "0" !== b[0][0])) { e.next = 32 break } ;(w = A().mark(function e() { var n, h, m, g, y, v, w, _, T, S, C, k return A().wrap(function (e) { while (1) switch ((e.prev = e.next)) { case 0: return ( (h = E(b[x], 2)), (m = h[1]), (g = Object.entries(m)), (y = null === i || void 0 === i || null === (n = i.elements) || void 0 === n ? void 0 : n.filter(function (e) { return "grpSp" === e.name })), (v = void 0), (w = !1), (_ = void 0), g.forEach(function (e) { var t, r "nvGrpSpPr" === e[0] && null !== (t = e[1].cNvPr) && void 0 !== t && t.attributes.id && (v = null === (r = e[1].cNvPr) || void 0 === r ? void 0 : r.attributes.id) }), null === y || void 0 === y || y.forEach(function (e) { null === e || void 0 === e || e.elements.forEach(function (t) { "nvGrpSpPr" === t.name && (null === t || void 0 === t || t.elements.forEach(function (e) { if ("cNvPr" === e.name) { var t, r = null === e || void 0 === e || null === (t = e.attributes) || void 0 === t ? void 0 : t.id r === v && (w = !0) } })), w && ((_ = e), (w = !1)) }) }), (e.next = 10), _i(t, r, g, _, o, a, s, l, c, u, f, p) ) case 10: ;(T = e.sent), (S = Nr()), (C = u.pop()), T.forEach(function (e) { var t = e.element.width if (C) { var r = Vr(C, { left: e.element.left, top: e.element.top, width: "line" === e.element.type ? e.lineWidth : e.element.width, height: "line" === e.element.type ? e.lineHeight : e.element.height }) if ( ((e.element.left = r.left), (e.element.top = r.top), "line" !== e.element.type) ) (e.element.width = r.width), (e.element.height = r.height) else { var n = e.element || {} n.start, n.end ;(e.element.start = e.element.start.map(function (t) { return t === e.lineWidth ? r.width : t === e.lineHeight ? r.height : t })), (e.element.end = e.element.end.map(function (t) { return t === e.lineWidth ? r.width : t === e.lineHeight ? r.height : t })) } } if ( "shape" === e.element.type && (200 !== e.element.viewBox[0] || 200 !== e.element.viewBox[1]) ) { var i = 0 === t ? 1 : e.element.width / t, o = e.element.path, a = [] o.split(" ").forEach(function (e) { isNaN(+e) ? a.push(e) : a.push(+e * i) }), (e.element.path = a.join(" ")), (e.element.viewBox = [ e.element.viewBox[0] * i, e.element.viewBox[1] * i ]) } }), (k = f.pop()), T.forEach(function (e) { ;(e.element.groupId = S), ("text" !== e.element.type && "shape" !== e.element.type) || (k && (e.element.fill = k)), "elf" === e.element.type && "elf-audio" === e.element.subtype && ((e.element.width = 400), (e.element.height = 50)), d.push(e) }) case 16: case "end": return e.stop() } }, e) })), (x = 0) case 25: if (!(x < b.length)) { e.next = 30 break } return e.delegateYield(w(), "t3", 27) case 27: x++, (e.next = 25) break case 30: e.next = 46 break case 32: return ( (C = null === i || void 0 === i || null === (_ = i.elements) || void 0 === _ ? void 0 : _.filter(function (e) { return "grpSp" === e.name })), 0 === (null === (T = C) || void 0 === T ? void 0 : T.length) && (C = [i]), (k = void 0), (L = !1), (P = void 0), b.forEach(function (e) { var t, r, n, i "nvGrpSpPr" === e[0] && null !== (t = e[1]) && void 0 !== t && null !== (r = t.cNvPr) && void 0 !== r && null !== (n = r.attributes) && void 0 !== n && n.id && (k = null === (i = e[1].cNvPr) || void 0 === i ? void 0 : i.attributes.id) }), null === (S = C) || void 0 === S || S.forEach(function (e) { null === e || void 0 === e || e.elements.forEach(function (t) { "nvGrpSpPr" === t.name && (null === t || void 0 === t || t.elements.forEach(function (e) { if ("cNvPr" === e.name) { var t, r = null === e || void 0 === e || null === (t = e.attributes) || void 0 === t ? void 0 : t.id r === k && (L = !0) } })), L && ((P = e), (L = !1)) }) }), (e.next = 41), _i(t, r, b, P, o, a, s, l, c, u, f, p) ) case 41: ;(O = e.sent), (j = Nr()), (R = f.pop()), (I = u.pop()), O.forEach(function (e) { var t = e.element.width if (I) { var r = Vr(I, { left: e.element.left, top: e.element.top, width: "line" === e.element.type ? e.lineWidth : e.element.width, height: "line" === e.element.type ? e.lineHeight : e.element.height }) if ( ((e.element.groupId = j), (e.element.left = r.left), (e.element.top = r.top), "line" !== e.element.type) ) (e.element.width = r.width), (e.element.height = r.height) else { var n = e.element || {} n.start, n.end ;(e.element.start = e.element.start.map(function (t) { return t === e.lineWidth ? r.width : t === e.lineHeight ? r.height : t })), (e.element.end = e.element.end.map(function (t) { return t === e.lineWidth ? r.width : t === e.lineHeight ? r.height : t })) } } if ( (("text" !== e.element.type && "shape" !== e.element.type) || (R && (e.element.fill = R)), "shape" === e.element.type && (200 !== e.element.viewBox[0] || 200 !== e.element.viewBox[1])) ) { var i = 0 === t ? 1 : e.element.width / t, o = e.element.path, a = [] o.split(" ").forEach(function (e) { isNaN(+e) ? a.push(e) : a.push(+e * i) }), (e.element.path = a.join(" ")), (e.element.viewBox = [e.element.viewBox[0] * i, e.element.viewBox[1] * i]) } "elf" === e.element.type && "elf-audio" === e.element.subtype && ((e.element.width = 400), (e.element.height = 50)), d.push(e) }) case 46: e.next = 51 break case 48: throw ((e.prev = 48), (e.t4 = e["catch"](21)), new Error(e.t4.message)) case 51: return e.abrupt("break", 99) case 52: return ( null !== y && void 0 !== y && y.solidFill ? null !== y && void 0 !== y && null !== (M = y.solidFill) && void 0 !== M && null !== (D = M.schemeClr) && void 0 !== D && null !== (B = D.attributes) && void 0 !== B && B.val ? ((H = +a.replace(/[^0-9]/gi, "")), (X = Kr( H, c, y.solidFill.schemeClr.attributes.val, null === (U = y.solidFill.schemeClr) || void 0 === U || null === (z = U.lumMod) || void 0 === z || null === (q = z.attributes) || void 0 === q ? void 0 : q.val, null === (G = y.solidFill.schemeClr) || void 0 === G || null === (W = G.lumOff) || void 0 === W || null === (V = W.attributes) || void 0 === V ? void 0 : V.val )), X && f.push(X)) : null !== y && void 0 !== y && null !== (F = y.solidFill) && void 0 !== F && F.srgbClr && f.push("#" + y.solidFill.srgbClr.attributes.val) : f.push(""), null !== y && void 0 !== y && y.xfrm && ((Y = y), u.push(Y)), e.abrupt("break", 99) ) case 55: ;(K = []), Array.isArray(y) ? K.push.apply(K, N(y)) : K.push(y), (Z = 0) case 58: if (!(Z < K.length)) { e.next = 75 break } return (e.prev = 59), (e.next = 62), yi(t, K[Z], o, a, s, l.upload, c) case 62: if (((e.t5 = e.sent), e.t5)) { e.next = 65 break } e.t5 = [] case 65: ;(Q = e.t5), Q.forEach(function (e) { e && d.push(e) }), (e.next = 72) break case 69: throw ((e.prev = 69), (e.t6 = e["catch"](59)), new Error(e.t6.message)) case 72: Z++, (e.next = 58) break case 75: return e.abrupt("break", 99) case 76: if ( ((J = []), Array.isArray(y) ? J.push.apply(J, N(y)) : J.push(y), ($ = []), J.forEach(function (e) { var t, r, n, i, o, a, s, l, c, u, f, p, d null !== e && void 0 !== e && null !== (t = e.graphic) && void 0 !== t && null !== (r = t.graphicData) && void 0 !== r && null !== (n = r["mc:AlternateContent"]) && void 0 !== n && null !== (i = n["mc:Fallback"]) && void 0 !== i && null !== (o = i.oleObj) && void 0 !== o && o.pic && ($.push( null === e || void 0 === e || null === (a = e.graphic) || void 0 === a || null === (s = a.graphicData) || void 0 === s || null === (l = s["mc:AlternateContent"]) || void 0 === l || null === (c = l["mc:Fallback"]) || void 0 === c || null === (u = c.oleObj) || void 0 === u ? void 0 : u.pic ), ($[$.length - 1].id = null === e || void 0 === e || null === (f = e.nvGraphicFramePr) || void 0 === f || null === (p = f.cNvPr) || void 0 === p || null === (d = p.attributes) || void 0 === d ? void 0 : d.id)) }), !$) ) { e.next = 90 break } ;(ee = []), Array.isArray($) ? ee.push.apply(ee, $) : ee.push($), (te = A().mark(function e(r) { var n return A().wrap( function (e) { while (1) switch ((e.prev = e.next)) { case 0: return (e.prev = 0), (e.next = 3), yi(t, ee[r], o, a, s, l.upload, c) case 3: if (((e.t0 = e.sent), e.t0)) { e.next = 6 break } e.t0 = [] case 6: ;(n = e.t0), n.forEach(function (e) { e && ((e.graphicFrameId = ee[r].id), d.push(e)) }), (e.next = 13) break case 10: throw ((e.prev = 10), (e.t1 = e["catch"](0)), new Error(e.t1.message)) case 13: case "end": return e.stop() } }, e, null, [[0, 10]] ) })), (re = 0) case 85: if (!(re < ee.length)) { e.next = 90 break } return e.delegateYield(te(re), "t7", 87) case 87: re++, (e.next = 85) break case 90: return e.abrupt("break", 99) case 91: return (e.next = 93), Gn(t, y, o, a, s, l.upload, c) case 93: if (((e.t8 = e.sent), e.t8)) { e.next = 96 break } e.t8 = [] case 96: return (ne = e.t8.filter(Boolean)), d.push.apply(d, N(ne)), e.abrupt("break", 99) case 99: l.afterParseElement && l.afterParseElement(n[m], d[m], m + 1, n.length) case 100: case "end": return e.stop() } }, e, null, [ [5, 15], [21, 48], [59, 69] ] ) })), (m = 0) case 3: if (!(m < n.length)) { e.next = 8 break } return e.delegateYield(h(), "t0", 5) case 5: m++, (e.next = 3) break case 8: return e.abrupt("return", d) case 9: case "end": return e.stop() } }, e) }) ) return function (t, r, n, i, o, a, s, l, c, u, f, p) { return e.apply(this, arguments) } })(), Ti = (function () { var e = T( A().mark(function e(t, r, n, i, o, a, s, l) { var c, u, f, p, d, h, m, g, y, v, b, w, x, _, T, E, S, C, k, L, P, O, j, R, I, M, D, B, F, U, z, q, G, W, V, H, X, Y, K, Z, Q, J, $, ee, te return A().wrap(function (e) { while (1) switch ((e.prev = e.next)) { case 0: return ( (f = l.colorMap), (p = []), (d = r.name.replace("ppt/slides/", "")), (h = o["ppt/slides/_rels/".concat(d, ".rels")]), (e.next = 6), h.async("string") ) case 6: if ( ((m = e.sent), (g = Ir(m, bi)), (y = ""), (v = []), Array.isArray(g.Relationships.Relationship) ? v.push.apply(v, N(g.Relationships.Relationship)) : v.push(g.Relationships.Relationship), null === v || void 0 === v || v.forEach(function (e) { var t, r = null === (t = e.attributes) || void 0 === t ? void 0 : t.Target ;-1 !== r.indexOf("slideLayout") && (y = r.replace("../slideLayouts/", "")) }), (b = "slideMaster1.xml"), !y) ) { e.next = 28 break } return (T = o["ppt/slideLayouts/_rels/".concat(y, ".rels")]), (e.next = 17), T.async("string") case 17: return (E = e.sent), (x = Ir(E, bi)), (S = o["ppt/slideLayouts/".concat(y)]), (e.next = 22), S.async("string") case 22: ;(C = e.sent), (w = Ir(C, bi)), (_ = Ir(C, wi)), (k = []), Array.isArray(x.Relationships.Relationship) ? k.push.apply(k, N(x.Relationships.Relationship)) : k.push(x.Relationships.Relationship), k.forEach(function (e) { var t, r = null === (t = e.attributes) || void 0 === t ? void 0 : t.Target ;-1 !== r.indexOf("slideMaster") && (b = r.replace("../slideMasters/", "")) }) case 28: return (e.next = 30), Qr(o, a, f, n, g, w, x, b) case 30: if ( ((L = e.sent), (P = { id: Nr(8), elements: [], background: L }), a.beforeParseSlide && a.beforeParseSlide(r, P, t, s), (O = Object.entries(n.sld.cSld.spTree)), (j = []), (R = []), (I = []), "0" !== (null === (c = w.sldLayout.attributes) || void 0 === c ? void 0 : c.showMasterSp)) ) { e.next = 41 break } ;(I = []), (e.next = 58) break case 41: return (B = o["ppt/slideMasters/_rels/".concat(b, ".rels")]), (e.next = 44), B.async("string") case 44: return (F = e.sent), (U = Ir(F, bi)), (z = o["ppt/slideMasters/".concat(b)]), (e.next = 49), z.async("string") case 49: return ( (q = e.sent), (G = Ir(q, bi)), (W = Ir(q, wi)), null === W || void 0 === W || W.elements.forEach(function (e) { var t "sldMaster" === e.name && (null === (t = e.elements) || void 0 === t || t.forEach(function (e) { var t "cSld" === e.name && (D = null === (t = Mr(e.elements)) || void 0 === t ? void 0 : t.find(function (e) { return "spTree" === e.name })) })) }), (V = Object.entries(null === (M = G.sldMaster.cSld) || void 0 === M ? void 0 : M.spTree)), (e.next = 56), _i(t, xi.master, V, D, U, b, o, a, f, R, j, l) ) case 56: ;(H = e.sent), (I = Ai(H, D) || []) case 58: if ( ((j = []), (R = []), (X = []), "0" !== (null === (u = n.sld.attributes) || void 0 === u ? void 0 : u.showMasterSp)) ) { e.next = 66 break } ;(X = []), (I = []), (e.next = 72) break case 66: return ( null === (Y = _) || void 0 === Y || Y.elements.forEach(function (e) { var t "sldLayout" === e.name && (null === (t = e.elements) || void 0 === t || t.forEach(function (e) { var t "cSld" === e.name && (Z = null === (t = Mr(e.elements)) || void 0 === t ? void 0 : t.find(function (e) { return "spTree" === e.name })) })) }), (Q = Object.entries(null === (K = w.sldLayout.cSld) || void 0 === K ? void 0 : K.spTree)), (e.next = 70), _i(t, xi.layout, Q, Z, x, b, o, a, f, R, j, l) ) case 70: ;(J = e.sent), (X = Ai(J, Z) || []) case 72: return ( (j = []), (R = []), null === i || void 0 === i || i.elements.forEach(function (e) { var t "sld" === e.name && (null === (t = e.elements) || void 0 === t || t.forEach(function (e) { var t "cSld" === e.name && ($ = null === (t = Mr(e.elements)) || void 0 === t ? void 0 : t.find(function (e) { return "spTree" === e.name })) })) }), (e.next = 77), _i(t, xi.slide, O, $, g, b, o, a, f, R, j, l) ) case 77: if (((e.t0 = e.sent), e.t0)) { e.next = 80 break } e.t0 = [] case 80: return ( (ee = e.t0), ee.forEach(function (e) { p.push(e) }), (te = Ai(p, $)), te && (P.elements = [].concat(N(I), N(X), N(te))), a.afterParseSlide && a.afterParseSlide(r, P, t, s), e.abrupt("return", P) ) case 86: case "end": return e.stop() } }, e) }) ) return function (t, r, n, i, o, a, s, l) { return e.apply(this, arguments) } })(), Ei = (function () { var e = T( A().mark(function e(t, r, n) { var i, o, a, s, c, u, f, p, d, h, m, g, y, v, b return A().wrap(function (e) { while (1) switch ((e.prev = e.next)) { case 0: return ( (i = []), (o = Object.keys(t)), (a = In.match(o, vi.SlidePath, { matchBase: !0 }) || []), (s = In.match(o, vi.themePath, { matchBase: !0 }) || []), (c = In.match(o, vi.SlideMasterPath, { matchBase: !0 }) || []), (u = In.match(o, vi.SlideMasterRelsPath, { matchBase: !0 }) || []), (a = l.a .sortBy(a, function (e) { var t = /\d+/g, r = t.exec(e) if (r) return parseInt(r[0]) }) .filter(Boolean)), (e.t1 = l.a), (e.next = 10), Ur(c, s, t, u) ) case 10: if (((e.t2 = e.sent), (e.t0 = e.t1.cloneDeep.call(e.t1, e.t2)), e.t0)) { e.next = 14 break } e.t0 = [] case 14: return (f = e.t0), (e.t3 = l.a), (e.next = 18), qr(t, "ppt/presentation.xml") case 18: ;(e.t4 = e.sent), (p = e.t3.cloneDeep.call(e.t3, e.t4)), (d = l.a.cloneDeep({ slidePer: r, colorMap: f, defaultTextStyle: p })), (h = 0) case 22: if (!(h < a.length)) { e.next = 38 break } return re.info("start parse ppt ".concat(h + 1, " silde")), (m = t[a[h]]), (e.next = 27), m.async("string") case 27: return (g = e.sent), (y = Ir(g, bi)), (v = Ir(g, wi)), (e.next = 32), Ti(h + 1, m, y, v, t, n, a.length, d) case 32: ;(b = e.sent), i.push(b), re.info("end parse ppt ".concat(h + 1, " silde")) case 35: h++, (e.next = 22) break case 38: return e.abrupt("return", i) case 39: case "end": return e.stop() } }, e) }) ) return function (t, r, n) { return e.apply(this, arguments) } })(), Si = { uuid: cn(), slides: [], // hqy width: 1920, height: 1080, // hqy theme: { themeColor: "#5b9bd5", fontColor: "#333", fontName: "Sans-serif", fontSize: "40px", backgroundColor: "#fff", viewportRatio: 0.5625 } }, Ci = (function () { var e = T( A().mark(function e(t, r, n) { var i, o, a return A().wrap(function (e) { while (1) switch ((e.prev = e.next)) { case 0: return (e.next = 2), Jr(t, "ppt/presentation.xml") case 2: return ( (i = e.sent), (o = { width: 1920, height: 0.5625 === n ? 1080 : 1080 / n }), i && ((a = Math.max(i.width / o.width, i.height / o.height)), 1 !== a && r.forEach(function (e) { e.elements.forEach(function (e) { if ( ((e.left = e.left / a), (e.top = e.top / a), ("elf" === e.type && "elf-audio" === e.subtype) || (e.width = e.width / a), "elf" === e.type) ) "elf-audio" !== e.subtype && (e.height = (null === e || void 0 === e ? void 0 : e.height) / a) else if ("line" !== e.type) e.height = (null === e || void 0 === e ? void 0 : e.height) / a else { var t = e ;(t.start = [t.start[0] / a, t.start[1] / a]), (t.end = [t.end[0] / a, t.end[1] / a]) } }) })), e.abrupt("return", r) ) case 6: case "end": return e.stop() } }, e) }) ) return function (t, r, n) { return e.apply(this, arguments) } })(), ki = (function () { var e = T( A().mark(function e(t, r) { var n, i, o, a return A().wrap( function (e) { while (1) switch ((e.prev = e.next)) { case 0: return (n = P({}, Si)), (e.prev = 1), r.beforeParse && r.beforeParse(t, n), (e.next = 5), Dn(t) case 5: return (i = e.sent), (n.theme = i), (e.next = 9), en(t, n.theme.viewportRatio) case 9: if (((e.t0 = e.sent), e.t0)) { e.next = 12 break } e.t0 = 1 case 12: return (o = e.t0), (e.next = 15), Ei(t, o, r) case 15: return (a = e.sent), (e.next = 18), Ci(t, a, n.theme.viewportRatio) case 18: return (a = e.sent), (n.slides = a), re.info("fininsh parse ppt", n), e.abrupt("return", n) case 24: throw ((e.prev = 24), (e.t1 = e["catch"](1)), new Error(e.t1.message)) case 27: return (e.prev = 27), (t = null), e.finish(27) case 30: case "end": return e.stop() } }, e, null, [[1, 24, 27, 30]] ) }) ) return function (t, r) { return e.apply(this, arguments) } })(), Li = function (e) { return new Promise(function (t, r) { var n = new u.a() n.loadAsync(e) .then(function (e) { return t(e) }) ["catch"](function (e) { return r(e) }) }) }, Pi = function (e, t) { return new Promise(function (r, n) { Li(e) .then(function (e) { return ki(e.files, t) }) .then(function (e) { return r(JSON.stringify(e)) }) ["catch"](function (e) { return n(e) }) }) }, Oi = "0.0.17", ji = "PptistExchangePptx" re.setNamespace("PptistExchangePptx"), console.log("".concat(ji, " Version: ").concat(Oi)) var Ri = { version: Oi, outputName: ji, json2pptx: Lr, pptx2json: Pi } }).call(this, r("4362")) }, f772: function (e, t, r) { var n = r("5692"), i = r("90e3"), o = n("keys") e.exports = function (e) { return o[e] || (o[e] = i(e)) } }, faa1: function (e, t, r) { "use strict" var n, i = "object" === typeof Reflect ? Reflect : null, o = i && "function" === typeof i.apply ? i.apply : function (e, t, r) { return Function.prototype.apply.call(e, t, r) } function a(e) { console && console.warn && console.warn(e) } n = i && "function" === typeof i.ownKeys ? i.ownKeys : Object.getOwnPropertySymbols ? function (e) { return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e)) } : function (e) { return Object.getOwnPropertyNames(e) } var s = Number.isNaN || function (e) { return e !== e } function l() { l.init.call(this) } ;(e.exports = l), (e.exports.once = w), (l.EventEmitter = l), (l.prototype._events = void 0), (l.prototype._eventsCount = 0), (l.prototype._maxListeners = void 0) var c = 10 function u(e) { if ("function" !== typeof e) throw new TypeError('The "listener" argument must be of type Function. Received type ' + typeof e) } function f(e) { return void 0 === e._maxListeners ? l.defaultMaxListeners : e._maxListeners } function p(e, t, r, n) { var i, o, s if ( (u(r), (o = e._events), void 0 === o ? ((o = e._events = Object.create(null)), (e._eventsCount = 0)) : (void 0 !== o.newListener && (e.emit("newListener", t, r.listener ? r.listener : r), (o = e._events)), (s = o[t])), void 0 === s) ) (s = o[t] = r), ++e._eventsCount else if ( ("function" === typeof s ? (s = o[t] = n ? [r, s] : [s, r]) : n ? s.unshift(r) : s.push(r), (i = f(e)), i > 0 && s.length > i && !s.warned) ) { s.warned = !0 var l = new Error( "Possible EventEmitter memory leak detected. " + s.length + " " + String(t) + " listeners added. Use emitter.setMaxListeners() to increase limit" ) ;(l.name = "MaxListenersExceededWarning"), (l.emitter = e), (l.type = t), (l.count = s.length), a(l) } return e } function d() { if (!this.fired) return ( this.target.removeListener(this.type, this.wrapFn), (this.fired = !0), 0 === arguments.length ? this.listener.call(this.target) : this.listener.apply(this.target, arguments) ) } function h(e, t, r) { var n = { fired: !1, wrapFn: void 0, target: e, type: t, listener: r }, i = d.bind(n) return (i.listener = r), (n.wrapFn = i), i } function m(e, t, r) { var n = e._events if (void 0 === n) return [] var i = n[t] return void 0 === i ? [] : "function" === typeof i ? (r ? [i.listener || i] : [i]) : r ? b(i) : y(i, i.length) } function g(e) { var t = this._events if (void 0 !== t) { var r = t[e] if ("function" === typeof r) return 1 if (void 0 !== r) return r.length } return 0 } function y(e, t) { for (var r = new Array(t), n = 0; n < t; ++n) r[n] = e[n] return r } function v(e, t) { for (; t + 1 < e.length; t++) e[t] = e[t + 1] e.pop() } function b(e) { for (var t = new Array(e.length), r = 0; r < t.length; ++r) t[r] = e[r].listener || e[r] return t } function w(e, t) { return new Promise(function (r, n) { function i(r) { e.removeListener(t, o), n(r) } function o() { "function" === typeof e.removeListener && e.removeListener("error", i), r([].slice.call(arguments)) } A(e, t, o, { once: !0 }), "error" !== t && x(e, i, { once: !0 }) }) } function x(e, t, r) { "function" === typeof e.on && A(e, "error", t, r) } function A(e, t, r, n) { if ("function" === typeof e.on) n.once ? e.once(t, r) : e.on(t, r) else { if ("function" !== typeof e.addEventListener) throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type ' + typeof e) e.addEventListener(t, function i(o) { n.once && e.removeEventListener(t, i), r(o) }) } } Object.defineProperty(l, "defaultMaxListeners", { enumerable: !0, get: function () { return c }, set: function (e) { if ("number" !== typeof e || e < 0 || s(e)) throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received ' + e + ".") c = e } }), (l.init = function () { ;(void 0 !== this._events && this._events !== Object.getPrototypeOf(this)._events) || ((this._events = Object.create(null)), (this._eventsCount = 0)), (this._maxListeners = this._maxListeners || void 0) }), (l.prototype.setMaxListeners = function (e) { if ("number" !== typeof e || e < 0 || s(e)) throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received ' + e + ".") return (this._maxListeners = e), this }), (l.prototype.getMaxListeners = function () { return f(this) }), (l.prototype.emit = function (e) { for (var t = [], r = 1; r < arguments.length; r++) t.push(arguments[r]) var n = "error" === e, i = this._events if (void 0 !== i) n = n && void 0 === i.error else if (!n) return !1 if (n) { var a if ((t.length > 0 && (a = t[0]), a instanceof Error)) throw a var s = new Error("Unhandled error." + (a ? " (" + a.message + ")" : "")) throw ((s.context = a), s) } var l = i[e] if (void 0 === l) return !1 if ("function" === typeof l) o(l, this, t) else { var c = l.length, u = y(l, c) for (r = 0; r < c; ++r) o(u[r], this, t) } return !0 }), (l.prototype.addListener = function (e, t) { return p(this, e, t, !1) }), (l.prototype.on = l.prototype.addListener), (l.prototype.prependListener = function (e, t) { return p(this, e, t, !0) }), (l.prototype.once = function (e, t) { return u(t), this.on(e, h(this, e, t)), this }), (l.prototype.prependOnceListener = function (e, t) { return u(t), this.prependListener(e, h(this, e, t)), this }), (l.prototype.removeListener = function (e, t) { var r, n, i, o, a if ((u(t), (n = this._events), void 0 === n)) return this if (((r = n[e]), void 0 === r)) return this if (r === t || r.listener === t) 0 === --this._eventsCount ? (this._events = Object.create(null)) : (delete n[e], n.removeListener && this.emit("removeListener", e, r.listener || t)) else if ("function" !== typeof r) { for (i = -1, o = r.length - 1; o >= 0; o--) if (r[o] === t || r[o].listener === t) { ;(a = r[o].listener), (i = o) break } if (i < 0) return this 0 === i ? r.shift() : v(r, i), 1 === r.length && (n[e] = r[0]), void 0 !== n.removeListener && this.emit("removeListener", e, a || t) } return this }), (l.prototype.off = l.prototype.removeListener), (l.prototype.removeAllListeners = function (e) { var t, r, n if (((r = this._events), void 0 === r)) return this if (void 0 === r.removeListener) return ( 0 === arguments.length ? ((this._events = Object.create(null)), (this._eventsCount = 0)) : void 0 !== r[e] && (0 === --this._eventsCount ? (this._events = Object.create(null)) : delete r[e]), this ) if (0 === arguments.length) { var i, o = Object.keys(r) for (n = 0; n < o.length; ++n) (i = o[n]), "removeListener" !== i && this.removeAllListeners(i) return this.removeAllListeners("removeListener"), (this._events = Object.create(null)), (this._eventsCount = 0), this } if (((t = r[e]), "function" === typeof t)) this.removeListener(e, t) else if (void 0 !== t) for (n = t.length - 1; n >= 0; n--) this.removeListener(e, t[n]) return this }), (l.prototype.listeners = function (e) { return m(this, e, !0) }), (l.prototype.rawListeners = function (e) { return m(this, e, !1) }), (l.listenerCount = function (e, t) { return "function" === typeof e.listenerCount ? e.listenerCount(t) : g.call(e, t) }), (l.prototype.listenerCount = g), (l.prototype.eventNames = function () { return this._eventsCount > 0 ? n(this._events) : [] }) }, fb6a: function (e, t, r) { "use strict" var n = r("23e7"), i = r("861d"), o = r("e8b5"), a = r("23cb"), s = r("50c4"), l = r("fc6a"), c = r("8418"), u = r("b622"), f = r("1dde"), p = f("slice"), d = u("species"), h = [].slice, m = Math.max n( { target: "Array", proto: !0, forced: !p }, { slice: function (e, t) { var r, n, u, f = l(this), p = s(f.length), g = a(e, p), y = a(void 0 === t ? p : t, p) if ( o(f) && ((r = f.constructor), "function" != typeof r || (r !== Array && !o(r.prototype)) ? i(r) && ((r = r[d]), null === r && (r = void 0)) : (r = void 0), r === Array || void 0 === r) ) return h.call(f, g, y) for (n = new (void 0 === r ? Array : r)(m(y - g, 0)), u = 0; g < y; g++, u++) g in f && c(n, u, f[g]) return (n.length = u), n } } ) }, fc6a: function (e, t, r) { var n = r("44ad"), i = r("1d80") e.exports = function (e) { return n(i(e)) } }, fce3: function (e, t, r) { var n = r("d039"), i = r("da84"), o = i.RegExp e.exports = n(function () { var e = o(".", "s") return !(e.dotAll && e.exec("\n") && "s" === e.flags) }) }, fdbc: function (e, t) { e.exports = { CSSRuleList: 0, CSSStyleDeclaration: 0, CSSValueList: 0, ClientRectList: 0, DOMRectList: 0, DOMStringList: 0, DOMTokenList: 1, DataTransferItemList: 0, FileList: 0, HTMLAllCollection: 0, HTMLCollection: 0, HTMLFormElement: 0, HTMLSelectElement: 0, MediaList: 0, MimeTypeArray: 0, NamedNodeMap: 0, NodeList: 1, PaintRequestList: 0, Plugin: 0, PluginArray: 0, SVGLengthList: 0, SVGNumberList: 0, SVGPathSegList: 0, SVGPointList: 0, SVGStringList: 0, SVGTransformList: 0, SourceBufferList: 0, StyleSheetList: 0, TextTrackCueList: 0, TextTrackList: 0, TouchList: 0 } }, fdbf: function (e, t, r) { var n = r("4930") e.exports = n && !Symbol.sham && "symbol" == typeof Symbol.iterator } }) //# sourceMappingURL=mine-coursewares.9424885e.worker.js.map
".concat(F, "
").concat(e, "
").concat($, "
", "
"))), f.push($)) : $.includes("") ? ((ve = $.split("")), ve.forEach(function (e) { f.push("