@genome-spy/core 0.37.2 → 0.37.3
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/bundle/index.es.js +758 -763
- package/dist/bundle/index.js +35 -35
- package/dist/src/data/collector.d.ts +1 -1
- package/dist/src/data/collector.d.ts.map +1 -1
- package/dist/src/data/collector.js +4 -4
- package/dist/src/data/collector.test.js +1 -1
- package/dist/src/data/dataFlow.d.ts +1 -1
- package/dist/src/data/dataFlow.d.ts.map +1 -1
- package/dist/src/data/dataFlow.js +1 -1
- package/dist/src/data/facetNode.d.ts +1 -1
- package/dist/src/data/facetNode.d.ts.map +1 -1
- package/dist/src/data/facetNode.js +1 -1
- package/dist/src/data/flow.test.js +4 -4
- package/dist/src/data/flowNode.test.js +2 -2
- package/dist/src/data/flowOptimizer.js +2 -2
- package/dist/src/data/flowOptimizer.test.js +11 -8
- package/dist/src/data/flowTestUtils.d.ts +2 -2
- package/dist/src/data/flowTestUtils.d.ts.map +1 -1
- package/dist/src/data/flowTestUtils.js +2 -2
- package/dist/src/data/formats/fasta.test.js +1 -1
- package/dist/src/data/sources/dataSource.d.ts +1 -1
- package/dist/src/data/sources/dataSource.d.ts.map +1 -1
- package/dist/src/data/sources/dataSource.js +1 -1
- package/dist/src/data/sources/dataSourceFactory.d.ts +10 -10
- package/dist/src/data/sources/dataSourceFactory.d.ts.map +1 -1
- package/dist/src/data/sources/dataSourceFactory.js +10 -10
- package/dist/src/data/sources/dataUtils.d.ts +2 -2
- package/dist/src/data/sources/dataUtils.d.ts.map +1 -1
- package/dist/src/data/sources/dataUtils.js +2 -2
- package/dist/src/data/sources/dynamic/axisGenomeSource.d.ts +1 -1
- package/dist/src/data/sources/dynamic/axisGenomeSource.d.ts.map +1 -1
- package/dist/src/data/sources/dynamic/axisGenomeSource.js +1 -1
- package/dist/src/data/sources/dynamic/axisTickSource.d.ts +1 -1
- package/dist/src/data/sources/dynamic/axisTickSource.d.ts.map +1 -1
- package/dist/src/data/sources/dynamic/axisTickSource.js +4 -4
- package/dist/src/data/sources/dynamic/bamSource.d.ts +1 -1
- package/dist/src/data/sources/dynamic/bamSource.d.ts.map +1 -1
- package/dist/src/data/sources/dynamic/bamSource.js +3 -3
- package/dist/src/data/sources/dynamic/bigBedSource.d.ts +1 -1
- package/dist/src/data/sources/dynamic/bigBedSource.d.ts.map +1 -1
- package/dist/src/data/sources/dynamic/bigBedSource.js +4 -4
- package/dist/src/data/sources/dynamic/bigWigSource.d.ts +1 -1
- package/dist/src/data/sources/dynamic/bigWigSource.d.ts.map +1 -1
- package/dist/src/data/sources/dynamic/bigWigSource.js +4 -4
- package/dist/src/data/sources/dynamic/gff3Source.d.ts +2 -2
- package/dist/src/data/sources/dynamic/gff3Source.d.ts.map +1 -1
- package/dist/src/data/sources/dynamic/gff3Source.js +1 -1
- package/dist/src/data/sources/dynamic/indexedFastaSource.d.ts +4 -1
- package/dist/src/data/sources/dynamic/indexedFastaSource.d.ts.map +1 -1
- package/dist/src/data/sources/dynamic/indexedFastaSource.js +3 -3
- package/dist/src/data/sources/dynamic/singleAxisLazySource.d.ts +3 -3
- package/dist/src/data/sources/dynamic/singleAxisLazySource.d.ts.map +1 -1
- package/dist/src/data/sources/dynamic/singleAxisLazySource.js +3 -3
- package/dist/src/data/sources/dynamic/tabixSource.d.ts +1 -1
- package/dist/src/data/sources/dynamic/tabixSource.d.ts.map +1 -1
- package/dist/src/data/sources/dynamic/tabixSource.js +4 -4
- package/dist/src/data/sources/dynamic/windowedMixin.js +1 -1
- package/dist/src/data/sources/inlineSource.d.ts +1 -1
- package/dist/src/data/sources/inlineSource.d.ts.map +1 -1
- package/dist/src/data/sources/inlineSource.js +2 -2
- package/dist/src/data/sources/inlineSource.test.js +2 -2
- package/dist/src/data/sources/namedSource.d.ts +1 -1
- package/dist/src/data/sources/namedSource.d.ts.map +1 -1
- package/dist/src/data/sources/namedSource.js +2 -2
- package/dist/src/data/sources/sequenceSource.d.ts +1 -1
- package/dist/src/data/sources/sequenceSource.d.ts.map +1 -1
- package/dist/src/data/sources/sequenceSource.js +1 -1
- package/dist/src/data/sources/sequenceSource.test.js +2 -2
- package/dist/src/data/sources/urlSource.d.ts +1 -1
- package/dist/src/data/sources/urlSource.d.ts.map +1 -1
- package/dist/src/data/sources/urlSource.js +2 -2
- package/dist/src/data/transforms/aggregate.d.ts +1 -1
- package/dist/src/data/transforms/aggregate.d.ts.map +1 -1
- package/dist/src/data/transforms/aggregate.js +3 -3
- package/dist/src/data/transforms/clone.d.ts +1 -1
- package/dist/src/data/transforms/clone.d.ts.map +1 -1
- package/dist/src/data/transforms/clone.js +2 -2
- package/dist/src/data/transforms/clone.test.js +2 -2
- package/dist/src/data/transforms/coverage.d.ts +2 -2
- package/dist/src/data/transforms/coverage.d.ts.map +1 -1
- package/dist/src/data/transforms/coverage.js +2 -2
- package/dist/src/data/transforms/coverage.test.js +2 -2
- package/dist/src/data/transforms/filter.d.ts +1 -1
- package/dist/src/data/transforms/filter.d.ts.map +1 -1
- package/dist/src/data/transforms/filter.js +2 -2
- package/dist/src/data/transforms/filter.test.js +2 -2
- package/dist/src/data/transforms/filterScoredLabels.d.ts +3 -3
- package/dist/src/data/transforms/filterScoredLabels.d.ts.map +1 -1
- package/dist/src/data/transforms/filterScoredLabels.js +4 -4
- package/dist/src/data/transforms/flatten.d.ts +1 -1
- package/dist/src/data/transforms/flatten.d.ts.map +1 -1
- package/dist/src/data/transforms/flatten.js +3 -3
- package/dist/src/data/transforms/flatten.test.js +2 -2
- package/dist/src/data/transforms/flattenCompressedExons.d.ts +1 -1
- package/dist/src/data/transforms/flattenCompressedExons.d.ts.map +1 -1
- package/dist/src/data/transforms/flattenCompressedExons.js +3 -3
- package/dist/src/data/transforms/flattenDelimited.d.ts +1 -1
- package/dist/src/data/transforms/flattenDelimited.d.ts.map +1 -1
- package/dist/src/data/transforms/flattenDelimited.js +3 -3
- package/dist/src/data/transforms/flattenDelimited.test.js +2 -2
- package/dist/src/data/transforms/flattenSequence.d.ts +1 -1
- package/dist/src/data/transforms/flattenSequence.d.ts.map +1 -1
- package/dist/src/data/transforms/flattenSequence.js +2 -2
- package/dist/src/data/transforms/flattenSequence.test.js +2 -2
- package/dist/src/data/transforms/formula.d.ts +1 -1
- package/dist/src/data/transforms/formula.d.ts.map +1 -1
- package/dist/src/data/transforms/formula.js +2 -2
- package/dist/src/data/transforms/formula.test.js +2 -2
- package/dist/src/data/transforms/identifier.d.ts +1 -1
- package/dist/src/data/transforms/identifier.d.ts.map +1 -1
- package/dist/src/data/transforms/identifier.js +1 -1
- package/dist/src/data/transforms/identifier.test.js +2 -2
- package/dist/src/data/transforms/linearizeGenomicCoordinate.d.ts +1 -1
- package/dist/src/data/transforms/linearizeGenomicCoordinate.d.ts.map +1 -1
- package/dist/src/data/transforms/linearizeGenomicCoordinate.js +3 -3
- package/dist/src/data/transforms/measureText.d.ts +1 -1
- package/dist/src/data/transforms/measureText.d.ts.map +1 -1
- package/dist/src/data/transforms/measureText.js +3 -3
- package/dist/src/data/transforms/pileup.d.ts +1 -1
- package/dist/src/data/transforms/pileup.d.ts.map +1 -1
- package/dist/src/data/transforms/pileup.js +2 -2
- package/dist/src/data/transforms/pileup.test.js +2 -2
- package/dist/src/data/transforms/project.d.ts +1 -1
- package/dist/src/data/transforms/project.d.ts.map +1 -1
- package/dist/src/data/transforms/project.js +2 -2
- package/dist/src/data/transforms/project.test.js +2 -2
- package/dist/src/data/transforms/regexExtract.d.ts +1 -1
- package/dist/src/data/transforms/regexExtract.d.ts.map +1 -1
- package/dist/src/data/transforms/regexExtract.js +2 -2
- package/dist/src/data/transforms/regexExtract.test.js +2 -2
- package/dist/src/data/transforms/regexFold.d.ts +1 -1
- package/dist/src/data/transforms/regexFold.d.ts.map +1 -1
- package/dist/src/data/transforms/regexFold.js +2 -2
- package/dist/src/data/transforms/regexFold.test.js +2 -2
- package/dist/src/data/transforms/sample.d.ts +1 -1
- package/dist/src/data/transforms/sample.d.ts.map +1 -1
- package/dist/src/data/transforms/sample.js +1 -1
- package/dist/src/data/transforms/sample.test.js +2 -2
- package/dist/src/data/transforms/stack.d.ts +1 -1
- package/dist/src/data/transforms/stack.d.ts.map +1 -1
- package/dist/src/data/transforms/stack.js +2 -2
- package/dist/src/data/transforms/stack.test.js +2 -2
- package/dist/src/data/transforms/transformFactory.js +19 -19
- package/dist/src/encoder/accessor.js +3 -3
- package/dist/src/encoder/accessor.test.js +1 -1
- package/dist/src/encoder/encoder.js +2 -2
- package/dist/src/encoder/encoder.test.js +2 -2
- package/dist/src/fonts/bmFontManager.d.ts +1 -1
- package/dist/src/fonts/bmFontManager.d.ts.map +1 -1
- package/dist/src/fonts/bmFontManager.js +1 -1
- package/dist/src/genome/genome.js +1 -1
- package/dist/src/genome/genome.test.js +1 -1
- package/dist/src/genome/genomeStore.d.ts +1 -1
- package/dist/src/genome/genomeStore.d.ts.map +1 -1
- package/dist/src/genome/genomeStore.js +1 -1
- package/dist/src/genome/scaleIndex.test.js +1 -1
- package/dist/src/genome/scaleLocus.test.js +1 -1
- package/dist/src/genomeSpy.d.ts +12 -12
- package/dist/src/genomeSpy.d.ts.map +1 -1
- package/dist/src/genomeSpy.js +26 -26
- package/dist/src/gl/arrayBuilder.js +1 -1
- package/dist/src/gl/dataToVertices.d.ts +4 -4
- package/dist/src/gl/dataToVertices.d.ts.map +1 -1
- package/dist/src/gl/dataToVertices.js +5 -5
- package/dist/src/gl/webGLHelper.js +2 -2
- package/dist/src/marks/link.d.ts +1 -1
- package/dist/src/marks/link.d.ts.map +1 -1
- package/dist/src/marks/link.js +2 -2
- package/dist/src/marks/mark.d.ts +3 -3
- package/dist/src/marks/mark.d.ts.map +1 -1
- package/dist/src/marks/mark.js +7 -7
- package/dist/src/marks/markUtils.js +1 -1
- package/dist/src/marks/pointMark.d.ts +1 -1
- package/dist/src/marks/pointMark.d.ts.map +1 -1
- package/dist/src/marks/pointMark.js +4 -4
- package/dist/src/marks/rectMark.d.ts +1 -1
- package/dist/src/marks/rectMark.d.ts.map +1 -1
- package/dist/src/marks/rectMark.js +6 -6
- package/dist/src/marks/rule.js +1 -1
- package/dist/src/marks/text.d.ts +1 -1
- package/dist/src/marks/text.d.ts.map +1 -1
- package/dist/src/marks/text.js +4 -4
- package/dist/src/scale/colorUtils.js +2 -2
- package/dist/src/scale/glslScaleGenerator.js +2 -2
- package/dist/src/scale/scale.js +1 -1
- package/dist/src/scale/scale.test.js +1 -1
- package/dist/src/scale/ticks.test.js +1 -1
- package/dist/src/singlePageApp.js +1 -1
- package/dist/src/tooltip/dataTooltipHandler.d.ts +1 -1
- package/dist/src/tooltip/dataTooltipHandler.d.ts.map +1 -1
- package/dist/src/tooltip/dataTooltipHandler.js +1 -1
- package/dist/src/tooltip/refseqGeneTooltipHandler.d.ts +1 -1
- package/dist/src/tooltip/refseqGeneTooltipHandler.d.ts.map +1 -1
- package/dist/src/tooltip/refseqGeneTooltipHandler.js +1 -1
- package/dist/src/utils/addBaseUrl.test.js +1 -1
- package/dist/src/utils/animator.js +1 -1
- package/dist/src/utils/binnedIndex.js +1 -1
- package/dist/src/utils/cloner.test.js +1 -1
- package/dist/src/utils/coalesce.test.js +1 -1
- package/dist/src/utils/concatIterables.test.js +1 -1
- package/dist/src/utils/domainArray.test.js +1 -1
- package/dist/src/utils/expression.d.ts +1 -1
- package/dist/src/utils/expression.d.ts.map +1 -1
- package/dist/src/utils/expression.js +5 -4
- package/dist/src/utils/indexer.test.js +1 -1
- package/dist/src/utils/iterateNestedMaps.test.js +1 -1
- package/dist/src/utils/kWayMerge.test.js +1 -1
- package/dist/src/utils/layout/flexLayout.js +1 -1
- package/dist/src/utils/layout/flexLayout.test.js +1 -1
- package/dist/src/utils/layout/grid.test.js +1 -1
- package/dist/src/utils/layout/rectangle.test.js +2 -2
- package/dist/src/utils/mergeObjects.test.js +1 -1
- package/dist/src/utils/numberExtractor.test.js +1 -1
- package/dist/src/utils/propertyCacher.test.js +5 -1
- package/dist/src/utils/propertyCoalescer.test.js +1 -1
- package/dist/src/utils/reservationMap.test.js +1 -1
- package/dist/src/utils/topK.test.js +1 -1
- package/dist/src/utils/trees.test.js +1 -1
- package/dist/src/utils/ui/tooltip.js +2 -2
- package/dist/src/utils/variableTools.test.js +1 -1
- package/dist/src/view/axisGridView.d.ts +1 -1
- package/dist/src/view/axisGridView.d.ts.map +1 -1
- package/dist/src/view/axisGridView.js +2 -2
- package/dist/src/view/axisResolution.js +5 -5
- package/dist/src/view/axisResolution.test.js +3 -3
- package/dist/src/view/axisView.d.ts +1 -1
- package/dist/src/view/axisView.d.ts.map +1 -1
- package/dist/src/view/axisView.js +2 -2
- package/dist/src/view/concatView.d.ts +1 -1
- package/dist/src/view/concatView.d.ts.map +1 -1
- package/dist/src/view/concatView.js +2 -2
- package/dist/src/view/containerView.d.ts +1 -1
- package/dist/src/view/containerView.d.ts.map +1 -1
- package/dist/src/view/containerView.js +1 -1
- package/dist/src/view/facetView.d.ts +3 -3
- package/dist/src/view/facetView.d.ts.map +1 -1
- package/dist/src/view/facetView.js +9 -9
- package/dist/src/view/flowBuilder.d.ts +4 -4
- package/dist/src/view/flowBuilder.d.ts.map +1 -1
- package/dist/src/view/flowBuilder.js +14 -14
- package/dist/src/view/flowBuilder.test.js +11 -11
- package/dist/src/view/gridView.d.ts +6 -6
- package/dist/src/view/gridView.d.ts.map +1 -1
- package/dist/src/view/gridView.js +12 -12
- package/dist/src/view/implicitRootView.d.ts +1 -1
- package/dist/src/view/implicitRootView.d.ts.map +1 -1
- package/dist/src/view/implicitRootView.js +1 -1
- package/dist/src/view/importView.d.ts +1 -1
- package/dist/src/view/importView.d.ts.map +1 -1
- package/dist/src/view/importView.js +1 -1
- package/dist/src/view/layerView.d.ts +1 -1
- package/dist/src/view/layerView.d.ts.map +1 -1
- package/dist/src/view/layerView.js +2 -2
- package/dist/src/view/renderingContext/bufferedViewRenderingContext.d.ts +1 -1
- package/dist/src/view/renderingContext/bufferedViewRenderingContext.d.ts.map +1 -1
- package/dist/src/view/renderingContext/bufferedViewRenderingContext.js +1 -1
- package/dist/src/view/renderingContext/compositeViewRenderingContext.d.ts +1 -1
- package/dist/src/view/renderingContext/compositeViewRenderingContext.d.ts.map +1 -1
- package/dist/src/view/renderingContext/compositeViewRenderingContext.js +1 -1
- package/dist/src/view/renderingContext/debuggingViewRenderingContext.d.ts +1 -1
- package/dist/src/view/renderingContext/debuggingViewRenderingContext.d.ts.map +1 -1
- package/dist/src/view/renderingContext/debuggingViewRenderingContext.js +2 -2
- package/dist/src/view/renderingContext/layoutRecorderViewRenderingContext.d.ts +1 -1
- package/dist/src/view/renderingContext/layoutRecorderViewRenderingContext.d.ts.map +1 -1
- package/dist/src/view/renderingContext/layoutRecorderViewRenderingContext.js +2 -2
- package/dist/src/view/renderingContext/simpleViewRenderingContext.d.ts +1 -1
- package/dist/src/view/renderingContext/simpleViewRenderingContext.d.ts.map +1 -1
- package/dist/src/view/renderingContext/simpleViewRenderingContext.js +1 -1
- package/dist/src/view/renderingContext/svgViewRenderingContext.d.ts +1 -1
- package/dist/src/view/renderingContext/svgViewRenderingContext.d.ts.map +1 -1
- package/dist/src/view/renderingContext/svgViewRenderingContext.js +2 -2
- package/dist/src/view/scaleResolution.d.ts +6 -6
- package/dist/src/view/scaleResolution.d.ts.map +1 -1
- package/dist/src/view/scaleResolution.js +11 -11
- package/dist/src/view/scaleResolution.test.js +6 -6
- package/dist/src/view/testUtils.d.ts +1 -1
- package/dist/src/view/testUtils.d.ts.map +1 -1
- package/dist/src/view/testUtils.js +8 -8
- package/dist/src/view/unitView.d.ts +6 -6
- package/dist/src/view/unitView.d.ts.map +1 -1
- package/dist/src/view/unitView.js +11 -11
- package/dist/src/view/view.d.ts +2 -2
- package/dist/src/view/view.d.ts.map +1 -1
- package/dist/src/view/view.js +6 -6
- package/dist/src/view/view.test.js +8 -8
- package/dist/src/view/viewFactory.d.ts +1 -1
- package/dist/src/view/viewFactory.d.ts.map +1 -1
- package/dist/src/view/viewFactory.js +5 -5
- package/dist/src/view/viewFactory.test.js +1 -1
- package/dist/src/view/viewUtils.d.ts +4 -4
- package/dist/src/view/viewUtils.d.ts.map +1 -1
- package/dist/src/view/viewUtils.js +6 -6
- package/package.json +2 -2
package/dist/bundle/index.es.js
CHANGED
|
@@ -8,7 +8,8 @@ var ie = (t, e, n) => (Zc(t, e, "read from private field"), n ? n.call(t) : e.ge
|
|
|
8
8
|
if (e.has(t))
|
|
9
9
|
throw TypeError("Cannot add the same private member more than once");
|
|
10
10
|
e instanceof WeakSet ? e.add(t) : e.set(t, n);
|
|
11
|
-
}, Zn = (t, e, n, r) => (Zc(t, e, "write to private field"), r ? r.call(t, n) : e.set(t, n), n)
|
|
11
|
+
}, Zn = (t, e, n, r) => (Zc(t, e, "write to private field"), r ? r.call(t, n) : e.set(t, n), n);
|
|
12
|
+
var sm = (t, e, n, r) => ({
|
|
12
13
|
set _(i) {
|
|
13
14
|
Zn(t, e, i, n);
|
|
14
15
|
},
|
|
@@ -77,7 +78,7 @@ function On(t) {
|
|
|
77
78
|
function Bn(t) {
|
|
78
79
|
return t[t.length - 1];
|
|
79
80
|
}
|
|
80
|
-
function
|
|
81
|
+
function Ts(t) {
|
|
81
82
|
return t == null || t === "" ? null : +t;
|
|
82
83
|
}
|
|
83
84
|
const _w = (t) => (e) => t * Math.exp(e), Cw = (t) => (e) => Math.log(t * e), QS = (t) => (e) => Math.sign(e) * Math.log1p(Math.abs(e / t)), VS = (t) => (e) => Math.sign(e) * Math.expm1(Math.abs(e)) * t, Kf = (t) => (e) => e < 0 ? -Math.pow(-e, t) : Math.pow(e, t);
|
|
@@ -86,7 +87,7 @@ function W0(t, e, n, r) {
|
|
|
86
87
|
return [r(i - o), r(a - o)];
|
|
87
88
|
}
|
|
88
89
|
function qS(t, e) {
|
|
89
|
-
return W0(t, e,
|
|
90
|
+
return W0(t, e, Ts, Xl);
|
|
90
91
|
}
|
|
91
92
|
function ZS(t, e) {
|
|
92
93
|
var n = Math.sign(t[0]);
|
|
@@ -100,7 +101,7 @@ function $l(t, e, n, r, i) {
|
|
|
100
101
|
return [i(s + (a - s) * n), i(s + (o - s) * n)];
|
|
101
102
|
}
|
|
102
103
|
function Dw(t, e, n) {
|
|
103
|
-
return $l(t, e, n,
|
|
104
|
+
return $l(t, e, n, Ts, Xl);
|
|
104
105
|
}
|
|
105
106
|
function Iw(t, e, n) {
|
|
106
107
|
const r = Math.sign(t[0]);
|
|
@@ -198,7 +199,7 @@ function el(t) {
|
|
|
198
199
|
e[t[r]] = !0;
|
|
199
200
|
return e;
|
|
200
201
|
}
|
|
201
|
-
var um = {}, Yc = {}, Wc = 34,
|
|
202
|
+
var um = {}, Yc = {}, Wc = 34, $o = 10, Xc = 13;
|
|
202
203
|
function Nw(t) {
|
|
203
204
|
return new Function("d", "return {" + t.map(function(e, n) {
|
|
204
205
|
return JSON.stringify(e) + ": d[" + n + '] || ""';
|
|
@@ -241,7 +242,7 @@ function Fw(t) {
|
|
|
241
242
|
}
|
|
242
243
|
function i(c, h) {
|
|
243
244
|
var d = [], g = c.length, b = 0, y = 0, w, E = g <= 0, _ = !1;
|
|
244
|
-
c.charCodeAt(g - 1) ===
|
|
245
|
+
c.charCodeAt(g - 1) === $o && --g, c.charCodeAt(g - 1) === Xc && --g;
|
|
245
246
|
function D() {
|
|
246
247
|
if (E)
|
|
247
248
|
return Yc;
|
|
@@ -251,13 +252,13 @@ function Fw(t) {
|
|
|
251
252
|
if (c.charCodeAt(M) === Wc) {
|
|
252
253
|
for (; b++ < g && c.charCodeAt(b) !== Wc || c.charCodeAt(++b) === Wc; )
|
|
253
254
|
;
|
|
254
|
-
return (N = b) >= g ? E = !0 : (R = c.charCodeAt(b++)) ===
|
|
255
|
+
return (N = b) >= g ? E = !0 : (R = c.charCodeAt(b++)) === $o ? _ = !0 : R === Xc && (_ = !0, c.charCodeAt(b) === $o && ++b), c.slice(M + 1, N - 1).replace(/""/g, '"');
|
|
255
256
|
}
|
|
256
257
|
for (; b < g; ) {
|
|
257
|
-
if ((R = c.charCodeAt(N = b++)) ===
|
|
258
|
+
if ((R = c.charCodeAt(N = b++)) === $o)
|
|
258
259
|
_ = !0;
|
|
259
260
|
else if (R === Xc)
|
|
260
|
-
_ = !0, c.charCodeAt(b) ===
|
|
261
|
+
_ = !0, c.charCodeAt(b) === $o && ++b;
|
|
261
262
|
else if (R !== n)
|
|
262
263
|
continue;
|
|
263
264
|
return c.slice(M, N);
|
|
@@ -481,7 +482,7 @@ function A_(t, e, n) {
|
|
|
481
482
|
n(c[0].g, c[c.length - 1].g) && r.push(c[0].i);
|
|
482
483
|
}), r;
|
|
483
484
|
}
|
|
484
|
-
function
|
|
485
|
+
function ms(t, e) {
|
|
485
486
|
return t == null || e == null ? NaN : t < e ? -1 : t > e ? 1 : t >= e ? 0 : NaN;
|
|
486
487
|
}
|
|
487
488
|
function E_(t, e) {
|
|
@@ -489,7 +490,7 @@ function E_(t, e) {
|
|
|
489
490
|
}
|
|
490
491
|
function ec(t) {
|
|
491
492
|
let e, n, r;
|
|
492
|
-
t.length !== 2 ? (e =
|
|
493
|
+
t.length !== 2 ? (e = ms, n = (s, f) => ms(t(s), f), r = (s, f) => t(s) - f) : (e = t === ms || t === E_ ? t : S_, n = t, r = t);
|
|
493
494
|
function i(s, f, u = 0, l = s.length) {
|
|
494
495
|
if (u < l) {
|
|
495
496
|
if (e(f, f) !== 0)
|
|
@@ -524,10 +525,10 @@ function S_() {
|
|
|
524
525
|
function Bw(t) {
|
|
525
526
|
return t === null ? NaN : +t;
|
|
526
527
|
}
|
|
527
|
-
const Lw = ec(
|
|
528
|
+
const Lw = ec(ms), Cd = Lw.right;
|
|
528
529
|
Lw.left;
|
|
529
530
|
ec(Bw).center;
|
|
530
|
-
const
|
|
531
|
+
const ko = Cd;
|
|
531
532
|
function __(t, e) {
|
|
532
533
|
let n, r;
|
|
533
534
|
if (e === void 0)
|
|
@@ -635,7 +636,7 @@ function zw(t, e, n = Bw) {
|
|
|
635
636
|
return o + (s - o) * (i - a);
|
|
636
637
|
}
|
|
637
638
|
}
|
|
638
|
-
function
|
|
639
|
+
function Ns(t, e, n) {
|
|
639
640
|
t = +t, e = +e, n = (i = arguments.length) < 2 ? (e = t, t = 0, 1) : i < 3 ? 1 : +n;
|
|
640
641
|
for (var r = -1, i = Math.max(0, Math.ceil((e - t) / n)) | 0, a = new Array(i); ++r < i; )
|
|
641
642
|
a[r] = t + r * n;
|
|
@@ -665,7 +666,7 @@ function nl(t, e) {
|
|
|
665
666
|
+t.slice(n + 1)
|
|
666
667
|
];
|
|
667
668
|
}
|
|
668
|
-
function
|
|
669
|
+
function lo(t) {
|
|
669
670
|
return t = nl(Math.abs(t)), t ? t[1] : NaN;
|
|
670
671
|
}
|
|
671
672
|
function N_(t, e) {
|
|
@@ -805,7 +806,7 @@ function R_(t) {
|
|
|
805
806
|
}, B;
|
|
806
807
|
}
|
|
807
808
|
function l(c, h) {
|
|
808
|
-
var d = u((c = li(c), c.type = "f", c)), g = Math.max(-8, Math.min(8, Math.floor(
|
|
809
|
+
var d = u((c = li(c), c.type = "f", c)), g = Math.max(-8, Math.min(8, Math.floor(lo(h) / 3))) * 3, b = Math.pow(10, -g), y = mm[8 + g / 3];
|
|
809
810
|
return function(w) {
|
|
810
811
|
return d(b * w) + y;
|
|
811
812
|
};
|
|
@@ -825,13 +826,13 @@ function O_(t) {
|
|
|
825
826
|
return hf = R_(t), bt = hf.format, K0 = hf.formatPrefix, hf;
|
|
826
827
|
}
|
|
827
828
|
function Uw(t) {
|
|
828
|
-
return Math.max(0, -
|
|
829
|
+
return Math.max(0, -lo(Math.abs(t)));
|
|
829
830
|
}
|
|
830
831
|
function jw(t, e) {
|
|
831
|
-
return Math.max(0, Math.max(-8, Math.min(8, Math.floor(
|
|
832
|
+
return Math.max(0, Math.max(-8, Math.min(8, Math.floor(lo(e) / 3))) * 3 - lo(Math.abs(t)));
|
|
832
833
|
}
|
|
833
834
|
function Gw(t, e) {
|
|
834
|
-
return t = Math.abs(t), e = Math.abs(e) - t, Math.max(0,
|
|
835
|
+
return t = Math.abs(t), e = Math.abs(e) - t, Math.max(0, lo(e) - lo(t)) + 1;
|
|
835
836
|
}
|
|
836
837
|
var $c = /* @__PURE__ */ new Date(), Kc = /* @__PURE__ */ new Date();
|
|
837
838
|
function lt(t, e, n, r) {
|
|
@@ -949,12 +950,12 @@ function ba(t) {
|
|
|
949
950
|
return (n - e - (n.getTimezoneOffset() - e.getTimezoneOffset()) * sn) / eg;
|
|
950
951
|
});
|
|
951
952
|
}
|
|
952
|
-
var _u = ba(0), il = ba(1), z_ = ba(2), P_ = ba(3),
|
|
953
|
+
var _u = ba(0), il = ba(1), z_ = ba(2), P_ = ba(3), co = ba(4), U_ = ba(5), j_ = ba(6);
|
|
953
954
|
_u.range;
|
|
954
955
|
il.range;
|
|
955
956
|
z_.range;
|
|
956
957
|
P_.range;
|
|
957
|
-
|
|
958
|
+
co.range;
|
|
958
959
|
U_.range;
|
|
959
960
|
j_.range;
|
|
960
961
|
var Zw = lt(function(t) {
|
|
@@ -1028,12 +1029,12 @@ function ya(t) {
|
|
|
1028
1029
|
return (n - e) / eg;
|
|
1029
1030
|
});
|
|
1030
1031
|
}
|
|
1031
|
-
var Cu = ya(0), ol = ya(1), G_ = ya(2), H_ = ya(3),
|
|
1032
|
+
var Cu = ya(0), ol = ya(1), G_ = ya(2), H_ = ya(3), ho = ya(4), Q_ = ya(5), V_ = ya(6);
|
|
1032
1033
|
Cu.range;
|
|
1033
1034
|
ol.range;
|
|
1034
1035
|
G_.range;
|
|
1035
1036
|
H_.range;
|
|
1036
|
-
|
|
1037
|
+
ho.range;
|
|
1037
1038
|
Q_.range;
|
|
1038
1039
|
V_.range;
|
|
1039
1040
|
var $w = lt(function(t) {
|
|
@@ -1103,31 +1104,31 @@ function Kw(t, e, n, r, i, a) {
|
|
|
1103
1104
|
}
|
|
1104
1105
|
return [s, f];
|
|
1105
1106
|
}
|
|
1106
|
-
const [q_, Z_] = Kw(hi, sl, Cu, Xi, ag, ig), [Y_, W_] = Kw(ci, al, _u, Wi, ng, tg),
|
|
1107
|
+
const [q_, Z_] = Kw(hi, sl, Cu, Xi, ag, ig), [Y_, W_] = Kw(ci, al, _u, Wi, ng, tg), Fs = "year", ks = "quarter", Bs = "month", Ls = "week", Rs = "date", nc = "day", sg = "dayofyear", Os = "hours", zs = "minutes", Ps = "seconds", rc = "milliseconds", X_ = [Fs, ks, Bs, Ls, Rs, nc, sg, Os, zs, Ps, rc];
|
|
1107
1108
|
X_.reduce((t, e, n) => (t[e] = 1 + n, t), {});
|
|
1108
1109
|
const $_ = {
|
|
1109
|
-
[
|
|
1110
|
-
[
|
|
1111
|
-
[
|
|
1112
|
-
[
|
|
1113
|
-
[
|
|
1110
|
+
[Fs]: ci,
|
|
1111
|
+
[ks]: al.every(3),
|
|
1112
|
+
[Bs]: al,
|
|
1113
|
+
[Ls]: _u,
|
|
1114
|
+
[Rs]: Wi,
|
|
1114
1115
|
[nc]: Wi,
|
|
1115
1116
|
[sg]: Wi,
|
|
1116
|
-
[
|
|
1117
|
-
[
|
|
1118
|
-
[
|
|
1117
|
+
[Os]: ng,
|
|
1118
|
+
[zs]: tg,
|
|
1119
|
+
[Ps]: ti,
|
|
1119
1120
|
[rc]: J0
|
|
1120
1121
|
}, K_ = {
|
|
1121
|
-
[
|
|
1122
|
-
[
|
|
1123
|
-
[
|
|
1124
|
-
[
|
|
1125
|
-
[
|
|
1122
|
+
[Fs]: hi,
|
|
1123
|
+
[ks]: sl.every(3),
|
|
1124
|
+
[Bs]: sl,
|
|
1125
|
+
[Ls]: Cu,
|
|
1126
|
+
[Rs]: Xi,
|
|
1126
1127
|
[nc]: Xi,
|
|
1127
1128
|
[sg]: Xi,
|
|
1128
|
-
[
|
|
1129
|
-
[
|
|
1130
|
-
[
|
|
1129
|
+
[Os]: ag,
|
|
1130
|
+
[zs]: ig,
|
|
1131
|
+
[Ps]: ti,
|
|
1131
1132
|
[rc]: J0
|
|
1132
1133
|
};
|
|
1133
1134
|
function J_(t) {
|
|
@@ -1150,11 +1151,11 @@ function th(t) {
|
|
|
1150
1151
|
}
|
|
1151
1152
|
return new Date(Date.UTC(t.y, t.m, t.d, t.H, t.M, t.S, t.L));
|
|
1152
1153
|
}
|
|
1153
|
-
function
|
|
1154
|
+
function Ko(t, e, n) {
|
|
1154
1155
|
return { y: t, m: e, d: n, H: 0, M: 0, S: 0, L: 0 };
|
|
1155
1156
|
}
|
|
1156
1157
|
function Jw(t) {
|
|
1157
|
-
var e = t.dateTime, n = t.date, r = t.time, i = t.periods, a = t.days, o = t.shortDays, s = t.months, f = t.shortMonths, u =
|
|
1158
|
+
var e = t.dateTime, n = t.date, r = t.time, i = t.periods, a = t.days, o = t.shortDays, s = t.months, f = t.shortMonths, u = Jo(i), l = es(i), c = Jo(a), h = es(a), d = Jo(o), g = es(o), b = Jo(s), y = es(s), w = Jo(f), E = es(f), _ = {
|
|
1158
1159
|
a: Ce,
|
|
1159
1160
|
A: et,
|
|
1160
1161
|
b: $e,
|
|
@@ -1265,7 +1266,7 @@ function Jw(t) {
|
|
|
1265
1266
|
}
|
|
1266
1267
|
function M(Q, X) {
|
|
1267
1268
|
return function(S) {
|
|
1268
|
-
var v =
|
|
1269
|
+
var v = Ko(1900, void 0, 1), G = R(v, Q, S += "", 0), V, le;
|
|
1269
1270
|
if (G != S.length)
|
|
1270
1271
|
return null;
|
|
1271
1272
|
if ("Q" in v)
|
|
@@ -1275,9 +1276,9 @@ function Jw(t) {
|
|
|
1275
1276
|
if (X && !("Z" in v) && (v.Z = 0), "p" in v && (v.H = v.H % 12 + v.p * 12), v.m === void 0 && (v.m = "q" in v ? v.q : 0), "V" in v) {
|
|
1276
1277
|
if (v.V < 1 || v.V > 53)
|
|
1277
1278
|
return null;
|
|
1278
|
-
"w" in v || (v.w = 1), "Z" in v ? (V = th(
|
|
1279
|
+
"w" in v || (v.w = 1), "Z" in v ? (V = th(Ko(v.y, 0, 1)), le = V.getUTCDay(), V = le > 4 || le === 0 ? ol.ceil(V) : ol(V), V = Xi.offset(V, (v.V - 1) * 7), v.y = V.getUTCFullYear(), v.m = V.getUTCMonth(), v.d = V.getUTCDate() + (v.w + 6) % 7) : (V = eh(Ko(v.y, 0, 1)), le = V.getDay(), V = le > 4 || le === 0 ? il.ceil(V) : il(V), V = Wi.offset(V, (v.V - 1) * 7), v.y = V.getFullYear(), v.m = V.getMonth(), v.d = V.getDate() + (v.w + 6) % 7);
|
|
1279
1280
|
} else
|
|
1280
|
-
("W" in v || "U" in v) && ("w" in v || (v.w = "u" in v ? v.u % 7 : "W" in v ? 1 : 0), le = "Z" in v ? th(
|
|
1281
|
+
("W" in v || "U" in v) && ("w" in v || (v.w = "u" in v ? v.u % 7 : "W" in v ? 1 : 0), le = "Z" in v ? th(Ko(v.y, 0, 1)).getUTCDay() : eh(Ko(v.y, 0, 1)).getDay(), v.m = 0, v.d = "W" in v ? (v.w + 6) % 7 + v.W * 7 - (le + 5) % 7 : v.w + v.U * 7 - (le + 6) % 7);
|
|
1281
1282
|
return "Z" in v ? (v.H += v.Z / 100 | 0, v.M += v.Z % 100, th(v)) : eh(v);
|
|
1282
1283
|
};
|
|
1283
1284
|
}
|
|
@@ -1393,10 +1394,10 @@ function Ae(t, e, n) {
|
|
|
1393
1394
|
function rC(t) {
|
|
1394
1395
|
return t.replace(nC, "\\$&");
|
|
1395
1396
|
}
|
|
1396
|
-
function
|
|
1397
|
+
function Jo(t) {
|
|
1397
1398
|
return new RegExp("^(?:" + t.map(rC).join("|") + ")", "i");
|
|
1398
1399
|
}
|
|
1399
|
-
function
|
|
1400
|
+
function es(t) {
|
|
1400
1401
|
return new Map(t.map((e, n) => [e.toLowerCase(), n]));
|
|
1401
1402
|
}
|
|
1402
1403
|
function iC(t, e, n) {
|
|
@@ -1515,10 +1516,10 @@ function IC(t, e) {
|
|
|
1515
1516
|
}
|
|
1516
1517
|
function tx(t) {
|
|
1517
1518
|
var e = t.getDay();
|
|
1518
|
-
return e >= 4 || e === 0 ?
|
|
1519
|
+
return e >= 4 || e === 0 ? co(t) : co.ceil(t);
|
|
1519
1520
|
}
|
|
1520
1521
|
function MC(t, e) {
|
|
1521
|
-
return t = tx(t), Ae(
|
|
1522
|
+
return t = tx(t), Ae(co.count(ci(t), t) + (ci(t).getDay() === 4), e, 2);
|
|
1522
1523
|
}
|
|
1523
1524
|
function TC(t) {
|
|
1524
1525
|
return t.getDay();
|
|
@@ -1537,7 +1538,7 @@ function BC(t, e) {
|
|
|
1537
1538
|
}
|
|
1538
1539
|
function LC(t, e) {
|
|
1539
1540
|
var n = t.getDay();
|
|
1540
|
-
return t = n >= 4 || n === 0 ?
|
|
1541
|
+
return t = n >= 4 || n === 0 ? co(t) : co.ceil(t), Ae(t.getFullYear() % 1e4, e, 4);
|
|
1541
1542
|
}
|
|
1542
1543
|
function RC(t) {
|
|
1543
1544
|
var e = t.getTimezoneOffset();
|
|
@@ -1579,10 +1580,10 @@ function VC(t, e) {
|
|
|
1579
1580
|
}
|
|
1580
1581
|
function rx(t) {
|
|
1581
1582
|
var e = t.getUTCDay();
|
|
1582
|
-
return e >= 4 || e === 0 ?
|
|
1583
|
+
return e >= 4 || e === 0 ? ho(t) : ho.ceil(t);
|
|
1583
1584
|
}
|
|
1584
1585
|
function qC(t, e) {
|
|
1585
|
-
return t = rx(t), Ae(
|
|
1586
|
+
return t = rx(t), Ae(ho.count(hi(t), t) + (hi(t).getUTCDay() === 4), e, 2);
|
|
1586
1587
|
}
|
|
1587
1588
|
function ZC(t) {
|
|
1588
1589
|
return t.getUTCDay();
|
|
@@ -1601,7 +1602,7 @@ function $C(t, e) {
|
|
|
1601
1602
|
}
|
|
1602
1603
|
function KC(t, e) {
|
|
1603
1604
|
var n = t.getUTCDay();
|
|
1604
|
-
return t = n >= 4 || n === 0 ?
|
|
1605
|
+
return t = n >= 4 || n === 0 ? ho(t) : ho.ceil(t), Ae(t.getUTCFullYear() % 1e4, e, 4);
|
|
1605
1606
|
}
|
|
1606
1607
|
function JC() {
|
|
1607
1608
|
return "+0000";
|
|
@@ -1629,7 +1630,7 @@ e4({
|
|
|
1629
1630
|
function e4(t) {
|
|
1630
1631
|
return Ma = Jw(t), ug = Ma.format, ix = Ma.parse, fg = Ma.utcFormat, ax = Ma.utcParse, Ma;
|
|
1631
1632
|
}
|
|
1632
|
-
function
|
|
1633
|
+
function us(t) {
|
|
1633
1634
|
const e = {};
|
|
1634
1635
|
return (n) => e[n] || (e[n] = t(n));
|
|
1635
1636
|
}
|
|
@@ -1657,7 +1658,7 @@ function n4(t, e) {
|
|
|
1657
1658
|
return n + 1;
|
|
1658
1659
|
}
|
|
1659
1660
|
function r4(t) {
|
|
1660
|
-
const e =
|
|
1661
|
+
const e = us(t.format), n = t.formatPrefix;
|
|
1661
1662
|
return {
|
|
1662
1663
|
format: e,
|
|
1663
1664
|
formatPrefix: n,
|
|
@@ -1716,16 +1717,16 @@ function i4() {
|
|
|
1716
1717
|
}
|
|
1717
1718
|
function Im(t, e, n) {
|
|
1718
1719
|
n = n || {}, On(n) || We("Invalid time multi-format specifier: ".concat(n));
|
|
1719
|
-
const r = e(
|
|
1720
|
+
const r = e(Ps), i = e(zs), a = e(Os), o = e(Rs), s = e(Ls), f = e(Bs), u = e(ks), l = e(Fs), c = t(n[rc] || ".%L"), h = t(n[Ps] || ":%S"), d = t(n[zs] || "%I:%M"), g = t(n[Os] || "%I %p"), b = t(n[Rs] || n[nc] || "%a %d"), y = t(n[Ls] || "%b %d"), w = t(n[Bs] || "%B"), E = t(n[ks] || "%B"), _ = t(n[Fs] || "%Y");
|
|
1720
1721
|
return (D) => (r(D) < D ? c : i(D) < D ? h : a(D) < D ? d : o(D) < D ? g : f(D) < D ? s(D) < D ? b : y : l(D) < D ? u(D) < D ? w : E : _)(D);
|
|
1721
1722
|
}
|
|
1722
1723
|
function ox(t) {
|
|
1723
|
-
const e =
|
|
1724
|
+
const e = us(t.format), n = us(t.utcFormat);
|
|
1724
1725
|
return {
|
|
1725
1726
|
timeFormat: (r) => Xe(r) ? e(r) : Im(e, J_, r),
|
|
1726
1727
|
utcFormat: (r) => Xe(r) ? n(r) : Im(n, eC, r),
|
|
1727
|
-
timeParse:
|
|
1728
|
-
utcParse:
|
|
1728
|
+
timeParse: us(t.parse),
|
|
1729
|
+
utcParse: us(t.utcParse)
|
|
1729
1730
|
};
|
|
1730
1731
|
}
|
|
1731
1732
|
let Nd;
|
|
@@ -1793,8 +1794,8 @@ async function b4() {
|
|
|
1793
1794
|
}
|
|
1794
1795
|
const y4 = (t) => t != null && t === t, w4 = (t) => t === "true" || t === "false" || t === !0 || t === !1, x4 = (t) => !Number.isNaN(Date.parse(t)), sx = (t) => !Number.isNaN(+t) && !(t instanceof Date), v4 = (t) => sx(t) && Number.isInteger(+t), Tm = {
|
|
1795
1796
|
boolean: o_,
|
|
1796
|
-
integer:
|
|
1797
|
-
number:
|
|
1797
|
+
integer: Ts,
|
|
1798
|
+
number: Ts,
|
|
1798
1799
|
date: u_,
|
|
1799
1800
|
string: f_,
|
|
1800
1801
|
unknown: Xl
|
|
@@ -1893,20 +1894,20 @@ const ic = c4(
|
|
|
1893
1894
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1894
1895
|
*/
|
|
1895
1896
|
var rh;
|
|
1896
|
-
const ul = window,
|
|
1897
|
+
const ul = window, go = ul.trustedTypes, Fm = go ? go.createPolicy("lit-html", { createHTML: (t) => t }) : void 0, $r = `lit$${(Math.random() + "").slice(9)}$`, cx = "?" + $r, M4 = `<${cx}>`, po = document, Us = (t = "") => po.createComment(t), js = (t) => t === null || typeof t != "object" && typeof t != "function", hx = Array.isArray, T4 = (t) => hx(t) || typeof (t == null ? void 0 : t[Symbol.iterator]) == "function", ts = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, km = /-->/g, Bm = />/g, Mi = RegExp(`>|[
|
|
1897
1898
|
\f\r](?:([^\\s"'>=/]+)([
|
|
1898
1899
|
\f\r]*=[
|
|
1899
1900
|
\f\r]*(?:[^
|
|
1900
|
-
\f\r"'\`<>=]|("|')|))|$)`, "g"), Lm = /'/g, Rm = /"/g, dx = /^(?:script|style|textarea|title)$/i, N4 = (t) => (e, ...n) => ({ _$litType$: t, strings: e, values: n }), Tr = N4(1),
|
|
1901
|
+
\f\r"'\`<>=]|("|')|))|$)`, "g"), Lm = /'/g, Rm = /"/g, dx = /^(?:script|style|textarea|title)$/i, N4 = (t) => (e, ...n) => ({ _$litType$: t, strings: e, values: n }), Tr = N4(1), Gs = Symbol.for("lit-noChange"), nt = Symbol.for("lit-nothing"), Om = /* @__PURE__ */ new WeakMap(), qa = po.createTreeWalker(po, 129, null, !1), F4 = (t, e) => {
|
|
1901
1902
|
const n = t.length - 1, r = [];
|
|
1902
|
-
let i, a = e === 2 ? "<svg>" : "", o =
|
|
1903
|
+
let i, a = e === 2 ? "<svg>" : "", o = ts;
|
|
1903
1904
|
for (let f = 0; f < n; f++) {
|
|
1904
1905
|
const u = t[f];
|
|
1905
1906
|
let l, c, h = -1, d = 0;
|
|
1906
1907
|
for (; d < u.length && (o.lastIndex = d, c = o.exec(u), c !== null); )
|
|
1907
|
-
d = o.lastIndex, o ===
|
|
1908
|
+
d = o.lastIndex, o === ts ? c[1] === "!--" ? o = km : c[1] !== void 0 ? o = Bm : c[2] !== void 0 ? (dx.test(c[2]) && (i = RegExp("</" + c[2], "g")), o = Mi) : c[3] !== void 0 && (o = Mi) : o === Mi ? c[0] === ">" ? (o = i ?? ts, h = -1) : c[1] === void 0 ? h = -2 : (h = o.lastIndex - c[2].length, l = c[1], o = c[3] === void 0 ? Mi : c[3] === '"' ? Rm : Lm) : o === Rm || o === Lm ? o = Mi : o === km || o === Bm ? o = ts : (o = Mi, i = void 0);
|
|
1908
1909
|
const g = o === Mi && t[f + 1].startsWith("/>") ? " " : "";
|
|
1909
|
-
a += o ===
|
|
1910
|
+
a += o === ts ? u + M4 : h >= 0 ? (r.push(l), u.slice(0, h) + "$lit$" + u.slice(h) + $r + g) : u + $r + (h === -2 ? (r.push(void 0), f) : g);
|
|
1910
1911
|
}
|
|
1911
1912
|
const s = a + (t[n] || "<?>") + (e === 2 ? "</svg>" : "");
|
|
1912
1913
|
if (!Array.isArray(t) || !t.hasOwnProperty("raw"))
|
|
@@ -1942,10 +1943,10 @@ let Fd = class gx {
|
|
|
1942
1943
|
if (dx.test(i.tagName)) {
|
|
1943
1944
|
const c = i.textContent.split($r), h = c.length - 1;
|
|
1944
1945
|
if (h > 0) {
|
|
1945
|
-
i.textContent =
|
|
1946
|
+
i.textContent = go ? go.emptyScript : "";
|
|
1946
1947
|
for (let d = 0; d < h; d++)
|
|
1947
|
-
i.append(c[d],
|
|
1948
|
-
i.append(c[h],
|
|
1948
|
+
i.append(c[d], Us()), qa.nextNode(), f.push({ type: 2, index: ++a });
|
|
1949
|
+
i.append(c[h], Us());
|
|
1949
1950
|
}
|
|
1950
1951
|
}
|
|
1951
1952
|
} else if (i.nodeType === 8)
|
|
@@ -1960,17 +1961,17 @@ let Fd = class gx {
|
|
|
1960
1961
|
}
|
|
1961
1962
|
}
|
|
1962
1963
|
static createElement(e, n) {
|
|
1963
|
-
const r =
|
|
1964
|
+
const r = po.createElement("template");
|
|
1964
1965
|
return r.innerHTML = e, r;
|
|
1965
1966
|
}
|
|
1966
1967
|
};
|
|
1967
|
-
function
|
|
1968
|
+
function mo(t, e, n = t, r) {
|
|
1968
1969
|
var i, a, o, s;
|
|
1969
|
-
if (e ===
|
|
1970
|
+
if (e === Gs)
|
|
1970
1971
|
return e;
|
|
1971
1972
|
let f = r !== void 0 ? (i = n._$Co) === null || i === void 0 ? void 0 : i[r] : n._$Cl;
|
|
1972
|
-
const u =
|
|
1973
|
-
return (f == null ? void 0 : f.constructor) !== u && ((a = f == null ? void 0 : f._$AO) === null || a === void 0 || a.call(f, !1), u === void 0 ? f = void 0 : (f = new u(t), f._$AT(t, n, r)), r !== void 0 ? ((o = (s = n)._$Co) !== null && o !== void 0 ? o : s._$Co = [])[r] = f : n._$Cl = f), f !== void 0 && (e =
|
|
1973
|
+
const u = js(e) ? void 0 : e._$litDirective$;
|
|
1974
|
+
return (f == null ? void 0 : f.constructor) !== u && ((a = f == null ? void 0 : f._$AO) === null || a === void 0 || a.call(f, !1), u === void 0 ? f = void 0 : (f = new u(t), f._$AT(t, n, r)), r !== void 0 ? ((o = (s = n)._$Co) !== null && o !== void 0 ? o : s._$Co = [])[r] = f : n._$Cl = f), f !== void 0 && (e = mo(t, f._$AS(t, e.values), f, r)), e;
|
|
1974
1975
|
}
|
|
1975
1976
|
class k4 {
|
|
1976
1977
|
constructor(e, n) {
|
|
@@ -1984,7 +1985,7 @@ class k4 {
|
|
|
1984
1985
|
}
|
|
1985
1986
|
v(e) {
|
|
1986
1987
|
var n;
|
|
1987
|
-
const { el: { content: r }, parts: i } = this._$AD, a = ((n = e == null ? void 0 : e.creationScope) !== null && n !== void 0 ? n :
|
|
1988
|
+
const { el: { content: r }, parts: i } = this._$AD, a = ((n = e == null ? void 0 : e.creationScope) !== null && n !== void 0 ? n : po).importNode(r, !0);
|
|
1988
1989
|
qa.currentNode = a;
|
|
1989
1990
|
let o = qa.nextNode(), s = 0, f = 0, u = i[0];
|
|
1990
1991
|
for (; u !== void 0; ) {
|
|
@@ -2023,7 +2024,7 @@ class Du {
|
|
|
2023
2024
|
return this._$AB;
|
|
2024
2025
|
}
|
|
2025
2026
|
_$AI(e, n = this) {
|
|
2026
|
-
e =
|
|
2027
|
+
e = mo(this, e, n), js(e) ? e === nt || e == null || e === "" ? (this._$AH !== nt && this._$AR(), this._$AH = nt) : e !== this._$AH && e !== Gs && this.g(e) : e._$litType$ !== void 0 ? this.$(e) : e.nodeType !== void 0 ? this.T(e) : T4(e) ? this.k(e) : this.g(e);
|
|
2027
2028
|
}
|
|
2028
2029
|
O(e, n = this._$AB) {
|
|
2029
2030
|
return this._$AA.parentNode.insertBefore(e, n);
|
|
@@ -2032,7 +2033,7 @@ class Du {
|
|
|
2032
2033
|
this._$AH !== e && (this._$AR(), this._$AH = this.O(e));
|
|
2033
2034
|
}
|
|
2034
2035
|
g(e) {
|
|
2035
|
-
this._$AH !== nt &&
|
|
2036
|
+
this._$AH !== nt && js(this._$AH) ? this._$AA.nextSibling.data = e : this.T(po.createTextNode(e)), this._$AH = e;
|
|
2036
2037
|
}
|
|
2037
2038
|
$(e) {
|
|
2038
2039
|
var n;
|
|
@@ -2053,7 +2054,7 @@ class Du {
|
|
|
2053
2054
|
const n = this._$AH;
|
|
2054
2055
|
let r, i = 0;
|
|
2055
2056
|
for (const a of e)
|
|
2056
|
-
i === n.length ? n.push(r = new Du(this.O(
|
|
2057
|
+
i === n.length ? n.push(r = new Du(this.O(Us()), this.O(Us()), this, this.options)) : r = n[i], r._$AI(a), i++;
|
|
2057
2058
|
i < n.length && (this._$AR(r && r._$AB.nextSibling, i), n.length = i);
|
|
2058
2059
|
}
|
|
2059
2060
|
_$AR(e = this._$AA.nextSibling, n) {
|
|
@@ -2082,12 +2083,12 @@ class ac {
|
|
|
2082
2083
|
const a = this.strings;
|
|
2083
2084
|
let o = !1;
|
|
2084
2085
|
if (a === void 0)
|
|
2085
|
-
e =
|
|
2086
|
+
e = mo(this, e, n, 0), o = !js(e) || e !== this._$AH && e !== Gs, o && (this._$AH = e);
|
|
2086
2087
|
else {
|
|
2087
2088
|
const s = e;
|
|
2088
2089
|
let f, u;
|
|
2089
2090
|
for (e = a[0], f = 0; f < a.length - 1; f++)
|
|
2090
|
-
u =
|
|
2091
|
+
u = mo(this, s[r + f], n, f), u === Gs && (u = this._$AH[f]), o || (o = !js(u) || u !== this._$AH[f]), u === nt ? e = nt : e !== nt && (e += (u ?? "") + a[f + 1]), this._$AH[f] = u;
|
|
2091
2092
|
}
|
|
2092
2093
|
o && !i && this.j(e);
|
|
2093
2094
|
}
|
|
@@ -2103,7 +2104,7 @@ class B4 extends ac {
|
|
|
2103
2104
|
this.element[this.name] = e === nt ? void 0 : e;
|
|
2104
2105
|
}
|
|
2105
2106
|
}
|
|
2106
|
-
const L4 =
|
|
2107
|
+
const L4 = go ? go.emptyScript : "";
|
|
2107
2108
|
class R4 extends ac {
|
|
2108
2109
|
constructor() {
|
|
2109
2110
|
super(...arguments), this.type = 4;
|
|
@@ -2118,7 +2119,7 @@ class O4 extends ac {
|
|
|
2118
2119
|
}
|
|
2119
2120
|
_$AI(e, n = this) {
|
|
2120
2121
|
var r;
|
|
2121
|
-
if ((e = (r =
|
|
2122
|
+
if ((e = (r = mo(this, e, n, 0)) !== null && r !== void 0 ? r : nt) === Gs)
|
|
2122
2123
|
return;
|
|
2123
2124
|
const i = this._$AH, a = e === nt && i !== nt || e.capture !== i.capture || e.once !== i.once || e.passive !== i.passive, o = e !== nt && (i === nt || a);
|
|
2124
2125
|
a && this.element.removeEventListener(this.name, this, i), o && this.element.addEventListener(this.name, this, e), this._$AH = e;
|
|
@@ -2136,7 +2137,7 @@ class z4 {
|
|
|
2136
2137
|
return this._$AM._$AU;
|
|
2137
2138
|
}
|
|
2138
2139
|
_$AI(e) {
|
|
2139
|
-
|
|
2140
|
+
mo(this, e);
|
|
2140
2141
|
}
|
|
2141
2142
|
}
|
|
2142
2143
|
const zm = ul.litHtmlPolyfillSupport;
|
|
@@ -2147,7 +2148,7 @@ const Pm = (t, e, n) => {
|
|
|
2147
2148
|
let o = a._$litPart$;
|
|
2148
2149
|
if (o === void 0) {
|
|
2149
2150
|
const s = (i = n == null ? void 0 : n.renderBefore) !== null && i !== void 0 ? i : null;
|
|
2150
|
-
a._$litPart$ = o = new Du(e.insertBefore(
|
|
2151
|
+
a._$litPart$ = o = new Du(e.insertBefore(Us(), s), s, void 0, n ?? {});
|
|
2151
2152
|
}
|
|
2152
2153
|
return o._$AI(t), o;
|
|
2153
2154
|
}, P4 = `.genome-spy {
|
|
@@ -2397,18 +2398,18 @@ function tD(t) {
|
|
|
2397
2398
|
return [];
|
|
2398
2399
|
}
|
|
2399
2400
|
}
|
|
2400
|
-
var
|
|
2401
|
-
|
|
2402
|
-
|
|
2403
|
-
|
|
2404
|
-
|
|
2405
|
-
|
|
2406
|
-
|
|
2407
|
-
|
|
2408
|
-
|
|
2409
|
-
|
|
2410
|
-
|
|
2411
|
-
var rD = "ArrayExpression", iD = "BinaryExpression", aD = "CallExpression", oD = "ConditionalExpression", px = "Identifier", sD = "Literal", uD = "LogicalExpression", fD = "MemberExpression", lD = "ObjectExpression", cD = "Property", hD = "UnaryExpression", st = "Unexpected token %0", dD = "Unexpected number", gD = "Unexpected string", pD = "Unexpected identifier", mD = "Unexpected reserved word", bD = "Unexpected end of input", kd = "Invalid regular expression", ih = "Invalid regular expression: missing /", mx = "Octal literals are not allowed in strict mode.", yD = "Duplicate data property in object literal not allowed in strict mode", gt = "ILLEGAL", Qs = "Disabled.", wD = new RegExp("[\\xAA\\xB5\\xBA\\xC0-\\xD6\\xD8-\\xF6\\xF8-\\u02C1\\u02C6-\\u02D1\\u02E0-\\u02E4\\u02EC\\u02EE\\u0370-\\u0374\\u0376\\u0377\\u037A-\\u037D\\u037F\\u0386\\u0388-\\u038A\\u038C\\u038E-\\u03A1\\u03A3-\\u03F5\\u03F7-\\u0481\\u048A-\\u052F\\u0531-\\u0556\\u0559\\u0561-\\u0587\\u05D0-\\u05EA\\u05F0-\\u05F2\\u0620-\\u064A\\u066E\\u066F\\u0671-\\u06D3\\u06D5\\u06E5\\u06E6\\u06EE\\u06EF\\u06FA-\\u06FC\\u06FF\\u0710\\u0712-\\u072F\\u074D-\\u07A5\\u07B1\\u07CA-\\u07EA\\u07F4\\u07F5\\u07FA\\u0800-\\u0815\\u081A\\u0824\\u0828\\u0840-\\u0858\\u08A0-\\u08B2\\u0904-\\u0939\\u093D\\u0950\\u0958-\\u0961\\u0971-\\u0980\\u0985-\\u098C\\u098F\\u0990\\u0993-\\u09A8\\u09AA-\\u09B0\\u09B2\\u09B6-\\u09B9\\u09BD\\u09CE\\u09DC\\u09DD\\u09DF-\\u09E1\\u09F0\\u09F1\\u0A05-\\u0A0A\\u0A0F\\u0A10\\u0A13-\\u0A28\\u0A2A-\\u0A30\\u0A32\\u0A33\\u0A35\\u0A36\\u0A38\\u0A39\\u0A59-\\u0A5C\\u0A5E\\u0A72-\\u0A74\\u0A85-\\u0A8D\\u0A8F-\\u0A91\\u0A93-\\u0AA8\\u0AAA-\\u0AB0\\u0AB2\\u0AB3\\u0AB5-\\u0AB9\\u0ABD\\u0AD0\\u0AE0\\u0AE1\\u0B05-\\u0B0C\\u0B0F\\u0B10\\u0B13-\\u0B28\\u0B2A-\\u0B30\\u0B32\\u0B33\\u0B35-\\u0B39\\u0B3D\\u0B5C\\u0B5D\\u0B5F-\\u0B61\\u0B71\\u0B83\\u0B85-\\u0B8A\\u0B8E-\\u0B90\\u0B92-\\u0B95\\u0B99\\u0B9A\\u0B9C\\u0B9E\\u0B9F\\u0BA3\\u0BA4\\u0BA8-\\u0BAA\\u0BAE-\\u0BB9\\u0BD0\\u0C05-\\u0C0C\\u0C0E-\\u0C10\\u0C12-\\u0C28\\u0C2A-\\u0C39\\u0C3D\\u0C58\\u0C59\\u0C60\\u0C61\\u0C85-\\u0C8C\\u0C8E-\\u0C90\\u0C92-\\u0CA8\\u0CAA-\\u0CB3\\u0CB5-\\u0CB9\\u0CBD\\u0CDE\\u0CE0\\u0CE1\\u0CF1\\u0CF2\\u0D05-\\u0D0C\\u0D0E-\\u0D10\\u0D12-\\u0D3A\\u0D3D\\u0D4E\\u0D60\\u0D61\\u0D7A-\\u0D7F\\u0D85-\\u0D96\\u0D9A-\\u0DB1\\u0DB3-\\u0DBB\\u0DBD\\u0DC0-\\u0DC6\\u0E01-\\u0E30\\u0E32\\u0E33\\u0E40-\\u0E46\\u0E81\\u0E82\\u0E84\\u0E87\\u0E88\\u0E8A\\u0E8D\\u0E94-\\u0E97\\u0E99-\\u0E9F\\u0EA1-\\u0EA3\\u0EA5\\u0EA7\\u0EAA\\u0EAB\\u0EAD-\\u0EB0\\u0EB2\\u0EB3\\u0EBD\\u0EC0-\\u0EC4\\u0EC6\\u0EDC-\\u0EDF\\u0F00\\u0F40-\\u0F47\\u0F49-\\u0F6C\\u0F88-\\u0F8C\\u1000-\\u102A\\u103F\\u1050-\\u1055\\u105A-\\u105D\\u1061\\u1065\\u1066\\u106E-\\u1070\\u1075-\\u1081\\u108E\\u10A0-\\u10C5\\u10C7\\u10CD\\u10D0-\\u10FA\\u10FC-\\u1248\\u124A-\\u124D\\u1250-\\u1256\\u1258\\u125A-\\u125D\\u1260-\\u1288\\u128A-\\u128D\\u1290-\\u12B0\\u12B2-\\u12B5\\u12B8-\\u12BE\\u12C0\\u12C2-\\u12C5\\u12C8-\\u12D6\\u12D8-\\u1310\\u1312-\\u1315\\u1318-\\u135A\\u1380-\\u138F\\u13A0-\\u13F4\\u1401-\\u166C\\u166F-\\u167F\\u1681-\\u169A\\u16A0-\\u16EA\\u16EE-\\u16F8\\u1700-\\u170C\\u170E-\\u1711\\u1720-\\u1731\\u1740-\\u1751\\u1760-\\u176C\\u176E-\\u1770\\u1780-\\u17B3\\u17D7\\u17DC\\u1820-\\u1877\\u1880-\\u18A8\\u18AA\\u18B0-\\u18F5\\u1900-\\u191E\\u1950-\\u196D\\u1970-\\u1974\\u1980-\\u19AB\\u19C1-\\u19C7\\u1A00-\\u1A16\\u1A20-\\u1A54\\u1AA7\\u1B05-\\u1B33\\u1B45-\\u1B4B\\u1B83-\\u1BA0\\u1BAE\\u1BAF\\u1BBA-\\u1BE5\\u1C00-\\u1C23\\u1C4D-\\u1C4F\\u1C5A-\\u1C7D\\u1CE9-\\u1CEC\\u1CEE-\\u1CF1\\u1CF5\\u1CF6\\u1D00-\\u1DBF\\u1E00-\\u1F15\\u1F18-\\u1F1D\\u1F20-\\u1F45\\u1F48-\\u1F4D\\u1F50-\\u1F57\\u1F59\\u1F5B\\u1F5D\\u1F5F-\\u1F7D\\u1F80-\\u1FB4\\u1FB6-\\u1FBC\\u1FBE\\u1FC2-\\u1FC4\\u1FC6-\\u1FCC\\u1FD0-\\u1FD3\\u1FD6-\\u1FDB\\u1FE0-\\u1FEC\\u1FF2-\\u1FF4\\u1FF6-\\u1FFC\\u2071\\u207F\\u2090-\\u209C\\u2102\\u2107\\u210A-\\u2113\\u2115\\u2119-\\u211D\\u2124\\u2126\\u2128\\u212A-\\u212D\\u212F-\\u2139\\u213C-\\u213F\\u2145-\\u2149\\u214E\\u2160-\\u2188\\u2C00-\\u2C2E\\u2C30-\\u2C5E\\u2C60-\\u2CE4\\u2CEB-\\u2CEE\\u2CF2\\u2CF3\\u2D00-\\u2D25\\u2D27\\u2D2D\\u2D30-\\u2D67\\u2D6F\\u2D80-\\u2D96\\u2DA0-\\u2DA6\\u2DA8-\\u2DAE\\u2DB0-\\u2DB6\\u2DB8-\\u2DBE\\u2DC0-\\u2DC6\\u2DC8-\\u2DCE\\u2DD0-\\u2DD6\\u2DD8-\\u2DDE\\u2E2F\\u3005-\\u3007\\u3021-\\u3029\\u3031-\\u3035\\u3038-\\u303C\\u3041-\\u3096\\u309D-\\u309F\\u30A1-\\u30FA\\u30FC-\\u30FF\\u3105-\\u312D\\u3131-\\u318E\\u31A0-\\u31BA\\u31F0-\\u31FF\\u3400-\\u4DB5\\u4E00-\\u9FCC\\uA000-\\uA48C\\uA4D0-\\uA4FD\\uA500-\\uA60C\\uA610-\\uA61F\\uA62A\\uA62B\\uA640-\\uA66E\\uA67F-\\uA69D\\uA6A0-\\uA6EF\\uA717-\\uA71F\\uA722-\\uA788\\uA78B-\\uA78E\\uA790-\\uA7AD\\uA7B0\\uA7B1\\uA7F7-\\uA801\\uA803-\\uA805\\uA807-\\uA80A\\uA80C-\\uA822\\uA840-\\uA873\\uA882-\\uA8B3\\uA8F2-\\uA8F7\\uA8FB\\uA90A-\\uA925\\uA930-\\uA946\\uA960-\\uA97C\\uA984-\\uA9B2\\uA9CF\\uA9E0-\\uA9E4\\uA9E6-\\uA9EF\\uA9FA-\\uA9FE\\uAA00-\\uAA28\\uAA40-\\uAA42\\uAA44-\\uAA4B\\uAA60-\\uAA76\\uAA7A\\uAA7E-\\uAAAF\\uAAB1\\uAAB5\\uAAB6\\uAAB9-\\uAABD\\uAAC0\\uAAC2\\uAADB-\\uAADD\\uAAE0-\\uAAEA\\uAAF2-\\uAAF4\\uAB01-\\uAB06\\uAB09-\\uAB0E\\uAB11-\\uAB16\\uAB20-\\uAB26\\uAB28-\\uAB2E\\uAB30-\\uAB5A\\uAB5C-\\uAB5F\\uAB64\\uAB65\\uABC0-\\uABE2\\uAC00-\\uD7A3\\uD7B0-\\uD7C6\\uD7CB-\\uD7FB\\uF900-\\uFA6D\\uFA70-\\uFAD9\\uFB00-\\uFB06\\uFB13-\\uFB17\\uFB1D\\uFB1F-\\uFB28\\uFB2A-\\uFB36\\uFB38-\\uFB3C\\uFB3E\\uFB40\\uFB41\\uFB43\\uFB44\\uFB46-\\uFBB1\\uFBD3-\\uFD3D\\uFD50-\\uFD8F\\uFD92-\\uFDC7\\uFDF0-\\uFDFB\\uFE70-\\uFE74\\uFE76-\\uFEFC\\uFF21-\\uFF3A\\uFF41-\\uFF5A\\uFF66-\\uFFBE\\uFFC2-\\uFFC7\\uFFCA-\\uFFCF\\uFFD2-\\uFFD7\\uFFDA-\\uFFDC]"), xD = new RegExp("[\\xAA\\xB5\\xBA\\xC0-\\xD6\\xD8-\\xF6\\xF8-\\u02C1\\u02C6-\\u02D1\\u02E0-\\u02E4\\u02EC\\u02EE\\u0300-\\u0374\\u0376\\u0377\\u037A-\\u037D\\u037F\\u0386\\u0388-\\u038A\\u038C\\u038E-\\u03A1\\u03A3-\\u03F5\\u03F7-\\u0481\\u0483-\\u0487\\u048A-\\u052F\\u0531-\\u0556\\u0559\\u0561-\\u0587\\u0591-\\u05BD\\u05BF\\u05C1\\u05C2\\u05C4\\u05C5\\u05C7\\u05D0-\\u05EA\\u05F0-\\u05F2\\u0610-\\u061A\\u0620-\\u0669\\u066E-\\u06D3\\u06D5-\\u06DC\\u06DF-\\u06E8\\u06EA-\\u06FC\\u06FF\\u0710-\\u074A\\u074D-\\u07B1\\u07C0-\\u07F5\\u07FA\\u0800-\\u082D\\u0840-\\u085B\\u08A0-\\u08B2\\u08E4-\\u0963\\u0966-\\u096F\\u0971-\\u0983\\u0985-\\u098C\\u098F\\u0990\\u0993-\\u09A8\\u09AA-\\u09B0\\u09B2\\u09B6-\\u09B9\\u09BC-\\u09C4\\u09C7\\u09C8\\u09CB-\\u09CE\\u09D7\\u09DC\\u09DD\\u09DF-\\u09E3\\u09E6-\\u09F1\\u0A01-\\u0A03\\u0A05-\\u0A0A\\u0A0F\\u0A10\\u0A13-\\u0A28\\u0A2A-\\u0A30\\u0A32\\u0A33\\u0A35\\u0A36\\u0A38\\u0A39\\u0A3C\\u0A3E-\\u0A42\\u0A47\\u0A48\\u0A4B-\\u0A4D\\u0A51\\u0A59-\\u0A5C\\u0A5E\\u0A66-\\u0A75\\u0A81-\\u0A83\\u0A85-\\u0A8D\\u0A8F-\\u0A91\\u0A93-\\u0AA8\\u0AAA-\\u0AB0\\u0AB2\\u0AB3\\u0AB5-\\u0AB9\\u0ABC-\\u0AC5\\u0AC7-\\u0AC9\\u0ACB-\\u0ACD\\u0AD0\\u0AE0-\\u0AE3\\u0AE6-\\u0AEF\\u0B01-\\u0B03\\u0B05-\\u0B0C\\u0B0F\\u0B10\\u0B13-\\u0B28\\u0B2A-\\u0B30\\u0B32\\u0B33\\u0B35-\\u0B39\\u0B3C-\\u0B44\\u0B47\\u0B48\\u0B4B-\\u0B4D\\u0B56\\u0B57\\u0B5C\\u0B5D\\u0B5F-\\u0B63\\u0B66-\\u0B6F\\u0B71\\u0B82\\u0B83\\u0B85-\\u0B8A\\u0B8E-\\u0B90\\u0B92-\\u0B95\\u0B99\\u0B9A\\u0B9C\\u0B9E\\u0B9F\\u0BA3\\u0BA4\\u0BA8-\\u0BAA\\u0BAE-\\u0BB9\\u0BBE-\\u0BC2\\u0BC6-\\u0BC8\\u0BCA-\\u0BCD\\u0BD0\\u0BD7\\u0BE6-\\u0BEF\\u0C00-\\u0C03\\u0C05-\\u0C0C\\u0C0E-\\u0C10\\u0C12-\\u0C28\\u0C2A-\\u0C39\\u0C3D-\\u0C44\\u0C46-\\u0C48\\u0C4A-\\u0C4D\\u0C55\\u0C56\\u0C58\\u0C59\\u0C60-\\u0C63\\u0C66-\\u0C6F\\u0C81-\\u0C83\\u0C85-\\u0C8C\\u0C8E-\\u0C90\\u0C92-\\u0CA8\\u0CAA-\\u0CB3\\u0CB5-\\u0CB9\\u0CBC-\\u0CC4\\u0CC6-\\u0CC8\\u0CCA-\\u0CCD\\u0CD5\\u0CD6\\u0CDE\\u0CE0-\\u0CE3\\u0CE6-\\u0CEF\\u0CF1\\u0CF2\\u0D01-\\u0D03\\u0D05-\\u0D0C\\u0D0E-\\u0D10\\u0D12-\\u0D3A\\u0D3D-\\u0D44\\u0D46-\\u0D48\\u0D4A-\\u0D4E\\u0D57\\u0D60-\\u0D63\\u0D66-\\u0D6F\\u0D7A-\\u0D7F\\u0D82\\u0D83\\u0D85-\\u0D96\\u0D9A-\\u0DB1\\u0DB3-\\u0DBB\\u0DBD\\u0DC0-\\u0DC6\\u0DCA\\u0DCF-\\u0DD4\\u0DD6\\u0DD8-\\u0DDF\\u0DE6-\\u0DEF\\u0DF2\\u0DF3\\u0E01-\\u0E3A\\u0E40-\\u0E4E\\u0E50-\\u0E59\\u0E81\\u0E82\\u0E84\\u0E87\\u0E88\\u0E8A\\u0E8D\\u0E94-\\u0E97\\u0E99-\\u0E9F\\u0EA1-\\u0EA3\\u0EA5\\u0EA7\\u0EAA\\u0EAB\\u0EAD-\\u0EB9\\u0EBB-\\u0EBD\\u0EC0-\\u0EC4\\u0EC6\\u0EC8-\\u0ECD\\u0ED0-\\u0ED9\\u0EDC-\\u0EDF\\u0F00\\u0F18\\u0F19\\u0F20-\\u0F29\\u0F35\\u0F37\\u0F39\\u0F3E-\\u0F47\\u0F49-\\u0F6C\\u0F71-\\u0F84\\u0F86-\\u0F97\\u0F99-\\u0FBC\\u0FC6\\u1000-\\u1049\\u1050-\\u109D\\u10A0-\\u10C5\\u10C7\\u10CD\\u10D0-\\u10FA\\u10FC-\\u1248\\u124A-\\u124D\\u1250-\\u1256\\u1258\\u125A-\\u125D\\u1260-\\u1288\\u128A-\\u128D\\u1290-\\u12B0\\u12B2-\\u12B5\\u12B8-\\u12BE\\u12C0\\u12C2-\\u12C5\\u12C8-\\u12D6\\u12D8-\\u1310\\u1312-\\u1315\\u1318-\\u135A\\u135D-\\u135F\\u1380-\\u138F\\u13A0-\\u13F4\\u1401-\\u166C\\u166F-\\u167F\\u1681-\\u169A\\u16A0-\\u16EA\\u16EE-\\u16F8\\u1700-\\u170C\\u170E-\\u1714\\u1720-\\u1734\\u1740-\\u1753\\u1760-\\u176C\\u176E-\\u1770\\u1772\\u1773\\u1780-\\u17D3\\u17D7\\u17DC\\u17DD\\u17E0-\\u17E9\\u180B-\\u180D\\u1810-\\u1819\\u1820-\\u1877\\u1880-\\u18AA\\u18B0-\\u18F5\\u1900-\\u191E\\u1920-\\u192B\\u1930-\\u193B\\u1946-\\u196D\\u1970-\\u1974\\u1980-\\u19AB\\u19B0-\\u19C9\\u19D0-\\u19D9\\u1A00-\\u1A1B\\u1A20-\\u1A5E\\u1A60-\\u1A7C\\u1A7F-\\u1A89\\u1A90-\\u1A99\\u1AA7\\u1AB0-\\u1ABD\\u1B00-\\u1B4B\\u1B50-\\u1B59\\u1B6B-\\u1B73\\u1B80-\\u1BF3\\u1C00-\\u1C37\\u1C40-\\u1C49\\u1C4D-\\u1C7D\\u1CD0-\\u1CD2\\u1CD4-\\u1CF6\\u1CF8\\u1CF9\\u1D00-\\u1DF5\\u1DFC-\\u1F15\\u1F18-\\u1F1D\\u1F20-\\u1F45\\u1F48-\\u1F4D\\u1F50-\\u1F57\\u1F59\\u1F5B\\u1F5D\\u1F5F-\\u1F7D\\u1F80-\\u1FB4\\u1FB6-\\u1FBC\\u1FBE\\u1FC2-\\u1FC4\\u1FC6-\\u1FCC\\u1FD0-\\u1FD3\\u1FD6-\\u1FDB\\u1FE0-\\u1FEC\\u1FF2-\\u1FF4\\u1FF6-\\u1FFC\\u200C\\u200D\\u203F\\u2040\\u2054\\u2071\\u207F\\u2090-\\u209C\\u20D0-\\u20DC\\u20E1\\u20E5-\\u20F0\\u2102\\u2107\\u210A-\\u2113\\u2115\\u2119-\\u211D\\u2124\\u2126\\u2128\\u212A-\\u212D\\u212F-\\u2139\\u213C-\\u213F\\u2145-\\u2149\\u214E\\u2160-\\u2188\\u2C00-\\u2C2E\\u2C30-\\u2C5E\\u2C60-\\u2CE4\\u2CEB-\\u2CF3\\u2D00-\\u2D25\\u2D27\\u2D2D\\u2D30-\\u2D67\\u2D6F\\u2D7F-\\u2D96\\u2DA0-\\u2DA6\\u2DA8-\\u2DAE\\u2DB0-\\u2DB6\\u2DB8-\\u2DBE\\u2DC0-\\u2DC6\\u2DC8-\\u2DCE\\u2DD0-\\u2DD6\\u2DD8-\\u2DDE\\u2DE0-\\u2DFF\\u2E2F\\u3005-\\u3007\\u3021-\\u302F\\u3031-\\u3035\\u3038-\\u303C\\u3041-\\u3096\\u3099\\u309A\\u309D-\\u309F\\u30A1-\\u30FA\\u30FC-\\u30FF\\u3105-\\u312D\\u3131-\\u318E\\u31A0-\\u31BA\\u31F0-\\u31FF\\u3400-\\u4DB5\\u4E00-\\u9FCC\\uA000-\\uA48C\\uA4D0-\\uA4FD\\uA500-\\uA60C\\uA610-\\uA62B\\uA640-\\uA66F\\uA674-\\uA67D\\uA67F-\\uA69D\\uA69F-\\uA6F1\\uA717-\\uA71F\\uA722-\\uA788\\uA78B-\\uA78E\\uA790-\\uA7AD\\uA7B0\\uA7B1\\uA7F7-\\uA827\\uA840-\\uA873\\uA880-\\uA8C4\\uA8D0-\\uA8D9\\uA8E0-\\uA8F7\\uA8FB\\uA900-\\uA92D\\uA930-\\uA953\\uA960-\\uA97C\\uA980-\\uA9C0\\uA9CF-\\uA9D9\\uA9E0-\\uA9FE\\uAA00-\\uAA36\\uAA40-\\uAA4D\\uAA50-\\uAA59\\uAA60-\\uAA76\\uAA7A-\\uAAC2\\uAADB-\\uAADD\\uAAE0-\\uAAEF\\uAAF2-\\uAAF6\\uAB01-\\uAB06\\uAB09-\\uAB0E\\uAB11-\\uAB16\\uAB20-\\uAB26\\uAB28-\\uAB2E\\uAB30-\\uAB5A\\uAB5C-\\uAB5F\\uAB64\\uAB65\\uABC0-\\uABEA\\uABEC\\uABED\\uABF0-\\uABF9\\uAC00-\\uD7A3\\uD7B0-\\uD7C6\\uD7CB-\\uD7FB\\uF900-\\uFA6D\\uFA70-\\uFAD9\\uFB00-\\uFB06\\uFB13-\\uFB17\\uFB1D-\\uFB28\\uFB2A-\\uFB36\\uFB38-\\uFB3C\\uFB3E\\uFB40\\uFB41\\uFB43\\uFB44\\uFB46-\\uFBB1\\uFBD3-\\uFD3D\\uFD50-\\uFD8F\\uFD92-\\uFDC7\\uFDF0-\\uFDFB\\uFE00-\\uFE0F\\uFE20-\\uFE2D\\uFE33\\uFE34\\uFE4D-\\uFE4F\\uFE70-\\uFE74\\uFE76-\\uFEFC\\uFF10-\\uFF19\\uFF21-\\uFF3A\\uFF3F\\uFF41-\\uFF5A\\uFF66-\\uFFBE\\uFFC2-\\uFFC7\\uFFCA-\\uFFCF\\uFFD2-\\uFFD7\\uFFDA-\\uFFDC]");
|
|
2401
|
+
var cr, ne, j, At, Ie, oc = 1, Mu = 2, ia = 3, xi = 4, sc = 5, wa = 6, Lt = 7, Tu = 8, nD = 9;
|
|
2402
|
+
cr = {};
|
|
2403
|
+
cr[oc] = "Boolean";
|
|
2404
|
+
cr[Mu] = "<end>";
|
|
2405
|
+
cr[ia] = "Identifier";
|
|
2406
|
+
cr[xi] = "Keyword";
|
|
2407
|
+
cr[sc] = "Null";
|
|
2408
|
+
cr[wa] = "Numeric";
|
|
2409
|
+
cr[Lt] = "Punctuator";
|
|
2410
|
+
cr[Tu] = "String";
|
|
2411
|
+
cr[nD] = "RegularExpression";
|
|
2412
|
+
var rD = "ArrayExpression", iD = "BinaryExpression", aD = "CallExpression", oD = "ConditionalExpression", px = "Identifier", sD = "Literal", uD = "LogicalExpression", fD = "MemberExpression", lD = "ObjectExpression", cD = "Property", hD = "UnaryExpression", st = "Unexpected token %0", dD = "Unexpected number", gD = "Unexpected string", pD = "Unexpected identifier", mD = "Unexpected reserved word", bD = "Unexpected end of input", kd = "Invalid regular expression", ih = "Invalid regular expression: missing /", mx = "Octal literals are not allowed in strict mode.", yD = "Duplicate data property in object literal not allowed in strict mode", gt = "ILLEGAL", Hs = "Disabled.", wD = new RegExp("[\\xAA\\xB5\\xBA\\xC0-\\xD6\\xD8-\\xF6\\xF8-\\u02C1\\u02C6-\\u02D1\\u02E0-\\u02E4\\u02EC\\u02EE\\u0370-\\u0374\\u0376\\u0377\\u037A-\\u037D\\u037F\\u0386\\u0388-\\u038A\\u038C\\u038E-\\u03A1\\u03A3-\\u03F5\\u03F7-\\u0481\\u048A-\\u052F\\u0531-\\u0556\\u0559\\u0561-\\u0587\\u05D0-\\u05EA\\u05F0-\\u05F2\\u0620-\\u064A\\u066E\\u066F\\u0671-\\u06D3\\u06D5\\u06E5\\u06E6\\u06EE\\u06EF\\u06FA-\\u06FC\\u06FF\\u0710\\u0712-\\u072F\\u074D-\\u07A5\\u07B1\\u07CA-\\u07EA\\u07F4\\u07F5\\u07FA\\u0800-\\u0815\\u081A\\u0824\\u0828\\u0840-\\u0858\\u08A0-\\u08B2\\u0904-\\u0939\\u093D\\u0950\\u0958-\\u0961\\u0971-\\u0980\\u0985-\\u098C\\u098F\\u0990\\u0993-\\u09A8\\u09AA-\\u09B0\\u09B2\\u09B6-\\u09B9\\u09BD\\u09CE\\u09DC\\u09DD\\u09DF-\\u09E1\\u09F0\\u09F1\\u0A05-\\u0A0A\\u0A0F\\u0A10\\u0A13-\\u0A28\\u0A2A-\\u0A30\\u0A32\\u0A33\\u0A35\\u0A36\\u0A38\\u0A39\\u0A59-\\u0A5C\\u0A5E\\u0A72-\\u0A74\\u0A85-\\u0A8D\\u0A8F-\\u0A91\\u0A93-\\u0AA8\\u0AAA-\\u0AB0\\u0AB2\\u0AB3\\u0AB5-\\u0AB9\\u0ABD\\u0AD0\\u0AE0\\u0AE1\\u0B05-\\u0B0C\\u0B0F\\u0B10\\u0B13-\\u0B28\\u0B2A-\\u0B30\\u0B32\\u0B33\\u0B35-\\u0B39\\u0B3D\\u0B5C\\u0B5D\\u0B5F-\\u0B61\\u0B71\\u0B83\\u0B85-\\u0B8A\\u0B8E-\\u0B90\\u0B92-\\u0B95\\u0B99\\u0B9A\\u0B9C\\u0B9E\\u0B9F\\u0BA3\\u0BA4\\u0BA8-\\u0BAA\\u0BAE-\\u0BB9\\u0BD0\\u0C05-\\u0C0C\\u0C0E-\\u0C10\\u0C12-\\u0C28\\u0C2A-\\u0C39\\u0C3D\\u0C58\\u0C59\\u0C60\\u0C61\\u0C85-\\u0C8C\\u0C8E-\\u0C90\\u0C92-\\u0CA8\\u0CAA-\\u0CB3\\u0CB5-\\u0CB9\\u0CBD\\u0CDE\\u0CE0\\u0CE1\\u0CF1\\u0CF2\\u0D05-\\u0D0C\\u0D0E-\\u0D10\\u0D12-\\u0D3A\\u0D3D\\u0D4E\\u0D60\\u0D61\\u0D7A-\\u0D7F\\u0D85-\\u0D96\\u0D9A-\\u0DB1\\u0DB3-\\u0DBB\\u0DBD\\u0DC0-\\u0DC6\\u0E01-\\u0E30\\u0E32\\u0E33\\u0E40-\\u0E46\\u0E81\\u0E82\\u0E84\\u0E87\\u0E88\\u0E8A\\u0E8D\\u0E94-\\u0E97\\u0E99-\\u0E9F\\u0EA1-\\u0EA3\\u0EA5\\u0EA7\\u0EAA\\u0EAB\\u0EAD-\\u0EB0\\u0EB2\\u0EB3\\u0EBD\\u0EC0-\\u0EC4\\u0EC6\\u0EDC-\\u0EDF\\u0F00\\u0F40-\\u0F47\\u0F49-\\u0F6C\\u0F88-\\u0F8C\\u1000-\\u102A\\u103F\\u1050-\\u1055\\u105A-\\u105D\\u1061\\u1065\\u1066\\u106E-\\u1070\\u1075-\\u1081\\u108E\\u10A0-\\u10C5\\u10C7\\u10CD\\u10D0-\\u10FA\\u10FC-\\u1248\\u124A-\\u124D\\u1250-\\u1256\\u1258\\u125A-\\u125D\\u1260-\\u1288\\u128A-\\u128D\\u1290-\\u12B0\\u12B2-\\u12B5\\u12B8-\\u12BE\\u12C0\\u12C2-\\u12C5\\u12C8-\\u12D6\\u12D8-\\u1310\\u1312-\\u1315\\u1318-\\u135A\\u1380-\\u138F\\u13A0-\\u13F4\\u1401-\\u166C\\u166F-\\u167F\\u1681-\\u169A\\u16A0-\\u16EA\\u16EE-\\u16F8\\u1700-\\u170C\\u170E-\\u1711\\u1720-\\u1731\\u1740-\\u1751\\u1760-\\u176C\\u176E-\\u1770\\u1780-\\u17B3\\u17D7\\u17DC\\u1820-\\u1877\\u1880-\\u18A8\\u18AA\\u18B0-\\u18F5\\u1900-\\u191E\\u1950-\\u196D\\u1970-\\u1974\\u1980-\\u19AB\\u19C1-\\u19C7\\u1A00-\\u1A16\\u1A20-\\u1A54\\u1AA7\\u1B05-\\u1B33\\u1B45-\\u1B4B\\u1B83-\\u1BA0\\u1BAE\\u1BAF\\u1BBA-\\u1BE5\\u1C00-\\u1C23\\u1C4D-\\u1C4F\\u1C5A-\\u1C7D\\u1CE9-\\u1CEC\\u1CEE-\\u1CF1\\u1CF5\\u1CF6\\u1D00-\\u1DBF\\u1E00-\\u1F15\\u1F18-\\u1F1D\\u1F20-\\u1F45\\u1F48-\\u1F4D\\u1F50-\\u1F57\\u1F59\\u1F5B\\u1F5D\\u1F5F-\\u1F7D\\u1F80-\\u1FB4\\u1FB6-\\u1FBC\\u1FBE\\u1FC2-\\u1FC4\\u1FC6-\\u1FCC\\u1FD0-\\u1FD3\\u1FD6-\\u1FDB\\u1FE0-\\u1FEC\\u1FF2-\\u1FF4\\u1FF6-\\u1FFC\\u2071\\u207F\\u2090-\\u209C\\u2102\\u2107\\u210A-\\u2113\\u2115\\u2119-\\u211D\\u2124\\u2126\\u2128\\u212A-\\u212D\\u212F-\\u2139\\u213C-\\u213F\\u2145-\\u2149\\u214E\\u2160-\\u2188\\u2C00-\\u2C2E\\u2C30-\\u2C5E\\u2C60-\\u2CE4\\u2CEB-\\u2CEE\\u2CF2\\u2CF3\\u2D00-\\u2D25\\u2D27\\u2D2D\\u2D30-\\u2D67\\u2D6F\\u2D80-\\u2D96\\u2DA0-\\u2DA6\\u2DA8-\\u2DAE\\u2DB0-\\u2DB6\\u2DB8-\\u2DBE\\u2DC0-\\u2DC6\\u2DC8-\\u2DCE\\u2DD0-\\u2DD6\\u2DD8-\\u2DDE\\u2E2F\\u3005-\\u3007\\u3021-\\u3029\\u3031-\\u3035\\u3038-\\u303C\\u3041-\\u3096\\u309D-\\u309F\\u30A1-\\u30FA\\u30FC-\\u30FF\\u3105-\\u312D\\u3131-\\u318E\\u31A0-\\u31BA\\u31F0-\\u31FF\\u3400-\\u4DB5\\u4E00-\\u9FCC\\uA000-\\uA48C\\uA4D0-\\uA4FD\\uA500-\\uA60C\\uA610-\\uA61F\\uA62A\\uA62B\\uA640-\\uA66E\\uA67F-\\uA69D\\uA6A0-\\uA6EF\\uA717-\\uA71F\\uA722-\\uA788\\uA78B-\\uA78E\\uA790-\\uA7AD\\uA7B0\\uA7B1\\uA7F7-\\uA801\\uA803-\\uA805\\uA807-\\uA80A\\uA80C-\\uA822\\uA840-\\uA873\\uA882-\\uA8B3\\uA8F2-\\uA8F7\\uA8FB\\uA90A-\\uA925\\uA930-\\uA946\\uA960-\\uA97C\\uA984-\\uA9B2\\uA9CF\\uA9E0-\\uA9E4\\uA9E6-\\uA9EF\\uA9FA-\\uA9FE\\uAA00-\\uAA28\\uAA40-\\uAA42\\uAA44-\\uAA4B\\uAA60-\\uAA76\\uAA7A\\uAA7E-\\uAAAF\\uAAB1\\uAAB5\\uAAB6\\uAAB9-\\uAABD\\uAAC0\\uAAC2\\uAADB-\\uAADD\\uAAE0-\\uAAEA\\uAAF2-\\uAAF4\\uAB01-\\uAB06\\uAB09-\\uAB0E\\uAB11-\\uAB16\\uAB20-\\uAB26\\uAB28-\\uAB2E\\uAB30-\\uAB5A\\uAB5C-\\uAB5F\\uAB64\\uAB65\\uABC0-\\uABE2\\uAC00-\\uD7A3\\uD7B0-\\uD7C6\\uD7CB-\\uD7FB\\uF900-\\uFA6D\\uFA70-\\uFAD9\\uFB00-\\uFB06\\uFB13-\\uFB17\\uFB1D\\uFB1F-\\uFB28\\uFB2A-\\uFB36\\uFB38-\\uFB3C\\uFB3E\\uFB40\\uFB41\\uFB43\\uFB44\\uFB46-\\uFBB1\\uFBD3-\\uFD3D\\uFD50-\\uFD8F\\uFD92-\\uFDC7\\uFDF0-\\uFDFB\\uFE70-\\uFE74\\uFE76-\\uFEFC\\uFF21-\\uFF3A\\uFF41-\\uFF5A\\uFF66-\\uFFBE\\uFFC2-\\uFFC7\\uFFCA-\\uFFCF\\uFFD2-\\uFFD7\\uFFDA-\\uFFDC]"), xD = new RegExp("[\\xAA\\xB5\\xBA\\xC0-\\xD6\\xD8-\\xF6\\xF8-\\u02C1\\u02C6-\\u02D1\\u02E0-\\u02E4\\u02EC\\u02EE\\u0300-\\u0374\\u0376\\u0377\\u037A-\\u037D\\u037F\\u0386\\u0388-\\u038A\\u038C\\u038E-\\u03A1\\u03A3-\\u03F5\\u03F7-\\u0481\\u0483-\\u0487\\u048A-\\u052F\\u0531-\\u0556\\u0559\\u0561-\\u0587\\u0591-\\u05BD\\u05BF\\u05C1\\u05C2\\u05C4\\u05C5\\u05C7\\u05D0-\\u05EA\\u05F0-\\u05F2\\u0610-\\u061A\\u0620-\\u0669\\u066E-\\u06D3\\u06D5-\\u06DC\\u06DF-\\u06E8\\u06EA-\\u06FC\\u06FF\\u0710-\\u074A\\u074D-\\u07B1\\u07C0-\\u07F5\\u07FA\\u0800-\\u082D\\u0840-\\u085B\\u08A0-\\u08B2\\u08E4-\\u0963\\u0966-\\u096F\\u0971-\\u0983\\u0985-\\u098C\\u098F\\u0990\\u0993-\\u09A8\\u09AA-\\u09B0\\u09B2\\u09B6-\\u09B9\\u09BC-\\u09C4\\u09C7\\u09C8\\u09CB-\\u09CE\\u09D7\\u09DC\\u09DD\\u09DF-\\u09E3\\u09E6-\\u09F1\\u0A01-\\u0A03\\u0A05-\\u0A0A\\u0A0F\\u0A10\\u0A13-\\u0A28\\u0A2A-\\u0A30\\u0A32\\u0A33\\u0A35\\u0A36\\u0A38\\u0A39\\u0A3C\\u0A3E-\\u0A42\\u0A47\\u0A48\\u0A4B-\\u0A4D\\u0A51\\u0A59-\\u0A5C\\u0A5E\\u0A66-\\u0A75\\u0A81-\\u0A83\\u0A85-\\u0A8D\\u0A8F-\\u0A91\\u0A93-\\u0AA8\\u0AAA-\\u0AB0\\u0AB2\\u0AB3\\u0AB5-\\u0AB9\\u0ABC-\\u0AC5\\u0AC7-\\u0AC9\\u0ACB-\\u0ACD\\u0AD0\\u0AE0-\\u0AE3\\u0AE6-\\u0AEF\\u0B01-\\u0B03\\u0B05-\\u0B0C\\u0B0F\\u0B10\\u0B13-\\u0B28\\u0B2A-\\u0B30\\u0B32\\u0B33\\u0B35-\\u0B39\\u0B3C-\\u0B44\\u0B47\\u0B48\\u0B4B-\\u0B4D\\u0B56\\u0B57\\u0B5C\\u0B5D\\u0B5F-\\u0B63\\u0B66-\\u0B6F\\u0B71\\u0B82\\u0B83\\u0B85-\\u0B8A\\u0B8E-\\u0B90\\u0B92-\\u0B95\\u0B99\\u0B9A\\u0B9C\\u0B9E\\u0B9F\\u0BA3\\u0BA4\\u0BA8-\\u0BAA\\u0BAE-\\u0BB9\\u0BBE-\\u0BC2\\u0BC6-\\u0BC8\\u0BCA-\\u0BCD\\u0BD0\\u0BD7\\u0BE6-\\u0BEF\\u0C00-\\u0C03\\u0C05-\\u0C0C\\u0C0E-\\u0C10\\u0C12-\\u0C28\\u0C2A-\\u0C39\\u0C3D-\\u0C44\\u0C46-\\u0C48\\u0C4A-\\u0C4D\\u0C55\\u0C56\\u0C58\\u0C59\\u0C60-\\u0C63\\u0C66-\\u0C6F\\u0C81-\\u0C83\\u0C85-\\u0C8C\\u0C8E-\\u0C90\\u0C92-\\u0CA8\\u0CAA-\\u0CB3\\u0CB5-\\u0CB9\\u0CBC-\\u0CC4\\u0CC6-\\u0CC8\\u0CCA-\\u0CCD\\u0CD5\\u0CD6\\u0CDE\\u0CE0-\\u0CE3\\u0CE6-\\u0CEF\\u0CF1\\u0CF2\\u0D01-\\u0D03\\u0D05-\\u0D0C\\u0D0E-\\u0D10\\u0D12-\\u0D3A\\u0D3D-\\u0D44\\u0D46-\\u0D48\\u0D4A-\\u0D4E\\u0D57\\u0D60-\\u0D63\\u0D66-\\u0D6F\\u0D7A-\\u0D7F\\u0D82\\u0D83\\u0D85-\\u0D96\\u0D9A-\\u0DB1\\u0DB3-\\u0DBB\\u0DBD\\u0DC0-\\u0DC6\\u0DCA\\u0DCF-\\u0DD4\\u0DD6\\u0DD8-\\u0DDF\\u0DE6-\\u0DEF\\u0DF2\\u0DF3\\u0E01-\\u0E3A\\u0E40-\\u0E4E\\u0E50-\\u0E59\\u0E81\\u0E82\\u0E84\\u0E87\\u0E88\\u0E8A\\u0E8D\\u0E94-\\u0E97\\u0E99-\\u0E9F\\u0EA1-\\u0EA3\\u0EA5\\u0EA7\\u0EAA\\u0EAB\\u0EAD-\\u0EB9\\u0EBB-\\u0EBD\\u0EC0-\\u0EC4\\u0EC6\\u0EC8-\\u0ECD\\u0ED0-\\u0ED9\\u0EDC-\\u0EDF\\u0F00\\u0F18\\u0F19\\u0F20-\\u0F29\\u0F35\\u0F37\\u0F39\\u0F3E-\\u0F47\\u0F49-\\u0F6C\\u0F71-\\u0F84\\u0F86-\\u0F97\\u0F99-\\u0FBC\\u0FC6\\u1000-\\u1049\\u1050-\\u109D\\u10A0-\\u10C5\\u10C7\\u10CD\\u10D0-\\u10FA\\u10FC-\\u1248\\u124A-\\u124D\\u1250-\\u1256\\u1258\\u125A-\\u125D\\u1260-\\u1288\\u128A-\\u128D\\u1290-\\u12B0\\u12B2-\\u12B5\\u12B8-\\u12BE\\u12C0\\u12C2-\\u12C5\\u12C8-\\u12D6\\u12D8-\\u1310\\u1312-\\u1315\\u1318-\\u135A\\u135D-\\u135F\\u1380-\\u138F\\u13A0-\\u13F4\\u1401-\\u166C\\u166F-\\u167F\\u1681-\\u169A\\u16A0-\\u16EA\\u16EE-\\u16F8\\u1700-\\u170C\\u170E-\\u1714\\u1720-\\u1734\\u1740-\\u1753\\u1760-\\u176C\\u176E-\\u1770\\u1772\\u1773\\u1780-\\u17D3\\u17D7\\u17DC\\u17DD\\u17E0-\\u17E9\\u180B-\\u180D\\u1810-\\u1819\\u1820-\\u1877\\u1880-\\u18AA\\u18B0-\\u18F5\\u1900-\\u191E\\u1920-\\u192B\\u1930-\\u193B\\u1946-\\u196D\\u1970-\\u1974\\u1980-\\u19AB\\u19B0-\\u19C9\\u19D0-\\u19D9\\u1A00-\\u1A1B\\u1A20-\\u1A5E\\u1A60-\\u1A7C\\u1A7F-\\u1A89\\u1A90-\\u1A99\\u1AA7\\u1AB0-\\u1ABD\\u1B00-\\u1B4B\\u1B50-\\u1B59\\u1B6B-\\u1B73\\u1B80-\\u1BF3\\u1C00-\\u1C37\\u1C40-\\u1C49\\u1C4D-\\u1C7D\\u1CD0-\\u1CD2\\u1CD4-\\u1CF6\\u1CF8\\u1CF9\\u1D00-\\u1DF5\\u1DFC-\\u1F15\\u1F18-\\u1F1D\\u1F20-\\u1F45\\u1F48-\\u1F4D\\u1F50-\\u1F57\\u1F59\\u1F5B\\u1F5D\\u1F5F-\\u1F7D\\u1F80-\\u1FB4\\u1FB6-\\u1FBC\\u1FBE\\u1FC2-\\u1FC4\\u1FC6-\\u1FCC\\u1FD0-\\u1FD3\\u1FD6-\\u1FDB\\u1FE0-\\u1FEC\\u1FF2-\\u1FF4\\u1FF6-\\u1FFC\\u200C\\u200D\\u203F\\u2040\\u2054\\u2071\\u207F\\u2090-\\u209C\\u20D0-\\u20DC\\u20E1\\u20E5-\\u20F0\\u2102\\u2107\\u210A-\\u2113\\u2115\\u2119-\\u211D\\u2124\\u2126\\u2128\\u212A-\\u212D\\u212F-\\u2139\\u213C-\\u213F\\u2145-\\u2149\\u214E\\u2160-\\u2188\\u2C00-\\u2C2E\\u2C30-\\u2C5E\\u2C60-\\u2CE4\\u2CEB-\\u2CF3\\u2D00-\\u2D25\\u2D27\\u2D2D\\u2D30-\\u2D67\\u2D6F\\u2D7F-\\u2D96\\u2DA0-\\u2DA6\\u2DA8-\\u2DAE\\u2DB0-\\u2DB6\\u2DB8-\\u2DBE\\u2DC0-\\u2DC6\\u2DC8-\\u2DCE\\u2DD0-\\u2DD6\\u2DD8-\\u2DDE\\u2DE0-\\u2DFF\\u2E2F\\u3005-\\u3007\\u3021-\\u302F\\u3031-\\u3035\\u3038-\\u303C\\u3041-\\u3096\\u3099\\u309A\\u309D-\\u309F\\u30A1-\\u30FA\\u30FC-\\u30FF\\u3105-\\u312D\\u3131-\\u318E\\u31A0-\\u31BA\\u31F0-\\u31FF\\u3400-\\u4DB5\\u4E00-\\u9FCC\\uA000-\\uA48C\\uA4D0-\\uA4FD\\uA500-\\uA60C\\uA610-\\uA62B\\uA640-\\uA66F\\uA674-\\uA67D\\uA67F-\\uA69D\\uA69F-\\uA6F1\\uA717-\\uA71F\\uA722-\\uA788\\uA78B-\\uA78E\\uA790-\\uA7AD\\uA7B0\\uA7B1\\uA7F7-\\uA827\\uA840-\\uA873\\uA880-\\uA8C4\\uA8D0-\\uA8D9\\uA8E0-\\uA8F7\\uA8FB\\uA900-\\uA92D\\uA930-\\uA953\\uA960-\\uA97C\\uA980-\\uA9C0\\uA9CF-\\uA9D9\\uA9E0-\\uA9FE\\uAA00-\\uAA36\\uAA40-\\uAA4D\\uAA50-\\uAA59\\uAA60-\\uAA76\\uAA7A-\\uAAC2\\uAADB-\\uAADD\\uAAE0-\\uAAEF\\uAAF2-\\uAAF6\\uAB01-\\uAB06\\uAB09-\\uAB0E\\uAB11-\\uAB16\\uAB20-\\uAB26\\uAB28-\\uAB2E\\uAB30-\\uAB5A\\uAB5C-\\uAB5F\\uAB64\\uAB65\\uABC0-\\uABEA\\uABEC\\uABED\\uABF0-\\uABF9\\uAC00-\\uD7A3\\uD7B0-\\uD7C6\\uD7CB-\\uD7FB\\uF900-\\uFA6D\\uFA70-\\uFAD9\\uFB00-\\uFB06\\uFB13-\\uFB17\\uFB1D-\\uFB28\\uFB2A-\\uFB36\\uFB38-\\uFB3C\\uFB3E\\uFB40\\uFB41\\uFB43\\uFB44\\uFB46-\\uFBB1\\uFBD3-\\uFD3D\\uFD50-\\uFD8F\\uFD92-\\uFDC7\\uFDF0-\\uFDFB\\uFE00-\\uFE0F\\uFE20-\\uFE2D\\uFE33\\uFE34\\uFE4D-\\uFE4F\\uFE70-\\uFE74\\uFE76-\\uFEFC\\uFF10-\\uFF19\\uFF21-\\uFF3A\\uFF3F\\uFF41-\\uFF5A\\uFF66-\\uFFBE\\uFFC2-\\uFFC7\\uFFCA-\\uFFCF\\uFFD2-\\uFFD7\\uFFDA-\\uFFDC]");
|
|
2412
2413
|
function uc(t, e) {
|
|
2413
2414
|
if (!t)
|
|
2414
2415
|
throw new Error("ASSERT: " + e);
|
|
@@ -2419,13 +2420,13 @@ function Er(t) {
|
|
|
2419
2420
|
function hg(t) {
|
|
2420
2421
|
return "0123456789abcdefABCDEF".indexOf(t) >= 0;
|
|
2421
2422
|
}
|
|
2422
|
-
function
|
|
2423
|
+
function bs(t) {
|
|
2423
2424
|
return "01234567".indexOf(t) >= 0;
|
|
2424
2425
|
}
|
|
2425
2426
|
function vD(t) {
|
|
2426
2427
|
return t === 32 || t === 9 || t === 11 || t === 12 || t === 160 || t >= 5760 && [5760, 6158, 8192, 8193, 8194, 8195, 8196, 8197, 8198, 8199, 8200, 8201, 8202, 8239, 8287, 12288, 65279].indexOf(t) >= 0;
|
|
2427
2428
|
}
|
|
2428
|
-
function
|
|
2429
|
+
function Qs(t) {
|
|
2429
2430
|
return t === 10 || t === 13 || t === 8232 || t === 8233;
|
|
2430
2431
|
}
|
|
2431
2432
|
function Nu(t) {
|
|
@@ -2481,7 +2482,7 @@ const AD = {
|
|
|
2481
2482
|
function bx() {
|
|
2482
2483
|
for (; j < At; ) {
|
|
2483
2484
|
const t = ne.charCodeAt(j);
|
|
2484
|
-
if (vD(t) ||
|
|
2485
|
+
if (vD(t) || Qs(t))
|
|
2485
2486
|
++j;
|
|
2486
2487
|
else
|
|
2487
2488
|
break;
|
|
@@ -2619,7 +2620,7 @@ function CD(t) {
|
|
|
2619
2620
|
}
|
|
2620
2621
|
function DD(t) {
|
|
2621
2622
|
let e = "0" + ne[j++];
|
|
2622
|
-
for (; j < At &&
|
|
2623
|
+
for (; j < At && bs(ne[j]); )
|
|
2623
2624
|
e += ne[j++];
|
|
2624
2625
|
return (Nu(ne.charCodeAt(j)) || Er(ne.charCodeAt(j))) && xe({}, st, gt), {
|
|
2625
2626
|
type: wa,
|
|
@@ -2635,7 +2636,7 @@ function Um() {
|
|
|
2635
2636
|
if (t = ne[j++], n = ne[j], t === "0") {
|
|
2636
2637
|
if (n === "x" || n === "X")
|
|
2637
2638
|
return ++j, CD(e);
|
|
2638
|
-
if (
|
|
2639
|
+
if (bs(n))
|
|
2639
2640
|
return DD(e);
|
|
2640
2641
|
n && Er(n.charCodeAt(0)) && xe({}, st, gt);
|
|
2641
2642
|
}
|
|
@@ -2668,7 +2669,7 @@ function ID() {
|
|
|
2668
2669
|
e = "";
|
|
2669
2670
|
break;
|
|
2670
2671
|
} else if (r === "\\")
|
|
2671
|
-
if (r = ne[j++], !r || !
|
|
2672
|
+
if (r = ne[j++], !r || !Qs(r.charCodeAt(0)))
|
|
2672
2673
|
switch (r) {
|
|
2673
2674
|
case "u":
|
|
2674
2675
|
case "x":
|
|
@@ -2694,14 +2695,14 @@ function ID() {
|
|
|
2694
2695
|
t += "\v";
|
|
2695
2696
|
break;
|
|
2696
2697
|
default:
|
|
2697
|
-
|
|
2698
|
+
bs(r) ? (i = "01234567".indexOf(r), i !== 0 && (a = !0), j < At && bs(ne[j]) && (a = !0, i = i * 8 + "01234567".indexOf(ne[j++]), "0123".indexOf(r) >= 0 && j < At && bs(ne[j]) && (i = i * 8 + "01234567".indexOf(ne[j++]))), t += String.fromCharCode(i)) : t += r;
|
|
2698
2699
|
break;
|
|
2699
2700
|
}
|
|
2700
2701
|
else
|
|
2701
2702
|
r === "\r" && ne[j] === `
|
|
2702
2703
|
` && ++j;
|
|
2703
2704
|
else {
|
|
2704
|
-
if (
|
|
2705
|
+
if (Qs(r.charCodeAt(0)))
|
|
2705
2706
|
break;
|
|
2706
2707
|
t += r;
|
|
2707
2708
|
}
|
|
@@ -2735,8 +2736,8 @@ function TD() {
|
|
|
2735
2736
|
var t, e, n, r, i;
|
|
2736
2737
|
for (t = ne[j], uc(t === "/", "Regular expression literal must start with a slash"), e = ne[j++], n = !1, r = !1; j < At; )
|
|
2737
2738
|
if (t = ne[j++], e += t, t === "\\")
|
|
2738
|
-
t = ne[j++],
|
|
2739
|
-
else if (
|
|
2739
|
+
t = ne[j++], Qs(t.charCodeAt(0)) && xe({}, ih), e += t;
|
|
2740
|
+
else if (Qs(t.charCodeAt(0)))
|
|
2740
2741
|
xe({}, ih);
|
|
2741
2742
|
else if (n)
|
|
2742
2743
|
t === "]" && (n = !1);
|
|
@@ -2813,7 +2814,7 @@ function dg(t) {
|
|
|
2813
2814
|
const e = new zn(px);
|
|
2814
2815
|
return e.name = t, e;
|
|
2815
2816
|
}
|
|
2816
|
-
function
|
|
2817
|
+
function fs(t) {
|
|
2817
2818
|
const e = new zn(sD);
|
|
2818
2819
|
return e.value = t.value, e.raw = ne.slice(t.start, t.end), t.regex && (e.raw === "//" && (e.raw = "/(?:)/"), e.regex = t.regex), e;
|
|
2819
2820
|
}
|
|
@@ -2859,7 +2860,7 @@ function PD() {
|
|
|
2859
2860
|
function Qm() {
|
|
2860
2861
|
j = Ie.start;
|
|
2861
2862
|
const t = Rt();
|
|
2862
|
-
return t.type === Tu || t.type === wa ? (t.octal && xe(t, mx),
|
|
2863
|
+
return t.type === Tu || t.type === wa ? (t.octal && xe(t, mx), fs(t)) : dg(t.value);
|
|
2863
2864
|
}
|
|
2864
2865
|
function UD() {
|
|
2865
2866
|
var t, e, n, r;
|
|
@@ -2895,11 +2896,11 @@ function QD() {
|
|
|
2895
2896
|
if (t = Ie.type, j = Ie.start, t === ia || HD[Ie.value])
|
|
2896
2897
|
n = dg(Rt().value);
|
|
2897
2898
|
else if (t === Tu || t === wa)
|
|
2898
|
-
Ie.octal && xe(Ie, mx), n =
|
|
2899
|
+
Ie.octal && xe(Ie, mx), n = fs(Rt());
|
|
2899
2900
|
else {
|
|
2900
2901
|
if (t === xi)
|
|
2901
|
-
throw new Error(
|
|
2902
|
-
t === oc ? (e = Rt(), e.value = e.value === "true", n =
|
|
2902
|
+
throw new Error(Hs);
|
|
2903
|
+
t === oc ? (e = Rt(), e.value = e.value === "true", n = fs(e)) : t === sc ? (e = Rt(), e.value = null, n = fs(e)) : Ue("/") || Ue("/=") ? (n = fs(FD()), xx()) : fc(Rt());
|
|
2903
2904
|
}
|
|
2904
2905
|
return n;
|
|
2905
2906
|
}
|
|
@@ -2939,7 +2940,7 @@ function WD() {
|
|
|
2939
2940
|
function Vm() {
|
|
2940
2941
|
const t = WD();
|
|
2941
2942
|
if (Ie.type === Lt && (Ue("++") || Ue("--")))
|
|
2942
|
-
throw new Error(
|
|
2943
|
+
throw new Error(Hs);
|
|
2943
2944
|
return t;
|
|
2944
2945
|
}
|
|
2945
2946
|
function Of() {
|
|
@@ -2948,12 +2949,12 @@ function Of() {
|
|
|
2948
2949
|
e = Vm();
|
|
2949
2950
|
else {
|
|
2950
2951
|
if (Ue("++") || Ue("--"))
|
|
2951
|
-
throw new Error(
|
|
2952
|
+
throw new Error(Hs);
|
|
2952
2953
|
if (Ue("+") || Ue("-") || Ue("~") || Ue("!"))
|
|
2953
2954
|
t = Rt(), e = Of(), e = zD(t.value, e);
|
|
2954
2955
|
else {
|
|
2955
2956
|
if (oh("delete") || oh("void") || oh("typeof"))
|
|
2956
|
-
throw new Error(
|
|
2957
|
+
throw new Error(Hs);
|
|
2957
2958
|
e = Vm();
|
|
2958
2959
|
}
|
|
2959
2960
|
}
|
|
@@ -3030,7 +3031,7 @@ function aa() {
|
|
|
3030
3031
|
function gg() {
|
|
3031
3032
|
const t = aa();
|
|
3032
3033
|
if (Ue(","))
|
|
3033
|
-
throw new Error(
|
|
3034
|
+
throw new Error(Hs);
|
|
3034
3035
|
return t;
|
|
3035
3036
|
}
|
|
3036
3037
|
function $D(t) {
|
|
@@ -3189,24 +3190,24 @@ function pg(t, e = {}) {
|
|
|
3189
3190
|
const n = tI({
|
|
3190
3191
|
forbidden: [],
|
|
3191
3192
|
allowed: ["datum"],
|
|
3192
|
-
globalvar: "
|
|
3193
|
+
globalvar: "globalObject",
|
|
3193
3194
|
fieldvar: "datum"
|
|
3194
3195
|
});
|
|
3195
3196
|
try {
|
|
3196
3197
|
const r = $D(t), i = n(r), a = Function(
|
|
3197
3198
|
"datum",
|
|
3198
|
-
"
|
|
3199
|
+
"globalObject",
|
|
3199
3200
|
`"use strict"; return (${i.code});`
|
|
3200
3201
|
), o = (
|
|
3201
3202
|
/** @param {object} x */
|
|
3202
|
-
(s) => a(s,
|
|
3203
|
+
(s) => a(s, e)
|
|
3203
3204
|
);
|
|
3204
3205
|
return o.fields = i.fields, o;
|
|
3205
3206
|
} catch (r) {
|
|
3206
3207
|
throw new Error(`Invalid expression: ${t}, ${r.message}`);
|
|
3207
3208
|
}
|
|
3208
3209
|
}
|
|
3209
|
-
function
|
|
3210
|
+
function hr(t, e) {
|
|
3210
3211
|
switch (arguments.length) {
|
|
3211
3212
|
case 0:
|
|
3212
3213
|
break;
|
|
@@ -3259,9 +3260,9 @@ function mg() {
|
|
|
3259
3260
|
return arguments.length ? (r = a, i) : r;
|
|
3260
3261
|
}, i.copy = function() {
|
|
3261
3262
|
return mg(e, n).unknown(r);
|
|
3262
|
-
},
|
|
3263
|
+
}, hr.apply(i, arguments), i;
|
|
3263
3264
|
}
|
|
3264
|
-
function
|
|
3265
|
+
function Bo(t, e, n) {
|
|
3265
3266
|
t.prototype = e.prototype = n, n.constructor = t;
|
|
3266
3267
|
}
|
|
3267
3268
|
function Fu(t, e) {
|
|
@@ -3272,7 +3273,7 @@ function Fu(t, e) {
|
|
|
3272
3273
|
}
|
|
3273
3274
|
function Ai() {
|
|
3274
3275
|
}
|
|
3275
|
-
var oa = 0.7,
|
|
3276
|
+
var oa = 0.7, bo = 1 / oa, Za = "\\s*([+-]?\\d+)\\s*", Vs = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*", ar = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*", nI = /^#([0-9a-f]{3,8})$/, rI = new RegExp(`^rgb\\(${Za},${Za},${Za}\\)$`), iI = new RegExp(`^rgb\\(${ar},${ar},${ar}\\)$`), aI = new RegExp(`^rgba\\(${Za},${Za},${Za},${Vs}\\)$`), oI = new RegExp(`^rgba\\(${ar},${ar},${ar},${Vs}\\)$`), sI = new RegExp(`^hsl\\(${Vs},${ar},${ar}\\)$`), uI = new RegExp(`^hsla\\(${Vs},${ar},${ar},${Vs}\\)$`), Zm = {
|
|
3276
3277
|
aliceblue: 15792383,
|
|
3277
3278
|
antiquewhite: 16444375,
|
|
3278
3279
|
aqua: 65535,
|
|
@@ -3422,7 +3423,7 @@ var oa = 0.7, yo = 1 / oa, Za = "\\s*([+-]?\\d+)\\s*", qs = "\\s*([+-]?(?:\\d*\\
|
|
|
3422
3423
|
yellow: 16776960,
|
|
3423
3424
|
yellowgreen: 10145074
|
|
3424
3425
|
};
|
|
3425
|
-
|
|
3426
|
+
Bo(Ai, di, {
|
|
3426
3427
|
copy(t) {
|
|
3427
3428
|
return Object.assign(new this.constructor(), this, t);
|
|
3428
3429
|
},
|
|
@@ -3468,9 +3469,9 @@ function cl(t, e, n, r) {
|
|
|
3468
3469
|
function ut(t, e, n, r) {
|
|
3469
3470
|
this.r = +t, this.g = +e, this.b = +n, this.opacity = +r;
|
|
3470
3471
|
}
|
|
3471
|
-
|
|
3472
|
+
Bo(ut, cl, Fu(Ai, {
|
|
3472
3473
|
brighter(t) {
|
|
3473
|
-
return t = t == null ?
|
|
3474
|
+
return t = t == null ? bo : Math.pow(bo, t), new ut(this.r * t, this.g * t, this.b * t, this.opacity);
|
|
3474
3475
|
},
|
|
3475
3476
|
darker(t) {
|
|
3476
3477
|
return t = t == null ? oa : Math.pow(oa, t), new ut(this.r * t, this.g * t, this.b * t, this.opacity);
|
|
@@ -3530,9 +3531,9 @@ function Rd(t, e, n, r) {
|
|
|
3530
3531
|
function Nn(t, e, n, r) {
|
|
3531
3532
|
this.h = +t, this.s = +e, this.l = +n, this.opacity = +r;
|
|
3532
3533
|
}
|
|
3533
|
-
|
|
3534
|
+
Bo(Nn, Rd, Fu(Ai, {
|
|
3534
3535
|
brighter(t) {
|
|
3535
|
-
return t = t == null ?
|
|
3536
|
+
return t = t == null ? bo : Math.pow(bo, t), new Nn(this.h, this.s, this.l * t, this.opacity);
|
|
3536
3537
|
},
|
|
3537
3538
|
darker(t) {
|
|
3538
3539
|
return t = t == null ? oa : Math.pow(oa, t), new Nn(this.h, this.s, this.l * t, this.opacity);
|
|
@@ -3568,26 +3569,26 @@ function sh(t, e, n) {
|
|
|
3568
3569
|
}
|
|
3569
3570
|
const Ax = Math.PI / 180, Ex = 180 / Math.PI, dl = 18, Sx = 0.96422, _x = 1, Cx = 0.82521, Dx = 4 / 29, Ya = 6 / 29, Ix = 3 * Ya * Ya, hI = Ya * Ya * Ya;
|
|
3570
3571
|
function Mx(t) {
|
|
3571
|
-
if (t instanceof
|
|
3572
|
-
return new
|
|
3572
|
+
if (t instanceof or)
|
|
3573
|
+
return new or(t.l, t.a, t.b, t.opacity);
|
|
3573
3574
|
if (t instanceof kr)
|
|
3574
3575
|
return Tx(t);
|
|
3575
3576
|
t instanceof ut || (t = bg(t));
|
|
3576
3577
|
var e = ch(t.r), n = ch(t.g), r = ch(t.b), i = uh((0.2225045 * e + 0.7168786 * n + 0.0606169 * r) / _x), a, o;
|
|
3577
|
-
return e === n && n === r ? a = o = i : (a = uh((0.4360747 * e + 0.3850649 * n + 0.1430804 * r) / Sx), o = uh((0.0139322 * e + 0.0971045 * n + 0.7141733 * r) / Cx)), new
|
|
3578
|
+
return e === n && n === r ? a = o = i : (a = uh((0.4360747 * e + 0.3850649 * n + 0.1430804 * r) / Sx), o = uh((0.0139322 * e + 0.0971045 * n + 0.7141733 * r) / Cx)), new or(116 * i - 16, 500 * (a - i), 200 * (i - o), t.opacity);
|
|
3578
3579
|
}
|
|
3579
3580
|
function Od(t, e, n, r) {
|
|
3580
|
-
return arguments.length === 1 ? Mx(t) : new
|
|
3581
|
+
return arguments.length === 1 ? Mx(t) : new or(t, e, n, r ?? 1);
|
|
3581
3582
|
}
|
|
3582
|
-
function
|
|
3583
|
+
function or(t, e, n, r) {
|
|
3583
3584
|
this.l = +t, this.a = +e, this.b = +n, this.opacity = +r;
|
|
3584
3585
|
}
|
|
3585
|
-
|
|
3586
|
+
Bo(or, Od, Fu(Ai, {
|
|
3586
3587
|
brighter(t) {
|
|
3587
|
-
return new
|
|
3588
|
+
return new or(this.l + dl * (t ?? 1), this.a, this.b, this.opacity);
|
|
3588
3589
|
},
|
|
3589
3590
|
darker(t) {
|
|
3590
|
-
return new
|
|
3591
|
+
return new or(this.l - dl * (t ?? 1), this.a, this.b, this.opacity);
|
|
3591
3592
|
},
|
|
3592
3593
|
rgb() {
|
|
3593
3594
|
var t = (this.l + 16) / 116, e = isNaN(this.a) ? t : t + this.a / 500, n = isNaN(this.b) ? t : t - this.b / 200;
|
|
@@ -3614,7 +3615,7 @@ function ch(t) {
|
|
|
3614
3615
|
function dI(t) {
|
|
3615
3616
|
if (t instanceof kr)
|
|
3616
3617
|
return new kr(t.h, t.c, t.l, t.opacity);
|
|
3617
|
-
if (t instanceof
|
|
3618
|
+
if (t instanceof or || (t = Mx(t)), t.a === 0 && t.b === 0)
|
|
3618
3619
|
return new kr(NaN, 0 < t.l && t.l < 100 ? 0 : NaN, t.l, t.opacity);
|
|
3619
3620
|
var e = Math.atan2(t.b, t.a) * Ex;
|
|
3620
3621
|
return new kr(e < 0 ? e + 360 : e, Math.sqrt(t.a * t.a + t.b * t.b), t.l, t.opacity);
|
|
@@ -3627,11 +3628,11 @@ function kr(t, e, n, r) {
|
|
|
3627
3628
|
}
|
|
3628
3629
|
function Tx(t) {
|
|
3629
3630
|
if (isNaN(t.h))
|
|
3630
|
-
return new
|
|
3631
|
+
return new or(t.l, 0, 0, t.opacity);
|
|
3631
3632
|
var e = t.h * Ax;
|
|
3632
|
-
return new
|
|
3633
|
+
return new or(t.l, Math.cos(e) * t.c, Math.sin(e) * t.c, t.opacity);
|
|
3633
3634
|
}
|
|
3634
|
-
|
|
3635
|
+
Bo(kr, zd, Fu(Ai, {
|
|
3635
3636
|
brighter(t) {
|
|
3636
3637
|
return new kr(this.h, this.c, this.l + dl * (t ?? 1), this.opacity);
|
|
3637
3638
|
},
|
|
@@ -3642,12 +3643,12 @@ Lo(kr, zd, Fu(Ai, {
|
|
|
3642
3643
|
return Tx(this).rgb();
|
|
3643
3644
|
}
|
|
3644
3645
|
}));
|
|
3645
|
-
var Nx = -0.14861, yg = 1.78277, wg = -0.29227, lc = -0.90649,
|
|
3646
|
+
var Nx = -0.14861, yg = 1.78277, wg = -0.29227, lc = -0.90649, qs = 1.97294, t1 = qs * lc, n1 = qs * yg, r1 = yg * wg - lc * Nx;
|
|
3646
3647
|
function gI(t) {
|
|
3647
3648
|
if (t instanceof Ki)
|
|
3648
3649
|
return new Ki(t.h, t.s, t.l, t.opacity);
|
|
3649
3650
|
t instanceof ut || (t = bg(t));
|
|
3650
|
-
var e = t.r / 255, n = t.g / 255, r = t.b / 255, i = (r1 * r + t1 * e - n1 * n) / (r1 + t1 - n1), a = r - i, o = (
|
|
3651
|
+
var e = t.r / 255, n = t.g / 255, r = t.b / 255, i = (r1 * r + t1 * e - n1 * n) / (r1 + t1 - n1), a = r - i, o = (qs * (n - i) - wg * a) / lc, s = Math.sqrt(o * o + a * a) / (qs * i * (1 - i)), f = s ? Math.atan2(o, a) * Ex - 120 : NaN;
|
|
3651
3652
|
return new Ki(f < 0 ? f + 360 : f, s, i, t.opacity);
|
|
3652
3653
|
}
|
|
3653
3654
|
function Pd(t, e, n, r) {
|
|
@@ -3656,9 +3657,9 @@ function Pd(t, e, n, r) {
|
|
|
3656
3657
|
function Ki(t, e, n, r) {
|
|
3657
3658
|
this.h = +t, this.s = +e, this.l = +n, this.opacity = +r;
|
|
3658
3659
|
}
|
|
3659
|
-
|
|
3660
|
+
Bo(Ki, Pd, Fu(Ai, {
|
|
3660
3661
|
brighter(t) {
|
|
3661
|
-
return t = t == null ?
|
|
3662
|
+
return t = t == null ? bo : Math.pow(bo, t), new Ki(this.h, this.s, this.l * t, this.opacity);
|
|
3662
3663
|
},
|
|
3663
3664
|
darker(t) {
|
|
3664
3665
|
return t = t == null ? oa : Math.pow(oa, t), new Ki(this.h, this.s, this.l * t, this.opacity);
|
|
@@ -3668,7 +3669,7 @@ Lo(Ki, Pd, Fu(Ai, {
|
|
|
3668
3669
|
return new ut(
|
|
3669
3670
|
255 * (e + n * (Nx * r + yg * i)),
|
|
3670
3671
|
255 * (e + n * (wg * r + lc * i)),
|
|
3671
|
-
255 * (e + n * (
|
|
3672
|
+
255 * (e + n * (qs * r)),
|
|
3672
3673
|
this.opacity
|
|
3673
3674
|
);
|
|
3674
3675
|
}
|
|
@@ -4045,7 +4046,7 @@ function QI(t, e, n) {
|
|
|
4045
4046
|
for (t[r] < t[0] && (t = t.slice().reverse(), e = e.slice().reverse()); ++o < r; )
|
|
4046
4047
|
i[o] = Qd(t[o], t[o + 1]), a[o] = n(e[o], e[o + 1]);
|
|
4047
4048
|
return function(s) {
|
|
4048
|
-
var f =
|
|
4049
|
+
var f = ko(t, s, 1, r) - 1;
|
|
4049
4050
|
return a[f](i[f](s));
|
|
4050
4051
|
};
|
|
4051
4052
|
}
|
|
@@ -4134,7 +4135,7 @@ function Wx() {
|
|
|
4134
4135
|
var t = Zx();
|
|
4135
4136
|
return t.copy = function() {
|
|
4136
4137
|
return Bu(t, Wx());
|
|
4137
|
-
},
|
|
4138
|
+
}, hr.apply(t, arguments), xa(t);
|
|
4138
4139
|
}
|
|
4139
4140
|
function Xx(t) {
|
|
4140
4141
|
var e;
|
|
@@ -4232,7 +4233,7 @@ function Ag(t) {
|
|
|
4232
4233
|
}
|
|
4233
4234
|
function Eg() {
|
|
4234
4235
|
const t = Ag(dc()).domain([1, 10]);
|
|
4235
|
-
return t.copy = () => Bu(t, Eg()).base(t.base()),
|
|
4236
|
+
return t.copy = () => Bu(t, Eg()).base(t.base()), hr.apply(t, arguments), t;
|
|
4236
4237
|
}
|
|
4237
4238
|
function l1(t) {
|
|
4238
4239
|
return function(e) {
|
|
@@ -4254,7 +4255,7 @@ function Kx() {
|
|
|
4254
4255
|
var t = Sg(dc());
|
|
4255
4256
|
return t.copy = function() {
|
|
4256
4257
|
return Bu(t, Kx()).constant(t.constant());
|
|
4257
|
-
},
|
|
4258
|
+
}, hr.apply(t, arguments);
|
|
4258
4259
|
}
|
|
4259
4260
|
function h1(t) {
|
|
4260
4261
|
return function(e) {
|
|
@@ -4280,7 +4281,7 @@ function Cg() {
|
|
|
4280
4281
|
var t = _g(dc());
|
|
4281
4282
|
return t.copy = function() {
|
|
4282
4283
|
return Bu(t, Cg()).exponent(t.exponent());
|
|
4283
|
-
},
|
|
4284
|
+
}, hr.apply(t, arguments), t;
|
|
4284
4285
|
}
|
|
4285
4286
|
function KI() {
|
|
4286
4287
|
return Cg.apply(null, arguments).exponent(0.5);
|
|
@@ -4294,7 +4295,7 @@ function Jx() {
|
|
|
4294
4295
|
return a;
|
|
4295
4296
|
}
|
|
4296
4297
|
function a(o) {
|
|
4297
|
-
return o == null || isNaN(o = +o) ? r : e[
|
|
4298
|
+
return o == null || isNaN(o = +o) ? r : e[ko(n, o)];
|
|
4298
4299
|
}
|
|
4299
4300
|
return a.invertExtent = function(o) {
|
|
4300
4301
|
var s = e.indexOf(o);
|
|
@@ -4308,7 +4309,7 @@ function Jx() {
|
|
|
4308
4309
|
t = [];
|
|
4309
4310
|
for (let s of o)
|
|
4310
4311
|
s != null && !isNaN(s = +s) && t.push(s);
|
|
4311
|
-
return t.sort(
|
|
4312
|
+
return t.sort(ms), i();
|
|
4312
4313
|
}, a.range = function(o) {
|
|
4313
4314
|
return arguments.length ? (e = Array.from(o), i()) : e.slice();
|
|
4314
4315
|
}, a.unknown = function(o) {
|
|
@@ -4317,12 +4318,12 @@ function Jx() {
|
|
|
4317
4318
|
return n.slice();
|
|
4318
4319
|
}, a.copy = function() {
|
|
4319
4320
|
return Jx().domain(t).range(e).unknown(r);
|
|
4320
|
-
},
|
|
4321
|
+
}, hr.apply(a, arguments);
|
|
4321
4322
|
}
|
|
4322
4323
|
function e2() {
|
|
4323
4324
|
var t = 0, e = 1, n = 1, r = [0.5], i = [0, 1], a;
|
|
4324
4325
|
function o(f) {
|
|
4325
|
-
return f != null && f <= f ? i[
|
|
4326
|
+
return f != null && f <= f ? i[ko(r, f, 0, n)] : a;
|
|
4326
4327
|
}
|
|
4327
4328
|
function s() {
|
|
4328
4329
|
var f = -1;
|
|
@@ -4343,12 +4344,12 @@ function e2() {
|
|
|
4343
4344
|
return r.slice();
|
|
4344
4345
|
}, o.copy = function() {
|
|
4345
4346
|
return e2().domain([t, e]).range(i).unknown(a);
|
|
4346
|
-
},
|
|
4347
|
+
}, hr.apply(xa(o), arguments);
|
|
4347
4348
|
}
|
|
4348
4349
|
function t2() {
|
|
4349
4350
|
var t = [0.5], e = [0, 1], n, r = 1;
|
|
4350
4351
|
function i(a) {
|
|
4351
|
-
return a != null && a <= a ? e[
|
|
4352
|
+
return a != null && a <= a ? e[ko(t, a, 0, r)] : n;
|
|
4352
4353
|
}
|
|
4353
4354
|
return i.domain = function(a) {
|
|
4354
4355
|
return arguments.length ? (t = Array.from(a), r = Math.min(t.length, e.length - 1), i) : t.slice();
|
|
@@ -4361,7 +4362,7 @@ function t2() {
|
|
|
4361
4362
|
return arguments.length ? (n = a, i) : n;
|
|
4362
4363
|
}, i.copy = function() {
|
|
4363
4364
|
return t2().domain(t).range(e).unknown(n);
|
|
4364
|
-
},
|
|
4365
|
+
}, hr.apply(i, arguments);
|
|
4365
4366
|
}
|
|
4366
4367
|
function JI(t) {
|
|
4367
4368
|
return new Date(t);
|
|
@@ -4391,10 +4392,10 @@ function Dg(t, e, n, r, i, a, o, s, f, u) {
|
|
|
4391
4392
|
}, l;
|
|
4392
4393
|
}
|
|
4393
4394
|
function tM() {
|
|
4394
|
-
return
|
|
4395
|
+
return hr.apply(Dg(Y_, W_, ci, al, _u, Wi, ng, tg, ti, ug).domain([new Date(2e3, 0, 1), new Date(2e3, 0, 2)]), arguments);
|
|
4395
4396
|
}
|
|
4396
4397
|
function nM() {
|
|
4397
|
-
return
|
|
4398
|
+
return hr.apply(Dg(q_, Z_, hi, sl, Cu, Xi, ag, ig, ti, fg).domain([Date.UTC(2e3, 0, 1), Date.UTC(2e3, 0, 2)]), arguments);
|
|
4398
4399
|
}
|
|
4399
4400
|
function gc() {
|
|
4400
4401
|
var t = 0, e = 1, n, r, i, a, o = Ot, s = !1, f;
|
|
@@ -4505,7 +4506,7 @@ function Ng(t, e, n) {
|
|
|
4505
4506
|
const r = t - e + n * 2;
|
|
4506
4507
|
return t ? r > 0 ? r : 1 : 0;
|
|
4507
4508
|
}
|
|
4508
|
-
const aM = "identity",
|
|
4509
|
+
const aM = "identity", yo = "linear", gi = "log", Lu = "pow", Ru = "sqrt", mc = "symlog", s2 = "time", u2 = "utc", sr = "sequential", Lo = "diverging", Vd = "quantile", f2 = "quantize", l2 = "threshold", Fg = "ordinal", qd = "point", c2 = "band", kg = "bin-ordinal", at = "continuous", Ou = "discrete", zu = "discretizing", An = "interpolating", h2 = "temporal";
|
|
4509
4510
|
function oM(t) {
|
|
4510
4511
|
return function(e) {
|
|
4511
4512
|
let n = e[0], r = e[1], i;
|
|
@@ -4530,7 +4531,7 @@ function Bg() {
|
|
|
4530
4531
|
const c = e().length, h = r[1] < r[0], d = r[1 - h], g = Ng(c, s, f);
|
|
4531
4532
|
let b = r[h - 0];
|
|
4532
4533
|
i = (d - b) / (g || 1), o && (i = Math.floor(i)), b += (d - b - i * (c - s)) * u, a = i * (1 - s), o && (b = Math.round(b), a = Math.round(a));
|
|
4533
|
-
const y =
|
|
4534
|
+
const y = Ns(c).map((w) => b + i * w);
|
|
4534
4535
|
return n(h ? y.reverse() : y);
|
|
4535
4536
|
}
|
|
4536
4537
|
return t.domain = function(c) {
|
|
@@ -4578,13 +4579,13 @@ function uM() {
|
|
|
4578
4579
|
}
|
|
4579
4580
|
var fM = Array.prototype.map;
|
|
4580
4581
|
function lM(t) {
|
|
4581
|
-
return fM.call(t,
|
|
4582
|
+
return fM.call(t, Ts);
|
|
4582
4583
|
}
|
|
4583
4584
|
const cM = Array.prototype.slice;
|
|
4584
4585
|
function g2() {
|
|
4585
4586
|
let t = [], e = [];
|
|
4586
4587
|
function n(r) {
|
|
4587
|
-
return r == null || r !== r ? void 0 : e[(
|
|
4588
|
+
return r == null || r !== r ? void 0 : e[(ko(t, r) - 1) % e.length];
|
|
4588
4589
|
}
|
|
4589
4590
|
return n.domain = function(r) {
|
|
4590
4591
|
return arguments.length ? (t = lM(r), n) : t.slice();
|
|
@@ -4608,24 +4609,24 @@ function _e(t, e, n) {
|
|
|
4608
4609
|
return arguments.length > 1 ? (gl[t] = hM(t, e, n), this) : dM(t) ? gl[t] : void 0;
|
|
4609
4610
|
}
|
|
4610
4611
|
_e(aM, Xx);
|
|
4611
|
-
_e(
|
|
4612
|
+
_e(yo, Wx, at);
|
|
4612
4613
|
_e(gi, Eg, [at, gi]);
|
|
4613
4614
|
_e(Lu, Cg, at);
|
|
4614
4615
|
_e(Ru, KI, at);
|
|
4615
4616
|
_e(mc, Kx, at);
|
|
4616
4617
|
_e(s2, tM, [at, h2]);
|
|
4617
4618
|
_e(u2, nM, [at, h2]);
|
|
4618
|
-
_e(
|
|
4619
|
-
_e("".concat(
|
|
4620
|
-
_e("".concat(
|
|
4621
|
-
_e("".concat(
|
|
4622
|
-
_e("".concat(
|
|
4623
|
-
_e("".concat(
|
|
4624
|
-
_e("".concat(
|
|
4625
|
-
_e("".concat(
|
|
4626
|
-
_e("".concat(
|
|
4627
|
-
_e("".concat(
|
|
4628
|
-
_e("".concat(
|
|
4619
|
+
_e(sr, Ig, [at, An]);
|
|
4620
|
+
_e("".concat(sr, "-").concat(yo), Ig, [at, An]);
|
|
4621
|
+
_e("".concat(sr, "-").concat(gi), n2, [at, An, gi]);
|
|
4622
|
+
_e("".concat(sr, "-").concat(Lu), Mg, [at, An]);
|
|
4623
|
+
_e("".concat(sr, "-").concat(Ru), rM, [at, An]);
|
|
4624
|
+
_e("".concat(sr, "-").concat(mc), r2, [at, An]);
|
|
4625
|
+
_e("".concat(Lo, "-").concat(yo), i2, [at, An]);
|
|
4626
|
+
_e("".concat(Lo, "-").concat(gi), a2, [at, An, gi]);
|
|
4627
|
+
_e("".concat(Lo, "-").concat(Lu), Tg, [at, An]);
|
|
4628
|
+
_e("".concat(Lo, "-").concat(Ru), iM, [at, An]);
|
|
4629
|
+
_e("".concat(Lo, "-").concat(mc), o2, [at, An]);
|
|
4629
4630
|
_e(Vd, Jx, [zu, Vd]);
|
|
4630
4631
|
_e(f2, e2, zu);
|
|
4631
4632
|
_e(l2, t2, zu);
|
|
@@ -4867,14 +4868,14 @@ function w2(t) {
|
|
|
4867
4868
|
function Rg(t) {
|
|
4868
4869
|
return t && "expr" in t;
|
|
4869
4870
|
}
|
|
4870
|
-
const
|
|
4871
|
-
...
|
|
4871
|
+
const Ro = ["x", "y"], AM = ["x2", "y2"], EM = [
|
|
4872
|
+
...Ro,
|
|
4872
4873
|
...AM
|
|
4873
4874
|
];
|
|
4874
4875
|
function x2(t) {
|
|
4875
|
-
return
|
|
4876
|
+
return Ro.includes(t);
|
|
4876
4877
|
}
|
|
4877
|
-
function
|
|
4878
|
+
function Zs(t) {
|
|
4878
4879
|
return EM.includes(t);
|
|
4879
4880
|
}
|
|
4880
4881
|
const Og = {
|
|
@@ -4883,7 +4884,7 @@ const Og = {
|
|
|
4883
4884
|
}, v2 = Object.fromEntries(
|
|
4884
4885
|
Object.entries(Og).map((t) => [t[1], t[0]])
|
|
4885
4886
|
);
|
|
4886
|
-
function
|
|
4887
|
+
function ys(t) {
|
|
4887
4888
|
return t in v2;
|
|
4888
4889
|
}
|
|
4889
4890
|
function SM(t) {
|
|
@@ -5017,16 +5018,16 @@ function CM(t) {
|
|
|
5017
5018
|
/* @license twgl.js 4.22.0 Copyright (c) 2015, Gregg Tavares All Rights Reserved.
|
|
5018
5019
|
Available via the MIT license.
|
|
5019
5020
|
see: http://github.com/greggman/twgl.js for details */
|
|
5020
|
-
const zg = 5120,
|
|
5021
|
+
const zg = 5120, Ys = 5121, Pg = 5122, Ug = 5123, jg = 5124, Gg = 5125, Hg = 5126, DM = 32819, IM = 32820, MM = 33635, TM = 5131, NM = 33640, FM = 35899, kM = 35902, BM = 36269, LM = 34042, S2 = {};
|
|
5021
5022
|
{
|
|
5022
5023
|
const t = S2;
|
|
5023
|
-
t[zg] = Int8Array, t[
|
|
5024
|
+
t[zg] = Int8Array, t[Ys] = Uint8Array, t[Pg] = Int16Array, t[Ug] = Uint16Array, t[jg] = Int32Array, t[Gg] = Uint32Array, t[Hg] = Float32Array, t[DM] = Uint16Array, t[IM] = Uint16Array, t[MM] = Uint16Array, t[TM] = Uint16Array, t[NM] = Uint32Array, t[FM] = Uint32Array, t[kM] = Uint32Array, t[BM] = Uint32Array, t[LM] = Uint32Array;
|
|
5024
5025
|
}
|
|
5025
5026
|
function Qg(t) {
|
|
5026
5027
|
if (t instanceof Int8Array)
|
|
5027
5028
|
return zg;
|
|
5028
5029
|
if (t instanceof Uint8Array || t instanceof Uint8ClampedArray)
|
|
5029
|
-
return
|
|
5030
|
+
return Ys;
|
|
5030
5031
|
if (t instanceof Int16Array)
|
|
5031
5032
|
return Pg;
|
|
5032
5033
|
if (t instanceof Uint16Array)
|
|
@@ -5043,7 +5044,7 @@ function RM(t) {
|
|
|
5043
5044
|
if (t === Int8Array)
|
|
5044
5045
|
return zg;
|
|
5045
5046
|
if (t === Uint8Array || t === Uint8ClampedArray)
|
|
5046
|
-
return
|
|
5047
|
+
return Ys;
|
|
5047
5048
|
if (t === Int16Array)
|
|
5048
5049
|
return Pg;
|
|
5049
5050
|
if (t === Uint16Array)
|
|
@@ -5085,7 +5086,7 @@ function vc(t, e) {
|
|
|
5085
5086
|
function UM(t, e) {
|
|
5086
5087
|
return typeof WebGLSampler < "u" && e instanceof WebGLSampler;
|
|
5087
5088
|
}
|
|
5088
|
-
const D2 = 35044,
|
|
5089
|
+
const D2 = 35044, ur = 34962, jM = 34963, GM = 34660, HM = 5120, QM = 5121, VM = 5122, qM = 5123, ZM = 5124, YM = 5125, WM = 5126, I2 = {
|
|
5089
5090
|
attribPrefix: ""
|
|
5090
5091
|
};
|
|
5091
5092
|
function M2(t, e, n, r, i) {
|
|
@@ -5094,7 +5095,7 @@ function M2(t, e, n, r, i) {
|
|
|
5094
5095
|
function T2(t, e, n, r) {
|
|
5095
5096
|
if (PM(t, e))
|
|
5096
5097
|
return e;
|
|
5097
|
-
n = n ||
|
|
5098
|
+
n = n || ur;
|
|
5098
5099
|
const i = t.createBuffer();
|
|
5099
5100
|
return M2(t, n, i, e, r), i;
|
|
5100
5101
|
}
|
|
@@ -5148,7 +5149,7 @@ function n8(t, e) {
|
|
|
5148
5149
|
o = i.buffer, u = i.numComponents || i.size, s = i.type, f = i.normalize;
|
|
5149
5150
|
else if (typeof i == "number" || typeof i.data == "number") {
|
|
5150
5151
|
const l = i.data || i, c = i.type || Float32Array, h = l * c.BYTES_PER_ELEMENT;
|
|
5151
|
-
s = RM(c), f = i.normalize !== void 0 ? i.normalize : $M(c), u = i.numComponents || i.size || F2(r, l), o = t.createBuffer(), t.bindBuffer(
|
|
5152
|
+
s = RM(c), f = i.normalize !== void 0 ? i.normalize : $M(c), u = i.numComponents || i.size || F2(r, l), o = t.createBuffer(), t.bindBuffer(ur, o), t.bufferData(ur, h, i.drawType || D2);
|
|
5152
5153
|
} else {
|
|
5153
5154
|
const l = Vg(i, r);
|
|
5154
5155
|
o = T2(t, l, void 0, i.drawType), s = Qg(l), f = i.normalize !== void 0 ? i.normalize : XM(l), u = t8(i, r);
|
|
@@ -5165,10 +5166,10 @@ function n8(t, e) {
|
|
|
5165
5166
|
};
|
|
5166
5167
|
}
|
|
5167
5168
|
}
|
|
5168
|
-
}), t.bindBuffer(
|
|
5169
|
+
}), t.bindBuffer(ur, null), n;
|
|
5169
5170
|
}
|
|
5170
5171
|
function r8(t, e, n, r) {
|
|
5171
|
-
n = Vg(n), r !== void 0 ? (t.bindBuffer(
|
|
5172
|
+
n = Vg(n), r !== void 0 ? (t.bindBuffer(ur, e.buffer), t.bufferSubData(ur, r, n)) : M2(t, ur, e.buffer, n, e.drawType);
|
|
5172
5173
|
}
|
|
5173
5174
|
function i8(t, e) {
|
|
5174
5175
|
return e === HM || e === QM ? 1 : e === VM || e === qM ? 2 : e === ZM || e === YM || e === WM ? 4 : 0;
|
|
@@ -5180,9 +5181,9 @@ function a8(t, e) {
|
|
|
5180
5181
|
;
|
|
5181
5182
|
r === dh.length && (n = Object.keys(e)[0]);
|
|
5182
5183
|
const i = e[n];
|
|
5183
|
-
t.bindBuffer(
|
|
5184
|
-
const a = t.getBufferParameter(
|
|
5185
|
-
t.bindBuffer(
|
|
5184
|
+
t.bindBuffer(ur, i.buffer);
|
|
5185
|
+
const a = t.getBufferParameter(ur, GM);
|
|
5186
|
+
t.bindBuffer(ur, null);
|
|
5186
5187
|
const o = i8(t, i.type), s = a / o, f = i.numComponents || i.size, u = s / f;
|
|
5187
5188
|
if (u % 1 !== 0)
|
|
5188
5189
|
throw new Error(`numComponents ${f} not correct for length ${length}`);
|
|
@@ -5199,7 +5200,7 @@ function o8(t, e, n) {
|
|
|
5199
5200
|
i.numElements || (i.numElements = a8(t, i.attribs));
|
|
5200
5201
|
return i;
|
|
5201
5202
|
}
|
|
5202
|
-
function
|
|
5203
|
+
function Oo(t) {
|
|
5203
5204
|
return !!t.texStorage2D;
|
|
5204
5205
|
}
|
|
5205
5206
|
const Yd = function() {
|
|
@@ -5222,17 +5223,17 @@ const Yd = function() {
|
|
|
5222
5223
|
textureColor: new Uint8Array([128, 192, 255, 255]),
|
|
5223
5224
|
textureOptions: {},
|
|
5224
5225
|
crossOrigin: void 0
|
|
5225
|
-
},
|
|
5226
|
+
}, wo = pl, k2 = function() {
|
|
5226
5227
|
let t;
|
|
5227
5228
|
return function() {
|
|
5228
5229
|
return t = t || (typeof document < "u" && document.createElement ? document.createElement("canvas").getContext("2d") : null), t;
|
|
5229
5230
|
};
|
|
5230
|
-
}(), g1 = 6406, Yn = 6407, Ye = 6408, p1 = 6409, m1 = 6410,
|
|
5231
|
+
}(), g1 = 6406, Yn = 6407, Ye = 6408, p1 = 6409, m1 = 6410, ns = 6402, b1 = 34041, ml = 33071, s8 = 9728, u8 = 9729, Rr = 3553, Lr = 34067, mi = 32879, bi = 35866, Ac = 34069, f8 = 34070, l8 = 34071, c8 = 34072, h8 = 34073, d8 = 34074, Wd = 10241, Xd = 10240, bl = 10242, yl = 10243, y1 = 32882, g8 = 33082, p8 = 33083, m8 = 33084, b8 = 33085, qg = 3317, B2 = 3314, L2 = 32878, R2 = 3316, O2 = 3315, z2 = 32877, y8 = 37443, w8 = 37441, x8 = 37440, v8 = 33321, A8 = 36756, E8 = 33325, S8 = 33326, _8 = 33330, C8 = 33329, D8 = 33338, I8 = 33337, M8 = 33340, T8 = 33339, N8 = 33323, F8 = 36757, k8 = 33327, B8 = 33328, L8 = 33336, R8 = 33335, O8 = 33332, z8 = 33331, P8 = 33334, U8 = 33333, j8 = 32849, G8 = 35905, H8 = 36194, Q8 = 36758, V8 = 35898, q8 = 35901, Z8 = 34843, Y8 = 34837, W8 = 36221, X8 = 36239, $8 = 36215, K8 = 36233, J8 = 36209, eT = 36227, tT = 32856, nT = 35907, rT = 36759, iT = 32855, aT = 32854, oT = 32857, sT = 34842, uT = 34836, fT = 36220, lT = 36238, cT = 36975, hT = 36214, dT = 36232, gT = 36226, pT = 36208, mT = 33189, bT = 33190, yT = 36012, wT = 36013, xT = 35056, Vr = 5120, Ze = 5121, bf = 5122, Ta = 5123, yf = 5124, Ti = 5125, wt = 5126, w1 = 32819, x1 = 32820, v1 = 33635, Cn = 5131, rs = 36193, gh = 33640, vT = 35899, AT = 35902, ET = 36269, ST = 34042, wf = 33319, Na = 33320, xf = 6403, Fa = 36244, ka = 36248, Ni = 36249;
|
|
5231
5232
|
let ph;
|
|
5232
5233
|
function Ec(t) {
|
|
5233
5234
|
if (!ph) {
|
|
5234
5235
|
const e = {};
|
|
5235
|
-
e[g1] = { textureFormat: g1, colorRenderable: !0, textureFilterable: !0, bytesPerElement: [1, 2, 2, 4], type: [Ze, Cn,
|
|
5236
|
+
e[g1] = { textureFormat: g1, colorRenderable: !0, textureFilterable: !0, bytesPerElement: [1, 2, 2, 4], type: [Ze, Cn, rs, wt] }, e[p1] = { textureFormat: p1, colorRenderable: !0, textureFilterable: !0, bytesPerElement: [1, 2, 2, 4], type: [Ze, Cn, rs, wt] }, e[m1] = { textureFormat: m1, colorRenderable: !0, textureFilterable: !0, bytesPerElement: [2, 4, 4, 8], type: [Ze, Cn, rs, wt] }, e[Yn] = { textureFormat: Yn, colorRenderable: !0, textureFilterable: !0, bytesPerElement: [3, 6, 6, 12, 2], type: [Ze, Cn, rs, wt, v1] }, e[Ye] = { textureFormat: Ye, colorRenderable: !0, textureFilterable: !0, bytesPerElement: [4, 8, 8, 16, 2, 2], type: [Ze, Cn, rs, wt, w1, x1] }, e[ns] = { textureFormat: ns, colorRenderable: !0, textureFilterable: !1, bytesPerElement: [2, 4], type: [Ti, Ta] }, e[v8] = { textureFormat: xf, colorRenderable: !0, textureFilterable: !0, bytesPerElement: [1], type: [Ze] }, e[A8] = { textureFormat: xf, colorRenderable: !1, textureFilterable: !0, bytesPerElement: [1], type: [Vr] }, e[E8] = { textureFormat: xf, colorRenderable: !1, textureFilterable: !0, bytesPerElement: [4, 2], type: [wt, Cn] }, e[S8] = { textureFormat: xf, colorRenderable: !1, textureFilterable: !1, bytesPerElement: [4], type: [wt] }, e[_8] = { textureFormat: Fa, colorRenderable: !0, textureFilterable: !1, bytesPerElement: [1], type: [Ze] }, e[C8] = { textureFormat: Fa, colorRenderable: !0, textureFilterable: !1, bytesPerElement: [1], type: [Vr] }, e[O8] = { textureFormat: Fa, colorRenderable: !0, textureFilterable: !1, bytesPerElement: [2], type: [Ta] }, e[z8] = { textureFormat: Fa, colorRenderable: !0, textureFilterable: !1, bytesPerElement: [2], type: [bf] }, e[P8] = { textureFormat: Fa, colorRenderable: !0, textureFilterable: !1, bytesPerElement: [4], type: [Ti] }, e[U8] = { textureFormat: Fa, colorRenderable: !0, textureFilterable: !1, bytesPerElement: [4], type: [yf] }, e[N8] = { textureFormat: wf, colorRenderable: !0, textureFilterable: !0, bytesPerElement: [2], type: [Ze] }, e[F8] = { textureFormat: wf, colorRenderable: !1, textureFilterable: !0, bytesPerElement: [2], type: [Vr] }, e[k8] = { textureFormat: wf, colorRenderable: !1, textureFilterable: !0, bytesPerElement: [8, 4], type: [wt, Cn] }, e[B8] = { textureFormat: wf, colorRenderable: !1, textureFilterable: !1, bytesPerElement: [8], type: [wt] }, e[L8] = { textureFormat: Na, colorRenderable: !0, textureFilterable: !1, bytesPerElement: [2], type: [Ze] }, e[R8] = { textureFormat: Na, colorRenderable: !0, textureFilterable: !1, bytesPerElement: [2], type: [Vr] }, e[D8] = { textureFormat: Na, colorRenderable: !0, textureFilterable: !1, bytesPerElement: [4], type: [Ta] }, e[I8] = { textureFormat: Na, colorRenderable: !0, textureFilterable: !1, bytesPerElement: [4], type: [bf] }, e[M8] = { textureFormat: Na, colorRenderable: !0, textureFilterable: !1, bytesPerElement: [8], type: [Ti] }, e[T8] = { textureFormat: Na, colorRenderable: !0, textureFilterable: !1, bytesPerElement: [8], type: [yf] }, e[j8] = { textureFormat: Yn, colorRenderable: !0, textureFilterable: !0, bytesPerElement: [3], type: [Ze] }, e[G8] = { textureFormat: Yn, colorRenderable: !1, textureFilterable: !0, bytesPerElement: [3], type: [Ze] }, e[H8] = { textureFormat: Yn, colorRenderable: !0, textureFilterable: !0, bytesPerElement: [3, 2], type: [Ze, v1] }, e[Q8] = { textureFormat: Yn, colorRenderable: !1, textureFilterable: !0, bytesPerElement: [3], type: [Vr] }, e[V8] = { textureFormat: Yn, colorRenderable: !1, textureFilterable: !0, bytesPerElement: [12, 6, 4], type: [wt, Cn, vT] }, e[q8] = { textureFormat: Yn, colorRenderable: !1, textureFilterable: !0, bytesPerElement: [12, 6, 4], type: [wt, Cn, AT] }, e[Z8] = { textureFormat: Yn, colorRenderable: !1, textureFilterable: !0, bytesPerElement: [12, 6], type: [wt, Cn] }, e[Y8] = { textureFormat: Yn, colorRenderable: !1, textureFilterable: !1, bytesPerElement: [12], type: [wt] }, e[W8] = { textureFormat: ka, colorRenderable: !1, textureFilterable: !1, bytesPerElement: [3], type: [Ze] }, e[X8] = { textureFormat: ka, colorRenderable: !1, textureFilterable: !1, bytesPerElement: [3], type: [Vr] }, e[$8] = { textureFormat: ka, colorRenderable: !1, textureFilterable: !1, bytesPerElement: [6], type: [Ta] }, e[K8] = { textureFormat: ka, colorRenderable: !1, textureFilterable: !1, bytesPerElement: [6], type: [bf] }, e[J8] = { textureFormat: ka, colorRenderable: !1, textureFilterable: !1, bytesPerElement: [12], type: [Ti] }, e[eT] = { textureFormat: ka, colorRenderable: !1, textureFilterable: !1, bytesPerElement: [12], type: [yf] }, e[tT] = { textureFormat: Ye, colorRenderable: !0, textureFilterable: !0, bytesPerElement: [4], type: [Ze] }, e[nT] = { textureFormat: Ye, colorRenderable: !0, textureFilterable: !0, bytesPerElement: [4], type: [Ze] }, e[rT] = { textureFormat: Ye, colorRenderable: !1, textureFilterable: !0, bytesPerElement: [4], type: [Vr] }, e[iT] = { textureFormat: Ye, colorRenderable: !0, textureFilterable: !0, bytesPerElement: [4, 2, 4], type: [Ze, x1, gh] }, e[aT] = { textureFormat: Ye, colorRenderable: !0, textureFilterable: !0, bytesPerElement: [4, 2], type: [Ze, w1] }, e[oT] = { textureFormat: Ye, colorRenderable: !0, textureFilterable: !0, bytesPerElement: [4], type: [gh] }, e[sT] = { textureFormat: Ye, colorRenderable: !1, textureFilterable: !0, bytesPerElement: [16, 8], type: [wt, Cn] }, e[uT] = { textureFormat: Ye, colorRenderable: !1, textureFilterable: !1, bytesPerElement: [16], type: [wt] }, e[fT] = { textureFormat: Ni, colorRenderable: !0, textureFilterable: !1, bytesPerElement: [4], type: [Ze] }, e[lT] = { textureFormat: Ni, colorRenderable: !0, textureFilterable: !1, bytesPerElement: [4], type: [Vr] }, e[cT] = { textureFormat: Ni, colorRenderable: !0, textureFilterable: !1, bytesPerElement: [4], type: [gh] }, e[hT] = { textureFormat: Ni, colorRenderable: !0, textureFilterable: !1, bytesPerElement: [8], type: [Ta] }, e[dT] = { textureFormat: Ni, colorRenderable: !0, textureFilterable: !1, bytesPerElement: [8], type: [bf] }, e[gT] = { textureFormat: Ni, colorRenderable: !0, textureFilterable: !1, bytesPerElement: [16], type: [yf] }, e[pT] = { textureFormat: Ni, colorRenderable: !0, textureFilterable: !1, bytesPerElement: [16], type: [Ti] }, e[mT] = { textureFormat: ns, colorRenderable: !0, textureFilterable: !1, bytesPerElement: [2, 4], type: [Ta, Ti] }, e[bT] = { textureFormat: ns, colorRenderable: !0, textureFilterable: !1, bytesPerElement: [4], type: [Ti] }, e[yT] = { textureFormat: ns, colorRenderable: !0, textureFilterable: !1, bytesPerElement: [4], type: [wt] }, e[xT] = { textureFormat: b1, colorRenderable: !0, textureFilterable: !1, bytesPerElement: [4], type: [ST] }, e[wT] = { textureFormat: b1, colorRenderable: !0, textureFilterable: !1, bytesPerElement: [4], type: [ET] }, Object.keys(e).forEach(function(n) {
|
|
5236
5237
|
const r = e[n];
|
|
5237
5238
|
r.bytesPerElementMap = {}, r.bytesPerElement.forEach(function(i, a) {
|
|
5238
5239
|
const o = r.type[a];
|
|
@@ -5251,7 +5252,7 @@ function _T(t, e) {
|
|
|
5251
5252
|
throw "unknown internal format";
|
|
5252
5253
|
return r;
|
|
5253
5254
|
}
|
|
5254
|
-
function
|
|
5255
|
+
function zo(t) {
|
|
5255
5256
|
const e = Ec(t);
|
|
5256
5257
|
if (!e)
|
|
5257
5258
|
throw "unknown internal format";
|
|
@@ -5264,7 +5265,7 @@ function A1(t) {
|
|
|
5264
5265
|
return (t & t - 1) === 0;
|
|
5265
5266
|
}
|
|
5266
5267
|
function CT(t, e, n, r) {
|
|
5267
|
-
if (!
|
|
5268
|
+
if (!Oo(t))
|
|
5268
5269
|
return A1(e) && A1(n);
|
|
5269
5270
|
const i = Ec(r);
|
|
5270
5271
|
if (!i)
|
|
@@ -5278,7 +5279,7 @@ function DT(t) {
|
|
|
5278
5279
|
return e.textureFilterable;
|
|
5279
5280
|
}
|
|
5280
5281
|
function P2(t, e, n) {
|
|
5281
|
-
return
|
|
5282
|
+
return wo(e) ? Qg(e) : n || Ze;
|
|
5282
5283
|
}
|
|
5283
5284
|
function vf(t, e, n, r, i) {
|
|
5284
5285
|
if (i % 1 !== 0)
|
|
@@ -5296,11 +5297,11 @@ function vf(t, e, n, r, i) {
|
|
|
5296
5297
|
height: r
|
|
5297
5298
|
};
|
|
5298
5299
|
}
|
|
5299
|
-
function
|
|
5300
|
+
function xo(t, e) {
|
|
5300
5301
|
e.colorspaceConversion !== void 0 && t.pixelStorei(y8, e.colorspaceConversion), e.premultiplyAlpha !== void 0 && t.pixelStorei(w8, e.premultiplyAlpha), e.flipY !== void 0 && t.pixelStorei(x8, e.flipY);
|
|
5301
5302
|
}
|
|
5302
5303
|
function U2(t) {
|
|
5303
|
-
t.pixelStorei(qg, 4),
|
|
5304
|
+
t.pixelStorei(qg, 4), Oo(t) && (t.pixelStorei(B2, 0), t.pixelStorei(L2, 0), t.pixelStorei(R2, 0), t.pixelStorei(O2, 0), t.pixelStorei(z2, 0));
|
|
5304
5305
|
}
|
|
5305
5306
|
function IT(t, e, n, r) {
|
|
5306
5307
|
r.minMag && (n.call(t, e, Wd, r.minMag), n.call(t, e, Xd, r.minMag)), r.min && n.call(t, e, Wd, r.min), r.mag && n.call(t, e, Xd, r.mag), r.wrap && (n.call(t, e, bl, r.wrap), n.call(t, e, yl, r.wrap), (e === mi || UM(t, e)) && n.call(t, e, y1, r.wrap)), r.wrapR && n.call(t, e, y1, r.wrapR), r.wrapS && n.call(t, e, bl, r.wrapS), r.wrapT && n.call(t, e, yl, r.wrapT), r.minLod && n.call(t, e, g8, r.minLod), r.maxLod && n.call(t, e, p8, r.maxLod), r.baseLevel && n.call(t, e, m8, r.baseLevel), r.maxLevel && n.call(t, e, b8, r.maxLevel);
|
|
@@ -5310,7 +5311,7 @@ function j2(t, e, n) {
|
|
|
5310
5311
|
t.bindTexture(r, e), IT(t, r, t.texParameteri, n);
|
|
5311
5312
|
}
|
|
5312
5313
|
function MT(t) {
|
|
5313
|
-
return t = t || _i.textureColor,
|
|
5314
|
+
return t = t || _i.textureColor, wo(t) ? t : new Uint8Array([t[0] * 255, t[1] * 255, t[2] * 255, t[3] * 255]);
|
|
5314
5315
|
}
|
|
5315
5316
|
function $d(t, e, n, r, i, a) {
|
|
5316
5317
|
n = n || _i.textureOptions, a = a || Ye;
|
|
@@ -5322,7 +5323,7 @@ function $d(t, e, n, r, i, a) {
|
|
|
5322
5323
|
t.texParameteri(o, Wd, s), t.texParameteri(o, Xd, s), t.texParameteri(o, bl, ml), t.texParameteri(o, yl, ml);
|
|
5323
5324
|
}
|
|
5324
5325
|
}
|
|
5325
|
-
function
|
|
5326
|
+
function Ws(t) {
|
|
5326
5327
|
return t.auto === !0 || t.auto === void 0 && t.level === void 0;
|
|
5327
5328
|
}
|
|
5328
5329
|
function Kd(t, e) {
|
|
@@ -5347,8 +5348,8 @@ function G2(t, e, n, r) {
|
|
|
5347
5348
|
r = r || _i.textureOptions;
|
|
5348
5349
|
const i = r.target || Rr, a = r.level || 0;
|
|
5349
5350
|
let o = n.width, s = n.height;
|
|
5350
|
-
const f = r.internalFormat || r.format || Ye, u =
|
|
5351
|
-
if (
|
|
5351
|
+
const f = r.internalFormat || r.format || Ye, u = zo(f), l = r.format || u.format, c = r.type || u.type;
|
|
5352
|
+
if (xo(t, r), t.bindTexture(i, e), i === Lr) {
|
|
5352
5353
|
const h = n.width, d = n.height;
|
|
5353
5354
|
let g, b;
|
|
5354
5355
|
if (h / 6 === d)
|
|
@@ -5371,7 +5372,7 @@ function G2(t, e, n, r) {
|
|
|
5371
5372
|
premultiplyAlpha: "none",
|
|
5372
5373
|
colorSpaceConversion: "none"
|
|
5373
5374
|
}).then(function(D) {
|
|
5374
|
-
|
|
5375
|
+
xo(t, r), t.bindTexture(i, e), t.texImage2D(w.face, a, f, l, c, D), Ws(r) && $d(t, e, r, o, s, f);
|
|
5375
5376
|
});
|
|
5376
5377
|
}));
|
|
5377
5378
|
} else if (i === mi || i === bi) {
|
|
@@ -5387,7 +5388,7 @@ function G2(t, e, n, r) {
|
|
|
5387
5388
|
U2(t);
|
|
5388
5389
|
} else
|
|
5389
5390
|
t.texImage2D(i, a, f, l, c, n);
|
|
5390
|
-
|
|
5391
|
+
Ws(r) && $d(t, e, r, o, s, f), j2(t, e, r);
|
|
5391
5392
|
}
|
|
5392
5393
|
function Gu() {
|
|
5393
5394
|
}
|
|
@@ -5469,7 +5470,7 @@ function BT(t, e, n, r) {
|
|
|
5469
5470
|
const i = n.src;
|
|
5470
5471
|
if (i.length !== 6)
|
|
5471
5472
|
throw "there must be 6 urls for a cubemap";
|
|
5472
|
-
const a = n.level || 0, o = n.internalFormat || n.format || Ye, s =
|
|
5473
|
+
const a = n.level || 0, o = n.internalFormat || n.format || Ye, s = zo(o), f = n.format || s.format, u = n.type || Ze, l = n.target || Rr;
|
|
5473
5474
|
if (l !== Lr)
|
|
5474
5475
|
throw "target must be TEXTURE_CUBE_MAP";
|
|
5475
5476
|
Yg(t, e, n), n = Object.assign({}, n);
|
|
@@ -5478,9 +5479,9 @@ function BT(t, e, n, r) {
|
|
|
5478
5479
|
let g;
|
|
5479
5480
|
function b(y) {
|
|
5480
5481
|
return function(w, E) {
|
|
5481
|
-
--c, w ? h.push(w) : E.width !== E.height ? h.push("cubemap face img is not a square: " + E.src) : (
|
|
5482
|
+
--c, w ? h.push(w) : E.width !== E.height ? h.push("cubemap face img is not a square: " + E.src) : (xo(t, n), t.bindTexture(l, e), c === 5 ? Kd().forEach(function(_) {
|
|
5482
5483
|
t.texImage2D(_, a, o, f, u, E);
|
|
5483
|
-
}) : t.texImage2D(y, a, o, f, u, E),
|
|
5484
|
+
}) : t.texImage2D(y, a, o, f, u, E), Ws(n) && t.generateMipmap(l)), c === 0 && r(h.length ? h : void 0, e, g);
|
|
5484
5485
|
};
|
|
5485
5486
|
}
|
|
5486
5487
|
g = i.map(function(y, w) {
|
|
@@ -5489,7 +5490,7 @@ function BT(t, e, n, r) {
|
|
|
5489
5490
|
}
|
|
5490
5491
|
function LT(t, e, n, r) {
|
|
5491
5492
|
r = r || Gu;
|
|
5492
|
-
const i = n.src, a = n.internalFormat || n.format || Ye, o =
|
|
5493
|
+
const i = n.src, a = n.internalFormat || n.format || Ye, o = zo(a), s = n.format || o.format, f = n.type || Ze, u = n.target || bi;
|
|
5493
5494
|
if (u !== mi && u !== bi)
|
|
5494
5495
|
throw "target must be TEXTURE_3D or TEXTURE_2D_ARRAY";
|
|
5495
5496
|
Yg(t, e, n), n = Object.assign({}, n);
|
|
@@ -5505,7 +5506,7 @@ function LT(t, e, n, r) {
|
|
|
5505
5506
|
if (--l, D)
|
|
5506
5507
|
c.push(D);
|
|
5507
5508
|
else {
|
|
5508
|
-
if (
|
|
5509
|
+
if (xo(t, n), t.bindTexture(u, e), w) {
|
|
5509
5510
|
w = !1, g = n.width || T.width, b = n.height || T.height, t.texImage3D(u, d, a, g, b, y, 0, s, f, null);
|
|
5510
5511
|
for (let N = 0; N < y; ++N)
|
|
5511
5512
|
t.texSubImage3D(u, d, 0, 0, N, g, b, 1, s, f, T);
|
|
@@ -5513,7 +5514,7 @@ function LT(t, e, n, r) {
|
|
|
5513
5514
|
let N = T, M;
|
|
5514
5515
|
(T.width !== g || T.height !== b) && (M = k2(), N = M.canvas, M.canvas.width = g, M.canvas.height = b, M.drawImage(T, 0, 0, g, b)), t.texSubImage3D(u, d, 0, 0, _, g, b, 1, s, f, N), M && N === M.canvas && (M.canvas.width = 0, M.canvas.height = 0);
|
|
5515
5516
|
}
|
|
5516
|
-
|
|
5517
|
+
Ws(n) && t.generateMipmap(u);
|
|
5517
5518
|
}
|
|
5518
5519
|
l === 0 && r(c.length ? c : void 0, e, h);
|
|
5519
5520
|
};
|
|
@@ -5527,8 +5528,8 @@ function Q2(t, e, n, r) {
|
|
|
5527
5528
|
const i = r.target || Rr;
|
|
5528
5529
|
t.bindTexture(i, e);
|
|
5529
5530
|
let a = r.width, o = r.height, s = r.depth;
|
|
5530
|
-
const f = r.level || 0, u = r.internalFormat || r.format || Ye, l =
|
|
5531
|
-
if (
|
|
5531
|
+
const f = r.level || 0, u = r.internalFormat || r.format || Ye, l = zo(u), c = r.format || l.format, h = r.type || P2(t, n, l.type);
|
|
5532
|
+
if (wo(n))
|
|
5532
5533
|
n instanceof Uint8ClampedArray && (n = new Uint8Array(n.buffer));
|
|
5533
5534
|
else {
|
|
5534
5535
|
const y = OM(h);
|
|
@@ -5548,7 +5549,7 @@ function Q2(t, e, n, r) {
|
|
|
5548
5549
|
a && (!o || !s) ? (b = vf(t, i, o, s, g / a), o = b.width, s = b.height) : o && (!a || !s) ? (b = vf(t, i, a, s, g / o), a = b.width, s = b.height) : (b = vf(t, i, a, o, g / s), a = b.width, o = b.height);
|
|
5549
5550
|
else
|
|
5550
5551
|
b = vf(t, i, a, o, g), a = b.width, o = b.height;
|
|
5551
|
-
if (U2(t), t.pixelStorei(qg, r.unpackAlignment || 1),
|
|
5552
|
+
if (U2(t), t.pixelStorei(qg, r.unpackAlignment || 1), xo(t, r), i === Lr) {
|
|
5552
5553
|
const y = d / n.BYTES_PER_ELEMENT, w = g / 6 * y;
|
|
5553
5554
|
Jd(t, r).forEach((E) => {
|
|
5554
5555
|
const _ = w * E.ndx, D = n.subarray(_, _ + w);
|
|
@@ -5566,14 +5567,14 @@ function Q2(t, e, n, r) {
|
|
|
5566
5567
|
function RT(t, e, n) {
|
|
5567
5568
|
const r = n.target || Rr;
|
|
5568
5569
|
t.bindTexture(r, e);
|
|
5569
|
-
const i = n.level || 0, a = n.internalFormat || n.format || Ye, o =
|
|
5570
|
-
if (
|
|
5570
|
+
const i = n.level || 0, a = n.internalFormat || n.format || Ye, o = zo(a), s = n.format || o.format, f = n.type || o.type;
|
|
5571
|
+
if (xo(t, n), r === Lr)
|
|
5571
5572
|
for (let u = 0; u < 6; ++u)
|
|
5572
5573
|
t.texImage2D(Ac + u, i, a, n.width, n.height, 0, s, f, null);
|
|
5573
5574
|
else
|
|
5574
5575
|
r === mi || r === bi ? t.texImage3D(r, i, a, n.width, n.height, n.depth, 0, s, f, null) : t.texImage2D(r, i, a, n.width, n.height, 0, s, f, null);
|
|
5575
5576
|
}
|
|
5576
|
-
function
|
|
5577
|
+
function Xs(t, e, n) {
|
|
5577
5578
|
n = n || Gu, e = e || _i.textureOptions;
|
|
5578
5579
|
const r = t.createTexture(), i = e.target || Rr;
|
|
5579
5580
|
let a = e.width || 1, o = e.height || 1;
|
|
@@ -5583,23 +5584,23 @@ function $s(t, e, n) {
|
|
|
5583
5584
|
if (f)
|
|
5584
5585
|
if (typeof f == "function" && (f = f(t, e)), typeof f == "string")
|
|
5585
5586
|
kT(t, r, e, n);
|
|
5586
|
-
else if (
|
|
5587
|
+
else if (wo(f) || Array.isArray(f) && (typeof f[0] == "number" || Array.isArray(f[0]) || wo(f[0]))) {
|
|
5587
5588
|
const u = Q2(t, r, f, e);
|
|
5588
5589
|
a = u.width, o = u.height;
|
|
5589
5590
|
} else
|
|
5590
5591
|
Array.isArray(f) && (typeof f[0] == "string" || H2(f[0])) ? i === Lr ? BT(t, r, e, n) : LT(t, r, e, n) : (G2(t, r, f, e), a = f.width, o = f.height);
|
|
5591
5592
|
else
|
|
5592
5593
|
RT(t, r, e);
|
|
5593
|
-
return
|
|
5594
|
+
return Ws(e) && $d(t, r, e, a, o, s), j2(t, r, e), r;
|
|
5594
5595
|
}
|
|
5595
5596
|
function OT(t, e, n, r, i, a) {
|
|
5596
5597
|
r = r || n.width, i = i || n.height, a = a || n.depth;
|
|
5597
5598
|
const o = n.target || Rr;
|
|
5598
5599
|
t.bindTexture(o, e);
|
|
5599
|
-
const s = n.level || 0, f = n.internalFormat || n.format || Ye, u =
|
|
5600
|
+
const s = n.level || 0, f = n.internalFormat || n.format || Ye, u = zo(f), l = n.format || u.format;
|
|
5600
5601
|
let c;
|
|
5601
5602
|
const h = n.src;
|
|
5602
|
-
if (h && (
|
|
5603
|
+
if (h && (wo(h) || Array.isArray(h) && typeof h[0] == "number") ? c = n.type || P2(t, h, u.type) : c = n.type || u.type, o === Lr)
|
|
5603
5604
|
for (let d = 0; d < 6; ++d)
|
|
5604
5605
|
t.texImage2D(Ac + d, s, f, r, i, 0, l, c, null);
|
|
5605
5606
|
else
|
|
@@ -5731,7 +5732,7 @@ function k6(t, e) {
|
|
|
5731
5732
|
}
|
|
5732
5733
|
function Mt(t, e, n, r) {
|
|
5733
5734
|
const i = uv(t, e);
|
|
5734
|
-
return
|
|
5735
|
+
return Oo(t) ? function(a) {
|
|
5735
5736
|
let o, s;
|
|
5736
5737
|
vc(t, a) ? (o = a, s = null) : (o = a.texture, s = a.sampler), t.uniform1i(r, n), t.activeTexture(wl + n), t.bindTexture(i, o), t.bindSampler(n, s);
|
|
5737
5738
|
} : function(a) {
|
|
@@ -5742,7 +5743,7 @@ function Tt(t, e, n, r, i) {
|
|
|
5742
5743
|
const a = uv(t, e), o = new Int32Array(i);
|
|
5743
5744
|
for (let s = 0; s < i; ++s)
|
|
5744
5745
|
o[s] = n + s;
|
|
5745
|
-
return
|
|
5746
|
+
return Oo(t) ? function(s) {
|
|
5746
5747
|
t.uniform1iv(r, o), s.forEach(function(f, u) {
|
|
5747
5748
|
t.activeTexture(wl + o[u]);
|
|
5748
5749
|
let l, c;
|
|
@@ -6107,7 +6108,7 @@ function Q6(t, e) {
|
|
|
6107
6108
|
r && r(e[n]);
|
|
6108
6109
|
}
|
|
6109
6110
|
}
|
|
6110
|
-
function
|
|
6111
|
+
function Po(t, e, n) {
|
|
6111
6112
|
n.vertexArrayObject ? t.bindVertexArray(n.vertexArrayObject) : (Q6(e.attribSetters || e, n.attribs), n.indices && t.bindBuffer(UT, n.indices));
|
|
6112
6113
|
}
|
|
6113
6114
|
function V6(t, e) {
|
|
@@ -6116,7 +6117,7 @@ function V6(t, e) {
|
|
|
6116
6117
|
uniformSetters: n,
|
|
6117
6118
|
attribSetters: r
|
|
6118
6119
|
};
|
|
6119
|
-
return
|
|
6120
|
+
return Oo(t) && (i.uniformBlockSpec = z6(t, e), i.transformFeedbackInfo = O6(t, e)), i;
|
|
6120
6121
|
}
|
|
6121
6122
|
const q6 = 4, D1 = 5123;
|
|
6122
6123
|
function Hu(t, e, n, r, i, a) {
|
|
@@ -6170,7 +6171,7 @@ function uN(t, e, n, r) {
|
|
|
6170
6171
|
u = t.createRenderbuffer(), t.bindRenderbuffer(zi, u), l > 1 ? t.renderbufferStorageMultisample(zi, l, c, n, r) : t.renderbufferStorage(zi, c, n, r);
|
|
6171
6172
|
else {
|
|
6172
6173
|
const d = Object.assign({}, f);
|
|
6173
|
-
d.width = n, d.height = r, d.auto === void 0 && (d.auto = !1, d.min = d.min || d.minMag || t0, d.mag = d.mag || d.minMag || t0, d.wrapS = d.wrapS || d.wrap || e0, d.wrapT = d.wrapT || d.wrap || e0), u =
|
|
6174
|
+
d.width = n, d.height = r, d.auto === void 0 && (d.auto = !1, d.min = d.min || d.minMag || t0, d.mag = d.mag || d.minMag || t0, d.wrapS = d.wrapS || d.wrap || e0, d.wrapT = d.wrapT || d.wrap || e0), u = Xs(t, d);
|
|
6174
6175
|
}
|
|
6175
6176
|
if (C2(t, u))
|
|
6176
6177
|
t.framebufferRenderbuffer(i, h, zi, u);
|
|
@@ -6207,7 +6208,7 @@ function fN(t, e, n, r, i) {
|
|
|
6207
6208
|
function lN(t, e, n) {
|
|
6208
6209
|
const r = t.createVertexArray();
|
|
6209
6210
|
return t.bindVertexArray(r), e.length || (e = [e]), e.forEach(function(i) {
|
|
6210
|
-
|
|
6211
|
+
Po(t, i, n);
|
|
6211
6212
|
}), t.bindVertexArray(null), {
|
|
6212
6213
|
numElements: n.numElements,
|
|
6213
6214
|
elementType: n.elementType,
|
|
@@ -7082,23 +7083,23 @@ int id=int(getScaled_uniqueId());vPickingColor=vec4(ivec4(id>>0,id>>8,id>>16,0xF
|
|
|
7082
7083
|
vPickingColor=vec4(1.0);
|
|
7083
7084
|
#endif
|
|
7084
7085
|
return true;}return false;}`, zN = "in highp vec4 vPickingColor;", zf = Symbol("cacheMap");
|
|
7085
|
-
function
|
|
7086
|
-
let r =
|
|
7087
|
-
return r === void 0 && (r = n(e),
|
|
7086
|
+
function vo(t, e, n) {
|
|
7087
|
+
let r = $s(t).get(e);
|
|
7088
|
+
return r === void 0 && (r = n(e), $s(t).set(e, r)), r;
|
|
7088
7089
|
}
|
|
7089
7090
|
function Dv(t, e) {
|
|
7090
|
-
|
|
7091
|
+
$s(t).delete(e);
|
|
7091
7092
|
}
|
|
7092
7093
|
function Pf(t, e) {
|
|
7093
|
-
const n =
|
|
7094
|
+
const n = $s(t);
|
|
7094
7095
|
for (const r of n.keys())
|
|
7095
7096
|
r.startsWith(e) && n.delete(r);
|
|
7096
|
-
|
|
7097
|
+
$s(t).delete(e);
|
|
7097
7098
|
}
|
|
7098
7099
|
function Iv(t) {
|
|
7099
7100
|
t[zf] = /* @__PURE__ */ new Map();
|
|
7100
7101
|
}
|
|
7101
|
-
function
|
|
7102
|
+
function $s(t) {
|
|
7102
7103
|
return t[zf] || Iv(t), t[zf];
|
|
7103
7104
|
}
|
|
7104
7105
|
function PN(t, e, n, r) {
|
|
@@ -7176,7 +7177,7 @@ function a0(t, e, n, r) {
|
|
|
7176
7177
|
);
|
|
7177
7178
|
}
|
|
7178
7179
|
function Mv(t, { extent: e = [0, 1], reverse: n = !1, count: r = 256 } = {}) {
|
|
7179
|
-
const i = e[0], a = Iu(e) - i, o =
|
|
7180
|
+
const i = e[0], a = Iu(e) - i, o = Ns(r).map((s) => s / (r - 1)).map((s) => i + s / a).map(t);
|
|
7180
7181
|
return n && o.reverse(), Tv(o);
|
|
7181
7182
|
}
|
|
7182
7183
|
function Tv(t, e) {
|
|
@@ -7213,7 +7214,7 @@ class GN {
|
|
|
7213
7214
|
throw new Error(
|
|
7214
7215
|
"Unable to initialize WebGL. Your browser or machine may not support it."
|
|
7215
7216
|
);
|
|
7216
|
-
if (!
|
|
7217
|
+
if (!Oo(a))
|
|
7217
7218
|
throw new Error(
|
|
7218
7219
|
"Your web browser does not support WebGL 2.0. Chrome, Firefox, and Safari Tech Preview should work."
|
|
7219
7220
|
);
|
|
@@ -7455,7 +7456,7 @@ Error compiling: ${a}`, t.deleteShader(f));
|
|
|
7455
7456
|
};
|
|
7456
7457
|
}
|
|
7457
7458
|
function Fc(t, e, n, r) {
|
|
7458
|
-
return r ? Q2(t, r, n, e) : r =
|
|
7459
|
+
return r ? Q2(t, r, n, e) : r = Xs(t, {
|
|
7459
7460
|
...e,
|
|
7460
7461
|
src: n
|
|
7461
7462
|
}), r;
|
|
@@ -7582,7 +7583,7 @@ class Vu {
|
|
|
7582
7583
|
* @returns {Encoding}
|
|
7583
7584
|
*/
|
|
7584
7585
|
get encoding() {
|
|
7585
|
-
return
|
|
7586
|
+
return vo(this, "encoding", () => {
|
|
7586
7587
|
const e = this.getDefaultEncoding(), n = this.unitView.getEncoding(), r = (o) => {
|
|
7587
7588
|
const s = this.properties[
|
|
7588
7589
|
/** @type {keyof MarkConfig} */
|
|
@@ -8145,7 +8146,7 @@ class WN extends Vu {
|
|
|
8145
8146
|
];
|
|
8146
8147
|
}
|
|
8147
8148
|
get opaque() {
|
|
8148
|
-
return
|
|
8149
|
+
return vo(
|
|
8149
8150
|
this,
|
|
8150
8151
|
"opaque",
|
|
8151
8152
|
() => !this._isRoundedCorners() && !this._isStroked() && Ln(this.encoding.fillOpacity) && this.encoding.fillOpacity.value == 1 && this.properties.minOpacity == 1
|
|
@@ -8210,7 +8211,7 @@ class WN extends Vu {
|
|
|
8210
8211
|
prepareRender(e) {
|
|
8211
8212
|
const n = super.prepareRender(e);
|
|
8212
8213
|
return n.push(
|
|
8213
|
-
() =>
|
|
8214
|
+
() => Po(
|
|
8214
8215
|
this.gl,
|
|
8215
8216
|
this.programInfo,
|
|
8216
8217
|
this.vertexArrayInfo
|
|
@@ -8264,7 +8265,7 @@ return vec2(getScaled_dx(),getScaled_dy())/uViewportSize;
|
|
|
8264
8265
|
#else
|
|
8265
8266
|
return vec2(0.0,0.0);
|
|
8266
8267
|
#endif
|
|
8267
|
-
}void main(void){float semanticThresholdFactor=computeSemanticThresholdFactor();if(semanticThresholdFactor<=0.0){gl_PointSize=0.0;gl_Position=vec4(100.0,0.0,0.0,0.0);return;}float size=getScaled_size();vec2 pos=vec2(getScaled_x(),getScaled_y())+getDxDy();gl_Position=unitToNdc(applySampleFacet(pos));float strokeWidth=getScaled_strokeWidth();float diameter=sqrt(size)*uScaleFactor*semanticThresholdFactor*getDownscaleFactor(pos);float opacity=uViewOpacity;if(strokeWidth<=0.0||uInwardStroke){float minDiameter=1.0/uDevicePixelRatio;if(diameter<minDiameter){opacity*=pow(diameter/minDiameter,2.5);diameter=minDiameter;}}float fillOpa=getScaled_fillOpacity()*opacity;float strokeOpa=getScaled_strokeOpacity()*opacity;vShape=getScaled_shape();bool circle=vShape==0.0;float angleInDegrees=getScaled_angle();float angle=-angleInDegrees*PI/180.0;float sinTheta=sin(angle);float cosTheta=cos(angle);vRotationMatrix=mat2(cosTheta,sinTheta,-sinTheta,cosTheta);float roomForRotation=circle ? 1.0 : sin(mod(angle,PI/2.0)+PI/4.0)/sin(PI/4.0);float aaPadding=1.0/uDevicePixelRatio;float rotationPadding=(diameter*roomForRotation)-diameter;float strokePadding=uInwardStroke ? 0.0 : strokeWidth*(circle ? 1.0 : sqrt(3.0));float padding=rotationPadding+strokePadding+aaPadding;gl_PointSize=(diameter+padding)*uDevicePixelRatio;vRadius=diameter/2.0;vRadiusWithPadding=vRadius+padding/2.0;vHalfStrokeWidth=strokeWidth/2.0;vFillColor=vec4(getScaled_fill()*fillOpa,fillOpa);vStrokeColor=vec4(getScaled_stroke()*strokeOpa,strokeOpa);setupPicking();}`, $N = "const lowp vec4 white=vec4(1.0);const lowp vec4 black=vec4(0.0,0.0,0.0,1.0);uniform bool uInwardStroke;uniform float uGradientStrength;in float vRadius;in float vRadiusWithPadding;in lowp vec4 vFillColor;in lowp vec4 vStrokeColor;in lowp float vShape;in lowp float vHalfStrokeWidth;in mat2 vRotationMatrix;out lowp vec4 fragColor;const float CIRCLE=0.0;const float SQUARE=1.0;const float TRIANGLE_UP=2.0;const float CROSS=3.0;const float DIAMOND=4.0;const float TRIANGLE_DOWN=5.0;const float TRIANGLE_RIGHT=6.0;const float TRIANGLE_LEFT=7.0;float circle(vec2 p,float r){return length(p)-r;}float square(vec2 p,float r){p=abs(p);return max(p.x,p.y)-r;}float equilateralTriangle(vec2 p,float r,bool flip,bool swap){if(swap){p.xy=p.yx;}if(flip){p.y=-p.y;}float k=sqrt(3.0);float kr=k*r;p.y-=kr/2.0;return max((abs(p.x)*k+p.y)/2.0,-p.y-kr);}float crossShape(vec2 p,float r){p=abs(p);vec2 b=vec2(0.4,1.0)*r;vec2 v=abs(p)-b.xy;vec2 h=abs(p)-b.yx;return min(max(v.x,v.y),max(h.x,h.y));}float diamond(vec2 p,float r){p=abs(p);return(max(abs(p.x-p.y),abs(p.x+p.y))-r)/sqrt(2.0);}void main(){float d;vec2 p=vRotationMatrix*(2.0*gl_PointCoord-1.0)*vRadiusWithPadding;float r=vRadius;if(vShape==CIRCLE){d=circle(p,r);}else if(vShape==SQUARE){d=square(p,r);}else if(vShape==TRIANGLE_UP){d=equilateralTriangle(p,r,true,false);}else if(vShape==CROSS){d=crossShape(p,r);}else if(vShape==DIAMOND){d=diamond(p,r);}else if(vShape==TRIANGLE_DOWN){d=equilateralTriangle(p,r,false,false);}else if(vShape==TRIANGLE_RIGHT){d=equilateralTriangle(p,r,false,true);}else if(vShape==TRIANGLE_LEFT){d=equilateralTriangle(p,r,true,true);}else{d=0.0;}if(!uPickingEnabled){lowp vec4 fillColor=mix(vFillColor,white,-d*uGradientStrength/vRadius);fragColor=distanceToColor(d+(uInwardStroke ? vHalfStrokeWidth : 0.0),fillColor,vStrokeColor,vHalfStrokeWidth);}else if(d-vHalfStrokeWidth<=0.0){fragColor=vPickingColor;}else{discard;}}",
|
|
8268
|
+
}void main(void){float semanticThresholdFactor=computeSemanticThresholdFactor();if(semanticThresholdFactor<=0.0){gl_PointSize=0.0;gl_Position=vec4(100.0,0.0,0.0,0.0);return;}float size=getScaled_size();vec2 pos=vec2(getScaled_x(),getScaled_y())+getDxDy();gl_Position=unitToNdc(applySampleFacet(pos));float strokeWidth=getScaled_strokeWidth();float diameter=sqrt(size)*uScaleFactor*semanticThresholdFactor*getDownscaleFactor(pos);float opacity=uViewOpacity;if(strokeWidth<=0.0||uInwardStroke){float minDiameter=1.0/uDevicePixelRatio;if(diameter<minDiameter){opacity*=pow(diameter/minDiameter,2.5);diameter=minDiameter;}}float fillOpa=getScaled_fillOpacity()*opacity;float strokeOpa=getScaled_strokeOpacity()*opacity;vShape=getScaled_shape();bool circle=vShape==0.0;float angleInDegrees=getScaled_angle();float angle=-angleInDegrees*PI/180.0;float sinTheta=sin(angle);float cosTheta=cos(angle);vRotationMatrix=mat2(cosTheta,sinTheta,-sinTheta,cosTheta);float roomForRotation=circle ? 1.0 : sin(mod(angle,PI/2.0)+PI/4.0)/sin(PI/4.0);float aaPadding=1.0/uDevicePixelRatio;float rotationPadding=(diameter*roomForRotation)-diameter;float strokePadding=uInwardStroke ? 0.0 : strokeWidth*(circle ? 1.0 : sqrt(3.0));float padding=rotationPadding+strokePadding+aaPadding;gl_PointSize=(diameter+padding)*uDevicePixelRatio;vRadius=diameter/2.0;vRadiusWithPadding=vRadius+padding/2.0;vHalfStrokeWidth=strokeWidth/2.0;vFillColor=vec4(getScaled_fill()*fillOpa,fillOpa);vStrokeColor=vec4(getScaled_stroke()*strokeOpa,strokeOpa);setupPicking();}`, $N = "const lowp vec4 white=vec4(1.0);const lowp vec4 black=vec4(0.0,0.0,0.0,1.0);uniform bool uInwardStroke;uniform float uGradientStrength;in float vRadius;in float vRadiusWithPadding;in lowp vec4 vFillColor;in lowp vec4 vStrokeColor;in lowp float vShape;in lowp float vHalfStrokeWidth;in mat2 vRotationMatrix;out lowp vec4 fragColor;const float CIRCLE=0.0;const float SQUARE=1.0;const float TRIANGLE_UP=2.0;const float CROSS=3.0;const float DIAMOND=4.0;const float TRIANGLE_DOWN=5.0;const float TRIANGLE_RIGHT=6.0;const float TRIANGLE_LEFT=7.0;float circle(vec2 p,float r){return length(p)-r;}float square(vec2 p,float r){p=abs(p);return max(p.x,p.y)-r;}float equilateralTriangle(vec2 p,float r,bool flip,bool swap){if(swap){p.xy=p.yx;}if(flip){p.y=-p.y;}float k=sqrt(3.0);float kr=k*r;p.y-=kr/2.0;return max((abs(p.x)*k+p.y)/2.0,-p.y-kr);}float crossShape(vec2 p,float r){p=abs(p);vec2 b=vec2(0.4,1.0)*r;vec2 v=abs(p)-b.xy;vec2 h=abs(p)-b.yx;return min(max(v.x,v.y),max(h.x,h.y));}float diamond(vec2 p,float r){p=abs(p);return(max(abs(p.x-p.y),abs(p.x+p.y))-r)/sqrt(2.0);}void main(){float d;vec2 p=vRotationMatrix*(2.0*gl_PointCoord-1.0)*vRadiusWithPadding;float r=vRadius;if(vShape==CIRCLE){d=circle(p,r);}else if(vShape==SQUARE){d=square(p,r);}else if(vShape==TRIANGLE_UP){d=equilateralTriangle(p,r,true,false);}else if(vShape==CROSS){d=crossShape(p,r);}else if(vShape==DIAMOND){d=diamond(p,r);}else if(vShape==TRIANGLE_DOWN){d=equilateralTriangle(p,r,false,false);}else if(vShape==TRIANGLE_RIGHT){d=equilateralTriangle(p,r,false,true);}else if(vShape==TRIANGLE_LEFT){d=equilateralTriangle(p,r,true,true);}else{d=0.0;}if(!uPickingEnabled){lowp vec4 fillColor=mix(vFillColor,white,-d*uGradientStrength/vRadius);fragColor=distanceToColor(d+(uInwardStroke ? vHalfStrokeWidth : 0.0),fillColor,vStrokeColor,vHalfStrokeWidth);}else if(d-vHalfStrokeWidth<=0.0){fragColor=vPickingColor;}else{discard;}}", dr = 1, Ii = 2, rp = 4, KN = {};
|
|
8268
8269
|
class Je {
|
|
8269
8270
|
get behavior() {
|
|
8270
8271
|
return 0;
|
|
@@ -8294,8 +8295,8 @@ class Je {
|
|
|
8294
8295
|
_updatePropagator() {
|
|
8295
8296
|
this._propagate = Function(
|
|
8296
8297
|
"children",
|
|
8297
|
-
|
|
8298
|
-
`) + `return function propagate(datum) {${
|
|
8298
|
+
Ns(this.children.length).map((e) => `const child${e} = children[${e}];`).join(`
|
|
8299
|
+
`) + `return function propagate(datum) {${Ns(this.children.length).map((e) => `child${e}.handle(datum);`).join(`
|
|
8299
8300
|
`)}}`
|
|
8300
8301
|
)(this.children);
|
|
8301
8302
|
}
|
|
@@ -8651,7 +8652,7 @@ class nF extends Vu {
|
|
|
8651
8652
|
uSemanticThreshold: this.getSemanticThreshold()
|
|
8652
8653
|
})
|
|
8653
8654
|
), n.push(
|
|
8654
|
-
() =>
|
|
8655
|
+
() => Po(
|
|
8655
8656
|
this.gl,
|
|
8656
8657
|
this.programInfo,
|
|
8657
8658
|
this.vertexArrayInfo
|
|
@@ -8752,7 +8753,7 @@ class aF extends Vu {
|
|
|
8752
8753
|
const e = this.gl, n = oF(
|
|
8753
8754
|
this.properties.strokeDash
|
|
8754
8755
|
);
|
|
8755
|
-
this.dashTexture =
|
|
8756
|
+
this.dashTexture = Xs(e, {
|
|
8756
8757
|
mag: e.NEAREST,
|
|
8757
8758
|
min: e.NEAREST,
|
|
8758
8759
|
internalFormat: e.R8,
|
|
@@ -8793,7 +8794,7 @@ class aF extends Vu {
|
|
|
8793
8794
|
uStrokeDashOffset: this.properties.strokeDashOffset
|
|
8794
8795
|
})
|
|
8795
8796
|
), n.push(
|
|
8796
|
-
() =>
|
|
8797
|
+
() => Po(
|
|
8797
8798
|
this.gl,
|
|
8798
8799
|
this.programInfo,
|
|
8799
8800
|
this.vertexArrayInfo
|
|
@@ -8933,7 +8934,7 @@ class fF extends Vu {
|
|
|
8933
8934
|
const [o, s] = a;
|
|
8934
8935
|
s.buffer && s.numComponents && s.divisor && (s.offset = r * this.arrays[o].numComponents * 4);
|
|
8935
8936
|
}
|
|
8936
|
-
|
|
8937
|
+
Po(n, this.programInfo, this.bufferInfo), Hu(
|
|
8937
8938
|
n,
|
|
8938
8939
|
this.bufferInfo,
|
|
8939
8940
|
n.TRIANGLE_STRIP,
|
|
@@ -9063,7 +9064,7 @@ class pF extends Vu {
|
|
|
9063
9064
|
* @returns {import("../spec/channel").Encoding}
|
|
9064
9065
|
*/
|
|
9065
9066
|
fixEncoding(e) {
|
|
9066
|
-
for (const n of
|
|
9067
|
+
for (const n of Ro)
|
|
9067
9068
|
this.properties.fitToBand && o0(e, n);
|
|
9068
9069
|
return e;
|
|
9069
9070
|
}
|
|
@@ -9132,7 +9133,7 @@ class pF extends Vu {
|
|
|
9132
9133
|
uSdfNumerator: i
|
|
9133
9134
|
})
|
|
9134
9135
|
), n.push(
|
|
9135
|
-
() =>
|
|
9136
|
+
() => Po(
|
|
9136
9137
|
this.gl,
|
|
9137
9138
|
this.programInfo,
|
|
9138
9139
|
this.vertexArrayInfo
|
|
@@ -9197,7 +9198,7 @@ function mF(t) {
|
|
|
9197
9198
|
return { px: e, grow: n };
|
|
9198
9199
|
}
|
|
9199
9200
|
var pu, s0;
|
|
9200
|
-
const qp = class {
|
|
9201
|
+
const qp = class qp {
|
|
9201
9202
|
/**
|
|
9202
9203
|
*
|
|
9203
9204
|
* @param {SizeDef} width
|
|
@@ -9228,7 +9229,6 @@ const qp = class {
|
|
|
9228
9229
|
return ue(this, pu, s0).call(this, -e.width, -e.height);
|
|
9229
9230
|
}
|
|
9230
9231
|
};
|
|
9231
|
-
let ua = qp;
|
|
9232
9232
|
pu = new WeakSet(), s0 = function(e, n) {
|
|
9233
9233
|
return new qp(
|
|
9234
9234
|
{
|
|
@@ -9241,12 +9241,13 @@ pu = new WeakSet(), s0 = function(e, n) {
|
|
|
9241
9241
|
}
|
|
9242
9242
|
);
|
|
9243
9243
|
};
|
|
9244
|
-
|
|
9244
|
+
let ua = qp;
|
|
9245
|
+
const ws = Object.freeze({
|
|
9245
9246
|
px: 0,
|
|
9246
9247
|
grow: 0
|
|
9247
9248
|
}), bF = new ua(
|
|
9248
|
-
|
|
9249
|
-
|
|
9249
|
+
ws,
|
|
9250
|
+
ws
|
|
9250
9251
|
);
|
|
9251
9252
|
function bh(t) {
|
|
9252
9253
|
return !t.px && !t.grow;
|
|
@@ -9398,8 +9399,8 @@ function xF(t, e) {
|
|
|
9398
9399
|
const n = t();
|
|
9399
9400
|
return n && e ? n.endsWith("/") ? n + e : n + "/" + e : n ?? e;
|
|
9400
9401
|
}
|
|
9401
|
-
const Rv = "VISIT_SKIP",
|
|
9402
|
-
var
|
|
9402
|
+
const Rv = "VISIT_SKIP", xs = "VISIT_STOP", R1 = (t) => t;
|
|
9403
|
+
var ro, mu, bu, Gl, zv, yu, f0;
|
|
9403
9404
|
class Ov {
|
|
9404
9405
|
/**
|
|
9405
9406
|
*
|
|
@@ -9420,7 +9421,7 @@ class Ov {
|
|
|
9420
9421
|
*/
|
|
9421
9422
|
me(this, yu);
|
|
9422
9423
|
/** @type {Record<string, (function(BroadcastMessage):void)[]>} */
|
|
9423
|
-
me(this,
|
|
9424
|
+
me(this, ro, {});
|
|
9424
9425
|
/** @type {Record<string, InteractionEventListener[]>} */
|
|
9425
9426
|
me(this, mu, {});
|
|
9426
9427
|
/** @type {Record<string, InteractionEventListener[]>} */
|
|
@@ -9525,7 +9526,7 @@ class Ov {
|
|
|
9525
9526
|
* @param {BroadcastMessage} message
|
|
9526
9527
|
*/
|
|
9527
9528
|
handleBroadcast(e) {
|
|
9528
|
-
for (const n of ie(this,
|
|
9529
|
+
for (const n of ie(this, ro)[e.type] || [])
|
|
9529
9530
|
n(e);
|
|
9530
9531
|
}
|
|
9531
9532
|
/**
|
|
@@ -9534,8 +9535,8 @@ class Ov {
|
|
|
9534
9535
|
* @param {function(BroadcastMessage):void} handler
|
|
9535
9536
|
*/
|
|
9536
9537
|
_addBroadcastHandler(e, n) {
|
|
9537
|
-
let r = ie(this,
|
|
9538
|
-
r || (r = [], ie(this,
|
|
9538
|
+
let r = ie(this, ro)[e];
|
|
9539
|
+
r || (r = [], ie(this, ro)[e] = r), r.push(n);
|
|
9539
9540
|
}
|
|
9540
9541
|
/**
|
|
9541
9542
|
* Handles an interactionEvent
|
|
@@ -9577,7 +9578,7 @@ class Ov {
|
|
|
9577
9578
|
visit(e) {
|
|
9578
9579
|
try {
|
|
9579
9580
|
const n = e(this);
|
|
9580
|
-
if (e.postOrder && e.postOrder(this), n !==
|
|
9581
|
+
if (e.postOrder && e.postOrder(this), n !== xs)
|
|
9581
9582
|
return n;
|
|
9582
9583
|
} catch (n) {
|
|
9583
9584
|
throw n.view = this, n;
|
|
@@ -9742,7 +9743,7 @@ class Ov {
|
|
|
9742
9743
|
* @protected
|
|
9743
9744
|
*/
|
|
9744
9745
|
_cache(e, n) {
|
|
9745
|
-
return
|
|
9746
|
+
return vo(this, e, n);
|
|
9746
9747
|
}
|
|
9747
9748
|
/**
|
|
9748
9749
|
*
|
|
@@ -9775,7 +9776,7 @@ class Ov {
|
|
|
9775
9776
|
propagateInteractionEvent(e) {
|
|
9776
9777
|
}
|
|
9777
9778
|
}
|
|
9778
|
-
|
|
9779
|
+
ro = new WeakMap(), mu = new WeakMap(), bu = new WeakMap(), Gl = new WeakSet(), zv = function() {
|
|
9779
9780
|
const e = (n) => {
|
|
9780
9781
|
var i;
|
|
9781
9782
|
let r = this.spec[n];
|
|
@@ -9854,7 +9855,7 @@ function AF(t) {
|
|
|
9854
9855
|
return (n) => n;
|
|
9855
9856
|
}
|
|
9856
9857
|
const Pv = (t) => !!(t != null && t.step);
|
|
9857
|
-
class
|
|
9858
|
+
class Ao extends Ov {
|
|
9858
9859
|
/**
|
|
9859
9860
|
*
|
|
9860
9861
|
* @param {import("../spec/view").ContainerSpec} spec
|
|
@@ -9895,13 +9896,13 @@ class Eo extends Ov {
|
|
|
9895
9896
|
} catch (r) {
|
|
9896
9897
|
throw r.view = this, r;
|
|
9897
9898
|
}
|
|
9898
|
-
if (n ===
|
|
9899
|
+
if (n === xs)
|
|
9899
9900
|
return n;
|
|
9900
9901
|
if (n !== Rv) {
|
|
9901
9902
|
e.beforeChildren && e.beforeChildren(this);
|
|
9902
9903
|
for (const r of this) {
|
|
9903
9904
|
const i = r.visit(e);
|
|
9904
|
-
if (i ===
|
|
9905
|
+
if (i === xs)
|
|
9905
9906
|
return i;
|
|
9906
9907
|
}
|
|
9907
9908
|
e.afterChildren && e.afterChildren(this), e.postOrder && e.postOrder(this);
|
|
@@ -9916,7 +9917,7 @@ class Eo extends Ov {
|
|
|
9916
9917
|
if (n.name === e[0]) {
|
|
9917
9918
|
if (e.length == 1)
|
|
9918
9919
|
return n;
|
|
9919
|
-
if (n instanceof
|
|
9920
|
+
if (n instanceof Ao)
|
|
9920
9921
|
return n.findDescendantByPath(e.slice(1));
|
|
9921
9922
|
}
|
|
9922
9923
|
}
|
|
@@ -9937,7 +9938,7 @@ class Eo extends Ov {
|
|
|
9937
9938
|
let n;
|
|
9938
9939
|
return this.visit((r) => {
|
|
9939
9940
|
if (r.name == e)
|
|
9940
|
-
return n = r,
|
|
9941
|
+
return n = r, xs;
|
|
9941
9942
|
}), n;
|
|
9942
9943
|
}
|
|
9943
9944
|
/**
|
|
@@ -10199,10 +10200,10 @@ const FF = "locus", kF = "index";
|
|
|
10199
10200
|
var BF = 5;
|
|
10200
10201
|
function LF(t) {
|
|
10201
10202
|
const e = t.type;
|
|
10202
|
-
return !t.bins && (e ===
|
|
10203
|
+
return !t.bins && (e === yo || e === Lu || e === Ru);
|
|
10203
10204
|
}
|
|
10204
10205
|
function Gv(t) {
|
|
10205
|
-
return vt(t) && ![
|
|
10206
|
+
return vt(t) && ![sr, kF, FF].includes(t);
|
|
10206
10207
|
}
|
|
10207
10208
|
function Hv(t) {
|
|
10208
10209
|
return t || {
|
|
@@ -10259,7 +10260,7 @@ function OF(t, e) {
|
|
|
10259
10260
|
}
|
|
10260
10261
|
function zF(t) {
|
|
10261
10262
|
var e = t.type, n = "", r;
|
|
10262
|
-
return e ===
|
|
10263
|
+
return e === sr ? sr + "-" + yo : (PF(t) && (r = t.rawDomain ? t.rawDomain.length : t.domain ? t.domain.length + +(t.domainMid != null) : 0, n = r === 2 ? sr + "-" : r === 3 ? Lo + "-" : ""), (n + e || yo).toLowerCase());
|
|
10263
10264
|
}
|
|
10264
10265
|
function PF(t) {
|
|
10265
10266
|
const e = t.type;
|
|
@@ -10306,7 +10307,7 @@ function HF(t, e, n) {
|
|
|
10306
10307
|
let r = e.bins;
|
|
10307
10308
|
if (r && !tn(r)) {
|
|
10308
10309
|
const i = (r.start == null || r.stop == null) && t.domain(), a = r.start == null ? i[0] : r.start, o = r.stop == null ? Bn(i) : r.stop, s = r.step;
|
|
10309
|
-
s || We("Scale bins parameter missing step property."), r =
|
|
10310
|
+
s || We("Scale bins parameter missing step property."), r = Ns(a, o + s, s);
|
|
10310
10311
|
}
|
|
10311
10312
|
return r ? t.bins = r : t.bins && delete t.bins, t.type === kg && (r ? !e.domain && !e.domainRaw && (t.domain(r), n = r.length) : t.bins = t.domain()), n;
|
|
10312
10313
|
}
|
|
@@ -10447,7 +10448,7 @@ class WF {
|
|
|
10447
10448
|
if (e > this.totalSize)
|
|
10448
10449
|
return;
|
|
10449
10450
|
e = Math.floor(e);
|
|
10450
|
-
const n =
|
|
10451
|
+
const n = ko(this.startByIndex, e) - 1;
|
|
10451
10452
|
if (n > 0 && n <= this.chromosomes.length)
|
|
10452
10453
|
return this.chromosomes[n - 1];
|
|
10453
10454
|
}
|
|
@@ -10716,13 +10717,13 @@ _e("index", ip, ["continuous"]);
|
|
|
10716
10717
|
_e("locus", EF, ["continuous"]);
|
|
10717
10718
|
_e("null", wc, []);
|
|
10718
10719
|
const G1 = "quantitative", Wv = "ordinal", Xv = "nominal", $v = "locus", nk = "index";
|
|
10719
|
-
var Dr,
|
|
10720
|
+
var Dr, io, ht, Jn, Zr, Hl, Kv, ao, Uf, Ir, ki, wu, c0, Ql, Jv, Y0, ik, xu, h0;
|
|
10720
10721
|
class rk {
|
|
10721
10722
|
/**
|
|
10722
10723
|
* @param {Channel} channel
|
|
10723
10724
|
*/
|
|
10724
10725
|
constructor(e) {
|
|
10725
|
-
me(this,
|
|
10726
|
+
me(this, Jn);
|
|
10726
10727
|
/**
|
|
10727
10728
|
* Collects and merges scale properties from the participating views.
|
|
10728
10729
|
* Does not include inferred default values such as schemes etc.
|
|
@@ -10730,7 +10731,7 @@ class rk {
|
|
|
10730
10731
|
* @returns {import("../spec/scale").Scale}
|
|
10731
10732
|
*/
|
|
10732
10733
|
me(this, Hl);
|
|
10733
|
-
me(this,
|
|
10734
|
+
me(this, ao);
|
|
10734
10735
|
/**
|
|
10735
10736
|
* Returns true if zooming is supported but not necessarily allowed in view spec.
|
|
10736
10737
|
*/
|
|
@@ -10769,7 +10770,7 @@ class rk {
|
|
|
10769
10770
|
/** @type {number[]} */
|
|
10770
10771
|
me(this, Dr, void 0);
|
|
10771
10772
|
/** @type {Set<ScaleResolutionListener>} Observers that are called when the scale domain is changed */
|
|
10772
|
-
me(this,
|
|
10773
|
+
me(this, io, /* @__PURE__ */ new Set());
|
|
10773
10774
|
/** @type {VegaScale} */
|
|
10774
10775
|
me(this, ht, void 0);
|
|
10775
10776
|
this.channel = e, this.members = [], this.type = null, this.name = void 0;
|
|
@@ -10785,7 +10786,7 @@ class rk {
|
|
|
10785
10786
|
addEventListener(e, n) {
|
|
10786
10787
|
if (e != "domain")
|
|
10787
10788
|
throw new Error("Unsupported event type: " + e);
|
|
10788
|
-
ie(this,
|
|
10789
|
+
ie(this, io).add(n);
|
|
10789
10790
|
}
|
|
10790
10791
|
/**
|
|
10791
10792
|
* @param {"domain"} type
|
|
@@ -10794,7 +10795,7 @@ class rk {
|
|
|
10794
10795
|
removeEventListener(e, n) {
|
|
10795
10796
|
if (e != "domain")
|
|
10796
10797
|
throw new Error("Unsupported event type: " + e);
|
|
10797
|
-
ie(this,
|
|
10798
|
+
ie(this, io).delete(n);
|
|
10798
10799
|
}
|
|
10799
10800
|
/**
|
|
10800
10801
|
* Add a view to this resolution.
|
|
@@ -10815,7 +10816,7 @@ class rk {
|
|
|
10815
10816
|
}
|
|
10816
10817
|
if (!this.type)
|
|
10817
10818
|
this.type = i;
|
|
10818
|
-
else if (i !== this.type && !
|
|
10819
|
+
else if (i !== this.type && !ys(n))
|
|
10819
10820
|
throw new Error(
|
|
10820
10821
|
`Can not use shared scale for different data types: ${this.type} vs. ${i}. Use "resolve: independent" for channel ${this.channel}`
|
|
10821
10822
|
);
|
|
@@ -10841,7 +10842,7 @@ class rk {
|
|
|
10841
10842
|
* @returns {import("../spec/scale").Scale}
|
|
10842
10843
|
*/
|
|
10843
10844
|
getScaleProps() {
|
|
10844
|
-
return
|
|
10845
|
+
return vo(this, "scaleProps", () => {
|
|
10845
10846
|
const e = ue(this, Hl, Kv).call(this);
|
|
10846
10847
|
if (e === null || e.type == "null")
|
|
10847
10848
|
return { type: "null" };
|
|
@@ -10850,7 +10851,7 @@ class rk {
|
|
|
10850
10851
|
...e
|
|
10851
10852
|
};
|
|
10852
10853
|
n.type || (n.type = ak(this.channel, this.type));
|
|
10853
|
-
const r = ue(this,
|
|
10854
|
+
const r = ue(this, ao, Uf).call(this);
|
|
10854
10855
|
return r && r.length > 0 ? n.domain = r : pi(n.type) && (n.domain = new Yv()), !n.domain && n.domainMid !== void 0 && (n.domain = [n.domainMin ?? 0, n.domainMax ?? 1]), this.channel == "y" && pi(n.type) && n.reverse == null && (n.reverse = !0), n.range && n.scheme && delete n.scheme, !("zoom" in n) && ["index", "locus"].includes(n.type) && (n.zoom = !0), ok(n, this.channel), n;
|
|
10855
10856
|
});
|
|
10856
10857
|
}
|
|
@@ -10860,7 +10861,7 @@ class rk {
|
|
|
10860
10861
|
* @return { DomainArray }
|
|
10861
10862
|
*/
|
|
10862
10863
|
getConfiguredDomain() {
|
|
10863
|
-
return ue(this, xu, h0).call(this, (e) =>
|
|
10864
|
+
return ue(this, xu, h0).call(this, (e) => ys(e.channel) ? void 0 : e.view.getConfiguredDomain(e.channel));
|
|
10864
10865
|
}
|
|
10865
10866
|
/**
|
|
10866
10867
|
* Extracts and unions the data domains of all participating views.
|
|
@@ -10868,7 +10869,7 @@ class rk {
|
|
|
10868
10869
|
* @return { DomainArray }
|
|
10869
10870
|
*/
|
|
10870
10871
|
getDataDomain() {
|
|
10871
|
-
return ue(this, xu, h0).call(this, (e) =>
|
|
10872
|
+
return ue(this, xu, h0).call(this, (e) => ys(e.channel) ? void 0 : e.view.extractDataDomain(e.channel));
|
|
10872
10873
|
}
|
|
10873
10874
|
/**
|
|
10874
10875
|
* Reconfigures the scale: updates domain and other settings
|
|
@@ -10879,11 +10880,11 @@ class rk {
|
|
|
10879
10880
|
Dv(this, "scaleProps");
|
|
10880
10881
|
const r = this.getScaleProps();
|
|
10881
10882
|
if (Qv(r, ie(this, ht)), vt(ie(this, ht).type) && Zn(this, Dr, ue(this, wu, c0).call(this)), !e) {
|
|
10882
|
-
ue(this,
|
|
10883
|
+
ue(this, Jn, Zr).call(this);
|
|
10883
10884
|
return;
|
|
10884
10885
|
}
|
|
10885
10886
|
const i = ie(this, ht).domain();
|
|
10886
|
-
fl(i, n) || (this.isZoomable() ? ie(this, ht).domain(n) : ue(this, Ir, ki).call(this) ? (ie(this, ht).domain(n), this.zoomTo(i, 500)) : ue(this,
|
|
10887
|
+
fl(i, n) || (this.isZoomable() ? ie(this, ht).domain(n) : ue(this, Ir, ki).call(this) ? (ie(this, ht).domain(n), this.zoomTo(i, 500)) : ue(this, Jn, Zr).call(this));
|
|
10887
10888
|
}
|
|
10888
10889
|
}
|
|
10889
10890
|
/**
|
|
@@ -10911,7 +10912,7 @@ class rk {
|
|
|
10911
10912
|
* @returns true if zoomed
|
|
10912
10913
|
*/
|
|
10913
10914
|
isZoomed() {
|
|
10914
|
-
return ue(this, Ir, ki).call(this) && fl(ue(this,
|
|
10915
|
+
return ue(this, Ir, ki).call(this) && fl(ue(this, ao, Uf).call(this), this.getDomain());
|
|
10915
10916
|
}
|
|
10916
10917
|
/**
|
|
10917
10918
|
* Returns true if zooming is supported and allowed in view spec.
|
|
@@ -10964,7 +10965,7 @@ class rk {
|
|
|
10964
10965
|
o,
|
|
10965
10966
|
ie(this, Dr)[0],
|
|
10966
10967
|
ie(this, Dr)[1]
|
|
10967
|
-
)), [0, 1].some((f) => o[f] != a[f]) ? (i.domain(o), ue(this,
|
|
10968
|
+
)), [0, 1].some((f) => o[f] != a[f]) ? (i.domain(o), ue(this, Jn, Zr).call(this), !0) : !1;
|
|
10968
10969
|
}
|
|
10969
10970
|
/**
|
|
10970
10971
|
* Immediately zooms to the given interval.
|
|
@@ -10988,11 +10989,11 @@ class rk {
|
|
|
10988
10989
|
easingFunction: ek,
|
|
10989
10990
|
onUpdate: (h) => {
|
|
10990
10991
|
const d = tk(f, l, h), g = (f - d) / (f - l), b = g * c + (1 - g) * u;
|
|
10991
|
-
a.domain([b - d / 2, b + d / 2]), ue(this,
|
|
10992
|
+
a.domain([b - d / 2, b + d / 2]), ue(this, Jn, Zr).call(this);
|
|
10992
10993
|
}
|
|
10993
|
-
}), a.domain(r), ue(this,
|
|
10994
|
+
}), a.domain(r), ue(this, Jn, Zr).call(this);
|
|
10994
10995
|
} else
|
|
10995
|
-
a.domain(r), i == null || i.requestRender(), ue(this,
|
|
10996
|
+
a.domain(r), i == null || i.requestRender(), ue(this, Jn, Zr).call(this);
|
|
10996
10997
|
}
|
|
10997
10998
|
/**
|
|
10998
10999
|
* Resets the current domain to the initial one
|
|
@@ -11002,8 +11003,8 @@ class rk {
|
|
|
11002
11003
|
resetZoom() {
|
|
11003
11004
|
if (!ue(this, Ir, ki).call(this))
|
|
11004
11005
|
throw new Error("Not a zoomable scale!");
|
|
11005
|
-
const e = this.getDomain(), n = ue(this,
|
|
11006
|
-
return [0, 1].some((r) => n[r] != e[r]) ? (ie(this, ht).domain(n), ue(this,
|
|
11006
|
+
const e = this.getDomain(), n = ue(this, ao, Uf).call(this);
|
|
11007
|
+
return [0, 1].some((r) => n[r] != e[r]) ? (ie(this, ht).domain(n), ue(this, Jn, Zr).call(this), !0) : !1;
|
|
11007
11008
|
}
|
|
11008
11009
|
/**
|
|
11009
11010
|
* Returns the zoom level with respect to the reference domain span (the original domain).
|
|
@@ -11066,20 +11067,20 @@ class rk {
|
|
|
11066
11067
|
);
|
|
11067
11068
|
}
|
|
11068
11069
|
}
|
|
11069
|
-
Dr = new WeakMap(),
|
|
11070
|
-
for (const e of ie(this,
|
|
11070
|
+
Dr = new WeakMap(), io = new WeakMap(), ht = new WeakMap(), Jn = new WeakSet(), Zr = function() {
|
|
11071
|
+
for (const e of ie(this, io).values())
|
|
11071
11072
|
e({
|
|
11072
11073
|
type: "domain",
|
|
11073
11074
|
scaleResolution: this
|
|
11074
11075
|
});
|
|
11075
11076
|
}, Hl = new WeakSet(), Kv = function() {
|
|
11076
|
-
return
|
|
11077
|
+
return vo(this, "mergedScaleProps", () => {
|
|
11077
11078
|
const e = this.members.map(
|
|
11078
11079
|
(n) => Zd(n.view, n.channel).scale
|
|
11079
11080
|
).filter((n) => n !== void 0);
|
|
11080
11081
|
return vl(e, "scale", ["domain"]);
|
|
11081
11082
|
});
|
|
11082
|
-
},
|
|
11083
|
+
}, ao = new WeakSet(), Uf = function() {
|
|
11083
11084
|
return this.getConfiguredDomain() ?? (this.type == $v ? this.getGenome().getExtent() : this.getDataDomain());
|
|
11084
11085
|
}, Ir = new WeakSet(), ki = function() {
|
|
11085
11086
|
const e = this.getScale().type;
|
|
@@ -11092,7 +11093,7 @@ Dr = new WeakMap(), ao = new WeakMap(), ht = new WeakMap(), Kn = new WeakSet(),
|
|
|
11092
11093
|
return e.type == "locus" ? this.getGenome().getExtent() : ie(this, ht).domain();
|
|
11093
11094
|
}, Ql = new WeakSet(), Jv = function(e) {
|
|
11094
11095
|
const n = this.channel, r = {};
|
|
11095
|
-
return this.isExplicitDomain() && (r.zero = !1),
|
|
11096
|
+
return this.isExplicitDomain() && (r.zero = !1), Zs(n) ? r.nice = !this.isExplicitDomain() : Ji(n) ? r.scheme = e == Xv ? "tableau10" : e == Wv ? "blues" : "viridis" : xc(n) ? r.range = A2(n) : n == "size" ? r.range = [0, 400] : n == "angle" && (r.range = [0, 360]), r;
|
|
11096
11097
|
}, Y0 = new WeakSet(), ik = function() {
|
|
11097
11098
|
return this.members.map((e) => e.view.getPathString()).join(", ");
|
|
11098
11099
|
}, xu = new WeakSet(), h0 = function(e) {
|
|
@@ -11133,7 +11134,7 @@ function ak(t, e) {
|
|
|
11133
11134
|
return i;
|
|
11134
11135
|
}
|
|
11135
11136
|
function ok(t, e) {
|
|
11136
|
-
|
|
11137
|
+
Zs(e) && t.type !== "ordinal" && (t.range = [0, 1]), e == "opacity" && vt(t.type) && (t.clamp = !0);
|
|
11137
11138
|
}
|
|
11138
11139
|
function sk(t) {
|
|
11139
11140
|
return On(t);
|
|
@@ -11189,7 +11190,7 @@ class uk {
|
|
|
11189
11190
|
this.members.push({ view: e, channel: n });
|
|
11190
11191
|
}
|
|
11191
11192
|
getAxisProps() {
|
|
11192
|
-
return
|
|
11193
|
+
return vo(this, "axisProps", () => {
|
|
11193
11194
|
const e = this.members.map((n) => {
|
|
11194
11195
|
const r = n.view.mark.encoding[n.channel];
|
|
11195
11196
|
return "axis" in r && r.axis;
|
|
@@ -11226,7 +11227,7 @@ class uk {
|
|
|
11226
11227
|
};
|
|
11227
11228
|
}, n = this.members.map(e), r = n.filter((a) => {
|
|
11228
11229
|
var o;
|
|
11229
|
-
if (
|
|
11230
|
+
if (ys(a.member.channel) && !a.explicitTitle) {
|
|
11230
11231
|
const s = sa(a.member.channel);
|
|
11231
11232
|
return ((o = n.find(
|
|
11232
11233
|
(f) => f.member.view == a.member.view && f.member.channel == s
|
|
@@ -11248,7 +11249,7 @@ const fk = {
|
|
|
11248
11249
|
link: fF,
|
|
11249
11250
|
text: pF
|
|
11250
11251
|
};
|
|
11251
|
-
class Dt extends
|
|
11252
|
+
class Dt extends Ao {
|
|
11252
11253
|
/**
|
|
11253
11254
|
* @typedef {import("../spec/channel").Channel} Channel
|
|
11254
11255
|
* @typedef {import("./view").default} View
|
|
@@ -11299,17 +11300,17 @@ class Dt extends Eo {
|
|
|
11299
11300
|
const a = sa(
|
|
11300
11301
|
i.resolutionChannel ?? r
|
|
11301
11302
|
);
|
|
11302
|
-
if (!ea(a) || e == "axis" && !
|
|
11303
|
+
if (!ea(a) || e == "axis" && !Zs(a))
|
|
11303
11304
|
continue;
|
|
11304
11305
|
let o = this;
|
|
11305
|
-
for (; (o.getConfiguredOrDefaultResolution(a, e) == "forced" || o.dataParent instanceof
|
|
11306
|
+
for (; (o.getConfiguredOrDefaultResolution(a, e) == "forced" || o.dataParent instanceof Ao && ["shared", "excluded", "forced"].includes(
|
|
11306
11307
|
o.dataParent.getConfiguredOrDefaultResolution(
|
|
11307
11308
|
a,
|
|
11308
11309
|
e
|
|
11309
11310
|
)
|
|
11310
11311
|
)) && o.getConfiguredOrDefaultResolution(a, e) != "excluded"; )
|
|
11311
11312
|
o = o.dataParent;
|
|
11312
|
-
e == "axis" &&
|
|
11313
|
+
e == "axis" && Zs(r) && x2(a) ? (o.resolutions[e][a] || (o.resolutions[e][a] = new uk(
|
|
11313
11314
|
a
|
|
11314
11315
|
)), o.resolutions[e][a].pushUnitView(
|
|
11315
11316
|
this,
|
|
@@ -11355,7 +11356,7 @@ class Dt extends Eo {
|
|
|
11355
11356
|
* @param {Channel} channel A primary channel
|
|
11356
11357
|
*/
|
|
11357
11358
|
_validateDomainQuery(e) {
|
|
11358
|
-
if (
|
|
11359
|
+
if (ys(e))
|
|
11359
11360
|
throw new Error(
|
|
11360
11361
|
`getDomain(${e}), must only be called for primary channels!`
|
|
11361
11362
|
);
|
|
@@ -11427,7 +11428,7 @@ class Dt extends Eo {
|
|
|
11427
11428
|
var r;
|
|
11428
11429
|
return ((r = this.getScaleResolution(n)) == null ? void 0 : r.getZoomLevel()) ?? 1;
|
|
11429
11430
|
};
|
|
11430
|
-
return
|
|
11431
|
+
return Ro.map(e).reduce((n, r) => n * r, 1);
|
|
11431
11432
|
}
|
|
11432
11433
|
/**
|
|
11433
11434
|
* @param {import("../utils/interactionEvent").default} event
|
|
@@ -11623,7 +11624,7 @@ class Al {
|
|
|
11623
11624
|
}
|
|
11624
11625
|
class lk extends Je {
|
|
11625
11626
|
get behavior() {
|
|
11626
|
-
return
|
|
11627
|
+
return dr;
|
|
11627
11628
|
}
|
|
11628
11629
|
/**
|
|
11629
11630
|
* @param {import("../../spec/transform").CoverageParams} params
|
|
@@ -11831,7 +11832,7 @@ class gk extends Je {
|
|
|
11831
11832
|
}
|
|
11832
11833
|
class pk extends Je {
|
|
11833
11834
|
get behavior() {
|
|
11834
|
-
return
|
|
11835
|
+
return dr;
|
|
11835
11836
|
}
|
|
11836
11837
|
/**
|
|
11837
11838
|
* @param {import("../../spec/transform").FlattenParams} params
|
|
@@ -11877,7 +11878,7 @@ function* bk(t, e = ",") {
|
|
|
11877
11878
|
}
|
|
11878
11879
|
class yk extends Je {
|
|
11879
11880
|
get behavior() {
|
|
11880
|
-
return
|
|
11881
|
+
return dr;
|
|
11881
11882
|
}
|
|
11882
11883
|
/**
|
|
11883
11884
|
*
|
|
@@ -11904,7 +11905,7 @@ class yk extends Je {
|
|
|
11904
11905
|
}
|
|
11905
11906
|
class wk extends Je {
|
|
11906
11907
|
get behavior() {
|
|
11907
|
-
return
|
|
11908
|
+
return dr;
|
|
11908
11909
|
}
|
|
11909
11910
|
/**
|
|
11910
11911
|
* @param {import("../../spec/transform").FlattenDelimitedParams} params
|
|
@@ -13377,7 +13378,7 @@ class Mk extends Je {
|
|
|
13377
13378
|
}
|
|
13378
13379
|
class Tk extends Je {
|
|
13379
13380
|
get behavior() {
|
|
13380
|
-
return
|
|
13381
|
+
return dr;
|
|
13381
13382
|
}
|
|
13382
13383
|
/**
|
|
13383
13384
|
*
|
|
@@ -13433,7 +13434,7 @@ class Nk extends Je {
|
|
|
13433
13434
|
}
|
|
13434
13435
|
class Fk extends Je {
|
|
13435
13436
|
get behavior() {
|
|
13436
|
-
return
|
|
13437
|
+
return dr;
|
|
13437
13438
|
}
|
|
13438
13439
|
/**
|
|
13439
13440
|
* @param {import("../../spec/transform").RegexFoldParams} params
|
|
@@ -13571,7 +13572,7 @@ class kk extends Je {
|
|
|
13571
13572
|
}
|
|
13572
13573
|
class Bk extends Je {
|
|
13573
13574
|
get behavior() {
|
|
13574
|
-
return
|
|
13575
|
+
return dr;
|
|
13575
13576
|
}
|
|
13576
13577
|
/**
|
|
13577
13578
|
*
|
|
@@ -13597,7 +13598,7 @@ class Bk extends Je {
|
|
|
13597
13598
|
}
|
|
13598
13599
|
class Lk extends Je {
|
|
13599
13600
|
get behavior() {
|
|
13600
|
-
return
|
|
13601
|
+
return dr;
|
|
13601
13602
|
}
|
|
13602
13603
|
/**
|
|
13603
13604
|
* @param {import("../../spec/transform").AggregateParams} params
|
|
@@ -13958,7 +13959,7 @@ class Wk extends va {
|
|
|
13958
13959
|
this.publishData(this.genome.chromosomes);
|
|
13959
13960
|
}
|
|
13960
13961
|
}
|
|
13961
|
-
var
|
|
13962
|
+
var Ks = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
|
|
13962
13963
|
function Aa(t) {
|
|
13963
13964
|
return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
|
|
13964
13965
|
}
|
|
@@ -13968,13 +13969,7 @@ function Xk(t) {
|
|
|
13968
13969
|
var e = t.default;
|
|
13969
13970
|
if (typeof e == "function") {
|
|
13970
13971
|
var n = function r() {
|
|
13971
|
-
|
|
13972
|
-
var i = [null];
|
|
13973
|
-
i.push.apply(i, arguments);
|
|
13974
|
-
var a = Function.bind.apply(e, i);
|
|
13975
|
-
return new a();
|
|
13976
|
-
}
|
|
13977
|
-
return e.apply(this, arguments);
|
|
13972
|
+
return this instanceof r ? Reflect.construct(e, arguments, this.constructor) : e.apply(this, arguments);
|
|
13978
13973
|
};
|
|
13979
13974
|
n.prototype = e.prototype;
|
|
13980
13975
|
} else
|
|
@@ -13993,9 +13988,9 @@ var pt = {}, kc = {};
|
|
|
13993
13988
|
kc.byteLength = Jk;
|
|
13994
13989
|
kc.toByteArray = tB;
|
|
13995
13990
|
kc.fromByteArray = iB;
|
|
13996
|
-
var
|
|
13991
|
+
var er = [], an = [], $k = typeof Uint8Array < "u" ? Uint8Array : Array, xh = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
|
|
13997
13992
|
for (var La = 0, Kk = xh.length; La < Kk; ++La)
|
|
13998
|
-
|
|
13993
|
+
er[La] = xh[La], an[xh.charCodeAt(La)] = La;
|
|
13999
13994
|
an["-".charCodeAt(0)] = 62;
|
|
14000
13995
|
an["_".charCodeAt(0)] = 63;
|
|
14001
13996
|
function uA(t) {
|
|
@@ -14021,7 +14016,7 @@ function tB(t) {
|
|
|
14021
14016
|
return i === 2 && (e = an[t.charCodeAt(f)] << 2 | an[t.charCodeAt(f + 1)] >> 4, a[o++] = e & 255), i === 1 && (e = an[t.charCodeAt(f)] << 10 | an[t.charCodeAt(f + 1)] << 4 | an[t.charCodeAt(f + 2)] >> 2, a[o++] = e >> 8 & 255, a[o++] = e & 255), a;
|
|
14022
14017
|
}
|
|
14023
14018
|
function nB(t) {
|
|
14024
|
-
return
|
|
14019
|
+
return er[t >> 18 & 63] + er[t >> 12 & 63] + er[t >> 6 & 63] + er[t & 63];
|
|
14025
14020
|
}
|
|
14026
14021
|
function rB(t, e, n) {
|
|
14027
14022
|
for (var r, i = [], a = e; a < n; a += 3)
|
|
@@ -14032,9 +14027,9 @@ function iB(t) {
|
|
|
14032
14027
|
for (var e, n = t.length, r = n % 3, i = [], a = 16383, o = 0, s = n - r; o < s; o += a)
|
|
14033
14028
|
i.push(rB(t, o, o + a > s ? s : o + a));
|
|
14034
14029
|
return r === 1 ? (e = t[n - 1], i.push(
|
|
14035
|
-
|
|
14030
|
+
er[e >> 2] + er[e << 4 & 63] + "=="
|
|
14036
14031
|
)) : r === 2 && (e = (t[n - 2] << 8) + t[n - 1], i.push(
|
|
14037
|
-
|
|
14032
|
+
er[e >> 10] + er[e >> 4 & 63] + er[e << 2 & 63] + "="
|
|
14038
14033
|
)), i.join("");
|
|
14039
14034
|
}
|
|
14040
14035
|
var op = {};
|
|
@@ -14200,7 +14195,7 @@ op.write = function(t, e, n, r, i, a) {
|
|
|
14200
14195
|
return m.length === 0 || x.copy(m, 0, 0, p), m;
|
|
14201
14196
|
}
|
|
14202
14197
|
if (x.length !== void 0)
|
|
14203
|
-
return typeof x.length != "number" ||
|
|
14198
|
+
return typeof x.length != "number" || pr(x.length) ? o(0) : d(x);
|
|
14204
14199
|
if (x.type === "Buffer" && Array.isArray(x.data))
|
|
14205
14200
|
return d(x.data);
|
|
14206
14201
|
}
|
|
@@ -14403,7 +14398,7 @@ op.write = function(t, e, n, r, i, a) {
|
|
|
14403
14398
|
function N(x, p, m, I, k) {
|
|
14404
14399
|
if (x.length === 0)
|
|
14405
14400
|
return -1;
|
|
14406
|
-
if (typeof m == "string" ? (I = m, m = 0) : m > 2147483647 ? m = 2147483647 : m < -2147483648 && (m = -2147483648), m = +m,
|
|
14401
|
+
if (typeof m == "string" ? (I = m, m = 0) : m > 2147483647 ? m = 2147483647 : m < -2147483648 && (m = -2147483648), m = +m, pr(m) && (m = k ? 0 : x.length - 1), m < 0 && (m = x.length + m), m >= x.length) {
|
|
14407
14402
|
if (k)
|
|
14408
14403
|
return -1;
|
|
14409
14404
|
m = x.length - 1;
|
|
@@ -14466,7 +14461,7 @@ op.write = function(t, e, n, r, i, a) {
|
|
|
14466
14461
|
let H;
|
|
14467
14462
|
for (H = 0; H < I; ++H) {
|
|
14468
14463
|
const he = parseInt(p.substr(H * 2, 2), 16);
|
|
14469
|
-
if (
|
|
14464
|
+
if (pr(he))
|
|
14470
14465
|
return H;
|
|
14471
14466
|
x[m + H] = he;
|
|
14472
14467
|
}
|
|
@@ -15019,7 +15014,7 @@ op.write = function(t, e, n, r, i, a) {
|
|
|
15019
15014
|
function yt(x, p) {
|
|
15020
15015
|
return x instanceof p || x != null && x.constructor != null && x.constructor.name != null && x.constructor.name === p.name;
|
|
15021
15016
|
}
|
|
15022
|
-
function
|
|
15017
|
+
function pr(x) {
|
|
15023
15018
|
return x !== x;
|
|
15024
15019
|
}
|
|
15025
15020
|
const jr = function() {
|
|
@@ -15042,7 +15037,7 @@ const $t = {}, aB = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
15042
15037
|
__proto__: null,
|
|
15043
15038
|
default: $t
|
|
15044
15039
|
}, Symbol.toStringTag, { value: "Module" })), vh = typeof window < "u" ? window : typeof self < "u" ? self : { fetch: void 0 };
|
|
15045
|
-
class
|
|
15040
|
+
class ir {
|
|
15046
15041
|
async getBufferFromResponse(e) {
|
|
15047
15042
|
if (typeof e.buffer == "function")
|
|
15048
15043
|
return e.buffer();
|
|
@@ -15185,12 +15180,12 @@ var Or = {};
|
|
|
15185
15180
|
a ? (t.Buf8 = Uint8Array, t.Buf16 = Uint16Array, t.Buf32 = Int32Array, t.assign(t, r)) : (t.Buf8 = Array, t.Buf16 = Array, t.Buf32 = Array, t.assign(t, i));
|
|
15186
15181
|
}, t.setTyped(e);
|
|
15187
15182
|
})(Or);
|
|
15188
|
-
var Yu = {},
|
|
15189
|
-
function
|
|
15183
|
+
var Yu = {}, gr = {}, Uo = {}, oB = Or, sB = 4, q1 = 0, Z1 = 1, uB = 2;
|
|
15184
|
+
function jo(t) {
|
|
15190
15185
|
for (var e = t.length; --e >= 0; )
|
|
15191
15186
|
t[e] = 0;
|
|
15192
15187
|
}
|
|
15193
|
-
var fB = 0, fA = 1, lB = 2, cB = 3, hB = 258, sp = 29, Wu = 256,
|
|
15188
|
+
var fB = 0, fA = 1, lB = 2, cB = 3, hB = 258, sp = 29, Wu = 256, Js = Wu + 1 + sp, Wa = 30, up = 19, lA = 2 * Js + 1, Ui = 15, Ah = 16, dB = 7, fp = 256, cA = 16, hA = 17, dA = 18, g0 = (
|
|
15194
15189
|
/* extra bits for each length code */
|
|
15195
15190
|
[0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5, 5, 0]
|
|
15196
15191
|
), jf = (
|
|
@@ -15199,18 +15194,18 @@ var fB = 0, fA = 1, lB = 2, cB = 3, hB = 258, sp = 29, Wu = 256, eu = Wu + 1 + s
|
|
|
15199
15194
|
), gB = (
|
|
15200
15195
|
/* extra bits for each bit length code */
|
|
15201
15196
|
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 3, 7]
|
|
15202
|
-
), gA = [16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15], pB = 512, Sr = new Array((
|
|
15203
|
-
|
|
15204
|
-
var
|
|
15205
|
-
|
|
15206
|
-
var
|
|
15207
|
-
|
|
15208
|
-
var
|
|
15209
|
-
|
|
15197
|
+
), gA = [16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15], pB = 512, Sr = new Array((Js + 2) * 2);
|
|
15198
|
+
jo(Sr);
|
|
15199
|
+
var vs = new Array(Wa * 2);
|
|
15200
|
+
jo(vs);
|
|
15201
|
+
var eu = new Array(pB);
|
|
15202
|
+
jo(eu);
|
|
15203
|
+
var tu = new Array(hB - cB + 1);
|
|
15204
|
+
jo(tu);
|
|
15210
15205
|
var lp = new Array(sp);
|
|
15211
|
-
|
|
15206
|
+
jo(lp);
|
|
15212
15207
|
var El = new Array(Wa);
|
|
15213
|
-
|
|
15208
|
+
jo(El);
|
|
15214
15209
|
function Eh(t, e, n, r, i) {
|
|
15215
15210
|
this.static_tree = t, this.extra_bits = e, this.extra_base = n, this.elems = r, this.max_length = i, this.has_stree = t && t.length;
|
|
15216
15211
|
}
|
|
@@ -15219,15 +15214,15 @@ function Sh(t, e) {
|
|
|
15219
15214
|
this.dyn_tree = t, this.max_code = 0, this.stat_desc = e;
|
|
15220
15215
|
}
|
|
15221
15216
|
function yA(t) {
|
|
15222
|
-
return t < 256 ?
|
|
15217
|
+
return t < 256 ? eu[t] : eu[256 + (t >>> 7)];
|
|
15223
15218
|
}
|
|
15224
|
-
function
|
|
15219
|
+
function nu(t, e) {
|
|
15225
15220
|
t.pending_buf[t.pending++] = e & 255, t.pending_buf[t.pending++] = e >>> 8 & 255;
|
|
15226
15221
|
}
|
|
15227
15222
|
function zt(t, e, n) {
|
|
15228
|
-
t.bi_valid > Ah - n ? (t.bi_buf |= e << t.bi_valid & 65535,
|
|
15223
|
+
t.bi_valid > Ah - n ? (t.bi_buf |= e << t.bi_valid & 65535, nu(t, t.bi_buf), t.bi_buf = e >> Ah - t.bi_valid, t.bi_valid += n - Ah) : (t.bi_buf |= e << t.bi_valid & 65535, t.bi_valid += n);
|
|
15229
15224
|
}
|
|
15230
|
-
function
|
|
15225
|
+
function tr(t, e, n) {
|
|
15231
15226
|
zt(
|
|
15232
15227
|
t,
|
|
15233
15228
|
n[e * 2],
|
|
@@ -15243,7 +15238,7 @@ function wA(t, e) {
|
|
|
15243
15238
|
return n >>> 1;
|
|
15244
15239
|
}
|
|
15245
15240
|
function mB(t) {
|
|
15246
|
-
t.bi_valid === 16 ? (
|
|
15241
|
+
t.bi_valid === 16 ? (nu(t, t.bi_buf), t.bi_buf = 0, t.bi_valid = 0) : t.bi_valid >= 8 && (t.pending_buf[t.pending++] = t.bi_buf & 255, t.bi_buf >>= 8, t.bi_valid -= 8);
|
|
15247
15242
|
}
|
|
15248
15243
|
function bB(t, e) {
|
|
15249
15244
|
var n = e.dyn_tree, r = e.max_code, i = e.stat_desc.static_tree, a = e.stat_desc.has_stree, o = e.stat_desc.extra_bits, s = e.stat_desc.extra_base, f = e.stat_desc.max_length, u, l, c, h, d, g, b = 0;
|
|
@@ -15275,13 +15270,13 @@ function yB() {
|
|
|
15275
15270
|
var t, e, n, r, i, a = new Array(Ui + 1);
|
|
15276
15271
|
for (n = 0, r = 0; r < sp - 1; r++)
|
|
15277
15272
|
for (lp[r] = n, t = 0; t < 1 << g0[r]; t++)
|
|
15278
|
-
|
|
15279
|
-
for (
|
|
15273
|
+
tu[n++] = r;
|
|
15274
|
+
for (tu[n - 1] = r, i = 0, r = 0; r < 16; r++)
|
|
15280
15275
|
for (El[r] = i, t = 0; t < 1 << jf[r]; t++)
|
|
15281
|
-
|
|
15276
|
+
eu[i++] = r;
|
|
15282
15277
|
for (i >>= 7; r < Wa; r++)
|
|
15283
15278
|
for (El[r] = i << 7, t = 0; t < 1 << jf[r] - 7; t++)
|
|
15284
|
-
|
|
15279
|
+
eu[256 + i++] = r;
|
|
15285
15280
|
for (e = 0; e <= Ui; e++)
|
|
15286
15281
|
a[e] = 0;
|
|
15287
15282
|
for (t = 0; t <= 143; )
|
|
@@ -15292,13 +15287,13 @@ function yB() {
|
|
|
15292
15287
|
Sr[t * 2 + 1] = 7, t++, a[7]++;
|
|
15293
15288
|
for (; t <= 287; )
|
|
15294
15289
|
Sr[t * 2 + 1] = 8, t++, a[8]++;
|
|
15295
|
-
for (xA(Sr,
|
|
15296
|
-
|
|
15297
|
-
pA = new Eh(Sr, g0, Wu + 1,
|
|
15290
|
+
for (xA(Sr, Js + 1, a), t = 0; t < Wa; t++)
|
|
15291
|
+
vs[t * 2 + 1] = 5, vs[t * 2] = wA(t, 5);
|
|
15292
|
+
pA = new Eh(Sr, g0, Wu + 1, Js, Ui), mA = new Eh(vs, jf, 0, Wa, Ui), bA = new Eh(new Array(0), gB, 0, up, dB);
|
|
15298
15293
|
}
|
|
15299
15294
|
function vA(t) {
|
|
15300
15295
|
var e;
|
|
15301
|
-
for (e = 0; e <
|
|
15296
|
+
for (e = 0; e < Js; e++)
|
|
15302
15297
|
t.dyn_ltree[e * 2] = 0;
|
|
15303
15298
|
for (e = 0; e < Wa; e++)
|
|
15304
15299
|
t.dyn_dtree[e * 2] = 0;
|
|
@@ -15307,10 +15302,10 @@ function vA(t) {
|
|
|
15307
15302
|
t.dyn_ltree[fp * 2] = 1, t.opt_len = t.static_len = 0, t.last_lit = t.matches = 0;
|
|
15308
15303
|
}
|
|
15309
15304
|
function AA(t) {
|
|
15310
|
-
t.bi_valid > 8 ?
|
|
15305
|
+
t.bi_valid > 8 ? nu(t, t.bi_buf) : t.bi_valid > 0 && (t.pending_buf[t.pending++] = t.bi_buf), t.bi_buf = 0, t.bi_valid = 0;
|
|
15311
15306
|
}
|
|
15312
15307
|
function wB(t, e, n, r) {
|
|
15313
|
-
AA(t), r && (
|
|
15308
|
+
AA(t), r && (nu(t, n), nu(t, ~n)), oB.arraySet(t.pending_buf, t.window, e, n, t.pending), t.pending += n;
|
|
15314
15309
|
}
|
|
15315
15310
|
function Y1(t, e, n, r) {
|
|
15316
15311
|
var i = e * 2, a = n * 2;
|
|
@@ -15325,9 +15320,9 @@ function W1(t, e, n) {
|
|
|
15325
15320
|
var r, i, a = 0, o, s;
|
|
15326
15321
|
if (t.last_lit !== 0)
|
|
15327
15322
|
do
|
|
15328
|
-
r = t.pending_buf[t.d_buf + a * 2] << 8 | t.pending_buf[t.d_buf + a * 2 + 1], i = t.pending_buf[t.l_buf + a], a++, r === 0 ?
|
|
15323
|
+
r = t.pending_buf[t.d_buf + a * 2] << 8 | t.pending_buf[t.d_buf + a * 2 + 1], i = t.pending_buf[t.l_buf + a], a++, r === 0 ? tr(t, i, e) : (o = tu[i], tr(t, o + Wu + 1, e), s = g0[o], s !== 0 && (i -= lp[o], zt(t, i, s)), r--, o = yA(r), tr(t, o, n), s = jf[o], s !== 0 && (r -= El[o], zt(t, r, s)));
|
|
15329
15324
|
while (a < t.last_lit);
|
|
15330
|
-
|
|
15325
|
+
tr(t, fp, e);
|
|
15331
15326
|
}
|
|
15332
15327
|
function p0(t, e) {
|
|
15333
15328
|
var n = e.dyn_tree, r = e.stat_desc.static_tree, i = e.stat_desc.has_stree, a = e.stat_desc.elems, o, s, f = -1, u;
|
|
@@ -15379,10 +15374,10 @@ function $1(t, e, n) {
|
|
|
15379
15374
|
if (a = o, o = e[(r + 1) * 2 + 1], !(++s < f && a === o)) {
|
|
15380
15375
|
if (s < u)
|
|
15381
15376
|
do
|
|
15382
|
-
|
|
15377
|
+
tr(t, a, t.bl_tree);
|
|
15383
15378
|
while (--s !== 0);
|
|
15384
15379
|
else
|
|
15385
|
-
a !== 0 ? (a !== i && (
|
|
15380
|
+
a !== 0 ? (a !== i && (tr(t, a, t.bl_tree), s--), tr(t, cA, t.bl_tree), zt(t, s - 3, 2)) : s <= 10 ? (tr(t, hA, t.bl_tree), zt(t, s - 3, 3)) : (tr(t, dA, t.bl_tree), zt(t, s - 11, 7));
|
|
15386
15381
|
s = 0, i = a, o === 0 ? (f = 138, u = 3) : a === o ? (f = 6, u = 3) : (f = 7, u = 4);
|
|
15387
15382
|
}
|
|
15388
15383
|
}
|
|
@@ -15418,20 +15413,20 @@ function EA(t, e, n, r) {
|
|
|
15418
15413
|
zt(t, (fB << 1) + (r ? 1 : 0), 3), wB(t, e, n, !0);
|
|
15419
15414
|
}
|
|
15420
15415
|
function SB(t) {
|
|
15421
|
-
zt(t, fA << 1, 3),
|
|
15416
|
+
zt(t, fA << 1, 3), tr(t, fp, Sr), mB(t);
|
|
15422
15417
|
}
|
|
15423
15418
|
function _B(t, e, n, r) {
|
|
15424
15419
|
var i, a, o = 0;
|
|
15425
|
-
t.level > 0 ? (t.strm.data_type === uB && (t.strm.data_type = AB(t)), p0(t, t.l_desc), p0(t, t.d_desc), o = xB(t), i = t.opt_len + 3 + 7 >>> 3, a = t.static_len + 3 + 7 >>> 3, a <= i && (i = a)) : i = a = n + 5, n + 4 <= i && e !== -1 ? EA(t, e, n, r) : t.strategy === sB || a === i ? (zt(t, (fA << 1) + (r ? 1 : 0), 3), W1(t, Sr,
|
|
15420
|
+
t.level > 0 ? (t.strm.data_type === uB && (t.strm.data_type = AB(t)), p0(t, t.l_desc), p0(t, t.d_desc), o = xB(t), i = t.opt_len + 3 + 7 >>> 3, a = t.static_len + 3 + 7 >>> 3, a <= i && (i = a)) : i = a = n + 5, n + 4 <= i && e !== -1 ? EA(t, e, n, r) : t.strategy === sB || a === i ? (zt(t, (fA << 1) + (r ? 1 : 0), 3), W1(t, Sr, vs)) : (zt(t, (lB << 1) + (r ? 1 : 0), 3), vB(t, t.l_desc.max_code + 1, t.d_desc.max_code + 1, o + 1), W1(t, t.dyn_ltree, t.dyn_dtree)), vA(t), r && AA(t);
|
|
15426
15421
|
}
|
|
15427
15422
|
function CB(t, e, n) {
|
|
15428
|
-
return t.pending_buf[t.d_buf + t.last_lit * 2] = e >>> 8 & 255, t.pending_buf[t.d_buf + t.last_lit * 2 + 1] = e & 255, t.pending_buf[t.l_buf + t.last_lit] = n & 255, t.last_lit++, e === 0 ? t.dyn_ltree[n * 2]++ : (t.matches++, e--, t.dyn_ltree[(
|
|
15423
|
+
return t.pending_buf[t.d_buf + t.last_lit * 2] = e >>> 8 & 255, t.pending_buf[t.d_buf + t.last_lit * 2 + 1] = e & 255, t.pending_buf[t.l_buf + t.last_lit] = n & 255, t.last_lit++, e === 0 ? t.dyn_ltree[n * 2]++ : (t.matches++, e--, t.dyn_ltree[(tu[n] + Wu + 1) * 2]++, t.dyn_dtree[yA(e) * 2]++), t.last_lit === t.lit_bufsize - 1;
|
|
15429
15424
|
}
|
|
15430
|
-
|
|
15431
|
-
|
|
15432
|
-
|
|
15433
|
-
|
|
15434
|
-
|
|
15425
|
+
Uo._tr_init = EB;
|
|
15426
|
+
Uo._tr_stored_block = EA;
|
|
15427
|
+
Uo._tr_flush_block = _B;
|
|
15428
|
+
Uo._tr_tally = CB;
|
|
15429
|
+
Uo._tr_align = SB;
|
|
15435
15430
|
function DB(t, e, n, r) {
|
|
15436
15431
|
for (var i = t & 65535 | 0, a = t >>> 16 & 65535 | 0, o = 0; n !== 0; ) {
|
|
15437
15432
|
o = n > 2e3 ? 2e3 : n, n -= o;
|
|
@@ -15479,7 +15474,7 @@ var _A = TB, cp = {
|
|
|
15479
15474
|
/* Z_BUF_ERROR (-5) */
|
|
15480
15475
|
"-6": "incompatible version"
|
|
15481
15476
|
/* Z_VERSION_ERROR (-6) */
|
|
15482
|
-
}, Ct = Or, bn =
|
|
15477
|
+
}, Ct = Or, bn = Uo, CA = SA, Yr = _A, NB = cp, Ea = 0, FB = 1, kB = 3, ai = 4, J1 = 5, nr = 0, eb = 1, yn = -2, BB = -3, Ch = -5, LB = -1, RB = 1, Ef = 2, OB = 3, zB = 4, PB = 0, UB = 2, Bc = 8, jB = 9, GB = 15, HB = 8, QB = 29, VB = 256, m0 = VB + 1 + QB, qB = 30, ZB = 19, YB = 2 * m0 + 1, WB = 15, ge = 3, ni = 258, kn = ni + ge + 1, XB = 32, Lc = 42, b0 = 69, Gf = 73, Hf = 91, Qf = 103, ji = 113, ls = 666, rt = 1, Xu = 2, fa = 3, Go = 4, $B = 3;
|
|
15483
15478
|
function ri(t, e) {
|
|
15484
15479
|
return t.msg = NB[e], e;
|
|
15485
15480
|
}
|
|
@@ -15500,7 +15495,7 @@ function mt(t, e) {
|
|
|
15500
15495
|
function we(t, e) {
|
|
15501
15496
|
t.pending_buf[t.pending++] = e;
|
|
15502
15497
|
}
|
|
15503
|
-
function
|
|
15498
|
+
function is(t, e) {
|
|
15504
15499
|
t.pending_buf[t.pending++] = e >>> 8 & 255, t.pending_buf[t.pending++] = e & 255;
|
|
15505
15500
|
}
|
|
15506
15501
|
function KB(t, e, n, r) {
|
|
@@ -15560,7 +15555,7 @@ function JB(t, e) {
|
|
|
15560
15555
|
if ((t.strstart === 0 || t.strstart >= r) && (t.lookahead = t.strstart - r, t.strstart = r, mt(t, !1), t.strm.avail_out === 0) || t.strstart - t.block_start >= t.w_size - kn && (mt(t, !1), t.strm.avail_out === 0))
|
|
15561
15556
|
return rt;
|
|
15562
15557
|
}
|
|
15563
|
-
return t.insert = 0, e === ai ? (mt(t, !0), t.strm.avail_out === 0 ? fa :
|
|
15558
|
+
return t.insert = 0, e === ai ? (mt(t, !0), t.strm.avail_out === 0 ? fa : Go) : (t.strstart > t.block_start && (mt(t, !1), t.strm.avail_out === 0), rt);
|
|
15564
15559
|
}
|
|
15565
15560
|
function Dh(t, e) {
|
|
15566
15561
|
for (var n, r; ; ) {
|
|
@@ -15584,7 +15579,7 @@ function Dh(t, e) {
|
|
|
15584
15579
|
if (r && (mt(t, !1), t.strm.avail_out === 0))
|
|
15585
15580
|
return rt;
|
|
15586
15581
|
}
|
|
15587
|
-
return t.insert = t.strstart < ge - 1 ? t.strstart : ge - 1, e === ai ? (mt(t, !0), t.strm.avail_out === 0 ? fa :
|
|
15582
|
+
return t.insert = t.strstart < ge - 1 ? t.strstart : ge - 1, e === ai ? (mt(t, !0), t.strm.avail_out === 0 ? fa : Go) : t.last_lit && (mt(t, !1), t.strm.avail_out === 0) ? rt : Xu;
|
|
15588
15583
|
}
|
|
15589
15584
|
function Ra(t, e) {
|
|
15590
15585
|
for (var n, r, i; ; ) {
|
|
@@ -15607,7 +15602,7 @@ function Ra(t, e) {
|
|
|
15607
15602
|
} else
|
|
15608
15603
|
t.match_available = 1, t.strstart++, t.lookahead--;
|
|
15609
15604
|
}
|
|
15610
|
-
return t.match_available && (r = bn._tr_tally(t, 0, t.window[t.strstart - 1]), t.match_available = 0), t.insert = t.strstart < ge - 1 ? t.strstart : ge - 1, e === ai ? (mt(t, !0), t.strm.avail_out === 0 ? fa :
|
|
15605
|
+
return t.match_available && (r = bn._tr_tally(t, 0, t.window[t.strstart - 1]), t.match_available = 0), t.insert = t.strstart < ge - 1 ? t.strstart : ge - 1, e === ai ? (mt(t, !0), t.strm.avail_out === 0 ? fa : Go) : t.last_lit && (mt(t, !1), t.strm.avail_out === 0) ? rt : Xu;
|
|
15611
15606
|
}
|
|
15612
15607
|
function eL(t, e) {
|
|
15613
15608
|
for (var n, r, i, a, o = t.window; ; ) {
|
|
@@ -15627,7 +15622,7 @@ function eL(t, e) {
|
|
|
15627
15622
|
if (t.match_length >= ge ? (n = bn._tr_tally(t, 1, t.match_length - ge), t.lookahead -= t.match_length, t.strstart += t.match_length, t.match_length = 0) : (n = bn._tr_tally(t, 0, t.window[t.strstart]), t.lookahead--, t.strstart++), n && (mt(t, !1), t.strm.avail_out === 0))
|
|
15628
15623
|
return rt;
|
|
15629
15624
|
}
|
|
15630
|
-
return t.insert = 0, e === ai ? (mt(t, !0), t.strm.avail_out === 0 ? fa :
|
|
15625
|
+
return t.insert = 0, e === ai ? (mt(t, !0), t.strm.avail_out === 0 ? fa : Go) : t.last_lit && (mt(t, !1), t.strm.avail_out === 0) ? rt : Xu;
|
|
15631
15626
|
}
|
|
15632
15627
|
function tL(t, e) {
|
|
15633
15628
|
for (var n; ; ) {
|
|
@@ -15639,7 +15634,7 @@ function tL(t, e) {
|
|
|
15639
15634
|
if (t.match_length = 0, n = bn._tr_tally(t, 0, t.window[t.strstart]), t.lookahead--, t.strstart++, n && (mt(t, !1), t.strm.avail_out === 0))
|
|
15640
15635
|
return rt;
|
|
15641
15636
|
}
|
|
15642
|
-
return t.insert = 0, e === ai ? (mt(t, !0), t.strm.avail_out === 0 ? fa :
|
|
15637
|
+
return t.insert = 0, e === ai ? (mt(t, !0), t.strm.avail_out === 0 ? fa : Go) : t.last_lit && (mt(t, !1), t.strm.avail_out === 0) ? rt : Xu;
|
|
15643
15638
|
}
|
|
15644
15639
|
function Wn(t, e, n, r, i) {
|
|
15645
15640
|
this.good_length = t, this.max_lazy = e, this.nice_length = n, this.max_chain = r, this.func = i;
|
|
@@ -15676,14 +15671,14 @@ function rL() {
|
|
|
15676
15671
|
}
|
|
15677
15672
|
function IA(t) {
|
|
15678
15673
|
var e;
|
|
15679
|
-
return !t || !t.state ? ri(t, yn) : (t.total_in = t.total_out = 0, t.data_type = UB, e = t.state, e.pending = 0, e.pending_out = 0, e.wrap < 0 && (e.wrap = -e.wrap), e.status = e.wrap ? Lc : ji, t.adler = e.wrap === 2 ? 0 : 1, e.last_flush = Ea, bn._tr_init(e),
|
|
15674
|
+
return !t || !t.state ? ri(t, yn) : (t.total_in = t.total_out = 0, t.data_type = UB, e = t.state, e.pending = 0, e.pending_out = 0, e.wrap < 0 && (e.wrap = -e.wrap), e.status = e.wrap ? Lc : ji, t.adler = e.wrap === 2 ? 0 : 1, e.last_flush = Ea, bn._tr_init(e), nr);
|
|
15680
15675
|
}
|
|
15681
15676
|
function MA(t) {
|
|
15682
15677
|
var e = IA(t);
|
|
15683
|
-
return e ===
|
|
15678
|
+
return e === nr && nL(t.state), e;
|
|
15684
15679
|
}
|
|
15685
15680
|
function iL(t, e) {
|
|
15686
|
-
return !t || !t.state || t.state.wrap !== 2 ? yn : (t.state.gzhead = e,
|
|
15681
|
+
return !t || !t.state || t.state.wrap !== 2 ? yn : (t.state.gzhead = e, nr);
|
|
15687
15682
|
}
|
|
15688
15683
|
function TA(t, e, n, r, i, a) {
|
|
15689
15684
|
if (!t)
|
|
@@ -15702,7 +15697,7 @@ function oL(t, e) {
|
|
|
15702
15697
|
var n, r, i, a;
|
|
15703
15698
|
if (!t || !t.state || e > J1 || e < 0)
|
|
15704
15699
|
return t ? ri(t, yn) : yn;
|
|
15705
|
-
if (r = t.state, !t.output || !t.input && t.avail_in !== 0 || r.status ===
|
|
15700
|
+
if (r = t.state, !t.output || !t.input && t.avail_in !== 0 || r.status === ls && e !== ai)
|
|
15706
15701
|
return ri(t, t.avail_out === 0 ? Ch : yn);
|
|
15707
15702
|
if (r.strm = t, n = r.last_flush, r.last_flush = e, r.status === Lc)
|
|
15708
15703
|
if (r.wrap === 2)
|
|
@@ -15712,7 +15707,7 @@ function oL(t, e) {
|
|
|
15712
15707
|
), we(r, r.gzhead.time & 255), we(r, r.gzhead.time >> 8 & 255), we(r, r.gzhead.time >> 16 & 255), we(r, r.gzhead.time >> 24 & 255), we(r, r.level === 9 ? 2 : r.strategy >= Ef || r.level < 2 ? 4 : 0), we(r, r.gzhead.os & 255), r.gzhead.extra && r.gzhead.extra.length && (we(r, r.gzhead.extra.length & 255), we(r, r.gzhead.extra.length >> 8 & 255)), r.gzhead.hcrc && (t.adler = Yr(t.adler, r.pending_buf, r.pending, 0)), r.gzindex = 0, r.status = b0) : (we(r, 0), we(r, 0), we(r, 0), we(r, 0), we(r, 0), we(r, r.level === 9 ? 2 : r.strategy >= Ef || r.level < 2 ? 4 : 0), we(r, $B), r.status = ji);
|
|
15713
15708
|
else {
|
|
15714
15709
|
var o = Bc + (r.w_bits - 8 << 4) << 8, s = -1;
|
|
15715
|
-
r.strategy >= Ef || r.level < 2 ? s = 0 : r.level < 6 ? s = 1 : r.level === 6 ? s = 2 : s = 3, o |= s << 6, r.strstart !== 0 && (o |= XB), o += 31 - o % 31, r.status = ji,
|
|
15710
|
+
r.strategy >= Ef || r.level < 2 ? s = 0 : r.level < 6 ? s = 1 : r.level === 6 ? s = 2 : s = 3, o |= s << 6, r.strstart !== 0 && (o |= XB), o += 31 - o % 31, r.status = ji, is(r, o), r.strstart !== 0 && (is(r, t.adler >>> 16), is(r, t.adler & 65535)), t.adler = 1;
|
|
15716
15711
|
}
|
|
15717
15712
|
if (r.status === b0)
|
|
15718
15713
|
if (r.gzhead.extra) {
|
|
@@ -15749,23 +15744,23 @@ function oL(t, e) {
|
|
|
15749
15744
|
r.status = Qf;
|
|
15750
15745
|
if (r.status === Qf && (r.gzhead.hcrc ? (r.pending + 2 > r.pending_buf_size && Wr(t), r.pending + 2 <= r.pending_buf_size && (we(r, t.adler & 255), we(r, t.adler >> 8 & 255), t.adler = 0, r.status = ji)) : r.status = ji), r.pending !== 0) {
|
|
15751
15746
|
if (Wr(t), t.avail_out === 0)
|
|
15752
|
-
return r.last_flush = -1,
|
|
15747
|
+
return r.last_flush = -1, nr;
|
|
15753
15748
|
} else if (t.avail_in === 0 && tb(e) <= tb(n) && e !== ai)
|
|
15754
15749
|
return ri(t, Ch);
|
|
15755
|
-
if (r.status ===
|
|
15750
|
+
if (r.status === ls && t.avail_in !== 0)
|
|
15756
15751
|
return ri(t, Ch);
|
|
15757
|
-
if (t.avail_in !== 0 || r.lookahead !== 0 || e !== Ea && r.status !==
|
|
15752
|
+
if (t.avail_in !== 0 || r.lookahead !== 0 || e !== Ea && r.status !== ls) {
|
|
15758
15753
|
var f = r.strategy === Ef ? tL(r, e) : r.strategy === OB ? eL(r, e) : Ga[r.level].func(r, e);
|
|
15759
|
-
if ((f === fa || f ===
|
|
15760
|
-
return t.avail_out === 0 && (r.last_flush = -1),
|
|
15754
|
+
if ((f === fa || f === Go) && (r.status = ls), f === rt || f === fa)
|
|
15755
|
+
return t.avail_out === 0 && (r.last_flush = -1), nr;
|
|
15761
15756
|
if (f === Xu && (e === FB ? bn._tr_align(r) : e !== J1 && (bn._tr_stored_block(r, 0, 0, !1), e === kB && (Kr(r.head), r.lookahead === 0 && (r.strstart = 0, r.block_start = 0, r.insert = 0))), Wr(t), t.avail_out === 0))
|
|
15762
|
-
return r.last_flush = -1,
|
|
15757
|
+
return r.last_flush = -1, nr;
|
|
15763
15758
|
}
|
|
15764
|
-
return e !== ai ?
|
|
15759
|
+
return e !== ai ? nr : r.wrap <= 0 ? eb : (r.wrap === 2 ? (we(r, t.adler & 255), we(r, t.adler >> 8 & 255), we(r, t.adler >> 16 & 255), we(r, t.adler >> 24 & 255), we(r, t.total_in & 255), we(r, t.total_in >> 8 & 255), we(r, t.total_in >> 16 & 255), we(r, t.total_in >> 24 & 255)) : (is(r, t.adler >>> 16), is(r, t.adler & 65535)), Wr(t), r.wrap > 0 && (r.wrap = -r.wrap), r.pending !== 0 ? nr : eb);
|
|
15765
15760
|
}
|
|
15766
15761
|
function sL(t) {
|
|
15767
15762
|
var e;
|
|
15768
|
-
return !t || !t.state ? yn : (e = t.state.status, e !== Lc && e !== b0 && e !== Gf && e !== Hf && e !== Qf && e !== ji && e !==
|
|
15763
|
+
return !t || !t.state ? yn : (e = t.state.status, e !== Lc && e !== b0 && e !== Gf && e !== Hf && e !== Qf && e !== ji && e !== ls ? ri(t, yn) : (t.state = null, e === ji ? ri(t, BB) : nr));
|
|
15769
15764
|
}
|
|
15770
15765
|
function uL(t, e) {
|
|
15771
15766
|
var n = e.length, r, i, a, o, s, f, u, l;
|
|
@@ -15778,17 +15773,17 @@ function uL(t, e) {
|
|
|
15778
15773
|
while (--a);
|
|
15779
15774
|
r.strstart = i, r.lookahead = ge - 1, la(r);
|
|
15780
15775
|
}
|
|
15781
|
-
return r.strstart += r.lookahead, r.block_start = r.strstart, r.insert = r.lookahead, r.lookahead = 0, r.match_length = r.prev_length = ge - 1, r.match_available = 0, t.next_in = f, t.input = u, t.avail_in = s, r.wrap = o,
|
|
15782
|
-
}
|
|
15783
|
-
|
|
15784
|
-
|
|
15785
|
-
|
|
15786
|
-
|
|
15787
|
-
|
|
15788
|
-
|
|
15789
|
-
|
|
15790
|
-
|
|
15791
|
-
|
|
15776
|
+
return r.strstart += r.lookahead, r.block_start = r.strstart, r.insert = r.lookahead, r.lookahead = 0, r.match_length = r.prev_length = ge - 1, r.match_available = 0, t.next_in = f, t.input = u, t.avail_in = s, r.wrap = o, nr;
|
|
15777
|
+
}
|
|
15778
|
+
gr.deflateInit = aL;
|
|
15779
|
+
gr.deflateInit2 = TA;
|
|
15780
|
+
gr.deflateReset = MA;
|
|
15781
|
+
gr.deflateResetKeep = IA;
|
|
15782
|
+
gr.deflateSetHeader = iL;
|
|
15783
|
+
gr.deflate = oL;
|
|
15784
|
+
gr.deflateEnd = sL;
|
|
15785
|
+
gr.deflateSetDictionary = uL;
|
|
15786
|
+
gr.deflateInfo = "pako deflate (from Nodeca project)";
|
|
15792
15787
|
var Sa = {}, Rc = Or, NA = !0, FA = !0;
|
|
15793
15788
|
try {
|
|
15794
15789
|
String.fromCharCode.apply(null, [0]);
|
|
@@ -15800,10 +15795,10 @@ try {
|
|
|
15800
15795
|
} catch {
|
|
15801
15796
|
FA = !1;
|
|
15802
15797
|
}
|
|
15803
|
-
var
|
|
15798
|
+
var ru = new Rc.Buf8(256);
|
|
15804
15799
|
for (var qr = 0; qr < 256; qr++)
|
|
15805
|
-
|
|
15806
|
-
|
|
15800
|
+
ru[qr] = qr >= 252 ? 6 : qr >= 248 ? 5 : qr >= 240 ? 4 : qr >= 224 ? 3 : qr >= 192 ? 2 : 1;
|
|
15801
|
+
ru[254] = ru[254] = 1;
|
|
15807
15802
|
Sa.string2buf = function(t) {
|
|
15808
15803
|
var e, n, r, i, a, o = t.length, s = 0;
|
|
15809
15804
|
for (i = 0; i < o; i++)
|
|
@@ -15834,7 +15829,7 @@ Sa.buf2string = function(t, e) {
|
|
|
15834
15829
|
s[r++] = i;
|
|
15835
15830
|
continue;
|
|
15836
15831
|
}
|
|
15837
|
-
if (a =
|
|
15832
|
+
if (a = ru[i], a > 4) {
|
|
15838
15833
|
s[r++] = 65533, n += a - 1;
|
|
15839
15834
|
continue;
|
|
15840
15835
|
}
|
|
@@ -15852,16 +15847,16 @@ Sa.utf8border = function(t, e) {
|
|
|
15852
15847
|
var n;
|
|
15853
15848
|
for (e = e || t.length, e > t.length && (e = t.length), n = e - 1; n >= 0 && (t[n] & 192) === 128; )
|
|
15854
15849
|
n--;
|
|
15855
|
-
return n < 0 || n === 0 ? e : n +
|
|
15850
|
+
return n < 0 || n === 0 ? e : n + ru[t[n]] > e ? n : e;
|
|
15856
15851
|
};
|
|
15857
15852
|
function fL() {
|
|
15858
15853
|
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;
|
|
15859
15854
|
}
|
|
15860
|
-
var BA = fL,
|
|
15855
|
+
var BA = fL, As = gr, Es = Or, y0 = Sa, w0 = cp, lL = BA, LA = Object.prototype.toString, cL = 0, Ih = 4, Xa = 0, nb = 1, rb = 2, hL = -1, dL = 0, gL = 8;
|
|
15861
15856
|
function ca(t) {
|
|
15862
15857
|
if (!(this instanceof ca))
|
|
15863
15858
|
return new ca(t);
|
|
15864
|
-
this.options =
|
|
15859
|
+
this.options = Es.assign({
|
|
15865
15860
|
level: hL,
|
|
15866
15861
|
method: gL,
|
|
15867
15862
|
chunkSize: 16384,
|
|
@@ -15872,7 +15867,7 @@ function ca(t) {
|
|
|
15872
15867
|
}, t || {});
|
|
15873
15868
|
var e = this.options;
|
|
15874
15869
|
e.raw && e.windowBits > 0 ? e.windowBits = -e.windowBits : e.gzip && e.windowBits > 0 && e.windowBits < 16 && (e.windowBits += 16), this.err = 0, this.msg = "", this.ended = !1, this.chunks = [], this.strm = new lL(), this.strm.avail_out = 0;
|
|
15875
|
-
var n =
|
|
15870
|
+
var n = As.deflateInit2(
|
|
15876
15871
|
this.strm,
|
|
15877
15872
|
e.level,
|
|
15878
15873
|
e.method,
|
|
@@ -15882,9 +15877,9 @@ function ca(t) {
|
|
|
15882
15877
|
);
|
|
15883
15878
|
if (n !== Xa)
|
|
15884
15879
|
throw new Error(w0[n]);
|
|
15885
|
-
if (e.header &&
|
|
15880
|
+
if (e.header && As.deflateSetHeader(this.strm, e.header), e.dictionary) {
|
|
15886
15881
|
var r;
|
|
15887
|
-
if (typeof e.dictionary == "string" ? r = y0.string2buf(e.dictionary) : LA.call(e.dictionary) === "[object ArrayBuffer]" ? r = new Uint8Array(e.dictionary) : r = e.dictionary, n =
|
|
15882
|
+
if (typeof e.dictionary == "string" ? r = y0.string2buf(e.dictionary) : LA.call(e.dictionary) === "[object ArrayBuffer]" ? r = new Uint8Array(e.dictionary) : r = e.dictionary, n = As.deflateSetDictionary(this.strm, r), n !== Xa)
|
|
15888
15883
|
throw new Error(w0[n]);
|
|
15889
15884
|
this._dict_set = !0;
|
|
15890
15885
|
}
|
|
@@ -15895,17 +15890,17 @@ ca.prototype.push = function(t, e) {
|
|
|
15895
15890
|
return !1;
|
|
15896
15891
|
a = e === ~~e ? e : e === !0 ? Ih : cL, typeof t == "string" ? n.input = y0.string2buf(t) : LA.call(t) === "[object ArrayBuffer]" ? n.input = new Uint8Array(t) : n.input = t, n.next_in = 0, n.avail_in = n.input.length;
|
|
15897
15892
|
do {
|
|
15898
|
-
if (n.avail_out === 0 && (n.output = new
|
|
15893
|
+
if (n.avail_out === 0 && (n.output = new Es.Buf8(r), n.next_out = 0, n.avail_out = r), i = As.deflate(n, a), i !== nb && i !== Xa)
|
|
15899
15894
|
return this.onEnd(i), this.ended = !0, !1;
|
|
15900
|
-
(n.avail_out === 0 || n.avail_in === 0 && (a === Ih || a === rb)) && (this.options.to === "string" ? this.onData(y0.buf2binstring(
|
|
15895
|
+
(n.avail_out === 0 || n.avail_in === 0 && (a === Ih || a === rb)) && (this.options.to === "string" ? this.onData(y0.buf2binstring(Es.shrinkBuf(n.output, n.next_out))) : this.onData(Es.shrinkBuf(n.output, n.next_out)));
|
|
15901
15896
|
} while ((n.avail_in > 0 || n.avail_out === 0) && i !== nb);
|
|
15902
|
-
return a === Ih ? (i =
|
|
15897
|
+
return a === Ih ? (i = As.deflateEnd(this.strm), this.onEnd(i), this.ended = !0, i === Xa) : (a === rb && (this.onEnd(Xa), n.avail_out = 0), !0);
|
|
15903
15898
|
};
|
|
15904
15899
|
ca.prototype.onData = function(t) {
|
|
15905
15900
|
this.chunks.push(t);
|
|
15906
15901
|
};
|
|
15907
15902
|
ca.prototype.onEnd = function(t) {
|
|
15908
|
-
t === Xa && (this.options.to === "string" ? this.result = this.chunks.join("") : this.result =
|
|
15903
|
+
t === Xa && (this.options.to === "string" ? this.result = this.chunks.join("") : this.result = Es.flattenChunks(this.chunks)), this.chunks = [], this.err = t, this.msg = this.strm.msg;
|
|
15909
15904
|
};
|
|
15910
15905
|
function hp(t, e) {
|
|
15911
15906
|
var n = new ca(e);
|
|
@@ -16189,7 +16184,7 @@ var $u = {}, Pn = {}, Sf = 30, bL = 12, yL = function(e, n) {
|
|
|
16189
16184
|
}
|
|
16190
16185
|
}
|
|
16191
16186
|
return _ !== 0 && (a[R + _] = l - y << 24 | 64 << 16 | 0), f.bits = g, 0;
|
|
16192
|
-
}, Kt = Or, x0 = SA, Xn = _A, SL = yL,
|
|
16187
|
+
}, Kt = Or, x0 = SA, Xn = _A, SL = yL, Ss = EL, _L = 0, RA = 1, OA = 2, fb = 4, CL = 5, _f = 6, ha = 0, DL = 1, IL = 2, wn = -2, zA = -3, PA = -4, ML = -5, lb = 8, UA = 1, cb = 2, hb = 3, db = 4, gb = 5, pb = 6, mb = 7, bb = 8, yb = 9, wb = 10, Sl = 11, wr = 12, Th = 13, xb = 14, Nh = 15, vb = 16, Ab = 17, Eb = 18, Sb = 19, Cf = 20, Df = 21, _b = 22, Cb = 23, Db = 24, Ib = 25, Mb = 26, Fh = 27, Tb = 28, Nb = 29, Ve = 30, jA = 31, TL = 32, NL = 852, FL = 592, kL = 15, BL = kL;
|
|
16193
16188
|
function Fb(t) {
|
|
16194
16189
|
return (t >>> 24 & 255) + (t >>> 8 & 65280) + ((t & 65280) << 8) + ((t & 255) << 24);
|
|
16195
16190
|
}
|
|
@@ -16227,9 +16222,9 @@ function OL(t) {
|
|
|
16227
16222
|
t.lens[e++] = 7;
|
|
16228
16223
|
for (; e < 288; )
|
|
16229
16224
|
t.lens[e++] = 8;
|
|
16230
|
-
for (
|
|
16225
|
+
for (Ss(RA, t.lens, 0, 288, kh, 0, t.work, { bits: 9 }), e = 0; e < 32; )
|
|
16231
16226
|
t.lens[e++] = 5;
|
|
16232
|
-
|
|
16227
|
+
Ss(OA, t.lens, 0, 32, Bh, 0, t.work, { bits: 5 }), kb = !1;
|
|
16233
16228
|
}
|
|
16234
16229
|
t.lencode = kh, t.lenbits = 9, t.distcode = Bh, t.distbits = 5;
|
|
16235
16230
|
}
|
|
@@ -16244,7 +16239,7 @@ function zL(t, e) {
|
|
|
16244
16239
|
);
|
|
16245
16240
|
if (!t || !t.state || !t.output || !t.input && t.avail_in !== 0)
|
|
16246
16241
|
return wn;
|
|
16247
|
-
n = t.state, n.mode ===
|
|
16242
|
+
n = t.state, n.mode === wr && (n.mode = Th), o = t.next_out, i = t.output, f = t.avail_out, a = t.next_in, r = t.input, s = t.avail_in, u = n.hold, l = n.bits, c = s, h = f, R = ha;
|
|
16248
16243
|
e:
|
|
16249
16244
|
for (; ; )
|
|
16250
16245
|
switch (n.mode) {
|
|
@@ -16277,7 +16272,7 @@ function zL(t, e) {
|
|
|
16277
16272
|
t.msg = "invalid window size", n.mode = Ve;
|
|
16278
16273
|
break;
|
|
16279
16274
|
}
|
|
16280
|
-
n.dmax = 1 << M, t.adler = n.check = 1, n.mode = u & 512 ? wb :
|
|
16275
|
+
n.dmax = 1 << M, t.adler = n.check = 1, n.mode = u & 512 ? wb : wr, u = 0, l = 0;
|
|
16281
16276
|
break;
|
|
16282
16277
|
case cb:
|
|
16283
16278
|
for (; l < 16; ) {
|
|
@@ -16371,7 +16366,7 @@ function zL(t, e) {
|
|
|
16371
16366
|
}
|
|
16372
16367
|
u = 0, l = 0;
|
|
16373
16368
|
}
|
|
16374
|
-
n.head && (n.head.hcrc = n.flags >> 9 & 1, n.head.done = !0), t.adler = n.check = 0, n.mode =
|
|
16369
|
+
n.head && (n.head.hcrc = n.flags >> 9 & 1, n.head.done = !0), t.adler = n.check = 0, n.mode = wr;
|
|
16375
16370
|
break;
|
|
16376
16371
|
case wb:
|
|
16377
16372
|
for (; l < 32; ) {
|
|
@@ -16383,8 +16378,8 @@ function zL(t, e) {
|
|
|
16383
16378
|
case Sl:
|
|
16384
16379
|
if (n.havedict === 0)
|
|
16385
16380
|
return t.next_out = o, t.avail_out = f, t.next_in = a, t.avail_in = s, n.hold = u, n.bits = l, IL;
|
|
16386
|
-
t.adler = n.check = 1, n.mode =
|
|
16387
|
-
case
|
|
16381
|
+
t.adler = n.check = 1, n.mode = wr;
|
|
16382
|
+
case wr:
|
|
16388
16383
|
if (e === CL || e === _f)
|
|
16389
16384
|
break e;
|
|
16390
16385
|
case Th:
|
|
@@ -16436,7 +16431,7 @@ function zL(t, e) {
|
|
|
16436
16431
|
Kt.arraySet(i, r, a, d, o), s -= d, a += d, f -= d, o += d, n.length -= d;
|
|
16437
16432
|
break;
|
|
16438
16433
|
}
|
|
16439
|
-
n.mode =
|
|
16434
|
+
n.mode = wr;
|
|
16440
16435
|
break;
|
|
16441
16436
|
case Ab:
|
|
16442
16437
|
for (; l < 14; ) {
|
|
@@ -16460,7 +16455,7 @@ function zL(t, e) {
|
|
|
16460
16455
|
}
|
|
16461
16456
|
for (; n.have < 19; )
|
|
16462
16457
|
n.lens[ee[n.have++]] = 0;
|
|
16463
|
-
if (n.lencode = n.lendyn, n.lenbits = 7, B = { bits: n.lenbits }, R =
|
|
16458
|
+
if (n.lencode = n.lendyn, n.lenbits = 7, B = { bits: n.lenbits }, R = Ss(_L, n.lens, 0, 19, n.lencode, 0, n.work, B), n.lenbits = B.bits, R) {
|
|
16464
16459
|
t.msg = "invalid code lengths set", n.mode = Ve;
|
|
16465
16460
|
break;
|
|
16466
16461
|
}
|
|
@@ -16515,11 +16510,11 @@ function zL(t, e) {
|
|
|
16515
16510
|
t.msg = "invalid code -- missing end-of-block", n.mode = Ve;
|
|
16516
16511
|
break;
|
|
16517
16512
|
}
|
|
16518
|
-
if (n.lenbits = 9, B = { bits: n.lenbits }, R =
|
|
16513
|
+
if (n.lenbits = 9, B = { bits: n.lenbits }, R = Ss(RA, n.lens, 0, n.nlen, n.lencode, 0, n.work, B), n.lenbits = B.bits, R) {
|
|
16519
16514
|
t.msg = "invalid literal/lengths set", n.mode = Ve;
|
|
16520
16515
|
break;
|
|
16521
16516
|
}
|
|
16522
|
-
if (n.distbits = 6, n.distcode = n.distdyn, B = { bits: n.distbits }, R =
|
|
16517
|
+
if (n.distbits = 6, n.distcode = n.distdyn, B = { bits: n.distbits }, R = Ss(OA, n.lens, n.nlen, n.ndist, n.distcode, 0, n.work, B), n.distbits = B.bits, R) {
|
|
16523
16518
|
t.msg = "invalid distances set", n.mode = Ve;
|
|
16524
16519
|
break;
|
|
16525
16520
|
}
|
|
@@ -16529,7 +16524,7 @@ function zL(t, e) {
|
|
|
16529
16524
|
n.mode = Df;
|
|
16530
16525
|
case Df:
|
|
16531
16526
|
if (s >= 6 && f >= 258) {
|
|
16532
|
-
t.next_out = o, t.avail_out = f, t.next_in = a, t.avail_in = s, n.hold = u, n.bits = l, SL(t, h), o = t.next_out, i = t.output, f = t.avail_out, a = t.next_in, r = t.input, s = t.avail_in, u = n.hold, l = n.bits, n.mode ===
|
|
16527
|
+
t.next_out = o, t.avail_out = f, t.next_in = a, t.avail_in = s, n.hold = u, n.bits = l, SL(t, h), o = t.next_out, i = t.output, f = t.avail_out, a = t.next_in, r = t.input, s = t.avail_in, u = n.hold, l = n.bits, n.mode === wr && (n.back = -1);
|
|
16533
16528
|
break;
|
|
16534
16529
|
}
|
|
16535
16530
|
for (n.back = 0; y = n.lencode[u & (1 << n.lenbits) - 1], w = y >>> 24, E = y >>> 16 & 255, _ = y & 65535, !(w <= l); ) {
|
|
@@ -16550,7 +16545,7 @@ function zL(t, e) {
|
|
|
16550
16545
|
break;
|
|
16551
16546
|
}
|
|
16552
16547
|
if (E & 32) {
|
|
16553
|
-
n.back = -1, n.mode =
|
|
16548
|
+
n.back = -1, n.mode = wr;
|
|
16554
16549
|
break;
|
|
16555
16550
|
}
|
|
16556
16551
|
if (E & 64) {
|
|
@@ -16665,7 +16660,7 @@ function zL(t, e) {
|
|
|
16665
16660
|
return wn;
|
|
16666
16661
|
}
|
|
16667
16662
|
return t.next_out = o, t.avail_out = f, t.next_in = a, t.avail_in = s, n.hold = u, n.bits = l, (n.wsize || h !== t.avail_out && n.mode < Ve && (n.mode < Fh || e !== fb)) && qA(t, t.output, t.next_out, h - t.avail_out), c -= t.avail_in, h -= t.avail_out, t.total_in += c, t.total_out += h, n.total += h, n.wrap && h && (t.adler = n.check = /*UPDATE(state.check, strm.next_out - _out, _out);*/
|
|
16668
|
-
n.flags ? Xn(n.check, i, h, t.next_out - h) : x0(n.check, i, h, t.next_out - h)), t.data_type = n.bits + (n.last ? 64 : 0) + (n.mode ===
|
|
16663
|
+
n.flags ? Xn(n.check, i, h, t.next_out - h) : x0(n.check, i, h, t.next_out - h)), t.data_type = n.bits + (n.last ? 64 : 0) + (n.mode === wr ? 128 : 0) + (n.mode === Cf || n.mode === Nh ? 256 : 0), (c === 0 && h === 0 || e === fb) && R === ha && (R = ML), R;
|
|
16669
16664
|
}
|
|
16670
16665
|
function PL(t) {
|
|
16671
16666
|
if (!t || !t.state)
|
|
@@ -16734,11 +16729,11 @@ var ZA = {
|
|
|
16734
16729
|
function GL() {
|
|
16735
16730
|
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;
|
|
16736
16731
|
}
|
|
16737
|
-
var HL = GL, $a = Pn,
|
|
16732
|
+
var HL = GL, $a = Pn, _s = Or, Vf = Sa, Ke = ZA, v0 = cp, QL = BA, VL = HL, YA = Object.prototype.toString;
|
|
16738
16733
|
function da(t) {
|
|
16739
16734
|
if (!(this instanceof da))
|
|
16740
16735
|
return new da(t);
|
|
16741
|
-
this.options =
|
|
16736
|
+
this.options = _s.assign({
|
|
16742
16737
|
chunkSize: 16384,
|
|
16743
16738
|
windowBits: 0,
|
|
16744
16739
|
to: ""
|
|
@@ -16760,9 +16755,9 @@ da.prototype.push = function(t, e) {
|
|
|
16760
16755
|
return !1;
|
|
16761
16756
|
o = e === ~~e ? e : e === !0 ? Ke.Z_FINISH : Ke.Z_NO_FLUSH, typeof t == "string" ? n.input = Vf.binstring2buf(t) : YA.call(t) === "[object ArrayBuffer]" ? n.input = new Uint8Array(t) : n.input = t, n.next_in = 0, n.avail_in = n.input.length;
|
|
16762
16757
|
do {
|
|
16763
|
-
if (n.avail_out === 0 && (n.output = new
|
|
16758
|
+
if (n.avail_out === 0 && (n.output = new _s.Buf8(r), n.next_out = 0, n.avail_out = r), a = $a.inflate(n, Ke.Z_NO_FLUSH), a === Ke.Z_NEED_DICT && i && (a = $a.inflateSetDictionary(this.strm, i)), a === Ke.Z_BUF_ERROR && l === !0 && (a = Ke.Z_OK, l = !1), a !== Ke.Z_STREAM_END && a !== Ke.Z_OK)
|
|
16764
16759
|
return this.onEnd(a), this.ended = !0, !1;
|
|
16765
|
-
n.next_out && (n.avail_out === 0 || a === Ke.Z_STREAM_END || n.avail_in === 0 && (o === Ke.Z_FINISH || o === Ke.Z_SYNC_FLUSH)) && (this.options.to === "string" ? (s = Vf.utf8border(n.output, n.next_out), f = n.next_out - s, u = Vf.buf2string(n.output, s), n.next_out = f, n.avail_out = r - f, f &&
|
|
16760
|
+
n.next_out && (n.avail_out === 0 || a === Ke.Z_STREAM_END || n.avail_in === 0 && (o === Ke.Z_FINISH || o === Ke.Z_SYNC_FLUSH)) && (this.options.to === "string" ? (s = Vf.utf8border(n.output, n.next_out), f = n.next_out - s, u = Vf.buf2string(n.output, s), n.next_out = f, n.avail_out = r - f, f && _s.arraySet(n.output, n.output, s, f, 0), this.onData(u)) : this.onData(_s.shrinkBuf(n.output, n.next_out))), n.avail_in === 0 && n.avail_out === 0 && (l = !0);
|
|
16766
16761
|
} while ((n.avail_in > 0 || n.avail_out === 0) && a !== Ke.Z_STREAM_END);
|
|
16767
16762
|
return a === Ke.Z_STREAM_END && (o = Ke.Z_FINISH), o === Ke.Z_FINISH ? (a = $a.inflateEnd(this.strm), this.onEnd(a), this.ended = !0, a === Ke.Z_OK) : (o === Ke.Z_SYNC_FLUSH && (this.onEnd(Ke.Z_OK), n.avail_out = 0), !0);
|
|
16768
16763
|
};
|
|
@@ -16770,7 +16765,7 @@ da.prototype.onData = function(t) {
|
|
|
16770
16765
|
this.chunks.push(t);
|
|
16771
16766
|
};
|
|
16772
16767
|
da.prototype.onEnd = function(t) {
|
|
16773
|
-
t === Ke.Z_OK && (this.options.to === "string" ? this.result = this.chunks.join("") : this.result =
|
|
16768
|
+
t === Ke.Z_OK && (this.options.to === "string" ? this.result = this.chunks.join("") : this.result = _s.flattenChunks(this.chunks)), this.chunks = [], this.err = t, this.msg = this.strm.msg;
|
|
16774
16769
|
};
|
|
16775
16770
|
function dp(t, e) {
|
|
16776
16771
|
var n = new da(e);
|
|
@@ -16788,7 +16783,7 @@ $u.ungzip = dp;
|
|
|
16788
16783
|
var ZL = Or.assign, YL = Yu, WL = $u, XL = ZA, WA = {};
|
|
16789
16784
|
ZL(WA, YL, WL, XL);
|
|
16790
16785
|
var _l = WA;
|
|
16791
|
-
async function
|
|
16786
|
+
async function Eo(t) {
|
|
16792
16787
|
try {
|
|
16793
16788
|
let e, n = 0, r = 0;
|
|
16794
16789
|
const i = [];
|
|
@@ -17181,7 +17176,7 @@ function ln(t, e) {
|
|
|
17181
17176
|
if (t + 1 >= zb)
|
|
17182
17177
|
return JA;
|
|
17183
17178
|
}
|
|
17184
|
-
return t < 0 ? ln(-t, e).neg() : ve(t %
|
|
17179
|
+
return t < 0 ? ln(-t, e).neg() : ve(t % So | 0, t / So | 0, e);
|
|
17185
17180
|
}
|
|
17186
17181
|
je.fromNumber = ln;
|
|
17187
17182
|
function ve(t, e, n) {
|
|
@@ -17216,7 +17211,7 @@ function Un(t, e) {
|
|
|
17216
17211
|
return typeof t == "number" ? ln(t, e) : typeof t == "string" ? gp(t, e) : ve(t.low, t.high, typeof e == "boolean" ? e : t.unsigned);
|
|
17217
17212
|
}
|
|
17218
17213
|
je.fromValue = Un;
|
|
17219
|
-
var Ob =
|
|
17214
|
+
var Ob = 65536, $L = 1 << 24, So = Ob * Ob, $A = So * So, zb = $A / 2, Pb = _a($L), Fn = _a(0);
|
|
17220
17215
|
je.ZERO = Fn;
|
|
17221
17216
|
var Br = _a(0, !0);
|
|
17222
17217
|
je.UZERO = Br;
|
|
@@ -17237,7 +17232,7 @@ Z.toInt = function() {
|
|
|
17237
17232
|
return this.unsigned ? this.low >>> 0 : this.low;
|
|
17238
17233
|
};
|
|
17239
17234
|
Z.toNumber = function() {
|
|
17240
|
-
return this.unsigned ? (this.high >>> 0) *
|
|
17235
|
+
return this.unsigned ? (this.high >>> 0) * So + (this.low >>> 0) : this.high * So + (this.low >>> 0);
|
|
17241
17236
|
};
|
|
17242
17237
|
Z.toString = function(e) {
|
|
17243
17238
|
if (e = e || 10, e < 2 || 36 < e)
|
|
@@ -17720,7 +17715,7 @@ class eR extends Ku(
|
|
|
17720
17715
|
};
|
|
17721
17716
|
if (super(n, r.channel), this.params = r, !this.params.url)
|
|
17722
17717
|
throw new Error("No URL provided for IndexedFastaSource");
|
|
17723
|
-
const i = (a) => new
|
|
17718
|
+
const i = (a) => new ir(Ju(a, this.view.getBaseUrl()));
|
|
17724
17719
|
this.fasta = new JL({
|
|
17725
17720
|
fasta: i(this.params.url),
|
|
17726
17721
|
fai: i(this.params.indexUrl ?? this.params.url + ".fai")
|
|
@@ -18547,10 +18542,10 @@ function oR(t, e) {
|
|
|
18547
18542
|
writable: !1
|
|
18548
18543
|
}), e && E0(t, e);
|
|
18549
18544
|
}
|
|
18550
|
-
function
|
|
18551
|
-
return
|
|
18545
|
+
function _o(t) {
|
|
18546
|
+
return _o = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(n) {
|
|
18552
18547
|
return n.__proto__ || Object.getPrototypeOf(n);
|
|
18553
|
-
},
|
|
18548
|
+
}, _o(t);
|
|
18554
18549
|
}
|
|
18555
18550
|
function E0(t, e) {
|
|
18556
18551
|
return E0 = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(r, i) {
|
|
@@ -18569,7 +18564,7 @@ function sR() {
|
|
|
18569
18564
|
return !1;
|
|
18570
18565
|
}
|
|
18571
18566
|
}
|
|
18572
|
-
function
|
|
18567
|
+
function cs(t) {
|
|
18573
18568
|
if (t === void 0)
|
|
18574
18569
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
18575
18570
|
return t;
|
|
@@ -18579,14 +18574,14 @@ function uR(t, e) {
|
|
|
18579
18574
|
return e;
|
|
18580
18575
|
if (e !== void 0)
|
|
18581
18576
|
throw new TypeError("Derived constructors may only return object or undefined");
|
|
18582
|
-
return
|
|
18577
|
+
return cs(t);
|
|
18583
18578
|
}
|
|
18584
18579
|
function fR(t) {
|
|
18585
18580
|
var e = sR();
|
|
18586
18581
|
return function() {
|
|
18587
|
-
var r =
|
|
18582
|
+
var r = _o(t), i;
|
|
18588
18583
|
if (e) {
|
|
18589
|
-
var a =
|
|
18584
|
+
var a = _o(this).constructor;
|
|
18590
18585
|
i = Reflect.construct(r, arguments, a);
|
|
18591
18586
|
} else
|
|
18592
18587
|
i = r.apply(this, arguments);
|
|
@@ -18594,7 +18589,7 @@ function fR(t) {
|
|
|
18594
18589
|
};
|
|
18595
18590
|
}
|
|
18596
18591
|
function lR(t, e) {
|
|
18597
|
-
for (; !Object.prototype.hasOwnProperty.call(t, e) && (t =
|
|
18592
|
+
for (; !Object.prototype.hasOwnProperty.call(t, e) && (t = _o(t), t !== null); )
|
|
18598
18593
|
;
|
|
18599
18594
|
return t;
|
|
18600
18595
|
}
|
|
@@ -18658,15 +18653,15 @@ var Gb = /* @__PURE__ */ function() {
|
|
|
18658
18653
|
var e = fR(n);
|
|
18659
18654
|
function n() {
|
|
18660
18655
|
var r;
|
|
18661
|
-
return mp(this, n), r = e.call(this), r.listeners || Gb.call(
|
|
18656
|
+
return mp(this, n), r = e.call(this), r.listeners || Gb.call(cs(r)), Object.defineProperty(cs(r), "aborted", {
|
|
18662
18657
|
value: !1,
|
|
18663
18658
|
writable: !0,
|
|
18664
18659
|
configurable: !0
|
|
18665
|
-
}), Object.defineProperty(
|
|
18660
|
+
}), Object.defineProperty(cs(r), "onabort", {
|
|
18666
18661
|
value: null,
|
|
18667
18662
|
writable: !0,
|
|
18668
18663
|
configurable: !0
|
|
18669
|
-
}), Object.defineProperty(
|
|
18664
|
+
}), Object.defineProperty(cs(r), "reason", {
|
|
18670
18665
|
value: void 0,
|
|
18671
18666
|
writable: !0,
|
|
18672
18667
|
configurable: !0
|
|
@@ -18680,7 +18675,7 @@ var Gb = /* @__PURE__ */ function() {
|
|
|
18680
18675
|
}, {
|
|
18681
18676
|
key: "dispatchEvent",
|
|
18682
18677
|
value: function(i) {
|
|
18683
|
-
i.type === "abort" && (this.aborted = !0, typeof this.onabort == "function" && this.onabort.call(this, i)), qf(
|
|
18678
|
+
i.type === "abort" && (this.aborted = !0, typeof this.onabort == "function" && this.onabort.call(this, i)), qf(_o(n.prototype), "dispatchEvent", this).call(this, i);
|
|
18684
18679
|
}
|
|
18685
18680
|
}]), n;
|
|
18686
18681
|
}(Gb), nE = /* @__PURE__ */ function() {
|
|
@@ -18850,7 +18845,7 @@ class yR {
|
|
|
18850
18845
|
}
|
|
18851
18846
|
}
|
|
18852
18847
|
xp.default = yR;
|
|
18853
|
-
var iE =
|
|
18848
|
+
var iE = Ks && Ks.__importDefault || function(t) {
|
|
18854
18849
|
return t && t.__esModule ? t : { default: t };
|
|
18855
18850
|
};
|
|
18856
18851
|
Object.defineProperty(pp, "__esModule", { value: !0 });
|
|
@@ -18960,7 +18955,7 @@ class Il {
|
|
|
18960
18955
|
}
|
|
18961
18956
|
}
|
|
18962
18957
|
pp.default = Il;
|
|
18963
|
-
var AR =
|
|
18958
|
+
var AR = Ks && Ks.__importDefault || function(t) {
|
|
18964
18959
|
return t && t.__esModule ? t : { default: t };
|
|
18965
18960
|
};
|
|
18966
18961
|
Object.defineProperty(tE, "__esModule", { value: !0 });
|
|
@@ -19091,12 +19086,12 @@ class Jr {
|
|
|
19091
19086
|
}
|
|
19092
19087
|
/*! pako 2.1.0 https://github.com/nodeca/pako @license (MIT AND Zlib) */
|
|
19093
19088
|
const CR = 4, Hb = 0, Qb = 1, DR = 2;
|
|
19094
|
-
function
|
|
19089
|
+
function Ho(t) {
|
|
19095
19090
|
let e = t.length;
|
|
19096
19091
|
for (; --e >= 0; )
|
|
19097
19092
|
t[e] = 0;
|
|
19098
19093
|
}
|
|
19099
|
-
const IR = 0, aE = 1, MR = 2, TR = 3, NR = 258, Ap = 29, tf = 256,
|
|
19094
|
+
const IR = 0, aE = 1, MR = 2, TR = 3, NR = 258, Ap = 29, tf = 256, iu = tf + 1 + Ap, Ka = 30, Ep = 19, oE = 2 * iu + 1, Gi = 15, Lh = 16, FR = 7, Sp = 256, sE = 16, uE = 17, fE = 18, S0 = (
|
|
19100
19095
|
/* extra bits for each length code */
|
|
19101
19096
|
new Uint8Array([0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5, 5, 0])
|
|
19102
19097
|
), Zf = (
|
|
@@ -19105,18 +19100,18 @@ const IR = 0, aE = 1, MR = 2, TR = 3, NR = 258, Ap = 29, tf = 256, au = tf + 1 +
|
|
|
19105
19100
|
), kR = (
|
|
19106
19101
|
/* extra bits for each bit length code */
|
|
19107
19102
|
new Uint8Array([0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 3, 7])
|
|
19108
|
-
), lE = new Uint8Array([16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15]), BR = 512, _r = new Array((
|
|
19109
|
-
|
|
19110
|
-
const
|
|
19111
|
-
|
|
19112
|
-
const
|
|
19113
|
-
|
|
19114
|
-
const
|
|
19115
|
-
|
|
19103
|
+
), lE = new Uint8Array([16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15]), BR = 512, _r = new Array((iu + 2) * 2);
|
|
19104
|
+
Ho(_r);
|
|
19105
|
+
const Cs = new Array(Ka * 2);
|
|
19106
|
+
Ho(Cs);
|
|
19107
|
+
const au = new Array(BR);
|
|
19108
|
+
Ho(au);
|
|
19109
|
+
const ou = new Array(NR - TR + 1);
|
|
19110
|
+
Ho(ou);
|
|
19116
19111
|
const _p = new Array(Ap);
|
|
19117
|
-
|
|
19112
|
+
Ho(_p);
|
|
19118
19113
|
const Ml = new Array(Ka);
|
|
19119
|
-
|
|
19114
|
+
Ho(Ml);
|
|
19120
19115
|
function Rh(t, e, n, r, i) {
|
|
19121
19116
|
this.static_tree = t, this.extra_bits = e, this.extra_base = n, this.elems = r, this.max_length = i, this.has_stree = t && t.length;
|
|
19122
19117
|
}
|
|
@@ -19124,11 +19119,11 @@ let cE, hE, dE;
|
|
|
19124
19119
|
function Oh(t, e) {
|
|
19125
19120
|
this.dyn_tree = t, this.max_code = 0, this.stat_desc = e;
|
|
19126
19121
|
}
|
|
19127
|
-
const gE = (t) => t < 256 ?
|
|
19122
|
+
const gE = (t) => t < 256 ? au[t] : au[256 + (t >>> 7)], su = (t, e) => {
|
|
19128
19123
|
t.pending_buf[t.pending++] = e & 255, t.pending_buf[t.pending++] = e >>> 8 & 255;
|
|
19129
19124
|
}, Ut = (t, e, n) => {
|
|
19130
|
-
t.bi_valid > Lh - n ? (t.bi_buf |= e << t.bi_valid & 65535,
|
|
19131
|
-
},
|
|
19125
|
+
t.bi_valid > Lh - n ? (t.bi_buf |= e << t.bi_valid & 65535, su(t, t.bi_buf), t.bi_buf = e >> Lh - t.bi_valid, t.bi_valid += n - Lh) : (t.bi_buf |= e << t.bi_valid & 65535, t.bi_valid += n);
|
|
19126
|
+
}, rr = (t, e, n) => {
|
|
19132
19127
|
Ut(
|
|
19133
19128
|
t,
|
|
19134
19129
|
n[e * 2],
|
|
@@ -19142,7 +19137,7 @@ const gE = (t) => t < 256 ? ou[t] : ou[256 + (t >>> 7)], uu = (t, e) => {
|
|
|
19142
19137
|
while (--e > 0);
|
|
19143
19138
|
return n >>> 1;
|
|
19144
19139
|
}, LR = (t) => {
|
|
19145
|
-
t.bi_valid === 16 ? (
|
|
19140
|
+
t.bi_valid === 16 ? (su(t, t.bi_buf), t.bi_buf = 0, t.bi_valid = 0) : t.bi_valid >= 8 && (t.pending_buf[t.pending++] = t.bi_buf & 255, t.bi_buf >>= 8, t.bi_valid -= 8);
|
|
19146
19141
|
}, RR = (t, e) => {
|
|
19147
19142
|
const n = e.dyn_tree, r = e.max_code, i = e.stat_desc.static_tree, a = e.stat_desc.has_stree, o = e.stat_desc.extra_bits, s = e.stat_desc.extra_base, f = e.stat_desc.max_length;
|
|
19148
19143
|
let u, l, c, h, d, g, b = 0;
|
|
@@ -19174,13 +19169,13 @@ const gE = (t) => t < 256 ? ou[t] : ou[256 + (t >>> 7)], uu = (t, e) => {
|
|
|
19174
19169
|
const a = new Array(Gi + 1);
|
|
19175
19170
|
for (n = 0, r = 0; r < Ap - 1; r++)
|
|
19176
19171
|
for (_p[r] = n, t = 0; t < 1 << S0[r]; t++)
|
|
19177
|
-
|
|
19178
|
-
for (
|
|
19172
|
+
ou[n++] = r;
|
|
19173
|
+
for (ou[n - 1] = r, i = 0, r = 0; r < 16; r++)
|
|
19179
19174
|
for (Ml[r] = i, t = 0; t < 1 << Zf[r]; t++)
|
|
19180
|
-
|
|
19175
|
+
au[i++] = r;
|
|
19181
19176
|
for (i >>= 7; r < Ka; r++)
|
|
19182
19177
|
for (Ml[r] = i << 7, t = 0; t < 1 << Zf[r] - 7; t++)
|
|
19183
|
-
|
|
19178
|
+
au[256 + i++] = r;
|
|
19184
19179
|
for (e = 0; e <= Gi; e++)
|
|
19185
19180
|
a[e] = 0;
|
|
19186
19181
|
for (t = 0; t <= 143; )
|
|
@@ -19191,12 +19186,12 @@ const gE = (t) => t < 256 ? ou[t] : ou[256 + (t >>> 7)], uu = (t, e) => {
|
|
|
19191
19186
|
_r[t * 2 + 1] = 7, t++, a[7]++;
|
|
19192
19187
|
for (; t <= 287; )
|
|
19193
19188
|
_r[t * 2 + 1] = 8, t++, a[8]++;
|
|
19194
|
-
for (mE(_r,
|
|
19195
|
-
|
|
19196
|
-
cE = new Rh(_r, S0, tf + 1,
|
|
19189
|
+
for (mE(_r, iu + 1, a), t = 0; t < Ka; t++)
|
|
19190
|
+
Cs[t * 2 + 1] = 5, Cs[t * 2] = pE(t, 5);
|
|
19191
|
+
cE = new Rh(_r, S0, tf + 1, iu, Gi), hE = new Rh(Cs, Zf, 0, Ka, Gi), dE = new Rh(new Array(0), kR, 0, Ep, FR);
|
|
19197
19192
|
}, bE = (t) => {
|
|
19198
19193
|
let e;
|
|
19199
|
-
for (e = 0; e <
|
|
19194
|
+
for (e = 0; e < iu; e++)
|
|
19200
19195
|
t.dyn_ltree[e * 2] = 0;
|
|
19201
19196
|
for (e = 0; e < Ka; e++)
|
|
19202
19197
|
t.dyn_dtree[e * 2] = 0;
|
|
@@ -19204,7 +19199,7 @@ const gE = (t) => t < 256 ? ou[t] : ou[256 + (t >>> 7)], uu = (t, e) => {
|
|
|
19204
19199
|
t.bl_tree[e * 2] = 0;
|
|
19205
19200
|
t.dyn_ltree[Sp * 2] = 1, t.opt_len = t.static_len = 0, t.sym_next = t.matches = 0;
|
|
19206
19201
|
}, yE = (t) => {
|
|
19207
|
-
t.bi_valid > 8 ?
|
|
19202
|
+
t.bi_valid > 8 ? su(t, t.bi_buf) : t.bi_valid > 0 && (t.pending_buf[t.pending++] = t.bi_buf), t.bi_buf = 0, t.bi_valid = 0;
|
|
19208
19203
|
}, Vb = (t, e, n, r) => {
|
|
19209
19204
|
const i = e * 2, a = n * 2;
|
|
19210
19205
|
return t[i] < t[a] || t[i] === t[a] && r[e] <= r[n];
|
|
@@ -19218,9 +19213,9 @@ const gE = (t) => t < 256 ? ou[t] : ou[256 + (t >>> 7)], uu = (t, e) => {
|
|
|
19218
19213
|
let r, i, a = 0, o, s;
|
|
19219
19214
|
if (t.sym_next !== 0)
|
|
19220
19215
|
do
|
|
19221
|
-
r = t.pending_buf[t.sym_buf + a++] & 255, r += (t.pending_buf[t.sym_buf + a++] & 255) << 8, i = t.pending_buf[t.sym_buf + a++], r === 0 ?
|
|
19216
|
+
r = t.pending_buf[t.sym_buf + a++] & 255, r += (t.pending_buf[t.sym_buf + a++] & 255) << 8, i = t.pending_buf[t.sym_buf + a++], r === 0 ? rr(t, i, e) : (o = ou[i], rr(t, o + tf + 1, e), s = S0[o], s !== 0 && (i -= _p[o], Ut(t, i, s)), r--, o = gE(r), rr(t, o, n), s = Zf[o], s !== 0 && (r -= Ml[o], Ut(t, r, s)));
|
|
19222
19217
|
while (a < t.sym_next);
|
|
19223
|
-
|
|
19218
|
+
rr(t, Sp, e);
|
|
19224
19219
|
}, _0 = (t, e) => {
|
|
19225
19220
|
const n = e.dyn_tree, r = e.stat_desc.static_tree, i = e.stat_desc.has_stree, a = e.stat_desc.elems;
|
|
19226
19221
|
let o, s, f = -1, u;
|
|
@@ -19270,10 +19265,10 @@ const gE = (t) => t < 256 ? ou[t] : ou[256 + (t >>> 7)], uu = (t, e) => {
|
|
|
19270
19265
|
if (a = o, o = e[(r + 1) * 2 + 1], !(++s < f && a === o)) {
|
|
19271
19266
|
if (s < u)
|
|
19272
19267
|
do
|
|
19273
|
-
|
|
19268
|
+
rr(t, a, t.bl_tree);
|
|
19274
19269
|
while (--s !== 0);
|
|
19275
19270
|
else
|
|
19276
|
-
a !== 0 ? (a !== i && (
|
|
19271
|
+
a !== 0 ? (a !== i && (rr(t, a, t.bl_tree), s--), rr(t, sE, t.bl_tree), Ut(t, s - 3, 2)) : s <= 10 ? (rr(t, uE, t.bl_tree), Ut(t, s - 3, 3)) : (rr(t, fE, t.bl_tree), Ut(t, s - 11, 7));
|
|
19277
19272
|
s = 0, i = a, o === 0 ? (f = 138, u = 3) : a === o ? (f = 6, u = 3) : (f = 7, u = 4);
|
|
19278
19273
|
}
|
|
19279
19274
|
}, zR = (t) => {
|
|
@@ -19302,13 +19297,13 @@ let Wb = !1;
|
|
|
19302
19297
|
const jR = (t) => {
|
|
19303
19298
|
Wb || (OR(), Wb = !0), t.l_desc = new Oh(t.dyn_ltree, cE), t.d_desc = new Oh(t.dyn_dtree, hE), t.bl_desc = new Oh(t.bl_tree, dE), t.bi_buf = 0, t.bi_valid = 0, bE(t);
|
|
19304
19299
|
}, wE = (t, e, n, r) => {
|
|
19305
|
-
Ut(t, (IR << 1) + (r ? 1 : 0), 3), yE(t),
|
|
19300
|
+
Ut(t, (IR << 1) + (r ? 1 : 0), 3), yE(t), su(t, n), su(t, ~n), n && t.pending_buf.set(t.window.subarray(e, e + n), t.pending), t.pending += n;
|
|
19306
19301
|
}, GR = (t) => {
|
|
19307
|
-
Ut(t, aE << 1, 3),
|
|
19302
|
+
Ut(t, aE << 1, 3), rr(t, Sp, _r), LR(t);
|
|
19308
19303
|
}, HR = (t, e, n, r) => {
|
|
19309
19304
|
let i, a, o = 0;
|
|
19310
|
-
t.level > 0 ? (t.strm.data_type === DR && (t.strm.data_type = UR(t)), _0(t, t.l_desc), _0(t, t.d_desc), o = zR(t), i = t.opt_len + 3 + 7 >>> 3, a = t.static_len + 3 + 7 >>> 3, a <= i && (i = a)) : i = a = n + 5, n + 4 <= i && e !== -1 ? wE(t, e, n, r) : t.strategy === CR || a === i ? (Ut(t, (aE << 1) + (r ? 1 : 0), 3), qb(t, _r,
|
|
19311
|
-
}, QR = (t, e, n) => (t.pending_buf[t.sym_buf + t.sym_next++] = e, t.pending_buf[t.sym_buf + t.sym_next++] = e >> 8, t.pending_buf[t.sym_buf + t.sym_next++] = n, e === 0 ? t.dyn_ltree[n * 2]++ : (t.matches++, e--, t.dyn_ltree[(
|
|
19305
|
+
t.level > 0 ? (t.strm.data_type === DR && (t.strm.data_type = UR(t)), _0(t, t.l_desc), _0(t, t.d_desc), o = zR(t), i = t.opt_len + 3 + 7 >>> 3, a = t.static_len + 3 + 7 >>> 3, a <= i && (i = a)) : i = a = n + 5, n + 4 <= i && e !== -1 ? wE(t, e, n, r) : t.strategy === CR || a === i ? (Ut(t, (aE << 1) + (r ? 1 : 0), 3), qb(t, _r, Cs)) : (Ut(t, (MR << 1) + (r ? 1 : 0), 3), PR(t, t.l_desc.max_code + 1, t.d_desc.max_code + 1, o + 1), qb(t, t.dyn_ltree, t.dyn_dtree)), bE(t), r && yE(t);
|
|
19306
|
+
}, QR = (t, e, n) => (t.pending_buf[t.sym_buf + t.sym_next++] = e, t.pending_buf[t.sym_buf + t.sym_next++] = e >> 8, t.pending_buf[t.sym_buf + t.sym_next++] = n, e === 0 ? t.dyn_ltree[n * 2]++ : (t.matches++, e--, t.dyn_ltree[(ou[n] + tf + 1) * 2]++, t.dyn_dtree[gE(e) * 2]++), t.sym_next === t.sym_end);
|
|
19312
19307
|
var VR = jR, qR = wE, ZR = HR, YR = QR, WR = GR, XR = {
|
|
19313
19308
|
_tr_init: VR,
|
|
19314
19309
|
_tr_stored_block: qR,
|
|
@@ -19327,7 +19322,7 @@ const $R = (t, e, n, r) => {
|
|
|
19327
19322
|
}
|
|
19328
19323
|
return i | a << 16 | 0;
|
|
19329
19324
|
};
|
|
19330
|
-
var
|
|
19325
|
+
var uu = $R;
|
|
19331
19326
|
const KR = () => {
|
|
19332
19327
|
let t, e = [];
|
|
19333
19328
|
for (var n = 0; n < 256; n++) {
|
|
@@ -19344,7 +19339,7 @@ const KR = () => {
|
|
|
19344
19339
|
t = t >>> 8 ^ i[(t ^ e[o]) & 255];
|
|
19345
19340
|
return t ^ -1;
|
|
19346
19341
|
};
|
|
19347
|
-
var ot = e5,
|
|
19342
|
+
var ot = e5, Co = {
|
|
19348
19343
|
2: "need dictionary",
|
|
19349
19344
|
/* Z_NEED_DICT 2 */
|
|
19350
19345
|
1: "stream end",
|
|
@@ -19411,7 +19406,7 @@ const { _tr_init: t5, _tr_stored_block: C0, _tr_flush_block: n5, _tr_tally: oi,
|
|
|
19411
19406
|
Z_BLOCK: Xb,
|
|
19412
19407
|
Z_OK: dt,
|
|
19413
19408
|
Z_STREAM_END: $b,
|
|
19414
|
-
Z_STREAM_ERROR:
|
|
19409
|
+
Z_STREAM_ERROR: fr,
|
|
19415
19410
|
Z_DATA_ERROR: o5,
|
|
19416
19411
|
Z_BUF_ERROR: Ph,
|
|
19417
19412
|
Z_DEFAULT_COMPRESSION: s5,
|
|
@@ -19422,7 +19417,7 @@ const { _tr_init: t5, _tr_stored_block: C0, _tr_flush_block: n5, _tr_tally: oi,
|
|
|
19422
19417
|
Z_DEFAULT_STRATEGY: c5,
|
|
19423
19418
|
Z_UNKNOWN: h5,
|
|
19424
19419
|
Z_DEFLATED: Pc
|
|
19425
|
-
} = nf, d5 = 9, g5 = 15, p5 = 8, m5 = 29, b5 = 256, D0 = b5 + 1 + m5, y5 = 30, w5 = 19, x5 = 2 * D0 + 1, v5 = 15, pe = 3, ii = 258,
|
|
19420
|
+
} = nf, d5 = 9, g5 = 15, p5 = 8, m5 = 29, b5 = 256, D0 = b5 + 1 + m5, y5 = 30, w5 = 19, x5 = 2 * D0 + 1, v5 = 15, pe = 3, ii = 258, lr = ii + pe + 1, A5 = 32, Do = 42, Cp = 57, I0 = 69, M0 = 73, T0 = 91, N0 = 103, Hi = 113, hs = 666, It = 1, Qo = 2, pa = 3, Vo = 4, E5 = 3, Qi = (t, e) => (t.msg = Co[e], e), Kb = (t) => t * 2 - (t > 4 ? 9 : 0), ei = (t) => {
|
|
19426
19421
|
let e = t.length;
|
|
19427
19422
|
for (; --e >= 0; )
|
|
19428
19423
|
t[e] = 0;
|
|
@@ -19446,14 +19441,14 @@ const Yt = (t) => {
|
|
|
19446
19441
|
n5(t, t.block_start >= 0 ? t.block_start : -1, t.strstart - t.block_start, e), t.block_start = t.strstart, Yt(t.strm);
|
|
19447
19442
|
}, Ee = (t, e) => {
|
|
19448
19443
|
t.pending_buf[t.pending++] = e;
|
|
19449
|
-
},
|
|
19444
|
+
}, as = (t, e) => {
|
|
19450
19445
|
t.pending_buf[t.pending++] = e >>> 8 & 255, t.pending_buf[t.pending++] = e & 255;
|
|
19451
19446
|
}, F0 = (t, e, n, r) => {
|
|
19452
19447
|
let i = t.avail_in;
|
|
19453
|
-
return i > r && (i = r), i === 0 ? 0 : (t.avail_in -= i, e.set(t.input.subarray(t.next_in, t.next_in + i), n), t.state.wrap === 1 ? t.adler =
|
|
19448
|
+
return i > r && (i = r), i === 0 ? 0 : (t.avail_in -= i, e.set(t.input.subarray(t.next_in, t.next_in + i), n), t.state.wrap === 1 ? t.adler = uu(t.adler, e, i, n) : t.state.wrap === 2 && (t.adler = ot(t.adler, e, i, n)), t.next_in += i, t.total_in += i, i);
|
|
19454
19449
|
}, xE = (t, e) => {
|
|
19455
19450
|
let n = t.max_chain_length, r = t.strstart, i, a, o = t.prev_length, s = t.nice_match;
|
|
19456
|
-
const f = t.strstart > t.w_size -
|
|
19451
|
+
const f = t.strstart > t.w_size - lr ? t.strstart - (t.w_size - lr) : 0, u = t.window, l = t.w_mask, c = t.prev, h = t.strstart + ii;
|
|
19457
19452
|
let d = u[r + o - 1], g = u[r + o];
|
|
19458
19453
|
t.prev_length >= t.good_match && (n >>= 2), s > t.lookahead && (s = t.lookahead);
|
|
19459
19454
|
do
|
|
@@ -19470,16 +19465,16 @@ const Yt = (t) => {
|
|
|
19470
19465
|
}
|
|
19471
19466
|
while ((e = c[e & l]) > f && --n !== 0);
|
|
19472
19467
|
return o <= t.lookahead ? o : t.lookahead;
|
|
19473
|
-
},
|
|
19468
|
+
}, Io = (t) => {
|
|
19474
19469
|
const e = t.w_size;
|
|
19475
19470
|
let n, r, i;
|
|
19476
19471
|
do {
|
|
19477
|
-
if (r = t.window_size - t.lookahead - t.strstart, t.strstart >= e + (e -
|
|
19472
|
+
if (r = t.window_size - t.lookahead - t.strstart, t.strstart >= e + (e - lr) && (t.window.set(t.window.subarray(e, e + e - r), 0), t.match_start -= e, t.strstart -= e, t.block_start -= e, t.insert > t.strstart && (t.insert = t.strstart), S5(t), r += e), t.strm.avail_in === 0)
|
|
19478
19473
|
break;
|
|
19479
19474
|
if (n = F0(t.strm, t.window, t.strstart + t.lookahead, r), t.lookahead += n, t.lookahead + t.insert >= pe)
|
|
19480
19475
|
for (i = t.strstart - t.insert, t.ins_h = t.window[i], t.ins_h = ui(t, t.ins_h, t.window[i + 1]); t.insert && (t.ins_h = ui(t, t.ins_h, t.window[i + pe - 1]), t.prev[i & t.w_mask] = t.head[t.ins_h], t.head[t.ins_h] = i, i++, t.insert--, !(t.lookahead + t.insert < pe)); )
|
|
19481
19476
|
;
|
|
19482
|
-
} while (t.lookahead <
|
|
19477
|
+
} while (t.lookahead < lr && t.strm.avail_in !== 0);
|
|
19483
19478
|
}, vE = (t, e) => {
|
|
19484
19479
|
let n = t.pending_buf_size - 5 > t.w_size ? t.w_size : t.pending_buf_size - 5, r, i, a, o = 0, s = t.strm.avail_in;
|
|
19485
19480
|
do {
|
|
@@ -19487,17 +19482,17 @@ const Yt = (t) => {
|
|
|
19487
19482
|
break;
|
|
19488
19483
|
o = e === on && r === i + t.strm.avail_in ? 1 : 0, C0(t, 0, 0, o), t.pending_buf[t.pending - 4] = r, t.pending_buf[t.pending - 3] = r >> 8, t.pending_buf[t.pending - 2] = ~r, t.pending_buf[t.pending - 1] = ~r >> 8, Yt(t.strm), i && (i > r && (i = r), t.strm.output.set(t.window.subarray(t.block_start, t.block_start + i), t.strm.next_out), t.strm.next_out += i, t.strm.avail_out -= i, t.strm.total_out += i, t.block_start += i, r -= i), r && (F0(t.strm, t.strm.output, t.strm.next_out, r), t.strm.next_out += r, t.strm.avail_out -= r, t.strm.total_out += r);
|
|
19489
19484
|
} while (o === 0);
|
|
19490
|
-
return s -= t.strm.avail_in, s && (s >= t.w_size ? (t.matches = 2, t.window.set(t.strm.input.subarray(t.strm.next_in - t.w_size, t.strm.next_in), 0), t.strstart = t.w_size, t.insert = t.strstart) : (t.window_size - t.strstart <= s && (t.strstart -= t.w_size, t.window.set(t.window.subarray(t.w_size, t.w_size + t.strstart), 0), t.matches < 2 && t.matches++, t.insert > t.strstart && (t.insert = t.strstart)), t.window.set(t.strm.input.subarray(t.strm.next_in - s, t.strm.next_in), t.strstart), t.strstart += s, t.insert += s > t.w_size - t.insert ? t.w_size - t.insert : s), t.block_start = t.strstart), t.high_water < t.strstart && (t.high_water = t.strstart), o ?
|
|
19485
|
+
return s -= t.strm.avail_in, s && (s >= t.w_size ? (t.matches = 2, t.window.set(t.strm.input.subarray(t.strm.next_in - t.w_size, t.strm.next_in), 0), t.strstart = t.w_size, t.insert = t.strstart) : (t.window_size - t.strstart <= s && (t.strstart -= t.w_size, t.window.set(t.window.subarray(t.w_size, t.w_size + t.strstart), 0), t.matches < 2 && t.matches++, t.insert > t.strstart && (t.insert = t.strstart)), t.window.set(t.strm.input.subarray(t.strm.next_in - s, t.strm.next_in), t.strstart), t.strstart += s, t.insert += s > t.w_size - t.insert ? t.w_size - t.insert : s), t.block_start = t.strstart), t.high_water < t.strstart && (t.high_water = t.strstart), o ? Vo : e !== si && e !== on && t.strm.avail_in === 0 && t.strstart === t.block_start ? Qo : (a = t.window_size - t.strstart, t.strm.avail_in > a && t.block_start >= t.w_size && (t.block_start -= t.w_size, t.strstart -= t.w_size, t.window.set(t.window.subarray(t.w_size, t.w_size + t.strstart), 0), t.matches < 2 && t.matches++, a += t.w_size, t.insert > t.strstart && (t.insert = t.strstart)), a > t.strm.avail_in && (a = t.strm.avail_in), a && (F0(t.strm, t.window, t.strstart, a), t.strstart += a, t.insert += a > t.w_size - t.insert ? t.w_size - t.insert : a), t.high_water < t.strstart && (t.high_water = t.strstart), a = t.bi_valid + 42 >> 3, a = t.pending_buf_size - a > 65535 ? 65535 : t.pending_buf_size - a, n = a > t.w_size ? t.w_size : a, i = t.strstart - t.block_start, (i >= n || (i || e === on) && e !== si && t.strm.avail_in === 0 && i <= a) && (r = i > a ? a : i, o = e === on && t.strm.avail_in === 0 && r === i ? 1 : 0, C0(t, t.block_start, r, o), t.block_start += r, Yt(t.strm)), o ? pa : It);
|
|
19491
19486
|
}, Uh = (t, e) => {
|
|
19492
19487
|
let n, r;
|
|
19493
19488
|
for (; ; ) {
|
|
19494
|
-
if (t.lookahead <
|
|
19495
|
-
if (
|
|
19489
|
+
if (t.lookahead < lr) {
|
|
19490
|
+
if (Io(t), t.lookahead < lr && e === si)
|
|
19496
19491
|
return It;
|
|
19497
19492
|
if (t.lookahead === 0)
|
|
19498
19493
|
break;
|
|
19499
19494
|
}
|
|
19500
|
-
if (n = 0, t.lookahead >= pe && (t.ins_h = ui(t, t.ins_h, t.window[t.strstart + pe - 1]), n = t.prev[t.strstart & t.w_mask] = t.head[t.ins_h], t.head[t.ins_h] = t.strstart), n !== 0 && t.strstart - n <= t.w_size -
|
|
19495
|
+
if (n = 0, t.lookahead >= pe && (t.ins_h = ui(t, t.ins_h, t.window[t.strstart + pe - 1]), n = t.prev[t.strstart & t.w_mask] = t.head[t.ins_h], t.head[t.ins_h] = t.strstart), n !== 0 && t.strstart - n <= t.w_size - lr && (t.match_length = xE(t, n)), t.match_length >= pe)
|
|
19501
19496
|
if (r = oi(t, t.strstart - t.match_start, t.match_length - pe), t.lookahead -= t.match_length, t.match_length <= t.max_lazy_match && t.lookahead >= pe) {
|
|
19502
19497
|
t.match_length--;
|
|
19503
19498
|
do
|
|
@@ -19511,17 +19506,17 @@ const Yt = (t) => {
|
|
|
19511
19506
|
if (r && (Jt(t, !1), t.strm.avail_out === 0))
|
|
19512
19507
|
return It;
|
|
19513
19508
|
}
|
|
19514
|
-
return t.insert = t.strstart < pe - 1 ? t.strstart : pe - 1, e === on ? (Jt(t, !0), t.strm.avail_out === 0 ? pa :
|
|
19509
|
+
return t.insert = t.strstart < pe - 1 ? t.strstart : pe - 1, e === on ? (Jt(t, !0), t.strm.avail_out === 0 ? pa : Vo) : t.sym_next && (Jt(t, !1), t.strm.avail_out === 0) ? It : Qo;
|
|
19515
19510
|
}, za = (t, e) => {
|
|
19516
19511
|
let n, r, i;
|
|
19517
19512
|
for (; ; ) {
|
|
19518
|
-
if (t.lookahead <
|
|
19519
|
-
if (
|
|
19513
|
+
if (t.lookahead < lr) {
|
|
19514
|
+
if (Io(t), t.lookahead < lr && e === si)
|
|
19520
19515
|
return It;
|
|
19521
19516
|
if (t.lookahead === 0)
|
|
19522
19517
|
break;
|
|
19523
19518
|
}
|
|
19524
|
-
if (n = 0, t.lookahead >= pe && (t.ins_h = ui(t, t.ins_h, t.window[t.strstart + pe - 1]), n = t.prev[t.strstart & t.w_mask] = t.head[t.ins_h], t.head[t.ins_h] = t.strstart), t.prev_length = t.match_length, t.prev_match = t.match_start, t.match_length = pe - 1, n !== 0 && t.prev_length < t.max_lazy_match && t.strstart - n <= t.w_size -
|
|
19519
|
+
if (n = 0, t.lookahead >= pe && (t.ins_h = ui(t, t.ins_h, t.window[t.strstart + pe - 1]), n = t.prev[t.strstart & t.w_mask] = t.head[t.ins_h], t.head[t.ins_h] = t.strstart), t.prev_length = t.match_length, t.prev_match = t.match_start, t.match_length = pe - 1, n !== 0 && t.prev_length < t.max_lazy_match && t.strstart - n <= t.w_size - lr && (t.match_length = xE(t, n), t.match_length <= 5 && (t.strategy === u5 || t.match_length === pe && t.strstart - t.match_start > 4096) && (t.match_length = pe - 1)), t.prev_length >= pe && t.match_length <= t.prev_length) {
|
|
19525
19520
|
i = t.strstart + t.lookahead - pe, r = oi(t, t.strstart - 1 - t.prev_match, t.prev_length - pe), t.lookahead -= t.prev_length - 1, t.prev_length -= 2;
|
|
19526
19521
|
do
|
|
19527
19522
|
++t.strstart <= i && (t.ins_h = ui(t, t.ins_h, t.window[t.strstart + pe - 1]), n = t.prev[t.strstart & t.w_mask] = t.head[t.ins_h], t.head[t.ins_h] = t.strstart);
|
|
@@ -19534,13 +19529,13 @@ const Yt = (t) => {
|
|
|
19534
19529
|
} else
|
|
19535
19530
|
t.match_available = 1, t.strstart++, t.lookahead--;
|
|
19536
19531
|
}
|
|
19537
|
-
return t.match_available && (r = oi(t, 0, t.window[t.strstart - 1]), t.match_available = 0), t.insert = t.strstart < pe - 1 ? t.strstart : pe - 1, e === on ? (Jt(t, !0), t.strm.avail_out === 0 ? pa :
|
|
19532
|
+
return t.match_available && (r = oi(t, 0, t.window[t.strstart - 1]), t.match_available = 0), t.insert = t.strstart < pe - 1 ? t.strstart : pe - 1, e === on ? (Jt(t, !0), t.strm.avail_out === 0 ? pa : Vo) : t.sym_next && (Jt(t, !1), t.strm.avail_out === 0) ? It : Qo;
|
|
19538
19533
|
}, C5 = (t, e) => {
|
|
19539
19534
|
let n, r, i, a;
|
|
19540
19535
|
const o = t.window;
|
|
19541
19536
|
for (; ; ) {
|
|
19542
19537
|
if (t.lookahead <= ii) {
|
|
19543
|
-
if (
|
|
19538
|
+
if (Io(t), t.lookahead <= ii && e === si)
|
|
19544
19539
|
return It;
|
|
19545
19540
|
if (t.lookahead === 0)
|
|
19546
19541
|
break;
|
|
@@ -19555,11 +19550,11 @@ const Yt = (t) => {
|
|
|
19555
19550
|
if (t.match_length >= pe ? (n = oi(t, 1, t.match_length - pe), t.lookahead -= t.match_length, t.strstart += t.match_length, t.match_length = 0) : (n = oi(t, 0, t.window[t.strstart]), t.lookahead--, t.strstart++), n && (Jt(t, !1), t.strm.avail_out === 0))
|
|
19556
19551
|
return It;
|
|
19557
19552
|
}
|
|
19558
|
-
return t.insert = 0, e === on ? (Jt(t, !0), t.strm.avail_out === 0 ? pa :
|
|
19553
|
+
return t.insert = 0, e === on ? (Jt(t, !0), t.strm.avail_out === 0 ? pa : Vo) : t.sym_next && (Jt(t, !1), t.strm.avail_out === 0) ? It : Qo;
|
|
19559
19554
|
}, D5 = (t, e) => {
|
|
19560
19555
|
let n;
|
|
19561
19556
|
for (; ; ) {
|
|
19562
|
-
if (t.lookahead === 0 && (
|
|
19557
|
+
if (t.lookahead === 0 && (Io(t), t.lookahead === 0)) {
|
|
19563
19558
|
if (e === si)
|
|
19564
19559
|
return It;
|
|
19565
19560
|
break;
|
|
@@ -19567,12 +19562,12 @@ const Yt = (t) => {
|
|
|
19567
19562
|
if (t.match_length = 0, n = oi(t, 0, t.window[t.strstart]), t.lookahead--, t.strstart++, n && (Jt(t, !1), t.strm.avail_out === 0))
|
|
19568
19563
|
return It;
|
|
19569
19564
|
}
|
|
19570
|
-
return t.insert = 0, e === on ? (Jt(t, !0), t.strm.avail_out === 0 ? pa :
|
|
19565
|
+
return t.insert = 0, e === on ? (Jt(t, !0), t.strm.avail_out === 0 ? pa : Vo) : t.sym_next && (Jt(t, !1), t.strm.avail_out === 0) ? It : Qo;
|
|
19571
19566
|
};
|
|
19572
19567
|
function $n(t, e, n, r, i) {
|
|
19573
19568
|
this.good_length = t, this.max_lazy = e, this.nice_length = n, this.max_chain = r, this.func = i;
|
|
19574
19569
|
}
|
|
19575
|
-
const
|
|
19570
|
+
const ds = [
|
|
19576
19571
|
/* good lazy nice chain */
|
|
19577
19572
|
new $n(0, 0, 0, 0, vE),
|
|
19578
19573
|
/* 0 store only */
|
|
@@ -19595,7 +19590,7 @@ const gs = [
|
|
|
19595
19590
|
new $n(32, 258, 258, 4096, za)
|
|
19596
19591
|
/* 9 max compression */
|
|
19597
19592
|
], I5 = (t) => {
|
|
19598
|
-
t.window_size = 2 * t.w_size, ei(t.head), t.max_lazy_match =
|
|
19593
|
+
t.window_size = 2 * t.w_size, ei(t.head), t.max_lazy_match = ds[t.level].max_lazy, t.good_match = ds[t.level].good_length, t.nice_match = ds[t.level].nice_length, t.max_chain_length = ds[t.level].max_chain, t.strstart = 0, t.block_start = 0, t.lookahead = 0, t.insert = 0, t.match_length = t.prev_length = pe - 1, t.match_available = 0, t.ins_h = 0;
|
|
19599
19594
|
};
|
|
19600
19595
|
function M5() {
|
|
19601
19596
|
this.strm = null, this.status = 0, this.pending_buf = null, this.pending_buf_size = 0, this.pending_out = 0, this.pending = 0, this.wrap = 0, this.gzhead = null, this.gzindex = 0, this.method = Pc, this.last_flush = -1, this.w_size = 0, this.w_bits = 0, this.w_mask = 0, this.window = null, this.window_size = 0, this.prev = null, this.head = null, this.ins_h = 0, this.hash_size = 0, this.hash_bits = 0, this.hash_mask = 0, this.hash_shift = 0, this.block_start = 0, this.match_length = 0, this.prev_match = 0, this.match_available = 0, this.strstart = 0, this.match_start = 0, this.lookahead = 0, this.prev_length = 0, this.max_chain_length = 0, this.max_lazy_match = 0, this.level = 0, this.strategy = 0, this.good_match = 0, this.nice_match = 0, this.dyn_ltree = new Uint16Array(x5 * 2), this.dyn_dtree = new Uint16Array((2 * y5 + 1) * 2), this.bl_tree = new Uint16Array((2 * w5 + 1) * 2), ei(this.dyn_ltree), ei(this.dyn_dtree), ei(this.bl_tree), this.l_desc = null, this.d_desc = null, this.bl_desc = null, this.bl_count = new Uint16Array(v5 + 1), this.heap = new Uint16Array(2 * D0 + 1), ei(this.heap), this.heap_len = 0, this.heap_max = 0, this.depth = new Uint16Array(2 * D0 + 1), ei(this.depth), this.sym_buf = 0, this.lit_bufsize = 0, this.sym_next = 0, this.sym_end = 0, this.opt_len = 0, this.static_len = 0, this.matches = 0, this.insert = 0, this.bi_buf = 0, this.bi_valid = 0;
|
|
@@ -19604,48 +19599,48 @@ const rf = (t) => {
|
|
|
19604
19599
|
if (!t)
|
|
19605
19600
|
return 1;
|
|
19606
19601
|
const e = t.state;
|
|
19607
|
-
return !e || e.strm !== t || e.status !==
|
|
19602
|
+
return !e || e.strm !== t || e.status !== Do && //#ifdef GZIP
|
|
19608
19603
|
e.status !== Cp && //#endif
|
|
19609
|
-
e.status !== I0 && e.status !== M0 && e.status !== T0 && e.status !== N0 && e.status !== Hi && e.status !==
|
|
19604
|
+
e.status !== I0 && e.status !== M0 && e.status !== T0 && e.status !== N0 && e.status !== Hi && e.status !== hs ? 1 : 0;
|
|
19610
19605
|
}, AE = (t) => {
|
|
19611
19606
|
if (rf(t))
|
|
19612
|
-
return Qi(t,
|
|
19607
|
+
return Qi(t, fr);
|
|
19613
19608
|
t.total_in = t.total_out = 0, t.data_type = h5;
|
|
19614
19609
|
const e = t.state;
|
|
19615
19610
|
return e.pending = 0, e.pending_out = 0, e.wrap < 0 && (e.wrap = -e.wrap), e.status = //#ifdef GZIP
|
|
19616
19611
|
e.wrap === 2 ? Cp : (
|
|
19617
19612
|
//#endif
|
|
19618
|
-
e.wrap ?
|
|
19613
|
+
e.wrap ? Do : Hi
|
|
19619
19614
|
), t.adler = e.wrap === 2 ? 0 : 1, e.last_flush = -2, t5(e), dt;
|
|
19620
19615
|
}, EE = (t) => {
|
|
19621
19616
|
const e = AE(t);
|
|
19622
19617
|
return e === dt && I5(t.state), e;
|
|
19623
|
-
}, T5 = (t, e) => rf(t) || t.state.wrap !== 2 ?
|
|
19618
|
+
}, T5 = (t, e) => rf(t) || t.state.wrap !== 2 ? fr : (t.state.gzhead = e, dt), SE = (t, e, n, r, i, a) => {
|
|
19624
19619
|
if (!t)
|
|
19625
|
-
return
|
|
19620
|
+
return fr;
|
|
19626
19621
|
let o = 1;
|
|
19627
19622
|
if (e === s5 && (e = 6), r < 0 ? (o = 0, r = -r) : r > 15 && (o = 2, r -= 16), i < 1 || i > d5 || n !== Pc || r < 8 || r > 15 || e < 0 || e > 9 || a < 0 || a > l5 || r === 8 && o !== 1)
|
|
19628
|
-
return Qi(t,
|
|
19623
|
+
return Qi(t, fr);
|
|
19629
19624
|
r === 8 && (r = 9);
|
|
19630
19625
|
const s = new M5();
|
|
19631
|
-
return t.state = s, s.strm = t, s.status =
|
|
19626
|
+
return t.state = s, s.strm = t, s.status = Do, s.wrap = o, s.gzhead = null, s.w_bits = r, s.w_size = 1 << s.w_bits, s.w_mask = s.w_size - 1, s.hash_bits = i + 7, s.hash_size = 1 << s.hash_bits, s.hash_mask = s.hash_size - 1, s.hash_shift = ~~((s.hash_bits + pe - 1) / pe), s.window = new Uint8Array(s.w_size * 2), s.head = new Uint16Array(s.hash_size), s.prev = new Uint16Array(s.w_size), s.lit_bufsize = 1 << i + 6, s.pending_buf_size = s.lit_bufsize * 4, s.pending_buf = new Uint8Array(s.pending_buf_size), s.sym_buf = s.lit_bufsize, s.sym_end = (s.lit_bufsize - 1) * 3, s.level = e, s.strategy = a, s.method = n, EE(t);
|
|
19632
19627
|
}, N5 = (t, e) => SE(t, e, Pc, g5, p5, c5), F5 = (t, e) => {
|
|
19633
19628
|
if (rf(t) || e > Xb || e < 0)
|
|
19634
|
-
return t ? Qi(t,
|
|
19629
|
+
return t ? Qi(t, fr) : fr;
|
|
19635
19630
|
const n = t.state;
|
|
19636
|
-
if (!t.output || t.avail_in !== 0 && !t.input || n.status ===
|
|
19637
|
-
return Qi(t, t.avail_out === 0 ? Ph :
|
|
19631
|
+
if (!t.output || t.avail_in !== 0 && !t.input || n.status === hs && e !== on)
|
|
19632
|
+
return Qi(t, t.avail_out === 0 ? Ph : fr);
|
|
19638
19633
|
const r = n.last_flush;
|
|
19639
19634
|
if (n.last_flush = e, n.pending !== 0) {
|
|
19640
19635
|
if (Yt(t), t.avail_out === 0)
|
|
19641
19636
|
return n.last_flush = -1, dt;
|
|
19642
19637
|
} else if (t.avail_in === 0 && Kb(e) <= Kb(r) && e !== on)
|
|
19643
19638
|
return Qi(t, Ph);
|
|
19644
|
-
if (n.status ===
|
|
19639
|
+
if (n.status === hs && t.avail_in !== 0)
|
|
19645
19640
|
return Qi(t, Ph);
|
|
19646
|
-
if (n.status ===
|
|
19641
|
+
if (n.status === Do && n.wrap === 0 && (n.status = Hi), n.status === Do) {
|
|
19647
19642
|
let i = Pc + (n.w_bits - 8 << 4) << 8, a = -1;
|
|
19648
|
-
if (n.strategy >= Tf || n.level < 2 ? a = 0 : n.level < 6 ? a = 1 : n.level === 6 ? a = 2 : a = 3, i |= a << 6, n.strstart !== 0 && (i |= A5), i += 31 - i % 31,
|
|
19643
|
+
if (n.strategy >= Tf || n.level < 2 ? a = 0 : n.level < 6 ? a = 1 : n.level === 6 ? a = 2 : a = 3, i |= a << 6, n.strstart !== 0 && (i |= A5), i += 31 - i % 31, as(n, i), n.strstart !== 0 && (as(n, t.adler >>> 16), as(n, t.adler & 65535)), t.adler = 1, n.status = Hi, Yt(t), n.pending !== 0)
|
|
19649
19644
|
return n.last_flush = -1, dt;
|
|
19650
19645
|
}
|
|
19651
19646
|
if (n.status === Cp) {
|
|
@@ -19710,42 +19705,42 @@ const rf = (t) => {
|
|
|
19710
19705
|
if (n.status = Hi, Yt(t), n.pending !== 0)
|
|
19711
19706
|
return n.last_flush = -1, dt;
|
|
19712
19707
|
}
|
|
19713
|
-
if (t.avail_in !== 0 || n.lookahead !== 0 || e !== si && n.status !==
|
|
19714
|
-
let i = n.level === 0 ? vE(n, e) : n.strategy === Tf ? D5(n, e) : n.strategy === f5 ? C5(n, e) :
|
|
19715
|
-
if ((i === pa || i ===
|
|
19708
|
+
if (t.avail_in !== 0 || n.lookahead !== 0 || e !== si && n.status !== hs) {
|
|
19709
|
+
let i = n.level === 0 ? vE(n, e) : n.strategy === Tf ? D5(n, e) : n.strategy === f5 ? C5(n, e) : ds[n.level].func(n, e);
|
|
19710
|
+
if ((i === pa || i === Vo) && (n.status = hs), i === It || i === pa)
|
|
19716
19711
|
return t.avail_out === 0 && (n.last_flush = -1), dt;
|
|
19717
|
-
if (i ===
|
|
19712
|
+
if (i === Qo && (e === i5 ? r5(n) : e !== Xb && (C0(n, 0, 0, !1), e === a5 && (ei(n.head), n.lookahead === 0 && (n.strstart = 0, n.block_start = 0, n.insert = 0))), Yt(t), t.avail_out === 0))
|
|
19718
19713
|
return n.last_flush = -1, dt;
|
|
19719
19714
|
}
|
|
19720
|
-
return e !== on ? dt : n.wrap <= 0 ? $b : (n.wrap === 2 ? (Ee(n, t.adler & 255), Ee(n, t.adler >> 8 & 255), Ee(n, t.adler >> 16 & 255), Ee(n, t.adler >> 24 & 255), Ee(n, t.total_in & 255), Ee(n, t.total_in >> 8 & 255), Ee(n, t.total_in >> 16 & 255), Ee(n, t.total_in >> 24 & 255)) : (
|
|
19715
|
+
return e !== on ? dt : n.wrap <= 0 ? $b : (n.wrap === 2 ? (Ee(n, t.adler & 255), Ee(n, t.adler >> 8 & 255), Ee(n, t.adler >> 16 & 255), Ee(n, t.adler >> 24 & 255), Ee(n, t.total_in & 255), Ee(n, t.total_in >> 8 & 255), Ee(n, t.total_in >> 16 & 255), Ee(n, t.total_in >> 24 & 255)) : (as(n, t.adler >>> 16), as(n, t.adler & 65535)), Yt(t), n.wrap > 0 && (n.wrap = -n.wrap), n.pending !== 0 ? dt : $b);
|
|
19721
19716
|
}, k5 = (t) => {
|
|
19722
19717
|
if (rf(t))
|
|
19723
|
-
return
|
|
19718
|
+
return fr;
|
|
19724
19719
|
const e = t.state.status;
|
|
19725
19720
|
return t.state = null, e === Hi ? Qi(t, o5) : dt;
|
|
19726
19721
|
}, B5 = (t, e) => {
|
|
19727
19722
|
let n = e.length;
|
|
19728
19723
|
if (rf(t))
|
|
19729
|
-
return
|
|
19724
|
+
return fr;
|
|
19730
19725
|
const r = t.state, i = r.wrap;
|
|
19731
|
-
if (i === 2 || i === 1 && r.status !==
|
|
19732
|
-
return
|
|
19733
|
-
if (i === 1 && (t.adler =
|
|
19726
|
+
if (i === 2 || i === 1 && r.status !== Do || r.lookahead)
|
|
19727
|
+
return fr;
|
|
19728
|
+
if (i === 1 && (t.adler = uu(t.adler, e, n, 0)), r.wrap = 0, n >= r.w_size) {
|
|
19734
19729
|
i === 0 && (ei(r.head), r.strstart = 0, r.block_start = 0, r.insert = 0);
|
|
19735
19730
|
let f = new Uint8Array(r.w_size);
|
|
19736
19731
|
f.set(e.subarray(n - r.w_size, n), 0), e = f, n = r.w_size;
|
|
19737
19732
|
}
|
|
19738
19733
|
const a = t.avail_in, o = t.next_in, s = t.input;
|
|
19739
|
-
for (t.avail_in = n, t.next_in = 0, t.input = e,
|
|
19734
|
+
for (t.avail_in = n, t.next_in = 0, t.input = e, Io(r); r.lookahead >= pe; ) {
|
|
19740
19735
|
let f = r.strstart, u = r.lookahead - (pe - 1);
|
|
19741
19736
|
do
|
|
19742
19737
|
r.ins_h = ui(r, r.ins_h, r.window[f + pe - 1]), r.prev[f & r.w_mask] = r.head[r.ins_h], r.head[r.ins_h] = f, f++;
|
|
19743
19738
|
while (--u);
|
|
19744
|
-
r.strstart = f, r.lookahead = pe - 1,
|
|
19739
|
+
r.strstart = f, r.lookahead = pe - 1, Io(r);
|
|
19745
19740
|
}
|
|
19746
19741
|
return r.strstart += r.lookahead, r.block_start = r.strstart, r.insert = r.lookahead, r.lookahead = 0, r.match_length = r.prev_length = pe - 1, r.match_available = 0, t.next_in = o, t.input = s, t.avail_in = a, r.wrap = i, dt;
|
|
19747
19742
|
};
|
|
19748
|
-
var L5 = N5, R5 = SE, O5 = EE, z5 = AE, P5 = T5, U5 = F5, j5 = k5, G5 = B5, H5 = "pako deflate (from Nodeca project)",
|
|
19743
|
+
var L5 = N5, R5 = SE, O5 = EE, z5 = AE, P5 = T5, U5 = F5, j5 = k5, G5 = B5, H5 = "pako deflate (from Nodeca project)", Ds = {
|
|
19749
19744
|
deflateInit: L5,
|
|
19750
19745
|
deflateInit2: R5,
|
|
19751
19746
|
deflateReset: O5,
|
|
@@ -19789,10 +19784,10 @@ try {
|
|
|
19789
19784
|
} catch {
|
|
19790
19785
|
_E = !1;
|
|
19791
19786
|
}
|
|
19792
|
-
const
|
|
19787
|
+
const fu = new Uint8Array(256);
|
|
19793
19788
|
for (let t = 0; t < 256; t++)
|
|
19794
|
-
|
|
19795
|
-
|
|
19789
|
+
fu[t] = t >= 252 ? 6 : t >= 248 ? 5 : t >= 240 ? 4 : t >= 224 ? 3 : t >= 192 ? 2 : 1;
|
|
19790
|
+
fu[254] = fu[254] = 1;
|
|
19796
19791
|
var Z5 = (t) => {
|
|
19797
19792
|
if (typeof TextEncoder == "function" && TextEncoder.prototype.encode)
|
|
19798
19793
|
return new TextEncoder().encode(t);
|
|
@@ -19823,7 +19818,7 @@ var W5 = (t, e) => {
|
|
|
19823
19818
|
a[i++] = o;
|
|
19824
19819
|
continue;
|
|
19825
19820
|
}
|
|
19826
|
-
let s =
|
|
19821
|
+
let s = fu[o];
|
|
19827
19822
|
if (s > 4) {
|
|
19828
19823
|
a[i++] = 65533, r += s - 1;
|
|
19829
19824
|
continue;
|
|
@@ -19842,8 +19837,8 @@ var W5 = (t, e) => {
|
|
|
19842
19837
|
let n = e - 1;
|
|
19843
19838
|
for (; n >= 0 && (t[n] & 192) === 128; )
|
|
19844
19839
|
n--;
|
|
19845
|
-
return n < 0 || n === 0 ? e : n +
|
|
19846
|
-
},
|
|
19840
|
+
return n < 0 || n === 0 ? e : n + fu[t[n]] > e ? n : e;
|
|
19841
|
+
}, lu = {
|
|
19847
19842
|
string2buf: Z5,
|
|
19848
19843
|
buf2string: W5,
|
|
19849
19844
|
utf8border: X5
|
|
@@ -19874,7 +19869,7 @@ function Dp(t) {
|
|
|
19874
19869
|
}, t || {});
|
|
19875
19870
|
let e = this.options;
|
|
19876
19871
|
e.raw && e.windowBits > 0 ? e.windowBits = -e.windowBits : e.gzip && e.windowBits > 0 && e.windowBits < 16 && (e.windowBits += 16), this.err = 0, this.msg = "", this.ended = !1, this.chunks = [], this.strm = new CE(), this.strm.avail_out = 0;
|
|
19877
|
-
let n =
|
|
19872
|
+
let n = Ds.deflateInit2(
|
|
19878
19873
|
this.strm,
|
|
19879
19874
|
e.level,
|
|
19880
19875
|
e.method,
|
|
@@ -19883,11 +19878,11 @@ function Dp(t) {
|
|
|
19883
19878
|
e.strategy
|
|
19884
19879
|
);
|
|
19885
19880
|
if (n !== Tl)
|
|
19886
|
-
throw new Error(
|
|
19887
|
-
if (e.header &&
|
|
19881
|
+
throw new Error(Co[n]);
|
|
19882
|
+
if (e.header && Ds.deflateSetHeader(this.strm, e.header), e.dictionary) {
|
|
19888
19883
|
let r;
|
|
19889
|
-
if (typeof e.dictionary == "string" ? r =
|
|
19890
|
-
throw new Error(
|
|
19884
|
+
if (typeof e.dictionary == "string" ? r = lu.string2buf(e.dictionary) : DE.call(e.dictionary) === "[object ArrayBuffer]" ? r = new Uint8Array(e.dictionary) : r = e.dictionary, n = Ds.deflateSetDictionary(this.strm, r), n !== Tl)
|
|
19885
|
+
throw new Error(Co[n]);
|
|
19891
19886
|
this._dict_set = !0;
|
|
19892
19887
|
}
|
|
19893
19888
|
}
|
|
@@ -19896,13 +19891,13 @@ Dp.prototype.push = function(t, e) {
|
|
|
19896
19891
|
let i, a;
|
|
19897
19892
|
if (this.ended)
|
|
19898
19893
|
return !1;
|
|
19899
|
-
for (e === ~~e ? a = e : a = e === !0 ? tO : K5, typeof t == "string" ? n.input =
|
|
19894
|
+
for (e === ~~e ? a = e : a = e === !0 ? tO : K5, typeof t == "string" ? n.input = lu.string2buf(t) : DE.call(t) === "[object ArrayBuffer]" ? n.input = new Uint8Array(t) : n.input = t, n.next_in = 0, n.avail_in = n.input.length; ; ) {
|
|
19900
19895
|
if (n.avail_out === 0 && (n.output = new Uint8Array(r), n.next_out = 0, n.avail_out = r), (a === J5 || a === eO) && n.avail_out <= 6) {
|
|
19901
19896
|
this.onData(n.output.subarray(0, n.next_out)), n.avail_out = 0;
|
|
19902
19897
|
continue;
|
|
19903
19898
|
}
|
|
19904
|
-
if (i =
|
|
19905
|
-
return n.next_out > 0 && this.onData(n.output.subarray(0, n.next_out)), i =
|
|
19899
|
+
if (i = Ds.deflate(n, a), i === nO)
|
|
19900
|
+
return n.next_out > 0 && this.onData(n.output.subarray(0, n.next_out)), i = Ds.deflateEnd(this.strm), this.onEnd(i), this.ended = !0, i === Tl;
|
|
19906
19901
|
if (n.avail_out === 0) {
|
|
19907
19902
|
this.onData(n.output);
|
|
19908
19903
|
continue;
|
|
@@ -20195,7 +20190,7 @@ const Pa = 15, Jb = 852, ey = 592, ty = 0, jh = 1, ny = 2, uO = new Uint16Array(
|
|
|
20195
20190
|
}
|
|
20196
20191
|
return E !== 0 && (i[M + E] = u - b << 24 | 64 << 16 | 0), s.bits = d, 0;
|
|
20197
20192
|
};
|
|
20198
|
-
var
|
|
20193
|
+
var Is = hO;
|
|
20199
20194
|
const dO = 0, IE = 1, ME = 2, {
|
|
20200
20195
|
Z_FINISH: ry,
|
|
20201
20196
|
Z_BLOCK: gO,
|
|
@@ -20208,7 +20203,7 @@ const dO = 0, IE = 1, ME = 2, {
|
|
|
20208
20203
|
Z_MEM_ERROR: NE,
|
|
20209
20204
|
Z_BUF_ERROR: bO,
|
|
20210
20205
|
Z_DEFLATED: iy
|
|
20211
|
-
} = nf, jc = 16180, ay = 16181, oy = 16182, sy = 16183, uy = 16184, fy = 16185, ly = 16186, cy = 16187, hy = 16188, dy = 16189, Nl = 16190,
|
|
20206
|
+
} = nf, jc = 16180, ay = 16181, oy = 16182, sy = 16183, uy = 16184, fy = 16185, ly = 16186, cy = 16187, hy = 16188, dy = 16189, Nl = 16190, xr = 16191, Gh = 16192, gy = 16193, Hh = 16194, py = 16195, my = 16196, by = 16197, yy = 16198, kf = 16199, Bf = 16200, wy = 16201, xy = 16202, vy = 16203, Ay = 16204, Ey = 16205, Qh = 16206, Sy = 16207, _y = 16208, qe = 16209, FE = 16210, kE = 16211, yO = 852, wO = 592, xO = 15, vO = xO, Cy = (t) => (t >>> 24 & 255) + (t >>> 8 & 65280) + ((t & 65280) << 8) + ((t & 255) << 24);
|
|
20212
20207
|
function AO() {
|
|
20213
20208
|
this.strm = null, this.mode = 0, this.last = !1, this.wrap = 0, this.havedict = !1, this.flags = 0, this.dmax = 0, this.check = 0, this.total = 0, this.head = null, this.wbits = 0, this.wsize = 0, this.whave = 0, this.wnext = 0, this.window = null, this.hold = 0, this.bits = 0, this.length = 0, this.offset = 0, this.extra = 0, this.lencode = null, this.distcode = null, this.lenbits = 0, this.distbits = 0, this.ncode = 0, this.nlen = 0, this.ndist = 0, this.have = 0, this.next = null, this.lens = new Uint16Array(320), this.work = new Uint16Array(288), this.lendyn = null, this.distdyn = null, this.sane = 0, this.back = 0, this.was = 0;
|
|
20214
20209
|
}
|
|
@@ -20254,9 +20249,9 @@ const SO = (t) => {
|
|
|
20254
20249
|
t.lens[e++] = 7;
|
|
20255
20250
|
for (; e < 288; )
|
|
20256
20251
|
t.lens[e++] = 8;
|
|
20257
|
-
for (
|
|
20252
|
+
for (Is(IE, t.lens, 0, 288, Vh, 0, t.work, { bits: 9 }), e = 0; e < 32; )
|
|
20258
20253
|
t.lens[e++] = 5;
|
|
20259
|
-
|
|
20254
|
+
Is(ME, t.lens, 0, 32, qh, 0, t.work, { bits: 5 }), Dy = !1;
|
|
20260
20255
|
}
|
|
20261
20256
|
t.lencode = Vh, t.lenbits = 9, t.distcode = qh, t.distbits = 5;
|
|
20262
20257
|
}, zE = (t, e, n, r) => {
|
|
@@ -20273,7 +20268,7 @@ const SO = (t) => {
|
|
|
20273
20268
|
);
|
|
20274
20269
|
if (Ca(t) || !t.output || !t.input && t.avail_in !== 0)
|
|
20275
20270
|
return xn;
|
|
20276
|
-
n = t.state, n.mode ===
|
|
20271
|
+
n = t.state, n.mode === xr && (n.mode = Gh), o = t.next_out, i = t.output, f = t.avail_out, a = t.next_in, r = t.input, s = t.avail_in, u = n.hold, l = n.bits, c = s, h = f, R = ma;
|
|
20277
20272
|
e:
|
|
20278
20273
|
for (; ; )
|
|
20279
20274
|
switch (n.mode) {
|
|
@@ -20304,7 +20299,7 @@ const SO = (t) => {
|
|
|
20304
20299
|
t.msg = "invalid window size", n.mode = qe;
|
|
20305
20300
|
break;
|
|
20306
20301
|
}
|
|
20307
|
-
n.dmax = 1 << n.wbits, n.flags = 0, t.adler = n.check = 1, n.mode = u & 512 ? dy :
|
|
20302
|
+
n.dmax = 1 << n.wbits, n.flags = 0, t.adler = n.check = 1, n.mode = u & 512 ? dy : xr, u = 0, l = 0;
|
|
20308
20303
|
break;
|
|
20309
20304
|
case ay:
|
|
20310
20305
|
for (; l < 16; ) {
|
|
@@ -20398,7 +20393,7 @@ const SO = (t) => {
|
|
|
20398
20393
|
}
|
|
20399
20394
|
u = 0, l = 0;
|
|
20400
20395
|
}
|
|
20401
|
-
n.head && (n.head.hcrc = n.flags >> 9 & 1, n.head.done = !0), t.adler = n.check = 0, n.mode =
|
|
20396
|
+
n.head && (n.head.hcrc = n.flags >> 9 & 1, n.head.done = !0), t.adler = n.check = 0, n.mode = xr;
|
|
20402
20397
|
break;
|
|
20403
20398
|
case dy:
|
|
20404
20399
|
for (; l < 32; ) {
|
|
@@ -20410,8 +20405,8 @@ const SO = (t) => {
|
|
|
20410
20405
|
case Nl:
|
|
20411
20406
|
if (n.havedict === 0)
|
|
20412
20407
|
return t.next_out = o, t.avail_out = f, t.next_in = a, t.avail_in = s, n.hold = u, n.bits = l, mO;
|
|
20413
|
-
t.adler = n.check = 1, n.mode =
|
|
20414
|
-
case
|
|
20408
|
+
t.adler = n.check = 1, n.mode = xr;
|
|
20409
|
+
case xr:
|
|
20415
20410
|
if (e === gO || e === Ff)
|
|
20416
20411
|
break e;
|
|
20417
20412
|
case Gh:
|
|
@@ -20463,7 +20458,7 @@ const SO = (t) => {
|
|
|
20463
20458
|
i.set(r.subarray(a, a + d), o), s -= d, a += d, f -= d, o += d, n.length -= d;
|
|
20464
20459
|
break;
|
|
20465
20460
|
}
|
|
20466
|
-
n.mode =
|
|
20461
|
+
n.mode = xr;
|
|
20467
20462
|
break;
|
|
20468
20463
|
case my:
|
|
20469
20464
|
for (; l < 14; ) {
|
|
@@ -20487,7 +20482,7 @@ const SO = (t) => {
|
|
|
20487
20482
|
}
|
|
20488
20483
|
for (; n.have < 19; )
|
|
20489
20484
|
n.lens[ee[n.have++]] = 0;
|
|
20490
|
-
if (n.lencode = n.lendyn, n.lenbits = 7, B = { bits: n.lenbits }, R =
|
|
20485
|
+
if (n.lencode = n.lendyn, n.lenbits = 7, B = { bits: n.lenbits }, R = Is(dO, n.lens, 0, 19, n.lencode, 0, n.work, B), n.lenbits = B.bits, R) {
|
|
20491
20486
|
t.msg = "invalid code lengths set", n.mode = qe;
|
|
20492
20487
|
break;
|
|
20493
20488
|
}
|
|
@@ -20542,11 +20537,11 @@ const SO = (t) => {
|
|
|
20542
20537
|
t.msg = "invalid code -- missing end-of-block", n.mode = qe;
|
|
20543
20538
|
break;
|
|
20544
20539
|
}
|
|
20545
|
-
if (n.lenbits = 9, B = { bits: n.lenbits }, R =
|
|
20540
|
+
if (n.lenbits = 9, B = { bits: n.lenbits }, R = Is(IE, n.lens, 0, n.nlen, n.lencode, 0, n.work, B), n.lenbits = B.bits, R) {
|
|
20546
20541
|
t.msg = "invalid literal/lengths set", n.mode = qe;
|
|
20547
20542
|
break;
|
|
20548
20543
|
}
|
|
20549
|
-
if (n.distbits = 6, n.distcode = n.distdyn, B = { bits: n.distbits }, R =
|
|
20544
|
+
if (n.distbits = 6, n.distcode = n.distdyn, B = { bits: n.distbits }, R = Is(ME, n.lens, n.nlen, n.ndist, n.distcode, 0, n.work, B), n.distbits = B.bits, R) {
|
|
20550
20545
|
t.msg = "invalid distances set", n.mode = qe;
|
|
20551
20546
|
break;
|
|
20552
20547
|
}
|
|
@@ -20556,7 +20551,7 @@ const SO = (t) => {
|
|
|
20556
20551
|
n.mode = Bf;
|
|
20557
20552
|
case Bf:
|
|
20558
20553
|
if (s >= 6 && f >= 258) {
|
|
20559
|
-
t.next_out = o, t.avail_out = f, t.next_in = a, t.avail_in = s, n.hold = u, n.bits = l, sO(t, h), o = t.next_out, i = t.output, f = t.avail_out, a = t.next_in, r = t.input, s = t.avail_in, u = n.hold, l = n.bits, n.mode ===
|
|
20554
|
+
t.next_out = o, t.avail_out = f, t.next_in = a, t.avail_in = s, n.hold = u, n.bits = l, sO(t, h), o = t.next_out, i = t.output, f = t.avail_out, a = t.next_in, r = t.input, s = t.avail_in, u = n.hold, l = n.bits, n.mode === xr && (n.back = -1);
|
|
20560
20555
|
break;
|
|
20561
20556
|
}
|
|
20562
20557
|
for (n.back = 0; y = n.lencode[u & (1 << n.lenbits) - 1], w = y >>> 24, E = y >>> 16 & 255, _ = y & 65535, !(w <= l); ) {
|
|
@@ -20577,7 +20572,7 @@ const SO = (t) => {
|
|
|
20577
20572
|
break;
|
|
20578
20573
|
}
|
|
20579
20574
|
if (E & 32) {
|
|
20580
|
-
n.back = -1, n.mode =
|
|
20575
|
+
n.back = -1, n.mode = xr;
|
|
20581
20576
|
break;
|
|
20582
20577
|
}
|
|
20583
20578
|
if (E & 64) {
|
|
@@ -20658,7 +20653,7 @@ const SO = (t) => {
|
|
|
20658
20653
|
s--, u |= r[a++] << l, l += 8;
|
|
20659
20654
|
}
|
|
20660
20655
|
if (h -= f, t.total_out += h, n.total += h, n.wrap & 4 && h && (t.adler = n.check = /*UPDATE_CHECK(state.check, put - _out, _out);*/
|
|
20661
|
-
n.flags ? ot(n.check, i, h, o - h) :
|
|
20656
|
+
n.flags ? ot(n.check, i, h, o - h) : uu(n.check, i, h, o - h)), h = f, n.wrap & 4 && (n.flags ? u : Cy(u)) !== n.check) {
|
|
20662
20657
|
t.msg = "incorrect data check", n.mode = qe;
|
|
20663
20658
|
break;
|
|
20664
20659
|
}
|
|
@@ -20692,7 +20687,7 @@ const SO = (t) => {
|
|
|
20692
20687
|
return xn;
|
|
20693
20688
|
}
|
|
20694
20689
|
return t.next_out = o, t.avail_out = f, t.next_in = a, t.avail_in = s, n.hold = u, n.bits = l, (n.wsize || h !== t.avail_out && n.mode < qe && (n.mode < Qh || e !== ry)) && zE(t, t.output, t.next_out, h - t.avail_out), c -= t.avail_in, h -= t.avail_out, t.total_in += c, t.total_out += h, n.total += h, n.wrap & 4 && h && (t.adler = n.check = /*UPDATE_CHECK(state.check, strm.next_out - _out, _out);*/
|
|
20695
|
-
n.flags ? ot(n.check, i, h, t.next_out - h) :
|
|
20690
|
+
n.flags ? ot(n.check, i, h, t.next_out - h) : uu(n.check, i, h, t.next_out - h)), t.data_type = n.bits + (n.last ? 64 : 0) + (n.mode === xr ? 128 : 0) + (n.mode === kf || n.mode === Hh ? 256 : 0), (c === 0 && h === 0 || e === ry) && R === ma && (R = bO), R;
|
|
20696
20691
|
}, CO = (t) => {
|
|
20697
20692
|
if (Ca(t))
|
|
20698
20693
|
return xn;
|
|
@@ -20706,7 +20701,7 @@ const SO = (t) => {
|
|
|
20706
20701
|
}, IO = (t, e) => {
|
|
20707
20702
|
const n = e.length;
|
|
20708
20703
|
let r, i, a;
|
|
20709
|
-
return Ca(t) || (r = t.state, r.wrap !== 0 && r.mode !== Nl) ? xn : r.mode === Nl && (i = 1, i =
|
|
20704
|
+
return Ca(t) || (r = t.state, r.wrap !== 0 && r.mode !== Nl) ? xn : r.mode === Nl && (i = 1, i = uu(i, e, n, 0), i !== r.check) ? TE : (a = zE(t, e, n, n), a ? (r.mode = FE, NE) : (r.havedict = 1, ma));
|
|
20710
20705
|
};
|
|
20711
20706
|
var MO = LE, TO = RE, NO = BE, FO = EO, kO = OE, BO = _O, LO = CO, RO = DO, OO = IO, zO = "pako inflate (from Nodeca project)", Cr = {
|
|
20712
20707
|
inflateReset: MO,
|
|
@@ -20727,7 +20722,7 @@ var UO = PO;
|
|
|
20727
20722
|
const PE = Object.prototype.toString, {
|
|
20728
20723
|
Z_NO_FLUSH: jO,
|
|
20729
20724
|
Z_FINISH: GO,
|
|
20730
|
-
Z_OK:
|
|
20725
|
+
Z_OK: cu,
|
|
20731
20726
|
Z_STREAM_END: Zh,
|
|
20732
20727
|
Z_NEED_DICT: Yh,
|
|
20733
20728
|
Z_STREAM_ERROR: HO,
|
|
@@ -20746,10 +20741,10 @@ function af(t) {
|
|
|
20746
20741
|
this.strm,
|
|
20747
20742
|
e.windowBits
|
|
20748
20743
|
);
|
|
20749
|
-
if (n !==
|
|
20750
|
-
throw new Error(
|
|
20751
|
-
if (this.header = new UO(), Cr.inflateGetHeader(this.strm, this.header), e.dictionary && (typeof e.dictionary == "string" ? e.dictionary =
|
|
20752
|
-
throw new Error(
|
|
20744
|
+
if (n !== cu)
|
|
20745
|
+
throw new Error(Co[n]);
|
|
20746
|
+
if (this.header = new UO(), Cr.inflateGetHeader(this.strm, this.header), e.dictionary && (typeof e.dictionary == "string" ? e.dictionary = lu.string2buf(e.dictionary) : PE.call(e.dictionary) === "[object ArrayBuffer]" && (e.dictionary = new Uint8Array(e.dictionary)), e.raw && (n = Cr.inflateSetDictionary(this.strm, e.dictionary), n !== cu)))
|
|
20747
|
+
throw new Error(Co[n]);
|
|
20753
20748
|
}
|
|
20754
20749
|
af.prototype.push = function(t, e) {
|
|
20755
20750
|
const n = this.strm, r = this.options.chunkSize, i = this.options.dictionary;
|
|
@@ -20757,7 +20752,7 @@ af.prototype.push = function(t, e) {
|
|
|
20757
20752
|
if (this.ended)
|
|
20758
20753
|
return !1;
|
|
20759
20754
|
for (e === ~~e ? o = e : o = e === !0 ? GO : jO, PE.call(t) === "[object ArrayBuffer]" ? n.input = new Uint8Array(t) : n.input = t, n.next_in = 0, n.avail_in = n.input.length; ; ) {
|
|
20760
|
-
for (n.avail_out === 0 && (n.output = new Uint8Array(r), n.next_out = 0, n.avail_out = r), a = Cr.inflate(n, o), a === Yh && i && (a = Cr.inflateSetDictionary(n, i), a ===
|
|
20755
|
+
for (n.avail_out === 0 && (n.output = new Uint8Array(r), n.next_out = 0, n.avail_out = r), a = Cr.inflate(n, o), a === Yh && i && (a = Cr.inflateSetDictionary(n, i), a === cu ? a = Cr.inflate(n, o) : a === Iy && (a = Yh)); n.avail_in > 0 && a === Zh && n.state.wrap > 0 && t[n.next_in] !== 0; )
|
|
20761
20756
|
Cr.inflateReset(n), a = Cr.inflate(n, o);
|
|
20762
20757
|
switch (a) {
|
|
20763
20758
|
case HO:
|
|
@@ -20768,11 +20763,11 @@ af.prototype.push = function(t, e) {
|
|
|
20768
20763
|
}
|
|
20769
20764
|
if (s = n.avail_out, n.next_out && (n.avail_out === 0 || a === Zh))
|
|
20770
20765
|
if (this.options.to === "string") {
|
|
20771
|
-
let f =
|
|
20766
|
+
let f = lu.utf8border(n.output, n.next_out), u = n.next_out - f, l = lu.buf2string(n.output, f);
|
|
20772
20767
|
n.next_out = u, n.avail_out = r - u, u && n.output.set(n.output.subarray(f, f + u), 0), this.onData(l);
|
|
20773
20768
|
} else
|
|
20774
20769
|
this.onData(n.output.length === n.next_out ? n.output : n.output.subarray(0, n.next_out));
|
|
20775
|
-
if (!(a ===
|
|
20770
|
+
if (!(a === cu && s === 0)) {
|
|
20776
20771
|
if (a === Zh)
|
|
20777
20772
|
return a = Cr.inflateEnd(this.strm), this.onEnd(a), this.ended = !0, !0;
|
|
20778
20773
|
if (n.avail_in === 0)
|
|
@@ -20785,12 +20780,12 @@ af.prototype.onData = function(t) {
|
|
|
20785
20780
|
this.chunks.push(t);
|
|
20786
20781
|
};
|
|
20787
20782
|
af.prototype.onEnd = function(t) {
|
|
20788
|
-
t ===
|
|
20783
|
+
t === cu && (this.options.to === "string" ? this.result = this.chunks.join("") : this.result = Uc.flattenChunks(this.chunks)), this.chunks = [], this.err = t, this.msg = this.strm.msg;
|
|
20789
20784
|
};
|
|
20790
20785
|
function Ip(t, e) {
|
|
20791
20786
|
const n = new af(e);
|
|
20792
20787
|
if (n.push(t), n.err)
|
|
20793
|
-
throw n.msg ||
|
|
20788
|
+
throw n.msg || Co[n.err];
|
|
20794
20789
|
return n.result;
|
|
20795
20790
|
}
|
|
20796
20791
|
function VO(t, e) {
|
|
@@ -21047,7 +21042,7 @@ class UE {
|
|
|
21047
21042
|
break;
|
|
21048
21043
|
}
|
|
21049
21044
|
case "bigbed": {
|
|
21050
|
-
e.next(this.parseBigBedBlock(b, g, Number(d.offset) *
|
|
21045
|
+
e.next(this.parseBigBedBlock(b, g, Number(d.offset) * 256, s));
|
|
21051
21046
|
break;
|
|
21052
21047
|
}
|
|
21053
21048
|
default:
|
|
@@ -21169,7 +21164,7 @@ function jE(t, e) {
|
|
|
21169
21164
|
return { value: u[0] ? u[1] : void 0, done: !0 };
|
|
21170
21165
|
}
|
|
21171
21166
|
}
|
|
21172
|
-
function
|
|
21167
|
+
function hu(t) {
|
|
21173
21168
|
var e = typeof Symbol == "function" && Symbol.iterator, n = e && t[e], r = 0;
|
|
21174
21169
|
if (n)
|
|
21175
21170
|
return n.call(t);
|
|
@@ -21248,7 +21243,7 @@ function fz(t) {
|
|
|
21248
21243
|
if (!Symbol.asyncIterator)
|
|
21249
21244
|
throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
21250
21245
|
var e = t[Symbol.asyncIterator], n;
|
|
21251
|
-
return e ? e.call(t) : (t = typeof
|
|
21246
|
+
return e ? e.call(t) : (t = typeof hu == "function" ? hu(t) : t[Symbol.iterator](), n = {}, r("next"), r("throw"), r("return"), n[Symbol.asyncIterator] = function() {
|
|
21252
21247
|
return this;
|
|
21253
21248
|
}, n);
|
|
21254
21249
|
function r(a) {
|
|
@@ -21300,7 +21295,7 @@ var Tp = function() {
|
|
|
21300
21295
|
if (o)
|
|
21301
21296
|
if (this._parentage = null, Array.isArray(o))
|
|
21302
21297
|
try {
|
|
21303
|
-
for (var s =
|
|
21298
|
+
for (var s = hu(o), f = s.next(); !f.done; f = s.next()) {
|
|
21304
21299
|
var u = f.value;
|
|
21305
21300
|
u.remove(this);
|
|
21306
21301
|
}
|
|
@@ -21327,7 +21322,7 @@ var Tp = function() {
|
|
|
21327
21322
|
if (c) {
|
|
21328
21323
|
this._finalizers = null;
|
|
21329
21324
|
try {
|
|
21330
|
-
for (var h =
|
|
21325
|
+
for (var h = hu(c), d = h.next(); !d.done; d = h.next()) {
|
|
21331
21326
|
var g = d.value;
|
|
21332
21327
|
try {
|
|
21333
21328
|
Ty(g);
|
|
@@ -21602,7 +21597,7 @@ function bz(t) {
|
|
|
21602
21597
|
function yz(t) {
|
|
21603
21598
|
return it(t == null ? void 0 : t.lift);
|
|
21604
21599
|
}
|
|
21605
|
-
function
|
|
21600
|
+
function qo(t) {
|
|
21606
21601
|
return function(e) {
|
|
21607
21602
|
if (yz(e))
|
|
21608
21603
|
return e.lift(function(n) {
|
|
@@ -21615,7 +21610,7 @@ function Zo(t) {
|
|
|
21615
21610
|
throw new TypeError("Unable to lift unknown Observable type");
|
|
21616
21611
|
};
|
|
21617
21612
|
}
|
|
21618
|
-
function
|
|
21613
|
+
function du(t, e, n, r, i) {
|
|
21619
21614
|
return new wz(t, e, n, r, i);
|
|
21620
21615
|
}
|
|
21621
21616
|
var wz = function(t) {
|
|
@@ -21724,7 +21719,7 @@ function t3(t) {
|
|
|
21724
21719
|
function n3(t) {
|
|
21725
21720
|
return it(t == null ? void 0 : t.getReader);
|
|
21726
21721
|
}
|
|
21727
|
-
function
|
|
21722
|
+
function Zo(t) {
|
|
21728
21723
|
if (t instanceof En)
|
|
21729
21724
|
return t;
|
|
21730
21725
|
if (t != null) {
|
|
@@ -21771,7 +21766,7 @@ function Iz(t) {
|
|
|
21771
21766
|
return new En(function(e) {
|
|
21772
21767
|
var n, r;
|
|
21773
21768
|
try {
|
|
21774
|
-
for (var i =
|
|
21769
|
+
for (var i = hu(t), a = i.next(); !a.done; a = i.next()) {
|
|
21775
21770
|
var o = a.value;
|
|
21776
21771
|
if (e.next(o), e.closed)
|
|
21777
21772
|
return;
|
|
@@ -21848,8 +21843,8 @@ function fi(t, e, n, r, i) {
|
|
|
21848
21843
|
return a;
|
|
21849
21844
|
}
|
|
21850
21845
|
function i3(t, e) {
|
|
21851
|
-
return e === void 0 && (e = 0),
|
|
21852
|
-
n.subscribe(
|
|
21846
|
+
return e === void 0 && (e = 0), qo(function(n, r) {
|
|
21847
|
+
n.subscribe(du(r, function(i) {
|
|
21853
21848
|
return fi(r, t, function() {
|
|
21854
21849
|
return r.next(i);
|
|
21855
21850
|
}, e);
|
|
@@ -21865,17 +21860,17 @@ function i3(t, e) {
|
|
|
21865
21860
|
});
|
|
21866
21861
|
}
|
|
21867
21862
|
function a3(t, e) {
|
|
21868
|
-
return e === void 0 && (e = 0),
|
|
21863
|
+
return e === void 0 && (e = 0), qo(function(n, r) {
|
|
21869
21864
|
r.add(t.schedule(function() {
|
|
21870
21865
|
return n.subscribe(r);
|
|
21871
21866
|
}, e));
|
|
21872
21867
|
});
|
|
21873
21868
|
}
|
|
21874
21869
|
function Nz(t, e) {
|
|
21875
|
-
return
|
|
21870
|
+
return Zo(t).pipe(a3(e), i3(e));
|
|
21876
21871
|
}
|
|
21877
21872
|
function Fz(t, e) {
|
|
21878
|
-
return
|
|
21873
|
+
return Zo(t).pipe(a3(e), i3(e));
|
|
21879
21874
|
}
|
|
21880
21875
|
function kz(t, e) {
|
|
21881
21876
|
return new En(function(n) {
|
|
@@ -21939,7 +21934,7 @@ function Rz(t, e) {
|
|
|
21939
21934
|
throw KE(t);
|
|
21940
21935
|
}
|
|
21941
21936
|
function Oz(t, e) {
|
|
21942
|
-
return e ? Rz(t, e) :
|
|
21937
|
+
return e ? Rz(t, e) : Zo(t);
|
|
21943
21938
|
}
|
|
21944
21939
|
var zz = GE(function(t) {
|
|
21945
21940
|
return function() {
|
|
@@ -21962,9 +21957,9 @@ function s3(t, e) {
|
|
|
21962
21957
|
});
|
|
21963
21958
|
}
|
|
21964
21959
|
function u3(t, e) {
|
|
21965
|
-
return
|
|
21960
|
+
return qo(function(n, r) {
|
|
21966
21961
|
var i = 0;
|
|
21967
|
-
n.subscribe(
|
|
21962
|
+
n.subscribe(du(r, function(a) {
|
|
21968
21963
|
r.next(t.call(e, a, i++));
|
|
21969
21964
|
}));
|
|
21970
21965
|
});
|
|
@@ -21977,7 +21972,7 @@ function Pz(t, e, n, r, i, a, o, s) {
|
|
|
21977
21972
|
}, g = function(b) {
|
|
21978
21973
|
a && e.next(b), u++;
|
|
21979
21974
|
var y = !1;
|
|
21980
|
-
|
|
21975
|
+
Zo(n(b, l++)).subscribe(du(e, function(w) {
|
|
21981
21976
|
i == null || i(w), a ? d(w) : e.next(w);
|
|
21982
21977
|
}, function() {
|
|
21983
21978
|
y = !0;
|
|
@@ -21998,7 +21993,7 @@ function Pz(t, e, n, r, i, a, o, s) {
|
|
|
21998
21993
|
}
|
|
21999
21994
|
}));
|
|
22000
21995
|
};
|
|
22001
|
-
return t.subscribe(
|
|
21996
|
+
return t.subscribe(du(e, d, function() {
|
|
22002
21997
|
c = !0, h();
|
|
22003
21998
|
})), function() {
|
|
22004
21999
|
s == null || s();
|
|
@@ -22008,8 +22003,8 @@ function f3(t, e, n) {
|
|
|
22008
22003
|
return n === void 0 && (n = 1 / 0), it(e) ? f3(function(r, i) {
|
|
22009
22004
|
return u3(function(a, o) {
|
|
22010
22005
|
return e(r, a, i, o);
|
|
22011
|
-
})(
|
|
22012
|
-
}, n) : (typeof e == "number" && (n = e),
|
|
22006
|
+
})(Zo(t(r, i)));
|
|
22007
|
+
}, n) : (typeof e == "number" && (n = e), qo(function(r, i) {
|
|
22013
22008
|
return Pz(r, i, t, n);
|
|
22014
22009
|
}));
|
|
22015
22010
|
}
|
|
@@ -22020,12 +22015,12 @@ function jz() {
|
|
|
22020
22015
|
for (var t = [], e = 0; e < arguments.length; e++)
|
|
22021
22016
|
t[e] = arguments[e];
|
|
22022
22017
|
var n = Az(t), r = Ez(t, 1 / 0), i = t;
|
|
22023
|
-
return i.length ? i.length === 1 ?
|
|
22018
|
+
return i.length ? i.length === 1 ? Zo(i[0]) : Uz(r)(Oz(i, n)) : xz;
|
|
22024
22019
|
}
|
|
22025
22020
|
function Gz(t, e, n, r, i) {
|
|
22026
22021
|
return function(a, o) {
|
|
22027
22022
|
var s = n, f = e, u = 0;
|
|
22028
|
-
a.subscribe(
|
|
22023
|
+
a.subscribe(du(o, function(l) {
|
|
22029
22024
|
var c = u++;
|
|
22030
22025
|
f = s ? t(f, l, c) : (s = !0, l), r && o.next(f);
|
|
22031
22026
|
}, i && function() {
|
|
@@ -22034,13 +22029,13 @@ function Gz(t, e, n, r, i) {
|
|
|
22034
22029
|
};
|
|
22035
22030
|
}
|
|
22036
22031
|
function l3(t, e) {
|
|
22037
|
-
return
|
|
22032
|
+
return qo(Gz(t, e, arguments.length >= 2, !1, !0));
|
|
22038
22033
|
}
|
|
22039
22034
|
var Hz = function(t, e) {
|
|
22040
22035
|
return t.push(e), t;
|
|
22041
22036
|
};
|
|
22042
22037
|
function Qz() {
|
|
22043
|
-
return
|
|
22038
|
+
return qo(function(t, e) {
|
|
22044
22039
|
l3(Hz, [])(t).subscribe(e);
|
|
22045
22040
|
});
|
|
22046
22041
|
}
|
|
@@ -22081,7 +22076,7 @@ class c3 {
|
|
|
22081
22076
|
if (this.renameRefSeqs = r, n)
|
|
22082
22077
|
this.bbi = n;
|
|
22083
22078
|
else if (a)
|
|
22084
|
-
this.bbi = new
|
|
22079
|
+
this.bbi = new ir(a);
|
|
22085
22080
|
else if (i)
|
|
22086
22081
|
this.bbi = new $t(i);
|
|
22087
22082
|
else
|
|
@@ -22335,7 +22330,7 @@ class Wz extends Ku(va) {
|
|
|
22335
22330
|
if (this.params = i, !this.params.url)
|
|
22336
22331
|
throw new Error("No URL provided for BigWigSource");
|
|
22337
22332
|
this.bbi = new qz({
|
|
22338
|
-
filehandle: new
|
|
22333
|
+
filehandle: new ir(
|
|
22339
22334
|
Ju(this.params.url, this.view.getBaseUrl())
|
|
22340
22335
|
)
|
|
22341
22336
|
}), this.doDebouncedRequest = Gc(
|
|
@@ -22414,11 +22409,11 @@ function $z(t, e) {
|
|
|
22414
22409
|
}
|
|
22415
22410
|
n.prototype = e.prototype, t.prototype = new n();
|
|
22416
22411
|
}
|
|
22417
|
-
function
|
|
22418
|
-
this.message = t, this.expected = e, this.found = n, this.location = r, this.name = "SyntaxError", typeof Error.captureStackTrace == "function" && Error.captureStackTrace(this,
|
|
22412
|
+
function Mo(t, e, n, r) {
|
|
22413
|
+
this.message = t, this.expected = e, this.found = n, this.location = r, this.name = "SyntaxError", typeof Error.captureStackTrace == "function" && Error.captureStackTrace(this, Mo);
|
|
22419
22414
|
}
|
|
22420
|
-
$z(
|
|
22421
|
-
|
|
22415
|
+
$z(Mo, Error);
|
|
22416
|
+
Mo.buildMessage = function(t, e) {
|
|
22422
22417
|
var n = {
|
|
22423
22418
|
literal: function(u) {
|
|
22424
22419
|
return '"' + i(u.text) + '"';
|
|
@@ -22498,16 +22493,16 @@ function Kz(t, e) {
|
|
|
22498
22493
|
return { type: A, vals: U, name: $, comment: K };
|
|
22499
22494
|
}, Ne = ",", Ge = Me(",", !1), Nt = function(A, U) {
|
|
22500
22495
|
return U.unshift(A), U;
|
|
22501
|
-
}, Sn = "int", Qn = Me("int", !1), z = "uint", O = Me("uint", !1), q = "short", Q = Me("short", !1), X = "ushort", S = Me("ushort", !1), v = "byte", G = Me("byte", !1), V = "ubyte", le = Me("ubyte", !1), re = "float", ce = Me("float", !1), Ft = "char", zr = Me("char", !1), Pr = "string", Ur = Me("string", !1), yt = "lstring",
|
|
22496
|
+
}, Sn = "int", Qn = Me("int", !1), z = "uint", O = Me("uint", !1), q = "short", Q = Me("short", !1), X = "ushort", S = Me("ushort", !1), v = "byte", G = Me("byte", !1), V = "ubyte", le = Me("ubyte", !1), re = "float", ce = Me("float", !1), Ft = "char", zr = Me("char", !1), Pr = "string", Ur = Me("string", !1), yt = "lstring", pr = Me("lstring", !1), jr = "enum", kt = Me("enum", !1), Vn = "double", x = Me("double", !1), p = "bigint", m = Me("bigint", !1), I = "set", k = Me("set", !1), P = function(A, U) {
|
|
22502
22497
|
return A + " " + U;
|
|
22503
|
-
}, H = /^[a-zA-Z_]/, he =
|
|
22498
|
+
}, H = /^[a-zA-Z_]/, he = Xo([["a", "z"], ["A", "Z"], "_"], !1, !1), Pe = /^[a-zA-Z0-9_]/, Fe = Xo([["a", "z"], ["A", "Z"], ["0", "9"], "_"], !1, !1), He = function(A) {
|
|
22504
22499
|
return Kp();
|
|
22505
|
-
}, Se = /^[^\n\r]/, Zp =
|
|
22500
|
+
}, Se = /^[^\n\r]/, Zp = Xo([`
|
|
22506
22501
|
`, "\r"], !0, !1), _S = function(A) {
|
|
22507
22502
|
return A.join("").replace(/^"/, "").replace(/"$/, "");
|
|
22508
|
-
}, CS = Jp("integer"), Yp = /^[0-9]/, Wp =
|
|
22503
|
+
}, CS = Jp("integer"), Yp = /^[0-9]/, Wp = Xo([["0", "9"]], !1, !1), DS = function() {
|
|
22509
22504
|
return parseInt(Kp(), 10);
|
|
22510
|
-
}, IS = Jp("whitespace"), Xp = /^[ \t\n\r]/, $p =
|
|
22505
|
+
}, IS = Jp("whitespace"), Xp = /^[ \t\n\r]/, $p = Xo([" ", " ", `
|
|
22511
22506
|
`, "\r"], !1, !1), F = 0, _t = 0, uf = [{ line: 1, column: 1 }], qn = 0, Qc = [], oe = 0, ff;
|
|
22512
22507
|
if ("startRule" in e) {
|
|
22513
22508
|
if (!(e.startRule in r))
|
|
@@ -22520,7 +22515,7 @@ function Kz(t, e) {
|
|
|
22520
22515
|
function Me(A, U) {
|
|
22521
22516
|
return { type: "literal", text: A, ignoreCase: U };
|
|
22522
22517
|
}
|
|
22523
|
-
function
|
|
22518
|
+
function Xo(A, U, $) {
|
|
22524
22519
|
return { type: "class", parts: A, inverted: U, ignoreCase: $ };
|
|
22525
22520
|
}
|
|
22526
22521
|
function MS() {
|
|
@@ -22561,11 +22556,11 @@ function Kz(t, e) {
|
|
|
22561
22556
|
F < qn || (F > qn && (qn = F, Qc = []), Qc.push(A));
|
|
22562
22557
|
}
|
|
22563
22558
|
function TS(A, U, $) {
|
|
22564
|
-
return new
|
|
22559
|
+
return new Mo(Mo.buildMessage(A, U), A, U, $);
|
|
22565
22560
|
}
|
|
22566
22561
|
function nm() {
|
|
22567
|
-
var A, U, $, K, ae, Be, Qe, nn, Gr,
|
|
22568
|
-
return A = F, U = be(), U !== n ? ($ = rm(), $ !== n ? (K = be(), K !== n ? (ae = im(), ae !== n ? (Be = be(), Be !== n ? (Qe = lf(), Qe !== n ? (nn = be(), nn !== n ? (t.charCodeAt(F) === 40 ? (Gr = a, F++) : (Gr = n, oe === 0 && se(o)), Gr !== n ? (
|
|
22562
|
+
var A, U, $, K, ae, Be, Qe, nn, Gr, mr, Hr, br, Qr, yr;
|
|
22563
|
+
return A = F, U = be(), U !== n ? ($ = rm(), $ !== n ? (K = be(), K !== n ? (ae = im(), ae !== n ? (Be = be(), Be !== n ? (Qe = lf(), Qe !== n ? (nn = be(), nn !== n ? (t.charCodeAt(F) === 40 ? (Gr = a, F++) : (Gr = n, oe === 0 && se(o)), Gr !== n ? (mr = be(), mr !== n ? (Hr = NS(), Hr !== n ? (br = be(), br !== n ? (t.charCodeAt(F) === 41 ? (Qr = s, F++) : (Qr = n, oe === 0 && se(f)), Qr !== n ? (yr = be(), yr !== n ? (_t = A, U = u($, ae, Qe, Hr), A = U) : (F = A, A = n)) : (F = A, A = n)) : (F = A, A = n)) : (F = A, A = n)) : (F = A, A = n)) : (F = A, A = n)) : (F = A, A = n)) : (F = A, A = n)) : (F = A, A = n)) : (F = A, A = n)) : (F = A, A = n)) : (F = A, A = n)) : (F = A, A = n), A;
|
|
22569
22564
|
}
|
|
22570
22565
|
function rm() {
|
|
22571
22566
|
var A;
|
|
@@ -22605,8 +22600,8 @@ function Kz(t, e) {
|
|
|
22605
22600
|
return A = F, U = be(), U !== n ? ($ = FS(), $ !== n ? (K = om(), K !== n ? (ae = be(), ae !== n ? (U = [U, $, K, ae], A = U) : (F = A, A = n)) : (F = A, A = n)) : (F = A, A = n)) : (F = A, A = n), A;
|
|
22606
22601
|
}
|
|
22607
22602
|
function Vc() {
|
|
22608
|
-
var A, U, $, K, ae, Be, Qe, nn, Gr,
|
|
22609
|
-
return A = F, U = qc(), U !== n ? ($ = be(), $ !== n ? (K = _n(), K !== n ? (ae = be(), ae !== n ? (t.charCodeAt(F) === 59 ? (Be = ee, F++) : (Be = n, oe === 0 && se(te)), Be !== n ? (Qe = be(), Qe !== n ? (nn = lf(), nn !== n ? (_t = A, U = J(U, K, nn), A = U) : (F = A, A = n)) : (F = A, A = n)) : (F = A, A = n)) : (F = A, A = n)) : (F = A, A = n)) : (F = A, A = n)) : (F = A, A = n), A === n && (A = F, U = qc(), U !== n ? ($ = be(), $ !== n ? (t.charCodeAt(F) === 91 ? (K = de, F++) : (K = n, oe === 0 && se(ye)), K !== n ? (ae = be(), ae !== n ? (Be = LS(), Be !== n ? (Qe = be(), Qe !== n ? (t.charCodeAt(F) === 93 ? (nn = Ce, F++) : (nn = n, oe === 0 && se(et)), nn !== n ? (Gr = be(), Gr !== n ? (
|
|
22603
|
+
var A, U, $, K, ae, Be, Qe, nn, Gr, mr, Hr, br, Qr, yr;
|
|
22604
|
+
return A = F, U = qc(), U !== n ? ($ = be(), $ !== n ? (K = _n(), K !== n ? (ae = be(), ae !== n ? (t.charCodeAt(F) === 59 ? (Be = ee, F++) : (Be = n, oe === 0 && se(te)), Be !== n ? (Qe = be(), Qe !== n ? (nn = lf(), nn !== n ? (_t = A, U = J(U, K, nn), A = U) : (F = A, A = n)) : (F = A, A = n)) : (F = A, A = n)) : (F = A, A = n)) : (F = A, A = n)) : (F = A, A = n)) : (F = A, A = n), A === n && (A = F, U = qc(), U !== n ? ($ = be(), $ !== n ? (t.charCodeAt(F) === 91 ? (K = de, F++) : (K = n, oe === 0 && se(ye)), K !== n ? (ae = be(), ae !== n ? (Be = LS(), Be !== n ? (Qe = be(), Qe !== n ? (t.charCodeAt(F) === 93 ? (nn = Ce, F++) : (nn = n, oe === 0 && se(et)), nn !== n ? (Gr = be(), Gr !== n ? (mr = _n(), mr !== n ? (Hr = be(), Hr !== n ? (t.charCodeAt(F) === 59 ? (br = ee, F++) : (br = n, oe === 0 && se(te)), br !== n ? (Qr = be(), Qr !== n ? (yr = lf(), yr !== n ? (_t = A, U = $e(U, Be, mr, yr), A = U) : (F = A, A = n)) : (F = A, A = n)) : (F = A, A = n)) : (F = A, A = n)) : (F = A, A = n)) : (F = A, A = n)) : (F = A, A = n)) : (F = A, A = n)) : (F = A, A = n)) : (F = A, A = n)) : (F = A, A = n)) : (F = A, A = n)) : (F = A, A = n), A === n && (A = F, U = qc(), U !== n ? ($ = be(), $ !== n ? (t.charCodeAt(F) === 40 ? (K = a, F++) : (K = n, oe === 0 && se(o)), K !== n ? (ae = be(), ae !== n ? (Be = BS(), Be !== n ? (Qe = be(), Qe !== n ? (t.charCodeAt(F) === 41 ? (nn = s, F++) : (nn = n, oe === 0 && se(f)), nn !== n ? (Gr = be(), Gr !== n ? (mr = _n(), mr !== n ? (Hr = be(), Hr !== n ? (t.charCodeAt(F) === 59 ? (br = ee, F++) : (br = n, oe === 0 && se(te)), br !== n ? (Qr = be(), Qr !== n ? (yr = lf(), yr !== n ? (_t = A, U = Hn(U, Be, mr, yr), A = U) : (F = A, A = n)) : (F = A, A = n)) : (F = A, A = n)) : (F = A, A = n)) : (F = A, A = n)) : (F = A, A = n)) : (F = A, A = n)) : (F = A, A = n)) : (F = A, A = n)) : (F = A, A = n)) : (F = A, A = n)) : (F = A, A = n)) : (F = A, A = n), A === n && (A = kS()))), A;
|
|
22610
22605
|
}
|
|
22611
22606
|
function BS() {
|
|
22612
22607
|
var A, U, $, K, ae, Be, Qe;
|
|
@@ -22620,7 +22615,7 @@ function Kz(t, e) {
|
|
|
22620
22615
|
}
|
|
22621
22616
|
function qc() {
|
|
22622
22617
|
var A, U, $, K;
|
|
22623
|
-
return t.substr(F, 3) === Sn ? (A = Sn, F += 3) : (A = n, oe === 0 && se(Qn)), A === n && (t.substr(F, 4) === z ? (A = z, F += 4) : (A = n, oe === 0 && se(O)), A === n && (t.substr(F, 5) === q ? (A = q, F += 5) : (A = n, oe === 0 && se(Q)), A === n && (t.substr(F, 6) === X ? (A = X, F += 6) : (A = n, oe === 0 && se(S)), A === n && (t.substr(F, 4) === v ? (A = v, F += 4) : (A = n, oe === 0 && se(G)), A === n && (t.substr(F, 5) === V ? (A = V, F += 5) : (A = n, oe === 0 && se(le)), A === n && (t.substr(F, 5) === re ? (A = re, F += 5) : (A = n, oe === 0 && se(ce)), A === n && (t.substr(F, 4) === Ft ? (A = Ft, F += 4) : (A = n, oe === 0 && se(zr)), A === n && (t.substr(F, 6) === Pr ? (A = Pr, F += 6) : (A = n, oe === 0 && se(Ur)), A === n && (t.substr(F, 7) === yt ? (A = yt, F += 7) : (A = n, oe === 0 && se(
|
|
22618
|
+
return t.substr(F, 3) === Sn ? (A = Sn, F += 3) : (A = n, oe === 0 && se(Qn)), A === n && (t.substr(F, 4) === z ? (A = z, F += 4) : (A = n, oe === 0 && se(O)), A === n && (t.substr(F, 5) === q ? (A = q, F += 5) : (A = n, oe === 0 && se(Q)), A === n && (t.substr(F, 6) === X ? (A = X, F += 6) : (A = n, oe === 0 && se(S)), A === n && (t.substr(F, 4) === v ? (A = v, F += 4) : (A = n, oe === 0 && se(G)), A === n && (t.substr(F, 5) === V ? (A = V, F += 5) : (A = n, oe === 0 && se(le)), A === n && (t.substr(F, 5) === re ? (A = re, F += 5) : (A = n, oe === 0 && se(ce)), A === n && (t.substr(F, 4) === Ft ? (A = Ft, F += 4) : (A = n, oe === 0 && se(zr)), A === n && (t.substr(F, 6) === Pr ? (A = Pr, F += 6) : (A = n, oe === 0 && se(Ur)), A === n && (t.substr(F, 7) === yt ? (A = yt, F += 7) : (A = n, oe === 0 && se(pr)), A === n && (t.substr(F, 4) === jr ? (A = jr, F += 4) : (A = n, oe === 0 && se(kt)), A === n && (t.substr(F, 6) === Vn ? (A = Vn, F += 6) : (A = n, oe === 0 && se(x)), A === n && (t.substr(F, 6) === p ? (A = p, F += 6) : (A = n, oe === 0 && se(m)), A === n && (t.substr(F, 3) === I ? (A = I, F += 3) : (A = n, oe === 0 && se(k)), A === n && (A = F, U = rm(), U !== n ? ($ = be(), $ !== n ? (K = im(), K !== n ? (_t = A, U = P(U, K), A = U) : (F = A, A = n)) : (F = A, A = n)) : (F = A, A = n))))))))))))))), A;
|
|
22624
22619
|
}
|
|
22625
22620
|
function LS() {
|
|
22626
22621
|
var A;
|
|
@@ -22666,7 +22661,7 @@ function Kz(t, e) {
|
|
|
22666
22661
|
throw ff !== n && F < t.length && se(MS()), TS(Qc, qn < t.length ? t.charAt(qn) : null, qn < t.length ? tm(qn, qn + 1) : tm(qn, qn));
|
|
22667
22662
|
}
|
|
22668
22663
|
var h3 = {
|
|
22669
|
-
SyntaxError:
|
|
22664
|
+
SyntaxError: Mo,
|
|
22670
22665
|
parse: Kz
|
|
22671
22666
|
};
|
|
22672
22667
|
const Jz = /* @__PURE__ */ Aa(h3), eP = `table bigChain
|
|
@@ -22924,7 +22919,7 @@ class gP extends Ku(va) {
|
|
|
22924
22919
|
if (this.params = i, !this.params.url)
|
|
22925
22920
|
throw new Error("No URL provided for BigBedSource");
|
|
22926
22921
|
this.bbi = new Yz({
|
|
22927
|
-
filehandle: new
|
|
22922
|
+
filehandle: new ir(
|
|
22928
22923
|
Ju(this.params.url, this.view.getBaseUrl())
|
|
22929
22924
|
)
|
|
22930
22925
|
}), this.doDebouncedRequest = Gc(
|
|
@@ -23305,7 +23300,7 @@ function hn(t, e) {
|
|
|
23305
23300
|
if (t + 1 >= zy)
|
|
23306
23301
|
return p3;
|
|
23307
23302
|
}
|
|
23308
|
-
return t < 0 ? hn(-t, e).neg() : Re(t %
|
|
23303
|
+
return t < 0 ? hn(-t, e).neg() : Re(t % To | 0, t / To | 0, e);
|
|
23309
23304
|
}
|
|
23310
23305
|
Le.fromNumber = hn;
|
|
23311
23306
|
function Re(t, e, n) {
|
|
@@ -23340,7 +23335,7 @@ function jn(t, e) {
|
|
|
23340
23335
|
return typeof t == "number" ? hn(t, e) : typeof t == "string" ? kp(t, e) : Re(t.low, t.high, typeof e == "boolean" ? e : t.unsigned);
|
|
23341
23336
|
}
|
|
23342
23337
|
Le.fromValue = jn;
|
|
23343
|
-
var Oy =
|
|
23338
|
+
var Oy = 65536, mP = 1 << 24, To = Oy * Oy, d3 = To * To, zy = d3 / 2, Py = Da(mP), dn = Da(0);
|
|
23344
23339
|
Le.ZERO = dn;
|
|
23345
23340
|
var Vi = Da(0, !0);
|
|
23346
23341
|
Le.UZERO = Vi;
|
|
@@ -23361,7 +23356,7 @@ Y.toInt = function() {
|
|
|
23361
23356
|
return this.unsigned ? this.low >>> 0 : this.low;
|
|
23362
23357
|
};
|
|
23363
23358
|
Y.toNumber = function() {
|
|
23364
|
-
return this.unsigned ? (this.high >>> 0) *
|
|
23359
|
+
return this.unsigned ? (this.high >>> 0) * To + (this.low >>> 0) : this.high * To + (this.low >>> 0);
|
|
23365
23360
|
};
|
|
23366
23361
|
Y.toString = function(e) {
|
|
23367
23362
|
if (e = e || 10, e < 2 || 36 < e)
|
|
@@ -23699,7 +23694,7 @@ let Rl = class {
|
|
|
23699
23694
|
return this.minv.compareTo(e.minv) || this.maxv.compareTo(e.maxv) || this.bin - e.bin;
|
|
23700
23695
|
}
|
|
23701
23696
|
fetchedSize() {
|
|
23702
|
-
return this._fetchedSize !== void 0 ? this._fetchedSize : this.maxv.blockPosition +
|
|
23697
|
+
return this._fetchedSize !== void 0 ? this._fetchedSize : this.maxv.blockPosition + 65536 - this.minv.blockPosition;
|
|
23703
23698
|
}
|
|
23704
23699
|
}, w3 = class {
|
|
23705
23700
|
/**
|
|
@@ -23766,7 +23761,7 @@ function vP(t, e) {
|
|
|
23766
23761
|
function AP(t, e) {
|
|
23767
23762
|
return t - t % e + e;
|
|
23768
23763
|
}
|
|
23769
|
-
class
|
|
23764
|
+
class os extends w3 {
|
|
23770
23765
|
parsePseudoBin(e, n) {
|
|
23771
23766
|
return { lineCount: x3(b3.fromBytesLE(Array.prototype.slice.call(e, n + 16, n + 24), !0)) };
|
|
23772
23767
|
}
|
|
@@ -23936,7 +23931,7 @@ let td = class extends w3 {
|
|
|
23936
23931
|
}
|
|
23937
23932
|
// fetch and parse the index
|
|
23938
23933
|
async _parse(e) {
|
|
23939
|
-
const n = { csi: !0, maxBlockSize: 65536 }, r = await this.filehandle.readFile(e), i = await
|
|
23934
|
+
const n = { csi: !0, maxBlockSize: 65536 }, r = await this.filehandle.readFile(e), i = await Eo(r);
|
|
23940
23935
|
if (i.readUInt32LE(0) === EP)
|
|
23941
23936
|
n.csiVersion = 1;
|
|
23942
23937
|
else if (i.readUInt32LE(0) === SP)
|
|
@@ -24406,7 +24401,7 @@ const BP = /* @__PURE__ */ Aa(kP), rn = {
|
|
|
24406
24401
|
BAM_FDUP: 1024,
|
|
24407
24402
|
// supplementary alignment
|
|
24408
24403
|
BAM_FSUPPLEMENTARY: 2048
|
|
24409
|
-
}, Gy = "=ACMGRSVTWYHKDBN".split(""),
|
|
24404
|
+
}, Gy = "=ACMGRSVTWYHKDBN".split(""), ss = "MIDNSHP=X???????".split("");
|
|
24410
24405
|
class LP {
|
|
24411
24406
|
constructor(e) {
|
|
24412
24407
|
this.data = {}, this._tagList = [], this._allTagsParsed = !1;
|
|
@@ -24541,7 +24536,7 @@ class LP {
|
|
|
24541
24536
|
if (i += 4, c === "i")
|
|
24542
24537
|
if (s === "CG")
|
|
24543
24538
|
for (let d = 0; d < h; d++) {
|
|
24544
|
-
const g = n.readInt32LE(i), b = g >> 4, y =
|
|
24539
|
+
const g = n.readInt32LE(i), b = g >> 4, y = ss[g & 15];
|
|
24545
24540
|
u += b + y, i += 4;
|
|
24546
24541
|
}
|
|
24547
24542
|
else
|
|
@@ -24550,7 +24545,7 @@ class LP {
|
|
|
24550
24545
|
if (c === "I")
|
|
24551
24546
|
if (s === "CG")
|
|
24552
24547
|
for (let d = 0; d < h; d++) {
|
|
24553
|
-
const g = n.readUInt32LE(i), b = g >> 4, y =
|
|
24548
|
+
const g = n.readUInt32LE(i), b = g >> 4, y = ss[g & 15];
|
|
24554
24549
|
u += b + y, i += 4;
|
|
24555
24550
|
}
|
|
24556
24551
|
else
|
|
@@ -24647,11 +24642,11 @@ class LP {
|
|
|
24647
24642
|
const { byteArray: e, start: n } = this.bytes, r = this.get("_n_cigar_op");
|
|
24648
24643
|
let i = n + 36 + this.get("_l_read_name");
|
|
24649
24644
|
const a = this.get("seq_length");
|
|
24650
|
-
let o = "", s = 0, f = e.readInt32LE(i), u = f >> 4, l =
|
|
24645
|
+
let o = "", s = 0, f = e.readInt32LE(i), u = f >> 4, l = ss[f & 15];
|
|
24651
24646
|
if (l === "S" && u === a)
|
|
24652
|
-
return i += 4, f = e.readInt32LE(i), u = f >> 4, l =
|
|
24647
|
+
return i += 4, f = e.readInt32LE(i), u = f >> 4, l = ss[f & 15], l !== "N" && console.warn("CG tag with no N tag"), this.data.length_on_ref = u, this.get("CG");
|
|
24653
24648
|
for (let c = 0; c < r; ++c)
|
|
24654
|
-
f = e.readInt32LE(i), u = f >> 4, l =
|
|
24649
|
+
f = e.readInt32LE(i), u = f >> 4, l = ss[f & 15], o += u + l, l !== "H" && l !== "S" && l !== "I" && (s += u), i += 4;
|
|
24655
24650
|
return this.data.length_on_ref = s, o;
|
|
24656
24651
|
}
|
|
24657
24652
|
_flags() {
|
|
@@ -24729,7 +24724,7 @@ function RP(t) {
|
|
|
24729
24724
|
i && n.push({ tag: i.substr(1), data: o });
|
|
24730
24725
|
}), n;
|
|
24731
24726
|
}
|
|
24732
|
-
const OP = 21840194, rd =
|
|
24727
|
+
const OP = 21840194, rd = 65536;
|
|
24733
24728
|
function id(t) {
|
|
24734
24729
|
return [].concat(...t);
|
|
24735
24730
|
}
|
|
@@ -24766,7 +24761,7 @@ class PP {
|
|
|
24766
24761
|
else if (n)
|
|
24767
24762
|
this.bam = new $t(n);
|
|
24768
24763
|
else if (r)
|
|
24769
|
-
this.bam = new
|
|
24764
|
+
this.bam = new ir(r);
|
|
24770
24765
|
else
|
|
24771
24766
|
throw new Error("unable to initialize bam");
|
|
24772
24767
|
if (f)
|
|
@@ -24774,17 +24769,17 @@ class PP {
|
|
|
24774
24769
|
else if (s)
|
|
24775
24770
|
this.index = new td({ filehandle: new $t(s) });
|
|
24776
24771
|
else if (u)
|
|
24777
|
-
this.index = new td({ filehandle: new
|
|
24772
|
+
this.index = new td({ filehandle: new ir(u) });
|
|
24778
24773
|
else if (a)
|
|
24779
|
-
this.index = new
|
|
24774
|
+
this.index = new os({ filehandle: a });
|
|
24780
24775
|
else if (i)
|
|
24781
|
-
this.index = new
|
|
24776
|
+
this.index = new os({ filehandle: new $t(i) });
|
|
24782
24777
|
else if (o)
|
|
24783
|
-
this.index = new
|
|
24778
|
+
this.index = new os({ filehandle: new ir(o) });
|
|
24784
24779
|
else if (n)
|
|
24785
|
-
this.index = new
|
|
24780
|
+
this.index = new os({ filehandle: new $t(`${n}.bai`) });
|
|
24786
24781
|
else if (r)
|
|
24787
|
-
this.index = new
|
|
24782
|
+
this.index = new os({ filehandle: new ir(`${r}.bai`) });
|
|
24788
24783
|
else
|
|
24789
24784
|
throw new Error("unable to infer index format");
|
|
24790
24785
|
this.fetchSizeLimit = l || 5e8, this.chunkSizeLimit = c || 3e8, this.yieldThreadTime = h;
|
|
@@ -24799,7 +24794,7 @@ class PP {
|
|
|
24799
24794
|
c < i ? a = a.subarray(0, c) : a = a.subarray(0, i);
|
|
24800
24795
|
} else
|
|
24801
24796
|
a = await this.bam.readFile(n);
|
|
24802
|
-
const o = await
|
|
24797
|
+
const o = await Eo(a);
|
|
24803
24798
|
if (o.readInt32LE(0) !== OP)
|
|
24804
24799
|
throw new Error("Not a BAM file");
|
|
24805
24800
|
const s = o.readInt32LE(4);
|
|
@@ -24818,7 +24813,7 @@ class PP {
|
|
|
24818
24813
|
const i = n + rd, { bytesRead: a, buffer: o } = await this.bam.read(Buffer.alloc(i), 0, n, 0, r);
|
|
24819
24814
|
if (!a)
|
|
24820
24815
|
throw new Error("Error reading refseqs from header");
|
|
24821
|
-
const s = await
|
|
24816
|
+
const s = await Eo(o.subarray(0, Math.min(a, n))), f = s.readInt32LE(e);
|
|
24822
24817
|
let u = e + 4;
|
|
24823
24818
|
const l = {}, c = [];
|
|
24824
24819
|
for (let h = 0; h < f; h += 1) {
|
|
@@ -25239,7 +25234,7 @@ class PP {
|
|
|
25239
25234
|
}
|
|
25240
25235
|
return R.polyfill = !0, t.fetch || (t.fetch = R, t.Headers = u, t.Request = _, t.Response = N), e.Headers = u, e.Request = _, e.Response = N, e.fetch = R, Object.defineProperty(e, "__esModule", { value: !0 }), e;
|
|
25241
25236
|
})({});
|
|
25242
|
-
})(typeof self < "u" ? self :
|
|
25237
|
+
})(typeof self < "u" ? self : Ks);
|
|
25243
25238
|
})();
|
|
25244
25239
|
class UP extends Ku(va) {
|
|
25245
25240
|
/**
|
|
@@ -25267,7 +25262,7 @@ class UP extends Ku(va) {
|
|
|
25267
25262
|
Zt(this, "chrPrefixFixer", (n) => n);
|
|
25268
25263
|
if (this.params = i, !this.params.url)
|
|
25269
25264
|
throw new Error("No URL provided for BamSource");
|
|
25270
|
-
const a = (o) => new
|
|
25265
|
+
const a = (o) => new ir(Ju(o, this.view.getBaseUrl()));
|
|
25271
25266
|
this.bam = new PP({
|
|
25272
25267
|
bamFilehandle: a(this.params.url),
|
|
25273
25268
|
baiFilehandle: a(
|
|
@@ -25559,7 +25554,7 @@ typeof Object.create == "function" ? O0.exports = function(e, n) {
|
|
|
25559
25554
|
r.prototype = n.prototype, e.prototype = new r(), e.prototype.constructor = e;
|
|
25560
25555
|
}
|
|
25561
25556
|
};
|
|
25562
|
-
var
|
|
25557
|
+
var Yo = O0.exports, ad, Vy;
|
|
25563
25558
|
function k3() {
|
|
25564
25559
|
return Vy || (Vy = 1, ad = Op.EventEmitter), ad;
|
|
25565
25560
|
}
|
|
@@ -25753,7 +25748,7 @@ function L3() {
|
|
|
25753
25748
|
}, sd;
|
|
25754
25749
|
}
|
|
25755
25750
|
var ud = {}, Yy;
|
|
25756
|
-
function
|
|
25751
|
+
function Wo() {
|
|
25757
25752
|
if (Yy)
|
|
25758
25753
|
return ud;
|
|
25759
25754
|
Yy = 1;
|
|
@@ -25819,7 +25814,7 @@ function R3() {
|
|
|
25819
25814
|
if (Wy)
|
|
25820
25815
|
return fd;
|
|
25821
25816
|
Wy = 1;
|
|
25822
|
-
var t =
|
|
25817
|
+
var t = Wo().codes.ERR_INVALID_OPT_VALUE;
|
|
25823
25818
|
function e(r, i, a) {
|
|
25824
25819
|
return r.highWaterMark != null ? r.highWaterMark : i ? r[a] : null;
|
|
25825
25820
|
}
|
|
@@ -25892,12 +25887,12 @@ function O3() {
|
|
|
25892
25887
|
function s(z) {
|
|
25893
25888
|
return i.isBuffer(z) || z instanceof a;
|
|
25894
25889
|
}
|
|
25895
|
-
var f = L3(), u = R3(), l = u.getHighWaterMark, c =
|
|
25896
|
-
|
|
25890
|
+
var f = L3(), u = R3(), l = u.getHighWaterMark, c = Wo().codes, h = c.ERR_INVALID_ARG_TYPE, d = c.ERR_METHOD_NOT_IMPLEMENTED, g = c.ERR_MULTIPLE_CALLBACK, b = c.ERR_STREAM_CANNOT_PIPE, y = c.ERR_STREAM_DESTROYED, w = c.ERR_STREAM_NULL_VALUES, E = c.ERR_STREAM_WRITE_AFTER_END, _ = c.ERR_UNKNOWN_ENCODING, D = f.errorOrDestroy;
|
|
25891
|
+
Yo(R, r);
|
|
25897
25892
|
function T() {
|
|
25898
25893
|
}
|
|
25899
25894
|
function N(z, O, q) {
|
|
25900
|
-
e = e ||
|
|
25895
|
+
e = e || No(), z = z || {}, typeof q != "boolean" && (q = O instanceof e), this.objectMode = !!z.objectMode, q && (this.objectMode = this.objectMode || !!z.writableObjectMode), this.highWaterMark = l(this, z, "writableHighWaterMark", q), this.finalCalled = !1, this.needDrain = !1, this.ending = !1, this.ended = !1, this.finished = !1, this.destroyed = !1;
|
|
25901
25896
|
var Q = z.decodeStrings === !1;
|
|
25902
25897
|
this.decodeStrings = !Q, this.defaultEncoding = z.defaultEncoding || "utf8", this.length = 0, this.writing = !1, this.corked = 0, this.sync = !0, this.bufferProcessing = !1, this.onwrite = function(X) {
|
|
25903
25898
|
ye(O, X);
|
|
@@ -25926,7 +25921,7 @@ function O3() {
|
|
|
25926
25921
|
return O instanceof this;
|
|
25927
25922
|
};
|
|
25928
25923
|
function R(z) {
|
|
25929
|
-
e = e ||
|
|
25924
|
+
e = e || No();
|
|
25930
25925
|
var O = this instanceof e;
|
|
25931
25926
|
if (!O && !M.call(R, this))
|
|
25932
25927
|
return new R(z);
|
|
@@ -26102,7 +26097,7 @@ function O3() {
|
|
|
26102
26097
|
}, cd;
|
|
26103
26098
|
}
|
|
26104
26099
|
var hd, Ky;
|
|
26105
|
-
function
|
|
26100
|
+
function No() {
|
|
26106
26101
|
if (Ky)
|
|
26107
26102
|
return hd;
|
|
26108
26103
|
Ky = 1;
|
|
@@ -26114,7 +26109,7 @@ function Fo() {
|
|
|
26114
26109
|
};
|
|
26115
26110
|
hd = o;
|
|
26116
26111
|
var e = z3(), n = O3();
|
|
26117
|
-
|
|
26112
|
+
Yo(o, e);
|
|
26118
26113
|
for (var r = t(n.prototype), i = 0; i < r.length; i++) {
|
|
26119
26114
|
var a = r[i];
|
|
26120
26115
|
o.prototype[a] || (o.prototype[a] = n.prototype[a]);
|
|
@@ -26367,7 +26362,7 @@ function Pp() {
|
|
|
26367
26362
|
if (ew)
|
|
26368
26363
|
return gd;
|
|
26369
26364
|
ew = 1;
|
|
26370
|
-
var t =
|
|
26365
|
+
var t = Wo().codes.ERR_STREAM_PREMATURE_CLOSE;
|
|
26371
26366
|
function e(a) {
|
|
26372
26367
|
var o = !1;
|
|
26373
26368
|
return function() {
|
|
@@ -26550,8 +26545,8 @@ function z3() {
|
|
|
26550
26545
|
var s = B3, f;
|
|
26551
26546
|
s && s.debuglog ? f = s.debuglog("stream") : f = function() {
|
|
26552
26547
|
};
|
|
26553
|
-
var u = ZP(), l = L3(), c = R3(), h = c.getHighWaterMark, d =
|
|
26554
|
-
|
|
26548
|
+
var u = ZP(), l = L3(), c = R3(), h = c.getHighWaterMark, d = Wo().codes, g = d.ERR_INVALID_ARG_TYPE, b = d.ERR_STREAM_PUSH_AFTER_EOF, y = d.ERR_METHOD_NOT_IMPLEMENTED, w = d.ERR_STREAM_UNSHIFT_AFTER_END_EVENT, E, _, D;
|
|
26549
|
+
Yo(C, n);
|
|
26555
26550
|
var T = l.errorOrDestroy, N = ["error", "close", "destroy", "pause", "resume"];
|
|
26556
26551
|
function M(S, v, G) {
|
|
26557
26552
|
if (typeof S.prependListener == "function")
|
|
@@ -26559,10 +26554,10 @@ function z3() {
|
|
|
26559
26554
|
!S._events || !S._events[v] ? S.on(v, G) : Array.isArray(S._events[v]) ? S._events[v].unshift(G) : S._events[v] = [G, S._events[v]];
|
|
26560
26555
|
}
|
|
26561
26556
|
function R(S, v, G) {
|
|
26562
|
-
t = t ||
|
|
26557
|
+
t = t || No(), S = S || {}, typeof G != "boolean" && (G = v instanceof t), this.objectMode = !!S.objectMode, G && (this.objectMode = this.objectMode || !!S.readableObjectMode), this.highWaterMark = h(this, S, "readableHighWaterMark", G), this.buffer = new u(), this.length = 0, this.pipes = null, this.pipesCount = 0, this.flowing = null, this.ended = !1, this.endEmitted = !1, this.reading = !1, this.sync = !0, this.needReadable = !1, this.emittedReadable = !1, this.readableListening = !1, this.resumeScheduled = !1, this.paused = !0, this.emitClose = S.emitClose !== !1, this.autoDestroy = !!S.autoDestroy, this.destroyed = !1, this.defaultEncoding = S.defaultEncoding || "utf8", this.awaitDrain = 0, this.readingMore = !1, this.decoder = null, this.encoding = null, S.encoding && (E || (E = z0.StringDecoder), this.decoder = new E(S.encoding), this.encoding = S.encoding);
|
|
26563
26558
|
}
|
|
26564
26559
|
function C(S) {
|
|
26565
|
-
if (t = t ||
|
|
26560
|
+
if (t = t || No(), !(this instanceof C))
|
|
26566
26561
|
return new C(S);
|
|
26567
26562
|
var v = this instanceof t;
|
|
26568
26563
|
this._readableState = new R(S, this, v), this.readable = !0, S && (typeof S.read == "function" && (this._read = S.read), typeof S.destroy == "function" && (this._destroy = S.destroy)), n.call(this);
|
|
@@ -26702,7 +26697,7 @@ function z3() {
|
|
|
26702
26697
|
S.on("drain", zr);
|
|
26703
26698
|
var Pr = !1;
|
|
26704
26699
|
function Ur() {
|
|
26705
|
-
f("cleanup"), S.removeListener("close", jr), S.removeListener("finish", kt), S.removeListener("drain", zr), S.removeListener("error",
|
|
26700
|
+
f("cleanup"), S.removeListener("close", jr), S.removeListener("finish", kt), S.removeListener("drain", zr), S.removeListener("error", pr), S.removeListener("unpipe", ce), G.removeListener("end", Ft), G.removeListener("end", Vn), G.removeListener("data", yt), Pr = !0, V.awaitDrain && (!S._writableState || S._writableState.needDrain) && zr();
|
|
26706
26701
|
}
|
|
26707
26702
|
G.on("data", yt);
|
|
26708
26703
|
function yt(x) {
|
|
@@ -26710,10 +26705,10 @@ function z3() {
|
|
|
26710
26705
|
var p = S.write(x);
|
|
26711
26706
|
f("dest.write", p), p === !1 && ((V.pipesCount === 1 && V.pipes === S || V.pipesCount > 1 && X(V.pipes, S) !== -1) && !Pr && (f("false write response, pause", V.awaitDrain), V.awaitDrain++), G.pause());
|
|
26712
26707
|
}
|
|
26713
|
-
function
|
|
26714
|
-
f("onerror", x), Vn(), S.removeListener("error",
|
|
26708
|
+
function pr(x) {
|
|
26709
|
+
f("onerror", x), Vn(), S.removeListener("error", pr), e(S, "error") === 0 && T(S, x);
|
|
26715
26710
|
}
|
|
26716
|
-
M(S, "error",
|
|
26711
|
+
M(S, "error", pr);
|
|
26717
26712
|
function jr() {
|
|
26718
26713
|
S.removeListener("finish", kt), Vn();
|
|
26719
26714
|
}
|
|
@@ -26882,8 +26877,8 @@ function P3() {
|
|
|
26882
26877
|
if (iw)
|
|
26883
26878
|
return yd;
|
|
26884
26879
|
iw = 1, yd = s;
|
|
26885
|
-
var t =
|
|
26886
|
-
|
|
26880
|
+
var t = Wo().codes, e = t.ERR_METHOD_NOT_IMPLEMENTED, n = t.ERR_MULTIPLE_CALLBACK, r = t.ERR_TRANSFORM_ALREADY_TRANSFORMING, i = t.ERR_TRANSFORM_WITH_LENGTH_0, a = No();
|
|
26881
|
+
Yo(s, a);
|
|
26887
26882
|
function o(l, c) {
|
|
26888
26883
|
var h = this._transformState;
|
|
26889
26884
|
h.transforming = !1;
|
|
@@ -26947,7 +26942,7 @@ function h9() {
|
|
|
26947
26942
|
return wd;
|
|
26948
26943
|
aw = 1, wd = e;
|
|
26949
26944
|
var t = P3();
|
|
26950
|
-
|
|
26945
|
+
Yo(e, t);
|
|
26951
26946
|
function e(n) {
|
|
26952
26947
|
if (!(this instanceof e))
|
|
26953
26948
|
return new e(n);
|
|
@@ -26969,7 +26964,7 @@ function d9() {
|
|
|
26969
26964
|
d || (d = !0, h.apply(void 0, arguments));
|
|
26970
26965
|
};
|
|
26971
26966
|
}
|
|
26972
|
-
var n =
|
|
26967
|
+
var n = Wo().codes, r = n.ERR_MISSING_ARGS, i = n.ERR_STREAM_DESTROYED;
|
|
26973
26968
|
function a(h) {
|
|
26974
26969
|
if (h)
|
|
26975
26970
|
throw h;
|
|
@@ -27026,11 +27021,11 @@ function d9() {
|
|
|
27026
27021
|
}
|
|
27027
27022
|
return xd = c, xd;
|
|
27028
27023
|
}
|
|
27029
|
-
var U3 = vn, Up = Op.EventEmitter, g9 =
|
|
27024
|
+
var U3 = vn, Up = Op.EventEmitter, g9 = Yo;
|
|
27030
27025
|
g9(vn, Up);
|
|
27031
27026
|
vn.Readable = z3();
|
|
27032
27027
|
vn.Writable = O3();
|
|
27033
|
-
vn.Duplex =
|
|
27028
|
+
vn.Duplex = No();
|
|
27034
27029
|
vn.Transform = P3();
|
|
27035
27030
|
vn.PassThrough = h9();
|
|
27036
27031
|
vn.finished = Pp();
|
|
@@ -27066,16 +27061,16 @@ vn.prototype.pipe = function(t, e) {
|
|
|
27066
27061
|
}
|
|
27067
27062
|
return n.on("end", u), n.on("close", u), t.on("close", u), t.emit("pipe", n), t;
|
|
27068
27063
|
};
|
|
27069
|
-
function
|
|
27064
|
+
function Ms(t) {
|
|
27070
27065
|
return t.replace(/%([0-9A-Fa-f]{2})/g, (e, n) => String.fromCharCode(parseInt(n, 16)));
|
|
27071
27066
|
}
|
|
27072
27067
|
function j3(t, e) {
|
|
27073
27068
|
return String(e).replace(t, (n) => `%${n.charCodeAt(0).toString(16).toUpperCase().padStart(2, "0")}`);
|
|
27074
27069
|
}
|
|
27075
|
-
function
|
|
27070
|
+
function gs(t) {
|
|
27076
27071
|
return j3(/[\n;\r\t=%&,\x00-\x1f\x7f-\xff]/g, t);
|
|
27077
27072
|
}
|
|
27078
|
-
function
|
|
27073
|
+
function Ar(t) {
|
|
27079
27074
|
return j3(/[\n\r\t%\x00-\x1f\x7f-\xff]/g, t);
|
|
27080
27075
|
}
|
|
27081
27076
|
function G3(t) {
|
|
@@ -27088,15 +27083,15 @@ function G3(t) {
|
|
|
27088
27083
|
return;
|
|
27089
27084
|
r[0] = r[0].trim();
|
|
27090
27085
|
let i = e[r[0].trim()];
|
|
27091
|
-
i || (i = [], e[r[0]] = i), i.push(...r[1].split(",").map((a) => a.trim()).map(
|
|
27086
|
+
i || (i = [], e[r[0]] = i), i.push(...r[1].split(",").map((a) => a.trim()).map(Ms));
|
|
27092
27087
|
}), e;
|
|
27093
27088
|
}
|
|
27094
27089
|
function H3(t) {
|
|
27095
27090
|
const e = t.split(" ").map((r) => r === "." || r === "" ? null : r);
|
|
27096
27091
|
return {
|
|
27097
|
-
seq_id: e[0] &&
|
|
27098
|
-
source: e[1] &&
|
|
27099
|
-
type: e[2] &&
|
|
27092
|
+
seq_id: e[0] && Ms(e[0]),
|
|
27093
|
+
source: e[1] && Ms(e[1]),
|
|
27094
|
+
type: e[2] && Ms(e[2]),
|
|
27100
27095
|
start: e[3] === null ? null : parseInt(e[3], 10),
|
|
27101
27096
|
end: e[4] === null ? null : parseInt(e[4], 10),
|
|
27102
27097
|
score: e[5] === null ? null : parseFloat(e[5]),
|
|
@@ -27136,19 +27131,19 @@ function V3(t) {
|
|
|
27136
27131
|
if (!r)
|
|
27137
27132
|
return;
|
|
27138
27133
|
let i;
|
|
27139
|
-
r.hasOwnProperty("toString") ? i =
|
|
27134
|
+
r.hasOwnProperty("toString") ? i = gs(r.toString()) : Array.isArray(r) ? i = r.map(gs).join(",") : i = gs(r), e.push(`${gs(n)}=${i}`);
|
|
27140
27135
|
}), e.length ? e.join(";") : ".";
|
|
27141
27136
|
}
|
|
27142
27137
|
function p9(t, e) {
|
|
27143
27138
|
const n = t.attributes === null || t.attributes === void 0 ? "." : V3(t.attributes), i = `${[
|
|
27144
|
-
t.seq_id === null ? "." :
|
|
27145
|
-
t.source === null ? "." :
|
|
27146
|
-
t.type === null ? "." :
|
|
27147
|
-
t.start === null ? "." :
|
|
27148
|
-
t.end === null ? "." :
|
|
27149
|
-
t.score === null ? "." :
|
|
27150
|
-
t.strand === null ? "." :
|
|
27151
|
-
t.phase === null ? "." :
|
|
27139
|
+
t.seq_id === null ? "." : Ar(t.seq_id),
|
|
27140
|
+
t.source === null ? "." : Ar(t.source),
|
|
27141
|
+
t.type === null ? "." : Ar(t.type),
|
|
27142
|
+
t.start === null ? "." : Ar(t.start),
|
|
27143
|
+
t.end === null ? "." : Ar(t.end),
|
|
27144
|
+
t.score === null ? "." : Ar(t.score),
|
|
27145
|
+
t.strand === null ? "." : Ar(t.strand),
|
|
27146
|
+
t.phase === null ? "." : Ar(t.phase),
|
|
27152
27147
|
n
|
|
27153
27148
|
].join(" ")}
|
|
27154
27149
|
`;
|
|
@@ -27189,8 +27184,8 @@ function m9(t) {
|
|
|
27189
27184
|
}
|
|
27190
27185
|
const b9 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
27191
27186
|
__proto__: null,
|
|
27192
|
-
escape:
|
|
27193
|
-
escapeColumn:
|
|
27187
|
+
escape: gs,
|
|
27188
|
+
escapeColumn: Ar,
|
|
27194
27189
|
formatAttributes: V3,
|
|
27195
27190
|
formatComment: Y3,
|
|
27196
27191
|
formatDirective: Z3,
|
|
@@ -27200,7 +27195,7 @@ const b9 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
27200
27195
|
parseAttributes: G3,
|
|
27201
27196
|
parseDirective: Q3,
|
|
27202
27197
|
parseFeature: H3,
|
|
27203
|
-
unescape:
|
|
27198
|
+
unescape: Ms
|
|
27204
27199
|
}, Symbol.toStringTag, { value: "Module" })), sw = {
|
|
27205
27200
|
Parent: "child_features",
|
|
27206
27201
|
Derives_from: "derived_features"
|
|
@@ -27821,7 +27816,7 @@ function pn(t, e) {
|
|
|
27821
27816
|
if (t + 1 >= hw)
|
|
27822
27817
|
return nS;
|
|
27823
27818
|
}
|
|
27824
|
-
return t < 0 ? pn(-t, e).neg() : ze(t %
|
|
27819
|
+
return t < 0 ? pn(-t, e).neg() : ze(t % Fo | 0, t / Fo | 0, e);
|
|
27825
27820
|
}
|
|
27826
27821
|
Oe.fromNumber = pn;
|
|
27827
27822
|
function ze(t, e, n) {
|
|
@@ -27856,7 +27851,7 @@ function Gn(t, e) {
|
|
|
27856
27851
|
return typeof t == "number" ? pn(t, e) : typeof t == "string" ? Gp(t, e) : ze(t.low, t.high, typeof e == "boolean" ? e : t.unsigned);
|
|
27857
27852
|
}
|
|
27858
27853
|
Oe.fromValue = Gn;
|
|
27859
|
-
var cw =
|
|
27854
|
+
var cw = 65536, I9 = 1 << 24, Fo = cw * cw, eS = Fo * Fo, hw = eS / 2, dw = Ia(I9), mn = Ia(0);
|
|
27860
27855
|
Oe.ZERO = mn;
|
|
27861
27856
|
var qi = Ia(0, !0);
|
|
27862
27857
|
Oe.UZERO = qi;
|
|
@@ -27877,7 +27872,7 @@ W.toInt = function() {
|
|
|
27877
27872
|
return this.unsigned ? this.low >>> 0 : this.low;
|
|
27878
27873
|
};
|
|
27879
27874
|
W.toNumber = function() {
|
|
27880
|
-
return this.unsigned ? (this.high >>> 0) *
|
|
27875
|
+
return this.unsigned ? (this.high >>> 0) * Fo + (this.low >>> 0) : this.high * Fo + (this.low >>> 0);
|
|
27881
27876
|
};
|
|
27882
27877
|
W.toString = function(e) {
|
|
27883
27878
|
if (e = e || 10, e < 2 || 36 < e)
|
|
@@ -28215,7 +28210,7 @@ class Pl {
|
|
|
28215
28210
|
return this.minv.compareTo(e.minv) || this.maxv.compareTo(e.maxv) || this.bin - e.bin;
|
|
28216
28211
|
}
|
|
28217
28212
|
fetchedSize() {
|
|
28218
|
-
return this._fetchedSize !== void 0 ? this._fetchedSize : this.maxv.blockPosition +
|
|
28213
|
+
return this._fetchedSize !== void 0 ? this._fetchedSize : this.maxv.blockPosition + 65536 - this.minv.blockPosition;
|
|
28219
28214
|
}
|
|
28220
28215
|
}
|
|
28221
28216
|
class aS {
|
|
@@ -28262,7 +28257,7 @@ class vd extends aS {
|
|
|
28262
28257
|
}
|
|
28263
28258
|
// fetch and parse the index
|
|
28264
28259
|
async _parse(e = {}) {
|
|
28265
|
-
const n = await this.filehandle.readFile(e), r = await
|
|
28260
|
+
const n = await this.filehandle.readFile(e), r = await Eo(n);
|
|
28266
28261
|
if (Bi(e.signal), r.readUInt32LE(0) !== M9)
|
|
28267
28262
|
throw new Error("Not a TBI file");
|
|
28268
28263
|
const i = r.readInt32LE(4), a = r.readInt32LE(8), o = a & 65536 ? "zero-based-half-open" : "1-based-closed", f = {
|
|
@@ -28319,7 +28314,7 @@ class vd extends aS {
|
|
|
28319
28314
|
format: f,
|
|
28320
28315
|
refIdToName: E,
|
|
28321
28316
|
refNameToId: w,
|
|
28322
|
-
maxBlockSize:
|
|
28317
|
+
maxBlockSize: 65536
|
|
28323
28318
|
};
|
|
28324
28319
|
}
|
|
28325
28320
|
parsePseudoBin(e, n) {
|
|
@@ -28423,7 +28418,7 @@ class mw extends aS {
|
|
|
28423
28418
|
}
|
|
28424
28419
|
// fetch and parse the index
|
|
28425
28420
|
async _parse(e = {}) {
|
|
28426
|
-
const n = await
|
|
28421
|
+
const n = await Eo(await this.filehandle.readFile(e));
|
|
28427
28422
|
let r;
|
|
28428
28423
|
if (n.readUInt32LE(0) === N9)
|
|
28429
28424
|
r = 1;
|
|
@@ -28469,7 +28464,7 @@ class mw extends aS {
|
|
|
28469
28464
|
...o,
|
|
28470
28465
|
csi: !0,
|
|
28471
28466
|
refCount: s,
|
|
28472
|
-
maxBlockSize:
|
|
28467
|
+
maxBlockSize: 65536,
|
|
28473
28468
|
firstDataLine: f,
|
|
28474
28469
|
csiVersion: r,
|
|
28475
28470
|
indices: l,
|
|
@@ -28568,7 +28563,7 @@ class L9 {
|
|
|
28568
28563
|
else
|
|
28569
28564
|
throw new TypeError("must provide one of tbiFilehandle, tbiPath, csiFilehandle, or csiPath");
|
|
28570
28565
|
this.chunkSizeLimit = f, this.renameRefSeq = u, this.yieldTime = s, this.chunkCache = new zc({
|
|
28571
|
-
cache: new vp({ maxSize: Math.floor(l /
|
|
28566
|
+
cache: new vp({ maxSize: Math.floor(l / 65536) }),
|
|
28572
28567
|
fill: (c, h) => this.readChunk(c, { signal: h })
|
|
28573
28568
|
});
|
|
28574
28569
|
}
|
|
@@ -28630,7 +28625,7 @@ class L9 {
|
|
|
28630
28625
|
// then the blockStart-dpositions is an uncompressed file offset from
|
|
28631
28626
|
// that bgzip block boundary, and since the cpositions are multiplied by
|
|
28632
28627
|
// (1 << 8) these uncompressed offsets get a unique space
|
|
28633
|
-
b[E] *
|
|
28628
|
+
b[E] * 256 + (w - y[E]) + d.minv.dataPosition + 1
|
|
28634
28629
|
);
|
|
28635
28630
|
else if (N !== void 0 && N >= r)
|
|
28636
28631
|
return;
|
|
@@ -28653,7 +28648,7 @@ class L9 {
|
|
|
28653
28648
|
let o = await this._readRegion(0, a, e);
|
|
28654
28649
|
Bi(e.signal);
|
|
28655
28650
|
try {
|
|
28656
|
-
o = await
|
|
28651
|
+
o = await Eo(o);
|
|
28657
28652
|
} catch (s) {
|
|
28658
28653
|
throw console.error(s), new Error(
|
|
28659
28654
|
//@ts-ignore
|
|
@@ -28788,7 +28783,7 @@ class R9 extends Ku(va) {
|
|
|
28788
28783
|
Zt(this, "tbiIndex");
|
|
28789
28784
|
if (this.params = i, !this.params.url)
|
|
28790
28785
|
throw new Error("No URL provided for TabixSource");
|
|
28791
|
-
const a = (o) => new
|
|
28786
|
+
const a = (o) => new ir(Ju(o, this.view.getBaseUrl()));
|
|
28792
28787
|
this.tbiIndex = new L9({
|
|
28793
28788
|
filehandle: a(this.params.url),
|
|
28794
28789
|
tbiFilehandle: a(
|
|
@@ -28937,7 +28932,7 @@ function Y9(t) {
|
|
|
28937
28932
|
}
|
|
28938
28933
|
class Ul extends Je {
|
|
28939
28934
|
get behavior() {
|
|
28940
|
-
return
|
|
28935
|
+
return dr;
|
|
28941
28936
|
}
|
|
28942
28937
|
constructor() {
|
|
28943
28938
|
super();
|
|
@@ -29210,7 +29205,7 @@ function J9(t) {
|
|
|
29210
29205
|
/** @type {Channel} */
|
|
29211
29206
|
o
|
|
29212
29207
|
);
|
|
29213
|
-
|
|
29208
|
+
Zs(f) && w2(s) && r.push({ channel: f, chromPosDef: s });
|
|
29214
29209
|
}
|
|
29215
29210
|
const i = tc(
|
|
29216
29211
|
r,
|
|
@@ -29293,7 +29288,7 @@ function G0(t, e = !1) {
|
|
|
29293
29288
|
t.excise(), n && G0(n, e);
|
|
29294
29289
|
return;
|
|
29295
29290
|
}
|
|
29296
|
-
t.behavior &
|
|
29291
|
+
t.behavior & dr && (e = !1);
|
|
29297
29292
|
for (let n = 0, r = t.children.length; n < r; n++)
|
|
29298
29293
|
G0(
|
|
29299
29294
|
t.children[n],
|
|
@@ -29342,7 +29337,7 @@ function i7(t) {
|
|
|
29342
29337
|
}), t.visit((n) => n.onScalesResolved());
|
|
29343
29338
|
}
|
|
29344
29339
|
function a7(t) {
|
|
29345
|
-
for (const e of
|
|
29340
|
+
for (const e of Ro) {
|
|
29346
29341
|
const n = t.getScaleResolution(e);
|
|
29347
29342
|
n && !n.name && n.isZoomable() && (n.name = `${e}_at_root`);
|
|
29348
29343
|
}
|
|
@@ -29396,10 +29391,10 @@ function s7(t) {
|
|
|
29396
29391
|
height: n(e.height)
|
|
29397
29392
|
};
|
|
29398
29393
|
}
|
|
29399
|
-
function
|
|
29394
|
+
function vr(t) {
|
|
29400
29395
|
return () => t;
|
|
29401
29396
|
}
|
|
29402
|
-
const
|
|
29397
|
+
const Kn = class Kn {
|
|
29403
29398
|
/**
|
|
29404
29399
|
*
|
|
29405
29400
|
* @param {number} x
|
|
@@ -29408,11 +29403,11 @@ const Ar = class {
|
|
|
29408
29403
|
* @param {number} height
|
|
29409
29404
|
*/
|
|
29410
29405
|
static create(e, n, r, i) {
|
|
29411
|
-
return new
|
|
29412
|
-
|
|
29413
|
-
|
|
29414
|
-
|
|
29415
|
-
|
|
29406
|
+
return new Kn(
|
|
29407
|
+
vr(e),
|
|
29408
|
+
vr(n),
|
|
29409
|
+
vr(r),
|
|
29410
|
+
vr(i)
|
|
29416
29411
|
);
|
|
29417
29412
|
}
|
|
29418
29413
|
/**
|
|
@@ -29496,9 +29491,9 @@ const Ar = class {
|
|
|
29496
29491
|
return this;
|
|
29497
29492
|
const n = (r) => {
|
|
29498
29493
|
const i = e[r];
|
|
29499
|
-
return typeof i == "number" ?
|
|
29494
|
+
return typeof i == "number" ? vr(i) : typeof i == "function" ? i : this._passThrough(r);
|
|
29500
29495
|
};
|
|
29501
|
-
return new
|
|
29496
|
+
return new Kn(n("x"), n("y"), n("width"), n("height"));
|
|
29502
29497
|
}
|
|
29503
29498
|
/**
|
|
29504
29499
|
*
|
|
@@ -29506,7 +29501,7 @@ const Ar = class {
|
|
|
29506
29501
|
* @param {number | function():number} y
|
|
29507
29502
|
*/
|
|
29508
29503
|
translate(e, n) {
|
|
29509
|
-
return e === 0 && n === 0 ? this : new
|
|
29504
|
+
return e === 0 && n === 0 ? this : new Kn(
|
|
29510
29505
|
this._offset("x", e),
|
|
29511
29506
|
this._offset("y", n),
|
|
29512
29507
|
this._passThrough("width"),
|
|
@@ -29526,7 +29521,7 @@ const Ar = class {
|
|
|
29526
29521
|
* @param {Padding} padding
|
|
29527
29522
|
*/
|
|
29528
29523
|
expand(e, n = 1) {
|
|
29529
|
-
return e.left == 0 && e.top == 0 && e.right == 0 && e.bottom == 0 ? this : new
|
|
29524
|
+
return e.left == 0 && e.top == 0 && e.right == 0 && e.bottom == 0 ? this : new Kn(
|
|
29530
29525
|
e.left ? this._offset("x", -e.left * n) : this._passThrough("x"),
|
|
29531
29526
|
e.top ? this._offset("y", -e.top * n) : this._passThrough("y"),
|
|
29532
29527
|
e.width ? this._offset("width", e.width * n) : this._passThrough("width"),
|
|
@@ -29546,7 +29541,7 @@ const Ar = class {
|
|
|
29546
29541
|
* @param {Rectangle} rectangle
|
|
29547
29542
|
*/
|
|
29548
29543
|
intersect(e) {
|
|
29549
|
-
return this === e ? this : new
|
|
29544
|
+
return this === e ? this : new Kn(
|
|
29550
29545
|
() => Math.max(this.x, e.x),
|
|
29551
29546
|
() => Math.max(this.y, e.y),
|
|
29552
29547
|
() => Math.min(this.x2, e.x2) - Math.max(this.x, e.x),
|
|
@@ -29564,11 +29559,11 @@ const Ar = class {
|
|
|
29564
29559
|
* the parameters.
|
|
29565
29560
|
*/
|
|
29566
29561
|
flatten() {
|
|
29567
|
-
return new
|
|
29568
|
-
|
|
29569
|
-
|
|
29570
|
-
|
|
29571
|
-
|
|
29562
|
+
return new Kn(
|
|
29563
|
+
vr(this.x),
|
|
29564
|
+
vr(this.y),
|
|
29565
|
+
vr(this.width),
|
|
29566
|
+
vr(this.height)
|
|
29572
29567
|
);
|
|
29573
29568
|
}
|
|
29574
29569
|
/**
|
|
@@ -29603,8 +29598,8 @@ const Ar = class {
|
|
|
29603
29598
|
)}`;
|
|
29604
29599
|
}
|
|
29605
29600
|
};
|
|
29606
|
-
|
|
29607
|
-
|
|
29601
|
+
Zt(Kn, "ZERO", Kn.create(0, 0, 0, 0));
|
|
29602
|
+
let gu = Kn;
|
|
29608
29603
|
class cS {
|
|
29609
29604
|
/**
|
|
29610
29605
|
*
|
|
@@ -30008,7 +30003,7 @@ class b7 {
|
|
|
30008
30003
|
_createTexture(e) {
|
|
30009
30004
|
const n = this._webGLHelper.gl;
|
|
30010
30005
|
return new Promise((r, i) => {
|
|
30011
|
-
|
|
30006
|
+
Xs(
|
|
30012
30007
|
n,
|
|
30013
30008
|
{
|
|
30014
30009
|
src: e,
|
|
@@ -30029,7 +30024,7 @@ class b7 {
|
|
|
30029
30024
|
const n = this._webGLHelper.gl;
|
|
30030
30025
|
let r;
|
|
30031
30026
|
const i = new Promise((a, o) => {
|
|
30032
|
-
r =
|
|
30027
|
+
r = Xs(
|
|
30033
30028
|
n,
|
|
30034
30029
|
{
|
|
30035
30030
|
src: e,
|
|
@@ -30230,7 +30225,7 @@ async function M7(t, e, n) {
|
|
|
30230
30225
|
` : "";
|
|
30231
30226
|
return Tr`${s}${a}`;
|
|
30232
30227
|
}
|
|
30233
|
-
class sf extends
|
|
30228
|
+
class sf extends Ao {
|
|
30234
30229
|
/**
|
|
30235
30230
|
* @typedef {import("./view").default} View
|
|
30236
30231
|
*/
|
|
@@ -31045,8 +31040,8 @@ function q7(t, e, n, r) {
|
|
|
31045
31040
|
document.addEventListener("mouseup", s, !1), document.addEventListener("mousemove", o, !1);
|
|
31046
31041
|
}
|
|
31047
31042
|
}
|
|
31048
|
-
var
|
|
31049
|
-
class bS extends
|
|
31043
|
+
var oo, so, Wt, Zi, uo, Mr, Li, Vl, yS, ql, wS, Yi, ps, Au, Q0, Eu, V0, Su, q0, Zl, xS, fo, Xf, Yl, vS;
|
|
31044
|
+
class bS extends Ao {
|
|
31050
31045
|
/**
|
|
31051
31046
|
*
|
|
31052
31047
|
* @param {import("../spec/view").AnyConcatSpec} spec
|
|
@@ -31097,7 +31092,7 @@ class bS extends Eo {
|
|
|
31097
31092
|
*/
|
|
31098
31093
|
me(this, Su);
|
|
31099
31094
|
me(this, Zl);
|
|
31100
|
-
me(this,
|
|
31095
|
+
me(this, fo);
|
|
31101
31096
|
/**
|
|
31102
31097
|
*
|
|
31103
31098
|
* @param {import("../utils/layout/rectangle").default} coords Coordinates
|
|
@@ -31111,8 +31106,8 @@ class bS extends Eo {
|
|
|
31111
31106
|
* @typedef {import("./view").default} View
|
|
31112
31107
|
*/
|
|
31113
31108
|
/** */
|
|
31114
|
-
me(this,
|
|
31115
|
-
me(this,
|
|
31109
|
+
me(this, oo, 1 / 0);
|
|
31110
|
+
me(this, so, 10);
|
|
31116
31111
|
/**
|
|
31117
31112
|
* @type { GridChild[] }
|
|
31118
31113
|
*/
|
|
@@ -31125,8 +31120,8 @@ class bS extends Eo {
|
|
|
31125
31120
|
* @type { Partial<Record<import("../spec/channel").PrimaryPositionalChannel, AxisView>> } }
|
|
31126
31121
|
*/
|
|
31127
31122
|
me(this, Zi, {});
|
|
31128
|
-
me(this,
|
|
31129
|
-
this.spec = n, Zn(this,
|
|
31123
|
+
me(this, uo, 0);
|
|
31124
|
+
this.spec = n, Zn(this, so, n.spacing ?? 10), Zn(this, oo, s), Zn(this, Wt, []), this.wrappingFacet = !1, this._createChildren();
|
|
31130
31125
|
}
|
|
31131
31126
|
/**
|
|
31132
31127
|
* @protected
|
|
@@ -31137,7 +31132,7 @@ class bS extends Eo {
|
|
|
31137
31132
|
* @param {View} view
|
|
31138
31133
|
*/
|
|
31139
31134
|
appendChild(n) {
|
|
31140
|
-
n.layoutParent ?? (n.layoutParent = this), ie(this, Wt).push(new Ew(n, this, ie(this,
|
|
31135
|
+
n.layoutParent ?? (n.layoutParent = this), ie(this, Wt).push(new Ew(n, this, ie(this, uo))), sm(this, uo)._++;
|
|
31141
31136
|
}
|
|
31142
31137
|
/**
|
|
31143
31138
|
* @param {View[]} views
|
|
@@ -31159,7 +31154,7 @@ class bS extends Eo {
|
|
|
31159
31154
|
ie(this, Wt)[i] = new Ew(
|
|
31160
31155
|
r,
|
|
31161
31156
|
this,
|
|
31162
|
-
ie(this,
|
|
31157
|
+
ie(this, uo)
|
|
31163
31158
|
);
|
|
31164
31159
|
else
|
|
31165
31160
|
throw new Error("Not my child view!");
|
|
@@ -31189,7 +31184,7 @@ class bS extends Eo {
|
|
|
31189
31184
|
* @return {Padding}
|
|
31190
31185
|
*/
|
|
31191
31186
|
getOverhang() {
|
|
31192
|
-
return ue(this, Zl, xS).call(this).union(ue(this,
|
|
31187
|
+
return ue(this, Zl, xS).call(this).union(ue(this, fo, Xf).call(this));
|
|
31193
31188
|
}
|
|
31194
31189
|
/**
|
|
31195
31190
|
* @returns {FlexDimensions}
|
|
@@ -31200,7 +31195,7 @@ class bS extends Eo {
|
|
|
31200
31195
|
() => new ua(
|
|
31201
31196
|
ue(this, Eu, V0).call(this, "column"),
|
|
31202
31197
|
ue(this, Eu, V0).call(this, "row")
|
|
31203
|
-
).addPadding(ue(this,
|
|
31198
|
+
).addPadding(ue(this, fo, Xf).call(this))
|
|
31204
31199
|
);
|
|
31205
31200
|
}
|
|
31206
31201
|
/**
|
|
@@ -31212,7 +31207,7 @@ class bS extends Eo {
|
|
|
31212
31207
|
render(n, r, i = {}) {
|
|
31213
31208
|
if (!this.isConfiguredVisible())
|
|
31214
31209
|
return;
|
|
31215
|
-
this.layoutParent || (r = r.shrink(this.getPadding())), r = r.shrink(ue(this,
|
|
31210
|
+
this.layoutParent || (r = r.shrink(this.getPadding())), r = r.shrink(ue(this, fo, Xf).call(this)), n.pushView(this, r);
|
|
31216
31211
|
const a = {
|
|
31217
31212
|
devicePixelRatio: this.context.devicePixelRatio
|
|
31218
31213
|
}, o = L1(
|
|
@@ -31225,7 +31220,7 @@ class bS extends Eo {
|
|
|
31225
31220
|
a
|
|
31226
31221
|
), f = new xw(
|
|
31227
31222
|
ie(this, Mr, Li).length,
|
|
31228
|
-
ie(this,
|
|
31223
|
+
ie(this, oo) ?? 1 / 0
|
|
31229
31224
|
);
|
|
31230
31225
|
for (const [u, l] of ie(this, Mr, Li).entries()) {
|
|
31231
31226
|
const {
|
|
@@ -31235,7 +31230,7 @@ class bS extends Eo {
|
|
|
31235
31230
|
background: g,
|
|
31236
31231
|
backgroundStroke: b,
|
|
31237
31232
|
title: y
|
|
31238
|
-
} = l, [w, E] = f.getCellCoords(u), _ = o[ue(this, Su, q0).call(this, "column", w)], D = s[ue(this, Su, q0).call(this, "row", E)], T = c.getSize(), N = c.getOverhang(), M = _.location - N.left, R = D.location - N.top, C = (T.width.grow ? _.size : T.width.px) + N.width, B = (T.height.grow ? D.size : T.height.px) + N.height, L = new
|
|
31233
|
+
} = l, [w, E] = f.getCellCoords(u), _ = o[ue(this, Su, q0).call(this, "column", w)], D = s[ue(this, Su, q0).call(this, "row", E)], T = c.getSize(), N = c.getOverhang(), M = _.location - N.left, R = D.location - N.top, C = (T.width.grow ? _.size : T.width.px) + N.width, B = (T.height.grow ? D.size : T.height.px) + N.height, L = new gu(
|
|
31239
31234
|
() => r.x + M,
|
|
31240
31235
|
() => r.y + R,
|
|
31241
31236
|
() => C,
|
|
@@ -31301,17 +31296,17 @@ class bS extends Eo {
|
|
|
31301
31296
|
return "independent";
|
|
31302
31297
|
}
|
|
31303
31298
|
}
|
|
31304
|
-
|
|
31299
|
+
oo = new WeakMap(), so = new WeakMap(), Wt = new WeakMap(), Zi = new WeakMap(), uo = new WeakMap(), Mr = new WeakSet(), Li = function() {
|
|
31305
31300
|
return ie(this, Wt).filter(
|
|
31306
31301
|
(n) => n.view.isConfiguredVisible()
|
|
31307
31302
|
);
|
|
31308
31303
|
}, Vl = new WeakSet(), yS = function() {
|
|
31309
31304
|
return new xw(
|
|
31310
31305
|
ie(this, Mr, Li).length,
|
|
31311
|
-
ie(this,
|
|
31306
|
+
ie(this, oo) ?? 1 / 0
|
|
31312
31307
|
);
|
|
31313
31308
|
}, ql = new WeakSet(), wS = function() {
|
|
31314
|
-
for (const n of
|
|
31309
|
+
for (const n of Ro) {
|
|
31315
31310
|
const r = this.resolutions.axis[n];
|
|
31316
31311
|
if (r) {
|
|
31317
31312
|
const i = r.getAxisProps();
|
|
@@ -31335,7 +31330,7 @@ so = new WeakMap(), uo = new WeakMap(), Wt = new WeakMap(), Zi = new WeakMap(),
|
|
|
31335
31330
|
}
|
|
31336
31331
|
for (const n of ie(this, Wt))
|
|
31337
31332
|
n.createAxes();
|
|
31338
|
-
}, Yi = new WeakSet(),
|
|
31333
|
+
}, Yi = new WeakSet(), ps = function(n) {
|
|
31339
31334
|
const r = n == "column" ? "width" : "height", i = (a, o) => a.map((s) => {
|
|
31340
31335
|
const u = ie(this, Mr, Li)[s].getOverhangAndPadding();
|
|
31341
31336
|
return n == "column" ? o ? u.right : u.left : o ? u.bottom : u.top;
|
|
@@ -31355,19 +31350,19 @@ so = new WeakMap(), uo = new WeakMap(), Wt = new WeakMap(), Zi = new WeakMap(),
|
|
|
31355
31350
|
)
|
|
31356
31351
|
);
|
|
31357
31352
|
}, Au = new WeakSet(), Q0 = function(n) {
|
|
31358
|
-
const r = ue(this, Yi,
|
|
31359
|
-
i.push(
|
|
31353
|
+
const r = ue(this, Yi, ps).call(this, n), i = [];
|
|
31354
|
+
i.push(ws);
|
|
31360
31355
|
for (const [a, o] of r.entries())
|
|
31361
|
-
a > 0 && i.push({ px: ie(this,
|
|
31356
|
+
a > 0 && i.push({ px: ie(this, so), grow: 0 }), (a == 0 || this.wrappingFacet) && i.push(ws), i.push({ px: o.axisBefore, grow: 0 }), i.push(o.view), i.push({ px: o.axisAfter, grow: 0 }), (a == r.length - 1 || this.wrappingFacet) && i.push(ws);
|
|
31362
31357
|
return i;
|
|
31363
31358
|
}, Eu = new WeakSet(), V0 = function(n) {
|
|
31364
31359
|
let r = 0, i = 0;
|
|
31365
31360
|
const a = (n == "row" && this.spec.height) ?? (n == "column" && this.spec.width);
|
|
31366
31361
|
if (a || a === 0)
|
|
31367
31362
|
return Lv(a);
|
|
31368
|
-
const o = ue(this, Yi,
|
|
31363
|
+
const o = ue(this, Yi, ps).call(this, n);
|
|
31369
31364
|
for (const [s, f] of o.entries())
|
|
31370
|
-
s > 0 && (i += ie(this,
|
|
31365
|
+
s > 0 && (i += ie(this, so)), (s == 0 || this.wrappingFacet) && (i += 0), i += f.axisBefore, i += f.view.px ?? 0, r += f.view.grow ?? 0, i += f.axisAfter, (s == o.length - 1 || this.wrappingFacet) && (i += 0);
|
|
31371
31366
|
return { px: i, grow: r };
|
|
31372
31367
|
}, Su = new WeakSet(), q0 = function(n, r) {
|
|
31373
31368
|
return n == "row" && this.wrappingFacet ? (
|
|
@@ -31378,14 +31373,14 @@ so = new WeakMap(), uo = new WeakMap(), Wt = new WeakMap(), Zi = new WeakMap(),
|
|
|
31378
31373
|
2 + 4 * r + 1
|
|
31379
31374
|
);
|
|
31380
31375
|
}, Zl = new WeakSet(), xS = function() {
|
|
31381
|
-
const n = ue(this, Yi,
|
|
31376
|
+
const n = ue(this, Yi, ps).call(this, "column"), r = ue(this, Yi, ps).call(this, "row");
|
|
31382
31377
|
return !n.length || !r.length ? xt.zero() : new xt(
|
|
31383
31378
|
r.at(0).axisBefore,
|
|
31384
31379
|
n.at(-1).axisAfter,
|
|
31385
31380
|
r.at(-1).axisAfter,
|
|
31386
31381
|
n.at(0).axisBefore
|
|
31387
31382
|
);
|
|
31388
|
-
},
|
|
31383
|
+
}, fo = new WeakSet(), Xf = function() {
|
|
31389
31384
|
const n = (r) => {
|
|
31390
31385
|
const i = Qp[r], a = ie(this, Zi)[i];
|
|
31391
31386
|
return (a == null ? void 0 : a.axisProps.orient) !== r ? 0 : Math.max(
|
|
@@ -31507,7 +31502,7 @@ class Ew {
|
|
|
31507
31502
|
* @param {number} serial
|
|
31508
31503
|
*/
|
|
31509
31504
|
constructor(e, n, r) {
|
|
31510
|
-
if (this.layoutParent = n, this.view = e, this.serial = r, this.background = void 0, this.backgroundStroke = void 0, this.axes = {}, this.gridLines = {}, this.title = void 0, this.coords =
|
|
31505
|
+
if (this.layoutParent = n, this.view = e, this.serial = r, this.background = void 0, this.backgroundStroke = void 0, this.axes = {}, this.gridLines = {}, this.title = void 0, this.coords = gu.ZERO, e.needsAxes.x || e.needsAxes.y) {
|
|
31511
31506
|
const i = e.spec, a = "view" in i ? i == null ? void 0 : i.view : void 0, o = Z7(a);
|
|
31512
31507
|
o && (this.background = new Dt(
|
|
31513
31508
|
o,
|
|
@@ -32076,7 +32071,7 @@ class eU {
|
|
|
32076
32071
|
});
|
|
32077
32072
|
}
|
|
32078
32073
|
if (this._currentHover)
|
|
32079
|
-
return
|
|
32074
|
+
return xs;
|
|
32080
32075
|
}
|
|
32081
32076
|
}), this._currentHover) {
|
|
32082
32077
|
const o = this._currentHover.mark;
|
|
@@ -32139,7 +32134,7 @@ class eU {
|
|
|
32139
32134
|
this._pickingContext
|
|
32140
32135
|
),
|
|
32141
32136
|
// Canvas should now be sized based on the root view or the container
|
|
32142
|
-
|
|
32137
|
+
gu.create(0, 0, n.width, n.height)
|
|
32143
32138
|
), this.broadcast("layoutComputed");
|
|
32144
32139
|
}
|
|
32145
32140
|
renderAll() {
|