@vitessce/layer-controller 4.2.0 → 4.2.1
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/{deflate-B8DpVQEX.js → deflate-Bz5JPtu4.js} +1 -1
- package/dist/{index-mXavO7HF.js → index-CEwIns0G.js} +421 -73
- package/dist/index.js +1 -1
- package/dist/{jpeg-BSwqwK8c.js → jpeg-BHKqui43.js} +1 -1
- package/dist/{lerc-CKc0tAyZ.js → lerc-AOF-TnoY.js} +1 -1
- package/dist/{lzw-CVtIesEK.js → lzw-JjIpY5kV.js} +1 -1
- package/dist/{packbits-Dfl3UJMF.js → packbits-BhmPQimY.js} +1 -1
- package/dist/{raw-B0KKXSNf.js → raw-CvMGDaqi.js} +1 -1
- package/dist/{webimage-BfBDKChT.js → webimage-DRvMSa2H.js} +1 -1
- package/package.json +7 -7
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { i as inflate_1 } from "./pako.esm-SxljTded.js";
|
|
2
|
-
import { B as BaseDecoder } from "./index-
|
|
2
|
+
import { B as BaseDecoder } from "./index-CEwIns0G.js";
|
|
3
3
|
class DeflateDecoder extends BaseDecoder {
|
|
4
4
|
decodeBlock(buffer) {
|
|
5
5
|
return inflate_1(new Uint8Array(buffer)).buffer;
|
|
@@ -6814,13 +6814,13 @@ const parseAddition = (str) => {
|
|
|
6814
6814
|
if (!Number.isNaN(+str)) {
|
|
6815
6815
|
return +str;
|
|
6816
6816
|
}
|
|
6817
|
-
const
|
|
6818
|
-
if (!
|
|
6817
|
+
const numbers2 = str.match(/\d*\.?\d+/g);
|
|
6818
|
+
if (!numbers2) {
|
|
6819
6819
|
return 0;
|
|
6820
6820
|
}
|
|
6821
6821
|
let sum2 = 0;
|
|
6822
|
-
for (let i2 = 0; i2 <
|
|
6823
|
-
sum2 += +
|
|
6822
|
+
for (let i2 = 0; i2 < numbers2.length; i2 += 1) {
|
|
6823
|
+
sum2 += +numbers2[i2];
|
|
6824
6824
|
}
|
|
6825
6825
|
return sum2;
|
|
6826
6826
|
};
|
|
@@ -29400,16 +29400,16 @@ class Stats {
|
|
|
29400
29400
|
}
|
|
29401
29401
|
}
|
|
29402
29402
|
getTable() {
|
|
29403
|
-
const
|
|
29403
|
+
const table2 = {};
|
|
29404
29404
|
this.forEach((stat) => {
|
|
29405
|
-
|
|
29405
|
+
table2[stat.name] = {
|
|
29406
29406
|
time: stat.time || 0,
|
|
29407
29407
|
count: stat.count || 0,
|
|
29408
29408
|
average: stat.getAverageTime() || 0,
|
|
29409
29409
|
hz: stat.getHz() || 0
|
|
29410
29410
|
};
|
|
29411
29411
|
});
|
|
29412
|
-
return
|
|
29412
|
+
return table2;
|
|
29413
29413
|
}
|
|
29414
29414
|
_initializeStats() {
|
|
29415
29415
|
let stats = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [];
|
|
@@ -30067,10 +30067,10 @@ class Log {
|
|
|
30067
30067
|
}
|
|
30068
30068
|
return this._getLogFunction(logLevel, message, originalConsole.debug || originalConsole.info, arguments, ONCE);
|
|
30069
30069
|
}
|
|
30070
|
-
table(logLevel,
|
|
30071
|
-
if (
|
|
30072
|
-
return this._getLogFunction(logLevel,
|
|
30073
|
-
tag: getTableHeader(
|
|
30070
|
+
table(logLevel, table2, columns) {
|
|
30071
|
+
if (table2) {
|
|
30072
|
+
return this._getLogFunction(logLevel, table2, console.table || noop$4, columns && [columns], {
|
|
30073
|
+
tag: getTableHeader(table2)
|
|
30074
30074
|
});
|
|
30075
30075
|
}
|
|
30076
30076
|
return noop$4;
|
|
@@ -30270,9 +30270,9 @@ function logImageInBrowser(_ref3) {
|
|
|
30270
30270
|
}
|
|
30271
30271
|
return noop$4;
|
|
30272
30272
|
}
|
|
30273
|
-
function getTableHeader(
|
|
30274
|
-
for (const key in
|
|
30275
|
-
for (const title in
|
|
30273
|
+
function getTableHeader(table2) {
|
|
30274
|
+
for (const key in table2) {
|
|
30275
|
+
for (const title in table2[key]) {
|
|
30276
30276
|
return title || "untitled";
|
|
30277
30277
|
}
|
|
30278
30278
|
}
|
|
@@ -37716,13 +37716,13 @@ function getDebugTableForUniforms(_ref) {
|
|
|
37716
37716
|
const SHADER_MODULE_UNIFORM_REGEXP = ".*_.*";
|
|
37717
37717
|
const PROJECT_MODULE_UNIFORM_REGEXP = ".*Matrix";
|
|
37718
37718
|
const uniformLocations = program._uniformSetters;
|
|
37719
|
-
const
|
|
37719
|
+
const table2 = {};
|
|
37720
37720
|
const uniformNames = Object.keys(uniformLocations).sort();
|
|
37721
37721
|
let count2 = 0;
|
|
37722
37722
|
for (const uniformName of uniformNames) {
|
|
37723
37723
|
if (!uniformName.match(SHADER_MODULE_UNIFORM_REGEXP) && !uniformName.match(PROJECT_MODULE_UNIFORM_REGEXP)) {
|
|
37724
37724
|
if (addUniformToTable({
|
|
37725
|
-
table,
|
|
37725
|
+
table: table2,
|
|
37726
37726
|
header,
|
|
37727
37727
|
uniforms,
|
|
37728
37728
|
uniformName,
|
|
@@ -37735,7 +37735,7 @@ function getDebugTableForUniforms(_ref) {
|
|
|
37735
37735
|
for (const uniformName of uniformNames) {
|
|
37736
37736
|
if (uniformName.match(PROJECT_MODULE_UNIFORM_REGEXP)) {
|
|
37737
37737
|
if (addUniformToTable({
|
|
37738
|
-
table,
|
|
37738
|
+
table: table2,
|
|
37739
37739
|
header,
|
|
37740
37740
|
uniforms,
|
|
37741
37741
|
uniformName,
|
|
@@ -37746,9 +37746,9 @@ function getDebugTableForUniforms(_ref) {
|
|
|
37746
37746
|
}
|
|
37747
37747
|
}
|
|
37748
37748
|
for (const uniformName of uniformNames) {
|
|
37749
|
-
if (!
|
|
37749
|
+
if (!table2[uniformName]) {
|
|
37750
37750
|
if (addUniformToTable({
|
|
37751
|
-
table,
|
|
37751
|
+
table: table2,
|
|
37752
37752
|
header,
|
|
37753
37753
|
uniforms,
|
|
37754
37754
|
uniformName,
|
|
@@ -37763,7 +37763,7 @@ function getDebugTableForUniforms(_ref) {
|
|
|
37763
37763
|
if (!undefinedOnly) {
|
|
37764
37764
|
for (const uniformName in uniforms) {
|
|
37765
37765
|
const uniform = uniforms[uniformName];
|
|
37766
|
-
if (!
|
|
37766
|
+
if (!table2[uniformName]) {
|
|
37767
37767
|
unusedCount++;
|
|
37768
37768
|
unusedTable[uniformName] = {
|
|
37769
37769
|
Type: "NOT USED: ".concat(uniform),
|
|
@@ -37773,7 +37773,7 @@ function getDebugTableForUniforms(_ref) {
|
|
|
37773
37773
|
}
|
|
37774
37774
|
}
|
|
37775
37775
|
return {
|
|
37776
|
-
table,
|
|
37776
|
+
table: table2,
|
|
37777
37777
|
count: count2,
|
|
37778
37778
|
unusedTable,
|
|
37779
37779
|
unusedCount
|
|
@@ -37781,7 +37781,7 @@ function getDebugTableForUniforms(_ref) {
|
|
|
37781
37781
|
}
|
|
37782
37782
|
function addUniformToTable(_ref2) {
|
|
37783
37783
|
let {
|
|
37784
|
-
table,
|
|
37784
|
+
table: table2,
|
|
37785
37785
|
header,
|
|
37786
37786
|
uniforms,
|
|
37787
37787
|
uniformName,
|
|
@@ -37790,7 +37790,7 @@ function addUniformToTable(_ref2) {
|
|
|
37790
37790
|
const value = uniforms[uniformName];
|
|
37791
37791
|
const isDefined = isUniformDefined(value);
|
|
37792
37792
|
if (!undefinedOnly || !isDefined) {
|
|
37793
|
-
|
|
37793
|
+
table2[uniformName] = {
|
|
37794
37794
|
[header]: isDefined ? formatValue(value) : "N/A",
|
|
37795
37795
|
"Uniform Type": isDefined ? value : "NOT PROVIDED"
|
|
37796
37796
|
};
|
|
@@ -37809,9 +37809,9 @@ function getDebugTableForVertexArray(_ref) {
|
|
|
37809
37809
|
if (!vertexArray.configuration) {
|
|
37810
37810
|
return {};
|
|
37811
37811
|
}
|
|
37812
|
-
const
|
|
37812
|
+
const table2 = {};
|
|
37813
37813
|
if (vertexArray.elements) {
|
|
37814
|
-
|
|
37814
|
+
table2.ELEMENT_ARRAY_BUFFER = getDebugTableRow(vertexArray, vertexArray.elements, null, header);
|
|
37815
37815
|
}
|
|
37816
37816
|
const attributes = vertexArray.values;
|
|
37817
37817
|
for (const attributeLocation in attributes) {
|
|
@@ -37822,10 +37822,10 @@ function getDebugTableForVertexArray(_ref) {
|
|
|
37822
37822
|
if (accessor) {
|
|
37823
37823
|
rowHeader = "".concat(attributeLocation, ": ").concat(getGLSLDeclaration$1(info.name, accessor));
|
|
37824
37824
|
}
|
|
37825
|
-
|
|
37825
|
+
table2[rowHeader] = getDebugTableRow(vertexArray, attributes[attributeLocation], accessor, header);
|
|
37826
37826
|
}
|
|
37827
37827
|
}
|
|
37828
|
-
return
|
|
37828
|
+
return table2;
|
|
37829
37829
|
}
|
|
37830
37830
|
function getDebugTableRow(vertexArray, attribute, accessor, header) {
|
|
37831
37831
|
const {
|
|
@@ -37897,12 +37897,12 @@ function getGLSLDeclaration$1(name2, accessor) {
|
|
|
37897
37897
|
return typeAndName ? "".concat(name2, " (").concat(typeAndName.name, ")") : name2;
|
|
37898
37898
|
}
|
|
37899
37899
|
function getDebugTableForProgramConfiguration(config2) {
|
|
37900
|
-
const
|
|
37900
|
+
const table2 = {};
|
|
37901
37901
|
const header = "Accessors for ".concat(config2.id);
|
|
37902
37902
|
for (const attributeInfo of config2.attributeInfos) {
|
|
37903
37903
|
if (attributeInfo) {
|
|
37904
37904
|
const glslDeclaration = getGLSLDeclaration(attributeInfo);
|
|
37905
|
-
|
|
37905
|
+
table2["in ".concat(glslDeclaration)] = {
|
|
37906
37906
|
[header]: JSON.stringify(attributeInfo.accessor)
|
|
37907
37907
|
};
|
|
37908
37908
|
}
|
|
@@ -37910,12 +37910,12 @@ function getDebugTableForProgramConfiguration(config2) {
|
|
|
37910
37910
|
for (const varyingInfo of config2.varyingInfos) {
|
|
37911
37911
|
if (varyingInfo) {
|
|
37912
37912
|
const glslDeclaration = getGLSLDeclaration(varyingInfo);
|
|
37913
|
-
|
|
37913
|
+
table2["out ".concat(glslDeclaration)] = {
|
|
37914
37914
|
[header]: JSON.stringify(varyingInfo.accessor)
|
|
37915
37915
|
};
|
|
37916
37916
|
}
|
|
37917
37917
|
}
|
|
37918
|
-
return
|
|
37918
|
+
return table2;
|
|
37919
37919
|
}
|
|
37920
37920
|
function getGLSLDeclaration(attributeInfo) {
|
|
37921
37921
|
const {
|
|
@@ -106984,7 +106984,7 @@ function requireBignumber() {
|
|
|
106984
106984
|
suffix: ""
|
|
106985
106985
|
}, ALPHABET = "0123456789abcdefghijklmnopqrstuvwxyz", alphabetHasNormalDecimalDigits = true;
|
|
106986
106986
|
function BigNumber3(v, b) {
|
|
106987
|
-
var
|
|
106987
|
+
var alphabet2, c, caseChanged, e2, i2, isNum, len2, str, x = this;
|
|
106988
106988
|
if (!(x instanceof BigNumber3)) return new BigNumber3(v, b);
|
|
106989
106989
|
if (b == null) {
|
|
106990
106990
|
if (v && v._isBigNumber === true) {
|
|
@@ -107040,10 +107040,10 @@ function requireBignumber() {
|
|
|
107040
107040
|
} else {
|
|
107041
107041
|
x.s = str.charCodeAt(0) === 45 ? (str = str.slice(1), -1) : 1;
|
|
107042
107042
|
}
|
|
107043
|
-
|
|
107043
|
+
alphabet2 = ALPHABET.slice(0, b);
|
|
107044
107044
|
e2 = i2 = 0;
|
|
107045
107045
|
for (len2 = str.length; i2 < len2; i2++) {
|
|
107046
|
-
if (
|
|
107046
|
+
if (alphabet2.indexOf(c = str.charAt(i2)) < 0) {
|
|
107047
107047
|
if (c == ".") {
|
|
107048
107048
|
if (i2 > e2) {
|
|
107049
107049
|
e2 = len2;
|
|
@@ -107314,11 +107314,11 @@ function requireBignumber() {
|
|
|
107314
107314
|
};
|
|
107315
107315
|
convertBase = /* @__PURE__ */ function() {
|
|
107316
107316
|
var decimal = "0123456789";
|
|
107317
|
-
function toBaseOut(str, baseIn, baseOut,
|
|
107317
|
+
function toBaseOut(str, baseIn, baseOut, alphabet2) {
|
|
107318
107318
|
var j, arr = [0], arrL, i2 = 0, len2 = str.length;
|
|
107319
107319
|
for (; i2 < len2; ) {
|
|
107320
107320
|
for (arrL = arr.length; arrL--; arr[arrL] *= baseIn) ;
|
|
107321
|
-
arr[0] +=
|
|
107321
|
+
arr[0] += alphabet2.indexOf(str.charAt(i2++));
|
|
107322
107322
|
for (j = 0; j < arr.length; j++) {
|
|
107323
107323
|
if (arr[j] > baseOut - 1) {
|
|
107324
107324
|
if (arr[j + 1] == null) arr[j + 1] = 0;
|
|
@@ -107330,7 +107330,7 @@ function requireBignumber() {
|
|
|
107330
107330
|
return arr.reverse();
|
|
107331
107331
|
}
|
|
107332
107332
|
return function(str, baseIn, baseOut, sign2, callerIsToString) {
|
|
107333
|
-
var
|
|
107333
|
+
var alphabet2, d, e2, k, r2, x, xc, y, i2 = str.indexOf("."), dp = DECIMAL_PLACES, rm = ROUNDING_MODE;
|
|
107334
107334
|
if (i2 >= 0) {
|
|
107335
107335
|
k = POW_PRECISION;
|
|
107336
107336
|
POW_PRECISION = 0;
|
|
@@ -107346,10 +107346,10 @@ function requireBignumber() {
|
|
|
107346
107346
|
);
|
|
107347
107347
|
y.e = y.c.length;
|
|
107348
107348
|
}
|
|
107349
|
-
xc = toBaseOut(str, baseIn, baseOut, callerIsToString ? (
|
|
107349
|
+
xc = toBaseOut(str, baseIn, baseOut, callerIsToString ? (alphabet2 = ALPHABET, decimal) : (alphabet2 = decimal, ALPHABET));
|
|
107350
107350
|
e2 = k = xc.length;
|
|
107351
107351
|
for (; xc[--k] == 0; xc.pop()) ;
|
|
107352
|
-
if (!xc[0]) return
|
|
107352
|
+
if (!xc[0]) return alphabet2.charAt(0);
|
|
107353
107353
|
if (i2 < 0) {
|
|
107354
107354
|
--e2;
|
|
107355
107355
|
} else {
|
|
@@ -107367,7 +107367,7 @@ function requireBignumber() {
|
|
|
107367
107367
|
r2 = r2 || d < 0 || xc[d + 1] != null;
|
|
107368
107368
|
r2 = rm < 4 ? (i2 != null || r2) && (rm == 0 || rm == (x.s < 0 ? 3 : 2)) : i2 > k || i2 == k && (rm == 4 || r2 || rm == 6 && xc[d - 1] & 1 || rm == (x.s < 0 ? 8 : 7));
|
|
107369
107369
|
if (d < 1 || !xc[0]) {
|
|
107370
|
-
str = r2 ? toFixedPoint2(
|
|
107370
|
+
str = r2 ? toFixedPoint2(alphabet2.charAt(1), -dp, alphabet2.charAt(0)) : alphabet2.charAt(0);
|
|
107371
107371
|
} else {
|
|
107372
107372
|
xc.length = d;
|
|
107373
107373
|
if (r2) {
|
|
@@ -107380,8 +107380,8 @@ function requireBignumber() {
|
|
|
107380
107380
|
}
|
|
107381
107381
|
}
|
|
107382
107382
|
for (k = xc.length; !xc[--k]; ) ;
|
|
107383
|
-
for (i2 = 0, str = ""; i2 <= k; str +=
|
|
107384
|
-
str = toFixedPoint2(str, e2,
|
|
107383
|
+
for (i2 = 0, str = ""; i2 <= k; str += alphabet2.charAt(xc[i2++])) ;
|
|
107384
|
+
str = toFixedPoint2(str, e2, alphabet2.charAt(0));
|
|
107385
107385
|
}
|
|
107386
107386
|
return str;
|
|
107387
107387
|
};
|
|
@@ -127391,22 +127391,22 @@ function addDecoder(cases, importFn) {
|
|
|
127391
127391
|
}
|
|
127392
127392
|
cases.forEach((c) => registry$1.set(c, importFn));
|
|
127393
127393
|
}
|
|
127394
|
-
addDecoder([void 0, 1], () => import("./raw-
|
|
127395
|
-
addDecoder(5, () => import("./lzw-
|
|
127394
|
+
addDecoder([void 0, 1], () => import("./raw-CvMGDaqi.js").then((m) => m.default));
|
|
127395
|
+
addDecoder(5, () => import("./lzw-JjIpY5kV.js").then((m) => m.default));
|
|
127396
127396
|
addDecoder(6, () => {
|
|
127397
127397
|
throw new Error("old style JPEG compression is not supported.");
|
|
127398
127398
|
});
|
|
127399
|
-
addDecoder(7, () => import("./jpeg-
|
|
127400
|
-
addDecoder([8, 32946], () => import("./deflate-
|
|
127401
|
-
addDecoder(32773, () => import("./packbits-
|
|
127399
|
+
addDecoder(7, () => import("./jpeg-BHKqui43.js").then((m) => m.default));
|
|
127400
|
+
addDecoder([8, 32946], () => import("./deflate-Bz5JPtu4.js").then((m) => m.default));
|
|
127401
|
+
addDecoder(32773, () => import("./packbits-BhmPQimY.js").then((m) => m.default));
|
|
127402
127402
|
addDecoder(
|
|
127403
127403
|
34887,
|
|
127404
|
-
() => import("./lerc-
|
|
127404
|
+
() => import("./lerc-AOF-TnoY.js").then(async (m) => {
|
|
127405
127405
|
await m.zstd.init();
|
|
127406
127406
|
return m;
|
|
127407
127407
|
}).then((m) => m.default)
|
|
127408
127408
|
);
|
|
127409
|
-
addDecoder(50001, () => import("./webimage-
|
|
127409
|
+
addDecoder(50001, () => import("./webimage-DRvMSa2H.js").then((m) => m.default));
|
|
127410
127410
|
function decodeRowAcc(row, stride) {
|
|
127411
127411
|
let length2 = row.length - stride;
|
|
127412
127412
|
let offset2 = 0;
|
|
@@ -132038,15 +132038,15 @@ const adler32 = (adler, buf, len2, pos) => {
|
|
|
132038
132038
|
};
|
|
132039
132039
|
var adler32_1 = adler32;
|
|
132040
132040
|
const makeTable = () => {
|
|
132041
|
-
let c,
|
|
132041
|
+
let c, table2 = [];
|
|
132042
132042
|
for (var n2 = 0; n2 < 256; n2++) {
|
|
132043
132043
|
c = n2;
|
|
132044
132044
|
for (var k = 0; k < 8; k++) {
|
|
132045
132045
|
c = c & 1 ? 3988292384 ^ c >>> 1 : c >>> 1;
|
|
132046
132046
|
}
|
|
132047
|
-
|
|
132047
|
+
table2[n2] = c;
|
|
132048
132048
|
}
|
|
132049
|
-
return
|
|
132049
|
+
return table2;
|
|
132050
132050
|
};
|
|
132051
132051
|
const crcTable = new Uint32Array(makeTable());
|
|
132052
132052
|
const crc32 = (crc, buf, len2, pos) => {
|
|
@@ -133854,7 +133854,7 @@ const dext = new Uint8Array([
|
|
|
133854
133854
|
64,
|
|
133855
133855
|
64
|
|
133856
133856
|
]);
|
|
133857
|
-
const inflate_table = (type, lens2, lens_index, codes,
|
|
133857
|
+
const inflate_table = (type, lens2, lens_index, codes, table2, table_index, work, opts) => {
|
|
133858
133858
|
const bits = opts.bits;
|
|
133859
133859
|
let len2 = 0;
|
|
133860
133860
|
let sym = 0;
|
|
@@ -133894,8 +133894,8 @@ const inflate_table = (type, lens2, lens_index, codes, table, table_index, work,
|
|
|
133894
133894
|
root2 = max2;
|
|
133895
133895
|
}
|
|
133896
133896
|
if (max2 === 0) {
|
|
133897
|
-
|
|
133898
|
-
|
|
133897
|
+
table2[table_index++] = 1 << 24 | 64 << 16 | 0;
|
|
133898
|
+
table2[table_index++] = 1 << 24 | 64 << 16 | 0;
|
|
133899
133899
|
opts.bits = 1;
|
|
133900
133900
|
return 0;
|
|
133901
133901
|
}
|
|
@@ -133970,7 +133970,7 @@ const inflate_table = (type, lens2, lens_index, codes, table, table_index, work,
|
|
|
133970
133970
|
min = fill;
|
|
133971
133971
|
do {
|
|
133972
133972
|
fill -= incr;
|
|
133973
|
-
|
|
133973
|
+
table2[next2 + (huff >> drop) + fill] = here_bits << 24 | here_op << 16 | here_val | 0;
|
|
133974
133974
|
} while (fill !== 0);
|
|
133975
133975
|
incr = 1 << len2 - 1;
|
|
133976
133976
|
while (huff & incr) {
|
|
@@ -134009,11 +134009,11 @@ const inflate_table = (type, lens2, lens_index, codes, table, table_index, work,
|
|
|
134009
134009
|
return 1;
|
|
134010
134010
|
}
|
|
134011
134011
|
low = huff & mask;
|
|
134012
|
-
|
|
134012
|
+
table2[low] = root2 << 24 | curr << 16 | next2 - table_index | 0;
|
|
134013
134013
|
}
|
|
134014
134014
|
}
|
|
134015
134015
|
if (huff !== 0) {
|
|
134016
|
-
|
|
134016
|
+
table2[next2 + huff] = len2 - drop << 24 | 64 << 16 | 0;
|
|
134017
134017
|
}
|
|
134018
134018
|
opts.bits = root2;
|
|
134019
134019
|
return 0;
|
|
@@ -136400,13 +136400,13 @@ var blosc_codec = function() {
|
|
|
136400
136400
|
}();
|
|
136401
136401
|
var __isNode = typeof process !== "undefined" && process.versions != null && process.versions.node != null;
|
|
136402
136402
|
var __toBinary = __isNode ? (base64) => new Uint8Array(Buffer.from(base64, "base64")) : /* @__PURE__ */ (() => {
|
|
136403
|
-
var
|
|
136404
|
-
for (var i2 = 0; i2 < 64; i2++)
|
|
136403
|
+
var table2 = new Uint8Array(128);
|
|
136404
|
+
for (var i2 = 0; i2 < 64; i2++) table2[i2 < 26 ? i2 + 65 : i2 < 52 ? i2 + 71 : i2 < 62 ? i2 - 4 : i2 * 4 - 205] = i2;
|
|
136405
136405
|
return (base64) => {
|
|
136406
136406
|
var n2 = base64.length, bytes = new Uint8Array((n2 - (base64[n2 - 1] == "=") - (base64[n2 - 2] == "=")) * 3 / 4 | 0);
|
|
136407
136407
|
for (var i3 = 0, j = 0; i3 < n2; ) {
|
|
136408
|
-
var c0 =
|
|
136409
|
-
var c2 =
|
|
136408
|
+
var c0 = table2[base64.charCodeAt(i3++)], c1 = table2[base64.charCodeAt(i3++)];
|
|
136409
|
+
var c2 = table2[base64.charCodeAt(i3++)], c3 = table2[base64.charCodeAt(i3++)];
|
|
136410
136410
|
bytes[j++] = c0 << 2 | c1 >> 4;
|
|
136411
136411
|
bytes[j++] = c1 << 4 | c2 >> 2;
|
|
136412
136412
|
bytes[j++] = c2 << 6 | c3;
|
|
@@ -141598,7 +141598,7 @@ function clone(configObject) {
|
|
|
141598
141598
|
suffix: ""
|
|
141599
141599
|
}, ALPHABET = "0123456789abcdefghijklmnopqrstuvwxyz", alphabetHasNormalDecimalDigits = true;
|
|
141600
141600
|
function BigNumber2(v, b) {
|
|
141601
|
-
var
|
|
141601
|
+
var alphabet2, c, caseChanged, e2, i2, isNum, len2, str, x = this;
|
|
141602
141602
|
if (!(x instanceof BigNumber2)) return new BigNumber2(v, b);
|
|
141603
141603
|
if (b == null) {
|
|
141604
141604
|
if (v && v._isBigNumber === true) {
|
|
@@ -141654,10 +141654,10 @@ function clone(configObject) {
|
|
|
141654
141654
|
} else {
|
|
141655
141655
|
x.s = str.charCodeAt(0) === 45 ? (str = str.slice(1), -1) : 1;
|
|
141656
141656
|
}
|
|
141657
|
-
|
|
141657
|
+
alphabet2 = ALPHABET.slice(0, b);
|
|
141658
141658
|
e2 = i2 = 0;
|
|
141659
141659
|
for (len2 = str.length; i2 < len2; i2++) {
|
|
141660
|
-
if (
|
|
141660
|
+
if (alphabet2.indexOf(c = str.charAt(i2)) < 0) {
|
|
141661
141661
|
if (c == ".") {
|
|
141662
141662
|
if (i2 > e2) {
|
|
141663
141663
|
e2 = len2;
|
|
@@ -141928,11 +141928,11 @@ function clone(configObject) {
|
|
|
141928
141928
|
};
|
|
141929
141929
|
convertBase = /* @__PURE__ */ function() {
|
|
141930
141930
|
var decimal = "0123456789";
|
|
141931
|
-
function toBaseOut(str, baseIn, baseOut,
|
|
141931
|
+
function toBaseOut(str, baseIn, baseOut, alphabet2) {
|
|
141932
141932
|
var j, arr = [0], arrL, i2 = 0, len2 = str.length;
|
|
141933
141933
|
for (; i2 < len2; ) {
|
|
141934
141934
|
for (arrL = arr.length; arrL--; arr[arrL] *= baseIn) ;
|
|
141935
|
-
arr[0] +=
|
|
141935
|
+
arr[0] += alphabet2.indexOf(str.charAt(i2++));
|
|
141936
141936
|
for (j = 0; j < arr.length; j++) {
|
|
141937
141937
|
if (arr[j] > baseOut - 1) {
|
|
141938
141938
|
if (arr[j + 1] == null) arr[j + 1] = 0;
|
|
@@ -141944,7 +141944,7 @@ function clone(configObject) {
|
|
|
141944
141944
|
return arr.reverse();
|
|
141945
141945
|
}
|
|
141946
141946
|
return function(str, baseIn, baseOut, sign2, callerIsToString) {
|
|
141947
|
-
var
|
|
141947
|
+
var alphabet2, d, e2, k, r2, x, xc, y, i2 = str.indexOf("."), dp = DECIMAL_PLACES, rm = ROUNDING_MODE;
|
|
141948
141948
|
if (i2 >= 0) {
|
|
141949
141949
|
k = POW_PRECISION;
|
|
141950
141950
|
POW_PRECISION = 0;
|
|
@@ -141960,10 +141960,10 @@ function clone(configObject) {
|
|
|
141960
141960
|
);
|
|
141961
141961
|
y.e = y.c.length;
|
|
141962
141962
|
}
|
|
141963
|
-
xc = toBaseOut(str, baseIn, baseOut, callerIsToString ? (
|
|
141963
|
+
xc = toBaseOut(str, baseIn, baseOut, callerIsToString ? (alphabet2 = ALPHABET, decimal) : (alphabet2 = decimal, ALPHABET));
|
|
141964
141964
|
e2 = k = xc.length;
|
|
141965
141965
|
for (; xc[--k] == 0; xc.pop()) ;
|
|
141966
|
-
if (!xc[0]) return
|
|
141966
|
+
if (!xc[0]) return alphabet2.charAt(0);
|
|
141967
141967
|
if (i2 < 0) {
|
|
141968
141968
|
--e2;
|
|
141969
141969
|
} else {
|
|
@@ -141981,7 +141981,7 @@ function clone(configObject) {
|
|
|
141981
141981
|
r2 = r2 || d < 0 || xc[d + 1] != null;
|
|
141982
141982
|
r2 = rm < 4 ? (i2 != null || r2) && (rm == 0 || rm == (x.s < 0 ? 3 : 2)) : i2 > k || i2 == k && (rm == 4 || r2 || rm == 6 && xc[d - 1] & 1 || rm == (x.s < 0 ? 8 : 7));
|
|
141983
141983
|
if (d < 1 || !xc[0]) {
|
|
141984
|
-
str = r2 ? toFixedPoint(
|
|
141984
|
+
str = r2 ? toFixedPoint(alphabet2.charAt(1), -dp, alphabet2.charAt(0)) : alphabet2.charAt(0);
|
|
141985
141985
|
} else {
|
|
141986
141986
|
xc.length = d;
|
|
141987
141987
|
if (r2) {
|
|
@@ -141994,8 +141994,8 @@ function clone(configObject) {
|
|
|
141994
141994
|
}
|
|
141995
141995
|
}
|
|
141996
141996
|
for (k = xc.length; !xc[--k]; ) ;
|
|
141997
|
-
for (i2 = 0, str = ""; i2 <= k; str +=
|
|
141998
|
-
str = toFixedPoint(str, e2,
|
|
141997
|
+
for (i2 = 0, str = ""; i2 <= k; str += alphabet2.charAt(xc[i2++])) ;
|
|
141998
|
+
str = toFixedPoint(str, e2, alphabet2.charAt(0));
|
|
141999
141999
|
}
|
|
142000
142000
|
return str;
|
|
142001
142001
|
};
|
|
@@ -146062,6 +146062,354 @@ async function initializeLayerChannels(loader, use3d) {
|
|
|
146062
146062
|
});
|
|
146063
146063
|
return result;
|
|
146064
146064
|
}
|
|
146065
|
+
const alphabet = "abcdefghijklmnopqrstuvwxyz";
|
|
146066
|
+
const numbers = "01234569789";
|
|
146067
|
+
const expr = "()*/+-";
|
|
146068
|
+
const space = " ";
|
|
146069
|
+
new Set(
|
|
146070
|
+
alphabet + alphabet.toUpperCase() + numbers + expr + space
|
|
146071
|
+
);
|
|
146072
|
+
(() => {
|
|
146073
|
+
var table2 = new Uint8Array(128);
|
|
146074
|
+
for (var i2 = 0; i2 < 64; i2++) {
|
|
146075
|
+
table2[i2 < 26 ? i2 + 65 : i2 < 52 ? i2 + 71 : i2 < 62 ? i2 - 4 : i2 * 4 - 205] = i2;
|
|
146076
|
+
}
|
|
146077
|
+
return (base64) => {
|
|
146078
|
+
var n2 = base64.length;
|
|
146079
|
+
var bytes = new Uint8Array(
|
|
146080
|
+
// @ts-expect-error
|
|
146081
|
+
(n2 - (base64[n2 - 1] == "=") - (base64[n2 - 2] == "=")) * 3 / 4 | 0
|
|
146082
|
+
);
|
|
146083
|
+
for (var i22 = 0, j = 0; i22 < n2; ) {
|
|
146084
|
+
var c0 = table2[base64.charCodeAt(i22++)], c1 = table2[base64.charCodeAt(i22++)];
|
|
146085
|
+
var c2 = table2[base64.charCodeAt(i22++)], c3 = table2[base64.charCodeAt(i22++)];
|
|
146086
|
+
bytes[j++] = c0 << 2 | c1 >> 4;
|
|
146087
|
+
bytes[j++] = c1 << 4 | c2 >> 2;
|
|
146088
|
+
bytes[j++] = c2 << 6 | c3;
|
|
146089
|
+
}
|
|
146090
|
+
return bytes;
|
|
146091
|
+
};
|
|
146092
|
+
})();
|
|
146093
|
+
new TextEncoder();
|
|
146094
|
+
function _structure_size(structure) {
|
|
146095
|
+
const fmt = "<" + Array.from(structure.values()).join("");
|
|
146096
|
+
return struct.calcsize(fmt);
|
|
146097
|
+
}
|
|
146098
|
+
function isBigEndian() {
|
|
146099
|
+
const array = new Uint8Array(4);
|
|
146100
|
+
const view = new Uint32Array(array.buffer);
|
|
146101
|
+
return !((view[0] = 1) & array[0]);
|
|
146102
|
+
}
|
|
146103
|
+
function decodeFloat16(low, high) {
|
|
146104
|
+
const sign2 = (high & 128) >> 7;
|
|
146105
|
+
const exponent = (high & 124) >> 2;
|
|
146106
|
+
const fraction = ((high & 3) << 8) + low;
|
|
146107
|
+
let magnitude;
|
|
146108
|
+
if (exponent === 31) {
|
|
146109
|
+
magnitude = fraction === 0 ? Infinity : NaN;
|
|
146110
|
+
} else if (exponent === 0) {
|
|
146111
|
+
magnitude = 2 ** -14 * (fraction / 1024);
|
|
146112
|
+
} else {
|
|
146113
|
+
magnitude = 2 ** (exponent - 15) * (1 + fraction / 1024);
|
|
146114
|
+
}
|
|
146115
|
+
return sign2 ? -magnitude : magnitude;
|
|
146116
|
+
}
|
|
146117
|
+
class DataView64 extends DataView {
|
|
146118
|
+
getFloat16(byteOffset, littleEndian) {
|
|
146119
|
+
const bytes = [this.getUint8(byteOffset), this.getUint8(byteOffset + 1)];
|
|
146120
|
+
if (!littleEndian)
|
|
146121
|
+
bytes.reverse();
|
|
146122
|
+
return decodeFloat16(bytes[0], bytes[1]);
|
|
146123
|
+
}
|
|
146124
|
+
getUint64(byteOffset, littleEndian) {
|
|
146125
|
+
const left = BigInt(this.getUint32(byteOffset, littleEndian));
|
|
146126
|
+
const right = BigInt(this.getUint32(byteOffset + 4, littleEndian));
|
|
146127
|
+
const combined = littleEndian ? left + (right << 32n) : (left << 32n) + right;
|
|
146128
|
+
return Number(combined);
|
|
146129
|
+
}
|
|
146130
|
+
getInt64(byteOffset, littleEndian) {
|
|
146131
|
+
let low, high;
|
|
146132
|
+
if (littleEndian) {
|
|
146133
|
+
low = this.getUint32(byteOffset, true);
|
|
146134
|
+
high = this.getInt32(byteOffset + 4, true);
|
|
146135
|
+
} else {
|
|
146136
|
+
high = this.getInt32(byteOffset, false);
|
|
146137
|
+
low = this.getUint32(byteOffset + 4, false);
|
|
146138
|
+
}
|
|
146139
|
+
const combined = BigInt(low) + (BigInt(high) << 32n);
|
|
146140
|
+
return Number(combined);
|
|
146141
|
+
}
|
|
146142
|
+
getString(byteOffset, _littleEndian, length2) {
|
|
146143
|
+
const str_buffer = this.buffer.slice(byteOffset, byteOffset + length2);
|
|
146144
|
+
return new TextDecoder().decode(str_buffer);
|
|
146145
|
+
}
|
|
146146
|
+
getVLENStruct(byteOffset, littleEndian, _length) {
|
|
146147
|
+
const item_size = this.getUint32(byteOffset, littleEndian);
|
|
146148
|
+
const collection_address = this.getUint64(byteOffset + 4, littleEndian);
|
|
146149
|
+
const object_index = this.getUint32(byteOffset + 12, littleEndian);
|
|
146150
|
+
return [item_size, collection_address, object_index];
|
|
146151
|
+
}
|
|
146152
|
+
}
|
|
146153
|
+
class Struct {
|
|
146154
|
+
big_endian;
|
|
146155
|
+
getters;
|
|
146156
|
+
byte_lengths;
|
|
146157
|
+
fmt_size_regex;
|
|
146158
|
+
constructor() {
|
|
146159
|
+
this.big_endian = isBigEndian();
|
|
146160
|
+
this.getters = {
|
|
146161
|
+
s: "getUint8",
|
|
146162
|
+
b: "getInt8",
|
|
146163
|
+
B: "getUint8",
|
|
146164
|
+
h: "getInt16",
|
|
146165
|
+
H: "getUint16",
|
|
146166
|
+
i: "getInt32",
|
|
146167
|
+
I: "getUint32",
|
|
146168
|
+
l: "getInt32",
|
|
146169
|
+
L: "getUint32",
|
|
146170
|
+
q: "getInt64",
|
|
146171
|
+
Q: "getUint64",
|
|
146172
|
+
e: "getFloat16",
|
|
146173
|
+
f: "getFloat32",
|
|
146174
|
+
d: "getFloat64"
|
|
146175
|
+
};
|
|
146176
|
+
this.byte_lengths = {
|
|
146177
|
+
s: 1,
|
|
146178
|
+
b: 1,
|
|
146179
|
+
B: 1,
|
|
146180
|
+
h: 2,
|
|
146181
|
+
H: 2,
|
|
146182
|
+
i: 4,
|
|
146183
|
+
I: 4,
|
|
146184
|
+
l: 4,
|
|
146185
|
+
L: 4,
|
|
146186
|
+
q: 8,
|
|
146187
|
+
Q: 8,
|
|
146188
|
+
e: 2,
|
|
146189
|
+
f: 4,
|
|
146190
|
+
d: 8
|
|
146191
|
+
};
|
|
146192
|
+
const all_formats = Object.keys(this.byte_lengths).join("");
|
|
146193
|
+
this.fmt_size_regex = "(\\d*)([" + all_formats + "])";
|
|
146194
|
+
}
|
|
146195
|
+
calcsize(fmt) {
|
|
146196
|
+
let size2 = 0;
|
|
146197
|
+
const regex = new RegExp(this.fmt_size_regex, "g");
|
|
146198
|
+
let match2;
|
|
146199
|
+
while ((match2 = regex.exec(fmt)) !== null) {
|
|
146200
|
+
const n2 = parseInt(match2[1] || "1", 10);
|
|
146201
|
+
const f2 = match2[2];
|
|
146202
|
+
size2 += n2 * this.byte_lengths[f2];
|
|
146203
|
+
}
|
|
146204
|
+
return size2;
|
|
146205
|
+
}
|
|
146206
|
+
_is_big_endian(fmt) {
|
|
146207
|
+
if (/^</.test(fmt))
|
|
146208
|
+
return false;
|
|
146209
|
+
if (/^(!|>)/.test(fmt))
|
|
146210
|
+
return true;
|
|
146211
|
+
return this.big_endian;
|
|
146212
|
+
}
|
|
146213
|
+
unpack_from(fmt, buffer, offset2) {
|
|
146214
|
+
offset2 = Number(offset2 || 0);
|
|
146215
|
+
const view = new DataView64(buffer, 0);
|
|
146216
|
+
const output = [];
|
|
146217
|
+
const big_endian = this._is_big_endian(fmt);
|
|
146218
|
+
const regex = new RegExp(this.fmt_size_regex, "g");
|
|
146219
|
+
let match2;
|
|
146220
|
+
while ((match2 = regex.exec(fmt)) !== null) {
|
|
146221
|
+
const n2 = parseInt(match2[1] || "1", 10);
|
|
146222
|
+
const f2 = match2[2];
|
|
146223
|
+
const getter = this.getters[f2];
|
|
146224
|
+
const size2 = this.byte_lengths[f2];
|
|
146225
|
+
if (f2 === "s") {
|
|
146226
|
+
output.push(new TextDecoder().decode(buffer.slice(offset2, offset2 + n2)));
|
|
146227
|
+
offset2 += n2;
|
|
146228
|
+
} else {
|
|
146229
|
+
for (let i2 = 0; i2 < n2; i2++) {
|
|
146230
|
+
output.push(view[getter](offset2, !big_endian));
|
|
146231
|
+
offset2 += size2;
|
|
146232
|
+
}
|
|
146233
|
+
}
|
|
146234
|
+
}
|
|
146235
|
+
return output;
|
|
146236
|
+
}
|
|
146237
|
+
}
|
|
146238
|
+
const struct = new Struct();
|
|
146239
|
+
const DATATYPE_MSG = /* @__PURE__ */ new Map([
|
|
146240
|
+
["class_and_version", "B"],
|
|
146241
|
+
["class_bit_field_0", "B"],
|
|
146242
|
+
["class_bit_field_1", "B"],
|
|
146243
|
+
["class_bit_field_2", "B"],
|
|
146244
|
+
["size", "I"]
|
|
146245
|
+
]);
|
|
146246
|
+
_structure_size(DATATYPE_MSG);
|
|
146247
|
+
const B_LINK_NODE_V1 = /* @__PURE__ */ new Map([
|
|
146248
|
+
["signature", "4s"],
|
|
146249
|
+
["node_type", "B"],
|
|
146250
|
+
["node_level", "B"],
|
|
146251
|
+
["entries_used", "H"],
|
|
146252
|
+
["left_sibling", "Q"],
|
|
146253
|
+
["right_sibling", "Q"]
|
|
146254
|
+
]);
|
|
146255
|
+
_structure_size(B_LINK_NODE_V1);
|
|
146256
|
+
const B_LINK_NODE_V2 = /* @__PURE__ */ new Map([
|
|
146257
|
+
["signature", "4s"],
|
|
146258
|
+
["version", "B"],
|
|
146259
|
+
["node_type", "B"]
|
|
146260
|
+
]);
|
|
146261
|
+
_structure_size(B_LINK_NODE_V2);
|
|
146262
|
+
struct.unpack_from("8s", new Uint8Array([137, 72, 68, 70, 13, 10, 26, 10]).buffer)[0];
|
|
146263
|
+
struct.unpack_from("<Q", new Uint8Array([255, 255, 255, 255, 255, 255, 255, 255]).buffer)[0];
|
|
146264
|
+
const SUPERBLOCK_V0 = /* @__PURE__ */ new Map([
|
|
146265
|
+
["format_signature", "8s"],
|
|
146266
|
+
["superblock_version", "B"],
|
|
146267
|
+
["free_storage_version", "B"],
|
|
146268
|
+
["root_group_version", "B"],
|
|
146269
|
+
["reserved_0", "B"],
|
|
146270
|
+
["shared_header_version", "B"],
|
|
146271
|
+
["offset_size", "B"],
|
|
146272
|
+
["length_size", "B"],
|
|
146273
|
+
["reserved_1", "B"],
|
|
146274
|
+
["group_leaf_node_k", "H"],
|
|
146275
|
+
["group_internal_node_k", "H"],
|
|
146276
|
+
["file_consistency_flags", "L"],
|
|
146277
|
+
["base_address_lower", "Q"],
|
|
146278
|
+
["free_space_address", "Q"],
|
|
146279
|
+
["end_of_file_address", "Q"],
|
|
146280
|
+
["driver_information_address", "Q"]
|
|
146281
|
+
]);
|
|
146282
|
+
_structure_size(SUPERBLOCK_V0);
|
|
146283
|
+
const SUPERBLOCK_V2_V3 = /* @__PURE__ */ new Map([
|
|
146284
|
+
["format_signature", "8s"],
|
|
146285
|
+
["superblock_version", "B"],
|
|
146286
|
+
["offset_size", "B"],
|
|
146287
|
+
["length_size", "B"],
|
|
146288
|
+
["file_consistency_flags", "B"],
|
|
146289
|
+
["base_address", "Q"],
|
|
146290
|
+
["superblock_extension_address", "Q"],
|
|
146291
|
+
["end_of_file_address", "Q"],
|
|
146292
|
+
["root_group_address", "Q"],
|
|
146293
|
+
["superblock_checksum", "I"]
|
|
146294
|
+
]);
|
|
146295
|
+
_structure_size(SUPERBLOCK_V2_V3);
|
|
146296
|
+
const SYMBOL_TABLE_ENTRY = /* @__PURE__ */ new Map([
|
|
146297
|
+
["link_name_offset", "Q"],
|
|
146298
|
+
["object_header_address", "Q"],
|
|
146299
|
+
["cache_type", "I"],
|
|
146300
|
+
["reserved", "I"],
|
|
146301
|
+
["scratch", "16s"]
|
|
146302
|
+
]);
|
|
146303
|
+
_structure_size(SYMBOL_TABLE_ENTRY);
|
|
146304
|
+
const SYMBOL_TABLE_NODE = /* @__PURE__ */ new Map([
|
|
146305
|
+
["signature", "4s"],
|
|
146306
|
+
["version", "B"],
|
|
146307
|
+
["reserved_0", "B"],
|
|
146308
|
+
["symbols", "H"]
|
|
146309
|
+
]);
|
|
146310
|
+
_structure_size(SYMBOL_TABLE_NODE);
|
|
146311
|
+
const GLOBAL_HEAP_HEADER = /* @__PURE__ */ new Map([
|
|
146312
|
+
["signature", "4s"],
|
|
146313
|
+
["version", "B"],
|
|
146314
|
+
["reserved", "3s"],
|
|
146315
|
+
["collection_size", "Q"]
|
|
146316
|
+
]);
|
|
146317
|
+
_structure_size(GLOBAL_HEAP_HEADER);
|
|
146318
|
+
const GLOBAL_HEAP_OBJECT = /* @__PURE__ */ new Map([
|
|
146319
|
+
["object_index", "H"],
|
|
146320
|
+
["reference_count", "H"],
|
|
146321
|
+
["reserved", "I"],
|
|
146322
|
+
["object_size", "Q"]
|
|
146323
|
+
]);
|
|
146324
|
+
_structure_size(GLOBAL_HEAP_OBJECT);
|
|
146325
|
+
const OBJECT_HEADER_V1 = /* @__PURE__ */ new Map([
|
|
146326
|
+
["version", "B"],
|
|
146327
|
+
["reserved", "B"],
|
|
146328
|
+
["total_header_messages", "H"],
|
|
146329
|
+
["object_reference_count", "I"],
|
|
146330
|
+
["object_header_size", "I"],
|
|
146331
|
+
["padding", "I"]
|
|
146332
|
+
]);
|
|
146333
|
+
_structure_size(OBJECT_HEADER_V1);
|
|
146334
|
+
const OBJECT_HEADER_V2 = /* @__PURE__ */ new Map([
|
|
146335
|
+
["signature", "4s"],
|
|
146336
|
+
["version", "B"],
|
|
146337
|
+
["flags", "B"]
|
|
146338
|
+
]);
|
|
146339
|
+
_structure_size(OBJECT_HEADER_V2);
|
|
146340
|
+
const HEADER_MSG_INFO_V1 = /* @__PURE__ */ new Map([
|
|
146341
|
+
["type", "H"],
|
|
146342
|
+
["size", "H"],
|
|
146343
|
+
["flags", "B"],
|
|
146344
|
+
["reserved", "3s"]
|
|
146345
|
+
]);
|
|
146346
|
+
_structure_size(HEADER_MSG_INFO_V1);
|
|
146347
|
+
const HEADER_MSG_INFO_V2 = /* @__PURE__ */ new Map([
|
|
146348
|
+
["type", "B"],
|
|
146349
|
+
["size", "H"],
|
|
146350
|
+
["flags", "B"]
|
|
146351
|
+
]);
|
|
146352
|
+
_structure_size(HEADER_MSG_INFO_V2);
|
|
146353
|
+
const ATTR_MSG_HEADER_V1 = /* @__PURE__ */ new Map([
|
|
146354
|
+
["version", "B"],
|
|
146355
|
+
["reserved", "B"],
|
|
146356
|
+
["name_size", "H"],
|
|
146357
|
+
["datatype_size", "H"],
|
|
146358
|
+
["dataspace_size", "H"]
|
|
146359
|
+
]);
|
|
146360
|
+
_structure_size(ATTR_MSG_HEADER_V1);
|
|
146361
|
+
const ATTR_MSG_HEADER_V3 = /* @__PURE__ */ new Map([
|
|
146362
|
+
["version", "B"],
|
|
146363
|
+
["flags", "B"],
|
|
146364
|
+
["name_size", "H"],
|
|
146365
|
+
["datatype_size", "H"],
|
|
146366
|
+
["dataspace_size", "H"],
|
|
146367
|
+
["character_set_encoding", "B"]
|
|
146368
|
+
]);
|
|
146369
|
+
_structure_size(ATTR_MSG_HEADER_V3);
|
|
146370
|
+
const DATASPACE_MSG_HEADER_V1 = /* @__PURE__ */ new Map([
|
|
146371
|
+
["version", "B"],
|
|
146372
|
+
["dimensionality", "B"],
|
|
146373
|
+
["flags", "B"],
|
|
146374
|
+
["reserved_0", "B"],
|
|
146375
|
+
["reserved_1", "I"]
|
|
146376
|
+
]);
|
|
146377
|
+
_structure_size(DATASPACE_MSG_HEADER_V1);
|
|
146378
|
+
const DATASPACE_MSG_HEADER_V2 = /* @__PURE__ */ new Map([
|
|
146379
|
+
["version", "B"],
|
|
146380
|
+
["dimensionality", "B"],
|
|
146381
|
+
["flags", "B"],
|
|
146382
|
+
["type", "B"]
|
|
146383
|
+
]);
|
|
146384
|
+
_structure_size(DATASPACE_MSG_HEADER_V2);
|
|
146385
|
+
const FILLVAL_MSG_V1V2 = /* @__PURE__ */ new Map([
|
|
146386
|
+
["version", "B"],
|
|
146387
|
+
["space_allocation_time", "B"],
|
|
146388
|
+
["fillvalue_write_time", "B"],
|
|
146389
|
+
["fillvalue_defined", "B"]
|
|
146390
|
+
]);
|
|
146391
|
+
_structure_size(FILLVAL_MSG_V1V2);
|
|
146392
|
+
const FILLVAL_MSG_V3 = /* @__PURE__ */ new Map([
|
|
146393
|
+
["version", "B"],
|
|
146394
|
+
["flags", "B"]
|
|
146395
|
+
]);
|
|
146396
|
+
_structure_size(FILLVAL_MSG_V3);
|
|
146397
|
+
const FILTER_PIPELINE_DESCR_V1 = /* @__PURE__ */ new Map([
|
|
146398
|
+
["filter_id", "H"],
|
|
146399
|
+
["name_length", "H"],
|
|
146400
|
+
["flags", "H"],
|
|
146401
|
+
["client_data_values", "H"]
|
|
146402
|
+
]);
|
|
146403
|
+
_structure_size(FILTER_PIPELINE_DESCR_V1);
|
|
146404
|
+
const GLOBAL_HEAP_ID = /* @__PURE__ */ new Map([
|
|
146405
|
+
["collection_address", "Q"],
|
|
146406
|
+
["object_index", "I"]
|
|
146407
|
+
]);
|
|
146408
|
+
_structure_size(GLOBAL_HEAP_ID);
|
|
146409
|
+
let table = new Uint8Array(128);
|
|
146410
|
+
for (let i2 = 0; i2 < 64; i2++) {
|
|
146411
|
+
table[i2 < 26 ? i2 + 65 : i2 < 52 ? i2 + 71 : i2 < 62 ? i2 - 4 : i2 * 4 - 205] = i2;
|
|
146412
|
+
}
|
|
146065
146413
|
function getDomains() {
|
|
146066
146414
|
const domains = {};
|
|
146067
146415
|
const needMin = ["Int8", "Int16", "Int32"];
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { i as inflate_1 } from "./pako.esm-SxljTded.js";
|
|
2
|
-
import { g as getDefaultExportFromCjs, B as BaseDecoder } from "./index-
|
|
2
|
+
import { g as getDefaultExportFromCjs, B as BaseDecoder } from "./index-CEwIns0G.js";
|
|
3
3
|
const LercParameters = {
|
|
4
4
|
AddCompression: 1
|
|
5
5
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vitessce/layer-controller",
|
|
3
|
-
"version": "4.2.
|
|
3
|
+
"version": "4.2.1",
|
|
4
4
|
"author": "HIDIVE Lab at HMS",
|
|
5
5
|
"homepage": "http://vitessce.io",
|
|
6
6
|
"repository": {
|
|
@@ -19,12 +19,12 @@
|
|
|
19
19
|
"lodash-es": "^4.17.21",
|
|
20
20
|
"math.gl": "^3.5.6",
|
|
21
21
|
"react-aria": "^3.47.0",
|
|
22
|
-
"@vitessce/styles": "4.2.
|
|
23
|
-
"@vitessce/constants-internal": "4.2.
|
|
24
|
-
"@vitessce/gl": "4.2.
|
|
25
|
-
"@vitessce/
|
|
26
|
-
"@vitessce/utils": "4.2.
|
|
27
|
-
"@vitessce/
|
|
22
|
+
"@vitessce/styles": "4.2.1",
|
|
23
|
+
"@vitessce/constants-internal": "4.2.1",
|
|
24
|
+
"@vitessce/gl": "4.2.1",
|
|
25
|
+
"@vitessce/vit-s": "4.2.1",
|
|
26
|
+
"@vitessce/spatial-utils": "4.2.1",
|
|
27
|
+
"@vitessce/utils": "4.2.1"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"react": "19.2.6",
|