@weng-lab/genomebrowser 1.8.0 → 1.8.2

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.
@@ -192,7 +192,7 @@ function Zh() {
192
192
  function u(F, H, ne, ce, ge, fe) {
193
193
  var se = ne.ref;
194
194
  return F = {
195
- $$typeof: E,
195
+ $$typeof: S,
196
196
  type: F,
197
197
  key: H,
198
198
  props: ne,
@@ -274,9 +274,9 @@ React keys must be passed directly to JSX without using spread:
274
274
  d(F) ? F._store && (F._store.validated = 1) : typeof F == "object" && F !== null && F.$$typeof === A && (F._payload.status === "fulfilled" ? d(F._payload.value) && F._payload.value._store && (F._payload.value._store.validated = 1) : F._store && (F._store.validated = 1));
275
275
  }
276
276
  function d(F) {
277
- return typeof F == "object" && F !== null && F.$$typeof === E;
277
+ return typeof F == "object" && F !== null && F.$$typeof === S;
278
278
  }
279
- var h = Ve, E = Symbol.for("react.transitional.element"), T = Symbol.for("react.portal"), b = Symbol.for("react.fragment"), m = Symbol.for("react.strict_mode"), g = Symbol.for("react.profiler"), x = Symbol.for("react.consumer"), _ = Symbol.for("react.context"), w = Symbol.for("react.forward_ref"), C = Symbol.for("react.suspense"), D = Symbol.for("react.suspense_list"), O = Symbol.for("react.memo"), A = Symbol.for("react.lazy"), M = Symbol.for("react.activity"), j = Symbol.for("react.client.reference"), V = h.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, $ = Object.prototype.hasOwnProperty, Z = Array.isArray, W = console.createTask ? console.createTask : function() {
279
+ var h = Ve, S = Symbol.for("react.transitional.element"), T = Symbol.for("react.portal"), b = Symbol.for("react.fragment"), m = Symbol.for("react.strict_mode"), g = Symbol.for("react.profiler"), x = Symbol.for("react.consumer"), _ = Symbol.for("react.context"), w = Symbol.for("react.forward_ref"), C = Symbol.for("react.suspense"), D = Symbol.for("react.suspense_list"), O = Symbol.for("react.memo"), A = Symbol.for("react.lazy"), M = Symbol.for("react.activity"), j = Symbol.for("react.client.reference"), V = h.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, $ = Object.prototype.hasOwnProperty, Z = Array.isArray, W = console.createTask ? console.createTask : function() {
280
280
  return null;
281
281
  };
282
282
  h = {
@@ -315,7 +315,7 @@ var Cs;
315
315
  function Jh() {
316
316
  return Cs || (Cs = 1, process.env.NODE_ENV === "production" ? Gn.exports = Xh() : Gn.exports = Zh()), Gn.exports;
317
317
  }
318
- var S = Jh();
318
+ var E = Jh();
319
319
  const Os = (e) => {
320
320
  let t;
321
321
  const r = /* @__PURE__ */ new Set(), n = (u, l) => {
@@ -410,7 +410,7 @@ function nd(e) {
410
410
  }
411
411
  const pr = Wh(null);
412
412
  function id({ children: e, value: t }) {
413
- return /* @__PURE__ */ S.jsx(pr.Provider, { value: t, children: e });
413
+ return /* @__PURE__ */ E.jsx(pr.Provider, { value: t, children: e });
414
414
  }
415
415
  function be(e) {
416
416
  const t = Tr(pr);
@@ -729,14 +729,14 @@ function jl(e, t) {
729
729
  const r = e.locationOffset.column - 1, n = "".padStart(r) + e.body, i = t.line - 1, a = e.locationOffset.line - 1, o = t.line + a, s = t.line === 1 ? r : 0, c = t.column + s, u = `${e.name}:${o}:${c}
730
730
  `, l = n.split(/\r\n|[\n\r]/g), f = l[i];
731
731
  if (f.length > 120) {
732
- const d = Math.floor(c / 80), h = c % 80, E = [];
732
+ const d = Math.floor(c / 80), h = c % 80, S = [];
733
733
  for (let T = 0; T < f.length; T += 80)
734
- E.push(f.slice(T, T + 80));
734
+ S.push(f.slice(T, T + 80));
735
735
  return u + As([
736
- [`${o} |`, E[0]],
737
- ...E.slice(1, d + 1).map((T) => ["|", T]),
736
+ [`${o} |`, S[0]],
737
+ ...S.slice(1, d + 1).map((T) => ["|", T]),
738
738
  ["|", "^".padStart(h)],
739
- ["|", E[d + 1]]
739
+ ["|", S[d + 1]]
740
740
  ]);
741
741
  }
742
742
  return u + As([
@@ -809,9 +809,9 @@ class Uo extends Error {
809
809
  Array.isArray(o) ? o : o ? [o] : void 0
810
810
  );
811
811
  const d = Ns(
812
- (n = this.nodes) === null || n === void 0 ? void 0 : n.map((E) => E.loc).filter((E) => E != null)
812
+ (n = this.nodes) === null || n === void 0 ? void 0 : n.map((S) => S.loc).filter((S) => S != null)
813
813
  );
814
- this.source = s ?? (d == null || (i = d[0]) === null || i === void 0 ? void 0 : i.source), this.positions = c ?? (d == null ? void 0 : d.map((E) => E.start)), this.locations = c && s ? c.map((E) => ro(s, E)) : d == null ? void 0 : d.map((E) => ro(E.source, E.start));
814
+ this.source = s ?? (d == null || (i = d[0]) === null || i === void 0 ? void 0 : i.source), this.positions = c ?? (d == null ? void 0 : d.map((S) => S.start)), this.locations = c && s ? c.map((S) => ro(s, S)) : d == null ? void 0 : d.map((S) => ro(S.source, S.start));
815
815
  const h = sd(
816
816
  l == null ? void 0 : l.extensions
817
817
  ) ? l == null ? void 0 : l.extensions : void 0;
@@ -3029,9 +3029,9 @@ function Mt(e, t, r = Fl) {
3029
3029
  }
3030
3030
  let x;
3031
3031
  if (!Array.isArray(u)) {
3032
- var E, T;
3032
+ var S, T;
3033
3033
  js(u) || ui(!1, `Invalid AST Node: ${zo(u)}.`);
3034
- const _ = m ? (E = n.get(u.kind)) === null || E === void 0 ? void 0 : E.leave : (T = n.get(u.kind)) === null || T === void 0 ? void 0 : T.enter;
3034
+ const _ = m ? (S = n.get(u.kind)) === null || S === void 0 ? void 0 : S.leave : (T = n.get(u.kind)) === null || T === void 0 ? void 0 : T.enter;
3035
3035
  if (x = _ == null ? void 0 : _.call(t, u, l, f, d, h), x === Di)
3036
3036
  break;
3037
3037
  if (x === !1) {
@@ -4291,8 +4291,8 @@ function Fn(e, { max: t = Math.pow(2, 16), keyArgs: r, makeCacheKey: n = H0, nor
4291
4291
  return e.apply(null, arguments);
4292
4292
  let h = s.get(d);
4293
4293
  h || (s.set(d, h = new Li(e)), h.normalizeResult = i, h.subscribe = a, h.forget = () => s.delete(d));
4294
- const E = h.recompute(Array.prototype.slice.call(arguments));
4295
- return s.set(d, h), Hi.add(s), Ri.hasValue() || (Hi.forEach((T) => T.clean()), Hi.clear()), E;
4294
+ const S = h.recompute(Array.prototype.slice.call(arguments));
4295
+ return s.set(d, h), Hi.add(s), Ri.hasValue() || (Hi.forEach((T) => T.clean()), Hi.clear()), S;
4296
4296
  };
4297
4297
  Object.defineProperty(c, "size", {
4298
4298
  get: () => s.size,
@@ -4526,25 +4526,25 @@ function vf(e, t) {
4526
4526
  m.transitiveVars.add(x);
4527
4527
  });
4528
4528
  })), m;
4529
- }, E = /* @__PURE__ */ new Set();
4529
+ }, S = /* @__PURE__ */ new Set();
4530
4530
  d.definitions.forEach(function(m) {
4531
4531
  m.kind === de.OPERATION_DEFINITION ? h(r(m.name && m.name.value)).fragmentSpreads.forEach(function(g) {
4532
- E.add(g);
4532
+ S.add(g);
4533
4533
  }) : m.kind === de.FRAGMENT_DEFINITION && // If there are no operations in the document, then all fragment
4534
4534
  // definitions count as usages of their own fragment names. This heuristic
4535
4535
  // prevents accidentally removing all fragment definitions from the
4536
4536
  // document just because it contains no operations that use the fragments.
4537
- a === 0 && !n(m.name.value).removed && E.add(m.name.value);
4538
- }), E.forEach(function(m) {
4537
+ a === 0 && !n(m.name.value).removed && S.add(m.name.value);
4538
+ }), S.forEach(function(m) {
4539
4539
  h(n(m)).fragmentSpreads.forEach(function(g) {
4540
- E.add(g);
4540
+ S.add(g);
4541
4541
  });
4542
4542
  });
4543
4543
  var T = function(m) {
4544
4544
  return !!// A fragment definition will be removed if there are no spreads that refer
4545
4545
  // to it, or the fragment was explicitly removed because it had no fields
4546
4546
  // other than __typename.
4547
- (!E.has(m) || n(m).removed);
4547
+ (!S.has(m) || n(m).removed);
4548
4548
  }, b = {
4549
4549
  enter: function(m) {
4550
4550
  if (T(m.name.value))
@@ -5629,7 +5629,7 @@ var Mp = function(e) {
5629
5629
  ), tc = Object.prototype.hasOwnProperty;
5630
5630
  function Ap(e, t) {
5631
5631
  return ir(this, void 0, void 0, function() {
5632
- var r, n, i, a, o, s, c, u, l, f, d, h, E, T, b, m, g, x, _, w, C, D, O, A;
5632
+ var r, n, i, a, o, s, c, u, l, f, d, h, S, T, b, m, g, x, _, w, C, D, O, A;
5633
5633
  return ar(this, function(M) {
5634
5634
  switch (M.label) {
5635
5635
  case 0:
@@ -5640,7 +5640,7 @@ function Ap(e, t) {
5640
5640
  case 1:
5641
5641
  return u ? [4, c.next()] : [3, 3];
5642
5642
  case 2:
5643
- for (l = M.sent(), f = l.value, d = l.done, h = typeof f == "string" ? f : r.decode(f), E = s.length - o.length + 1, u = !d, s += h, T = s.indexOf(o, E); T > -1; ) {
5643
+ for (l = M.sent(), f = l.value, d = l.done, h = typeof f == "string" ? f : r.decode(f), S = s.length - o.length + 1, u = !d, s += h, T = s.indexOf(o, S); T > -1; ) {
5644
5644
  if (b = void 0, D = [
5645
5645
  s.slice(0, T),
5646
5646
  s.slice(T + o.length)
@@ -5844,7 +5844,7 @@ var rc = Ct(function() {
5844
5844
  headers: f.headers
5845
5845
  };
5846
5846
  return new $n(function(h) {
5847
- var E = Hp(h, r), T = h.getContext(), b = {};
5847
+ var S = Hp(h, r), T = h.getContext(), b = {};
5848
5848
  if (T.clientAwareness) {
5849
5849
  var m = T.clientAwareness, g = m.name, x = m.version;
5850
5850
  g && (b["apollographql-client-name"] = g), x && (b["apollographql-client-version"] = x);
@@ -5877,10 +5877,10 @@ var rc = Ct(function() {
5877
5877
  $ && Z && globalThis.__DEV__ !== !1 && ue.warn(53), $ ? W += "boundary=graphql;subscriptionSpec=1.0,application/json" : Z && (W += "deferSpec=20220824,application/json"), O.headers.accept = W;
5878
5878
  }
5879
5879
  if (O.method === "GET") {
5880
- var te = Qp(E, A), Q = te.newURI, he = te.parseError;
5880
+ var te = Qp(S, A), Q = te.newURI, he = te.parseError;
5881
5881
  if (he)
5882
5882
  return Yi(he);
5883
- E = Q;
5883
+ S = Q;
5884
5884
  } else
5885
5885
  try {
5886
5886
  O.body = go(A, "Payload");
@@ -5891,7 +5891,7 @@ var rc = Ct(function() {
5891
5891
  var X = n || Ct(function() {
5892
5892
  return fetch;
5893
5893
  }) || rc, F = oe.next.bind(oe);
5894
- return X(E, O).then(function(H) {
5894
+ return X(S, O).then(function(H) {
5895
5895
  var ne;
5896
5896
  h.setContext({ response: H });
5897
5897
  var ce = (ne = H.headers) === null || ne === void 0 ? void 0 : ne.get("content-type");
@@ -6060,10 +6060,10 @@ function di(e, t, r, n) {
6060
6060
  }
6061
6061
  return di(u, s, c, n);
6062
6062
  } else {
6063
- var E = Oi(a, n.fragmentMap);
6064
- if (E)
6065
- return sc(E) ? !0 : di(
6066
- E.selectionSet,
6063
+ var S = Oi(a, n.fragmentMap);
6064
+ if (S)
6065
+ return sc(S) ? !0 : di(
6066
+ S.selectionSet,
6067
6067
  // Notice that we reuse the same aResult and bResult values here,
6068
6068
  // since the fragment ...spread does not specify a field name, but
6069
6069
  // consists of multiple fields (within the fragment's selection set)
@@ -6111,8 +6111,8 @@ function Dn(e, t, r, n, i) {
6111
6111
  }
6112
6112
  return o.has(s) ? s : e;
6113
6113
  }
6114
- for (var E = 0, T = t.selections; E < T.length; E++) {
6115
- var b = T[E], m = void 0;
6114
+ for (var S = 0, T = t.selections; S < T.length; S++) {
6115
+ var b = T[S], m = void 0;
6116
6116
  if (n && o.add(s), b.kind === de.FIELD) {
6117
6117
  var g = Yt(b), x = b.selectionSet;
6118
6118
  if (m = s[g] || e[g], m === void 0)
@@ -6227,15 +6227,15 @@ var Mf = (
6227
6227
  var d = i || ef(n).name.value;
6228
6228
  l || globalThis.__DEV__ !== !1 && ue.warn(1, d);
6229
6229
  }
6230
- var h = z(z({}, c), { returnPartialData: !0, id: l, query: u, optimistic: s }), E;
6230
+ var h = z(z({}, c), { returnPartialData: !0, id: l, query: u, optimistic: s }), S;
6231
6231
  return new ze(function(T) {
6232
6232
  return r.watch(z(z({}, h), { immediate: !0, callback: function(b) {
6233
6233
  var m = f ? Lf(b.result, n, r, i) : b.result;
6234
6234
  if (
6235
6235
  // Always ensure we deliver the first result
6236
- !(E && Df(
6236
+ !(S && Df(
6237
6237
  u,
6238
- { data: E.result },
6238
+ { data: S.result },
6239
6239
  { data: m },
6240
6240
  // TODO: Fix the type on WatchFragmentOptions so that TVars
6241
6241
  // extends OperationVariables
@@ -6248,7 +6248,7 @@ var Mf = (
6248
6248
  };
6249
6249
  b.missing && (g.missing = Mi(b.missing.map(function(x) {
6250
6250
  return x.missing;
6251
- }))), E = z(z({}, b), { result: m }), T.next(g);
6251
+ }))), S = z(z({}, b), { result: m }), T.next(g);
6252
6252
  }
6253
6253
  } }));
6254
6254
  });
@@ -6460,17 +6460,17 @@ var pi = /* @__PURE__ */ Object.create(null), Xi = function() {
6460
6460
  if (h === uc)
6461
6461
  n.group.dirty(t, u);
6462
6462
  else if (h === pi && (h = void 0), h !== f && (a[u] = h, o = !0, f = h, globalThis.__DEV__ !== !1)) {
6463
- var E = function(w) {
6463
+ var S = function(w) {
6464
6464
  if (n.lookup(w.__ref) === void 0)
6465
6465
  return globalThis.__DEV__ !== !1 && ue.warn(3, w), !0;
6466
6466
  };
6467
6467
  if (Pe(h))
6468
- E(h);
6468
+ S(h);
6469
6469
  else if (Array.isArray(h))
6470
6470
  for (var T = !1, b = void 0, m = 0, g = h; m < g.length; m++) {
6471
6471
  var x = g[m];
6472
6472
  if (Pe(x)) {
6473
- if (T = !0, E(x))
6473
+ if (T = !0, S(x))
6474
6474
  break;
6475
6475
  } else if (typeof x == "object" && x) {
6476
6476
  var _ = n.policies.identify(x)[0];
@@ -6714,8 +6714,8 @@ var fc = (
6714
6714
  var o = this.pool.lookupArray(c);
6715
6715
  if (!o.object) {
6716
6716
  var f = o.object = Object.create(s);
6717
- this.known.add(f), u.sorted.forEach(function(h, E) {
6718
- f[h] = c[l + E];
6717
+ this.known.add(f), u.sorted.forEach(function(h, S) {
6718
+ f[h] = c[l + S];
6719
6719
  }), globalThis.__DEV__ !== !1 && Object.freeze(f);
6720
6720
  }
6721
6721
  return o.object;
@@ -6791,15 +6791,15 @@ var uv = (
6791
6791
  objectOrReference: d,
6792
6792
  enclosingRef: d,
6793
6793
  context: z({ store: r, query: n, policies: f, variables: o, varString: ur(o), canonizeResults: l }, Bf(n, this.config.fragments))
6794
- }), E;
6795
- if (h.missing && (E = [
6794
+ }), S;
6795
+ if (h.missing && (S = [
6796
6796
  new Af(lv(h.missing), h.missing, n, o)
6797
6797
  ], !c))
6798
- throw E[0];
6798
+ throw S[0];
6799
6799
  return {
6800
6800
  result: h.result,
6801
- complete: !E,
6802
- missing: E
6801
+ complete: !S,
6802
+ missing: S
6803
6803
  };
6804
6804
  }, e.prototype.isFresh = function(t, r, n, i) {
6805
6805
  if (Rn(i.store) && this.knownResults.get(t) === n) {
@@ -6825,7 +6825,7 @@ var uv = (
6825
6825
  };
6826
6826
  var s = o.variables, c = o.policies, u = o.store, l = u.getFieldValue(i, "__typename"), f = [], d, h = new hr();
6827
6827
  this.config.addTypename && typeof l == "string" && !c.rootIdsByTypename[l] && f.push({ __typename: l });
6828
- function E(x, _) {
6828
+ function S(x, _) {
6829
6829
  var w;
6830
6830
  return x.missing && (d = h.merge(d, (w = {}, w[_] = x.missing, w))), x.result;
6831
6831
  }
@@ -6840,12 +6840,12 @@ var uv = (
6840
6840
  variables: o.variables,
6841
6841
  from: i
6842
6842
  }, o), D = Yt(x);
6843
- C === void 0 ? Zo.added(x) || (d = h.merge(d, (_ = {}, _[D] = "Can't find field '".concat(x.name.value, "' on ").concat(Pe(i) ? i.__ref + " object" : "object " + JSON.stringify(i, null, 2)), _))) : Ye(C) ? C.length > 0 && (C = E(r.executeSubSelectedArray({
6843
+ C === void 0 ? Zo.added(x) || (d = h.merge(d, (_ = {}, _[D] = "Can't find field '".concat(x.name.value, "' on ").concat(Pe(i) ? i.__ref + " object" : "object " + JSON.stringify(i, null, 2)), _))) : Ye(C) ? C.length > 0 && (C = S(r.executeSubSelectedArray({
6844
6844
  field: x,
6845
6845
  array: C,
6846
6846
  enclosingRef: a,
6847
6847
  context: o
6848
- }), D)) : x.selectionSet ? C != null && (C = E(r.executeSelectionSet({
6848
+ }), D)) : x.selectionSet ? C != null && (C = S(r.executeSelectionSet({
6849
6849
  selectionSet: x.selectionSet,
6850
6850
  objectOrReference: C,
6851
6851
  enclosingRef: Pe(C) ? C : a,
@@ -6993,9 +6993,9 @@ function gc(e) {
6993
6993
  if (i && wt(i.directives)) {
6994
6994
  var d = l.slice(1), h = i.directives.find(function(m) {
6995
6995
  return m.name.value === d;
6996
- }), E = h && Ii(h, a);
6997
- return E && Xr(
6998
- E,
6996
+ }), S = h && Ii(h, a);
6997
+ return S && Xr(
6998
+ S,
6999
6999
  // If keyPath.length === 1, this code calls extractKeyPath with an
7000
7000
  // empty path, which works because it uses directiveArgs as the
7001
7001
  // extracted value.
@@ -7173,8 +7173,8 @@ var vv = function() {
7173
7173
  if (r === o)
7174
7174
  return !0;
7175
7175
  if (this.usingPossibleTypes && this.supertypeMap.has(o))
7176
- for (var s = this.getSupertypeSet(r, !0), c = [s], u = function(E) {
7177
- var T = a.getSupertypeSet(E, !1);
7176
+ for (var s = this.getSupertypeSet(r, !0), c = [s], u = function(S) {
7177
+ var T = a.getSupertypeSet(S, !1);
7178
7178
  T && T.size && c.indexOf(T) < 0 && c.push(T);
7179
7179
  }, l = !!(n && this.fuzzySubtypes.size), f = !1, d = 0; d < c.length; ++d) {
7180
7180
  var h = c[d];
@@ -7186,8 +7186,8 @@ var vv = function() {
7186
7186
  // after we verify the supertype, but this check is often less
7187
7187
  // expensive than that search, and we will have to do the
7188
7188
  // comparison anyway whenever we find a potential match.
7189
- xo(t.selectionSet, n, i) && (l = !1, f = !0, this.fuzzySubtypes.forEach(function(E, T) {
7190
- var b = r.match(E);
7189
+ xo(t.selectionSet, n, i) && (l = !1, f = !0, this.fuzzySubtypes.forEach(function(S, T) {
7190
+ var b = r.match(S);
7191
7191
  b && b[0] === r && u(T);
7192
7192
  }));
7193
7193
  }
@@ -7327,8 +7327,8 @@ var gv = (
7327
7327
  return e.prototype.writeToStore = function(t, r) {
7328
7328
  var n = this, i = r.query, a = r.result, o = r.dataId, s = r.variables, c = r.overwrite, u = Er(i), l = av();
7329
7329
  s = z(z({}, Qo(u)), s);
7330
- var f = z(z({ store: t, written: /* @__PURE__ */ Object.create(null), merge: function(h, E) {
7331
- return l.merge(h, E);
7330
+ var f = z(z({ store: t, written: /* @__PURE__ */ Object.create(null), merge: function(h, S) {
7331
+ return l.merge(h, S);
7332
7332
  }, variables: s, varString: ur(s) }, Bf(i, this.fragments)), { overwrite: !!c, incomingById: /* @__PURE__ */ new Map(), clientOnly: !1, deferred: !1, flavors: /* @__PURE__ */ new Map() }), d = this.processSelectionSet({
7333
7333
  result: a || /* @__PURE__ */ Object.create(null),
7334
7334
  dataId: o,
@@ -7338,8 +7338,8 @@ var gv = (
7338
7338
  });
7339
7339
  if (!Pe(d))
7340
7340
  throw pt(12, a);
7341
- return f.incomingById.forEach(function(h, E) {
7342
- var T = h.storeObject, b = h.mergeTree, m = h.fieldNodeSet, g = Qr(E);
7341
+ return f.incomingById.forEach(function(h, S) {
7342
+ var T = h.storeObject, b = h.mergeTree, m = h.fieldNodeSet, g = Qr(S);
7343
7343
  if (b && b.map.size) {
7344
7344
  var x = n.applyMerges(b, g, T, f);
7345
7345
  if (Pe(x))
@@ -7361,7 +7361,7 @@ var gv = (
7361
7361
  w(D) && !C(D) && yv(g, T, D, f.store);
7362
7362
  });
7363
7363
  }
7364
- t.merge(E, T);
7364
+ t.merge(S, T);
7365
7365
  }), t.retain(d.__ref), d;
7366
7366
  }, e.prototype.processSelectionSet = function(t) {
7367
7367
  var r = this, n = t.dataId, i = t.result, a = t.selectionSet, o = t.context, s = t.mergeTree, c = this.cache.policies, u = /* @__PURE__ */ Object.create(null), l = n && c.rootTypenamesById[n] || uo(i, a, o.fragmentMap) || n && o.store.get(n, "__typename");
@@ -7422,8 +7422,8 @@ var gv = (
7422
7422
  fragmentMap: o.fragmentMap,
7423
7423
  storeObject: u,
7424
7424
  readField: f
7425
- }), E = h[0], T = h[1];
7426
- n = n || E, T && (u = o.merge(u, T));
7425
+ }), S = h[0], T = h[1];
7426
+ n = n || S, T && (u = o.merge(u, T));
7427
7427
  } catch (x) {
7428
7428
  if (!n)
7429
7429
  throw x;
@@ -7471,26 +7471,26 @@ var gv = (
7471
7471
  );
7472
7472
  f.visited || (f.visited = !0, u.selections.forEach(function(d) {
7473
7473
  if (zn(d, n.variables)) {
7474
- var h = l.clientOnly, E = l.deferred;
7474
+ var h = l.clientOnly, S = l.deferred;
7475
7475
  if (
7476
7476
  // Since the presence of @client or @defer on this field can only
7477
7477
  // cause clientOnly or deferred to become true, we can skip the
7478
7478
  // forEach loop if both clientOnly and deferred are already true.
7479
- !(h && E) && wt(d.directives) && d.directives.forEach(function(m) {
7479
+ !(h && S) && wt(d.directives) && d.directives.forEach(function(m) {
7480
7480
  var g = m.name.value;
7481
7481
  if (g === "client" && (h = !0), g === "defer") {
7482
7482
  var x = Ii(m, n.variables);
7483
- (!x || x.if !== !1) && (E = !0);
7483
+ (!x || x.if !== !1) && (S = !0);
7484
7484
  }
7485
7485
  }), lr(d)
7486
7486
  ) {
7487
7487
  var T = a.get(d);
7488
- T && (h = h && T.clientOnly, E = E && T.deferred), a.set(d, Ji(n, h, E));
7488
+ T && (h = h && T.clientOnly, S = S && T.deferred), a.set(d, Ji(n, h, S));
7489
7489
  } else {
7490
7490
  var b = Oi(d, n.lookupFragment);
7491
7491
  if (!b && d.kind === de.FRAGMENT_SPREAD)
7492
7492
  throw pt(14, d.name.value);
7493
- b && o.fragmentMatches(b, i, r, n.variables) && c(b.selectionSet, Ji(n, h, E));
7493
+ b && o.fragmentMatches(b, i, r, n.variables) && c(b.selectionSet, Ji(n, h, S));
7494
7494
  }
7495
7495
  }
7496
7496
  }));
@@ -7512,10 +7512,10 @@ var gv = (
7512
7512
  return Ye(d) ? typeof h == "number" ? d[h] : void 0 : i.store.getFieldValue(d, String(h));
7513
7513
  };
7514
7514
  t.map.forEach(function(d, h) {
7515
- var E = f(c, h), T = f(u, h);
7515
+ var S = f(c, h), T = f(u, h);
7516
7516
  if (T !== void 0) {
7517
7517
  a && a.push(h);
7518
- var b = s.applyMerges(d, E, T, i, a);
7518
+ var b = s.applyMerges(d, S, T, i, a);
7519
7519
  b !== T && (l = l || /* @__PURE__ */ new Map(), l.set(h, b)), a && ue(a.pop() === h);
7520
7520
  }
7521
7521
  }), l && (n = Ye(u) ? u.slice(0) : z({}, u), l.forEach(function(d, h) {
@@ -7702,19 +7702,19 @@ var Hf = (
7702
7702
  n !== this.optimisticData && (this.optimisticData = n, this.broadcastWatches());
7703
7703
  }, t.prototype.batch = function(r) {
7704
7704
  var n = this, i = r.update, a = r.optimistic, o = a === void 0 ? !0 : a, s = r.removeOptimistic, c = r.onWatchUpdated, u, l = function(d) {
7705
- var h = n, E = h.data, T = h.optimisticData;
7705
+ var h = n, S = h.data, T = h.optimisticData;
7706
7706
  ++n.txCount, d && (n.data = n.optimisticData = d);
7707
7707
  try {
7708
7708
  return u = i(n);
7709
7709
  } finally {
7710
- --n.txCount, n.data = E, n.optimisticData = T;
7710
+ --n.txCount, n.data = S, n.optimisticData = T;
7711
7711
  }
7712
7712
  }, f = /* @__PURE__ */ new Set();
7713
7713
  return c && !this.txCount && this.broadcastWatches(z(z({}, r), { onWatchUpdated: function(d) {
7714
7714
  return f.add(d), !1;
7715
7715
  } })), typeof o == "string" ? this.optimisticData = this.optimisticData.addLayer(o, l) : o === !1 ? l(this.data) : l(), typeof s == "string" && (this.optimisticData = this.optimisticData.removeLayer(s)), c && f.size ? (this.broadcastWatches(z(z({}, r), { onWatchUpdated: function(d, h) {
7716
- var E = c.call(this, d, h);
7717
- return E !== !1 && f.delete(d), E;
7716
+ var S = c.call(this, d, h);
7717
+ return S !== !1 && f.delete(d), S;
7718
7718
  } })), f.size && f.forEach(function(d) {
7719
7719
  return n.maybeBroadcastWatch.dirty(d);
7720
7720
  })) : this.broadcastWatches(r), u;
@@ -7779,7 +7779,7 @@ var kc = Object.assign, bv = Object.hasOwnProperty, Mn = (
7779
7779
  }) || this, o.observers = /* @__PURE__ */ new Set(), o.subscriptions = /* @__PURE__ */ new Set(), o.dirty = !1, o._getOrCreateQuery = function() {
7780
7780
  return s && (n.queries.set(o.queryId, i), s = !1), o.queryManager.getOrCreateQuery(o.queryId);
7781
7781
  }, o.queryInfo = i, o.queryManager = n, o.waitForOwnResult = Ki(a.fetchPolicy), o.isTornDown = !1, o.subscribeToMore = o.subscribeToMore.bind(o), o.maskResult = o.maskResult.bind(o);
7782
- var c = n.defaultOptions.watchQuery, u = c === void 0 ? {} : c, l = u.fetchPolicy, f = l === void 0 ? "cache-first" : l, d = a.fetchPolicy, h = d === void 0 ? f : d, E = a.initialFetchPolicy, T = E === void 0 ? h === "standby" ? f : h : E;
7782
+ var c = n.defaultOptions.watchQuery, u = c === void 0 ? {} : c, l = u.fetchPolicy, f = l === void 0 ? "cache-first" : l, d = a.fetchPolicy, h = d === void 0 ? f : d, S = a.initialFetchPolicy, T = S === void 0 ? h === "standby" ? f : h : S;
7783
7783
  o.options = z(z({}, a), {
7784
7784
  // Remember the initial options.fetchPolicy so we can revert back to this
7785
7785
  // policy when variables change. This information can also be specified
@@ -7909,9 +7909,9 @@ var kc = Object.assign, bv = Object.hasOwnProperty, Mn = (
7909
7909
  return l || ue(u, 29), this.queryManager.fetchQuery(a, i, Ie.fetchMore).then(function(f) {
7910
7910
  if (n.queryManager.removeQuery(a), o.networkStatus === Ie.fetchMore && (o.networkStatus = s), l)
7911
7911
  n.queryManager.cache.batch({
7912
- update: function(E) {
7912
+ update: function(S) {
7913
7913
  var T = r.updateQuery;
7914
- T ? E.updateQuery({
7914
+ T ? S.updateQuery({
7915
7915
  query: n.query,
7916
7916
  variables: n.variables,
7917
7917
  returnPartialData: !0,
@@ -7921,14 +7921,14 @@ var kc = Object.assign, bv = Object.hasOwnProperty, Mn = (
7921
7921
  fetchMoreResult: f.data,
7922
7922
  variables: i.variables
7923
7923
  });
7924
- }) : E.writeQuery({
7924
+ }) : S.writeQuery({
7925
7925
  query: i.query,
7926
7926
  variables: i.variables,
7927
7927
  data: f.data
7928
7928
  });
7929
7929
  },
7930
- onWatchUpdated: function(E) {
7931
- c.add(E.query);
7930
+ onWatchUpdated: function(S) {
7931
+ c.add(S.query);
7932
7932
  }
7933
7933
  });
7934
7934
  else {
@@ -8074,8 +8074,8 @@ var kc = Object.assign, bv = Object.hasOwnProperty, Mn = (
8074
8074
  // so in that case `applyNextFetchPolicy` must be called.
8075
8075
  typeof u.nextFetchPolicy == "function") && (this.applyNextFetchPolicy("variables-changed", u), n === void 0 && (n = Ie.setVariables))), this.waitForOwnResult && (this.waitForOwnResult = Ki(u.fetchPolicy));
8076
8076
  var f = function() {
8077
- i.concast === E && (i.waitForOwnResult = !1);
8078
- }, d = u.variables && z({}, u.variables), h = this.fetch(u, n, l), E = h.concast, T = h.fromLink, b = {
8077
+ i.concast === S && (i.waitForOwnResult = !1);
8078
+ }, d = u.variables && z({}, u.variables), h = this.fetch(u, n, l), S = h.concast, T = h.fromLink, b = {
8079
8079
  next: function(m) {
8080
8080
  Be(i.variables, d) && (f(), i.reportResult(m, d));
8081
8081
  },
@@ -8083,7 +8083,7 @@ var kc = Object.assign, bv = Object.hasOwnProperty, Mn = (
8083
8083
  Be(i.variables, d) && (Sf(m) || (m = new Ht({ networkError: m })), f(), i.reportError(m, d));
8084
8084
  }
8085
8085
  };
8086
- return !a && (T || !this.concast) && (this.concast && this.observer && this.concast.removeObserver(this.observer), this.concast = E, this.observer = b), E.addObserver(b), E;
8086
+ return !a && (T || !this.concast) && (this.concast && this.observer && this.concast.removeObserver(this.observer), this.concast = S, this.observer = b), S.addObserver(b), S;
8087
8087
  }, t.prototype.reobserve = function(r, n) {
8088
8088
  return cp(this.reobserveAsConcast(r, n).promise.then(this.maskResult));
8089
8089
  }, t.prototype.resubscribeAfterError = function() {
@@ -8336,7 +8336,7 @@ var _v = Object.prototype.hasOwnProperty, Tc = /* @__PURE__ */ Object.create(nul
8336
8336
  }), this.fetchCancelFns.clear();
8337
8337
  }, e.prototype.mutate = function(t) {
8338
8338
  return ir(this, arguments, void 0, function(r) {
8339
- var n, i, a, o, s, c, u, l = r.mutation, f = r.variables, d = r.optimisticResponse, h = r.updateQueries, E = r.refetchQueries, T = E === void 0 ? [] : E, b = r.awaitRefetchQueries, m = b === void 0 ? !1 : b, g = r.update, x = r.onQueryUpdated, _ = r.fetchPolicy, w = _ === void 0 ? ((c = this.defaultOptions.mutate) === null || c === void 0 ? void 0 : c.fetchPolicy) || "network-only" : _, C = r.errorPolicy, D = C === void 0 ? ((u = this.defaultOptions.mutate) === null || u === void 0 ? void 0 : u.errorPolicy) || "none" : C, O = r.keepRootFields, A = r.context;
8339
+ var n, i, a, o, s, c, u, l = r.mutation, f = r.variables, d = r.optimisticResponse, h = r.updateQueries, S = r.refetchQueries, T = S === void 0 ? [] : S, b = r.awaitRefetchQueries, m = b === void 0 ? !1 : b, g = r.update, x = r.onQueryUpdated, _ = r.fetchPolicy, w = _ === void 0 ? ((c = this.defaultOptions.mutate) === null || c === void 0 ? void 0 : c.fetchPolicy) || "network-only" : _, C = r.errorPolicy, D = C === void 0 ? ((u = this.defaultOptions.mutate) === null || u === void 0 ? void 0 : u.errorPolicy) || "none" : C, O = r.keepRootFields, A = r.context;
8340
8340
  return ar(this, function(M) {
8341
8341
  switch (M.label) {
8342
8342
  case 0:
@@ -8432,9 +8432,9 @@ var _v = Object.prototype.hasOwnProperty, Tc = /* @__PURE__ */ Object.create(nul
8432
8432
  }
8433
8433
  var u = t.updateQueries;
8434
8434
  u && this.queries.forEach(function(f, d) {
8435
- var h = f.observableQuery, E = h && h.queryName;
8436
- if (!(!E || !_v.call(u, E))) {
8437
- var T = u[E], b = n.queries.get(d), m = b.document, g = b.variables, x = r.diff({
8435
+ var h = f.observableQuery, S = h && h.queryName;
8436
+ if (!(!S || !_v.call(u, S))) {
8437
+ var T = u[S], b = n.queries.get(d), m = b.document, g = b.variables, x = r.diff({
8438
8438
  query: m,
8439
8439
  variables: g,
8440
8440
  returnPartialData: !0,
@@ -8466,7 +8466,7 @@ var _v = Object.prototype.hasOwnProperty, Tc = /* @__PURE__ */ Object.create(nul
8466
8466
  var d = t.update, h = !dp(i) || Gr(i) && !i.hasNext;
8467
8467
  if (d) {
8468
8468
  if (!o) {
8469
- var E = f.diff({
8469
+ var S = f.diff({
8470
8470
  id: "ROOT_MUTATION",
8471
8471
  // The cache complains if passed a mutation where it expects a
8472
8472
  // query, so we transform mutations and subscriptions to queries
@@ -8476,7 +8476,7 @@ var _v = Object.prototype.hasOwnProperty, Tc = /* @__PURE__ */ Object.create(nul
8476
8476
  optimistic: !1,
8477
8477
  returnPartialData: !0
8478
8478
  });
8479
- E.complete && (i = z(z({}, i), { data: E.result }), "incremental" in i && delete i.incremental, "hasNext" in i && delete i.hasNext);
8479
+ S.complete && (i = z(z({}, i), { data: S.result }), "incremental" in i && delete i.incremental, "hasNext" in i && delete i.hasNext);
8480
8480
  }
8481
8481
  h && d(f, i, {
8482
8482
  context: t.context,
@@ -8664,13 +8664,13 @@ var _v = Object.prototype.hasOwnProperty, Tc = /* @__PURE__ */ Object.create(nul
8664
8664
  }, e.prototype.startGraphQLSubscription = function(t) {
8665
8665
  var r = this, n = t.query, i = t.variables, a = t.fetchPolicy, o = t.errorPolicy, s = o === void 0 ? "none" : o, c = t.context, u = c === void 0 ? {} : c, l = t.extensions, f = l === void 0 ? {} : l;
8666
8666
  n = this.transform(n), i = this.getVariables(n, i);
8667
- var d = function(E) {
8668
- return r.getObservableFromLink(n, u, E, f).map(function(T) {
8667
+ var d = function(S) {
8668
+ return r.getObservableFromLink(n, u, S, f).map(function(T) {
8669
8669
  a !== "no-cache" && (Eo(T, s) && r.cache.write({
8670
8670
  query: n,
8671
8671
  result: T.data,
8672
8672
  dataId: "ROOT_SUBSCRIPTION",
8673
- variables: E
8673
+ variables: S
8674
8674
  }), r.broadcastQueries());
8675
8675
  var b = hi(T), m = Lp(T);
8676
8676
  if (b || m) {
@@ -8683,11 +8683,11 @@ var _v = Object.prototype.hasOwnProperty, Tc = /* @__PURE__ */ Object.create(nul
8683
8683
  };
8684
8684
  if (this.getDocumentInfo(n).hasClientExports) {
8685
8685
  var h = this.localState.addExportedVariables(n, i, u).then(d);
8686
- return new ze(function(E) {
8686
+ return new ze(function(S) {
8687
8687
  var T = null;
8688
8688
  return h.then(function(b) {
8689
- return T = b.subscribe(E);
8690
- }, E.error), function() {
8689
+ return T = b.subscribe(S);
8690
+ }, S.error), function() {
8691
8691
  return T && T.unsubscribe();
8692
8692
  };
8693
8693
  });
@@ -8712,7 +8712,7 @@ var _v = Object.prototype.hasOwnProperty, Tc = /* @__PURE__ */ Object.create(nul
8712
8712
  a === void 0 && (a = (s = r == null ? void 0 : r.queryDeduplication) !== null && s !== void 0 ? s : this.queryDeduplication);
8713
8713
  var c, u = this.getDocumentInfo(t), l = u.serverQuery, f = u.clientQuery;
8714
8714
  if (l) {
8715
- var d = this, h = d.inFlightLinkObservables, E = d.link, T = {
8715
+ var d = this, h = d.inFlightLinkObservables, S = d.link, T = {
8716
8716
  query: l,
8717
8717
  variables: n,
8718
8718
  operationName: Tn(l) || void 0,
@@ -8723,7 +8723,7 @@ var _v = Object.prototype.hasOwnProperty, Tc = /* @__PURE__ */ Object.create(nul
8723
8723
  var b = xr(l), m = ur(n), g = h.lookup(b, m);
8724
8724
  if (c = g.observable, !c) {
8725
8725
  var x = new qr([
8726
- mo(E, T)
8726
+ mo(S, T)
8727
8727
  ]);
8728
8728
  c = g.observable = x, x.beforeNext(function _(w, C) {
8729
8729
  w === "next" && "hasNext" in C && C.hasNext ? x.beforeNext(_) : h.remove(b, m);
@@ -8731,7 +8731,7 @@ var _v = Object.prototype.hasOwnProperty, Tc = /* @__PURE__ */ Object.create(nul
8731
8731
  }
8732
8732
  } else
8733
8733
  c = new qr([
8734
- mo(E, T)
8734
+ mo(S, T)
8735
8735
  ]);
8736
8736
  } else
8737
8737
  c = new qr([ze.of({ data: {} })]), r = this.prepareContext(r);
@@ -8767,7 +8767,7 @@ var _v = Object.prototype.hasOwnProperty, Tc = /* @__PURE__ */ Object.create(nul
8767
8767
  }, e.prototype.fetchConcastWithInfo = function(t, r, n, i) {
8768
8768
  var a = this;
8769
8769
  n === void 0 && (n = Ie.loading), i === void 0 && (i = r.query);
8770
- var o = this.getVariables(i, r.variables), s = this.defaultOptions.watchQuery, c = r.fetchPolicy, u = c === void 0 ? s && s.fetchPolicy || "cache-first" : c, l = r.errorPolicy, f = l === void 0 ? s && s.errorPolicy || "none" : l, d = r.returnPartialData, h = d === void 0 ? !1 : d, E = r.notifyOnNetworkStatusChange, T = E === void 0 ? !1 : E, b = r.context, m = b === void 0 ? {} : b, g = Object.assign({}, r, {
8770
+ var o = this.getVariables(i, r.variables), s = this.defaultOptions.watchQuery, c = r.fetchPolicy, u = c === void 0 ? s && s.fetchPolicy || "cache-first" : c, l = r.errorPolicy, f = l === void 0 ? s && s.errorPolicy || "none" : l, d = r.returnPartialData, h = d === void 0 ? !1 : d, S = r.notifyOnNetworkStatusChange, T = S === void 0 ? !1 : S, b = r.context, m = b === void 0 ? {} : b, g = Object.assign({}, r, {
8771
8771
  query: i,
8772
8772
  variables: o,
8773
8773
  fetchPolicy: u,
@@ -8855,22 +8855,22 @@ var _v = Object.prototype.hasOwnProperty, Tc = /* @__PURE__ */ Object.create(nul
8855
8855
  // true, the removeOptimistic string will determine the ID of the
8856
8856
  // temporary optimistic layer, in case that ever matters.
8857
8857
  removeOptimistic: c,
8858
- onWatchUpdated: function(d, h, E) {
8858
+ onWatchUpdated: function(d, h, S) {
8859
8859
  var T = d.watcher instanceof ta && d.watcher.observableQuery;
8860
8860
  if (T) {
8861
8861
  if (u) {
8862
8862
  l.delete(T.queryId);
8863
- var b = u(T, h, E);
8863
+ var b = u(T, h, S);
8864
8864
  return b === !0 && (b = T.refetch()), b !== !1 && f.set(T, b), b;
8865
8865
  }
8866
- u !== null && l.set(T.queryId, { oq: T, lastDiff: E, diff: h });
8866
+ u !== null && l.set(T.queryId, { oq: T, lastDiff: S, diff: h });
8867
8867
  }
8868
8868
  }
8869
8869
  }), l.size && l.forEach(function(d, h) {
8870
- var E = d.oq, T = d.lastDiff, b = d.diff, m;
8870
+ var S = d.oq, T = d.lastDiff, b = d.diff, m;
8871
8871
  u && (b || (b = at("canonizeResults", function() {
8872
- return r.cache.diff(E.queryInfo.getDiffOptions());
8873
- })), m = u(E, b, T)), (!u || m === !0) && (m = E.refetch()), m !== !1 && f.set(E, m), h.indexOf("legacyOneTimeQuery") >= 0 && r.stopQueryNoBroadcast(h);
8872
+ return r.cache.diff(S.queryInfo.getDiffOptions());
8873
+ })), m = u(S, b, T)), (!u || m === !0) && (m = S.refetch()), m !== !1 && f.set(S, m), h.indexOf("legacyOneTimeQuery") >= 0 && r.stopQueryNoBroadcast(h);
8874
8874
  }), c && this.cache.removeOptimistic(c), f;
8875
8875
  }, e.prototype.maskOperation = function(t) {
8876
8876
  var r, n, i, a = t.document, o = t.data;
@@ -8892,7 +8892,7 @@ var _v = Object.prototype.hasOwnProperty, Tc = /* @__PURE__ */ Object.create(nul
8892
8892
  variables: o,
8893
8893
  networkStatus: n
8894
8894
  });
8895
- var E = function() {
8895
+ var S = function() {
8896
8896
  return t.getDiff();
8897
8897
  }, T = function(_, w) {
8898
8898
  w === void 0 && (w = t.networkStatus || Ie.loading);
@@ -8922,7 +8922,7 @@ var _v = Object.prototype.hasOwnProperty, Tc = /* @__PURE__ */ Object.create(nul
8922
8922
  switch (s) {
8923
8923
  default:
8924
8924
  case "cache-first": {
8925
- var x = E();
8925
+ var x = S();
8926
8926
  return x.complete ? {
8927
8927
  fromLink: !1,
8928
8928
  sources: [T(x, t.markReady())]
@@ -8932,7 +8932,7 @@ var _v = Object.prototype.hasOwnProperty, Tc = /* @__PURE__ */ Object.create(nul
8932
8932
  } : { fromLink: !0, sources: [m()] };
8933
8933
  }
8934
8934
  case "cache-and-network": {
8935
- var x = E();
8935
+ var x = S();
8936
8936
  return x.complete || l || g ? {
8937
8937
  fromLink: !0,
8938
8938
  sources: [T(x), m()]
@@ -8941,12 +8941,12 @@ var _v = Object.prototype.hasOwnProperty, Tc = /* @__PURE__ */ Object.create(nul
8941
8941
  case "cache-only":
8942
8942
  return {
8943
8943
  fromLink: !1,
8944
- sources: [T(E(), t.markReady())]
8944
+ sources: [T(S(), t.markReady())]
8945
8945
  };
8946
8946
  case "network-only":
8947
8947
  return g ? {
8948
8948
  fromLink: !0,
8949
- sources: [T(E()), m()]
8949
+ sources: [T(S()), m()]
8950
8950
  } : { fromLink: !0, sources: [m()] };
8951
8951
  case "no-cache":
8952
8952
  return g ? {
@@ -9038,16 +9038,16 @@ var _v = Object.prototype.hasOwnProperty, Tc = /* @__PURE__ */ Object.create(nul
9038
9038
  }).result;
9039
9039
  }, e.prototype.resolveDocument = function(t, r) {
9040
9040
  return ir(this, arguments, void 0, function(n, i, a, o, s, c) {
9041
- var u, l, f, d, h, E, T, b, m, g, x;
9041
+ var u, l, f, d, h, S, T, b, m, g, x;
9042
9042
  return a === void 0 && (a = {}), o === void 0 && (o = {}), s === void 0 && (s = function() {
9043
9043
  return !0;
9044
9044
  }), c === void 0 && (c = !1), ar(this, function(_) {
9045
- return u = Vn(n), l = on(n), f = nn(l), d = this.collectSelectionsToResolve(u, f), h = u.operation, E = h ? h.charAt(0).toUpperCase() + h.slice(1) : "Query", T = this, b = T.cache, m = T.client, g = {
9045
+ return u = Vn(n), l = on(n), f = nn(l), d = this.collectSelectionsToResolve(u, f), h = u.operation, S = h ? h.charAt(0).toUpperCase() + h.slice(1) : "Query", T = this, b = T.cache, m = T.client, g = {
9046
9046
  fragmentMap: f,
9047
9047
  context: z(z({}, a), { cache: b, client: m }),
9048
9048
  variables: o,
9049
9049
  fragmentMatcher: s,
9050
- defaultOperationType: E,
9050
+ defaultOperationType: S,
9051
9051
  exportedVariables: {},
9052
9052
  selectionsToResolve: d,
9053
9053
  onlyRunForcedResolvers: c
@@ -9065,7 +9065,7 @@ var _v = Object.prototype.hasOwnProperty, Tc = /* @__PURE__ */ Object.create(nul
9065
9065
  return ar(this, function(f) {
9066
9066
  return a = i.fragmentMap, o = i.context, s = i.variables, c = [n], u = function(d) {
9067
9067
  return ir(l, void 0, void 0, function() {
9068
- var h, E;
9068
+ var h, S;
9069
9069
  return ar(this, function(T) {
9070
9070
  return !r && !i.selectionsToResolve.has(d) ? [
9071
9071
  2
@@ -9073,7 +9073,7 @@ var _v = Object.prototype.hasOwnProperty, Tc = /* @__PURE__ */ Object.create(nul
9073
9073
  ] : zn(d, s) ? lr(d) ? [2, this.resolveField(d, r, n, i).then(function(b) {
9074
9074
  var m;
9075
9075
  typeof b < "u" && c.push((m = {}, m[Yt(d)] = b, m));
9076
- })] : (N0(d) ? h = d : (h = a[d.name.value], ue(h, 21, d.name.value)), h && h.typeCondition && (E = h.typeCondition.name.value, i.fragmentMatcher(n, E, o)) ? [2, this.resolveSelectionSet(h.selectionSet, r, n, i).then(function(b) {
9076
+ })] : (N0(d) ? h = d : (h = a[d.name.value], ue(h, 21, d.name.value)), h && h.typeCondition && (S = h.typeCondition.name.value, i.fragmentMatcher(n, S, o)) ? [2, this.resolveSelectionSet(h.selectionSet, r, n, i).then(function(b) {
9077
9077
  c.push(b);
9078
9078
  })] : [
9079
9079
  2
@@ -9091,7 +9091,7 @@ var _v = Object.prototype.hasOwnProperty, Tc = /* @__PURE__ */ Object.create(nul
9091
9091
  });
9092
9092
  }, e.prototype.resolveField = function(t, r, n, i) {
9093
9093
  return ir(this, void 0, void 0, function() {
9094
- var a, o, s, c, u, l, f, d, h, E = this;
9094
+ var a, o, s, c, u, l, f, d, h, S = this;
9095
9095
  return ar(this, function(T) {
9096
9096
  return n ? (a = i.variables, o = t.name.value, s = Yt(t), c = o !== s, u = n[s] || n[o], l = Promise.resolve(u), (!i.onlyRunForcedResolvers || this.shouldForceResolvers(t)) && (f = n.__typename || i.defaultOperationType, d = this.resolvers && this.resolvers[f], d && (h = d[c ? o : s], h && (l = Promise.resolve(
9097
9097
  // In case the resolve function accesses reactive variables,
@@ -9114,9 +9114,9 @@ var _v = Object.prototype.hasOwnProperty, Tc = /* @__PURE__ */ Object.create(nul
9114
9114
  return _.name.value === "client";
9115
9115
  })) !== null && g !== void 0 ? g : !1;
9116
9116
  if (Array.isArray(b))
9117
- return E.resolveSubSelectedArray(t, r || x, b, i);
9117
+ return S.resolveSubSelectedArray(t, r || x, b, i);
9118
9118
  if (t.selectionSet)
9119
- return E.resolveSelectionSet(t.selectionSet, r || x, b, i);
9119
+ return S.resolveSelectionSet(t.selectionSet, r || x, b, i);
9120
9120
  })]) : [2, null];
9121
9121
  });
9122
9122
  });
@@ -9146,10 +9146,10 @@ var _v = Object.prototype.hasOwnProperty, Tc = /* @__PURE__ */ Object.create(nul
9146
9146
  FragmentSpread: function(c, u, l, f, d) {
9147
9147
  var h = r[c.name.value];
9148
9148
  ue(h, 22, c.name.value);
9149
- var E = a(h);
9150
- E.size > 0 && (d.forEach(function(T) {
9149
+ var S = a(h);
9150
+ S.size > 0 && (d.forEach(function(T) {
9151
9151
  n(T) && Fs(T) && s.add(T);
9152
- }), s.add(c), E.forEach(function(T) {
9152
+ }), s.add(c), S.forEach(function(T) {
9153
9153
  s.add(T);
9154
9154
  }));
9155
9155
  }
@@ -9167,12 +9167,12 @@ var _v = Object.prototype.hasOwnProperty, Tc = /* @__PURE__ */ Object.create(nul
9167
9167
  var r = this, n, i, a;
9168
9168
  if (this.resetStoreCallbacks = [], this.clearStoreCallbacks = [], !t.cache)
9169
9169
  throw pt(16);
9170
- var o = t.uri, s = t.credentials, c = t.headers, u = t.cache, l = t.documentTransform, f = t.ssrMode, d = f === void 0 ? !1 : f, h = t.ssrForceFetchDelay, E = h === void 0 ? 0 : h, T = t.connectToDevTools, b = t.queryDeduplication, m = b === void 0 ? !0 : b, g = t.defaultOptions, x = t.defaultContext, _ = t.assumeImmutableResults, w = _ === void 0 ? u.assumeImmutableResults : _, C = t.resolvers, D = t.typeDefs, O = t.fragmentMatcher, A = t.clientAwareness, M = t.name, j = t.version, V = t.devtools, $ = t.dataMasking;
9170
+ var o = t.uri, s = t.credentials, c = t.headers, u = t.cache, l = t.documentTransform, f = t.ssrMode, d = f === void 0 ? !1 : f, h = t.ssrForceFetchDelay, S = h === void 0 ? 0 : h, T = t.connectToDevTools, b = t.queryDeduplication, m = b === void 0 ? !0 : b, g = t.defaultOptions, x = t.defaultContext, _ = t.assumeImmutableResults, w = _ === void 0 ? u.assumeImmutableResults : _, C = t.resolvers, D = t.typeDefs, O = t.fragmentMatcher, A = t.clientAwareness, M = t.name, j = t.version, V = t.devtools, $ = t.dataMasking;
9171
9171
  globalThis.__DEV__ !== !1 && (We(t, "connectToDevTools", "ApolloClient", "Please use `devtools.enabled` instead."), We(t, "uri", "ApolloClient", "Please initialize an instance of `HttpLink` with `uri` instead."), We(t, "credentials", "ApolloClient", "Please initialize an instance of `HttpLink` with `credentials` instead."), We(t, "headers", "ApolloClient", "Please initialize an instance of `HttpLink` with `headers` instead."), We(t, "name", "ApolloClient", "Please use the `clientAwareness.name` option instead."), We(t, "version", "ApolloClient", "Please use the `clientAwareness.version` option instead."), We(t, "typeDefs", "ApolloClient"), t.link || globalThis.__DEV__ !== !1 && ue.warn(17));
9172
9172
  var Z = t.link;
9173
- Z || (Z = o ? new Tf({ uri: o, credentials: s, headers: c }) : $n.empty()), this.link = Z, this.cache = u, this.disableNetworkFetches = d || E > 0, this.queryDeduplication = m, this.defaultOptions = g || /* @__PURE__ */ Object.create(null), this.typeDefs = D, this.devtoolsConfig = z(z({}, V), { enabled: (n = V == null ? void 0 : V.enabled) !== null && n !== void 0 ? n : T }), this.devtoolsConfig.enabled === void 0 && (this.devtoolsConfig.enabled = globalThis.__DEV__ !== !1), E && setTimeout(function() {
9173
+ Z || (Z = o ? new Tf({ uri: o, credentials: s, headers: c }) : $n.empty()), this.link = Z, this.cache = u, this.disableNetworkFetches = d || S > 0, this.queryDeduplication = m, this.defaultOptions = g || /* @__PURE__ */ Object.create(null), this.typeDefs = D, this.devtoolsConfig = z(z({}, V), { enabled: (n = V == null ? void 0 : V.enabled) !== null && n !== void 0 ? n : T }), this.devtoolsConfig.enabled === void 0 && (this.devtoolsConfig.enabled = globalThis.__DEV__ !== !1), S && setTimeout(function() {
9174
9174
  return r.disableNetworkFetches = !1;
9175
- }, E), this.watchQuery = this.watchQuery.bind(this), this.query = this.query.bind(this), this.mutate = this.mutate.bind(this), this.watchFragment = this.watchFragment.bind(this), this.resetStore = this.resetStore.bind(this), this.reFetchObservableQueries = this.reFetchObservableQueries.bind(this), this.version = Fo, this.localState = new Ev({
9175
+ }, S), this.watchQuery = this.watchQuery.bind(this), this.query = this.query.bind(this), this.mutate = this.mutate.bind(this), this.watchFragment = this.watchFragment.bind(this), this.resetStore = this.resetStore.bind(this), this.reFetchObservableQueries = this.reFetchObservableQueries.bind(this), this.version = Fo, this.localState = new Ev({
9176
9176
  cache: u,
9177
9177
  client: this,
9178
9178
  resolvers: C,
@@ -9546,8 +9546,8 @@ function Kf(e) {
9546
9546
  ue(d.length === 1, 98, e, d.length);
9547
9547
  var h = d[0];
9548
9548
  r = h.variableDefinitions || [], h.name && h.name.kind === "Name" ? i = h.name.value : i = "data";
9549
- var E = { name: i, type: n, variables: r };
9550
- return _r.set(e, E), E;
9549
+ var S = { name: i, type: n, variables: r };
9550
+ return _r.set(e, S), S;
9551
9551
  }
9552
9552
  Kf.resetCache = function() {
9553
9553
  _r = void 0;
@@ -9640,14 +9640,14 @@ function Qv(e, t, r, n, i) {
9640
9640
  function u(f) {
9641
9641
  var d, h;
9642
9642
  Object.assign(s.observable, (d = {}, d[mi] = f, d));
9643
- var E = s.resultData;
9643
+ var S = s.resultData;
9644
9644
  c(z(z({}, s), {
9645
9645
  // might be a different query
9646
9646
  query: f.query,
9647
- resultData: Object.assign(E, {
9647
+ resultData: Object.assign(S, {
9648
9648
  // We need to modify the previous `resultData` object as we rely on the
9649
9649
  // object reference in other places
9650
- previousData: ((h = E.current) === null || h === void 0 ? void 0 : h.data) || E.previousData,
9650
+ previousData: ((h = S.current) === null || h === void 0 ? void 0 : h.data) || S.previousData,
9651
9651
  current: void 0
9652
9652
  })
9653
9653
  }));
@@ -9659,7 +9659,7 @@ function Qv(e, t, r, n, i) {
9659
9659
  return [s, u];
9660
9660
  }
9661
9661
  function eh(e, t) {
9662
- var r = Jf(t.client), n = Ce.useContext(cs()).renderPromises, i = !!n, a = r.disableNetworkFetches, o = t.ssr !== !1 && !t.skip, s = t.partialRefetch, c = th(r, e, t, i), u = Qv(r, e, t, n, c), l = u[0], f = l.observable, d = l.resultData, h = u[1], E = c(f);
9662
+ var r = Jf(t.client), n = Ce.useContext(cs()).renderPromises, i = !!n, a = r.disableNetworkFetches, o = t.ssr !== !1 && !t.skip, s = t.partialRefetch, c = th(r, e, t, i), u = Qv(r, e, t, n, c), l = u[0], f = l.observable, d = l.resultData, h = u[1], S = c(f);
9663
9663
  Xv(
9664
9664
  d,
9665
9665
  // might get mutated during render
@@ -9667,13 +9667,13 @@ function eh(e, t) {
9667
9667
  // might get mutated during render
9668
9668
  r,
9669
9669
  t,
9670
- E
9670
+ S
9671
9671
  );
9672
9672
  var T = Ce.useMemo(function() {
9673
9673
  return em(f);
9674
9674
  }, [f]);
9675
9675
  Yv(f, n, o);
9676
- var b = Gv(d, f, r, t, E, a, s, i, {
9676
+ var b = Gv(d, f, r, t, S, a, s, i, {
9677
9677
  onCompleted: t.onCompleted || Lc,
9678
9678
  onError: t.onError || Lc
9679
9679
  });
@@ -9714,11 +9714,11 @@ function Gv(e, t, r, n, i, a, o, s, c) {
9714
9714
  if (s)
9715
9715
  return function() {
9716
9716
  };
9717
- var E = function() {
9717
+ var S = function() {
9718
9718
  var m = e.current, g = t.getCurrentResult();
9719
9719
  m && m.loading === g.loading && m.networkStatus === g.networkStatus && Be(m.data, g.data) || ko(g, e, t, r, o, h, u.current);
9720
9720
  }, T = function(m) {
9721
- if (b.current.unsubscribe(), b.current = t.resubscribeAfterError(E, T), !$v.call(m, "graphQLErrors"))
9721
+ if (b.current.unsubscribe(), b.current = t.resubscribeAfterError(S, T), !$v.call(m, "graphQLErrors"))
9722
9722
  throw m;
9723
9723
  var g = e.current;
9724
9724
  (!g || g && g.loading || !Be(m, g.error)) && ko({
@@ -9727,7 +9727,7 @@ function Gv(e, t, r, n, i, a, o, s, c) {
9727
9727
  loading: !1,
9728
9728
  networkStatus: Ie.error
9729
9729
  }, e, t, r, o, h, u.current);
9730
- }, b = { current: t.subscribe(E, T) };
9730
+ }, b = { current: t.subscribe(S, T) };
9731
9731
  return function() {
9732
9732
  setTimeout(function() {
9733
9733
  return b.current.unsubscribe();
@@ -9863,7 +9863,7 @@ function aa(e, t) {
9863
9863
  }
9864
9864
  var i = Ce.useRef(void 0), a = Ce.useRef(void 0), o = Ce.useRef(void 0), s = Yr(t, i.current || {}), c = (r = s == null ? void 0 : s.query) !== null && r !== void 0 ? r : e;
9865
9865
  a.current = t, o.current = c;
9866
- var u = z(z({}, s), { skip: !i.current }), l = eh(c, u), f = l.obsQueryFields, d = l.result, h = l.client, E = l.resultData, T = l.observable, b = l.onQueryExecuted, m = T.options.initialFetchPolicy || To(u.defaultOptions, h.defaultOptions), g = Ce.useReducer(function(j) {
9866
+ var u = z(z({}, s), { skip: !i.current }), l = eh(c, u), f = l.obsQueryFields, d = l.result, h = l.client, S = l.resultData, T = l.observable, b = l.onQueryExecuted, m = T.options.initialFetchPolicy || To(u.defaultOptions, h.defaultOptions), g = Ce.useReducer(function(j) {
9867
9867
  return j + 1;
9868
9868
  }, 0)[1], x = Ce.useMemo(function() {
9869
9869
  for (var j = {}, V = function(te) {
@@ -9893,7 +9893,7 @@ function aa(e, t) {
9893
9893
  i.current = j ? z(z({}, j), { fetchPolicy: j.fetchPolicy || m }) : {
9894
9894
  fetchPolicy: m
9895
9895
  };
9896
- var he = Yr(a.current, z({ query: o.current }, i.current)), oe = im(E, T, h, c, z(z({}, he), { skip: !1 }), b).then(function(X) {
9896
+ var he = Yr(a.current, z({ query: o.current }, i.current)), oe = im(S, T, h, c, z(z({}, he), { skip: !1 }), b).then(function(X) {
9897
9897
  return Object.assign(X, x);
9898
9898
  });
9899
9899
  return oe.catch(function() {
@@ -9905,7 +9905,7 @@ function aa(e, t) {
9905
9905
  x,
9906
9906
  m,
9907
9907
  T,
9908
- E,
9908
+ S,
9909
9909
  b
9910
9910
  ]), A = Ce.useRef(O);
9911
9911
  Bv(function() {
@@ -10036,42 +10036,42 @@ function cm() {
10036
10036
  e[i] = n[i], t[n.charCodeAt(i)] = i;
10037
10037
  t[45] = 62, t[95] = 63;
10038
10038
  function o(h) {
10039
- var E = h.length;
10040
- if (E % 4 > 0)
10039
+ var S = h.length;
10040
+ if (S % 4 > 0)
10041
10041
  throw new Error("Invalid string. Length must be a multiple of 4");
10042
10042
  var T = h.indexOf("=");
10043
- T === -1 && (T = E);
10044
- var b = T === E ? 0 : 4 - T % 4;
10043
+ T === -1 && (T = S);
10044
+ var b = T === S ? 0 : 4 - T % 4;
10045
10045
  return [T, b];
10046
10046
  }
10047
10047
  function s(h) {
10048
- var E = o(h), T = E[0], b = E[1];
10048
+ var S = o(h), T = S[0], b = S[1];
10049
10049
  return (T + b) * 3 / 4 - b;
10050
10050
  }
10051
- function c(h, E, T) {
10052
- return (E + T) * 3 / 4 - T;
10051
+ function c(h, S, T) {
10052
+ return (S + T) * 3 / 4 - T;
10053
10053
  }
10054
10054
  function u(h) {
10055
- var E, T = o(h), b = T[0], m = T[1], g = new r(c(h, b, m)), x = 0, _ = m > 0 ? b - 4 : b, w;
10055
+ var S, T = o(h), b = T[0], m = T[1], g = new r(c(h, b, m)), x = 0, _ = m > 0 ? b - 4 : b, w;
10056
10056
  for (w = 0; w < _; w += 4)
10057
- E = t[h.charCodeAt(w)] << 18 | t[h.charCodeAt(w + 1)] << 12 | t[h.charCodeAt(w + 2)] << 6 | t[h.charCodeAt(w + 3)], g[x++] = E >> 16 & 255, g[x++] = E >> 8 & 255, g[x++] = E & 255;
10058
- return m === 2 && (E = t[h.charCodeAt(w)] << 2 | t[h.charCodeAt(w + 1)] >> 4, g[x++] = E & 255), m === 1 && (E = t[h.charCodeAt(w)] << 10 | t[h.charCodeAt(w + 1)] << 4 | t[h.charCodeAt(w + 2)] >> 2, g[x++] = E >> 8 & 255, g[x++] = E & 255), g;
10057
+ S = t[h.charCodeAt(w)] << 18 | t[h.charCodeAt(w + 1)] << 12 | t[h.charCodeAt(w + 2)] << 6 | t[h.charCodeAt(w + 3)], g[x++] = S >> 16 & 255, g[x++] = S >> 8 & 255, g[x++] = S & 255;
10058
+ return m === 2 && (S = t[h.charCodeAt(w)] << 2 | t[h.charCodeAt(w + 1)] >> 4, g[x++] = S & 255), m === 1 && (S = t[h.charCodeAt(w)] << 10 | t[h.charCodeAt(w + 1)] << 4 | t[h.charCodeAt(w + 2)] >> 2, g[x++] = S >> 8 & 255, g[x++] = S & 255), g;
10059
10059
  }
10060
10060
  function l(h) {
10061
10061
  return e[h >> 18 & 63] + e[h >> 12 & 63] + e[h >> 6 & 63] + e[h & 63];
10062
10062
  }
10063
- function f(h, E, T) {
10064
- for (var b, m = [], g = E; g < T; g += 3)
10063
+ function f(h, S, T) {
10064
+ for (var b, m = [], g = S; g < T; g += 3)
10065
10065
  b = (h[g] << 16 & 16711680) + (h[g + 1] << 8 & 65280) + (h[g + 2] & 255), m.push(l(b));
10066
10066
  return m.join("");
10067
10067
  }
10068
10068
  function d(h) {
10069
- for (var E, T = h.length, b = T % 3, m = [], g = 16383, x = 0, _ = T - b; x < _; x += g)
10069
+ for (var S, T = h.length, b = T % 3, m = [], g = 16383, x = 0, _ = T - b; x < _; x += g)
10070
10070
  m.push(f(h, x, x + g > _ ? _ : x + g));
10071
- return b === 1 ? (E = h[T - 1], m.push(
10072
- e[E >> 2] + e[E << 4 & 63] + "=="
10073
- )) : b === 2 && (E = (h[T - 2] << 8) + h[T - 1], m.push(
10074
- e[E >> 10] + e[E >> 4 & 63] + e[E << 2 & 63] + "="
10071
+ return b === 1 ? (S = h[T - 1], m.push(
10072
+ e[S >> 2] + e[S << 4 & 63] + "=="
10073
+ )) : b === 2 && (S = (h[T - 2] << 8) + h[T - 1], m.push(
10074
+ e[S >> 10] + e[S >> 4 & 63] + e[S << 2 & 63] + "="
10075
10075
  )), m.join("");
10076
10076
  }
10077
10077
  return mn;
@@ -10095,12 +10095,12 @@ function um() {
10095
10095
  }
10096
10096
  return (h ? -1 : 1) * o * Math.pow(2, a - n);
10097
10097
  }, Kn.write = function(e, t, r, n, i, a) {
10098
- var o, s, c, u = a * 8 - i - 1, l = (1 << u) - 1, f = l >> 1, d = i === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0, h = n ? 0 : a - 1, E = n ? 1 : -1, T = t < 0 || t === 0 && 1 / t < 0 ? 1 : 0;
10099
- for (t = Math.abs(t), isNaN(t) || t === 1 / 0 ? (s = isNaN(t) ? 1 : 0, o = l) : (o = Math.floor(Math.log(t) / Math.LN2), t * (c = Math.pow(2, -o)) < 1 && (o--, c *= 2), o + f >= 1 ? t += d / c : t += d * Math.pow(2, 1 - f), t * c >= 2 && (o++, c /= 2), o + f >= l ? (s = 0, o = l) : o + f >= 1 ? (s = (t * c - 1) * Math.pow(2, i), o = o + f) : (s = t * Math.pow(2, f - 1) * Math.pow(2, i), o = 0)); i >= 8; e[r + h] = s & 255, h += E, s /= 256, i -= 8)
10098
+ var o, s, c, u = a * 8 - i - 1, l = (1 << u) - 1, f = l >> 1, d = i === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0, h = n ? 0 : a - 1, S = n ? 1 : -1, T = t < 0 || t === 0 && 1 / t < 0 ? 1 : 0;
10099
+ for (t = Math.abs(t), isNaN(t) || t === 1 / 0 ? (s = isNaN(t) ? 1 : 0, o = l) : (o = Math.floor(Math.log(t) / Math.LN2), t * (c = Math.pow(2, -o)) < 1 && (o--, c *= 2), o + f >= 1 ? t += d / c : t += d * Math.pow(2, 1 - f), t * c >= 2 && (o++, c /= 2), o + f >= l ? (s = 0, o = l) : o + f >= 1 ? (s = (t * c - 1) * Math.pow(2, i), o = o + f) : (s = t * Math.pow(2, f - 1) * Math.pow(2, i), o = 0)); i >= 8; e[r + h] = s & 255, h += S, s /= 256, i -= 8)
10100
10100
  ;
10101
- for (o = o << i | s, u += i; u > 0; e[r + h] = o & 255, h += E, o /= 256, u -= 8)
10101
+ for (o = o << i | s, u += i; u > 0; e[r + h] = o & 255, h += S, o /= 256, u -= 8)
10102
10102
  ;
10103
- e[r + h - E] |= T * 128;
10103
+ e[r + h - S] |= T * 128;
10104
10104
  }), Kn;
10105
10105
  }
10106
10106
  /*!
@@ -10162,7 +10162,7 @@ function lm() {
10162
10162
  if (typeof R == "string")
10163
10163
  return d(R, v);
10164
10164
  if (ArrayBuffer.isView(R))
10165
- return E(R);
10165
+ return S(R);
10166
10166
  if (R == null)
10167
10167
  throw new TypeError(
10168
10168
  "The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type " + typeof R
@@ -10221,7 +10221,7 @@ function lm() {
10221
10221
  y[N] = R[N] & 255;
10222
10222
  return y;
10223
10223
  }
10224
- function E(R) {
10224
+ function S(R) {
10225
10225
  if ($e(R, Uint8Array)) {
10226
10226
  const v = new Uint8Array(R);
10227
10227
  return T(v.buffer, v.byteOffset, v.byteLength);
@@ -11111,11 +11111,11 @@ function Et() {
11111
11111
  function h(C) {
11112
11112
  return r.call(C) === "[object Blob]";
11113
11113
  }
11114
- function E(C) {
11114
+ function S(C) {
11115
11115
  return r.call(C) === "[object Function]";
11116
11116
  }
11117
11117
  function T(C) {
11118
- return l(C) && E(C.pipe);
11118
+ return l(C) && S(C.pipe);
11119
11119
  }
11120
11120
  function b(C) {
11121
11121
  return typeof URLSearchParams < "u" && C instanceof URLSearchParams;
@@ -11162,7 +11162,7 @@ function Et() {
11162
11162
  isDate: f,
11163
11163
  isFile: d,
11164
11164
  isBlob: h,
11165
- isFunction: E,
11165
+ isFunction: S,
11166
11166
  isStream: T,
11167
11167
  isURLSearchParams: b,
11168
11168
  isStandardBrowserEnv: g,
@@ -11362,8 +11362,8 @@ function Yc() {
11362
11362
  e.isFormData(f) && delete d["Content-Type"];
11363
11363
  var h = new XMLHttpRequest();
11364
11364
  if (s.auth) {
11365
- var E = s.auth.username || "", T = s.auth.password || "";
11366
- d.Authorization = "Basic " + btoa(E + ":" + T);
11365
+ var S = s.auth.username || "", T = s.auth.password || "";
11366
+ d.Authorization = "Basic " + btoa(S + ":" + T);
11367
11367
  }
11368
11368
  if (h.open(s.method.toUpperCase(), r(s.url, s.params, s.paramsSerializer), !0), h.timeout = s.timeout, h.onreadystatechange = function() {
11369
11369
  if (!(!h || h.readyState !== 4) && !(h.status === 0 && !(h.responseURL && h.responseURL.indexOf("file:") === 0))) {
@@ -11732,7 +11732,7 @@ var Wt = {}, bn = {}, lu;
11732
11732
  function Wn() {
11733
11733
  return lu || (lu = 1, (function(e) {
11734
11734
  var t = bn && bn.__awaiter || function(l, f, d, h) {
11735
- return new (d || (d = Promise))(function(E, T) {
11735
+ return new (d || (d = Promise))(function(S, T) {
11736
11736
  function b(x) {
11737
11737
  try {
11738
11738
  g(h.next(x));
@@ -11748,7 +11748,7 @@ function Wn() {
11748
11748
  }
11749
11749
  }
11750
11750
  function g(x) {
11751
- x.done ? E(x.value) : new d(function(_) {
11751
+ x.done ? S(x.value) : new d(function(_) {
11752
11752
  _(x.value);
11753
11753
  }).then(b, m);
11754
11754
  }
@@ -11797,13 +11797,13 @@ function Wn() {
11797
11797
  return t(this, void 0, void 0, function* () {
11798
11798
  let h;
11799
11799
  try {
11800
- const E = this.bufferSize !== void 0 ? Math.max(this.bufferSize, d) : void 0;
11801
- h = yield this.dataLoader.load(f, E);
11802
- } catch (E) {
11803
- if (E instanceof n)
11800
+ const S = this.bufferSize !== void 0 ? Math.max(this.bufferSize, d) : void 0;
11801
+ h = yield this.dataLoader.load(f, S);
11802
+ } catch (S) {
11803
+ if (S instanceof n)
11804
11804
  h = yield this.dataLoader.load(f);
11805
11805
  else
11806
- throw E;
11806
+ throw S;
11807
11807
  }
11808
11808
  this.buffer = {
11809
11809
  data: h,
@@ -11817,21 +11817,21 @@ function Wn() {
11817
11817
  throw Error("Stream mode enabled, but DataLoader loadStream function not defined");
11818
11818
  this.stream !== void 0 && (this.stream.destroy(), this.stream = void 0);
11819
11819
  try {
11820
- const E = this.bufferSize !== void 0 ? Math.max(this.bufferSize, d) : void 0;
11821
- this.stream = yield this.dataLoader.loadStream(f, E);
11822
- } catch (E) {
11823
- if (E instanceof n)
11820
+ const S = this.bufferSize !== void 0 ? Math.max(this.bufferSize, d) : void 0;
11821
+ this.stream = yield this.dataLoader.loadStream(f, S);
11822
+ } catch (S) {
11823
+ if (S instanceof n)
11824
11824
  this.stream = yield this.dataLoader.loadStream(f);
11825
11825
  else
11826
- throw E;
11826
+ throw S;
11827
11827
  }
11828
11828
  const h = {
11829
11829
  data: new ArrayBuffer(0),
11830
11830
  start: f,
11831
11831
  remainingBytes: this.bufferSize
11832
11832
  };
11833
- this.buffer = h, this.stream.on("data", (E) => {
11834
- if (h.data = u(h.data, E), h.remainingBytes !== void 0 && (h.remainingBytes = h.remainingBytes -= E.byteLength), this.streamCaughtUpLock !== void 0) {
11833
+ this.buffer = h, this.stream.on("data", (S) => {
11834
+ if (h.data = u(h.data, S), h.remainingBytes !== void 0 && (h.remainingBytes = h.remainingBytes -= S.byteLength), this.streamCaughtUpLock !== void 0) {
11835
11835
  const T = h.start + h.data.byteLength;
11836
11836
  this.streamCaughtUpLock.updatePosition(T);
11837
11837
  }
@@ -11846,31 +11846,31 @@ function Wn() {
11846
11846
  if (this.bufferSize === void 0)
11847
11847
  return !0;
11848
11848
  const h = f + d;
11849
- let E = this.buffer.start + this.buffer.data.byteLength;
11850
- return this.buffer.remainingBytes !== void 0 && (E += this.buffer.remainingBytes), f >= this.buffer.start && h <= E;
11849
+ let S = this.buffer.start + this.buffer.data.byteLength;
11850
+ return this.buffer.remainingBytes !== void 0 && (S += this.buffer.remainingBytes), f >= this.buffer.start && h <= S;
11851
11851
  }
11852
11852
  getDataFromBuffer(f, d) {
11853
11853
  return t(this, void 0, void 0, function* () {
11854
11854
  if (this.buffer === void 0)
11855
11855
  throw new Error("Invalid State. Buffer should not be empty");
11856
- const h = f - this.buffer.start, E = h + d;
11856
+ const h = f - this.buffer.start, S = h + d;
11857
11857
  if (this.streamMode === !1) {
11858
11858
  if (d > this.buffer.data.byteLength)
11859
11859
  throw new a(`Requested ${d} bytes but only got back ${this.buffer.data.byteLength}`);
11860
- return this.buffer.data.slice(h, E);
11860
+ return this.buffer.data.slice(h, S);
11861
11861
  }
11862
11862
  const T = this.buffer.start + this.buffer.data.byteLength, b = f + d;
11863
11863
  this.streamCaughtUpLock = new c(T, b), yield this.streamCaughtUpLock.waitForStream();
11864
- const m = this.buffer.data.slice(h, E);
11865
- return this.buffer.data = this.buffer.data.slice(E, this.buffer.data.byteLength), this.buffer.start = this.buffer.start + E, m;
11864
+ const m = this.buffer.data.slice(h, S);
11865
+ return this.buffer.data = this.buffer.data.slice(S, this.buffer.data.byteLength), this.buffer.start = this.buffer.start + S, m;
11866
11866
  });
11867
11867
  }
11868
11868
  }
11869
11869
  e.BufferedDataLoader = s;
11870
11870
  class c {
11871
11871
  constructor(f, d) {
11872
- this.currentPos = f, this.caughtUpPos = d, this.promise = new Promise((h, E) => {
11873
- this.currentPos >= this.caughtUpPos && h(), this.promiseResolve = h, this.promiseReject = E;
11872
+ this.currentPos = f, this.caughtUpPos = d, this.promise = new Promise((h, S) => {
11873
+ this.currentPos >= this.caughtUpPos && h(), this.promiseResolve = h, this.promiseReject = S;
11874
11874
  });
11875
11875
  }
11876
11876
  waitForStream() {
@@ -11996,14 +11996,14 @@ function uh() {
11996
11996
  for (; O < x; ) {
11997
11997
  let A = O + _ - 1;
11998
11998
  A >= x && (A = x);
11999
- const M = yield E(C, b, m, O, A);
11999
+ const M = yield S(C, b, m, O, A);
12000
12000
  D.push(M), O = A + 1;
12001
12001
  }
12002
12002
  return D.push(null), D;
12003
12003
  });
12004
12004
  }
12005
12005
  Wt.streamSequence = h;
12006
- function E(T, b, m, g, x) {
12006
+ function S(T, b, m, g, x) {
12007
12007
  return e(this, void 0, void 0, function* () {
12008
12008
  let _ = [], w = [], C = "";
12009
12009
  g = g - 1 < 0 ? 0 : g - 1;
@@ -12029,7 +12029,7 @@ function uh() {
12029
12029
  }), C;
12030
12030
  });
12031
12031
  }
12032
- return Wt.loadSequence = E, Wt;
12032
+ return Wt.loadSequence = S, Wt;
12033
12033
  }
12034
12034
  var hu;
12035
12035
  function fs() {
@@ -12134,7 +12134,7 @@ function fs() {
12134
12134
  chromToId: {},
12135
12135
  chromSize: {},
12136
12136
  idToChrom: []
12137
- }, E(M, x);
12137
+ }, S(M, x);
12138
12138
  }
12139
12139
  return {
12140
12140
  fileType: m,
@@ -12148,7 +12148,7 @@ function fs() {
12148
12148
  });
12149
12149
  }
12150
12150
  e.loadHeaderData = h;
12151
- function E(T, b, m) {
12151
+ function S(T, b, m) {
12152
12152
  m !== void 0 && (b.position = m);
12153
12153
  const g = b.getByte();
12154
12154
  b.position++;
@@ -12162,7 +12162,7 @@ function fs() {
12162
12162
  for (let _ = 0; _ < x; _++) {
12163
12163
  b.getFixedLengthTrimmedString(T.keySize);
12164
12164
  const C = b.getLong() - f, D = b.position;
12165
- E(T, b, C), b.position = D;
12165
+ S(T, b, C), b.position = D;
12166
12166
  }
12167
12167
  }
12168
12168
  })(yn)), yn;
@@ -12230,7 +12230,7 @@ function Mm() {
12230
12230
  for (var P = k.length; --P >= 0; )
12231
12231
  k[P] = 0;
12232
12232
  }
12233
- var o = 0, s = 1, c = 2, u = 3, l = 258, f = 29, d = 256, h = d + 1 + f, E = 30, T = 19, b = 2 * h + 1, m = 15, g = 16, x = 7, _ = 256, w = 16, C = 17, D = 18, O = (
12233
+ var o = 0, s = 1, c = 2, u = 3, l = 258, f = 29, d = 256, h = d + 1 + f, S = 30, T = 19, b = 2 * h + 1, m = 15, g = 16, x = 7, _ = 256, w = 16, C = 17, D = 18, O = (
12234
12234
  /* extra bits for each length code */
12235
12235
  [0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5, 5, 0]
12236
12236
  ), A = (
@@ -12241,7 +12241,7 @@ function Mm() {
12241
12241
  [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 3, 7]
12242
12242
  ), j = [16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15], V = 512, $ = new Array((h + 2) * 2);
12243
12243
  a($);
12244
- var Z = new Array(E * 2);
12244
+ var Z = new Array(S * 2);
12245
12245
  a(Z);
12246
12246
  var W = new Array(V);
12247
12247
  a(W);
@@ -12249,7 +12249,7 @@ function Mm() {
12249
12249
  a(te);
12250
12250
  var Q = new Array(f);
12251
12251
  a(Q);
12252
- var he = new Array(E);
12252
+ var he = new Array(S);
12253
12253
  a(he);
12254
12254
  function oe(k, P, U, ie, B) {
12255
12255
  this.static_tree = k, this.extra_bits = P, this.extra_base = U, this.elems = ie, this.max_length = B, this.has_stree = k && k.length;
@@ -12319,7 +12319,7 @@ function Mm() {
12319
12319
  for (te[U - 1] = ie, B = 0, ie = 0; ie < 16; ie++)
12320
12320
  for (he[ie] = B, k = 0; k < 1 << A[ie]; k++)
12321
12321
  W[B++] = ie;
12322
- for (B >>= 7; ie < E; ie++)
12322
+ for (B >>= 7; ie < S; ie++)
12323
12323
  for (he[ie] = B << 7, k = 0; k < 1 << A[ie] - 7; k++)
12324
12324
  W[256 + B++] = ie;
12325
12325
  for (P = 0; P <= m; P++)
@@ -12332,15 +12332,15 @@ function Mm() {
12332
12332
  $[k * 2 + 1] = 7, k++, G[7]++;
12333
12333
  for (; k <= 287; )
12334
12334
  $[k * 2 + 1] = 8, k++, G[8]++;
12335
- for (Fe($, h + 1, G), k = 0; k < E; k++)
12335
+ for (Fe($, h + 1, G), k = 0; k < S; k++)
12336
12336
  Z[k * 2 + 1] = 5, Z[k * 2] = le(k, 5);
12337
- X = new oe($, O, d + 1, h, m), F = new oe(Z, A, 0, E, m), H = new oe(new Array(0), M, 0, T, x);
12337
+ X = new oe($, O, d + 1, h, m), F = new oe(Z, A, 0, S, m), H = new oe(new Array(0), M, 0, T, x);
12338
12338
  }
12339
12339
  function Ae(k) {
12340
12340
  var P;
12341
12341
  for (P = 0; P < h; P++)
12342
12342
  k.dyn_ltree[P * 2] = 0;
12343
- for (P = 0; P < E; P++)
12343
+ for (P = 0; P < S; P++)
12344
12344
  k.dyn_dtree[P * 2] = 0;
12345
12345
  for (P = 0; P < T; P++)
12346
12346
  k.bl_tree[P * 2] = 0;
@@ -12534,7 +12534,7 @@ var yu;
12534
12534
  function Am() {
12535
12535
  if (yu) return Tt;
12536
12536
  yu = 1;
12537
- var e = vr(), t = Mm(), r = lh(), n = fh(), i = hs(), a = 0, o = 1, s = 3, c = 4, u = 5, l = 0, f = 1, d = -2, h = -3, E = -5, T = -1, b = 1, m = 2, g = 3, x = 4, _ = 0, w = 2, C = 8, D = 9, O = 15, A = 8, M = 29, j = 256, V = j + 1 + M, $ = 30, Z = 19, W = 2 * V + 1, te = 15, Q = 3, he = 258, oe = he + Q + 1, X = 32, F = 42, H = 69, ne = 73, ce = 91, ge = 103, fe = 113, se = 666, le = 1, xe = 2, we = 3, Fe = 4, ae = 3;
12537
+ var e = vr(), t = Mm(), r = lh(), n = fh(), i = hs(), a = 0, o = 1, s = 3, c = 4, u = 5, l = 0, f = 1, d = -2, h = -3, S = -5, T = -1, b = 1, m = 2, g = 3, x = 4, _ = 0, w = 2, C = 8, D = 9, O = 15, A = 8, M = 29, j = 256, V = j + 1 + M, $ = 30, Z = 19, W = 2 * V + 1, te = 15, Q = 3, he = 258, oe = he + Q + 1, X = 32, F = 42, H = 69, ne = 73, ce = 91, ge = 103, fe = 113, se = 666, le = 1, xe = 2, we = 3, Fe = 4, ae = 3;
12538
12538
  function Ae(p, J) {
12539
12539
  return p.msg = i[J], J;
12540
12540
  }
@@ -12758,7 +12758,7 @@ function Am() {
12758
12758
  if (!p || !p.state || J > u || J < 0)
12759
12759
  return p ? Ae(p, d) : d;
12760
12760
  if (L = p.state, !p.output || !p.input && p.avail_in !== 0 || L.status === se && J !== c)
12761
- return Ae(p, p.avail_out === 0 ? E : d);
12761
+ return Ae(p, p.avail_out === 0 ? S : d);
12762
12762
  if (L.strm = p, K = L.last_flush, L.last_flush = J, L.status === F)
12763
12763
  if (L.wrap === 2)
12764
12764
  p.adler = 0, De(L, 31), De(L, 139), De(L, 8), L.gzhead ? (De(
@@ -12806,9 +12806,9 @@ function Am() {
12806
12806
  if (ht(p), p.avail_out === 0)
12807
12807
  return L.last_flush = -1, l;
12808
12808
  } else if (p.avail_in === 0 && nt(J) <= nt(K) && J !== c)
12809
- return Ae(p, E);
12809
+ return Ae(p, S);
12810
12810
  if (L.status === se && p.avail_in !== 0)
12811
- return Ae(p, E);
12811
+ return Ae(p, S);
12812
12812
  if (p.avail_in !== 0 || L.lookahead !== 0 || J !== a && L.status !== se) {
12813
12813
  var me = L.strategy === m ? R(L, J) : L.strategy === g ? Kt(L, J) : y[L.level].func(L, J);
12814
12814
  if ((me === we || me === Fe) && (L.status = se), me === le || me === we)
@@ -12916,8 +12916,8 @@ function Nm() {
12916
12916
  if (_u) return Rr;
12917
12917
  _u = 1;
12918
12918
  var e = Am(), t = vr(), r = hh(), n = hs(), i = dh(), a = Object.prototype.toString, o = 0, s = 4, c = 0, u = 1, l = 2, f = -1, d = 0, h = 8;
12919
- function E(g) {
12920
- if (!(this instanceof E)) return new E(g);
12919
+ function S(g) {
12920
+ if (!(this instanceof S)) return new S(g);
12921
12921
  this.options = t.assign({
12922
12922
  level: f,
12923
12923
  method: h,
@@ -12946,7 +12946,7 @@ function Nm() {
12946
12946
  this._dict_set = !0;
12947
12947
  }
12948
12948
  }
12949
- E.prototype.push = function(g, x) {
12949
+ S.prototype.push = function(g, x) {
12950
12950
  var _ = this.strm, w = this.options.chunkSize, C, D;
12951
12951
  if (this.ended)
12952
12952
  return !1;
@@ -12957,13 +12957,13 @@ function Nm() {
12957
12957
  (_.avail_out === 0 || _.avail_in === 0 && (D === s || D === l)) && (this.options.to === "string" ? this.onData(r.buf2binstring(t.shrinkBuf(_.output, _.next_out))) : this.onData(t.shrinkBuf(_.output, _.next_out)));
12958
12958
  } while ((_.avail_in > 0 || _.avail_out === 0) && C !== u);
12959
12959
  return D === s ? (C = e.deflateEnd(this.strm), this.onEnd(C), this.ended = !0, C === c) : (D === l && (this.onEnd(c), _.avail_out = 0), !0);
12960
- }, E.prototype.onData = function(g) {
12960
+ }, S.prototype.onData = function(g) {
12961
12961
  this.chunks.push(g);
12962
- }, E.prototype.onEnd = function(g) {
12962
+ }, S.prototype.onEnd = function(g) {
12963
12963
  g === c && (this.options.to === "string" ? this.result = this.chunks.join("") : this.result = t.flattenChunks(this.chunks)), this.chunks = [], this.err = g, this.msg = this.strm.msg;
12964
12964
  };
12965
12965
  function T(g, x) {
12966
- var _ = new E(x);
12966
+ var _ = new S(x);
12967
12967
  if (_.push(g, !0), _.err)
12968
12968
  throw _.msg || n[_.err];
12969
12969
  return _.result;
@@ -12974,7 +12974,7 @@ function Nm() {
12974
12974
  function m(g, x) {
12975
12975
  return x = x || {}, x.gzip = !0, T(g, x);
12976
12976
  }
12977
- return Rr.Deflate = E, Rr.deflate = T, Rr.deflateRaw = b, Rr.gzip = m, Rr;
12977
+ return Rr.Deflate = S, Rr.deflate = T, Rr.deflateRaw = b, Rr.gzip = m, Rr;
12978
12978
  }
12979
12979
  var Lr = {}, xt = {}, Pa, wu;
12980
12980
  function jm() {
@@ -12982,8 +12982,8 @@ function jm() {
12982
12982
  wu = 1;
12983
12983
  var e = 30, t = 12;
12984
12984
  return Pa = function(n, i) {
12985
- var a, o, s, c, u, l, f, d, h, E, T, b, m, g, x, _, w, C, D, O, A, M, j, V, $;
12986
- a = n.state, o = n.next_in, V = n.input, s = o + (n.avail_in - 5), c = n.next_out, $ = n.output, u = c - (i - n.avail_out), l = c + (n.avail_out - 257), f = a.dmax, d = a.wsize, h = a.whave, E = a.wnext, T = a.window, b = a.hold, m = a.bits, g = a.lencode, x = a.distcode, _ = (1 << a.lenbits) - 1, w = (1 << a.distbits) - 1;
12985
+ var a, o, s, c, u, l, f, d, h, S, T, b, m, g, x, _, w, C, D, O, A, M, j, V, $;
12986
+ a = n.state, o = n.next_in, V = n.input, s = o + (n.avail_in - 5), c = n.next_out, $ = n.output, u = c - (i - n.avail_out), l = c + (n.avail_out - 257), f = a.dmax, d = a.wsize, h = a.whave, S = a.wnext, T = a.window, b = a.hold, m = a.bits, g = a.lencode, x = a.distcode, _ = (1 << a.lenbits) - 1, w = (1 << a.distbits) - 1;
12987
12987
  e:
12988
12988
  do {
12989
12989
  m < 15 && (b += V[o++] << m, m += 8, b += V[o++] << m, m += 8), C = g[b & _];
@@ -13005,7 +13005,7 @@ function jm() {
13005
13005
  n.msg = "invalid distance too far back", a.mode = e;
13006
13006
  break e;
13007
13007
  }
13008
- if (M = 0, j = T, E === 0) {
13008
+ if (M = 0, j = T, S === 0) {
13009
13009
  if (M += d - D, D < O) {
13010
13010
  O -= D;
13011
13011
  do
@@ -13013,21 +13013,21 @@ function jm() {
13013
13013
  while (--D);
13014
13014
  M = c - A, j = $;
13015
13015
  }
13016
- } else if (E < D) {
13017
- if (M += d + E - D, D -= E, D < O) {
13016
+ } else if (S < D) {
13017
+ if (M += d + S - D, D -= S, D < O) {
13018
13018
  O -= D;
13019
13019
  do
13020
13020
  $[c++] = T[M++];
13021
13021
  while (--D);
13022
- if (M = 0, E < O) {
13023
- D = E, O -= D;
13022
+ if (M = 0, S < O) {
13023
+ D = S, O -= D;
13024
13024
  do
13025
13025
  $[c++] = T[M++];
13026
13026
  while (--D);
13027
13027
  M = c - A, j = $;
13028
13028
  }
13029
13029
  }
13030
- } else if (M += E - D, D < O) {
13030
+ } else if (M += S - D, D < O) {
13031
13031
  O -= D;
13032
13032
  do
13033
13033
  $[c++] = T[M++];
@@ -13208,12 +13208,12 @@ function Pm() {
13208
13208
  64,
13209
13209
  64
13210
13210
  ];
13211
- return Fa = function(d, h, E, T, b, m, g, x) {
13211
+ return Fa = function(d, h, S, T, b, m, g, x) {
13212
13212
  var _ = x.bits, w = 0, C = 0, D = 0, O = 0, A = 0, M = 0, j = 0, V = 0, $ = 0, Z = 0, W, te, Q, he, oe, X = null, F = 0, H, ne = new e.Buf16(t + 1), ce = new e.Buf16(t + 1), ge = null, fe = 0, se, le, xe;
13213
13213
  for (w = 0; w <= t; w++)
13214
13214
  ne[w] = 0;
13215
13215
  for (C = 0; C < T; C++)
13216
- ne[h[E + C]]++;
13216
+ ne[h[S + C]]++;
13217
13217
  for (A = _, O = t; O >= 1 && ne[O] === 0; O--)
13218
13218
  ;
13219
13219
  if (A > O && (A = O), O === 0)
@@ -13228,7 +13228,7 @@ function Pm() {
13228
13228
  for (ce[1] = 0, w = 1; w < t; w++)
13229
13229
  ce[w + 1] = ce[w] + ne[w];
13230
13230
  for (C = 0; C < T; C++)
13231
- h[E + C] !== 0 && (g[ce[h[E + C]]++] = C);
13231
+ h[S + C] !== 0 && (g[ce[h[S + C]]++] = C);
13232
13232
  if (d === i ? (X = ge = g, H = 19) : d === a ? (X = s, F -= 257, ge = c, fe -= 257, H = 256) : (X = u, ge = l, H = -1), Z = 0, C = 0, w = D, oe = m, M = A, j = 0, Q = -1, $ = 1 << A, he = $ - 1, d === a && $ > r || d === o && $ > n)
13233
13233
  return 1;
13234
13234
  for (; ; ) {
@@ -13241,7 +13241,7 @@ function Pm() {
13241
13241
  if (W !== 0 ? (Z &= W - 1, Z += W) : Z = 0, C++, --ne[w] === 0) {
13242
13242
  if (w === O)
13243
13243
  break;
13244
- w = h[E + g[C]];
13244
+ w = h[S + g[C]];
13245
13245
  }
13246
13246
  if (w > A && (Z & he) !== Q) {
13247
13247
  for (j === 0 && (j = A), oe += D, M = w - j, V = 1 << M; M + j < O && (V -= ne[M + j], !(V <= 0)); )
@@ -13258,7 +13258,7 @@ var Su;
13258
13258
  function Fm() {
13259
13259
  if (Su) return xt;
13260
13260
  Su = 1;
13261
- var e = vr(), t = lh(), r = fh(), n = jm(), i = Pm(), a = 0, o = 1, s = 2, c = 4, u = 5, l = 6, f = 0, d = 1, h = 2, E = -2, T = -3, b = -4, m = -5, g = 8, x = 1, _ = 2, w = 3, C = 4, D = 5, O = 6, A = 7, M = 8, j = 9, V = 10, $ = 11, Z = 12, W = 13, te = 14, Q = 15, he = 16, oe = 17, X = 18, F = 19, H = 20, ne = 21, ce = 22, ge = 23, fe = 24, se = 25, le = 26, xe = 27, we = 28, Fe = 29, ae = 30, Ae = 31, nt = 32, ot = 852, ht = 592, qe = 15, De = qe;
13261
+ var e = vr(), t = lh(), r = fh(), n = jm(), i = Pm(), a = 0, o = 1, s = 2, c = 4, u = 5, l = 6, f = 0, d = 1, h = 2, S = -2, T = -3, b = -4, m = -5, g = 8, x = 1, _ = 2, w = 3, C = 4, D = 5, O = 6, A = 7, M = 8, j = 9, V = 10, $ = 11, Z = 12, W = 13, te = 14, Q = 15, he = 16, oe = 17, X = 18, F = 19, H = 20, ne = 21, ce = 22, ge = 23, fe = 24, se = 25, le = 26, xe = 27, we = 28, Fe = 29, ae = 30, Ae = 31, nt = 32, ot = 852, ht = 592, qe = 15, De = qe;
13262
13262
  function vt(B) {
13263
13263
  return (B >>> 24 & 255) + (B >>> 8 & 65280) + ((B & 65280) << 8) + ((B & 255) << 24);
13264
13264
  }
@@ -13267,19 +13267,19 @@ function Fm() {
13267
13267
  }
13268
13268
  function gt(B) {
13269
13269
  var G;
13270
- return !B || !B.state ? E : (G = B.state, B.total_in = B.total_out = G.total = 0, B.msg = "", G.wrap && (B.adler = G.wrap & 1), G.mode = x, G.last = 0, G.havedict = 0, G.dmax = 32768, G.head = null, G.hold = 0, G.bits = 0, G.lencode = G.lendyn = new e.Buf32(ot), G.distcode = G.distdyn = new e.Buf32(ht), G.sane = 1, G.back = -1, f);
13270
+ return !B || !B.state ? S : (G = B.state, B.total_in = B.total_out = G.total = 0, B.msg = "", G.wrap && (B.adler = G.wrap & 1), G.mode = x, G.last = 0, G.havedict = 0, G.dmax = 32768, G.head = null, G.hold = 0, G.bits = 0, G.lencode = G.lendyn = new e.Buf32(ot), G.distcode = G.distdyn = new e.Buf32(ht), G.sane = 1, G.back = -1, f);
13271
13271
  }
13272
13272
  function $e(B) {
13273
13273
  var G;
13274
- return !B || !B.state ? E : (G = B.state, G.wsize = 0, G.whave = 0, G.wnext = 0, gt(B));
13274
+ return !B || !B.state ? S : (G = B.state, G.wsize = 0, G.whave = 0, G.wnext = 0, gt(B));
13275
13275
  }
13276
13276
  function At(B, G) {
13277
13277
  var I, ee;
13278
- return !B || !B.state || (ee = B.state, G < 0 ? (I = 0, G = -G) : (I = (G >> 4) + 1, G < 48 && (G &= 15)), G && (G < 8 || G > 15)) ? E : (ee.window !== null && ee.wbits !== G && (ee.window = null), ee.wrap = I, ee.wbits = G, $e(B));
13278
+ return !B || !B.state || (ee = B.state, G < 0 ? (I = 0, G = -G) : (I = (G >> 4) + 1, G < 48 && (G &= 15)), G && (G < 8 || G > 15)) ? S : (ee.window !== null && ee.wbits !== G && (ee.window = null), ee.wrap = I, ee.wbits = G, $e(B));
13279
13279
  }
13280
13280
  function Nt(B, G) {
13281
13281
  var I, ee;
13282
- return B ? (ee = new zt(), B.state = ee, ee.window = null, I = At(B, G), I !== f && (B.state = null), I) : E;
13282
+ return B ? (ee = new zt(), B.state = ee, ee.window = null, I = At(B, G), I !== f && (B.state = null), I) : S;
13283
13283
  }
13284
13284
  function Ze(B) {
13285
13285
  return Nt(B, De);
@@ -13312,7 +13312,7 @@ function Fm() {
13312
13312
  [16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15]
13313
13313
  );
13314
13314
  if (!B || !B.state || !B.output || !B.input && B.avail_in !== 0)
13315
- return E;
13315
+ return S;
13316
13316
  I = B.state, I.mode === Z && (I.mode = W), J = B.next_out, Ee = B.output, L = B.avail_out, p = B.next_in, ee = B.input, K = B.avail_in, q = I.hold, Y = I.bits, _e = K, pe = L, bt = f;
13317
13317
  e:
13318
13318
  for (; ; )
@@ -13751,24 +13751,24 @@ function Fm() {
13751
13751
  case nt:
13752
13752
  /* falls through */
13753
13753
  default:
13754
- return E;
13754
+ return S;
13755
13755
  }
13756
13756
  return B.next_out = J, B.avail_out = L, B.next_in = p, B.avail_in = K, I.hold = q, I.bits = Y, (I.wsize || pe !== B.avail_out && I.mode < ae && (I.mode < xe || G !== c)) && N(B, B.output, B.next_out, pe - B.avail_out), _e -= B.avail_in, pe -= B.avail_out, B.total_in += _e, B.total_out += pe, I.total += pe, I.wrap && pe && (B.adler = I.check = /*UPDATE(state.check, strm.next_out - _out, _out);*/
13757
13757
  I.flags ? r(I.check, Ee, pe, B.next_out - pe) : t(I.check, Ee, pe, B.next_out - pe)), B.data_type = I.bits + (I.last ? 64 : 0) + (I.mode === Z ? 128 : 0) + (I.mode === H || I.mode === Q ? 256 : 0), (_e === 0 && pe === 0 || G === c) && bt === f && (bt = m), bt;
13758
13758
  }
13759
13759
  function P(B) {
13760
13760
  if (!B || !B.state)
13761
- return E;
13761
+ return S;
13762
13762
  var G = B.state;
13763
13763
  return G.window && (G.window = null), B.state = null, f;
13764
13764
  }
13765
13765
  function U(B, G) {
13766
13766
  var I;
13767
- return !B || !B.state || (I = B.state, (I.wrap & 2) === 0) ? E : (I.head = G, G.done = !1, f);
13767
+ return !B || !B.state || (I = B.state, (I.wrap & 2) === 0) ? S : (I.head = G, G.done = !1, f);
13768
13768
  }
13769
13769
  function ie(B, G) {
13770
13770
  var I = G.length, ee, Ee, p;
13771
- return !B || !B.state || (ee = B.state, ee.wrap !== 0 && ee.mode !== $) ? E : ee.mode === $ && (Ee = 1, Ee = t(Ee, G, I, 0), Ee !== ee.check) ? T : (p = N(B, G, I, I), p ? (ee.mode = Ae, b) : (ee.havedict = 1, f));
13771
+ return !B || !B.state || (ee = B.state, ee.wrap !== 0 && ee.mode !== $) ? S : ee.mode === $ && (Ee = 1, Ee = t(Ee, G, I, 0), Ee !== ee.check) ? T : (p = N(B, G, I, I), p ? (ee.mode = Ae, b) : (ee.havedict = 1, f));
13772
13772
  }
13773
13773
  return xt.inflateReset = $e, xt.inflateReset2 = At, xt.inflateResetKeep = gt, xt.inflateInit = Ze, xt.inflateInit2 = Nt, xt.inflate = k, xt.inflateEnd = P, xt.inflateGetHeader = U, xt.inflateSetDictionary = ie, xt.inflateInfo = "pako inflate (from Nodeca project)", xt;
13774
13774
  }
@@ -13848,14 +13848,14 @@ function qm() {
13848
13848
  throw new Error(i[h]);
13849
13849
  }
13850
13850
  c.prototype.push = function(f, d) {
13851
- var h = this.strm, E = this.options.chunkSize, T = this.options.dictionary, b, m, g, x, _, w = !1;
13851
+ var h = this.strm, S = this.options.chunkSize, T = this.options.dictionary, b, m, g, x, _, w = !1;
13852
13852
  if (this.ended)
13853
13853
  return !1;
13854
13854
  m = d === ~~d ? d : d === !0 ? n.Z_FINISH : n.Z_NO_FLUSH, typeof f == "string" ? h.input = r.binstring2buf(f) : s.call(f) === "[object ArrayBuffer]" ? h.input = new Uint8Array(f) : h.input = f, h.next_in = 0, h.avail_in = h.input.length;
13855
13855
  do {
13856
- if (h.avail_out === 0 && (h.output = new t.Buf8(E), h.next_out = 0, h.avail_out = E), b = e.inflate(h, n.Z_NO_FLUSH), b === n.Z_NEED_DICT && T && (b = e.inflateSetDictionary(this.strm, T)), b === n.Z_BUF_ERROR && w === !0 && (b = n.Z_OK, w = !1), b !== n.Z_STREAM_END && b !== n.Z_OK)
13856
+ if (h.avail_out === 0 && (h.output = new t.Buf8(S), h.next_out = 0, h.avail_out = S), b = e.inflate(h, n.Z_NO_FLUSH), b === n.Z_NEED_DICT && T && (b = e.inflateSetDictionary(this.strm, T)), b === n.Z_BUF_ERROR && w === !0 && (b = n.Z_OK, w = !1), b !== n.Z_STREAM_END && b !== n.Z_OK)
13857
13857
  return this.onEnd(b), this.ended = !0, !1;
13858
- h.next_out && (h.avail_out === 0 || b === n.Z_STREAM_END || h.avail_in === 0 && (m === n.Z_FINISH || m === n.Z_SYNC_FLUSH)) && (this.options.to === "string" ? (g = r.utf8border(h.output, h.next_out), x = h.next_out - g, _ = r.buf2string(h.output, g), h.next_out = x, h.avail_out = E - x, x && t.arraySet(h.output, h.output, g, x, 0), this.onData(_)) : this.onData(t.shrinkBuf(h.output, h.next_out))), h.avail_in === 0 && h.avail_out === 0 && (w = !0);
13858
+ h.next_out && (h.avail_out === 0 || b === n.Z_STREAM_END || h.avail_in === 0 && (m === n.Z_FINISH || m === n.Z_SYNC_FLUSH)) && (this.options.to === "string" ? (g = r.utf8border(h.output, h.next_out), x = h.next_out - g, _ = r.buf2string(h.output, g), h.next_out = x, h.avail_out = S - x, x && t.arraySet(h.output, h.output, g, x, 0), this.onData(_)) : this.onData(t.shrinkBuf(h.output, h.next_out))), h.avail_in === 0 && h.avail_out === 0 && (w = !0);
13859
13859
  } while ((h.avail_in > 0 || h.avail_out === 0) && b !== n.Z_STREAM_END);
13860
13860
  return b === n.Z_STREAM_END && (m = n.Z_FINISH), m === n.Z_FINISH ? (b = e.inflateEnd(this.strm), this.onEnd(b), this.ended = !0, b === n.Z_OK) : (m === n.Z_SYNC_FLUSH && (this.onEnd(n.Z_OK), h.avail_out = 0), !0);
13861
13861
  }, c.prototype.onData = function(f) {
@@ -13945,12 +13945,12 @@ function Um() {
13945
13945
  }
13946
13946
  readBigBedData(g, x, _, w) {
13947
13947
  return e(this, void 0, void 0, function* () {
13948
- return this.readData(g, x, _, w, (yield this.getHeader()).common.fullIndexOffset, E);
13948
+ return this.readData(g, x, _, w, (yield this.getHeader()).common.fullIndexOffset, S);
13949
13949
  });
13950
13950
  }
13951
13951
  streamBigBedData(g, x, _, w) {
13952
13952
  return e(this, void 0, void 0, function* () {
13953
- return this.streamData(g, x, _, w, (yield this.getHeader()).common.fullIndexOffset, E);
13953
+ return this.streamData(g, x, _, w, (yield this.getHeader()).common.fullIndexOffset, S);
13954
13954
  });
13955
13955
  }
13956
13956
  readTwoBitData(g, x, _) {
@@ -14049,7 +14049,7 @@ function Um() {
14049
14049
  return W;
14050
14050
  });
14051
14051
  }
14052
- function E(m, g, x, _, w, C) {
14052
+ function S(m, g, x, _, w, C) {
14053
14053
  const D = [], O = new r.BinaryParser(m), A = 13;
14054
14054
  for (; O.remLength() >= A; ) {
14055
14055
  const j = O.getInt(), V = C[j], $ = O.getInt(), Z = O.getInt(), W = O.getString();
@@ -14188,20 +14188,20 @@ function $m() {
14188
14188
  function l(h) {
14189
14189
  try {
14190
14190
  d(s.next(h));
14191
- } catch (E) {
14192
- u(E);
14191
+ } catch (S) {
14192
+ u(S);
14193
14193
  }
14194
14194
  }
14195
14195
  function f(h) {
14196
14196
  try {
14197
14197
  d(s.throw(h));
14198
- } catch (E) {
14199
- u(E);
14198
+ } catch (S) {
14199
+ u(S);
14200
14200
  }
14201
14201
  }
14202
14202
  function d(h) {
14203
- h.done ? c(h.value) : new o(function(E) {
14204
- E(h.value);
14203
+ h.done ? c(h.value) : new o(function(S) {
14204
+ S(h.value);
14205
14205
  }).then(l, f);
14206
14206
  }
14207
14207
  d((s = s.apply(i, a || [])).next());
@@ -14272,7 +14272,7 @@ function vh() {
14272
14272
  d(m);
14273
14273
  }
14274
14274
  }
14275
- function E(b) {
14275
+ function S(b) {
14276
14276
  try {
14277
14277
  T(l.throw(b));
14278
14278
  } catch (m) {
@@ -14282,7 +14282,7 @@ function vh() {
14282
14282
  function T(b) {
14283
14283
  b.done ? f(b.value) : new u(function(m) {
14284
14284
  m(b.value);
14285
- }).then(h, E);
14285
+ }).then(h, S);
14286
14286
  }
14287
14287
  T((l = l.apply(s, c || [])).next());
14288
14288
  });
@@ -14298,9 +14298,9 @@ function vh() {
14298
14298
  if ((yield this.readUInt()) !== i)
14299
14299
  throw Error("Invalid Bam File!");
14300
14300
  const u = yield this.readInt(), l = yield this.readString(u), f = yield this.readInt(), d = {}, h = [];
14301
- for (let E = 0; E < f; E++) {
14301
+ for (let S = 0; S < f; S++) {
14302
14302
  const T = yield this.readInt(), b = yield this.readString(T);
14303
- yield this.readInt(), d[b] = E, h.push(b);
14303
+ yield this.readInt(), d[b] = S, h.push(b);
14304
14304
  }
14305
14305
  return { text: l, chromToId: d, idToChrom: h };
14306
14306
  });
@@ -14464,7 +14464,7 @@ function mh() {
14464
14464
  for (let D = 0; D < C; D++)
14465
14465
  _.position += 8;
14466
14466
  }
14467
- function E(_, w) {
14467
+ function S(_, w) {
14468
14468
  return e(this, void 0, void 0, function* () {
14469
14469
  const C = new t.BufferedDataLoader(_, void 0, !0);
14470
14470
  let D = 0;
@@ -14499,7 +14499,7 @@ function mh() {
14499
14499
  return O.push(null), O;
14500
14500
  });
14501
14501
  }
14502
- Dt.streamRawBamIndex = E;
14502
+ Dt.streamRawBamIndex = S;
14503
14503
  function T(_) {
14504
14504
  return d(new r.BinaryParser(_));
14505
14505
  }
@@ -14635,13 +14635,13 @@ function Gm() {
14635
14635
  const w = Array();
14636
14636
  for (let C of b) {
14637
14637
  const D = C.end.blockPosition + 65536 - C.start.blockPosition, O = yield T.load(C.start.blockPosition, D), A = i.bgzfUnzip(O);
14638
- E(A.slice(C.start.dataPosition), m, g, x, _).forEach((j) => w.push(j));
14638
+ S(A.slice(C.start.dataPosition), m, g, x, _).forEach((j) => w.push(j));
14639
14639
  }
14640
14640
  return w;
14641
14641
  });
14642
14642
  }
14643
14643
  e.readBam = h;
14644
- function E(T, b, m, g, x) {
14644
+ function S(T, b, m, g, x) {
14645
14645
  const _ = new a.BinaryParser(T), w = new Array();
14646
14646
  for (; _.position < T.byteLength; ) {
14647
14647
  const C = _.getInt(), D = _.position + C;
@@ -14876,7 +14876,7 @@ async function og(e) {
14876
14876
  const { track: t, domain: r, queries: n } = e, i = await Promise.all([
14877
14877
  kr(t.url, r, -1, n),
14878
14878
  kr(t.signalURL, r, -1, n)
14879
- ]), a = i[0].data[0], o = ((u = (c = i[1]) == null ? void 0 : c.data) == null ? void 0 : u.map((E) => E.value)) ?? [], s = (l = i[0]) != null && l.error || (f = i[1]) != null && f.error ? ((d = i[0]) == null ? void 0 : d.error) + `
14879
+ ]), a = i[0].data[0], o = ((u = (c = i[1]) == null ? void 0 : c.data) == null ? void 0 : u.map((S) => S.value)) ?? [], s = (l = i[0]) != null && l.error || (f = i[1]) != null && f.error ? ((d = i[0]) == null ? void 0 : d.error) + `
14880
14880
  ` + ((h = i[1]) == null ? void 0 : h.error) : null;
14881
14881
  return { data: { sequence: a, importance: o }, error: s };
14882
14882
  }
@@ -15021,9 +15021,9 @@ function mg({ value: e }) {
15021
15021
  const o = t.current.getBBox().width;
15022
15022
  n(o);
15023
15023
  }
15024
- }, [e, t, n]), /* @__PURE__ */ S.jsxs("g", { style: { filter: `drop-shadow(0 0 2px ${i})` }, children: [
15025
- /* @__PURE__ */ S.jsx("rect", { rx: 2, y: -15, width: r + 10, height: 20, fill: a }),
15026
- /* @__PURE__ */ S.jsx("text", { ref: t, x: 5, y: 1, fill: i, children: e })
15024
+ }, [e, t, n]), /* @__PURE__ */ E.jsxs("g", { style: { filter: `drop-shadow(0 0 2px ${i})` }, children: [
15025
+ /* @__PURE__ */ E.jsx("rect", { rx: 2, y: -15, width: r + 10, height: 20, fill: a }),
15026
+ /* @__PURE__ */ E.jsx("text", { ref: t, x: 5, y: 1, fill: i, children: e })
15027
15027
  ] });
15028
15028
  }
15029
15029
  function St({
@@ -15035,7 +15035,7 @@ function St({
15035
15035
  const i = Ur((u) => u.showTooltip), a = Ur((u) => u.hideTooltip), o = Rt(
15036
15036
  (u, l, f) => {
15037
15037
  t && t(u);
15038
- const d = n ? jo(n, u) : /* @__PURE__ */ S.jsx(mg, { value: l });
15038
+ const d = n ? jo(n, u) : /* @__PURE__ */ E.jsx(mg, { value: l });
15039
15039
  i(d, f.clientX, f.clientY);
15040
15040
  },
15041
15041
  [t, n, i]
@@ -15126,7 +15126,7 @@ function Ut(e) {
15126
15126
  const a = ye(() => Do(r, e), [e, r]), o = ye(() => yg(r, e), [e, r]);
15127
15127
  return { x: a, reverseX: o };
15128
15128
  }
15129
- const Or = ({ width: e, height: t, id: r }) => /* @__PURE__ */ S.jsx("clipPath", { id: r, children: /* @__PURE__ */ S.jsx("rect", { x: 0, y: 0, width: e, height: t }) });
15129
+ const Or = ({ width: e, height: t, id: r }) => /* @__PURE__ */ E.jsx("clipPath", { id: r, children: /* @__PURE__ */ E.jsx("rect", { x: 0, y: 0, width: e, height: t }) });
15130
15130
  function ji(e, t, r, n = 10) {
15131
15131
  return r = r || 0, e.reduce((i, a) => {
15132
15132
  let o = !1;
@@ -15196,18 +15196,18 @@ function _h({
15196
15196
  onLeave: c,
15197
15197
  tooltip: u
15198
15198
  }) {
15199
- const { totalWidth: l, sideWidth: f } = i, { x: d, reverseX: h } = Ut(l), E = ye(() => wg(t || [], d), [t, d]), { handleClick: T, handleHover: b, handleLeave: m } = St({
15199
+ const { totalWidth: l, sideWidth: f } = i, { x: d, reverseX: h } = Ut(l), S = ye(() => wg(t || [], d), [t, d]), { handleClick: T, handleHover: b, handleLeave: m } = St({
15200
15200
  onClick: o,
15201
15201
  onHover: s,
15202
15202
  onLeave: c,
15203
15203
  tooltip: u
15204
15204
  });
15205
- return /* @__PURE__ */ S.jsxs("g", { width: l, height: r, clipPath: `url(#${e})`, transform: `translate(-${f}, 0)`, children: [
15206
- /* @__PURE__ */ S.jsx("rect", { width: l, height: r, fill: "transparent" }),
15207
- /* @__PURE__ */ S.jsx("defs", { children: /* @__PURE__ */ S.jsx(Or, { id: e, width: l, height: r }) }),
15208
- E.map((g, x) => {
15205
+ return /* @__PURE__ */ E.jsxs("g", { width: l, height: r, clipPath: `url(#${e})`, transform: `translate(-${f}, 0)`, children: [
15206
+ /* @__PURE__ */ E.jsx("rect", { width: l, height: r, fill: "transparent" }),
15207
+ /* @__PURE__ */ E.jsx("defs", { children: /* @__PURE__ */ E.jsx(Or, { id: e, width: l, height: r }) }),
15208
+ S.map((g, x) => {
15209
15209
  const _ = xh(g, h), w = r * (1 - 2 * a), C = r * a;
15210
- return /* @__PURE__ */ S.jsx(
15210
+ return /* @__PURE__ */ E.jsx(
15211
15211
  "rect",
15212
15212
  {
15213
15213
  style: { cursor: o ? "pointer" : "default" },
@@ -15303,7 +15303,7 @@ function Tg(e, t, r, n) {
15303
15303
  }
15304
15304
  function Dg({ id: e, data: t, color: r, height: n, dimensions: i, tooltip: a }) {
15305
15305
  var M;
15306
- const { sideWidth: o, viewWidth: s, totalWidth: c } = i, u = (c / s - 1) / 2, l = be((j) => j.multiplier), f = Oe((j) => j.editTrack), d = be((j) => j.delta), h = be((j) => j.marginWidth), E = be((j) => j.svgRef), T = ye(() => {
15306
+ const { sideWidth: o, viewWidth: s, totalWidth: c } = i, u = (c / s - 1) / 2, l = be((j) => j.multiplier), f = Oe((j) => j.editTrack), d = be((j) => j.delta), h = be((j) => j.marginWidth), S = be((j) => j.svgRef), T = ye(() => {
15307
15307
  const V = ((t == null ? void 0 : t.length) ?? 0) / l, $ = Math.floor(u * V), Z = Math.floor((u + 1) * V), W = t == null ? void 0 : t.slice($, Z);
15308
15308
  return bh(W ?? []);
15309
15309
  }, [t, l, u]);
@@ -15321,7 +15321,7 @@ function Dg({ id: e, data: t, color: r, height: n, dimensions: i, tooltip: a })
15321
15321
  const Z = j($.max);
15322
15322
  return Xt(r, Z / 1.25);
15323
15323
  });
15324
- }, [r, m, T]), x = Gt((j) => j.text), { mouseState: _, updateMouseState: w, clearMouseState: C } = ps(E, c, h, o), D = ye(() => {
15324
+ }, [r, m, T]), x = Gt((j) => j.text), { mouseState: _, updateMouseState: w, clearMouseState: C } = ps(S, c, h, o), D = ye(() => {
15325
15325
  var j;
15326
15326
  return (j = _.pos) != null && j.x ? _.pos.x - h + o : 0;
15327
15327
  }, [(M = _.pos) == null ? void 0 : M.x, h, o]), { handleHover: O, handleLeave: A } = St({
@@ -15330,11 +15330,11 @@ function Dg({ id: e, data: t, color: r, height: n, dimensions: i, tooltip: a })
15330
15330
  onLeave: void 0,
15331
15331
  tooltip: a
15332
15332
  });
15333
- return /* @__PURE__ */ S.jsxs("g", { width: c, height: n, transform: `translate(-${o}, 0)`, children: [
15334
- /* @__PURE__ */ S.jsx("defs", { children: /* @__PURE__ */ S.jsx("linearGradient", { id: e, children: g.map((j, V) => /* @__PURE__ */ S.jsx("stop", { offset: `${V}%`, stopColor: j }, `${e}_pt_${V}`)) }) }),
15335
- /* @__PURE__ */ S.jsx("rect", { width: c, x: 0, y: n / 3, height: n / 3, fill: `url('#${e}')` }),
15336
- !d && D && /* @__PURE__ */ S.jsx("line", { stroke: x, x1: D, x2: D, y1: 0, y2: n }),
15337
- /* @__PURE__ */ S.jsx(
15333
+ return /* @__PURE__ */ E.jsxs("g", { width: c, height: n, transform: `translate(-${o}, 0)`, children: [
15334
+ /* @__PURE__ */ E.jsx("defs", { children: /* @__PURE__ */ E.jsx("linearGradient", { id: e, children: g.map((j, V) => /* @__PURE__ */ E.jsx("stop", { offset: `${V}%`, stopColor: j }, `${e}_pt_${V}`)) }) }),
15335
+ /* @__PURE__ */ E.jsx("rect", { width: c, x: 0, y: n / 3, height: n / 3, fill: `url('#${e}')` }),
15336
+ !d && D && /* @__PURE__ */ E.jsx("line", { stroke: x, x1: D, x2: D, y1: 0, y2: n }),
15337
+ /* @__PURE__ */ E.jsx(
15338
15338
  "rect",
15339
15339
  {
15340
15340
  width: s,
@@ -15372,7 +15372,7 @@ var zu;
15372
15372
  function Cg() {
15373
15373
  if (zu) return Ne;
15374
15374
  zu = 1;
15375
- var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, r = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, i = e ? Symbol.for("react.strict_mode") : 60108, a = e ? Symbol.for("react.profiler") : 60114, o = e ? Symbol.for("react.provider") : 60109, s = e ? Symbol.for("react.context") : 60110, c = e ? Symbol.for("react.async_mode") : 60111, u = e ? Symbol.for("react.concurrent_mode") : 60111, l = e ? Symbol.for("react.forward_ref") : 60112, f = e ? Symbol.for("react.suspense") : 60113, d = e ? Symbol.for("react.suspense_list") : 60120, h = e ? Symbol.for("react.memo") : 60115, E = e ? Symbol.for("react.lazy") : 60116, T = e ? Symbol.for("react.block") : 60121, b = e ? Symbol.for("react.fundamental") : 60117, m = e ? Symbol.for("react.responder") : 60118, g = e ? Symbol.for("react.scope") : 60119;
15375
+ var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, r = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, i = e ? Symbol.for("react.strict_mode") : 60108, a = e ? Symbol.for("react.profiler") : 60114, o = e ? Symbol.for("react.provider") : 60109, s = e ? Symbol.for("react.context") : 60110, c = e ? Symbol.for("react.async_mode") : 60111, u = e ? Symbol.for("react.concurrent_mode") : 60111, l = e ? Symbol.for("react.forward_ref") : 60112, f = e ? Symbol.for("react.suspense") : 60113, d = e ? Symbol.for("react.suspense_list") : 60120, h = e ? Symbol.for("react.memo") : 60115, S = e ? Symbol.for("react.lazy") : 60116, T = e ? Symbol.for("react.block") : 60121, b = e ? Symbol.for("react.fundamental") : 60117, m = e ? Symbol.for("react.responder") : 60118, g = e ? Symbol.for("react.scope") : 60119;
15376
15376
  function x(w) {
15377
15377
  if (typeof w == "object" && w !== null) {
15378
15378
  var C = w.$$typeof;
@@ -15390,7 +15390,7 @@ function Cg() {
15390
15390
  switch (w = w && w.$$typeof, w) {
15391
15391
  case s:
15392
15392
  case l:
15393
- case E:
15393
+ case S:
15394
15394
  case h:
15395
15395
  case o:
15396
15396
  return w;
@@ -15406,7 +15406,7 @@ function Cg() {
15406
15406
  function _(w) {
15407
15407
  return x(w) === u;
15408
15408
  }
15409
- return Ne.AsyncMode = c, Ne.ConcurrentMode = u, Ne.ContextConsumer = s, Ne.ContextProvider = o, Ne.Element = t, Ne.ForwardRef = l, Ne.Fragment = n, Ne.Lazy = E, Ne.Memo = h, Ne.Portal = r, Ne.Profiler = a, Ne.StrictMode = i, Ne.Suspense = f, Ne.isAsyncMode = function(w) {
15409
+ return Ne.AsyncMode = c, Ne.ConcurrentMode = u, Ne.ContextConsumer = s, Ne.ContextProvider = o, Ne.Element = t, Ne.ForwardRef = l, Ne.Fragment = n, Ne.Lazy = S, Ne.Memo = h, Ne.Portal = r, Ne.Profiler = a, Ne.StrictMode = i, Ne.Suspense = f, Ne.isAsyncMode = function(w) {
15410
15410
  return _(w) || x(w) === c;
15411
15411
  }, Ne.isConcurrentMode = _, Ne.isContextConsumer = function(w) {
15412
15412
  return x(w) === s;
@@ -15419,7 +15419,7 @@ function Cg() {
15419
15419
  }, Ne.isFragment = function(w) {
15420
15420
  return x(w) === n;
15421
15421
  }, Ne.isLazy = function(w) {
15422
- return x(w) === E;
15422
+ return x(w) === S;
15423
15423
  }, Ne.isMemo = function(w) {
15424
15424
  return x(w) === h;
15425
15425
  }, Ne.isPortal = function(w) {
@@ -15431,7 +15431,7 @@ function Cg() {
15431
15431
  }, Ne.isSuspense = function(w) {
15432
15432
  return x(w) === f;
15433
15433
  }, Ne.isValidElementType = function(w) {
15434
- return typeof w == "string" || typeof w == "function" || w === n || w === u || w === a || w === i || w === f || w === d || typeof w == "object" && w !== null && (w.$$typeof === E || w.$$typeof === h || w.$$typeof === o || w.$$typeof === s || w.$$typeof === l || w.$$typeof === b || w.$$typeof === m || w.$$typeof === g || w.$$typeof === T);
15434
+ return typeof w == "string" || typeof w == "function" || w === n || w === u || w === a || w === i || w === f || w === d || typeof w == "object" && w !== null && (w.$$typeof === S || w.$$typeof === h || w.$$typeof === o || w.$$typeof === s || w.$$typeof === l || w.$$typeof === b || w.$$typeof === m || w.$$typeof === g || w.$$typeof === T);
15435
15435
  }, Ne.typeOf = x, Ne;
15436
15436
  }
15437
15437
  var je = {};
@@ -15446,10 +15446,10 @@ var je = {};
15446
15446
  var Vu;
15447
15447
  function Og() {
15448
15448
  return Vu || (Vu = 1, process.env.NODE_ENV !== "production" && (function() {
15449
- var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, r = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, i = e ? Symbol.for("react.strict_mode") : 60108, a = e ? Symbol.for("react.profiler") : 60114, o = e ? Symbol.for("react.provider") : 60109, s = e ? Symbol.for("react.context") : 60110, c = e ? Symbol.for("react.async_mode") : 60111, u = e ? Symbol.for("react.concurrent_mode") : 60111, l = e ? Symbol.for("react.forward_ref") : 60112, f = e ? Symbol.for("react.suspense") : 60113, d = e ? Symbol.for("react.suspense_list") : 60120, h = e ? Symbol.for("react.memo") : 60115, E = e ? Symbol.for("react.lazy") : 60116, T = e ? Symbol.for("react.block") : 60121, b = e ? Symbol.for("react.fundamental") : 60117, m = e ? Symbol.for("react.responder") : 60118, g = e ? Symbol.for("react.scope") : 60119;
15449
+ var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, r = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, i = e ? Symbol.for("react.strict_mode") : 60108, a = e ? Symbol.for("react.profiler") : 60114, o = e ? Symbol.for("react.provider") : 60109, s = e ? Symbol.for("react.context") : 60110, c = e ? Symbol.for("react.async_mode") : 60111, u = e ? Symbol.for("react.concurrent_mode") : 60111, l = e ? Symbol.for("react.forward_ref") : 60112, f = e ? Symbol.for("react.suspense") : 60113, d = e ? Symbol.for("react.suspense_list") : 60120, h = e ? Symbol.for("react.memo") : 60115, S = e ? Symbol.for("react.lazy") : 60116, T = e ? Symbol.for("react.block") : 60121, b = e ? Symbol.for("react.fundamental") : 60117, m = e ? Symbol.for("react.responder") : 60118, g = e ? Symbol.for("react.scope") : 60119;
15450
15450
  function x(ae) {
15451
15451
  return typeof ae == "string" || typeof ae == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
15452
- ae === n || ae === u || ae === a || ae === i || ae === f || ae === d || typeof ae == "object" && ae !== null && (ae.$$typeof === E || ae.$$typeof === h || ae.$$typeof === o || ae.$$typeof === s || ae.$$typeof === l || ae.$$typeof === b || ae.$$typeof === m || ae.$$typeof === g || ae.$$typeof === T);
15452
+ ae === n || ae === u || ae === a || ae === i || ae === f || ae === d || typeof ae == "object" && ae !== null && (ae.$$typeof === S || ae.$$typeof === h || ae.$$typeof === o || ae.$$typeof === s || ae.$$typeof === l || ae.$$typeof === b || ae.$$typeof === m || ae.$$typeof === g || ae.$$typeof === T);
15453
15453
  }
15454
15454
  function _(ae) {
15455
15455
  if (typeof ae == "object" && ae !== null) {
@@ -15470,7 +15470,7 @@ function Og() {
15470
15470
  switch (ot) {
15471
15471
  case s:
15472
15472
  case l:
15473
- case E:
15473
+ case S:
15474
15474
  case h:
15475
15475
  case o:
15476
15476
  return ot;
@@ -15483,7 +15483,7 @@ function Og() {
15483
15483
  }
15484
15484
  }
15485
15485
  }
15486
- var w = c, C = u, D = s, O = o, A = t, M = l, j = n, V = E, $ = h, Z = r, W = a, te = i, Q = f, he = !1;
15486
+ var w = c, C = u, D = s, O = o, A = t, M = l, j = n, V = S, $ = h, Z = r, W = a, te = i, Q = f, he = !1;
15487
15487
  function oe(ae) {
15488
15488
  return he || (he = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), X(ae) || _(ae) === c;
15489
15489
  }
@@ -15506,7 +15506,7 @@ function Og() {
15506
15506
  return _(ae) === n;
15507
15507
  }
15508
15508
  function fe(ae) {
15509
- return _(ae) === E;
15509
+ return _(ae) === S;
15510
15510
  }
15511
15511
  function se(ae) {
15512
15512
  return _(ae) === h;
@@ -15622,8 +15622,8 @@ function Rg() {
15622
15622
  throw d.name = "Invariant Violation", d;
15623
15623
  }
15624
15624
  f = a[l](o, l, c, s, null, t);
15625
- } catch (E) {
15626
- f = E;
15625
+ } catch (S) {
15626
+ f = S;
15627
15627
  }
15628
15628
  if (f && !(f instanceof Error) && e(
15629
15629
  (c || "React class") + ": type specification of " + s + " `" + l + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof f + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
@@ -15686,7 +15686,7 @@ function Lg() {
15686
15686
  shape: V,
15687
15687
  exact: $
15688
15688
  };
15689
- function E(X, F) {
15689
+ function S(X, F) {
15690
15690
  return X === F ? X !== 0 || 1 / X === 1 / F : X !== X && F !== F;
15691
15691
  }
15692
15692
  function T(X, F) {
@@ -15790,7 +15790,7 @@ function Lg() {
15790
15790
  ) : a("Invalid argument supplied to oneOf, expected an array.")), o;
15791
15791
  function F(H, ne, ce, ge, fe) {
15792
15792
  for (var se = H[ne], le = 0; le < X.length; le++)
15793
- if (E(se, X[le]))
15793
+ if (S(se, X[le]))
15794
15794
  return null;
15795
15795
  var xe = JSON.stringify(X, function(Fe, ae) {
15796
15796
  var Ae = Q(ae);
@@ -16100,7 +16100,7 @@ function ms() {
16100
16100
  if (tl) return Xe;
16101
16101
  tl = 1, Object.defineProperty(Xe, "__esModule", {
16102
16102
  value: !0
16103
- }), Xe.addClassName = w, Xe.addEvent = o, Xe.addUserSelectStyles = g, Xe.createCSSTransform = h, Xe.createSVGTransform = E, Xe.getTouch = b, Xe.getTouchIdentifier = m, Xe.getTranslation = T, Xe.innerHeight = l, Xe.innerWidth = f, Xe.matchesSelector = i, Xe.matchesSelectorAndParentsTo = a, Xe.offsetXYFromParent = d, Xe.outerHeight = c, Xe.outerWidth = u, Xe.removeClassName = C, Xe.removeEvent = s, Xe.scheduleRemoveUserSelectStyles = x;
16103
+ }), Xe.addClassName = w, Xe.addEvent = o, Xe.addUserSelectStyles = g, Xe.createCSSTransform = h, Xe.createSVGTransform = S, Xe.getTouch = b, Xe.getTouchIdentifier = m, Xe.getTranslation = T, Xe.innerHeight = l, Xe.innerWidth = f, Xe.matchesSelector = i, Xe.matchesSelectorAndParentsTo = a, Xe.offsetXYFromParent = d, Xe.outerHeight = c, Xe.outerWidth = u, Xe.removeClassName = C, Xe.removeEvent = s, Xe.scheduleRemoveUserSelectStyles = x;
16104
16104
  var e = Pi(), t = r(Ng());
16105
16105
  function r(D, O) {
16106
16106
  if (typeof WeakMap == "function") var A = /* @__PURE__ */ new WeakMap(), M = /* @__PURE__ */ new WeakMap();
@@ -16183,7 +16183,7 @@ function ms() {
16183
16183
  [(0, t.browserPrefixToKey)("transform", t.default)]: A
16184
16184
  };
16185
16185
  }
16186
- function E(D, O) {
16186
+ function S(D, O) {
16187
16187
  return T(D, O, "");
16188
16188
  }
16189
16189
  function T(D, O, A) {
@@ -16246,30 +16246,30 @@ function Th() {
16246
16246
  function r(f, d, h) {
16247
16247
  if (!f.props.bounds) return [d, h];
16248
16248
  let {
16249
- bounds: E
16249
+ bounds: S
16250
16250
  } = f.props;
16251
- E = typeof E == "string" ? E : u(E);
16251
+ S = typeof S == "string" ? S : u(S);
16252
16252
  const T = l(f);
16253
- if (typeof E == "string") {
16253
+ if (typeof S == "string") {
16254
16254
  const {
16255
16255
  ownerDocument: b
16256
16256
  } = T, m = b.defaultView;
16257
16257
  let g;
16258
- if (E === "parent" ? g = T.parentNode : g = T.getRootNode().querySelector(E), !(g instanceof m.HTMLElement))
16259
- throw new Error('Bounds selector "' + E + '" could not find an element.');
16258
+ if (S === "parent" ? g = T.parentNode : g = T.getRootNode().querySelector(S), !(g instanceof m.HTMLElement))
16259
+ throw new Error('Bounds selector "' + S + '" could not find an element.');
16260
16260
  const x = g, _ = m.getComputedStyle(T), w = m.getComputedStyle(x);
16261
- E = {
16261
+ S = {
16262
16262
  left: -T.offsetLeft + (0, e.int)(w.paddingLeft) + (0, e.int)(_.marginLeft),
16263
16263
  top: -T.offsetTop + (0, e.int)(w.paddingTop) + (0, e.int)(_.marginTop),
16264
16264
  right: (0, t.innerWidth)(x) - (0, t.outerWidth)(T) - T.offsetLeft + (0, e.int)(w.paddingRight) - (0, e.int)(_.marginRight),
16265
16265
  bottom: (0, t.innerHeight)(x) - (0, t.outerHeight)(T) - T.offsetTop + (0, e.int)(w.paddingBottom) - (0, e.int)(_.marginBottom)
16266
16266
  };
16267
16267
  }
16268
- return (0, e.isNum)(E.right) && (d = Math.min(d, E.right)), (0, e.isNum)(E.bottom) && (h = Math.min(h, E.bottom)), (0, e.isNum)(E.left) && (d = Math.max(d, E.left)), (0, e.isNum)(E.top) && (h = Math.max(h, E.top)), [d, h];
16268
+ return (0, e.isNum)(S.right) && (d = Math.min(d, S.right)), (0, e.isNum)(S.bottom) && (h = Math.min(h, S.bottom)), (0, e.isNum)(S.left) && (d = Math.max(d, S.left)), (0, e.isNum)(S.top) && (h = Math.max(h, S.top)), [d, h];
16269
16269
  }
16270
16270
  function n(f, d, h) {
16271
- const E = Math.round(d / f[0]) * f[0], T = Math.round(h / f[1]) * f[1];
16272
- return [E, T];
16271
+ const S = Math.round(d / f[0]) * f[0], T = Math.round(h / f[1]) * f[1];
16272
+ return [S, T];
16273
16273
  }
16274
16274
  function i(f) {
16275
16275
  return f.props.axis === "both" || f.props.axis === "x";
@@ -16278,14 +16278,14 @@ function Th() {
16278
16278
  return f.props.axis === "both" || f.props.axis === "y";
16279
16279
  }
16280
16280
  function o(f, d, h) {
16281
- const E = typeof d == "number" ? (0, t.getTouch)(f, d) : null;
16282
- if (typeof d == "number" && !E) return null;
16281
+ const S = typeof d == "number" ? (0, t.getTouch)(f, d) : null;
16282
+ if (typeof d == "number" && !S) return null;
16283
16283
  const T = l(h), b = h.props.offsetParent || T.offsetParent || T.ownerDocument.body;
16284
- return (0, t.offsetXYFromParent)(E || f, b, h.props.scale);
16284
+ return (0, t.offsetXYFromParent)(S || f, b, h.props.scale);
16285
16285
  }
16286
16286
  function s(f, d, h) {
16287
- const E = !(0, e.isNum)(f.lastX), T = l(f);
16288
- return E ? {
16287
+ const S = !(0, e.isNum)(f.lastX), T = l(f);
16288
+ return S ? {
16289
16289
  node: T,
16290
16290
  deltaX: 0,
16291
16291
  deltaY: 0,
@@ -16394,7 +16394,7 @@ function jg() {
16394
16394
  stop: "mouseup"
16395
16395
  }
16396
16396
  };
16397
- let h = d.mouse, E = class extends e.Component {
16397
+ let h = d.mouse, S = class extends e.Component {
16398
16398
  constructor() {
16399
16399
  super(...arguments), u(this, "dragging", !1), u(this, "lastX", NaN), u(this, "lastY", NaN), u(this, "touchIdentifier", null), u(this, "mounted", !1), u(this, "handleDragStart", (b) => {
16400
16400
  if (this.props.onMouseDown(b), !this.props.allowAnyClick && typeof b.button == "number" && b.button !== 0) return !1;
@@ -16495,7 +16495,7 @@ function jg() {
16495
16495
  });
16496
16496
  }
16497
16497
  };
16498
- return En.default = E, u(E, "displayName", "DraggableCore"), u(E, "propTypes", {
16498
+ return En.default = S, u(S, "displayName", "DraggableCore"), u(S, "propTypes", {
16499
16499
  /**
16500
16500
  * `allowAnyClick` allows dragging using any mouse button.
16501
16501
  * By default, we only accept the left button.
@@ -16625,7 +16625,7 @@ function jg() {
16625
16625
  className: a.dontSetMe,
16626
16626
  style: a.dontSetMe,
16627
16627
  transform: a.dontSetMe
16628
- }), u(E, "defaultProps", {
16628
+ }), u(S, "defaultProps", {
16629
16629
  allowAnyClick: !1,
16630
16630
  // by default only accept left click
16631
16631
  allowMobileScroll: !1,
@@ -16681,9 +16681,9 @@ function Pg() {
16681
16681
  }, d.apply(null, arguments);
16682
16682
  }
16683
16683
  function h(m, g, x) {
16684
- return (g = E(g)) in m ? Object.defineProperty(m, g, { value: x, enumerable: !0, configurable: !0, writable: !0 }) : m[g] = x, m;
16684
+ return (g = S(g)) in m ? Object.defineProperty(m, g, { value: x, enumerable: !0, configurable: !0, writable: !0 }) : m[g] = x, m;
16685
16685
  }
16686
- function E(m) {
16686
+ function S(m) {
16687
16687
  var g = T(m, "string");
16688
16688
  return typeof g == "symbol" ? g : g + "";
16689
16689
  }
@@ -16989,24 +16989,24 @@ function Ch({ children: e, id: t }) {
16989
16989
  return;
16990
16990
  }
16991
16991
  a({ x: s, y: 0 }), u();
16992
- }, h = ye(() => r ? "grabbing" : s != 0 ? "default" : "grab", [s, r]), E = ye(() => s != 0 ? () => !1 : () => {
16992
+ }, h = ye(() => r ? "grabbing" : s != 0 ? "default" : "grab", [s, r]), S = ye(() => s != 0 ? () => !1 : () => {
16993
16993
  }, [s]);
16994
- return /* @__PURE__ */ S.jsx(
16994
+ return /* @__PURE__ */ E.jsx(
16995
16995
  Fi,
16996
16996
  {
16997
16997
  nodeRef: o,
16998
16998
  scale: l,
16999
16999
  position: i,
17000
17000
  axis: "x",
17001
- onStart: E,
17001
+ onStart: S,
17002
17002
  onDrag: (T, b) => f(T, b),
17003
17003
  onStop: d,
17004
- children: /* @__PURE__ */ S.jsx("g", { id: `drag-track-${t}`, ref: o, height: "100%", style: { cursor: h }, children: e })
17004
+ children: /* @__PURE__ */ E.jsx("g", { id: `drag-track-${t}`, ref: o, height: "100%", style: { cursor: h }, children: e })
17005
17005
  }
17006
17006
  );
17007
17007
  }
17008
17008
  function qg(e) {
17009
- return /* @__PURE__ */ S.jsx(
17009
+ return /* @__PURE__ */ E.jsx(
17010
17010
  "svg",
17011
17011
  {
17012
17012
  fill: e.fill || "#000000",
@@ -17018,8 +17018,8 @@ function qg(e) {
17018
17018
  version: "1.1",
17019
17019
  id: "Capa_1",
17020
17020
  viewBox: "0 0 54 54",
17021
- children: /* @__PURE__ */ S.jsxs("g", { children: [
17022
- /* @__PURE__ */ S.jsx(
17021
+ children: /* @__PURE__ */ E.jsxs("g", { children: [
17022
+ /* @__PURE__ */ E.jsx(
17023
17023
  "path",
17024
17024
  {
17025
17025
  d: `M51.22,21h-5.052c-0.812,0-1.481-0.447-1.792-1.197s-0.153-1.54,0.42-2.114l3.572-3.571
@@ -17047,7 +17047,7 @@ function qg(e) {
17047
17047
  l-3.572,3.571c-1.148,1.148-1.476,2.794-0.854,4.294c0.621,1.5,2.016,2.432,3.64,2.432h5.052C51.65,23,52,23.35,52,23.78V30.22z`
17048
17048
  }
17049
17049
  ),
17050
- /* @__PURE__ */ S.jsx(
17050
+ /* @__PURE__ */ E.jsx(
17051
17051
  "path",
17052
17052
  {
17053
17053
  d: `M27,18c-4.963,0-9,4.037-9,9s4.037,9,9,9s9-4.037,9-9S31.963,18,27,18z M27,34c-3.859,0-7-3.141-7-7s3.141-7,7-7
@@ -17059,7 +17059,7 @@ function qg(e) {
17059
17059
  );
17060
17060
  }
17061
17061
  function Ug(e) {
17062
- return /* @__PURE__ */ S.jsx(
17062
+ return /* @__PURE__ */ E.jsx(
17063
17063
  "svg",
17064
17064
  {
17065
17065
  fill: e.fill || "#000000",
@@ -17070,7 +17070,7 @@ function Ug(e) {
17070
17070
  xmlnsXlink: "http://www.w3.org/1999/xlink",
17071
17071
  viewBox: "0 0 24 24",
17072
17072
  xmlns: "http://www.w3.org/2000/svg",
17073
- children: /* @__PURE__ */ S.jsx(
17073
+ children: /* @__PURE__ */ E.jsx(
17074
17074
  "path",
17075
17075
  {
17076
17076
  stroke: e.fill || "#000000",
@@ -17084,7 +17084,7 @@ function Ug(e) {
17084
17084
  );
17085
17085
  }
17086
17086
  function zg(e) {
17087
- return /* @__PURE__ */ S.jsx(
17087
+ return /* @__PURE__ */ E.jsx(
17088
17088
  "svg",
17089
17089
  {
17090
17090
  fill: e.fill || "#000000",
@@ -17094,7 +17094,7 @@ function zg(e) {
17094
17094
  height: e.height,
17095
17095
  viewBox: "0 0 24 24",
17096
17096
  xmlns: "http://www.w3.org/2000/svg",
17097
- children: /* @__PURE__ */ S.jsx(
17097
+ children: /* @__PURE__ */ E.jsx(
17098
17098
  "path",
17099
17099
  {
17100
17100
  stroke: e.fill || "#000000",
@@ -17116,7 +17116,7 @@ function Vg({
17116
17116
  onLeave: a,
17117
17117
  verticalMargin: o
17118
17118
  }) {
17119
- const s = be((M) => M.marginWidth), u = be((M) => M.fontSize) * 0.8, l = Sn((M) => M.showModal), f = rt(null), d = Oe((M) => M.getTrackIndex), h = Oe((M) => M.tracks.length), E = Oe((M) => M.shiftTracks), T = d(e), b = T > 0, m = T < h - 1, g = (M) => {
17119
+ const s = be((M) => M.marginWidth), u = be((M) => M.fontSize) * 0.8, l = Sn((M) => M.showModal), f = rt(null), d = Oe((M) => M.getTrackIndex), h = Oe((M) => M.tracks.length), S = Oe((M) => M.shiftTracks), T = d(e), b = T > 0, m = T < h - 1, g = (M) => {
17120
17120
  if (M.stopPropagation(), f.current) {
17121
17121
  const j = f.current.getBoundingClientRect(), V = {
17122
17122
  x: j.left,
@@ -17125,9 +17125,9 @@ function Vg({
17125
17125
  l(e, V);
17126
17126
  }
17127
17127
  }, x = (M) => {
17128
- M.stopPropagation(), E(e, 0);
17128
+ M.stopPropagation(), S(e, 0);
17129
17129
  }, _ = (M) => {
17130
- M.stopPropagation(), E(e, -1);
17130
+ M.stopPropagation(), S(e, -1);
17131
17131
  }, w = Oe((M) => {
17132
17132
  var j;
17133
17133
  return (j = M.getTrack(e)) == null ? void 0 : j.range;
@@ -17135,7 +17135,7 @@ function Vg({
17135
17135
  var j;
17136
17136
  return (j = M.getTrack(e)) == null ? void 0 : j.customRange;
17137
17137
  }) || w, O = _t((M) => M.background), A = _t((M) => M.text);
17138
- return /* @__PURE__ */ S.jsxs(
17138
+ return /* @__PURE__ */ E.jsxs(
17139
17139
  "g",
17140
17140
  {
17141
17141
  id: `margin-${e}`,
@@ -17144,7 +17144,7 @@ function Vg({
17144
17144
  onMouseMove: i,
17145
17145
  onMouseLeave: a,
17146
17146
  children: [
17147
- /* @__PURE__ */ S.jsx(
17147
+ /* @__PURE__ */ E.jsx(
17148
17148
  "rect",
17149
17149
  {
17150
17150
  className: "swap-handle",
@@ -17156,15 +17156,15 @@ function Vg({
17156
17156
  style: { cursor: e === "ruler" ? "default" : n ? "grabbing" : "grab" }
17157
17157
  }
17158
17158
  ),
17159
- /* @__PURE__ */ S.jsx("rect", { x: 0, y: 0, width: s / 15, height: t, stroke: "#000000", strokeWidth: 0.5, fill: r }),
17160
- /* @__PURE__ */ S.jsxs("g", { id: `margin-buttons-${e}`, children: [
17161
- e !== "ruler" && /* @__PURE__ */ S.jsxs("g", { ref: f, onClick: g, style: { cursor: "pointer" }, children: [
17162
- /* @__PURE__ */ S.jsx(qg, { x: s / 10, y: t / 2 + 2, height: 15, width: 15, fill: A }),
17163
- /* @__PURE__ */ S.jsx("circle", { cx: s / 10 + 7.5, cy: t / 2 + 10, r: 7.5, strokeWidth: 0, fill: "transparent" })
17159
+ /* @__PURE__ */ E.jsx("rect", { x: 0, y: 0, width: s / 15, height: t, stroke: "#000000", strokeWidth: 0.5, fill: r }),
17160
+ /* @__PURE__ */ E.jsxs("g", { id: `margin-buttons-${e}`, children: [
17161
+ e !== "ruler" && /* @__PURE__ */ E.jsxs("g", { ref: f, onClick: g, style: { cursor: "pointer" }, children: [
17162
+ /* @__PURE__ */ E.jsx(qg, { x: s / 10, y: t / 2 + 2, height: 15, width: 15, fill: A }),
17163
+ /* @__PURE__ */ E.jsx("circle", { cx: s / 10 + 7.5, cy: t / 2 + 10, r: 7.5, strokeWidth: 0, fill: "transparent" })
17164
17164
  ] }),
17165
- e !== "ruler" && /* @__PURE__ */ S.jsxs("g", { onClick: b ? x : void 0, style: { cursor: "pointer" }, children: [
17166
- /* @__PURE__ */ S.jsx("circle", { cx: s / 10 + 22.5, cy: t / 2 + 10, r: 7.5, strokeWidth: 0, fill: "transparent" }),
17167
- /* @__PURE__ */ S.jsx(
17165
+ e !== "ruler" && /* @__PURE__ */ E.jsxs("g", { onClick: b ? x : void 0, style: { cursor: "pointer" }, children: [
17166
+ /* @__PURE__ */ E.jsx("circle", { cx: s / 10 + 22.5, cy: t / 2 + 10, r: 7.5, strokeWidth: 0, fill: "transparent" }),
17167
+ /* @__PURE__ */ E.jsx(
17168
17168
  Ug,
17169
17169
  {
17170
17170
  x: s / 10 + 15,
@@ -17175,9 +17175,9 @@ function Vg({
17175
17175
  }
17176
17176
  )
17177
17177
  ] }),
17178
- e !== "ruler" && /* @__PURE__ */ S.jsxs("g", { onClick: m ? _ : void 0, style: { cursor: "pointer" }, children: [
17179
- /* @__PURE__ */ S.jsx("circle", { cx: s / 10 + 37.5, cy: t / 2 + 10, r: 7.5, strokeWidth: 0, fill: "transparent" }),
17180
- /* @__PURE__ */ S.jsx(
17178
+ e !== "ruler" && /* @__PURE__ */ E.jsxs("g", { onClick: m ? _ : void 0, style: { cursor: "pointer" }, children: [
17179
+ /* @__PURE__ */ E.jsx("circle", { cx: s / 10 + 37.5, cy: t / 2 + 10, r: 7.5, strokeWidth: 0, fill: "transparent" }),
17180
+ /* @__PURE__ */ E.jsx(
17181
17181
  zg,
17182
17182
  {
17183
17183
  x: s / 10 + 30,
@@ -17189,11 +17189,11 @@ function Vg({
17189
17189
  )
17190
17190
  ] })
17191
17191
  ] }),
17192
- D && /* @__PURE__ */ S.jsxs(S.Fragment, { children: [
17193
- /* @__PURE__ */ S.jsx(sl, { color: A, position: t, width: s, fontSize: u, children: D.min.toFixed(2) }),
17194
- /* @__PURE__ */ S.jsx(sl, { color: A, position: o, width: s, fontSize: u, children: D.max.toFixed(2) })
17192
+ D && /* @__PURE__ */ E.jsxs(E.Fragment, { children: [
17193
+ /* @__PURE__ */ E.jsx(sl, { color: A, position: t, width: s, fontSize: u, children: D.min.toFixed(2) }),
17194
+ /* @__PURE__ */ E.jsx(sl, { color: A, position: o, width: s, fontSize: u, children: D.max.toFixed(2) })
17195
17195
  ] }),
17196
- /* @__PURE__ */ S.jsx("line", { stroke: "#ccc", x1: s, x2: s, y1: 0, y2: t })
17196
+ /* @__PURE__ */ E.jsx("line", { stroke: "#ccc", x1: s, x2: s, y1: 0, y2: t })
17197
17197
  ]
17198
17198
  }
17199
17199
  );
@@ -17205,8 +17205,8 @@ function sl({
17205
17205
  fontSize: n,
17206
17206
  color: i
17207
17207
  }) {
17208
- return /* @__PURE__ */ S.jsxs(S.Fragment, { children: [
17209
- /* @__PURE__ */ S.jsx(
17208
+ return /* @__PURE__ */ E.jsxs(E.Fragment, { children: [
17209
+ /* @__PURE__ */ E.jsx(
17210
17210
  "text",
17211
17211
  {
17212
17212
  fill: i,
@@ -17218,7 +17218,7 @@ function sl({
17218
17218
  children: r
17219
17219
  }
17220
17220
  ),
17221
- /* @__PURE__ */ S.jsx("line", { x1: t * 0.96, x2: t, y1: e, y2: e, stroke: i })
17221
+ /* @__PURE__ */ E.jsx("line", { x1: t * 0.96, x2: t, y1: e, y2: e, stroke: i })
17222
17222
  ] });
17223
17223
  }
17224
17224
  const Qe = 80;
@@ -17229,11 +17229,11 @@ function $g() {
17229
17229
  }, [s, n]);
17230
17230
  const u = _t((f) => f.text);
17231
17231
  return ye(() => {
17232
- const f = a.end - a.start, h = Math.pow(10, Math.floor(Math.log10(Math.ceil(f / 20)))) * 6, E = i(), T = (Math.ceil(E.end / h) - Math.ceil(E.start / h)) * h / 2, b = { start: E.start + T / 2, end: E.end - T / 2 }, m = [];
17232
+ const f = a.end - a.start, h = Math.pow(10, Math.floor(Math.log10(Math.ceil(f / 20)))) * 6, S = i(), T = (Math.ceil(S.end / h) - Math.ceil(S.start / h)) * h / 2, b = { start: S.start + T / 2, end: S.end - T / 2 }, m = [];
17233
17233
  for (let g = Math.ceil(a.start / h); g < Math.ceil(a.end / h); ++g)
17234
17234
  m.push(
17235
- /* @__PURE__ */ S.jsxs("g", { children: [
17236
- /* @__PURE__ */ S.jsx(
17235
+ /* @__PURE__ */ E.jsxs("g", { children: [
17236
+ /* @__PURE__ */ E.jsx(
17237
17237
  "line",
17238
17238
  {
17239
17239
  x1: c(g * h),
@@ -17244,7 +17244,7 @@ function $g() {
17244
17244
  strokeWidth: 0.5
17245
17245
  }
17246
17246
  ),
17247
- g >= Math.ceil(a.start / h) && /* @__PURE__ */ S.jsx(
17247
+ g >= Math.ceil(a.start / h) && /* @__PURE__ */ E.jsx(
17248
17248
  "text",
17249
17249
  {
17250
17250
  style: {
@@ -17265,8 +17265,8 @@ function $g() {
17265
17265
  )
17266
17266
  ] }, "ruler_" + g)
17267
17267
  );
17268
- return /* @__PURE__ */ S.jsxs("g", { width: r, height: Qe, transform: `translate(-${t}, 0)`, children: [
17269
- /* @__PURE__ */ S.jsx(
17268
+ return /* @__PURE__ */ E.jsxs("g", { width: r, height: Qe, transform: `translate(-${t}, 0)`, children: [
17269
+ /* @__PURE__ */ E.jsx(
17270
17270
  "line",
17271
17271
  {
17272
17272
  x1: c(b.start),
@@ -17277,7 +17277,7 @@ function $g() {
17277
17277
  strokeWidth: 0.5
17278
17278
  }
17279
17279
  ),
17280
- /* @__PURE__ */ S.jsx(
17280
+ /* @__PURE__ */ E.jsx(
17281
17281
  "line",
17282
17282
  {
17283
17283
  x1: c(b.end),
@@ -17288,7 +17288,7 @@ function $g() {
17288
17288
  strokeWidth: 0.5
17289
17289
  }
17290
17290
  ),
17291
- /* @__PURE__ */ S.jsx(
17291
+ /* @__PURE__ */ E.jsx(
17292
17292
  "line",
17293
17293
  {
17294
17294
  x1: c(b.start),
@@ -17299,7 +17299,7 @@ function $g() {
17299
17299
  strokeWidth: 0.5
17300
17300
  }
17301
17301
  ),
17302
- /* @__PURE__ */ S.jsx(
17302
+ /* @__PURE__ */ E.jsx(
17303
17303
  "text",
17304
17304
  {
17305
17305
  style: {
@@ -17332,15 +17332,15 @@ function Hg({
17332
17332
  height: n,
17333
17333
  width: i
17334
17334
  }) {
17335
- const [a, o] = Me({ x: 0, y: 0 }), [s, c] = Me(!1), [u, l] = Me(0), f = rt(null), d = gs(), h = be((w) => w.marginWidth), E = Oe((w) => w.shiftTracks), T = Oe((w) => w.getTrackIndex), b = gh(e), m = pg(e), g = (w, C) => {
17335
+ const [a, o] = Me({ x: 0, y: 0 }), [s, c] = Me(!1), [u, l] = Me(0), f = rt(null), d = gs(), h = be((w) => w.marginWidth), S = Oe((w) => w.shiftTracks), T = Oe((w) => w.getTrackIndex), b = gh(e), m = pg(e), g = (w, C) => {
17336
17336
  w.preventDefault(), c(!0), r(!0), o({ x: 0, y: C.y }), l(C.y);
17337
17337
  }, x = () => {
17338
17338
  if (o({ x: 0, y: 0 }), c(!1), r(!1), Math.abs(u) <= 5) return;
17339
17339
  const w = m.reduce((D, O, A) => Math.abs(O - u) < Math.abs(m[D] - u) ? A : D, 0), C = T(e);
17340
- w !== C && (E(e, w), l(0));
17340
+ w !== C && (S(e, w), l(0));
17341
17341
  }, _ = e === "ruler" ? () => !1 : () => {
17342
17342
  };
17343
- return /* @__PURE__ */ S.jsx(
17343
+ return /* @__PURE__ */ E.jsx(
17344
17344
  Fi,
17345
17345
  {
17346
17346
  scale: d,
@@ -17351,7 +17351,7 @@ function Hg({
17351
17351
  onStart: _,
17352
17352
  onDrag: g,
17353
17353
  onStop: x,
17354
- children: /* @__PURE__ */ S.jsx("g", { id: `swap-track-${e}`, ref: f, children: s ? /* @__PURE__ */ S.jsx(Qg, { height: n, width: i, margin: h, position: b + a.y + Qe, children: t }) : t })
17354
+ children: /* @__PURE__ */ E.jsx("g", { id: `swap-track-${e}`, ref: f, children: s ? /* @__PURE__ */ E.jsx(Qg, { height: n, width: i, margin: h, position: b + a.y + Qe, children: t }) : t })
17355
17355
  }
17356
17356
  );
17357
17357
  }
@@ -17364,14 +17364,14 @@ function Qg({
17364
17364
  }) {
17365
17365
  const a = be((c) => c.svgRef), o = gs(), s = rt(null);
17366
17366
  return Tl(
17367
- /* @__PURE__ */ S.jsx(
17367
+ /* @__PURE__ */ E.jsx(
17368
17368
  Fi,
17369
17369
  {
17370
17370
  nodeRef: s,
17371
17371
  scale: o,
17372
17372
  position: { x: 0, y: t },
17373
- children: /* @__PURE__ */ S.jsxs("g", { ref: s, style: { cursor: "grabbing", filter: "drop-shadow(2px 2px 2px gray)" }, children: [
17374
- /* @__PURE__ */ S.jsx("rect", { transform: `translate(${i}, 0)`, width: n, height: r, fill: "white" }),
17373
+ children: /* @__PURE__ */ E.jsxs("g", { ref: s, style: { cursor: "grabbing", filter: "drop-shadow(2px 2px 2px gray)" }, children: [
17374
+ /* @__PURE__ */ E.jsx("rect", { transform: `translate(${i}, 0)`, width: n, height: r, fill: "white" }),
17375
17375
  e
17376
17376
  ] })
17377
17377
  }
@@ -17384,9 +17384,9 @@ s14.946-6.691,14.946-14.946C35.146,11.861,28.455,5.169,20.201,5.169z M20.201,31.
17384
17384
  c0-6.425,5.209-11.634,11.634-11.634c6.425,0,11.633,5.209,11.633,11.634C31.834,26.541,26.626,31.749,20.201,31.749z`, Yg = `M26.013,10.047l1.654-2.866c-2.198-1.272-4.743-2.012-7.466-2.012h0v3.312h0
17385
17385
  C22.32,8.481,24.301,9.057,26.013,10.047z`;
17386
17386
  function Xg({ width: e, height: t, color: r }) {
17387
- return /* @__PURE__ */ S.jsxs("svg", { width: e, height: t, viewBox: "0 0 40 40", children: [
17388
- /* @__PURE__ */ S.jsx("path", { opacity: "0.2", fill: r, d: Gg }),
17389
- /* @__PURE__ */ S.jsx("path", { fill: r, d: Yg, children: /* @__PURE__ */ S.jsx(
17387
+ return /* @__PURE__ */ E.jsxs("svg", { width: e, height: t, viewBox: "0 0 40 40", children: [
17388
+ /* @__PURE__ */ E.jsx("path", { opacity: "0.2", fill: r, d: Gg }),
17389
+ /* @__PURE__ */ E.jsx("path", { fill: r, d: Yg, children: /* @__PURE__ */ E.jsx(
17390
17390
  "animateTransform",
17391
17391
  {
17392
17392
  attributeType: "xml",
@@ -17410,12 +17410,12 @@ function Kg({
17410
17410
  outline: r,
17411
17411
  inside: n
17412
17412
  }) {
17413
- return /* @__PURE__ */ S.jsxs("svg", { width: e, height: t, viewBox: "0 0 451.74 481.74", children: [
17414
- /* @__PURE__ */ S.jsx("path", { fill: r, d: Zg }),
17415
- /* @__PURE__ */ S.jsx("path", { fill: n, d: "M225.879,63.025l183.467,325.689H42.413L225.879,63.025L225.879,63.025z" }),
17416
- /* @__PURE__ */ S.jsxs("g", { children: [
17417
- /* @__PURE__ */ S.jsx("path", { fill: "#3F4448;", d: Jg }),
17418
- /* @__PURE__ */ S.jsx("circle", { fill: "#3F4448", cx: "225.879", cy: "336.092", r: "17.067" })
17413
+ return /* @__PURE__ */ E.jsxs("svg", { width: e, height: t, viewBox: "0 0 451.74 481.74", children: [
17414
+ /* @__PURE__ */ E.jsx("path", { fill: r, d: Zg }),
17415
+ /* @__PURE__ */ E.jsx("path", { fill: n, d: "M225.879,63.025l183.467,325.689H42.413L225.879,63.025L225.879,63.025z" }),
17416
+ /* @__PURE__ */ E.jsxs("g", { children: [
17417
+ /* @__PURE__ */ E.jsx("path", { fill: "#3F4448;", d: Jg }),
17418
+ /* @__PURE__ */ E.jsx("circle", { fill: "#3F4448", cx: "225.879", cy: "336.092", r: "17.067" })
17419
17419
  ] })
17420
17420
  ] });
17421
17421
  }
@@ -17426,30 +17426,30 @@ function Oh({ children: e, transform: t, id: r, loading: n, error: i }) {
17426
17426
  }) || "", h = Oe((O) => {
17427
17427
  var A;
17428
17428
  return (A = O.getTrack(r)) == null ? void 0 : A.title;
17429
- }) || "", { trackMargin: E, titleSize: T, totalVerticalMargin: b, wrapperHeight: m } = vg(r), g = m / 3, x = Fr((O) => O.setContextMenu), _ = _t((O) => O.text), w = _t((O) => O.background), C = Rt(() => {
17429
+ }) || "", { trackMargin: S, titleSize: T, totalVerticalMargin: b, wrapperHeight: m } = vg(r), g = m / 3, x = Fr((O) => O.setContextMenu), _ = _t((O) => O.text), w = _t((O) => O.background), C = Rt(() => {
17430
17430
  c(!0);
17431
17431
  }, []), D = Rt(() => {
17432
17432
  c(!1);
17433
17433
  }, []);
17434
- return /* @__PURE__ */ S.jsx("g", { id: `wrapper-${r}`, transform: t, children: /* @__PURE__ */ S.jsxs(Hg, { id: r, setSwapping: o, height: m, width: f, children: [
17435
- n && !i && /* @__PURE__ */ S.jsx(
17434
+ return /* @__PURE__ */ E.jsx("g", { id: `wrapper-${r}`, transform: t, children: /* @__PURE__ */ E.jsxs(Hg, { id: r, setSwapping: o, height: m, width: f, children: [
17435
+ n && !i && /* @__PURE__ */ E.jsx(
17436
17436
  "g",
17437
17437
  {
17438
17438
  transform: `translate(${u + (f - g) / 2},${(m - g) / 2})`,
17439
- children: /* @__PURE__ */ S.jsx(Xg, { color: _, width: g, height: g })
17439
+ children: /* @__PURE__ */ E.jsx(Xg, { color: _, width: g, height: g })
17440
17440
  }
17441
17441
  ),
17442
- i && /* @__PURE__ */ S.jsxs(
17442
+ i && /* @__PURE__ */ E.jsxs(
17443
17443
  "g",
17444
17444
  {
17445
17445
  transform: `translate(${u + (f - g) / 2},${(m - g) / 2})`,
17446
17446
  children: [
17447
- /* @__PURE__ */ S.jsx(Kg, { outline: _, inside: w, width: g, height: g }),
17448
- /* @__PURE__ */ S.jsx("g", { transform: `translate(${g / 2},${g + 10})`, children: /* @__PURE__ */ S.jsx("text", { fill: _, textAnchor: "middle", fontSize: `${T}px`, children: i }) })
17447
+ /* @__PURE__ */ E.jsx(Kg, { outline: _, inside: w, width: g, height: g }),
17448
+ /* @__PURE__ */ E.jsx("g", { transform: `translate(${g / 2},${g + 10})`, children: /* @__PURE__ */ E.jsx("text", { fill: _, textAnchor: "middle", fontSize: `${T}px`, children: i }) })
17449
17449
  ]
17450
17450
  }
17451
17451
  ),
17452
- !n && !i && /* @__PURE__ */ S.jsx(Ch, { id: r, children: /* @__PURE__ */ S.jsx(
17452
+ !n && !i && /* @__PURE__ */ E.jsx(Ch, { id: r, children: /* @__PURE__ */ E.jsx(
17453
17453
  "g",
17454
17454
  {
17455
17455
  transform: `translate(${u},${b})`,
@@ -17459,7 +17459,7 @@ function Oh({ children: e, transform: t, id: r, loading: n, error: i }) {
17459
17459
  children: e
17460
17460
  }
17461
17461
  ) }),
17462
- /* @__PURE__ */ S.jsx(
17462
+ /* @__PURE__ */ E.jsx(
17463
17463
  "text",
17464
17464
  {
17465
17465
  fill: _,
@@ -17467,12 +17467,12 @@ function Oh({ children: e, transform: t, id: r, loading: n, error: i }) {
17467
17467
  y: T / 2 + 5,
17468
17468
  fontSize: `${T}px`,
17469
17469
  textAnchor: "middle",
17470
- transform: `translate(0,${E})`,
17470
+ transform: `translate(0,${S})`,
17471
17471
  alignmentBaseline: "baseline",
17472
17472
  children: h
17473
17473
  }
17474
17474
  ),
17475
- /* @__PURE__ */ S.jsx(
17475
+ /* @__PURE__ */ E.jsx(
17476
17476
  Vg,
17477
17477
  {
17478
17478
  id: r,
@@ -17484,7 +17484,7 @@ function Oh({ children: e, transform: t, id: r, loading: n, error: i }) {
17484
17484
  onLeave: D
17485
17485
  }
17486
17486
  ),
17487
- s && /* @__PURE__ */ S.jsx(
17487
+ s && /* @__PURE__ */ E.jsx(
17488
17488
  "rect",
17489
17489
  {
17490
17490
  width: l,
@@ -17514,21 +17514,21 @@ function ey({
17514
17514
  onLeave: s,
17515
17515
  tooltip: c
17516
17516
  }) {
17517
- const { totalWidth: u, sideWidth: l } = n, f = be((x) => x.domain), { x: d, reverseX: h } = Ut(u), E = ye(() => {
17517
+ const { totalWidth: u, sideWidth: l } = n, f = be((x) => x.domain), { x: d, reverseX: h } = Ut(u), S = ye(() => {
17518
17518
  const x = (t || []).filter((_) => _.end >= f.start && _.start <= f.end);
17519
17519
  return Eg(x, d);
17520
- }, [t, f.end, f.start, d]), T = Bi(E.length, e), { handleClick: b, handleHover: m, handleLeave: g } = St({
17520
+ }, [t, f.end, f.start, d]), T = Bi(S.length, e), { handleClick: b, handleHover: m, handleLeave: g } = St({
17521
17521
  onClick: a,
17522
17522
  onHover: o,
17523
17523
  onLeave: s,
17524
17524
  tooltip: c
17525
17525
  });
17526
- return /* @__PURE__ */ S.jsxs("g", { width: u, height: r, clipPath: `url(#${e})`, transform: `translate(-${l}, 0)`, children: [
17527
- /* @__PURE__ */ S.jsx("rect", { width: u, height: r, fill: "transparent" }),
17528
- /* @__PURE__ */ S.jsx("defs", { children: /* @__PURE__ */ S.jsx(Or, { id: e, width: u, height: r }) }),
17529
- E.map((x, _) => /* @__PURE__ */ S.jsx("g", { transform: `translate(0, ${_ * T})`, children: x.map((w, C) => {
17526
+ return /* @__PURE__ */ E.jsxs("g", { width: u, height: r, clipPath: `url(#${e})`, transform: `translate(-${l}, 0)`, children: [
17527
+ /* @__PURE__ */ E.jsx("rect", { width: u, height: r, fill: "transparent" }),
17528
+ /* @__PURE__ */ E.jsx("defs", { children: /* @__PURE__ */ E.jsx(Or, { id: e, width: u, height: r }) }),
17529
+ S.map((x, _) => /* @__PURE__ */ E.jsx("g", { transform: `translate(0, ${_ * T})`, children: x.map((w, C) => {
17530
17530
  const D = xh(w, h);
17531
- return /* @__PURE__ */ S.jsx(
17531
+ return /* @__PURE__ */ E.jsx(
17532
17532
  "rect",
17533
17533
  {
17534
17534
  style: { cursor: a ? "pointer" : "default" },
@@ -17672,27 +17672,27 @@ function cy({
17672
17672
  onLeave: l,
17673
17673
  tooltip: f
17674
17674
  }) {
17675
- const { totalWidth: d, sideWidth: h } = i, { x: E, reverseX: T } = Ut(d), b = be((M) => M.domain), m = 10, g = ye(() => (t || []).map((M) => ry(M)), [t]), x = ye(
17675
+ const { totalWidth: d, sideWidth: h } = i, { x: S, reverseX: T } = Ut(d), b = be((M) => M.domain), m = 10, g = ye(() => (t || []).map((M) => ry(M)), [t]), x = ye(
17676
17676
  () => g.filter(
17677
17677
  (M) => M.coordinates.end >= b.start && M.coordinates.start <= b.end
17678
17678
  ),
17679
17679
  [g, b.start, b.end]
17680
- ), _ = ye(() => ji(x, E, m), [x, E, m]), w = Bi(_.length, e), C = ye(
17680
+ ), _ = ye(() => ji(x, S, m), [x, S, m]), w = Bi(_.length, e), C = ye(
17681
17681
  () => _.map((M, j) => ({
17682
17682
  y: j * w,
17683
- transcripts: M.map((V) => Rh(V, E, w, d))
17683
+ transcripts: M.map((V) => Rh(V, S, w, d))
17684
17684
  })),
17685
- [_, w, d, E]
17685
+ [_, w, d, S]
17686
17686
  ), { handleClick: D, handleHover: O, handleLeave: A } = St({
17687
17687
  onClick: c,
17688
17688
  onHover: u,
17689
17689
  onLeave: l,
17690
17690
  tooltip: f
17691
17691
  });
17692
- return /* @__PURE__ */ S.jsxs("g", { width: d, height: n, transform: `translate(-${h},0)`, children: [
17693
- /* @__PURE__ */ S.jsx("rect", { width: d, height: n, fill: "transparent" }),
17694
- /* @__PURE__ */ S.jsx("defs", { children: /* @__PURE__ */ S.jsx(Or, { id: e, width: d, height: _.length * w }) }),
17695
- C.map((M, j) => /* @__PURE__ */ S.jsx(
17692
+ return /* @__PURE__ */ E.jsxs("g", { width: d, height: n, transform: `translate(-${h},0)`, children: [
17693
+ /* @__PURE__ */ E.jsx("rect", { width: d, height: n, fill: "transparent" }),
17694
+ /* @__PURE__ */ E.jsx("defs", { children: /* @__PURE__ */ E.jsx(Or, { id: e, width: d, height: _.length * w }) }),
17695
+ C.map((M, j) => /* @__PURE__ */ E.jsx(
17696
17696
  "g",
17697
17697
  {
17698
17698
  style: { clipPath: `url(#${e})` },
@@ -17702,8 +17702,8 @@ function cy({
17702
17702
  children: M.transcripts.map((V, $) => {
17703
17703
  const Z = Lh(V.transcript, T);
17704
17704
  let W;
17705
- return Ih(V.transcript.tag) ? W = o : r !== "" && V.transcript.name.toLowerCase().includes(r == null ? void 0 : r.toLowerCase()) && (W = s), /* @__PURE__ */ S.jsxs("g", { children: [
17706
- /* @__PURE__ */ S.jsx(
17705
+ return Ih(V.transcript.tag) ? W = o : r !== "" && V.transcript.name.toLowerCase().includes(r == null ? void 0 : r.toLowerCase()) && (W = s), /* @__PURE__ */ E.jsxs("g", { children: [
17706
+ /* @__PURE__ */ E.jsx(
17707
17707
  "path",
17708
17708
  {
17709
17709
  stroke: W || a,
@@ -17716,7 +17716,7 @@ function cy({
17716
17716
  onMouseOut: () => A(Z)
17717
17717
  }
17718
17718
  ),
17719
- /* @__PURE__ */ S.jsx(
17719
+ /* @__PURE__ */ E.jsx(
17720
17720
  "text",
17721
17721
  {
17722
17722
  fill: W || a,
@@ -17756,27 +17756,27 @@ function uy({
17756
17756
  onLeave: l,
17757
17757
  tooltip: f
17758
17758
  }) {
17759
- const { totalWidth: d, sideWidth: h } = i, { x: E, reverseX: T } = Ut(d), b = be((M) => M.domain), m = 10, g = ye(() => ay(t || []), [t]), x = ye(
17759
+ const { totalWidth: d, sideWidth: h } = i, { x: S, reverseX: T } = Ut(d), b = be((M) => M.domain), m = 10, g = ye(() => ay(t || []), [t]), x = ye(
17760
17760
  () => g.filter(
17761
17761
  (M) => M.coordinates.end >= b.start && M.coordinates.start <= b.end
17762
17762
  ),
17763
17763
  [g, b.start, b.end]
17764
- ), _ = ye(() => ji(x, E, m), [x, E, m]), w = Bi(_.length, e), C = ye(
17764
+ ), _ = ye(() => ji(x, S, m), [x, S, m]), w = Bi(_.length, e), C = ye(
17765
17765
  () => _.map((M, j) => ({
17766
17766
  y: j * w,
17767
- transcripts: M.map((V) => Rh(V, E, w, d))
17767
+ transcripts: M.map((V) => Rh(V, S, w, d))
17768
17768
  })),
17769
- [_, w, d, E]
17769
+ [_, w, d, S]
17770
17770
  ), { handleClick: D, handleHover: O, handleLeave: A } = St({
17771
17771
  onClick: c,
17772
17772
  onHover: u,
17773
17773
  onLeave: l,
17774
17774
  tooltip: f
17775
17775
  });
17776
- return /* @__PURE__ */ S.jsxs("g", { width: d, height: n, transform: `translate(-${h},0)`, children: [
17777
- /* @__PURE__ */ S.jsx("rect", { width: d, height: n, fill: "transparent" }),
17778
- /* @__PURE__ */ S.jsx("defs", { children: /* @__PURE__ */ S.jsx(Or, { id: e, width: d, height: _.length * w }) }),
17779
- C.map((M, j) => /* @__PURE__ */ S.jsx(
17776
+ return /* @__PURE__ */ E.jsxs("g", { width: d, height: n, transform: `translate(-${h},0)`, children: [
17777
+ /* @__PURE__ */ E.jsx("rect", { width: d, height: n, fill: "transparent" }),
17778
+ /* @__PURE__ */ E.jsx("defs", { children: /* @__PURE__ */ E.jsx(Or, { id: e, width: d, height: _.length * w }) }),
17779
+ C.map((M, j) => /* @__PURE__ */ E.jsx(
17780
17780
  "g",
17781
17781
  {
17782
17782
  style: { clipPath: `url(#${e})` },
@@ -17786,8 +17786,8 @@ function uy({
17786
17786
  children: M.transcripts.map((V, $) => {
17787
17787
  const Z = Lh(V.transcript, T);
17788
17788
  let W;
17789
- return Ih(V.transcript.tag) ? W = o : r !== "" && V.transcript.name.toLowerCase().includes(r == null ? void 0 : r.toLowerCase()) && (W = s), /* @__PURE__ */ S.jsxs("g", { children: [
17790
- /* @__PURE__ */ S.jsx(
17789
+ return Ih(V.transcript.tag) ? W = o : r !== "" && V.transcript.name.toLowerCase().includes(r == null ? void 0 : r.toLowerCase()) && (W = s), /* @__PURE__ */ E.jsxs("g", { children: [
17790
+ /* @__PURE__ */ E.jsx(
17791
17791
  "path",
17792
17792
  {
17793
17793
  stroke: W || a,
@@ -17800,7 +17800,7 @@ function uy({
17800
17800
  onMouseOut: () => A(Z)
17801
17801
  }
17802
17802
  ),
17803
- /* @__PURE__ */ S.jsx(
17803
+ /* @__PURE__ */ E.jsx(
17804
17804
  "text",
17805
17805
  {
17806
17806
  fill: W || a,
@@ -17868,65 +17868,65 @@ function vy(e) {
17868
17868
  return [r * (t < 0 ? -1 : 1), i, t < 0 ? "scale(1,-1)" : ""];
17869
17869
  };
17870
17870
  }
17871
- const my = (e) => /* @__PURE__ */ S.jsxs("g", { children: [
17872
- /* @__PURE__ */ S.jsx(
17871
+ const my = (e) => /* @__PURE__ */ E.jsxs("g", { children: [
17872
+ /* @__PURE__ */ E.jsx(
17873
17873
  "path",
17874
17874
  {
17875
17875
  d: "M 10 20 C 5 -5 95 -10 100 35 L 100 100 L 80 100 L 80 90 C 90 105 10 105 0 80 C 0 45 40 40 60 45 L 80 50 C 95 30 40 5 10 35",
17876
17876
  ...e
17877
17877
  }
17878
17878
  ),
17879
- /* @__PURE__ */ S.jsx("path", { fill: "#ffffff", d: "M 77 70 C 70 90 30 90 22 80 C 10 50 80 60 77 70" })
17880
- ] }), gy = (e) => /* @__PURE__ */ S.jsxs("g", { children: [
17881
- /* @__PURE__ */ S.jsx(
17879
+ /* @__PURE__ */ E.jsx("path", { fill: "#ffffff", d: "M 77 70 C 70 90 30 90 22 80 C 10 50 80 60 77 70" })
17880
+ ] }), gy = (e) => /* @__PURE__ */ E.jsxs("g", { children: [
17881
+ /* @__PURE__ */ E.jsx(
17882
17882
  "path",
17883
17883
  {
17884
17884
  d: "M 20 0 L 0 0 L 0 100 L 20 100 L 20 80 C 10 110 90 110 100 70 L 100 60 C 90 10 10 10 20 40 L 20 40 L 20 0",
17885
17885
  ...e
17886
17886
  }
17887
17887
  ),
17888
- /* @__PURE__ */ S.jsx("path", { d: "M 79 60 C 80 95 20 95 20 65 C 20 30 80 30 79 65", fill: "#ffffff" })
17889
- ] }), yy = (e) => /* @__PURE__ */ S.jsxs("g", { children: [
17890
- /* @__PURE__ */ S.jsx(
17888
+ /* @__PURE__ */ E.jsx("path", { d: "M 79 60 C 80 95 20 95 20 65 C 20 30 80 30 79 65", fill: "#ffffff" })
17889
+ ] }), yy = (e) => /* @__PURE__ */ E.jsxs("g", { children: [
17890
+ /* @__PURE__ */ E.jsx(
17891
17891
  "path",
17892
17892
  {
17893
17893
  d: "M 80 0 L 100 0 L 100 100 L 80 100 L 80 80 C 90 110 10 110 0 70 L 0 60 C 10 10 90 10 80 40 L 80 40 L 80 0",
17894
17894
  ...e
17895
17895
  }
17896
17896
  ),
17897
- /* @__PURE__ */ S.jsx("path", { d: "M 79 60 C 80 95 20 95 20 65 C 20 30 80 30 79 65", fill: "#ffffff" })
17898
- ] }), by = (e) => /* @__PURE__ */ S.jsxs("g", { children: [
17899
- /* @__PURE__ */ S.jsx(
17897
+ /* @__PURE__ */ E.jsx("path", { d: "M 79 60 C 80 95 20 95 20 65 C 20 30 80 30 79 65", fill: "#ffffff" })
17898
+ ] }), by = (e) => /* @__PURE__ */ E.jsxs("g", { children: [
17899
+ /* @__PURE__ */ E.jsx(
17900
17900
  "path",
17901
17901
  {
17902
17902
  d: "M 25 50 L 100 50 C 85 -17 15 -17 0 50 C 0 75 25 100 50 100 L 95 100 L 95 80 L 50 80 Q 25 70 25 50",
17903
17903
  ...e
17904
17904
  }
17905
17905
  ),
17906
- /* @__PURE__ */ S.jsx("path", { d: "M 33 37 L 68 37 C 58 10 42 10 33 37", fill: "#ffffff" })
17907
- ] }), xy = (e) => /* @__PURE__ */ S.jsx(
17906
+ /* @__PURE__ */ E.jsx("path", { d: "M 33 37 L 68 37 C 58 10 42 10 33 37", fill: "#ffffff" })
17907
+ ] }), xy = (e) => /* @__PURE__ */ E.jsx(
17908
17908
  "path",
17909
17909
  {
17910
17910
  d: "M 95 32 C 80 -17 20 -5 20 37 L 7 37 L 7 50 L 20 50 L 20 100 L 45 100 L 45 50 L 57 50 L 57 37 L 45 37 C 45 10 70 10 75 32 L 95 32",
17911
17911
  ...e
17912
17912
  }
17913
- ), _y = (e) => /* @__PURE__ */ S.jsxs("g", { children: [
17914
- /* @__PURE__ */ S.jsx(
17913
+ ), _y = (e) => /* @__PURE__ */ E.jsxs("g", { children: [
17914
+ /* @__PURE__ */ E.jsx(
17915
17915
  "path",
17916
17916
  {
17917
17917
  d: "M 100 15 L 100 0 L 80 0 L 80 15 C 85 -8 15 -8 0 25 C 2 75 80 75 80 50 L 75 65 C 65 85 45 85 10 75 L 10 90 C 25 110 85 110 100 75 L 100 25",
17918
17918
  ...e
17919
17919
  }
17920
17920
  ),
17921
- /* @__PURE__ */ S.jsx("path", { d: "M 67 30 C 70 10 25 10 27 30 C 25 50 70 50 67 30", fill: "#ffffff" })
17922
- ] }), wy = (e) => /* @__PURE__ */ S.jsx(
17921
+ /* @__PURE__ */ E.jsx("path", { d: "M 67 30 C 70 10 25 10 27 30 C 25 50 70 50 67 30", fill: "#ffffff" })
17922
+ ] }), wy = (e) => /* @__PURE__ */ E.jsx(
17923
17923
  "path",
17924
17924
  {
17925
17925
  d: "M 0 0 L 0 100 L 20 100 L 20 80 C 20 40 80 40 80 80 L 80 100 L 100 100 L 100 50 C 80 20 20 20 20 45 L 20 0 L 0 0",
17926
17926
  ...e
17927
17927
  }
17928
- ), Ey = (e) => /* @__PURE__ */ S.jsxs("g", { children: [
17929
- /* @__PURE__ */ S.jsx(
17928
+ ), Ey = (e) => /* @__PURE__ */ E.jsxs("g", { children: [
17929
+ /* @__PURE__ */ E.jsx(
17930
17930
  "rect",
17931
17931
  {
17932
17932
  ...e,
@@ -17936,7 +17936,7 @@ const my = (e) => /* @__PURE__ */ S.jsxs("g", { children: [
17936
17936
  height: 80
17937
17937
  }
17938
17938
  ),
17939
- /* @__PURE__ */ S.jsx(
17939
+ /* @__PURE__ */ E.jsx(
17940
17940
  "rect",
17941
17941
  {
17942
17942
  ...e,
@@ -17946,22 +17946,22 @@ const my = (e) => /* @__PURE__ */ S.jsxs("g", { children: [
17946
17946
  height: 15
17947
17947
  }
17948
17948
  )
17949
- ] }), Sy = (e) => /* @__PURE__ */ S.jsxs("g", { children: [
17950
- /* @__PURE__ */ S.jsx(
17949
+ ] }), Sy = (e) => /* @__PURE__ */ E.jsxs("g", { children: [
17950
+ /* @__PURE__ */ E.jsx(
17951
17951
  "path",
17952
17952
  {
17953
17953
  d: "M 0 60 C 0 115 100 115 100 60 L 100 20 L 80 20 L 80 60 C 80 90 20 90 25 60",
17954
17954
  ...e
17955
17955
  }
17956
17956
  ),
17957
- /* @__PURE__ */ S.jsx("path", { d: "M 0 60 L 100 20", ...e })
17958
- ] }), ky = (e) => /* @__PURE__ */ S.jsx(
17957
+ /* @__PURE__ */ E.jsx("path", { d: "M 0 60 L 100 20", ...e })
17958
+ ] }), ky = (e) => /* @__PURE__ */ E.jsx(
17959
17959
  "path",
17960
17960
  {
17961
17961
  d: "M 0 0 L 20 0 L 20 60 L 75 30 L 100 30 L 50 65 L 100 100 L 75 100 L 27 80 L 20 85 L 20 100 L 0 100 L 0 0",
17962
17962
  ...e
17963
17963
  }
17964
- ), Ty = (e) => /* @__PURE__ */ S.jsx(
17964
+ ), Ty = (e) => /* @__PURE__ */ E.jsx(
17965
17965
  "rect",
17966
17966
  {
17967
17967
  x: 40,
@@ -17970,57 +17970,57 @@ const my = (e) => /* @__PURE__ */ S.jsxs("g", { children: [
17970
17970
  height: 100,
17971
17971
  ...e
17972
17972
  }
17973
- ), Dy = (e) => /* @__PURE__ */ S.jsx(
17973
+ ), Dy = (e) => /* @__PURE__ */ E.jsx(
17974
17974
  "path",
17975
17975
  {
17976
17976
  d: "M 0 0 L 0 100 L 20 100 L 20 60 C 20 20 40 20 40 50 L 40 100 L 60 100 L 60 50 C 60 20 80 20 80 50 L 80 100 L 100 100 L 100 50 C 100 -10 40 -10 50 50 C 50 -5 20 -5 20 20 L 20 0 L 0 0",
17977
17977
  ...e
17978
17978
  }
17979
- ), Cy = (e) => /* @__PURE__ */ S.jsx(
17979
+ ), Cy = (e) => /* @__PURE__ */ E.jsx(
17980
17980
  "path",
17981
17981
  {
17982
17982
  d: "M 0 0 L 0 100 L 20 100 L 20 60 C 20 0 80 0 80 50 L 80 100 L 100 100 L 100 25 C 80 -10 20 -10 20 20 L 20 0 L 0 0",
17983
17983
  ...e
17984
17984
  }
17985
- ), Oy = (e) => /* @__PURE__ */ S.jsxs("g", { children: [
17986
- /* @__PURE__ */ S.jsx(
17985
+ ), Oy = (e) => /* @__PURE__ */ E.jsxs("g", { children: [
17986
+ /* @__PURE__ */ E.jsx(
17987
17987
  "path",
17988
17988
  {
17989
17989
  d: "M 20 100 L 0 100 L 0 0 L 20 0 L 20 20 C 10 -10 90 -10 100 30 L 100 40 C 90 90 10 90 20 60 L 20 60 L 20 100",
17990
17990
  ...e
17991
17991
  }
17992
17992
  ),
17993
- /* @__PURE__ */ S.jsx("path", { d: "M 79 40 C 80 5 20 5 20 35 C 20 70 80 70 79 35", fill: "#ffffff" })
17994
- ] }), Iy = (e) => /* @__PURE__ */ S.jsxs("g", { children: [
17995
- /* @__PURE__ */ S.jsx(
17993
+ /* @__PURE__ */ E.jsx("path", { d: "M 79 40 C 80 5 20 5 20 35 C 20 70 80 70 79 35", fill: "#ffffff" })
17994
+ ] }), Iy = (e) => /* @__PURE__ */ E.jsxs("g", { children: [
17995
+ /* @__PURE__ */ E.jsx(
17996
17996
  "path",
17997
17997
  {
17998
17998
  d: "M 80 100 L 100 100 L 100 0 L 80 0 L 80 20 C 90 -10 10 -10 0 30 L 0 40 C 10 90 90 90 80 60 L 80 60 L 80 100",
17999
17999
  ...e
18000
18000
  }
18001
18001
  ),
18002
- /* @__PURE__ */ S.jsx("path", { d: "M 79 40 C 80 5 20 5 20 35 C 20 70 80 70 79 35", fill: "#ffffff" })
18003
- ] }), Ry = (e) => /* @__PURE__ */ S.jsx(
18002
+ /* @__PURE__ */ E.jsx("path", { d: "M 79 40 C 80 5 20 5 20 35 C 20 70 80 70 79 35", fill: "#ffffff" })
18003
+ ] }), Ry = (e) => /* @__PURE__ */ E.jsx(
18004
18004
  "path",
18005
18005
  {
18006
18006
  d: "M 0 0 L 0 100 L 20 100 L 20 60 C 20 0 80 0 80 50 L 100 50 L 100 25 C 80 -10 20 -10 20 20 L 20 0 L 0 0",
18007
18007
  ...e
18008
18008
  }
18009
- ), Ly = (e) => /* @__PURE__ */ S.jsx(
18009
+ ), Ly = (e) => /* @__PURE__ */ E.jsx(
18010
18010
  "path",
18011
18011
  {
18012
18012
  d: "M 95 68 C 80 117 20 105 20 63 L 20 47 L 7 47 L 7 27 L 20 27 L 20 0 L 45 0 L 45 27 L 57 27 L 57 47 L 45 47 L 45 63 C 45 90 70 90 75 68 L 95 68",
18013
18013
  ...e
18014
18014
  }
18015
- ), My = (e) => /* @__PURE__ */ S.jsxs("g", { children: [
18016
- /* @__PURE__ */ S.jsx(
18015
+ ), My = (e) => /* @__PURE__ */ E.jsxs("g", { children: [
18016
+ /* @__PURE__ */ E.jsx(
18017
18017
  "path",
18018
18018
  {
18019
18019
  d: "M 0 0 L 0 60 C 0 111 100 111 100 60 L 100 0 L 75 0 L 75 60 C 80 90 20 90 25 60 L 25 0 L 0 0",
18020
18020
  ...e
18021
18021
  }
18022
18022
  ),
18023
- /* @__PURE__ */ S.jsx(
18023
+ /* @__PURE__ */ E.jsx(
18024
18024
  "rect",
18025
18025
  {
18026
18026
  ...e,
@@ -18030,7 +18030,7 @@ const my = (e) => /* @__PURE__ */ S.jsxs("g", { children: [
18030
18030
  width: 25
18031
18031
  }
18032
18032
  )
18033
- ] }), Ay = (e) => /* @__PURE__ */ S.jsx(
18033
+ ] }), Ay = (e) => /* @__PURE__ */ E.jsx(
18034
18034
  "path",
18035
18035
  {
18036
18036
  d: "M 0 0 L 25 0 L 50 36 L 75 0 L 100 0 L 40 100 L 12 100 L 37 55 L 0 0",
@@ -18038,7 +18038,7 @@ const my = (e) => /* @__PURE__ */ S.jsxs("g", { children: [
18038
18038
  }
18039
18039
  );
18040
18040
  function Ny(e) {
18041
- return /* @__PURE__ */ S.jsx(
18041
+ return /* @__PURE__ */ E.jsx(
18042
18042
  "path",
18043
18043
  {
18044
18044
  ...e,
@@ -18046,84 +18046,84 @@ function Ny(e) {
18046
18046
  }
18047
18047
  );
18048
18048
  }
18049
- const jy = (e) => /* @__PURE__ */ S.jsx(
18049
+ const jy = (e) => /* @__PURE__ */ E.jsx(
18050
18050
  "path",
18051
18051
  {
18052
18052
  ...e,
18053
18053
  d: "M 0 25 C 20 -8 80 -8 100 25 C 100 90 30 50 20 85 L 100 85 L 100 100 L 0 100 L 0 70 C 10 40 75 70 75 25 C 70 10 30 10 25 28 L 0 25"
18054
18054
  }
18055
- ), Py = (e) => /* @__PURE__ */ S.jsx(
18055
+ ), Py = (e) => /* @__PURE__ */ E.jsx(
18056
18056
  "path",
18057
18057
  {
18058
18058
  ...e,
18059
18059
  d: "M 0 35 L 0 25 C 20 -8 80 -8 100 25 C 100 30 100 50 75 50 C 100 50 100 70 100 75 C 80 108 20 108 0 75 L 0 65 L 25 65 L 25 75 C 30 88 70 88 75 75 C 75 68 75 65 47 58 L 47 42 C 75 32 75 35 75 25 C 70 12 30 12 25 25 L 25 35"
18060
18060
  }
18061
- ), Fy = (e) => /* @__PURE__ */ S.jsx(
18061
+ ), Fy = (e) => /* @__PURE__ */ E.jsx(
18062
18062
  "path",
18063
18063
  {
18064
18064
  ...e,
18065
18065
  d: "M 50 0 L 0 50 L 0 70 L 50 70 L 50 100 L 75 100 L 75 70 L 100 70 L 100 50 L 75 50 L 75 0 L 50 15 L 50 50 L 30 50 L 75 0 L 50 0"
18066
18066
  }
18067
- ), By = (e) => /* @__PURE__ */ S.jsx(
18067
+ ), By = (e) => /* @__PURE__ */ E.jsx(
18068
18068
  "path",
18069
18069
  {
18070
18070
  ...e,
18071
18071
  d: "M 95 20 L 100 0 L 10 0 L 0 60 L 25 60 C 30 45 90 50 75 77 C 66 87 30 90 26 72 L 0 80 C 20 110 80 110 100 70 C 100 25 10 25 25 40 L 30 20 L 95 20"
18072
18072
  }
18073
- ), qy = (e) => /* @__PURE__ */ S.jsx(
18073
+ ), qy = (e) => /* @__PURE__ */ E.jsx(
18074
18074
  "path",
18075
18075
  {
18076
18076
  ...e,
18077
18077
  d: "M 50 0 C -40 70 10 100 50 100 C 90 100 100 80 100 55 C 80 30 30 30 35 50 L 30 60 C 80 50 80 85 50 80 C 10 80 48 10 90 0 L 50 0"
18078
18078
  }
18079
- ), Uy = (e) => /* @__PURE__ */ S.jsx(
18079
+ ), Uy = (e) => /* @__PURE__ */ E.jsx(
18080
18080
  "path",
18081
18081
  {
18082
18082
  ...e,
18083
18083
  d: "M 0 0 L 100 0 L 50 100 L 20 100 L 60 20 L 0 20 L 0 0"
18084
18084
  }
18085
- ), zy = (e) => /* @__PURE__ */ S.jsxs("g", { children: [
18086
- /* @__PURE__ */ S.jsx(
18085
+ ), zy = (e) => /* @__PURE__ */ E.jsxs("g", { children: [
18086
+ /* @__PURE__ */ E.jsx(
18087
18087
  "path",
18088
18088
  {
18089
18089
  ...e,
18090
18090
  d: "M 0 35 L 0 25 C 20 -8 80 -8 100 25 C 100 30 100 50 75 50 C 100 50 100 70 100 75 C 80 108 20 108 0 75 L 0 65 L 25 65 L 25 75 C 30 88 70 88 75 75 C 75 68 75 65 47 58 L 47 42 C 75 32 75 35 75 25 C 70 12 30 12 25 25 L 25 35"
18091
18091
  }
18092
18092
  ),
18093
- /* @__PURE__ */ S.jsx(
18093
+ /* @__PURE__ */ E.jsx(
18094
18094
  "path",
18095
18095
  {
18096
18096
  ...e,
18097
18097
  d: "M 100 35 L 100 25 C 80 -8 20 -8 0 25 C 0 30 0 50 25 50 C 0 50 0 70 0 75 C 20 108 80 108 100 75 L 100 65 L 75 65 L 75 75 C 70 88 30 88 25 75 C 25 68 25 65 53 58 L 53 42 C 25 32 25 35 25 25 C 30 12 70 12 75 25 L 75 35"
18098
18098
  }
18099
18099
  )
18100
- ] }), Vy = (e) => /* @__PURE__ */ S.jsx(
18100
+ ] }), Vy = (e) => /* @__PURE__ */ E.jsx(
18101
18101
  "path",
18102
18102
  {
18103
18103
  ...e,
18104
18104
  d: "M 50 100 C 140 30 90 0 50 0 C 10 0 0 20 0 45 C 20 70 70 70 65 50 L 70 40 C 20 50 20 15 50 20 C 90 20 52 90 10 100 L 50 100"
18105
18105
  }
18106
- ), ys = (e) => /* @__PURE__ */ S.jsxs("g", { children: [
18107
- /* @__PURE__ */ S.jsx(
18106
+ ), ys = (e) => /* @__PURE__ */ E.jsxs("g", { children: [
18107
+ /* @__PURE__ */ E.jsx(
18108
18108
  "path",
18109
18109
  {
18110
18110
  ...e,
18111
18111
  d: "M 0 100 L 33 0 L 66 0 L 100 100 L 75 100 L 66 75 L 33 75 L 25 100 L 0 100"
18112
18112
  }
18113
18113
  ),
18114
- /* @__PURE__ */ S.jsx("path", { fill: "#ffffff", d: "M 41 55 L 50 25 L 58 55 L 41 55" })
18114
+ /* @__PURE__ */ E.jsx("path", { fill: "#ffffff", d: "M 41 55 L 50 25 L 58 55 L 41 55" })
18115
18115
  ] }), $y = `M 0 0 L 80 0 C 105 0 105 50 80 50
18116
18116
  C 105 50 105 100 80 100 L 00 100
18117
- L 0 0`, Wy = (e) => /* @__PURE__ */ S.jsxs("g", { children: [
18118
- /* @__PURE__ */ S.jsx("path", { ...e, d: $y }),
18119
- /* @__PURE__ */ S.jsx(
18117
+ L 0 0`, Wy = (e) => /* @__PURE__ */ E.jsxs("g", { children: [
18118
+ /* @__PURE__ */ E.jsx("path", { ...e, d: $y }),
18119
+ /* @__PURE__ */ E.jsx(
18120
18120
  "path",
18121
18121
  {
18122
18122
  d: "M 20 15 L 70 15 C 80 15 80 35 70 35 L 20 35 L 20 15",
18123
18123
  fill: "#ffffff"
18124
18124
  }
18125
18125
  ),
18126
- /* @__PURE__ */ S.jsx(
18126
+ /* @__PURE__ */ E.jsx(
18127
18127
  "path",
18128
18128
  {
18129
18129
  d: "M 20 65 L 70 65 C 80 65 80 85 70 85 L 20 85 L 20 65",
@@ -18133,29 +18133,29 @@ const jy = (e) => /* @__PURE__ */ S.jsx(
18133
18133
  ] }), Hy = `M 100 28 C 100 -13 0 -13 0 50
18134
18134
  C 0 113 100 113 100 72 L 75 72
18135
18135
  C 75 90 30 90 30 50 C 30 10 75 10 75 28
18136
- L 100 28`, Ei = (e) => /* @__PURE__ */ S.jsx("path", { ...e, d: Hy }), Qy = `M 0 0 L 60 0 C 110 0 110 100 60 100
18136
+ L 100 28`, Ei = (e) => /* @__PURE__ */ E.jsx("path", { ...e, d: Hy }), Qy = `M 0 0 L 60 0 C 110 0 110 100 60 100
18137
18137
  L 0 100 L 0 0`, Gy = `M 20 15 L 40 15 C 85 15 85 85 40 85
18138
- L 20 85 L 20 15`, Yy = (e) => /* @__PURE__ */ S.jsxs("g", { children: [
18139
- /* @__PURE__ */ S.jsx("path", { ...e, d: Qy }),
18140
- /* @__PURE__ */ S.jsx("path", { fill: "#ffffff", d: Gy })
18138
+ L 20 85 L 20 15`, Yy = (e) => /* @__PURE__ */ E.jsxs("g", { children: [
18139
+ /* @__PURE__ */ E.jsx("path", { ...e, d: Qy }),
18140
+ /* @__PURE__ */ E.jsx("path", { fill: "#ffffff", d: Gy })
18141
18141
  ] }), Xy = `M 0 0 L 100 0 L 100 20 L 20 20 L 20 40
18142
18142
  L 90 40 L 90 60 L 20 60 L 20 80 L 100 80
18143
- L 100 100 L 0 100 L 0 0`, Zy = (e) => /* @__PURE__ */ S.jsx("path", { ...e, d: Xy }), Jy = `M 0 0 L 100 0 L 100 20 L 20 20 L 20 40
18143
+ L 100 100 L 0 100 L 0 0`, Zy = (e) => /* @__PURE__ */ E.jsx("path", { ...e, d: Xy }), Jy = `M 0 0 L 100 0 L 100 20 L 20 20 L 20 40
18144
18144
  L 80 40 L 80 60 L 20 60 L 20 100 L 0 100
18145
- L 0 0`, Ky = (e) => /* @__PURE__ */ S.jsx("path", { ...e, d: Jy }), eb = `M 100 28 C 100 -13 0 -13 0 50 C 0 113 100 113 100 72
18145
+ L 0 0`, Ky = (e) => /* @__PURE__ */ E.jsx("path", { ...e, d: Jy }), eb = `M 100 28 C 100 -13 0 -13 0 50 C 0 113 100 113 100 72
18146
18146
  L 100 48 L 55 48 L 55 72 L 75 72 C 75 90 30 90 30 50
18147
- C 30 10 75 5 75 28 L 100 28`, bs = (e) => /* @__PURE__ */ S.jsx("path", { ...e, d: eb }), tb = `M 0 0 L 20 0 L 20 40 L 80 40 L 80 0
18147
+ C 30 10 75 5 75 28 L 100 28`, bs = (e) => /* @__PURE__ */ E.jsx("path", { ...e, d: eb }), tb = `M 0 0 L 20 0 L 20 40 L 80 40 L 80 0
18148
18148
  L 100 0 L 100 100 L 80 100 L 80 60
18149
- L 20 60 L 20 100 L 0 100 L 0 0`, rb = (e) => /* @__PURE__ */ S.jsx("path", { ...e, d: tb }), nb = "M 40 0 L 60 0 L 60 100 L 40 100 L 40 0", ib = (e) => /* @__PURE__ */ S.jsx("path", { ...e, d: nb }), ab = `M 0 60 C 0 111 100 111 100 60
18149
+ L 20 60 L 20 100 L 0 100 L 0 0`, rb = (e) => /* @__PURE__ */ E.jsx("path", { ...e, d: tb }), nb = "M 40 0 L 60 0 L 60 100 L 40 100 L 40 0", ib = (e) => /* @__PURE__ */ E.jsx("path", { ...e, d: nb }), ab = `M 0 60 C 0 111 100 111 100 60
18150
18150
  L 100 0 L 75 0 L 75 60
18151
- C 80 90 20 90 25 60`, ob = (e) => /* @__PURE__ */ S.jsx("path", { ...e, d: ab }), sb = `M 0 0 L 20 0 L 20 40 L 75 0 L 100 0
18151
+ C 80 90 20 90 25 60`, ob = (e) => /* @__PURE__ */ E.jsx("path", { ...e, d: ab }), sb = `M 0 0 L 20 0 L 20 40 L 75 0 L 100 0
18152
18152
  L 50 50 L 100 100 L 75 100 L 30 65
18153
- L 20 75 L 20 100 L 0 100 L 0 0`, cb = (e) => /* @__PURE__ */ S.jsx("path", { ...e, d: sb }), ub = `M 0 0 L 0 100 L 100 100 L 100 80
18154
- L 20 80 L 20 0 L 0 0`, lb = (e) => /* @__PURE__ */ S.jsx("path", { ...e, d: ub }), fb = `M 0 0 L 20 0 L 50 35 L 80 0 L 100 0 L 100 100
18153
+ L 20 75 L 20 100 L 0 100 L 0 0`, cb = (e) => /* @__PURE__ */ E.jsx("path", { ...e, d: sb }), ub = `M 0 0 L 0 100 L 100 100 L 100 80
18154
+ L 20 80 L 20 0 L 0 0`, lb = (e) => /* @__PURE__ */ E.jsx("path", { ...e, d: ub }), fb = `M 0 0 L 20 0 L 50 35 L 80 0 L 100 0 L 100 100
18155
18155
  L 80 100 L 80 30 L 50 65 L 20 30 L 20 100
18156
- L 0 100 L 0 0`, hb = (e) => /* @__PURE__ */ S.jsx("path", { ...e, d: fb }), db = `M 0 100 L 0 0 L 20 0 L 80 75 L 80 0
18157
- L 100 0 L 100 100 L 80 100 L 20 25 L 20 100 L 0 100`, pb = (e) => /* @__PURE__ */ S.jsx("path", { ...e, d: db }), Xa = (e) => /* @__PURE__ */ S.jsxs("g", { children: [
18158
- /* @__PURE__ */ S.jsx(
18156
+ L 0 100 L 0 0`, hb = (e) => /* @__PURE__ */ E.jsx("path", { ...e, d: fb }), db = `M 0 100 L 0 0 L 20 0 L 80 75 L 80 0
18157
+ L 100 0 L 100 100 L 80 100 L 20 25 L 20 100 L 0 100`, pb = (e) => /* @__PURE__ */ E.jsx("path", { ...e, d: db }), Xa = (e) => /* @__PURE__ */ E.jsxs("g", { children: [
18158
+ /* @__PURE__ */ E.jsx(
18159
18159
  "circle",
18160
18160
  {
18161
18161
  cx: "50",
@@ -18164,19 +18164,19 @@ const jy = (e) => /* @__PURE__ */ S.jsx(
18164
18164
  ...e
18165
18165
  }
18166
18166
  ),
18167
- /* @__PURE__ */ S.jsx("circle", { cx: "50", cy: "50", r: "32", fill: "#ffffff" })
18167
+ /* @__PURE__ */ E.jsx("circle", { cx: "50", cy: "50", r: "32", fill: "#ffffff" })
18168
18168
  ] }), vb = `M 0 0 L 80 0 C 105 0 105 50 80 50
18169
- L 20 50 L 20 100 L 0 100 L 0 0`, mb = (e) => /* @__PURE__ */ S.jsxs("g", { children: [
18170
- /* @__PURE__ */ S.jsx("path", { ...e, d: vb }),
18171
- /* @__PURE__ */ S.jsx(
18169
+ L 20 50 L 20 100 L 0 100 L 0 0`, mb = (e) => /* @__PURE__ */ E.jsxs("g", { children: [
18170
+ /* @__PURE__ */ E.jsx("path", { ...e, d: vb }),
18171
+ /* @__PURE__ */ E.jsx(
18172
18172
  "path",
18173
18173
  {
18174
18174
  fill: "#ffffff",
18175
18175
  d: "M 20 15 L 70 15 C 80 15 80 35 70 35 L 20 35 L 20 15"
18176
18176
  }
18177
18177
  )
18178
- ] }), gb = "M 85 100 L 55 70 L 70 55 L 100 85 L 85 100", yb = (e) => /* @__PURE__ */ S.jsxs("g", { children: [
18179
- /* @__PURE__ */ S.jsx(
18178
+ ] }), gb = "M 85 100 L 55 70 L 70 55 L 100 85 L 85 100", yb = (e) => /* @__PURE__ */ E.jsxs("g", { children: [
18179
+ /* @__PURE__ */ E.jsx(
18180
18180
  "circle",
18181
18181
  {
18182
18182
  cx: "50",
@@ -18185,21 +18185,21 @@ const jy = (e) => /* @__PURE__ */ S.jsx(
18185
18185
  ...e
18186
18186
  }
18187
18187
  ),
18188
- /* @__PURE__ */ S.jsx("circle", { cx: "50", cy: "50", r: "32", fill: "#ffffff" }),
18189
- /* @__PURE__ */ S.jsx("path", { d: gb, ...e })
18188
+ /* @__PURE__ */ E.jsx("circle", { cx: "50", cy: "50", r: "32", fill: "#ffffff" }),
18189
+ /* @__PURE__ */ E.jsx("path", { d: gb, ...e })
18190
18190
  ] }), bb = `M 0 0 L 80 0 C 105 0 105 50 80 50
18191
18191
  C 100 50 100 70 100 70 L 100 100 L 80 100
18192
18192
  L 80 80 C 80 80 80 60 50 60 L 20 60
18193
- L 20 100 L 0 100 L 0 0`, xb = (e) => /* @__PURE__ */ S.jsxs("g", { children: [
18194
- /* @__PURE__ */ S.jsx("path", { ...e, d: bb }),
18195
- /* @__PURE__ */ S.jsx(
18193
+ L 20 100 L 0 100 L 0 0`, xb = (e) => /* @__PURE__ */ E.jsxs("g", { children: [
18194
+ /* @__PURE__ */ E.jsx("path", { ...e, d: bb }),
18195
+ /* @__PURE__ */ E.jsx(
18196
18196
  "path",
18197
18197
  {
18198
18198
  fill: "#ffffff",
18199
18199
  d: "M 20 15 L 70 15 C 80 15 80 35 70 35 L 20 35 L 20 15"
18200
18200
  }
18201
18201
  )
18202
- ] }), _b = "M92 26 A43 20 0 1 0 43 46 A42 23 0 1 1 9 68", cl = ({ fill: e, fillOpacity: t }) => /* @__PURE__ */ S.jsx(
18202
+ ] }), _b = "M92 26 A43 20 0 1 0 43 46 A42 23 0 1 1 9 68", cl = ({ fill: e, fillOpacity: t }) => /* @__PURE__ */ E.jsx(
18203
18203
  "path",
18204
18204
  {
18205
18205
  fill: "#ffffff",
@@ -18210,20 +18210,20 @@ const jy = (e) => /* @__PURE__ */ S.jsx(
18210
18210
  }
18211
18211
  ), wb = `M 0 0 L 0 20 L 35 20 L 35 100
18212
18212
  L 65 100 L 65 20 L 100 20
18213
- L 100 0 L 0 0`, xs = (e) => /* @__PURE__ */ S.jsx("path", { ...e, d: wb }), Eb = `M 0 0 L 0 60 C 0 111 100 111 100 60
18213
+ L 100 0 L 0 0`, xs = (e) => /* @__PURE__ */ E.jsx("path", { ...e, d: wb }), Eb = `M 0 0 L 0 60 C 0 111 100 111 100 60
18214
18214
  L 100 0 L 75 0 L 75 60
18215
- C 80 90 20 90 25 60 L 25 0 L 0 0`, Sb = (e) => /* @__PURE__ */ S.jsx("path", { ...e, d: Eb }), kb = `M 0 0 L 20 0 L 50 80 L 80 0
18216
- L 100 0 L 60 100 L 40 100 L 0 0`, ul = (e) => /* @__PURE__ */ S.jsx("path", { ...e, d: kb }), Tb = `M 0 0 L 20 0 L 30 70 L 50 30 L 70 70 L 80 0
18215
+ C 80 90 20 90 25 60 L 25 0 L 0 0`, Sb = (e) => /* @__PURE__ */ E.jsx("path", { ...e, d: Eb }), kb = `M 0 0 L 20 0 L 50 80 L 80 0
18216
+ L 100 0 L 60 100 L 40 100 L 0 0`, ul = (e) => /* @__PURE__ */ E.jsx("path", { ...e, d: kb }), Tb = `M 0 0 L 20 0 L 30 70 L 50 30 L 70 70 L 80 0
18217
18217
  L 100 0 L 90 100 L 70 100 L 50 65 L 30 100
18218
- L 10 100 L 0 0`, ll = (e) => /* @__PURE__ */ S.jsx("path", { ...e, d: Tb }), Db = `M 0 0 L 20 0 L 50 40 L 80 0 L 100 0 L 70 50
18218
+ L 10 100 L 0 0`, ll = (e) => /* @__PURE__ */ E.jsx("path", { ...e, d: Tb }), Db = `M 0 0 L 20 0 L 50 40 L 80 0 L 100 0 L 70 50
18219
18219
  L 100 100 L 80 100 L 50 60 L 20 100 L 0 100
18220
- L 30 50 L 0 0`, fl = (e) => /* @__PURE__ */ S.jsx("path", { ...e, d: Db }), Cb = `M 0 0 L 20 0 L 50 45 L 80 0 L 100 0
18221
- L 60 60 L 60 100 L 40 100 L 40 60 L 0 0`, Ob = (e) => /* @__PURE__ */ S.jsx("path", { ...e, d: Cb }), Ib = `M 0 0 L 100 0 L 100 20 L 35 80 L 100 80
18220
+ L 30 50 L 0 0`, fl = (e) => /* @__PURE__ */ E.jsx("path", { ...e, d: Db }), Cb = `M 0 0 L 20 0 L 50 45 L 80 0 L 100 0
18221
+ L 60 60 L 60 100 L 40 100 L 40 60 L 0 0`, Ob = (e) => /* @__PURE__ */ E.jsx("path", { ...e, d: Cb }), Ib = `M 0 0 L 100 0 L 100 20 L 35 80 L 100 80
18222
18222
  L 100 100 L 0 100 L 0 80 L 65 20 L 0 20
18223
- L 0 0`, hl = (e) => /* @__PURE__ */ S.jsx("path", { ...e, d: Ib });
18223
+ L 0 0`, hl = (e) => /* @__PURE__ */ E.jsx("path", { ...e, d: Ib });
18224
18224
  function Rb({ xscale: e, yscale: t, inverted: r, children: n }) {
18225
18225
  const i = t * (r ? -1 : 1);
18226
- return /* @__PURE__ */ S.jsx("g", { transform: "scale(" + e + "," + i + ")", children: n });
18226
+ return /* @__PURE__ */ E.jsx("g", { transform: "scale(" + e + "," + i + ")", children: n });
18227
18227
  }
18228
18228
  const Lb = ({
18229
18229
  height: e,
@@ -18240,46 +18240,46 @@ const Lb = ({
18240
18240
  }) => {
18241
18241
  let f = e, d = t / 100;
18242
18242
  o = o || 1;
18243
- let h = r.map((E) => {
18244
- if (!n[E] || !n[E].component || i[E] === 0)
18243
+ let h = r.map((S) => {
18244
+ if (!n[S] || !n[S].component || i[S] === 0)
18245
18245
  return null;
18246
- f -= i[E] * 100;
18247
- const T = s ? f + i[E] * 100 : f;
18248
- let b = d * 0.8 / n[E].component.length;
18249
- return n[E].component.map((m, g) => /* @__PURE__ */ S.jsx(
18246
+ f -= i[S] * 100;
18247
+ const T = s ? f + i[S] * 100 : f;
18248
+ let b = d * 0.8 / n[S].component.length;
18249
+ return n[S].component.map((m, g) => /* @__PURE__ */ E.jsx(
18250
18250
  "g",
18251
18251
  {
18252
- transform: "translate(" + (g * t * 0.8 / n[E].component.length + t * 0.1) + "," + T + ")",
18252
+ transform: "translate(" + (g * t * 0.8 / n[S].component.length + t * 0.1) + "," + T + ")",
18253
18253
  onMouseOver: () => {
18254
18254
  c && c({
18255
- component: [n[E].component[g]],
18256
- regex: [n[E].regex[g]],
18257
- color: n[E].color && [n[E].color[g]]
18255
+ component: [n[S].component[g]],
18256
+ regex: [n[S].regex[g]],
18257
+ color: n[S].color && [n[S].color[g]]
18258
18258
  });
18259
18259
  },
18260
18260
  onMouseOut: u && (() => u({
18261
- component: [n[E].component[g]],
18262
- regex: [n[E].regex[g]],
18263
- color: n[E].color && [n[E].color[g]]
18261
+ component: [n[S].component[g]],
18262
+ regex: [n[S].regex[g]],
18263
+ color: n[S].color && [n[S].color[g]]
18264
18264
  })),
18265
18265
  onClick: l && (() => l({
18266
- component: [n[E].component[g]],
18267
- regex: [n[E].regex[g]],
18268
- color: n[E].color && [n[E].color[g]]
18266
+ component: [n[S].component[g]],
18267
+ regex: [n[S].regex[g]],
18268
+ color: n[S].color && [n[S].color[g]]
18269
18269
  })),
18270
- children: /* @__PURE__ */ S.jsx(Rb, { xscale: b, yscale: i[E], inverted: s || !1, children: /* @__PURE__ */ S.jsx(
18270
+ children: /* @__PURE__ */ E.jsx(Rb, { xscale: b, yscale: i[S], inverted: s || !1, children: /* @__PURE__ */ E.jsx(
18271
18271
  m,
18272
18272
  {
18273
- fill: n[E].color && n[E].color[g] || "#000000",
18273
+ fill: n[S].color && n[S].color[g] || "#000000",
18274
18274
  fillOpacity: o,
18275
- ...n[E]
18275
+ ...n[S]
18276
18276
  }
18277
18277
  ) })
18278
18278
  },
18279
- E + "_" + g
18279
+ S + "_" + g
18280
18280
  ));
18281
18281
  });
18282
- return /* @__PURE__ */ S.jsx("g", { transform: a, children: h });
18282
+ return /* @__PURE__ */ E.jsx("g", { transform: a, children: h });
18283
18283
  }, Mb = (e, t) => (r) => t[0] + (t[1] - t[0]) * ((r - e[0]) / (e[1] - e[0])), Ab = ({
18284
18284
  minrange: e,
18285
18285
  maxrange: t,
@@ -18291,12 +18291,12 @@ const Lb = ({
18291
18291
  stroke: s
18292
18292
  }) => {
18293
18293
  const c = Mb([e, t], [r, n]), u = t - e, l = a + i, f = Math.ceil(u) / o, d = Math.ceil(u / f), h = Array.from(Array(d).keys());
18294
- return /* @__PURE__ */ S.jsxs("g", { stroke: s || "#000000", children: [
18295
- h.map((E) => {
18296
- const T = e + f * E;
18297
- return /* @__PURE__ */ S.jsx("line", { x1: c(T), x2: c(T), y1: a, y2: l }, E);
18294
+ return /* @__PURE__ */ E.jsxs("g", { stroke: s || "#000000", children: [
18295
+ h.map((S) => {
18296
+ const T = e + f * S;
18297
+ return /* @__PURE__ */ E.jsx("line", { x1: c(T), x2: c(T), y1: a, y2: l }, S);
18298
18298
  }),
18299
- /* @__PURE__ */ S.jsx("line", { x1: c(t), x2: c(t), y1: a, y2: l }),
18299
+ /* @__PURE__ */ E.jsx("line", { x1: c(t), x2: c(t), y1: a, y2: l }),
18300
18300
  ";"
18301
18301
  ] });
18302
18302
  }, Za = "FREQUENCY", dl = [
@@ -18404,7 +18404,7 @@ const Lb = ({
18404
18404
  startPos: n
18405
18405
  }) => {
18406
18406
  const i = _s(e);
18407
- return /* @__PURE__ */ S.jsx("g", { transform: t, children: /* @__PURE__ */ S.jsx("g", { transform: "rotate(-90)", children: i.map((a) => /* @__PURE__ */ S.jsx(
18407
+ return /* @__PURE__ */ E.jsx("g", { transform: t, children: /* @__PURE__ */ E.jsx("g", { transform: "rotate(-90)", children: i.map((a) => /* @__PURE__ */ E.jsx(
18408
18408
  "text",
18409
18409
  {
18410
18410
  x: "0",
@@ -18417,8 +18417,8 @@ const Lb = ({
18417
18417
  )) }) });
18418
18418
  }, Ub = (e) => {
18419
18419
  const t = _s(e.bits + 1), r = e.zeroPoint || 1;
18420
- return /* @__PURE__ */ S.jsxs("g", { transform: e.transform, children: [
18421
- /* @__PURE__ */ S.jsx(
18420
+ return /* @__PURE__ */ E.jsxs("g", { transform: e.transform, children: [
18421
+ /* @__PURE__ */ E.jsx(
18422
18422
  "rect",
18423
18423
  {
18424
18424
  height: e.height * r,
@@ -18428,13 +18428,13 @@ const Lb = ({
18428
18428
  fill: "#000000"
18429
18429
  }
18430
18430
  ),
18431
- t.map((n) => /* @__PURE__ */ S.jsxs(
18431
+ t.map((n) => /* @__PURE__ */ E.jsxs(
18432
18432
  "g",
18433
18433
  {
18434
18434
  transform: "translate(0," + (e.height * r - Math.floor(n * (e.height * r) / e.bits)) + ")",
18435
18435
  children: [
18436
- /* @__PURE__ */ S.jsx("text", { x: e.width - 15, textAnchor: "end", y: "4", fontSize: "18", children: n }),
18437
- /* @__PURE__ */ S.jsx(
18436
+ /* @__PURE__ */ E.jsx("text", { x: e.width - 15, textAnchor: "end", y: "4", fontSize: "18", children: n }),
18437
+ /* @__PURE__ */ E.jsx(
18438
18438
  "rect",
18439
18439
  {
18440
18440
  x: e.width - 10,
@@ -18448,7 +18448,7 @@ const Lb = ({
18448
18448
  },
18449
18449
  n
18450
18450
  )),
18451
- /* @__PURE__ */ S.jsx("g", { transform: "rotate(-90)", children: /* @__PURE__ */ S.jsx(
18451
+ /* @__PURE__ */ E.jsx("g", { transform: "rotate(-90)", children: /* @__PURE__ */ E.jsx(
18452
18452
  "text",
18453
18453
  {
18454
18454
  y: "20",
@@ -18461,8 +18461,8 @@ const Lb = ({
18461
18461
  ] });
18462
18462
  }, zb = (e) => {
18463
18463
  const t = _s(e.ticks + 1).map((r) => r / e.ticks);
18464
- return /* @__PURE__ */ S.jsxs("g", { transform: e.transform, children: [
18465
- /* @__PURE__ */ S.jsx(
18464
+ return /* @__PURE__ */ E.jsxs("g", { transform: e.transform, children: [
18465
+ /* @__PURE__ */ E.jsx(
18466
18466
  "rect",
18467
18467
  {
18468
18468
  height: e.height,
@@ -18472,13 +18472,13 @@ const Lb = ({
18472
18472
  fill: "#000000"
18473
18473
  }
18474
18474
  ),
18475
- t.map((r) => /* @__PURE__ */ S.jsxs(
18475
+ t.map((r) => /* @__PURE__ */ E.jsxs(
18476
18476
  "g",
18477
18477
  {
18478
18478
  transform: "translate(0," + (e.height - Math.floor(r * e.height)) + ")",
18479
18479
  children: [
18480
- /* @__PURE__ */ S.jsx("text", { x: e.width - 10, textAnchor: "end", y: "4", fontSize: "18", children: (r + "").substring(0, 4) }),
18481
- /* @__PURE__ */ S.jsx(
18480
+ /* @__PURE__ */ E.jsx("text", { x: e.width - 10, textAnchor: "end", y: "4", fontSize: "18", children: (r + "").substring(0, 4) }),
18481
+ /* @__PURE__ */ E.jsx(
18482
18482
  "rect",
18483
18483
  {
18484
18484
  x: e.width - 5,
@@ -18492,19 +18492,19 @@ const Lb = ({
18492
18492
  },
18493
18493
  r
18494
18494
  )),
18495
- /* @__PURE__ */ S.jsx("g", { transform: "rotate(-90)", children: /* @__PURE__ */ S.jsx("text", { y: "15", x: -e.height / 2, textAnchor: "middle", fontSize: "18", children: "frequency" }) })
18495
+ /* @__PURE__ */ E.jsx("g", { transform: "rotate(-90)", children: /* @__PURE__ */ E.jsx("text", { y: "15", x: -e.height / 2, textAnchor: "middle", fontSize: "18", children: "frequency" }) })
18496
18496
  ] });
18497
18497
  }, Vb = (e, t, r, n) => (i, a, o, s, c, u) => {
18498
18498
  const l = u ? Bb(i) : Fb(i), { onSymbolMouseOver: f, onSymbolMouseOut: d, onSymbolClick: h } = s;
18499
- return /* @__PURE__ */ S.jsx(
18499
+ return /* @__PURE__ */ E.jsx(
18500
18500
  Lb,
18501
18501
  {
18502
18502
  indices: l,
18503
18503
  alphabet: o,
18504
18504
  alpha: r,
18505
- onSymbolMouseOver: (E) => f && f(E),
18506
- onSymbolClick: (E) => h && h(E),
18507
- onSymbolMouseOut: (E) => d && d(E),
18505
+ onSymbolMouseOver: (S) => f && f(S),
18506
+ onSymbolClick: (S) => h && h(S),
18507
+ onSymbolMouseOut: (S) => d && d(S),
18508
18508
  lv: i,
18509
18509
  transform: c,
18510
18510
  width: e,
@@ -18585,7 +18585,7 @@ const Lb = ({
18585
18585
  showGridLines: f,
18586
18586
  backgroundFrequencies: d,
18587
18587
  constantPseudocount: h,
18588
- smallSampleCorrectionOff: E,
18588
+ smallSampleCorrectionOff: S,
18589
18589
  yAxisMax: T,
18590
18590
  onSymbolMouseOver: b,
18591
18591
  onSymbolMouseOut: m,
@@ -18595,7 +18595,7 @@ const Lb = ({
18595
18595
  svgRef: w
18596
18596
  }) => {
18597
18597
  let C = null;
18598
- const D = (t || n) && !h && !_ ? !E : !1, O = D ? 0 : (h || 0) / s.length;
18598
+ const D = (t || n) && !h && !_ ? !S : !1, O = D ? 0 : (h || 0) / s.length;
18599
18599
  if (!e && !t && n) {
18600
18600
  const oe = (x ? Hb : Wb)(
18601
18601
  s,
@@ -18615,7 +18615,7 @@ const Lb = ({
18615
18615
  const X = (C && _ ? C : oe.reduce((F, H) => F + H, 0) + O * s.length) || 1;
18616
18616
  return oe.map((F) => (F + O) / X);
18617
18617
  })), !e || e && (e.length === 0 || e[0].length === 0))
18618
- return /* @__PURE__ */ S.jsx("div", {});
18618
+ return /* @__PURE__ */ E.jsx("div", {});
18619
18619
  let M = e[0].length;
18620
18620
  d || (d = e[0].map((oe) => 1 / M));
18621
18621
  let j = r || (i !== Za ? e.map(
@@ -18628,7 +18628,7 @@ const Lb = ({
18628
18628
  let te = 100 * $;
18629
18629
  c = te / 6 * (c || 1);
18630
18630
  let Q = j.length * c + 80, he = te + 18 * (Nb(l, j.length) + 1);
18631
- return u && (Q > he ? o = u : a = u), /* @__PURE__ */ S.jsxs(
18631
+ return u && (Q > he ? o = u : a = u), /* @__PURE__ */ E.jsxs(
18632
18632
  "svg",
18633
18633
  {
18634
18634
  width: o,
@@ -18636,7 +18636,7 @@ const Lb = ({
18636
18636
  viewBox: "0 0 " + Q + " " + he,
18637
18637
  ref: w,
18638
18638
  children: [
18639
- f && /* @__PURE__ */ S.jsx(
18639
+ f && /* @__PURE__ */ E.jsx(
18640
18640
  Ab,
18641
18641
  {
18642
18642
  minrange: l,
@@ -18648,7 +18648,7 @@ const Lb = ({
18648
18648
  numberofgridlines: 10 * j.length
18649
18649
  }
18650
18650
  ),
18651
- /* @__PURE__ */ S.jsx(
18651
+ /* @__PURE__ */ E.jsx(
18652
18652
  qb,
18653
18653
  {
18654
18654
  transform: "translate(80," + (te + 20) + ")",
@@ -18657,7 +18657,7 @@ const Lb = ({
18657
18657
  startPos: l
18658
18658
  }
18659
18659
  ),
18660
- i === Za ? /* @__PURE__ */ S.jsx(
18660
+ i === Za ? /* @__PURE__ */ E.jsx(
18661
18661
  zb,
18662
18662
  {
18663
18663
  transform: "translate(0,10)",
@@ -18665,7 +18665,7 @@ const Lb = ({
18665
18665
  height: te,
18666
18666
  ticks: 2
18667
18667
  }
18668
- ) : /* @__PURE__ */ S.jsx(
18668
+ ) : /* @__PURE__ */ E.jsx(
18669
18669
  Ub,
18670
18670
  {
18671
18671
  transform: "translate(0,10)",
@@ -18675,7 +18675,7 @@ const Lb = ({
18675
18675
  zeroPoint: W
18676
18676
  }
18677
18677
  ),
18678
- /* @__PURE__ */ S.jsx("g", { transform: "translate(80,10)", children: /* @__PURE__ */ S.jsx(
18678
+ /* @__PURE__ */ E.jsx("g", { transform: "translate(80,10)", children: /* @__PURE__ */ E.jsx(
18679
18679
  $b,
18680
18680
  {
18681
18681
  values: j,
@@ -18697,7 +18697,7 @@ const Lb = ({
18697
18697
  { component: [xs], regex: ["T"], color: ["#228b22"] }
18698
18698
  ];
18699
18699
  function Yb(e) {
18700
- return /* @__PURE__ */ S.jsx(Qb, { ...e, alphabet: Gb });
18700
+ return /* @__PURE__ */ E.jsx(Qb, { ...e, alphabet: Gb });
18701
18701
  }
18702
18702
  const vl = /* @__PURE__ */ new Map([
18703
18703
  ["A", ys],
@@ -18711,8 +18711,8 @@ const vl = /* @__PURE__ */ new Map([
18711
18711
  ["T", "#880000"]
18712
18712
  ]), Zb = (e) => {
18713
18713
  const [t, r, n] = ye(() => e.transform(e.importance), [e.transform, e.importance]);
18714
- return vl.get(e.base) ? /* @__PURE__ */ S.jsxs(S.Fragment, { children: [
18715
- /* @__PURE__ */ S.jsx(
18714
+ return vl.get(e.base) ? /* @__PURE__ */ E.jsxs(E.Fragment, { children: [
18715
+ /* @__PURE__ */ E.jsx(
18716
18716
  "rect",
18717
18717
  {
18718
18718
  fill: "#000000",
@@ -18727,7 +18727,7 @@ const vl = /* @__PURE__ */ new Map([
18727
18727
  onMouseUp: e.onMouseUp
18728
18728
  }
18729
18729
  ),
18730
- /* @__PURE__ */ S.jsx("g", { transform: `${n} translate(${e.x},${t}) scale(${e.xScale},${r})`, children: jo(vl.get(e.base), {
18730
+ /* @__PURE__ */ E.jsx("g", { transform: `${n} translate(${e.x},${t}) scale(${e.xScale},${r})`, children: jo(vl.get(e.base), {
18731
18731
  fill: Xb.get(e.base)
18732
18732
  }) })
18733
18733
  ] }) : null;
@@ -18737,8 +18737,8 @@ function Kb({ data: e, annotations: t, dimensions: r, height: n, zeroLineProps:
18737
18737
  return null;
18738
18738
  const { viewWidth: a } = r, [o] = Me(null), [s, c, u] = fy(e, n), l = ly(t || [], s, u), f = ye(() => a / s.length / 100, [a, s.length]), d = Rt(c, [c]), h = ye(() => l.map((g, x) => {
18739
18739
  const _ = 100 * f * Math.abs(g.coordinates[1] - g.coordinates[0]), w = Math.min(...g.coordinates) * f * 100, C = g.y + g.height, D = 80;
18740
- return /* @__PURE__ */ S.jsxs(Hh, { children: [
18741
- /* @__PURE__ */ S.jsx(
18740
+ return /* @__PURE__ */ E.jsxs(Hh, { children: [
18741
+ /* @__PURE__ */ E.jsx(
18742
18742
  "rect",
18743
18743
  {
18744
18744
  fill: g.color,
@@ -18749,7 +18749,7 @@ function Kb({ data: e, annotations: t, dimensions: r, height: n, zeroLineProps:
18749
18749
  y: g.y
18750
18750
  }
18751
18751
  ),
18752
- /* @__PURE__ */ S.jsx(
18752
+ /* @__PURE__ */ E.jsx(
18753
18753
  "path",
18754
18754
  {
18755
18755
  fill: g.color,
@@ -18757,9 +18757,9 @@ function Kb({ data: e, annotations: t, dimensions: r, height: n, zeroLineProps:
18757
18757
  d: `M ${w} ${C} L ${w - _} ${C + D} L ${w - _} ${C + g.height * 3} L ${w + _ * 2} ${C + g.height * 3} L ${w + _ * 2} ${C + D} L ${w + _} ${C} L ${w} ${C}`
18758
18758
  }
18759
18759
  ),
18760
- /* @__PURE__ */ S.jsx("g", { transform: `translate(${w - _},${C + D})`, children: g.children })
18760
+ /* @__PURE__ */ E.jsx("g", { transform: `translate(${w - _},${C + D})`, children: g.children })
18761
18761
  ] }, x);
18762
- }), [l, f]), E = ye(
18762
+ }), [l, f]), S = ye(
18763
18763
  () => ({
18764
18764
  totalWidth: f * 100,
18765
18765
  totalHeight: n,
@@ -18768,10 +18768,10 @@ function Kb({ data: e, annotations: t, dimensions: r, height: n, zeroLineProps:
18768
18768
  }),
18769
18769
  [f, n, d]
18770
18770
  ), T = ye(() => s.map(
18771
- (g, x) => g.importance ? /* @__PURE__ */ jo(Jb, { ...E, key: x, x: x * f * 100, ...g }) : null
18772
- ), [s, f, n, d]), b = ye(() => c(0)[0], [c]), m = ye(() => s.filter((g) => g.importance).length > 0 ? /* @__PURE__ */ S.jsx("line", { stroke: "#ff0000", strokeWidth: 1, ...i, x1: 0, x2: a, y1: b, y2: b }) : /* @__PURE__ */ S.jsx("text", { x: 0, y: n / 2, children: "No importance track data" }), [s, a, b, n, i]);
18773
- return /* @__PURE__ */ S.jsxs("g", { width: a, height: n, children: [
18774
- o !== null && /* @__PURE__ */ S.jsx(
18771
+ (g, x) => g.importance ? /* @__PURE__ */ jo(Jb, { ...S, key: x, x: x * f * 100, ...g }) : null
18772
+ ), [s, f, n, d]), b = ye(() => c(0)[0], [c]), m = ye(() => s.filter((g) => g.importance).length > 0 ? /* @__PURE__ */ E.jsx("line", { stroke: "#ff0000", strokeWidth: 1, ...i, x1: 0, x2: a, y1: b, y2: b }) : /* @__PURE__ */ E.jsx("text", { x: 0, y: n / 2, children: "No importance track data" }), [s, a, b, n, i]);
18773
+ return /* @__PURE__ */ E.jsxs("g", { width: a, height: n, children: [
18774
+ o !== null && /* @__PURE__ */ E.jsx(
18775
18775
  "rect",
18776
18776
  {
18777
18777
  fill: "#93ceed",
@@ -18815,8 +18815,8 @@ function gl(e, t) {
18815
18815
  }) : r[r.length - 1].end = t(i.end);
18816
18816
  }), r;
18817
18817
  }
18818
- const Ah = (e) => /* @__PURE__ */ S.jsxs("g", { transform: "translate(0, -150)", children: [
18819
- /* @__PURE__ */ S.jsx(
18818
+ const Ah = (e) => /* @__PURE__ */ E.jsxs("g", { transform: "translate(0, -150)", children: [
18819
+ /* @__PURE__ */ E.jsx(
18820
18820
  "rect",
18821
18821
  {
18822
18822
  width: e.pwm.length * 20 + 10,
@@ -18825,7 +18825,7 @@ const Ah = (e) => /* @__PURE__ */ S.jsxs("g", { transform: "translate(0, -150)",
18825
18825
  style: { filter: "drop-shadow(0px 0px 5px rgba(0,0,0,0.3))" }
18826
18826
  }
18827
18827
  ),
18828
- e.pwm && /* @__PURE__ */ S.jsx(Yb, { ppm: e.pwm, mode: "INFORMATION_CONTENT", width: e.pwm.length * 20, height: 150 })
18828
+ e.pwm && /* @__PURE__ */ E.jsx(Yb, { ppm: e.pwm, mode: "INFORMATION_CONTENT", width: e.pwm.length * 20, height: 150 })
18829
18829
  ] });
18830
18830
  function ex({
18831
18831
  id: e,
@@ -18839,16 +18839,16 @@ function ex({
18839
18839
  onLeave: c,
18840
18840
  tooltip: u
18841
18841
  }) {
18842
- const { totalWidth: l, sideWidth: f } = n, { x: d } = Ut(l), h = ye(() => gl(t.occurrenceRect, d), [t]), E = ye(() => gl(t.peaks, d), [t]), { handleClick: T, handleHover: b, handleLeave: m } = St({
18842
+ const { totalWidth: l, sideWidth: f } = n, { x: d } = Ut(l), h = ye(() => gl(t.occurrenceRect, d), [t]), S = ye(() => gl(t.peaks, d), [t]), { handleClick: T, handleHover: b, handleLeave: m } = St({
18843
18843
  onClick: o,
18844
18844
  onHover: s,
18845
18845
  onLeave: c,
18846
18846
  tooltip: u || Ah
18847
18847
  });
18848
- return /* @__PURE__ */ S.jsxs("g", { id: e, height: r, width: l, clipPath: `url(#${e})`, transform: `translate(-${f}, 0)`, children: [
18849
- /* @__PURE__ */ S.jsx("rect", { width: l, height: r, fill: "transparent" }),
18850
- /* @__PURE__ */ S.jsx("defs", { children: /* @__PURE__ */ S.jsx(Or, { id: e, width: l, height: r }) }),
18851
- E.map((g, x) => /* @__PURE__ */ S.jsx(
18848
+ return /* @__PURE__ */ E.jsxs("g", { id: e, height: r, width: l, clipPath: `url(#${e})`, transform: `translate(-${f}, 0)`, children: [
18849
+ /* @__PURE__ */ E.jsx("rect", { width: l, height: r, fill: "transparent" }),
18850
+ /* @__PURE__ */ E.jsx("defs", { children: /* @__PURE__ */ E.jsx(Or, { id: e, width: l, height: r }) }),
18851
+ S.map((g, x) => /* @__PURE__ */ E.jsx(
18852
18852
  "rect",
18853
18853
  {
18854
18854
  height: r * 0.6,
@@ -18860,7 +18860,7 @@ function ex({
18860
18860
  },
18861
18861
  `${e}_peak_${x}`
18862
18862
  )),
18863
- h.map((g, x) => /* @__PURE__ */ S.jsx(
18863
+ h.map((g, x) => /* @__PURE__ */ E.jsx(
18864
18864
  "rect",
18865
18865
  {
18866
18866
  height: r * 0.6,
@@ -18891,25 +18891,25 @@ function tx({
18891
18891
  onLeave: c,
18892
18892
  tooltip: u
18893
18893
  }) {
18894
- const { totalWidth: l, sideWidth: f } = n, d = be((C) => C.domain), { x: h } = Ut(l), E = ye(
18894
+ const { totalWidth: l, sideWidth: f } = n, d = be((C) => C.domain), { x: h } = Ut(l), S = ye(
18895
18895
  () => (t.occurrenceRect || []).filter((C) => C.end >= d.start && C.start <= d.end),
18896
18896
  [t, d.start, d.end]
18897
18897
  ), T = ye(
18898
18898
  () => (t.peaks || []).filter((C) => C.end >= d.start && C.start <= d.end),
18899
18899
  [t, d.start, d.end]
18900
18900
  ), b = ye(
18901
- () => ml(E, h),
18902
- [E, h]
18901
+ () => ml(S, h),
18902
+ [S, h]
18903
18903
  ), m = ye(() => ml(T, h), [T, h]), g = Bi(b.length, e), { handleClick: x, handleHover: _, handleLeave: w } = St({
18904
18904
  onClick: o,
18905
18905
  onHover: s,
18906
18906
  onLeave: c,
18907
18907
  tooltip: u || Ah
18908
18908
  });
18909
- return /* @__PURE__ */ S.jsxs("g", { width: l, height: r, clipPath: `url(#${e})`, transform: `translate(-${f}, 0)`, children: [
18910
- /* @__PURE__ */ S.jsx("rect", { width: l, height: r, fill: "transparent" }),
18911
- /* @__PURE__ */ S.jsx("defs", { children: /* @__PURE__ */ S.jsx(Or, { id: e, width: l, height: r }) }),
18912
- m.map((C, D) => /* @__PURE__ */ S.jsx("g", { transform: `translate(0, ${D * g})`, children: C.map((O, A) => /* @__PURE__ */ S.jsx(
18909
+ return /* @__PURE__ */ E.jsxs("g", { width: l, height: r, clipPath: `url(#${e})`, transform: `translate(-${f}, 0)`, children: [
18910
+ /* @__PURE__ */ E.jsx("rect", { width: l, height: r, fill: "transparent" }),
18911
+ /* @__PURE__ */ E.jsx("defs", { children: /* @__PURE__ */ E.jsx(Or, { id: e, width: l, height: r }) }),
18912
+ m.map((C, D) => /* @__PURE__ */ E.jsx("g", { transform: `translate(0, ${D * g})`, children: C.map((O, A) => /* @__PURE__ */ E.jsx(
18913
18913
  "rect",
18914
18914
  {
18915
18915
  height: g * 0.6,
@@ -18921,7 +18921,7 @@ function tx({
18921
18921
  },
18922
18922
  `${e}_peak_${D}_${A}`
18923
18923
  )) }, `group_peak_${D}`)),
18924
- b.map((C, D) => /* @__PURE__ */ S.jsx("g", { transform: `translate(0, ${D * g})`, children: C.map((O, A) => /* @__PURE__ */ S.jsx(
18924
+ b.map((C, D) => /* @__PURE__ */ E.jsx("g", { transform: `translate(0, ${D * g})`, children: C.map((O, A) => /* @__PURE__ */ E.jsx(
18925
18925
  "rect",
18926
18926
  {
18927
18927
  height: g * 0.6,
@@ -18956,9 +18956,9 @@ function rx({
18956
18956
  if (!e || e.length === 0)
18957
18957
  return null;
18958
18958
  const f = o * (e.length - 1), d = (i - f) / e.length;
18959
- return /* @__PURE__ */ S.jsx("g", { id: r, children: e.map((h, E) => {
18959
+ return /* @__PURE__ */ E.jsx("g", { id: r, children: e.map((h, S) => {
18960
18960
  var w;
18961
- const T = E * (d + o), b = ((w = t[E]) == null ? void 0 : w.name) || `Dataset ${E + 1}`, m = (C) => {
18961
+ const T = S * (d + o), b = ((w = t[S]) == null ? void 0 : w.name) || `Dataset ${S + 1}`, m = (C) => {
18962
18962
  const D = { ...C, datasetName: b };
18963
18963
  c && c(D);
18964
18964
  }, g = (C) => {
@@ -18971,7 +18971,7 @@ function rx({
18971
18971
  const D = { ...C, datasetName: b };
18972
18972
  return l(D);
18973
18973
  } : void 0;
18974
- return /* @__PURE__ */ S.jsx("g", { transform: `translate(0, ${T})`, children: /* @__PURE__ */ S.jsx(
18974
+ return /* @__PURE__ */ E.jsx("g", { transform: `translate(0, ${T})`, children: /* @__PURE__ */ E.jsx(
18975
18975
  _h,
18976
18976
  {
18977
18977
  data: h,
@@ -18998,8 +18998,8 @@ function Pr(e, t, r, n = !1, i) {
18998
18998
  const d = jh(f, o, s, t, n);
18999
18999
  l += Se(f.x, c) + Se(d.x, n ? t : 0) + Se(d.x + 1, n ? t : 0) + Se(f.x + 1, c), u += Se(f.x, c) + Se(d.x, d.y) + Se(d.x + 1, d.y) + Se(f.x + 1, c);
19000
19000
  }), {
19001
- indicator: /* @__PURE__ */ S.jsx("path", { d: l, fill: r, fillOpacity: 0.2 }),
19002
- values: /* @__PURE__ */ S.jsx("path", { d: u, fill: r })
19001
+ indicator: /* @__PURE__ */ E.jsx("path", { d: l, fill: r, fillOpacity: 0.2 }),
19002
+ values: /* @__PURE__ */ E.jsx("path", { d: u, fill: r })
19003
19003
  };
19004
19004
  }
19005
19005
  function yl(e, t, r, n = !1, i) {
@@ -19010,7 +19010,7 @@ function yl(e, t, r, n = !1, i) {
19010
19010
  return e.forEach((u, l) => {
19011
19011
  const f = jh(u, o, s, t, n);
19012
19012
  l === 0 ? c += It(f.x, f.y) : c += Se(f.x, f.y);
19013
- }), /* @__PURE__ */ S.jsx("path", { d: c, stroke: r, fill: "none", strokeWidth: "1" });
19013
+ }), /* @__PURE__ */ E.jsx("path", { d: c, stroke: r, fill: "none", strokeWidth: "1" });
19014
19014
  }
19015
19015
  function Nh(e, t) {
19016
19016
  if (!e || e.length === 0) return null;
@@ -19041,7 +19041,7 @@ const rr = {
19041
19041
  // rgb(82, 82, 82)
19042
19042
  };
19043
19043
  function ax({ tooltipValues: e }) {
19044
- var u, l, f, d, h, E, T, b;
19044
+ var u, l, f, d, h, S, T, b;
19045
19045
  const t = _t((m) => m.text), r = _t((m) => m.background), n = {
19046
19046
  depth: (u = e[3]) == null ? void 0 : u.max,
19047
19047
  cg: (l = e[0]) == null ? void 0 : l.max,
@@ -19049,45 +19049,45 @@ function ax({ tooltipValues: e }) {
19049
19049
  chh: (d = e[2]) == null ? void 0 : d.max
19050
19050
  }, i = {
19051
19051
  depth: (h = e[7]) == null ? void 0 : h.max,
19052
- cg: (E = e[4]) == null ? void 0 : E.max,
19052
+ cg: (S = e[4]) == null ? void 0 : S.max,
19053
19053
  chg: (T = e[5]) == null ? void 0 : T.max,
19054
19054
  chh: (b = e[6]) == null ? void 0 : b.max
19055
19055
  }, a = 20, o = 50, c = o + 44;
19056
- return /* @__PURE__ */ S.jsxs("g", { style: { filter: `drop-shadow(0 0 2px ${t})` }, children: [
19057
- /* @__PURE__ */ S.jsx("rect", { rx: 4, y: -4, width: c + 10, height: a * 10 + 15, fill: r, strokeWidth: 1 }),
19058
- /* @__PURE__ */ S.jsxs("g", { children: [
19059
- /* @__PURE__ */ S.jsx("text", { x: 5, y: 12, fill: t, fontSize: "14", fontWeight: "bold", children: "Forward" }),
19060
- /* @__PURE__ */ S.jsx("rect", { x: 5, y: a + 2, width: o, height: a - 2, fill: rr.depth }),
19061
- /* @__PURE__ */ S.jsx("text", { x: 9, y: a + 15, fill: "white", fontSize: "12", children: "Depth" }),
19062
- /* @__PURE__ */ S.jsx("text", { x: o + 10, y: a + 15, fill: t, fontSize: "12", children: n.depth === null || n.depth === void 0 ? "N/A" : Math.round(n.depth) }),
19063
- /* @__PURE__ */ S.jsx("rect", { x: 5, y: a * 2 + 2, width: o, height: a - 2, fill: rr.cpg }),
19064
- /* @__PURE__ */ S.jsx("text", { x: 9, y: a * 2 + 15, fill: "white", fontSize: "12", children: "CG" }),
19065
- /* @__PURE__ */ S.jsx("text", { x: o + 10, y: a * 2 + 15, fill: t, fontSize: "12", children: n.cg === null || n.cg === void 0 ? "N/A" : n.cg.toFixed(2) + "%" }),
19066
- /* @__PURE__ */ S.jsx("rect", { x: 5, y: a * 3 + 2, width: o, height: a - 2, fill: rr.chg }),
19067
- /* @__PURE__ */ S.jsx("text", { x: 9, y: a * 3 + 15, fill: "white", fontSize: "12", children: "CHG" }),
19068
- /* @__PURE__ */ S.jsx("text", { x: o + 10, y: a * 3 + 15, fill: t, fontSize: "12", children: n.chg === null || n.chg === void 0 ? "N/A" : n.chg.toFixed(2) + "%" }),
19069
- /* @__PURE__ */ S.jsx("rect", { x: 5, y: a * 4 + 2, width: o, height: a - 2, fill: rr.chh }),
19070
- /* @__PURE__ */ S.jsx("text", { x: 9, y: a * 4 + 15, fill: "white", fontSize: "12", children: "CHH" }),
19071
- /* @__PURE__ */ S.jsx("text", { x: o + 10, y: a * 4 + 15, fill: t, fontSize: "12", children: n.chh === null || n.chh === void 0 ? "N/A" : n.chh.toFixed(2) + "%" }),
19072
- /* @__PURE__ */ S.jsx("text", { x: 5, y: a * 5 + 20, fill: t, fontSize: "14", fontWeight: "bold", children: "Reverse" }),
19073
- /* @__PURE__ */ S.jsx("rect", { x: 5, y: a * 6 + 8, width: o, height: a - 2, fill: rr.depth }),
19074
- /* @__PURE__ */ S.jsx("text", { x: 9, y: a * 6 + 23, fill: "white", fontSize: "12", children: "Depth" }),
19075
- /* @__PURE__ */ S.jsx("text", { x: o + 10, y: a * 6 + 23, fill: t, fontSize: "12", children: i.depth === null || i.depth === void 0 ? "N/A" : Math.round(i.depth) }),
19076
- /* @__PURE__ */ S.jsx("rect", { x: 5, y: a * 7 + 8, width: o, height: a - 2, fill: rr.cpg }),
19077
- /* @__PURE__ */ S.jsx("text", { x: 9, y: a * 7 + 23, fill: "white", fontSize: "12", children: "CG" }),
19078
- /* @__PURE__ */ S.jsx("text", { x: o + 10, y: a * 7 + 23, fill: t, fontSize: "12", children: i.cg === null || i.cg === void 0 ? "N/A" : i.cg.toFixed(2) + "%" }),
19079
- /* @__PURE__ */ S.jsx("rect", { x: 5, y: a * 8 + 8, width: o, height: a - 2, fill: rr.chg }),
19080
- /* @__PURE__ */ S.jsx("text", { x: 9, y: a * 8 + 23, fill: "white", fontSize: "12", children: "CHG" }),
19081
- /* @__PURE__ */ S.jsx("text", { x: o + 10, y: a * 8 + 23, fill: t, fontSize: "12", children: i.chg === null || i.chg === void 0 ? "N/A" : i.chg.toFixed(2) + "%" }),
19082
- /* @__PURE__ */ S.jsx("rect", { x: 5, y: a * 9 + 8, width: o, height: a - 2, fill: rr.chh }),
19083
- /* @__PURE__ */ S.jsx("text", { x: 9, y: a * 9 + 23, fill: "white", fontSize: "12", children: "CHH" }),
19084
- /* @__PURE__ */ S.jsx("text", { x: o + 10, y: a * 9 + 23, fill: t, fontSize: "12", children: i.chh === null || i.chh === void 0 ? "N/A" : i.chh.toFixed(2) + "%" })
19056
+ return /* @__PURE__ */ E.jsxs("g", { style: { filter: `drop-shadow(0 0 2px ${t})` }, children: [
19057
+ /* @__PURE__ */ E.jsx("rect", { rx: 4, y: -4, width: c + 10, height: a * 10 + 15, fill: r, strokeWidth: 1 }),
19058
+ /* @__PURE__ */ E.jsxs("g", { children: [
19059
+ /* @__PURE__ */ E.jsx("text", { x: 5, y: 12, fill: t, fontSize: "14", fontWeight: "bold", children: "Forward" }),
19060
+ /* @__PURE__ */ E.jsx("rect", { x: 5, y: a + 2, width: o, height: a - 2, fill: rr.depth }),
19061
+ /* @__PURE__ */ E.jsx("text", { x: 9, y: a + 15, fill: "white", fontSize: "12", children: "Depth" }),
19062
+ /* @__PURE__ */ E.jsx("text", { x: o + 10, y: a + 15, fill: t, fontSize: "12", children: n.depth === null || n.depth === void 0 ? "N/A" : Math.round(n.depth) }),
19063
+ /* @__PURE__ */ E.jsx("rect", { x: 5, y: a * 2 + 2, width: o, height: a - 2, fill: rr.cpg }),
19064
+ /* @__PURE__ */ E.jsx("text", { x: 9, y: a * 2 + 15, fill: "white", fontSize: "12", children: "CG" }),
19065
+ /* @__PURE__ */ E.jsx("text", { x: o + 10, y: a * 2 + 15, fill: t, fontSize: "12", children: n.cg === null || n.cg === void 0 ? "N/A" : n.cg.toFixed(2) + "%" }),
19066
+ /* @__PURE__ */ E.jsx("rect", { x: 5, y: a * 3 + 2, width: o, height: a - 2, fill: rr.chg }),
19067
+ /* @__PURE__ */ E.jsx("text", { x: 9, y: a * 3 + 15, fill: "white", fontSize: "12", children: "CHG" }),
19068
+ /* @__PURE__ */ E.jsx("text", { x: o + 10, y: a * 3 + 15, fill: t, fontSize: "12", children: n.chg === null || n.chg === void 0 ? "N/A" : n.chg.toFixed(2) + "%" }),
19069
+ /* @__PURE__ */ E.jsx("rect", { x: 5, y: a * 4 + 2, width: o, height: a - 2, fill: rr.chh }),
19070
+ /* @__PURE__ */ E.jsx("text", { x: 9, y: a * 4 + 15, fill: "white", fontSize: "12", children: "CHH" }),
19071
+ /* @__PURE__ */ E.jsx("text", { x: o + 10, y: a * 4 + 15, fill: t, fontSize: "12", children: n.chh === null || n.chh === void 0 ? "N/A" : n.chh.toFixed(2) + "%" }),
19072
+ /* @__PURE__ */ E.jsx("text", { x: 5, y: a * 5 + 20, fill: t, fontSize: "14", fontWeight: "bold", children: "Reverse" }),
19073
+ /* @__PURE__ */ E.jsx("rect", { x: 5, y: a * 6 + 8, width: o, height: a - 2, fill: rr.depth }),
19074
+ /* @__PURE__ */ E.jsx("text", { x: 9, y: a * 6 + 23, fill: "white", fontSize: "12", children: "Depth" }),
19075
+ /* @__PURE__ */ E.jsx("text", { x: o + 10, y: a * 6 + 23, fill: t, fontSize: "12", children: i.depth === null || i.depth === void 0 ? "N/A" : Math.round(i.depth) }),
19076
+ /* @__PURE__ */ E.jsx("rect", { x: 5, y: a * 7 + 8, width: o, height: a - 2, fill: rr.cpg }),
19077
+ /* @__PURE__ */ E.jsx("text", { x: 9, y: a * 7 + 23, fill: "white", fontSize: "12", children: "CG" }),
19078
+ /* @__PURE__ */ E.jsx("text", { x: o + 10, y: a * 7 + 23, fill: t, fontSize: "12", children: i.cg === null || i.cg === void 0 ? "N/A" : i.cg.toFixed(2) + "%" }),
19079
+ /* @__PURE__ */ E.jsx("rect", { x: 5, y: a * 8 + 8, width: o, height: a - 2, fill: rr.chg }),
19080
+ /* @__PURE__ */ E.jsx("text", { x: 9, y: a * 8 + 23, fill: "white", fontSize: "12", children: "CHG" }),
19081
+ /* @__PURE__ */ E.jsx("text", { x: o + 10, y: a * 8 + 23, fill: t, fontSize: "12", children: i.chg === null || i.chg === void 0 ? "N/A" : i.chg.toFixed(2) + "%" }),
19082
+ /* @__PURE__ */ E.jsx("rect", { x: 5, y: a * 9 + 8, width: o, height: a - 2, fill: rr.chh }),
19083
+ /* @__PURE__ */ E.jsx("text", { x: 9, y: a * 9 + 23, fill: "white", fontSize: "12", children: "CHH" }),
19084
+ /* @__PURE__ */ E.jsx("text", { x: o + 10, y: a * 9 + 23, fill: t, fontSize: "12", children: i.chh === null || i.chh === void 0 ? "N/A" : i.chh.toFixed(2) + "%" })
19085
19085
  ] })
19086
19086
  ] });
19087
19087
  }
19088
19088
  function ox({ id: e, height: t, colors: r, data: n, dimensions: i, range: a, tooltip: o }) {
19089
19089
  var O, A, M, j, V, $, Z, W, te, Q, he, oe, X, F;
19090
- const { sideWidth: s, totalWidth: c, viewWidth: u } = i, l = be((H) => H.svgRef), f = be((H) => H.delta), d = be((H) => H.marginWidth), h = _t((H) => H.text), E = ye(() => {
19090
+ const { sideWidth: s, totalWidth: c, viewWidth: u } = i, l = be((H) => H.svgRef), f = be((H) => H.delta), d = be((H) => H.marginWidth), h = _t((H) => H.text), S = ye(() => {
19091
19091
  let H = 1 / 0, ne = -1 / 0;
19092
19092
  for (const ce of n) {
19093
19093
  if (!ce || ce.length === 0) continue;
@@ -19096,7 +19096,7 @@ function ox({ id: e, height: t, colors: r, data: n, dimensions: i, range: a, too
19096
19096
  fe.min < H && (H = fe.min), fe.max > ne && (ne = fe.max);
19097
19097
  }
19098
19098
  return H === 1 / 0 ? { min: 0, max: 1 } : { min: H, max: ne };
19099
- }, [n, s, u]), T = a || E, b = ye(() => {
19099
+ }, [n, s, u]), T = a || S, b = ye(() => {
19100
19100
  const H = t / 2;
19101
19101
  return {
19102
19102
  cpgPlus: Pr(n[0], H, r.cpg, !1, T),
@@ -19120,9 +19120,9 @@ function ox({ id: e, height: t, colors: r, data: n, dimensions: i, range: a, too
19120
19120
  onLeave: void 0,
19121
19121
  tooltip: o || ax
19122
19122
  });
19123
- return /* @__PURE__ */ S.jsxs("g", { width: c, height: t, clipPath: `url(#${e})`, transform: `translate(-${s}, 0)`, children: [
19124
- /* @__PURE__ */ S.jsx("rect", { width: c, height: t, fill: "transparent" }),
19125
- /* @__PURE__ */ S.jsxs("g", { id: `${e}-plusStrand`, children: [
19123
+ return /* @__PURE__ */ E.jsxs("g", { width: c, height: t, clipPath: `url(#${e})`, transform: `translate(-${s}, 0)`, children: [
19124
+ /* @__PURE__ */ E.jsx("rect", { width: c, height: t, fill: "transparent" }),
19125
+ /* @__PURE__ */ E.jsxs("g", { id: `${e}-plusStrand`, children: [
19126
19126
  (A = b.cpgPlus) == null ? void 0 : A.indicator,
19127
19127
  (M = b.chgPlus) == null ? void 0 : M.indicator,
19128
19128
  (j = b.chhPlus) == null ? void 0 : j.indicator,
@@ -19131,7 +19131,7 @@ function ox({ id: e, height: t, colors: r, data: n, dimensions: i, range: a, too
19131
19131
  (Z = b.chhPlus) == null ? void 0 : Z.values,
19132
19132
  b.depthPlus
19133
19133
  ] }),
19134
- /* @__PURE__ */ S.jsxs("g", { id: `${e}-minusStrand`, transform: `translate(0, ${t / 2})`, children: [
19134
+ /* @__PURE__ */ E.jsxs("g", { id: `${e}-minusStrand`, transform: `translate(0, ${t / 2})`, children: [
19135
19135
  (W = b.cpgMinus) == null ? void 0 : W.indicator,
19136
19136
  (te = b.chgMinus) == null ? void 0 : te.indicator,
19137
19137
  (Q = b.chhMinus) == null ? void 0 : Q.indicator,
@@ -19140,8 +19140,8 @@ function ox({ id: e, height: t, colors: r, data: n, dimensions: i, range: a, too
19140
19140
  (X = b.chhMinus) == null ? void 0 : X.values,
19141
19141
  b.depthMinus
19142
19142
  ] }),
19143
- !f && ((F = m.pos) == null ? void 0 : F.x) && /* @__PURE__ */ S.jsx(S.Fragment, { children: /* @__PURE__ */ S.jsx("line", { stroke: h, x1: _, x2: _, y1: 0, y2: t }) }),
19144
- /* @__PURE__ */ S.jsx(
19143
+ !f && ((F = m.pos) == null ? void 0 : F.x) && /* @__PURE__ */ E.jsx(E.Fragment, { children: /* @__PURE__ */ E.jsx("line", { stroke: h, x1: _, x2: _, y1: 0, y2: t }) }),
19144
+ /* @__PURE__ */ E.jsx(
19145
19145
  "rect",
19146
19146
  {
19147
19147
  width: u,
@@ -19169,7 +19169,7 @@ function sx({
19169
19169
  fillWithZero: s
19170
19170
  }) {
19171
19171
  var M;
19172
- const { sideWidth: c, totalWidth: u, viewWidth: l } = a, f = be((j) => j.svgRef), d = be((j) => j.delta), h = be((j) => j.marginWidth), E = _t((j) => j.background), T = ye(() => e.some((j) => j.min < 0), [e]), b = Oe((j) => j.editTrack), m = ye(() => {
19172
+ const { sideWidth: c, totalWidth: u, viewWidth: l } = a, f = be((j) => j.svgRef), d = be((j) => j.delta), h = be((j) => j.marginWidth), S = _t((j) => j.background), T = ye(() => e.some((j) => j.min < 0), [e]), b = Oe((j) => j.editTrack), m = ye(() => {
19173
19173
  const j = e.slice(c, c + l);
19174
19174
  return bh(j);
19175
19175
  }, [e, c, l]);
@@ -19181,7 +19181,7 @@ function sx({
19181
19181
  n,
19182
19182
  i,
19183
19183
  t || m,
19184
- E,
19184
+ S,
19185
19185
  s
19186
19186
  ), [e, n, i, t, m, s]), { mouseState: x, updateMouseState: _, clearMouseState: w } = ps(f, u, h, c), C = ye(() => {
19187
19187
  var j;
@@ -19192,11 +19192,11 @@ function sx({
19192
19192
  onLeave: void 0,
19193
19193
  tooltip: o
19194
19194
  });
19195
- return /* @__PURE__ */ S.jsxs("g", { width: u, height: n, clipPath: `url(#${r})`, transform: `translate(-${c}, 0)`, children: [
19196
- /* @__PURE__ */ S.jsx("defs", { children: /* @__PURE__ */ S.jsx(Or, { id: r, width: u, height: n }) }),
19195
+ return /* @__PURE__ */ E.jsxs("g", { width: u, height: n, clipPath: `url(#${r})`, transform: `translate(-${c}, 0)`, children: [
19196
+ /* @__PURE__ */ E.jsx("defs", { children: /* @__PURE__ */ E.jsx(Or, { id: r, width: u, height: n }) }),
19197
19197
  g,
19198
- !d && C && /* @__PURE__ */ S.jsx("line", { stroke: D, x1: C, x2: C, y1: 0, y2: n }),
19199
- /* @__PURE__ */ S.jsx(
19198
+ !d && C && /* @__PURE__ */ E.jsx("line", { stroke: D, x1: C, x2: C, y1: 0, y2: n }),
19199
+ /* @__PURE__ */ E.jsx(
19200
19200
  "rect",
19201
19201
  {
19202
19202
  width: l,
@@ -19228,17 +19228,17 @@ function cx(e, t, r, n, i, a) {
19228
19228
  }, s = n || o, c = t - Zr(0, s, { min: 0, max: t }), u = qn(r), l = i ? qn(i) : !1;
19229
19229
  let f;
19230
19230
  u && l ? f = "#ffff00" : !u && !l || u && !l ? f = "#ff0000" : f = "#00ff00";
19231
- let d = It(0, c), h = It(0, c), E = "", T = "", b = "";
19231
+ let d = It(0, c), h = It(0, c), S = "", T = "", b = "";
19232
19232
  return e.forEach((m) => {
19233
19233
  const g = Math.max(s.min, Math.min(s.max, m.min)), x = Math.max(s.min, Math.min(s.max, m.max)), _ = Zr(g, s, { min: 0, max: t }), w = Zr(x, s, { min: 0, max: t });
19234
- d += Se(m.x, c) + Se(m.x, t - _) + Se(m.x + 1, t - _) + Se(m.x + 1, c), h += Se(m.x, c) + Se(m.x, t - w) + Se(m.x + 1, t - w) + Se(m.x + 1, c), n && m.min < n.min && (T += `M ${m.x} ${t} l 0 -2 `), n && m.max > n.max && (E += `M ${m.x} 0 l 0 2 `), a && m.min === 0 && m.max === 0 && (b += `M ${m.x} ${c} v -1 h 1 v 1 `);
19235
- }), /* @__PURE__ */ S.jsxs(S.Fragment, { children: [
19236
- s.min < 0 ? /* @__PURE__ */ S.jsx("path", { d, fill: Xt(r, 0.2) }) : null,
19237
- /* @__PURE__ */ S.jsx("line", { x1: 0, y1: c, x2: 4190, y2: c, stroke: i, strokeWidth: 1 }),
19238
- /* @__PURE__ */ S.jsx("path", { d: h, fill: r }),
19239
- /* @__PURE__ */ S.jsx("path", { d: E, stroke: f, strokeWidth: "2", fill: "none" }),
19240
- /* @__PURE__ */ S.jsx("path", { d: T, stroke: f, strokeWidth: "2", fill: "none" }),
19241
- a && b && /* @__PURE__ */ S.jsx("path", { d: b, fill: r })
19234
+ d += Se(m.x, c) + Se(m.x, t - _) + Se(m.x + 1, t - _) + Se(m.x + 1, c), h += Se(m.x, c) + Se(m.x, t - w) + Se(m.x + 1, t - w) + Se(m.x + 1, c), n && m.min < n.min && (T += `M ${m.x} ${t} l 0 -2 `), n && m.max > n.max && (S += `M ${m.x} 0 l 0 2 `), a && m.min === 0 && m.max === 0 && (b += `M ${m.x} ${c} v -1 h 1 v 1 `);
19235
+ }), /* @__PURE__ */ E.jsxs(E.Fragment, { children: [
19236
+ s.min < 0 ? /* @__PURE__ */ E.jsx("path", { d, fill: Xt(r, 0.2) }) : null,
19237
+ /* @__PURE__ */ E.jsx("line", { x1: 0, y1: c, x2: 4190, y2: c, stroke: i, strokeWidth: 1 }),
19238
+ /* @__PURE__ */ E.jsx("path", { d: h, fill: r }),
19239
+ /* @__PURE__ */ E.jsx("path", { d: S, stroke: f, strokeWidth: "2", fill: "none" }),
19240
+ /* @__PURE__ */ E.jsx("path", { d: T, stroke: f, strokeWidth: "2", fill: "none" }),
19241
+ a && b && /* @__PURE__ */ E.jsx("path", { d: b, fill: r })
19242
19242
  ] });
19243
19243
  }
19244
19244
  const bl = (e, t, r, n, i) => {
@@ -19265,7 +19265,7 @@ function fx({
19265
19265
  onLeave: u,
19266
19266
  tooltip: l
19267
19267
  }) {
19268
- const { totalWidth: f, sideWidth: d } = i, h = Gt((W) => W.text), E = 4, T = be((W) => W.getExpandedDomain), b = Oe((W) => W.editTrack), { x: m } = Ut(f), g = r / 3, x = 2 * r / 3, _ = ye(() => {
19268
+ const { totalWidth: f, sideWidth: d } = i, h = Gt((W) => W.text), S = 4, T = be((W) => W.getExpandedDomain), b = Oe((W) => W.editTrack), { x: m } = Ut(f), g = r / 3, x = 2 * r / 3, _ = ye(() => {
19269
19269
  const W = T(), te = t == null ? void 0 : t.filter((Q) => {
19270
19270
  const he = Q.start >= W.start, oe = Q.stop <= W.end, X = Q.chromosome === W.chromosome;
19271
19271
  return he && oe && X;
@@ -19314,11 +19314,11 @@ function fx({
19314
19314
  }
19315
19315
  });
19316
19316
  }), j(W), $(te);
19317
- }, [Z, _]), /* @__PURE__ */ S.jsxs("g", { transform: `translate(-${d}, 0)`, children: [
19318
- /* @__PURE__ */ S.jsx("rect", { width: f, height: r, fill: "transparent" }),
19317
+ }, [Z, _]), /* @__PURE__ */ E.jsxs("g", { transform: `translate(-${d}, 0)`, children: [
19318
+ /* @__PURE__ */ E.jsx("rect", { width: f, height: r, fill: "transparent" }),
19319
19319
  M.map((W) => {
19320
19320
  const te = _.find((Q) => Q.snpid === W.sourceSnp);
19321
- return te ? /* @__PURE__ */ S.jsx(
19321
+ return te ? /* @__PURE__ */ E.jsx(
19322
19322
  "path",
19323
19323
  {
19324
19324
  d: bl(te, W, r, x, g),
@@ -19332,7 +19332,7 @@ function fx({
19332
19332
  }),
19333
19333
  V.map((W) => {
19334
19334
  const te = _.find((Q) => Q.snpid === W.sourceSnp);
19335
- return te ? /* @__PURE__ */ S.jsx(
19335
+ return te ? /* @__PURE__ */ E.jsx(
19336
19336
  "path",
19337
19337
  {
19338
19338
  d: bl(W, te, r, x, g),
@@ -19344,14 +19344,14 @@ function fx({
19344
19344
  `referencing-arc-${W.snpid}-${te.snpid}`
19345
19345
  ) : null;
19346
19346
  }),
19347
- /* @__PURE__ */ S.jsx("g", { transform: `translate(0, ${r - g})`, children: _.map((W, te) => {
19347
+ /* @__PURE__ */ E.jsx("g", { transform: `translate(0, ${r - g})`, children: _.map((W, te) => {
19348
19348
  const Q = (a || []).includes(W.snpid);
19349
- return /* @__PURE__ */ S.jsx(
19349
+ return /* @__PURE__ */ E.jsx(
19350
19350
  "rect",
19351
19351
  {
19352
19352
  height: cr(W) ? x : g,
19353
- width: W.pixelEnd - W.pixelStart + E,
19354
- x: W.pixelStart - E / 2,
19353
+ width: W.pixelEnd - W.pixelStart + S,
19354
+ x: W.pixelStart - S / 2,
19355
19355
  y: cr(W) ? -x + g : 0,
19356
19356
  fill: lx(W, n),
19357
19357
  stroke: Q ? h : "none",
@@ -19373,7 +19373,7 @@ function fx({
19373
19373
  }) }),
19374
19374
  o && M.map((W) => {
19375
19375
  const te = W.pixelStart + (W.pixelEnd - W.pixelStart) / 2, Q = cr(W) ? r - x - 2 : r - g - 2;
19376
- return /* @__PURE__ */ S.jsx(
19376
+ return /* @__PURE__ */ E.jsx(
19377
19377
  "text",
19378
19378
  {
19379
19379
  x: te,
@@ -19388,7 +19388,7 @@ function fx({
19388
19388
  }),
19389
19389
  o && V.map((W) => {
19390
19390
  const te = W.pixelStart + (W.pixelEnd - W.pixelStart) / 2, Q = cr(W) ? r - x - 2 : r - g - 2;
19391
- return /* @__PURE__ */ S.jsx(
19391
+ return /* @__PURE__ */ E.jsx(
19392
19392
  "text",
19393
19393
  {
19394
19394
  x: te,
@@ -19405,17 +19405,17 @@ function fx({
19405
19405
  }
19406
19406
  function hx(e) {
19407
19407
  const t = Gt((n) => n.text), r = Gt((n) => n.background);
19408
- return /* @__PURE__ */ S.jsxs("g", { style: { filter: `drop-shadow(0 0 2px ${t})` }, children: [
19409
- /* @__PURE__ */ S.jsx("rect", { width: 180, height: 50, y: 0, fill: r }),
19410
- /* @__PURE__ */ S.jsx("text", { fontSize: 14, x: 5, y: 16, children: e.snpid }),
19411
- /* @__PURE__ */ S.jsxs("text", { fontSize: 14, x: 5, y: 32, children: [
19408
+ return /* @__PURE__ */ E.jsxs("g", { style: { filter: `drop-shadow(0 0 2px ${t})` }, children: [
19409
+ /* @__PURE__ */ E.jsx("rect", { width: 180, height: 50, y: 0, fill: r }),
19410
+ /* @__PURE__ */ E.jsx("text", { fontSize: 14, x: 5, y: 16, children: e.snpid }),
19411
+ /* @__PURE__ */ E.jsxs("text", { fontSize: 14, x: 5, y: 32, children: [
19412
19412
  e.chromosome,
19413
19413
  ":",
19414
19414
  e.start,
19415
19415
  "-",
19416
19416
  e.stop
19417
19417
  ] }),
19418
- /* @__PURE__ */ S.jsx("text", { fontSize: 14, x: 5, y: 48, children: cr(e) ? "Lead" : ux(e) })
19418
+ /* @__PURE__ */ E.jsx("text", { fontSize: 14, x: 5, y: 48, children: cr(e) ? "Lead" : ux(e) })
19419
19419
  ] });
19420
19420
  }
19421
19421
  function dx({
@@ -19432,7 +19432,7 @@ function dx({
19432
19432
  onLeave: l,
19433
19433
  tooltip: f
19434
19434
  }) {
19435
- const { totalWidth: d, sideWidth: h } = s, E = Gt((D) => D.text), T = be((D) => D.getExpandedDomain), b = be((D) => D.marginWidth), { x: m } = Ut(d), g = 4, { handleHover: x } = St({
19435
+ const { totalWidth: d, sideWidth: h } = s, S = Gt((D) => D.text), T = be((D) => D.getExpandedDomain), b = be((D) => D.marginWidth), { x: m } = Ut(d), g = 4, { handleHover: x } = St({
19436
19436
  onClick: c,
19437
19437
  onHover: u,
19438
19438
  onLeave: l,
@@ -19458,10 +19458,10 @@ function dx({
19458
19458
  };
19459
19459
  }) || [];
19460
19460
  }, [t, m, T, _, i]), C = ye(() => Zr(r || 7.3, _, { min: a, max: 0 }), [_]);
19461
- return /* @__PURE__ */ S.jsxs("g", { id: e, transform: `translate(-${h}, 0)`, children: [
19462
- /* @__PURE__ */ S.jsx("rect", { width: d, height: a, fill: "transparent" }),
19461
+ return /* @__PURE__ */ E.jsxs("g", { id: e, transform: `translate(-${h}, 0)`, children: [
19462
+ /* @__PURE__ */ E.jsx("rect", { width: d, height: a, fill: "transparent" }),
19463
19463
  w.map(
19464
- (D, O) => /* @__PURE__ */ S.jsx(
19464
+ (D, O) => /* @__PURE__ */ E.jsx(
19465
19465
  "circle",
19466
19466
  {
19467
19467
  cx: D.xPosition,
@@ -19477,21 +19477,21 @@ function dx({
19477
19477
  `${D.snpId}-${O}`
19478
19478
  )
19479
19479
  ),
19480
- C > 0 && /* @__PURE__ */ S.jsxs(S.Fragment, { children: [
19481
- /* @__PURE__ */ S.jsxs("text", { x: h + b, y: C, textAnchor: "middle", fill: E, children: [
19480
+ C > 0 && /* @__PURE__ */ E.jsxs(E.Fragment, { children: [
19481
+ /* @__PURE__ */ E.jsxs("text", { x: h + b, y: C, textAnchor: "middle", fill: S, children: [
19482
19482
  "P ",
19483
19483
  ">=",
19484
19484
  " ",
19485
19485
  n || r
19486
19486
  ] }),
19487
- /* @__PURE__ */ S.jsx(
19487
+ /* @__PURE__ */ E.jsx(
19488
19488
  "line",
19489
19489
  {
19490
19490
  x1: 0,
19491
19491
  y1: C,
19492
19492
  x2: d,
19493
19493
  y2: C,
19494
- stroke: E,
19494
+ stroke: S,
19495
19495
  strokeWidth: 1,
19496
19496
  strokeDasharray: "3,3",
19497
19497
  opacity: 0.6
@@ -19502,17 +19502,17 @@ function dx({
19502
19502
  }
19503
19503
  function px(e) {
19504
19504
  const t = Gt((n) => n.text), r = Gt((n) => n.background);
19505
- return /* @__PURE__ */ S.jsxs("g", { style: { filter: `drop-shadow(0 0 2px ${t})` }, children: [
19506
- /* @__PURE__ */ S.jsx("rect", { width: 180, height: 50, y: 0, fill: r }),
19507
- /* @__PURE__ */ S.jsx("text", { fontSize: 14, x: 8, y: 16, children: e.snpId }),
19508
- /* @__PURE__ */ S.jsxs("text", { fontSize: 14, x: 8, y: 32, children: [
19505
+ return /* @__PURE__ */ E.jsxs("g", { style: { filter: `drop-shadow(0 0 2px ${t})` }, children: [
19506
+ /* @__PURE__ */ E.jsx("rect", { width: 180, height: 50, y: 0, fill: r }),
19507
+ /* @__PURE__ */ E.jsx("text", { fontSize: 14, x: 8, y: 16, children: e.snpId }),
19508
+ /* @__PURE__ */ E.jsxs("text", { fontSize: 14, x: 8, y: 32, children: [
19509
19509
  e.chr,
19510
19510
  ":",
19511
19511
  e.start,
19512
19512
  "-",
19513
19513
  e.end
19514
19514
  ] }),
19515
- /* @__PURE__ */ S.jsxs("text", { fontSize: 14, x: 8, y: 48, children: [
19515
+ /* @__PURE__ */ E.jsxs("text", { fontSize: 14, x: 8, y: 48, children: [
19516
19516
  "r² = ",
19517
19517
  Number(e.value).toFixed(3)
19518
19518
  ] })
@@ -19531,7 +19531,7 @@ function vx({
19531
19531
  onLeave: u,
19532
19532
  tooltip: l
19533
19533
  }) {
19534
- const { totalWidth: f, sideWidth: d } = o, { x: h } = Ut(f), E = i / 3, T = 2, b = ye(() => t.map((_) => ({
19534
+ const { totalWidth: f, sideWidth: d } = o, { x: h } = Ut(f), S = i / 3, T = 2, b = ye(() => t.map((_) => ({
19535
19535
  ..._,
19536
19536
  pixelStart: h(_.start),
19537
19537
  pixelEnd: h(_.end)
@@ -19541,13 +19541,13 @@ function vx({
19541
19541
  onLeave: u,
19542
19542
  tooltip: l || mx
19543
19543
  });
19544
- return /* @__PURE__ */ S.jsxs("g", { transform: `translate(-${d}, 0)`, children: [
19545
- /* @__PURE__ */ S.jsx("rect", { width: f, height: i, fill: "transparent" }),
19544
+ return /* @__PURE__ */ E.jsxs("g", { transform: `translate(-${d}, 0)`, children: [
19545
+ /* @__PURE__ */ E.jsx("rect", { width: f, height: i, fill: "transparent" }),
19546
19546
  n == null ? void 0 : n.map((_, w) => {
19547
19547
  const C = b.find((W) => W.snpId === _), D = b.find((W) => W.snpId === r);
19548
19548
  if (!C || !D) return null;
19549
- const O = C.pixelStart + (C.pixelEnd - C.pixelStart) / 2, A = D.pixelStart + (D.pixelEnd - D.pixelStart) / 2, M = i - E, j = i - E, V = O + (A - O) * 0.5, $ = Math.min(M, j) - i * 1, Z = `M ${O} ${M} Q ${V} ${$} ${A} ${j}`;
19550
- return /* @__PURE__ */ S.jsx(
19549
+ const O = C.pixelStart + (C.pixelEnd - C.pixelStart) / 2, A = D.pixelStart + (D.pixelEnd - D.pixelStart) / 2, M = i - S, j = i - S, V = O + (A - O) * 0.5, $ = Math.min(M, j) - i * 1, Z = `M ${O} ${M} Q ${V} ${$} ${A} ${j}`;
19550
+ return /* @__PURE__ */ E.jsx(
19551
19551
  "path",
19552
19552
  {
19553
19553
  d: Z,
@@ -19559,10 +19559,10 @@ function vx({
19559
19559
  `reference-arc-${w}`
19560
19560
  );
19561
19561
  }),
19562
- /* @__PURE__ */ S.jsx("g", { transform: `translate(0, ${i - E})`, children: b.map((_, w) => /* @__PURE__ */ S.jsx(
19562
+ /* @__PURE__ */ E.jsx("g", { transform: `translate(0, ${i - S})`, children: b.map((_, w) => /* @__PURE__ */ E.jsx(
19563
19563
  "rect",
19564
19564
  {
19565
- height: E,
19565
+ height: S,
19566
19566
  width: _.pixelEnd - _.pixelStart + T,
19567
19567
  x: _.pixelStart - T / 2,
19568
19568
  y: 0,
@@ -19577,25 +19577,25 @@ function vx({
19577
19577
  }
19578
19578
  function mx(e) {
19579
19579
  const t = Gt((n) => n.text), r = Gt((n) => n.background);
19580
- return /* @__PURE__ */ S.jsxs("g", { style: { filter: `drop-shadow(0 0 2px ${t})` }, children: [
19581
- /* @__PURE__ */ S.jsx("rect", { width: 180, height: 50, y: 0, fill: r }),
19582
- /* @__PURE__ */ S.jsx("text", { fontSize: 14, x: 5, y: 16, children: e.snpId }),
19583
- /* @__PURE__ */ S.jsxs("text", { fontSize: 14, x: 5, y: 32, children: [
19580
+ return /* @__PURE__ */ E.jsxs("g", { style: { filter: `drop-shadow(0 0 2px ${t})` }, children: [
19581
+ /* @__PURE__ */ E.jsx("rect", { width: 180, height: 50, y: 0, fill: r }),
19582
+ /* @__PURE__ */ E.jsx("text", { fontSize: 14, x: 5, y: 16, children: e.snpId }),
19583
+ /* @__PURE__ */ E.jsxs("text", { fontSize: 14, x: 5, y: 32, children: [
19584
19584
  e.chr,
19585
19585
  ":",
19586
19586
  e.start,
19587
19587
  "-",
19588
19588
  e.end
19589
19589
  ] }),
19590
- /* @__PURE__ */ S.jsx("text", { fontSize: 14, x: 5, y: 48, children: Number(e.value).toFixed(3) })
19590
+ /* @__PURE__ */ E.jsx("text", { fontSize: 14, x: 5, y: 48, children: Number(e.value).toFixed(3) })
19591
19591
  ] });
19592
19592
  }
19593
19593
  function gx({ id: e }) {
19594
19594
  const t = Oe((f) => f.getTrack(e)), r = Ot((f) => f.trackData.get(e)), i = be((f) => f.getTrackDimensions)(), a = !r || r.data === null && r.error === null, o = (r == null ? void 0 : r.error) ?? void 0, s = (r == null ? void 0 : r.data) ?? void 0, c = gh(e), u = ye(() => `translate(0, ${c + Qe})`, [c]), l = ye(
19595
- () => t && s ? yx(t, s, i) : /* @__PURE__ */ S.jsx(S.Fragment, {}),
19595
+ () => t && s ? yx(t, s, i) : /* @__PURE__ */ E.jsx(E.Fragment, {}),
19596
19596
  [t, s, i]
19597
19597
  );
19598
- return /* @__PURE__ */ S.jsx(Oh, { id: e, transform: u, error: o, loading: a, children: l });
19598
+ return /* @__PURE__ */ E.jsx(Oh, { id: e, transform: u, error: o, loading: a, children: l });
19599
19599
  }
19600
19600
  const ws = {
19601
19601
  [ke.BigWig]: {
@@ -19636,7 +19636,7 @@ const ws = {
19636
19636
  function yx(e, t, r) {
19637
19637
  if (e.trackType === ke.Custom) {
19638
19638
  const a = e.renderers[e.displayMode];
19639
- return a ? /* @__PURE__ */ S.jsx(a, { ...e, data: t, dimensions: r }) : null;
19639
+ return a ? /* @__PURE__ */ E.jsx(a, { ...e, data: t, dimensions: r }) : null;
19640
19640
  }
19641
19641
  const n = ws[e.trackType][e.displayMode];
19642
19642
  if (!n) return null;
@@ -19645,9 +19645,9 @@ function yx(e, t, r) {
19645
19645
  name: `Dataset ${s + 1}`,
19646
19646
  url: o
19647
19647
  }));
19648
- return /* @__PURE__ */ S.jsx(n, { ...e, data: t, dimensions: r, datasets: a });
19648
+ return /* @__PURE__ */ E.jsx(n, { ...e, data: t, dimensions: r, datasets: a });
19649
19649
  }
19650
- return /* @__PURE__ */ S.jsx(n, { ...e, data: t, dimensions: r });
19650
+ return /* @__PURE__ */ E.jsx(n, { ...e, data: t, dimensions: r });
19651
19651
  }
19652
19652
  function bx(e, t, r) {
19653
19653
  const n = xx(t, r), i = new Set(n), s = ["chrom chromStart chromEnd value", Array.from(i).map((u) => `${u.chrom} ${u.chromStart} ${u.chromEnd} ${u.value}`).join(`
@@ -19726,10 +19726,10 @@ function Sx() {
19726
19726
  document.removeEventListener("mousedown", b);
19727
19727
  };
19728
19728
  }, [e, i, t, r, n]), !o || !s || s.data === null) return null;
19729
- const d = o.displayMode, h = o.trackType === ke.Custom ? o.renderers : ws[o.trackType], E = Object.keys(h), T = (b) => {
19729
+ const d = o.displayMode, h = o.trackType === ke.Custom ? o.renderers : ws[o.trackType], S = Object.keys(h), T = (b) => {
19730
19730
  t && (i(!1, t, r, n), b === "remove" ? u(t) : b === "download" ? Ph(t, o.title, !0) : c(t, { displayMode: b }));
19731
19731
  };
19732
- return /* @__PURE__ */ S.jsxs(
19732
+ return /* @__PURE__ */ E.jsxs(
19733
19733
  "div",
19734
19734
  {
19735
19735
  ref: a,
@@ -19743,7 +19743,7 @@ function Sx() {
19743
19743
  zIndex: 1e3
19744
19744
  },
19745
19745
  children: [
19746
- E.map((b) => /* @__PURE__ */ S.jsx(
19746
+ S.map((b) => /* @__PURE__ */ E.jsx(
19747
19747
  Ja,
19748
19748
  {
19749
19749
  mode: b,
@@ -19754,7 +19754,7 @@ function Sx() {
19754
19754
  },
19755
19755
  b
19756
19756
  )),
19757
- /* @__PURE__ */ S.jsx(
19757
+ /* @__PURE__ */ E.jsx(
19758
19758
  Ja,
19759
19759
  {
19760
19760
  mode: "remove",
@@ -19764,7 +19764,7 @@ function Sx() {
19764
19764
  handleClick: T
19765
19765
  }
19766
19766
  ),
19767
- /* @__PURE__ */ S.jsx(
19767
+ /* @__PURE__ */ E.jsx(
19768
19768
  Ja,
19769
19769
  {
19770
19770
  mode: "download",
@@ -19785,7 +19785,7 @@ function Ja({
19785
19785
  setHovered: n,
19786
19786
  handleClick: i
19787
19787
  }) {
19788
- return /* @__PURE__ */ S.jsx(
19788
+ return /* @__PURE__ */ E.jsx(
19789
19789
  "div",
19790
19790
  {
19791
19791
  style: {
@@ -19841,12 +19841,12 @@ var Un = function(e, t, r) {
19841
19841
  var t = e.onMove, r = e.onKey, n = Fh(e, ["onMove", "onKey"]), i = rt(null), a = Io(t), o = Io(r), s = rt(null), c = rt(!1), u = ye(function() {
19842
19842
  var h = function(b) {
19843
19843
  wl(b), (An(b) ? b.touches.length > 0 : b.buttons > 0) && i.current ? a(_l(i.current, b, s.current)) : T(!1);
19844
- }, E = function() {
19844
+ }, S = function() {
19845
19845
  return T(!1);
19846
19846
  };
19847
19847
  function T(b) {
19848
19848
  var m = c.current, g = Ro(i.current), x = b ? g.addEventListener : g.removeEventListener;
19849
- x(m ? "touchmove" : "mousemove", h), x(m ? "touchend" : "mouseup", E);
19849
+ x(m ? "touchmove" : "mousemove", h), x(m ? "touchend" : "mouseup", S);
19850
19850
  }
19851
19851
  return [function(b) {
19852
19852
  var m = b.nativeEvent, g = i.current;
@@ -19976,7 +19976,7 @@ function Ux(e, t) {
19976
19976
  }, [e, t]), r;
19977
19977
  }
19978
19978
  function Jt({ title: e, children: t }) {
19979
- return /* @__PURE__ */ S.jsxs(
19979
+ return /* @__PURE__ */ E.jsxs(
19980
19980
  "div",
19981
19981
  {
19982
19982
  style: {
@@ -19989,7 +19989,7 @@ function Jt({ title: e, children: t }) {
19989
19989
  gap: "3px"
19990
19990
  },
19991
19991
  children: [
19992
- /* @__PURE__ */ S.jsx("div", { style: { fontWeight: "bold" }, children: e }),
19992
+ /* @__PURE__ */ E.jsx("div", { style: { fontWeight: "bold" }, children: e }),
19993
19993
  t
19994
19994
  ]
19995
19995
  }
@@ -20003,11 +20003,11 @@ function zx({ track: e }) {
20003
20003
  const a = (o) => {
20004
20004
  n(e.id, { color: o });
20005
20005
  };
20006
- return /* @__PURE__ */ S.jsx(Jt, { title: "", children: /* @__PURE__ */ S.jsxs("div", { style: { display: "flex", flexDirection: "row", alignItems: "center", gap: "5px" }, children: [
20007
- /* @__PURE__ */ S.jsx("div", { style: { fontWeight: "bold" }, children: "Color: " }),
20008
- /* @__PURE__ */ S.jsx(Vx, { color: e.color || "", onChange: a }),
20009
- /* @__PURE__ */ S.jsx("div", { style: { fontWeight: "bold" }, children: "Title: " }),
20010
- /* @__PURE__ */ S.jsx("input", { id: "titleInput", type: "text", value: t, onChange: (o) => r(o.target.value) })
20006
+ return /* @__PURE__ */ E.jsx(Jt, { title: "", children: /* @__PURE__ */ E.jsxs("div", { style: { display: "flex", flexDirection: "row", alignItems: "center", gap: "5px" }, children: [
20007
+ /* @__PURE__ */ E.jsx("div", { style: { fontWeight: "bold" }, children: "Color: " }),
20008
+ /* @__PURE__ */ E.jsx(Vx, { color: e.color || "", onChange: a }),
20009
+ /* @__PURE__ */ E.jsx("div", { style: { fontWeight: "bold" }, children: "Title: " }),
20010
+ /* @__PURE__ */ E.jsx("input", { id: "titleInput", type: "text", value: t, onChange: (o) => r(o.target.value) })
20011
20011
  ] }) });
20012
20012
  }
20013
20013
  function Vx({ color: e, onChange: t }) {
@@ -20034,9 +20034,9 @@ function Vx({ color: e, onChange: t }) {
20034
20034
  borderRadius: "9px",
20035
20035
  boxShadow: "0 6px 12px rgba(0, 0, 0, 0.15)"
20036
20036
  };
20037
- return /* @__PURE__ */ S.jsxs("div", { style: { position: "relative" }, children: [
20038
- /* @__PURE__ */ S.jsx("div", { style: a, onClick: () => n(!r) }),
20039
- r && /* @__PURE__ */ S.jsx("div", { ref: i, style: o, children: /* @__PURE__ */ S.jsx(qx, { color: e, onChange: t }) })
20037
+ return /* @__PURE__ */ E.jsxs("div", { style: { position: "relative" }, children: [
20038
+ /* @__PURE__ */ E.jsx("div", { style: a, onClick: () => n(!r) }),
20039
+ r && /* @__PURE__ */ E.jsx("div", { ref: i, style: o, children: /* @__PURE__ */ E.jsx(qx, { color: e, onChange: t }) })
20040
20040
  ] });
20041
20041
  }
20042
20042
  function Si(e) {
@@ -20073,7 +20073,7 @@ function Wx({ id: e, trackType: t }) {
20073
20073
  }), u = (l) => {
20074
20074
  s(e, { displayMode: l });
20075
20075
  };
20076
- return r ? /* @__PURE__ */ S.jsx(Jt, { title: "Display Mode", children: /* @__PURE__ */ S.jsx("div", { style: { display: "flex", flexDirection: "row", gap: "5px" }, children: i.map((l) => /* @__PURE__ */ S.jsx("button", { onClick: () => u(l), style: c(l === a), children: l }, l)) }) }) : null;
20076
+ return r ? /* @__PURE__ */ E.jsx(Jt, { title: "Display Mode", children: /* @__PURE__ */ E.jsx("div", { style: { display: "flex", flexDirection: "row", gap: "5px" }, children: i.map((l) => /* @__PURE__ */ E.jsx("button", { onClick: () => u(l), style: c(l === a), children: l }, l)) }) }) : null;
20077
20077
  }
20078
20078
  function Hx({ id: e, defaultHeight: t }) {
20079
20079
  const r = rt(null), n = Oe((x) => x.editTrack), i = Oe((x) => x.editAllTracksByType), a = Oe((x) => x.getTrack), o = Oe((x) => x.tracks), s = 20, c = 300, u = a(e), l = u == null ? void 0 : u.trackType, f = u == null ? void 0 : u.color, d = (x) => {
@@ -20085,7 +20085,7 @@ function Hx({ id: e, defaultHeight: t }) {
20085
20085
  if (isNaN(_)) return "Must be a number";
20086
20086
  if (_ < s) return `Height must be at least ${s}`;
20087
20087
  if (_ > c) return `Height must be at most ${c}`;
20088
- }, E = () => {
20088
+ }, S = () => {
20089
20089
  if (!l || !r.current) return;
20090
20090
  const x = r.current.value || String(t), _ = Number(x) < s ? s : Number(x) > c ? c : Number(x);
20091
20091
  i(l, { height: _ });
@@ -20118,13 +20118,13 @@ function Hx({ id: e, defaultHeight: t }) {
20118
20118
  cursor: "pointer",
20119
20119
  whiteSpace: "nowrap"
20120
20120
  });
20121
- return /* @__PURE__ */ S.jsx(Jt, { title: "Height", children: /* @__PURE__ */ S.jsxs("div", { style: { display: "flex", flexDirection: "row", gap: "5px", alignItems: "flex-start" }, children: [
20122
- /* @__PURE__ */ S.jsx(Qx, { inputRef: r, defaultValue: t, validate: h, callback: d }),
20123
- b && l && /* @__PURE__ */ S.jsxs(
20121
+ return /* @__PURE__ */ E.jsx(Jt, { title: "Height", children: /* @__PURE__ */ E.jsxs("div", { style: { display: "flex", flexDirection: "row", gap: "5px", alignItems: "flex-start" }, children: [
20122
+ /* @__PURE__ */ E.jsx(Qx, { inputRef: r, defaultValue: t, validate: h, callback: d }),
20123
+ b && l && /* @__PURE__ */ E.jsxs(
20124
20124
  "button",
20125
20125
  {
20126
20126
  style: g(),
20127
- onClick: E,
20127
+ onClick: S,
20128
20128
  title: `Change height for all ${T} ${m(l)} tracks`,
20129
20129
  children: [
20130
20130
  "Change all ",
@@ -20151,7 +20151,7 @@ function Qx({
20151
20151
  l || n(s), e.current && (e.current.setCustomValidity(l || ""), e.current.reportValidity());
20152
20152
  }, i ? 500 : 2e3);
20153
20153
  return () => clearTimeout(u);
20154
- }, [i]), /* @__PURE__ */ S.jsx(
20154
+ }, [i]), /* @__PURE__ */ E.jsx(
20155
20155
  "input",
20156
20156
  {
20157
20157
  ref: e,
@@ -20191,7 +20191,7 @@ function Yx({ track: e }) {
20191
20191
  cursor: "pointer"
20192
20192
  };
20193
20193
  }, c = e.assembly.toLowerCase() === "grch38";
20194
- return /* @__PURE__ */ S.jsx(Jt, { title: c ? "Human Assembly Version" : "Mouse Assembly Version", children: /* @__PURE__ */ S.jsx("div", { style: { display: "flex", flexDirection: "row", gap: "5px" }, children: Object.values(c ? Ao : zh).filter((u) => !isNaN(Number(u))).map((u, l) => /* @__PURE__ */ S.jsx(
20194
+ return /* @__PURE__ */ E.jsx(Jt, { title: c ? "Human Assembly Version" : "Mouse Assembly Version", children: /* @__PURE__ */ E.jsx("div", { style: { display: "flex", flexDirection: "row", gap: "5px" }, children: Object.values(c ? Ao : zh).filter((u) => !isNaN(Number(u))).map((u, l) => /* @__PURE__ */ E.jsx(
20195
20195
  "button",
20196
20196
  {
20197
20197
  onClick: () => o(Number(u)),
@@ -20202,7 +20202,7 @@ function Yx({ track: e }) {
20202
20202
  )) }) });
20203
20203
  }
20204
20204
  function Xx(e) {
20205
- return /* @__PURE__ */ S.jsx("svg", { width: e.width, height: e.height, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ S.jsx(
20205
+ return /* @__PURE__ */ E.jsx("svg", { width: e.width, height: e.height, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ E.jsx(
20206
20206
  "path",
20207
20207
  {
20208
20208
  d: "M8.54636 19.7673C10.9455 20.8316 13.803 20.7738 16.2499 19.361C20.3154 17.0138 21.7084 11.8153 19.3612 7.74983L19.1112 7.31682M4.63826 16.25C2.29105 12.1845 3.68399 6.98595 7.74948 4.63874C10.1965 3.22597 13.0539 3.16816 15.4531 4.23253M2.49316 16.3336L5.22521 17.0657L5.95727 14.3336M18.0424 9.66565L18.7744 6.9336L21.5065 7.66565",
@@ -20228,7 +20228,7 @@ function No({
20228
20228
  l || r(s), n.current && (n.current.setCustomValidity(l || ""), n.current.reportValidity());
20229
20229
  }, i ? 500 : 2e3);
20230
20230
  return () => clearTimeout(u);
20231
- }, [i]), /* @__PURE__ */ S.jsx(
20231
+ }, [i]), /* @__PURE__ */ E.jsx(
20232
20232
  "input",
20233
20233
  {
20234
20234
  ref: n,
@@ -20271,10 +20271,10 @@ function Jx({
20271
20271
  const l = { min: (r == null ? void 0 : r.min) ?? t.min, max: u };
20272
20272
  n(e, { customRange: l });
20273
20273
  };
20274
- return /* @__PURE__ */ S.jsx(Jt, { title: "Range", children: /* @__PURE__ */ S.jsxs("div", { style: { display: "flex", flexDirection: "row", gap: "10px" }, children: [
20274
+ return /* @__PURE__ */ E.jsx(Jt, { title: "Range", children: /* @__PURE__ */ E.jsxs("div", { style: { display: "flex", flexDirection: "row", gap: "10px" }, children: [
20275
20275
  "Min:",
20276
20276
  " ",
20277
- /* @__PURE__ */ S.jsx(
20277
+ /* @__PURE__ */ E.jsx(
20278
20278
  No,
20279
20279
  {
20280
20280
  defaultValue: (r == null ? void 0 : r.min) || (t == null ? void 0 : t.min) || 0,
@@ -20284,7 +20284,7 @@ function Jx({
20284
20284
  ),
20285
20285
  "Max:",
20286
20286
  " ",
20287
- /* @__PURE__ */ S.jsx(
20287
+ /* @__PURE__ */ E.jsx(
20288
20288
  No,
20289
20289
  {
20290
20290
  defaultValue: (r == null ? void 0 : r.max) || (t == null ? void 0 : t.max) || 100,
@@ -20292,14 +20292,14 @@ function Jx({
20292
20292
  callback: s
20293
20293
  }
20294
20294
  ),
20295
- /* @__PURE__ */ S.jsx("button", { title: "auto scale range", onClick: () => n(e, { customRange: void 0 }), children: /* @__PURE__ */ S.jsx(Xx, { fill: "#000000", width: 15, height: 15, style: { cursor: "pointer" } }) })
20295
+ /* @__PURE__ */ E.jsx("button", { title: "auto scale range", onClick: () => n(e, { customRange: void 0 }), children: /* @__PURE__ */ E.jsx(Xx, { fill: "#000000", width: 15, height: 15, style: { cursor: "pointer" } }) })
20296
20296
  ] }) });
20297
20297
  }
20298
20298
  function Kx({ id: e, name: t }) {
20299
20299
  const r = Oe((i) => i.editTrack), n = (i) => {
20300
20300
  r(e, { geneName: i.target.value });
20301
20301
  };
20302
- return /* @__PURE__ */ S.jsx(Jt, { title: "Highlight Gene", children: /* @__PURE__ */ S.jsx("input", { value: t, onChange: n, className: "w-full" }) });
20302
+ return /* @__PURE__ */ E.jsx(Jt, { title: "Highlight Gene", children: /* @__PURE__ */ E.jsx("input", { value: t, onChange: n, className: "w-full" }) });
20303
20303
  }
20304
20304
  const Ka = {
20305
20305
  cursor: "pointer",
@@ -20313,15 +20313,15 @@ const Ka = {
20313
20313
  padding: "6px 12px"
20314
20314
  };
20315
20315
  function e1({ track: e }) {
20316
- const t = be((E) => E.getExpandedDomain), r = Ot((E) => E.trackData.get(e.id || "")), n = t(), i = e.color || "#ffffff", a = $x(i), o = Cn(i, a ? 30 : -30), s = Si(i), c = (r == null ? void 0 : r.data) ?? void 0, u = () => {
20316
+ const t = be((S) => S.getExpandedDomain), r = Ot((S) => S.trackData.get(e.id || "")), n = t(), i = e.color || "#ffffff", a = $x(i), o = Cn(i, a ? 30 : -30), s = Si(i), c = (r == null ? void 0 : r.data) ?? void 0, u = () => {
20317
20317
  e.trackType === ke.BigWig ? bx(e.id, c, n) : e.trackType === ke.BigBed && _x(e.id, c, n);
20318
20318
  }, l = () => {
20319
20319
  Ph(e.id, e.title, !0);
20320
20320
  }, f = () => {
20321
20321
  e.trackType === ke.BigWig && (navigator.clipboard.writeText(e.url || ""), alert("Copied URL to clipboard!"));
20322
20322
  }, [d, h] = Me(-1);
20323
- return /* @__PURE__ */ S.jsx(Jt, { title: "Download", children: /* @__PURE__ */ S.jsx("div", { children: /* @__PURE__ */ S.jsxs("div", { style: { display: "flex", flexDirection: "row", gap: "5px" }, children: [
20324
- e.trackType === ke.BigWig || e.trackType === ke.BigBed ? /* @__PURE__ */ S.jsx(
20323
+ return /* @__PURE__ */ E.jsx(Jt, { title: "Download", children: /* @__PURE__ */ E.jsx("div", { children: /* @__PURE__ */ E.jsxs("div", { style: { display: "flex", flexDirection: "row", gap: "5px" }, children: [
20324
+ e.trackType === ke.BigWig || e.trackType === ke.BigBed ? /* @__PURE__ */ E.jsx(
20325
20325
  "button",
20326
20326
  {
20327
20327
  style: {
@@ -20339,7 +20339,7 @@ function e1({ track: e }) {
20339
20339
  children: "Locus Data"
20340
20340
  }
20341
20341
  ) : null,
20342
- /* @__PURE__ */ S.jsx(
20342
+ /* @__PURE__ */ E.jsx(
20343
20343
  "button",
20344
20344
  {
20345
20345
  style: {
@@ -20357,7 +20357,7 @@ function e1({ track: e }) {
20357
20357
  children: "Locus SVG"
20358
20358
  }
20359
20359
  ),
20360
- e.trackType === ke.BigWig || e.trackType === ke.BigBed && e.url ? /* @__PURE__ */ S.jsx(
20360
+ e.trackType === ke.BigWig || e.trackType === ke.BigBed && e.url ? /* @__PURE__ */ E.jsx(
20361
20361
  "button",
20362
20362
  {
20363
20363
  style: {
@@ -20388,10 +20388,10 @@ function t1({ id: e, defaultGap: t }) {
20388
20388
  if (c < n) return `Gap must be at least ${n}`;
20389
20389
  if (c > i) return `Gap must be at most ${i}`;
20390
20390
  };
20391
- return /* @__PURE__ */ S.jsx(Jt, { title: "Gap", children: /* @__PURE__ */ S.jsx(No, { defaultValue: t, validate: o, callback: a }) });
20391
+ return /* @__PURE__ */ E.jsx(Jt, { title: "Gap", children: /* @__PURE__ */ E.jsx(No, { defaultValue: t, validate: o, callback: a }) });
20392
20392
  }
20393
20393
  function r1({ datasets: e }) {
20394
- return /* @__PURE__ */ S.jsx(Jt, { title: "Datasets", children: /* @__PURE__ */ S.jsx("div", { style: { display: "flex", flexDirection: "column", gap: "2px" }, children: e.map((t, r) => /* @__PURE__ */ S.jsx("div", { style: { fontSize: "12px", color: "#666" }, children: t.name }, r)) }) });
20394
+ return /* @__PURE__ */ E.jsx(Jt, { title: "Datasets", children: /* @__PURE__ */ E.jsx("div", { style: { display: "flex", flexDirection: "column", gap: "2px" }, children: e.map((t, r) => /* @__PURE__ */ E.jsx("div", { style: { fontSize: "12px", color: "#666" }, children: t.name }, r)) }) });
20395
20395
  }
20396
20396
  function n1() {
20397
20397
  const e = Sn((d) => d.id), t = Sn((d) => d.open), r = Sn((d) => d.closeModal), n = Sn((d) => d.position), i = 40, [a, o] = Me(n), [s, c] = Me(!1), u = (d, h) => {
@@ -20408,7 +20408,7 @@ function n1() {
20408
20408
  };
20409
20409
  }, [r]);
20410
20410
  const l = Oe((d) => d.getTrack(e)), f = rt(null);
20411
- return !l || !t ? null : /* @__PURE__ */ S.jsx(
20411
+ return !l || !t ? null : /* @__PURE__ */ E.jsx(
20412
20412
  Fi,
20413
20413
  {
20414
20414
  handle: ".modal-handle",
@@ -20416,7 +20416,7 @@ function n1() {
20416
20416
  onDrag: u,
20417
20417
  onStop: () => c(!1),
20418
20418
  nodeRef: f,
20419
- children: /* @__PURE__ */ S.jsxs(
20419
+ children: /* @__PURE__ */ E.jsxs(
20420
20420
  "div",
20421
20421
  {
20422
20422
  ref: f,
@@ -20432,7 +20432,7 @@ function n1() {
20432
20432
  background: "#ffffff"
20433
20433
  },
20434
20434
  children: [
20435
- /* @__PURE__ */ S.jsxs(
20435
+ /* @__PURE__ */ E.jsxs(
20436
20436
  "div",
20437
20437
  {
20438
20438
  className: "modal-handle",
@@ -20446,8 +20446,8 @@ function n1() {
20446
20446
  alignItems: "center"
20447
20447
  },
20448
20448
  children: [
20449
- /* @__PURE__ */ S.jsx(a1, { handleClose: r, color: Si(l.color || "transparent") }),
20450
- /* @__PURE__ */ S.jsx("div", { style: { margin: "10px" }, children: /* @__PURE__ */ S.jsxs("div", { style: { paddingBottom: "0px", fontSize: "1.2em", fontWeight: "bold" }, children: [
20449
+ /* @__PURE__ */ E.jsx(a1, { handleClose: r, color: Si(l.color || "transparent") }),
20450
+ /* @__PURE__ */ E.jsx("div", { style: { margin: "10px" }, children: /* @__PURE__ */ E.jsxs("div", { style: { paddingBottom: "0px", fontSize: "1.2em", fontWeight: "bold" }, children: [
20451
20451
  "Configure",
20452
20452
  " ",
20453
20453
  l.shortLabel || l.title.length > i ? l.title.slice(0, i) + "..." : l.title
@@ -20455,7 +20455,7 @@ function n1() {
20455
20455
  ]
20456
20456
  }
20457
20457
  ),
20458
- /* @__PURE__ */ S.jsx(i1, { id: e })
20458
+ /* @__PURE__ */ E.jsx(i1, { id: e })
20459
20459
  ]
20460
20460
  }
20461
20461
  )
@@ -20468,42 +20468,46 @@ function i1({ id: e }) {
20468
20468
  const r = (() => {
20469
20469
  switch (t.trackType) {
20470
20470
  case ke.BigWig:
20471
- return /* @__PURE__ */ S.jsx(Jx, { id: e, defaultRange: t.range, customRange: t.customRange });
20471
+ return /* @__PURE__ */ E.jsx(Jx, { id: e, defaultRange: t.range, customRange: t.customRange });
20472
20472
  case ke.BigBed:
20473
- return /* @__PURE__ */ S.jsx(S.Fragment, {});
20473
+ return /* @__PURE__ */ E.jsx(E.Fragment, {});
20474
20474
  case ke.Transcript:
20475
- return /* @__PURE__ */ S.jsxs(S.Fragment, { children: [
20476
- /* @__PURE__ */ S.jsx(Yx, { track: t }),
20477
- /* @__PURE__ */ S.jsx(Kx, { id: e, name: t.geneName || "" })
20475
+ return /* @__PURE__ */ E.jsxs(E.Fragment, { children: [
20476
+ /* @__PURE__ */ E.jsx(Yx, { track: t }),
20477
+ /* @__PURE__ */ E.jsx(Kx, { id: e, name: t.geneName || "" })
20478
20478
  ] });
20479
20479
  case ke.Motif:
20480
- return /* @__PURE__ */ S.jsx(S.Fragment, {});
20480
+ return /* @__PURE__ */ E.jsx(E.Fragment, {});
20481
20481
  case ke.Importance:
20482
- return /* @__PURE__ */ S.jsx(S.Fragment, {});
20482
+ return /* @__PURE__ */ E.jsx(E.Fragment, {});
20483
20483
  case ke.LDTrack:
20484
- return /* @__PURE__ */ S.jsx(S.Fragment, {});
20484
+ return /* @__PURE__ */ E.jsx(E.Fragment, {});
20485
20485
  case ke.BulkBed:
20486
- return /* @__PURE__ */ S.jsxs(S.Fragment, { children: [
20487
- /* @__PURE__ */ S.jsx(t1, { id: e, defaultGap: t.gap || 0 }),
20488
- /* @__PURE__ */ S.jsx(r1, { datasets: t.datasets || [] })
20486
+ return /* @__PURE__ */ E.jsxs(E.Fragment, { children: [
20487
+ /* @__PURE__ */ E.jsx(t1, { id: e, defaultGap: t.gap || 0 }),
20488
+ /* @__PURE__ */ E.jsx(r1, { datasets: t.datasets || [] })
20489
20489
  ] });
20490
+ case ke.Custom: {
20491
+ const n = t.settingsPanel;
20492
+ return n ? /* @__PURE__ */ E.jsx(n, { id: e }) : /* @__PURE__ */ E.jsx(E.Fragment, {});
20493
+ }
20490
20494
  default:
20491
- return /* @__PURE__ */ S.jsx(S.Fragment, {});
20495
+ return /* @__PURE__ */ E.jsx(E.Fragment, {});
20492
20496
  }
20493
20497
  })();
20494
- return /* @__PURE__ */ S.jsxs(S.Fragment, { children: [
20495
- /* @__PURE__ */ S.jsx(zx, { track: t }),
20496
- /* @__PURE__ */ S.jsxs("div", { style: { display: "flex", flexDirection: "row", gap: "5px" }, children: [
20497
- /* @__PURE__ */ S.jsx(Hx, { id: e, defaultHeight: t.height }),
20498
- /* @__PURE__ */ S.jsx(Wx, { id: t.id, trackType: t.trackType })
20498
+ return /* @__PURE__ */ E.jsxs(E.Fragment, { children: [
20499
+ /* @__PURE__ */ E.jsx(zx, { track: t }),
20500
+ /* @__PURE__ */ E.jsxs("div", { style: { display: "flex", flexDirection: "row", gap: "5px" }, children: [
20501
+ /* @__PURE__ */ E.jsx(Hx, { id: e, defaultHeight: t.height }),
20502
+ /* @__PURE__ */ E.jsx(Wx, { id: t.id, trackType: t.trackType })
20499
20503
  ] }),
20500
20504
  r,
20501
- /* @__PURE__ */ S.jsx(e1, { track: t })
20505
+ /* @__PURE__ */ E.jsx(e1, { track: t })
20502
20506
  ] });
20503
20507
  }
20504
20508
  function a1({ handleClose: e, color: t }) {
20505
20509
  const r = "25px";
20506
- return /* @__PURE__ */ S.jsx(
20510
+ return /* @__PURE__ */ E.jsx(
20507
20511
  "svg",
20508
20512
  {
20509
20513
  style: { color: t, fontSize: r, cursor: "pointer", position: "absolute", top: "5px", right: "5px" },
@@ -20513,7 +20517,7 @@ function a1({ handleClose: e, color: t }) {
20513
20517
  viewBox: "0 0 24 24",
20514
20518
  fill: "none",
20515
20519
  xmlns: "http://www.w3.org/2000/svg",
20516
- children: /* @__PURE__ */ S.jsx(
20520
+ children: /* @__PURE__ */ E.jsx(
20517
20521
  "path",
20518
20522
  {
20519
20523
  fillRule: "evenodd",
@@ -20545,13 +20549,13 @@ function o1() {
20545
20549
  attributes: !0,
20546
20550
  characterData: !0
20547
20551
  }), () => g.disconnect();
20548
- }, [n, e, t, r, h, T, l]), !n || d ? null : /* @__PURE__ */ S.jsx("g", { ref: f, id: "tooltip", transform: `translate(${i}, ${o})`, children: e });
20552
+ }, [n, e, t, r, h, T, l]), !n || d ? null : /* @__PURE__ */ E.jsx("g", { ref: f, id: "tooltip", transform: `translate(${i}, ${o})`, style: { pointerEvents: "none" }, children: e });
20549
20553
  }
20550
20554
  function s1({ children: e }) {
20551
20555
  const t = be((o) => o.setSvgRef), r = rt(null), n = Ni(), i = be((o) => o.browserWidth), a = Ot((o) => o.isFetching);
20552
20556
  return Ue(() => {
20553
20557
  t(r);
20554
- }, [t]), /* @__PURE__ */ S.jsxs(
20558
+ }, [t]), /* @__PURE__ */ E.jsxs(
20555
20559
  "svg",
20556
20560
  {
20557
20561
  id: "browserSVG",
@@ -20564,7 +20568,7 @@ function s1({ children: e }) {
20564
20568
  },
20565
20569
  children: [
20566
20570
  e,
20567
- a && /* @__PURE__ */ S.jsx(
20571
+ a && /* @__PURE__ */ E.jsx(
20568
20572
  "rect",
20569
20573
  {
20570
20574
  width: i,
@@ -20579,32 +20583,32 @@ function s1({ children: e }) {
20579
20583
  );
20580
20584
  }
20581
20585
  function c1() {
20582
- const e = be((E) => E.browserWidth), t = be((E) => E.marginWidth), r = Qe, n = Ni() + Qe, [i, a] = Me([0, 0]), [o, s] = Me(!1), c = be((E) => E.svgRef), u = be((E) => E.domain), l = be((E) => E.setDomain), f = (E) => {
20586
+ const e = be((S) => S.browserWidth), t = be((S) => S.marginWidth), r = Qe, n = Ni() + Qe, [i, a] = Me([0, 0]), [o, s] = Me(!1), c = be((S) => S.svgRef), u = be((S) => S.domain), l = be((S) => S.setDomain), f = (S) => {
20583
20587
  if (!c || !c.current) return null;
20584
- const T = Sl(E, c.current);
20588
+ const T = Sl(S, c.current);
20585
20589
  T && (a([T.x, T.x]), s(!0));
20586
- }, d = (E) => {
20590
+ }, d = (S) => {
20587
20591
  if (!c || !c.current) return null;
20588
20592
  if (!o) return;
20589
- const T = Sl(E, c.current);
20593
+ const T = Sl(S, c.current);
20590
20594
  if (!T) return;
20591
20595
  const b = Math.max(t, Math.min(e, T.x));
20592
20596
  a((m) => [m[0], b]);
20593
- }, h = (E) => {
20597
+ }, h = (S) => {
20594
20598
  if (!c || !c.current) return null;
20595
20599
  if (!o) return;
20596
20600
  s(!1);
20597
20601
  const T = Math.min(i[0], i[1]), b = Math.max(i[0], i[1]);
20598
20602
  if (b - T < 10) return;
20599
- E.preventDefault();
20603
+ S.preventDefault();
20600
20604
  const m = u.end - u.start, g = e - t, x = (T - t) / g, _ = (b - t) / g, w = u.start + x * m, C = u.start + _ * m, D = { chromosome: u.chromosome, start: Math.round(w), end: Math.round(C) };
20601
20605
  a([0, 0]), l(D);
20602
20606
  };
20603
20607
  return Ue(() => (document.addEventListener("mousemove", d), document.addEventListener("mouseup", h), () => {
20604
20608
  document.removeEventListener("mousemove", d), document.removeEventListener("mouseup", h);
20605
- }), [d, h]), !c || !c.current ? null : /* @__PURE__ */ S.jsxs(S.Fragment, { children: [
20609
+ }), [d, h]), !c || !c.current ? null : /* @__PURE__ */ E.jsxs(E.Fragment, { children: [
20606
20610
  o ? Tl(
20607
- /* @__PURE__ */ S.jsx(
20611
+ /* @__PURE__ */ E.jsx(
20608
20612
  "rect",
20609
20613
  {
20610
20614
  id: "selectRegion",
@@ -20620,7 +20624,7 @@ function c1() {
20620
20624
  ),
20621
20625
  c.current
20622
20626
  ) : null,
20623
- /* @__PURE__ */ S.jsx(
20627
+ /* @__PURE__ */ E.jsx(
20624
20628
  "rect",
20625
20629
  {
20626
20630
  fill: "#ffffff",
@@ -20645,11 +20649,11 @@ function u1() {
20645
20649
  e || a !== 0 || i(r());
20646
20650
  }, [a, r, e, t]);
20647
20651
  const o = be((h) => h.highlights), s = Ni() + Qe, c = be((h) => h.marginWidth), u = be((h) => h.getTrackDimensions), { totalWidth: l, sideWidth: f, viewWidth: d } = u();
20648
- return /* @__PURE__ */ S.jsxs("g", { id: "highlights", width: d + c, height: s, transform: `translate(${-f}, 0)`, children: [
20649
- /* @__PURE__ */ S.jsx("defs", { children: /* @__PURE__ */ S.jsx("clipPath", { id: "highlight-clip", children: /* @__PURE__ */ S.jsx("rect", { width: d, height: s, transform: `translate(${d + c}, 0)` }) }) }),
20650
- /* @__PURE__ */ S.jsx("g", { id: "highlights-clipped", clipPath: "url(#highlight-clip)", children: /* @__PURE__ */ S.jsx(Ch, { id: "highlights", children: o.map((h) => {
20651
- let E = h.domain.chromosome;
20652
- return E || (E = n.chromosome), E !== n.chromosome ? null : /* @__PURE__ */ S.jsx(
20652
+ return /* @__PURE__ */ E.jsxs("g", { id: "highlights", width: d + c, height: s, transform: `translate(${-f}, 0)`, children: [
20653
+ /* @__PURE__ */ E.jsx("defs", { children: /* @__PURE__ */ E.jsx("clipPath", { id: "highlight-clip", children: /* @__PURE__ */ E.jsx("rect", { width: d, height: s, transform: `translate(${d + c}, 0)` }) }) }),
20654
+ /* @__PURE__ */ E.jsx("g", { id: "highlights-clipped", clipPath: "url(#highlight-clip)", children: /* @__PURE__ */ E.jsx(Ch, { id: "highlights", children: o.map((h) => {
20655
+ let S = h.domain.chromosome;
20656
+ return S || (S = n.chromosome), S !== n.chromosome ? null : /* @__PURE__ */ E.jsx(
20653
20657
  l1,
20654
20658
  {
20655
20659
  highlight: h,
@@ -20671,7 +20675,7 @@ function l1({
20671
20675
  marginWidth: i
20672
20676
  }) {
20673
20677
  const a = e.domain, o = f1(a, t, n);
20674
- return /* @__PURE__ */ S.jsx(
20678
+ return /* @__PURE__ */ E.jsx(
20675
20679
  "rect",
20676
20680
  {
20677
20681
  x: o.start + i,
@@ -20690,16 +20694,16 @@ function f1(e, t, r) {
20690
20694
  }
20691
20695
  function h1() {
20692
20696
  const e = Oe((t) => t.ids);
20693
- return dg(), /* @__PURE__ */ S.jsxs(S.Fragment, { children: [
20694
- /* @__PURE__ */ S.jsxs(s1, { children: [
20695
- /* @__PURE__ */ S.jsx(c1, {}),
20696
- /* @__PURE__ */ S.jsx(Oh, { id: "ruler", transform: "translate(0, 0)", loading: !1, error: void 0, children: /* @__PURE__ */ S.jsx($g, {}) }),
20697
- /* @__PURE__ */ S.jsx(u1, {}),
20698
- e.map((t) => /* @__PURE__ */ S.jsx(gx, { id: t }, t)),
20699
- /* @__PURE__ */ S.jsx(o1, {})
20697
+ return dg(), /* @__PURE__ */ E.jsxs(E.Fragment, { children: [
20698
+ /* @__PURE__ */ E.jsxs(s1, { children: [
20699
+ /* @__PURE__ */ E.jsx(c1, {}),
20700
+ /* @__PURE__ */ E.jsx(Oh, { id: "ruler", transform: "translate(0, 0)", loading: !1, error: void 0, children: /* @__PURE__ */ E.jsx($g, {}) }),
20701
+ /* @__PURE__ */ E.jsx(u1, {}),
20702
+ e.map((t) => /* @__PURE__ */ E.jsx(gx, { id: t }, t)),
20703
+ /* @__PURE__ */ E.jsx(o1, {})
20700
20704
  ] }),
20701
- /* @__PURE__ */ S.jsx(Sx, {}),
20702
- /* @__PURE__ */ S.jsx(n1, {})
20705
+ /* @__PURE__ */ E.jsx(Sx, {}),
20706
+ /* @__PURE__ */ E.jsx(n1, {})
20703
20707
  ] });
20704
20708
  }
20705
20709
  function U1({ browserStore: e, trackStore: t, externalDataStore: r }) {
@@ -20715,7 +20719,7 @@ function U1({ browserStore: e, trackStore: t, externalDataStore: r }) {
20715
20719
  }),
20716
20720
  [e, t, n, i, a, o, s]
20717
20721
  );
20718
- return /* @__PURE__ */ S.jsx(id, { value: c, children: /* @__PURE__ */ S.jsx(h1, {}) });
20722
+ return /* @__PURE__ */ E.jsx(id, { value: c, children: /* @__PURE__ */ E.jsx(h1, {}) });
20719
20723
  }
20720
20724
  const z1 = Vh;
20721
20725
  function V1(e, t) {
@@ -20898,13 +20902,13 @@ const d1 = "https://screen.api.wenglab.org/graphql", p1 = new Gf({
20898
20902
  }
20899
20903
  });
20900
20904
  function H1({ children: e }) {
20901
- return /* @__PURE__ */ S.jsx(Av, { client: p1, children: e });
20905
+ return /* @__PURE__ */ E.jsx(Av, { client: p1, children: e });
20902
20906
  }
20903
20907
  function v1(e, t, r, n) {
20904
20908
  return n ? `M ${e} ${r * 0.1} L ${e + t} ${r / 2} L ${e} ${r * 0.9}` : `M ${e + t} ${r * 0.1} L ${e} ${r / 2} L ${e + t} ${r * 0.9}`;
20905
20909
  }
20906
20910
  function m1(e) {
20907
- return /* @__PURE__ */ S.jsx("path", { d: v1(e.x, e.width, e.height, e.opening), fill: e.color });
20911
+ return /* @__PURE__ */ E.jsx("path", { d: v1(e.x, e.width, e.height, e.opening), fill: e.color });
20908
20912
  }
20909
20913
  const g1 = /* @__PURE__ */ new Map([
20910
20914
  ["stalk", (e) => e.stalk],
@@ -20914,7 +20918,7 @@ const g1 = /* @__PURE__ */ new Map([
20914
20918
  function y1(e) {
20915
20919
  var r;
20916
20920
  const t = e.type.slice(0, 4) === "gpos" ? Xt(e.colors.default, 1 - +e.type.replace(/gpos/g, "") / 100) : (r = g1.get(e.type)) == null ? void 0 : r.call(null, e.colors);
20917
- return t === void 0 ? null : /* @__PURE__ */ S.jsx(
20921
+ return t === void 0 ? null : /* @__PURE__ */ E.jsx(
20918
20922
  "rect",
20919
20923
  {
20920
20924
  width: e.width,
@@ -20927,7 +20931,7 @@ function y1(e) {
20927
20931
  );
20928
20932
  }
20929
20933
  function b1(e) {
20930
- return e.x(e.highlight.end) - e.x(e.highlight.start) < 10 ? /* @__PURE__ */ S.jsx(x1, { highlight: e.highlight, x: e.x, height: e.height }) : /* @__PURE__ */ S.jsx(
20934
+ return e.x(e.highlight.end) - e.x(e.highlight.start) < 10 ? /* @__PURE__ */ E.jsx(x1, { highlight: e.highlight, x: e.x, height: e.height }) : /* @__PURE__ */ E.jsx(
20931
20935
  "rect",
20932
20936
  {
20933
20937
  x: e.x(e.highlight.start),
@@ -20943,9 +20947,9 @@ function b1(e) {
20943
20947
  }
20944
20948
  function x1(e) {
20945
20949
  const { highlight: t, height: r, x: n } = e, i = `M ${n(t.start) - 5} 0 L ${n(t.start)} ${r * 0.2} L ${n(t.start) + 5} 0`, a = `M ${n(t.start) - 5} ${r} L ${n(t.start)} ${r * 0.8} L ${n(t.start) + 5} ${r}`;
20946
- return /* @__PURE__ */ S.jsxs(S.Fragment, { children: [
20947
- /* @__PURE__ */ S.jsx("path", { d: i, stroke: t.color || "#ff0000", strokeWidth: 3, fill: "none" }),
20948
- /* @__PURE__ */ S.jsx("path", { d: a, stroke: t.color || "#ff0000", strokeWidth: 3, fill: "none" })
20950
+ return /* @__PURE__ */ E.jsxs(E.Fragment, { children: [
20951
+ /* @__PURE__ */ E.jsx("path", { d: i, stroke: t.color || "#ff0000", strokeWidth: 3, fill: "none" }),
20952
+ /* @__PURE__ */ E.jsx("path", { d: a, stroke: t.color || "#ff0000", strokeWidth: 3, fill: "none" })
20949
20953
  ] });
20950
20954
  }
20951
20955
  const _1 = Bt`
@@ -20975,9 +20979,9 @@ function Q1({
20975
20979
  }
20976
20980
  }), u = w1;
20977
20981
  if (s)
20978
- return /* @__PURE__ */ S.jsx("g", { width: 700, height: 20, children: /* @__PURE__ */ S.jsx("text", { x: "350", y: "15", textAnchor: "middle", style: { fontSize: "14px", fontFamily: "sans-serif" }, children: "Loading..." }) });
20982
+ return /* @__PURE__ */ E.jsx("g", { width: 700, height: 20, children: /* @__PURE__ */ E.jsx("text", { x: "350", y: "15", textAnchor: "middle", style: { fontSize: "14px", fontFamily: "sans-serif" }, children: "Loading..." }) });
20979
20983
  if (c)
20980
- return /* @__PURE__ */ S.jsx("g", { width: 700, height: 20, children: /* @__PURE__ */ S.jsxs("text", { x: "350", y: "15", textAnchor: "middle", style: { fontSize: "14px", fontFamily: "sans-serif" }, children: [
20984
+ return /* @__PURE__ */ E.jsx("g", { width: 700, height: 20, children: /* @__PURE__ */ E.jsxs("text", { x: "350", y: "15", textAnchor: "middle", style: { fontSize: "14px", fontFamily: "sans-serif" }, children: [
20981
20985
  "Error: ",
20982
20986
  c.message
20983
20987
  ] }) });
@@ -20990,10 +20994,10 @@ function Q1({
20990
20994
  700
20991
20995
  );
20992
20996
  let d = 0;
20993
- return /* @__PURE__ */ S.jsxs("g", { id: "cytobands", width: 700, height: 20, transform: a, children: [
20994
- o.cytoband.map((h, E) => {
20997
+ return /* @__PURE__ */ E.jsxs("g", { id: "cytobands", width: 700, height: 20, transform: a, children: [
20998
+ o.cytoband.map((h, S) => {
20995
20999
  const T = f(h.coordinates.start), b = f(h.coordinates.end) - T;
20996
- return h.stain === "acen" ? /* @__PURE__ */ S.jsx(
21000
+ return h.stain === "acen" ? /* @__PURE__ */ E.jsx(
20997
21001
  m1,
20998
21002
  {
20999
21003
  width: b,
@@ -21002,10 +21006,10 @@ function Q1({
21002
21006
  color: u.centromere,
21003
21007
  opening: d++ === 0
21004
21008
  },
21005
- E
21006
- ) : /* @__PURE__ */ S.jsx(y1, { type: h.stain, width: b, x: T, height: 20, colors: u, opacity: 1 }, E);
21009
+ S
21010
+ ) : /* @__PURE__ */ E.jsx(y1, { type: h.stain, width: b, x: T, height: 20, colors: u, opacity: 1 }, S);
21007
21011
  }),
21008
- i ? /* @__PURE__ */ S.jsx(
21012
+ i ? /* @__PURE__ */ E.jsx(
21009
21013
  b1,
21010
21014
  {
21011
21015
  onMouseOut: () => {
@@ -21052,6 +21056,7 @@ export {
21052
21056
  St as useInteraction,
21053
21057
  ps as useMouseToIndex,
21054
21058
  Bi as useRowHeight,
21059
+ Oe as useTrackStore,
21055
21060
  Ut as useXTransform
21056
21061
  };
21057
21062
  //# sourceMappingURL=genomebrowser.es.js.map