realreport-designer
Version:
RealReport Designer component library
1,566 lines • 7.23 MB
JavaScript
/**
* RealReport Designer v1.11.10 (build: 5254a3d)
* Copyright (C) 2013-2025 WooriTech Inc.
* All Rights Reserved.
*/
var MX = Object.defineProperty;
var kX = (l, e, t) => e in l ? MX(l, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : l[e] = t;
var Qy = (l, e, t) => kX(l, typeof e != "symbol" ? e + "" : e, t);
const BX = "1.11.10";
/**
* @license 라이센스 정보
* 모듈 사용시 글로벌하게 관리하기 위해 작성
*/
const hD = {
license: null
};
let FV = class {
static getVersion() {
return BX;
}
static setLicenseKey(e) {
hD.license = e;
}
}, FX = 0;
class Wt {
//-------------------------------------------------------------------------
// constructors
//-------------------------------------------------------------------------
constructor() {
this.$_hash = FX++, this.$_disposed = !1, this.$_disposing = !1;
}
dispose() {
return !this.$_disposed && !this.$_disposing && (this.$_disposed = !0, this.$_disposing = !0, this._doDispose()), null;
}
_doDispose() {
}
//-------------------------------------------------------------------------
// properties
//-------------------------------------------------------------------------
get disposing() {
return this.$_disposing;
}
get hash() {
return this.$_hash;
}
get shash() {
return String(this.$_hash);
}
//-------------------------------------------------------------------------
// methods
//-------------------------------------------------------------------------
isMe(e) {
return e == this.$_hash;
}
$_getters(e) {
const t = [], i = Object.getOwnPropertyNames(e);
for (let s = 0, n = i.length; s < n; s++) {
const r = i[s], o = Object.getOwnPropertyDescriptor(e, r);
o && o.get && t.push(r);
}
return t;
}
/**
* true를 리턴하면 assign()이 호출되지 않는다.
*/
doAssignSimple(e) {
return !1;
}
assignFrom(e) {
let t = Object.getPrototypeOf(this);
if (e instanceof Wt) {
let i = Object.getPrototypeOf(e), s = {};
for (; i && i.constructor != Wt; ) {
let n = this.$_getters(i);
for (let r = 0, o = n.length; r < o; r++) {
const a = n[r];
if (!(a in s)) {
s[a] = null;
let h = Object.getOwnPropertyDescriptor(t, a);
if (h) {
if (h.set) {
const c = Object.getOwnPropertyDescriptor(i, a), d = c && c.get;
d && h.set.call(this, d.call(e));
}
} else {
let c = Object.getPrototypeOf(t);
for (; c; ) {
let d = Object.getOwnPropertyDescriptor(c, a);
if (d) {
if (d.set) {
const u = Object.getOwnPropertyDescriptor(i, a), f = u && u.get;
f && d.set.call(this, f.call(e));
}
c = null;
} else
c = Object.getPrototypeOf(c);
}
}
}
}
i = Object.getPrototypeOf(i);
}
} else if (!this.doAssignSimple(e))
for (let i in e) {
let s = Object.getOwnPropertyDescriptor(t, i);
if (s)
s.set && s.set.call(this, e[i]);
else {
let n = Object.getPrototypeOf(t);
for (; n; ) {
let r = Object.getOwnPropertyDescriptor(n, i);
r ? (r.set && r.set.call(this, e[i]), n = null) : n = Object.getPrototypeOf(n);
}
}
}
}
extend(e) {
for (let t in e)
t in this && (this[t] = e[t]);
}
toProxy() {
const e = {};
let t = Object.getPrototypeOf(this);
for (; t && t.constructor != Wt; ) {
let i = this.$_getters(t);
for (let s = 0, n = i.length; s < n; s++) {
const r = i[s];
let o = Object.getOwnPropertyDescriptor(t, r);
if (o)
o.get && o.set && (e[r] = o.get.call(this));
else {
let a = Object.getPrototypeOf(t);
for (; a; ) {
let h = Object.getOwnPropertyDescriptor(a, r);
h ? (h.get && h.set && (e[r] = h.get.call(this)), a = null) : a = Object.getPrototypeOf(a);
}
}
}
t = Object.getPrototypeOf(t);
}
return e;
}
assignProps(e, t, i = !1) {
return e = e || {}, t.forEach((s) => {
const n = this[s];
(i || n !== void 0) && (e[s] = n);
}), e;
}
//-------------------------------------------------------------------------
// overriden members
//-------------------------------------------------------------------------
toString() {
return this.constructor.name;
}
}
class dr extends Wt {
//-------------------------------------------------------------------------
// constructors
//-------------------------------------------------------------------------
constructor() {
super(), this._listeners = [];
}
_doDispose() {
for (let e of this._listeners)
this.removeListener(e);
return this._listeners = null, super._doDispose();
}
//-------------------------------------------------------------------------
// properties
//-------------------------------------------------------------------------
get listenerCount() {
return this._listeners.length;
}
//-------------------------------------------------------------------------
// methods
//-------------------------------------------------------------------------
addListener(e) {
return e != null && this._listeners.indexOf(e) < 0 && this._listeners.push(e), this;
}
removeListener(e) {
if (this._listeners && e != null) {
const t = this._listeners.indexOf(e);
t >= 0 && this._listeners.splice(t, 1);
}
return this;
}
isListener(e) {
return this._listeners && this._listeners.indexOf(e) >= 0;
}
clearListener() {
for (let e of this._listeners)
this.removeListener(e);
this._listeners.length = 0;
}
fireEvent(e, ...t) {
let i = Array.prototype.slice.call(arguments, 0);
i[0] = this;
for (let s = 0, n = this._listeners.length; s < n; s++) {
let r = this._listeners[s], o = r[e];
o && o.apply(r, i);
}
}
fireConfirmEvent(e, ...t) {
let i = Array.prototype.slice.call(arguments, 0);
i[0] = this;
for (let n = 0, r = this._listeners.length; n < r; n++) {
let o = this._listeners[n], a = o[e];
if (a) {
var s = a.apply(o, i);
if (typeof s == "boolean" && !s)
return !1;
}
}
return !0;
}
fireMessageEvent(e, ...t) {
let i = Array.prototype.slice.call(arguments, 0);
i[0] = this;
for (let s = 0, n = this._listeners.length; s < n; s++) {
let r = this._listeners[s], o = r[e];
if (o) {
const a = o.apply(r, i);
if (typeof a == "string" && a)
return a;
}
}
return null;
}
fireObjectEvent(e, ...t) {
let i = Array.prototype.slice.call(arguments, 0);
i[0] = this;
for (let s = 0, n = this._listeners.length; s < n; s++) {
let r = this._listeners[s], o = r[e];
if (o) {
const a = o.apply(r, i);
if (a != null)
return a;
}
}
return null;
}
}
class ki {
static create(e, t, i, s) {
return new ki(e, t, i, s);
}
//-------------------------------------------------------------------------
// constructors
//-------------------------------------------------------------------------
constructor(e = 0, t = 0, i = 0, s = 0) {
this.x = e, this.y = t, this.width = i, this.height = s;
}
//-------------------------------------------------------------------------
// properties
//-------------------------------------------------------------------------
/** left */
get left() {
return this.x;
}
set left(e) {
const t = e - this.x;
this.x += t, this.width -= t;
}
/** right */
get right() {
return this.x + this.width;
}
set right(e) {
const t = e - (this.x + this.width);
this.width += t;
}
/** top */
get top() {
return this.y;
}
set top(e) {
const t = e - this.y;
this.y += t, this.height -= t;
}
/** bottom */
get bottom() {
return this.y + this.height;
}
set bottom(e) {
const t = e - (this.y + this.height);
this.height += t;
}
/** isEmpty */
get isEmpty() {
return this.width === 0 || this.height === 0;
}
//-------------------------------------------------------------------------
// methods
//-------------------------------------------------------------------------
clone() {
return new ki(this.x, this.y, this.width, this.height);
}
getInner() {
return new ki(0, 0, this.width, this.height);
}
equals(e) {
return e === this || e && this.x === e.x && this.y === e.y && this.width === e.width && this.height === e.height;
}
leftBy(e) {
return this.x += e, this.width -= e, this;
}
rightBy(e) {
return this.width += e, this;
}
topBy(e) {
return this.y += e, this.height -= e, this;
}
bottomBy(e) {
return this.height += e, this;
}
shrink(e, t) {
return this.width -= e, this.height -= t, this;
}
expand(e, t) {
return this.width += e, this.height += t, this;
}
contains(e, t) {
return e >= this.x && e <= this.x + this.width && t >= this.y && t <= this.y + this.height;
}
setEmpty() {
return this.width = this.height = 0, this;
}
move(e = 0, t = 0) {
return this.x = e, this.y = t, this;
}
set(e, t, i, s) {
return this.x = e, this.y = t, this.width = i, this.height = s, this;
}
setWidth(e) {
return this.width = e, this;
}
copy(e) {
return this.x = e.x, this.y = e.y, this.width = e.width, this.height = e.height, this;
}
copyHorz(e) {
return this.x = e.x, this.width = e.width, this;
}
copyVert(e) {
return this.y = e.y, this.height = e.height, this;
}
inflate(e = 0, t = void 0, i = void 0, s = void 0) {
return t = t !== void 0 ? t : e, i = i !== void 0 ? i : e, s = s !== void 0 ? s : t, e && (this.left = this.x - e), t && (this.top = this.y - t), i && (this.right = this.right + i), s && (this.bottom = this.bottom + s), this;
}
translate(e, t) {
return this.x += e, this.y += t, this;
}
round() {
const e = this.clone();
return e.x >>>= 0, e.y >>>= 0, e.width >>>= 0, e.height >>>= 0, e;
}
union(e) {
const t = this.clone();
return t.left = Math.min(this.x, e.x), t.right = Math.max(this.right, e.right), t.top = Math.min(this.y, e.y), t.bottom = Math.max(this.bottom, e.bottom), t;
}
normalize() {
return this.width < 0 && (this.x -= this.width, this.width *= -1), this.height < 0 && (this.y -= this.height, this.height *= -1), this;
}
intersects(e) {
return this.x <= e.right && e.x <= this.right && this.y <= e.bottom && e.y <= this.bottom;
}
//-------------------------------------------------------------------------
// overriden members
//-------------------------------------------------------------------------
toString() {
return "{x: " + this.x + ", y: " + this.y + ", width: " + this.width + ", height: " + this.height + "}";
}
}
ki.Empty = Object.freeze(new ki());
ki.Temp = new ki();
const bt = "_m_", AS = "type", jd = "empty", i_ = "$_rvu", it = "$_h", wS = "$_w", Od = "$_idx", Rc = "$_grp", mc = "$_anc", VV = "$anp", QM = "_svg_", vv = "_align", HV = "$_fld", gx = "_save_", $V = "_col_span_r_", yS = "_pr", cD = "_is_";
var Ht;
(function(l) {
l.LEFT = "left", l.CENTER = "center", l.RIGHT = "right";
})(Ht || (Ht = {}));
var rh;
(function(l) {
l.TOP = "top", l.MIDDLE = "middle", l.BOTTOM = "bottom";
})(rh || (rh = {}));
var Er;
(function(l) {
l.PIXEL = "px", l.POINT = "pt", l.INCH = "in", l.CENTI = "cm", l.MILLI = "mm";
})(Er || (Er = {}));
var dD;
(function(l) {
l.BREAK_ALL = "break-all", l.BREAK_WORD = "break-word";
})(dD || (dD = {}));
const GV = {
px: (l) => l,
pt: (l) => l * ot.HTMLDPI / 72,
in: (l) => l * ot.HTMLDPI,
mm: (l) => l * ot.HTMLDPI / 25.4,
cm: (l) => l * ot.HTMLDPI / 2.54
}, uD = {
px: (l) => l,
pt: (l) => l * 72 / ot.HTMLDPI,
in: (l) => l / ot.HTMLDPI,
mm: (l) => l * 25.4 / ot.HTMLDPI,
cm: (l) => l * 2.54 / ot.HTMLDPI
}, H0 = function(l, e) {
return GV[l](e);
}, Eg = function(l, e) {
return uD[l](e);
}, Ke = function(l) {
return l + "px";
}, w5 = function(l) {
return l + "%";
};
class qf extends Error {
}
const y5 = function(l, e) {
const t = [e], i = l.sort((r, o) => r.index - o.index);
let s = e.index;
const n = i.indexOf(e);
for (let r = n + 1; r < i.length && !(i[r].index > s + 1); r++, s++)
t.push(i[r]);
s = e.index;
for (let r = n - 1; r >= 0 && !(i[r].index > s + 1); r--, s--)
t.unshift(i[r]);
return t;
};
function VX(l) {
if (typeof l == "string") {
const e = l.trim();
if (e.endsWith("%"))
return "%";
if (e.endsWith("px"))
return Er.PIXEL;
if (e.endsWith("pt"))
return Er.POINT;
if (e.endsWith("in"))
return Er.INCH;
if (e.endsWith("mm"))
return Er.MILLI;
if (e.endsWith("cm"))
return Er.CENTI;
}
return Er.PIXEL;
}
class ot {
//-------------------------------------------------------------------------
// static members
//-------------------------------------------------------------------------
static create(e) {
return e == null || typeof e == "string" && (e = e.trim(), !e) ? null : new ot(e);
}
static createDimensions(e) {
if (e && (e = e.trim())) {
const t = e.split(","), i = [];
for (let s of t)
i.push(s ? new ot(s) : null);
return i;
}
}
static equals(e, t) {
return e === t ? !0 : e && t && e.equals(t);
}
//-------------------------------------------------------------------------
// constructor
//-------------------------------------------------------------------------
constructor(e) {
if (this._unit = Er.PIXEL, this._value = NaN, this._fixed = !0, typeof e == "number")
this._value = e;
else if (typeof e == "string") {
const t = e.trim();
this._value = parseFloat(e), isNaN(this._value) || (t.endsWith("%") ? this._fixed = !1 : t.endsWith("pt") ? this._unit = Er.POINT : t.endsWith("in") ? this._unit = Er.INCH : t.endsWith("mm") ? this._unit = Er.MILLI : t.endsWith("cm") && (this._unit = Er.CENTI));
}
}
//-------------------------------------------------------------------------
// properties
//-------------------------------------------------------------------------
get fixed() {
return this._fixed;
}
get unit() {
return this._unit;
}
get value() {
return this._value;
}
//-------------------------------------------------------------------------
// methods
//-------------------------------------------------------------------------
clone() {
const e = new ot(void 0);
return e._fixed = this._fixed, e._unit = this._unit, e._value = this._value, e;
}
equals(e) {
return e === this ? !0 : e instanceof ot ? e._fixed == this._fixed && e._unit == this._unit && e._value == this._value : !1;
}
toString() {
return isNaN(this._value) ? "NaN" : this._fixed ? this._value + this._unit : this._value + "%";
}
getValue() {
return isNaN(this._value) ? "NaN" : this._fixed ? this.$_getPixel() : this._value + "%";
}
getValueNull() {
return isNaN(this._value) ? null : this._fixed ? this.$_getPixel() : this._value + "%";
}
getPixel(e) {
if (!isNaN(this._value)) {
let t = this.$_getPixel();
return this._fixed || (t = e * t / 100), t;
}
return NaN;
}
getFixedPixel() {
return isNaN(this._value) ? NaN : this.$_getPixel();
}
$_getPixel() {
return GV[this._unit](this._value);
}
getFixedInch() {
return uD.in(this.$_getPixel());
}
getFixedPoint() {
return uD.pt(this.$_getPixel());
}
}
ot.HTMLDPI = 96;
class xm {
//-------------------------------------------------------------------------
// constructor
//-------------------------------------------------------------------------
constructor(e) {
if (this._dims = [], this._relative = 0, this._fixed = 0, this._dirty = !1, e && (e = e.trim())) {
const t = e.split(","), i = this._dims = [];
for (let s = 0; s < t.length; s++) {
const n = t[s], r = n ? new ot(n) : null;
i.push(r);
}
this.$_refresh();
}
}
//-------------------------------------------------------------------------
// properties
//-------------------------------------------------------------------------
get count() {
return this._dims.length;
}
get relative() {
return this._relative > 0;
}
//-------------------------------------------------------------------------
// methods
//-------------------------------------------------------------------------
get(e) {
return this._dims[e];
}
set(e, t) {
t !== this._dims[e] && (this._dims[e] = t, this._dirty = !0);
}
/**
* '%' 이면 domain에서 fixed 크기들을 제외한 크기에 대한 상대 크기.
* '%'의 전체 함이 100을 넘으면 100으로 scaling한다.
* 절대크기는 그 크기대로.
* NaN이거나 설정하지 않은 크기는 위의 크기들을 제외한 나머지 크기의 균등분으로
* 최소 min으로 설정된다.
* 전체 합이 domain보다 크거나 작을 수 있다.
*/
// TODO '%'가 존재하거나 고정 크기 합이 domain 이상이면 minSize 반영되지 않는다.
getSizes(e, t, i, s = !1) {
this._dirty && this.$_refresh();
const n = this._dims, r = this._values, o = [], a = i ? Math.max(0, i.getPixel(t) || 0) : 0;
let h = 0, c = 0, d = 0;
for (let p = 0, g = Math.min(e, n.length); p < g; p++)
n[p] && (n[p].fixed ? isNaN(r[p]) || (h += Math.max(0, r[p])) : c += Math.max(0, r[p]));
this._dims.forEach((p, g) => {
const _ = this._values[g];
if (isNaN(_))
o.push(NaN);
else if (p.fixed)
o.push(Math.max(a, _));
else if (isNaN(t))
o.push(NaN);
else {
let m = (t - h) * _ / c, A = Math.floor(m);
d += m - A, d >= 1 && (A++, d--), o.push(Math.max(a, s ? A : m));
}
});
let u = 0, f = 0;
for (let p = 0; p < e; p++) {
const g = o[p];
isNaN(g) ? f++ : u += g;
}
if (f > 0 && !isNaN(t)) {
const p = Math.max(0, (t - u) / f);
for (let g = 0; g < e; g++)
isNaN(o[g]) && (o[g] = Math.max(a, p));
}
return o;
}
getSize(e, t) {
const i = this._dims[e];
if (i) {
const s = this._values[e];
if (!isNaN(s)) return i.fixed ? s : Math.max(0, (t - this._fixed) * s / this._relative);
}
return NaN;
}
changeSize(e, t, i, s, n) {
if (i === 0)
return;
this._dims;
const r = this.getSizes(e, s, n);
if (r[t], i > 0) {
const o = t + 1;
r[o];
} else {
const o = t - 1;
r[o], i -= i;
}
}
//-------------------------------------------------------------------------
// internal members
//-------------------------------------------------------------------------
$_refresh() {
const e = this._values = [];
for (let t of this._dims)
if (t)
if (t.fixed) {
const i = t.$_getPixel();
e.push(i), this._fixed += i;
} else
e.push(t.value), this._relative += t.value;
else
e.push(NaN);
this._dirty = !1;
}
$_init(e) {
this._dims = e.slice(), this.$_refresh();
}
}
xm.Empty = new xm(null);
var Ua;
(function(l) {
l.NONE = "none", l.BEFORE = "before", l.AFTER = "after", l.BOTH = "both";
})(Ua || (Ua = {}));
var Bv;
(function(l) {
l.SELF = "_self", l.BLANK = "_blank", l.PARENT = "_parent", l.TOP = "_top";
})(Bv || (Bv = {}));
var Fv;
(function(l) {
l.TEXT = "text";
})(Fv || (Fv = {}));
var vS;
(function(l) {
l.Currency = "Currency", l.Accounting = "Accounting";
})(vS || (vS = {}));
const UV = [void 0, vS.Accounting, vS.Currency], WV = [void 0, '_("₩"* #,##0_);_("₩"* (#,##0);_("₩"* "-"_);_(@_)', '"₩"#,##0'];
var fD;
(function(l) {
l.Z = "KeyZ", l.Y = "KeyY", l.C = "KeyC", l.V = "KeyV", l.X = "KeyX", l.DELETE = "Delete", l.BACK = "Backspace", l.TAB = "Tab", l.HOME = "Home", l.END = "End", l.UP = "ArrowUp", l.DOWN = "ArrowDown", l.LEFT = "ArrowLeft", l.RIGHT = "ArrowRight", l.A = "KeyA", l._0 = "Digit0", l.EQUAL = "Equal", l.MINUS = "Minus";
})(fD || (fD = {}));
var ya;
(function(l) {
l.PORTRAIT = "portrait", l.LANDSCAPE = "landscape";
})(ya || (ya = {}));
var We;
(function(l) {
l.LEFT = "left", l.RIGHT = "right", l.TOP = "top", l.BOTTOM = "bottom", l.TOP_LEFT = "topLeft", l.BOTTOM_RIGHT = "bottomRight", l.TOP_RIGHT = "topRight", l.BOTTOM_LEFT = "bottomLeft";
})(We || (We = {}));
(function(l) {
function e(n) {
return n === l.LEFT || n === l.TOP_LEFT || n === l.BOTTOM_LEFT;
}
l.isLeft = e;
function t(n) {
return n === l.TOP || n === l.TOP_LEFT || n === l.TOP_RIGHT;
}
l.isTop = t;
function i(n) {
return n === l.TOP_LEFT || n === l.BOTTOM_RIGHT || n === l.TOP_RIGHT || n === l.BOTTOM_LEFT;
}
l.isEdge = i;
function s(n, ...r) {
for (let o of r)
if (o === n)
return !0;
return !1;
}
l.isIn = s;
})(We || (We = {}));
var Vv;
(function(l) {
l.ASCENDING = "ascending", l.DESCENDING = "descending";
})(Vv || (Vv = {}));
var kh;
(function(l) {
l.HORIZONTAL = "horizontal", l.VERTICAL = "vertical";
})(kh || (kh = {}));
var st;
(function(l) {
l.REPORT = "report", l.EMAIL = "email", l.SHEET = "sheet";
})(st || (st = {}));
var El;
(function(l) {
l.REPORT = "report", l.SUB_BAND = "subBand", l.SHEET = "sheet";
})(El || (El = {}));
var Ag;
(function(l) {
l.SIMPLE = "simple", l.BAND = "band";
})(Ag || (Ag = {}));
var hm;
(function(l) {
l.PAGE = "PAGE", l.SUB_BAND_PAGE = "SUB BAND PAGE", l.SHEET = "SHEET";
})(hm || (hm = {}));
var cw;
(function(l) {
l.DATA_FORMAT_IS_INCORRECT = "데이터의 형식이 올바르지 않습니다.";
})(cw || (cw = {}));
var bS;
(function(l) {
l.BAND_ROW_IS_OVERFLOW = "데이터 행이 본문 영역의 높이를 초과할 수 없습니다.";
})(bS || (bS = {}));
var xr;
(function(l) {
l.START = "start", l.MIDDLE = "middle", l.END = "end";
})(xr || (xr = {}));
var wr;
(function(l) {
l.CIRCLE = "circle", l.DISC = "disc", l.SQUARE = "square", l.DECIMAL = "decimal", l.LOWER_ROMAN = "lower-roman", l.UPPER_ROMAN = "upper-roman", l.LOWER_ALPHA = "lower-alpha", l.UPPER_ALPHA = "upper-alpha", l.NONE = "none";
})(wr || (wr = {}));
var Hg;
(function(l) {
l.CONTAIN = "contain", l.COVER = "cover";
})(Hg || (Hg = {}));
var Dd;
(function(l) {
l.TOP = "top", l.BOTTOM = "bottom", l.LEFT = "left", l.RIGHT = "right", l.CENTER = "center";
})(Dd || (Dd = {}));
var qn;
(function(l) {
l.CENTER = "center", l.LEFT = "left", l.RIGHT = "right", l.TOP = "top", l.BOTTOM = "bottom", l.INNER_LEFT = "innerLeft", l.INNER_RIGHT = "innerRight", l.INNER_TOP = "innerTop", l.INNER_BOTTOM = "innerBottom";
})(qn || (qn = {}));
var Sm;
(function(l) {
l.CODE39 = "code39", l.CODE128 = "code128", l.CODE128A = "code128a", l.CODE128B = "code128b", l.CODE128C = "code128c", l.EAN13 = "ean13", l.EAN8 = "ean8", l.EAN5 = "ean5", l.EAN2 = "ean2", l.UPC = "upc", l.UPCE = "upce", l.ITF = "itf", l.ITF14 = "itf14", l.MSI10 = "msi10", l.MSI11 = "msi11", l.MSI1010 = "msi1010", l.MSI1110 = "msi1110", l.PHARMACODE = "pharmacode", l.CODABAR = "codabar";
})(Sm || (Sm = {}));
var CS;
(function(l) {
l.IMAGE = "image", l.FONT = "font";
})(CS || (CS = {}));
var bg;
(function(l) {
l.L = "L", l.M = "M", l.Q = "Q", l.H = "H";
})(bg || (bg = {}));
var pD;
(function(l) {
l.NORMAL = "normal", l.PERCENT = "percent";
})(pD || (pD = {}));
var gD;
(function(l) {
l.CIRCLE = "circle", l.SQUARE = "square", l.DIAMOND = "diamond", l.TRIANGLE = "triangle", l.TRIANGLE_DOWN = "triangle-down";
})(gD || (gD = {}));
var _D;
(function(l) {
l.DASH = "Dash", l.DASH_DOT = "DashDot", l.DOT = "Dot", l.LONG_DASH = "LongDash", l.LONG_DASH_DOT = "LongDashDot", l.LONG_DASH_DOT_DOT = "LongDashDotDot", l.SHORT_DASH = "ShortDash", l.SHORT_DASH_DOT = "ShortDashDot", l.SHORT_DASH_DOT_DOT = "ShortDashDotDot", l.SHORT_DOT = "ShortDot", l.SOLID = "Solid";
})(_D || (_D = {}));
var mD;
(function(l) {
l.ARC = "arc", l.CALLOUT = "callout", l.CIRCLE = "circle", l.DIAMOND = "diamond", l.SQUARE = "square", l.TRIANGLE = "triangle";
})(mD || (mD = {}));
var AD;
(function(l) {
l.CONNECTORS = "connectors", l.PLOT_EDGES = "plotEdges";
})(AD || (AD = {}));
var wD;
(function(l) {
l.FIXED_OFFSET = "fixedOffset", l.STRAIGHT = "straight", l.CROOKED_LINE = "crookedLine";
})(wD || (wD = {}));
var ES;
(function(l) {
l.HORIZONTAL = "horizontal", l.VERTICAL = "vertical", l.PROXIMATE = "proximate";
})(ES || (ES = {}));
var Pm;
(function(l) {
l.ACROSS_DOWN = "acrossDown", l.DOWN_ACROSS = "downAcross";
})(Pm || (Pm = {}));
var dw;
(function(l) {
l.SUM = "sum", l.AVG = "avg", l.MIN = "min", l.MAX = "max", l.COUNT = "count", l.DISTINCT = "distinct";
})(dw || (dw = {}));
var oh;
(function(l) {
l.NONE = "none", l.HEAD = "head", l.PREVIOUS = "previous";
})(oh || (oh = {}));
var hs;
(function(l) {
l.PROP = "prop", l.ITEM = "item";
})(hs || (hs = {}));
var yD;
(function(l) {
l.ORTHOGRAPHIC = "orthographic", l.EQUALEARTH = "equalearth", l.MILLER = "miller", l.MERCATOR = "mercator";
})(yD || (yD = {}));
var gl = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
function xl(l) {
return l && l.__esModule && Object.prototype.hasOwnProperty.call(l, "default") ? l.default : l;
}
var HX = typeof gl == "object" && gl && gl.Object === Object && gl, zV = HX, $X = zV, GX = typeof self == "object" && self && self.Object === Object && self, UX = $X || GX || Function("return this")(), yf = UX, WX = yf, zX = WX.Symbol, gb = zX, v5 = gb, QV = Object.prototype, QX = QV.hasOwnProperty, YX = QV.toString, Yy = v5 ? v5.toStringTag : void 0;
function KX(l) {
var e = QX.call(l, Yy), t = l[Yy];
try {
l[Yy] = void 0;
var i = !0;
} catch {
}
var s = YX.call(l);
return i && (e ? l[Yy] = t : delete l[Yy]), s;
}
var jX = KX, XX = Object.prototype, qX = XX.toString;
function ZX(l) {
return qX.call(l);
}
var JX = ZX, b5 = gb, eq = jX, tq = JX, iq = "[object Null]", sq = "[object Undefined]", C5 = b5 ? b5.toStringTag : void 0;
function nq(l) {
return l == null ? l === void 0 ? sq : iq : C5 && C5 in Object(l) ? eq(l) : tq(l);
}
var Zw = nq;
function rq(l, e) {
return function(t) {
return l(e(t));
};
}
var YV = rq, oq = YV, aq = oq(Object.getPrototypeOf, Object), YM = aq;
function lq(l) {
return l != null && typeof l == "object";
}
var Bp = lq, hq = Zw, cq = YM, dq = Bp, uq = "[object Object]", fq = Function.prototype, pq = Object.prototype, KV = fq.toString, gq = pq.hasOwnProperty, _q = KV.call(Object);
function mq(l) {
if (!dq(l) || hq(l) != uq)
return !1;
var e = cq(l);
if (e === null)
return !0;
var t = gq.call(e, "constructor") && e.constructor;
return typeof t == "function" && t instanceof t && KV.call(t) == _q;
}
var jV = mq, Aq = /* @__PURE__ */ xl(jV);
function wq(l, e) {
for (var t = -1, i = l == null ? 0 : l.length, s = Array(i); ++t < i; )
s[t] = e(l[t], t, l);
return s;
}
var XV = wq, yq = Array.isArray, Jc = yq, vq = Zw, bq = Bp, Cq = "[object Symbol]";
function Eq(l) {
return typeof l == "symbol" || bq(l) && vq(l) == Cq;
}
var sP = Eq, E5 = gb, xq = XV, Sq = Jc, Pq = sP, Iq = 1 / 0, x5 = E5 ? E5.prototype : void 0, S5 = x5 ? x5.toString : void 0;
function qV(l) {
if (typeof l == "string")
return l;
if (Sq(l))
return xq(l, qV) + "";
if (Pq(l))
return S5 ? S5.call(l) : "";
var e = l + "";
return e == "0" && 1 / l == -Iq ? "-0" : e;
}
var Rq = qV, Tq = Rq;
function Lq(l) {
return l == null ? "" : Tq(l);
}
var KM = Lq;
function Oq(l, e, t) {
var i = -1, s = l.length;
e < 0 && (e = -e > s ? 0 : s + e), t = t > s ? s : t, t < 0 && (t += s), s = e > t ? 0 : t - e >>> 0, e >>>= 0;
for (var n = Array(s); ++i < s; )
n[i] = l[i + e];
return n;
}
var ZV = Oq, Dq = ZV;
function Nq(l, e, t) {
var i = l.length;
return t = t === void 0 ? i : t, !e && t >= i ? l : Dq(l, e, t);
}
var Mq = Nq, kq = "\\ud800-\\udfff", Bq = "\\u0300-\\u036f", Fq = "\\ufe20-\\ufe2f", Vq = "\\u20d0-\\u20ff", Hq = Bq + Fq + Vq, $q = "\\ufe0e\\ufe0f", Gq = "\\u200d", Uq = RegExp("[" + Gq + kq + Hq + $q + "]");
function Wq(l) {
return Uq.test(l);
}
var JV = Wq;
function zq(l) {
return l.split("");
}
var Qq = zq, e7 = "\\ud800-\\udfff", Yq = "\\u0300-\\u036f", Kq = "\\ufe20-\\ufe2f", jq = "\\u20d0-\\u20ff", Xq = Yq + Kq + jq, qq = "\\ufe0e\\ufe0f", Zq = "[" + e7 + "]", vD = "[" + Xq + "]", bD = "\\ud83c[\\udffb-\\udfff]", Jq = "(?:" + vD + "|" + bD + ")", t7 = "[^" + e7 + "]", i7 = "(?:\\ud83c[\\udde6-\\uddff]){2}", s7 = "[\\ud800-\\udbff][\\udc00-\\udfff]", eZ = "\\u200d", n7 = Jq + "?", r7 = "[" + qq + "]?", tZ = "(?:" + eZ + "(?:" + [t7, i7, s7].join("|") + ")" + r7 + n7 + ")*", iZ = r7 + n7 + tZ, sZ = "(?:" + [t7 + vD + "?", vD, i7, s7, Zq].join("|") + ")", nZ = RegExp(bD + "(?=" + bD + ")|" + sZ + iZ, "g");
function rZ(l) {
return l.match(nZ) || [];
}
var oZ = rZ, aZ = Qq, lZ = JV, hZ = oZ;
function cZ(l) {
return lZ(l) ? hZ(l) : aZ(l);
}
var dZ = cZ, uZ = Mq, fZ = JV, pZ = dZ, gZ = KM;
function _Z(l) {
return function(e) {
e = gZ(e);
var t = fZ(e) ? pZ(e) : void 0, i = t ? t[0] : e.charAt(0), s = t ? uZ(t, 1).join("") : e.slice(1);
return i[l]() + s;
};
}
var mZ = _Z, AZ = mZ, wZ = AZ("toUpperCase"), yZ = wZ, vZ = KM, bZ = yZ;
function CZ(l) {
return bZ(vZ(l).toLowerCase());
}
var EZ = CZ, xZ = /* @__PURE__ */ xl(EZ), SZ = Jc, PZ = sP, IZ = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, RZ = /^\w*$/;
function TZ(l, e) {
if (SZ(l))
return !1;
var t = typeof l;
return t == "number" || t == "symbol" || t == "boolean" || l == null || PZ(l) ? !0 : RZ.test(l) || !IZ.test(l) || e != null && l in Object(e);
}
var jM = TZ;
function LZ(l) {
var e = typeof l;
return l != null && (e == "object" || e == "function");
}
var Fp = LZ, OZ = Zw, DZ = Fp, NZ = "[object AsyncFunction]", MZ = "[object Function]", kZ = "[object GeneratorFunction]", BZ = "[object Proxy]";
function FZ(l) {
if (!DZ(l))
return !1;
var e = OZ(l);
return e == MZ || e == kZ || e == NZ || e == BZ;
}
var XM = FZ, VZ = yf, HZ = VZ["__core-js_shared__"], $Z = HZ, QL = $Z, P5 = function() {
var l = /[^.]+$/.exec(QL && QL.keys && QL.keys.IE_PROTO || "");
return l ? "Symbol(src)_1." + l : "";
}();
function GZ(l) {
return !!P5 && P5 in l;
}
var UZ = GZ, WZ = Function.prototype, zZ = WZ.toString;
function QZ(l) {
if (l != null) {
try {
return zZ.call(l);
} catch {
}
try {
return l + "";
} catch {
}
}
return "";
}
var o7 = QZ, YZ = XM, KZ = UZ, jZ = Fp, XZ = o7, qZ = /[\\^$.*+?()[\]{}|]/g, ZZ = /^\[object .+?Constructor\]$/, JZ = Function.prototype, eJ = Object.prototype, tJ = JZ.toString, iJ = eJ.hasOwnProperty, sJ = RegExp(
"^" + tJ.call(iJ).replace(qZ, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
);
function nJ(l) {
if (!jZ(l) || KZ(l))
return !1;
var e = YZ(l) ? sJ : ZZ;
return e.test(XZ(l));
}
var rJ = nJ;
function oJ(l, e) {
return l == null ? void 0 : l[e];
}
var aJ = oJ, lJ = rJ, hJ = aJ;
function cJ(l, e) {
var t = hJ(l, e);
return lJ(t) ? t : void 0;
}
var Jm = cJ, dJ = Jm, uJ = dJ(Object, "create"), nP = uJ, I5 = nP;
function fJ() {
this.__data__ = I5 ? I5(null) : {}, this.size = 0;
}
var pJ = fJ;
function gJ(l) {
var e = this.has(l) && delete this.__data__[l];
return this.size -= e ? 1 : 0, e;
}
var _J = gJ, mJ = nP, AJ = "__lodash_hash_undefined__", wJ = Object.prototype, yJ = wJ.hasOwnProperty;
function vJ(l) {
var e = this.__data__;
if (mJ) {
var t = e[l];
return t === AJ ? void 0 : t;
}
return yJ.call(e, l) ? e[l] : void 0;
}
var bJ = vJ, CJ = nP, EJ = Object.prototype, xJ = EJ.hasOwnProperty;
function SJ(l) {
var e = this.__data__;
return CJ ? e[l] !== void 0 : xJ.call(e, l);
}
var PJ = SJ, IJ = nP, RJ = "__lodash_hash_undefined__";
function TJ(l, e) {
var t = this.__data__;
return this.size += this.has(l) ? 0 : 1, t[l] = IJ && e === void 0 ? RJ : e, this;
}
var LJ = TJ, OJ = pJ, DJ = _J, NJ = bJ, MJ = PJ, kJ = LJ;
function Jw(l) {
var e = -1, t = l == null ? 0 : l.length;
for (this.clear(); ++e < t; ) {
var i = l[e];
this.set(i[0], i[1]);
}
}
Jw.prototype.clear = OJ;
Jw.prototype.delete = DJ;
Jw.prototype.get = NJ;
Jw.prototype.has = MJ;
Jw.prototype.set = kJ;
var BJ = Jw;
function FJ() {
this.__data__ = [], this.size = 0;
}
var VJ = FJ;
function HJ(l, e) {
return l === e || l !== l && e !== e;
}
var _b = HJ, $J = _b;
function GJ(l, e) {
for (var t = l.length; t--; )
if ($J(l[t][0], e))
return t;
return -1;
}
var rP = GJ, UJ = rP, WJ = Array.prototype, zJ = WJ.splice;
function QJ(l) {
var e = this.__data__, t = UJ(e, l);
if (t < 0)
return !1;
var i = e.length - 1;
return t == i ? e.pop() : zJ.call(e, t, 1), --this.size, !0;
}
var YJ = QJ, KJ = rP;
function jJ(l) {
var e = this.__data__, t = KJ(e, l);
return t < 0 ? void 0 : e[t][1];
}
var XJ = jJ, qJ = rP;
function ZJ(l) {
return qJ(this.__data__, l) > -1;
}
var JJ = ZJ, eee = rP;
function tee(l, e) {
var t = this.__data__, i = eee(t, l);
return i < 0 ? (++this.size, t.push([l, e])) : t[i][1] = e, this;
}
var iee = tee, see = VJ, nee = YJ, ree = XJ, oee = JJ, aee = iee;
function e1(l) {
var e = -1, t = l == null ? 0 : l.length;
for (this.clear(); ++e < t; ) {
var i = l[e];
this.set(i[0], i[1]);
}
}
e1.prototype.clear = see;
e1.prototype.delete = nee;
e1.prototype.get = ree;
e1.prototype.has = oee;
e1.prototype.set = aee;
var oP = e1, lee = Jm, hee = yf, cee = lee(hee, "Map"), qM = cee, R5 = BJ, dee = oP, uee = qM;
function fee() {
this.size = 0, this.__data__ = {
hash: new R5(),
map: new (uee || dee)(),
string: new R5()
};
}
var pee = fee;
function gee(l) {
var e = typeof l;
return e == "string" || e == "number" || e == "symbol" || e == "boolean" ? l !== "__proto__" : l === null;
}
var _ee = gee, mee = _ee;
function Aee(l, e) {
var t = l.__data__;
return mee(e) ? t[typeof e == "string" ? "string" : "hash"] : t.map;
}
var aP = Aee, wee = aP;
function yee(l) {
var e = wee(this, l).delete(l);
return this.size -= e ? 1 : 0, e;
}
var vee = yee, bee = aP;
function Cee(l) {
return bee(this, l).get(l);
}
var Eee = Cee, xee = aP;
function See(l) {
return xee(this, l).has(l);
}
var Pee = See, Iee = aP;
function Ree(l, e) {
var t = Iee(this, l), i = t.size;
return t.set(l, e), this.size += t.size == i ? 0 : 1, this;
}
var Tee = Ree, Lee = pee, Oee = vee, Dee = Eee, Nee = Pee, Mee = Tee;
function t1(l) {
var e = -1, t = l == null ? 0 : l.length;
for (this.clear(); ++e < t; ) {
var i = l[e];
this.set(i[0], i[1]);
}
}
t1.prototype.clear = Lee;
t1.prototype.delete = Oee;
t1.prototype.get = Dee;
t1.prototype.has = Nee;
t1.prototype.set = Mee;
var ZM = t1, a7 = ZM, kee = "Expected a function";
function JM(l, e) {
if (typeof l != "function" || e != null && typeof e != "function")
throw new TypeError(kee);
var t = function() {
var i = arguments, s = e ? e.apply(this, i) : i[0], n = t.cache;
if (n.has(s))
return n.get(s);
var r = l.apply(this, i);
return t.cache = n.set(s, r) || n, r;
};
return t.cache = new (JM.Cache || a7)(), t;
}
JM.Cache = a7;
var Bee = JM, Fee = Bee, Vee = 500;
function Hee(l) {
var e = Fee(l, function(i) {
return t.size === Vee && t.clear(), i;
}), t = e.cache;
return e;
}
var $ee = Hee, Gee = $ee, Uee = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, Wee = /\\(\\)?/g, zee = Gee(function(l) {
var e = [];
return l.charCodeAt(0) === 46 && e.push(""), l.replace(Uee, function(t, i, s, n) {
e.push(s ? n.replace(Wee, "$1") : i || t);
}), e;
}), Qee = zee, Yee = Jc, Kee = jM, jee = Qee, Xee = KM;
function qee(l, e) {
return Yee(l) ? l : Kee(l, e) ? [l] : jee(Xee(l));
}
var ek = qee, Zee = sP, Jee = 1 / 0;
function ete(l) {
if (typeof l == "string" || Zee(l))
return l;
var e = l + "";
return e == "0" && 1 / l == -Jee ? "-0" : e;
}
var mb = ete, tte = ek, ite = mb;
function ste(l, e) {
e = tte(e, l);
for (var t = 0, i = e.length; l != null && t < i; )
l = l[ite(e[t++])];
return t && t == i ? l : void 0;
}
var lP = ste, nte = oP;
function rte() {
this.__data__ = new nte(), this.size = 0;
}
var ote = rte;
function ate(l) {
var e = this.__data__, t = e.delete(l);
return this.size = e.size, t;
}
var lte = ate;
function hte(l) {
return this.__data__.get(l);
}
var cte = hte;
function dte(l) {
return this.__data__.has(l);
}
var ute = dte, fte = oP, pte = qM, gte = ZM, _te = 200;
function mte(l, e) {
var t = this.__data__;
if (t instanceof fte) {
var i = t.__data__;
if (!pte || i.length < _te - 1)
return i.push([l, e]), this.size = ++t.size, this;
t = this.__data__ = new gte(i);
}
return t.set(l, e), this.size = t.size, this;
}
var Ate = mte, wte = oP, yte = ote, vte = lte, bte = cte, Cte = ute, Ete = Ate;
function i1(l) {
var e = this.__data__ = new wte(l);
this.size = e.size;
}
i1.prototype.clear = yte;
i1.prototype.delete = vte;
i1.prototype.get = bte;
i1.prototype.has = Cte;
i1.prototype.set = Ete;
var hP = i1, xte = "__lodash_hash_undefined__";
function Ste(l) {
return this.__data__.set(l, xte), this;
}
var Pte = Ste;
function Ite(l) {
return this.__data__.has(l);
}
var Rte = Ite, Tte = ZM, Lte = Pte, Ote = Rte;
function xS(l) {
var e = -1, t = l == null ? 0 : l.length;
for (this.__data__ = new Tte(); ++e < t; )
this.add(l[e]);
}
xS.prototype.add = xS.prototype.push = Lte;
xS.prototype.has = Ote;
var l7 = xS;
function Dte(l, e) {
for (var t = -1, i = l == null ? 0 : l.length; ++t < i; )
if (e(l[t], t, l))
return !0;
return !1;
}
var Nte = Dte;
function Mte(l, e) {
return l.has(e);
}
var h7 = Mte, kte = l7, Bte = Nte, Fte = h7, Vte = 1, Hte = 2;
function $te(l, e, t, i, s, n) {
var r = t & Vte, o = l.length, a = e.length;
if (o != a && !(r && a > o))
return !1;
var h = n.get(l), c = n.get(e);
if (h && c)
return h == e && c == l;
var d = -1, u = !0, f = t & Hte ? new kte() : void 0;
for (n.set(l, e), n.set(e, l); ++d < o; ) {
var p = l[d], g = e[d];
if (i)
var _ = r ? i(g, p, d, e, l, n) : i(p, g, d, l, e, n);
if (_ !== void 0) {
if (_)
continue;
u = !1;
break;
}
if (f) {
if (!Bte(e, function(m, A) {
if (!Fte(f, A) && (p === m || s(p, m, t, i, n)))
return f.push(A);
})) {
u = !1;
break;
}
} else if (!(p === g || s(p, g, t, i, n))) {
u = !1;
break;
}
}
return n.delete(l), n.delete(e), u;
}
var c7 = $te, Gte = yf, Ute = Gte.Uint8Array, d7 = Ute;
function Wte(l) {
var e = -1, t = Array(l.size);
return l.forEach(function(i, s) {
t[++e] = [s, i];
}), t;
}
var zte = Wte;
function Qte(l) {
var e = -1, t = Array(l.size);
return l.forEach(function(i) {
t[++e] = i;
}), t;
}
var tk = Qte, T5 = gb, L5 = d7, Yte = _b, Kte = c7, jte = zte, Xte = tk, qte = 1, Zte = 2, Jte = "[object Boolean]", eie = "[object Date]", tie = "[object Error]", iie = "[object Map]", sie = "[object Number]", nie = "[object RegExp]", rie = "[object Set]", oie = "[object String]", aie = "[object Symbol]", lie = "[object ArrayBuffer]", hie = "[object DataView]", O5 = T5 ? T5.prototype : void 0, YL = O5 ? O5.valueOf : void 0;
function cie(l, e, t, i, s, n, r) {
switch (t) {
case hie:
if (l.byteLength != e.byteLength || l.byteOffset != e.byteOffset)
return !1;
l = l.buffer, e = e.buffer;
case lie:
return !(l.byteLength != e.byteLength || !n(new L5(l), new L5(e)));
case Jte:
case eie:
case sie:
return Yte(+l, +e);
case tie:
return l.name == e.name && l.message == e.message;
case nie:
case oie:
return l == e + "";
case iie:
var o = jte;
case rie:
var a = i & qte;
if (o || (o = Xte), l.size != e.size && !a)
return !1;
var h = r.get(l);
if (h)
return h == e;
i |= Zte, r.set(l, e);
var c = Kte(o(l), o(e), i, s, n, r);
return r.delete(l), c;
case aie:
if (YL)
return YL.call(l) == YL.call(e);
}
return !1;
}
var die = cie;
function uie(l, e) {
for (var t = -1, i = e.length, s = l.length; ++t < i; )
l[s + t] = e[t];
return l;
}
var u7 = uie, fie = u7, pie = Jc;
function gie(l, e, t) {
var i = e(l);
return pie(l) ? i : fie(i, t(l));
}
var f7 = gie;
function _ie(l, e) {
for (var t = -1, i = l == null ? 0 : l.length, s = 0, n = []; ++t < i; ) {
var r = l[t];
e(r, t, l) && (n[s++] = r);
}
return n;
}
var mie = _ie;
function Aie() {
return [];
}
var p7 = Aie, wie = mie, yie = p7, vie = Object.prototype, bie = vie.propertyIsEnumerable, D5 = Object.getOwnPropertySymbols, Cie = D5 ? function(l) {
return l == null ? [] : (l = Object(l), wie(D5(l), function(e) {
return bie.call(l, e);
}));
} : yie, ik = Cie;
function Eie(l, e) {
for (var t = -1, i = Array(l); ++t < l; )
i[t] = e(t);
return i;
}
var xie = Eie, Sie = Zw, Pie = Bp, Iie = "[object Arguments]";
function Rie(l) {
return Pie(l) && Sie(l) == Iie;
}
var Tie = Rie, N5 = Tie, Lie = Bp, g7 = Object.prototype, Oie = g7.hasOwnProperty, Die = g7.propertyIsEnumerable, Nie = N5(/* @__PURE__ */ function() {
return arguments;
}()) ? N5 : function(l) {
return Lie(l) && Oie.call(l, "callee") && !Die.call(l, "callee");
}, sk = Nie, SS = { exports: {} };
function Mie() {
return !1;
}
var kie = Mie;
SS.exports;
(function(l, e) {
var t = yf, i = kie, s = e && !e.nodeType && e, n = s && !0 && l && !l.nodeType && l, r = n && n.exports === s, o = r ? t.Buffer : void 0, a = o ? o.isBuffer : void 0, h = a || i;
l.exports = h;
})(SS, SS.exports);
var cP = SS.exports, Bie = 9007199254740991, Fie = /^(?:0|[1-9]\d*)$/;
function Vie(l, e) {
var t = typeof l;
return e = e ?? Bie, !!e && (t == "number" || t != "symbol" && Fie.test(l)) && l > -1 && l % 1 == 0 && l < e;
}
var nk = Vie, Hie = 9007199254740991;
function $ie(l) {
return typeof l == "number" && l > -1 && l % 1 == 0 && l <= Hie;
}
var rk = $ie, Gie = Zw, Uie = rk, Wie = Bp, zie = "[object Arguments]", Qie = "[object Array]", Yie = "[object Boolean]", Kie = "[object Date]", jie = "[object Error]", Xie = "[object Function]", qie = "[object Map]", Zie = "[object Number]", Jie = "[object Object]", ese = "[object RegExp]", tse = "[object Set]", ise = "[object String]", sse = "[object WeakMap]", nse = "[object ArrayBuffer]", rse = "[object DataView]", ose = "[object Float32Array]", ase = "[object Float64Array]", lse = "[object Int8Array]", hse = "[object Int16Array]", cse = "[object Int32Array]", dse = "[object Uint8Array]", use = "[object Uint8ClampedArray]", fse = "[object Uint16Array]", pse = "[object Uint32Array]", vn = {};
vn[ose] = vn[ase] = vn[lse] = vn[hse] = vn[cse] = vn[dse] = vn[use] = vn[fse] = vn[pse] = !0;
vn[zie] = vn[Qie] = vn[nse] = vn[Yie] = vn[rse] = vn[Kie] = vn[jie] = vn[Xie] = vn[qie] = vn[Zie] = vn[Jie] = vn[ese] = vn[tse] = vn[ise] = vn[sse] = !1;
function gse(l) {
return Wie(l) && Uie(l.length) && !!vn[Gie(l)];
}
var _se = gse;
function mse(l) {
return function(e) {
return l(e);
};
}
var dP = mse, PS = { exports: {} };
PS.exports;
(function(l, e) {
var t = zV, i = e && !e.nodeType && e, s = i && !0 && l && !l.nodeType && l, n = s && s.exports === i, r = n && t.process, o = function() {
try {
var a = s && s.require && s.require("util").types;
return a || r && r.binding && r.binding("util");
} catch {
}
}();
l.exports = o;
})(PS, PS.exports);
var ok = PS.exports, Ase = _se, wse = dP, M5 = ok, k5 = M5 && M5.isTypedArray, yse = k5 ? wse(k5) : Ase, ak = yse, vse = xie, bse = sk, Cse = Jc, Ese = cP, xse = nk, Sse = ak, Pse = Object.prototype, Ise = Pse.hasOwnProperty;
function Rse(l, e) {
var t = Cse(l), i = !t && bse(l), s = !t && !i && Ese(l), n = !t && !i && !s && Sse(l), r = t || i || s || n, o = r ? vse(l.length, String) : [], a = o.length;
for (var h in l)
(e || Ise.call(l, h)) && !(r && // Safari 9 has enumerable `arguments.length` in strict mode.
(h == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
s && (h == "offset" || h == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
n && (h == "buffer" || h == "byteLength" || h == "byteOffset") || // Skip index properties.
xse(h, a))) && o.push(h);
return o;
}
var _7 = Rse, Tse = Object.prototype;
function Lse(l) {
var e = l && l.constructor, t = typeof e == "function" && e.prototype || Tse;
return l === t;
}
var lk = Lse, Ose = YV, Dse = Ose(Object.keys, Object), Nse = Dse, Mse = lk, kse = Nse, Bse = Object.prototype, Fse = Bse.hasOwnProperty;
function Vse(l) {
if (!Mse(l))
return kse(l);
var e = [];
for (var t in Object(l))
Fse.call(l, t) && t != "constructor" && e.push(t);
return e;
}
var Hse = Vse, $se = XM, Gse = rk;
function Use(l) {
return l != null && Gse(l.length) && !$se(l);
}
var s1 = Use, Wse = _7, zse = Hse, Qse = s1;
function Yse(l) {
return Qse(l) ? Wse(l) : zse(l);
}
var Ab = Yse, Kse = f7, jse = ik, Xse = Ab;
function qse(l) {
return Kse(l, Xse, jse);
}
var m7 = qse, B5 = m7, Zse = 1, Jse = Object.prototype, ene = Jse.hasOwnProperty;
function tne(l, e, t, i, s, n) {
var r = t & Zse, o = B5(l), a = o.length, h = B5(e), c = h.length;
if (a != c && !r)
return !1;
for (var d = a; d--; ) {
var u = o[d];
if (!(r ? u in e : ene.call(e, u)))
return !1;
}
var f = n.get(l), p = n.get(e);
if (f && p)
return f == e && p == l;
var g = !0;
n.set(l, e), n.set(e, l);
for (var _ = r; ++d < a; ) {
u = o[d];
var m = l[u], A = e[u];
if (i)
var w = r ? i(A, m, u, e, l, n) : i(m, A, u, l, e, n);
if (!(w === void 0 ? m === A || s(m, A, t, i, n) : w)) {
g = !1;
break;
}
_ || (_ = u == "constructor");
}
if (g && !_) {
var y = l.constructor, v = e.constructor;
y != v && "constructor" in l && "constructor" in e && !(typeof y == "function" && y instanceof y && typeof v == "function" && v instanceof v) && (g = !1);
}
return n.delete(l), n.delete(e), g;
}
var ine = tne, sne = Jm, nne = yf, rne = sne(nne, "DataView"), one = rne, ane = Jm, lne = yf, hne = ane(lne, "Promise"), cne = hne, dne = Jm, une = yf, fne = dne(une, "Set"), A7 = fne, pne = Jm, gne = yf, _ne = pne(gne, "WeakMap"), mne = _ne, CD = one, ED = qM, xD = cne, SD = A7, PD = mne, w7 = Zw, n1 = o7, F5 = "[object Map]", Ane = "[object Object]", V5 = "[object Promise]", H5 = "[object Set]", $5 = "[object WeakMap]", G5 = "[object DataView]", wne = n1(CD), yne = n1(ED), vne = n1(xD), bne = n1(SD), Cne = n1(PD), Z_ = w7;
(CD && Z_(new CD(new ArrayBuffer(1))) != G5 || ED && Z_(new ED()) != F5 || xD && Z_(xD.resolve()) != V5 || SD && Z_(new SD()) != H5 || PD && Z_(new PD()) != $5) && (Z_ = function(l) {
var e = w7(l), t = e == Ane ? l.constructor : void 0, i = t ? n1(t) : "";
if (i)
switch (i) {
case wne:
return G5;
case yne:
return F5;
case vne:
return V5;
case bne:
return H5;
case Cne:
return $5;
}
return e;
});
var uP = Z_, KL = hP, Ene = c7, xne = die, Sne = ine, U5 = uP, W5 = Jc, z5 = cP, Pne = ak, Ine = 1, Q5 = "[object Arguments]", Y5 = "[object Array]", _x = "[object Object]", Rne = Object.prototype, K5 = Rne.hasOwnProperty;
function Tne(l, e, t, i, s, n) {
var r = W5(l), o = W5(e), a = r ? Y5 : U5(l), h = o ? Y5 : U5(e);
a = a == Q5 ? _x : a, h = h == Q5 ? _x : h;
var c = a == _x, d = h == _x, u = a == h;
if (u && z5(l)) {
if (!z5(e))
return !1;
r = !0, c = !1;
}
if (u && !c)
return n || (n = new KL()), r || Pne(l) ? Ene(l, e, t, i, s, n) : xne(l, e, a, t, i, s, n);
if (!(t & Ine)) {
var f = c && K5.call(l, "__wrapped__"), p = d && K5.call(e, "__wrapped__");
if (f || p) {
var g = f ? l.value() : l, _ = p ? e.value() : e;
return n || (n = new KL()), s(g, _, t, i, n);
}
}
return u ? (n || (n = new KL()), Sne(l, e, t, i, s, n)) : !1;
}
var Lne = Tne, One = Lne, j5 = Bp;
function y7(l, e, t, i, s) {
return l === e ? !0 : l == null || e == null || !j5(l) && !j5(e) ? l !== l && e !== e : One(l, e, t, i, y7, s);
}
var hk = y7, Dne = hP, Nne = hk, Mne = 1, kne = 2;
function Bne(l, e, t, i) {
var s = t.length, n = s, r = !i;
if (l == null)
return !n;
for (l = Object(l); s--; ) {
var o = t[s];
if (r && o[2] ? o[1] !== l[o[0]] : !(o[0] in l))
return !1;
}
for (; ++s < n; ) {
o = t[s];
var a = o[0], h = l[a], c = o[1];
if (r && o[2]) {
if (h === void 0 && !(a in l))
return !1;
} else {
var d = new Dne();
if (i)
var u = i(h, c, a, l, e, d);
if (!(u === void 0 ? Nne(c, h, Mne | kne, i, d) : u))
return !1;
}
}
return !0;
}
var Fne = Bne, Vne = Fp;
function Hne(l) {
return l === l && !Vne(l);
}
var v7 = Hne, $ne = v7, Gne = Ab;
function Une(l) {
for (var e = Gne(l), t = e.length; t--; ) {
var i = e[t], s = l[i];
e[t] = [i, s, $ne(s)];
}
return e;
}
var Wne = Une;
function zne(l, e) {
return function(t) {
return t == null ? !1 : t[l] === e && (e !== void 0 || l in Object(t));
};
}
var b7 = zne, Qne = Fne, Yne = Wne, Kne = b7;
function jne(l) {
var e = Yne(l);
return e.length == 1 && e[0][2] ? Kne(e[0][0], e[0][1]) : function(t) {
return t === l || Qne(t, l, e);
};
}
var Xne = jne, qne = lP;
function Zne(l, e, t) {
var i = l == null ? void 0 : qne(l, e);
return i === void 0 ? t : i;
}
var Jne = Zne;
function ere(l, e) {
return l != null && e in Object(l);
}
var tre = ere, ire = ek, sre = sk, nre = Jc, rre = nk, ore = rk, are = mb;
function lre(l, e, t) {
e = ire(e, l);
for (var i = -1, s = e.length, n = !1; ++i < s; ) {
var r = are(e[i]);
if (!(n = l != null && t(l, r)))
break;
l = l[r];
}
return n || ++i != s ? n :