diff --git a/server/src/main/resources/static/ofd/js/cnofd.umd.min.js b/server/src/main/resources/static/ofd/js/cnofd.umd.min.js index 30722e53..2da317ba 100644 --- a/server/src/main/resources/static/ofd/js/cnofd.umd.min.js +++ b/server/src/main/resources/static/ofd/js/cnofd.umd.min.js @@ -17,126 +17,126 @@ * * */ -(function(e, t) { - "object" === typeof exports && "object" === typeof module ? module.exports = t() : "function" === typeof define && define.amd ? define([], t) : "object" === typeof exports ? exports["cnofd"] = t() : e["cnofd"] = t() +(function(t, e) { + "object" === typeof exports && "object" === typeof module ? module.exports = e() : "function" === typeof define && define.amd ? define([], e) : "object" === typeof exports ? exports["cnofd"] = e() : t["cnofd"] = e() } )("undefined" !== typeof self ? self : this, (function() { - return function(e) { - var t = {}; + return function(t) { + var e = {}; function r(n) { - if (t[n]) - return t[n].exports; - var i = t[n] = { + if (e[n]) + return e[n].exports; + var i = e[n] = { i: n, l: !1, exports: {} }; - return e[n].call(i.exports, i, i.exports, r), + return t[n].call(i.exports, i, i.exports, r), i.l = !0, i.exports } - return r.m = e, - r.c = t, - r.d = function(e, t, n) { - r.o(e, t) || Object.defineProperty(e, t, { + return r.m = t, + r.c = e, + r.d = function(t, e, n) { + r.o(t, e) || Object.defineProperty(t, e, { enumerable: !0, get: n }) } , - r.r = function(e) { - "undefined" !== typeof Symbol && Symbol.toStringTag && Object.defineProperty(e, Symbol.toStringTag, { + r.r = function(t) { + "undefined" !== typeof Symbol && Symbol.toStringTag && Object.defineProperty(t, Symbol.toStringTag, { value: "Module" }), - Object.defineProperty(e, "__esModule", { + Object.defineProperty(t, "__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; + r.t = function(t, e) { + if (1 & e && (t = r(t)), + 8 & e) + return t; + if (4 & e && "object" === typeof t && t && t.__esModule) + return t; var n = Object.create(null); if (r.r(n), Object.defineProperty(n, "default", { enumerable: !0, - value: e + value: t }), - 2 & t && "string" != typeof e) - for (var i in e) - r.d(n, i, function(t) { - return e[t] + 2 & e && "string" != typeof t) + for (var i in t) + r.d(n, i, function(e) { + return t[e] } .bind(null, i)); return n } , - r.n = function(e) { - var t = e && e.__esModule ? function() { - return e["default"] + r.n = function(t) { + var e = t && t.__esModule ? function() { + return t["default"] } : function() { - return e + return t } ; - return r.d(t, "a", t), - t + return r.d(e, "a", e), + e } , - r.o = function(e, t) { - return Object.prototype.hasOwnProperty.call(e, t) + r.o = function(t, e) { + return Object.prototype.hasOwnProperty.call(t, e) } , r.p = "", r(r.s = "fae3") }({ - "0083": function(e, t, r) { + "0083": function(t, e, r) { "use strict"; var n = {}; function i() { try { return new window.XMLHttpRequest - } catch (e) {} + } catch (t) {} } function o() { try { return new window.ActiveXObject("Microsoft.XMLHTTP") - } catch (e) {} + } catch (t) {} } - n._getBinaryFromXHR = function(e) { - return e.response || e.responseText + n._getBinaryFromXHR = function(t) { + return t.response || t.responseText } ; var a = "undefined" !== typeof window && window.ActiveXObject ? function() { return i() || o() } : i; - n.getBinaryContent = function(e, t) { + n.getBinaryContent = function(t, e) { var r, i, o, s; - t || (t = {}), - "function" === typeof t ? (s = t, - t = {}) : "function" === typeof t.callback && (s = t.callback), - s || "undefined" === typeof Promise ? (i = function(e) { - s(null, e) + e || (e = {}), + "function" === typeof e ? (s = e, + e = {}) : "function" === typeof e.callback && (s = e.callback), + s || "undefined" === typeof Promise ? (i = function(t) { + s(null, t) } , - o = function(e) { - s(e, null) + o = function(t) { + s(t, null) } - ) : r = new Promise((function(e, t) { - i = e, - o = t + ) : r = new Promise((function(t, e) { + i = t, + o = e } )); try { var c = a(); - c.open("GET", e, !0), + c.open("GET", t, !0), "responseType"in c && (c.responseType = "arraybuffer"), c.overrideMimeType && c.overrideMimeType("text/plain; charset=x-user-defined"), - c.onreadystatechange = function(t) { + c.onreadystatechange = function(e) { if (4 === c.readyState) if (200 === c.status || 0 === c.status) try { @@ -145,12 +145,12 @@ o(new Error(r)) } else - o(new Error("Ajax error for " + e + " : " + this.status + " " + this.statusText)) + o(new Error("Ajax error for " + t + " : " + this.status + " " + this.statusText)) } , - t.progress && (c.onprogress = function(r) { - t.progress({ - path: e, + e.progress && (c.onprogress = function(r) { + e.progress({ + path: t, originalEvent: r, percent: r.loaded / r.total * 100, loaded: r.loaded, @@ -165,13 +165,13 @@ return r } , - e.exports = n + t.exports = n }, - "0094": function(e, t, r) { + "0094": function(t, e, r) { "use strict"; - var n, i = r("da84"), o = r("e330"), a = r("6964"), s = r("f183"), c = r("6d61"), u = r("acac"), d = r("861d"), l = r("4fad"), f = r("69f3").enforce, h = r("7f9a"), p = !i.ActiveXObject && "ActiveXObject"in i, m = function(e) { + var n, i = r("da84"), o = r("e330"), a = r("6964"), s = r("f183"), c = r("6d61"), u = r("acac"), d = r("861d"), l = r("4fad"), f = r("69f3").enforce, h = r("7f9a"), p = !i.ActiveXObject && "ActiveXObject"in i, m = function(t) { return function() { - return e(this, arguments.length ? arguments[0] : void 0) + return t(this, arguments.length ? arguments[0] : void 0) } }, b = c("WeakMap", m, u); if (h && p) { @@ -183,103 +183,103 @@ , S = o(g.get) , w = o(g.set); a(g, { - delete: function(e) { - if (d(e) && !l(e)) { - var t = f(this); - return t.frozen || (t.frozen = new n), - y(this, e) || t.frozen["delete"](e) + delete: function(t) { + if (d(t) && !l(t)) { + var e = f(this); + return e.frozen || (e.frozen = new n), + y(this, t) || e.frozen["delete"](t) } - return y(this, e) + return y(this, t) }, - has: function(e) { - if (d(e) && !l(e)) { - var t = f(this); - return t.frozen || (t.frozen = new n), - v(this, e) || t.frozen.has(e) + has: function(t) { + if (d(t) && !l(t)) { + var e = f(this); + return e.frozen || (e.frozen = new n), + v(this, t) || e.frozen.has(t) } - return v(this, e) + return v(this, t) }, - get: function(e) { - if (d(e) && !l(e)) { - var t = f(this); - return t.frozen || (t.frozen = new n), - v(this, e) ? S(this, e) : t.frozen.get(e) + get: function(t) { + if (d(t) && !l(t)) { + var e = f(this); + return e.frozen || (e.frozen = new n), + v(this, t) ? S(this, t) : e.frozen.get(t) } - return S(this, e) + return S(this, t) }, - set: function(e, t) { - if (d(e) && !l(e)) { + set: function(t, e) { + if (d(t) && !l(t)) { var r = f(this); r.frozen || (r.frozen = new n), - v(this, e) ? w(this, e, t) : r.frozen.set(e, t) + v(this, t) ? w(this, t, e) : r.frozen.set(t, e) } else - w(this, e, t); + w(this, t, e); return this } }) } }, - "00ee": function(e, t, r) { + "00ee": function(t, e, r) { var n = r("b622") , i = n("toStringTag") , o = {}; o[i] = "z", - e.exports = "[object z]" === String(o) + t.exports = "[object z]" === String(o) }, - "01b4": function(e, t) { + "01b4": function(t, e) { var r = function() { this.head = null, this.tail = null }; r.prototype = { - add: function(e) { - var t = { - item: e, + add: function(t) { + var e = { + item: t, next: null }; - this.head ? this.tail.next = t : this.head = t, - this.tail = t + this.head ? this.tail.next = e : this.head = e, + this.tail = e }, get: function() { - var e = this.head; - if (e) - return this.head = e.next, - this.tail === e && (this.tail = null), - e.item + var t = this.head; + if (t) + return this.head = t.next, + this.tail === t && (this.tail = null), + t.item } }, - e.exports = r + t.exports = r }, - "0366": function(e, t, r) { + "0366": function(t, e, r) { var n = r("e330") , i = r("59ed") , o = r("40d5") , a = n(n.bind); - e.exports = function(e, t) { - return i(e), - void 0 === t ? e : o ? a(e, t) : function() { - return e.apply(t, arguments) + t.exports = function(t, e) { + return i(t), + void 0 === e ? t : o ? a(t, e) : function() { + return t.apply(e, arguments) } } }, - "057f": function(e, t, r) { + "057f": function(t, e, r) { var n = r("c6b6") , i = r("fc6a") , o = r("241c").f , a = r("4dae") , s = "object" == typeof window && window && Object.getOwnPropertyNames ? Object.getOwnPropertyNames(window) : [] - , c = function(e) { + , c = function(t) { try { - return o(e) - } catch (t) { + return o(t) + } catch (e) { return a(s) } }; - e.exports.f = function(e) { - return s && "Window" == n(e) ? c(e) : o(i(e)) + t.exports.f = function(t) { + return s && "Window" == n(t) ? c(t) : o(i(t)) } }, - "06cf": function(e, t, r) { + "06cf": function(t, e, r) { var n = r("83ab") , i = r("c65b") , o = r("d1e7") @@ -289,96 +289,96 @@ , u = r("1a2d") , d = r("0cfb") , l = Object.getOwnPropertyDescriptor; - t.f = n ? l : function(e, t) { - if (e = s(e), - t = c(t), + e.f = n ? l : function(t, e) { + if (t = s(t), + e = c(e), d) try { - return l(e, t) + return l(t, e) } catch (r) {} - if (u(e, t)) - return a(!i(o.f, e, t), e[t]) + if (u(t, e)) + return a(!i(o.f, t, e), t[e]) } }, - "07ac": function(e, t, r) { + "07ac": function(t, e, r) { var n = r("23e7") , i = r("6f53").values; n({ target: "Object", stat: !0 }, { - values: function(e) { - return i(e) + values: function(t) { + return i(t) } }) }, - "07fa": function(e, t, r) { + "07fa": function(t, e, r) { var n = r("50c4"); - e.exports = function(e) { - return n(e.length) + t.exports = function(t) { + return n(t.length) } }, - "0a06": function(e, t, r) { + "0a06": function(t, e, r) { "use strict"; var n = r("c532") , i = r("30b5") , o = r("f6b4") , a = r("5270") , s = r("4a7b"); - function c(e) { - this.defaults = e, + function c(t) { + this.defaults = t, this.interceptors = { request: new o, response: new o } } - c.prototype.request = function(e) { - "string" === typeof e ? (e = arguments[1] || {}, - e.url = arguments[0]) : e = e || {}, - e = s(this.defaults, e), - e.method ? e.method = e.method.toLowerCase() : this.defaults.method ? e.method = this.defaults.method.toLowerCase() : e.method = "get"; - var t = [a, void 0] - , r = Promise.resolve(e); - this.interceptors.request.forEach((function(e) { - t.unshift(e.fulfilled, e.rejected) + c.prototype.request = function(t) { + "string" === typeof t ? (t = arguments[1] || {}, + t.url = arguments[0]) : t = t || {}, + t = s(this.defaults, t), + t.method ? t.method = t.method.toLowerCase() : this.defaults.method ? t.method = this.defaults.method.toLowerCase() : t.method = "get"; + var e = [a, void 0] + , r = Promise.resolve(t); + this.interceptors.request.forEach((function(t) { + e.unshift(t.fulfilled, t.rejected) } )), - this.interceptors.response.forEach((function(e) { - t.push(e.fulfilled, e.rejected) + this.interceptors.response.forEach((function(t) { + e.push(t.fulfilled, t.rejected) } )); - while (t.length) - r = r.then(t.shift(), t.shift()); + while (e.length) + r = r.then(e.shift(), e.shift()); return r } , - c.prototype.getUri = function(e) { - return e = s(this.defaults, e), - i(e.url, e.params, e.paramsSerializer).replace(/^\?/, "") + c.prototype.getUri = function(t) { + return t = s(this.defaults, t), + i(t.url, t.params, t.paramsSerializer).replace(/^\?/, "") } , - n.forEach(["delete", "get", "head", "options"], (function(e) { - c.prototype[e] = function(t, r) { + n.forEach(["delete", "get", "head", "options"], (function(t) { + c.prototype[t] = function(e, r) { return this.request(s(r || {}, { - method: e, - url: t + method: t, + url: e })) } } )), - n.forEach(["post", "put", "patch"], (function(e) { - c.prototype[e] = function(t, r, n) { + n.forEach(["post", "put", "patch"], (function(t) { + c.prototype[t] = function(e, r, n) { return this.request(s(n || {}, { - method: e, - url: t, + method: t, + url: e, data: r })) } } )), - e.exports = c + t.exports = c }, - "0b42": function(e, t, r) { + "0b42": function(t, e, r) { var n = r("da84") , i = r("e8b5") , o = r("68ee") @@ -386,20 +386,20 @@ , s = r("b622") , c = s("species") , u = n.Array; - e.exports = function(e) { - var t; - return i(e) && (t = e.constructor, - o(t) && (t === u || i(t.prototype)) ? t = void 0 : a(t) && (t = t[c], - null === t && (t = void 0))), - void 0 === t ? u : t + t.exports = function(t) { + var e; + return i(t) && (e = t.constructor, + o(e) && (e === u || i(e.prototype)) ? e = void 0 : a(e) && (e = e[c], + null === e && (e = void 0))), + void 0 === e ? u : e } }, - "0c47": function(e, t, r) { + "0c47": function(t, e, r) { var n = r("da84") , i = r("d44e"); i(n.JSON, "JSON", !0) }, - "0ccb": function(e, t, r) { + "0ccb": function(t, e, r) { var n = r("e330") , i = r("50c4") , o = r("577e") @@ -408,25 +408,25 @@ , c = n(a) , u = n("".slice) , d = Math.ceil - , l = function(e) { - return function(t, r, n) { - var a, l, f = o(s(t)), h = i(r), p = f.length, m = void 0 === n ? " " : o(n); + , l = function(t) { + return function(e, r, n) { + var a, l, f = o(s(e)), h = i(r), p = f.length, m = void 0 === n ? " " : o(n); return h <= p || "" == m ? f : (a = h - p, l = c(m, d(a / m.length)), l.length > a && (l = u(l, 0, a)), - e ? f + l : l + f) + t ? f + l : l + f) } }; - e.exports = { + t.exports = { start: l(!1), end: l(!0) } }, - "0cfb": function(e, t, r) { + "0cfb": function(t, e, r) { var n = r("83ab") , i = r("d039") , o = r("cc12"); - e.exports = !n && !i((function() { + t.exports = !n && !i((function() { return 7 != Object.defineProperty(o("div"), "a", { get: function() { return 7 @@ -435,66 +435,66 @@ } )) }, - "0d3b": function(e, t, r) { + "0d3b": function(t, e, r) { var n = r("d039") , i = r("b622") , o = r("c430") , a = i("iterator"); - e.exports = !n((function() { - var e = new URL("b?a=1&b=2&c=3","http://a") - , t = e.searchParams + t.exports = !n((function() { + var t = new URL("b?a=1&b=2&c=3","http://a") + , e = t.searchParams , r = ""; - return e.pathname = "c%20d", - t.forEach((function(e, n) { - t["delete"]("b"), - r += n + e + return t.pathname = "c%20d", + e.forEach((function(t, n) { + e["delete"]("b"), + r += n + t } )), - o && !e.toJSON || !t.sort || "http://a/c%20d?a=1&c=3" !== e.href || "3" !== t.get("c") || "a=1" !== String(new URLSearchParams("?a=1")) || !t[a] || "a" !== new URL("https://a@b").username || "b" !== new URLSearchParams(new URLSearchParams("a=b")).get("a") || "xn--e1aybc" !== new URL("http://тест").host || "#%D0%B1" !== new URL("http://a#б").hash || "a1c3" !== r || "x" !== new URL("http://x",void 0).host + o && !t.toJSON || !e.sort || "http://a/c%20d?a=1&c=3" !== t.href || "3" !== e.get("c") || "a=1" !== String(new URLSearchParams("?a=1")) || !e[a] || "a" !== new URL("https://a@b").username || "b" !== new URLSearchParams(new URLSearchParams("a=b")).get("a") || "xn--e1aybc" !== new URL("http://тест").host || "#%D0%B1" !== new URL("http://a#б").hash || "a1c3" !== r || "x" !== new URL("http://x",void 0).host } )) }, - "0d51": function(e, t, r) { + "0d51": function(t, e, r) { var n = r("da84") , i = n.String; - e.exports = function(e) { + t.exports = function(t) { try { - return i(e) - } catch (t) { + return i(t) + } catch (e) { return "Object" } } }, - "0df6": function(e, t, r) { + "0df6": function(t, e, r) { "use strict"; - e.exports = function(e) { - return function(t) { - return e.apply(null, t) + t.exports = function(t) { + return function(e) { + return t.apply(null, e) } } }, - "10d1": function(e, t, r) { + "10d1": function(t, e, r) { r("0094") }, - 1148: function(e, t, r) { + 1148: function(t, e, r) { "use strict"; var n = r("da84") , i = r("5926") , o = r("577e") , a = r("1d80") , s = n.RangeError; - e.exports = function(e) { - var t = o(a(this)) + t.exports = function(t) { + var e = o(a(this)) , r = "" - , n = i(e); + , n = i(t); if (n < 0 || n == 1 / 0) throw s("Wrong number of repetitions"); - for (; n > 0; (n >>>= 1) && (t += t)) - 1 & n && (r += t); + for (; n > 0; (n >>>= 1) && (e += e)) + 1 & n && (r += e); return r } }, - "13d2": function(e, t, r) { + "13d2": function(t, e, r) { var n = r("d039") , i = r("1626") , o = r("1a2d") @@ -513,29 +513,29 @@ } )) , p = String(String).split("String") - , m = e.exports = function(e, t, r) { - if ("Symbol(" === String(t).slice(0, 7) && (t = "[" + String(t).replace(/^Symbol\(([^)]*)\)/, "$1") + "]"), - r && r.getter && (t = "get " + t), - r && r.setter && (t = "set " + t), - (!o(e, "name") || s && e.name !== t) && f(e, "name", { - value: t, + , m = t.exports = function(t, e, r) { + if ("Symbol(" === String(e).slice(0, 7) && (e = "[" + String(e).replace(/^Symbol\(([^)]*)\)/, "$1") + "]"), + r && r.getter && (e = "get " + e), + r && r.setter && (e = "set " + e), + (!o(t, "name") || s && t.name !== e) && f(t, "name", { + value: e, configurable: !0 }), - h && r && o(r, "arity") && e.length !== r.arity && f(e, "length", { + h && r && o(r, "arity") && t.length !== r.arity && f(t, "length", { value: r.arity }), r && o(r, "constructor") && r.constructor) { if (a) try { - f(e, "prototype", { + f(t, "prototype", { writable: !1 }) } catch (i) {} } else - e.prototype = void 0; - var n = d(e); - return o(n, "source") || (n.source = p.join("string" == typeof t ? t : "")), - e + t.prototype = void 0; + var n = d(t); + return o(n, "source") || (n.source = p.join("string" == typeof e ? e : "")), + t } ; Function.prototype.toString = m((function() { @@ -543,14 +543,204 @@ } ), "toString") }, - "14d8": function(e, t, r) { + "14a5": function(t, e, r) { + var n, i, o; + function a(t) { + return a = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(t) { + return typeof t + } + : function(t) { + return t && "function" == typeof Symbol && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t + } + , + a(t) + } + (function(r, a) { + i = [], + n = a(), + o = "function" === typeof n ? n.apply(e, i) : n, + void 0 === o || (t.exports = o) + } + )(0, (function() { + var t, e = {}, r = { + watermark_id: "wm_div_id", + watermark_prefix: "mask_div_id", + watermark_txt: "测试水印", + watermark_x: 20, + watermark_y: 20, + watermark_rows: 0, + watermark_cols: 0, + watermark_x_space: 50, + watermark_y_space: 50, + watermark_font: "微软雅黑", + watermark_color: "black", + watermark_fontsize: "18px", + watermark_alpha: .15, + watermark_width: 100, + watermark_height: 100, + watermark_angle: 15, + watermark_parent_width: 0, + watermark_parent_height: 0, + watermark_parent_node: null, + monitor: !0 + }, n = function(t) { + r.watermark_id = t.watermark_id || r.watermark_id, + r.watermark_prefix = t.watermark_prefix || r.watermark_prefix, + r.watermark_txt = t.watermark_txt || r.watermark_txt, + r.watermark_x = t.watermark_x || r.watermark_x, + r.watermark_y = t.watermark_y || r.watermark_y, + r.watermark_rows = t.watermark_rows || r.watermark_rows, + r.watermark_cols = t.watermark_cols || r.watermark_cols, + r.watermark_x_space = t.watermark_x_space || r.watermark_x_space, + r.watermark_y_space = t.watermark_y_space || r.watermark_y_space, + r.watermark_font = t.watermark_font || r.watermark_font, + r.watermark_color = t.watermark_color || r.watermark_color, + r.watermark_fontsize = t.watermark_fontsize || r.watermark_fontsize, + r.watermark_alpha = t.watermark_alpha || r.watermark_alpha, + r.watermark_width = t.watermark_width || r.watermark_width, + r.watermark_height = t.watermark_height || r.watermark_height, + r.watermark_angle = t.watermark_angle || r.watermark_angle, + r.watermark_parent_width = t.watermark_parent_width || r.watermark_parent_width, + r.watermark_parent_height = t.watermark_parent_height || r.watermark_parent_height, + r.watermark_parent_node = t.watermark_parent_node || r.watermark_parent_node, + r.monitor = t.monitor || r.monitor + }; + t = function(t) { + if (1 === arguments.length && "object" === a(arguments[0])) { + var e = arguments[0] || {}; + for (key in e) + e[key] && r[key] && e[key] === r[key] || (e[key] || 0 === e[key]) && (r[key] = e[key]) + } + n(t); + var i = document.getElementById(r.watermark_id); + i && i.parentNode && i.parentNode.removeChild(i); + var o = document.getElementById(r.watermark_parent_node) + , s = o || document.body + , c = Math.max(s.scrollWidth, s.clientWidth) + , l = Math.max(s.scrollHeight, s.clientHeight) + , f = arguments[0] || {} + , h = s + , p = 0 + , m = 0; + f.watermark_parent_width || f.watermark_parent_height ? h && (p = h.offsetTop || 0, + m = h.offsetLeft || 0, + r.watermark_x = r.watermark_x + m, + r.watermark_y = r.watermark_y + p) : h && (p = h.offsetTop || 0, + m = h.offsetLeft || 0); + var b = document.getElementById(r.watermark_id) + , g = null; + if (b) + b.shadowRoot && (g = b.shadowRoot); + else { + b = document.createElement("div"), + b.id = r.watermark_id, + b.setAttribute("style", "pointer-events: none !important; display: block !important"), + g = "function" === typeof b.attachShadow ? b.attachShadow({ + mode: "open" + }) : b; + var y = s.children + , v = Math.floor(Math.random() * (y.length - 1)); + y[v] ? s.insertBefore(b, y[v]) : s.appendChild(b) + } + r.watermark_cols = parseInt((c - r.watermark_x) / (r.watermark_width + r.watermark_x_space) || 0); + var S, w = parseInt((c - r.watermark_x - r.watermark_width * r.watermark_cols) / r.watermark_cols); + r.watermark_x_space = w ? r.watermark_x_space : w, + r.watermark_rows = parseInt((l - r.watermark_y) / (r.watermark_height + r.watermark_y_space) || 0); + var C, _, A, I = parseInt((l - r.watermark_y - r.watermark_height * r.watermark_rows) / r.watermark_rows); + r.watermark_y_space = I ? r.watermark_y_space : I, + o ? (S = r.watermark_x + r.watermark_width * r.watermark_cols + r.watermark_x_space * (r.watermark_cols - 1), + C = r.watermark_y + r.watermark_height * r.watermark_rows + r.watermark_y_space * (r.watermark_rows - 1)) : (S = m + r.watermark_x + r.watermark_width * r.watermark_cols + r.watermark_x_space * (r.watermark_cols - 1), + C = p + r.watermark_y + r.watermark_height * r.watermark_rows + r.watermark_y_space * (r.watermark_rows - 1)); + for (var E = 0; E < r.watermark_rows; E++) { + A = o ? p + r.watermark_y + (l - C) / 2 + (r.watermark_y_space + r.watermark_height) * E : r.watermark_y + (l - C) / 2 + (r.watermark_y_space + r.watermark_height) * E; + for (var T = 0; T < r.watermark_cols; T++) { + _ = o ? m + r.watermark_x + (c - S) / 2 + (r.watermark_width + r.watermark_x_space) * T : r.watermark_x + (c - S) / 2 + (r.watermark_width + r.watermark_x_space) * T; + var x = document.createElement("div") + , P = document.createTextNode(r.watermark_txt); + x.appendChild(P), + x.id = r.watermark_prefix + E + T, + x.style.webkitTransform = "rotate(-" + r.watermark_angle + "deg)", + x.style.MozTransform = "rotate(-" + r.watermark_angle + "deg)", + x.style.msTransform = "rotate(-" + r.watermark_angle + "deg)", + x.style.OTransform = "rotate(-" + r.watermark_angle + "deg)", + x.style.transform = "rotate(-" + r.watermark_angle + "deg)", + x.style.visibility = "", + x.style.position = "absolute", + x.style.left = _ + "px", + x.style.top = A + "px", + x.style.overflow = "hidden", + x.style.zIndex = "9999999", + x.style.opacity = r.watermark_alpha, + x.style.fontSize = r.watermark_fontsize, + x.style.fontFamily = r.watermark_font, + x.style.color = r.watermark_color, + x.style.textAlign = "center", + x.style.width = r.watermark_width + "px", + x.style.height = r.watermark_height + "px", + x.style.display = "block", + x.style["-ms-user-select"] = "none", + g.appendChild(x) + } + } + var k = void 0 === t.monitor ? r.monitor : t.monitor; + k && (u.observe(s, d), + u.observe(document.getElementById("wm_div_id").shadowRoot, d)) + } + ; + var i, o = function() { + if (1 === arguments.length && "object" === a(arguments[0])) { + var t = arguments[0] || {}; + for (key in t) + t[key] && r[key] && t[key] === r[key] || (t[key] || 0 === t[key]) && (r[key] = t[key]) + } + var e = document.getElementById(r.watermark_id) + , n = e.parentNode; + n.removeChild(e) + }; + e.init = function(e) { + i = e, + t(e), + window.addEventListener("onload", (function() { + t(e) + } + )), + window.addEventListener("resize", (function() { + t(e) + } + )) + } + , + e.load = function(e) { + i = e, + t(e) + } + , + e.remove = function() { + o() + } + ; + var s = function(e) { + (i && 1 === e.length || 1 === e.length && e[0].removedNodes.length >= 1) && t(i) + } + , c = window.MutationObserver || window.WebKitMutationObserver || window.MozMutationObserver + , u = new c(s) + , d = { + childList: !0, + attributes: !0, + subtree: !0 + }; + return e + } + )) + }, + "14d8": function(t, e, r) { r("2b3d"), r("bf19"), r("9861"); var n = r("428f"); - e.exports = n.URL + t.exports = n.URL }, - "14e5": function(e, t, r) { + "14e5": function(t, e, r) { "use strict"; var n = r("23e7") , i = r("c65b") @@ -564,23 +754,23 @@ stat: !0, forced: u }, { - all: function(e) { - var t = this - , r = a.f(t) + all: function(t) { + var e = this + , r = a.f(e) , n = r.resolve , u = r.reject , d = s((function() { - var r = o(t.resolve) + var r = o(e.resolve) , a = [] , s = 0 , d = 1; - c(e, (function(e) { + c(t, (function(t) { var o = s++ , c = !1; d++, - i(r, t, e).then((function(e) { + i(r, e, t).then((function(t) { c || (c = !0, - a[o] = e, + a[o] = t, --d || n(a)) } ), u) @@ -594,54 +784,54 @@ } }) }, - 1626: function(e, t) { - e.exports = function(e) { - return "function" == typeof e + 1626: function(t, e) { + t.exports = function(t) { + return "function" == typeof t } }, - 1920: function(e, t, r) { + 1920: function(t, e, r) { r("4d90"); var n = r("b109"); - e.exports = n("String", "padStart") + t.exports = n("String", "padStart") }, - "197b": function(e, t, r) { + "197b": function(t, e, r) { var n = r("746f"); n("species") }, - "19aa": function(e, t, r) { + "19aa": function(t, e, r) { var n = r("da84") , i = r("3a9b") , o = n.TypeError; - e.exports = function(e, t) { - if (i(t, e)) - return e; + t.exports = function(t, e) { + if (i(e, t)) + return t; throw o("Incorrect invocation") } }, - "1a2d": function(e, t, r) { + "1a2d": function(t, e, r) { var n = r("e330") , i = r("7b0b") , o = n({}.hasOwnProperty); - e.exports = Object.hasOwn || function(e, t) { - return o(i(e), t) + t.exports = Object.hasOwn || function(t, e) { + return o(i(t), e) } }, - "1be4": function(e, t, r) { + "1be4": function(t, e, r) { var n = r("d066"); - e.exports = n("document", "documentElement") + t.exports = n("document", "documentElement") }, - "1c59": function(e, t, r) { + "1c59": function(t, e, r) { "use strict"; var n = r("6d61") , i = r("6566"); - n("Set", (function(e) { + n("Set", (function(t) { return function() { - return e(this, arguments.length ? arguments[0] : void 0) + return t(this, arguments.length ? arguments[0] : void 0) } } ), i) }, - "1c7e": function(e, t, r) { + "1c7e": function(t, e, r) { var n = r("b622") , i = n("iterator") , o = !1; @@ -666,8 +856,8 @@ } )) } catch (c) {} - e.exports = function(e, t) { - if (!t && !o) + t.exports = function(t, e) { + if (!e && !o) return !1; var r = !1; try { @@ -682,60 +872,60 @@ } } , - e(n) + t(n) } catch (c) {} return r } }, - "1cd7": function(e, t, r) { + "1cd7": function(t, e, r) { r("f6d6"); var n = r("428f"); - e.exports = n.String.fromCodePoint + t.exports = n.String.fromCodePoint }, - "1cdc": function(e, t, r) { + "1cdc": function(t, e, r) { var n = r("342f"); - e.exports = /(?:ipad|iphone|ipod).*applewebkit/i.test(n) + t.exports = /(?:ipad|iphone|ipod).*applewebkit/i.test(n) }, - "1d2b": function(e, t, r) { + "1d2b": function(t, e, r) { "use strict"; - e.exports = function(e, t) { + t.exports = function(t, e) { return function() { for (var r = new Array(arguments.length), n = 0; n < r.length; n++) r[n] = arguments[n]; - return e.apply(t, r) + return t.apply(e, r) } } }, - "1d80": function(e, t, r) { + "1d80": function(t, e, r) { var n = r("da84") , i = n.TypeError; - e.exports = function(e) { - if (void 0 == e) - throw i("Can't call method on " + e); - return e + t.exports = function(t) { + if (void 0 == t) + throw i("Can't call method on " + t); + return t } }, - "1dde": function(e, t, r) { + "1dde": function(t, e, r) { var n = r("d039") , i = r("b622") , o = r("2d00") , a = i("species"); - e.exports = function(e) { + t.exports = function(t) { return o >= 51 || !n((function() { - var t = [] - , r = t.constructor = {}; + var e = [] + , r = e.constructor = {}; return r[a] = function() { return { foo: 1 } } , - 1 !== t[e](Boolean).foo + 1 !== e[t](Boolean).foo } )) } }, - "1f4a": function(e, t, r) { + "1f4a": function(t, e, r) { r("99af"), r("d3b7"), r("a4d3"), @@ -757,72 +947,72 @@ r("23dc"), r("f8c9"); var n = r("428f"); - e.exports = n.Symbol + t.exports = n.Symbol }, - "1fb5": function(e, t, r) { + "1fb5": function(t, e, r) { "use strict"; - t.byteLength = d, - t.toByteArray = f, - t.fromByteArray = m; + e.byteLength = d, + e.toByteArray = f, + e.fromByteArray = m; for (var n = [], i = [], o = "undefined" !== typeof Uint8Array ? Uint8Array : Array, a = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", s = 0, c = a.length; s < c; ++s) n[s] = a[s], i[a.charCodeAt(s)] = s; - function u(e) { - var t = e.length; - if (t % 4 > 0) + function u(t) { + var e = t.length; + if (e % 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; + var r = t.indexOf("="); + -1 === r && (r = e); + var n = r === e ? 0 : 4 - r % 4; return [r, n] } - function d(e) { - var t = u(e) - , r = t[0] - , n = t[1]; + function d(t) { + var e = u(t) + , r = e[0] + , n = e[1]; return 3 * (r + n) / 4 - n } - function l(e, t, r) { - return 3 * (t + r) / 4 - r + function l(t, e, r) { + return 3 * (e + r) / 4 - r } - function f(e) { - var t, r, n = u(e), a = n[0], s = n[1], c = new o(l(e, a, s)), d = 0, f = s > 0 ? a - 4 : a; + function f(t) { + var e, r, n = u(t), a = n[0], s = n[1], c = new o(l(t, a, s)), d = 0, f = s > 0 ? a - 4 : a; for (r = 0; r < f; 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)], - c[d++] = t >> 16 & 255, - c[d++] = t >> 8 & 255, - c[d++] = 255 & t; - return 2 === s && (t = i[e.charCodeAt(r)] << 2 | i[e.charCodeAt(r + 1)] >> 4, - c[d++] = 255 & t), - 1 === s && (t = i[e.charCodeAt(r)] << 10 | i[e.charCodeAt(r + 1)] << 4 | i[e.charCodeAt(r + 2)] >> 2, - c[d++] = t >> 8 & 255, - c[d++] = 255 & t), + e = i[t.charCodeAt(r)] << 18 | i[t.charCodeAt(r + 1)] << 12 | i[t.charCodeAt(r + 2)] << 6 | i[t.charCodeAt(r + 3)], + c[d++] = e >> 16 & 255, + c[d++] = e >> 8 & 255, + c[d++] = 255 & e; + return 2 === s && (e = i[t.charCodeAt(r)] << 2 | i[t.charCodeAt(r + 1)] >> 4, + c[d++] = 255 & e), + 1 === s && (e = i[t.charCodeAt(r)] << 10 | i[t.charCodeAt(r + 1)] << 4 | i[t.charCodeAt(r + 2)] >> 2, + c[d++] = e >> 8 & 255, + c[d++] = 255 & e), c } - function h(e) { - return n[e >> 18 & 63] + n[e >> 12 & 63] + n[e >> 6 & 63] + n[63 & e] + function h(t) { + return n[t >> 18 & 63] + n[t >> 12 & 63] + n[t >> 6 & 63] + n[63 & t] } - function p(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]), + function p(t, e, r) { + for (var n, i = [], o = e; o < r; o += 3) + n = (t[o] << 16 & 16711680) + (t[o + 1] << 8 & 65280) + (255 & t[o + 2]), i.push(h(n)); return i.join("") } - function m(e) { - for (var t, r = e.length, i = r % 3, o = [], a = 16383, s = 0, c = r - i; s < c; s += a) - o.push(p(e, s, s + a > c ? c : 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] + "=")), + function m(t) { + for (var e, r = t.length, i = r % 3, o = [], a = 16383, s = 0, c = r - i; s < c; s += a) + o.push(p(t, s, s + a > c ? c : s + a)); + return 1 === i ? (e = t[r - 1], + o.push(n[e >> 2] + n[e << 4 & 63] + "==")) : 2 === i && (e = (t[r - 2] << 8) + t[r - 1], + o.push(n[e >> 10] + n[e >> 4 & 63] + n[e << 2 & 63] + "=")), o.join("") } i["-".charCodeAt(0)] = 62, i["_".charCodeAt(0)] = 63 }, - "1fe2": function(e, t, r) { + "1fe2": function(t, e, r) { r("7276") }, - 2266: function(e, t, r) { + 2266: function(t, e, r) { var n = r("da84") , i = r("0366") , o = r("c65b") @@ -835,34 +1025,34 @@ , f = r("35a1") , h = r("2a62") , p = n.TypeError - , m = function(e, t) { - this.stopped = e, - this.result = t + , m = function(t, e) { + this.stopped = t, + this.result = e } , b = m.prototype; - e.exports = function(e, t, r) { - var n, g, y, v, S, w, C, A = r && r.that, _ = !(!r || !r.AS_ENTRIES), I = !(!r || !r.IS_ITERATOR), E = !(!r || !r.INTERRUPTED), T = i(t, A), x = function(e) { - return n && h(n, "normal", e), - new m(!0,e) - }, P = function(e) { - return _ ? (a(e), - E ? T(e[0], e[1], x) : T(e[0], e[1])) : E ? T(e, x) : T(e) + t.exports = function(t, e, r) { + var n, g, y, v, S, w, C, _ = r && r.that, A = !(!r || !r.AS_ENTRIES), I = !(!r || !r.IS_ITERATOR), E = !(!r || !r.INTERRUPTED), T = i(e, _), x = function(t) { + return n && h(n, "normal", t), + new m(!0,t) + }, P = function(t) { + return A ? (a(t), + E ? T(t[0], t[1], x) : T(t[0], t[1])) : E ? T(t, x) : T(t) }; if (I) - n = e; + n = t; else { - if (g = f(e), + if (g = f(t), !g) - throw p(s(e) + " is not iterable"); + throw p(s(t) + " is not iterable"); if (c(g)) { for (y = 0, - v = u(e); v > y; y++) - if (S = P(e[y]), + v = u(t); v > y; y++) + if (S = P(t[y]), S && d(b, S)) return S; return new m(!1) } - n = l(e, g) + n = l(t, g) } w = n.next; while (!(C = o(w, n)).done) { @@ -877,24 +1067,24 @@ return new m(!1) } }, - 2351: function(e, t, r) { + 2351: function(t, e, r) { var n = r("746f"); n("split") }, - "23cb": function(e, t, r) { + "23cb": function(t, e, r) { var n = r("5926") , 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) + t.exports = function(t, e) { + var r = n(t); + return r < 0 ? i(r + e, 0) : o(r, e) } }, - "23dc": function(e, t, r) { + "23dc": function(t, e, r) { var n = r("d44e"); n(Math, "Math", !0) }, - "23e7": function(e, t, r) { + "23e7": function(t, e, r) { var n = r("da84") , i = r("06cf").f , o = r("9112") @@ -902,70 +1092,70 @@ , s = r("ce4e") , c = r("e893") , u = r("94ca"); - e.exports = function(e, t) { - var r, d, l, f, h, p, m = e.target, b = e.global, g = e.stat; + t.exports = function(t, e) { + var r, d, l, f, h, p, m = t.target, b = t.global, g = t.stat; if (d = b ? n : g ? n[m] || s(m, {}) : (n[m] || {}).prototype, d) - for (l in t) { - if (h = t[l], - e.noTargetGet ? (p = i(d, l), + for (l in e) { + if (h = e[l], + t.noTargetGet ? (p = i(d, l), f = p && p.value) : f = d[l], - r = u(b ? l : m + (g ? "." : "#") + l, e.forced), + r = u(b ? l : m + (g ? "." : "#") + l, t.forced), !r && void 0 !== f) { if (typeof h == typeof f) continue; c(h, f) } - (e.sham || f && f.sham) && o(h, "sham", !0), - a(d, l, h, e) + (t.sham || f && f.sham) && o(h, "sham", !0), + a(d, l, h, t) } } }, - 2418: function(e, t, r) { + 2418: function(t, e, r) { r("cca6"); var n = r("428f"); - e.exports = n.Object.assign + t.exports = n.Object.assign }, - "241c": function(e, t, r) { + "241c": function(t, e, r) { var n = r("ca84") , i = r("7839") , o = i.concat("length", "prototype"); - t.f = Object.getOwnPropertyNames || function(e) { - return n(e, o) + e.f = Object.getOwnPropertyNames || function(t) { + return n(t, o) } }, - 2444: function(e, t, r) { + 2444: function(t, e, r) { "use strict"; - (function(t) { + (function(e) { var n = r("c532") , i = r("c8af") , o = { "Content-Type": "application/x-www-form-urlencoded" }; - function a(e, t) { - !n.isUndefined(e) && n.isUndefined(e["Content-Type"]) && (e["Content-Type"] = t) + function a(t, e) { + !n.isUndefined(t) && n.isUndefined(t["Content-Type"]) && (t["Content-Type"] = e) } function s() { - var e; - return ("undefined" !== typeof XMLHttpRequest || "undefined" !== typeof t && "[object process]" === Object.prototype.toString.call(t)) && (e = r("b50d")), - e + var t; + return ("undefined" !== typeof XMLHttpRequest || "undefined" !== typeof e && "[object process]" === Object.prototype.toString.call(e)) && (t = r("b50d")), + t } var c = { adapter: s(), - transformRequest: [function(e, t) { - return i(t, "Accept"), - i(t, "Content-Type"), - n.isFormData(e) || n.isArrayBuffer(e) || n.isBuffer(e) || n.isStream(e) || n.isFile(e) || n.isBlob(e) ? e : n.isArrayBufferView(e) ? e.buffer : n.isURLSearchParams(e) ? (a(t, "application/x-www-form-urlencoded;charset=utf-8"), - e.toString()) : n.isObject(e) ? (a(t, "application/json;charset=utf-8"), - JSON.stringify(e)) : e + transformRequest: [function(t, e) { + return i(e, "Accept"), + i(e, "Content-Type"), + n.isFormData(t) || n.isArrayBuffer(t) || n.isBuffer(t) || n.isStream(t) || n.isFile(t) || n.isBlob(t) ? t : n.isArrayBufferView(t) ? t.buffer : n.isURLSearchParams(t) ? (a(e, "application/x-www-form-urlencoded;charset=utf-8"), + t.toString()) : n.isObject(t) ? (a(e, "application/json;charset=utf-8"), + JSON.stringify(t)) : t } ], - transformResponse: [function(e) { - if ("string" === typeof e) + transformResponse: [function(t) { + if ("string" === typeof t) try { - e = JSON.parse(e) - } catch (t) {} - return e + t = JSON.parse(t) + } catch (e) {} + return t } ], timeout: 0, @@ -973,8 +1163,8 @@ xsrfHeaderName: "X-XSRF-TOKEN", maxContentLength: -1, maxBodyLength: -1, - validateStatus: function(e) { - return e >= 200 && e < 300 + validateStatus: function(t) { + return t >= 200 && t < 300 }, headers: { common: { @@ -982,19 +1172,19 @@ } } }; - n.forEach(["delete", "get", "head"], (function(e) { - c.headers[e] = {} + n.forEach(["delete", "get", "head"], (function(t) { + c.headers[t] = {} } )), - n.forEach(["post", "put", "patch"], (function(e) { - c.headers[e] = n.merge(o) + n.forEach(["post", "put", "patch"], (function(t) { + c.headers[t] = n.merge(o) } )), - e.exports = c + t.exports = c } ).call(this, r("4362")) }, - 2532: function(e, t, r) { + 2532: function(t, e, r) { "use strict"; var n = r("23e7") , i = r("e330") @@ -1008,22 +1198,22 @@ proto: !0, forced: !c("includes") }, { - includes: function(e) { - return !!~u(s(a(this)), s(o(e)), arguments.length > 1 ? arguments[1] : void 0) + includes: function(t) { + return !!~u(s(a(this)), s(o(t)), arguments.length > 1 ? arguments[1] : void 0) } }) }, - 2626: function(e, t, r) { + 2626: function(t, e, r) { "use strict"; var n = r("d066") , i = r("9bf2") , o = r("b622") , a = r("83ab") , s = o("species"); - e.exports = function(e) { - var t = n(e) + t.exports = function(t) { + var e = n(t) , r = i.f; - a && t && !t[s] && r(t, s, { + a && e && !e[s] && r(e, s, { configurable: !0, get: function() { return this @@ -1031,7 +1221,7 @@ }) } }, - 2954: function(e, t, r) { + 2954: function(t, e, r) { "use strict"; var n = r("ebb5") , i = r("b6b7") @@ -1043,8 +1233,8 @@ new Int8Array(1).slice() } )); - c("slice", (function(e, t) { - var r = a(s(this), e, t) + c("slice", (function(t, e) { + var r = a(s(this), t, e) , n = i(this) , o = 0 , c = r.length @@ -1055,30 +1245,30 @@ } ), u) }, - "2a1b": function(e, t, r) { + "2a1b": function(t, e, r) { var n = r("746f"); n("match") }, - "2a62": function(e, t, r) { + "2a62": function(t, e, r) { var n = r("c65b") , i = r("825a") , o = r("dc4a"); - e.exports = function(e, t, r) { + t.exports = function(t, e, r) { var a, s; - i(e); + i(t); try { - if (a = o(e, "return"), + if (a = o(t, "return"), !a) { - if ("throw" === t) + if ("throw" === e) throw r; return r } - a = n(a, e) + a = n(a, t) } catch (c) { s = !0, a = c } - if ("throw" === t) + if ("throw" === e) throw r; if (s) throw a; @@ -1086,20 +1276,20 @@ r } }, - "2b3d": function(e, t, r) { + "2b3d": function(t, e, r) { r("4002") }, - "2ba4": function(e, t, r) { + "2ba4": function(t, e, r) { var n = r("40d5") , i = Function.prototype , o = i.apply , a = i.call; - e.exports = "object" == typeof Reflect && Reflect.apply || (n ? a.bind(o) : function() { + t.exports = "object" == typeof Reflect && Reflect.apply || (n ? a.bind(o) : function() { return a.apply(o, arguments) } ) }, - "2ca0": function(e, t, r) { + "2ca0": function(t, e, r) { "use strict"; var n = r("23e7") , i = r("e330") @@ -1115,131 +1305,131 @@ , p = Math.min , m = d("startsWith") , b = !l && !m && !!function() { - var e = o(String.prototype, "startsWith"); - return e && !e.writable + var t = o(String.prototype, "startsWith"); + return t && !t.writable }(); n({ target: "String", proto: !0, forced: !b && !m }, { - startsWith: function(e) { - var t = s(u(this)); - c(e); - var r = a(p(arguments.length > 1 ? arguments[1] : void 0, t.length)) - , n = s(e); - return f ? f(t, n, r) : h(t, r, r + n.length) === n + startsWith: function(t) { + var e = s(u(this)); + c(t); + var r = a(p(arguments.length > 1 ? arguments[1] : void 0, e.length)) + , n = s(t); + return f ? f(e, n, r) : h(e, r, r + n.length) === n } }) }, - "2cf4": function(e, t, r) { - var n, i, o, a, s = r("da84"), c = r("2ba4"), u = r("0366"), d = r("1626"), l = r("1a2d"), f = r("d039"), h = r("1be4"), p = r("f36a"), m = r("cc12"), b = r("d6d6"), g = r("1cdc"), y = r("605d"), v = s.setImmediate, S = s.clearImmediate, w = s.process, C = s.Dispatch, A = s.Function, _ = s.MessageChannel, I = s.String, E = 0, T = {}, x = "onreadystatechange"; + "2cf4": function(t, e, r) { + var n, i, o, a, s = r("da84"), c = r("2ba4"), u = r("0366"), d = r("1626"), l = r("1a2d"), f = r("d039"), h = r("1be4"), p = r("f36a"), m = r("cc12"), b = r("d6d6"), g = r("1cdc"), y = r("605d"), v = s.setImmediate, S = s.clearImmediate, w = s.process, C = s.Dispatch, _ = s.Function, A = s.MessageChannel, I = s.String, E = 0, T = {}, x = "onreadystatechange"; try { n = s.location } catch (R) {} - var P = function(e) { - if (l(T, e)) { - var t = T[e]; - delete T[e], - t() + var P = function(t) { + if (l(T, t)) { + var e = T[t]; + delete T[t], + e() } } - , k = function(e) { + , k = function(t) { return function() { - P(e) + P(t) } } - , D = function(e) { - P(e.data) + , D = function(t) { + P(t.data) } - , O = function(e) { - s.postMessage(I(e), n.protocol + "//" + n.host) + , O = function(t) { + s.postMessage(I(t), n.protocol + "//" + n.host) }; - v && S || (v = function(e) { + v && S || (v = function(t) { b(arguments.length, 1); - var t = d(e) ? e : A(e) + var e = d(t) ? t : _(t) , r = p(arguments, 1); return T[++E] = function() { - c(t, void 0, r) + c(e, void 0, r) } , i(E), E } , - S = function(e) { - delete T[e] + S = function(t) { + delete T[t] } , - y ? i = function(e) { - w.nextTick(k(e)) + y ? i = function(t) { + w.nextTick(k(t)) } - : C && C.now ? i = function(e) { - C.now(k(e)) + : C && C.now ? i = function(t) { + C.now(k(t)) } - : _ && !g ? (o = new _, + : A && !g ? (o = new A, a = o.port2, o.port1.onmessage = D, i = u(a.postMessage, a)) : s.addEventListener && d(s.postMessage) && !s.importScripts && n && "file:" !== n.protocol && !f(O) ? (i = O, - s.addEventListener("message", D, !1)) : i = x in m("script") ? function(e) { + s.addEventListener("message", D, !1)) : i = x in m("script") ? function(t) { h.appendChild(m("script"))[x] = function() { h.removeChild(this), - P(e) + P(t) } } - : function(e) { - setTimeout(k(e), 0) + : function(t) { + setTimeout(k(t), 0) } ), - e.exports = { + t.exports = { set: v, clear: S } }, - "2d00": function(e, t, r) { + "2d00": function(t, e, r) { var n, i, o = r("da84"), a = r("342f"), s = o.process, c = o.Deno, u = s && s.versions || c && c.version, d = u && u.v8; d && (n = d.split("."), i = n[0] > 0 && n[0] < 4 ? 1 : +(n[0] + n[1])), !i && a && (n = a.match(/Edge\/(\d+)/), (!n || n[1] >= 74) && (n = a.match(/Chrome\/(\d+)/), n && (i = +n[1]))), - e.exports = i + t.exports = i }, - "2d83": function(e, t, r) { + "2d83": function(t, e, r) { "use strict"; var n = r("387f"); - e.exports = function(e, t, r, i, o) { - var a = new Error(e); - return n(a, t, r, i, o) + t.exports = function(t, e, r, i, o) { + var a = new Error(t); + return n(a, e, r, i, o) } }, - "2e67": function(e, t, r) { + "2e67": function(t, e, r) { "use strict"; - e.exports = function(e) { - return !(!e || !e.__CANCEL__) + t.exports = function(t) { + return !(!t || !t.__CANCEL__) } }, - "30b5": function(e, t, r) { + "30b5": function(t, e, r) { "use strict"; var n = r("c532"); - function i(e) { - return encodeURIComponent(e).replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+").replace(/%5B/gi, "[").replace(/%5D/gi, "]") + function i(t) { + return encodeURIComponent(t).replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+").replace(/%5B/gi, "[").replace(/%5D/gi, "]") } - e.exports = function(e, t, r) { - if (!t) - return e; + t.exports = function(t, e, r) { + if (!e) + return t; var o; if (r) - o = r(t); - else if (n.isURLSearchParams(t)) - o = t.toString(); + o = r(e); + else if (n.isURLSearchParams(e)) + o = e.toString(); else { var a = []; - n.forEach(t, (function(e, t) { - null !== e && "undefined" !== typeof e && (n.isArray(e) ? t += "[]" : e = [e], - n.forEach(e, (function(e) { - n.isDate(e) ? e = e.toISOString() : n.isObject(e) && (e = JSON.stringify(e)), - a.push(i(t) + "=" + i(e)) + n.forEach(e, (function(t, e) { + null !== t && "undefined" !== typeof t && (n.isArray(t) ? e += "[]" : t = [t], + n.forEach(t, (function(t) { + n.isDate(t) ? t = t.toISOString() : n.isObject(t) && (t = JSON.stringify(t)), + a.push(i(e) + "=" + i(t)) } ))) } @@ -1247,18 +1437,18 @@ o = a.join("&") } if (o) { - var s = e.indexOf("#"); - -1 !== s && (e = e.slice(0, s)), - e += (-1 === e.indexOf("?") ? "?" : "&") + o + var s = t.indexOf("#"); + -1 !== s && (t = t.slice(0, s)), + t += (-1 === t.indexOf("?") ? "?" : "&") + o } - return e + return t } }, - "342f": function(e, t, r) { + "342f": function(t, e, r) { var n = r("d066"); - e.exports = n("navigator", "userAgent") || "" + t.exports = n("navigator", "userAgent") || "" }, - 3529: function(e, t, r) { + 3529: function(t, e, r) { "use strict"; var n = r("23e7") , i = r("c65b") @@ -1272,14 +1462,14 @@ stat: !0, forced: u }, { - race: function(e) { - var t = this - , r = a.f(t) + race: function(t) { + var e = this + , r = a.f(e) , n = r.reject , u = s((function() { - var a = o(t.resolve); - c(e, (function(e) { - i(a, t, e).then(r.resolve, n) + var a = o(e.resolve); + c(t, (function(t) { + i(a, e, t).then(r.resolve, n) } )) } @@ -1289,63 +1479,63 @@ } }) }, - "35a1": function(e, t, r) { + "35a1": function(t, e, r) { var n = r("f5df") , i = r("dc4a") , o = r("3f8c") , a = r("b622") , s = a("iterator"); - e.exports = function(e) { - if (void 0 != e) - return i(e, s) || i(e, "@@iterator") || o[n(e)] + t.exports = function(t) { + if (void 0 != t) + return i(t, s) || i(t, "@@iterator") || o[n(t)] } }, - 3662: function(e, t, r) { + 3662: function(t, e, r) { "use strict"; - function n(e) { - return n = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(e) { - return typeof e + function n(t) { + return n = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(t) { + return typeof t } - : function(e) { - return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e + : function(t) { + return t && "function" == typeof Symbol && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t } , - n(e) + n(t) } function i() { /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ i = function() { - return e + return t } ; - var e = {} - , t = Object.prototype - , r = t.hasOwnProperty + var t = {} + , e = Object.prototype + , r = e.hasOwnProperty , o = "function" == typeof Symbol ? Symbol : {} , a = o.iterator || "@@iterator" , s = o.asyncIterator || "@@asyncIterator" , c = o.toStringTag || "@@toStringTag"; - function u(e, t, r) { - return Object.defineProperty(e, t, { + function u(t, e, r) { + return Object.defineProperty(t, e, { value: r, enumerable: !0, configurable: !0, writable: !0 }), - e[t] + t[e] } try { u({}, "") } catch (x) { - u = function(e, t, r) { - return e[t] = r + u = function(t, e, r) { + return t[e] = r } } - function d(e, t, r, n) { - var i = t && t.prototype instanceof h ? t : h + function d(t, e, r, n) { + var i = e && e.prototype instanceof h ? e : h , o = Object.create(i.prototype) , a = new I(n || []); - return o._invoke = function(e, t, r) { + return o._invoke = function(t, e, r) { var n = "suspendedStart"; return function(i, o) { if ("executing" === n) @@ -1376,7 +1566,7 @@ } else "return" === r.method && r.abrupt("return", r.arg); n = "executing"; - var c = l(e, t, r); + var c = l(t, e, r); if ("normal" === c.type) { if (n = r.done ? "completed" : "suspendedYield", c.arg === f) @@ -1391,14 +1581,14 @@ r.arg = c.arg) } } - }(e, r, a), + }(t, r, a), o } - function l(e, t, r) { + function l(t, e, r) { try { return { type: "normal", - arg: e.call(t, r) + arg: t.call(e, r) } } catch (x) { return { @@ -1407,7 +1597,7 @@ } } } - e.wrap = d; + t.wrap = d; var f = {}; function h() {} function p() {} @@ -1419,123 +1609,123 @@ )); var g = Object.getPrototypeOf , y = g && g(g(E([]))); - y && y !== t && r.call(y, a) && (b = y); + y && y !== e && r.call(y, a) && (b = y); var v = m.prototype = h.prototype = Object.create(b); - function S(e) { - ["next", "throw", "return"].forEach((function(t) { - u(e, t, (function(e) { - return this._invoke(t, e) + function S(t) { + ["next", "throw", "return"].forEach((function(e) { + u(t, e, (function(t) { + return this._invoke(e, t) } )) } )) } - function w(e, t) { + function w(t, e) { function i(o, a, s, c) { - var u = l(e[o], e, a); + var u = l(t[o], t, a); if ("throw" !== u.type) { var d = u.arg , f = d.value; - return f && "object" == n(f) && r.call(f, "__await") ? t.resolve(f.__await).then((function(e) { - i("next", e, s, c) + return f && "object" == n(f) && r.call(f, "__await") ? e.resolve(f.__await).then((function(t) { + i("next", t, s, c) } - ), (function(e) { - i("throw", e, s, c) + ), (function(t) { + i("throw", t, s, c) } - )) : t.resolve(f).then((function(e) { - d.value = e, + )) : e.resolve(f).then((function(t) { + d.value = t, s(d) } - ), (function(e) { - return i("throw", e, s, c) + ), (function(t) { + return i("throw", t, s, c) } )) } c(u.arg) } var o; - this._invoke = function(e, r) { + this._invoke = function(t, r) { function n() { - return new t((function(t, n) { - i(e, r, t, n) + return new e((function(e, n) { + i(t, r, e, n) } )) } return o = o ? o.then(n, n) : n() } } - function C(e, t) { - var r = e.iterator[t.method]; + function C(t, e) { + var r = t.iterator[e.method]; if (void 0 === r) { - if (t.delegate = null, - "throw" === t.method) { - if (e.iterator.return && (t.method = "return", - t.arg = void 0, - C(e, t), - "throw" === t.method)) + if (e.delegate = null, + "throw" === e.method) { + if (t.iterator.return && (e.method = "return", + e.arg = void 0, + C(t, e), + "throw" === e.method)) return f; - t.method = "throw", - t.arg = new TypeError("The iterator does not provide a 'throw' method") + e.method = "throw", + e.arg = new TypeError("The iterator does not provide a 'throw' method") } return f } - var n = l(r, e.iterator, t.arg); + var n = l(r, t.iterator, e.arg); if ("throw" === n.type) - return t.method = "throw", - t.arg = n.arg, - t.delegate = null, + return e.method = "throw", + e.arg = n.arg, + e.delegate = null, f; var i = n.arg; - return i ? i.done ? (t[e.resultName] = i.value, - t.next = e.nextLoc, - "return" !== t.method && (t.method = "next", - t.arg = void 0), - t.delegate = null, - f) : i : (t.method = "throw", - t.arg = new TypeError("iterator result is not an object"), - t.delegate = null, + return i ? i.done ? (e[t.resultName] = i.value, + e.next = t.nextLoc, + "return" !== e.method && (e.method = "next", + e.arg = void 0), + e.delegate = null, + f) : i : (e.method = "throw", + e.arg = new TypeError("iterator result is not an object"), + e.delegate = null, f) } - function A(e) { - var t = { - tryLoc: e[0] + function _(t) { + var e = { + tryLoc: t[0] }; - 1 in e && (t.catchLoc = e[1]), - 2 in e && (t.finallyLoc = e[2], - t.afterLoc = e[3]), - this.tryEntries.push(t) + 1 in t && (e.catchLoc = t[1]), + 2 in t && (e.finallyLoc = t[2], + e.afterLoc = t[3]), + this.tryEntries.push(e) } - function _(e) { - var t = e.completion || {}; - t.type = "normal", - delete t.arg, - e.completion = t + function A(t) { + var e = t.completion || {}; + e.type = "normal", + delete e.arg, + t.completion = e } - function I(e) { + function I(t) { this.tryEntries = [{ tryLoc: "root" }], - e.forEach(A, this), + t.forEach(_, this), this.reset(!0) } - function E(e) { - if (e) { - var t = e[a]; - if (t) - return t.call(e); - if ("function" == typeof e.next) - return e; - if (!isNaN(e.length)) { + function E(t) { + if (t) { + var e = t[a]; + if (e) + return e.call(t); + if ("function" == typeof t.next) + return t; + if (!isNaN(t.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 + , i = function e() { + for (; ++n < t.length; ) + if (r.call(t, n)) + return e.value = t[n], + e.done = !1, + e; + return e.value = void 0, + e.done = !0, + e }; return i.next = i } @@ -1554,21 +1744,21 @@ u(v, "constructor", m), u(m, "constructor", p), p.displayName = u(m, c, "GeneratorFunction"), - e.isGeneratorFunction = function(e) { - var t = "function" == typeof e && e.constructor; - return !!t && (t === p || "GeneratorFunction" === (t.displayName || t.name)) + t.isGeneratorFunction = function(t) { + var e = "function" == typeof t && t.constructor; + return !!e && (e === p || "GeneratorFunction" === (e.displayName || e.name)) } , - e.mark = function(e) { - return Object.setPrototypeOf ? Object.setPrototypeOf(e, m) : (e.__proto__ = m, - u(e, c, "GeneratorFunction")), - e.prototype = Object.create(v), - e + t.mark = function(t) { + return Object.setPrototypeOf ? Object.setPrototypeOf(t, m) : (t.__proto__ = m, + u(t, c, "GeneratorFunction")), + t.prototype = Object.create(v), + t } , - e.awrap = function(e) { + t.awrap = function(t) { return { - __await: e + __await: t } } , @@ -1577,12 +1767,12 @@ return this } )), - e.AsyncIterator = w, - e.async = function(t, r, n, i, o) { + t.AsyncIterator = w, + t.async = function(e, r, n, i, o) { void 0 === o && (o = Promise); - var a = new w(d(t, r, n, i),o); - return e.isGeneratorFunction(r) ? a : a.next().then((function(e) { - return e.done ? e.value : a.next() + var a = new w(d(e, r, n, i),o); + return t.isGeneratorFunction(r) ? a : a.next().then((function(t) { + return t.done ? t.value : a.next() } )) } @@ -1597,15 +1787,15 @@ return "[object Generator]" } )), - e.keys = function(e) { - var t = []; - for (var r in e) - t.push(r); - return t.reverse(), + t.keys = function(t) { + var e = []; + for (var r in t) + e.push(r); + return e.reverse(), function r() { - for (; t.length; ) { - var n = t.pop(); - if (n in e) + for (; e.length; ) { + var n = e.pop(); + if (n in t) return r.value = n, r.done = !1, r @@ -1615,10 +1805,10 @@ } } , - e.values = E, + t.values = E, I.prototype = { constructor: I, - reset: function(e) { + reset: function(t) { if (this.prev = 0, this.next = 0, this.sent = this._sent = void 0, @@ -1626,28 +1816,28 @@ this.delegate = null, this.method = "next", this.arg = void 0, - this.tryEntries.forEach(_), - !e) - for (var t in this) - "t" === t.charAt(0) && r.call(this, t) && !isNaN(+t.slice(1)) && (this[t] = void 0) + this.tryEntries.forEach(A), + !t) + for (var e in this) + "t" === e.charAt(0) && r.call(this, e) && !isNaN(+e.slice(1)) && (this[e] = void 0) }, stop: function() { this.done = !0; - var e = this.tryEntries[0].completion; - if ("throw" === e.type) - throw e.arg; + var t = this.tryEntries[0].completion; + if ("throw" === t.type) + throw t.arg; return this.rval }, - dispatchException: function(e) { + dispatchException: function(t) { if (this.done) - throw e; - var t = this; + throw t; + var e = this; function n(r, n) { return a.type = "throw", - a.arg = e, - t.next = r, - n && (t.method = "next", - t.arg = void 0), + a.arg = t, + e.next = r, + n && (e.method = "next", + e.arg = void 0), !!n } for (var i = this.tryEntries.length - 1; i >= 0; --i) { @@ -1675,7 +1865,7 @@ } } }, - abrupt: function(e, t) { + abrupt: function(t, e) { 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) { @@ -1683,169 +1873,169 @@ break } } - o && ("break" === e || "continue" === e) && o.tryLoc <= t && t <= o.finallyLoc && (o = null); + o && ("break" === t || "continue" === t) && o.tryLoc <= e && e <= o.finallyLoc && (o = null); var a = o ? o.completion : {}; - return a.type = e, - a.arg = t, + return a.type = t, + a.arg = e, 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, + complete: function(t, e) { + if ("throw" === t.type) + throw t.arg; + return "break" === t.type || "continue" === t.type ? this.next = t.arg : "return" === t.type ? (this.rval = this.arg = t.arg, this.method = "return", - this.next = "end") : "normal" === e.type && t && (this.next = t), + this.next = "end") : "normal" === t.type && e && (this.next = e), f }, - finish: function(e) { - for (var t = this.tryEntries.length - 1; t >= 0; --t) { - var r = this.tryEntries[t]; - if (r.finallyLoc === e) + finish: function(t) { + for (var e = this.tryEntries.length - 1; e >= 0; --e) { + var r = this.tryEntries[e]; + if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), - _(r), + A(r), f } }, - catch: function(e) { - for (var t = this.tryEntries.length - 1; t >= 0; --t) { - var r = this.tryEntries[t]; - if (r.tryLoc === e) { + catch: function(t) { + for (var e = this.tryEntries.length - 1; e >= 0; --e) { + var r = this.tryEntries[e]; + if (r.tryLoc === t) { var n = r.completion; if ("throw" === n.type) { var i = n.arg; - _(r) + A(r) } return i } } throw new Error("illegal catch attempt") }, - delegateYield: function(e, t, r) { + delegateYield: function(t, e, r) { return this.delegate = { - iterator: E(e), - resultName: t, + iterator: E(t), + resultName: e, nextLoc: r }, "next" === this.method && (this.arg = void 0), f } }, - e + t } - function o(e, t, r, n, i, o, a) { + function o(t, e, r, n, i, o, a) { try { - var s = e[o](a) + var s = t[o](a) , c = s.value } catch (u) { return void r(u) } - s.done ? t(c) : Promise.resolve(c).then(n, i) + s.done ? e(c) : Promise.resolve(c).then(n, i) } - function a(e) { + function a(t) { return function() { - var t = this + var e = this , r = arguments; return new Promise((function(n, i) { - var a = e.apply(t, r); - function s(e) { - o(a, n, i, s, c, "next", e) + var a = t.apply(e, r); + function s(t) { + o(a, n, i, s, c, "next", t) } - function c(e) { - o(a, n, i, s, c, "throw", e) + function c(t) { + o(a, n, i, s, c, "throw", t) } s(void 0) } )) } } - r.d(t, "a", (function() { + r.d(e, "a", (function() { return c } )), Array.prototype.pipeline = function() { - var e = a(i().mark((function e(t) { + var t = a(i().mark((function t(e) { var r, n, o; - return i().wrap((function(e) { + return i().wrap((function(t) { while (1) - switch (e.prev = e.next) { + switch (t.prev = t.next) { case 0: if (null !== this && "undefined" !== typeof this) { - e.next = 2; + t.next = 2; break } throw new TypeError("Array.prototype.pipeline called on null or undefined"); case 2: - if ("function" === typeof t) { - e.next = 4; + if ("function" === typeof e) { + t.next = 4; break } - throw new TypeError(t + " is not a function"); + throw new TypeError(e + " is not a function"); case 4: o = this.length >>> 0, r = 0; case 6: if (!(o > r)) { - e.next = 13; + t.next = 13; break } - return e.next = 9, - t(n, this[r], r, this); + return t.next = 9, + e(n, this[r], r, this); case 9: - n = e.sent; + n = t.sent; case 10: ++r, - e.next = 6; + t.next = 6; break; case 13: - return e.abrupt("return", n); + return t.abrupt("return", n); case 14: case "end": - return e.stop() + return t.stop() } } - ), e, this) + ), t, this) } ))); - return function(t) { - return e.apply(this, arguments) + return function(e) { + return t.apply(this, arguments) } }(); var s = function() { - for (var e = this, t = arguments.length, r = new Array(t), n = 0; n < t; n++) + for (var t = this, e = arguments.length, r = new Array(e), n = 0; n < e; n++) r[n] = arguments[n]; - return r.pipeline((function(t, r) { - return r.call(e, t) + return r.pipeline((function(e, r) { + return r.call(t, e) } )) } , c = s }, - "37e8": function(e, t, r) { + "37e8": function(t, e, r) { var n = r("83ab") , i = r("aed9") , o = r("9bf2") , a = r("825a") , s = r("fc6a") , c = r("df75"); - t.f = n && !i ? Object.defineProperties : function(e, t) { - a(e); - var r, n = s(t), i = c(t), u = i.length, d = 0; + e.f = n && !i ? Object.defineProperties : function(t, e) { + a(t); + var r, n = s(e), i = c(e), u = i.length, d = 0; while (u > d) - o.f(e, r = i[d++], n[r]); - return e + o.f(t, r = i[d++], n[r]); + return t } }, - "387f": function(e, t, r) { + "387f": function(t, e, r) { "use strict"; - e.exports = function(e, t, r, n, i) { - return e.config = t, - r && (e.code = r), - e.request = n, - e.response = i, - e.isAxiosError = !0, - e.toJSON = function() { + t.exports = function(t, e, r, n, i) { + return t.config = e, + r && (t.code = r), + t.request = n, + t.response = i, + t.isAxiosError = !0, + t.toJSON = function() { return { message: this.message, name: this.name, @@ -1860,17 +2050,17 @@ } } , - e + t } }, - 3934: function(e, t, r) { + 3934: function(t, e, r) { "use strict"; var n = r("c532"); - e.exports = n.isStandardBrowserEnv() ? function() { - var e, t = /(msie|trident)/i.test(navigator.userAgent), r = document.createElement("a"); - function i(e) { - var n = e; - return t && (r.setAttribute("href", n), + t.exports = n.isStandardBrowserEnv() ? function() { + var t, e = /(msie|trident)/i.test(navigator.userAgent), r = document.createElement("a"); + function i(t) { + var n = t; + return e && (r.setAttribute("href", n), n = r.href), r.setAttribute("href", n), { @@ -1884,10 +2074,10 @@ pathname: "/" === r.pathname.charAt(0) ? r.pathname : "/" + r.pathname } } - return e = i(window.location.href), - function(t) { - var r = n.isString(t) ? i(t) : t; - return r.protocol === e.protocol && r.host === e.host + return t = i(window.location.href), + function(e) { + var r = n.isString(e) ? i(e) : e; + return r.protocol === t.protocol && r.host === t.host } }() : function() { return function() { @@ -1895,7 +2085,7 @@ } }() }, - 3980: function(e, t, r) { + 3980: function(t, e, r) { r("967a"), r("e260"), r("d3b7"), @@ -1905,24 +2095,24 @@ r("a79d"), r("3ca3"); var n = r("428f"); - e.exports = n.Promise + t.exports = n.Promise }, - "3a9b": function(e, t, r) { + "3a9b": function(t, e, r) { var n = r("e330"); - e.exports = n({}.isPrototypeOf) + t.exports = n({}.isPrototypeOf) }, - "3bbe": function(e, t, r) { + "3bbe": function(t, e, r) { var n = r("da84") , i = r("1626") , o = n.String , a = n.TypeError; - e.exports = function(e) { - if ("object" == typeof e || i(e)) - return e; - throw a("Can't set " + o(e) + " as a prototype") + t.exports = function(t) { + if ("object" == typeof t || i(t)) + return t; + throw a("Can't set " + o(t) + " as a prototype") } }, - "3ca3": function(e, t, r) { + "3ca3": function(t, e, r) { "use strict"; var n = r("6547").charAt , i = r("577e") @@ -1931,64 +2121,64 @@ , s = "String Iterator" , c = o.set , u = o.getterFor(s); - a(String, "String", (function(e) { + a(String, "String", (function(t) { c(this, { type: s, - string: i(e), + string: i(t), index: 0 }) } ), (function() { - var e, t = u(this), r = t.string, i = t.index; + var t, e = u(this), r = e.string, i = e.index; return i >= r.length ? { value: void 0, done: !0 - } : (e = n(r, i), - t.index += e.length, + } : (t = n(r, i), + e.index += t.length, { - value: e, + value: t, done: !1 }) } )) }, - "3d87": function(e, t, r) { + "3d87": function(t, e, r) { var n = r("4930"); - e.exports = n && !!Symbol["for"] && !!Symbol.keyFor + t.exports = n && !!Symbol["for"] && !!Symbol.keyFor }, - "3f8c": function(e, t) { - e.exports = {} + "3f8c": function(t, e) { + t.exports = {} }, - 4002: function(e, t, r) { + 4002: function(t, e, r) { "use strict"; r("3ca3"); - var n, i = r("23e7"), o = r("83ab"), a = r("0d3b"), s = r("da84"), c = r("0366"), u = r("e330"), d = r("cb2d"), l = r("edd0"), f = r("19aa"), h = r("1a2d"), p = r("60da"), m = r("4df4"), b = r("4dae"), g = r("6547").codeAt, y = r("5fb2"), v = r("577e"), S = r("d44e"), w = r("d6d6"), C = r("5352"), A = r("69f3"), _ = A.set, I = A.getterFor("URL"), E = C.URLSearchParams, T = C.getState, x = s.URL, P = s.TypeError, k = s.parseInt, D = Math.floor, O = Math.pow, R = u("".charAt), M = u(/./.exec), N = u([].join), B = u(1..toString), F = u([].pop), j = u([].push), K = u("".replace), U = u([].shift), L = u("".split), X = u("".slice), z = u("".toLowerCase), G = u([].unshift), W = "Invalid authority", q = "Invalid scheme", H = "Invalid host", V = "Invalid port", Y = /[a-z]/i, Q = /[\d+-.a-z]/i, Z = /\d/, J = /^0x/i, $ = /^[0-7]+$/, ee = /^\d+$/, te = /^[\da-f]+$/i, re = /[\0\t\n\r #%/:<>?@[\\\]^|]/, ne = /[\0\t\n\r #/:<>?@[\\\]^|]/, ie = /^[\u0000-\u0020]+|[\u0000-\u0020]+$/g, oe = /[\t\n\r]/g, ae = function(e) { - var t, r, n, i, o, a, s, c = L(e, "."); + var n, i = r("23e7"), o = r("83ab"), a = r("0d3b"), s = r("da84"), c = r("0366"), u = r("e330"), d = r("cb2d"), l = r("edd0"), f = r("19aa"), h = r("1a2d"), p = r("60da"), m = r("4df4"), b = r("4dae"), g = r("6547").codeAt, y = r("5fb2"), v = r("577e"), S = r("d44e"), w = r("d6d6"), C = r("5352"), _ = r("69f3"), A = _.set, I = _.getterFor("URL"), E = C.URLSearchParams, T = C.getState, x = s.URL, P = s.TypeError, k = s.parseInt, D = Math.floor, O = Math.pow, R = u("".charAt), N = u(/./.exec), M = u([].join), B = u(1..toString), F = u([].pop), j = u([].push), K = u("".replace), L = u([].shift), U = u("".split), X = u("".slice), z = u("".toLowerCase), G = u([].unshift), W = "Invalid authority", q = "Invalid scheme", V = "Invalid host", H = "Invalid port", Y = /[a-z]/i, Z = /[\d+-.a-z]/i, Q = /\d/, J = /^0x/i, $ = /^[0-7]+$/, tt = /^\d+$/, et = /^[\da-f]+$/i, rt = /[\0\t\n\r #%/:<>?@[\\\]^|]/, nt = /[\0\t\n\r #/:<>?@[\\\]^|]/, it = /^[\u0000-\u0020]+|[\u0000-\u0020]+$/g, ot = /[\t\n\r]/g, at = function(t) { + var e, r, n, i, o, a, s, c = U(t, "."); if (c.length && "" == c[c.length - 1] && c.length--, - t = c.length, - t > 4) - return e; + e = c.length, + e > 4) + return t; for (r = [], - n = 0; n < t; n++) { + n = 0; n < e; n++) { if (i = c[n], "" == i) - return e; + return t; if (o = 10, - i.length > 1 && "0" == R(i, 0) && (o = M(J, i) ? 16 : 8, + i.length > 1 && "0" == R(i, 0) && (o = N(J, i) ? 16 : 8, i = X(i, 8 == o ? 1 : 2)), "" === i) a = 0; else { - if (!M(10 == o ? ee : 8 == o ? $ : te, i)) - return e; + if (!N(10 == o ? tt : 8 == o ? $ : et, i)) + return t; a = k(i, o) } j(r, a) } - for (n = 0; n < t; n++) + for (n = 0; n < e; n++) if (a = r[n], - n == t - 1) { - if (a >= O(256, 5 - t)) + n == e - 1) { + if (a >= O(256, 5 - e)) return null } else if (a > 255) return null; @@ -1996,12 +2186,12 @@ n = 0; n < r.length; n++) s += r[n] * O(256, 3 - n); return s - }, se = function(e) { - var t, r, n, i, o, a, s, c = [0, 0, 0, 0, 0, 0, 0, 0], u = 0, d = null, l = 0, f = function() { - return R(e, l) + }, st = function(t) { + var e, r, n, i, o, a, s, c = [0, 0, 0, 0, 0, 0, 0, 0], u = 0, d = null, l = 0, f = function() { + return R(t, l) }; if (":" == f()) { - if (":" != R(e, 1)) + if (":" != R(t, 1)) return; l += 2, u++, @@ -2011,9 +2201,9 @@ if (8 == u) return; if (":" != f()) { - t = r = 0; - while (r < 4 && M(te, f())) - t = 16 * t + k(f(), 16), + e = r = 0; + while (r < 4 && N(et, f())) + e = 16 * e + k(f(), 16), l++, r++; if ("." == f()) { @@ -2030,9 +2220,9 @@ return; l++ } - if (!M(Z, f())) + if (!N(Q, f())) return; - while (M(Z, f())) { + while (N(Q, f())) { if (o = k(f(), 10), null === i) i = o; @@ -2059,7 +2249,7 @@ return } else if (f()) return; - c[u++] = t + c[u++] = e } else { if (null !== d) return; @@ -2078,48 +2268,48 @@ } else if (8 != u) return; return c - }, ce = function(e) { - for (var t = null, r = 1, n = null, i = 0, o = 0; o < 8; o++) - 0 !== e[o] ? (i > r && (t = n, + }, ct = function(t) { + for (var e = null, r = 1, n = null, i = 0, o = 0; o < 8; o++) + 0 !== t[o] ? (i > r && (e = n, r = i), n = null, i = 0) : (null === n && (n = o), ++i); - return i > r && (t = n, + return i > r && (e = n, r = i), - t - }, ue = function(e) { - var t, r, n, i; - if ("number" == typeof e) { - for (t = [], + e + }, ut = function(t) { + var e, r, n, i; + if ("number" == typeof t) { + for (e = [], r = 0; r < 4; r++) - G(t, e % 256), - e = D(e / 256); - return N(t, ".") + G(e, t % 256), + t = D(t / 256); + return M(e, ".") } - if ("object" == typeof e) { - for (t = "", - n = ce(e), + if ("object" == typeof t) { + for (e = "", + n = ct(t), r = 0; r < 8; r++) - i && 0 === e[r] || (i && (i = !1), - n === r ? (t += r ? ":" : "::", - i = !0) : (t += B(e[r], 16), - r < 7 && (t += ":"))); - return "[" + t + "]" + i && 0 === t[r] || (i && (i = !1), + n === r ? (e += r ? ":" : "::", + i = !0) : (e += B(t[r], 16), + r < 7 && (e += ":"))); + return "[" + e + "]" } - return e - }, de = {}, le = p({}, de, { + return t + }, dt = {}, lt = p({}, dt, { " ": 1, '"': 1, "<": 1, ">": 1, "`": 1 - }), fe = p({}, le, { + }), ft = p({}, lt, { "#": 1, "?": 1, "{": 1, "}": 1 - }), he = p({}, fe, { + }), ht = p({}, ft, { "/": 1, ":": 1, ";": 1, @@ -2130,36 +2320,36 @@ "]": 1, "^": 1, "|": 1 - }), pe = function(e, t) { - var r = g(e, 0); - return r > 32 && r < 127 && !h(t, e) ? e : encodeURIComponent(e) - }, me = { + }), pt = function(t, e) { + var r = g(t, 0); + return r > 32 && r < 127 && !h(e, t) ? t : encodeURIComponent(t) + }, mt = { ftp: 21, file: null, http: 80, https: 443, ws: 80, wss: 443 - }, be = function(e, t) { + }, bt = function(t, e) { var r; - return 2 == e.length && M(Y, R(e, 0)) && (":" == (r = R(e, 1)) || !t && "|" == r) - }, ge = function(e) { - var t; - return e.length > 1 && be(X(e, 0, 2)) && (2 == e.length || "/" === (t = R(e, 2)) || "\\" === t || "?" === t || "#" === t) - }, ye = function(e) { - return "." === e || "%2e" === z(e) - }, ve = function(e) { - return e = z(e), - ".." === e || "%2e." === e || ".%2e" === e || "%2e%2e" === e - }, Se = {}, we = {}, Ce = {}, Ae = {}, _e = {}, Ie = {}, Ee = {}, Te = {}, xe = {}, Pe = {}, ke = {}, De = {}, Oe = {}, Re = {}, Me = {}, Ne = {}, Be = {}, Fe = {}, je = {}, Ke = {}, Ue = {}, Le = function(e, t, r) { - var n, i, o, a = v(e); - if (t) { + return 2 == t.length && N(Y, R(t, 0)) && (":" == (r = R(t, 1)) || !e && "|" == r) + }, gt = function(t) { + var e; + return t.length > 1 && bt(X(t, 0, 2)) && (2 == t.length || "/" === (e = R(t, 2)) || "\\" === e || "?" === e || "#" === e) + }, yt = function(t) { + return "." === t || "%2e" === z(t) + }, vt = function(t) { + return t = z(t), + ".." === t || "%2e." === t || ".%2e" === t || "%2e%2e" === t + }, St = {}, wt = {}, Ct = {}, _t = {}, At = {}, It = {}, Et = {}, Tt = {}, xt = {}, Pt = {}, kt = {}, Dt = {}, Ot = {}, Rt = {}, Nt = {}, Mt = {}, Bt = {}, Ft = {}, jt = {}, Kt = {}, Lt = {}, Ut = function(t, e, r) { + var n, i, o, a = v(t); + if (e) { if (i = this.parse(a), i) throw P(i); this.searchParams = null } else { - if (void 0 !== r && (n = new Le(r,!0)), + if (void 0 !== r && (n = new Ut(r,!0)), i = this.parse(a, null, n), i) throw P(i); @@ -2168,12 +2358,12 @@ this.searchParams = o } }; - Le.prototype = { + Ut.prototype = { type: "URL", - parse: function(e, t, r) { - var i, o, a, s, c = this, u = t || Se, d = 0, l = "", f = !1, p = !1, g = !1; - e = v(e), - t || (c.scheme = "", + parse: function(t, e, r) { + var i, o, a, s, c = this, u = e || St, d = 0, l = "", f = !1, p = !1, g = !1; + t = v(t), + e || (c.scheme = "", c.username = "", c.password = "", c.host = null, @@ -2182,47 +2372,47 @@ c.query = null, c.fragment = null, c.cannotBeABaseURL = !1, - e = K(e, ie, "")), - e = K(e, oe, ""), - i = m(e); + t = K(t, it, "")), + t = K(t, ot, ""), + i = m(t); while (d <= i.length) { switch (o = i[d], u) { - case Se: - if (!o || !M(Y, o)) { - if (t) + case St: + if (!o || !N(Y, o)) { + if (e) return q; - u = Ce; + u = Ct; continue } l += z(o), - u = we; + u = wt; break; - case we: - if (o && (M(Q, o) || "+" == o || "-" == o || "." == o)) + case wt: + if (o && (N(Z, o) || "+" == o || "-" == o || "." == o)) l += z(o); else { if (":" != o) { - if (t) + if (e) return q; l = "", - u = Ce, + u = Ct, d = 0; continue } - if (t && (c.isSpecial() != h(me, l) || "file" == l && (c.includesCredentials() || null !== c.port) || "file" == c.scheme && !c.host)) + if (e && (c.isSpecial() != h(mt, l) || "file" == l && (c.includesCredentials() || null !== c.port) || "file" == c.scheme && !c.host)) return; if (c.scheme = l, - t) - return void (c.isSpecial() && me[c.scheme] == c.port && (c.port = null)); + e) + return void (c.isSpecial() && mt[c.scheme] == c.port && (c.port = null)); l = "", - "file" == c.scheme ? u = Re : c.isSpecial() && r && r.scheme == c.scheme ? u = Ae : c.isSpecial() ? u = Te : "/" == i[d + 1] ? (u = _e, + "file" == c.scheme ? u = Rt : c.isSpecial() && r && r.scheme == c.scheme ? u = _t : c.isSpecial() ? u = Tt : "/" == i[d + 1] ? (u = At, d++) : (c.cannotBeABaseURL = !0, j(c.path, ""), - u = je) + u = jt) } break; - case Ce: + case Ct: if (!r || r.cannotBeABaseURL && "#" != o) return q; if (r.cannotBeABaseURL && "#" == o) { @@ -2231,27 +2421,27 @@ c.query = r.query, c.fragment = "", c.cannotBeABaseURL = !0, - u = Ue; + u = Lt; break } - u = "file" == r.scheme ? Re : Ie; + u = "file" == r.scheme ? Rt : It; continue; - case Ae: + case _t: if ("/" != o || "/" != i[d + 1]) { - u = Ie; + u = It; continue } - u = xe, + u = xt, d++; break; - case _e: + case At: if ("/" == o) { - u = Pe; + u = Pt; break } - u = Fe; + u = Ft; continue; - case Ie: + case It: if (c.scheme = r.scheme, o == n) c.username = r.username, @@ -2261,7 +2451,7 @@ c.path = b(r.path), c.query = r.query; else if ("/" == o || "\\" == o && c.isSpecial()) - u = Ee; + u = Et; else if ("?" == o) c.username = r.username, c.password = r.password, @@ -2269,7 +2459,7 @@ c.port = r.port, c.path = b(r.path), c.query = "", - u = Ke; + u = Kt; else { if ("#" != o) { c.username = r.username, @@ -2278,7 +2468,7 @@ c.port = r.port, c.path = b(r.path), c.path.length--, - u = Fe; + u = Ft; continue } c.username = r.username, @@ -2288,36 +2478,36 @@ c.path = b(r.path), c.query = r.query, c.fragment = "", - u = Ue + u = Lt } break; - case Ee: + case Et: if (!c.isSpecial() || "/" != o && "\\" != o) { if ("/" != o) { c.username = r.username, c.password = r.password, c.host = r.host, c.port = r.port, - u = Fe; + u = Ft; continue } - u = Pe + u = Pt } else - u = xe; + u = xt; break; - case Te: - if (u = xe, + case Tt: + if (u = xt, "/" != o || "/" != R(l, d + 1)) continue; d++; break; - case xe: + case xt: if ("/" != o && "\\" != o) { - u = Pe; + u = Pt; continue } break; - case Pe: + case Pt: if ("@" == o) { f && (l = "%40" + l), f = !0, @@ -2325,7 +2515,7 @@ for (var y = 0; y < a.length; y++) { var S = a[y]; if (":" != S || g) { - var w = pe(S, he); + var w = pt(S, ht); g ? c.password += w : c.username += w } else g = !0 @@ -2336,28 +2526,28 @@ return W; d -= m(l).length + 1, l = "", - u = ke + u = kt } else l += o; break; - case ke: - case De: - if (t && "file" == c.scheme) { - u = Ne; + case kt: + case Dt: + if (e && "file" == c.scheme) { + u = Mt; continue } if (":" != o || p) { if (o == n || "/" == o || "?" == o || "#" == o || "\\" == o && c.isSpecial()) { if (c.isSpecial() && "" == l) - return H; - if (t && "" == l && (c.includesCredentials() || null !== c.port)) + return V; + if (e && "" == l && (c.includesCredentials() || null !== c.port)) return; if (s = c.parseHost(l), s) return s; if (l = "", - u = Be, - t) + u = Bt, + e) return; continue } @@ -2365,42 +2555,42 @@ l += o } else { if ("" == l) - return H; + return V; if (s = c.parseHost(l), s) return s; if (l = "", - u = Oe, - t == De) + u = Ot, + e == Dt) return } break; - case Oe: - if (!M(Z, o)) { - if (o == n || "/" == o || "?" == o || "#" == o || "\\" == o && c.isSpecial() || t) { + case Ot: + if (!N(Q, o)) { + if (o == n || "/" == o || "?" == o || "#" == o || "\\" == o && c.isSpecial() || e) { if ("" != l) { var C = k(l, 10); if (C > 65535) - return V; - c.port = c.isSpecial() && C === me[c.scheme] ? null : C, + return H; + c.port = c.isSpecial() && C === mt[c.scheme] ? null : C, l = "" } - if (t) + if (e) return; - u = Be; + u = Bt; continue } - return V + return H } l += o; break; - case Re: + case Rt: if (c.scheme = "file", "/" == o || "\\" == o) - u = Me; + u = Nt; else { if (!r || "file" != r.scheme) { - u = Fe; + u = Ft; continue } if (o == n) @@ -2411,128 +2601,128 @@ c.host = r.host, c.path = b(r.path), c.query = "", - u = Ke; + u = Kt; else { if ("#" != o) { - ge(N(b(i, d), "")) || (c.host = r.host, + gt(M(b(i, d), "")) || (c.host = r.host, c.path = b(r.path), c.shortenPath()), - u = Fe; + u = Ft; continue } c.host = r.host, c.path = b(r.path), c.query = r.query, c.fragment = "", - u = Ue + u = Lt } } break; - case Me: + case Nt: if ("/" == o || "\\" == o) { - u = Ne; + u = Mt; break } - r && "file" == r.scheme && !ge(N(b(i, d), "")) && (be(r.path[0], !0) ? j(c.path, r.path[0]) : c.host = r.host), - u = Fe; + r && "file" == r.scheme && !gt(M(b(i, d), "")) && (bt(r.path[0], !0) ? j(c.path, r.path[0]) : c.host = r.host), + u = Ft; continue; - case Ne: + case Mt: if (o == n || "/" == o || "\\" == o || "?" == o || "#" == o) { - if (!t && be(l)) - u = Fe; + if (!e && bt(l)) + u = Ft; else if ("" == l) { if (c.host = "", - t) + e) return; - u = Be + u = Bt } else { if (s = c.parseHost(l), s) return s; if ("localhost" == c.host && (c.host = ""), - t) + e) return; l = "", - u = Be + u = Bt } continue } l += o; break; - case Be: + case Bt: if (c.isSpecial()) { - if (u = Fe, + if (u = Ft, "/" != o && "\\" != o) continue - } else if (t || "?" != o) - if (t || "#" != o) { - if (o != n && (u = Fe, + } else if (e || "?" != o) + if (e || "#" != o) { + if (o != n && (u = Ft, "/" != o)) continue } else c.fragment = "", - u = Ue; + u = Lt; else c.query = "", - u = Ke; + u = Kt; break; - case Fe: - if (o == n || "/" == o || "\\" == o && c.isSpecial() || !t && ("?" == o || "#" == o)) { - if (ve(l) ? (c.shortenPath(), - "/" == o || "\\" == o && c.isSpecial() || j(c.path, "")) : ye(l) ? "/" == o || "\\" == o && c.isSpecial() || j(c.path, "") : ("file" == c.scheme && !c.path.length && be(l) && (c.host && (c.host = ""), + case Ft: + if (o == n || "/" == o || "\\" == o && c.isSpecial() || !e && ("?" == o || "#" == o)) { + if (vt(l) ? (c.shortenPath(), + "/" == o || "\\" == o && c.isSpecial() || j(c.path, "")) : yt(l) ? "/" == o || "\\" == o && c.isSpecial() || j(c.path, "") : ("file" == c.scheme && !c.path.length && bt(l) && (c.host && (c.host = ""), l = R(l, 0) + ":"), j(c.path, l)), l = "", "file" == c.scheme && (o == n || "?" == o || "#" == o)) while (c.path.length > 1 && "" === c.path[0]) - U(c.path); + L(c.path); "?" == o ? (c.query = "", - u = Ke) : "#" == o && (c.fragment = "", - u = Ue) + u = Kt) : "#" == o && (c.fragment = "", + u = Lt) } else - l += pe(o, fe); + l += pt(o, ft); break; - case je: + case jt: "?" == o ? (c.query = "", - u = Ke) : "#" == o ? (c.fragment = "", - u = Ue) : o != n && (c.path[0] += pe(o, de)); + u = Kt) : "#" == o ? (c.fragment = "", + u = Lt) : o != n && (c.path[0] += pt(o, dt)); break; - case Ke: - t || "#" != o ? o != n && ("'" == o && c.isSpecial() ? c.query += "%27" : c.query += "#" == o ? "%23" : pe(o, de)) : (c.fragment = "", - u = Ue); + case Kt: + e || "#" != o ? o != n && ("'" == o && c.isSpecial() ? c.query += "%27" : c.query += "#" == o ? "%23" : pt(o, dt)) : (c.fragment = "", + u = Lt); break; - case Ue: - o != n && (c.fragment += pe(o, le)); + case Lt: + o != n && (c.fragment += pt(o, lt)); break } d++ } }, - parseHost: function(e) { - var t, r, n; - if ("[" == R(e, 0)) { - if ("]" != R(e, e.length - 1)) - return H; - if (t = se(X(e, 1, -1)), - !t) - return H; - this.host = t + parseHost: function(t) { + var e, r, n; + if ("[" == R(t, 0)) { + if ("]" != R(t, t.length - 1)) + return V; + if (e = st(X(t, 1, -1)), + !e) + return V; + this.host = e } else if (this.isSpecial()) { - if (e = y(e), - M(re, e)) - return H; - if (t = ae(e), - null === t) - return H; - this.host = t + if (t = y(t), + N(rt, t)) + return V; + if (e = at(t), + null === e) + return V; + this.host = e } else { - if (M(ne, e)) - return H; - for (t = "", - r = m(e), + if (N(nt, t)) + return V; + for (e = "", + r = m(t), n = 0; n < r.length; n++) - t += pe(r[n], de); - this.host = t + e += pt(r[n], dt); + this.host = e } }, cannotHaveUsernamePasswordPort: function() { @@ -2542,271 +2732,271 @@ return "" != this.username || "" != this.password }, isSpecial: function() { - return h(me, this.scheme) + return h(mt, this.scheme) }, shortenPath: function() { - var e = this.path - , t = e.length; - !t || "file" == this.scheme && 1 == t && be(e[0], !0) || e.length-- + var t = this.path + , e = t.length; + !e || "file" == this.scheme && 1 == e && bt(t[0], !0) || t.length-- }, serialize: function() { - var e = this - , t = e.scheme - , r = e.username - , n = e.password - , i = e.host - , o = e.port - , a = e.path - , s = e.query - , c = e.fragment - , u = t + ":"; + var t = this + , e = t.scheme + , r = t.username + , n = t.password + , i = t.host + , o = t.port + , a = t.path + , s = t.query + , c = t.fragment + , u = e + ":"; return null !== i ? (u += "//", - e.includesCredentials() && (u += r + (n ? ":" + n : "") + "@"), - u += ue(i), - null !== o && (u += ":" + o)) : "file" == t && (u += "//"), - u += e.cannotBeABaseURL ? a[0] : a.length ? "/" + N(a, "/") : "", + t.includesCredentials() && (u += r + (n ? ":" + n : "") + "@"), + u += ut(i), + null !== o && (u += ":" + o)) : "file" == e && (u += "//"), + u += t.cannotBeABaseURL ? a[0] : a.length ? "/" + M(a, "/") : "", null !== s && (u += "?" + s), null !== c && (u += "#" + c), u }, - setHref: function(e) { - var t = this.parse(e); - if (t) - throw P(t); + setHref: function(t) { + var e = this.parse(t); + if (e) + throw P(e); this.searchParams.update() }, getOrigin: function() { - var e = this.scheme - , t = this.port; - if ("blob" == e) + var t = this.scheme + , e = this.port; + if ("blob" == t) try { - return new Xe(e.path[0]).origin + return new Xt(t.path[0]).origin } catch (r) { return "null" } - return "file" != e && this.isSpecial() ? e + "://" + ue(this.host) + (null !== t ? ":" + t : "") : "null" + return "file" != t && this.isSpecial() ? t + "://" + ut(this.host) + (null !== e ? ":" + e : "") : "null" }, getProtocol: function() { return this.scheme + ":" }, - setProtocol: function(e) { - this.parse(v(e) + ":", Se) + setProtocol: function(t) { + this.parse(v(t) + ":", St) }, getUsername: function() { return this.username }, - setUsername: function(e) { - var t = m(v(e)); + setUsername: function(t) { + var e = m(v(t)); if (!this.cannotHaveUsernamePasswordPort()) { this.username = ""; - for (var r = 0; r < t.length; r++) - this.username += pe(t[r], he) + for (var r = 0; r < e.length; r++) + this.username += pt(e[r], ht) } }, getPassword: function() { return this.password }, - setPassword: function(e) { - var t = m(v(e)); + setPassword: function(t) { + var e = m(v(t)); if (!this.cannotHaveUsernamePasswordPort()) { this.password = ""; - for (var r = 0; r < t.length; r++) - this.password += pe(t[r], he) + for (var r = 0; r < e.length; r++) + this.password += pt(e[r], ht) } }, getHost: function() { - var e = this.host - , t = this.port; - return null === e ? "" : null === t ? ue(e) : ue(e) + ":" + t + var t = this.host + , e = this.port; + return null === t ? "" : null === e ? ut(t) : ut(t) + ":" + e }, - setHost: function(e) { - this.cannotBeABaseURL || this.parse(e, ke) + setHost: function(t) { + this.cannotBeABaseURL || this.parse(t, kt) }, getHostname: function() { - var e = this.host; - return null === e ? "" : ue(e) + var t = this.host; + return null === t ? "" : ut(t) }, - setHostname: function(e) { - this.cannotBeABaseURL || this.parse(e, De) + setHostname: function(t) { + this.cannotBeABaseURL || this.parse(t, Dt) }, getPort: function() { - var e = this.port; - return null === e ? "" : v(e) + var t = this.port; + return null === t ? "" : v(t) }, - setPort: function(e) { - this.cannotHaveUsernamePasswordPort() || (e = v(e), - "" == e ? this.port = null : this.parse(e, Oe)) + setPort: function(t) { + this.cannotHaveUsernamePasswordPort() || (t = v(t), + "" == t ? this.port = null : this.parse(t, Ot)) }, getPathname: function() { - var e = this.path; - return this.cannotBeABaseURL ? e[0] : e.length ? "/" + N(e, "/") : "" + var t = this.path; + return this.cannotBeABaseURL ? t[0] : t.length ? "/" + M(t, "/") : "" }, - setPathname: function(e) { + setPathname: function(t) { this.cannotBeABaseURL || (this.path = [], - this.parse(e, Be)) + this.parse(t, Bt)) }, getSearch: function() { - var e = this.query; - return e ? "?" + e : "" + var t = this.query; + return t ? "?" + t : "" }, - setSearch: function(e) { - e = v(e), - "" == e ? this.query = null : ("?" == R(e, 0) && (e = X(e, 1)), + setSearch: function(t) { + t = v(t), + "" == t ? this.query = null : ("?" == R(t, 0) && (t = X(t, 1)), this.query = "", - this.parse(e, Ke)), + this.parse(t, Kt)), this.searchParams.update() }, getSearchParams: function() { return this.searchParams.facade }, getHash: function() { - var e = this.fragment; - return e ? "#" + e : "" + var t = this.fragment; + return t ? "#" + t : "" }, - setHash: function(e) { - e = v(e), - "" != e ? ("#" == R(e, 0) && (e = X(e, 1)), + setHash: function(t) { + t = v(t), + "" != t ? ("#" == R(t, 0) && (t = X(t, 1)), this.fragment = "", - this.parse(e, Ue)) : this.fragment = null + this.parse(t, Lt)) : this.fragment = null }, update: function() { this.query = this.searchParams.serialize() || null } }; - var Xe = function(e) { - var t = f(this, ze) + var Xt = function(t) { + var e = f(this, zt) , r = w(arguments.length, 1) > 1 ? arguments[1] : void 0 - , n = _(t, new Le(e,!1,r)); - o || (t.href = n.serialize(), - t.origin = n.getOrigin(), - t.protocol = n.getProtocol(), - t.username = n.getUsername(), - t.password = n.getPassword(), - t.host = n.getHost(), - t.hostname = n.getHostname(), - t.port = n.getPort(), - t.pathname = n.getPathname(), - t.search = n.getSearch(), - t.searchParams = n.getSearchParams(), - t.hash = n.getHash()) + , n = A(e, new Ut(t,!1,r)); + o || (e.href = n.serialize(), + e.origin = n.getOrigin(), + e.protocol = n.getProtocol(), + e.username = n.getUsername(), + e.password = n.getPassword(), + e.host = n.getHost(), + e.hostname = n.getHostname(), + e.port = n.getPort(), + e.pathname = n.getPathname(), + e.search = n.getSearch(), + e.searchParams = n.getSearchParams(), + e.hash = n.getHash()) } - , ze = Xe.prototype - , Ge = function(e, t) { + , zt = Xt.prototype + , Gt = function(t, e) { return { get: function() { - return I(this)[e]() + return I(this)[t]() }, - set: t && function(e) { - return I(this)[t](e) + set: e && function(t) { + return I(this)[e](t) } , configurable: !0, enumerable: !0 } }; - if (o && (l(ze, "href", Ge("serialize", "setHref")), - l(ze, "origin", Ge("getOrigin")), - l(ze, "protocol", Ge("getProtocol", "setProtocol")), - l(ze, "username", Ge("getUsername", "setUsername")), - l(ze, "password", Ge("getPassword", "setPassword")), - l(ze, "host", Ge("getHost", "setHost")), - l(ze, "hostname", Ge("getHostname", "setHostname")), - l(ze, "port", Ge("getPort", "setPort")), - l(ze, "pathname", Ge("getPathname", "setPathname")), - l(ze, "search", Ge("getSearch", "setSearch")), - l(ze, "searchParams", Ge("getSearchParams")), - l(ze, "hash", Ge("getHash", "setHash"))), - d(ze, "toJSON", (function() { + if (o && (l(zt, "href", Gt("serialize", "setHref")), + l(zt, "origin", Gt("getOrigin")), + l(zt, "protocol", Gt("getProtocol", "setProtocol")), + l(zt, "username", Gt("getUsername", "setUsername")), + l(zt, "password", Gt("getPassword", "setPassword")), + l(zt, "host", Gt("getHost", "setHost")), + l(zt, "hostname", Gt("getHostname", "setHostname")), + l(zt, "port", Gt("getPort", "setPort")), + l(zt, "pathname", Gt("getPathname", "setPathname")), + l(zt, "search", Gt("getSearch", "setSearch")), + l(zt, "searchParams", Gt("getSearchParams")), + l(zt, "hash", Gt("getHash", "setHash"))), + d(zt, "toJSON", (function() { return I(this).serialize() } ), { enumerable: !0 }), - d(ze, "toString", (function() { + d(zt, "toString", (function() { return I(this).serialize() } ), { enumerable: !0 }), x) { - var We = x.createObjectURL - , qe = x.revokeObjectURL; - We && d(Xe, "createObjectURL", c(We, x)), - qe && d(Xe, "revokeObjectURL", c(qe, x)) + var Wt = x.createObjectURL + , qt = x.revokeObjectURL; + Wt && d(Xt, "createObjectURL", c(Wt, x)), + qt && d(Xt, "revokeObjectURL", c(qt, x)) } - S(Xe, "URL"), + S(Xt, "URL"), i({ global: !0, constructor: !0, forced: !a, sham: !o }, { - URL: Xe + URL: Xt }) }, - "40d5": function(e, t, r) { + "40d5": function(t, e, r) { var n = r("d039"); - e.exports = !n((function() { - var e = function() {} + t.exports = !n((function() { + var t = function() {} .bind(); - return "function" != typeof e || e.hasOwnProperty("prototype") + return "function" != typeof t || t.hasOwnProperty("prototype") } )) }, - "428f": function(e, t, r) { + "428f": function(t, e, r) { var n = r("da84"); - e.exports = n + t.exports = n }, - 4362: function(e, t, r) { - t.nextTick = function(e) { - var t = Array.prototype.slice.call(arguments); - t.shift(), + 4362: function(t, e, r) { + e.nextTick = function(t) { + var e = Array.prototype.slice.call(arguments); + e.shift(), setTimeout((function() { - e.apply(null, t) + t.apply(null, e) } ), 0) } , - t.platform = t.arch = t.execPath = t.title = "browser", - t.pid = 1, - t.browser = !0, - t.env = {}, - t.argv = [], - t.binding = function(e) { + e.platform = e.arch = e.execPath = e.title = "browser", + e.pid = 1, + e.browser = !0, + e.env = {}, + e.argv = [], + e.binding = function(t) { throw new Error("No such module. (Possibly not yet loaded)") } , function() { - var e, n = "/"; - t.cwd = function() { + var t, n = "/"; + e.cwd = function() { return n } , - t.chdir = function(t) { - e || (e = r("df7c")), - n = e.resolve(t, n) + e.chdir = function(e) { + t || (t = r("df7c")), + n = t.resolve(e, n) } }(), - t.exit = t.kill = t.umask = t.dlopen = t.uptime = t.memoryUsage = t.uvCounters = function() {} + e.exit = e.kill = e.umask = e.dlopen = e.uptime = e.memoryUsage = e.uvCounters = function() {} , - t.features = {} + e.features = {} }, - "44ad": function(e, t, r) { + "44ad": function(t, e, r) { var n = r("da84") , i = r("e330") , o = r("d039") , a = r("c6b6") , s = n.Object , c = i("".split); - e.exports = o((function() { + t.exports = o((function() { return !s("z").propertyIsEnumerable(0) } - )) ? function(e) { - return "String" == a(e) ? c(e, "") : s(e) + )) ? function(t) { + return "String" == a(t) ? c(t, "") : s(t) } : s }, - "44d2": function(e, t, r) { + "44d2": function(t, e, r) { var n = r("b622") , i = r("7c73") , o = r("9bf2") @@ -2816,41 +3006,41 @@ configurable: !0, value: i(null) }), - e.exports = function(e) { - s[a][e] = !0 + t.exports = function(t) { + s[a][t] = !0 } }, - "44de": function(e, t, r) { + "44de": function(t, e, r) { var n = r("da84"); - e.exports = function(e, t) { + t.exports = function(t, e) { var r = n.console; - r && r.error && (1 == arguments.length ? r.error(e) : r.error(e, t)) + r && r.error && (1 == arguments.length ? r.error(t) : r.error(t, e)) } }, - "44e7": function(e, t, r) { + "44e7": function(t, e, 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)) + t.exports = function(t) { + var e; + return n(t) && (void 0 !== (e = t[a]) ? !!e : "RegExp" == i(t)) } }, - 4661: function(e, t, r) { + 4661: function(t, e, r) { r("2532"); var n = r("b109"); - e.exports = n("String", "includes") + t.exports = n("String", "includes") }, - "467f": function(e, t, r) { + "467f": function(t, e, r) { "use strict"; var n = r("2d83"); - e.exports = function(e, t, r) { + t.exports = function(t, e, r) { var i = r.config.validateStatus; - r.status && i && !i(r.status) ? t(n("Request failed with status code " + r.status, r.config, null, r.request, r)) : e(r) + r.status && i && !i(r.status) ? e(n("Request failed with status code " + r.status, r.config, null, r.request, r)) : t(r) } }, - 4738: function(e, t, r) { + 4738: function(t, e, r) { var n = r("da84") , i = r("d256") , o = r("1626") @@ -2865,20 +3055,20 @@ , p = !1 , m = o(n.PromiseRejectionEvent) , b = a("Promise", (function() { - var e = s(i) - , t = e !== String(i); - if (!t && 66 === l) + var t = s(i) + , e = t !== String(i); + if (!e && 66 === l) return !0; if (d && (!f["catch"] || !f["finally"])) return !0; - if (l >= 51 && /native code/.test(e)) + if (l >= 51 && /native code/.test(t)) return !1; - var r = new i((function(e) { - e(1) + var r = new i((function(t) { + t(1) } )) - , n = function(e) { - e((function() {} + , n = function(t) { + t((function() {} ), (function() {} )) } @@ -2886,119 +3076,119 @@ return o[h] = n, p = r.then((function() {} ))instanceof n, - !p || !t && u && !m + !p || !e && u && !m } )); - e.exports = { + t.exports = { CONSTRUCTOR: b, REJECTION_EVENT: m, SUBCLASSING: p } }, - "476b": function(e, t, r) { + "476b": function(t, e, r) { r("843c"); var n = r("b109"); - e.exports = n("String", "padEnd") + t.exports = n("String", "padEnd") }, - 4840: function(e, t, r) { + 4840: function(t, e, r) { var n = r("825a") , i = r("5087") , 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) + t.exports = function(t, e) { + var r, o = n(t).constructor; + return void 0 === o || void 0 == (r = n(o)[a]) ? e : i(r) } }, - "485a": function(e, t, r) { + "485a": function(t, e, r) { var n = r("da84") , i = r("c65b") , o = r("1626") , a = r("861d") , s = n.TypeError; - e.exports = function(e, t) { + t.exports = function(t, e) { var r, n; - if ("string" === t && o(r = e.toString) && !a(n = i(r, e))) + if ("string" === e && o(r = t.toString) && !a(n = i(r, t))) return n; - if (o(r = e.valueOf) && !a(n = i(r, e))) + if (o(r = t.valueOf) && !a(n = i(r, t))) return n; - if ("string" !== t && o(r = e.toString) && !a(n = i(r, e))) + if ("string" !== e && o(r = t.toString) && !a(n = i(r, t))) return n; throw s("Can't convert object to primitive value") } }, - 4930: function(e, t, r) { + 4930: function(t, e, 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 + t.exports = !!Object.getOwnPropertySymbols && !i((function() { + var t = Symbol(); + return !String(t) || !(Object(t)instanceof Symbol) || !Symbol.sham && n && n < 41 } )) }, - "4a7b": function(e, t, r) { + "4a7b": function(t, e, r) { "use strict"; var n = r("c532"); - e.exports = function(e, t) { - t = t || {}; + t.exports = function(t, e) { + e = e || {}; var r = {} , i = ["url", "method", "data"] , o = ["headers", "auth", "proxy", "params"] , a = ["baseURL", "transformRequest", "transformResponse", "paramsSerializer", "timeout", "timeoutMessage", "withCredentials", "adapter", "responseType", "xsrfCookieName", "xsrfHeaderName", "onUploadProgress", "onDownloadProgress", "decompress", "maxContentLength", "maxBodyLength", "maxRedirects", "transport", "httpAgent", "httpsAgent", "cancelToken", "socketPath", "responseEncoding"] , s = ["validateStatus"]; - function c(e, t) { - return n.isPlainObject(e) && n.isPlainObject(t) ? n.merge(e, t) : n.isPlainObject(t) ? n.merge({}, t) : n.isArray(t) ? t.slice() : t + function c(t, e) { + return n.isPlainObject(t) && n.isPlainObject(e) ? n.merge(t, e) : n.isPlainObject(e) ? n.merge({}, e) : n.isArray(e) ? e.slice() : e } function u(i) { - n.isUndefined(t[i]) ? n.isUndefined(e[i]) || (r[i] = c(void 0, e[i])) : r[i] = c(e[i], t[i]) + n.isUndefined(e[i]) ? n.isUndefined(t[i]) || (r[i] = c(void 0, t[i])) : r[i] = c(t[i], e[i]) } - n.forEach(i, (function(e) { - n.isUndefined(t[e]) || (r[e] = c(void 0, t[e])) + n.forEach(i, (function(t) { + n.isUndefined(e[t]) || (r[t] = c(void 0, e[t])) } )), n.forEach(o, u), n.forEach(a, (function(i) { - n.isUndefined(t[i]) ? n.isUndefined(e[i]) || (r[i] = c(void 0, e[i])) : r[i] = c(void 0, t[i]) + n.isUndefined(e[i]) ? n.isUndefined(t[i]) || (r[i] = c(void 0, t[i])) : r[i] = c(void 0, e[i]) } )), n.forEach(s, (function(n) { - n in t ? r[n] = c(e[n], t[n]) : n in e && (r[n] = c(void 0, e[n])) + n in e ? r[n] = c(t[n], e[n]) : n in t && (r[n] = c(void 0, t[n])) } )); var d = i.concat(o).concat(a).concat(s) - , l = Object.keys(e).concat(Object.keys(t)).filter((function(e) { - return -1 === d.indexOf(e) + , l = Object.keys(t).concat(Object.keys(e)).filter((function(t) { + return -1 === d.indexOf(t) } )); return n.forEach(l, u), r } }, - "4d64": function(e, t, r) { + "4d64": function(t, e, r) { var n = r("fc6a") , i = r("23cb") , o = r("07fa") - , a = function(e) { - return function(t, r, a) { - var s, c = n(t), u = o(c), d = i(a, u); - if (e && r != r) { + , a = function(t) { + return function(e, r, a) { + var s, c = n(e), u = o(c), d = i(a, u); + if (t && r != r) { while (u > d) if (s = c[d++], s != s) return !0 } else for (; u > d; d++) - if ((e || d in c) && c[d] === r) - return e || d || 0; - return !e && -1 + if ((t || d in c) && c[d] === r) + return t || d || 0; + return !t && -1 } }; - e.exports = { + t.exports = { includes: a(!0), indexOf: a(!1) } }, - "4d90": function(e, t, r) { + "4d90": function(t, e, r) { "use strict"; var n = r("23e7") , i = r("0ccb").start @@ -3008,27 +3198,27 @@ proto: !0, forced: o }, { - padStart: function(e) { - return i(this, e, arguments.length > 1 ? arguments[1] : void 0) + padStart: function(t) { + return i(this, t, arguments.length > 1 ? arguments[1] : void 0) } }) }, - "4dae": function(e, t, r) { + "4dae": function(t, e, r) { var n = r("da84") , i = r("23cb") , o = r("07fa") , a = r("8418") , s = n.Array , c = Math.max; - e.exports = function(e, t, r) { - for (var n = o(e), u = i(t, n), d = i(void 0 === r ? n : r, n), l = s(c(d - u, 0)), f = 0; u < d; u++, + t.exports = function(t, e, r) { + for (var n = o(t), u = i(e, n), d = i(void 0 === r ? n : r, n), l = s(c(d - u, 0)), f = 0; u < d; u++, f++) - a(l, f, e[u]); + a(l, f, t[u]); return l.length = f, l } }, - "4df4": function(e, t, r) { + "4df4": function(t, e, r) { "use strict"; var n = r("da84") , i = r("0366") @@ -3042,38 +3232,38 @@ , f = r("9a1f") , h = r("35a1") , p = n.Array; - e.exports = function(e) { - var t = a(e) + t.exports = function(t) { + var e = a(t) , r = u(this) , n = arguments.length , m = n > 1 ? arguments[1] : void 0 , b = void 0 !== m; b && (m = i(m, n > 2 ? arguments[2] : void 0)); - var g, y, v, S, w, C, A = h(t), _ = 0; - if (!A || this == p && c(A)) - for (g = d(t), - y = r ? new this(g) : p(g); g > _; _++) - C = b ? m(t[_], _) : t[_], - l(y, _, C); + var g, y, v, S, w, C, _ = h(e), A = 0; + if (!_ || this == p && c(_)) + for (g = d(e), + y = r ? new this(g) : p(g); g > A; A++) + C = b ? m(e[A], A) : e[A], + l(y, A, C); else - for (S = f(t, A), + for (S = f(e, _), w = S.next, - y = r ? new this : []; !(v = o(w, S)).done; _++) - C = b ? s(S, m, [v.value, _], !0) : v.value, - l(y, _, C); - return y.length = _, + y = r ? new this : []; !(v = o(w, S)).done; A++) + C = b ? s(S, m, [v.value, A], !0) : v.value, + l(y, A, C); + return y.length = A, y } }, - "4e28": function(e, t, r) { + "4e28": function(t, e, r) { r("07ac"); var n = r("428f"); - e.exports = n.Object.values + t.exports = n.Object.values }, - "4ec9": function(e, t, r) { + "4ec9": function(t, e, r) { r("6f48") }, - "4fad": function(e, t, r) { + "4fad": function(t, e, r) { var n = r("d039") , i = r("861d") , o = r("c6b6") @@ -3083,74 +3273,74 @@ s(1) } )); - e.exports = c || a ? function(e) { - return !!i(e) && ((!a || "ArrayBuffer" != o(e)) && (!s || s(e))) + t.exports = c || a ? function(t) { + return !!i(t) && ((!a || "ArrayBuffer" != o(t)) && (!s || s(t))) } : s }, - "4fadc": function(e, t, r) { + "4fadc": function(t, e, r) { var n = r("23e7") , i = r("6f53").entries; n({ target: "Object", stat: !0 }, { - entries: function(e) { - return i(e) + entries: function(t) { + return i(t) } }) }, - 5087: function(e, t, r) { + 5087: function(t, e, r) { var n = r("da84") , i = r("68ee") , o = r("0d51") , a = n.TypeError; - e.exports = function(e) { - if (i(e)) - return e; - throw a(o(e) + " is not a constructor") + t.exports = function(t) { + if (i(t)) + return t; + throw a(o(t) + " is not a constructor") } }, - "50c4": function(e, t, r) { + "50c4": function(t, e, r) { var n = r("5926") , i = Math.min; - e.exports = function(e) { - return e > 0 ? i(n(e), 9007199254740991) : 0 + t.exports = function(t) { + return t > 0 ? i(n(t), 9007199254740991) : 0 } }, - 5270: function(e, t, r) { + 5270: function(t, e, r) { "use strict"; var n = r("c532") , i = r("c401") , o = r("2e67") , a = r("2444"); - function s(e) { - e.cancelToken && e.cancelToken.throwIfRequested() + function s(t) { + t.cancelToken && t.cancelToken.throwIfRequested() } - e.exports = function(e) { - s(e), - e.headers = e.headers || {}, - e.data = i(e.data, e.headers, e.transformRequest), - e.headers = n.merge(e.headers.common || {}, e.headers[e.method] || {}, e.headers), - n.forEach(["delete", "get", "head", "post", "put", "patch", "common"], (function(t) { - delete e.headers[t] + t.exports = function(t) { + s(t), + t.headers = t.headers || {}, + t.data = i(t.data, t.headers, t.transformRequest), + t.headers = n.merge(t.headers.common || {}, t.headers[t.method] || {}, t.headers), + n.forEach(["delete", "get", "head", "post", "put", "patch", "common"], (function(e) { + delete t.headers[e] } )); - var t = e.adapter || a.adapter; - return t(e).then((function(t) { - return s(e), - t.data = i(t.data, t.headers, e.transformResponse), - t + var e = t.adapter || a.adapter; + return e(t).then((function(e) { + return s(t), + e.data = i(e.data, e.headers, t.transformResponse), + e } - ), (function(t) { - return o(t) || (s(e), - t && t.response && (t.response.data = i(t.response.data, t.response.headers, e.transformResponse))), - Promise.reject(t) + ), (function(e) { + return o(e) || (s(t), + e && e.response && (e.response.data = i(e.response.data, e.response.headers, t.transformResponse))), + Promise.reject(e) } )) } }, - 5352: function(e, t, r) { + 5352: function(t, e, r) { "use strict"; r("e260"); var n = r("23e7") @@ -3173,8 +3363,8 @@ , S = r("861d") , w = r("577e") , C = r("7c73") - , A = r("5c6c") - , _ = r("9a1f") + , _ = r("5c6c") + , A = r("9a1f") , I = r("35a1") , E = r("d6d6") , T = r("b622") @@ -3184,56 +3374,56 @@ , D = k + "Iterator" , O = h.set , R = h.getterFor(k) - , M = h.getterFor(D) - , N = Object.getOwnPropertyDescriptor - , B = function(e) { + , N = h.getterFor(D) + , M = Object.getOwnPropertyDescriptor + , B = function(t) { if (!s) - return i[e]; - var t = N(i, e); - return t && t.value + return i[t]; + var e = M(i, t); + return e && e.value } , F = B("fetch") , j = B("Request") , K = B("Headers") - , U = j && j.prototype - , L = K && K.prototype + , L = j && j.prototype + , U = K && K.prototype , X = i.RegExp , z = i.TypeError , G = i.decodeURIComponent , W = i.encodeURIComponent , q = a("".charAt) - , H = a([].join) - , V = a([].push) + , V = a([].join) + , H = a([].push) , Y = a("".replace) - , Q = a([].shift) - , Z = a([].splice) + , Z = a([].shift) + , Q = a([].splice) , J = a("".split) , $ = a("".slice) - , ee = /\+/g - , te = Array(4) - , re = function(e) { - return te[e - 1] || (te[e - 1] = X("((?:%[\\da-f]{2}){" + e + "})", "gi")) + , tt = /\+/g + , et = Array(4) + , rt = function(t) { + return et[t - 1] || (et[t - 1] = X("((?:%[\\da-f]{2}){" + t + "})", "gi")) } - , ne = function(e) { - try { - return G(e) - } catch (t) { - return e - } - } - , ie = function(e) { - var t = Y(e, ee, " ") - , r = 4; + , nt = function(t) { try { return G(t) - } catch (n) { - while (r) - t = Y(t, re(r--), ne); + } catch (e) { return t } } - , oe = /[!'()~]|%20/g - , ae = { + , it = function(t) { + var e = Y(t, tt, " ") + , r = 4; + try { + return G(e) + } catch (n) { + while (r) + e = Y(e, rt(r--), nt); + return e + } + } + , ot = /[!'()~]|%20/g + , at = { "!": "%21", "'": "%27", "(": "%28", @@ -3241,79 +3431,79 @@ "~": "%7E", "%20": "+" } - , se = function(e) { - return ae[e] + , st = function(t) { + return at[t] } - , ce = function(e) { - return Y(W(e), oe, se) + , ct = function(t) { + return Y(W(t), ot, st) } - , ue = f((function(e, t) { + , ut = f((function(t, e) { O(this, { type: D, - iterator: _(R(e).entries), - kind: t + iterator: A(R(t).entries), + kind: e }) } ), "Iterator", (function() { - var e = M(this) - , t = e.kind - , r = e.iterator.next() + var t = N(this) + , e = t.kind + , r = t.iterator.next() , n = r.value; - return r.done || (r.value = "keys" === t ? n.key : "values" === t ? n.value : [n.key, n.value]), + return r.done || (r.value = "keys" === e ? n.key : "values" === e ? n.value : [n.key, n.value]), r } ), !0) - , de = function(e) { + , dt = function(t) { this.entries = [], this.url = null, - void 0 !== e && (S(e) ? this.parseObject(e) : this.parseQuery("string" == typeof e ? "?" === q(e, 0) ? $(e, 1) : e : w(e))) + void 0 !== t && (S(t) ? this.parseObject(t) : this.parseQuery("string" == typeof t ? "?" === q(t, 0) ? $(t, 1) : t : w(t))) }; - de.prototype = { + dt.prototype = { type: k, - bindURL: function(e) { - this.url = e, + bindURL: function(t) { + this.url = t, this.update() }, - parseObject: function(e) { - var t, r, n, i, a, s, c, u = I(e); + parseObject: function(t) { + var e, r, n, i, a, s, c, u = I(t); if (u) { - t = _(e, u), - r = t.next; - while (!(n = o(r, t)).done) { - if (i = _(v(n.value)), + e = A(t, u), + r = e.next; + while (!(n = o(r, e)).done) { + if (i = A(v(n.value)), a = i.next, (s = o(a, i)).done || (c = o(a, i)).done || !o(a, i).done) throw z("Expected sequence with length 2"); - V(this.entries, { + H(this.entries, { key: w(s.value), value: w(c.value) }) } } else - for (var d in e) - b(e, d) && V(this.entries, { + for (var d in t) + b(t, d) && H(this.entries, { key: d, - value: w(e[d]) + value: w(t[d]) }) }, - parseQuery: function(e) { - if (e) { - var t, r, n = J(e, "&"), i = 0; + parseQuery: function(t) { + if (t) { + var e, r, n = J(t, "&"), i = 0; while (i < n.length) - t = n[i++], - t.length && (r = J(t, "="), - V(this.entries, { - key: ie(Q(r)), - value: ie(H(r, "=")) + e = n[i++], + e.length && (r = J(e, "="), + H(this.entries, { + key: it(Z(r)), + value: it(V(r, "=")) })) } }, serialize: function() { - var e, t = this.entries, r = [], n = 0; - while (n < t.length) - e = t[n++], - V(r, ce(e.key) + "=" + ce(e.value)); - return H(r, "&") + var t, e = this.entries, r = [], n = 0; + while (n < e.length) + t = e[n++], + H(r, ct(t.key) + "=" + ct(t.value)); + return V(r, "&") }, update: function() { this.entries.length = 0, @@ -3323,125 +3513,125 @@ this.url && this.url.update() } }; - var le = function() { - p(this, fe); - var e = arguments.length > 0 ? arguments[0] : void 0; - O(this, new de(e)) + var lt = function() { + p(this, ft); + var t = arguments.length > 0 ? arguments[0] : void 0; + O(this, new dt(t)) } - , fe = le.prototype; - if (d(fe, { - append: function(e, t) { + , ft = lt.prototype; + if (d(ft, { + append: function(t, e) { E(arguments.length, 2); var r = R(this); - V(r.entries, { - key: w(e), - value: w(t) + H(r.entries, { + key: w(t), + value: w(e) }), r.updateURL() }, - delete: function(e) { + delete: function(t) { E(arguments.length, 1); - var t = R(this) - , r = t.entries - , n = w(e) + var e = R(this) + , r = e.entries + , n = w(t) , i = 0; while (i < r.length) - r[i].key === n ? Z(r, i, 1) : i++; - t.updateURL() + r[i].key === n ? Q(r, i, 1) : i++; + e.updateURL() }, - get: function(e) { + get: function(t) { E(arguments.length, 1); - for (var t = R(this).entries, r = w(e), n = 0; n < t.length; n++) - if (t[n].key === r) - return t[n].value; + for (var e = R(this).entries, r = w(t), n = 0; n < e.length; n++) + if (e[n].key === r) + return e[n].value; return null }, - getAll: function(e) { + getAll: function(t) { E(arguments.length, 1); - for (var t = R(this).entries, r = w(e), n = [], i = 0; i < t.length; i++) - t[i].key === r && V(n, t[i].value); + for (var e = R(this).entries, r = w(t), n = [], i = 0; i < e.length; i++) + e[i].key === r && H(n, e[i].value); return n }, - has: function(e) { + has: function(t) { E(arguments.length, 1); - var t = R(this).entries - , r = w(e) + var e = R(this).entries + , r = w(t) , n = 0; - while (n < t.length) - if (t[n++].key === r) + while (n < e.length) + if (e[n++].key === r) return !0; return !1 }, - set: function(e, t) { + set: function(t, e) { E(arguments.length, 1); - for (var r, n = R(this), i = n.entries, o = !1, a = w(e), s = w(t), c = 0; c < i.length; c++) + for (var r, n = R(this), i = n.entries, o = !1, a = w(t), s = w(e), c = 0; c < i.length; c++) r = i[c], - r.key === a && (o ? Z(i, c--, 1) : (o = !0, + r.key === a && (o ? Q(i, c--, 1) : (o = !0, r.value = s)); - o || V(i, { + o || H(i, { key: a, value: s }), n.updateURL() }, sort: function() { - var e = R(this); - x(e.entries, (function(e, t) { - return e.key > t.key ? 1 : -1 + var t = R(this); + x(t.entries, (function(t, e) { + return t.key > e.key ? 1 : -1 } )), - e.updateURL() + t.updateURL() }, - forEach: function(e) { - var t, r = R(this).entries, n = g(e, arguments.length > 1 ? arguments[1] : void 0), i = 0; + forEach: function(t) { + var e, r = R(this).entries, n = g(t, arguments.length > 1 ? arguments[1] : void 0), i = 0; while (i < r.length) - t = r[i++], - n(t.value, t.key, this) + e = r[i++], + n(e.value, e.key, this) }, keys: function() { - return new ue(this,"keys") + return new ut(this,"keys") }, values: function() { - return new ue(this,"values") + return new ut(this,"values") }, entries: function() { - return new ue(this,"entries") + return new ut(this,"entries") } }, { enumerable: !0 }), - u(fe, P, fe.entries, { + u(ft, P, ft.entries, { name: "entries" }), - u(fe, "toString", (function() { + u(ft, "toString", (function() { return R(this).serialize() } ), { enumerable: !0 }), - l(le, k), + l(lt, k), n({ global: !0, constructor: !0, forced: !c }, { - URLSearchParams: le + URLSearchParams: lt }), !c && m(K)) { - var he = a(L.has) - , pe = a(L.set) - , me = function(e) { - if (S(e)) { - var t, r = e.body; + var ht = a(U.has) + , pt = a(U.set) + , mt = function(t) { + if (S(t)) { + var e, r = t.body; if (y(r) === k) - return t = e.headers ? new K(e.headers) : new K, - he(t, "content-type") || pe(t, "content-type", "application/x-www-form-urlencoded;charset=UTF-8"), - C(e, { - body: A(0, w(r)), - headers: A(0, t) + return e = t.headers ? new K(t.headers) : new K, + ht(e, "content-type") || pt(e, "content-type", "application/x-www-form-urlencoded;charset=UTF-8"), + C(t, { + body: _(0, w(r)), + headers: _(0, e) }) } - return e + return t }; if (m(F) && n({ global: !0, @@ -3449,72 +3639,72 @@ noTargetGet: !0, forced: !0 }, { - fetch: function(e) { - return F(e, arguments.length > 1 ? me(arguments[1]) : {}) + fetch: function(t) { + return F(t, arguments.length > 1 ? mt(arguments[1]) : {}) } }), m(j)) { - var be = function(e) { - return p(this, U), - new j(e,arguments.length > 1 ? me(arguments[1]) : {}) + var bt = function(t) { + return p(this, L), + new j(t,arguments.length > 1 ? mt(arguments[1]) : {}) }; - U.constructor = be, - be.prototype = U, + L.constructor = bt, + bt.prototype = L, n({ global: !0, constructor: !0, noTargetGet: !0, forced: !0 }, { - Request: be + Request: bt }) } } - e.exports = { - URLSearchParams: le, + t.exports = { + URLSearchParams: lt, getState: R } }, - 5486: function(e, t, r) { + 5486: function(t, e, r) { "use strict"; - (function(e) { + (function(t) { const n = r("90da") - , i = function(t, r) { + , i = function(e, r) { const o = {}; - if (!(t.child && !n.isEmptyObject(t.child) || t.attrsMap && !n.isEmptyObject(t.attrsMap))) - return n.isExist(t.val) ? t.val : ""; - n.isExist(t.val) && ("string" !== typeof t.val || "" !== t.val && t.val !== r.cdataPositionChar) && ("strict" === r.arrayMode ? o[r.textNodeName] = [t.val] : o[r.textNodeName] = t.val), - n.merge(o, t.attrsMap, r.arrayMode); - const a = Object.keys(t.child); + if (!(e.child && !n.isEmptyObject(e.child) || e.attrsMap && !n.isEmptyObject(e.attrsMap))) + return n.isExist(e.val) ? e.val : ""; + n.isExist(e.val) && ("string" !== typeof e.val || "" !== e.val && e.val !== r.cdataPositionChar) && ("strict" === r.arrayMode ? o[r.textNodeName] = [e.val] : o[r.textNodeName] = e.val), + n.merge(o, e.attrsMap, r.arrayMode); + const a = Object.keys(e.child); for (let n = 0; n < a.length; n++) { var s = a[n]; - if (t.child[s] && t.child[s].length > 1) + if (e.child[s] && e.child[s].length > 1) for (var c in o[s] = [], - t.child[s]) - e.xmlParseFlag = e.xmlParseFlag + 1, - o[s].push(i(t.child[s][c], r)); + e.child[s]) + t.xmlParseFlag = t.xmlParseFlag + 1, + o[s].push(i(e.child[s][c], r)); else if (!0 === r.arrayMode) { - e.xmlParseFlag = e.xmlParseFlag + 1; - const n = i(t.child[s][0], r); + t.xmlParseFlag = t.xmlParseFlag + 1; + const n = i(e.child[s][0], r); o[s] = "object" === typeof n ? [n] : n } else - "strict" === r.arrayMode ? (e.xmlParseFlag = e.xmlParseFlag + 1, - o[s] = [i(t.child[s][0], r)]) : (e.xmlParseFlag = e.xmlParseFlag + 1, - o[s] = i(t.child[s][0], r)) + "strict" === r.arrayMode ? (t.xmlParseFlag = t.xmlParseFlag + 1, + o[s] = [i(e.child[s][0], r)]) : (t.xmlParseFlag = t.xmlParseFlag + 1, + o[s] = i(e.child[s][0], r)) } let u = o; - return "object" === typeof u && (u["pfIndex"] = e.xmlParseFlag), + return "object" === typeof u && (u["pfIndex"] = t.xmlParseFlag), o }; - t.convertToJson = i + e.convertToJson = i } ).call(this, r("c8ba")) }, - 5692: function(e, t, r) { + 5692: function(t, e, r) { var n = r("c430") , i = r("c6cd"); - (e.exports = function(e, t) { - return i[e] || (i[e] = void 0 !== t ? t : {}) + (t.exports = function(t, e) { + return i[t] || (i[t] = void 0 !== e ? e : {}) } )("versions", []).push({ version: "3.22.5", @@ -3524,40 +3714,40 @@ source: "https://github.com/zloirock/core-js" }) }, - "56ef": function(e, t, r) { + "56ef": function(t, e, r) { var n = r("d066") , i = r("e330") , o = r("241c") , a = r("7418") , s = r("825a") , c = i([].concat); - e.exports = n("Reflect", "ownKeys") || function(e) { - var t = o.f(s(e)) + t.exports = n("Reflect", "ownKeys") || function(t) { + var e = o.f(s(t)) , r = a.f; - return r ? c(t, r(e)) : t + return r ? c(e, r(t)) : e } }, - "577e": function(e, t, r) { + "577e": function(t, e, r) { var n = r("da84") , i = r("f5df") , o = n.String; - e.exports = function(e) { - if ("Symbol" === i(e)) + t.exports = function(t) { + if ("Symbol" === i(t)) throw TypeError("Cannot convert a Symbol value to a string"); - return o(e) + return o(t) } }, - "57b9": function(e, t, r) { + "57b9": function(t, e, r) { var n = r("c65b") , i = r("d066") , o = r("b622") , a = r("cb2d"); - e.exports = function() { - var e = i("Symbol") - , t = e && e.prototype - , r = t && t.valueOf + t.exports = function() { + var t = i("Symbol") + , e = t && t.prototype + , r = e && e.valueOf , s = o("toPrimitive"); - t && !t[s] && a(t, s, (function(e) { + e && !e[s] && a(e, s, (function(t) { return n(r, this) } ), { @@ -3565,36 +3755,36 @@ }) } }, - 5926: function(e, t) { + 5926: function(t, e) { var r = Math.ceil , n = Math.floor; - e.exports = function(e) { - var t = +e; - return t !== t || 0 === t ? 0 : (t > 0 ? n : r)(t) + t.exports = function(t) { + var e = +t; + return e !== e || 0 === e ? 0 : (e > 0 ? n : r)(e) } }, - "59ed": function(e, t, r) { + "59ed": function(t, e, r) { var n = r("da84") , i = r("1626") , o = r("0d51") , a = n.TypeError; - e.exports = function(e) { - if (i(e)) - return e; - throw a(o(e) + " is not a function") + t.exports = function(t) { + if (i(t)) + return t; + throw a(o(t) + " is not a function") } }, - "5a34": function(e, t, r) { + "5a34": function(t, e, r) { var n = r("da84") , i = r("44e7") , o = n.TypeError; - e.exports = function(e) { - if (i(e)) + t.exports = function(t) { + if (i(t)) throw o("The method doesn't accept regular expressions"); - return e + return t } }, - "5a47": function(e, t, r) { + "5a47": function(t, e, r) { var n = r("23e7") , i = r("4930") , o = r("d039") @@ -3609,56 +3799,56 @@ stat: !0, forced: c }, { - getOwnPropertySymbols: function(e) { - var t = a.f; - return t ? t(s(e)) : [] + getOwnPropertySymbols: function(t) { + var e = a.f; + return e ? e(s(t)) : [] } }) }, - "5a79": function(e, t, r) { + "5a79": function(t, e, r) { "use strict"; const n = r("90da") , i = r("90da").buildOptions , o = r("8a24") - , a = function(e, t) { - return t = i(t, o.defaultOptions, o.props), - t.indentBy = t.indentBy || "", - s(e, t, 0) + , a = function(t, e) { + return e = i(e, o.defaultOptions, o.props), + e.indentBy = e.indentBy || "", + s(t, e, 0) } - , s = function(e, t, r) { + , s = function(t, e, r) { let i = "{"; - const o = Object.keys(e.child); + const o = Object.keys(t.child); for (let n = 0; n < o.length; n++) { var a = o[n]; - if (e.child[a] && e.child[a].length > 1) { + if (t.child[a] && t.child[a].length > 1) { for (var u in i += '"' + a + '" : [ ', - e.child[a]) - i += s(e.child[a][u], t) + " , "; + t.child[a]) + i += s(t.child[a][u], e) + " , "; i = i.substr(0, i.length - 1) + " ] " } else - i += '"' + a + '" : ' + s(e.child[a][0], t) + " ," + i += '"' + a + '" : ' + s(t.child[a][0], e) + " ," } - return n.merge(i, e.attrsMap), - n.isEmptyObject(i) ? n.isExist(e.val) ? e.val : "" : (n.isExist(e.val) && ("string" !== typeof e.val || "" !== e.val && e.val !== t.cdataPositionChar) && (i += '"' + t.textNodeName + '" : ' + c(e.val)), + return n.merge(i, t.attrsMap), + n.isEmptyObject(i) ? n.isExist(t.val) ? t.val : "" : (n.isExist(t.val) && ("string" !== typeof t.val || "" !== t.val && t.val !== e.cdataPositionChar) && (i += '"' + e.textNodeName + '" : ' + c(t.val)), "," === i[i.length - 1] && (i = i.substr(0, i.length - 2)), i + "}") }; - function c(e) { - return !0 !== e && !1 !== e && isNaN(e) ? '"' + e + '"' : e + function c(t) { + return !0 !== t && !1 !== t && isNaN(t) ? '"' + t + '"' : t } - t.convertToJsonString = a + e.convertToJsonString = a }, - "5c6c": function(e, t) { - e.exports = function(e, t) { + "5c6c": function(t, e) { + t.exports = function(t, e) { return { - enumerable: !(1 & e), - configurable: !(2 & e), - writable: !(4 & e), - value: t + enumerable: !(1 & t), + configurable: !(2 & t), + writable: !(4 & t), + value: e } } }, - "5e77": function(e, t, r) { + "5e77": function(t, e, r) { var n = r("83ab") , i = r("1a2d") , o = Function.prototype @@ -3667,144 +3857,144 @@ , c = s && "something" === function() {} .name , u = s && (!n || n && a(o, "name").configurable); - e.exports = { + t.exports = { EXISTS: s, PROPER: c, CONFIGURABLE: u } }, - "5e7e": function(e, t, r) { + "5e7e": function(t, e, r) { "use strict"; - var n, i, o, a, s = r("23e7"), c = r("c430"), u = r("605d"), d = r("da84"), l = r("c65b"), f = r("cb2d"), h = r("d2bb"), p = r("d44e"), m = r("2626"), b = r("59ed"), g = r("1626"), y = r("861d"), v = r("19aa"), S = r("4840"), w = r("2cf4").set, C = r("b575"), A = r("44de"), _ = r("e667"), I = r("01b4"), E = r("69f3"), T = r("d256"), x = r("4738"), P = r("f069"), k = "Promise", D = x.CONSTRUCTOR, O = x.REJECTION_EVENT, R = x.SUBCLASSING, M = E.getterFor(k), N = E.set, B = T && T.prototype, F = T, j = B, K = d.TypeError, U = d.document, L = d.process, X = P.f, z = X, G = !!(U && U.createEvent && d.dispatchEvent), W = "unhandledrejection", q = "rejectionhandled", H = 0, V = 1, Y = 2, Q = 1, Z = 2, J = function(e) { - var t; - return !(!y(e) || !g(t = e.then)) && t - }, $ = function(e, t) { - var r, n, i, o = t.value, a = t.state == V, s = a ? e.ok : e.fail, c = e.resolve, u = e.reject, d = e.domain; + var n, i, o, a, s = r("23e7"), c = r("c430"), u = r("605d"), d = r("da84"), l = r("c65b"), f = r("cb2d"), h = r("d2bb"), p = r("d44e"), m = r("2626"), b = r("59ed"), g = r("1626"), y = r("861d"), v = r("19aa"), S = r("4840"), w = r("2cf4").set, C = r("b575"), _ = r("44de"), A = r("e667"), I = r("01b4"), E = r("69f3"), T = r("d256"), x = r("4738"), P = r("f069"), k = "Promise", D = x.CONSTRUCTOR, O = x.REJECTION_EVENT, R = x.SUBCLASSING, N = E.getterFor(k), M = E.set, B = T && T.prototype, F = T, j = B, K = d.TypeError, L = d.document, U = d.process, X = P.f, z = X, G = !!(L && L.createEvent && d.dispatchEvent), W = "unhandledrejection", q = "rejectionhandled", V = 0, H = 1, Y = 2, Z = 1, Q = 2, J = function(t) { + var e; + return !(!y(t) || !g(e = t.then)) && e + }, $ = function(t, e) { + var r, n, i, o = e.value, a = e.state == H, s = a ? t.ok : t.fail, c = t.resolve, u = t.reject, d = t.domain; try { - s ? (a || (t.rejection === Z && ie(t), - t.rejection = Q), + s ? (a || (e.rejection === Q && it(e), + e.rejection = Z), !0 === s ? r = o : (d && d.enter(), r = s(o), d && (d.exit(), i = !0)), - r === e.promise ? u(K("Promise-chain cycle")) : (n = J(r)) ? l(n, r, c, u) : c(r)) : u(o) + r === t.promise ? u(K("Promise-chain cycle")) : (n = J(r)) ? l(n, r, c, u) : c(r)) : u(o) } catch (f) { d && !i && d.exit(), u(f) } - }, ee = function(e, t) { - e.notified || (e.notified = !0, + }, tt = function(t, e) { + t.notified || (t.notified = !0, C((function() { - var r, n = e.reactions; + var r, n = t.reactions; while (r = n.get()) - $(r, e); - e.notified = !1, - t && !e.rejection && re(e) + $(r, t); + t.notified = !1, + e && !t.rejection && rt(t) } ))) - }, te = function(e, t, r) { + }, et = function(t, e, r) { var n, i; - G ? (n = U.createEvent("Event"), - n.promise = t, + G ? (n = L.createEvent("Event"), + n.promise = e, n.reason = r, - n.initEvent(e, !1, !0), + n.initEvent(t, !1, !0), d.dispatchEvent(n)) : n = { - promise: t, + promise: e, reason: r }, - !O && (i = d["on" + e]) ? i(n) : e === W && A("Unhandled promise rejection", r) - }, re = function(e) { + !O && (i = d["on" + t]) ? i(n) : t === W && _("Unhandled promise rejection", r) + }, rt = function(t) { l(w, d, (function() { - var t, r = e.facade, n = e.value, i = ne(e); - if (i && (t = _((function() { - u ? L.emit("unhandledRejection", n, r) : te(W, r, n) + var e, r = t.facade, n = t.value, i = nt(t); + if (i && (e = A((function() { + u ? U.emit("unhandledRejection", n, r) : et(W, r, n) } )), - e.rejection = u || ne(e) ? Z : Q, - t.error)) - throw t.value + t.rejection = u || nt(t) ? Q : Z, + e.error)) + throw e.value } )) - }, ne = function(e) { - return e.rejection !== Q && !e.parent - }, ie = function(e) { + }, nt = function(t) { + return t.rejection !== Z && !t.parent + }, it = function(t) { l(w, d, (function() { - var t = e.facade; - u ? L.emit("rejectionHandled", t) : te(q, t, e.value) + var e = t.facade; + u ? U.emit("rejectionHandled", e) : et(q, e, t.value) } )) - }, oe = function(e, t, r) { + }, ot = function(t, e, r) { return function(n) { - e(t, n, r) + t(e, n, r) } - }, ae = function(e, t, r) { - e.done || (e.done = !0, - r && (e = r), - e.value = t, - e.state = Y, - ee(e, !0)) - }, se = function(e, t, r) { - if (!e.done) { - e.done = !0, - r && (e = r); + }, at = function(t, e, r) { + t.done || (t.done = !0, + r && (t = r), + t.value = e, + t.state = Y, + tt(t, !0)) + }, st = function(t, e, r) { + if (!t.done) { + t.done = !0, + r && (t = r); try { - if (e.facade === t) + if (t.facade === e) throw K("Promise can't be resolved itself"); - var n = J(t); + var n = J(e); n ? C((function() { var r = { done: !1 }; try { - l(n, t, oe(se, r, e), oe(ae, r, e)) + l(n, e, ot(st, r, t), ot(at, r, t)) } catch (i) { - ae(r, i, e) + at(r, i, t) } } - )) : (e.value = t, - e.state = V, - ee(e, !1)) + )) : (t.value = e, + t.state = H, + tt(t, !1)) } catch (i) { - ae({ + at({ done: !1 - }, i, e) + }, i, t) } } }; - if (D && (F = function(e) { + if (D && (F = function(t) { v(this, j), - b(e), + b(t), l(n, this); - var t = M(this); + var e = N(this); try { - e(oe(se, t), oe(ae, t)) + t(ot(st, e), ot(at, e)) } catch (r) { - ae(t, r) + at(e, r) } } , j = F.prototype, - n = function(e) { - N(this, { + n = function(t) { + M(this, { type: k, done: !1, notified: !1, parent: !1, reactions: new I, rejection: !1, - state: H, + state: V, value: void 0 }) } , - n.prototype = f(j, "then", (function(e, t) { - var r = M(this) + n.prototype = f(j, "then", (function(t, e) { + var r = N(this) , n = X(S(this, F)); return r.parent = !0, - n.ok = !g(e) || e, - n.fail = g(t) && t, - n.domain = u ? L.domain : void 0, - r.state == H ? r.reactions.add(n) : C((function() { + n.ok = !g(t) || t, + n.fail = g(e) && e, + n.domain = u ? U.domain : void 0, + r.state == V ? r.reactions.add(n) : C((function() { $(n, r) } )), @@ -3812,32 +4002,32 @@ } )), i = function() { - var e = new n - , t = M(e); - this.promise = e, - this.resolve = oe(se, t), - this.reject = oe(ae, t) + var t = new n + , e = N(t); + this.promise = t, + this.resolve = ot(st, e), + this.reject = ot(at, e) } , - P.f = X = function(e) { - return e === F || e === o ? new i(e) : z(e) + P.f = X = function(t) { + return t === F || t === o ? new i(t) : z(t) } , !c && g(T) && B !== Object.prototype)) { a = B.then, - R || f(B, "then", (function(e, t) { + R || f(B, "then", (function(t, e) { var r = this; - return new F((function(e, t) { - l(a, r, e, t) + return new F((function(t, e) { + l(a, r, t, e) } - )).then(e, t) + )).then(t, e) } ), { unsafe: !0 }); try { delete B.constructor - } catch (ce) {} + } catch (ct) {} h && h(B, j) } s({ @@ -3851,25 +4041,25 @@ p(F, k, !1, !0), m(k) }, - "5eed": function(e, t, r) { + "5eed": function(t, e, r) { var n = r("d256") , i = r("1c7e") , o = r("4738").CONSTRUCTOR; - e.exports = o || !i((function(e) { - n.all(e).then(void 0, (function() {} + t.exports = o || !i((function(t) { + n.all(t).then(void 0, (function() {} )) } )) }, - "5eff": function(e, t, r) { + "5eff": function(t, e, r) { r("e260"), r("4ec9"), r("d3b7"), r("3ca3"); var n = r("428f"); - e.exports = n.Map + t.exports = n.Map }, - "5fb2": function(e, t, r) { + "5fb2": function(t, e, r) { "use strict"; var n = r("da84") , i = r("e330") @@ -3891,60 +4081,60 @@ , S = Math.floor , w = String.fromCharCode , C = i("".charCodeAt) - , A = i([].join) - , _ = i([].push) + , _ = i([].join) + , A = i([].push) , I = i("".replace) , E = i("".split) , T = i("".toLowerCase) - , x = function(e) { - var t = [] + , x = function(t) { + var e = [] , r = 0 - , n = e.length; + , n = t.length; while (r < n) { - var i = C(e, r++); + var i = C(t, r++); if (i >= 55296 && i <= 56319 && r < n) { - var o = C(e, r++); - 56320 == (64512 & o) ? _(t, ((1023 & i) << 10) + (1023 & o) + 65536) : (_(t, i), + var o = C(t, r++); + 56320 == (64512 & o) ? A(e, ((1023 & i) << 10) + (1023 & o) + 65536) : (A(e, i), r--) } else - _(t, i) + A(e, i) } - return t + return e } - , P = function(e) { - return e + 22 + 75 * (e < 26) + , P = function(t) { + return t + 22 + 75 * (t < 26) } - , k = function(e, t, r) { + , k = function(t, e, r) { var n = 0; - e = r ? S(e / d) : e >> 1, - e += S(e / t); - while (e > g * c >> 1) - e = S(e / g), + t = r ? S(t / d) : t >> 1, + t += S(t / e); + while (t > g * c >> 1) + t = S(t / g), n += a; - return S(n + (g + 1) * e / (e + u)) + return S(n + (g + 1) * t / (t + u)) } - , D = function(e) { - var t = []; - e = x(e); - var r, n, i = e.length, u = f, d = 0, p = l; - for (r = 0; r < e.length; r++) - n = e[r], - n < 128 && _(t, w(n)); - var m = t.length + , D = function(t) { + var e = []; + t = x(t); + var r, n, i = t.length, u = f, d = 0, p = l; + for (r = 0; r < t.length; r++) + n = t[r], + n < 128 && A(e, w(n)); + var m = e.length , g = m; - m && _(t, h); + m && A(e, h); while (g < i) { var v = o; - for (r = 0; r < e.length; r++) - n = e[r], + for (r = 0; r < t.length; r++) + n = t[r], n >= u && n < v && (v = n); var C = g + 1; if (v - u > S((o - d) / C)) throw y(b); for (d += (v - u) * C, u = v, - r = 0; r < e.length; r++) { - if (n = e[r], + r = 0; r < t.length; r++) { + if (n = t[r], n < u && ++d > o) throw y(b); if (n == u) { @@ -3956,11 +4146,11 @@ break; var D = I - T , O = a - T; - _(t, w(P(T + D % O))), + A(e, w(P(T + D % O))), I = S(D / O), E += a } - _(t, w(P(I))), + A(e, w(P(I))), p = k(d, C, g == m), d = 0, g++ @@ -3969,28 +4159,28 @@ d++, u++ } - return A(t, "") + return _(e, "") }; - e.exports = function(e) { - var t, r, n = [], i = E(I(T(e), m, "."), "."); - for (t = 0; t < i.length; t++) - r = i[t], - _(n, v(p, r) ? "xn--" + D(r) : r); - return A(n, ".") + t.exports = function(t) { + var e, r, n = [], i = E(I(T(t), m, "."), "."); + for (e = 0; e < i.length; e++) + r = i[e], + A(n, v(p, r) ? "xn--" + D(r) : r); + return _(n, ".") } }, - "605d": function(e, t, r) { + "605d": function(t, e, r) { var n = r("c6b6") , i = r("da84"); - e.exports = "process" == n(i.process) + t.exports = "process" == n(i.process) }, - 6062: function(e, t, r) { + 6062: function(t, e, r) { r("1c59") }, - 6069: function(e, t) { - e.exports = "object" == typeof window && "object" != typeof Deno + 6069: function(t, e) { + t.exports = "object" == typeof window && "object" != typeof Deno }, - "60da": function(e, t, r) { + "60da": function(t, e, r) { "use strict"; var n = r("83ab") , i = r("e330") @@ -4004,7 +4194,7 @@ , f = Object.assign , h = Object.defineProperty , p = i([].concat); - e.exports = !f || a((function() { + t.exports = !f || a((function() { if (n && 1 !== f({ b: 1 }, f(h({}, "a", { @@ -4019,19 +4209,19 @@ b: 2 })).b) return !0; - var e = {} - , t = {} + var t = {} + , e = {} , r = Symbol() , i = "abcdefghijklmnopqrst"; - return e[r] = 7, - i.split("").forEach((function(e) { - t[e] = e + return t[r] = 7, + i.split("").forEach((function(t) { + e[t] = t } )), - 7 != f({}, e)[r] || s(f({}, t)).join("") != i + 7 != f({}, t)[r] || s(f({}, e)).join("") != i } - )) ? function(e, t) { - var r = d(e) + )) ? function(t, e) { + var r = d(t) , i = arguments.length , a = 1 , f = c.f @@ -4046,33 +4236,33 @@ } : f }, - "64c1": function(e, t, r) { + "64c1": function(t, e, r) { var n; n = function() { "use strict"; - var e, t = {}, r = "function" == typeof Uint8Array; - return t.decode = function(t) { - var n, i = "string" == typeof t; - if (void 0 === e) { + var t, e = {}, r = "function" == typeof Uint8Array; + return e.decode = function(e) { + var n, i = "string" == typeof e; + if (void 0 === t) { var o = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/" , a = "= \f\n\r\t \u2028\u2029"; - for (e = [], + for (t = [], n = 0; n < 64; ++n) - e[o.charCodeAt(n)] = n; + t[o.charCodeAt(n)] = n; for (n = 0; n < a.length; ++n) - e[a.charCodeAt(n)] = -1; - e["-".charCodeAt(0)] = e["+".charCodeAt(0)], - e["_".charCodeAt(0)] = e["/".charCodeAt(0)] + t[a.charCodeAt(n)] = -1; + t["-".charCodeAt(0)] = t["+".charCodeAt(0)], + t["_".charCodeAt(0)] = t["/".charCodeAt(0)] } - var s = r ? new Uint8Array(3 * t.length >> 2) : [] + var s = r ? new Uint8Array(3 * e.length >> 2) : [] , c = 0 , u = 0 , d = 0; - for (n = 0; n < t.length; ++n) { - var l = i ? t.charCodeAt(n) : t[n]; + for (n = 0; n < e.length; ++n) { + var l = i ? e.charCodeAt(n) : e[n]; if (61 == l) break; - if (l = e[l], + if (l = t[l], -1 != l) { if (void 0 === l) throw "Illegal character at offset " + n; @@ -4099,34 +4289,34 @@ s } , - t.pretty = function(e) { - return e.length % 4 > 0 && (e = (e + "===").slice(0, e.length + e.length % 4)), - e = e.replace(/-/g, "+").replace(/_/g, "/"), - e.replace(/(.{80})/g, "$1\n") + e.pretty = function(t) { + return t.length % 4 > 0 && (t = (t + "===").slice(0, t.length + t.length % 4)), + t = t.replace(/-/g, "+").replace(/_/g, "/"), + t.replace(/(.{80})/g, "$1\n") } , - t.re = /-----BEGIN [^-]+-----([A-Za-z0-9+/=\s]+)-----END [^-]+-----|begin-base64[^\n]+\n([A-Za-z0-9+/=\s]+)====|^([A-Za-z0-9+/=\s]+)$/, - t.unarmor = function(e) { - var r = t.re.exec(e); + e.re = /-----BEGIN [^-]+-----([A-Za-z0-9+/=\s]+)-----END [^-]+-----|begin-base64[^\n]+\n([A-Za-z0-9+/=\s]+)====|^([A-Za-z0-9+/=\s]+)$/, + e.unarmor = function(t) { + var r = e.re.exec(t); if (r) if (r[1]) - e = r[1]; + t = r[1]; else if (r[2]) - e = r[2]; + t = r[2]; else { if (!r[3]) throw "RegExp out of sync"; - e = r[3] + t = r[3] } - return t.decode(e) + return e.decode(t) } , - t + e } - .call(t, r, t, e), - void 0 === n || (e.exports = n) + .call(e, r, e, t), + void 0 === n || (t.exports = n) }, - 6547: function(e, t, r) { + 6547: function(t, e, r) { var n = r("e330") , i = r("5926") , o = r("577e") @@ -4134,19 +4324,19 @@ , s = n("".charAt) , c = n("".charCodeAt) , u = n("".slice) - , d = function(e) { - return function(t, r) { - var n, d, l = o(a(t)), f = i(r), h = l.length; - return f < 0 || f >= h ? e ? "" : void 0 : (n = c(l, f), - n < 55296 || n > 56319 || f + 1 === h || (d = c(l, f + 1)) < 56320 || d > 57343 ? e ? s(l, f) : n : e ? u(l, f, f + 2) : d - 56320 + (n - 55296 << 10) + 65536) + , d = function(t) { + return function(e, r) { + var n, d, l = o(a(e)), f = i(r), h = l.length; + return f < 0 || f >= h ? t ? "" : void 0 : (n = c(l, f), + n < 55296 || n > 56319 || f + 1 === h || (d = c(l, f + 1)) < 56320 || d > 57343 ? t ? s(l, f) : n : t ? u(l, f, f + 2) : d - 56320 + (n - 55296 << 10) + 65536) } }; - e.exports = { + t.exports = { codeAt: d(!1), charAt: d(!0) } }, - 6566: function(e, t, r) { + 6566: function(t, e, r) { "use strict"; var n = r("9bf2").f , i = r("7c73") @@ -4161,31 +4351,31 @@ , h = r("69f3") , p = h.set , m = h.getterFor; - e.exports = { - getConstructor: function(e, t, r, u) { - var d = e((function(e, n) { - s(e, h), - p(e, { - type: t, + t.exports = { + getConstructor: function(t, e, r, u) { + var d = t((function(t, n) { + s(t, h), + p(t, { + type: e, index: i(null), first: void 0, last: void 0, size: 0 }), - l || (e.size = 0), - void 0 != n && c(n, e[u], { - that: e, + l || (t.size = 0), + void 0 != n && c(n, t[u], { + that: t, AS_ENTRIES: r }) } )) , h = d.prototype - , b = m(t) - , g = function(e, t, r) { - var n, i, o = b(e), a = y(e, t); + , b = m(e) + , g = function(t, e, r) { + var n, i, o = b(t), a = y(t, e); return a ? a.value = r : (o.last = a = { - index: i = f(t, !0), - key: t, + index: i = f(e, !0), + key: e, value: r, previous: n = o.last, next: void 0, @@ -4193,36 +4383,36 @@ }, o.first || (o.first = a), n && (n.next = a), - l ? o.size++ : e.size++, + l ? o.size++ : t.size++, "F" !== i && (o.index[i] = a)), - e + t } - , y = function(e, t) { - var r, n = b(e), i = f(t); + , y = function(t, e) { + var r, n = b(t), i = f(e); if ("F" !== i) return n.index[i]; for (r = n.first; r; r = r.next) - if (r.key == t) + if (r.key == e) return r }; return o(h, { clear: function() { - var e = this - , t = b(e) - , r = t.index - , n = t.first; + var t = this + , e = b(t) + , r = e.index + , n = e.first; while (n) n.removed = !0, n.previous && (n.previous = n.previous.next = void 0), delete r[n.index], n = n.next; - t.first = t.last = void 0, - l ? t.size = 0 : e.size = 0 + e.first = e.last = void 0, + l ? e.size = 0 : t.size = 0 }, - delete: function(e) { - var t = this - , r = b(t) - , n = y(t, e); + delete: function(t) { + var e = this + , r = b(e) + , n = y(e, t); if (n) { var i = n.next , o = n.previous; @@ -4232,33 +4422,33 @@ i && (i.previous = o), r.first == n && (r.first = i), r.last == n && (r.last = o), - l ? r.size-- : t.size-- + l ? r.size-- : e.size-- } return !!n }, - forEach: function(e) { - var t, r = b(this), n = a(e, arguments.length > 1 ? arguments[1] : void 0); - while (t = t ? t.next : r.first) { - n(t.value, t.key, this); - while (t && t.removed) - t = t.previous + forEach: function(t) { + var e, r = b(this), n = a(t, arguments.length > 1 ? arguments[1] : void 0); + while (e = e ? e.next : r.first) { + n(e.value, e.key, this); + while (e && e.removed) + e = e.previous } }, - has: function(e) { - return !!y(this, e) + has: function(t) { + return !!y(this, t) } }), o(h, r ? { - get: function(e) { - var t = y(this, e); - return t && t.value + get: function(t) { + var e = y(this, t); + return e && e.value }, - set: function(e, t) { - return g(this, 0 === e ? 0 : e, t) + set: function(t, e) { + return g(this, 0 === t ? 0 : t, e) } } : { - add: function(e) { - return g(this, e = 0 === e ? 0 : e, e) + add: function(t) { + return g(this, t = 0 === t ? 0 : t, t) } }), l && n(h, "size", { @@ -4268,64 +4458,64 @@ }), d }, - setStrong: function(e, t, r) { - var n = t + " Iterator" - , i = m(t) + setStrong: function(t, e, r) { + var n = e + " Iterator" + , i = m(e) , o = m(n); - u(e, t, (function(e, t) { + u(t, e, (function(t, e) { p(this, { type: n, - target: e, - state: i(e), - kind: t, + target: t, + state: i(t), + kind: e, last: void 0 }) } ), (function() { - var e = o(this) - , t = e.kind - , r = e.last; + var t = o(this) + , e = t.kind + , r = t.last; while (r && r.removed) r = r.previous; - return e.target && (e.last = r = r ? r.next : e.state.first) ? "keys" == t ? { + return t.target && (t.last = r = r ? r.next : t.state.first) ? "keys" == e ? { value: r.key, done: !1 - } : "values" == t ? { + } : "values" == e ? { value: r.value, done: !1 } : { value: [r.key, r.value], done: !1 - } : (e.target = void 0, + } : (t.target = void 0, { value: void 0, done: !0 }) } ), r ? "entries" : "values", !r, !0), - d(t) + d(e) } } }, - "65f0": function(e, t, r) { + "65f0": function(t, e, r) { var n = r("0b42"); - e.exports = function(e, t) { - return new (n(e))(0 === t ? 0 : t) + t.exports = function(t, e) { + return new (n(t))(0 === e ? 0 : e) } }, - "67d3": function(e, t, r) { + "67d3": function(t, e, r) { "use strict"; - (function(e) { - r.d(t, "d", (function() { + (function(t) { + r.d(e, "d", (function() { return C } )), - r.d(t, "b", (function() { - return A + r.d(e, "b", (function() { + return _ } )), - r.d(t, "c", (function() { - return _ + r.d(e, "c", (function() { + return A } )); var n = r("3662") @@ -4334,44 +4524,44 @@ , a = r("6b33") , s = r("73fd") , c = r("a9c6"); - function u(e) { - return u = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(e) { - return typeof e + function u(t) { + return u = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(t) { + return typeof t } - : function(e) { - return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e + : function(t) { + return t && "function" == typeof Symbol && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t } , - u(e) + u(t) } - function d(e, t, r) { - return t in e ? Object.defineProperty(e, t, { + function d(t, e, r) { + return e in t ? Object.defineProperty(t, e, { value: r, enumerable: !0, configurable: !0, writable: !0 - }) : e[t] = r, - e + }) : t[e] = r, + t } - function l(e, t) { - var r = "undefined" !== typeof Symbol && e[Symbol.iterator] || e["@@iterator"]; + function l(t, e) { + var r = "undefined" !== typeof Symbol && t[Symbol.iterator] || t["@@iterator"]; if (!r) { - if (Array.isArray(e) || (r = p(e)) || t && e && "number" === typeof e.length) { - r && (e = r); + if (Array.isArray(t) || (r = p(t)) || e && t && "number" === typeof t.length) { + r && (t = r); var n = 0 , i = function() {}; return { s: i, n: function() { - return n >= e.length ? { + return n >= t.length ? { done: !0 } : { done: !1, - value: e[n++] + value: t[n++] } }, - e: function(e) { - throw e + e: function(t) { + throw t }, f: i } @@ -4381,16 +4571,16 @@ var o, a = !0, s = !1; return { s: function() { - r = r.call(e) + r = r.call(t) }, n: function() { - var e = r.next(); - return a = e.done, - e + var t = r.next(); + return a = t.done, + t }, - e: function(e) { + e: function(t) { s = !0, - o = e + o = t }, f: function() { try { @@ -4402,35 +4592,35 @@ } } } - function f(e, t) { - return g(e) || b(e, t) || p(e, t) || h() + function f(t, e) { + return g(t) || b(t, e) || p(t, e) || h() } 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 p(e, t) { - if (e) { - if ("string" === typeof e) - return m(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) ? m(e, t) : void 0 + function p(t, e) { + if (t) { + if ("string" === typeof t) + return m(t, e); + var r = Object.prototype.toString.call(t).slice(8, -1); + return "Object" === r && t.constructor && (r = t.constructor.name), + "Map" === r || "Set" === r ? Array.from(t) : "Arguments" === r || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r) ? m(t, e) : void 0 } } - function m(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]; + function m(t, e) { + (null == e || e > t.length) && (e = t.length); + for (var r = 0, n = new Array(e); r < e; r++) + n[r] = t[r]; return n } - function b(e, t) { - var r = null == e ? null : "undefined" !== typeof Symbol && e[Symbol.iterator] || e["@@iterator"]; + function b(t, e) { + var r = null == t ? null : "undefined" !== typeof Symbol && t[Symbol.iterator] || t["@@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) + for (r = r.call(t); !(a = (n = r.next()).done); a = !0) if (o.push(n.value), - t && o.length === t) + e && o.length === e) break } catch (c) { s = !0, @@ -4446,44 +4636,44 @@ return o } } - function g(e) { - if (Array.isArray(e)) - return e + function g(t) { + if (Array.isArray(t)) + return t } function y() { /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ y = function() { - return e + return t } ; - var e = {} - , t = Object.prototype - , r = t.hasOwnProperty + var t = {} + , e = Object.prototype + , r = e.hasOwnProperty , n = "function" == typeof Symbol ? Symbol : {} , i = n.iterator || "@@iterator" , o = n.asyncIterator || "@@asyncIterator" , a = n.toStringTag || "@@toStringTag"; - function s(e, t, r) { - return Object.defineProperty(e, t, { + function s(t, e, r) { + return Object.defineProperty(t, e, { value: r, enumerable: !0, configurable: !0, writable: !0 }), - e[t] + t[e] } try { s({}, "") } catch (x) { - s = function(e, t, r) { - return e[t] = r + s = function(t, e, r) { + return t[e] = r } } - function c(e, t, r, n) { - var i = t && t.prototype instanceof f ? t : f + function c(t, e, r, n) { + var i = e && e.prototype instanceof f ? e : f , o = Object.create(i.prototype) , a = new I(n || []); - return o._invoke = function(e, t, r) { + return o._invoke = function(t, e, r) { var n = "suspendedStart"; return function(i, o) { if ("executing" === n) @@ -4514,7 +4704,7 @@ } else "return" === r.method && r.abrupt("return", r.arg); n = "executing"; - var c = d(e, t, r); + var c = d(t, e, r); if ("normal" === c.type) { if (n = r.done ? "completed" : "suspendedYield", c.arg === l) @@ -4529,14 +4719,14 @@ r.arg = c.arg) } } - }(e, r, a), + }(t, r, a), o } - function d(e, t, r) { + function d(t, e, r) { try { return { type: "normal", - arg: e.call(t, r) + arg: t.call(e, r) } } catch (x) { return { @@ -4545,7 +4735,7 @@ } } } - e.wrap = c; + t.wrap = c; var l = {}; function f() {} function h() {} @@ -4557,123 +4747,123 @@ )); var b = Object.getPrototypeOf , g = b && b(b(E([]))); - g && g !== t && r.call(g, i) && (m = g); + g && g !== e && r.call(g, i) && (m = g); var v = p.prototype = f.prototype = Object.create(m); - function S(e) { - ["next", "throw", "return"].forEach((function(t) { - s(e, t, (function(e) { - return this._invoke(t, e) + function S(t) { + ["next", "throw", "return"].forEach((function(e) { + s(t, e, (function(t) { + return this._invoke(e, t) } )) } )) } - function w(e, t) { + function w(t, e) { function n(i, o, a, s) { - var c = d(e[i], e, o); + var c = d(t[i], t, o); if ("throw" !== c.type) { var l = c.arg , f = l.value; - return f && "object" == u(f) && r.call(f, "__await") ? t.resolve(f.__await).then((function(e) { - n("next", e, a, s) + return f && "object" == u(f) && r.call(f, "__await") ? e.resolve(f.__await).then((function(t) { + n("next", t, a, s) } - ), (function(e) { - n("throw", e, a, s) + ), (function(t) { + n("throw", t, a, s) } - )) : t.resolve(f).then((function(e) { - l.value = e, + )) : e.resolve(f).then((function(t) { + l.value = t, a(l) } - ), (function(e) { - return n("throw", e, a, s) + ), (function(t) { + return n("throw", t, a, s) } )) } s(c.arg) } var i; - this._invoke = function(e, r) { + this._invoke = function(t, r) { function o() { - return new t((function(t, i) { - n(e, r, t, i) + return new e((function(e, i) { + n(t, r, e, i) } )) } return i = i ? i.then(o, o) : o() } } - function C(e, t) { - var r = e.iterator[t.method]; + function C(t, e) { + var r = t.iterator[e.method]; if (void 0 === r) { - if (t.delegate = null, - "throw" === t.method) { - if (e.iterator.return && (t.method = "return", - t.arg = void 0, - C(e, t), - "throw" === t.method)) + if (e.delegate = null, + "throw" === e.method) { + if (t.iterator.return && (e.method = "return", + e.arg = void 0, + C(t, e), + "throw" === e.method)) return l; - t.method = "throw", - t.arg = new TypeError("The iterator does not provide a 'throw' method") + e.method = "throw", + e.arg = new TypeError("The iterator does not provide a 'throw' method") } return l } - var n = d(r, e.iterator, t.arg); + var n = d(r, t.iterator, e.arg); if ("throw" === n.type) - return t.method = "throw", - t.arg = n.arg, - t.delegate = null, + return e.method = "throw", + e.arg = n.arg, + e.delegate = null, l; var i = n.arg; - return i ? i.done ? (t[e.resultName] = i.value, - t.next = e.nextLoc, - "return" !== t.method && (t.method = "next", - t.arg = void 0), - t.delegate = null, - l) : i : (t.method = "throw", - t.arg = new TypeError("iterator result is not an object"), - t.delegate = null, + return i ? i.done ? (e[t.resultName] = i.value, + e.next = t.nextLoc, + "return" !== e.method && (e.method = "next", + e.arg = void 0), + e.delegate = null, + l) : i : (e.method = "throw", + e.arg = new TypeError("iterator result is not an object"), + e.delegate = null, l) } - function A(e) { - var t = { - tryLoc: e[0] + function _(t) { + var e = { + tryLoc: t[0] }; - 1 in e && (t.catchLoc = e[1]), - 2 in e && (t.finallyLoc = e[2], - t.afterLoc = e[3]), - this.tryEntries.push(t) + 1 in t && (e.catchLoc = t[1]), + 2 in t && (e.finallyLoc = t[2], + e.afterLoc = t[3]), + this.tryEntries.push(e) } - function _(e) { - var t = e.completion || {}; - t.type = "normal", - delete t.arg, - e.completion = t + function A(t) { + var e = t.completion || {}; + e.type = "normal", + delete e.arg, + t.completion = e } - function I(e) { + function I(t) { this.tryEntries = [{ tryLoc: "root" }], - e.forEach(A, this), + t.forEach(_, this), this.reset(!0) } - function E(e) { - if (e) { - var t = e[i]; - if (t) - return t.call(e); - if ("function" == typeof e.next) - return e; - if (!isNaN(e.length)) { + function E(t) { + if (t) { + var e = t[i]; + if (e) + return e.call(t); + if ("function" == typeof t.next) + return t; + if (!isNaN(t.length)) { var n = -1 - , o = 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 + , o = function e() { + for (; ++n < t.length; ) + if (r.call(t, n)) + return e.value = t[n], + e.done = !1, + e; + return e.value = void 0, + e.done = !0, + e }; return o.next = o } @@ -4692,21 +4882,21 @@ s(v, "constructor", p), s(p, "constructor", h), h.displayName = s(p, a, "GeneratorFunction"), - e.isGeneratorFunction = function(e) { - var t = "function" == typeof e && e.constructor; - return !!t && (t === h || "GeneratorFunction" === (t.displayName || t.name)) + t.isGeneratorFunction = function(t) { + var e = "function" == typeof t && t.constructor; + return !!e && (e === h || "GeneratorFunction" === (e.displayName || e.name)) } , - e.mark = function(e) { - return Object.setPrototypeOf ? Object.setPrototypeOf(e, p) : (e.__proto__ = p, - s(e, a, "GeneratorFunction")), - e.prototype = Object.create(v), - e + t.mark = function(t) { + return Object.setPrototypeOf ? Object.setPrototypeOf(t, p) : (t.__proto__ = p, + s(t, a, "GeneratorFunction")), + t.prototype = Object.create(v), + t } , - e.awrap = function(e) { + t.awrap = function(t) { return { - __await: e + __await: t } } , @@ -4715,12 +4905,12 @@ return this } )), - e.AsyncIterator = w, - e.async = function(t, r, n, i, o) { + t.AsyncIterator = w, + t.async = function(e, 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() + var a = new w(c(e, r, n, i),o); + return t.isGeneratorFunction(r) ? a : a.next().then((function(t) { + return t.done ? t.value : a.next() } )) } @@ -4735,15 +4925,15 @@ return "[object Generator]" } )), - e.keys = function(e) { - var t = []; - for (var r in e) - t.push(r); - return t.reverse(), + t.keys = function(t) { + var e = []; + for (var r in t) + e.push(r); + return e.reverse(), function r() { - for (; t.length; ) { - var n = t.pop(); - if (n in e) + for (; e.length; ) { + var n = e.pop(); + if (n in t) return r.value = n, r.done = !1, r @@ -4753,10 +4943,10 @@ } } , - e.values = E, + t.values = E, I.prototype = { constructor: I, - reset: function(e) { + reset: function(t) { if (this.prev = 0, this.next = 0, this.sent = this._sent = void 0, @@ -4764,28 +4954,28 @@ this.delegate = null, this.method = "next", this.arg = void 0, - this.tryEntries.forEach(_), - !e) - for (var t in this) - "t" === t.charAt(0) && r.call(this, t) && !isNaN(+t.slice(1)) && (this[t] = void 0) + this.tryEntries.forEach(A), + !t) + for (var e in this) + "t" === e.charAt(0) && r.call(this, e) && !isNaN(+e.slice(1)) && (this[e] = void 0) }, stop: function() { this.done = !0; - var e = this.tryEntries[0].completion; - if ("throw" === e.type) - throw e.arg; + var t = this.tryEntries[0].completion; + if ("throw" === t.type) + throw t.arg; return this.rval }, - dispatchException: function(e) { + dispatchException: function(t) { if (this.done) - throw e; - var t = this; + throw t; + var e = this; function n(r, n) { return a.type = "throw", - a.arg = e, - t.next = r, - n && (t.method = "next", - t.arg = void 0), + a.arg = t, + e.next = r, + n && (e.method = "next", + e.arg = void 0), !!n } for (var i = this.tryEntries.length - 1; i >= 0; --i) { @@ -4813,7 +5003,7 @@ } } }, - abrupt: function(e, t) { + abrupt: function(t, e) { 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) { @@ -4821,77 +5011,77 @@ break } } - o && ("break" === e || "continue" === e) && o.tryLoc <= t && t <= o.finallyLoc && (o = null); + o && ("break" === t || "continue" === t) && o.tryLoc <= e && e <= o.finallyLoc && (o = null); var a = o ? o.completion : {}; - return a.type = e, - a.arg = t, + return a.type = t, + a.arg = e, o ? (this.method = "next", this.next = o.finallyLoc, l) : 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, + complete: function(t, e) { + if ("throw" === t.type) + throw t.arg; + return "break" === t.type || "continue" === t.type ? this.next = t.arg : "return" === t.type ? (this.rval = this.arg = t.arg, this.method = "return", - this.next = "end") : "normal" === e.type && t && (this.next = t), + this.next = "end") : "normal" === t.type && e && (this.next = e), l }, - finish: function(e) { - for (var t = this.tryEntries.length - 1; t >= 0; --t) { - var r = this.tryEntries[t]; - if (r.finallyLoc === e) + finish: function(t) { + for (var e = this.tryEntries.length - 1; e >= 0; --e) { + var r = this.tryEntries[e]; + if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), - _(r), + A(r), l } }, - catch: function(e) { - for (var t = this.tryEntries.length - 1; t >= 0; --t) { - var r = this.tryEntries[t]; - if (r.tryLoc === e) { + catch: function(t) { + for (var e = this.tryEntries.length - 1; e >= 0; --e) { + var r = this.tryEntries[e]; + if (r.tryLoc === t) { var n = r.completion; if ("throw" === n.type) { var i = n.arg; - _(r) + A(r) } return i } } throw new Error("illegal catch attempt") }, - delegateYield: function(e, t, r) { + delegateYield: function(t, e, r) { return this.delegate = { - iterator: E(e), - resultName: t, + iterator: E(t), + resultName: e, nextLoc: r }, "next" === this.method && (this.arg = void 0), l } }, - e + t } - function v(e, t, r, n, i, o, a) { + function v(t, e, r, n, i, o, a) { try { - var s = e[o](a) + var s = t[o](a) , c = s.value } catch (u) { return void r(u) } - s.done ? t(c) : Promise.resolve(c).then(n, i) + s.done ? e(c) : Promise.resolve(c).then(n, i) } - function S(e) { + function S(t) { return function() { - var t = this + var e = this , r = arguments; return new Promise((function(n, i) { - var o = e.apply(t, r); - function a(e) { - v(o, n, i, a, s, "next", e) + var o = t.apply(e, r); + function a(t) { + v(o, n, i, a, s, "next", t) } - function s(e) { - v(o, n, i, a, s, "throw", e) + function s(t) { + v(o, n, i, a, s, "throw", t) } a(void 0) } @@ -4899,160 +5089,160 @@ } } var w = r("74db") - , C = function(e) { - return new Promise((function(t, r) { - o.a.loadAsync(e).then((function(e) { - t(e) + , C = function(t) { + return new Promise((function(e, r) { + o.a.loadAsync(t).then((function(t) { + e(t) } - ), (function(e) { - r(e) + ), (function(t) { + r(t) } )) } )) } - , A = function() { - var e = S(y().mark((function e(t) { + , _ = function() { + var t = S(y().mark((function t(e) { var r, n, i; - return y().wrap((function(e) { + return y().wrap((function(t) { while (1) - switch (e.prev = e.next) { + switch (t.prev = t.next) { case 0: - return e.next = 2, - L(t, "OFD.xml"); + return t.next = 2, + U(e, "OFD.xml"); case 2: - return r = e.sent, + return r = t.sent, n = r["json"]["ofd:OFD"]["ofd:DocBody"], i = [], i = i.concat(n), - e.abrupt("return", [t, i]); + t.abrupt("return", [e, i]); case 7: case "end": - return e.stop() + return t.stop() } } - ), e) + ), t) } ))); - return function(t) { - return e.apply(this, arguments) + return function(e) { + return t.apply(this, arguments) } }() - , _ = function() { - var e = S(y().mark((function e(t) { + , A = function() { + var t = S(y().mark((function t(e) { var r, n, i, o, a, s, c, u; - return y().wrap((function(e) { + return y().wrap((function(t) { while (1) - switch (e.prev = e.next) { + switch (t.prev = t.next) { case 0: - r = f(t, 2), + r = f(e, 2), n = r[0], i = r[1], o = [], a = l(i), - e.prev = 3, + t.prev = 3, a.s(); case 5: if ((s = a.n()).done) { - e.next = 30; + t.next = 30; break } if (c = s.value, !c) { - e.next = 28; + t.next = 28; break } - return e.next = 10, + return t.next = 10, I(n, c); case 10: - return u = e.sent, - e.next = 13, + return u = t.sent, + t.next = 13, E(u); case 13: - return u = e.sent, - e.next = 16, + return u = t.sent, + t.next = 16, x(u); case 16: - return u = e.sent, - e.next = 19, + return u = t.sent, + t.next = 19, P(u); case 19: - return u = e.sent, - e.next = 22, + return u = t.sent, + t.next = 22, k(u); case 22: - return u = e.sent, - e.next = 25, + return u = t.sent, + t.next = 25, D(u); case 25: - u = e.sent, + u = t.sent, u.docInfo = c["ofd:DocInfo"], o.push(u); case 28: - e.next = 5; + t.next = 5; break; case 30: - e.next = 35; + t.next = 35; break; case 32: - e.prev = 32, - e.t0 = e["catch"](3), - a.e(e.t0); + t.prev = 32, + t.t0 = t["catch"](3), + a.e(t.t0); case 35: - return e.prev = 35, + return t.prev = 35, a.f(), - e.finish(35); + t.finish(35); case 38: - return e.abrupt("return", o); + return t.abrupt("return", o); case 39: case "end": - return e.stop() + return t.stop() } } - ), e, null, [[3, 32, 35, 38]]) + ), t, null, [[3, 32, 35, 38]]) } ))); - return function(t) { - return e.apply(this, arguments) + return function(e) { + return t.apply(this, arguments) } }() , I = function() { - var e = S(y().mark((function e(t, r) { - var n, i, o, s, c, u, d, f, h, p, m, b, g, v, w, C, A, _, I, E, T, x, P; - return y().wrap((function(e) { + var t = S(y().mark((function t(e, r) { + var n, i, o, s, c, u, d, f, h, p, m, b, g, v, w, C, _, A, I, E, T, x, P, k, D, O, R; + return y().wrap((function(t) { while (1) - switch (e.prev = e.next) { + switch (t.prev = t.next) { case 0: return n = r["ofd:DocRoot"], n = Object(a["l"])(n), i = n.split("/")[0], o = r["ofd:Signatures"], - e.next = 6, - F(t, o, i); + t.next = 6, + F(e, o, i); case 6: - s = e.sent, + s = t.sent, c = {}, u = l(s), - e.prev = 9, + t.prev = 9, u.s(); case 11: if ((d = u.n()).done) { - e.next = 48; + t.next = 57; break } if (f = d.value, !(f.sealObj && Object.keys(f.sealObj).length > 0)) { - e.next = 46; + t.next = 55; break } if ("ofd" !== f.sealObj.type) { - e.next = 22; + t.next = 22; break } - return e.next = 17, - U(f); + return t.next = 17, + L(f); case 17: - h = e.sent, + h = t.sent, p = l(h); try { for (p.s(); !(m = p.n()).done; ) @@ -5065,37 +5255,32 @@ obj: b, stamp: f }) - } catch (k) { - p.e(k) + } catch (N) { + p.e(N) } finally { p.f() } - e.next = 46; + t.next = 55; break; case 22: if ("png" !== f.sealObj.type && "gif" !== f.sealObj.type && "jpg" !== f.sealObj.type && "jpeg" !== f.sealObj.type && 0 != f.sealObj.type.indexOf("png") && "bmp" !== f.sealObj.type) { - e.next = 45; + t.next = 54; break } - if (g = void 0, - "bmp" !== f.sealObj.type) { - e.next = 38; - break - } - return v = function() { - var e = S(y().mark((function e(t) { + if (g = function() { + var t = S(y().mark((function t(e) { var r, n; - return y().wrap((function(e) { + return y().wrap((function(t) { while (1) - switch (e.prev = e.next) { + switch (t.prev = t.next) { case 0: return r = Object.assign(new Image, { - src: t + src: e }), - e.next = 3, - new Promise((function(e) { + t.next = 3, + new Promise((function(t) { return r.addEventListener("load", (function() { - return e() + return t() } )) } @@ -5107,197 +5292,215 @@ }).getContext("2d"), n.imageSmoothingEnabled = !1, n.drawImage(r, 0, 0), - e.abrupt("return", n.getImageData(0, 0, r.width, r.height)); + t.abrupt("return", n.getImageData(0, 0, r.width, r.height)); case 7: case "end": - return e.stop() + return t.stop() } } - ), e) + ), t) } ))); - return function(t) { - return e.apply(this, arguments) + return function(e) { + return t.apply(this, arguments) } }(), - e.next = 28, - v("data:image/bmp;base64," + Object(a["o"])(f.sealObj.ofdArray)); + v = void 0, + "bmp" !== f.sealObj.type) { + t.next = 38; + break + } + return t.next = 28, + g("data:image/bmp;base64," + Object(a["o"])(f.sealObj.ofdArray)); case 28: - for (w = e.sent, + for (w = t.sent, C = document.createElement("canvas"), C.width = w.width, C.height = w.height, - A = C.getContext("2d"), - _ = 0; _ < w.data.length / 4; _++) - w.data[4 * _] > 250 && w.data[4 * _ + 1] > 250 && w.data[4 * _ + 2] > 250 && (w.data[4 * _ + 3] = 0); - A.putImageData(w, 0, 0), - g = C.toDataURL("image/png", 1), - e.next = 39; + _ = C.getContext("2d"), + A = 0; A < w.data.length / 4; A++) + w.data[4 * A] > 250 && w.data[4 * A + 1] > 250 && w.data[4 * A + 2] > 250 && (w.data[4 * A + 3] = 0); + _.putImageData(w, 0, 0), + v = C.toDataURL("image/png", 1), + t.next = 48; break; case 38: - g = "data:image/png;base64," + Object(a["o"])(f.sealObj.ofdArray); - case 39: - I = [], - I = I.concat(f.stampAnnot), - E = l(I); + return t.next = 40, + g("data:image/png;base64," + Object(a["o"])(f.sealObj.ofdArray)); + case 40: + for (I = t.sent, + E = document.createElement("canvas"), + E.width = I.width, + E.height = I.height, + T = E.getContext("2d"), + x = !1, + A = 0; A < I.data.length / 4; A++) + I.data[4 * A] > 250 && I.data[4 * A + 1] > 250 && I.data[4 * A + 2] > 250 && (I.data[4 * A + 3] = 0, + x = !0); + x ? (T.putImageData(I, 0, 0), + v = E.toDataURL("image/png", 1)) : v = "data:image/png;base64," + Object(a["o"])(f.sealObj.ofdArray); + case 48: + P = [], + P = P.concat(f.stampAnnot), + k = l(P); try { - for (E.s(); !(T = E.n()).done; ) - x = T.value, - x && (P = { - img: g, - pageId: x["@_PageRef"], - boundary: Object(a["k"])(x["@_Boundary"]), - clip: Object(a["k"])(x["@_Clip"]) + for (k.s(); !(D = k.n()).done; ) + O = D.value, + O && (R = { + img: v, + pageId: O["@_PageRef"], + boundary: Object(a["k"])(O["@_Boundary"]), + clip: Object(a["k"])(O["@_Clip"]) }, - c[x["@_PageRef"]] || (c[x["@_PageRef"]] = []), - c[x["@_PageRef"]].push({ + c[O["@_PageRef"]] || (c[O["@_PageRef"]] = []), + c[O["@_PageRef"]].push({ type: "png", - obj: P, + obj: R, stamp: f })) - } catch (k) { - E.e(k) + } catch (N) { + k.e(N) } finally { - E.f() + k.f() } - e.next = 46; + t.next = 55; break; - case 45: + case 54: console.log(f.sealObj.type); - case 46: - e.next = 11; + case 55: + t.next = 11; break; - case 48: - e.next = 53; - break; - case 50: - e.prev = 50, - e.t0 = e["catch"](9), - u.e(e.t0); - case 53: - return e.prev = 53, - u.f(), - e.finish(53); - case 56: - return e.abrupt("return", [t, i, n, c]); case 57: + t.next = 62; + break; + case 59: + t.prev = 59, + t.t0 = t["catch"](9), + u.e(t.t0); + case 62: + return t.prev = 62, + u.f(), + t.finish(62); + case 65: + return t.abrupt("return", [e, i, n, c]); + case 66: case "end": - return e.stop() + return t.stop() } } - ), e, null, [[9, 50, 53, 56]]) + ), t, null, [[9, 59, 62, 65]]) } ))); - return function(t, r) { - return e.apply(this, arguments) + return function(e, r) { + return t.apply(this, arguments) } }() , E = function() { - var e = S(y().mark((function e(t) { + var t = S(y().mark((function t(e) { var r, n, i, o, a, s, c, u, d, l, h; - return y().wrap((function(e) { + return y().wrap((function(t) { while (1) - switch (e.prev = e.next) { + switch (t.prev = t.next) { case 0: - return r = f(t, 4), + return r = f(e, 4), n = r[0], i = r[1], o = r[2], a = r[3], - e.next = 3, - L(n, o); + t.next = 3, + U(n, o); case 3: - if (s = e.sent, + if (s = t.sent, c = s["json"]["ofd:Document"], u = c["ofd:Annotations"], d = [], !u) { - e.next = 16; + t.next = 16; break } if (-1 !== u.indexOf("/") && (l = u.substring(0, u.indexOf("/"))), -1 === u.indexOf(i) && (u = "".concat(i, "/").concat(u)), 0 === u.indexOf("/") && (u = u.substring(1)), !n.files[u]) { - e.next = 16; + t.next = 16; break } - return e.next = 14, - L(n, u); + return t.next = 14, + U(n, u); case 14: - u = e.sent, + u = t.sent, d = d.concat(u["json"]["ofd:Annotations"]["ofd:Page"]); case 16: - return e.next = 18, + return t.next = 18, T(l, d, i, n); case 18: - return h = e.sent, - e.abrupt("return", [n, i, c, a, h]); + return h = t.sent, + t.abrupt("return", [n, i, c, a, h]); case 20: case "end": - return e.stop() + return t.stop() } } - ), e) + ), t) } ))); - return function(t) { - return e.apply(this, arguments) + return function(e) { + return t.apply(this, arguments) } }() , T = function() { - var e = S(y().mark((function e(t, r, n, i) { + var t = S(y().mark((function t(e, r, n, i) { var o, s, c, u, d, f, h, p, m, b, g, v, S, w, C; - return y().wrap((function(e) { + return y().wrap((function(t) { while (1) - switch (e.prev = e.next) { + switch (t.prev = t.next) { case 0: o = {}, s = l(r), - e.prev = 2, + t.prev = 2, s.s(); case 4: if ((c = s.n()).done) { - e.next = 44; + t.next = 44; break } if (u = c.value, u) { - e.next = 8; + t.next = 8; break } - return e.abrupt("continue", 42); + return t.abrupt("continue", 42); case 8: if (d = u["@_PageID"], f = u["ofd:FileLoc"], f = Object(a["l"])(f), - t && -1 === f.indexOf(t) && (f = "".concat(t, "/").concat(f)), + e && -1 === f.indexOf(e) && (f = "".concat(e, "/").concat(f)), -1 === f.indexOf(n) && (f = "".concat(n, "/").concat(f)), !i.files[f]) { - e.next = 42; + t.next = 42; break } - return e.next = 16, - L(i, f); + return t.next = 16, + U(i, f); case 16: - h = e.sent, + h = t.sent, p = [], p = p.concat(h["json"]["ofd:PageAnnot"]["ofd:Annot"]), o[d] || (o[d] = []), m = l(p), - e.prev = 21, + t.prev = 21, m.s(); case 23: if ((b = m.n()).done) { - e.next = 34; + t.next = 34; break } if (g = b.value, g) { - e.next = 27; + t.next = 27; break } - return e.abrupt("continue", 32); + return t.abrupt("continue", 32); case 27: v = g["@_Type"], S = !g["@_Visible"] || g["@_Visible"], @@ -5309,55 +5512,55 @@ }, o[d].push(C); case 32: - e.next = 23; + t.next = 23; break; case 34: - e.next = 39; + t.next = 39; break; case 36: - e.prev = 36, - e.t0 = e["catch"](21), - m.e(e.t0); + t.prev = 36, + t.t0 = t["catch"](21), + m.e(t.t0); case 39: - return e.prev = 39, + return t.prev = 39, m.f(), - e.finish(39); + t.finish(39); case 42: - e.next = 4; + t.next = 4; break; case 44: - e.next = 49; + t.next = 49; break; case 46: - e.prev = 46, - e.t1 = e["catch"](2), - s.e(e.t1); + t.prev = 46, + t.t1 = t["catch"](2), + s.e(t.t1); case 49: - return e.prev = 49, + return t.prev = 49, s.f(), - e.finish(49); + t.finish(49); case 52: - return e.abrupt("return", o); + return t.abrupt("return", o); case 53: case "end": - return e.stop() + return t.stop() } } - ), e, null, [[2, 46, 49, 52], [21, 36, 39, 42]]) + ), t, null, [[2, 46, 49, 52], [21, 36, 39, 42]]) } ))); - return function(t, r, n, i) { - return e.apply(this, arguments) + return function(e, r, n, i) { + return t.apply(this, arguments) } }() , x = function() { - var e = S(y().mark((function e(t) { + var t = S(y().mark((function t(e) { var r, n, i, o, a, s, c, u, d, l, h, p, m; - return y().wrap((function(e) { + return y().wrap((function(t) { while (1) - switch (e.prev = e.next) { + switch (t.prev = t.next) { case 0: - if (r = f(t, 5), + if (r = f(e, 5), n = r[0], i = r[1], o = r[2], @@ -5369,54 +5572,54 @@ l = {}, h = [], !c) { - e.next = 23; + t.next = 23; break } if (-1 == c.indexOf(i) && (c = "".concat(i, "/").concat(c)), !n.files[c]) { - e.next = 23; + t.next = 23; break } - return e.next = 11, - L(n, c); + return t.next = 11, + U(n, c); case 11: - return p = e.sent, + return p = t.sent, m = p["json"]["ofd:Res"], - e.next = 15, + t.next = 15, O(m, n, i); case 15: - return u = e.sent, - e.next = 18, + return u = t.sent, + t.next = 18, R(m); case 18: - return d = e.sent, - e.next = 21, - M(n, m, i); + return d = t.sent, + t.next = 21, + N(n, m, i); case 21: - l = e.sent, - h = N(m); + l = t.sent, + h = M(m); case 23: - return e.abrupt("return", [n, i, o, a, s, u, d, l, h]); + return t.abrupt("return", [n, i, o, a, s, u, d, l, h]); case 24: case "end": - return e.stop() + return t.stop() } } - ), e) + ), t) } ))); - return function(t) { - return e.apply(this, arguments) + return function(e) { + return t.apply(this, arguments) } }() , P = function() { - var e = S(y().mark((function e(t) { - var r, n, i, o, a, s, c, u, d, h, p, m, b, g, v, S, w, C, A, _, I, E, T; - return y().wrap((function(e) { + var t = S(y().mark((function t(e) { + var r, n, i, o, a, s, c, u, d, h, p, m, b, g, v, S, w, C, _, A, I, E, T; + return y().wrap((function(t) { while (1) - switch (e.prev = e.next) { + switch (t.prev = t.next) { case 0: - if (r = f(t, 9), + if (r = f(e, 9), n = r[0], i = r[1], o = r[2], @@ -5428,7 +5631,7 @@ h = r[8], p = o["ofd:CommonData"]["ofd:PublicRes"], !p) { - e.next = 30; + t.next = 30; break } if (m = [], @@ -5449,62 +5652,62 @@ w = m; case 6: if (!(S < w.length)) { - e.next = 30; + t.next = 30; break } if (C = w[S], -1 == C.indexOf(i) && (C = "".concat(i, "/").concat(C)), !n.files[C]) { - e.next = 27; + t.next = 27; break } - return e.next = 12, - L(n, C); + return t.next = 12, + U(n, C); case 12: - return A = e.sent, - _ = A["json"]["ofd:Res"], - e.next = 16, - O(_, n, i); + return _ = t.sent, + A = _["json"]["ofd:Res"], + t.next = 16, + O(A, n, i); case 16: - return I = e.sent, + return I = t.sent, c = Object.assign(c, I), - e.next = 20, - R(_); + t.next = 20, + R(A); case 20: - return E = e.sent, + return E = t.sent, u = Object.assign(u, E), - e.next = 24, - M(n, _, i); + t.next = 24, + N(n, A, i); case 24: - T = e.sent, + T = t.sent, d = Object.assign(d, T), - h = h.concat(N(_)); + h = h.concat(M(A)); case 27: S++, - e.next = 6; + t.next = 6; break; case 30: - return e.abrupt("return", [n, i, o, a, s, c, u, d, h]); + return t.abrupt("return", [n, i, o, a, s, c, u, d, h]); case 31: case "end": - return e.stop() + return t.stop() } } - ), e) + ), t) } ))); - return function(t) { - return e.apply(this, arguments) + return function(e) { + return t.apply(this, arguments) } }() , k = function() { - var e = S(y().mark((function e(t) { + var t = S(y().mark((function t(e) { var r, n, i, o, a, s, c, u, d, h, p, m, b, g, v, S, w; - return y().wrap((function(e) { + return y().wrap((function(t) { while (1) - switch (e.prev = e.next) { + switch (t.prev = t.next) { case 0: - r = f(t, 9), + r = f(e, 9), n = r[0], i = r[1], o = r[2], @@ -5519,59 +5722,59 @@ m = m.concat(p), b = {}, g = l(m), - e.prev = 6, + t.prev = 6, g.s(); case 8: if ((v = g.n()).done) { - e.next = 17; + t.next = 17; break } if (S = v.value, !S) { - e.next = 15; + t.next = 15; break } - return e.next = 13, + return t.next = 13, B(n, S, i); case 13: - w = e.sent, + w = t.sent, w && (b[Object.keys(w)[0]] = w[Object.keys(w)[0]]); case 15: - e.next = 8; + t.next = 8; break; case 17: - e.next = 22; + t.next = 22; break; case 19: - e.prev = 19, - e.t0 = e["catch"](6), - g.e(e.t0); + t.prev = 19, + t.t0 = t["catch"](6), + g.e(t.t0); case 22: - return e.prev = 22, + return t.prev = 22, g.f(), - e.finish(22); + t.finish(22); case 25: - return e.abrupt("return", [n, i, o, a, s, b, c, u, d, h]); + return t.abrupt("return", [n, i, o, a, s, b, c, u, d, h]); case 26: case "end": - return e.stop() + return t.stop() } } - ), e, null, [[6, 19, 22, 25]]) + ), t, null, [[6, 19, 22, 25]]) } ))); - return function(t) { - return e.apply(this, arguments) + return function(e) { + return t.apply(this, arguments) } }() , D = function() { - var e = S(y().mark((function e(t) { - var r, n, i, o, a, s, c, u, d, h, p, m, b, g, v, S, w, C, A, _, I; - return y().wrap((function(e) { + var t = S(y().mark((function t(e) { + var r, n, i, o, a, s, c, u, d, h, p, m, b, g, v, S, w, C, _, A, I; + return y().wrap((function(t) { while (1) - switch (e.prev = e.next) { + switch (t.prev = t.next) { case 0: - r = f(t, 10), + r = f(e, 10), n = r[0], i = r[1], o = r[2], @@ -5587,44 +5790,44 @@ b = b.concat(m), g = [], v = l(b), - e.prev = 6, + t.prev = 6, v.s(); case 8: if ((S = v.n()).done) { - e.next = 17; + t.next = 17; break } if (w = S.value, !w) { - e.next = 15; + t.next = 15; break } - return e.next = 13, + return t.next = 13, B(n, w, i); case 13: - C = e.sent, - C && (A = Object.keys(C)[0], - _ = a[A], - _ && (C[A].stamp = _), - I = s[A], - I && (C[A].annotation = I), + C = t.sent, + C && (_ = Object.keys(C)[0], + A = a[_], + A && (C[_].stamp = A), + I = s[_], + I && (C[_].annotation = I), g.push(C)); case 15: - e.next = 8; + t.next = 8; break; case 17: - e.next = 22; + t.next = 22; break; case 19: - e.prev = 19, - e.t0 = e["catch"](6), - v.e(e.t0); + t.prev = 19, + t.t0 = t["catch"](6), + v.e(t.t0); case 22: - return e.prev = 22, + return t.prev = 22, v.f(), - e.finish(22); + t.finish(22); case 25: - return e.abrupt("return", { + return t.abrupt("return", { doc: i, document: o, pages: g, @@ -5637,27 +5840,27 @@ }); case 26: case "end": - return e.stop() + return t.stop() } } - ), e, null, [[6, 19, 22, 25]]) + ), t, null, [[6, 19, 22, 25]]) } ))); - return function(t) { - return e.apply(this, arguments) + return function(e) { + return t.apply(this, arguments) } }() , O = function() { - var e = S(y().mark((function e(t, r, n) { + var t = S(y().mark((function t(e, r, n) { var i, o, a, s, c, u, d, f, h, p, m, b, g, v; - return y().wrap((function(e) { + return y().wrap((function(t) { while (1) - switch (e.prev = e.next) { + switch (t.prev = t.next) { case 0: - if (i = t["ofd:Fonts"], + if (i = e["ofd:Fonts"], o = {}, !i) { - e.next = 31; + t.next = 31; break } if (a = [], @@ -5688,31 +5891,31 @@ } else a = a.concat(i["ofd:Font"]); p = l(a), - e.prev = 6, + t.prev = 6, p.s(); case 8: if ((m = p.n()).done) { - e.next = 23; + t.next = 23; break } if (b = m.value, !b) { - e.next = 21; + t.next = 21; break } if (g = null, !b["ofd:FontFile"]) { - e.next = 20; + t.next = 20; break } return v = b["ofd:FontFile"], - t["@_BaseLoc"] && -1 === v.indexOf(t["@_BaseLoc"]) && (v = "".concat(t["@_BaseLoc"], "/").concat(v)), + e["@_BaseLoc"] && -1 === v.indexOf(e["@_BaseLoc"]) && (v = "".concat(e["@_BaseLoc"], "/").concat(v)), -1 === v.indexOf(n) && (v = "".concat(n, "/").concat(v)), 0 === v.indexOf("/") && (v = v.substring(1)), - e.next = 19, + t.next = 19, q(r, v); case 19: - g = e.sent; + g = t.sent; case 20: o[b["@_ID"]] = { familyName: b["@_FamilyName"], @@ -5720,41 +5923,41 @@ fontByte: g }; case 21: - e.next = 8; + t.next = 8; break; case 23: - e.next = 28; + t.next = 28; break; case 25: - e.prev = 25, - e.t0 = e["catch"](6), - p.e(e.t0); + t.prev = 25, + t.t0 = t["catch"](6), + p.e(t.t0); case 28: - return e.prev = 28, + return t.prev = 28, p.f(), - e.finish(28); + t.finish(28); case 31: - return e.abrupt("return", o); + return t.abrupt("return", o); case 32: case "end": - return e.stop() + return t.stop() } } - ), e, null, [[6, 25, 28, 31]]) + ), t, null, [[6, 25, 28, 31]]) } ))); - return function(t, r, n) { - return e.apply(this, arguments) + return function(e, r, n) { + return t.apply(this, arguments) } }() , R = function() { - var e = S(y().mark((function e(t) { + var t = S(y().mark((function t(e) { var r, n, i, o, a, s; - return y().wrap((function(e) { + return y().wrap((function(t) { while (1) - switch (e.prev = e.next) { + switch (t.prev = t.next) { case 0: - if (r = t["ofd:DrawParams"], + if (r = e["ofd:DrawParams"], n = {}, r) { i = [], @@ -5775,30 +5978,30 @@ o.f() } } - return e.abrupt("return", n); + return t.abrupt("return", n); case 4: case "end": - return e.stop() + return t.stop() } } - ), e) + ), t) } ))); - return function(t) { - return e.apply(this, arguments) + return function(e) { + return t.apply(this, arguments) } }() - , M = function() { - var e = S(y().mark((function e(t, r, n) { - var i, o, s, c, u, d, f, h, p, m, b, g, v, S, w, C, A, _, I; - return y().wrap((function(e) { + , N = function() { + var t = S(y().mark((function t(e, r, n) { + var i, o, s, c, u, d, f, h, p, m, b, g, v, S, w, C, _, A, I; + return y().wrap((function(t) { while (1) - switch (e.prev = e.next) { + switch (t.prev = t.next) { case 0: if (i = r["ofd:MultiMedias"], o = {}, !i) { - e.next = 57; + t.next = 57; break } if (s = [], @@ -5829,122 +6032,122 @@ } else s = s.concat(i["ofd:MultiMedia"]); m = l(s), - e.prev = 6, + t.prev = 6, m.s(); case 8: if ((b = m.n()).done) { - e.next = 49; + t.next = 49; break } if (g = b.value, null === g || void 0 === g || !g) { - e.next = 47; + t.next = 47; break } if (v = g["ofd:MediaFile"], void 0 !== v) { - e.next = 14; + t.next = 14; break } - return e.abrupt("continue", 47); + return t.abrupt("continue", 47); case 14: if (r["@_BaseLoc"] && -1 === v.indexOf(r["@_BaseLoc"]) && (v = "".concat(r["@_BaseLoc"], "/").concat(v)), -1 === v.indexOf(n) && (v = "".concat(n, "/").concat(v)), "image" !== g["@_Type"].toLowerCase()) { - e.next = 46; + t.next = 46; break } if (S = g["@_Format"], w = Object(a["f"])(v), (!S || "gbig2" !== S.toLowerCase() && "jb2" !== S.toLowerCase()) && (!w || "jb2" !== w.toLowerCase() && "gbig2" !== w.toLowerCase())) { - e.next = 26; + t.next = 26; break } - return e.next = 22, - X(t, v); + return t.next = 22, + X(e, v); case 22: - C = e.sent, + C = t.sent, o[g["@_ID"]] = C, - e.next = 44; + t.next = 44; break; case 26: if ((!S || "jpg" !== S.toLowerCase() && "jpeg" !== S.toLowerCase()) && (!w || "jpg" !== w.toLowerCase() && "jpeg" !== w.toLowerCase())) { - e.next = 33; + t.next = 33; break } - return e.next = 29, - z(t, v); + return t.next = 29, + z(e, v); case 29: - A = e.sent, + _ = t.sent, o[g["@_ID"]] = { - img: A, + img: _, format: "jpeg" }, - e.next = 44; + t.next = 44; break; case 33: if (!(S && "jp2" === S.toLowerCase() || w && "jp2" === w.toLowerCase())) { - e.next = 40; + t.next = 40; break } - return e.next = 36, - G(t, v); + return t.next = 36, + G(e, v); case 36: - _ = e.sent, + A = t.sent, o[g["@_ID"]] = { - img: _, + img: A, format: "jp2" }, - e.next = 44; + t.next = 44; break; case 40: - return e.next = 42, - W(t, v); + return t.next = 42, + W(e, v); case 42: - I = e.sent, + I = t.sent, o[g["@_ID"]] = { img: I, format: "png" }; case 44: - e.next = 47; + t.next = 47; break; case 46: o[g["@_ID"]] = v; case 47: - e.next = 8; + t.next = 8; break; case 49: - e.next = 54; + t.next = 54; break; case 51: - e.prev = 51, - e.t0 = e["catch"](6), - m.e(e.t0); + t.prev = 51, + t.t0 = t["catch"](6), + m.e(t.t0); case 54: - return e.prev = 54, + return t.prev = 54, m.f(), - e.finish(54); + t.finish(54); case 57: - return e.abrupt("return", o); + return t.abrupt("return", o); case 58: case "end": - return e.stop() + return t.stop() } } - ), e, null, [[6, 51, 54, 57]]) + ), t, null, [[6, 51, 54, 57]]) } ))); - return function(t, r, n) { - return e.apply(this, arguments) + return function(e, r, n) { + return t.apply(this, arguments) } }() - , N = function(e) { - var t = e["ofd:CompositeGraphicUnits"] + , M = function(t) { + var e = t["ofd:CompositeGraphicUnits"] , r = []; - if (t) { + if (e) { var n = []; - n = n.concat(t["ofd:CompositeGraphicUnit"]); + n = n.concat(e["ofd:CompositeGraphicUnit"]); var i, o = l(n); try { for (o.s(); !(i = o.n()).done; ) { @@ -5960,95 +6163,95 @@ return r } , B = function() { - var e = S(y().mark((function e(t, r, n) { + var t = S(y().mark((function t(e, r, n) { var i, o, a, s; - return y().wrap((function(e) { + return y().wrap((function(t) { while (1) - switch (e.prev = e.next) { + switch (t.prev = t.next) { case 0: i = r["@_BaseLoc"], -1 == i.indexOf(n) && (i = "".concat(n, "/").concat(i)), - e.t0 = y().keys(t.files); + t.t0 = y().keys(e.files); case 3: - if ((e.t1 = e.t0()).done) { - e.next = 10; + if ((t.t1 = t.t0()).done) { + t.next = 10; break } - if (o = e.t1.value, + if (o = t.t1.value, o.toLowerCase() != i.toLowerCase()) { - e.next = 8; + t.next = 8; break } return i = o, - e.abrupt("break", 10); + t.abrupt("break", 10); case 8: - e.next = 3; + t.next = 3; break; case 10: - if (t.files[i]) { - e.next = 12; + if (e.files[i]) { + t.next = 12; break } - return e.abrupt("return", null); + return t.abrupt("return", null); case 12: - return e.next = 14, - L(t, i); + return t.next = 14, + U(e, i); case 14: - return a = e.sent, + return a = t.sent, s = {}, s[r["@_ID"]] = { json: a["json"]["ofd:Page"], xml: a["xml"] }, - e.abrupt("return", s); + t.abrupt("return", s); case 18: case "end": - return e.stop() + return t.stop() } } - ), e) + ), t) } ))); - return function(t, r, n) { - return e.apply(this, arguments) + return function(e, r, n) { + return t.apply(this, arguments) } }() , F = function() { - var e = S(y().mark((function e(t, r, n) { + var t = S(y().mark((function t(e, r, n) { var i, o, s, c, u, d, f, h, p; - return y().wrap((function(e) { + return y().wrap((function(t) { while (1) - switch (e.prev = e.next) { + switch (t.prev = t.next) { case 0: if (i = [], !r) { - e.next = 37; + t.next = 37; break } if (r = Object(a["l"])(r), -1 === r.indexOf(n) && (r = "".concat(n, "/").concat(r)), - !t.files[r]) { - e.next = 37; + !e.files[r]) { + t.next = 37; break } - return e.next = 7, - L(t, r); + return t.next = 7, + U(e, r); case 7: - o = e.sent, + o = t.sent, s = o["json"]["ofd:Signatures"]["ofd:Signature"], c = [], c = c.concat(s), u = l(c), - e.prev = 12, + t.prev = 12, u.s(); case 14: if ((d = u.n()).done) { - e.next = 29; + t.next = 29; break } if (f = d.value, !f) { - e.next = 27; + t.next = 27; break } return h = f["@_BaseLoc"], @@ -6056,121 +6259,121 @@ h = Object(a["l"])(h), -1 === h.indexOf("Signs") && (h = "Signs/".concat(h)), -1 === h.indexOf(n) && (h = "".concat(n, "/").concat(h)), - e.t0 = i, - e.next = 25, - K(t, h, p); + t.t0 = i, + t.next = 25, + K(e, h, p); case 25: - e.t1 = e.sent, - e.t0.push.call(e.t0, e.t1); + t.t1 = t.sent, + t.t0.push.call(t.t0, t.t1); case 27: - e.next = 14; + t.next = 14; break; case 29: - e.next = 34; + t.next = 34; break; case 31: - e.prev = 31, - e.t2 = e["catch"](12), - u.e(e.t2); + t.prev = 31, + t.t2 = t["catch"](12), + u.e(t.t2); case 34: - return e.prev = 34, + return t.prev = 34, u.f(), - e.finish(34); + t.finish(34); case 37: - return e.abrupt("return", i); + return t.abrupt("return", i); case 38: case "end": - return e.stop() + return t.stop() } } - ), e, null, [[12, 31, 34, 37]]) + ), t, null, [[12, 31, 34, 37]]) } ))); - return function(t, r, n) { - return e.apply(this, arguments) + return function(e, r, n) { + return t.apply(this, arguments) } }() , j = function() { - var e = S(y().mark((function e(t, r) { - return y().wrap((function(e) { - while (1) - switch (e.prev = e.next) { - case 0: - return e.abrupt("return", t.files[r].async("uint8array")); - case 1: - case "end": - return e.stop() - } - } - ), e) - } - ))); - return function(t, r) { - return e.apply(this, arguments) - } - }() - , K = function() { - var t = S(y().mark((function t(r, n, i) { - var o, a, s, u, l, f; + var t = S(y().mark((function t(e, r) { return y().wrap((function(t) { while (1) switch (t.prev = t.next) { case 0: - return t.next = 2, - L(r, n); + return t.abrupt("return", e.files[r].async("uint8array")); + case 1: + case "end": + return t.stop() + } + } + ), t) + } + ))); + return function(e, r) { + return t.apply(this, arguments) + } + }() + , K = function() { + var e = S(y().mark((function e(r, n, i) { + var o, a, s, u, l, f; + return y().wrap((function(e) { + while (1) + switch (e.prev = e.next) { + case 0: + return e.next = 2, + U(r, n); case 2: - return o = t.sent, + return o = e.sent, s = o["json"]["ofd:Signature"]["ofd:SignedValue"], s = s.toString().replace("/", ""), r.files[s] || (s = "".concat(n.substring(0, n.lastIndexOf("/")), "/").concat(s)), - t.next = 8, + e.next = 8, Object(c["a"])(r, s); case 8: - if (a = t.sent, + if (a = e.sent, void 0 !== a.type || null == o["json"]["ofd:Signature"]["ofd:SignedInfo"]["ofd:Seal"]) { - t.next = 16; + e.next = 16; break } return u = o["json"]["ofd:Signature"]["ofd:SignedInfo"]["ofd:Seal"]["ofd:BaseLoc"], 0 === u.indexOf("/") && (u = u.substring(1)), r.files[u] || (u = "".concat(n.substring(0, n.lastIndexOf("/")), "/").concat(u)), - t.next = 15, + e.next = 15, Object(c["a"])(r, u); case 15: - a = t.sent; + a = e.sent; case 16: return l = o["json"]["ofd:Signature"]["ofd:SignedInfo"]["ofd:References"]["@_CheckMethod"], - e.toBeChecked = new Map, + t.toBeChecked = new Map, f = new Array, o["json"]["ofd:Signature"]["ofd:SignedInfo"]["ofd:References"]["ofd:Reference"].forEach(function() { - var e = S(y().mark((function e(t) { + var t = S(y().mark((function t(e) { var n, i, o, a; - return y().wrap((function(e) { + return y().wrap((function(t) { while (1) - switch (e.prev = e.next) { + switch (t.prev = t.next) { case 0: - if (0 != Object.keys(t).length && 0 != Object.keys(t["@_FileRef"]).length) { - e.next = 2; + if (0 != Object.keys(e).length && 0 != Object.keys(e["@_FileRef"]).length) { + t.next = 2; break } - return e.abrupt("return", !0); + return t.abrupt("return", !0); case 2: - if (n = t["ofd:CheckValue"], - i = t["@_FileRef"].replace("/", ""), + if (n = e["ofd:CheckValue"], + i = e["@_FileRef"].replace("/", ""), !r.files[i]) { - e.next = 11; + t.next = 11; break } - return e.next = 7, + return t.next = 7, j(r, i); case 7: - o = e.sent, + o = t.sent, f.push({ fileData: o, hashed: n, checkMethod: l }), - e.next = 12; + t.next = 12; break; case 11: f.push((a = { @@ -6181,18 +6384,18 @@ a)); case 12: case "end": - return e.stop() + return t.stop() } } - ), e) + ), t) } ))); - return function(t) { - return e.apply(this, arguments) + return function(e) { + return t.apply(this, arguments) } }()), - e.toBeChecked.set(i, f), - t.abrupt("return", { + t.toBeChecked.set(i, f), + e.abrupt("return", { stampAnnot: o["json"]["ofd:Signature"]["ofd:SignedInfo"]["ofd:StampAnnot"], sealObj: a, signedInfo: { @@ -6205,274 +6408,274 @@ }); case 22: case "end": - return t.stop() + return e.stop() } } - ), t) + ), e) } ))); - return function(e, r, n) { - return t.apply(this, arguments) + return function(t, r, n) { + return e.apply(this, arguments) } }() - , U = function(e) { - var t = this; + , L = function(t) { + var e = this; return new Promise((function(r, i) { - n["a"].call(t, S(y().mark((function t() { - return y().wrap((function(t) { + n["a"].call(e, S(y().mark((function e() { + return y().wrap((function(e) { while (1) - switch (t.prev = t.next) { + switch (e.prev = e.next) { case 0: - return t.next = 2, - C(e.sealObj.ofdArray); + return e.next = 2, + C(t.sealObj.ofdArray); case 2: - return t.abrupt("return", t.sent); + return e.abrupt("return", e.sent); case 3: case "end": - return t.stop() + return e.stop() } } - ), t) + ), e) } - ))), A, _).then((function(e) { - r(e) + ))), _, A).then((function(t) { + r(t) } - )).catch((function(e) { - i(e) + )).catch((function(t) { + i(t) } )) } )) } - , L = function() { - var e = S(y().mark((function e(t, r) { - return y().wrap((function(e) { + , U = function() { + var t = S(y().mark((function t(e, r) { + return y().wrap((function(t) { while (1) - switch (e.prev = e.next) { + switch (t.prev = t.next) { case 0: - return e.abrupt("return", new Promise((function(e, n) { - t.files[r].async("string").then((function(t) { + return t.abrupt("return", new Promise((function(t, n) { + e.files[r].async("string").then((function(e) { var r = { attributeNamePrefix: "@_", ignoreAttributes: !1, parseNodeValue: !1, trimValues: !1 } - , n = w.parse(t, r) + , n = w.parse(e, r) , i = { - xml: t, + xml: e, json: n }; - e(i) + t(i) } - ), (function(e) { - n(e) + ), (function(t) { + n(t) } )) } ))); case 1: case "end": - return e.stop() + return t.stop() } } - ), e) + ), t) } ))); - return function(t, r) { - return e.apply(this, arguments) + return function(e, r) { + return t.apply(this, arguments) } }() , X = function() { - var e = S(y().mark((function e(t, r) { - return y().wrap((function(e) { + var t = S(y().mark((function t(e, r) { + return y().wrap((function(t) { while (1) - switch (e.prev = e.next) { + switch (t.prev = t.next) { case 0: - return e.abrupt("return", new Promise((function(e, n) { - t.files[r].async("uint8array").then((function(t) { + return t.abrupt("return", new Promise((function(t, n) { + e.files[r].async("uint8array").then((function(e) { var r = new s["a"] - , n = r.parse(t); - e({ + , n = r.parse(e); + t({ img: n, width: r.width, height: r.height, format: "gbig2" }) } - ), (function(e) { - n(e) + ), (function(t) { + n(t) } )) } ))); case 1: case "end": - return e.stop() + return t.stop() } } - ), e) + ), t) } ))); - return function(t, r) { - return e.apply(this, arguments) + return function(e, r) { + return t.apply(this, arguments) } }() , z = function() { - var e = S(y().mark((function e(t, r) { - return y().wrap((function(e) { + var t = S(y().mark((function t(e, r) { + return y().wrap((function(t) { while (1) - switch (e.prev = e.next) { + switch (t.prev = t.next) { case 0: - return e.abrupt("return", new Promise((function(e, n) { - t.files[r].async("base64").then((function(t) { - var r = "data:image/jpeg;base64," + t + return t.abrupt("return", new Promise((function(t, n) { + e.files[r].async("base64").then((function(e) { + var r = "data:image/jpeg;base64," + e , n = new Image; n.src = r, n.onload = function() { - e({ + t({ width: n.width, height: n.height, img: r }) } , - e(r) + t(r) } - ), (function(e) { - n(e) + ), (function(t) { + n(t) } )) } ))); case 1: case "end": - return e.stop() + return t.stop() } } - ), e) + ), t) } ))); - return function(t, r) { - return e.apply(this, arguments) + return function(e, r) { + return t.apply(this, arguments) } }() , G = function() { - var e = S(y().mark((function e(t, r) { - return y().wrap((function(e) { + var t = S(y().mark((function t(e, r) { + return y().wrap((function(t) { while (1) - switch (e.prev = e.next) { + switch (t.prev = t.next) { case 0: - return e.abrupt("return", new Promise((function(e, n) { - t.files[r].async("base64").then((function(t) { - var r = "data:image/jp2;base64," + t + return t.abrupt("return", new Promise((function(t, n) { + e.files[r].async("base64").then((function(e) { + var r = "data:image/jp2;base64," + e , n = new Image; n.src = r, n.onload = function() { - e({ + t({ width: n.width, height: n.height, img: r }) } , - e(r) + t(r) } - ), (function(e) { - n(e) + ), (function(t) { + n(t) } )) } ))); case 1: case "end": - return e.stop() + return t.stop() } } - ), e) + ), t) } ))); - return function(t, r) { - return e.apply(this, arguments) + return function(e, r) { + return t.apply(this, arguments) } }() , W = function() { - var e = S(y().mark((function e(t, r) { - return y().wrap((function(e) { + var t = S(y().mark((function t(e, r) { + return y().wrap((function(t) { while (1) - switch (e.prev = e.next) { + switch (t.prev = t.next) { case 0: - if (null != t.files[r]) { - e.next = 2; + if (null != e.files[r]) { + t.next = 2; break } - return e.abrupt("return", null); + return t.abrupt("return", null); case 2: - return e.abrupt("return", new Promise((function(e, n) { - t.files[r].async("base64").then((function(t) { - var r = "data:image/png;base64," + t + return t.abrupt("return", new Promise((function(t, n) { + e.files[r].async("base64").then((function(e) { + var r = "data:image/png;base64," + e , n = new Image; n.src = r, n.onload = function() { - e({ + t({ width: n.width, height: n.height, img: r }) } , - e(r) + t(r) } - ), (function(e) { - n(e) + ), (function(t) { + n(t) } )) } ))); case 3: case "end": - return e.stop() + return t.stop() } } - ), e) + ), t) } ))); - return function(t, r) { - return e.apply(this, arguments) + return function(e, r) { + return t.apply(this, arguments) } }() , q = function() { - var e = S(y().mark((function e(t, r) { - return y().wrap((function(e) { + var t = S(y().mark((function t(e, r) { + return y().wrap((function(t) { while (1) - switch (e.prev = e.next) { + switch (t.prev = t.next) { case 0: - return e.abrupt("return", new Promise((function(e, n) { - t.files[r].async("arraybuffer").then((function(t) { - e(t) + return t.abrupt("return", new Promise((function(t, n) { + e.files[r].async("arraybuffer").then((function(e) { + t(e) } - ), (function(e) { - n(e) + ), (function(t) { + n(t) } )) } ))); case 1: case "end": - return e.stop() + return t.stop() } } - ), e) + ), t) } ))); - return function(t, r) { - return e.apply(this, arguments) + return function(e, r) { + return t.apply(this, arguments) } }() } ).call(this, r("c8ba")) }, - "68ee": function(e, t, r) { + "68ee": function(t, e, r) { var n = r("e330") , i = r("d039") , o = r("1626") @@ -6485,50 +6688,50 @@ , f = /^\s*(?:class|function)\b/ , h = n(f.exec) , p = !f.exec(u) - , m = function(e) { - if (!o(e)) + , m = function(t) { + if (!o(t)) return !1; try { - return l(u, d, e), + return l(u, d, t), !0 - } catch (t) { + } catch (e) { return !1 } } - , b = function(e) { - if (!o(e)) + , b = function(t) { + if (!o(t)) return !1; - switch (a(e)) { + switch (a(t)) { case "AsyncFunction": case "GeneratorFunction": case "AsyncGeneratorFunction": return !1 } try { - return p || !!h(f, c(e)) - } catch (t) { + return p || !!h(f, c(t)) + } catch (e) { return !0 } }; b.sham = !0, - e.exports = !l || i((function() { - var e; + t.exports = !l || i((function() { + var t; return m(m.call) || !m(Object) || !m((function() { - e = !0 + t = !0 } - )) || e + )) || t } )) ? b : m }, - 6964: function(e, t, r) { + 6964: function(t, e, r) { var n = r("cb2d"); - e.exports = function(e, t, r) { - for (var i in t) - n(e, i, t[i], r); - return e + t.exports = function(t, e, r) { + for (var i in e) + n(t, i, e[i], r); + return t } }, - "699f": function(e, t, r) { + "699f": function(t, e, r) { var n; n = function() { "use strict"; @@ -16822,17 +17025,17 @@ END: "" } } - .call(t, r, t, e), - void 0 === n || (e.exports = n) + .call(e, r, e, t), + void 0 === n || (t.exports = n) }, - "69f3": function(e, t, r) { - var n, i, o, a = r("7f9a"), s = r("da84"), c = r("e330"), u = r("861d"), d = r("9112"), l = r("1a2d"), f = r("c6cd"), h = r("f772"), p = r("d012"), m = "Object already initialized", b = s.TypeError, g = s.WeakMap, y = function(e) { - return o(e) ? i(e) : n(e, {}) - }, v = function(e) { - return function(t) { + "69f3": function(t, e, r) { + var n, i, o, a = r("7f9a"), s = r("da84"), c = r("e330"), u = r("861d"), d = r("9112"), l = r("1a2d"), f = r("c6cd"), h = r("f772"), p = r("d012"), m = "Object already initialized", b = s.TypeError, g = s.WeakMap, y = function(t) { + return o(t) ? i(t) : n(t, {}) + }, v = function(t) { + return function(e) { var r; - if (!u(t) || (r = i(t)).type !== e) - throw b("Incompatible receiver, " + e + " required"); + if (!u(e) || (r = i(e)).type !== t) + throw b("Incompatible receiver, " + t + " required"); return r } }; @@ -16840,42 +17043,42 @@ var S = f.state || (f.state = new g) , w = c(S.get) , C = c(S.has) - , A = c(S.set); - n = function(e, t) { - if (C(S, e)) + , _ = c(S.set); + n = function(t, e) { + if (C(S, t)) throw new b(m); - return t.facade = e, - A(S, e, t), - t + return e.facade = t, + _(S, t, e), + e } , - i = function(e) { - return w(S, e) || {} + i = function(t) { + return w(S, t) || {} } , - o = function(e) { - return C(S, e) + o = function(t) { + return C(S, t) } } else { - var _ = h("state"); - p[_] = !0, - n = function(e, t) { - if (l(e, _)) + var A = h("state"); + p[A] = !0, + n = function(t, e) { + if (l(t, A)) throw new b(m); - return t.facade = e, - d(e, _, t), - t + return e.facade = t, + d(t, A, e), + e } , - i = function(e) { - return l(e, _) ? e[_] : {} + i = function(t) { + return l(t, A) ? t[A] : {} } , - o = function(e) { - return l(e, _) + o = function(t) { + return l(t, A) } } - e.exports = { + t.exports = { set: n, get: i, has: o, @@ -16883,27 +17086,27 @@ getterFor: v } }, - "6b33": function(e, t, r) { + "6b33": function(t, e, r) { "use strict"; - function n(e, t) { - var r = "undefined" !== typeof Symbol && e[Symbol.iterator] || e["@@iterator"]; + function n(t, e) { + var r = "undefined" !== typeof Symbol && t[Symbol.iterator] || t["@@iterator"]; if (!r) { - if (Array.isArray(e) || (r = i(e)) || t && e && "number" === typeof e.length) { - r && (e = r); + if (Array.isArray(t) || (r = i(t)) || e && t && "number" === typeof t.length) { + r && (t = r); var n = 0 , o = function() {}; return { s: o, n: function() { - return n >= e.length ? { + return n >= t.length ? { done: !0 } : { done: !1, - value: e[n++] + value: t[n++] } }, - e: function(e) { - throw e + e: function(t) { + throw t }, f: o } @@ -16913,16 +17116,16 @@ var a, s = !0, c = !1; return { s: function() { - r = r.call(e) + r = r.call(t) }, n: function() { - var e = r.next(); - return s = e.done, - e + var t = r.next(); + return s = t.done, + t }, - e: function(e) { + e: function(t) { c = !0, - a = e + a = t }, f: function() { try { @@ -16934,104 +17137,104 @@ } } } - function i(e, t) { - if (e) { - if ("string" === typeof e) - return o(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) ? o(e, t) : void 0 + function i(t, e) { + if (t) { + if ("string" === typeof t) + return o(t, e); + var r = Object.prototype.toString.call(t).slice(8, -1); + return "Object" === r && t.constructor && (r = t.constructor.name), + "Map" === r || "Set" === r ? Array.from(t) : "Arguments" === r || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r) ? o(t, e) : void 0 } } - function o(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]; + function o(t, e) { + (null == e || e > t.length) && (e = t.length); + for (var r = 0, n = new Array(e); r < e; r++) + n[r] = t[r]; return n } - r.d(t, "c", (function() { + r.d(e, "c", (function() { return a } )), - r.d(t, "a", (function() { + r.d(e, "a", (function() { return s } )), - r.d(t, "m", (function() { + r.d(e, "m", (function() { return f } )), - r.d(t, "n", (function() { + r.d(e, "n", (function() { return h } )), - r.d(t, "h", (function() { + r.d(e, "h", (function() { return p } )), - r.d(t, "e", (function() { + r.d(e, "e", (function() { return m } )), - r.d(t, "b", (function() { + r.d(e, "b", (function() { return g } )), - r.d(t, "l", (function() { + r.d(e, "l", (function() { return y } )), - r.d(t, "f", (function() { + r.d(e, "f", (function() { return v } )), - r.d(t, "g", (function() { - return _ + r.d(e, "g", (function() { + return A } )), - r.d(t, "k", (function() { + r.d(e, "k", (function() { return I } )), - r.d(t, "j", (function() { + r.d(e, "j", (function() { return E } )), - r.d(t, "i", (function() { + r.d(e, "i", (function() { return T } )), - r.d(t, "d", (function() { + r.d(e, "d", (function() { return x } )), - r.d(t, "o", (function() { + r.d(e, "o", (function() { return P } )); - var a = function(e) { - var t = e.split(" ") + var a = function(t) { + var e = t.split(" ") , r = [] , n = 0; - while (n < t.length) { - if ("M" === t[n] || "S" === t[n]) { + while (n < e.length) { + if ("M" === e[n] || "S" === e[n]) { var i = { type: "M", - x: parseFloat(t[n + 1]), - y: parseFloat(t[n + 2]) + x: parseFloat(e[n + 1]), + y: parseFloat(e[n + 2]) }; n += 3, r.push(i) } - if ("L" === t[n]) { + if ("L" === e[n]) { var o = { type: "L", - x: parseFloat(t[n + 1]), - y: parseFloat(t[n + 2]) + x: parseFloat(e[n + 1]), + y: parseFloat(e[n + 2]) }; n += 3, r.push(o) - } else if ("C" === t[n]) { + } else if ("C" === e[n]) { var a = { type: "C", x: 0, @@ -17039,38 +17242,38 @@ }; r.push(a), n++ - } else if ("B" === t[n]) { + } else if ("B" === e[n]) { var s = { type: "B", - x1: parseFloat(t[n + 1]), - y1: parseFloat(t[n + 2]), - x2: parseFloat(t[n + 3]), - y2: parseFloat(t[n + 4]), - x3: parseFloat(t[n + 5]), - y3: parseFloat(t[n + 6]) + x1: parseFloat(e[n + 1]), + y1: parseFloat(e[n + 2]), + x2: parseFloat(e[n + 3]), + y2: parseFloat(e[n + 4]), + x3: parseFloat(e[n + 5]), + y3: parseFloat(e[n + 6]) }; n += 7, r.push(s) - } else if ("Q" === t[n]) { + } else if ("Q" === e[n]) { var c = { type: "Q", - x1: parseFloat(t[n + 1]), - y1: parseFloat(t[n + 2]), - x2: parseFloat(t[n + 3]), - y2: parseFloat(t[n + 4]) + x1: parseFloat(e[n + 1]), + y1: parseFloat(e[n + 2]), + x2: parseFloat(e[n + 3]), + y2: parseFloat(e[n + 4]) }; n += 5, r.push(c) - } else if ("A" === t[n]) { + } else if ("A" === e[n]) { var u = { type: "A", - rx: parseFloat(t[n + 1]), - ry: parseFloat(t[n + 2]), - rotation: parseFloat(t[n + 3]), - arc: parseFloat(t[n + 4]), - sweep: parseFloat(t[n + 5]), - x: parseFloat(t[n + 6]), - y: parseFloat(t[n + 7]) + rx: parseFloat(e[n + 1]), + ry: parseFloat(e[n + 2]), + rotation: parseFloat(e[n + 3]), + arc: parseFloat(e[n + 4]), + sweep: parseFloat(e[n + 5]), + x: parseFloat(e[n + 6]), + y: parseFloat(e[n + 7]) }; n += 8, r.push(u) @@ -17079,9 +17282,9 @@ } return r } - , s = function(e) { - for (var t = [], r = 0; r < e.length; r++) { - var n = e[r]; + , s = function(t) { + for (var e = [], r = 0; r < t.length; r++) { + var n = t[r]; if ("M" === n.type || "L" === n.type || "C" === n.type) { var i = 0 , o = 0; @@ -17089,7 +17292,7 @@ o = n.y, n.x = m(i), n.y = m(o), - t.push(n) + e.push(n) } else if ("B" === n.type) { var a = n.x1 , s = n.y1 @@ -17106,7 +17309,7 @@ x3: m(d), y3: m(l) }; - t.push(f) + e.push(f) } else if ("Q" === n.type) { var h = n.x1 , p = n.y1 @@ -17119,14 +17322,14 @@ x2: m(b), y2: m(g) }; - t.push(y) + e.push(y) } else if ("A" === n.type) { var v = n.rx , S = n.ry , w = n.rotation , C = n.arc - , A = n.sweep - , _ = n.x + , _ = n.sweep + , A = n.x , I = n.y , E = { type: "A", @@ -17134,39 +17337,39 @@ ry: m(S), rotation: w, arc: C, - sweep: A, - x: m(_), + sweep: _, + x: m(A), y: m(I) }; - t.push(E) + e.push(E) } } - return t + return e } - , c = function(e, t) { - return e * t / 25.4 + , c = function(t, e) { + return t * e / 25.4 } , u = 10 , d = 1 , l = u - , f = function(e) {} - , h = function(e) { - l = e > .1 ? e : .1, + , f = function(t) {} + , h = function(t) { + l = t > .1 ? t : .1, l = l > u ? u : l, - d = e + d = t } , p = function() { return d } - , m = function(e) { - return c(e, 96 * l) + , m = function(t) { + return c(t, 96 * l) } - , b = function(e) { - if (-1 === e.indexOf("g")) { - var t, r = [], i = n(e.split(" ")); + , b = function(t) { + if (-1 === t.indexOf("g")) { + var e, r = [], i = n(t.split(" ")); try { - for (i.s(); !(t = i.n()).done; ) { - var o = t.value; + for (i.s(); !(e = i.n()).done; ) { + var o = e.value; r.push(parseFloat(o)) } } catch (m) { @@ -17176,7 +17379,7 @@ } return r } - var a, s = e.split(" "), c = !1, u = !1, d = 0, l = [], f = n(s); + var a, s = t.split(" "), c = !1, u = !1, d = 0, l = [], f = n(s); try { for (f.s(); !(a = f.n()).done; ) { var h = a.value; @@ -17204,20 +17407,20 @@ } return l } - , g = function(e) { - var t = 0 + , g = function(t) { + var e = 0 , r = 0 , i = []; - if (!e) + if (!t) return i; - var o, a = n(e); + var o, a = n(t); try { for (a.s(); !(o = a.n()).done; ) { var s = o.value; if (s) { - t = parseFloat(s["@_X"]), + e = parseFloat(s["@_X"]), r = parseFloat(s["@_Y"]), - isNaN(t) && (t = 0), + isNaN(e) && (e = 0), isNaN(r) && (r = 0); var c = [] , u = []; @@ -17229,11 +17432,11 @@ d = C(d), d = d.replace(/ /g, " "); for (var l = 0; l < d.length; l++) { - l > 0 && c.length > 0 && (t += c[l - 1]), + l > 0 && c.length > 0 && (e += c[l - 1]), l > 0 && u.length > 0 && (r += u[l - 1]); var f = d.substring(l, l + 1) , h = { - x: m(t), + x: m(e), y: m(r), text: f }; @@ -17249,12 +17452,12 @@ } return i } - , y = function(e) { - return e && 0 === e.indexOf("/") && (e = e.replace("/", "")), - e + , y = function(t) { + return t && 0 === t.indexOf("/") && (t = t.replace("/", "")), + t } - , v = function(e) { - return e || "string" === typeof e ? e.substring(e.lastIndexOf(".") + 1) : "" + , v = function(t) { + return t || "string" === typeof t ? t.substring(t.lastIndexOf(".") + 1) : "" } , S = /&\w+;|&#(\d+);/g , w = { @@ -17266,16 +17469,16 @@ "©": "", "'": "'" } - , C = function(e) { - return e = void 0 != e ? e : this.toString(), - "string" != typeof e ? e : e.replace(S, (function(e, t) { - var r = w[e]; - return void 0 == r && (r = isNaN(t) ? e : String.fromCharCode(160 == t ? 32 : t)), + , C = function(t) { + return t = void 0 != t ? t : this.toString(), + "string" != typeof t ? t : t.replace(S, (function(t, e) { + var r = w[t]; + return void 0 == r && (r = isNaN(e) ? t : String.fromCharCode(160 == e ? 32 : e)), r } )) } - , A = { + , _ = { "楷体": "楷体, KaiTi, Kai, simkai", kaiti: "楷体, KaiTi, Kai, simkai", Kai: "楷体, KaiTi, Kai", @@ -17291,84 +17494,84 @@ couriernew: "Courier New", "courier new": "Courier New" } - , _ = function(e) { - var t = "simsun"; - "undefined" != typeof e && (t = e.familyName), - t || (t = e.fontName), - A[t.toLowerCase()] && (t = A[t.toLowerCase()]); - for (var r = 0, n = Object.keys(A); r < n.length; r++) { + , A = function(t) { + var e = "simsun"; + "undefined" != typeof t && (e = t.familyName), + e || (e = t.fontName), + _[e.toLowerCase()] && (e = _[e.toLowerCase()]); + for (var r = 0, n = Object.keys(_); r < n.length; r++) { var i = n[r]; - if (-1 != t.toLowerCase().indexOf(i.toLowerCase())) - return A[i] + if (-1 != e.toLowerCase().indexOf(i.toLowerCase())) + return _[i] } - return t + return e } - , I = function(e) { - if (e) { - var t = e.split(" "); + , I = function(t) { + if (t) { + var e = t.split(" "); return { - x: parseFloat(t[0]), - y: parseFloat(t[1]), - w: parseFloat(t[2]), - h: parseFloat(t[3]) + x: parseFloat(e[0]), + y: parseFloat(e[1]), + w: parseFloat(e[2]), + h: parseFloat(e[3]) } } return null } - , E = function(e) { - var t = e.split(" "); - return t + , E = function(t) { + var e = t.split(" "); + return e } - , T = function(e) { - if (e && e.length > 0) { - if (-1 !== e.indexOf("#")) - return e = e.replace(/#/g, ""), - e = e.replace(/ /g, ""), - e = "#" + e.toString(), - e; - var t = e.split(" "); - return "rgb(".concat(t[0], ", ").concat(t[1], ", ").concat(t[2], ")") + , T = function(t) { + if (t && t.length > 0) { + if (-1 !== t.indexOf("#")) + return t = t.replace(/#/g, ""), + t = t.replace(/ /g, ""), + t = "#" + t.toString(), + t; + var e = t.split(" "); + return "rgb(".concat(e[0], ", ").concat(e[1], ", ").concat(e[2], ")") } return "rgb(0, 0, 0)" } - , x = function(e) { + , x = function(t) { return { - x: m(e.x), - y: m(e.y), - w: m(e.w), - h: m(e.h) + x: m(t.x), + y: m(t.y), + w: m(t.w), + h: m(t.h) } } - , P = function(e) { - for (var t = e.byteLength, r = ["A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z", "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "+", "/"], n = "", i = 0; t - i >= 3; i += 3) { - var o = e[i] - , a = e[i + 1] - , s = e[i + 2]; + , P = function(t) { + for (var e = t.byteLength, r = ["A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z", "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "+", "/"], n = "", i = 0; e - i >= 3; i += 3) { + var o = t[i] + , a = t[i + 1] + , s = t[i + 2]; n += r[o >>> 2] + r[(3 & o) << 4 | a >>> 4] + r[(15 & a) << 2 | s >>> 6] + r[63 & s] } - var c = t - i; + var c = e - i; if (1 === c) { - var u = e[i]; + var u = t[i]; n += r[u >>> 2] + r[(3 & u) << 4] + "==" } else if (2 === c) { - u = e[i]; - var d = e[i + 1]; + u = t[i]; + var d = t[i + 1]; n += r[u >>> 2] + r[(3 & u) << 4 | d >>> 4] + r[(15 & d) << 2] + "=" } return n } }, - "6b84": function(e, t, r) { + "6b84": function(t, e, r) { r("3ca3"), r("a630"); var n = r("428f"); - e.exports = n.Array.from + t.exports = n.Array.from }, - "6b9e": function(e, t, r) { + "6b9e": function(t, e, r) { var n = r("746f"); n("search") }, - "6c57": function(e, t, r) { + "6c57": function(t, e, r) { var n = r("23e7") , i = r("da84"); n({ @@ -17377,7 +17580,7 @@ globalThis: i }) }, - "6d61": function(e, t, r) { + "6d61": function(t, e, r) { "use strict"; var n = r("23e7") , i = r("da84") @@ -17393,65 +17596,65 @@ , p = r("1c7e") , m = r("d44e") , b = r("7156"); - e.exports = function(e, t, r) { - var g = -1 !== e.indexOf("Map") - , y = -1 !== e.indexOf("Weak") + t.exports = function(t, e, r) { + var g = -1 !== t.indexOf("Map") + , y = -1 !== t.indexOf("Weak") , v = g ? "set" : "add" - , S = i[e] + , S = i[t] , w = S && S.prototype , C = S - , A = {} - , _ = function(e) { - var t = o(w[e]); - s(w, e, "add" == e ? function(e) { - return t(this, 0 === e ? 0 : e), + , _ = {} + , A = function(t) { + var e = o(w[t]); + s(w, t, "add" == t ? function(t) { + return e(this, 0 === t ? 0 : t), this } - : "delete" == e ? function(e) { - return !(y && !f(e)) && t(this, 0 === e ? 0 : e) + : "delete" == t ? function(t) { + return !(y && !f(t)) && e(this, 0 === t ? 0 : t) } - : "get" == e ? function(e) { - return y && !f(e) ? void 0 : t(this, 0 === e ? 0 : e) + : "get" == t ? function(t) { + return y && !f(t) ? void 0 : e(this, 0 === t ? 0 : t) } - : "has" == e ? function(e) { - return !(y && !f(e)) && t(this, 0 === e ? 0 : e) + : "has" == t ? function(t) { + return !(y && !f(t)) && e(this, 0 === t ? 0 : t) } - : function(e, r) { - return t(this, 0 === e ? 0 : e, r), + : function(t, r) { + return e(this, 0 === t ? 0 : t, r), this } ) } - , I = a(e, !l(S) || !(y || w.forEach && !h((function() { + , I = a(t, !l(S) || !(y || w.forEach && !h((function() { (new S).entries().next() } )))); if (I) - C = r.getConstructor(t, e, g, v), + C = r.getConstructor(e, t, g, v), c.enable(); - else if (a(e, !0)) { + else if (a(t, !0)) { var E = new C , T = E[v](y ? {} : -0, 1) != E , x = h((function() { E.has(1) } )) - , P = p((function(e) { - new S(e) + , P = p((function(t) { + new S(t) } )) , k = !y && h((function() { - var e = new S - , t = 5; - while (t--) - e[v](t, t); - return !e.has(-0) + var t = new S + , e = 5; + while (e--) + t[v](e, e); + return !t.has(-0) } )); - P || (C = t((function(e, t) { - d(e, w); - var r = b(new S, e, C); - return void 0 != t && u(t, r[v], { + P || (C = e((function(t, e) { + d(t, w); + var r = b(new S, t, C); + return void 0 != e && u(e, r[v], { that: r, AS_ENTRIES: g }), @@ -17460,35 +17663,35 @@ )), C.prototype = w, w.constructor = C), - (x || k) && (_("delete"), - _("has"), - g && _("get")), - (k || T) && _(v), + (x || k) && (A("delete"), + A("has"), + g && A("get")), + (k || T) && A(v), y && w.clear && delete w.clear } - return A[e] = C, + return _[t] = C, n({ global: !0, constructor: !0, forced: C != S - }, A), - m(C, e), - y || r.setStrong(C, e, g), + }, _), + m(C, t), + y || r.setStrong(C, t, g), C } }, - "6f48": function(e, t, r) { + "6f48": function(t, e, r) { "use strict"; var n = r("6d61") , i = r("6566"); - n("Map", (function(e) { + n("Map", (function(t) { return function() { - return e(this, arguments.length ? arguments[0] : void 0) + return t(this, arguments.length ? arguments[0] : void 0) } } ), i) }, - "6f53": function(e, t, r) { + "6f53": function(t, e, r) { var n = r("83ab") , i = r("e330") , o = r("df75") @@ -17496,46 +17699,46 @@ , s = r("d1e7").f , c = i(s) , u = i([].push) - , d = function(e) { - return function(t) { - var r, i = a(t), s = o(i), d = s.length, l = 0, f = []; + , d = function(t) { + return function(e) { + var r, i = a(e), s = o(i), d = s.length, l = 0, f = []; while (d > l) r = s[l++], - n && !c(i, r) || u(f, e ? [r, i[r]] : i[r]); + n && !c(i, r) || u(f, t ? [r, i[r]] : i[r]); return f } }; - e.exports = { + t.exports = { entries: d(!0), values: d(!1) } }, - "6f9c": function(e, t, r) { + "6f9c": function(t, e, r) { var n; n = function() { "use strict"; - var e, t = {}, r = "function" == typeof Uint8Array; - return t.decode = function(t) { - var n, i = "string" == typeof t; - if (void 0 === e) { + var t, e = {}, r = "function" == typeof Uint8Array; + return e.decode = function(e) { + var n, i = "string" == typeof e; + if (void 0 === t) { var o = "0123456789ABCDEF" , a = " \f\n\r\t \u2028\u2029"; - for (e = [], + for (t = [], n = 0; n < 16; ++n) - e[o.charCodeAt(n)] = n; + t[o.charCodeAt(n)] = n; for (o = o.toLowerCase(), n = 10; n < 16; ++n) - e[o.charCodeAt(n)] = n; + t[o.charCodeAt(n)] = n; for (n = 0; n < a.length; ++n) - e[a.charCodeAt(n)] = -1 + t[a.charCodeAt(n)] = -1 } - var s = r ? new Uint8Array(t.length >> 1) : [] + var s = r ? new Uint8Array(e.length >> 1) : [] , c = 0 , u = 0 , d = 0; - for (n = 0; n < t.length; ++n) { - var l = i ? t.charCodeAt(n) : t[n]; - if (l = e[l], + for (n = 0; n < e.length; ++n) { + var l = i ? e.charCodeAt(n) : e[n]; + if (l = t[l], -1 != l) { if (void 0 === l) throw "Illegal character at offset " + n; @@ -17551,12 +17754,12 @@ s } , - t + e } - .call(t, r, t, e), - void 0 === n || (e.exports = n) + .call(e, r, e, t), + void 0 === n || (t.exports = n) }, - 7149: function(e, t, r) { + 7149: function(t, e, r) { "use strict"; var n = r("23e7") , i = r("d066") @@ -17571,35 +17774,35 @@ stat: !0, forced: o || s }, { - resolve: function(e) { - return c(d && this === u ? a : this, e) + resolve: function(t) { + return c(d && this === u ? a : this, t) } }) }, - 7156: function(e, t, r) { + 7156: function(t, e, r) { var n = r("1626") , i = r("861d") , o = r("d2bb"); - e.exports = function(e, t, r) { + t.exports = function(t, e, r) { var a, s; - return o && n(a = t.constructor) && a !== r && i(s = a.prototype) && s !== r.prototype && o(e, s), - e + return o && n(a = e.constructor) && a !== r && i(s = a.prototype) && s !== r.prototype && o(t, s), + t } }, - 7276: function(e, t, r) { + 7276: function(t, e, r) { "use strict"; var n = r("6d61") , i = r("acac"); - n("WeakSet", (function(e) { + n("WeakSet", (function(t) { return function() { - return e(this, arguments.length ? arguments[0] : void 0) + return t(this, arguments.length ? arguments[0] : void 0) } } ), i) }, - "73fd": function(e, t, r) { + "73fd": function(t, e, r) { "use strict"; - r.d(t, "a", (function() { + r.d(e, "a", (function() { return D } )); @@ -17610,14 +17813,14 @@ INFOS: 5 } , i = n.WARNINGS; - function o(e) { - i >= n.INFOS && console.log("Info: ".concat(e)) + function o(t) { + i >= n.INFOS && console.log("Info: ".concat(t)) } - function a(e) { - throw new Error(e) + function a(t) { + throw new Error(t) } - function s(e, t, r) { - return Object.defineProperty(e, t, { + function s(t, e, r) { + return Object.defineProperty(t, e, { value: r, enumerable: !0, configurable: !0, @@ -17626,51 +17829,51 @@ r } var c = function() { - function e(t) { - this.constructor === e && a("Cannot initialize BaseException."), - this.message = t, + function t(e) { + this.constructor === t && a("Cannot initialize BaseException."), + this.message = e, this.name = this.constructor.name } - return e.prototype = new Error, - e.constructor = e, - e + return t.prototype = new Error, + t.constructor = t, + t }(); (function() { - var e = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=" + var t = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=" } )(); - function u(e) { - return e <= 0 ? 0 : Math.ceil(Math.log2(e)) + function u(t) { + return t <= 0 ? 0 : Math.ceil(Math.log2(t)) } - function d(e, t) { - return e[t] << 24 >> 24 + function d(t, e) { + return t[e] << 24 >> 24 } - function l(e, t) { - return e[t] << 8 | e[t + 1] + function l(t, e) { + return t[e] << 8 | t[e + 1] } - function f(e, t) { - return (e[t] << 24 | e[t + 1] << 16 | e[t + 2] << 8 | e[t + 3]) >>> 0 + function f(t, e) { + return (t[e] << 24 | t[e + 1] << 16 | t[e + 2] << 8 | t[e + 3]) >>> 0 } - function h(e, t) { - if (!(e instanceof t)) + function h(t, e) { + if (!(t instanceof e)) throw new TypeError("Cannot call a class as a function") } - function p(e, t) { - for (var r = 0; r < t.length; r++) { - var n = t[r]; + function p(t, e) { + for (var r = 0; r < e.length; r++) { + var n = e[r]; n.enumerable = n.enumerable || !1, n.configurable = !0, "value"in n && (n.writable = !0), - Object.defineProperty(e, n.key, n) + Object.defineProperty(t, n.key, n) } } - function m(e, t, r) { - return t && p(e.prototype, t), - r && p(e, r), - Object.defineProperty(e, "prototype", { + function m(t, e, r) { + return e && p(t.prototype, e), + r && p(t, r), + Object.defineProperty(t, "prototype", { writable: !1 }), - e + t } var b = [{ qe: 22017, @@ -17909,12 +18112,12 @@ switchFlag: 0 }] , g = function() { - function e(t, r, n) { - h(this, e), - this.data = t, + function t(e, r, n) { + h(this, t), + this.data = e, this.bp = r, this.dataEnd = n, - this.chigh = t[r], + this.chigh = e[r], this.clow = 0, this.byteIn(), this.chigh = this.chigh << 7 & 65535 | this.clow >> 9 & 127, @@ -17922,26 +18125,26 @@ this.ct -= 7, this.a = 32768 } - return m(e, [{ + return m(t, [{ key: "byteIn", value: function() { - var e = this.data - , t = this.bp; - 255 === e[t] ? e[t + 1] > 143 ? (this.clow += 65280, - this.ct = 8) : (t++, - this.clow += e[t] << 9, + var t = this.data + , e = this.bp; + 255 === t[e] ? t[e + 1] > 143 ? (this.clow += 65280, + this.ct = 8) : (e++, + this.clow += t[e] << 9, this.ct = 7, - this.bp = t) : (t++, - this.clow += t < this.dataEnd ? e[t] << 8 : 65280, + this.bp = e) : (e++, + this.clow += e < this.dataEnd ? t[e] << 8 : 65280, this.ct = 8, - this.bp = t), + this.bp = e), this.clow > 65535 && (this.chigh += this.clow >> 16, this.clow &= 65535) } }, { key: "readBit", - value: function(e, t) { - var r, n = e[t] >> 1, i = 1 & e[t], o = b[n], a = o.qe, s = this.a - a; + value: function(t, e) { + var r, n = t[e] >> 1, i = 1 & t[e], o = b[n], a = o.qe, s = this.a - a; if (this.chigh < a) s < a ? (s = a, r = i, @@ -17967,15 +18170,15 @@ this.ct-- } while (0 === (32768 & s)); return this.a = s, - e[t] = n << 1 | i, + t[e] = n << 1 | i, r } }]), - e + t }() , y = function() { - var e = -2 - , t = -1 + var t = -2 + , e = -1 , r = 0 , n = 1 , i = 2 @@ -17986,26 +18189,26 @@ , d = 7 , l = 8 , f = [[-1, -1], [-1, -1], [7, l], [7, d], [6, u], [6, u], [6, c], [6, c], [4, r], [4, r], [4, r], [4, r], [4, r], [4, r], [4, r], [4, r], [3, n], [3, n], [3, n], [3, n], [3, n], [3, n], [3, n], [3, n], [3, n], [3, n], [3, n], [3, n], [3, n], [3, n], [3, n], [3, n], [3, s], [3, s], [3, s], [3, s], [3, s], [3, s], [3, s], [3, s], [3, s], [3, s], [3, s], [3, s], [3, s], [3, s], [3, s], [3, s], [3, a], [3, a], [3, a], [3, a], [3, a], [3, a], [3, a], [3, a], [3, a], [3, a], [3, a], [3, a], [3, a], [3, a], [3, a], [3, a], [1, i], [1, i], [1, i], [1, i], [1, i], [1, i], [1, i], [1, i], [1, i], [1, i], [1, i], [1, i], [1, i], [1, i], [1, i], [1, i], [1, i], [1, i], [1, i], [1, i], [1, i], [1, i], [1, i], [1, i], [1, i], [1, i], [1, i], [1, i], [1, i], [1, i], [1, i], [1, i], [1, i], [1, i], [1, i], [1, i], [1, i], [1, i], [1, i], [1, i], [1, i], [1, i], [1, i], [1, i], [1, i], [1, i], [1, i], [1, i], [1, i], [1, i], [1, i], [1, i], [1, i], [1, i], [1, i], [1, i], [1, i], [1, i], [1, i], [1, i], [1, i], [1, i], [1, i], [1, i]] - , h = [[-1, -1], [12, e], [-1, -1], [-1, -1], [-1, -1], [-1, -1], [-1, -1], [-1, -1], [-1, -1], [-1, -1], [-1, -1], [-1, -1], [-1, -1], [-1, -1], [-1, -1], [-1, -1], [11, 1792], [11, 1792], [12, 1984], [12, 2048], [12, 2112], [12, 2176], [12, 2240], [12, 2304], [11, 1856], [11, 1856], [11, 1920], [11, 1920], [12, 2368], [12, 2432], [12, 2496], [12, 2560]] + , h = [[-1, -1], [12, t], [-1, -1], [-1, -1], [-1, -1], [-1, -1], [-1, -1], [-1, -1], [-1, -1], [-1, -1], [-1, -1], [-1, -1], [-1, -1], [-1, -1], [-1, -1], [-1, -1], [11, 1792], [11, 1792], [12, 1984], [12, 2048], [12, 2112], [12, 2176], [12, 2240], [12, 2304], [11, 1856], [11, 1856], [11, 1920], [11, 1920], [12, 2368], [12, 2432], [12, 2496], [12, 2560]] , p = [[-1, -1], [-1, -1], [-1, -1], [-1, -1], [8, 29], [8, 29], [8, 30], [8, 30], [8, 45], [8, 45], [8, 46], [8, 46], [7, 22], [7, 22], [7, 22], [7, 22], [7, 23], [7, 23], [7, 23], [7, 23], [8, 47], [8, 47], [8, 48], [8, 48], [6, 13], [6, 13], [6, 13], [6, 13], [6, 13], [6, 13], [6, 13], [6, 13], [7, 20], [7, 20], [7, 20], [7, 20], [8, 33], [8, 33], [8, 34], [8, 34], [8, 35], [8, 35], [8, 36], [8, 36], [8, 37], [8, 37], [8, 38], [8, 38], [7, 19], [7, 19], [7, 19], [7, 19], [8, 31], [8, 31], [8, 32], [8, 32], [6, 1], [6, 1], [6, 1], [6, 1], [6, 1], [6, 1], [6, 1], [6, 1], [6, 12], [6, 12], [6, 12], [6, 12], [6, 12], [6, 12], [6, 12], [6, 12], [8, 53], [8, 53], [8, 54], [8, 54], [7, 26], [7, 26], [7, 26], [7, 26], [8, 39], [8, 39], [8, 40], [8, 40], [8, 41], [8, 41], [8, 42], [8, 42], [8, 43], [8, 43], [8, 44], [8, 44], [7, 21], [7, 21], [7, 21], [7, 21], [7, 28], [7, 28], [7, 28], [7, 28], [8, 61], [8, 61], [8, 62], [8, 62], [8, 63], [8, 63], [8, 0], [8, 0], [8, 320], [8, 320], [8, 384], [8, 384], [5, 10], [5, 10], [5, 10], [5, 10], [5, 10], [5, 10], [5, 10], [5, 10], [5, 10], [5, 10], [5, 10], [5, 10], [5, 10], [5, 10], [5, 10], [5, 10], [5, 11], [5, 11], [5, 11], [5, 11], [5, 11], [5, 11], [5, 11], [5, 11], [5, 11], [5, 11], [5, 11], [5, 11], [5, 11], [5, 11], [5, 11], [5, 11], [7, 27], [7, 27], [7, 27], [7, 27], [8, 59], [8, 59], [8, 60], [8, 60], [9, 1472], [9, 1536], [9, 1600], [9, 1728], [7, 18], [7, 18], [7, 18], [7, 18], [7, 24], [7, 24], [7, 24], [7, 24], [8, 49], [8, 49], [8, 50], [8, 50], [8, 51], [8, 51], [8, 52], [8, 52], [7, 25], [7, 25], [7, 25], [7, 25], [8, 55], [8, 55], [8, 56], [8, 56], [8, 57], [8, 57], [8, 58], [8, 58], [6, 192], [6, 192], [6, 192], [6, 192], [6, 192], [6, 192], [6, 192], [6, 192], [6, 1664], [6, 1664], [6, 1664], [6, 1664], [6, 1664], [6, 1664], [6, 1664], [6, 1664], [8, 448], [8, 448], [8, 512], [8, 512], [9, 704], [9, 768], [8, 640], [8, 640], [8, 576], [8, 576], [9, 832], [9, 896], [9, 960], [9, 1024], [9, 1088], [9, 1152], [9, 1216], [9, 1280], [9, 1344], [9, 1408], [7, 256], [7, 256], [7, 256], [7, 256], [4, 2], [4, 2], [4, 2], [4, 2], [4, 2], [4, 2], [4, 2], [4, 2], [4, 2], [4, 2], [4, 2], [4, 2], [4, 2], [4, 2], [4, 2], [4, 2], [4, 2], [4, 2], [4, 2], [4, 2], [4, 2], [4, 2], [4, 2], [4, 2], [4, 2], [4, 2], [4, 2], [4, 2], [4, 2], [4, 2], [4, 2], [4, 2], [4, 3], [4, 3], [4, 3], [4, 3], [4, 3], [4, 3], [4, 3], [4, 3], [4, 3], [4, 3], [4, 3], [4, 3], [4, 3], [4, 3], [4, 3], [4, 3], [4, 3], [4, 3], [4, 3], [4, 3], [4, 3], [4, 3], [4, 3], [4, 3], [4, 3], [4, 3], [4, 3], [4, 3], [4, 3], [4, 3], [4, 3], [4, 3], [5, 128], [5, 128], [5, 128], [5, 128], [5, 128], [5, 128], [5, 128], [5, 128], [5, 128], [5, 128], [5, 128], [5, 128], [5, 128], [5, 128], [5, 128], [5, 128], [5, 8], [5, 8], [5, 8], [5, 8], [5, 8], [5, 8], [5, 8], [5, 8], [5, 8], [5, 8], [5, 8], [5, 8], [5, 8], [5, 8], [5, 8], [5, 8], [5, 9], [5, 9], [5, 9], [5, 9], [5, 9], [5, 9], [5, 9], [5, 9], [5, 9], [5, 9], [5, 9], [5, 9], [5, 9], [5, 9], [5, 9], [5, 9], [6, 16], [6, 16], [6, 16], [6, 16], [6, 16], [6, 16], [6, 16], [6, 16], [6, 17], [6, 17], [6, 17], [6, 17], [6, 17], [6, 17], [6, 17], [6, 17], [4, 4], [4, 4], [4, 4], [4, 4], [4, 4], [4, 4], [4, 4], [4, 4], [4, 4], [4, 4], [4, 4], [4, 4], [4, 4], [4, 4], [4, 4], [4, 4], [4, 4], [4, 4], [4, 4], [4, 4], [4, 4], [4, 4], [4, 4], [4, 4], [4, 4], [4, 4], [4, 4], [4, 4], [4, 4], [4, 4], [4, 4], [4, 4], [4, 5], [4, 5], [4, 5], [4, 5], [4, 5], [4, 5], [4, 5], [4, 5], [4, 5], [4, 5], [4, 5], [4, 5], [4, 5], [4, 5], [4, 5], [4, 5], [4, 5], [4, 5], [4, 5], [4, 5], [4, 5], [4, 5], [4, 5], [4, 5], [4, 5], [4, 5], [4, 5], [4, 5], [4, 5], [4, 5], [4, 5], [4, 5], [6, 14], [6, 14], [6, 14], [6, 14], [6, 14], [6, 14], [6, 14], [6, 14], [6, 15], [6, 15], [6, 15], [6, 15], [6, 15], [6, 15], [6, 15], [6, 15], [5, 64], [5, 64], [5, 64], [5, 64], [5, 64], [5, 64], [5, 64], [5, 64], [5, 64], [5, 64], [5, 64], [5, 64], [5, 64], [5, 64], [5, 64], [5, 64], [4, 6], [4, 6], [4, 6], [4, 6], [4, 6], [4, 6], [4, 6], [4, 6], [4, 6], [4, 6], [4, 6], [4, 6], [4, 6], [4, 6], [4, 6], [4, 6], [4, 6], [4, 6], [4, 6], [4, 6], [4, 6], [4, 6], [4, 6], [4, 6], [4, 6], [4, 6], [4, 6], [4, 6], [4, 6], [4, 6], [4, 6], [4, 6], [4, 7], [4, 7], [4, 7], [4, 7], [4, 7], [4, 7], [4, 7], [4, 7], [4, 7], [4, 7], [4, 7], [4, 7], [4, 7], [4, 7], [4, 7], [4, 7], [4, 7], [4, 7], [4, 7], [4, 7], [4, 7], [4, 7], [4, 7], [4, 7], [4, 7], [4, 7], [4, 7], [4, 7], [4, 7], [4, 7], [4, 7], [4, 7]] - , m = [[-1, -1], [-1, -1], [12, e], [12, e], [-1, -1], [-1, -1], [-1, -1], [-1, -1], [-1, -1], [-1, -1], [-1, -1], [-1, -1], [-1, -1], [-1, -1], [-1, -1], [-1, -1], [-1, -1], [-1, -1], [-1, -1], [-1, -1], [-1, -1], [-1, -1], [-1, -1], [-1, -1], [-1, -1], [-1, -1], [-1, -1], [-1, -1], [-1, -1], [-1, -1], [-1, -1], [-1, -1], [11, 1792], [11, 1792], [11, 1792], [11, 1792], [12, 1984], [12, 1984], [12, 2048], [12, 2048], [12, 2112], [12, 2112], [12, 2176], [12, 2176], [12, 2240], [12, 2240], [12, 2304], [12, 2304], [11, 1856], [11, 1856], [11, 1856], [11, 1856], [11, 1920], [11, 1920], [11, 1920], [11, 1920], [12, 2368], [12, 2368], [12, 2432], [12, 2432], [12, 2496], [12, 2496], [12, 2560], [12, 2560], [10, 18], [10, 18], [10, 18], [10, 18], [10, 18], [10, 18], [10, 18], [10, 18], [12, 52], [12, 52], [13, 640], [13, 704], [13, 768], [13, 832], [12, 55], [12, 55], [12, 56], [12, 56], [13, 1280], [13, 1344], [13, 1408], [13, 1472], [12, 59], [12, 59], [12, 60], [12, 60], [13, 1536], [13, 1600], [11, 24], [11, 24], [11, 24], [11, 24], [11, 25], [11, 25], [11, 25], [11, 25], [13, 1664], [13, 1728], [12, 320], [12, 320], [12, 384], [12, 384], [12, 448], [12, 448], [13, 512], [13, 576], [12, 53], [12, 53], [12, 54], [12, 54], [13, 896], [13, 960], [13, 1024], [13, 1088], [13, 1152], [13, 1216], [10, 64], [10, 64], [10, 64], [10, 64], [10, 64], [10, 64], [10, 64], [10, 64]] + , m = [[-1, -1], [-1, -1], [12, t], [12, t], [-1, -1], [-1, -1], [-1, -1], [-1, -1], [-1, -1], [-1, -1], [-1, -1], [-1, -1], [-1, -1], [-1, -1], [-1, -1], [-1, -1], [-1, -1], [-1, -1], [-1, -1], [-1, -1], [-1, -1], [-1, -1], [-1, -1], [-1, -1], [-1, -1], [-1, -1], [-1, -1], [-1, -1], [-1, -1], [-1, -1], [-1, -1], [-1, -1], [11, 1792], [11, 1792], [11, 1792], [11, 1792], [12, 1984], [12, 1984], [12, 2048], [12, 2048], [12, 2112], [12, 2112], [12, 2176], [12, 2176], [12, 2240], [12, 2240], [12, 2304], [12, 2304], [11, 1856], [11, 1856], [11, 1856], [11, 1856], [11, 1920], [11, 1920], [11, 1920], [11, 1920], [12, 2368], [12, 2368], [12, 2432], [12, 2432], [12, 2496], [12, 2496], [12, 2560], [12, 2560], [10, 18], [10, 18], [10, 18], [10, 18], [10, 18], [10, 18], [10, 18], [10, 18], [12, 52], [12, 52], [13, 640], [13, 704], [13, 768], [13, 832], [12, 55], [12, 55], [12, 56], [12, 56], [13, 1280], [13, 1344], [13, 1408], [13, 1472], [12, 59], [12, 59], [12, 60], [12, 60], [13, 1536], [13, 1600], [11, 24], [11, 24], [11, 24], [11, 24], [11, 25], [11, 25], [11, 25], [11, 25], [13, 1664], [13, 1728], [12, 320], [12, 320], [12, 384], [12, 384], [12, 448], [12, 448], [13, 512], [13, 576], [12, 53], [12, 53], [12, 54], [12, 54], [13, 896], [13, 960], [13, 1024], [13, 1088], [13, 1152], [13, 1216], [10, 64], [10, 64], [10, 64], [10, 64], [10, 64], [10, 64], [10, 64], [10, 64]] , b = [[8, 13], [8, 13], [8, 13], [8, 13], [8, 13], [8, 13], [8, 13], [8, 13], [8, 13], [8, 13], [8, 13], [8, 13], [8, 13], [8, 13], [8, 13], [8, 13], [11, 23], [11, 23], [12, 50], [12, 51], [12, 44], [12, 45], [12, 46], [12, 47], [12, 57], [12, 58], [12, 61], [12, 256], [10, 16], [10, 16], [10, 16], [10, 16], [10, 17], [10, 17], [10, 17], [10, 17], [12, 48], [12, 49], [12, 62], [12, 63], [12, 30], [12, 31], [12, 32], [12, 33], [12, 40], [12, 41], [11, 22], [11, 22], [8, 14], [8, 14], [8, 14], [8, 14], [8, 14], [8, 14], [8, 14], [8, 14], [8, 14], [8, 14], [8, 14], [8, 14], [8, 14], [8, 14], [8, 14], [8, 14], [7, 10], [7, 10], [7, 10], [7, 10], [7, 10], [7, 10], [7, 10], [7, 10], [7, 10], [7, 10], [7, 10], [7, 10], [7, 10], [7, 10], [7, 10], [7, 10], [7, 10], [7, 10], [7, 10], [7, 10], [7, 10], [7, 10], [7, 10], [7, 10], [7, 10], [7, 10], [7, 10], [7, 10], [7, 10], [7, 10], [7, 10], [7, 10], [7, 11], [7, 11], [7, 11], [7, 11], [7, 11], [7, 11], [7, 11], [7, 11], [7, 11], [7, 11], [7, 11], [7, 11], [7, 11], [7, 11], [7, 11], [7, 11], [7, 11], [7, 11], [7, 11], [7, 11], [7, 11], [7, 11], [7, 11], [7, 11], [7, 11], [7, 11], [7, 11], [7, 11], [7, 11], [7, 11], [7, 11], [7, 11], [9, 15], [9, 15], [9, 15], [9, 15], [9, 15], [9, 15], [9, 15], [9, 15], [12, 128], [12, 192], [12, 26], [12, 27], [12, 28], [12, 29], [11, 19], [11, 19], [11, 20], [11, 20], [12, 34], [12, 35], [12, 36], [12, 37], [12, 38], [12, 39], [11, 21], [11, 21], [12, 42], [12, 43], [10, 0], [10, 0], [10, 0], [10, 0], [7, 12], [7, 12], [7, 12], [7, 12], [7, 12], [7, 12], [7, 12], [7, 12], [7, 12], [7, 12], [7, 12], [7, 12], [7, 12], [7, 12], [7, 12], [7, 12], [7, 12], [7, 12], [7, 12], [7, 12], [7, 12], [7, 12], [7, 12], [7, 12], [7, 12], [7, 12], [7, 12], [7, 12], [7, 12], [7, 12], [7, 12], [7, 12]] , g = [[-1, -1], [-1, -1], [-1, -1], [-1, -1], [6, 9], [6, 8], [5, 7], [5, 7], [4, 6], [4, 6], [4, 6], [4, 6], [4, 5], [4, 5], [4, 5], [4, 5], [3, 1], [3, 1], [3, 1], [3, 1], [3, 1], [3, 1], [3, 1], [3, 1], [3, 4], [3, 4], [3, 4], [3, 4], [3, 4], [3, 4], [3, 4], [3, 4], [2, 3], [2, 3], [2, 3], [2, 3], [2, 3], [2, 3], [2, 3], [2, 3], [2, 3], [2, 3], [2, 3], [2, 3], [2, 3], [2, 3], [2, 3], [2, 3], [2, 2], [2, 2], [2, 2], [2, 2], [2, 2], [2, 2], [2, 2], [2, 2], [2, 2], [2, 2], [2, 2], [2, 2], [2, 2], [2, 2], [2, 2], [2, 2]]; - function y(e) { - var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {}; - if (!e || "function" !== typeof e.next) + function y(t) { + var e = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {}; + if (!t || "function" !== typeof t.next) throw new Error('CCITTFaxDecoder - invalid "source" parameter.'); - this.source = e, + this.source = t, this.eof = !1, - this.encoding = t.K || 0, - this.eoline = t.EndOfLine || !1, - this.byteAlign = t.EncodedByteAlign || !1, - this.columns = t.Columns || 1728, - this.rows = t.Rows || 0; - var r, n = t.EndOfBlock; + this.encoding = e.K || 0, + this.eoline = e.EndOfLine || !1, + this.byteAlign = e.EncodedByteAlign || !1, + this.columns = e.Columns || 1728, + this.rows = e.Rows || 0; + var r, n = e.EndOfBlock; null !== n && void 0 !== n || (n = !0), this.eoblock = n, - this.black = t.BlackIs1 || !1, + this.black = e.BlackIs1 || !1, this.codingLine = new Uint32Array(this.columns + 1), this.refLine = new Uint32Array(this.columns + 2), this.codingLine[0] = this.columns, @@ -18026,7 +18229,7 @@ readNextChar: function() { if (this.eof) return -1; - var e, f, h, p, m, b = this.refLine, g = this.codingLine, y = this.columns; + var t, f, h, p, m, b = this.refLine, g = this.codingLine, y = this.columns; if (0 === this.outputBits) { if (this.rowsDone && (this.eof = !0), this.eof) @@ -18040,14 +18243,14 @@ b[p] = y, g[0] = 0, this.codingPos = 0, - e = 0, + t = 0, f = 0; while (g[this.codingPos] < y) switch (v = this._getTwoDimCode(), v) { case r: - this._addPixels(b[e + 1], f), - b[e + 1] < y && (e += 2); + this._addPixels(b[t + 1], f), + b[t + 1] < y && (t += 2); break; case n: if (v = S = 0, @@ -18068,73 +18271,73 @@ } this._addPixels(g[this.codingPos] + v, f), g[this.codingPos] < y && this._addPixels(g[this.codingPos] + S, 1 ^ f); - while (b[e] <= g[this.codingPos] && b[e] < y) - e += 2; + while (b[t] <= g[this.codingPos] && b[t] < y) + t += 2; break; case d: - if (this._addPixels(b[e] + 3, f), + if (this._addPixels(b[t] + 3, f), f ^= 1, g[this.codingPos] < y) { - ++e; - while (b[e] <= g[this.codingPos] && b[e] < y) - e += 2 + ++t; + while (b[t] <= g[this.codingPos] && b[t] < y) + t += 2 } break; case c: - if (this._addPixels(b[e] + 2, f), + if (this._addPixels(b[t] + 2, f), f ^= 1, g[this.codingPos] < y) { - ++e; - while (b[e] <= g[this.codingPos] && b[e] < y) - e += 2 + ++t; + while (b[t] <= g[this.codingPos] && b[t] < y) + t += 2 } break; case a: - if (this._addPixels(b[e] + 1, f), + if (this._addPixels(b[t] + 1, f), f ^= 1, g[this.codingPos] < y) { - ++e; - while (b[e] <= g[this.codingPos] && b[e] < y) - e += 2 + ++t; + while (b[t] <= g[this.codingPos] && b[t] < y) + t += 2 } break; case i: - if (this._addPixels(b[e], f), + if (this._addPixels(b[t], f), f ^= 1, g[this.codingPos] < y) { - ++e; - while (b[e] <= g[this.codingPos] && b[e] < y) - e += 2 + ++t; + while (b[t] <= g[this.codingPos] && b[t] < y) + t += 2 } break; case l: - if (this._addPixelsNeg(b[e] - 3, f), + if (this._addPixelsNeg(b[t] - 3, f), f ^= 1, g[this.codingPos] < y) { - e > 0 ? --e : ++e; - while (b[e] <= g[this.codingPos] && b[e] < y) - e += 2 + t > 0 ? --t : ++t; + while (b[t] <= g[this.codingPos] && b[t] < y) + t += 2 } break; case u: - if (this._addPixelsNeg(b[e] - 2, f), + if (this._addPixelsNeg(b[t] - 2, f), f ^= 1, g[this.codingPos] < y) { - e > 0 ? --e : ++e; - while (b[e] <= g[this.codingPos] && b[e] < y) - e += 2 + t > 0 ? --t : ++t; + while (b[t] <= g[this.codingPos] && b[t] < y) + t += 2 } break; case s: - if (this._addPixelsNeg(b[e] - 1, f), + if (this._addPixelsNeg(b[t] - 1, f), f ^= 1, g[this.codingPos] < y) { - e > 0 ? --e : ++e; - while (b[e] <= g[this.codingPos] && b[e] < y) - e += 2 + t > 0 ? --t : ++t; + while (b[t] <= g[this.codingPos] && b[t] < y) + t += 2 } break; - case t: + case e: this._addPixels(y, 0), this.eof = !0; break; @@ -18166,7 +18369,7 @@ this.eoblock || this.row !== this.rows - 1) { if (v = this._lookBits(12), this.eoline) - while (v !== t && 1 !== v) + while (v !== e && 1 !== v) this._eatBits(1), v = this._lookBits(12); else @@ -18174,7 +18377,7 @@ this._eatBits(1), v = this._lookBits(12); 1 === v ? (this._eatBits(12), - C = !0) : v === t && (this.eof = !0) + C = !0) : v === e && (this.eof = !0) } else this.rowsDone = !0; if (!this.eof && this.encoding > 0 && !this.rowsDone && (this.nextLine2D = !this._lookBits(1), @@ -18197,7 +18400,7 @@ } else if (this.err && this.eoline) { while (1) { if (v = this._lookBits(13), - v === t) + v === e) return this.eof = !0, -1; if (v >> 1 === 1) @@ -18235,39 +18438,39 @@ return this.black && (m ^= 255), m }, - _addPixels: function(e, t) { + _addPixels: function(t, e) { var r = this.codingLine , n = this.codingPos; - e > r[n] && (e > this.columns && (o("row is wrong length"), + t > r[n] && (t > this.columns && (o("row is wrong length"), this.err = !0, - e = this.columns), - 1 & n ^ t && ++n, - r[n] = e), + t = this.columns), + 1 & n ^ e && ++n, + r[n] = t), this.codingPos = n }, - _addPixelsNeg: function(e, t) { + _addPixelsNeg: function(t, e) { var r = this.codingLine , n = this.codingPos; - if (e > r[n]) - e > this.columns && (o("row is wrong length"), + if (t > r[n]) + t > this.columns && (o("row is wrong length"), this.err = !0, - e = this.columns), - 1 & n ^ t && ++n, - r[n] = e; - else if (e < r[n]) { - e < 0 && (o("invalid code"), + t = this.columns), + 1 & n ^ e && ++n, + r[n] = t; + else if (t < r[n]) { + t < 0 && (o("invalid code"), this.err = !0, - e = 0); - while (n > 0 && e < r[n - 1]) + t = 0); + while (n > 0 && t < r[n - 1]) --n; - r[n] = e + r[n] = t } this.codingPos = n }, - _findTableCode: function(e, r, n, i) { - for (var o = i || 0, a = e; a <= r; ++a) { + _findTableCode: function(t, r, n, i) { + for (var o = i || 0, a = t; a <= r; ++a) { var s = this._lookBits(a); - if (s === t) + if (s === e) return [!0, 1, !1]; if (a < r && (s <<= r - a), !o || s >= o) { @@ -18280,31 +18483,31 @@ return [!1, 0, !1] }, _getTwoDimCode: function() { - var e, r = 0; + var t, r = 0; if (this.eoblock) { if (r = this._lookBits(7), - e = f[r], - e && e[0] > 0) - return this._eatBits(e[0]), - e[1] + t = f[r], + t && t[0] > 0) + return this._eatBits(t[0]), + t[1] } else { var n = this._findTableCode(1, 7, f); if (n[0] && n[2]) return n[1] } return o("Bad two dim code"), - t + e }, _getWhiteCode: function() { - var e, r = 0; + var t, r = 0; if (this.eoblock) { if (r = this._lookBits(12), - r === t) + r === e) return 1; - if (e = r >> 5 === 0 ? h[r] : p[r >> 3], - e[0] > 0) - return this._eatBits(e[0]), - e[1] + if (t = r >> 5 === 0 ? h[r] : p[r >> 3], + t[0] > 0) + return this._eatBits(t[0]), + t[1] } else { var n = this._findTableCode(1, 9, p); if (n[0]) @@ -18318,12 +18521,12 @@ 1 }, _getBlackCode: function() { - var e, r; + var t, r; if (this.eoblock) { - if (e = this._lookBits(13), - e === t) + if (t = this._lookBits(13), + t === e) return 1; - if (r = e >> 7 === 0 ? m[e] : e >> 9 === 0 && e >> 7 !== 0 ? b[(e >> 1) - 64] : g[e >> 7], + if (r = t >> 7 === 0 ? m[t] : t >> 9 === 0 && t >> 7 !== 0 ? b[(t >> 1) - 64] : g[t >> 7], r[0] > 0) return this._eatBits(r[0]), r[1] @@ -18342,81 +18545,81 @@ this._eatBits(1), 1 }, - _lookBits: function(e) { + _lookBits: function(t) { var r; - while (this.inputBits < e) { + while (this.inputBits < t) { if (-1 === (r = this.source.next())) - return 0 === this.inputBits ? t : this.inputBuf << e - this.inputBits & 65535 >> 16 - e; + return 0 === this.inputBits ? e : this.inputBuf << t - this.inputBits & 65535 >> 16 - t; this.inputBuf = this.inputBuf << 8 | r, this.inputBits += 8 } - return this.inputBuf >> this.inputBits - e & 65535 >> 16 - e + return this.inputBuf >> this.inputBits - t & 65535 >> 16 - t }, - _eatBits: function(e) { - (this.inputBits -= e) < 0 && (this.inputBits = 0) + _eatBits: function(t) { + (this.inputBits -= t) < 0 && (this.inputBits = 0) } }, y }(); - function v(e) { - return v = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(e) { - return typeof e + function v(t) { + return v = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(t) { + return typeof t } - : function(e) { - return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e + : function(t) { + return t && "function" == typeof Symbol && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t } , - v(e) + v(t) } - function S(e, t) { - for (var r = 0; r < t.length; r++) { - var n = t[r]; + function S(t, e) { + for (var r = 0; r < e.length; r++) { + var n = e[r]; n.enumerable = n.enumerable || !1, n.configurable = !0, "value"in n && (n.writable = !0), - Object.defineProperty(e, n.key, n) + Object.defineProperty(t, n.key, n) } } - function w(e, t, r) { - return t && S(e.prototype, t), - r && S(e, r), - Object.defineProperty(e, "prototype", { + function w(t, e, r) { + return e && S(t.prototype, e), + r && S(t, r), + Object.defineProperty(t, "prototype", { writable: !1 }), - e + t } - function C(e, t) { - if (!(e instanceof t)) + function C(t, e) { + if (!(t instanceof e)) throw new TypeError("Cannot call a class as a function") } - function A(e, t) { - if ("function" !== typeof t && null !== t) + function _(t, e) { + if ("function" !== typeof e && null !== e) throw new TypeError("Super expression must either be null or a function"); - e.prototype = Object.create(t && t.prototype, { + t.prototype = Object.create(e && e.prototype, { constructor: { - value: e, + value: t, writable: !0, configurable: !0 } }), - Object.defineProperty(e, "prototype", { + Object.defineProperty(t, "prototype", { writable: !1 }), - t && _(e, t) + e && A(t, e) } - function _(e, t) { - return _ = Object.setPrototypeOf || function(e, t) { - return e.__proto__ = t, - e + function A(t, e) { + return A = Object.setPrototypeOf || function(t, e) { + return t.__proto__ = e, + t } , - _(e, t) + A(t, e) } - function I(e) { - var t = x(); + function I(t) { + var e = x(); return function() { - var r, n = P(e); - if (t) { + var r, n = P(t); + if (e) { var i = P(this).constructor; r = Reflect.construct(n, arguments, i) } else @@ -18424,17 +18627,17 @@ return E(this, r) } } - function E(e, t) { - if (t && ("object" === v(t) || "function" === typeof t)) - return t; - if (void 0 !== t) + function E(t, e) { + if (e && ("object" === v(e) || "function" === typeof e)) + return e; + if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined"); - return T(e) + return T(t) } - function T(e) { - if (void 0 === e) + function T(t) { + if (void 0 === t) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); - return e + return t } function x() { if ("undefined" === typeof Reflect || !Reflect.construct) @@ -18447,68 +18650,68 @@ return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], (function() {} ))), !0 - } catch (e) { + } catch (t) { return !1 } } - function P(e) { - return P = Object.setPrototypeOf ? Object.getPrototypeOf : function(e) { - return e.__proto__ || Object.getPrototypeOf(e) + function P(t) { + return P = Object.setPrototypeOf ? Object.getPrototypeOf : function(t) { + return t.__proto__ || Object.getPrototypeOf(t) } , - P(e) + P(t) } - var k = function(e) { - A(r, e); - var t = I(r); - function r(e) { + var k = function(t) { + _(r, t); + var e = I(r); + function r(t) { return C(this, r), - t.call(this, "JBIG2 error: ".concat(e)) + e.call(this, "JBIG2 error: ".concat(t)) } return w(r) }(c) , D = function() { - function e() {} - function t(e, t, r) { - this.data = e, - this.start = t, + function t() {} + function e(t, e, r) { + this.data = t, + this.start = e, this.end = r } - function r(e, t, r) { - var n = e.getContexts(t) + function r(t, e, r) { + var n = t.getContexts(e) , i = 1; - function o(e) { - for (var t = 0, o = 0; o < e; o++) { + function o(t) { + for (var e = 0, o = 0; o < t; o++) { var a = r.readBit(n, i); i = i < 256 ? i << 1 | a : 511 & (i << 1 | a) | 256, - t = t << 1 | a + e = e << 1 | a } - return t >>> 0 + return e >>> 0 } var a = o(1) , s = o(1) ? o(1) ? o(1) ? o(1) ? o(1) ? o(32) + 4436 : o(12) + 340 : o(8) + 84 : o(6) + 20 : o(4) + 4 : o(2); return 0 === a ? s : s > 0 ? -s : null } - function n(e, t, r) { - for (var n = e.getContexts("IAID"), i = 1, o = 0; o < r; o++) { - var a = t.readBit(n, i); + function n(t, e, r) { + for (var n = t.getContexts("IAID"), i = 1, o = 0; o < r; o++) { + var a = e.readBit(n, i); i = i << 1 | a } return r < 31 ? i & (1 << r) - 1 : 2147483647 & i } - e.prototype = { - getContexts: function(e) { - return e in this ? this[e] : this[e] = new Int8Array(65536) + t.prototype = { + getContexts: function(t) { + return t in this ? this[t] : this[t] = new Int8Array(65536) } }, - t.prototype = { + e.prototype = { get decoder() { - var e = new g(this.data,this.start,this.end); - return s(this, "decoder", e) + var t = new g(this.data,this.start,this.end); + return s(this, "decoder", t) }, get contextCache() { - var t = new e; - return s(this, "contextCache", t) + var e = new t; + return s(this, "contextCache", e) } }; var i = ["SymbolDictionary", null, null, null, "IntermediateTextRegion", null, "ImmediateTextRegion", "ImmediateLosslessTextRegion", null, null, null, null, null, null, null, null, "PatternDictionary", null, null, null, "IntermediateHalftoneRegion", null, "ImmediateHalftoneRegion", "ImmediateLosslessHalftoneRegion", null, null, null, null, null, null, null, null, null, null, null, null, "IntermediateGenericRegion", null, "ImmediateGenericRegion", "ImmediateLosslessGenericRegion", "IntermediateGenericRefinementRegion", null, "ImmediateGenericRefinementRegion", "ImmediateLosslessGenericRefinementRegion", null, null, null, null, "PageInformation", "EndOfPage", "EndOfStripe", "EndOfFile", "Profiles", "Tables", null, null, null, null, null, null, null, null, "Extension"] @@ -18711,51 +18914,51 @@ }] , c = [39717, 1941, 229, 405] , h = [32, 8]; - function p(e, t, r) { + function p(t, e, r) { var n, i, o, a, s, c, u, d = r.decoder, l = r.contextCache.getContexts("GB"), f = [], h = 31735; - for (i = 0; i < t; i++) - for (s = f[i] = new Uint8Array(e), + for (i = 0; i < e; i++) + for (s = f[i] = new Uint8Array(t), c = i < 1 ? s : f[i - 1], u = i < 2 ? s : f[i - 2], n = u[0] << 13 | u[1] << 12 | u[2] << 11 | c[0] << 7 | c[1] << 6 | c[2] << 5 | c[3] << 4, - o = 0; o < e; o++) + o = 0; o < t; o++) s[o] = a = d.readBit(l, n), - n = (n & h) << 1 | (o + 3 < e ? u[o + 3] << 11 : 0) | (o + 4 < e ? c[o + 4] << 4 : 0) | a; + n = (n & h) << 1 | (o + 3 < t ? u[o + 3] << 11 : 0) | (o + 4 < t ? c[o + 4] << 4 : 0) | a; return f } - function m(e, t, r, n, i, a, s, u) { - if (e) { + function m(t, e, r, n, i, a, s, u) { + if (t) { var d = new K(u.data,u.start,u.end); - return G(d, t, r, !1) + return G(d, e, r, !1) } if (0 === n && !a && !i && 4 === s.length && 3 === s[0].x && -1 === s[0].y && -3 === s[1].x && -1 === s[1].y && 2 === s[2].x && -2 === s[2].y && -2 === s[3].x && -2 === s[3].y) - return p(t, r, u); + return p(e, r, u); var l = !!a , f = o[n].concat(s); - f.sort((function(e, t) { - return e.y - t.y || e.x - t.x + f.sort((function(t, e) { + return t.y - e.y || t.x - e.x } )); - var h, m, b = f.length, g = new Int8Array(b), y = new Int8Array(b), v = [], S = 0, w = 0, C = 0, A = 0; + var h, m, b = f.length, g = new Int8Array(b), y = new Int8Array(b), v = [], S = 0, w = 0, C = 0, _ = 0; for (m = 0; m < b; m++) g[m] = f[m].x, y[m] = f[m].y, w = Math.min(w, f[m].x), C = Math.max(C, f[m].x), - A = Math.min(A, f[m].y), + _ = Math.min(_, f[m].y), m < b - 1 && f[m].y === f[m + 1].y && f[m].x === f[m + 1].x - 1 ? S |= 1 << b - 1 - m : v.push(m); - var _ = v.length - , I = new Int8Array(_) - , E = new Int8Array(_) - , T = new Uint16Array(_); - for (h = 0; h < _; h++) + var A = v.length + , I = new Int8Array(A) + , E = new Int8Array(A) + , T = new Uint16Array(A); + for (h = 0; h < A; h++) m = v[h], I[h] = f[m].x, E[h] = f[m].y, T[h] = 1 << b - 1 - m; - for (var x, P, k, D, O, R = -w, M = -A, N = t - C, B = c[n], F = new Uint8Array(t), j = [], U = u.decoder, L = u.contextCache.getContexts("GB"), X = 0, z = 0, W = 0; W < r; W++) { + for (var x, P, k, D, O, R = -w, N = -_, M = e - C, B = c[n], F = new Uint8Array(e), j = [], L = u.decoder, U = u.contextCache.getContexts("GB"), X = 0, z = 0, W = 0; W < r; W++) { if (i) { - var q = U.readBit(L, B); + var q = L.readBit(U, B); if (X ^= q, X) { j.push(F); @@ -18764,13 +18967,13 @@ } for (F = new Uint8Array(F), j.push(F), - x = 0; x < t; x++) + x = 0; x < e; x++) if (l && a[W][x]) F[x] = 0; else { - if (x >= R && x < N && W >= M) + if (x >= R && x < M && W >= N) for (z = z << 1 & S, - m = 0; m < _; m++) + m = 0; m < A; m++) P = W + E[m], k = x + I[m], D = j[P][k], @@ -18782,16 +18985,16 @@ m = 0; m < b; m++, O--) k = x + g[m], - k >= 0 && k < t && (P = W + y[m], + k >= 0 && k < e && (P = W + y[m], P >= 0 && (D = j[P][k], D && (z |= D << O))); - var H = U.readBit(L, z); - F[x] = H + var V = L.readBit(U, z); + F[x] = V } } return j } - function b(e, t, r, n, i, o, s, c, u) { + function b(t, e, r, n, i, o, s, c, u) { var d = a[r].coding; 0 === r && (d = d.concat([c[0]])); var l, f = d.length, p = new Int32Array(f), m = new Int32Array(f); @@ -18806,79 +19009,79 @@ for (l = 0; l < g; l++) y[l] = b[l].x, v[l] = b[l].y; - for (var S = n[0].length, w = n.length, C = h[r], A = [], _ = u.decoder, I = u.contextCache.getContexts("GR"), E = 0, T = 0; T < t; T++) { + for (var S = n[0].length, w = n.length, C = h[r], _ = [], A = u.decoder, I = u.contextCache.getContexts("GR"), E = 0, T = 0; T < e; T++) { if (s) { - var x = _.readBit(I, C); + var x = A.readBit(I, C); if (E ^= x, E) throw new k("prediction is not supported") } - var P = new Uint8Array(e); - A.push(P); - for (var D = 0; D < e; D++) { - var O, R, M = 0; + var P = new Uint8Array(t); + _.push(P); + for (var D = 0; D < t; D++) { + var O, R, N = 0; for (l = 0; l < f; l++) O = T + m[l], R = D + p[l], - O < 0 || R < 0 || R >= e ? M <<= 1 : M = M << 1 | A[O][R]; + O < 0 || R < 0 || R >= t ? N <<= 1 : N = N << 1 | _[O][R]; for (l = 0; l < g; l++) O = T + v[l] - o, R = D + y[l] - i, - O < 0 || O >= w || R < 0 || R >= S ? M <<= 1 : M = M << 1 | n[O][R]; - var N = _.readBit(I, M); - P[D] = N + O < 0 || O >= w || R < 0 || R >= S ? N <<= 1 : N = N << 1 | n[O][R]; + var M = A.readBit(I, N); + P[D] = M } } - return A + return _ } - function v(e, t, i, o, a, s, c, d, l, f, h, p) { - if (e && t) + function v(t, e, i, o, a, s, c, d, l, f, h, p) { + if (t && e) throw new k("symbol refinement with Huffman is not supported"); - var g, y, v = [], w = 0, C = u(i.length + o), A = h.decoder, _ = h.contextCache; - e && (g = j(1), + var g, y, v = [], w = 0, C = u(i.length + o), _ = h.decoder, A = h.contextCache; + t && (g = j(1), y = [], C = Math.max(C, 1)); while (v.length < o) { - var I = e ? s.tableDeltaHeight.decode(p) : r(_, "IADH", A); + var I = t ? s.tableDeltaHeight.decode(p) : r(A, "IADH", _); w += I; var E = 0 , T = 0 - , x = e ? y.length : 0; + , x = t ? y.length : 0; while (1) { - var P, D = e ? s.tableDeltaWidth.decode(p) : r(_, "IADW", A); + var P, D = t ? s.tableDeltaWidth.decode(p) : r(A, "IADW", _); if (null === D) break; if (E += D, T += E, - t) { - var O = r(_, "IAAI", A); + e) { + var O = r(A, "IAAI", _); if (O > 1) - P = S(e, t, E, w, 0, O, 1, i.concat(v), C, 0, 0, 1, 0, s, l, f, h, 0, p); + P = S(t, e, E, w, 0, O, 1, i.concat(v), C, 0, 0, 1, 0, s, l, f, h, 0, p); else { - var R = n(_, A, C) - , M = r(_, "IARDX", A) - , N = r(_, "IARDY", A) + var R = n(A, _, C) + , N = r(A, "IARDX", _) + , M = r(A, "IARDY", _) , B = R < i.length ? i[R] : v[R - i.length]; - P = b(E, w, l, B, M, N, !1, f, h) + P = b(E, w, l, B, N, M, !1, f, h) } v.push(P) } else - e ? y.push(E) : (P = m(!1, E, w, c, !1, null, d, h), + t ? y.push(E) : (P = m(!1, E, w, c, !1, null, d, h), v.push(P)) } - if (e && !t) { + if (t && !e) { var F = s.tableBitmapSize.decode(p); p.byteAlign(); var K = void 0; if (0 === F) K = z(p, T, w); else { - var U = p.end - , L = p.position + F; - p.end = L, - K = G(p, T, w, !1), + var L = p.end + , U = p.position + F; p.end = U, - p.position = L + K = G(p, T, w, !1), + p.end = L, + p.position = U } var X = y.length; if (x === X - 1) @@ -18886,113 +19089,113 @@ else { var W = void 0 , q = void 0 - , H = 0 - , V = void 0 + , V = 0 + , H = void 0 , Y = void 0 - , Q = void 0; + , Z = void 0; for (W = x; W < X; W++) { for (Y = y[W], - V = H + Y, - Q = [], + H = V + Y, + Z = [], q = 0; q < w; q++) - Q.push(K[q].subarray(H, V)); - v.push(Q), - H = V + Z.push(K[q].subarray(V, H)); + v.push(Z), + V = H } } } } - var Z = [] + var Q = [] , J = [] , $ = !1 - , ee = i.length + o; - while (J.length < ee) { - var te = e ? g.decode(p) : r(_, "IAEX", A); - while (te--) + , tt = i.length + o; + while (J.length < tt) { + var et = t ? g.decode(p) : r(A, "IAEX", _); + while (et--) J.push($); $ = !$ } - for (var re = 0, ne = i.length; re < ne; re++) - J[re] && Z.push(i[re]); - for (var ie = 0; ie < o; re++, - ie++) - J[re] && Z.push(v[ie]); - return Z + for (var rt = 0, nt = i.length; rt < nt; rt++) + J[rt] && Q.push(i[rt]); + for (var it = 0; it < o; rt++, + it++) + J[rt] && Q.push(v[it]); + return Q } - function S(e, t, i, o, a, s, c, u, d, l, f, h, p, m, g, y, v, S, w) { - if (e && t) + function S(t, e, i, o, a, s, c, u, d, l, f, h, p, m, g, y, v, S, w) { + if (t && e) throw new k("refinement with Huffman is not supported"); - var C, A, _ = []; + var C, _, A = []; for (C = 0; C < o; C++) { - if (A = new Uint8Array(i), + if (_ = new Uint8Array(i), a) for (var I = 0; I < i; I++) - A[I] = a; - _.push(A) + _[I] = a; + A.push(_) } var E = v.decoder , T = v.contextCache - , x = e ? -m.tableDeltaT.decode(w) : -r(T, "IADT", E) + , x = t ? -m.tableDeltaT.decode(w) : -r(T, "IADT", E) , P = 0; C = 0; while (C < s) { - var D = e ? m.tableDeltaT.decode(w) : r(T, "IADT", E); + var D = t ? m.tableDeltaT.decode(w) : r(T, "IADT", E); x += D; - var O = e ? m.tableFirstS.decode(w) : r(T, "IAFS", E); + var O = t ? m.tableFirstS.decode(w) : r(T, "IAFS", E); P += O; var R = P; do { - var M = 0; - c > 1 && (M = e ? w.readBits(S) : r(T, "IAIT", E)); - var N = c * x + M - , B = e ? m.symbolIDTable.decode(w) : n(T, E, d) - , F = t && (e ? w.readBit() : r(T, "IARI", E)) + var N = 0; + c > 1 && (N = t ? w.readBits(S) : r(T, "IAIT", E)); + var M = c * x + N + , B = t ? m.symbolIDTable.decode(w) : n(T, E, d) + , F = e && (t ? w.readBit() : r(T, "IARI", E)) , j = u[B] , K = j[0].length - , U = j.length; + , L = j.length; if (F) { - var L = r(T, "IARDW", E) + var U = r(T, "IARDW", E) , X = r(T, "IARDH", E) , z = r(T, "IARDX", E) , G = r(T, "IARDY", E); - K += L, - U += X, - j = b(K, U, g, j, (L >> 1) + z, (X >> 1) + G, !1, y, v) + K += U, + L += X, + j = b(K, L, g, j, (U >> 1) + z, (X >> 1) + G, !1, y, v) } - var W, q, H, V = N - (1 & h ? 0 : U - 1), Y = R - (2 & h ? K - 1 : 0); + var W, q, V, H = M - (1 & h ? 0 : L - 1), Y = R - (2 & h ? K - 1 : 0); if (l) { - for (W = 0; W < U; W++) - if (A = _[Y + W], - A) { - H = j[W]; - var Q = Math.min(i - V, K); + for (W = 0; W < L; W++) + if (_ = A[Y + W], + _) { + V = j[W]; + var Z = Math.min(i - H, K); switch (p) { case 0: - for (q = 0; q < Q; q++) - A[V + q] |= H[q]; + for (q = 0; q < Z; q++) + _[H + q] |= V[q]; break; case 2: - for (q = 0; q < Q; q++) - A[V + q] ^= H[q]; + for (q = 0; q < Z; q++) + _[H + q] ^= V[q]; break; default: throw new k("operator ".concat(p, " is not supported")) } } - R += U - 1 + R += L - 1 } else { - for (q = 0; q < U; q++) - if (A = _[V + q], - A) - switch (H = j[q], + for (q = 0; q < L; q++) + if (_ = A[H + q], + _) + switch (V = j[q], p) { case 0: for (W = 0; W < K; W++) - A[Y + W] |= H[W]; + _[Y + W] |= V[W]; break; case 2: for (W = 0; W < K; W++) - A[Y + W] ^= H[W]; + _[Y + W] ^= V[W]; break; default: throw new k("operator ".concat(p, " is not supported")) @@ -19000,18 +19203,18 @@ R += K - 1 } C++; - var Z = e ? m.tableDeltaS.decode(w) : r(T, "IADS", E); - if (null === Z) + var Q = t ? m.tableDeltaS.decode(w) : r(T, "IADS", E); + if (null === Q) break; - R += Z + f + R += Q + f } while (1) } - return _ + return A } - function w(e, t, r, n, i, o) { + function w(t, e, r, n, i, o) { var a = []; - e || (a.push({ - x: -t, + t || (a.push({ + x: -e, y: 0 }), 0 === i && (a.push({ @@ -19026,14 +19229,14 @@ x: -2, y: -2 }))); - for (var s = (n + 1) * t, c = m(e, s, r, i, !1, null, a, o), u = [], d = 0; d <= n; d++) { - for (var l = [], f = t * d, h = f + t, p = 0; p < r; p++) + for (var s = (n + 1) * e, c = m(t, s, r, i, !1, null, a, o), u = [], d = 0; d <= n; d++) { + for (var l = [], f = e * d, h = f + e, p = 0; p < r; p++) l.push(c[p].subarray(f, h)); u.push(l) } return u } - function C(e, t, r, n, i, o, a, s, c, d, l, f, h, p, b) { + function C(t, e, r, n, i, o, a, s, c, d, l, f, h, p, b) { var g = null; if (a) throw new k("skip is not supported"); @@ -19047,13 +19250,13 @@ S[v] = o; w.push(S) } - var C = t.length - , A = t[0] - , _ = A[0].length - , I = A.length + var C = e.length + , _ = e[0] + , A = _[0].length + , I = _.length , E = u(C) , T = []; - e || (T.push({ + t || (T.push({ x: r <= 1 ? 3 : 2, y: -1 }), @@ -19069,46 +19272,46 @@ x: -2, y: -2 }))); - var x, P, D, O, R, M, N, B, F, j, U, L = []; - for (e && (x = new K(b.data,b.start,b.end)), + var x, P, D, O, R, N, M, B, F, j, L, U = []; + for (t && (x = new K(b.data,b.start,b.end)), y = E - 1; y >= 0; y--) - P = e ? G(x, c, d, !0) : m(!1, c, d, r, !1, g, T, b), - L[y] = P; + P = t ? G(x, c, d, !0) : m(!1, c, d, r, !1, g, T, b), + U[y] = P; for (D = 0; D < d; D++) for (O = 0; O < c; O++) { for (R = 0, - M = 0, + N = 0, v = E - 1; v >= 0; v--) - R = L[v][D][O] ^ R, - M |= R << v; - if (N = t[M], + R = U[v][D][O] ^ R, + N |= R << v; + if (M = e[N], B = l + D * p + O * h >> 8, F = f + D * h - O * p >> 8, - B >= 0 && B + _ <= n && F >= 0 && F + I <= i) + B >= 0 && B + A <= n && F >= 0 && F + I <= i) for (y = 0; y < I; y++) - for (U = w[F + y], - j = N[y], - v = 0; v < _; v++) - U[B + v] |= j[v]; + for (L = w[F + y], + j = M[y], + v = 0; v < A; v++) + L[B + v] |= j[v]; else { var X = void 0 , z = void 0; for (y = 0; y < I; y++) if (z = F + y, !(z < 0 || z >= i)) - for (U = w[z], - j = N[y], - v = 0; v < _; v++) + for (L = w[z], + j = M[y], + v = 0; v < A; v++) X = B + v, - X >= 0 && X < n && (U[X] |= j[v]) + X >= 0 && X < n && (L[X] |= j[v]) } } return w } - function A(e, t) { + function _(t, e) { var r = {}; - r.number = f(e, t); - var n = e[t + 4] + r.number = f(t, e); + var n = t[e + 4] , o = 63 & n; if (!i[o]) throw new k("invalid segment type: " + o); @@ -19116,17 +19319,17 @@ r.typeName = i[o], r.deferredNonRetain = !!(128 & n); var a = !!(64 & n) - , s = e[t + 5] + , s = t[e + 5] , c = s >> 5 & 7 , u = [31 & s] - , d = t + 6; + , d = e + 6; if (7 === s) { - c = 536870911 & f(e, d - 1), + c = 536870911 & f(t, d - 1), d += 3; var h = c + 7 >> 3; - u[0] = e[d++]; + u[0] = t[d++]; while (--h > 0) - u.push(e[d++]) + u.push(t[d++]) } else if (5 === s || 6 === s) throw new k("invalid referred-to flags"); r.retainBits = u; @@ -19135,35 +19338,35 @@ var m, b, g = []; for (m = 0; m < c; m++) { var y = void 0; - y = 1 === p ? e[d] : 2 === p ? l(e, d) : f(e, d), + y = 1 === p ? t[d] : 2 === p ? l(t, d) : f(t, d), g.push(y), d += p } if (r.referredTo = g, - a ? (r.pageAssociation = f(e, d), - d += 4) : r.pageAssociation = e[d++], - r.length = f(e, d), + a ? (r.pageAssociation = f(t, d), + d += 4) : r.pageAssociation = t[d++], + r.length = f(t, d), d += 4, 4294967295 === r.length) { if (38 !== o) throw new k("invalid unknown segment length"); - var v = I(e, d) - , S = e[d + E] + var v = I(t, d) + , S = t[d + E] , w = !!(1 & S) , C = 6 - , A = new Uint8Array(C); - for (w || (A[0] = 255, - A[1] = 172), - A[2] = v.height >>> 24 & 255, - A[3] = v.height >> 16 & 255, - A[4] = v.height >> 8 & 255, - A[5] = 255 & v.height, + , _ = new Uint8Array(C); + for (w || (_[0] = 255, + _[1] = 172), + _[2] = v.height >>> 24 & 255, + _[3] = v.height >> 16 & 255, + _[4] = v.height >> 8 & 255, + _[5] = 255 & v.height, m = d, - b = e.length; m < b; m++) { - var _ = 0; - while (_ < C && A[_] === e[m + _]) - _++; - if (_ === C) { + b = t.length; m < b; m++) { + var A = 0; + while (A < C && _[A] === t[m + A]) + A++; + if (A === C) { r.length = m + C; break } @@ -19174,42 +19377,42 @@ return r.headerEnd = d, r } - function _(e, t, r, n) { + function A(t, e, r, n) { var i = [] , o = r; while (o < n) { - var a = A(t, o); + var a = _(e, o); o = a.headerEnd; var s = { header: a, - data: t + data: e }; - if (e.randomAccess || (s.start = o, + if (t.randomAccess || (s.start = o, o += a.length, s.end = o), i.push(s), 51 === a.type) break } - if (e.randomAccess) + if (t.randomAccess) for (var c = 0, u = i.length; c < u; c++) i[c].start = o, o += i[c].header.length, i[c].end = o; return i } - function I(e, t) { + function I(t, e) { return { - width: f(e, t), - height: f(e, t + 4), - x: f(e, t + 8), - y: f(e, t + 12), - combinationOperator: 7 & e[t + 16] + width: f(t, e), + height: f(t, e + 4), + x: f(t, e + 8), + y: f(t, e + 12), + combinationOperator: 7 & t[e + 16] } } var E = 17; - function T(e, t) { - var r, n, i, o, a = e.header, s = e.data, c = e.start, u = e.end; + function T(t, e) { + var r, n, i, o, a = t.header, s = t.data, c = t.start, u = t.end; switch (a.type) { case 0: var h = {} @@ -19336,10 +19539,10 @@ var C = {}; C.info = I(s, c), c += E; - var A = s[c++]; - if (C.mmr = !!(1 & A), - C.template = A >> 1 & 3, - C.prediction = !!(8 & A), + var _ = s[c++]; + if (C.mmr = !!(1 & _), + C.template = _ >> 1 & 3, + C.prediction = !!(8 & _), !C.mmr) { for (o = 0 === C.template ? 4 : 1, n = [], @@ -19354,22 +19557,22 @@ r = [C, s, c, u]; break; case 48: - var _ = { + var A = { width: f(s, c), height: f(s, c + 4), resolutionX: f(s, c + 8), resolutionY: f(s, c + 12) }; - 4294967295 === _.height && delete _.height; + 4294967295 === A.height && delete A.height; var T = s[c + 16]; l(s, c + 17), - _.lossless = !!(1 & T), - _.refinement = !!(2 & T), - _.defaultPixelValue = T >> 2 & 1, - _.combinationOperator = T >> 3 & 3, - _.requiresBuffer = !!(32 & T), - _.combinationOperatorOverride = !!(64 & T), - r = [_]; + A.lossless = !!(1 & T), + A.refinement = !!(2 & T), + A.defaultPixelValue = T >> 2 & 1, + A.combinationOperator = T >> 3 & 3, + A.requiresBuffer = !!(32 & T), + A.combinationOperatorOverride = !!(64 & T), + r = [A]; break; case 49: break; @@ -19386,32 +19589,32 @@ throw new k("segment type ".concat(a.typeName, "(").concat(a.type, ")") + " is not implemented") } var x = "on" + a.typeName; - x in t && t[x].apply(t, r) + x in e && e[x].apply(e, r) } - function x(e, t) { - for (var r = 0, n = e.length; r < n; r++) - T(e[r], t) + function x(t, e) { + for (var r = 0, n = t.length; r < n; r++) + T(t[r], e) } - function P(e) { - for (var t = new O, r = 0, n = e.length; r < n; r++) { - var i = e[r] - , o = _({}, i.data, i.start, i.end); - x(o, t) + function P(t) { + for (var e = new O, r = 0, n = t.length; r < n; r++) { + var i = t[r] + , o = A({}, i.data, i.start, i.end); + x(o, e) } - return t.buffer + return e.buffer } - function D(e) { - var t = e.length + function D(t) { + var e = t.length , r = 0; - if (151 !== e[r] || 74 !== e[r + 1] || 66 !== e[r + 2] || 50 !== e[r + 3] || 13 !== e[r + 4] || 10 !== e[r + 5] || 26 !== e[r + 6] || 10 !== e[r + 7]) + if (151 !== t[r] || 74 !== t[r + 1] || 66 !== t[r + 2] || 50 !== t[r + 3] || 13 !== t[r + 4] || 10 !== t[r + 5] || 26 !== t[r + 6] || 10 !== t[r + 7]) throw new k("parseJbig2 - invalid header."); var n = Object.create(null); r += 8; - var i = e[r++]; + var i = t[r++]; n.randomAccess = !(1 & i), - 2 & i || (n.numberOfPages = f(e, r), + 2 & i || (n.numberOfPages = f(t, r), r += 4); - var o = _(n, e, r, t) + var o = A(n, t, r, e) , a = new O; x(o, a); for (var s = a.currentPageInfo, c = s.width, u = s.height, d = a.buffer, l = new Uint8ClampedArray(c * u), h = 0, p = 0, m = 0; m < u; m++) @@ -19427,37 +19630,37 @@ } } function O() {} - function R(e) { - 2 === e.length ? (this.isOOB = !0, + function R(t) { + 2 === t.length ? (this.isOOB = !0, this.rangeLow = 0, - this.prefixLength = e[0], + this.prefixLength = t[0], this.rangeLength = 0, - this.prefixCode = e[1], + this.prefixCode = t[1], this.isLowerRange = !1) : (this.isOOB = !1, - this.rangeLow = e[0], - this.prefixLength = e[1], - this.rangeLength = e[2], - this.prefixCode = e[3], - this.isLowerRange = "lower" === e[4]) + this.rangeLow = t[0], + this.prefixLength = t[1], + this.rangeLength = t[2], + this.prefixCode = t[3], + this.isLowerRange = "lower" === t[4]) } - function M(e) { + function N(t) { this.children = [], - e ? (this.isLeaf = !0, - this.rangeLength = e.rangeLength, - this.rangeLow = e.rangeLow, - this.isLowerRange = e.isLowerRange, - this.isOOB = e.isOOB) : this.isLeaf = !1 + t ? (this.isLeaf = !0, + this.rangeLength = t.rangeLength, + this.rangeLow = t.rangeLow, + this.isLowerRange = t.isLowerRange, + this.isOOB = t.isOOB) : this.isLeaf = !1 } - function N(e, t) { - t || this.assignPrefixCodes(e), - this.rootNode = new M(null); - for (var r = 0, n = e.length; r < n; r++) { - var i = e[r]; + function M(t, e) { + e || this.assignPrefixCodes(t), + this.rootNode = new N(null); + for (var r = 0, n = t.length; r < n; r++) { + var i = t[r]; i.prefixLength > 0 && this.rootNode.buildTree(i, i.prefixLength - 1) } } - function B(e, t, r) { - var n, i, o = e[t], a = 4294967295 & f(e, t + 1), s = 4294967295 & f(e, t + 5), c = new K(e,t + 9,r), u = 1 + (o >> 1 & 7), d = 1 + (o >> 4 & 7), l = [], h = a; + function B(t, e, r) { + var n, i, o = t[e], a = 4294967295 & f(t, e + 1), s = 4294967295 & f(t, e + 5), c = new K(t,e + 9,r), u = 1 + (o >> 1 & 7), d = 1 + (o >> 4 & 7), l = [], h = a; do { n = c.readBits(u), i = c.readBits(d), @@ -19470,27 +19673,27 @@ l.push(new R([s, n, 32, 0])), 1 & o && (n = c.readBits(u), l.push(new R([n, 0]))), - new N(l,!1) + new M(l,!1) } O.prototype = { - onPageInformation: function(e) { - this.currentPageInfo = e; - var t = e.width + 7 >> 3 - , r = new Uint8ClampedArray(t * e.height); - if (e.defaultPixelValue) + onPageInformation: function(t) { + this.currentPageInfo = t; + var e = t.width + 7 >> 3 + , r = new Uint8ClampedArray(e * t.height); + if (t.defaultPixelValue) for (var n = 0, i = r.length; n < i; n++) r[n] = 255; this.buffer = r }, - drawBitmap: function(e, t) { - var r, n, i, o, a = this.currentPageInfo, s = e.width, c = e.height, u = a.width + 7 >> 3, d = a.combinationOperatorOverride ? e.combinationOperator : a.combinationOperator, l = this.buffer, f = 128 >> (7 & e.x), h = e.y * u + (e.x >> 3); + drawBitmap: function(t, e) { + var r, n, i, o, a = this.currentPageInfo, s = t.width, c = t.height, u = a.width + 7 >> 3, d = a.combinationOperatorOverride ? t.combinationOperator : a.combinationOperator, l = this.buffer, f = 128 >> (7 & t.x), h = t.y * u + (t.x >> 3); switch (d) { case 0: for (r = 0; r < c; r++) { for (i = f, o = h, n = 0; n < s; n++) - t[r][n] && (l[o] |= i), + e[r][n] && (l[o] |= i), i >>= 1, i || (i = 128, o++); @@ -19502,7 +19705,7 @@ for (i = f, o = h, n = 0; n < s; n++) - t[r][n] && (l[o] ^= i), + e[r][n] && (l[o] ^= i), i >>= 1, i || (i = 128, o++); @@ -19513,18 +19716,18 @@ throw new k("operator ".concat(d, " is not supported")) } }, - onImmediateGenericRegion: function(e, r, n, i) { - var o = e.info - , a = new t(r,n,i) - , s = m(e.mmr, o.width, o.height, e.template, e.prediction, null, e.at, a); + onImmediateGenericRegion: function(t, r, n, i) { + var o = t.info + , a = new e(r,n,i) + , s = m(t.mmr, o.width, o.height, t.template, t.prediction, null, t.at, a); this.drawBitmap(o, s) }, onImmediateLosslessGenericRegion: function() { this.onImmediateGenericRegion.apply(this, arguments) }, - onSymbolDictionary: function(e, r, n, i, o, a) { + onSymbolDictionary: function(t, r, n, i, o, a) { var s, c; - e.huffman && (s = X(e, n, this.customTables), + t.huffman && (s = X(t, n, this.customTables), c = new K(i,o,a)); var u = this.symbols; u || (this.symbols = u = {}); @@ -19532,87 +19735,87 @@ var h = u[n[l]]; h && (d = d.concat(h)) } - var p = new t(i,o,a); - u[r] = v(e.huffman, e.refinement, d, e.numberOfNewSymbols, e.numberOfExportedSymbols, s, e.template, e.at, e.refinementTemplate, e.refinementAt, p, c) + var p = new e(i,o,a); + u[r] = v(t.huffman, t.refinement, d, t.numberOfNewSymbols, t.numberOfExportedSymbols, s, t.template, t.at, t.refinementTemplate, t.refinementAt, p, c) }, - onImmediateTextRegion: function(e, r, n, i, o) { - for (var a, s, c = e.info, d = this.symbols, l = [], f = 0, h = r.length; f < h; f++) { + onImmediateTextRegion: function(t, r, n, i, o) { + for (var a, s, c = t.info, d = this.symbols, l = [], f = 0, h = r.length; f < h; f++) { var p = d[r[f]]; p && (l = l.concat(p)) } var m = u(l.length); - e.huffman && (s = new K(n,i,o), - a = L(e, r, this.customTables, l.length, s)); - var b = new t(n,i,o) - , g = S(e.huffman, e.refinement, c.width, c.height, e.defaultPixelValue, e.numberOfSymbolInstances, e.stripSize, l, m, e.transposed, e.dsOffset, e.referenceCorner, e.combinationOperator, a, e.refinementTemplate, e.refinementAt, b, e.logStripSize, s); + t.huffman && (s = new K(n,i,o), + a = U(t, r, this.customTables, l.length, s)); + var b = new e(n,i,o) + , g = S(t.huffman, t.refinement, c.width, c.height, t.defaultPixelValue, t.numberOfSymbolInstances, t.stripSize, l, m, t.transposed, t.dsOffset, t.referenceCorner, t.combinationOperator, a, t.refinementTemplate, t.refinementAt, b, t.logStripSize, s); this.drawBitmap(c, g) }, onImmediateLosslessTextRegion: function() { this.onImmediateTextRegion.apply(this, arguments) }, - onPatternDictionary: function(e, r, n, i, o) { + onPatternDictionary: function(t, r, n, i, o) { var a = this.patterns; a || (this.patterns = a = {}); - var s = new t(n,i,o); - a[r] = w(e.mmr, e.patternWidth, e.patternHeight, e.maxPatternIndex, e.template, s) + var s = new e(n,i,o); + a[r] = w(t.mmr, t.patternWidth, t.patternHeight, t.maxPatternIndex, t.template, s) }, - onImmediateHalftoneRegion: function(e, r, n, i, o) { + onImmediateHalftoneRegion: function(t, r, n, i, o) { var a = this.patterns[r[0]] - , s = e.info - , c = new t(n,i,o) - , u = C(e.mmr, a, e.template, s.width, s.height, e.defaultPixelValue, e.enableSkip, e.combinationOperator, e.gridWidth, e.gridHeight, e.gridOffsetX, e.gridOffsetY, e.gridVectorX, e.gridVectorY, c); + , s = t.info + , c = new e(n,i,o) + , u = C(t.mmr, a, t.template, s.width, s.height, t.defaultPixelValue, t.enableSkip, t.combinationOperator, t.gridWidth, t.gridHeight, t.gridOffsetX, t.gridOffsetY, t.gridVectorX, t.gridVectorY, c); this.drawBitmap(s, u) }, onImmediateLosslessHalftoneRegion: function() { this.onImmediateHalftoneRegion.apply(this, arguments) }, - onTables: function(e, t, r, n) { + onTables: function(t, e, r, n) { var i = this.customTables; i || (this.customTables = i = {}), - i[e] = B(t, r, n) - } - }, - M.prototype = { - buildTree: function(e, t) { - var r = e.prefixCode >> t & 1; - if (t <= 0) - this.children[r] = new M(e); - else { - var n = this.children[r]; - n || (this.children[r] = n = new M(null)), - n.buildTree(e, t - 1) - } - }, - decodeNode: function(e) { - if (this.isLeaf) { - if (this.isOOB) - return null; - var t = e.readBits(this.rangeLength); - return this.rangeLow + (this.isLowerRange ? -t : t) - } - var r = this.children[e.readBit()]; - if (!r) - throw new k("invalid Huffman data"); - return r.decodeNode(e) + i[t] = B(e, r, n) } }, N.prototype = { - decode: function(e) { - return this.rootNode.decodeNode(e) + buildTree: function(t, e) { + var r = t.prefixCode >> e & 1; + if (e <= 0) + this.children[r] = new N(t); + else { + var n = this.children[r]; + n || (this.children[r] = n = new N(null)), + n.buildTree(t, e - 1) + } }, - assignPrefixCodes: function(e) { - for (var t = e.length, r = 0, n = 0; n < t; n++) - r = Math.max(r, e[n].prefixLength); - for (var i = new Uint32Array(r + 1), o = 0; o < t; o++) - i[e[o].prefixLength]++; + decodeNode: function(t) { + if (this.isLeaf) { + if (this.isOOB) + return null; + var e = t.readBits(this.rangeLength); + return this.rangeLow + (this.isLowerRange ? -e : e) + } + var r = this.children[t.readBit()]; + if (!r) + throw new k("invalid Huffman data"); + return r.decodeNode(t) + } + }, + M.prototype = { + decode: function(t) { + return this.rootNode.decodeNode(t) + }, + assignPrefixCodes: function(t) { + for (var e = t.length, r = 0, n = 0; n < e; n++) + r = Math.max(r, t[n].prefixLength); + for (var i = new Uint32Array(r + 1), o = 0; o < e; o++) + i[t[o].prefixLength]++; var a, s, c, u = 1, d = 0; i[0] = 0; while (u <= r) { d = d + i[u - 1] << 1, a = d, s = 0; - while (s < t) - c = e[s], + while (s < e) + c = t[s], c.prefixLength === u && (c.prefixCode = a, a++), s++; @@ -19621,90 +19824,90 @@ } }; var F = {}; - function j(e) { - var t, r = F[e]; + function j(t) { + var e, r = F[t]; if (r) return r; - switch (e) { + switch (t) { case 1: - t = [[0, 1, 4, 0], [16, 2, 8, 2], [272, 3, 16, 6], [65808, 3, 32, 7]]; + e = [[0, 1, 4, 0], [16, 2, 8, 2], [272, 3, 16, 6], [65808, 3, 32, 7]]; break; case 2: - t = [[0, 1, 0, 0], [1, 2, 0, 2], [2, 3, 0, 6], [3, 4, 3, 14], [11, 5, 6, 30], [75, 6, 32, 62], [6, 63]]; + e = [[0, 1, 0, 0], [1, 2, 0, 2], [2, 3, 0, 6], [3, 4, 3, 14], [11, 5, 6, 30], [75, 6, 32, 62], [6, 63]]; break; case 3: - t = [[-256, 8, 8, 254], [0, 1, 0, 0], [1, 2, 0, 2], [2, 3, 0, 6], [3, 4, 3, 14], [11, 5, 6, 30], [-257, 8, 32, 255, "lower"], [75, 7, 32, 126], [6, 62]]; + e = [[-256, 8, 8, 254], [0, 1, 0, 0], [1, 2, 0, 2], [2, 3, 0, 6], [3, 4, 3, 14], [11, 5, 6, 30], [-257, 8, 32, 255, "lower"], [75, 7, 32, 126], [6, 62]]; break; case 4: - t = [[1, 1, 0, 0], [2, 2, 0, 2], [3, 3, 0, 6], [4, 4, 3, 14], [12, 5, 6, 30], [76, 5, 32, 31]]; + e = [[1, 1, 0, 0], [2, 2, 0, 2], [3, 3, 0, 6], [4, 4, 3, 14], [12, 5, 6, 30], [76, 5, 32, 31]]; break; case 5: - t = [[-255, 7, 8, 126], [1, 1, 0, 0], [2, 2, 0, 2], [3, 3, 0, 6], [4, 4, 3, 14], [12, 5, 6, 30], [-256, 7, 32, 127, "lower"], [76, 6, 32, 62]]; + e = [[-255, 7, 8, 126], [1, 1, 0, 0], [2, 2, 0, 2], [3, 3, 0, 6], [4, 4, 3, 14], [12, 5, 6, 30], [-256, 7, 32, 127, "lower"], [76, 6, 32, 62]]; break; case 6: - t = [[-2048, 5, 10, 28], [-1024, 4, 9, 8], [-512, 4, 8, 9], [-256, 4, 7, 10], [-128, 5, 6, 29], [-64, 5, 5, 30], [-32, 4, 5, 11], [0, 2, 7, 0], [128, 3, 7, 2], [256, 3, 8, 3], [512, 4, 9, 12], [1024, 4, 10, 13], [-2049, 6, 32, 62, "lower"], [2048, 6, 32, 63]]; + e = [[-2048, 5, 10, 28], [-1024, 4, 9, 8], [-512, 4, 8, 9], [-256, 4, 7, 10], [-128, 5, 6, 29], [-64, 5, 5, 30], [-32, 4, 5, 11], [0, 2, 7, 0], [128, 3, 7, 2], [256, 3, 8, 3], [512, 4, 9, 12], [1024, 4, 10, 13], [-2049, 6, 32, 62, "lower"], [2048, 6, 32, 63]]; break; case 7: - t = [[-1024, 4, 9, 8], [-512, 3, 8, 0], [-256, 4, 7, 9], [-128, 5, 6, 26], [-64, 5, 5, 27], [-32, 4, 5, 10], [0, 4, 5, 11], [32, 5, 5, 28], [64, 5, 6, 29], [128, 4, 7, 12], [256, 3, 8, 1], [512, 3, 9, 2], [1024, 3, 10, 3], [-1025, 5, 32, 30, "lower"], [2048, 5, 32, 31]]; + e = [[-1024, 4, 9, 8], [-512, 3, 8, 0], [-256, 4, 7, 9], [-128, 5, 6, 26], [-64, 5, 5, 27], [-32, 4, 5, 10], [0, 4, 5, 11], [32, 5, 5, 28], [64, 5, 6, 29], [128, 4, 7, 12], [256, 3, 8, 1], [512, 3, 9, 2], [1024, 3, 10, 3], [-1025, 5, 32, 30, "lower"], [2048, 5, 32, 31]]; break; case 8: - t = [[-15, 8, 3, 252], [-7, 9, 1, 508], [-5, 8, 1, 253], [-3, 9, 0, 509], [-2, 7, 0, 124], [-1, 4, 0, 10], [0, 2, 1, 0], [2, 5, 0, 26], [3, 6, 0, 58], [4, 3, 4, 4], [20, 6, 1, 59], [22, 4, 4, 11], [38, 4, 5, 12], [70, 5, 6, 27], [134, 5, 7, 28], [262, 6, 7, 60], [390, 7, 8, 125], [646, 6, 10, 61], [-16, 9, 32, 510, "lower"], [1670, 9, 32, 511], [2, 1]]; + e = [[-15, 8, 3, 252], [-7, 9, 1, 508], [-5, 8, 1, 253], [-3, 9, 0, 509], [-2, 7, 0, 124], [-1, 4, 0, 10], [0, 2, 1, 0], [2, 5, 0, 26], [3, 6, 0, 58], [4, 3, 4, 4], [20, 6, 1, 59], [22, 4, 4, 11], [38, 4, 5, 12], [70, 5, 6, 27], [134, 5, 7, 28], [262, 6, 7, 60], [390, 7, 8, 125], [646, 6, 10, 61], [-16, 9, 32, 510, "lower"], [1670, 9, 32, 511], [2, 1]]; break; case 9: - t = [[-31, 8, 4, 252], [-15, 9, 2, 508], [-11, 8, 2, 253], [-7, 9, 1, 509], [-5, 7, 1, 124], [-3, 4, 1, 10], [-1, 3, 1, 2], [1, 3, 1, 3], [3, 5, 1, 26], [5, 6, 1, 58], [7, 3, 5, 4], [39, 6, 2, 59], [43, 4, 5, 11], [75, 4, 6, 12], [139, 5, 7, 27], [267, 5, 8, 28], [523, 6, 8, 60], [779, 7, 9, 125], [1291, 6, 11, 61], [-32, 9, 32, 510, "lower"], [3339, 9, 32, 511], [2, 0]]; + e = [[-31, 8, 4, 252], [-15, 9, 2, 508], [-11, 8, 2, 253], [-7, 9, 1, 509], [-5, 7, 1, 124], [-3, 4, 1, 10], [-1, 3, 1, 2], [1, 3, 1, 3], [3, 5, 1, 26], [5, 6, 1, 58], [7, 3, 5, 4], [39, 6, 2, 59], [43, 4, 5, 11], [75, 4, 6, 12], [139, 5, 7, 27], [267, 5, 8, 28], [523, 6, 8, 60], [779, 7, 9, 125], [1291, 6, 11, 61], [-32, 9, 32, 510, "lower"], [3339, 9, 32, 511], [2, 0]]; break; case 10: - t = [[-21, 7, 4, 122], [-5, 8, 0, 252], [-4, 7, 0, 123], [-3, 5, 0, 24], [-2, 2, 2, 0], [2, 5, 0, 25], [3, 6, 0, 54], [4, 7, 0, 124], [5, 8, 0, 253], [6, 2, 6, 1], [70, 5, 5, 26], [102, 6, 5, 55], [134, 6, 6, 56], [198, 6, 7, 57], [326, 6, 8, 58], [582, 6, 9, 59], [1094, 6, 10, 60], [2118, 7, 11, 125], [-22, 8, 32, 254, "lower"], [4166, 8, 32, 255], [2, 2]]; + e = [[-21, 7, 4, 122], [-5, 8, 0, 252], [-4, 7, 0, 123], [-3, 5, 0, 24], [-2, 2, 2, 0], [2, 5, 0, 25], [3, 6, 0, 54], [4, 7, 0, 124], [5, 8, 0, 253], [6, 2, 6, 1], [70, 5, 5, 26], [102, 6, 5, 55], [134, 6, 6, 56], [198, 6, 7, 57], [326, 6, 8, 58], [582, 6, 9, 59], [1094, 6, 10, 60], [2118, 7, 11, 125], [-22, 8, 32, 254, "lower"], [4166, 8, 32, 255], [2, 2]]; break; case 11: - t = [[1, 1, 0, 0], [2, 2, 1, 2], [4, 4, 0, 12], [5, 4, 1, 13], [7, 5, 1, 28], [9, 5, 2, 29], [13, 6, 2, 60], [17, 7, 2, 122], [21, 7, 3, 123], [29, 7, 4, 124], [45, 7, 5, 125], [77, 7, 6, 126], [141, 7, 32, 127]]; + e = [[1, 1, 0, 0], [2, 2, 1, 2], [4, 4, 0, 12], [5, 4, 1, 13], [7, 5, 1, 28], [9, 5, 2, 29], [13, 6, 2, 60], [17, 7, 2, 122], [21, 7, 3, 123], [29, 7, 4, 124], [45, 7, 5, 125], [77, 7, 6, 126], [141, 7, 32, 127]]; break; case 12: - t = [[1, 1, 0, 0], [2, 2, 0, 2], [3, 3, 1, 6], [5, 5, 0, 28], [6, 5, 1, 29], [8, 6, 1, 60], [10, 7, 0, 122], [11, 7, 1, 123], [13, 7, 2, 124], [17, 7, 3, 125], [25, 7, 4, 126], [41, 8, 5, 254], [73, 8, 32, 255]]; + e = [[1, 1, 0, 0], [2, 2, 0, 2], [3, 3, 1, 6], [5, 5, 0, 28], [6, 5, 1, 29], [8, 6, 1, 60], [10, 7, 0, 122], [11, 7, 1, 123], [13, 7, 2, 124], [17, 7, 3, 125], [25, 7, 4, 126], [41, 8, 5, 254], [73, 8, 32, 255]]; break; case 13: - t = [[1, 1, 0, 0], [2, 3, 0, 4], [3, 4, 0, 12], [4, 5, 0, 28], [5, 4, 1, 13], [7, 3, 3, 5], [15, 6, 1, 58], [17, 6, 2, 59], [21, 6, 3, 60], [29, 6, 4, 61], [45, 6, 5, 62], [77, 7, 6, 126], [141, 7, 32, 127]]; + e = [[1, 1, 0, 0], [2, 3, 0, 4], [3, 4, 0, 12], [4, 5, 0, 28], [5, 4, 1, 13], [7, 3, 3, 5], [15, 6, 1, 58], [17, 6, 2, 59], [21, 6, 3, 60], [29, 6, 4, 61], [45, 6, 5, 62], [77, 7, 6, 126], [141, 7, 32, 127]]; break; case 14: - t = [[-2, 3, 0, 4], [-1, 3, 0, 5], [0, 1, 0, 0], [1, 3, 0, 6], [2, 3, 0, 7]]; + e = [[-2, 3, 0, 4], [-1, 3, 0, 5], [0, 1, 0, 0], [1, 3, 0, 6], [2, 3, 0, 7]]; break; case 15: - t = [[-24, 7, 4, 124], [-8, 6, 2, 60], [-4, 5, 1, 28], [-2, 4, 0, 12], [-1, 3, 0, 4], [0, 1, 0, 0], [1, 3, 0, 5], [2, 4, 0, 13], [3, 5, 1, 29], [5, 6, 2, 61], [9, 7, 4, 125], [-25, 7, 32, 126, "lower"], [25, 7, 32, 127]]; + e = [[-24, 7, 4, 124], [-8, 6, 2, 60], [-4, 5, 1, 28], [-2, 4, 0, 12], [-1, 3, 0, 4], [0, 1, 0, 0], [1, 3, 0, 5], [2, 4, 0, 13], [3, 5, 1, 29], [5, 6, 2, 61], [9, 7, 4, 125], [-25, 7, 32, 126, "lower"], [25, 7, 32, 127]]; break; default: - throw new k("standard table B.".concat(e, " does not exist")) + throw new k("standard table B.".concat(t, " does not exist")) } - for (var n = 0, i = t.length; n < i; n++) - t[n] = new R(t[n]); - return r = new N(t,!0), - F[e] = r, + for (var n = 0, i = e.length; n < i; n++) + e[n] = new R(e[n]); + return r = new M(e,!0), + F[t] = r, r } - function K(e, t, r) { - this.data = e, - this.start = t, + function K(t, e, r) { + this.data = t, + this.start = e, this.end = r, - this.position = t, + this.position = e, this.shift = -1, this.currentByte = 0 } - function U(e, t, r) { - for (var n = 0, i = 0, o = t.length; i < o; i++) { - var a = r[t[i]]; + function L(t, e, r) { + for (var n = 0, i = 0, o = e.length; i < o; i++) { + var a = r[e[i]]; if (a) { - if (e === n) + if (t === n) return a; n++ } } throw new k("can't find custom Huffman table") } - function L(e, t, r, n, i) { + function U(t, e, r, n, i) { for (var o = [], a = 0; a <= 34; a++) { var s = i.readBits(4); o.push(new R([a, s, 0, 0])) } - var c = new N(o,!1); + var c = new M(o,!1); o.length = 0; for (var u = 0; u < n; ) { var d = c.decode(i); @@ -19738,46 +19941,46 @@ u++ } i.byteAlign(); - var p, m, b, g = new N(o,!1), y = 0; - switch (e.huffmanFS) { + var p, m, b, g = new M(o,!1), y = 0; + switch (t.huffmanFS) { case 0: case 1: - p = j(e.huffmanFS + 6); + p = j(t.huffmanFS + 6); break; case 3: - p = U(y, t, r), + p = L(y, e, r), y++; break; default: throw new k("invalid Huffman FS selector") } - switch (e.huffmanDS) { + switch (t.huffmanDS) { case 0: case 1: case 2: - m = j(e.huffmanDS + 8); + m = j(t.huffmanDS + 8); break; case 3: - m = U(y, t, r), + m = L(y, e, r), y++; break; default: throw new k("invalid Huffman DS selector") } - switch (e.huffmanDT) { + switch (t.huffmanDT) { case 0: case 1: case 2: - b = j(e.huffmanDT + 11); + b = j(t.huffmanDT + 11); break; case 3: - b = U(y, t, r), + b = L(y, e, r), y++; break; default: throw new k("invalid Huffman DT selector") } - if (e.refinement) + if (t.refinement) throw new k("refinement with Huffman is not supported"); return { symbolIDTable: g, @@ -19786,35 +19989,35 @@ tableDeltaT: b } } - function X(e, t, r) { + function X(t, e, r) { var n, i, o, a, s = 0; - switch (e.huffmanDHSelector) { + switch (t.huffmanDHSelector) { case 0: case 1: - n = j(e.huffmanDHSelector + 4); + n = j(t.huffmanDHSelector + 4); break; case 3: - n = U(s, t, r), + n = L(s, e, r), s++; break; default: throw new k("invalid Huffman DH selector") } - switch (e.huffmanDWSelector) { + switch (t.huffmanDWSelector) { case 0: case 1: - i = j(e.huffmanDWSelector + 2); + i = j(t.huffmanDWSelector + 2); break; case 3: - i = U(s, t, r), + i = L(s, e, r), s++; break; default: throw new k("invalid Huffman DW selector") } - return e.bitmapSizeSelector ? (o = U(s, t, r), + return t.bitmapSizeSelector ? (o = L(s, e, r), s++) : o = j(1), - a = e.aggregationInstancesSelector ? U(s, t, r) : j(1), + a = t.aggregationInstancesSelector ? L(s, e, r) : j(1), { tableDeltaHeight: n, tableDeltaWidth: i, @@ -19822,27 +20025,27 @@ tableAggregateInstances: a } } - function z(e, t, r) { + function z(t, e, r) { for (var n = [], i = 0; i < r; i++) { - var o = new Uint8Array(t); + var o = new Uint8Array(e); n.push(o); - for (var a = 0; a < t; a++) - o[a] = e.readBit(); - e.byteAlign() + for (var a = 0; a < e; a++) + o[a] = t.readBit(); + t.byteAlign() } return n } - function G(e, t, r, n) { + function G(t, e, r, n) { for (var i, o = { K: -1, - Columns: t, + Columns: e, Rows: r, BlackIs1: !0, EndOfBlock: n - }, a = new y(e,o), s = [], c = !1, u = 0; u < r; u++) { - var d = new Uint8Array(t); + }, a = new y(t,o), s = [], c = !1, u = 0; u < r; u++) { + var d = new Uint8Array(e); s.push(d); - for (var l = -1, f = 0; f < t; f++) + for (var l = -1, f = 0; f < e; f++) l < 0 && (i = a.readNextChar(), -1 === i && (i = 0, c = !0), @@ -19865,14 +20068,14 @@ this.currentByte = this.data[this.position++], this.shift = 7 } - var e = this.currentByte >> this.shift & 1; + var t = this.currentByte >> this.shift & 1; return this.shift--, - e + t }, - readBits: function(e) { - var t, r = 0; - for (t = e - 1; t >= 0; t--) - r |= this.readBit() << t; + readBits: function(t) { + var e, r = 0; + for (e = t - 1; e >= 0; e--) + r |= this.readBit() << e; return r }, byteAlign: function() { @@ -19883,14 +20086,14 @@ } }, W.prototype = { - parseChunks: function(e) { - return P(e) + parseChunks: function(t) { + return P(t) }, - parse: function(e) { - var t = D(e) - , r = t.imgData - , n = t.width - , i = t.height; + parse: function(t) { + var e = D(t) + , r = e.imgData + , n = e.width + , i = e.height; return this.width = n, this.height = i, r @@ -19899,85 +20102,85 @@ W }() }, - 7418: function(e, t) { - t.f = Object.getOwnPropertySymbols + 7418: function(t, e) { + e.f = Object.getOwnPropertySymbols }, - "746f": function(e, t, r) { + "746f": function(t, e, r) { var n = r("428f") , i = r("1a2d") , 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) + t.exports = function(t) { + var e = n.Symbol || (n.Symbol = {}); + i(e, t) || a(e, t, { + value: o.f(t) }) } }, - "74db": function(e, t, r) { + "74db": function(t, e, r) { "use strict"; const n = r("5486") , i = r("8a24") , o = r("8a24") , a = r("90da").buildOptions , s = r("adc3"); - t.parse = function(e, t, r) { + e.parse = function(t, e, r) { if (r) { !0 === r && (r = {}); - const t = s.validate(e, r); - if (!0 !== t) - throw Error(t.err.msg) + const e = s.validate(t, r); + if (!0 !== e) + throw Error(e.err.msg) } - t = a(t, o.defaultOptions, o.props); - const c = i.getTraversalObj(e, t); - return n.convertToJson(c, t) + e = a(e, o.defaultOptions, o.props); + const c = i.getTraversalObj(t, e); + return n.convertToJson(c, e) } , - t.convertTonimn = r("8006").convert2nimn, - t.getTraversalObj = i.getTraversalObj, - t.convertToJson = n.convertToJson, - t.convertToJsonString = r("5a79").convertToJsonString, - t.validate = s.validate, - t.j2xParser = r("cd38"), - t.parseToNimn = function(e, r, n) { - return t.convertTonimn(t.getTraversalObj(e, n), r, n) + e.convertTonimn = r("8006").convert2nimn, + e.getTraversalObj = i.getTraversalObj, + e.convertToJson = n.convertToJson, + e.convertToJsonString = r("5a79").convertToJsonString, + e.validate = s.validate, + e.j2xParser = r("cd38"), + e.parseToNimn = function(t, r, n) { + return e.convertTonimn(e.getTraversalObj(t, n), r, n) } }, - 7839: function(e, t) { - e.exports = ["constructor", "hasOwnProperty", "isPrototypeOf", "propertyIsEnumerable", "toLocaleString", "toString", "valueOf"] + 7839: function(t, e) { + t.exports = ["constructor", "hasOwnProperty", "isPrototypeOf", "propertyIsEnumerable", "toLocaleString", "toString", "valueOf"] }, - "7a77": function(e, t, r) { + "7a77": function(t, e, r) { "use strict"; - function n(e) { - this.message = e + function n(t) { + this.message = t } n.prototype.toString = function() { return "Cancel" + (this.message ? ": " + this.message : "") } , n.prototype.__CANCEL__ = !0, - e.exports = n + t.exports = n }, - "7aac": function(e, t, r) { + "7aac": function(t, e, r) { "use strict"; var n = r("c532"); - e.exports = n.isStandardBrowserEnv() ? function() { + t.exports = n.isStandardBrowserEnv() ? function() { return { - write: function(e, t, r, i, o, a) { + write: function(t, e, r, i, o, a) { var s = []; - s.push(e + "=" + encodeURIComponent(t)), + s.push(t + "=" + encodeURIComponent(e)), n.isNumber(r) && s.push("expires=" + new Date(r).toGMTString()), n.isString(i) && s.push("path=" + i), n.isString(o) && s.push("domain=" + o), !0 === a && s.push("secure"), document.cookie = s.join("; ") }, - read: function(e) { - var t = document.cookie.match(new RegExp("(^|;\\s*)(" + e + ")=([^;]*)")); - return t ? decodeURIComponent(t[3]) : null + read: function(t) { + var e = document.cookie.match(new RegExp("(^|;\\s*)(" + t + ")=([^;]*)")); + return e ? decodeURIComponent(e[3]) : null }, - remove: function(e) { - this.write(e, "", Date.now() - 864e5) + remove: function(t) { + this.write(t, "", Date.now() - 864e5) } } }() : function() { @@ -19990,54 +20193,54 @@ } }() }, - "7b0b": function(e, t, r) { + "7b0b": function(t, e, r) { var n = r("da84") , i = r("1d80") , o = n.Object; - e.exports = function(e) { - return o(i(e)) + t.exports = function(t) { + return o(i(t)) } }, - "7c73": function(e, t, r) { - var n, i = r("825a"), o = r("37e8"), a = r("7839"), s = r("d012"), c = r("1be4"), u = r("cc12"), d = r("f772"), l = ">", f = "<", h = "prototype", p = "script", m = d("IE_PROTO"), b = function() {}, g = function(e) { - return f + p + l + e + f + "/" + p + l - }, y = function(e) { - e.write(g("")), - e.close(); - var t = e.parentWindow.Object; - return e = null, - t + "7c73": function(t, e, r) { + var n, i = r("825a"), o = r("37e8"), a = r("7839"), s = r("d012"), c = r("1be4"), u = r("cc12"), d = r("f772"), l = ">", f = "<", h = "prototype", p = "script", m = d("IE_PROTO"), b = function() {}, g = function(t) { + return f + p + l + t + f + "/" + p + l + }, y = function(t) { + t.write(g("")), + t.close(); + var e = t.parentWindow.Object; + return t = null, + e }, v = function() { - var e, t = u("iframe"), r = "java" + p + ":"; - return t.style.display = "none", - c.appendChild(t), - t.src = String(r), - e = t.contentWindow.document, - e.open(), - e.write(g("document.F=Object")), - e.close(), - e.F + var t, e = u("iframe"), r = "java" + p + ":"; + return e.style.display = "none", + c.appendChild(e), + e.src = String(r), + t = e.contentWindow.document, + t.open(), + t.write(g("document.F=Object")), + t.close(), + t.F }, S = function() { try { n = new ActiveXObject("htmlfile") - } catch (t) {} + } catch (e) {} S = "undefined" != typeof document ? document.domain && n ? y(n) : v() : y(n); - var e = a.length; - while (e--) - delete S[h][a[e]]; + var t = a.length; + while (t--) + delete S[h][a[t]]; return S() }; s[m] = !0, - e.exports = Object.create || function(e, t) { + t.exports = Object.create || function(t, e) { var r; - return null !== e ? (b[h] = i(e), + return null !== t ? (b[h] = i(t), r = new b, b[h] = null, - r[m] = e) : r = S(), - void 0 === t ? r : o.f(r, t) + r[m] = t) : r = S(), + void 0 === e ? r : o.f(r, e) } }, - "7dd0": function(e, t, r) { + "7dd0": function(t, e, r) { "use strict"; var n = r("23e7") , i = r("c65b") @@ -20059,87 +20262,87 @@ , S = b.BUGGY_SAFARI_ITERATORS , w = p("iterator") , C = "keys" - , A = "values" - , _ = "entries" + , _ = "values" + , A = "entries" , I = function() { return this }; - e.exports = function(e, t, r, a, p, b, E) { - c(r, t, a); - var T, x, P, k = function(e) { - if (e === p && N) - return N; - if (!S && e in R) - return R[e]; - switch (e) { + t.exports = function(t, e, r, a, p, b, E) { + c(r, e, a); + var T, x, P, k = function(t) { + if (t === p && M) + return M; + if (!S && t in R) + return R[t]; + switch (t) { case C: return function() { - return new r(this,e) - } - ; - case A: - return function() { - return new r(this,e) + return new r(this,t) } ; case _: return function() { - return new r(this,e) + return new r(this,t) + } + ; + case A: + return function() { + return new r(this,t) } } return function() { return new r(this) } - }, D = t + " Iterator", O = !1, R = e.prototype, M = R[w] || R["@@iterator"] || p && R[p], N = !S && M || k(p), B = "Array" == t && R.entries || M; - if (B && (T = u(B.call(new e)), + }, D = e + " Iterator", O = !1, R = t.prototype, N = R[w] || R["@@iterator"] || p && R[p], M = !S && N || k(p), B = "Array" == e && R.entries || N; + if (B && (T = u(B.call(new t)), T !== Object.prototype && T.next && (o || u(T) === v || (d ? d(T, v) : s(T[w]) || h(T, w, I)), l(T, D, !0, !0), o && (m[D] = I))), - g && p == A && M && M.name !== A && (!o && y ? f(R, "name", A) : (O = !0, - N = function() { - return i(M, this) + g && p == _ && N && N.name !== _ && (!o && y ? f(R, "name", _) : (O = !0, + M = function() { + return i(N, this) } )), p) if (x = { - values: k(A), - keys: b ? N : k(C), - entries: k(_) + values: k(_), + keys: b ? M : k(C), + entries: k(A) }, E) for (P in x) (S || O || !(P in R)) && h(R, P, x[P]); else n({ - target: t, + target: e, proto: !0, forced: S || O }, x); - return o && !E || R[w] === N || h(R, w, N, { + return o && !E || R[w] === M || h(R, w, M, { name: p }), - m[t] = N, + m[e] = M, x } }, - "7efc": function(e, t, r) { + "7efc": function(t, e, r) { "use strict"; - r.d(t, "a", (function() { + r.d(e, "a", (function() { return l } )), - r.d(t, "b", (function() { + r.d(e, "b", (function() { return f } )), - r.d(t, "c", (function() { + r.d(e, "c", (function() { return h } )); var n = r("6b33") , i = { - parse: function(e) { - var t = function(e, t, r, n) { + parse: function(t) { + var e = function(t, e, r, n) { i["B"]; var o = i["T"] , a = { @@ -20163,27 +20366,27 @@ sbix: o.sbix } , s = { - _data: e, - _index: t, + _data: t, + _index: e, _offset: r }; for (var c in a) { - var u = i["findTable"](e, c, r); + var u = i["findTable"](t, c, r); if (u) { var d = u[0] , l = n[d]; - null == l && (l = a[c].parseTab(e, d, u[1], s)), + null == l && (l = a[c].parseTab(t, d, u[1], s)), s[c] = n[d] = l } } if (!s["head"]) { - l = a["CFF "].parseTab(e, 0, e.length); + l = a["CFF "].parseTab(t, 0, t.length); s["CFF "] = l } return s } , r = i["B"] - , n = new Uint8Array(e) + , n = new Uint8Array(t) , o = {} , a = r.readASCII(n, 0, 4); if ("ttcf" == a) { @@ -20197,19 +20400,19 @@ for (var u = [], d = 0; d < c; d++) { var l = r.readUint(n, s); s += 4, - u.push(t(n, d, l, o)) + u.push(e(n, d, l, o)) } return u } - return [t(n, 0, 0, o)] + return [e(n, 0, 0, o)] }, - findTable: function(e, t, r) { - for (var n = i["B"], o = n.readUshort(e, r + 4), a = r + 12, s = 0; s < o; s++) { - var c = n.readASCII(e, a, 4) - , u = (n.readUint(e, a + 4), - n.readUint(e, a + 8)) - , d = n.readUint(e, a + 12); - if (c == t) + findTable: function(t, e, r) { + for (var n = i["B"], o = n.readUshort(t, r + 4), a = r + 12, s = 0; s < o; s++) { + var c = n.readASCII(t, a, 4) + , u = (n.readUint(t, a + 4), + n.readUint(t, a + 8)) + , d = n.readUint(t, a + 12); + if (c == e) return [u, d]; a += 16 } @@ -20218,230 +20421,230 @@ T: {} }; i["B"] = { - readFixed: function(e, t) { - return (e[t] << 8 | e[t + 1]) + (e[t + 2] << 8 | e[t + 3]) / 65540 + readFixed: function(t, e) { + return (t[e] << 8 | t[e + 1]) + (t[e + 2] << 8 | t[e + 3]) / 65540 }, - readOffset: function(e, t, r) { + readOffset: function(t, e, r) { for (var n = 0, i = 0; i < r; i++) - n = n << 8 | e[t + i]; + n = n << 8 | t[e + i]; return n }, - readF2dot14: function(e, t) { - var r = i["B"].readShort(e, t); + readF2dot14: function(t, e) { + var r = i["B"].readShort(t, e); return r / 16384 }, - readInt: function(e, t) { + readInt: function(t, e) { var r = i["B"].t.uint8; - return r[0] = e[t + 3], - r[1] = e[t + 2], - r[2] = e[t + 1], - r[3] = e[t], + return r[0] = t[e + 3], + r[1] = t[e + 2], + r[2] = t[e + 1], + r[3] = t[e], i["B"].t.int32[0] }, - readInt8: function(e, t) { + readInt8: function(t, e) { var r = i["B"].t.uint8; - return r[0] = e[t], + return r[0] = t[e], i["B"].t.int8[0] }, - readUint8: function(e, t) { - return e[t] + readUint8: function(t, e) { + return t[e] }, - readShort: function(e, t) { + readShort: function(t, e) { var r = i["B"].t.uint16; - return r[0] = e[t] << 8 | e[t + 1], + return r[0] = t[e] << 8 | t[e + 1], i["B"].t.int16[0] }, - readUshort: function(e, t) { - return e[t] << 8 | e[t + 1] + readUshort: function(t, e) { + return t[e] << 8 | t[e + 1] }, - writeUshort: function(e, t, r) { - e[t] = r >> 8 & 255, - e[t + 1] = 255 & r + writeUshort: function(t, e, r) { + t[e] = r >> 8 & 255, + t[e + 1] = 255 & r }, - readUshorts: function(e, t, r) { + readUshorts: function(t, e, r) { for (var n = [], o = 0; o < r; o++) { - var a = i["B"].readUshort(e, t + 2 * o); + var a = i["B"].readUshort(t, e + 2 * o); n.push(a) } return n }, - readUint: function(e, t) { + readUint: function(t, e) { var r = i["B"].t.uint8; - return r[3] = e[t], - r[2] = e[t + 1], - r[1] = e[t + 2], - r[0] = e[t + 3], + return r[3] = t[e], + r[2] = t[e + 1], + r[1] = t[e + 2], + r[0] = t[e + 3], i["B"].t.uint32[0] }, - writeUint: function(e, t, r) { - e[t] = r >> 24 & 255, - e[t + 1] = r >> 16 & 255, - e[t + 2] = r >> 8 & 255, - e[t + 3] = r >> 0 & 255 + writeUint: function(t, e, r) { + t[e] = r >> 24 & 255, + t[e + 1] = r >> 16 & 255, + t[e + 2] = r >> 8 & 255, + t[e + 3] = r >> 0 & 255 }, - readUint64: function(e, t) { - return 4294967296 * i["B"].readUint(e, t) + i["B"].readUint(e, t + 4) + readUint64: function(t, e) { + return 4294967296 * i["B"].readUint(t, e) + i["B"].readUint(t, e + 4) }, - readASCII: function(e, t, r) { + readASCII: function(t, e, r) { for (var n = "", i = 0; i < r; i++) - n += String.fromCharCode(e[t + i]); + n += String.fromCharCode(t[e + i]); return n }, - writeASCII: function(e, t, r) { + writeASCII: function(t, e, r) { for (var n = 0; n < r.length; n++) - e[t + n] = r.charCodeAt(n) + t[e + n] = r.charCodeAt(n) }, - readUnicode: function(e, t, r) { + readUnicode: function(t, e, r) { for (var n = "", i = 0; i < r; i++) { - var o = e[t++] << 8 | e[t++]; + var o = t[e++] << 8 | t[e++]; n += String.fromCharCode(o) } return n }, _tdec: window["TextDecoder"] ? new window["TextDecoder"] : null, - readUTF8: function(e, t, r) { + readUTF8: function(t, e, r) { var n = i["B"]._tdec; - return n && 0 == t && r == e.length ? n["decode"](e) : i["B"].readASCII(e, t, r) + return n && 0 == e && r == t.length ? n["decode"](t) : i["B"].readASCII(t, e, r) }, - readBytes: function(e, t, r) { + readBytes: function(t, e, r) { for (var n = [], i = 0; i < r; i++) - n.push(e[t + i]); + n.push(t[e + i]); return n }, - readASCIIArray: function(e, t, r) { + readASCIIArray: function(t, e, r) { for (var n = [], i = 0; i < r; i++) - n.push(String.fromCharCode(e[t + i])); + n.push(String.fromCharCode(t[e + i])); return n }, t: function() { - var e = new ArrayBuffer(8); + var t = new ArrayBuffer(8); return { - buff: e, - int8: new Int8Array(e), - uint8: new Uint8Array(e), - int16: new Int16Array(e), - uint16: new Uint16Array(e), - int32: new Int32Array(e), - uint32: new Uint32Array(e) + buff: t, + int8: new Int8Array(t), + uint8: new Uint8Array(t), + int16: new Int16Array(t), + uint16: new Uint16Array(t), + int32: new Int32Array(t), + uint32: new Uint32Array(t) } }() }, i["T"].CFF = { - parseTab: function(e, t, r) { + parseTab: function(t, e, r) { var n = i["B"] , o = i["T"].CFF; - e = new Uint8Array(e.buffer,t,r), - t = 0; - e[t]; - t++; - e[t]; - t++; - e[t]; - t++; - e[t]; - t++; + t = new Uint8Array(t.buffer,e,r), + e = 0; + t[e]; + e++; + t[e]; + e++; + t[e]; + e++; + t[e]; + e++; var a = []; - t = o.readIndex(e, t, a); + e = o.readIndex(t, e, a); for (var s = [], c = 0; c < a.length - 1; c++) - s.push(n.readASCII(e, t + a[c], a[c + 1] - a[c])); - t += a[a.length - 1]; + s.push(n.readASCII(t, e + a[c], a[c + 1] - a[c])); + e += a[a.length - 1]; var u = []; - t = o.readIndex(e, t, u); + e = o.readIndex(t, e, u); var d = []; for (c = 0; c < u.length - 1; c++) - d.push(o.readDict(e, t + u[c], t + u[c + 1])); - t += u[u.length - 1]; + d.push(o.readDict(t, e + u[c], e + u[c + 1])); + e += u[u.length - 1]; var l = d[0] , f = []; - t = o.readIndex(e, t, f); + e = o.readIndex(t, e, f); var h = []; for (c = 0; c < f.length - 1; c++) - h.push(n.readASCII(e, t + f[c], f[c + 1] - f[c])); - if (t += f[f.length - 1], - o.readSubrs(e, t, l), - l["CharStrings"] && (l["CharStrings"] = o.readBytes(e, l["CharStrings"])), + h.push(n.readASCII(t, e + f[c], f[c + 1] - f[c])); + if (e += f[f.length - 1], + o.readSubrs(t, e, l), + l["CharStrings"] && (l["CharStrings"] = o.readBytes(t, l["CharStrings"])), l["ROS"]) { - t = l["FDArray"]; + e = l["FDArray"]; var p = []; - t = o.readIndex(e, t, p), + e = o.readIndex(t, e, p), l["FDArray"] = []; for (c = 0; c < p.length - 1; c++) { - var m = o.readDict(e, t + p[c], t + p[c + 1]); - o._readFDict(e, m, h), + var m = o.readDict(t, e + p[c], e + p[c + 1]); + o._readFDict(t, m, h), l["FDArray"].push(m) } - t += p[p.length - 1], - t = l["FDSelect"], + e += p[p.length - 1], + e = l["FDSelect"], l["FDSelect"] = []; - var b = e[t]; - if (t++, + var b = t[e]; + if (e++, 3 != b) throw b; - var g = n.readUshort(e, t); - t += 2; + var g = n.readUshort(t, e); + e += 2; for (c = 0; c < g + 1; c++) - l["FDSelect"].push(n.readUshort(e, t), e[t + 2]), - t += 3 + l["FDSelect"].push(n.readUshort(t, e), t[e + 2]), + e += 3 } - return l["charset"] && (l["charset"] = o.readCharset(e, l["charset"], l["CharStrings"].length)), - o._readFDict(e, l, h), + return l["charset"] && (l["charset"] = o.readCharset(t, l["charset"], l["CharStrings"].length)), + o._readFDict(t, l, h), l }, - _readFDict: function(e, t, r) { + _readFDict: function(t, e, r) { var n, o = i["T"].CFF; - for (var a in t["Private"] && (n = t["Private"][1], - t["Private"] = o.readDict(e, n, n + t["Private"][0]), - t["Private"]["Subrs"] && o.readSubrs(e, n + t["Private"]["Subrs"], t["Private"])), - t) - -1 != ["FamilyName", "FontName", "FullName", "Notice", "version", "Copyright"].indexOf(a) && (t[a] = r[t[a] - 426 + 35]) + for (var a in e["Private"] && (n = e["Private"][1], + e["Private"] = o.readDict(t, n, n + e["Private"][0]), + e["Private"]["Subrs"] && o.readSubrs(t, n + e["Private"]["Subrs"], e["Private"])), + e) + -1 != ["FamilyName", "FontName", "FullName", "Notice", "version", "Copyright"].indexOf(a) && (e[a] = r[e[a] - 426 + 35]) }, - readSubrs: function(e, t, r) { - r["Subrs"] = i["T"].CFF.readBytes(e, t); + readSubrs: function(t, e, r) { + r["Subrs"] = i["T"].CFF.readBytes(t, e); var n, o = r["Subrs"].length + 1; n = o < 1240 ? 107 : o < 33900 ? 1131 : 32768, r["Bias"] = n }, - readBytes: function(e, t) { + readBytes: function(t, e) { i["B"]; var r = []; - t = i["T"].CFF.readIndex(e, t, r); - for (var n = [], o = r.length - 1, a = e.byteOffset + t, s = 0; s < o; s++) { + e = i["T"].CFF.readIndex(t, e, r); + for (var n = [], o = r.length - 1, a = t.byteOffset + e, s = 0; s < o; s++) { var c = r[s]; - n.push(new Uint8Array(e.buffer,a + c,r[s + 1] - c)) + n.push(new Uint8Array(t.buffer,a + c,r[s + 1] - c)) } return n }, tableSE: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 0, 111, 112, 113, 114, 0, 115, 116, 117, 118, 119, 120, 121, 122, 0, 123, 0, 124, 125, 126, 127, 128, 129, 130, 131, 0, 132, 133, 0, 134, 135, 136, 137, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 138, 0, 139, 0, 0, 0, 0, 140, 141, 142, 143, 0, 0, 0, 0, 0, 144, 0, 0, 0, 145, 0, 0, 146, 147, 148, 149, 0, 0, 0, 0], - glyphByUnicode: function(e, t) { - for (var r = 0; r < e["charset"].length; r++) - if (e["charset"][r] == t) + glyphByUnicode: function(t, e) { + for (var r = 0; r < t["charset"].length; r++) + if (t["charset"][r] == e) return r; return -1 }, - glyphBySE: function(e, t) { - return t < 0 || t > 255 ? -1 : i["T"].CFF.glyphByUnicode(e, i["T"].CFF.tableSE[t]) + glyphBySE: function(t, e) { + return e < 0 || e > 255 ? -1 : i["T"].CFF.glyphByUnicode(t, i["T"].CFF.tableSE[e]) }, - readCharset: function(e, t, r) { + readCharset: function(t, e, r) { var n = i["B"] , o = [".notdef"] - , a = e[t]; - if (t++, + , a = t[e]; + if (e++, 0 == a) for (var s = 0; s < r; s++) { - var c = n.readUshort(e, t); - t += 2, + var c = n.readUshort(t, e); + e += 2, o.push(c) } else { if (1 != a && 2 != a) throw "error: format: " + a; while (o.length < r) { - c = n.readUshort(e, t); - t += 2; + c = n.readUshort(t, e); + e += 2; var u = 0; - 1 == a ? (u = e[t], - t++) : (u = n.readUshort(e, t), - t += 2); + 1 == a ? (u = t[e], + e++) : (u = n.readUshort(t, e), + e += 2); for (s = 0; s <= u; s++) o.push(c), c++ @@ -20449,36 +20652,36 @@ } return o }, - readIndex: function(e, t, r) { + readIndex: function(t, e, r) { var n = i["B"] - , o = n.readUshort(e, t) + 1; - t += 2; - var a = e[t]; - if (t++, + , o = n.readUshort(t, e) + 1; + e += 2; + var a = t[e]; + if (e++, 1 == a) for (var s = 0; s < o; s++) - r.push(e[t + s]); + r.push(t[e + s]); else if (2 == a) for (s = 0; s < o; s++) - r.push(n.readUshort(e, t + 2 * s)); + r.push(n.readUshort(t, e + 2 * s)); else if (3 == a) for (s = 0; s < o; s++) - r.push(16777215 & n.readUint(e, t + 3 * s - 1)); + r.push(16777215 & n.readUint(t, e + 3 * s - 1)); else if (4 == a) for (s = 0; s < o; s++) - r.push(n.readUint(e, t + 4 * s)); + r.push(n.readUint(t, e + 4 * s)); else if (1 != o) throw "unsupported offset size: " + a + ", count: " + o; - return t += o * a, - t - 1 + return e += o * a, + e - 1 }, - getCharString: function(e, t, r) { + getCharString: function(t, e, r) { var n = i["B"] - , o = e[t] - , a = e[t + 1] - , s = (e[t + 2], - e[t + 3], - e[t + 4], + , o = t[e] + , a = t[e + 1] + , s = (t[e + 2], + t[e + 3], + t[e + 4], 1) , c = null , u = null; @@ -20488,7 +20691,7 @@ s = 2), 21 <= o && o <= 27 && (c = o, s = 1), - 28 == o && (u = n.readShort(e, t + 1), + 28 == o && (u = n.readShort(t, e + 1), s = 3), 29 <= o && o <= 31 && (c = o, s = 1), @@ -20498,21 +20701,21 @@ s = 2), 251 <= o && o <= 254 && (u = 256 * -(o - 251) - a - 108, s = 2), - 255 == o && (u = n.readInt(e, t + 1) / 65535, + 255 == o && (u = n.readInt(t, e + 1) / 65535, s = 5), r.val = null != u ? u : "o" + c, r.size = s }, - readCharString: function(e, t, r) { - var n = t + r + readCharString: function(t, e, r) { + var n = e + r , o = i["B"] , a = []; - while (t < n) { - var s = e[t] - , c = e[t + 1] - , u = (e[t + 2], - e[t + 3], - e[t + 4], + while (e < n) { + var s = t[e] + , c = t[e + 1] + , u = (t[e + 2], + t[e + 3], + t[e + 4], 1) , d = null , l = null; @@ -20524,7 +20727,7 @@ u = 2), 21 <= s && s <= 27 && (d = s, u = 1), - 28 == s && (l = o.readShort(e, t + 1), + 28 == s && (l = o.readShort(t, e + 1), u = 3), 29 <= s && s <= 31 && (d = s, u = 1), @@ -20534,29 +20737,29 @@ u = 2), 251 <= s && s <= 254 && (l = 256 * -(s - 251) - c - 108, u = 2), - 255 == s && (l = o.readInt(e, t + 1) / 65535, + 255 == s && (l = o.readInt(t, e + 1) / 65535, u = 5), a.push(null != l ? l : "o" + d), - t += u + e += u } return a }, - readDict: function(e, t, r) { + readDict: function(t, e, r) { var n = i["B"] , o = {} , a = []; - while (t < r) { - var s = e[t] - , c = e[t + 1] - , u = (e[t + 2], - e[t + 3], - e[t + 4], + while (e < r) { + var s = t[e] + , c = t[e + 1] + , u = (t[e + 2], + t[e + 3], + t[e + 4], 1) , d = null , l = null; - if (28 == s && (l = n.readShort(e, t + 1), + if (28 == s && (l = n.readShort(t, e + 1), u = 3), - 29 == s && (l = n.readInt(e, t + 1), + 29 == s && (l = n.readInt(t, e + 1), u = 5), 32 <= s && s <= 246 && (l = s - 139, u = 1), @@ -20565,14 +20768,14 @@ 251 <= s && s <= 254 && (l = 256 * -(s - 251) - c - 108, u = 2), 255 == s) - throw l = n.readInt(e, t + 1) / 65535, + throw l = n.readInt(t, e + 1) / 65535, u = 5, "unknown number"; if (30 == s) { var f = []; u = 1; while (1) { - var h = e[t + u]; + var h = t[e + u]; u++; var p = h >> 4 , m = 15 & h; @@ -20597,42 +20800,42 @@ } null != d ? (o[d] = 1 == a.length ? a[0] : a, a = []) : a.push(l), - t += u + e += u } return o } }, i["T"].cmap = { - parseTab: function(e, t, r) { + parseTab: function(t, e, r) { var n = { tables: [], ids: {}, - off: t + off: e }; - e = new Uint8Array(e.buffer,t,r), - t = 0; + t = new Uint8Array(t.buffer,e,r), + e = 0; var o = i["B"] , a = o.readUshort , s = i["T"].cmap; - a(e, t); - t += 2; - var c = a(e, t); - t += 2; + a(t, e); + e += 2; + var c = a(t, e); + e += 2; for (var u = [], d = 0; d < c; d++) { - var l = a(e, t); - t += 2; - var f = a(e, t); - t += 2; - var h = o.readUint(e, t); - t += 4; + var l = a(t, e); + e += 2; + var f = a(t, e); + e += 2; + var h = o.readUint(t, e); + e += 4; var p = "p" + l + "e" + f , m = u.indexOf(h); if (-1 == m) { m = n.tables.length; var b = {}; u.push(h); - var g = b.format = a(e, h); - 0 == g ? b = s.parse0(e, h, b) : 4 == g ? b = s.parse4(e, h, b) : 6 == g ? b = s.parse6(e, h, b) : 12 == g && (b = s.parse12(e, h, b)), + var g = b.format = a(t, h); + 0 == g ? b = s.parse0(t, h, b) : 4 == g ? b = s.parse4(t, h, b) : 6 == g ? b = s.parse6(t, h, b) : 12 == g && (b = s.parse12(t, h, b)), n.tables.push(b) } null != n.ids[p] && console.log("multiple tables for one platform+encoding: " + p), @@ -20640,128 +20843,128 @@ } return n }, - parse0: function(e, t, r) { + parse0: function(t, e, r) { var n = i["B"]; - t += 2; - var o = n.readUshort(e, t); - t += 2; - n.readUshort(e, t); - t += 2, + e += 2; + var o = n.readUshort(t, e); + e += 2; + n.readUshort(t, e); + e += 2, r.map = []; for (var a = 0; a < o - 6; a++) - r.map.push(e[t + a]); + r.map.push(t[e + a]); return r }, - parse4: function(e, t, r) { + parse4: function(t, e, r) { var n = i["B"] , o = n.readUshort , a = n.readUshorts - , s = t; - t += 2; - var c = o(e, t); - t += 2; - o(e, t); - t += 2; - var u = o(e, t); - t += 2; + , s = e; + e += 2; + var c = o(t, e); + e += 2; + o(t, e); + e += 2; + var u = o(t, e); + e += 2; var d = u >>> 1; - r.searchRange = o(e, t), - t += 2, - r.entrySelector = o(e, t), - t += 2, - r.rangeShift = o(e, t), - t += 2, - r.endCount = a(e, t, d), - t += 2 * d, - t += 2, - r.startCount = a(e, t, d), - t += 2 * d, + r.searchRange = o(t, e), + e += 2, + r.entrySelector = o(t, e), + e += 2, + r.rangeShift = o(t, e), + e += 2, + r.endCount = a(t, e, d), + e += 2 * d, + e += 2, + r.startCount = a(t, e, d), + e += 2 * d, r.idDelta = []; for (var l = 0; l < d; l++) - r.idDelta.push(n.readShort(e, t)), - t += 2; - return r.idRangeOffset = a(e, t, d), - t += 2 * d, - r.glyphIdArray = a(e, t, s + c - t >>> 1), + r.idDelta.push(n.readShort(t, e)), + e += 2; + return r.idRangeOffset = a(t, e, d), + e += 2 * d, + r.glyphIdArray = a(t, e, s + c - e >>> 1), r }, - parse6: function(e, t, r) { + parse6: function(t, e, r) { var n = i["B"]; - t += 2; - n.readUshort(e, t); - t += 2; - n.readUshort(e, t); - t += 2, - r.firstCode = n.readUshort(e, t), - t += 2; - var o = n.readUshort(e, t); - t += 2, + e += 2; + n.readUshort(t, e); + e += 2; + n.readUshort(t, e); + e += 2, + r.firstCode = n.readUshort(t, e), + e += 2; + var o = n.readUshort(t, e); + e += 2, r.glyphIdArray = []; for (var a = 0; a < o; a++) - r.glyphIdArray.push(n.readUshort(e, t)), - t += 2; + r.glyphIdArray.push(n.readUshort(t, e)), + e += 2; return r }, - parse12: function(e, t, r) { + parse12: function(t, e, r) { var n = i["B"] , o = n.readUint; - t += 4; - o(e, t); - t += 4; - o(e, t); - t += 4; - var a = 3 * o(e, t); - t += 4; + e += 4; + o(t, e); + e += 4; + o(t, e); + e += 4; + var a = 3 * o(t, e); + e += 4; for (var s = r.groups = new Uint32Array(a), c = 0; c < a; c += 3) - s[c] = o(e, t + (c << 2)), - s[c + 1] = o(e, t + (c << 2) + 4), - s[c + 2] = o(e, t + (c << 2) + 8); + s[c] = o(t, e + (c << 2)), + s[c + 1] = o(t, e + (c << 2) + 4), + s[c + 2] = o(t, e + (c << 2) + 8); return r } }, i["T"].CBLC = { - parseTab: function(e, t, r) { + parseTab: function(t, e, r) { var n = i["B"] - , o = t; - n.readUshort(e, t); - t += 2; - n.readUshort(e, t); - t += 2; - var a = n.readUint(e, t); - t += 4; + , o = e; + n.readUshort(t, e); + e += 2; + n.readUshort(t, e); + e += 2; + var a = n.readUint(t, e); + e += 4; for (var s = [], c = 0; c < a; c++) { - var u = n.readUint(e, t); - t += 4; - n.readUint(e, t); - t += 4; - n.readUint(e, t); - t += 4, - t += 4, - t += 24; - n.readUshort(e, t); - t += 2; - n.readUshort(e, t); - t += 2, - t += 4; + var u = n.readUint(t, e); + e += 4; + n.readUint(t, e); + e += 4; + n.readUint(t, e); + e += 4, + e += 4, + e += 24; + n.readUshort(t, e); + e += 2; + n.readUshort(t, e); + e += 2, + e += 4; for (var d = o + u, l = 0; l < 3; l++) { - var f = n.readUshort(e, d); + var f = n.readUshort(t, d); d += 2; - var h = n.readUshort(e, d); + var h = n.readUshort(t, d); d += 2; - var p = n.readUint(e, d); + var p = n.readUint(t, d); d += 4; var m = h - f + 1 , b = o + u + p - , g = n.readUshort(e, b); + , g = n.readUshort(t, b); if (b += 2, 1 != g) throw g; - var y = n.readUshort(e, b); + var y = n.readUshort(t, b); b += 2; - var v = n.readUint(e, b); + var v = n.readUint(t, b); b += 4; for (var S = [], w = 0; w < m; w++) { - var C = n.readUint(e, b + 4 * w); + var C = n.readUint(t, b + 4 * w); S.push(v + C) } s.push([f, h, y, S]) @@ -20771,24 +20974,24 @@ } }, i["T"].CBDT = { - parseTab: function(e, t, r) { + parseTab: function(t, e, r) { i["B"]; - return new Uint8Array(e.buffer,e.byteOffset + t,r) + return new Uint8Array(t.buffer,t.byteOffset + e,r) } }, i["T"].glyf = { - parseTab: function(e, t, r, n) { + parseTab: function(t, e, r, n) { for (var i = [], o = n["maxp"]["numGlyphs"], a = 0; a < o; a++) i.push(null); return i }, - _parseGlyf: function(e, t) { + _parseGlyf: function(t, e) { var r = i["B"] - , n = e["_data"] - , o = e["loca"]; - if (o[t] == o[t + 1]) + , n = t["_data"] + , o = t["loca"]; + if (o[e] == o[e + 1]) return null; - var a = i["findTable"](n, "glyf", e["_offset"])[0] + o[t] + var a = i["findTable"](n, "glyf", t["_offset"])[0] + o[e] , s = {}; if (s.noc = r.readShort(n, a), a += 2, @@ -20851,7 +21054,7 @@ s.xs[c] = b, s.ys[c] = g } else { - var y, v = 1, S = 2, w = 8, C = 32, A = 64, _ = 128, I = 256; + var y, v = 1, S = 2, w = 8, C = 32, _ = 64, A = 128, I = 256; s.parts = []; do { y = r.readUshort(n, a), @@ -20886,10 +21089,10 @@ E.m.ty = x) : (E.p1 = T, E.p2 = x), y & w ? (E.m.a = E.m.d = r.readF2dot14(n, a), - a += 2) : y & A ? (E.m.a = r.readF2dot14(n, a), + a += 2) : y & _ ? (E.m.a = r.readF2dot14(n, a), a += 2, E.m.d = r.readF2dot14(n, a), - a += 2) : y & _ && (E.m.a = r.readF2dot14(n, a), + a += 2) : y & A && (E.m.a = r.readF2dot14(n, a), a += 2, E.m.b = r.readF2dot14(n, a), a += 2, @@ -20909,70 +21112,70 @@ } return s }, - _parseGlyf2: function(e, t) { + _parseGlyf2: function(t, e) { var r = i["B"] - , n = e["_data"] + , n = t["_data"] , o = 0; r.readASCII(n, 0, 4); o += 4; - for (var a = function(e) { - var t = r.readShort(e, o); + for (var a = function(t) { + var e = r.readShort(t, o); if (o += 2, - 0 === t) + 0 === e) return null; - var n = new ArrayBuffer(t + 1) - , i = r.readBytes(e, o, 1)[0]; + var n = new ArrayBuffer(e + 1) + , i = r.readBytes(t, o, 1)[0]; o += 1; - for (var a = 0; a <= t; a++) { - var s = r.readOffset(e, o, i); + for (var a = 0; a <= e; a++) { + var s = r.readOffset(t, o, i); if (o += i, - s > e.length) + s > t.length) throw "illegal offset value " + s + " in CFF font"; n[a] = s } - var c = new ArrayBuffer(t); - for (a = 0; a < t; a++) { + var c = new ArrayBuffer(e); + for (a = 0; a < e; a++) { var u = n[a + 1] - n[a]; if (u < 0) throw "Negative index data length + " + u + " at " + a + ": offsets[" + (a + 1) + "]=" + n[a + 1] + ", offsets[" + a + "]=" + n[a]; - c[a] = r.readASCII(e, o, u), + c[a] = r.readASCII(t, o, u), o += u } return c - }, s = function(e) { - var t = r.readShort(e, o); + }, s = function(t) { + var e = r.readShort(t, o); if (o += 2, - 0 === t) + 0 === e) return null; - var n = new ArrayBuffer(t + 1) - , i = r.readBytes(e, o, 1)[0]; + var n = new ArrayBuffer(e + 1) + , i = r.readBytes(t, o, 1)[0]; o += 1; - for (var a = 0; a <= t; a++) { - var s = r.readOffset(e, o, i); + for (var a = 0; a <= e; a++) { + var s = r.readOffset(t, o, i); if (o += i, - s > e.length) + s > t.length) throw "illegal offset value " + s + " in CFF font"; n[a] = s } - var c = new ArrayBuffer(t); - for (a = 0; a < t; a++) { + var c = new ArrayBuffer(e); + for (a = 0; a < e; a++) { var u = n[a + 1] - n[a]; - c[a] = r.readBytes(e, o, u), + c[a] = r.readBytes(t, o, u), o += u } return c }, c = a(n), u = s(n), d = (a(n), s(n), - function(e) { - for (var t, n = 0, i = e.length, o = 0; o <= i; o++) { + function(t) { + for (var e, n = 0, i = t.length, o = 0; o <= i; o++) { var a = new ArrayBuffer(3) , s = 0; while (1) { - var c = r.readUint8(e, n); + var c = r.readUint8(t, n); if (n += 1, c >= 0 && c <= 21) { if (12 == c) { - c = r.readUint8(e, n); + c = r.readUint8(t, n); n += 1 } var u = ["version", "Notice", "FullName", "FamilyName", "Weight", "FontBBox", "BlueValues", "OtherBlues", "FamilyBlues", "FamilyOtherBl", "StdHW", "StdVW", "", "UniqueID", "XUID", "charset", "Encoding", "CharStrings", "Private", "Subrs", "defaultWidthX", "nominalWidthX"]; @@ -20982,21 +21185,21 @@ if (28 == c || 29 == c || c >= 32 && c <= 254) { var d; if (28 == c) - d = r.readShort(e, n), + d = r.readShort(t, n), n += 2; else if (29 == c) - d = r.readInt(e, n), + d = r.readInt(t, n), n += 4; else if (c >= 32 && c <= 246) d = c - 139; else if (c >= 247 && c <= 250) { - var l = r.readUint8(e, n); + var l = r.readUint8(t, n); n += 1, d = 256 * (c - 247) + l + 108 } else { if (!(c >= 251 && c <= 254)) throw "IllegalArgumentExceptionnew"; - l = r.readUint8(e, n); + l = r.readUint8(t, n); n += 1, d = 256 * -(c - 251) - l - 108 } @@ -21006,7 +21209,7 @@ throw "invalid DICT data b0 byte: " + c } } - return t + return e } ), l = (new ArrayBuffer(c.byteLength), 0); l <= c.byteLength; l++) @@ -21071,7 +21274,7 @@ f.xs[l] = S, f.ys[l] = w } else { - var C, A = 1, _ = 2, I = 8, E = 32, T = 64, x = 128, P = 256; + var C, _ = 1, A = 2, I = 8, E = 32, T = 64, x = 128, P = 256; f.parts = []; do { C = r.readUshort(n, o), @@ -21091,7 +21294,7 @@ if (f.parts.push(k), k.glyphIndex = r.readUshort(n, o), o += 2, - C & A) { + C & _) { var D = r.readShort(n, o); o += 2; var O = r.readShort(n, o); @@ -21102,7 +21305,7 @@ O = r.readInt8(n, o); o++ } - C & _ ? (k.m.tx = D, + C & A ? (k.m.tx = D, k.m.ty = O) : (k.p1 = D, k.p2 = O), C & I ? (k.m.a = k.m.d = r.readF2dot14(n, o), @@ -21131,62 +21334,62 @@ } }, i["T"].head = { - parseTab: function(e, t, r) { + parseTab: function(t, e, r) { var n = i["B"] , o = {}; - n.readFixed(e, t); - t += 4, - o["fontRevision"] = n.readFixed(e, t), - t += 4; - n.readUint(e, t); - t += 4; - n.readUint(e, t); - return t += 4, - o["flags"] = n.readUshort(e, t), - t += 2, - o["unitsPerEm"] = n.readUshort(e, t), - t += 2, - o["created"] = n.readUint64(e, t), - t += 8, - o["modified"] = n.readUint64(e, t), - t += 8, - o["xMin"] = n.readShort(e, t), - t += 2, - o["yMin"] = n.readShort(e, t), - t += 2, - o["xMax"] = n.readShort(e, t), - t += 2, - o["yMax"] = n.readShort(e, t), - t += 2, - o["macStyle"] = n.readUshort(e, t), - t += 2, - o["lowestRecPPEM"] = n.readUshort(e, t), - t += 2, - o["fontDirectionHint"] = n.readShort(e, t), - t += 2, - o["indexToLocFormat"] = n.readShort(e, t), - t += 2, - o["glyphDataFormat"] = n.readShort(e, t), - t += 2, + n.readFixed(t, e); + e += 4, + o["fontRevision"] = n.readFixed(t, e), + e += 4; + n.readUint(t, e); + e += 4; + n.readUint(t, e); + return e += 4, + o["flags"] = n.readUshort(t, e), + e += 2, + o["unitsPerEm"] = n.readUshort(t, e), + e += 2, + o["created"] = n.readUint64(t, e), + e += 8, + o["modified"] = n.readUint64(t, e), + e += 8, + o["xMin"] = n.readShort(t, e), + e += 2, + o["yMin"] = n.readShort(t, e), + e += 2, + o["xMax"] = n.readShort(t, e), + e += 2, + o["yMax"] = n.readShort(t, e), + e += 2, + o["macStyle"] = n.readUshort(t, e), + e += 2, + o["lowestRecPPEM"] = n.readUshort(t, e), + e += 2, + o["fontDirectionHint"] = n.readShort(t, e), + e += 2, + o["indexToLocFormat"] = n.readShort(t, e), + e += 2, + o["glyphDataFormat"] = n.readShort(t, e), + e += 2, o } }, i["T"].hhea = { - parseTab: function(e, t, r) { + parseTab: function(t, e, r) { var n = i["B"] , o = {}; - n.readFixed(e, t); - t += 4; + n.readFixed(t, e); + e += 4; for (var a = ["ascender", "descender", "lineGap", "advanceWidthMax", "minLeftSideBearing", "minRightSideBearing", "xMaxExtent", "caretSlopeRise", "caretSlopeRun", "caretOffset", "res0", "res1", "res2", "res3", "metricDataFormat", "numberOfHMetrics"], s = 0; s < a.length; s++) { var c = a[s] , u = "advanceWidthMax" == c || "numberOfHMetrics" == c ? n.readUshort : n.readShort; - o[c] = u(e, t + 2 * s) + o[c] = u(t, e + 2 * s) } return o } }, i["T"].hmtx = { - parseTab: function(e, t, r, n) { + parseTab: function(t, e, r, n) { var o = i["B"] , a = [] , s = [] @@ -21196,8 +21399,8 @@ , l = 0 , f = 0; while (f < u) - d = o.readUshort(e, t + (f << 2)), - l = o.readShort(e, t + (f << 2) + 2), + d = o.readUshort(t, e + (f << 2)), + l = o.readShort(t, e + (f << 2) + 2), a.push(d), s.push(l), f++; @@ -21212,66 +21415,66 @@ } }, i["T"].kern = { - parseTab: function(e, t, r, n) { + parseTab: function(t, e, r, n) { var o = i["B"] , a = i["T"].kern - , s = o.readUshort(e, t); + , s = o.readUshort(t, e); if (1 == s) - return a.parseV1(e, t, r, n); - var c = o.readUshort(e, t + 2); - t += 4; + return a.parseV1(t, e, r, n); + var c = o.readUshort(t, e + 2); + e += 4; for (var u = { glyph1: [], rval: [] }, d = 0; d < c; d++) { - t += 2; - r = o.readUshort(e, t); - t += 2; - var l = o.readUshort(e, t); - t += 2; + e += 2; + r = o.readUshort(t, e); + e += 2; + var l = o.readUshort(t, e); + e += 2; var f = l >>> 8; f &= 15, - 0 == f && (t = a.readFormat0(e, t, u)) + 0 == f && (e = a.readFormat0(t, e, u)) } return u }, - parseV1: function(e, t, r, n) { + parseV1: function(t, e, r, n) { var o = i["B"] , a = i["T"].kern - , s = (o.readFixed(e, t), - o.readUint(e, t + 4)); - t += 8; + , s = (o.readFixed(t, e), + o.readUint(t, e + 4)); + e += 8; for (var c = { glyph1: [], rval: [] }, u = 0; u < s; u++) { - o.readUint(e, t); - t += 4; - var d = o.readUshort(e, t); - t += 2; - o.readUshort(e, t); - t += 2; + o.readUint(t, e); + e += 4; + var d = o.readUshort(t, e); + e += 2; + o.readUshort(t, e); + e += 2; var l = 255 & d; - 0 == l && (t = a.readFormat0(e, t, c)) + 0 == l && (e = a.readFormat0(t, e, c)) } return c }, - readFormat0: function(e, t, r) { + readFormat0: function(t, e, r) { var n = i["B"] , o = n.readUshort , a = -1 - , s = o(e, t); - o(e, t + 2), - o(e, t + 4), - o(e, t + 6); - t += 8; + , s = o(t, e); + o(t, e + 2), + o(t, e + 4), + o(t, e + 6); + e += 8; for (var c = 0; c < s; c++) { - var u = o(e, t); - t += 2; - var d = o(e, t); - t += 2; - var l = n.readShort(e, t); - t += 2, + var u = o(t, e); + e += 2; + var d = o(t, e); + e += 2; + var l = n.readShort(t, e); + e += 2, u != a && (r.glyph1.push(u), r.rval.push({ glyph2: [], @@ -21282,63 +21485,63 @@ f.vals.push(l), a = u } - return t + return e } }, i["T"].loca = { - parseTab: function(e, t, r, n) { + parseTab: function(t, e, r, n) { var o = i["B"] , a = [] , s = n["head"]["indexToLocFormat"] , c = n["maxp"]["numGlyphs"] + 1; if (0 == s) for (var u = 0; u < c; u++) - a.push(o.readUshort(e, t + (u << 1)) << 1); + a.push(o.readUshort(t, e + (u << 1)) << 1); if (1 == s) for (u = 0; u < c; u++) - a.push(o.readUint(e, t + (u << 2))); + a.push(o.readUint(t, e + (u << 2))); return a } }, i["T"].maxp = { - parseTab: function(e, t, r) { + parseTab: function(t, e, r) { var n = i["B"] , o = n.readUshort , a = {}; - n.readUint(e, t); - return t += 4, - a["numGlyphs"] = o(e, t), - t += 2, + n.readUint(t, e); + return e += 4, + a["numGlyphs"] = o(t, e), + e += 2, a } }, i["T"].name = { - parseTab: function(e, t, r) { + parseTab: function(t, e, r) { var n = i["B"] , o = {}; - n.readUshort(e, t); - t += 2; - var a = n.readUshort(e, t); - t += 2; - n.readUshort(e, t); - t += 2; - for (var s = ["copyright", "fontFamily", "fontSubfamily", "ID", "fullName", "version", "postScriptName", "trademark", "manufacturer", "designer", "description", "urlVendor", "urlDesigner", "licence", "licenceURL", "---", "typoFamilyName", "typoSubfamilyName", "compatibleFull", "sampleText", "postScriptCID", "wwsFamilyName", "wwsSubfamilyName", "lightPalette", "darkPalette"], c = t, u = n.readUshort, d = 0; d < a; d++) { - var l = u(e, t); - t += 2; - var f = u(e, t); - t += 2; - var h = u(e, t); - t += 2; - var p = u(e, t); - t += 2; - var m = u(e, t); - t += 2; - var b = u(e, t); - t += 2; + n.readUshort(t, e); + e += 2; + var a = n.readUshort(t, e); + e += 2; + n.readUshort(t, e); + e += 2; + for (var s = ["copyright", "fontFamily", "fontSubfamily", "ID", "fullName", "version", "postScriptName", "trademark", "manufacturer", "designer", "description", "urlVendor", "urlDesigner", "licence", "licenceURL", "---", "typoFamilyName", "typoSubfamilyName", "compatibleFull", "sampleText", "postScriptCID", "wwsFamilyName", "wwsSubfamilyName", "lightPalette", "darkPalette"], c = e, u = n.readUshort, d = 0; d < a; d++) { + var l = u(t, e); + e += 2; + var f = u(t, e); + e += 2; + var h = u(t, e); + e += 2; + var p = u(t, e); + e += 2; + var m = u(t, e); + e += 2; + var b = u(t, e); + e += 2; var g, y = c + 12 * a + b; - 0 == l || 3 == l && 0 == f || 1 == l && 25 == f ? g = n.readUnicode(e, y, m / 2) : 0 == f ? g = n.readASCII(e, y, m) : 1 == f || 3 == f || 4 == f || 5 == f || 10 == f ? g = n.readUnicode(e, y, m / 2) : 1 == l ? (g = n.readASCII(e, y, m), + 0 == l || 3 == l && 0 == f || 1 == l && 25 == f ? g = n.readUnicode(t, y, m / 2) : 0 == f ? g = n.readASCII(t, y, m) : 1 == f || 3 == f || 4 == f || 5 == f || 10 == f ? g = n.readUnicode(t, y, m / 2) : 1 == l ? (g = n.readASCII(t, y, m), console.log("reading unknown MAC encoding " + f + " as ASCII")) : (console.log("unknown encoding " + f + ", platformID: " + l), - g = n.readASCII(e, y, m)); + g = n.readASCII(t, y, m)); var v = "p" + l + "," + h.toString(16); null == o[v] && (o[v] = {}), o[v][s[p]] = g, @@ -21351,187 +21554,187 @@ null != o[C][w] && (S[w] = o[C][w]); return S }, - selectOne: function(e) { - var t, r = "postScriptName"; - for (var n in e) - if (null != e[n][r] && 1033 == e[n]["_lang"]) - return e[n]; - for (var n in e) - if (null != e[n][r] && 0 == e[n]["_lang"]) - return e[n]; - for (var n in e) - if (null != e[n][r] && 3084 == e[n]["_lang"]) - return e[n]; - for (var n in e) - if (null != e[n][r]) - return e[n]; - for (var n in e) { - t = e[n]; + selectOne: function(t) { + var e, r = "postScriptName"; + for (var n in t) + if (null != t[n][r] && 1033 == t[n]["_lang"]) + return t[n]; + for (var n in t) + if (null != t[n][r] && 0 == t[n]["_lang"]) + return t[n]; + for (var n in t) + if (null != t[n][r] && 3084 == t[n]["_lang"]) + return t[n]; + for (var n in t) + if (null != t[n][r]) + return t[n]; + for (var n in t) { + e = t[n]; break } - return console.log("returning name table with languageID " + t._lang), - null == t[r] && null != t["ID"] && (t[r] = t["ID"]), - t + return console.log("returning name table with languageID " + e._lang), + null == e[r] && null != e["ID"] && (e[r] = e["ID"]), + e } }, i["T"].OS2 = { - parseTab: function(e, t, r) { + parseTab: function(t, e, r) { var n = i["B"] - , o = n.readUshort(e, t); - t += 2; + , o = n.readUshort(t, e); + e += 2; var a = i["T"].OS2 , s = {}; if (0 == o) - a.version0(e, t, s); + a.version0(t, e, s); else if (1 == o) - a.version1(e, t, s); + a.version1(t, e, s); else if (2 == o || 3 == o || 4 == o) - a.version2(e, t, s); + a.version2(t, e, s); else { if (5 != o) throw "unknown OS/2 table version: " + o; - a.version5(e, t, s) + a.version5(t, e, s) } return s }, - version0: function(e, t, r) { + version0: function(t, e, r) { var n = i["B"]; - return r["xAvgCharWidth"] = n.readShort(e, t), - t += 2, - r["usWeightClass"] = n.readUshort(e, t), - t += 2, - r["usWidthClass"] = n.readUshort(e, t), - t += 2, - r["fsType"] = n.readUshort(e, t), - t += 2, - r["ySubscriptXSize"] = n.readShort(e, t), - t += 2, - r["ySubscriptYSize"] = n.readShort(e, t), - t += 2, - r["ySubscriptXOffset"] = n.readShort(e, t), - t += 2, - r["ySubscriptYOffset"] = n.readShort(e, t), - t += 2, - r["ySuperscriptXSize"] = n.readShort(e, t), - t += 2, - r["ySuperscriptYSize"] = n.readShort(e, t), - t += 2, - r["ySuperscriptXOffset"] = n.readShort(e, t), - t += 2, - r["ySuperscriptYOffset"] = n.readShort(e, t), - t += 2, - r["yStrikeoutSize"] = n.readShort(e, t), - t += 2, - r["yStrikeoutPosition"] = n.readShort(e, t), - t += 2, - r["sFamilyClass"] = n.readShort(e, t), - t += 2, - r["panose"] = n.readBytes(e, t, 10), - t += 10, - r["ulUnicodeRange1"] = n.readUint(e, t), - t += 4, - r["ulUnicodeRange2"] = n.readUint(e, t), - t += 4, - r["ulUnicodeRange3"] = n.readUint(e, t), - t += 4, - r["ulUnicodeRange4"] = n.readUint(e, t), - t += 4, - r["achVendID"] = n.readASCII(e, t, 4), - t += 4, - r["fsSelection"] = n.readUshort(e, t), - t += 2, - r["usFirstCharIndex"] = n.readUshort(e, t), - t += 2, - r["usLastCharIndex"] = n.readUshort(e, t), - t += 2, - r["sTypoAscender"] = n.readShort(e, t), - t += 2, - r["sTypoDescender"] = n.readShort(e, t), - t += 2, - r["sTypoLineGap"] = n.readShort(e, t), - t += 2, - r["usWinAscent"] = n.readUshort(e, t), - t += 2, - r["usWinDescent"] = n.readUshort(e, t), - t += 2, - t + return r["xAvgCharWidth"] = n.readShort(t, e), + e += 2, + r["usWeightClass"] = n.readUshort(t, e), + e += 2, + r["usWidthClass"] = n.readUshort(t, e), + e += 2, + r["fsType"] = n.readUshort(t, e), + e += 2, + r["ySubscriptXSize"] = n.readShort(t, e), + e += 2, + r["ySubscriptYSize"] = n.readShort(t, e), + e += 2, + r["ySubscriptXOffset"] = n.readShort(t, e), + e += 2, + r["ySubscriptYOffset"] = n.readShort(t, e), + e += 2, + r["ySuperscriptXSize"] = n.readShort(t, e), + e += 2, + r["ySuperscriptYSize"] = n.readShort(t, e), + e += 2, + r["ySuperscriptXOffset"] = n.readShort(t, e), + e += 2, + r["ySuperscriptYOffset"] = n.readShort(t, e), + e += 2, + r["yStrikeoutSize"] = n.readShort(t, e), + e += 2, + r["yStrikeoutPosition"] = n.readShort(t, e), + e += 2, + r["sFamilyClass"] = n.readShort(t, e), + e += 2, + r["panose"] = n.readBytes(t, e, 10), + e += 10, + r["ulUnicodeRange1"] = n.readUint(t, e), + e += 4, + r["ulUnicodeRange2"] = n.readUint(t, e), + e += 4, + r["ulUnicodeRange3"] = n.readUint(t, e), + e += 4, + r["ulUnicodeRange4"] = n.readUint(t, e), + e += 4, + r["achVendID"] = n.readASCII(t, e, 4), + e += 4, + r["fsSelection"] = n.readUshort(t, e), + e += 2, + r["usFirstCharIndex"] = n.readUshort(t, e), + e += 2, + r["usLastCharIndex"] = n.readUshort(t, e), + e += 2, + r["sTypoAscender"] = n.readShort(t, e), + e += 2, + r["sTypoDescender"] = n.readShort(t, e), + e += 2, + r["sTypoLineGap"] = n.readShort(t, e), + e += 2, + r["usWinAscent"] = n.readUshort(t, e), + e += 2, + r["usWinDescent"] = n.readUshort(t, e), + e += 2, + e }, - version1: function(e, t, r) { + version1: function(t, e, r) { var n = i["B"]; - return t = i["T"].OS2.version0(e, t, r), - r["ulCodePageRange1"] = n.readUint(e, t), - t += 4, - r["ulCodePageRange2"] = n.readUint(e, t), - t += 4, - t + return e = i["T"].OS2.version0(t, e, r), + r["ulCodePageRange1"] = n.readUint(t, e), + e += 4, + r["ulCodePageRange2"] = n.readUint(t, e), + e += 4, + e }, - version2: function(e, t, r) { + version2: function(t, e, r) { var n = i["B"] , o = n.readUshort; - return t = i["T"].OS2.version1(e, t, r), - r["sxHeight"] = n.readShort(e, t), - t += 2, - r["sCapHeight"] = n.readShort(e, t), - t += 2, - r["usDefault"] = o(e, t), - t += 2, - r["usBreak"] = o(e, t), - t += 2, - r["usMaxContext"] = o(e, t), - t += 2, - t + return e = i["T"].OS2.version1(t, e, r), + r["sxHeight"] = n.readShort(t, e), + e += 2, + r["sCapHeight"] = n.readShort(t, e), + e += 2, + r["usDefault"] = o(t, e), + e += 2, + r["usBreak"] = o(t, e), + e += 2, + r["usMaxContext"] = o(t, e), + e += 2, + e }, - version5: function(e, t, r) { + version5: function(t, e, r) { var n = i["B"].readUshort; - return t = i["T"].OS2.version2(e, t, r), - r["usLowerOpticalPointSize"] = n(e, t), - t += 2, - r["usUpperOpticalPointSize"] = n(e, t), - t += 2, - t + return e = i["T"].OS2.version2(t, e, r), + r["usLowerOpticalPointSize"] = n(t, e), + e += 2, + r["usUpperOpticalPointSize"] = n(t, e), + e += 2, + e } }, i["T"].post = { - parseTab: function(e, t, r) { + parseTab: function(t, e, r) { var n = i["B"] , o = {}; - return o["version"] = n.readFixed(e, t), - t += 4, - o["italicAngle"] = n.readFixed(e, t), - t += 4, - o["underlinePosition"] = n.readShort(e, t), - t += 2, - o["underlineThickness"] = n.readShort(e, t), - t += 2, + return o["version"] = n.readFixed(t, e), + e += 4, + o["italicAngle"] = n.readFixed(t, e), + e += 4, + o["underlinePosition"] = n.readShort(t, e), + e += 2, + o["underlineThickness"] = n.readShort(t, e), + e += 2, o } }, i["T"].SVG = { - parseTab: function(e, t, r) { + parseTab: function(t, e, r) { var n = i["B"] , o = { entries: [] } - , a = t; - n.readUshort(e, t); - t += 2; - var s = n.readUint(e, t); - t += 4; - n.readUint(e, t); - t += 4, - t = s + a; - var c = n.readUshort(e, t); - t += 2; + , a = e; + n.readUshort(t, e); + e += 2; + var s = n.readUint(t, e); + e += 4; + n.readUint(t, e); + e += 4, + e = s + a; + var c = n.readUshort(t, e); + e += 2; for (var u = 0; u < c; u++) { - var d = n.readUshort(e, t); - t += 2; - var l = n.readUshort(e, t); - t += 2; - var f = n.readUint(e, t); - t += 4; - var h = n.readUint(e, t); - t += 4; - var p = new Uint8Array(e.buffer,a + f + s,h); + var d = n.readUshort(t, e); + e += 2; + var l = n.readUshort(t, e); + e += 2; + var f = n.readUint(t, e); + e += 4; + var h = n.readUint(t, e); + e += 4; + var p = new Uint8Array(t.buffer,a + f + s,h); 31 == p[0] && 139 == p[1] && 8 == p[2] && (p = pako["inflate"](p)); for (var m = n.readUTF8(p, 0, p.length), b = d; b <= l; b++) o.entries[b] = m @@ -21540,17 +21743,17 @@ } }, i["T"].sbix = { - parseTab: function(e, t, r, n) { - for (var o = n["maxp"]["numGlyphs"], a = t, s = i["B"], c = s.readUint(e, t + 4), u = [], d = c - 1; d < c; d++) - for (var l = a + s.readUint(e, t + 8 + 4 * d), f = 0; f < o; f++) { - var h = s.readUint(e, l + 4 + 4 * f) - , p = s.readUint(e, l + 4 + 4 * f + 4); + parseTab: function(t, e, r, n) { + for (var o = n["maxp"]["numGlyphs"], a = e, s = i["B"], c = s.readUint(t, e + 4), u = [], d = c - 1; d < c; d++) + for (var l = a + s.readUint(t, e + 8 + 4 * d), f = 0; f < o; f++) { + var h = s.readUint(t, l + 4 + 4 * f) + , p = s.readUint(t, l + 4 + 4 * f + 4); if (h != p) { var m = l + h - , b = s.readASCII(e, m + 4, 4); + , b = s.readASCII(t, m + 4, 4); if ("png " != b) throw b; - u[f] = new Uint8Array(e.buffer,e.byteOffset + m + 8,p - h - 8) + u[f] = new Uint8Array(t.buffer,t.byteOffset + m + 8,p - h - 8) } else u[f] = null } @@ -21558,55 +21761,55 @@ } }, i["T"].colr = { - parseTab: function(e, t, r) { + parseTab: function(t, e, r) { var n = i["B"] - , o = t; - t += 2; - var a = n.readUshort(e, t); - t += 2; - var s = n.readUint(e, t); - t += 4; - var c = n.readUint(e, t); - t += 4; - var u = n.readUshort(e, t); - t += 2; + , o = e; + e += 2; + var a = n.readUshort(t, e); + e += 2; + var s = n.readUint(t, e); + e += 4; + var c = n.readUint(t, e); + e += 4; + var u = n.readUshort(t, e); + e += 2; for (var d = {}, l = o + s, f = 0; f < a; f++) - d["g" + n.readUshort(e, l)] = [n.readUshort(e, l + 2), n.readUshort(e, l + 4)], + d["g" + n.readUshort(t, l)] = [n.readUshort(t, l + 2), n.readUshort(t, l + 4)], l += 6; var h = []; l = o + c; for (f = 0; f < u; f++) - h.push(n.readUshort(e, l), n.readUshort(e, l + 2)), + h.push(n.readUshort(t, l), n.readUshort(t, l + 2)), l += 4; return [d, h] } }, i["T"].cpal = { - parseTab: function(e, t, r) { + parseTab: function(t, e, r) { var n = i["B"] - , o = t - , a = n.readUshort(e, t); - if (t += 2, + , o = e + , a = n.readUshort(t, e); + if (e += 2, 0 == a) { - n.readUshort(e, t); - t += 2; - n.readUshort(e, t); - t += 2; - var s = n.readUshort(e, t); - t += 2; - var c = n.readUint(e, t); - return t += 4, - new Uint8Array(e.buffer,o + c,4 * s) + n.readUshort(t, e); + e += 2; + n.readUshort(t, e); + e += 2; + var s = n.readUshort(t, e); + e += 2; + var c = n.readUint(t, e); + return e += 4, + new Uint8Array(t.buffer,o + c,4 * s) } throw a } }, i["U"] = { - shape: function(e, t, r) { - for (var n = function(e, t, r, n) { - var i = t[r] - , o = t[r + 1] - , a = e["kern"]; + shape: function(t, e, r) { + for (var n = function(t, e, r, n) { + var i = e[r] + , o = e[r + 1] + , a = t["kern"]; if (a) { var s = a.glyph1.indexOf(i); if (-1 != s) { @@ -21616,16 +21819,16 @@ } } return [0, 0, 0, 0] - }, o = [], a = 0; a < t.length; a++) { - var s = t.codePointAt(a); + }, o = [], a = 0; a < e.length; a++) { + var s = e.codePointAt(a); s > 65535 && a++, - o.push(i["U"]["codeToGlyph"](e, s)) + o.push(i["U"]["codeToGlyph"](t, s)) } var c = []; for (a = 0; a < o.length; a++) { - var u = n(e, o, a, r) + var u = n(t, o, a, r) , d = o[a] - , l = e["hmtx"].aWidth[d] + u[2]; + , l = t["hmtx"].aWidth[d] + u[2]; c.push({ g: d, cl: a, @@ -21638,12 +21841,12 @@ } return c }, - shapeToPath: function(e, t, r) { + shapeToPath: function(t, e, r) { for (var n = { cmds: [], crds: [] - }, o = 0, a = 0, s = 0; s < t.length; s++) { - for (var c = t[s], u = i["U"]["glyphToPath"](e, c["g"]), d = u["crds"], l = 0; l < d.length; l += 2) + }, o = 0, a = 0, s = 0; s < e.length; s++) { + for (var c = e[s], u = i["U"]["glyphToPath"](t, c["g"]), d = u["crds"], l = 0; l < d.length; l += 2) n.crds.push(d[l] + o + c["dx"]), n.crds.push(d[l + 1] + a + c["dy"]); r && n.cmds.push(r); @@ -21660,31 +21863,31 @@ } }, codeToGlyph: function() { - function e(e, t, r) { + function t(t, e, r) { var n = 0 - , i = ~~(e.length / t); + , i = ~~(t.length / e); while (n + 1 != i) { var o = n + (i - n >>> 1); - e[o * t] <= r ? n = o : i = o + t[o * e] <= r ? n = o : i = o } - return n * t + return n * e } - for (var t = [9, 10, 11, 12, 13, 32, 133, 160, 5760, 6158, 8232, 8233, 8239, 8288, 12288, 65279], r = {}, n = 0; n < t.length; n++) - r[t[n]] = 1; + for (var e = [9, 10, 11, 12, 13, 32, 133, 160, 5760, 6158, 8232, 8233, 8239, 8288, 12288, 65279], r = {}, n = 0; n < e.length; n++) + r[e[n]] = 1; for (n = 8192; n <= 8205; n++) r[n] = 1; - function i(t, n) { - if (null == t["_ctab"]) { - for (var i = t["cmap"], o = -1, a = ["p3e10", "p0e4", "p3e1", "p1e0", "p0e3", "p0e1", "p3e0", "p3e5"], s = 0; s < a.length; s++) + function i(e, n) { + if (null == e["_ctab"]) { + for (var i = e["cmap"], o = -1, a = ["p3e10", "p0e4", "p3e1", "p1e0", "p0e3", "p0e1", "p3e0", "p3e5"], s = 0; s < a.length; s++) if (null != i.ids[a[s]]) { o = i.ids[a[s]]; break } if (-1 == o) throw "no familiar platform and encoding!"; - t["_ctab"] = i.tables[o] + e["_ctab"] = i.tables[o] } - var c = t["_ctab"] + var c = e["_ctab"] , u = c.format , d = -1; if (0 == u) @@ -21693,7 +21896,7 @@ var l = c.endCount; if (d = 0, n <= l[l.length - 1]) { - var f = e(l, 1, n); + var f = t(l, 1, n); if (l[f] < n && f++, n >= c.startCount[f]) { var h = 0; @@ -21711,46 +21914,46 @@ var b = c.groups; if (d = 0, n <= b[b.length - 2]) { - s = e(b, 3, n); + s = t(b, 3, n); b[s] <= n && n <= b[s + 1] && (d = b[s + 2] + (n - b[s])) } } - var g = t["SVG "] - , y = t["loca"]; - return 0 == d || null != t["CFF "] || null != g && null != g.entries[d] || !y || y[d] != y[d + 1] || null != r[n] || (d = 0), + var g = e["SVG "] + , y = e["loca"]; + return 0 == d || null != e["CFF "] || null != g && null != g.entries[d] || !y || y[d] != y[d + 1] || null != r[n] || (d = 0), d } return i }(), - glyphToPath: function(e, t, r) { + glyphToPath: function(t, e, r) { var n = { cmds: [], crds: [] } - , o = e["SVG "] - , a = e["CFF "] - , s = e["COLR"] - , c = e["CBLC"] - , u = e["CBDT"] - , d = e["sbix"] + , o = t["SVG "] + , a = t["CFF "] + , s = t["COLR"] + , c = t["CBLC"] + , u = t["CBDT"] + , d = t["sbix"] , l = window["UPNG"] , f = i["U"] , h = null; if (c && l) for (var p = 0; p < c.length; p++) - c[p][0] <= t && t <= c[p][1] && (h = c[p]); - if (h || d && d[t]) { + c[p][0] <= e && e <= c[p][1] && (h = c[p]); + if (h || d && d[e]) { if (h && 17 != h[2]) throw "not a PNG"; - null == e["__tmp"] && (e["__tmp"] = {}); - var m = e["__tmp"]["g" + t]; + null == t["__tmp"] && (t["__tmp"] = {}); + var m = t["__tmp"]["g" + e]; if (null == m) { var b, g; if (d) - b = d[t], + b = d[e], g = b.length; else { - var y = h[3][t - h[0]] + 5; + var y = h[3][e - h[0]] + 5; g = u[y + 1] << 16 | u[y + 2] << 8 | u[y + 3], y += 4, b = new Uint8Array(u.buffer,u.byteOffset + y,g) @@ -21758,31 +21961,31 @@ var v = ""; for (p = 0; p < g; p++) v += String.fromCharCode(b[p]); - m = e["__tmp"]["g" + t] = "data:image/png;base64," + btoa(v) + m = t["__tmp"]["g" + e] = "data:image/png;base64," + btoa(v) } n.cmds.push(m); - var S = 1.15 * e["head"]["unitsPerEm"] + var S = 1.15 * t["head"]["unitsPerEm"] , w = Math.round(S) , C = Math.round(S) - , A = Math.round(.15 * -C); - n.crds.push(0, C + A, w, C + A, w, A, 0, A) - } else if (o && o.entries[t]) { - var _ = o.entries[t]; - null != _ && ("string" == typeof _ && (_ = f["SVG"].toPath(_), - o.entries[t] = _), - n = _) - } else if (1 != r && s && s[0]["g" + t] && s[0]["g" + t][1] > 1) { - var I = function(e) { - var t = e.toString(16); - return (1 == t.length ? "0" : "") + t + , _ = Math.round(.15 * -C); + n.crds.push(0, C + _, w, C + _, w, _, 0, _) + } else if (o && o.entries[e]) { + var A = o.entries[e]; + null != A && ("string" == typeof A && (A = f["SVG"].toPath(A), + o.entries[e] = A), + n = A) + } else if (1 != r && s && s[0]["g" + e] && s[0]["g" + e][1] > 1) { + var I = function(t) { + var e = t.toString(16); + return (1 == e.length ? "0" : "") + e } - , E = e["CPAL"] - , T = s[0]["g" + t]; + , E = t["CPAL"] + , T = s[0]["g" + e]; for (p = 0; p < T[1]; p++) { var x = T[0] + p , P = s[1][2 * x] , k = 4 * s[1][2 * x + 1] - , D = i["U"]["glyphToPath"](e, P, P == t) + , D = i["U"]["glyphToPath"](t, P, P == e) , O = "#" + I(E[k + 2]) + I(E[k + 1]) + I(E[k + 0]); n.cmds.push(O), n.cmds = n.cmds.concat(D["cmds"]), @@ -21791,7 +21994,7 @@ } } else if (a) { var R = a["Private"] - , M = { + , N = { x: 0, y: 0, stack: [], @@ -21801,60 +22004,60 @@ open: !1 }; if (a["ROS"]) { - var N = 0; - while (a["FDSelect"][N + 2] <= t) - N += 2; - R = a["FDArray"][a["FDSelect"][N + 1]]["Private"] + var M = 0; + while (a["FDSelect"][M + 2] <= e) + M += 2; + R = a["FDArray"][a["FDSelect"][M + 1]]["Private"] } - f["_drawCFF"](a["CharStrings"][t], M, a, R, n) - } else if (e["glyf"]) - f["_drawGlyf"](t, e, n); + f["_drawCFF"](a["CharStrings"][e], N, a, R, n) + } else if (t["glyf"]) + f["_drawGlyf"](e, t, n); else { - T = i["T"].glyf._parseGlyf2(e, t); - null != T && (T.noc > -1 ? i["U"]["_simpleGlyph"](T, n) : i["U"]["_compoGlyph"](T, e, n)) + T = i["T"].glyf._parseGlyf2(t, e); + null != T && (T.noc > -1 ? i["U"]["_simpleGlyph"](T, n) : i["U"]["_compoGlyph"](T, t, n)) } return { cmds: n.cmds, crds: n.crds } }, - _drawGlyf: function(e, t, r) { - var n = t["glyf"][e]; - null == n && (n = t["glyf"][e] = i["T"].glyf._parseGlyf(t, e)), - null != n && (n.noc > -1 ? i["U"]["_simpleGlyph"](n, r) : i["U"]["_compoGlyph"](n, t, r)) + _drawGlyf: function(t, e, r) { + var n = e["glyf"][t]; + null == n && (n = e["glyf"][t] = i["T"].glyf._parseGlyf(e, t)), + null != n && (n.noc > -1 ? i["U"]["_simpleGlyph"](n, r) : i["U"]["_compoGlyph"](n, e, r)) }, - _simpleGlyph: function(e, t) { - for (var r = i["U"]["P"], n = 0; n < e.noc; n++) { - for (var o = 0 == n ? 0 : e.endPts[n - 1] + 1, a = e.endPts[n], s = o; s <= a; s++) { + _simpleGlyph: function(t, e) { + for (var r = i["U"]["P"], n = 0; n < t.noc; n++) { + for (var o = 0 == n ? 0 : t.endPts[n - 1] + 1, a = t.endPts[n], s = o; s <= a; s++) { var c = s == o ? a : s - 1 , u = s == a ? o : s + 1 - , d = 1 & e.flags[s] - , l = 1 & e.flags[c] - , f = 1 & e.flags[u] - , h = e.xs[s] - , p = e.ys[s]; + , d = 1 & t.flags[s] + , l = 1 & t.flags[c] + , f = 1 & t.flags[u] + , h = t.xs[s] + , p = t.ys[s]; if (s == o) if (d) { if (!l) { - r.MoveTo(t, h, p); + r.MoveTo(e, h, p); continue } - r.MoveTo(t, e.xs[c], e.ys[c]) + r.MoveTo(e, t.xs[c], t.ys[c]) } else - l ? r.MoveTo(t, e.xs[c], e.ys[c]) : r.MoveTo(t, Math.floor(.5 * (e.xs[c] + h)), Math.floor(.5 * (e.ys[c] + p))); - d ? l && r.LineTo(t, h, p) : f ? r.qCurveTo(t, h, p, e.xs[u], e.ys[u]) : r.qCurveTo(t, h, p, Math.floor(.5 * (h + e.xs[u])), Math.floor(.5 * (p + e.ys[u]))) + l ? r.MoveTo(e, t.xs[c], t.ys[c]) : r.MoveTo(e, Math.floor(.5 * (t.xs[c] + h)), Math.floor(.5 * (t.ys[c] + p))); + d ? l && r.LineTo(e, h, p) : f ? r.qCurveTo(e, h, p, t.xs[u], t.ys[u]) : r.qCurveTo(e, h, p, Math.floor(.5 * (h + t.xs[u])), Math.floor(.5 * (p + t.ys[u]))) } - r.ClosePath(t) + r.ClosePath(e) } }, - _compoGlyph: function(e, t, r) { - for (var n = 0; n < e.parts.length; n++) { + _compoGlyph: function(t, e, r) { + for (var n = 0; n < t.parts.length; n++) { var o = { cmds: [], crds: [] } - , a = e.parts[n]; - i["U"]["_drawGlyf"](a.glyphIndex, t, o); + , a = t.parts[n]; + i["U"]["_drawGlyf"](a.glyphIndex, e, o); for (var s = a.m, c = 0; c < o.crds.length; c += 2) { var u = o.crds[c] , d = o.crds[c + 1]; @@ -21865,28 +22068,28 @@ r.cmds.push(o.cmds[c]) } }, - pathToSVG: function(e, t) { - var r = e["cmds"] - , n = e["crds"]; - function i(e) { - return parseFloat(e.toFixed(t)) + pathToSVG: function(t, e) { + var r = t["cmds"] + , n = t["crds"]; + function i(t) { + return parseFloat(t.toFixed(e)) } - function o(e) { - for (var t = [], r = !1, n = "", i = 0; i < e.length; i++) { - var o = e[i] + function o(t) { + for (var e = [], r = !1, n = "", i = 0; i < t.length; i++) { + var o = t[i] , a = "number" == typeof o; if (!a) { if (o == n && 1 == o.length && "m" != o) continue; n = o } - r && a && o >= 0 && t.push(" "), - t.push(o), + r && a && o >= 0 && e.push(" "), + e.push(o), r = a } - return t.join("") + return e.join("") } - null == t && (t = 5); + null == e && (e = 5); for (var a = [], s = 0, c = { M: 2, L: 2, @@ -21903,18 +22106,18 @@ v = g) : 0 == y && 0 == v || (0 == y ? C.push("v", v) : 0 == v ? C.push("h", y) : C.push("l", y, v)); else { C.push(S.toLowerCase()); - for (var A = 0; A < w; A += 2) - b = n[s + A] - u, - g = n[s + A + 1] - d, + for (var _ = 0; _ < w; _ += 2) + b = n[s + _] - u, + g = n[s + _ + 1] - d, y = i(b + l), v = i(g + f), C.push(y, v) } 0 != w && (l += b - y, f += g - v); - var _ = C; - for (A = 0; A < _.length; A++) - a.push(_[A]); + var A = C; + for (_ = 0; _ < A.length; _++) + a.push(A[_]); 0 != w && (s += w, u = n[s - 2], d = n[s - 1]), @@ -21925,19 +22128,19 @@ } return o(a) }, - SVGToPath: function(e) { - var t = { + SVGToPath: function(t) { + var e = { cmds: [], crds: [] }; - return i["U"]["SVG"].svgToPath(e, t), + return i["U"]["SVG"].svgToPath(t, e), { - cmds: t.cmds, - crds: t.crds + cmds: e.cmds, + crds: e.crds } }, pathToContext: function() { - var e, t; + var t, e; function r(r, n) { for (var i = 0, o = r["cmds"], a = r["crds"], s = 0; s < o.length; s++) { var c = o[s]; @@ -21973,21 +22176,21 @@ continue } n.save(); - for (var y = f - d, v = h - l, S = Math.sqrt(y * y + v * v), w = Math.atan2(v, y), C = b - d, A = g - l, _ = Math.sqrt(C * C + A * A), I = Math.sign(y * A - v * C), E = atob(c.slice(22)), T = [], x = 0; x < E.length; x++) + for (var y = f - d, v = h - l, S = Math.sqrt(y * y + v * v), w = Math.atan2(v, y), C = b - d, _ = g - l, A = Math.sqrt(C * C + _ * _), I = Math.sign(y * _ - v * C), E = atob(c.slice(22)), T = [], x = 0; x < E.length; x++) T[x] = E.charCodeAt(x); var P = u["decode"](new Uint8Array(T)) , k = P["width"] , D = P["height"] , O = new Uint8Array(u["toRGBA8"](P)[0]); - null == e && (e = document.createElement("canvas"), - t = e.getContext("2d")), - e.width == k && e.height == D || (e.width = k, - e.height = D), - t.putImageData(new ImageData(new Uint8ClampedArray(O.buffer),k,D), 0, 0), + null == t && (t = document.createElement("canvas"), + e = t.getContext("2d")), + t.width == k && t.height == D || (t.width = k, + t.height = D), + e.putImageData(new ImageData(new Uint8ClampedArray(O.buffer),k,D), 0, 0), n.translate(d, l), n.rotate(w), - n.scale(S * (k / D) / k, I * _ / D), - n.drawImage(e, 0, 0), + n.scale(S * (k / D) / k, I * A / D), + n.drawImage(t, 0, 0), n.restore() } else if ("#" == c.charAt(0) || "r" == c.charAt(0)) n.beginPath(), @@ -22004,35 +22207,35 @@ return r }(), P: { - MoveTo: function(e, t, r) { - e.cmds.push("M"), - e.crds.push(t, r) + MoveTo: function(t, e, r) { + t.cmds.push("M"), + t.crds.push(e, r) }, - LineTo: function(e, t, r) { - e.cmds.push("L"), - e.crds.push(t, r) + LineTo: function(t, e, r) { + t.cmds.push("L"), + t.crds.push(e, r) }, - CurveTo: function(e, t, r, n, i, o, a) { - e.cmds.push("C"), - e.crds.push(t, r, n, i, o, a) + CurveTo: function(t, e, r, n, i, o, a) { + t.cmds.push("C"), + t.crds.push(e, r, n, i, o, a) }, - qCurveTo: function(e, t, r, n, i) { - e.cmds.push("Q"), - e.crds.push(t, r, n, i) + qCurveTo: function(t, e, r, n, i) { + t.cmds.push("Q"), + t.crds.push(e, r, n, i) }, - ClosePath: function(e) { - e.cmds.push("Z") + ClosePath: function(t) { + t.cmds.push("Z") } }, - _drawCFF: function(e, t, r, n, o) { - var a = t.stack - , s = t.nStems - , c = t.haveWidth - , u = t.width - , d = t.open + _drawCFF: function(t, e, r, n, o) { + var a = e.stack + , s = e.nStems + , c = e.haveWidth + , u = e.width + , d = e.open , l = 0 - , f = t.x - , h = t.y + , f = e.x + , h = e.y , p = 0 , m = 0 , b = 0 @@ -22042,27 +22245,27 @@ , S = 0 , w = 0 , C = 0 - , A = 0 - , _ = i["T"].CFF + , _ = 0 + , A = i["T"].CFF , I = i["U"]["P"] , E = n["nominalWidthX"] , T = { val: 0, size: 0 }; - while (e && l < e.length) { - _.getCharString(e, l, T); + while (t && l < t.length) { + A.getCharString(t, l, T); var x = T.val; if (l += T.size, "o1" == x || "o18" == x) - U = a.length % 2 !== 0, - U && !c && (u = a.shift() + E), + L = a.length % 2 !== 0, + L && !c && (u = a.shift() + E), s += a.length >> 1, a.length = 0, c = !0; else if ("o3" == x || "o23" == x) { - U = a.length % 2 !== 0, - U && !c && (u = a.shift() + E), + L = a.length % 2 !== 0, + L && !c && (u = a.shift() + E), s += a.length >> 1, a.length = 0, c = !0 @@ -22109,76 +22312,76 @@ b = p + a.shift(), g = m + a.shift(), C = b + a.shift(), - A = g, + _ = g, y = C + a.shift(), v = g, S = y + a.shift(), w = h, f = S + a.shift(), - I.CurveTo(o, p, m, b, g, C, A), + I.CurveTo(o, p, m, b, g, C, _), I.CurveTo(o, y, v, S, w, f, h)), "o1235" == x && (p = f + a.shift(), m = h + a.shift(), b = p + a.shift(), g = m + a.shift(), C = b + a.shift(), - A = g + a.shift(), + _ = g + a.shift(), y = C + a.shift(), - v = A + a.shift(), + v = _ + a.shift(), S = y + a.shift(), w = v + a.shift(), f = S + a.shift(), h = w + a.shift(), a.shift(), - I.CurveTo(o, p, m, b, g, C, A), + I.CurveTo(o, p, m, b, g, C, _), I.CurveTo(o, y, v, S, w, f, h)), "o1236" == x && (p = f + a.shift(), m = h + a.shift(), b = p + a.shift(), g = m + a.shift(), C = b + a.shift(), - A = g, + _ = g, y = C + a.shift(), v = g, S = y + a.shift(), w = v + a.shift(), f = S + a.shift(), - I.CurveTo(o, p, m, b, g, C, A), + I.CurveTo(o, p, m, b, g, C, _), I.CurveTo(o, y, v, S, w, f, h)), "o1237" == x && (p = f + a.shift(), m = h + a.shift(), b = p + a.shift(), g = m + a.shift(), C = b + a.shift(), - A = g + a.shift(), + _ = g + a.shift(), y = C + a.shift(), - v = A + a.shift(), + v = _ + a.shift(), S = y + a.shift(), w = v + a.shift(), Math.abs(S - f) > Math.abs(w - h) ? f = S + a.shift() : h = w + a.shift(), - I.CurveTo(o, p, m, b, g, C, A), + I.CurveTo(o, p, m, b, g, C, _), I.CurveTo(o, y, v, S, w, f, h)); else if ("o14" == x) { if (a.length > 0 && 4 != a.length && !c && (u = a.shift() + r["nominalWidthX"], c = !0), 4 == a.length) { - var M = a.shift() - , N = a.shift() + var N = a.shift() + , M = a.shift() , B = a.shift() , F = a.shift() - , j = _.glyphBySE(r, B) - , K = _.glyphBySE(r, F); - i["U"]["_drawCFF"](r["CharStrings"][j], t, r, n, o), - t.x = M, - t.y = N, - i["U"]["_drawCFF"](r["CharStrings"][K], t, r, n, o) + , j = A.glyphBySE(r, B) + , K = A.glyphBySE(r, F); + i["U"]["_drawCFF"](r["CharStrings"][j], e, r, n, o), + e.x = N, + e.y = M, + i["U"]["_drawCFF"](r["CharStrings"][K], e, r, n, o) } d && (I.ClosePath(o), d = !1) } else if ("o19" == x || "o20" == x) { - var U; - U = a.length % 2 !== 0, - U && !c && (u = a.shift() + E), + var L; + L = a.length % 2 !== 0, + L && !c && (u = a.shift() + E), s += a.length >> 1, a.length = 0, c = !0, @@ -22231,25 +22434,25 @@ h = g, I.CurveTo(o, p, m, b, g, f, h) } else if ("o10" == x || "o29" == x) { - var L = "o10" == x ? n : r; + var U = "o10" == x ? n : r; if (0 == a.length) console.log("error: empty stack"); else { var X = a.pop() - , z = L["Subrs"][X + L["Bias"]]; - t.x = f, - t.y = h, - t.nStems = s, - t.haveWidth = c, - t.width = u, - t.open = d, - i["U"]["_drawCFF"](z, t, r, n, o), - f = t.x, - h = t.y, - s = t.nStems, - c = t.haveWidth, - u = t.width, - d = t.open + , z = U["Subrs"][X + U["Bias"]]; + e.x = f, + e.y = h, + e.nStems = s, + e.haveWidth = c, + e.width = u, + e.open = d, + i["U"]["_drawCFF"](z, e, r, n, o), + f = e.x, + h = e.y, + s = e.nStems, + c = e.haveWidth, + u = e.width, + d = e.open } } else if ("o30" == x || "o31" == x) { var G = a.length @@ -22277,98 +22480,98 @@ R += 4 } else { if ("o" == (x + "").charAt(0)) - throw console.log("Unknown operation: " + x, e), + throw console.log("Unknown operation: " + x, t), x; a.push(x) } } } - t.x = f, - t.y = h, - t.nStems = s, - t.haveWidth = c, - t.width = u, - t.open = d + e.x = f, + e.y = h, + e.nStems = s, + e.haveWidth = c, + e.width = u, + e.open = d }, SVG: function() { - var e = { - getScale: function(e) { - return Math.sqrt(Math.abs(e[0] * e[3] - e[1] * e[2])) + var t = { + getScale: function(t) { + return Math.sqrt(Math.abs(t[0] * t[3] - t[1] * t[2])) }, - translate: function(t, r, n) { - e.concat(t, [1, 0, 0, 1, r, n]) + translate: function(e, r, n) { + t.concat(e, [1, 0, 0, 1, r, n]) }, - rotate: function(t, r) { - e.concat(t, [Math.cos(r), -Math.sin(r), Math.sin(r), Math.cos(r), 0, 0]) + rotate: function(e, r) { + t.concat(e, [Math.cos(r), -Math.sin(r), Math.sin(r), Math.cos(r), 0, 0]) }, - scale: function(t, r, n) { - e.concat(t, [r, 0, 0, n, 0, 0]) + scale: function(e, r, n) { + t.concat(e, [r, 0, 0, n, 0, 0]) }, - concat: function(e, t) { - var r = e[0] - , n = e[1] - , i = e[2] - , o = e[3] - , a = e[4] - , s = e[5]; - e[0] = r * t[0] + n * t[2], - e[1] = r * t[1] + n * t[3], - e[2] = i * t[0] + o * t[2], - e[3] = i * t[1] + o * t[3], - e[4] = a * t[0] + s * t[2] + t[4], - e[5] = a * t[1] + s * t[3] + t[5] - }, - invert: function(e) { - var t = e[0] - , r = e[1] - , n = e[2] - , i = e[3] - , o = e[4] - , a = e[5] - , s = t * i - r * n; - e[0] = i / s, - e[1] = -r / s, - e[2] = -n / s, - e[3] = t / s, - e[4] = (n * a - i * o) / s, - e[5] = (r * o - t * a) / s - }, - multPoint: function(e, t) { + concat: function(t, e) { var r = t[0] - , n = t[1]; - return [r * e[0] + n * e[2] + e[4], r * e[1] + n * e[3] + e[5]] + , n = t[1] + , i = t[2] + , o = t[3] + , a = t[4] + , s = t[5]; + t[0] = r * e[0] + n * e[2], + t[1] = r * e[1] + n * e[3], + t[2] = i * e[0] + o * e[2], + t[3] = i * e[1] + o * e[3], + t[4] = a * e[0] + s * e[2] + e[4], + t[5] = a * e[1] + s * e[3] + e[5] }, - multArray: function(e, t) { - for (var r = 0; r < t.length; r += 2) { - var n = t[r] - , i = t[r + 1]; - t[r] = n * e[0] + i * e[2] + e[4], - t[r + 1] = n * e[1] + i * e[3] + e[5] + invert: function(t) { + var e = t[0] + , r = t[1] + , n = t[2] + , i = t[3] + , o = t[4] + , a = t[5] + , s = e * i - r * n; + t[0] = i / s, + t[1] = -r / s, + t[2] = -n / s, + t[3] = e / s, + t[4] = (n * a - i * o) / s, + t[5] = (r * o - e * a) / s + }, + multPoint: function(t, e) { + var r = e[0] + , n = e[1]; + return [r * t[0] + n * t[2] + t[4], r * t[1] + n * t[3] + t[5]] + }, + multArray: function(t, e) { + for (var r = 0; r < e.length; r += 2) { + var n = e[r] + , i = e[r + 1]; + e[r] = n * t[0] + i * t[2] + t[4], + e[r + 1] = n * t[1] + i * t[3] + t[5] } } }; - function t(e, t, r) { + function e(t, e, r) { var n = [] , i = 0 , o = 0 , a = 0; while (1) { - var s = e.indexOf(t, o) - , c = e.indexOf(r, o); + var s = t.indexOf(e, o) + , c = t.indexOf(r, o); if (-1 == s && -1 == c) break; - -1 == c || -1 != s && s < c ? (0 == a && (n.push(e.slice(i, s).trim()), + -1 == c || -1 != s && s < c ? (0 == a && (n.push(t.slice(i, s).trim()), i = s + 1), a++, o = s + 1) : (-1 == s || -1 != c && c < s) && (a--, - 0 == a && (n.push(e.slice(i, c).trim()), + 0 == a && (n.push(t.slice(i, c).trim()), i = c + 1), o = c + 1) } return n } - function r(e) { - for (var r = t(e, "{", "}"), n = {}, i = 0; i < r.length; i += 2) + function r(t) { + for (var r = e(t, "{", "}"), n = {}, i = 0; i < r.length; i += 2) for (var o = r[i].split(","), a = 0; a < o.length; a++) { var s = o[a].trim(); null == n[s] && (n[s] = ""), @@ -22377,14 +22580,14 @@ return n } function n(r) { - for (var n = t(r, "(", ")"), o = [1, 0, 0, 1, 0, 0], a = 0; a < n.length; a += 2) { + for (var n = e(r, "(", ")"), o = [1, 0, 0, 1, 0, 0], a = 0; a < n.length; a += 2) { var s = o; o = i(n[a], n[a + 1]), - e.concat(o, s) + t.concat(o, s) } return o } - function i(t, r) { + function i(e, r) { for (var n = [1, 0, 0, 1, 0, 0], i = !0, o = 0; o < r.length; o++) { var a = r.charAt(o); "," == a || " " == a ? i = !0 : "." == a ? (i || (r = r.slice(0, o) + "," + r.slice(o), @@ -22394,49 +22597,49 @@ i = !0) } if (r = r.split(/\s*[\s,]\s*/).map(parseFloat), - "translate" == t) - 1 == r.length ? e.translate(n, r[0], 0) : e.translate(n, r[0], r[1]); - else if ("scale" == t) - 1 == r.length ? e.scale(n, r[0], r[0]) : e.scale(n, r[0], r[1]); - else if ("rotate" == t) { + "translate" == e) + 1 == r.length ? t.translate(n, r[0], 0) : t.translate(n, r[0], r[1]); + else if ("scale" == e) + 1 == r.length ? t.scale(n, r[0], r[0]) : t.scale(n, r[0], r[1]); + else if ("rotate" == e) { var s = 0 , c = 0; 1 != r.length && (s = r[1], c = r[2]), - e.translate(n, -s, -c), - e.rotate(n, -Math.PI * r[0] / 180), - e.translate(n, s, c) + t.translate(n, -s, -c), + t.rotate(n, -Math.PI * r[0] / 180), + t.translate(n, s, c) } else - "matrix" == t ? n = r : console.log("unknown transform: ", t); + "matrix" == e ? n = r : console.log("unknown transform: ", e); return n } - function o(e) { - var t = { + function o(t) { + var e = { cmds: [], crds: [] }; - if (null == e) - return t; + if (null == t) + return e; var r = new DOMParser - , n = r["parseFromString"](e, "image/svg+xml") + , n = r["parseFromString"](t, "image/svg+xml") , i = n.getElementsByTagName("svg")[0] , o = i.getAttribute("viewBox"); o = o ? o.trim().split(" ").map(parseFloat) : [0, 0, 1e3, 1e3], - a(i.children, t); - for (var s = 0; s < t.crds.length; s += 2) { - var c = t.crds[s] - , u = t.crds[s + 1]; + a(i.children, e); + for (var s = 0; s < e.crds.length; s += 2) { + var c = e.crds[s] + , u = e.crds[s + 1]; c -= o[0], u -= o[1], u = -u, - t.crds[s] = c, - t.crds[s + 1] = u + e.crds[s] = c, + e.crds[s + 1] = u } - return t + return e } - function a(t, r, i) { - for (var o = 0; o < t.length; o++) { - var s = t[o] + function a(e, r, i) { + for (var o = 0; o < e.length; o++) { + var s = e[o] , c = s.tagName , d = s.getAttribute("fill"); if (null == d && (d = i), @@ -22449,7 +22652,7 @@ var f = s.getAttribute("transform"); if (f) { var h = n(f); - e.multArray(h, l.crds) + t.multArray(h, l.crds) } r.crds = r.crds.concat(l.crds), r.cmds = r.cmds.concat(l.cmds) @@ -22475,52 +22678,52 @@ "defs" == c || console.log(c, s) } } - function s(e) { - var t = [] + function s(t) { + var e = [] , r = 0 , n = !1 , i = "" , o = "" , a = "" , s = 0; - while (r < e.length) { - var c = e.charCodeAt(r) - , u = e.charAt(r); + while (r < t.length) { + var c = t.charCodeAt(r) + , u = t.charAt(r); r++; var d = 48 <= c && c <= 57 || "." == u || "-" == u || "+" == u || "e" == u || "E" == u; - n ? ("+" == u || "-" == u) && "e" != o || "." == u && -1 != i.indexOf(".") || d && ("a" == a || "A" == a) && (s % 7 == 3 || s % 7 == 4) ? (t.push(parseFloat(i)), + n ? ("+" == u || "-" == u) && "e" != o || "." == u && -1 != i.indexOf(".") || d && ("a" == a || "A" == a) && (s % 7 == 3 || s % 7 == 4) ? (e.push(parseFloat(i)), s++, - i = u) : d ? i += u : (t.push(parseFloat(i)), + i = u) : d ? i += u : (e.push(parseFloat(i)), s++, - "," != u && " " != u && (t.push(u), + "," != u && " " != u && (e.push(u), a = u, s = 0), n = !1) : d ? (i = u, - n = !0) : "," != u && " " != u && (t.push(u), + n = !0) : "," != u && " " != u && (e.push(u), a = u, s = 0), o = u } - return n && t.push(parseFloat(i)), - t + return n && e.push(parseFloat(i)), + e } - function c(e, t, r) { - var n = t; - while (n < e.length) { - if ("string" == typeof e[n]) + function c(t, e, r) { + var n = e; + while (n < t.length) { + if ("string" == typeof t[n]) break; n += r } - return (n - t) / r + return (n - e) / r } - function u(e, t) { - var r = s(e) + function u(t, e) { + var r = s(t) , n = 0 , i = 0 , o = 0 , a = 0 , u = 0 - , d = t.crds.length + , d = e.crds.length , l = { M: 2, L: 2, @@ -22532,8 +22735,8 @@ Q: 4, C: 6 } - , f = t.cmds - , h = t.crds; + , f = e.cmds + , h = e.crds; while (n < r.length) { var p = r[n]; n++; @@ -22573,43 +22776,43 @@ else if ("Q" == m) { var w = v + r[n++] , C = S + r[n++] - , A = v + r[n++] - , _ = S + r[n++]; + , _ = v + r[n++] + , A = S + r[n++]; f.push("Q"), - h.push(w, C, A, _), - i = A, - o = _ + h.push(w, C, _, A), + i = _, + o = A } else if ("T" == m) { var I = Math.max(h.length - ("Q" == f[f.length - 1] ? 4 : 2), d); w = i + i - h[I], C = o + o - h[I + 1], - A = v + r[n++], - _ = S + r[n++]; + _ = v + r[n++], + A = S + r[n++]; f.push("Q"), - h.push(w, C, A, _), - i = A, - o = _ + h.push(w, C, _, A), + i = _, + o = A } else if ("C" == m) { w = v + r[n++], C = S + r[n++], - A = v + r[n++], - _ = S + r[n++]; + _ = v + r[n++], + A = S + r[n++]; var E = v + r[n++] , T = S + r[n++]; f.push("C"), - h.push(w, C, A, _, E, T), + h.push(w, C, _, A, E, T), i = E, o = T } else if ("S" == m) { I = Math.max(h.length - ("C" == f[f.length - 1] ? 4 : 2), d), w = i + i - h[I], C = o + o - h[I + 1], - A = v + r[n++], - _ = S + r[n++], + _ = v + r[n++], + A = S + r[n++], E = v + r[n++], T = S + r[n++]; f.push("C"), - h.push(w, C, A, _, E, T), + h.push(w, C, _, A, E, T), i = E, o = T } else if ("A" == m) { @@ -22620,65 +22823,65 @@ , k = r[n++] * (Math.PI / 180) , D = r[n++] , O = r[n++]; - A = v + r[n++], - _ = S + r[n++]; - if (A == i && _ == o && 0 == x && 0 == P) + _ = v + r[n++], + A = S + r[n++]; + if (_ == i && A == o && 0 == x && 0 == P) continue; - var R = (w - A) / 2 - , M = (C - _) / 2 - , N = Math.cos(k) + var R = (w - _) / 2 + , N = (C - A) / 2 + , M = Math.cos(k) , B = Math.sin(k) - , F = N * R + B * M - , j = -B * R + N * M + , F = M * R + B * N + , j = -B * R + M * N , K = x * x - , U = P * P - , L = F * F + , L = P * P + , U = F * F , X = j * j - , z = (K * U - K * X - U * L) / (K * X + U * L) + , z = (K * L - K * X - L * U) / (K * X + L * U) , G = (D != O ? 1 : -1) * Math.sqrt(Math.max(z, 0)) , W = G * (x * j) / P , q = P * F * -G / x - , H = N * W - B * q + (w + A) / 2 - , V = B * W + N * q + (C + _) / 2 - , Y = function(e, t, r, n) { - var i = Math.sqrt(e * e + t * t) + , V = M * W - B * q + (w + _) / 2 + , H = B * W + M * q + (C + A) / 2 + , Y = function(t, e, r, n) { + var i = Math.sqrt(t * t + e * e) , o = Math.sqrt(r * r + n * n) - , a = (e * r + t * n) / (i * o); - return (e * n - t * r >= 0 ? 1 : -1) * Math.acos(Math.max(-1, Math.min(1, a))) + , a = (t * r + e * n) / (i * o); + return (t * n - e * r >= 0 ? 1 : -1) * Math.acos(Math.max(-1, Math.min(1, a))) } - , Q = (F - W) / x - , Z = (j - q) / P - , J = Y(1, 0, Q, Z) - , $ = Y(Q, Z, (-F - W) / x, (-j - q) / P); + , Z = (F - W) / x + , Q = (j - q) / P + , J = Y(1, 0, Z, Q) + , $ = Y(Z, Q, (-F - W) / x, (-j - q) / P); $ %= 2 * Math.PI; - var ee = function(e, t, r, n, i, o, a) { - var s = function(e, t) { - var r = Math.sin(t) - , n = Math.cos(t) - , i = (t = e[0], - e[1]) - , o = e[2] - , a = e[3]; - e[0] = t * n + i * r, - e[1] = -t * r + i * n, - e[2] = o * n + a * r, - e[3] = -o * r + a * n + var tt = function(t, e, r, n, i, o, a) { + var s = function(t, e) { + var r = Math.sin(e) + , n = Math.cos(e) + , i = (e = t[0], + t[1]) + , o = t[2] + , a = t[3]; + t[0] = e * n + i * r, + t[1] = -e * r + i * n, + t[2] = o * n + a * r, + t[3] = -o * r + a * n } - , c = function(e, t) { - for (var r = 0; r < t.length; r += 2) { - var n = t[r] - , i = t[r + 1]; - t[r] = e[0] * n + e[2] * i + e[4], - t[r + 1] = e[1] * n + e[3] * i + e[5] + , c = function(t, e) { + for (var r = 0; r < e.length; r += 2) { + var n = e[r] + , i = e[r + 1]; + e[r] = t[0] * n + t[2] * i + t[4], + e[r + 1] = t[1] * n + t[3] * i + t[5] } } - , u = function(e, t) { - for (var r = 0; r < t.length; r++) - e.push(t[r]) + , u = function(t, e) { + for (var r = 0; r < e.length; r++) + t.push(e[r]) } - , d = function(e, t) { - u(e.cmds, t.cmds), - u(e.crds, t.crds) + , d = function(t, e) { + u(t.cmds, e.cmds), + u(t.crds, e.crds) }; if (a) while (o > i) @@ -22702,7 +22905,7 @@ } , C = [1, 0, 0, 1, 0, 0]; s(C, -l); - for (var A = 0; A < 3; A++) + for (var _ = 0; _ < 3; _++) c(C, S), u(w.crds, S); s(C, l / 2 - i), @@ -22710,19 +22913,19 @@ C[1] *= n, C[2] *= n, C[3] *= n, - C[4] = t, + C[4] = e, C[5] = r, c(C, w.crds), - c(e.ctm, w.crds), - d(e.pth, w) + c(t.ctm, w.crds), + d(t.pth, w) } - , te = { - pth: t, - ctm: [x * N, x * B, -P * B, P * N, H, V] + , et = { + pth: e, + ctm: [x * M, x * B, -P * B, P * M, V, H] }; - ee(te, 0, 0, 1, J, J + $, 0 == O), - i = A, - o = _ + tt(et, 0, 0, 1, J, J + $, 0 == O), + i = _, + o = A } else console.log("Unknown SVG command " + p) } @@ -22735,24 +22938,24 @@ toPath: o } }(), - initHB: function(e, t) { - var r = function(e) { - var t = 0; - return 0 == (4294967168 & e) ? t = 1 : 0 == (4294965248 & e) ? t = 2 : 0 == (4294901760 & e) ? t = 3 : 0 == (4292870144 & e) && (t = 4), - t + initHB: function(t, e) { + var r = function(t) { + var e = 0; + return 0 == (4294967168 & t) ? e = 1 : 0 == (4294965248 & t) ? e = 2 : 0 == (4294901760 & t) ? e = 3 : 0 == (4292870144 & t) && (e = 4), + e }; - fetch(e).then((function(e) { - return e["arrayBuffer"]() + fetch(t).then((function(t) { + return t["arrayBuffer"]() } - )).then((function(e) { - return WebAssembly["instantiate"](e) + )).then((function(t) { + return WebAssembly["instantiate"](t) } - )).then((function(e) { + )).then((function(t) { console.log("HB ready"); - var n, o, a, s, c, u, d, l, f = e["instance"]["exports"], h = f["memory"]; + var n, o, a, s, c, u, d, l, f = t["instance"]["exports"], h = f["memory"]; i["U"]["shapeHB"] = function() { - var e, t = function(e) { - for (var t = f["hb_buffer_get_length"](e), r = [], n = f["hb_buffer_get_glyph_infos"](e, 0) >>> 2, i = f["hb_buffer_get_glyph_positions"](e, 0) >>> 2, s = 0; s < t; ++s) { + var t, e = function(t) { + for (var e = f["hb_buffer_get_length"](t), r = [], n = f["hb_buffer_get_glyph_infos"](t, 0) >>> 2, i = f["hb_buffer_get_glyph_positions"](t, 0) >>> 2, s = 0; s < e; ++s) { var c = n + 5 * s , u = i + 5 * s; r.push({ @@ -22786,20 +22989,20 @@ l = f["hb_font_create"](d), s = g), null != window["TextEncoder"]) { - null == e && (e = new window["TextEncoder"]("utf8")); + null == t && (t = new window["TextEncoder"]("utf8")); var S = f["hb_buffer_create"]() - , w = e["encode"](p) + , w = t["encode"](p) , C = w.length - , A = f["malloc"](C); - n.set(w, A), - f["hb_buffer_add_utf8"](S, A, C, 0, C), - f["free"](A), + , _ = f["malloc"](C); + n.set(w, _), + f["hb_buffer_add_utf8"](S, _, C, 0, C), + f["free"](_), f["hb_buffer_set_direction"](S, m ? 4 : 5), f["hb_buffer_guess_segment_properties"](S), f["hb_shape"](l, S, 0, 0); - var _ = t(S); + var A = e(S); f["hb_buffer_destroy"](S); - var I = _.slice(0); + var I = A.slice(0); m || I.reverse(); for (var E = 0, T = 0, x = 1; x < I.length; x++) { var P = I[x] @@ -22814,76 +23017,76 @@ } P["cl"] = E } - return _ + return A } alert("Your browser is too old. Please, update it.") } }(), - t() + e() } )) } }; var o = i; - (function(e) { - function t(e) { - return "number" === typeof e + (function(t) { + function e(t) { + return "number" === typeof t } - function r(e) { - return t(e) && (0 | e) === e + function r(t) { + return e(t) && (0 | t) === t } - function n(e) { - return e instanceof Array + function n(t) { + return t instanceof Array } - function i(e) { - for (var r = 0; r < e.length; r++) - if (!t(e[r])) + function i(t) { + for (var r = 0; r < t.length; r++) + if (!e(t[r])) return !1; return !0 } - function o(e, r) { - return t(e) ? e : r + function o(t, r) { + return e(t) ? t : r } - function a(e, t) { - return "string" === typeof e ? e : t + function a(t, e) { + return "string" === typeof t ? t : e } - function s(e, t) { - return "boolean" === typeof e ? e : t + function s(t, e) { + return "boolean" === typeof t ? t : e } - function c(e) { - return 1 === e.dim("min") + function c(t) { + return 1 === t.dim("min") } - function u(e) { - if (n(e)) - return e; - if (!c(e)) + function u(t) { + if (n(t)) + return t; + if (!c(t)) throw new f(f.ErrorCodes.DIMENSION_MISMATCH,"Argument has to be vector"); - for (var t = e.dim("max") === e.rows() ? e.__getColumn(1) : e.__getRow(1), r = [], i = 1; i <= t.length; i++) - r.push(t[i - 1]); + for (var e = t.dim("max") === t.rows() ? t.__getColumn(1) : t.__getRow(1), r = [], i = 1; i <= e.length; i++) + r.push(e[i - 1]); return r } - function d(e) { - return [].slice.call(e) + function d(t) { + return [].slice.call(t) } function l() { throw new Error("This cannot be instantiated") } - function f(e, t) { + function f(t, e) { this.name = "MatrixError", - this.code = e, - this.message = t, + this.code = t, + this.message = e, this.toString = function() { return this.name + " [" + this.code + "]: " + (this.message || "No message") } } - function h(e) { + function h(t) { var o, a, s = d(arguments), c = []; - return this.___get = function(e, t) { - return c[a * (e - 1) + t - 1] + return this.___get = function(t, e) { + return c[a * (t - 1) + e - 1] } , - this.___set = function(e, t, r) { - return c[a * (e - 1) + t - 1] = r, + this.___set = function(t, e, r) { + return c[a * (t - 1) + e - 1] = r, this } , @@ -22903,22 +23106,22 @@ if (1 === s.length && n(s[0]) && 0 !== s[0].length && n(s[0][0])) { o = s[0].length, a = -1; - for (var e = 0; e < s[0].length; e++) { - if (s[0][e].length !== a && -1 !== a) + for (var t = 0; t < s[0].length; t++) { + if (s[0][t].length !== a && -1 !== a) throw new f(f.ErrorCodes.INVALID_PARAMETERS,"Number of columns must be the same for all rows"); - if (!i(s[0][e])) + if (!i(s[0][t])) throw new f(f.ErrorCodes.INVALID_PARAMETERS,"Elements must be numbers"); - a = Math.max(a, s[0][e].length), - c = c.concat(s[0][e]) + a = Math.max(a, s[0][t].length), + c = c.concat(s[0][t]) } - } else if (s.length >= 1 && s.length <= 3 && n(s[0]) && (0 === s[0].length || t(s[0][0]))) { + } else if (s.length >= 1 && s.length <= 3 && n(s[0]) && (0 === s[0].length || e(s[0][0]))) { if (!i(s[0])) throw new f(f.ErrorCodes.INVALID_PARAMETERS,"Elements must be numbers"); c = s[0]; var u = s[1] , d = s[2]; - if (t(u) || t(d)) - !t(u) && r(d) ? u = c.length / d : r(u) && !t(d) && (d = c.length / u); + if (e(u) || e(d)) + !e(u) && r(d) ? u = c.length / d : r(u) && !e(d) && (d = c.length / u); else { var h = Math.sqrt(c.length); u = h, @@ -22942,37 +23145,37 @@ }(), this } - function p(e) { - var t, i, o = d(arguments), a = [], s = [], c = []; - return this.___get = function(e, t) { - for (var r = c[e - 1]; r < c[e]; r++) - if (s[r] === t) + function p(t) { + var e, i, o = d(arguments), a = [], s = [], c = []; + return this.___get = function(t, e) { + for (var r = c[t - 1]; r < c[t]; r++) + if (s[r] === e) return a[r]; return 0 } , - this.___set = function(e, t, r) { - for (var n, i = !1, o = c[e - 1]; o <= c[e]; o++) + this.___set = function(t, e, r) { + for (var n, i = !1, o = c[t - 1]; o <= c[t]; o++) if (n = o, - s[o] === t && o !== c[e]) { + s[o] === e && o !== c[t]) { i = !0; break } if (i || 0 === r) { if (i && 0 !== r) a.splice(n, 1, r), - s.splice(n, 1, t); + s.splice(n, 1, e); else if (i) { - for (u = e; u < c.length; u++) + for (u = t; u < c.length; u++) c[u] -= 1; a.splice(n, 1), s.splice(n, 1) } } else { - for (var u = e; u < c.length; u++) + for (var u = t; u < c.length; u++) c[u] += 1; a.splice(n, 0, r), - s.splice(n, 0, t) + s.splice(n, 0, e) } return this } @@ -22990,7 +23193,7 @@ } , this.rows = function() { - return t + return e } , this.columns = function() { @@ -22999,25 +23202,25 @@ , function() { if (o.length >= 1 && o.length <= 2 && r(o[0]) && (1 === o.length || r(o[1]))) - t = o[0], - i = o[1] || t, + e = o[0], + i = o[1] || e, a = [], s = [], - c = l.repeat(t + 1, 0); + c = l.repeat(e + 1, 0); else { if (!(5 === o.length && r(o[0]) && r(o[1]) && n(o[2]) && n(o[3]) && n(o[4]))) { if (1 === o.length && o[0]instanceof b) return o[0].build(); throw new f(f.ErrorCodes.INVALID_PARAMETERS,"Parameters must match a supported signature") } - if (t = o[0], + if (e = o[0], i = o[1], a = o[2], s = o[3], c = o[4], -1 !== a.indexOf(0)) throw new f(f.ErrorCodes.INVALID_PARAMETERS,"Values must not be 0"); - if (t != c.length - 1) + if (e != c.length - 1) throw new f(f.ErrorCodes.OUT_OF_BOUNDS,"Number of rows is too small"); if (a.length !== s.length) throw new f(f.ErrorCodes.INVALID_PARAMETERS,"Arrays for values and column indicators have to be the same size"); @@ -23027,68 +23230,68 @@ }(), this } - function m(e) { + function m(t) { d(arguments); - var t, r = []; - return this.___get = function(e, n) { - return r[t ? e - 1 : n - 1] + var e, r = []; + return this.___get = function(t, n) { + return r[e ? t - 1 : n - 1] } , - this.___set = function(e, n, i) { - return r[t ? e - 1 : n - 1] = i, + this.___set = function(t, n, i) { + return r[e ? t - 1 : n - 1] = i, this } , this.rows = function() { - return t ? r.length : 1 + return e ? r.length : 1 } , this.columns = function() { - return t ? 1 : r.length + return e ? 1 : r.length } , this } function b() { - var e, n, i = []; - function a(e, t, r) { + var t, n, i = []; + function a(t, e, r) { i.push({ - row: e, - column: t, + row: t, + column: e, value: r }) } - this.size = function(t, r) { - return e = t, - n = o(r, t), + this.size = function(e, r) { + return t = e, + n = o(r, e), this } , this.set = function(o, s, c) { - if (!r(e) || !r(n)) + if (!r(t) || !r(n)) throw new f(f.ErrorCodes.SIZE_NOT_GIVEN,"Size has to be specified first"); - if (!t(c)) + if (!e(c)) throw new f(f.ErrorCodes.INVALID_PARAMETERS,"Value is not numeric"); - var u = i.filter((function(e) { - return e.row === o && e.column === s + var u = i.filter((function(t) { + return t.row === o && t.column === s } )).length; if (0 !== u) throw new f(f.ErrorCodes.INVALID_PARAMETERS,"Cannot set same entry multiple times"); - if (o > e || s > n) + if (o > t || s > n) throw new f(f.ErrorCodes.OUT_OF_BOUNDS); return 0 !== c && a(o, s, c), this } , this.build = function() { - i.sort((function(e, t) { - return e.row != t.row ? e.row < t.row ? -1 : 1 : e.column != t.column ? e.column < t.column ? -1 : 1 : 0 + i.sort((function(t, e) { + return t.row != e.row ? t.row < e.row ? -1 : 1 : t.column != e.column ? t.column < e.column ? -1 : 1 : 0 } )); - for (var t = [], r = l.repeat(e + 1, 0), o = [], a = 1, s = 0; s < i.length; s++) { + for (var e = [], r = l.repeat(t + 1, 0), o = [], a = 1, s = 0; s < i.length; s++) { var c = i[s]; - if (t[s] = c.value, + if (e[s] = c.value, o[s] = c.column, 0 === r[c.row]) for (var u = a + 1; u <= c.row; u++) @@ -23096,8 +23299,8 @@ r[c.row]++, a = c.row } - return r[e] = o.length, - new p(e,n,t,o,r) + return r[t] = o.length, + new p(t,n,e,o,r) } } f.ErrorCodes = { @@ -23108,76 +23311,76 @@ UNKNOWN_TYPE: "Unknown type", SIZE_NOT_GIVEN: "Size not given" }, - h.prototype.get = function(e, t) { - if (!this.isInRange(e, t)) + h.prototype.get = function(t, e) { + if (!this.isInRange(t, e)) throw new f(f.ErrorCodes.OUT_OF_BOUNDS); - return this.___get(e, t) + return this.___get(t, e) } , - h.prototype.set = function(e, r, n) { - if (!this.isInRange(e, r)) + h.prototype.set = function(t, r, n) { + if (!this.isInRange(t, r)) throw new f(f.ErrorCodes.OUT_OF_BOUNDS); - if (!t(n)) + if (!e(n)) throw new f(f.ErrorCodes.INVALID_PARAMETERS,"Value has to be a number"); - return this.___set(e, r, n) + return this.___set(t, r, n) } , - h.prototype.getRow = function(e) { - if (!this.isInRange(e, null)) + h.prototype.getRow = function(t) { + if (!this.isInRange(t, null)) throw new f(f.ErrorCodes.OUT_OF_BOUNDS); - return this.__getRow(e) + return this.__getRow(t) } , - h.prototype.__getRow = function(e) { - for (var t = [], r = this.columns(), n = 1; n <= r; n++) - t.push(this.___get(e, n)); - return t + h.prototype.__getRow = function(t) { + for (var e = [], r = this.columns(), n = 1; n <= r; n++) + e.push(this.___get(t, n)); + return e } , - h.prototype.setRow = function(e, t) { - if (t = u(t), - !this.isInRange(e, null)) + h.prototype.setRow = function(t, e) { + if (e = u(e), + !this.isInRange(t, null)) throw new f(f.ErrorCodes.OUT_OF_BOUNDS); - if (t.length !== this.columns()) + if (e.length !== this.columns()) throw new f(f.ErrorCodes.INVALID_PARAMETERS,"Wrong number of columns in row."); - return this.__setRow(e, t) + return this.__setRow(t, e) } , - h.prototype.__setRow = function(e, t) { + h.prototype.__setRow = function(t, e) { for (var r = this.columns(), n = 1; n <= r; n++) - this.___set(e, n, t[n - 1]); + this.___set(t, n, e[n - 1]); return this } , - h.prototype.getColumn = function(e) { - if (!this.isInRange(null, e)) + h.prototype.getColumn = function(t) { + if (!this.isInRange(null, t)) throw new f(f.ErrorCodes.OUT_OF_BOUNDS); - return this.__getColumn(e) + return this.__getColumn(t) } , - h.prototype.__getColumn = function(e) { - for (var t = [], r = this.rows(), n = 1; n <= r; n++) - t.push(this.___get(n, e)); - return t + h.prototype.__getColumn = function(t) { + for (var e = [], r = this.rows(), n = 1; n <= r; n++) + e.push(this.___get(n, t)); + return e } , - h.prototype.setColumn = function(e, t) { - if (t = u(t), - !this.isInRange(null, e)) + h.prototype.setColumn = function(t, e) { + if (e = u(e), + !this.isInRange(null, t)) throw new f(f.ErrorCodes.OUT_OF_BOUNDS); - if (t.length !== this.rows()) + if (e.length !== this.rows()) throw new f(f.ErrorCodes.INVALID_PARAMETERS,"Wrong number of rows in column"); - return this.__setColumn(e, t) + return this.__setColumn(t, e) } , - h.prototype.__setColumn = function(e, t) { + h.prototype.__setColumn = function(t, e) { for (var r = this.rows(), n = 1; n <= r; n++) - this.___set(n, e, t[n - 1]); + this.___set(n, t, e[n - 1]); return this } , - h.prototype.isSameSizeAs = function(e) { - return this.rows() === e.rows() && this.columns() === e.columns() + h.prototype.isSameSizeAs = function(t) { + return this.rows() === t.rows() && this.columns() === t.columns() } , h.prototype.isSquare = function() { @@ -23187,18 +23390,18 @@ h.prototype.isSymmetric = function() { if (!this.isSquare()) throw new f(f.ErrorCodes.DIMENSION_MISMATCH,"Matrix must be square"); - for (var e = this.rows(), t = 2; t <= e; t++) - for (var r = 1; r < t; r++) - if (this.___get(t, r) !== this.___get(r, t)) + for (var t = this.rows(), e = 2; e <= t; e++) + for (var r = 1; r < e; r++) + if (this.___get(e, r) !== this.___get(r, e)) return !1; return !0 } , - h.prototype.isTriangular = function(e) { - if (e = a(e, l.options.isTriangular.mode), + h.prototype.isTriangular = function(t) { + if (t = a(t, l.options.isTriangular.mode), !this.isSquare()) throw new f(f.ErrorCodes.DIMENSION_MISMATCH,"Matrix must be square"); - switch (e.toLowerCase()) { + switch (t.toLowerCase()) { case "lower": return this.__isTriangular(!1); case "upper": @@ -23210,12 +23413,12 @@ } } , - h.prototype.__isTriangular = function(e) { - for (var t, r, n = e ? 1 : -1, i = this.rows(), o = 1; o < i; o++) { - t = this.diag(n * o), - r = t.length; + h.prototype.__isTriangular = function(t) { + for (var e, r, n = t ? 1 : -1, i = this.rows(), o = 1; o < i; o++) { + e = this.diag(n * o), + r = e.length; for (var a = 0; a < r; a++) - if (0 !== t[a]) + if (0 !== e[a]) return !1 } return !0 @@ -23229,8 +23432,8 @@ return this.rows() * this.columns() } , - h.prototype.dim = function(e) { - switch (e) { + h.prototype.dim = function(t) { + switch (t) { case 1: case "rows": return this.rows(); @@ -23246,18 +23449,18 @@ } } , - h.prototype.add = function(e) { - var t = this.rows() + h.prototype.add = function(t) { + var e = this.rows() , r = this.columns(); if (arguments.length > 1) { var n = d(arguments); return this.add.apply(this.add(n.shift()), n) } - if (!this.isSameSizeAs(e)) + if (!this.isSameSizeAs(t)) throw new f(f.ErrorCodes.DIMENSION_MISMATCH,"Matrices must be of the same size"); - for (var i, o, a = new h(t,r), s = 1; s <= t; s++) { + for (var i, o, a = new h(e,r), s = 1; s <= e; s++) { i = this.__getRow(s), - o = e.__getRow(s); + o = t.__getRow(s); for (var c = 0; c < r; c++) i[c] += o[c]; a.__setRow(s, i) @@ -23265,18 +23468,18 @@ return a } , - h.prototype.subtract = function(e) { - var t = this.rows() + h.prototype.subtract = function(t) { + var e = this.rows() , r = this.columns(); if (arguments.length > 1) { var n = d(arguments); return this.subtract.apply(this.subtract(n.shift()), n) } - if (!this.isSameSizeAs(e)) + if (!this.isSameSizeAs(t)) throw new f(f.ErrorCodes.DIMENSION_MISMATCH,"Matrices must be of the same size"); - for (var i, o, a = new h(t,r), s = 1; s <= t; s++) { + for (var i, o, a = new h(e,r), s = 1; s <= e; s++) { i = this.__getRow(s), - o = e.__getRow(s); + o = t.__getRow(s); for (var c = 0; c < r; c++) i[c] -= o[c]; a.__setRow(s, i) @@ -23284,26 +23487,26 @@ return a } , - h.prototype.scale = function(e) { - if (!t(e)) + h.prototype.scale = function(t) { + if (!e(t)) throw new f(f.ErrorCodes.INVALID_PARAMETERS,"Parameter must be a number"); var r = this.rows() , n = this.columns(); - return 0 === e ? new h(r,n) : 1 === e ? this : this.fun((function(t) { - return e * t + return 0 === t ? new h(r,n) : 1 === t ? this : this.fun((function(e) { + return t * e } )) } , - h.prototype.multiply = function(e) { - var t = this.rows() + h.prototype.multiply = function(t) { + var e = this.rows() , r = this.columns() - , n = e.columns(); - if (r !== e.rows()) + , n = t.columns(); + if (r !== t.rows()) throw new f(f.ErrorCodes.DIMENSION_MISMATCH,"Inner dimensions must match"); - for (var i = new h(t,n), o = 1; o <= t; o++) + for (var i = new h(e,n), o = 1; o <= e; o++) for (var a = 1; a <= n; a++) { - for (var s = 0, c = this.__getRow(o), u = e.__getColumn(a), d = 0; d < r; d++) + for (var s = 0, c = this.__getRow(o), u = t.__getColumn(a), d = 0; d < r; d++) s += c[d] * u[d]; i.___set(o, a, s) } @@ -23311,28 +23514,28 @@ } , h.prototype.transpose = function() { - for (var e = this.rows(), t = new h(this.columns(),e), r = 1; r <= e; r++) - t.__setColumn(r, this.__getRow(r)); - return t + for (var t = this.rows(), e = new h(this.columns(),t), r = 1; r <= t; r++) + e.__setColumn(r, this.__getRow(r)); + return e } , h.prototype.trace = function() { if (!this.isSquare()) throw new f(f.ErrorCodes.DIMENSION_MISMATCH,"Matrix must be square"); - for (var e = this.rows(), t = 0, r = 1; r <= e; r++) - t += this.___get(r, r); - return t + for (var t = this.rows(), e = 0, r = 1; r <= t; r++) + e += this.___get(r, r); + return e } , h.prototype.decomposeLU = function() { - var e, t, r, n, i, o, a, s, c, u, d = 0, l = this.copy(), h = this.rows(), p = this.columns(); + var t, e, r, n, i, o, a, s, c, u, d = 0, l = this.copy(), h = this.rows(), p = this.columns(); for (r = 1; r <= h; r++) { for (a = 0, s = -1, i = l.__getColumn(r), - e = r; e <= h; e++) - c = Math.abs(i[e - 1]), - c >= s && (a = e, + t = r; t <= h; t++) + c = Math.abs(i[t - 1]), + c >= s && (a = t, s = c); if (0 === i[a - 1]) throw new f(f.ErrorCodes.MATRIX_IS_SINGULAR); @@ -23341,12 +23544,12 @@ l.__setRow(r, u), d++), n = l.__getRow(r), - e = r + 1; e <= h; e++) { - for (o = l.__getRow(e), - t = r; t < p; t++) - o[t] = o[t] - n[t] * o[r - 1] / n[r - 1]; + t = r + 1; t <= h; t++) { + for (o = l.__getRow(t), + e = r; e < p; e++) + o[e] = o[e] - n[e] * o[r - 1] / n[r - 1]; o[r - 1] = 0, - l.__setRow(e, o) + l.__setRow(t, o) } } return l.swappedRows = d, @@ -23354,14 +23557,14 @@ } , h.prototype.det = function() { - var e, t, r, n = this.rows(); + var t, e, r, n = this.rows(); if (!this.isSquare()) throw new f(f.ErrorCodes.DIMENSION_MISMATCH,"Matrix must be square"); if (this.isTriangular()) - for (t = 1, + for (e = 1, r = this.diag(), - e = 0; e < n; e++) - t *= r[e]; + t = 0; t < n; t++) + e *= r[t]; else { try { var i = this.decomposeLU() @@ -23370,36 +23573,36 @@ return 0; throw o } - for (t = Math.pow(-1, i.swappedRows), + for (e = Math.pow(-1, i.swappedRows), r = i.diag(), - e = 0; e < n; e++) - t *= r[e] + t = 0; t < n; t++) + e *= r[t] } - return t + return e } , h.prototype.inverse = function() { if (!this.isSquare()) throw new f(f.ErrorCodes.DIMENSION_MISMATCH,"Matrix must be square"); - var e, t, r, n, i, o, a, s, c, u = this.augment(h.eye(this.rows())); + var t, e, r, n, i, o, a, s, c, u = this.augment(h.eye(this.rows())); try { for (u = u.decomposeLU(), s = u.rows(), c = u.columns(), n = s; n > 1; n--) { - for (t = u.__getRow(n - 1), - e = u.__getRow(n), - a = t[n - 1] / e[n - 1], + for (e = u.__getRow(n - 1), + t = u.__getRow(n), + a = e[n - 1] / t[n - 1], r = [], o = 0; o < c; o++) - r[o] = t[o] - e[o] * a; + r[o] = e[o] - t[o] * a; u.__setRow(n - 1, r) } for (i = 1; i <= s; i++) { - for (e = u.__getRow(i), + for (t = u.__getRow(i), r = [], o = 0; o < c; o++) - r[o] = e[o] / e[i - 1]; + r[o] = t[o] / t[i - 1]; u.__setRow(i, r) } } catch (d) { @@ -23408,24 +23611,24 @@ return u.submatrix(1, s, this.columns() + 1, c) } , - h.prototype.submatrix = function(e, t, r, n) { - if (!this.isInRange(e, r) || !this.isInRange(t, n) || e > t || r > n) + h.prototype.submatrix = function(t, e, r, n) { + if (!this.isInRange(t, r) || !this.isInRange(e, n) || t > e || r > n) throw new f(f.ErrorCodes.OUT_OF_BOUNDS); - for (var i = t - e + 1, o = n - r + 1, a = new h(i,o), s = e; s <= t; s++) - a.__setRow(s - e + 1, this.__getRow(s).slice(r - 1, n)); + for (var i = e - t + 1, o = n - r + 1, a = new h(i,o), s = t; s <= e; s++) + a.__setRow(s - t + 1, this.__getRow(s).slice(r - 1, n)); return a } , - h.prototype.augment = function(e) { - var t = this.rows() + h.prototype.augment = function(t) { + var e = this.rows() , r = this.columns() - , n = e.columns(); - if (t !== e.rows()) + , n = t.columns(); + if (e !== t.rows()) throw new f(f.ErrorCodes.INVALID_PARAMETERS,"Number of rows must match"); - for (var i = new h(t,r + n), o = 1; o <= r; o++) + for (var i = new h(e,r + n), o = 1; o <= r; o++) i.__setColumn(o, this.__getColumn(o)); for (var a = 1; a <= n; a++) - i.__setColumn(a + r, e.__getColumn(a)); + i.__setColumn(a + r, t.__getColumn(a)); return i } , @@ -23433,112 +23636,112 @@ return this.roundTo(0) } , - h.prototype.roundTo = function(e) { - e = o(e, l.options.roundTo.digits); - var t = Math.pow(10, e); - return this.fun((function(e) { - return Math.round(e * t) / t + h.prototype.roundTo = function(t) { + t = o(t, l.options.roundTo.digits); + var e = Math.pow(10, t); + return this.fun((function(t) { + return Math.round(t * e) / e } )) } , h.prototype.abs = function() { - return this.fun((function(e) { - return Math.abs(e) + return this.fun((function(t) { + return Math.abs(t) } )) } , - h.prototype.addRow = function(e) { - e = u(e); - for (var t = this.rows(), r = new h(t + 1,this.columns()), n = 1; n <= t; n++) + h.prototype.addRow = function(t) { + t = u(t); + for (var e = this.rows(), r = new h(e + 1,this.columns()), n = 1; n <= e; n++) r.__setRow(n, this.__getRow(n)); - return r.__setRow(t + 1, e), + return r.__setRow(e + 1, t), r } , - h.prototype.addColumn = function(e) { - return this.copy().augment(new h(u(e),null,1)) + h.prototype.addColumn = function(t) { + return this.copy().augment(new h(u(t),null,1)) } , - h.prototype.contains = function(e, r) { + h.prototype.contains = function(t, r) { r = o(r, 0); var n, i = this.rows(), a = this.columns(); - if (!t(e) || !t(r)) + if (!e(t) || !e(r)) throw new f(f.ErrorCodes.INVALID_PARAMETERS,"Parameter must be a number"); for (var s = 1; s <= i; s++) { n = this.__getRow(s); for (var c = 0; c < a; c++) if (0 === r) { - if (n[c] === e) + if (n[c] === t) return !0 - } else if (Math.abs(n[c] - e) <= r) + } else if (Math.abs(n[c] - t) <= r) return !0 } return !1 } , - h.prototype.stringify = function(e, t) { - e = a(e, l.options.stringify.rowSeparator), - t = a(t, l.options.stringify.columnSeparator); + h.prototype.stringify = function(t, e) { + t = a(t, l.options.stringify.rowSeparator), + e = a(e, l.options.stringify.columnSeparator); for (var r, n = [], i = this.rows(), o = 1; o <= i; o++) r = this.__getRow(o), - n.push(r.join(t)); - return n.join(e) + n.push(r.join(e)); + return n.join(t) } , - h.prototype.equals = function(e) { - var t, r, n = this.rows(), i = this.columns(); - if (!this.isSameSizeAs(e)) + h.prototype.equals = function(t) { + var e, r, n = this.rows(), i = this.columns(); + if (!this.isSameSizeAs(t)) return !1; for (var o = 1; o <= n; o++) { - t = this.__getRow(o), - r = e.__getRow(o); + e = this.__getRow(o), + r = t.__getRow(o); for (var a = 0; a < i; a++) - if (t[a] !== r[a]) + if (e[a] !== r[a]) return !1 } return !0 } , - h.prototype.fun = function(e, t) { - if (t = t || l.filters.all, - "function" !== typeof e) + h.prototype.fun = function(t, e) { + if (e = e || l.filters.all, + "function" !== typeof t) throw new f(f.ErrorCodes.INVALID_PARAMETERS,"Applicator must be a function"); - if ("function" !== typeof t) + if ("function" !== typeof e) throw new f(f.ErrorCodes.INVALID_PARAMETERS,"Filter must be a function"); for (var r, n, i = this.rows(), o = this.columns(), a = new h(i,o), s = 1; s <= i; s++) { n = this.__getRow(s); for (var c = 1; c <= o; c++) r = n[c - 1], - t(r, s, c) && (n[c - 1] = e(r, s, c)); + e(r, s, c) && (n[c - 1] = t(r, s, c)); a.__setRow(s, n) } return a } , - h.prototype.spfun = function(e) { - return this.fun(e, l.filters.nonZero) + h.prototype.spfun = function(t) { + return this.fun(t, l.filters.nonZero) } , h.prototype.pw_exp = function() { return this.fun(l.applicators.exp, null) } , - h.prototype.pw_pow = function(e) { - return this.fun((function(t) { - return Math.pow(t, e) + h.prototype.pw_pow = function(t) { + return this.fun((function(e) { + return Math.pow(e, t) } ), null) } , - h.prototype.norm = function(e, t) { - switch (e = a(e, l.options.norm.which), - t = t || {}, - e.toLowerCase()) { + h.prototype.norm = function(t, e) { + switch (t = a(t, l.options.norm.which), + e = e || {}, + t.toLowerCase()) { case "p": case "pnorm": - return this.pnorm(Number(t)); + return this.pnorm(Number(e)); case "frobenius": return this.pnorm(2); case "rows": @@ -23554,167 +23757,167 @@ } } , - h.prototype.pnorm = function(e) { - if (!r(e)) + h.prototype.pnorm = function(t) { + if (!r(t)) throw new f(f.ErrorCodes.INVALID_PARAMETERS,"Parameter must be an integer"); - for (var t, n = 0, i = this.rows(), o = this.columns(), a = 1; a <= i; a++) { - t = this.__getRow(a); + for (var e, n = 0, i = this.rows(), o = this.columns(), a = 1; a <= i; a++) { + e = this.__getRow(a); for (var s = 0; s < o; s++) - n += Math.pow(Math.abs(t[s]), e) + n += Math.pow(Math.abs(e[s]), t) } - return Math.pow(n, 1 / e) + return Math.pow(n, 1 / t) } , h.prototype.maxnorm = function() { - for (var e, t = 0, r = this.rows(), n = this.columns(), i = 1; i <= r; i++) { - e = this.__getRow(i); + for (var t, e = 0, r = this.rows(), n = this.columns(), i = 1; i <= r; i++) { + t = this.__getRow(i); for (var o = 0; o < n; o++) - t = Math.max(t, Math.abs(e[o])) + e = Math.max(e, Math.abs(t[o])) } - return t + return e } , h.prototype.rownorm = function() { - for (var e = 0, t = this.rows(), r = 1; r <= t; r++) - e = Math.max(e, this.__getRow(r).toMatrix(1).pnorm(1)); - return e + for (var t = 0, e = this.rows(), r = 1; r <= e; r++) + t = Math.max(t, this.__getRow(r).toMatrix(1).pnorm(1)); + return t } , h.prototype.columnnorm = function() { - for (var e = 0, t = this.columns(), r = 1; r <= t; r++) - e = Math.max(e, this.__getColumn(r).toMatrix(null, 1).pnorm(1)); - return e + for (var t = 0, e = this.columns(), r = 1; r <= e; r++) + t = Math.max(t, this.__getColumn(r).toMatrix(null, 1).pnorm(1)); + return t } , - h.prototype.diag = function(e) { - e = o(e, 0); - var t = [] - , r = -Math.min(e, 0) - , n = Math.max(e, 0) + h.prototype.diag = function(t) { + t = o(t, 0); + var e = [] + , r = -Math.min(t, 0) + , n = Math.max(t, 0) , i = 0 === r ? this.columns() - n : this.rows() - r; if (i <= 0) throw new f(f.ErrorCodes.OUT_OF_BOUNDS); for (var a = 1; a <= i; a++) - t.push(this.___get(a + r, a + n)); - return t + e.push(this.___get(a + r, a + n)); + return e } , - h.prototype.isInRange = function(e, r) { - return (!t(e) || e >= 1 && e <= this.rows()) && (!t(r) || r >= 1 && r <= this.columns()) + h.prototype.isInRange = function(t, r) { + return (!e(t) || t >= 1 && t <= this.rows()) && (!e(r) || r >= 1 && r <= this.columns()) } , h.prototype.toArray = function() { return d(this.___getElements()) } , - h.zeros = function(e, t) { - return t = o(t, e), - new h(e,t) + h.zeros = function(t, e) { + return e = o(e, t), + new h(t,e) } , - h.ones = function(e, t) { - t = o(t, e); - for (var r = new h(e,t), n = 1; n <= e; n++) - for (var i = 1; i <= t; i++) + h.ones = function(t, e) { + e = o(e, t); + for (var r = new h(t,e), n = 1; n <= t; n++) + for (var i = 1; i <= e; i++) r.___set(n, i, 1); return r } , - h.eye = function(e) { - for (var t = new h(e,e), r = 1; r <= e; r++) - t.___set(r, r, 1); - return t + h.eye = function(t) { + for (var e = new h(t,t), r = 1; r <= t; r++) + e.___set(r, r, 1); + return e } , - h.diag = function(e, t) { - e = u(e), - t = o(t, 0); - for (var r = new h(e.length + Math.abs(t)), n = -Math.min(t, 0), i = Math.max(t, 0), a = 1; a <= e.length; a++) - r.___set(a + n, a + i, e[a - 1]); + h.diag = function(t, e) { + t = u(t), + e = o(e, 0); + for (var r = new h(t.length + Math.abs(e)), n = -Math.min(e, 0), i = Math.max(e, 0), a = 1; a <= t.length; a++) + r.___set(a + n, a + i, t[a - 1]); return r } , - h.random = function(e, t, r, n, i) { - t = o(t, e), + h.random = function(t, e, r, n, i) { + e = o(e, t), r = o(r, l.options.random.minVal), n = o(n, l.options.random.maxVal), i = s(i, l.options.random.onlyInteger); - for (var a, c = new h(e,t), u = n - r + (i ? 1 : 0), d = 1; d <= e; d++) - for (var f = 1; f <= t; f++) + for (var a, c = new h(t,e), u = n - r + (i ? 1 : 0), d = 1; d <= t; d++) + for (var f = 1; f <= e; f++) a = r + Math.random() * u, i && (a |= 0), c.___set(d, f, a); return c } , - p.prototype.get = function(e, t) { - if (!this.isInRange(e, t)) + p.prototype.get = function(t, e) { + if (!this.isInRange(t, e)) throw new f(f.ErrorCodes.OUT_OF_BOUNDS); - return this.___get(e, t) + return this.___get(t, e) } , - p.prototype.set = function(e, r, n) { - if (!this.isInRange(e, r)) + p.prototype.set = function(t, r, n) { + if (!this.isInRange(t, r)) throw new f(f.ErrorCodes.OUT_OF_BOUNDS); - if (!t(n)) + if (!e(n)) throw new f(f.ErrorCodes.INVALID_PARAMETERS,"Value has to be a number"); - return this.___set(e, r, n) + return this.___set(t, r, n) } , - p.prototype.getRow = function(e) { - if (!this.isInRange(e, null)) + p.prototype.getRow = function(t) { + if (!this.isInRange(t, null)) throw new f(f.ErrorCodes.OUT_OF_BOUNDS); - return this.__getRow(e) + return this.__getRow(t) } , - p.prototype.__getRow = function(e) { - for (var t = l.repeat(this.columns(), 0), r = this.___getRowPointer(), n = this.___getColumnIndicator(), i = this.___getElements(), o = r[e - 1]; o < r[e]; o++) - t[n[o] - 1] = i[o]; - return t + p.prototype.__getRow = function(t) { + for (var e = l.repeat(this.columns(), 0), r = this.___getRowPointer(), n = this.___getColumnIndicator(), i = this.___getElements(), o = r[t - 1]; o < r[t]; o++) + e[n[o] - 1] = i[o]; + return e } , - p.prototype.setRow = function(e, t) { - if (!this.isInRange(e, null)) + p.prototype.setRow = function(t, e) { + if (!this.isInRange(t, null)) throw new f(f.ErrorCodes.OUT_OF_BOUNDS); - if (t.length !== this.columns()) + if (e.length !== this.columns()) throw new f(f.ErrorCodes.INVALID_PARAMETERS,"Wrong number of columns in row."); - return this.__setRow(e, t) + return this.__setRow(t, e) } , - p.prototype.__setRow = function(e, t) { + p.prototype.__setRow = function(t, e) { for (var r = this.columns(), n = 1; n <= r; n++) - this.___set(e, n, t[n - 1]); + this.___set(t, n, e[n - 1]); return this } , - p.prototype.getColumn = function(e) { - if (!this.isInRange(null, e)) + p.prototype.getColumn = function(t) { + if (!this.isInRange(null, t)) throw new f(f.ErrorCodes.OUT_OF_BOUNDS); - return this.__getColumn(e) + return this.__getColumn(t) } , - p.prototype.__getColumn = function(e) { - for (var t = [], r = this.rows(), n = 1; n <= r; n++) - t.push(this.___get(n, e)); - return t + p.prototype.__getColumn = function(t) { + for (var e = [], r = this.rows(), n = 1; n <= r; n++) + e.push(this.___get(n, t)); + return e } , - p.prototype.setColumn = function(e, t) { - if (!this.isInRange(null, e)) + p.prototype.setColumn = function(t, e) { + if (!this.isInRange(null, t)) throw new f(f.ErrorCodes.OUT_OF_BOUNDS); - if (t.length !== this.rows()) + if (e.length !== this.rows()) throw new f(f.ErrorCodes.INVALID_PARAMETERS,"Wrong number of rows in column"); - return this.__setColumn(e, t) + return this.__setColumn(t, e) } , - p.prototype.__setColumn = function(e, t) { + p.prototype.__setColumn = function(t, e) { for (var r = this.rows(), n = 1; n <= r; n++) - this.___set(n, e, t[n - 1]); + this.___set(n, t, e[n - 1]); return this } , - p.prototype.isSameSizeAs = function(e) { - return this.rows() === e.rows() && this.columns() === e.columns() + p.prototype.isSameSizeAs = function(t) { + return this.rows() === t.rows() && this.columns() === t.columns() } , p.prototype.isSquare = function() { @@ -23724,15 +23927,15 @@ p.prototype.isSymmetric = function() { if (!this.isSquare()) throw new f(f.ErrorCodes.DIMENSION_MISMATCH,"Matrix must be square"); - for (var e = this.rows(), t = 2; t <= e; t++) - for (var r = 1; r < t; r++) - if (this.___get(t, r) !== this.___get(r, t)) + for (var t = this.rows(), e = 2; e <= t; e++) + for (var r = 1; r < e; r++) + if (this.___get(e, r) !== this.___get(r, e)) return !1; return !0 } , - p.prototype.dim = function(e) { - switch (e) { + p.prototype.dim = function(t) { + switch (t) { case 1: case "rows": return this.rows(); @@ -23748,53 +23951,53 @@ } } , - p.prototype.add = function(e) { - var t = this.rows() + p.prototype.add = function(t) { + var e = this.rows() , r = this.columns(); if (arguments.length > 1) { var n = d(arguments); return this.add.apply(this.add(n.shift()), n) } - if (!this.isSameSizeAs(e)) + if (!this.isSameSizeAs(t)) throw new f(f.ErrorCodes.DIMENSION_MISMATCH,"Matrices must be of the same size"); - for (var i, o, a = (new b).size(t, r), s = 1; s <= t; s++) { + for (var i, o, a = (new b).size(e, r), s = 1; s <= e; s++) { i = this.__getRow(s), - o = e.__getRow(s); + o = t.__getRow(s); for (var c = 1; c <= r; c++) a.set(s, c, i[c - 1] + o[c - 1]) } return a.build() } , - p.prototype.subtract = function(e) { - var t = this.rows() + p.prototype.subtract = function(t) { + var e = this.rows() , r = this.columns(); if (arguments.length > 1) { var n = d(arguments); return this.subtract.apply(this.subtract(n.shift()), n) } - if (!this.isSameSizeAs(e)) + if (!this.isSameSizeAs(t)) throw new f(f.ErrorCodes.DIMENSION_MISMATCH,"Matrices must be of the same size"); - for (var i, o, a = (new b).size(t, r), s = 1; s <= t; s++) { + for (var i, o, a = (new b).size(e, r), s = 1; s <= e; s++) { i = this.__getRow(s), - o = e.__getRow(s); + o = t.__getRow(s); for (var c = 1; c <= r; c++) a.set(s, c, i[c - 1] - o[c - 1]) } return a.build() } , - p.prototype.scale = function(e) { - if (!t(e)) + p.prototype.scale = function(t) { + if (!e(t)) throw new f(f.ErrorCodes.INVALID_PARAMETERS,"Parameter must be a number"); var r = this.rows() , n = this.columns(); - if (0 === e) + if (0 === t) return new p(r,n); - if (1 === e) + if (1 === t) return this; for (var i = d(this.___getElements()), o = 0; o < i.length; o++) - i[o] *= e; + i[o] *= t; return new p(r,n,i,d(this.___getColumnIndicator()),d(this.___getRowPointer())) } , @@ -23802,51 +24005,51 @@ return new p(this.rows(),this.columns(),d(this.___getElements()),d(this.___getColumnIndicator()),d(this.___getRowPointer())) } , - p.prototype.equals = function(e) { - if (!this.isSameSizeAs(e)) + p.prototype.equals = function(t) { + if (!this.isSameSizeAs(t)) return !1; - for (var t = this.___getElements(), r = e.___getElements(), n = this.___getColumnIndicator(), i = e.___getColumnIndicator(), o = 0; o < t.length; o++) - if (t[o] !== r[o] || n[o] !== i[o]) + for (var e = this.___getElements(), r = t.___getElements(), n = this.___getColumnIndicator(), i = t.___getColumnIndicator(), o = 0; o < e.length; o++) + if (e[o] !== r[o] || n[o] !== i[o]) return !1; - for (var a = this.___getRowPointer(), s = e.___getRowPointer(), c = 0; c < a.length; c++) + for (var a = this.___getRowPointer(), s = t.___getRowPointer(), c = 0; c < a.length; c++) if (a[c] !== s[c]) return !1; return !0 } , - p.prototype.stringify = function(e, t) { - e = a(e, l.options.stringify.rowSeparator), - t = a(t, l.options.stringify.columnSeparator); + p.prototype.stringify = function(t, e) { + t = a(t, l.options.stringify.rowSeparator), + e = a(e, l.options.stringify.columnSeparator); for (var r, n = [], i = this.rows(), o = this.columns(), s = 1; s <= i; s++) { r = []; for (var c = 1; c <= o; c++) r[c - 1] = this.___get(s, c); - n.push(r.join(t)) + n.push(r.join(e)) } - return n.join(e) + return n.join(t) } , - p.prototype.isInRange = function(e, r) { - return (!t(e) || e >= 1 && e <= this.rows()) && (!t(r) || r >= 1 && r <= this.columns()) + p.prototype.isInRange = function(t, r) { + return (!e(t) || t >= 1 && t <= this.rows()) && (!e(r) || r >= 1 && r <= this.columns()) } , - p.zeros = function(e, t) { - return t = o(t, e), - new p(e,t) + p.zeros = function(t, e) { + return e = o(e, t), + new p(t,e) } , - p.eye = function(e) { - var t = l.repeat(e, 1) - , r = l.linspace(1, e) - , n = l.linspace(0, e); - return new p(e,e,t,r,n) + p.eye = function(t) { + var e = l.repeat(t, 1) + , r = l.linspace(1, t) + , n = l.linspace(0, t); + return new p(t,t,e,r,n) } , - p.diag = function(e, t) { - e = u(e), - t = o(t, 0); - for (var r = (new b).size(e.length + Math.abs(t)), n = -Math.min(t, 0), i = Math.max(t, 0), a = 1; a <= e.length; a++) - r.set(a + n, a + i, e[a - 1]); + p.diag = function(t, e) { + t = u(t), + e = o(e, 0); + for (var r = (new b).size(t.length + Math.abs(e)), n = -Math.min(e, 0), i = Math.max(e, 0), a = 1; a <= t.length; a++) + r.set(a + n, a + i, t[a - 1]); return r.build() } , @@ -23870,16 +24073,16 @@ onlyInteger: !0 } }, - l.linspace = function(e, t, r) { + l.linspace = function(t, e, r) { r = o(r, 1); - for (var n = [], i = e; i <= t; i += r) + for (var n = [], i = t; i <= e; i += r) n.push(i); return n } , - l.repeat = function(e, t) { - for (var r = [], n = 1; n <= e; n++) - r[n - 1] = t; + l.repeat = function(t, e) { + for (var r = [], n = 1; n <= t; n++) + r[n - 1] = e; return r } , @@ -23887,35 +24090,35 @@ all: function() { return !0 }, - nonZero: function(e) { - return 0 !== e + nonZero: function(t) { + return 0 !== t }, - diag: function(e, t, r) { - return t === r + diag: function(t, e, r) { + return e === r } }, l.applicators = { - exp: function(e) { - return Math.exp(e) + exp: function(t) { + return Math.exp(t) }, - square: function(e) { - return e * e + square: function(t) { + return t * t } }, - Array.prototype.toMatrix = function(e, t) { - return new h(this,e,t) + Array.prototype.toMatrix = function(t, e) { + return new h(this,t,e) } , - Array.prototype.toVector = function(e) { - return e = s(e, !1), - new h(this,e ? 1 : this.length,e ? this.length : 1) + Array.prototype.toVector = function(t) { + return t = s(t, !1), + new h(this,t ? 1 : this.length,t ? this.length : 1) } , - String.prototype.toMatrix = function(e, t) { - e = a(e, "\r\n"), - t = a(t, "\t"); - for (var r, n = this.split(e), i = 0, o = new h(0), s = 0; s < n.length; s++) { - if (r = n[s].split(t), + String.prototype.toMatrix = function(t, e) { + t = a(t, "\r\n"), + e = a(e, "\t"); + for (var r, n = this.split(t), i = 0, o = new h(0), s = 0; s < n.length; s++) { + if (r = n[s].split(e), 0 === i && (i = r.length, o = new h(n.length,i)), r.length !== i) @@ -23926,43 +24129,43 @@ return o } , - e.Matrix = h, - e.SparseMatrix = p, - e.Vector = m, - e.MatrixUtils = l, - e.SparseBuilder = b + t.Matrix = h, + t.SparseMatrix = p, + t.Vector = m, + t.MatrixUtils = l, + t.SparseBuilder = b } )(window); var a = Matrix; - function s(e) { - return s = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(e) { - return typeof e + function s(t) { + return s = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(t) { + return typeof t } - : function(e) { - return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e + : function(t) { + return t && "function" == typeof Symbol && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t } , - s(e) + s(t) } - function c(e, t) { - var r = "undefined" !== typeof Symbol && e[Symbol.iterator] || e["@@iterator"]; + function c(t, e) { + var r = "undefined" !== typeof Symbol && t[Symbol.iterator] || t["@@iterator"]; if (!r) { - if (Array.isArray(e) || (r = u(e)) || t && e && "number" === typeof e.length) { - r && (e = r); + if (Array.isArray(t) || (r = u(t)) || e && t && "number" === typeof t.length) { + r && (t = r); var n = 0 , i = function() {}; return { s: i, n: function() { - return n >= e.length ? { + return n >= t.length ? { done: !0 } : { done: !1, - value: e[n++] + value: t[n++] } }, - e: function(e) { - throw e + e: function(t) { + throw t }, f: i } @@ -23972,16 +24175,16 @@ var o, a = !0, s = !1; return { s: function() { - r = r.call(e) + r = r.call(t) }, n: function() { - var e = r.next(); - return a = e.done, - e + var t = r.next(); + return a = t.done, + t }, - e: function(e) { + e: function(t) { s = !0, - o = e + o = t }, f: function() { try { @@ -23993,22 +24196,22 @@ } } } - function u(e, t) { - if (e) { - if ("string" === typeof e) - return d(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) ? d(e, t) : void 0 + function u(t, e) { + if (t) { + if ("string" === typeof t) + return d(t, e); + var r = Object.prototype.toString.call(t).slice(8, -1); + return "Object" === r && t.constructor && (r = t.constructor.name), + "Map" === r || "Set" === r ? Array.from(t) : "Arguments" === r || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r) ? d(t, e) : void 0 } } - function d(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]; + function d(t, e) { + (null == e || e > t.length) && (e = t.length); + for (var r = 0, n = new Array(e); r < e; r++) + n[r] = t[r]; return n } - var l = function(e, t, r) { + var l = function(t, e, r) { var i, o = r[Object.keys(r)[0]]["json"]["ofd:Area"]; if (o) { var a = o["ofd:PhysicalBox"]; @@ -24024,8 +24227,8 @@ } } } else { - var u = t["ofd:CommonData"]["ofd:PageArea"]; - "undefined" === typeof u && (u = t["ofd:CommonData"]["PageArea"]); + var u = e["ofd:CommonData"]["ofd:PageArea"]; + "undefined" === typeof u && (u = e["ofd:CommonData"]["PageArea"]); var d = u["ofd:PhysicalBox"]; if ("undefined" === typeof d && (d = u["PhysicalBox"]), d) @@ -24041,15 +24244,15 @@ } } var h = i.split(" ") - , p = ((e - 30) / parseFloat(h[2])).toFixed(1) / 96 * 25.4; + , p = ((t - 30) / parseFloat(h[2])).toFixed(1) / 96 * 25.4; return Object(n["m"])(p), Object(n["n"])(p), i = Object(n["k"])(i), i = Object(n["d"])(i), i } - , f = function(e, t) { - var r, i = t[Object.keys(t)[0]]["json"]["ofd:Area"]; + , f = function(t, e) { + var r, i = e[Object.keys(e)[0]]["json"]["ofd:Area"]; if (i) { var o = i["ofd:PhysicalBox"]; if (o) @@ -24064,7 +24267,7 @@ } } } else { - var c = e["ofd:CommonData"]["ofd:PageArea"] + var c = t["ofd:CommonData"]["ofd:PageArea"] , u = c["ofd:PhysicalBox"]; if (u) r = u; @@ -24082,9 +24285,9 @@ r = Object(n["d"])(r), r } - , h = function(e, t, r, i, o, a, s) { - var u = Object.keys(t)[0] - , d = t[u]["json"]["ofd:Template"]; + , h = function(t, e, r, i, o, a, s) { + var u = Object.keys(e)[0] + , d = e[u]["json"]["ofd:Template"]; if (d) { var l = []; if (r[d["@_TemplateID"]]) { @@ -24095,7 +24298,7 @@ try { for (g.s(); !(h = g.n()).done; ) { var y = h.value; - y && b(e, i, o, a, s, y, !1, null, null, null, !0) + y && b(t, i, o, a, s, y, !1, null, null, null, !0) } } catch (B) { g.e(B) @@ -24103,34 +24306,34 @@ g.f() } } - if (t[u]["json"]["ofd:Content"]) { - var S = t[u]["json"]["ofd:Content"]["ofd:Layer"] + if (e[u]["json"]["ofd:Content"]) { + var S = e[u]["json"]["ofd:Content"]["ofd:Layer"] , w = []; w = w.concat(S); - var C, A = c(w); + var C, _ = c(w); try { - for (A.s(); !(C = A.n()).done; ) { - var _ = C.value; - _ && b(e, i, o, a, s, _, !1) + for (_.s(); !(C = _.n()).done; ) { + var A = C.value; + A && b(t, i, o, a, s, A, !1) } } catch (B) { - A.e(B) + _.e(B) } finally { - A.f() + _.f() } } - if (t[u].stamp) { - var I, E = t[u].json.pfIndex, T = c(t[u].stamp); + if (e[u].stamp) { + var I, E = e[u].json.pfIndex, T = c(e[u].stamp); try { for (T.s(); !(I = T.n()).done; ) { var x = I.value; if ("ofd" === x.type) - m(e, x.obj.pages, x.obj.tpls, !0, x.stamp.stampAnnot, x.obj.fontResObj, x.obj.drawParamResObj, x.obj.multiMediaResObj, s, x.stamp.sealObj.SES_Signature, x.stamp.signedInfo, E); + m(t, x.obj.pages, x.obj.tpls, !0, x.stamp.stampAnnot, x.obj.fontResObj, x.obj.drawParamResObj, x.obj.multiMediaResObj, s, x.stamp.sealObj.SES_Signature, x.stamp.signedInfo, E); else if ("png" === x.type) { var P = Object(n["d"])(x.obj.boundary) , k = (Array.isArray(x.stamp.stampAnnot) ? x.stamp.stampAnnot[0]["@_ID"] : x.stamp.stampAnnot["@_ID"]) + E - , D = v(e.style.width, e.style.height, x.obj.img, P, x.obj.clip, !0, x.stamp.sealObj.SES_Signature, x.stamp.signedInfo, k); - e.appendChild(D) + , D = v(t.style.width, t.style.height, a, x.obj.img, P, x.obj.clip, !0, x.stamp.sealObj.SES_Signature, x.stamp.signedInfo, k); + t.appendChild(D) } } } catch (B) { @@ -24139,35 +24342,35 @@ T.f() } } - if (t[u].annotation) { - var O, R = t[u].json.pfIndex, M = c(t[u].annotation); + if (e[u].annotation) { + var O, R = e[u].json.pfIndex, N = c(e[u].annotation); try { - for (M.s(); !(O = M.n()).done; ) { - var N = O.value; - p(e, N, i, o, a, s, R) + for (N.s(); !(O = N.n()).done; ) { + var M = O.value; + p(t, M, i, o, a, s, R) } } catch (B) { - M.e(B) + N.e(B) } finally { - M.f() + N.f() } } } - , p = function(e, t, r, i, o, a, s) { + , p = function(t, e, r, i, o, a, s) { var c = document.createElement("div"); c.setAttribute("style", "overflow: hidden;z-index:0;position:relative;"); - var u = t["appearance"]["@_Boundary"]; + var u = e["appearance"]["@_Boundary"]; if (u) { var d = Object(n["d"])(Object(n["k"])(u)); c.setAttribute("style", "overflow: hidden;z-index:0;position:absolute; left: ".concat(d.x, "px; top: ").concat(d.y, "px; width: ").concat(d.w, "px; height: ").concat(d.h, "px")) } else - c.setAttribute("style", "overflow: visible;z-index:".concat(t["@_ID"] + s, ";position:absolute; left: 0px; top: 0px; width: 1px; height: 1px")); - var l = t["appearance"]; + c.setAttribute("style", "overflow: visible;z-index:".concat(e["@_ID"] + s, ";position:absolute; left: 0px; top: 0px; width: 1px; height: 1px")); + var l = e["appearance"]; b(c, r, i, o, a, l, !1), - e.appendChild(c) + t.appendChild(c) } - , m = function(e, t, r, i, o, a, s, u, d, l, f, h) { - var p, m = c(t); + , m = function(t, e, r, i, o, a, s, u, d, l, f, h) { + var p, m = c(e); try { for (m.s(); !(p = m.n()).done; ) { var g = p.value @@ -24187,10 +24390,10 @@ w.setAttribute("data-signed-info", "".concat(JSON.stringify(f))); var C = g[y]["json"]["ofd:Template"]; if (C) { - var A = r[C["@_TemplateID"]]["json"]["ofd:Content"]["ofd:Layer"] - , _ = []; - _ = _.concat(A); - var I, E = c(_); + var _ = r[C["@_TemplateID"]]["json"]["ofd:Content"]["ofd:Layer"] + , A = []; + A = A.concat(_); + var I, E = c(A); try { for (E.s(); !(I = E.n()).done; ) { var T = I.value; @@ -24216,7 +24419,7 @@ } finally { D.f() } - e.appendChild(w) + t.appendChild(w) } } catch (R) { m.e(R) @@ -24224,7 +24427,7 @@ m.f() } } - , b = function e(t, r, i, o, a, s, u, d, l, f, h) { + , b = function t(e, r, i, o, a, s, u, d, l, f, h) { var p = null , m = null , b = Object(n["e"])(.353) @@ -24241,22 +24444,22 @@ i[y]["LineWidth"] && (b = Object(n["e"])(i[y]["LineWidth"])) } var C = s["ofd:ImageObject"] - , A = []; - A = A.concat(C); - var _, I = c(A); + , _ = []; + _ = _.concat(C); + var A, I = c(_); try { - for (I.s(); !(_ = I.n()).done; ) { - var E = _.value; + for (I.s(); !(A = I.n()).done; ) { + var E = A.value; if (E) { var T = E["@_ResourceID"]; if (null === o[T] || void 0 === o[T]) continue; - var x = g(t.style.width, t.style.height, o, E, u, l, h); - t.appendChild(x) + var x = g(e.style.width, e.style.height, o, E, u, l, h); + e.appendChild(x) } } - } catch (oe) { - I.e(oe) + } catch (ot) { + I.e(ot) } finally { I.f() } @@ -24268,87 +24471,87 @@ for (O.s(); !(D = O.n()).done; ) { var R = D.value; if (R) { - var M = w(i, R, p, m, b, u, d, l, f); - t.appendChild(M) + var N = w(i, R, p, m, b, u, d, l, f); + e.appendChild(N) } } - } catch (oe) { - O.e(oe) + } catch (ot) { + O.e(ot) } finally { O.f() } - var N = s["ofd:TextObject"] + var M = s["ofd:TextObject"] , B = []; - B = B.concat(N); + B = B.concat(M); var F, j = c(B); try { for (j.s(); !(F = j.n()).done; ) { var K = F.value; if (K) { - var U = S(r, K, p, m, i); - t.appendChild(U) + var L = S(r, K, p, m, i); + e.appendChild(L) } } - } catch (oe) { - j.e(oe) + } catch (ot) { + j.e(ot) } finally { j.f() } - var L = s["ofd:CompositeObject"] + var U = s["ofd:CompositeObject"] , X = []; - X = X.concat(L); + X = X.concat(U); var z, G = c(X); try { for (G.s(); !(z = G.n()).done; ) { var W = z.value; if (W) { - var q, H = c(a); + var q, V = c(a); try { - for (H.s(); !(q = H.n()).done; ) { - var V = q.value; - if (V["@_ID"] === W["@_ResourceID"]) { + for (V.s(); !(q = V.n()).done; ) { + var H = q.value; + if (H["@_ID"] === W["@_ResourceID"]) { var Y = W["@_Alpha"] - , Q = W["@_Boundary"] - , Z = W["@_CTM"]; - if (Q) { - var J = Object(n["d"])(Object(n["k"])(Q)) + , Z = W["@_Boundary"] + , Q = W["@_CTM"]; + if (Z) { + var J = Object(n["d"])(Object(n["k"])(Z)) , $ = document.createElement("div"); $.setAttribute("style", "position:absolute; left: ".concat(J.x, "px; top: ").concat(J.y, "px; width: ").concat(J.w, "px; height: ").concat(J.h, "px")), - t.appendChild($), - e($, r, i, o, a, V["ofd:Content"], !1, Y, null, Z) + e.appendChild($), + t($, r, i, o, a, H["ofd:Content"], !1, Y, null, Q) } else - e(t, r, i, o, a, V["ofd:Content"], !1, Y, Q, Z); + t(e, r, i, o, a, H["ofd:Content"], !1, Y, Z, Q); break } } - } catch (oe) { - H.e(oe) + } catch (ot) { + V.e(ot) } finally { - H.f() + V.f() } } } - } catch (oe) { - G.e(oe) + } catch (ot) { + G.e(ot) } finally { G.f() } - var ee = s["ofd:PageBlock"] - , te = []; - te = te.concat(ee); - var re, ne = c(te); + var tt = s["ofd:PageBlock"] + , et = []; + et = et.concat(tt); + var rt, nt = c(et); try { - for (ne.s(); !(re = ne.n()).done; ) { - var ie = re.value; - ie && e(t, r, i, o, a, ie, u) + for (nt.s(); !(rt = nt.n()).done; ) { + var it = rt.value; + it && t(e, r, i, o, a, it, u) } - } catch (oe) { - ne.e(oe) + } catch (ot) { + nt.e(ot) } finally { - ne.f() + nt.f() } } - , g = function(e, t, r, i, o, a, s) { + , g = function(t, e, r, i, o, a, s) { var c = Object(n["k"])(i["@_Boundary"]); c = Object(n["d"])(c); var u = i["@_ResourceID"]; @@ -24359,17 +24562,17 @@ return y(d, l, f, c, i["@_ID"]) } var h = i["@_CTM"]; - return v(e, t, r[u].img, c, !1, o, null, null, i["@_ID"], h, a, s) + return v(t, e, r, r[u].img, c, !1, o, null, null, i["@_ID"], h, a, s, i) } - , y = function(e, t, r, n, i) { - for (var o = new Uint8ClampedArray(4 * t * r), a = 0; a < e.length; a++) - o[4 * a] = e[a], - o[4 * a + 1] = e[a], - o[4 * a + 2] = e[a], + , y = function(t, e, r, n, i) { + for (var o = new Uint8ClampedArray(4 * e * r), a = 0; a < t.length; a++) + o[4 * a] = t[a], + o[4 * a + 1] = t[a], + o[4 * a + 2] = t[a], o[4 * a + 3] = 255; - var s = new ImageData(o,t,r) + var s = new ImageData(o,e,r) , c = document.createElement("canvas"); - c.width = t, + c.width = e, c.height = r; var u = c.getContext("2d"); return u.putImageData(s, 0, 0), @@ -24377,88 +24580,98 @@ c.style.position = "absolute", c } - , v = function(e, t, r, i, o, a, c, u, d, l, f, h) { - var p = document.createElement("div"); - a && (p.setAttribute("name", "seal_img_div"), - p.setAttribute("data-ses-signature", "".concat(JSON.stringify(c))), - p.setAttribute("data-signed-info", "".concat(JSON.stringify(u)))); - var m = document.createElement("img"); - "object" === s(r) ? m.src = r.img : m.src = r, - a && (m.setAttribute("width", "100%"), - m.setAttribute("height", "100%")); - var b = 0 - , g = 0 - , y = 0 - , v = 0; - if (l) { - var S = Object(n["j"])(l); - m.setAttribute("width", "".concat(Object(n["e"])(S[0]), "px")), - m.setAttribute("height", "".concat(Object(n["e"])(S[3]), "px")), - y = Object(n["e"])(S[0]), - v = Object(n["e"])(S[3]), - b = Object(n["e"])(S[4]), - g = Object(n["e"])(S[5]), - 0 == S[1] && 0 == S[2] && S[0] * S[3] < 0 && (m.setAttribute("style", "transform:rotateX(180deg);"), - g += Object(n["e"])(S[3])) + , v = function(t, e, r, i, o, a, c, u, d, l, f, h, p, m) { + var b = document.createElement("div"); + c && (b.setAttribute("name", "seal_img_div"), + b.setAttribute("data-ses-signature", "".concat(JSON.stringify(u))), + b.setAttribute("data-signed-info", "".concat(JSON.stringify(d)))); + var g = document.createElement("img"); + if ("object" === s(i) ? g.src = i.img : g.src = i, + c && (g.setAttribute("width", "100%"), + g.setAttribute("height", "100%"), + g.setAttribute("style", "opacity:0.85")), + "undefined" != typeof m) { + var y = m["@_Alpha"]; + "undefined" != typeof y && g.setAttribute("style", "opacity:".concat(y / 255, ";")) } - f && (m.setAttribute("width", "100%"), - m.setAttribute("height", "100%"), - m.removeAttribute("transform")), - p.appendChild(m); - var w = parseFloat(e.replace("px", "")) - , C = parseFloat(t.replace("px", "")) - , A = i.w > w ? w : i.w - , _ = i.h > C ? C : i.h - , I = ""; - o && (o = Object(n["d"])(o), - I = "clip: rect(".concat(o.y, "px, ").concat(o.w + o.x, "px, ").concat(o.h + o.y, "px, ").concat(o.x, "px)")); - var E = 0 - , T = 0; - return I ? (E = i.x, - T = i.y) : (E = i.x + b < 0 ? 0 : i.x + b, - T = i.y + g < 0 ? 0 : i.y + g), - y > 0 && (A = y, - _ = v), - h ? p.setAttribute("style", "cursor: pointer; overflow: hidden; position: absolute; left: ".concat(E, "px; top: ").concat(T, "px; width: ").concat(A, "px; height: ").concat(_, "px; ").concat(I, ";")) : p.setAttribute("style", "cursor: pointer; overflow: hidden; position: absolute; left: ".concat(E, "px; top: ").concat(T, "px; width: ").concat(A, "px; height: ").concat(_, "px; ").concat(I, ";z-index: ").concat(d)), - p + var v = 0 + , S = 0 + , w = 0 + , C = 0 + , _ = ""; + if (f) { + var A = Object(n["j"])(f); + if (g.setAttribute("width", "".concat(Object(n["e"])(A[0]), "px")), + g.setAttribute("height", "".concat(Object(n["e"])(A[3]), "px")), + w = Object(n["e"])(A[0]), + C = Object(n["e"])(A[3]), + v = Object(n["e"])(A[4]), + S = Object(n["e"])(A[5]), + 0 == A[1] && 0 == A[2] && A[0] * A[3] < 0 && (g.setAttribute("style", "transform:rotateX(180deg);"), + S += Object(n["e"])(A[3])), + 0 != A[1] && 0 != A[2] && A[1] * A[2] < 0) { + var I = -1 * Math.atan2(Math.sqrt(-1 * A[1] * A[2]), Math.sqrt(A[0] * A[3])) * 180 / Math.PI; + _ = "transform:rotate(".concat(I, "deg);") + } + } + h && (g.setAttribute("width", "100%"), + g.setAttribute("height", "100%"), + g.removeAttribute("transform")), + b.appendChild(g); + var E = parseFloat(t.replace("px", "")) + , T = parseFloat(e.replace("px", "")) + , x = o.w > E ? E : o.w + , P = o.h > T ? T : o.h + , k = ""; + a && (a = Object(n["d"])(a), + k = "clip: rect(".concat(a.y, "px, ").concat(a.w + a.x, "px, ").concat(a.h + a.y, "px, ").concat(a.x, "px)")); + var D = 0 + , O = 0; + return k ? (D = o.x, + O = o.y) : (D = o.x + v < 0 ? 0 : o.x + v, + O = o.y + S < 0 ? 0 : o.y + S), + w > 0 && (x = w, + P = C), + p ? b.setAttribute("style", "cursor: pointer; overflow: hidden; position: absolute; left: ".concat(D, "px; top: ").concat(O, "px; width: ").concat(x, "px; height: ").concat(P, "px; ").concat(k, ";")) : b.setAttribute("style", "cursor: pointer; overflow: hidden; position: absolute; left: ".concat(D, "px; top: ").concat(O, "px; width: ").concat(x, "px; height: ").concat(P, "px; ").concat(k, ";z-index: ").concat(l, "; ").concat(_)), + b } - , S = function(e, t, r, i, a) { + , S = function(t, e, r, i, a) { var s = 1 - , u = Object(n["k"])(t["@_Boundary"]); + , u = Object(n["k"])(e["@_Boundary"]); u = Object(n["d"])(u); u.x, u.y; - var d = t["@_CTM"] - , l = t["@_HScale"] - , f = t["@_Font"] - , h = t["@_Weight"] + var d = e["@_CTM"] + , l = e["@_HScale"] + , f = e["@_Font"] + , h = e["@_Weight"] , p = ""; "undefined" != typeof h && (p = "font-weight:".concat(h, ";")); - var m = t["@_Italic"] + var m = e["@_Italic"] , b = ""; "true" == m && (b = "font-style:italic;"); - var g = t["@_Alpha"] + var g = e["@_Alpha"] , y = ""; "undefined" != typeof g && (y = "fill-opacity:".concat(g / 255, ";")); - var v = Object(n["e"])(parseFloat(t["@_Size"])) + var v = Object(n["e"])(parseFloat(e["@_Size"])) , S = []; - S = S.concat(t["ofd:TextCode"]); + S = S.concat(e["ofd:TextCode"]); var w = Object(n["b"])(S) - , A = document.createElementNS("http://www.w3.org/2000/svg", "svg"); - A.setAttribute("version", "1.1"); - var _ = t["ofd:FillColor"] + , _ = document.createElementNS("http://www.w3.org/2000/svg", "svg"); + _.setAttribute("version", "1.1"); + var A = e["ofd:FillColor"] , I = !1 - , E = t["@_DrawParam"]; + , E = e["@_DrawParam"]; if (E && Object.keys(a).length > 0 && a[E] && a[E]["FillColor"] && (r = Object(n["i"])(a[E]["FillColor"])), - _) { - _["@_Value"] && (r = Object(n["i"])(_["@_Value"])); - var T = _["@_Alpha"]; + A) { + A["@_Value"] && (r = Object(n["i"])(A["@_Value"])); + var T = A["@_Alpha"]; T && (s = T > 1 ? T / 255 : T); - var x = _["ofd:AxialShd"]; + var x = A["ofd:AxialShd"]; if (x) { I = !0; var P = document.createElement("linearGradient"); - P.setAttribute("id", "".concat(t["@_ID"])), + P.setAttribute("id", "".concat(e["@_ID"])), P.setAttribute("x1", "0%"), P.setAttribute("y1", "0%"), P.setAttribute("x2", "100%"), @@ -24475,189 +24688,192 @@ r = Object(n["i"])(O["ofd:Color"]["@_Value"]) } } - } catch (De) { - D.e(De) + } catch (Dt) { + D.e(Dt) } finally { D.f() } - A.appendChild(P) + _.appendChild(P) } } - var M = u.w - , N = u.h + var N = u.w + , M = u.h , B = u.x , F = u.y , j = v , K = v; if (d) { - var U = Object(n["j"])(d) - , L = U[0] - , X = U[1] - , z = U[2] - , G = U[3] - , W = function(e) { - return 2 * (e >= 0) - 1 + var L = Object(n["j"])(d) + , U = L[0] + , X = L[1] + , z = L[2] + , G = L[3] + , W = function(t) { + return 2 * (t >= 0) - 1 } - , q = L > 0 ? W(L) * Math.sqrt(L * L + z * z) : Math.sqrt(L * L + z * z) - , H = G > 0 ? W(G) * Math.sqrt(X * X + G * G) : Math.sqrt(X * X + G * G) - , V = Math.atan2(-X, G); - 0 == V && 0 != L && 1 == G || (j *= q, - K *= H), - 0 == V && l > 0 && (j *= l) + , q = U > 0 ? W(U) * Math.sqrt(U * U + z * z) : Math.sqrt(U * U + z * z) + , V = G > 0 ? W(G) * Math.sqrt(X * X + G * G) : Math.sqrt(X * X + G * G) + , H = Math.atan2(-X, G); + 0 == H && 0 != U && 1 == G || (j *= q, + K *= V), + 0 == H && l > 0 && (j *= l) } - var Y, Q = t["ofd:CGTransform"]; - if ("undefined" != typeof Q) - if (Q instanceof Array) { - var Z, J = "", $ = c(Q); + var Y, Z = e["ofd:CGTransform"]; + if ("undefined" != typeof Z) + if (Z instanceof Array) { + var Q, J = "", $ = c(Z); try { - for ($.s(); !(Z = $.n()).done; ) { - var ee = Z.value; - ee && (J += ee["ofd:Glyphs"]) + for ($.s(); !(Q = $.n()).done; ) { + var tt = Q.value; + tt && (J += tt["ofd:Glyphs"]) } - } catch (De) { - $.e(De) + } catch (Dt) { + $.e(Dt) } finally { $.f() } Y = J.split(" ") } else { - var te = Q["ofd:Glyphs"]; - Y = te.split(" ") + var et = Z["ofd:Glyphs"]; + Y = et.split(" ") } - var re, ne = 0, ie = c(w); + var rt, nt = 0, it = c(w); + try { - for (ie.s(); !(re = ie.n()).done; ) { - var oe = re.value; - if (oe && !isNaN(oe.x)) { - var ae = !1; - if ("undefined" != typeof Q && oe.text.charCodeAt() > 32 && 127 != oe.text.charCodeAt()) { - var se = o.parse(e[f].fontByte)[0]; - if (null != se.head) { - var ce = Y[ne] - , ue = o.U.glyphToPath(se, ce) - , de = o.U.pathToSVG(ue) - , le = document.createElementNS("http://www.w3.org/2000/svg", "g"); - I ? le.setAttribute("style", "fill:".concat(r, ";stroke:none")) : le.setAttribute("style", "fill:".concat(r, ";stroke:").concat(i, ";fill-opacity:").concat(s, ";")); - var fe = j / se.head.unitsPerEm - , he = K / se.head.unitsPerEm; + for (it.s(); !(rt = it.n()).done; ) { + var ot = rt.value; + if (ot && !isNaN(ot.x)) { + var at = !1; + if ("undefined" != typeof Z && ot.text.charCodeAt() > 32 && 127 != ot.text.charCodeAt()) { + var st = o.parse(t[f].fontByte)[0]; + if (null != st.head) { + var ct = Y[nt] + , ut = o.U.glyphToPath(st, ct) + , dt = o.U.pathToSVG(ut) + , lt = document.createElementNS("http://www.w3.org/2000/svg", "g"); + I ? lt.setAttribute("style", "fill:".concat(r, ";stroke:none")) : lt.setAttribute("style", "fill:".concat(r, ";stroke:").concat(i, ";fill-opacity:").concat(s, ";")); + var ft = j / st.head.unitsPerEm + , ht = K / st.head.unitsPerEm; if (d) { - var pe = Object(n["j"])(d) - , me = (oe.x, - pe[0], - oe.y, - pe[2], - oe.y, - pe[3], - Object(n["e"])(pe[5]), - C(l, pe, u, oe.x, oe.y, v, se.head.unitsPerEm)); - le.setAttribute("transform", "matrix(".concat(me.getRow(1)[0], ", ").concat(me.getRow(1)[1], ", ").concat(me.getRow(2)[0], ", ").concat(me.getRow(2)[1], ", ").concat(me.getRow(3)[0], ", ").concat(me.getRow(3)[1], ")")) + var pt = Object(n["j"])(d) + , mt = (ot.x, + pt[0], + ot.y, + pt[2], + ot.y, + pt[3], + Object(n["e"])(pt[5]), + C(l, pt, u, ot.x, ot.y, v, st.head.unitsPerEm)); + lt.setAttribute("transform", "matrix(".concat(mt.getRow(1)[0], ", ").concat(mt.getRow(1)[1], ", ").concat(mt.getRow(2)[0], ", ").concat(mt.getRow(2)[1], ", ").concat(mt.getRow(3)[0], ", ").concat(mt.getRow(3)[1], ")")) } else { - var be = oe.x - , ge = oe.y; - le.setAttribute("transform", "matrix(".concat(fe, ", 0, 0, ").concat(-he, ", ").concat(be, ",").concat(ge, ")")) + var bt = ot.x + , gt = ot.y; + lt.setAttribute("transform", "matrix(".concat(ft, ", 0, 0, ").concat(-ht, ", ").concat(bt, ",").concat(gt, ")")) } - var ye = document.createElementNS("http://www.w3.org/2000/svg", "path"); - ye.setAttribute("d", de), - le.appendChild(ye), - A.appendChild(le), - ae = !0 + var yt = document.createElementNS("http://www.w3.org/2000/svg", "path"); + yt.setAttribute("d", dt), + lt.appendChild(yt), + _.appendChild(lt), + at = !0 } else { - ce = Y[ne], - ue = o.U.glyphToPath(se, ce), - de = o.U.pathToSVG(ue); - var ve = document.createElementNS("http://www.w3.org/2000/svg", "g"); - I ? ve.setAttribute("style", "fill:".concat(r, ";stroke:none")) : ve.setAttribute("style", "fill:".concat(r, ";stroke:").concat(i, ";fill-opacity:").concat(s, ";")); - var Se = .001; - se["CFF "] && se["CFF "].FontMatrix && (Se = se["CFF "].FontMatrix[0]); - var we = j * Se - , Ce = K * Se; + ct = Y[nt], + ut = o.U.glyphToPath(st, ct), + dt = o.U.pathToSVG(ut); + var vt = document.createElementNS("http://www.w3.org/2000/svg", "g"); + I ? vt.setAttribute("style", "fill:".concat(r, ";stroke:none")) : vt.setAttribute("style", "fill:".concat(r, ";stroke:").concat(i, ";fill-opacity:").concat(s, ";")); + var St = .001; + st["CFF "] && st["CFF "].FontMatrix && (St = st["CFF "].FontMatrix[0]); + var wt = j * St + , Ct = K * St; if (d) { - var Ae = Object(n["j"])(d) - , _e = (oe.x, - Ae[0], - oe.y, - Ae[2], - oe.y, - Ae[3], - Object(n["e"])(Ae[5]), - C(l, Ae, u, oe.x, oe.y, v, 1 / Se)); - ve.setAttribute("transform", "matrix(".concat(_e.getRow(1)[0], ", ").concat(_e.getRow(1)[1], ", ").concat(_e.getRow(2)[0], ", ").concat(_e.getRow(2)[1], ", ").concat(_e.getRow(3)[0], ", ").concat(_e.getRow(3)[1], ")")) + var _t = Object(n["j"])(d) + , At = (ot.x, + _t[0], + ot.y, + _t[2], + ot.y, + _t[3], + Object(n["e"])(_t[5]), + C(l, _t, u, ot.x, ot.y, v, 1 / St)); + vt.setAttribute("transform", "matrix(".concat(At.getRow(1)[0], ", ").concat(At.getRow(1)[1], ", ").concat(At.getRow(2)[0], ", ").concat(At.getRow(2)[1], ", ").concat(At.getRow(3)[0], ", ").concat(At.getRow(3)[1], ")")) } else { - var Ie = oe.x - , Ee = oe.y; - ve.setAttribute("transform", "matrix(".concat(we, ", 0, 0, ").concat(-Ce, ", ").concat(Ie, ",").concat(Ee, ")")) + var It = ot.x + , Et = ot.y; + vt.setAttribute("transform", "matrix(".concat(wt, ", 0, 0, ").concat(-Ct, ", ").concat(It, ",").concat(Et, ")")) } - var Te = document.createElementNS("http://www.w3.org/2000/svg", "path"); - Te.setAttribute("d", de), - ve.appendChild(Te), - A.appendChild(ve), - ae = !0 + var Tt = document.createElementNS("http://www.w3.org/2000/svg", "path"); + Tt.setAttribute("d", dt), + vt.appendChild(Tt), + _.appendChild(vt), + at = !0 } } - if (!ae) { - var xe = document.createElementNS("http://www.w3.org/2000/svg", "text"); - xe.setAttribute("x", oe.x), - xe.setAttribute("y", oe.y); - var Pe = document.createTextNode(oe.text); - if (xe.appendChild(Pe), + if (!at) { + var xt = document.createElementNS("http://www.w3.org/2000/svg", "text"); + xt.setAttribute("x", ot.x), + xt.setAttribute("y", ot.y); + var Pt = document.createTextNode(ot.text); + if (xt.appendChild(Pt), d) { - var ke = Object(n["j"])(d); - xe.setAttribute("transform", "matrix(".concat(ke[0], " ").concat(ke[1], " ").concat(ke[2], " ").concat(ke[3], " ").concat(Object(n["e"])(ke[4]), " ").concat(Object(n["e"])(ke[5]), ")")) + var kt = Object(n["j"])(d); + xt.setAttribute("transform", "matrix(".concat(kt[0], " ").concat(kt[1], " ").concat(kt[2], " ").concat(kt[3], " ").concat(Object(n["e"])(kt[4]), " ").concat(Object(n["e"])(kt[5]), ")")) } - l && xe.setAttribute("transform", "matrix(".concat(l, ", 0, 0, 1, ").concat((1 - l) * oe.x, ", 0)")), - I ? xe.setAttribute("fill", r) : (xe.setAttribute("fill", i), - xe.setAttribute("fill", r), - xe.setAttribute("fill-opacity", s)), - xe.setAttribute("style", "".concat(b, " ").concat(p, " ").concat(y, " font-size:").concat(v, "px;font-family: ").concat(Object(n["g"])(e[f]), ";")), - A.appendChild(xe) + l && xt.setAttribute("transform", "matrix(".concat(l, ", 0, 0, 1, ").concat((1 - l) * ot.x, ", 0)")), + I ? xt.setAttribute("fill", r) : (xt.setAttribute("fill", i), + xt.setAttribute("fill", r), + xt.setAttribute("fill-opacity", s)), + xt.setAttribute("style", "".concat(b, " ").concat(p, " ").concat(y, " font-size:").concat(v, "px;font-family: ").concat(Object(n["g"])(t[f]), ";")), + _.appendChild(xt) } } - ne++ + nt++ } - } catch (De) { - ie.e(De) + } catch (Dt) { + it.e(Dt) } finally { - ie.f() + it.f() } - return A.setAttribute("style", "overflow:visible;position:absolute;width:".concat(M, "px;height:").concat(N, "px;left:").concat(B, "px;top:").concat(F, "px;z-index:").concat(t["@_ID"])), - A + return _.setAttribute("style", "overflow:visible;position:absolute;width:".concat(N, "px;height:").concat(M, "px;left:").concat(B, "px;top:").concat(F, "px;z-index:").concat(e["@_ID"])), + _ } - , w = function(e, t, r, i, o, a, s, u, d) { + , w = function(t, e, r, i, o, a, s, u, d) { var l = document.createElementNS("http://www.w3.org/2000/svg", "svg"); l.setAttribute("version", "1.1"); - var f = Object(n["k"])(t["@_Boundary"]); + var f = Object(n["k"])(e["@_Boundary"]); if (!f) return l; f = Object(n["d"])(f); - var h = t["@_LineWidth"] - , p = t["ofd:AbbreviatedData"] - , m = Object(n["a"])(Object(n["c"])(p)) - , b = t["@_CTM"] + var h = e["@_LineWidth"] + , p = e["ofd:AbbreviatedData"]; + if (!p) + return l; + var m = Object(n["a"])(Object(n["c"])(p)) + , b = e["@_CTM"] , g = document.createElementNS("http://www.w3.org/2000/svg", "path"); h && (o = Object(n["e"])(h)); - var y = t["@_DrawParam"]; - if (y && e[y] && (h = e[y].LineWidth, + var y = e["@_DrawParam"]; + if (y && t[y] && (h = t[y].LineWidth, h && (o = Object(n["e"])(h))), b) { var v = Object(n["j"])(b); g.setAttribute("transform", "matrix(".concat(v[0], " ").concat(v[1], " ").concat(v[2], " ").concat(v[3], " ").concat(Object(n["e"])(v[4]), " ").concat(Object(n["e"])(v[5]), ")")) } - var S = t["ofd:StrokeColor"]; + var S = e["ofd:StrokeColor"]; if (S) { S["@_Value"] && (i = Object(n["i"])(S["@_Value"])); var w = S["ofd:AxialShd"]; if (w) { !0; var C = document.createElement("linearGradient"); - C.setAttribute("id", "".concat(t["@_ID"])), + C.setAttribute("id", "".concat(e["@_ID"])), C.setAttribute("x1", "0%"), C.setAttribute("y1", "0%"), C.setAttribute("x2", "100%"), C.setAttribute("y2", "100%"); - var A, _ = c(w["ofd:Segment"]); + var _, A = c(w["ofd:Segment"]); try { - for (_.s(); !(A = _.n()).done; ) { - var I = A.value; + for (A.s(); !(_ = A.n()).done; ) { + var I = _.value; if (I) { var E = document.createElement("stop"); E.setAttribute("offset", "".concat(100 * I["@_Position"], "%")), @@ -24667,14 +24883,14 @@ } } } catch ($) { - _.e($) + A.e($) } finally { - _.f() + A.f() } l.appendChild(C) } } - var T = t["ofd:FillColor"]; + var T = e["ofd:FillColor"]; if (T) { T["@_Value"] && ((T["@_Value"])), T["@_Alpha"] && 0 == T["@_Alpha"] && (r = "none"); @@ -24682,7 +24898,7 @@ if (x) { !0; var P = document.createElement("linearGradient"); - P.setAttribute("id", "".concat(t["@_ID"])), + P.setAttribute("id", "".concat(e["@_ID"])), P.setAttribute("x1", "0%"), P.setAttribute("y1", "0%"), P.setAttribute("x2", "100%"), @@ -24709,33 +24925,33 @@ } o > 0 && !i && (i = r, i || (i = "rgb(0, 0, 0)")); - var M = t["@_Alpha"]; - if ("undefined" != typeof M ? g.setAttribute("fill-opacity", "".concat(M / 255)) : s && g.setAttribute("fill-opacity", "".concat(s / 255)), - "false" != t["@_Stroke"] && (g.setAttribute("stroke", "".concat(i)), + var N = e["@_Alpha"]; + if ("undefined" != typeof N ? g.setAttribute("fill-opacity", "".concat(N / 255)) : s && g.setAttribute("fill-opacity", "".concat(s / 255)), + "false" != e["@_Stroke"] && (g.setAttribute("stroke", "".concat(i)), g.setAttribute("stroke-width", "".concat(o, "px")), g.setAttribute("fill", "none")), - t.hasOwnProperty("@_Fill") || (r = "none"), - "false" != t["@_Fill"] && g.setAttribute("fill", "".concat(a ? "none" : r || "none")), - t["@_Join"] && g.setAttribute("stroke-linejoin", "".concat(t["@_Join"])), - t["@_Cap"] && g.setAttribute("stroke-linecap", "".concat(t["@_Cap"])), - t["@_DashPattern"]) { - var N = t["@_DashPattern"] - , B = Object(n["j"])(N) + e.hasOwnProperty("@_Fill") || (r = "none"), + "false" != e["@_Fill"] && g.setAttribute("fill", "".concat(a ? "none" : r || "none")), + e["@_Join"] && g.setAttribute("stroke-linejoin", "".concat(e["@_Join"])), + e["@_Cap"] && g.setAttribute("stroke-linecap", "".concat(e["@_Cap"])), + e["@_DashPattern"]) { + var M = e["@_DashPattern"] + , B = Object(n["j"])(M) , F = 0; - t["@_DashOffset"] && (F = t["@_DashOffset"]), + e["@_DashOffset"] && (F = e["@_DashOffset"]), g.setAttribute("stroke-dasharray", "".concat(Object(n["e"])(B[0]), ",").concat(Object(n["e"])(B[1]))), g.setAttribute("stroke-dashoffset", "".concat(Object(n["e"])(F), "px")) } - var j, K = "", U = c(m); + var j, K = "", L = c(m); try { - for (U.s(); !(j = U.n()).done; ) { - var L = j.value; - "M" === L.type ? K += "M".concat(L.x, " ").concat(L.y, " ") : "L" === L.type ? K += "L".concat(L.x, " ").concat(L.y, " ") : "B" === L.type ? K += "C".concat(L.x1, " ").concat(L.y1, " ").concat(L.x2, " ").concat(L.y2, " ").concat(L.x3, " ").concat(L.y3, " ") : "Q" === L.type ? K += "Q".concat(L.x1, " ").concat(L.y1, " ").concat(L.x2, " ").concat(L.y2, " ") : "A" === L.type ? K += "A".concat(L.rx, ",").concat(L.ry, " ").concat(L.rotation, " ").concat(L.arc, ",").concat(L.sweep, " ").concat(L.x, ",").concat(L.y) : "C" === L.type && (K += "Z") + for (L.s(); !(j = L.n()).done; ) { + var U = j.value; + "M" === U.type ? K += "M".concat(U.x, " ").concat(U.y, " ") : "L" === U.type ? K += "L".concat(U.x, " ").concat(U.y, " ") : "B" === U.type ? K += "C".concat(U.x1, " ").concat(U.y1, " ").concat(U.x2, " ").concat(U.y2, " ").concat(U.x3, " ").concat(U.y3, " ") : "Q" === U.type ? K += "Q".concat(U.x1, " ").concat(U.y1, " ").concat(U.x2, " ").concat(U.y2, " ") : "A" === U.type ? K += "A".concat(U.rx, ",").concat(U.ry, " ").concat(U.rotation, " ").concat(U.arc, ",").concat(U.sweep, " ").concat(U.x, ",").concat(U.y) : "C" === U.type && (K += "Z") } } catch ($) { - U.e($) + L.e($) } finally { - U.f() + L.f() } g.setAttribute("d", K), l.appendChild(g); @@ -24743,17 +24959,17 @@ , z = a ? f.h : Math.ceil(f.h) , G = f.x , W = f.y; - if (l.setAttribute("style", "overflow:visible;position:absolute;width:".concat(X, "px;height:").concat(z, "px;left:").concat(G, "px;top:").concat(W, "px;z-index:").concat(t["@_ID"])), + if (l.setAttribute("style", "overflow:visible;position:absolute;width:".concat(X, "px;height:").concat(z, "px;left:").concat(G, "px;top:").concat(W, "px;z-index:").concat(e["@_ID"])), u) { var q = document.createElementNS("http://www.w3.org/2000/svg", "svg"); q.setAttribute("version", "1.1"); - var H = Object(n["k"])(u); - H = Object(n["d"])(H); - var V = Math.ceil(H.w) - , Y = Math.ceil(H.h) - , Q = H.x - , Z = H.y; - if (q.setAttribute("style", "overflow:hidden;position:absolute;width:".concat(V, "px;height:").concat(Y, "px;left:").concat(Q, "px;top:").concat(Z, "px;z-index:").concat(t["@_ID"])), + var V = Object(n["k"])(u); + V = Object(n["d"])(V); + var H = Math.ceil(V.w) + , Y = Math.ceil(V.h) + , Z = V.x + , Q = V.y; + if (q.setAttribute("style", "overflow:hidden;position:absolute;width:".concat(H, "px;height:").concat(Y, "px;left:").concat(Z, "px;top:").concat(Q, "px;z-index:").concat(e["@_ID"])), d) { var J = Object(n["j"])(d); l.setAttribute("transform", "matrix(".concat(J[0], " ").concat(J[1], " ").concat(J[2], " ").concat(J[3], " ").concat(Object(n["e"])(J[4]), " ").concat(Object(n["e"])(J[5]), ")")) @@ -24763,46 +24979,46 @@ } return l } - , C = function(e, t, r, n, i, o, s, c) { + , C = function(t, e, r, n, i, o, s, c) { var u = new a([1, 0, 0, 0, -1, 0, 0, 0, 1]); - "undefined" == typeof e && (e = 1), - u = A(u, Number(e), 1); + "undefined" == typeof t && (t = 1), + u = _(u, Number(t), 1); var d = new a([1 / s, 0, 0, 0, 1 / s, 0, 0, 0, 1]); if (u = u.multiply(d), - u = A(u, o / 3.7795, o / 3.7795), - u = _(u, n / 3.7795, i / 3.7795), - null != t) { - var l = new a([Number(t[0]), Number(t[1]), 0, Number(t[2]), Number(t[3]), 0, Number(t[4]), Number(t[5]), 1]); + u = _(u, o / 3.7795, o / 3.7795), + u = A(u, n / 3.7795, i / 3.7795), + null != e) { + var l = new a([Number(e[0]), Number(e[1]), 0, Number(e[2]), Number(e[3]), 0, Number(e[4]), Number(e[5]), 1]); u = u.multiply(l) } return "undefined" == typeof c && (c = new a([3.7795, 0, 0, 0, 3.7795, 0, 0, 0, 1])), u = u.multiply(c), u } - , A = function(e, t, r) { - var n = new a([t, 0, 0, 0, r, 0, 0, 0, 1]); - return e.multiply(n) + , _ = function(t, e, r) { + var n = new a([e, 0, 0, 0, r, 0, 0, 0, 1]); + return t.multiply(n) } - , _ = function(e, t, r) { - var n = new a([1, 0, 0, 0, 1, 0, t, r, 1]); - return e.multiply(n) + , A = function(t, e, r) { + var n = new a([1, 0, 0, 0, 1, 0, e, r, 1]); + return t.multiply(n) } }, - "7f3b": function(e, t, r) { + "7f3b": function(t, e, r) { "use strict"; - (function(e) { - var t = r("d00a"); + (function(t) { + var e = r("d00a"); "undefined" !== typeof PDFJSDev && PDFJSDev.test("SKIP_BABEL") || "undefined" !== typeof globalThis && globalThis._pdfjsCompatibilityChecked || ("undefined" !== typeof globalThis && globalThis.Math === Math || (globalThis = r("eb73")), globalThis._pdfjsCompatibilityChecked = !0, function() { - !globalThis.btoa && t["a"] && (globalThis.btoa = function(t) { - return e.from(t, "binary").toString("base64") + !globalThis.btoa && e["a"] && (globalThis.btoa = function(e) { + return t.from(e, "binary").toString("base64") } ) }(), function() { - !globalThis.atob && t["a"] && (globalThis.atob = function(t) { - return e.from(t, "base64").toString("binary") + !globalThis.atob && e["a"] && (globalThis.atob = function(e) { + return t.from(e, "base64").toString("binary") } ) }(), @@ -24847,17 +25063,17 @@ }(), function() { if ("undefined" === typeof PDFJSDev || !PDFJSDev.test("IMAGE_DECODERS")) { - var e = !1; + var t = !1; if ("undefined" !== typeof ReadableStream) try { new ReadableStream({ - start: function(e) { - e.close() + start: function(t) { + t.close() } }), - e = !0 - } catch (t) {} - e || (globalThis.ReadableStream = r("87c2").ReadableStream) + t = !0 + } catch (e) {} + t || (globalThis.ReadableStream = r("87c2").ReadableStream) } }(), function() { @@ -24896,17 +25112,17 @@ } ).call(this, r("b639").Buffer) }, - "7f9a": function(e, t, r) { + "7f9a": function(t, e, r) { var n = r("da84") , i = r("1626") , o = r("8925") , a = n.WeakMap; - e.exports = i(a) && /native code/.test(o(a)) + t.exports = i(a) && /native code/.test(o(a)) }, - 8006: function(e, t, r) { + 8006: function(t, e, r) { "use strict"; - const n = function(e) { - return String.fromCharCode(e) + const n = function(t) { + return String.fromCharCode(t) } , i = { nilChar: n(176), @@ -24921,36 +25137,36 @@ arrayEnd: n(185) } , o = [i.nilChar, i.nilPremitive, i.missingChar, i.missingPremitive, i.boundryChar, i.emptyChar, i.emptyValue, i.arrayEnd, i.objStart, i.arrStart] - , a = function(e, t, r) { - if ("string" === typeof t) - return e && e[0] && void 0 !== e[0].val ? s(e[0].val, t) : s(e, t); + , a = function(t, e, r) { + if ("string" === typeof e) + return t && t[0] && void 0 !== t[0].val ? s(t[0].val, e) : s(t, e); { - const n = d(e); + const n = d(t); if (!0 === n) { let n = ""; - if (Array.isArray(t)) { + if (Array.isArray(e)) { n += i.arrStart; - const o = t[0] - , u = e.length; + const o = e[0] + , u = t.length; if ("string" === typeof o) - for (let t = 0; t < u; t++) { - const r = s(e[t].val, o); + for (let e = 0; e < u; e++) { + const r = s(t[e].val, o); n = c(n, r) } else - for (let t = 0; t < u; t++) { - const i = a(e[t], o, r); + for (let e = 0; e < u; e++) { + const i = a(t[e], o, r); n = c(n, i) } n += i.arrayEnd } else { n += i.objStart; - const o = Object.keys(t); - Array.isArray(e) && (e = e[0]); + const o = Object.keys(e); + Array.isArray(t) && (t = t[0]); for (let i in o) { const s = o[i]; let u; - u = !r.ignoreAttributes && e.attrsMap && e.attrsMap[s] ? a(e.attrsMap[s], t[s], r) : s === r.textNodeName ? a(e.val, t[s], r) : a(e.child[s], t[s], r), + u = !r.ignoreAttributes && t.attrsMap && t.attrsMap[s] ? a(t.attrsMap[s], e[s], r) : s === r.textNodeName ? a(t.val, e[s], r) : a(t.child[s], e[s], r), n = c(n, u) } } @@ -24959,8 +25175,8 @@ return n } } - , s = function(e) { - switch (e) { + , s = function(t) { + switch (t) { case void 0: return i.missingPremitive; case null: @@ -24968,108 +25184,116 @@ case "": return i.emptyValue; default: - return e + return t } } - , c = function(e, t) { - return u(t[0]) || u(e[e.length - 1]) || (e += i.boundryChar), - e + t + , c = function(t, e) { + return u(e[0]) || u(t[t.length - 1]) || (t += i.boundryChar), + t + e } - , u = function(e) { - return -1 !== o.indexOf(e) + , u = function(t) { + return -1 !== o.indexOf(t) }; - function d(e) { - return void 0 === e ? i.missingChar : null === e ? i.nilChar : !(e.child && 0 === Object.keys(e.child).length && (!e.attrsMap || 0 === Object.keys(e.attrsMap).length)) || i.emptyChar + function d(t) { + return void 0 === t ? i.missingChar : null === t ? i.nilChar : !(t.child && 0 === Object.keys(t.child).length && (!t.attrsMap || 0 === Object.keys(t.attrsMap).length)) || i.emptyChar } const l = r("8a24") , f = r("90da").buildOptions - , h = function(e, t, r) { + , h = function(t, e, r) { return r = f(r, l.defaultOptions, l.props), - a(e, t, r) + a(t, e, r) }; - t.convert2nimn = h + e.convert2nimn = h }, - "80e0": function(e, t, r) { + "80e0": function(t, e, r) { var n = r("746f"); n("replace") }, - 8172: function(e, t, r) { + 8172: function(t, e, r) { var n = r("746f") , i = r("57b9"); n("toPrimitive"), i() }, - "81a2": function(e, t, r) { + "81a2": function(t, e, r) { "use strict"; - (function(e) { - r.d(t, "f", (function() { - return v - } - )), - r.d(t, "h", (function() { - return S - } - )), - r.d(t, "c", (function() { - return w - } - )), - r.d(t, "d", (function() { - return A - } - )), - r.d(t, "e", (function() { - return _ - } - )), - r.d(t, "g", (function() { + (function(t) { + r.d(e, "g", (function() { return I } )), - r.d(t, "b", (function() { + r.d(e, "i", (function() { return E } )), - r.d(t, "a", (function() { + r.d(e, "f", (function() { return T } + )), + r.d(e, "c", (function() { + return x + } + )), + r.d(e, "d", (function() { + return k + } + )), + r.d(e, "e", (function() { + return D + } + )), + r.d(e, "h", (function() { + return R + } + )), + r.d(e, "b", (function() { + return N + } + )), + r.d(e, "a", (function() { + return M + } )); var n = r("7efc") , i = r("3662") , o = r("67d3") , a = r("6b33") , s = r("0083") - , c = r("bc3a") - , u = r.n(c); - function d(e) { - return d = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(e) { - return typeof e + , c = r("14a5") + , u = r.n(c) + , d = r("9a6e") + , l = r.n(d) + , f = r("bc3a") + , h = r.n(f); + function p(t) { + return p = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(t) { + return typeof t } - : function(e) { - return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e + : function(t) { + return t && "function" == typeof Symbol && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t } , - d(e) + p(t) } - function l(e, t) { - var r = "undefined" !== typeof Symbol && e[Symbol.iterator] || e["@@iterator"]; + function m(t, e) { + var r = "undefined" !== typeof Symbol && t[Symbol.iterator] || t["@@iterator"]; if (!r) { - if (Array.isArray(e) || (r = f(e)) || t && e && "number" === typeof e.length) { - r && (e = r); + if (Array.isArray(t) || (r = b(t)) || e && t && "number" === typeof t.length) { + r && (t = r); var n = 0 , i = function() {}; return { s: i, n: function() { - return n >= e.length ? { + return n >= t.length ? { done: !0 } : { done: !1, - value: e[n++] + value: t[n++] } }, - e: function(e) { - throw e + e: function(t) { + throw t }, f: i } @@ -25079,16 +25303,16 @@ var o, a = !0, s = !1; return { s: function() { - r = r.call(e) + r = r.call(t) }, n: function() { - var e = r.next(); - return a = e.done, - e + var t = r.next(); + return a = t.done, + t }, - e: function(e) { + e: function(t) { s = !0, - o = e + o = t }, f: function() { try { @@ -25100,55 +25324,55 @@ } } } - function f(e, t) { - if (e) { - if ("string" === typeof e) - return h(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) ? h(e, t) : void 0 + function b(t, e) { + if (t) { + if ("string" === typeof t) + return g(t, e); + var r = Object.prototype.toString.call(t).slice(8, -1); + return "Object" === r && t.constructor && (r = t.constructor.name), + "Map" === r || "Set" === r ? Array.from(t) : "Arguments" === r || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r) ? g(t, e) : void 0 } } - function h(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]; + function g(t, e) { + (null == e || e > t.length) && (e = t.length); + for (var r = 0, n = new Array(e); r < e; r++) + n[r] = t[r]; return n } - function p() { + function y() { /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ - p = function() { - return e + y = function() { + return t } ; - var e = {} - , t = Object.prototype - , r = t.hasOwnProperty + var t = {} + , e = Object.prototype + , r = e.hasOwnProperty , n = "function" == typeof Symbol ? Symbol : {} , i = n.iterator || "@@iterator" , o = n.asyncIterator || "@@asyncIterator" , a = n.toStringTag || "@@toStringTag"; - function s(e, t, r) { - return Object.defineProperty(e, t, { + function s(t, e, r) { + return Object.defineProperty(t, e, { value: r, enumerable: !0, configurable: !0, writable: !0 }), - e[t] + t[e] } try { s({}, "") } catch (x) { - s = function(e, t, r) { - return e[t] = r + s = function(t, e, r) { + return t[e] = r } } - function c(e, t, r, n) { - var i = t && t.prototype instanceof f ? t : f + function c(t, e, r, n) { + var i = e && e.prototype instanceof l ? e : l , o = Object.create(i.prototype) , a = new I(n || []); - return o._invoke = function(e, t, r) { + return o._invoke = function(t, e, r) { var n = "suspendedStart"; return function(i, o) { if ("executing" === n) @@ -25164,7 +25388,7 @@ if (a) { var s = C(a, r); if (s) { - if (s === l) + if (s === d) continue; return s } @@ -25179,10 +25403,10 @@ } else "return" === r.method && r.abrupt("return", r.arg); n = "executing"; - var c = u(e, t, r); + var c = u(t, e, r); if ("normal" === c.type) { if (n = r.done ? "completed" : "suspendedYield", - c.arg === l) + c.arg === d) continue; return { value: c.arg, @@ -25194,14 +25418,14 @@ r.arg = c.arg) } } - }(e, r, a), + }(t, r, a), o } - function u(e, t, r) { + function u(t, e, r) { try { return { type: "normal", - arg: e.call(t, r) + arg: t.call(e, r) } } catch (x) { return { @@ -25210,135 +25434,135 @@ } } } - e.wrap = c; - var l = {}; + t.wrap = c; + var d = {}; + function l() {} function f() {} function h() {} - function m() {} - var b = {}; - s(b, i, (function() { + var m = {}; + s(m, i, (function() { return this } )); - var g = Object.getPrototypeOf - , y = g && g(g(E([]))); - y && y !== t && r.call(y, i) && (b = y); - var v = m.prototype = f.prototype = Object.create(b); - function S(e) { - ["next", "throw", "return"].forEach((function(t) { - s(e, t, (function(e) { - return this._invoke(t, e) + var b = Object.getPrototypeOf + , g = b && b(b(E([]))); + g && g !== e && r.call(g, i) && (m = g); + var v = h.prototype = l.prototype = Object.create(m); + function S(t) { + ["next", "throw", "return"].forEach((function(e) { + s(t, e, (function(t) { + return this._invoke(e, t) } )) } )) } - function w(e, t) { + function w(t, e) { function n(i, o, a, s) { - var c = u(e[i], e, o); + var c = u(t[i], t, o); if ("throw" !== c.type) { - var l = c.arg - , f = l.value; - return f && "object" == d(f) && r.call(f, "__await") ? t.resolve(f.__await).then((function(e) { - n("next", e, a, s) + var d = c.arg + , l = d.value; + return l && "object" == p(l) && r.call(l, "__await") ? e.resolve(l.__await).then((function(t) { + n("next", t, a, s) } - ), (function(e) { - n("throw", e, a, s) + ), (function(t) { + n("throw", t, a, s) } - )) : t.resolve(f).then((function(e) { - l.value = e, - a(l) + )) : e.resolve(l).then((function(t) { + d.value = t, + a(d) } - ), (function(e) { - return n("throw", e, a, s) + ), (function(t) { + return n("throw", t, a, s) } )) } s(c.arg) } var i; - this._invoke = function(e, r) { + this._invoke = function(t, r) { function o() { - return new t((function(t, i) { - n(e, r, t, i) + return new e((function(e, i) { + n(t, r, e, i) } )) } return i = i ? i.then(o, o) : o() } } - function C(e, t) { - var r = e.iterator[t.method]; + function C(t, e) { + var r = t.iterator[e.method]; if (void 0 === r) { - if (t.delegate = null, - "throw" === t.method) { - if (e.iterator.return && (t.method = "return", - t.arg = void 0, - C(e, t), - "throw" === t.method)) - return l; - t.method = "throw", - t.arg = new TypeError("The iterator does not provide a 'throw' method") + if (e.delegate = null, + "throw" === e.method) { + if (t.iterator.return && (e.method = "return", + e.arg = void 0, + C(t, e), + "throw" === e.method)) + return d; + e.method = "throw", + e.arg = new TypeError("The iterator does not provide a 'throw' method") } - return l + return d } - var n = u(r, e.iterator, t.arg); + var n = u(r, t.iterator, e.arg); if ("throw" === n.type) - return t.method = "throw", - t.arg = n.arg, - t.delegate = null, - l; + return e.method = "throw", + e.arg = n.arg, + e.delegate = null, + d; var i = n.arg; - return i ? i.done ? (t[e.resultName] = i.value, - t.next = e.nextLoc, - "return" !== t.method && (t.method = "next", - t.arg = void 0), - t.delegate = null, - l) : i : (t.method = "throw", - t.arg = new TypeError("iterator result is not an object"), - t.delegate = null, - l) + return i ? i.done ? (e[t.resultName] = i.value, + e.next = t.nextLoc, + "return" !== e.method && (e.method = "next", + e.arg = void 0), + e.delegate = null, + d) : i : (e.method = "throw", + e.arg = new TypeError("iterator result is not an object"), + e.delegate = null, + d) } - function A(e) { - var t = { - tryLoc: e[0] + function _(t) { + var e = { + tryLoc: t[0] }; - 1 in e && (t.catchLoc = e[1]), - 2 in e && (t.finallyLoc = e[2], - t.afterLoc = e[3]), - this.tryEntries.push(t) + 1 in t && (e.catchLoc = t[1]), + 2 in t && (e.finallyLoc = t[2], + e.afterLoc = t[3]), + this.tryEntries.push(e) } - function _(e) { - var t = e.completion || {}; - t.type = "normal", - delete t.arg, - e.completion = t + function A(t) { + var e = t.completion || {}; + e.type = "normal", + delete e.arg, + t.completion = e } - function I(e) { + function I(t) { this.tryEntries = [{ tryLoc: "root" }], - e.forEach(A, this), + t.forEach(_, this), this.reset(!0) } - function E(e) { - if (e) { - var t = e[i]; - if (t) - return t.call(e); - if ("function" == typeof e.next) - return e; - if (!isNaN(e.length)) { + function E(t) { + if (t) { + var e = t[i]; + if (e) + return e.call(t); + if ("function" == typeof t.next) + return t; + if (!isNaN(t.length)) { var n = -1 - , o = 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 + , o = function e() { + for (; ++n < t.length; ) + if (r.call(t, n)) + return e.value = t[n], + e.done = !1, + e; + return e.value = void 0, + e.done = !0, + e }; return o.next = o } @@ -25353,25 +25577,25 @@ done: !0 } } - return h.prototype = m, - s(v, "constructor", m), - s(m, "constructor", h), - h.displayName = s(m, a, "GeneratorFunction"), - e.isGeneratorFunction = function(e) { - var t = "function" == typeof e && e.constructor; - return !!t && (t === h || "GeneratorFunction" === (t.displayName || t.name)) + return f.prototype = h, + s(v, "constructor", h), + s(h, "constructor", f), + f.displayName = s(h, a, "GeneratorFunction"), + t.isGeneratorFunction = function(t) { + var e = "function" == typeof t && t.constructor; + return !!e && (e === f || "GeneratorFunction" === (e.displayName || e.name)) } , - e.mark = function(e) { - return Object.setPrototypeOf ? Object.setPrototypeOf(e, m) : (e.__proto__ = m, - s(e, a, "GeneratorFunction")), - e.prototype = Object.create(v), - e + t.mark = function(t) { + return Object.setPrototypeOf ? Object.setPrototypeOf(t, h) : (t.__proto__ = h, + s(t, a, "GeneratorFunction")), + t.prototype = Object.create(v), + t } , - e.awrap = function(e) { + t.awrap = function(t) { return { - __await: e + __await: t } } , @@ -25380,12 +25604,12 @@ return this } )), - e.AsyncIterator = w, - e.async = function(t, r, n, i, o) { + t.AsyncIterator = w, + t.async = function(e, 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() + var a = new w(c(e, r, n, i),o); + return t.isGeneratorFunction(r) ? a : a.next().then((function(t) { + return t.done ? t.value : a.next() } )) } @@ -25400,15 +25624,15 @@ return "[object Generator]" } )), - e.keys = function(e) { - var t = []; - for (var r in e) - t.push(r); - return t.reverse(), + t.keys = function(t) { + var e = []; + for (var r in t) + e.push(r); + return e.reverse(), function r() { - for (; t.length; ) { - var n = t.pop(); - if (n in e) + for (; e.length; ) { + var n = e.pop(); + if (n in t) return r.value = n, r.done = !1, r @@ -25418,10 +25642,10 @@ } } , - e.values = E, + t.values = E, I.prototype = { constructor: I, - reset: function(e) { + reset: function(t) { if (this.prev = 0, this.next = 0, this.sent = this._sent = void 0, @@ -25429,28 +25653,28 @@ this.delegate = null, this.method = "next", this.arg = void 0, - this.tryEntries.forEach(_), - !e) - for (var t in this) - "t" === t.charAt(0) && r.call(this, t) && !isNaN(+t.slice(1)) && (this[t] = void 0) + this.tryEntries.forEach(A), + !t) + for (var e in this) + "t" === e.charAt(0) && r.call(this, e) && !isNaN(+e.slice(1)) && (this[e] = void 0) }, stop: function() { this.done = !0; - var e = this.tryEntries[0].completion; - if ("throw" === e.type) - throw e.arg; + var t = this.tryEntries[0].completion; + if ("throw" === t.type) + throw t.arg; return this.rval }, - dispatchException: function(e) { + dispatchException: function(t) { if (this.done) - throw e; - var t = this; + throw t; + var e = this; function n(r, n) { return a.type = "throw", - a.arg = e, - t.next = r, - n && (t.method = "next", - t.arg = void 0), + a.arg = t, + e.next = r, + n && (e.method = "next", + e.arg = void 0), !!n } for (var i = this.tryEntries.length - 1; i >= 0; --i) { @@ -25478,7 +25702,7 @@ } } }, - abrupt: function(e, t) { + abrupt: function(t, e) { 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) { @@ -25486,261 +25710,299 @@ break } } - o && ("break" === e || "continue" === e) && o.tryLoc <= t && t <= o.finallyLoc && (o = null); + o && ("break" === t || "continue" === t) && o.tryLoc <= e && e <= o.finallyLoc && (o = null); var a = o ? o.completion : {}; - return a.type = e, - a.arg = t, + return a.type = t, + a.arg = e, o ? (this.method = "next", this.next = o.finallyLoc, - l) : this.complete(a) + d) : 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, + complete: function(t, e) { + if ("throw" === t.type) + throw t.arg; + return "break" === t.type || "continue" === t.type ? this.next = t.arg : "return" === t.type ? (this.rval = this.arg = t.arg, this.method = "return", - this.next = "end") : "normal" === e.type && t && (this.next = t), - l + this.next = "end") : "normal" === t.type && e && (this.next = e), + d }, - finish: function(e) { - for (var t = this.tryEntries.length - 1; t >= 0; --t) { - var r = this.tryEntries[t]; - if (r.finallyLoc === e) + finish: function(t) { + for (var e = this.tryEntries.length - 1; e >= 0; --e) { + var r = this.tryEntries[e]; + if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), - _(r), - l + A(r), + d } }, - catch: function(e) { - for (var t = this.tryEntries.length - 1; t >= 0; --t) { - var r = this.tryEntries[t]; - if (r.tryLoc === e) { + catch: function(t) { + for (var e = this.tryEntries.length - 1; e >= 0; --e) { + var r = this.tryEntries[e]; + if (r.tryLoc === t) { var n = r.completion; if ("throw" === n.type) { var i = n.arg; - _(r) + A(r) } return i } } throw new Error("illegal catch attempt") }, - delegateYield: function(e, t, r) { + delegateYield: function(t, e, r) { return this.delegate = { - iterator: E(e), - resultName: t, + iterator: E(t), + resultName: e, nextLoc: r }, "next" === this.method && (this.arg = void 0), - l + d } }, - e + t } - function m(e, t, r, n, i, o, a) { + function v(t, e, r, n, i, o, a) { try { - var s = e[o](a) + var s = t[o](a) , c = s.value } catch (u) { return void r(u) } - s.done ? t(c) : Promise.resolve(c).then(n, i) + s.done ? e(c) : Promise.resolve(c).then(n, i) } - function b(e) { + function S(t) { return function() { - var t = this + var e = this , r = arguments; return new Promise((function(n, i) { - var o = e.apply(t, r); - function a(e) { - m(o, n, i, a, s, "next", e) + var o = t.apply(e, r); + function a(t) { + v(o, n, i, a, s, "next", t) } - function s(e) { - m(o, n, i, a, s, "throw", e) + function s(t) { + v(o, n, i, a, s, "throw", t) } a(void 0) } )) } } - u.a.defaults.timeout = 3e4; - var g = !1 - , y = "" - , v = function(e) { - g = "Server" == e + h.a.defaults.timeout = 3e4; + var w = "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAwImLbqWu58LE+LAgvR3Qwvizexn1TDfXldpBiq/ri5aghzOBnCgcaHIgdZc6RoUtiPl5CWtteCd5dLikQfxSJMBxhK2+gvhW4o+ImPbPq9o/3KGY4XdgsPOc12mIgZMQfLzRxkHJXk80v1tKBe2FYMAoUeqxbqdNR/aHkwS1EKOixCp2W8DwUKyQm2JXRjKT5KGJBhzOn9u8oETn2wrcLRmQmb/NXlENKrZ8Lv3A9wFZpFBRUUYkVLuOo/Qmc97uR4NHGQaeUd9aSaa+f2/30LklT/64F6vDB3RAqF4ve2vmoHxE7d5L0E993Rq/TB0HxtuDvxb2slRoGQAe9mvK1QIDAQAB" + , C = "" + , _ = !1 + , A = "" + , I = function(t) { + _ = "Server" == t } - , S = function(e) { - y = e + , E = function(t) { + A = t } - , w = function(e) { - e.ofd instanceof File || e.ofd instanceof ArrayBuffer ? C(e) : s["getBinaryContent"](e.ofd, (function(t, r) { - t ? e.fail && e.fail(t) : (e.ofd = r, - C(e)) + , T = function(t) { + C = t + } + , x = function(t) { + t.ofd instanceof File || t.ofd instanceof ArrayBuffer ? P(t) : s["getBinaryContent"](t.ofd, (function(e, r) { + e ? t.fail && t.fail(e) : (t.ofd = r, + P(t)) } )) } - , C = function(t) { - if (g && "" != y) { + , P = function(e) { + if (_ && "" != A) { var r = new FormData; - r.append("file", t.ofd), + r.append("file", e.ofd), r.append("zoomScale", Object(a["h"])()); - var n = x(new Date, "yyyyMMddhhmmssS") + "-" + Math.round(1e4 * Math.random()); + var n = B(new Date, "yyyyMMddhhmmssS") + "-" + Math.round(1e4 * Math.random()); r.append("accessId", n); - var s = x(new Date, "yyyy-MM-dd hh:mm:ss"); + var s = B(new Date, "yyyy-MM-dd hh:mm:ss"); r.append("reqTime", s), - u.a.post(y + "getPageSvgInfo", r, { + h.a.post(A + "getPageSvgInfo", r, { "Content-type": "multipart/form-data" - }).then((function(e) { - if (console.log(e), - t.success) { - var r = e.data.data; - r.pages = e.data.data.listPageSize, - r.file = t.ofd, - t.success(r) + }).then((function(t) { + if (console.log(t), + e.success) { + var r = t.data.data; + r.pages = t.data.data.listPageSize, + r.file = e.ofd, + e.success(r) } } - )).catch((function(e) { - console.log(e), - t.fail && t.fail(e) + )).catch((function(t) { + console.log(t), + e.fail && e.fail(t) } )) } else - e.xmlParseFlag = 0, - i["a"].call(this, b(p().mark((function e() { - return p().wrap((function(e) { + t.xmlParseFlag = 0, + i["a"].call(this, S(y().mark((function t() { + return y().wrap((function(t) { while (1) - switch (e.prev = e.next) { + switch (t.prev = t.next) { case 0: - return e.next = 2, - Object(o["d"])(t.ofd); + return t.next = 2, + Object(o["d"])(e.ofd); case 2: - return e.abrupt("return", e.sent); + return t.abrupt("return", t.sent); case 3: case "end": - return e.stop() + return t.stop() } } - ), e) + ), t) } - ))), o["b"], o["c"]).then((function(e) { - t.success && (e[0].pageCount = e[0].pages.length, - t.success(e[0])) + ))), o["b"], o["c"]).then((function(t) { + e.success && (t[0].pageCount = t[0].pages.length, + e.success(t[0])) } - )).catch((function(e) { - console.log(e), - t.fail && t.fail(e) + )).catch((function(t) { + console.log(t), + e.fail && e.fail(t) } )) } - , A = function(e, t) { + , k = function(t, e) { var r = []; - if (!e) + if (!t) return r; - if (g && "" != y) { - var i, o = 0, s = l(e.pages); + var i = ""; + i = self.location.href; + var o = ""; + o = self.location.host; + var s = 4; + if (s += 6, + i.startsWith("file://") || o.startsWith("localhost") || o.startsWith("127.0.0.1")) + ; + else if (C) { + var c = new l.a; + c.setPublicKey(w); + var u = c.decrypt(C, !1); + u ? -1 == o.indexOf(u) ? O() : s = 1e3 : O() + } else + O(); + if (_ && "" != A) { + var d, f = 0, h = m(t.pages); try { - for (s.s(); !(i = s.n()).done; ) { - var c = i.value - , u = Object(a["e"])(c[0]) - , d = Object(a["e"])(c[1]) - , f = document.createElement("div"); - f.id = o, - f.setAttribute("style", "margin-top: 15px; position: relative; width: ".concat(u, "px; height: ").concat(d, "px; background: white; box-shadow: 0px 0px 10px 3PX grey;")), - f.className = "page-break", - f.innerHTML = e.listPageSvg[o], - r.push(f), - o++ + for (h.s(); !(d = h.n()).done; ) { + var p = d.value + , b = Object(a["e"])(p[0]) + , g = Object(a["e"])(p[1]) + , y = document.createElement("div"); + y.id = f, + y.setAttribute("style", "margin-top: 15px; position: relative; width: ".concat(b, "px; height: ").concat(g, "px; background: white; box-shadow: 0px 0px 10px 3PX grey;")), + y.className = "page-break", + y.innerHTML = t.listPageSvg[f], + r.push(y), + f++ } - } catch (C) { - s.e(C) + } catch (P) { + h.e(P) } finally { - s.f() + h.f() } } else { - var h, p = e.pages.length, m = l(e.pages); + var v, S = m(t.pages); try { - for (m.s(); !(h = m.n()).done; ) { - var b = h.value - , v = Object(n["a"])(t, e.document, b) - , S = Object.keys(b)[0] - , w = document.createElement("div"); - if (w.id = S, - w.setAttribute("style", "margin-top: 15px; position: relative; width: ".concat(v.w, "px; height: ").concat(v.h, "px; background: white; box-shadow: 0px 0px 10px 3PX grey;")), - w.className = "page-break", - Object(n["c"])(w, b, e.tpls, e.fontResObj, e.drawParamResObj, e.multiMediaResObj, e.compositeGraphicUnits), - r.push(w), - p-- <= 1) + for (S.s(); !(v = S.n()).done; ) { + var I = v.value + , E = Object(n["a"])(e, t.document, I) + , T = Object.keys(I)[0] + , x = document.createElement("div"); + if (x.id = T, + x.setAttribute("style", "margin-top: 15px; position: relative; width: ".concat(E.w, "px; height: ").concat(E.h, "px; background: white; box-shadow: 0px 0px 10px 3PX grey;")), + x.className = "page-break", + Object(n["c"])(x, I, t.tpls, t.fontResObj, t.drawParamResObj, t.multiMediaResObj, t.compositeGraphicUnits), + r.push(x), + s-- <= 1) break } - } catch (C) { - m.e(C) + } catch (P) { + S.e(P) } finally { - m.f() + S.f() } } return r } - , _ = function(e) { - var t = []; - if (!e) - return t; - if (!g || "" == y) { - var r, i = e.pages.length, o = l(e.pages); + , D = function(t) { + var e = []; + if (!t) + return e; + var r = ""; + r = self.location.href; + var i = ""; + i = self.location.host; + var o = 4; + if (o += 6, + r.startsWith("file://") || i.startsWith("localhost") || i.startsWith("127.0.0.1")) + ; + else if (C) { + var a = new l.a; + a.setPublicKey(w); + var s = a.decrypt(C, !1); + s ? -1 == i.indexOf(s) ? O() : o = 1e3 : O() + } else + O(); + if (!_ || "" == A) { + var c, u = m(t.pages), o = t.pages.length; try { - for (o.s(); !(r = o.n()).done; ) { - var a = r.value - , s = Object(n["b"])(e.document, a) - , c = Object.keys(a)[0] - , u = document.createElement("div"); - if (u.id = c, - u.setAttribute("style", "overflow: hidden; margin-top: 15px; position: relative; width: ".concat(s.w, "px; height: ").concat(s.h, "px; background: white; box-shadow: 0px 0px 10px 3PX grey;")), - Object(n["c"])(u, a, e.tpls, e.fontResObj, e.drawParamResObj, e.multiMediaResObj, e.compositeGraphicUnits), - t.push(u), - i-- <= 1) + for (u.s(); !(c = u.n()).done; ) { + var d = c.value + , f = Object(n["b"])(t.document, d) + , h = Object.keys(d)[0] + , p = document.createElement("div"); + if (p.id = h, + p.setAttribute("style", "overflow: hidden; margin-top: 15px; position: relative; width: ".concat(f.w, "px; height: ").concat(f.h, "px; background: white; box-shadow: 0px 0px 10px 3PX grey;")), + Object(n["c"])(p, d, t.tpls, t.fontResObj, t.drawParamResObj, t.multiMediaResObj, t.compositeGraphicUnits), + e.push(p), + o-- <= 1) break } - } catch (d) { - o.e(d) + } catch (b) { + u.e(b) } finally { - o.f() + u.f() } - return t + return e } + }; + function O() { + } - , I = function(e) { - Object(a["n"])(e) + var R = function(t) { + Object(a["n"])(t) } - , E = function() { + , N = function() { return Object(a["h"])() } - , T = function() { + , M = function() { return Object(o["getDocProperties"])() }; - function x() { - var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : Date.now() - , t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : "yyyy-MM-dd hh:mm:ss" + function B() { + var t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : Date.now() + , e = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : "yyyy-MM-dd hh:mm:ss" , r = { - "M+": e.getMonth() + 1, - "d+": e.getDate(), - "h+": e.getHours(), - "m+": e.getMinutes(), - "s+": e.getSeconds(), - "q+": Math.floor((e.getMonth() + 3) / 3), - S: e.getMilliseconds() + "M+": t.getMonth() + 1, + "d+": t.getDate(), + "h+": t.getHours(), + "m+": t.getMinutes(), + "s+": t.getSeconds(), + "q+": Math.floor((t.getMonth() + 3) / 3), + S: t.getMilliseconds() }; - for (var n in /(y+)/.test(t) && (t = t.replace(RegExp.$1, (e.getFullYear() + "").substr(4 - RegExp.$1.length))), + for (var n in /(y+)/.test(e) && (e = e.replace(RegExp.$1, (t.getFullYear() + "").substr(4 - RegExp.$1.length))), r) - new RegExp("(" + n + ")").test(t) && (t = t.replace(RegExp.$1, 1 == RegExp.$1.length ? r[n] : ("00" + r[n]).substr(("" + r[n]).length))); - return t + new RegExp("(" + n + ")").test(e) && (e = e.replace(RegExp.$1, 1 == RegExp.$1.length ? r[n] : ("00" + r[n]).substr(("" + r[n]).length))); + return e } } ).call(this, r("c8ba")) }, - "81b8": function(e, t, r) { + "81b8": function(t, e, r) { var n = r("746f"); n("unscopables") }, - "820e": function(e, t, r) { + "820e": function(t, e, r) { "use strict"; var n = r("23e7") , i = r("c65b") @@ -25752,33 +26014,33 @@ target: "Promise", stat: !0 }, { - allSettled: function(e) { - var t = this - , r = a.f(t) + allSettled: function(t) { + var e = this + , r = a.f(e) , n = r.resolve , u = r.reject , d = s((function() { - var r = o(t.resolve) + var r = o(e.resolve) , a = [] , s = 0 , u = 1; - c(e, (function(e) { + c(t, (function(t) { var o = s++ , c = !1; u++, - i(r, t, e).then((function(e) { + i(r, e, t).then((function(t) { c || (c = !0, a[o] = { status: "fulfilled", - value: e + value: t }, --u || n(a)) } - ), (function(e) { + ), (function(t) { c || (c = !0, a[o] = { status: "rejected", - reason: e + reason: t }, --u || n(a)) } @@ -25793,20 +26055,20 @@ } }) }, - "825a": function(e, t, r) { + "825a": function(t, e, r) { var n = r("da84") , i = r("861d") , o = n.String , a = n.TypeError; - e.exports = function(e) { - if (i(e)) - return e; - throw a(o(e) + " is not an object") + t.exports = function(t) { + if (i(t)) + return t; + throw a(o(t) + " is not an object") } }, - "83ab": function(e, t, r) { + "83ab": function(t, e, r) { var n = r("d039"); - e.exports = !n((function() { + t.exports = !n((function() { return 7 != Object.defineProperty({}, 1, { get: function() { return 7 @@ -25815,25 +26077,25 @@ } )) }, - "83b9": function(e, t, r) { + "83b9": function(t, e, r) { "use strict"; var n = r("d925") , i = r("e683"); - e.exports = function(e, t) { - return e && !n(t) ? i(e, t) : t + t.exports = function(t, e) { + return t && !n(e) ? i(t, e) : e } }, - 8418: function(e, t, r) { + 8418: function(t, e, 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 + t.exports = function(t, e, r) { + var a = n(e); + a in t ? i.f(t, a, o(0, r)) : t[a] = r } }, - "843c": function(e, t, r) { + "843c": function(t, e, r) { "use strict"; var n = r("23e7") , i = r("0ccb").end @@ -25843,144 +26105,144 @@ proto: !0, forced: o }, { - padEnd: function(e) { - return i(this, e, arguments.length > 1 ? arguments[1] : void 0) + padEnd: function(t) { + return i(this, t, arguments.length > 1 ? arguments[1] : void 0) } }) }, - "861d": function(e, t, r) { + "861d": function(t, e, r) { var n = r("1626"); - e.exports = function(e) { - return "object" == typeof e ? null !== e : n(e) + t.exports = function(t) { + return "object" == typeof t ? null !== t : n(t) } }, - "87c2": function(e, t, r) { - (function(e, r) { - r(t) + "87c2": function(t, e, r) { + (function(t, r) { + r(e) } - )(0, (function(e) { + )(0, (function(t) { "use strict"; - var t = "function" === typeof Symbol && "symbol" === typeof Symbol.iterator ? Symbol : function(e) { - return "Symbol(" + e + ")" + var e = "function" === typeof Symbol && "symbol" === typeof Symbol.iterator ? Symbol : function(t) { + return "Symbol(" + t + ")" } ; function r() {} - var n = Number.isNaN || function(e) { - return e !== e + var n = Number.isNaN || function(t) { + return t !== t } , i = r; - function o(e) { - return "object" === typeof e && null !== e || "function" === typeof e + function o(t) { + return "object" === typeof t && null !== t || "function" === typeof t } - function a(e) { - return e.slice() + function a(t) { + return t.slice() } - function s(e, t, r, n, i) { - new Uint8Array(e).set(new Uint8Array(r,n,i), t) + function s(t, e, r, n, i) { + new Uint8Array(t).set(new Uint8Array(r,n,i), e) } - function c(e) { - return !1 !== u(e) && e !== 1 / 0 + function c(t) { + return !1 !== u(t) && t !== 1 / 0 } - function u(e) { - return "number" === typeof e && (!n(e) && !(e < 0)) + function u(t) { + return "number" === typeof t && (!n(t) && !(t < 0)) } - function d(e, t, r) { - if ("function" !== typeof e) + function d(t, e, r) { + if ("function" !== typeof t) throw new TypeError("Argument is not a function"); - return Function.prototype.apply.call(e, t, r) + return Function.prototype.apply.call(t, e, r) } - function l(e, t, r, n) { - var i = e[t]; + function l(t, e, r, n) { + var i = t[e]; if (void 0 !== i) { if ("function" !== typeof i) throw new TypeError(i + " is not a method"); switch (r) { case 0: return function() { - return h(i, e, n) + return h(i, t, n) } ; case 1: - return function(t) { - var r = [t].concat(n); - return h(i, e, r) + return function(e) { + var r = [e].concat(n); + return h(i, t, r) } } } return function() { - return A(void 0) + return _(void 0) } } - function f(e, t, r) { - var n = e[t]; + function f(t, e, r) { + var n = t[e]; if (void 0 !== n) - return d(n, e, r) + return d(n, t, r) } - function h(e, t, r) { + function h(t, e, r) { try { - return A(d(e, t, r)) + return _(d(t, e, r)) } catch (n) { - return _(n) + return A(n) } } - function p(e) { - return e + function p(t) { + return t } - function m(e) { + function m(t) { return !1 } - function b(e) { - if (e = Number(e), - n(e) || e < 0) + function b(t) { + if (t = Number(t), + n(t) || t < 0) throw new RangeError("highWaterMark property of a queuing strategy must be non-negative and non-NaN"); - return e + return t } - function g(e) { - if (void 0 === e) + function g(t) { + if (void 0 === t) return function() { return 1 } ; - if ("function" !== typeof e) + if ("function" !== typeof t) throw new TypeError("size property of a queuing strategy must be a function"); - return function(t) { - return e(t) + return function(e) { + return t(e) } } var y = Promise , v = Promise.prototype.then , S = Promise.resolve.bind(y) , w = Promise.reject.bind(y); - function C(e) { - return new y(e) + function C(t) { + return new y(t) } - function A(e) { - return S(e) + function _(t) { + return S(t) } - function _(e) { - return w(e) + function A(t) { + return w(t) } - function I(e, t, r) { - return v.call(e, t, r) + function I(t, e, r) { + return v.call(t, e, r) } - function E(e, t, r) { - I(I(e, t, r), void 0, i) + function E(t, e, r) { + I(I(t, e, r), void 0, i) } - function T(e, t) { - E(e, t) + function T(t, e) { + E(t, e) } - function x(e, t) { - E(e, void 0, t) + function x(t, e) { + E(t, void 0, e) } - function P(e, t, r) { - return I(e, t, r) + function P(t, e, r) { + return I(t, e, r) } - function k(e) { - I(e, void 0, i) + function k(t) { + I(t, void 0, i) } var D = 16384 , O = function() { - function e() { + function t() { this._cursor = 0, this._size = 0, this._front = { @@ -25991,178 +26253,178 @@ this._cursor = 0, this._size = 0 } - return Object.defineProperty(e.prototype, "length", { + return Object.defineProperty(t.prototype, "length", { get: function() { return this._size }, enumerable: !0, configurable: !0 }), - e.prototype.push = function(e) { - var t = this._back - , r = t; - t._elements.length === D - 1 && (r = { + t.prototype.push = function(t) { + var e = this._back + , r = e; + e._elements.length === D - 1 && (r = { _elements: [], _next: void 0 }), - t._elements.push(e), - r !== t && (this._back = r, - t._next = r), + e._elements.push(t), + r !== e && (this._back = r, + e._next = r), ++this._size } , - e.prototype.shift = function() { - var e = this._front - , t = e + t.prototype.shift = function() { + var t = this._front + , e = t , r = this._cursor , n = r + 1 - , i = e._elements + , i = t._elements , o = i[r]; - return n === D && (t = e._next, + return n === D && (e = t._next, n = 0), --this._size, this._cursor = n, - e !== t && (this._front = t), + t !== e && (this._front = e), i[r] = void 0, o } , - e.prototype.forEach = function(e) { - var t = this._cursor + t.prototype.forEach = function(t) { + var e = this._cursor , r = this._front , n = r._elements; - while (t !== n.length || void 0 !== r._next) { - if (t === n.length && (r = r._next, + while (e !== n.length || void 0 !== r._next) { + if (e === n.length && (r = r._next, n = r._elements, - t = 0, + e = 0, 0 === n.length)) break; - e(n[t]), - ++t + t(n[e]), + ++e } } , - e.prototype.peek = function() { - var e = this._front - , t = this._cursor; - return e._elements[t] + t.prototype.peek = function() { + var t = this._front + , e = this._cursor; + return t._elements[e] } , - e + t }(); - function R(e, t, r) { + function R(t, e, r) { var n = null; !0 === r && (n = Object.prototype); var i = Object.create(n); - return i.value = e, - i.done = t, + return i.value = t, + i.done = e, i } - function M(e, t) { - e._forAuthorCode = !0, - e._ownerReadableStream = t, - t._reader = e, - "readable" === t._state ? j(e) : "closed" === t._state ? U(e) : K(e, t._storedError) + function N(t, e) { + t._forAuthorCode = !0, + t._ownerReadableStream = e, + e._reader = t, + "readable" === e._state ? j(t) : "closed" === e._state ? L(t) : K(t, e._storedError) } - function N(e, t) { - var r = e._ownerReadableStream; - return Br(r, t) + function M(t, e) { + var r = t._ownerReadableStream; + return Br(r, e) } - function B(e) { - "readable" === e._ownerReadableStream._state ? L(e, new TypeError("Reader was released and can no longer be used to monitor the stream's closedness")) : X(e, new TypeError("Reader was released and can no longer be used to monitor the stream's closedness")), - e._ownerReadableStream._reader = void 0, - e._ownerReadableStream = void 0 + function B(t) { + "readable" === t._ownerReadableStream._state ? U(t, new TypeError("Reader was released and can no longer be used to monitor the stream's closedness")) : X(t, new TypeError("Reader was released and can no longer be used to monitor the stream's closedness")), + t._ownerReadableStream._reader = void 0, + t._ownerReadableStream = void 0 } - function F(e) { - return new TypeError("Cannot " + e + " a stream using a released reader") + function F(t) { + return new TypeError("Cannot " + t + " a stream using a released reader") } - function j(e) { - e._closedPromise = C((function(t, r) { - e._closedPromise_resolve = t, - e._closedPromise_reject = r + function j(t) { + t._closedPromise = C((function(e, r) { + t._closedPromise_resolve = e, + t._closedPromise_reject = r } )) } - function K(e, t) { - j(e), - L(e, t) + function K(t, e) { + j(t), + U(t, e) } - function U(e) { - j(e), - z(e) + function L(t) { + j(t), + z(t) } - function L(e, t) { - k(e._closedPromise), - e._closedPromise_reject(t), - e._closedPromise_resolve = void 0, - e._closedPromise_reject = void 0 + function U(t, e) { + k(t._closedPromise), + t._closedPromise_reject(e), + t._closedPromise_resolve = void 0, + t._closedPromise_reject = void 0 } - function X(e, t) { - K(e, t) + function X(t, e) { + K(t, e) } - function z(e) { - e._closedPromise_resolve(void 0), - e._closedPromise_resolve = void 0, - e._closedPromise_reject = void 0 + function z(t) { + t._closedPromise_resolve(void 0), + t._closedPromise_resolve = void 0, + t._closedPromise_reject = void 0 } - var G = t("[[CancelSteps]]") - , W = t("[[PullSteps]]"); - function q(e, t) { - void 0 === t && (t = !1); - var r = new $(e); - return r._forAuthorCode = t, + var G = e("[[CancelSteps]]") + , W = e("[[PullSteps]]"); + function q(t, e) { + void 0 === e && (e = !1); + var r = new $(t); + return r._forAuthorCode = e, r } - function H(e) { - var t = C((function(t, r) { + function V(t) { + var e = C((function(e, r) { var n = { - _resolve: t, + _resolve: e, _reject: r }; - e._reader._readRequests.push(n) + t._reader._readRequests.push(n) } )); - return t + return e } - function V(e, t, r) { - var n = e._reader + function H(t, e, r) { + var n = t._reader , i = n._readRequests.shift(); - i._resolve(R(t, r, n._forAuthorCode)) + i._resolve(R(e, r, n._forAuthorCode)) } - function Y(e) { - return e._reader._readRequests.length + function Y(t) { + return t._reader._readRequests.length } - function Q(e) { - var t = e._reader; - return void 0 !== t && !!ee(t) + function Z(t) { + var e = t._reader; + return void 0 !== e && !!tt(e) } - var Z, J, $ = function() { - function e(e) { - if (!1 === Mr(e)) + var Q, J, $ = function() { + function t(t) { + if (!1 === Nr(t)) throw new TypeError("ReadableStreamDefaultReader can only be constructed with a ReadableStream instance"); - if (!0 === Nr(e)) + if (!0 === Mr(t)) throw new TypeError("This stream has already been locked for exclusive reading by another reader"); - M(this, e), + N(this, t), this._readRequests = new O } - return Object.defineProperty(e.prototype, "closed", { + return Object.defineProperty(t.prototype, "closed", { get: function() { - return ee(this) ? this._closedPromise : _(re("closed")) + return tt(this) ? this._closedPromise : A(rt("closed")) }, enumerable: !0, configurable: !0 }), - e.prototype.cancel = function(e) { - return ee(this) ? void 0 === this._ownerReadableStream ? _(F("cancel")) : N(this, e) : _(re("cancel")) + t.prototype.cancel = function(t) { + return tt(this) ? void 0 === this._ownerReadableStream ? A(F("cancel")) : M(this, t) : A(rt("cancel")) } , - e.prototype.read = function() { - return ee(this) ? void 0 === this._ownerReadableStream ? _(F("read from")) : te(this) : _(re("read")) + t.prototype.read = function() { + return tt(this) ? void 0 === this._ownerReadableStream ? A(F("read from")) : et(this) : A(rt("read")) } , - e.prototype.releaseLock = function() { - if (!ee(this)) - throw re("releaseLock"); + t.prototype.releaseLock = function() { + if (!tt(this)) + throw rt("releaseLock"); if (void 0 !== this._ownerReadableStream) { if (this._readRequests.length > 0) throw new TypeError("Tried to release a reader lock when that reader has pending read() calls un-settled"); @@ -26170,740 +26432,740 @@ } } , - e + t }(); - function ee(e) { - return !!o(e) && !!Object.prototype.hasOwnProperty.call(e, "_readRequests") + function tt(t) { + return !!o(t) && !!Object.prototype.hasOwnProperty.call(t, "_readRequests") } - function te(e) { - var t = e._ownerReadableStream; - return t._disturbed = !0, - "closed" === t._state ? A(R(void 0, !0, e._forAuthorCode)) : "errored" === t._state ? _(t._storedError) : t._readableStreamController[W]() + function et(t) { + var e = t._ownerReadableStream; + return e._disturbed = !0, + "closed" === e._state ? _(R(void 0, !0, t._forAuthorCode)) : "errored" === e._state ? A(e._storedError) : e._readableStreamController[W]() } - function re(e) { - return new TypeError("ReadableStreamDefaultReader.prototype." + e + " can only be used on a ReadableStreamDefaultReader") + function rt(t) { + return new TypeError("ReadableStreamDefaultReader.prototype." + t + " can only be used on a ReadableStreamDefaultReader") } - "symbol" === typeof t.asyncIterator && (Z = {}, - Z[t.asyncIterator] = function() { + "symbol" === typeof e.asyncIterator && (Q = {}, + Q[e.asyncIterator] = function() { return this } , - J = Z, - Object.defineProperty(J, t.asyncIterator, { + J = Q, + Object.defineProperty(J, e.asyncIterator, { enumerable: !1 })); - var ne = { + var nt = { next: function() { - if (!1 === oe(this)) - return _(ae("next")); - var e = this._asyncIteratorReader; - return void 0 === e._ownerReadableStream ? _(F("iterate")) : P(te(e), (function(t) { - var r = t.done; - r && B(e); - var n = t.value; + if (!1 === ot(this)) + return A(at("next")); + var t = this._asyncIteratorReader; + return void 0 === t._ownerReadableStream ? A(F("iterate")) : P(et(t), (function(e) { + var r = e.done; + r && B(t); + var n = e.value; return R(n, r, !0) } )) }, - return: function(e) { - if (!1 === oe(this)) - return _(ae("next")); - var t = this._asyncIteratorReader; - if (void 0 === t._ownerReadableStream) - return _(F("finish iterating")); - if (t._readRequests.length > 0) - return _(new TypeError("Tried to release a reader lock when that reader has pending read() calls un-settled")); + return: function(t) { + if (!1 === ot(this)) + return A(at("next")); + var e = this._asyncIteratorReader; + if (void 0 === e._ownerReadableStream) + return A(F("finish iterating")); + if (e._readRequests.length > 0) + return A(new TypeError("Tried to release a reader lock when that reader has pending read() calls un-settled")); if (!1 === this._preventCancel) { - var r = N(t, e); - return B(t), + var r = M(e, t); + return B(e), P(r, (function() { - return R(e, !0, !0) + return R(t, !0, !0) } )) } - return B(t), - A(R(e, !0, !0)) + return B(e), + _(R(t, !0, !0)) } }; - function ie(e, t) { - void 0 === t && (t = !1); - var r = q(e) - , n = Object.create(ne); + function it(t, e) { + void 0 === e && (e = !1); + var r = q(t) + , n = Object.create(nt); return n._asyncIteratorReader = r, - n._preventCancel = Boolean(t), + n._preventCancel = Boolean(e), n } - function oe(e) { - return !!o(e) && !!Object.prototype.hasOwnProperty.call(e, "_asyncIteratorReader") + function ot(t) { + return !!o(t) && !!Object.prototype.hasOwnProperty.call(t, "_asyncIteratorReader") } - function ae(e) { - return new TypeError("ReadableStreamAsyncIterator." + e + " can only be used on a ReadableSteamAsyncIterator") + function at(t) { + return new TypeError("ReadableStreamAsyncIterator." + t + " can only be used on a ReadableSteamAsyncIterator") } - function se(e) { - var t = e._queue.shift(); - return e._queueTotalSize -= t.size, - e._queueTotalSize < 0 && (e._queueTotalSize = 0), - t.value + function st(t) { + var e = t._queue.shift(); + return t._queueTotalSize -= e.size, + t._queueTotalSize < 0 && (t._queueTotalSize = 0), + e.value } - function ce(e, t, r) { + function ct(t, e, r) { if (r = Number(r), !c(r)) throw new RangeError("Size must be a finite, non-NaN, non-negative number."); - e._queue.push({ - value: t, + t._queue.push({ + value: e, size: r }), - e._queueTotalSize += r + t._queueTotalSize += r } - function ue(e) { - var t = e._queue.peek(); - return t.value + function ut(t) { + var e = t._queue.peek(); + return e.value } - function de(e) { - e._queue = new O, - e._queueTotalSize = 0 + function dt(t) { + t._queue = new O, + t._queueTotalSize = 0 } - void 0 !== J && Object.setPrototypeOf(ne, J), - Object.defineProperty(ne, "next", { + void 0 !== J && Object.setPrototypeOf(nt, J), + Object.defineProperty(nt, "next", { enumerable: !1 }), - Object.defineProperty(ne, "return", { + Object.defineProperty(nt, "return", { enumerable: !1 }); - var le = t("[[AbortSteps]]") - , fe = t("[[ErrorSteps]]") - , he = function() { - function e(e, t) { - void 0 === e && (e = {}), + var lt = e("[[AbortSteps]]") + , ft = e("[[ErrorSteps]]") + , ht = function() { + function t(t, e) { void 0 === t && (t = {}), - be(this); - var r = t.size - , n = t.highWaterMark - , i = e.type; + void 0 === e && (e = {}), + bt(this); + var r = e.size + , n = e.highWaterMark + , i = t.type; if (void 0 !== i) throw new RangeError("Invalid type is specified"); var o = g(r); void 0 === n && (n = 1), n = b(n), - Ve(this, e, n, o) + Ht(this, t, n, o) } - return Object.defineProperty(e.prototype, "locked", { + return Object.defineProperty(t.prototype, "locked", { get: function() { - if (!1 === ge(this)) - throw at("locked"); - return ye(this) + if (!1 === gt(this)) + throw ae("locked"); + return yt(this) }, enumerable: !0, configurable: !0 }), - e.prototype.abort = function(e) { - return !1 === ge(this) ? _(at("abort")) : !0 === ye(this) ? _(new TypeError("Cannot abort a stream that already has a writer")) : ve(this, e) + t.prototype.abort = function(t) { + return !1 === gt(this) ? A(ae("abort")) : !0 === yt(this) ? A(new TypeError("Cannot abort a stream that already has a writer")) : vt(this, t) } , - e.prototype.close = function() { - return !1 === ge(this) ? _(at("close")) : !0 === ye(this) ? _(new TypeError("Cannot close a stream that already has a writer")) : !0 === Pe(this) ? _(new TypeError("Cannot close an already-closing stream")) : Se(this) + t.prototype.close = function() { + return !1 === gt(this) ? A(ae("close")) : !0 === yt(this) ? A(new TypeError("Cannot close a stream that already has a writer")) : !0 === Pt(this) ? A(new TypeError("Cannot close an already-closing stream")) : St(this) } , - e.prototype.getWriter = function() { - if (!1 === ge(this)) - throw at("getWriter"); - return pe(this) + t.prototype.getWriter = function() { + if (!1 === gt(this)) + throw ae("getWriter"); + return pt(this) } , - e + t }(); - function pe(e) { - return new Ne(e) + function pt(t) { + return new Mt(t) } - function me(e, t, r, n, i, o) { + function mt(t, e, r, n, i, o) { void 0 === i && (i = 1), void 0 === o && (o = function() { return 1 } ); - var a = Object.create(he.prototype); - be(a); - var s = Object.create(We.prototype); - return He(a, s, e, t, r, n, i, o), + var a = Object.create(ht.prototype); + bt(a); + var s = Object.create(Wt.prototype); + return Vt(a, s, t, e, r, n, i, o), a } - function be(e) { - e._state = "writable", - e._storedError = void 0, - e._writer = void 0, - e._writableStreamController = void 0, - e._writeRequests = new O, - e._inFlightWriteRequest = void 0, - e._closeRequest = void 0, - e._inFlightCloseRequest = void 0, - e._pendingAbortRequest = void 0, - e._backpressure = !1 + function bt(t) { + t._state = "writable", + t._storedError = void 0, + t._writer = void 0, + t._writableStreamController = void 0, + t._writeRequests = new O, + t._inFlightWriteRequest = void 0, + t._closeRequest = void 0, + t._inFlightCloseRequest = void 0, + t._pendingAbortRequest = void 0, + t._backpressure = !1 } - function ge(e) { - return !!o(e) && !!Object.prototype.hasOwnProperty.call(e, "_writableStreamController") + function gt(t) { + return !!o(t) && !!Object.prototype.hasOwnProperty.call(t, "_writableStreamController") } - function ye(e) { - return void 0 !== e._writer + function yt(t) { + return void 0 !== t._writer } - function ve(e, t) { - var r = e._state; + function vt(t, e) { + var r = t._state; if ("closed" === r || "errored" === r) - return A(void 0); - if (void 0 !== e._pendingAbortRequest) - return e._pendingAbortRequest._promise; + return _(void 0); + if (void 0 !== t._pendingAbortRequest) + return t._pendingAbortRequest._promise; var n = !1; "erroring" === r && (n = !0, - t = void 0); + e = void 0); var i = C((function(r, i) { - e._pendingAbortRequest = { + t._pendingAbortRequest = { _promise: void 0, _resolve: r, _reject: i, - _reason: t, + _reason: e, _wasAlreadyErroring: n } } )); - return e._pendingAbortRequest._promise = i, - !1 === n && Ae(e, t), + return t._pendingAbortRequest._promise = i, + !1 === n && _t(t, e), i } - function Se(e) { - var t = e._state; - if ("closed" === t || "errored" === t) - return _(new TypeError("The stream (in " + t + " state) is not in the writable state and cannot be closed")); - var r = C((function(t, r) { + function St(t) { + var e = t._state; + if ("closed" === e || "errored" === e) + return A(new TypeError("The stream (in " + e + " state) is not in the writable state and cannot be closed")); + var r = C((function(e, r) { var n = { - _resolve: t, + _resolve: e, _reject: r }; - e._closeRequest = n + t._closeRequest = n } )) - , n = e._writer; - return void 0 !== n && !0 === e._backpressure && "writable" === t && wt(n), - Qe(e._writableStreamController), + , n = t._writer; + return void 0 !== n && !0 === t._backpressure && "writable" === e && we(n), + Zt(t._writableStreamController), r } - function we(e) { - var t = C((function(t, r) { + function wt(t) { + var e = C((function(e, r) { var n = { - _resolve: t, + _resolve: e, _reject: r }; - e._writeRequests.push(n) + t._writeRequests.push(n) } )); - return t + return e } - function Ce(e, t) { - var r = e._state; - "writable" !== r ? _e(e) : Ae(e, t) + function Ct(t, e) { + var r = t._state; + "writable" !== r ? At(t) : _t(t, e) } - function Ae(e, t) { - var r = e._writableStreamController; - e._state = "erroring", - e._storedError = t; - var n = e._writer; - void 0 !== n && Le(n, t), - !1 === ke(e) && !0 === r._started && _e(e) + function _t(t, e) { + var r = t._writableStreamController; + t._state = "erroring", + t._storedError = e; + var n = t._writer; + void 0 !== n && Ut(n, e), + !1 === kt(t) && !0 === r._started && At(t) } - function _e(e) { - e._state = "errored", - e._writableStreamController[fe](); - var t = e._storedError; - if (e._writeRequests.forEach((function(e) { - e._reject(t) + function At(t) { + t._state = "errored", + t._writableStreamController[ft](); + var e = t._storedError; + if (t._writeRequests.forEach((function(t) { + t._reject(e) } )), - e._writeRequests = new O, - void 0 !== e._pendingAbortRequest) { - var r = e._pendingAbortRequest; - if (e._pendingAbortRequest = void 0, + t._writeRequests = new O, + void 0 !== t._pendingAbortRequest) { + var r = t._pendingAbortRequest; + if (t._pendingAbortRequest = void 0, !0 === r._wasAlreadyErroring) - return r._reject(t), - void Re(e); - var n = e._writableStreamController[le](r._reason); + return r._reject(e), + void Rt(t); + var n = t._writableStreamController[lt](r._reason); E(n, (function() { r._resolve(), - Re(e) + Rt(t) } - ), (function(t) { - r._reject(t), - Re(e) + ), (function(e) { + r._reject(e), + Rt(t) } )) } else - Re(e) + Rt(t) } - function Ie(e) { - e._inFlightWriteRequest._resolve(void 0), - e._inFlightWriteRequest = void 0 + function It(t) { + t._inFlightWriteRequest._resolve(void 0), + t._inFlightWriteRequest = void 0 } - function Ee(e, t) { - e._inFlightWriteRequest._reject(t), - e._inFlightWriteRequest = void 0, - Ce(e, t) + function Et(t, e) { + t._inFlightWriteRequest._reject(e), + t._inFlightWriteRequest = void 0, + Ct(t, e) } - function Te(e) { - e._inFlightCloseRequest._resolve(void 0), - e._inFlightCloseRequest = void 0; - var t = e._state; - "erroring" === t && (e._storedError = void 0, - void 0 !== e._pendingAbortRequest && (e._pendingAbortRequest._resolve(), - e._pendingAbortRequest = void 0)), - e._state = "closed"; - var r = e._writer; - void 0 !== r && pt(r) + function Tt(t) { + t._inFlightCloseRequest._resolve(void 0), + t._inFlightCloseRequest = void 0; + var e = t._state; + "erroring" === e && (t._storedError = void 0, + void 0 !== t._pendingAbortRequest && (t._pendingAbortRequest._resolve(), + t._pendingAbortRequest = void 0)), + t._state = "closed"; + var r = t._writer; + void 0 !== r && pe(r) } - function xe(e, t) { - e._inFlightCloseRequest._reject(t), - e._inFlightCloseRequest = void 0, - void 0 !== e._pendingAbortRequest && (e._pendingAbortRequest._reject(t), - e._pendingAbortRequest = void 0), - Ce(e, t) + function xt(t, e) { + t._inFlightCloseRequest._reject(e), + t._inFlightCloseRequest = void 0, + void 0 !== t._pendingAbortRequest && (t._pendingAbortRequest._reject(e), + t._pendingAbortRequest = void 0), + Ct(t, e) } - function Pe(e) { - return void 0 !== e._closeRequest || void 0 !== e._inFlightCloseRequest + function Pt(t) { + return void 0 !== t._closeRequest || void 0 !== t._inFlightCloseRequest } - function ke(e) { - return void 0 !== e._inFlightWriteRequest || void 0 !== e._inFlightCloseRequest + function kt(t) { + return void 0 !== t._inFlightWriteRequest || void 0 !== t._inFlightCloseRequest } - function De(e) { - e._inFlightCloseRequest = e._closeRequest, - e._closeRequest = void 0 + function Dt(t) { + t._inFlightCloseRequest = t._closeRequest, + t._closeRequest = void 0 } - function Oe(e) { - e._inFlightWriteRequest = e._writeRequests.shift() + function Ot(t) { + t._inFlightWriteRequest = t._writeRequests.shift() } - function Re(e) { - void 0 !== e._closeRequest && (e._closeRequest._reject(e._storedError), - e._closeRequest = void 0); - var t = e._writer; - void 0 !== t && ft(t, e._storedError) + function Rt(t) { + void 0 !== t._closeRequest && (t._closeRequest._reject(t._storedError), + t._closeRequest = void 0); + var e = t._writer; + void 0 !== e && fe(e, t._storedError) } - function Me(e, t) { - var r = e._writer; - void 0 !== r && t !== e._backpressure && (!0 === t ? vt(r) : wt(r)), - e._backpressure = t + function Nt(t, e) { + var r = t._writer; + void 0 !== r && e !== t._backpressure && (!0 === e ? ve(r) : we(r)), + t._backpressure = e } - var Ne = function() { - function e(e) { - if (!1 === ge(e)) + var Mt = function() { + function t(t) { + if (!1 === gt(t)) throw new TypeError("WritableStreamDefaultWriter can only be constructed with a WritableStream instance"); - if (!0 === ye(e)) + if (!0 === yt(t)) throw new TypeError("This stream has already been locked for exclusive writing by another writer"); - this._ownerWritableStream = e, - e._writer = this; - var t = e._state; - if ("writable" === t) - !1 === Pe(e) && !0 === e._backpressure ? mt(this) : gt(this), - ut(this); - else if ("erroring" === t) - bt(this, e._storedError), - ut(this); - else if ("closed" === t) - gt(this), - lt(this); + this._ownerWritableStream = t, + t._writer = this; + var e = t._state; + if ("writable" === e) + !1 === Pt(t) && !0 === t._backpressure ? me(this) : ge(this), + ue(this); + else if ("erroring" === e) + be(this, t._storedError), + ue(this); + else if ("closed" === e) + ge(this), + le(this); else { - var r = e._storedError; - bt(this, r), - dt(this, r) + var r = t._storedError; + be(this, r), + de(this, r) } } - return Object.defineProperty(e.prototype, "closed", { + return Object.defineProperty(t.prototype, "closed", { get: function() { - return !1 === Be(this) ? _(st("closed")) : this._closedPromise + return !1 === Bt(this) ? A(se("closed")) : this._closedPromise }, enumerable: !0, configurable: !0 }), - Object.defineProperty(e.prototype, "desiredSize", { + Object.defineProperty(t.prototype, "desiredSize", { get: function() { - if (!1 === Be(this)) - throw st("desiredSize"); + if (!1 === Bt(this)) + throw se("desiredSize"); if (void 0 === this._ownerWritableStream) - throw ct("desiredSize"); - return Xe(this) + throw ce("desiredSize"); + return Xt(this) }, enumerable: !0, configurable: !0 }), - Object.defineProperty(e.prototype, "ready", { + Object.defineProperty(t.prototype, "ready", { get: function() { - return !1 === Be(this) ? _(st("ready")) : this._readyPromise + return !1 === Bt(this) ? A(se("ready")) : this._readyPromise }, enumerable: !0, configurable: !0 }), - e.prototype.abort = function(e) { - return !1 === Be(this) ? _(st("abort")) : void 0 === this._ownerWritableStream ? _(ct("abort")) : Fe(this, e) + t.prototype.abort = function(t) { + return !1 === Bt(this) ? A(se("abort")) : void 0 === this._ownerWritableStream ? A(ce("abort")) : Ft(this, t) } , - e.prototype.close = function() { - if (!1 === Be(this)) - return _(st("close")); - var e = this._ownerWritableStream; - return void 0 === e ? _(ct("close")) : !0 === Pe(e) ? _(new TypeError("Cannot close an already-closing stream")) : je(this) + t.prototype.close = function() { + if (!1 === Bt(this)) + return A(se("close")); + var t = this._ownerWritableStream; + return void 0 === t ? A(ce("close")) : !0 === Pt(t) ? A(new TypeError("Cannot close an already-closing stream")) : jt(this) } , - e.prototype.releaseLock = function() { - if (!1 === Be(this)) - throw st("releaseLock"); - var e = this._ownerWritableStream; - void 0 !== e && ze(this) + t.prototype.releaseLock = function() { + if (!1 === Bt(this)) + throw se("releaseLock"); + var t = this._ownerWritableStream; + void 0 !== t && zt(this) } , - e.prototype.write = function(e) { - return !1 === Be(this) ? _(st("write")) : void 0 === this._ownerWritableStream ? _(ct("write to")) : Ge(this, e) + t.prototype.write = function(t) { + return !1 === Bt(this) ? A(se("write")) : void 0 === this._ownerWritableStream ? A(ce("write to")) : Gt(this, t) } , - e + t }(); - function Be(e) { - return !!o(e) && !!Object.prototype.hasOwnProperty.call(e, "_ownerWritableStream") + function Bt(t) { + return !!o(t) && !!Object.prototype.hasOwnProperty.call(t, "_ownerWritableStream") } - function Fe(e, t) { - var r = e._ownerWritableStream; - return ve(r, t) + function Ft(t, e) { + var r = t._ownerWritableStream; + return vt(r, e) } - function je(e) { - var t = e._ownerWritableStream; - return Se(t) + function jt(t) { + var e = t._ownerWritableStream; + return St(e) } - function Ke(e) { - var t = e._ownerWritableStream - , r = t._state; - return !0 === Pe(t) || "closed" === r ? A(void 0) : "errored" === r ? _(t._storedError) : je(e) + function Kt(t) { + var e = t._ownerWritableStream + , r = e._state; + return !0 === Pt(e) || "closed" === r ? _(void 0) : "errored" === r ? A(e._storedError) : jt(t) } - function Ue(e, t) { - "pending" === e._closedPromiseState ? ft(e, t) : ht(e, t) + function Lt(t, e) { + "pending" === t._closedPromiseState ? fe(t, e) : he(t, e) } - function Le(e, t) { - "pending" === e._readyPromiseState ? yt(e, t) : St(e, t) + function Ut(t, e) { + "pending" === t._readyPromiseState ? ye(t, e) : Se(t, e) } - function Xe(e) { - var t = e._ownerWritableStream - , r = t._state; - return "errored" === r || "erroring" === r ? null : "closed" === r ? 0 : Je(t._writableStreamController) + function Xt(t) { + var e = t._ownerWritableStream + , r = e._state; + return "errored" === r || "erroring" === r ? null : "closed" === r ? 0 : Jt(e._writableStreamController) } - function ze(e) { - var t = e._ownerWritableStream + function zt(t) { + var e = t._ownerWritableStream , r = new TypeError("Writer was released and can no longer be used to monitor the stream's closedness"); - Le(e, r), - Ue(e, r), - t._writer = void 0, - e._ownerWritableStream = void 0 + Ut(t, r), + Lt(t, r), + e._writer = void 0, + t._ownerWritableStream = void 0 } - function Ge(e, t) { - var r = e._ownerWritableStream + function Gt(t, e) { + var r = t._ownerWritableStream , n = r._writableStreamController - , i = Ze(n, t); - if (r !== e._ownerWritableStream) - return _(ct("write to")); + , i = Qt(n, e); + if (r !== t._ownerWritableStream) + return A(ce("write to")); var o = r._state; if ("errored" === o) - return _(r._storedError); - if (!0 === Pe(r) || "closed" === o) - return _(new TypeError("The stream is closing or closed and cannot be written to")); + return A(r._storedError); + if (!0 === Pt(r) || "closed" === o) + return A(new TypeError("The stream is closing or closed and cannot be written to")); if ("erroring" === o) - return _(r._storedError); - var a = we(r); - return $e(n, t, i), + return A(r._storedError); + var a = wt(r); + return $t(n, e, i), a } - var We = function() { - function e() { + var Wt = function() { + function t() { throw new TypeError("WritableStreamDefaultController cannot be constructed explicitly") } - return e.prototype.error = function(e) { - if (!1 === qe(this)) + return t.prototype.error = function(t) { + if (!1 === qt(this)) throw new TypeError("WritableStreamDefaultController.prototype.error can only be used on a WritableStreamDefaultController"); - var t = this._controlledWritableStream._state; - "writable" === t && ot(this, e) + var e = this._controlledWritableStream._state; + "writable" === e && oe(this, t) } , - e.prototype[le] = function(e) { - var t = this._abortAlgorithm(e); - return Ye(this), - t + t.prototype[lt] = function(t) { + var e = this._abortAlgorithm(t); + return Yt(this), + e } , - e.prototype[fe] = function() { - de(this) + t.prototype[ft] = function() { + dt(this) } , - e + t }(); - function qe(e) { - return !!o(e) && !!Object.prototype.hasOwnProperty.call(e, "_controlledWritableStream") + function qt(t) { + return !!o(t) && !!Object.prototype.hasOwnProperty.call(t, "_controlledWritableStream") } - function He(e, t, r, n, i, o, a, s) { - t._controlledWritableStream = e, - e._writableStreamController = t, - t._queue = void 0, - t._queueTotalSize = void 0, - de(t), - t._started = !1, - t._strategySizeAlgorithm = s, - t._strategyHWM = a, - t._writeAlgorithm = n, - t._closeAlgorithm = i, - t._abortAlgorithm = o; - var c = it(t); - Me(e, c); + function Vt(t, e, r, n, i, o, a, s) { + e._controlledWritableStream = t, + t._writableStreamController = e, + e._queue = void 0, + e._queueTotalSize = void 0, + dt(e), + e._started = !1, + e._strategySizeAlgorithm = s, + e._strategyHWM = a, + e._writeAlgorithm = n, + e._closeAlgorithm = i, + e._abortAlgorithm = o; + var c = ie(e); + Nt(t, c); var u = r() - , d = A(u); + , d = _(u); E(d, (function() { - t._started = !0, - et(t) + e._started = !0, + te(e) } ), (function(r) { - t._started = !0, - Ce(e, r) + e._started = !0, + Ct(t, r) } )) } - function Ve(e, t, r, n) { - var i = Object.create(We.prototype); + function Ht(t, e, r, n) { + var i = Object.create(Wt.prototype); function o() { - return f(t, "start", [i]) + return f(e, "start", [i]) } - var a = l(t, "write", 1, [i]) - , s = l(t, "close", 0, []) - , c = l(t, "abort", 1, []); - He(e, i, o, a, s, c, r, n) + var a = l(e, "write", 1, [i]) + , s = l(e, "close", 0, []) + , c = l(e, "abort", 1, []); + Vt(t, i, o, a, s, c, r, n) } - function Ye(e) { - e._writeAlgorithm = void 0, - e._closeAlgorithm = void 0, - e._abortAlgorithm = void 0, - e._strategySizeAlgorithm = void 0 + function Yt(t) { + t._writeAlgorithm = void 0, + t._closeAlgorithm = void 0, + t._abortAlgorithm = void 0, + t._strategySizeAlgorithm = void 0 } - function Qe(e) { - ce(e, "close", 0), - et(e) + function Zt(t) { + ct(t, "close", 0), + te(t) } - function Ze(e, t) { + function Qt(t, e) { try { - return e._strategySizeAlgorithm(t) + return t._strategySizeAlgorithm(e) } catch (r) { - return tt(e, r), + return ee(t, r), 1 } } - function Je(e) { - return e._strategyHWM - e._queueTotalSize + function Jt(t) { + return t._strategyHWM - t._queueTotalSize } - function $e(e, t, r) { + function $t(t, e, r) { var n = { - chunk: t + chunk: e }; try { - ce(e, n, r) + ct(t, n, r) } catch (a) { - return void tt(e, a) + return void ee(t, a) } - var i = e._controlledWritableStream; - if (!1 === Pe(i) && "writable" === i._state) { - var o = it(e); - Me(i, o) + var i = t._controlledWritableStream; + if (!1 === Pt(i) && "writable" === i._state) { + var o = ie(t); + Nt(i, o) } - et(e) + te(t) } - function et(e) { - var t = e._controlledWritableStream; - if (!1 !== e._started && void 0 === t._inFlightWriteRequest) { - var r = t._state; + function te(t) { + var e = t._controlledWritableStream; + if (!1 !== t._started && void 0 === e._inFlightWriteRequest) { + var r = e._state; if ("erroring" !== r) { - if (0 !== e._queue.length) { - var n = ue(e); - "close" === n ? rt(e) : nt(e, n.chunk) + if (0 !== t._queue.length) { + var n = ut(t); + "close" === n ? re(t) : ne(t, n.chunk) } } else - _e(t) + At(e) } } - function tt(e, t) { - "writable" === e._controlledWritableStream._state && ot(e, t) + function ee(t, e) { + "writable" === t._controlledWritableStream._state && oe(t, e) } - function rt(e) { - var t = e._controlledWritableStream; - De(t), - se(e); - var r = e._closeAlgorithm(); - Ye(e), + function re(t) { + var e = t._controlledWritableStream; + Dt(e), + st(t); + var r = t._closeAlgorithm(); + Yt(t), E(r, (function() { - Te(t) - } - ), (function(e) { - xe(t, e) - } - )) - } - function nt(e, t) { - var r = e._controlledWritableStream; - Oe(r); - var n = e._writeAlgorithm(t); - E(n, (function() { - Ie(r); - var t = r._state; - if (se(e), - !1 === Pe(r) && "writable" === t) { - var n = it(e); - Me(r, n) - } - et(e) + Tt(e) } ), (function(t) { - "writable" === r._state && Ye(e), - Ee(r, t) + xt(e, t) } )) } - function it(e) { - var t = Je(e); - return t <= 0 - } - function ot(e, t) { - var r = e._controlledWritableStream; - Ye(e), - Ae(r, t) - } - function at(e) { - return new TypeError("WritableStream.prototype." + e + " can only be used on a WritableStream") - } - function st(e) { - return new TypeError("WritableStreamDefaultWriter.prototype." + e + " can only be used on a WritableStreamDefaultWriter") - } - function ct(e) { - return new TypeError("Cannot " + e + " a stream using a released writer") - } - function ut(e) { - e._closedPromise = C((function(t, r) { - e._closedPromise_resolve = t, - e._closedPromise_reject = r, - e._closedPromiseState = "pending" + function ne(t, e) { + var r = t._controlledWritableStream; + Ot(r); + var n = t._writeAlgorithm(e); + E(n, (function() { + It(r); + var e = r._state; + if (st(t), + !1 === Pt(r) && "writable" === e) { + var n = ie(t); + Nt(r, n) + } + te(t) + } + ), (function(e) { + "writable" === r._state && Yt(t), + Et(r, e) } )) } - function dt(e, t) { - ut(e), - ft(e, t) + function ie(t) { + var e = Jt(t); + return e <= 0 } - function lt(e) { - ut(e), - pt(e) + function oe(t, e) { + var r = t._controlledWritableStream; + Yt(t), + _t(r, e) } - function ft(e, t) { - k(e._closedPromise), - e._closedPromise_reject(t), - e._closedPromise_resolve = void 0, - e._closedPromise_reject = void 0, - e._closedPromiseState = "rejected" + function ae(t) { + return new TypeError("WritableStream.prototype." + t + " can only be used on a WritableStream") } - function ht(e, t) { - dt(e, t) + function se(t) { + return new TypeError("WritableStreamDefaultWriter.prototype." + t + " can only be used on a WritableStreamDefaultWriter") } - function pt(e) { - e._closedPromise_resolve(void 0), - e._closedPromise_resolve = void 0, - e._closedPromise_reject = void 0, - e._closedPromiseState = "resolved" + function ce(t) { + return new TypeError("Cannot " + t + " a stream using a released writer") } - function mt(e) { - e._readyPromise = C((function(t, r) { - e._readyPromise_resolve = t, - e._readyPromise_reject = r + function ue(t) { + t._closedPromise = C((function(e, r) { + t._closedPromise_resolve = e, + t._closedPromise_reject = r, + t._closedPromiseState = "pending" + } + )) + } + function de(t, e) { + ue(t), + fe(t, e) + } + function le(t) { + ue(t), + pe(t) + } + function fe(t, e) { + k(t._closedPromise), + t._closedPromise_reject(e), + t._closedPromise_resolve = void 0, + t._closedPromise_reject = void 0, + t._closedPromiseState = "rejected" + } + function he(t, e) { + de(t, e) + } + function pe(t) { + t._closedPromise_resolve(void 0), + t._closedPromise_resolve = void 0, + t._closedPromise_reject = void 0, + t._closedPromiseState = "resolved" + } + function me(t) { + t._readyPromise = C((function(e, r) { + t._readyPromise_resolve = e, + t._readyPromise_reject = r } )), - e._readyPromiseState = "pending" + t._readyPromiseState = "pending" } - function bt(e, t) { - mt(e), - yt(e, t) + function be(t, e) { + me(t), + ye(t, e) } - function gt(e) { - mt(e), - wt(e) + function ge(t) { + me(t), + we(t) } - function yt(e, t) { - k(e._readyPromise), - e._readyPromise_reject(t), - e._readyPromise_resolve = void 0, - e._readyPromise_reject = void 0, - e._readyPromiseState = "rejected" + function ye(t, e) { + k(t._readyPromise), + t._readyPromise_reject(e), + t._readyPromise_resolve = void 0, + t._readyPromise_reject = void 0, + t._readyPromiseState = "rejected" } - function vt(e) { - mt(e) + function ve(t) { + me(t) } - function St(e, t) { - bt(e, t) + function Se(t, e) { + be(t, e) } - function wt(e) { - e._readyPromise_resolve(void 0), - e._readyPromise_resolve = void 0, - e._readyPromise_reject = void 0, - e._readyPromiseState = "fulfilled" + function we(t) { + t._readyPromise_resolve(void 0), + t._readyPromise_resolve = void 0, + t._readyPromise_reject = void 0, + t._readyPromiseState = "fulfilled" } - function Ct(e) { - if ("object" !== typeof e || null === e) + function Ce(t) { + if ("object" !== typeof t || null === t) return !1; try { - return "boolean" === typeof e.aborted - } catch (Z) { + return "boolean" === typeof t.aborted + } catch (Q) { return !1 } } - var At = "undefined" !== typeof DOMException ? DOMException : void 0; - function _t(e) { - if ("function" !== typeof e && "object" !== typeof e) + var _e = "undefined" !== typeof DOMException ? DOMException : void 0; + function Ae(t) { + if ("function" !== typeof t && "object" !== typeof t) return !1; try { - return new e, + return new t, !0 - } catch (Z) { + } catch (Q) { return !1 } } - function It() { - var e = function(e, t) { - this.message = e || "", - this.name = t || "Error", + function Ie() { + var t = function(t, e) { + this.message = t || "", + this.name = e || "Error", Error.captureStackTrace && Error.captureStackTrace(this, this.constructor) }; - return e.prototype = Object.create(Error.prototype), - Object.defineProperty(e.prototype, "constructor", { - value: e, + return t.prototype = Object.create(Error.prototype), + Object.defineProperty(t.prototype, "constructor", { + value: t, writable: !0, configurable: !0 }), - e + t } - var Et = _t(At) ? At : It(); - function Tt(e, t, n, i, o, a) { - var s = q(e) - , c = pe(t); - e._disturbed = !0; + var Ee = Ae(_e) ? _e : Ie(); + function Te(t, e, n, i, o, a) { + var s = q(t) + , c = pt(e); + t._disturbed = !0; var u = !1 - , d = A(void 0); + , d = _(void 0); return C((function(l, f) { var h; if (void 0 !== a) { if (h = function() { - var r = new Et("Aborted","AbortError") + var r = new Ee("Aborted","AbortError") , n = []; !1 === i && n.push((function() { - return "writable" === t._state ? ve(t, r) : A(void 0) + return "writable" === e._state ? vt(e, r) : _(void 0) } )), !1 === o && n.push((function() { - return "readable" === e._state ? Br(e, r) : A(void 0) + return "readable" === t._state ? Br(t, r) : _(void 0) } )), S((function() { - return Promise.all(n.map((function(e) { - return e() + return Promise.all(n.map((function(t) { + return t() } ))) } @@ -26915,311 +27177,311 @@ a.addEventListener("abort", h) } function p() { - return C((function(e, t) { + return C((function(t, e) { function r(n) { - n ? e() : I(m(), r, t) + n ? t() : I(m(), r, e) } r(!1) } )) } function m() { - return !0 === u ? A(!0) : I(c._readyPromise, (function() { - return I(te(s), (function(e) { - return !0 === e.done || (d = I(Ge(c, e.value), void 0, r), + return !0 === u ? _(!0) : I(c._readyPromise, (function() { + return I(et(s), (function(t) { + return !0 === t.done || (d = I(Gt(c, t.value), void 0, r), !1) } )) } )) } - if (y(e, s._closedPromise, (function(e) { + if (y(t, s._closedPromise, (function(t) { !1 === i ? S((function() { - return ve(t, e) - } - ), !0, e) : w(!0, e) - } - )), - y(t, c._closedPromise, (function(t) { - !1 === o ? S((function() { - return Br(e, t) + return vt(e, t) } ), !0, t) : w(!0, t) } )), - v(e, s._closedPromise, (function() { + y(e, c._closedPromise, (function(e) { + !1 === o ? S((function() { + return Br(t, e) + } + ), !0, e) : w(!0, e) + } + )), + v(t, s._closedPromise, (function() { !1 === n ? S((function() { - return Ke(c) + return Kt(c) } )) : w() } )), - !0 === Pe(t) || "closed" === t._state) { + !0 === Pt(e) || "closed" === e._state) { var b = new TypeError("the destination writable stream closed before all data could be piped to it"); !1 === o ? S((function() { - return Br(e, b) + return Br(t, b) } ), !0, b) : w(!0, b) } function g() { - var e = d; + var t = d; return I(d, (function() { - return e !== d ? g() : void 0 + return t !== d ? g() : void 0 } )) } - function y(e, t, r) { - "errored" === e._state ? r(e._storedError) : x(t, r) + function y(t, e, r) { + "errored" === t._state ? r(t._storedError) : x(e, r) } - function v(e, t, r) { - "closed" === e._state ? r() : T(t, r) + function v(t, e, r) { + "closed" === t._state ? r() : T(e, r) } - function S(e, r, n) { + function S(t, r, n) { function i() { - E(e(), (function() { - return _(r, n) + E(t(), (function() { + return A(r, n) } - ), (function(e) { - return _(!0, e) + ), (function(t) { + return A(!0, t) } )) } !0 !== u && (u = !0, - "writable" === t._state && !1 === Pe(t) ? T(g(), i) : i()) + "writable" === e._state && !1 === Pt(e) ? T(g(), i) : i()) } - function w(e, r) { + function w(t, r) { !0 !== u && (u = !0, - "writable" === t._state && !1 === Pe(t) ? T(g(), (function() { - return _(e, r) + "writable" === e._state && !1 === Pt(e) ? T(g(), (function() { + return A(t, r) } - )) : _(e, r)) + )) : A(t, r)) } - function _(e, t) { - ze(c), + function A(t, e) { + zt(c), B(s), void 0 !== a && a.removeEventListener("abort", h), - e ? f(t) : l(void 0) + t ? f(e) : l(void 0) } k(p()) } )) } - var xt = function() { - function e() { + var xe = function() { + function t() { throw new TypeError } - return Object.defineProperty(e.prototype, "desiredSize", { + return Object.defineProperty(t.prototype, "desiredSize", { get: function() { - if (!1 === Pt(this)) - throw Lt("desiredSize"); - return Bt(this) + if (!1 === Pe(this)) + throw Ue("desiredSize"); + return Be(this) }, enumerable: !0, configurable: !0 }), - e.prototype.close = function() { - if (!1 === Pt(this)) - throw Lt("close"); - if (!1 === jt(this)) + t.prototype.close = function() { + if (!1 === Pe(this)) + throw Ue("close"); + if (!1 === je(this)) throw new TypeError("The stream is not in a state that permits close"); - Rt(this) + Re(this) } , - e.prototype.enqueue = function(e) { - if (!1 === Pt(this)) - throw Lt("enqueue"); - if (!1 === jt(this)) + t.prototype.enqueue = function(t) { + if (!1 === Pe(this)) + throw Ue("enqueue"); + if (!1 === je(this)) throw new TypeError("The stream is not in a state that permits enqueue"); - return Mt(this, e) + return Ne(this, t) } , - e.prototype.error = function(e) { - if (!1 === Pt(this)) - throw Lt("error"); - Nt(this, e) + t.prototype.error = function(t) { + if (!1 === Pe(this)) + throw Ue("error"); + Me(this, t) } , - e.prototype[G] = function(e) { - de(this); - var t = this._cancelAlgorithm(e); - return Ot(this), - t + t.prototype[G] = function(t) { + dt(this); + var e = this._cancelAlgorithm(t); + return Oe(this), + e } , - e.prototype[W] = function() { - var e = this._controlledReadableStream; + t.prototype[W] = function() { + var t = this._controlledReadableStream; if (this._queue.length > 0) { - var t = se(this); - return !0 === this._closeRequested && 0 === this._queue.length ? (Ot(this), - Fr(e)) : kt(this), - A(R(t, !1, e._reader._forAuthorCode)) + var e = st(this); + return !0 === this._closeRequested && 0 === this._queue.length ? (Oe(this), + Fr(t)) : ke(this), + _(R(e, !1, t._reader._forAuthorCode)) } - var r = H(e); - return kt(this), + var r = V(t); + return ke(this), r } , - e + t }(); - function Pt(e) { - return !!o(e) && !!Object.prototype.hasOwnProperty.call(e, "_controlledReadableStream") + function Pe(t) { + return !!o(t) && !!Object.prototype.hasOwnProperty.call(t, "_controlledReadableStream") } - function kt(e) { - var t = Dt(e); - if (!1 !== t) - if (!0 !== e._pulling) { - e._pulling = !0; - var r = e._pullAlgorithm(); + function ke(t) { + var e = De(t); + if (!1 !== e) + if (!0 !== t._pulling) { + t._pulling = !0; + var r = t._pullAlgorithm(); E(r, (function() { - e._pulling = !1, - !0 === e._pullAgain && (e._pullAgain = !1, - kt(e)) + t._pulling = !1, + !0 === t._pullAgain && (t._pullAgain = !1, + ke(t)) } - ), (function(t) { - Nt(e, t) + ), (function(e) { + Me(t, e) } )) } else - e._pullAgain = !0 + t._pullAgain = !0 } - function Dt(e) { - var t = e._controlledReadableStream; - if (!1 === jt(e)) + function De(t) { + var e = t._controlledReadableStream; + if (!1 === je(t)) return !1; - if (!1 === e._started) + if (!1 === t._started) return !1; - if (!0 === Nr(t) && Y(t) > 0) + if (!0 === Mr(e) && Y(e) > 0) return !0; - var r = Bt(e); + var r = Be(t); return r > 0 } - function Ot(e) { - e._pullAlgorithm = void 0, - e._cancelAlgorithm = void 0, - e._strategySizeAlgorithm = void 0 + function Oe(t) { + t._pullAlgorithm = void 0, + t._cancelAlgorithm = void 0, + t._strategySizeAlgorithm = void 0 } - function Rt(e) { - var t = e._controlledReadableStream; - e._closeRequested = !0, - 0 === e._queue.length && (Ot(e), - Fr(t)) + function Re(t) { + var e = t._controlledReadableStream; + t._closeRequested = !0, + 0 === t._queue.length && (Oe(t), + Fr(e)) } - function Mt(e, t) { - var r = e._controlledReadableStream; - if (!0 === Nr(r) && Y(r) > 0) - V(r, t, !1); + function Ne(t, e) { + var r = t._controlledReadableStream; + if (!0 === Mr(r) && Y(r) > 0) + H(r, e, !1); else { var n = void 0; try { - n = e._strategySizeAlgorithm(t) + n = t._strategySizeAlgorithm(e) } catch (i) { - throw Nt(e, i), + throw Me(t, i), i } try { - ce(e, t, n) + ct(t, e, n) } catch (o) { - throw Nt(e, o), + throw Me(t, o), o } } - kt(e) + ke(t) } - function Nt(e, t) { - var r = e._controlledReadableStream; - "readable" === r._state && (de(e), - Ot(e), - jr(r, t)) + function Me(t, e) { + var r = t._controlledReadableStream; + "readable" === r._state && (dt(t), + Oe(t), + jr(r, e)) } - function Bt(e) { - var t = e._controlledReadableStream - , r = t._state; - return "errored" === r ? null : "closed" === r ? 0 : e._strategyHWM - e._queueTotalSize + function Be(t) { + var e = t._controlledReadableStream + , r = e._state; + return "errored" === r ? null : "closed" === r ? 0 : t._strategyHWM - t._queueTotalSize } - function Ft(e) { - return !0 !== Dt(e) + function Fe(t) { + return !0 !== De(t) } - function jt(e) { - var t = e._controlledReadableStream._state; - return !1 === e._closeRequested && "readable" === t + function je(t) { + var e = t._controlledReadableStream._state; + return !1 === t._closeRequested && "readable" === e } - function Kt(e, t, r, n, i, o, a) { - t._controlledReadableStream = e, - t._queue = void 0, - t._queueTotalSize = void 0, - de(t), - t._started = !1, - t._closeRequested = !1, - t._pullAgain = !1, - t._pulling = !1, - t._strategySizeAlgorithm = a, - t._strategyHWM = o, - t._pullAlgorithm = n, - t._cancelAlgorithm = i, - e._readableStreamController = t; + function Ke(t, e, r, n, i, o, a) { + e._controlledReadableStream = t, + e._queue = void 0, + e._queueTotalSize = void 0, + dt(e), + e._started = !1, + e._closeRequested = !1, + e._pullAgain = !1, + e._pulling = !1, + e._strategySizeAlgorithm = a, + e._strategyHWM = o, + e._pullAlgorithm = n, + e._cancelAlgorithm = i, + t._readableStreamController = e; var s = r(); - E(A(s), (function() { - t._started = !0, - kt(t) + E(_(s), (function() { + e._started = !0, + ke(e) } - ), (function(e) { - Nt(t, e) + ), (function(t) { + Me(e, t) } )) } - function Ut(e, t, r, n) { - var i = Object.create(xt.prototype); + function Le(t, e, r, n) { + var i = Object.create(xe.prototype); function o() { - return f(t, "start", [i]) + return f(e, "start", [i]) } - var a = l(t, "pull", 0, [i]) - , s = l(t, "cancel", 1, []); - Kt(e, i, o, a, s, r, n) + var a = l(e, "pull", 0, [i]) + , s = l(e, "cancel", 1, []); + Ke(t, i, o, a, s, r, n) } - function Lt(e) { - return new TypeError("ReadableStreamDefaultController.prototype." + e + " can only be used on a ReadableStreamDefaultController") + function Ue(t) { + return new TypeError("ReadableStreamDefaultController.prototype." + t + " can only be used on a ReadableStreamDefaultController") } - function Xt(e, t) { - var r, n, i, o, s, c = q(e), u = !1, d = !1, l = !1, f = C((function(e) { - s = e + function Xe(t, e) { + var r, n, i, o, s, c = q(t), u = !1, d = !1, l = !1, f = C((function(t) { + s = t } )); function h() { if (!0 === u) - return A(void 0); + return _(void 0); u = !0; - var e = P(te(c), (function(e) { + var t = P(et(c), (function(t) { u = !1; - var t = e.done; - if (!0 === t) - return !1 === d && Rt(i._readableStreamController), - void (!1 === l && Rt(o._readableStreamController)); - var r = e.value + var e = t.done; + if (!0 === e) + return !1 === d && Re(i._readableStreamController), + void (!1 === l && Re(o._readableStreamController)); + var r = t.value , n = r , a = r; - !1 === d && Mt(i._readableStreamController, n), - !1 === l && Mt(o._readableStreamController, a) + !1 === d && Ne(i._readableStreamController, n), + !1 === l && Ne(o._readableStreamController, a) } )); - return k(e), - A(void 0) + return k(t), + _(void 0) } - function p(t) { + function p(e) { if (d = !0, - r = t, + r = e, !0 === l) { var i = a([r, n]) - , o = Br(e, i); + , o = Br(t, i); s(o) } return f } - function m(t) { + function m(e) { if (l = !0, - n = t, + n = e, !0 === d) { var i = a([r, n]) - , o = Br(e, i); + , o = Br(t, i); s(o) } return f @@ -27227,64 +27489,64 @@ function b() {} return i = Or(b, h, p), o = Or(b, h, m), - x(c._closedPromise, (function(e) { - Nt(i._readableStreamController, e), - Nt(o._readableStreamController, e) + x(c._closedPromise, (function(t) { + Me(i._readableStreamController, t), + Me(o._readableStreamController, t) } )), [i, o] } - var zt = Number.isInteger || function(e) { - return "number" === typeof e && isFinite(e) && Math.floor(e) === e + var ze = Number.isInteger || function(t) { + return "number" === typeof t && isFinite(t) && Math.floor(t) === t } - , Gt = function() { - function e() { + , Ge = function() { + function t() { throw new TypeError("ReadableStreamBYOBRequest cannot be used directly") } - return Object.defineProperty(e.prototype, "view", { + return Object.defineProperty(t.prototype, "view", { get: function() { - if (!1 === Ht(this)) + if (!1 === Ve(this)) throw Sr("view"); return this._view }, enumerable: !0, configurable: !0 }), - e.prototype.respond = function(e) { - if (!1 === Ht(this)) + t.prototype.respond = function(t) { + if (!1 === Ve(this)) throw Sr("respond"); if (void 0 === this._associatedReadableByteStreamController) throw new TypeError("This BYOB request has been invalidated"); m(this._view.buffer), - mr(this._associatedReadableByteStreamController, e) + mr(this._associatedReadableByteStreamController, t) } , - e.prototype.respondWithNewView = function(e) { - if (!1 === Ht(this)) + t.prototype.respondWithNewView = function(t) { + if (!1 === Ve(this)) throw Sr("respond"); if (void 0 === this._associatedReadableByteStreamController) throw new TypeError("This BYOB request has been invalidated"); - if (!ArrayBuffer.isView(e)) + if (!ArrayBuffer.isView(t)) throw new TypeError("You can only respond with array buffer views"); - m(e.buffer), - br(this._associatedReadableByteStreamController, e) + m(t.buffer), + br(this._associatedReadableByteStreamController, t) } , - e + t }() - , Wt = function() { - function e() { + , We = function() { + function t() { throw new TypeError("ReadableByteStreamController constructor cannot be used directly") } - return Object.defineProperty(e.prototype, "byobRequest", { + return Object.defineProperty(t.prototype, "byobRequest", { get: function() { - if (!1 === qt(this)) + if (!1 === qe(this)) throw wr("byobRequest"); if (void 0 === this._byobRequest && this._pendingPullIntos.length > 0) { - var e = this._pendingPullIntos.peek() - , t = new Uint8Array(e.buffer,e.byteOffset + e.bytesFilled,e.byteLength - e.bytesFilled) - , r = Object.create(Gt.prototype); - vr(r, this, t), + var t = this._pendingPullIntos.peek() + , e = new Uint8Array(t.buffer,t.byteOffset + t.bytesFilled,t.byteLength - t.bytesFilled) + , r = Object.create(Ge.prototype); + vr(r, this, e), this._byobRequest = r } return this._byobRequest @@ -27292,70 +27554,70 @@ enumerable: !0, configurable: !0 }), - Object.defineProperty(e.prototype, "desiredSize", { + Object.defineProperty(t.prototype, "desiredSize", { get: function() { - if (!1 === qt(this)) + if (!1 === qe(this)) throw wr("desiredSize"); return pr(this) }, enumerable: !0, configurable: !0 }), - e.prototype.close = function() { - if (!1 === qt(this)) + t.prototype.close = function() { + if (!1 === qe(this)) throw wr("close"); if (!0 === this._closeRequested) throw new TypeError("The stream has already been closed; do not close it again!"); - var e = this._controlledReadableByteStream._state; - if ("readable" !== e) - throw new TypeError("The stream (in " + e + " state) is not in the readable state and cannot be closed"); + var t = this._controlledReadableByteStream._state; + if ("readable" !== t) + throw new TypeError("The stream (in " + t + " state) is not in the readable state and cannot be closed"); lr(this) } , - e.prototype.enqueue = function(e) { - if (!1 === qt(this)) + t.prototype.enqueue = function(t) { + if (!1 === qe(this)) throw wr("enqueue"); if (!0 === this._closeRequested) throw new TypeError("stream is closed or draining"); - var t = this._controlledReadableByteStream._state; - if ("readable" !== t) - throw new TypeError("The stream (in " + t + " state) is not in the readable state and cannot be enqueued to"); - if (!ArrayBuffer.isView(e)) + var e = this._controlledReadableByteStream._state; + if ("readable" !== e) + throw new TypeError("The stream (in " + e + " state) is not in the readable state and cannot be enqueued to"); + if (!ArrayBuffer.isView(t)) throw new TypeError("You can only enqueue array buffer views when using a ReadableByteStreamController"); - m(e.buffer), - fr(this, e) + m(t.buffer), + fr(this, t) } , - e.prototype.error = function(e) { - if (!1 === qt(this)) + t.prototype.error = function(t) { + if (!1 === qe(this)) throw wr("error"); - hr(this, e) + hr(this, t) } , - e.prototype[G] = function(e) { + t.prototype[G] = function(t) { if (this._pendingPullIntos.length > 0) { - var t = this._pendingPullIntos.peek(); - t.bytesFilled = 0 + var e = this._pendingPullIntos.peek(); + e.bytesFilled = 0 } - de(this); - var r = this._cancelAlgorithm(e); + dt(this); + var r = this._cancelAlgorithm(t); return dr(this), r } , - e.prototype[W] = function() { - var e = this._controlledReadableByteStream; + t.prototype[W] = function() { + var t = this._controlledReadableByteStream; if (this._queueTotalSize > 0) { - var t = this._queue.shift(); - this._queueTotalSize -= t.byteLength, - tr(this); + var e = this._queue.shift(); + this._queueTotalSize -= e.byteLength, + er(this); var r = void 0; try { - r = new Uint8Array(t.buffer,t.byteOffset,t.byteLength) + r = new Uint8Array(e.buffer,e.byteOffset,e.byteLength) } catch (s) { - return _(s) + return A(s) } - return A(R(r, !1, e._reader._forAuthorCode)) + return _(R(r, !1, t._reader._forAuthorCode)) } var n = this._autoAllocateChunkSize; if (void 0 !== n) { @@ -27363,7 +27625,7 @@ try { i = new ArrayBuffer(n) } catch (c) { - return _(c) + return A(c) } var o = { buffer: i, @@ -27376,374 +27638,374 @@ }; this._pendingPullIntos.push(o) } - var a = H(e); - return Vt(this), + var a = V(t); + return He(this), a } , - e + t }(); - function qt(e) { - return !!o(e) && !!Object.prototype.hasOwnProperty.call(e, "_controlledReadableByteStream") + function qe(t) { + return !!o(t) && !!Object.prototype.hasOwnProperty.call(t, "_controlledReadableByteStream") } - function Ht(e) { - return !!o(e) && !!Object.prototype.hasOwnProperty.call(e, "_associatedReadableByteStreamController") + function Ve(t) { + return !!o(t) && !!Object.prototype.hasOwnProperty.call(t, "_associatedReadableByteStreamController") } - function Vt(e) { - var t = ur(e); - if (!1 !== t) - if (!0 !== e._pulling) { - e._pulling = !0; - var r = e._pullAlgorithm(); + function He(t) { + var e = ur(t); + if (!1 !== e) + if (!0 !== t._pulling) { + t._pulling = !0; + var r = t._pullAlgorithm(); E(r, (function() { - e._pulling = !1, - !0 === e._pullAgain && (e._pullAgain = !1, - Vt(e)) + t._pulling = !1, + !0 === t._pullAgain && (t._pullAgain = !1, + He(t)) } - ), (function(t) { - hr(e, t) + ), (function(e) { + hr(t, e) } )) } else - e._pullAgain = !0 + t._pullAgain = !0 } - function Yt(e) { - rr(e), - e._pendingPullIntos = new O + function Ye(t) { + rr(t), + t._pendingPullIntos = new O } - function Qt(e, t) { + function Ze(t, e) { var r = !1; - "closed" === e._state && (r = !0); - var n = Zt(t); - "default" === t.readerType ? V(e, n, r) : _r(e, n, r) + "closed" === t._state && (r = !0); + var n = Qe(e); + "default" === e.readerType ? H(t, n, r) : Ar(t, n, r) } - function Zt(e) { - var t = e.bytesFilled - , r = e.elementSize; - return new e.ctor(e.buffer,e.byteOffset,t / r) + function Qe(t) { + var e = t.bytesFilled + , r = t.elementSize; + return new t.ctor(t.buffer,t.byteOffset,e / r) } - function Jt(e, t, r, n) { - e._queue.push({ - buffer: t, + function Je(t, e, r, n) { + t._queue.push({ + buffer: e, byteOffset: r, byteLength: n }), - e._queueTotalSize += n + t._queueTotalSize += n } - function $t(e, t) { - var r = t.elementSize - , n = t.bytesFilled - t.bytesFilled % r - , i = Math.min(e._queueTotalSize, t.byteLength - t.bytesFilled) - , o = t.bytesFilled + i + function $e(t, e) { + var r = e.elementSize + , n = e.bytesFilled - e.bytesFilled % r + , i = Math.min(t._queueTotalSize, e.byteLength - e.bytesFilled) + , o = e.bytesFilled + i , a = o - o % r , c = i , u = !1; - a > n && (c = a - t.bytesFilled, + a > n && (c = a - e.bytesFilled, u = !0); - var d = e._queue; + var d = t._queue; while (c > 0) { var l = d.peek() , f = Math.min(c, l.byteLength) - , h = t.byteOffset + t.bytesFilled; - s(t.buffer, h, l.buffer, l.byteOffset, f), + , h = e.byteOffset + e.bytesFilled; + s(e.buffer, h, l.buffer, l.byteOffset, f), l.byteLength === f ? d.shift() : (l.byteOffset += f, l.byteLength -= f), - e._queueTotalSize -= f, - er(e, f, t), + t._queueTotalSize -= f, + tr(t, f, e), c -= f } return u } - function er(e, t, r) { - rr(e), - r.bytesFilled += t + function tr(t, e, r) { + rr(t), + r.bytesFilled += e } - function tr(e) { - 0 === e._queueTotalSize && !0 === e._closeRequested ? (dr(e), - Fr(e._controlledReadableByteStream)) : Vt(e) + function er(t) { + 0 === t._queueTotalSize && !0 === t._closeRequested ? (dr(t), + Fr(t._controlledReadableByteStream)) : He(t) } - function rr(e) { - void 0 !== e._byobRequest && (e._byobRequest._associatedReadableByteStreamController = void 0, - e._byobRequest._view = void 0, - e._byobRequest = void 0) + function rr(t) { + void 0 !== t._byobRequest && (t._byobRequest._associatedReadableByteStreamController = void 0, + t._byobRequest._view = void 0, + t._byobRequest = void 0) } - function nr(e) { - while (e._pendingPullIntos.length > 0) { - if (0 === e._queueTotalSize) + function nr(t) { + while (t._pendingPullIntos.length > 0) { + if (0 === t._queueTotalSize) return; - var t = e._pendingPullIntos.peek(); - !0 === $t(e, t) && (cr(e), - Qt(e._controlledReadableByteStream, t)) + var e = t._pendingPullIntos.peek(); + !0 === $e(t, e) && (cr(t), + Ze(t._controlledReadableByteStream, e)) } } - function ir(e, t) { - var r = e._controlledReadableByteStream + function ir(t, e) { + var r = t._controlledReadableByteStream , n = 1; - t.constructor !== DataView && (n = t.constructor.BYTES_PER_ELEMENT); - var i = t.constructor - , o = p(t.buffer) + e.constructor !== DataView && (n = e.constructor.BYTES_PER_ELEMENT); + var i = e.constructor + , o = p(e.buffer) , a = { buffer: o, - byteOffset: t.byteOffset, - byteLength: t.byteLength, + byteOffset: e.byteOffset, + byteLength: e.byteLength, bytesFilled: 0, elementSize: n, ctor: i, readerType: "byob" }; - if (e._pendingPullIntos.length > 0) - return e._pendingPullIntos.push(a), - Ar(r); + if (t._pendingPullIntos.length > 0) + return t._pendingPullIntos.push(a), + _r(r); if ("closed" === r._state) { var s = new i(a.buffer,a.byteOffset,0); - return A(R(s, !0, r._reader._forAuthorCode)) + return _(R(s, !0, r._reader._forAuthorCode)) } - if (e._queueTotalSize > 0) { - if (!0 === $t(e, a)) { - var c = Zt(a); - return tr(e), - A(R(c, !1, r._reader._forAuthorCode)) + if (t._queueTotalSize > 0) { + if (!0 === $e(t, a)) { + var c = Qe(a); + return er(t), + _(R(c, !1, r._reader._forAuthorCode)) } - if (!0 === e._closeRequested) { + if (!0 === t._closeRequested) { var u = new TypeError("Insufficient bytes to fill elements in the given buffer"); - return hr(e, u), - _(u) + return hr(t, u), + A(u) } } - e._pendingPullIntos.push(a); - var d = Ar(r); - return Vt(e), + t._pendingPullIntos.push(a); + var d = _r(r); + return He(t), d } - function or(e, t) { - t.buffer = p(t.buffer); - var r = e._controlledReadableByteStream; + function or(t, e) { + e.buffer = p(e.buffer); + var r = t._controlledReadableByteStream; if (!0 === Er(r)) while (Ir(r) > 0) { - var n = cr(e); - Qt(r, n) + var n = cr(t); + Ze(r, n) } } - function ar(e, t, r) { - if (r.bytesFilled + t > r.byteLength) + function ar(t, e, r) { + if (r.bytesFilled + e > r.byteLength) throw new RangeError("bytesWritten out of range"); - if (er(e, t, r), + if (tr(t, e, r), !(r.bytesFilled < r.elementSize)) { - cr(e); + cr(t); var n = r.bytesFilled % r.elementSize; if (n > 0) { var i = r.byteOffset + r.bytesFilled , o = r.buffer.slice(i - n, i); - Jt(e, o, 0, o.byteLength) + Je(t, o, 0, o.byteLength) } r.buffer = p(r.buffer), r.bytesFilled -= n, - Qt(e._controlledReadableByteStream, r), - nr(e) + Ze(t._controlledReadableByteStream, r), + nr(t) } } - function sr(e, t) { - var r = e._pendingPullIntos.peek() - , n = e._controlledReadableByteStream; + function sr(t, e) { + var r = t._pendingPullIntos.peek() + , n = t._controlledReadableByteStream; if ("closed" === n._state) { - if (0 !== t) + if (0 !== e) throw new TypeError("bytesWritten must be 0 when calling respond() on a closed stream"); - or(e, r) + or(t, r) } else - ar(e, t, r); - Vt(e) + ar(t, e, r); + He(t) } - function cr(e) { - var t = e._pendingPullIntos.shift(); - return rr(e), - t + function cr(t) { + var e = t._pendingPullIntos.shift(); + return rr(t), + e } - function ur(e) { - var t = e._controlledReadableByteStream; - if ("readable" !== t._state) + function ur(t) { + var e = t._controlledReadableByteStream; + if ("readable" !== e._state) return !1; - if (!0 === e._closeRequested) + if (!0 === t._closeRequested) return !1; - if (!1 === e._started) + if (!1 === t._started) return !1; - if (!0 === Q(t) && Y(t) > 0) + if (!0 === Z(e) && Y(e) > 0) return !0; - if (!0 === Er(t) && Ir(t) > 0) + if (!0 === Er(e) && Ir(e) > 0) return !0; - var r = pr(e); + var r = pr(t); return r > 0 } - function dr(e) { - e._pullAlgorithm = void 0, - e._cancelAlgorithm = void 0 + function dr(t) { + t._pullAlgorithm = void 0, + t._cancelAlgorithm = void 0 } - function lr(e) { - var t = e._controlledReadableByteStream; - if (e._queueTotalSize > 0) - e._closeRequested = !0; + function lr(t) { + var e = t._controlledReadableByteStream; + if (t._queueTotalSize > 0) + t._closeRequested = !0; else { - if (e._pendingPullIntos.length > 0) { - var r = e._pendingPullIntos.peek(); + if (t._pendingPullIntos.length > 0) { + var r = t._pendingPullIntos.peek(); if (r.bytesFilled > 0) { var n = new TypeError("Insufficient bytes to fill elements in the given buffer"); - throw hr(e, n), + throw hr(t, n), n } } - dr(e), - Fr(t) + dr(t), + Fr(e) } } - function fr(e, t) { - var r = e._controlledReadableByteStream - , n = t.buffer - , i = t.byteOffset - , o = t.byteLength + function fr(t, e) { + var r = t._controlledReadableByteStream + , n = e.buffer + , i = e.byteOffset + , o = e.byteLength , a = p(n); - if (!0 === Q(r)) + if (!0 === Z(r)) if (0 === Y(r)) - Jt(e, a, i, o); + Je(t, a, i, o); else { var s = new Uint8Array(a,i,o); - V(r, s, !1) + H(r, s, !1) } else - !0 === Er(r) ? (Jt(e, a, i, o), - nr(e)) : Jt(e, a, i, o); - Vt(e) + !0 === Er(r) ? (Je(t, a, i, o), + nr(t)) : Je(t, a, i, o); + He(t) } - function hr(e, t) { - var r = e._controlledReadableByteStream; - "readable" === r._state && (Yt(e), - de(e), - dr(e), - jr(r, t)) + function hr(t, e) { + var r = t._controlledReadableByteStream; + "readable" === r._state && (Ye(t), + dt(t), + dr(t), + jr(r, e)) } - function pr(e) { - var t = e._controlledReadableByteStream - , r = t._state; - return "errored" === r ? null : "closed" === r ? 0 : e._strategyHWM - e._queueTotalSize + function pr(t) { + var e = t._controlledReadableByteStream + , r = e._state; + return "errored" === r ? null : "closed" === r ? 0 : t._strategyHWM - t._queueTotalSize } - function mr(e, t) { - if (t = Number(t), - !1 === c(t)) + function mr(t, e) { + if (e = Number(e), + !1 === c(e)) throw new RangeError("bytesWritten must be a finite"); - sr(e, t) + sr(t, e) } - function br(e, t) { - var r = e._pendingPullIntos.peek(); - if (r.byteOffset + r.bytesFilled !== t.byteOffset) + function br(t, e) { + var r = t._pendingPullIntos.peek(); + if (r.byteOffset + r.bytesFilled !== e.byteOffset) throw new RangeError("The region specified by view does not match byobRequest"); - if (r.byteLength !== t.byteLength) + if (r.byteLength !== e.byteLength) throw new RangeError("The buffer of view has different capacity than byobRequest"); - r.buffer = t.buffer, - sr(e, t.byteLength) + r.buffer = e.buffer, + sr(t, e.byteLength) } - function gr(e, t, r, n, i, o, a) { - t._controlledReadableByteStream = e, - t._pullAgain = !1, - t._pulling = !1, - t._byobRequest = void 0, - t._queue = t._queueTotalSize = void 0, - de(t), - t._closeRequested = !1, - t._started = !1, - t._strategyHWM = b(o), - t._pullAlgorithm = n, - t._cancelAlgorithm = i, - t._autoAllocateChunkSize = a, - t._pendingPullIntos = new O, - e._readableStreamController = t; + function gr(t, e, r, n, i, o, a) { + e._controlledReadableByteStream = t, + e._pullAgain = !1, + e._pulling = !1, + e._byobRequest = void 0, + e._queue = e._queueTotalSize = void 0, + dt(e), + e._closeRequested = !1, + e._started = !1, + e._strategyHWM = b(o), + e._pullAlgorithm = n, + e._cancelAlgorithm = i, + e._autoAllocateChunkSize = a, + e._pendingPullIntos = new O, + t._readableStreamController = e; var s = r(); - E(A(s), (function() { - t._started = !0, - Vt(t) + E(_(s), (function() { + e._started = !0, + He(e) } - ), (function(e) { - hr(t, e) + ), (function(t) { + hr(e, t) } )) } - function yr(e, t, r) { - var n = Object.create(Wt.prototype); + function yr(t, e, r) { + var n = Object.create(We.prototype); function i() { - return f(t, "start", [n]) + return f(e, "start", [n]) } - var o = l(t, "pull", 0, [n]) - , a = l(t, "cancel", 1, []) - , s = t.autoAllocateChunkSize; + var o = l(e, "pull", 0, [n]) + , a = l(e, "cancel", 1, []) + , s = e.autoAllocateChunkSize; if (void 0 !== s && (s = Number(s), - !1 === zt(s) || s <= 0)) + !1 === ze(s) || s <= 0)) throw new RangeError("autoAllocateChunkSize must be a positive integer"); - gr(e, n, i, o, a, r, s) + gr(t, n, i, o, a, r, s) } - function vr(e, t, r) { - e._associatedReadableByteStreamController = t, - e._view = r + function vr(t, e, r) { + t._associatedReadableByteStreamController = e, + t._view = r } - function Sr(e) { - return new TypeError("ReadableStreamBYOBRequest.prototype." + e + " can only be used on a ReadableStreamBYOBRequest") + function Sr(t) { + return new TypeError("ReadableStreamBYOBRequest.prototype." + t + " can only be used on a ReadableStreamBYOBRequest") } - function wr(e) { - return new TypeError("ReadableByteStreamController.prototype." + e + " can only be used on a ReadableByteStreamController") + function wr(t) { + return new TypeError("ReadableByteStreamController.prototype." + t + " can only be used on a ReadableByteStreamController") } - function Cr(e, t) { - void 0 === t && (t = !1); - var r = new Tr(e); - return r._forAuthorCode = t, + function Cr(t, e) { + void 0 === e && (e = !1); + var r = new Tr(t); + return r._forAuthorCode = e, r } - function Ar(e) { - var t = C((function(t, r) { + function _r(t) { + var e = C((function(e, r) { var n = { - _resolve: t, + _resolve: e, _reject: r }; - e._reader._readIntoRequests.push(n) + t._reader._readIntoRequests.push(n) } )); - return t + return e } - function _r(e, t, r) { - var n = e._reader + function Ar(t, e, r) { + var n = t._reader , i = n._readIntoRequests.shift(); - i._resolve(R(t, r, n._forAuthorCode)) + i._resolve(R(e, r, n._forAuthorCode)) } - function Ir(e) { - return e._reader._readIntoRequests.length + function Ir(t) { + return t._reader._readIntoRequests.length } - function Er(e) { - var t = e._reader; - return void 0 !== t && !!xr(t) + function Er(t) { + var e = t._reader; + return void 0 !== e && !!xr(e) } var Tr = function() { - function e(e) { - if (!Mr(e)) + function t(t) { + if (!Nr(t)) throw new TypeError("ReadableStreamBYOBReader can only be constructed with a ReadableStream instance given a byte source"); - if (!1 === qt(e._readableStreamController)) + if (!1 === qe(t._readableStreamController)) throw new TypeError("Cannot construct a ReadableStreamBYOBReader for a stream not constructed with a byte source"); - if (Nr(e)) + if (Mr(t)) throw new TypeError("This stream has already been locked for exclusive reading by another reader"); - M(this, e), + N(this, t), this._readIntoRequests = new O } - return Object.defineProperty(e.prototype, "closed", { + return Object.defineProperty(t.prototype, "closed", { get: function() { - return xr(this) ? this._closedPromise : _(kr("closed")) + return xr(this) ? this._closedPromise : A(kr("closed")) }, enumerable: !0, configurable: !0 }), - e.prototype.cancel = function(e) { - return xr(this) ? void 0 === this._ownerReadableStream ? _(F("cancel")) : N(this, e) : _(kr("cancel")) + t.prototype.cancel = function(t) { + return xr(this) ? void 0 === this._ownerReadableStream ? A(F("cancel")) : M(this, t) : A(kr("cancel")) } , - e.prototype.read = function(e) { - return xr(this) ? void 0 === this._ownerReadableStream ? _(F("read from")) : ArrayBuffer.isView(e) ? (m(e.buffer), - 0 === e.byteLength ? _(new TypeError("view must have non-zero byteLength")) : Pr(this, e)) : _(new TypeError("view must be an array buffer view")) : _(kr("read")) + t.prototype.read = function(t) { + return xr(this) ? void 0 === this._ownerReadableStream ? A(F("read from")) : ArrayBuffer.isView(t) ? (m(t.buffer), + 0 === t.byteLength ? A(new TypeError("view must have non-zero byteLength")) : Pr(this, t)) : A(new TypeError("view must be an array buffer view")) : A(kr("read")) } , - e.prototype.releaseLock = function() { + t.prototype.releaseLock = function() { if (!xr(this)) throw kr("releaseLock"); if (void 0 !== this._ownerReadableStream) { @@ -27753,126 +28015,126 @@ } } , - e + t }(); - function xr(e) { - return !!o(e) && !!Object.prototype.hasOwnProperty.call(e, "_readIntoRequests") + function xr(t) { + return !!o(t) && !!Object.prototype.hasOwnProperty.call(t, "_readIntoRequests") } - function Pr(e, t) { - var r = e._ownerReadableStream; + function Pr(t, e) { + var r = t._ownerReadableStream; return r._disturbed = !0, - "errored" === r._state ? _(r._storedError) : ir(r._readableStreamController, t) + "errored" === r._state ? A(r._storedError) : ir(r._readableStreamController, e) } - function kr(e) { - return new TypeError("ReadableStreamBYOBReader.prototype." + e + " can only be used on a ReadableStreamBYOBReader") + function kr(t) { + return new TypeError("ReadableStreamBYOBReader.prototype." + t + " can only be used on a ReadableStreamBYOBReader") } var Dr = function() { - function e(e, t) { - void 0 === e && (e = {}), + function t(t, e) { void 0 === t && (t = {}), + void 0 === e && (e = {}), Rr(this); - var r = t.size - , n = t.highWaterMark - , i = e.type + var r = e.size + , n = e.highWaterMark + , i = t.type , o = String(i); if ("bytes" === o) { if (void 0 !== r) throw new RangeError("The strategy for a byte stream cannot have a size function"); void 0 === n && (n = 0), n = b(n), - yr(this, e, n) + yr(this, t, n) } else { if (void 0 !== i) throw new RangeError("Invalid type is specified"); var a = g(r); void 0 === n && (n = 1), n = b(n), - Ut(this, e, n, a) + Le(this, t, n, a) } } - return Object.defineProperty(e.prototype, "locked", { + return Object.defineProperty(t.prototype, "locked", { get: function() { - if (!1 === Mr(this)) + if (!1 === Nr(this)) throw Kr("locked"); - return Nr(this) + return Mr(this) }, enumerable: !0, configurable: !0 }), - e.prototype.cancel = function(e) { - return !1 === Mr(this) ? _(Kr("cancel")) : !0 === Nr(this) ? _(new TypeError("Cannot cancel a stream that already has a reader")) : Br(this, e) + t.prototype.cancel = function(t) { + return !1 === Nr(this) ? A(Kr("cancel")) : !0 === Mr(this) ? A(new TypeError("Cannot cancel a stream that already has a reader")) : Br(this, t) } , - e.prototype.getReader = function(e) { - var t = (void 0 === e ? {} : e).mode; - if (!1 === Mr(this)) + t.prototype.getReader = function(t) { + var e = (void 0 === t ? {} : t).mode; + if (!1 === Nr(this)) throw Kr("getReader"); - if (void 0 === t) + if (void 0 === e) return q(this, !0); - if (t = String(t), - "byob" === t) + if (e = String(e), + "byob" === e) return Cr(this, !0); throw new RangeError("Invalid mode is specified") } , - e.prototype.pipeThrough = function(e, t) { - var r = e.writable - , n = e.readable - , i = void 0 === t ? {} : t + t.prototype.pipeThrough = function(t, e) { + var r = t.writable + , n = t.readable + , i = void 0 === e ? {} : e , o = i.preventClose , a = i.preventAbort , s = i.preventCancel , c = i.signal; - if (!1 === Mr(this)) + if (!1 === Nr(this)) throw Kr("pipeThrough"); - if (!1 === ge(r)) + if (!1 === gt(r)) throw new TypeError("writable argument to pipeThrough must be a WritableStream"); - if (!1 === Mr(n)) + if (!1 === Nr(n)) throw new TypeError("readable argument to pipeThrough must be a ReadableStream"); if (o = Boolean(o), a = Boolean(a), s = Boolean(s), - void 0 !== c && !Ct(c)) + void 0 !== c && !Ce(c)) throw new TypeError("ReadableStream.prototype.pipeThrough's signal option must be an AbortSignal"); - if (!0 === Nr(this)) + if (!0 === Mr(this)) throw new TypeError("ReadableStream.prototype.pipeThrough cannot be used on a locked ReadableStream"); - if (!0 === ye(r)) + if (!0 === yt(r)) throw new TypeError("ReadableStream.prototype.pipeThrough cannot be used on a locked WritableStream"); - var u = Tt(this, r, o, a, s, c); + var u = Te(this, r, o, a, s, c); return k(u), n } , - e.prototype.pipeTo = function(e, t) { - var r = void 0 === t ? {} : t + t.prototype.pipeTo = function(t, e) { + var r = void 0 === e ? {} : e , n = r.preventClose , i = r.preventAbort , o = r.preventCancel , a = r.signal; - return !1 === Mr(this) ? _(Kr("pipeTo")) : !1 === ge(e) ? _(new TypeError("ReadableStream.prototype.pipeTo's first argument must be a WritableStream")) : (n = Boolean(n), + return !1 === Nr(this) ? A(Kr("pipeTo")) : !1 === gt(t) ? A(new TypeError("ReadableStream.prototype.pipeTo's first argument must be a WritableStream")) : (n = Boolean(n), i = Boolean(i), o = Boolean(o), - void 0 === a || Ct(a) ? !0 === Nr(this) ? _(new TypeError("ReadableStream.prototype.pipeTo cannot be used on a locked ReadableStream")) : !0 === ye(e) ? _(new TypeError("ReadableStream.prototype.pipeTo cannot be used on a locked WritableStream")) : Tt(this, e, n, i, o, a) : _(new TypeError("ReadableStream.prototype.pipeTo's signal option must be an AbortSignal"))) + void 0 === a || Ce(a) ? !0 === Mr(this) ? A(new TypeError("ReadableStream.prototype.pipeTo cannot be used on a locked ReadableStream")) : !0 === yt(t) ? A(new TypeError("ReadableStream.prototype.pipeTo cannot be used on a locked WritableStream")) : Te(this, t, n, i, o, a) : A(new TypeError("ReadableStream.prototype.pipeTo's signal option must be an AbortSignal"))) } , - e.prototype.tee = function() { - if (!1 === Mr(this)) + t.prototype.tee = function() { + if (!1 === Nr(this)) throw Kr("tee"); - var e = Xt(this); - return a(e) + var t = Xe(this); + return a(t) } , - e.prototype.getIterator = function(e) { - var t = (void 0 === e ? {} : e).preventCancel - , r = void 0 !== t && t; - if (!1 === Mr(this)) + t.prototype.getIterator = function(t) { + var e = (void 0 === t ? {} : t).preventCancel + , r = void 0 !== e && e; + if (!1 === Nr(this)) throw Kr("getIterator"); - return ie(this, r) + return it(this, r) } , - e + t }(); - function Or(e, t, r, n, i) { + function Or(t, e, r, n, i) { void 0 === n && (n = 1), void 0 === i && (i = function() { return 1 @@ -27880,119 +28142,119 @@ ); var o = Object.create(Dr.prototype); Rr(o); - var a = Object.create(xt.prototype); - return Kt(o, a, e, t, r, n, i), + var a = Object.create(xe.prototype); + return Ke(o, a, t, e, r, n, i), o } - function Rr(e) { - e._state = "readable", - e._reader = void 0, - e._storedError = void 0, - e._disturbed = !1 + function Rr(t) { + t._state = "readable", + t._reader = void 0, + t._storedError = void 0, + t._disturbed = !1 } - function Mr(e) { - return !!o(e) && !!Object.prototype.hasOwnProperty.call(e, "_readableStreamController") + function Nr(t) { + return !!o(t) && !!Object.prototype.hasOwnProperty.call(t, "_readableStreamController") } - function Nr(e) { - return void 0 !== e._reader + function Mr(t) { + return void 0 !== t._reader } - function Br(e, t) { - if (e._disturbed = !0, - "closed" === e._state) - return A(void 0); - if ("errored" === e._state) - return _(e._storedError); - Fr(e); - var n = e._readableStreamController[G](t); + function Br(t, e) { + if (t._disturbed = !0, + "closed" === t._state) + return _(void 0); + if ("errored" === t._state) + return A(t._storedError); + Fr(t); + var n = t._readableStreamController[G](e); return P(n, r) } - function Fr(e) { - e._state = "closed"; - var t = e._reader; - void 0 !== t && (ee(t) && (t._readRequests.forEach((function(e) { - e._resolve(R(void 0, !0, t._forAuthorCode)) + function Fr(t) { + t._state = "closed"; + var e = t._reader; + void 0 !== e && (tt(e) && (e._readRequests.forEach((function(t) { + t._resolve(R(void 0, !0, e._forAuthorCode)) } )), - t._readRequests = new O), - z(t)) + e._readRequests = new O), + z(e)) } - function jr(e, t) { - e._state = "errored", - e._storedError = t; - var r = e._reader; - void 0 !== r && (ee(r) ? (r._readRequests.forEach((function(e) { - e._reject(t) + function jr(t, e) { + t._state = "errored", + t._storedError = e; + var r = t._reader; + void 0 !== r && (tt(r) ? (r._readRequests.forEach((function(t) { + t._reject(e) } )), - r._readRequests = new O) : (r._readIntoRequests.forEach((function(e) { - e._reject(t) + r._readRequests = new O) : (r._readIntoRequests.forEach((function(t) { + t._reject(e) } )), r._readIntoRequests = new O), - L(r, t)) + U(r, e)) } - function Kr(e) { - return new TypeError("ReadableStream.prototype." + e + " can only be used on a ReadableStream") + function Kr(t) { + return new TypeError("ReadableStream.prototype." + t + " can only be used on a ReadableStream") } - "symbol" === typeof t.asyncIterator && Object.defineProperty(Dr.prototype, t.asyncIterator, { + "symbol" === typeof e.asyncIterator && Object.defineProperty(Dr.prototype, e.asyncIterator, { value: Dr.prototype.getIterator, enumerable: !1, writable: !0, configurable: !0 }); - var Ur = function() { - function e(e) { - var t = e.highWaterMark; - this.highWaterMark = t + var Lr = function() { + function t(t) { + var e = t.highWaterMark; + this.highWaterMark = e } - return e.prototype.size = function(e) { - return e.byteLength + return t.prototype.size = function(t) { + return t.byteLength } , - e + t }() - , Lr = function() { - function e(e) { - var t = e.highWaterMark; - this.highWaterMark = t + , Ur = function() { + function t(t) { + var e = t.highWaterMark; + this.highWaterMark = e } - return e.prototype.size = function() { + return t.prototype.size = function() { return 1 } , - e + t }() , Xr = function() { - function e(e, t, r) { - void 0 === e && (e = {}), + function t(t, e, r) { void 0 === t && (t = {}), + void 0 === e && (e = {}), void 0 === r && (r = {}); - var n = t.size - , i = t.highWaterMark + var n = e.size + , i = e.highWaterMark , o = r.size , a = r.highWaterMark - , s = e.writableType; + , s = t.writableType; if (void 0 !== s) throw new RangeError("Invalid writable type specified"); var c = g(n); void 0 === i && (i = 1), i = b(i); - var u = e.readableType; + var u = t.readableType; if (void 0 !== u) throw new RangeError("Invalid readable type specified"); var d, l = g(o); void 0 === a && (a = 0), a = b(a); - var h = C((function(e) { - d = e + var h = C((function(t) { + d = t } )); zr(this, h, i, c, a, l), - Zr(this, e); - var p = f(e, "start", [this._transformStreamController]); + Qr(this, t); + var p = f(t, "start", [this._transformStreamController]); d(p) } - return Object.defineProperty(e.prototype, "readable", { + return Object.defineProperty(t.prototype, "readable", { get: function() { if (!1 === Gr(this)) throw un("readable"); @@ -28001,7 +28263,7 @@ enumerable: !0, configurable: !0 }), - Object.defineProperty(e.prototype, "writable", { + Object.defineProperty(t.prototype, "writable", { get: function() { if (!1 === Gr(this)) throw un("writable"); @@ -28010,227 +28272,227 @@ enumerable: !0, configurable: !0 }), - e + t }(); - function zr(e, t, r, n, i, o) { + function zr(t, e, r, n, i, o) { function a() { - return t + return e } - function s(t) { - return nn(e, t) + function s(e) { + return nn(t, e) } - function c(t) { - return on(e, t) + function c(e) { + return on(t, e) } function u() { - return an(e) + return an(t) } function d() { - return sn(e) + return sn(t) } - function l(t) { - return qr(e, t), - A(void 0) + function l(e) { + return qr(t, e), + _(void 0) } - e._writable = me(a, s, u, c, r, n), - e._readable = Or(a, d, l, i, o), - e._backpressure = void 0, - e._backpressureChangePromise = void 0, - e._backpressureChangePromise_resolve = void 0, - Hr(e, !0), - e._transformStreamController = void 0 + t._writable = mt(a, s, u, c, r, n), + t._readable = Or(a, d, l, i, o), + t._backpressure = void 0, + t._backpressureChangePromise = void 0, + t._backpressureChangePromise_resolve = void 0, + Vr(t, !0), + t._transformStreamController = void 0 } - function Gr(e) { - return !!o(e) && !!Object.prototype.hasOwnProperty.call(e, "_transformStreamController") + function Gr(t) { + return !!o(t) && !!Object.prototype.hasOwnProperty.call(t, "_transformStreamController") } - function Wr(e, t) { - Nt(e._readable._readableStreamController, t), - qr(e, t) + function Wr(t, e) { + Me(t._readable._readableStreamController, e), + qr(t, e) } - function qr(e, t) { - Jr(e._transformStreamController), - tt(e._writable._writableStreamController, t), - !0 === e._backpressure && Hr(e, !1) + function qr(t, e) { + Jr(t._transformStreamController), + ee(t._writable._writableStreamController, e), + !0 === t._backpressure && Vr(t, !1) } - function Hr(e, t) { - void 0 !== e._backpressureChangePromise && e._backpressureChangePromise_resolve(), - e._backpressureChangePromise = C((function(t) { - e._backpressureChangePromise_resolve = t + function Vr(t, e) { + void 0 !== t._backpressureChangePromise && t._backpressureChangePromise_resolve(), + t._backpressureChangePromise = C((function(e) { + t._backpressureChangePromise_resolve = e } )), - e._backpressure = t + t._backpressure = e } - var Vr = function() { - function e() { + var Hr = function() { + function t() { throw new TypeError("TransformStreamDefaultController instances cannot be created directly") } - return Object.defineProperty(e.prototype, "desiredSize", { + return Object.defineProperty(t.prototype, "desiredSize", { get: function() { if (!1 === Yr(this)) throw cn("desiredSize"); - var e = this._controlledTransformStream._readable._readableStreamController; - return Bt(e) + var t = this._controlledTransformStream._readable._readableStreamController; + return Be(t) }, enumerable: !0, configurable: !0 }), - e.prototype.enqueue = function(e) { + t.prototype.enqueue = function(t) { if (!1 === Yr(this)) throw cn("enqueue"); - $r(this, e) + $r(this, t) } , - e.prototype.error = function(e) { + t.prototype.error = function(t) { if (!1 === Yr(this)) throw cn("error"); - en(this, e) + tn(this, t) } , - e.prototype.terminate = function() { + t.prototype.terminate = function() { if (!1 === Yr(this)) throw cn("terminate"); rn(this) } , - e + t }(); - function Yr(e) { - return !!o(e) && !!Object.prototype.hasOwnProperty.call(e, "_controlledTransformStream") + function Yr(t) { + return !!o(t) && !!Object.prototype.hasOwnProperty.call(t, "_controlledTransformStream") } - function Qr(e, t, r, n) { - t._controlledTransformStream = e, - e._transformStreamController = t, - t._transformAlgorithm = r, - t._flushAlgorithm = n + function Zr(t, e, r, n) { + e._controlledTransformStream = t, + t._transformStreamController = e, + e._transformAlgorithm = r, + e._flushAlgorithm = n } - function Zr(e, t) { - var r = Object.create(Vr.prototype) - , n = function(e) { + function Qr(t, e) { + var r = Object.create(Hr.prototype) + , n = function(t) { try { - return $r(r, e), - A(void 0) - } catch (t) { - return _(t) + return $r(r, t), + _(void 0) + } catch (e) { + return A(e) } } - , i = t.transform; + , i = e.transform; if (void 0 !== i) { if ("function" !== typeof i) throw new TypeError("transform is not a method"); - n = function(e) { - return h(i, t, [e, r]) + n = function(t) { + return h(i, e, [t, r]) } } - var o = l(t, "flush", 0, [r]); - Qr(e, r, n, o) + var o = l(e, "flush", 0, [r]); + Zr(t, r, n, o) } - function Jr(e) { - e._transformAlgorithm = void 0, - e._flushAlgorithm = void 0 + function Jr(t) { + t._transformAlgorithm = void 0, + t._flushAlgorithm = void 0 } - function $r(e, t) { - var r = e._controlledTransformStream + function $r(t, e) { + var r = t._controlledTransformStream , n = r._readable._readableStreamController; - if (!1 === jt(n)) + if (!1 === je(n)) throw new TypeError("Readable side is not in a state that permits enqueue"); try { - Mt(n, t) + Ne(n, e) } catch (o) { throw qr(r, o), r._readable._storedError } - var i = Ft(n); - i !== r._backpressure && Hr(r, !0) + var i = Fe(n); + i !== r._backpressure && Vr(r, !0) } - function en(e, t) { - Wr(e._controlledTransformStream, t) + function tn(t, e) { + Wr(t._controlledTransformStream, e) } - function tn(e, t) { - var r = e._transformAlgorithm(t); - return P(r, void 0, (function(t) { - throw Wr(e._controlledTransformStream, t), - t + function en(t, e) { + var r = t._transformAlgorithm(e); + return P(r, void 0, (function(e) { + throw Wr(t._controlledTransformStream, e), + e } )) } - function rn(e) { - var t = e._controlledTransformStream - , r = t._readable._readableStreamController; - !0 === jt(r) && Rt(r); + function rn(t) { + var e = t._controlledTransformStream + , r = e._readable._readableStreamController; + !0 === je(r) && Re(r); var n = new TypeError("TransformStream terminated"); - qr(t, n) + qr(e, n) } - function nn(e, t) { - var r = e._transformStreamController; - if (!0 === e._backpressure) { - var n = e._backpressureChangePromise; + function nn(t, e) { + var r = t._transformStreamController; + if (!0 === t._backpressure) { + var n = t._backpressureChangePromise; return P(n, (function() { - var n = e._writable + var n = t._writable , i = n._state; if ("erroring" === i) throw n._storedError; - return tn(r, t) + return en(r, e) } )) } - return tn(r, t) + return en(r, e) } - function on(e, t) { - return Wr(e, t), - A(void 0) + function on(t, e) { + return Wr(t, e), + _(void 0) } - function an(e) { - var t = e._readable - , r = e._transformStreamController + function an(t) { + var e = t._readable + , r = t._transformStreamController , n = r._flushAlgorithm(); return Jr(r), P(n, (function() { - if ("errored" === t._state) - throw t._storedError; - var e = t._readableStreamController; - !0 === jt(e) && Rt(e) + if ("errored" === e._state) + throw e._storedError; + var t = e._readableStreamController; + !0 === je(t) && Re(t) } ), (function(r) { - throw Wr(e, r), - t._storedError + throw Wr(t, r), + e._storedError } )) } - function sn(e) { - return Hr(e, !1), - e._backpressureChangePromise + function sn(t) { + return Vr(t, !1), + t._backpressureChangePromise } - function cn(e) { - return new TypeError("TransformStreamDefaultController.prototype." + e + " can only be used on a TransformStreamDefaultController") + function cn(t) { + return new TypeError("TransformStreamDefaultController.prototype." + t + " can only be used on a TransformStreamDefaultController") } - function un(e) { - return new TypeError("TransformStream.prototype." + e + " can only be used on a TransformStream") + function un(t) { + return new TypeError("TransformStream.prototype." + t + " can only be used on a TransformStream") } - e.ByteLengthQueuingStrategy = Ur, - e.CountQueuingStrategy = Lr, - e.ReadableStream = Dr, - e.TransformStream = Xr, - e.WritableStream = he, - Object.defineProperty(e, "__esModule", { + t.ByteLengthQueuingStrategy = Lr, + t.CountQueuingStrategy = Ur, + t.ReadableStream = Dr, + t.TransformStream = Xr, + t.WritableStream = ht, + Object.defineProperty(t, "__esModule", { value: !0 }) } )) }, - 8875: function(e, t, r) { + 8875: function(t, e, r) { var n, i, o; (function(r, a) { i = [], n = a, - o = "function" === typeof n ? n.apply(t, i) : n, - void 0 === o || (e.exports = o) + o = "function" === typeof n ? n.apply(e, i) : n, + void 0 === o || (t.exports = o) } )("undefined" !== typeof self && self, (function() { - function e() { - var t = Object.getOwnPropertyDescriptor(document, "currentScript"); - if (!t && "currentScript"in document && document.currentScript) + function t() { + var e = Object.getOwnPropertyDescriptor(document, "currentScript"); + if (!e && "currentScript"in document && document.currentScript) return document.currentScript; - if (t && t.get !== e && document.currentScript) + if (e && e.get !== t && document.currentScript) return document.currentScript; try { throw new Error @@ -28250,22 +28512,22 @@ return null } } - return e + return t } )) }, - 8925: function(e, t, r) { + 8925: function(t, e, r) { var n = r("e330") , i = r("1626") , o = r("c6cd") , a = n(Function.toString); - i(o.inspectSource) || (o.inspectSource = function(e) { - return a(e) + i(o.inspectSource) || (o.inspectSource = function(t) { + return a(t) } ), - e.exports = o.inspectSource + t.exports = o.inspectSource }, - "8a24": function(e, t, r) { + "8a24": function(t, e, r) { "use strict"; const n = r("90da") , i = r("90da").buildOptions @@ -28286,172 +28548,172 @@ trimValues: !0, cdataTagName: !1, cdataPositionChar: "\\c", - tagValueProcessor: function(e, t) { - return e + tagValueProcessor: function(t, e) { + return t }, - attrValueProcessor: function(e, t) { - return e + attrValueProcessor: function(t, e) { + return t }, stopNodes: [] }; - t.defaultOptions = a; + e.defaultOptions = a; const s = ["attributeNamePrefix", "attrNodeName", "textNodeName", "ignoreAttributes", "ignoreNameSpace", "allowBooleanAttributes", "parseNodeValue", "parseAttributeValue", "arrayMode", "trimValues", "cdataTagName", "cdataPositionChar", "tagValueProcessor", "attrValueProcessor", "parseTrueNumberOnly", "stopNodes"]; - function c(e, t, r) { - return t && (r.trimValues && (t = t.trim()), - t = r.tagValueProcessor(t, e), - t = d(t, r.parseNodeValue, r.parseTrueNumberOnly)), - t + function c(t, e, r) { + return e && (r.trimValues && (e = e.trim()), + e = r.tagValueProcessor(e, t), + e = d(e, r.parseNodeValue, r.parseTrueNumberOnly)), + e } - function u(e, t) { - if (t.ignoreNameSpace) { - const t = e.split(":") - , r = "/" === e.charAt(0) ? "/" : ""; - if ("xmlns" === t[0]) + function u(t, e) { + if (e.ignoreNameSpace) { + const e = t.split(":") + , r = "/" === t.charAt(0) ? "/" : ""; + if ("xmlns" === e[0]) return ""; - 2 === t.length && (e = r + t[1]) + 2 === e.length && (t = r + e[1]) } - return e + return t } - function d(e, t, r) { - if (t && "string" === typeof e) { - let t; - return "" === e.trim() || isNaN(e) ? t = "true" === e || "false" !== e && e : (-1 !== e.indexOf("0x") ? t = Number.parseInt(e, 16) : -1 !== e.indexOf(".") ? (t = Number.parseFloat(e), - e = e.replace(/\.?0+$/, "")) : t = Number.parseInt(e, 10), - r && (t = String(t) === e ? t : e)), - t + function d(t, e, r) { + if (e && "string" === typeof t) { + let e; + return "" === t.trim() || isNaN(t) ? e = "true" === t || "false" !== t && t : (-1 !== t.indexOf("0x") ? e = Number.parseInt(t, 16) : -1 !== t.indexOf(".") ? (e = Number.parseFloat(t), + t = t.replace(/\.?0+$/, "")) : e = Number.parseInt(t, 10), + r && (e = String(e) === t ? e : t)), + e } - return n.isExist(e) ? e : "" + return n.isExist(t) ? t : "" } - t.props = s; + e.props = s; const l = new RegExp("([^\\s=]+)\\s*(=\\s*(['\"])(.*?)\\3)?","g"); - function f(e, t) { - if (!t.ignoreAttributes && "string" === typeof e) { - e = e.replace(/\r?\n/g, " "); - const r = n.getAllMatches(e, l) + function f(t, e) { + if (!e.ignoreAttributes && "string" === typeof t) { + t = t.replace(/\r?\n/g, " "); + const r = n.getAllMatches(t, l) , i = r.length , o = {}; - for (let e = 0; e < i; e++) { - const n = u(r[e][1], t); - n.length && (void 0 !== r[e][4] ? (t.trimValues && (r[e][4] = r[e][4].trim()), - r[e][4] = t.attrValueProcessor(r[e][4], n), - o[t.attributeNamePrefix + n] = d(r[e][4], t.parseAttributeValue, t.parseTrueNumberOnly)) : t.allowBooleanAttributes && (o[t.attributeNamePrefix + n] = !0)) + for (let t = 0; t < i; t++) { + const n = u(r[t][1], e); + n.length && (void 0 !== r[t][4] ? (e.trimValues && (r[t][4] = r[t][4].trim()), + r[t][4] = e.attrValueProcessor(r[t][4], n), + o[e.attributeNamePrefix + n] = d(r[t][4], e.parseAttributeValue, e.parseTrueNumberOnly)) : e.allowBooleanAttributes && (o[e.attributeNamePrefix + n] = !0)) } if (!Object.keys(o).length) return; - if (t.attrNodeName) { - const e = {}; - return e[t.attrNodeName] = o, - e + if (e.attrNodeName) { + const t = {}; + return t[e.attrNodeName] = o, + t } return o } } - const h = function(e, t) { - e = e.replace(/\r\n?/g, "\n"), - t = i(t, a, s); + const h = function(t, e) { + t = t.replace(/\r\n?/g, "\n"), + e = i(e, a, s); const r = new o("!xml"); let u = r , d = ""; - for (let i = 0; i < e.length; i++) { - const r = e[i]; + for (let i = 0; i < t.length; i++) { + const r = t[i]; if ("<" === r) - if ("/" === e[i + 1]) { - const r = m(e, ">", i, "Closing Tag is not closed."); - let o = e.substring(i + 2, r).trim(); - if (t.ignoreNameSpace) { - const e = o.indexOf(":"); - -1 !== e && (o = o.substr(e + 1)) + if ("/" === t[i + 1]) { + const r = m(t, ">", i, "Closing Tag is not closed."); + let o = t.substring(i + 2, r).trim(); + if (e.ignoreNameSpace) { + const t = o.indexOf(":"); + -1 !== t && (o = o.substr(t + 1)) } - u && (u.val ? u.val = n.getValue(u.val) + "" + c(o, d, t) : u.val = c(o, d, t)), - t.stopNodes.length && t.stopNodes.includes(u.tagname) && (u.child = [], + u && (u.val ? u.val = n.getValue(u.val) + "" + c(o, d, e) : u.val = c(o, d, e)), + e.stopNodes.length && e.stopNodes.includes(u.tagname) && (u.child = [], void 0 == u.attrsMap && (u.attrsMap = {}), - u.val = e.substr(u.startIndex + 1, i - u.startIndex - 1)), + u.val = t.substr(u.startIndex + 1, i - u.startIndex - 1)), u = u.parent, d = "", i = r - } else if ("?" === e[i + 1]) - i = m(e, "?>", i, "Pi Tag is not closed."); - else if ("!--" === e.substr(i + 1, 3)) - i = m(e, "--\x3e", i, "Comment is not closed."); - else if ("!D" === e.substr(i + 1, 2)) { - const t = m(e, ">", i, "DOCTYPE is not closed.") - , r = e.substring(i, t); - i = r.indexOf("[") >= 0 ? e.indexOf("]>", i) + 1 : t - } else if ("![" === e.substr(i + 1, 2)) { - const r = m(e, "]]>", i, "CDATA is not closed.") - 2 - , a = e.substring(i + 9, r); - if (d && (u.val = n.getValue(u.val) + "" + c(u.tagname, d, t), + } else if ("?" === t[i + 1]) + i = m(t, "?>", i, "Pi Tag is not closed."); + else if ("!--" === t.substr(i + 1, 3)) + i = m(t, "--\x3e", i, "Comment is not closed."); + else if ("!D" === t.substr(i + 1, 2)) { + const e = m(t, ">", i, "DOCTYPE is not closed.") + , r = t.substring(i, e); + i = r.indexOf("[") >= 0 ? t.indexOf("]>", i) + 1 : e + } else if ("![" === t.substr(i + 1, 2)) { + const r = m(t, "]]>", i, "CDATA is not closed.") - 2 + , a = t.substring(i + 9, r); + if (d && (u.val = n.getValue(u.val) + "" + c(u.tagname, d, e), d = ""), - t.cdataTagName) { - const e = new o(t.cdataTagName,u,a); - u.addChild(e), - u.val = n.getValue(u.val) + t.cdataPositionChar, - a && (e.val = a) + e.cdataTagName) { + const t = new o(e.cdataTagName,u,a); + u.addChild(t), + u.val = n.getValue(u.val) + e.cdataPositionChar, + a && (t.val = a) } else u.val = (u.val || "") + (a || ""); i = r + 2 } else { - const r = p(e, i + 1); + const r = p(t, i + 1); let a = r.data; const s = r.index , l = a.indexOf(" "); let h = a; if (-1 !== l && (h = a.substr(0, l).replace(/\s\s*$/, ""), a = a.substr(l + 1)), - t.ignoreNameSpace) { - const e = h.indexOf(":"); - -1 !== e && (h = h.substr(e + 1)) + e.ignoreNameSpace) { + const t = h.indexOf(":"); + -1 !== t && (h = h.substr(t + 1)) } - if (u && d && "!xml" !== u.tagname && (u.val = n.getValue(u.val) + "" + c(u.tagname, d, t)), + if (u && d && "!xml" !== u.tagname && (u.val = n.getValue(u.val) + "" + c(u.tagname, d, e)), a.length > 0 && a.lastIndexOf("/") === a.length - 1) { "/" === h[h.length - 1] ? (h = h.substr(0, h.length - 1), a = h) : a = a.substr(0, a.length - 1); - const e = new o(h,u,""); - h !== a && (e.attrsMap = f(a, t)), - u.addChild(e) + const t = new o(h,u,""); + h !== a && (t.attrsMap = f(a, e)), + u.addChild(t) } else { - const e = new o(h,u); - t.stopNodes.length && t.stopNodes.includes(e.tagname) && (e.startIndex = s), - h !== a && (e.attrsMap = f(a, t)), - u.addChild(e), - u = e + const t = new o(h,u); + e.stopNodes.length && e.stopNodes.includes(t.tagname) && (t.startIndex = s), + h !== a && (t.attrsMap = f(a, e)), + u.addChild(t), + u = t } d = "", i = s } else - d += e[i] + d += t[i] } return r }; - function p(e, t) { + function p(t, e) { let r, n = ""; - for (let i = t; i < e.length; i++) { - let t = e[i]; + for (let i = e; i < t.length; i++) { + let e = t[i]; if (r) - t === r && (r = ""); - else if ('"' === t || "'" === t) - r = t; + e === r && (r = ""); + else if ('"' === e || "'" === e) + r = e; else { - if (">" === t) + if (">" === e) return { data: n, index: i }; - "\t" === t && (t = " ") + "\t" === e && (e = " ") } - n += t + n += e } } - function m(e, t, r, n) { - const i = e.indexOf(t, r); + function m(t, e, r, n) { + const i = t.indexOf(e, r); if (-1 === i) throw new Error(n); - return i + t.length - 1 + return i + e.length - 1 } - t.getTraversalObj = h + e.getTraversalObj = h }, - "8a79": function(e, t, r) { + "8a79": function(t, e, r) { "use strict"; var n = r("23e7") , i = r("e330") @@ -28467,32 +28729,32 @@ , p = Math.min , m = d("endsWith") , b = !l && !m && !!function() { - var e = o(String.prototype, "endsWith"); - return e && !e.writable + var t = o(String.prototype, "endsWith"); + return t && !t.writable }(); n({ target: "String", proto: !0, forced: !b && !m }, { - endsWith: function(e) { - var t = s(u(this)); - c(e); + endsWith: function(t) { + var e = s(u(this)); + c(t); var r = arguments.length > 1 ? arguments[1] : void 0 - , n = t.length + , n = e.length , i = void 0 === r ? n : p(a(r), n) - , o = s(e); - return f ? f(t, o, i) : h(t, i - o.length, i) === o + , o = s(t); + return f ? f(e, o, i) : h(e, i - o.length, i) === o } }) }, - "8ac5": function(e, t, r) { + "8ac5": function(t, e, r) { r("e260"), r("c1f9"); var n = r("428f"); - e.exports = n.Object.fromEntries + t.exports = n.Object.fromEntries }, - "8ba4": function(e, t, r) { + "8ba4": function(t, e, r) { var n = r("23e7") , i = r("eac5"); n({ @@ -28502,21 +28764,21 @@ isInteger: i }) }, - "8df4": function(e, t, r) { + "8df4": function(t, e, r) { "use strict"; var n = r("7a77"); - function i(e) { - if ("function" !== typeof e) + function i(t) { + if ("function" !== typeof t) throw new TypeError("executor must be a function."); - var t; - this.promise = new Promise((function(e) { - t = e + var e; + this.promise = new Promise((function(t) { + e = t } )); var r = this; - e((function(e) { - r.reason || (r.reason = new n(e), - t(r.reason)) + t((function(t) { + r.reason || (r.reason = new n(t), + e(r.reason)) } )) } @@ -28526,36 +28788,36 @@ } , i.source = function() { - var e, t = new i((function(t) { - e = t + var t, e = new i((function(e) { + t = e } )); return { - token: t, - cancel: e + token: e, + cancel: t } } , - e.exports = i + t.exports = i }, - "8edd": function(e, t, r) { + "8edd": function(t, e, r) { var n = r("746f"); n("matchAll") }, - "8f2a": function(e, t, r) { + "8f2a": function(t, e, r) { r("2954") }, - "8f4c": function(e, t, r) { + "8f4c": function(t, e, r) { r("8a79"); var n = r("b109"); - e.exports = n("String", "endsWith") + t.exports = n("String", "endsWith") }, - 9020: function(e, t, r) { + 9020: function(t, e, r) { r("9129"); var n = r("428f"); - e.exports = n.Number.isNaN + t.exports = n.Number.isNaN }, - "90d7": function(e, t, r) { + "90d7": function(t, e, r) { var n = r("23e7") , i = Math.log , o = Math.LN2; @@ -28563,114 +28825,114 @@ target: "Math", stat: !0 }, { - log2: function(e) { - return i(e) / o + log2: function(t) { + return i(t) / o } }) }, - "90da": function(e, t, r) { + "90da": function(t, e, r) { "use strict"; const n = ":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" , i = n + "\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040" , o = "[" + n + "][" + i + "]*" , a = new RegExp("^" + o + "$") - , s = function(e, t) { + , s = function(t, e) { const r = []; - let n = t.exec(e); + let n = e.exec(t); while (n) { const i = [] , o = n.length; - for (let e = 0; e < o; e++) - i.push(n[e]); + for (let t = 0; t < o; t++) + i.push(n[t]); r.push(i), - n = t.exec(e) + n = e.exec(t) } return r } - , c = function(e) { - const t = a.exec(e); - return !(null === t || "undefined" === typeof t) + , c = function(t) { + const e = a.exec(t); + return !(null === e || "undefined" === typeof e) }; - t.isExist = function(e) { - return "undefined" !== typeof e + e.isExist = function(t) { + return "undefined" !== typeof t } , - t.isEmptyObject = function(e) { - return 0 === Object.keys(e).length + e.isEmptyObject = function(t) { + return 0 === Object.keys(t).length } , - t.merge = function(e, t, r) { - if (t) { - const n = Object.keys(t) + e.merge = function(t, e, r) { + if (e) { + const n = Object.keys(e) , i = n.length; for (let o = 0; o < i; o++) - e[n[o]] = "strict" === r ? [t[n[o]]] : t[n[o]] + t[n[o]] = "strict" === r ? [e[n[o]]] : e[n[o]] } } , - t.getValue = function(e) { - return t.isExist(e) ? e : "" + e.getValue = function(t) { + return e.isExist(t) ? t : "" } , - t.buildOptions = function(e, t, r) { + e.buildOptions = function(t, e, r) { var n = {}; - if (!e) - return t; + if (!t) + return e; for (let i = 0; i < r.length; i++) - void 0 !== e[r[i]] ? n[r[i]] = e[r[i]] : n[r[i]] = t[r[i]]; + void 0 !== t[r[i]] ? n[r[i]] = t[r[i]] : n[r[i]] = e[r[i]]; return n } , - t.isName = c, - t.getAllMatches = s, - t.nameRegexp = o + e.isName = c, + e.getAllMatches = s, + e.nameRegexp = o }, - "90e3": function(e, t, r) { + "90e3": function(t, e, r) { var n = r("e330") , i = 0 , o = Math.random() , a = n(1..toString); - e.exports = function(e) { - return "Symbol(" + (void 0 === e ? "" : e) + ")_" + a(++i + o, 36) + t.exports = function(t) { + return "Symbol(" + (void 0 === t ? "" : t) + ")_" + a(++i + o, 36) } }, - 9112: function(e, t, r) { + 9112: function(t, e, 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)) + t.exports = n ? function(t, e, r) { + return i.f(t, e, o(1, r)) } - : function(e, t, r) { - return e[t] = r, - e + : function(t, e, r) { + return t[e] = r, + t } }, - 9129: function(e, t, r) { + 9129: function(t, e, r) { var n = r("23e7"); n({ target: "Number", stat: !0 }, { - isNaN: function(e) { - return e != e + isNaN: function(t) { + return t != t } }) }, - 9152: function(e, t) { + 9152: function(t, e) { /*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh */ - t.read = function(e, t, r, n, i) { - var o, a, s = 8 * i - n - 1, c = (1 << s) - 1, u = c >> 1, d = -7, l = r ? i - 1 : 0, f = r ? -1 : 1, h = e[t + l]; + e.read = function(t, e, r, n, i) { + var o, a, s = 8 * i - n - 1, c = (1 << s) - 1, u = c >> 1, d = -7, l = r ? i - 1 : 0, f = r ? -1 : 1, h = t[e + l]; for (l += f, o = h & (1 << -d) - 1, h >>= -d, - d += s; d > 0; o = 256 * o + e[t + l], + d += s; d > 0; o = 256 * o + t[e + l], l += f, d -= 8) ; for (a = o & (1 << -d) - 1, o >>= -d, - d += n; d > 0; a = 256 * a + e[t + l], + d += n; d > 0; a = 256 * a + t[e + l], l += f, d -= 8) ; @@ -28685,63 +28947,63 @@ return (h ? -1 : 1) * a * Math.pow(2, o - n) } , - t.write = function(e, t, r, n, i, o) { - var a, s, c, u = 8 * o - i - 1, d = (1 << u) - 1, l = d >> 1, f = 23 === i ? Math.pow(2, -24) - Math.pow(2, -77) : 0, h = n ? 0 : o - 1, p = 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 = d) : (a = Math.floor(Math.log(t) / Math.LN2), - t * (c = Math.pow(2, -a)) < 1 && (a--, + e.write = function(t, e, r, n, i, o) { + var a, s, c, u = 8 * o - i - 1, d = (1 << u) - 1, l = d >> 1, f = 23 === i ? Math.pow(2, -24) - Math.pow(2, -77) : 0, h = n ? 0 : o - 1, p = n ? 1 : -1, m = e < 0 || 0 === e && 1 / e < 0 ? 1 : 0; + for (e = Math.abs(e), + isNaN(e) || e === 1 / 0 ? (s = isNaN(e) ? 1 : 0, + a = d) : (a = Math.floor(Math.log(e) / Math.LN2), + e * (c = Math.pow(2, -a)) < 1 && (a--, c *= 2), - t += a + l >= 1 ? f / c : f * Math.pow(2, 1 - l), - t * c >= 2 && (a++, + e += a + l >= 1 ? f / c : f * Math.pow(2, 1 - l), + e * c >= 2 && (a++, c /= 2), a + l >= d ? (s = 0, - a = d) : a + l >= 1 ? (s = (t * c - 1) * Math.pow(2, i), - a += l) : (s = t * Math.pow(2, l - 1) * Math.pow(2, i), - a = 0)); i >= 8; e[r + h] = 255 & s, + a = d) : a + l >= 1 ? (s = (e * c - 1) * Math.pow(2, i), + a += l) : (s = e * Math.pow(2, l - 1) * Math.pow(2, i), + a = 0)); i >= 8; t[r + h] = 255 & s, h += p, s /= 256, i -= 8) ; for (a = a << i | s, - u += i; u > 0; e[r + h] = 255 & a, + u += i; u > 0; t[r + h] = 255 & a, h += p, a /= 256, u -= 8) ; - e[r + h - p] |= 128 * m + t[r + h - p] |= 128 * m } }, - "944a": function(e, t, r) { + "944a": function(t, e, r) { var n = r("d066") , i = r("746f") , o = r("d44e"); i("toStringTag"), o(n("Symbol"), "Symbol") }, - "94ca": function(e, t, r) { + "94ca": function(t, e, r) { var n = r("d039") , i = r("1626") , o = /#|\.prototype\./ - , a = function(e, t) { - var r = c[s(e)]; - return r == d || r != u && (i(t) ? n(t) : !!t) + , a = function(t, e) { + var r = c[s(t)]; + return r == d || r != u && (i(e) ? n(e) : !!e) } - , s = a.normalize = function(e) { - return String(e).replace(o, ".").toLowerCase() + , s = a.normalize = function(t) { + return String(t).replace(o, ".").toLowerCase() } , c = a.data = {} , u = a.NATIVE = "N" , d = a.POLYFILL = "P"; - e.exports = a + t.exports = a }, - "967a": function(e, t, r) { + "967a": function(t, e, r) { r("bb56") }, - 9861: function(e, t, r) { + 9861: function(t, e, r) { r("5352") }, - "99af": function(e, t, r) { + "99af": function(t, e, r) { "use strict"; var n = r("23e7") , i = r("da84") @@ -28760,17 +29022,17 @@ , g = "Maximum allowed index exceeded" , y = i.TypeError , v = p >= 51 || !o((function() { - var e = []; - return e[m] = !1, - e.concat()[0] !== e + var t = []; + return t[m] = !1, + t.concat()[0] !== t } )) , S = f("concat") - , w = function(e) { - if (!s(e)) + , w = function(t) { + if (!s(t)) return !1; - var t = e[m]; - return void 0 !== t ? !!t : a(e) + var e = t[m]; + return void 0 !== e ? !!e : a(t) } , C = !v || !S; n({ @@ -28779,11 +29041,11 @@ arity: 1, forced: C }, { - concat: function(e) { - var t, r, n, i, o, a = c(this), s = l(a, 0), f = 0; - for (t = -1, - n = arguments.length; t < n; t++) - if (o = -1 === t ? a : arguments[t], + concat: function(t) { + var e, r, n, i, o, a = c(this), s = l(a, 0), f = 0; + for (e = -1, + n = arguments.length; e < n; e++) + if (o = -1 === e ? a : arguments[e], w(o)) { if (i = u(o), f + i > b) @@ -28801,11 +29063,11 @@ } }) }, - "9a0c": function(e, t, r) { + "9a0c": function(t, e, r) { var n = r("342f"); - e.exports = /Version\/10(?:\.\d+){1,2}(?: [\w./]+)?(?: Mobile\/\w+)? Safari\//.test(n) + t.exports = /Version\/10(?:\.\d+){1,2}(?: [\w./]+)?(?: Mobile\/\w+)? Safari\//.test(n) }, - "9a1f": function(e, t, r) { + "9a1f": function(t, e, r) { var n = r("da84") , i = r("c65b") , o = r("59ed") @@ -28813,33 +29075,2845 @@ , s = r("0d51") , c = r("35a1") , u = n.TypeError; - e.exports = function(e, t) { - var r = arguments.length < 2 ? c(e) : t; + t.exports = function(t, e) { + var r = arguments.length < 2 ? c(t) : e; if (o(r)) - return a(i(r, e)); - throw u(s(e) + " is not iterable") + return a(i(r, t)); + throw u(s(t) + " is not iterable") } }, - "9a35": function(e, t, r) { + "9a35": function(t, e, r) { r("e260"), r("d3b7"), r("6062"), r("3ca3"); var n = r("428f"); - e.exports = n.Set + t.exports = n.Set }, - "9bdd": function(e, t, r) { + "9a6e": function(t, e, r) { + var n, i, o; + function a(t) { + return a = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(t) { + return typeof t + } + : function(t) { + return t && "function" == typeof Symbol && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t + } + , + a(t) + } + !function(r, s) { + "object" == a(e) && "undefined" != typeof t ? s(e) : (i = [e], + n = s, + o = "function" === typeof n ? n.apply(e, i) : n, + void 0 === o || (t.exports = o)) + }(0, (function(t) { + "use strict"; + var e = "0123456789abcdefghijklmnopqrstuvwxyz"; + function r(t) { + return e.charAt(t) + } + function n(t, e) { + return t & e + } + function i(t, e) { + return t | e + } + function o(t, e) { + return t ^ e + } + function a(t, e) { + return t & ~e + } + var s = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"; + function c(t) { + for (var e, r = "", n = 0; n + 3 <= t.length; n += 3) + e = parseInt(t.substring(n, n + 3), 16), + r += s.charAt(e >> 6) + s.charAt(63 & e); + for (n + 1 == t.length ? (e = parseInt(t.substring(n, n + 1), 16), + r += s.charAt(e << 2)) : n + 2 == t.length && (e = parseInt(t.substring(n, n + 2), 16), + r += s.charAt(e >> 2) + s.charAt((3 & e) << 4)); 0 < (3 & r.length); ) + r += "="; + return r + } + function u(t) { + for (var e = "", n = 0, i = 0, o = 0; o < t.length && "=" != t.charAt(o); ++o) { + var a = s.indexOf(t.charAt(o)); + a < 0 || (n = 0 == n ? (e += r(a >> 2), + i = 3 & a, + 1) : 1 == n ? (e += r(i << 2 | a >> 4), + i = 15 & a, + 2) : 2 == n ? (e += r(i), + e += r(a >> 2), + i = 3 & a, + 3) : (e += r(i << 2 | a >> 4), + e += r(15 & a), + 0)) + } + return 1 == n && (e += r(i << 2)), + e + } + var d, l, f = function(t, e) { + return (f = Object.setPrototypeOf || { + __proto__: [] + }instanceof Array && function(t, e) { + t.__proto__ = e + } + || function(t, e) { + for (var r in e) + e.hasOwnProperty(r) && (t[r] = e[r]) + } + )(t, e) + }, h = function(t) { + if (void 0 === d) { + var e = "0123456789ABCDEF" + , r = " \f\n\r\t \u2028\u2029"; + for (d = {}, + a = 0; a < 16; ++a) + d[e.charAt(a)] = a; + for (e = e.toLowerCase(), + a = 10; a < 16; ++a) + d[e.charAt(a)] = a; + for (a = 0; a < r.length; ++a) + d[r.charAt(a)] = -1 + } + for (var n = [], i = 0, o = 0, a = 0; a < t.length; ++a) { + var s = t.charAt(a); + if ("=" == s) + break; + if (-1 != (s = d[s])) { + if (void 0 === s) + throw new Error("Illegal character at offset " + a); + i |= s, + 2 <= ++o ? (n[n.length] = i, + o = i = 0) : i <<= 4 + } + } + if (o) + throw new Error("Hex encoding incomplete: 4 bits missing"); + return n + }, p = { + decode: function(t) { + if (void 0 === l) { + var e = "= \f\n\r\t \u2028\u2029"; + for (l = Object.create(null), + o = 0; o < 64; ++o) + l["ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(o)] = o; + for (o = 0; o < e.length; ++o) + l[e.charAt(o)] = -1 + } + for (var r = [], n = 0, i = 0, o = 0; o < t.length; ++o) { + var a = t.charAt(o); + if ("=" == a) + break; + if (-1 != (a = l[a])) { + if (void 0 === a) + throw new Error("Illegal character at offset " + o); + n |= a, + 4 <= ++i ? (r[r.length] = n >> 16, + r[r.length] = n >> 8 & 255, + r[r.length] = 255 & n, + i = n = 0) : n <<= 6 + } + } + switch (i) { + case 1: + throw new Error("Base64 encoding incomplete: at least 2 bits missing"); + case 2: + r[r.length] = n >> 10; + break; + case 3: + r[r.length] = n >> 16, + r[r.length] = n >> 8 & 255 + } + return r + }, + re: /-----BEGIN [^-]+-----([A-Za-z0-9+\/=\s]+)-----END [^-]+-----|begin-base64[^\n]+\n([A-Za-z0-9+\/=\s]+)====/, + unarmor: function(t) { + var e = p.re.exec(t); + if (e) + if (e[1]) + t = e[1]; + else { + if (!e[2]) + throw new Error("RegExp out of sync"); + t = e[2] + } + return p.decode(t) + } + }, m = 1e13, b = (g.prototype.mulAdd = function(t, e) { + for (var r, n = this.buf, i = n.length, o = 0; o < i; ++o) + (r = n[o] * t + e) < m ? e = 0 : r -= (e = 0 | r / m) * m, + n[o] = r; + 0 < e && (n[o] = e) + } + , + g.prototype.sub = function(t) { + for (var e, r = this.buf, n = r.length, i = 0; i < n; ++i) + t = (e = r[i] - t) < 0 ? (e += m, + 1) : 0, + r[i] = e; + for (; 0 === r[r.length - 1]; ) + r.pop() + } + , + g.prototype.toString = function(t) { + if (10 != (t || 10)) + throw new Error("only base 10 is supported"); + for (var e = this.buf, r = e[e.length - 1].toString(), n = e.length - 2; 0 <= n; --n) + r += (m + e[n]).toString().substring(1); + return r + } + , + g.prototype.valueOf = function() { + for (var t = this.buf, e = 0, r = t.length - 1; 0 <= r; --r) + e = e * m + t[r]; + return e + } + , + g.prototype.simplify = function() { + var t = this.buf; + return 1 == t.length ? t[0] : this + } + , + g); + function g(t) { + this.buf = [+t || 0] + } + var y = "…" + , v = /^(\d\d)(0[1-9]|1[0-2])(0[1-9]|[12]\d|3[01])([01]\d|2[0-3])(?:([0-5]\d)(?:([0-5]\d)(?:[.,](\d{1,3}))?)?)?(Z|[-+](?:[0]\d|1[0-2])([0-5]\d)?)?$/ + , S = /^(\d\d\d\d)(0[1-9]|1[0-2])(0[1-9]|[12]\d|3[01])([01]\d|2[0-3])(?:([0-5]\d)(?:([0-5]\d)(?:[.,](\d{1,3}))?)?)?(Z|[-+](?:[0]\d|1[0-2])([0-5]\d)?)?$/; + function w(t, e) { + return t.length > e && (t = t.substring(0, e) + y), + t + } + var C = (_.prototype.get = function(t) { + if (void 0 === t && (t = this.pos++), + t >= this.enc.length) + throw new Error("Requesting byte offset " + t + " on a stream of length " + this.enc.length); + return "string" == typeof this.enc ? this.enc.charCodeAt(t) : this.enc[t] + } + , + _.prototype.hexByte = function(t) { + return this.hexDigits.charAt(t >> 4 & 15) + this.hexDigits.charAt(15 & t) + } + , + _.prototype.hexDump = function(t, e, r) { + for (var n = "", i = t; i < e; ++i) + if (n += this.hexByte(this.get(i)), + !0 !== r) + switch (15 & i) { + case 7: + n += " "; + break; + case 15: + n += "\n"; + break; + default: + n += " " + } + return n + } + , + _.prototype.isASCII = function(t, e) { + for (var r = t; r < e; ++r) { + var n = this.get(r); + if (n < 32 || 176 < n) + return !1 + } + return !0 + } + , + _.prototype.parseStringISO = function(t, e) { + for (var r = "", n = t; n < e; ++n) + r += String.fromCharCode(this.get(n)); + return r + } + , + _.prototype.parseStringUTF = function(t, e) { + for (var r = "", n = t; n < e; ) { + var i = this.get(n++); + r += i < 128 ? String.fromCharCode(i) : 191 < i && i < 224 ? String.fromCharCode((31 & i) << 6 | 63 & this.get(n++)) : String.fromCharCode((15 & i) << 12 | (63 & this.get(n++)) << 6 | 63 & this.get(n++)) + } + return r + } + , + _.prototype.parseStringBMP = function(t, e) { + for (var r, n, i = "", o = t; o < e; ) + r = this.get(o++), + n = this.get(o++), + i += String.fromCharCode(r << 8 | n); + return i + } + , + _.prototype.parseTime = function(t, e, r) { + return t = this.parseStringISO(t, e), + e = (r ? v : S).exec(t), + e ? (r && (e[1] = +e[1], + e[1] += +e[1] < 70 ? 2e3 : 1900), + t = e[1] + "-" + e[2] + "-" + e[3] + " " + e[4], + e[5] && (t += ":" + e[5], + e[6] && (t += ":" + e[6], + e[7] && (t += "." + e[7]))), + e[8] && (t += " UTC", + "Z" != e[8] && (t += e[8], + e[9] && (t += ":" + e[9]))), + t) : "Unrecognized time: " + t + } + , + _.prototype.parseInteger = function(t, e) { + for (var r, n = this.get(t), i = 127 < n, o = i ? 255 : 0, a = ""; n == o && ++t < e; ) + n = this.get(t); + if (0 === (r = e - t)) + return i ? -1 : 0; + if (4 < r) { + for (a = n, + r <<= 3; 0 == (128 & (+a ^ o)); ) + a = +a << 1, + --r; + a = "(" + r + " bit)\n" + } + i && (n -= 256); + for (var s = new b(n), c = t + 1; c < e; ++c) + s.mulAdd(256, this.get(c)); + return a + s.toString() + } + , + _.prototype.parseBitString = function(t, e, r) { + for (var n = this.get(t), i = "(" + ((e - t - 1 << 3) - n) + " bit)\n", o = "", a = t + 1; a < e; ++a) { + for (var s = this.get(a), c = a == e - 1 ? n : 0, u = 7; c <= u; --u) + o += s >> u & 1 ? "1" : "0"; + if (o.length > r) + return i + w(o, r) + } + return i + o + } + , + _.prototype.parseOctetString = function(t, e, r) { + if (this.isASCII(t, e)) + return w(this.parseStringISO(t, e), r); + var n = e - t + , i = "(" + n + " byte)\n"; + (r /= 2) < n && (e = t + r); + for (var o = t; o < e; ++o) + i += this.hexByte(this.get(o)); + return r < n && (i += y), + i + } + , + _.prototype.parseOID = function(t, e, r) { + for (var n = "", i = new b, o = 0, a = t; a < e; ++a) { + var s = this.get(a); + if (i.mulAdd(128, 127 & s), + o += 7, + !(128 & s)) { + if ("" === n ? n = (i = i.simplify())instanceof b ? (i.sub(80), + "2." + i.toString()) : (s = i < 80 ? i < 40 ? 0 : 1 : 2) + "." + (i - 40 * s) : n += "." + i.toString(), + n.length > r) + return w(n, r); + i = new b, + o = 0 + } + } + return 0 < o && (n += ".incomplete"), + n + } + , + _); + function _(t, e) { + this.hexDigits = "0123456789ABCDEF", + t instanceof _ ? (this.enc = t.enc, + this.pos = t.pos) : (this.enc = t, + this.pos = e) + } + var A = (I.prototype.typeName = function() { + switch (this.tag.tagClass) { + case 0: + switch (this.tag.tagNumber) { + case 0: + return "EOC"; + case 1: + return "BOOLEAN"; + case 2: + return "INTEGER"; + case 3: + return "BIT_STRING"; + case 4: + return "OCTET_STRING"; + case 5: + return "NULL"; + case 6: + return "OBJECT_IDENTIFIER"; + case 7: + return "ObjectDescriptor"; + case 8: + return "EXTERNAL"; + case 9: + return "REAL"; + case 10: + return "ENUMERATED"; + case 11: + return "EMBEDDED_PDV"; + case 12: + return "UTF8String"; + case 16: + return "SEQUENCE"; + case 17: + return "SET"; + case 18: + return "NumericString"; + case 19: + return "PrintableString"; + case 20: + return "TeletexString"; + case 21: + return "VideotexString"; + case 22: + return "IA5String"; + case 23: + return "UTCTime"; + case 24: + return "GeneralizedTime"; + case 25: + return "GraphicString"; + case 26: + return "VisibleString"; + case 27: + return "GeneralString"; + case 28: + return "UniversalString"; + case 30: + return "BMPString" + } + return "Universal_" + this.tag.tagNumber.toString(); + case 1: + return "Application_" + this.tag.tagNumber.toString(); + case 2: + return "[" + this.tag.tagNumber.toString() + "]"; + case 3: + return "Private_" + this.tag.tagNumber.toString() + } + } + , + I.prototype.content = function(t) { + if (void 0 === this.tag) + return null; + void 0 === t && (t = 1 / 0); + var e = this.posContent() + , r = Math.abs(this.length); + if (!this.tag.isUniversal()) + return null !== this.sub ? "(" + this.sub.length + " elem)" : this.stream.parseOctetString(e, e + r, t); + switch (this.tag.tagNumber) { + case 1: + return 0 === this.stream.get(e) ? "false" : "true"; + case 2: + return this.stream.parseInteger(e, e + r); + case 3: + return this.sub ? "(" + this.sub.length + " elem)" : this.stream.parseBitString(e, e + r, t); + case 4: + return this.sub ? "(" + this.sub.length + " elem)" : this.stream.parseOctetString(e, e + r, t); + case 6: + return this.stream.parseOID(e, e + r, t); + case 16: + case 17: + return null !== this.sub ? "(" + this.sub.length + " elem)" : "(no elem)"; + case 12: + return w(this.stream.parseStringUTF(e, e + r), t); + case 18: + case 19: + case 20: + case 21: + case 22: + case 26: + return w(this.stream.parseStringISO(e, e + r), t); + case 30: + return w(this.stream.parseStringBMP(e, e + r), t); + case 23: + case 24: + return this.stream.parseTime(e, e + r, 23 == this.tag.tagNumber) + } + return null + } + , + I.prototype.toString = function() { + return this.typeName() + "@" + this.stream.pos + "[header:" + this.header + ",length:" + this.length + ",sub:" + (null === this.sub ? "null" : this.sub.length) + "]" + } + , + I.prototype.toPrettyString = function(t) { + void 0 === t && (t = ""); + var e = t + this.typeName() + " @" + this.stream.pos; + if (0 <= this.length && (e += "+"), + e += this.length, + this.tag.tagConstructed ? e += " (constructed)" : !this.tag.isUniversal() || 3 != this.tag.tagNumber && 4 != this.tag.tagNumber || null === this.sub || (e += " (encapsulates)"), + e += "\n", + null !== this.sub) { + t += " "; + for (var r = 0, n = this.sub.length; r < n; ++r) + e += this.sub[r].toPrettyString(t) + } + return e + } + , + I.prototype.posStart = function() { + return this.stream.pos + } + , + I.prototype.posContent = function() { + return this.stream.pos + this.header + } + , + I.prototype.posEnd = function() { + return this.stream.pos + this.header + Math.abs(this.length) + } + , + I.prototype.toHexString = function() { + return this.stream.hexDump(this.posStart(), this.posEnd(), !0) + } + , + I.decodeLength = function(t) { + var e = t.get() + , r = 127 & e; + if (r == e) + return r; + if (6 < r) + throw new Error("Length over 48 bits not supported at position " + (t.pos - 1)); + if (0 == r) + return null; + for (var n = e = 0; n < r; ++n) + e = 256 * e + t.get(); + return e + } + , + I.prototype.getHexStringValue = function() { + var t = this.toHexString() + , e = 2 * this.header + , r = 2 * this.length; + return t.substr(e, r) + } + , + I.decode = function(t) { + function e() { + var t = []; + if (null !== o) { + for (var e = a + o; r.pos < e; ) + t[t.length] = I.decode(r); + if (r.pos != e) + throw new Error("Content size is not correct for container starting at offset " + a) + } else + try { + for (; ; ) { + var n = I.decode(r); + if (n.tag.isEOC()) + break; + t[t.length] = n + } + o = a - r.pos + } catch (t) { + throw new Error("Exception while decoding undefined length content: " + t) + } + return t + } + var r = t instanceof C ? t : new C(t,0) + , n = new C(r) + , i = new E(r) + , o = I.decodeLength(r) + , a = r.pos + , s = (t = a - n.pos, + null); + if (i.tagConstructed) + s = e(); + else if (i.isUniversal() && (3 == i.tagNumber || 4 == i.tagNumber)) + try { + if (3 == i.tagNumber && 0 != r.get()) + throw new Error("BIT STRINGs with unused bits cannot encapsulate."); + s = e(); + for (var c = 0; c < s.length; ++c) + if (s[c].tag.isEOC()) + throw new Error("EOC is not supposed to be actual content.") + } catch (t) { + s = null + } + if (null === s) { + if (null === o) + throw new Error("We can't skip over an invalid tag with undefined length at offset " + a); + r.pos = a + Math.abs(o) + } + return new I(n,t,o,i,s) + } + , + I); + function I(t, e, r, n, i) { + if (!(n instanceof E)) + throw new Error("Invalid tag value."); + this.stream = t, + this.header = e, + this.length = r, + this.tag = n, + this.sub = i + } + var E = (T.prototype.isUniversal = function() { + return 0 === this.tagClass + } + , + T.prototype.isEOC = function() { + return 0 === this.tagClass && 0 === this.tagNumber + } + , + T); + function T(t) { + var e = t.get(); + if (this.tagClass = e >> 6, + this.tagConstructed = 0 != (32 & e), + this.tagNumber = 31 & e, + 31 == this.tagNumber) { + for (var r = new b; e = t.get(), + r.mulAdd(128, 127 & e), + 128 & e; ) + ; + this.tagNumber = r.simplify() + } + } + var x = [2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89, 97, 101, 103, 107, 109, 113, 127, 131, 137, 139, 149, 151, 157, 163, 167, 173, 179, 181, 191, 193, 197, 199, 211, 223, 227, 229, 233, 239, 241, 251, 257, 263, 269, 271, 277, 281, 283, 293, 307, 311, 313, 317, 331, 337, 347, 349, 353, 359, 367, 373, 379, 383, 389, 397, 401, 409, 419, 421, 431, 433, 439, 443, 449, 457, 461, 463, 467, 479, 487, 491, 499, 503, 509, 521, 523, 541, 547, 557, 563, 569, 571, 577, 587, 593, 599, 601, 607, 613, 617, 619, 631, 641, 643, 647, 653, 659, 661, 673, 677, 683, 691, 701, 709, 719, 727, 733, 739, 743, 751, 757, 761, 769, 773, 787, 797, 809, 811, 821, 823, 827, 829, 839, 853, 857, 859, 863, 877, 881, 883, 887, 907, 911, 919, 929, 937, 941, 947, 953, 967, 971, 977, 983, 991, 997] + , P = (1 << 26) / x[x.length - 1] + , k = (D.prototype.toString = function(t) { + if (this.s < 0) + return "-" + this.negate().toString(t); + var e; + if (16 == t) + e = 4; + else if (8 == t) + e = 3; + else if (2 == t) + e = 1; + else if (32 == t) + e = 5; + else { + if (4 != t) + return this.toRadix(t); + e = 2 + } + var n, i = (1 << e) - 1, o = !1, a = "", s = this.t, c = this.DB - s * this.DB % e; + if (0 < s--) + for (c < this.DB && 0 < (n = this[s] >> c) && (o = !0, + a = r(n)); 0 <= s; ) + c < e ? (n = (this[s] & (1 << c) - 1) << e - c, + n |= this[--s] >> (c += this.DB - e)) : (n = this[s] >> (c -= e) & i, + c <= 0 && (c += this.DB, + --s)), + 0 < n && (o = !0), + o && (a += r(n)); + return o ? a : "0" + } + , + D.prototype.negate = function() { + var t = L(); + return D.ZERO.subTo(this, t), + t + } + , + D.prototype.abs = function() { + return this.s < 0 ? this.negate() : this + } + , + D.prototype.compareTo = function(t) { + var e = this.s - t.s; + if (0 != e) + return e; + var r = this.t; + if (0 != (e = r - t.t)) + return this.s < 0 ? -e : e; + for (; 0 <= --r; ) + if (0 != (e = this[r] - t[r])) + return e; + return 0 + } + , + D.prototype.bitLength = function() { + return this.t <= 0 ? 0 : this.DB * (this.t - 1) + V(this[this.t - 1] ^ this.s & this.DM) + } + , + D.prototype.mod = function(t) { + var e = L(); + return this.abs().divRemTo(t, null, e), + this.s < 0 && 0 < e.compareTo(D.ZERO) && t.subTo(e, e), + e + } + , + D.prototype.modPowInt = function(t, e) { + return e = new (t < 256 || e.isEven() ? N : B)(e), + this.exp(t, e) + } + , + D.prototype.clone = function() { + var t = L(); + return this.copyTo(t), + t + } + , + D.prototype.intValue = function() { + if (this.s < 0) { + if (1 == this.t) + return this[0] - this.DV; + if (0 == this.t) + return -1 + } else { + if (1 == this.t) + return this[0]; + if (0 == this.t) + return 0 + } + return (this[1] & (1 << 32 - this.DB) - 1) << this.DB | this[0] + } + , + D.prototype.byteValue = function() { + return 0 == this.t ? this.s : this[0] << 24 >> 24 + } + , + D.prototype.shortValue = function() { + return 0 == this.t ? this.s : this[0] << 16 >> 16 + } + , + D.prototype.signum = function() { + return this.s < 0 ? -1 : this.t <= 0 || 1 == this.t && this[0] <= 0 ? 0 : 1 + } + , + D.prototype.toByteArray = function() { + var t = this.t + , e = []; + e[0] = this.s; + var r, n = this.DB - t * this.DB % 8, i = 0; + if (0 < t--) + for (n < this.DB && (r = this[t] >> n) != (this.s & this.DM) >> n && (e[i++] = r | this.s << this.DB - n); 0 <= t; ) + n < 8 ? (r = (this[t] & (1 << n) - 1) << 8 - n, + r |= this[--t] >> (n += this.DB - 8)) : (r = this[t] >> (n -= 8) & 255, + n <= 0 && (n += this.DB, + --t)), + 0 != (128 & r) && (r |= -256), + 0 == i && (128 & this.s) != (128 & r) && ++i, + (0 < i || r != this.s) && (e[i++] = r); + return e + } + , + D.prototype.equals = function(t) { + return 0 == this.compareTo(t) + } + , + D.prototype.min = function(t) { + return this.compareTo(t) < 0 ? this : t + } + , + D.prototype.max = function(t) { + return 0 < this.compareTo(t) ? this : t + } + , + D.prototype.and = function(t) { + var e = L(); + return this.bitwiseTo(t, n, e), + e + } + , + D.prototype.or = function(t) { + var e = L(); + return this.bitwiseTo(t, i, e), + e + } + , + D.prototype.xor = function(t) { + var e = L(); + return this.bitwiseTo(t, o, e), + e + } + , + D.prototype.andNot = function(t) { + var e = L(); + return this.bitwiseTo(t, a, e), + e + } + , + D.prototype.not = function() { + for (var t = L(), e = 0; e < this.t; ++e) + t[e] = this.DM & ~this[e]; + return t.t = this.t, + t.s = ~this.s, + t + } + , + D.prototype.shiftLeft = function(t) { + var e = L(); + return t < 0 ? this.rShiftTo(-t, e) : this.lShiftTo(t, e), + e + } + , + D.prototype.shiftRight = function(t) { + var e = L(); + return t < 0 ? this.lShiftTo(-t, e) : this.rShiftTo(t, e), + e + } + , + D.prototype.getLowestSetBit = function() { + for (var t = 0; t < this.t; ++t) + if (0 != this[t]) + return t * this.DB + function(t) { + if (0 == t) + return -1; + var e = 0; + return 0 == (65535 & t) && (t >>= 16, + e += 16), + 0 == (255 & t) && (t >>= 8, + e += 8), + 0 == (15 & t) && (t >>= 4, + e += 4), + 0 == (3 & t) && (t >>= 2, + e += 2), + 0 == (1 & t) && ++e, + e + }(this[t]); + return this.s < 0 ? this.t * this.DB : -1 + } + , + D.prototype.bitCount = function() { + for (var t = 0, e = this.s & this.DM, r = 0; r < this.t; ++r) + t += function(t) { + for (var e = 0; 0 != t; ) + t &= t - 1, + ++e; + return e + }(this[r] ^ e); + return t + } + , + D.prototype.testBit = function(t) { + var e = Math.floor(t / this.DB); + return e >= this.t ? 0 != this.s : 0 != (this[e] & 1 << t % this.DB) + } + , + D.prototype.setBit = function(t) { + return this.changeBit(t, i) + } + , + D.prototype.clearBit = function(t) { + return this.changeBit(t, a) + } + , + D.prototype.flipBit = function(t) { + return this.changeBit(t, o) + } + , + D.prototype.add = function(t) { + var e = L(); + return this.addTo(t, e), + e + } + , + D.prototype.subtract = function(t) { + var e = L(); + return this.subTo(t, e), + e + } + , + D.prototype.multiply = function(t) { + var e = L(); + return this.multiplyTo(t, e), + e + } + , + D.prototype.divide = function(t) { + var e = L(); + return this.divRemTo(t, e, null), + e + } + , + D.prototype.remainder = function(t) { + var e = L(); + return this.divRemTo(t, null, e), + e + } + , + D.prototype.divideAndRemainder = function(t) { + var e = L() + , r = L(); + return this.divRemTo(t, e, r), + [e, r] + } + , + D.prototype.modPow = function(t, e) { + var r, n, i = t.bitLength(), o = q(1); + if (i <= 0) + return o; + r = i < 18 ? 1 : i < 48 ? 3 : i < 144 ? 4 : i < 768 ? 5 : 6, + n = new (i < 8 ? N : e.isEven() ? j : B)(e); + var a = [] + , s = 3 + , c = r - 1 + , u = (1 << r) - 1; + if (a[1] = n.convert(this), + 1 < r) { + var d = L(); + for (n.sqrTo(a[1], d); s <= u; ) + a[s] = L(), + n.mulTo(d, a[s - 2], a[s]), + s += 2 + } + var l, f, h = t.t - 1, p = !0, m = L(); + for (i = V(t[h]) - 1; 0 <= h; ) { + for (c <= i ? l = t[h] >> i - c & u : (l = (t[h] & (1 << i + 1) - 1) << c - i, + 0 < h && (l |= t[h - 1] >> this.DB + i - c)), + s = r; 0 == (1 & l); ) + l >>= 1, + --s; + if ((i -= s) < 0 && (i += this.DB, + --h), + p) + a[l].copyTo(o), + p = !1; + else { + for (; 1 < s; ) + n.sqrTo(o, m), + n.sqrTo(m, o), + s -= 2; + 0 < s ? n.sqrTo(o, m) : (f = o, + o = m, + m = f), + n.mulTo(m, a[l], o) + } + for (; 0 <= h && 0 == (t[h] & 1 << i); ) + n.sqrTo(o, m), + f = o, + o = m, + m = f, + --i < 0 && (i = this.DB - 1, + --h) + } + return n.revert(o) + } + , + D.prototype.modInverse = function(t) { + var e = t.isEven(); + if (this.isEven() && e || 0 == t.signum()) + return D.ZERO; + for (var r = t.clone(), n = this.clone(), i = q(1), o = q(0), a = q(0), s = q(1); 0 != r.signum(); ) { + for (; r.isEven(); ) + r.rShiftTo(1, r), + e ? (i.isEven() && o.isEven() || (i.addTo(this, i), + o.subTo(t, o)), + i.rShiftTo(1, i)) : o.isEven() || o.subTo(t, o), + o.rShiftTo(1, o); + for (; n.isEven(); ) + n.rShiftTo(1, n), + e ? (a.isEven() && s.isEven() || (a.addTo(this, a), + s.subTo(t, s)), + a.rShiftTo(1, a)) : s.isEven() || s.subTo(t, s), + s.rShiftTo(1, s); + 0 <= r.compareTo(n) ? (r.subTo(n, r), + e && i.subTo(a, i), + o.subTo(s, o)) : (n.subTo(r, n), + e && a.subTo(i, a), + s.subTo(o, s)) + } + return 0 != n.compareTo(D.ONE) ? D.ZERO : 0 <= s.compareTo(t) ? s.subtract(t) : s.signum() < 0 ? (s.addTo(t, s), + s.signum() < 0 ? s.add(t) : s) : s + } + , + D.prototype.pow = function(t) { + return this.exp(t, new O) + } + , + D.prototype.gcd = function(t) { + var e = this.s < 0 ? this.negate() : this.clone() + , r = t.s < 0 ? t.negate() : t.clone(); + e.compareTo(r) < 0 && (i = e, + e = r, + r = i); + var n = e.getLowestSetBit() + , i = r.getLowestSetBit(); + if (i < 0) + return e; + for (n < i && (i = n), + 0 < i && (e.rShiftTo(i, e), + r.rShiftTo(i, r)); 0 < e.signum(); ) + 0 < (n = e.getLowestSetBit()) && e.rShiftTo(n, e), + 0 < (n = r.getLowestSetBit()) && r.rShiftTo(n, r), + 0 <= e.compareTo(r) ? (e.subTo(r, e), + e.rShiftTo(1, e)) : (r.subTo(e, r), + r.rShiftTo(1, r)); + return 0 < i && r.lShiftTo(i, r), + r + } + , + D.prototype.isProbablePrime = function(t) { + var e, r = this.abs(); + if (1 == r.t && r[0] <= x[x.length - 1]) { + for (e = 0; e < x.length; ++e) + if (r[0] == x[e]) + return !0; + return !1 + } + if (r.isEven()) + return !1; + for (e = 1; e < x.length; ) { + for (var n = x[e], i = e + 1; i < x.length && n < P; ) + n *= x[i++]; + for (n = r.modInt(n); e < i; ) + if (n % x[e++] == 0) + return !1 + } + return r.millerRabin(t) + } + , + D.prototype.copyTo = function(t) { + for (var e = this.t - 1; 0 <= e; --e) + t[e] = this[e]; + t.t = this.t, + t.s = this.s + } + , + D.prototype.fromInt = function(t) { + this.t = 1, + this.s = t < 0 ? -1 : 0, + 0 < t ? this[0] = t : t < -1 ? this[0] = t + this.DV : this.t = 0 + } + , + D.prototype.fromString = function(t, e) { + var r; + if (16 == e) + r = 4; + else if (8 == e) + r = 3; + else if (256 == e) + r = 8; + else if (2 == e) + r = 1; + else if (32 == e) + r = 5; + else { + if (4 != e) + return void this.fromRadix(t, e); + r = 2 + } + this.t = 0, + this.s = 0; + for (var n = t.length, i = !1, o = 0; 0 <= --n; ) { + var a = 8 == r ? 255 & +t[n] : W(t, n); + a < 0 ? "-" == t.charAt(n) && (i = !0) : (i = !1, + 0 == o ? this[this.t++] = a : o + r > this.DB ? (this[this.t - 1] |= (a & (1 << this.DB - o) - 1) << o, + this[this.t++] = a >> this.DB - o) : this[this.t - 1] |= a << o, + (o += r) >= this.DB && (o -= this.DB)) + } + 8 == r && 0 != (128 & +t[0]) && (this.s = -1, + 0 < o && (this[this.t - 1] |= (1 << this.DB - o) - 1 << o)), + this.clamp(), + i && D.ZERO.subTo(this, this) + } + , + D.prototype.clamp = function() { + for (var t = this.s & this.DM; 0 < this.t && this[this.t - 1] == t; ) + --this.t + } + , + D.prototype.dlShiftTo = function(t, e) { + for (var r = this.t - 1; 0 <= r; --r) + e[r + t] = this[r]; + for (r = t - 1; 0 <= r; --r) + e[r] = 0; + e.t = this.t + t, + e.s = this.s + } + , + D.prototype.drShiftTo = function(t, e) { + for (var r = t; r < this.t; ++r) + e[r - t] = this[r]; + e.t = Math.max(this.t - t, 0), + e.s = this.s + } + , + D.prototype.lShiftTo = function(t, e) { + for (var r = t % this.DB, n = this.DB - r, i = (1 << n) - 1, o = Math.floor(t / this.DB), a = this.s << r & this.DM, s = this.t - 1; 0 <= s; --s) + e[s + o + 1] = this[s] >> n | a, + a = (this[s] & i) << r; + for (s = o - 1; 0 <= s; --s) + e[s] = 0; + e[o] = a, + e.t = this.t + o + 1, + e.s = this.s, + e.clamp() + } + , + D.prototype.rShiftTo = function(t, e) { + e.s = this.s; + var r = Math.floor(t / this.DB); + if (r >= this.t) + e.t = 0; + else { + var n = t % this.DB + , i = this.DB - n + , o = (1 << n) - 1; + e[0] = this[r] >> n; + for (var a = r + 1; a < this.t; ++a) + e[a - r - 1] |= (this[a] & o) << i, + e[a - r] = this[a] >> n; + 0 < n && (e[this.t - r - 1] |= (this.s & o) << i), + e.t = this.t - r, + e.clamp() + } + } + , + D.prototype.subTo = function(t, e) { + for (var r = 0, n = 0, i = Math.min(t.t, this.t); r < i; ) + n += this[r] - t[r], + e[r++] = n & this.DM, + n >>= this.DB; + if (t.t < this.t) { + for (n -= t.s; r < this.t; ) + n += this[r], + e[r++] = n & this.DM, + n >>= this.DB; + n += this.s + } else { + for (n += this.s; r < t.t; ) + n -= t[r], + e[r++] = n & this.DM, + n >>= this.DB; + n -= t.s + } + e.s = n < 0 ? -1 : 0, + n < -1 ? e[r++] = this.DV + n : 0 < n && (e[r++] = n), + e.t = r, + e.clamp() + } + , + D.prototype.multiplyTo = function(t, e) { + var r = this.abs() + , n = t.abs() + , i = r.t; + for (e.t = i + n.t; 0 <= --i; ) + e[i] = 0; + for (i = 0; i < n.t; ++i) + e[i + r.t] = r.am(0, n[i], e, i, 0, r.t); + e.s = 0, + e.clamp(), + this.s != t.s && D.ZERO.subTo(e, e) + } + , + D.prototype.squareTo = function(t) { + for (var e = this.abs(), r = t.t = 2 * e.t; 0 <= --r; ) + t[r] = 0; + for (r = 0; r < e.t - 1; ++r) { + var n = e.am(r, e[r], t, 2 * r, 0, 1); + (t[r + e.t] += e.am(r + 1, 2 * e[r], t, 2 * r + 1, n, e.t - r - 1)) >= e.DV && (t[r + e.t] -= e.DV, + t[r + e.t + 1] = 1) + } + 0 < t.t && (t[t.t - 1] += e.am(r, e[r], t, 2 * r, 0, 1)), + t.s = 0, + t.clamp() + } + , + D.prototype.divRemTo = function(t, e, r) { + var n = t.abs(); + if (!(n.t <= 0)) { + var i = this.abs(); + if (i.t < n.t) + return null != e && e.fromInt(0), + void (null != r && this.copyTo(r)); + null == r && (r = L()); + var o = L() + , a = this.s + , s = t.s; + t = this.DB - V(n[n.t - 1]); + 0 < t ? (n.lShiftTo(t, o), + i.lShiftTo(t, r)) : (n.copyTo(o), + i.copyTo(r)); + var c = o.t + , u = o[c - 1]; + if (0 != u) { + i = u * (1 << this.F1) + (1 < c ? o[c - 2] >> this.F2 : 0); + var d = this.FV / i + , l = (1 << this.F1) / i + , f = 1 << this.F2 + , h = r.t + , p = h - c + , m = null == e ? L() : e; + for (o.dlShiftTo(p, m), + 0 <= r.compareTo(m) && (r[r.t++] = 1, + r.subTo(m, r)), + D.ONE.dlShiftTo(c, m), + m.subTo(o, o); o.t < c; ) + o[o.t++] = 0; + for (; 0 <= --p; ) { + var b = r[--h] == u ? this.DM : Math.floor(r[h] * d + (r[h - 1] + f) * l); + if ((r[h] += o.am(0, b, r, p, 0, c)) < b) + for (o.dlShiftTo(p, m), + r.subTo(m, r); r[h] < --b; ) + r.subTo(m, r) + } + null != e && (r.drShiftTo(c, e), + a != s && D.ZERO.subTo(e, e)), + r.t = c, + r.clamp(), + 0 < t && r.rShiftTo(t, r), + a < 0 && D.ZERO.subTo(r, r) + } + } + } + , + D.prototype.invDigit = function() { + if (this.t < 1) + return 0; + var t = this[0]; + if (0 == (1 & t)) + return 0; + var e = 3 & t; + return 0 < (e = (e = (e = (e = e * (2 - (15 & t) * e) & 15) * (2 - (255 & t) * e) & 255) * (2 - ((65535 & t) * e & 65535)) & 65535) * (2 - t * e % this.DV) % this.DV) ? this.DV - e : -e + } + , + D.prototype.isEven = function() { + return 0 == (0 < this.t ? 1 & this[0] : this.s) + } + , + D.prototype.exp = function(t, e) { + if (4294967295 < t || t < 1) + return D.ONE; + var r, n = L(), i = L(), o = e.convert(this), a = V(t) - 1; + for (o.copyTo(n); 0 <= --a; ) + e.sqrTo(n, i), + 0 < (t & 1 << a) ? e.mulTo(i, o, n) : (r = n, + n = i, + i = r); + return e.revert(n) + } + , + D.prototype.chunkSize = function(t) { + return Math.floor(Math.LN2 * this.DB / Math.log(t)) + } + , + D.prototype.toRadix = function(t) { + if (null == t && (t = 10), + 0 == this.signum() || t < 2 || 36 < t) + return "0"; + var e = this.chunkSize(t) + , r = Math.pow(t, e) + , n = q(r) + , i = L() + , o = L() + , a = ""; + for (this.divRemTo(n, i, o); 0 < i.signum(); ) + a = (r + o.intValue()).toString(t).substr(1) + a, + i.divRemTo(n, i, o); + return o.intValue().toString(t) + a + } + , + D.prototype.fromRadix = function(t, e) { + this.fromInt(0), + null == e && (e = 10); + for (var r = this.chunkSize(e), n = Math.pow(e, r), i = !1, o = 0, a = 0, s = 0; s < t.length; ++s) { + var c = W(t, s); + c < 0 ? "-" == t.charAt(s) && 0 == this.signum() && (i = !0) : (a = e * a + c, + ++o >= r && (this.dMultiply(n), + this.dAddOffset(a, 0), + a = o = 0)) + } + 0 < o && (this.dMultiply(Math.pow(e, o)), + this.dAddOffset(a, 0)), + i && D.ZERO.subTo(this, this) + } + , + D.prototype.fromNumber = function(t, e, r) { + if ("number" == typeof e) + if (t < 2) + this.fromInt(1); + else + for (this.fromNumber(t, r), + this.testBit(t - 1) || this.bitwiseTo(D.ONE.shiftLeft(t - 1), i, this), + this.isEven() && this.dAddOffset(1, 0); !this.isProbablePrime(e); ) + this.dAddOffset(2, 0), + this.bitLength() > t && this.subTo(D.ONE.shiftLeft(t - 1), this); + else { + var n = []; + r = 7 & t; + n.length = 1 + (t >> 3), + e.nextBytes(n), + 0 < r ? n[0] &= (1 << r) - 1 : n[0] = 0, + this.fromString(n, 256) + } + } + , + D.prototype.bitwiseTo = function(t, e, r) { + for (var n, i = Math.min(t.t, this.t), o = 0; o < i; ++o) + r[o] = e(this[o], t[o]); + if (t.t < this.t) { + for (n = t.s & this.DM, + o = i; o < this.t; ++o) + r[o] = e(this[o], n); + r.t = this.t + } else { + for (n = this.s & this.DM, + o = i; o < t.t; ++o) + r[o] = e(n, t[o]); + r.t = t.t + } + r.s = e(this.s, t.s), + r.clamp() + } + , + D.prototype.changeBit = function(t, e) { + return t = D.ONE.shiftLeft(t), + this.bitwiseTo(t, e, t), + t + } + , + D.prototype.addTo = function(t, e) { + for (var r = 0, n = 0, i = Math.min(t.t, this.t); r < i; ) + n += this[r] + t[r], + e[r++] = n & this.DM, + n >>= this.DB; + if (t.t < this.t) { + for (n += t.s; r < this.t; ) + n += this[r], + e[r++] = n & this.DM, + n >>= this.DB; + n += this.s + } else { + for (n += this.s; r < t.t; ) + n += t[r], + e[r++] = n & this.DM, + n >>= this.DB; + n += t.s + } + e.s = n < 0 ? -1 : 0, + 0 < n ? e[r++] = n : n < -1 && (e[r++] = this.DV + n), + e.t = r, + e.clamp() + } + , + D.prototype.dMultiply = function(t) { + this[this.t] = this.am(0, t - 1, this, 0, 0, this.t), + ++this.t, + this.clamp() + } + , + D.prototype.dAddOffset = function(t, e) { + if (0 != t) { + for (; this.t <= e; ) + this[this.t++] = 0; + for (this[e] += t; this[e] >= this.DV; ) + this[e] -= this.DV, + ++e >= this.t && (this[this.t++] = 0), + ++this[e] + } + } + , + D.prototype.multiplyLowerTo = function(t, e, r) { + var n = Math.min(this.t + t.t, e); + for (r.s = 0, + r.t = n; 0 < n; ) + r[--n] = 0; + for (var i = r.t - this.t; n < i; ++n) + r[n + this.t] = this.am(0, t[n], r, n, 0, this.t); + for (i = Math.min(t.t, e); n < i; ++n) + this.am(0, t[n], r, n, 0, e - n); + r.clamp() + } + , + D.prototype.multiplyUpperTo = function(t, e, r) { + --e; + var n = r.t = this.t + t.t - e; + for (r.s = 0; 0 <= --n; ) + r[n] = 0; + for (n = Math.max(e - this.t, 0); n < t.t; ++n) + r[this.t + n - e] = this.am(e - n, t[n], r, 0, 0, this.t + n - e); + r.clamp(), + r.drShiftTo(1, r) + } + , + D.prototype.modInt = function(t) { + if (t <= 0) + return 0; + var e = this.DV % t + , r = this.s < 0 ? t - 1 : 0; + if (0 < this.t) + if (0 == e) + r = this[0] % t; + else + for (var n = this.t - 1; 0 <= n; --n) + r = (e * r + this[n]) % t; + return r + } + , + D.prototype.millerRabin = function(t) { + var e = this.subtract(D.ONE) + , r = e.getLowestSetBit(); + if (r <= 0) + return !1; + var n = e.shiftRight(r); + x.length < (t = t + 1 >> 1) && (t = x.length); + for (var i = L(), o = 0; o < t; ++o) { + i.fromInt(x[Math.floor(Math.random() * x.length)]); + var a = i.modPow(n, this); + if (0 != a.compareTo(D.ONE) && 0 != a.compareTo(e)) { + for (var s = 1; s++ < r && 0 != a.compareTo(e); ) + if (0 == (a = a.modPowInt(2, this)).compareTo(D.ONE)) + return !1; + if (0 != a.compareTo(e)) + return !1 + } + } + return !0 + } + , + D.prototype.square = function() { + var t = L(); + return this.squareTo(t), + t + } + , + D.prototype.gcda = function(t, e) { + var r = this.s < 0 ? this.negate() : this.clone() + , n = t.s < 0 ? t.negate() : t.clone(); + r.compareTo(n) < 0 && (t = r, + r = n, + n = t); + var i, o = r.getLowestSetBit(), a = n.getLowestSetBit(); + a < 0 ? e(r) : (o < a && (a = o), + 0 < a && (r.rShiftTo(a, r), + n.rShiftTo(a, n)), + i = function() { + 0 < (o = r.getLowestSetBit()) && r.rShiftTo(o, r), + 0 < (o = n.getLowestSetBit()) && n.rShiftTo(o, n), + 0 <= r.compareTo(n) ? (r.subTo(n, r), + r.rShiftTo(1, r)) : (n.subTo(r, n), + n.rShiftTo(1, n)), + 0 < r.signum() ? setTimeout(i, 0) : (0 < a && n.lShiftTo(a, n), + setTimeout((function() { + e(n) + } + ), 0)) + } + , + setTimeout(i, 10)) + } + , + D.prototype.fromNumberAsync = function(t, e, r, n) { + var o, a, s; + "number" == typeof e ? t < 2 ? this.fromInt(1) : (this.fromNumber(t, r), + this.testBit(t - 1) || this.bitwiseTo(D.ONE.shiftLeft(t - 1), i, this), + this.isEven() && this.dAddOffset(1, 0), + o = this, + a = function() { + o.dAddOffset(2, 0), + o.bitLength() > t && o.subTo(D.ONE.shiftLeft(t - 1), o), + o.isProbablePrime(e) ? setTimeout((function() { + n() + } + ), 0) : setTimeout(a, 0) + } + , + setTimeout(a, 0)) : (s = 7 & t, + (r = []).length = 1 + (t >> 3), + e.nextBytes(r), + 0 < s ? r[0] &= (1 << s) - 1 : r[0] = 0, + this.fromString(r, 256)) + } + , + D); + function D(t, e, r) { + null != t && ("number" == typeof t ? this.fromNumber(t, e, r) : null == e && "string" != typeof t ? this.fromString(t, 256) : this.fromString(t, e)) + } + var O = (R.prototype.convert = function(t) { + return t + } + , + R.prototype.revert = function(t) { + return t + } + , + R.prototype.mulTo = function(t, e, r) { + t.multiplyTo(e, r) + } + , + R.prototype.sqrTo = function(t, e) { + t.squareTo(e) + } + , + R); + function R() {} + var N = (M.prototype.convert = function(t) { + return t.s < 0 || 0 <= t.compareTo(this.m) ? t.mod(this.m) : t + } + , + M.prototype.revert = function(t) { + return t + } + , + M.prototype.reduce = function(t) { + t.divRemTo(this.m, null, t) + } + , + M.prototype.mulTo = function(t, e, r) { + t.multiplyTo(e, r), + this.reduce(r) + } + , + M.prototype.sqrTo = function(t, e) { + t.squareTo(e), + this.reduce(e) + } + , + M); + function M(t) { + this.m = t + } + var B = (F.prototype.convert = function(t) { + var e = L(); + return t.abs().dlShiftTo(this.m.t, e), + e.divRemTo(this.m, null, e), + t.s < 0 && 0 < e.compareTo(k.ZERO) && this.m.subTo(e, e), + e + } + , + F.prototype.revert = function(t) { + var e = L(); + return t.copyTo(e), + this.reduce(e), + e + } + , + F.prototype.reduce = function(t) { + for (; t.t <= this.mt2; ) + t[t.t++] = 0; + for (var e = 0; e < this.m.t; ++e) { + var r = 32767 & t[e] + , n = r * this.mpl + ((r * this.mph + (t[e] >> 15) * this.mpl & this.um) << 15) & t.DM; + for (t[r = e + this.m.t] += this.m.am(0, n, t, e, 0, this.m.t); t[r] >= t.DV; ) + t[r] -= t.DV, + t[++r]++ + } + t.clamp(), + t.drShiftTo(this.m.t, t), + 0 <= t.compareTo(this.m) && t.subTo(this.m, t) + } + , + F.prototype.mulTo = function(t, e, r) { + t.multiplyTo(e, r), + this.reduce(r) + } + , + F.prototype.sqrTo = function(t, e) { + t.squareTo(e), + this.reduce(e) + } + , + F); + function F(t) { + this.m = t, + this.mp = t.invDigit(), + this.mpl = 32767 & this.mp, + this.mph = this.mp >> 15, + this.um = (1 << t.DB - 15) - 1, + this.mt2 = 2 * t.t + } + var j = (K.prototype.convert = function(t) { + if (t.s < 0 || t.t > 2 * this.m.t) + return t.mod(this.m); + if (t.compareTo(this.m) < 0) + return t; + var e = L(); + return t.copyTo(e), + this.reduce(e), + e + } + , + K.prototype.revert = function(t) { + return t + } + , + K.prototype.reduce = function(t) { + for (t.drShiftTo(this.m.t - 1, this.r2), + t.t > this.m.t + 1 && (t.t = this.m.t + 1, + t.clamp()), + this.mu.multiplyUpperTo(this.r2, this.m.t + 1, this.q3), + this.m.multiplyLowerTo(this.q3, this.m.t + 1, this.r2); t.compareTo(this.r2) < 0; ) + t.dAddOffset(1, this.m.t + 1); + for (t.subTo(this.r2, t); 0 <= t.compareTo(this.m); ) + t.subTo(this.m, t) + } + , + K.prototype.mulTo = function(t, e, r) { + t.multiplyTo(e, r), + this.reduce(r) + } + , + K.prototype.sqrTo = function(t, e) { + t.squareTo(e), + this.reduce(e) + } + , + K); + function K(t) { + this.m = t, + this.r2 = L(), + this.q3 = L(), + k.ONE.dlShiftTo(2 * t.t, this.r2), + this.mu = this.r2.divide(t) + } + function L() { + return new k(null) + } + function U(t, e) { + return new k(t,e) + } + lt = "Microsoft Internet Explorer" == navigator.appName ? (k.prototype.am = function(t, e, r, n, i, o) { + for (var a = 32767 & e, s = e >> 15; 0 <= --o; ) { + var c = 32767 & this[t] + , u = this[t++] >> 15 + , d = s * c + u * a; + i = ((c = a * c + ((32767 & d) << 15) + r[n] + (1073741823 & i)) >>> 30) + (d >>> 15) + s * u + (i >>> 30), + r[n++] = 1073741823 & c + } + return i + } + , + 30) : "Netscape" != navigator.appName ? (k.prototype.am = function(t, e, r, n, i, o) { + for (; 0 <= --o; ) { + var a = e * this[t++] + r[n] + i; + i = Math.floor(a / 67108864), + r[n++] = 67108863 & a + } + return i + } + , + 26) : (k.prototype.am = function(t, e, r, n, i, o) { + for (var a = 16383 & e, s = e >> 14; 0 <= --o; ) { + var c = 16383 & this[t] + , u = this[t++] >> 14 + , d = s * c + u * a; + i = ((c = a * c + ((16383 & d) << 14) + r[n] + i) >> 28) + (d >> 14) + s * u, + r[n++] = 268435455 & c + } + return i + } + , + 28), + k.prototype.DB = lt, + k.prototype.DM = (1 << lt) - 1, + k.prototype.DV = 1 << lt, + k.prototype.FV = Math.pow(2, 52), + k.prototype.F1 = 52 - lt, + k.prototype.F2 = 2 * lt - 52; + for (var X = [], z = "0".charCodeAt(0), G = 0; G <= 9; ++G) + X[z++] = G; + for (z = "a".charCodeAt(0), + G = 10; G < 36; ++G) + X[z++] = G; + for (z = "A".charCodeAt(0), + G = 10; G < 36; ++G) + X[z++] = G; + function W(t, e) { + return e = X[t.charCodeAt(e)], + null == e ? -1 : e + } + function q(t) { + var e = L(); + return e.fromInt(t), + e + } + function V(t) { + var e, r = 1; + return 0 != (e = t >>> 16) && (t = e, + r += 16), + 0 != (e = t >> 8) && (t = e, + r += 8), + 0 != (e = t >> 4) && (t = e, + r += 4), + 0 != (e = t >> 2) && (t = e, + r += 2), + 0 != (e = t >> 1) && (t = e, + r += 1), + r + } + k.ZERO = q(0), + k.ONE = q(1); + var H = (Y.prototype.init = function(t) { + for (var e, r, n = 0; n < 256; ++n) + this.S[n] = n; + for (n = e = 0; n < 256; ++n) + e = e + this.S[n] + t[n % t.length] & 255, + r = this.S[n], + this.S[n] = this.S[e], + this.S[e] = r; + this.i = 0, + this.j = 0 + } + , + Y.prototype.next = function() { + var t; + return this.i = this.i + 1 & 255, + this.j = this.j + this.S[this.i] & 255, + t = this.S[this.i], + this.S[this.i] = this.S[this.j], + this.S[this.j] = t, + this.S[t + this.S[this.i] & 255] + } + , + Y); + function Y() { + this.i = 0, + this.j = 0, + this.S = [] + } + var Z, Q, J = 256, $ = null; + if (null == $) { + $ = []; + var tt = void (Q = 0); + if (window.crypto && window.crypto.getRandomValues) { + var et = new Uint32Array(256); + for (window.crypto.getRandomValues(et), + tt = 0; tt < et.length; ++tt) + $[Q++] = 255 & et[tt] + } + var rt = function t(e) { + if (this.count = this.count || 0, + 256 <= this.count || J <= Q) + window.removeEventListener ? window.removeEventListener("mousemove", t, !1) : window.detachEvent && window.detachEvent("onmousemove", t); + else + try { + var r = e.x + e.y; + $[Q++] = 255 & r, + this.count += 1 + } catch (e) {} + }; + window.addEventListener ? window.addEventListener("mousemove", rt, !1) : window.attachEvent && window.attachEvent("onmousemove", rt) + } + function nt() { + if (null == Z) { + for (Z = new H; Q < J; ) { + var t = Math.floor(65536 * Math.random()); + $[Q++] = 255 & t + } + for (Z.init($), + Q = 0; Q < $.length; ++Q) + $[Q] = 0; + Q = 0 + } + return Z.next() + } + var it = (ot.prototype.nextBytes = function(t) { + for (var e = 0; e < t.length; ++e) + t[e] = nt() + } + , + ot); + function ot() {} + function at(t, e, r) { + if (e < t.length + 11) + return console.error("Message too long for RSA"), + null; + for (var n = [], i = t.length - 1; 0 <= i && 0 < e; ) { + var o = t.charCodeAt(i--); + o < 128 ? n[--e] = o : 127 < o && o < 2048 ? (n[--e] = 63 & o | 128, + n[--e] = o >> 6 | 192) : (n[--e] = 63 & o | 128, + n[--e] = o >> 6 & 63 | 128, + n[--e] = o >> 12 | 224) + } + if (n[--e] = 0, + r) { + for (; 2 < e; ) + n[--e] = 255; + n[--e] = 1, + n[--e] = 0 + } else { + for (var a = new it, s = []; 2 < e; ) { + for (s[0] = 0; 0 == s[0]; ) + a.nextBytes(s); + n[--e] = s[0] + } + n[--e] = 2, + n[--e] = 0 + } + return new k(n) + } + function st(t, e, r) { + for (var n = t.toByteArray(), i = 0; i < n.length && 0 == n[i]; ) + ++i; + if (r) { + if (n.length - i != e - 1 || 2 != n[i]) + return null; + for (++i; 0 != n[i]; ) + if (++i >= n.length) + return null + } else { + if (n.length - i != e - 1 || 1 != n[i]) + return null; + for (++i; 0 != n[i]; ) + if (++i >= n.length) + return null + } + for (var o = ""; ++i < n.length; ) { + var a = 255 & n[i]; + a < 128 ? o += String.fromCharCode(a) : 191 < a && a < 224 ? (o += String.fromCharCode((31 & a) << 6 | 63 & n[i + 1]), + ++i) : (o += String.fromCharCode((15 & a) << 12 | (63 & n[i + 1]) << 6 | 63 & n[i + 2]), + i += 2) + } + return o + } + var ct = (ut.prototype.doPublic = function(t) { + return t.modPowInt(this.e, this.n) + } + , + ut.prototype.doPrivate = function(t) { + if (null == this.p || null == this.q) + return t.modPow(this.d, this.n); + for (var e = t.mod(this.p).modPow(this.dmp1, this.p), r = t.mod(this.q).modPow(this.dmq1, this.q); e.compareTo(r) < 0; ) + e = e.add(this.p); + return e.subtract(r).multiply(this.coeff).mod(this.p).multiply(this.q).add(r) + } + , + ut.prototype.setPublic = function(t, e) { + null != t && null != e && 0 < t.length && 0 < e.length ? (this.n = U(t, 16), + this.e = parseInt(e, 16)) : console.error("Invalid RSA public key") + } + , + ut.prototype.encrypt = function(t, e) { + return void 0 === e && (e = !1), + t = at(t, this.n.bitLength() + 7 >> 3, e), + null == t ? null : (t = e ? this.doPrivate(t) : this.doPublic(t), + null == t ? null : (t = t.toString(16), + 0 == (1 & t.length) ? t : "0" + t)) + } + , + ut.prototype.setPrivate = function(t, e, r) { + null != t && null != e && 0 < t.length && 0 < e.length ? (this.n = U(t, 16), + this.e = parseInt(e, 16), + this.d = U(r, 16)) : console.error("Invalid RSA private key") + } + , + ut.prototype.setPrivateEx = function(t, e, r, n, i, o, a, s) { + null != t && null != e && 0 < t.length && 0 < e.length ? (this.n = U(t, 16), + this.e = parseInt(e, 16), + this.d = U(r, 16), + this.p = U(n, 16), + this.q = U(i, 16), + this.dmp1 = U(o, 16), + this.dmq1 = U(a, 16), + this.coeff = U(s, 16)) : console.error("Invalid RSA private key") + } + , + ut.prototype.generate = function(t, e) { + var r = new it + , n = t >> 1; + this.e = parseInt(e, 16); + for (var i = new k(e,16); ; ) { + for (; this.p = new k(t - n,1,r), + 0 != this.p.subtract(k.ONE).gcd(i).compareTo(k.ONE) || !this.p.isProbablePrime(10); ) + ; + for (; this.q = new k(n,1,r), + 0 != this.q.subtract(k.ONE).gcd(i).compareTo(k.ONE) || !this.q.isProbablePrime(10); ) + ; + this.p.compareTo(this.q) <= 0 && (s = this.p, + this.p = this.q, + this.q = s); + var o = this.p.subtract(k.ONE) + , a = this.q.subtract(k.ONE) + , s = o.multiply(a); + if (0 == s.gcd(i).compareTo(k.ONE)) { + this.n = this.p.multiply(this.q), + this.d = i.modInverse(s), + this.dmp1 = this.d.mod(o), + this.dmq1 = this.d.mod(a), + this.coeff = this.q.modInverse(this.p); + break + } + } + } + , + ut.prototype.decrypt = function(t, e) { + return void 0 === e && (e = !0), + t = U(t, 16), + t = e ? this.doPrivate(t) : this.doPublic(t), + null == t ? null : st(t, this.n.bitLength() + 7 >> 3, e) + } + , + ut.prototype.generateAsync = function(t, e, r) { + var n = new it + , i = t >> 1; + this.e = parseInt(e, 16); + var o = new k(e,16) + , a = this + , s = function e() { + function s() { + a.p.compareTo(a.q) <= 0 && (i = a.p, + a.p = a.q, + a.q = i); + var t = a.p.subtract(k.ONE) + , n = a.q.subtract(k.ONE) + , i = t.multiply(n); + 0 == i.gcd(o).compareTo(k.ONE) ? (a.n = a.p.multiply(a.q), + a.d = o.modInverse(i), + a.dmp1 = a.d.mod(t), + a.dmq1 = a.d.mod(n), + a.coeff = a.q.modInverse(a.p), + setTimeout((function() { + r() + } + ), 0)) : setTimeout(e, 0) + } + var c = function t() { + a.q = L(), + a.q.fromNumberAsync(i, 1, n, (function() { + a.q.subtract(k.ONE).gcda(o, (function(e) { + 0 == e.compareTo(k.ONE) && a.q.isProbablePrime(10) ? setTimeout(s, 0) : setTimeout(t, 0) + } + )) + } + )) + } + , u = function e() { + a.p = L(), + a.p.fromNumberAsync(t - i, 1, n, (function() { + a.p.subtract(k.ONE).gcda(o, (function(t) { + 0 == t.compareTo(k.ONE) && a.p.isProbablePrime(10) ? setTimeout(c, 0) : setTimeout(e, 0) + } + )) + } + )) + }; + setTimeout(u, 0) + }; + setTimeout(s, 0) + } + , + ut.prototype.sign = function(t, e, r) { + return t = at((dt[r] || "") + e(t).toString(), this.n.bitLength() + 7 >> 3, !0), + null == t ? null : (t = this.doPrivate(t), + null == t ? null : (t = t.toString(16), + 0 == (1 & t.length) ? t : "0" + t)) + } + , + ut.prototype.verify = function(t, e, r) { + return e = U(e, 16), + e = this.doPublic(e), + null == e ? null : function(t) { + for (var e in dt) + if (dt.hasOwnProperty(e)) { + var r = dt[e] + , n = r.length; + if (t.substr(0, n) == r) + return t.substr(n) + } + return t + }(st(e, this.n.bitLength() + 7 >> 3, !1)) == r(t).toString() + } + , + ut); + function ut() { + this.n = null, + this.e = 0, + this.d = null, + this.p = null, + this.q = null, + this.dmp1 = null, + this.dmq1 = null, + this.coeff = null + } + var dt = { + md2: "3020300c06082a864886f70d020205000410", + md5: "3020300c06082a864886f70d020505000410", + sha1: "3021300906052b0e03021a05000414", + sha224: "302d300d06096086480165030402040500041c", + sha256: "3031300d060960864801650304020105000420", + sha384: "3041300d060960864801650304020205000430", + sha512: "3051300d060960864801650304020305000440", + ripemd160: "3021300906052b2403020105000414" + } + , lt = {}; + lt.lang = { + extend: function(t, e, r) { + if (!e || !t) + throw new Error("YAHOO.lang.extend failed, please check that all dependencies are included."); + function n() {} + if (n.prototype = e.prototype, + t.prototype = new n, + (t.prototype.constructor = t).superclass = e.prototype, + e.prototype.constructor == Object.prototype.constructor && (e.prototype.constructor = e), + r) { + for (var i in r) + t.prototype[i] = r[i]; + var o = function() {} + , a = ["toString", "valueOf"]; + try { + /MSIE/.test(navigator.userAgent) && (o = function(t, e) { + for (i = 0; i < a.length; i += 1) { + var r = a[i] + , n = e[r]; + "function" == typeof n && n != Object.prototype[r] && (t[r] = n) + } + } + ) + } catch (t) {} + o(t.prototype, r) + } + } + }; + var ft = {}; + void 0 !== ft.asn1 && ft.asn1 || (ft.asn1 = {}), + ft.asn1.ASN1Util = new function() { + this.integerToByteHex = function(t) { + return t = t.toString(16), + t.length % 2 == 1 && (t = "0" + t), + t + } + , + this.bigIntToMinTwosComplementsHex = function(t) { + if ("-" != (i = t.toString(16)).substr(0, 1)) + i.length % 2 == 1 ? i = "0" + i : i.match(/^[0-7]/) || (i = "00" + i); + else { + var e = i.substr(1).length; + e % 2 == 1 ? e += 1 : i.match(/^[0-7]/) || (e += 2); + for (var r = "", n = 0; n < e; n++) + r += "f"; + var i = new k(r,16).xor(t).add(k.ONE).toString(16).replace(/^-/, "") + } + return i + } + , + this.getPEMStringFromHex = function(t, e) { + return hextopem(t, e) + } + , + this.newObject = function(t) { + var e = ft.asn1 + , r = e.DERBoolean + , n = e.DERInteger + , i = e.DERBitString + , o = e.DEROctetString + , a = e.DERNull + , s = e.DERObjectIdentifier + , c = e.DEREnumerated + , u = e.DERUTF8String + , d = e.DERNumericString + , l = e.DERPrintableString + , f = e.DERTeletexString + , h = e.DERIA5String + , p = e.DERUTCTime + , m = e.DERGeneralizedTime + , b = e.DERSequence + , g = e.DERSet + , y = e.DERTaggedObject + , v = e.ASN1Util.newObject; + e = Object.keys(t); + if (1 != e.length) + throw "key of param shall be only one."; + if (e = e[0], + -1 == ":bool:int:bitstr:octstr:null:oid:enum:utf8str:numstr:prnstr:telstr:ia5str:utctime:gentime:seq:set:tag:".indexOf(":" + e + ":")) + throw "undefined key: " + e; + if ("bool" == e) + return new r(t[e]); + if ("int" == e) + return new n(t[e]); + if ("bitstr" == e) + return new i(t[e]); + if ("octstr" == e) + return new o(t[e]); + if ("null" == e) + return new a(t[e]); + if ("oid" == e) + return new s(t[e]); + if ("enum" == e) + return new c(t[e]); + if ("utf8str" == e) + return new u(t[e]); + if ("numstr" == e) + return new d(t[e]); + if ("prnstr" == e) + return new l(t[e]); + if ("telstr" == e) + return new f(t[e]); + if ("ia5str" == e) + return new h(t[e]); + if ("utctime" == e) + return new p(t[e]); + if ("gentime" == e) + return new m(t[e]); + if ("seq" == e) { + for (var S = t[e], w = [], C = 0; C < S.length; C++) { + var _ = v(S[C]); + w.push(_) + } + return new b({ + array: w + }) + } + if ("set" == e) { + for (S = t[e], + w = [], + C = 0; C < S.length; C++) + _ = v(S[C]), + w.push(_); + return new g({ + array: w + }) + } + if ("tag" == e) { + if (e = t[e], + "[object Array]" === Object.prototype.toString.call(e) && 3 == e.length) { + var A = v(e[2]); + return new y({ + tag: e[0], + explicit: e[1], + obj: A + }) + } + if (A = {}, + void 0 !== e.explicit && (A.explicit = e.explicit), + void 0 !== e.tag && (A.tag = e.tag), + void 0 === e.obj) + throw "obj shall be specified for 'tag'."; + return A.obj = v(e.obj), + new y(A) + } + } + , + this.jsonToASN1HEX = function(t) { + return this.newObject(t).getEncodedHex() + } + } + , + ft.asn1.ASN1Util.oidHexToInt = function(t) { + for (var e = "", r = parseInt(t.substr(0, 2), 16), n = (e = Math.floor(r / 40) + "." + r % 40, + ""), i = 2; i < t.length; i += 2) { + var o = ("00000000" + parseInt(t.substr(i, 2), 16).toString(2)).slice(-8); + n += o.substr(1, 7), + "0" == o.substr(0, 1) && (e = e + "." + new k(n,2).toString(10), + n = "") + } + return e + } + , + ft.asn1.ASN1Util.oidIntToHex = function(t) { + function e(t) { + return 1 == (t = t.toString(16)).length && (t = "0" + t), + t + } + if (!t.match(/^[0-9.]+$/)) + throw "malformed oid string: " + t; + var r = "" + , n = t.split("."); + t = 40 * parseInt(n[0]) + parseInt(n[1]); + r += e(t), + n.splice(0, 2); + for (var i = 0; i < n.length; i++) + r += function(t) { + var r = "" + , n = new k(t,10).toString(2) + , i = 7 - n.length % 7; + 7 == i && (i = 0); + for (var o = "", a = 0; a < i; a++) + o += "0"; + for (n = o + n, + a = 0; a < n.length - 1; a += 7) { + var s = n.substr(a, 7); + a != n.length - 7 && (s = "1" + s), + r += e(parseInt(s, 2)) + } + return r + }(n[i]); + return r + } + , + ft.asn1.ASN1Object = function() { + this.getLengthHexFromValue = function() { + if (void 0 === this.hV || null == this.hV) + throw "this.hV is null or undefined."; + if (this.hV.length % 2 == 1) + throw "value hex must be even length: n=" + "".length + ",v=" + this.hV; + var t = this.hV.length / 2 + , e = t.toString(16); + if (e.length % 2 == 1 && (e = "0" + e), + t < 128) + return e; + var r = e.length / 2; + if (15 < r) + throw "ASN.1 length too long to represent by 8x: n = " + t.toString(16); + return (128 + r).toString(16) + e + } + , + this.getEncodedHex = function() { + return null != this.hTLV && !this.isModified || (this.hV = this.getFreshValueHex(), + this.hL = this.getLengthHexFromValue(), + this.hTLV = this.hT + this.hL + this.hV, + this.isModified = !1), + this.hTLV + } + , + this.getValueHex = function() { + return this.getEncodedHex(), + this.hV + } + , + this.getFreshValueHex = function() { + return "" + } + } + , + ft.asn1.DERAbstractString = function(t) { + ft.asn1.DERAbstractString.superclass.constructor.call(this), + this.getString = function() { + return this.s + } + , + this.setString = function(t) { + this.hTLV = null, + this.isModified = !0, + this.s = t, + this.hV = stohex(this.s) + } + , + this.setStringHex = function(t) { + this.hTLV = null, + this.isModified = !0, + this.s = null, + this.hV = t + } + , + this.getFreshValueHex = function() { + return this.hV + } + , + void 0 !== t && ("string" == typeof t ? this.setString(t) : void 0 !== t.str ? this.setString(t.str) : void 0 !== t.hex && this.setStringHex(t.hex)) + } + , + lt.lang.extend(ft.asn1.DERAbstractString, ft.asn1.ASN1Object), + ft.asn1.DERAbstractTime = function(t) { + ft.asn1.DERAbstractTime.superclass.constructor.call(this), + this.localDateToUTC = function(t) { + return utc = t.getTime() + 6e4 * t.getTimezoneOffset(), + new Date(utc) + } + , + this.formatDate = function(t, e, r) { + var n = this.zeroPadding + , i = this.localDateToUTC(t); + t = String(i.getFullYear()); + return "utc" == e && (t = t.substr(2, 2)), + t = t + n(String(i.getMonth() + 1), 2) + n(String(i.getDate()), 2) + n(String(i.getHours()), 2) + n(String(i.getMinutes()), 2) + n(String(i.getSeconds()), 2), + !0 !== r || 0 != (i = i.getMilliseconds()) && (t = t + "." + n(String(i), 3).replace(/[0]+$/, "")), + t + "Z" + } + , + this.zeroPadding = function(t, e) { + return t.length >= e ? t : new Array(e - t.length + 1).join("0") + t + } + , + this.getString = function() { + return this.s + } + , + this.setString = function(t) { + this.hTLV = null, + this.isModified = !0, + this.s = t, + this.hV = stohex(t) + } + , + this.setByDateValue = function(t, e, r, n, i, o) { + o = new Date(Date.UTC(t, e - 1, r, n, i, o, 0)), + this.setByDate(o) + } + , + this.getFreshValueHex = function() { + return this.hV + } + } + , + lt.lang.extend(ft.asn1.DERAbstractTime, ft.asn1.ASN1Object), + ft.asn1.DERAbstractStructured = function(t) { + ft.asn1.DERAbstractString.superclass.constructor.call(this), + this.setByASN1ObjectArray = function(t) { + this.hTLV = null, + this.isModified = !0, + this.asn1Array = t + } + , + this.appendASN1Object = function(t) { + this.hTLV = null, + this.isModified = !0, + this.asn1Array.push(t) + } + , + this.asn1Array = new Array, + void 0 !== t && void 0 !== t.array && (this.asn1Array = t.array) + } + , + lt.lang.extend(ft.asn1.DERAbstractStructured, ft.asn1.ASN1Object), + ft.asn1.DERBoolean = function() { + ft.asn1.DERBoolean.superclass.constructor.call(this), + this.hT = "01", + this.hTLV = "0101ff" + } + , + lt.lang.extend(ft.asn1.DERBoolean, ft.asn1.ASN1Object), + ft.asn1.DERInteger = function(t) { + ft.asn1.DERInteger.superclass.constructor.call(this), + this.hT = "02", + this.setByBigInteger = function(t) { + this.hTLV = null, + this.isModified = !0, + this.hV = ft.asn1.ASN1Util.bigIntToMinTwosComplementsHex(t) + } + , + this.setByInteger = function(t) { + t = new k(String(t),10), + this.setByBigInteger(t) + } + , + this.setValueHex = function(t) { + this.hV = t + } + , + this.getFreshValueHex = function() { + return this.hV + } + , + void 0 !== t && (void 0 !== t.bigint ? this.setByBigInteger(t.bigint) : void 0 !== t.int ? this.setByInteger(t.int) : "number" == typeof t ? this.setByInteger(t) : void 0 !== t.hex && this.setValueHex(t.hex)) + } + , + lt.lang.extend(ft.asn1.DERInteger, ft.asn1.ASN1Object), + ft.asn1.DERBitString = function(t) { + var e; + void 0 !== t && void 0 !== t.obj && (e = ft.asn1.ASN1Util.newObject(t.obj), + t.hex = "00" + e.getEncodedHex()), + ft.asn1.DERBitString.superclass.constructor.call(this), + this.hT = "03", + this.setHexValueIncludingUnusedBits = function(t) { + this.hTLV = null, + this.isModified = !0, + this.hV = t + } + , + this.setUnusedBitsAndHexValue = function(t, e) { + if (t < 0 || 7 < t) + throw "unused bits shall be from 0 to 7: u = " + t; + t = "0" + t, + this.hTLV = null, + this.isModified = !0, + this.hV = t + e + } + , + this.setByBinaryString = function(t) { + var e = 8 - (t = t.replace(/0+$/, "")).length % 8; + 8 == e && (e = 0); + for (var r = 0; r <= e; r++) + t += "0"; + var n = ""; + for (r = 0; r < t.length - 1; r += 8) { + var i = t.substr(r, 8); + i = parseInt(i, 2).toString(16); + 1 == i.length && (i = "0" + i), + n += i + } + this.hTLV = null, + this.isModified = !0, + this.hV = "0" + e + n + } + , + this.setByBooleanArray = function(t) { + for (var e = "", r = 0; r < t.length; r++) + 1 == t[r] ? e += "1" : e += "0"; + this.setByBinaryString(e) + } + , + this.newFalseArray = function(t) { + for (var e = new Array(t), r = 0; r < t; r++) + e[r] = !1; + return e + } + , + this.getFreshValueHex = function() { + return this.hV + } + , + void 0 !== t && ("string" == typeof t && t.toLowerCase().match(/^[0-9a-f]+$/) ? this.setHexValueIncludingUnusedBits(t) : void 0 !== t.hex ? this.setHexValueIncludingUnusedBits(t.hex) : void 0 !== t.bin ? this.setByBinaryString(t.bin) : void 0 !== t.array && this.setByBooleanArray(t.array)) + } + , + lt.lang.extend(ft.asn1.DERBitString, ft.asn1.ASN1Object), + ft.asn1.DEROctetString = function(t) { + var e; + void 0 !== t && void 0 !== t.obj && (e = ft.asn1.ASN1Util.newObject(t.obj), + t.hex = e.getEncodedHex()), + ft.asn1.DEROctetString.superclass.constructor.call(this, t), + this.hT = "04" + } + , + lt.lang.extend(ft.asn1.DEROctetString, ft.asn1.DERAbstractString), + ft.asn1.DERNull = function() { + ft.asn1.DERNull.superclass.constructor.call(this), + this.hT = "05", + this.hTLV = "0500" + } + , + lt.lang.extend(ft.asn1.DERNull, ft.asn1.ASN1Object), + ft.asn1.DERObjectIdentifier = function(t) { + function e(t) { + return 1 == (t = t.toString(16)).length && (t = "0" + t), + t + } + ft.asn1.DERObjectIdentifier.superclass.constructor.call(this), + this.hT = "06", + this.setValueHex = function(t) { + this.hTLV = null, + this.isModified = !0, + this.s = null, + this.hV = t + } + , + this.setValueOidString = function(t) { + if (!t.match(/^[0-9.]+$/)) + throw "malformed oid string: " + t; + var r = "" + , n = t.split("."); + t = 40 * parseInt(n[0]) + parseInt(n[1]); + r += e(t), + n.splice(0, 2); + for (var i = 0; i < n.length; i++) + r += function(t) { + var r = "" + , n = new k(t,10).toString(2) + , i = 7 - n.length % 7; + 7 == i && (i = 0); + for (var o = "", a = 0; a < i; a++) + o += "0"; + for (n = o + n, + a = 0; a < n.length - 1; a += 7) { + var s = n.substr(a, 7); + a != n.length - 7 && (s = "1" + s), + r += e(parseInt(s, 2)) + } + return r + }(n[i]); + this.hTLV = null, + this.isModified = !0, + this.s = null, + this.hV = r + } + , + this.setValueName = function(t) { + var e = ft.asn1.x509.OID.name2oid(t); + if ("" === e) + throw "DERObjectIdentifier oidName undefined: " + t; + this.setValueOidString(e) + } + , + this.getFreshValueHex = function() { + return this.hV + } + , + void 0 !== t && ("string" == typeof t ? t.match(/^[0-2].[0-9.]+$/) ? this.setValueOidString(t) : this.setValueName(t) : void 0 !== t.oid ? this.setValueOidString(t.oid) : void 0 !== t.hex ? this.setValueHex(t.hex) : void 0 !== t.name && this.setValueName(t.name)) + } + , + lt.lang.extend(ft.asn1.DERObjectIdentifier, ft.asn1.ASN1Object), + ft.asn1.DEREnumerated = function(t) { + ft.asn1.DEREnumerated.superclass.constructor.call(this), + this.hT = "0a", + this.setByBigInteger = function(t) { + this.hTLV = null, + this.isModified = !0, + this.hV = ft.asn1.ASN1Util.bigIntToMinTwosComplementsHex(t) + } + , + this.setByInteger = function(t) { + t = new k(String(t),10), + this.setByBigInteger(t) + } + , + this.setValueHex = function(t) { + this.hV = t + } + , + this.getFreshValueHex = function() { + return this.hV + } + , + void 0 !== t && (void 0 !== t.int ? this.setByInteger(t.int) : "number" == typeof t ? this.setByInteger(t) : void 0 !== t.hex && this.setValueHex(t.hex)) + } + , + lt.lang.extend(ft.asn1.DEREnumerated, ft.asn1.ASN1Object), + ft.asn1.DERUTF8String = function(t) { + ft.asn1.DERUTF8String.superclass.constructor.call(this, t), + this.hT = "0c" + } + , + lt.lang.extend(ft.asn1.DERUTF8String, ft.asn1.DERAbstractString), + ft.asn1.DERNumericString = function(t) { + ft.asn1.DERNumericString.superclass.constructor.call(this, t), + this.hT = "12" + } + , + lt.lang.extend(ft.asn1.DERNumericString, ft.asn1.DERAbstractString), + ft.asn1.DERPrintableString = function(t) { + ft.asn1.DERPrintableString.superclass.constructor.call(this, t), + this.hT = "13" + } + , + lt.lang.extend(ft.asn1.DERPrintableString, ft.asn1.DERAbstractString), + ft.asn1.DERTeletexString = function(t) { + ft.asn1.DERTeletexString.superclass.constructor.call(this, t), + this.hT = "14" + } + , + lt.lang.extend(ft.asn1.DERTeletexString, ft.asn1.DERAbstractString), + ft.asn1.DERIA5String = function(t) { + ft.asn1.DERIA5String.superclass.constructor.call(this, t), + this.hT = "16" + } + , + lt.lang.extend(ft.asn1.DERIA5String, ft.asn1.DERAbstractString), + ft.asn1.DERUTCTime = function(t) { + ft.asn1.DERUTCTime.superclass.constructor.call(this, t), + this.hT = "17", + this.setByDate = function(t) { + this.hTLV = null, + this.isModified = !0, + this.date = t, + this.s = this.formatDate(this.date, "utc"), + this.hV = stohex(this.s) + } + , + this.getFreshValueHex = function() { + return void 0 === this.date && void 0 === this.s && (this.date = new Date, + this.s = this.formatDate(this.date, "utc"), + this.hV = stohex(this.s)), + this.hV + } + , + void 0 !== t && (void 0 !== t.str ? this.setString(t.str) : "string" == typeof t && t.match(/^[0-9]{12}Z$/) ? this.setString(t) : void 0 !== t.hex ? this.setStringHex(t.hex) : void 0 !== t.date && this.setByDate(t.date)) + } + , + lt.lang.extend(ft.asn1.DERUTCTime, ft.asn1.DERAbstractTime), + ft.asn1.DERGeneralizedTime = function(t) { + ft.asn1.DERGeneralizedTime.superclass.constructor.call(this, t), + this.hT = "18", + this.withMillis = !1, + this.setByDate = function(t) { + this.hTLV = null, + this.isModified = !0, + this.date = t, + this.s = this.formatDate(this.date, "gen", this.withMillis), + this.hV = stohex(this.s) + } + , + this.getFreshValueHex = function() { + return void 0 === this.date && void 0 === this.s && (this.date = new Date, + this.s = this.formatDate(this.date, "gen", this.withMillis), + this.hV = stohex(this.s)), + this.hV + } + , + void 0 !== t && (void 0 !== t.str ? this.setString(t.str) : "string" == typeof t && t.match(/^[0-9]{14}Z$/) ? this.setString(t) : void 0 !== t.hex ? this.setStringHex(t.hex) : void 0 !== t.date && this.setByDate(t.date), + !0 === t.millis && (this.withMillis = !0)) + } + , + lt.lang.extend(ft.asn1.DERGeneralizedTime, ft.asn1.DERAbstractTime), + ft.asn1.DERSequence = function(t) { + ft.asn1.DERSequence.superclass.constructor.call(this, t), + this.hT = "30", + this.getFreshValueHex = function() { + for (var t = "", e = 0; e < this.asn1Array.length; e++) + t += this.asn1Array[e].getEncodedHex(); + return this.hV = t, + this.hV + } + } + , + lt.lang.extend(ft.asn1.DERSequence, ft.asn1.DERAbstractStructured), + ft.asn1.DERSet = function(t) { + ft.asn1.DERSet.superclass.constructor.call(this, t), + this.hT = "31", + this.sortFlag = !0, + this.getFreshValueHex = function() { + for (var t = new Array, e = 0; e < this.asn1Array.length; e++) { + var r = this.asn1Array[e]; + t.push(r.getEncodedHex()) + } + return 1 == this.sortFlag && t.sort(), + this.hV = t.join(""), + this.hV + } + , + void 0 !== t && void 0 !== t.sortflag && 0 == t.sortflag && (this.sortFlag = !1) + } + , + lt.lang.extend(ft.asn1.DERSet, ft.asn1.DERAbstractStructured), + ft.asn1.DERTaggedObject = function(t) { + ft.asn1.DERTaggedObject.superclass.constructor.call(this), + this.hT = "a0", + this.hV = "", + this.isExplicit = !0, + this.asn1Object = null, + this.setASN1Object = function(t, e, r) { + this.hT = e, + this.isExplicit = t, + this.asn1Object = r, + this.isExplicit ? (this.hV = this.asn1Object.getEncodedHex(), + this.hTLV = null, + this.isModified = !0) : (this.hV = null, + this.hTLV = r.getEncodedHex(), + this.hTLV = this.hTLV.replace(/^../, e), + this.isModified = !1) + } + , + this.getFreshValueHex = function() { + return this.hV + } + , + void 0 !== t && (void 0 !== t.tag && (this.hT = t.tag), + void 0 !== t.explicit && (this.isExplicit = t.explicit), + void 0 !== t.obj && (this.asn1Object = t.obj, + this.setASN1Object(this.isExplicit, this.hT, this.asn1Object))) + } + , + lt.lang.extend(ft.asn1.DERTaggedObject, ft.asn1.ASN1Object); + var ht, pt, mt, bt = (f(pt = yt, mt = ht = ct), + pt.prototype = null === mt ? Object.create(mt) : (gt.prototype = mt.prototype, + new gt), + yt.prototype.parseKey = function(t) { + try { + var e = 0 + , r = 0 + , n = /^\s*(?:[0-9A-Fa-f][0-9A-Fa-f]\s*)+$/.test(t) ? h(t) : p.unarmor(t) + , i = A.decode(n); + if (3 === i.sub.length && (i = i.sub[2].sub[0]), + 9 === i.sub.length) + e = i.sub[1].getHexStringValue(), + this.n = U(e, 16), + r = i.sub[2].getHexStringValue(), + this.e = parseInt(r, 16), + n = i.sub[3].getHexStringValue(), + this.d = U(n, 16), + n = i.sub[4].getHexStringValue(), + this.p = U(n, 16), + n = i.sub[5].getHexStringValue(), + this.q = U(n, 16), + n = i.sub[6].getHexStringValue(), + this.dmp1 = U(n, 16), + n = i.sub[7].getHexStringValue(), + this.dmq1 = U(n, 16), + n = i.sub[8].getHexStringValue(), + this.coeff = U(n, 16); + else { + if (2 !== i.sub.length) + return !1; + i = i.sub[1].sub[0], + e = i.sub[0].getHexStringValue(), + this.n = U(e, 16), + r = i.sub[1].getHexStringValue(), + this.e = parseInt(r, 16) + } + return !0 + } catch (t) { + return !1 + } + } + , + yt.prototype.getPrivateBaseKey = function() { + var t = { + array: [new ft.asn1.DERInteger({ + int: 0 + }), new ft.asn1.DERInteger({ + bigint: this.n + }), new ft.asn1.DERInteger({ + int: this.e + }), new ft.asn1.DERInteger({ + bigint: this.d + }), new ft.asn1.DERInteger({ + bigint: this.p + }), new ft.asn1.DERInteger({ + bigint: this.q + }), new ft.asn1.DERInteger({ + bigint: this.dmp1 + }), new ft.asn1.DERInteger({ + bigint: this.dmq1 + }), new ft.asn1.DERInteger({ + bigint: this.coeff + })] + }; + return new ft.asn1.DERSequence(t).getEncodedHex() + } + , + yt.prototype.getPrivateBaseKeyB64 = function() { + return c(this.getPrivateBaseKey()) + } + , + yt.prototype.getPublicBaseKey = function() { + var t = new ft.asn1.DERSequence({ + array: [new ft.asn1.DERObjectIdentifier({ + oid: "1.2.840.113549.1.1.1" + }), new ft.asn1.DERNull] + }) + , e = new ft.asn1.DERSequence({ + array: [new ft.asn1.DERInteger({ + bigint: this.n + }), new ft.asn1.DERInteger({ + int: this.e + })] + }); + e = new ft.asn1.DERBitString({ + hex: "00" + e.getEncodedHex() + }); + return new ft.asn1.DERSequence({ + array: [t, e] + }).getEncodedHex() + } + , + yt.prototype.getPublicBaseKeyB64 = function() { + return c(this.getPublicBaseKey()) + } + , + yt.wordwrap = function(t, e) { + return t ? (e = "(.{1," + (e = e || 64) + "})( +|$\n?)|(.{1," + e + "})", + t.match(RegExp(e, "g")).join("\n")) : t + } + , + yt.prototype.getPrivateKey = function() { + var t = "-----BEGIN RSA PRIVATE KEY-----\n"; + return t += yt.wordwrap(this.getPrivateBaseKeyB64()) + "\n", + t + "-----END RSA PRIVATE KEY-----" + } + , + yt.prototype.getPublicKey = function() { + var t = "-----BEGIN PUBLIC KEY-----\n"; + return t += yt.wordwrap(this.getPublicBaseKeyB64()) + "\n", + t + "-----END PUBLIC KEY-----" + } + , + yt.hasPublicKeyProperty = function(t) { + return (t = t || {}).hasOwnProperty("n") && t.hasOwnProperty("e") + } + , + yt.hasPrivateKeyProperty = function(t) { + return (t = t || {}).hasOwnProperty("n") && t.hasOwnProperty("e") && t.hasOwnProperty("d") && t.hasOwnProperty("p") && t.hasOwnProperty("q") && t.hasOwnProperty("dmp1") && t.hasOwnProperty("dmq1") && t.hasOwnProperty("coeff") + } + , + yt.prototype.parsePropertiesFrom = function(t) { + this.n = t.n, + this.e = t.e, + t.hasOwnProperty("d") && (this.d = t.d, + this.p = t.p, + this.q = t.q, + this.dmp1 = t.dmp1, + this.dmq1 = t.dmq1, + this.coeff = t.coeff) + } + , + yt); + function gt() { + this.constructor = pt + } + function yt(t) { + var e = ht.call(this) || this; + return t && ("string" == typeof t ? e.parseKey(t) : (yt.hasPrivateKeyProperty(t) || yt.hasPublicKeyProperty(t)) && e.parsePropertiesFrom(t)), + e + } + function vt(t) { + t = t || {}, + this.default_key_size = parseInt(t.default_key_size, 10) || 1024, + this.default_public_exponent = t.default_public_exponent || "010001", + this.log = t.log || !1, + this.key = null + } + vt.prototype.setKey = function(t) { + this.log && this.key && console.warn("A key was already set, overriding existing."), + this.key = new bt(t) + } + , + vt.prototype.setPrivateKey = function(t) { + this.setKey(t) + } + , + vt.prototype.setPublicKey = function(t) { + this.setKey(t) + } + , + vt.prototype.decrypt = function(t, e) { + void 0 === e && (e = !0); + try { + return this.getKey().decrypt(u(t), e) + } catch (t) { + return !1 + } + } + , + vt.prototype.encrypt = function(t, e) { + void 0 === e && (e = !1); + try { + return c(this.getKey().encrypt(t, e)) + } catch (t) { + return !1 + } + } + , + vt.prototype.sign = function(t, e, r) { + try { + return c(this.getKey().sign(t, e, r)) + } catch (t) { + return !1 + } + } + , + vt.prototype.verify = function(t, e, r) { + try { + return this.getKey().verify(t, u(e), r) + } catch (t) { + return !1 + } + } + , + vt.prototype.getKey = function(t) { + if (!this.key) { + if (this.key = new bt, + t && "[object Function]" === {}.toString.call(t)) + return void this.key.generateAsync(this.default_key_size, this.default_public_exponent, t); + this.key.generate(this.default_key_size, this.default_public_exponent) + } + return this.key + } + , + vt.prototype.getPrivateKey = function() { + return this.getKey().getPrivateKey() + } + , + vt.prototype.getPrivateKeyB64 = function() { + return this.getKey().getPrivateBaseKeyB64() + } + , + vt.prototype.getPublicKey = function() { + return this.getKey().getPublicKey() + } + , + vt.prototype.getPublicKeyB64 = function() { + return this.getKey().getPublicBaseKeyB64() + } + , + vt.version = "3.0.0-rc.1", + lt = vt, + window.JSEncrypt = lt, + t.JSEncrypt = lt, + t.default = lt, + Object.defineProperty(t, "__esModule", { + value: !0 + }) + } + )) + }, + "9bdd": function(t, e, r) { var n = r("825a") , i = r("2a62"); - e.exports = function(e, t, r, o) { + t.exports = function(t, e, r, o) { try { - return o ? t(n(r)[0], r[1]) : t(r) + return o ? e(n(r)[0], r[1]) : e(r) } catch (a) { - i(e, "throw", a) + i(t, "throw", a) } } }, - "9bf2": function(e, t, r) { + "9bf2": function(t, e, r) { var n = r("da84") , i = r("83ab") , o = r("0cfb") @@ -28852,36 +31926,36 @@ , f = "enumerable" , h = "configurable" , p = "writable"; - t.f = i ? a ? function(e, t, r) { - if (s(e), - t = c(t), + e.f = i ? a ? function(t, e, r) { + if (s(t), + e = c(e), s(r), - "function" === typeof e && "prototype" === t && "value"in r && p in r && !r[p]) { - var n = l(e, t); - n && n[p] && (e[t] = r.value, + "function" === typeof t && "prototype" === e && "value"in r && p in r && !r[p]) { + var n = l(t, e); + n && n[p] && (t[e] = r.value, r = { configurable: h in r ? r[h] : n[h], enumerable: f in r ? r[f] : n[f], writable: !1 }) } - return d(e, t, r) + return d(t, e, r) } - : d : function(e, t, r) { - if (s(e), - t = c(t), + : d : function(t, e, r) { + if (s(t), + e = c(e), s(r), o) try { - return d(e, t, r) + return d(t, e, r) } catch (n) {} if ("get"in r || "set"in r) throw u("Accessors not supported"); - return "value"in r && (e[t] = r.value), - e + return "value"in r && (t[e] = r.value), + t } }, - "9ed3": function(e, t, r) { + "9ed3": function(t, e, r) { "use strict"; var n = r("ae93").IteratorPrototype , i = r("7c73") @@ -28891,56 +31965,56 @@ , c = function() { return this }; - e.exports = function(e, t, r, u) { - var d = t + " Iterator"; - return e.prototype = i(n, { + t.exports = function(t, e, r, u) { + var d = e + " Iterator"; + return t.prototype = i(n, { next: o(+!u, r) }), - a(e, d, !1, !0), + a(t, d, !1, !0), s[d] = c, - e + t } }, - a04b: function(e, t, r) { + a04b: function(t, e, r) { var n = r("c04e") , i = r("d9b5"); - e.exports = function(e) { - var t = n(e, "string"); - return i(t) ? t : t + "" + t.exports = function(t) { + var e = n(t, "string"); + return i(e) ? e : e + "" } }, - a476: function(e, t, r) { + a476: function(t, e, r) { var n; - n = function(e) { + n = function(t) { "use strict"; - var t = r("cb1f") + var e = r("cb1f") , n = r("699f") , i = "…" , o = /^(\d\d)(0[1-9]|1[0-2])(0[1-9]|[12]\d|3[01])([01]\d|2[0-3])(?:([0-5]\d)(?:([0-5]\d)(?:[.,](\d{1,3}))?)?)?(Z|[-+](?:[0]\d|1[0-2])([0-5]\d)?)?$/ , a = /^(\d\d\d\d)(0[1-9]|1[0-2])(0[1-9]|[12]\d|3[01])([01]\d|2[0-3])(?:([0-5]\d)(?:([0-5]\d)(?:[.,](\d{1,3}))?)?)?(Z|[-+](?:[0]\d|1[0-2])([0-5]\d)?)?$/; - function s(e, t) { - return e.length > t && (e = e.substring(0, t) + i), - e + function s(t, e) { + return t.length > e && (t = t.substring(0, e) + i), + t } - function c(e, t) { - e instanceof c ? (this.enc = e.enc, - this.pos = e.pos) : (this.enc = e, - this.pos = t) + function c(t, e) { + t instanceof c ? (this.enc = t.enc, + this.pos = t.pos) : (this.enc = t, + this.pos = e) } - c.prototype.get = function(e) { - if (void 0 === e && (e = this.pos++), - e >= this.enc.length) - throw "Requesting byte offset " + e + " on a stream of length " + this.enc.length; - return "string" == typeof this.enc ? this.enc.charCodeAt(e) : this.enc[e] + c.prototype.get = function(t) { + if (void 0 === t && (t = this.pos++), + t >= this.enc.length) + throw "Requesting byte offset " + t + " on a stream of length " + this.enc.length; + return "string" == typeof this.enc ? this.enc.charCodeAt(t) : this.enc[t] } , c.prototype.hexDigits = "0123456789ABCDEF", - c.prototype.hexByte = function(e) { - return this.hexDigits.charAt(e >> 4 & 15) + this.hexDigits.charAt(15 & e) + c.prototype.hexByte = function(t) { + return this.hexDigits.charAt(t >> 4 & 15) + this.hexDigits.charAt(15 & t) } , - c.prototype.hexDump = function(e, t, r) { - for (var n = "", i = e; i < t; ++i) + c.prototype.hexDump = function(t, e, r) { + for (var n = "", i = t; i < e; ++i) if (n += this.hexByte(this.get(i)), !0 !== r) switch (15 & i) { @@ -28957,54 +32031,54 @@ } ; var u = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"; - function d(e, t, r, n, i, o) { + function d(t, e, r, n, i, o) { if (!(n instanceof f)) throw "Invalid tag value."; - this.stream = e, - this.header = t, + this.stream = t, + this.header = e, this.length = r, this.tag = n, this.tagLen = i, this.sub = o } - function l(e, t, r) { + function l(t, e, r) { var n = !0; - if (e.tag.tagConstructed && e.sub && (n = !1, - e.sub.forEach((function(t) { - t.tag.tagClass == e.tag.tagClass && t.tag.tagNumber == e.tag.tagNumber || (n = !0) + if (t.tag.tagConstructed && t.sub && (n = !1, + t.sub.forEach((function(e) { + e.tag.tagClass == t.tag.tagClass && e.tag.tagNumber == t.tag.tagNumber || (n = !0) } ))), n) - return e.stream[t](e.posContent(), e.posContent() + Math.abs(e.length), r); + return t.stream[e](t.posContent(), t.posContent() + Math.abs(t.length), r); var i = { size: 0, str: "" }; - return e.sub.forEach((function(e) { - var n = l(e, t, r - i.str.length); + return t.sub.forEach((function(t) { + var n = l(t, e, r - i.str.length); i.size += n.size, i.str += n.str } )), i } - function f(e) { - var r = e.get(); + function f(t) { + var r = t.get(); if (this.tagClass = r >> 6, this.tagConstructed = 0 !== (32 & r), this.tagNumber = 31 & r, 31 == this.tagNumber) { - var n = new t; + var n = new e; do { - r = e.get(), + r = t.get(), n.mulAdd(128, 127 & r) } while (128 & r); this.tagNumber = n.simplify() } } - return c.prototype.b64Dump = function(e, t) { - var r, n, i = (t - e) % 3, o = ""; - for (r = e; r + 2 < t; r += 3) + return c.prototype.b64Dump = function(t, e) { + var r, n, i = (e - t) % 3, o = ""; + for (r = t; r + 2 < e; r += 3) n = this.get(r) << 16 | this.get(r + 1) << 8 | this.get(r + 2), o += u.charAt(n >> 18 & 63), o += u.charAt(n >> 12 & 63), @@ -29018,8 +32092,8 @@ o } , - c.prototype.isASCII = function(e, t) { - for (var r = e; r < t; ++r) { + c.prototype.isASCII = function(t, e) { + for (var r = t; r < e; ++r) { var n = this.get(r); if (n < 32 || n > 176) return !1 @@ -29027,25 +32101,25 @@ return !0 } , - c.prototype.parseStringISO = function(e, t) { - for (var r = "", n = e; n < t; ++n) + c.prototype.parseStringISO = function(t, e) { + for (var r = "", n = t; n < e; ++n) r += String.fromCharCode(this.get(n)); return r } , - c.prototype.parseStringUTF = function(e, t) { - function r(e) { - if (e < 128 || e >= 192) - throw new Error("Invalid UTF-8 continuation byte: " + e); - return 63 & e + c.prototype.parseStringUTF = function(t, e) { + function r(t) { + if (t < 128 || t >= 192) + throw new Error("Invalid UTF-8 continuation byte: " + t); + return 63 & t } - function n(e) { - if (e < 65536) - throw new Error("UTF-8 overlong encoding, codepoint encoded in 4 bytes: " + e); - return e -= 65536, - String.fromCharCode(55296 + (e >> 10), 56320 + (1023 & e)) + function n(t) { + if (t < 65536) + throw new Error("UTF-8 overlong encoding, codepoint encoded in 4 bytes: " + t); + return t -= 65536, + String.fromCharCode(55296 + (t >> 10), 56320 + (1023 & t)) } - for (var i = "", o = e; o < t; ) { + for (var i = "", o = t; o < e; ) { var a = this.get(o++); if (a < 128) i += String.fromCharCode(a); @@ -29066,16 +32140,16 @@ return i } , - c.prototype.parseStringBMP = function(e, t) { - for (var r, n, i = "", o = e; o < t; ) + c.prototype.parseStringBMP = function(t, e) { + for (var r, n, i = "", o = t; o < e; ) r = this.get(o++), n = this.get(o++), i += String.fromCharCode(r << 8 | n); return i } , - c.prototype.parseTime = function(e, t, r) { - var n = this.parseStringISO(e, t) + c.prototype.parseTime = function(t, e, r) { + var n = this.parseStringISO(t, e) , i = (r ? o : a).exec(n); return i ? (r && (i[1] = +i[1], i[1] += i[1] < 70 ? 2e3 : 1900), @@ -29089,11 +32163,11 @@ n) : "Unrecognized time: " + n } , - c.prototype.parseInteger = function(e, r) { - var n, i = this.get(e), o = i > 127, a = o ? 255 : 0, s = ""; - while (i == a && ++e < r) - i = this.get(e); - if (n = r - e, + c.prototype.parseInteger = function(t, r) { + var n, i = this.get(t), o = i > 127, a = o ? 255 : 0, s = ""; + while (i == a && ++t < r) + i = this.get(t); + if (n = r - t, 0 === n) return o ? "-1" : "0"; if (n > 4) { @@ -29105,17 +32179,17 @@ s = "(" + n + " bit)\n" } o && (i -= 256); - for (var c = new t(i), u = e + 1; u < r; ++u) + for (var c = new e(i), u = t + 1; u < r; ++u) c.mulAdd(256, this.get(u)); return s + c.toString() } , - c.prototype.parseBitString = function(e, t, r) { - var n = this.get(e); + c.prototype.parseBitString = function(t, e, r) { + var n = this.get(t); if (n > 7) throw "Invalid BitString with unusedBits=" + n; - for (var i = (t - e - 1 << 3) - n, o = "", a = e + 1; a < t; ++a) { - for (var c = this.get(a), u = a == t - 1 ? n : 0, d = 7; d >= u; --d) + for (var i = (e - t - 1 << 3) - n, o = "", a = t + 1; a < e; ++a) { + for (var c = this.get(a), u = a == e - 1 ? n : 0, d = 7; d >= u; --d) o += c >> d & 1 ? "1" : "0"; o.length > r && (o = s(o, r)) } @@ -29125,11 +32199,11 @@ } } , - c.prototype.parseOctetString = function(e, t, r) { - var n, o = t - e; + c.prototype.parseOctetString = function(t, e, r) { + var n, o = e - t; try { var a; - for (n = this.parseStringUTF(e, t), + for (n = this.parseStringUTF(t, e), s = 0; s < n.length; ++s) if (a = n.charCodeAt(s), a < 32 && 9 != a && 10 != a && 13 != a) @@ -29140,9 +32214,9 @@ } } catch (c) {} r /= 2, - o > r && (t = e + r), + o > r && (e = t + r), n = ""; - for (var s = e; s < t; ++s) + for (var s = t; s < e; ++s) n += this.hexByte(this.get(s)); return o > r && (n += i), { @@ -29151,15 +32225,15 @@ } } , - c.prototype.parseOID = function(e, r, i) { - for (var o = "", a = new t, c = 0, u = e; u < r; ++u) { + c.prototype.parseOID = function(t, r, i) { + for (var o = "", a = new e, c = 0, u = t; u < r; ++u) { var d = this.get(u); if (a.mulAdd(128, 127 & d), c += 7, !(128 & d)) { if ("" === o) if (a = a.simplify(), - a instanceof t) + a instanceof e) a.sub(80), o = "2." + a.toString(); else { @@ -29170,7 +32244,7 @@ o += "." + a.toString(); if (o.length > i) return s(o, i); - a = new t, + a = new e, c = 0 } } @@ -29253,38 +32327,38 @@ } } , - d.prototype.content = function(e) { + d.prototype.content = function(t) { if (void 0 === this.tag) return null; - void 0 === e && (e = 1 / 0); - var t = this.posContent() + void 0 === t && (t = 1 / 0); + var e = this.posContent() , r = Math.abs(this.length); if (!this.tag.isUniversal()) { if (null !== this.sub) return "(" + this.sub.length + " elem)"; - var n = this.stream.parseOctetString(t, t + r, e); + var n = this.stream.parseOctetString(e, e + r, t); return "(" + n.size + " byte)\n" + n.str } switch (this.tag.tagNumber) { case 1: - return 0 === this.stream.get(t) ? "false" : "true"; + return 0 === this.stream.get(e) ? "false" : "true"; case 2: - return this.stream.parseInteger(t, t + r); + return this.stream.parseInteger(e, e + r); case 3: - var i = l(this, "parseBitString", e); + var i = l(this, "parseBitString", t); return "(" + i.size + " bit)\n" + i.str; case 4: - return i = l(this, "parseOctetString", e), + return i = l(this, "parseOctetString", t), "(" + i.size + " byte)\n" + i.str; case 6: - return this.stream.parseOID(t, t + r, e); + return this.stream.parseOID(e, e + r, t); case 10: - return this.stream.parseInteger(t, t + r); + return this.stream.parseInteger(e, e + r); case 16: case 17: return null !== this.sub ? "(" + this.sub.length + " elem)" : "(no elem)"; case 12: - return s(this.stream.parseStringUTF(t, t + r), e); + return s(this.stream.parseStringUTF(e, e + r), t); case 18: case 19: case 20: @@ -29292,12 +32366,12 @@ case 22: case 26: case 27: - return s(this.stream.parseStringISO(t, t + r), e); + return s(this.stream.parseStringISO(e, e + r), t); case 30: - return s(this.stream.parseStringBMP(t, t + r), e); + return s(this.stream.parseStringBMP(e, e + r), t); case 23: case 24: - return this.stream.parseTime(t, t + r, 23 == this.tag.tagNumber) + return this.stream.parseTime(e, e + r, 23 == this.tag.tagNumber) } return null } @@ -29306,21 +32380,21 @@ return this.typeName() + "@" + this.stream.pos + "[header:" + this.header + ",length:" + this.length + ",sub:" + (null === this.sub ? "null" : this.sub.length) + "]" } , - d.prototype.toPrettyString = function(e) { - void 0 === e && (e = ""); - var t = e + this.typeName() + " @" + this.stream.pos; - this.length >= 0 && (t += "+"), - t += this.length, - this.tag.tagConstructed ? t += " (constructed)" : !this.tag.isUniversal() || 3 != this.tag.tagNumber && 4 != this.tag.tagNumber || null === this.sub || (t += " (encapsulates)"); + d.prototype.toPrettyString = function(t) { + void 0 === t && (t = ""); + var e = t + this.typeName() + " @" + this.stream.pos; + this.length >= 0 && (e += "+"), + e += this.length, + this.tag.tagConstructed ? e += " (constructed)" : !this.tag.isUniversal() || 3 != this.tag.tagNumber && 4 != this.tag.tagNumber || null === this.sub || (e += " (encapsulates)"); var r = this.content(); - if (r && (t += ": " + r.replace(/\n/g, "|")), - t += "\n", + if (r && (e += ": " + r.replace(/\n/g, "|")), + e += "\n", null !== this.sub) { - e += " "; + t += " "; for (var n = 0, i = this.sub.length; n < i; ++n) - t += this.sub[n].toPrettyString(e) + e += this.sub[n].toPrettyString(t) } - return t + return e } , d.prototype.posStart = function() { @@ -29347,19 +32421,19 @@ return this.stream.b64Dump(this.posStart(), this.posEnd()) } , - d.decodeLength = function(e) { - var t = e.get() - , r = 127 & t; - if (r == t) + d.decodeLength = function(t) { + var e = t.get() + , r = 127 & e; + if (r == e) return r; if (0 === r) return null; if (r > 6) - throw "Length over 48 bits not supported at position " + (e.pos - 1); - t = 0; + throw "Length over 48 bits not supported at position " + (t.pos - 1); + e = 0; for (var n = 0; n < r; ++n) - t = 256 * t + e.get(); - return t + e = 256 * e + t.get(); + return e } , f.prototype.isUniversal = function() { @@ -29370,34 +32444,34 @@ return 0 === this.tagClass && 0 === this.tagNumber } , - d.decode = function(e, t) { - e instanceof c || (e = new c(e,t || 0)); - var r = new c(e) - , n = new f(e) - , i = e.pos - r.pos - , o = d.decodeLength(e) - , a = e.pos + d.decode = function(t, e) { + t instanceof c || (t = new c(t,e || 0)); + var r = new c(t) + , n = new f(t) + , i = t.pos - r.pos + , o = d.decodeLength(t) + , a = t.pos , s = a - r.pos , u = null , l = function() { if (u = [], null !== o) { - var t = a + o; - if (t > e.enc.length) + var e = a + o; + if (e > t.enc.length) throw "Container at offset " + a + " has a length of " + o + ", which is past the end of the stream"; - while (e.pos < t) - u[u.length] = d.decode(e); - if (e.pos != t) + while (t.pos < e) + u[u.length] = d.decode(t); + if (t.pos != e) throw "Content size is not correct for container at offset " + a } else try { for (; ; ) { - var r = d.decode(e); + var r = d.decode(t); if (r.tag.isEOC()) break; u[u.length] = r } - o = a - e.pos + o = a - t.pos } catch (n) { throw "Exception while decoding undefined length content at offset " + a + ": " + n } @@ -29406,7 +32480,7 @@ l(); else if (n.isUniversal() && (3 == n.tagNumber || 4 == n.tagNumber)) try { - if (3 == n.tagNumber && 0 != e.get()) + if (3 == n.tagNumber && 0 != t.get()) throw "BIT STRINGs with unused bits cannot encapsulate."; l(); for (var h = 0; h < u.length; ++h) @@ -29418,33 +32492,33 @@ if (null === u) { if (null === o) throw "We can't skip over an invalid tag with undefined length at offset " + a; - e.pos = a + Math.abs(o) + t.pos = a + Math.abs(o) } return new d(r,s,o,n,i,u) } , d } - .call(t, r, t, e), - void 0 === n || (e.exports = n) + .call(e, r, e, t), + void 0 === n || (t.exports = n) }, - a4b4: function(e, t, r) { + a4b4: function(t, e, r) { var n = r("342f"); - e.exports = /web0s(?!.*chrome)/i.test(n) + t.exports = /web0s(?!.*chrome)/i.test(n) }, - a4d3: function(e, t, r) { + a4d3: function(t, e, r) { r("d9f5"), r("b4f8"), r("c513"), r("e9c4"), r("5a47") }, - a630: function(e, t, r) { + a630: function(t, e, r) { var n = r("23e7") , i = r("4df4") , o = r("1c7e") - , a = !o((function(e) { - Array.from(e) + , a = !o((function(t) { + Array.from(t) } )); n({ @@ -29455,7 +32529,7 @@ from: i }) }, - a79d: function(e, t, r) { + a79d: function(t, e, r) { "use strict"; var n = r("23e7") , i = r("c430") @@ -29480,22 +32554,22 @@ real: !0, forced: h }, { - finally: function(e) { - var t = u(this, s("Promise")) - , r = c(e); + finally: function(t) { + var e = u(this, s("Promise")) + , r = c(t); return this.then(r ? function(r) { - return d(t, e()).then((function() { + return d(e, t()).then((function() { return r } )) } - : e, r ? function(r) { - return d(t, e()).then((function() { + : t, r ? function(r) { + return d(e, t()).then((function() { throw r } )) } - : e) + : t) } }), !i && c(o)) { @@ -29505,17 +32579,17 @@ }) } }, - a960: function(e, t, r) { + a960: function(t, e, r) { r("4fadc"); var n = r("428f"); - e.exports = n.Object.entries + t.exports = n.Object.entries }, - a981: function(e, t) { - e.exports = "undefined" != typeof ArrayBuffer && "undefined" != typeof DataView + a981: function(t, e) { + t.exports = "undefined" != typeof ArrayBuffer && "undefined" != typeof DataView }, - a9c6: function(e, t, r) { + a9c6: function(t, e, r) { "use strict"; - r.d(t, "a", (function() { + r.d(e, "a", (function() { return p } )); @@ -29525,50 +32599,50 @@ , a = r.n(o) , s = r("a476") , c = r.n(s); - function u(e) { - return u = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(e) { - return typeof e + function u(t) { + return u = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(t) { + return typeof t } - : function(e) { - return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e + : function(t) { + return t && "function" == typeof Symbol && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t } , - u(e) + u(t) } function d() { /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ d = function() { - return e + return t } ; - var e = {} - , t = Object.prototype - , r = t.hasOwnProperty + var t = {} + , e = Object.prototype + , r = e.hasOwnProperty , n = "function" == typeof Symbol ? Symbol : {} , i = n.iterator || "@@iterator" , o = n.asyncIterator || "@@asyncIterator" , a = n.toStringTag || "@@toStringTag"; - function s(e, t, r) { - return Object.defineProperty(e, t, { + function s(t, e, r) { + return Object.defineProperty(t, e, { value: r, enumerable: !0, configurable: !0, writable: !0 }), - e[t] + t[e] } try { s({}, "") } catch (x) { - s = function(e, t, r) { - return e[t] = r + s = function(t, e, r) { + return t[e] = r } } - function c(e, t, r, n) { - var i = t && t.prototype instanceof h ? t : h + function c(t, e, r, n) { + var i = e && e.prototype instanceof h ? e : h , o = Object.create(i.prototype) , a = new I(n || []); - return o._invoke = function(e, t, r) { + return o._invoke = function(t, e, r) { var n = "suspendedStart"; return function(i, o) { if ("executing" === n) @@ -29599,7 +32673,7 @@ } else "return" === r.method && r.abrupt("return", r.arg); n = "executing"; - var c = l(e, t, r); + var c = l(t, e, r); if ("normal" === c.type) { if (n = r.done ? "completed" : "suspendedYield", c.arg === f) @@ -29614,14 +32688,14 @@ r.arg = c.arg) } } - }(e, r, a), + }(t, r, a), o } - function l(e, t, r) { + function l(t, e, r) { try { return { type: "normal", - arg: e.call(t, r) + arg: t.call(e, r) } } catch (x) { return { @@ -29630,7 +32704,7 @@ } } } - e.wrap = c; + t.wrap = c; var f = {}; function h() {} function p() {} @@ -29642,123 +32716,123 @@ )); var g = Object.getPrototypeOf , y = g && g(g(E([]))); - y && y !== t && r.call(y, i) && (b = y); + y && y !== e && r.call(y, i) && (b = y); var v = m.prototype = h.prototype = Object.create(b); - function S(e) { - ["next", "throw", "return"].forEach((function(t) { - s(e, t, (function(e) { - return this._invoke(t, e) + function S(t) { + ["next", "throw", "return"].forEach((function(e) { + s(t, e, (function(t) { + return this._invoke(e, t) } )) } )) } - function w(e, t) { + function w(t, e) { function n(i, o, a, s) { - var c = l(e[i], e, o); + var c = l(t[i], t, o); if ("throw" !== c.type) { var d = c.arg , f = d.value; - return f && "object" == u(f) && r.call(f, "__await") ? t.resolve(f.__await).then((function(e) { - n("next", e, a, s) + return f && "object" == u(f) && r.call(f, "__await") ? e.resolve(f.__await).then((function(t) { + n("next", t, a, s) } - ), (function(e) { - n("throw", e, a, s) + ), (function(t) { + n("throw", t, a, s) } - )) : t.resolve(f).then((function(e) { - d.value = e, + )) : e.resolve(f).then((function(t) { + d.value = t, a(d) } - ), (function(e) { - return n("throw", e, a, s) + ), (function(t) { + return n("throw", t, a, s) } )) } s(c.arg) } var i; - this._invoke = function(e, r) { + this._invoke = function(t, r) { function o() { - return new t((function(t, i) { - n(e, r, t, i) + return new e((function(e, i) { + n(t, r, e, i) } )) } return i = i ? i.then(o, o) : o() } } - function C(e, t) { - var r = e.iterator[t.method]; + function C(t, e) { + var r = t.iterator[e.method]; if (void 0 === r) { - if (t.delegate = null, - "throw" === t.method) { - if (e.iterator.return && (t.method = "return", - t.arg = void 0, - C(e, t), - "throw" === t.method)) + if (e.delegate = null, + "throw" === e.method) { + if (t.iterator.return && (e.method = "return", + e.arg = void 0, + C(t, e), + "throw" === e.method)) return f; - t.method = "throw", - t.arg = new TypeError("The iterator does not provide a 'throw' method") + e.method = "throw", + e.arg = new TypeError("The iterator does not provide a 'throw' method") } return f } - var n = l(r, e.iterator, t.arg); + var n = l(r, t.iterator, e.arg); if ("throw" === n.type) - return t.method = "throw", - t.arg = n.arg, - t.delegate = null, + return e.method = "throw", + e.arg = n.arg, + e.delegate = null, f; var i = n.arg; - return i ? i.done ? (t[e.resultName] = i.value, - t.next = e.nextLoc, - "return" !== t.method && (t.method = "next", - t.arg = void 0), - t.delegate = null, - f) : i : (t.method = "throw", - t.arg = new TypeError("iterator result is not an object"), - t.delegate = null, + return i ? i.done ? (e[t.resultName] = i.value, + e.next = t.nextLoc, + "return" !== e.method && (e.method = "next", + e.arg = void 0), + e.delegate = null, + f) : i : (e.method = "throw", + e.arg = new TypeError("iterator result is not an object"), + e.delegate = null, f) } - function A(e) { - var t = { - tryLoc: e[0] + function _(t) { + var e = { + tryLoc: t[0] }; - 1 in e && (t.catchLoc = e[1]), - 2 in e && (t.finallyLoc = e[2], - t.afterLoc = e[3]), - this.tryEntries.push(t) + 1 in t && (e.catchLoc = t[1]), + 2 in t && (e.finallyLoc = t[2], + e.afterLoc = t[3]), + this.tryEntries.push(e) } - function _(e) { - var t = e.completion || {}; - t.type = "normal", - delete t.arg, - e.completion = t + function A(t) { + var e = t.completion || {}; + e.type = "normal", + delete e.arg, + t.completion = e } - function I(e) { + function I(t) { this.tryEntries = [{ tryLoc: "root" }], - e.forEach(A, this), + t.forEach(_, this), this.reset(!0) } - function E(e) { - if (e) { - var t = e[i]; - if (t) - return t.call(e); - if ("function" == typeof e.next) - return e; - if (!isNaN(e.length)) { + function E(t) { + if (t) { + var e = t[i]; + if (e) + return e.call(t); + if ("function" == typeof t.next) + return t; + if (!isNaN(t.length)) { var n = -1 - , o = 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 + , o = function e() { + for (; ++n < t.length; ) + if (r.call(t, n)) + return e.value = t[n], + e.done = !1, + e; + return e.value = void 0, + e.done = !0, + e }; return o.next = o } @@ -29777,21 +32851,21 @@ s(v, "constructor", m), s(m, "constructor", p), p.displayName = s(m, a, "GeneratorFunction"), - e.isGeneratorFunction = function(e) { - var t = "function" == typeof e && e.constructor; - return !!t && (t === p || "GeneratorFunction" === (t.displayName || t.name)) + t.isGeneratorFunction = function(t) { + var e = "function" == typeof t && t.constructor; + return !!e && (e === p || "GeneratorFunction" === (e.displayName || e.name)) } , - e.mark = function(e) { - return Object.setPrototypeOf ? Object.setPrototypeOf(e, m) : (e.__proto__ = m, - s(e, a, "GeneratorFunction")), - e.prototype = Object.create(v), - e + t.mark = function(t) { + return Object.setPrototypeOf ? Object.setPrototypeOf(t, m) : (t.__proto__ = m, + s(t, a, "GeneratorFunction")), + t.prototype = Object.create(v), + t } , - e.awrap = function(e) { + t.awrap = function(t) { return { - __await: e + __await: t } } , @@ -29800,12 +32874,12 @@ return this } )), - e.AsyncIterator = w, - e.async = function(t, r, n, i, o) { + t.AsyncIterator = w, + t.async = function(e, 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() + var a = new w(c(e, r, n, i),o); + return t.isGeneratorFunction(r) ? a : a.next().then((function(t) { + return t.done ? t.value : a.next() } )) } @@ -29820,15 +32894,15 @@ return "[object Generator]" } )), - e.keys = function(e) { - var t = []; - for (var r in e) - t.push(r); - return t.reverse(), + t.keys = function(t) { + var e = []; + for (var r in t) + e.push(r); + return e.reverse(), function r() { - for (; t.length; ) { - var n = t.pop(); - if (n in e) + for (; e.length; ) { + var n = e.pop(); + if (n in t) return r.value = n, r.done = !1, r @@ -29838,10 +32912,10 @@ } } , - e.values = E, + t.values = E, I.prototype = { constructor: I, - reset: function(e) { + reset: function(t) { if (this.prev = 0, this.next = 0, this.sent = this._sent = void 0, @@ -29849,28 +32923,28 @@ this.delegate = null, this.method = "next", this.arg = void 0, - this.tryEntries.forEach(_), - !e) - for (var t in this) - "t" === t.charAt(0) && r.call(this, t) && !isNaN(+t.slice(1)) && (this[t] = void 0) + this.tryEntries.forEach(A), + !t) + for (var e in this) + "t" === e.charAt(0) && r.call(this, e) && !isNaN(+e.slice(1)) && (this[e] = void 0) }, stop: function() { this.done = !0; - var e = this.tryEntries[0].completion; - if ("throw" === e.type) - throw e.arg; + var t = this.tryEntries[0].completion; + if ("throw" === t.type) + throw t.arg; return this.rval }, - dispatchException: function(e) { + dispatchException: function(t) { if (this.done) - throw e; - var t = this; + throw t; + var e = this; function n(r, n) { return a.type = "throw", - a.arg = e, - t.next = r, - n && (t.method = "next", - t.arg = void 0), + a.arg = t, + e.next = r, + n && (e.method = "next", + e.arg = void 0), !!n } for (var i = this.tryEntries.length - 1; i >= 0; --i) { @@ -29898,7 +32972,7 @@ } } }, - abrupt: function(e, t) { + abrupt: function(t, e) { 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) { @@ -29906,77 +32980,77 @@ break } } - o && ("break" === e || "continue" === e) && o.tryLoc <= t && t <= o.finallyLoc && (o = null); + o && ("break" === t || "continue" === t) && o.tryLoc <= e && e <= o.finallyLoc && (o = null); var a = o ? o.completion : {}; - return a.type = e, - a.arg = t, + return a.type = t, + a.arg = e, 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, + complete: function(t, e) { + if ("throw" === t.type) + throw t.arg; + return "break" === t.type || "continue" === t.type ? this.next = t.arg : "return" === t.type ? (this.rval = this.arg = t.arg, this.method = "return", - this.next = "end") : "normal" === e.type && t && (this.next = t), + this.next = "end") : "normal" === t.type && e && (this.next = e), f }, - finish: function(e) { - for (var t = this.tryEntries.length - 1; t >= 0; --t) { - var r = this.tryEntries[t]; - if (r.finallyLoc === e) + finish: function(t) { + for (var e = this.tryEntries.length - 1; e >= 0; --e) { + var r = this.tryEntries[e]; + if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), - _(r), + A(r), f } }, - catch: function(e) { - for (var t = this.tryEntries.length - 1; t >= 0; --t) { - var r = this.tryEntries[t]; - if (r.tryLoc === e) { + catch: function(t) { + for (var e = this.tryEntries.length - 1; e >= 0; --e) { + var r = this.tryEntries[e]; + if (r.tryLoc === t) { var n = r.completion; if ("throw" === n.type) { var i = n.arg; - _(r) + A(r) } return i } } throw new Error("illegal catch attempt") }, - delegateYield: function(e, t, r) { + delegateYield: function(t, e, r) { return this.delegate = { - iterator: E(e), - resultName: t, + iterator: E(t), + resultName: e, nextLoc: r }, "next" === this.method && (this.arg = void 0), f } }, - e + t } - function l(e, t, r, n, i, o, a) { + function l(t, e, r, n, i, o, a) { try { - var s = e[o](a) + var s = t[o](a) , c = s.value } catch (u) { return void r(u) } - s.done ? t(c) : Promise.resolve(c).then(n, i) + s.done ? e(c) : Promise.resolve(c).then(n, i) } - function f(e) { + function f(t) { return function() { - var t = this + var e = this , r = arguments; return new Promise((function(n, i) { - var o = e.apply(t, r); - function a(e) { - l(o, n, i, a, s, "next", e) + var o = t.apply(e, r); + function a(t) { + l(o, n, i, a, s, "next", t) } - function s(e) { - l(o, n, i, a, s, "throw", e) + function s(t) { + l(o, n, i, a, s, "throw", t) } a(void 0) } @@ -29985,47 +33059,47 @@ } var h = /^\s*(?:[0-9A-Fa-f][0-9A-Fa-f]\s*)+$/ , p = function() { - var e = f(d().mark((function e(t, r) { - return d().wrap((function(e) { + var t = f(d().mark((function t(e, r) { + return d().wrap((function(t) { while (1) - switch (e.prev = e.next) { + switch (t.prev = t.next) { case 0: - return e.abrupt("return", new Promise((function(e, n) { - t.files[r].async("base64").then((function(t) { - var r = m(t); - e(r) + return t.abrupt("return", new Promise((function(t, n) { + e.files[r].async("base64").then((function(e) { + var r = m(e); + t(r) } - ), (function(e) { - n(e) + ), (function(t) { + n(t) } )) } ))); case 1: case "end": - return e.stop() + return t.stop() } } - ), e) + ), t) } ))); - return function(t, r) { - return e.apply(this, arguments) + return function(e, r) { + return t.apply(this, arguments) } }() - , m = function(e) { + , m = function(t) { try { - var t = h.test(e) ? i.a.decode(e) : a.a.unarmor(e); - return b(t) + var e = h.test(t) ? i.a.decode(t) : a.a.unarmor(t); + return b(e) } catch (r) { return console.log(r), {} } } - , b = function(e, t) { - t = t || 0; + , b = function(t, e) { + e = e || 0; try { - var r = y(e, t); + var r = y(t, e); if (void 0 === r.toSign) return {}; var n = r.toSign.eseal.esealInfo.picture.type @@ -30045,30 +33119,30 @@ {} } } - , g = function(e) { - e = e.replace("Unrecognized time: ", ""); - e.indexOf("Z"); - return e = e.replace("Z", ""), - e = e.substr(0, 1) < "5" ? "20" + e : "19" + e, - e + , g = function(t) { + t = t.replace("Unrecognized time: ", ""); + t.indexOf("Z"); + return t = t.replace("Z", ""), + t = t.substr(0, 1) < "5" ? "20" + t : "19" + t, + t } - , y = function(e, t) { - t = t || 0; - var r, n = c.a.decode(e, t); + , y = function(t, e) { + e = e || 0; + var r, n = c.a.decode(t, e); try { - var i, o, a, s, u, d, l, f, h, p, m, b, y, I, E, T, x, P, k, D, O, R, M, N, B, F, j, K, U, L, X, z, G, W, q, H, V, Y, Q, Z, J, $, ee, te, re, ne, ie, oe, ae, se, ce, ue, de, le, fe, he, pe, me, be, ge, ye, ve, Se, we, Ce, Ae, _e, Ie, Ee, Te, xe, Pe, ke, De, Oe, Re, Me, Ne, Be, Fe, je, Ke, Ue, Le, Xe, ze, Ge, We, qe, He, Ve, Ye, Qe, Ze, Je, $e, et, tt, rt, nt, it = g(null === (i = n.sub[0]) || void 0 === i || null === (o = i.sub[1]) || void 0 === o || null === (a = o.sub[0]) || void 0 === a || null === (s = a.sub[2]) || void 0 === s || null === (u = s.sub[3]) || void 0 === u ? void 0 : u.stream.parseTime(n.sub[0].sub[1].sub[0].sub[2].sub[3].stream.pos + n.sub[0].sub[1].sub[0].sub[2].sub[3].header, n.sub[0].sub[1].sub[0].sub[2].sub[3].stream.pos + n.sub[0].sub[1].sub[0].sub[2].sub[3].header + n.sub[0].sub[1].sub[0].sub[2].sub[3].length)), ot = g(null === (d = n.sub[0]) || void 0 === d || null === (l = d.sub[1]) || void 0 === l || null === (f = l.sub[0]) || void 0 === f || null === (h = f.sub[2]) || void 0 === h || null === (p = h.sub[4]) || void 0 === p ? void 0 : p.stream.parseTime(n.sub[0].sub[1].sub[0].sub[2].sub[4].stream.pos + n.sub[0].sub[1].sub[0].sub[2].sub[4].header, n.sub[0].sub[1].sub[0].sub[2].sub[4].stream.pos + n.sub[0].sub[1].sub[0].sub[2].sub[4].header + n.sub[0].sub[1].sub[0].sub[2].sub[4].length)), at = g(null === (m = n.sub[0]) || void 0 === m || null === (b = m.sub[1]) || void 0 === b || null === (y = b.sub[0]) || void 0 === y || null === (I = y.sub[2]) || void 0 === I || null === (E = I.sub[5]) || void 0 === E ? void 0 : E.stream.parseTime(n.sub[0].sub[1].sub[0].sub[2].sub[5].stream.pos + n.sub[0].sub[1].sub[0].sub[2].sub[5].header, n.sub[0].sub[1].sub[0].sub[2].sub[5].stream.pos + n.sub[0].sub[1].sub[0].sub[2].sub[5].header + n.sub[0].sub[1].sub[0].sub[2].sub[5].length)), st = g(null === (T = n.sub[0]) || void 0 === T || null === (x = T.sub[2]) || void 0 === x ? void 0 : x.stream.parseTime(n.sub[0].sub[2].stream.pos + n.sub[0].sub[2].header, n.sub[0].sub[2].stream.pos + n.sub[0].sub[2].header + n.sub[0].sub[2].length, !1)), ct = null === (P = n.sub[0]) || void 0 === P || null === (k = P.sub[1]) || void 0 === k || null === (D = k.sub[0]) || void 0 === D || null === (O = D.sub[2]) || void 0 === O ? void 0 : O.sub[2], ut = new Array; - ct && ct.sub.forEach((function(e) { - ut.push(e.stream.parseOctetString(e.stream.pos + e.header, e.stream.pos + e.header + e.length)) + var i, o, a, s, u, d, l, f, h, p, m, b, y, I, E, T, x, P, k, D, O, R, N, M, B, F, j, K, L, U, X, z, G, W, q, V, H, Y, Z, Q, J, $, tt, et, rt, nt, it, ot, at, st, ct, ut, dt, lt, ft, ht, pt, mt, bt, gt, yt, vt, St, wt, Ct, _t, At, It, Et, Tt, xt, Pt, kt, Dt, Ot, Rt, Nt, Mt, Bt, Ft, jt, Kt, Lt, Ut, Xt, zt, Gt, Wt, qt, Vt, Ht, Yt, Zt, Qt, Jt, $t, te, ee, re, ne, ie = g(null === (i = n.sub[0]) || void 0 === i || null === (o = i.sub[1]) || void 0 === o || null === (a = o.sub[0]) || void 0 === a || null === (s = a.sub[2]) || void 0 === s || null === (u = s.sub[3]) || void 0 === u ? void 0 : u.stream.parseTime(n.sub[0].sub[1].sub[0].sub[2].sub[3].stream.pos + n.sub[0].sub[1].sub[0].sub[2].sub[3].header, n.sub[0].sub[1].sub[0].sub[2].sub[3].stream.pos + n.sub[0].sub[1].sub[0].sub[2].sub[3].header + n.sub[0].sub[1].sub[0].sub[2].sub[3].length)), oe = g(null === (d = n.sub[0]) || void 0 === d || null === (l = d.sub[1]) || void 0 === l || null === (f = l.sub[0]) || void 0 === f || null === (h = f.sub[2]) || void 0 === h || null === (p = h.sub[4]) || void 0 === p ? void 0 : p.stream.parseTime(n.sub[0].sub[1].sub[0].sub[2].sub[4].stream.pos + n.sub[0].sub[1].sub[0].sub[2].sub[4].header, n.sub[0].sub[1].sub[0].sub[2].sub[4].stream.pos + n.sub[0].sub[1].sub[0].sub[2].sub[4].header + n.sub[0].sub[1].sub[0].sub[2].sub[4].length)), ae = g(null === (m = n.sub[0]) || void 0 === m || null === (b = m.sub[1]) || void 0 === b || null === (y = b.sub[0]) || void 0 === y || null === (I = y.sub[2]) || void 0 === I || null === (E = I.sub[5]) || void 0 === E ? void 0 : E.stream.parseTime(n.sub[0].sub[1].sub[0].sub[2].sub[5].stream.pos + n.sub[0].sub[1].sub[0].sub[2].sub[5].header, n.sub[0].sub[1].sub[0].sub[2].sub[5].stream.pos + n.sub[0].sub[1].sub[0].sub[2].sub[5].header + n.sub[0].sub[1].sub[0].sub[2].sub[5].length)), se = g(null === (T = n.sub[0]) || void 0 === T || null === (x = T.sub[2]) || void 0 === x ? void 0 : x.stream.parseTime(n.sub[0].sub[2].stream.pos + n.sub[0].sub[2].header, n.sub[0].sub[2].stream.pos + n.sub[0].sub[2].header + n.sub[0].sub[2].length, !1)), ce = null === (P = n.sub[0]) || void 0 === P || null === (k = P.sub[1]) || void 0 === k || null === (D = k.sub[0]) || void 0 === D || null === (O = D.sub[2]) || void 0 === O ? void 0 : O.sub[2], ue = new Array; + ce && ce.sub.forEach((function(t) { + ue.push(t.stream.parseOctetString(t.stream.pos + t.header, t.stream.pos + t.header + t.length)) } )); - var dt = null === (R = n.sub[0]) || void 0 === R || null === (M = R.sub[1]) || void 0 === M || null === (N = M.sub[0]) || void 0 === N ? void 0 : N.sub[4] - , lt = new Array; - dt && dt.sub.forEach((function(e) { - var t, r, n; - lt.push({ - extnID: null === (t = e.sub[0]) || void 0 === t ? void 0 : t.stream.parseOID(e.sub[0].stream.pos + e.sub[0].header, e.sub[0].stream.pos + e.sub[0].header + e.sub[0].length), - critical: null === (r = e.sub[1]) || void 0 === r ? void 0 : r.stream.parseInteger(e.sub[1].stream.pos + e.sub[1].header, e.sub[1].stream.pos + e.sub[1].header + e.sub[1].length), - extnValue: null === (n = e.sub[2]) || void 0 === n ? void 0 : n.stream.parseOctetString(e.sub[2].stream.pos + e.sub[2].header, e.sub[2].stream.pos + e.sub[2].header + e.sub[2].length) + var de = null === (R = n.sub[0]) || void 0 === R || null === (N = R.sub[1]) || void 0 === N || null === (M = N.sub[0]) || void 0 === M ? void 0 : M.sub[4] + , le = new Array; + de && de.sub.forEach((function(t) { + var e, r, n; + le.push({ + extnID: null === (e = t.sub[0]) || void 0 === e ? void 0 : e.stream.parseOID(t.sub[0].stream.pos + t.sub[0].header, t.sub[0].stream.pos + t.sub[0].header + t.sub[0].length), + critical: null === (r = t.sub[1]) || void 0 === r ? void 0 : r.stream.parseInteger(t.sub[1].stream.pos + t.sub[1].header, t.sub[1].stream.pos + t.sub[1].header + t.sub[1].length), + extnValue: null === (n = t.sub[2]) || void 0 === n ? void 0 : n.stream.parseOctetString(t.sub[2].stream.pos + t.sub[2].header, t.sub[2].stream.pos + t.sub[2].header + t.sub[2].length) }) } )), @@ -30080,78 +33154,78 @@ eseal: { esealInfo: { header: { - ID: null === (K = n.sub[0]) || void 0 === K || null === (U = K.sub[1]) || void 0 === U || null === (L = U.sub[0]) || void 0 === L || null === (X = L.sub[0]) || void 0 === X || null === (z = X.sub[0]) || void 0 === z ? void 0 : z.stream.parseStringUTF(n.sub[0].sub[1].sub[0].sub[0].sub[0].stream.pos + n.sub[0].sub[1].sub[0].sub[0].sub[0].header, n.sub[0].sub[1].sub[0].sub[0].sub[0].stream.pos + n.sub[0].sub[1].sub[0].sub[0].sub[0].header + n.sub[0].sub[1].sub[0].sub[0].sub[0].length), - version: null === (G = n.sub[0]) || void 0 === G || null === (W = G.sub[1]) || void 0 === W || null === (q = W.sub[0]) || void 0 === q || null === (H = q.sub[0]) || void 0 === H || null === (V = H.sub[1]) || void 0 === V ? void 0 : V.stream.parseInteger(n.sub[0].sub[1].sub[0].sub[0].sub[1].stream.pos + n.sub[0].sub[1].sub[0].sub[0].sub[1].header, n.sub[0].sub[1].sub[0].sub[0].sub[1].stream.pos + n.sub[0].sub[1].sub[0].sub[0].sub[1].header + n.sub[0].sub[1].sub[0].sub[0].sub[1].length), - Vid: null === (Y = n.sub[0]) || void 0 === Y || null === (Q = Y.sub[1]) || void 0 === Q || null === (Z = Q.sub[0]) || void 0 === Z || null === (J = Z.sub[0]) || void 0 === J || null === ($ = J.sub[2]) || void 0 === $ ? void 0 : $.stream.parseStringUTF(n.sub[0].sub[1].sub[0].sub[0].sub[2].stream.pos + n.sub[0].sub[1].sub[0].sub[0].sub[2].header, n.sub[0].sub[1].sub[0].sub[0].sub[2].stream.pos + n.sub[0].sub[1].sub[0].sub[0].sub[2].header + n.sub[0].sub[1].sub[0].sub[0].sub[2].length) + ID: null === (K = n.sub[0]) || void 0 === K || null === (L = K.sub[1]) || void 0 === L || null === (U = L.sub[0]) || void 0 === U || null === (X = U.sub[0]) || void 0 === X || null === (z = X.sub[0]) || void 0 === z ? void 0 : z.stream.parseStringUTF(n.sub[0].sub[1].sub[0].sub[0].sub[0].stream.pos + n.sub[0].sub[1].sub[0].sub[0].sub[0].header, n.sub[0].sub[1].sub[0].sub[0].sub[0].stream.pos + n.sub[0].sub[1].sub[0].sub[0].sub[0].header + n.sub[0].sub[1].sub[0].sub[0].sub[0].length), + version: null === (G = n.sub[0]) || void 0 === G || null === (W = G.sub[1]) || void 0 === W || null === (q = W.sub[0]) || void 0 === q || null === (V = q.sub[0]) || void 0 === V || null === (H = V.sub[1]) || void 0 === H ? void 0 : H.stream.parseInteger(n.sub[0].sub[1].sub[0].sub[0].sub[1].stream.pos + n.sub[0].sub[1].sub[0].sub[0].sub[1].header, n.sub[0].sub[1].sub[0].sub[0].sub[1].stream.pos + n.sub[0].sub[1].sub[0].sub[0].sub[1].header + n.sub[0].sub[1].sub[0].sub[0].sub[1].length), + Vid: null === (Y = n.sub[0]) || void 0 === Y || null === (Z = Y.sub[1]) || void 0 === Z || null === (Q = Z.sub[0]) || void 0 === Q || null === (J = Q.sub[0]) || void 0 === J || null === ($ = J.sub[2]) || void 0 === $ ? void 0 : $.stream.parseStringUTF(n.sub[0].sub[1].sub[0].sub[0].sub[2].stream.pos + n.sub[0].sub[1].sub[0].sub[0].sub[2].header, n.sub[0].sub[1].sub[0].sub[0].sub[2].stream.pos + n.sub[0].sub[1].sub[0].sub[0].sub[2].header + n.sub[0].sub[1].sub[0].sub[0].sub[2].length) }, - esID: null === (ee = n.sub[0]) || void 0 === ee || null === (te = ee.sub[1]) || void 0 === te || null === (re = te.sub[0]) || void 0 === re || null === (ne = re.sub[1]) || void 0 === ne ? void 0 : ne.stream.parseStringUTF(n.sub[0].sub[1].sub[0].sub[1].stream.pos + n.sub[0].sub[1].sub[0].sub[1].header, n.sub[0].sub[1].sub[0].sub[1].stream.pos + n.sub[0].sub[1].sub[0].sub[1].header + n.sub[0].sub[1].sub[0].sub[1].length), + esID: null === (tt = n.sub[0]) || void 0 === tt || null === (et = tt.sub[1]) || void 0 === et || null === (rt = et.sub[0]) || void 0 === rt || null === (nt = rt.sub[1]) || void 0 === nt ? void 0 : nt.stream.parseStringUTF(n.sub[0].sub[1].sub[0].sub[1].stream.pos + n.sub[0].sub[1].sub[0].sub[1].header, n.sub[0].sub[1].sub[0].sub[1].stream.pos + n.sub[0].sub[1].sub[0].sub[1].header + n.sub[0].sub[1].sub[0].sub[1].length), property: { - type: null === (ie = n.sub[0]) || void 0 === ie || null === (oe = ie.sub[1]) || void 0 === oe || null === (ae = oe.sub[0]) || void 0 === ae || null === (se = ae.sub[2]) || void 0 === se || null === (ce = se.sub[0]) || void 0 === ce ? void 0 : ce.stream.parseInteger(n.sub[0].sub[1].sub[0].sub[2].sub[0].stream.pos + n.sub[0].sub[1].sub[0].sub[2].sub[0].header, n.sub[0].sub[1].sub[0].sub[2].sub[0].stream.pos + n.sub[0].sub[1].sub[0].sub[2].sub[0].header + n.sub[0].sub[1].sub[0].sub[2].sub[0].length), - name: null === (ue = n.sub[0]) || void 0 === ue || null === (de = ue.sub[1]) || void 0 === de || null === (le = de.sub[0]) || void 0 === le || null === (fe = le.sub[2]) || void 0 === fe || null === (he = fe.sub[1]) || void 0 === he ? void 0 : he.stream.parseStringUTF(n.sub[0].sub[1].sub[0].sub[2].sub[1].stream.pos + n.sub[0].sub[1].sub[0].sub[2].sub[1].header, n.sub[0].sub[1].sub[0].sub[2].sub[1].stream.pos + n.sub[0].sub[1].sub[0].sub[2].sub[1].header + n.sub[0].sub[1].sub[0].sub[2].sub[1].length), - certList: ut, - createDate: it, - validStart: ot, - validEnd: at + type: null === (it = n.sub[0]) || void 0 === it || null === (ot = it.sub[1]) || void 0 === ot || null === (at = ot.sub[0]) || void 0 === at || null === (st = at.sub[2]) || void 0 === st || null === (ct = st.sub[0]) || void 0 === ct ? void 0 : ct.stream.parseInteger(n.sub[0].sub[1].sub[0].sub[2].sub[0].stream.pos + n.sub[0].sub[1].sub[0].sub[2].sub[0].header, n.sub[0].sub[1].sub[0].sub[2].sub[0].stream.pos + n.sub[0].sub[1].sub[0].sub[2].sub[0].header + n.sub[0].sub[1].sub[0].sub[2].sub[0].length), + name: null === (ut = n.sub[0]) || void 0 === ut || null === (dt = ut.sub[1]) || void 0 === dt || null === (lt = dt.sub[0]) || void 0 === lt || null === (ft = lt.sub[2]) || void 0 === ft || null === (ht = ft.sub[1]) || void 0 === ht ? void 0 : ht.stream.parseStringUTF(n.sub[0].sub[1].sub[0].sub[2].sub[1].stream.pos + n.sub[0].sub[1].sub[0].sub[2].sub[1].header, n.sub[0].sub[1].sub[0].sub[2].sub[1].stream.pos + n.sub[0].sub[1].sub[0].sub[2].sub[1].header + n.sub[0].sub[1].sub[0].sub[2].sub[1].length), + certList: ue, + createDate: ie, + validStart: oe, + validEnd: ae }, picture: { - type: null === (pe = n.sub[0]) || void 0 === pe || null === (me = pe.sub[1]) || void 0 === me || null === (be = me.sub[0]) || void 0 === be || null === (ge = be.sub[3]) || void 0 === ge || null === (ye = ge.sub[0]) || void 0 === ye ? void 0 : ye.stream.parseStringUTF(n.sub[0].sub[1].sub[0].sub[3].sub[0].stream.pos + n.sub[0].sub[1].sub[0].sub[3].sub[0].header, n.sub[0].sub[1].sub[0].sub[3].sub[0].stream.pos + n.sub[0].sub[1].sub[0].sub[3].sub[0].header + n.sub[0].sub[1].sub[0].sub[3].sub[0].length), + type: null === (pt = n.sub[0]) || void 0 === pt || null === (mt = pt.sub[1]) || void 0 === mt || null === (bt = mt.sub[0]) || void 0 === bt || null === (gt = bt.sub[3]) || void 0 === gt || null === (yt = gt.sub[0]) || void 0 === yt ? void 0 : yt.stream.parseStringUTF(n.sub[0].sub[1].sub[0].sub[3].sub[0].stream.pos + n.sub[0].sub[1].sub[0].sub[3].sub[0].header, n.sub[0].sub[1].sub[0].sub[3].sub[0].stream.pos + n.sub[0].sub[1].sub[0].sub[3].sub[0].header + n.sub[0].sub[1].sub[0].sub[3].sub[0].length), data: { - hex: null === (ve = n.sub[0]) || void 0 === ve || null === (Se = ve.sub[1]) || void 0 === Se || null === (we = Se.sub[0]) || void 0 === we || null === (Ce = we.sub[3]) || void 0 === Ce || null === (Ae = Ce.sub[1]) || void 0 === Ae ? void 0 : Ae.stream.parseOctetString(n.sub[0].sub[1].sub[0].sub[3].sub[1].stream.pos + n.sub[0].sub[1].sub[0].sub[3].sub[1].header, n.sub[0].sub[1].sub[0].sub[3].sub[1].stream.pos + n.sub[0].sub[1].sub[0].sub[3].sub[1].header + n.sub[0].sub[1].sub[0].sub[3].sub[1].length), - byte: null === (_e = n.sub[0]) || void 0 === _e || null === (Ie = _e.sub[1]) || void 0 === Ie || null === (Ee = Ie.sub[0]) || void 0 === Ee || null === (Te = Ee.sub[3]) || void 0 === Te || null === (xe = Te.sub[1]) || void 0 === xe ? void 0 : xe.stream.enc.subarray(n.sub[0].sub[1].sub[0].sub[3].sub[1].stream.pos + n.sub[0].sub[1].sub[0].sub[3].sub[1].header, n.sub[0].sub[1].sub[0].sub[3].sub[1].stream.pos + n.sub[0].sub[1].sub[0].sub[3].sub[1].header + n.sub[0].sub[1].sub[0].sub[3].sub[1].length) + hex: null === (vt = n.sub[0]) || void 0 === vt || null === (St = vt.sub[1]) || void 0 === St || null === (wt = St.sub[0]) || void 0 === wt || null === (Ct = wt.sub[3]) || void 0 === Ct || null === (_t = Ct.sub[1]) || void 0 === _t ? void 0 : _t.stream.parseOctetString(n.sub[0].sub[1].sub[0].sub[3].sub[1].stream.pos + n.sub[0].sub[1].sub[0].sub[3].sub[1].header, n.sub[0].sub[1].sub[0].sub[3].sub[1].stream.pos + n.sub[0].sub[1].sub[0].sub[3].sub[1].header + n.sub[0].sub[1].sub[0].sub[3].sub[1].length), + byte: null === (At = n.sub[0]) || void 0 === At || null === (It = At.sub[1]) || void 0 === It || null === (Et = It.sub[0]) || void 0 === Et || null === (Tt = Et.sub[3]) || void 0 === Tt || null === (xt = Tt.sub[1]) || void 0 === xt ? void 0 : xt.stream.enc.subarray(n.sub[0].sub[1].sub[0].sub[3].sub[1].stream.pos + n.sub[0].sub[1].sub[0].sub[3].sub[1].header, n.sub[0].sub[1].sub[0].sub[3].sub[1].stream.pos + n.sub[0].sub[1].sub[0].sub[3].sub[1].header + n.sub[0].sub[1].sub[0].sub[3].sub[1].length) }, - width: null === (Pe = n.sub[0]) || void 0 === Pe || null === (ke = Pe.sub[1]) || void 0 === ke || null === (De = ke.sub[0]) || void 0 === De || null === (Oe = De.sub[3]) || void 0 === Oe || null === (Re = Oe.sub[2]) || void 0 === Re ? void 0 : Re.stream.parseInteger(n.sub[0].sub[1].sub[0].sub[3].sub[2].stream.pos + n.sub[0].sub[1].sub[0].sub[3].sub[2].header, n.sub[0].sub[1].sub[0].sub[3].sub[2].stream.pos + n.sub[0].sub[1].sub[0].sub[3].sub[2].header + n.sub[0].sub[1].sub[0].sub[3].sub[2].length), - height: null === (Me = n.sub[0]) || void 0 === Me || null === (Ne = Me.sub[1]) || void 0 === Ne || null === (Be = Ne.sub[0]) || void 0 === Be || null === (Fe = Be.sub[3]) || void 0 === Fe || null === (je = Fe.sub[3]) || void 0 === je ? void 0 : je.stream.parseInteger(n.sub[0].sub[1].sub[0].sub[3].sub[3].stream.pos + n.sub[0].sub[1].sub[0].sub[3].sub[3].header, n.sub[0].sub[1].sub[0].sub[3].sub[3].stream.pos + n.sub[0].sub[1].sub[0].sub[3].sub[3].header + n.sub[0].sub[1].sub[0].sub[3].sub[3].length) + width: null === (Pt = n.sub[0]) || void 0 === Pt || null === (kt = Pt.sub[1]) || void 0 === kt || null === (Dt = kt.sub[0]) || void 0 === Dt || null === (Ot = Dt.sub[3]) || void 0 === Ot || null === (Rt = Ot.sub[2]) || void 0 === Rt ? void 0 : Rt.stream.parseInteger(n.sub[0].sub[1].sub[0].sub[3].sub[2].stream.pos + n.sub[0].sub[1].sub[0].sub[3].sub[2].header, n.sub[0].sub[1].sub[0].sub[3].sub[2].stream.pos + n.sub[0].sub[1].sub[0].sub[3].sub[2].header + n.sub[0].sub[1].sub[0].sub[3].sub[2].length), + height: null === (Nt = n.sub[0]) || void 0 === Nt || null === (Mt = Nt.sub[1]) || void 0 === Mt || null === (Bt = Mt.sub[0]) || void 0 === Bt || null === (Ft = Bt.sub[3]) || void 0 === Ft || null === (jt = Ft.sub[3]) || void 0 === jt ? void 0 : jt.stream.parseInteger(n.sub[0].sub[1].sub[0].sub[3].sub[3].stream.pos + n.sub[0].sub[1].sub[0].sub[3].sub[3].header, n.sub[0].sub[1].sub[0].sub[3].sub[3].stream.pos + n.sub[0].sub[1].sub[0].sub[3].sub[3].header + n.sub[0].sub[1].sub[0].sub[3].sub[3].length) }, - extDatas: lt + extDatas: le }, signInfo: { - cert: v(null === (Ke = n.sub[0]) || void 0 === Ke || null === (Ue = Ke.sub[1]) || void 0 === Ue || null === (Le = Ue.sub[1]) || void 0 === Le ? void 0 : Le.sub[0]), - signatureAlgorithm: null === (Xe = n.sub[0]) || void 0 === Xe || null === (ze = Xe.sub[1]) || void 0 === ze || null === (Ge = ze.sub[1]) || void 0 === Ge || null === (We = Ge.sub[1]) || void 0 === We ? void 0 : We.stream.parseOID(n.sub[0].sub[1].sub[1].sub[1].stream.pos + n.sub[0].sub[1].sub[1].sub[1].header, n.sub[0].sub[1].sub[1].sub[1].stream.pos + n.sub[0].sub[1].sub[1].sub[1].header + n.sub[0].sub[1].sub[1].sub[1].length), - signData: null === (qe = n.sub[0]) || void 0 === qe || null === (He = qe.sub[1]) || void 0 === He || null === (Ve = He.sub[1]) || void 0 === Ve || null === (Ye = Ve.sub[2]) || void 0 === Ye ? void 0 : Ye.stream.hexDump(n.sub[0].sub[1].sub[1].sub[2].stream.pos + n.sub[0].sub[1].sub[1].sub[2].header, n.sub[0].sub[1].sub[1].sub[2].stream.pos + n.sub[0].sub[1].sub[1].sub[2].header + n.sub[0].sub[1].sub[1].sub[2].length, !1) + cert: v(null === (Kt = n.sub[0]) || void 0 === Kt || null === (Lt = Kt.sub[1]) || void 0 === Lt || null === (Ut = Lt.sub[1]) || void 0 === Ut ? void 0 : Ut.sub[0]), + signatureAlgorithm: null === (Xt = n.sub[0]) || void 0 === Xt || null === (zt = Xt.sub[1]) || void 0 === zt || null === (Gt = zt.sub[1]) || void 0 === Gt || null === (Wt = Gt.sub[1]) || void 0 === Wt ? void 0 : Wt.stream.parseOID(n.sub[0].sub[1].sub[1].sub[1].stream.pos + n.sub[0].sub[1].sub[1].sub[1].header, n.sub[0].sub[1].sub[1].sub[1].stream.pos + n.sub[0].sub[1].sub[1].sub[1].header + n.sub[0].sub[1].sub[1].sub[1].length), + signData: null === (qt = n.sub[0]) || void 0 === qt || null === (Vt = qt.sub[1]) || void 0 === Vt || null === (Ht = Vt.sub[1]) || void 0 === Ht || null === (Yt = Ht.sub[2]) || void 0 === Yt ? void 0 : Yt.stream.hexDump(n.sub[0].sub[1].sub[1].sub[2].stream.pos + n.sub[0].sub[1].sub[1].sub[2].header, n.sub[0].sub[1].sub[1].sub[2].stream.pos + n.sub[0].sub[1].sub[1].sub[2].header + n.sub[0].sub[1].sub[1].sub[2].length, !1) } }, - timeInfo: st, - dataHash: null === (Qe = n.sub[0]) || void 0 === Qe || null === (Ze = Qe.sub[3]) || void 0 === Ze ? void 0 : Ze.stream.hexDump(n.sub[0].sub[3].stream.pos + n.sub[0].sub[3].header, n.sub[0].sub[3].stream.pos + n.sub[0].sub[3].header + n.sub[0].sub[3].length, !1), - propertyInfo: null === (Je = n.sub[0]) || void 0 === Je || null === ($e = Je.sub[4]) || void 0 === $e ? void 0 : $e.stream.parseStringUTF(n.sub[0].sub[4].stream.pos + n.sub[0].sub[4].header, n.sub[0].sub[4].stream.pos + n.sub[0].sub[4].header + n.sub[0].sub[4].length), - cert: v(null === (et = n.sub[0]) || void 0 === et ? void 0 : et.sub[5]), - signatureAlgorithm: null === (tt = n.sub[0]) || void 0 === tt || null === (rt = tt.sub[6]) || void 0 === rt ? void 0 : rt.stream.parseOID(n.sub[0].sub[6].stream.pos + n.sub[0].sub[6].header, n.sub[0].sub[6].stream.pos + n.sub[0].sub[6].header + n.sub[0].sub[6].length) + timeInfo: se, + dataHash: null === (Zt = n.sub[0]) || void 0 === Zt || null === (Qt = Zt.sub[3]) || void 0 === Qt ? void 0 : Qt.stream.hexDump(n.sub[0].sub[3].stream.pos + n.sub[0].sub[3].header, n.sub[0].sub[3].stream.pos + n.sub[0].sub[3].header + n.sub[0].sub[3].length, !1), + propertyInfo: null === (Jt = n.sub[0]) || void 0 === Jt || null === ($t = Jt.sub[4]) || void 0 === $t ? void 0 : $t.stream.parseStringUTF(n.sub[0].sub[4].stream.pos + n.sub[0].sub[4].header, n.sub[0].sub[4].stream.pos + n.sub[0].sub[4].header + n.sub[0].sub[4].length), + cert: v(null === (te = n.sub[0]) || void 0 === te ? void 0 : te.sub[5]), + signatureAlgorithm: null === (ee = n.sub[0]) || void 0 === ee || null === (re = ee.sub[6]) || void 0 === re ? void 0 : re.stream.parseOID(n.sub[0].sub[6].stream.pos + n.sub[0].sub[6].header, n.sub[0].sub[6].stream.pos + n.sub[0].sub[6].header + n.sub[0].sub[6].length) }, - signature: null === (nt = n.sub[1]) || void 0 === nt ? void 0 : nt.stream.hexDump(n.sub[1].stream.pos + n.sub[1].header, n.sub[1].stream.pos + n.sub[1].header + n.sub[1].length, !1) + signature: null === (ne = n.sub[1]) || void 0 === ne ? void 0 : ne.stream.hexDump(n.sub[1].stream.pos + n.sub[1].header, n.sub[1].stream.pos + n.sub[1].header + n.sub[1].length, !1) } } catch (fn) { try { - var ft, ht, pt, mt, bt, gt, yt, vt, St, wt, Ct, At, _t, It, Et, Tt, xt, Pt, kt, Dt, Ot, Rt, Mt, Nt, Bt, Ft, jt, Kt, Ut, Lt, Xt, zt, Gt, Wt, qt, Ht, Vt, Yt, Qt, Zt, Jt, $t, er, tr, rr, nr, ir, or, ar, sr, cr, ur, dr, lr, fr, hr, pr, mr, br, gr, yr, vr, Sr, wr, Cr, Ar, _r, Ir, Er, Tr, xr, Pr, kr, Dr, Or, Rr, Mr, Nr, Br, Fr, jr, Kr, Ur, Lr, Xr, zr, Gr, Wr, qr, Hr, Vr, Yr, Qr, Zr, Jr, $r, en, tn, rn, nn = null === (ft = n.sub[0]) || void 0 === ft || null === (ht = ft.sub[1]) || void 0 === ht || null === (pt = ht.sub[0]) || void 0 === pt || null === (mt = pt.sub[2]) || void 0 === mt || null === (bt = mt.sub[2]) || void 0 === bt ? void 0 : bt.stream.parseInteger(n.sub[0].sub[1].sub[0].sub[2].sub[2].stream.pos + n.sub[0].sub[1].sub[0].sub[2].sub[2].header, n.sub[0].sub[1].sub[0].sub[2].sub[2].stream.pos + n.sub[0].sub[1].sub[0].sub[2].sub[2].header + n.sub[0].sub[1].sub[0].sub[2].sub[2].length), on = null === (gt = n.sub[0]) || void 0 === gt || null === (yt = gt.sub[1]) || void 0 === yt || null === (vt = yt.sub[0]) || void 0 === vt || null === (St = vt.sub[2]) || void 0 === St ? void 0 : St.sub[3], an = new Array; - on && on.sub.forEach((function(e) { - an.push(e.stream.parseOctetString(e.stream.pos + e.header, e.stream.pos + e.header + e.length)) + var fe, he, pe, me, be, ge, ye, ve, Se, we, Ce, _e, Ae, Ie, Ee, Te, xe, Pe, ke, De, Oe, Re, Ne, Me, Be, Fe, je, Ke, Le, Ue, Xe, ze, Ge, We, qe, Ve, He, Ye, Ze, Qe, Je, $e, tr, er, rr, nr, ir, or, ar, sr, cr, ur, dr, lr, fr, hr, pr, mr, br, gr, yr, vr, Sr, wr, Cr, _r, Ar, Ir, Er, Tr, xr, Pr, kr, Dr, Or, Rr, Nr, Mr, Br, Fr, jr, Kr, Lr, Ur, Xr, zr, Gr, Wr, qr, Vr, Hr, Yr, Zr, Qr, Jr, $r, tn, en, rn, nn = null === (fe = n.sub[0]) || void 0 === fe || null === (he = fe.sub[1]) || void 0 === he || null === (pe = he.sub[0]) || void 0 === pe || null === (me = pe.sub[2]) || void 0 === me || null === (be = me.sub[2]) || void 0 === be ? void 0 : be.stream.parseInteger(n.sub[0].sub[1].sub[0].sub[2].sub[2].stream.pos + n.sub[0].sub[1].sub[0].sub[2].sub[2].header, n.sub[0].sub[1].sub[0].sub[2].sub[2].stream.pos + n.sub[0].sub[1].sub[0].sub[2].sub[2].header + n.sub[0].sub[1].sub[0].sub[2].sub[2].length), on = null === (ge = n.sub[0]) || void 0 === ge || null === (ye = ge.sub[1]) || void 0 === ye || null === (ve = ye.sub[0]) || void 0 === ve || null === (Se = ve.sub[2]) || void 0 === Se ? void 0 : Se.sub[3], an = new Array; + on && on.sub.forEach((function(t) { + an.push(t.stream.parseOctetString(t.stream.pos + t.header, t.stream.pos + t.header + t.length)) } )); - var sn = null === (wt = n.sub[0]) || void 0 === wt || null === (Ct = wt.sub[1]) || void 0 === Ct || null === (At = Ct.sub[0]) || void 0 === At ? void 0 : At.sub[4] + var sn = null === (we = n.sub[0]) || void 0 === we || null === (Ce = we.sub[1]) || void 0 === Ce || null === (_e = Ce.sub[0]) || void 0 === _e ? void 0 : _e.sub[4] , cn = new Array; - sn && sn.sub.forEach((function(e) { - var t, r, n; + sn && sn.sub.forEach((function(t) { + var e, r, n; cn.push({ - extnID: null === (t = e.sub[0]) || void 0 === t ? void 0 : t.stream.parseOID(e.sub[0].stream.pos + e.sub[0].header, e.sub[0].stream.pos + e.sub[0].header + e.sub[0].length), - critical: null === (r = e.sub[1]) || void 0 === r ? void 0 : r.stream.parseInteger(e.sub[1].stream.pos + e.sub[1].header, e.sub[1].stream.pos + e.sub[1].header + e.sub[1].length), - extnValue: null === (n = e.sub[2]) || void 0 === n ? void 0 : n.stream.parseOctetString(e.sub[2].stream.pos + e.sub[2].header, e.sub[2].stream.pos + e.sub[2].header + e.sub[2].length) + extnID: null === (e = t.sub[0]) || void 0 === e ? void 0 : e.stream.parseOID(t.sub[0].stream.pos + t.sub[0].header, t.sub[0].stream.pos + t.sub[0].header + t.sub[0].length), + critical: null === (r = t.sub[1]) || void 0 === r ? void 0 : r.stream.parseInteger(t.sub[1].stream.pos + t.sub[1].header, t.sub[1].stream.pos + t.sub[1].header + t.sub[1].length), + extnValue: null === (n = t.sub[2]) || void 0 === n ? void 0 : n.stream.parseOctetString(t.sub[2].stream.pos + t.sub[2].header, t.sub[2].stream.pos + t.sub[2].header + t.sub[2].length) }) } )), r = { realVersion: 4, - toSignDer: null === (_t = n.sub[0]) || void 0 === _t ? void 0 : _t.stream.enc.subarray(n.sub[0].stream.pos, n.sub[0].stream.pos + n.sub[0].header + n.sub[0].length), + toSignDer: null === (Ae = n.sub[0]) || void 0 === Ae ? void 0 : Ae.stream.enc.subarray(n.sub[0].stream.pos, n.sub[0].stream.pos + n.sub[0].header + n.sub[0].length), toSign: { - version: null === (It = n.sub[0]) || void 0 === It || null === (Et = It.sub[0]) || void 0 === Et ? void 0 : Et.stream.parseInteger(n.sub[0].sub[0].stream.pos + n.sub[0].sub[0].header, n.sub[0].sub[0].stream.pos + n.sub[0].sub[0].header + n.sub[0].sub[0].length), + version: null === (Ie = n.sub[0]) || void 0 === Ie || null === (Ee = Ie.sub[0]) || void 0 === Ee ? void 0 : Ee.stream.parseInteger(n.sub[0].sub[0].stream.pos + n.sub[0].sub[0].header, n.sub[0].sub[0].stream.pos + n.sub[0].sub[0].header + n.sub[0].sub[0].length), eseal: { esealInfo: { header: { - ID: null === (Tt = n.sub[0]) || void 0 === Tt || null === (xt = Tt.sub[1]) || void 0 === xt || null === (Pt = xt.sub[0]) || void 0 === Pt || null === (kt = Pt.sub[0]) || void 0 === kt || null === (Dt = kt.sub[0]) || void 0 === Dt ? void 0 : Dt.stream.parseStringUTF(n.sub[0].sub[1].sub[0].sub[0].sub[0].stream.pos + n.sub[0].sub[1].sub[0].sub[0].sub[0].header, n.sub[0].sub[1].sub[0].sub[0].sub[0].stream.pos + n.sub[0].sub[1].sub[0].sub[0].sub[0].header + n.sub[0].sub[1].sub[0].sub[0].sub[0].length), - version: null === (Ot = n.sub[0]) || void 0 === Ot || null === (Rt = Ot.sub[1]) || void 0 === Rt || null === (Mt = Rt.sub[0]) || void 0 === Mt || null === (Nt = Mt.sub[0]) || void 0 === Nt || null === (Bt = Nt.sub[1]) || void 0 === Bt ? void 0 : Bt.stream.parseInteger(n.sub[0].sub[1].sub[0].sub[0].sub[1].stream.pos + n.sub[0].sub[1].sub[0].sub[0].sub[1].header, n.sub[0].sub[1].sub[0].sub[0].sub[1].stream.pos + n.sub[0].sub[1].sub[0].sub[0].sub[1].header + n.sub[0].sub[1].sub[0].sub[0].sub[1].length), - Vid: null === (Ft = n.sub[0]) || void 0 === Ft || null === (jt = Ft.sub[1]) || void 0 === jt || null === (Kt = jt.sub[0]) || void 0 === Kt || null === (Ut = Kt.sub[0]) || void 0 === Ut || null === (Lt = Ut.sub[2]) || void 0 === Lt ? void 0 : Lt.stream.parseStringUTF(n.sub[0].sub[1].sub[0].sub[0].sub[2].stream.pos + n.sub[0].sub[1].sub[0].sub[0].sub[2].header, n.sub[0].sub[1].sub[0].sub[0].sub[2].stream.pos + n.sub[0].sub[1].sub[0].sub[0].sub[2].header + n.sub[0].sub[1].sub[0].sub[0].sub[2].length) + ID: null === (Te = n.sub[0]) || void 0 === Te || null === (xe = Te.sub[1]) || void 0 === xe || null === (Pe = xe.sub[0]) || void 0 === Pe || null === (ke = Pe.sub[0]) || void 0 === ke || null === (De = ke.sub[0]) || void 0 === De ? void 0 : De.stream.parseStringUTF(n.sub[0].sub[1].sub[0].sub[0].sub[0].stream.pos + n.sub[0].sub[1].sub[0].sub[0].sub[0].header, n.sub[0].sub[1].sub[0].sub[0].sub[0].stream.pos + n.sub[0].sub[1].sub[0].sub[0].sub[0].header + n.sub[0].sub[1].sub[0].sub[0].sub[0].length), + version: null === (Oe = n.sub[0]) || void 0 === Oe || null === (Re = Oe.sub[1]) || void 0 === Re || null === (Ne = Re.sub[0]) || void 0 === Ne || null === (Me = Ne.sub[0]) || void 0 === Me || null === (Be = Me.sub[1]) || void 0 === Be ? void 0 : Be.stream.parseInteger(n.sub[0].sub[1].sub[0].sub[0].sub[1].stream.pos + n.sub[0].sub[1].sub[0].sub[0].sub[1].header, n.sub[0].sub[1].sub[0].sub[0].sub[1].stream.pos + n.sub[0].sub[1].sub[0].sub[0].sub[1].header + n.sub[0].sub[1].sub[0].sub[0].sub[1].length), + Vid: null === (Fe = n.sub[0]) || void 0 === Fe || null === (je = Fe.sub[1]) || void 0 === je || null === (Ke = je.sub[0]) || void 0 === Ke || null === (Le = Ke.sub[0]) || void 0 === Le || null === (Ue = Le.sub[2]) || void 0 === Ue ? void 0 : Ue.stream.parseStringUTF(n.sub[0].sub[1].sub[0].sub[0].sub[2].stream.pos + n.sub[0].sub[1].sub[0].sub[0].sub[2].header, n.sub[0].sub[1].sub[0].sub[0].sub[2].stream.pos + n.sub[0].sub[1].sub[0].sub[0].sub[2].header + n.sub[0].sub[1].sub[0].sub[0].sub[2].length) }, - esID: null === (Xt = n.sub[0]) || void 0 === Xt || null === (zt = Xt.sub[1]) || void 0 === zt || null === (Gt = zt.sub[0]) || void 0 === Gt || null === (Wt = Gt.sub[1]) || void 0 === Wt ? void 0 : Wt.stream.parseStringUTF(n.sub[0].sub[1].sub[0].sub[1].stream.pos + n.sub[0].sub[1].sub[0].sub[1].header, n.sub[0].sub[1].sub[0].sub[1].stream.pos + n.sub[0].sub[1].sub[0].sub[1].header + n.sub[0].sub[1].sub[0].sub[1].length), + esID: null === (Xe = n.sub[0]) || void 0 === Xe || null === (ze = Xe.sub[1]) || void 0 === ze || null === (Ge = ze.sub[0]) || void 0 === Ge || null === (We = Ge.sub[1]) || void 0 === We ? void 0 : We.stream.parseStringUTF(n.sub[0].sub[1].sub[0].sub[1].stream.pos + n.sub[0].sub[1].sub[0].sub[1].header, n.sub[0].sub[1].sub[0].sub[1].stream.pos + n.sub[0].sub[1].sub[0].sub[1].header + n.sub[0].sub[1].sub[0].sub[1].length), property: { - type: null === (qt = n.sub[0]) || void 0 === qt || null === (Ht = qt.sub[1]) || void 0 === Ht || null === (Vt = Ht.sub[0]) || void 0 === Vt || null === (Yt = Vt.sub[2]) || void 0 === Yt || null === (Qt = Yt.sub[0]) || void 0 === Qt ? void 0 : Qt.stream.parseInteger(n.sub[0].sub[1].sub[0].sub[2].sub[0].stream.pos + n.sub[0].sub[1].sub[0].sub[2].sub[0].header, n.sub[0].sub[1].sub[0].sub[2].sub[0].stream.pos + n.sub[0].sub[1].sub[0].sub[2].sub[0].header + n.sub[0].sub[1].sub[0].sub[2].sub[0].length), - name: null === (Zt = n.sub[0]) || void 0 === Zt || null === (Jt = Zt.sub[1]) || void 0 === Jt || null === ($t = Jt.sub[0]) || void 0 === $t || null === (er = $t.sub[2]) || void 0 === er || null === (tr = er.sub[1]) || void 0 === tr ? void 0 : tr.stream.parseStringUTF(n.sub[0].sub[1].sub[0].sub[2].sub[1].stream.pos + n.sub[0].sub[1].sub[0].sub[2].sub[1].header, n.sub[0].sub[1].sub[0].sub[2].sub[1].stream.pos + n.sub[0].sub[1].sub[0].sub[2].sub[1].header + n.sub[0].sub[1].sub[0].sub[2].sub[1].length), + type: null === (qe = n.sub[0]) || void 0 === qe || null === (Ve = qe.sub[1]) || void 0 === Ve || null === (He = Ve.sub[0]) || void 0 === He || null === (Ye = He.sub[2]) || void 0 === Ye || null === (Ze = Ye.sub[0]) || void 0 === Ze ? void 0 : Ze.stream.parseInteger(n.sub[0].sub[1].sub[0].sub[2].sub[0].stream.pos + n.sub[0].sub[1].sub[0].sub[2].sub[0].header, n.sub[0].sub[1].sub[0].sub[2].sub[0].stream.pos + n.sub[0].sub[1].sub[0].sub[2].sub[0].header + n.sub[0].sub[1].sub[0].sub[2].sub[0].length), + name: null === (Qe = n.sub[0]) || void 0 === Qe || null === (Je = Qe.sub[1]) || void 0 === Je || null === ($e = Je.sub[0]) || void 0 === $e || null === (tr = $e.sub[2]) || void 0 === tr || null === (er = tr.sub[1]) || void 0 === er ? void 0 : er.stream.parseStringUTF(n.sub[0].sub[1].sub[0].sub[2].sub[1].stream.pos + n.sub[0].sub[1].sub[0].sub[2].sub[1].header, n.sub[0].sub[1].sub[0].sub[2].sub[1].stream.pos + n.sub[0].sub[1].sub[0].sub[2].sub[1].header + n.sub[0].sub[1].sub[0].sub[2].sub[1].length), certListType: nn, certList: an, createDate: null === (rr = n.sub[0]) || void 0 === rr || null === (nr = rr.sub[1]) || void 0 === nr || null === (ir = nr.sub[0]) || void 0 === ir || null === (or = ir.sub[2]) || void 0 === or || null === (ar = or.sub[4]) || void 0 === ar ? void 0 : ar.stream.parseTime(n.sub[0].sub[1].sub[0].sub[2].sub[4].stream.pos + n.sub[0].sub[1].sub[0].sub[2].sub[4].header, n.sub[0].sub[1].sub[0].sub[2].sub[4].stream.pos + n.sub[0].sub[1].sub[0].sub[2].sub[4].header + n.sub[0].sub[1].sub[0].sub[2].sub[4].length), @@ -30161,25 +33235,25 @@ picture: { type: null === (gr = n.sub[0]) || void 0 === gr || null === (yr = gr.sub[1]) || void 0 === yr || null === (vr = yr.sub[0]) || void 0 === vr || null === (Sr = vr.sub[3]) || void 0 === Sr || null === (wr = Sr.sub[0]) || void 0 === wr ? void 0 : wr.stream.parseStringUTF(n.sub[0].sub[1].sub[0].sub[3].sub[0].stream.pos + n.sub[0].sub[1].sub[0].sub[3].sub[0].header, n.sub[0].sub[1].sub[0].sub[3].sub[0].stream.pos + n.sub[0].sub[1].sub[0].sub[3].sub[0].header + n.sub[0].sub[1].sub[0].sub[3].sub[0].length), data: { - hex: null === (Cr = n.sub[0]) || void 0 === Cr || null === (Ar = Cr.sub[1]) || void 0 === Ar || null === (_r = Ar.sub[0]) || void 0 === _r || null === (Ir = _r.sub[3]) || void 0 === Ir || null === (Er = Ir.sub[1]) || void 0 === Er ? void 0 : Er.stream.parseOctetString(n.sub[0].sub[1].sub[0].sub[3].sub[1].stream.pos + n.sub[0].sub[1].sub[0].sub[3].sub[1].header, n.sub[0].sub[1].sub[0].sub[3].sub[1].stream.pos + n.sub[0].sub[1].sub[0].sub[3].sub[1].header + n.sub[0].sub[1].sub[0].sub[3].sub[1].length), + hex: null === (Cr = n.sub[0]) || void 0 === Cr || null === (_r = Cr.sub[1]) || void 0 === _r || null === (Ar = _r.sub[0]) || void 0 === Ar || null === (Ir = Ar.sub[3]) || void 0 === Ir || null === (Er = Ir.sub[1]) || void 0 === Er ? void 0 : Er.stream.parseOctetString(n.sub[0].sub[1].sub[0].sub[3].sub[1].stream.pos + n.sub[0].sub[1].sub[0].sub[3].sub[1].header, n.sub[0].sub[1].sub[0].sub[3].sub[1].stream.pos + n.sub[0].sub[1].sub[0].sub[3].sub[1].header + n.sub[0].sub[1].sub[0].sub[3].sub[1].length), byte: null === (Tr = n.sub[0]) || void 0 === Tr || null === (xr = Tr.sub[1]) || void 0 === xr || null === (Pr = xr.sub[0]) || void 0 === Pr || null === (kr = Pr.sub[3]) || void 0 === kr || null === (Dr = kr.sub[1]) || void 0 === Dr ? void 0 : Dr.stream.enc.subarray(n.sub[0].sub[1].sub[0].sub[3].sub[1].stream.pos + n.sub[0].sub[1].sub[0].sub[3].sub[1].header, n.sub[0].sub[1].sub[0].sub[3].sub[1].stream.pos + n.sub[0].sub[1].sub[0].sub[3].sub[1].header + n.sub[0].sub[1].sub[0].sub[3].sub[1].length) }, - width: null === (Or = n.sub[0]) || void 0 === Or || null === (Rr = Or.sub[1]) || void 0 === Rr || null === (Mr = Rr.sub[0]) || void 0 === Mr || null === (Nr = Mr.sub[3]) || void 0 === Nr || null === (Br = Nr.sub[2]) || void 0 === Br ? void 0 : Br.stream.parseInteger(n.sub[0].sub[1].sub[0].sub[3].sub[2].stream.pos + n.sub[0].sub[1].sub[0].sub[3].sub[2].header, n.sub[0].sub[1].sub[0].sub[3].sub[2].stream.pos + n.sub[0].sub[1].sub[0].sub[3].sub[2].header + n.sub[0].sub[1].sub[0].sub[3].sub[2].length), - height: null === (Fr = n.sub[0]) || void 0 === Fr || null === (jr = Fr.sub[1]) || void 0 === jr || null === (Kr = jr.sub[0]) || void 0 === Kr || null === (Ur = Kr.sub[3]) || void 0 === Ur || null === (Lr = Ur.sub[3]) || void 0 === Lr ? void 0 : Lr.stream.parseInteger(n.sub[0].sub[1].sub[0].sub[3].sub[3].stream.pos + n.sub[0].sub[1].sub[0].sub[3].sub[3].header, n.sub[0].sub[1].sub[0].sub[3].sub[3].stream.pos + n.sub[0].sub[1].sub[0].sub[3].sub[3].header + n.sub[0].sub[1].sub[0].sub[3].sub[3].length) + width: null === (Or = n.sub[0]) || void 0 === Or || null === (Rr = Or.sub[1]) || void 0 === Rr || null === (Nr = Rr.sub[0]) || void 0 === Nr || null === (Mr = Nr.sub[3]) || void 0 === Mr || null === (Br = Mr.sub[2]) || void 0 === Br ? void 0 : Br.stream.parseInteger(n.sub[0].sub[1].sub[0].sub[3].sub[2].stream.pos + n.sub[0].sub[1].sub[0].sub[3].sub[2].header, n.sub[0].sub[1].sub[0].sub[3].sub[2].stream.pos + n.sub[0].sub[1].sub[0].sub[3].sub[2].header + n.sub[0].sub[1].sub[0].sub[3].sub[2].length), + height: null === (Fr = n.sub[0]) || void 0 === Fr || null === (jr = Fr.sub[1]) || void 0 === jr || null === (Kr = jr.sub[0]) || void 0 === Kr || null === (Lr = Kr.sub[3]) || void 0 === Lr || null === (Ur = Lr.sub[3]) || void 0 === Ur ? void 0 : Ur.stream.parseInteger(n.sub[0].sub[1].sub[0].sub[3].sub[3].stream.pos + n.sub[0].sub[1].sub[0].sub[3].sub[3].header, n.sub[0].sub[1].sub[0].sub[3].sub[3].stream.pos + n.sub[0].sub[1].sub[0].sub[3].sub[3].header + n.sub[0].sub[1].sub[0].sub[3].sub[3].length) }, extDatas: cn }, cert: v(null === (Xr = n.sub[0]) || void 0 === Xr || null === (zr = Xr.sub[1]) || void 0 === zr ? void 0 : zr.sub[1]), signAlgID: null === (Gr = n.sub[0]) || void 0 === Gr || null === (Wr = Gr.sub[1]) || void 0 === Wr || null === (qr = Wr.sub[2]) || void 0 === qr ? void 0 : qr.stream.parseOID(n.sub[0].sub[1].sub[2].stream.pos + n.sub[0].sub[1].sub[2].header, n.sub[0].sub[1].sub[2].stream.pos + n.sub[0].sub[1].sub[2].header + n.sub[0].sub[1].sub[2].length), - signedValue: null === (Hr = n.sub[0]) || void 0 === Hr || null === (Vr = Hr.sub[1]) || void 0 === Vr || null === (Yr = Vr.sub[3]) || void 0 === Yr ? void 0 : Yr.stream.hexDump(n.sub[0].sub[1].sub[3].stream.pos + n.sub[0].sub[1].sub[3].header, n.sub[0].sub[1].sub[3].stream.pos + n.sub[0].sub[1].sub[3].header + n.sub[0].sub[1].sub[3].length, !1) + signedValue: null === (Vr = n.sub[0]) || void 0 === Vr || null === (Hr = Vr.sub[1]) || void 0 === Hr || null === (Yr = Hr.sub[3]) || void 0 === Yr ? void 0 : Yr.stream.hexDump(n.sub[0].sub[1].sub[3].stream.pos + n.sub[0].sub[1].sub[3].header, n.sub[0].sub[1].sub[3].stream.pos + n.sub[0].sub[1].sub[3].header + n.sub[0].sub[1].sub[3].length, !1) }, - timeInfo: null === (Qr = n.sub[0]) || void 0 === Qr || null === (Zr = Qr.sub[2]) || void 0 === Zr ? void 0 : Zr.stream.parseTime(n.sub[0].sub[2].stream.pos + n.sub[0].sub[2].header, n.sub[0].sub[2].stream.pos + n.sub[0].sub[2].header + n.sub[0].sub[2].length, !1), + timeInfo: null === (Zr = n.sub[0]) || void 0 === Zr || null === (Qr = Zr.sub[2]) || void 0 === Qr ? void 0 : Qr.stream.parseTime(n.sub[0].sub[2].stream.pos + n.sub[0].sub[2].header, n.sub[0].sub[2].stream.pos + n.sub[0].sub[2].header + n.sub[0].sub[2].length, !1), dataHash: null === (Jr = n.sub[0]) || void 0 === Jr || null === ($r = Jr.sub[3]) || void 0 === $r ? void 0 : $r.stream.hexDump(n.sub[0].sub[3].stream.pos + n.sub[0].sub[3].header, n.sub[0].sub[3].stream.pos + n.sub[0].sub[3].header + n.sub[0].sub[3].length, !1), propertyInfo: S(n.sub[0].sub[4]) }, cert: v(n.sub[1]), - signatureAlgID: null === (en = n.sub[2]) || void 0 === en ? void 0 : en.stream.parseOID(n.sub[2].stream.pos + n.sub[2].header, n.sub[2].stream.pos + n.sub[2].header + n.sub[2].length), - signature: null === (tn = n.sub[3]) || void 0 === tn ? void 0 : tn.stream.hexDump(n.sub[3].stream.pos + n.sub[3].header, n.sub[3].stream.pos + n.sub[3].header + n.sub[3].length, !1), + signatureAlgID: null === (tn = n.sub[2]) || void 0 === tn ? void 0 : tn.stream.parseOID(n.sub[2].stream.pos + n.sub[2].header, n.sub[2].stream.pos + n.sub[2].header + n.sub[2].length), + signature: null === (en = n.sub[3]) || void 0 === en ? void 0 : en.stream.hexDump(n.sub[3].stream.pos + n.sub[3].header, n.sub[3].stream.pos + n.sub[3].header + n.sub[3].length, !1), timpStamp: null === (rn = n.sub[4]) || void 0 === rn ? void 0 : rn.stream.parseTime(n.sub[4].stream.pos + n.sub[4].header, n.sub[4].stream.pos + n.sub[4].header + n.sub[4].length) } } catch (fn) { @@ -30194,8 +33268,8 @@ picture: { type: C(un.sub[0]), data: { - hex: A(un.sub[1]), - byte: _(un.sub[1]) + hex: _(un.sub[1]), + byte: A(un.sub[1]) }, width: w(un.sub[2]), height: w(un.sub[3]) @@ -30214,8 +33288,8 @@ picture: { type: C(dn.sub[0]), data: { - hex: A(dn.sub[1]), - byte: _(dn.sub[1]) + hex: _(dn.sub[1]), + byte: A(dn.sub[1]) }, width: w(dn.sub[2]), height: w(dn.sub[3]) @@ -30234,8 +33308,8 @@ picture: { type: C(ln.sub[0]), data: { - hex: A(ln.sub[1]), - byte: _(ln.sub[1]) + hex: _(ln.sub[1]), + byte: A(ln.sub[1]) }, width: w(ln.sub[2]), height: w(ln.sub[3]) @@ -30254,16 +33328,16 @@ } return r } - , v = function(e, t) { - t = t || 0; + , v = function(t, e) { + e = e || 0; try { - var r, n, i = e.sub[0].sub[0].sub[5], o = new Map; - i.sub.forEach((function(e) { - var t, r = e.sub[0].sub[0].content().split("\n")[0], n = null === (t = e.sub[0].sub[1]) || void 0 === t ? void 0 : t.stream.parseStringUTF(e.sub[0].sub[1].stream.pos + e.sub[0].sub[1].header, e.sub[0].sub[1].stream.pos + e.sub[0].sub[1].header + e.sub[0].sub[1].length); + var r, n, i = t.sub[0].sub[0].sub[5], o = new Map; + i.sub.forEach((function(t) { + var e, r = t.sub[0].sub[0].content().split("\n")[0], n = null === (e = t.sub[0].sub[1]) || void 0 === e ? void 0 : e.stream.parseStringUTF(t.sub[0].sub[1].stream.pos + t.sub[0].sub[1].header, t.sub[0].sub[1].stream.pos + t.sub[0].sub[1].header + t.sub[0].sub[1].length); o.set(r, n) } )); - var a = e.sub[0].sub[0].sub[6]; + var a = t.sub[0].sub[0].sub[6]; return { subject: o, commonName: o.get("2.5.4.3"), @@ -30277,48 +33351,48 @@ {} } } - , S = function(e) { - for (var t = "", r = 0; r < e.length; r++) - t += String.fromCharCode(e[r]); - return t + , S = function(t) { + for (var e = "", r = 0; r < t.length; r++) + e += String.fromCharCode(t[r]); + return e } - , w = function(e) { - return e.stream.parseInteger(e.stream.pos + e.header, e.stream.pos + e.header + e.length) + , w = function(t) { + return t.stream.parseInteger(t.stream.pos + t.header, t.stream.pos + t.header + t.length) } - , C = function(e) { - return e.stream.parseStringUTF(e.stream.pos + e.header, e.stream.pos + e.header + e.length) + , C = function(t) { + return t.stream.parseStringUTF(t.stream.pos + t.header, t.stream.pos + t.header + t.length) } - , A = function(e) { - return e.stream.parseOctetString(e.stream.pos + e.header, e.stream.pos + e.header + e.length) + , _ = function(t) { + return t.stream.parseOctetString(t.stream.pos + t.header, t.stream.pos + t.header + t.length) } - , _ = function(e) { - return e.stream.enc.subarray(e.stream.pos + e.header, e.stream.pos + e.header + e.length) + , A = function(t) { + return t.stream.enc.subarray(t.stream.pos + t.header, t.stream.pos + t.header + t.length) } }, - ab13: function(e, t, r) { + ab13: function(t, e, r) { var n = r("b622") , i = n("match"); - e.exports = function(e) { - var t = /./; + t.exports = function(t) { + var e = /./; try { - "/./"[e](t) + "/./"[t](e) } catch (r) { try { - return t[i] = !1, - "/./"[e](t) + return e[i] = !1, + "/./"[t](e) } catch (n) {} } return !1 } }, - ab36: function(e, t, r) { + ab36: function(t, e, r) { var n = r("861d") , i = r("9112"); - e.exports = function(e, t) { - n(t) && "cause"in t && i(e, "cause", t.cause) + t.exports = function(t, e) { + n(e) && "cause"in e && i(t, "cause", e.cause) } }, - acac: function(e, t, r) { + acac: function(t, e, r) { "use strict"; var n = r("e330") , i = r("6964") @@ -30336,236 +33410,236 @@ , b = d.findIndex , g = n([].splice) , y = 0 - , v = function(e) { - return e.frozen || (e.frozen = new S) + , v = function(t) { + return t.frozen || (t.frozen = new S) } , S = function() { this.entries = [] } - , w = function(e, t) { - return m(e.entries, (function(e) { - return e[0] === t + , w = function(t, e) { + return m(t.entries, (function(t) { + return t[0] === e } )) }; S.prototype = { - get: function(e) { - var t = w(this, e); - if (t) - return t[1] + get: function(t) { + var e = w(this, t); + if (e) + return e[1] }, - has: function(e) { - return !!w(this, e) + has: function(t) { + return !!w(this, t) }, - set: function(e, t) { - var r = w(this, e); - r ? r[1] = t : this.entries.push([e, t]) + set: function(t, e) { + var r = w(this, t); + r ? r[1] = e : this.entries.push([t, e]) }, - delete: function(e) { - var t = b(this.entries, (function(t) { - return t[0] === e + delete: function(t) { + var e = b(this.entries, (function(e) { + return e[0] === t } )); - return ~t && g(this.entries, t, 1), - !!~t + return ~e && g(this.entries, e, 1), + !!~e } }, - e.exports = { - getConstructor: function(e, t, r, n) { - var d = e((function(e, i) { - c(e, f), - h(e, { - type: t, + t.exports = { + getConstructor: function(t, e, r, n) { + var d = t((function(t, i) { + c(t, f), + h(t, { + type: e, id: y++, frozen: void 0 }), - void 0 != i && u(i, e[n], { - that: e, + void 0 != i && u(i, t[n], { + that: t, AS_ENTRIES: r }) } )) , f = d.prototype - , m = p(t) - , b = function(e, t, r) { - var n = m(e) - , i = o(a(t), !0); - return !0 === i ? v(n).set(t, r) : i[n.id] = r, - e + , m = p(e) + , b = function(t, e, r) { + var n = m(t) + , i = o(a(e), !0); + return !0 === i ? v(n).set(e, r) : i[n.id] = r, + t }; return i(f, { - delete: function(e) { - var t = m(this); - if (!s(e)) + delete: function(t) { + var e = m(this); + if (!s(t)) return !1; - var r = o(e); - return !0 === r ? v(t)["delete"](e) : r && l(r, t.id) && delete r[t.id] + var r = o(t); + return !0 === r ? v(e)["delete"](t) : r && l(r, e.id) && delete r[e.id] }, - has: function(e) { - var t = m(this); - if (!s(e)) + has: function(t) { + var e = m(this); + if (!s(t)) return !1; - var r = o(e); - return !0 === r ? v(t).has(e) : r && l(r, t.id) + var r = o(t); + return !0 === r ? v(e).has(t) : r && l(r, e.id) } }), i(f, r ? { - get: function(e) { - var t = m(this); - if (s(e)) { - var r = o(e); - return !0 === r ? v(t).get(e) : r ? r[t.id] : void 0 + get: function(t) { + var e = m(this); + if (s(t)) { + var r = o(t); + return !0 === r ? v(e).get(t) : r ? r[e.id] : void 0 } }, - set: function(e, t) { - return b(this, e, t) + set: function(t, e) { + return b(this, t, e) } } : { - add: function(e) { - return b(this, e, !0) + add: function(t) { + return b(this, t, !0) } }), d } } }, - ad63: function(e, t, r) { + ad63: function(t, e, r) { r("e260"), r("d3b7"), r("10d1"); var n = r("428f"); - e.exports = n.WeakMap + t.exports = n.WeakMap }, - adc3: function(e, t, r) { + adc3: function(t, e, r) { "use strict"; const n = r("90da") , i = { allowBooleanAttributes: !1 } , o = ["allowBooleanAttributes"]; - function a(e, t) { - for (var r = t; t < e.length; t++) - if ("?" != e[t] && " " != e[t]) + function a(t, e) { + for (var r = e; e < t.length; e++) + if ("?" != t[e] && " " != t[e]) ; else { - var n = e.substr(r, t - r); - if (t > 5 && "xml" === n) - return m("InvalidXml", "XML declaration allowed only at the start of the document.", y(e, t)); - if ("?" == e[t] && ">" == e[t + 1]) { - t++; + var n = t.substr(r, e - r); + if (e > 5 && "xml" === n) + return m("InvalidXml", "XML declaration allowed only at the start of the document.", y(t, e)); + if ("?" == t[e] && ">" == t[e + 1]) { + e++; break } } - return t + return e } - function s(e, t) { - if (e.length > t + 5 && "-" === e[t + 1] && "-" === e[t + 2]) { - for (t += 3; t < e.length; t++) - if ("-" === e[t] && "-" === e[t + 1] && ">" === e[t + 2]) { - t += 2; + function s(t, e) { + if (t.length > e + 5 && "-" === t[e + 1] && "-" === t[e + 2]) { + for (e += 3; e < t.length; e++) + if ("-" === t[e] && "-" === t[e + 1] && ">" === t[e + 2]) { + e += 2; break } - } else if (e.length > t + 8 && "D" === e[t + 1] && "O" === e[t + 2] && "C" === e[t + 3] && "T" === e[t + 4] && "Y" === e[t + 5] && "P" === e[t + 6] && "E" === e[t + 7]) { + } else if (t.length > e + 8 && "D" === t[e + 1] && "O" === t[e + 2] && "C" === t[e + 3] && "T" === t[e + 4] && "Y" === t[e + 5] && "P" === t[e + 6] && "E" === t[e + 7]) { let r = 1; - for (t += 8; t < e.length; t++) - if ("<" === e[t]) + for (e += 8; e < t.length; e++) + if ("<" === t[e]) r++; - else if (">" === e[t] && (r--, + else if (">" === t[e] && (r--, 0 === r)) break - } else if (e.length > t + 9 && "[" === e[t + 1] && "C" === e[t + 2] && "D" === e[t + 3] && "A" === e[t + 4] && "T" === e[t + 5] && "A" === e[t + 6] && "[" === e[t + 7]) - for (t += 8; t < e.length; t++) - if ("]" === e[t] && "]" === e[t + 1] && ">" === e[t + 2]) { - t += 2; + } else if (t.length > e + 9 && "[" === t[e + 1] && "C" === t[e + 2] && "D" === t[e + 3] && "A" === t[e + 4] && "T" === t[e + 5] && "A" === t[e + 6] && "[" === t[e + 7]) + for (e += 8; e < t.length; e++) + if ("]" === t[e] && "]" === t[e + 1] && ">" === t[e + 2]) { + e += 2; break } - return t + return e } - t.validate = function(e, t) { - t = n.buildOptions(t, i, o); + e.validate = function(t, e) { + e = n.buildOptions(e, i, o); const r = []; let c = !1 , u = !1; - "\ufeff" === e[0] && (e = e.substr(1)); - for (let n = 0; n < e.length; n++) { - if ("<" !== e[n]) { - if (" " === e[n] || "\t" === e[n] || "\n" === e[n] || "\r" === e[n]) + "\ufeff" === t[0] && (t = t.substr(1)); + for (let n = 0; n < t.length; n++) { + if ("<" !== t[n]) { + if (" " === t[n] || "\t" === t[n] || "\n" === t[n] || "\r" === t[n]) continue; - return m("InvalidChar", "char '" + e[n] + "' is not expected.", y(e, n)) + return m("InvalidChar", "char '" + t[n] + "' is not expected.", y(t, n)) } if (n++, - "?" === e[n]) { - if (n = a(e, ++n), + "?" === t[n]) { + if (n = a(t, ++n), n.err) return n } else { - if ("!" === e[n]) { - n = s(e, n); + if ("!" === t[n]) { + n = s(t, n); continue } { let i = !1; - "/" === e[n] && (i = !0, + "/" === t[n] && (i = !0, n++); let o = ""; - for (; n < e.length && ">" !== e[n] && " " !== e[n] && "\t" !== e[n] && "\n" !== e[n] && "\r" !== e[n]; n++) - o += e[n]; + for (; n < t.length && ">" !== t[n] && " " !== t[n] && "\t" !== t[n] && "\n" !== t[n] && "\r" !== t[n]; n++) + o += t[n]; if (o = o.trim(), "/" === o[o.length - 1] && (o = o.substring(0, o.length - 1), n--), !g(o)) { - let t; - return t = 0 === o.trim().length ? "There is an unnecessary space between tag name and backward slash ' 0) - return m("InvalidTag", "Closing tag '" + o + "' can't have attributes or invalid starting.", y(e, n)); + return m("InvalidTag", "Closing tag '" + o + "' can't have attributes or invalid starting.", y(t, n)); { - const t = r.pop(); - if (o !== t) - return m("InvalidTag", "Closing tag '" + t + "' is expected inplace of '" + o + "'.", y(e, n)); + const e = r.pop(); + if (o !== e) + return m("InvalidTag", "Closing tag '" + e + "' is expected inplace of '" + o + "'.", y(t, n)); 0 == r.length && (u = !0) } } else { - const i = f(l, t); + const i = f(l, e); if (!0 !== i) - return m(i.err.code, i.err.msg, y(e, n - l.length + i.err.line)); + return m(i.err.code, i.err.msg, y(t, n - l.length + i.err.line)); if (!0 === u) - return m("InvalidXml", "Multiple possible root nodes found.", y(e, n)); + return m("InvalidXml", "Multiple possible root nodes found.", y(t, n)); r.push(o), c = !0 } - for (n++; n < e.length; n++) { - if ("<" === e[n]) { - if ("!" === e[n + 1]) { + for (n++; n < t.length; n++) { + if ("<" === t[n]) { + if ("!" === t[n + 1]) { n++, - n = s(e, n); + n = s(t, n); continue } break } - if ("&" === e[n]) { - const t = p(e, n); - if (-1 == t) - return m("InvalidChar", "char '&' is not expected.", y(e, n)); - n = t + if ("&" === t[n]) { + const e = p(t, n); + if (-1 == e) + return m("InvalidChar", "char '&' is not expected.", y(t, n)); + n = e } } - "<" === e[n] && n-- + "<" === t[n] && n-- } } } @@ -30574,139 +33648,139 @@ ; var c = '"' , u = "'"; - function d(e, t) { + function d(t, e) { let r = "" , n = "" , i = !1; - for (; t < e.length; t++) { - if (e[t] === c || e[t] === u) + for (; e < t.length; e++) { + if (t[e] === c || t[e] === u) if ("" === n) - n = e[t]; + n = t[e]; else { - if (n !== e[t]) + if (n !== t[e]) continue; n = "" } - else if (">" === e[t] && "" === n) { + else if (">" === t[e] && "" === n) { i = !0; break } - r += e[t] + r += t[e] } return "" === n && { value: r, - index: t, + index: e, tagClosed: i } } const l = new RegExp("(\\s*)([^\\s=]+)(\\s*=)?(\\s*(['\"])(([\\s\\S])*?)\\5)?","g"); - function f(e, t) { - const r = n.getAllMatches(e, l) + function f(t, e) { + const r = n.getAllMatches(t, l) , i = {}; for (let n = 0; n < r.length; n++) { if (0 === r[n][1].length) - return m("InvalidAttr", "Attribute '" + r[n][2] + "' has no space in starting.", v(e, r[n][0])); - if (void 0 === r[n][3] && !t.allowBooleanAttributes) - return m("InvalidAttr", "boolean attribute '" + r[n][2] + "' is not allowed.", v(e, r[n][0])); + return m("InvalidAttr", "Attribute '" + r[n][2] + "' has no space in starting.", v(t, r[n][0])); + if (void 0 === r[n][3] && !e.allowBooleanAttributes) + return m("InvalidAttr", "boolean attribute '" + r[n][2] + "' is not allowed.", v(t, r[n][0])); const o = r[n][2]; if (!b(o)) - return m("InvalidAttr", "Attribute '" + o + "' is an invalid name.", v(e, r[n][0])); + return m("InvalidAttr", "Attribute '" + o + "' is an invalid name.", v(t, r[n][0])); if (i.hasOwnProperty(o)) - return m("InvalidAttr", "Attribute '" + o + "' is repeated.", v(e, r[n][0])); + return m("InvalidAttr", "Attribute '" + o + "' is repeated.", v(t, r[n][0])); i[o] = 1 } return !0 } - function h(e, t) { + function h(t, e) { let r = /\d/; - for ("x" === e[t] && (t++, - r = /[\da-fA-F]/); t < e.length; t++) { - if (";" === e[t]) - return t; - if (!e[t].match(r)) + for ("x" === t[e] && (e++, + r = /[\da-fA-F]/); e < t.length; e++) { + if (";" === t[e]) + return e; + if (!t[e].match(r)) break } return -1 } - function p(e, t) { - if (t++, - ";" === e[t]) + function p(t, e) { + if (e++, + ";" === t[e]) return -1; - if ("#" === e[t]) - return t++, - h(e, t); + if ("#" === t[e]) + return e++, + h(t, e); let r = 0; - for (; t < e.length; t++, + for (; e < t.length; e++, r++) - if (!(e[t].match(/\w/) && r < 20)) { - if (";" === e[t]) + if (!(t[e].match(/\w/) && r < 20)) { + if (";" === t[e]) break; return -1 } - return t + return e } - function m(e, t, r) { + function m(t, e, r) { return { err: { - code: e, - msg: t, + code: t, + msg: e, line: r } } } - function b(e) { - return n.isName(e) + function b(t) { + return n.isName(t) } - function g(e) { - return n.isName(e) + function g(t) { + return n.isName(t) } - function y(e, t) { - var r = e.substring(0, t).split(/\r?\n/); + function y(t, e) { + var r = t.substring(0, e).split(/\r?\n/); return r.length } - function v(e, t) { - return e.indexOf(t) + t.length + function v(t, e) { + return t.indexOf(e) + e.length } }, - addb: function(e, t, r) { + addb: function(t, e, r) { var n = r("4dae") , i = Math.floor - , o = function(e, t) { - var r = e.length + , o = function(t, e) { + var r = t.length , c = i(r / 2); - return r < 8 ? a(e, t) : s(e, o(n(e, 0, c), t), o(n(e, c), t), t) + return r < 8 ? a(t, e) : s(t, o(n(t, 0, c), e), o(n(t, c), e), e) } - , a = function(e, t) { - var r, n, i = e.length, o = 1; + , a = function(t, e) { + var r, n, i = t.length, o = 1; while (o < i) { n = o, - r = e[o]; - while (n && t(e[n - 1], r) > 0) - e[n] = e[--n]; - n !== o++ && (e[n] = r) + r = t[o]; + while (n && e(t[n - 1], r) > 0) + t[n] = t[--n]; + n !== o++ && (t[n] = r) } - return e + return t } - , s = function(e, t, r, n) { - var i = t.length + , s = function(t, e, r, n) { + var i = e.length , o = r.length , a = 0 , s = 0; while (a < i || s < o) - e[a + s] = a < i && s < o ? n(t[a], r[s]) <= 0 ? t[a++] : r[s++] : a < i ? t[a++] : r[s++]; - return e + t[a + s] = a < i && s < o ? n(e[a], r[s]) <= 0 ? e[a++] : r[s++] : a < i ? e[a++] : r[s++]; + return t }; - e.exports = o + t.exports = o }, - ae93: function(e, t, r) { + ae93: function(t, e, r) { "use strict"; var n, i, o, a = r("d039"), s = r("1626"), c = r("7c73"), u = r("e163"), d = r("cb2d"), l = r("b622"), f = r("c430"), h = l("iterator"), p = !1; [].keys && (o = [].keys(), "next"in o ? (i = u(u(o)), i !== Object.prototype && (n = i)) : p = !0); var m = void 0 == n || a((function() { - var e = {}; - return n[h].call(e) !== e + var t = {}; + return n[h].call(t) !== t } )); m ? n = {} : f && (n = c(n)), @@ -30714,15 +33788,15 @@ return this } )), - e.exports = { + t.exports = { IteratorPrototype: n, BUGGY_SAFARI_ITERATORS: p } }, - aed9: function(e, t, r) { + aed9: function(t, e, r) { var n = r("83ab") , i = r("d039"); - e.exports = n && i((function() { + t.exports = n && i((function() { return 42 != Object.defineProperty((function() {} ), "prototype", { value: 42, @@ -30731,22 +33805,22 @@ } )) }, - b041: function(e, t, r) { + b041: function(t, e, r) { "use strict"; var n = r("00ee") , i = r("f5df"); - e.exports = n ? {}.toString : function() { + t.exports = n ? {}.toString : function() { return "[object " + i(this) + "]" } }, - b109: function(e, t, r) { + b109: function(t, e, r) { var n = r("da84") , i = r("e330"); - e.exports = function(e, t) { - return i(n[e].prototype[t]) + t.exports = function(t, e) { + return i(n[t].prototype[e]) } }, - b4f8: function(e, t, r) { + b4f8: function(t, e, r) { var n = r("23e7") , i = r("d066") , o = r("1a2d") @@ -30760,18 +33834,18 @@ stat: !0, forced: !c }, { - for: function(e) { - var t = a(e); - if (o(u, t)) - return u[t]; - var r = i("Symbol")(t); - return u[t] = r, - d[r] = t, + for: function(t) { + var e = a(t); + if (o(u, e)) + return u[e]; + var r = i("Symbol")(e); + return u[e] = r, + d[r] = e, r } }) }, - b50d: function(e, t, r) { + b50d: function(t, e, r) { "use strict"; var n = r("c532") , i = r("467f") @@ -30781,76 +33855,76 @@ , c = r("c345") , u = r("3934") , d = r("2d83"); - e.exports = function(e) { - return new Promise((function(t, r) { - var l = e.data - , f = e.headers; + t.exports = function(t) { + return new Promise((function(e, r) { + var l = t.data + , f = t.headers; n.isFormData(l) && delete f["Content-Type"], (n.isBlob(l) || n.isFile(l)) && l.type && delete f["Content-Type"]; var h = new XMLHttpRequest; - if (e.auth) { - var p = e.auth.username || "" - , m = unescape(encodeURIComponent(e.auth.password)) || ""; + if (t.auth) { + var p = t.auth.username || "" + , m = unescape(encodeURIComponent(t.auth.password)) || ""; f.Authorization = "Basic " + btoa(p + ":" + m) } - var b = s(e.baseURL, e.url); - if (h.open(e.method.toUpperCase(), a(b, e.params, e.paramsSerializer), !0), - h.timeout = e.timeout, + var b = s(t.baseURL, t.url); + if (h.open(t.method.toUpperCase(), a(b, t.params, t.paramsSerializer), !0), + h.timeout = t.timeout, h.onreadystatechange = function() { if (h && 4 === h.readyState && (0 !== h.status || h.responseURL && 0 === h.responseURL.indexOf("file:"))) { var n = "getAllResponseHeaders"in h ? c(h.getAllResponseHeaders()) : null - , o = e.responseType && "text" !== e.responseType ? h.response : h.responseText + , o = t.responseType && "text" !== t.responseType ? h.response : h.responseText , a = { data: o, status: h.status, statusText: h.statusText, headers: n, - config: e, + config: t, request: h }; - i(t, r, a), + i(e, r, a), h = null } } , h.onabort = function() { - h && (r(d("Request aborted", e, "ECONNABORTED", h)), + h && (r(d("Request aborted", t, "ECONNABORTED", h)), h = null) } , h.onerror = function() { - r(d("Network Error", e, null, h)), + r(d("Network Error", t, null, h)), h = null } , h.ontimeout = function() { - var t = "timeout of " + e.timeout + "ms exceeded"; - e.timeoutErrorMessage && (t = e.timeoutErrorMessage), - r(d(t, e, "ECONNABORTED", h)), + var e = "timeout of " + t.timeout + "ms exceeded"; + t.timeoutErrorMessage && (e = t.timeoutErrorMessage), + r(d(e, t, "ECONNABORTED", h)), h = null } , n.isStandardBrowserEnv()) { - var g = (e.withCredentials || u(b)) && e.xsrfCookieName ? o.read(e.xsrfCookieName) : void 0; - g && (f[e.xsrfHeaderName] = g) + var g = (t.withCredentials || u(b)) && t.xsrfCookieName ? o.read(t.xsrfCookieName) : void 0; + g && (f[t.xsrfHeaderName] = g) } - if ("setRequestHeader"in h && n.forEach(f, (function(e, t) { - "undefined" === typeof l && "content-type" === t.toLowerCase() ? delete f[t] : h.setRequestHeader(t, e) + if ("setRequestHeader"in h && n.forEach(f, (function(t, e) { + "undefined" === typeof l && "content-type" === e.toLowerCase() ? delete f[e] : h.setRequestHeader(e, t) } )), - n.isUndefined(e.withCredentials) || (h.withCredentials = !!e.withCredentials), - e.responseType) + n.isUndefined(t.withCredentials) || (h.withCredentials = !!t.withCredentials), + t.responseType) try { - h.responseType = e.responseType + h.responseType = t.responseType } catch (y) { - if ("json" !== e.responseType) + if ("json" !== t.responseType) throw y } - "function" === typeof e.onDownloadProgress && h.addEventListener("progress", e.onDownloadProgress), - "function" === typeof e.onUploadProgress && h.upload && h.upload.addEventListener("progress", e.onUploadProgress), - e.cancelToken && e.cancelToken.promise.then((function(e) { + "function" === typeof t.onDownloadProgress && h.addEventListener("progress", t.onDownloadProgress), + "function" === typeof t.onUploadProgress && h.upload && h.upload.addEventListener("progress", t.onUploadProgress), + t.cancelToken && t.cancelToken.promise.then((function(t) { h && (h.abort(), - r(e), + r(t), h = null) } )), @@ -30860,23 +33934,23 @@ )) } }, - b575: function(e, t, r) { - var n, i, o, a, s, c, u, d, l = r("da84"), f = r("0366"), h = r("06cf").f, p = r("2cf4").set, m = r("1cdc"), b = r("d4c3"), g = r("a4b4"), y = r("605d"), v = l.MutationObserver || l.WebKitMutationObserver, S = l.document, w = l.process, C = l.Promise, A = h(l, "queueMicrotask"), _ = A && A.value; - _ || (n = function() { - var e, t; - y && (e = w.domain) && e.exit(); + b575: function(t, e, r) { + var n, i, o, a, s, c, u, d, l = r("da84"), f = r("0366"), h = r("06cf").f, p = r("2cf4").set, m = r("1cdc"), b = r("d4c3"), g = r("a4b4"), y = r("605d"), v = l.MutationObserver || l.WebKitMutationObserver, S = l.document, w = l.process, C = l.Promise, _ = h(l, "queueMicrotask"), A = _ && _.value; + A || (n = function() { + var t, e; + y && (t = w.domain) && t.exit(); while (i) { - t = i.fn, + e = i.fn, i = i.next; try { - t() + e() } catch (r) { throw i ? a() : o = void 0, r } } o = void 0, - e && e.enter() + t && t.enter() } , m || y || g || !v || !S ? !b && C && C.resolve ? (u = C.resolve(void 0), @@ -30901,18 +33975,18 @@ c.data = s = !s } )), - e.exports = _ || function(e) { - var t = { - fn: e, + t.exports = A || function(t) { + var e = { + fn: t, next: void 0 }; - o && (o.next = t), - i || (i = t, + o && (o.next = e), + i || (i = e, a()), - o = t + o = e } }, - b622: function(e, t, r) { + b622: function(t, e, r) { var n = r("da84") , i = r("5692") , o = r("1a2d") @@ -30923,21 +33997,21 @@ , d = n.Symbol , l = d && d["for"] , f = c ? d : d && d.withoutSetter || a; - e.exports = function(e) { - if (!o(u, e) || !s && "string" != typeof u[e]) { - var t = "Symbol." + e; - s && o(d, e) ? u[e] = d[e] : u[e] = c && l ? l(t) : f(t) + t.exports = function(t) { + if (!o(u, t) || !s && "string" != typeof u[t]) { + var e = "Symbol." + t; + s && o(d, t) ? u[t] = d[t] : u[t] = c && l ? l(e) : f(e) } - return u[e] + return u[t] } }, - b636: function(e, t, r) { + b636: function(t, e, r) { var n = r("746f"); n("asyncIterator") }, - b639: function(e, t, r) { + b639: function(t, e, r) { "use strict"; - (function(e) { + (function(t) { /*! * The buffer module from node.js, for the browser. * @@ -30949,125 +34023,125 @@ , o = r("e3db"); function a() { try { - var e = new Uint8Array(1); - return e.__proto__ = { + var t = new Uint8Array(1); + return t.__proto__ = { __proto__: Uint8Array.prototype, foo: function() { return 42 } }, - 42 === e.foo() && "function" === typeof e.subarray && 0 === e.subarray(1, 1).byteLength - } catch (t) { + 42 === t.foo() && "function" === typeof t.subarray && 0 === t.subarray(1, 1).byteLength + } catch (e) { return !1 } } function s() { return u.TYPED_ARRAY_SUPPORT ? 2147483647 : 1073741823 } - function c(e, t) { - if (s() < t) + function c(t, e) { + if (s() < e) throw new RangeError("Invalid typed array length"); - return u.TYPED_ARRAY_SUPPORT ? (e = new Uint8Array(t), - e.__proto__ = u.prototype) : (null === e && (e = new u(t)), - e.length = t), - e + return u.TYPED_ARRAY_SUPPORT ? (t = new Uint8Array(e), + t.__proto__ = u.prototype) : (null === t && (t = new u(e)), + t.length = e), + t } - function u(e, t, r) { + function u(t, e, r) { if (!u.TYPED_ARRAY_SUPPORT && !(this instanceof u)) - return new u(e,t,r); - if ("number" === typeof e) { - if ("string" === typeof t) + return new u(t,e,r); + if ("number" === typeof t) { + if ("string" === typeof e) throw new Error("If encoding is specified then the first argument must be a string"); - return h(this, e) + return h(this, t) } - return d(this, e, t, r) + return d(this, t, e, r) } - function d(e, t, r, n) { - if ("number" === typeof t) + function d(t, e, r, n) { + if ("number" === typeof e) throw new TypeError('"value" argument must not be a number'); - return "undefined" !== typeof ArrayBuffer && t instanceof ArrayBuffer ? b(e, t, r, n) : "string" === typeof t ? p(e, t, r) : g(e, t) + return "undefined" !== typeof ArrayBuffer && e instanceof ArrayBuffer ? b(t, e, r, n) : "string" === typeof e ? p(t, e, r) : g(t, e) } - function l(e) { - if ("number" !== typeof e) + function l(t) { + if ("number" !== typeof t) throw new TypeError('"size" argument must be a number'); - if (e < 0) + if (t < 0) throw new RangeError('"size" argument must not be negative') } - function f(e, t, r, n) { - return l(t), - t <= 0 ? c(e, t) : void 0 !== r ? "string" === typeof n ? c(e, t).fill(r, n) : c(e, t).fill(r) : c(e, t) + function f(t, e, r, n) { + return l(e), + e <= 0 ? c(t, e) : void 0 !== r ? "string" === typeof n ? c(t, e).fill(r, n) : c(t, e).fill(r) : c(t, e) } - function h(e, t) { - if (l(t), - e = c(e, t < 0 ? 0 : 0 | y(t)), + function h(t, e) { + if (l(e), + t = c(t, e < 0 ? 0 : 0 | y(e)), !u.TYPED_ARRAY_SUPPORT) - for (var r = 0; r < t; ++r) - e[r] = 0; - return e + for (var r = 0; r < e; ++r) + t[r] = 0; + return t } - function p(e, t, r) { + function p(t, e, r) { if ("string" === typeof r && "" !== r || (r = "utf8"), !u.isEncoding(r)) throw new TypeError('"encoding" must be a valid string encoding'); - var n = 0 | S(t, r); - e = c(e, n); - var i = e.write(t, r); - return i !== n && (e = e.slice(0, i)), - e + var n = 0 | S(e, r); + t = c(t, n); + var i = t.write(e, r); + return i !== n && (t = t.slice(0, i)), + t } - function m(e, t) { - var r = t.length < 0 ? 0 : 0 | y(t.length); - e = c(e, r); + function m(t, e) { + var r = e.length < 0 ? 0 : 0 | y(e.length); + t = c(t, r); for (var n = 0; n < r; n += 1) - e[n] = 255 & t[n]; - return e + t[n] = 255 & e[n]; + return t } - function b(e, t, r, n) { - if (t.byteLength, - r < 0 || t.byteLength < r) + function b(t, e, r, n) { + if (e.byteLength, + r < 0 || e.byteLength < r) throw new RangeError("'offset' is out of bounds"); - if (t.byteLength < r + (n || 0)) + if (e.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), - u.TYPED_ARRAY_SUPPORT ? (e = t, - e.__proto__ = u.prototype) : e = m(e, t), - e + return e = void 0 === r && void 0 === n ? new Uint8Array(e) : void 0 === n ? new Uint8Array(e,r) : new Uint8Array(e,r,n), + u.TYPED_ARRAY_SUPPORT ? (t = e, + t.__proto__ = u.prototype) : t = m(t, e), + t } - function g(e, t) { - if (u.isBuffer(t)) { - var r = 0 | y(t.length); - return e = c(e, r), - 0 === e.length ? e : (t.copy(e, 0, 0, r), - e) + function g(t, e) { + if (u.isBuffer(e)) { + var r = 0 | y(e.length); + return t = c(t, r), + 0 === t.length ? t : (e.copy(t, 0, 0, r), + t) } - if (t) { - if ("undefined" !== typeof ArrayBuffer && t.buffer instanceof ArrayBuffer || "length"in t) - return "number" !== typeof t.length || te(t.length) ? c(e, 0) : m(e, t); - if ("Buffer" === t.type && o(t.data)) - return m(e, t.data) + if (e) { + if ("undefined" !== typeof ArrayBuffer && e.buffer instanceof ArrayBuffer || "length"in e) + return "number" !== typeof e.length || et(e.length) ? c(t, 0) : m(t, e); + if ("Buffer" === e.type && o(e.data)) + return m(t, e.data) } throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.") } - function y(e) { - if (e >= s()) + function y(t) { + if (t >= s()) throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x" + s().toString(16) + " bytes"); - return 0 | e + return 0 | t } - function v(e) { - return +e != e && (e = 0), - u.alloc(+e) + function v(t) { + return +t != t && (t = 0), + u.alloc(+t) } - function S(e, t) { - if (u.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; + function S(t, e) { + if (u.isBuffer(t)) + return t.length; + if ("undefined" !== typeof ArrayBuffer && "function" === typeof ArrayBuffer.isView && (ArrayBuffer.isView(t) || t instanceof ArrayBuffer)) + return t.byteLength; + "string" !== typeof t && (t = "" + t); + var r = t.length; if (0 === r) return 0; for (var n = !1; ; ) - switch (t) { + switch (e) { case "ascii": case "latin1": case "binary": @@ -31075,7 +34149,7 @@ case "utf8": case "utf-8": case void 0: - return Q(e).length; + return Z(t).length; case "ucs2": case "ucs-2": case "utf16le": @@ -31084,101 +34158,101 @@ case "hex": return r >>> 1; case "base64": - return $(e).length; + return $(t).length; default: if (n) - return Q(e).length; - t = ("" + t).toLowerCase(), + return Z(t).length; + e = ("" + e).toLowerCase(), n = !0 } } - function w(e, t, r) { + function w(t, e, r) { var n = !1; - if ((void 0 === t || t < 0) && (t = 0), - t > this.length) + if ((void 0 === e || e < 0) && (e = 0), + e > this.length) return ""; if ((void 0 === r || r > this.length) && (r = this.length), r <= 0) return ""; if (r >>>= 0, - t >>>= 0, - r <= t) + e >>>= 0, + r <= e) return ""; - e || (e = "utf8"); + t || (t = "utf8"); while (1) - switch (e) { + switch (t) { case "hex": - return F(this, t, r); + return F(this, e, r); case "utf8": case "utf-8": - return O(this, t, r); + return O(this, e, r); case "ascii": - return N(this, t, r); + return M(this, e, r); case "latin1": case "binary": - return B(this, t, r); + return B(this, e, r); case "base64": - return D(this, t, r); + return D(this, e, r); case "ucs2": case "ucs-2": case "utf16le": case "utf-16le": - return j(this, t, r); + return j(this, e, r); default: if (n) - throw new TypeError("Unknown encoding: " + e); - e = (e + "").toLowerCase(), + throw new TypeError("Unknown encoding: " + t); + t = (t + "").toLowerCase(), n = !0 } } - function C(e, t, r) { - var n = e[t]; - e[t] = e[r], - e[r] = n + function C(t, e, r) { + var n = t[e]; + t[e] = t[r], + t[r] = n } - function A(e, t, r, n, i) { - if (0 === e.length) + function _(t, e, r, n, i) { + if (0 === t.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) { + isNaN(r) && (r = i ? 0 : t.length - 1), + r < 0 && (r = t.length + r), + r >= t.length) { if (i) return -1; - r = e.length - 1 + r = t.length - 1 } else if (r < 0) { if (!i) return -1; r = 0 } - if ("string" === typeof t && (t = u.from(t, n)), - u.isBuffer(t)) - return 0 === t.length ? -1 : _(e, t, r, n, i); - if ("number" === typeof t) - return t &= 255, - u.TYPED_ARRAY_SUPPORT && "function" === typeof Uint8Array.prototype.indexOf ? i ? Uint8Array.prototype.indexOf.call(e, t, r) : Uint8Array.prototype.lastIndexOf.call(e, t, r) : _(e, [t], r, n, i); + if ("string" === typeof e && (e = u.from(e, n)), + u.isBuffer(e)) + return 0 === e.length ? -1 : A(t, e, r, n, i); + if ("number" === typeof e) + return e &= 255, + u.TYPED_ARRAY_SUPPORT && "function" === typeof Uint8Array.prototype.indexOf ? i ? Uint8Array.prototype.indexOf.call(t, e, r) : Uint8Array.prototype.lastIndexOf.call(t, e, r) : A(t, [e], r, n, i); throw new TypeError("val must be string, number or Buffer") } - function _(e, t, r, n, i) { - var o, a = 1, s = e.length, c = t.length; + function A(t, e, r, n, i) { + var o, a = 1, s = t.length, c = e.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) + if (t.length < 2 || e.length < 2) return -1; a = 2, s /= 2, c /= 2, r /= 2 } - function u(e, t) { - return 1 === a ? e[t] : e.readUInt16BE(t * a) + function u(t, e) { + return 1 === a ? t[e] : t.readUInt16BE(e * a) } if (i) { var d = -1; for (o = r; o < s; o++) - if (u(e, o) === u(t, -1 === d ? 0 : o - d)) { + if (u(t, o) === u(e, -1 === d ? 0 : o - d)) { if (-1 === d && (d = o), o - d + 1 === c) return d * a @@ -31189,7 +34263,7 @@ for (r + c > s && (r = s - c), o = r; o >= 0; o--) { for (var l = !0, f = 0; f < c; f++) - if (u(e, o + f) !== u(t, f)) { + if (u(t, o + f) !== u(e, f)) { l = !1; break } @@ -31198,67 +34272,67 @@ } return -1 } - function I(e, t, r, n) { + function I(t, e, r, n) { r = Number(r) || 0; - var i = e.length - r; + var i = t.length - r; n ? (n = Number(n), n > i && (n = i)) : n = i; - var o = t.length; + var o = e.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); + var s = parseInt(e.substr(2 * a, 2), 16); if (isNaN(s)) return a; - e[r + a] = s + t[r + a] = s } return a } - function E(e, t, r, n) { - return ee(Q(t, e.length - r), e, r, n) + function E(t, e, r, n) { + return tt(Z(e, t.length - r), t, r, n) } - function T(e, t, r, n) { - return ee(Z(t), e, r, n) + function T(t, e, r, n) { + return tt(Q(e), t, r, n) } - function x(e, t, r, n) { - return T(e, t, r, n) + function x(t, e, r, n) { + return T(t, e, r, n) } - function P(e, t, r, n) { - return ee($(t), e, r, n) + function P(t, e, r, n) { + return tt($(e), t, r, n) } - function k(e, t, r, n) { - return ee(J(t, e.length - r), e, r, n) + function k(t, e, r, n) { + return tt(J(e, t.length - r), t, r, n) } - function D(e, t, r) { - return 0 === t && r === e.length ? n.fromByteArray(e) : n.fromByteArray(e.slice(t, r)) + function D(t, e, r) { + return 0 === e && r === t.length ? n.fromByteArray(t) : n.fromByteArray(t.slice(e, r)) } - function O(e, t, r) { - r = Math.min(e.length, r); + function O(t, e, r) { + r = Math.min(t.length, r); var n = [] - , i = t; + , i = e; while (i < r) { - var o, a, s, c, u = e[i], d = null, l = u > 239 ? 4 : u > 223 ? 3 : u > 191 ? 2 : 1; + var o, a, s, c, u = t[i], d = null, l = u > 239 ? 4 : u > 223 ? 3 : u > 191 ? 2 : 1; if (i + l <= r) switch (l) { case 1: u < 128 && (d = u); break; case 2: - o = e[i + 1], + o = t[i + 1], 128 === (192 & o) && (c = (31 & u) << 6 | 63 & o, c > 127 && (d = c)); break; case 3: - o = e[i + 1], - a = e[i + 2], + o = t[i + 1], + a = t[i + 2], 128 === (192 & o) && 128 === (192 & a) && (c = (15 & u) << 12 | (63 & o) << 6 | 63 & a, c > 2047 && (c < 55296 || c > 57343) && (d = c)); break; case 4: - o = e[i + 1], - a = e[i + 2], - s = e[i + 3], + o = t[i + 1], + a = t[i + 2], + s = t[i + 3], 128 === (192 & o) && 128 === (192 & a) && 128 === (192 & s) && (c = (15 & u) << 18 | (63 & o) << 12 | (63 & a) << 6 | 63 & s, c > 65535 && c < 1114112 && (d = c)) } @@ -31269,21 +34343,21 @@ n.push(d), i += l } - return M(n) + return N(n) } - t.Buffer = u, - t.SlowBuffer = v, - t.INSPECT_MAX_BYTES = 50, - u.TYPED_ARRAY_SUPPORT = void 0 !== e.TYPED_ARRAY_SUPPORT ? e.TYPED_ARRAY_SUPPORT : a(), - t.kMaxLength = s(), + e.Buffer = u, + e.SlowBuffer = v, + e.INSPECT_MAX_BYTES = 50, + u.TYPED_ARRAY_SUPPORT = void 0 !== t.TYPED_ARRAY_SUPPORT ? t.TYPED_ARRAY_SUPPORT : a(), + e.kMaxLength = s(), u.poolSize = 8192, - u._augment = function(e) { - return e.__proto__ = u.prototype, - e + u._augment = function(t) { + return t.__proto__ = u.prototype, + t } , - u.from = function(e, t, r) { - return d(null, e, t, r) + u.from = function(t, e, r) { + return d(null, t, e, r) } , u.TYPED_ARRAY_SUPPORT && (u.prototype.__proto__ = Uint8Array.prototype, @@ -31292,38 +34366,38 @@ value: null, configurable: !0 })), - u.alloc = function(e, t, r) { - return f(null, e, t, r) + u.alloc = function(t, e, r) { + return f(null, t, e, r) } , - u.allocUnsafe = function(e) { - return h(null, e) + u.allocUnsafe = function(t) { + return h(null, t) } , - u.allocUnsafeSlow = function(e) { - return h(null, e) + u.allocUnsafeSlow = function(t) { + return h(null, t) } , - u.isBuffer = function(e) { - return !(null == e || !e._isBuffer) + u.isBuffer = function(t) { + return !(null == t || !t._isBuffer) } , - u.compare = function(e, t) { - if (!u.isBuffer(e) || !u.isBuffer(t)) + u.compare = function(t, e) { + if (!u.isBuffer(t) || !u.isBuffer(e)) throw new TypeError("Arguments must be Buffers"); - if (e === t) + if (t === e) 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]; + for (var r = t.length, n = e.length, i = 0, o = Math.min(r, n); i < o; ++i) + if (t[i] !== e[i]) { + r = t[i], + n = e[i]; break } return r < n ? -1 : n < r ? 1 : 0 } , - u.isEncoding = function(e) { - switch (String(e).toLowerCase()) { + u.isEncoding = function(t) { + switch (String(t).toLowerCase()) { case "hex": case "utf8": case "utf-8": @@ -31341,20 +34415,20 @@ } } , - u.concat = function(e, t) { - if (!o(e)) + u.concat = function(t, e) { + if (!o(t)) throw new TypeError('"list" argument must be an Array of Buffers'); - if (0 === e.length) + if (0 === t.length) return u.alloc(0); var r; - if (void 0 === t) - for (t = 0, - r = 0; r < e.length; ++r) - t += e[r].length; - var n = u.allocUnsafe(t) + if (void 0 === e) + for (e = 0, + r = 0; r < t.length; ++r) + e += t[r].length; + var n = u.allocUnsafe(e) , i = 0; - for (r = 0; r < e.length; ++r) { - var a = e[r]; + for (r = 0; r < t.length; ++r) { + var a = t[r]; if (!u.isBuffer(a)) throw new TypeError('"list" argument must be an Array of Buffers'); a.copy(n, i), @@ -31366,77 +34440,77 @@ u.byteLength = S, u.prototype._isBuffer = !0, u.prototype.swap16 = function() { - var e = this.length; - if (e % 2 !== 0) + var t = this.length; + if (t % 2 !== 0) throw new RangeError("Buffer size must be a multiple of 16-bits"); - for (var t = 0; t < e; t += 2) - C(this, t, t + 1); + for (var e = 0; e < t; e += 2) + C(this, e, e + 1); return this } , u.prototype.swap32 = function() { - var e = this.length; - if (e % 4 !== 0) + var t = this.length; + if (t % 4 !== 0) throw new RangeError("Buffer size must be a multiple of 32-bits"); - for (var t = 0; t < e; t += 4) - C(this, t, t + 3), - C(this, t + 1, t + 2); + for (var e = 0; e < t; e += 4) + C(this, e, e + 3), + C(this, e + 1, e + 2); return this } , u.prototype.swap64 = function() { - var e = this.length; - if (e % 8 !== 0) + var t = this.length; + if (t % 8 !== 0) throw new RangeError("Buffer size must be a multiple of 64-bits"); - for (var t = 0; t < e; t += 8) - C(this, t, t + 7), - C(this, t + 1, t + 6), - C(this, t + 2, t + 5), - C(this, t + 3, t + 4); + for (var e = 0; e < t; e += 8) + C(this, e, e + 7), + C(this, e + 1, e + 6), + C(this, e + 2, e + 5), + C(this, e + 3, e + 4); return this } , u.prototype.toString = function() { - var e = 0 | this.length; - return 0 === e ? "" : 0 === arguments.length ? O(this, 0, e) : w.apply(this, arguments) + var t = 0 | this.length; + return 0 === t ? "" : 0 === arguments.length ? O(this, 0, t) : w.apply(this, arguments) } , - u.prototype.equals = function(e) { - if (!u.isBuffer(e)) + u.prototype.equals = function(t) { + if (!u.isBuffer(t)) throw new TypeError("Argument must be a Buffer"); - return this === e || 0 === u.compare(this, e) + return this === t || 0 === u.compare(this, t) } , u.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 += " ... ")), - "" + var t = "" + , r = e.INSPECT_MAX_BYTES; + return this.length > 0 && (t = this.toString("hex", 0, r).match(/.{2}/g).join(" "), + this.length > r && (t += " ... ")), + "" } , - u.prototype.compare = function(e, t, r, n, i) { - if (!u.isBuffer(e)) + u.prototype.compare = function(t, e, r, n, i) { + if (!u.isBuffer(t)) throw new TypeError("Argument must be a Buffer"); - if (void 0 === t && (t = 0), - void 0 === r && (r = e ? e.length : 0), + if (void 0 === e && (e = 0), + void 0 === r && (r = t ? t.length : 0), void 0 === n && (n = 0), void 0 === i && (i = this.length), - t < 0 || r > e.length || n < 0 || i > this.length) + e < 0 || r > t.length || n < 0 || i > this.length) throw new RangeError("out of range index"); - if (n >= i && t >= r) + if (n >= i && e >= r) return 0; if (n >= i) return -1; - if (t >= r) + if (e >= r) return 1; - if (t >>>= 0, + if (e >>>= 0, r >>>= 0, n >>>= 0, i >>>= 0, - this === e) + this === t) return 0; - for (var o = i - n, a = r - t, s = Math.min(o, a), c = this.slice(n, i), d = e.slice(t, r), l = 0; l < s; ++l) + for (var o = i - n, a = r - e, s = Math.min(o, a), c = this.slice(n, i), d = t.slice(e, r), l = 0; l < s; ++l) if (c[l] !== d[l]) { o = c[l], a = d[l]; @@ -31445,59 +34519,59 @@ return o < a ? -1 : a < o ? 1 : 0 } , - u.prototype.includes = function(e, t, r) { - return -1 !== this.indexOf(e, t, r) + u.prototype.includes = function(t, e, r) { + return -1 !== this.indexOf(t, e, r) } , - u.prototype.indexOf = function(e, t, r) { - return A(this, e, t, r, !0) + u.prototype.indexOf = function(t, e, r) { + return _(this, t, e, r, !0) } , - u.prototype.lastIndexOf = function(e, t, r) { - return A(this, e, t, r, !1) + u.prototype.lastIndexOf = function(t, e, r) { + return _(this, t, e, r, !1) } , - u.prototype.write = function(e, t, r, n) { - if (void 0 === t) + u.prototype.write = function(t, e, r, n) { + if (void 0 === e) n = "utf8", r = this.length, - t = 0; - else if (void 0 === r && "string" === typeof t) - n = t, + e = 0; + else if (void 0 === r && "string" === typeof e) + n = e, r = this.length, - t = 0; + e = 0; else { - if (!isFinite(t)) + if (!isFinite(e)) throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported"); - t |= 0, + e |= 0, isFinite(r) ? (r |= 0, void 0 === n && (n = "utf8")) : (n = r, r = void 0) } - var i = this.length - t; + var i = this.length - e; if ((void 0 === r || r > i) && (r = i), - e.length > 0 && (r < 0 || t < 0) || t > this.length) + t.length > 0 && (r < 0 || e < 0) || e > this.length) throw new RangeError("Attempt to write outside buffer bounds"); n || (n = "utf8"); for (var o = !1; ; ) switch (n) { case "hex": - return I(this, e, t, r); + return I(this, t, e, r); case "utf8": case "utf-8": - return E(this, e, t, r); + return E(this, t, e, r); case "ascii": - return T(this, e, t, r); + return T(this, t, e, r); case "latin1": case "binary": - return x(this, e, t, r); + return x(this, t, e, r); case "base64": - return P(this, e, t, r); + return P(this, t, e, r); case "ucs2": case "ucs-2": case "utf16le": case "utf-16le": - return k(this, e, t, r); + return k(this, t, e, r); default: if (o) throw new TypeError("Unknown encoding: " + n); @@ -31514,549 +34588,549 @@ } ; var R = 4096; - function M(e) { - var t = e.length; - if (t <= R) - return String.fromCharCode.apply(String, e); + function N(t) { + var e = t.length; + if (e <= R) + return String.fromCharCode.apply(String, t); var r = "" , n = 0; - while (n < t) - r += String.fromCharCode.apply(String, e.slice(n, n += R)); + while (n < e) + r += String.fromCharCode.apply(String, t.slice(n, n += R)); return r } - function N(e, t, r) { + function M(t, e, r) { var n = ""; - r = Math.min(e.length, r); - for (var i = t; i < r; ++i) - n += String.fromCharCode(127 & e[i]); + r = Math.min(t.length, r); + for (var i = e; i < r; ++i) + n += String.fromCharCode(127 & t[i]); return n } - function B(e, t, r) { + function B(t, e, r) { var n = ""; - r = Math.min(e.length, r); - for (var i = t; i < r; ++i) - n += String.fromCharCode(e[i]); + r = Math.min(t.length, r); + for (var i = e; i < r; ++i) + n += String.fromCharCode(t[i]); return n } - function F(e, t, r) { - var n = e.length; - (!t || t < 0) && (t = 0), + function F(t, e, r) { + var n = t.length; + (!e || e < 0) && (e = 0), (!r || r < 0 || r > n) && (r = n); - for (var i = "", o = t; o < r; ++o) - i += Y(e[o]); + for (var i = "", o = e; o < r; ++o) + i += Y(t[o]); return i } - function j(e, t, r) { - for (var n = e.slice(t, r), i = "", o = 0; o < n.length; o += 2) + function j(t, e, r) { + for (var n = t.slice(e, r), i = "", o = 0; o < n.length; o += 2) i += String.fromCharCode(n[o] + 256 * n[o + 1]); return i } - function K(e, t, r) { - if (e % 1 !== 0 || e < 0) + function K(t, e, r) { + if (t % 1 !== 0 || t < 0) throw new RangeError("offset is not uint"); - if (e + t > r) + if (t + e > r) throw new RangeError("Trying to access beyond buffer length") } - function U(e, t, r, n, i, o) { - if (!u.isBuffer(e)) + function L(t, e, r, n, i, o) { + if (!u.isBuffer(t)) throw new TypeError('"buffer" argument must be a Buffer instance'); - if (t > i || t < o) + if (e > i || e < o) throw new RangeError('"value" argument is out of bounds'); - if (r + n > e.length) + if (r + n > t.length) throw new RangeError("Index out of range") } - function L(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 U(t, e, r, n) { + e < 0 && (e = 65535 + e + 1); + for (var i = 0, o = Math.min(t.length - r, 2); i < o; ++i) + t[r + i] = (e & 255 << 8 * (n ? i : 1 - i)) >>> 8 * (n ? i : 1 - i) } - function X(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 X(t, e, r, n) { + e < 0 && (e = 4294967295 + e + 1); + for (var i = 0, o = Math.min(t.length - r, 4); i < o; ++i) + t[r + i] = e >>> 8 * (n ? i : 3 - i) & 255 } - function z(e, t, r, n, i, o) { - if (r + n > e.length) + function z(t, e, r, n, i, o) { + if (r + n > t.length) throw new RangeError("Index out of range"); if (r < 0) throw new RangeError("Index out of range") } - function G(e, t, r, n, o) { - return o || z(e, t, r, 4, 34028234663852886e22, -34028234663852886e22), - i.write(e, t, r, n, 23, 4), + function G(t, e, r, n, o) { + return o || z(t, e, r, 4, 34028234663852886e22, -34028234663852886e22), + i.write(t, e, r, n, 23, 4), r + 4 } - function W(e, t, r, n, o) { - return o || z(e, t, r, 8, 17976931348623157e292, -17976931348623157e292), - i.write(e, t, r, n, 52, 8), + function W(t, e, r, n, o) { + return o || z(t, e, r, 8, 17976931348623157e292, -17976931348623157e292), + i.write(t, e, r, n, 52, 8), r + 8 } - u.prototype.slice = function(e, t) { + u.prototype.slice = function(t, e) { 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), + if (t = ~~t, + e = void 0 === e ? n : ~~e, t < 0 ? (t += n, t < 0 && (t = 0)) : t > n && (t = n), - t < e && (t = e), + e < 0 ? (e += n, + e < 0 && (e = 0)) : e > n && (e = n), + e < t && (e = t), u.TYPED_ARRAY_SUPPORT) - r = this.subarray(e, t), + r = this.subarray(t, e), r.__proto__ = u.prototype; else { - var i = t - e; + var i = e - t; r = new u(i,void 0); for (var o = 0; o < i; ++o) - r[o] = this[o + e] + r[o] = this[o + t] } return r } , - u.prototype.readUIntLE = function(e, t, r) { - e |= 0, + u.prototype.readUIntLE = function(t, e, r) { t |= 0, - r || K(e, t, this.length); - var n = this[e] + e |= 0, + r || K(t, e, this.length); + var n = this[t] , i = 1 , o = 0; - while (++o < t && (i *= 256)) - n += this[e + o] * i; + while (++o < e && (i *= 256)) + n += this[t + o] * i; return n } , - u.prototype.readUIntBE = function(e, t, r) { - e |= 0, + u.prototype.readUIntBE = function(t, e, r) { t |= 0, - r || K(e, t, this.length); - var n = this[e + --t] + e |= 0, + r || K(t, e, this.length); + var n = this[t + --e] , i = 1; - while (t > 0 && (i *= 256)) - n += this[e + --t] * i; + while (e > 0 && (i *= 256)) + n += this[t + --e] * i; return n } , - u.prototype.readUInt8 = function(e, t) { - return t || K(e, 1, this.length), - this[e] + u.prototype.readUInt8 = function(t, e) { + return e || K(t, 1, this.length), + this[t] } , - u.prototype.readUInt16LE = function(e, t) { - return t || K(e, 2, this.length), - this[e] | this[e + 1] << 8 + u.prototype.readUInt16LE = function(t, e) { + return e || K(t, 2, this.length), + this[t] | this[t + 1] << 8 } , - u.prototype.readUInt16BE = function(e, t) { - return t || K(e, 2, this.length), - this[e] << 8 | this[e + 1] + u.prototype.readUInt16BE = function(t, e) { + return e || K(t, 2, this.length), + this[t] << 8 | this[t + 1] } , - u.prototype.readUInt32LE = function(e, t) { - return t || K(e, 4, this.length), - (this[e] | this[e + 1] << 8 | this[e + 2] << 16) + 16777216 * this[e + 3] + u.prototype.readUInt32LE = function(t, e) { + return e || K(t, 4, this.length), + (this[t] | this[t + 1] << 8 | this[t + 2] << 16) + 16777216 * this[t + 3] } , - u.prototype.readUInt32BE = function(e, t) { - return t || K(e, 4, this.length), - 16777216 * this[e] + (this[e + 1] << 16 | this[e + 2] << 8 | this[e + 3]) + u.prototype.readUInt32BE = function(t, e) { + return e || K(t, 4, this.length), + 16777216 * this[t] + (this[t + 1] << 16 | this[t + 2] << 8 | this[t + 3]) } , - u.prototype.readIntLE = function(e, t, r) { - e |= 0, + u.prototype.readIntLE = function(t, e, r) { t |= 0, - r || K(e, t, this.length); - var n = this[e] + e |= 0, + r || K(t, e, this.length); + var n = this[t] , i = 1 , o = 0; - while (++o < t && (i *= 256)) - n += this[e + o] * i; + while (++o < e && (i *= 256)) + n += this[t + o] * i; return i *= 128, - n >= i && (n -= Math.pow(2, 8 * t)), + n >= i && (n -= Math.pow(2, 8 * e)), n } , - u.prototype.readIntBE = function(e, t, r) { - e |= 0, + u.prototype.readIntBE = function(t, e, r) { t |= 0, - r || K(e, t, this.length); - var n = t + e |= 0, + r || K(t, e, this.length); + var n = e , i = 1 - , o = this[e + --n]; + , o = this[t + --n]; while (n > 0 && (i *= 256)) - o += this[e + --n] * i; + o += this[t + --n] * i; return i *= 128, - o >= i && (o -= Math.pow(2, 8 * t)), + o >= i && (o -= Math.pow(2, 8 * e)), o } , - u.prototype.readInt8 = function(e, t) { - return t || K(e, 1, this.length), - 128 & this[e] ? -1 * (255 - this[e] + 1) : this[e] + u.prototype.readInt8 = function(t, e) { + return e || K(t, 1, this.length), + 128 & this[t] ? -1 * (255 - this[t] + 1) : this[t] } , - u.prototype.readInt16LE = function(e, t) { - t || K(e, 2, this.length); - var r = this[e] | this[e + 1] << 8; + u.prototype.readInt16LE = function(t, e) { + e || K(t, 2, this.length); + var r = this[t] | this[t + 1] << 8; return 32768 & r ? 4294901760 | r : r } , - u.prototype.readInt16BE = function(e, t) { - t || K(e, 2, this.length); - var r = this[e + 1] | this[e] << 8; + u.prototype.readInt16BE = function(t, e) { + e || K(t, 2, this.length); + var r = this[t + 1] | this[t] << 8; return 32768 & r ? 4294901760 | r : r } , - u.prototype.readInt32LE = function(e, t) { - return t || K(e, 4, this.length), - this[e] | this[e + 1] << 8 | this[e + 2] << 16 | this[e + 3] << 24 + u.prototype.readInt32LE = function(t, e) { + return e || K(t, 4, this.length), + this[t] | this[t + 1] << 8 | this[t + 2] << 16 | this[t + 3] << 24 } , - u.prototype.readInt32BE = function(e, t) { - return t || K(e, 4, this.length), - this[e] << 24 | this[e + 1] << 16 | this[e + 2] << 8 | this[e + 3] + u.prototype.readInt32BE = function(t, e) { + return e || K(t, 4, this.length), + this[t] << 24 | this[t + 1] << 16 | this[t + 2] << 8 | this[t + 3] } , - u.prototype.readFloatLE = function(e, t) { - return t || K(e, 4, this.length), - i.read(this, e, !0, 23, 4) + u.prototype.readFloatLE = function(t, e) { + return e || K(t, 4, this.length), + i.read(this, t, !0, 23, 4) } , - u.prototype.readFloatBE = function(e, t) { - return t || K(e, 4, this.length), - i.read(this, e, !1, 23, 4) + u.prototype.readFloatBE = function(t, e) { + return e || K(t, 4, this.length), + i.read(this, t, !1, 23, 4) } , - u.prototype.readDoubleLE = function(e, t) { - return t || K(e, 8, this.length), - i.read(this, e, !0, 52, 8) + u.prototype.readDoubleLE = function(t, e) { + return e || K(t, 8, this.length), + i.read(this, t, !0, 52, 8) } , - u.prototype.readDoubleBE = function(e, t) { - return t || K(e, 8, this.length), - i.read(this, e, !1, 52, 8) + u.prototype.readDoubleBE = function(t, e) { + return e || K(t, 8, this.length), + i.read(this, t, !1, 52, 8) } , - u.prototype.writeUIntLE = function(e, t, r, n) { - if (e = +e, - t |= 0, + u.prototype.writeUIntLE = function(t, e, r, n) { + if (t = +t, + e |= 0, r |= 0, !n) { var i = Math.pow(2, 8 * r) - 1; - U(this, e, t, r, i, 0) + L(this, t, e, r, i, 0) } var o = 1 , a = 0; - this[t] = 255 & e; + this[e] = 255 & t; while (++a < r && (o *= 256)) - this[t + a] = e / o & 255; - return t + r + this[e + a] = t / o & 255; + return e + r } , - u.prototype.writeUIntBE = function(e, t, r, n) { - if (e = +e, - t |= 0, + u.prototype.writeUIntBE = function(t, e, r, n) { + if (t = +t, + e |= 0, r |= 0, !n) { var i = Math.pow(2, 8 * r) - 1; - U(this, e, t, r, i, 0) + L(this, t, e, r, i, 0) } var o = r - 1 , a = 1; - this[t + o] = 255 & e; + this[e + o] = 255 & t; while (--o >= 0 && (a *= 256)) - this[t + o] = e / a & 255; - return t + r + this[e + o] = t / a & 255; + return e + r } , - u.prototype.writeUInt8 = function(e, t, r) { - return e = +e, - t |= 0, - r || U(this, e, t, 1, 255, 0), - u.TYPED_ARRAY_SUPPORT || (e = Math.floor(e)), - this[t] = 255 & e, - t + 1 + u.prototype.writeUInt8 = function(t, e, r) { + return t = +t, + e |= 0, + r || L(this, t, e, 1, 255, 0), + u.TYPED_ARRAY_SUPPORT || (t = Math.floor(t)), + this[e] = 255 & t, + e + 1 } , - u.prototype.writeUInt16LE = function(e, t, r) { - return e = +e, - t |= 0, - r || U(this, e, t, 2, 65535, 0), - u.TYPED_ARRAY_SUPPORT ? (this[t] = 255 & e, - this[t + 1] = e >>> 8) : L(this, e, t, !0), - t + 2 + u.prototype.writeUInt16LE = function(t, e, r) { + return t = +t, + e |= 0, + r || L(this, t, e, 2, 65535, 0), + u.TYPED_ARRAY_SUPPORT ? (this[e] = 255 & t, + this[e + 1] = t >>> 8) : U(this, t, e, !0), + e + 2 } , - u.prototype.writeUInt16BE = function(e, t, r) { - return e = +e, - t |= 0, - r || U(this, e, t, 2, 65535, 0), - u.TYPED_ARRAY_SUPPORT ? (this[t] = e >>> 8, - this[t + 1] = 255 & e) : L(this, e, t, !1), - t + 2 + u.prototype.writeUInt16BE = function(t, e, r) { + return t = +t, + e |= 0, + r || L(this, t, e, 2, 65535, 0), + u.TYPED_ARRAY_SUPPORT ? (this[e] = t >>> 8, + this[e + 1] = 255 & t) : U(this, t, e, !1), + e + 2 } , - u.prototype.writeUInt32LE = function(e, t, r) { - return e = +e, - t |= 0, - r || U(this, e, t, 4, 4294967295, 0), - u.TYPED_ARRAY_SUPPORT ? (this[t + 3] = e >>> 24, - this[t + 2] = e >>> 16, - this[t + 1] = e >>> 8, - this[t] = 255 & e) : X(this, e, t, !0), - t + 4 + u.prototype.writeUInt32LE = function(t, e, r) { + return t = +t, + e |= 0, + r || L(this, t, e, 4, 4294967295, 0), + u.TYPED_ARRAY_SUPPORT ? (this[e + 3] = t >>> 24, + this[e + 2] = t >>> 16, + this[e + 1] = t >>> 8, + this[e] = 255 & t) : X(this, t, e, !0), + e + 4 } , - u.prototype.writeUInt32BE = function(e, t, r) { - return e = +e, - t |= 0, - r || U(this, e, t, 4, 4294967295, 0), - u.TYPED_ARRAY_SUPPORT ? (this[t] = e >>> 24, - this[t + 1] = e >>> 16, - this[t + 2] = e >>> 8, - this[t + 3] = 255 & e) : X(this, e, t, !1), - t + 4 + u.prototype.writeUInt32BE = function(t, e, r) { + return t = +t, + e |= 0, + r || L(this, t, e, 4, 4294967295, 0), + u.TYPED_ARRAY_SUPPORT ? (this[e] = t >>> 24, + this[e + 1] = t >>> 16, + this[e + 2] = t >>> 8, + this[e + 3] = 255 & t) : X(this, t, e, !1), + e + 4 } , - u.prototype.writeIntLE = function(e, t, r, n) { - if (e = +e, - t |= 0, + u.prototype.writeIntLE = function(t, e, r, n) { + if (t = +t, + e |= 0, !n) { var i = Math.pow(2, 8 * r - 1); - U(this, e, t, r, i - 1, -i) + L(this, t, e, r, i - 1, -i) } var o = 0 , a = 1 , s = 0; - this[t] = 255 & e; + this[e] = 255 & t; 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 < 0 && 0 === s && 0 !== this[e + o - 1] && (s = 1), + this[e + o] = (t / a >> 0) - s & 255; + return e + r } , - u.prototype.writeIntBE = function(e, t, r, n) { - if (e = +e, - t |= 0, + u.prototype.writeIntBE = function(t, e, r, n) { + if (t = +t, + e |= 0, !n) { var i = Math.pow(2, 8 * r - 1); - U(this, e, t, r, i - 1, -i) + L(this, t, e, r, i - 1, -i) } var o = r - 1 , a = 1 , s = 0; - this[t + o] = 255 & e; + this[e + o] = 255 & t; 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 < 0 && 0 === s && 0 !== this[e + o + 1] && (s = 1), + this[e + o] = (t / a >> 0) - s & 255; + return e + r } , - u.prototype.writeInt8 = function(e, t, r) { - return e = +e, - t |= 0, - r || U(this, e, t, 1, 127, -128), - u.TYPED_ARRAY_SUPPORT || (e = Math.floor(e)), - e < 0 && (e = 255 + e + 1), - this[t] = 255 & e, - t + 1 + u.prototype.writeInt8 = function(t, e, r) { + return t = +t, + e |= 0, + r || L(this, t, e, 1, 127, -128), + u.TYPED_ARRAY_SUPPORT || (t = Math.floor(t)), + t < 0 && (t = 255 + t + 1), + this[e] = 255 & t, + e + 1 } , - u.prototype.writeInt16LE = function(e, t, r) { - return e = +e, - t |= 0, - r || U(this, e, t, 2, 32767, -32768), - u.TYPED_ARRAY_SUPPORT ? (this[t] = 255 & e, - this[t + 1] = e >>> 8) : L(this, e, t, !0), - t + 2 + u.prototype.writeInt16LE = function(t, e, r) { + return t = +t, + e |= 0, + r || L(this, t, e, 2, 32767, -32768), + u.TYPED_ARRAY_SUPPORT ? (this[e] = 255 & t, + this[e + 1] = t >>> 8) : U(this, t, e, !0), + e + 2 } , - u.prototype.writeInt16BE = function(e, t, r) { - return e = +e, - t |= 0, - r || U(this, e, t, 2, 32767, -32768), - u.TYPED_ARRAY_SUPPORT ? (this[t] = e >>> 8, - this[t + 1] = 255 & e) : L(this, e, t, !1), - t + 2 + u.prototype.writeInt16BE = function(t, e, r) { + return t = +t, + e |= 0, + r || L(this, t, e, 2, 32767, -32768), + u.TYPED_ARRAY_SUPPORT ? (this[e] = t >>> 8, + this[e + 1] = 255 & t) : U(this, t, e, !1), + e + 2 } , - u.prototype.writeInt32LE = function(e, t, r) { - return e = +e, - t |= 0, - r || U(this, e, t, 4, 2147483647, -2147483648), - u.TYPED_ARRAY_SUPPORT ? (this[t] = 255 & e, - this[t + 1] = e >>> 8, - this[t + 2] = e >>> 16, - this[t + 3] = e >>> 24) : X(this, e, t, !0), - t + 4 + u.prototype.writeInt32LE = function(t, e, r) { + return t = +t, + e |= 0, + r || L(this, t, e, 4, 2147483647, -2147483648), + u.TYPED_ARRAY_SUPPORT ? (this[e] = 255 & t, + this[e + 1] = t >>> 8, + this[e + 2] = t >>> 16, + this[e + 3] = t >>> 24) : X(this, t, e, !0), + e + 4 } , - u.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), - u.TYPED_ARRAY_SUPPORT ? (this[t] = e >>> 24, - this[t + 1] = e >>> 16, - this[t + 2] = e >>> 8, - this[t + 3] = 255 & e) : X(this, e, t, !1), - t + 4 + u.prototype.writeInt32BE = function(t, e, r) { + return t = +t, + e |= 0, + r || L(this, t, e, 4, 2147483647, -2147483648), + t < 0 && (t = 4294967295 + t + 1), + u.TYPED_ARRAY_SUPPORT ? (this[e] = t >>> 24, + this[e + 1] = t >>> 16, + this[e + 2] = t >>> 8, + this[e + 3] = 255 & t) : X(this, t, e, !1), + e + 4 } , - u.prototype.writeFloatLE = function(e, t, r) { - return G(this, e, t, !0, r) + u.prototype.writeFloatLE = function(t, e, r) { + return G(this, t, e, !0, r) } , - u.prototype.writeFloatBE = function(e, t, r) { - return G(this, e, t, !1, r) + u.prototype.writeFloatBE = function(t, e, r) { + return G(this, t, e, !1, r) } , - u.prototype.writeDoubleLE = function(e, t, r) { - return W(this, e, t, !0, r) + u.prototype.writeDoubleLE = function(t, e, r) { + return W(this, t, e, !0, r) } , - u.prototype.writeDoubleBE = function(e, t, r) { - return W(this, e, t, !1, r) + u.prototype.writeDoubleBE = function(t, e, r) { + return W(this, t, e, !1, r) } , - u.prototype.copy = function(e, t, r, n) { + u.prototype.copy = function(t, e, r, n) { if (r || (r = 0), n || 0 === n || (n = this.length), - t >= e.length && (t = e.length), - t || (t = 0), + e >= t.length && (e = t.length), + e || (e = 0), n > 0 && n < r && (n = r), n === r) return 0; - if (0 === e.length || 0 === this.length) + if (0 === t.length || 0 === this.length) return 0; - if (t < 0) + if (e < 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); + t.length - e < n - r && (n = t.length - e + r); var i, o = n - r; - if (this === e && r < t && t < n) + if (this === t && r < e && e < n) for (i = o - 1; i >= 0; --i) - e[i + t] = this[i + r]; + t[i + e] = this[i + r]; else if (o < 1e3 || !u.TYPED_ARRAY_SUPPORT) for (i = 0; i < o; ++i) - e[i + t] = this[i + r]; + t[i + e] = this[i + r]; else - Uint8Array.prototype.set.call(e, this.subarray(r, r + o), t); + Uint8Array.prototype.set.call(t, this.subarray(r, r + o), e); return o } , - u.prototype.fill = function(e, t, r, n) { - if ("string" === typeof e) { - if ("string" === typeof t ? (n = t, - t = 0, + u.prototype.fill = function(t, e, r, n) { + if ("string" === typeof t) { + if ("string" === typeof e ? (n = e, + e = 0, r = this.length) : "string" === typeof r && (n = r, r = this.length), - 1 === e.length) { - var i = e.charCodeAt(0); - i < 256 && (e = i) + 1 === t.length) { + var i = t.charCodeAt(0); + i < 256 && (t = i) } if (void 0 !== n && "string" !== typeof n) throw new TypeError("encoding must be a string"); if ("string" === typeof n && !u.isEncoding(n)) throw new TypeError("Unknown encoding: " + n) } else - "number" === typeof e && (e &= 255); - if (t < 0 || this.length < t || this.length < r) + "number" === typeof t && (t &= 255); + if (e < 0 || this.length < e || this.length < r) throw new RangeError("Out of range index"); - if (r <= t) + if (r <= e) return this; var o; - if (t >>>= 0, + if (e >>>= 0, r = void 0 === r ? this.length : r >>> 0, - e || (e = 0), - "number" === typeof e) - for (o = t; o < r; ++o) - this[o] = e; + t || (t = 0), + "number" === typeof t) + for (o = e; o < r; ++o) + this[o] = t; else { - var a = u.isBuffer(e) ? e : Q(new u(e,n).toString()) + var a = u.isBuffer(t) ? t : Z(new u(t,n).toString()) , s = a.length; - for (o = 0; o < r - t; ++o) - this[o + t] = a[o % s] + for (o = 0; o < r - e; ++o) + this[o + e] = a[o % s] } return this } ; var q = /[^+\/0-9A-Za-z-_]/g; - function H(e) { - if (e = V(e).replace(q, ""), - e.length < 2) + function V(t) { + if (t = H(t).replace(q, ""), + t.length < 2) return ""; - while (e.length % 4 !== 0) - e += "="; - return e + while (t.length % 4 !== 0) + t += "="; + return t } - function V(e) { - return e.trim ? e.trim() : e.replace(/^\s+|\s+$/g, "") + function H(t) { + return t.trim ? t.trim() : t.replace(/^\s+|\s+$/g, "") } - function Y(e) { - return e < 16 ? "0" + e.toString(16) : e.toString(16) + function Y(t) { + return t < 16 ? "0" + t.toString(16) : t.toString(16) } - function Q(e, t) { + function Z(t, e) { var r; - t = t || 1 / 0; - for (var n = e.length, i = null, o = [], a = 0; a < n; ++a) { - if (r = e.charCodeAt(a), + e = e || 1 / 0; + for (var n = t.length, i = null, o = [], a = 0; a < n; ++a) { + if (r = t.charCodeAt(a), r > 55295 && r < 57344) { if (!i) { if (r > 56319) { - (t -= 3) > -1 && o.push(239, 191, 189); + (e -= 3) > -1 && o.push(239, 191, 189); continue } if (a + 1 === n) { - (t -= 3) > -1 && o.push(239, 191, 189); + (e -= 3) > -1 && o.push(239, 191, 189); continue } i = r; continue } if (r < 56320) { - (t -= 3) > -1 && o.push(239, 191, 189), + (e -= 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); + i && (e -= 3) > -1 && o.push(239, 191, 189); if (i = null, r < 128) { - if ((t -= 1) < 0) + if ((e -= 1) < 0) break; o.push(r) } else if (r < 2048) { - if ((t -= 2) < 0) + if ((e -= 2) < 0) break; o.push(r >> 6 | 192, 63 & r | 128) } else if (r < 65536) { - if ((t -= 3) < 0) + if ((e -= 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) + if ((e -= 4) < 0) break; o.push(r >> 18 | 240, r >> 12 & 63 | 128, r >> 6 & 63 | 128, 63 & r | 128) } } return o } - function Z(e) { - for (var t = [], r = 0; r < e.length; ++r) - t.push(255 & e.charCodeAt(r)); - return t + function Q(t) { + for (var e = [], r = 0; r < t.length; ++r) + e.push(255 & t.charCodeAt(r)); + return e } - function J(e, t) { - for (var r, n, i, o = [], a = 0; a < e.length; ++a) { - if ((t -= 2) < 0) + function J(t, e) { + for (var r, n, i, o = [], a = 0; a < t.length; ++a) { + if ((e -= 2) < 0) break; - r = e.charCodeAt(a), + r = t.charCodeAt(a), n = r >> 8, i = r % 256, o.push(i), @@ -32064,33 +35138,33 @@ } return o } - function $(e) { - return n.toByteArray(H(e)) + function $(t) { + return n.toByteArray(V(t)) } - function ee(e, t, r, n) { + function tt(t, e, r, n) { for (var i = 0; i < n; ++i) { - if (i + r >= t.length || i >= e.length) + if (i + r >= e.length || i >= t.length) break; - t[i + r] = e[i] + e[i + r] = t[i] } return i } - function te(e) { - return e !== e + function et(t) { + return t !== t } } ).call(this, r("c8ba")) }, - b6b7: function(e, t, r) { + b6b7: function(t, e, r) { var n = r("ebb5") , i = r("4840") , o = n.TYPED_ARRAY_CONSTRUCTOR , a = n.aTypedArrayConstructor; - e.exports = function(e) { - return a(i(e, e[o])) + t.exports = function(t) { + return a(i(t, t[o])) } }, - b727: function(e, t, r) { + b727: function(t, e, r) { var n = r("0366") , i = r("e330") , o = r("44ad") @@ -32098,34 +35172,34 @@ , s = r("07fa") , c = r("65f0") , u = i([].push) - , d = function(e) { - var t = 1 == e - , r = 2 == e - , i = 3 == e - , d = 4 == e - , l = 6 == e - , f = 7 == e - , h = 5 == e || l; + , d = function(t) { + var e = 1 == t + , r = 2 == t + , i = 3 == t + , d = 4 == t + , l = 6 == t + , f = 7 == t + , h = 5 == t || l; return function(p, m, b, g) { - for (var y, v, S = a(p), w = o(S), C = n(m, b), A = s(w), _ = 0, I = g || c, E = t ? I(p, A) : r || f ? I(p, 0) : void 0; A > _; _++) - if ((h || _ in w) && (y = w[_], - v = C(y, _, S), - e)) - if (t) - E[_] = v; + for (var y, v, S = a(p), w = o(S), C = n(m, b), _ = s(w), A = 0, I = g || c, E = e ? I(p, _) : r || f ? I(p, 0) : void 0; _ > A; A++) + if ((h || A in w) && (y = w[A], + v = C(y, A, S), + t)) + if (e) + E[A] = v; else if (v) - switch (e) { + switch (t) { case 3: return !0; case 5: return y; case 6: - return _; + return A; case 2: u(E, y) } else - switch (e) { + switch (t) { case 4: return !1; case 7: @@ -32134,7 +35208,7 @@ return l ? -1 : i || d ? d : E } }; - e.exports = { + t.exports = { forEach: d(0), map: d(1), filter: d(2), @@ -32145,24 +35219,24 @@ filterReject: d(7) } }, - b980: function(e, t, r) { + b980: function(t, e, r) { var n = r("d039") , i = r("5c6c"); - e.exports = !n((function() { - var e = Error("a"); - return !("stack"in e) || (Object.defineProperty(e, "stack", i(1, 7)), - 7 !== e.stack) + t.exports = !n((function() { + var t = Error("a"); + return !("stack"in t) || (Object.defineProperty(t, "stack", i(1, 7)), + 7 !== t.stack) } )) }, - bb2f: function(e, t, r) { + bb2f: function(t, e, r) { var n = r("d039"); - e.exports = !n((function() { + t.exports = !n((function() { return Object.isExtensible(Object.preventExtensions({})) } )) }, - bb56: function(e, t, r) { + bb56: function(t, e, r) { "use strict"; var n = r("23e7") , i = r("da84") @@ -32182,15 +35256,15 @@ , y = b("toStringTag") , v = i.Error , S = [].push - , w = function(e, t) { + , w = function(t, e) { var r, n = arguments.length > 2 ? arguments[2] : void 0, i = o(C, this); s ? r = s(new v, i ? a(this) : C) : (r = i ? this : u(C), d(r, y, "Error")), - void 0 !== t && d(r, "message", m(t)), + void 0 !== e && d(r, "message", m(e)), g && d(r, "stack", f(r.stack, 1)), h(r, n); var c = []; - return p(e, S, { + return p(t, S, { that: c }), d(r, "errors", c), @@ -32212,10 +35286,10 @@ AggregateError: w }) }, - bc3a: function(e, t, r) { - e.exports = r("cee4") + bc3a: function(t, e, r) { + t.exports = r("cee4") }, - bf19: function(e, t, r) { + bf19: function(t, e, r) { "use strict"; var n = r("23e7") , i = r("c65b"); @@ -32229,12 +35303,12 @@ } }) }, - bf2c: function(e, t, r) { + bf2c: function(t, e, r) { r("caad"); var n = r("b109"); - e.exports = n("Array", "includes") + t.exports = n("Array", "includes") }, - c04e: function(e, t, r) { + c04e: function(t, e, r) { var n = r("da84") , i = r("c65b") , o = r("861d") @@ -32244,22 +35318,22 @@ , u = r("b622") , d = n.TypeError , l = u("toPrimitive"); - e.exports = function(e, t) { - if (!o(e) || a(e)) - return e; - var r, n = s(e, l); + t.exports = function(t, e) { + if (!o(t) || a(t)) + return t; + var r, n = s(t, l); if (n) { - if (void 0 === t && (t = "default"), - r = i(n, e, t), + if (void 0 === e && (e = "default"), + r = i(n, t, e), !o(r) || a(r)) return r; throw d("Can't convert object to primitive value") } - return void 0 === t && (t = "number"), - c(e, t) + return void 0 === e && (e = "number"), + c(t, e) } }, - c1f9: function(e, t, r) { + c1f9: function(t, e, r) { var n = r("23e7") , i = r("2266") , o = r("8418"); @@ -32267,62 +35341,62 @@ target: "Object", stat: !0 }, { - fromEntries: function(e) { - var t = {}; - return i(e, (function(e, r) { - o(t, e, r) + fromEntries: function(t) { + var e = {}; + return i(t, (function(t, r) { + o(e, t, r) } ), { AS_ENTRIES: !0 }), - t + e } }) }, - c345: function(e, t, r) { + c345: function(t, e, r) { "use strict"; var n = r("c532") , i = ["age", "authorization", "content-length", "content-type", "etag", "expires", "from", "host", "if-modified-since", "if-unmodified-since", "last-modified", "location", "max-forwards", "proxy-authorization", "referer", "retry-after", "user-agent"]; - e.exports = function(e) { - var t, r, o, a = {}; - return e ? (n.forEach(e.split("\n"), (function(e) { - if (o = e.indexOf(":"), - t = n.trim(e.substr(0, o)).toLowerCase(), - r = n.trim(e.substr(o + 1)), - t) { - if (a[t] && i.indexOf(t) >= 0) + t.exports = function(t) { + var e, r, o, a = {}; + return t ? (n.forEach(t.split("\n"), (function(t) { + if (o = t.indexOf(":"), + e = n.trim(t.substr(0, o)).toLowerCase(), + r = n.trim(t.substr(o + 1)), + e) { + if (a[e] && i.indexOf(e) >= 0) return; - a[t] = "set-cookie" === t ? (a[t] ? a[t] : []).concat([r]) : a[t] ? a[t] + ", " + r : r + a[e] = "set-cookie" === e ? (a[e] ? a[e] : []).concat([r]) : a[e] ? a[e] + ", " + r : r } } )), a) : a } }, - c401: function(e, t, r) { + c401: function(t, e, r) { "use strict"; var n = r("c532"); - e.exports = function(e, t, r) { + t.exports = function(t, e, r) { return n.forEach(r, (function(r) { - e = r(e, t) + t = r(t, e) } )), - e + t } }, - c430: function(e, t) { - e.exports = !1 + c430: function(t, e) { + t.exports = !1 }, - c4e3: function(e, t, r) { - (function(t, r, n) { + c4e3: function(t, e, r) { + (function(e, r, n) { var i; - !function(t) { - e.exports = t() + !function(e) { + t.exports = e() }((function() { - return function e(t, r, n) { + return function t(e, r, n) { function o(s, c) { if (!r[s]) { - if (!t[s]) { + if (!e[s]) { var u = "function" == typeof i && i; if (!c && u) return i(s, !0); @@ -32335,11 +35409,11 @@ var l = r[s] = { exports: {} }; - t[s][0].call(l.exports, (function(e) { - var r = t[s][1][e]; - return o(r || e) + e[s][0].call(l.exports, (function(t) { + var r = e[s][1][t]; + return o(r || t) } - ), l, l.exports, e, t, r, n) + ), l, l.exports, t, e, r, n) } return r[s].exports } @@ -32347,41 +35421,41 @@ o(n[s]); return o }({ - 1: [function(e, t, r) { + 1: [function(t, e, r) { "use strict"; - var n = e("./utils") - , i = e("./support") + var n = t("./utils") + , i = t("./support") , o = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="; - r.encode = function(e) { - for (var t, r, i, a, s, c, u, d = [], l = 0, f = e.length, h = f, p = "string" !== n.getTypeOf(e); l < e.length; ) + r.encode = function(t) { + for (var e, r, i, a, s, c, u, d = [], l = 0, f = t.length, h = f, p = "string" !== n.getTypeOf(t); l < t.length; ) h = f - l, - i = p ? (t = e[l++], - r = l < f ? e[l++] : 0, - l < f ? e[l++] : 0) : (t = e.charCodeAt(l++), - r = l < f ? e.charCodeAt(l++) : 0, - l < f ? e.charCodeAt(l++) : 0), - a = t >> 2, - s = (3 & t) << 4 | r >> 4, + i = p ? (e = t[l++], + r = l < f ? t[l++] : 0, + l < f ? t[l++] : 0) : (e = t.charCodeAt(l++), + r = l < f ? t.charCodeAt(l++) : 0, + l < f ? t.charCodeAt(l++) : 0), + a = e >> 2, + s = (3 & e) << 4 | r >> 4, c = 1 < h ? (15 & r) << 2 | i >> 6 : 64, u = 2 < h ? 63 & i : 64, d.push(o.charAt(a) + o.charAt(s) + o.charAt(c) + o.charAt(u)); return d.join("") } , - r.decode = function(e) { - var t, r, n, a, s, c, u = 0, d = 0, l = "data:"; - if (e.substr(0, l.length) === l) + r.decode = function(t) { + var e, r, n, a, s, c, u = 0, d = 0, l = "data:"; + if (t.substr(0, l.length) === l) throw new Error("Invalid base64 input, it looks like a data url."); - var f, h = 3 * (e = e.replace(/[^A-Za-z0-9\+\/\=]/g, "")).length / 4; - if (e.charAt(e.length - 1) === o.charAt(64) && h--, - e.charAt(e.length - 2) === o.charAt(64) && h--, + var f, h = 3 * (t = t.replace(/[^A-Za-z0-9\+\/\=]/g, "")).length / 4; + if (t.charAt(t.length - 1) === o.charAt(64) && h--, + t.charAt(t.length - 2) === o.charAt(64) && h--, h % 1 != 0) throw new Error("Invalid base64 input, bad content length."); - for (f = i.uint8array ? new Uint8Array(0 | h) : new Array(0 | h); u < e.length; ) - t = o.indexOf(e.charAt(u++)) << 2 | (a = o.indexOf(e.charAt(u++))) >> 4, - r = (15 & a) << 4 | (s = o.indexOf(e.charAt(u++))) >> 2, - n = (3 & s) << 6 | (c = o.indexOf(e.charAt(u++))), - f[d++] = t, + for (f = i.uint8array ? new Uint8Array(0 | h) : new Array(0 | h); u < t.length; ) + e = o.indexOf(t.charAt(u++)) << 2 | (a = o.indexOf(t.charAt(u++))) >> 4, + r = (15 & a) << 4 | (s = o.indexOf(t.charAt(u++))) >> 2, + n = (3 & s) << 6 | (c = o.indexOf(t.charAt(u++))), + f[d++] = e, 64 !== s && (f[d++] = r), 64 !== c && (f[d++] = n); return f @@ -32391,39 +35465,39 @@ "./support": 30, "./utils": 32 }], - 2: [function(e, t, r) { + 2: [function(t, e, 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, + var n = t("./external") + , i = t("./stream/DataWorker") + , o = t("./stream/Crc32Probe") + , a = t("./stream/DataLengthProbe"); + function s(t, e, r, n, i) { + this.compressedSize = t, + this.uncompressedSize = e, 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) + var t = new i(n.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new a("data_length")) + , e = this; + return t.on("end", (function() { + if (this.streamInfo.data_length !== e.uncompressedSize) throw new Error("Bug : uncompressed data size mismatch") } )), - e + t }, 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) + s.createWorkerFrom = function(t, e, r) { + return t.pipe(new o).pipe(new a("uncompressedSize")).pipe(e.compressWorker(r)).pipe(new a("compressedSize")).withStreamInfo("compression", e) } , - t.exports = s + e.exports = s } , { "./external": 6, @@ -32431,58 +35505,58 @@ "./stream/DataLengthProbe": 26, "./stream/DataWorker": 27 }], - 3: [function(e, t, r) { + 3: [function(t, e, r) { "use strict"; - var n = e("./stream/GenericWorker"); + var n = t("./stream/GenericWorker"); r.STORE = { magic: "\0\0", - compressWorker: function(e) { + compressWorker: function(t) { return new n("STORE compression") }, uncompressWorker: function() { return new n("STORE decompression") } }, - r.DEFLATE = e("./flate") + r.DEFLATE = t("./flate") } , { "./flate": 7, "./stream/GenericWorker": 28 }], - 4: [function(e, t, r) { + 4: [function(t, e, r) { "use strict"; - var n = e("./utils") + var n = t("./utils") , i = function() { - for (var e, t = [], r = 0; r < 256; r++) { - e = r; + for (var t, e = [], r = 0; r < 256; r++) { + t = r; for (var n = 0; n < 8; n++) - e = 1 & e ? 3988292384 ^ e >>> 1 : e >>> 1; - t[r] = e + t = 1 & t ? 3988292384 ^ t >>> 1 : t >>> 1; + e[r] = t } - return t + return e }(); - t.exports = function(e, t) { - return void 0 !== e && e.length ? "string" !== n.getTypeOf(e) ? function(e, t, r, n) { + e.exports = function(t, e) { + return void 0 !== t && t.length ? "string" !== n.getTypeOf(t) ? function(t, e, r, n) { var o = i , a = n + r; - e ^= -1; + t ^= -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) { + t = t >>> 8 ^ o[255 & (t ^ e[s])]; + return -1 ^ t + }(0 | e, t, t.length, 0) : function(t, e, r, n) { var o = i , a = n + r; - e ^= -1; + t ^= -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 + t = t >>> 8 ^ o[255 & (t ^ e.charCodeAt(s))]; + return -1 ^ t + }(0 | e, t, t.length, 0) : 0 } } , { "./utils": 32 }], - 5: [function(e, t, r) { + 5: [function(t, e, r) { "use strict"; r.base64 = !1, r.binary = !1, @@ -32496,37 +35570,37 @@ r.dosPermissions = null } , {}], - 6: [function(e, t, r) { + 6: [function(t, e, r) { "use strict"; var n = null; - n = "undefined" != typeof Promise ? Promise : e("lie"), - t.exports = { + n = "undefined" != typeof Promise ? Promise : t("lie"), + e.exports = { Promise: n } } , { lie: 37 }], - 7: [function(e, t, r) { + 7: [function(t, e, r) { "use strict"; var n = "undefined" != typeof Uint8Array && "undefined" != typeof Uint16Array && "undefined" != typeof Uint32Array - , i = e("pako") - , o = e("./utils") - , a = e("./stream/GenericWorker") + , i = t("pako") + , o = t("./utils") + , a = t("./stream/GenericWorker") , s = n ? "uint8array" : "array"; - function c(e, t) { - a.call(this, "FlateWorker/" + e), + function c(t, e) { + a.call(this, "FlateWorker/" + t), this._pako = null, - this._pakoAction = e, - this._pakoOptions = t, + this._pakoAction = t, + this._pakoOptions = e, this.meta = {} } r.magic = "\b\0", o.inherits(c, a), - c.prototype.processChunk = function(e) { - this.meta = e.meta, + c.prototype.processChunk = function(t) { + this.meta = t.meta, null === this._pako && this._createPako(), - this._pako.push(o.transformTo(s, e.data), !1) + this._pako.push(o.transformTo(s, t.data), !1) } , c.prototype.flush = function() { @@ -32545,17 +35619,17 @@ raw: !0, level: this._pakoOptions.level || -1 }); - var e = this; - this._pako.onData = function(t) { - e.push({ - data: t, - meta: e.meta + var t = this; + this._pako.onData = function(e) { + t.push({ + data: e, + meta: t.meta }) } } , - r.compressWorker = function(e) { - return new c("Deflate",e) + r.compressWorker = function(t) { + return new c("Deflate",t) } , r.uncompressWorker = function() { @@ -32567,38 +35641,38 @@ "./utils": 32, pako: 38 }], - 8: [function(e, t, r) { + 8: [function(t, e, r) { "use strict"; - function n(e, t) { + function n(t, e) { var r, n = ""; - for (r = 0; r < t; r++) - n += String.fromCharCode(255 & e), - e >>>= 8; + for (r = 0; r < e; r++) + n += String.fromCharCode(255 & t), + t >>>= 8; return n } - function i(e, t, r, i, a, d) { - var l, f, h = e.file, p = e.compression, m = d !== s.utf8encode, b = o.transformTo("string", d(h.name)), g = o.transformTo("string", s.utf8encode(h.name)), y = h.comment, v = o.transformTo("string", d(y)), S = o.transformTo("string", s.utf8encode(y)), w = g.length !== h.name.length, C = S.length !== y.length, A = "", _ = "", I = "", E = h.dir, T = h.date, x = { + function i(t, e, r, i, a, d) { + var l, f, h = t.file, p = t.compression, m = d !== s.utf8encode, b = o.transformTo("string", d(h.name)), g = o.transformTo("string", s.utf8encode(h.name)), y = h.comment, v = o.transformTo("string", d(y)), S = o.transformTo("string", s.utf8encode(y)), w = g.length !== h.name.length, C = S.length !== y.length, _ = "", A = "", I = "", E = h.dir, T = h.date, x = { crc32: 0, compressedSize: 0, uncompressedSize: 0 }; - t && !r || (x.crc32 = e.crc32, - x.compressedSize = e.compressedSize, - x.uncompressedSize = e.uncompressedSize); + e && !r || (x.crc32 = t.crc32, + x.compressedSize = t.compressedSize, + x.uncompressedSize = t.uncompressedSize); var P = 0; - t && (P |= 8), + e && (P |= 8), m || !w && !C || (P |= 2048); var k = 0 , D = 0; E && (k |= 16), "UNIX" === a ? (D = 798, - k |= function(e, t) { - var r = e; - return e || (r = t ? 16893 : 33204), + k |= function(t, e) { + var r = t; + return t || (r = e ? 16893 : 33204), (65535 & r) << 16 }(h.unixPermissions, E)) : (D = 20, - k |= function(e) { - return 63 & (e || 0) + k |= function(t) { + return 63 & (t || 0) }(h.dosPermissions)), l = T.getUTCHours(), l <<= 6, @@ -32610,10 +35684,10 @@ f |= T.getUTCMonth() + 1, f <<= 5, f |= T.getUTCDate(), - w && (_ = n(1, 1) + n(c(b), 4) + g, - A += "up" + n(_.length, 2) + _), + w && (A = n(1, 1) + n(c(b), 4) + g, + _ += "up" + n(A.length, 2) + A), C && (I = n(1, 1) + n(c(v), 4) + S, - A += "uc" + n(I.length, 2) + I); + _ += "uc" + n(I.length, 2) + I); var O = ""; return O += "\n\0", O += n(P, 2), @@ -32624,24 +35698,24 @@ O += n(x.compressedSize, 4), O += n(x.uncompressedSize, 4), O += n(b.length, 2), - O += n(A.length, 2), + O += n(_.length, 2), { - fileRecord: u.LOCAL_FILE_HEADER + O + b + A, - dirRecord: u.CENTRAL_FILE_HEADER + n(D, 2) + O + n(v.length, 2) + "\0\0\0\0" + n(k, 4) + n(i, 4) + b + A + v + fileRecord: u.LOCAL_FILE_HEADER + O + b + _, + dirRecord: u.CENTRAL_FILE_HEADER + n(D, 2) + O + n(v.length, 2) + "\0\0\0\0" + n(k, 4) + n(i, 4) + b + _ + v } } - var o = e("../utils") - , a = e("../stream/GenericWorker") - , s = e("../utf8") - , c = e("../crc32") - , u = e("../signature"); - function d(e, t, r, n) { + var o = t("../utils") + , a = t("../stream/GenericWorker") + , s = t("../utf8") + , c = t("../crc32") + , u = t("../signature"); + function d(t, e, r, n) { a.call(this, "ZipFileWorker"), this.bytesWritten = 0, - this.zipComment = t, + this.zipComment = e, this.zipPlatform = r, this.encodeFileName = n, - this.streamFiles = e, + this.streamFiles = t, this.accumulate = !1, this.contentBuffer = [], this.dirRecords = [], @@ -32651,26 +35725,26 @@ this._sources = [] } o.inherits(d, a), - d.prototype.push = function(e) { - var t = e.meta.percent || 0 + d.prototype.push = function(t) { + var e = t.meta.percent || 0 , r = this.entriesCount , n = this._sources.length; - this.accumulate ? this.contentBuffer.push(e) : (this.bytesWritten += e.data.length, + this.accumulate ? this.contentBuffer.push(t) : (this.bytesWritten += t.data.length, a.prototype.push.call(this, { - data: e.data, + data: t.data, meta: { currentFile: this.currentFile, - percent: r ? (t + 100 * (r - n - 1)) / r : 100 + percent: r ? (e + 100 * (r - n - 1)) / r : 100 } })) } , - d.prototype.openedSource = function(e) { + d.prototype.openedSource = function(t) { 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.currentFile = t.file.name; + var e = this.streamFiles && !t.file.dir; + if (e) { + var r = i(t, e, !1, this.currentSourceOffset, this.zipPlatform, this.encodeFileName); this.push({ data: r.fileRecord, meta: { @@ -32681,16 +35755,16 @@ this.accumulate = !0 } , - d.prototype.closedSource = function(e) { + d.prototype.closedSource = function(t) { this.accumulate = !1; - var t = this.streamFiles && !e.file.dir - , r = i(e, t, !0, this.currentSourceOffset, this.zipPlatform, this.encodeFileName); + var e = this.streamFiles && !t.file.dir + , r = i(t, e, !0, this.currentSourceOffset, this.zipPlatform, this.encodeFileName); if (this.dirRecords.push(r.dirRecord), - t) + e) this.push({ - data: function(e) { - return u.DATA_DESCRIPTOR + n(e.crc32, 4) + n(e.compressedSize, 4) + n(e.uncompressedSize, 4) - }(e), + data: function(t) { + return u.DATA_DESCRIPTOR + n(t.crc32, 4) + n(t.compressedSize, 4) + n(t.uncompressedSize, 4) + }(t), meta: { percent: 100 } @@ -32707,18 +35781,18 @@ } , d.prototype.flush = function() { - for (var e = this.bytesWritten, t = 0; t < this.dirRecords.length; t++) + for (var t = this.bytesWritten, e = 0; e < this.dirRecords.length; e++) this.push({ - data: this.dirRecords[t], + data: this.dirRecords[e], meta: { percent: 100 } }); - var r = this.bytesWritten - e - , i = function(e, t, r, i, a) { + var r = this.bytesWritten - t + , i = function(t, e, r, i, a) { var s = o.transformTo("string", a(i)); - return u.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); + return u.CENTRAL_DIRECTORY_END + "\0\0\0\0" + n(t, 2) + n(t, 2) + n(e, 4) + n(r, 4) + n(s.length, 2) + s + }(this.dirRecords.length, r, t, this.zipComment, this.encodeFileName); this.push({ data: i, meta: { @@ -32733,20 +35807,20 @@ this.isPaused ? this.previous.pause() : this.previous.resume() } , - d.prototype.registerPrevious = function(e) { - this._sources.push(e); - var t = this; - return e.on("data", (function(e) { - t.processChunk(e) + d.prototype.registerPrevious = function(t) { + this._sources.push(t); + var e = this; + return t.on("data", (function(t) { + e.processChunk(t) } )), - e.on("end", (function() { - t.closedSource(t.previous.streamInfo), - t._sources.length ? t.prepareNextSource() : t.end() + t.on("end", (function() { + e.closedSource(e.previous.streamInfo), + e._sources.length ? e.prepareNextSource() : e.end() } )), - e.on("error", (function(e) { - t.error(e) + t.on("error", (function(t) { + e.error(t) } )), this @@ -32758,24 +35832,24 @@ !0)) } , - d.prototype.error = function(e) { - var t = this._sources; - if (!a.prototype.error.call(this, e)) + d.prototype.error = function(t) { + var e = this._sources; + if (!a.prototype.error.call(this, t)) return !1; - for (var r = 0; r < t.length; r++) + for (var r = 0; r < e.length; r++) try { - t[r].error(e) - } catch (e) {} + e[r].error(t) + } catch (t) {} return !0 } , d.prototype.lock = function() { a.prototype.lock.call(this); - for (var e = this._sources, t = 0; t < e.length; t++) - e[t].lock() + for (var t = this._sources, e = 0; e < t.length; e++) + t[e].lock() } , - t.exports = d + e.exports = d } , { "../crc32": 4, @@ -32784,28 +35858,28 @@ "../utf8": 31, "../utils": 32 }], - 9: [function(e, t, r) { + 9: [function(t, e, 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) + var n = t("../compressions") + , i = t("./ZipFileWorker"); + r.generateWorker = function(t, e, r) { + var o = new i(e.streamFiles,r,e.platform,e.encodeFileName) , a = 0; try { - e.forEach((function(e, r) { + t.forEach((function(t, r) { a++; - var i = function(e, t) { - var r = e || t + var i = function(t, e) { + var r = t || e , 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 || {} + }(r.options.compression, e.compression) + , s = r.options.compressionOptions || e.compressionOptions || {} , c = r.dir , u = r.date; r._compressWorker(i, s).withStreamInfo("file", { - name: e, + name: t, dir: c, date: u, comment: r.comment || "", @@ -32815,8 +35889,8 @@ } )), o.entriesCount = a - } catch (e) { - o.error(e) + } catch (t) { + o.error(t) } return o } @@ -32825,7 +35899,7 @@ "../compressions": 3, "./ZipFileWorker": 8 }], - 10: [function(e, t, r) { + 10: [function(t, e, r) { "use strict"; function n() { if (!(this instanceof n)) @@ -32836,22 +35910,22 @@ 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 + var t = new n; + for (var e in this) + "function" != typeof this[e] && (t[e] = this[e]); + return t } } - (n.prototype = e("./object")).loadAsync = e("./load"), - n.support = e("./support"), - n.defaults = e("./defaults"), + (n.prototype = t("./object")).loadAsync = t("./load"), + n.support = t("./support"), + n.defaults = t("./defaults"), n.version = "3.10.0", - n.loadAsync = function(e, t) { - return (new n).loadAsync(e, t) + n.loadAsync = function(t, e) { + return (new n).loadAsync(t, e) } , - n.external = e("./external"), - t.exports = n + n.external = t("./external"), + e.exports = n } , { "./defaults": 5, @@ -32860,51 +35934,51 @@ "./object": 15, "./support": 30 }], - 11: [function(e, t, r) { + 11: [function(t, e, r) { "use strict"; - var n = e("./utils") - , i = e("./external") - , o = e("./utf8") - , a = e("./zipEntries") - , s = e("./stream/Crc32Probe") - , c = e("./nodejsUtils"); - function u(e) { - return new i.Promise((function(t, r) { - var n = e.decompressed.getContentWorker().pipe(new s); - n.on("error", (function(e) { - r(e) + var n = t("./utils") + , i = t("./external") + , o = t("./utf8") + , a = t("./zipEntries") + , s = t("./stream/Crc32Probe") + , c = t("./nodejsUtils"); + function u(t) { + return new i.Promise((function(e, r) { + var n = t.decompressed.getContentWorker().pipe(new s); + n.on("error", (function(t) { + r(t) } )).on("end", (function() { - n.streamInfo.crc32 !== e.decompressed.crc32 ? r(new Error("Corrupted zip : CRC32 mismatch")) : t() + n.streamInfo.crc32 !== t.decompressed.crc32 ? r(new Error("Corrupted zip : CRC32 mismatch")) : e() } )).resume() } )) } - t.exports = function(e, t) { + e.exports = function(t, e) { var r = this; - return t = n.extend(t || {}, { + return e = n.extend(e || {}, { base64: !1, checkCRC32: !1, optimizedBinaryString: !1, createFolders: !1, decodeFileName: o.utf8decode }), - c.isNode && c.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), + c.isNode && c.isStream(t) ? i.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")) : n.prepareContent("the loaded zip file", t, !0, e.optimizedBinaryString, e.base64).then((function(t) { + var r = new a(e); + return r.load(t), r } - )).then((function(e) { - var r = [i.Promise.resolve(e)] - , n = e.files; - if (t.checkCRC32) + )).then((function(t) { + var r = [i.Promise.resolve(t)] + , n = t.files; + if (e.checkCRC32) for (var o = 0; o < n.length; o++) r.push(u(n[o])); return i.Promise.all(r) } - )).then((function(e) { - for (var i = e.shift(), o = i.files, a = 0; a < o.length; a++) { + )).then((function(t) { + for (var i = t.shift(), o = i.files, a = 0; a < o.length; a++) { var s = o[a] , c = s.fileNameStr , u = n.resolve(s.fileNameStr); @@ -32916,7 +35990,7 @@ comment: s.fileCommentStr.length ? s.fileCommentStr : null, unixPermissions: s.unixPermissions, dosPermissions: s.dosPermissions, - createFolders: t.createFolders + createFolders: e.createFolders }), s.dir || (r.file(u).unsafeOriginalName = c) } @@ -32934,32 +36008,32 @@ "./utils": 32, "./zipEntries": 33 }], - 12: [function(e, t, r) { + 12: [function(t, e, r) { "use strict"; - var n = e("../utils") - , i = e("../stream/GenericWorker"); - function o(e, t) { - i.call(this, "Nodejs stream input adapter for " + e), + var n = t("../utils") + , i = t("../stream/GenericWorker"); + function o(t, e) { + i.call(this, "Nodejs stream input adapter for " + t), this._upstreamEnded = !1, - this._bindStream(t) + this._bindStream(e) } 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, + o.prototype._bindStream = function(t) { + var e = this; + (this._stream = t).pause(), + t.on("data", (function(t) { + e.push({ + data: t, meta: { percent: 0 } }) } - )).on("error", (function(e) { - t.isPaused ? this.generatedError = e : t.error(e) + )).on("error", (function(t) { + e.isPaused ? this.generatedError = t : e.error(t) } )).on("end", (function() { - t.isPaused ? t._upstreamEnded = !0 : t.end() + e.isPaused ? e._upstreamEnded = !0 : e.end() } )) } @@ -32974,192 +36048,192 @@ !0) } , - t.exports = o + e.exports = o } , { "../stream/GenericWorker": 28, "../utils": 32 }], - 13: [function(e, t, r) { + 13: [function(t, e, r) { "use strict"; - var n = e("readable-stream").Readable; - function i(e, t, r) { - n.call(this, t), - this._helper = e; + var n = t("readable-stream").Readable; + function i(t, e, r) { + n.call(this, e), + this._helper = t; var i = this; - e.on("data", (function(e, t) { - i.push(e) || i._helper.pause(), - r && r(t) + t.on("data", (function(t, e) { + i.push(t) || i._helper.pause(), + r && r(e) } - )).on("error", (function(e) { - i.emit("error", e) + )).on("error", (function(t) { + i.emit("error", t) } )).on("end", (function() { i.push(null) } )) } - e("../utils").inherits(i, n), + t("../utils").inherits(i, n), i.prototype._read = function() { this._helper.resume() } , - t.exports = i + e.exports = i } , { "../utils": 32, "readable-stream": 16 }], - 14: [function(e, r, n) { + 14: [function(t, 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) + isNode: "undefined" != typeof e, + newBufferFrom: function(t, r) { + if (e.from && e.from !== Uint8Array.from) + return e.from(t, r); + if ("number" == typeof t) throw new Error('The "data" argument must not be a number'); - return new t(e,r) + return new e(t,r) }, - allocBuffer: function(e) { - if (t.alloc) - return t.alloc(e); - var r = new t(e); + allocBuffer: function(t) { + if (e.alloc) + return e.alloc(t); + var r = new e(t); return r.fill(0), r }, - isBuffer: function(e) { - return t.isBuffer(e) + isBuffer: function(t) { + return e.isBuffer(t) }, - isStream: function(e) { - return e && "function" == typeof e.on && "function" == typeof e.pause && "function" == typeof e.resume + isStream: function(t) { + return t && "function" == typeof t.on && "function" == typeof t.pause && "function" == typeof t.resume } } } , {}], - 15: [function(e, t, r) { + 15: [function(t, e, r) { "use strict"; - function n(e, t, r) { - var n, i = o.getTypeOf(t), s = o.extend(r || {}, c); + function n(t, e, r) { + var n, i = o.getTypeOf(e), s = o.extend(r || {}, c); 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 = p(e)) && b.call(this, n, !0); + s.dir && (t = m(t)), + s.createFolders && (n = p(t)) && b.call(this, n, !0); var l = "string" === i && !1 === s.binary && !1 === s.base64; r && void 0 !== r.binary || (s.binary = !l), - (t instanceof u && 0 === t.uncompressedSize || s.dir || !t || 0 === t.length) && (s.base64 = !1, + (e instanceof u && 0 === e.uncompressedSize || s.dir || !e || 0 === e.length) && (s.base64 = !1, s.binary = !0, - t = "", + e = "", s.compression = "STORE", i = "string"); var g = null; - g = t instanceof u || t instanceof a ? t : f.isNode && f.isStream(t) ? new h(e,t) : o.prepareContent(e, t, s.binary, s.optimizedBinaryString, s.base64); - var y = new d(e,g,s); - this.files[e] = y + g = e instanceof u || e instanceof a ? e : f.isNode && f.isStream(e) ? new h(t,e) : o.prepareContent(t, e, s.binary, s.optimizedBinaryString, s.base64); + var y = new d(t,g,s); + this.files[t] = y } - var i = e("./utf8") - , o = e("./utils") - , a = e("./stream/GenericWorker") - , s = e("./stream/StreamHelper") - , c = e("./defaults") - , u = e("./compressedObject") - , d = e("./zipObject") - , l = e("./generate") - , f = e("./nodejsUtils") - , h = e("./nodejs/NodejsStreamInputAdapter") - , p = function(e) { - "/" === e.slice(-1) && (e = e.substring(0, e.length - 1)); - var t = e.lastIndexOf("/"); - return 0 < t ? e.substring(0, t) : "" + var i = t("./utf8") + , o = t("./utils") + , a = t("./stream/GenericWorker") + , s = t("./stream/StreamHelper") + , c = t("./defaults") + , u = t("./compressedObject") + , d = t("./zipObject") + , l = t("./generate") + , f = t("./nodejsUtils") + , h = t("./nodejs/NodejsStreamInputAdapter") + , p = function(t) { + "/" === t.slice(-1) && (t = t.substring(0, t.length - 1)); + var e = t.lastIndexOf("/"); + return 0 < e ? t.substring(0, e) : "" } - , m = function(e) { - return "/" !== e.slice(-1) && (e += "/"), - e + , m = function(t) { + return "/" !== t.slice(-1) && (t += "/"), + t } - , b = function(e, t) { - return t = void 0 !== t ? t : c.createFolders, - e = m(e), - this.files[e] || n.call(this, e, null, { + , b = function(t, e) { + return e = void 0 !== e ? e : c.createFolders, + t = m(t), + this.files[t] || n.call(this, t, null, { dir: !0, - createFolders: t + createFolders: e }), - this.files[e] + this.files[t] }; - function g(e) { - return "[object RegExp]" === Object.prototype.toString.call(e) + function g(t) { + return "[object RegExp]" === Object.prototype.toString.call(t) } var y = { 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) + forEach: function(t) { + var e, r, n; + for (e in this.files) + n = this.files[e], + (r = e.slice(this.root.length, e.length)) && e.slice(0, this.root.length) === this.root && t(r, n) }, - filter: function(e) { - var t = []; + filter: function(t) { + var e = []; return this.forEach((function(r, n) { - e(r, n) && t.push(n) + t(r, n) && e.push(n) } )), - t + e }, - file: function(e, t, r) { + file: function(t, e, r) { if (1 !== arguments.length) - return e = this.root + e, - n.call(this, e, t, r), + return t = this.root + t, + n.call(this, t, e, r), this; - if (g(e)) { - var i = e; - return this.filter((function(e, t) { - return !t.dir && i.test(e) + if (g(t)) { + var i = t; + return this.filter((function(t, e) { + return !e.dir && i.test(t) } )) } - var o = this.files[this.root + e]; + var o = this.files[this.root + t]; return o && !o.dir ? o : null }, - folder: function(e) { - if (!e) + folder: function(t) { + if (!t) return this; - if (g(e)) - return this.filter((function(t, r) { - return r.dir && e.test(t) + if (g(t)) + return this.filter((function(e, r) { + return r.dir && t.test(e) } )); - var t = this.root + e - , r = b.call(this, t) + var e = this.root + t + , r = b.call(this, e) , 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]; + remove: function(t) { + t = this.root + t; + var e = this.files[t]; + if (e || ("/" !== t.slice(-1) && (t += "/"), + e = this.files[t]), + e && !e.dir) + delete this.files[t]; else - for (var r = this.filter((function(t, r) { - return r.name.slice(0, e.length) === e + for (var r = this.filter((function(e, r) { + return r.name.slice(0, t.length) === t } )), n = 0; n < r.length; n++) delete this.files[r[n].name]; return this }, - generate: function(e) { + generate: function(t) { throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.") }, - generateInternalStream: function(e) { - var t, r = {}; + generateInternalStream: function(t) { + var e, r = {}; try { - if ((r = o.extend(e || {}, { + if ((r = o.extend(t || {}, { streamFiles: !1, compression: "STORE", compressionOptions: null, @@ -33177,21 +36251,21 @@ "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 = l.generateWorker(this, r, n) - } catch (e) { - (t = new a("error")).error(e) + e = l.generateWorker(this, r, n) + } catch (t) { + (e = new a("error")).error(t) } - return new s(t,r.type || "string",r.mimeType) + return new s(e,r.type || "string",r.mimeType) }, - generateAsync: function(e, t) { - return this.generateInternalStream(e).accumulate(t) + generateAsync: function(t, e) { + return this.generateInternalStream(t).accumulate(e) }, - generateNodeStream: function(e, t) { - return (e = e || {}).type || (e.type = "nodebuffer"), - this.generateInternalStream(e).toNodejsStream(t) + generateNodeStream: function(t, e) { + return (t = t || {}).type || (t.type = "nodebuffer"), + this.generateInternalStream(t).toNodejsStream(e) } }; - t.exports = y + e.exports = y } , { "./compressedObject": 2, @@ -33205,191 +36279,191 @@ "./utils": 32, "./zipObject": 35 }], - 16: [function(e, t, r) { - t.exports = e("stream") + 16: [function(t, e, r) { + e.exports = t("stream") } , { stream: void 0 }], - 17: [function(e, t, r) { + 17: [function(t, e, 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] + var n = t("./DataReader"); + function i(t) { + n.call(this, t); + for (var e = 0; e < this.data.length; e++) + t[e] = 255 & t[e] } - e("../utils").inherits(i, n), - i.prototype.byteAt = function(e) { - return this.data[this.zero + e] + t("../utils").inherits(i, n), + i.prototype.byteAt = function(t) { + return this.data[this.zero + t] } , - 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) + i.prototype.lastIndexOfSignature = function(t) { + for (var e = t.charCodeAt(0), r = t.charCodeAt(1), n = t.charCodeAt(2), i = t.charCodeAt(3), o = this.length - 4; 0 <= o; --o) + if (this.data[o] === e && 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) + i.prototype.readAndCheckSignature = function(t) { + var e = t.charCodeAt(0) + , r = t.charCodeAt(1) + , n = t.charCodeAt(2) + , i = t.charCodeAt(3) , o = this.readData(4); - return t === o[0] && r === o[1] && n === o[2] && i === o[3] + return e === o[0] && r === o[1] && n === o[2] && i === o[3] } , - i.prototype.readData = function(e) { - if (this.checkOffset(e), - 0 === e) + i.prototype.readData = function(t) { + if (this.checkOffset(t), + 0 === t) return []; - var t = this.data.slice(this.zero + this.index, this.zero + this.index + e); - return this.index += e, - t + var e = this.data.slice(this.zero + this.index, this.zero + this.index + t); + return this.index += t, + e } , - t.exports = i + e.exports = i } , { "../utils": 32, "./DataReader": 18 }], - 18: [function(e, t, r) { + 18: [function(t, e, r) { "use strict"; - var n = e("../utils"); - function i(e) { - this.data = e, - this.length = e.length, + var n = t("../utils"); + function i(t) { + this.data = t, + this.length = t.length, this.index = 0, this.zero = 0 } i.prototype = { - checkOffset: function(e) { - this.checkIndex(this.index + e) + checkOffset: function(t) { + this.checkIndex(this.index + t) }, - 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 ?") + checkIndex: function(t) { + if (this.length < this.zero + t || t < 0) + throw new Error("End of data reached (data length = " + this.length + ", asked index = " + t + "). Corrupted zip ?") }, - setIndex: function(e) { - this.checkIndex(e), - this.index = e + setIndex: function(t) { + this.checkIndex(t), + this.index = t }, - skip: function(e) { - this.setIndex(this.index + e) + skip: function(t) { + this.setIndex(this.index + t) }, - byteAt: function(e) {}, - 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, + byteAt: function(t) {}, + readInt: function(t) { + var e, r = 0; + for (this.checkOffset(t), + e = this.index + t - 1; e >= this.index; e--) + r = (r << 8) + this.byteAt(e); + return this.index += t, r }, - readString: function(e) { - return n.transformTo("string", this.readData(e)) + readString: function(t) { + return n.transformTo("string", this.readData(t)) }, - readData: function(e) {}, - lastIndexOfSignature: function(e) {}, - readAndCheckSignature: function(e) {}, + readData: function(t) {}, + lastIndexOfSignature: function(t) {}, + readAndCheckSignature: function(t) {}, 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)) + var t = this.readInt(4); + return new Date(Date.UTC(1980 + (t >> 25 & 127), (t >> 21 & 15) - 1, t >> 16 & 31, t >> 11 & 31, t >> 5 & 63, (31 & t) << 1)) } }, - t.exports = i + e.exports = i } , { "../utils": 32 }], - 19: [function(e, t, r) { + 19: [function(t, e, r) { "use strict"; - var n = e("./Uint8ArrayReader"); - function i(e) { - n.call(this, e) + var n = t("./Uint8ArrayReader"); + function i(t) { + n.call(this, t) } - 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("../utils").inherits(i, n), + i.prototype.readData = function(t) { + this.checkOffset(t); + var e = this.data.slice(this.zero + this.index, this.zero + this.index + t); + return this.index += t, + e } , - t.exports = i + e.exports = i } , { "../utils": 32, "./Uint8ArrayReader": 21 }], - 20: [function(e, t, r) { + 20: [function(t, e, r) { "use strict"; - var n = e("./DataReader"); - function i(e) { - n.call(this, e) + var n = t("./DataReader"); + function i(t) { + n.call(this, t) } - e("../utils").inherits(i, n), - i.prototype.byteAt = function(e) { - return this.data.charCodeAt(this.zero + e) + t("../utils").inherits(i, n), + i.prototype.byteAt = function(t) { + return this.data.charCodeAt(this.zero + t) } , - i.prototype.lastIndexOfSignature = function(e) { - return this.data.lastIndexOf(e) - this.zero + i.prototype.lastIndexOfSignature = function(t) { + return this.data.lastIndexOf(t) - this.zero } , - i.prototype.readAndCheckSignature = function(e) { - return e === this.readData(4) + i.prototype.readAndCheckSignature = function(t) { + return t === 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 + i.prototype.readData = function(t) { + this.checkOffset(t); + var e = this.data.slice(this.zero + this.index, this.zero + this.index + t); + return this.index += t, + e } , - t.exports = i + e.exports = i } , { "../utils": 32, "./DataReader": 18 }], - 21: [function(e, t, r) { + 21: [function(t, e, r) { "use strict"; - var n = e("./ArrayReader"); - function i(e) { - n.call(this, e) + var n = t("./ArrayReader"); + function i(t) { + n.call(this, t) } - e("../utils").inherits(i, n), - i.prototype.readData = function(e) { - if (this.checkOffset(e), - 0 === e) + t("../utils").inherits(i, n), + i.prototype.readData = function(t) { + if (this.checkOffset(t), + 0 === t) return new Uint8Array(0); - var t = this.data.subarray(this.zero + this.index, this.zero + this.index + e); - return this.index += e, - t + var e = this.data.subarray(this.zero + this.index, this.zero + this.index + t); + return this.index += t, + e } , - t.exports = i + e.exports = i } , { "../utils": 32, "./ArrayReader": 17 }], - 22: [function(e, t, r) { + 22: [function(t, e, r) { "use strict"; - var n = e("../utils") - , i = e("../support") - , o = e("./ArrayReader") - , a = e("./StringReader") - , s = e("./NodeBufferReader") - , c = 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 c(n.transformTo("uint8array", e)) : new o(n.transformTo("array", e)) : new a(e) + var n = t("../utils") + , i = t("../support") + , o = t("./ArrayReader") + , a = t("./StringReader") + , s = t("./NodeBufferReader") + , c = t("./Uint8ArrayReader"); + e.exports = function(t) { + var e = n.getTypeOf(t); + return n.checkSupport(e), + "string" !== e || i.uint8array ? "nodebuffer" === e ? new s(t) : i.uint8array ? new c(n.transformTo("uint8array", t)) : new o(n.transformTo("array", t)) : new a(t) } } , { @@ -33400,7 +36474,7 @@ "./StringReader": 20, "./Uint8ArrayReader": 21 }], - 23: [function(e, t, r) { + 23: [function(t, e, r) { "use strict"; r.LOCAL_FILE_HEADER = "PK", r.CENTRAL_FILE_HEADER = "PK", @@ -33410,95 +36484,95 @@ r.DATA_DESCRIPTOR = "PK\b" } , {}], - 24: [function(e, t, r) { + 24: [function(t, e, r) { "use strict"; - var n = e("./GenericWorker") - , i = e("../utils"); - function o(e) { - n.call(this, "ConvertWorker to " + e), - this.destType = e + var n = t("./GenericWorker") + , i = t("../utils"); + function o(t) { + n.call(this, "ConvertWorker to " + t), + this.destType = t } i.inherits(o, n), - o.prototype.processChunk = function(e) { + o.prototype.processChunk = function(t) { this.push({ - data: i.transformTo(this.destType, e.data), - meta: e.meta + data: i.transformTo(this.destType, t.data), + meta: t.meta }) } , - t.exports = o + e.exports = o } , { "../utils": 32, "./GenericWorker": 28 }], - 25: [function(e, t, r) { + 25: [function(t, e, r) { "use strict"; - var n = e("./GenericWorker") - , i = e("../crc32"); + var n = t("./GenericWorker") + , i = t("../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("../utils").inherits(o, n), + o.prototype.processChunk = function(t) { + this.streamInfo.crc32 = i(t.data, this.streamInfo.crc32 || 0), + this.push(t) } , - t.exports = o + e.exports = o } , { "../crc32": 4, "../utils": 32, "./GenericWorker": 28 }], - 26: [function(e, t, r) { + 26: [function(t, e, 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) + var n = t("../utils") + , i = t("./GenericWorker"); + function o(t) { + i.call(this, "DataLengthProbe for " + t), + this.propName = t, + this.withStreamInfo(t, 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 + o.prototype.processChunk = function(t) { + if (t) { + var e = this.streamInfo[this.propName] || 0; + this.streamInfo[this.propName] = e + t.data.length } - i.prototype.processChunk.call(this, e) + i.prototype.processChunk.call(this, t) } , - t.exports = o + e.exports = o } , { "../utils": 32, "./GenericWorker": 28 }], - 27: [function(e, t, r) { + 27: [function(t, e, r) { "use strict"; - var n = e("../utils") - , i = e("./GenericWorker"); - function o(e) { + var n = t("../utils") + , i = t("./GenericWorker"); + function o(t) { i.call(this, "DataWorker"); - var t = this; + var e = 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() + t.then((function(t) { + e.dataIsReady = !0, + e.data = t, + e.max = t && t.length || 0, + e.type = n.getTypeOf(t), + e.isPaused || e._tickAndRepeat() } - ), (function(e) { - t.error(e) + ), (function(t) { + e.error(t) } )) } @@ -33524,40 +36598,40 @@ o.prototype._tick = function() { if (this.isPaused || this.isFinished) return !1; - var e = null - , t = Math.min(this.max, this.index + 16384); + var t = null + , e = 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); + t = this.data.substring(this.index, e); break; case "uint8array": - e = this.data.subarray(this.index, t); + t = this.data.subarray(this.index, e); break; case "array": case "nodebuffer": - e = this.data.slice(this.index, t) + t = this.data.slice(this.index, e) } - return this.index = t, + return this.index = e, this.push({ - data: e, + data: t, meta: { percent: this.max ? this.index / this.max * 100 : 0 } }) } , - t.exports = o + e.exports = o } , { "../utils": 32, "./GenericWorker": 28 }], - 28: [function(e, t, r) { + 28: [function(t, e, r) { "use strict"; - function n(e) { - this.name = e || "default", + function n(t) { + this.name = t || "default", this.streamInfo = {}, this.generatedError = null, this.extraStreamInfo = {}, @@ -33572,8 +36646,8 @@ this.previous = null } n.prototype = { - push: function(e) { - this.emit("data", e) + push: function(t) { + this.emit("data", t) }, end: function() { if (this.isFinished) @@ -33583,51 +36657,51 @@ this.emit("end"), this.cleanUp(), this.isFinished = !0 - } catch (e) { - this.emit("error", e) + } catch (t) { + this.emit("error", t) } 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), + error: function(t) { + return !this.isFinished && (this.isPaused ? this.generatedError = t : (this.isFinished = !0, + this.emit("error", t), + this.previous && this.previous.error(t), this.cleanUp()), !0) }, - on: function(e, t) { - return this._listeners[e].push(t), + on: function(t, e) { + return this._listeners[t].push(e), 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) + emit: function(t, e) { + if (this._listeners[t]) + for (var r = 0; r < this._listeners[t].length; r++) + this._listeners[t][r].call(this, e) }, - pipe: function(e) { - return e.registerPrevious(this) + pipe: function(t) { + return t.registerPrevious(this) }, - registerPrevious: function(e) { + registerPrevious: function(t) { if (this.isLocked) throw new Error("The stream '" + this + "' has already been used."); - this.streamInfo = e.streamInfo, + this.streamInfo = t.streamInfo, this.mergeStreamInfo(), - this.previous = e; - var t = this; - return e.on("data", (function(e) { - t.processChunk(e) + this.previous = t; + var e = this; + return t.on("data", (function(t) { + e.processChunk(t) } )), - e.on("end", (function() { - t.end() + t.on("end", (function() { + e.end() } )), - e.on("error", (function(e) { - t.error(e) + t.on("error", (function(t) { + e.error(t) } )), this @@ -33640,24 +36714,24 @@ resume: function() { if (!this.isPaused || this.isFinished) return !1; - var e = this.isPaused = !1; + var t = this.isPaused = !1; return this.generatedError && (this.error(this.generatedError), - e = !0), + t = !0), this.previous && this.previous.resume(), - !e + !t }, flush: function() {}, - processChunk: function(e) { - this.push(e) + processChunk: function(t) { + this.push(t) }, - withStreamInfo: function(e, t) { - return this.extraStreamInfo[e] = t, + withStreamInfo: function(t, e) { + return this.extraStreamInfo[t] = e, this.mergeStreamInfo(), this }, mergeStreamInfo: function() { - for (var e in this.extraStreamInfo) - this.extraStreamInfo.hasOwnProperty(e) && (this.streamInfo[e] = this.extraStreamInfo[e]) + for (var t in this.extraStreamInfo) + this.extraStreamInfo.hasOwnProperty(t) && (this.streamInfo[t] = this.extraStreamInfo[t]) }, lock: function() { if (this.isLocked) @@ -33666,56 +36740,56 @@ this.previous && this.previous.lock() }, toString: function() { - var e = "Worker " + this.name; - return this.previous ? this.previous + " -> " + e : e + var t = "Worker " + this.name; + return this.previous ? this.previous + " -> " + t : t } }, - t.exports = n + e.exports = n } , {}], - 29: [function(e, r, n) { + 29: [function(t, r, n) { "use strict"; - var i = e("../utils") - , o = e("./ConvertWorker") - , a = e("./GenericWorker") - , s = e("../base64") - , c = e("../support") - , u = e("../external") + var i = t("../utils") + , o = t("./ConvertWorker") + , a = t("./GenericWorker") + , s = t("../base64") + , c = t("../support") + , u = t("../external") , d = null; if (c.nodestream) try { - d = e("../nodejs/NodejsStreamOutputAdapter") - } catch (e) {} - function l(e, r) { + d = t("../nodejs/NodejsStreamOutputAdapter") + } catch (t) {} + function l(t, r) { return new u.Promise((function(n, o) { var a = [] - , c = e._internalType - , u = e._outputType - , d = e._mimeType; - e.on("data", (function(e, t) { - a.push(e), - r && r(t) + , c = t._internalType + , u = t._outputType + , d = t._mimeType; + t.on("data", (function(t, e) { + a.push(t), + r && r(e) } - )).on("error", (function(e) { + )).on("error", (function(t) { a = [], - o(e) + o(t) } )).on("end", (function() { try { - var e = function(e, t, r) { - switch (e) { + var t = function(t, e, r) { + switch (t) { case "blob": - return i.newBlob(i.transformTo("arraybuffer", t), r); + return i.newBlob(i.transformTo("arraybuffer", e), r); case "base64": - return s.encode(t); + return s.encode(e); default: - return i.transformTo(e, t) + return i.transformTo(t, e) } - }(u, function(e, r) { + }(u, function(t, r) { var n, i = 0, o = null, a = 0; for (n = 0; n < r.length; n++) a += r[n].length; - switch (e) { + switch (t) { case "string": return r.join(""); case "array": @@ -33727,14 +36801,14 @@ i += r[n].length; return o; case "nodebuffer": - return t.concat(r); + return e.concat(r); default: - throw new Error("concat : unsupported type '" + e + "'") + throw new Error("concat : unsupported type '" + t + "'") } }(c, a), d); - n(e) - } catch (e) { - o(e) + n(t) + } catch (t) { + o(t) } a = [] } @@ -33742,9 +36816,9 @@ } )) } - function f(e, t, r) { - var n = t; - switch (t) { + function f(t, e, r) { + var n = e; + switch (e) { case "blob": case "arraybuffer": n = "uint8array"; @@ -33754,27 +36828,27 @@ } try { this._internalType = n, - this._outputType = t, + this._outputType = e, this._mimeType = r, i.checkSupport(n), - this._worker = e.pipe(new o(n)), - e.lock() - } catch (e) { + this._worker = t.pipe(new o(n)), + t.lock() + } catch (t) { this._worker = new a("error"), - this._worker.error(e) + this._worker.error(t) } } f.prototype = { - accumulate: function(e) { - return l(this, e) + accumulate: function(t) { + return l(this, t) }, - on: function(e, t) { + on: function(t, e) { var r = this; - return "data" === e ? this._worker.on(e, (function(e) { - t.call(r, e.data, e.meta) + return "data" === t ? this._worker.on(t, (function(t) { + e.call(r, t.data, t.meta) } - )) : this._worker.on(e, (function() { - i.delay(t, arguments, r) + )) : this._worker.on(t, (function() { + i.delay(e, arguments, r) } )), this @@ -33787,13 +36861,13 @@ return this._worker.pause(), this }, - toNodejsStream: function(e) { + toNodejsStream: function(t) { if (i.checkSupport("nodestream"), "nodebuffer" !== this._outputType) throw new Error(this._outputType + " is not supported by this method"); return new d(this,{ objectMode: "nodebuffer" !== this._outputType - },e) + },t) } }, r.exports = f @@ -33807,13 +36881,13 @@ "./ConvertWorker": 24, "./GenericWorker": 28 }], - 30: [function(e, r, n) { + 30: [function(t, 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.nodebuffer = "undefined" != typeof e, n.uint8array = "undefined" != typeof Uint8Array, "undefined" == typeof ArrayBuffer) n.blob = !1; @@ -33823,28 +36897,28 @@ n.blob = 0 === new Blob([i],{ type: "application/zip" }).size - } catch (e) { + } catch (t) { 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) { + } catch (t) { n.blob = !1 } } } try { - n.nodestream = !!e("readable-stream").Readable - } catch (e) { + n.nodestream = !!t("readable-stream").Readable + } catch (t) { n.nodestream = !1 } } , { "readable-stream": 16 }], - 31: [function(e, t, r) { + 31: [function(t, e, r) { "use strict"; - for (var n = e("./utils"), i = e("./support"), o = e("./nodejsUtils"), a = e("./stream/GenericWorker"), s = new Array(256), c = 0; c < 256; c++) + for (var n = t("./utils"), i = t("./support"), o = t("./nodejsUtils"), a = t("./stream/GenericWorker"), s = new Array(256), c = 0; c < 256; c++) s[c] = 252 <= c ? 6 : 248 <= c ? 5 : 240 <= c ? 4 : 224 <= c ? 3 : 192 <= c ? 2 : 1; function u() { a.call(this, "utf-8 decode"), @@ -33854,37 +36928,37 @@ 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, c = 0; + r.utf8encode = function(t) { + return i.nodebuffer ? o.newBufferFrom(t, "utf-8") : function(t) { + var e, r, n, o, a, s = t.length, c = 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), + 55296 == (64512 & (r = t.charCodeAt(o))) && o + 1 < s && 56320 == (64512 & (n = t.charCodeAt(o + 1))) && (r = 65536 + (r - 55296 << 10) + (n - 56320), o++), c += r < 128 ? 1 : r < 2048 ? 2 : r < 65536 ? 3 : 4; - for (t = i.uint8array ? new Uint8Array(c) : new Array(c), + for (e = i.uint8array ? new Uint8Array(c) : new Array(c), o = a = 0; a < c; o++) - 55296 == (64512 & (r = e.charCodeAt(o))) && o + 1 < s && 56320 == (64512 & (n = e.charCodeAt(o + 1))) && (r = 65536 + (r - 55296 << 10) + (n - 56320), + 55296 == (64512 & (r = t.charCodeAt(o))) && o + 1 < s && 56320 == (64512 & (n = t.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 < 128 ? e[a++] = r : (r < 2048 ? e[a++] = 192 | r >>> 6 : (r < 65536 ? e[a++] = 224 | r >>> 12 : (e[a++] = 240 | r >>> 18, + e[a++] = 128 | r >>> 12 & 63), + e[a++] = 128 | r >>> 6 & 63), + e[a++] = 128 | 63 & r); + return e + }(t) } , - r.utf8decode = function(e) { - return i.nodebuffer ? n.transformTo("nodebuffer", e).toString("utf-8") : function(e) { - var t, r, i, o, a = e.length, c = new Array(2 * a); - for (t = r = 0; t < a; ) - if ((i = e[t++]) < 128) + r.utf8decode = function(t) { + return i.nodebuffer ? n.transformTo("nodebuffer", t).toString("utf-8") : function(t) { + var e, r, i, o, a = t.length, c = new Array(2 * a); + for (e = r = 0; e < a; ) + if ((i = t[e++]) < 128) c[r++] = i; else if (4 < (o = s[i])) c[r++] = 65533, - t += o - 1; + e += o - 1; else { - for (i &= 2 === o ? 31 : 3 === o ? 15 : 7; 1 < o && t < a; ) - i = i << 6 | 63 & e[t++], + for (i &= 2 === o ? 31 : 3 === o ? 15 : 7; 1 < o && e < a; ) + i = i << 6 | 63 & t[e++], o--; 1 < o ? c[r++] = 65533 : i < 65536 ? c[r++] = i : (i -= 65536, c[r++] = 55296 | i >> 10 & 1023, @@ -33892,35 +36966,35 @@ } return c.length !== r && (c.subarray ? c = c.subarray(0, r) : c.length = r), n.applyFromCharCode(c) - }(e = n.transformTo(i.uint8array ? "uint8array" : "array", e)) + }(t = n.transformTo(i.uint8array ? "uint8array" : "array", t)) } , n.inherits(u, a), - u.prototype.processChunk = function(e) { - var t = n.transformTo(i.uint8array ? "uint8array" : "array", e.data); + u.prototype.processChunk = function(t) { + var e = n.transformTo(i.uint8array ? "uint8array" : "array", t.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) + var o = e; + (e = new Uint8Array(o.length + this.leftOver.length)).set(this.leftOver, 0), + e.set(o, this.leftOver.length) } else - t = this.leftOver.concat(t); + e = this.leftOver.concat(e); this.leftOver = null } - var a = function(e, t) { + var a = function(t, e) { var r; - for ((t = t || e.length) > e.length && (t = e.length), - r = t - 1; 0 <= r && 128 == (192 & e[r]); ) + for ((e = e || t.length) > t.length && (e = t.length), + r = e - 1; 0 <= r && 128 == (192 & t[r]); ) r--; - return r < 0 || 0 === r ? t : r + s[e[r]] > t ? r : t - }(t) - , c = t; - a !== t.length && (i.uint8array ? (c = t.subarray(0, a), - this.leftOver = t.subarray(a, t.length)) : (c = t.slice(0, a), - this.leftOver = t.slice(a, t.length))), + return r < 0 || 0 === r ? e : r + s[t[r]] > e ? r : e + }(e) + , c = e; + a !== e.length && (i.uint8array ? (c = e.subarray(0, a), + this.leftOver = e.subarray(a, e.length)) : (c = e.slice(0, a), + this.leftOver = e.slice(a, e.length))), this.push({ data: r.utf8decode(c), - meta: e.meta + meta: t.meta }) } , @@ -33934,10 +37008,10 @@ , r.Utf8DecodeWorker = u, n.inherits(d, a), - d.prototype.processChunk = function(e) { + d.prototype.processChunk = function(t) { this.push({ - data: r.utf8encode(e.data), - meta: e.meta + data: r.utf8encode(t.data), + meta: t.meta }) } , @@ -33949,240 +37023,240 @@ "./support": 30, "./utils": 32 }], - 32: [function(e, t, r) { + 32: [function(t, e, r) { "use strict"; - var n = e("./support") - , i = e("./base64") - , o = e("./nodejsUtils") - , a = e("./external"); - function s(e) { - return e - } - function c(e, t) { - for (var r = 0; r < e.length; ++r) - t[r] = 255 & e.charCodeAt(r); + var n = t("./support") + , i = t("./base64") + , o = t("./nodejsUtils") + , a = t("./external"); + function s(t) { return t } - e("setimmediate"), - r.newBlob = function(t, n) { + function c(t, e) { + for (var r = 0; r < t.length; ++r) + e[r] = 255 & t.charCodeAt(r); + return e + } + t("setimmediate"), + r.newBlob = function(e, n) { r.checkSupport("blob"); try { - return new Blob([t],{ + return new Blob([e],{ type: n }) - } catch (e) { + } catch (t) { try { var i = new (self.BlobBuilder || self.WebKitBlobBuilder || self.MozBlobBuilder || self.MSBlobBuilder); - return i.append(t), + return i.append(e), i.getBlob(n) - } catch (e) { + } catch (t) { throw new Error("Bug : can't construct the Blob.") } } } ; var u = { - stringifyByChunk: function(e, t, r) { + stringifyByChunk: function(t, e, r) { var n = [] , i = 0 - , o = e.length; + , o = t.length; if (o <= r) - return String.fromCharCode.apply(null, e); + return String.fromCharCode.apply(null, t); 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)))), + "array" === e || "nodebuffer" === e ? n.push(String.fromCharCode.apply(null, t.slice(i, Math.min(i + r, o)))) : n.push(String.fromCharCode.apply(null, t.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 + stringifyByChar: function(t) { + for (var e = "", r = 0; r < t.length; r++) + e += String.fromCharCode(t[r]); + return e }, applyCanBeUsed: { uint8array: function() { try { return n.uint8array && 1 === String.fromCharCode.apply(null, new Uint8Array(1)).length - } catch (e) { + } catch (t) { return !1 } }(), nodebuffer: function() { try { return n.nodebuffer && 1 === String.fromCharCode.apply(null, o.allocBuffer(1)).length - } catch (e) { + } catch (t) { return !1 } }() } }; - function d(e) { - var t = 65536 - , n = r.getTypeOf(e) + function d(t) { + var e = 65536 + , n = r.getTypeOf(t) , i = !0; if ("uint8array" === n ? i = u.applyCanBeUsed.uint8array : "nodebuffer" === n && (i = u.applyCanBeUsed.nodebuffer), i) - for (; 1 < t; ) + for (; 1 < e; ) try { - return u.stringifyByChunk(e, n, t) - } catch (e) { - t = Math.floor(t / 2) + return u.stringifyByChunk(t, n, e) + } catch (t) { + e = Math.floor(e / 2) } - return u.stringifyByChar(e) + return u.stringifyByChar(t) } - function l(e, t) { - for (var r = 0; r < e.length; r++) - t[r] = e[r]; - return t + function l(t, e) { + for (var r = 0; r < t.length; r++) + e[r] = t[r]; + return e } r.applyFromCharCode = d; var f = {}; f.string = { string: s, - array: function(e) { - return c(e, new Array(e.length)) + array: function(t) { + return c(t, new Array(t.length)) }, - arraybuffer: function(e) { - return f.string.uint8array(e).buffer + arraybuffer: function(t) { + return f.string.uint8array(t).buffer }, - uint8array: function(e) { - return c(e, new Uint8Array(e.length)) + uint8array: function(t) { + return c(t, new Uint8Array(t.length)) }, - nodebuffer: function(e) { - return c(e, o.allocBuffer(e.length)) + nodebuffer: function(t) { + return c(t, o.allocBuffer(t.length)) } }, f.array = { string: d, array: s, - arraybuffer: function(e) { - return new Uint8Array(e).buffer + arraybuffer: function(t) { + return new Uint8Array(t).buffer }, - uint8array: function(e) { - return new Uint8Array(e) + uint8array: function(t) { + return new Uint8Array(t) }, - nodebuffer: function(e) { - return o.newBufferFrom(e) + nodebuffer: function(t) { + return o.newBufferFrom(t) } }, f.arraybuffer = { - string: function(e) { - return d(new Uint8Array(e)) + string: function(t) { + return d(new Uint8Array(t)) }, - array: function(e) { - return l(new Uint8Array(e), new Array(e.byteLength)) + array: function(t) { + return l(new Uint8Array(t), new Array(t.byteLength)) }, arraybuffer: s, - uint8array: function(e) { - return new Uint8Array(e) + uint8array: function(t) { + return new Uint8Array(t) }, - nodebuffer: function(e) { - return o.newBufferFrom(new Uint8Array(e)) + nodebuffer: function(t) { + return o.newBufferFrom(new Uint8Array(t)) } }, f.uint8array = { string: d, - array: function(e) { - return l(e, new Array(e.length)) + array: function(t) { + return l(t, new Array(t.length)) }, - arraybuffer: function(e) { - return e.buffer + arraybuffer: function(t) { + return t.buffer }, uint8array: s, - nodebuffer: function(e) { - return o.newBufferFrom(e) + nodebuffer: function(t) { + return o.newBufferFrom(t) } }, f.nodebuffer = { string: d, - array: function(e) { - return l(e, new Array(e.length)) + array: function(t) { + return l(t, new Array(t.length)) }, - arraybuffer: function(e) { - return f.nodebuffer.uint8array(e).buffer + arraybuffer: function(t) { + return f.nodebuffer.uint8array(t).buffer }, - uint8array: function(e) { - return l(e, new Uint8Array(e.length)) + uint8array: function(t) { + return l(t, new Uint8Array(t.length)) }, nodebuffer: s }, - r.transformTo = function(e, t) { - if (t = t || "", - !e) - return t; - r.checkSupport(e); - var n = r.getTypeOf(t); - return f[n][e](t) + r.transformTo = function(t, e) { + if (e = e || "", + !t) + return e; + r.checkSupport(t); + var n = r.getTypeOf(e); + return f[n][t](e) } , - 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)) + r.resolve = function(t) { + for (var e = t.split("/"), r = [], n = 0; n < e.length; n++) { + var i = e[n]; + "." === i || "" === i && 0 !== n && n !== e.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.getTypeOf = function(t) { + return "string" == typeof t ? "string" : "[object Array]" === Object.prototype.toString.call(t) ? "array" : n.nodebuffer && o.isBuffer(t) ? "nodebuffer" : n.uint8array && t instanceof Uint8Array ? "uint8array" : n.arraybuffer && t instanceof ArrayBuffer ? "arraybuffer" : void 0 } , - r.checkSupport = function(e) { - if (!n[e.toLowerCase()]) - throw new Error(e + " is not supported by this platform") + r.checkSupport = function(t) { + if (!n[t.toLowerCase()]) + throw new Error(t + " 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(); + r.pretty = function(t) { + var e, r, n = ""; + for (r = 0; r < (t || "").length; r++) + n += "\\x" + ((e = t.charCodeAt(r)) < 16 ? "0" : "") + e.toString(16).toUpperCase(); return n } , - r.delay = function(e, t, r) { + r.delay = function(t, e, r) { setImmediate((function() { - e.apply(r || null, t || []) + t.apply(r || null, e || []) } )) } , - r.inherits = function(e, t) { + r.inherits = function(t, e) { function r() {} - r.prototype = t.prototype, - e.prototype = new r + r.prototype = e.prototype, + t.prototype = new r } , r.extend = function() { - var e, t, r = {}; - for (e = 0; e < arguments.length; e++) - for (t in arguments[e]) - arguments[e].hasOwnProperty(t) && void 0 === r[t] && (r[t] = arguments[e][t]); + var t, e, r = {}; + for (t = 0; t < arguments.length; t++) + for (e in arguments[t]) + arguments[t].hasOwnProperty(e) && void 0 === r[e] && (r[e] = arguments[t][e]); return r } , - r.prepareContent = function(e, t, o, s, u) { - 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) { + r.prepareContent = function(t, e, o, s, u) { + return a.Promise.resolve(e).then((function(t) { + return n.blob && (t instanceof Blob || -1 !== ["[object File]", "[object Blob]"].indexOf(Object.prototype.toString.call(t))) && "undefined" != typeof FileReader ? new a.Promise((function(e, r) { var n = new FileReader; - n.onload = function(e) { - t(e.target.result) + n.onload = function(t) { + e(t.target.result) } , - n.onerror = function(e) { - r(e.target.error) + n.onerror = function(t) { + r(t.target.error) } , - n.readAsArrayBuffer(e) + n.readAsArrayBuffer(t) } - )) : e + )) : t } - )).then((function(t) { - var d = r.getTypeOf(t); - return d ? ("arraybuffer" === d ? t = r.transformTo("uint8array", t) : "string" === d && (u ? t = i.decode(t) : o && !0 !== s && (t = function(e) { - return c(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) ?")) + )).then((function(e) { + var d = r.getTypeOf(e); + return d ? ("arraybuffer" === d ? e = r.transformTo("uint8array", e) : "string" === d && (u ? e = i.decode(e) : o && !0 !== s && (e = function(t) { + return c(t, n.uint8array ? new Uint8Array(t.length) : new Array(t.length)) + }(e))), + e) : a.Promise.reject(new Error("Can't read the data of '" + t + "'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?")) } )) } @@ -34194,30 +37268,30 @@ "./support": 30, setimmediate: 54 }], - 33: [function(e, t, r) { + 33: [function(t, e, r) { "use strict"; - var n = e("./reader/readerFor") - , i = e("./utils") - , o = e("./signature") - , a = e("./zipEntry") - , s = (e("./utf8"), - e("./support")); - function c(e) { + var n = t("./reader/readerFor") + , i = t("./utils") + , o = t("./signature") + , a = t("./zipEntry") + , s = (t("./utf8"), + t("./support")); + function c(t) { this.files = [], - this.loadOptions = e + this.loadOptions = t } c.prototype = { - checkSignature: function(e) { - if (!this.reader.readAndCheckSignature(e)) { + checkSignature: function(t) { + if (!this.reader.readAndCheckSignature(t)) { 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) + ")") + var e = this.reader.readString(4); + throw new Error("Corrupted zip or bug: unexpected signature (" + i.pretty(e) + ", expected " + i.pretty(t) + ")") } }, - isSignature: function(e, t) { + isSignature: function(t, e) { var r = this.reader.index; - this.reader.setIndex(e); - var n = this.reader.readString(4) === t; + this.reader.setIndex(t); + var n = this.reader.readString(4) === e; return this.reader.setIndex(r), n }, @@ -34229,9 +37303,9 @@ 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); + var t = this.reader.readData(this.zipCommentLength) + , e = s.uint8array ? "uint8array" : "array" + , r = i.transformTo(e, t); this.zipComment = this.loadOptions.decodeFileName(r) }, readBlockZip64EndOfCentral: function() { @@ -34244,13 +37318,13 @@ 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, + for (var t, e, r, n = this.zip64EndOfCentralSize - 44; 0 < n; ) + t = this.reader.readInt(2), + e = this.reader.readInt(4), + r = this.reader.readData(e), + this.zip64ExtensibleData[t] = { + id: t, + length: e, value: r } }, @@ -34262,38 +37336,38 @@ 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), + var t, e; + for (t = 0; t < this.files.length; t++) + e = this.files[t], + this.reader.setIndex(e.localHeaderOffset), this.checkSignature(o.LOCAL_FILE_HEADER), - t.readLocalPart(this.reader), - t.handleUTF8(), - t.processAttributes() + e.readLocalPart(this.reader), + e.handleUTF8(), + e.processAttributes() }, readCentralDir: function() { - var e; + var t; for (this.reader.setIndex(this.centralDirOffset); this.reader.readAndCheckSignature(o.CENTRAL_FILE_HEADER); ) - (e = new a({ + (t = new a({ zip64: this.zip64 },this.loadOptions)).readCentralPart(this.reader), - this.files.push(e); + this.files.push(t); 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) + var t = this.reader.lastIndexOfSignature(o.CENTRAL_DIRECTORY_END); + if (t < 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; + this.reader.setIndex(t); + var e = t; 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) + (t = 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), + if (this.reader.setIndex(t), 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), @@ -34306,23 +37380,23 @@ var r = this.centralDirOffset + this.centralDirSize; this.zip64 && (r += 20, r += 12 + this.zip64EndOfCentralSize); - var n = t - r; + var n = e - r; if (0 < n) - this.isSignature(t, o.CENTRAL_FILE_HEADER) || (this.reader.zero = n); + this.isSignature(e, 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) + prepareReader: function(t) { + this.reader = n(t) }, - load: function(e) { - this.prepareReader(e), + load: function(t) { + this.prepareReader(t), this.readEndOfCentral(), this.readCentralDir(), this.readLocalFiles() } }, - t.exports = c + e.exports = c } , { "./reader/readerFor": 22, @@ -34332,18 +37406,18 @@ "./utils": 32, "./zipEntry": 34 }], - 34: [function(e, t, r) { + 34: [function(t, e, r) { "use strict"; - var n = e("./reader/readerFor") - , i = e("./utils") - , o = e("./compressedObject") - , a = e("./crc32") - , s = e("./utf8") - , c = e("./compressions") - , u = e("./support"); - function d(e, t) { - this.options = e, - this.loadOptions = t + var n = t("./reader/readerFor") + , i = t("./utils") + , o = t("./compressedObject") + , a = t("./crc32") + , s = t("./utf8") + , c = t("./compressions") + , u = t("./support"); + function d(t, e) { + this.options = t, + this.loadOptions = e } d.prototype = { isEncrypted: function() { @@ -34352,118 +37426,118 @@ 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), + readLocalPart: function(t) { + var e, r; + if (t.skip(22), + this.fileNameLength = t.readInt(2), + r = t.readInt(2), + this.fileName = t.readData(this.fileNameLength), + t.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 c) - if (c.hasOwnProperty(t) && c[t].magic === e) - return c[t]; + if (null === (e = function(t) { + for (var e in c) + if (c.hasOwnProperty(e) && c[e].magic === t) + return c[e]; 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)) + this.decompressed = new o(this.compressedSize,this.uncompressedSize,this.crc32,e,t.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), + readCentralPart: function(t) { + this.versionMadeBy = t.readInt(2), + t.skip(2), + this.bitFlag = t.readInt(2), + this.compressionMethod = t.readString(2), + this.date = t.readDate(), + this.crc32 = t.readInt(4), + this.compressedSize = t.readInt(4), + this.uncompressedSize = t.readInt(4); + var e = t.readInt(2); + if (this.extraFieldsLength = t.readInt(2), + this.fileCommentLength = t.readInt(2), + this.diskNumberStart = t.readInt(2), + this.internalFileAttributes = t.readInt(2), + this.externalFileAttributes = t.readInt(4), + this.localHeaderOffset = t.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) + t.skip(e), + this.readExtraFields(t), + this.parseZIP64ExtraField(t), + this.fileComment = t.readData(this.fileCommentLength) }, processAttributes: function() { this.unixPermissions = null, this.dosPermissions = null; - var e = this.versionMadeBy >> 8; + var t = this.versionMadeBy >> 8; this.dir = !!(16 & this.externalFileAttributes), - 0 == e && (this.dosPermissions = 63 & this.externalFileAttributes), - 3 == e && (this.unixPermissions = this.externalFileAttributes >> 16 & 65535), + 0 == t && (this.dosPermissions = 63 & this.externalFileAttributes), + 3 == t && (this.unixPermissions = this.externalFileAttributes >> 16 & 65535), this.dir || "/" !== this.fileNameStr.slice(-1) || (this.dir = !0) }, - parseZIP64ExtraField: function(e) { + parseZIP64ExtraField: function(t) { if (this.extraFields[1]) { - var t = n(this.extraFields[1].value); - this.uncompressedSize === i.MAX_VALUE_32BITS && (this.uncompressedSize = t.readInt(8)), - this.compressedSize === i.MAX_VALUE_32BITS && (this.compressedSize = t.readInt(8)), - this.localHeaderOffset === i.MAX_VALUE_32BITS && (this.localHeaderOffset = t.readInt(8)), - this.diskNumberStart === i.MAX_VALUE_32BITS && (this.diskNumberStart = t.readInt(4)) + 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, + readExtraFields: function(t) { + var e, r, n, i = t.index + this.extraFieldsLength; + for (this.extraFields || (this.extraFields = {}); t.index + 4 < i; ) + e = t.readInt(2), + r = t.readInt(2), + n = t.readData(r), + this.extraFields[e] = { + id: e, length: r, value: n }; - e.setIndex(i) + t.setIndex(i) }, handleUTF8: function() { - var e = u.uint8array ? "uint8array" : "array"; + var t = u.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; + var e = this.findExtraFieldUnicodePath(); + if (null !== e) + this.fileNameStr = e; else { - var r = i.transformTo(e, this.fileName); + var r = i.transformTo(t, 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); + var o = i.transformTo(t, 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)) + var t = this.extraFields[28789]; + if (t) { + var e = n(t.value); + return 1 !== e.readInt(1) || a(this.fileName) !== e.readInt(4) ? null : s.utf8decode(e.readData(t.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)) + var t = this.extraFields[25461]; + if (t) { + var e = n(t.value); + return 1 !== e.readInt(1) || a(this.fileComment) !== e.readInt(4) ? null : s.utf8decode(e.readData(t.length - 5)) } return null } }, - t.exports = d + e.exports = d } , { "./compressedObject": 2, @@ -34474,57 +37548,57 @@ "./utf8": 31, "./utils": 32 }], - 35: [function(e, t, r) { + 35: [function(t, e, r) { "use strict"; - function n(e, t, r) { - this.name = e, + function n(t, e, r) { + this.name = t, this.dir = r.dir, this.date = r.date, this.comment = r.comment, this.unixPermissions = r.unixPermissions, this.dosPermissions = r.dosPermissions, - this._data = t, + this._data = e, 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") - , c = e("./stream/GenericWorker"); + var i = t("./stream/StreamHelper") + , o = t("./stream/DataWorker") + , a = t("./utf8") + , s = t("./compressedObject") + , c = t("./stream/GenericWorker"); n.prototype = { - internalStream: function(e) { - var t = null + internalStream: function(t) { + var e = null , r = "string"; try { - if (!e) + if (!t) throw new Error("No output type specified."); - var n = "string" === (r = e.toLowerCase()) || "text" === r; + var n = "string" === (r = t.toLowerCase()) || "text" === r; "binarystring" !== r && "text" !== r || (r = "string"), - t = this._decompressWorker(); + e = 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 c("error")).error(e) + o && !n && (e = e.pipe(new a.Utf8EncodeWorker)), + !o && n && (e = e.pipe(new a.Utf8DecodeWorker)) + } catch (t) { + (e = new c("error")).error(t) } - return new i(t,r,"") + return new i(e,r,"") }, - async: function(e, t) { - return this.internalStream(e).accumulate(t) + async: function(t, e) { + return this.internalStream(t).accumulate(e) }, - nodeStream: function(e, t) { - return this.internalStream(e || "nodebuffer").toNodejsStream(t) + nodeStream: function(t, e) { + return this.internalStream(t || "nodebuffer").toNodejsStream(e) }, - _compressWorker: function(e, t) { - if (this._data instanceof s && this._data.compression.magic === e.magic) + _compressWorker: function(t, e) { + if (this._data instanceof s && this._data.compression.magic === t.magic) return this._data.getCompressedWorker(); var r = this._decompressWorker(); return this._dataBinary || (r = r.pipe(new a.Utf8EncodeWorker)), - s.createWorkerFrom(r, e, t) + s.createWorkerFrom(r, t, e) }, _decompressWorker: function() { return this._data instanceof s ? this._data.getContentWorker() : this._data instanceof c ? this._data : new o(this._data) @@ -34534,7 +37608,7 @@ throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.") }, l = 0; l < u.length; l++) n.prototype[u[l]] = d; - t.exports = n + e.exports = n } , { "./compressedObject": 2, @@ -34543,38 +37617,38 @@ "./stream/StreamHelper": 29, "./utf8": 31 }], - 36: [function(e, t, n) { - (function(e) { + 36: [function(t, e, n) { + (function(t) { "use strict"; - var r, n, i = e.MutationObserver || e.WebKitMutationObserver; + var r, n, i = t.MutationObserver || t.WebKitMutationObserver; if (i) { var o = 0 , a = new i(d) - , s = e.document.createTextNode(""); + , s = t.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() { + } else if (t.setImmediate || void 0 === t.MessageChannel) + r = "document"in t && "onreadystatechange"in t.document.createElement("script") ? function() { + var e = t.document.createElement("script"); + e.onreadystatechange = function() { d(), - t.onreadystatechange = null, - t.parentNode.removeChild(t), - t = null + e.onreadystatechange = null, + e.parentNode.removeChild(e), + e = null } , - e.document.documentElement.appendChild(t) + t.document.documentElement.appendChild(e) } : function() { setTimeout(d, 0) } ; else { - var c = new e.MessageChannel; + var c = new t.MessageChannel; c.port1.onmessage = d, r = function() { c.port2.postMessage(0) @@ -34582,105 +37656,105 @@ } var u = []; function d() { - var e, t; + var t, e; n = !0; for (var r = u.length; r; ) { - for (t = u, + for (e = u, u = [], - e = -1; ++e < r; ) - t[e](); + t = -1; ++t < r; ) + e[t](); r = u.length } n = !1 } - t.exports = function(e) { - 1 !== u.push(e) || n || r() + e.exports = function(t) { + 1 !== u.push(t) || n || r() } } ).call(this, "undefined" != typeof r ? r : "undefined" != typeof self ? self : "undefined" != typeof window ? window : {}) } , {}], - 37: [function(e, t, r) { + 37: [function(t, e, r) { "use strict"; - var n = e("immediate"); + var n = t("immediate"); function i() {} var o = {} , a = ["REJECTED"] , s = ["FULFILLED"] , c = ["PENDING"]; - function u(e) { - if ("function" != typeof e) + function u(t) { + if ("function" != typeof t) throw new TypeError("resolver must be a function"); this.state = c, this.queue = [], this.outcome = void 0, - e !== i && h(this, e) + t !== i && h(this, t) } - function d(e, t, r) { - this.promise = e, - "function" == typeof t && (this.onFulfilled = t, + function d(t, e, r) { + this.promise = t, + "function" == typeof e && (this.onFulfilled = e, this.callFulfilled = this.otherCallFulfilled), "function" == typeof r && (this.onRejected = r, this.callRejected = this.otherCallRejected) } - function l(e, t, r) { + function l(t, e, r) { n((function() { var n; try { - n = t(r) + n = e(r) } catch (n) { - return o.reject(e, n) + return o.reject(t, n) } - n === e ? o.reject(e, new TypeError("Cannot resolve promise with itself")) : o.resolve(e, n) + n === t ? o.reject(t, new TypeError("Cannot resolve promise with itself")) : o.resolve(t, n) } )) } - function f(e) { - var t = e && e.then; - if (e && ("object" == typeof e || "function" == typeof e) && "function" == typeof t) + function f(t) { + var e = t && t.then; + if (t && ("object" == typeof t || "function" == typeof t) && "function" == typeof e) return function() { - t.apply(e, arguments) + e.apply(t, arguments) } } - function h(e, t) { + function h(t, e) { var r = !1; - function n(t) { + function n(e) { r || (r = !0, - o.reject(e, t)) + o.reject(t, e)) } - function i(t) { + function i(e) { r || (r = !0, - o.resolve(e, t)) + o.resolve(t, e)) } var a = p((function() { - t(i, n) + e(i, n) } )); "error" === a.status && n(a.value) } - function p(e, t) { + function p(t, e) { var r = {}; try { - r.value = e(t), + r.value = t(e), r.status = "success" - } catch (e) { + } catch (t) { r.status = "error", - r.value = e + r.value = t } return r } - (t.exports = u).prototype.finally = function(e) { - if ("function" != typeof e) + (e.exports = u).prototype.finally = function(t) { + if ("function" != typeof t) return this; - var t = this.constructor; + var e = this.constructor; return this.then((function(r) { - return t.resolve(e()).then((function() { + return e.resolve(t()).then((function() { return r } )) } ), (function(r) { - return t.resolve(e()).then((function() { + return e.resolve(t()).then((function() { throw r } )) @@ -34688,109 +37762,109 @@ )) } , - u.prototype.catch = function(e) { - return this.then(null, e) + u.prototype.catch = function(t) { + return this.then(null, t) } , - u.prototype.then = function(e, t) { - if ("function" != typeof e && this.state === s || "function" != typeof t && this.state === a) + u.prototype.then = function(t, e) { + if ("function" != typeof t && this.state === s || "function" != typeof e && this.state === a) return this; var r = new this.constructor(i); - return this.state !== c ? l(r, this.state === s ? e : t, this.outcome) : this.queue.push(new d(r,e,t)), + return this.state !== c ? l(r, this.state === s ? t : e, this.outcome) : this.queue.push(new d(r,t,e)), r } , - d.prototype.callFulfilled = function(e) { - o.resolve(this.promise, e) + d.prototype.callFulfilled = function(t) { + o.resolve(this.promise, t) } , - d.prototype.otherCallFulfilled = function(e) { - l(this.promise, this.onFulfilled, e) + d.prototype.otherCallFulfilled = function(t) { + l(this.promise, this.onFulfilled, t) } , - d.prototype.callRejected = function(e) { - o.reject(this.promise, e) + d.prototype.callRejected = function(t) { + o.reject(this.promise, t) } , - d.prototype.otherCallRejected = function(e) { - l(this.promise, this.onRejected, e) + d.prototype.otherCallRejected = function(t) { + l(this.promise, this.onRejected, t) } , - o.resolve = function(e, t) { - var r = p(f, t); + o.resolve = function(t, e) { + var r = p(f, e); if ("error" === r.status) - return o.reject(e, r.value); + return o.reject(t, r.value); var n = r.value; if (n) - h(e, n); + h(t, n); else { - e.state = s, - e.outcome = t; - for (var i = -1, a = e.queue.length; ++i < a; ) - e.queue[i].callFulfilled(t) + t.state = s, + t.outcome = e; + for (var i = -1, a = t.queue.length; ++i < a; ) + t.queue[i].callFulfilled(e) } - return e + return t } , - 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 + o.reject = function(t, e) { + t.state = a, + t.outcome = e; + for (var r = -1, n = t.queue.length; ++r < n; ) + t.queue[r].callRejected(e); + return t } , - u.resolve = function(e) { - return e instanceof this ? e : o.resolve(new this(i), e) + u.resolve = function(t) { + return t instanceof this ? t : o.resolve(new this(i), t) } , - u.reject = function(e) { - var t = new this(i); - return o.reject(t, e) + u.reject = function(t) { + var e = new this(i); + return o.reject(e, t) } , - u.all = function(e) { - var t = this; - if ("[object Array]" !== Object.prototype.toString.call(e)) + u.all = function(t) { + var e = this; + if ("[object Array]" !== Object.prototype.toString.call(t)) return this.reject(new TypeError("must be an array")); - var r = e.length + var r = t.length , n = !1; if (!r) return this.resolve([]); for (var a = new Array(r), s = 0, c = -1, u = new this(i); ++c < r; ) - d(e[c], c); + d(t[c], c); return u; - function d(e, i) { - t.resolve(e).then((function(e) { - a[i] = e, + function d(t, i) { + e.resolve(t).then((function(t) { + a[i] = t, ++s !== r || n || (n = !0, o.resolve(u, a)) } - ), (function(e) { + ), (function(t) { n || (n = !0, - o.reject(u, e)) + o.reject(u, t)) } )) } } , - u.race = function(e) { - var t = this; - if ("[object Array]" !== Object.prototype.toString.call(e)) + u.race = function(t) { + var e = this; + if ("[object Array]" !== Object.prototype.toString.call(t)) return this.reject(new TypeError("must be an array")); - var r = e.length + var r = t.length , n = !1; if (!r) return this.resolve([]); for (var a, s = -1, c = new this(i); ++s < r; ) - a = e[s], - t.resolve(a).then((function(e) { + a = t[s], + e.resolve(a).then((function(t) { n || (n = !0, - o.resolve(c, e)) + o.resolve(c, t)) } - ), (function(e) { + ), (function(t) { n || (n = !0, - o.reject(c, e)) + o.reject(c, t)) } )); return c @@ -34799,12 +37873,12 @@ , { immediate: 36 }], - 38: [function(e, t, r) { + 38: [function(t, e, 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 + t("./lib/utils/common").assign)(n, t("./lib/deflate"), t("./lib/inflate"), t("./lib/zlib/constants")), + e.exports = n } , { "./lib/deflate": 39, @@ -34812,21 +37886,21 @@ "./lib/utils/common": 41, "./lib/zlib/constants": 44 }], - 39: [function(e, t, r) { + 39: [function(t, e, r) { "use strict"; - var n = e("./zlib/deflate") - , i = e("./utils/common") - , o = e("./utils/strings") - , a = e("./zlib/messages") - , s = e("./zlib/zstream") + var n = t("./zlib/deflate") + , i = t("./utils/common") + , o = t("./utils/strings") + , a = t("./zlib/messages") + , s = t("./zlib/zstream") , c = Object.prototype.toString , u = 0 , d = -1 , l = 0 , f = 8; - function h(e) { + function h(t) { if (!(this instanceof h)) - return new h(e); + return new h(t); this.options = i.assign({ level: d, method: f, @@ -34835,40 +37909,40 @@ memLevel: 8, strategy: l, 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), + }, t || {}); + var e = this.options; + e.raw && 0 < e.windowBits ? e.windowBits = -e.windowBits : e.gzip && 0 < e.windowBits && e.windowBits < 16 && (e.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); + var r = n.deflateInit2(this.strm, e.level, e.method, e.windowBits, e.memLevel, e.strategy); if (r !== u) throw new Error(a[r]); - if (t.header && n.deflateSetHeader(this.strm, t.header), - t.dictionary) { + if (e.header && n.deflateSetHeader(this.strm, e.header), + e.dictionary) { var p; - if (p = "string" == typeof t.dictionary ? o.string2buf(t.dictionary) : "[object ArrayBuffer]" === c.call(t.dictionary) ? new Uint8Array(t.dictionary) : t.dictionary, + if (p = "string" == typeof e.dictionary ? o.string2buf(e.dictionary) : "[object ArrayBuffer]" === c.call(e.dictionary) ? new Uint8Array(e.dictionary) : e.dictionary, (r = n.deflateSetDictionary(this.strm, p)) !== u) throw new Error(a[r]); this._dict_set = !0 } } - function p(e, t) { - var r = new h(t); - if (r.push(e, !0), + function p(t, e) { + var r = new h(e); + if (r.push(t, !0), r.err) throw r.msg || a[r.err]; return r.result } - h.prototype.push = function(e, t) { + h.prototype.push = function(t, e) { var r, a, s = this.strm, d = 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]" === c.call(e) ? s.input = new Uint8Array(e) : s.input = e, + a = e === ~~e ? e : !0 === e ? 4 : 0, + "string" == typeof t ? s.input = o.string2buf(t) : "[object ArrayBuffer]" === c.call(t) ? s.input = new Uint8Array(t) : s.input = t, s.next_in = 0, s.avail_in = s.input.length; do { @@ -34887,27 +37961,27 @@ !(s.avail_out = 0)) } , - h.prototype.onData = function(e) { - this.chunks.push(e) + h.prototype.onData = function(t) { + this.chunks.push(t) } , - h.prototype.onEnd = function(e) { - e === u && ("string" === this.options.to ? this.result = this.chunks.join("") : this.result = i.flattenChunks(this.chunks)), + h.prototype.onEnd = function(t) { + t === u && ("string" === this.options.to ? this.result = this.chunks.join("") : this.result = i.flattenChunks(this.chunks)), this.chunks = [], - this.err = e, + this.err = t, this.msg = this.strm.msg } , r.Deflate = h, r.deflate = p, - r.deflateRaw = function(e, t) { - return (t = t || {}).raw = !0, - p(e, t) + r.deflateRaw = function(t, e) { + return (e = e || {}).raw = !0, + p(t, e) } , - r.gzip = function(e, t) { - return (t = t || {}).gzip = !0, - p(e, t) + r.gzip = function(t, e) { + return (e = e || {}).gzip = !0, + p(t, e) } } , { @@ -34917,54 +37991,54 @@ "./zlib/messages": 51, "./zlib/zstream": 53 }], - 40: [function(e, t, r) { + 40: [function(t, e, r) { "use strict"; - var n = e("./zlib/inflate") - , i = e("./utils/common") - , o = e("./utils/strings") - , a = e("./zlib/constants") - , s = e("./zlib/messages") - , c = e("./zlib/zstream") - , u = e("./zlib/gzheader") + var n = t("./zlib/inflate") + , i = t("./utils/common") + , o = t("./utils/strings") + , a = t("./zlib/constants") + , s = t("./zlib/messages") + , c = t("./zlib/zstream") + , u = t("./zlib/gzheader") , d = Object.prototype.toString; - function l(e) { + function l(t) { if (!(this instanceof l)) - return new l(e); + return new l(t); 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), + }, t || {}); + var e = this.options; + e.raw && 0 <= e.windowBits && e.windowBits < 16 && (e.windowBits = -e.windowBits, + 0 === e.windowBits && (e.windowBits = -15)), + !(0 <= e.windowBits && e.windowBits < 16) || t && t.windowBits || (e.windowBits += 32), + 15 < e.windowBits && e.windowBits < 48 && 0 == (15 & e.windowBits) && (e.windowBits |= 15), this.err = 0, this.msg = "", this.ended = !1, this.chunks = [], this.strm = new c, this.strm.avail_out = 0; - var r = n.inflateInit2(this.strm, t.windowBits); + var r = n.inflateInit2(this.strm, e.windowBits); if (r !== a.Z_OK) throw new Error(s[r]); this.header = new u, n.inflateGetHeader(this.strm, this.header) } - function f(e, t) { - var r = new l(t); - if (r.push(e, !0), + function f(t, e) { + var r = new l(e); + if (r.push(t, !0), r.err) throw r.msg || s[r.err]; return r.result } - l.prototype.push = function(e, t) { + l.prototype.push = function(t, e) { var r, s, c, u, l, f, h = this.strm, p = this.options.chunkSize, m = this.options.dictionary, b = !1; if (this.ended) return !1; - s = t === ~~t ? t : !0 === t ? a.Z_FINISH : a.Z_NO_FLUSH, - "string" == typeof e ? h.input = o.binstring2buf(e) : "[object ArrayBuffer]" === d.call(e) ? h.input = new Uint8Array(e) : h.input = e, + s = e === ~~e ? e : !0 === e ? a.Z_FINISH : a.Z_NO_FLUSH, + "string" == typeof t ? h.input = o.binstring2buf(t) : "[object ArrayBuffer]" === d.call(t) ? h.input = new Uint8Array(t) : h.input = t, h.next_in = 0, h.avail_in = h.input.length; do { @@ -34995,22 +38069,22 @@ !(h.avail_out = 0)) } , - l.prototype.onData = function(e) { - this.chunks.push(e) + l.prototype.onData = function(t) { + this.chunks.push(t) } , - l.prototype.onEnd = function(e) { - e === a.Z_OK && ("string" === this.options.to ? this.result = this.chunks.join("") : this.result = i.flattenChunks(this.chunks)), + l.prototype.onEnd = function(t) { + t === a.Z_OK && ("string" === this.options.to ? this.result = this.chunks.join("") : this.result = i.flattenChunks(this.chunks)), this.chunks = [], - this.err = e, + this.err = t, this.msg = this.strm.msg } , r.Inflate = l, r.inflate = f, - r.inflateRaw = function(e, t) { - return (t = t || {}).raw = !0, - f(e, t) + r.inflateRaw = function(t, e) { + return (e = e || {}).raw = !0, + f(t, e) } , r.ungzip = f @@ -35024,60 +38098,60 @@ "./zlib/messages": 51, "./zlib/zstream": 53 }], - 41: [function(e, t, r) { + 41: [function(t, e, 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(); + r.assign = function(t) { + for (var e = Array.prototype.slice.call(arguments, 1); e.length; ) { + var r = e.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]) + r.hasOwnProperty(n) && (t[n] = r[n]) } } - return e + return t } , - r.shrinkBuf = function(e, t) { - return e.length === t ? e : e.subarray ? e.subarray(0, t) : (e.length = t, - e) + r.shrinkBuf = function(t, e) { + return t.length === e ? t : t.subarray ? t.subarray(0, e) : (t.length = e, + t) } ; var i = { - arraySet: function(e, t, r, n, i) { - if (t.subarray && e.subarray) - e.set(t.subarray(r, r + n), i); + arraySet: function(t, e, r, n, i) { + if (e.subarray && t.subarray) + t.set(e.subarray(r, r + n), i); else for (var o = 0; o < n; o++) - e[i + o] = t[r + o] + t[i + o] = e[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; + flattenChunks: function(t) { + var e, r, n, i, o, a; + for (e = n = 0, + r = t.length; e < r; e++) + n += t[e].length; for (a = new Uint8Array(n), - t = i = 0, - r = e.length; t < r; t++) - o = e[t], + e = i = 0, + r = t.length; e < r; e++) + o = t[e], a.set(o, i), i += o.length; return a } } , o = { - arraySet: function(e, t, r, n, i) { + arraySet: function(t, e, r, n, i) { for (var o = 0; o < n; o++) - e[i + o] = t[r + o] + t[i + o] = e[r + o] }, - flattenChunks: function(e) { - return [].concat.apply([], e) + flattenChunks: function(t) { + return [].concat.apply([], t) } }; - r.setTyped = function(e) { - e ? (r.Buf8 = Uint8Array, + r.setTyped = function(t) { + t ? (r.Buf8 = Uint8Array, r.Buf16 = Uint16Array, r.Buf32 = Int32Array, r.assign(r, i)) : (r.Buf8 = Array, @@ -35089,69 +38163,69 @@ r.setTyped(n) } , {}], - 42: [function(e, t, r) { + 42: [function(t, e, r) { "use strict"; - var n = e("./common") + var n = t("./common") , i = !0 , o = !0; try { String.fromCharCode.apply(null, [0]) - } catch (e) { + } catch (t) { i = !1 } try { String.fromCharCode.apply(null, new Uint8Array(1)) - } catch (e) { + } catch (t) { 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 c(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]); + function c(t, e) { + if (e < 65537 && (t.subarray && o || !t.subarray && i)) + return String.fromCharCode.apply(null, n.shrinkBuf(t, e)); + for (var r = "", a = 0; a < e; a++) + r += String.fromCharCode(t[a]); return r } a[254] = a[254] = 1, - r.string2buf = function(e) { - var t, r, i, o, a, s = e.length, c = 0; + r.string2buf = function(t) { + var e, r, i, o, a, s = t.length, c = 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), + 55296 == (64512 & (r = t.charCodeAt(o))) && o + 1 < s && 56320 == (64512 & (i = t.charCodeAt(o + 1))) && (r = 65536 + (r - 55296 << 10) + (i - 56320), o++), c += r < 128 ? 1 : r < 2048 ? 2 : r < 65536 ? 3 : 4; - for (t = new n.Buf8(c), + for (e = new n.Buf8(c), o = a = 0; a < c; o++) - 55296 == (64512 & (r = e.charCodeAt(o))) && o + 1 < s && 56320 == (64512 & (i = e.charCodeAt(o + 1))) && (r = 65536 + (r - 55296 << 10) + (i - 56320), + 55296 == (64512 & (r = t.charCodeAt(o))) && o + 1 < s && 56320 == (64512 & (i = t.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 < 128 ? e[a++] = r : (r < 2048 ? e[a++] = 192 | r >>> 6 : (r < 65536 ? e[a++] = 224 | r >>> 12 : (e[a++] = 240 | r >>> 18, + e[a++] = 128 | r >>> 12 & 63), + e[a++] = 128 | r >>> 6 & 63), + e[a++] = 128 | 63 & r); + return e } , - r.buf2binstring = function(e) { - return c(e, e.length) + r.buf2binstring = function(t) { + return c(t, t.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.binstring2buf = function(t) { + for (var e = new n.Buf8(t.length), r = 0, i = e.length; r < i; r++) + e[r] = t.charCodeAt(r); + return e } , - r.buf2string = function(e, t) { - var r, n, i, o, s = t || e.length, u = new Array(2 * s); + r.buf2string = function(t, e) { + var r, n, i, o, s = e || t.length, u = new Array(2 * s); for (r = n = 0; r < s; ) - if ((i = e[r++]) < 128) + if ((i = t[r++]) < 128) u[n++] = i; else if (4 < (o = a[i])) u[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++], + i = i << 6 | 63 & t[r++], o--; 1 < o ? u[n++] = 65533 : i < 65536 ? u[n++] = i : (i -= 65536, u[n++] = 55296 | i >> 10 & 1023, @@ -35160,22 +38234,22 @@ return c(u, n) } , - r.utf8border = function(e, t) { + r.utf8border = function(t, e) { var r; - for ((t = t || e.length) > e.length && (t = e.length), - r = t - 1; 0 <= r && 128 == (192 & e[r]); ) + for ((e = e || t.length) > t.length && (e = t.length), + r = e - 1; 0 <= r && 128 == (192 & t[r]); ) r--; - return r < 0 || 0 === r ? t : r + a[e[r]] > t ? r : t + return r < 0 || 0 === r ? e : r + a[t[r]] > e ? r : e } } , { "./common": 41 }], - 43: [function(e, t, r) { + 43: [function(t, e, 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, + e.exports = function(t, e, r, n) { + for (var i = 65535 & t | 0, o = t >>> 16 & 65535 | 0, a = 0; 0 !== r; ) { + for (r -= a = 2e3 < r ? 2e3 : r; o = o + (i = i + e[n++] | 0) | 0, --a; ) ; i %= 65521, @@ -35185,9 +38259,9 @@ } } , {}], - 44: [function(e, t, r) { + 44: [function(t, e, r) { "use strict"; - t.exports = { + e.exports = { Z_NO_FLUSH: 0, Z_PARTIAL_FLUSH: 1, Z_SYNC_FLUSH: 2, @@ -35218,111 +38292,111 @@ } } , {}], - 45: [function(e, t, r) { + 45: [function(t, e, r) { "use strict"; var n = function() { - for (var e, t = [], r = 0; r < 256; r++) { - e = r; + for (var t, e = [], r = 0; r < 256; r++) { + t = r; for (var n = 0; n < 8; n++) - e = 1 & e ? 3988292384 ^ e >>> 1 : e >>> 1; - t[r] = e + t = 1 & t ? 3988292384 ^ t >>> 1 : t >>> 1; + e[r] = t } - return t + return e }(); - t.exports = function(e, t, r, i) { + e.exports = function(t, e, r, i) { var o = n , a = i + r; - e ^= -1; + t ^= -1; for (var s = i; s < a; s++) - e = e >>> 8 ^ o[255 & (e ^ t[s])]; - return -1 ^ e + t = t >>> 8 ^ o[255 & (t ^ e[s])]; + return -1 ^ t } } , {}], - 46: [function(e, t, r) { + 46: [function(t, e, r) { "use strict"; - var n, i = e("../utils/common"), o = e("./trees"), a = e("./adler32"), s = e("./crc32"), c = e("./messages"), u = 0, d = 4, l = 0, f = -2, h = -1, p = 4, m = 2, b = 8, g = 9, y = 286, v = 30, S = 19, w = 2 * y + 1, C = 15, A = 3, _ = 258, I = _ + A + 1, E = 42, T = 113, x = 1, P = 2, k = 3, D = 4; - function O(e, t) { - return e.msg = c[t], - t + var n, i = t("../utils/common"), o = t("./trees"), a = t("./adler32"), s = t("./crc32"), c = t("./messages"), u = 0, d = 4, l = 0, f = -2, h = -1, p = 4, m = 2, b = 8, g = 9, y = 286, v = 30, S = 19, w = 2 * y + 1, C = 15, _ = 3, A = 258, I = A + _ + 1, E = 42, T = 113, x = 1, P = 2, k = 3, D = 4; + function O(t, e) { + return t.msg = c[e], + e } - function R(e) { - return (e << 1) - (4 < e ? 9 : 0) + function R(t) { + return (t << 1) - (4 < t ? 9 : 0) } - function M(e) { - for (var t = e.length; 0 <= --t; ) - e[t] = 0 + function N(t) { + for (var e = t.length; 0 <= --e; ) + t[e] = 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(t) { + var e = t.state + , r = e.pending; + r > t.avail_out && (r = t.avail_out), + 0 !== r && (i.arraySet(t.output, e.pending_buf, e.pending_out, r, t.next_out), + t.next_out += r, + e.pending_out += r, + t.total_out += r, + t.avail_out -= r, + e.pending -= r, + 0 === e.pending && (e.pending_out = 0)) } - function B(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 B(t, e) { + o._tr_flush_block(t, 0 <= t.block_start ? t.block_start : -1, t.strstart - t.block_start, e), + t.block_start = t.strstart, + M(t.strm) } - function F(e, t) { - e.pending_buf[e.pending++] = t + function F(t, e) { + t.pending_buf[t.pending++] = e } - function j(e, t) { - e.pending_buf[e.pending++] = t >>> 8 & 255, - e.pending_buf[e.pending++] = 255 & t + function j(t, e) { + t.pending_buf[t.pending++] = e >>> 8 & 255, + t.pending_buf[t.pending++] = 255 & e } - function K(e, t) { - var r, n, i = e.max_chain_length, o = e.strstart, a = e.prev_length, s = e.nice_match, c = e.strstart > e.w_size - I ? e.strstart - (e.w_size - I) : 0, u = e.window, d = e.w_mask, l = e.prev, f = e.strstart + _, h = u[o + a - 1], p = u[o + a]; - e.prev_length >= e.good_match && (i >>= 2), - s > e.lookahead && (s = e.lookahead); + function K(t, e) { + var r, n, i = t.max_chain_length, o = t.strstart, a = t.prev_length, s = t.nice_match, c = t.strstart > t.w_size - I ? t.strstart - (t.w_size - I) : 0, u = t.window, d = t.w_mask, l = t.prev, f = t.strstart + A, h = u[o + a - 1], p = u[o + a]; + t.prev_length >= t.good_match && (i >>= 2), + s > t.lookahead && (s = t.lookahead); do { - if (u[(r = t) + a] === p && u[r + a - 1] === h && u[r] === u[o] && u[++r] === u[o + 1]) { + if (u[(r = e) + a] === p && u[r + a - 1] === h && u[r] === u[o] && u[++r] === u[o + 1]) { o += 2, r++; do {} while (u[++o] === u[++r] && u[++o] === u[++r] && u[++o] === u[++r] && u[++o] === u[++r] && u[++o] === u[++r] && u[++o] === u[++r] && u[++o] === u[++r] && u[++o] === u[++r] && o < f); - if (n = _ - (f - o), - o = f - _, + if (n = A - (f - o), + o = f - A, a < n) { - if (e.match_start = t, + if (t.match_start = e, s <= (a = n)) break; h = u[o + a - 1], p = u[o + a] } } - } while ((t = l[t & d]) > c && 0 != --i); - return a <= e.lookahead ? a : e.lookahead + } while ((e = l[e & d]) > c && 0 != --i); + return a <= t.lookahead ? a : t.lookahead } - function U(e) { - var t, r, n, o, c, u, d, l, f, h, p = e.w_size; + function L(t) { + var e, r, n, o, c, u, d, l, f, h, p = t.w_size; do { - if (o = e.window_size - e.lookahead - e.strstart, - e.strstart >= p + (p - I)) { - for (i.arraySet(e.window, e.window, p, p, 0), - e.match_start -= p, - e.strstart -= p, - e.block_start -= p, - t = r = e.hash_size; n = e.head[--t], - e.head[t] = p <= n ? n - p : 0, + if (o = t.window_size - t.lookahead - t.strstart, + t.strstart >= p + (p - I)) { + for (i.arraySet(t.window, t.window, p, p, 0), + t.match_start -= p, + t.strstart -= p, + t.block_start -= p, + e = r = t.hash_size; n = t.head[--e], + t.head[e] = p <= n ? n - p : 0, --r; ) ; - for (t = r = p; n = e.prev[--t], - e.prev[t] = p <= n ? n - p : 0, + for (e = r = p; n = t.prev[--e], + t.prev[e] = p <= n ? n - p : 0, --r; ) ; o += p } - if (0 === e.strm.avail_in) + if (0 === t.strm.avail_in) break; - if (u = e.strm, - d = e.window, - l = e.strstart + e.lookahead, + if (u = t.strm, + d = t.window, + l = t.strstart + t.lookahead, f = o, h = void 0, h = u.avail_in, @@ -35333,116 +38407,116 @@ u.next_in += h, u.total_in += h, h), - e.lookahead += r, - e.lookahead + e.insert >= A) - for (c = e.strstart - e.insert, - e.ins_h = e.window[c], - e.ins_h = (e.ins_h << e.hash_shift ^ e.window[c + 1]) & e.hash_mask; e.insert && (e.ins_h = (e.ins_h << e.hash_shift ^ e.window[c + A - 1]) & e.hash_mask, - e.prev[c & e.w_mask] = e.head[e.ins_h], - e.head[e.ins_h] = c, + t.lookahead += r, + t.lookahead + t.insert >= _) + for (c = t.strstart - t.insert, + t.ins_h = t.window[c], + t.ins_h = (t.ins_h << t.hash_shift ^ t.window[c + 1]) & t.hash_mask; t.insert && (t.ins_h = (t.ins_h << t.hash_shift ^ t.window[c + _ - 1]) & t.hash_mask, + t.prev[c & t.w_mask] = t.head[t.ins_h], + t.head[t.ins_h] = c, c++, - e.insert--, - !(e.lookahead + e.insert < A)); ) + t.insert--, + !(t.lookahead + t.insert < _)); ) ; - } while (e.lookahead < I && 0 !== e.strm.avail_in) + } while (t.lookahead < I && 0 !== t.strm.avail_in) } - function L(e, t) { + function U(t, e) { for (var r, n; ; ) { - if (e.lookahead < I) { - if (U(e), - e.lookahead < I && t === u) + if (t.lookahead < I) { + if (L(t), + t.lookahead < I && e === u) return x; - if (0 === e.lookahead) + if (0 === t.lookahead) break } if (r = 0, - e.lookahead >= A && (e.ins_h = (e.ins_h << e.hash_shift ^ e.window[e.strstart + A - 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 - I && (e.match_length = K(e, r)), - e.match_length >= A) - if (n = o._tr_tally(e, e.strstart - e.match_start, e.match_length - A), - e.lookahead -= e.match_length, - e.match_length <= e.max_lazy_match && e.lookahead >= A) { - for (e.match_length--; e.strstart++, - e.ins_h = (e.ins_h << e.hash_shift ^ e.window[e.strstart + A - 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; ) + t.lookahead >= _ && (t.ins_h = (t.ins_h << t.hash_shift ^ t.window[t.strstart + _ - 1]) & t.hash_mask, + r = t.prev[t.strstart & t.w_mask] = t.head[t.ins_h], + t.head[t.ins_h] = t.strstart), + 0 !== r && t.strstart - r <= t.w_size - I && (t.match_length = K(t, r)), + t.match_length >= _) + if (n = o._tr_tally(t, t.strstart - t.match_start, t.match_length - _), + t.lookahead -= t.match_length, + t.match_length <= t.max_lazy_match && t.lookahead >= _) { + for (t.match_length--; t.strstart++, + t.ins_h = (t.ins_h << t.hash_shift ^ t.window[t.strstart + _ - 1]) & t.hash_mask, + r = t.prev[t.strstart & t.w_mask] = t.head[t.ins_h], + t.head[t.ins_h] = t.strstart, + 0 != --t.match_length; ) ; - e.strstart++ + t.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; + t.strstart += t.match_length, + t.match_length = 0, + t.ins_h = t.window[t.strstart], + t.ins_h = (t.ins_h << t.hash_shift ^ t.window[t.strstart + 1]) & t.hash_mask; else - n = o._tr_tally(e, 0, e.window[e.strstart]), - e.lookahead--, - e.strstart++; - if (n && (B(e, !1), - 0 === e.strm.avail_out)) + n = o._tr_tally(t, 0, t.window[t.strstart]), + t.lookahead--, + t.strstart++; + if (n && (B(t, !1), + 0 === t.strm.avail_out)) return x } - return e.insert = e.strstart < A - 1 ? e.strstart : A - 1, - t === d ? (B(e, !0), - 0 === e.strm.avail_out ? k : D) : e.last_lit && (B(e, !1), - 0 === e.strm.avail_out) ? x : P + return t.insert = t.strstart < _ - 1 ? t.strstart : _ - 1, + e === d ? (B(t, !0), + 0 === t.strm.avail_out ? k : D) : t.last_lit && (B(t, !1), + 0 === t.strm.avail_out) ? x : P } - function X(e, t) { + function X(t, e) { for (var r, n, i; ; ) { - if (e.lookahead < I) { - if (U(e), - e.lookahead < I && t === u) + if (t.lookahead < I) { + if (L(t), + t.lookahead < I && e === u) return x; - if (0 === e.lookahead) + if (0 === t.lookahead) break } if (r = 0, - e.lookahead >= A && (e.ins_h = (e.ins_h << e.hash_shift ^ e.window[e.strstart + A - 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 = A - 1, - 0 !== r && e.prev_length < e.max_lazy_match && e.strstart - r <= e.w_size - I && (e.match_length = K(e, r), - e.match_length <= 5 && (1 === e.strategy || e.match_length === A && 4096 < e.strstart - e.match_start) && (e.match_length = A - 1)), - e.prev_length >= A && e.match_length <= e.prev_length) { - for (i = e.strstart + e.lookahead - A, - n = o._tr_tally(e, e.strstart - 1 - e.prev_match, e.prev_length - A), - 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 + A - 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; ) + t.lookahead >= _ && (t.ins_h = (t.ins_h << t.hash_shift ^ t.window[t.strstart + _ - 1]) & t.hash_mask, + r = t.prev[t.strstart & t.w_mask] = t.head[t.ins_h], + t.head[t.ins_h] = t.strstart), + t.prev_length = t.match_length, + t.prev_match = t.match_start, + t.match_length = _ - 1, + 0 !== r && t.prev_length < t.max_lazy_match && t.strstart - r <= t.w_size - I && (t.match_length = K(t, r), + t.match_length <= 5 && (1 === t.strategy || t.match_length === _ && 4096 < t.strstart - t.match_start) && (t.match_length = _ - 1)), + t.prev_length >= _ && t.match_length <= t.prev_length) { + for (i = t.strstart + t.lookahead - _, + n = o._tr_tally(t, t.strstart - 1 - t.prev_match, t.prev_length - _), + t.lookahead -= t.prev_length - 1, + t.prev_length -= 2; ++t.strstart <= i && (t.ins_h = (t.ins_h << t.hash_shift ^ t.window[t.strstart + _ - 1]) & t.hash_mask, + r = t.prev[t.strstart & t.w_mask] = t.head[t.ins_h], + t.head[t.ins_h] = t.strstart), + 0 != --t.prev_length; ) ; - if (e.match_available = 0, - e.match_length = A - 1, - e.strstart++, - n && (B(e, !1), - 0 === e.strm.avail_out)) + if (t.match_available = 0, + t.match_length = _ - 1, + t.strstart++, + n && (B(t, !1), + 0 === t.strm.avail_out)) return x - } else if (e.match_available) { - if ((n = o._tr_tally(e, 0, e.window[e.strstart - 1])) && B(e, !1), - e.strstart++, - e.lookahead--, - 0 === e.strm.avail_out) + } else if (t.match_available) { + if ((n = o._tr_tally(t, 0, t.window[t.strstart - 1])) && B(t, !1), + t.strstart++, + t.lookahead--, + 0 === t.strm.avail_out) return x } else - e.match_available = 1, - e.strstart++, - e.lookahead-- + t.match_available = 1, + t.strstart++, + t.lookahead-- } - return e.match_available && (n = o._tr_tally(e, 0, e.window[e.strstart - 1]), - e.match_available = 0), - e.insert = e.strstart < A - 1 ? e.strstart : A - 1, - t === d ? (B(e, !0), - 0 === e.strm.avail_out ? k : D) : e.last_lit && (B(e, !1), - 0 === e.strm.avail_out) ? x : P + return t.match_available && (n = o._tr_tally(t, 0, t.window[t.strstart - 1]), + t.match_available = 0), + t.insert = t.strstart < _ - 1 ? t.strstart : _ - 1, + e === d ? (B(t, !0), + 0 === t.strm.avail_out ? k : D) : t.last_lit && (B(t, !1), + 0 === t.strm.avail_out) ? x : P } - function z(e, t, r, n, i) { - this.good_length = e, - this.max_lazy = t, + function z(t, e, r, n, i) { + this.good_length = t, + this.max_lazy = e, this.nice_length = r, this.max_chain = n, this.func = i @@ -35488,19 +38562,19 @@ this.dyn_ltree = new i.Buf16(2 * w), this.dyn_dtree = new i.Buf16(2 * (2 * v + 1)), this.bl_tree = new i.Buf16(2 * (2 * S + 1)), - M(this.dyn_ltree), - M(this.dyn_dtree), - M(this.bl_tree), + N(this.dyn_ltree), + N(this.dyn_dtree), + N(this.bl_tree), this.l_desc = null, this.d_desc = null, this.bl_desc = null, this.bl_count = new i.Buf16(C + 1), this.heap = new i.Buf16(2 * y + 1), - M(this.heap), + N(this.heap), this.heap_len = 0, this.heap_max = 0, this.depth = new i.Buf16(2 * y + 1), - M(this.depth), + N(this.depth), this.l_buf = 0, this.lit_bufsize = 0, this.last_lit = 0, @@ -35512,51 +38586,51 @@ this.bi_buf = 0, this.bi_valid = 0 } - function W(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 ? E : T, - e.adler = 2 === t.wrap ? 0 : 1, - t.last_flush = u, - o._tr_init(t), - l) : O(e, f) + function W(t) { + var e; + return t && t.state ? (t.total_in = t.total_out = 0, + t.data_type = m, + (e = t.state).pending = 0, + e.pending_out = 0, + e.wrap < 0 && (e.wrap = -e.wrap), + e.status = e.wrap ? E : T, + t.adler = 2 === e.wrap ? 0 : 1, + e.last_flush = u, + o._tr_init(e), + l) : O(t, f) } - function q(e) { - var t = W(e); - return t === l && function(e) { - e.window_size = 2 * e.w_size, - M(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 = A - 1, - e.match_available = 0, - e.ins_h = 0 - }(e.state), - t + function q(t) { + var e = W(t); + return e === l && function(t) { + t.window_size = 2 * t.w_size, + N(t.head), + t.max_lazy_match = n[t.level].max_lazy, + t.good_match = n[t.level].good_length, + t.nice_match = n[t.level].nice_length, + t.max_chain_length = n[t.level].max_chain, + t.strstart = 0, + t.block_start = 0, + t.lookahead = 0, + t.insert = 0, + t.match_length = t.prev_length = _ - 1, + t.match_available = 0, + t.ins_h = 0 + }(t.state), + e } - function H(e, t, r, n, o, a) { - if (!e) + function V(t, e, r, n, o, a) { + if (!t) return f; var s = 1; - if (t === h && (t = 6), + if (e === h && (e = 6), n < 0 ? (s = 0, n = -n) : 15 < n && (s = 2, n -= 16), - o < 1 || g < o || r !== b || n < 8 || 15 < n || t < 0 || 9 < t || a < 0 || p < a) - return O(e, f); + o < 1 || g < o || r !== b || n < 8 || 15 < n || e < 0 || 9 < e || a < 0 || p < a) + return O(t, f); 8 === n && (n = 9); var c = new G; - return (e.state = c).strm = e, + return (t.state = c).strm = t, c.wrap = s, c.gzhead = null, c.w_bits = n, @@ -35565,7 +38639,7 @@ c.hash_bits = o + 7, c.hash_size = 1 << c.hash_bits, c.hash_mask = c.hash_size - 1, - c.hash_shift = ~~((c.hash_bits + A - 1) / A), + c.hash_shift = ~~((c.hash_bits + _ - 1) / _), c.window = new i.Buf8(2 * c.w_size), c.head = new i.Buf16(c.hash_size), c.prev = new i.Buf16(c.w_size), @@ -35574,65 +38648,65 @@ c.pending_buf = new i.Buf8(c.pending_buf_size), c.d_buf = 1 * c.lit_bufsize, c.l_buf = 3 * c.lit_bufsize, - c.level = t, + c.level = e, c.strategy = a, c.method = r, - q(e) + q(t) } - n = [new z(0,0,0,0,(function(e, t) { + n = [new z(0,0,0,0,(function(t, e) { 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 === u) + for (r > t.pending_buf_size - 5 && (r = t.pending_buf_size - 5); ; ) { + if (t.lookahead <= 1) { + if (L(t), + 0 === t.lookahead && e === u) return x; - if (0 === e.lookahead) + if (0 === t.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, - B(e, !1), - 0 === e.strm.avail_out)) + t.strstart += t.lookahead, + t.lookahead = 0; + var n = t.block_start + r; + if ((0 === t.strstart || t.strstart >= n) && (t.lookahead = t.strstart - n, + t.strstart = n, + B(t, !1), + 0 === t.strm.avail_out)) return x; - if (e.strstart - e.block_start >= e.w_size - I && (B(e, !1), - 0 === e.strm.avail_out)) + if (t.strstart - t.block_start >= t.w_size - I && (B(t, !1), + 0 === t.strm.avail_out)) return x } - return e.insert = 0, - t === d ? (B(e, !0), - 0 === e.strm.avail_out ? k : D) : (e.strstart > e.block_start && (B(e, !1), - e.strm.avail_out), + return t.insert = 0, + e === d ? (B(t, !0), + 0 === t.strm.avail_out ? k : D) : (t.strstart > t.block_start && (B(t, !1), + t.strm.avail_out), x) } - )), new z(4,4,8,4,L), new z(4,5,16,8,L), new z(4,6,32,32,L), new z(4,4,16,16,X), new z(8,16,32,32,X), new z(8,16,128,128,X), new z(8,32,128,256,X), new z(32,128,258,1024,X), new z(32,258,258,4096,X)], - r.deflateInit = function(e, t) { - return H(e, t, b, 15, 8, 0) + )), new z(4,4,8,4,U), new z(4,5,16,8,U), new z(4,6,32,32,U), new z(4,4,16,16,X), new z(8,16,32,32,X), new z(8,16,128,128,X), new z(8,32,128,256,X), new z(32,128,258,1024,X), new z(32,258,258,4096,X)], + r.deflateInit = function(t, e) { + return V(t, e, b, 15, 8, 0) } , - r.deflateInit2 = H, + r.deflateInit2 = V, r.deflateReset = q, r.deflateResetKeep = W, - r.deflateSetHeader = function(e, t) { - return e && e.state ? 2 !== e.state.wrap ? f : (e.state.gzhead = t, + r.deflateSetHeader = function(t, e) { + return t && t.state ? 2 !== t.state.wrap ? f : (t.state.gzhead = e, l) : f } , - r.deflate = function(e, t) { + r.deflate = function(t, e) { var r, i, a, c; - if (!e || !e.state || 5 < t || t < 0) - return e ? O(e, f) : f; - if (i = e.state, - !e.output || !e.input && 0 !== e.avail_in || 666 === i.status && t !== d) - return O(e, 0 === e.avail_out ? -5 : f); - if (i.strm = e, + if (!t || !t.state || 5 < e || e < 0) + return t ? O(t, f) : f; + if (i = t.state, + !t.output || !t.input && 0 !== t.avail_in || 666 === i.status && e !== d) + return O(t, 0 === t.avail_out ? -5 : f); + if (i.strm = t, r = i.last_flush, - i.last_flush = t, + i.last_flush = e, i.status === E) if (2 === i.wrap) - e.adler = 0, + t.adler = 0, F(i, 31), F(i, 139), F(i, 8), @@ -35645,7 +38719,7 @@ F(i, 255 & i.gzhead.os), i.gzhead.extra && i.gzhead.extra.length && (F(i, 255 & i.gzhead.extra.length), F(i, i.gzhead.extra.length >> 8 & 255)), - i.gzhead.hcrc && (e.adler = s(e.adler, i.pending_buf, i.pending, 0)), + i.gzhead.hcrc && (t.adler = s(t.adler, i.pending_buf, i.pending, 0)), i.gzindex = 0, i.status = 69) : (F(i, 0), F(i, 0), @@ -35662,19 +38736,19 @@ h += 31 - h % 31, i.status = T, j(i, h), - 0 !== i.strstart && (j(i, e.adler >>> 16), - j(i, 65535 & e.adler)), - e.adler = 1 + 0 !== i.strstart && (j(i, t.adler >>> 16), + j(i, 65535 & t.adler)), + t.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), + for (a = i.pending; i.gzindex < (65535 & i.gzhead.extra.length) && (i.pending !== i.pending_buf_size || (i.gzhead.hcrc && i.pending > a && (t.adler = s(t.adler, i.pending_buf, i.pending - a, a)), + M(t), a = i.pending, i.pending !== i.pending_buf_size)); ) F(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.gzhead.hcrc && i.pending > a && (t.adler = s(t.adler, i.pending_buf, i.pending - a, a)), i.gzindex === i.gzhead.extra.length && (i.gzindex = 0, i.status = 73) } else @@ -35683,8 +38757,8 @@ 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), + if (i.pending === i.pending_buf_size && (i.gzhead.hcrc && i.pending > a && (t.adler = s(t.adler, i.pending_buf, i.pending - a, a)), + M(t), a = i.pending, i.pending === i.pending_buf_size)) { c = 1; @@ -35693,7 +38767,7 @@ c = i.gzindex < i.gzhead.name.length ? 255 & i.gzhead.name.charCodeAt(i.gzindex++) : 0, F(i, c) } while (0 !== c); - i.gzhead.hcrc && i.pending > a && (e.adler = s(e.adler, i.pending_buf, i.pending - a, a)), + i.gzhead.hcrc && i.pending > a && (t.adler = s(t.adler, i.pending_buf, i.pending - a, a)), 0 === c && (i.gzindex = 0, i.status = 91) } else @@ -35702,8 +38776,8 @@ 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), + if (i.pending === i.pending_buf_size && (i.gzhead.hcrc && i.pending > a && (t.adler = s(t.adler, i.pending_buf, i.pending - a, a)), + M(t), a = i.pending, i.pending === i.pending_buf_size)) { c = 1; @@ -35712,153 +38786,153 @@ c = i.gzindex < i.gzhead.comment.length ? 255 & i.gzhead.comment.charCodeAt(i.gzindex++) : 0, F(i, c) } while (0 !== c); - i.gzhead.hcrc && i.pending > a && (e.adler = s(e.adler, i.pending_buf, i.pending - a, a)), + i.gzhead.hcrc && i.pending > a && (t.adler = s(t.adler, i.pending_buf, i.pending - a, a)), 0 === c && (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 && (F(i, 255 & e.adler), - F(i, e.adler >> 8 & 255), - e.adler = 0, + if (103 === i.status && (i.gzhead.hcrc ? (i.pending + 2 > i.pending_buf_size && M(t), + i.pending + 2 <= i.pending_buf_size && (F(i, 255 & t.adler), + F(i, t.adler >> 8 & 255), + t.adler = 0, i.status = T)) : i.status = T), 0 !== i.pending) { - if (N(e), - 0 === e.avail_out) + if (M(t), + 0 === t.avail_out) return i.last_flush = -1, l - } else if (0 === e.avail_in && R(t) <= R(r) && t !== d) - return O(e, -5); - if (666 === i.status && 0 !== e.avail_in) - return O(e, -5); - if (0 !== e.avail_in || 0 !== i.lookahead || t !== u && 666 !== i.status) { - var p = 2 === i.strategy ? function(e, t) { + } else if (0 === t.avail_in && R(e) <= R(r) && e !== d) + return O(t, -5); + if (666 === i.status && 0 !== t.avail_in) + return O(t, -5); + if (0 !== t.avail_in || 0 !== i.lookahead || e !== u && 666 !== i.status) { + var p = 2 === i.strategy ? function(t, e) { for (var r; ; ) { - if (0 === e.lookahead && (U(e), - 0 === e.lookahead)) { - if (t === u) + if (0 === t.lookahead && (L(t), + 0 === t.lookahead)) { + if (e === u) return x; break } - if (e.match_length = 0, - r = o._tr_tally(e, 0, e.window[e.strstart]), - e.lookahead--, - e.strstart++, - r && (B(e, !1), - 0 === e.strm.avail_out)) + if (t.match_length = 0, + r = o._tr_tally(t, 0, t.window[t.strstart]), + t.lookahead--, + t.strstart++, + r && (B(t, !1), + 0 === t.strm.avail_out)) return x } - return e.insert = 0, - t === d ? (B(e, !0), - 0 === e.strm.avail_out ? k : D) : e.last_lit && (B(e, !1), - 0 === e.strm.avail_out) ? x : P - }(i, t) : 3 === i.strategy ? function(e, t) { - for (var r, n, i, a, s = e.window; ; ) { - if (e.lookahead <= _) { - if (U(e), - e.lookahead <= _ && t === u) + return t.insert = 0, + e === d ? (B(t, !0), + 0 === t.strm.avail_out ? k : D) : t.last_lit && (B(t, !1), + 0 === t.strm.avail_out) ? x : P + }(i, e) : 3 === i.strategy ? function(t, e) { + for (var r, n, i, a, s = t.window; ; ) { + if (t.lookahead <= A) { + if (L(t), + t.lookahead <= A && e === u) return x; - if (0 === e.lookahead) + if (0 === t.lookahead) break } - if (e.match_length = 0, - e.lookahead >= A && 0 < e.strstart && (n = s[i = e.strstart - 1]) === s[++i] && n === s[++i] && n === s[++i]) { - a = e.strstart + _; + if (t.match_length = 0, + t.lookahead >= _ && 0 < t.strstart && (n = s[i = t.strstart - 1]) === s[++i] && n === s[++i] && n === s[++i]) { + a = t.strstart + A; 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 = _ - (a - i), - e.match_length > e.lookahead && (e.match_length = e.lookahead) + t.match_length = A - (a - i), + t.match_length > t.lookahead && (t.match_length = t.lookahead) } - if (e.match_length >= A ? (r = o._tr_tally(e, 1, e.match_length - A), - 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 && (B(e, !1), - 0 === e.strm.avail_out)) + if (t.match_length >= _ ? (r = o._tr_tally(t, 1, t.match_length - _), + t.lookahead -= t.match_length, + t.strstart += t.match_length, + t.match_length = 0) : (r = o._tr_tally(t, 0, t.window[t.strstart]), + t.lookahead--, + t.strstart++), + r && (B(t, !1), + 0 === t.strm.avail_out)) return x } - return e.insert = 0, - t === d ? (B(e, !0), - 0 === e.strm.avail_out ? k : D) : e.last_lit && (B(e, !1), - 0 === e.strm.avail_out) ? x : P - }(i, t) : n[i.level].func(i, t); + return t.insert = 0, + e === d ? (B(t, !0), + 0 === t.strm.avail_out ? k : D) : t.last_lit && (B(t, !1), + 0 === t.strm.avail_out) ? x : P + }(i, e) : n[i.level].func(i, e); if (p !== k && p !== D || (i.status = 666), p === x || p === k) - return 0 === e.avail_out && (i.last_flush = -1), + return 0 === t.avail_out && (i.last_flush = -1), l; - if (p === P && (1 === t ? o._tr_align(i) : 5 !== t && (o._tr_stored_block(i, 0, 0, !1), - 3 === t && (M(i.head), + if (p === P && (1 === e ? o._tr_align(i) : 5 !== e && (o._tr_stored_block(i, 0, 0, !1), + 3 === e && (N(i.head), 0 === i.lookahead && (i.strstart = 0, i.block_start = 0, i.insert = 0))), - N(e), - 0 === e.avail_out)) + M(t), + 0 === t.avail_out)) return i.last_flush = -1, l } - return t !== d ? l : i.wrap <= 0 ? 1 : (2 === i.wrap ? (F(i, 255 & e.adler), - F(i, e.adler >> 8 & 255), - F(i, e.adler >> 16 & 255), - F(i, e.adler >> 24 & 255), - F(i, 255 & e.total_in), - F(i, e.total_in >> 8 & 255), - F(i, e.total_in >> 16 & 255), - F(i, e.total_in >> 24 & 255)) : (j(i, e.adler >>> 16), - j(i, 65535 & e.adler)), - N(e), + return e !== d ? l : i.wrap <= 0 ? 1 : (2 === i.wrap ? (F(i, 255 & t.adler), + F(i, t.adler >> 8 & 255), + F(i, t.adler >> 16 & 255), + F(i, t.adler >> 24 & 255), + F(i, 255 & t.total_in), + F(i, t.total_in >> 8 & 255), + F(i, t.total_in >> 16 & 255), + F(i, t.total_in >> 24 & 255)) : (j(i, t.adler >>> 16), + j(i, 65535 & t.adler)), + M(t), 0 < i.wrap && (i.wrap = -i.wrap), 0 !== i.pending ? l : 1) } , - r.deflateEnd = function(e) { - var t; - return e && e.state ? (t = e.state.status) !== E && 69 !== t && 73 !== t && 91 !== t && 103 !== t && t !== T && 666 !== t ? O(e, f) : (e.state = null, - t === T ? O(e, -3) : l) : f + r.deflateEnd = function(t) { + var e; + return t && t.state ? (e = t.state.status) !== E && 69 !== e && 73 !== e && 91 !== e && 103 !== e && e !== T && 666 !== e ? O(t, f) : (t.state = null, + e === T ? O(t, -3) : l) : f } , - r.deflateSetDictionary = function(e, t) { - var r, n, o, s, c, u, d, h, p = t.length; - if (!e || !e.state) + r.deflateSetDictionary = function(t, e) { + var r, n, o, s, c, u, d, h, p = e.length; + if (!t || !t.state) return f; - if (2 === (s = (r = e.state).wrap) || 1 === s && r.status !== E || r.lookahead) + if (2 === (s = (r = t.state).wrap) || 1 === s && r.status !== E || r.lookahead) return f; - for (1 === s && (e.adler = a(e.adler, t, p, 0)), + for (1 === s && (t.adler = a(t.adler, e, p, 0)), r.wrap = 0, - p >= r.w_size && (0 === s && (M(r.head), + p >= r.w_size && (0 === s && (N(r.head), r.strstart = 0, r.block_start = 0, r.insert = 0), h = new i.Buf8(r.w_size), - i.arraySet(h, t, p - r.w_size, r.w_size, 0), - t = h, + i.arraySet(h, e, p - r.w_size, r.w_size, 0), + e = h, p = r.w_size), - c = e.avail_in, - u = e.next_in, - d = e.input, - e.avail_in = p, - e.next_in = 0, - e.input = t, - U(r); r.lookahead >= A; ) { + c = t.avail_in, + u = t.next_in, + d = t.input, + t.avail_in = p, + t.next_in = 0, + t.input = e, + L(r); r.lookahead >= _; ) { for (n = r.strstart, - o = r.lookahead - (A - 1); r.ins_h = (r.ins_h << r.hash_shift ^ r.window[n + A - 1]) & r.hash_mask, + 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 = A - 1, - U(r) + r.lookahead = _ - 1, + L(r) } return r.strstart += r.lookahead, r.block_start = r.strstart, r.insert = r.lookahead, r.lookahead = 0, - r.match_length = r.prev_length = A - 1, + r.match_length = r.prev_length = _ - 1, r.match_available = 0, - e.next_in = u, - e.input = d, - e.avail_in = c, + t.next_in = u, + t.input = d, + t.avail_in = c, r.wrap = s, l } @@ -35872,9 +38946,9 @@ "./messages": 51, "./trees": 52 }], - 47: [function(e, t, r) { + 47: [function(t, e, r) { "use strict"; - t.exports = function() { + e.exports = function() { this.text = 0, this.time = 0, this.xflags = 0, @@ -35888,18 +38962,18 @@ } } , {}], - 48: [function(e, t, r) { + 48: [function(t, e, r) { "use strict"; - t.exports = function(e, t) { - var r, n, i, o, a, s, c, u, d, l, f, h, p, m, b, g, y, v, S, w, C, A, _, I, E; - r = e.state, - n = e.next_in, - I = e.input, - i = n + (e.avail_in - 5), - o = e.next_out, - E = e.output, - a = o - (t - e.avail_out), - s = o + (e.avail_out - 257), + e.exports = function(t, e) { + var r, n, i, o, a, s, c, u, d, l, f, h, p, m, b, g, y, v, S, w, C, _, A, I, E; + r = t.state, + n = t.next_in, + I = t.input, + i = n + (t.avail_in - 5), + o = t.next_out, + E = t.output, + a = o - (e - t.avail_out), + s = o + (t.avail_out - 257), c = r.dmax, u = r.wsize, d = r.whave, @@ -35911,13 +38985,13 @@ b = r.distcode, g = (1 << r.lenbits) - 1, y = (1 << r.distbits) - 1; - e: do { + t: do { p < 15 && (h += I[n++] << p, p += 8, h += I[n++] << p, p += 8), v = m[h & g]; - t: for (; ; ) { + e: for (; ; ) { if (h >>>= S = v >>> 24, p -= S, 0 === (S = v >>> 16 & 255)) @@ -35926,15 +39000,15 @@ if (!(16 & S)) { if (0 == (64 & S)) { v = m[(65535 & v) + (h & (1 << S) - 1)]; - continue t + continue e } if (32 & S) { r.mode = 12; - break e + break t } - e.msg = "invalid literal/length code", + t.msg = "invalid literal/length code", r.mode = 30; - break e + break t } w = 65535 & v, (S &= 15) && (p < S && (h += I[n++] << p, @@ -35955,75 +39029,75 @@ v = b[(65535 & v) + (h & (1 << S) - 1)]; continue r } - e.msg = "invalid distance code", + t.msg = "invalid distance code", r.mode = 30; - break e + break t } if (C = 65535 & v, p < (S &= 15) && (h += I[n++] << p, (p += 8) < S && (h += I[n++] << p, p += 8)), c < (C += h & (1 << S) - 1)) { - e.msg = "invalid distance too far back", + t.msg = "invalid distance too far back", r.mode = 30; - break e + break t } if (h >>>= S, p -= S, (S = o - a) < C) { if (d < (S = C - S) && r.sane) { - e.msg = "invalid distance too far back", + t.msg = "invalid distance too far back", r.mode = 30; - break e + break t } - if (_ = f, - (A = 0) === l) { - if (A += u - S, + if (A = f, + (_ = 0) === l) { + if (_ += u - S, S < w) { - for (w -= S; E[o++] = f[A++], + for (w -= S; E[o++] = f[_++], --S; ) ; - A = o - C, - _ = E + _ = o - C, + A = E } } else if (l < S) { - if (A += u + l - S, + if (_ += u + l - S, (S -= l) < w) { - for (w -= S; E[o++] = f[A++], + for (w -= S; E[o++] = f[_++], --S; ) ; - if (A = 0, + if (_ = 0, l < w) { - for (w -= S = l; E[o++] = f[A++], + for (w -= S = l; E[o++] = f[_++], --S; ) ; - A = o - C, - _ = E + _ = o - C, + A = E } } - } else if (A += l - S, + } else if (_ += l - S, S < w) { - for (w -= S; E[o++] = f[A++], + for (w -= S; E[o++] = f[_++], --S; ) ; - A = o - C, - _ = E + _ = o - C, + A = E } for (; 2 < w; ) - E[o++] = _[A++], - E[o++] = _[A++], - E[o++] = _[A++], + E[o++] = A[_++], + E[o++] = A[_++], + E[o++] = A[_++], w -= 3; - w && (E[o++] = _[A++], - 1 < w && (E[o++] = _[A++])) + w && (E[o++] = A[_++], + 1 < w && (E[o++] = A[_++])) } else { - for (A = o - C; E[o++] = E[A++], - E[o++] = E[A++], - E[o++] = E[A++], + for (_ = o - C; E[o++] = E[_++], + E[o++] = E[_++], + E[o++] = E[_++], 2 < (w -= 3); ) ; - w && (E[o++] = E[A++], - 1 < w && (E[o++] = E[A++])) + w && (E[o++] = E[_++], + 1 < w && (E[o++] = E[_++])) } break } @@ -36033,22 +39107,22 @@ } while (n < i && o < s); n -= w = p >> 3, h &= (1 << (p -= w << 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), + t.next_in = n, + t.next_out = o, + t.avail_in = n < i ? i - n + 5 : 5 - (n - i), + t.avail_out = o < s ? s - o + 257 : 257 - (o - s), r.hold = h, r.bits = p } } , {}], - 49: [function(e, t, r) { + 49: [function(t, e, r) { "use strict"; - var n = e("../utils/common") - , i = e("./adler32") - , o = e("./crc32") - , a = e("./inffast") - , s = e("./inftrees") + var n = t("../utils/common") + , i = t("./adler32") + , o = t("./crc32") + , a = t("./inffast") + , s = t("./inftrees") , c = 1 , u = 2 , d = 0 @@ -36056,8 +39130,8 @@ , f = 1 , h = 852 , p = 592; - function m(e) { - return (e >>> 24 & 255) + (e >>> 8 & 65280) + ((65280 & e) << 8) + ((255 & e) << 24) + function m(t) { + return (t >>> 24 & 255) + (t >>> 8 & 65280) + ((65280 & t) << 8) + ((255 & t) << 24) } function b() { this.mode = 0, @@ -36096,90 +39170,90 @@ this.back = 0, this.was = 0 } - function g(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 = f, - 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(h), - t.distcode = t.distdyn = new n.Buf32(p), - t.sane = 1, - t.back = -1, + function g(t) { + var e; + return t && t.state ? (e = t.state, + t.total_in = t.total_out = e.total = 0, + t.msg = "", + e.wrap && (t.adler = 1 & e.wrap), + e.mode = f, + e.last = 0, + e.havedict = 0, + e.dmax = 32768, + e.head = null, + e.hold = 0, + e.bits = 0, + e.lencode = e.lendyn = new n.Buf32(h), + e.distcode = e.distdyn = new n.Buf32(p), + e.sane = 1, + e.back = -1, d) : l } - function y(e) { - var t; - return e && e.state ? ((t = e.state).wsize = 0, - t.whave = 0, - t.wnext = 0, - g(e)) : l + function y(t) { + var e; + return t && t.state ? ((e = t.state).wsize = 0, + e.whave = 0, + e.wnext = 0, + g(t)) : l } - function v(e, t) { + function v(t, e) { 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) ? l : (null !== n.window && n.wbits !== t && (n.window = null), + return t && t.state ? (n = t.state, + e < 0 ? (r = 0, + e = -e) : (r = 1 + (e >> 4), + e < 48 && (e &= 15)), + e && (e < 8 || 15 < e) ? l : (null !== n.window && n.wbits !== e && (n.window = null), n.wrap = r, - n.wbits = t, - y(e))) : l + n.wbits = e, + y(t))) : l } - function S(e, t) { + function S(t, e) { var r, n; - return e ? (n = new b, - (e.state = n).window = null, - (r = v(e, t)) !== d && (e.state = null), + return t ? (n = new b, + (t.state = n).window = null, + (r = v(t, e)) !== d && (t.state = null), r) : l } - var w, C, A = !0; - function _(e) { - if (A) { - var t; + var w, C, _ = !0; + function A(t) { + if (_) { + var e; for (w = new n.Buf32(512), C = 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(c, e.lens, 0, 288, w, 0, e.work, { + e = 0; e < 144; ) + t.lens[e++] = 8; + for (; e < 256; ) + t.lens[e++] = 9; + for (; e < 280; ) + t.lens[e++] = 7; + for (; e < 288; ) + t.lens[e++] = 8; + for (s(c, t.lens, 0, 288, w, 0, t.work, { bits: 9 }), - t = 0; t < 32; ) - e.lens[t++] = 5; - s(u, e.lens, 0, 32, C, 0, e.work, { + e = 0; e < 32; ) + t.lens[e++] = 5; + s(u, t.lens, 0, 32, C, 0, t.work, { bits: 5 }), - A = !1 + _ = !1 } - e.lencode = w, - e.lenbits = 9, - e.distcode = C, - e.distbits = 5 + t.lencode = w, + t.lenbits = 9, + t.distcode = C, + t.distbits = 5 } - function I(e, t, r, i) { - var o, a = e.state; + function I(t, e, r, i) { + var o, a = t.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), + i >= a.wsize ? (n.arraySet(a.window, e, 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), + n.arraySet(a.window, e, r - i, o, a.wnext), + (i -= o) ? (n.arraySet(a.window, e, r - i, i, 0), a.wnext = i, a.whave = a.wsize) : (a.wnext += o, a.wnext === a.wsize && (a.wnext = 0), @@ -36189,28 +39263,28 @@ r.inflateReset = y, r.inflateReset2 = v, r.inflateResetKeep = g, - r.inflateInit = function(e) { - return S(e, 15) + r.inflateInit = function(t) { + return S(t, 15) } , r.inflateInit2 = S, - r.inflate = function(e, t) { - var r, h, p, b, g, y, v, S, w, C, A, E, T, x, P, k, D, O, R, M, N, B, F, j, K = 0, U = new n.Buf8(4), L = [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) + r.inflate = function(t, e) { + var r, h, p, b, g, y, v, S, w, C, _, E, T, x, P, k, D, O, R, N, M, B, F, j, K = 0, L = new n.Buf8(4), U = [16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15]; + if (!t || !t.state || !t.output || !t.input && 0 !== t.avail_in) return l; - 12 === (r = e.state).mode && (r.mode = 13), - g = e.next_out, - p = e.output, - v = e.avail_out, - b = e.next_in, - h = e.input, - y = e.avail_in, + 12 === (r = t.state).mode && (r.mode = 13), + g = t.next_out, + p = t.output, + v = t.avail_out, + b = t.next_in, + h = t.input, + y = t.avail_in, S = r.hold, w = r.bits, C = y, - A = v, + _ = v, B = d; - e: for (; ; ) + t: for (; ; ) switch (r.mode) { case f: if (0 === r.wrap) { @@ -36219,15 +39293,15 @@ } for (; w < 16; ) { if (0 === y) - break e; + break t; y--, S += h[b++] << w, w += 8 } if (2 & r.wrap && 35615 === S) { - U[r.check = 0] = 255 & S, - U[1] = S >>> 8 & 255, - r.check = o(r.check, U, 2, 0), + L[r.check = 0] = 255 & S, + L[1] = S >>> 8 & 255, + r.check = o(r.check, L, 2, 0), w = S = 0, r.mode = 2; break @@ -36235,129 +39309,129 @@ if (r.flags = 0, r.head && (r.head.done = !1), !(1 & r.wrap) || (((255 & S) << 8) + (S >> 8)) % 31) { - e.msg = "incorrect header check", + t.msg = "incorrect header check", r.mode = 30; break } if (8 != (15 & S)) { - e.msg = "unknown compression method", + t.msg = "unknown compression method", r.mode = 30; break } if (w -= 4, - N = 8 + (15 & (S >>>= 4)), + M = 8 + (15 & (S >>>= 4)), 0 === r.wbits) - r.wbits = N; - else if (N > r.wbits) { - e.msg = "invalid window size", + r.wbits = M; + else if (M > r.wbits) { + t.msg = "invalid window size", r.mode = 30; break } - r.dmax = 1 << N, - e.adler = r.check = 1, + r.dmax = 1 << M, + t.adler = r.check = 1, r.mode = 512 & S ? 10 : 12, w = S = 0; break; case 2: for (; w < 16; ) { if (0 === y) - break e; + break t; y--, S += h[b++] << w, w += 8 } if (r.flags = S, 8 != (255 & r.flags)) { - e.msg = "unknown compression method", + t.msg = "unknown compression method", r.mode = 30; break } if (57344 & r.flags) { - e.msg = "unknown header flags set", + t.msg = "unknown header flags set", r.mode = 30; break } r.head && (r.head.text = S >> 8 & 1), - 512 & r.flags && (U[0] = 255 & S, - U[1] = S >>> 8 & 255, - r.check = o(r.check, U, 2, 0)), + 512 & r.flags && (L[0] = 255 & S, + L[1] = S >>> 8 & 255, + r.check = o(r.check, L, 2, 0)), w = S = 0, r.mode = 3; case 3: for (; w < 32; ) { if (0 === y) - break e; + break t; y--, S += h[b++] << w, w += 8 } r.head && (r.head.time = S), - 512 & r.flags && (U[0] = 255 & S, - U[1] = S >>> 8 & 255, - U[2] = S >>> 16 & 255, - U[3] = S >>> 24 & 255, - r.check = o(r.check, U, 4, 0)), + 512 & r.flags && (L[0] = 255 & S, + L[1] = S >>> 8 & 255, + L[2] = S >>> 16 & 255, + L[3] = S >>> 24 & 255, + r.check = o(r.check, L, 4, 0)), w = S = 0, r.mode = 4; case 4: for (; w < 16; ) { if (0 === y) - break e; + break t; y--, S += h[b++] << w, w += 8 } r.head && (r.head.xflags = 255 & S, r.head.os = S >> 8), - 512 & r.flags && (U[0] = 255 & S, - U[1] = S >>> 8 & 255, - r.check = o(r.check, U, 2, 0)), + 512 & r.flags && (L[0] = 255 & S, + L[1] = S >>> 8 & 255, + r.check = o(r.check, L, 2, 0)), w = S = 0, r.mode = 5; case 5: if (1024 & r.flags) { for (; w < 16; ) { if (0 === y) - break e; + break t; y--, S += h[b++] << w, w += 8 } r.length = S, r.head && (r.head.extra_len = S), - 512 & r.flags && (U[0] = 255 & S, - U[1] = S >>> 8 & 255, - r.check = o(r.check, U, 2, 0)), + 512 & r.flags && (L[0] = 255 & S, + L[1] = S >>> 8 & 255, + r.check = o(r.check, L, 2, 0)), w = S = 0 } else r.head && (r.head.extra = null); r.mode = 6; case 6: if (1024 & r.flags && (y < (E = r.length) && (E = y), - E && (r.head && (N = r.head.extra_len - r.length, + E && (r.head && (M = r.head.extra_len - r.length, r.head.extra || (r.head.extra = new Array(r.head.extra_len)), - n.arraySet(r.head.extra, h, b, E, N)), + n.arraySet(r.head.extra, h, b, E, M)), 512 & r.flags && (r.check = o(r.check, h, E, b)), y -= E, b += E, r.length -= E), r.length)) - break e; + break t; r.length = 0, r.mode = 7; case 7: if (2048 & r.flags) { if (0 === y) - break e; - for (E = 0; N = h[b + E++], - r.head && N && r.length < 65536 && (r.head.name += String.fromCharCode(N)), - N && E < y; ) + break t; + for (E = 0; M = h[b + E++], + r.head && M && r.length < 65536 && (r.head.name += String.fromCharCode(M)), + M && E < y; ) ; if (512 & r.flags && (r.check = o(r.check, h, E, b)), y -= E, b += E, - N) - break e + M) + break t } else r.head && (r.head.name = null); r.length = 0, @@ -36365,16 +39439,16 @@ case 8: if (4096 & r.flags) { if (0 === y) - break e; - for (E = 0; N = h[b + E++], - r.head && N && r.length < 65536 && (r.head.comment += String.fromCharCode(N)), - N && E < y; ) + break t; + for (E = 0; M = h[b + E++], + r.head && M && r.length < 65536 && (r.head.comment += String.fromCharCode(M)), + M && E < y; ) ; if (512 & r.flags && (r.check = o(r.check, h, E, b)), y -= E, b += E, - N) - break e + M) + break t } else r.head && (r.head.comment = null); r.mode = 9; @@ -36382,13 +39456,13 @@ if (512 & r.flags) { for (; w < 16; ) { if (0 === y) - break e; + break t; y--, S += h[b++] << w, w += 8 } if (S !== (65535 & r.check)) { - e.msg = "header crc mismatch", + t.msg = "header crc mismatch", r.mode = 30; break } @@ -36396,34 +39470,34 @@ } r.head && (r.head.hcrc = r.flags >> 9 & 1, r.head.done = !0), - e.adler = r.check = 0, + t.adler = r.check = 0, r.mode = 12; break; case 10: for (; w < 32; ) { if (0 === y) - break e; + break t; y--, S += h[b++] << w, w += 8 } - e.adler = r.check = m(S), + t.adler = r.check = m(S), w = S = 0, r.mode = 11; case 11: if (0 === r.havedict) - return e.next_out = g, - e.avail_out = v, - e.next_in = b, - e.avail_in = y, + return t.next_out = g, + t.avail_out = v, + t.next_in = b, + t.avail_in = y, r.hold = S, r.bits = w, 2; - e.adler = r.check = 1, + t.adler = r.check = 1, r.mode = 12; case 12: - if (5 === t || 6 === t) - break e; + if (5 === e || 6 === e) + break t; case 13: if (r.last) { S >>>= 7 & w, @@ -36433,7 +39507,7 @@ } for (; w < 3; ) { if (0 === y) - break e; + break t; y--, S += h[b++] << w, w += 8 @@ -36445,18 +39519,18 @@ r.mode = 14; break; case 1: - if (_(r), + if (A(r), r.mode = 20, - 6 !== t) + 6 !== e) break; S >>>= 2, w -= 2; - break e; + break t; case 2: r.mode = 17; break; case 3: - e.msg = "invalid block type", + t.msg = "invalid block type", r.mode = 30 } S >>>= 2, @@ -36466,21 +39540,21 @@ for (S >>>= 7 & w, w -= 7 & w; w < 32; ) { if (0 === y) - break e; + break t; y--, S += h[b++] << w, w += 8 } if ((65535 & S) != (S >>> 16 ^ 65535)) { - e.msg = "invalid stored block lengths", + t.msg = "invalid stored block lengths", r.mode = 30; break } if (r.length = 65535 & S, w = S = 0, r.mode = 15, - 6 === t) - break e; + 6 === e) + break t; case 15: r.mode = 16; case 16: @@ -36488,7 +39562,7 @@ if (y < E && (E = y), v < E && (E = v), 0 === E) - break e; + break t; n.arraySet(p, h, b, E, g), y -= E, b += E, @@ -36502,7 +39576,7 @@ case 17: for (; w < 14; ) { if (0 === y) - break e; + break t; y--, S += h[b++] << w, w += 8 @@ -36517,7 +39591,7 @@ S >>>= 4, w -= 4, 286 < r.nlen || 30 < r.ndist) { - e.msg = "too many length or distance symbols", + t.msg = "too many length or distance symbols", r.mode = 30; break } @@ -36527,17 +39601,17 @@ for (; r.have < r.ncode; ) { for (; w < 3; ) { if (0 === y) - break e; + break t; y--, S += h[b++] << w, w += 8 } - r.lens[L[r.have++]] = 7 & S, + r.lens[U[r.have++]] = 7 & S, S >>>= 3, w -= 3 } for (; r.have < 19; ) - r.lens[L[r.have++]] = 0; + r.lens[U[r.have++]] = 0; if (r.lencode = r.lendyn, r.lenbits = 7, F = { @@ -36546,7 +39620,7 @@ B = s(0, r.lens, 0, 19, r.lencode, 0, r.work, F), r.lenbits = F.bits, B) { - e.msg = "invalid code lengths set", + t.msg = "invalid code lengths set", r.mode = 30; break } @@ -36558,7 +39632,7 @@ D = 65535 & K, !((P = K >>> 24) <= w); ) { if (0 === y) - break e; + break t; y--, S += h[b++] << w, w += 8 @@ -36571,7 +39645,7 @@ if (16 === D) { for (j = P + 2; w < j; ) { if (0 === y) - break e; + break t; y--, S += h[b++] << w, w += 8 @@ -36579,54 +39653,54 @@ if (S >>>= P, w -= P, 0 === r.have) { - e.msg = "invalid bit length repeat", + t.msg = "invalid bit length repeat", r.mode = 30; break } - N = r.lens[r.have - 1], + M = r.lens[r.have - 1], E = 3 + (3 & S), S >>>= 2, w -= 2 } else if (17 === D) { for (j = P + 3; w < j; ) { if (0 === y) - break e; + break t; y--, S += h[b++] << w, w += 8 } w -= P, - N = 0, + M = 0, E = 3 + (7 & (S >>>= P)), S >>>= 3, w -= 3 } else { for (j = P + 7; w < j; ) { if (0 === y) - break e; + break t; y--, S += h[b++] << w, w += 8 } w -= P, - N = 0, + M = 0, E = 11 + (127 & (S >>>= P)), S >>>= 7, w -= 7 } if (r.have + E > r.nlen + r.ndist) { - e.msg = "invalid bit length repeat", + t.msg = "invalid bit length repeat", r.mode = 30; break } for (; E--; ) - r.lens[r.have++] = N + r.lens[r.have++] = M } } if (30 === r.mode) break; if (0 === r.lens[256]) { - e.msg = "invalid code -- missing end-of-block", + t.msg = "invalid code -- missing end-of-block", r.mode = 30; break } @@ -36637,7 +39711,7 @@ B = s(c, r.lens, 0, r.nlen, r.lencode, 0, r.work, F), r.lenbits = F.bits, B) { - e.msg = "invalid literal/lengths set", + t.msg = "invalid literal/lengths set", r.mode = 30; break } @@ -36649,30 +39723,30 @@ B = s(u, r.lens, r.nlen, r.ndist, r.distcode, 0, r.work, F), r.distbits = F.bits, B) { - e.msg = "invalid distances set", + t.msg = "invalid distances set", r.mode = 30; break } if (r.mode = 20, - 6 === t) - break e; + 6 === e) + break t; case 20: r.mode = 21; case 21: if (6 <= y && 258 <= v) { - e.next_out = g, - e.avail_out = v, - e.next_in = b, - e.avail_in = y, + t.next_out = g, + t.avail_out = v, + t.next_in = b, + t.avail_in = y, r.hold = S, r.bits = w, - a(e, A), - g = e.next_out, - p = e.output, - v = e.avail_out, - b = e.next_in, - h = e.input, - y = e.avail_in, + a(t, _), + g = t.next_out, + p = t.output, + v = t.avail_out, + b = t.next_in, + h = t.input, + y = t.avail_in, S = r.hold, w = r.bits, 12 === r.mode && (r.back = -1); @@ -36682,7 +39756,7 @@ D = 65535 & K, !((P = K >>> 24) <= w); ) { if (0 === y) - break e; + break t; y--, S += h[b++] << w, w += 8 @@ -36690,11 +39764,11 @@ if (k && 0 == (240 & k)) { for (O = P, R = k, - M = D; k = (K = r.lencode[M + ((S & (1 << O + R) - 1) >> O)]) >>> 16 & 255, + N = D; k = (K = r.lencode[N + ((S & (1 << O + R) - 1) >> O)]) >>> 16 & 255, D = 65535 & K, !(O + (P = K >>> 24) <= w); ) { if (0 === y) - break e; + break t; y--, S += h[b++] << w, w += 8 @@ -36717,7 +39791,7 @@ break } if (64 & k) { - e.msg = "invalid literal/length code", + t.msg = "invalid literal/length code", r.mode = 30; break } @@ -36727,7 +39801,7 @@ if (r.extra) { for (j = r.extra; w < j; ) { if (0 === y) - break e; + break t; y--, S += h[b++] << w, w += 8 @@ -36744,7 +39818,7 @@ D = 65535 & K, !((P = K >>> 24) <= w); ) { if (0 === y) - break e; + break t; y--, S += h[b++] << w, w += 8 @@ -36752,11 +39826,11 @@ if (0 == (240 & k)) { for (O = P, R = k, - M = D; k = (K = r.distcode[M + ((S & (1 << O + R) - 1) >> O)]) >>> 16 & 255, + N = D; k = (K = r.distcode[N + ((S & (1 << O + R) - 1) >> O)]) >>> 16 & 255, D = 65535 & K, !(O + (P = K >>> 24) <= w); ) { if (0 === y) - break e; + break t; y--, S += h[b++] << w, w += 8 @@ -36769,7 +39843,7 @@ w -= P, r.back += P, 64 & k) { - e.msg = "invalid distance code", + t.msg = "invalid distance code", r.mode = 30; break } @@ -36780,7 +39854,7 @@ if (r.extra) { for (j = r.extra; w < j; ) { if (0 === y) - break e; + break t; y--, S += h[b++] << w, w += 8 @@ -36791,18 +39865,18 @@ r.back += r.extra } if (r.offset > r.dmax) { - e.msg = "invalid distance too far back", + t.msg = "invalid distance too far back", r.mode = 30; break } r.mode = 25; case 25: if (0 === v) - break e; - if (E = A - v, + break t; + if (E = _ - v, r.offset > E) { if ((E = r.offset - E) > r.whave && r.sane) { - e.msg = "invalid distance too far back", + t.msg = "invalid distance too far back", r.mode = 30; break } @@ -36823,7 +39897,7 @@ break; case 26: if (0 === v) - break e; + break t; p[g++] = r.length, v--, r.mode = 21; @@ -36832,18 +39906,18 @@ if (r.wrap) { for (; w < 32; ) { if (0 === y) - break e; + break t; y--, S |= h[b++] << w, w += 8 } - if (A -= v, - e.total_out += A, - r.total += A, - A && (e.adler = r.check = r.flags ? o(r.check, p, A, g - A) : i(r.check, p, A, g - A)), - A = v, + if (_ -= v, + t.total_out += _, + r.total += _, + _ && (t.adler = r.check = r.flags ? o(r.check, p, _, g - _) : i(r.check, p, _, g - _)), + _ = v, (r.flags ? S : m(S)) !== r.check) { - e.msg = "incorrect data check", + t.msg = "incorrect data check", r.mode = 30; break } @@ -36854,13 +39928,13 @@ if (r.wrap && r.flags) { for (; w < 32; ) { if (0 === y) - break e; + break t; y--, S += h[b++] << w, w += 8 } if (S !== (4294967295 & r.total)) { - e.msg = "incorrect length check", + t.msg = "incorrect length check", r.mode = 30; break } @@ -36869,52 +39943,52 @@ r.mode = 29; case 29: B = 1; - break e; + break t; case 30: B = -3; - break e; + break t; case 31: return -4; case 32: default: return l } - return e.next_out = g, - e.avail_out = v, - e.next_in = b, - e.avail_in = y, + return t.next_out = g, + t.avail_out = v, + t.next_in = b, + t.avail_in = y, r.hold = S, r.bits = w, - (r.wsize || A !== e.avail_out && r.mode < 30 && (r.mode < 27 || 4 !== t)) && I(e, e.output, e.next_out, A - e.avail_out) ? (r.mode = 31, - -4) : (C -= e.avail_in, - A -= e.avail_out, - e.total_in += C, - e.total_out += A, - r.total += A, - r.wrap && A && (e.adler = r.check = r.flags ? o(r.check, p, A, e.next_out - A) : i(r.check, p, A, e.next_out - A)), - e.data_type = r.bits + (r.last ? 64 : 0) + (12 === r.mode ? 128 : 0) + (20 === r.mode || 15 === r.mode ? 256 : 0), - (0 == C && 0 === A || 4 === t) && B === d && (B = -5), + (r.wsize || _ !== t.avail_out && r.mode < 30 && (r.mode < 27 || 4 !== e)) && I(t, t.output, t.next_out, _ - t.avail_out) ? (r.mode = 31, + -4) : (C -= t.avail_in, + _ -= t.avail_out, + t.total_in += C, + t.total_out += _, + r.total += _, + r.wrap && _ && (t.adler = r.check = r.flags ? o(r.check, p, _, t.next_out - _) : i(r.check, p, _, t.next_out - _)), + t.data_type = r.bits + (r.last ? 64 : 0) + (12 === r.mode ? 128 : 0) + (20 === r.mode || 15 === r.mode ? 256 : 0), + (0 == C && 0 === _ || 4 === e) && B === d && (B = -5), B) } , - r.inflateEnd = function(e) { - if (!e || !e.state) + r.inflateEnd = function(t) { + if (!t || !t.state) return l; - var t = e.state; - return t.window && (t.window = null), - e.state = null, + var e = t.state; + return e.window && (e.window = null), + t.state = null, d } , - r.inflateGetHeader = function(e, t) { + r.inflateGetHeader = function(t, e) { var r; - return e && e.state ? 0 == (2 & (r = e.state).wrap) ? l : ((r.head = t).done = !1, + return t && t.state ? 0 == (2 & (r = t.state).wrap) ? l : ((r.head = e).done = !1, d) : l } , - r.inflateSetDictionary = function(e, t) { - var r, n = t.length; - return e && e.state ? 0 !== (r = e.state).wrap && 11 !== r.mode ? l : 11 === r.mode && i(1, t, n, 0) !== r.check ? -3 : I(e, t, n, n) ? (r.mode = 31, + r.inflateSetDictionary = function(t, e) { + var r, n = e.length; + return t && t.state ? 0 !== (r = t.state).wrap && 11 !== r.mode ? l : 11 === r.mode && i(1, e, n, 0) !== r.check ? -3 : I(t, e, n, n) ? (r.mode = 31, -4) : (r.havedict = 1, d) : l } @@ -36928,21 +40002,21 @@ "./inffast": 48, "./inftrees": 50 }], - 50: [function(e, t, r) { + 50: [function(t, e, r) { "use strict"; - var n = e("../utils/common") + var n = t("../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, c, u, d, l, f) { - var h, p, m, b, g, y, v, S, w, C = f.bits, A = 0, _ = 0, I = 0, E = 0, T = 0, x = 0, P = 0, k = 0, D = 0, O = 0, R = null, M = 0, N = new n.Buf16(16), B = new n.Buf16(16), F = null, j = 0; - for (A = 0; A <= 15; A++) - N[A] = 0; - for (_ = 0; _ < c; _++) - N[t[r + _]]++; + e.exports = function(t, e, r, c, u, d, l, f) { + var h, p, m, b, g, y, v, S, w, C = f.bits, _ = 0, A = 0, I = 0, E = 0, T = 0, x = 0, P = 0, k = 0, D = 0, O = 0, R = null, N = 0, M = new n.Buf16(16), B = new n.Buf16(16), F = null, j = 0; + for (_ = 0; _ <= 15; _++) + M[_] = 0; + for (A = 0; A < c; A++) + M[e[r + A]]++; for (T = C, - E = 15; 1 <= E && 0 === N[E]; E--) + E = 15; 1 <= E && 0 === M[E]; E--) ; if (E < T && (T = E), 0 === E) @@ -36950,68 +40024,68 @@ u[d++] = 20971520, f.bits = 1, 0; - for (I = 1; I < E && 0 === N[I]; I++) + for (I = 1; I < E && 0 === M[I]; I++) ; for (T < I && (T = I), - A = k = 1; A <= 15; A++) + _ = k = 1; _ <= 15; _++) if (k <<= 1, - (k -= N[A]) < 0) + (k -= M[_]) < 0) return -1; - if (0 < k && (0 === e || 1 !== E)) + if (0 < k && (0 === t || 1 !== E)) return -1; for (B[1] = 0, - A = 1; A < 15; A++) - B[A + 1] = B[A] + N[A]; - for (_ = 0; _ < c; _++) - 0 !== t[r + _] && (l[B[t[r + _]]++] = _); - if (y = 0 === e ? (R = F = l, - 19) : 1 === e ? (R = i, - M -= 257, + _ = 1; _ < 15; _++) + B[_ + 1] = B[_] + M[_]; + for (A = 0; A < c; A++) + 0 !== e[r + A] && (l[B[e[r + A]]++] = A); + if (y = 0 === t ? (R = F = l, + 19) : 1 === t ? (R = i, + N -= 257, F = o, j -= 257, 256) : (R = a, F = s, -1), - A = I, + _ = I, g = d, - P = _ = O = 0, + P = A = O = 0, m = -1, b = (D = 1 << (x = T)) - 1, - 1 === e && 852 < D || 2 === e && 592 < D) + 1 === t && 852 < D || 2 === t && 592 < D) return 1; for (; ; ) { - for (v = A - P, - w = l[_] < y ? (S = 0, - l[_]) : l[_] > y ? (S = F[j + l[_]], - R[M + l[_]]) : (S = 96, + for (v = _ - P, + w = l[A] < y ? (S = 0, + l[A]) : l[A] > y ? (S = F[j + l[A]], + R[N + l[A]]) : (S = 96, 0), - h = 1 << A - P, + h = 1 << _ - P, I = p = 1 << x; u[g + (O >> P) + (p -= h)] = v << 24 | S << 16 | w | 0, 0 !== p; ) ; - for (h = 1 << A - 1; O & h; ) + for (h = 1 << _ - 1; O & h; ) h >>= 1; if (0 !== h ? (O &= h - 1, O += h) : O = 0, - _++, - 0 == --N[A]) { - if (A === E) + A++, + 0 == --M[_]) { + if (_ === E) break; - A = t[r + l[_]] + _ = e[r + l[A]] } - if (T < A && (O & b) !== m) { + if (T < _ && (O & b) !== m) { for (0 === P && (P = T), g += I, - k = 1 << (x = A - P); x + P < E && !((k -= N[x + P]) <= 0); ) + k = 1 << (x = _ - P); x + P < E && !((k -= M[x + P]) <= 0); ) x++, k <<= 1; if (D += 1 << x, - 1 === e && 852 < D || 2 === e && 592 < D) + 1 === t && 852 < D || 2 === t && 592 < D) return 1; u[m = O & b] = T << 24 | x << 16 | g - d | 0 } } - return 0 !== O && (u[g + O] = A - P << 24 | 64 << 16 | 0), + return 0 !== O && (u[g + O] = _ - P << 24 | 64 << 16 | 0), f.bits = T, 0 } @@ -37019,9 +40093,9 @@ , { "../utils/common": 41 }], - 51: [function(e, t, r) { + 51: [function(t, e, r) { "use strict"; - t.exports = { + e.exports = { 2: "need dictionary", 1: "stream end", 0: "", @@ -37034,14 +40108,14 @@ } } , {}], - 52: [function(e, t, r) { + 52: [function(t, e, r) { "use strict"; - var n = e("../utils/common") + var n = t("../utils/common") , i = 0 , o = 1; - function a(e) { - for (var t = e.length; 0 <= --t; ) - e[t] = 0 + function a(t) { + for (var e = t.length; 0 <= --e; ) + t[e] = 0 } var s = 0 , c = 29 @@ -37059,8 +40133,8 @@ , S = 18 , w = [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] , C = [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] - , A = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 3, 7] - , _ = [16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15] + , _ = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 3, 7] + , A = [16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15] , I = new Array(2 * (d + 2)); a(I); var E = new Array(2 * l); @@ -37072,194 +40146,194 @@ var P = new Array(c); a(P); var k, D, O, R = new Array(l); - function M(e, t, r, n, i) { - this.static_tree = e, - this.extra_bits = t, + function N(t, e, r, n, i) { + this.static_tree = t, + this.extra_bits = e, this.extra_base = r, this.elems = n, this.max_length = i, - this.has_stree = e && e.length + this.has_stree = t && t.length } - function N(e, t) { - this.dyn_tree = e, + function M(t, e) { + this.dyn_tree = t, this.max_code = 0, - this.stat_desc = t + this.stat_desc = e } - function B(e) { - return e < 256 ? T[e] : T[256 + (e >>> 7)] + function B(t) { + return t < 256 ? T[t] : T[256 + (t >>> 7)] } - function F(e, t) { - e.pending_buf[e.pending++] = 255 & t, - e.pending_buf[e.pending++] = t >>> 8 & 255 + function F(t, e) { + t.pending_buf[t.pending++] = 255 & e, + t.pending_buf[t.pending++] = e >>> 8 & 255 } - function j(e, t, r) { - e.bi_valid > m - r ? (e.bi_buf |= t << e.bi_valid & 65535, - F(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 j(t, e, r) { + t.bi_valid > m - r ? (t.bi_buf |= e << t.bi_valid & 65535, + F(t, t.bi_buf), + t.bi_buf = e >> m - t.bi_valid, + t.bi_valid += r - m) : (t.bi_buf |= e << t.bi_valid & 65535, + t.bi_valid += r) } - function K(e, t, r) { - j(e, r[2 * t], r[2 * t + 1]) + function K(t, e, r) { + j(t, r[2 * e], r[2 * e + 1]) } - function U(e, t) { - for (var r = 0; r |= 1 & e, - e >>>= 1, + function L(t, e) { + for (var r = 0; r |= 1 & t, + t >>>= 1, r <<= 1, - 0 < --t; ) + 0 < --e; ) ; return r >>> 1 } - function L(e, t, r) { + function U(t, e, r) { var n, i, o = new Array(p + 1), a = 0; for (n = 1; n <= p; 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)) + for (i = 0; i <= e; i++) { + var s = t[2 * i + 1]; + 0 !== s && (t[2 * i] = L(o[s]++, s)) } } - function X(e) { - var t; - for (t = 0; t < d; t++) - e.dyn_ltree[2 * t] = 0; - for (t = 0; t < l; t++) - e.dyn_dtree[2 * t] = 0; - for (t = 0; t < f; t++) - e.bl_tree[2 * t] = 0; - e.dyn_ltree[2 * g] = 1, - e.opt_len = e.static_len = 0, - e.last_lit = e.matches = 0 + function X(t) { + var e; + for (e = 0; e < d; e++) + t.dyn_ltree[2 * e] = 0; + for (e = 0; e < l; e++) + t.dyn_dtree[2 * e] = 0; + for (e = 0; e < f; e++) + t.bl_tree[2 * e] = 0; + t.dyn_ltree[2 * g] = 1, + t.opt_len = t.static_len = 0, + t.last_lit = t.matches = 0 } - function z(e) { - 8 < e.bi_valid ? F(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 z(t) { + 8 < t.bi_valid ? F(t, t.bi_buf) : 0 < t.bi_valid && (t.pending_buf[t.pending++] = t.bi_buf), + t.bi_buf = 0, + t.bi_valid = 0 } - function G(e, t, r, n) { - var i = 2 * t + function G(t, e, r, n) { + var i = 2 * e , o = 2 * r; - return e[i] < e[o] || e[i] === e[o] && n[t] <= n[r] + return t[i] < t[o] || t[i] === t[o] && n[e] <= n[r] } - function W(e, t, r) { - for (var n = e.heap[r], i = r << 1; i <= e.heap_len && (i < e.heap_len && G(t, e.heap[i + 1], e.heap[i], e.depth) && i++, - !G(t, n, e.heap[i], e.depth)); ) - e.heap[r] = e.heap[i], + function W(t, e, r) { + for (var n = t.heap[r], i = r << 1; i <= t.heap_len && (i < t.heap_len && G(e, t.heap[i + 1], t.heap[i], t.depth) && i++, + !G(e, n, t.heap[i], t.depth)); ) + t.heap[r] = t.heap[i], r = i, i <<= 1; - e.heap[r] = n + t.heap[r] = n } - function q(e, t, r) { + function q(t, e, 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], + if (0 !== t.last_lit) + for (; n = t.pending_buf[t.d_buf + 2 * s] << 8 | t.pending_buf[t.d_buf + 2 * s + 1], + i = t.pending_buf[t.l_buf + s], s++, - 0 === n ? K(e, i, t) : (K(e, (o = x[i]) + u + 1, t), - 0 !== (a = w[o]) && j(e, i -= P[o], a), - K(e, o = B(--n), r), - 0 !== (a = C[o]) && j(e, n -= R[o], a)), - s < e.last_lit; ) + 0 === n ? K(t, i, e) : (K(t, (o = x[i]) + u + 1, e), + 0 !== (a = w[o]) && j(t, i -= P[o], a), + K(t, o = B(--n), r), + 0 !== (a = C[o]) && j(t, n -= R[o], a)), + s < t.last_lit; ) ; - K(e, g, t) + K(t, g, e) } - function H(e, t) { - var r, n, i, o = t.dyn_tree, a = t.stat_desc.static_tree, s = t.stat_desc.has_stree, c = t.stat_desc.elems, u = -1; - for (e.heap_len = 0, - e.heap_max = h, + function V(t, e) { + var r, n, i, o = e.dyn_tree, a = e.stat_desc.static_tree, s = e.stat_desc.has_stree, c = e.stat_desc.elems, u = -1; + for (t.heap_len = 0, + t.heap_max = h, r = 0; r < c; r++) - 0 !== o[2 * r] ? (e.heap[++e.heap_len] = u = r, - e.depth[r] = 0) : o[2 * r + 1] = 0; - for (; e.heap_len < 2; ) - o[2 * (i = e.heap[++e.heap_len] = u < 2 ? ++u : 0)] = 1, - e.depth[i] = 0, - e.opt_len--, - s && (e.static_len -= a[2 * i + 1]); - for (t.max_code = u, - r = e.heap_len >> 1; 1 <= r; r--) - W(e, o, r); - for (i = c; r = e.heap[1], - e.heap[1] = e.heap[e.heap_len--], - W(e, o, 1), - n = e.heap[1], - e.heap[--e.heap_max] = r, - e.heap[--e.heap_max] = n, + 0 !== o[2 * r] ? (t.heap[++t.heap_len] = u = r, + t.depth[r] = 0) : o[2 * r + 1] = 0; + for (; t.heap_len < 2; ) + o[2 * (i = t.heap[++t.heap_len] = u < 2 ? ++u : 0)] = 1, + t.depth[i] = 0, + t.opt_len--, + s && (t.static_len -= a[2 * i + 1]); + for (e.max_code = u, + r = t.heap_len >> 1; 1 <= r; r--) + W(t, o, r); + for (i = c; r = t.heap[1], + t.heap[1] = t.heap[t.heap_len--], + W(t, o, 1), + n = t.heap[1], + t.heap[--t.heap_max] = r, + t.heap[--t.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, + t.depth[i] = (t.depth[r] >= t.depth[n] ? t.depth[r] : t.depth[n]) + 1, o[2 * r + 1] = o[2 * n + 1] = i, - e.heap[1] = i++, - W(e, o, 1), - 2 <= e.heap_len; ) + t.heap[1] = i++, + W(t, o, 1), + 2 <= t.heap_len; ) ; - e.heap[--e.heap_max] = e.heap[1], - function(e, t) { - var r, n, i, o, a, s, c = t.dyn_tree, u = t.max_code, d = t.stat_desc.static_tree, l = t.stat_desc.has_stree, f = t.stat_desc.extra_bits, m = t.stat_desc.extra_base, b = t.stat_desc.max_length, g = 0; + t.heap[--t.heap_max] = t.heap[1], + function(t, e) { + var r, n, i, o, a, s, c = e.dyn_tree, u = e.max_code, d = e.stat_desc.static_tree, l = e.stat_desc.has_stree, f = e.stat_desc.extra_bits, m = e.stat_desc.extra_base, b = e.stat_desc.max_length, g = 0; for (o = 0; o <= p; o++) - e.bl_count[o] = 0; - for (c[2 * e.heap[e.heap_max] + 1] = 0, - r = e.heap_max + 1; r < h; r++) - b < (o = c[2 * c[2 * (n = e.heap[r]) + 1] + 1] + 1) && (o = b, + t.bl_count[o] = 0; + for (c[2 * t.heap[t.heap_max] + 1] = 0, + r = t.heap_max + 1; r < h; r++) + b < (o = c[2 * c[2 * (n = t.heap[r]) + 1] + 1] + 1) && (o = b, g++), c[2 * n + 1] = o, - u < n || (e.bl_count[o]++, + u < n || (t.bl_count[o]++, a = 0, m <= n && (a = f[n - m]), s = c[2 * n], - e.opt_len += s * (o + a), - l && (e.static_len += s * (d[2 * n + 1] + a))); + t.opt_len += s * (o + a), + l && (t.static_len += s * (d[2 * n + 1] + a))); if (0 !== g) { do { - for (o = b - 1; 0 === e.bl_count[o]; ) + for (o = b - 1; 0 === t.bl_count[o]; ) o--; - e.bl_count[o]--, - e.bl_count[o + 1] += 2, - e.bl_count[b]--, + t.bl_count[o]--, + t.bl_count[o + 1] += 2, + t.bl_count[b]--, g -= 2 } while (0 < g); for (o = b; 0 !== o; o--) - for (n = e.bl_count[o]; 0 !== n; ) - u < (i = e.heap[--r]) || (c[2 * i + 1] !== o && (e.opt_len += (o - c[2 * i + 1]) * c[2 * i], + for (n = t.bl_count[o]; 0 !== n; ) + u < (i = t.heap[--r]) || (c[2 * i + 1] !== o && (t.opt_len += (o - c[2 * i + 1]) * c[2 * i], c[2 * i + 1] = o), n--) } - }(e, t), - L(o, u, e.bl_count) + }(t, e), + U(o, u, t.bl_count) } - function V(e, t, r) { - var n, i, o = -1, a = t[1], s = 0, c = 7, u = 4; + function H(t, e, r) { + var n, i, o = -1, a = e[1], s = 0, c = 7, u = 4; for (0 === a && (c = 138, u = 3), - t[2 * (r + 1) + 1] = 65535, + e[2 * (r + 1) + 1] = 65535, n = 0; n <= r; n++) i = a, - a = t[2 * (n + 1) + 1], - ++s < c && i === a || (s < u ? e.bl_tree[2 * i] += s : 0 !== i ? (i !== o && e.bl_tree[2 * i]++, - e.bl_tree[2 * y]++) : s <= 10 ? e.bl_tree[2 * v]++ : e.bl_tree[2 * S]++, + a = e[2 * (n + 1) + 1], + ++s < c && i === a || (s < u ? t.bl_tree[2 * i] += s : 0 !== i ? (i !== o && t.bl_tree[2 * i]++, + t.bl_tree[2 * y]++) : s <= 10 ? t.bl_tree[2 * v]++ : t.bl_tree[2 * S]++, o = i, u = (s = 0) === a ? (c = 138, 3) : i === a ? (c = 6, 3) : (c = 7, 4)) } - function Y(e, t, r) { - var n, i, o = -1, a = t[1], s = 0, c = 7, u = 4; + function Y(t, e, r) { + var n, i, o = -1, a = e[1], s = 0, c = 7, u = 4; for (0 === a && (c = 138, u = 3), n = 0; n <= r; n++) if (i = a, - a = t[2 * (n + 1) + 1], + a = e[2 * (n + 1) + 1], !(++s < c && i === a)) { if (s < u) - for (; K(e, i, e.bl_tree), + for (; K(t, i, t.bl_tree), 0 != --s; ) ; else - 0 !== i ? (i !== o && (K(e, i, e.bl_tree), + 0 !== i ? (i !== o && (K(t, i, t.bl_tree), s--), - K(e, y, e.bl_tree), - j(e, s - 3, 2)) : s <= 10 ? (K(e, v, e.bl_tree), - j(e, s - 3, 3)) : (K(e, S, e.bl_tree), - j(e, s - 11, 7)); + K(t, y, t.bl_tree), + j(t, s - 3, 2)) : s <= 10 ? (K(t, v, t.bl_tree), + j(t, s - 3, 3)) : (K(t, S, t.bl_tree), + j(t, s - 11, 7)); o = i, u = (s = 0) === a ? (c = 138, 3) : i === a ? (c = 6, @@ -37268,145 +40342,145 @@ } } a(R); - var Q = !1; - function Z(e, t, r, i) { - j(e, (s << 1) + (i ? 1 : 0), 3), - function(e, t, r, i) { - z(e), - i && (F(e, r), - F(e, ~r)), - n.arraySet(e.pending_buf, e.window, t, r, e.pending), - e.pending += r - }(e, t, r, !0) + var Z = !1; + function Q(t, e, r, i) { + j(t, (s << 1) + (i ? 1 : 0), 3), + function(t, e, r, i) { + z(t), + i && (F(t, r), + F(t, ~r)), + n.arraySet(t.pending_buf, t.window, e, r, t.pending), + t.pending += r + }(t, e, r, !0) } - r._tr_init = function(e) { - Q || (function() { - var e, t, r, n, i, o = new Array(p + 1); + r._tr_init = function(t) { + Z || (function() { + var t, e, r, n, i, o = new Array(p + 1); for (n = r = 0; n < c - 1; n++) for (P[n] = r, - e = 0; e < 1 << w[n]; e++) + t = 0; t < 1 << w[n]; t++) x[r++] = n; for (x[r - 1] = n, n = i = 0; n < 16; n++) for (R[n] = i, - e = 0; e < 1 << C[n]; e++) + t = 0; t < 1 << C[n]; t++) T[i++] = n; for (i >>= 7; n < l; n++) for (R[n] = i << 7, - e = 0; e < 1 << C[n] - 7; e++) + t = 0; t < 1 << C[n] - 7; t++) T[256 + i++] = n; - for (t = 0; t <= p; t++) - o[t] = 0; - for (e = 0; e <= 143; ) - I[2 * e + 1] = 8, - e++, + for (e = 0; e <= p; e++) + o[e] = 0; + for (t = 0; t <= 143; ) + I[2 * t + 1] = 8, + t++, o[8]++; - for (; e <= 255; ) - I[2 * e + 1] = 9, - e++, + for (; t <= 255; ) + I[2 * t + 1] = 9, + t++, o[9]++; - for (; e <= 279; ) - I[2 * e + 1] = 7, - e++, + for (; t <= 279; ) + I[2 * t + 1] = 7, + t++, o[7]++; - for (; e <= 287; ) - I[2 * e + 1] = 8, - e++, + for (; t <= 287; ) + I[2 * t + 1] = 8, + t++, o[8]++; - for (L(I, d + 1, o), - e = 0; e < l; e++) - E[2 * e + 1] = 5, - E[2 * e] = U(e, 5); - k = new M(I,w,u + 1,d,p), - D = new M(E,C,0,l,p), - O = new M(new Array(0),A,0,f,b) + for (U(I, d + 1, o), + t = 0; t < l; t++) + E[2 * t + 1] = 5, + E[2 * t] = L(t, 5); + k = new N(I,w,u + 1,d,p), + D = new N(E,C,0,l,p), + O = new N(new Array(0),_,0,f,b) }(), - Q = !0), - e.l_desc = new N(e.dyn_ltree,k), - e.d_desc = new N(e.dyn_dtree,D), - e.bl_desc = new N(e.bl_tree,O), - e.bi_buf = 0, - e.bi_valid = 0, - X(e) + Z = !0), + t.l_desc = new M(t.dyn_ltree,k), + t.d_desc = new M(t.dyn_dtree,D), + t.bl_desc = new M(t.bl_tree,O), + t.bi_buf = 0, + t.bi_valid = 0, + X(t) } , - r._tr_stored_block = Z, - r._tr_flush_block = function(e, t, r, n) { + r._tr_stored_block = Q, + r._tr_flush_block = function(t, e, r, n) { var a, s, c = 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++, + 0 < t.level ? (2 === t.strm.data_type && (t.strm.data_type = function(t) { + var e, r = 4093624447; + for (e = 0; e <= 31; e++, r >>>= 1) - if (1 & r && 0 !== e.dyn_ltree[2 * t]) + if (1 & r && 0 !== t.dyn_ltree[2 * e]) return i; - if (0 !== e.dyn_ltree[18] || 0 !== e.dyn_ltree[20] || 0 !== e.dyn_ltree[26]) + if (0 !== t.dyn_ltree[18] || 0 !== t.dyn_ltree[20] || 0 !== t.dyn_ltree[26]) return o; - for (t = 32; t < u; t++) - if (0 !== e.dyn_ltree[2 * t]) + for (e = 32; e < u; e++) + if (0 !== t.dyn_ltree[2 * e]) return o; return i - }(e)), - H(e, e.l_desc), - H(e, e.d_desc), - c = function(e) { - var t; - for (V(e, e.dyn_ltree, e.l_desc.max_code), - V(e, e.dyn_dtree, e.d_desc.max_code), - H(e, e.bl_desc), - t = f - 1; 3 <= t && 0 === e.bl_tree[2 * _[t] + 1]; t--) + }(t)), + V(t, t.l_desc), + V(t, t.d_desc), + c = function(t) { + var e; + for (H(t, t.dyn_ltree, t.l_desc.max_code), + H(t, t.dyn_dtree, t.d_desc.max_code), + V(t, t.bl_desc), + e = f - 1; 3 <= e && 0 === t.bl_tree[2 * A[e] + 1]; e--) ; - 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 ? Z(e, t, r, n) : 4 === e.strategy || s === a ? (j(e, 2 + (n ? 1 : 0), 3), - q(e, I, E)) : (j(e, 4 + (n ? 1 : 0), 3), - function(e, t, r, n) { + return t.opt_len += 3 * (e + 1) + 5 + 5 + 4, + e + }(t), + a = t.opt_len + 3 + 7 >>> 3, + (s = t.static_len + 3 + 7 >>> 3) <= a && (a = s)) : a = s = r + 5, + r + 4 <= a && -1 !== e ? Q(t, e, r, n) : 4 === t.strategy || s === a ? (j(t, 2 + (n ? 1 : 0), 3), + q(t, I, E)) : (j(t, 4 + (n ? 1 : 0), 3), + function(t, e, r, n) { var i; - for (j(e, t - 257, 5), - j(e, r - 1, 5), - j(e, n - 4, 4), + for (j(t, e - 257, 5), + j(t, r - 1, 5), + j(t, n - 4, 4), i = 0; i < n; i++) - j(e, e.bl_tree[2 * _[i] + 1], 3); - Y(e, e.dyn_ltree, t - 1), - Y(e, e.dyn_dtree, r - 1) - }(e, e.l_desc.max_code + 1, e.d_desc.max_code + 1, c + 1), - q(e, e.dyn_ltree, e.dyn_dtree)), - X(e), - n && z(e) + j(t, t.bl_tree[2 * A[i] + 1], 3); + Y(t, t.dyn_ltree, e - 1), + Y(t, t.dyn_dtree, r - 1) + }(t, t.l_desc.max_code + 1, t.d_desc.max_code + 1, c + 1), + q(t, t.dyn_ltree, t.dyn_dtree)), + X(t), + n && z(t) } , - 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 * (x[r] + u + 1)]++, - e.dyn_dtree[2 * B(t)]++), - e.last_lit === e.lit_bufsize - 1 + r._tr_tally = function(t, e, r) { + return t.pending_buf[t.d_buf + 2 * t.last_lit] = e >>> 8 & 255, + t.pending_buf[t.d_buf + 2 * t.last_lit + 1] = 255 & e, + t.pending_buf[t.l_buf + t.last_lit] = 255 & r, + t.last_lit++, + 0 === e ? t.dyn_ltree[2 * r]++ : (t.matches++, + e--, + t.dyn_ltree[2 * (x[r] + u + 1)]++, + t.dyn_dtree[2 * B(e)]++), + t.last_lit === t.lit_bufsize - 1 } , - r._tr_align = function(e) { - j(e, 2, 3), - K(e, g, I), - function(e) { - 16 === e.bi_valid ? (F(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) + r._tr_align = function(t) { + j(t, 2, 3), + K(t, g, I), + function(t) { + 16 === t.bi_valid ? (F(t, t.bi_buf), + t.bi_buf = 0, + t.bi_valid = 0) : 8 <= t.bi_valid && (t.pending_buf[t.pending++] = 255 & t.bi_buf, + t.bi_buf >>= 8, + t.bi_valid -= 8) + }(t) } } , { "../utils/common": 41 }], - 53: [function(e, t, r) { + 53: [function(t, e, r) { "use strict"; - t.exports = function() { + e.exports = function() { this.input = null, this.next_in = 0, this.avail_in = 0, @@ -37422,66 +40496,66 @@ } } , {}], - 54: [function(e, t, i) { - (function(e) { - !function(e, t) { + 54: [function(t, e, i) { + (function(t) { + !function(t, e) { "use strict"; - if (!e.setImmediate) { - var r, i, o, a, s = 1, c = {}, u = !1, d = e.document, l = Object.getPrototypeOf && Object.getPrototypeOf(e); - l = l && l.setTimeout ? l : e, - r = "[object process]" === {}.toString.call(e.process) ? function(e) { + if (!t.setImmediate) { + var r, i, o, a, s = 1, c = {}, u = !1, d = t.document, l = Object.getPrototypeOf && Object.getPrototypeOf(t); + l = l && l.setTimeout ? l : t, + r = "[object process]" === {}.toString.call(t.process) ? function(t) { n.nextTick((function() { - h(e) + h(t) } )) } : function() { - if (e.postMessage && !e.importScripts) { - var t = !0 - , r = e.onmessage; - return e.onmessage = function() { - t = !1 + if (t.postMessage && !t.importScripts) { + var e = !0 + , r = t.onmessage; + return t.onmessage = function() { + e = !1 } , - e.postMessage("", "*"), - e.onmessage = r, - t + t.postMessage("", "*"), + t.onmessage = r, + e } }() ? (a = "setImmediate$" + Math.random() + "$", - e.addEventListener ? e.addEventListener("message", p, !1) : e.attachEvent("onmessage", p), - function(t) { - e.postMessage(a + t, "*") + t.addEventListener ? t.addEventListener("message", p, !1) : t.attachEvent("onmessage", p), + function(e) { + t.postMessage(a + e, "*") } - ) : e.MessageChannel ? ((o = new MessageChannel).port1.onmessage = function(e) { - h(e.data) + ) : t.MessageChannel ? ((o = new MessageChannel).port1.onmessage = function(t) { + h(t.data) } , - function(e) { - o.port2.postMessage(e) + function(t) { + o.port2.postMessage(t) } ) : d && "onreadystatechange"in d.createElement("script") ? (i = d.documentElement, - function(e) { - var t = d.createElement("script"); - t.onreadystatechange = function() { - h(e), - t.onreadystatechange = null, - i.removeChild(t), - t = null + function(t) { + var e = d.createElement("script"); + e.onreadystatechange = function() { + h(t), + e.onreadystatechange = null, + i.removeChild(e), + e = null } , - i.appendChild(t) + i.appendChild(e) } - ) : function(e) { - setTimeout(h, 0, e) + ) : function(t) { + setTimeout(h, 0, t) } , - l.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]; + l.setImmediate = function(t) { + "function" != typeof t && (t = new Function("" + t)); + for (var e = new Array(arguments.length - 1), n = 0; n < e.length; n++) + e[n] = arguments[n + 1]; var i = { - callback: e, - args: t + callback: t, + args: e }; return c[s] = i, r(s), @@ -37490,20 +40564,20 @@ , l.clearImmediate = f } - function f(e) { - delete c[e] + function f(t) { + delete c[t] } - function h(e) { + function h(t) { if (u) - setTimeout(h, 0, e); + setTimeout(h, 0, t); else { - var r = c[e]; + var r = c[t]; if (r) { u = !0; try { - !function(e) { - var r = e.callback - , n = e.args; + !function(t) { + var r = t.callback + , n = t.args; switch (n.length) { case 0: r(); @@ -37518,20 +40592,20 @@ r(n[0], n[1], n[2]); break; default: - r.apply(t, n) + r.apply(e, n) } }(r) } finally { - f(e), + f(t), u = !1 } } } } - function p(t) { - t.source === e && "string" == typeof t.data && 0 === t.data.indexOf(a) && h(+t.data.slice(a.length)) + function p(e) { + e.source === t && "string" == typeof e.data && 0 === e.data.indexOf(a) && h(+e.data.slice(a.length)) } - }("undefined" == typeof self ? void 0 === e ? this : e : self) + }("undefined" == typeof self ? void 0 === t ? this : t : self) } ).call(this, "undefined" != typeof r ? r : "undefined" != typeof self ? self : "undefined" != typeof window ? window : {}) } @@ -37542,7 +40616,7 @@ } ).call(this, r("b639").Buffer, r("c8ba"), r("4362")) }, - c513: function(e, t, r) { + c513: function(t, e, r) { var n = r("23e7") , i = r("1a2d") , o = r("d9b5") @@ -37555,108 +40629,108 @@ stat: !0, forced: !c }, { - keyFor: function(e) { - if (!o(e)) - throw TypeError(a(e) + " is not a symbol"); - if (i(u, e)) - return u[e] + keyFor: function(t) { + if (!o(t)) + throw TypeError(a(t) + " is not a symbol"); + if (i(u, t)) + return u[t] } }) }, - c532: function(e, t, r) { + c532: function(t, e, r) { "use strict"; var n = r("1d2b") , i = Object.prototype.toString; - function o(e) { - return "[object Array]" === i.call(e) + function o(t) { + return "[object Array]" === i.call(t) } - function a(e) { - return "undefined" === typeof e + function a(t) { + return "undefined" === typeof t } - function s(e) { - return null !== e && !a(e) && null !== e.constructor && !a(e.constructor) && "function" === typeof e.constructor.isBuffer && e.constructor.isBuffer(e) + function s(t) { + return null !== t && !a(t) && null !== t.constructor && !a(t.constructor) && "function" === typeof t.constructor.isBuffer && t.constructor.isBuffer(t) } - function c(e) { - return "[object ArrayBuffer]" === i.call(e) + function c(t) { + return "[object ArrayBuffer]" === i.call(t) } - function u(e) { - return "undefined" !== typeof FormData && e instanceof FormData + function u(t) { + return "undefined" !== typeof FormData && t instanceof FormData } - function d(e) { - var t; - return t = "undefined" !== typeof ArrayBuffer && ArrayBuffer.isView ? ArrayBuffer.isView(e) : e && e.buffer && e.buffer instanceof ArrayBuffer, - t + function d(t) { + var e; + return e = "undefined" !== typeof ArrayBuffer && ArrayBuffer.isView ? ArrayBuffer.isView(t) : t && t.buffer && t.buffer instanceof ArrayBuffer, + e } - function l(e) { - return "string" === typeof e + function l(t) { + return "string" === typeof t } - function f(e) { - return "number" === typeof e + function f(t) { + return "number" === typeof t } - function h(e) { - return null !== e && "object" === typeof e + function h(t) { + return null !== t && "object" === typeof t } - function p(e) { - if ("[object Object]" !== i.call(e)) + function p(t) { + if ("[object Object]" !== i.call(t)) return !1; - var t = Object.getPrototypeOf(e); - return null === t || t === Object.prototype + var e = Object.getPrototypeOf(t); + return null === e || e === Object.prototype } - function m(e) { - return "[object Date]" === i.call(e) + function m(t) { + return "[object Date]" === i.call(t) } - function b(e) { - return "[object File]" === i.call(e) + function b(t) { + return "[object File]" === i.call(t) } - function g(e) { - return "[object Blob]" === i.call(e) + function g(t) { + return "[object Blob]" === i.call(t) } - function y(e) { - return "[object Function]" === i.call(e) + function y(t) { + return "[object Function]" === i.call(t) } - function v(e) { - return h(e) && y(e.pipe) + function v(t) { + return h(t) && y(t.pipe) } - function S(e) { - return "undefined" !== typeof URLSearchParams && e instanceof URLSearchParams + function S(t) { + return "undefined" !== typeof URLSearchParams && t instanceof URLSearchParams } - function w(e) { - return e.replace(/^\s*/, "").replace(/\s*$/, "") + function w(t) { + return t.replace(/^\s*/, "").replace(/\s*$/, "") } function C() { return ("undefined" === typeof navigator || "ReactNative" !== navigator.product && "NativeScript" !== navigator.product && "NS" !== navigator.product) && ("undefined" !== typeof window && "undefined" !== typeof document) } - function A(e, t) { - if (null !== e && "undefined" !== typeof e) - if ("object" !== typeof e && (e = [e]), - o(e)) - for (var r = 0, n = e.length; r < n; r++) - t.call(null, e[r], r, e); + function _(t, e) { + if (null !== t && "undefined" !== typeof t) + if ("object" !== typeof t && (t = [t]), + o(t)) + for (var r = 0, n = t.length; r < n; r++) + e.call(null, t[r], r, t); else - for (var i in e) - Object.prototype.hasOwnProperty.call(e, i) && t.call(null, e[i], i, e) + for (var i in t) + Object.prototype.hasOwnProperty.call(t, i) && e.call(null, t[i], i, t) } - function _() { - var e = {}; - function t(t, r) { - p(e[r]) && p(t) ? e[r] = _(e[r], t) : p(t) ? e[r] = _({}, t) : o(t) ? e[r] = t.slice() : e[r] = t + function A() { + var t = {}; + function e(e, r) { + p(t[r]) && p(e) ? t[r] = A(t[r], e) : p(e) ? t[r] = A({}, e) : o(e) ? t[r] = e.slice() : t[r] = e } for (var r = 0, n = arguments.length; r < n; r++) - A(arguments[r], t); - return e + _(arguments[r], e); + return t } - function I(e, t, r) { - return A(t, (function(t, i) { - e[i] = r && "function" === typeof t ? n(t, r) : t + function I(t, e, r) { + return _(e, (function(e, i) { + t[i] = r && "function" === typeof e ? n(e, r) : e } )), - e + t } - function E(e) { - return 65279 === e.charCodeAt(0) && (e = e.slice(1)), - e + function E(t) { + return 65279 === t.charCodeAt(0) && (t = t.slice(1)), + t } - e.exports = { + t.exports = { isArray: o, isArrayBuffer: c, isBuffer: s, @@ -37674,63 +40748,63 @@ isStream: v, isURLSearchParams: S, isStandardBrowserEnv: C, - forEach: A, - merge: _, + forEach: _, + merge: A, extend: I, trim: w, stripBOM: E } }, - c65b: function(e, t, r) { + c65b: function(t, e, r) { var n = r("40d5") , i = Function.prototype.call; - e.exports = n ? i.bind(i) : function() { + t.exports = n ? i.bind(i) : function() { return i.apply(i, arguments) } }, - c6b6: function(e, t, r) { + c6b6: function(t, e, r) { var n = r("e330") , i = n({}.toString) , o = n("".slice); - e.exports = function(e) { - return o(i(e), 8, -1) + t.exports = function(t) { + return o(i(t), 8, -1) } }, - c6cd: function(e, t, r) { + c6cd: function(t, e, r) { var n = r("da84") , i = r("ce4e") , o = "__core-js_shared__" , a = n[o] || i(o, {}); - e.exports = a + t.exports = a }, - c770: function(e, t, r) { + c770: function(t, e, r) { var n = r("e330") , i = Error , o = n("".replace) - , a = function(e) { - return String(i(e).stack) + , a = function(t) { + return String(i(t).stack) }("zxcasd") , s = /\n\s*at [^:]*:[^\n]*/ , c = s.test(a); - e.exports = function(e, t) { - if (c && "string" == typeof e && !i.prepareStackTrace) - while (t--) - e = o(e, s, ""); - return e + t.exports = function(t, e) { + if (c && "string" == typeof t && !i.prepareStackTrace) + while (e--) + t = o(t, s, ""); + return t } }, - c8af: function(e, t, r) { + c8af: function(t, e, r) { "use strict"; var n = r("c532"); - e.exports = function(e, t) { - n.forEach(e, (function(r, n) { - n !== t && n.toUpperCase() === t.toUpperCase() && (e[t] = r, - delete e[n]) + t.exports = function(t, e) { + n.forEach(t, (function(r, n) { + n !== e && n.toUpperCase() === e.toUpperCase() && (t[e] = r, + delete t[n]) } )) } }, - c8ba: function(e, t) { + c8ba: function(t, e) { var r; r = function() { return this @@ -37740,25 +40814,25 @@ } catch (n) { "object" === typeof window && (r = window) } - e.exports = r + t.exports = r }, - ca84: function(e, t, r) { + ca84: function(t, e, r) { var n = r("e330") , i = r("1a2d") , o = r("fc6a") , a = r("4d64").indexOf , s = r("d012") , c = n([].push); - e.exports = function(e, t) { - var r, n = o(e), u = 0, d = []; + t.exports = function(t, e) { + var r, n = o(t), u = 0, d = []; for (r in n) !i(s, r) && i(n, r) && c(d, r); - while (t.length > u) - i(n, r = t[u++]) && (~a(d, r) || c(d, r)); + while (e.length > u) + i(n, r = e[u++]) && (~a(d, r) || c(d, r)); return d } }, - caad: function(e, t, r) { + caad: function(t, e, r) { "use strict"; var n = r("23e7") , i = r("4d64").includes @@ -37773,93 +40847,93 @@ proto: !0, forced: s }, { - includes: function(e) { - return i(this, e, arguments.length > 1 ? arguments[1] : void 0) + includes: function(t) { + return i(this, t, arguments.length > 1 ? arguments[1] : void 0) } }), a("includes") }, - cb1f: function(e, t, r) { + cb1f: function(t, e, r) { var n; n = function() { "use strict"; - var e = 1e13; - function t(e) { - this.buf = [+e || 0] + var t = 1e13; + function e(t) { + this.buf = [+t || 0] } - return t.prototype.mulAdd = function(t, r) { + return e.prototype.mulAdd = function(e, r) { var n, i, o = this.buf, a = o.length; for (n = 0; n < a; ++n) - i = o[n] * t + r, - i < e ? r = 0 : (r = 0 | i / e, - i -= r * e), + i = o[n] * e + r, + i < t ? r = 0 : (r = 0 | i / t, + i -= r * t), o[n] = i; r > 0 && (o[n] = r) } , - t.prototype.sub = function(t) { + e.prototype.sub = function(e) { var r, n, i = this.buf, o = i.length; for (r = 0; r < o; ++r) - n = i[r] - t, - n < 0 ? (n += e, - t = 1) : t = 0, + n = i[r] - e, + n < 0 ? (n += t, + e = 1) : e = 0, i[r] = n; while (0 === i[i.length - 1]) i.pop() } , - t.prototype.toString = function(t) { - if (10 != (t || 10)) + e.prototype.toString = function(e) { + if (10 != (e || 10)) throw "only base 10 is supported"; for (var r = this.buf, n = r[r.length - 1].toString(), i = r.length - 2; i >= 0; --i) - n += (e + r[i]).toString().substring(1); + n += (t + r[i]).toString().substring(1); return n } , - t.prototype.valueOf = function() { - for (var t = this.buf, r = 0, n = t.length - 1; n >= 0; --n) - r = r * e + t[n]; + e.prototype.valueOf = function() { + for (var e = this.buf, r = 0, n = e.length - 1; n >= 0; --n) + r = r * t + e[n]; return r } , - t.prototype.simplify = function() { - var e = this.buf; - return 1 == e.length ? e[0] : this + e.prototype.simplify = function() { + var t = this.buf; + return 1 == t.length ? t[0] : this } , - t + e } - .call(t, r, t, e), - void 0 === n || (e.exports = n) + .call(e, r, e, t), + void 0 === n || (t.exports = n) }, - cb2d: function(e, t, r) { + cb2d: function(t, e, r) { var n = r("da84") , i = r("1626") , o = r("9112") , a = r("13d2") , s = r("ce4e"); - e.exports = function(e, t, r, c) { + t.exports = function(t, e, r, c) { var u = !!c && !!c.unsafe , d = !!c && !!c.enumerable , l = !!c && !!c.noTargetGet - , f = c && void 0 !== c.name ? c.name : t; + , f = c && void 0 !== c.name ? c.name : e; return i(r) && a(r, f, c), - e === n ? (d ? e[t] = r : s(t, r), - e) : (u ? !l && e[t] && (d = !0) : delete e[t], - d ? e[t] = r : o(e, t, r), - e) + t === n ? (d ? t[e] = r : s(e, r), + t) : (u ? !l && t[e] && (d = !0) : delete t[e], + d ? t[e] = r : o(t, e, r), + t) } }, - cc12: function(e, t, r) { + cc12: function(t, e, 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) : {} + t.exports = function(t) { + return a ? o.createElement(t) : {} } }, - cc98: function(e, t, r) { + cc98: function(t, e, r) { "use strict"; var n = r("23e7") , i = r("c430") @@ -37875,8 +40949,8 @@ forced: o, real: !0 }, { - catch: function(e) { - return this.then(void 0, e) + catch: function(t) { + return this.then(void 0, t) } }), !i && c(a)) { @@ -37886,7 +40960,7 @@ }) } }, - cca6: function(e, t, r) { + cca6: function(t, e, r) { var n = r("23e7") , i = r("60da"); n({ @@ -37898,7 +40972,7 @@ assign: i }) }, - cd38: function(e, t, r) { + cd38: function(t, e, r) { "use strict"; const n = r("90da").buildOptions , i = { @@ -37911,16 +40985,16 @@ format: !1, indentBy: " ", supressEmptyNode: !1, - tagValueProcessor: function(e) { - return e + tagValueProcessor: function(t) { + return t }, - attrValueProcessor: function(e) { - return e + attrValueProcessor: function(t) { + return t } } , o = ["attributeNamePrefix", "attrNodeName", "textNodeName", "ignoreAttributes", "cdataTagName", "cdataPositionChar", "format", "indentBy", "supressEmptyNode", "tagValueProcessor", "attrValueProcessor"]; - function a(e) { - this.options = n(e, i, o), + function a(t) { + this.options = n(t, i, o), this.options.ignoreAttributes || this.options.attrNodeName ? this.isAttribute = function() { return !1 } @@ -37946,86 +41020,86 @@ this.buildTextValNode = l, this.buildObjectNode = u } - function s(e, t) { - return e = this.options.tagValueProcessor("" + e), - "" === this.options.cdataPositionChar || "" === e ? e + ""); - return e + this.newLine + function c(t, e) { + if (t = this.options.tagValueProcessor("" + t), + "" === this.options.cdataPositionChar || "" === t) + return t + ""); + return t + this.newLine } - function u(e, t, r, n) { - return r && !e.includes("<") ? this.indentate(n) + "<" + t + r + ">" + e + "" + t + "" + this.options.tagValueProcessor(e) + "" + this.options.tagValueProcessor(t) + "= 0; n--) { - var i = e[n]; - "." === i ? e.splice(n, 1) : ".." === i ? (e.splice(n, 1), - r++) : r && (e.splice(n, 1), + df7c: function(t, e, r) { + (function(t) { + function r(t, e) { + for (var r = 0, n = t.length - 1; n >= 0; n--) { + var i = t[n]; + "." === i ? t.splice(n, 1) : ".." === i ? (t.splice(n, 1), + r++) : r && (t.splice(n, 1), r--) } - if (t) + if (e) for (; r--; r) - e.unshift(".."); - return e + t.unshift(".."); + return t } - 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)) { + function n(t) { + "string" !== typeof t && (t += ""); + var e, r = 0, n = -1, i = !0; + for (e = t.length - 1; e >= 0; --e) + if (47 === t.charCodeAt(e)) { if (!i) { - r = t + 1; + r = e + 1; break } } else -1 === n && (i = !1, - n = t + 1); - return -1 === n ? "" : e.slice(r, n) + n = e + 1); + return -1 === n ? "" : t.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]); + function i(t, e) { + if (t.filter) + return t.filter(e); + for (var r = [], n = 0; n < t.length; n++) + e(t[n], n, t) && r.push(t[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(); + e.resolve = function() { + for (var e = "", n = !1, o = arguments.length - 1; o >= -1 && !n; o--) { + var a = o >= 0 ? arguments[o] : t.cwd(); if ("string" !== typeof a) throw new TypeError("Arguments to path.resolve must be strings"); - a && (t = a + "/" + t, + a && (e = a + "/" + e, n = "/" === a.charAt(0)) } - return t = r(i(t.split("/"), (function(e) { - return !!e + return e = r(i(e.split("/"), (function(t) { + return !!t } )), !n).join("/"), - (n ? "/" : "") + t || "." + (n ? "/" : "") + e || "." } , - t.normalize = function(e) { - var n = t.isAbsolute(e) - , a = "/" === o(e, -1); - return e = r(i(e.split("/"), (function(e) { - return !!e + e.normalize = function(t) { + var n = e.isAbsolute(t) + , a = "/" === o(t, -1); + return t = r(i(t.split("/"), (function(t) { + return !!t } )), !n).join("/"), - e || n || (e = "."), - e && a && (e += "/"), - (n ? "/" : "") + e + t || n || (t = "."), + t && a && (t += "/"), + (n ? "/" : "") + t } , - t.isAbsolute = function(e) { - return "/" === e.charAt(0) + e.isAbsolute = function(t) { + return "/" === t.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) + e.join = function() { + var t = Array.prototype.slice.call(arguments, 0); + return e.normalize(i(t, (function(t, e) { + if ("string" !== typeof t) throw new TypeError("Arguments to path.join must be strings"); - return e + return t } )).join("/")) } , - t.relative = function(e, r) { - function n(e) { - for (var t = 0; t < e.length; t++) - if ("" !== e[t]) + e.relative = function(t, r) { + function n(t) { + for (var e = 0; e < t.length; e++) + if ("" !== t[e]) break; - for (var r = e.length - 1; r >= 0; r--) - if ("" !== e[r]) + for (var r = t.length - 1; r >= 0; r--) + if ("" !== t[r]) break; - return t > r ? [] : e.slice(t, r - t + 1) + return e > r ? [] : t.slice(e, r - e + 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, c = 0; c < a; c++) + t = e.resolve(t).substr(1), + r = e.resolve(r).substr(1); + for (var i = n(t.split("/")), o = n(r.split("/")), a = Math.min(i.length, o.length), s = a, c = 0; c < a; c++) if (i[c] !== o[c]) { s = c; break @@ -38675,57 +41749,57 @@ u.join("/") } , - t.sep = "/", - t.delimiter = ":", - t.dirname = function(e) { - if ("string" !== typeof e && (e += ""), - 0 === e.length) + e.sep = "/", + e.delimiter = ":", + e.dirname = function(t) { + if ("string" !== typeof t && (t += ""), + 0 === t.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) { + for (var e = t.charCodeAt(0), r = 47 === e, n = -1, i = !0, o = t.length - 1; o >= 1; --o) + if (e = t.charCodeAt(o), + 47 === e) { if (!i) { n = o; break } } else i = !1; - return -1 === n ? r ? "/" : "." : r && 1 === n ? "/" : e.slice(0, n) + return -1 === n ? r ? "/" : "." : r && 1 === n ? "/" : t.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)), + e.basename = function(t, e) { + var r = n(t); + return e && r.substr(-1 * e.length) === e && (r = r.substr(0, r.length - e.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); + e.extname = function(t) { + "string" !== typeof t && (t += ""); + for (var e = -1, r = 0, n = -1, i = !0, o = 0, a = t.length - 1; a >= 0; --a) { + var s = t.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); + 46 === s ? -1 === e ? e = a : 1 !== o && (o = 1) : -1 !== e && (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) + return -1 === e || -1 === n || 0 === o || 1 === o && e === n - 1 && e === r + 1 ? "" : t.slice(e, n) } ; - var o = "b" === "ab".substr(-1) ? function(e, t, r) { - return e.substr(t, r) + var o = "b" === "ab".substr(-1) ? function(t, e, r) { + return t.substr(e, r) } - : function(e, t, r) { - return t < 0 && (t = e.length + t), - e.substr(t, r) + : function(t, e, r) { + return e < 0 && (e = t.length + e), + t.substr(e, r) } } ).call(this, r("4362")) }, - e01a: function(e, t, r) { + e01a: function(t, e, r) { "use strict"; var n = r("23e7") , i = r("83ab") @@ -38742,10 +41816,10 @@ if (i && c(h) && (!("description"in p) || void 0 !== h().description)) { var m = {} , b = function() { - var e = arguments.length < 1 || void 0 === arguments[0] ? void 0 : d(arguments[0]) - , t = u(p, this) ? new h(e) : void 0 === e ? h() : h(e); - return "" === e && (m[t] = !0), - t + var t = arguments.length < 1 || void 0 === arguments[0] ? void 0 : d(arguments[0]) + , e = u(p, this) ? new h(t) : void 0 === t ? h() : h(t); + return "" === t && (m[e] = !0), + e }; f(b, h), b.prototype = p, @@ -38759,11 +41833,11 @@ l(p, "description", { configurable: !0, get: function() { - var e = v(this) - , t = y(e); - if (s(m, e)) + var t = v(this) + , e = y(t); + if (s(m, t)) return ""; - var r = g ? C(t, 7, -1) : w(t, S, "$1"); + var r = g ? C(e, 7, -1) : w(e, S, "$1"); return "" === r ? void 0 : r } }), @@ -38776,7 +41850,7 @@ }) } }, - e163: function(e, t, r) { + e163: function(t, e, r) { var n = r("da84") , i = r("1a2d") , o = r("1626") @@ -38786,24 +41860,24 @@ , u = s("IE_PROTO") , d = n.Object , l = d.prototype; - e.exports = c ? d.getPrototypeOf : function(e) { - var t = a(e); - if (i(t, u)) - return t[u]; - var r = t.constructor; - return o(r) && t instanceof r ? r.prototype : t instanceof d ? l : null + t.exports = c ? d.getPrototypeOf : function(t) { + var e = a(t); + if (i(e, u)) + return e[u]; + var r = e.constructor; + return o(r) && e instanceof r ? r.prototype : e instanceof d ? l : null } }, - e177: function(e, t, r) { + e177: function(t, e, r) { var n = r("d039"); - e.exports = !n((function() { - function e() {} - return e.prototype.constructor = null, - Object.getPrototypeOf(new e) !== e.prototype + t.exports = !n((function() { + function t() {} + return t.prototype.constructor = null, + Object.getPrototypeOf(new t) !== t.prototype } )) }, - e260: function(e, t, r) { + e260: function(t, e, r) { "use strict"; var n = r("fc6a") , i = r("44d2") @@ -38816,20 +41890,20 @@ , l = "Array Iterator" , f = a.set , h = a.getterFor(l); - e.exports = c(Array, "Array", (function(e, t) { + t.exports = c(Array, "Array", (function(t, e) { f(this, { type: l, - target: n(e), + target: n(t), index: 0, - kind: t + kind: e }) } ), (function() { - var e = h(this) - , t = e.target - , r = e.kind - , n = e.index++; - return !t || n >= t.length ? (e.target = void 0, + var t = h(this) + , e = t.target + , r = t.kind + , n = t.index++; + return !e || n >= e.length ? (t.target = void 0, { value: void 0, done: !0 @@ -38837,10 +41911,10 @@ value: n, done: !1 } : "values" == r ? { - value: t[n], + value: e[n], done: !1 } : { - value: [n, t[n]], + value: [n, e[n]], done: !1 } } @@ -38856,59 +41930,59 @@ }) } catch (m) {} }, - e330: function(e, t, r) { + e330: function(t, e, r) { var n = r("40d5") , i = Function.prototype , o = i.bind , a = i.call , s = n && o.bind(a, a); - e.exports = n ? function(e) { - return e && s(e) + t.exports = n ? function(t) { + return t && s(t) } - : function(e) { - return e && function() { - return a.apply(e, arguments) + : function(t) { + return t && function() { + return a.apply(t, arguments) } } }, - e391: function(e, t, r) { + e391: function(t, e, r) { var n = r("577e"); - e.exports = function(e, t) { - return void 0 === e ? arguments.length < 2 ? "" : t : n(e) + t.exports = function(t, e) { + return void 0 === t ? arguments.length < 2 ? "" : e : n(t) } }, - e3db: function(e, t) { + e3db: function(t, e) { var r = {}.toString; - e.exports = Array.isArray || function(e) { - return "[object Array]" == r.call(e) + t.exports = Array.isArray || function(t) { + return "[object Array]" == r.call(t) } }, - e538: function(e, t, r) { + e538: function(t, e, r) { var n = r("b622"); - t.f = n + e.f = n }, - e667: function(e, t) { - e.exports = function(e) { + e667: function(t, e) { + t.exports = function(t) { try { return { error: !1, - value: e() + value: t() } - } catch (t) { + } catch (e) { return { error: !0, - value: t + value: e } } } }, - e683: function(e, t, r) { + e683: function(t, e, r) { "use strict"; - e.exports = function(e, t) { - return t ? e.replace(/\/+$/, "") + "/" + t.replace(/^\/+/, "") : e + t.exports = function(t, e) { + return e ? t.replace(/\/+$/, "") + "/" + e.replace(/^\/+/, "") : t } }, - e6cf: function(e, t, r) { + e6cf: function(t, e, r) { r("5e7e"), r("14e5"), r("cc98"), @@ -38916,34 +41990,34 @@ r("f22b"), r("7149") }, - e893: function(e, t, r) { + e893: function(t, e, r) { var n = r("1a2d") , i = r("56ef") , o = r("06cf") , a = r("9bf2"); - e.exports = function(e, t, r) { - for (var s = i(t), c = a.f, u = o.f, d = 0; d < s.length; d++) { + t.exports = function(t, e, r) { + for (var s = i(e), c = a.f, u = o.f, d = 0; d < s.length; d++) { var l = s[d]; - n(e, l) || r && n(r, l) || c(e, l, u(t, l)) + n(t, l) || r && n(r, l) || c(t, l, u(e, l)) } } }, - e8b5: function(e, t, r) { + e8b5: function(t, e, r) { var n = r("c6b6"); - e.exports = Array.isArray || function(e) { - return "Array" == n(e) + t.exports = Array.isArray || function(t) { + return "Array" == n(t) } }, - e95a: function(e, t, r) { + e95a: function(t, e, 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) + t.exports = function(t) { + return void 0 !== t && (i.Array === t || a[o] === t) } }, - e9c4: function(e, t, r) { + e9c4: function(t, e, r) { var n = r("23e7") , i = r("d066") , o = r("2ba4") @@ -38964,63 +42038,63 @@ , S = s(1..toString) , w = /[\uD800-\uDFFF]/g , C = /^[\uD800-\uDBFF]$/ - , A = /^[\uDC00-\uDFFF]$/ - , _ = !p || c((function() { - var e = i("Symbol")(); - return "[null]" != m([e]) || "{}" != m({ - a: e - }) || "{}" != m(Object(e)) + , _ = /^[\uDC00-\uDFFF]$/ + , A = !p || c((function() { + var t = i("Symbol")(); + return "[null]" != m([t]) || "{}" != m({ + a: t + }) || "{}" != m(Object(t)) } )) , I = c((function() { return '"\\udf06\\ud834"' !== m("\udf06\ud834") || '"\\udead"' !== m("\udead") } )) - , E = function(e, t) { + , E = function(t, e) { var r = h(arguments) - , n = t; - if ((l(t) || void 0 !== e) && !f(e)) - return u(t) || (t = function(e, t) { - if (d(n) && (t = a(n, this, e, t)), - !f(t)) - return t + , n = e; + if ((l(e) || void 0 !== t) && !f(t)) + return u(e) || (e = function(t, e) { + if (d(n) && (e = a(n, this, t, e)), + !f(e)) + return e } ), - r[1] = t, + r[1] = e, o(m, null, r) } - , T = function(e, t, r) { - var n = g(r, t - 1) - , i = g(r, t + 1); - return b(C, e) && !b(A, i) || b(A, e) && !b(C, n) ? "\\u" + S(y(e, 0), 16) : e + , T = function(t, e, r) { + var n = g(r, e - 1) + , i = g(r, e + 1); + return b(C, t) && !b(_, i) || b(_, t) && !b(C, n) ? "\\u" + S(y(t, 0), 16) : t }; m && n({ target: "JSON", stat: !0, arity: 3, - forced: _ || I + forced: A || I }, { - stringify: function(e, t, r) { + stringify: function(t, e, r) { var n = h(arguments) - , i = o(_ ? E : m, null, n); + , i = o(A ? E : m, null, n); return I && "string" == typeof i ? v(i, w, T) : i } }) }, - eac5: function(e, t, r) { + eac5: function(t, e, r) { var n = r("861d") , i = Math.floor; - e.exports = Number.isInteger || function(e) { - return !n(e) && isFinite(e) && i(e) === e + t.exports = Number.isInteger || function(t) { + return !n(t) && isFinite(t) && i(t) === t } }, - eb73: function(e, t, r) { + eb73: function(t, e, r) { r("6c57"), - e.exports = r("da84") + t.exports = r("da84") }, - ebb5: function(e, t, r) { + ebb5: function(t, e, r) { "use strict"; - var n, i, o, a = r("a981"), s = r("83ab"), c = r("da84"), u = r("1626"), d = r("861d"), l = r("1a2d"), f = r("f5df"), h = r("0d51"), p = r("9112"), m = r("cb2d"), b = r("9bf2").f, g = r("3a9b"), y = r("e163"), v = r("d2bb"), S = r("b622"), w = r("90e3"), C = c.Int8Array, A = C && C.prototype, _ = c.Uint8ClampedArray, I = _ && _.prototype, E = C && y(C), T = A && y(A), x = Object.prototype, P = c.TypeError, k = S("toStringTag"), D = w("TYPED_ARRAY_TAG"), O = w("TYPED_ARRAY_CONSTRUCTOR"), R = a && !!v && "Opera" !== f(c.opera), M = !1, N = { + var n, i, o, a = r("a981"), s = r("83ab"), c = r("da84"), u = r("1626"), d = r("861d"), l = r("1a2d"), f = r("f5df"), h = r("0d51"), p = r("9112"), m = r("cb2d"), b = r("9bf2").f, g = r("3a9b"), y = r("e163"), v = r("d2bb"), S = r("b622"), w = r("90e3"), C = c.Int8Array, _ = C && C.prototype, A = c.Uint8ClampedArray, I = A && A.prototype, E = C && y(C), T = _ && y(_), x = Object.prototype, P = c.TypeError, k = S("toStringTag"), D = w("TYPED_ARRAY_TAG"), O = w("TYPED_ARRAY_CONSTRUCTOR"), R = a && !!v && "Opera" !== f(c.opera), N = !1, M = { Int8Array: 1, Uint8Array: 1, Uint8ClampedArray: 1, @@ -39033,63 +42107,63 @@ }, B = { BigInt64Array: 8, BigUint64Array: 8 - }, F = function(e) { - if (!d(e)) + }, F = function(t) { + if (!d(t)) return !1; - var t = f(e); - return "DataView" === t || l(N, t) || l(B, t) - }, j = function(e) { - if (!d(e)) + var e = f(t); + return "DataView" === e || l(M, e) || l(B, e) + }, j = function(t) { + if (!d(t)) return !1; - var t = f(e); - return l(N, t) || l(B, t) - }, K = function(e) { - if (j(e)) - return e; + var e = f(t); + return l(M, e) || l(B, e) + }, K = function(t) { + if (j(t)) + return t; throw P("Target is not a typed array") - }, U = function(e) { - if (u(e) && (!v || g(E, e))) - return e; - throw P(h(e) + " is not a typed array constructor") - }, L = function(e, t, r, n) { + }, L = function(t) { + if (u(t) && (!v || g(E, t))) + return t; + throw P(h(t) + " is not a typed array constructor") + }, U = function(t, e, r, n) { if (s) { if (r) - for (var i in N) { + for (var i in M) { var o = c[i]; - if (o && l(o.prototype, e)) + if (o && l(o.prototype, t)) try { - delete o.prototype[e] + delete o.prototype[t] } catch (a) { try { - o.prototype[e] = t + o.prototype[t] = e } catch (u) {} } } - T[e] && !r || m(T, e, r ? t : R && A[e] || t, n) + T[t] && !r || m(T, t, r ? e : R && _[t] || e, n) } - }, X = function(e, t, r) { + }, X = function(t, e, r) { var n, i; if (s) { if (v) { if (r) - for (n in N) + for (n in M) if (i = c[n], - i && l(i, e)) + i && l(i, t)) try { - delete i[e] + delete i[t] } catch (o) {} - if (E[e] && !r) + if (E[t] && !r) return; try { - return m(E, e, r ? t : R && E[e] || t) + return m(E, t, r ? e : R && E[t] || e) } catch (o) {} } - for (n in N) + for (n in M) i = c[n], - !i || i[e] && !r || m(i, e, t) + !i || i[t] && !r || m(i, t, e) } }; - for (n in N) + for (n in M) i = c[n], o = i && i.prototype, o ? p(o, O, i) : R = !1; @@ -39102,29 +42176,29 @@ } , R)) - for (n in N) + for (n in M) c[n] && v(c[n], E); if ((!R || !T || T === x) && (T = E.prototype, R)) - for (n in N) + for (n in M) c[n] && v(c[n].prototype, T); if (R && y(I) !== T && v(I, T), s && !l(T, k)) - for (n in M = !0, + for (n in N = !0, b(T, k, { get: function() { return d(this) ? this[D] : void 0 } }), - N) + M) c[n] && p(c[n], D, n); - e.exports = { + t.exports = { NATIVE_ARRAY_BUFFER_VIEWS: R, TYPED_ARRAY_CONSTRUCTOR: O, - TYPED_ARRAY_TAG: M && D, + TYPED_ARRAY_TAG: N && D, aTypedArray: K, - aTypedArrayConstructor: U, - exportTypedArrayMethod: L, + aTypedArrayConstructor: L, + exportTypedArrayMethod: U, exportTypedArrayStaticMethod: X, isView: F, isTypedArray: j, @@ -39132,50 +42206,50 @@ TypedArrayPrototype: T } }, - edd0: function(e, t, r) { + edd0: function(t, e, r) { var n = r("13d2") , i = r("9bf2"); - e.exports = function(e, t, r) { - return r.get && n(r.get, t, { + t.exports = function(t, e, r) { + return r.get && n(r.get, e, { getter: !0 }), - r.set && n(r.set, t, { + r.set && n(r.set, e, { setter: !0 }), - i.f(e, t, r) + i.f(t, e, r) } }, - ee42: function(e, t, r) { + ee42: function(t, e, r) { r("e260"), r("d3b7"), r("1fe2"); var n = r("428f"); - e.exports = n.WeakSet + t.exports = n.WeakSet }, - efe9: function(e, t, r) { + efe9: function(t, e, r) { var n = r("746f"); n("isConcatSpreadable") }, - f069: function(e, t, r) { + f069: function(t, e, r) { "use strict"; var n = r("59ed") - , i = function(e) { - var t, r; - this.promise = new e((function(e, n) { - if (void 0 !== t || void 0 !== r) + , i = function(t) { + var e, r; + this.promise = new t((function(t, n) { + if (void 0 !== e || void 0 !== r) throw TypeError("Bad Promise constructor"); - t = e, + e = t, r = n } )), - this.resolve = n(t), + this.resolve = n(e), this.reject = n(r) }; - e.exports.f = function(e) { - return new i(e) + t.exports.f = function(t) { + return new i(t) } }, - f183: function(e, t, r) { + f183: function(t, e, r) { var n = r("23e7") , i = r("e330") , o = r("d012") @@ -39190,52 +42264,52 @@ , p = !1 , m = f("meta") , b = 0 - , g = function(e) { - c(e, m, { + , g = function(t) { + c(t, m, { value: { objectID: "O" + b++, weakData: {} } }) } - , y = function(e, t) { - if (!a(e)) - return "symbol" == typeof e ? e : ("string" == typeof e ? "S" : "P") + e; - if (!s(e, m)) { - if (!l(e)) + , y = function(t, e) { + if (!a(t)) + return "symbol" == typeof t ? t : ("string" == typeof t ? "S" : "P") + t; + if (!s(t, m)) { + if (!l(t)) return "F"; - if (!t) + if (!e) return "E"; - g(e) + g(t) } - return e[m].objectID + return t[m].objectID } - , v = function(e, t) { - if (!s(e, m)) { - if (!l(e)) + , v = function(t, e) { + if (!s(t, m)) { + if (!l(t)) return !0; - if (!t) + if (!e) return !1; - g(e) + g(t) } - return e[m].weakData + return t[m].weakData } - , S = function(e) { - return h && p && l(e) && !s(e, m) && g(e), - e + , S = function(t) { + return h && p && l(t) && !s(t, m) && g(t), + t } , w = function() { C.enable = function() {} , p = !0; - var e = u.f - , t = i([].splice) + var t = u.f + , e = i([].splice) , r = {}; r[m] = 1, - e(r).length && (u.f = function(r) { - for (var n = e(r), i = 0, o = n.length; i < o; i++) + t(r).length && (u.f = function(r) { + for (var n = t(r), i = 0, o = n.length; i < o; i++) if (n[i] === m) { - t(n, i, 1); + e(n, i, 1); break } return n @@ -39249,7 +42323,7 @@ getOwnPropertyNames: d.f })) } - , C = e.exports = { + , C = t.exports = { enable: w, fastKey: y, getWeakData: v, @@ -39257,7 +42331,7 @@ }; o[m] = !0 }, - f22b: function(e, t, r) { + f22b: function(t, e, r) { "use strict"; var n = r("23e7") , i = r("c65b") @@ -39268,36 +42342,36 @@ stat: !0, forced: a }, { - reject: function(e) { - var t = o.f(this); - return i(t.reject, void 0, e), - t.promise + reject: function(t) { + var e = o.f(this); + return i(e.reject, void 0, t), + e.promise } }) }, - f2e6: function(e, t, r) { + f2e6: function(t, e, r) { r("8ba4"); var n = r("428f"); - e.exports = n.Number.isInteger + t.exports = n.Number.isInteger }, - f36a: function(e, t, r) { + f36a: function(t, e, r) { var n = r("e330"); - e.exports = n([].slice) + t.exports = n([].slice) }, - f480: function(e, t, r) { + f480: function(t, e, r) { "use strict"; - e.exports = function(e, t, r) { - this.tagname = e, - this.parent = t, + t.exports = function(t, e, r) { + this.tagname = t, + this.parent = e, this.child = {}, this.attrsMap = {}, this.val = r, - this.addChild = function(e) { - Array.isArray(this.child[e.tagname]) ? this.child[e.tagname].push(e) : this.child[e.tagname] = [e] + this.addChild = function(t) { + Array.isArray(this.child[t.tagname]) ? this.child[t.tagname].push(t) : this.child[t.tagname] = [t] } } }, - f5b2: function(e, t, r) { + f5b2: function(t, e, r) { "use strict"; var n = r("23e7") , i = r("6547").codeAt; @@ -39305,12 +42379,12 @@ target: "String", proto: !0 }, { - codePointAt: function(e) { - return i(this, e) + codePointAt: function(t) { + return i(this, t) } }) }, - f5df: function(e, t, r) { + f5df: function(t, e, r) { var n = r("da84") , i = r("00ee") , o = r("1626") @@ -39321,44 +42395,44 @@ , d = "Arguments" == a(function() { return arguments }()) - , l = function(e, t) { + , l = function(t, e) { try { - return e[t] + return t[e] } catch (r) {} }; - e.exports = i ? a : function(e) { - var t, r, n; - return void 0 === e ? "Undefined" : null === e ? "Null" : "string" == typeof (r = l(t = u(e), c)) ? r : d ? a(t) : "Object" == (n = a(t)) && o(t.callee) ? "Arguments" : n + t.exports = i ? a : function(t) { + var e, r, n; + return void 0 === t ? "Undefined" : null === t ? "Null" : "string" == typeof (r = l(e = u(t), c)) ? r : d ? a(e) : "Object" == (n = a(e)) && o(e.callee) ? "Arguments" : n } }, - f6b4: function(e, t, r) { + f6b4: function(t, e, r) { "use strict"; var n = r("c532"); function i() { this.handlers = [] } - i.prototype.use = function(e, t) { + i.prototype.use = function(t, e) { return this.handlers.push({ - fulfilled: e, - rejected: t + fulfilled: t, + rejected: e }), this.handlers.length - 1 } , - i.prototype.eject = function(e) { - this.handlers[e] && (this.handlers[e] = null) + i.prototype.eject = function(t) { + this.handlers[t] && (this.handlers[t] = null) } , - i.prototype.forEach = function(e) { - n.forEach(this.handlers, (function(t) { - null !== t && e(t) + i.prototype.forEach = function(t) { + n.forEach(this.handlers, (function(e) { + null !== e && t(e) } )) } , - e.exports = i + t.exports = i }, - f6d6: function(e, t, r) { + f6d6: function(t, e, r) { var n = r("23e7") , i = r("da84") , o = r("e330") @@ -39374,27 +42448,27 @@ arity: 1, forced: l }, { - fromCodePoint: function(e) { - var t, r = [], n = arguments.length, i = 0; + fromCodePoint: function(t) { + var e, r = [], n = arguments.length, i = 0; while (n > i) { - if (t = +arguments[i++], - a(t, 1114111) !== t) - throw s(t + " is not a valid code point"); - r[i] = t < 65536 ? c(t) : c(55296 + ((t -= 65536) >> 10), t % 1024 + 56320) + if (e = +arguments[i++], + a(e, 1114111) !== e) + throw s(e + " is not a valid code point"); + r[i] = e < 65536 ? c(e) : c(55296 + ((e -= 65536) >> 10), e % 1024 + 56320) } return d(r, "") } }) }, - f772: function(e, t, r) { + f772: function(t, e, r) { var n = r("5692") , i = r("90e3") , o = n("keys"); - e.exports = function(e) { - return o[e] || (o[e] = i(e)) + t.exports = function(t) { + return o[t] || (o[t] = i(t)) } }, - f8c9: function(e, t, r) { + f8c9: function(t, e, r) { var n = r("23e7") , i = r("da84") , o = r("d44e"); @@ -39405,38 +42479,42 @@ }), o(i.Reflect, "Reflect", !0) }, - fae3: function(e, t, r) { + fae3: function(t, e, r) { "use strict"; - if (r.r(t), - r.d(t, "setRenderMode", (function() { - return a["f"] - } - )), - r.d(t, "setServerUrl", (function() { - return a["h"] - } - )), - r.d(t, "ofdParse", (function() { - return a["c"] - } - )), - r.d(t, "ofdRender", (function() { - return a["d"] - } - )), - r.d(t, "ofdRenderByScale", (function() { - return a["e"] - } - )), - r.d(t, "setScaleValue", (function() { + if (r.r(e), + r.d(e, "setRenderMode", (function() { return a["g"] } )), - r.d(t, "getScaleValue", (function() { + r.d(e, "setServerUrl", (function() { + return a["i"] + } + )), + r.d(e, "setLicense", (function() { + return a["f"] + } + )), + r.d(e, "ofdParse", (function() { + return a["c"] + } + )), + r.d(e, "ofdRender", (function() { + return a["d"] + } + )), + r.d(e, "ofdRenderByScale", (function() { + return a["e"] + } + )), + r.d(e, "setScaleValue", (function() { + return a["h"] + } + )), + r.d(e, "getScaleValue", (function() { return a["b"] } )), - r.d(t, "getDocumentProperties", (function() { + r.d(e, "getDocumentProperties", (function() { return a["a"] } )), @@ -39452,16 +42530,16 @@ } var a = r("81a2") }, - fc6a: function(e, t, r) { + fc6a: function(t, e, r) { var n = r("44ad") , i = r("1d80"); - e.exports = function(e) { - return n(i(e)) + t.exports = function(t) { + return n(i(t)) } }, - fdbf: function(e, t, r) { + fdbf: function(t, e, r) { var n = r("4930"); - e.exports = n && !Symbol.sham && "symbol" == typeof Symbol.iterator + t.exports = n && !Symbol.sham && "symbol" == typeof Symbol.iterator } }) }