@weng-lab/genomebrowser 1.7.11 → 1.7.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/genomebrowser.es.js +762 -765
- package/dist/genomebrowser.es.js.map +1 -1
- package/package.json +1 -1
package/dist/genomebrowser.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import Ve, { useMemo as ye, createContext as $h, useContext as Tr, useEffect as Ue, useRef as rt, useState as Me, useCallback as Lt, createElement as jo, Fragment as Wh, useLayoutEffect as Hh } from "react";
|
|
2
|
-
import
|
|
2
|
+
import kl, { createPortal as Tl } from "react-dom";
|
|
3
3
|
function Qh(e, t) {
|
|
4
4
|
for (var r = 0; r < t.length; r++) {
|
|
5
5
|
const n = t[r];
|
|
@@ -48,10 +48,10 @@ var Gn = { exports: {} }, un = {};
|
|
|
48
48
|
* This source code is licensed under the MIT license found in the
|
|
49
49
|
* LICENSE file in the root directory of this source tree.
|
|
50
50
|
*/
|
|
51
|
-
var
|
|
51
|
+
var Ts;
|
|
52
52
|
function Yh() {
|
|
53
|
-
if (
|
|
54
|
-
|
|
53
|
+
if (Ts) return un;
|
|
54
|
+
Ts = 1;
|
|
55
55
|
var e = Symbol.for("react.transitional.element"), t = Symbol.for("react.fragment");
|
|
56
56
|
function r(n, i, a) {
|
|
57
57
|
var o = null;
|
|
@@ -80,9 +80,9 @@ var ln = {};
|
|
|
80
80
|
* This source code is licensed under the MIT license found in the
|
|
81
81
|
* LICENSE file in the root directory of this source tree.
|
|
82
82
|
*/
|
|
83
|
-
var
|
|
83
|
+
var Ds;
|
|
84
84
|
function Xh() {
|
|
85
|
-
return
|
|
85
|
+
return Ds || (Ds = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
86
86
|
function e(F) {
|
|
87
87
|
if (F == null) return null;
|
|
88
88
|
if (typeof F == "function")
|
|
@@ -311,12 +311,12 @@ React keys must be passed directly to JSX without using spread:
|
|
|
311
311
|
};
|
|
312
312
|
})()), ln;
|
|
313
313
|
}
|
|
314
|
-
var
|
|
314
|
+
var Cs;
|
|
315
315
|
function Zh() {
|
|
316
|
-
return
|
|
316
|
+
return Cs || (Cs = 1, process.env.NODE_ENV === "production" ? Gn.exports = Yh() : Gn.exports = Xh()), Gn.exports;
|
|
317
317
|
}
|
|
318
318
|
var S = Zh();
|
|
319
|
-
const
|
|
319
|
+
const Os = (e) => {
|
|
320
320
|
let t;
|
|
321
321
|
const r = /* @__PURE__ */ new Set(), n = (u, l) => {
|
|
322
322
|
const f = typeof u == "function" ? u(t) : u;
|
|
@@ -326,7 +326,7 @@ const Is = (e) => {
|
|
|
326
326
|
}
|
|
327
327
|
}, i = () => t, s = { setState: n, getState: i, getInitialState: () => c, subscribe: (u) => (r.add(u), () => r.delete(u)) }, c = t = e(n, i, s);
|
|
328
328
|
return s;
|
|
329
|
-
}, Jh = ((e) => e ?
|
|
329
|
+
}, Jh = ((e) => e ? Os(e) : Os), Kh = (e) => e;
|
|
330
330
|
function ed(e, t = Kh) {
|
|
331
331
|
const r = Ve.useSyncExternalStore(
|
|
332
332
|
e.subscribe,
|
|
@@ -335,14 +335,14 @@ function ed(e, t = Kh) {
|
|
|
335
335
|
);
|
|
336
336
|
return Ve.useDebugValue(r), r;
|
|
337
337
|
}
|
|
338
|
-
const
|
|
338
|
+
const Is = (e) => {
|
|
339
339
|
const t = Jh(e), r = (n) => ed(t, n);
|
|
340
340
|
return Object.assign(r, t), r;
|
|
341
|
-
}, Dr = ((e) => e ?
|
|
341
|
+
}, Dr = ((e) => e ? Is(e) : Is), k1 = Dl;
|
|
342
342
|
function td(e) {
|
|
343
|
-
return ye(() =>
|
|
343
|
+
return ye(() => Dl(), e ?? []);
|
|
344
344
|
}
|
|
345
|
-
function
|
|
345
|
+
function Dl() {
|
|
346
346
|
return Dr((e, t) => ({
|
|
347
347
|
trackData: /* @__PURE__ */ new Map(),
|
|
348
348
|
isFetching: !1,
|
|
@@ -361,7 +361,7 @@ function Cl() {
|
|
|
361
361
|
getTrackData: (r) => t().trackData.get(r)
|
|
362
362
|
}));
|
|
363
363
|
}
|
|
364
|
-
function
|
|
364
|
+
function Cl() {
|
|
365
365
|
return Dr((e) => ({
|
|
366
366
|
open: !1,
|
|
367
367
|
id: null,
|
|
@@ -370,8 +370,8 @@ function Ol() {
|
|
|
370
370
|
setContextMenu: (t, r, n, i) => e({ open: t, id: r, x: n, y: i })
|
|
371
371
|
}));
|
|
372
372
|
}
|
|
373
|
-
|
|
374
|
-
function
|
|
373
|
+
Cl();
|
|
374
|
+
function Ol() {
|
|
375
375
|
return Dr((e) => ({
|
|
376
376
|
id: "",
|
|
377
377
|
position: { x: 0, y: 0 },
|
|
@@ -380,8 +380,8 @@ function Il() {
|
|
|
380
380
|
showModal: (t, r) => e({ open: !0, id: t, position: r })
|
|
381
381
|
}));
|
|
382
382
|
}
|
|
383
|
-
|
|
384
|
-
function
|
|
383
|
+
Ol();
|
|
384
|
+
function Il() {
|
|
385
385
|
return Dr((e) => ({
|
|
386
386
|
show: !1,
|
|
387
387
|
content: void 0,
|
|
@@ -393,8 +393,8 @@ function Rl() {
|
|
|
393
393
|
hideTooltip: () => e({ show: !1, x: 0, y: 0, content: void 0 })
|
|
394
394
|
}));
|
|
395
395
|
}
|
|
396
|
-
|
|
397
|
-
function
|
|
396
|
+
Il();
|
|
397
|
+
function Rl() {
|
|
398
398
|
return Dr((e) => ({
|
|
399
399
|
background: "#ffffff",
|
|
400
400
|
text: "#000000",
|
|
@@ -403,7 +403,7 @@ function Ll() {
|
|
|
403
403
|
}
|
|
404
404
|
}));
|
|
405
405
|
}
|
|
406
|
-
const Yt =
|
|
406
|
+
const Yt = Rl();
|
|
407
407
|
function rd(e) {
|
|
408
408
|
const t = e.slice(1), r = parseInt(t.slice(0, 2), 16), n = parseInt(t.slice(2, 4), 16), i = parseInt(t.slice(4, 6), 16);
|
|
409
409
|
return (0.299 * r + 0.587 * n + 0.114 * i) / 255 > 0.5 ? "#000000" : "#ffffff";
|
|
@@ -579,9 +579,9 @@ function lt(e, t, r) {
|
|
|
579
579
|
(a || !(n in t)) && (a || (a = Array.prototype.slice.call(t, 0, n)), a[n] = t[n]);
|
|
580
580
|
return e.concat(a || Array.prototype.slice.call(t));
|
|
581
581
|
}
|
|
582
|
-
var Ui = "Invariant Violation",
|
|
582
|
+
var Ui = "Invariant Violation", Rs = Object.setPrototypeOf, id = Rs === void 0 ? function(e, t) {
|
|
583
583
|
return e.__proto__ = t, e;
|
|
584
|
-
} :
|
|
584
|
+
} : Rs, Ll = (
|
|
585
585
|
/** @class */
|
|
586
586
|
(function(e) {
|
|
587
587
|
Ut(t, e);
|
|
@@ -595,12 +595,12 @@ var Ui = "Invariant Violation", Ls = Object.setPrototypeOf, id = Ls === void 0 ?
|
|
|
595
595
|
);
|
|
596
596
|
function xr(e, t) {
|
|
597
597
|
if (!e)
|
|
598
|
-
throw new
|
|
598
|
+
throw new Ll(t);
|
|
599
599
|
}
|
|
600
|
-
var
|
|
600
|
+
var Ml = ["debug", "log", "warn", "error", "silent"], ad = Ml.indexOf("log");
|
|
601
601
|
function Yn(e) {
|
|
602
602
|
return function() {
|
|
603
|
-
if (
|
|
603
|
+
if (Ml.indexOf(e) >= ad) {
|
|
604
604
|
var t = console[e] || console.log;
|
|
605
605
|
return t.apply(console, arguments);
|
|
606
606
|
}
|
|
@@ -633,12 +633,12 @@ const gi = Ot(function() {
|
|
|
633
633
|
Ot(function() {
|
|
634
634
|
return Ot.constructor("return this")();
|
|
635
635
|
});
|
|
636
|
-
var
|
|
636
|
+
var Ls = /* @__PURE__ */ new Map();
|
|
637
637
|
function to(e) {
|
|
638
|
-
var t =
|
|
639
|
-
return
|
|
638
|
+
var t = Ls.get(e) || 1;
|
|
639
|
+
return Ls.set(e, t + 1), "".concat(e, ":").concat(t, ":").concat(Math.random().toString(36).slice(2));
|
|
640
640
|
}
|
|
641
|
-
function
|
|
641
|
+
function Al(e, t) {
|
|
642
642
|
t === void 0 && (t = 0);
|
|
643
643
|
var r = to("stringifyForDisplay");
|
|
644
644
|
return JSON.stringify(e, function(n, i) {
|
|
@@ -669,28 +669,28 @@ var ce = Object.assign(function(t, r) {
|
|
|
669
669
|
function pt(e) {
|
|
670
670
|
for (var t = [], r = 1; r < arguments.length; r++)
|
|
671
671
|
t[r - 1] = arguments[r];
|
|
672
|
-
return new
|
|
672
|
+
return new Ll(Bo(e, t) || qo(e, t));
|
|
673
673
|
}
|
|
674
|
-
var
|
|
675
|
-
function
|
|
674
|
+
var Ms = Symbol.for("ApolloErrorMessageHandler_" + Fo);
|
|
675
|
+
function Nl(e) {
|
|
676
676
|
if (typeof e == "string")
|
|
677
677
|
return e;
|
|
678
678
|
try {
|
|
679
|
-
return
|
|
679
|
+
return Al(e, 2).slice(0, 1e3);
|
|
680
680
|
} catch {
|
|
681
681
|
return "<non-serializable>";
|
|
682
682
|
}
|
|
683
683
|
}
|
|
684
684
|
function Bo(e, t) {
|
|
685
685
|
if (t === void 0 && (t = []), !!e)
|
|
686
|
-
return gi[
|
|
686
|
+
return gi[Ms] && gi[Ms](e, t.map(Nl));
|
|
687
687
|
}
|
|
688
688
|
function qo(e, t) {
|
|
689
689
|
if (t === void 0 && (t = []), !!e)
|
|
690
690
|
return "An error occurred! For more details, see the full error text at https://go.apollo.dev/c/err#".concat(encodeURIComponent(JSON.stringify({
|
|
691
691
|
version: Fo,
|
|
692
692
|
message: e,
|
|
693
|
-
args: t.map(
|
|
693
|
+
args: t.map(Nl)
|
|
694
694
|
})));
|
|
695
695
|
}
|
|
696
696
|
function ui(e, t) {
|
|
@@ -720,26 +720,26 @@ function ro(e, t) {
|
|
|
720
720
|
};
|
|
721
721
|
}
|
|
722
722
|
function ud(e) {
|
|
723
|
-
return
|
|
723
|
+
return jl(
|
|
724
724
|
e.source,
|
|
725
725
|
ro(e.source, e.start)
|
|
726
726
|
);
|
|
727
727
|
}
|
|
728
|
-
function
|
|
728
|
+
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
732
|
const d = Math.floor(c / 80), h = c % 80, w = [];
|
|
733
733
|
for (let D = 0; D < f.length; D += 80)
|
|
734
734
|
w.push(f.slice(D, D + 80));
|
|
735
|
-
return u +
|
|
735
|
+
return u + As([
|
|
736
736
|
[`${o} |`, w[0]],
|
|
737
737
|
...w.slice(1, d + 1).map((D) => ["|", D]),
|
|
738
738
|
["|", "^".padStart(h)],
|
|
739
739
|
["|", w[d + 1]]
|
|
740
740
|
]);
|
|
741
741
|
}
|
|
742
|
-
return u +
|
|
742
|
+
return u + As([
|
|
743
743
|
// Lines specified like this: ["prefix", "string"],
|
|
744
744
|
[`${o - 1} |`, l[i - 1]],
|
|
745
745
|
[`${o} |`, f],
|
|
@@ -747,7 +747,7 @@ function Pl(e, t) {
|
|
|
747
747
|
[`${o + 1} |`, l[i + 1]]
|
|
748
748
|
]);
|
|
749
749
|
}
|
|
750
|
-
function
|
|
750
|
+
function As(e) {
|
|
751
751
|
const t = e.filter(([n, i]) => i !== void 0), r = Math.max(...t.map(([n]) => n.length));
|
|
752
752
|
return t.map(([n, i]) => n.padStart(r) + (i ? " " + i : "")).join(`
|
|
753
753
|
`);
|
|
@@ -805,10 +805,10 @@ class Uo extends Error {
|
|
|
805
805
|
constructor(t, ...r) {
|
|
806
806
|
var n, i, a;
|
|
807
807
|
const { nodes: o, source: s, positions: c, path: u, originalError: l, extensions: f } = ld(r);
|
|
808
|
-
super(t), this.name = "GraphQLError", this.path = u ?? void 0, this.originalError = l ?? void 0, this.nodes =
|
|
808
|
+
super(t), this.name = "GraphQLError", this.path = u ?? void 0, this.originalError = l ?? void 0, this.nodes = Ns(
|
|
809
809
|
Array.isArray(o) ? o : o ? [o] : void 0
|
|
810
810
|
);
|
|
811
|
-
const d =
|
|
811
|
+
const d = Ns(
|
|
812
812
|
(n = this.nodes) === null || n === void 0 ? void 0 : n.map((w) => w.loc).filter((w) => w != null)
|
|
813
813
|
);
|
|
814
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((w) => w.start)), this.locations = c && s ? c.map((w) => ro(s, w)) : d == null ? void 0 : d.map((w) => ro(w.source, w.start));
|
|
@@ -859,7 +859,7 @@ class Uo extends Error {
|
|
|
859
859
|
for (const r of this.locations)
|
|
860
860
|
t += `
|
|
861
861
|
|
|
862
|
-
` +
|
|
862
|
+
` + jl(this.source, r);
|
|
863
863
|
return t;
|
|
864
864
|
}
|
|
865
865
|
toJSON() {
|
|
@@ -869,7 +869,7 @@ class Uo extends Error {
|
|
|
869
869
|
return this.locations != null && (t.locations = this.locations), this.path != null && (t.path = this.path), this.extensions != null && Object.keys(this.extensions).length > 0 && (t.extensions = this.extensions), t;
|
|
870
870
|
}
|
|
871
871
|
}
|
|
872
|
-
function
|
|
872
|
+
function Ns(e) {
|
|
873
873
|
return e === void 0 || e.length === 0 ? void 0 : e;
|
|
874
874
|
}
|
|
875
875
|
function tt(e, t, r) {
|
|
@@ -907,7 +907,7 @@ class fd {
|
|
|
907
907
|
};
|
|
908
908
|
}
|
|
909
909
|
}
|
|
910
|
-
class
|
|
910
|
+
class Pl {
|
|
911
911
|
/**
|
|
912
912
|
* The kind of Token.
|
|
913
913
|
*/
|
|
@@ -949,7 +949,7 @@ class Fl {
|
|
|
949
949
|
};
|
|
950
950
|
}
|
|
951
951
|
}
|
|
952
|
-
const
|
|
952
|
+
const Fl = {
|
|
953
953
|
Name: [],
|
|
954
954
|
Document: ["definitions"],
|
|
955
955
|
OperationDefinition: [
|
|
@@ -1036,8 +1036,8 @@ const Bl = {
|
|
|
1036
1036
|
ArgumentCoordinate: ["name", "fieldName", "argumentName"],
|
|
1037
1037
|
DirectiveCoordinate: ["name"],
|
|
1038
1038
|
DirectiveArgumentCoordinate: ["name", "argumentName"]
|
|
1039
|
-
}, hd = new Set(Object.keys(
|
|
1040
|
-
function
|
|
1039
|
+
}, hd = new Set(Object.keys(Fl));
|
|
1040
|
+
function js(e) {
|
|
1041
1041
|
const t = e == null ? void 0 : e.kind;
|
|
1042
1042
|
return typeof t == "string" && hd.has(t);
|
|
1043
1043
|
}
|
|
@@ -1059,15 +1059,15 @@ function io(e) {
|
|
|
1059
1059
|
function Nn(e) {
|
|
1060
1060
|
return e >= 48 && e <= 57;
|
|
1061
1061
|
}
|
|
1062
|
-
function
|
|
1062
|
+
function Bl(e) {
|
|
1063
1063
|
return e >= 97 && e <= 122 || // A-Z
|
|
1064
1064
|
e >= 65 && e <= 90;
|
|
1065
1065
|
}
|
|
1066
|
-
function
|
|
1067
|
-
return
|
|
1066
|
+
function ql(e) {
|
|
1067
|
+
return Bl(e) || e === 95;
|
|
1068
1068
|
}
|
|
1069
1069
|
function dd(e) {
|
|
1070
|
-
return
|
|
1070
|
+
return Bl(e) || Nn(e) || e === 95;
|
|
1071
1071
|
}
|
|
1072
1072
|
function pd(e) {
|
|
1073
1073
|
var t;
|
|
@@ -1117,7 +1117,7 @@ class gd {
|
|
|
1117
1117
|
* The character offset at which the current line begins.
|
|
1118
1118
|
*/
|
|
1119
1119
|
constructor(t) {
|
|
1120
|
-
const r = new
|
|
1120
|
+
const r = new Pl(re.SOF, 0, 0, 0, 0);
|
|
1121
1121
|
this.source = t, this.lastToken = r, this.token = r, this.line = 1, this.lineStart = 0;
|
|
1122
1122
|
}
|
|
1123
1123
|
get [Symbol.toStringTag]() {
|
|
@@ -1154,12 +1154,12 @@ function rn(e) {
|
|
|
1154
1154
|
return e >= 0 && e <= 55295 || e >= 57344 && e <= 1114111;
|
|
1155
1155
|
}
|
|
1156
1156
|
function ki(e, t) {
|
|
1157
|
-
return
|
|
1157
|
+
return Ul(e.charCodeAt(t)) && zl(e.charCodeAt(t + 1));
|
|
1158
1158
|
}
|
|
1159
|
-
function
|
|
1159
|
+
function Ul(e) {
|
|
1160
1160
|
return e >= 55296 && e <= 56319;
|
|
1161
1161
|
}
|
|
1162
|
-
function
|
|
1162
|
+
function zl(e) {
|
|
1163
1163
|
return e >= 56320 && e <= 57343;
|
|
1164
1164
|
}
|
|
1165
1165
|
function Er(e, t) {
|
|
@@ -1174,7 +1174,7 @@ function Er(e, t) {
|
|
|
1174
1174
|
}
|
|
1175
1175
|
function Ke(e, t, r, n, i) {
|
|
1176
1176
|
const a = e.line, o = 1 + r - e.lineStart;
|
|
1177
|
-
return new
|
|
1177
|
+
return new Pl(t, r, n, a, o, i);
|
|
1178
1178
|
}
|
|
1179
1179
|
function bd(e, t) {
|
|
1180
1180
|
const r = e.source.body, n = r.length;
|
|
@@ -1262,7 +1262,7 @@ function bd(e, t) {
|
|
|
1262
1262
|
}
|
|
1263
1263
|
if (Nn(a) || a === 45)
|
|
1264
1264
|
return _d(e, i, a);
|
|
1265
|
-
if (
|
|
1265
|
+
if (ql(a))
|
|
1266
1266
|
return Dd(e, i);
|
|
1267
1267
|
throw tt(
|
|
1268
1268
|
e.source,
|
|
@@ -1309,7 +1309,7 @@ function _d(e, t, r) {
|
|
|
1309
1309
|
);
|
|
1310
1310
|
} else
|
|
1311
1311
|
i = zi(e, i, a), a = n.charCodeAt(i);
|
|
1312
|
-
if (a === 46 && (o = !0, a = n.charCodeAt(++i), i = zi(e, i, a), a = n.charCodeAt(i)), (a === 69 || a === 101) && (o = !0, a = n.charCodeAt(++i), (a === 43 || a === 45) && (a = n.charCodeAt(++i)), i = zi(e, i, a), a = n.charCodeAt(i)), a === 46 ||
|
|
1312
|
+
if (a === 46 && (o = !0, a = n.charCodeAt(++i), i = zi(e, i, a), a = n.charCodeAt(i)), (a === 69 || a === 101) && (o = !0, a = n.charCodeAt(++i), (a === 43 || a === 45) && (a = n.charCodeAt(++i)), i = zi(e, i, a), a = n.charCodeAt(i)), a === 46 || ql(a))
|
|
1313
1313
|
throw tt(
|
|
1314
1314
|
e.source,
|
|
1315
1315
|
i,
|
|
@@ -1399,15 +1399,15 @@ function Ed(e, t) {
|
|
|
1399
1399
|
);
|
|
1400
1400
|
}
|
|
1401
1401
|
function Sd(e, t) {
|
|
1402
|
-
const r = e.source.body, n =
|
|
1402
|
+
const r = e.source.body, n = Ps(r, t + 2);
|
|
1403
1403
|
if (rn(n))
|
|
1404
1404
|
return {
|
|
1405
1405
|
value: String.fromCodePoint(n),
|
|
1406
1406
|
size: 6
|
|
1407
1407
|
};
|
|
1408
|
-
if (
|
|
1409
|
-
const i =
|
|
1410
|
-
if (
|
|
1408
|
+
if (Ul(n) && r.charCodeAt(t + 6) === 92 && r.charCodeAt(t + 7) === 117) {
|
|
1409
|
+
const i = Ps(r, t + 8);
|
|
1410
|
+
if (zl(i))
|
|
1411
1411
|
return {
|
|
1412
1412
|
value: String.fromCodePoint(n, i),
|
|
1413
1413
|
size: 12
|
|
@@ -1419,7 +1419,7 @@ function Sd(e, t) {
|
|
|
1419
1419
|
`Invalid Unicode escape sequence: "${r.slice(t, t + 6)}".`
|
|
1420
1420
|
);
|
|
1421
1421
|
}
|
|
1422
|
-
function
|
|
1422
|
+
function Ps(e, t) {
|
|
1423
1423
|
return kn(e.charCodeAt(t)) << 12 | kn(e.charCodeAt(t + 1)) << 8 | kn(e.charCodeAt(t + 2)) << 4 | kn(e.charCodeAt(t + 3));
|
|
1424
1424
|
}
|
|
1425
1425
|
function kn(e) {
|
|
@@ -1540,7 +1540,7 @@ function Dd(e, t) {
|
|
|
1540
1540
|
r.slice(t, i)
|
|
1541
1541
|
);
|
|
1542
1542
|
}
|
|
1543
|
-
const Cd = 10,
|
|
1543
|
+
const Cd = 10, Vl = 2;
|
|
1544
1544
|
function zo(e) {
|
|
1545
1545
|
return Ti(e, []);
|
|
1546
1546
|
}
|
|
@@ -1575,14 +1575,14 @@ function Id(e) {
|
|
|
1575
1575
|
}
|
|
1576
1576
|
function Rd(e, t) {
|
|
1577
1577
|
const r = Object.entries(e);
|
|
1578
|
-
return r.length === 0 ? "{}" : t.length >
|
|
1578
|
+
return r.length === 0 ? "{}" : t.length > Vl ? "[" + Md(e) + "]" : "{ " + r.map(
|
|
1579
1579
|
([i, a]) => i + ": " + Ti(a, t)
|
|
1580
1580
|
).join(", ") + " }";
|
|
1581
1581
|
}
|
|
1582
1582
|
function Ld(e, t) {
|
|
1583
1583
|
if (e.length === 0)
|
|
1584
1584
|
return "[]";
|
|
1585
|
-
if (t.length >
|
|
1585
|
+
if (t.length > Vl)
|
|
1586
1586
|
return "[Array]";
|
|
1587
1587
|
const r = Math.min(Cd, e.length), n = e.length - r, i = [];
|
|
1588
1588
|
for (let a = 0; a < r; ++a)
|
|
@@ -1632,7 +1632,7 @@ spurious results.`);
|
|
|
1632
1632
|
return !1;
|
|
1633
1633
|
}
|
|
1634
1634
|
);
|
|
1635
|
-
class
|
|
1635
|
+
class $l {
|
|
1636
1636
|
constructor(t, r = "GraphQL request", n = {
|
|
1637
1637
|
line: 1,
|
|
1638
1638
|
column: 1
|
|
@@ -1650,7 +1650,7 @@ class Wl {
|
|
|
1650
1650
|
}
|
|
1651
1651
|
}
|
|
1652
1652
|
function jd(e) {
|
|
1653
|
-
return Nd(e,
|
|
1653
|
+
return Nd(e, $l);
|
|
1654
1654
|
}
|
|
1655
1655
|
function Pd(e, t) {
|
|
1656
1656
|
const r = new Fd(e, t), n = r.parseDocument();
|
|
@@ -1665,7 +1665,7 @@ class Fd {
|
|
|
1665
1665
|
if (n)
|
|
1666
1666
|
this._lexer = n;
|
|
1667
1667
|
else {
|
|
1668
|
-
const a = jd(t) ? t : new
|
|
1668
|
+
const a = jd(t) ? t : new $l(t);
|
|
1669
1669
|
this._lexer = new gd(a);
|
|
1670
1670
|
}
|
|
1671
1671
|
this._options = i, this._tokenCounter = 0;
|
|
@@ -2709,7 +2709,7 @@ class Fd {
|
|
|
2709
2709
|
throw tt(
|
|
2710
2710
|
this._lexer.source,
|
|
2711
2711
|
r.start,
|
|
2712
|
-
`Expected ${
|
|
2712
|
+
`Expected ${Wl(t)}, found ${Zn(r)}.`
|
|
2713
2713
|
);
|
|
2714
2714
|
}
|
|
2715
2715
|
/**
|
|
@@ -2819,9 +2819,9 @@ class Fd {
|
|
|
2819
2819
|
}
|
|
2820
2820
|
function Zn(e) {
|
|
2821
2821
|
const t = e.value;
|
|
2822
|
-
return
|
|
2822
|
+
return Wl(e.kind) + (t != null ? ` "${t}"` : "");
|
|
2823
2823
|
}
|
|
2824
|
-
function
|
|
2824
|
+
function Wl(e) {
|
|
2825
2825
|
return yd(e) ? `"${e}"` : e;
|
|
2826
2826
|
}
|
|
2827
2827
|
function Bd(e) {
|
|
@@ -2998,7 +2998,7 @@ const zd = [
|
|
|
2998
2998
|
"\\u009E",
|
|
2999
2999
|
"\\u009F"
|
|
3000
3000
|
], Di = Object.freeze({});
|
|
3001
|
-
function At(e, t, r =
|
|
3001
|
+
function At(e, t, r = Fl) {
|
|
3002
3002
|
const n = /* @__PURE__ */ new Map();
|
|
3003
3003
|
for (const m of Object.values(he))
|
|
3004
3004
|
n.set(m, Vd(t, m));
|
|
@@ -3030,7 +3030,7 @@ function At(e, t, r = Bl) {
|
|
|
3030
3030
|
let b;
|
|
3031
3031
|
if (!Array.isArray(u)) {
|
|
3032
3032
|
var w, D;
|
|
3033
|
-
|
|
3033
|
+
js(u) || ui(!1, `Invalid AST Node: ${zo(u)}.`);
|
|
3034
3034
|
const _ = m ? (w = n.get(u.kind)) === null || w === void 0 ? void 0 : w.leave : (D = n.get(u.kind)) === null || D === void 0 ? void 0 : D.enter;
|
|
3035
3035
|
if (b = _ == null ? void 0 : _.call(t, u, l, f, d, h), b === Di)
|
|
3036
3036
|
break;
|
|
@@ -3040,7 +3040,7 @@ function At(e, t, r = Bl) {
|
|
|
3040
3040
|
continue;
|
|
3041
3041
|
}
|
|
3042
3042
|
} else if (b !== void 0 && (c.push([l, b]), !m))
|
|
3043
|
-
if (
|
|
3043
|
+
if (js(b))
|
|
3044
3044
|
u = b;
|
|
3045
3045
|
else {
|
|
3046
3046
|
d.pop();
|
|
@@ -3362,7 +3362,7 @@ function Vi(e) {
|
|
|
3362
3362
|
return (t = e == null ? void 0 : e.some((r) => r.includes(`
|
|
3363
3363
|
`))) !== null && t !== void 0 ? t : !1;
|
|
3364
3364
|
}
|
|
3365
|
-
function
|
|
3365
|
+
function Fs(e) {
|
|
3366
3366
|
return e.kind === he.FIELD || e.kind === he.FRAGMENT_SPREAD || e.kind === he.INLINE_FRAGMENT;
|
|
3367
3367
|
}
|
|
3368
3368
|
function zn(e, t) {
|
|
@@ -3414,7 +3414,7 @@ function Xd(e) {
|
|
|
3414
3414
|
});
|
|
3415
3415
|
return globalThis.__DEV__ !== !1 && i && (i.value.kind === he.VARIABLE ? globalThis.__DEV__ !== !1 && ce.warn(110) : i.value.kind !== he.STRING ? globalThis.__DEV__ !== !1 && ce.warn(111) : i.value.value !== "migrate" && globalThis.__DEV__ !== !1 && ce.warn(112, i.value.value)), i && "value" in i.value && i.value.value === "migrate" ? "migrate" : "unmask";
|
|
3416
3416
|
}
|
|
3417
|
-
const Zd = () => /* @__PURE__ */ Object.create(null), { forEach: Jd, slice:
|
|
3417
|
+
const Zd = () => /* @__PURE__ */ Object.create(null), { forEach: Jd, slice: Bs } = Array.prototype, { hasOwnProperty: Kd } = Object.prototype;
|
|
3418
3418
|
class Jt {
|
|
3419
3419
|
constructor(t = !0, r = Zd) {
|
|
3420
3420
|
this.weakness = t, this.makeData = r;
|
|
@@ -3424,7 +3424,7 @@ class Jt {
|
|
|
3424
3424
|
}
|
|
3425
3425
|
lookupArray(t) {
|
|
3426
3426
|
let r = this;
|
|
3427
|
-
return Jd.call(t, (n) => r = r.getChildTrie(n)), Kd.call(r, "data") ? r.data : r.data = this.makeData(
|
|
3427
|
+
return Jd.call(t, (n) => r = r.getChildTrie(n)), Kd.call(r, "data") ? r.data : r.data = this.makeData(Bs.call(t));
|
|
3428
3428
|
}
|
|
3429
3429
|
peek() {
|
|
3430
3430
|
return this.peekArray(arguments);
|
|
@@ -3444,7 +3444,7 @@ class Jt {
|
|
|
3444
3444
|
let r;
|
|
3445
3445
|
if (t.length) {
|
|
3446
3446
|
const n = t[0], i = this.mapFor(n, !1), a = i && i.get(n);
|
|
3447
|
-
a && (r = a.removeArray(
|
|
3447
|
+
a && (r = a.removeArray(Bs.call(t, 1)), !a.data && !a.weak && !(a.strong && a.strong.size) && i.delete(n));
|
|
3448
3448
|
} else
|
|
3449
3449
|
r = this.data, delete this.data;
|
|
3450
3450
|
return r;
|
|
@@ -3469,9 +3469,9 @@ function e0(e) {
|
|
|
3469
3469
|
}
|
|
3470
3470
|
return !1;
|
|
3471
3471
|
}
|
|
3472
|
-
var
|
|
3472
|
+
var Hl = Ot(function() {
|
|
3473
3473
|
return navigator.product;
|
|
3474
|
-
}) == "ReactNative", Cr = typeof WeakMap == "function" && !(
|
|
3474
|
+
}) == "ReactNative", Cr = typeof WeakMap == "function" && !(Hl && !globalThis.HermesInternal), Vo = typeof WeakSet == "function", $o = typeof Symbol == "function" && typeof Symbol.for == "function", Ci = $o && Symbol.asyncIterator, Ql = typeof Ot(function() {
|
|
3475
3475
|
return window.document.createElement;
|
|
3476
3476
|
}) == "function", t0 = (
|
|
3477
3477
|
// Following advice found in this comment from @domenic (maintainer of jsdom):
|
|
@@ -3485,7 +3485,7 @@ var Ql = Ot(function() {
|
|
|
3485
3485
|
Ot(function() {
|
|
3486
3486
|
return navigator.userAgent.indexOf("jsdom") >= 0;
|
|
3487
3487
|
}) || !1
|
|
3488
|
-
), r0 = (
|
|
3488
|
+
), r0 = (Ql || Hl) && !t0;
|
|
3489
3489
|
function Ge(e) {
|
|
3490
3490
|
return e !== null && typeof e == "object";
|
|
3491
3491
|
}
|
|
@@ -3663,7 +3663,7 @@ class yi {
|
|
|
3663
3663
|
}
|
|
3664
3664
|
}
|
|
3665
3665
|
var $i = /* @__PURE__ */ new WeakSet();
|
|
3666
|
-
function
|
|
3666
|
+
function Gl(e) {
|
|
3667
3667
|
e.size <= (e.max || -1) || $i.has(e) || ($i.add(e), setTimeout(function() {
|
|
3668
3668
|
e.clean(), $i.delete(e);
|
|
3669
3669
|
}, 100));
|
|
@@ -3672,19 +3672,19 @@ var Wo = function(e, t) {
|
|
|
3672
3672
|
var r = new yi(e, t);
|
|
3673
3673
|
return r.set = function(n, i) {
|
|
3674
3674
|
var a = yi.prototype.set.call(this, n, i);
|
|
3675
|
-
return
|
|
3675
|
+
return Gl(this), a;
|
|
3676
3676
|
}, r;
|
|
3677
3677
|
}, f0 = function(e, t) {
|
|
3678
3678
|
var r = new ao(e, t);
|
|
3679
3679
|
return r.set = function(n, i) {
|
|
3680
3680
|
var a = ao.prototype.set.call(this, n, i);
|
|
3681
|
-
return
|
|
3681
|
+
return Gl(this), a;
|
|
3682
3682
|
}, r;
|
|
3683
3683
|
}, h0 = Symbol.for("apollo.cacheSize"), Bt = z({}, gi[h0]), br = {};
|
|
3684
3684
|
function Ho(e, t) {
|
|
3685
3685
|
br[e] = t;
|
|
3686
3686
|
}
|
|
3687
|
-
var d0 = globalThis.__DEV__ !== !1 ? g0 : void 0, p0 = globalThis.__DEV__ !== !1 ? y0 : void 0, v0 = globalThis.__DEV__ !== !1 ?
|
|
3687
|
+
var d0 = globalThis.__DEV__ !== !1 ? g0 : void 0, p0 = globalThis.__DEV__ !== !1 ? y0 : void 0, v0 = globalThis.__DEV__ !== !1 ? Yl : void 0;
|
|
3688
3688
|
function m0() {
|
|
3689
3689
|
var e = {
|
|
3690
3690
|
parser: 1e3,
|
|
@@ -3718,11 +3718,11 @@ function g0() {
|
|
|
3718
3718
|
limits: m0(),
|
|
3719
3719
|
sizes: z({ print: (e = br.print) === null || e === void 0 ? void 0 : e.call(br), parser: (t = br.parser) === null || t === void 0 ? void 0 : t.call(br), canonicalStringify: (r = br.canonicalStringify) === null || r === void 0 ? void 0 : r.call(br), links: co(this.link), queryManager: {
|
|
3720
3720
|
getDocumentInfo: this.queryManager.transformCache.size,
|
|
3721
|
-
documentTransforms:
|
|
3721
|
+
documentTransforms: Zl(this.queryManager.documentTransform)
|
|
3722
3722
|
} }, (i = (n = this.cache).getMemoryInternals) === null || i === void 0 ? void 0 : i.call(n))
|
|
3723
3723
|
};
|
|
3724
3724
|
}
|
|
3725
|
-
function
|
|
3725
|
+
function Yl() {
|
|
3726
3726
|
return {
|
|
3727
3727
|
cache: {
|
|
3728
3728
|
fragmentQueryDocuments: sr(this.getFragmentDoc)
|
|
@@ -3731,7 +3731,7 @@ function Xl() {
|
|
|
3731
3731
|
}
|
|
3732
3732
|
function y0() {
|
|
3733
3733
|
var e = this.config.fragments;
|
|
3734
|
-
return z(z({},
|
|
3734
|
+
return z(z({}, Yl.apply(this)), { addTypenameDocumentTransform: Zl(this.addTypenameTransform), inMemoryCache: {
|
|
3735
3735
|
executeSelectionSet: sr(this.storeReader.executeSelectionSet),
|
|
3736
3736
|
executeSubSelectedArray: sr(this.storeReader.executeSubSelectedArray),
|
|
3737
3737
|
maybeBroadcastWatch: sr(this.maybeBroadcastWatch)
|
|
@@ -3747,10 +3747,10 @@ function b0(e) {
|
|
|
3747
3747
|
function sr(e) {
|
|
3748
3748
|
return b0(e) ? e.size : void 0;
|
|
3749
3749
|
}
|
|
3750
|
-
function
|
|
3750
|
+
function Xl(e) {
|
|
3751
3751
|
return e != null;
|
|
3752
3752
|
}
|
|
3753
|
-
function
|
|
3753
|
+
function Zl(e) {
|
|
3754
3754
|
return so(e).map(function(t) {
|
|
3755
3755
|
return { cache: t };
|
|
3756
3756
|
});
|
|
@@ -3758,13 +3758,13 @@ function Jl(e) {
|
|
|
3758
3758
|
function so(e) {
|
|
3759
3759
|
return e ? lt(lt([
|
|
3760
3760
|
sr(e == null ? void 0 : e.performWork)
|
|
3761
|
-
], so(e == null ? void 0 : e.left), !0), so(e == null ? void 0 : e.right), !0).filter(
|
|
3761
|
+
], so(e == null ? void 0 : e.left), !0), so(e == null ? void 0 : e.right), !0).filter(Xl) : [];
|
|
3762
3762
|
}
|
|
3763
3763
|
function co(e) {
|
|
3764
3764
|
var t;
|
|
3765
3765
|
return e ? lt(lt([
|
|
3766
3766
|
(t = e == null ? void 0 : e.getMemoryInternals) === null || t === void 0 ? void 0 : t.call(e)
|
|
3767
|
-
], co(e == null ? void 0 : e.left), !0), co(e == null ? void 0 : e.right), !0).filter(
|
|
3767
|
+
], co(e == null ? void 0 : e.left), !0), co(e == null ? void 0 : e.right), !0).filter(Xl) : [];
|
|
3768
3768
|
}
|
|
3769
3769
|
var lr = Object.assign(function(t) {
|
|
3770
3770
|
return JSON.stringify(t, x0);
|
|
@@ -3878,7 +3878,7 @@ function L0(e, t) {
|
|
|
3878
3878
|
return e.arguments && e.arguments.length && (n = {}, e.arguments.forEach(function(i) {
|
|
3879
3879
|
var a = i.name, o = i.value;
|
|
3880
3880
|
return Jr(n, a, o, t);
|
|
3881
|
-
})),
|
|
3881
|
+
})), Jl(e.name.value, n, r);
|
|
3882
3882
|
}
|
|
3883
3883
|
var M0 = [
|
|
3884
3884
|
"connection",
|
|
@@ -3888,7 +3888,7 @@ var M0 = [
|
|
|
3888
3888
|
"rest",
|
|
3889
3889
|
"export",
|
|
3890
3890
|
"nonreactive"
|
|
3891
|
-
], fn = lr,
|
|
3891
|
+
], fn = lr, Jl = Object.assign(function(e, t, r) {
|
|
3892
3892
|
if (t && r && r.connection && r.connection.key)
|
|
3893
3893
|
if (r.connection.filter && r.connection.filter.length > 0) {
|
|
3894
3894
|
var n = r.connection.filter ? r.connection.filter : [];
|
|
@@ -3977,11 +3977,11 @@ function on(e) {
|
|
|
3977
3977
|
return t.kind === "FragmentDefinition";
|
|
3978
3978
|
});
|
|
3979
3979
|
}
|
|
3980
|
-
function
|
|
3980
|
+
function Kl(e) {
|
|
3981
3981
|
var t = Sr(e);
|
|
3982
3982
|
return ce(t && t.operation === "query", 119), t;
|
|
3983
3983
|
}
|
|
3984
|
-
function
|
|
3984
|
+
function ef(e) {
|
|
3985
3985
|
ce(e.kind === "Document", 120), ce(e.definitions.length <= 1, 121);
|
|
3986
3986
|
var t = e.definitions[0];
|
|
3987
3987
|
return ce(t.kind === "FragmentDefinition", 122), t;
|
|
@@ -4008,7 +4008,7 @@ function Qo(e) {
|
|
|
4008
4008
|
}), t;
|
|
4009
4009
|
}
|
|
4010
4010
|
let ct = null;
|
|
4011
|
-
const
|
|
4011
|
+
const qs = {};
|
|
4012
4012
|
let N0 = 1;
|
|
4013
4013
|
const j0 = () => class {
|
|
4014
4014
|
constructor() {
|
|
@@ -4023,11 +4023,11 @@ const j0 = () => class {
|
|
|
4023
4023
|
for (let t = ct; t; t = t.parent)
|
|
4024
4024
|
if (this.id in t.slots) {
|
|
4025
4025
|
const r = t.slots[this.id];
|
|
4026
|
-
if (r ===
|
|
4026
|
+
if (r === qs)
|
|
4027
4027
|
break;
|
|
4028
4028
|
return t !== ct && (ct.slots[this.id] = r), !0;
|
|
4029
4029
|
}
|
|
4030
|
-
return ct && (ct.slots[this.id] =
|
|
4030
|
+
return ct && (ct.slots[this.id] = qs), !1;
|
|
4031
4031
|
}
|
|
4032
4032
|
getValue() {
|
|
4033
4033
|
if (this.hasValue())
|
|
@@ -4071,7 +4071,7 @@ const j0 = () => class {
|
|
|
4071
4071
|
return t.apply(n, r);
|
|
4072
4072
|
}
|
|
4073
4073
|
};
|
|
4074
|
-
function
|
|
4074
|
+
function Us(e) {
|
|
4075
4075
|
try {
|
|
4076
4076
|
return e();
|
|
4077
4077
|
} catch {
|
|
@@ -4080,18 +4080,18 @@ function zs(e) {
|
|
|
4080
4080
|
const Wi = "@wry/context:Slot", P0 = (
|
|
4081
4081
|
// Prefer globalThis when available.
|
|
4082
4082
|
// https://github.com/benjamn/wryware/issues/347
|
|
4083
|
-
|
|
4083
|
+
Us(() => globalThis) || // Fall back to global, which works in Node.js and may be converted by some
|
|
4084
4084
|
// bundlers to the appropriate identifier (window, self, ...) depending on the
|
|
4085
4085
|
// bundling target. https://github.com/endojs/endo/issues/576#issuecomment-1178515224
|
|
4086
|
-
|
|
4086
|
+
Us(() => globalThis) || // Otherwise, use a dummy host that's local to this module. We used to fall
|
|
4087
4087
|
// back to using the Array constructor as a namespace, but that was flagged in
|
|
4088
4088
|
// https://github.com/benjamn/wryware/issues/347, and can be avoided.
|
|
4089
4089
|
/* @__PURE__ */ Object.create(null)
|
|
4090
|
-
),
|
|
4090
|
+
), zs = P0, sn = zs[Wi] || // Earlier versions of this package stored the globalKey property on the Array
|
|
4091
4091
|
// constructor, so we check there as well, to prevent Slot class duplication.
|
|
4092
4092
|
Array[Wi] || (function(e) {
|
|
4093
4093
|
try {
|
|
4094
|
-
Object.defineProperty(
|
|
4094
|
+
Object.defineProperty(zs, Wi, {
|
|
4095
4095
|
value: e,
|
|
4096
4096
|
enumerable: !1,
|
|
4097
4097
|
writable: !1,
|
|
@@ -4119,7 +4119,7 @@ function Kr(e, t) {
|
|
|
4119
4119
|
if (!e)
|
|
4120
4120
|
throw new Error(t || "assertion failure");
|
|
4121
4121
|
}
|
|
4122
|
-
function
|
|
4122
|
+
function tf(e, t) {
|
|
4123
4123
|
const r = e.length;
|
|
4124
4124
|
return (
|
|
4125
4125
|
// Unknown values are not equal to each other.
|
|
@@ -4128,7 +4128,7 @@ function rf(e, t) {
|
|
|
4128
4128
|
e[r - 1] === t[r - 1]
|
|
4129
4129
|
);
|
|
4130
4130
|
}
|
|
4131
|
-
function
|
|
4131
|
+
function rf(e) {
|
|
4132
4132
|
switch (e.length) {
|
|
4133
4133
|
case 0:
|
|
4134
4134
|
throw new Error("unknown value");
|
|
@@ -4138,7 +4138,7 @@ function nf(e) {
|
|
|
4138
4138
|
throw e[1];
|
|
4139
4139
|
}
|
|
4140
4140
|
}
|
|
4141
|
-
function
|
|
4141
|
+
function nf(e) {
|
|
4142
4142
|
return e.slice(0);
|
|
4143
4143
|
}
|
|
4144
4144
|
class Li {
|
|
@@ -4147,7 +4147,7 @@ class Li {
|
|
|
4147
4147
|
}
|
|
4148
4148
|
peek() {
|
|
4149
4149
|
if (this.value.length === 1 && !hr(this))
|
|
4150
|
-
return
|
|
4150
|
+
return Vs(this), this.value[0];
|
|
4151
4151
|
}
|
|
4152
4152
|
// This is the most important method of the Entry API, because it
|
|
4153
4153
|
// determines whether the cached this.value can be returned immediately,
|
|
@@ -4156,14 +4156,14 @@ class Li {
|
|
|
4156
4156
|
// usually false, (2) this.dirtyChildren is usually null/empty, and thus
|
|
4157
4157
|
// (3) valueGet(this.value) is usually returned without recomputation.
|
|
4158
4158
|
recompute(t) {
|
|
4159
|
-
return Kr(!this.recomputing, "already recomputing"),
|
|
4159
|
+
return Kr(!this.recomputing, "already recomputing"), Vs(this), hr(this) ? q0(this, t) : rf(this.value);
|
|
4160
4160
|
}
|
|
4161
4161
|
setDirty() {
|
|
4162
|
-
this.dirty || (this.dirty = !0,
|
|
4162
|
+
this.dirty || (this.dirty = !0, af(this), Yo(this));
|
|
4163
4163
|
}
|
|
4164
4164
|
dispose() {
|
|
4165
|
-
this.setDirty(),
|
|
4166
|
-
t.setDirty(),
|
|
4165
|
+
this.setDirty(), lf(this), Xo(this, (t, r) => {
|
|
4166
|
+
t.setDirty(), ff(t, this);
|
|
4167
4167
|
});
|
|
4168
4168
|
}
|
|
4169
4169
|
forget() {
|
|
@@ -4177,21 +4177,21 @@ class Li {
|
|
|
4177
4177
|
}
|
|
4178
4178
|
}
|
|
4179
4179
|
Li.count = 0;
|
|
4180
|
-
function
|
|
4180
|
+
function Vs(e) {
|
|
4181
4181
|
const t = Ri.getValue();
|
|
4182
4182
|
if (t)
|
|
4183
|
-
return e.parents.add(t), t.childValues.has(e) || t.childValues.set(e, []), hr(e) ?
|
|
4183
|
+
return e.parents.add(t), t.childValues.has(e) || t.childValues.set(e, []), hr(e) ? sf(t, e) : cf(t, e), t;
|
|
4184
4184
|
}
|
|
4185
4185
|
function q0(e, t) {
|
|
4186
|
-
return
|
|
4186
|
+
return lf(e), Ri.withValue(e, U0, [e, t]), V0(e, t) && z0(e), rf(e.value);
|
|
4187
4187
|
}
|
|
4188
4188
|
function U0(e, t) {
|
|
4189
4189
|
e.recomputing = !0;
|
|
4190
4190
|
const { normalizeResult: r } = e;
|
|
4191
4191
|
let n;
|
|
4192
|
-
r && e.value.length === 1 && (n =
|
|
4192
|
+
r && e.value.length === 1 && (n = nf(e.value)), e.value.length = 0;
|
|
4193
4193
|
try {
|
|
4194
|
-
if (e.value[0] = e.fn.apply(null, t), r && n && !
|
|
4194
|
+
if (e.value[0] = e.fn.apply(null, t), r && n && !tf(n, e.value))
|
|
4195
4195
|
try {
|
|
4196
4196
|
e.value[0] = r(e.value[0], n[0]);
|
|
4197
4197
|
} catch {
|
|
@@ -4205,14 +4205,14 @@ function hr(e) {
|
|
|
4205
4205
|
return e.dirty || !!(e.dirtyChildren && e.dirtyChildren.size);
|
|
4206
4206
|
}
|
|
4207
4207
|
function z0(e) {
|
|
4208
|
-
e.dirty = !1, !hr(e) &&
|
|
4208
|
+
e.dirty = !1, !hr(e) && of(e);
|
|
4209
|
+
}
|
|
4210
|
+
function af(e) {
|
|
4211
|
+
Xo(e, sf);
|
|
4209
4212
|
}
|
|
4210
4213
|
function of(e) {
|
|
4211
4214
|
Xo(e, cf);
|
|
4212
4215
|
}
|
|
4213
|
-
function sf(e) {
|
|
4214
|
-
Xo(e, uf);
|
|
4215
|
-
}
|
|
4216
4216
|
function Xo(e, t) {
|
|
4217
4217
|
const r = e.parents.size;
|
|
4218
4218
|
if (r) {
|
|
@@ -4221,31 +4221,31 @@ function Xo(e, t) {
|
|
|
4221
4221
|
t(n[i], e);
|
|
4222
4222
|
}
|
|
4223
4223
|
}
|
|
4224
|
-
function
|
|
4224
|
+
function sf(e, t) {
|
|
4225
4225
|
Kr(e.childValues.has(t)), Kr(hr(t));
|
|
4226
4226
|
const r = !hr(e);
|
|
4227
4227
|
if (!e.dirtyChildren)
|
|
4228
4228
|
e.dirtyChildren = Pn.pop() || /* @__PURE__ */ new Set();
|
|
4229
4229
|
else if (e.dirtyChildren.has(t))
|
|
4230
4230
|
return;
|
|
4231
|
-
e.dirtyChildren.add(t), r &&
|
|
4231
|
+
e.dirtyChildren.add(t), r && af(e);
|
|
4232
4232
|
}
|
|
4233
|
-
function
|
|
4233
|
+
function cf(e, t) {
|
|
4234
4234
|
Kr(e.childValues.has(t)), Kr(!hr(t));
|
|
4235
4235
|
const r = e.childValues.get(t);
|
|
4236
|
-
r.length === 0 ? e.childValues.set(t,
|
|
4236
|
+
r.length === 0 ? e.childValues.set(t, nf(t.value)) : tf(r, t.value) || e.setDirty(), uf(e, t), !hr(e) && of(e);
|
|
4237
4237
|
}
|
|
4238
|
-
function
|
|
4238
|
+
function uf(e, t) {
|
|
4239
4239
|
const r = e.dirtyChildren;
|
|
4240
4240
|
r && (r.delete(t), r.size === 0 && (Pn.length < B0 && Pn.push(r), e.dirtyChildren = null));
|
|
4241
4241
|
}
|
|
4242
|
-
function
|
|
4242
|
+
function lf(e) {
|
|
4243
4243
|
e.childValues.size > 0 && e.childValues.forEach((t, r) => {
|
|
4244
|
-
|
|
4244
|
+
ff(e, r);
|
|
4245
4245
|
}), e.forgetDeps(), Kr(e.dirtyChildren === null);
|
|
4246
4246
|
}
|
|
4247
|
-
function
|
|
4248
|
-
t.parents.delete(e), e.childValues.delete(t),
|
|
4247
|
+
function ff(e, t) {
|
|
4248
|
+
t.parents.delete(e), e.childValues.delete(t), uf(e, t);
|
|
4249
4249
|
}
|
|
4250
4250
|
function V0(e, t) {
|
|
4251
4251
|
if (typeof e.subscribe == "function")
|
|
@@ -4262,7 +4262,7 @@ const $0 = {
|
|
|
4262
4262
|
forget: !0
|
|
4263
4263
|
// Fully remove parent Entry from LRU cache and computation graph
|
|
4264
4264
|
};
|
|
4265
|
-
function
|
|
4265
|
+
function hf(e) {
|
|
4266
4266
|
const t = /* @__PURE__ */ new Map();
|
|
4267
4267
|
function r(n) {
|
|
4268
4268
|
const i = Ri.getValue();
|
|
@@ -4279,9 +4279,9 @@ function df(e) {
|
|
|
4279
4279
|
}
|
|
4280
4280
|
}, r;
|
|
4281
4281
|
}
|
|
4282
|
-
let
|
|
4282
|
+
let $s;
|
|
4283
4283
|
function W0(...e) {
|
|
4284
|
-
return (
|
|
4284
|
+
return ($s || ($s = new Jt(typeof WeakMap == "function"))).lookupArray(e);
|
|
4285
4285
|
}
|
|
4286
4286
|
const Hi = /* @__PURE__ */ new Set();
|
|
4287
4287
|
function Fn(e, { max: t = Math.pow(2, 16), keyArgs: r, makeCacheKey: n = W0, normalizeResult: i, subscribe: a, cache: o = ao } = /* @__PURE__ */ Object.create(null)) {
|
|
@@ -4333,7 +4333,7 @@ function Fn(e, { max: t = Math.pow(2, 16), keyArgs: r, makeCacheKey: n = W0, nor
|
|
|
4333
4333
|
function H0(e) {
|
|
4334
4334
|
return e;
|
|
4335
4335
|
}
|
|
4336
|
-
var
|
|
4336
|
+
var df = (
|
|
4337
4337
|
/** @class */
|
|
4338
4338
|
(function() {
|
|
4339
4339
|
function e(t, r) {
|
|
@@ -4406,20 +4406,20 @@ var Ye = Array.isArray;
|
|
|
4406
4406
|
function Et(e) {
|
|
4407
4407
|
return Array.isArray(e) && e.length > 0;
|
|
4408
4408
|
}
|
|
4409
|
-
var
|
|
4409
|
+
var Ws = {
|
|
4410
4410
|
kind: he.FIELD,
|
|
4411
4411
|
name: {
|
|
4412
4412
|
kind: he.NAME,
|
|
4413
4413
|
value: "__typename"
|
|
4414
4414
|
}
|
|
4415
4415
|
};
|
|
4416
|
-
function
|
|
4416
|
+
function pf(e, t) {
|
|
4417
4417
|
return !e || e.selectionSet.selections.every(function(r) {
|
|
4418
|
-
return r.kind === he.FRAGMENT_SPREAD &&
|
|
4418
|
+
return r.kind === he.FRAGMENT_SPREAD && pf(t[r.name.value], t);
|
|
4419
4419
|
});
|
|
4420
4420
|
}
|
|
4421
4421
|
function Q0(e) {
|
|
4422
|
-
return
|
|
4422
|
+
return pf(Sr(e) || ef(e), nn(on(e))) ? null : e;
|
|
4423
4423
|
}
|
|
4424
4424
|
function G0(e) {
|
|
4425
4425
|
var t = /* @__PURE__ */ new Map(), r = /* @__PURE__ */ new Map();
|
|
@@ -4432,7 +4432,7 @@ function G0(e) {
|
|
|
4432
4432
|
}), i;
|
|
4433
4433
|
};
|
|
4434
4434
|
}
|
|
4435
|
-
function
|
|
4435
|
+
function Hs(e) {
|
|
4436
4436
|
var t = /* @__PURE__ */ new Map();
|
|
4437
4437
|
return function(n) {
|
|
4438
4438
|
n === void 0 && (n = e);
|
|
@@ -4447,9 +4447,9 @@ function Qs(e) {
|
|
|
4447
4447
|
}), i;
|
|
4448
4448
|
};
|
|
4449
4449
|
}
|
|
4450
|
-
function
|
|
4450
|
+
function vf(e, t) {
|
|
4451
4451
|
an(t);
|
|
4452
|
-
for (var r =
|
|
4452
|
+
for (var r = Hs(""), n = Hs(""), i = function(m) {
|
|
4453
4453
|
for (var g = 0, b = void 0; g < m.length && (b = m[g]); ++g)
|
|
4454
4454
|
if (!Ye(b)) {
|
|
4455
4455
|
if (b.kind === he.OPERATION_DEFINITION)
|
|
@@ -4588,7 +4588,7 @@ var Zo = Object.assign(function(e) {
|
|
|
4588
4588
|
if (!(fr(o) && o.directives && o.directives.some(function(s) {
|
|
4589
4589
|
return s.name.value === "export";
|
|
4590
4590
|
})))
|
|
4591
|
-
return z(z({}, t), { selections: lt(lt([], i, !0), [
|
|
4591
|
+
return z(z({}, t), { selections: lt(lt([], i, !0), [Ws], !1) });
|
|
4592
4592
|
}
|
|
4593
4593
|
}
|
|
4594
4594
|
}
|
|
@@ -4597,7 +4597,7 @@ var Zo = Object.assign(function(e) {
|
|
|
4597
4597
|
});
|
|
4598
4598
|
}, {
|
|
4599
4599
|
added: function(e) {
|
|
4600
|
-
return e ===
|
|
4600
|
+
return e === Ws;
|
|
4601
4601
|
}
|
|
4602
4602
|
});
|
|
4603
4603
|
function Y0(e) {
|
|
@@ -4613,9 +4613,9 @@ function Y0(e) {
|
|
|
4613
4613
|
});
|
|
4614
4614
|
return n;
|
|
4615
4615
|
}
|
|
4616
|
-
function
|
|
4616
|
+
function mf(e) {
|
|
4617
4617
|
an(e);
|
|
4618
|
-
var t =
|
|
4618
|
+
var t = vf([
|
|
4619
4619
|
{
|
|
4620
4620
|
test: function(r) {
|
|
4621
4621
|
return r.name.value === "client";
|
|
@@ -4642,7 +4642,7 @@ function X0(e) {
|
|
|
4642
4642
|
});
|
|
4643
4643
|
}
|
|
4644
4644
|
var Z0 = Object.prototype.hasOwnProperty;
|
|
4645
|
-
function
|
|
4645
|
+
function Qs() {
|
|
4646
4646
|
for (var e = [], t = 0; t < arguments.length; t++)
|
|
4647
4647
|
e[t] = arguments[t];
|
|
4648
4648
|
return Mi(e);
|
|
@@ -4699,26 +4699,26 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
4699
4699
|
}
|
|
4700
4700
|
function ep(e, t) {
|
|
4701
4701
|
if (e) {
|
|
4702
|
-
if (typeof e == "string") return
|
|
4702
|
+
if (typeof e == "string") return Gs(e, t);
|
|
4703
4703
|
var r = Object.prototype.toString.call(e).slice(8, -1);
|
|
4704
4704
|
if (r === "Object" && e.constructor && (r = e.constructor.name), r === "Map" || r === "Set") return Array.from(e);
|
|
4705
|
-
if (r === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)) return
|
|
4705
|
+
if (r === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)) return Gs(e, t);
|
|
4706
4706
|
}
|
|
4707
4707
|
}
|
|
4708
|
-
function
|
|
4708
|
+
function Gs(e, t) {
|
|
4709
4709
|
(t == null || t > e.length) && (t = e.length);
|
|
4710
4710
|
for (var r = 0, n = new Array(t); r < t; r++)
|
|
4711
4711
|
n[r] = e[r];
|
|
4712
4712
|
return n;
|
|
4713
4713
|
}
|
|
4714
|
-
function
|
|
4714
|
+
function Ys(e, t) {
|
|
4715
4715
|
for (var r = 0; r < t.length; r++) {
|
|
4716
4716
|
var n = t[r];
|
|
4717
4717
|
n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(e, n.key, n);
|
|
4718
4718
|
}
|
|
4719
4719
|
}
|
|
4720
4720
|
function Jo(e, t, r) {
|
|
4721
|
-
return t &&
|
|
4721
|
+
return t && Ys(e.prototype, t), r && Ys(e, r), Object.defineProperty(e, "prototype", { writable: !1 }), e;
|
|
4722
4722
|
}
|
|
4723
4723
|
var Ko = function() {
|
|
4724
4724
|
return typeof Symbol == "function";
|
|
@@ -4728,7 +4728,7 @@ var Ko = function() {
|
|
|
4728
4728
|
return es(e) ? Symbol[e] : "@@" + e;
|
|
4729
4729
|
};
|
|
4730
4730
|
Ko() && !es("observable") && (Symbol.observable = Symbol("observable"));
|
|
4731
|
-
var tp = ts("iterator"), lo = ts("observable"),
|
|
4731
|
+
var tp = ts("iterator"), lo = ts("observable"), gf = ts("species");
|
|
4732
4732
|
function bi(e, t) {
|
|
4733
4733
|
var r = e[t];
|
|
4734
4734
|
if (r != null) {
|
|
@@ -4738,7 +4738,7 @@ function bi(e, t) {
|
|
|
4738
4738
|
}
|
|
4739
4739
|
function hn(e) {
|
|
4740
4740
|
var t = e.constructor;
|
|
4741
|
-
return t !== void 0 && (t = t[
|
|
4741
|
+
return t !== void 0 && (t = t[gf], t === null && (t = void 0)), t !== void 0 ? t : ze;
|
|
4742
4742
|
}
|
|
4743
4743
|
function rp(e) {
|
|
4744
4744
|
return e instanceof ze;
|
|
@@ -4757,7 +4757,7 @@ function fi(e) {
|
|
|
4757
4757
|
}
|
|
4758
4758
|
});
|
|
4759
4759
|
}
|
|
4760
|
-
function
|
|
4760
|
+
function yf(e) {
|
|
4761
4761
|
var t = e._cleanup;
|
|
4762
4762
|
if (t !== void 0 && (e._cleanup = void 0, !!t))
|
|
4763
4763
|
try {
|
|
@@ -4778,11 +4778,11 @@ function np(e) {
|
|
|
4778
4778
|
var t = e._queue;
|
|
4779
4779
|
if (t) {
|
|
4780
4780
|
e._queue = void 0, e._state = "ready";
|
|
4781
|
-
for (var r = 0; r < t.length && (
|
|
4781
|
+
for (var r = 0; r < t.length && (bf(e, t[r].type, t[r].value), e._state !== "closed"); ++r)
|
|
4782
4782
|
;
|
|
4783
4783
|
}
|
|
4784
4784
|
}
|
|
4785
|
-
function
|
|
4785
|
+
function bf(e, t, r) {
|
|
4786
4786
|
e._state = "running";
|
|
4787
4787
|
var n = e._observer;
|
|
4788
4788
|
try {
|
|
@@ -4802,7 +4802,7 @@ function xf(e, t, r) {
|
|
|
4802
4802
|
} catch (a) {
|
|
4803
4803
|
en(a);
|
|
4804
4804
|
}
|
|
4805
|
-
e._state === "closed" ?
|
|
4805
|
+
e._state === "closed" ? yf(e) : e._state === "running" && (e._state = "ready");
|
|
4806
4806
|
}
|
|
4807
4807
|
function Qi(e, t, r) {
|
|
4808
4808
|
if (e._state !== "closed") {
|
|
@@ -4822,7 +4822,7 @@ function Qi(e, t, r) {
|
|
|
4822
4822
|
});
|
|
4823
4823
|
return;
|
|
4824
4824
|
}
|
|
4825
|
-
|
|
4825
|
+
bf(e, t, r);
|
|
4826
4826
|
}
|
|
4827
4827
|
}
|
|
4828
4828
|
var ip = /* @__PURE__ */ (function() {
|
|
@@ -4838,7 +4838,7 @@ var ip = /* @__PURE__ */ (function() {
|
|
|
4838
4838
|
}
|
|
4839
4839
|
var t = e.prototype;
|
|
4840
4840
|
return t.unsubscribe = function() {
|
|
4841
|
-
this._state !== "closed" && (fo(this),
|
|
4841
|
+
this._state !== "closed" && (fo(this), yf(this));
|
|
4842
4842
|
}, Jo(e, [{
|
|
4843
4843
|
key: "closed",
|
|
4844
4844
|
get: function() {
|
|
@@ -5083,7 +5083,7 @@ var ip = /* @__PURE__ */ (function() {
|
|
|
5083
5083
|
});
|
|
5084
5084
|
});
|
|
5085
5085
|
}, Jo(e, null, [{
|
|
5086
|
-
key:
|
|
5086
|
+
key: gf,
|
|
5087
5087
|
get: function() {
|
|
5088
5088
|
return this;
|
|
5089
5089
|
}
|
|
@@ -5115,8 +5115,8 @@ function op(e) {
|
|
|
5115
5115
|
var Br;
|
|
5116
5116
|
typeof self < "u" ? Br = self : typeof window < "u" ? Br = window : typeof globalThis < "u" ? Br = globalThis : typeof module < "u" ? Br = module : Br = Function("return this")();
|
|
5117
5117
|
op(Br);
|
|
5118
|
-
var
|
|
5119
|
-
Zs
|
|
5118
|
+
var Xs = ze.prototype, Zs = "@@observable";
|
|
5119
|
+
Xs[Zs] || (Xs[Zs] = function() {
|
|
5120
5120
|
return this;
|
|
5121
5121
|
});
|
|
5122
5122
|
function sp(e) {
|
|
@@ -5124,7 +5124,7 @@ function sp(e) {
|
|
|
5124
5124
|
}), e;
|
|
5125
5125
|
}
|
|
5126
5126
|
var cp = Object.prototype.toString;
|
|
5127
|
-
function
|
|
5127
|
+
function xf(e) {
|
|
5128
5128
|
return ho(e);
|
|
5129
5129
|
}
|
|
5130
5130
|
function ho(e, t) {
|
|
@@ -5223,13 +5223,13 @@ function Gi(e, t, r) {
|
|
|
5223
5223
|
};
|
|
5224
5224
|
});
|
|
5225
5225
|
}
|
|
5226
|
-
function
|
|
5226
|
+
function _f(e) {
|
|
5227
5227
|
function t(r) {
|
|
5228
5228
|
Object.defineProperty(e, r, { value: ze });
|
|
5229
5229
|
}
|
|
5230
5230
|
return $o && Symbol.species && t(Symbol.species), t("@@species"), e;
|
|
5231
5231
|
}
|
|
5232
|
-
function
|
|
5232
|
+
function Js(e) {
|
|
5233
5233
|
return e && typeof e.then == "function";
|
|
5234
5234
|
}
|
|
5235
5235
|
var qr = (
|
|
@@ -5258,7 +5258,7 @@ var qr = (
|
|
|
5258
5258
|
var i = n, a = i.sub, o = i.sources, s = o === void 0 ? [] : o;
|
|
5259
5259
|
if (a !== null) {
|
|
5260
5260
|
var c = s.shift();
|
|
5261
|
-
c ?
|
|
5261
|
+
c ? Js(c) ? c.then(function(u) {
|
|
5262
5262
|
return n.sub = u.subscribe(n.handlers);
|
|
5263
5263
|
}, n.handlers.error) : n.sub = c.subscribe(n.handlers) : (a && setTimeout(function() {
|
|
5264
5264
|
return a.unsubscribe();
|
|
@@ -5268,7 +5268,7 @@ var qr = (
|
|
|
5268
5268
|
}, n.nextResultListeners = /* @__PURE__ */ new Set(), n.cancel = function(i) {
|
|
5269
5269
|
n.reject(i), n.sources = [], n.handlers.error(i);
|
|
5270
5270
|
}, n.promise.catch(function(i) {
|
|
5271
|
-
}), typeof r == "function" && (r = [new ze(r)]),
|
|
5271
|
+
}), typeof r == "function" && (r = [new ze(r)]), Js(r) ? r.then(function(i) {
|
|
5272
5272
|
return n.start(i);
|
|
5273
5273
|
}, n.handlers.error) : n.start(r), n;
|
|
5274
5274
|
}
|
|
@@ -5296,7 +5296,7 @@ var qr = (
|
|
|
5296
5296
|
}, t;
|
|
5297
5297
|
})(ze)
|
|
5298
5298
|
);
|
|
5299
|
-
|
|
5299
|
+
_f(qr);
|
|
5300
5300
|
function Gr(e) {
|
|
5301
5301
|
return "incremental" in e;
|
|
5302
5302
|
}
|
|
@@ -5309,7 +5309,7 @@ function hp(e) {
|
|
|
5309
5309
|
function dp(e) {
|
|
5310
5310
|
return Ge(e) && "payload" in e;
|
|
5311
5311
|
}
|
|
5312
|
-
function
|
|
5312
|
+
function wf(e, t) {
|
|
5313
5313
|
var r = e, n = new dr();
|
|
5314
5314
|
return Gr(t) && Et(t.incremental) && t.incremental.forEach(function(i) {
|
|
5315
5315
|
for (var a = i.data, o = i.path, s = o.length - 1; s >= 0; --s) {
|
|
@@ -5350,7 +5350,7 @@ function Yi(e) {
|
|
|
5350
5350
|
t.error(e);
|
|
5351
5351
|
});
|
|
5352
5352
|
}
|
|
5353
|
-
var
|
|
5353
|
+
var Ef = function(e, t, r) {
|
|
5354
5354
|
var n = new Error(r);
|
|
5355
5355
|
throw n.name = "ServerError", n.response = e, n.statusCode = e.status, n.result = t, n;
|
|
5356
5356
|
};
|
|
@@ -5418,7 +5418,7 @@ function We(e, t, r, n) {
|
|
|
5418
5418
|
function cr(e, t) {
|
|
5419
5419
|
xp(e) || t();
|
|
5420
5420
|
}
|
|
5421
|
-
function
|
|
5421
|
+
function Ks(e, t) {
|
|
5422
5422
|
return t ? t(e) : ze.of();
|
|
5423
5423
|
}
|
|
5424
5424
|
function dn(e) {
|
|
@@ -5442,7 +5442,7 @@ var $n = (
|
|
|
5442
5442
|
return r.concat(n);
|
|
5443
5443
|
});
|
|
5444
5444
|
}, e.split = function(t, r, n) {
|
|
5445
|
-
var i = dn(r), a = dn(n || new e(
|
|
5445
|
+
var i = dn(r), a = dn(n || new e(Ks)), o;
|
|
5446
5446
|
return Jn(i) && Jn(a) ? o = new e(function(s) {
|
|
5447
5447
|
return t(s) ? i.request(s) || ze.of() : a.request(s) || ze.of();
|
|
5448
5448
|
}) : o = new e(function(s, c) {
|
|
@@ -5465,7 +5465,7 @@ var $n = (
|
|
|
5465
5465
|
}) || ze.of();
|
|
5466
5466
|
}), Object.assign(a, { left: n, right: i });
|
|
5467
5467
|
}, e.prototype.split = function(t, r, n) {
|
|
5468
|
-
return this.concat(e.split(t, r, n || new e(
|
|
5468
|
+
return this.concat(e.split(t, r, n || new e(Ks)));
|
|
5469
5469
|
}, e.prototype.concat = function(t) {
|
|
5470
5470
|
return e.concat(this, t);
|
|
5471
5471
|
}, e.prototype.request = function(t, r) {
|
|
@@ -5557,7 +5557,7 @@ function Ep(e) {
|
|
|
5557
5557
|
return this;
|
|
5558
5558
|
}), r;
|
|
5559
5559
|
}
|
|
5560
|
-
function
|
|
5560
|
+
function ec(e) {
|
|
5561
5561
|
var t = {
|
|
5562
5562
|
next: function() {
|
|
5563
5563
|
return e.read();
|
|
@@ -5590,9 +5590,9 @@ function Ip(e) {
|
|
|
5590
5590
|
if (Sp(e) && (t = e.body), Tp(t))
|
|
5591
5591
|
return _p(t);
|
|
5592
5592
|
if (kp(t))
|
|
5593
|
-
return
|
|
5593
|
+
return ec(t.getReader());
|
|
5594
5594
|
if (Dp(t))
|
|
5595
|
-
return
|
|
5595
|
+
return ec(t.stream().getReader());
|
|
5596
5596
|
if (Cp(t))
|
|
5597
5597
|
return Ep(t.arrayBuffer());
|
|
5598
5598
|
if (Op(t))
|
|
@@ -5603,7 +5603,7 @@ var rs = Symbol();
|
|
|
5603
5603
|
function Rp(e) {
|
|
5604
5604
|
return e.extensions ? Array.isArray(e.extensions[rs]) : !1;
|
|
5605
5605
|
}
|
|
5606
|
-
function
|
|
5606
|
+
function Sf(e) {
|
|
5607
5607
|
return e.hasOwnProperty("graphQLErrors");
|
|
5608
5608
|
}
|
|
5609
5609
|
var Lp = function(e) {
|
|
@@ -5626,7 +5626,7 @@ var Lp = function(e) {
|
|
|
5626
5626
|
}
|
|
5627
5627
|
return t;
|
|
5628
5628
|
})(Error)
|
|
5629
|
-
),
|
|
5629
|
+
), tc = Object.prototype.hasOwnProperty;
|
|
5630
5630
|
function Mp(e, t) {
|
|
5631
5631
|
return ar(this, void 0, void 0, function() {
|
|
5632
5632
|
var r, n, i, a, o, s, c, u, l, f, d, h, w, D, x, m, g, b, _, E, C, T, O, A;
|
|
@@ -5649,7 +5649,7 @@ function Mp(e, t) {
|
|
|
5649
5649
|
`), g = Ap(x.slice(0, m)), b = g["content-type"], b && b.toLowerCase().indexOf("application/json") === -1)
|
|
5650
5650
|
throw new Error("Unsupported patch content type: application/json is required.");
|
|
5651
5651
|
if (_ = x.slice(m), _) {
|
|
5652
|
-
if (E =
|
|
5652
|
+
if (E = kf(e, _), Object.keys(E).length > 1 || "data" in E || "incremental" in E || "errors" in E || "payload" in E)
|
|
5653
5653
|
if (dp(E)) {
|
|
5654
5654
|
if (C = {}, "payload" in E) {
|
|
5655
5655
|
if (Object.keys(E).length === 1 && E.payload === null)
|
|
@@ -5695,7 +5695,7 @@ function Ap(e) {
|
|
|
5695
5695
|
}
|
|
5696
5696
|
}), t;
|
|
5697
5697
|
}
|
|
5698
|
-
function
|
|
5698
|
+
function kf(e, t) {
|
|
5699
5699
|
if (e.status >= 300) {
|
|
5700
5700
|
var r = function() {
|
|
5701
5701
|
try {
|
|
@@ -5704,7 +5704,7 @@ function Tf(e, t) {
|
|
|
5704
5704
|
return t;
|
|
5705
5705
|
}
|
|
5706
5706
|
};
|
|
5707
|
-
|
|
5707
|
+
Ef(e, r(), "Response not successful: Received status code ".concat(e.status));
|
|
5708
5708
|
}
|
|
5709
5709
|
try {
|
|
5710
5710
|
return JSON.parse(t);
|
|
@@ -5719,9 +5719,9 @@ function Np(e, t) {
|
|
|
5719
5719
|
function jp(e) {
|
|
5720
5720
|
return function(t) {
|
|
5721
5721
|
return t.text().then(function(r) {
|
|
5722
|
-
return
|
|
5722
|
+
return kf(t, r);
|
|
5723
5723
|
}).then(function(r) {
|
|
5724
|
-
return !Array.isArray(r) && !
|
|
5724
|
+
return !Array.isArray(r) && !tc.call(r, "data") && !tc.call(r, "errors") && Ef(t, r, "Server response was missing for query '".concat(Array.isArray(e) ? e.map(function(n) {
|
|
5725
5725
|
return n.operationName;
|
|
5726
5726
|
}) : e.operationName, "'.")), r;
|
|
5727
5727
|
});
|
|
@@ -5831,12 +5831,12 @@ function Hp(e, t) {
|
|
|
5831
5831
|
var u = s.indexOf("?") === -1 ? "?" : "&", l = s + u + r.join("&") + o;
|
|
5832
5832
|
return { newURI: l };
|
|
5833
5833
|
}
|
|
5834
|
-
var
|
|
5834
|
+
var rc = Ot(function() {
|
|
5835
5835
|
return fetch;
|
|
5836
5836
|
}), Qp = function(e) {
|
|
5837
5837
|
e === void 0 && (e = {});
|
|
5838
5838
|
var t = e.uri, r = t === void 0 ? "/graphql" : t, n = e.fetch, i = e.print, a = i === void 0 ? Up : i, o = e.includeExtensions, s = e.preserveHeaderCase, c = e.useGETForQueries, u = e.includeUnusedVariables, l = u === void 0 ? !1 : u, f = Mt(e, ["uri", "fetch", "print", "includeExtensions", "preserveHeaderCase", "useGETForQueries", "includeUnusedVariables"]);
|
|
5839
|
-
globalThis.__DEV__ !== !1 && $p(n ||
|
|
5839
|
+
globalThis.__DEV__ !== !1 && $p(n || rc);
|
|
5840
5840
|
var d = {
|
|
5841
5841
|
http: { includeExtensions: o, preserveHeaderCase: s },
|
|
5842
5842
|
options: f.fetchOptions,
|
|
@@ -5857,7 +5857,7 @@ var nc = Ot(function() {
|
|
|
5857
5857
|
};
|
|
5858
5858
|
if (jn(["client"], h.query)) {
|
|
5859
5859
|
globalThis.__DEV__ !== !1 && globalThis.__DEV__ !== !1 && ce.warn(52);
|
|
5860
|
-
var C =
|
|
5860
|
+
var C = mf(h.query);
|
|
5861
5861
|
if (!C)
|
|
5862
5862
|
return Yi(new Error("HttpLink: Trying to send a client-only query to the server. To send to the server, ensure a non-client field is added to the query or set the `transformOptions.removeClientFields` option to `true`."));
|
|
5863
5863
|
h.query = C;
|
|
@@ -5890,7 +5890,7 @@ var nc = Ot(function() {
|
|
|
5890
5890
|
return new ze(function(oe) {
|
|
5891
5891
|
var $ = n || Ot(function() {
|
|
5892
5892
|
return fetch;
|
|
5893
|
-
}) ||
|
|
5893
|
+
}) || rc, F = oe.next.bind(oe);
|
|
5894
5894
|
return $(w, O).then(function(K) {
|
|
5895
5895
|
var ne;
|
|
5896
5896
|
h.setContext({ response: K });
|
|
@@ -5905,7 +5905,7 @@ var nc = Ot(function() {
|
|
|
5905
5905
|
};
|
|
5906
5906
|
});
|
|
5907
5907
|
});
|
|
5908
|
-
},
|
|
5908
|
+
}, Tf = (
|
|
5909
5909
|
/** @class */
|
|
5910
5910
|
(function(e) {
|
|
5911
5911
|
Ut(t, e);
|
|
@@ -5917,7 +5917,7 @@ var nc = Ot(function() {
|
|
|
5917
5917
|
return t;
|
|
5918
5918
|
})($n)
|
|
5919
5919
|
);
|
|
5920
|
-
const { toString:
|
|
5920
|
+
const { toString: nc, hasOwnProperty: Gp } = Object.prototype, ic = Function.prototype.toString, yo = /* @__PURE__ */ new Map();
|
|
5921
5921
|
function Be(e, t) {
|
|
5922
5922
|
try {
|
|
5923
5923
|
return bo(e, t);
|
|
@@ -5928,7 +5928,7 @@ function Be(e, t) {
|
|
|
5928
5928
|
function bo(e, t) {
|
|
5929
5929
|
if (e === t)
|
|
5930
5930
|
return !0;
|
|
5931
|
-
const r =
|
|
5931
|
+
const r = nc.call(e), n = nc.call(t);
|
|
5932
5932
|
if (r !== n)
|
|
5933
5933
|
return !1;
|
|
5934
5934
|
switch (r) {
|
|
@@ -5937,9 +5937,9 @@ function bo(e, t) {
|
|
|
5937
5937
|
return !1;
|
|
5938
5938
|
// Fall through to object case...
|
|
5939
5939
|
case "[object Object]": {
|
|
5940
|
-
if (
|
|
5940
|
+
if (oc(e, t))
|
|
5941
5941
|
return !0;
|
|
5942
|
-
const i =
|
|
5942
|
+
const i = ac(e), a = ac(t), o = i.length;
|
|
5943
5943
|
if (o !== a.length)
|
|
5944
5944
|
return !1;
|
|
5945
5945
|
for (let s = 0; s < o; ++s)
|
|
@@ -5968,7 +5968,7 @@ function bo(e, t) {
|
|
|
5968
5968
|
case "[object Set]": {
|
|
5969
5969
|
if (e.size !== t.size)
|
|
5970
5970
|
return !1;
|
|
5971
|
-
if (
|
|
5971
|
+
if (oc(e, t))
|
|
5972
5972
|
return !0;
|
|
5973
5973
|
const i = e.entries(), a = r === "[object Map]";
|
|
5974
5974
|
for (; ; ) {
|
|
@@ -6002,13 +6002,13 @@ function bo(e, t) {
|
|
|
6002
6002
|
case "[object GeneratorFunction]":
|
|
6003
6003
|
case "[object AsyncGeneratorFunction]":
|
|
6004
6004
|
case "[object Function]": {
|
|
6005
|
-
const i =
|
|
6006
|
-
return i !==
|
|
6005
|
+
const i = ic.call(e);
|
|
6006
|
+
return i !== ic.call(t) ? !1 : !Zp(i, Xp);
|
|
6007
6007
|
}
|
|
6008
6008
|
}
|
|
6009
6009
|
return !1;
|
|
6010
6010
|
}
|
|
6011
|
-
function
|
|
6011
|
+
function ac(e) {
|
|
6012
6012
|
return Object.keys(e).filter(Yp, e);
|
|
6013
6013
|
}
|
|
6014
6014
|
function Yp(e) {
|
|
@@ -6019,7 +6019,7 @@ function Zp(e, t) {
|
|
|
6019
6019
|
const r = e.length - t.length;
|
|
6020
6020
|
return r >= 0 && e.indexOf(t, r) === r;
|
|
6021
6021
|
}
|
|
6022
|
-
function
|
|
6022
|
+
function oc(e, t) {
|
|
6023
6023
|
let r = yo.get(e);
|
|
6024
6024
|
if (r) {
|
|
6025
6025
|
if (r.has(t))
|
|
@@ -6028,7 +6028,7 @@ function sc(e, t) {
|
|
|
6028
6028
|
yo.set(e, r = /* @__PURE__ */ new Set());
|
|
6029
6029
|
return r.add(t), !1;
|
|
6030
6030
|
}
|
|
6031
|
-
function
|
|
6031
|
+
function Df(e, t, r, n) {
|
|
6032
6032
|
var i = t.data, a = Mt(t, ["data"]), o = r.data, s = Mt(r, ["data"]);
|
|
6033
6033
|
return Be(a, s) && di(Vn(e).selectionSet, i, o, {
|
|
6034
6034
|
fragmentMap: nn(on(e)),
|
|
@@ -6040,7 +6040,7 @@ function di(e, t, r, n) {
|
|
|
6040
6040
|
return !0;
|
|
6041
6041
|
var i = /* @__PURE__ */ new Set();
|
|
6042
6042
|
return e.selections.every(function(a) {
|
|
6043
|
-
if (i.has(a) || (i.add(a), !zn(a, n.variables)) ||
|
|
6043
|
+
if (i.has(a) || (i.add(a), !zn(a, n.variables)) || sc(a))
|
|
6044
6044
|
return !0;
|
|
6045
6045
|
if (fr(a)) {
|
|
6046
6046
|
var o = Xt(a), s = t && t[o], c = r && r[o], u = a.selectionSet;
|
|
@@ -6062,7 +6062,7 @@ function di(e, t, r, n) {
|
|
|
6062
6062
|
} else {
|
|
6063
6063
|
var w = Oi(a, n.fragmentMap);
|
|
6064
6064
|
if (w)
|
|
6065
|
-
return
|
|
6065
|
+
return sc(w) ? !0 : di(
|
|
6066
6066
|
w.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
|
|
@@ -6075,17 +6075,17 @@ function di(e, t, r, n) {
|
|
|
6075
6075
|
}
|
|
6076
6076
|
});
|
|
6077
6077
|
}
|
|
6078
|
-
function
|
|
6078
|
+
function sc(e) {
|
|
6079
6079
|
return !!e.directives && e.directives.some(Jp);
|
|
6080
6080
|
}
|
|
6081
6081
|
function Jp(e) {
|
|
6082
6082
|
return e.name.value === "nonreactive";
|
|
6083
6083
|
}
|
|
6084
|
-
var
|
|
6085
|
-
function
|
|
6086
|
-
|
|
6084
|
+
var Cf = Cr ? WeakMap : Map, Of = Vo ? WeakSet : Set, ns = new sn(), cc = !1;
|
|
6085
|
+
function If() {
|
|
6086
|
+
cc || (cc = !0, globalThis.__DEV__ !== !1 && ce.warn(64));
|
|
6087
6087
|
}
|
|
6088
|
-
function
|
|
6088
|
+
function Rf(e, t, r) {
|
|
6089
6089
|
return ns.withValue(!0, function() {
|
|
6090
6090
|
var n = Dn(e, t, r, !1);
|
|
6091
6091
|
return Object.isFrozen(e) && tn(n), n;
|
|
@@ -6156,9 +6156,9 @@ function ev(e, t, r, n, i) {
|
|
|
6156
6156
|
configurable: !0
|
|
6157
6157
|
};
|
|
6158
6158
|
}
|
|
6159
|
-
function
|
|
6159
|
+
function Lf(e, t, r, n) {
|
|
6160
6160
|
if (!r.fragmentMatches)
|
|
6161
|
-
return globalThis.__DEV__ !== !1 &&
|
|
6161
|
+
return globalThis.__DEV__ !== !1 && If(), e;
|
|
6162
6162
|
var i = t.definitions.filter(function(o) {
|
|
6163
6163
|
return o.kind === he.FRAGMENT_DEFINITION;
|
|
6164
6164
|
});
|
|
@@ -6166,30 +6166,30 @@ function Mf(e, t, r, n) {
|
|
|
6166
6166
|
var a = i.find(function(o) {
|
|
6167
6167
|
return o.name.value === n;
|
|
6168
6168
|
});
|
|
6169
|
-
return ce(!!a, 62, n), e == null || Be(e, {}) ? e :
|
|
6169
|
+
return ce(!!a, 62, n), e == null || Be(e, {}) ? e : Rf(e, a.selectionSet, {
|
|
6170
6170
|
operationType: "fragment",
|
|
6171
6171
|
operationName: a.name.value,
|
|
6172
6172
|
fragmentMap: nn(on(t)),
|
|
6173
6173
|
cache: r,
|
|
6174
|
-
mutableTargets: new
|
|
6175
|
-
knownChanged: new
|
|
6174
|
+
mutableTargets: new Cf(),
|
|
6175
|
+
knownChanged: new Of()
|
|
6176
6176
|
});
|
|
6177
6177
|
}
|
|
6178
6178
|
function tv(e, t, r) {
|
|
6179
6179
|
var n;
|
|
6180
6180
|
if (!r.fragmentMatches)
|
|
6181
|
-
return globalThis.__DEV__ !== !1 &&
|
|
6181
|
+
return globalThis.__DEV__ !== !1 && If(), e;
|
|
6182
6182
|
var i = Sr(t);
|
|
6183
|
-
return ce(i, 63), e == null ? e :
|
|
6183
|
+
return ce(i, 63), e == null ? e : Rf(e, i.selectionSet, {
|
|
6184
6184
|
operationType: i.operation,
|
|
6185
6185
|
operationName: (n = i.name) === null || n === void 0 ? void 0 : n.value,
|
|
6186
6186
|
fragmentMap: nn(on(t)),
|
|
6187
6187
|
cache: r,
|
|
6188
|
-
mutableTargets: new
|
|
6189
|
-
knownChanged: new
|
|
6188
|
+
mutableTargets: new Cf(),
|
|
6189
|
+
knownChanged: new Of()
|
|
6190
6190
|
});
|
|
6191
6191
|
}
|
|
6192
|
-
var
|
|
6192
|
+
var Mf = (
|
|
6193
6193
|
/** @class */
|
|
6194
6194
|
(function() {
|
|
6195
6195
|
function e() {
|
|
@@ -6224,16 +6224,16 @@ var Af = (
|
|
|
6224
6224
|
}, e.prototype.watchFragment = function(t) {
|
|
6225
6225
|
var r = this, n = t.fragment, i = t.fragmentName, a = t.from, o = t.optimistic, s = o === void 0 ? !0 : o, c = Mt(t, ["fragment", "fragmentName", "from", "optimistic"]), u = this.getFragmentDoc(n, i), l = typeof a > "u" || typeof a == "string" ? a : this.identify(a), f = !!t[Symbol.for("apollo.dataMasking")];
|
|
6226
6226
|
if (globalThis.__DEV__ !== !1) {
|
|
6227
|
-
var d = i ||
|
|
6227
|
+
var d = i || ef(n).name.value;
|
|
6228
6228
|
l || globalThis.__DEV__ !== !1 && ce.warn(1, d);
|
|
6229
6229
|
}
|
|
6230
6230
|
var h = z(z({}, c), { returnPartialData: !0, id: l, query: u, optimistic: s }), w;
|
|
6231
6231
|
return new ze(function(D) {
|
|
6232
6232
|
return r.watch(z(z({}, h), { immediate: !0, callback: function(x) {
|
|
6233
|
-
var m = f ?
|
|
6233
|
+
var m = f ? Lf(x.result, n, r, i) : x.result;
|
|
6234
6234
|
if (
|
|
6235
6235
|
// Always ensure we deliver the first result
|
|
6236
|
-
!(w &&
|
|
6236
|
+
!(w && Df(
|
|
6237
6237
|
u,
|
|
6238
6238
|
{ data: w.result },
|
|
6239
6239
|
{ data: m },
|
|
@@ -6291,8 +6291,8 @@ var Af = (
|
|
|
6291
6291
|
}, e;
|
|
6292
6292
|
})()
|
|
6293
6293
|
);
|
|
6294
|
-
globalThis.__DEV__ !== !1 && (
|
|
6295
|
-
var
|
|
6294
|
+
globalThis.__DEV__ !== !1 && (Mf.prototype.getMemoryInternals = v0);
|
|
6295
|
+
var Af = (
|
|
6296
6296
|
/** @class */
|
|
6297
6297
|
(function(e) {
|
|
6298
6298
|
Ut(t, e);
|
|
@@ -6312,13 +6312,13 @@ var Nf = (
|
|
|
6312
6312
|
function pn(e) {
|
|
6313
6313
|
return e == null;
|
|
6314
6314
|
}
|
|
6315
|
-
function
|
|
6315
|
+
function Nf(e, t) {
|
|
6316
6316
|
var r = e.__typename, n = e.id, i = e._id;
|
|
6317
6317
|
if (typeof r == "string" && (t && (t.keyObject = pn(n) ? pn(i) ? void 0 : { _id: i } : { id: n }), pn(n) && !pn(i) && (n = i), !pn(n)))
|
|
6318
6318
|
return "".concat(r, ":").concat(typeof n == "number" || typeof n == "string" ? n : JSON.stringify(n));
|
|
6319
6319
|
}
|
|
6320
|
-
var
|
|
6321
|
-
dataIdFromObject:
|
|
6320
|
+
var jf = {
|
|
6321
|
+
dataIdFromObject: Nf,
|
|
6322
6322
|
addTypename: !0,
|
|
6323
6323
|
resultCaching: !0,
|
|
6324
6324
|
// Thanks to the shouldCanonizeResults helper, this should be the only line
|
|
@@ -6326,18 +6326,18 @@ var Pf = {
|
|
|
6326
6326
|
canonizeResults: !1
|
|
6327
6327
|
};
|
|
6328
6328
|
function rv(e) {
|
|
6329
|
-
return kr(
|
|
6329
|
+
return kr(jf, e);
|
|
6330
6330
|
}
|
|
6331
|
-
function
|
|
6331
|
+
function Pf(e) {
|
|
6332
6332
|
var t = e.canonizeResults;
|
|
6333
|
-
return t === void 0 ?
|
|
6333
|
+
return t === void 0 ? jf.canonizeResults : t;
|
|
6334
6334
|
}
|
|
6335
6335
|
function nv(e, t) {
|
|
6336
6336
|
return Pe(t) ? e.get(t.__ref, "__typename") : t && t.__typename;
|
|
6337
6337
|
}
|
|
6338
|
-
var
|
|
6338
|
+
var Ff = /^[_a-z][_0-9a-z]*/i;
|
|
6339
6339
|
function pr(e) {
|
|
6340
|
-
var t = e.match(
|
|
6340
|
+
var t = e.match(Ff);
|
|
6341
6341
|
return t ? t[0] : e;
|
|
6342
6342
|
}
|
|
6343
6343
|
function xo(e, t, r) {
|
|
@@ -6357,7 +6357,7 @@ function $r(e) {
|
|
|
6357
6357
|
function iv() {
|
|
6358
6358
|
return new dr();
|
|
6359
6359
|
}
|
|
6360
|
-
function
|
|
6360
|
+
function Bf(e, t) {
|
|
6361
6361
|
var r = nn(on(e));
|
|
6362
6362
|
return {
|
|
6363
6363
|
fragmentMap: r,
|
|
@@ -6369,7 +6369,7 @@ function qf(e, t) {
|
|
|
6369
6369
|
}
|
|
6370
6370
|
var pi = /* @__PURE__ */ Object.create(null), Xi = function() {
|
|
6371
6371
|
return pi;
|
|
6372
|
-
},
|
|
6372
|
+
}, uc = /* @__PURE__ */ Object.create(null), Bn = (
|
|
6373
6373
|
/** @class */
|
|
6374
6374
|
(function() {
|
|
6375
6375
|
function e(t, r) {
|
|
@@ -6440,7 +6440,7 @@ var pi = /* @__PURE__ */ Object.create(null), Xi = function() {
|
|
|
6440
6440
|
if (i) {
|
|
6441
6441
|
var a = /* @__PURE__ */ Object.create(null), o = !1, s = !0, c = {
|
|
6442
6442
|
DELETE: pi,
|
|
6443
|
-
INVALIDATE:
|
|
6443
|
+
INVALIDATE: uc,
|
|
6444
6444
|
isReference: Pe,
|
|
6445
6445
|
toReference: this.toReference,
|
|
6446
6446
|
canRead: this.canRead,
|
|
@@ -6457,7 +6457,7 @@ var pi = /* @__PURE__ */ Object.create(null), Xi = function() {
|
|
|
6457
6457
|
var d = typeof r == "function" ? r : r[u] || r[l];
|
|
6458
6458
|
if (d) {
|
|
6459
6459
|
var h = d === Xi ? pi : d(tn(f), z(z({}, c), { fieldName: l, storeFieldName: u, storage: n.getStorage(t, u) }));
|
|
6460
|
-
if (h ===
|
|
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
6463
|
var w = function(E) {
|
|
@@ -6558,14 +6558,14 @@ var pi = /* @__PURE__ */ Object.create(null), Xi = function() {
|
|
|
6558
6558
|
return this.group.keyMaker.lookupArray(arguments);
|
|
6559
6559
|
}, e;
|
|
6560
6560
|
})()
|
|
6561
|
-
),
|
|
6561
|
+
), qf = (
|
|
6562
6562
|
/** @class */
|
|
6563
6563
|
(function() {
|
|
6564
6564
|
function e(t, r) {
|
|
6565
6565
|
r === void 0 && (r = null), this.caching = t, this.parent = r, this.d = null, this.resetCaching();
|
|
6566
6566
|
}
|
|
6567
6567
|
return e.prototype.resetCaching = function() {
|
|
6568
|
-
this.d = this.caching ?
|
|
6568
|
+
this.d = this.caching ? hf() : null, this.keyMaker = new Jt(Cr);
|
|
6569
6569
|
}, e.prototype.depend = function(t, r) {
|
|
6570
6570
|
if (this.d) {
|
|
6571
6571
|
this.d(Zi(t, r));
|
|
@@ -6590,7 +6590,7 @@ var pi = /* @__PURE__ */ Object.create(null), Xi = function() {
|
|
|
6590
6590
|
function Zi(e, t) {
|
|
6591
6591
|
return t + "#" + e;
|
|
6592
6592
|
}
|
|
6593
|
-
function
|
|
6593
|
+
function lc(e, t) {
|
|
6594
6594
|
Rn(e) && e.group.depend(t, "__exists");
|
|
6595
6595
|
}
|
|
6596
6596
|
(function(e) {
|
|
@@ -6599,7 +6599,7 @@ function fc(e, t) {
|
|
|
6599
6599
|
(function(r) {
|
|
6600
6600
|
Ut(n, r);
|
|
6601
6601
|
function n(i) {
|
|
6602
|
-
var a = i.policies, o = i.resultCaching, s = o === void 0 ? !0 : o, c = i.seed, u = r.call(this, a, new
|
|
6602
|
+
var a = i.policies, o = i.resultCaching, s = o === void 0 ? !0 : o, c = i.seed, u = r.call(this, a, new qf(s)) || this;
|
|
6603
6603
|
return u.stump = new av(u), u.storageTrie = new Jt(Cr), c && u.replace(c), u;
|
|
6604
6604
|
}
|
|
6605
6605
|
return n.prototype.addLayer = function(i, a) {
|
|
@@ -6654,7 +6654,7 @@ var ir = (
|
|
|
6654
6654
|
Ut(t, e);
|
|
6655
6655
|
function t(r) {
|
|
6656
6656
|
return e.call(this, "EntityStore.Stump", r, function() {
|
|
6657
|
-
}, new
|
|
6657
|
+
}, new qf(r.group.caching, r.group)) || this;
|
|
6658
6658
|
}
|
|
6659
6659
|
return t.prototype.removeLayer = function() {
|
|
6660
6660
|
return this;
|
|
@@ -6673,7 +6673,7 @@ function Rn(e) {
|
|
|
6673
6673
|
function sv(e) {
|
|
6674
6674
|
return Ge(e) ? Ye(e) ? e.slice(0) : z({ __proto__: Object.getPrototypeOf(e) }, e) : e;
|
|
6675
6675
|
}
|
|
6676
|
-
var
|
|
6676
|
+
var fc = (
|
|
6677
6677
|
/** @class */
|
|
6678
6678
|
(function() {
|
|
6679
6679
|
function e() {
|
|
@@ -6734,7 +6734,7 @@ var hc = (
|
|
|
6734
6734
|
}, e;
|
|
6735
6735
|
})()
|
|
6736
6736
|
);
|
|
6737
|
-
function
|
|
6737
|
+
function hc(e) {
|
|
6738
6738
|
return [
|
|
6739
6739
|
e.selectionSet,
|
|
6740
6740
|
e.objectOrReference,
|
|
@@ -6751,19 +6751,19 @@ var cv = (
|
|
|
6751
6751
|
var r = this;
|
|
6752
6752
|
this.knownResults = new (Cr ? WeakMap : Map)(), this.config = kr(t, {
|
|
6753
6753
|
addTypename: t.addTypename !== !1,
|
|
6754
|
-
canonizeResults:
|
|
6755
|
-
}), this.canon = t.canon || new
|
|
6756
|
-
var i, a = n.context.canonizeResults, o =
|
|
6754
|
+
canonizeResults: Pf(t)
|
|
6755
|
+
}), this.canon = t.canon || new fc(), this.executeSelectionSet = Fn(function(n) {
|
|
6756
|
+
var i, a = n.context.canonizeResults, o = hc(n);
|
|
6757
6757
|
o[3] = !a;
|
|
6758
6758
|
var s = (i = r.executeSelectionSet).peek.apply(i, o);
|
|
6759
6759
|
return s ? a ? z(z({}, s), {
|
|
6760
6760
|
// If we previously read this result without canonizing it, we can
|
|
6761
6761
|
// reuse that result simply by canonizing it now.
|
|
6762
6762
|
result: r.canon.admit(s.result)
|
|
6763
|
-
}) : s : (
|
|
6763
|
+
}) : s : (lc(n.context.store, n.enclosingRef.__ref), r.execSelectionSetImpl(n));
|
|
6764
6764
|
}, {
|
|
6765
6765
|
max: this.config.resultCacheMaxSize || Bt["inMemoryCache.executeSelectionSet"] || 5e4,
|
|
6766
|
-
keyArgs:
|
|
6766
|
+
keyArgs: hc,
|
|
6767
6767
|
// Note that the parameters of makeCacheKey are determined by the
|
|
6768
6768
|
// array returned by keyArgs.
|
|
6769
6769
|
makeCacheKey: function(n, i, a, o) {
|
|
@@ -6771,7 +6771,7 @@ var cv = (
|
|
|
6771
6771
|
return a.store.makeCacheKey(n, Pe(i) ? i.__ref : i, a.varString, o);
|
|
6772
6772
|
}
|
|
6773
6773
|
}), this.executeSubSelectedArray = Fn(function(n) {
|
|
6774
|
-
return
|
|
6774
|
+
return lc(n.context.store, n.enclosingRef.__ref), r.execSubSelectedArrayImpl(n);
|
|
6775
6775
|
}, {
|
|
6776
6776
|
max: this.config.resultCacheMaxSize || Bt["inMemoryCache.executeSubSelectedArray"] || 1e4,
|
|
6777
6777
|
makeCacheKey: function(n) {
|
|
@@ -6782,18 +6782,18 @@ var cv = (
|
|
|
6782
6782
|
});
|
|
6783
6783
|
}
|
|
6784
6784
|
return e.prototype.resetCanon = function() {
|
|
6785
|
-
this.canon = new
|
|
6785
|
+
this.canon = new fc();
|
|
6786
6786
|
}, e.prototype.diffQueryAgainstStore = function(t) {
|
|
6787
6787
|
var r = t.store, n = t.query, i = t.rootId, a = i === void 0 ? "ROOT_QUERY" : i, o = t.variables, s = t.returnPartialData, c = s === void 0 ? !0 : s, u = t.canonizeResults, l = u === void 0 ? this.config.canonizeResults : u, f = this.config.cache.policies;
|
|
6788
|
-
o = z(z({}, Qo(
|
|
6788
|
+
o = z(z({}, Qo(Kl(n))), o);
|
|
6789
6789
|
var d = Qr(a), h = this.executeSelectionSet({
|
|
6790
6790
|
selectionSet: Vn(n).selectionSet,
|
|
6791
6791
|
objectOrReference: d,
|
|
6792
6792
|
enclosingRef: d,
|
|
6793
|
-
context: z({ store: r, query: n, policies: f, variables: o, varString: lr(o), canonizeResults: l },
|
|
6793
|
+
context: z({ store: r, query: n, policies: f, variables: o, varString: lr(o), canonizeResults: l }, Bf(n, this.config.fragments))
|
|
6794
6794
|
}), w;
|
|
6795
6795
|
if (h.missing && (w = [
|
|
6796
|
-
new
|
|
6796
|
+
new Af(uv(h.missing), h.missing, n, o)
|
|
6797
6797
|
], !c))
|
|
6798
6798
|
throw w[0];
|
|
6799
6799
|
return {
|
|
@@ -6909,15 +6909,15 @@ function lv(e, t, r) {
|
|
|
6909
6909
|
});
|
|
6910
6910
|
}
|
|
6911
6911
|
}
|
|
6912
|
-
var is = new sn(),
|
|
6912
|
+
var is = new sn(), dc = /* @__PURE__ */ new WeakMap();
|
|
6913
6913
|
function Ln(e) {
|
|
6914
|
-
var t =
|
|
6915
|
-
return t ||
|
|
6914
|
+
var t = dc.get(e);
|
|
6915
|
+
return t || dc.set(e, t = {
|
|
6916
6916
|
vars: /* @__PURE__ */ new Set(),
|
|
6917
|
-
dep:
|
|
6917
|
+
dep: hf()
|
|
6918
6918
|
}), t;
|
|
6919
6919
|
}
|
|
6920
|
-
function
|
|
6920
|
+
function pc(e) {
|
|
6921
6921
|
Ln(e).vars.forEach(function(t) {
|
|
6922
6922
|
return t.forgetCache(e);
|
|
6923
6923
|
});
|
|
@@ -6960,12 +6960,12 @@ function hv(e) {
|
|
|
6960
6960
|
function dv(e) {
|
|
6961
6961
|
e.broadcastWatches && e.broadcastWatches();
|
|
6962
6962
|
}
|
|
6963
|
-
var
|
|
6963
|
+
var vc = /* @__PURE__ */ Object.create(null);
|
|
6964
6964
|
function as(e) {
|
|
6965
6965
|
var t = JSON.stringify(e);
|
|
6966
|
-
return
|
|
6966
|
+
return vc[t] || (vc[t] = /* @__PURE__ */ Object.create(null));
|
|
6967
6967
|
}
|
|
6968
|
-
function
|
|
6968
|
+
function mc(e) {
|
|
6969
6969
|
var t = as(e);
|
|
6970
6970
|
return t.keyFieldsFn || (t.keyFieldsFn = function(r, n) {
|
|
6971
6971
|
var i = function(o, s) {
|
|
@@ -6979,12 +6979,12 @@ function gc(e) {
|
|
|
6979
6979
|
// custom read functions.
|
|
6980
6980
|
i
|
|
6981
6981
|
);
|
|
6982
|
-
return s === void 0 && r !== n.storeObject && it.call(r, o[0]) && (s = Xr(r, o,
|
|
6982
|
+
return s === void 0 && r !== n.storeObject && it.call(r, o[0]) && (s = Xr(r, o, zf)), ce(s !== void 0, 5, o.join("."), r), s;
|
|
6983
6983
|
});
|
|
6984
6984
|
return "".concat(n.typename, ":").concat(JSON.stringify(a));
|
|
6985
6985
|
});
|
|
6986
6986
|
}
|
|
6987
|
-
function
|
|
6987
|
+
function gc(e) {
|
|
6988
6988
|
var t = as(e);
|
|
6989
6989
|
return t.keyArgsFn || (t.keyArgsFn = function(r, n) {
|
|
6990
6990
|
var i = n.field, a = n.variables, o = n.fieldName, s = os(e, function(u) {
|
|
@@ -7020,7 +7020,7 @@ function yc(e) {
|
|
|
7020
7020
|
}
|
|
7021
7021
|
function os(e, t) {
|
|
7022
7022
|
var r = new dr();
|
|
7023
|
-
return
|
|
7023
|
+
return Uf(e).reduce(function(n, i) {
|
|
7024
7024
|
var a, o = t(i);
|
|
7025
7025
|
if (o !== void 0) {
|
|
7026
7026
|
for (var s = i.length - 1; s >= 0; --s)
|
|
@@ -7030,30 +7030,30 @@ function os(e, t) {
|
|
|
7030
7030
|
return n;
|
|
7031
7031
|
}, /* @__PURE__ */ Object.create(null));
|
|
7032
7032
|
}
|
|
7033
|
-
function
|
|
7033
|
+
function Uf(e) {
|
|
7034
7034
|
var t = as(e);
|
|
7035
7035
|
if (!t.paths) {
|
|
7036
7036
|
var r = t.paths = [], n = [];
|
|
7037
7037
|
e.forEach(function(i, a) {
|
|
7038
|
-
Ye(i) ? (
|
|
7038
|
+
Ye(i) ? (Uf(i).forEach(function(o) {
|
|
7039
7039
|
return r.push(n.concat(o));
|
|
7040
7040
|
}), n.length = 0) : (n.push(i), Ye(e[a + 1]) || (r.push(n.slice(0)), n.length = 0));
|
|
7041
7041
|
});
|
|
7042
7042
|
}
|
|
7043
7043
|
return t.paths;
|
|
7044
7044
|
}
|
|
7045
|
-
function
|
|
7045
|
+
function zf(e, t) {
|
|
7046
7046
|
return e[t];
|
|
7047
7047
|
}
|
|
7048
7048
|
function Xr(e, t, r) {
|
|
7049
|
-
return r = r ||
|
|
7049
|
+
return r = r || zf, Vf(t.reduce(function n(i, a) {
|
|
7050
7050
|
return Ye(i) ? i.map(function(o) {
|
|
7051
7051
|
return n(o, a);
|
|
7052
7052
|
}) : i && r(i, a);
|
|
7053
7053
|
}, e));
|
|
7054
7054
|
}
|
|
7055
|
-
function
|
|
7056
|
-
return Ge(e) ? Ye(e) ? e.map(
|
|
7055
|
+
function Vf(e) {
|
|
7056
|
+
return Ge(e) ? Ye(e) ? e.map(Vf) : os(Object.keys(e).sort(), function(t) {
|
|
7057
7057
|
return Xr(e, t);
|
|
7058
7058
|
}) : e;
|
|
7059
7059
|
}
|
|
@@ -7061,18 +7061,18 @@ function _o(e) {
|
|
|
7061
7061
|
return e.args !== void 0 ? e.args : e.field ? Ii(e.field, e.variables) : null;
|
|
7062
7062
|
}
|
|
7063
7063
|
var pv = function() {
|
|
7064
|
-
},
|
|
7064
|
+
}, yc = function(e, t) {
|
|
7065
7065
|
return t.fieldName;
|
|
7066
|
-
},
|
|
7066
|
+
}, bc = function(e, t, r) {
|
|
7067
7067
|
var n = r.mergeObjects;
|
|
7068
7068
|
return n(e, t);
|
|
7069
|
-
},
|
|
7069
|
+
}, xc = function(e, t) {
|
|
7070
7070
|
return t;
|
|
7071
7071
|
}, vv = (
|
|
7072
7072
|
/** @class */
|
|
7073
7073
|
(function() {
|
|
7074
7074
|
function e(t) {
|
|
7075
|
-
this.config = t, this.typePolicies = /* @__PURE__ */ Object.create(null), this.toBeAdded = /* @__PURE__ */ Object.create(null), this.supertypeMap = /* @__PURE__ */ new Map(), this.fuzzySubtypes = /* @__PURE__ */ new Map(), this.rootIdsByTypename = /* @__PURE__ */ Object.create(null), this.rootTypenamesById = /* @__PURE__ */ Object.create(null), this.usingPossibleTypes = !1, this.config = z({ dataIdFromObject:
|
|
7075
|
+
this.config = t, this.typePolicies = /* @__PURE__ */ Object.create(null), this.toBeAdded = /* @__PURE__ */ Object.create(null), this.supertypeMap = /* @__PURE__ */ new Map(), this.fuzzySubtypes = /* @__PURE__ */ new Map(), this.rootIdsByTypename = /* @__PURE__ */ Object.create(null), this.rootTypenamesById = /* @__PURE__ */ Object.create(null), this.usingPossibleTypes = !1, this.config = z({ dataIdFromObject: Nf }, t), this.cache = this.config.cache, this.setRootTypename("Query"), this.setRootTypename("Mutation"), this.setRootTypename("Subscription"), t.possibleTypes && this.addPossibleTypes(t.possibleTypes), t.typePolicies && this.addTypePolicies(t.typePolicies);
|
|
7076
7076
|
}
|
|
7077
7077
|
return e.prototype.identify = function(t, r) {
|
|
7078
7078
|
var n, i = this, a = r && (r.typename || ((n = r.storeObject) === null || n === void 0 ? void 0 : n.__typename)) || t.__typename;
|
|
@@ -7089,7 +7089,7 @@ var pv = function() {
|
|
|
7089
7089
|
for (; l; ) {
|
|
7090
7090
|
var f = l(z(z({}, t), o), s);
|
|
7091
7091
|
if (Ye(f))
|
|
7092
|
-
l =
|
|
7092
|
+
l = mc(f);
|
|
7093
7093
|
else {
|
|
7094
7094
|
c = f;
|
|
7095
7095
|
break;
|
|
@@ -7105,10 +7105,10 @@ var pv = function() {
|
|
|
7105
7105
|
}, e.prototype.updateTypePolicy = function(t, r, n) {
|
|
7106
7106
|
var i = this.getTypePolicy(t), a = r.keyFields, o = r.fields;
|
|
7107
7107
|
function s(c, u) {
|
|
7108
|
-
c.merge = typeof u == "function" ? u : u === !0 ?
|
|
7108
|
+
c.merge = typeof u == "function" ? u : u === !0 ? bc : u === !1 ? xc : c.merge;
|
|
7109
7109
|
}
|
|
7110
7110
|
s(i, r.merge), i.keyFn = // Pass false to disable normalization for this typename.
|
|
7111
|
-
a === !1 ? pv : Ye(a) ?
|
|
7111
|
+
a === !1 ? pv : Ye(a) ? mc(a) : typeof a == "function" ? a : i.keyFn, o && Object.keys(o).forEach(function(c) {
|
|
7112
7112
|
var u = n[c];
|
|
7113
7113
|
(!u || (u == null ? void 0 : u.typename) !== t) && (u = n[c] = { typename: t });
|
|
7114
7114
|
var l = o[c];
|
|
@@ -7118,9 +7118,9 @@ var pv = function() {
|
|
|
7118
7118
|
var f = l.keyArgs, d = l.read, h = l.merge;
|
|
7119
7119
|
u.keyFn = // Pass false to disable argument-based differentiation of
|
|
7120
7120
|
// field identities.
|
|
7121
|
-
f === !1 ?
|
|
7121
|
+
f === !1 ? yc : Ye(f) ? gc(f) : typeof f == "function" ? f : u.keyFn, typeof d == "function" && (u.read = d), s(u, h);
|
|
7122
7122
|
}
|
|
7123
|
-
u.read && u.merge && (u.keyFn = u.keyFn ||
|
|
7123
|
+
u.read && u.merge && (u.keyFn = u.keyFn || yc);
|
|
7124
7124
|
});
|
|
7125
7125
|
}, e.prototype.setRootTypename = function(t, r) {
|
|
7126
7126
|
r === void 0 && (r = t);
|
|
@@ -7131,7 +7131,7 @@ var pv = function() {
|
|
|
7131
7131
|
this.usingPossibleTypes = !0, Object.keys(t).forEach(function(n) {
|
|
7132
7132
|
r.getSupertypeSet(n, !0), t[n].forEach(function(i) {
|
|
7133
7133
|
r.getSupertypeSet(i, !0).add(n);
|
|
7134
|
-
var a = i.match(
|
|
7134
|
+
var a = i.match(Ff);
|
|
7135
7135
|
(!a || a[0] !== i) && r.fuzzySubtypes.set(i, new RegExp(i));
|
|
7136
7136
|
});
|
|
7137
7137
|
});
|
|
@@ -7206,13 +7206,13 @@ var pv = function() {
|
|
|
7206
7206
|
}, c = _o(t); o; ) {
|
|
7207
7207
|
var u = o(c, s);
|
|
7208
7208
|
if (Ye(u))
|
|
7209
|
-
o =
|
|
7209
|
+
o = gc(u);
|
|
7210
7210
|
else {
|
|
7211
7211
|
a = u || n;
|
|
7212
7212
|
break;
|
|
7213
7213
|
}
|
|
7214
7214
|
}
|
|
7215
|
-
return a === void 0 && (a = t.field ? L0(t.field, t.variables) :
|
|
7215
|
+
return a === void 0 && (a = t.field ? L0(t.field, t.variables) : Jl(n, _o(t))), a === !1 ? n : n === pr(a) ? a : n + ":" + a;
|
|
7216
7216
|
}, e.prototype.readField = function(t, r) {
|
|
7217
7217
|
var n = t.from;
|
|
7218
7218
|
if (n) {
|
|
@@ -7224,7 +7224,7 @@ var pv = function() {
|
|
|
7224
7224
|
}
|
|
7225
7225
|
var o = this.getStoreFieldName(t), s = pr(o), c = r.store.getFieldValue(n, o), u = this.getFieldPolicy(t.typename, s), l = u && u.read;
|
|
7226
7226
|
if (l) {
|
|
7227
|
-
var f =
|
|
7227
|
+
var f = _c(this, n, t, r, r.store.getStorage(Pe(n) ? n.__ref : n, o));
|
|
7228
7228
|
return is.withValue(this.cache, l, [
|
|
7229
7229
|
c,
|
|
7230
7230
|
f
|
|
@@ -7241,7 +7241,7 @@ var pv = function() {
|
|
|
7241
7241
|
return !a && n && (i = this.getTypePolicy(n), a = i && i.merge), a;
|
|
7242
7242
|
}, e.prototype.runMergeFunction = function(t, r, n, i, a) {
|
|
7243
7243
|
var o = n.field, s = n.typename, c = n.merge;
|
|
7244
|
-
return c ===
|
|
7244
|
+
return c === bc ? $f(i.store)(t, r) : c === xc ? r : (i.overwrite && (t = void 0), c(t, r, _c(
|
|
7245
7245
|
this,
|
|
7246
7246
|
// Unlike options.readField for read functions, we do not fall
|
|
7247
7247
|
// back to the current object if no foreignObjOrRef is provided,
|
|
@@ -7267,7 +7267,7 @@ var pv = function() {
|
|
|
7267
7267
|
}, e;
|
|
7268
7268
|
})()
|
|
7269
7269
|
);
|
|
7270
|
-
function
|
|
7270
|
+
function _c(e, t, r, n, i) {
|
|
7271
7271
|
var a = e.getStoreFieldName(r), o = pr(a), s = r.variables || n.variables, c = n.store, u = c.toReference, l = c.canRead;
|
|
7272
7272
|
return {
|
|
7273
7273
|
args: _o(r),
|
|
@@ -7283,7 +7283,7 @@ function wc(e, t, r, n, i) {
|
|
|
7283
7283
|
readField: function() {
|
|
7284
7284
|
return e.readField(ss(arguments, t, s), n);
|
|
7285
7285
|
},
|
|
7286
|
-
mergeObjects:
|
|
7286
|
+
mergeObjects: $f(n.store)
|
|
7287
7287
|
};
|
|
7288
7288
|
}
|
|
7289
7289
|
function ss(e, t, r) {
|
|
@@ -7294,9 +7294,9 @@ function ss(e, t, r) {
|
|
|
7294
7294
|
// passed for the from parameter, not when undefined is explicitly
|
|
7295
7295
|
// passed as the second argument.
|
|
7296
7296
|
from: a > 1 ? i : t
|
|
7297
|
-
} : (o = z({}, n), it.call(o, "from") || (o.from = t)), globalThis.__DEV__ !== !1 && o.from === void 0 && globalThis.__DEV__ !== !1 && ce.warn(8,
|
|
7297
|
+
} : (o = z({}, n), it.call(o, "from") || (o.from = t)), globalThis.__DEV__ !== !1 && o.from === void 0 && globalThis.__DEV__ !== !1 && ce.warn(8, Al(Array.from(e))), o.variables === void 0 && (o.variables = r), o;
|
|
7298
7298
|
}
|
|
7299
|
-
function
|
|
7299
|
+
function $f(e) {
|
|
7300
7300
|
return function(r, n) {
|
|
7301
7301
|
if (Ye(r) || Ye(n))
|
|
7302
7302
|
throw pt(9);
|
|
@@ -7329,7 +7329,7 @@ var mv = (
|
|
|
7329
7329
|
s = z(z({}, Qo(u)), s);
|
|
7330
7330
|
var f = z(z({ store: t, written: /* @__PURE__ */ Object.create(null), merge: function(h, w) {
|
|
7331
7331
|
return l.merge(h, w);
|
|
7332
|
-
}, variables: s, varString: lr(s) },
|
|
7332
|
+
}, variables: s, varString: lr(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,
|
|
7335
7335
|
selectionSet: u.selectionSet,
|
|
@@ -7394,7 +7394,7 @@ var mv = (
|
|
|
7394
7394
|
fieldName: _.name.value,
|
|
7395
7395
|
field: _,
|
|
7396
7396
|
variables: b.variables
|
|
7397
|
-
}), A =
|
|
7397
|
+
}), A = wc(s, O), M = r.processFieldValue(
|
|
7398
7398
|
T,
|
|
7399
7399
|
_,
|
|
7400
7400
|
// Reset context.clientOnly and context.deferred to their default
|
|
@@ -7409,7 +7409,7 @@ var mv = (
|
|
|
7409
7409
|
field: _,
|
|
7410
7410
|
typename: l,
|
|
7411
7411
|
merge: V
|
|
7412
|
-
} :
|
|
7412
|
+
} : Ec(s, O), u = b.merge(u, (E = {}, E[O] = M, E));
|
|
7413
7413
|
} else globalThis.__DEV__ !== !1 && !b.clientOnly && !b.deferred && !Zo.added(_) && // If the field has a read function, it may be a synthetic field or
|
|
7414
7414
|
// provide a default value, so its absence from the written data should
|
|
7415
7415
|
// not be cause for alarm.
|
|
@@ -7447,9 +7447,9 @@ var mv = (
|
|
|
7447
7447
|
return u;
|
|
7448
7448
|
}, e.prototype.processFieldValue = function(t, r, n, i) {
|
|
7449
7449
|
var a = this;
|
|
7450
|
-
return !r.selectionSet || t === null ? globalThis.__DEV__ !== !1 ?
|
|
7451
|
-
var c = a.processFieldValue(o, r, n,
|
|
7452
|
-
return
|
|
7450
|
+
return !r.selectionSet || t === null ? globalThis.__DEV__ !== !1 ? xf(t) : t : Ye(t) ? t.map(function(o, s) {
|
|
7451
|
+
var c = a.processFieldValue(o, r, n, wc(i, s));
|
|
7452
|
+
return Ec(i, s), c;
|
|
7453
7453
|
}) : this.processSelectionSet({
|
|
7454
7454
|
result: t,
|
|
7455
7455
|
selectionSet: r.selectionSet,
|
|
@@ -7525,10 +7525,10 @@ var mv = (
|
|
|
7525
7525
|
return t.info ? this.cache.policies.runMergeFunction(r, n, t.info, i, a && (o = i.store).getStorage.apply(o, a)) : n;
|
|
7526
7526
|
}, e;
|
|
7527
7527
|
})()
|
|
7528
|
-
),
|
|
7529
|
-
function
|
|
7528
|
+
), Wf = [];
|
|
7529
|
+
function wc(e, t) {
|
|
7530
7530
|
var r = e.map;
|
|
7531
|
-
return r.has(t) || r.set(t,
|
|
7531
|
+
return r.has(t) || r.set(t, Wf.pop() || { map: /* @__PURE__ */ new Map() }), r.get(t);
|
|
7532
7532
|
}
|
|
7533
7533
|
function wo(e, t) {
|
|
7534
7534
|
if (e === t || !t || xi(t))
|
|
@@ -7549,11 +7549,11 @@ function wo(e, t) {
|
|
|
7549
7549
|
function xi(e) {
|
|
7550
7550
|
return !e || !(e.info || e.map.size);
|
|
7551
7551
|
}
|
|
7552
|
-
function
|
|
7552
|
+
function Ec(e, t) {
|
|
7553
7553
|
var r = e.map, n = r.get(t);
|
|
7554
|
-
n && xi(n) && (
|
|
7554
|
+
n && xi(n) && (Wf.push(n), r.delete(t));
|
|
7555
7555
|
}
|
|
7556
|
-
var
|
|
7556
|
+
var Sc = /* @__PURE__ */ new Set();
|
|
7557
7557
|
function gv(e, t, r, n) {
|
|
7558
7558
|
var i = function(f) {
|
|
7559
7559
|
var d = n.getFieldValue(f, r);
|
|
@@ -7565,8 +7565,8 @@ function gv(e, t, r, n) {
|
|
|
7565
7565
|
return n.getFieldValue(o, f) !== void 0;
|
|
7566
7566
|
})) {
|
|
7567
7567
|
var s = n.getFieldValue(e, "__typename") || n.getFieldValue(t, "__typename"), c = pr(r), u = "".concat(s, ".").concat(c);
|
|
7568
|
-
if (!
|
|
7569
|
-
|
|
7568
|
+
if (!Sc.has(u)) {
|
|
7569
|
+
Sc.add(u);
|
|
7570
7570
|
var l = [];
|
|
7571
7571
|
!Ye(a) && !Ye(o) && [a, o].forEach(function(f) {
|
|
7572
7572
|
var d = n.getFieldValue(f, "__typename");
|
|
@@ -7576,14 +7576,14 @@ function gv(e, t, r, n) {
|
|
|
7576
7576
|
}
|
|
7577
7577
|
}
|
|
7578
7578
|
}
|
|
7579
|
-
var
|
|
7579
|
+
var Hf = (
|
|
7580
7580
|
/** @class */
|
|
7581
7581
|
(function(e) {
|
|
7582
7582
|
Ut(t, e);
|
|
7583
7583
|
function t(r) {
|
|
7584
7584
|
r === void 0 && (r = {});
|
|
7585
7585
|
var n = e.call(this) || this;
|
|
7586
|
-
return n.watches = /* @__PURE__ */ new Set(), n.addTypenameTransform = new
|
|
7586
|
+
return n.watches = /* @__PURE__ */ new Set(), n.addTypenameTransform = new df(Zo), n.assumeImmutableResults = !0, n.makeVar = hv, n.txCount = 0, globalThis.__DEV__ !== !1 && (We(r, "addTypename", "InMemoryCache", "Please remove the `addTypename` option when initializing `InMemoryCache`."), We(r, "canonizeResults", "InMemoryCache", "Please remove the `canonizeResults` option when initializing `InMemoryCache`.")), n.config = rv(r), n.addTypename = !!n.config.addTypename, n.policies = new vv({
|
|
7587
7587
|
cache: n,
|
|
7588
7588
|
dataIdFromObject: n.config.dataIdFromObject,
|
|
7589
7589
|
possibleTypes: n.config.possibleTypes,
|
|
@@ -7602,7 +7602,7 @@ var Qf = (
|
|
|
7602
7602
|
cache: this,
|
|
7603
7603
|
addTypename: this.addTypename,
|
|
7604
7604
|
resultCacheMaxSize: this.config.resultCacheMaxSize,
|
|
7605
|
-
canonizeResults:
|
|
7605
|
+
canonizeResults: Pf(this.config),
|
|
7606
7606
|
canon: r ? void 0 : i && i.canon,
|
|
7607
7607
|
fragments: a
|
|
7608
7608
|
}), a), this.maybeBroadcastWatch = Fn(function(o, s) {
|
|
@@ -7639,7 +7639,7 @@ var Qf = (
|
|
|
7639
7639
|
try {
|
|
7640
7640
|
return this.storeReader.diffQueryAgainstStore(z(z({}, r), { store: r.optimistic ? this.optimisticData : this.data, config: this.config, returnPartialData: i })).result || null;
|
|
7641
7641
|
} catch (a) {
|
|
7642
|
-
if (a instanceof
|
|
7642
|
+
if (a instanceof Af)
|
|
7643
7643
|
return null;
|
|
7644
7644
|
throw a;
|
|
7645
7645
|
}
|
|
@@ -7663,7 +7663,7 @@ var Qf = (
|
|
|
7663
7663
|
}, t.prototype.watch = function(r) {
|
|
7664
7664
|
var n = this;
|
|
7665
7665
|
return this.watches.size || fv(this), this.watches.add(r), r.immediate && this.maybeBroadcastWatch(r), function() {
|
|
7666
|
-
n.watches.delete(r) && !n.watches.size &&
|
|
7666
|
+
n.watches.delete(r) && !n.watches.size && pc(n), n.maybeBroadcastWatch.forget(r);
|
|
7667
7667
|
};
|
|
7668
7668
|
}, t.prototype.gc = function(r) {
|
|
7669
7669
|
globalThis.__DEV__ !== !1 && We(r || {}, "resetResultIdentities", "cache.gc", "First ensure all usages of `canonizeResults` are removed, then remove this option."), lr.reset(), _r.reset();
|
|
@@ -7696,7 +7696,7 @@ var Qf = (
|
|
|
7696
7696
|
var n = this;
|
|
7697
7697
|
return this.init(), lr.reset(), r && r.discardWatches ? (this.watches.forEach(function(i) {
|
|
7698
7698
|
return n.maybeBroadcastWatch.forget(i);
|
|
7699
|
-
}), this.watches.clear(),
|
|
7699
|
+
}), this.watches.clear(), pc(this)) : this.broadcastWatches(), Promise.resolve();
|
|
7700
7700
|
}, t.prototype.removeOptimistic = function(r) {
|
|
7701
7701
|
var n = this.optimisticData.removeLayer(r);
|
|
7702
7702
|
n !== this.optimisticData && (this.optimisticData = n, this.broadcastWatches());
|
|
@@ -7746,9 +7746,9 @@ var Qf = (
|
|
|
7746
7746
|
});
|
|
7747
7747
|
n && (r.optimistic && typeof n.optimistic == "string" && (o.fromOptimisticTransaction = !0), n.onWatchUpdated && n.onWatchUpdated.call(this, r, o, a) === !1) || (!a || !Be(a.result, o.result)) && r.callback(r.lastDiff = o, a);
|
|
7748
7748
|
}, t;
|
|
7749
|
-
})(
|
|
7749
|
+
})(Mf)
|
|
7750
7750
|
);
|
|
7751
|
-
globalThis.__DEV__ !== !1 && (
|
|
7751
|
+
globalThis.__DEV__ !== !1 && (Hf.prototype.getMemoryInternals = p0);
|
|
7752
7752
|
var Ie;
|
|
7753
7753
|
(function(e) {
|
|
7754
7754
|
e[e.loading = 1] = "loading", e[e.setVariables = 2] = "setVariables", e[e.fetchMore = 3] = "fetchMore", e[e.refetch = 4] = "refetch", e[e.poll = 6] = "poll", e[e.ready = 7] = "ready", e[e.error = 8] = "error";
|
|
@@ -7756,7 +7756,7 @@ var Ie;
|
|
|
7756
7756
|
function Wr(e) {
|
|
7757
7757
|
return e ? e < 7 : !1;
|
|
7758
7758
|
}
|
|
7759
|
-
var
|
|
7759
|
+
var kc = Object.assign, yv = Object.hasOwnProperty, Mn = (
|
|
7760
7760
|
/** @class */
|
|
7761
7761
|
(function(e) {
|
|
7762
7762
|
Ut(t, e);
|
|
@@ -7847,7 +7847,7 @@ var Tc = Object.assign, yv = Object.hasOwnProperty, Mn = (
|
|
|
7847
7847
|
this.queryInfo.updateWatch();
|
|
7848
7848
|
else {
|
|
7849
7849
|
var u = this.queryInfo.getDiff();
|
|
7850
|
-
(u.complete || this.options.returnPartialData) && (o.data = u.result), Be(o.data, {}) && (o.data = void 0), u.complete ? (delete o.partial, u.complete && o.networkStatus === Ie.loading && (c === "cache-first" || c === "cache-only") && (o.networkStatus = Ie.ready, o.loading = !1)) : o.partial = !0, o.networkStatus === Ie.ready && (o.error || o.errors) && (o.networkStatus = Ie.error), globalThis.__DEV__ !== !1 && !u.complete && !this.options.partialRefetch && !o.loading && !o.data && !o.error &&
|
|
7850
|
+
(u.complete || this.options.returnPartialData) && (o.data = u.result), Be(o.data, {}) && (o.data = void 0), u.complete ? (delete o.partial, u.complete && o.networkStatus === Ie.loading && (c === "cache-first" || c === "cache-only") && (o.networkStatus = Ie.ready, o.loading = !1)) : o.partial = !0, o.networkStatus === Ie.ready && (o.error || o.errors) && (o.networkStatus = Ie.error), globalThis.__DEV__ !== !1 && !u.complete && !this.options.partialRefetch && !o.loading && !o.data && !o.error && Qf(u.missing);
|
|
7851
7851
|
}
|
|
7852
7852
|
return r && this.updateLastResult(o), o;
|
|
7853
7853
|
}, t.prototype.getCurrentResult = function(r) {
|
|
@@ -7855,7 +7855,7 @@ var Tc = Object.assign, yv = Object.hasOwnProperty, Mn = (
|
|
|
7855
7855
|
}, t.prototype.isDifferentFromLastResult = function(r, n) {
|
|
7856
7856
|
if (!this.last)
|
|
7857
7857
|
return !0;
|
|
7858
|
-
var i = this.queryManager.getDocumentInfo(this.query), a = this.queryManager.dataMasking, o = a ? i.nonReactiveQuery : this.query, s = a || i.hasNonreactiveDirective ? !
|
|
7858
|
+
var i = this.queryManager.getDocumentInfo(this.query), a = this.queryManager.dataMasking, o = a ? i.nonReactiveQuery : this.query, s = a || i.hasNonreactiveDirective ? !Df(o, this.last.result, r, this.variables) : !Be(this.last.result, r);
|
|
7859
7859
|
return s || n && !Be(this.last.variables, n);
|
|
7860
7860
|
}, t.prototype.getLast = function(r, n) {
|
|
7861
7861
|
var i = this.last;
|
|
@@ -7881,7 +7881,7 @@ var Tc = Object.assign, yv = Object.hasOwnProperty, Mn = (
|
|
|
7881
7881
|
pollInterval: 0
|
|
7882
7882
|
}, a = this.options.fetchPolicy;
|
|
7883
7883
|
if (a === "no-cache" ? i.fetchPolicy = "no-cache" : i.fetchPolicy = "network-only", globalThis.__DEV__ !== !1 && r && yv.call(r, "variables")) {
|
|
7884
|
-
var o =
|
|
7884
|
+
var o = Kl(this.query), s = o.variableDefinitions;
|
|
7885
7885
|
(!s || !s.some(function(c) {
|
|
7886
7886
|
return c.variable.name.value === "variables";
|
|
7887
7887
|
})) && globalThis.__DEV__ !== !1 && ce.warn(
|
|
@@ -7971,7 +7971,7 @@ var Tc = Object.assign, yv = Object.hasOwnProperty, Mn = (
|
|
|
7971
7971
|
})), this.reobserve(r);
|
|
7972
7972
|
}, t.prototype.silentSetOptions = function(r) {
|
|
7973
7973
|
var n = kr(this.options, r || {});
|
|
7974
|
-
|
|
7974
|
+
kc(this.options, n);
|
|
7975
7975
|
}, t.prototype.setVariables = function(r) {
|
|
7976
7976
|
var n = this;
|
|
7977
7977
|
return Be(this.variables, r) ? this.observers.size ? at("observableQuery.result", function() {
|
|
@@ -8049,7 +8049,7 @@ var Tc = Object.assign, yv = Object.hasOwnProperty, Mn = (
|
|
|
8049
8049
|
var a = at("getLastError", function() {
|
|
8050
8050
|
return i.getLastError();
|
|
8051
8051
|
});
|
|
8052
|
-
return a && this.last && !Be(n, this.last.variables) && (a = void 0), this.last = z({ result: this.queryManager.assumeImmutableResults ? r :
|
|
8052
|
+
return a && this.last && !Be(n, this.last.variables) && (a = void 0), this.last = z({ result: this.queryManager.assumeImmutableResults ? r : xf(r), variables: n }, a ? { error: a } : null);
|
|
8053
8053
|
}, t.prototype.reobserveAsConcast = function(r, n) {
|
|
8054
8054
|
var i = this;
|
|
8055
8055
|
this.isTornDown = !1;
|
|
@@ -8066,7 +8066,7 @@ var Tc = Object.assign, yv = Object.hasOwnProperty, Mn = (
|
|
|
8066
8066
|
// Disposable Concast fetches receive a shallow copy of this.options
|
|
8067
8067
|
// (merged with newOptions), leaving this.options unmodified.
|
|
8068
8068
|
c
|
|
8069
|
-
) :
|
|
8069
|
+
) : kc(this.options, c), l = this.transformDocument(u.query);
|
|
8070
8070
|
this.lastQuery = l, a || (this.updatePolling(), r && r.variables && !Be(r.variables, o) && // Don't mess with the fetchPolicy if it's currently "standby".
|
|
8071
8071
|
u.fetchPolicy !== "standby" && // If we're changing the fetchPolicy anyway, don't try to change it here
|
|
8072
8072
|
// using applyNextFetchPolicy. The explicit options.fetchPolicy wins.
|
|
@@ -8080,7 +8080,7 @@ var Tc = Object.assign, yv = Object.hasOwnProperty, Mn = (
|
|
|
8080
8080
|
Be(i.variables, d) && (f(), i.reportResult(m, d));
|
|
8081
8081
|
},
|
|
8082
8082
|
error: function(m) {
|
|
8083
|
-
Be(i.variables, d) && (
|
|
8083
|
+
Be(i.variables, d) && (Sf(m) || (m = new Qt({ networkError: m })), f(), i.reportError(m, d));
|
|
8084
8084
|
}
|
|
8085
8085
|
};
|
|
8086
8086
|
return !a && (D || !this.concast) && (this.concast && this.observer && this.concast.removeObserver(this.observer), this.concast = w, this.observer = x), w.addObserver(x), w;
|
|
@@ -8157,11 +8157,11 @@ var Tc = Object.assign, yv = Object.hasOwnProperty, Mn = (
|
|
|
8157
8157
|
}, t.inactiveOnCreation = new sn(), t;
|
|
8158
8158
|
})(ze)
|
|
8159
8159
|
);
|
|
8160
|
-
|
|
8160
|
+
_f(Mn);
|
|
8161
8161
|
function bv(e) {
|
|
8162
8162
|
globalThis.__DEV__ !== !1 && ce.error(33, e.message, e.stack);
|
|
8163
8163
|
}
|
|
8164
|
-
function
|
|
8164
|
+
function Qf(e) {
|
|
8165
8165
|
globalThis.__DEV__ !== !1 && e && globalThis.__DEV__ !== !1 && ce.debug(34, e);
|
|
8166
8166
|
}
|
|
8167
8167
|
function Ki(e) {
|
|
@@ -8265,7 +8265,7 @@ var ta = (
|
|
|
8265
8265
|
}, e.prototype.markResult = function(t, r, n, i) {
|
|
8266
8266
|
var a = this, o, s = new dr(), c = Et(t.errors) ? t.errors.slice(0) : [];
|
|
8267
8267
|
if ((o = this.observableQuery) === null || o === void 0 || o.resetNotifications(), "incremental" in t && Et(t.incremental)) {
|
|
8268
|
-
var u =
|
|
8268
|
+
var u = wf(this.getDiff().result, t);
|
|
8269
8269
|
t.data = u;
|
|
8270
8270
|
} else if ("hasNext" in t && t.hasNext) {
|
|
8271
8271
|
var l = this.getDiff();
|
|
@@ -8305,7 +8305,7 @@ function Eo(e, t) {
|
|
|
8305
8305
|
var r = t === "ignore" || t === "all", n = !hi(e);
|
|
8306
8306
|
return !n && r && e.data && (n = !0), n;
|
|
8307
8307
|
}
|
|
8308
|
-
var xv = Object.prototype.hasOwnProperty,
|
|
8308
|
+
var xv = Object.prototype.hasOwnProperty, Tc = /* @__PURE__ */ Object.create(null), _v = (
|
|
8309
8309
|
/** @class */
|
|
8310
8310
|
(function() {
|
|
8311
8311
|
function e(t) {
|
|
@@ -8314,7 +8314,7 @@ var xv = Object.prototype.hasOwnProperty, Dc = /* @__PURE__ */ Object.create(nul
|
|
|
8314
8314
|
Bt["queryManager.getDocumentInfo"] || 2e3
|
|
8315
8315
|
/* defaultCacheSizes["queryManager.getDocumentInfo"] */
|
|
8316
8316
|
), this.queryIdCounter = 1, this.requestIdCounter = 1, this.mutationIdCounter = 1, this.inFlightLinkObservables = new Jt(!1), this.noCacheWarningsByQueryId = /* @__PURE__ */ new Set();
|
|
8317
|
-
var n = new
|
|
8317
|
+
var n = new df(
|
|
8318
8318
|
function(a) {
|
|
8319
8319
|
return r.cache.transformDocument(a);
|
|
8320
8320
|
},
|
|
@@ -8423,7 +8423,7 @@ var xv = Object.prototype.hasOwnProperty, Dc = /* @__PURE__ */ Object.create(nul
|
|
|
8423
8423
|
optimistic: !1,
|
|
8424
8424
|
returnPartialData: !0
|
|
8425
8425
|
}), c = void 0;
|
|
8426
|
-
s.result && (c =
|
|
8426
|
+
s.result && (c = wf(s.result, i)), typeof c < "u" && (i.data = c, a.push({
|
|
8427
8427
|
result: c,
|
|
8428
8428
|
dataId: "ROOT_MUTATION",
|
|
8429
8429
|
query: t.document,
|
|
@@ -8511,8 +8511,8 @@ var xv = Object.prototype.hasOwnProperty, Dc = /* @__PURE__ */ Object.create(nul
|
|
|
8511
8511
|
}
|
|
8512
8512
|
return Promise.resolve(i);
|
|
8513
8513
|
}, e.prototype.markMutationOptimistic = function(t, r) {
|
|
8514
|
-
var n = this, i = typeof t == "function" ? t(r.variables, { IGNORE:
|
|
8515
|
-
return i ===
|
|
8514
|
+
var n = this, i = typeof t == "function" ? t(r.variables, { IGNORE: Tc }) : t;
|
|
8515
|
+
return i === Tc ? !1 : (this.cache.recordOptimisticTransaction(function(a) {
|
|
8516
8516
|
try {
|
|
8517
8517
|
n.markMutationResult(z(z({}, r), { result: { data: i } }), a);
|
|
8518
8518
|
} catch (o) {
|
|
@@ -8550,7 +8550,7 @@ var xv = Object.prototype.hasOwnProperty, Dc = /* @__PURE__ */ Object.create(nul
|
|
|
8550
8550
|
hasNonreactiveDirective: jn(["nonreactive"], t),
|
|
8551
8551
|
nonReactiveQuery: X0(t),
|
|
8552
8552
|
clientQuery: this.localState.clientQuery(t),
|
|
8553
|
-
serverQuery:
|
|
8553
|
+
serverQuery: vf([
|
|
8554
8554
|
{ name: "client", remove: !0 },
|
|
8555
8555
|
{ name: "connection" },
|
|
8556
8556
|
{ name: "nonreactive" },
|
|
@@ -8761,7 +8761,7 @@ var xv = Object.prototype.hasOwnProperty, Dc = /* @__PURE__ */ Object.create(nul
|
|
|
8761
8761
|
};
|
|
8762
8762
|
return c && u === "none" && (l.data = void 0), c && u !== "ignore" && (l.errors = s, l.networkStatus = Ie.error), l;
|
|
8763
8763
|
}, function(o) {
|
|
8764
|
-
var s =
|
|
8764
|
+
var s = Sf(o) ? o : new Qt({ networkError: o });
|
|
8765
8765
|
throw i >= t.lastRequestId && t.markError(s), s;
|
|
8766
8766
|
});
|
|
8767
8767
|
}, e.prototype.fetchConcastWithInfo = function(t, r, n, i) {
|
|
@@ -8884,7 +8884,7 @@ var xv = Object.prototype.hasOwnProperty, Dc = /* @__PURE__ */ Object.create(nul
|
|
|
8884
8884
|
return this.dataMasking ? tv(o, a, this.cache) : o;
|
|
8885
8885
|
}, e.prototype.maskFragment = function(t) {
|
|
8886
8886
|
var r = t.data, n = t.fragment, i = t.fragmentName;
|
|
8887
|
-
return this.dataMasking ?
|
|
8887
|
+
return this.dataMasking ? Lf(r, n, this.cache, i) : r;
|
|
8888
8888
|
}, e.prototype.fetchQueryByPolicy = function(t, r, n) {
|
|
8889
8889
|
var i = this, a = r.query, o = r.variables, s = r.fetchPolicy, c = r.refetchWritePolicy, u = r.errorPolicy, l = r.returnPartialData, f = r.context, d = r.notifyOnNetworkStatusChange, h = t.networkStatus;
|
|
8890
8890
|
t.init({
|
|
@@ -8897,7 +8897,7 @@ var xv = Object.prototype.hasOwnProperty, Dc = /* @__PURE__ */ Object.create(nul
|
|
|
8897
8897
|
}, D = function(_, E) {
|
|
8898
8898
|
E === void 0 && (E = t.networkStatus || Ie.loading);
|
|
8899
8899
|
var C = _.result;
|
|
8900
|
-
globalThis.__DEV__ !== !1 && !l && !Be(C, {}) &&
|
|
8900
|
+
globalThis.__DEV__ !== !1 && !l && !Be(C, {}) && Qf(_.missing);
|
|
8901
8901
|
var T = function(O) {
|
|
8902
8902
|
return ze.of(z({ data: O, loading: Wr(E), networkStatus: E }, _.complete ? null : { partial: !0 }));
|
|
8903
8903
|
};
|
|
@@ -8977,8 +8977,8 @@ var xv = Object.prototype.hasOwnProperty, Dc = /* @__PURE__ */ Object.create(nul
|
|
|
8977
8977
|
return e.prototype.addResolvers = function(t) {
|
|
8978
8978
|
var r = this;
|
|
8979
8979
|
this.resolvers = this.resolvers || {}, Array.isArray(t) ? t.forEach(function(n) {
|
|
8980
|
-
r.resolvers =
|
|
8981
|
-
}) : this.resolvers =
|
|
8980
|
+
r.resolvers = Qs(r.resolvers, n);
|
|
8981
|
+
}) : this.resolvers = Qs(this.resolvers, t);
|
|
8982
8982
|
}, e.prototype.setResolvers = function(t) {
|
|
8983
8983
|
this.resolvers = {}, this.addResolvers(t);
|
|
8984
8984
|
}, e.prototype.getResolvers = function() {
|
|
@@ -8999,7 +8999,7 @@ var xv = Object.prototype.hasOwnProperty, Dc = /* @__PURE__ */ Object.create(nul
|
|
|
8999
8999
|
}, e.prototype.clientQuery = function(t) {
|
|
9000
9000
|
return jn(["client"], t) && this.resolvers ? t : null;
|
|
9001
9001
|
}, e.prototype.serverQuery = function(t) {
|
|
9002
|
-
return
|
|
9002
|
+
return mf(t);
|
|
9003
9003
|
}, e.prototype.prepareContext = function(t) {
|
|
9004
9004
|
var r = this.cache;
|
|
9005
9005
|
return z(z({}, t), {
|
|
@@ -9140,7 +9140,7 @@ var xv = Object.prototype.hasOwnProperty, Dc = /* @__PURE__ */ Object.create(nul
|
|
|
9140
9140
|
i.set(o, s), At(o, {
|
|
9141
9141
|
Directive: function(c, u, l, f, d) {
|
|
9142
9142
|
c.name.value === "client" && d.forEach(function(h) {
|
|
9143
|
-
n(h) &&
|
|
9143
|
+
n(h) && Fs(h) && s.add(h);
|
|
9144
9144
|
});
|
|
9145
9145
|
},
|
|
9146
9146
|
FragmentSpread: function(c, u, l, f, d) {
|
|
@@ -9148,7 +9148,7 @@ var xv = Object.prototype.hasOwnProperty, Dc = /* @__PURE__ */ Object.create(nul
|
|
|
9148
9148
|
ce(h, 22, c.name.value);
|
|
9149
9149
|
var w = a(h);
|
|
9150
9150
|
w.size > 0 && (d.forEach(function(D) {
|
|
9151
|
-
n(D) &&
|
|
9151
|
+
n(D) && Fs(D) && s.add(D);
|
|
9152
9152
|
}), s.add(c), w.forEach(function(D) {
|
|
9153
9153
|
s.add(D);
|
|
9154
9154
|
}));
|
|
@@ -9160,7 +9160,7 @@ var xv = Object.prototype.hasOwnProperty, Dc = /* @__PURE__ */ Object.create(nul
|
|
|
9160
9160
|
return a(t);
|
|
9161
9161
|
}, e;
|
|
9162
9162
|
})()
|
|
9163
|
-
),
|
|
9163
|
+
), Dc = !1, Gf = (
|
|
9164
9164
|
/** @class */
|
|
9165
9165
|
(function() {
|
|
9166
9166
|
function e(t) {
|
|
@@ -9170,7 +9170,7 @@ var xv = Object.prototype.hasOwnProperty, Dc = /* @__PURE__ */ Object.create(nul
|
|
|
9170
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, w = h === void 0 ? 0 : h, D = t.connectToDevTools, x = t.queryDeduplication, m = x === void 0 ? !0 : x, g = t.defaultOptions, b = t.defaultContext, _ = t.assumeImmutableResults, E = _ === void 0 ? u.assumeImmutableResults : _, C = t.resolvers, T = t.typeDefs, O = t.fragmentMatcher, A = t.clientAwareness, M = t.name, j = t.version, V = t.devtools, W = 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 && ce.warn(17));
|
|
9172
9172
|
var X = t.link;
|
|
9173
|
-
X || (X = o ? new
|
|
9173
|
+
X || (X = o ? new Tf({ uri: o, credentials: s, headers: c }) : $n.empty()), this.link = X, this.cache = u, this.disableNetworkFetches = d || w > 0, this.queryDeduplication = m, this.defaultOptions = g || /* @__PURE__ */ Object.create(null), this.typeDefs = T, this.devtoolsConfig = z(z({}, V), { enabled: (n = V == null ? void 0 : V.enabled) !== null && n !== void 0 ? n : D }), this.devtoolsConfig.enabled === void 0 && (this.devtoolsConfig.enabled = globalThis.__DEV__ !== !1), w && setTimeout(function() {
|
|
9174
9174
|
return r.disableNetworkFetches = !1;
|
|
9175
9175
|
}, w), 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 wv({
|
|
9176
9176
|
cache: u,
|
|
@@ -9223,7 +9223,7 @@ var xv = Object.prototype.hasOwnProperty, Dc = /* @__PURE__ */ Object.create(nul
|
|
|
9223
9223
|
}), e.prototype.connectToDevTools = function() {
|
|
9224
9224
|
if (!(typeof window > "u")) {
|
|
9225
9225
|
var t = window, r = Symbol.for("apollo.devtools");
|
|
9226
|
-
(t[r] = t[r] || []).push(this), t.__APOLLO_CLIENT__ = this, !
|
|
9226
|
+
(t[r] = t[r] || []).push(this), t.__APOLLO_CLIENT__ = this, !Dc && globalThis.__DEV__ !== !1 && (Dc = !0, window.document && window.top === window.self && /^(https?|file):$/.test(window.location.protocol) && setTimeout(function() {
|
|
9227
9227
|
if (!window.__APOLLO_DEVTOOLS_GLOBAL_HOOK__) {
|
|
9228
9228
|
var n = window.navigator, i = n && n.userAgent, a = void 0;
|
|
9229
9229
|
typeof i == "string" && (i.indexOf("Chrome/") > -1 ? a = "https://chrome.google.com/webstore/detail/apollo-client-developer-t/jdkknkkbebbapilgoeccciglkfbmbnfm" : i.indexOf("Firefox/") > -1 && (a = "https://addons.mozilla.org/en-US/firefox/addon/apollo-developer-tools/")), a && globalThis.__DEV__ !== !1 && ce.log("Download the Apollo DevTools for a better development experience: %s", a);
|
|
@@ -9350,20 +9350,20 @@ var xv = Object.prototype.hasOwnProperty, Dc = /* @__PURE__ */ Object.create(nul
|
|
|
9350
9350
|
}), e;
|
|
9351
9351
|
})()
|
|
9352
9352
|
);
|
|
9353
|
-
globalThis.__DEV__ !== !1 && (
|
|
9354
|
-
var vi = /* @__PURE__ */ new Map(), So = /* @__PURE__ */ new Map(),
|
|
9355
|
-
function
|
|
9353
|
+
globalThis.__DEV__ !== !1 && (Gf.prototype.getMemoryInternals = d0);
|
|
9354
|
+
var vi = /* @__PURE__ */ new Map(), So = /* @__PURE__ */ new Map(), Yf = !0, _i = !1;
|
|
9355
|
+
function Xf(e) {
|
|
9356
9356
|
return e.replace(/[\s,]+/g, " ").trim();
|
|
9357
9357
|
}
|
|
9358
9358
|
function Ev(e) {
|
|
9359
|
-
return
|
|
9359
|
+
return Xf(e.source.body.substring(e.start, e.end));
|
|
9360
9360
|
}
|
|
9361
9361
|
function Sv(e) {
|
|
9362
9362
|
var t = /* @__PURE__ */ new Set(), r = [];
|
|
9363
9363
|
return e.definitions.forEach(function(n) {
|
|
9364
9364
|
if (n.kind === "FragmentDefinition") {
|
|
9365
9365
|
var i = n.name.value, a = Ev(n.loc), o = So.get(i);
|
|
9366
|
-
o && !o.has(a) ?
|
|
9366
|
+
o && !o.has(a) ? Yf && console.warn("Warning: fragment with name " + i + ` already exists.
|
|
9367
9367
|
graphql-tag enforces all fragment names across your application to be unique; read more about
|
|
9368
9368
|
this in the docs: http://dev.apollodata.com/core/fragments.html#unique-names`) : o || So.set(i, o = /* @__PURE__ */ new Set()), o.add(a), t.has(a) || (t.add(a), r.push(n));
|
|
9369
9369
|
} else
|
|
@@ -9382,7 +9382,7 @@ function kv(e) {
|
|
|
9382
9382
|
return r && (delete r.startToken, delete r.endToken), e;
|
|
9383
9383
|
}
|
|
9384
9384
|
function Tv(e) {
|
|
9385
|
-
var t =
|
|
9385
|
+
var t = Xf(e);
|
|
9386
9386
|
if (!vi.has(t)) {
|
|
9387
9387
|
var r = Pd(e, {
|
|
9388
9388
|
experimentalFragmentVariables: _i,
|
|
@@ -9407,7 +9407,7 @@ function Dv() {
|
|
|
9407
9407
|
vi.clear(), So.clear();
|
|
9408
9408
|
}
|
|
9409
9409
|
function Cv() {
|
|
9410
|
-
|
|
9410
|
+
Yf = !1;
|
|
9411
9411
|
}
|
|
9412
9412
|
function Ov() {
|
|
9413
9413
|
_i = !0;
|
|
@@ -9426,22 +9426,22 @@ var vn = {
|
|
|
9426
9426
|
e.gql = vn.gql, e.resetCaches = vn.resetCaches, e.disableFragmentWarnings = vn.disableFragmentWarnings, e.enableExperimentalFragmentVariables = vn.enableExperimentalFragmentVariables, e.disableExperimentalFragmentVariables = vn.disableExperimentalFragmentVariables;
|
|
9427
9427
|
})(qt || (qt = {}));
|
|
9428
9428
|
qt.default = qt;
|
|
9429
|
-
var ra = { exports: {} },
|
|
9429
|
+
var ra = { exports: {} }, Cc;
|
|
9430
9430
|
function Rv() {
|
|
9431
|
-
return
|
|
9431
|
+
return Cc || (Cc = 1, (function(e) {
|
|
9432
9432
|
e.exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = void 0, e.exports.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = void 0, e.exports.__SERVER_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = void 0, Object.assign(e.exports, Ve);
|
|
9433
9433
|
})(ra)), ra.exports;
|
|
9434
9434
|
}
|
|
9435
9435
|
var Ce = Rv();
|
|
9436
|
-
const Lv = /* @__PURE__ */ Po(Ce),
|
|
9436
|
+
const Lv = /* @__PURE__ */ Po(Ce), Zf = /* @__PURE__ */ Qh({
|
|
9437
9437
|
__proto__: null,
|
|
9438
9438
|
default: Lv
|
|
9439
9439
|
}, [Ce]);
|
|
9440
|
-
var
|
|
9440
|
+
var Oc = $o ? Symbol.for("__APOLLO_CONTEXT__") : "__APOLLO_CONTEXT__";
|
|
9441
9441
|
function cs() {
|
|
9442
|
-
ce("createContext" in
|
|
9443
|
-
var e = Ce.createContext[
|
|
9444
|
-
return e || (Object.defineProperty(Ce.createContext,
|
|
9442
|
+
ce("createContext" in Zf, 69);
|
|
9443
|
+
var e = Ce.createContext[Oc];
|
|
9444
|
+
return e || (Object.defineProperty(Ce.createContext, Oc, {
|
|
9445
9445
|
value: e = Ce.createContext({}),
|
|
9446
9446
|
enumerable: !1,
|
|
9447
9447
|
writable: !1,
|
|
@@ -9454,16 +9454,16 @@ var Mv = function(e) {
|
|
|
9454
9454
|
}, [i, t]);
|
|
9455
9455
|
return ce(a.client, 71), Ce.createElement(n.Provider, { value: a }, r);
|
|
9456
9456
|
};
|
|
9457
|
-
function
|
|
9457
|
+
function Jf(e) {
|
|
9458
9458
|
var t = Ce.useContext(cs()), r = e || t.client;
|
|
9459
9459
|
return ce(!!r, 79), r;
|
|
9460
9460
|
}
|
|
9461
|
-
var
|
|
9461
|
+
var Ic = !1, Av = "useSyncExternalStore", Nv = Zf[Av], jv = Nv || (function(e, t, r) {
|
|
9462
9462
|
var n = t();
|
|
9463
9463
|
// DEVIATION: Using __DEV__
|
|
9464
|
-
globalThis.__DEV__ !== !1 && !
|
|
9464
|
+
globalThis.__DEV__ !== !1 && !Ic && // DEVIATION: Not using Object.is because we know our snapshots will never
|
|
9465
9465
|
// be exotic primitive values like NaN, which is !== itself.
|
|
9466
|
-
n !== t() && (
|
|
9466
|
+
n !== t() && (Ic = !0, globalThis.__DEV__ !== !1 && ce.error(92));
|
|
9467
9467
|
var i = Ce.useState({
|
|
9468
9468
|
inst: { value: n, getSnapshot: t }
|
|
9469
9469
|
}), a = i[0].inst, o = i[1];
|
|
@@ -9488,7 +9488,7 @@ var Gt;
|
|
|
9488
9488
|
e[e.Query = 0] = "Query", e[e.Mutation = 1] = "Mutation", e[e.Subscription = 2] = "Subscription";
|
|
9489
9489
|
})(Gt || (Gt = {}));
|
|
9490
9490
|
var wr;
|
|
9491
|
-
function
|
|
9491
|
+
function Rc(e) {
|
|
9492
9492
|
var t;
|
|
9493
9493
|
switch (e) {
|
|
9494
9494
|
case Gt.Query:
|
|
@@ -9503,7 +9503,7 @@ function Lc(e) {
|
|
|
9503
9503
|
}
|
|
9504
9504
|
return t;
|
|
9505
9505
|
}
|
|
9506
|
-
function
|
|
9506
|
+
function Kf(e) {
|
|
9507
9507
|
cr("parser", function() {
|
|
9508
9508
|
globalThis.__DEV__ !== !1 && ce.warn(94);
|
|
9509
9509
|
}), wr || (wr = new Wo(
|
|
@@ -9549,14 +9549,14 @@ function eh(e) {
|
|
|
9549
9549
|
var w = { name: i, type: n, variables: r };
|
|
9550
9550
|
return wr.set(e, w), w;
|
|
9551
9551
|
}
|
|
9552
|
-
|
|
9552
|
+
Kf.resetCache = function() {
|
|
9553
9553
|
wr = void 0;
|
|
9554
9554
|
};
|
|
9555
9555
|
globalThis.__DEV__ !== !1 && Ho("parser", function() {
|
|
9556
9556
|
return wr ? wr.size : 0;
|
|
9557
9557
|
});
|
|
9558
9558
|
function Pv(e, t) {
|
|
9559
|
-
var r = at("parser",
|
|
9559
|
+
var r = at("parser", Kf, [e]), n = Rc(t), i = Rc(r.type);
|
|
9560
9560
|
ce(
|
|
9561
9561
|
r.type === t,
|
|
9562
9562
|
99,
|
|
@@ -9565,7 +9565,7 @@ function Pv(e, t) {
|
|
|
9565
9565
|
i
|
|
9566
9566
|
);
|
|
9567
9567
|
}
|
|
9568
|
-
var Fv =
|
|
9568
|
+
var Fv = Ql ? Ce.useLayoutEffect : Ce.useEffect, ia;
|
|
9569
9569
|
function Bv() {
|
|
9570
9570
|
}
|
|
9571
9571
|
function qv() {
|
|
@@ -9598,15 +9598,15 @@ function zv(e, t, r) {
|
|
|
9598
9598
|
return a ? a(t) : t;
|
|
9599
9599
|
}
|
|
9600
9600
|
var Vv = Object.prototype.hasOwnProperty;
|
|
9601
|
-
function
|
|
9601
|
+
function Lc() {
|
|
9602
9602
|
}
|
|
9603
9603
|
var mi = Symbol();
|
|
9604
9604
|
function $v(e, t) {
|
|
9605
|
-
return t === void 0 && (t = /* @__PURE__ */ Object.create(null)), zv("useQuery", Wv,
|
|
9605
|
+
return t === void 0 && (t = /* @__PURE__ */ Object.create(null)), zv("useQuery", Wv, Jf(t && t.client))(e, t);
|
|
9606
9606
|
}
|
|
9607
9607
|
function Wv(e, t) {
|
|
9608
9608
|
globalThis.__DEV__ !== !1 && (yt(t, "canonizeResults", "useQuery"), yt(t, "partialRefetch", "useQuery"), yt(t, "defaultOptions", "useQuery", "Pass the options directly to the hook instead."), yt(t, "onCompleted", "useQuery", "If your `onCompleted` callback sets local state, switch to use derived state using `data` returned from the hook instead. Use `useEffect` to perform side-effects as a result of updates to `data`."), yt(t, "onError", "useQuery", "If your `onError` callback sets local state, switch to use derived state using `data`, `error` or `errors` returned from the hook instead. Use `useEffect` if you need to perform side-effects as a result of updates to `data`, `error` or `errors`."));
|
|
9609
|
-
var r =
|
|
9609
|
+
var r = eh(e, t), n = r.result, i = r.obsQueryFields;
|
|
9610
9610
|
return Ce.useMemo(function() {
|
|
9611
9611
|
return z(z({}, n), i);
|
|
9612
9612
|
}, [n, i]);
|
|
@@ -9658,8 +9658,8 @@ function Hv(e, t, r, n, i) {
|
|
|
9658
9658
|
}
|
|
9659
9659
|
return [s, u];
|
|
9660
9660
|
}
|
|
9661
|
-
function
|
|
9662
|
-
var r =
|
|
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 = Hv(r, e, t, n, c), l = u[0], f = l.observable, d = l.resultData, h = u[1], w = c(f);
|
|
9663
9663
|
Yv(
|
|
9664
9664
|
d,
|
|
9665
9665
|
// might get mutated during render
|
|
@@ -9674,8 +9674,8 @@ function th(e, t) {
|
|
|
9674
9674
|
}, [f]);
|
|
9675
9675
|
Gv(f, n, o);
|
|
9676
9676
|
var x = Qv(d, f, r, t, w, a, s, i, {
|
|
9677
|
-
onCompleted: t.onCompleted ||
|
|
9678
|
-
onError: t.onError ||
|
|
9677
|
+
onCompleted: t.onCompleted || Lc,
|
|
9678
|
+
onError: t.onError || Lc
|
|
9679
9679
|
});
|
|
9680
9680
|
return {
|
|
9681
9681
|
result: x,
|
|
@@ -9694,7 +9694,7 @@ function Qv(e, t, r, n, i, a, o, s, c) {
|
|
|
9694
9694
|
var l = (s || a) && n.ssr === !1 && !n.skip ? (
|
|
9695
9695
|
// If SSR has been explicitly disabled, and this function has been called
|
|
9696
9696
|
// on the server side, return the default loading state.
|
|
9697
|
-
|
|
9697
|
+
rh
|
|
9698
9698
|
) : n.skip || i.fetchPolicy === "standby" ? (
|
|
9699
9699
|
// When skipping a query (ie. we're not querying for data but still want to
|
|
9700
9700
|
// render children), make sure the `data` is cleared out and `loading` is
|
|
@@ -9706,7 +9706,7 @@ function Qv(e, t, r, n, i, a, o, s, c) {
|
|
|
9706
9706
|
// previously received data is all of a sudden removed. Unfortunately,
|
|
9707
9707
|
// changing this is breaking, so we'll have to wait until Apollo Client 4.0
|
|
9708
9708
|
// to address this.
|
|
9709
|
-
|
|
9709
|
+
nh
|
|
9710
9710
|
) : void 0, f = e.previousData, d = Ce.useMemo(function() {
|
|
9711
9711
|
return l && wi(l, f, t, r);
|
|
9712
9712
|
}, [r, t, l, f]);
|
|
@@ -9741,9 +9741,9 @@ function Qv(e, t, r, n, i, a, o, s, c) {
|
|
|
9741
9741
|
o,
|
|
9742
9742
|
r
|
|
9743
9743
|
]), function() {
|
|
9744
|
-
return d ||
|
|
9744
|
+
return d || Mc(e, t, u.current, o, r);
|
|
9745
9745
|
}, function() {
|
|
9746
|
-
return d ||
|
|
9746
|
+
return d || Mc(e, t, u.current, o, r);
|
|
9747
9747
|
});
|
|
9748
9748
|
}
|
|
9749
9749
|
function Gv(e, t, r) {
|
|
@@ -9753,7 +9753,7 @@ function Yv(e, t, r, n, i) {
|
|
|
9753
9753
|
var a;
|
|
9754
9754
|
t[mi] && !Be(t[mi], i) && (t.reobserve(us(t, r, n, i)), e.previousData = ((a = e.current) === null || a === void 0 ? void 0 : a.data) || e.previousData, e.current = void 0), t[mi] = i;
|
|
9755
9755
|
}
|
|
9756
|
-
function
|
|
9756
|
+
function th(e, t, r, n) {
|
|
9757
9757
|
r === void 0 && (r = {});
|
|
9758
9758
|
var i = r.skip;
|
|
9759
9759
|
r.ssr, r.onCompleted, r.onError;
|
|
@@ -9781,7 +9781,7 @@ function Xv(e, t, r) {
|
|
|
9781
9781
|
});
|
|
9782
9782
|
}
|
|
9783
9783
|
}
|
|
9784
|
-
function
|
|
9784
|
+
function Mc(e, t, r, n, i) {
|
|
9785
9785
|
return e.current || ko(t.getCurrentResult(), e, t, i, n, function() {
|
|
9786
9786
|
}, r), e.current;
|
|
9787
9787
|
}
|
|
@@ -9795,18 +9795,18 @@ function Zv(e) {
|
|
|
9795
9795
|
function wi(e, t, r, n) {
|
|
9796
9796
|
var i = e.data;
|
|
9797
9797
|
e.partial;
|
|
9798
|
-
var a = Mt(e, ["data", "partial"]), o = z(z({ data: i }, a), { client: n, observable: r, variables: r.variables, called: e !==
|
|
9798
|
+
var a = Mt(e, ["data", "partial"]), o = z(z({ data: i }, a), { client: n, observable: r, variables: r.variables, called: e !== rh && e !== nh, previousData: t });
|
|
9799
9799
|
return o;
|
|
9800
9800
|
}
|
|
9801
9801
|
function Jv(e, t, r) {
|
|
9802
9802
|
return e.partial && r && !e.loading && (!e.data || Object.keys(e.data).length === 0) && t.options.fetchPolicy !== "cache-only" ? (t.refetch(), z(z({}, e), { loading: !0, networkStatus: Ie.refetch })) : e;
|
|
9803
9803
|
}
|
|
9804
|
-
var
|
|
9804
|
+
var rh = tn({
|
|
9805
9805
|
loading: !0,
|
|
9806
9806
|
data: void 0,
|
|
9807
9807
|
error: void 0,
|
|
9808
9808
|
networkStatus: Ie.loading
|
|
9809
|
-
}),
|
|
9809
|
+
}), nh = tn({
|
|
9810
9810
|
loading: !1,
|
|
9811
9811
|
data: void 0,
|
|
9812
9812
|
error: void 0,
|
|
@@ -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 =
|
|
9866
|
+
var u = z(z({}, s), { skip: !i.current }), l = eh(c, u), f = l.obsQueryFields, d = l.result, h = l.client, w = l.resultData, D = l.observable, x = l.onQueryExecuted, m = D.options.initialFetchPolicy || To(u.defaultOptions, h.defaultOptions), g = Ce.useReducer(function(j) {
|
|
9867
9867
|
return j + 1;
|
|
9868
9868
|
}, 0)[1], b = Ce.useMemo(function() {
|
|
9869
9869
|
for (var j = {}, V = function(te) {
|
|
@@ -9919,7 +9919,7 @@ function aa(e, t) {
|
|
|
9919
9919
|
return [M, E];
|
|
9920
9920
|
}
|
|
9921
9921
|
function nm(e, t, r, n, i, a) {
|
|
9922
|
-
var o = i.query || n, s =
|
|
9922
|
+
var o = i.query || n, s = th(r, o, i, !1)(t), c = t.reobserveAsConcast(us(t, r, i, s));
|
|
9923
9923
|
return a(s), new Promise(function(u) {
|
|
9924
9924
|
var l;
|
|
9925
9925
|
c.subscribe({
|
|
@@ -10028,10 +10028,10 @@ qt`
|
|
|
10028
10028
|
}
|
|
10029
10029
|
}
|
|
10030
10030
|
`;
|
|
10031
|
-
var oa = {}, mn = {},
|
|
10031
|
+
var oa = {}, mn = {}, Ac;
|
|
10032
10032
|
function sm() {
|
|
10033
|
-
if (
|
|
10034
|
-
|
|
10033
|
+
if (Ac) return mn;
|
|
10034
|
+
Ac = 1, mn.byteLength = s, mn.toByteArray = u, mn.fromByteArray = d;
|
|
10035
10035
|
for (var e = [], t = [], r = typeof Uint8Array < "u" ? Uint8Array : Array, n = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", i = 0, a = n.length; i < a; ++i)
|
|
10036
10036
|
e[i] = n[i], t[n.charCodeAt(i)] = i;
|
|
10037
10037
|
t[45] = 62, t[95] = 63;
|
|
@@ -10078,9 +10078,9 @@ function sm() {
|
|
|
10078
10078
|
}
|
|
10079
10079
|
var Kn = {};
|
|
10080
10080
|
/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
|
|
10081
|
-
var
|
|
10081
|
+
var Nc;
|
|
10082
10082
|
function cm() {
|
|
10083
|
-
return
|
|
10083
|
+
return Nc || (Nc = 1, Kn.read = function(e, t, r, n, i) {
|
|
10084
10084
|
var a, o, s = i * 8 - n - 1, c = (1 << s) - 1, u = c >> 1, l = -7, f = r ? i - 1 : 0, d = r ? -1 : 1, h = e[t + f];
|
|
10085
10085
|
for (f += d, a = h & (1 << -l) - 1, h >>= -l, l += s; l > 0; a = a * 256 + e[t + f], f += d, l -= 8)
|
|
10086
10086
|
;
|
|
@@ -10109,9 +10109,9 @@ function cm() {
|
|
|
10109
10109
|
* @author Feross Aboukhadijeh <https://feross.org>
|
|
10110
10110
|
* @license MIT
|
|
10111
10111
|
*/
|
|
10112
|
-
var
|
|
10112
|
+
var jc;
|
|
10113
10113
|
function um() {
|
|
10114
|
-
return
|
|
10114
|
+
return jc || (jc = 1, (function(e) {
|
|
10115
10115
|
const t = sm(), r = cm(), n = typeof Symbol == "function" && typeof Symbol.for == "function" ? Symbol.for("nodejs.util.inspect.custom") : null;
|
|
10116
10116
|
e.Buffer = s, e.SlowBuffer = g, e.INSPECT_MAX_BYTES = 50;
|
|
10117
10117
|
const i = 2147483647;
|
|
@@ -11050,9 +11050,9 @@ function um() {
|
|
|
11050
11050
|
}
|
|
11051
11051
|
})(oa)), oa;
|
|
11052
11052
|
}
|
|
11053
|
-
var lm = um(), Te = /* @__PURE__ */ ((e) => (e.BigWig = "bigwig", e.BigBed = "bigbed", e.Transcript = "transcript", e.Motif = "motif", e.Importance = "importance", e.LDTrack = "ldtrack", e.BulkBed = "bulkbed", e.MethylC = "methylc", e.Manhattan = "manhattan", e))(Te || {}), dt = /* @__PURE__ */ ((e) => (e.Full = "full", e.Dense = "dense", e.Squish = "squish", e.Pack = "pack", e.Combined = "combined", e.Split = "split", e.Scatter = "scatter", e.LDBlock = "ldblock", e.GenericLD = "genericld", e))(dt || {}), ei = { exports: {} }, sa,
|
|
11054
|
-
function
|
|
11055
|
-
return
|
|
11053
|
+
var lm = um(), Te = /* @__PURE__ */ ((e) => (e.BigWig = "bigwig", e.BigBed = "bigbed", e.Transcript = "transcript", e.Motif = "motif", e.Importance = "importance", e.LDTrack = "ldtrack", e.BulkBed = "bulkbed", e.MethylC = "methylc", e.Manhattan = "manhattan", e))(Te || {}), dt = /* @__PURE__ */ ((e) => (e.Full = "full", e.Dense = "dense", e.Squish = "squish", e.Pack = "pack", e.Combined = "combined", e.Split = "split", e.Scatter = "scatter", e.LDBlock = "ldblock", e.GenericLD = "genericld", e))(dt || {}), ei = { exports: {} }, sa, Pc;
|
|
11054
|
+
function ih() {
|
|
11055
|
+
return Pc || (Pc = 1, sa = function(t, r) {
|
|
11056
11056
|
return function() {
|
|
11057
11057
|
for (var i = new Array(arguments.length), a = 0; a < i.length; a++)
|
|
11058
11058
|
i[a] = arguments[a];
|
|
@@ -11066,17 +11066,17 @@ function ah() {
|
|
|
11066
11066
|
* @author Feross Aboukhadijeh <https://feross.org>
|
|
11067
11067
|
* @license MIT
|
|
11068
11068
|
*/
|
|
11069
|
-
var ca,
|
|
11069
|
+
var ca, Fc;
|
|
11070
11070
|
function fm() {
|
|
11071
|
-
return
|
|
11071
|
+
return Fc || (Fc = 1, ca = function(t) {
|
|
11072
11072
|
return t != null && t.constructor != null && typeof t.constructor.isBuffer == "function" && t.constructor.isBuffer(t);
|
|
11073
11073
|
}), ca;
|
|
11074
11074
|
}
|
|
11075
|
-
var ua,
|
|
11075
|
+
var ua, Bc;
|
|
11076
11076
|
function St() {
|
|
11077
|
-
if (
|
|
11078
|
-
|
|
11079
|
-
var e =
|
|
11077
|
+
if (Bc) return ua;
|
|
11078
|
+
Bc = 1;
|
|
11079
|
+
var e = ih(), t = fm(), r = Object.prototype.toString;
|
|
11080
11080
|
function n(C) {
|
|
11081
11081
|
return r.call(C) === "[object Array]";
|
|
11082
11082
|
}
|
|
@@ -11172,10 +11172,10 @@ function St() {
|
|
|
11172
11172
|
trim: m
|
|
11173
11173
|
}, ua;
|
|
11174
11174
|
}
|
|
11175
|
-
var la,
|
|
11175
|
+
var la, qc;
|
|
11176
11176
|
function hm() {
|
|
11177
|
-
if (
|
|
11178
|
-
|
|
11177
|
+
if (qc) return la;
|
|
11178
|
+
qc = 1;
|
|
11179
11179
|
var e = St();
|
|
11180
11180
|
return la = function(r, n) {
|
|
11181
11181
|
e.forEach(r, function(a, o) {
|
|
@@ -11183,27 +11183,27 @@ function hm() {
|
|
|
11183
11183
|
});
|
|
11184
11184
|
}, la;
|
|
11185
11185
|
}
|
|
11186
|
-
var fa,
|
|
11186
|
+
var fa, Uc;
|
|
11187
11187
|
function dm() {
|
|
11188
|
-
return
|
|
11188
|
+
return Uc || (Uc = 1, fa = function(t, r, n, i, a) {
|
|
11189
11189
|
return t.config = r, n && (t.code = n), t.request = i, t.response = a, t;
|
|
11190
11190
|
}), fa;
|
|
11191
11191
|
}
|
|
11192
|
-
var ha,
|
|
11193
|
-
function
|
|
11194
|
-
if (
|
|
11195
|
-
|
|
11192
|
+
var ha, zc;
|
|
11193
|
+
function ah() {
|
|
11194
|
+
if (zc) return ha;
|
|
11195
|
+
zc = 1;
|
|
11196
11196
|
var e = dm();
|
|
11197
11197
|
return ha = function(r, n, i, a, o) {
|
|
11198
11198
|
var s = new Error(r);
|
|
11199
11199
|
return e(s, n, i, a, o);
|
|
11200
11200
|
}, ha;
|
|
11201
11201
|
}
|
|
11202
|
-
var da,
|
|
11202
|
+
var da, Vc;
|
|
11203
11203
|
function pm() {
|
|
11204
|
-
if (
|
|
11205
|
-
|
|
11206
|
-
var e =
|
|
11204
|
+
if (Vc) return da;
|
|
11205
|
+
Vc = 1;
|
|
11206
|
+
var e = ah();
|
|
11207
11207
|
return da = function(r, n, i) {
|
|
11208
11208
|
var a = i.config.validateStatus;
|
|
11209
11209
|
!i.status || !a || a(i.status) ? r(i) : n(e(
|
|
@@ -11215,10 +11215,10 @@ function pm() {
|
|
|
11215
11215
|
));
|
|
11216
11216
|
}, da;
|
|
11217
11217
|
}
|
|
11218
|
-
var pa,
|
|
11218
|
+
var pa, $c;
|
|
11219
11219
|
function vm() {
|
|
11220
|
-
if (
|
|
11221
|
-
|
|
11220
|
+
if ($c) return pa;
|
|
11221
|
+
$c = 1;
|
|
11222
11222
|
var e = St();
|
|
11223
11223
|
function t(r) {
|
|
11224
11224
|
return encodeURIComponent(r).replace(/%40/gi, "@").replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+").replace(/%5B/gi, "[").replace(/%5D/gi, "]");
|
|
@@ -11242,10 +11242,10 @@ function vm() {
|
|
|
11242
11242
|
return o && (n += (n.indexOf("?") === -1 ? "?" : "&") + o), n;
|
|
11243
11243
|
}, pa;
|
|
11244
11244
|
}
|
|
11245
|
-
var va,
|
|
11245
|
+
var va, Wc;
|
|
11246
11246
|
function mm() {
|
|
11247
|
-
if (
|
|
11248
|
-
|
|
11247
|
+
if (Wc) return va;
|
|
11248
|
+
Wc = 1;
|
|
11249
11249
|
var e = St(), t = [
|
|
11250
11250
|
"age",
|
|
11251
11251
|
"authorization",
|
|
@@ -11277,10 +11277,10 @@ function mm() {
|
|
|
11277
11277
|
}), i;
|
|
11278
11278
|
}, va;
|
|
11279
11279
|
}
|
|
11280
|
-
var ma,
|
|
11280
|
+
var ma, Hc;
|
|
11281
11281
|
function gm() {
|
|
11282
|
-
if (
|
|
11283
|
-
|
|
11282
|
+
if (Hc) return ma;
|
|
11283
|
+
Hc = 1;
|
|
11284
11284
|
var e = St();
|
|
11285
11285
|
return ma = e.isStandardBrowserEnv() ? (
|
|
11286
11286
|
// Standard browser envs have full support of the APIs needed to test
|
|
@@ -11314,10 +11314,10 @@ function gm() {
|
|
|
11314
11314
|
})()
|
|
11315
11315
|
), ma;
|
|
11316
11316
|
}
|
|
11317
|
-
var ga,
|
|
11317
|
+
var ga, Qc;
|
|
11318
11318
|
function ym() {
|
|
11319
|
-
if (
|
|
11320
|
-
|
|
11319
|
+
if (Qc) return ga;
|
|
11320
|
+
Qc = 1;
|
|
11321
11321
|
var e = St();
|
|
11322
11322
|
return ga = e.isStandardBrowserEnv() ? (
|
|
11323
11323
|
// Standard browser envs support document.cookie
|
|
@@ -11351,11 +11351,11 @@ function ym() {
|
|
|
11351
11351
|
})()
|
|
11352
11352
|
), ga;
|
|
11353
11353
|
}
|
|
11354
|
-
var ya,
|
|
11355
|
-
function
|
|
11356
|
-
if (
|
|
11357
|
-
|
|
11358
|
-
var e = St(), t = pm(), r = vm(), n = mm(), i = gm(), a =
|
|
11354
|
+
var ya, Gc;
|
|
11355
|
+
function Yc() {
|
|
11356
|
+
if (Gc) return ya;
|
|
11357
|
+
Gc = 1;
|
|
11358
|
+
var e = St(), t = pm(), r = vm(), n = mm(), i = gm(), a = ah();
|
|
11359
11359
|
return ya = function(s) {
|
|
11360
11360
|
return new Promise(function(u, l) {
|
|
11361
11361
|
var f = s.data, d = s.headers;
|
|
@@ -11405,10 +11405,10 @@ function Xc() {
|
|
|
11405
11405
|
});
|
|
11406
11406
|
}, ya;
|
|
11407
11407
|
}
|
|
11408
|
-
var ba,
|
|
11408
|
+
var ba, Xc;
|
|
11409
11409
|
function ls() {
|
|
11410
|
-
if (
|
|
11411
|
-
|
|
11410
|
+
if (Xc) return ba;
|
|
11411
|
+
Xc = 1;
|
|
11412
11412
|
var e = St(), t = hm(), r = {
|
|
11413
11413
|
"Content-Type": "application/x-www-form-urlencoded"
|
|
11414
11414
|
};
|
|
@@ -11417,7 +11417,7 @@ function ls() {
|
|
|
11417
11417
|
}
|
|
11418
11418
|
function i() {
|
|
11419
11419
|
var o;
|
|
11420
|
-
return (typeof XMLHttpRequest < "u" || typeof process < "u") && (o =
|
|
11420
|
+
return (typeof XMLHttpRequest < "u" || typeof process < "u") && (o = Yc()), o;
|
|
11421
11421
|
}
|
|
11422
11422
|
var a = {
|
|
11423
11423
|
adapter: i(),
|
|
@@ -11454,10 +11454,10 @@ function ls() {
|
|
|
11454
11454
|
a.headers[s] = e.merge(r);
|
|
11455
11455
|
}), ba = a, ba;
|
|
11456
11456
|
}
|
|
11457
|
-
var xa,
|
|
11457
|
+
var xa, Zc;
|
|
11458
11458
|
function bm() {
|
|
11459
|
-
if (
|
|
11460
|
-
|
|
11459
|
+
if (Zc) return xa;
|
|
11460
|
+
Zc = 1;
|
|
11461
11461
|
var e = St();
|
|
11462
11462
|
function t() {
|
|
11463
11463
|
this.handlers = [];
|
|
@@ -11475,10 +11475,10 @@ function bm() {
|
|
|
11475
11475
|
});
|
|
11476
11476
|
}, xa = t, xa;
|
|
11477
11477
|
}
|
|
11478
|
-
var _a,
|
|
11478
|
+
var _a, Jc;
|
|
11479
11479
|
function xm() {
|
|
11480
|
-
if (
|
|
11481
|
-
|
|
11480
|
+
if (Jc) return _a;
|
|
11481
|
+
Jc = 1;
|
|
11482
11482
|
var e = St();
|
|
11483
11483
|
return _a = function(r, n, i) {
|
|
11484
11484
|
return e.forEach(i, function(o) {
|
|
@@ -11486,29 +11486,29 @@ function xm() {
|
|
|
11486
11486
|
}), r;
|
|
11487
11487
|
}, _a;
|
|
11488
11488
|
}
|
|
11489
|
-
var wa,
|
|
11490
|
-
function
|
|
11491
|
-
return
|
|
11489
|
+
var wa, Kc;
|
|
11490
|
+
function oh() {
|
|
11491
|
+
return Kc || (Kc = 1, wa = function(t) {
|
|
11492
11492
|
return !!(t && t.__CANCEL__);
|
|
11493
11493
|
}), wa;
|
|
11494
11494
|
}
|
|
11495
|
-
var Ea,
|
|
11495
|
+
var Ea, eu;
|
|
11496
11496
|
function _m() {
|
|
11497
|
-
return
|
|
11497
|
+
return eu || (eu = 1, Ea = function(t) {
|
|
11498
11498
|
return /^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(t);
|
|
11499
11499
|
}), Ea;
|
|
11500
11500
|
}
|
|
11501
|
-
var Sa,
|
|
11501
|
+
var Sa, tu;
|
|
11502
11502
|
function wm() {
|
|
11503
|
-
return
|
|
11503
|
+
return tu || (tu = 1, Sa = function(t, r) {
|
|
11504
11504
|
return r ? t.replace(/\/+$/, "") + "/" + r.replace(/^\/+/, "") : t;
|
|
11505
11505
|
}), Sa;
|
|
11506
11506
|
}
|
|
11507
|
-
var ka,
|
|
11507
|
+
var ka, ru;
|
|
11508
11508
|
function Em() {
|
|
11509
|
-
if (
|
|
11510
|
-
|
|
11511
|
-
var e = St(), t = xm(), r =
|
|
11509
|
+
if (ru) return ka;
|
|
11510
|
+
ru = 1;
|
|
11511
|
+
var e = St(), t = xm(), r = oh(), n = ls(), i = _m(), a = wm();
|
|
11512
11512
|
function o(s) {
|
|
11513
11513
|
s.cancelToken && s.cancelToken.throwIfRequested();
|
|
11514
11514
|
}
|
|
@@ -11543,10 +11543,10 @@ function Em() {
|
|
|
11543
11543
|
});
|
|
11544
11544
|
}, ka;
|
|
11545
11545
|
}
|
|
11546
|
-
var Ta,
|
|
11546
|
+
var Ta, nu;
|
|
11547
11547
|
function Sm() {
|
|
11548
|
-
if (
|
|
11549
|
-
|
|
11548
|
+
if (nu) return Ta;
|
|
11549
|
+
nu = 1;
|
|
11550
11550
|
var e = ls(), t = St(), r = bm(), n = Em();
|
|
11551
11551
|
function i(a) {
|
|
11552
11552
|
this.defaults = a, this.interceptors = {
|
|
@@ -11583,10 +11583,10 @@ function Sm() {
|
|
|
11583
11583
|
};
|
|
11584
11584
|
}), Ta = i, Ta;
|
|
11585
11585
|
}
|
|
11586
|
-
var Da,
|
|
11587
|
-
function
|
|
11588
|
-
if (
|
|
11589
|
-
|
|
11586
|
+
var Da, iu;
|
|
11587
|
+
function sh() {
|
|
11588
|
+
if (iu) return Da;
|
|
11589
|
+
iu = 1;
|
|
11590
11590
|
function e(t) {
|
|
11591
11591
|
this.message = t;
|
|
11592
11592
|
}
|
|
@@ -11594,11 +11594,11 @@ function ch() {
|
|
|
11594
11594
|
return "Cancel" + (this.message ? ": " + this.message : "");
|
|
11595
11595
|
}, e.prototype.__CANCEL__ = !0, Da = e, Da;
|
|
11596
11596
|
}
|
|
11597
|
-
var Ca,
|
|
11597
|
+
var Ca, au;
|
|
11598
11598
|
function km() {
|
|
11599
|
-
if (
|
|
11600
|
-
|
|
11601
|
-
var e =
|
|
11599
|
+
if (au) return Ca;
|
|
11600
|
+
au = 1;
|
|
11601
|
+
var e = sh();
|
|
11602
11602
|
function t(r) {
|
|
11603
11603
|
if (typeof r != "function")
|
|
11604
11604
|
throw new TypeError("executor must be a function.");
|
|
@@ -11624,19 +11624,19 @@ function km() {
|
|
|
11624
11624
|
};
|
|
11625
11625
|
}, Ca = t, Ca;
|
|
11626
11626
|
}
|
|
11627
|
-
var Oa,
|
|
11627
|
+
var Oa, ou;
|
|
11628
11628
|
function Tm() {
|
|
11629
|
-
return
|
|
11629
|
+
return ou || (ou = 1, Oa = function(t) {
|
|
11630
11630
|
return function(n) {
|
|
11631
11631
|
return t.apply(null, n);
|
|
11632
11632
|
};
|
|
11633
11633
|
}), Oa;
|
|
11634
11634
|
}
|
|
11635
|
-
var
|
|
11635
|
+
var su;
|
|
11636
11636
|
function Dm() {
|
|
11637
|
-
if (
|
|
11638
|
-
|
|
11639
|
-
var e = St(), t =
|
|
11637
|
+
if (su) return ei.exports;
|
|
11638
|
+
su = 1;
|
|
11639
|
+
var e = St(), t = ih(), r = Sm(), n = ls();
|
|
11640
11640
|
function i(o) {
|
|
11641
11641
|
var s = new r(o), c = t(r.prototype.request, s);
|
|
11642
11642
|
return e.extend(c, r.prototype, s), e.extend(c, s), c;
|
|
@@ -11644,20 +11644,20 @@ function Dm() {
|
|
|
11644
11644
|
var a = i(n);
|
|
11645
11645
|
return a.Axios = r, a.create = function(s) {
|
|
11646
11646
|
return i(e.merge(n, s));
|
|
11647
|
-
}, a.Cancel =
|
|
11647
|
+
}, a.Cancel = sh(), a.CancelToken = km(), a.isCancel = oh(), a.all = function(s) {
|
|
11648
11648
|
return Promise.all(s);
|
|
11649
11649
|
}, a.spread = Tm(), ei.exports = a, ei.exports.default = a, ei.exports;
|
|
11650
11650
|
}
|
|
11651
|
-
var Ia,
|
|
11652
|
-
function
|
|
11653
|
-
return
|
|
11651
|
+
var Ia, cu;
|
|
11652
|
+
function ch() {
|
|
11653
|
+
return cu || (cu = 1, Ia = Dm()), Ia;
|
|
11654
11654
|
}
|
|
11655
|
-
var Cm =
|
|
11655
|
+
var Cm = ch();
|
|
11656
11656
|
const Om = /* @__PURE__ */ Po(Cm);
|
|
11657
|
-
var Ra = {}, gn = {}, yn = {}, ti = {},
|
|
11657
|
+
var Ra = {}, gn = {}, yn = {}, ti = {}, uu;
|
|
11658
11658
|
function cn() {
|
|
11659
|
-
if (
|
|
11660
|
-
|
|
11659
|
+
if (uu) return ti;
|
|
11660
|
+
uu = 1, Object.defineProperty(ti, "__esModule", { value: !0 });
|
|
11661
11661
|
let e = class {
|
|
11662
11662
|
constructor(r, n = !0) {
|
|
11663
11663
|
this.littleEndian = n, this.view = new DataView(r), this.position = 0, this.length = this.view.byteLength;
|
|
@@ -11728,9 +11728,9 @@ function cn() {
|
|
|
11728
11728
|
};
|
|
11729
11729
|
return ti.BinaryParser = e, ti;
|
|
11730
11730
|
}
|
|
11731
|
-
var Ht = {}, bn = {},
|
|
11731
|
+
var Ht = {}, bn = {}, lu;
|
|
11732
11732
|
function Wn() {
|
|
11733
|
-
return
|
|
11733
|
+
return lu || (lu = 1, (function(e) {
|
|
11734
11734
|
var t = bn && bn.__awaiter || function(l, f, d, h) {
|
|
11735
11735
|
return new (d || (d = Promise))(function(w, D) {
|
|
11736
11736
|
function x(b) {
|
|
@@ -11893,10 +11893,10 @@ const Im = {}, Rm = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
11893
11893
|
__proto__: null,
|
|
11894
11894
|
default: Im
|
|
11895
11895
|
}, Symbol.toStringTag, { value: "Module" })), Ai = /* @__PURE__ */ Gh(Rm);
|
|
11896
|
-
var
|
|
11897
|
-
function
|
|
11898
|
-
if (
|
|
11899
|
-
|
|
11896
|
+
var fu;
|
|
11897
|
+
function uh() {
|
|
11898
|
+
if (fu) return Ht;
|
|
11899
|
+
fu = 1;
|
|
11900
11900
|
var e = Ht && Ht.__awaiter || function(D, x, m, g) {
|
|
11901
11901
|
return new (m || (m = Promise))(function(b, _) {
|
|
11902
11902
|
function E(O) {
|
|
@@ -12031,9 +12031,9 @@ function lh() {
|
|
|
12031
12031
|
}
|
|
12032
12032
|
return Ht.loadSequence = w, Ht;
|
|
12033
12033
|
}
|
|
12034
|
-
var
|
|
12034
|
+
var hu;
|
|
12035
12035
|
function fs() {
|
|
12036
|
-
return
|
|
12036
|
+
return hu || (hu = 1, (function(e) {
|
|
12037
12037
|
var t = yn && yn.__awaiter || function(D, x, m, g) {
|
|
12038
12038
|
return new (m || (m = Promise))(function(b, _) {
|
|
12039
12039
|
function E(O) {
|
|
@@ -12059,7 +12059,7 @@ function fs() {
|
|
|
12059
12059
|
});
|
|
12060
12060
|
};
|
|
12061
12061
|
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
12062
|
-
const r = cn(), n =
|
|
12062
|
+
const r = cn(), n = uh(), i = 440477507, a = 1126646042, o = 2291137574, s = 654086024, c = 2273964779, u = 3958540679, l = 2026540177, f = 64;
|
|
12063
12063
|
var d;
|
|
12064
12064
|
(function(D) {
|
|
12065
12065
|
D.BigWig = "BigWig", D.BigBed = "BigBed", D.TwoBit = "TwoBit";
|
|
@@ -12167,9 +12167,9 @@ function fs() {
|
|
|
12167
12167
|
}
|
|
12168
12168
|
})(yn)), yn;
|
|
12169
12169
|
}
|
|
12170
|
-
var Ir = {}, La = {},
|
|
12170
|
+
var Ir = {}, La = {}, du;
|
|
12171
12171
|
function mr() {
|
|
12172
|
-
return
|
|
12172
|
+
return du || (du = 1, (function(e) {
|
|
12173
12173
|
var t = typeof Uint8Array < "u" && typeof Uint16Array < "u" && typeof Int32Array < "u";
|
|
12174
12174
|
function r(a, o) {
|
|
12175
12175
|
return Object.prototype.hasOwnProperty.call(a, o);
|
|
@@ -12221,10 +12221,10 @@ function mr() {
|
|
|
12221
12221
|
}, e.setTyped(t);
|
|
12222
12222
|
})(La)), La;
|
|
12223
12223
|
}
|
|
12224
|
-
var Rr = {}, Dt = {}, gr = {},
|
|
12224
|
+
var Rr = {}, Dt = {}, gr = {}, pu;
|
|
12225
12225
|
function Lm() {
|
|
12226
|
-
if (
|
|
12227
|
-
|
|
12226
|
+
if (pu) return gr;
|
|
12227
|
+
pu = 1;
|
|
12228
12228
|
var e = mr(), t = 4, r = 0, n = 1, i = 2;
|
|
12229
12229
|
function a(k) {
|
|
12230
12230
|
for (var P = k.length; --P >= 0; )
|
|
@@ -12468,10 +12468,10 @@ function Lm() {
|
|
|
12468
12468
|
}
|
|
12469
12469
|
return gr._tr_init = er, gr._tr_stored_block = R, gr._tr_flush_block = y, gr._tr_tally = N, gr._tr_align = v, gr;
|
|
12470
12470
|
}
|
|
12471
|
-
var Ma,
|
|
12472
|
-
function
|
|
12473
|
-
if (
|
|
12474
|
-
|
|
12471
|
+
var Ma, vu;
|
|
12472
|
+
function lh() {
|
|
12473
|
+
if (vu) return Ma;
|
|
12474
|
+
vu = 1;
|
|
12475
12475
|
function e(t, r, n, i) {
|
|
12476
12476
|
for (var a = t & 65535 | 0, o = t >>> 16 & 65535 | 0, s = 0; n !== 0; ) {
|
|
12477
12477
|
s = n > 2e3 ? 2e3 : n, n -= s;
|
|
@@ -12484,10 +12484,10 @@ function fh() {
|
|
|
12484
12484
|
}
|
|
12485
12485
|
return Ma = e, Ma;
|
|
12486
12486
|
}
|
|
12487
|
-
var Aa,
|
|
12488
|
-
function
|
|
12489
|
-
if (
|
|
12490
|
-
|
|
12487
|
+
var Aa, mu;
|
|
12488
|
+
function fh() {
|
|
12489
|
+
if (mu) return Aa;
|
|
12490
|
+
mu = 1;
|
|
12491
12491
|
function e() {
|
|
12492
12492
|
for (var n, i = [], a = 0; a < 256; a++) {
|
|
12493
12493
|
n = a;
|
|
@@ -12507,9 +12507,9 @@ function hh() {
|
|
|
12507
12507
|
}
|
|
12508
12508
|
return Aa = r, Aa;
|
|
12509
12509
|
}
|
|
12510
|
-
var Na,
|
|
12510
|
+
var Na, gu;
|
|
12511
12511
|
function hs() {
|
|
12512
|
-
return
|
|
12512
|
+
return gu || (gu = 1, Na = {
|
|
12513
12513
|
2: "need dictionary",
|
|
12514
12514
|
/* Z_NEED_DICT 2 */
|
|
12515
12515
|
1: "stream end",
|
|
@@ -12530,11 +12530,11 @@ function hs() {
|
|
|
12530
12530
|
/* Z_VERSION_ERROR (-6) */
|
|
12531
12531
|
}), Na;
|
|
12532
12532
|
}
|
|
12533
|
-
var
|
|
12533
|
+
var yu;
|
|
12534
12534
|
function Mm() {
|
|
12535
|
-
if (
|
|
12536
|
-
|
|
12537
|
-
var e = mr(), t = Lm(), r =
|
|
12535
|
+
if (yu) return Dt;
|
|
12536
|
+
yu = 1;
|
|
12537
|
+
var e = mr(), t = Lm(), r = lh(), n = fh(), i = hs(), a = 0, o = 1, s = 3, c = 4, u = 5, l = 0, f = 1, d = -2, h = -3, w = -5, D = -1, x = 1, m = 2, g = 3, b = 4, _ = 0, E = 2, C = 8, T = 9, O = 15, A = 8, M = 29, j = 256, V = j + 1 + M, W = 30, X = 19, H = 2 * V + 1, te = 15, Q = 3, fe = 258, oe = fe + Q + 1, $ = 32, F = 42, K = 69, ne = 73, ue = 91, ge = 103, de = 113, se = 666, le = 1, xe = 2, we = 3, Fe = 4, ae = 3;
|
|
12538
12538
|
function Ae(p, Z) {
|
|
12539
12539
|
return p.msg = i[Z], Z;
|
|
12540
12540
|
}
|
|
@@ -12837,10 +12837,10 @@ function Mm() {
|
|
|
12837
12837
|
}
|
|
12838
12838
|
return Dt.deflateInit = G, Dt.deflateInit2 = B, Dt.deflateReset = U, Dt.deflateResetKeep = P, Dt.deflateSetHeader = ie, Dt.deflate = I, Dt.deflateEnd = ee, Dt.deflateSetDictionary = Ee, Dt.deflateInfo = "pako deflate (from Nodeca project)", Dt;
|
|
12839
12839
|
}
|
|
12840
|
-
var yr = {},
|
|
12841
|
-
function
|
|
12842
|
-
if (
|
|
12843
|
-
|
|
12840
|
+
var yr = {}, bu;
|
|
12841
|
+
function hh() {
|
|
12842
|
+
if (bu) return yr;
|
|
12843
|
+
bu = 1;
|
|
12844
12844
|
var e = mr(), t = !0, r = !0;
|
|
12845
12845
|
try {
|
|
12846
12846
|
String.fromCharCode.apply(null, [0]);
|
|
@@ -12902,20 +12902,20 @@ function dh() {
|
|
|
12902
12902
|
return c < 0 || c === 0 ? s : c + n[o[c]] > s ? c : s;
|
|
12903
12903
|
}, yr;
|
|
12904
12904
|
}
|
|
12905
|
-
var ja,
|
|
12906
|
-
function
|
|
12907
|
-
if (
|
|
12908
|
-
|
|
12905
|
+
var ja, xu;
|
|
12906
|
+
function dh() {
|
|
12907
|
+
if (xu) return ja;
|
|
12908
|
+
xu = 1;
|
|
12909
12909
|
function e() {
|
|
12910
12910
|
this.input = null, this.next_in = 0, this.avail_in = 0, this.total_in = 0, this.output = null, this.next_out = 0, this.avail_out = 0, this.total_out = 0, this.msg = "", this.state = null, this.data_type = 2, this.adler = 0;
|
|
12911
12911
|
}
|
|
12912
12912
|
return ja = e, ja;
|
|
12913
12913
|
}
|
|
12914
|
-
var
|
|
12914
|
+
var _u;
|
|
12915
12915
|
function Am() {
|
|
12916
|
-
if (
|
|
12917
|
-
|
|
12918
|
-
var e = Mm(), t = mr(), r =
|
|
12916
|
+
if (_u) return Rr;
|
|
12917
|
+
_u = 1;
|
|
12918
|
+
var e = Mm(), t = mr(), 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
12919
|
function w(g) {
|
|
12920
12920
|
if (!(this instanceof w)) return new w(g);
|
|
12921
12921
|
this.options = t.assign({
|
|
@@ -12976,10 +12976,10 @@ function Am() {
|
|
|
12976
12976
|
}
|
|
12977
12977
|
return Rr.Deflate = w, Rr.deflate = D, Rr.deflateRaw = x, Rr.gzip = m, Rr;
|
|
12978
12978
|
}
|
|
12979
|
-
var Lr = {}, _t = {}, Pa,
|
|
12979
|
+
var Lr = {}, _t = {}, Pa, wu;
|
|
12980
12980
|
function Nm() {
|
|
12981
|
-
if (
|
|
12982
|
-
|
|
12981
|
+
if (wu) return Pa;
|
|
12982
|
+
wu = 1;
|
|
12983
12983
|
var e = 30, t = 12;
|
|
12984
12984
|
return Pa = function(n, i) {
|
|
12985
12985
|
var a, o, s, c, u, l, f, d, h, w, D, x, m, g, b, _, E, C, T, O, A, M, j, V, W;
|
|
@@ -13069,10 +13069,10 @@ function Nm() {
|
|
|
13069
13069
|
O = m >> 3, o -= O, m -= O << 3, x &= (1 << m) - 1, n.next_in = o, n.next_out = c, n.avail_in = o < s ? 5 + (s - o) : 5 - (o - s), n.avail_out = c < l ? 257 + (l - c) : 257 - (c - l), a.hold = x, a.bits = m;
|
|
13070
13070
|
}, Pa;
|
|
13071
13071
|
}
|
|
13072
|
-
var Fa,
|
|
13072
|
+
var Fa, Eu;
|
|
13073
13073
|
function jm() {
|
|
13074
|
-
if (
|
|
13075
|
-
|
|
13074
|
+
if (Eu) return Fa;
|
|
13075
|
+
Eu = 1;
|
|
13076
13076
|
var e = mr(), t = 15, r = 852, n = 592, i = 0, a = 1, o = 2, s = [
|
|
13077
13077
|
/* Length codes 257..285 base */
|
|
13078
13078
|
3,
|
|
@@ -13254,11 +13254,11 @@ function jm() {
|
|
|
13254
13254
|
return X !== 0 && (x[oe + X] = E - j << 24 | 64 << 16 | 0), b.bits = A, 0;
|
|
13255
13255
|
}, Fa;
|
|
13256
13256
|
}
|
|
13257
|
-
var
|
|
13257
|
+
var Su;
|
|
13258
13258
|
function Pm() {
|
|
13259
|
-
if (
|
|
13260
|
-
|
|
13261
|
-
var e = mr(), t =
|
|
13259
|
+
if (Su) return _t;
|
|
13260
|
+
Su = 1;
|
|
13261
|
+
var e = mr(), t = lh(), r = fh(), n = Nm(), i = jm(), a = 0, o = 1, s = 2, c = 4, u = 5, l = 6, f = 0, d = 1, h = 2, w = -2, D = -3, x = -4, m = -5, g = 8, b = 1, _ = 2, E = 3, C = 4, T = 5, O = 6, A = 7, M = 8, j = 9, V = 10, W = 11, X = 12, H = 13, te = 14, Q = 15, fe = 16, oe = 17, $ = 18, F = 19, K = 20, ne = 21, ue = 22, ge = 23, de = 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
|
}
|
|
@@ -13307,7 +13307,7 @@ function Pm() {
|
|
|
13307
13307
|
return p.window === null && (p.wsize = 1 << p.wbits, p.wnext = 0, p.whave = 0, p.window = new e.Buf8(p.wsize)), ee >= p.wsize ? (e.arraySet(p.window, G, I - p.wsize, p.wsize, 0), p.wnext = 0, p.whave = p.wsize) : (Ee = p.wsize - p.wnext, Ee > ee && (Ee = ee), e.arraySet(p.window, G, I - ee, Ee, p.wnext), ee -= Ee, ee ? (e.arraySet(p.window, G, I - ee, ee, 0), p.wnext = ee, p.whave = p.wsize) : (p.wnext += Ee, p.wnext === p.wsize && (p.wnext = 0), p.whave < p.wsize && (p.whave += Ee))), 0;
|
|
13308
13308
|
}
|
|
13309
13309
|
function k(B, G) {
|
|
13310
|
-
var I, ee, Ee, p, Z, J, L, q, Y, _e, pe, me, Re, $t, He = 0, Le, et, ft, mt, Hn, Qn, Je, xt, st = new e.Buf8(4), Wt, Pt,
|
|
13310
|
+
var I, ee, Ee, p, Z, J, L, q, Y, _e, pe, me, Re, $t, He = 0, Le, et, ft, mt, Hn, Qn, Je, xt, st = new e.Buf8(4), Wt, Pt, ks = (
|
|
13311
13311
|
/* permutation of code lengths */
|
|
13312
13312
|
[16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15]
|
|
13313
13313
|
);
|
|
@@ -13535,10 +13535,10 @@ function Pm() {
|
|
|
13535
13535
|
break e;
|
|
13536
13536
|
J--, q += ee[p++] << Y, Y += 8;
|
|
13537
13537
|
}
|
|
13538
|
-
I.lens[
|
|
13538
|
+
I.lens[ks[I.have++]] = q & 7, q >>>= 3, Y -= 3;
|
|
13539
13539
|
}
|
|
13540
13540
|
for (; I.have < 19; )
|
|
13541
|
-
I.lens[
|
|
13541
|
+
I.lens[ks[I.have++]] = 0;
|
|
13542
13542
|
if (I.lencode = I.lendyn, I.lenbits = 7, Wt = { bits: I.lenbits }, xt = i(a, I.lens, 0, 19, I.lencode, 0, I.work, Wt), I.lenbits = Wt.bits, xt) {
|
|
13543
13543
|
B.msg = "invalid code lengths set", I.mode = ae;
|
|
13544
13544
|
break;
|
|
@@ -13772,9 +13772,9 @@ function Pm() {
|
|
|
13772
13772
|
}
|
|
13773
13773
|
return _t.inflateReset = $e, _t.inflateReset2 = Nt, _t.inflateResetKeep = gt, _t.inflateInit = Ze, _t.inflateInit2 = jt, _t.inflate = k, _t.inflateEnd = P, _t.inflateGetHeader = U, _t.inflateSetDictionary = ie, _t.inflateInfo = "pako inflate (from Nodeca project)", _t;
|
|
13774
13774
|
}
|
|
13775
|
-
var Ba,
|
|
13776
|
-
function
|
|
13777
|
-
return
|
|
13775
|
+
var Ba, ku;
|
|
13776
|
+
function ph() {
|
|
13777
|
+
return ku || (ku = 1, Ba = {
|
|
13778
13778
|
/* Allowed flush values; see deflate() and inflate() below for details */
|
|
13779
13779
|
Z_NO_FLUSH: 0,
|
|
13780
13780
|
Z_PARTIAL_FLUSH: 1,
|
|
@@ -13815,20 +13815,20 @@ function vh() {
|
|
|
13815
13815
|
//Z_NULL: null // Use -1 or null inline, depending on var type
|
|
13816
13816
|
}), Ba;
|
|
13817
13817
|
}
|
|
13818
|
-
var qa,
|
|
13818
|
+
var qa, Tu;
|
|
13819
13819
|
function Fm() {
|
|
13820
|
-
if (
|
|
13821
|
-
|
|
13820
|
+
if (Tu) return qa;
|
|
13821
|
+
Tu = 1;
|
|
13822
13822
|
function e() {
|
|
13823
13823
|
this.text = 0, this.time = 0, this.xflags = 0, this.os = 0, this.extra = null, this.extra_len = 0, this.name = "", this.comment = "", this.hcrc = 0, this.done = !1;
|
|
13824
13824
|
}
|
|
13825
13825
|
return qa = e, qa;
|
|
13826
13826
|
}
|
|
13827
|
-
var
|
|
13827
|
+
var Du;
|
|
13828
13828
|
function Bm() {
|
|
13829
|
-
if (
|
|
13830
|
-
|
|
13831
|
-
var e = Pm(), t = mr(), r =
|
|
13829
|
+
if (Du) return Lr;
|
|
13830
|
+
Du = 1;
|
|
13831
|
+
var e = Pm(), t = mr(), r = hh(), n = ph(), i = hs(), a = dh(), o = Fm(), s = Object.prototype.toString;
|
|
13832
13832
|
function c(f) {
|
|
13833
13833
|
if (!(this instanceof c)) return new c(f);
|
|
13834
13834
|
this.options = t.assign({
|
|
@@ -13874,17 +13874,17 @@ function Bm() {
|
|
|
13874
13874
|
}
|
|
13875
13875
|
return Lr.Inflate = c, Lr.inflate = u, Lr.inflateRaw = l, Lr.ungzip = u, Lr;
|
|
13876
13876
|
}
|
|
13877
|
-
var Ua,
|
|
13877
|
+
var Ua, Cu;
|
|
13878
13878
|
function ds() {
|
|
13879
|
-
if (
|
|
13880
|
-
|
|
13881
|
-
var e = mr().assign, t = Am(), r = Bm(), n =
|
|
13879
|
+
if (Cu) return Ua;
|
|
13880
|
+
Cu = 1;
|
|
13881
|
+
var e = mr().assign, t = Am(), r = Bm(), n = ph(), i = {};
|
|
13882
13882
|
return e(i, t, r, n), Ua = i, Ua;
|
|
13883
13883
|
}
|
|
13884
|
-
var
|
|
13884
|
+
var Ou;
|
|
13885
13885
|
function qm() {
|
|
13886
|
-
if (
|
|
13887
|
-
|
|
13886
|
+
if (Ou) return Ir;
|
|
13887
|
+
Ou = 1;
|
|
13888
13888
|
var e = Ir && Ir.__awaiter || function(m, g, b, _) {
|
|
13889
13889
|
return new (b || (b = Promise))(function(E, C) {
|
|
13890
13890
|
function T(M) {
|
|
@@ -13910,7 +13910,7 @@ function qm() {
|
|
|
13910
13910
|
});
|
|
13911
13911
|
};
|
|
13912
13912
|
Object.defineProperty(Ir, "__esModule", { value: !0 });
|
|
13913
|
-
const t = Wn(), r = cn(), n = fs(), i =
|
|
13913
|
+
const t = Wn(), r = cn(), n = fs(), i = uh(), a = ds(), o = Ai, s = 610839776, c = 48, u = 32, l = 24, f = 512e3;
|
|
13914
13914
|
let d = class {
|
|
13915
13915
|
constructor(g, b = f) {
|
|
13916
13916
|
this.dataLoader = g, this.bufferSize = b, this.cachedSequenceRecords = {};
|
|
@@ -14123,19 +14123,19 @@ function qm() {
|
|
|
14123
14123
|
}
|
|
14124
14124
|
return Ir;
|
|
14125
14125
|
}
|
|
14126
|
-
var
|
|
14126
|
+
var Iu;
|
|
14127
14127
|
function Um() {
|
|
14128
|
-
if (
|
|
14129
|
-
|
|
14128
|
+
if (Iu) return gn;
|
|
14129
|
+
Iu = 1, Object.defineProperty(gn, "__esModule", { value: !0 });
|
|
14130
14130
|
var e = fs();
|
|
14131
14131
|
gn.FileType = e.FileType;
|
|
14132
14132
|
var t = qm();
|
|
14133
14133
|
return gn.BigWigReader = t.BigWigReader, gn;
|
|
14134
14134
|
}
|
|
14135
|
-
var Mr = {}, Ar = {},
|
|
14135
|
+
var Mr = {}, Ar = {}, Ru;
|
|
14136
14136
|
function zm() {
|
|
14137
|
-
if (
|
|
14138
|
-
|
|
14137
|
+
if (Ru) return Ar;
|
|
14138
|
+
Ru = 1;
|
|
14139
14139
|
var e = Ar && Ar.__awaiter || function(n, i, a, o) {
|
|
14140
14140
|
return new (a || (a = Promise))(function(s, c) {
|
|
14141
14141
|
function u(d) {
|
|
@@ -14179,10 +14179,10 @@ function zm() {
|
|
|
14179
14179
|
};
|
|
14180
14180
|
return Ar.FileDataLoader = r, Ar;
|
|
14181
14181
|
}
|
|
14182
|
-
var Nr = {},
|
|
14182
|
+
var Nr = {}, Lu;
|
|
14183
14183
|
function Vm() {
|
|
14184
|
-
if (
|
|
14185
|
-
|
|
14184
|
+
if (Lu) return Nr;
|
|
14185
|
+
Lu = 1;
|
|
14186
14186
|
var e = Nr && Nr.__awaiter || function(i, a, o, s) {
|
|
14187
14187
|
return new (o || (o = Promise))(function(c, u) {
|
|
14188
14188
|
function l(h) {
|
|
@@ -14208,7 +14208,7 @@ function Vm() {
|
|
|
14208
14208
|
});
|
|
14209
14209
|
};
|
|
14210
14210
|
Object.defineProperty(Nr, "__esModule", { value: !0 });
|
|
14211
|
-
const t = Wn(), r =
|
|
14211
|
+
const t = Wn(), r = ch();
|
|
14212
14212
|
let n = class {
|
|
14213
14213
|
constructor(a, o = r.default.create()) {
|
|
14214
14214
|
this.url = a, this.axios = o, this.cachedFileSize = void 0;
|
|
@@ -14238,10 +14238,10 @@ function Vm() {
|
|
|
14238
14238
|
};
|
|
14239
14239
|
return Nr.AxiosDataLoader = n, Nr;
|
|
14240
14240
|
}
|
|
14241
|
-
var
|
|
14241
|
+
var Mu;
|
|
14242
14242
|
function $m() {
|
|
14243
|
-
if (
|
|
14244
|
-
|
|
14243
|
+
if (Mu) return Mr;
|
|
14244
|
+
Mu = 1, Object.defineProperty(Mr, "__esModule", { value: !0 });
|
|
14245
14245
|
var e = Wn();
|
|
14246
14246
|
Mr.ErrorType = e.ErrorType;
|
|
14247
14247
|
var t = zm();
|
|
@@ -14249,20 +14249,20 @@ function $m() {
|
|
|
14249
14249
|
var r = Vm();
|
|
14250
14250
|
return Mr.AxiosDataLoader = r.AxiosDataLoader, Mr;
|
|
14251
14251
|
}
|
|
14252
|
-
var za = {}, jr = {}, ri = {},
|
|
14252
|
+
var za = {}, jr = {}, ri = {}, Au;
|
|
14253
14253
|
function Wm() {
|
|
14254
|
-
if (
|
|
14255
|
-
|
|
14254
|
+
if (Au) return ri;
|
|
14255
|
+
Au = 1, Object.defineProperty(ri, "__esModule", { value: !0 });
|
|
14256
14256
|
function e(t, r) {
|
|
14257
14257
|
const n = new Uint8Array(t.byteLength + r.byteLength);
|
|
14258
14258
|
return n.set(new Uint8Array(t), 0), n.set(new Uint8Array(r), t.byteLength), n.buffer;
|
|
14259
14259
|
}
|
|
14260
14260
|
return ri.appendBuffer = e, ri;
|
|
14261
14261
|
}
|
|
14262
|
-
var
|
|
14263
|
-
function
|
|
14264
|
-
if (
|
|
14265
|
-
|
|
14262
|
+
var Nu;
|
|
14263
|
+
function vh() {
|
|
14264
|
+
if (Nu) return jr;
|
|
14265
|
+
Nu = 1;
|
|
14266
14266
|
var e = jr && jr.__awaiter || function(s, c, u, l) {
|
|
14267
14267
|
return new (u || (u = Promise))(function(f, d) {
|
|
14268
14268
|
function h(x) {
|
|
@@ -14338,10 +14338,10 @@ function mh() {
|
|
|
14338
14338
|
}
|
|
14339
14339
|
return jr.readBamHeaderData = o, jr;
|
|
14340
14340
|
}
|
|
14341
|
-
var Ct = {},
|
|
14342
|
-
function
|
|
14343
|
-
if (
|
|
14344
|
-
|
|
14341
|
+
var Ct = {}, ju;
|
|
14342
|
+
function mh() {
|
|
14343
|
+
if (ju) return Ct;
|
|
14344
|
+
ju = 1;
|
|
14345
14345
|
var e = Ct && Ct.__awaiter || function(_, E, C, T) {
|
|
14346
14346
|
return new (C || (C = Promise))(function(O, A) {
|
|
14347
14347
|
function M(W) {
|
|
@@ -14538,10 +14538,10 @@ function gh() {
|
|
|
14538
14538
|
}
|
|
14539
14539
|
return Ct;
|
|
14540
14540
|
}
|
|
14541
|
-
var xn = {}, ni = {},
|
|
14541
|
+
var xn = {}, ni = {}, Pu;
|
|
14542
14542
|
function Hm() {
|
|
14543
|
-
if (
|
|
14544
|
-
|
|
14543
|
+
if (Pu) return ni;
|
|
14544
|
+
Pu = 1, Object.defineProperty(ni, "__esModule", { value: !0 });
|
|
14545
14545
|
const e = ds();
|
|
14546
14546
|
function t(n, i) {
|
|
14547
14547
|
let a = 0;
|
|
@@ -14570,9 +14570,9 @@ function Hm() {
|
|
|
14570
14570
|
}
|
|
14571
14571
|
return ni;
|
|
14572
14572
|
}
|
|
14573
|
-
var
|
|
14573
|
+
var Fu;
|
|
14574
14574
|
function Qm() {
|
|
14575
|
-
return
|
|
14575
|
+
return Fu || (Fu = 1, (function(e) {
|
|
14576
14576
|
var t = xn && xn.__awaiter || function(D, x, m, g) {
|
|
14577
14577
|
return new (m || (m = Promise))(function(b, _) {
|
|
14578
14578
|
function E(O) {
|
|
@@ -14598,7 +14598,7 @@ function Qm() {
|
|
|
14598
14598
|
});
|
|
14599
14599
|
};
|
|
14600
14600
|
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
14601
|
-
const r =
|
|
14601
|
+
const r = vh(), n = mh(), i = Hm(), a = cn();
|
|
14602
14602
|
function o(D, x) {
|
|
14603
14603
|
return !!(D & x);
|
|
14604
14604
|
}
|
|
@@ -14686,18 +14686,18 @@ function Qm() {
|
|
|
14686
14686
|
}
|
|
14687
14687
|
})(xn)), xn;
|
|
14688
14688
|
}
|
|
14689
|
-
var
|
|
14689
|
+
var Bu;
|
|
14690
14690
|
function Gm() {
|
|
14691
|
-
return
|
|
14691
|
+
return Bu || (Bu = 1, (function(e) {
|
|
14692
14692
|
function t(r) {
|
|
14693
14693
|
for (var n in r) e.hasOwnProperty(n) || (e[n] = r[n]);
|
|
14694
14694
|
}
|
|
14695
|
-
Object.defineProperty(e, "__esModule", { value: !0 }), t(
|
|
14695
|
+
Object.defineProperty(e, "__esModule", { value: !0 }), t(vh()), t(mh()), t(Qm());
|
|
14696
14696
|
})(za)), za;
|
|
14697
14697
|
}
|
|
14698
|
-
var
|
|
14698
|
+
var qu;
|
|
14699
14699
|
function Ym() {
|
|
14700
|
-
return
|
|
14700
|
+
return qu || (qu = 1, (function(e) {
|
|
14701
14701
|
function t(r) {
|
|
14702
14702
|
for (var n in r) e.hasOwnProperty(n) || (e[n] = r[n]);
|
|
14703
14703
|
}
|
|
@@ -14995,7 +14995,7 @@ function Ni() {
|
|
|
14995
14995
|
const e = be((r) => r.titleSize);
|
|
14996
14996
|
return Oe((r) => r.getTotalHeight)(e);
|
|
14997
14997
|
}
|
|
14998
|
-
function
|
|
14998
|
+
function gh(e) {
|
|
14999
14999
|
const t = be((n) => n.titleSize);
|
|
15000
15000
|
return Oe((n) => n.getPrevHeights)(e, t);
|
|
15001
15001
|
}
|
|
@@ -15049,18 +15049,18 @@ function kt({
|
|
|
15049
15049
|
handleLeave: s
|
|
15050
15050
|
};
|
|
15051
15051
|
}
|
|
15052
|
-
var
|
|
15052
|
+
var yh = /* @__PURE__ */ ((e) => (e.ValuedPoint = "valuedPoint", e.BigZoomData = "bigZoomData", e.BigWigData = "bigWigData", e))(yh || {});
|
|
15053
15053
|
function vg(e) {
|
|
15054
15054
|
return e[0].x !== void 0 ? "valuedPoint" : e[0].minVal !== void 0 ? "bigZoomData" : "bigWigData";
|
|
15055
15055
|
}
|
|
15056
|
-
const
|
|
15056
|
+
const bh = (e) => {
|
|
15057
15057
|
if (!e.length) return { min: 0, max: 0 };
|
|
15058
15058
|
switch (vg(e)) {
|
|
15059
15059
|
// case DataType.BigWigData:
|
|
15060
15060
|
// return calculateRange(data as BigWigData[], (d) => d.value);
|
|
15061
15061
|
// case DataType.BigZoomData:
|
|
15062
15062
|
// return calculateRange(data as BigZoomData[], (d) => d.maxVal);
|
|
15063
|
-
case
|
|
15063
|
+
case yh.ValuedPoint:
|
|
15064
15064
|
const t = e;
|
|
15065
15065
|
return {
|
|
15066
15066
|
min: Math.min(...t.map((r) => r.min)),
|
|
@@ -15169,7 +15169,7 @@ function _g(e, t) {
|
|
|
15169
15169
|
}))
|
|
15170
15170
|
);
|
|
15171
15171
|
}
|
|
15172
|
-
const
|
|
15172
|
+
const xh = (e, t) => {
|
|
15173
15173
|
const r = t(e.start), n = t(e.end);
|
|
15174
15174
|
return {
|
|
15175
15175
|
...e,
|
|
@@ -15177,7 +15177,7 @@ const _h = (e, t) => {
|
|
|
15177
15177
|
end: Math.round(n)
|
|
15178
15178
|
};
|
|
15179
15179
|
};
|
|
15180
|
-
function
|
|
15180
|
+
function _h({
|
|
15181
15181
|
id: e,
|
|
15182
15182
|
data: t,
|
|
15183
15183
|
height: r,
|
|
@@ -15199,7 +15199,7 @@ function wh({
|
|
|
15199
15199
|
/* @__PURE__ */ S.jsx("rect", { width: l, height: r, fill: "transparent" }),
|
|
15200
15200
|
/* @__PURE__ */ S.jsx("defs", { children: /* @__PURE__ */ S.jsx(Or, { id: e, width: l, height: r }) }),
|
|
15201
15201
|
w.map((g, b) => {
|
|
15202
|
-
const _ =
|
|
15202
|
+
const _ = xh(g, h), E = r * (1 - 2 * a), C = r * a;
|
|
15203
15203
|
return /* @__PURE__ */ S.jsx(
|
|
15204
15204
|
"rect",
|
|
15205
15205
|
{
|
|
@@ -15218,7 +15218,7 @@ function wh({
|
|
|
15218
15218
|
})
|
|
15219
15219
|
] });
|
|
15220
15220
|
}
|
|
15221
|
-
const wg = 0,
|
|
15221
|
+
const wg = 0, Uu = 255, j1 = [
|
|
15222
15222
|
"#fd7f6f",
|
|
15223
15223
|
"#7eb0d5",
|
|
15224
15224
|
"#b2e061",
|
|
@@ -15247,7 +15247,7 @@ function Zt(e, t) {
|
|
|
15247
15247
|
e = Eg(e);
|
|
15248
15248
|
let r = "#";
|
|
15249
15249
|
for (let n = 0; n < 3; ++n) {
|
|
15250
|
-
const i = parseInt(e.substr(n * 2, 2), 16), a = Math.round(Math.min(Math.max(wg, i + t *
|
|
15250
|
+
const i = parseInt(e.substr(n * 2, 2), 16), a = Math.round(Math.min(Math.max(wg, i + t * Uu), Uu)).toString(16);
|
|
15251
15251
|
r += ("00" + a).substr(a.length);
|
|
15252
15252
|
}
|
|
15253
15253
|
return r;
|
|
@@ -15258,7 +15258,7 @@ function Co(e, t) {
|
|
|
15258
15258
|
const qn = (e) => {
|
|
15259
15259
|
const t = e.slice(1), r = parseInt(t.slice(0, 2), 16), n = parseInt(t.slice(2, 4), 16), i = parseInt(t.slice(4, 6), 16);
|
|
15260
15260
|
return (0.299 * r + 0.587 * n + 0.114 * i) / 255 < 0.5;
|
|
15261
|
-
},
|
|
15261
|
+
}, wh = (e, t, r) => {
|
|
15262
15262
|
if (e.createSVGPoint && e) {
|
|
15263
15263
|
let i = e.createSVGPoint();
|
|
15264
15264
|
return i.x = t, i.y = r, i = i.matrixTransform(e.getScreenCTM().inverse()), [i.x, i.y];
|
|
@@ -15291,14 +15291,14 @@ function ps(e, t, r, n) {
|
|
|
15291
15291
|
}
|
|
15292
15292
|
function Sg(e, t, r, n) {
|
|
15293
15293
|
if (!t || !t.current || !r) return;
|
|
15294
|
-
const i =
|
|
15294
|
+
const i = wh(t.current, e.clientX, e.clientY), a = Math.round(i[0] - n), o = Math.max(0, Math.min(a, r - 1));
|
|
15295
15295
|
return { pos: { x: i[0], y: i[1] }, index: o };
|
|
15296
15296
|
}
|
|
15297
15297
|
function kg({ id: e, data: t, color: r, height: n, dimensions: i, tooltip: a }) {
|
|
15298
15298
|
var M;
|
|
15299
15299
|
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), w = be((j) => j.svgRef), D = ye(() => {
|
|
15300
15300
|
const V = ((t == null ? void 0 : t.length) ?? 0) / l, W = Math.floor(u * V), X = Math.floor((u + 1) * V), H = t == null ? void 0 : t.slice(W, X);
|
|
15301
|
-
return
|
|
15301
|
+
return bh(H ?? []);
|
|
15302
15302
|
}, [t, l, u]);
|
|
15303
15303
|
Ue(() => {
|
|
15304
15304
|
f(e, { range: D });
|
|
@@ -15361,10 +15361,10 @@ var wn = { exports: {} }, Va = {}, ii = { exports: {} }, ai = { exports: {} }, N
|
|
|
15361
15361
|
* This source code is licensed under the MIT license found in the
|
|
15362
15362
|
* LICENSE file in the root directory of this source tree.
|
|
15363
15363
|
*/
|
|
15364
|
-
var
|
|
15364
|
+
var zu;
|
|
15365
15365
|
function Tg() {
|
|
15366
|
-
if (
|
|
15367
|
-
|
|
15366
|
+
if (zu) return Ne;
|
|
15367
|
+
zu = 1;
|
|
15368
15368
|
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, w = e ? Symbol.for("react.lazy") : 60116, D = e ? Symbol.for("react.block") : 60121, x = e ? Symbol.for("react.fundamental") : 60117, m = e ? Symbol.for("react.responder") : 60118, g = e ? Symbol.for("react.scope") : 60119;
|
|
15369
15369
|
function b(E) {
|
|
15370
15370
|
if (typeof E == "object" && E !== null) {
|
|
@@ -15436,9 +15436,9 @@ var je = {};
|
|
|
15436
15436
|
* This source code is licensed under the MIT license found in the
|
|
15437
15437
|
* LICENSE file in the root directory of this source tree.
|
|
15438
15438
|
*/
|
|
15439
|
-
var
|
|
15439
|
+
var Vu;
|
|
15440
15440
|
function Dg() {
|
|
15441
|
-
return
|
|
15441
|
+
return Vu || (Vu = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
15442
15442
|
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, w = e ? Symbol.for("react.lazy") : 60116, D = e ? Symbol.for("react.block") : 60121, x = e ? Symbol.for("react.fundamental") : 60117, m = e ? Symbol.for("react.responder") : 60118, g = e ? Symbol.for("react.scope") : 60119;
|
|
15443
15443
|
function b(ae) {
|
|
15444
15444
|
return typeof ae == "string" || typeof ae == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
@@ -15519,19 +15519,19 @@ function Dg() {
|
|
|
15519
15519
|
je.AsyncMode = E, je.ConcurrentMode = C, je.ContextConsumer = T, je.ContextProvider = O, je.Element = A, je.ForwardRef = M, je.Fragment = j, je.Lazy = V, je.Memo = W, je.Portal = X, je.Profiler = H, je.StrictMode = te, je.Suspense = Q, je.isAsyncMode = oe, je.isConcurrentMode = $, je.isContextConsumer = F, je.isContextProvider = K, je.isElement = ne, je.isForwardRef = ue, je.isFragment = ge, je.isLazy = de, je.isMemo = se, je.isPortal = le, je.isProfiler = xe, je.isStrictMode = we, je.isSuspense = Fe, je.isValidElementType = b, je.typeOf = _;
|
|
15520
15520
|
})()), je;
|
|
15521
15521
|
}
|
|
15522
|
-
var
|
|
15523
|
-
function
|
|
15524
|
-
return
|
|
15522
|
+
var $u;
|
|
15523
|
+
function Eh() {
|
|
15524
|
+
return $u || ($u = 1, process.env.NODE_ENV === "production" ? ai.exports = Tg() : ai.exports = Dg()), ai.exports;
|
|
15525
15525
|
}
|
|
15526
15526
|
/*
|
|
15527
15527
|
object-assign
|
|
15528
15528
|
(c) Sindre Sorhus
|
|
15529
15529
|
@license MIT
|
|
15530
15530
|
*/
|
|
15531
|
-
var $a,
|
|
15531
|
+
var $a, Wu;
|
|
15532
15532
|
function Cg() {
|
|
15533
|
-
if (
|
|
15534
|
-
|
|
15533
|
+
if (Wu) return $a;
|
|
15534
|
+
Wu = 1;
|
|
15535
15535
|
var e = Object.getOwnPropertySymbols, t = Object.prototype.hasOwnProperty, r = Object.prototype.propertyIsEnumerable;
|
|
15536
15536
|
function n(a) {
|
|
15537
15537
|
if (a == null)
|
|
@@ -15574,25 +15574,25 @@ function Cg() {
|
|
|
15574
15574
|
return c;
|
|
15575
15575
|
}, $a;
|
|
15576
15576
|
}
|
|
15577
|
-
var Wa,
|
|
15577
|
+
var Wa, Hu;
|
|
15578
15578
|
function vs() {
|
|
15579
|
-
if (
|
|
15580
|
-
|
|
15579
|
+
if (Hu) return Wa;
|
|
15580
|
+
Hu = 1;
|
|
15581
15581
|
var e = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
|
|
15582
15582
|
return Wa = e, Wa;
|
|
15583
15583
|
}
|
|
15584
|
-
var Ha,
|
|
15585
|
-
function
|
|
15586
|
-
return
|
|
15584
|
+
var Ha, Qu;
|
|
15585
|
+
function Sh() {
|
|
15586
|
+
return Qu || (Qu = 1, Ha = Function.call.bind(Object.prototype.hasOwnProperty)), Ha;
|
|
15587
15587
|
}
|
|
15588
|
-
var Qa,
|
|
15588
|
+
var Qa, Gu;
|
|
15589
15589
|
function Og() {
|
|
15590
|
-
if (
|
|
15591
|
-
|
|
15590
|
+
if (Gu) return Qa;
|
|
15591
|
+
Gu = 1;
|
|
15592
15592
|
var e = function() {
|
|
15593
15593
|
};
|
|
15594
15594
|
if (process.env.NODE_ENV !== "production") {
|
|
15595
|
-
var t = /* @__PURE__ */ vs(), r = {}, n = /* @__PURE__ */
|
|
15595
|
+
var t = /* @__PURE__ */ vs(), r = {}, n = /* @__PURE__ */ Sh();
|
|
15596
15596
|
e = function(a) {
|
|
15597
15597
|
var o = "Warning: " + a;
|
|
15598
15598
|
typeof console < "u" && console.error(o);
|
|
@@ -15634,11 +15634,11 @@ function Og() {
|
|
|
15634
15634
|
process.env.NODE_ENV !== "production" && (r = {});
|
|
15635
15635
|
}, Qa = i, Qa;
|
|
15636
15636
|
}
|
|
15637
|
-
var Ga,
|
|
15637
|
+
var Ga, Yu;
|
|
15638
15638
|
function Ig() {
|
|
15639
|
-
if (
|
|
15640
|
-
|
|
15641
|
-
var e =
|
|
15639
|
+
if (Yu) return Ga;
|
|
15640
|
+
Yu = 1;
|
|
15641
|
+
var e = Eh(), t = Cg(), r = /* @__PURE__ */ vs(), n = /* @__PURE__ */ Sh(), i = /* @__PURE__ */ Og(), a = function() {
|
|
15642
15642
|
};
|
|
15643
15643
|
process.env.NODE_ENV !== "production" && (a = function(s) {
|
|
15644
15644
|
var c = "Warning: " + s;
|
|
@@ -15955,10 +15955,10 @@ Valid keys: ` + JSON.stringify(Object.keys($), null, " ")
|
|
|
15955
15955
|
return h.checkPropTypes = i, h.resetWarningCache = i.resetWarningCache, h.PropTypes = h, h;
|
|
15956
15956
|
}, Ga;
|
|
15957
15957
|
}
|
|
15958
|
-
var Ya,
|
|
15958
|
+
var Ya, Xu;
|
|
15959
15959
|
function Rg() {
|
|
15960
|
-
if (
|
|
15961
|
-
|
|
15960
|
+
if (Xu) return Ya;
|
|
15961
|
+
Xu = 1;
|
|
15962
15962
|
var e = /* @__PURE__ */ vs();
|
|
15963
15963
|
function t() {
|
|
15964
15964
|
}
|
|
@@ -16003,20 +16003,20 @@ function Rg() {
|
|
|
16003
16003
|
return a.PropTypes = a, a;
|
|
16004
16004
|
}, Ya;
|
|
16005
16005
|
}
|
|
16006
|
-
var
|
|
16007
|
-
function
|
|
16008
|
-
if (
|
|
16009
|
-
if (
|
|
16010
|
-
var e =
|
|
16006
|
+
var Zu;
|
|
16007
|
+
function kh() {
|
|
16008
|
+
if (Zu) return ii.exports;
|
|
16009
|
+
if (Zu = 1, process.env.NODE_ENV !== "production") {
|
|
16010
|
+
var e = Eh(), t = !0;
|
|
16011
16011
|
ii.exports = /* @__PURE__ */ Ig()(e.isElement, t);
|
|
16012
16012
|
} else
|
|
16013
16013
|
ii.exports = /* @__PURE__ */ Rg()();
|
|
16014
16014
|
return ii.exports;
|
|
16015
16015
|
}
|
|
16016
|
-
var oi = { exports: {} },
|
|
16016
|
+
var oi = { exports: {} }, Ju;
|
|
16017
16017
|
function Lg() {
|
|
16018
|
-
if (
|
|
16019
|
-
|
|
16018
|
+
if (Ju) return oi.exports;
|
|
16019
|
+
Ju = 1;
|
|
16020
16020
|
function e(r) {
|
|
16021
16021
|
var n, i, a = "";
|
|
16022
16022
|
if (typeof r == "string" || typeof r == "number") a += r;
|
|
@@ -16032,10 +16032,10 @@ function Lg() {
|
|
|
16032
16032
|
}
|
|
16033
16033
|
return oi.exports = t, oi.exports.clsx = t, oi.exports;
|
|
16034
16034
|
}
|
|
16035
|
-
var Xe = {}, tr = {},
|
|
16035
|
+
var Xe = {}, tr = {}, Ku;
|
|
16036
16036
|
function Pi() {
|
|
16037
|
-
if (
|
|
16038
|
-
|
|
16037
|
+
if (Ku) return tr;
|
|
16038
|
+
Ku = 1, Object.defineProperty(tr, "__esModule", {
|
|
16039
16039
|
value: !0
|
|
16040
16040
|
}), tr.dontSetMe = i, tr.findInArray = e, tr.int = n, tr.isFunction = t, tr.isNum = r;
|
|
16041
16041
|
function e(a, o) {
|
|
@@ -16057,10 +16057,10 @@ function Pi() {
|
|
|
16057
16057
|
}
|
|
16058
16058
|
return tr;
|
|
16059
16059
|
}
|
|
16060
|
-
var rr = {},
|
|
16060
|
+
var rr = {}, el;
|
|
16061
16061
|
function Mg() {
|
|
16062
|
-
if (
|
|
16063
|
-
|
|
16062
|
+
if (el) return rr;
|
|
16063
|
+
el = 1, Object.defineProperty(rr, "__esModule", {
|
|
16064
16064
|
value: !0
|
|
16065
16065
|
}), rr.browserPrefixToKey = r, rr.browserPrefixToStyle = n, rr.default = void 0, rr.getPrefix = t;
|
|
16066
16066
|
const e = ["Moz", "Webkit", "O", "ms"];
|
|
@@ -16088,10 +16088,10 @@ function Mg() {
|
|
|
16088
16088
|
}
|
|
16089
16089
|
return rr.default = t(), rr;
|
|
16090
16090
|
}
|
|
16091
|
-
var
|
|
16091
|
+
var tl;
|
|
16092
16092
|
function ms() {
|
|
16093
|
-
if (
|
|
16094
|
-
|
|
16093
|
+
if (tl) return Xe;
|
|
16094
|
+
tl = 1, Object.defineProperty(Xe, "__esModule", {
|
|
16095
16095
|
value: !0
|
|
16096
16096
|
}), Xe.addClassName = E, Xe.addEvent = o, Xe.addUserSelectStyles = g, Xe.createCSSTransform = h, Xe.createSVGTransform = w, Xe.getTouch = x, Xe.getTouchIdentifier = m, Xe.getTranslation = D, 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 = b;
|
|
16097
16097
|
var e = Pi(), t = r(Mg());
|
|
@@ -16229,10 +16229,10 @@ function ms() {
|
|
|
16229
16229
|
}
|
|
16230
16230
|
return Xe;
|
|
16231
16231
|
}
|
|
16232
|
-
var Ft = {},
|
|
16233
|
-
function
|
|
16234
|
-
if (
|
|
16235
|
-
|
|
16232
|
+
var Ft = {}, rl;
|
|
16233
|
+
function Th() {
|
|
16234
|
+
if (rl) return Ft;
|
|
16235
|
+
rl = 1, Object.defineProperty(Ft, "__esModule", {
|
|
16236
16236
|
value: !0
|
|
16237
16237
|
}), Ft.canDragX = i, Ft.canDragY = a, Ft.createCoreData = s, Ft.createDraggableData = c, Ft.getBoundPosition = r, Ft.getControlPosition = o, Ft.snapToGrid = n;
|
|
16238
16238
|
var e = Pi(), t = ms();
|
|
@@ -16324,23 +16324,23 @@ function Dh() {
|
|
|
16324
16324
|
}
|
|
16325
16325
|
return Ft;
|
|
16326
16326
|
}
|
|
16327
|
-
var En = {}, si = {},
|
|
16328
|
-
function
|
|
16329
|
-
if (
|
|
16330
|
-
|
|
16327
|
+
var En = {}, si = {}, nl;
|
|
16328
|
+
function Dh() {
|
|
16329
|
+
if (nl) return si;
|
|
16330
|
+
nl = 1, Object.defineProperty(si, "__esModule", {
|
|
16331
16331
|
value: !0
|
|
16332
16332
|
}), si.default = e;
|
|
16333
16333
|
function e() {
|
|
16334
16334
|
}
|
|
16335
16335
|
return si;
|
|
16336
16336
|
}
|
|
16337
|
-
var
|
|
16337
|
+
var il;
|
|
16338
16338
|
function Ag() {
|
|
16339
|
-
if (
|
|
16340
|
-
|
|
16339
|
+
if (il) return En;
|
|
16340
|
+
il = 1, Object.defineProperty(En, "__esModule", {
|
|
16341
16341
|
value: !0
|
|
16342
16342
|
}), En.default = void 0;
|
|
16343
|
-
var e = c(Ve), t = s(/* @__PURE__ */
|
|
16343
|
+
var e = c(Ve), t = s(/* @__PURE__ */ kh()), r = s(kl), n = ms(), i = Th(), a = Pi(), o = s(Dh());
|
|
16344
16344
|
function s(D) {
|
|
16345
16345
|
return D && D.__esModule ? D : { default: D };
|
|
16346
16346
|
}
|
|
@@ -16635,9 +16635,9 @@ function Ag() {
|
|
|
16635
16635
|
scale: 1
|
|
16636
16636
|
}), En;
|
|
16637
16637
|
}
|
|
16638
|
-
var
|
|
16638
|
+
var al;
|
|
16639
16639
|
function Ng() {
|
|
16640
|
-
return
|
|
16640
|
+
return al || (al = 1, (function(e) {
|
|
16641
16641
|
Object.defineProperty(e, "__esModule", {
|
|
16642
16642
|
value: !0
|
|
16643
16643
|
}), Object.defineProperty(e, "DraggableCore", {
|
|
@@ -16646,7 +16646,7 @@ function Ng() {
|
|
|
16646
16646
|
return c.default;
|
|
16647
16647
|
}
|
|
16648
16648
|
}), e.default = void 0;
|
|
16649
|
-
var t = f(Ve), r = l(/* @__PURE__ */
|
|
16649
|
+
var t = f(Ve), r = l(/* @__PURE__ */ kh()), n = l(kl), i = Lg(), a = ms(), o = Th(), s = Pi(), c = l(Ag()), u = l(Dh());
|
|
16650
16650
|
function l(m) {
|
|
16651
16651
|
return m && m.__esModule ? m : { default: m };
|
|
16652
16652
|
}
|
|
@@ -16949,10 +16949,10 @@ function Ng() {
|
|
|
16949
16949
|
});
|
|
16950
16950
|
})(Va)), Va;
|
|
16951
16951
|
}
|
|
16952
|
-
var
|
|
16952
|
+
var ol;
|
|
16953
16953
|
function jg() {
|
|
16954
|
-
if (
|
|
16955
|
-
|
|
16954
|
+
if (ol) return wn.exports;
|
|
16955
|
+
ol = 1;
|
|
16956
16956
|
const {
|
|
16957
16957
|
default: e,
|
|
16958
16958
|
DraggableCore: t
|
|
@@ -16969,7 +16969,7 @@ function gs() {
|
|
|
16969
16969
|
t(n.width / r.current.viewBox.baseVal.width);
|
|
16970
16970
|
}, [r]), e;
|
|
16971
16971
|
}
|
|
16972
|
-
function
|
|
16972
|
+
function Ch({ children: e, id: t }) {
|
|
16973
16973
|
const [r, n] = Me(!1), [i, a] = Me({ x: 0, y: 0 }), o = rt(null), s = be((D) => D.delta), c = be((D) => D.setDelta), u = be((D) => D.shiftDomain), l = gs();
|
|
16974
16974
|
Ue(() => {
|
|
16975
16975
|
r || a({ x: s, y: 0 });
|
|
@@ -17183,15 +17183,15 @@ function Ug({
|
|
|
17183
17183
|
] })
|
|
17184
17184
|
] }),
|
|
17185
17185
|
T && /* @__PURE__ */ S.jsxs(S.Fragment, { children: [
|
|
17186
|
-
/* @__PURE__ */ S.jsx(
|
|
17187
|
-
/* @__PURE__ */ S.jsx(
|
|
17186
|
+
/* @__PURE__ */ S.jsx(sl, { color: A, position: t, width: s, fontSize: u, children: T.min.toFixed(2) }),
|
|
17187
|
+
/* @__PURE__ */ S.jsx(sl, { color: A, position: o, width: s, fontSize: u, children: T.max.toFixed(2) })
|
|
17188
17188
|
] }),
|
|
17189
17189
|
/* @__PURE__ */ S.jsx("line", { stroke: "#ccc", x1: s, x2: s, y1: 0, y2: t })
|
|
17190
17190
|
]
|
|
17191
17191
|
}
|
|
17192
17192
|
);
|
|
17193
17193
|
}
|
|
17194
|
-
function
|
|
17194
|
+
function sl({
|
|
17195
17195
|
position: e,
|
|
17196
17196
|
width: t,
|
|
17197
17197
|
children: r,
|
|
@@ -17325,7 +17325,7 @@ function $g({
|
|
|
17325
17325
|
height: n,
|
|
17326
17326
|
width: i
|
|
17327
17327
|
}) {
|
|
17328
|
-
const [a, o] = Me({ x: 0, y: 0 }), [s, c] = Me(!1), [u, l] = Me(0), f = rt(null), d = gs(), h = be((E) => E.marginWidth), w = Oe((E) => E.shiftTracks), D = Oe((E) => E.getTrackIndex), x =
|
|
17328
|
+
const [a, o] = Me({ x: 0, y: 0 }), [s, c] = Me(!1), [u, l] = Me(0), f = rt(null), d = gs(), h = be((E) => E.marginWidth), w = Oe((E) => E.shiftTracks), D = Oe((E) => E.getTrackIndex), x = gh(e), m = hg(e), g = (E, C) => {
|
|
17329
17329
|
E.preventDefault(), c(!0), r(!0), o({ x: 0, y: C.y }), l(C.y);
|
|
17330
17330
|
}, b = () => {
|
|
17331
17331
|
if (o({ x: 0, y: 0 }), c(!1), r(!1), Math.abs(u) <= 5) return;
|
|
@@ -17356,7 +17356,7 @@ function Wg({
|
|
|
17356
17356
|
margin: i
|
|
17357
17357
|
}) {
|
|
17358
17358
|
const a = be((c) => c.svgRef), o = gs(), s = rt(null);
|
|
17359
|
-
return
|
|
17359
|
+
return Tl(
|
|
17360
17360
|
/* @__PURE__ */ S.jsx(
|
|
17361
17361
|
Fi,
|
|
17362
17362
|
{
|
|
@@ -17412,7 +17412,7 @@ function Zg({
|
|
|
17412
17412
|
] })
|
|
17413
17413
|
] });
|
|
17414
17414
|
}
|
|
17415
|
-
function
|
|
17415
|
+
function Oh({ children: e, transform: t, id: r, loading: n, error: i }) {
|
|
17416
17416
|
const [a, o] = Me(!1), [s, c] = Me(!1), u = be((O) => O.marginWidth), l = be((O) => O.browserWidth), f = ye(() => l - u, [l, u]), d = Oe((O) => {
|
|
17417
17417
|
var A;
|
|
17418
17418
|
return (A = O.getTrack(r)) == null ? void 0 : A.color;
|
|
@@ -17442,7 +17442,7 @@ function Ih({ children: e, transform: t, id: r, loading: n, error: i }) {
|
|
|
17442
17442
|
]
|
|
17443
17443
|
}
|
|
17444
17444
|
),
|
|
17445
|
-
!n && !i && /* @__PURE__ */ S.jsx(
|
|
17445
|
+
!n && !i && /* @__PURE__ */ S.jsx(Ch, { id: r, children: /* @__PURE__ */ S.jsx(
|
|
17446
17446
|
"g",
|
|
17447
17447
|
{
|
|
17448
17448
|
transform: `translate(${u},${x})`,
|
|
@@ -17520,7 +17520,7 @@ function Jg({
|
|
|
17520
17520
|
/* @__PURE__ */ S.jsx("rect", { width: u, height: r, fill: "transparent" }),
|
|
17521
17521
|
/* @__PURE__ */ S.jsx("defs", { children: /* @__PURE__ */ S.jsx(Or, { id: e, width: u, height: r }) }),
|
|
17522
17522
|
w.map((b, _) => /* @__PURE__ */ S.jsx("g", { transform: `translate(0, ${_ * D})`, children: b.map((E, C) => {
|
|
17523
|
-
const T =
|
|
17523
|
+
const T = xh(E, h);
|
|
17524
17524
|
return /* @__PURE__ */ S.jsx(
|
|
17525
17525
|
"rect",
|
|
17526
17526
|
{
|
|
@@ -17539,30 +17539,27 @@ function Jg({
|
|
|
17539
17539
|
}) }, `group_${_}`))
|
|
17540
17540
|
] });
|
|
17541
17541
|
}
|
|
17542
|
-
function
|
|
17542
|
+
function Ih(e) {
|
|
17543
17543
|
return e ? e.includes("MANE_Select") : !1;
|
|
17544
17544
|
}
|
|
17545
17545
|
function Kg(e, t) {
|
|
17546
17546
|
return e.coordinates.start === t.coordinates.start ? e.coordinates.end - t.coordinates.end : e.coordinates.start - t.coordinates.start;
|
|
17547
17547
|
}
|
|
17548
17548
|
function ey(e) {
|
|
17549
|
-
const
|
|
17550
|
-
|
|
17551
|
-
|
|
17552
|
-
|
|
17553
|
-
|
|
17554
|
-
a.coordinates.start < i[i.length - 1].coordinates.end ? (i[i.length - 1].UTRs = [...i[i.length - 1].UTRs || [], ...a.UTRs || []], i[i.length - 1].coordinates.end = Math.max(a.coordinates.end, i[i.length - 1].coordinates.end)) : i.push({ coordinates: { ...a.coordinates }, UTRs: a.UTRs && [...a.UTRs] });
|
|
17555
|
-
}), i.forEach((a) => {
|
|
17556
|
-
a.UTRs = ty(a.UTRs || []);
|
|
17549
|
+
const r = e.transcripts.reduce((i, a) => [...i, ...a.exons || []], []).sort(Kg), n = r.length === 0 ? [] : [{ coordinates: { ...r[0].coordinates }, UTRs: r[0].UTRs && [...r[0].UTRs] }];
|
|
17550
|
+
return r.slice(1).forEach((i) => {
|
|
17551
|
+
i.coordinates.start < n[n.length - 1].coordinates.end ? (n[n.length - 1].UTRs = [...n[n.length - 1].UTRs || [], ...i.UTRs || []], n[n.length - 1].coordinates.end = Math.max(i.coordinates.end, n[n.length - 1].coordinates.end)) : n.push({ coordinates: { ...i.coordinates }, UTRs: i.UTRs && [...i.UTRs] });
|
|
17552
|
+
}), n.forEach((i) => {
|
|
17553
|
+
i.UTRs = ty(i.UTRs || []);
|
|
17557
17554
|
}), {
|
|
17558
17555
|
name: e.name || "",
|
|
17559
17556
|
strand: e.strand,
|
|
17560
17557
|
id: e.id || "",
|
|
17561
17558
|
coordinates: {
|
|
17562
|
-
start: Math.min(...
|
|
17563
|
-
end: Math.max(...
|
|
17559
|
+
start: Math.min(...r.map((i) => i.coordinates.start)),
|
|
17560
|
+
end: Math.max(...r.map((i) => i.coordinates.end))
|
|
17564
17561
|
},
|
|
17565
|
-
exons:
|
|
17562
|
+
exons: n,
|
|
17566
17563
|
color: ""
|
|
17567
17564
|
};
|
|
17568
17565
|
}
|
|
@@ -17698,7 +17695,7 @@ function oy({
|
|
|
17698
17695
|
children: M.transcripts.map((V, W) => {
|
|
17699
17696
|
const X = Lh(V.transcript, D);
|
|
17700
17697
|
let H;
|
|
17701
|
-
return
|
|
17698
|
+
return Ih(V.transcript.tag) ? H = o : r !== "" && V.transcript.name.toLowerCase().includes(r == null ? void 0 : r.toLowerCase()) && (H = s), /* @__PURE__ */ S.jsxs("g", { children: [
|
|
17702
17699
|
/* @__PURE__ */ S.jsx(
|
|
17703
17700
|
"path",
|
|
17704
17701
|
{
|
|
@@ -17782,7 +17779,7 @@ function sy({
|
|
|
17782
17779
|
children: M.transcripts.map((V, W) => {
|
|
17783
17780
|
const X = Lh(V.transcript, D);
|
|
17784
17781
|
let H;
|
|
17785
|
-
return
|
|
17782
|
+
return Ih(V.transcript.tag) ? H = o : r !== "" && V.transcript.name.toLowerCase().includes(r == null ? void 0 : r.toLowerCase()) && (H = s), /* @__PURE__ */ S.jsxs("g", { children: [
|
|
17786
17783
|
/* @__PURE__ */ S.jsx(
|
|
17787
17784
|
"path",
|
|
17788
17785
|
{
|
|
@@ -18099,7 +18096,7 @@ const Ay = (e) => /* @__PURE__ */ S.jsx(
|
|
|
18099
18096
|
...e,
|
|
18100
18097
|
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"
|
|
18101
18098
|
}
|
|
18102
|
-
),
|
|
18099
|
+
), ys = (e) => /* @__PURE__ */ S.jsxs("g", { children: [
|
|
18103
18100
|
/* @__PURE__ */ S.jsx(
|
|
18104
18101
|
"path",
|
|
18105
18102
|
{
|
|
@@ -18140,7 +18137,7 @@ const Ay = (e) => /* @__PURE__ */ S.jsx(
|
|
|
18140
18137
|
L 80 40 L 80 60 L 20 60 L 20 100 L 0 100
|
|
18141
18138
|
L 0 0`, Zy = (e) => /* @__PURE__ */ S.jsx("path", { ...e, d: Xy }), Jy = `M 100 28 C 100 -13 0 -13 0 50 C 0 113 100 113 100 72
|
|
18142
18139
|
L 100 48 L 55 48 L 55 72 L 75 72 C 75 90 30 90 30 50
|
|
18143
|
-
C 30 10 75 5 75 28 L 100 28`,
|
|
18140
|
+
C 30 10 75 5 75 28 L 100 28`, bs = (e) => /* @__PURE__ */ S.jsx("path", { ...e, d: Jy }), Ky = `M 0 0 L 20 0 L 20 40 L 80 40 L 80 0
|
|
18144
18141
|
L 100 0 L 100 100 L 80 100 L 80 60
|
|
18145
18142
|
L 20 60 L 20 100 L 0 100 L 0 0`, eb = (e) => /* @__PURE__ */ S.jsx("path", { ...e, d: Ky }), tb = "M 40 0 L 60 0 L 60 100 L 40 100 L 40 0", rb = (e) => /* @__PURE__ */ S.jsx("path", { ...e, d: tb }), nb = `M 0 60 C 0 111 100 111 100 60
|
|
18146
18143
|
L 100 0 L 75 0 L 75 60
|
|
@@ -18195,7 +18192,7 @@ const Ay = (e) => /* @__PURE__ */ S.jsx(
|
|
|
18195
18192
|
d: "M 20 15 L 70 15 C 80 15 80 35 70 35 L 20 35 L 20 15"
|
|
18196
18193
|
}
|
|
18197
18194
|
)
|
|
18198
|
-
] }), bb = "M92 26 A43 20 0 1 0 43 46 A42 23 0 1 1 9 68",
|
|
18195
|
+
] }), bb = "M92 26 A43 20 0 1 0 43 46 A42 23 0 1 1 9 68", cl = ({ fill: e, fillOpacity: t }) => /* @__PURE__ */ S.jsx(
|
|
18199
18196
|
"path",
|
|
18200
18197
|
{
|
|
18201
18198
|
fill: "#ffffff",
|
|
@@ -18206,17 +18203,17 @@ const Ay = (e) => /* @__PURE__ */ S.jsx(
|
|
|
18206
18203
|
}
|
|
18207
18204
|
), xb = `M 0 0 L 0 20 L 35 20 L 35 100
|
|
18208
18205
|
L 65 100 L 65 20 L 100 20
|
|
18209
|
-
L 100 0 L 0 0`,
|
|
18206
|
+
L 100 0 L 0 0`, xs = (e) => /* @__PURE__ */ S.jsx("path", { ...e, d: xb }), _b = `M 0 0 L 0 60 C 0 111 100 111 100 60
|
|
18210
18207
|
L 100 0 L 75 0 L 75 60
|
|
18211
18208
|
C 80 90 20 90 25 60 L 25 0 L 0 0`, wb = (e) => /* @__PURE__ */ S.jsx("path", { ...e, d: _b }), Eb = `M 0 0 L 20 0 L 50 80 L 80 0
|
|
18212
|
-
L 100 0 L 60 100 L 40 100 L 0 0`,
|
|
18209
|
+
L 100 0 L 60 100 L 40 100 L 0 0`, ul = (e) => /* @__PURE__ */ S.jsx("path", { ...e, d: Eb }), Sb = `M 0 0 L 20 0 L 30 70 L 50 30 L 70 70 L 80 0
|
|
18213
18210
|
L 100 0 L 90 100 L 70 100 L 50 65 L 30 100
|
|
18214
|
-
L 10 100 L 0 0`,
|
|
18211
|
+
L 10 100 L 0 0`, ll = (e) => /* @__PURE__ */ S.jsx("path", { ...e, d: Sb }), kb = `M 0 0 L 20 0 L 50 40 L 80 0 L 100 0 L 70 50
|
|
18215
18212
|
L 100 100 L 80 100 L 50 60 L 20 100 L 0 100
|
|
18216
|
-
L 30 50 L 0 0`,
|
|
18213
|
+
L 30 50 L 0 0`, fl = (e) => /* @__PURE__ */ S.jsx("path", { ...e, d: kb }), Tb = `M 0 0 L 20 0 L 50 45 L 80 0 L 100 0
|
|
18217
18214
|
L 60 60 L 60 100 L 40 100 L 40 60 L 0 0`, Db = (e) => /* @__PURE__ */ S.jsx("path", { ...e, d: Tb }), Cb = `M 0 0 L 100 0 L 100 20 L 35 80 L 100 80
|
|
18218
18215
|
L 100 100 L 0 100 L 0 80 L 65 20 L 0 20
|
|
18219
|
-
L 0 0`,
|
|
18216
|
+
L 0 0`, hl = (e) => /* @__PURE__ */ S.jsx("path", { ...e, d: Cb });
|
|
18220
18217
|
function Ob({ xscale: e, yscale: t, inverted: r, children: n }) {
|
|
18221
18218
|
const i = t * (r ? -1 : 1);
|
|
18222
18219
|
return /* @__PURE__ */ S.jsx("g", { transform: "scale(" + e + "," + i + ")", children: n });
|
|
@@ -18295,14 +18292,14 @@ const Ib = ({
|
|
|
18295
18292
|
/* @__PURE__ */ S.jsx("line", { x1: c(t), x2: c(t), y1: a, y2: l }),
|
|
18296
18293
|
";"
|
|
18297
18294
|
] });
|
|
18298
|
-
}, Za = "FREQUENCY",
|
|
18299
|
-
{ component: [
|
|
18295
|
+
}, Za = "FREQUENCY", dl = [
|
|
18296
|
+
{ component: [ys], regex: ["A"], color: ["red"] },
|
|
18300
18297
|
{ component: [Vy], regex: ["B"], color: ["maroon"] },
|
|
18301
18298
|
{ component: [Ei], regex: ["C"], color: ["blue"] },
|
|
18302
18299
|
{ component: [Qy], regex: ["D"], color: ["green"] },
|
|
18303
18300
|
{ component: [Yy], regex: ["E"], color: ["olive"] },
|
|
18304
18301
|
{ component: [Zy], regex: ["F"], color: ["navy"] },
|
|
18305
|
-
{ component: [
|
|
18302
|
+
{ component: [bs], regex: ["G"], color: ["orange"] },
|
|
18306
18303
|
{ component: [eb], regex: ["H"], color: ["teal"] },
|
|
18307
18304
|
{ component: [rb], regex: ["I"], color: ["cadetblue"] },
|
|
18308
18305
|
{ component: [ib], regex: ["J"], color: ["lavender"] },
|
|
@@ -18314,14 +18311,14 @@ const Ib = ({
|
|
|
18314
18311
|
{ component: [pb], regex: ["P"], color: ["darkorchid"] },
|
|
18315
18312
|
{ component: [mb], regex: ["Q"], color: ["darkslateblue"] },
|
|
18316
18313
|
{ component: [yb], regex: ["R"], color: ["firebrick"] },
|
|
18317
|
-
{ component: [
|
|
18318
|
-
{ component: [
|
|
18314
|
+
{ component: [cl], regex: ["S"], color: ["darkslategrey"] },
|
|
18315
|
+
{ component: [xs], regex: ["T"], color: ["#228b22"] },
|
|
18319
18316
|
{ component: [wb], regex: ["U"], color: ["seagreen"] },
|
|
18320
|
-
{ component: [
|
|
18321
|
-
{ component: [
|
|
18322
|
-
{ component: [
|
|
18317
|
+
{ component: [ul], regex: ["V"], color: ["indigo"] },
|
|
18318
|
+
{ component: [ll], regex: ["W"], color: ["mediumseagreen"] },
|
|
18319
|
+
{ component: [fl], regex: ["X"], color: ["black"] },
|
|
18323
18320
|
{ component: [Db], regex: ["Y"], color: ["palevioletred"] },
|
|
18324
|
-
{ component: [
|
|
18321
|
+
{ component: [hl], regex: ["Z"], color: ["peru"] },
|
|
18325
18322
|
{ component: [py], regex: ["a"], color: ["red"] },
|
|
18326
18323
|
{ component: [vy], regex: ["b"], color: ["maroon"] },
|
|
18327
18324
|
{ component: [Ei], regex: ["c"], color: ["purple"] },
|
|
@@ -18340,14 +18337,14 @@ const Ib = ({
|
|
|
18340
18337
|
{ component: [Dy], regex: ["p"], color: ["darkorchid"] },
|
|
18341
18338
|
{ component: [Cy], regex: ["q"], color: ["darkslateblue"] },
|
|
18342
18339
|
{ component: [Oy], regex: ["r"], color: ["firebrick"] },
|
|
18343
|
-
{ component: [
|
|
18340
|
+
{ component: [cl], regex: ["s"], color: ["darkslategrey"] },
|
|
18344
18341
|
{ component: [Iy], regex: ["t"], color: ["#228b22"] },
|
|
18345
18342
|
{ component: [Ry], regex: ["u"], color: ["seagreen"] },
|
|
18346
|
-
{ component: [
|
|
18347
|
-
{ component: [
|
|
18348
|
-
{ component: [
|
|
18343
|
+
{ component: [ul], regex: ["v"], color: ["indigo"] },
|
|
18344
|
+
{ component: [ll], regex: ["w"], color: ["mediumseagreen"] },
|
|
18345
|
+
{ component: [fl], regex: ["x"], color: ["black"] },
|
|
18349
18346
|
{ component: [Ly], regex: ["y"], color: ["palevioletred"] },
|
|
18350
|
-
{ component: [
|
|
18347
|
+
{ component: [hl], regex: ["z"], color: ["peru"] },
|
|
18351
18348
|
{ component: [Xa], regex: ["0"], color: ["indianred"] },
|
|
18352
18349
|
{ component: [My], regex: ["1"], color: ["red"] },
|
|
18353
18350
|
{ component: [Ay], regex: ["2"], color: ["green"] },
|
|
@@ -18363,22 +18360,22 @@ const Ib = ({
|
|
|
18363
18360
|
for (let n = e + 1; n < e + t; ++n)
|
|
18364
18361
|
("" + n).length > r && (r = ("" + n).length);
|
|
18365
18362
|
return r;
|
|
18366
|
-
},
|
|
18363
|
+
}, pl = (() => {
|
|
18367
18364
|
let e = {};
|
|
18368
|
-
return
|
|
18365
|
+
return dl.forEach((t, r) => {
|
|
18369
18366
|
t.regex.forEach((n) => {
|
|
18370
|
-
e[n] =
|
|
18367
|
+
e[n] = dl[r];
|
|
18371
18368
|
});
|
|
18372
18369
|
}), e;
|
|
18373
18370
|
})(), Ab = (e) => e.map((t) => {
|
|
18374
18371
|
if (t.regex.length === 1)
|
|
18375
18372
|
return Object.assign({}, t, {
|
|
18376
|
-
component:
|
|
18373
|
+
component: pl[t.regex[0]].component
|
|
18377
18374
|
});
|
|
18378
18375
|
const r = "#000000";
|
|
18379
18376
|
let n = Object.assign({}, t, { component: [], color: [] });
|
|
18380
18377
|
for (let i = 0; i < n.regex.length; ++i)
|
|
18381
|
-
n.component.push(
|
|
18378
|
+
n.component.push(pl[n.regex[i]].component[0]), n.color.push(t.color && t.color[i] || r);
|
|
18382
18379
|
return n;
|
|
18383
18380
|
}), Nb = (e) => (t, r) => {
|
|
18384
18381
|
let n = 0, i = r || 0;
|
|
@@ -18388,7 +18385,7 @@ const Ib = ({
|
|
|
18388
18385
|
const o = a * (n - i);
|
|
18389
18386
|
return o <= 0 ? 0 : o;
|
|
18390
18387
|
});
|
|
18391
|
-
}, jb = (e) => e.map((t, r) => r).sort((t, r) => e[t] < e[r] ? -1 : e[t] === e[r] ? 0 : 1), Pb = (e) => e.map((t, r) => r).sort((t, r) => e[t] < e[r] ? 1 : e[t] === e[r] ? 0 : -1),
|
|
18388
|
+
}, jb = (e) => e.map((t, r) => r).sort((t, r) => e[t] < e[r] ? -1 : e[t] === e[r] ? 0 : 1), Pb = (e) => e.map((t, r) => r).sort((t, r) => e[t] < e[r] ? 1 : e[t] === e[r] ? 0 : -1), _s = (e) => {
|
|
18392
18389
|
let t = [];
|
|
18393
18390
|
for (let r = 0; r < Math.floor(e); r++)
|
|
18394
18391
|
t.push(r);
|
|
@@ -18399,7 +18396,7 @@ const Ib = ({
|
|
|
18399
18396
|
glyphWidth: r,
|
|
18400
18397
|
startPos: n
|
|
18401
18398
|
}) => {
|
|
18402
|
-
const i =
|
|
18399
|
+
const i = _s(e);
|
|
18403
18400
|
return /* @__PURE__ */ S.jsx("g", { transform: t, children: /* @__PURE__ */ S.jsx("g", { transform: "rotate(-90)", children: i.map((a) => /* @__PURE__ */ S.jsx(
|
|
18404
18401
|
"text",
|
|
18405
18402
|
{
|
|
@@ -18412,7 +18409,7 @@ const Ib = ({
|
|
|
18412
18409
|
a
|
|
18413
18410
|
)) }) });
|
|
18414
18411
|
}, Bb = (e) => {
|
|
18415
|
-
const t =
|
|
18412
|
+
const t = _s(e.bits + 1), r = e.zeroPoint || 1;
|
|
18416
18413
|
return /* @__PURE__ */ S.jsxs("g", { transform: e.transform, children: [
|
|
18417
18414
|
/* @__PURE__ */ S.jsx(
|
|
18418
18415
|
"rect",
|
|
@@ -18456,7 +18453,7 @@ const Ib = ({
|
|
|
18456
18453
|
) })
|
|
18457
18454
|
] });
|
|
18458
18455
|
}, qb = (e) => {
|
|
18459
|
-
const t =
|
|
18456
|
+
const t = _s(e.ticks + 1).map((r) => r / e.ticks);
|
|
18460
18457
|
return /* @__PURE__ */ S.jsxs("g", { transform: e.transform, children: [
|
|
18461
18458
|
/* @__PURE__ */ S.jsx(
|
|
18462
18459
|
"rect",
|
|
@@ -18687,19 +18684,19 @@ const Ib = ({
|
|
|
18687
18684
|
}
|
|
18688
18685
|
);
|
|
18689
18686
|
}, Hb = [
|
|
18690
|
-
{ component: [
|
|
18687
|
+
{ component: [ys], regex: ["A"], color: ["red"] },
|
|
18691
18688
|
{ component: [Ei], regex: ["C"], color: ["blue"] },
|
|
18692
|
-
{ component: [
|
|
18693
|
-
{ component: [
|
|
18689
|
+
{ component: [bs], regex: ["G"], color: ["orange"] },
|
|
18690
|
+
{ component: [xs], regex: ["T"], color: ["#228b22"] }
|
|
18694
18691
|
];
|
|
18695
18692
|
function Qb(e) {
|
|
18696
18693
|
return /* @__PURE__ */ S.jsx(Wb, { ...e, alphabet: Hb });
|
|
18697
18694
|
}
|
|
18698
|
-
const
|
|
18699
|
-
["A",
|
|
18695
|
+
const vl = /* @__PURE__ */ new Map([
|
|
18696
|
+
["A", ys],
|
|
18700
18697
|
["C", Ei],
|
|
18701
|
-
["G",
|
|
18702
|
-
["T",
|
|
18698
|
+
["G", bs],
|
|
18699
|
+
["T", xs]
|
|
18703
18700
|
]), Gb = /* @__PURE__ */ new Map([
|
|
18704
18701
|
["A", "#008800"],
|
|
18705
18702
|
["C", "#000088"],
|
|
@@ -18707,7 +18704,7 @@ const ml = /* @__PURE__ */ new Map([
|
|
|
18707
18704
|
["T", "#880000"]
|
|
18708
18705
|
]), Yb = (e) => {
|
|
18709
18706
|
const [t, r, n] = ye(() => e.transform(e.importance), [e.transform, e.importance]);
|
|
18710
|
-
return
|
|
18707
|
+
return vl.get(e.base) ? /* @__PURE__ */ S.jsxs(S.Fragment, { children: [
|
|
18711
18708
|
/* @__PURE__ */ S.jsx(
|
|
18712
18709
|
"rect",
|
|
18713
18710
|
{
|
|
@@ -18723,7 +18720,7 @@ const ml = /* @__PURE__ */ new Map([
|
|
|
18723
18720
|
onMouseUp: e.onMouseUp
|
|
18724
18721
|
}
|
|
18725
18722
|
),
|
|
18726
|
-
/* @__PURE__ */ S.jsx("g", { transform: `${n} translate(${e.x},${t}) scale(${e.xScale},${r})`, children: jo(
|
|
18723
|
+
/* @__PURE__ */ S.jsx("g", { transform: `${n} translate(${e.x},${t}) scale(${e.xScale},${r})`, children: jo(vl.get(e.base), {
|
|
18727
18724
|
fill: Gb.get(e.base)
|
|
18728
18725
|
}) })
|
|
18729
18726
|
] }) : null;
|
|
@@ -18782,7 +18779,7 @@ function Zb({ data: e, annotations: t, dimensions: r, height: n, zeroLineProps:
|
|
|
18782
18779
|
m
|
|
18783
18780
|
] });
|
|
18784
18781
|
}
|
|
18785
|
-
function
|
|
18782
|
+
function ml(e, t) {
|
|
18786
18783
|
return ji(
|
|
18787
18784
|
e.sort((r, n) => r.start - n.start).map((r) => ({ coordinates: { start: r.start, end: r.end }, pwm: r.pwm, name: "" })),
|
|
18788
18785
|
t,
|
|
@@ -18799,7 +18796,7 @@ function gl(e, t) {
|
|
|
18799
18796
|
})
|
|
18800
18797
|
);
|
|
18801
18798
|
}
|
|
18802
|
-
function
|
|
18799
|
+
function gl(e, t) {
|
|
18803
18800
|
const r = [], n = e.sort((i, a) => i.start - a.start);
|
|
18804
18801
|
return n.forEach((i, a) => {
|
|
18805
18802
|
var u;
|
|
@@ -18835,7 +18832,7 @@ function Jb({
|
|
|
18835
18832
|
onLeave: c,
|
|
18836
18833
|
tooltip: u
|
|
18837
18834
|
}) {
|
|
18838
|
-
const { totalWidth: l, sideWidth: f } = n, { x: d } = zt(l), h = ye(() =>
|
|
18835
|
+
const { totalWidth: l, sideWidth: f } = n, { x: d } = zt(l), h = ye(() => gl(t.occurrenceRect, d), [t]), w = ye(() => gl(t.peaks, d), [t]), { handleClick: D, handleHover: x, handleLeave: m } = kt({
|
|
18839
18836
|
onClick: o,
|
|
18840
18837
|
onHover: s,
|
|
18841
18838
|
onLeave: c,
|
|
@@ -18894,9 +18891,9 @@ function Kb({
|
|
|
18894
18891
|
() => (t.peaks || []).filter((C) => C.end >= d.start && C.start <= d.end),
|
|
18895
18892
|
[t, d.start, d.end]
|
|
18896
18893
|
), x = ye(
|
|
18897
|
-
() =>
|
|
18894
|
+
() => ml(w, h),
|
|
18898
18895
|
[w, h]
|
|
18899
|
-
), m = ye(() =>
|
|
18896
|
+
), m = ye(() => ml(D, h), [D, h]), g = Bi(x.length, e), { handleClick: b, handleHover: _, handleLeave: E } = kt({
|
|
18900
18897
|
onClick: o,
|
|
18901
18898
|
onHover: s,
|
|
18902
18899
|
onLeave: c,
|
|
@@ -18968,7 +18965,7 @@ function ex({
|
|
|
18968
18965
|
return l(T);
|
|
18969
18966
|
} : void 0;
|
|
18970
18967
|
return /* @__PURE__ */ S.jsx("g", { transform: `translate(0, ${D})`, children: /* @__PURE__ */ S.jsx(
|
|
18971
|
-
|
|
18968
|
+
_h,
|
|
18972
18969
|
{
|
|
18973
18970
|
data: h,
|
|
18974
18971
|
id: `${x}`,
|
|
@@ -19003,7 +19000,7 @@ function Pr(e, t, r, n = !1, i) {
|
|
|
19003
19000
|
values: /* @__PURE__ */ S.jsx("path", { d: o, fill: r })
|
|
19004
19001
|
};
|
|
19005
19002
|
}
|
|
19006
|
-
function
|
|
19003
|
+
function yl(e, t, r, n = !1, i) {
|
|
19007
19004
|
const a = tx(e);
|
|
19008
19005
|
if (!a) return null;
|
|
19009
19006
|
const { range: o, rangeSize: s } = a;
|
|
@@ -19094,11 +19091,11 @@ function ax({ id: e, height: t, colors: r, data: n, dimensions: i, range: a, too
|
|
|
19094
19091
|
cpgPlus: Pr(n[0], $, r.cpg, !1, a),
|
|
19095
19092
|
chgPlus: Pr(n[1], $, r.chg, !1, a),
|
|
19096
19093
|
chhPlus: Pr(n[2], $, r.chh, !1, a),
|
|
19097
|
-
depthPlus:
|
|
19094
|
+
depthPlus: yl(n[3], $, r.depth, !1),
|
|
19098
19095
|
cpgMinus: Pr(n[4], $, r.cpg, !0, a),
|
|
19099
19096
|
chgMinus: Pr(n[5], $, r.chg, !0, a),
|
|
19100
19097
|
chhMinus: Pr(n[6], $, r.chh, !0, a),
|
|
19101
|
-
depthMinus:
|
|
19098
|
+
depthMinus: yl(n[7], $, r.depth, !0)
|
|
19102
19099
|
};
|
|
19103
19100
|
}, [n, t, r, a]), { mouseState: D, updateMouseState: x, clearMouseState: m } = ps(l, c, d, s), g = ye(() => {
|
|
19104
19101
|
var $;
|
|
@@ -19163,7 +19160,7 @@ function ox({
|
|
|
19163
19160
|
var M;
|
|
19164
19161
|
const { sideWidth: c, totalWidth: u, viewWidth: l } = a, f = be((j) => j.svgRef), d = be((j) => j.delta), h = be((j) => j.marginWidth), w = wt((j) => j.background), D = ye(() => e.some((j) => j.min < 0), [e]), x = Oe((j) => j.editTrack), m = ye(() => {
|
|
19165
19162
|
const j = e.slice(c, c + l);
|
|
19166
|
-
return
|
|
19163
|
+
return bh(j);
|
|
19167
19164
|
}, [e, c, l]);
|
|
19168
19165
|
Ue(() => {
|
|
19169
19166
|
x(r, { range: m });
|
|
@@ -19233,13 +19230,13 @@ function sx(e, t, r, n, i, a) {
|
|
|
19233
19230
|
a && x && /* @__PURE__ */ S.jsx("path", { d: x, fill: r })
|
|
19234
19231
|
] });
|
|
19235
19232
|
}
|
|
19236
|
-
const
|
|
19233
|
+
const bl = (e, t, r, n, i) => {
|
|
19237
19234
|
const a = t.pixelStart + (t.pixelEnd - t.pixelStart) / 2, o = e.pixelStart + (e.pixelEnd - e.pixelStart) / 2, s = ur(t) ? r - n : r - i, c = ur(e) ? r - n : r - i, u = a + (o - a) * 0.5, l = Math.min(s, c) - r * 1;
|
|
19238
19235
|
return `M ${a} ${s} Q ${u} ${l} ${o} ${c}`;
|
|
19239
19236
|
}, Oo = (e) => {
|
|
19240
19237
|
const t = parseFloat(e);
|
|
19241
19238
|
return isNaN(t) ? 4 : Zr(t, { min: 0.7, max: 1 }, { min: 1, max: 8 });
|
|
19242
|
-
},
|
|
19239
|
+
}, xl = (e, t) => {
|
|
19243
19240
|
if (e.ldblocksnpid === "Lead") return e.rsquare;
|
|
19244
19241
|
const r = e.ldblocksnpid.split(",").map((a) => a.trim()), n = e.rsquare.split(",").map((a) => a.trim()), i = r.indexOf(t);
|
|
19245
19242
|
return i >= 0 && i < n.length ? n[i] : n[0] || e.rsquare;
|
|
@@ -19284,7 +19281,7 @@ function lx({
|
|
|
19284
19281
|
if (F && !H.find(
|
|
19285
19282
|
(ne) => ne.snpid === F.snpid && ne.sourceSnp === Q.snpid && ne.targetSnpId === $
|
|
19286
19283
|
)) {
|
|
19287
|
-
const ne =
|
|
19284
|
+
const ne = xl(Q, $);
|
|
19288
19285
|
H.push({
|
|
19289
19286
|
...F,
|
|
19290
19287
|
sourceSnp: Q.snpid,
|
|
@@ -19296,7 +19293,7 @@ function lx({
|
|
|
19296
19293
|
if (!te.find(
|
|
19297
19294
|
(F) => F.snpid === oe.snpid && F.sourceSnp === Q.snpid && F.targetSnpId === Q.snpid
|
|
19298
19295
|
)) {
|
|
19299
|
-
const F =
|
|
19296
|
+
const F = xl(oe, Q.snpid);
|
|
19300
19297
|
te.push({
|
|
19301
19298
|
...oe,
|
|
19302
19299
|
sourceSnp: Q.snpid,
|
|
@@ -19313,7 +19310,7 @@ function lx({
|
|
|
19313
19310
|
return te ? /* @__PURE__ */ S.jsx(
|
|
19314
19311
|
"path",
|
|
19315
19312
|
{
|
|
19316
|
-
d:
|
|
19313
|
+
d: bl(te, H, r, b, g),
|
|
19317
19314
|
stroke: qn(n) ? Zt(n, 0.5) : Co(n),
|
|
19318
19315
|
strokeWidth: Oo(H.rsquare),
|
|
19319
19316
|
fill: "none",
|
|
@@ -19327,7 +19324,7 @@ function lx({
|
|
|
19327
19324
|
return te ? /* @__PURE__ */ S.jsx(
|
|
19328
19325
|
"path",
|
|
19329
19326
|
{
|
|
19330
|
-
d:
|
|
19327
|
+
d: bl(H, te, r, b, g),
|
|
19331
19328
|
stroke: qn(n) ? Zt(n, 0.5) : Co(n),
|
|
19332
19329
|
strokeWidth: Oo(H.rsquare),
|
|
19333
19330
|
fill: "none",
|
|
@@ -19583,19 +19580,19 @@ function vx(e) {
|
|
|
19583
19580
|
] });
|
|
19584
19581
|
}
|
|
19585
19582
|
function mx({ id: e }) {
|
|
19586
|
-
const t = Oe((f) => f.getTrack(e)), r = It((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 =
|
|
19583
|
+
const t = Oe((f) => f.getTrack(e)), r = It((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(
|
|
19587
19584
|
() => t && s ? gx(t, s, i) : /* @__PURE__ */ S.jsx(S.Fragment, {}),
|
|
19588
19585
|
[t, s, i]
|
|
19589
19586
|
);
|
|
19590
|
-
return /* @__PURE__ */ S.jsx(
|
|
19587
|
+
return /* @__PURE__ */ S.jsx(Oh, { id: e, transform: u, error: o, loading: a, children: l });
|
|
19591
19588
|
}
|
|
19592
|
-
const
|
|
19589
|
+
const ws = {
|
|
19593
19590
|
[Te.BigWig]: {
|
|
19594
19591
|
[dt.Full]: ox,
|
|
19595
19592
|
[dt.Dense]: kg
|
|
19596
19593
|
},
|
|
19597
19594
|
[Te.BigBed]: {
|
|
19598
|
-
[dt.Dense]:
|
|
19595
|
+
[dt.Dense]: _h,
|
|
19599
19596
|
[dt.Squish]: Jg
|
|
19600
19597
|
},
|
|
19601
19598
|
[Te.Transcript]: {
|
|
@@ -19625,7 +19622,7 @@ const Es = {
|
|
|
19625
19622
|
}
|
|
19626
19623
|
};
|
|
19627
19624
|
function gx(e, t, r) {
|
|
19628
|
-
const n =
|
|
19625
|
+
const n = ws[e.trackType][e.displayMode];
|
|
19629
19626
|
if (!n) return null;
|
|
19630
19627
|
if (e.trackType === "bulkbed") {
|
|
19631
19628
|
const i = e, a = i.datasets || (i.urls || []).map((o, s) => ({
|
|
@@ -19713,7 +19710,7 @@ function Ex() {
|
|
|
19713
19710
|
document.removeEventListener("mousedown", x);
|
|
19714
19711
|
};
|
|
19715
19712
|
}, [e, i, t, r, n]), !o || !s || s.data === null) return null;
|
|
19716
|
-
const d = o.displayMode, h =
|
|
19713
|
+
const d = o.displayMode, h = ws[o.trackType], w = Object.keys(h), D = (x) => {
|
|
19717
19714
|
t && (i(!1, t, r, n), x === "remove" ? u(t) : x === "download" ? jh(t, o.title, !0) : c(t, { displayMode: x }));
|
|
19718
19715
|
};
|
|
19719
19716
|
return /* @__PURE__ */ S.jsxs(
|
|
@@ -19816,18 +19813,18 @@ var Un = function(e, t, r) {
|
|
|
19816
19813
|
return "touches" in e;
|
|
19817
19814
|
}, Ro = function(e) {
|
|
19818
19815
|
return e && e.ownerDocument.defaultView || self;
|
|
19819
|
-
},
|
|
19816
|
+
}, _l = function(e, t, r) {
|
|
19820
19817
|
var n = e.getBoundingClientRect(), i = An(t) ? (function(a, o) {
|
|
19821
19818
|
for (var s = 0; s < a.length; s++) if (a[s].identifier === o) return a[s];
|
|
19822
19819
|
return a[0];
|
|
19823
19820
|
})(t.touches, r) : t;
|
|
19824
19821
|
return { left: Un((i.pageX - (n.left + Ro(e).pageXOffset)) / n.width), top: Un((i.pageY - (n.top + Ro(e).pageYOffset)) / n.height) };
|
|
19825
|
-
},
|
|
19822
|
+
}, wl = function(e) {
|
|
19826
19823
|
!An(e) && e.preventDefault();
|
|
19827
19824
|
}, Fh = Ve.memo(function(e) {
|
|
19828
19825
|
var t = e.onMove, r = e.onKey, n = Ph(e, ["onMove", "onKey"]), i = rt(null), a = Io(t), o = Io(r), s = rt(null), c = rt(!1), u = ye(function() {
|
|
19829
19826
|
var h = function(x) {
|
|
19830
|
-
|
|
19827
|
+
wl(x), (An(x) ? x.touches.length > 0 : x.buttons > 0) && i.current ? a(_l(i.current, x, s.current)) : D(!1);
|
|
19831
19828
|
}, w = function() {
|
|
19832
19829
|
return D(!1);
|
|
19833
19830
|
};
|
|
@@ -19837,7 +19834,7 @@ var Un = function(e, t, r) {
|
|
|
19837
19834
|
}
|
|
19838
19835
|
return [function(x) {
|
|
19839
19836
|
var m = x.nativeEvent, g = i.current;
|
|
19840
|
-
if (g && (
|
|
19837
|
+
if (g && (wl(m), !(function(_, E) {
|
|
19841
19838
|
return E && !An(_);
|
|
19842
19839
|
})(m, c.current) && g)) {
|
|
19843
19840
|
if (An(m)) {
|
|
@@ -19845,7 +19842,7 @@ var Un = function(e, t, r) {
|
|
|
19845
19842
|
var b = m.changedTouches || [];
|
|
19846
19843
|
b.length && (s.current = b[0].identifier);
|
|
19847
19844
|
}
|
|
19848
|
-
g.focus(), a(
|
|
19845
|
+
g.focus(), a(_l(g, m, s.current)), D(!0);
|
|
19849
19846
|
}
|
|
19850
19847
|
}, function(x) {
|
|
19851
19848
|
var m = x.which || x.keyCode;
|
|
@@ -19855,10 +19852,10 @@ var Un = function(e, t, r) {
|
|
|
19855
19852
|
return Ue(function() {
|
|
19856
19853
|
return d;
|
|
19857
19854
|
}, [d]), Ve.createElement("div", qi({}, n, { onTouchStart: l, onMouseDown: l, className: "react-colorful__interactive", ref: i, onKeyDown: f, tabIndex: 0, role: "slider" }));
|
|
19858
|
-
}),
|
|
19855
|
+
}), Es = function(e) {
|
|
19859
19856
|
return e.filter(Boolean).join(" ");
|
|
19860
19857
|
}, Bh = function(e) {
|
|
19861
|
-
var t = e.color, r = e.left, n = e.top, i = n === void 0 ? 0.5 : n, a =
|
|
19858
|
+
var t = e.color, r = e.left, n = e.top, i = n === void 0 ? 0.5 : n, a = Es(["react-colorful__pointer", e.className]);
|
|
19862
19859
|
return Ve.createElement("div", { className: a, style: { top: 100 * i + "%", left: 100 * r + "%" } }, Ve.createElement("div", { className: "react-colorful__pointer-fill", style: { backgroundColor: t } }));
|
|
19863
19860
|
}, ut = function(e, t, r) {
|
|
19864
19861
|
return t === void 0 && (t = 0), r === void 0 && (r = Math.pow(10, t)), Math.round(r * e) / r;
|
|
@@ -19889,7 +19886,7 @@ var Un = function(e, t, r) {
|
|
|
19889
19886
|
var t = e.r, r = e.g, n = e.b, i = e.a, a = Math.max(t, r, n), o = a - Math.min(t, r, n), s = o ? a === t ? (r - n) / o : a === r ? 2 + (n - t) / o : 4 + (t - r) / o : 0;
|
|
19890
19887
|
return { h: ut(60 * (s < 0 ? s + 6 : s)), s: ut(a ? o / a * 100 : 0), v: ut(a / 255 * 100), a: i };
|
|
19891
19888
|
}, Ix = Ve.memo(function(e) {
|
|
19892
|
-
var t = e.hue, r = e.onChange, n =
|
|
19889
|
+
var t = e.hue, r = e.onChange, n = Es(["react-colorful__hue", e.className]);
|
|
19893
19890
|
return Ve.createElement("div", { className: n }, Ve.createElement(Fh, { onMove: function(i) {
|
|
19894
19891
|
r({ h: 360 * i.left });
|
|
19895
19892
|
}, onKey: function(i) {
|
|
@@ -19931,12 +19928,12 @@ function Mx(e, t, r) {
|
|
|
19931
19928
|
}
|
|
19932
19929
|
var Ax = typeof window < "u" ? Hh : Ue, Nx = function() {
|
|
19933
19930
|
return typeof __webpack_nonce__ < "u" ? __webpack_nonce__ : void 0;
|
|
19934
|
-
},
|
|
19931
|
+
}, El = /* @__PURE__ */ new Map(), jx = function(e) {
|
|
19935
19932
|
Ax(function() {
|
|
19936
19933
|
var t = e.current ? e.current.ownerDocument : document;
|
|
19937
|
-
if (t !== void 0 && !
|
|
19934
|
+
if (t !== void 0 && !El.has(t)) {
|
|
19938
19935
|
var r = t.createElement("style");
|
|
19939
|
-
r.innerHTML = `.react-colorful{position:relative;display:flex;flex-direction:column;width:200px;height:200px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.react-colorful__saturation{position:relative;flex-grow:1;border-color:transparent;border-bottom:12px solid #000;border-radius:8px 8px 0 0;background-image:linear-gradient(0deg,#000,transparent),linear-gradient(90deg,#fff,hsla(0,0%,100%,0))}.react-colorful__alpha-gradient,.react-colorful__pointer-fill{content:"";position:absolute;left:0;top:0;right:0;bottom:0;pointer-events:none;border-radius:inherit}.react-colorful__alpha-gradient,.react-colorful__saturation{box-shadow:inset 0 0 0 1px rgba(0,0,0,.05)}.react-colorful__alpha,.react-colorful__hue{position:relative;height:24px}.react-colorful__hue{background:linear-gradient(90deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.react-colorful__last-control{border-radius:0 0 8px 8px}.react-colorful__interactive{position:absolute;left:0;top:0;right:0;bottom:0;border-radius:inherit;outline:none;touch-action:none}.react-colorful__pointer{position:absolute;z-index:1;box-sizing:border-box;width:28px;height:28px;transform:translate(-50%,-50%);background-color:#fff;border:2px solid #fff;border-radius:50%;box-shadow:0 2px 4px rgba(0,0,0,.2)}.react-colorful__interactive:focus .react-colorful__pointer{transform:translate(-50%,-50%) scale(1.1)}.react-colorful__alpha,.react-colorful__alpha-pointer{background-color:#fff;background-image:url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill-opacity=".05"><path d="M8 0h8v8H8zM0 8h8v8H0z"/></svg>')}.react-colorful__saturation-pointer{z-index:3}.react-colorful__hue-pointer{z-index:2}`,
|
|
19936
|
+
r.innerHTML = `.react-colorful{position:relative;display:flex;flex-direction:column;width:200px;height:200px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.react-colorful__saturation{position:relative;flex-grow:1;border-color:transparent;border-bottom:12px solid #000;border-radius:8px 8px 0 0;background-image:linear-gradient(0deg,#000,transparent),linear-gradient(90deg,#fff,hsla(0,0%,100%,0))}.react-colorful__alpha-gradient,.react-colorful__pointer-fill{content:"";position:absolute;left:0;top:0;right:0;bottom:0;pointer-events:none;border-radius:inherit}.react-colorful__alpha-gradient,.react-colorful__saturation{box-shadow:inset 0 0 0 1px rgba(0,0,0,.05)}.react-colorful__alpha,.react-colorful__hue{position:relative;height:24px}.react-colorful__hue{background:linear-gradient(90deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.react-colorful__last-control{border-radius:0 0 8px 8px}.react-colorful__interactive{position:absolute;left:0;top:0;right:0;bottom:0;border-radius:inherit;outline:none;touch-action:none}.react-colorful__pointer{position:absolute;z-index:1;box-sizing:border-box;width:28px;height:28px;transform:translate(-50%,-50%);background-color:#fff;border:2px solid #fff;border-radius:50%;box-shadow:0 2px 4px rgba(0,0,0,.2)}.react-colorful__interactive:focus .react-colorful__pointer{transform:translate(-50%,-50%) scale(1.1)}.react-colorful__alpha,.react-colorful__alpha-pointer{background-color:#fff;background-image:url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill-opacity=".05"><path d="M8 0h8v8H8zM0 8h8v8H0z"/></svg>')}.react-colorful__saturation-pointer{z-index:3}.react-colorful__hue-pointer{z-index:2}`, El.set(t, r);
|
|
19940
19937
|
var n = Nx();
|
|
19941
19938
|
n && r.setAttribute("nonce", n), t.head.appendChild(r);
|
|
19942
19939
|
}
|
|
@@ -19944,7 +19941,7 @@ var Ax = typeof window < "u" ? Hh : Ue, Nx = function() {
|
|
|
19944
19941
|
}, Px = function(e) {
|
|
19945
19942
|
var t = e.className, r = e.colorModel, n = e.color, i = n === void 0 ? r.defaultColor : n, a = e.onChange, o = Ph(e, ["className", "colorModel", "color", "onChange"]), s = rt(null);
|
|
19946
19943
|
jx(s);
|
|
19947
|
-
var c = Mx(r, i, a), u = c[0], l = c[1], f =
|
|
19944
|
+
var c = Mx(r, i, a), u = c[0], l = c[1], f = Es(["react-colorful", t]);
|
|
19948
19945
|
return Ve.createElement("div", qi({}, o, { ref: s, className: f }), Ve.createElement(Rx, { hsva: u, onChange: l }), Ve.createElement(Ix, { hue: u.h, onChange: l, className: "react-colorful__last-control" }));
|
|
19949
19946
|
}, Fx = { defaultColor: "000", toHsva: Sx, fromHsva: function(e) {
|
|
19950
19947
|
return kx({ h: e.h, s: e.s, v: e.v, a: 1 });
|
|
@@ -20041,7 +20038,7 @@ const Vx = (e) => {
|
|
|
20041
20038
|
const t = e.slice(1), r = parseInt(t.slice(0, 2), 16), n = parseInt(t.slice(2, 4), 16), i = parseInt(t.slice(4, 6), 16);
|
|
20042
20039
|
return (0.299 * r + 0.587 * n + 0.114 * i) / 255 < 0.5;
|
|
20043
20040
|
};
|
|
20044
|
-
function
|
|
20041
|
+
function Ss(e, t) {
|
|
20045
20042
|
const r = e.slice(1), n = parseInt(r.slice(0, 2), 16), i = parseInt(r.slice(2, 4), 16), a = parseInt(r.slice(4, 6), 16), o = (0.299 * n + 0.587 * i + 0.114 * a) / 255;
|
|
20046
20043
|
let s;
|
|
20047
20044
|
return t ? o < 0.1 ? s = "#555555" : s = e : o < 0.1 ? s = "#999999" : o < 0.2 ? s = Cn(e, 80) : o < 0.5 ? s = Cn(e, 60) : o > 0.8 ? s = Cn(e, -30) : s = Cn(e, -20), {
|
|
@@ -20050,8 +20047,8 @@ function ks(e, t) {
|
|
|
20050
20047
|
};
|
|
20051
20048
|
}
|
|
20052
20049
|
function $x({ id: e, trackType: t }) {
|
|
20053
|
-
const r =
|
|
20054
|
-
...
|
|
20050
|
+
const r = ws[t], n = Object.keys(r), i = Oe((l) => l.getTrack(e)), a = i == null ? void 0 : i.displayMode, o = i == null ? void 0 : i.color, s = Oe((l) => l.editTrack), c = (l) => ({
|
|
20051
|
+
...Ss(o || "#000000", l),
|
|
20055
20052
|
marginRight: "5px",
|
|
20056
20053
|
padding: "10px",
|
|
20057
20054
|
border: "none",
|
|
@@ -20098,7 +20095,7 @@ function Wx({ id: e, defaultHeight: t }) {
|
|
|
20098
20095
|
return b;
|
|
20099
20096
|
}
|
|
20100
20097
|
}, g = () => ({
|
|
20101
|
-
...
|
|
20098
|
+
...Ss(f || "#000000", !0),
|
|
20102
20099
|
padding: "10px",
|
|
20103
20100
|
border: "none",
|
|
20104
20101
|
borderRadius: "5px",
|
|
@@ -20170,7 +20167,7 @@ function Gx({ track: e }) {
|
|
|
20170
20167
|
}, s = (u) => {
|
|
20171
20168
|
const l = e.color || "#000000";
|
|
20172
20169
|
return {
|
|
20173
|
-
...
|
|
20170
|
+
...Ss(l, u),
|
|
20174
20171
|
marginRight: "5px",
|
|
20175
20172
|
padding: "10px",
|
|
20176
20173
|
border: "none",
|
|
@@ -20515,7 +20512,7 @@ function i1({ handleClose: e, color: t }) {
|
|
|
20515
20512
|
function a1() {
|
|
20516
20513
|
const e = Ur((g) => g.content), t = Ur((g) => g.x), r = Ur((g) => g.y), n = Ur((g) => g.show), [i, a] = Me(0), [o, s] = Me(0), [c, u] = Me({ width: 0, height: 0 }), l = be((g) => g.svgRef), f = rt(null), d = be((g) => g.delta), h = be((g) => g.browserWidth), D = Ni() + Qe, x = 5, m = Lt(() => {
|
|
20517
20514
|
if (!f.current || !l || !l.current) return;
|
|
20518
|
-
const g =
|
|
20515
|
+
const g = wh(l.current, t, r), b = g[0], _ = g[1], E = f.current.getBBox(), C = E.width, T = E.height;
|
|
20519
20516
|
(c.width !== C || c.height !== T) && u({ width: C, height: T });
|
|
20520
20517
|
let O = b + x, A = _ + x;
|
|
20521
20518
|
O + C > h && (O = b - C - x), O < 0 && (O = Math.max(0, h - C)), A + T > D && (A = _ - T - x), A < 0 && (A = Math.max(0, D - T)), a(O), s(A);
|
|
@@ -20568,12 +20565,12 @@ function o1({ children: e }) {
|
|
|
20568
20565
|
function s1() {
|
|
20569
20566
|
const e = be((w) => w.browserWidth), t = be((w) => w.marginWidth), r = Qe, n = Ni() + Qe, [i, a] = Me([0, 0]), [o, s] = Me(!1), c = be((w) => w.svgRef), u = be((w) => w.domain), l = be((w) => w.setDomain), f = (w) => {
|
|
20570
20567
|
if (!c || !c.current) return null;
|
|
20571
|
-
const D =
|
|
20568
|
+
const D = Sl(w, c.current);
|
|
20572
20569
|
D && (a([D.x, D.x]), s(!0));
|
|
20573
20570
|
}, d = (w) => {
|
|
20574
20571
|
if (!c || !c.current) return null;
|
|
20575
20572
|
if (!o) return;
|
|
20576
|
-
const D =
|
|
20573
|
+
const D = Sl(w, c.current);
|
|
20577
20574
|
if (!D) return;
|
|
20578
20575
|
const x = Math.max(t, Math.min(e, D.x));
|
|
20579
20576
|
a((m) => [m[0], x]);
|
|
@@ -20590,7 +20587,7 @@ function s1() {
|
|
|
20590
20587
|
return Ue(() => (document.addEventListener("mousemove", d), document.addEventListener("mouseup", h), () => {
|
|
20591
20588
|
document.removeEventListener("mousemove", d), document.removeEventListener("mouseup", h);
|
|
20592
20589
|
}), [d, h]), !c || !c.current ? null : /* @__PURE__ */ S.jsxs(S.Fragment, { children: [
|
|
20593
|
-
o ?
|
|
20590
|
+
o ? Tl(
|
|
20594
20591
|
/* @__PURE__ */ S.jsx(
|
|
20595
20592
|
"rect",
|
|
20596
20593
|
{
|
|
@@ -20620,7 +20617,7 @@ function s1() {
|
|
|
20620
20617
|
)
|
|
20621
20618
|
] });
|
|
20622
20619
|
}
|
|
20623
|
-
function
|
|
20620
|
+
function Sl(e, t) {
|
|
20624
20621
|
const r = t.createSVGPoint();
|
|
20625
20622
|
r.x = e.clientX, r.y = e.clientY;
|
|
20626
20623
|
const n = t.getScreenCTM();
|
|
@@ -20634,7 +20631,7 @@ function c1() {
|
|
|
20634
20631
|
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();
|
|
20635
20632
|
return /* @__PURE__ */ S.jsxs("g", { id: "highlights", width: d + c, height: s, transform: `translate(${-f}, 0)`, children: [
|
|
20636
20633
|
/* @__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)` }) }) }),
|
|
20637
|
-
/* @__PURE__ */ S.jsx("g", { id: "highlights-clipped", clipPath: "url(#highlight-clip)", children: /* @__PURE__ */ S.jsx(
|
|
20634
|
+
/* @__PURE__ */ S.jsx("g", { id: "highlights-clipped", clipPath: "url(#highlight-clip)", children: /* @__PURE__ */ S.jsx(Ch, { id: "highlights", children: o.map((h) => {
|
|
20638
20635
|
let w = h.domain.chromosome;
|
|
20639
20636
|
return w || (w = n.chromosome), w !== n.chromosome ? null : /* @__PURE__ */ S.jsx(
|
|
20640
20637
|
u1,
|
|
@@ -20680,7 +20677,7 @@ function f1() {
|
|
|
20680
20677
|
return fg(), /* @__PURE__ */ S.jsxs(S.Fragment, { children: [
|
|
20681
20678
|
/* @__PURE__ */ S.jsxs(o1, { children: [
|
|
20682
20679
|
/* @__PURE__ */ S.jsx(s1, {}),
|
|
20683
|
-
/* @__PURE__ */ S.jsx(
|
|
20680
|
+
/* @__PURE__ */ S.jsx(Oh, { id: "ruler", transform: "translate(0, 0)", loading: !1, error: void 0, children: /* @__PURE__ */ S.jsx(zg, {}) }),
|
|
20684
20681
|
/* @__PURE__ */ S.jsx(c1, {}),
|
|
20685
20682
|
e.map((t) => /* @__PURE__ */ S.jsx(mx, { id: t }, t)),
|
|
20686
20683
|
/* @__PURE__ */ S.jsx(a1, {})
|
|
@@ -20690,7 +20687,7 @@ function f1() {
|
|
|
20690
20687
|
] });
|
|
20691
20688
|
}
|
|
20692
20689
|
function B1({ browserStore: e, trackStore: t, externalDataStore: r }) {
|
|
20693
|
-
const n = r ?? td([]), i = ye(() =>
|
|
20690
|
+
const n = r ?? td([]), i = ye(() => Cl(), []), a = ye(() => Ol(), []), o = ye(() => Il(), []), s = ye(() => Rl(), []), c = ye(
|
|
20694
20691
|
() => ({
|
|
20695
20692
|
browserStore: e,
|
|
20696
20693
|
trackStore: t,
|
|
@@ -20876,9 +20873,9 @@ function Vh(e = []) {
|
|
|
20876
20873
|
}
|
|
20877
20874
|
}));
|
|
20878
20875
|
}
|
|
20879
|
-
const h1 = "https://screen.api.wenglab.org/graphql", d1 = new
|
|
20880
|
-
link: new
|
|
20881
|
-
cache: new
|
|
20876
|
+
const h1 = "https://screen.api.wenglab.org/graphql", d1 = new Gf({
|
|
20877
|
+
link: new Tf({ uri: h1 }),
|
|
20878
|
+
cache: new Hf(),
|
|
20882
20879
|
devtools: {
|
|
20883
20880
|
enabled: !0,
|
|
20884
20881
|
name: "Genome Browser"
|