@loaders.gl/splats 5.0.0-alpha.12 → 5.0.0-alpha.14
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/LICENSE +1 -1
- package/dist/dist.dev.js +240 -128
- package/dist/dist.min.js +16 -16
- package/dist/index.cjs +65 -50
- package/dist/index.cjs.map +3 -3
- package/dist/ksplat-loader-types.d.ts +1 -1
- package/dist/ksplat-loader-types.d.ts.map +1 -1
- package/dist/ksplat-loader-types.js +1 -1
- package/dist/ksplat-loader.d.ts +1 -1
- package/dist/ksplat-loader.d.ts.map +1 -1
- package/dist/lib/parse-ksplat.d.ts +1 -1
- package/dist/lib/parse-ksplat.d.ts.map +1 -1
- package/dist/lib/parse-rad-chunk.d.ts +1 -1
- package/dist/lib/parse-rad-chunk.d.ts.map +1 -1
- package/dist/lib/parse-splat.d.ts +1 -1
- package/dist/lib/parse-splat.d.ts.map +1 -1
- package/dist/lib/parse-spz.d.ts +1 -1
- package/dist/lib/parse-spz.d.ts.map +1 -1
- package/dist/lib/splats-arrow-table.d.ts +1 -1
- package/dist/lib/splats-arrow-table.d.ts.map +1 -1
- package/dist/rad-loader-types.js +1 -1
- package/dist/rad-source-loader.d.ts +3 -3
- package/dist/rad-source-loader.d.ts.map +1 -1
- package/dist/rad-source-loader.js +2 -2
- package/dist/rad-source-loader.js.map +1 -1
- package/dist/splat-loader-types.d.ts +1 -1
- package/dist/splat-loader-types.d.ts.map +1 -1
- package/dist/splat-loader-types.js +1 -1
- package/dist/splat-loader.d.ts +1 -1
- package/dist/splat-loader.d.ts.map +1 -1
- package/dist/spz-loader-types.d.ts +1 -1
- package/dist/spz-loader-types.d.ts.map +1 -1
- package/dist/spz-loader-types.js +1 -1
- package/dist/spz-loader.d.ts +1 -1
- package/dist/spz-loader.d.ts.map +1 -1
- package/dist/types.d.ts +1 -1
- package/dist/types.d.ts.map +1 -1
- package/package.json +3 -5
- package/src/ksplat-loader-types.ts +2 -2
- package/src/ksplat-loader.ts +2 -2
- package/src/lib/parse-ksplat.ts +1 -1
- package/src/lib/parse-rad-chunk.ts +1 -1
- package/src/lib/parse-splat.ts +1 -1
- package/src/lib/parse-spz.ts +1 -1
- package/src/lib/splats-arrow-table.ts +1 -1
- package/src/rad-loader-types.ts +1 -1
- package/src/rad-loader.ts +1 -1
- package/src/rad-source-loader.ts +3 -3
- package/src/splat-loader-types.ts +2 -2
- package/src/splat-loader.ts +2 -2
- package/src/splats-format.ts +1 -1
- package/src/spz-loader-types.ts +2 -2
- package/src/spz-loader.ts +2 -2
- package/src/types.ts +1 -1
package/dist/index.cjs
CHANGED
|
@@ -81,7 +81,7 @@ var init_splats_format = __esm({
|
|
|
81
81
|
}
|
|
82
82
|
});
|
|
83
83
|
|
|
84
|
-
// ../loader-utils/
|
|
84
|
+
// ../core/src/loader-utils/lib/log-utils/log.ts
|
|
85
85
|
function createLog() {
|
|
86
86
|
const log2 = new import_log.Log({ id: "loaders.gl" });
|
|
87
87
|
globalThis.loaders ||= {};
|
|
@@ -93,26 +93,26 @@ function createLog() {
|
|
|
93
93
|
}
|
|
94
94
|
var import_log, VERSION, version, log;
|
|
95
95
|
var init_log = __esm({
|
|
96
|
-
"../loader-utils/
|
|
96
|
+
"../core/src/loader-utils/lib/log-utils/log.ts"() {
|
|
97
97
|
"use strict";
|
|
98
|
-
import_log = require("
|
|
98
|
+
import_log = require("probe.gl/log");
|
|
99
99
|
VERSION = typeof __VERSION__ !== "undefined" ? __VERSION__ : "latest";
|
|
100
100
|
version = VERSION[0] >= "0" && VERSION[0] <= "9" ? `v${VERSION}` : "";
|
|
101
101
|
log = createLog();
|
|
102
102
|
}
|
|
103
103
|
});
|
|
104
104
|
|
|
105
|
-
// ../loader-utils/
|
|
105
|
+
// ../core/src/loader-utils/lib/javascript-utils/is-type.ts
|
|
106
106
|
var isObject, isPureObject;
|
|
107
107
|
var init_is_type = __esm({
|
|
108
|
-
"../loader-utils/
|
|
108
|
+
"../core/src/loader-utils/lib/javascript-utils/is-type.ts"() {
|
|
109
109
|
"use strict";
|
|
110
110
|
isObject = (value) => value !== null && typeof value === "object";
|
|
111
111
|
isPureObject = (value) => isObject(value) && value.constructor === {}.constructor;
|
|
112
112
|
}
|
|
113
113
|
});
|
|
114
114
|
|
|
115
|
-
// ../loader-utils/
|
|
115
|
+
// ../core/src/loader-utils/lib/option-utils/merge-options.ts
|
|
116
116
|
function mergeOptions(baseOptions, newOptions) {
|
|
117
117
|
return mergeOptionsRecursively(baseOptions || {}, newOptions);
|
|
118
118
|
}
|
|
@@ -135,25 +135,25 @@ function mergeOptionsRecursively(baseOptions, newOptions, level = 0) {
|
|
|
135
135
|
return options;
|
|
136
136
|
}
|
|
137
137
|
var init_merge_options = __esm({
|
|
138
|
-
"../loader-utils/
|
|
138
|
+
"../core/src/loader-utils/lib/option-utils/merge-options.ts"() {
|
|
139
139
|
"use strict";
|
|
140
140
|
init_is_type();
|
|
141
141
|
}
|
|
142
142
|
});
|
|
143
143
|
|
|
144
|
-
// ../loader-utils/
|
|
144
|
+
// ../core/src/loader-utils/lib/module-utils/js-module-utils.ts
|
|
145
145
|
function registerJSModules(modules) {
|
|
146
146
|
globalThis.loaders ||= {};
|
|
147
147
|
globalThis.loaders.modules ||= {};
|
|
148
148
|
Object.assign(globalThis.loaders.modules, modules);
|
|
149
149
|
}
|
|
150
150
|
var init_js_module_utils = __esm({
|
|
151
|
-
"../loader-utils/
|
|
151
|
+
"../core/src/loader-utils/lib/module-utils/js-module-utils.ts"() {
|
|
152
152
|
"use strict";
|
|
153
153
|
}
|
|
154
154
|
});
|
|
155
155
|
|
|
156
|
-
// ../loader-utils/
|
|
156
|
+
// ../core/src/loader-utils/lib/binary-utils/array-buffer-utils.ts
|
|
157
157
|
function concatenateArrayBuffers(...sources) {
|
|
158
158
|
return concatenateArrayBuffersFromArray(sources);
|
|
159
159
|
}
|
|
@@ -171,12 +171,12 @@ function concatenateArrayBuffersFromArray(sources) {
|
|
|
171
171
|
return result.buffer;
|
|
172
172
|
}
|
|
173
173
|
var init_array_buffer_utils = __esm({
|
|
174
|
-
"../loader-utils/
|
|
174
|
+
"../core/src/loader-utils/lib/binary-utils/array-buffer-utils.ts"() {
|
|
175
175
|
"use strict";
|
|
176
176
|
}
|
|
177
177
|
});
|
|
178
178
|
|
|
179
|
-
// ../loader-utils/
|
|
179
|
+
// ../core/src/loader-utils/lib/iterators/async-iteration.ts
|
|
180
180
|
async function concatenateArrayBuffersAsync(asyncIterator) {
|
|
181
181
|
const arrayBuffers = [];
|
|
182
182
|
for await (const chunk of asyncIterator) {
|
|
@@ -201,13 +201,13 @@ function copyFromBuffer(buffer, byteOffset = 0, byteLength = buffer.byteLength -
|
|
|
201
201
|
return copy.buffer;
|
|
202
202
|
}
|
|
203
203
|
var init_async_iteration = __esm({
|
|
204
|
-
"../loader-utils/
|
|
204
|
+
"../core/src/loader-utils/lib/iterators/async-iteration.ts"() {
|
|
205
205
|
"use strict";
|
|
206
206
|
init_array_buffer_utils();
|
|
207
207
|
}
|
|
208
208
|
});
|
|
209
209
|
|
|
210
|
-
// ../loader-utils/
|
|
210
|
+
// ../core/src/loader-utils/lib/request-utils/authentication.ts
|
|
211
211
|
function resolveCredentials(credentials, authentications = []) {
|
|
212
212
|
if (credentials.every(isAuthentication)) return credentials;
|
|
213
213
|
return credentials.map((credential, index) => {
|
|
@@ -244,12 +244,12 @@ function isAuthentication(credential) {
|
|
|
244
244
|
return (credential.type === "header" || credential.type === "query-parameter") && typeof credential.name === "string" && (typeof credential.token === "string" || typeof credential.token === "function") && Array.isArray(credential.refreshStatusCodes);
|
|
245
245
|
}
|
|
246
246
|
var init_authentication = __esm({
|
|
247
|
-
"../loader-utils/
|
|
247
|
+
"../core/src/loader-utils/lib/request-utils/authentication.ts"() {
|
|
248
248
|
"use strict";
|
|
249
249
|
}
|
|
250
250
|
});
|
|
251
251
|
|
|
252
|
-
// ../loader-utils/
|
|
252
|
+
// ../core/src/loader-utils/lib/request-utils/request-credentials.ts
|
|
253
253
|
function createAuthenticatedFetch(options) {
|
|
254
254
|
const suppliedFetch = options.fetch || ((url, requestOptions) => fetch(url, requestOptions));
|
|
255
255
|
const existingMetadata = suppliedFetch[AUTHENTICATED_FETCH];
|
|
@@ -281,7 +281,7 @@ function createAuthenticatedFetch(options) {
|
|
|
281
281
|
const authenticatedFetch = async (url, requestOptions = {}) => {
|
|
282
282
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
283
283
|
requestOptions = mergeFetchOptions(fetchOptions, requestOptions);
|
|
284
|
-
|
|
284
|
+
(_a = requestOptions.signal) == null ? void 0 : _a.throwIfAborted();
|
|
285
285
|
if (!credentials.length) return baseFetch(url, requestOptions);
|
|
286
286
|
const resolvedURL = parseHTTPURL(url);
|
|
287
287
|
const authorization = resolvedURL ? await authorizeRequest(resolvedURL, requestOptions, tokenCredentials) : { url, options: requestOptions, credentials: [] };
|
|
@@ -300,7 +300,7 @@ function createAuthenticatedFetch(options) {
|
|
|
300
300
|
}
|
|
301
301
|
);
|
|
302
302
|
if (!refreshableCredentials.length && !shouldRetrySignature) return response;
|
|
303
|
-
|
|
303
|
+
(_e = requestOptions.signal) == null ? void 0 : _e.throwIfAborted();
|
|
304
304
|
const refreshedTokens = /* @__PURE__ */ new Map();
|
|
305
305
|
await Promise.all(
|
|
306
306
|
refreshableCredentials.map(async ({ credential }) => {
|
|
@@ -311,7 +311,7 @@ function createAuthenticatedFetch(options) {
|
|
|
311
311
|
if (!refreshedTokens.size && !shouldRetrySignature) return response;
|
|
312
312
|
await ((_f = response.body) == null ? void 0 : _f.cancel().catch(() => {
|
|
313
313
|
}));
|
|
314
|
-
|
|
314
|
+
(_g = requestOptions.signal) == null ? void 0 : _g.throwIfAborted();
|
|
315
315
|
const replayAuthorization = resolvedURL ? await authorizeRequest(
|
|
316
316
|
resolvedURL,
|
|
317
317
|
requestOptions,
|
|
@@ -346,9 +346,10 @@ function getAuthenticatedFetch(options = {}) {
|
|
|
346
346
|
} else {
|
|
347
347
|
fetchFunction = (url, requestOptions) => fetch(url, requestOptions);
|
|
348
348
|
}
|
|
349
|
+
const fetchOptions = typeof fetchOption === "object" && fetchOption ? fetchOption : void 0;
|
|
349
350
|
return createAuthenticatedFetch({
|
|
350
351
|
fetch: fetchFunction,
|
|
351
|
-
fetchOptions:
|
|
352
|
+
fetchOptions: options.signal ? { ...fetchOptions, signal: options.signal } : fetchOptions,
|
|
352
353
|
credentials: ((_b = options.core) == null ? void 0 : _b.credentials) || [],
|
|
353
354
|
authentications: (_c = options.core) == null ? void 0 : _c.authentications
|
|
354
355
|
});
|
|
@@ -368,7 +369,7 @@ async function authenticateRequest(request, credentials, reason, response) {
|
|
|
368
369
|
for (const credential of credentials) {
|
|
369
370
|
const origin = getRequestOrigin(request.url);
|
|
370
371
|
if (!origin || !normalizeRequestOrigins(credential.origins).includes(origin)) continue;
|
|
371
|
-
|
|
372
|
+
signal == null ? void 0 : signal.throwIfAborted();
|
|
372
373
|
const authenticatedRequest = await credential.authenticate({
|
|
373
374
|
url: request.url,
|
|
374
375
|
options: { ...request.options, headers: new Headers(request.options.headers) },
|
|
@@ -384,7 +385,7 @@ async function authenticateRequest(request, credentials, reason, response) {
|
|
|
384
385
|
};
|
|
385
386
|
appliedCredentials.push(credential);
|
|
386
387
|
}
|
|
387
|
-
|
|
388
|
+
signal == null ? void 0 : signal.throwIfAborted();
|
|
388
389
|
return { ...request, credentials: appliedCredentials };
|
|
389
390
|
}
|
|
390
391
|
function getRequestOrigin(url) {
|
|
@@ -474,12 +475,9 @@ function isReplayableRequest(options) {
|
|
|
474
475
|
if (!["GET", "HEAD", "OPTIONS", "PUT", "DELETE"].includes(method)) return false;
|
|
475
476
|
return !(options.body && typeof ReadableStream !== "undefined" && options.body instanceof ReadableStream);
|
|
476
477
|
}
|
|
477
|
-
function createAbortError() {
|
|
478
|
-
return new DOMException("The operation was aborted.", "AbortError");
|
|
479
|
-
}
|
|
480
478
|
var AUTHENTICATED_FETCH, refreshPromises;
|
|
481
479
|
var init_request_credentials = __esm({
|
|
482
|
-
"../loader-utils/
|
|
480
|
+
"../core/src/loader-utils/lib/request-utils/request-credentials.ts"() {
|
|
483
481
|
"use strict";
|
|
484
482
|
init_authentication();
|
|
485
483
|
AUTHENTICATED_FETCH = /* @__PURE__ */ Symbol("loaders.gl.authenticated-fetch");
|
|
@@ -487,7 +485,7 @@ var init_request_credentials = __esm({
|
|
|
487
485
|
}
|
|
488
486
|
});
|
|
489
487
|
|
|
490
|
-
// ../loader-utils/
|
|
488
|
+
// ../core/src/loader-utils/lib/path-utils/file-aliases.ts
|
|
491
489
|
function resolvePath(filename) {
|
|
492
490
|
for (const alias in fileAliases) {
|
|
493
491
|
if (filename.startsWith(alias)) {
|
|
@@ -502,14 +500,14 @@ function resolvePath(filename) {
|
|
|
502
500
|
}
|
|
503
501
|
var pathPrefix, fileAliases;
|
|
504
502
|
var init_file_aliases = __esm({
|
|
505
|
-
"../loader-utils/
|
|
503
|
+
"../core/src/loader-utils/lib/path-utils/file-aliases.ts"() {
|
|
506
504
|
"use strict";
|
|
507
505
|
pathPrefix = "";
|
|
508
506
|
fileAliases = {};
|
|
509
507
|
}
|
|
510
508
|
});
|
|
511
509
|
|
|
512
|
-
// ../loader-utils/
|
|
510
|
+
// ../core/src/loader-utils/lib/sources/data-source.ts
|
|
513
511
|
function getFetchFunction(options) {
|
|
514
512
|
return getAuthenticatedFetch(options);
|
|
515
513
|
}
|
|
@@ -561,7 +559,7 @@ function unavailableCoreApiMethod(methodName) {
|
|
|
561
559
|
}
|
|
562
560
|
var UNAVAILABLE_CORE_API, DataSource;
|
|
563
561
|
var init_data_source = __esm({
|
|
564
|
-
"../loader-utils/
|
|
562
|
+
"../core/src/loader-utils/lib/sources/data-source.ts"() {
|
|
565
563
|
"use strict";
|
|
566
564
|
init_merge_options();
|
|
567
565
|
init_file_aliases();
|
|
@@ -652,9 +650,9 @@ var init_data_source = __esm({
|
|
|
652
650
|
}
|
|
653
651
|
});
|
|
654
652
|
|
|
655
|
-
// ../loader-utils/
|
|
656
|
-
var
|
|
657
|
-
"../loader-utils/
|
|
653
|
+
// ../core/src/loader-utils/index.ts
|
|
654
|
+
var init_loader_utils = __esm({
|
|
655
|
+
"../core/src/loader-utils/index.ts"() {
|
|
658
656
|
"use strict";
|
|
659
657
|
init_js_module_utils();
|
|
660
658
|
init_async_iteration();
|
|
@@ -667,7 +665,7 @@ var CompressionTransform, Decompressor;
|
|
|
667
665
|
var init_compression = __esm({
|
|
668
666
|
"../compression/src/lib/compression.ts"() {
|
|
669
667
|
"use strict";
|
|
670
|
-
|
|
668
|
+
init_loader_utils();
|
|
671
669
|
CompressionTransform = class {
|
|
672
670
|
/** Preloads any dynamic libraries. May enable sync functions */
|
|
673
671
|
async preload(modules = {}) {
|
|
@@ -926,13 +924,19 @@ var init_lazy_compression = __esm({
|
|
|
926
924
|
});
|
|
927
925
|
|
|
928
926
|
// ../compression/src/lib/compress-utils-compression.ts
|
|
929
|
-
async function* transformBatches(stream, inputBatches) {
|
|
927
|
+
async function* transformBatches(stream, inputBatches, maximumOutputByteLength = Number.POSITIVE_INFINITY) {
|
|
928
|
+
let outputByteLength = 0;
|
|
930
929
|
try {
|
|
931
930
|
for await (const input of inputBatches) {
|
|
932
931
|
const output2 = stream.write(new Uint8Array(input));
|
|
932
|
+
if (output2.byteLength > maximumOutputByteLength - outputByteLength)
|
|
933
|
+
throw new RangeError("Decompressed output exceeds maxOutputByteLength");
|
|
934
|
+
outputByteLength += output2.byteLength;
|
|
933
935
|
if (output2.byteLength > 0) yield copyArrayBuffer(output2);
|
|
934
936
|
}
|
|
935
937
|
const output = stream.finish();
|
|
938
|
+
if (output.byteLength > maximumOutputByteLength - outputByteLength)
|
|
939
|
+
throw new RangeError("Decompressed output exceeds maxOutputByteLength");
|
|
936
940
|
if (output.byteLength > 0) yield copyArrayBuffer(output);
|
|
937
941
|
} finally {
|
|
938
942
|
stream.destroy();
|
|
@@ -947,14 +951,23 @@ function getDecompressOptions(options, size) {
|
|
|
947
951
|
...size === void 0 ? {} : { expectedSize: size }
|
|
948
952
|
};
|
|
949
953
|
const capacity = decodeOptions.expectedSize;
|
|
950
|
-
const maximum = options
|
|
951
|
-
if (!Number.isSafeInteger(maximum) || maximum < 0 || maximum > 2147483647)
|
|
952
|
-
throw new RangeError("Invalid maxOutputByteLength");
|
|
954
|
+
const maximum = getMaximumOutputByteLength(options);
|
|
953
955
|
if (capacity !== void 0 && (!Number.isSafeInteger(capacity) || capacity < 0 || capacity > maximum)) {
|
|
954
956
|
throw new RangeError("expectedSize exceeds the configured output capacity limit");
|
|
955
957
|
}
|
|
956
958
|
return decodeOptions;
|
|
957
959
|
}
|
|
960
|
+
function getMaximumOutputByteLength(options) {
|
|
961
|
+
const maximum = options.maxOutputByteLength ?? 512 * 1024 * 1024;
|
|
962
|
+
if (!Number.isSafeInteger(maximum) || maximum < 0 || maximum > 2147483647)
|
|
963
|
+
throw new RangeError("Invalid maxOutputByteLength");
|
|
964
|
+
return maximum;
|
|
965
|
+
}
|
|
966
|
+
function copyDecompressedOutput(bytes, options) {
|
|
967
|
+
if (bytes.byteLength > getMaximumOutputByteLength(options))
|
|
968
|
+
throw new RangeError("Decompressed output exceeds maxOutputByteLength");
|
|
969
|
+
return copyArrayBuffer(bytes);
|
|
970
|
+
}
|
|
958
971
|
var CompressUtilsDecompressor;
|
|
959
972
|
var init_compress_utils_compression = __esm({
|
|
960
973
|
"../compression/src/lib/compress-utils-compression.ts"() {
|
|
@@ -1000,8 +1013,9 @@ var init_compress_utils_compression = __esm({
|
|
|
1000
1013
|
var _a;
|
|
1001
1014
|
if (!((_a = this.module) == null ? void 0 : _a.decompressSync))
|
|
1002
1015
|
throw new Error(`${this.name}: call preload() before decompressSync()`);
|
|
1003
|
-
return
|
|
1004
|
-
this.module.decompressSync(new Uint8Array(input), getDecompressOptions(this.options, size))
|
|
1016
|
+
return copyDecompressedOutput(
|
|
1017
|
+
this.module.decompressSync(new Uint8Array(input), getDecompressOptions(this.options, size)),
|
|
1018
|
+
this.options
|
|
1005
1019
|
);
|
|
1006
1020
|
}
|
|
1007
1021
|
/** Decompresses one buffer with the selected compress-utils decoder. */
|
|
@@ -1010,7 +1024,7 @@ var init_compress_utils_compression = __esm({
|
|
|
1010
1024
|
await this.preload();
|
|
1011
1025
|
const module2 = this.module;
|
|
1012
1026
|
const output = await module2.decompress(new Uint8Array(input), decodeOptions);
|
|
1013
|
-
return
|
|
1027
|
+
return copyDecompressedOutput(output, this.options);
|
|
1014
1028
|
}
|
|
1015
1029
|
/** Incrementally decompresses input batches with compress-utils. */
|
|
1016
1030
|
async *decompressBatches(inputBatches) {
|
|
@@ -1020,8 +1034,9 @@ var init_compress_utils_compression = __esm({
|
|
|
1020
1034
|
yield await this.decompress(await this.concatenate(inputBatches));
|
|
1021
1035
|
return;
|
|
1022
1036
|
}
|
|
1037
|
+
const maximum = getMaximumOutputByteLength(this.options);
|
|
1023
1038
|
const stream = await module2.createDecompressStream();
|
|
1024
|
-
yield* transformBatches(stream, inputBatches);
|
|
1039
|
+
yield* transformBatches(stream, inputBatches, maximum);
|
|
1025
1040
|
}
|
|
1026
1041
|
};
|
|
1027
1042
|
}
|
|
@@ -1165,7 +1180,7 @@ var init_default_codecs = __esm({
|
|
|
1165
1180
|
});
|
|
1166
1181
|
|
|
1167
1182
|
// ../compression/src/index.ts
|
|
1168
|
-
var
|
|
1183
|
+
var init_src = __esm({
|
|
1169
1184
|
"../compression/src/index.ts"() {
|
|
1170
1185
|
"use strict";
|
|
1171
1186
|
init_default_codecs();
|
|
@@ -1703,7 +1718,7 @@ var SPZ_HEADER_BYTE_LENGTH, SPZ_MAGIC, SPZ_VERSION, SPZ_EXTENSION_FLAG, SPZ_COLO
|
|
|
1703
1718
|
var init_parse_spz = __esm({
|
|
1704
1719
|
"dist/lib/parse-spz.js"() {
|
|
1705
1720
|
"use strict";
|
|
1706
|
-
|
|
1721
|
+
init_src();
|
|
1707
1722
|
init_splats_arrow_table();
|
|
1708
1723
|
init_splat_utils();
|
|
1709
1724
|
SPZ_HEADER_BYTE_LENGTH = 32;
|
|
@@ -1806,7 +1821,7 @@ var init_splat_loader_types = __esm({
|
|
|
1806
1821
|
"dist/splat-loader-types.js"() {
|
|
1807
1822
|
"use strict";
|
|
1808
1823
|
init_splats_format();
|
|
1809
|
-
VERSION2 = true ? "5.0.0-alpha.
|
|
1824
|
+
VERSION2 = true ? "5.0.0-alpha.14" : "latest";
|
|
1810
1825
|
SPLATLoader = {
|
|
1811
1826
|
dataType: null,
|
|
1812
1827
|
batchType: null,
|
|
@@ -2131,7 +2146,7 @@ var init_ksplat_loader_types = __esm({
|
|
|
2131
2146
|
"dist/ksplat-loader-types.js"() {
|
|
2132
2147
|
"use strict";
|
|
2133
2148
|
init_splats_format();
|
|
2134
|
-
VERSION3 = true ? "5.0.0-alpha.
|
|
2149
|
+
VERSION3 = true ? "5.0.0-alpha.14" : "latest";
|
|
2135
2150
|
KSPLATLoader = {
|
|
2136
2151
|
dataType: null,
|
|
2137
2152
|
batchType: null,
|
|
@@ -2176,7 +2191,7 @@ var init_spz_loader_types = __esm({
|
|
|
2176
2191
|
"dist/spz-loader-types.js"() {
|
|
2177
2192
|
"use strict";
|
|
2178
2193
|
init_splats_format();
|
|
2179
|
-
VERSION4 = true ? "5.0.0-alpha.
|
|
2194
|
+
VERSION4 = true ? "5.0.0-alpha.14" : "latest";
|
|
2180
2195
|
SPZLoader = {
|
|
2181
2196
|
dataType: null,
|
|
2182
2197
|
batchType: null,
|
|
@@ -2917,7 +2932,7 @@ var init_rad_loader_types = __esm({
|
|
|
2917
2932
|
"dist/rad-loader-types.js"() {
|
|
2918
2933
|
"use strict";
|
|
2919
2934
|
init_splats_format();
|
|
2920
|
-
VERSION5 = true ? "5.0.0-alpha.
|
|
2935
|
+
VERSION5 = true ? "5.0.0-alpha.14" : "latest";
|
|
2921
2936
|
RADLoader = {
|
|
2922
2937
|
dataType: null,
|
|
2923
2938
|
batchType: null,
|
|
@@ -2955,14 +2970,14 @@ init_spz_loader_types();
|
|
|
2955
2970
|
init_rad_loader_types();
|
|
2956
2971
|
|
|
2957
2972
|
// dist/rad-source-loader.js
|
|
2958
|
-
|
|
2973
|
+
init_loader_utils();
|
|
2959
2974
|
init_splats_format();
|
|
2960
2975
|
init_parse_rad();
|
|
2961
2976
|
init_parse_rad_chunk();
|
|
2962
2977
|
init_splats_arrow_table();
|
|
2963
2978
|
var DEFAULT_RAD_HEADER_BYTE_LENGTHS = [64 * 1024, 256 * 1024, 1024 * 1024];
|
|
2964
2979
|
var DEFAULT_RAD_MAX_CONCURRENT_CHUNK_REQUESTS = 4;
|
|
2965
|
-
var VERSION6 = true ? "5.0.0-alpha.
|
|
2980
|
+
var VERSION6 = true ? "5.0.0-alpha.14" : "latest";
|
|
2966
2981
|
var RADSourceLoader = {
|
|
2967
2982
|
dataType: null,
|
|
2968
2983
|
batchType: null,
|