@linkurious/ogma-linkurious-parser 4.1.14 → 4.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -1,119 +1,119 @@
1
- import { CurrencyFormat as B, PropertyTypeName as pr, AutoRangeScale as Ut, OgmaEdgeShape as br, SelectorType as S, ForceLayoutMode as yr, EntityType as I } from "@linkurious/rest-client";
2
- import vr from "@linkurious/ogma";
3
- import { BehaviorSubject as mr } from "rxjs";
4
- var X = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
5
- function Oe(r) {
1
+ import { CurrencyFormat as G, PropertyTypeName as yr, AutoRangeScale as Vt, OgmaEdgeShape as vr, SelectorType as A, ForceLayoutMode as _r, EntityType as I, NodeGroupingType as Y } from "@linkurious/rest-client";
2
+ import mr from "@linkurious/ogma";
3
+ import { BehaviorSubject as Cr } from "rxjs";
4
+ var re = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
5
+ function Ie(r) {
6
6
  return r && r.__esModule && Object.prototype.hasOwnProperty.call(r, "default") ? r.default : r;
7
7
  }
8
- function _r() {
8
+ function Ar() {
9
9
  this.__data__ = [], this.size = 0;
10
10
  }
11
- var Cr = _r;
12
- function Sr(r, e) {
11
+ var Sr = Ar;
12
+ function xr(r, e) {
13
13
  return r === e || r !== r && e !== e;
14
14
  }
15
- var Le = Sr, Ar = Le;
16
- function xr(r, e) {
15
+ var Me = xr, Er = Me;
16
+ function Fr(r, e) {
17
17
  for (var t = r.length; t--; )
18
- if (Ar(r[t][0], e))
18
+ if (Er(r[t][0], e))
19
19
  return t;
20
20
  return -1;
21
21
  }
22
- var se = xr, $r = se, Er = Array.prototype, Fr = Er.splice;
23
- function Tr(r) {
22
+ var le = Fr, $r = le, Tr = Array.prototype, Nr = Tr.splice;
23
+ function Dr(r) {
24
24
  var e = this.__data__, t = $r(e, r);
25
25
  if (t < 0)
26
26
  return !1;
27
27
  var i = e.length - 1;
28
- return t == i ? e.pop() : Fr.call(e, t, 1), --this.size, !0;
28
+ return t == i ? e.pop() : Nr.call(e, t, 1), --this.size, !0;
29
29
  }
30
- var wr = Tr, Nr = se;
31
- function Dr(r) {
32
- var e = this.__data__, t = Nr(e, r);
30
+ var wr = Dr, Or = le;
31
+ function Lr(r) {
32
+ var e = this.__data__, t = Or(e, r);
33
33
  return t < 0 ? void 0 : e[t][1];
34
34
  }
35
- var Or = Dr, Lr = se;
36
- function Ir(r) {
37
- return Lr(this.__data__, r) > -1;
35
+ var Pr = Lr, Ir = le;
36
+ function Mr(r) {
37
+ return Ir(this.__data__, r) > -1;
38
38
  }
39
- var Pr = Ir, Mr = se;
40
- function Rr(r, e) {
41
- var t = this.__data__, i = Mr(t, r);
39
+ var Rr = Mr, Br = le;
40
+ function Gr(r, e) {
41
+ var t = this.__data__, i = Br(t, r);
42
42
  return i < 0 ? (++this.size, t.push([r, e])) : t[i][1] = e, this;
43
43
  }
44
- var Br = Rr, zr = Cr, Gr = wr, Ur = Or, jr = Pr, kr = Br;
45
- function j(r) {
44
+ var zr = Gr, jr = Sr, Ur = wr, Vr = Pr, kr = Rr, Hr = zr;
45
+ function V(r) {
46
46
  var e = -1, t = r == null ? 0 : r.length;
47
47
  for (this.clear(); ++e < t; ) {
48
48
  var i = r[e];
49
49
  this.set(i[0], i[1]);
50
50
  }
51
51
  }
52
- j.prototype.clear = zr;
53
- j.prototype.delete = Gr;
54
- j.prototype.get = Ur;
55
- j.prototype.has = jr;
56
- j.prototype.set = kr;
57
- var ae = j, Hr = ae;
58
- function Vr() {
59
- this.__data__ = new Hr(), this.size = 0;
52
+ V.prototype.clear = jr;
53
+ V.prototype.delete = Ur;
54
+ V.prototype.get = Vr;
55
+ V.prototype.has = kr;
56
+ V.prototype.set = Hr;
57
+ var ce = V, Kr = ce;
58
+ function qr() {
59
+ this.__data__ = new Kr(), this.size = 0;
60
60
  }
61
- var Kr = Vr;
62
- function qr(r) {
61
+ var Yr = qr;
62
+ function Wr(r) {
63
63
  var e = this.__data__, t = e.delete(r);
64
64
  return this.size = e.size, t;
65
65
  }
66
- var Wr = qr;
67
- function Yr(r) {
66
+ var Jr = Wr;
67
+ function Zr(r) {
68
68
  return this.__data__.get(r);
69
69
  }
70
- var Jr = Yr;
71
- function Zr(r) {
70
+ var Xr = Zr;
71
+ function Qr(r) {
72
72
  return this.__data__.has(r);
73
73
  }
74
- var Xr = Zr, Qr = typeof X == "object" && X && X.Object === Object && X, jt = Qr, ei = jt, ti = typeof self == "object" && self && self.Object === Object && self, ri = ei || ti || Function("return this")(), N = ri, ii = N, ni = ii.Symbol, Y = ni, We = Y, kt = Object.prototype, si = kt.hasOwnProperty, ai = kt.toString, q = We ? We.toStringTag : void 0;
75
- function oi(r) {
76
- var e = si.call(r, q), t = r[q];
74
+ var ei = Qr, ti = typeof re == "object" && re && re.Object === Object && re, kt = ti, ri = kt, ii = typeof self == "object" && self && self.Object === Object && self, ni = ri || ii || Function("return this")(), w = ni, si = w, ai = si.Symbol, Q = ai, Je = Q, Ht = Object.prototype, oi = Ht.hasOwnProperty, ui = Ht.toString, W = Je ? Je.toStringTag : void 0;
75
+ function li(r) {
76
+ var e = oi.call(r, W), t = r[W];
77
77
  try {
78
- r[q] = void 0;
78
+ r[W] = void 0;
79
79
  var i = !0;
80
80
  } catch {
81
81
  }
82
- var n = ai.call(r);
83
- return i && (e ? r[q] = t : delete r[q]), n;
82
+ var n = ui.call(r);
83
+ return i && (e ? r[W] = t : delete r[W]), n;
84
84
  }
85
- var ui = oi, li = Object.prototype, ci = li.toString;
86
- function di(r) {
87
- return ci.call(r);
85
+ var ci = li, di = Object.prototype, gi = di.toString;
86
+ function hi(r) {
87
+ return gi.call(r);
88
88
  }
89
- var gi = di, Ye = Y, hi = ui, fi = gi, pi = "[object Null]", bi = "[object Undefined]", Je = Ye ? Ye.toStringTag : void 0;
90
- function yi(r) {
91
- return r == null ? r === void 0 ? bi : pi : Je && Je in Object(r) ? hi(r) : fi(r);
89
+ var fi = hi, Ze = Q, pi = ci, bi = fi, yi = "[object Null]", vi = "[object Undefined]", Xe = Ze ? Ze.toStringTag : void 0;
90
+ function _i(r) {
91
+ return r == null ? r === void 0 ? vi : yi : Xe && Xe in Object(r) ? pi(r) : bi(r);
92
92
  }
93
- var J = yi;
94
- function vi(r) {
93
+ var ee = _i;
94
+ function mi(r) {
95
95
  var e = typeof r;
96
96
  return r != null && (e == "object" || e == "function");
97
97
  }
98
- var oe = vi, mi = J, _i = oe, Ci = "[object AsyncFunction]", Si = "[object Function]", Ai = "[object GeneratorFunction]", xi = "[object Proxy]";
98
+ var de = mi, Ci = ee, Ai = de, Si = "[object AsyncFunction]", xi = "[object Function]", Ei = "[object GeneratorFunction]", Fi = "[object Proxy]";
99
99
  function $i(r) {
100
- if (!_i(r))
100
+ if (!Ai(r))
101
101
  return !1;
102
- var e = mi(r);
103
- return e == Si || e == Ai || e == Ci || e == xi;
102
+ var e = Ci(r);
103
+ return e == xi || e == Ei || e == Si || e == Fi;
104
104
  }
105
- var Ht = $i, Ei = N, Fi = Ei["__core-js_shared__"], Ti = Fi, fe = Ti, Ze = function() {
106
- var r = /[^.]+$/.exec(fe && fe.keys && fe.keys.IE_PROTO || "");
105
+ var Kt = $i, Ti = w, Ni = Ti["__core-js_shared__"], Di = Ni, ve = Di, Qe = function() {
106
+ var r = /[^.]+$/.exec(ve && ve.keys && ve.keys.IE_PROTO || "");
107
107
  return r ? "Symbol(src)_1." + r : "";
108
108
  }();
109
109
  function wi(r) {
110
- return !!Ze && Ze in r;
110
+ return !!Qe && Qe in r;
111
111
  }
112
- var Ni = wi, Di = Function.prototype, Oi = Di.toString;
113
- function Li(r) {
112
+ var Oi = wi, Li = Function.prototype, Pi = Li.toString;
113
+ function Ii(r) {
114
114
  if (r != null) {
115
115
  try {
116
- return Oi.call(r);
116
+ return Pi.call(r);
117
117
  } catch {
118
118
  }
119
119
  try {
@@ -123,53 +123,53 @@ function Li(r) {
123
123
  }
124
124
  return "";
125
125
  }
126
- var Vt = Li, Ii = Ht, Pi = Ni, Mi = oe, Ri = Vt, Bi = /[\\^$.*+?()[\]{}|]/g, zi = /^\[object .+?Constructor\]$/, Gi = Function.prototype, Ui = Object.prototype, ji = Gi.toString, ki = Ui.hasOwnProperty, Hi = RegExp(
127
- "^" + ji.call(ki).replace(Bi, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
126
+ var qt = Ii, Mi = Kt, Ri = Oi, Bi = de, Gi = qt, zi = /[\\^$.*+?()[\]{}|]/g, ji = /^\[object .+?Constructor\]$/, Ui = Function.prototype, Vi = Object.prototype, ki = Ui.toString, Hi = Vi.hasOwnProperty, Ki = RegExp(
127
+ "^" + ki.call(Hi).replace(zi, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
128
128
  );
129
- function Vi(r) {
130
- if (!Mi(r) || Pi(r))
129
+ function qi(r) {
130
+ if (!Bi(r) || Ri(r))
131
131
  return !1;
132
- var e = Ii(r) ? Hi : zi;
133
- return e.test(Ri(r));
132
+ var e = Mi(r) ? Ki : ji;
133
+ return e.test(Gi(r));
134
134
  }
135
- var Ki = Vi;
136
- function qi(r, e) {
135
+ var Yi = qi;
136
+ function Wi(r, e) {
137
137
  return r == null ? void 0 : r[e];
138
138
  }
139
- var Wi = qi, Yi = Ki, Ji = Wi;
140
- function Zi(r, e) {
141
- var t = Ji(r, e);
142
- return Yi(t) ? t : void 0;
139
+ var Ji = Wi, Zi = Yi, Xi = Ji;
140
+ function Qi(r, e) {
141
+ var t = Xi(r, e);
142
+ return Zi(t) ? t : void 0;
143
143
  }
144
- var M = Zi, Xi = M, Qi = N, en = Xi(Qi, "Map"), Ie = en, tn = M, rn = tn(Object, "create"), ue = rn, Xe = ue;
145
- function nn() {
146
- this.__data__ = Xe ? Xe(null) : {}, this.size = 0;
144
+ var R = Qi, en = R, tn = w, rn = en(tn, "Map"), Re = rn, nn = R, sn = nn(Object, "create"), ge = sn, et = ge;
145
+ function an() {
146
+ this.__data__ = et ? et(null) : {}, this.size = 0;
147
147
  }
148
- var sn = nn;
149
- function an(r) {
148
+ var on = an;
149
+ function un(r) {
150
150
  var e = this.has(r) && delete this.__data__[r];
151
151
  return this.size -= e ? 1 : 0, e;
152
152
  }
153
- var on = an, un = ue, ln = "__lodash_hash_undefined__", cn = Object.prototype, dn = cn.hasOwnProperty;
154
- function gn(r) {
153
+ var ln = un, cn = ge, dn = "__lodash_hash_undefined__", gn = Object.prototype, hn = gn.hasOwnProperty;
154
+ function fn(r) {
155
155
  var e = this.__data__;
156
- if (un) {
156
+ if (cn) {
157
157
  var t = e[r];
158
- return t === ln ? void 0 : t;
158
+ return t === dn ? void 0 : t;
159
159
  }
160
- return dn.call(e, r) ? e[r] : void 0;
160
+ return hn.call(e, r) ? e[r] : void 0;
161
161
  }
162
- var hn = gn, fn = ue, pn = Object.prototype, bn = pn.hasOwnProperty;
163
- function yn(r) {
162
+ var pn = fn, bn = ge, yn = Object.prototype, vn = yn.hasOwnProperty;
163
+ function _n(r) {
164
164
  var e = this.__data__;
165
- return fn ? e[r] !== void 0 : bn.call(e, r);
165
+ return bn ? e[r] !== void 0 : vn.call(e, r);
166
166
  }
167
- var vn = yn, mn = ue, _n = "__lodash_hash_undefined__";
168
- function Cn(r, e) {
167
+ var mn = _n, Cn = ge, An = "__lodash_hash_undefined__";
168
+ function Sn(r, e) {
169
169
  var t = this.__data__;
170
- return this.size += this.has(r) ? 0 : 1, t[r] = mn && e === void 0 ? _n : e, this;
170
+ return this.size += this.has(r) ? 0 : 1, t[r] = Cn && e === void 0 ? An : e, this;
171
171
  }
172
- var Sn = Cn, An = sn, xn = on, $n = hn, En = vn, Fn = Sn;
172
+ var xn = Sn, En = on, Fn = ln, $n = pn, Tn = mn, Nn = xn;
173
173
  function k(r) {
174
174
  var e = -1, t = r == null ? 0 : r.length;
175
175
  for (this.clear(); ++e < t; ) {
@@ -177,48 +177,48 @@ function k(r) {
177
177
  this.set(i[0], i[1]);
178
178
  }
179
179
  }
180
- k.prototype.clear = An;
181
- k.prototype.delete = xn;
180
+ k.prototype.clear = En;
181
+ k.prototype.delete = Fn;
182
182
  k.prototype.get = $n;
183
- k.prototype.has = En;
184
- k.prototype.set = Fn;
185
- var Tn = k, Qe = Tn, wn = ae, Nn = Ie;
186
- function Dn() {
183
+ k.prototype.has = Tn;
184
+ k.prototype.set = Nn;
185
+ var Dn = k, tt = Dn, wn = ce, On = Re;
186
+ function Ln() {
187
187
  this.size = 0, this.__data__ = {
188
- hash: new Qe(),
189
- map: new (Nn || wn)(),
190
- string: new Qe()
188
+ hash: new tt(),
189
+ map: new (On || wn)(),
190
+ string: new tt()
191
191
  };
192
192
  }
193
- var On = Dn;
194
- function Ln(r) {
193
+ var Pn = Ln;
194
+ function In(r) {
195
195
  var e = typeof r;
196
196
  return e == "string" || e == "number" || e == "symbol" || e == "boolean" ? r !== "__proto__" : r === null;
197
197
  }
198
- var In = Ln, Pn = In;
199
- function Mn(r, e) {
198
+ var Mn = In, Rn = Mn;
199
+ function Bn(r, e) {
200
200
  var t = r.__data__;
201
- return Pn(e) ? t[typeof e == "string" ? "string" : "hash"] : t.map;
201
+ return Rn(e) ? t[typeof e == "string" ? "string" : "hash"] : t.map;
202
202
  }
203
- var le = Mn, Rn = le;
204
- function Bn(r) {
205
- var e = Rn(this, r).delete(r);
203
+ var he = Bn, Gn = he;
204
+ function zn(r) {
205
+ var e = Gn(this, r).delete(r);
206
206
  return this.size -= e ? 1 : 0, e;
207
207
  }
208
- var zn = Bn, Gn = le;
209
- function Un(r) {
210
- return Gn(this, r).get(r);
208
+ var jn = zn, Un = he;
209
+ function Vn(r) {
210
+ return Un(this, r).get(r);
211
211
  }
212
- var jn = Un, kn = le;
213
- function Hn(r) {
214
- return kn(this, r).has(r);
212
+ var kn = Vn, Hn = he;
213
+ function Kn(r) {
214
+ return Hn(this, r).has(r);
215
215
  }
216
- var Vn = Hn, Kn = le;
217
- function qn(r, e) {
218
- var t = Kn(this, r), i = t.size;
216
+ var qn = Kn, Yn = he;
217
+ function Wn(r, e) {
218
+ var t = Yn(this, r), i = t.size;
219
219
  return t.set(r, e), this.size += t.size == i ? 0 : 1, this;
220
220
  }
221
- var Wn = qn, Yn = On, Jn = zn, Zn = jn, Xn = Vn, Qn = Wn;
221
+ var Jn = Wn, Zn = Pn, Xn = jn, Qn = kn, es = qn, ts = Jn;
222
222
  function H(r) {
223
223
  var e = -1, t = r == null ? 0 : r.length;
224
224
  for (this.clear(); ++e < t; ) {
@@ -226,62 +226,62 @@ function H(r) {
226
226
  this.set(i[0], i[1]);
227
227
  }
228
228
  }
229
- H.prototype.clear = Yn;
230
- H.prototype.delete = Jn;
231
- H.prototype.get = Zn;
232
- H.prototype.has = Xn;
233
- H.prototype.set = Qn;
234
- var Pe = H, es = ae, ts = Ie, rs = Pe, is = 200;
235
- function ns(r, e) {
229
+ H.prototype.clear = Zn;
230
+ H.prototype.delete = Xn;
231
+ H.prototype.get = Qn;
232
+ H.prototype.has = es;
233
+ H.prototype.set = ts;
234
+ var Be = H, rs = ce, is = Re, ns = Be, ss = 200;
235
+ function as(r, e) {
236
236
  var t = this.__data__;
237
- if (t instanceof es) {
237
+ if (t instanceof rs) {
238
238
  var i = t.__data__;
239
- if (!ts || i.length < is - 1)
239
+ if (!is || i.length < ss - 1)
240
240
  return i.push([r, e]), this.size = ++t.size, this;
241
- t = this.__data__ = new rs(i);
241
+ t = this.__data__ = new ns(i);
242
242
  }
243
243
  return t.set(r, e), this.size = t.size, this;
244
244
  }
245
- var ss = ns, as = ae, os = Kr, us = Wr, ls = Jr, cs = Xr, ds = ss;
246
- function V(r) {
247
- var e = this.__data__ = new as(r);
245
+ var os = as, us = ce, ls = Yr, cs = Jr, ds = Xr, gs = ei, hs = os;
246
+ function K(r) {
247
+ var e = this.__data__ = new us(r);
248
248
  this.size = e.size;
249
249
  }
250
- V.prototype.clear = os;
251
- V.prototype.delete = us;
252
- V.prototype.get = ls;
253
- V.prototype.has = cs;
254
- V.prototype.set = ds;
255
- var Kt = V, gs = "__lodash_hash_undefined__";
256
- function hs(r) {
257
- return this.__data__.set(r, gs), this;
258
- }
259
- var fs = hs;
250
+ K.prototype.clear = ls;
251
+ K.prototype.delete = cs;
252
+ K.prototype.get = ds;
253
+ K.prototype.has = gs;
254
+ K.prototype.set = hs;
255
+ var Yt = K, fs = "__lodash_hash_undefined__";
260
256
  function ps(r) {
257
+ return this.__data__.set(r, fs), this;
258
+ }
259
+ var bs = ps;
260
+ function ys(r) {
261
261
  return this.__data__.has(r);
262
262
  }
263
- var bs = ps, ys = Pe, vs = fs, ms = bs;
264
- function te(r) {
263
+ var vs = ys, _s = Be, ms = bs, Cs = vs;
264
+ function se(r) {
265
265
  var e = -1, t = r == null ? 0 : r.length;
266
- for (this.__data__ = new ys(); ++e < t; )
266
+ for (this.__data__ = new _s(); ++e < t; )
267
267
  this.add(r[e]);
268
268
  }
269
- te.prototype.add = te.prototype.push = vs;
270
- te.prototype.has = ms;
271
- var _s = te;
272
- function Cs(r, e) {
269
+ se.prototype.add = se.prototype.push = ms;
270
+ se.prototype.has = Cs;
271
+ var As = se;
272
+ function Ss(r, e) {
273
273
  for (var t = -1, i = r == null ? 0 : r.length; ++t < i; )
274
274
  if (e(r[t], t, r))
275
275
  return !0;
276
276
  return !1;
277
277
  }
278
- var Ss = Cs;
279
- function As(r, e) {
278
+ var xs = Ss;
279
+ function Es(r, e) {
280
280
  return r.has(e);
281
281
  }
282
- var xs = As, $s = _s, Es = Ss, Fs = xs, Ts = 1, ws = 2;
283
- function Ns(r, e, t, i, n, s) {
284
- var a = t & Ts, o = r.length, l = e.length;
282
+ var Fs = Es, $s = As, Ts = xs, Ns = Fs, Ds = 1, ws = 2;
283
+ function Os(r, e, t, i, n, s) {
284
+ var a = t & Ds, o = r.length, l = e.length;
285
285
  if (o != l && !(a && l > o))
286
286
  return !1;
287
287
  var c = s.get(r), d = s.get(e);
@@ -289,160 +289,160 @@ function Ns(r, e, t, i, n, s) {
289
289
  return c == e && d == r;
290
290
  var g = -1, h = !0, y = t & ws ? new $s() : void 0;
291
291
  for (s.set(r, e), s.set(e, r); ++g < o; ) {
292
- var _ = r[g], f = e[g];
292
+ var m = r[g], f = e[g];
293
293
  if (i)
294
- var A = a ? i(f, _, g, e, r, s) : i(_, f, g, r, e, s);
295
- if (A !== void 0) {
296
- if (A)
294
+ var S = a ? i(f, m, g, e, r, s) : i(m, f, g, r, e, s);
295
+ if (S !== void 0) {
296
+ if (S)
297
297
  continue;
298
298
  h = !1;
299
299
  break;
300
300
  }
301
301
  if (y) {
302
- if (!Es(e, function(x, $) {
303
- if (!Fs(y, $) && (_ === x || n(_, x, t, i, s)))
304
- return y.push($);
302
+ if (!Ts(e, function(x, E) {
303
+ if (!Ns(y, E) && (m === x || n(m, x, t, i, s)))
304
+ return y.push(E);
305
305
  })) {
306
306
  h = !1;
307
307
  break;
308
308
  }
309
- } else if (!(_ === f || n(_, f, t, i, s))) {
309
+ } else if (!(m === f || n(m, f, t, i, s))) {
310
310
  h = !1;
311
311
  break;
312
312
  }
313
313
  }
314
314
  return s.delete(r), s.delete(e), h;
315
315
  }
316
- var qt = Ns, Ds = N, Os = Ds.Uint8Array, Ls = Os;
317
- function Is(r) {
316
+ var Wt = Os, Ls = w, Ps = Ls.Uint8Array, Is = Ps;
317
+ function Ms(r) {
318
318
  var e = -1, t = Array(r.size);
319
319
  return r.forEach(function(i, n) {
320
320
  t[++e] = [n, i];
321
321
  }), t;
322
322
  }
323
- var Ps = Is;
324
- function Ms(r) {
323
+ var Rs = Ms;
324
+ function Bs(r) {
325
325
  var e = -1, t = Array(r.size);
326
326
  return r.forEach(function(i) {
327
327
  t[++e] = i;
328
328
  }), t;
329
329
  }
330
- var Rs = Ms, et = Y, tt = Ls, Bs = Le, zs = qt, Gs = Ps, Us = Rs, js = 1, ks = 2, Hs = "[object Boolean]", Vs = "[object Date]", Ks = "[object Error]", qs = "[object Map]", Ws = "[object Number]", Ys = "[object RegExp]", Js = "[object Set]", Zs = "[object String]", Xs = "[object Symbol]", Qs = "[object ArrayBuffer]", ea = "[object DataView]", rt = et ? et.prototype : void 0, pe = rt ? rt.valueOf : void 0;
331
- function ta(r, e, t, i, n, s, a) {
330
+ var Gs = Bs, rt = Q, it = Is, zs = Me, js = Wt, Us = Rs, Vs = Gs, ks = 1, Hs = 2, Ks = "[object Boolean]", qs = "[object Date]", Ys = "[object Error]", Ws = "[object Map]", Js = "[object Number]", Zs = "[object RegExp]", Xs = "[object Set]", Qs = "[object String]", ea = "[object Symbol]", ta = "[object ArrayBuffer]", ra = "[object DataView]", nt = rt ? rt.prototype : void 0, _e = nt ? nt.valueOf : void 0;
331
+ function ia(r, e, t, i, n, s, a) {
332
332
  switch (t) {
333
- case ea:
333
+ case ra:
334
334
  if (r.byteLength != e.byteLength || r.byteOffset != e.byteOffset)
335
335
  return !1;
336
336
  r = r.buffer, e = e.buffer;
337
- case Qs:
338
- return !(r.byteLength != e.byteLength || !s(new tt(r), new tt(e)));
339
- case Hs:
340
- case Vs:
341
- case Ws:
342
- return Bs(+r, +e);
337
+ case ta:
338
+ return !(r.byteLength != e.byteLength || !s(new it(r), new it(e)));
343
339
  case Ks:
344
- return r.name == e.name && r.message == e.message;
340
+ case qs:
341
+ case Js:
342
+ return zs(+r, +e);
345
343
  case Ys:
344
+ return r.name == e.name && r.message == e.message;
346
345
  case Zs:
346
+ case Qs:
347
347
  return r == e + "";
348
- case qs:
349
- var o = Gs;
350
- case Js:
351
- var l = i & js;
352
- if (o || (o = Us), r.size != e.size && !l)
348
+ case Ws:
349
+ var o = Us;
350
+ case Xs:
351
+ var l = i & ks;
352
+ if (o || (o = Vs), r.size != e.size && !l)
353
353
  return !1;
354
354
  var c = a.get(r);
355
355
  if (c)
356
356
  return c == e;
357
- i |= ks, a.set(r, e);
358
- var d = zs(o(r), o(e), i, n, s, a);
357
+ i |= Hs, a.set(r, e);
358
+ var d = js(o(r), o(e), i, n, s, a);
359
359
  return a.delete(r), d;
360
- case Xs:
361
- if (pe)
362
- return pe.call(r) == pe.call(e);
360
+ case ea:
361
+ if (_e)
362
+ return _e.call(r) == _e.call(e);
363
363
  }
364
364
  return !1;
365
365
  }
366
- var ra = ta;
367
- function ia(r, e) {
366
+ var na = ia;
367
+ function sa(r, e) {
368
368
  for (var t = -1, i = e.length, n = r.length; ++t < i; )
369
369
  r[n + t] = e[t];
370
370
  return r;
371
371
  }
372
- var Wt = ia, na = Array.isArray, T = na, sa = Wt, aa = T;
373
- function oa(r, e, t) {
372
+ var Jt = sa, aa = Array.isArray, T = aa, oa = Jt, ua = T;
373
+ function la(r, e, t) {
374
374
  var i = e(r);
375
- return aa(r) ? i : sa(i, t(r));
375
+ return ua(r) ? i : oa(i, t(r));
376
376
  }
377
- var ua = oa;
378
- function la(r, e) {
377
+ var ca = la;
378
+ function da(r, e) {
379
379
  for (var t = -1, i = r == null ? 0 : r.length, n = 0, s = []; ++t < i; ) {
380
380
  var a = r[t];
381
381
  e(a, t, r) && (s[n++] = a);
382
382
  }
383
383
  return s;
384
384
  }
385
- var ca = la;
386
- function da() {
385
+ var ga = da;
386
+ function ha() {
387
387
  return [];
388
388
  }
389
- var ga = da, ha = ca, fa = ga, pa = Object.prototype, ba = pa.propertyIsEnumerable, it = Object.getOwnPropertySymbols, ya = it ? function(r) {
390
- return r == null ? [] : (r = Object(r), ha(it(r), function(e) {
391
- return ba.call(r, e);
389
+ var fa = ha, pa = ga, ba = fa, ya = Object.prototype, va = ya.propertyIsEnumerable, st = Object.getOwnPropertySymbols, _a = st ? function(r) {
390
+ return r == null ? [] : (r = Object(r), pa(st(r), function(e) {
391
+ return va.call(r, e);
392
392
  }));
393
- } : fa, va = ya;
394
- function ma(r, e) {
393
+ } : ba, ma = _a;
394
+ function Ca(r, e) {
395
395
  for (var t = -1, i = Array(r); ++t < r; )
396
396
  i[t] = e(t);
397
397
  return i;
398
398
  }
399
- var _a = ma;
400
- function Ca(r) {
399
+ var Aa = Ca;
400
+ function Sa(r) {
401
401
  return r != null && typeof r == "object";
402
402
  }
403
- var Z = Ca, Sa = J, Aa = Z, xa = "[object Arguments]";
403
+ var te = Sa, xa = ee, Ea = te, Fa = "[object Arguments]";
404
404
  function $a(r) {
405
- return Aa(r) && Sa(r) == xa;
405
+ return Ea(r) && xa(r) == Fa;
406
406
  }
407
- var Ea = $a, nt = Ea, Fa = Z, Yt = Object.prototype, Ta = Yt.hasOwnProperty, wa = Yt.propertyIsEnumerable, Na = nt(/* @__PURE__ */ function() {
407
+ var Ta = $a, at = Ta, Na = te, Zt = Object.prototype, Da = Zt.hasOwnProperty, wa = Zt.propertyIsEnumerable, Oa = at(/* @__PURE__ */ function() {
408
408
  return arguments;
409
- }()) ? nt : function(r) {
410
- return Fa(r) && Ta.call(r, "callee") && !wa.call(r, "callee");
411
- }, Me = Na, re = { exports: {} };
412
- function Da() {
409
+ }()) ? at : function(r) {
410
+ return Na(r) && Da.call(r, "callee") && !wa.call(r, "callee");
411
+ }, Ge = Oa, ae = { exports: {} };
412
+ function La() {
413
413
  return !1;
414
414
  }
415
- var Oa = Da;
416
- re.exports;
415
+ var Pa = La;
416
+ ae.exports;
417
417
  (function(r, e) {
418
- var t = N, i = Oa, n = e && !e.nodeType && e, s = n && !0 && r && !r.nodeType && r, a = s && s.exports === n, o = a ? t.Buffer : void 0, l = o ? o.isBuffer : void 0, c = l || i;
418
+ var t = w, i = Pa, n = e && !e.nodeType && e, s = n && !0 && r && !r.nodeType && r, a = s && s.exports === n, o = a ? t.Buffer : void 0, l = o ? o.isBuffer : void 0, c = l || i;
419
419
  r.exports = c;
420
- })(re, re.exports);
421
- var Jt = re.exports, La = 9007199254740991, Ia = /^(?:0|[1-9]\d*)$/;
422
- function Pa(r, e) {
420
+ })(ae, ae.exports);
421
+ var Xt = ae.exports, Ia = 9007199254740991, Ma = /^(?:0|[1-9]\d*)$/;
422
+ function Ra(r, e) {
423
423
  var t = typeof r;
424
- return e = e ?? La, !!e && (t == "number" || t != "symbol" && Ia.test(r)) && r > -1 && r % 1 == 0 && r < e;
424
+ return e = e ?? Ia, !!e && (t == "number" || t != "symbol" && Ma.test(r)) && r > -1 && r % 1 == 0 && r < e;
425
425
  }
426
- var Re = Pa, Ma = 9007199254740991;
427
- function Ra(r) {
428
- return typeof r == "number" && r > -1 && r % 1 == 0 && r <= Ma;
426
+ var ze = Ra, Ba = 9007199254740991;
427
+ function Ga(r) {
428
+ return typeof r == "number" && r > -1 && r % 1 == 0 && r <= Ba;
429
429
  }
430
- var Be = Ra, Ba = J, za = Be, Ga = Z, Ua = "[object Arguments]", ja = "[object Array]", ka = "[object Boolean]", Ha = "[object Date]", Va = "[object Error]", Ka = "[object Function]", qa = "[object Map]", Wa = "[object Number]", Ya = "[object Object]", Ja = "[object RegExp]", Za = "[object Set]", Xa = "[object String]", Qa = "[object WeakMap]", eo = "[object ArrayBuffer]", to = "[object DataView]", ro = "[object Float32Array]", io = "[object Float64Array]", no = "[object Int8Array]", so = "[object Int16Array]", ao = "[object Int32Array]", oo = "[object Uint8Array]", uo = "[object Uint8ClampedArray]", lo = "[object Uint16Array]", co = "[object Uint32Array]", b = {};
431
- b[ro] = b[io] = b[no] = b[so] = b[ao] = b[oo] = b[uo] = b[lo] = b[co] = !0;
432
- b[Ua] = b[ja] = b[eo] = b[ka] = b[to] = b[Ha] = b[Va] = b[Ka] = b[qa] = b[Wa] = b[Ya] = b[Ja] = b[Za] = b[Xa] = b[Qa] = !1;
433
- function go(r) {
434
- return Ga(r) && za(r.length) && !!b[Ba(r)];
435
- }
436
- var ho = go;
430
+ var je = Ga, za = ee, ja = je, Ua = te, Va = "[object Arguments]", ka = "[object Array]", Ha = "[object Boolean]", Ka = "[object Date]", qa = "[object Error]", Ya = "[object Function]", Wa = "[object Map]", Ja = "[object Number]", Za = "[object Object]", Xa = "[object RegExp]", Qa = "[object Set]", eo = "[object String]", to = "[object WeakMap]", ro = "[object ArrayBuffer]", io = "[object DataView]", no = "[object Float32Array]", so = "[object Float64Array]", ao = "[object Int8Array]", oo = "[object Int16Array]", uo = "[object Int32Array]", lo = "[object Uint8Array]", co = "[object Uint8ClampedArray]", go = "[object Uint16Array]", ho = "[object Uint32Array]", b = {};
431
+ b[no] = b[so] = b[ao] = b[oo] = b[uo] = b[lo] = b[co] = b[go] = b[ho] = !0;
432
+ b[Va] = b[ka] = b[ro] = b[Ha] = b[io] = b[Ka] = b[qa] = b[Ya] = b[Wa] = b[Ja] = b[Za] = b[Xa] = b[Qa] = b[eo] = b[to] = !1;
437
433
  function fo(r) {
434
+ return Ua(r) && ja(r.length) && !!b[za(r)];
435
+ }
436
+ var po = fo;
437
+ function bo(r) {
438
438
  return function(e) {
439
439
  return r(e);
440
440
  };
441
441
  }
442
- var Zt = fo, ie = { exports: {} };
443
- ie.exports;
442
+ var Qt = bo, oe = { exports: {} };
443
+ oe.exports;
444
444
  (function(r, e) {
445
- var t = jt, i = e && !e.nodeType && e, n = i && !0 && r && !r.nodeType && r, s = n && n.exports === i, a = s && t.process, o = function() {
445
+ var t = kt, i = e && !e.nodeType && e, n = i && !0 && r && !r.nodeType && r, s = n && n.exports === i, a = s && t.process, o = function() {
446
446
  try {
447
447
  var l = n && n.require && n.require("util").types;
448
448
  return l || a && a.binding && a.binding("util");
@@ -450,165 +450,165 @@ ie.exports;
450
450
  }
451
451
  }();
452
452
  r.exports = o;
453
- })(ie, ie.exports);
454
- var po = ie.exports, bo = ho, yo = Zt, st = po, at = st && st.isTypedArray, vo = at ? yo(at) : bo, Xt = vo, mo = _a, _o = Me, Co = T, So = Jt, Ao = Re, xo = Xt, $o = Object.prototype, Eo = $o.hasOwnProperty;
455
- function Fo(r, e) {
456
- var t = Co(r), i = !t && _o(r), n = !t && !i && So(r), s = !t && !i && !n && xo(r), a = t || i || n || s, o = a ? mo(r.length, String) : [], l = o.length;
453
+ })(oe, oe.exports);
454
+ var yo = oe.exports, vo = po, _o = Qt, ot = yo, ut = ot && ot.isTypedArray, mo = ut ? _o(ut) : vo, er = mo, Co = Aa, Ao = Ge, So = T, xo = Xt, Eo = ze, Fo = er, $o = Object.prototype, To = $o.hasOwnProperty;
455
+ function No(r, e) {
456
+ var t = So(r), i = !t && Ao(r), n = !t && !i && xo(r), s = !t && !i && !n && Fo(r), a = t || i || n || s, o = a ? Co(r.length, String) : [], l = o.length;
457
457
  for (var c in r)
458
- (e || Eo.call(r, c)) && !(a && // Safari 9 has enumerable `arguments.length` in strict mode.
458
+ (e || To.call(r, c)) && !(a && // Safari 9 has enumerable `arguments.length` in strict mode.
459
459
  (c == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
460
460
  n && (c == "offset" || c == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
461
461
  s && (c == "buffer" || c == "byteLength" || c == "byteOffset") || // Skip index properties.
462
- Ao(c, l))) && o.push(c);
462
+ Eo(c, l))) && o.push(c);
463
463
  return o;
464
464
  }
465
- var To = Fo, wo = Object.prototype;
466
- function No(r) {
465
+ var Do = No, wo = Object.prototype;
466
+ function Oo(r) {
467
467
  var e = r && r.constructor, t = typeof e == "function" && e.prototype || wo;
468
468
  return r === t;
469
469
  }
470
- var Do = No;
471
- function Oo(r, e) {
470
+ var Lo = Oo;
471
+ function Po(r, e) {
472
472
  return function(t) {
473
473
  return r(e(t));
474
474
  };
475
475
  }
476
- var Lo = Oo, Io = Lo, Po = Io(Object.keys, Object), Mo = Po, Ro = Do, Bo = Mo, zo = Object.prototype, Go = zo.hasOwnProperty;
477
- function Uo(r) {
478
- if (!Ro(r))
479
- return Bo(r);
476
+ var Io = Po, Mo = Io, Ro = Mo(Object.keys, Object), Bo = Ro, Go = Lo, zo = Bo, jo = Object.prototype, Uo = jo.hasOwnProperty;
477
+ function Vo(r) {
478
+ if (!Go(r))
479
+ return zo(r);
480
480
  var e = [];
481
481
  for (var t in Object(r))
482
- Go.call(r, t) && t != "constructor" && e.push(t);
482
+ Uo.call(r, t) && t != "constructor" && e.push(t);
483
483
  return e;
484
484
  }
485
- var jo = Uo, ko = Ht, Ho = Be;
486
- function Vo(r) {
487
- return r != null && Ho(r.length) && !ko(r);
485
+ var ko = Vo, Ho = Kt, Ko = je;
486
+ function qo(r) {
487
+ return r != null && Ko(r.length) && !Ho(r);
488
488
  }
489
- var ce = Vo, Ko = To, qo = jo, Wo = ce;
490
- function Yo(r) {
491
- return Wo(r) ? Ko(r) : qo(r);
489
+ var fe = qo, Yo = Do, Wo = ko, Jo = fe;
490
+ function Zo(r) {
491
+ return Jo(r) ? Yo(r) : Wo(r);
492
492
  }
493
- var ze = Yo, Jo = ua, Zo = va, Xo = ze;
494
- function Qo(r) {
495
- return Jo(r, Xo, Zo);
493
+ var Ue = Zo, Xo = ca, Qo = ma, eu = Ue;
494
+ function tu(r) {
495
+ return Xo(r, eu, Qo);
496
496
  }
497
- var eu = Qo, ot = eu, tu = 1, ru = Object.prototype, iu = ru.hasOwnProperty;
498
- function nu(r, e, t, i, n, s) {
499
- var a = t & tu, o = ot(r), l = o.length, c = ot(e), d = c.length;
497
+ var ru = tu, lt = ru, iu = 1, nu = Object.prototype, su = nu.hasOwnProperty;
498
+ function au(r, e, t, i, n, s) {
499
+ var a = t & iu, o = lt(r), l = o.length, c = lt(e), d = c.length;
500
500
  if (l != d && !a)
501
501
  return !1;
502
502
  for (var g = l; g--; ) {
503
503
  var h = o[g];
504
- if (!(a ? h in e : iu.call(e, h)))
504
+ if (!(a ? h in e : su.call(e, h)))
505
505
  return !1;
506
506
  }
507
- var y = s.get(r), _ = s.get(e);
508
- if (y && _)
509
- return y == e && _ == r;
507
+ var y = s.get(r), m = s.get(e);
508
+ if (y && m)
509
+ return y == e && m == r;
510
510
  var f = !0;
511
511
  s.set(r, e), s.set(e, r);
512
- for (var A = a; ++g < l; ) {
512
+ for (var S = a; ++g < l; ) {
513
513
  h = o[g];
514
- var x = r[h], $ = e[h];
514
+ var x = r[h], E = e[h];
515
515
  if (i)
516
- var R = a ? i($, x, h, e, r, s) : i(x, $, h, r, e, s);
517
- if (!(R === void 0 ? x === $ || n(x, $, t, i, s) : R)) {
516
+ var B = a ? i(E, x, h, e, r, s) : i(x, E, h, r, e, s);
517
+ if (!(B === void 0 ? x === E || n(x, E, t, i, s) : B)) {
518
518
  f = !1;
519
519
  break;
520
520
  }
521
- A || (A = h == "constructor");
521
+ S || (S = h == "constructor");
522
522
  }
523
- if (f && !A) {
524
- var v = r.constructor, O = e.constructor;
525
- v != O && "constructor" in r && "constructor" in e && !(typeof v == "function" && v instanceof v && typeof O == "function" && O instanceof O) && (f = !1);
523
+ if (f && !S) {
524
+ var v = r.constructor, L = e.constructor;
525
+ v != L && "constructor" in r && "constructor" in e && !(typeof v == "function" && v instanceof v && typeof L == "function" && L instanceof L) && (f = !1);
526
526
  }
527
527
  return s.delete(r), s.delete(e), f;
528
528
  }
529
- var su = nu, au = M, ou = N, uu = au(ou, "DataView"), lu = uu, cu = M, du = N, gu = cu(du, "Promise"), hu = gu, fu = M, pu = N, bu = fu(pu, "Set"), yu = bu, vu = M, mu = N, _u = vu(mu, "WeakMap"), Cu = _u, Se = lu, Ae = Ie, xe = hu, $e = yu, Ee = Cu, Qt = J, K = Vt, ut = "[object Map]", Su = "[object Object]", lt = "[object Promise]", ct = "[object Set]", dt = "[object WeakMap]", gt = "[object DataView]", Au = K(Se), xu = K(Ae), $u = K(xe), Eu = K($e), Fu = K(Ee), L = Qt;
530
- (Se && L(new Se(new ArrayBuffer(1))) != gt || Ae && L(new Ae()) != ut || xe && L(xe.resolve()) != lt || $e && L(new $e()) != ct || Ee && L(new Ee()) != dt) && (L = function(r) {
531
- var e = Qt(r), t = e == Su ? r.constructor : void 0, i = t ? K(t) : "";
529
+ var ou = au, uu = R, lu = w, cu = uu(lu, "DataView"), du = cu, gu = R, hu = w, fu = gu(hu, "Promise"), pu = fu, bu = R, yu = w, vu = bu(yu, "Set"), _u = vu, mu = R, Cu = w, Au = mu(Cu, "WeakMap"), Su = Au, Ee = du, Fe = Re, $e = pu, Te = _u, Ne = Su, tr = ee, q = qt, ct = "[object Map]", xu = "[object Object]", dt = "[object Promise]", gt = "[object Set]", ht = "[object WeakMap]", ft = "[object DataView]", Eu = q(Ee), Fu = q(Fe), $u = q($e), Tu = q(Te), Nu = q(Ne), P = tr;
530
+ (Ee && P(new Ee(new ArrayBuffer(1))) != ft || Fe && P(new Fe()) != ct || $e && P($e.resolve()) != dt || Te && P(new Te()) != gt || Ne && P(new Ne()) != ht) && (P = function(r) {
531
+ var e = tr(r), t = e == xu ? r.constructor : void 0, i = t ? q(t) : "";
532
532
  if (i)
533
533
  switch (i) {
534
- case Au:
535
- return gt;
536
- case xu:
537
- return ut;
538
- case $u:
539
- return lt;
540
534
  case Eu:
541
- return ct;
535
+ return ft;
542
536
  case Fu:
537
+ return ct;
538
+ case $u:
543
539
  return dt;
540
+ case Tu:
541
+ return gt;
542
+ case Nu:
543
+ return ht;
544
544
  }
545
545
  return e;
546
546
  });
547
- var Tu = L, be = Kt, wu = qt, Nu = ra, Du = su, ht = Tu, ft = T, pt = Jt, Ou = Xt, Lu = 1, bt = "[object Arguments]", yt = "[object Array]", Q = "[object Object]", Iu = Object.prototype, vt = Iu.hasOwnProperty;
548
- function Pu(r, e, t, i, n, s) {
549
- var a = ft(r), o = ft(e), l = a ? yt : ht(r), c = o ? yt : ht(e);
550
- l = l == bt ? Q : l, c = c == bt ? Q : c;
551
- var d = l == Q, g = c == Q, h = l == c;
552
- if (h && pt(r)) {
553
- if (!pt(e))
547
+ var Du = P, me = Yt, wu = Wt, Ou = na, Lu = ou, pt = Du, bt = T, yt = Xt, Pu = er, Iu = 1, vt = "[object Arguments]", _t = "[object Array]", ie = "[object Object]", Mu = Object.prototype, mt = Mu.hasOwnProperty;
548
+ function Ru(r, e, t, i, n, s) {
549
+ var a = bt(r), o = bt(e), l = a ? _t : pt(r), c = o ? _t : pt(e);
550
+ l = l == vt ? ie : l, c = c == vt ? ie : c;
551
+ var d = l == ie, g = c == ie, h = l == c;
552
+ if (h && yt(r)) {
553
+ if (!yt(e))
554
554
  return !1;
555
555
  a = !0, d = !1;
556
556
  }
557
557
  if (h && !d)
558
- return s || (s = new be()), a || Ou(r) ? wu(r, e, t, i, n, s) : Nu(r, e, l, t, i, n, s);
559
- if (!(t & Lu)) {
560
- var y = d && vt.call(r, "__wrapped__"), _ = g && vt.call(e, "__wrapped__");
561
- if (y || _) {
562
- var f = y ? r.value() : r, A = _ ? e.value() : e;
563
- return s || (s = new be()), n(f, A, t, i, s);
558
+ return s || (s = new me()), a || Pu(r) ? wu(r, e, t, i, n, s) : Ou(r, e, l, t, i, n, s);
559
+ if (!(t & Iu)) {
560
+ var y = d && mt.call(r, "__wrapped__"), m = g && mt.call(e, "__wrapped__");
561
+ if (y || m) {
562
+ var f = y ? r.value() : r, S = m ? e.value() : e;
563
+ return s || (s = new me()), n(f, S, t, i, s);
564
564
  }
565
565
  }
566
- return h ? (s || (s = new be()), Du(r, e, t, i, n, s)) : !1;
566
+ return h ? (s || (s = new me()), Lu(r, e, t, i, n, s)) : !1;
567
567
  }
568
- var Mu = Pu, Ru = Mu, mt = Z;
569
- function er(r, e, t, i, n) {
570
- return r === e ? !0 : r == null || e == null || !mt(r) && !mt(e) ? r !== r && e !== e : Ru(r, e, t, i, er, n);
568
+ var Bu = Ru, Gu = Bu, Ct = te;
569
+ function rr(r, e, t, i, n) {
570
+ return r === e ? !0 : r == null || e == null || !Ct(r) && !Ct(e) ? r !== r && e !== e : Gu(r, e, t, i, rr, n);
571
571
  }
572
- var Ge = er, Bu = Ge;
573
- function zu(r, e) {
574
- return Bu(r, e);
572
+ var Ve = rr, zu = Ve;
573
+ function ju(r, e) {
574
+ return zu(r, e);
575
575
  }
576
- var Gu = zu;
577
- const Uu = /* @__PURE__ */ Oe(Gu);
578
- var _t = Y, ju = Me, ku = T, Ct = _t ? _t.isConcatSpreadable : void 0;
579
- function Hu(r) {
580
- return ku(r) || ju(r) || !!(Ct && r && r[Ct]);
576
+ var Uu = ju;
577
+ const Vu = /* @__PURE__ */ Ie(Uu);
578
+ var At = Q, ku = Ge, Hu = T, St = At ? At.isConcatSpreadable : void 0;
579
+ function Ku(r) {
580
+ return Hu(r) || ku(r) || !!(St && r && r[St]);
581
581
  }
582
- var Vu = Hu, Ku = Wt, qu = Vu;
583
- function tr(r, e, t, i, n) {
582
+ var qu = Ku, Yu = Jt, Wu = qu;
583
+ function ir(r, e, t, i, n) {
584
584
  var s = -1, a = r.length;
585
- for (t || (t = qu), n || (n = []); ++s < a; ) {
585
+ for (t || (t = Wu), n || (n = []); ++s < a; ) {
586
586
  var o = r[s];
587
- e > 0 && t(o) ? e > 1 ? tr(o, e - 1, t, i, n) : Ku(n, o) : i || (n[n.length] = o);
587
+ e > 0 && t(o) ? e > 1 ? ir(o, e - 1, t, i, n) : Yu(n, o) : i || (n[n.length] = o);
588
588
  }
589
589
  return n;
590
590
  }
591
- var Wu = tr;
592
- function Yu(r, e) {
591
+ var Ju = ir;
592
+ function Zu(r, e) {
593
593
  for (var t = -1, i = r == null ? 0 : r.length, n = Array(i); ++t < i; )
594
594
  n[t] = e(r[t], t, r);
595
595
  return n;
596
596
  }
597
- var rr = Yu, Ju = J, Zu = Z, Xu = "[object Symbol]";
598
- function Qu(r) {
599
- return typeof r == "symbol" || Zu(r) && Ju(r) == Xu;
597
+ var nr = Zu, Xu = ee, Qu = te, el = "[object Symbol]";
598
+ function tl(r) {
599
+ return typeof r == "symbol" || Qu(r) && Xu(r) == el;
600
600
  }
601
- var de = Qu, el = T, tl = de, rl = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, il = /^\w*$/;
602
- function nl(r, e) {
603
- if (el(r))
601
+ var pe = tl, rl = T, il = pe, nl = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, sl = /^\w*$/;
602
+ function al(r, e) {
603
+ if (rl(r))
604
604
  return !1;
605
605
  var t = typeof r;
606
- return t == "number" || t == "symbol" || t == "boolean" || r == null || tl(r) ? !0 : il.test(r) || !rl.test(r) || e != null && r in Object(e);
606
+ return t == "number" || t == "symbol" || t == "boolean" || r == null || il(r) ? !0 : sl.test(r) || !nl.test(r) || e != null && r in Object(e);
607
607
  }
608
- var Ue = nl, ir = Pe, sl = "Expected a function";
609
- function je(r, e) {
608
+ var ke = al, sr = Be, ol = "Expected a function";
609
+ function He(r, e) {
610
610
  if (typeof r != "function" || e != null && typeof e != "function")
611
- throw new TypeError(sl);
611
+ throw new TypeError(ol);
612
612
  var t = function() {
613
613
  var i = arguments, n = e ? e.apply(this, i) : i[0], s = t.cache;
614
614
  if (s.has(n))
@@ -616,56 +616,56 @@ function je(r, e) {
616
616
  var a = r.apply(this, i);
617
617
  return t.cache = s.set(n, a) || s, a;
618
618
  };
619
- return t.cache = new (je.Cache || ir)(), t;
619
+ return t.cache = new (He.Cache || sr)(), t;
620
620
  }
621
- je.Cache = ir;
622
- var al = je, ol = al, ul = 500;
623
- function ll(r) {
624
- var e = ol(r, function(i) {
625
- return t.size === ul && t.clear(), i;
621
+ He.Cache = sr;
622
+ var ul = He, ll = ul, cl = 500;
623
+ function dl(r) {
624
+ var e = ll(r, function(i) {
625
+ return t.size === cl && t.clear(), i;
626
626
  }), t = e.cache;
627
627
  return e;
628
628
  }
629
- var cl = ll, dl = cl, gl = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, hl = /\\(\\)?/g, fl = dl(function(r) {
629
+ var gl = dl, hl = gl, fl = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, pl = /\\(\\)?/g, bl = hl(function(r) {
630
630
  var e = [];
631
- return r.charCodeAt(0) === 46 && e.push(""), r.replace(gl, function(t, i, n, s) {
632
- e.push(n ? s.replace(hl, "$1") : i || t);
631
+ return r.charCodeAt(0) === 46 && e.push(""), r.replace(fl, function(t, i, n, s) {
632
+ e.push(n ? s.replace(pl, "$1") : i || t);
633
633
  }), e;
634
- }), pl = fl, St = Y, bl = rr, yl = T, vl = de, ml = 1 / 0, At = St ? St.prototype : void 0, xt = At ? At.toString : void 0;
635
- function nr(r) {
634
+ }), yl = bl, xt = Q, vl = nr, _l = T, ml = pe, Cl = 1 / 0, Et = xt ? xt.prototype : void 0, Ft = Et ? Et.toString : void 0;
635
+ function ar(r) {
636
636
  if (typeof r == "string")
637
637
  return r;
638
- if (yl(r))
639
- return bl(r, nr) + "";
640
- if (vl(r))
641
- return xt ? xt.call(r) : "";
638
+ if (_l(r))
639
+ return vl(r, ar) + "";
640
+ if (ml(r))
641
+ return Ft ? Ft.call(r) : "";
642
642
  var e = r + "";
643
- return e == "0" && 1 / r == -ml ? "-0" : e;
643
+ return e == "0" && 1 / r == -Cl ? "-0" : e;
644
644
  }
645
- var _l = nr, Cl = _l;
646
- function Sl(r) {
647
- return r == null ? "" : Cl(r);
645
+ var Al = ar, Sl = Al;
646
+ function xl(r) {
647
+ return r == null ? "" : Sl(r);
648
648
  }
649
- var Al = Sl, xl = T, $l = Ue, El = pl, Fl = Al;
650
- function Tl(r, e) {
651
- return xl(r) ? r : $l(r, e) ? [r] : El(Fl(r));
649
+ var El = xl, Fl = T, $l = ke, Tl = yl, Nl = El;
650
+ function Dl(r, e) {
651
+ return Fl(r) ? r : $l(r, e) ? [r] : Tl(Nl(r));
652
652
  }
653
- var sr = Tl, wl = de, Nl = 1 / 0;
654
- function Dl(r) {
653
+ var or = Dl, wl = pe, Ol = 1 / 0;
654
+ function Ll(r) {
655
655
  if (typeof r == "string" || wl(r))
656
656
  return r;
657
657
  var e = r + "";
658
- return e == "0" && 1 / r == -Nl ? "-0" : e;
658
+ return e == "0" && 1 / r == -Ol ? "-0" : e;
659
659
  }
660
- var ge = Dl, Ol = sr, Ll = ge;
661
- function Il(r, e) {
662
- e = Ol(e, r);
660
+ var be = Ll, Pl = or, Il = be;
661
+ function Ml(r, e) {
662
+ e = Pl(e, r);
663
663
  for (var t = 0, i = e.length; r != null && t < i; )
664
- r = r[Ll(e[t++])];
664
+ r = r[Il(e[t++])];
665
665
  return t && t == i ? r : void 0;
666
666
  }
667
- var ke = Il, Pl = Kt, Ml = Ge, Rl = 1, Bl = 2;
668
- function zl(r, e, t, i) {
667
+ var Ke = Ml, Rl = Yt, Bl = Ve, Gl = 1, zl = 2;
668
+ function jl(r, e, t, i) {
669
669
  var n = t.length, s = n, a = !i;
670
670
  if (r == null)
671
671
  return !s;
@@ -681,97 +681,97 @@ function zl(r, e, t, i) {
681
681
  if (c === void 0 && !(l in r))
682
682
  return !1;
683
683
  } else {
684
- var g = new Pl();
684
+ var g = new Rl();
685
685
  if (i)
686
686
  var h = i(c, d, l, r, e, g);
687
- if (!(h === void 0 ? Ml(d, c, Rl | Bl, i, g) : h))
687
+ if (!(h === void 0 ? Bl(d, c, Gl | zl, i, g) : h))
688
688
  return !1;
689
689
  }
690
690
  }
691
691
  return !0;
692
692
  }
693
- var Gl = zl, Ul = oe;
694
- function jl(r) {
695
- return r === r && !Ul(r);
693
+ var Ul = jl, Vl = de;
694
+ function kl(r) {
695
+ return r === r && !Vl(r);
696
696
  }
697
- var ar = jl, kl = ar, Hl = ze;
698
- function Vl(r) {
699
- for (var e = Hl(r), t = e.length; t--; ) {
697
+ var ur = kl, Hl = ur, Kl = Ue;
698
+ function ql(r) {
699
+ for (var e = Kl(r), t = e.length; t--; ) {
700
700
  var i = e[t], n = r[i];
701
- e[t] = [i, n, kl(n)];
701
+ e[t] = [i, n, Hl(n)];
702
702
  }
703
703
  return e;
704
704
  }
705
- var Kl = Vl;
706
- function ql(r, e) {
705
+ var Yl = ql;
706
+ function Wl(r, e) {
707
707
  return function(t) {
708
708
  return t == null ? !1 : t[r] === e && (e !== void 0 || r in Object(t));
709
709
  };
710
710
  }
711
- var or = ql, Wl = Gl, Yl = Kl, Jl = or;
712
- function Zl(r) {
713
- var e = Yl(r);
714
- return e.length == 1 && e[0][2] ? Jl(e[0][0], e[0][1]) : function(t) {
715
- return t === r || Wl(t, r, e);
711
+ var lr = Wl, Jl = Ul, Zl = Yl, Xl = lr;
712
+ function Ql(r) {
713
+ var e = Zl(r);
714
+ return e.length == 1 && e[0][2] ? Xl(e[0][0], e[0][1]) : function(t) {
715
+ return t === r || Jl(t, r, e);
716
716
  };
717
717
  }
718
- var Xl = Zl, Ql = ke;
719
- function ec(r, e, t) {
720
- var i = r == null ? void 0 : Ql(r, e);
718
+ var ec = Ql, tc = Ke;
719
+ function rc(r, e, t) {
720
+ var i = r == null ? void 0 : tc(r, e);
721
721
  return i === void 0 ? t : i;
722
722
  }
723
- var tc = ec;
724
- function rc(r, e) {
723
+ var ic = rc;
724
+ function nc(r, e) {
725
725
  return r != null && e in Object(r);
726
726
  }
727
- var ic = rc, nc = sr, sc = Me, ac = T, oc = Re, uc = Be, lc = ge;
728
- function cc(r, e, t) {
729
- e = nc(e, r);
727
+ var sc = nc, ac = or, oc = Ge, uc = T, lc = ze, cc = je, dc = be;
728
+ function gc(r, e, t) {
729
+ e = ac(e, r);
730
730
  for (var i = -1, n = e.length, s = !1; ++i < n; ) {
731
- var a = lc(e[i]);
731
+ var a = dc(e[i]);
732
732
  if (!(s = r != null && t(r, a)))
733
733
  break;
734
734
  r = r[a];
735
735
  }
736
- return s || ++i != n ? s : (n = r == null ? 0 : r.length, !!n && uc(n) && oc(a, n) && (ac(r) || sc(r)));
736
+ return s || ++i != n ? s : (n = r == null ? 0 : r.length, !!n && cc(n) && lc(a, n) && (uc(r) || oc(r)));
737
737
  }
738
- var dc = cc, gc = ic, hc = dc;
739
- function fc(r, e) {
740
- return r != null && hc(r, e, gc);
738
+ var hc = gc, fc = sc, pc = hc;
739
+ function bc(r, e) {
740
+ return r != null && pc(r, e, fc);
741
741
  }
742
- var pc = fc, bc = Ge, yc = tc, vc = pc, mc = Ue, _c = ar, Cc = or, Sc = ge, Ac = 1, xc = 2;
742
+ var yc = bc, vc = Ve, _c = ic, mc = yc, Cc = ke, Ac = ur, Sc = lr, xc = be, Ec = 1, Fc = 2;
743
743
  function $c(r, e) {
744
- return mc(r) && _c(e) ? Cc(Sc(r), e) : function(t) {
745
- var i = yc(t, r);
746
- return i === void 0 && i === e ? vc(t, r) : bc(e, i, Ac | xc);
744
+ return Cc(r) && Ac(e) ? Sc(xc(r), e) : function(t) {
745
+ var i = _c(t, r);
746
+ return i === void 0 && i === e ? mc(t, r) : vc(e, i, Ec | Fc);
747
747
  };
748
748
  }
749
- var Ec = $c;
750
- function Fc(r) {
749
+ var Tc = $c;
750
+ function Nc(r) {
751
751
  return r;
752
752
  }
753
- var he = Fc;
754
- function Tc(r) {
753
+ var ye = Nc;
754
+ function Dc(r) {
755
755
  return function(e) {
756
756
  return e == null ? void 0 : e[r];
757
757
  };
758
758
  }
759
- var wc = Tc, Nc = ke;
760
- function Dc(r) {
759
+ var wc = Dc, Oc = Ke;
760
+ function Lc(r) {
761
761
  return function(e) {
762
- return Nc(e, r);
762
+ return Oc(e, r);
763
763
  };
764
764
  }
765
- var Oc = Dc, Lc = wc, Ic = Oc, Pc = Ue, Mc = ge;
766
- function Rc(r) {
767
- return Pc(r) ? Lc(Mc(r)) : Ic(r);
768
- }
769
- var Bc = Rc, zc = Xl, Gc = Ec, Uc = he, jc = T, kc = Bc;
770
- function Hc(r) {
771
- return typeof r == "function" ? r : r == null ? Uc : typeof r == "object" ? jc(r) ? Gc(r[0], r[1]) : zc(r) : kc(r);
765
+ var Pc = Lc, Ic = wc, Mc = Pc, Rc = ke, Bc = be;
766
+ function Gc(r) {
767
+ return Rc(r) ? Ic(Bc(r)) : Mc(r);
772
768
  }
773
- var Vc = Hc;
769
+ var zc = Gc, jc = ec, Uc = Tc, Vc = ye, kc = T, Hc = zc;
774
770
  function Kc(r) {
771
+ return typeof r == "function" ? r : r == null ? Vc : typeof r == "object" ? kc(r) ? Uc(r[0], r[1]) : jc(r) : Hc(r);
772
+ }
773
+ var qc = Kc;
774
+ function Yc(r) {
775
775
  return function(e, t, i) {
776
776
  for (var n = -1, s = Object(e), a = i(e), o = a.length; o--; ) {
777
777
  var l = a[r ? o : ++n];
@@ -781,38 +781,38 @@ function Kc(r) {
781
781
  return e;
782
782
  };
783
783
  }
784
- var qc = Kc, Wc = qc, Yc = Wc(), Jc = Yc, Zc = Jc, Xc = ze;
785
- function Qc(r, e) {
786
- return r && Zc(r, e, Xc);
784
+ var Wc = Yc, Jc = Wc, Zc = Jc(), Xc = Zc, Qc = Xc, ed = Ue;
785
+ function td(r, e) {
786
+ return r && Qc(r, e, ed);
787
787
  }
788
- var ed = Qc, td = ce;
789
- function rd(r, e) {
788
+ var rd = td, id = fe;
789
+ function nd(r, e) {
790
790
  return function(t, i) {
791
791
  if (t == null)
792
792
  return t;
793
- if (!td(t))
793
+ if (!id(t))
794
794
  return r(t, i);
795
795
  for (var n = t.length, s = e ? n : -1, a = Object(t); (e ? s-- : ++s < n) && i(a[s], s, a) !== !1; )
796
796
  ;
797
797
  return t;
798
798
  };
799
799
  }
800
- var id = rd, nd = ed, sd = id, ad = sd(nd), od = ad, ud = od, ld = ce;
801
- function cd(r, e) {
802
- var t = -1, i = ld(r) ? Array(r.length) : [];
803
- return ud(r, function(n, s, a) {
800
+ var sd = nd, ad = rd, od = sd, ud = od(ad), ld = ud, cd = ld, dd = fe;
801
+ function gd(r, e) {
802
+ var t = -1, i = dd(r) ? Array(r.length) : [];
803
+ return cd(r, function(n, s, a) {
804
804
  i[++t] = e(n, s, a);
805
805
  }), i;
806
806
  }
807
- var dd = cd;
808
- function gd(r, e) {
807
+ var hd = gd;
808
+ function fd(r, e) {
809
809
  var t = r.length;
810
810
  for (r.sort(e); t--; )
811
811
  r[t] = r[t].value;
812
812
  return r;
813
813
  }
814
- var hd = gd, $t = de;
815
- function fd(r, e) {
814
+ var pd = fd, $t = pe;
815
+ function bd(r, e) {
816
816
  if (r !== e) {
817
817
  var t = r !== void 0, i = r === null, n = r === r, s = $t(r), a = e !== void 0, o = e === null, l = e === e, c = $t(e);
818
818
  if (!o && !c && !s && r > e || s && a && l && !o && !c || i && a && l || !t && l || !n)
@@ -822,10 +822,10 @@ function fd(r, e) {
822
822
  }
823
823
  return 0;
824
824
  }
825
- var pd = fd, bd = pd;
826
- function yd(r, e, t) {
825
+ var yd = bd, vd = yd;
826
+ function _d(r, e, t) {
827
827
  for (var i = -1, n = r.criteria, s = e.criteria, a = n.length, o = t.length; ++i < a; ) {
828
- var l = bd(n[i], s[i]);
828
+ var l = vd(n[i], s[i]);
829
829
  if (l) {
830
830
  if (i >= o)
831
831
  return l;
@@ -835,26 +835,26 @@ function yd(r, e, t) {
835
835
  }
836
836
  return r.index - e.index;
837
837
  }
838
- var vd = yd, ye = rr, md = ke, _d = Vc, Cd = dd, Sd = hd, Ad = Zt, xd = vd, $d = he, Ed = T;
839
- function Fd(r, e, t) {
840
- e.length ? e = ye(e, function(s) {
841
- return Ed(s) ? function(a) {
842
- return md(a, s.length === 1 ? s[0] : s);
838
+ var md = _d, Ce = nr, Cd = Ke, Ad = qc, Sd = hd, xd = pd, Ed = Qt, Fd = md, $d = ye, Td = T;
839
+ function Nd(r, e, t) {
840
+ e.length ? e = Ce(e, function(s) {
841
+ return Td(s) ? function(a) {
842
+ return Cd(a, s.length === 1 ? s[0] : s);
843
843
  } : s;
844
844
  }) : e = [$d];
845
845
  var i = -1;
846
- e = ye(e, Ad(_d));
847
- var n = Cd(r, function(s, a, o) {
848
- var l = ye(e, function(c) {
846
+ e = Ce(e, Ed(Ad));
847
+ var n = Sd(r, function(s, a, o) {
848
+ var l = Ce(e, function(c) {
849
849
  return c(s);
850
850
  });
851
851
  return { criteria: l, index: ++i, value: s };
852
852
  });
853
- return Sd(n, function(s, a) {
854
- return xd(s, a, t);
853
+ return xd(n, function(s, a) {
854
+ return Fd(s, a, t);
855
855
  });
856
856
  }
857
- var Td = Fd;
857
+ var Dd = Nd;
858
858
  function wd(r, e, t) {
859
859
  switch (t.length) {
860
860
  case 0:
@@ -868,67 +868,67 @@ function wd(r, e, t) {
868
868
  }
869
869
  return r.apply(e, t);
870
870
  }
871
- var Nd = wd, Dd = Nd, Et = Math.max;
872
- function Od(r, e, t) {
873
- return e = Et(e === void 0 ? r.length - 1 : e, 0), function() {
874
- for (var i = arguments, n = -1, s = Et(i.length - e, 0), a = Array(s); ++n < s; )
871
+ var Od = wd, Ld = Od, Tt = Math.max;
872
+ function Pd(r, e, t) {
873
+ return e = Tt(e === void 0 ? r.length - 1 : e, 0), function() {
874
+ for (var i = arguments, n = -1, s = Tt(i.length - e, 0), a = Array(s); ++n < s; )
875
875
  a[n] = i[e + n];
876
876
  n = -1;
877
877
  for (var o = Array(e + 1); ++n < e; )
878
878
  o[n] = i[n];
879
- return o[e] = t(a), Dd(r, this, o);
879
+ return o[e] = t(a), Ld(r, this, o);
880
880
  };
881
881
  }
882
- var Ld = Od;
883
- function Id(r) {
882
+ var Id = Pd;
883
+ function Md(r) {
884
884
  return function() {
885
885
  return r;
886
886
  };
887
887
  }
888
- var Pd = Id, Md = M, Rd = function() {
888
+ var Rd = Md, Bd = R, Gd = function() {
889
889
  try {
890
- var r = Md(Object, "defineProperty");
890
+ var r = Bd(Object, "defineProperty");
891
891
  return r({}, "", {}), r;
892
892
  } catch {
893
893
  }
894
- }(), Bd = Rd, zd = Pd, Ft = Bd, Gd = he, Ud = Ft ? function(r, e) {
895
- return Ft(r, "toString", {
894
+ }(), zd = Gd, jd = Rd, Nt = zd, Ud = ye, Vd = Nt ? function(r, e) {
895
+ return Nt(r, "toString", {
896
896
  configurable: !0,
897
897
  enumerable: !1,
898
- value: zd(e),
898
+ value: jd(e),
899
899
  writable: !0
900
900
  });
901
- } : Gd, jd = Ud, kd = 800, Hd = 16, Vd = Date.now;
902
- function Kd(r) {
901
+ } : Ud, kd = Vd, Hd = 800, Kd = 16, qd = Date.now;
902
+ function Yd(r) {
903
903
  var e = 0, t = 0;
904
904
  return function() {
905
- var i = Vd(), n = Hd - (i - t);
905
+ var i = qd(), n = Kd - (i - t);
906
906
  if (t = i, n > 0) {
907
- if (++e >= kd)
907
+ if (++e >= Hd)
908
908
  return arguments[0];
909
909
  } else
910
910
  e = 0;
911
911
  return r.apply(void 0, arguments);
912
912
  };
913
913
  }
914
- var qd = Kd, Wd = jd, Yd = qd, Jd = Yd(Wd), Zd = Jd, Xd = he, Qd = Ld, eg = Zd;
915
- function tg(r, e) {
916
- return eg(Qd(r, e, Xd), r + "");
914
+ var Wd = Yd, Jd = kd, Zd = Wd, Xd = Zd(Jd), Qd = Xd, eg = ye, tg = Id, rg = Qd;
915
+ function ig(r, e) {
916
+ return rg(tg(r, e, eg), r + "");
917
917
  }
918
- var rg = tg, ig = Le, ng = ce, sg = Re, ag = oe;
919
- function og(r, e, t) {
920
- if (!ag(t))
918
+ var ng = ig, sg = Me, ag = fe, og = ze, ug = de;
919
+ function lg(r, e, t) {
920
+ if (!ug(t))
921
921
  return !1;
922
922
  var i = typeof e;
923
- return (i == "number" ? ng(t) && sg(e, t.length) : i == "string" && e in t) ? ig(t[e], r) : !1;
923
+ return (i == "number" ? ag(t) && og(e, t.length) : i == "string" && e in t) ? sg(t[e], r) : !1;
924
924
  }
925
- var ug = og, lg = Wu, cg = Td, dg = rg, Tt = ug, gg = dg(function(r, e) {
925
+ var cg = lg, dg = Ju, gg = Dd, hg = ng, Dt = cg, fg = hg(function(r, e) {
926
926
  if (r == null)
927
927
  return [];
928
928
  var t = e.length;
929
- return t > 1 && Tt(r, e[0], e[1]) ? e = [] : t > 2 && Tt(e[0], e[1], e[2]) && (e = [e[0]]), cg(r, lg(e, 1), []);
930
- }), hg = gg;
931
- const z = /* @__PURE__ */ Oe(hg), fg = /\S+\.(gif|jpe?g|tiff|png|bmp|svg)$/i, pg = [
929
+ return t > 1 && Dt(r, e[0], e[1]) ? e = [] : t > 2 && Dt(e[0], e[1], e[2]) && (e = [e[0]]), gg(r, dg(e, 1), []);
930
+ }), pg = fg;
931
+ const z = /* @__PURE__ */ Ie(pg), bg = /\S+\.(gif|jpe?g|tiff|png|bmp|svg)$/i, yg = [
932
932
  "label",
933
933
  "Label",
934
934
  "name",
@@ -939,7 +939,7 @@ const z = /* @__PURE__ */ Oe(hg), fg = /\S+\.(gif|jpe?g|tiff|png|bmp|svg)$/i, pg
939
939
  ];
940
940
  class u {
941
941
  static isEqual(e, t) {
942
- return Uu(e, t);
942
+ return Vu(e, t);
943
943
  }
944
944
  /**
945
945
  * Check that a value is defined : not null and not undefined
@@ -1131,7 +1131,7 @@ class u {
1131
1131
  * @return {boolean}
1132
1132
  */
1133
1133
  static isImage(e) {
1134
- return fg.test(e);
1134
+ return bg.test(e);
1135
1135
  }
1136
1136
  /**
1137
1137
  * Return true if the given string is an url with an image extension
@@ -1189,17 +1189,17 @@ class u {
1189
1189
  static formatCurrencyValue(e, t) {
1190
1190
  const i = e < 0 ? "- " : "";
1191
1191
  switch (t.format) {
1192
- case B.SYMBOL_COMMAS_DOT:
1192
+ case G.SYMBOL_COMMAS_DOT:
1193
1193
  return `${i}${t.symbol !== void 0 ? t.symbol + " " : ""}${u.formatNumberToCurrency(e, ",", ".")}`;
1194
- case B.SYMBOL_COMMAS:
1194
+ case G.SYMBOL_COMMAS:
1195
1195
  return `${i}${t.symbol !== void 0 ? t.symbol + " " : ""}${u.formatNumberToCurrency(e, ",")}`;
1196
- case B.DOTS_COMMA_SYMBOL:
1196
+ case G.DOTS_COMMA_SYMBOL:
1197
1197
  return `${i}${u.formatNumberToCurrency(e, ".", ",")}${t.symbol !== void 0 ? " " + t.symbol : ""}`;
1198
- case B.DOTS_SYMBOL:
1198
+ case G.DOTS_SYMBOL:
1199
1199
  return `${i}${u.formatNumberToCurrency(e, ".")}${t.symbol !== void 0 ? " " + t.symbol : ""}`;
1200
- case B.SPACES_COMMA_SYMBOL:
1200
+ case G.SPACES_COMMA_SYMBOL:
1201
1201
  return `${i}${u.formatNumberToCurrency(e, " ", ",")}${t.symbol !== void 0 ? " " + t.symbol : ""}`;
1202
- case B.SPACES_SYMBOL:
1202
+ case G.SPACES_SYMBOL:
1203
1203
  return `${i}${u.formatNumberToCurrency(e, " ")}${t.symbol !== void 0 ? " " + t.symbol : ""}`;
1204
1204
  default:
1205
1205
  throw Error(`Cannot format property value ${e}, unknown format ${t.format}.`);
@@ -1214,16 +1214,16 @@ class u {
1214
1214
  return i ? o + i + s : o;
1215
1215
  }
1216
1216
  }
1217
- class w {
1217
+ class N {
1218
1218
  /**
1219
1219
  * Return label for each node
1220
1220
  */
1221
1221
  static getText(e, t, i) {
1222
1222
  const n = "categories" in e ? e.categories : [e.type];
1223
- if (w.captionExist(n, t))
1224
- return "categories" in e ? w.generateNodeCaption(e, t, i) || null : w.generateEdgeCaption(e, t, i) || null;
1223
+ if (N.captionExist(n, t))
1224
+ return "categories" in e ? N.generateNodeCaption(e, t, i) || null : N.generateEdgeCaption(e, t, i) || null;
1225
1225
  if (e.properties !== void 0) {
1226
- const s = pg.find((a) => e.properties[a] !== void 0);
1226
+ const s = yg.find((a) => e.properties[a] !== void 0);
1227
1227
  if (s !== void 0 && u.isDefined(e.properties[s]))
1228
1228
  return `${u.getValueFromLkProperty(
1229
1229
  e.properties[s]
@@ -1246,7 +1246,7 @@ class w {
1246
1246
  new Date(e.value).getTime() + u.timezoneToMilliseconds(e.timezone)
1247
1247
  ).toISOString()
1248
1248
  );
1249
- } else if ((t == null ? void 0 : t.name) === pr.NUMBER && t.options !== void 0)
1249
+ } else if ((t == null ? void 0 : t.name) === yr.NUMBER && t.options !== void 0)
1250
1250
  return u.formatCurrencyValue(e, t.options);
1251
1251
  return `${e}`.trim();
1252
1252
  }
@@ -1266,7 +1266,7 @@ class w {
1266
1266
  t[o] && t[o].active && (t[o].displayName && s.push(o), a = [...a, ...t[o].properties]);
1267
1267
  }), u.uniqBy(a).forEach((o) => {
1268
1268
  if (e.properties[o] !== void 0) {
1269
- const l = i ? w.getPropertyType(i, o, n[0]) : void 0;
1269
+ const l = i ? N.getPropertyType(i, o, n[0]) : void 0;
1270
1270
  s.push(this.getLabel(e.properties[o], l));
1271
1271
  }
1272
1272
  }), s.filter((o) => o !== null).join(" - ").trim();
@@ -1285,13 +1285,13 @@ class w {
1285
1285
  let a = [];
1286
1286
  return t[n] && t[n].active ? (t[n].displayName && s.push(n), a = [...a, ...t[n].properties], u.uniqBy(a).forEach((o) => {
1287
1287
  if (u.isDefined(e.properties[o])) {
1288
- const l = i ? w.getPropertyType(i, o, n) : void 0;
1289
- s.push(w.getLabel(e.properties[o], l));
1288
+ const l = i ? N.getPropertyType(i, o, n) : void 0;
1289
+ s.push(N.getLabel(e.properties[o], l));
1290
1290
  }
1291
1291
  }), s.join(" - ").trim()) : "";
1292
1292
  }
1293
1293
  }
1294
- var ur = { exports: {} }, lr = { exports: {} };
1294
+ var cr = { exports: {} }, dr = { exports: {} };
1295
1295
  (function() {
1296
1296
  var r = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", e = {
1297
1297
  // Bit-wise rotation left
@@ -1355,18 +1355,18 @@ var ur = { exports: {} }, lr = { exports: {} };
1355
1355
  return i;
1356
1356
  }
1357
1357
  };
1358
- lr.exports = e;
1358
+ dr.exports = e;
1359
1359
  })();
1360
- var bg = lr.exports, Fe = {
1360
+ var vg = dr.exports, De = {
1361
1361
  // UTF-8 encoding
1362
1362
  utf8: {
1363
1363
  // Convert a string to a byte array
1364
1364
  stringToBytes: function(r) {
1365
- return Fe.bin.stringToBytes(unescape(encodeURIComponent(r)));
1365
+ return De.bin.stringToBytes(unescape(encodeURIComponent(r)));
1366
1366
  },
1367
1367
  // Convert a byte array to a string
1368
1368
  bytesToString: function(r) {
1369
- return decodeURIComponent(escape(Fe.bin.bytesToString(r)));
1369
+ return decodeURIComponent(escape(De.bin.bytesToString(r)));
1370
1370
  }
1371
1371
  },
1372
1372
  // Binary encoding
@@ -1384,34 +1384,34 @@ var bg = lr.exports, Fe = {
1384
1384
  return e.join("");
1385
1385
  }
1386
1386
  }
1387
- }, wt = Fe;
1387
+ }, wt = De;
1388
1388
  (function() {
1389
- var r = bg, e = wt.utf8, t = wt.bin, i = function(s) {
1389
+ var r = vg, e = wt.utf8, t = wt.bin, i = function(s) {
1390
1390
  s.constructor == String ? s = e.stringToBytes(s) : typeof Buffer < "u" && typeof Buffer.isBuffer == "function" && Buffer.isBuffer(s) ? s = Array.prototype.slice.call(s, 0) : Array.isArray(s) || (s = s.toString());
1391
1391
  var a = r.bytesToWords(s), o = s.length * 8, l = [], c = 1732584193, d = -271733879, g = -1732584194, h = 271733878, y = -1009589776;
1392
1392
  a[o >> 5] |= 128 << 24 - o % 32, a[(o + 64 >>> 9 << 4) + 15] = o;
1393
- for (var _ = 0; _ < a.length; _ += 16) {
1394
- for (var f = c, A = d, x = g, $ = h, R = y, v = 0; v < 80; v++) {
1393
+ for (var m = 0; m < a.length; m += 16) {
1394
+ for (var f = c, S = d, x = g, E = h, B = y, v = 0; v < 80; v++) {
1395
1395
  if (v < 16)
1396
- l[v] = a[_ + v];
1396
+ l[v] = a[m + v];
1397
1397
  else {
1398
- var O = l[v - 3] ^ l[v - 8] ^ l[v - 14] ^ l[v - 16];
1399
- l[v] = O << 1 | O >>> 31;
1398
+ var L = l[v - 3] ^ l[v - 8] ^ l[v - 14] ^ l[v - 16];
1399
+ l[v] = L << 1 | L >>> 31;
1400
1400
  }
1401
- var fr = (c << 5 | c >>> 27) + y + (l[v] >>> 0) + (v < 20 ? (d & g | ~d & h) + 1518500249 : v < 40 ? (d ^ g ^ h) + 1859775393 : v < 60 ? (d & g | d & h | g & h) - 1894007588 : (d ^ g ^ h) - 899497514);
1402
- y = h, h = g, g = d << 30 | d >>> 2, d = c, c = fr;
1401
+ var br = (c << 5 | c >>> 27) + y + (l[v] >>> 0) + (v < 20 ? (d & g | ~d & h) + 1518500249 : v < 40 ? (d ^ g ^ h) + 1859775393 : v < 60 ? (d & g | d & h | g & h) - 1894007588 : (d ^ g ^ h) - 899497514);
1402
+ y = h, h = g, g = d << 30 | d >>> 2, d = c, c = br;
1403
1403
  }
1404
- c += f, d += A, g += x, h += $, y += R;
1404
+ c += f, d += S, g += x, h += E, y += B;
1405
1405
  }
1406
1406
  return [c, d, g, h, y];
1407
1407
  }, n = function(s, a) {
1408
1408
  var o = r.wordsToBytes(i(s));
1409
1409
  return a && a.asBytes ? o : a && a.asString ? t.bytesToString(o) : r.bytesToHex(o);
1410
1410
  };
1411
- n._blocksize = 16, n._digestsize = 20, ur.exports = n;
1411
+ n._blocksize = 16, n._digestsize = 20, cr.exports = n;
1412
1412
  })();
1413
- var yg = ur.exports;
1414
- const He = /* @__PURE__ */ Oe(yg), E = "#7f7f7f", Nt = [
1413
+ var _g = cr.exports;
1414
+ const ue = /* @__PURE__ */ Ie(_g), F = "#7f7f7f", Ot = [
1415
1415
  "#9467bd",
1416
1416
  "#e377c2",
1417
1417
  "#1f77b4",
@@ -1431,7 +1431,7 @@ const He = /* @__PURE__ */ Oe(yg), E = "#7f7f7f", Nt = [
1431
1431
  "#ffbb78",
1432
1432
  "#c49c94"
1433
1433
  ];
1434
- class F {
1434
+ class $ {
1435
1435
  constructor(e) {
1436
1436
  this.colorsCache = /* @__PURE__ */ new Map(), this._rulesMap = {}, this.refresh(e);
1437
1437
  }
@@ -1452,19 +1452,19 @@ class F {
1452
1452
  * Return the color for a node when style color is auto
1453
1453
  */
1454
1454
  static autoColor(e, t) {
1455
- return u.isDefined(e) ? Nt[F.getRandomUniqueColorPaletteIndex(e, Nt.length, t)] : E;
1455
+ return u.isDefined(e) ? Ot[$.getRandomUniqueColorPaletteIndex(e, Ot.length, t)] : F;
1456
1456
  }
1457
1457
  /**
1458
1458
  * Return a number from 0 to number of occurrence in a palette based on a property
1459
1459
  */
1460
1460
  static getRandomUniqueColorPaletteIndex(e, t, i) {
1461
- return i && (e = e.toLowerCase()), +("0x" + He(e).substr(-4)) % t;
1461
+ return i && (e = e.toLowerCase()), +("0x" + ue(e).substr(-4)) % t;
1462
1462
  }
1463
1463
  /**
1464
1464
  * Get color of a type
1465
1465
  */
1466
1466
  static getTypeColor(e, t) {
1467
- return typeof e.style.color == "object" && e.style.color.input[0] !== "properties" ? F.autoColor(t, e.style.color.ignoreCase) : !u.isDefined(e.input) && typeof e.style.color != "object" ? e.style.color : null;
1467
+ return typeof e.style.color == "object" && e.style.color.input[0] !== "properties" ? $.autoColor(t, e.style.color.ignoreCase) : !u.isDefined(e.input) && typeof e.style.color != "object" ? e.style.color : null;
1468
1468
  }
1469
1469
  /**
1470
1470
  * return the corresponding size to the value with a linear function
@@ -1501,7 +1501,7 @@ class F {
1501
1501
  return typeof e == "object" && (e == null ? void 0 : e.type) === "autoRange";
1502
1502
  }
1503
1503
  }
1504
- class W extends F {
1504
+ class J extends $ {
1505
1505
  constructor(e) {
1506
1506
  super(e);
1507
1507
  }
@@ -1520,7 +1520,7 @@ class W extends F {
1520
1520
  */
1521
1521
  color(e) {
1522
1522
  if (!u.isDefined(e))
1523
- return E;
1523
+ return F;
1524
1524
  let t;
1525
1525
  for (let i = 0; i < this._rulesMap.color.length; ++i) {
1526
1526
  const n = this._rulesMap.color[i];
@@ -1529,12 +1529,12 @@ class W extends F {
1529
1529
  t = n.style.color;
1530
1530
  else if (typeof n.style.color == "object") {
1531
1531
  const s = u.getIn(e, n.style.color.input);
1532
- t = F.autoColor(`${s}`, n.style.color.ignoreCase);
1532
+ t = $.autoColor(`${s}`, n.style.color.ignoreCase);
1533
1533
  }
1534
1534
  break;
1535
1535
  }
1536
1536
  }
1537
- return u.isDefined(t) ? t : E;
1537
+ return u.isDefined(t) ? t : F;
1538
1538
  }
1539
1539
  /**
1540
1540
  * Generate shape for a given node
@@ -1542,20 +1542,20 @@ class W extends F {
1542
1542
  shape(e) {
1543
1543
  var t;
1544
1544
  if (this._rulesMap.shape !== void 0)
1545
- return (t = W.matchStyle(this._rulesMap.shape, e)) == null ? void 0 : t.style.shape;
1545
+ return (t = J.matchStyle(this._rulesMap.shape, e)) == null ? void 0 : t.style.shape;
1546
1546
  }
1547
1547
  /**
1548
1548
  * Generate size for a given node
1549
1549
  */
1550
1550
  width(e) {
1551
1551
  if (this._rulesMap.width !== void 0) {
1552
- const t = W.matchStyle(this._rulesMap.width, e);
1552
+ const t = J.matchStyle(this._rulesMap.width, e);
1553
1553
  if (t !== void 0) {
1554
1554
  const i = t == null ? void 0 : t.style.width;
1555
1555
  if (i !== void 0 && this.isAutoRange(i)) {
1556
1556
  if (i.input !== void 0 && i.max !== void 0 && i.min !== void 0) {
1557
- const n = i.input[1], s = u.parseNumber(e.properties[n]), a = i.scale && i.scale === Ut.LOGARITHMIC;
1558
- return W.getAutomaticRangeWidth(s, t, a);
1557
+ const n = i.input[1], s = u.parseNumber(e.properties[n]), a = i.scale && i.scale === Vt.LOGARITHMIC;
1558
+ return J.getAutomaticRangeWidth(s, t, a);
1559
1559
  }
1560
1560
  } else
1561
1561
  return i;
@@ -1592,13 +1592,13 @@ class W extends F {
1592
1592
  shape: this.shape(e),
1593
1593
  width: this.width(e)
1594
1594
  } : {
1595
- color: E,
1596
- shape: br.ARROW,
1595
+ color: F,
1596
+ shape: vr.ARROW,
1597
1597
  width: "100%"
1598
1598
  };
1599
1599
  }
1600
1600
  }
1601
- class U extends F {
1601
+ class U extends $ {
1602
1602
  constructor(e) {
1603
1603
  super(e);
1604
1604
  }
@@ -1619,8 +1619,8 @@ class U extends F {
1619
1619
  */
1620
1620
  color(e) {
1621
1621
  if (!u.isDefined(e))
1622
- return [E];
1623
- const t = He(JSON.stringify(e)), i = this.colorsCache.get(t);
1622
+ return [F];
1623
+ const t = ue(JSON.stringify(e)), i = this.colorsCache.get(t);
1624
1624
  if (i !== void 0)
1625
1625
  return i;
1626
1626
  let n = [];
@@ -1631,7 +1631,7 @@ class U extends F {
1631
1631
  if (!(c.itemType !== void 0 && c.itemType !== null && c.itemType !== e.categories[a]) && c.canApplyTo(e)) {
1632
1632
  if (typeof c.style.color == "object") {
1633
1633
  const d = u.getIn(e, c.style.color.input);
1634
- Array.isArray(d) ? o = F.autoColor(e.categories[a], c.style.color.ignoreCase) : o = F.autoColor(`${d}`, c.style.color.ignoreCase);
1634
+ Array.isArray(d) ? o = $.autoColor(e.categories[a], c.style.color.ignoreCase) : o = $.autoColor(`${d}`, c.style.color.ignoreCase);
1635
1635
  } else
1636
1636
  o = c.style.color;
1637
1637
  break;
@@ -1639,7 +1639,7 @@ class U extends F {
1639
1639
  }
1640
1640
  n.push(o);
1641
1641
  }
1642
- n = n.filter((a) => u.isDefined(a)), n.length === 0 && (n = [E]);
1642
+ n = n.filter((a) => u.isDefined(a)), n.length === 0 && (n = [F]);
1643
1643
  const s = n.length === 1 ? n[0] : n;
1644
1644
  return this.colorsCache.set(t, s), s;
1645
1645
  }
@@ -1665,7 +1665,7 @@ class U extends F {
1665
1665
  content: (a = c.icon) == null ? void 0 : a.content,
1666
1666
  font: (o = c.icon) == null ? void 0 : o.font,
1667
1667
  scale: 0.5,
1668
- color: ne.isBright(i) ? "#000000" : "#FFFFFF"
1668
+ color: D.isBright(i) ? "#000000" : "#FFFFFF"
1669
1669
  }
1670
1670
  };
1671
1671
  else if ("image" in c && typeof c.image == "object") {
@@ -1709,7 +1709,7 @@ class U extends F {
1709
1709
  const n = i.style.size;
1710
1710
  if (this.isAutoRange(n)) {
1711
1711
  if (n.input !== void 0 && n.max !== void 0 && n.min !== void 0) {
1712
- const s = n.input[1], a = u.parseNumber(e.properties[s]), o = n.scale && n.scale === Ut.LOGARITHMIC;
1712
+ const s = n.input[1], a = u.parseNumber(e.properties[s]), o = n.scale && n.scale === Vt.LOGARITHMIC;
1713
1713
  t = U.getAutomaticRangeSize(a, i, o);
1714
1714
  }
1715
1715
  } else
@@ -1744,7 +1744,7 @@ class U extends F {
1744
1744
  all(e) {
1745
1745
  if (!u.isDefined(e))
1746
1746
  return {
1747
- color: E
1747
+ color: F
1748
1748
  };
1749
1749
  const t = this.icon(e);
1750
1750
  return {
@@ -1773,7 +1773,7 @@ class U extends F {
1773
1773
  this._baseUrl = e;
1774
1774
  }
1775
1775
  }
1776
- var vg = /* @__PURE__ */ ((r) => (r.AUTO_RANGE = "autoRange", r))(vg || {});
1776
+ var mg = /* @__PURE__ */ ((r) => (r.AUTO_RANGE = "autoRange", r))(mg || {});
1777
1777
  class C {
1778
1778
  constructor(e) {
1779
1779
  this.type = e.type, this.input = e.input, this.index = e.index, this.itemType = e.itemType, this.style = e.style, this.value = e.value;
@@ -1796,7 +1796,7 @@ class C {
1796
1796
  return u.isDefined(t) ? (e === this.itemType || !u.isDefined(this.itemType)) && u.isEqual(["properties", ...t], this.input) && u.isEqual(i, this.value) || this.type === "any" && !u.isDefined(this.input) && typeof this.style.color == "object" && this.style.color.input[1] === t[0] : u.isDefined(this.itemType) ? e === this.itemType && !u.isDefined(this.input) : !u.isDefined(this.input);
1797
1797
  }
1798
1798
  static inputExists(e, t) {
1799
- return e !== S.ANY;
1799
+ return e !== A.ANY;
1800
1800
  }
1801
1801
  /**
1802
1802
  * Return true if a style can apply to a node
@@ -1805,22 +1805,22 @@ class C {
1805
1805
  const t = "categories" in e ? e.categories : [e.type];
1806
1806
  let i = !1;
1807
1807
  switch (this.type) {
1808
- case S.ANY:
1808
+ case A.ANY:
1809
1809
  i = C.checkAny(e, this.style);
1810
1810
  break;
1811
- case S.NO_VALUE:
1811
+ case A.NO_VALUE:
1812
1812
  C.inputExists(this.type, this.input) && (i = C.checkNoValue(e, this.input));
1813
1813
  break;
1814
- case S.NAN:
1814
+ case A.NAN:
1815
1815
  C.inputExists(this.type, this.input) && (i = C.checkNan(e, this.input));
1816
1816
  break;
1817
- case S.RANGE:
1817
+ case A.RANGE:
1818
1818
  C.inputExists(this.type, this.input) && (i = C.checkRange(
1819
1819
  u.getIn(e, this.input),
1820
1820
  this.value
1821
1821
  ));
1822
1822
  break;
1823
- case S.IS:
1823
+ case A.IS:
1824
1824
  C.inputExists(this.type, this.input) && (i = C.checkIs(e, this.input, this.value));
1825
1825
  break;
1826
1826
  }
@@ -1902,11 +1902,11 @@ class C {
1902
1902
  */
1903
1903
  getTypeColor(e) {
1904
1904
  let t;
1905
- return C.checkItemType([e], this.itemType) && this.type === S.ANY && !u.isDefined(this.input) && (t = F.getTypeColor(this, e)), t;
1905
+ return C.checkItemType([e], this.itemType) && this.type === A.ANY && !u.isDefined(this.input) && (t = $.getTypeColor(this, e)), t;
1906
1906
  }
1907
1907
  }
1908
- var D = /* @__PURE__ */ ((r) => (r.COLOR = "color", r.ICON = "icon", r.SIZE = "size", r.IMAGE = "image", r.SHAPE = "shape", r.WIDTH = "width", r))(D || {});
1909
- const G = ["specificity", "itemType", "index"];
1908
+ var O = /* @__PURE__ */ ((r) => (r.COLOR = "color", r.ICON = "icon", r.SIZE = "size", r.IMAGE = "image", r.SHAPE = "shape", r.WIDTH = "width", r))(O || {});
1909
+ const j = ["specificity", "itemType", "index"];
1910
1910
  class p {
1911
1911
  constructor(e) {
1912
1912
  this._rules = e;
@@ -1917,7 +1917,7 @@ class p {
1917
1917
  * @return {Array<StyleRule>}
1918
1918
  */
1919
1919
  get color() {
1920
- return z(p.getBy("color", this._rules), G);
1920
+ return z(p.getBy("color", this._rules), j);
1921
1921
  }
1922
1922
  /**
1923
1923
  * Return an array of StyleRule with only 'icon' rules and sorted by specificity, itemType and index
@@ -1930,7 +1930,7 @@ class p {
1930
1930
  ...p.getBy("icon", this._rules) || [],
1931
1931
  ...p.getBy("image", this._rules) || []
1932
1932
  ],
1933
- G
1933
+ j
1934
1934
  );
1935
1935
  }
1936
1936
  /**
@@ -1939,7 +1939,7 @@ class p {
1939
1939
  * @return {Array<StyleRule>}
1940
1940
  */
1941
1941
  get image() {
1942
- return z(p.getBy("image", this._rules), G);
1942
+ return z(p.getBy("image", this._rules), j);
1943
1943
  }
1944
1944
  /**
1945
1945
  * Return an array of StyleRule with only 'shape' rules and sorted by specificity, itemType and index
@@ -1947,7 +1947,7 @@ class p {
1947
1947
  * @return {Array<StyleRule>}
1948
1948
  */
1949
1949
  get shape() {
1950
- return z(p.getBy("shape", this._rules), G);
1950
+ return z(p.getBy("shape", this._rules), j);
1951
1951
  }
1952
1952
  /**
1953
1953
  * Return an array of StyleRule with only 'size' rules and sorted by specificity, itemType and index
@@ -1955,7 +1955,7 @@ class p {
1955
1955
  * @return {Array<StyleRule>}
1956
1956
  */
1957
1957
  get size() {
1958
- return z(p.getBy("size", this._rules), G);
1958
+ return z(p.getBy("size", this._rules), j);
1959
1959
  }
1960
1960
  /**
1961
1961
  * Return an array of StyleRule with only 'width' rules and sorted by specificity, itemType and index
@@ -1963,7 +1963,7 @@ class p {
1963
1963
  * @return {Array<StyleRule>}
1964
1964
  */
1965
1965
  get width() {
1966
- return z(p.getBy("width", this._rules), G);
1966
+ return z(p.getBy("width", this._rules), j);
1967
1967
  }
1968
1968
  /**
1969
1969
  * Return an object containing for each node style a sorted array of StyleRule
@@ -2039,11 +2039,11 @@ class p {
2039
2039
  static sanitizeValue(e, t) {
2040
2040
  let i = "";
2041
2041
  switch (e) {
2042
- case S.NO_VALUE:
2042
+ case A.NO_VALUE:
2043
2043
  return "is undefined";
2044
- case S.NAN:
2044
+ case A.NAN:
2045
2045
  return "is not an number";
2046
- case S.RANGE:
2046
+ case A.RANGE:
2047
2047
  return Object.keys(t).forEach((n, s) => {
2048
2048
  s > 0 && (i += " and "), i += `${n} ${t[n]}`;
2049
2049
  }), i;
@@ -2059,11 +2059,11 @@ class p {
2059
2059
  const o = u.getIn(a, n.input);
2060
2060
  if (Array.isArray(o))
2061
2061
  o.forEach((l) => {
2062
- const c = n.input.includes("properties") ? `${p.getTypeLabel(t.itemType)}.${s} = ${l}` : `${p.getTypeLabel(l)}`, d = F.autoColor(l, n.ignoreCase);
2062
+ const c = n.input.includes("properties") ? `${p.getTypeLabel(t.itemType)}.${s} = ${l}` : `${p.getTypeLabel(l)}`, d = $.autoColor(l, n.ignoreCase);
2063
2063
  p.updateLegend(i, { label: c, value: d });
2064
2064
  });
2065
2065
  else {
2066
- const l = n.input.includes("properties") ? `${p.getTypeLabel(t.itemType)}.${s} = ${o}` : `${p.getTypeLabel(o)}`, c = F.autoColor(o, n.ignoreCase);
2066
+ const l = n.input.includes("properties") ? `${p.getTypeLabel(t.itemType)}.${s} = ${o}` : `${p.getTypeLabel(o)}`, c = $.autoColor(o, n.ignoreCase);
2067
2067
  p.updateLegend(i, { label: l, value: c });
2068
2068
  }
2069
2069
  });
@@ -2079,7 +2079,7 @@ class p {
2079
2079
  */
2080
2080
  getColorForType(e) {
2081
2081
  const t = this.color.map((i) => i.getTypeColor(e)).filter((i) => u.isDefined(i));
2082
- return t.length > 0 ? t[t.length - 1] : E;
2082
+ return t.length > 0 ? t[t.length - 1] : F;
2083
2083
  }
2084
2084
  /**
2085
2085
  * Return the icon of item type from the list of styles
@@ -2135,7 +2135,7 @@ class p {
2135
2135
  return i.node = i.node.map((s) => (t.includes(s.index) ? (s.index = n, n++) : t.push(s.index), s)), i.edge = i.edge.map((s) => (t.includes(s.index) ? (s.index = n, n++) : t.push(s.index), s)), i;
2136
2136
  }
2137
2137
  }
2138
- const Dt = {
2138
+ const gr = "'roboto', sans-serif", Z = "#FFF", Lt = 0.2, Pt = {
2139
2139
  text: {
2140
2140
  style: "bold",
2141
2141
  backgroundColor: "#fff",
@@ -2143,33 +2143,40 @@ const Dt = {
2143
2143
  },
2144
2144
  outerStroke: { width: 2 },
2145
2145
  outline: !1
2146
- }, Ot = {
2146
+ }, It = {
2147
2147
  text: {
2148
2148
  style: "bold",
2149
2149
  backgroundColor: "#fff",
2150
2150
  minVisibleSize: 0
2151
2151
  },
2152
2152
  outline: !1
2153
- }, mg = {
2153
+ }, Cg = {
2154
2154
  color: "#FFF",
2155
2155
  width: 7,
2156
2156
  scalingMethod: "scaled",
2157
2157
  strokeWidth: 0,
2158
2158
  hideNonAdjacentEdges: !1
2159
- }, _g = {
2159
+ }, Ag = {
2160
2160
  color: "#FFF",
2161
2161
  scalingMethod: "scaled",
2162
2162
  width: 4
2163
- }, Cg = "'roboto', sans-serif", Lt = "#000", ve = "#FFF", It = "#7f7f7f", Pt = 0.2;
2163
+ }, Mt = "#000", Rt = "#7f7f7f";
2164
2164
  class Sg {
2165
2165
  constructor(e, t) {
2166
- this._nodeAttributes = new U({}), this._edgeAttributes = new W({}), this._ogma = e, this._defaultConfiguration = t, this._nodeAttributes.setBaseUrl(t.baseUrl);
2166
+ this._nodeAttributes = new U({}), this._edgeAttributes = new J({}), this._ogma = e, this._defaultConfiguration = t, this._nodeAttributes.setBaseUrl(t.baseUrl);
2167
+ }
2168
+ get nodeAttributes() {
2169
+ return this._nodeAttributes;
2170
+ }
2171
+ get nodeFont() {
2172
+ var e, t;
2173
+ return (t = (e = this._defaultConfiguration.node) == null ? void 0 : e.text) == null ? void 0 : t.font;
2167
2174
  }
2168
2175
  /**
2169
2176
  * Set nodes default styles based on the configuration
2170
2177
  */
2171
2178
  setNodesDefaultStyles() {
2172
- this._ogma.styles.setHoveredNodeAttributes(Dt), this._ogma.styles.setSelectedNodeAttributes(Dt), this._nodeDefaultStylesRules = this._ogma.styles.addRule({
2179
+ this._ogma.styles.setHoveredNodeAttributes(Pt), this._ogma.styles.setSelectedNodeAttributes(Pt), this._nodeDefaultStylesRules = this._ogma.styles.addRule({
2173
2180
  nodeAttributes: {
2174
2181
  text: {
2175
2182
  padding: 5,
@@ -2186,13 +2193,14 @@ class Sg {
2186
2193
  icon: {
2187
2194
  minVisibleSize: 15
2188
2195
  },
2189
- color: It,
2196
+ color: Rt,
2190
2197
  shape: this._defaultConfiguration.node.shape !== void 0 ? this._defaultConfiguration.node.shape : "circle",
2191
2198
  innerStroke: {
2192
2199
  width: 3
2193
2200
  },
2194
2201
  outline: !1
2195
- }
2202
+ },
2203
+ nodeSelector: (e) => !e.isVirtual()
2196
2204
  });
2197
2205
  }
2198
2206
  /**
@@ -2200,7 +2208,7 @@ class Sg {
2200
2208
  */
2201
2209
  setEdgesDefaultStyles() {
2202
2210
  var e;
2203
- this._ogma.styles.setHoveredEdgeAttributes(Ot), this._ogma.styles.setSelectedEdgeAttributes(Ot), this._edgeDefaultStylesRules = this._ogma.styles.addRule({
2211
+ this._ogma.styles.setHoveredEdgeAttributes(It), this._ogma.styles.setSelectedEdgeAttributes(It), this._edgeDefaultStylesRules = this._ogma.styles.addRule({
2204
2212
  edgeAttributes: {
2205
2213
  text: {
2206
2214
  minVisibleSize: this._defaultConfiguration.edge.text !== void 0 && this._defaultConfiguration.edge.text.minVisibleSize ? this._defaultConfiguration.edge.text.minVisibleSize : 3,
@@ -2212,7 +2220,7 @@ class Sg {
2212
2220
  },
2213
2221
  width: this.defaultEdgeWidth(this._defaultConfiguration.edge),
2214
2222
  shape: this._defaultConfiguration.edge.shape !== void 0 ? this._defaultConfiguration.edge.shape : "arrow",
2215
- color: It
2223
+ color: Rt
2216
2224
  }
2217
2225
  });
2218
2226
  }
@@ -2221,10 +2229,10 @@ class Sg {
2221
2229
  */
2222
2230
  setNodesDefaultHalo() {
2223
2231
  this._nodeDefaultHaloRules = this._ogma.styles.addRule({
2224
- nodeSelector: (e) => e && !e.hasClass("filtered"),
2232
+ nodeSelector: (e) => e && !e.hasClass("filtered") && !e.isVirtual(),
2225
2233
  nodeAttributes: {
2226
2234
  halo: (e) => e !== void 0 && !e.hasClass("filtered") && (e.isSelected() || e.getAdjacentNodes({}).isSelected().includes(!0) || e.getAdjacentEdges().isSelected().includes(!0)) ? {
2227
- ...mg,
2235
+ ...Cg,
2228
2236
  scalingMethod: this._ogma.geo.enabled() ? "fixed" : "scaled"
2229
2237
  } : null
2230
2238
  },
@@ -2251,7 +2259,7 @@ class Sg {
2251
2259
  edgeSelector: (e) => e && e.getSource() && e.getTarget() && !e.hasClass("filtered"),
2252
2260
  edgeAttributes: {
2253
2261
  halo: (e) => e && !e.hasClass("filtered") && (e.isSelected() || e.getSource().isSelected() || e.getTarget().isSelected()) ? {
2254
- ..._g,
2262
+ ...Ag,
2255
2263
  scalingMethod: this._ogma.geo.enabled() ? "fixed" : "scaled"
2256
2264
  } : null
2257
2265
  },
@@ -2296,7 +2304,7 @@ class Sg {
2296
2304
  this._ogma.styles.createClass({
2297
2305
  name: "filtered",
2298
2306
  nodeAttributes: {
2299
- opacity: Pt,
2307
+ opacity: Lt,
2300
2308
  layer: (e) => e.getMetaNode() !== null ? 1 : -1,
2301
2309
  detectable: !1,
2302
2310
  badges: {
@@ -2311,7 +2319,7 @@ class Sg {
2311
2319
  color: "rgb(240, 240, 240)",
2312
2320
  innerStroke: {
2313
2321
  width: 1,
2314
- color: E,
2322
+ color: F,
2315
2323
  minVisibleSize: 1
2316
2324
  },
2317
2325
  shape: "circle",
@@ -2320,14 +2328,14 @@ class Sg {
2320
2328
  radius: "50%"
2321
2329
  },
2322
2330
  edgeAttributes: {
2323
- opacity: Pt,
2331
+ opacity: Lt,
2324
2332
  layer: (e) => {
2325
2333
  const t = e.getExtremities().getMetaNode().some((i) => i !== null);
2326
2334
  return !e.isVirtual() && t ? 1 : -1;
2327
2335
  },
2328
2336
  detectable: !1,
2329
2337
  text: null,
2330
- color: E,
2338
+ color: F,
2331
2339
  shape: "line",
2332
2340
  width: 0.2
2333
2341
  }
@@ -2375,7 +2383,7 @@ class Sg {
2375
2383
  if (e !== void 0) {
2376
2384
  const t = u.getHiddenNeighbors(e.toList()), i = u.formatNumber(t);
2377
2385
  if (t > 0) {
2378
- const n = Array.isArray(e.getAttribute("color")) ? e.getAttribute("color")[0] : e.getAttribute("color"), s = ne.isBright(n) ? Lt : ve, a = e.getData(["statistics", "supernode"]);
2386
+ const n = Array.isArray(e.getAttribute("color")) ? e.getAttribute("color")[0] : e.getAttribute("color"), s = D.isBright(n) ? Mt : Z, a = e.getData(["statistics", "supernode"]);
2379
2387
  let o = null;
2380
2388
  return +i != 0 && (o = a ? i + "+" : i), {
2381
2389
  color: "inherit",
@@ -2385,7 +2393,7 @@ class Sg {
2385
2393
  color: null
2386
2394
  },
2387
2395
  text: {
2388
- font: this._defaultConfiguration.node.text !== void 0 && this._defaultConfiguration.node.text.font !== void 0 ? this._defaultConfiguration.node.text.font : Cg,
2396
+ font: this._defaultConfiguration.node.text !== void 0 && this._defaultConfiguration.node.text.font !== void 0 ? this._defaultConfiguration.node.text.font : gr,
2389
2397
  scale: 0.4,
2390
2398
  color: s,
2391
2399
  content: o
@@ -2457,7 +2465,8 @@ class Sg {
2457
2465
  return this._nodeAttributes.color(t.getData());
2458
2466
  }
2459
2467
  },
2460
- nodeDependencies: { self: { data: !0 } }
2468
+ nodeDependencies: { self: { data: !0 } },
2469
+ nodeSelector: (t) => !t.isVirtual()
2461
2470
  }));
2462
2471
  }
2463
2472
  /**
@@ -2469,46 +2478,46 @@ class Sg {
2469
2478
  initNodeColors(e) {
2470
2479
  const t = this.getStyleRule(
2471
2480
  e,
2472
- D.COLOR
2481
+ O.COLOR
2473
2482
  );
2474
2483
  this.refreshNodeColors(t);
2475
2484
  }
2476
2485
  initNodesIcons(e) {
2477
2486
  const t = this.getStyleRule(
2478
2487
  e,
2479
- D.ICON
2488
+ O.ICON
2480
2489
  );
2481
2490
  this.refreshNodeIcons(t);
2482
2491
  }
2483
2492
  initNodesSizes(e) {
2484
- const t = this.getStyleRule(e, D.SIZE);
2493
+ const t = this.getStyleRule(e, O.SIZE);
2485
2494
  this.refreshNodeSize(t);
2486
2495
  }
2487
2496
  initNodesShapes(e) {
2488
2497
  const t = this.getStyleRule(
2489
2498
  e,
2490
- D.SHAPE
2499
+ O.SHAPE
2491
2500
  );
2492
2501
  this.refreshNodeShape(t);
2493
2502
  }
2494
2503
  initEdgesWidth(e) {
2495
2504
  const t = this.getStyleRule(
2496
2505
  e,
2497
- D.WIDTH
2506
+ O.WIDTH
2498
2507
  );
2499
2508
  this.refreshEdgeWidth(t);
2500
2509
  }
2501
2510
  initEdgesShape(e) {
2502
2511
  const t = this.getStyleRule(
2503
2512
  e,
2504
- D.SHAPE
2513
+ O.SHAPE
2505
2514
  );
2506
2515
  this.refreshEdgeShape(t);
2507
2516
  }
2508
2517
  initEdgesColor(e) {
2509
2518
  const t = this.getStyleRule(
2510
2519
  e,
2511
- D.COLOR
2520
+ O.COLOR
2512
2521
  );
2513
2522
  this.refreshEdgeColors(t);
2514
2523
  }
@@ -2529,7 +2538,8 @@ class Sg {
2529
2538
  return this._nodeAttributes.icon(t.getData()).image;
2530
2539
  }
2531
2540
  },
2532
- nodeDependencies: { self: { data: !0 } }
2541
+ nodeDependencies: { self: { data: !0 } },
2542
+ nodeSelector: (t) => !t.isVirtual()
2533
2543
  }));
2534
2544
  }
2535
2545
  /**
@@ -2545,7 +2555,8 @@ class Sg {
2545
2555
  return this._nodeAttributes.size(t.getData());
2546
2556
  }
2547
2557
  },
2548
- nodeDependencies: { self: { data: !0 } }
2558
+ nodeDependencies: { self: { data: !0 } },
2559
+ nodeSelector: (t) => !t.isVirtual()
2549
2560
  }));
2550
2561
  }
2551
2562
  /**
@@ -2640,18 +2651,18 @@ class Sg {
2640
2651
  */
2641
2652
  _findPinBadgeTextColor(e) {
2642
2653
  if (e.isVirtual())
2643
- return ve;
2654
+ return Z;
2644
2655
  const t = Array.isArray(e.getAttribute("color")) ? e.getAttribute("color")[0] : e.getAttribute("color");
2645
- return ne.isBright(t) ? Lt : ve;
2656
+ return D.isBright(t) ? Mt : Z;
2646
2657
  }
2647
2658
  /**
2648
2659
  * Find the color of the pin badge background
2649
2660
  */
2650
2661
  _findPinBadgeBackgroundColor(e) {
2651
- return e.isVirtual() ? E : "inherit";
2662
+ return e.isVirtual() ? F : "inherit";
2652
2663
  }
2653
2664
  }
2654
- class Ag {
2665
+ class xg {
2655
2666
  constructor(e, t, i) {
2656
2667
  this._nodeMaxTextLength = t, this._edgeMaxTextLength = i, this._captionSchema = { node: {}, edge: {} }, this._graphSchema = { node: [], edge: [] }, this._ogma = e;
2657
2668
  }
@@ -2681,7 +2692,7 @@ class Ag {
2681
2692
  content: (t) => {
2682
2693
  if (t === void 0)
2683
2694
  return "";
2684
- const i = w.getText(
2695
+ const i = N.getText(
2685
2696
  t.getData(),
2686
2697
  this._captionSchema.node,
2687
2698
  this._graphSchema.node
@@ -2708,7 +2719,7 @@ class Ag {
2708
2719
  content: (t) => {
2709
2720
  if (t === void 0 || t.getData() === void 0)
2710
2721
  return "";
2711
- const i = w.getText(
2722
+ const i = N.getText(
2712
2723
  t.getData(),
2713
2724
  this._captionSchema.edge,
2714
2725
  this._graphSchema.edge
@@ -2725,15 +2736,15 @@ class Ag {
2725
2736
  return this.edgesCaptionsRule.refresh();
2726
2737
  }
2727
2738
  }
2728
- function P(r) {
2739
+ function M(r) {
2729
2740
  return typeof r == "function";
2730
2741
  }
2731
- function xg(r) {
2732
- return P(r == null ? void 0 : r.lift);
2742
+ function Eg(r) {
2743
+ return M(r == null ? void 0 : r.lift);
2733
2744
  }
2734
- function cr(r) {
2745
+ function hr(r) {
2735
2746
  return function(e) {
2736
- if (xg(e))
2747
+ if (Eg(e))
2737
2748
  return e.lift(function(t) {
2738
2749
  try {
2739
2750
  return r(t, this);
@@ -2744,23 +2755,23 @@ function cr(r) {
2744
2755
  throw new TypeError("Unable to lift unknown Observable type");
2745
2756
  };
2746
2757
  }
2747
- var Te = function(r, e) {
2748
- return Te = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(t, i) {
2758
+ var we = function(r, e) {
2759
+ return we = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(t, i) {
2749
2760
  t.__proto__ = i;
2750
2761
  } || function(t, i) {
2751
2762
  for (var n in i) Object.prototype.hasOwnProperty.call(i, n) && (t[n] = i[n]);
2752
- }, Te(r, e);
2763
+ }, we(r, e);
2753
2764
  };
2754
- function Ve(r, e) {
2765
+ function qe(r, e) {
2755
2766
  if (typeof e != "function" && e !== null)
2756
2767
  throw new TypeError("Class extends value " + String(e) + " is not a constructor or null");
2757
- Te(r, e);
2768
+ we(r, e);
2758
2769
  function t() {
2759
2770
  this.constructor = r;
2760
2771
  }
2761
2772
  r.prototype = e === null ? Object.create(e) : (t.prototype = e.prototype, new t());
2762
2773
  }
2763
- function Mt(r) {
2774
+ function Bt(r) {
2764
2775
  var e = typeof Symbol == "function" && Symbol.iterator, t = e && r[e], i = 0;
2765
2776
  if (t) return t.call(r);
2766
2777
  if (r && typeof r.length == "number") return {
@@ -2770,7 +2781,7 @@ function Mt(r) {
2770
2781
  };
2771
2782
  throw new TypeError(e ? "Object is not iterable." : "Symbol.iterator is not defined.");
2772
2783
  }
2773
- function we(r, e) {
2784
+ function Oe(r, e) {
2774
2785
  var t = typeof Symbol == "function" && r[Symbol.iterator];
2775
2786
  if (!t) return r;
2776
2787
  var i = t.call(r), n, s = [], a;
@@ -2787,18 +2798,18 @@ function we(r, e) {
2787
2798
  }
2788
2799
  return s;
2789
2800
  }
2790
- function Ne(r, e, t) {
2801
+ function Le(r, e, t) {
2791
2802
  if (t || arguments.length === 2) for (var i = 0, n = e.length, s; i < n; i++)
2792
2803
  (s || !(i in e)) && (s || (s = Array.prototype.slice.call(e, 0, i)), s[i] = e[i]);
2793
2804
  return r.concat(s || Array.prototype.slice.call(e));
2794
2805
  }
2795
- function $g(r) {
2806
+ function Fg(r) {
2796
2807
  var e = function(i) {
2797
2808
  Error.call(i), i.stack = new Error().stack;
2798
2809
  }, t = r(e);
2799
2810
  return t.prototype = Object.create(Error.prototype), t.prototype.constructor = t, t;
2800
2811
  }
2801
- var me = $g(function(r) {
2812
+ var Ae = Fg(function(r) {
2802
2813
  return function(t) {
2803
2814
  r(this), this.message = t ? t.length + ` errors occurred during unsubscription:
2804
2815
  ` + t.map(function(i, n) {
@@ -2807,13 +2818,13 @@ var me = $g(function(r) {
2807
2818
  `) : "", this.name = "UnsubscriptionError", this.errors = t;
2808
2819
  };
2809
2820
  });
2810
- function Rt(r, e) {
2821
+ function Gt(r, e) {
2811
2822
  if (r) {
2812
2823
  var t = r.indexOf(e);
2813
2824
  0 <= t && r.splice(t, 1);
2814
2825
  }
2815
2826
  }
2816
- var Ke = function() {
2827
+ var Ye = function() {
2817
2828
  function r(e) {
2818
2829
  this.initialTeardown = e, this.closed = !1, this._parentage = null, this._finalizers = null;
2819
2830
  }
@@ -2825,7 +2836,7 @@ var Ke = function() {
2825
2836
  if (a)
2826
2837
  if (this._parentage = null, Array.isArray(a))
2827
2838
  try {
2828
- for (var o = Mt(a), l = o.next(); !l.done; l = o.next()) {
2839
+ for (var o = Bt(a), l = o.next(); !l.done; l = o.next()) {
2829
2840
  var c = l.value;
2830
2841
  c.remove(this);
2831
2842
  }
@@ -2841,22 +2852,22 @@ var Ke = function() {
2841
2852
  else
2842
2853
  a.remove(this);
2843
2854
  var d = this.initialTeardown;
2844
- if (P(d))
2855
+ if (M(d))
2845
2856
  try {
2846
2857
  d();
2847
2858
  } catch (f) {
2848
- s = f instanceof me ? f.errors : [f];
2859
+ s = f instanceof Ae ? f.errors : [f];
2849
2860
  }
2850
2861
  var g = this._finalizers;
2851
2862
  if (g) {
2852
2863
  this._finalizers = null;
2853
2864
  try {
2854
- for (var h = Mt(g), y = h.next(); !y.done; y = h.next()) {
2855
- var _ = y.value;
2865
+ for (var h = Bt(g), y = h.next(); !y.done; y = h.next()) {
2866
+ var m = y.value;
2856
2867
  try {
2857
- Bt(_);
2868
+ zt(m);
2858
2869
  } catch (f) {
2859
- s = s ?? [], f instanceof me ? s = Ne(Ne([], we(s)), we(f.errors)) : s.push(f);
2870
+ s = s ?? [], f instanceof Ae ? s = Le(Le([], Oe(s)), Oe(f.errors)) : s.push(f);
2860
2871
  }
2861
2872
  }
2862
2873
  } catch (f) {
@@ -2870,13 +2881,13 @@ var Ke = function() {
2870
2881
  }
2871
2882
  }
2872
2883
  if (s)
2873
- throw new me(s);
2884
+ throw new Ae(s);
2874
2885
  }
2875
2886
  }, r.prototype.add = function(e) {
2876
2887
  var t;
2877
2888
  if (e && e !== this)
2878
2889
  if (this.closed)
2879
- Bt(e);
2890
+ zt(e);
2880
2891
  else {
2881
2892
  if (e instanceof r) {
2882
2893
  if (e.closed || e._hasParent(this))
@@ -2893,50 +2904,50 @@ var Ke = function() {
2893
2904
  this._parentage = Array.isArray(t) ? (t.push(e), t) : t ? [t, e] : e;
2894
2905
  }, r.prototype._removeParent = function(e) {
2895
2906
  var t = this._parentage;
2896
- t === e ? this._parentage = null : Array.isArray(t) && Rt(t, e);
2907
+ t === e ? this._parentage = null : Array.isArray(t) && Gt(t, e);
2897
2908
  }, r.prototype.remove = function(e) {
2898
2909
  var t = this._finalizers;
2899
- t && Rt(t, e), e instanceof r && e._removeParent(this);
2910
+ t && Gt(t, e), e instanceof r && e._removeParent(this);
2900
2911
  }, r.EMPTY = function() {
2901
2912
  var e = new r();
2902
2913
  return e.closed = !0, e;
2903
2914
  }(), r;
2904
2915
  }();
2905
- Ke.EMPTY;
2906
- function Eg(r) {
2907
- return r instanceof Ke || r && "closed" in r && P(r.remove) && P(r.add) && P(r.unsubscribe);
2916
+ Ye.EMPTY;
2917
+ function $g(r) {
2918
+ return r instanceof Ye || r && "closed" in r && M(r.remove) && M(r.add) && M(r.unsubscribe);
2908
2919
  }
2909
- function Bt(r) {
2910
- P(r) ? r() : r.unsubscribe();
2920
+ function zt(r) {
2921
+ M(r) ? r() : r.unsubscribe();
2911
2922
  }
2912
- var Fg = {
2923
+ var Tg = {
2913
2924
  useDeprecatedNextContext: !1
2914
- }, Tg = {
2925
+ }, Ng = {
2915
2926
  setTimeout: function(r, e) {
2916
2927
  for (var t = [], i = 2; i < arguments.length; i++)
2917
2928
  t[i - 2] = arguments[i];
2918
- return setTimeout.apply(void 0, Ne([r, e], we(t)));
2929
+ return setTimeout.apply(void 0, Le([r, e], Oe(t)));
2919
2930
  },
2920
2931
  clearTimeout: function(r) {
2921
2932
  return clearTimeout(r);
2922
2933
  },
2923
2934
  delegate: void 0
2924
2935
  };
2925
- function wg(r) {
2926
- Tg.setTimeout(function() {
2936
+ function Dg(r) {
2937
+ Ng.setTimeout(function() {
2927
2938
  throw r;
2928
2939
  });
2929
2940
  }
2930
- function zt() {
2941
+ function jt() {
2931
2942
  }
2932
- var dr = function(r) {
2933
- Ve(e, r);
2943
+ var fr = function(r) {
2944
+ qe(e, r);
2934
2945
  function e(t) {
2935
2946
  var i = r.call(this) || this;
2936
- return i.isStopped = !1, t ? (i.destination = t, Eg(t) && t.add(i)) : i.destination = Ig, i;
2947
+ return i.isStopped = !1, t ? (i.destination = t, $g(t) && t.add(i)) : i.destination = Ig, i;
2937
2948
  }
2938
2949
  return e.create = function(t, i, n) {
2939
- return new Og(t, i, n);
2950
+ return new Lg(t, i, n);
2940
2951
  }, e.prototype.next = function(t) {
2941
2952
  this.isStopped || this._next(t);
2942
2953
  }, e.prototype.error = function(t) {
@@ -2960,11 +2971,11 @@ var dr = function(r) {
2960
2971
  this.unsubscribe();
2961
2972
  }
2962
2973
  }, e;
2963
- }(Ke), Ng = Function.prototype.bind;
2964
- function _e(r, e) {
2965
- return Ng.call(r, e);
2974
+ }(Ye), wg = Function.prototype.bind;
2975
+ function Se(r, e) {
2976
+ return wg.call(r, e);
2966
2977
  }
2967
- var Dg = function() {
2978
+ var Og = function() {
2968
2979
  function r(e) {
2969
2980
  this.partialObserver = e;
2970
2981
  }
@@ -2974,7 +2985,7 @@ var Dg = function() {
2974
2985
  try {
2975
2986
  t.next(e);
2976
2987
  } catch (i) {
2977
- ee(i);
2988
+ ne(i);
2978
2989
  }
2979
2990
  }, r.prototype.error = function(e) {
2980
2991
  var t = this.partialObserver;
@@ -2982,24 +2993,24 @@ var Dg = function() {
2982
2993
  try {
2983
2994
  t.error(e);
2984
2995
  } catch (i) {
2985
- ee(i);
2996
+ ne(i);
2986
2997
  }
2987
2998
  else
2988
- ee(e);
2999
+ ne(e);
2989
3000
  }, r.prototype.complete = function() {
2990
3001
  var e = this.partialObserver;
2991
3002
  if (e.complete)
2992
3003
  try {
2993
3004
  e.complete();
2994
3005
  } catch (t) {
2995
- ee(t);
3006
+ ne(t);
2996
3007
  }
2997
3008
  }, r;
2998
- }(), Og = function(r) {
2999
- Ve(e, r);
3009
+ }(), Lg = function(r) {
3010
+ qe(e, r);
3000
3011
  function e(t, i, n) {
3001
3012
  var s = r.call(this) || this, a;
3002
- if (P(t) || !t)
3013
+ if (M(t) || !t)
3003
3014
  a = {
3004
3015
  next: t ?? void 0,
3005
3016
  error: i ?? void 0,
@@ -3007,38 +3018,38 @@ var Dg = function() {
3007
3018
  };
3008
3019
  else {
3009
3020
  var o;
3010
- s && Fg.useDeprecatedNextContext ? (o = Object.create(t), o.unsubscribe = function() {
3021
+ s && Tg.useDeprecatedNextContext ? (o = Object.create(t), o.unsubscribe = function() {
3011
3022
  return s.unsubscribe();
3012
3023
  }, a = {
3013
- next: t.next && _e(t.next, o),
3014
- error: t.error && _e(t.error, o),
3015
- complete: t.complete && _e(t.complete, o)
3024
+ next: t.next && Se(t.next, o),
3025
+ error: t.error && Se(t.error, o),
3026
+ complete: t.complete && Se(t.complete, o)
3016
3027
  }) : a = t;
3017
3028
  }
3018
- return s.destination = new Dg(a), s;
3029
+ return s.destination = new Og(a), s;
3019
3030
  }
3020
3031
  return e;
3021
- }(dr);
3022
- function ee(r) {
3023
- wg(r);
3032
+ }(fr);
3033
+ function ne(r) {
3034
+ Dg(r);
3024
3035
  }
3025
- function Lg(r) {
3036
+ function Pg(r) {
3026
3037
  throw r;
3027
3038
  }
3028
3039
  var Ig = {
3029
3040
  closed: !0,
3030
- next: zt,
3031
- error: Lg,
3032
- complete: zt
3041
+ next: jt,
3042
+ error: Pg,
3043
+ complete: jt
3033
3044
  };
3034
- function Pg(r) {
3045
+ function Mg(r) {
3035
3046
  return r;
3036
3047
  }
3037
- function gr(r, e, t, i, n) {
3038
- return new Mg(r, e, t, i, n);
3048
+ function pr(r, e, t, i, n) {
3049
+ return new Rg(r, e, t, i, n);
3039
3050
  }
3040
- var Mg = function(r) {
3041
- Ve(e, r);
3051
+ var Rg = function(r) {
3052
+ qe(e, r);
3042
3053
  function e(t, i, n, s, a, o) {
3043
3054
  var l = r.call(this, t) || this;
3044
3055
  return l.onFinalize = a, l.shouldUnsubscribe = o, l._next = i ? function(c) {
@@ -3072,19 +3083,19 @@ var Mg = function(r) {
3072
3083
  r.prototype.unsubscribe.call(this), !i && ((t = this.onFinalize) === null || t === void 0 || t.call(this));
3073
3084
  }
3074
3085
  }, e;
3075
- }(dr);
3076
- function Rg(r, e) {
3077
- return cr(function(t, i) {
3086
+ }(fr);
3087
+ function Bg(r, e) {
3088
+ return hr(function(t, i) {
3078
3089
  var n = 0;
3079
- t.subscribe(gr(i, function(s) {
3090
+ t.subscribe(pr(i, function(s) {
3080
3091
  i.next(r.call(e, s, n++));
3081
3092
  }));
3082
3093
  });
3083
3094
  }
3084
- function Bg(r, e) {
3085
- return e === void 0 && (e = Pg), r = r ?? zg, cr(function(t, i) {
3095
+ function Gg(r, e) {
3096
+ return e === void 0 && (e = Mg), r = r ?? zg, hr(function(t, i) {
3086
3097
  var n, s = !0;
3087
- t.subscribe(gr(i, function(a) {
3098
+ t.subscribe(pr(i, function(a) {
3088
3099
  var o = e(a);
3089
3100
  (s || !r(n, o)) && (s = !1, n = o, i.next(a));
3090
3101
  }));
@@ -3093,7 +3104,7 @@ function Bg(r, e) {
3093
3104
  function zg(r, e) {
3094
3105
  return r === e;
3095
3106
  }
3096
- class Gg extends mr {
3107
+ class jg extends Cr {
3097
3108
  constructor(e) {
3098
3109
  super(e);
3099
3110
  }
@@ -3108,8 +3119,8 @@ class Gg extends mr {
3108
3119
  */
3109
3120
  selectStore(e) {
3110
3121
  return this.pipe(
3111
- Rg(e),
3112
- Bg((t, i) => u.isEqual(t, i))
3122
+ Bg(e),
3123
+ Gg((t, i) => u.isEqual(t, i))
3113
3124
  );
3114
3125
  }
3115
3126
  /**
@@ -3117,7 +3128,7 @@ class Gg extends mr {
3117
3128
  */
3118
3129
  clear() {
3119
3130
  this.next({
3120
- selection: new hr(),
3131
+ selection: void 0,
3121
3132
  items: { node: [], edge: [] },
3122
3133
  changes: void 0,
3123
3134
  animation: !1
@@ -3126,8 +3137,8 @@ class Gg extends mr {
3126
3137
  }
3127
3138
  class Ug {
3128
3139
  constructor(e) {
3129
- this._store = new Gg({
3130
- selection: new hr(),
3140
+ this._store = new jg({
3141
+ selection: void 0,
3131
3142
  items: { node: [], edge: [] },
3132
3143
  changes: void 0,
3133
3144
  animation: !1
@@ -3165,6 +3176,10 @@ class Ug {
3165
3176
  this._store.dispatch(this.storeItems.bind(this));
3166
3177
  }), this._ogma.events.on("removeEdges", () => {
3167
3178
  this._store.dispatch(this.storeItems.bind(this));
3179
+ }), this._ogma.events.on("geoDisabled", () => {
3180
+ this._store.dispatch(this.storeItems.bind(this));
3181
+ }), this._ogma.events.on("geoEnabled", () => {
3182
+ this._store.dispatch(this.storeItems.bind(this));
3168
3183
  }), this._ogma.events.on("nodesSelected", () => {
3169
3184
  this._store.dispatch(this.storeNodeSelection.bind(this));
3170
3185
  }), this._ogma.events.on("edgesSelected", () => {
@@ -3228,19 +3243,8 @@ class Ug {
3228
3243
  };
3229
3244
  }
3230
3245
  }
3231
- class hr {
3232
- constructor() {
3233
- this.size = 0, this.isNode = !0;
3234
- }
3235
- }
3236
- const jg = 750, kg = {
3237
- steps: 40,
3238
- alignSiblings: !0,
3239
- charge: 5,
3240
- theta: 0.34,
3241
- duration: jg
3242
- };
3243
- class Xg extends vr {
3246
+ const Vg = 750;
3247
+ class Zg extends mr {
3244
3248
  constructor(e, t) {
3245
3249
  super(e), this._configuration = e, Object.setPrototypeOf(this, new.target.prototype), this.initOgmaLinkuriousParser(!0, t);
3246
3250
  }
@@ -3267,7 +3271,7 @@ class Xg extends vr {
3267
3271
  enabled: !1
3268
3272
  }
3269
3273
  }
3270
- }), this._reactive === void 0 ? (this._reactive = new Ug(this), this.store = this._reactive.store) : this._reactive.listenToSelectionEvents(), this.initSelection(), this.setConfigOgma(this._configuration, e, t), this.LKTransformation = new qg(this), this.LkNodeGroupingTransformation = new Vg(this), this.LKStyles.setNodesDefaultHalo(), this.LKStyles.setEdgesDefaultHalo(), this.LKStyles.setBadgeRule(), this.LKStyles.setFilterClass();
3274
+ }), this._reactive === void 0 ? (this._reactive = new Ug(this), this.store = this._reactive.store) : this._reactive.listenToSelectionEvents(), this.initSelection(), this.setConfigOgma(this._configuration, e, t), this.LKTransformation = new Kg(this), this.LkNodeGroupingTransformation = new X(this), this.LKStyles.setNodesDefaultHalo(), this.LKStyles.setEdgesDefaultHalo(), this.LKStyles.setBadgeRule(), this.LKStyles.setFilterClass();
3271
3275
  }
3272
3276
  /**
3273
3277
  * Initialize selection behavior
@@ -3293,7 +3297,7 @@ class Xg extends vr {
3293
3297
  setCaptions(e) {
3294
3298
  var n, s, a, o, l, c, d, g;
3295
3299
  const t = (o = (a = (s = (n = e == null ? void 0 : e.options) == null ? void 0 : n.styles) == null ? void 0 : s.node) == null ? void 0 : a.text) == null ? void 0 : o.maxTextLength, i = (g = (d = (c = (l = e == null ? void 0 : e.options) == null ? void 0 : l.styles) == null ? void 0 : c.edge) == null ? void 0 : d.text) == null ? void 0 : g.maxTextLength;
3296
- this.LKCaptions = new Ag(this, t, i);
3300
+ this.LKCaptions = new xg(this, t, i);
3297
3301
  }
3298
3302
  /**
3299
3303
  * Returns Ogma Layout parameters according to visualization layout settings
@@ -3301,7 +3305,7 @@ class Xg extends vr {
3301
3305
  getForceLayoutParams(e, t = 0) {
3302
3306
  let i = 300 - 0.052 * this.getNodes().size;
3303
3307
  return i < 40 && (i = 40), {
3304
- steps: e === yr.FAST ? i : 300,
3308
+ steps: e === _r.FAST ? i : 300,
3305
3309
  alignSiblings: this.getNodes().size > 3,
3306
3310
  duration: t,
3307
3311
  charge: 20,
@@ -3413,7 +3417,7 @@ class Xg extends vr {
3413
3417
  }), this.setStyles(this._configuration, i), this.setCaptions(this._configuration);
3414
3418
  }
3415
3419
  }
3416
- const Ce = {
3420
+ const xe = {
3417
3421
  lightsalmon: { hex: "#FFA07A", rgb: "rbg(255,160,122)" },
3418
3422
  salmon: { hex: "#FA8072", rgb: "rgb(250,128,114)" },
3419
3423
  darksalmon: { hex: "#E9967A", rgb: "rgb(233,150,122)" },
@@ -3553,8 +3557,15 @@ const Ce = {
3553
3557
  sienna: { hex: "#A0522D", rgb: "rgb(160,82,45)" },
3554
3558
  brown: { hex: "#A52A2A", rgb: "rgb(165,42,42)" },
3555
3559
  maroon: { hex: "#800000", rgb: "rgb(128,0,0)" }
3560
+ }, kg = {
3561
+ steps: 250,
3562
+ alignSiblings: !0,
3563
+ charge: 20,
3564
+ theta: 0.34,
3565
+ duration: Vg,
3566
+ gravity: 0.0475
3556
3567
  };
3557
- class ne {
3568
+ class D {
3558
3569
  /**
3559
3570
  * Get the amount of hidden neighbors from a list of nodes
3560
3571
  *
@@ -3595,8 +3606,8 @@ class ne {
3595
3606
  e.length < 5 && (e += e.slice(1)), e = e.replace("#", "");
3596
3607
  const c = parseInt(e[0].toString() + e[1].toString(), 16), d = parseInt(e[2].toString() + e[3].toString(), 16), g = parseInt(e[4].toString() + e[5].toString(), 16);
3597
3608
  s = `rgb(${c}, ${d}, ${g})`;
3598
- } else if (i.test(e) || n.test(e) || Ce[e.toLowerCase()] !== void 0)
3599
- s = u.isDefined(Ce[e.toLowerCase()]) ? Ce[e.toLowerCase()].rgb : e;
3609
+ } else if (i.test(e) || n.test(e) || xe[e.toLowerCase()] !== void 0)
3610
+ s = u.isDefined(xe[e.toLowerCase()]) ? xe[e.toLowerCase()].rgb : e;
3600
3611
  else
3601
3612
  return !0;
3602
3613
  const [a, o, l] = /rgba?\((\d{1,3}),(\d{1,3}),(\d{1,3})(,\d{1,3})?\)/.exec(s.replace(/\s/g, "")).slice(1, 4);
@@ -3608,15 +3619,24 @@ class ne {
3608
3619
  static isNodeList(e) {
3609
3620
  return e.isNode;
3610
3621
  }
3622
+ /**
3623
+ * Transform a nodelist to an array of node ids sorted by position in a chain and the length of the chain
3624
+ * A chain is: (a)-(b)-(c)-(d)
3625
+ */
3611
3626
  static topologicalSort(e) {
3612
- let i = e.toArray().find((a) => a.getDegree() === 1);
3613
- const n = /* @__PURE__ */ new Set(), s = [];
3614
- for (; i; ) {
3615
- s.push(i), n.add(i);
3616
- const a = i.getAdjacentNodes().filter((o) => !n.has(o)).get(0);
3617
- i = a === void 0 ? null : a;
3618
- }
3619
- return s.map((a) => a.getId());
3627
+ const i = e.toArray().filter((a) => a.getDegree() === 1), n = /* @__PURE__ */ new Set(), s = [];
3628
+ return i.forEach((a) => {
3629
+ let o = a;
3630
+ if (n.has(o))
3631
+ return;
3632
+ const l = [];
3633
+ for (; o; ) {
3634
+ l.push(o), n.add(o);
3635
+ const c = o.getAdjacentNodes().filter((d) => !n.has(d)).get(0);
3636
+ o = c === void 0 ? null : c;
3637
+ }
3638
+ s.push(l);
3639
+ }), s.sort((a, o) => o.length - a.length), { chain: s.flat().map((a) => a.getId()), numberOfChain: i.length / 2 };
3620
3640
  }
3621
3641
  static isStar(e) {
3622
3642
  for (const t of e.toArray()) {
@@ -3625,11 +3645,20 @@ class ne {
3625
3645
  }
3626
3646
  return !1;
3627
3647
  }
3648
+ /**
3649
+ * Return true if the group is collapsed
3650
+ */
3651
+ static isGroupCollapsed(e) {
3652
+ return e.getData("collapsed");
3653
+ }
3654
+ static setCollapsedGroupProperty(e, t) {
3655
+ e.setData("collapsed", t);
3656
+ }
3628
3657
  }
3629
- const De = "LKE_NODE_GROUPING_EDGE", Hg = "LKE_NODE_GROUPING_NODE";
3630
- class Vg {
3658
+ const Pe = "LKE_NODE_GROUPING_EDGE";
3659
+ class X {
3631
3660
  constructor(e) {
3632
- this._ogma = e;
3661
+ this._collapsedDefaultValue = !1, this._nodeGroupingAttributes = [], this._ogma = e;
3633
3662
  }
3634
3663
  /**
3635
3664
  * Set the grouping rule
@@ -3645,26 +3674,35 @@ class Vg {
3645
3674
  */
3646
3675
  async initTransformation() {
3647
3676
  this.transformation === void 0 ? this.transformation = this._ogma.transformations.addNodeGrouping({
3677
+ // node with same value will be part of the same group
3648
3678
  groupIdFunction: (e) => {
3649
- var t;
3650
- if (!this._isRuleNotApplicableToNode(e)) {
3651
- const i = this._findGroupingPropertyValue(e);
3652
- return `${(t = this.groupRule) == null ? void 0 : t.groupingOptions.itemTypes.join("-")}-${i}`.toLowerCase().trim();
3653
- }
3679
+ if (this._isRuleNotApplicableToNode(e))
3680
+ return;
3681
+ const t = this.groupRule;
3682
+ return t.groupingType === Y.BY_ADJACENT_EDGE_TYPE ? this._getAdjacentEdgeGroupId(e, t) : this._getPropertyValueGroupId(e, t);
3654
3683
  },
3655
- nodeGenerator: (e) => ({
3656
- data: {
3657
- categories: [Hg],
3658
- properties: {},
3659
- nodeGroupId: this._findNodeGroupId(e)
3660
- }
3661
- }),
3684
+ nodeGenerator: (e) => {
3685
+ const t = new Set(e.getData("categories").flat()), i = this._findNodeGroupId(e);
3686
+ return {
3687
+ data: {
3688
+ categories: [],
3689
+ subCategories: Array.from(t),
3690
+ collapsed: this._getDefaultCollapsedState(i),
3691
+ nodeGroupId: i
3692
+ },
3693
+ attributes: {
3694
+ layoutable: this._getDefaultLayoutableValue(i)
3695
+ }
3696
+ };
3697
+ },
3698
+ onGroupUpdate: async (e, t) => await this.runSubNodesLayout(t),
3662
3699
  edgeGenerator: () => ({
3663
3700
  data: {
3664
- type: De
3701
+ type: Pe
3665
3702
  }
3666
3703
  }),
3667
- showContents: !0,
3704
+ showContents: (e) => !D.isGroupCollapsed(e),
3705
+ duration: 300,
3668
3706
  padding: 10
3669
3707
  }) : await this.refreshTransformation();
3670
3708
  }
@@ -3679,7 +3717,7 @@ class Vg {
3679
3717
  * init node grouping style
3680
3718
  */
3681
3719
  initNodeGroupingStyle() {
3682
- this.nodeGroupingStyleRule = this._ogma.styles.addRule({
3720
+ this._nodeGroupingStyleRule = this._ogma.styles.addRule({
3683
3721
  nodeAttributes: {
3684
3722
  // Any default style will go here
3685
3723
  text: {
@@ -3693,26 +3731,83 @@ class Vg {
3693
3731
  width: 2
3694
3732
  }
3695
3733
  },
3696
- nodeSelector: (e) => e.isVirtual() && u.isDefined(e.getSubNodes()),
3734
+ nodeSelector: (e) => e.isVirtual() && !D.isGroupCollapsed(e),
3697
3735
  // the style will be updated when data object is updated
3698
3736
  nodeDependencies: { self: { data: !0 } }
3737
+ }), this._initIntermediateGroupStyle(), this._nodeGroupingCollapsedStyleRule = this._ogma.styles.addRule({
3738
+ nodeAttributes: {
3739
+ text: {
3740
+ content: (e) => this._getNodeGroupingCaption(e),
3741
+ style: "bold"
3742
+ },
3743
+ halo: {
3744
+ width: 4,
3745
+ color: "#e4ebea",
3746
+ strokeColor: "#ccc"
3747
+ },
3748
+ badges: {
3749
+ bottomLeft: (e) => {
3750
+ var i;
3751
+ const t = (i = e.getSubNodes().filter((n) => !n.hasClass("filtered"))) == null ? void 0 : i.size;
3752
+ return {
3753
+ color: "#3F3D5F",
3754
+ minVisibleSize: 20,
3755
+ stroke: {
3756
+ width: 2,
3757
+ color: "#FFFFFF"
3758
+ },
3759
+ text: {
3760
+ font: u.isDefined(this._ogma.LKStyles.nodeFont) ? this._ogma.LKStyles.nodeFont : gr,
3761
+ scale: 0.4,
3762
+ color: Z,
3763
+ content: `x${t}`
3764
+ }
3765
+ };
3766
+ },
3767
+ topLeft: () => ({
3768
+ color: "#3F3D5F",
3769
+ minVisibleSize: 20,
3770
+ stroke: {
3771
+ width: 2,
3772
+ color: "#FFFFFF"
3773
+ },
3774
+ text: {
3775
+ font: "FontAwesome",
3776
+ scale: 0.4,
3777
+ color: Z,
3778
+ content: ""
3779
+ }
3780
+ })
3781
+ },
3782
+ color: (e) => {
3783
+ if (e !== void 0)
3784
+ return this._ogma.LKStyles.nodeAttributes.color({
3785
+ geo: {},
3786
+ isVirtual: !1,
3787
+ properties: {},
3788
+ readAt: 0,
3789
+ categories: e.getData("subCategories")
3790
+ });
3791
+ },
3792
+ icon: (e) => {
3793
+ const t = e == null ? void 0 : e.getData("subCategories");
3794
+ if (!(!u.isDefined(e) || t.length > 1))
3795
+ return this._ogma.LKStyles.nodeAttributes.icon({
3796
+ geo: {},
3797
+ isVirtual: !1,
3798
+ properties: {},
3799
+ readAt: 0,
3800
+ categories: t
3801
+ }).icon;
3802
+ }
3803
+ },
3804
+ nodeSelector: (e) => e.isVirtual() && D.isGroupCollapsed(e) && !e.hasClass("filtered"),
3805
+ nodeDependencies: { self: { attributes: ["styleRefreshIndex"] } }
3699
3806
  });
3700
3807
  }
3701
3808
  async refreshNodeGroupingStyle() {
3702
- var e;
3703
- await ((e = this.nodeGroupingStyleRule) == null ? void 0 : e.refresh());
3704
- }
3705
- /**
3706
- * run layout on all subnodes of virtual nodes
3707
- */
3708
- async runLayoutOnAllSubNodes() {
3709
- await this._ogma.transformations.afterNextUpdate();
3710
- const e = this._getAllTransformationRawNodes(), t = [];
3711
- for (let i = 0; i < e.length; i++) {
3712
- const n = e[i];
3713
- t.push(this.runSubNodesLayout(n));
3714
- }
3715
- await Promise.all(t);
3809
+ var e, t;
3810
+ await ((e = this._nodeGroupingStyleRule) == null ? void 0 : e.refresh()), await ((t = this._nodeGroupingCollapsedStyleRule) == null ? void 0 : t.refresh());
3716
3811
  }
3717
3812
  /**
3718
3813
  * Run the layout on the subnodes of the virtual node
@@ -3721,24 +3816,22 @@ class Vg {
3721
3816
  async runSubNodesLayout(e) {
3722
3817
  if (e.size === 0 || e.size === 1)
3723
3818
  return;
3724
- if (e.size === 2) {
3725
- await this._runTwoNodesLayout(e);
3726
- return;
3727
- }
3819
+ if (e.size === 2)
3820
+ return this._runTwoNodesLayout(e);
3728
3821
  if (e.getAdjacentEdges({ bothExtremities: !0 }).size === 0) return this._runCirclePack(e);
3729
- const i = this.isStar(e);
3822
+ const i = D.isStar(e);
3730
3823
  if (i) {
3731
- const s = e.filter((l) => l !== i), a = this._runCircularLayout({
3732
- radii: s.getAttribute("radius"),
3824
+ const o = e.filter((c) => c !== i), l = this._runCircularLayout({
3825
+ radii: o.getAttribute("radius"),
3733
3826
  cx: i.getAttribute("x"),
3734
3827
  cy: i.getAttribute("y"),
3735
3828
  clockwise: !1,
3736
3829
  distanceRatio: 5
3737
3830
  });
3738
- await i.toList().concat(s).setAttributes([i.getPosition(), ...a]);
3739
- return;
3831
+ return [i.getPosition(), ...l];
3740
3832
  }
3741
- if (e.getDegree().every((s) => s > 0 && s <= 2)) {
3833
+ const n = e.getDegree(), s = n.every((o) => o === 1 || o === 2), a = n.some((o) => o === 1);
3834
+ if (s && a) {
3742
3835
  await this._runChainLayout(e);
3743
3836
  return;
3744
3837
  }
@@ -3752,46 +3845,61 @@ class Vg {
3752
3845
  return this.transformation.getContext().metaNodes;
3753
3846
  }
3754
3847
  /**
3755
- * Set the node group pin
3848
+ * Set node initial attributes
3756
3849
  * @param nodeGroups object containing the node group id and the layoutable attribute
3757
3850
  */
3758
- async setNodeGroupPin(e) {
3759
- this._ogma.getNodes().filter((t) => t.isVirtual()).forEach((t) => {
3760
- const i = e.find(
3761
- (n) => n.id === t.getData("nodeGroupId")
3762
- );
3763
- i !== void 0 && t.setAttribute("layoutable", i.attributes.layoutable ?? !1);
3764
- });
3851
+ setNodeGroupingAttributes(e) {
3852
+ this._nodeGroupingAttributes = e;
3853
+ }
3854
+ /**
3855
+ * set collapse default value, this will be the state of newly created groups
3856
+ */
3857
+ setCollapseDefaultValue(e) {
3858
+ this._collapsedDefaultValue = e;
3765
3859
  }
3766
3860
  /**
3767
3861
  * Return the caption of a virtual node
3768
3862
  * @param node reference to the virtual node
3769
3863
  */
3770
3864
  _getNodeGroupingCaption(e) {
3771
- var t;
3772
- if (e !== void 0 && e.isVirtual() && ((t = e.getSubNodes()) == null ? void 0 : t.get(0)) !== void 0) {
3773
- const i = e.getSubNodes().get(0).getData(["properties", this.groupRule.groupingOptions.propertyKey]), n = u.getValueFromLkProperty(i), s = e.getSubNodes().filter((a) => !a.hasClass("filtered")).size;
3774
- return `${n} (${s})`;
3865
+ if (!(!u.isDefined(e) || !u.isDefined(this.groupRule)))
3866
+ return this.groupRule.groupingType === Y.BY_ADJACENT_EDGE_TYPE ? this._getAdjacentEdgeNodeGroupingCaption(e, this.groupRule) : this._getPropertyValueNodeGroupingCaption(e, this.groupRule);
3867
+ }
3868
+ _getAdjacentEdgeNodeGroupingCaption(e, t) {
3869
+ const i = e.getSubNodes();
3870
+ return !u.isDefined(i) || !u.isDefined(i.get(0)) ? void 0 : X._getGroupCentralNode(i.get(0), t).getData(["properties", "name"]);
3871
+ }
3872
+ _getPropertyValueNodeGroupingCaption(e, t) {
3873
+ var i;
3874
+ if (e.isVirtual() && ((i = e.getSubNodes()) == null ? void 0 : i.get(0)) !== void 0) {
3875
+ const n = e.getSubNodes().get(0).getData(["properties", t.groupingOptions.propertyKey]), s = u.getValueFromLkProperty(n), a = e.getSubNodes().filter((o) => !o.hasClass("filtered")).size;
3876
+ return `${s} (${a})`;
3775
3877
  }
3776
3878
  }
3777
3879
  /**
3778
3880
  * Run the circle pack layout on the subnodes
3779
3881
  * @param subNodes
3780
3882
  */
3781
- async _runCirclePack(e) {
3782
- await this._ogma.algorithms.circlePack({
3783
- nodes: e,
3784
- margin: 10,
3785
- sort: "asc"
3786
- });
3883
+ _runCirclePack(e) {
3884
+ return Promise.resolve(
3885
+ this._ogma.algorithms.circlePack({
3886
+ nodes: e,
3887
+ margin: 10,
3888
+ sort: "asc",
3889
+ dryRun: !0
3890
+ })
3891
+ );
3787
3892
  }
3893
+ /**
3894
+ * return a grid layout when nodes are represented by multiple chains (a)-(b)-(c)-(d)
3895
+ */
3788
3896
  async _runChainLayout(e) {
3789
- const t = this._ogma.getNodes(ne.topologicalSort(e));
3897
+ const t = D.topologicalSort(e), i = this._ogma.getNodes(t.chain);
3790
3898
  await this._ogma.layouts.grid({
3791
- nodes: t,
3899
+ nodes: i,
3792
3900
  // TODO: test that visually
3793
3901
  colDistance: Math.max(...e.getAttribute("radius").map(Number)) * 4,
3794
- rows: 1
3902
+ rows: t.numberOfChain ?? 1
3795
3903
  });
3796
3904
  }
3797
3905
  async _runForceLayout(e) {
@@ -3801,19 +3909,27 @@ class Vg {
3801
3909
  });
3802
3910
  }
3803
3911
  _isRuleNotApplicableToNode(e) {
3804
- var i;
3805
- const t = e.getData([
3806
- "properties",
3807
- ((i = this.groupRule) == null ? void 0 : i.groupingOptions.propertyKey) ?? ""
3808
- ]);
3912
+ const t = this.groupRule;
3913
+ return t === void 0 ? !0 : t.groupingType === Y.BY_PROPERTY_VALUE ? this._isPropertyRuleNotApplicableToNode(e, t) : t.groupingType === Y.BY_ADJACENT_EDGE_TYPE ? this._isRelationshipRuleNotApplicableToNode(e, t) : !0;
3914
+ }
3915
+ _isRelationshipRuleNotApplicableToNode(e, t) {
3916
+ return !this.hasEdgeOfType(e, t.groupingOptions.edgeType);
3917
+ }
3918
+ hasEdgeOfType(e, t) {
3919
+ let i = !1;
3920
+ return e.getAdjacentEdges().forEach((n) => {
3921
+ n.getData("type") === t && (i = !0);
3922
+ }), i;
3923
+ }
3924
+ _isPropertyRuleNotApplicableToNode(e, t) {
3925
+ const i = e.getData(["properties", t.groupingOptions.propertyKey ?? ""]);
3809
3926
  return (
3810
- // if the group rule is not defined
3811
- this.groupRule === void 0 || // if rule is applied to a different category
3812
- this.groupRule.groupingOptions.itemTypes.every(
3927
+ // if rule is applied to a different category
3928
+ t.groupingOptions.itemTypes.every(
3813
3929
  (n) => !e.getData("categories").includes(n)
3814
3930
  ) || // if the property value is not defined
3815
- !u.isDefined(t) || // if the property value is missing
3816
- typeof t == "object" && t.status === "missing"
3931
+ !u.isDefined(i) || // if the property value is missing
3932
+ typeof i == "object" && i.status === "missing"
3817
3933
  );
3818
3934
  }
3819
3935
  /**
@@ -3837,24 +3953,29 @@ class Vg {
3837
3953
  return this.getVirtualNodesOfTransformation().getSubNodes();
3838
3954
  }
3839
3955
  _findGroupingPropertyValue(e) {
3840
- var i;
3841
- const t = e.getData([
3842
- "properties",
3843
- ((i = this.groupRule) == null ? void 0 : i.groupingOptions.propertyKey) ?? ""
3844
- ]);
3845
- return `${u.getValueFromLkProperty(t)}`;
3956
+ const t = this.groupRule, i = e.getData(["properties", t.groupingOptions.propertyKey ?? ""]);
3957
+ return `${u.getValueFromLkProperty(i)}`;
3846
3958
  }
3847
3959
  /**
3848
3960
  * Return a hashed string that represents the group id
3849
3961
  */
3850
3962
  _findNodeGroupId(e) {
3851
- var i, n;
3852
- const t = this._findGroupingPropertyValue(e.get(0));
3853
- return He(
3854
- `${(i = this.groupRule) == null ? void 0 : i.name}-${(n = this.groupRule) == null ? void 0 : n.groupingOptions.itemTypes.join(
3855
- "-"
3856
- )}-${t}`
3857
- );
3963
+ var i;
3964
+ const t = this.groupRule;
3965
+ if (t.groupingType === Y.BY_ADJACENT_EDGE_TYPE) {
3966
+ const n = X._getGroupCentralNode(e.get(0), t);
3967
+ return ue(`${(i = this.groupRule) == null ? void 0 : i.name}-${n.getId()}`);
3968
+ } else {
3969
+ const n = this._findGroupingPropertyValue(e.get(0));
3970
+ return ue(`${t.name}-${t.groupingOptions.itemTypes.join("-")}-${n}`);
3971
+ }
3972
+ }
3973
+ /**
3974
+ * For a relation type grouping rule, return the central node from one of the nodes in the group
3975
+ */
3976
+ static _getGroupCentralNode(e, t) {
3977
+ const i = e.getAdjacentEdges({ filter: "raw" }).filter((s) => s.getData("type") === t.groupingOptions.edgeType).get(0);
3978
+ return t.groupingOptions.centralNodeIs === "source" ? i.getSource() : i.getTarget();
3858
3979
  }
3859
3980
  _runCircularLayout({
3860
3981
  radii: e,
@@ -3868,31 +3989,49 @@ class Vg {
3868
3989
  const l = e.length;
3869
3990
  if (l === 0) return [];
3870
3991
  if (l === 1) return [{ x: i, y: n }];
3871
- const c = e.map(a).reduce((A, x) => Math.max(A, x), 0) * (2 + o), g = (2 * Math.PI - 2 * Math.PI / l) / Math.max(1, l - 1), h = Math.cos(g) - Math.cos(0), y = Math.sin(g) - Math.sin(0), _ = Math.sqrt(c * c / (h * h + y * y)), f = Math.max(_, 0);
3872
- return e.map((A, x) => {
3873
- const $ = s + x * g * (t ? 1 : -1), R = f * Math.cos($), v = f * Math.sin($);
3992
+ const c = e.map(a).reduce((S, x) => Math.max(S, x), 0) * (2 + o), g = (2 * Math.PI - 2 * Math.PI / l) / Math.max(1, l - 1), h = Math.cos(g) - Math.cos(0), y = Math.sin(g) - Math.sin(0), m = Math.sqrt(c * c / (h * h + y * y)), f = Math.max(m, 0);
3993
+ return e.map((S, x) => {
3994
+ const E = s + x * g * (t ? 1 : -1), B = f * Math.cos(E), v = f * Math.sin(E);
3874
3995
  return {
3875
- x: i + R,
3996
+ x: i + B,
3876
3997
  y: n + v
3877
3998
  };
3878
3999
  });
3879
4000
  }
3880
4001
  async _runTwoNodesLayout(e) {
3881
4002
  const t = e.getAttribute("radius").map(Number), i = e.getPosition(), n = Math.min(...t);
3882
- await e.setAttributes([
3883
- i[0],
3884
- { x: i[0].x + n + t[0] + t[1], y: i[0].y }
3885
- ]);
3886
- }
3887
- isStar(e) {
3888
- for (const t of e.getId()) {
3889
- const i = this._ogma.getNode(t), n = i.getAdjacentNodes();
3890
- if (i.getDegree() > 2 && n.getDegree().every((a) => a === 1) && n.size + 1 === e.size) return i;
3891
- }
3892
- return !1;
4003
+ return [i[0], { x: i[0].x + n + t[0] + t[1], y: i[0].y }];
4004
+ }
4005
+ _getPropertyValueGroupId(e, t) {
4006
+ const i = this._findGroupingPropertyValue(e);
4007
+ return `${t.groupingOptions.itemTypes.join("-")}-${i}`.toLowerCase().trim();
4008
+ }
4009
+ _getAdjacentEdgeGroupId(e, t) {
4010
+ return X._getGroupCentralNode(e, t).getId().toString();
4011
+ }
4012
+ /**
4013
+ * Initialize the style for the intermediate group state, when transitioning from expanded to collapsed
4014
+ */
4015
+ _initIntermediateGroupStyle() {
4016
+ this._ogma.styles.addRule({
4017
+ nodeAttributes: {
4018
+ color: "rgba(240, 240, 240)"
4019
+ },
4020
+ nodeSelector: (e) => e.isVirtual() && D.isGroupCollapsed(e),
4021
+ // the style will be updated when data object is updated
4022
+ nodeDependencies: { self: { data: !0 } }
4023
+ });
4024
+ }
4025
+ _getDefaultCollapsedState(e) {
4026
+ const t = this._nodeGroupingAttributes.find((i) => i.id === e);
4027
+ return u.isDefined(t) && u.isDefined(t.attributes.collapsed) ? t.attributes.collapsed : this._collapsedDefaultValue;
4028
+ }
4029
+ _getDefaultLayoutableValue(e) {
4030
+ const t = this._nodeGroupingAttributes.find((i) => i.id === e);
4031
+ return u.isDefined(t) && u.isDefined(t.attributes.layoutable) ? t.attributes.layoutable : !0;
3893
4032
  }
3894
4033
  }
3895
- const Kg = {
4034
+ const Hg = {
3896
4035
  color: "#000000",
3897
4036
  shape: {
3898
4037
  style: "dashed",
@@ -3900,7 +4039,7 @@ const Kg = {
3900
4039
  },
3901
4040
  width: 1.5
3902
4041
  };
3903
- class qg {
4042
+ class Kg {
3904
4043
  constructor(e) {
3905
4044
  this._ogma = e, this.groupedEdges = {};
3906
4045
  }
@@ -3927,11 +4066,11 @@ class qg {
3927
4066
  initEdgeGroupingStyle() {
3928
4067
  this.edgeGroupingStyleRule = this._ogma.styles.addRule({
3929
4068
  edgeAttributes: {
3930
- ...Kg,
4069
+ ...Hg,
3931
4070
  ...this.edgeGroupStyle,
3932
4071
  text: {
3933
4072
  content: (e) => {
3934
- if (e !== void 0 && e.getSubEdges() !== null && e.getData("type") !== De) {
4073
+ if (e !== void 0 && e.getSubEdges() !== null && e.getData("type") !== Pe) {
3935
4074
  const t = e.getSubEdges().filter((i) => !i.hasClass("filtered")).size;
3936
4075
  return `${e.getData(["properties", "originalType"])} (${t})`;
3937
4076
  }
@@ -3939,7 +4078,7 @@ class qg {
3939
4078
  style: "bold"
3940
4079
  }
3941
4080
  },
3942
- edgeSelector: (e) => e.isVirtual() && e.getSubEdges() && e.getSubEdges().filter((t) => !t.hasClass("filtered")).size > 0 && e.getData("type") !== De,
4081
+ edgeSelector: (e) => e.isVirtual() && e.getSubEdges() && e.getSubEdges().filter((t) => !t.hasClass("filtered")).size > 0 && e.getData("type") !== Pe,
3943
4082
  edgeDependencies: { self: { data: !0 } }
3944
4083
  });
3945
4084
  }
@@ -3947,7 +4086,7 @@ class qg {
3947
4086
  this.edgeGroupingStyleRule !== void 0 && this.edgeGroupingStyleRule.refresh();
3948
4087
  }
3949
4088
  }
3950
- const m = class m {
4089
+ const _ = class _ {
3951
4090
  /**
3952
4091
  * Returns whether the node/edge should be *filtered* (a.k.a. *hidden*).
3953
4092
  *
@@ -3960,16 +4099,16 @@ const m = class m {
3960
4099
  * @param itemData
3961
4100
  */
3962
4101
  static isFiltered(e, t) {
3963
- return u.isDefined(t) ? "categories" in t ? m.getFilterFunction(e, !0)(t) : m.getFilterFunction(e, !1)(t) : !1;
4102
+ return u.isDefined(t) ? "categories" in t ? _.getFilterFunction(e, !0)(t) : _.getFilterFunction(e, !1)(t) : !1;
3964
4103
  }
3965
4104
  static getFilterFunction(e, t) {
3966
- const i = JSON.stringify(e, null, ""), n = t ? m.nodeCache : m.edgeCache;
4105
+ const i = JSON.stringify(e, null, ""), n = t ? _.nodeCache : _.edgeCache;
3967
4106
  let s = n.get(i);
3968
- return s || (s = m.createFilterFunction(e, t), n.size > m.FILTER_CACHE_SIZE && n.clear(), n.set(i, s)), s;
4107
+ return s || (s = _.createFilterFunction(e, t), n.size > _.FILTER_CACHE_SIZE && n.clear(), n.set(i, s)), s;
3969
4108
  }
3970
4109
  static createFilterFunction(e, t) {
3971
4110
  const i = e.map(
3972
- (n) => m.filterToFilterFunction(n, t)
4111
+ (n) => _.filterToFilterFunction(n, t)
3973
4112
  );
3974
4113
  return (n) => {
3975
4114
  for (const s of i)
@@ -3980,16 +4119,16 @@ const m = class m {
3980
4119
  }
3981
4120
  static filterToFilterFunction(e, t) {
3982
4121
  switch (e.type) {
3983
- case S.ANY:
3984
- return m.createAnyFilterFunction(e, t);
3985
- case S.IS:
3986
- return m.createIsFilterFunction(e, t);
3987
- case S.NO_VALUE:
3988
- return m.createNoValueFilterFunction(e, t);
3989
- case S.RANGE:
3990
- return m.createRangeFilterFunction(e, t);
3991
- case S.NAN:
3992
- return m.createNaNFilterFunction(e, t);
4122
+ case A.ANY:
4123
+ return _.createAnyFilterFunction(e, t);
4124
+ case A.IS:
4125
+ return _.createIsFilterFunction(e, t);
4126
+ case A.NO_VALUE:
4127
+ return _.createNoValueFilterFunction(e, t);
4128
+ case A.RANGE:
4129
+ return _.createRangeFilterFunction(e, t);
4130
+ case A.NAN:
4131
+ return _.createNaNFilterFunction(e, t);
3993
4132
  }
3994
4133
  }
3995
4134
  static createAnyFilterFunction(e, t) {
@@ -4002,16 +4141,16 @@ const m = class m {
4002
4141
  return t ? (i) => i.categories.includes(e.itemType) && !u.isDefined(u.getPropertyValue(u.getIn(i, e.input), !0)) : (i) => i.type === e.itemType && !u.isDefined(u.getPropertyValue(u.getIn(i, e.input), !0));
4003
4142
  }
4004
4143
  static createNaNFilterFunction(e, t) {
4005
- return t ? (i) => i.categories.includes(e.itemType) && m.isNotANumber(u.getPropertyValue(u.getIn(i, e.input), !0)) : (i) => i.type === e.itemType && m.isNotANumber(u.getPropertyValue(u.getIn(i, e.input), !0));
4144
+ return t ? (i) => i.categories.includes(e.itemType) && _.isNotANumber(u.getPropertyValue(u.getIn(i, e.input), !0)) : (i) => i.type === e.itemType && _.isNotANumber(u.getPropertyValue(u.getIn(i, e.input), !0));
4006
4145
  }
4007
4146
  static isNotANumber(e) {
4008
4147
  return u.isDefined(e) && !u.isNumber(e);
4009
4148
  }
4010
4149
  static createRangeFilterFunction(e, t) {
4011
- return t ? (i) => i.categories.includes(e.itemType) && m.valueShouldBeHidden(
4150
+ return t ? (i) => i.categories.includes(e.itemType) && _.valueShouldBeHidden(
4012
4151
  u.getPropertyValue(u.getIn(i, e.input), !1),
4013
4152
  e.value
4014
- ) : (i) => i.type === e.itemType && m.valueShouldBeHidden(
4153
+ ) : (i) => i.type === e.itemType && _.valueShouldBeHidden(
4015
4154
  u.getPropertyValue(u.getIn(i, e.input), !1),
4016
4155
  e.value
4017
4156
  );
@@ -4031,9 +4170,9 @@ const m = class m {
4031
4170
  return Number.isNaN(i) ? !1 : t["<"] !== void 0 && i < t["<"] || t["<="] !== void 0 && i <= t["<="] || t[">"] !== void 0 && i > t[">"] || t[">="] !== void 0 && i >= t[">="];
4032
4171
  }
4033
4172
  };
4034
- m.nodeCache = /* @__PURE__ */ new Map(), m.edgeCache = /* @__PURE__ */ new Map(), m.FILTER_CACHE_SIZE = 5;
4035
- let Gt = m;
4036
- const Qg = (r) => r.selection.size, eh = (r) => {
4173
+ _.nodeCache = /* @__PURE__ */ new Map(), _.edgeCache = /* @__PURE__ */ new Map(), _.FILTER_CACHE_SIZE = 5;
4174
+ let Ut = _;
4175
+ const Xg = (r) => r.selection.size, Qg = (r) => {
4037
4176
  switch (r.selection.size) {
4038
4177
  case 1:
4039
4178
  return "selection";
@@ -4042,19 +4181,19 @@ const Qg = (r) => r.selection.size, eh = (r) => {
4042
4181
  default:
4043
4182
  return "multiSelection";
4044
4183
  }
4045
- }, th = (r) => {
4046
- if (r.selection.size !== 0)
4184
+ }, eh = (r) => {
4185
+ if (!(!u.isDefined(r.selection) || r.selection.size === 0))
4047
4186
  return r.selection.isNode ? I.NODE : I.EDGE;
4048
- }, qe = (r) => r.selection.size === 1 ? r.selection.get(0) : void 0, rh = (r) => {
4049
- const e = qe(r);
4187
+ }, We = (r) => u.isDefined(r.selection) && r.selection.size === 1 ? r.selection.get(0) : void 0, th = (r) => {
4188
+ const e = We(r);
4050
4189
  if (e !== void 0)
4051
4190
  return e.isNode ? e.getData("categories") : [e.getData("type")];
4052
- }, ih = (r) => {
4053
- const e = qe(r);
4191
+ }, rh = (r) => {
4192
+ const e = We(r);
4054
4193
  if (e !== void 0)
4055
4194
  return e.isNode ? "node" : "edge";
4056
- }, Wg = (r) => {
4057
- const e = qe(r);
4195
+ }, qg = (r) => {
4196
+ const e = We(r);
4058
4197
  if (e !== void 0) {
4059
4198
  const t = e.getData().properties;
4060
4199
  return Object.keys(t).map((i) => ({
@@ -4063,37 +4202,37 @@ const Qg = (r) => r.selection.size, eh = (r) => {
4063
4202
  }));
4064
4203
  }
4065
4204
  return [];
4066
- }, nh = (r) => Wg(r).length > 0;
4205
+ }, ih = (r) => qg(r).length > 0;
4067
4206
  export {
4068
- jg as ANIMATION_DURATION,
4069
- E as BASE_GREY,
4070
- w as Captions,
4071
- Ag as CaptionsViz,
4072
- W as EdgeAttributes,
4073
- Pt as FILTER_OPACITY,
4074
- Gt as Filters,
4075
- Ce as HTML_COLORS,
4076
- F as ItemAttributes,
4077
- De as LKE_NODE_GROUPING_EDGE,
4078
- Xg as LKOgma,
4207
+ Vg as ANIMATION_DURATION,
4208
+ F as BASE_GREY,
4209
+ N as Captions,
4210
+ xg as CaptionsViz,
4211
+ J as EdgeAttributes,
4212
+ Lt as FILTER_OPACITY,
4213
+ Ut as Filters,
4214
+ xe as HTML_COLORS,
4215
+ $ as ItemAttributes,
4216
+ Pe as LKE_NODE_GROUPING_EDGE,
4217
+ Zg as LKOgma,
4079
4218
  U as NodeAttributes,
4080
- Gg as OgmaStore,
4081
- ne as OgmaTools,
4082
- Nt as PALETTE,
4219
+ jg as OgmaStore,
4220
+ D as OgmaTools,
4221
+ Ot as PALETTE,
4083
4222
  C as StyleRule,
4084
- vg as StyleRuleType,
4223
+ mg as StyleRuleType,
4085
4224
  p as StyleRules,
4086
- D as StyleType,
4225
+ O as StyleType,
4087
4226
  Sg as StylesViz,
4088
4227
  u as Tools,
4089
- qg as TransformationsViz,
4090
- th as getSelectionEntity,
4091
- Wg as getSelectionProperties,
4092
- Qg as getSelectionSize,
4093
- eh as getSelectionState,
4094
- qe as getUniqSelection,
4095
- ih as getUniqSelectionEntity,
4096
- rh as getUniqSelectionTypes,
4097
- nh as hasSelectionProperties
4228
+ Kg as TransformationsViz,
4229
+ eh as getSelectionEntity,
4230
+ qg as getSelectionProperties,
4231
+ Xg as getSelectionSize,
4232
+ Qg as getSelectionState,
4233
+ We as getUniqSelection,
4234
+ rh as getUniqSelectionEntity,
4235
+ th as getUniqSelectionTypes,
4236
+ ih as hasSelectionProperties
4098
4237
  };
4099
4238
  //# sourceMappingURL=index.mjs.map