@sheetxl/studio-vanilla
Version:
SheetXL Studio - Vanilla entry point for integrating SheetXL UI.
1,329 lines (1,328 loc) • 105 kB
JavaScript
import { a as z } from "./ESo6qTbjf45cfiLm.js";
import { r as H, m as k } from "./BjUnH-Jak3KkxyMS.js";
import { i as Ju, u as Qu, f as Zu, B as ts, h as xu, m as es, j as _t } from "./Dm24M4tfHrPDHOCg.js";
/**
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.6.4
*
* (C) 2025-present SheetXL Inc. & Michael T. Ford
* License: The license can be found at https://www.sheetxl.com/license.
*/
const wt = xu(es());
function qt(e) {
return (qt = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(r) {
return typeof r;
} : function(r) {
return r && typeof Symbol == "function" && r.constructor === Symbol && r !== Symbol.prototype ? "symbol" : typeof r;
})(e);
}
var rs = /^\s+/, ns = /\s+$/;
function j(e, r) {
if (r = r || {}, (e = e || "") instanceof j) return e;
if (!(this instanceof j)) return new j(e, r);
var t, n, o, f, i, u, a, l, h, b, p, g = (i = { r: 0, g: 0, b: 0 }, u = 1, a = null, l = null, h = null, b = !1, p = !1, typeof (t = e) == "string" && (t = function(c) {
c = c.replace(rs, "").replace(ns, "").toLowerCase();
var s, d = !1;
if (Vt[c]) c = Vt[c], d = !0;
else if (c == "transparent") return { r: 0, g: 0, b: 0, a: 0, format: "name" };
return (s = I.rgb.exec(c)) ? { r: s[1], g: s[2], b: s[3] } : (s = I.rgba.exec(c)) ? { r: s[1], g: s[2], b: s[3], a: s[4] } : (s = I.hsl.exec(c)) ? { h: s[1], s: s[2], l: s[3] } : (s = I.hsla.exec(c)) ? { h: s[1], s: s[2], l: s[3], a: s[4] } : (s = I.hsv.exec(c)) ? { h: s[1], s: s[2], v: s[3] } : (s = I.hsva.exec(c)) ? { h: s[1], s: s[2], v: s[3], a: s[4] } : (s = I.hex8.exec(c)) ? { r: N(s[1]), g: N(s[2]), b: N(s[3]), a: ve(s[4]), format: d ? "name" : "hex8" } : (s = I.hex6.exec(c)) ? { r: N(s[1]), g: N(s[2]), b: N(s[3]), format: d ? "name" : "hex" } : (s = I.hex4.exec(c)) ? { r: N(s[1] + "" + s[1]), g: N(s[2] + "" + s[2]), b: N(s[3] + "" + s[3]), a: ve(s[4] + "" + s[4]), format: d ? "name" : "hex8" } : !!(s = I.hex3.exec(c)) && { r: N(s[1] + "" + s[1]), g: N(s[2] + "" + s[2]), b: N(s[3] + "" + s[3]), format: d ? "name" : "hex" };
}(t)), qt(t) == "object" && (Q(t.r) && Q(t.g) && Q(t.b) ? (n = t.r, o = t.g, f = t.b, i = { r: 255 * D(n, 255), g: 255 * D(o, 255), b: 255 * D(f, 255) }, b = !0, p = String(t.r).substr(-1) === "%" ? "prgb" : "rgb") : Q(t.h) && Q(t.s) && Q(t.v) ? (a = vt(t.s), l = vt(t.v), i = function(c, s, d) {
c = 6 * D(c, 360), s = D(s, 100), d = D(d, 100);
var v = Math.floor(c), y = c - v, _ = d * (1 - s), m = d * (1 - y * s), w = d * (1 - (1 - y) * s), C = v % 6;
return { r: 255 * [d, m, _, _, w, d][C], g: 255 * [w, d, d, m, _, _][C], b: 255 * [_, _, w, d, d, m][C] };
}(t.h, a, l), b = !0, p = "hsv") : Q(t.h) && Q(t.s) && Q(t.l) && (a = vt(t.s), h = vt(t.l), i = function(c, s, d) {
var v, y, _;
function m(A, P, O) {
return O < 0 && (O += 1), O > 1 && (O -= 1), O < 1 / 6 ? A + 6 * (P - A) * O : O < 0.5 ? P : O < 2 / 3 ? A + (P - A) * (2 / 3 - O) * 6 : A;
}
if (c = D(c, 360), s = D(s, 100), d = D(d, 100), s === 0) v = y = _ = d;
else {
var w = d < 0.5 ? d * (1 + s) : d + s - d * s, C = 2 * d - w;
v = m(C, w, c + 1 / 3), y = m(C, w, c), _ = m(C, w, c - 1 / 3);
}
return { r: 255 * v, g: 255 * y, b: 255 * _ };
}(t.h, a, h), b = !0, p = "hsl"), t.hasOwnProperty("a") && (u = t.a)), u = ju(u), { ok: b, format: t.format || p, r: Math.min(255, Math.max(i.r, 0)), g: Math.min(255, Math.max(i.g, 0)), b: Math.min(255, Math.max(i.b, 0)), a: u });
this._originalInput = e, this._r = g.r, this._g = g.g, this._b = g.b, this._a = g.a, this._roundA = Math.round(100 * this._a) / 100, this._format = r.format || g.format, this._gradientType = r.gradientType, this._r < 1 && (this._r = Math.round(this._r)), this._g < 1 && (this._g = Math.round(this._g)), this._b < 1 && (this._b = Math.round(this._b)), this._ok = g.ok;
}
function le(e, r, t) {
e = D(e, 255), r = D(r, 255), t = D(t, 255);
var n, o, f = Math.max(e, r, t), i = Math.min(e, r, t), u = (f + i) / 2;
if (f == i) n = o = 0;
else {
var a = f - i;
switch (o = u > 0.5 ? a / (2 - f - i) : a / (f + i), f) {
case e:
n = (r - t) / a + (r < t ? 6 : 0);
break;
case r:
n = (t - e) / a + 2;
break;
case t:
n = (e - r) / a + 4;
}
n /= 6;
}
return { h: n, s: o, l: u };
}
function he(e, r, t) {
e = D(e, 255), r = D(r, 255), t = D(t, 255);
var n, o, f = Math.max(e, r, t), i = Math.min(e, r, t), u = f, a = f - i;
if (o = f === 0 ? 0 : a / f, f == i) n = 0;
else {
switch (f) {
case e:
n = (r - t) / a + (r < t ? 6 : 0);
break;
case r:
n = (t - e) / a + 2;
break;
case t:
n = (e - r) / a + 4;
}
n /= 6;
}
return { h: n, s: o, v: u };
}
function pe(e, r, t, n) {
var o = [V(Math.round(e).toString(16)), V(Math.round(r).toString(16)), V(Math.round(t).toString(16))];
return n && o[0].charAt(0) == o[0].charAt(1) && o[1].charAt(0) == o[1].charAt(1) && o[2].charAt(0) == o[2].charAt(1) ? o[0].charAt(0) + o[1].charAt(0) + o[2].charAt(0) : o.join("");
}
function de(e, r, t, n) {
return [V(Ou(n)), V(Math.round(e).toString(16)), V(Math.round(r).toString(16)), V(Math.round(t).toString(16))].join("");
}
function os(e, r) {
r = r === 0 ? 0 : r || 10;
var t = j(e).toHsl();
return t.s -= r / 100, t.s = Lt(t.s), j(t);
}
function as(e, r) {
r = r === 0 ? 0 : r || 10;
var t = j(e).toHsl();
return t.s += r / 100, t.s = Lt(t.s), j(t);
}
function is(e) {
return j(e).desaturate(100);
}
function us(e, r) {
r = r === 0 ? 0 : r || 10;
var t = j(e).toHsl();
return t.l += r / 100, t.l = Lt(t.l), j(t);
}
function ss(e, r) {
r = r === 0 ? 0 : r || 10;
var t = j(e).toRgb();
return t.r = Math.max(0, Math.min(255, t.r - Math.round(-r / 100 * 255))), t.g = Math.max(0, Math.min(255, t.g - Math.round(-r / 100 * 255))), t.b = Math.max(0, Math.min(255, t.b - Math.round(-r / 100 * 255))), j(t);
}
function cs(e, r) {
r = r === 0 ? 0 : r || 10;
var t = j(e).toHsl();
return t.l -= r / 100, t.l = Lt(t.l), j(t);
}
function fs(e, r) {
var t = j(e).toHsl(), n = (t.h + r) % 360;
return t.h = n < 0 ? 360 + n : n, j(t);
}
function ls(e) {
var r = j(e).toHsl();
return r.h = (r.h + 180) % 360, j(r);
}
function be(e, r) {
if (isNaN(r) || r <= 0) throw new Error("Argument to polyad must be a positive number");
for (var t = j(e).toHsl(), n = [j(e)], o = 360 / r, f = 1; f < r; f++) n.push(j({ h: (t.h + f * o) % 360, s: t.s, l: t.l }));
return n;
}
function hs(e) {
var r = j(e).toHsl(), t = r.h;
return [j(e), j({ h: (t + 72) % 360, s: r.s, l: r.l }), j({ h: (t + 216) % 360, s: r.s, l: r.l })];
}
function ps(e, r, t) {
r = r || 6, t = t || 30;
var n = j(e).toHsl(), o = 360 / t, f = [j(e)];
for (n.h = (n.h - (o * r >> 1) + 720) % 360; --r; ) n.h = (n.h + o) % 360, f.push(j(n));
return f;
}
function ds(e, r) {
r = r || 6;
for (var t = j(e).toHsv(), n = t.h, o = t.s, f = t.v, i = [], u = 1 / r; r--; ) i.push(j({ h: n, s: o, v: f })), f = (f + u) % 1;
return i;
}
j.prototype = { isDark: function() {
return this.getBrightness() < 128;
}, isLight: function() {
return !this.isDark();
}, isValid: function() {
return this._ok;
}, getOriginalInput: function() {
return this._originalInput;
}, getFormat: function() {
return this._format;
}, getAlpha: function() {
return this._a;
}, getBrightness: function() {
var e = this.toRgb();
return (299 * e.r + 587 * e.g + 114 * e.b) / 1e3;
}, getLuminance: function() {
var e, r, t, n = this.toRgb();
return e = n.r / 255, r = n.g / 255, t = n.b / 255, 0.2126 * (e <= 0.03928 ? e / 12.92 : Math.pow((e + 0.055) / 1.055, 2.4)) + 0.7152 * (r <= 0.03928 ? r / 12.92 : Math.pow((r + 0.055) / 1.055, 2.4)) + 0.0722 * (t <= 0.03928 ? t / 12.92 : Math.pow((t + 0.055) / 1.055, 2.4));
}, setAlpha: function(e) {
return this._a = ju(e), this._roundA = Math.round(100 * this._a) / 100, this;
}, toHsv: function() {
var e = he(this._r, this._g, this._b);
return { h: 360 * e.h, s: e.s, v: e.v, a: this._a };
}, toHsvString: function() {
var e = he(this._r, this._g, this._b), r = Math.round(360 * e.h), t = Math.round(100 * e.s), n = Math.round(100 * e.v);
return this._a == 1 ? "hsv(" + r + ", " + t + "%, " + n + "%)" : "hsva(" + r + ", " + t + "%, " + n + "%, " + this._roundA + ")";
}, toHsl: function() {
var e = le(this._r, this._g, this._b);
return { h: 360 * e.h, s: e.s, l: e.l, a: this._a };
}, toHslString: function() {
var e = le(this._r, this._g, this._b), r = Math.round(360 * e.h), t = Math.round(100 * e.s), n = Math.round(100 * e.l);
return this._a == 1 ? "hsl(" + r + ", " + t + "%, " + n + "%)" : "hsla(" + r + ", " + t + "%, " + n + "%, " + this._roundA + ")";
}, toHex: function(e) {
return pe(this._r, this._g, this._b, e);
}, toHexString: function(e) {
return "#" + this.toHex(e);
}, toHex8: function(e) {
return r = this._r, t = this._g, n = this._b, o = this._a, f = e, i = [V(Math.round(r).toString(16)), V(Math.round(t).toString(16)), V(Math.round(n).toString(16)), V(Ou(o))], f && i[0].charAt(0) == i[0].charAt(1) && i[1].charAt(0) == i[1].charAt(1) && i[2].charAt(0) == i[2].charAt(1) && i[3].charAt(0) == i[3].charAt(1) ? i[0].charAt(0) + i[1].charAt(0) + i[2].charAt(0) + i[3].charAt(0) : i.join("");
var r, t, n, o, f, i;
}, toHex8String: function(e) {
return "#" + this.toHex8(e);
}, toRgb: function() {
return { r: Math.round(this._r), g: Math.round(this._g), b: Math.round(this._b), a: this._a };
}, toRgbString: function() {
return this._a == 1 ? "rgb(" + Math.round(this._r) + ", " + Math.round(this._g) + ", " + Math.round(this._b) + ")" : "rgba(" + Math.round(this._r) + ", " + Math.round(this._g) + ", " + Math.round(this._b) + ", " + this._roundA + ")";
}, toPercentageRgb: function() {
return { r: Math.round(100 * D(this._r, 255)) + "%", g: Math.round(100 * D(this._g, 255)) + "%", b: Math.round(100 * D(this._b, 255)) + "%", a: this._a };
}, toPercentageRgbString: function() {
return this._a == 1 ? "rgb(" + Math.round(100 * D(this._r, 255)) + "%, " + Math.round(100 * D(this._g, 255)) + "%, " + Math.round(100 * D(this._b, 255)) + "%)" : "rgba(" + Math.round(100 * D(this._r, 255)) + "%, " + Math.round(100 * D(this._g, 255)) + "%, " + Math.round(100 * D(this._b, 255)) + "%, " + this._roundA + ")";
}, toName: function() {
return this._a === 0 ? "transparent" : !(this._a < 1) && (bs[pe(this._r, this._g, this._b, !0)] || !1);
}, toFilter: function(e) {
var r = "#" + de(this._r, this._g, this._b, this._a), t = r, n = this._gradientType ? "GradientType = 1, " : "";
if (e) {
var o = j(e);
t = "#" + de(o._r, o._g, o._b, o._a);
}
return "progid:DXImageTransform.Microsoft.gradient(" + n + "startColorstr=" + r + ",endColorstr=" + t + ")";
}, toString: function(e) {
var r = !!e;
e = e || this._format;
var t = !1, n = this._a < 1 && this._a >= 0;
return r || !n || e !== "hex" && e !== "hex6" && e !== "hex3" && e !== "hex4" && e !== "hex8" && e !== "name" ? (e === "rgb" && (t = this.toRgbString()), e === "prgb" && (t = this.toPercentageRgbString()), e !== "hex" && e !== "hex6" || (t = this.toHexString()), e === "hex3" && (t = this.toHexString(!0)), e === "hex4" && (t = this.toHex8String(!0)), e === "hex8" && (t = this.toHex8String()), e === "name" && (t = this.toName()), e === "hsl" && (t = this.toHslString()), e === "hsv" && (t = this.toHsvString()), t || this.toHexString()) : e === "name" && this._a === 0 ? this.toName() : this.toRgbString();
}, clone: function() {
return j(this.toString());
}, _applyModification: function(e, r) {
var t = e.apply(null, [this].concat([].slice.call(r)));
return this._r = t._r, this._g = t._g, this._b = t._b, this.setAlpha(t._a), this;
}, lighten: function() {
return this._applyModification(us, arguments);
}, brighten: function() {
return this._applyModification(ss, arguments);
}, darken: function() {
return this._applyModification(cs, arguments);
}, desaturate: function() {
return this._applyModification(os, arguments);
}, saturate: function() {
return this._applyModification(as, arguments);
}, greyscale: function() {
return this._applyModification(is, arguments);
}, spin: function() {
return this._applyModification(fs, arguments);
}, _applyCombination: function(e, r) {
return e.apply(null, [this].concat([].slice.call(r)));
}, analogous: function() {
return this._applyCombination(ps, arguments);
}, complement: function() {
return this._applyCombination(ls, arguments);
}, monochromatic: function() {
return this._applyCombination(ds, arguments);
}, splitcomplement: function() {
return this._applyCombination(hs, arguments);
}, triad: function() {
return this._applyCombination(be, [3]);
}, tetrad: function() {
return this._applyCombination(be, [4]);
} }, j.fromRatio = function(e, r) {
if (qt(e) == "object") {
var t = {};
for (var n in e) e.hasOwnProperty(n) && (t[n] = n === "a" ? e[n] : vt(e[n]));
e = t;
}
return j(e, r);
}, j.equals = function(e, r) {
return !(!e || !r) && j(e).toRgbString() == j(r).toRgbString();
}, j.random = function() {
return j.fromRatio({ r: Math.random(), g: Math.random(), b: Math.random() });
}, j.mix = function(e, r, t) {
t = t === 0 ? 0 : t || 50;
var n = j(e).toRgb(), o = j(r).toRgb(), f = t / 100;
return j({ r: (o.r - n.r) * f + n.r, g: (o.g - n.g) * f + n.g, b: (o.b - n.b) * f + n.b, a: (o.a - n.a) * f + n.a });
}, j.readability = function(e, r) {
var t = j(e), n = j(r);
return (Math.max(t.getLuminance(), n.getLuminance()) + 0.05) / (Math.min(t.getLuminance(), n.getLuminance()) + 0.05);
}, j.isReadable = function(e, r, t) {
var n, o, f, i, u, a = j.readability(e, r);
switch (o = !1, (f = t, (i = ((f = f || { level: "AA", size: "small" }).level || "AA").toUpperCase()) !== "AA" && i !== "AAA" && (i = "AA"), (u = (f.size || "small").toLowerCase()) !== "small" && u !== "large" && (u = "small"), n = { level: i, size: u }).level + n.size) {
case "AAsmall":
case "AAAlarge":
o = a >= 4.5;
break;
case "AAlarge":
o = a >= 3;
break;
case "AAAsmall":
o = a >= 7;
}
return o;
}, j.mostReadable = function(e, r, t) {
var n, o, f, i, u = null, a = 0;
o = (t = t || {}).includeFallbackColors, f = t.level, i = t.size;
for (var l = 0; l < r.length; l++) (n = j.readability(e, r[l])) > a && (a = n, u = j(r[l]));
return j.isReadable(e, u, { level: f, size: i }) || !o ? u : (t.includeFallbackColors = !1, j.mostReadable(e, ["#fff", "#000"], t));
};
var Vt = j.names = { aliceblue: "f0f8ff", antiquewhite: "faebd7", aqua: "0ff", aquamarine: "7fffd4", azure: "f0ffff", beige: "f5f5dc", bisque: "ffe4c4", black: "000", blanchedalmond: "ffebcd", blue: "00f", blueviolet: "8a2be2", brown: "a52a2a", burlywood: "deb887", burntsienna: "ea7e5d", cadetblue: "5f9ea0", chartreuse: "7fff00", chocolate: "d2691e", coral: "ff7f50", cornflowerblue: "6495ed", cornsilk: "fff8dc", crimson: "dc143c", cyan: "0ff", darkblue: "00008b", darkcyan: "008b8b", darkgoldenrod: "b8860b", darkgray: "a9a9a9", darkgreen: "006400", darkgrey: "a9a9a9", darkkhaki: "bdb76b", darkmagenta: "8b008b", darkolivegreen: "556b2f", darkorange: "ff8c00", darkorchid: "9932cc", darkred: "8b0000", darksalmon: "e9967a", darkseagreen: "8fbc8f", darkslateblue: "483d8b", darkslategray: "2f4f4f", darkslategrey: "2f4f4f", darkturquoise: "00ced1", darkviolet: "9400d3", deeppink: "ff1493", deepskyblue: "00bfff", dimgray: "696969", dimgrey: "696969", dodgerblue: "1e90ff", firebrick: "b22222", floralwhite: "fffaf0", forestgreen: "228b22", fuchsia: "f0f", gainsboro: "dcdcdc", ghostwhite: "f8f8ff", gold: "ffd700", goldenrod: "daa520", gray: "808080", green: "008000", greenyellow: "adff2f", grey: "808080", honeydew: "f0fff0", hotpink: "ff69b4", indianred: "cd5c5c", indigo: "4b0082", ivory: "fffff0", khaki: "f0e68c", lavender: "e6e6fa", lavenderblush: "fff0f5", lawngreen: "7cfc00", lemonchiffon: "fffacd", lightblue: "add8e6", lightcoral: "f08080", lightcyan: "e0ffff", lightgoldenrodyellow: "fafad2", lightgray: "d3d3d3", lightgreen: "90ee90", lightgrey: "d3d3d3", lightpink: "ffb6c1", lightsalmon: "ffa07a", lightseagreen: "20b2aa", lightskyblue: "87cefa", lightslategray: "789", lightslategrey: "789", lightsteelblue: "b0c4de", lightyellow: "ffffe0", lime: "0f0", limegreen: "32cd32", linen: "faf0e6", magenta: "f0f", maroon: "800000", mediumaquamarine: "66cdaa", mediumblue: "0000cd", mediumorchid: "ba55d3", mediumpurple: "9370db", mediumseagreen: "3cb371", mediumslateblue: "7b68ee", mediumspringgreen: "00fa9a", mediumturquoise: "48d1cc", mediumvioletred: "c71585", midnightblue: "191970", mintcream: "f5fffa", mistyrose: "ffe4e1", moccasin: "ffe4b5", navajowhite: "ffdead", navy: "000080", oldlace: "fdf5e6", olive: "808000", olivedrab: "6b8e23", orange: "ffa500", orangered: "ff4500", orchid: "da70d6", palegoldenrod: "eee8aa", palegreen: "98fb98", paleturquoise: "afeeee", palevioletred: "db7093", papayawhip: "ffefd5", peachpuff: "ffdab9", peru: "cd853f", pink: "ffc0cb", plum: "dda0dd", powderblue: "b0e0e6", purple: "800080", rebeccapurple: "663399", red: "f00", rosybrown: "bc8f8f", royalblue: "4169e1", saddlebrown: "8b4513", salmon: "fa8072", sandybrown: "f4a460", seagreen: "2e8b57", seashell: "fff5ee", sienna: "a0522d", silver: "c0c0c0", skyblue: "87ceeb", slateblue: "6a5acd", slategray: "708090", slategrey: "708090", snow: "fffafa", springgreen: "00ff7f", steelblue: "4682b4", tan: "d2b48c", teal: "008080", thistle: "d8bfd8", tomato: "ff6347", turquoise: "40e0d0", violet: "ee82ee", wheat: "f5deb3", white: "fff", whitesmoke: "f5f5f5", yellow: "ff0", yellowgreen: "9acd32" }, bs = j.hexNames = function(e) {
var r = {};
for (var t in e) e.hasOwnProperty(t) && (r[e[t]] = t);
return r;
}(Vt);
function ju(e) {
return e = parseFloat(e), (isNaN(e) || e < 0 || e > 1) && (e = 1), e;
}
function D(e, r) {
var t;
typeof (t = e) == "string" && t.indexOf(".") != -1 && parseFloat(t) === 1 && (e = "100%");
var n = function(o) {
return typeof o == "string" && o.indexOf("%") != -1;
}(e);
return e = Math.min(r, Math.max(0, parseFloat(e))), n && (e = parseInt(e * r, 10) / 100), Math.abs(e - r) < 1e-6 ? 1 : e % r / parseFloat(r);
}
function Lt(e) {
return Math.min(1, Math.max(0, e));
}
function N(e) {
return parseInt(e, 16);
}
function V(e) {
return e.length == 1 ? "0" + e : "" + e;
}
function vt(e) {
return e <= 1 && (e = 100 * e + "%"), e;
}
function Ou(e) {
return Math.round(255 * parseFloat(e)).toString(16);
}
function ve(e) {
return N(e) / 255;
}
var et, xt, jt, I = (xt = "[\\s|\\(]+(" + (et = "(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)") + ")[,|\\s]+(" + et + ")[,|\\s]+(" + et + ")\\s*\\)?", jt = "[\\s|\\(]+(" + et + ")[,|\\s]+(" + et + ")[,|\\s]+(" + et + ")[,|\\s]+(" + et + ")\\s*\\)?", { CSS_UNIT: new RegExp(et), rgb: new RegExp("rgb" + xt), rgba: new RegExp("rgba" + jt), hsl: new RegExp("hsl" + xt), hsla: new RegExp("hsla" + jt), hsv: new RegExp("hsv" + xt), hsva: new RegExp("hsva" + jt), hex3: /^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/, hex6: /^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/, hex4: /^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/, hex8: /^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/ });
function Q(e) {
return !!I.CSS_UNIT.exec(e);
}
var ge, ye, me, _e, we, xe, je, Oe, Me, Se, ke, Ae, Ce, Ee, Re, Pe, Te, Le, Ue, Fe, De, Be, ze, He, We, $e, Ne, Ie, $ = {}, ut = {};
function Mu() {
if (ye) return ge;
ye = 1;
var e = typeof _t == "object" && _t && _t.Object === Object && _t;
return ge = e;
}
function K() {
if (_e) return me;
_e = 1;
var e = Mu(), r = typeof self == "object" && self && self.Object === Object && self, t = e || r || Function("return this")();
return me = t;
}
function gt() {
if (xe) return we;
xe = 1;
var e = K().Symbol;
return we = e;
}
function nt() {
if (Ae) return ke;
Ae = 1;
var e = gt(), r = function() {
if (Oe) return je;
Oe = 1;
var o = gt(), f = Object.prototype, i = f.hasOwnProperty, u = f.toString, a = o ? o.toStringTag : void 0;
return je = function(l) {
var h = i.call(l, a), b = l[a];
try {
l[a] = void 0;
var p = !0;
} catch {
}
var g = u.call(l);
return p && (h ? l[a] = b : delete l[a]), g;
};
}(), t = function() {
if (Se) return Me;
Se = 1;
var o = Object.prototype.toString;
return Me = function(f) {
return o.call(f);
};
}(), n = e ? e.toStringTag : void 0;
return ke = function(o) {
return o == null ? o === void 0 ? "[object Undefined]" : "[object Null]" : n && n in Object(o) ? r(o) : t(o);
};
}
function X() {
if (Ee) return Ce;
Ee = 1;
var e = Array.isArray;
return Ce = e;
}
function Z() {
return Pe ? Re : (Pe = 1, Re = function(e) {
return e != null && typeof e == "object";
});
}
function Su() {
if (Ie) return Ne;
Ie = 1;
var e = function() {
if ($e) return We;
$e = 1;
var i = nt(), u = Z();
return We = function(a) {
return u(a) && i(a) == "[object Arguments]";
};
}(), r = Z(), t = Object.prototype, n = t.hasOwnProperty, o = t.propertyIsEnumerable, f = e(/* @__PURE__ */ function() {
return arguments;
}()) ? e : function(i) {
return r(i) && n.call(i, "callee") && !o.call(i, "callee");
};
return Ne = f;
}
var Ve, Xe, Ye, qe, Ke, Ge, Je, Qe, Ze, tr, er, Ut = { exports: {} };
function Kt() {
return Ye || (Ye = 1, e = Ut, r = Ut.exports, t = K(), n = Xe ? Ve : (Xe = 1, Ve = function() {
return !1;
}), o = r && !r.nodeType && r, f = o && e && !e.nodeType && e, i = f && f.exports === o ? t.Buffer : void 0, u = (i ? i.isBuffer : void 0) || n, e.exports = u), Ut.exports;
var e, r, t, n, o, f, i, u;
}
function ku() {
if (Ke) return qe;
Ke = 1;
var e = /^(?:0|[1-9]\d*)$/;
return qe = function(r, t) {
var n = typeof r;
return !!(t = t ?? 9007199254740991) && (n == "number" || n != "symbol" && e.test(r)) && r > -1 && r % 1 == 0 && r < t;
};
}
function Gt() {
return Je ? Ge : (Je = 1, Ge = function(e) {
return typeof e == "number" && e > -1 && e % 1 == 0 && e <= 9007199254740991;
});
}
function Xt() {
return er ? tr : (er = 1, tr = function(e) {
return function(r) {
return e(r);
};
});
}
var rr, nr, or, ar, ir, ur, sr, cr, fr, lr, hr, pr, dr, br, vr, gr, yr, mr, _r, wr, xr, jr, Or, Mr, Sr, kr, Ar, Cr, Er, Rr, Pr, Tr, Lr, Ur, Fr, Dr, Br, zr, Hr, Wr, $r, Nr, Ir, Vr, Xr, Yr, qr, Kr, Gr, Jr, Qr, Zr, tn, en, rn, nn, on, an, un, sn, cn, fn, ln, hn, pn, dn, bn, vn, gn, yn, mn, _n, wn, xn, jn, On, Mn, Sn, kn, An, Cn, En, Rn, Pn, Tn, Ln, Un, Fn, Dn, Bn, zn, Hn, Wn, $n, Nn, In, Vn, Xn, Yn, qn, Kn, Gn, Jn, Qn, Zn, to, eo, ro, no, oo, ao, io, uo, so, co, fo, lo, ho, po, bo, vo, go, yo, mo, _o, wo, xo, jo, Oo, Mo, So, ko, Ao, Co, Eo, Ro, Po, To, Lo, Uo, Fo, Do, Bo, zo, Ho, Wo, $o, No, Io, Vo, Xo, Yo, qo, Ko, Go, Jo, Qo, Zo, ta, ea, ra, na, oa, aa, ia, ua, sa, ca, fa, la, ha, pa, da, ba, va, ga, ya, ma, _a, wa, xa, ja, Oa, Ma, Sa, ka, Aa, Ca, Ea, Ra, Pa, Ta, La, Ua, Fa, Da, Ba, za, Ha, Wa, $a, Na, Ia, Va, Xa, Ya, qa, Ka, Ga, Ja, Qa, Za, Ft = { exports: {} };
function Yt() {
return rr || (rr = 1, e = Ft, r = Ft.exports, t = Mu(), n = r && !r.nodeType && r, o = n && e && !e.nodeType && e, f = o && o.exports === n && t.process, i = function() {
try {
return o && o.require && o.require("util").types || f && f.binding && f.binding("util");
} catch {
}
}(), e.exports = i), Ft.exports;
var e, r, t, n, o, f, i;
}
function Au() {
if (or) return nr;
or = 1;
var e = function() {
if (Ze) return Qe;
Ze = 1;
var f = nt(), i = Gt(), u = Z(), a = {};
return a["[object Float32Array]"] = a["[object Float64Array]"] = a["[object Int8Array]"] = a["[object Int16Array]"] = a["[object Int32Array]"] = a["[object Uint8Array]"] = a["[object Uint8ClampedArray]"] = a["[object Uint16Array]"] = a["[object Uint32Array]"] = !0, a["[object Arguments]"] = a["[object Array]"] = a["[object ArrayBuffer]"] = a["[object Boolean]"] = a["[object DataView]"] = a["[object Date]"] = a["[object Error]"] = a["[object Function]"] = a["[object Map]"] = a["[object Number]"] = a["[object Object]"] = a["[object RegExp]"] = a["[object Set]"] = a["[object String]"] = a["[object WeakMap]"] = !1, Qe = function(l) {
return u(l) && i(l.length) && !!a[f(l)];
};
}(), r = Xt(), t = Yt(), n = t && t.isTypedArray, o = n ? r(n) : e;
return nr = o;
}
function Cu() {
if (ir) return ar;
ir = 1;
var e = He ? ze : (He = 1, ze = function(u, a) {
for (var l = -1, h = Array(u); ++l < u; ) h[l] = a(l);
return h;
}), r = Su(), t = X(), n = Kt(), o = ku(), f = Au(), i = Object.prototype.hasOwnProperty;
return ar = function(u, a) {
var l = t(u), h = !l && r(u), b = !l && !h && n(u), p = !l && !h && !b && f(u), g = l || h || b || p, c = g ? e(u.length, String) : [], s = c.length;
for (var d in u) !a && !i.call(u, d) || g && (d == "length" || b && (d == "offset" || d == "parent") || p && (d == "buffer" || d == "byteLength" || d == "byteOffset") || o(d, s)) || c.push(d);
return c;
};
}
function Jt() {
if (sr) return ur;
sr = 1;
var e = Object.prototype;
return ur = function(r) {
var t = r && r.constructor;
return r === (typeof t == "function" && t.prototype || e);
};
}
function Eu() {
return fr ? cr : (fr = 1, cr = function(e, r) {
return function(t) {
return e(r(t));
};
});
}
function ht() {
return vr ? br : (vr = 1, br = function(e) {
var r = typeof e;
return e != null && (r == "object" || r == "function");
});
}
function Ru() {
if (yr) return gr;
yr = 1;
var e = nt(), r = ht();
return gr = function(t) {
if (!r(t)) return !1;
var n = e(t);
return n == "[object Function]" || n == "[object GeneratorFunction]" || n == "[object AsyncFunction]" || n == "[object Proxy]";
};
}
function Et() {
if (_r) return mr;
_r = 1;
var e = Ru(), r = Gt();
return mr = function(t) {
return t != null && r(t.length) && !e(t);
};
}
function yt() {
if (xr) return wr;
xr = 1;
var e = Cu(), r = function() {
if (dr) return pr;
dr = 1;
var n = Jt(), o = function() {
if (hr) return lr;
hr = 1;
var i = Eu()(Object.keys, Object);
return lr = i;
}(), f = Object.prototype.hasOwnProperty;
return pr = function(i) {
if (!n(i)) return o(i);
var u = [];
for (var a in Object(i)) f.call(i, a) && a != "constructor" && u.push(a);
return u;
};
}(), t = Et();
return wr = function(n) {
return t(n) ? e(n) : r(n);
};
}
function Pu() {
if (Or) return jr;
Or = 1;
var e = function() {
if (Be) return De;
Be = 1;
var t = (Fe ? Ue : (Fe = 1, Ue = function(n) {
return function(o, f, i) {
for (var u = -1, a = Object(o), l = i(o), h = l.length; h--; ) {
var b = l[n ? h : ++u];
if (f(a[b], b, a) === !1) break;
}
return o;
};
}))();
return De = t;
}(), r = yt();
return jr = function(t, n) {
return t && e(t, n, r);
};
}
function Tu() {
return Sr ? Mr : (Sr = 1, Mr = function(e) {
return e;
});
}
function Dt() {
if (Er) return Cr;
Er = 1;
var e = Pu(), r = function() {
if (Ar) return kr;
Ar = 1;
var t = Tu();
return kr = function(n) {
return typeof n == "function" ? n : t;
};
}();
return Cr = function(t, n) {
return t && e(t, r(n));
};
}
function Qt() {
if (Pr) return Rr;
Pr = 1;
var e = Eu()(Object.getPrototypeOf, Object);
return Rr = e;
}
function Lu() {
return Fr ? Ur : (Fr = 1, Ur = function(e, r) {
for (var t = -1, n = e == null ? 0 : e.length, o = Array(n); ++t < n; ) o[t] = r(e[t], t, e);
return o;
});
}
function Zt() {
return Hr ? zr : (Hr = 1, zr = function(e, r) {
return e === r || e != e && r != r;
});
}
function Ot() {
if ($r) return Wr;
$r = 1;
var e = Zt();
return Wr = function(r, t) {
for (var n = r.length; n--; ) if (e(r[n][0], t)) return n;
return -1;
};
}
function At() {
if (Qr) return Jr;
Qr = 1;
var e = Br ? Dr : (Br = 1, Dr = function() {
this.__data__ = [], this.size = 0;
}), r = function() {
if (Ir) return Nr;
Ir = 1;
var i = Ot(), u = Array.prototype.splice;
return Nr = function(a) {
var l = this.__data__, h = i(l, a);
return !(h < 0 || (h == l.length - 1 ? l.pop() : u.call(l, h, 1), --this.size, 0));
};
}(), t = function() {
if (Xr) return Vr;
Xr = 1;
var i = Ot();
return Vr = function(u) {
var a = this.__data__, l = i(a, u);
return l < 0 ? void 0 : a[l][1];
};
}(), n = function() {
if (qr) return Yr;
qr = 1;
var i = Ot();
return Yr = function(u) {
return i(this.__data__, u) > -1;
};
}(), o = function() {
if (Gr) return Kr;
Gr = 1;
var i = Ot();
return Kr = function(u, a) {
var l = this.__data__, h = i(l, u);
return h < 0 ? (++this.size, l.push([u, a])) : l[h][1] = a, this;
};
}();
function f(i) {
var u = -1, a = i == null ? 0 : i.length;
for (this.clear(); ++u < a; ) {
var l = i[u];
this.set(l[0], l[1]);
}
}
return f.prototype.clear = e, f.prototype.delete = r, f.prototype.get = t, f.prototype.has = n, f.prototype.set = o, Jr = f;
}
function Uu() {
if (pn) return hn;
pn = 1;
var e = Function.prototype.toString;
return hn = function(r) {
if (r != null) {
try {
return e.call(r);
} catch {
}
try {
return r + "";
} catch {
}
}
return "";
};
}
function rt() {
if (mn) return yn;
mn = 1;
var e = function() {
if (bn) return dn;
bn = 1;
var t = Ru(), n = function() {
if (ln) return fn;
ln = 1;
var p, g = function() {
if (cn) return sn;
cn = 1;
var s = K()["__core-js_shared__"];
return sn = s;
}(), c = (p = /[^.]+$/.exec(g && g.keys && g.keys.IE_PROTO || "")) ? "Symbol(src)_1." + p : "";
return fn = function(s) {
return !!c && c in s;
};
}(), o = ht(), f = Uu(), i = /^\[object .+?Constructor\]$/, u = Function.prototype, a = Object.prototype, l = u.toString, h = a.hasOwnProperty, b = RegExp("^" + l.call(h).replace(/[\\^$.*+?()[\]{}|]/g, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$");
return dn = function(p) {
return !(!o(p) || n(p)) && (t(p) ? b : i).test(f(p));
};
}(), r = gn ? vn : (gn = 1, vn = function(t, n) {
return t?.[n];
});
return yn = function(t, n) {
var o = r(t, n);
return e(o) ? o : void 0;
};
}
function te() {
if (wn) return _n;
wn = 1;
var e = rt()(K(), "Map");
return _n = e;
}
function Mt() {
if (jn) return xn;
jn = 1;
var e = rt()(Object, "create");
return xn = e;
}
function St() {
if (Wn) return Hn;
Wn = 1;
var e = zn ? Bn : (zn = 1, Bn = function(r) {
var t = typeof r;
return t == "string" || t == "number" || t == "symbol" || t == "boolean" ? r !== "__proto__" : r === null;
});
return Hn = function(r, t) {
var n = r.__data__;
return e(t) ? n[typeof t == "string" ? "string" : "hash"] : n.map;
};
}
function ee() {
if (Jn) return Gn;
Jn = 1;
var e = function() {
if (Dn) return Fn;
Dn = 1;
var i = function() {
if (Un) return Ln;
Un = 1;
var l = function() {
if (Mn) return On;
Mn = 1;
var s = Mt();
return On = function() {
this.__data__ = s ? s(null) : {}, this.size = 0;
};
}(), h = kn ? Sn : (kn = 1, Sn = function(s) {
var d = this.has(s) && delete this.__data__[s];
return this.size -= d ? 1 : 0, d;
}), b = function() {
if (Cn) return An;
Cn = 1;
var s = Mt(), d = Object.prototype.hasOwnProperty;
return An = function(v) {
var y = this.__data__;
if (s) {
var _ = y[v];
return _ === "__lodash_hash_undefined__" ? void 0 : _;
}
return d.call(y, v) ? y[v] : void 0;
};
}(), p = function() {
if (Rn) return En;
Rn = 1;
var s = Mt(), d = Object.prototype.hasOwnProperty;
return En = function(v) {
var y = this.__data__;
return s ? y[v] !== void 0 : d.call(y, v);
};
}(), g = function() {
if (Tn) return Pn;
Tn = 1;
var s = Mt();
return Pn = function(d, v) {
var y = this.__data__;
return this.size += this.has(d) ? 0 : 1, y[d] = s && v === void 0 ? "__lodash_hash_undefined__" : v, this;
};
}();
function c(s) {
var d = -1, v = s == null ? 0 : s.length;
for (this.clear(); ++d < v; ) {
var y = s[d];
this.set(y[0], y[1]);
}
}
return c.prototype.clear = l, c.prototype.delete = h, c.prototype.get = b, c.prototype.has = p, c.prototype.set = g, Ln = c;
}(), u = At(), a = te();
return Fn = function() {
this.size = 0, this.__data__ = { hash: new i(), map: new (a || u)(), string: new i() };
};
}(), r = function() {
if (Nn) return $n;
Nn = 1;
var i = St();
return $n = function(u) {
var a = i(this, u).delete(u);
return this.size -= a ? 1 : 0, a;
};
}(), t = function() {
if (Vn) return In;
Vn = 1;
var i = St();
return In = function(u) {
return i(this, u).get(u);
};
}(), n = function() {
if (Yn) return Xn;
Yn = 1;
var i = St();
return Xn = function(u) {
return i(this, u).has(u);
};
}(), o = function() {
if (Kn) return qn;
Kn = 1;
var i = St();
return qn = function(u, a) {
var l = i(this, u), h = l.size;
return l.set(u, a), this.size += l.size == h ? 0 : 1, this;
};
}();
function f(i) {
var u = -1, a = i == null ? 0 : i.length;
for (this.clear(); ++u < a; ) {
var l = i[u];
this.set(l[0], l[1]);
}
}
return f.prototype.clear = e, f.prototype.delete = r, f.prototype.get = t, f.prototype.has = n, f.prototype.set = o, Gn = f;
}
function re() {
if (eo) return to;
eo = 1;
var e = At(), r = function() {
if (tn) return Zr;
tn = 1;
var u = At();
return Zr = function() {
this.__data__ = new u(), this.size = 0;
};
}(), t = rn ? en : (rn = 1, en = function(u) {
var a = this.__data__, l = a.delete(u);
return this.size = a.size, l;
}), n = on ? nn : (on = 1, nn = function(u) {
return this.__data__.get(u);
}), o = un ? an : (un = 1, an = function(u) {
return this.__data__.has(u);
}), f = function() {
if (Zn) return Qn;
Zn = 1;
var u = At(), a = te(), l = ee();
return Qn = function(h, b) {
var p = this.__data__;
if (p instanceof u) {
var g = p.__data__;
if (!a || g.length < 199) return g.push([h, b]), this.size = ++p.size, this;
p = this.__data__ = new l(g);
}
return p.set(h, b), this.size = p.size, this;
};
}();
function i(u) {
var a = this.__data__ = new e(u);
this.size = a.size;
}
return i.prototype.clear = r, i.prototype.delete = t, i.prototype.get = n, i.prototype.has = o, i.prototype.set = f, to = i;
}
function ti() {
if (po) return ho;
po = 1;
var e = function() {
if (uo) return io;
uo = 1;
var n = ee(), o = no ? ro : (no = 1, ro = function(u) {
return this.__data__.set(u, "__lodash_hash_undefined__"), this;
}), f = ao ? oo : (ao = 1, oo = function(u) {
return this.__data__.has(u);
});
function i(u) {
var a = -1, l = u == null ? 0 : u.length;
for (this.__data__ = new n(); ++a < l; ) this.add(u[a]);
}
return i.prototype.add = i.prototype.push = o, i.prototype.has = f, io = i;
}(), r = co ? so : (co = 1, so = function(n, o) {
for (var f = -1, i = n == null ? 0 : n.length; ++f < i; ) if (o(n[f], f, n)) return !0;
return !1;
}), t = lo ? fo : (lo = 1, fo = function(n, o) {
return n.has(o);
});
return ho = function(n, o, f, i, u, a) {
var l = 1 & f, h = n.length, b = o.length;
if (h != b && !(l && b > h)) return !1;
var p = a.get(n), g = a.get(o);
if (p && g) return p == o && g == n;
var c = -1, s = !0, d = 2 & f ? new e() : void 0;
for (a.set(n, o), a.set(o, n); ++c < h; ) {
var v = n[c], y = o[c];
if (i) var _ = l ? i(y, v, c, o, n, a) : i(v, y, c, n, o, a);
if (_ !== void 0) {
if (_) continue;
s = !1;
break;
}
if (d) {
if (!r(o, function(m, w) {
if (!t(d, w) && (v === m || u(v, m, f, i, a))) return d.push(w);
})) {
s = !1;
break;
}
} else if (v !== y && !u(v, y, f, i, a)) {
s = !1;
break;
}
}
return a.delete(n), a.delete(o), s;
};
}
function Fu() {
if (vo) return bo;
vo = 1;
var e = K().Uint8Array;
return bo = e;
}
function Du() {
return Oo ? jo : (Oo = 1, jo = function(e, r) {
for (var t = -1, n = r.length, o = e.length; ++t < n; ) e[o + t] = r[t];
return e;
});
}
function Bu() {
if (So) return Mo;
So = 1;
var e = Du(), r = X();
return Mo = function(t, n, o) {
var f = n(t);
return r(t) ? f : e(f, o(t));
};
}
function zu() {
return Eo ? Co : (Eo = 1, Co = function() {
return [];
});
}
function ne() {
if (Po) return Ro;
Po = 1;
var e = Ao ? ko : (Ao = 1, ko = function(o, f) {
for (var i = -1, u = o == null ? 0 : o.length, a = 0, l = []; ++i < u; ) {
var h = o[i];
f(h, i, o) && (l[a++] = h);
}
return l;
}), r = zu(), t = Object.prototype.propertyIsEnumerable, n = Object.getOwnPropertySymbols;
return Ro = n ? function(o) {
return o == null ? [] : (o = Object(o), e(n(o), function(f) {
return t.call(o, f);
}));
} : r;
}
function Hu() {
if (Lo) return To;
Lo = 1;
var e = Bu(), r = ne(), t = yt();
return To = function(n) {
return e(n, t, r);
};
}
function Ct() {
if (Xo) return Vo;
Xo = 1;
var e = function() {
if (Bo) return Do;
Bo = 1;
var y = rt()(K(), "DataView");
return Do = y;
}(), r = te(), t = function() {
if (Ho) return zo;
Ho = 1;
var y = rt()(K(), "Promise");
return zo = y;
}(), n = function() {
if ($o) return Wo;
$o = 1;
var y = rt()(K(), "Set");
return Wo = y;
}(), o = function() {
if (Io) return No;
Io = 1;
var y = rt()(K(), "WeakMap");
return No = y;
}(), f = nt(), i = Uu(), u = "[object Map]", a = "[object Promise]", l = "[object Set]", h = "[object WeakMap]", b = "[object DataView]", p = i(e), g = i(r), c = i(t), s = i(n), d = i(o), v = f;
return (e && v(new e(new ArrayBuffer(1))) != b || r && v(new r()) != u || t && v(t.resolve()) != a || n && v(new n()) != l || o && v(new o()) != h) && (v = function(y) {
var _ = f(y), m = _ == "[object Object]" ? y.constructor : void 0, w = m ? i(m) : "";
if (w) switch (w) {
case p:
return b;
case g:
return u;
case c:
return a;
case s:
return l;
case d:
return h;
}
return _;
}), Vo = v;
}
function vs() {
if (qo) return Yo;
qo = 1;
var e = re(), r = ti(), t = function() {
if (xo) return wo;
xo = 1;
var p = gt(), g = Fu(), c = Zt(), s = ti(), d = yo ? go : (yo = 1, go = function(m) {
var w = -1, C = Array(m.size);
return m.forEach(function(A, P) {
C[++w] = [P, A];
}), C;
}), v = _o ? mo : (_o = 1, mo = function(m) {
var w = -1, C = Array(m.size);
return m.forEach(function(A) {
C[++w] = A;
}), C;
}), y = p ? p.prototype : void 0, _ = y ? y.valueOf : void 0;
return wo = function(m, w, C, A, P, O, F) {
switch (C) {
case "[object DataView]":
if (m.byteLength != w.byteLength || m.byteOffset != w.byteOffset) return !1;
m = m.buffer, w = w.buffer;
case "[object ArrayBuffer]":
return !(m.byteLength != w.byteLength || !O(new g(m), new g(w)));
case "[object Boolean]":
case "[object Date]":
case "[object Number]":
return c(+m, +w);
case "[object Error]":
return m.name == w.name && m.message == w.message;
case "[object RegExp]":
case "[object String]":
return m == w + "";
case "[object Map]":
var B = d;
case "[object Set]":
var G = 1 & A;
if (B || (B = v), m.size != w.size && !G) return !1;
var Y = F.get(m);
if (Y) return Y == w;
A |= 2, F.set(m, w);
var J = s(B(m), B(w), A, P, O, F);
return F.delete(m), J;
case "[object Symbol]":
if (_) return _.call(m) == _.call(w);
}
return !1;
};
}(), n = function() {
if (Fo) return Uo;
Fo = 1;
var p = Hu(), g = Object.prototype.hasOwnProperty;
return Uo = function(c, s, d, v, y, _) {
var m = 1 & d, w = p(c), C = w.length;
if (C != p(s).length && !m) return !1;
for (var A = C; A--; ) {
var P = w[A];
if (!(m ? P in s : g.call(s, P))) return !1;
}
var O = _.get(c), F = _.get(s);
if (O && F) return O == s && F == c;
var B = !0;
_.set(c, s), _.set(s, c);
for (var G = m; ++A < C; ) {
var Y = c[P = w[A]], J = s[P];
if (v) var pt = m ? v(J, Y, P, s, c, _) : v(Y, J, P, c, s, _);
if (!(pt === void 0 ? Y === J || y(Y, J, d, v, _) : pt)) {
B = !1;
break;
}
G || (G = P == "constructor");
}
if (B && !G) {
var L = c.constructor, E = s.constructor;
L == E || !("constructor" in c) || !("constructor" in s) || typeof L == "function" && L instanceof L && typeof E == "function" && E instanceof E || (B = !1);
}
return _.delete(c), _.delete(s), B;
};
}(), o = Ct(), f = X(), i = Kt(), u = Au(), a = "[object Arguments]", l = "[object Array]", h = "[object Object]", b = Object.prototype.hasOwnProperty;
return Yo = function(p, g, c, s, d, v) {
var y = f(p), _ = f(g), m = y ? l : o(p), w = _ ? l : o(g), C = (m = m == a ? h : m) == h, A = (w = w == a ? h : w) == h, P = m == w;
if (P && i(p)) {
if (!i(g)) return !1;
y = !0, C = !1;
}
if (P && !C) return v || (v = new e()), y || u(p) ? r(p, g, c, s, d, v) : t(p, g, m, c, s, d, v);
if (!(1 & c)) {
var O = C && b.call(p, "__wrapped__"), F = A && b.call(g, "__wrapped__");
if (O || F) {
var B = O ? p.value() : p, G = F ? g.value() : g;
return v || (v = new e()), d(B, G, c, s, v);
}
}
return !!P && (v || (v = new e()), n(p, g, c, s, d, v));
};
}
function Wu() {
if (Go) return Ko;
Go = 1;
var e = vs(), r = Z();
return Ko = function t(n, o, f, i, u) {
return n === o || (n == null || o == null || !r(n) && !r(o) ? n != n && o != o : e(n, o, f, i, t, u));
};
}
function $u() {
if (ta) return Zo;
ta = 1;
var e = ht();
return Zo = function(r) {
return r == r && !e(r);
};
}
function Nu() {
return oa ? na : (oa = 1, na = function(e, r) {
return function(t) {
return t != null && t[e] === r && (r !== void 0 || e in Object(t));
};
});
}
function oe() {
if (sa) return ua;
sa = 1;
var e = nt(), r = Z();
return ua = function(t) {
return typeof t == "symbol" || r(t) && e(t) == "[object Symbol]";
};
}
function ae() {
if (fa) return ca;
fa = 1;
var e = X(), r = oe(), t = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, n = /^\w*$/;
return ca = function(o, f) {
if (e(o)) return !1;
var i = typeof o;
return !(i != "number" && i != "symbol" && i != "boolean" && o != null && !r(o)) || n.test(o) || !t.test(o) || f != null && o in Object(f);
};
}
function Iu() {
if (xa) return wa;
xa = 1;
var e = X(), r = ae(), t = function() {
if (va) return ba;
va = 1;
var o = function() {
if (da) return pa;
da = 1;
var a = function() {
if (ha) return la;
ha = 1;
var l = ee();
function h(b, p) {
if (typeof b != "function" || p != null && typeof p != "function") throw new TypeError("Expected a function");
var g = function() {
var c = arguments, s = p ? p.apply(this, c) : c[0], d = g.cache;
if (d.has(s)) return d.get(s);
var v = b.apply(this, c);
return g.cache = d.set(s, v) || d, v;
};
return g.cache = new (h.Cache || l)(), g;
}
return h.Cache = l, la = h;
}();
return pa = function(l) {
var h = a(l, function(p) {
return b.size === 500 && b.clear(), p;
}), b = h.cache;
return h;
};
}(), f = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, i = /\\(\\)?/g, u = o(function(a) {
var l = [];
return a.charCodeAt(0) === 46 && l.push(""), a.replace(f, function(h, b, p, g) {
l.push(p ? g.replace(i, "$1") : b || h);
}), l;
});
return ba = u;
}(), n = function() {
if (_a) return ma;
_a = 1;
var o = function() {
if (ya) return ga;
ya = 1;
var f = gt(), i = Lu(), u = X(), a = oe(), l = f ? f.prototype : void 0, h = l ? l.toString : void 0;
return ga = function b(p) {
if (typeof p == "string") return p;
if (u(p)) return i(p, b) + "";
if (a(p)) return h ? h.call(p) : "";
var g = p + "";
return g == "0" && 1 / p == -1 / 0 ? "-0" : g;
};
}();
return ma = function(f) {
return f == null ? "" : o(f);
};
}();
return wa = function(o, f) {
return e(o) ? o : r(o, f) ? [o] : t(n(o));
};
}
function Rt() {
if (Oa) return ja;
Oa = 1;
var e = oe();
return ja = function(r) {
if (typeof r == "string" || e(r)) return r;
var t = r + "";
return t == "0" && 1 / r == -1 / 0 ? "-0" : t;
};
}
function Vu() {
if (Sa) return Ma;
Sa = 1;
var e = Iu(), r = Rt();
return Ma = function(t, n) {
for (var o = 0, f = (n = e(n, t)).length; t != null && o < f; ) t = t[r(n[o++])];
return o && o == f ? t : void 0;
};
}
function gs() {
if (Fa) return Ua;
Fa = 1;
var e = Wu(), r = function() {
if (Aa) return ka;
Aa = 1;
var u = Vu();
return ka = function(a, l, h) {
var b = a == null ? void 0 : u(a, l);
return b === void 0 ? h : b;
};
}(), t = function() {
if (La) return Ta;
La = 1;
var u = Ea ? Ca : (Ea = 1, Ca = function(l, h) {
return l != null && h in Object(l);
}), a = function() {
if (Pa) return Ra;
Pa = 1;
var l = Iu(), h = Su(), b = X(), p = ku(), g = Gt(), c = Rt();
return Ra = function(s, d, v) {
for (var y = -1, _ = (d = l(d, s)).length, m = !1; ++y < _; ) {
var w = c(d[y]);
if (!(m = s != null && v(s, w))) break;
s = s[w];
}
return m || ++y != _ ? m : !!(_ = s == null ? 0 : s.length) && g(_) && p(w, _) && (b(s) || h(s));
};
}();
return Ta = function(l, h) {
return l != null && a(l, h, u);
};
}(), n = ae(), o = $u(), f = Nu(), i = Rt();
return Ua = function(u, a) {
return n(u) && o(a) ? f(i(u), a) : function(l) {
var h = r(l, u);
return h === void 0 && h === a ? t(l, u) : e(a, h, 3);
};
};
}
function ys() {
if (Qa) return Ja;
Qa = 1;
var e = Lu(), r = function() {
if (Ia) return Na;
Ia = 1;
var o = function() {
if (ia) return aa;
ia = 1;
var l = function() {
if (Qo) return Jo;
Qo = 1;
var p = re(), g = Wu();
return Jo = function(c, s, d, v) {
var y = d.length, _ = y, m = !v;
if (c == null) return !_;
for (c = Object(c); y--; ) {
var w = d[y];
if (m && w[2] ? w[1] !== c[w[0]] : !(w[0] in c)) return !1;
}
for (; ++y < _; ) {
var C = (w = d[y])[0], A = c[C], P = w[1];
if (m && w[2]) {
if (A === void 0 && !(C in c)) return !1;
} else {
var O = new p();
if (v) var F = v(A, P, C, c, s, O);
if (!(F === void 0 ? g(P, A, 3, v, O) : F)) return !1;
}
}
return !0;
};
}(), h = function() {
if (ra) return ea;
ra = 1;
var p = $u(), g = yt();
return ea = function(c) {
for (var s = g(c), d = s.length; d--; ) {
var v = s[d], y = c[v];
s[d] = [v, y, p(y)];
}
return s;
};
}(), b = Nu();
return aa = function(p) {
var g = h(p);
return g.length == 1 && g[0][2] ? b(g[0][0], g[0][1]) : function(c) {
return c === p || l(c, p, g);
};
};
}(), f = gs(), i = Tu(), u = X(), a = function() {
if ($a) return Wa;
$a = 1;
var l = Ba ? Da : (Ba = 1, Da = function(g) {
return function(c) {
return c?.[g];
};
}), h = function() {
if (Ha) return za;
Ha = 1;
var g = Vu();
return za = function(c) {
return function(s) {
return g(s, c);
};
};
}(), b = ae(), p = Rt();
return Wa = function(g) {
return b(g) ? l(p(g)) : h(g);
};
}();
return Na = function(l) {
return typeof l == "function" ? l : l == null ? i : typeof l == "object" ? u(l) ? f(l[0], l[1]) : o(l) : a(l);
};
}(), t = function() {
if (Ga) return Ka;
Ga = 1;
var o = function() {
if (qa) return Ya;
qa = 1;
var i = Pu(), u = function() {
if (Xa) return Va;
Xa = 1;
var a = Et();
return Va = function(l, h) {