@loaders.gl/tile-converter 4.0.0-alpha.12 → 4.0.0-alpha.13
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/3d-tiles-attributes-worker.js +2 -2
- package/dist/converter.min.js +65 -65
- package/dist/dist.min.js +760 -216
- package/dist/es5/3d-tiles-attributes-worker.js +1 -1
- package/dist/es5/deps-installer/deps-installer.js +1 -1
- package/dist/es5/i3s-attributes-worker.js +1 -1
- package/dist/es5/i3s-converter/helpers/batch-ids-extensions.js.map +1 -1
- package/dist/es5/i3s-converter/helpers/geometry-converter.js +6 -0
- package/dist/es5/i3s-converter/helpers/geometry-converter.js.map +1 -1
- package/dist/es5/pgm-loader.js +1 -1
- package/dist/esm/3d-tiles-attributes-worker.js +1 -1
- package/dist/esm/deps-installer/deps-installer.js +1 -1
- package/dist/esm/i3s-attributes-worker.js +1 -1
- package/dist/esm/i3s-converter/helpers/batch-ids-extensions.js.map +1 -1
- package/dist/esm/i3s-converter/helpers/geometry-converter.js +6 -0
- package/dist/esm/i3s-converter/helpers/geometry-converter.js.map +1 -1
- package/dist/esm/pgm-loader.js +1 -1
- package/dist/i3s-attributes-worker.js +2 -2
- package/dist/i3s-attributes-worker.js.map +2 -2
- package/dist/i3s-converter/helpers/geometry-converter.d.ts.map +1 -1
- package/dist/i3s-converter/helpers/geometry-converter.js +3 -0
- package/dist/i3s-converter/types.js +1 -1
- package/package.json +14 -14
- package/src/i3s-converter/helpers/batch-ids-extensions.ts +5 -5
- package/src/i3s-converter/helpers/geometry-converter.ts +15 -10
package/dist/dist.min.js
CHANGED
|
@@ -214,8 +214,8 @@ var require_assert = __commonJS({
|
|
|
214
214
|
Object.defineProperty(exports, "__esModule", {
|
|
215
215
|
value: true
|
|
216
216
|
});
|
|
217
|
-
exports.default =
|
|
218
|
-
function
|
|
217
|
+
exports.default = assert8;
|
|
218
|
+
function assert8(condition, message) {
|
|
219
219
|
if (!condition) {
|
|
220
220
|
throw new Error("math.gl assertion ".concat(message));
|
|
221
221
|
}
|
|
@@ -1128,9 +1128,9 @@ var require_vec2 = __commonJS({
|
|
|
1128
1128
|
if (obj === null || _typeof2(obj) !== "object" && typeof obj !== "function") {
|
|
1129
1129
|
return { "default": obj };
|
|
1130
1130
|
}
|
|
1131
|
-
var
|
|
1132
|
-
if (
|
|
1133
|
-
return
|
|
1131
|
+
var cache3 = _getRequireWildcardCache(nodeInterop);
|
|
1132
|
+
if (cache3 && cache3.has(obj)) {
|
|
1133
|
+
return cache3.get(obj);
|
|
1134
1134
|
}
|
|
1135
1135
|
var newObj = {};
|
|
1136
1136
|
var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor;
|
|
@@ -1145,8 +1145,8 @@ var require_vec2 = __commonJS({
|
|
|
1145
1145
|
}
|
|
1146
1146
|
}
|
|
1147
1147
|
newObj["default"] = obj;
|
|
1148
|
-
if (
|
|
1149
|
-
|
|
1148
|
+
if (cache3) {
|
|
1149
|
+
cache3.set(obj, newObj);
|
|
1150
1150
|
}
|
|
1151
1151
|
return newObj;
|
|
1152
1152
|
}
|
|
@@ -1483,9 +1483,9 @@ var require_vector2 = __commonJS({
|
|
|
1483
1483
|
if (obj === null || _typeof2(obj) !== "object" && typeof obj !== "function") {
|
|
1484
1484
|
return { default: obj };
|
|
1485
1485
|
}
|
|
1486
|
-
var
|
|
1487
|
-
if (
|
|
1488
|
-
return
|
|
1486
|
+
var cache3 = _getRequireWildcardCache(nodeInterop);
|
|
1487
|
+
if (cache3 && cache3.has(obj)) {
|
|
1488
|
+
return cache3.get(obj);
|
|
1489
1489
|
}
|
|
1490
1490
|
var newObj = {};
|
|
1491
1491
|
var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor;
|
|
@@ -1500,8 +1500,8 @@ var require_vector2 = __commonJS({
|
|
|
1500
1500
|
}
|
|
1501
1501
|
}
|
|
1502
1502
|
newObj.default = obj;
|
|
1503
|
-
if (
|
|
1504
|
-
|
|
1503
|
+
if (cache3) {
|
|
1504
|
+
cache3.set(obj, newObj);
|
|
1505
1505
|
}
|
|
1506
1506
|
return newObj;
|
|
1507
1507
|
}
|
|
@@ -1721,9 +1721,9 @@ var require_vec3 = __commonJS({
|
|
|
1721
1721
|
if (obj === null || _typeof2(obj) !== "object" && typeof obj !== "function") {
|
|
1722
1722
|
return { "default": obj };
|
|
1723
1723
|
}
|
|
1724
|
-
var
|
|
1725
|
-
if (
|
|
1726
|
-
return
|
|
1724
|
+
var cache3 = _getRequireWildcardCache(nodeInterop);
|
|
1725
|
+
if (cache3 && cache3.has(obj)) {
|
|
1726
|
+
return cache3.get(obj);
|
|
1727
1727
|
}
|
|
1728
1728
|
var newObj = {};
|
|
1729
1729
|
var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor;
|
|
@@ -1738,8 +1738,8 @@ var require_vec3 = __commonJS({
|
|
|
1738
1738
|
}
|
|
1739
1739
|
}
|
|
1740
1740
|
newObj["default"] = obj;
|
|
1741
|
-
if (
|
|
1742
|
-
|
|
1741
|
+
if (cache3) {
|
|
1742
|
+
cache3.set(obj, newObj);
|
|
1743
1743
|
}
|
|
1744
1744
|
return newObj;
|
|
1745
1745
|
}
|
|
@@ -2121,9 +2121,9 @@ var require_vector3 = __commonJS({
|
|
|
2121
2121
|
if (obj === null || _typeof2(obj) !== "object" && typeof obj !== "function") {
|
|
2122
2122
|
return { default: obj };
|
|
2123
2123
|
}
|
|
2124
|
-
var
|
|
2125
|
-
if (
|
|
2126
|
-
return
|
|
2124
|
+
var cache3 = _getRequireWildcardCache(nodeInterop);
|
|
2125
|
+
if (cache3 && cache3.has(obj)) {
|
|
2126
|
+
return cache3.get(obj);
|
|
2127
2127
|
}
|
|
2128
2128
|
var newObj = {};
|
|
2129
2129
|
var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor;
|
|
@@ -2138,8 +2138,8 @@ var require_vector3 = __commonJS({
|
|
|
2138
2138
|
}
|
|
2139
2139
|
}
|
|
2140
2140
|
newObj.default = obj;
|
|
2141
|
-
if (
|
|
2142
|
-
|
|
2141
|
+
if (cache3) {
|
|
2142
|
+
cache3.set(obj, newObj);
|
|
2143
2143
|
}
|
|
2144
2144
|
return newObj;
|
|
2145
2145
|
}
|
|
@@ -2366,9 +2366,9 @@ var require_vector4 = __commonJS({
|
|
|
2366
2366
|
if (obj === null || _typeof2(obj) !== "object" && typeof obj !== "function") {
|
|
2367
2367
|
return { default: obj };
|
|
2368
2368
|
}
|
|
2369
|
-
var
|
|
2370
|
-
if (
|
|
2371
|
-
return
|
|
2369
|
+
var cache3 = _getRequireWildcardCache(nodeInterop);
|
|
2370
|
+
if (cache3 && cache3.has(obj)) {
|
|
2371
|
+
return cache3.get(obj);
|
|
2372
2372
|
}
|
|
2373
2373
|
var newObj = {};
|
|
2374
2374
|
var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor;
|
|
@@ -2383,8 +2383,8 @@ var require_vector4 = __commonJS({
|
|
|
2383
2383
|
}
|
|
2384
2384
|
}
|
|
2385
2385
|
newObj.default = obj;
|
|
2386
|
-
if (
|
|
2387
|
-
|
|
2386
|
+
if (cache3) {
|
|
2387
|
+
cache3.set(obj, newObj);
|
|
2388
2388
|
}
|
|
2389
2389
|
return newObj;
|
|
2390
2390
|
}
|
|
@@ -2735,9 +2735,9 @@ var require_mat3 = __commonJS({
|
|
|
2735
2735
|
if (obj === null || _typeof2(obj) !== "object" && typeof obj !== "function") {
|
|
2736
2736
|
return { "default": obj };
|
|
2737
2737
|
}
|
|
2738
|
-
var
|
|
2739
|
-
if (
|
|
2740
|
-
return
|
|
2738
|
+
var cache3 = _getRequireWildcardCache(nodeInterop);
|
|
2739
|
+
if (cache3 && cache3.has(obj)) {
|
|
2740
|
+
return cache3.get(obj);
|
|
2741
2741
|
}
|
|
2742
2742
|
var newObj = {};
|
|
2743
2743
|
var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor;
|
|
@@ -2752,8 +2752,8 @@ var require_mat3 = __commonJS({
|
|
|
2752
2752
|
}
|
|
2753
2753
|
}
|
|
2754
2754
|
newObj["default"] = obj;
|
|
2755
|
-
if (
|
|
2756
|
-
|
|
2755
|
+
if (cache3) {
|
|
2756
|
+
cache3.set(obj, newObj);
|
|
2757
2757
|
}
|
|
2758
2758
|
return newObj;
|
|
2759
2759
|
}
|
|
@@ -3194,9 +3194,9 @@ var require_matrix3 = __commonJS({
|
|
|
3194
3194
|
if (obj === null || _typeof2(obj) !== "object" && typeof obj !== "function") {
|
|
3195
3195
|
return { default: obj };
|
|
3196
3196
|
}
|
|
3197
|
-
var
|
|
3198
|
-
if (
|
|
3199
|
-
return
|
|
3197
|
+
var cache3 = _getRequireWildcardCache(nodeInterop);
|
|
3198
|
+
if (cache3 && cache3.has(obj)) {
|
|
3199
|
+
return cache3.get(obj);
|
|
3200
3200
|
}
|
|
3201
3201
|
var newObj = {};
|
|
3202
3202
|
var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor;
|
|
@@ -3211,8 +3211,8 @@ var require_matrix3 = __commonJS({
|
|
|
3211
3211
|
}
|
|
3212
3212
|
}
|
|
3213
3213
|
newObj.default = obj;
|
|
3214
|
-
if (
|
|
3215
|
-
|
|
3214
|
+
if (cache3) {
|
|
3215
|
+
cache3.set(obj, newObj);
|
|
3216
3216
|
}
|
|
3217
3217
|
return newObj;
|
|
3218
3218
|
}
|
|
@@ -3553,9 +3553,9 @@ var require_mat4 = __commonJS({
|
|
|
3553
3553
|
if (obj === null || _typeof2(obj) !== "object" && typeof obj !== "function") {
|
|
3554
3554
|
return { "default": obj };
|
|
3555
3555
|
}
|
|
3556
|
-
var
|
|
3557
|
-
if (
|
|
3558
|
-
return
|
|
3556
|
+
var cache3 = _getRequireWildcardCache(nodeInterop);
|
|
3557
|
+
if (cache3 && cache3.has(obj)) {
|
|
3558
|
+
return cache3.get(obj);
|
|
3559
3559
|
}
|
|
3560
3560
|
var newObj = {};
|
|
3561
3561
|
var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor;
|
|
@@ -3570,8 +3570,8 @@ var require_mat4 = __commonJS({
|
|
|
3570
3570
|
}
|
|
3571
3571
|
}
|
|
3572
3572
|
newObj["default"] = obj;
|
|
3573
|
-
if (
|
|
3574
|
-
|
|
3573
|
+
if (cache3) {
|
|
3574
|
+
cache3.set(obj, newObj);
|
|
3575
3575
|
}
|
|
3576
3576
|
return newObj;
|
|
3577
3577
|
}
|
|
@@ -4849,9 +4849,9 @@ var require_vec4 = __commonJS({
|
|
|
4849
4849
|
if (obj === null || _typeof2(obj) !== "object" && typeof obj !== "function") {
|
|
4850
4850
|
return { "default": obj };
|
|
4851
4851
|
}
|
|
4852
|
-
var
|
|
4853
|
-
if (
|
|
4854
|
-
return
|
|
4852
|
+
var cache3 = _getRequireWildcardCache(nodeInterop);
|
|
4853
|
+
if (cache3 && cache3.has(obj)) {
|
|
4854
|
+
return cache3.get(obj);
|
|
4855
4855
|
}
|
|
4856
4856
|
var newObj = {};
|
|
4857
4857
|
var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor;
|
|
@@ -4866,8 +4866,8 @@ var require_vec4 = __commonJS({
|
|
|
4866
4866
|
}
|
|
4867
4867
|
}
|
|
4868
4868
|
newObj["default"] = obj;
|
|
4869
|
-
if (
|
|
4870
|
-
|
|
4869
|
+
if (cache3) {
|
|
4870
|
+
cache3.set(obj, newObj);
|
|
4871
4871
|
}
|
|
4872
4872
|
return newObj;
|
|
4873
4873
|
}
|
|
@@ -5216,9 +5216,9 @@ var require_matrix4 = __commonJS({
|
|
|
5216
5216
|
if (obj === null || _typeof2(obj) !== "object" && typeof obj !== "function") {
|
|
5217
5217
|
return { default: obj };
|
|
5218
5218
|
}
|
|
5219
|
-
var
|
|
5220
|
-
if (
|
|
5221
|
-
return
|
|
5219
|
+
var cache3 = _getRequireWildcardCache(nodeInterop);
|
|
5220
|
+
if (cache3 && cache3.has(obj)) {
|
|
5221
|
+
return cache3.get(obj);
|
|
5222
5222
|
}
|
|
5223
5223
|
var newObj = {};
|
|
5224
5224
|
var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor;
|
|
@@ -5233,8 +5233,8 @@ var require_matrix4 = __commonJS({
|
|
|
5233
5233
|
}
|
|
5234
5234
|
}
|
|
5235
5235
|
newObj.default = obj;
|
|
5236
|
-
if (
|
|
5237
|
-
|
|
5236
|
+
if (cache3) {
|
|
5237
|
+
cache3.set(obj, newObj);
|
|
5238
5238
|
}
|
|
5239
5239
|
return newObj;
|
|
5240
5240
|
}
|
|
@@ -5799,9 +5799,9 @@ var require_quat = __commonJS({
|
|
|
5799
5799
|
if (obj === null || _typeof2(obj) !== "object" && typeof obj !== "function") {
|
|
5800
5800
|
return { "default": obj };
|
|
5801
5801
|
}
|
|
5802
|
-
var
|
|
5803
|
-
if (
|
|
5804
|
-
return
|
|
5802
|
+
var cache3 = _getRequireWildcardCache(nodeInterop);
|
|
5803
|
+
if (cache3 && cache3.has(obj)) {
|
|
5804
|
+
return cache3.get(obj);
|
|
5805
5805
|
}
|
|
5806
5806
|
var newObj = {};
|
|
5807
5807
|
var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor;
|
|
@@ -5816,8 +5816,8 @@ var require_quat = __commonJS({
|
|
|
5816
5816
|
}
|
|
5817
5817
|
}
|
|
5818
5818
|
newObj["default"] = obj;
|
|
5819
|
-
if (
|
|
5820
|
-
|
|
5819
|
+
if (cache3) {
|
|
5820
|
+
cache3.set(obj, newObj);
|
|
5821
5821
|
}
|
|
5822
5822
|
return newObj;
|
|
5823
5823
|
}
|
|
@@ -6170,9 +6170,9 @@ var require_quaternion = __commonJS({
|
|
|
6170
6170
|
if (obj === null || _typeof2(obj) !== "object" && typeof obj !== "function") {
|
|
6171
6171
|
return { default: obj };
|
|
6172
6172
|
}
|
|
6173
|
-
var
|
|
6174
|
-
if (
|
|
6175
|
-
return
|
|
6173
|
+
var cache3 = _getRequireWildcardCache(nodeInterop);
|
|
6174
|
+
if (cache3 && cache3.has(obj)) {
|
|
6175
|
+
return cache3.get(obj);
|
|
6176
6176
|
}
|
|
6177
6177
|
var newObj = {};
|
|
6178
6178
|
var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor;
|
|
@@ -6187,8 +6187,8 @@ var require_quaternion = __commonJS({
|
|
|
6187
6187
|
}
|
|
6188
6188
|
}
|
|
6189
6189
|
newObj.default = obj;
|
|
6190
|
-
if (
|
|
6191
|
-
|
|
6190
|
+
if (cache3) {
|
|
6191
|
+
cache3.set(obj, newObj);
|
|
6192
6192
|
}
|
|
6193
6193
|
return newObj;
|
|
6194
6194
|
}
|
|
@@ -6649,9 +6649,9 @@ var require_spherical_coordinates = __commonJS({
|
|
|
6649
6649
|
if (obj === null || _typeof2(obj) !== "object" && typeof obj !== "function") {
|
|
6650
6650
|
return { default: obj };
|
|
6651
6651
|
}
|
|
6652
|
-
var
|
|
6653
|
-
if (
|
|
6654
|
-
return
|
|
6652
|
+
var cache3 = _getRequireWildcardCache(nodeInterop);
|
|
6653
|
+
if (cache3 && cache3.has(obj)) {
|
|
6654
|
+
return cache3.get(obj);
|
|
6655
6655
|
}
|
|
6656
6656
|
var newObj = {};
|
|
6657
6657
|
var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor;
|
|
@@ -6666,8 +6666,8 @@ var require_spherical_coordinates = __commonJS({
|
|
|
6666
6666
|
}
|
|
6667
6667
|
}
|
|
6668
6668
|
newObj.default = obj;
|
|
6669
|
-
if (
|
|
6670
|
-
|
|
6669
|
+
if (cache3) {
|
|
6670
|
+
cache3.set(obj, newObj);
|
|
6671
6671
|
}
|
|
6672
6672
|
return newObj;
|
|
6673
6673
|
}
|
|
@@ -8139,9 +8139,9 @@ var require_ellipsoid = __commonJS({
|
|
|
8139
8139
|
if (obj === null || _typeof2(obj) !== "object" && typeof obj !== "function") {
|
|
8140
8140
|
return { default: obj };
|
|
8141
8141
|
}
|
|
8142
|
-
var
|
|
8143
|
-
if (
|
|
8144
|
-
return
|
|
8142
|
+
var cache3 = _getRequireWildcardCache(nodeInterop);
|
|
8143
|
+
if (cache3 && cache3.has(obj)) {
|
|
8144
|
+
return cache3.get(obj);
|
|
8145
8145
|
}
|
|
8146
8146
|
var newObj = {};
|
|
8147
8147
|
var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor;
|
|
@@ -8156,8 +8156,8 @@ var require_ellipsoid = __commonJS({
|
|
|
8156
8156
|
}
|
|
8157
8157
|
}
|
|
8158
8158
|
newObj.default = obj;
|
|
8159
|
-
if (
|
|
8160
|
-
|
|
8159
|
+
if (cache3) {
|
|
8160
|
+
cache3.set(obj, newObj);
|
|
8161
8161
|
}
|
|
8162
8162
|
return newObj;
|
|
8163
8163
|
}
|
|
@@ -8498,9 +8498,9 @@ var require_bounding_sphere = __commonJS({
|
|
|
8498
8498
|
if (obj === null || _typeof2(obj) !== "object" && typeof obj !== "function") {
|
|
8499
8499
|
return { default: obj };
|
|
8500
8500
|
}
|
|
8501
|
-
var
|
|
8502
|
-
if (
|
|
8503
|
-
return
|
|
8501
|
+
var cache3 = _getRequireWildcardCache(nodeInterop);
|
|
8502
|
+
if (cache3 && cache3.has(obj)) {
|
|
8503
|
+
return cache3.get(obj);
|
|
8504
8504
|
}
|
|
8505
8505
|
var newObj = {};
|
|
8506
8506
|
var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor;
|
|
@@ -8515,8 +8515,8 @@ var require_bounding_sphere = __commonJS({
|
|
|
8515
8515
|
}
|
|
8516
8516
|
}
|
|
8517
8517
|
newObj.default = obj;
|
|
8518
|
-
if (
|
|
8519
|
-
|
|
8518
|
+
if (cache3) {
|
|
8519
|
+
cache3.set(obj, newObj);
|
|
8520
8520
|
}
|
|
8521
8521
|
return newObj;
|
|
8522
8522
|
}
|
|
@@ -14452,7 +14452,7 @@ var require_graceful_fs = __commonJS({
|
|
|
14452
14452
|
gracefulQueue = "___graceful-fs.queue";
|
|
14453
14453
|
previousSymbol = "___graceful-fs.previous";
|
|
14454
14454
|
}
|
|
14455
|
-
function
|
|
14455
|
+
function noop3() {
|
|
14456
14456
|
}
|
|
14457
14457
|
function publishQueue(context, queue2) {
|
|
14458
14458
|
Object.defineProperty(context, gracefulQueue, {
|
|
@@ -14461,7 +14461,7 @@ var require_graceful_fs = __commonJS({
|
|
|
14461
14461
|
}
|
|
14462
14462
|
});
|
|
14463
14463
|
}
|
|
14464
|
-
var debug =
|
|
14464
|
+
var debug = noop3;
|
|
14465
14465
|
if (util.debuglog)
|
|
14466
14466
|
debug = util.debuglog("gfs4");
|
|
14467
14467
|
else if (/\bgfs4\b/i.test(process.env.NODE_DEBUG || ""))
|
|
@@ -17323,8 +17323,8 @@ var require_lodash3 = __commonJS({
|
|
|
17323
17323
|
return func(value);
|
|
17324
17324
|
};
|
|
17325
17325
|
}
|
|
17326
|
-
function cacheHas(
|
|
17327
|
-
return
|
|
17326
|
+
function cacheHas(cache3, key) {
|
|
17327
|
+
return cache3.has(key);
|
|
17328
17328
|
}
|
|
17329
17329
|
function getValue(object, key) {
|
|
17330
17330
|
return object == null ? void 0 : object[key];
|
|
@@ -17709,8 +17709,8 @@ var require_lodash4 = __commonJS({
|
|
|
17709
17709
|
function baseIsNaN(value) {
|
|
17710
17710
|
return value !== value;
|
|
17711
17711
|
}
|
|
17712
|
-
function cacheHas(
|
|
17713
|
-
return
|
|
17712
|
+
function cacheHas(cache3, key) {
|
|
17713
|
+
return cache3.has(key);
|
|
17714
17714
|
}
|
|
17715
17715
|
function getValue(object, key) {
|
|
17716
17716
|
return object == null ? void 0 : object[key];
|
|
@@ -17972,7 +17972,7 @@ var require_lodash4 = __commonJS({
|
|
|
17972
17972
|
}
|
|
17973
17973
|
return result;
|
|
17974
17974
|
}
|
|
17975
|
-
var createSet = !(Set2 && 1 / setToArray(new Set2([, -0]))[1] == INFINITY) ?
|
|
17975
|
+
var createSet = !(Set2 && 1 / setToArray(new Set2([, -0]))[1] == INFINITY) ? noop3 : function(values) {
|
|
17976
17976
|
return new Set2(values);
|
|
17977
17977
|
};
|
|
17978
17978
|
function getMapData(map, key) {
|
|
@@ -18036,7 +18036,7 @@ var require_lodash4 = __commonJS({
|
|
|
18036
18036
|
function isObjectLike(value) {
|
|
18037
18037
|
return !!value && typeof value == "object";
|
|
18038
18038
|
}
|
|
18039
|
-
function
|
|
18039
|
+
function noop3() {
|
|
18040
18040
|
}
|
|
18041
18041
|
module2.exports = union;
|
|
18042
18042
|
}
|
|
@@ -18138,10 +18138,10 @@ var require_old = __commonJS({
|
|
|
18138
18138
|
splitRootRe = /^[\/]*/;
|
|
18139
18139
|
}
|
|
18140
18140
|
var splitRootRe;
|
|
18141
|
-
exports.realpathSync = function realpathSync(p,
|
|
18141
|
+
exports.realpathSync = function realpathSync(p, cache3) {
|
|
18142
18142
|
p = pathModule.resolve(p);
|
|
18143
|
-
if (
|
|
18144
|
-
return
|
|
18143
|
+
if (cache3 && Object.prototype.hasOwnProperty.call(cache3, p)) {
|
|
18144
|
+
return cache3[p];
|
|
18145
18145
|
}
|
|
18146
18146
|
var original = p, seenLinks = {}, knownHard = {};
|
|
18147
18147
|
var pos;
|
|
@@ -18167,18 +18167,18 @@ var require_old = __commonJS({
|
|
|
18167
18167
|
current += result[0];
|
|
18168
18168
|
base = previous + result[1];
|
|
18169
18169
|
pos = nextPartRe.lastIndex;
|
|
18170
|
-
if (knownHard[base] ||
|
|
18170
|
+
if (knownHard[base] || cache3 && cache3[base] === base) {
|
|
18171
18171
|
continue;
|
|
18172
18172
|
}
|
|
18173
18173
|
var resolvedLink;
|
|
18174
|
-
if (
|
|
18175
|
-
resolvedLink =
|
|
18174
|
+
if (cache3 && Object.prototype.hasOwnProperty.call(cache3, base)) {
|
|
18175
|
+
resolvedLink = cache3[base];
|
|
18176
18176
|
} else {
|
|
18177
18177
|
var stat2 = fs5.lstatSync(base);
|
|
18178
18178
|
if (!stat2.isSymbolicLink()) {
|
|
18179
18179
|
knownHard[base] = true;
|
|
18180
|
-
if (
|
|
18181
|
-
|
|
18180
|
+
if (cache3)
|
|
18181
|
+
cache3[base] = base;
|
|
18182
18182
|
continue;
|
|
18183
18183
|
}
|
|
18184
18184
|
var linkTarget = null;
|
|
@@ -18193,26 +18193,26 @@ var require_old = __commonJS({
|
|
|
18193
18193
|
linkTarget = fs5.readlinkSync(base);
|
|
18194
18194
|
}
|
|
18195
18195
|
resolvedLink = pathModule.resolve(previous, linkTarget);
|
|
18196
|
-
if (
|
|
18197
|
-
|
|
18196
|
+
if (cache3)
|
|
18197
|
+
cache3[base] = resolvedLink;
|
|
18198
18198
|
if (!isWindows)
|
|
18199
18199
|
seenLinks[id] = linkTarget;
|
|
18200
18200
|
}
|
|
18201
18201
|
p = pathModule.resolve(resolvedLink, p.slice(pos));
|
|
18202
18202
|
start();
|
|
18203
18203
|
}
|
|
18204
|
-
if (
|
|
18205
|
-
|
|
18204
|
+
if (cache3)
|
|
18205
|
+
cache3[original] = p;
|
|
18206
18206
|
return p;
|
|
18207
18207
|
};
|
|
18208
|
-
exports.realpath = function realpath(p,
|
|
18208
|
+
exports.realpath = function realpath(p, cache3, cb) {
|
|
18209
18209
|
if (typeof cb !== "function") {
|
|
18210
|
-
cb = maybeCallback(
|
|
18211
|
-
|
|
18210
|
+
cb = maybeCallback(cache3);
|
|
18211
|
+
cache3 = null;
|
|
18212
18212
|
}
|
|
18213
18213
|
p = pathModule.resolve(p);
|
|
18214
|
-
if (
|
|
18215
|
-
return process.nextTick(cb.bind(null, null,
|
|
18214
|
+
if (cache3 && Object.prototype.hasOwnProperty.call(cache3, p)) {
|
|
18215
|
+
return process.nextTick(cb.bind(null, null, cache3[p]));
|
|
18216
18216
|
}
|
|
18217
18217
|
var original = p, seenLinks = {}, knownHard = {};
|
|
18218
18218
|
var pos;
|
|
@@ -18239,8 +18239,8 @@ var require_old = __commonJS({
|
|
|
18239
18239
|
}
|
|
18240
18240
|
function LOOP() {
|
|
18241
18241
|
if (pos >= p.length) {
|
|
18242
|
-
if (
|
|
18243
|
-
|
|
18242
|
+
if (cache3)
|
|
18243
|
+
cache3[original] = p;
|
|
18244
18244
|
return cb(null, p);
|
|
18245
18245
|
}
|
|
18246
18246
|
nextPartRe.lastIndex = pos;
|
|
@@ -18249,11 +18249,11 @@ var require_old = __commonJS({
|
|
|
18249
18249
|
current += result[0];
|
|
18250
18250
|
base = previous + result[1];
|
|
18251
18251
|
pos = nextPartRe.lastIndex;
|
|
18252
|
-
if (knownHard[base] ||
|
|
18252
|
+
if (knownHard[base] || cache3 && cache3[base] === base) {
|
|
18253
18253
|
return process.nextTick(LOOP);
|
|
18254
18254
|
}
|
|
18255
|
-
if (
|
|
18256
|
-
return gotResolvedLink(
|
|
18255
|
+
if (cache3 && Object.prototype.hasOwnProperty.call(cache3, base)) {
|
|
18256
|
+
return gotResolvedLink(cache3[base]);
|
|
18257
18257
|
}
|
|
18258
18258
|
return fs5.lstat(base, gotStat);
|
|
18259
18259
|
}
|
|
@@ -18262,8 +18262,8 @@ var require_old = __commonJS({
|
|
|
18262
18262
|
return cb(err);
|
|
18263
18263
|
if (!stat2.isSymbolicLink()) {
|
|
18264
18264
|
knownHard[base] = true;
|
|
18265
|
-
if (
|
|
18266
|
-
|
|
18265
|
+
if (cache3)
|
|
18266
|
+
cache3[base] = base;
|
|
18267
18267
|
return process.nextTick(LOOP);
|
|
18268
18268
|
}
|
|
18269
18269
|
if (!isWindows) {
|
|
@@ -18286,8 +18286,8 @@ var require_old = __commonJS({
|
|
|
18286
18286
|
if (err)
|
|
18287
18287
|
return cb(err);
|
|
18288
18288
|
var resolvedLink = pathModule.resolve(previous, target);
|
|
18289
|
-
if (
|
|
18290
|
-
|
|
18289
|
+
if (cache3)
|
|
18290
|
+
cache3[base2] = resolvedLink;
|
|
18291
18291
|
gotResolvedLink(resolvedLink);
|
|
18292
18292
|
}
|
|
18293
18293
|
function gotResolvedLink(resolvedLink) {
|
|
@@ -18316,31 +18316,31 @@ var require_fs = __commonJS({
|
|
|
18316
18316
|
function newError(er) {
|
|
18317
18317
|
return er && er.syscall === "realpath" && (er.code === "ELOOP" || er.code === "ENOMEM" || er.code === "ENAMETOOLONG");
|
|
18318
18318
|
}
|
|
18319
|
-
function realpath(p,
|
|
18319
|
+
function realpath(p, cache3, cb) {
|
|
18320
18320
|
if (ok) {
|
|
18321
|
-
return origRealpath(p,
|
|
18321
|
+
return origRealpath(p, cache3, cb);
|
|
18322
18322
|
}
|
|
18323
|
-
if (typeof
|
|
18324
|
-
cb =
|
|
18325
|
-
|
|
18323
|
+
if (typeof cache3 === "function") {
|
|
18324
|
+
cb = cache3;
|
|
18325
|
+
cache3 = null;
|
|
18326
18326
|
}
|
|
18327
|
-
origRealpath(p,
|
|
18327
|
+
origRealpath(p, cache3, function(er, result) {
|
|
18328
18328
|
if (newError(er)) {
|
|
18329
|
-
old.realpath(p,
|
|
18329
|
+
old.realpath(p, cache3, cb);
|
|
18330
18330
|
} else {
|
|
18331
18331
|
cb(er, result);
|
|
18332
18332
|
}
|
|
18333
18333
|
});
|
|
18334
18334
|
}
|
|
18335
|
-
function realpathSync(p,
|
|
18335
|
+
function realpathSync(p, cache3) {
|
|
18336
18336
|
if (ok) {
|
|
18337
|
-
return origRealpathSync(p,
|
|
18337
|
+
return origRealpathSync(p, cache3);
|
|
18338
18338
|
}
|
|
18339
18339
|
try {
|
|
18340
|
-
return origRealpathSync(p,
|
|
18340
|
+
return origRealpathSync(p, cache3);
|
|
18341
18341
|
} catch (er) {
|
|
18342
18342
|
if (newError(er)) {
|
|
18343
|
-
return old.realpathSync(p,
|
|
18343
|
+
return old.realpathSync(p, cache3);
|
|
18344
18344
|
} else {
|
|
18345
18345
|
throw er;
|
|
18346
18346
|
}
|
|
@@ -19334,7 +19334,7 @@ var require_sync = __commonJS({
|
|
|
19334
19334
|
var Glob = require_glob().Glob;
|
|
19335
19335
|
var util = require("util");
|
|
19336
19336
|
var path2 = require("path");
|
|
19337
|
-
var
|
|
19337
|
+
var assert8 = require("assert");
|
|
19338
19338
|
var isAbsolute2 = require_path_is_absolute();
|
|
19339
19339
|
var common = require_common3();
|
|
19340
19340
|
var setopts = common.setopts;
|
|
@@ -19364,7 +19364,7 @@ var require_sync = __commonJS({
|
|
|
19364
19364
|
this._finish();
|
|
19365
19365
|
}
|
|
19366
19366
|
GlobSync.prototype._finish = function() {
|
|
19367
|
-
|
|
19367
|
+
assert8.ok(this instanceof GlobSync);
|
|
19368
19368
|
if (this.realpath) {
|
|
19369
19369
|
var self2 = this;
|
|
19370
19370
|
this.matches.forEach(function(matchset, index) {
|
|
@@ -19386,7 +19386,7 @@ var require_sync = __commonJS({
|
|
|
19386
19386
|
common.finish(this);
|
|
19387
19387
|
};
|
|
19388
19388
|
GlobSync.prototype._process = function(pattern, index, inGlobStar) {
|
|
19389
|
-
|
|
19389
|
+
assert8.ok(this instanceof GlobSync);
|
|
19390
19390
|
var n = 0;
|
|
19391
19391
|
while (typeof pattern[n] === "string") {
|
|
19392
19392
|
n++;
|
|
@@ -19808,7 +19808,7 @@ var require_glob = __commonJS({
|
|
|
19808
19808
|
var inherits = require_inherits2();
|
|
19809
19809
|
var EE = require("events").EventEmitter;
|
|
19810
19810
|
var path2 = require("path");
|
|
19811
|
-
var
|
|
19811
|
+
var assert8 = require("assert");
|
|
19812
19812
|
var isAbsolute2 = require_path_is_absolute();
|
|
19813
19813
|
var globSync = require_sync();
|
|
19814
19814
|
var common = require_common3();
|
|
@@ -19913,7 +19913,7 @@ var require_glob = __commonJS({
|
|
|
19913
19913
|
}
|
|
19914
19914
|
}
|
|
19915
19915
|
Glob.prototype._finish = function() {
|
|
19916
|
-
|
|
19916
|
+
assert8(this instanceof Glob);
|
|
19917
19917
|
if (this.aborted)
|
|
19918
19918
|
return;
|
|
19919
19919
|
if (this.realpath && !this._didRealpath)
|
|
@@ -20002,8 +20002,8 @@ var require_glob = __commonJS({
|
|
|
20002
20002
|
}
|
|
20003
20003
|
};
|
|
20004
20004
|
Glob.prototype._process = function(pattern, index, inGlobStar, cb) {
|
|
20005
|
-
|
|
20006
|
-
|
|
20005
|
+
assert8(this instanceof Glob);
|
|
20006
|
+
assert8(typeof cb === "function");
|
|
20007
20007
|
if (this.aborted)
|
|
20008
20008
|
return;
|
|
20009
20009
|
this._processing++;
|
|
@@ -22048,7 +22048,7 @@ var require_end_of_stream = __commonJS({
|
|
|
22048
22048
|
callback.apply(this, args);
|
|
22049
22049
|
};
|
|
22050
22050
|
}
|
|
22051
|
-
function
|
|
22051
|
+
function noop3() {
|
|
22052
22052
|
}
|
|
22053
22053
|
function isRequest(stream) {
|
|
22054
22054
|
return stream.setHeader && typeof stream.abort === "function";
|
|
@@ -22058,7 +22058,7 @@ var require_end_of_stream = __commonJS({
|
|
|
22058
22058
|
return eos(stream, null, opts);
|
|
22059
22059
|
if (!opts)
|
|
22060
22060
|
opts = {};
|
|
22061
|
-
callback = once(callback ||
|
|
22061
|
+
callback = once(callback || noop3);
|
|
22062
22062
|
var readable = opts.readable || opts.readable !== false && stream.readable;
|
|
22063
22063
|
var writable = opts.writable || opts.writable !== false && stream.writable;
|
|
22064
22064
|
var onlegacyfinish = function onlegacyfinish2() {
|
|
@@ -23367,7 +23367,7 @@ var require_pipeline = __commonJS({
|
|
|
23367
23367
|
var _require$codes = require_errors().codes;
|
|
23368
23368
|
var ERR_MISSING_ARGS = _require$codes.ERR_MISSING_ARGS;
|
|
23369
23369
|
var ERR_STREAM_DESTROYED = _require$codes.ERR_STREAM_DESTROYED;
|
|
23370
|
-
function
|
|
23370
|
+
function noop3(err) {
|
|
23371
23371
|
if (err)
|
|
23372
23372
|
throw err;
|
|
23373
23373
|
}
|
|
@@ -23413,9 +23413,9 @@ var require_pipeline = __commonJS({
|
|
|
23413
23413
|
}
|
|
23414
23414
|
function popCallback(streams) {
|
|
23415
23415
|
if (!streams.length)
|
|
23416
|
-
return
|
|
23416
|
+
return noop3;
|
|
23417
23417
|
if (typeof streams[streams.length - 1] !== "function")
|
|
23418
|
-
return
|
|
23418
|
+
return noop3;
|
|
23419
23419
|
return streams.pop();
|
|
23420
23420
|
}
|
|
23421
23421
|
function pipeline() {
|
|
@@ -25734,7 +25734,7 @@ var require_end_of_stream2 = __commonJS({
|
|
|
25734
25734
|
callback.apply(this, args);
|
|
25735
25735
|
};
|
|
25736
25736
|
}
|
|
25737
|
-
function
|
|
25737
|
+
function noop3() {
|
|
25738
25738
|
}
|
|
25739
25739
|
function isRequest(stream) {
|
|
25740
25740
|
return stream.setHeader && typeof stream.abort === "function";
|
|
@@ -25744,7 +25744,7 @@ var require_end_of_stream2 = __commonJS({
|
|
|
25744
25744
|
return eos(stream, null, opts);
|
|
25745
25745
|
if (!opts)
|
|
25746
25746
|
opts = {};
|
|
25747
|
-
callback = once(callback ||
|
|
25747
|
+
callback = once(callback || noop3);
|
|
25748
25748
|
var readable = opts.readable || opts.readable !== false && stream.readable;
|
|
25749
25749
|
var writable = opts.writable || opts.writable !== false && stream.writable;
|
|
25750
25750
|
var onlegacyfinish = function onlegacyfinish2() {
|
|
@@ -27053,7 +27053,7 @@ var require_pipeline2 = __commonJS({
|
|
|
27053
27053
|
var _require$codes = require_errors2().codes;
|
|
27054
27054
|
var ERR_MISSING_ARGS = _require$codes.ERR_MISSING_ARGS;
|
|
27055
27055
|
var ERR_STREAM_DESTROYED = _require$codes.ERR_STREAM_DESTROYED;
|
|
27056
|
-
function
|
|
27056
|
+
function noop3(err) {
|
|
27057
27057
|
if (err)
|
|
27058
27058
|
throw err;
|
|
27059
27059
|
}
|
|
@@ -27099,9 +27099,9 @@ var require_pipeline2 = __commonJS({
|
|
|
27099
27099
|
}
|
|
27100
27100
|
function popCallback(streams) {
|
|
27101
27101
|
if (!streams.length)
|
|
27102
|
-
return
|
|
27102
|
+
return noop3;
|
|
27103
27103
|
if (typeof streams[streams.length - 1] !== "function")
|
|
27104
|
-
return
|
|
27104
|
+
return noop3;
|
|
27105
27105
|
return streams.pop();
|
|
27106
27106
|
}
|
|
27107
27107
|
function pipeline() {
|
|
@@ -28908,7 +28908,7 @@ var require_end_of_stream3 = __commonJS({
|
|
|
28908
28908
|
callback.apply(this, args);
|
|
28909
28909
|
};
|
|
28910
28910
|
}
|
|
28911
|
-
function
|
|
28911
|
+
function noop3() {
|
|
28912
28912
|
}
|
|
28913
28913
|
function isRequest(stream) {
|
|
28914
28914
|
return stream.setHeader && typeof stream.abort === "function";
|
|
@@ -28918,7 +28918,7 @@ var require_end_of_stream3 = __commonJS({
|
|
|
28918
28918
|
return eos(stream, null, opts);
|
|
28919
28919
|
if (!opts)
|
|
28920
28920
|
opts = {};
|
|
28921
|
-
callback = once(callback ||
|
|
28921
|
+
callback = once(callback || noop3);
|
|
28922
28922
|
var readable = opts.readable || opts.readable !== false && stream.readable;
|
|
28923
28923
|
var writable = opts.writable || opts.writable !== false && stream.writable;
|
|
28924
28924
|
var onlegacyfinish = function onlegacyfinish2() {
|
|
@@ -30227,7 +30227,7 @@ var require_pipeline3 = __commonJS({
|
|
|
30227
30227
|
var _require$codes = require_errors3().codes;
|
|
30228
30228
|
var ERR_MISSING_ARGS = _require$codes.ERR_MISSING_ARGS;
|
|
30229
30229
|
var ERR_STREAM_DESTROYED = _require$codes.ERR_STREAM_DESTROYED;
|
|
30230
|
-
function
|
|
30230
|
+
function noop3(err) {
|
|
30231
30231
|
if (err)
|
|
30232
30232
|
throw err;
|
|
30233
30233
|
}
|
|
@@ -30273,9 +30273,9 @@ var require_pipeline3 = __commonJS({
|
|
|
30273
30273
|
}
|
|
30274
30274
|
function popCallback(streams) {
|
|
30275
30275
|
if (!streams.length)
|
|
30276
|
-
return
|
|
30276
|
+
return noop3;
|
|
30277
30277
|
if (typeof streams[streams.length - 1] !== "function")
|
|
30278
|
-
return
|
|
30278
|
+
return noop3;
|
|
30279
30279
|
return streams.pop();
|
|
30280
30280
|
}
|
|
30281
30281
|
function pipeline() {
|
|
@@ -32305,7 +32305,7 @@ var require_end_of_stream4 = __commonJS({
|
|
|
32305
32305
|
callback.apply(this, args);
|
|
32306
32306
|
};
|
|
32307
32307
|
}
|
|
32308
|
-
function
|
|
32308
|
+
function noop3() {
|
|
32309
32309
|
}
|
|
32310
32310
|
function isRequest(stream) {
|
|
32311
32311
|
return stream.setHeader && typeof stream.abort === "function";
|
|
@@ -32315,7 +32315,7 @@ var require_end_of_stream4 = __commonJS({
|
|
|
32315
32315
|
return eos(stream, null, opts);
|
|
32316
32316
|
if (!opts)
|
|
32317
32317
|
opts = {};
|
|
32318
|
-
callback = once(callback ||
|
|
32318
|
+
callback = once(callback || noop3);
|
|
32319
32319
|
var readable = opts.readable || opts.readable !== false && stream.readable;
|
|
32320
32320
|
var writable = opts.writable || opts.writable !== false && stream.writable;
|
|
32321
32321
|
var onlegacyfinish = function onlegacyfinish2() {
|
|
@@ -33624,7 +33624,7 @@ var require_pipeline4 = __commonJS({
|
|
|
33624
33624
|
var _require$codes = require_errors4().codes;
|
|
33625
33625
|
var ERR_MISSING_ARGS = _require$codes.ERR_MISSING_ARGS;
|
|
33626
33626
|
var ERR_STREAM_DESTROYED = _require$codes.ERR_STREAM_DESTROYED;
|
|
33627
|
-
function
|
|
33627
|
+
function noop3(err) {
|
|
33628
33628
|
if (err)
|
|
33629
33629
|
throw err;
|
|
33630
33630
|
}
|
|
@@ -33670,9 +33670,9 @@ var require_pipeline4 = __commonJS({
|
|
|
33670
33670
|
}
|
|
33671
33671
|
function popCallback(streams) {
|
|
33672
33672
|
if (!streams.length)
|
|
33673
|
-
return
|
|
33673
|
+
return noop3;
|
|
33674
33674
|
if (typeof streams[streams.length - 1] !== "function")
|
|
33675
|
-
return
|
|
33675
|
+
return noop3;
|
|
33676
33676
|
return streams.pop();
|
|
33677
33677
|
}
|
|
33678
33678
|
function pipeline() {
|
|
@@ -35711,7 +35711,7 @@ var require_end_of_stream5 = __commonJS({
|
|
|
35711
35711
|
callback.apply(this, args);
|
|
35712
35712
|
};
|
|
35713
35713
|
}
|
|
35714
|
-
function
|
|
35714
|
+
function noop3() {
|
|
35715
35715
|
}
|
|
35716
35716
|
function isRequest(stream) {
|
|
35717
35717
|
return stream.setHeader && typeof stream.abort === "function";
|
|
@@ -35721,7 +35721,7 @@ var require_end_of_stream5 = __commonJS({
|
|
|
35721
35721
|
return eos(stream, null, opts);
|
|
35722
35722
|
if (!opts)
|
|
35723
35723
|
opts = {};
|
|
35724
|
-
callback = once(callback ||
|
|
35724
|
+
callback = once(callback || noop3);
|
|
35725
35725
|
var readable = opts.readable || opts.readable !== false && stream.readable;
|
|
35726
35726
|
var writable = opts.writable || opts.writable !== false && stream.writable;
|
|
35727
35727
|
var onlegacyfinish = function onlegacyfinish2() {
|
|
@@ -37030,7 +37030,7 @@ var require_pipeline5 = __commonJS({
|
|
|
37030
37030
|
var _require$codes = require_errors5().codes;
|
|
37031
37031
|
var ERR_MISSING_ARGS = _require$codes.ERR_MISSING_ARGS;
|
|
37032
37032
|
var ERR_STREAM_DESTROYED = _require$codes.ERR_STREAM_DESTROYED;
|
|
37033
|
-
function
|
|
37033
|
+
function noop3(err) {
|
|
37034
37034
|
if (err)
|
|
37035
37035
|
throw err;
|
|
37036
37036
|
}
|
|
@@ -37076,9 +37076,9 @@ var require_pipeline5 = __commonJS({
|
|
|
37076
37076
|
}
|
|
37077
37077
|
function popCallback(streams) {
|
|
37078
37078
|
if (!streams.length)
|
|
37079
|
-
return
|
|
37079
|
+
return noop3;
|
|
37080
37080
|
if (typeof streams[streams.length - 1] !== "function")
|
|
37081
|
-
return
|
|
37081
|
+
return noop3;
|
|
37082
37082
|
return streams.pop();
|
|
37083
37083
|
}
|
|
37084
37084
|
function pipeline() {
|
|
@@ -37142,7 +37142,7 @@ var require_extract = __commonJS({
|
|
|
37142
37142
|
var headers = require_headers();
|
|
37143
37143
|
var Writable = require_readable6().Writable;
|
|
37144
37144
|
var PassThrough = require_readable6().PassThrough;
|
|
37145
|
-
var
|
|
37145
|
+
var noop3 = function() {
|
|
37146
37146
|
};
|
|
37147
37147
|
var overflow = function(size) {
|
|
37148
37148
|
size &= 511;
|
|
@@ -37181,7 +37181,7 @@ var require_extract = __commonJS({
|
|
|
37181
37181
|
this._buffer = bl();
|
|
37182
37182
|
this._missing = 0;
|
|
37183
37183
|
this._partial = false;
|
|
37184
|
-
this._onparse =
|
|
37184
|
+
this._onparse = noop3;
|
|
37185
37185
|
this._header = null;
|
|
37186
37186
|
this._stream = null;
|
|
37187
37187
|
this._overflow = null;
|
|
@@ -37329,7 +37329,7 @@ var require_extract = __commonJS({
|
|
|
37329
37329
|
if (this._destroyed)
|
|
37330
37330
|
return;
|
|
37331
37331
|
var cb = this._cb;
|
|
37332
|
-
this._cb =
|
|
37332
|
+
this._cb = noop3;
|
|
37333
37333
|
if (this._overflow)
|
|
37334
37334
|
this._write(this._overflow, void 0, cb);
|
|
37335
37335
|
else
|
|
@@ -37385,7 +37385,7 @@ var require_fs_constants = __commonJS({
|
|
|
37385
37385
|
var require_end_of_stream6 = __commonJS({
|
|
37386
37386
|
"../../node_modules/end-of-stream/index.js"(exports, module2) {
|
|
37387
37387
|
var once = require_once();
|
|
37388
|
-
var
|
|
37388
|
+
var noop3 = function() {
|
|
37389
37389
|
};
|
|
37390
37390
|
var isRequest = function(stream) {
|
|
37391
37391
|
return stream.setHeader && typeof stream.abort === "function";
|
|
@@ -37398,7 +37398,7 @@ var require_end_of_stream6 = __commonJS({
|
|
|
37398
37398
|
return eos(stream, null, opts);
|
|
37399
37399
|
if (!opts)
|
|
37400
37400
|
opts = {};
|
|
37401
|
-
callback = once(callback ||
|
|
37401
|
+
callback = once(callback || noop3);
|
|
37402
37402
|
var ws = stream._writableState;
|
|
37403
37403
|
var rs = stream._readableState;
|
|
37404
37404
|
var readable = opts.readable || opts.readable !== false && stream.readable;
|
|
@@ -37490,7 +37490,7 @@ var require_pack = __commonJS({
|
|
|
37490
37490
|
var DMODE = parseInt("755", 8);
|
|
37491
37491
|
var FMODE = parseInt("644", 8);
|
|
37492
37492
|
var END_OF_TAR = alloc(1024);
|
|
37493
|
-
var
|
|
37493
|
+
var noop3 = function() {
|
|
37494
37494
|
};
|
|
37495
37495
|
var overflow = function(self2, size) {
|
|
37496
37496
|
size &= 511;
|
|
@@ -37566,7 +37566,7 @@ var require_pack = __commonJS({
|
|
|
37566
37566
|
if (!(this instanceof Pack))
|
|
37567
37567
|
return new Pack(opts);
|
|
37568
37568
|
Readable.call(this, opts);
|
|
37569
|
-
this._drain =
|
|
37569
|
+
this._drain = noop3;
|
|
37570
37570
|
this._finalized = false;
|
|
37571
37571
|
this._finalizing = false;
|
|
37572
37572
|
this._destroyed = false;
|
|
@@ -37583,7 +37583,7 @@ var require_pack = __commonJS({
|
|
|
37583
37583
|
buffer = null;
|
|
37584
37584
|
}
|
|
37585
37585
|
if (!callback)
|
|
37586
|
-
callback =
|
|
37586
|
+
callback = noop3;
|
|
37587
37587
|
var self2 = this;
|
|
37588
37588
|
if (!header.size || header.type === "symlink")
|
|
37589
37589
|
header.size = 0;
|
|
@@ -37707,7 +37707,7 @@ var require_pack = __commonJS({
|
|
|
37707
37707
|
};
|
|
37708
37708
|
Pack.prototype._read = function(n) {
|
|
37709
37709
|
var drain = this._drain;
|
|
37710
|
-
this._drain =
|
|
37710
|
+
this._drain = noop3;
|
|
37711
37711
|
drain();
|
|
37712
37712
|
};
|
|
37713
37713
|
module2.exports = Pack;
|
|
@@ -48370,23 +48370,23 @@ function formatImage(image, message, scale) {
|
|
|
48370
48370
|
|
|
48371
48371
|
// ../../node_modules/@probe.gl/log/dist/utils/color.js
|
|
48372
48372
|
var COLOR;
|
|
48373
|
-
(function(
|
|
48374
|
-
|
|
48375
|
-
|
|
48376
|
-
|
|
48377
|
-
|
|
48378
|
-
|
|
48379
|
-
|
|
48380
|
-
|
|
48381
|
-
|
|
48382
|
-
|
|
48383
|
-
|
|
48384
|
-
|
|
48385
|
-
|
|
48386
|
-
|
|
48387
|
-
|
|
48388
|
-
|
|
48389
|
-
|
|
48373
|
+
(function(COLOR3) {
|
|
48374
|
+
COLOR3[COLOR3["BLACK"] = 30] = "BLACK";
|
|
48375
|
+
COLOR3[COLOR3["RED"] = 31] = "RED";
|
|
48376
|
+
COLOR3[COLOR3["GREEN"] = 32] = "GREEN";
|
|
48377
|
+
COLOR3[COLOR3["YELLOW"] = 33] = "YELLOW";
|
|
48378
|
+
COLOR3[COLOR3["BLUE"] = 34] = "BLUE";
|
|
48379
|
+
COLOR3[COLOR3["MAGENTA"] = 35] = "MAGENTA";
|
|
48380
|
+
COLOR3[COLOR3["CYAN"] = 36] = "CYAN";
|
|
48381
|
+
COLOR3[COLOR3["WHITE"] = 37] = "WHITE";
|
|
48382
|
+
COLOR3[COLOR3["BRIGHT_BLACK"] = 90] = "BRIGHT_BLACK";
|
|
48383
|
+
COLOR3[COLOR3["BRIGHT_RED"] = 91] = "BRIGHT_RED";
|
|
48384
|
+
COLOR3[COLOR3["BRIGHT_GREEN"] = 92] = "BRIGHT_GREEN";
|
|
48385
|
+
COLOR3[COLOR3["BRIGHT_YELLOW"] = 93] = "BRIGHT_YELLOW";
|
|
48386
|
+
COLOR3[COLOR3["BRIGHT_BLUE"] = 94] = "BRIGHT_BLUE";
|
|
48387
|
+
COLOR3[COLOR3["BRIGHT_MAGENTA"] = 95] = "BRIGHT_MAGENTA";
|
|
48388
|
+
COLOR3[COLOR3["BRIGHT_CYAN"] = 96] = "BRIGHT_CYAN";
|
|
48389
|
+
COLOR3[COLOR3["BRIGHT_WHITE"] = 97] = "BRIGHT_WHITE";
|
|
48390
48390
|
})(COLOR || (COLOR = {}));
|
|
48391
48391
|
var BACKGROUND_INCREMENT = 10;
|
|
48392
48392
|
function getColor(color) {
|
|
@@ -57455,22 +57455,25 @@ async function parse3DTilesSubtree(data, options, context) {
|
|
|
57455
57455
|
if (binaryByteLength) {
|
|
57456
57456
|
internalBinaryBuffer = data.slice(24 + jsonByteLength);
|
|
57457
57457
|
}
|
|
57458
|
-
|
|
57459
|
-
|
|
57460
|
-
|
|
57461
|
-
|
|
57462
|
-
|
|
57463
|
-
}
|
|
57464
|
-
|
|
57465
|
-
subtree.childSubtreeAvailability.explicitBitstream = await getExplicitBitstream(subtree, "childSubtreeAvailability", internalBinaryBuffer, context);
|
|
57458
|
+
await loadExplicitBitstream(subtree, subtree.tileAvailability, internalBinaryBuffer, context);
|
|
57459
|
+
if (Array.isArray(subtree.contentAvailability)) {
|
|
57460
|
+
for (const contentAvailability of subtree.contentAvailability) {
|
|
57461
|
+
await loadExplicitBitstream(subtree, contentAvailability, internalBinaryBuffer, context);
|
|
57462
|
+
}
|
|
57463
|
+
} else {
|
|
57464
|
+
await loadExplicitBitstream(subtree, subtree.contentAvailability, internalBinaryBuffer, context);
|
|
57466
57465
|
}
|
|
57466
|
+
await loadExplicitBitstream(subtree, subtree.childSubtreeAvailability, internalBinaryBuffer, context);
|
|
57467
57467
|
return subtree;
|
|
57468
57468
|
}
|
|
57469
|
-
async function
|
|
57470
|
-
const bufferViewIndex =
|
|
57469
|
+
async function loadExplicitBitstream(subtree, availabilityObject, internalBinaryBuffer, context) {
|
|
57470
|
+
const bufferViewIndex = Number.isFinite(availabilityObject.bitstream) ? availabilityObject.bitstream : availabilityObject.bufferView;
|
|
57471
|
+
if (typeof bufferViewIndex !== "number") {
|
|
57472
|
+
return;
|
|
57473
|
+
}
|
|
57471
57474
|
const bufferView = subtree.bufferViews[bufferViewIndex];
|
|
57472
57475
|
const buffer = subtree.buffers[bufferView.buffer];
|
|
57473
|
-
if (!context?.
|
|
57476
|
+
if (!context?.baseUrl) {
|
|
57474
57477
|
throw new Error("Url is not provided");
|
|
57475
57478
|
}
|
|
57476
57479
|
if (!context.fetch) {
|
|
@@ -57480,9 +57483,10 @@ async function getExplicitBitstream(subtree, name10, internalBinaryBuffer, conte
|
|
|
57480
57483
|
const bufferUri = `${context?.baseUrl || ""}/${buffer.uri}`;
|
|
57481
57484
|
const response = await context.fetch(bufferUri);
|
|
57482
57485
|
const data = await response.arrayBuffer();
|
|
57483
|
-
|
|
57486
|
+
availabilityObject.explicitBitstream = new Uint8Array(data, bufferView.byteOffset, bufferView.byteLength);
|
|
57487
|
+
return;
|
|
57484
57488
|
}
|
|
57485
|
-
|
|
57489
|
+
availabilityObject.explicitBitstream = new Uint8Array(internalBinaryBuffer, bufferView.byteOffset, bufferView.byteLength);
|
|
57486
57490
|
}
|
|
57487
57491
|
function parseUint64Value(buffer) {
|
|
57488
57492
|
const dataView = new DataView(buffer);
|
|
@@ -57504,6 +57508,534 @@ var Tile3DSubtreeLoader = {
|
|
|
57504
57508
|
options: {}
|
|
57505
57509
|
};
|
|
57506
57510
|
|
|
57511
|
+
// ../3d-tiles/node_modules/@probe.gl/env/dist/lib/is-electron.js
|
|
57512
|
+
function isElectron2(mockUserAgent) {
|
|
57513
|
+
if (typeof window !== "undefined" && typeof window.process === "object" && window.process.type === "renderer") {
|
|
57514
|
+
return true;
|
|
57515
|
+
}
|
|
57516
|
+
if (typeof process !== "undefined" && typeof process.versions === "object" && Boolean(process.versions["electron"])) {
|
|
57517
|
+
return true;
|
|
57518
|
+
}
|
|
57519
|
+
const realUserAgent = typeof navigator === "object" && typeof navigator.userAgent === "string" && navigator.userAgent;
|
|
57520
|
+
const userAgent = mockUserAgent || realUserAgent;
|
|
57521
|
+
if (userAgent && userAgent.indexOf("Electron") >= 0) {
|
|
57522
|
+
return true;
|
|
57523
|
+
}
|
|
57524
|
+
return false;
|
|
57525
|
+
}
|
|
57526
|
+
|
|
57527
|
+
// ../3d-tiles/node_modules/@probe.gl/env/dist/lib/is-browser.js
|
|
57528
|
+
function isBrowser5() {
|
|
57529
|
+
const isNode = typeof process === "object" && String(process) === "[object process]" && !process.browser;
|
|
57530
|
+
return !isNode || isElectron2();
|
|
57531
|
+
}
|
|
57532
|
+
|
|
57533
|
+
// ../3d-tiles/node_modules/@probe.gl/env/dist/lib/globals.js
|
|
57534
|
+
var self_4 = globalThis.self || globalThis.window || globalThis.global;
|
|
57535
|
+
var window_4 = globalThis.window || globalThis.self || globalThis.global;
|
|
57536
|
+
var document_4 = globalThis.document || {};
|
|
57537
|
+
var process_2 = globalThis.process || {};
|
|
57538
|
+
var console_2 = globalThis.console;
|
|
57539
|
+
var navigator_2 = globalThis.navigator || {};
|
|
57540
|
+
|
|
57541
|
+
// ../3d-tiles/node_modules/@probe.gl/env/dist/utils/globals.js
|
|
57542
|
+
var VERSION12 = typeof __VERSION__ !== "undefined" ? __VERSION__ : "untranspiled source";
|
|
57543
|
+
var isBrowser6 = isBrowser5();
|
|
57544
|
+
|
|
57545
|
+
// ../3d-tiles/node_modules/@probe.gl/log/dist/utils/local-storage.js
|
|
57546
|
+
function getStorage2(type) {
|
|
57547
|
+
try {
|
|
57548
|
+
const storage = window[type];
|
|
57549
|
+
const x = "__storage_test__";
|
|
57550
|
+
storage.setItem(x, x);
|
|
57551
|
+
storage.removeItem(x);
|
|
57552
|
+
return storage;
|
|
57553
|
+
} catch (e) {
|
|
57554
|
+
return null;
|
|
57555
|
+
}
|
|
57556
|
+
}
|
|
57557
|
+
var LocalStorage2 = class {
|
|
57558
|
+
constructor(id, defaultConfig) {
|
|
57559
|
+
let type = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : "sessionStorage";
|
|
57560
|
+
this.storage = void 0;
|
|
57561
|
+
this.id = void 0;
|
|
57562
|
+
this.config = void 0;
|
|
57563
|
+
this.storage = getStorage2(type);
|
|
57564
|
+
this.id = id;
|
|
57565
|
+
this.config = defaultConfig;
|
|
57566
|
+
this._loadConfiguration();
|
|
57567
|
+
}
|
|
57568
|
+
getConfiguration() {
|
|
57569
|
+
return this.config;
|
|
57570
|
+
}
|
|
57571
|
+
setConfiguration(configuration) {
|
|
57572
|
+
Object.assign(this.config, configuration);
|
|
57573
|
+
if (this.storage) {
|
|
57574
|
+
const serialized = JSON.stringify(this.config);
|
|
57575
|
+
this.storage.setItem(this.id, serialized);
|
|
57576
|
+
}
|
|
57577
|
+
}
|
|
57578
|
+
_loadConfiguration() {
|
|
57579
|
+
let configuration = {};
|
|
57580
|
+
if (this.storage) {
|
|
57581
|
+
const serializedConfiguration = this.storage.getItem(this.id);
|
|
57582
|
+
configuration = serializedConfiguration ? JSON.parse(serializedConfiguration) : {};
|
|
57583
|
+
}
|
|
57584
|
+
Object.assign(this.config, configuration);
|
|
57585
|
+
return this;
|
|
57586
|
+
}
|
|
57587
|
+
};
|
|
57588
|
+
|
|
57589
|
+
// ../3d-tiles/node_modules/@probe.gl/log/dist/utils/formatters.js
|
|
57590
|
+
function formatTime2(ms) {
|
|
57591
|
+
let formatted;
|
|
57592
|
+
if (ms < 10) {
|
|
57593
|
+
formatted = "".concat(ms.toFixed(2), "ms");
|
|
57594
|
+
} else if (ms < 100) {
|
|
57595
|
+
formatted = "".concat(ms.toFixed(1), "ms");
|
|
57596
|
+
} else if (ms < 1e3) {
|
|
57597
|
+
formatted = "".concat(ms.toFixed(0), "ms");
|
|
57598
|
+
} else {
|
|
57599
|
+
formatted = "".concat((ms / 1e3).toFixed(2), "s");
|
|
57600
|
+
}
|
|
57601
|
+
return formatted;
|
|
57602
|
+
}
|
|
57603
|
+
function leftPad2(string) {
|
|
57604
|
+
let length = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 8;
|
|
57605
|
+
const padLength = Math.max(length - string.length, 0);
|
|
57606
|
+
return "".concat(" ".repeat(padLength)).concat(string);
|
|
57607
|
+
}
|
|
57608
|
+
function formatImage2(image, message, scale) {
|
|
57609
|
+
let maxWidth = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : 600;
|
|
57610
|
+
const imageUrl = image.src.replace(/\(/g, "%28").replace(/\)/g, "%29");
|
|
57611
|
+
if (image.width > maxWidth) {
|
|
57612
|
+
scale = Math.min(scale, maxWidth / image.width);
|
|
57613
|
+
}
|
|
57614
|
+
const width = image.width * scale;
|
|
57615
|
+
const height = image.height * scale;
|
|
57616
|
+
const style = ["font-size:1px;", "padding:".concat(Math.floor(height / 2), "px ").concat(Math.floor(width / 2), "px;"), "line-height:".concat(height, "px;"), "background:url(".concat(imageUrl, ");"), "background-size:".concat(width, "px ").concat(height, "px;"), "color:transparent;"].join("");
|
|
57617
|
+
return ["".concat(message, " %c+"), style];
|
|
57618
|
+
}
|
|
57619
|
+
|
|
57620
|
+
// ../3d-tiles/node_modules/@probe.gl/log/dist/utils/color.js
|
|
57621
|
+
var COLOR2;
|
|
57622
|
+
(function(COLOR3) {
|
|
57623
|
+
COLOR3[COLOR3["BLACK"] = 30] = "BLACK";
|
|
57624
|
+
COLOR3[COLOR3["RED"] = 31] = "RED";
|
|
57625
|
+
COLOR3[COLOR3["GREEN"] = 32] = "GREEN";
|
|
57626
|
+
COLOR3[COLOR3["YELLOW"] = 33] = "YELLOW";
|
|
57627
|
+
COLOR3[COLOR3["BLUE"] = 34] = "BLUE";
|
|
57628
|
+
COLOR3[COLOR3["MAGENTA"] = 35] = "MAGENTA";
|
|
57629
|
+
COLOR3[COLOR3["CYAN"] = 36] = "CYAN";
|
|
57630
|
+
COLOR3[COLOR3["WHITE"] = 37] = "WHITE";
|
|
57631
|
+
COLOR3[COLOR3["BRIGHT_BLACK"] = 90] = "BRIGHT_BLACK";
|
|
57632
|
+
COLOR3[COLOR3["BRIGHT_RED"] = 91] = "BRIGHT_RED";
|
|
57633
|
+
COLOR3[COLOR3["BRIGHT_GREEN"] = 92] = "BRIGHT_GREEN";
|
|
57634
|
+
COLOR3[COLOR3["BRIGHT_YELLOW"] = 93] = "BRIGHT_YELLOW";
|
|
57635
|
+
COLOR3[COLOR3["BRIGHT_BLUE"] = 94] = "BRIGHT_BLUE";
|
|
57636
|
+
COLOR3[COLOR3["BRIGHT_MAGENTA"] = 95] = "BRIGHT_MAGENTA";
|
|
57637
|
+
COLOR3[COLOR3["BRIGHT_CYAN"] = 96] = "BRIGHT_CYAN";
|
|
57638
|
+
COLOR3[COLOR3["BRIGHT_WHITE"] = 97] = "BRIGHT_WHITE";
|
|
57639
|
+
})(COLOR2 || (COLOR2 = {}));
|
|
57640
|
+
var BACKGROUND_INCREMENT2 = 10;
|
|
57641
|
+
function getColor2(color) {
|
|
57642
|
+
if (typeof color !== "string") {
|
|
57643
|
+
return color;
|
|
57644
|
+
}
|
|
57645
|
+
color = color.toUpperCase();
|
|
57646
|
+
return COLOR2[color] || COLOR2.WHITE;
|
|
57647
|
+
}
|
|
57648
|
+
function addColor2(string, color, background) {
|
|
57649
|
+
if (!isBrowser5 && typeof string === "string") {
|
|
57650
|
+
if (color) {
|
|
57651
|
+
const colorCode = getColor2(color);
|
|
57652
|
+
string = "[".concat(colorCode, "m").concat(string, "[39m");
|
|
57653
|
+
}
|
|
57654
|
+
if (background) {
|
|
57655
|
+
const colorCode = getColor2(background);
|
|
57656
|
+
string = "[".concat(colorCode + BACKGROUND_INCREMENT2, "m").concat(string, "[49m");
|
|
57657
|
+
}
|
|
57658
|
+
}
|
|
57659
|
+
return string;
|
|
57660
|
+
}
|
|
57661
|
+
|
|
57662
|
+
// ../3d-tiles/node_modules/@probe.gl/log/dist/utils/autobind.js
|
|
57663
|
+
function autobind2(obj) {
|
|
57664
|
+
let predefined = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : ["constructor"];
|
|
57665
|
+
const proto = Object.getPrototypeOf(obj);
|
|
57666
|
+
const propNames = Object.getOwnPropertyNames(proto);
|
|
57667
|
+
const object = obj;
|
|
57668
|
+
for (const key of propNames) {
|
|
57669
|
+
const value = object[key];
|
|
57670
|
+
if (typeof value === "function") {
|
|
57671
|
+
if (!predefined.find((name10) => key === name10)) {
|
|
57672
|
+
object[key] = value.bind(obj);
|
|
57673
|
+
}
|
|
57674
|
+
}
|
|
57675
|
+
}
|
|
57676
|
+
}
|
|
57677
|
+
|
|
57678
|
+
// ../3d-tiles/node_modules/@probe.gl/log/dist/utils/assert.js
|
|
57679
|
+
function assert7(condition, message) {
|
|
57680
|
+
if (!condition) {
|
|
57681
|
+
throw new Error(message || "Assertion failed");
|
|
57682
|
+
}
|
|
57683
|
+
}
|
|
57684
|
+
|
|
57685
|
+
// ../3d-tiles/node_modules/@probe.gl/log/dist/utils/hi-res-timestamp.js
|
|
57686
|
+
function getHiResTimestamp4() {
|
|
57687
|
+
let timestamp;
|
|
57688
|
+
if (isBrowser5() && window_4.performance) {
|
|
57689
|
+
var _window$performance, _window$performance$n;
|
|
57690
|
+
timestamp = window_4 === null || window_4 === void 0 ? void 0 : (_window$performance = window_4.performance) === null || _window$performance === void 0 ? void 0 : (_window$performance$n = _window$performance.now) === null || _window$performance$n === void 0 ? void 0 : _window$performance$n.call(_window$performance);
|
|
57691
|
+
} else if ("hrtime" in process_2) {
|
|
57692
|
+
var _process$hrtime;
|
|
57693
|
+
const timeParts = process_2 === null || process_2 === void 0 ? void 0 : (_process$hrtime = process_2.hrtime) === null || _process$hrtime === void 0 ? void 0 : _process$hrtime.call(process_2);
|
|
57694
|
+
timestamp = timeParts[0] * 1e3 + timeParts[1] / 1e6;
|
|
57695
|
+
} else {
|
|
57696
|
+
timestamp = Date.now();
|
|
57697
|
+
}
|
|
57698
|
+
return timestamp;
|
|
57699
|
+
}
|
|
57700
|
+
|
|
57701
|
+
// ../3d-tiles/node_modules/@probe.gl/log/dist/log.js
|
|
57702
|
+
var originalConsole2 = {
|
|
57703
|
+
debug: isBrowser5() ? console.debug || console.log : console.log,
|
|
57704
|
+
log: console.log,
|
|
57705
|
+
info: console.info,
|
|
57706
|
+
warn: console.warn,
|
|
57707
|
+
error: console.error
|
|
57708
|
+
};
|
|
57709
|
+
var DEFAULT_LOG_CONFIGURATION2 = {
|
|
57710
|
+
enabled: true,
|
|
57711
|
+
level: 0
|
|
57712
|
+
};
|
|
57713
|
+
function noop2() {
|
|
57714
|
+
}
|
|
57715
|
+
var cache2 = {};
|
|
57716
|
+
var ONCE2 = {
|
|
57717
|
+
once: true
|
|
57718
|
+
};
|
|
57719
|
+
var Log2 = class {
|
|
57720
|
+
constructor() {
|
|
57721
|
+
let {
|
|
57722
|
+
id
|
|
57723
|
+
} = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {
|
|
57724
|
+
id: ""
|
|
57725
|
+
};
|
|
57726
|
+
this.id = void 0;
|
|
57727
|
+
this.VERSION = VERSION12;
|
|
57728
|
+
this._startTs = getHiResTimestamp4();
|
|
57729
|
+
this._deltaTs = getHiResTimestamp4();
|
|
57730
|
+
this._storage = void 0;
|
|
57731
|
+
this.userData = {};
|
|
57732
|
+
this.LOG_THROTTLE_TIMEOUT = 0;
|
|
57733
|
+
this.id = id;
|
|
57734
|
+
this.userData = {};
|
|
57735
|
+
this._storage = new LocalStorage2("__probe-".concat(this.id, "__"), DEFAULT_LOG_CONFIGURATION2);
|
|
57736
|
+
this.timeStamp("".concat(this.id, " started"));
|
|
57737
|
+
autobind2(this);
|
|
57738
|
+
Object.seal(this);
|
|
57739
|
+
}
|
|
57740
|
+
set level(newLevel) {
|
|
57741
|
+
this.setLevel(newLevel);
|
|
57742
|
+
}
|
|
57743
|
+
get level() {
|
|
57744
|
+
return this.getLevel();
|
|
57745
|
+
}
|
|
57746
|
+
isEnabled() {
|
|
57747
|
+
return this._storage.config.enabled;
|
|
57748
|
+
}
|
|
57749
|
+
getLevel() {
|
|
57750
|
+
return this._storage.config.level;
|
|
57751
|
+
}
|
|
57752
|
+
getTotal() {
|
|
57753
|
+
return Number((getHiResTimestamp4() - this._startTs).toPrecision(10));
|
|
57754
|
+
}
|
|
57755
|
+
getDelta() {
|
|
57756
|
+
return Number((getHiResTimestamp4() - this._deltaTs).toPrecision(10));
|
|
57757
|
+
}
|
|
57758
|
+
set priority(newPriority) {
|
|
57759
|
+
this.level = newPriority;
|
|
57760
|
+
}
|
|
57761
|
+
get priority() {
|
|
57762
|
+
return this.level;
|
|
57763
|
+
}
|
|
57764
|
+
getPriority() {
|
|
57765
|
+
return this.level;
|
|
57766
|
+
}
|
|
57767
|
+
enable() {
|
|
57768
|
+
let enabled = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : true;
|
|
57769
|
+
this._storage.setConfiguration({
|
|
57770
|
+
enabled
|
|
57771
|
+
});
|
|
57772
|
+
return this;
|
|
57773
|
+
}
|
|
57774
|
+
setLevel(level) {
|
|
57775
|
+
this._storage.setConfiguration({
|
|
57776
|
+
level
|
|
57777
|
+
});
|
|
57778
|
+
return this;
|
|
57779
|
+
}
|
|
57780
|
+
get(setting) {
|
|
57781
|
+
return this._storage.config[setting];
|
|
57782
|
+
}
|
|
57783
|
+
set(setting, value) {
|
|
57784
|
+
this._storage.setConfiguration({
|
|
57785
|
+
[setting]: value
|
|
57786
|
+
});
|
|
57787
|
+
}
|
|
57788
|
+
settings() {
|
|
57789
|
+
if (console.table) {
|
|
57790
|
+
console.table(this._storage.config);
|
|
57791
|
+
} else {
|
|
57792
|
+
console.log(this._storage.config);
|
|
57793
|
+
}
|
|
57794
|
+
}
|
|
57795
|
+
assert(condition, message) {
|
|
57796
|
+
assert7(condition, message);
|
|
57797
|
+
}
|
|
57798
|
+
warn(message) {
|
|
57799
|
+
return this._getLogFunction(0, message, originalConsole2.warn, arguments, ONCE2);
|
|
57800
|
+
}
|
|
57801
|
+
error(message) {
|
|
57802
|
+
return this._getLogFunction(0, message, originalConsole2.error, arguments);
|
|
57803
|
+
}
|
|
57804
|
+
deprecated(oldUsage, newUsage) {
|
|
57805
|
+
return this.warn("`".concat(oldUsage, "` is deprecated and will be removed in a later version. Use `").concat(newUsage, "` instead"));
|
|
57806
|
+
}
|
|
57807
|
+
removed(oldUsage, newUsage) {
|
|
57808
|
+
return this.error("`".concat(oldUsage, "` has been removed. Use `").concat(newUsage, "` instead"));
|
|
57809
|
+
}
|
|
57810
|
+
probe(logLevel, message) {
|
|
57811
|
+
return this._getLogFunction(logLevel, message, originalConsole2.log, arguments, {
|
|
57812
|
+
time: true,
|
|
57813
|
+
once: true
|
|
57814
|
+
});
|
|
57815
|
+
}
|
|
57816
|
+
log(logLevel, message) {
|
|
57817
|
+
return this._getLogFunction(logLevel, message, originalConsole2.debug, arguments);
|
|
57818
|
+
}
|
|
57819
|
+
info(logLevel, message) {
|
|
57820
|
+
return this._getLogFunction(logLevel, message, console.info, arguments);
|
|
57821
|
+
}
|
|
57822
|
+
once(logLevel, message) {
|
|
57823
|
+
return this._getLogFunction(logLevel, message, originalConsole2.debug || originalConsole2.info, arguments, ONCE2);
|
|
57824
|
+
}
|
|
57825
|
+
table(logLevel, table, columns) {
|
|
57826
|
+
if (table) {
|
|
57827
|
+
return this._getLogFunction(logLevel, table, console.table || noop2, columns && [columns], {
|
|
57828
|
+
tag: getTableHeader2(table)
|
|
57829
|
+
});
|
|
57830
|
+
}
|
|
57831
|
+
return noop2;
|
|
57832
|
+
}
|
|
57833
|
+
image(_ref) {
|
|
57834
|
+
let {
|
|
57835
|
+
logLevel,
|
|
57836
|
+
priority,
|
|
57837
|
+
image,
|
|
57838
|
+
message = "",
|
|
57839
|
+
scale = 1
|
|
57840
|
+
} = _ref;
|
|
57841
|
+
if (!this._shouldLog(logLevel || priority)) {
|
|
57842
|
+
return noop2;
|
|
57843
|
+
}
|
|
57844
|
+
return isBrowser5() ? logImageInBrowser2({
|
|
57845
|
+
image,
|
|
57846
|
+
message,
|
|
57847
|
+
scale
|
|
57848
|
+
}) : logImageInNode2({
|
|
57849
|
+
image,
|
|
57850
|
+
message,
|
|
57851
|
+
scale
|
|
57852
|
+
});
|
|
57853
|
+
}
|
|
57854
|
+
time(logLevel, message) {
|
|
57855
|
+
return this._getLogFunction(logLevel, message, console.time ? console.time : console.info);
|
|
57856
|
+
}
|
|
57857
|
+
timeEnd(logLevel, message) {
|
|
57858
|
+
return this._getLogFunction(logLevel, message, console.timeEnd ? console.timeEnd : console.info);
|
|
57859
|
+
}
|
|
57860
|
+
timeStamp(logLevel, message) {
|
|
57861
|
+
return this._getLogFunction(logLevel, message, console.timeStamp || noop2);
|
|
57862
|
+
}
|
|
57863
|
+
group(logLevel, message) {
|
|
57864
|
+
let opts = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {
|
|
57865
|
+
collapsed: false
|
|
57866
|
+
};
|
|
57867
|
+
const options = normalizeArguments2({
|
|
57868
|
+
logLevel,
|
|
57869
|
+
message,
|
|
57870
|
+
opts
|
|
57871
|
+
});
|
|
57872
|
+
const {
|
|
57873
|
+
collapsed
|
|
57874
|
+
} = opts;
|
|
57875
|
+
options.method = (collapsed ? console.groupCollapsed : console.group) || console.info;
|
|
57876
|
+
return this._getLogFunction(options);
|
|
57877
|
+
}
|
|
57878
|
+
groupCollapsed(logLevel, message) {
|
|
57879
|
+
let opts = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
|
57880
|
+
return this.group(logLevel, message, Object.assign({}, opts, {
|
|
57881
|
+
collapsed: true
|
|
57882
|
+
}));
|
|
57883
|
+
}
|
|
57884
|
+
groupEnd(logLevel) {
|
|
57885
|
+
return this._getLogFunction(logLevel, "", console.groupEnd || noop2);
|
|
57886
|
+
}
|
|
57887
|
+
withGroup(logLevel, message, func) {
|
|
57888
|
+
this.group(logLevel, message)();
|
|
57889
|
+
try {
|
|
57890
|
+
func();
|
|
57891
|
+
} finally {
|
|
57892
|
+
this.groupEnd(logLevel)();
|
|
57893
|
+
}
|
|
57894
|
+
}
|
|
57895
|
+
trace() {
|
|
57896
|
+
if (console.trace) {
|
|
57897
|
+
console.trace();
|
|
57898
|
+
}
|
|
57899
|
+
}
|
|
57900
|
+
_shouldLog(logLevel) {
|
|
57901
|
+
return this.isEnabled() && this.getLevel() >= normalizeLogLevel2(logLevel);
|
|
57902
|
+
}
|
|
57903
|
+
_getLogFunction(logLevel, message, method, args, opts) {
|
|
57904
|
+
if (this._shouldLog(logLevel)) {
|
|
57905
|
+
opts = normalizeArguments2({
|
|
57906
|
+
logLevel,
|
|
57907
|
+
message,
|
|
57908
|
+
args,
|
|
57909
|
+
opts
|
|
57910
|
+
});
|
|
57911
|
+
method = method || opts.method;
|
|
57912
|
+
assert7(method);
|
|
57913
|
+
opts.total = this.getTotal();
|
|
57914
|
+
opts.delta = this.getDelta();
|
|
57915
|
+
this._deltaTs = getHiResTimestamp4();
|
|
57916
|
+
const tag = opts.tag || opts.message;
|
|
57917
|
+
if (opts.once && tag) {
|
|
57918
|
+
if (!cache2[tag]) {
|
|
57919
|
+
cache2[tag] = getHiResTimestamp4();
|
|
57920
|
+
} else {
|
|
57921
|
+
return noop2;
|
|
57922
|
+
}
|
|
57923
|
+
}
|
|
57924
|
+
message = decorateMessage2(this.id, opts.message, opts);
|
|
57925
|
+
return method.bind(console, message, ...opts.args);
|
|
57926
|
+
}
|
|
57927
|
+
return noop2;
|
|
57928
|
+
}
|
|
57929
|
+
};
|
|
57930
|
+
Log2.VERSION = VERSION12;
|
|
57931
|
+
function normalizeLogLevel2(logLevel) {
|
|
57932
|
+
if (!logLevel) {
|
|
57933
|
+
return 0;
|
|
57934
|
+
}
|
|
57935
|
+
let resolvedLevel;
|
|
57936
|
+
switch (typeof logLevel) {
|
|
57937
|
+
case "number":
|
|
57938
|
+
resolvedLevel = logLevel;
|
|
57939
|
+
break;
|
|
57940
|
+
case "object":
|
|
57941
|
+
resolvedLevel = logLevel.logLevel || logLevel.priority || 0;
|
|
57942
|
+
break;
|
|
57943
|
+
default:
|
|
57944
|
+
return 0;
|
|
57945
|
+
}
|
|
57946
|
+
assert7(Number.isFinite(resolvedLevel) && resolvedLevel >= 0);
|
|
57947
|
+
return resolvedLevel;
|
|
57948
|
+
}
|
|
57949
|
+
function normalizeArguments2(opts) {
|
|
57950
|
+
const {
|
|
57951
|
+
logLevel,
|
|
57952
|
+
message
|
|
57953
|
+
} = opts;
|
|
57954
|
+
opts.logLevel = normalizeLogLevel2(logLevel);
|
|
57955
|
+
const args = opts.args ? Array.from(opts.args) : [];
|
|
57956
|
+
while (args.length && args.shift() !== message) {
|
|
57957
|
+
}
|
|
57958
|
+
switch (typeof logLevel) {
|
|
57959
|
+
case "string":
|
|
57960
|
+
case "function":
|
|
57961
|
+
if (message !== void 0) {
|
|
57962
|
+
args.unshift(message);
|
|
57963
|
+
}
|
|
57964
|
+
opts.message = logLevel;
|
|
57965
|
+
break;
|
|
57966
|
+
case "object":
|
|
57967
|
+
Object.assign(opts, logLevel);
|
|
57968
|
+
break;
|
|
57969
|
+
default:
|
|
57970
|
+
}
|
|
57971
|
+
if (typeof opts.message === "function") {
|
|
57972
|
+
opts.message = opts.message();
|
|
57973
|
+
}
|
|
57974
|
+
const messageType = typeof opts.message;
|
|
57975
|
+
assert7(messageType === "string" || messageType === "object");
|
|
57976
|
+
return Object.assign(opts, {
|
|
57977
|
+
args
|
|
57978
|
+
}, opts.opts);
|
|
57979
|
+
}
|
|
57980
|
+
function decorateMessage2(id, message, opts) {
|
|
57981
|
+
if (typeof message === "string") {
|
|
57982
|
+
const time = opts.time ? leftPad2(formatTime2(opts.total)) : "";
|
|
57983
|
+
message = opts.time ? "".concat(id, ": ").concat(time, " ").concat(message) : "".concat(id, ": ").concat(message);
|
|
57984
|
+
message = addColor2(message, opts.color, opts.background);
|
|
57985
|
+
}
|
|
57986
|
+
return message;
|
|
57987
|
+
}
|
|
57988
|
+
function logImageInNode2(_ref2) {
|
|
57989
|
+
let {
|
|
57990
|
+
image,
|
|
57991
|
+
message = "",
|
|
57992
|
+
scale = 1
|
|
57993
|
+
} = _ref2;
|
|
57994
|
+
console.warn("removed");
|
|
57995
|
+
return noop2;
|
|
57996
|
+
}
|
|
57997
|
+
function logImageInBrowser2(_ref3) {
|
|
57998
|
+
let {
|
|
57999
|
+
image,
|
|
58000
|
+
message = "",
|
|
58001
|
+
scale = 1
|
|
58002
|
+
} = _ref3;
|
|
58003
|
+
if (typeof image === "string") {
|
|
58004
|
+
const img = new Image();
|
|
58005
|
+
img.onload = () => {
|
|
58006
|
+
const args = formatImage2(img, message, scale);
|
|
58007
|
+
console.log(...args);
|
|
58008
|
+
};
|
|
58009
|
+
img.src = image;
|
|
58010
|
+
return noop2;
|
|
58011
|
+
}
|
|
58012
|
+
const element = image.nodeName || "";
|
|
58013
|
+
if (element.toLowerCase() === "img") {
|
|
58014
|
+
console.log(...formatImage2(image, message, scale));
|
|
58015
|
+
return noop2;
|
|
58016
|
+
}
|
|
58017
|
+
if (element.toLowerCase() === "canvas") {
|
|
58018
|
+
const img = new Image();
|
|
58019
|
+
img.onload = () => console.log(...formatImage2(img, message, scale));
|
|
58020
|
+
img.src = image.toDataURL();
|
|
58021
|
+
return noop2;
|
|
58022
|
+
}
|
|
58023
|
+
return noop2;
|
|
58024
|
+
}
|
|
58025
|
+
function getTableHeader2(table) {
|
|
58026
|
+
for (const key in table) {
|
|
58027
|
+
for (const title in table[key]) {
|
|
58028
|
+
return title || "untitled";
|
|
58029
|
+
}
|
|
58030
|
+
}
|
|
58031
|
+
return "empty";
|
|
58032
|
+
}
|
|
58033
|
+
|
|
58034
|
+
// ../3d-tiles/node_modules/@probe.gl/log/dist/index.js
|
|
58035
|
+
var dist_default2 = new Log2({
|
|
58036
|
+
id: "@probe.gl/log"
|
|
58037
|
+
});
|
|
58038
|
+
|
|
57507
58039
|
// ../../node_modules/long/index.js
|
|
57508
58040
|
var wasm = null;
|
|
57509
58041
|
try {
|
|
@@ -57815,27 +58347,27 @@ Long.isLong = isLong;
|
|
|
57815
58347
|
var INT_CACHE = {};
|
|
57816
58348
|
var UINT_CACHE = {};
|
|
57817
58349
|
function fromInt(value, unsigned) {
|
|
57818
|
-
var obj, cachedObj,
|
|
58350
|
+
var obj, cachedObj, cache3;
|
|
57819
58351
|
if (unsigned) {
|
|
57820
58352
|
value >>>= 0;
|
|
57821
|
-
if (
|
|
58353
|
+
if (cache3 = 0 <= value && value < 256) {
|
|
57822
58354
|
cachedObj = UINT_CACHE[value];
|
|
57823
58355
|
if (cachedObj)
|
|
57824
58356
|
return cachedObj;
|
|
57825
58357
|
}
|
|
57826
58358
|
obj = fromBits(value, 0, true);
|
|
57827
|
-
if (
|
|
58359
|
+
if (cache3)
|
|
57828
58360
|
UINT_CACHE[value] = obj;
|
|
57829
58361
|
return obj;
|
|
57830
58362
|
} else {
|
|
57831
58363
|
value |= 0;
|
|
57832
|
-
if (
|
|
58364
|
+
if (cache3 = -128 <= value && value < 128) {
|
|
57833
58365
|
cachedObj = INT_CACHE[value];
|
|
57834
58366
|
if (cachedObj)
|
|
57835
58367
|
return cachedObj;
|
|
57836
58368
|
}
|
|
57837
58369
|
obj = fromBits(value, value < 0 ? -1 : 0, false);
|
|
57838
|
-
if (
|
|
58370
|
+
if (cache3)
|
|
57839
58371
|
INT_CACHE[value] = obj;
|
|
57840
58372
|
return obj;
|
|
57841
58373
|
}
|
|
@@ -58797,11 +59329,20 @@ async function parseImplicitTiles(params) {
|
|
|
58797
59329
|
return tile;
|
|
58798
59330
|
}
|
|
58799
59331
|
function getAvailabilityResult(availabilityData, index) {
|
|
58800
|
-
|
|
58801
|
-
|
|
59332
|
+
let availabilityObject;
|
|
59333
|
+
if (Array.isArray(availabilityData)) {
|
|
59334
|
+
availabilityObject = availabilityData[0];
|
|
59335
|
+
if (availabilityData.length > 1) {
|
|
59336
|
+
dist_default2.once('Not supported extension "3DTILES_multiple_contents" has been detected');
|
|
59337
|
+
}
|
|
59338
|
+
} else {
|
|
59339
|
+
availabilityObject = availabilityData;
|
|
58802
59340
|
}
|
|
58803
|
-
if (
|
|
58804
|
-
return
|
|
59341
|
+
if ("constant" in availabilityObject) {
|
|
59342
|
+
return Boolean(availabilityObject.constant);
|
|
59343
|
+
}
|
|
59344
|
+
if (availabilityObject.explicitBitstream) {
|
|
59345
|
+
return getBooleanValueFromBitstream(index, availabilityObject.explicitBitstream);
|
|
58805
59346
|
}
|
|
58806
59347
|
return false;
|
|
58807
59348
|
}
|
|
@@ -60945,6 +61486,9 @@ function getPropertyTableExtension(tileContent) {
|
|
|
60945
61486
|
break;
|
|
60946
61487
|
}
|
|
60947
61488
|
}
|
|
61489
|
+
if (!extensionName) {
|
|
61490
|
+
return { extensionName: null, extension: null };
|
|
61491
|
+
}
|
|
60948
61492
|
const extension = tileContent?.gltf?.extensions?.[extensionName];
|
|
60949
61493
|
return { extensionName, extension };
|
|
60950
61494
|
}
|
|
@@ -61060,12 +61604,12 @@ function convertScreenThresholdToGeometricError(node2) {
|
|
|
61060
61604
|
|
|
61061
61605
|
// src/pgm-loader.ts
|
|
61062
61606
|
var import_geoid = __toModule(require_es54());
|
|
61063
|
-
var
|
|
61607
|
+
var VERSION13 = typeof __VERSION__ !== "undefined" ? __VERSION__ : "latest";
|
|
61064
61608
|
var PGMLoader = {
|
|
61065
61609
|
name: "PGM - Netpbm grayscale image format",
|
|
61066
61610
|
id: "pgm",
|
|
61067
61611
|
module: "tile-converter",
|
|
61068
|
-
version:
|
|
61612
|
+
version: VERSION13,
|
|
61069
61613
|
mimeTypes: ["image/x-portable-graymap"],
|
|
61070
61614
|
parse: async (arrayBuffer, options) => (0, import_geoid.parsePGM)(new Uint8Array(arrayBuffer), options),
|
|
61071
61615
|
extensions: ["pgm"],
|
|
@@ -61757,12 +62301,12 @@ var WriteQueue = class extends Queue {
|
|
|
61757
62301
|
};
|
|
61758
62302
|
|
|
61759
62303
|
// src/i3s-attributes-worker.ts
|
|
61760
|
-
var
|
|
62304
|
+
var VERSION14 = typeof __VERSION__ !== "undefined" ? __VERSION__ : "latest";
|
|
61761
62305
|
var I3SAttributesWorker = {
|
|
61762
62306
|
id: "i3s-attributes",
|
|
61763
62307
|
name: "I3S Attributes Worker",
|
|
61764
62308
|
module: "tile-converter",
|
|
61765
|
-
version:
|
|
62309
|
+
version: VERSION14,
|
|
61766
62310
|
options: {
|
|
61767
62311
|
useCartesianPositions: false
|
|
61768
62312
|
}
|
|
@@ -62964,12 +63508,12 @@ function parseStringsAttribute(arrayBuffer) {
|
|
|
62964
63508
|
}
|
|
62965
63509
|
|
|
62966
63510
|
// ../i3s/src/i3s-attribute-loader.ts
|
|
62967
|
-
var
|
|
63511
|
+
var VERSION15 = typeof __VERSION__ !== "undefined" ? __VERSION__ : "latest";
|
|
62968
63512
|
var I3SAttributeLoader = {
|
|
62969
63513
|
name: "I3S Attribute",
|
|
62970
63514
|
id: "i3s-attribute",
|
|
62971
63515
|
module: "i3s",
|
|
62972
|
-
version:
|
|
63516
|
+
version: VERSION15,
|
|
62973
63517
|
mimeTypes: ["application/binary"],
|
|
62974
63518
|
parse: async (arrayBuffer, options) => parseI3STileAttribute(arrayBuffer, options),
|
|
62975
63519
|
extensions: ["bin"],
|
|
@@ -63427,13 +63971,13 @@ function getFeatureIdsFromFeatureIndexMetadata(featureIndex) {
|
|
|
63427
63971
|
}
|
|
63428
63972
|
|
|
63429
63973
|
// ../i3s/src/i3s-content-loader.ts
|
|
63430
|
-
var
|
|
63974
|
+
var VERSION16 = typeof __VERSION__ !== "undefined" ? __VERSION__ : "beta";
|
|
63431
63975
|
var I3SContentLoader = {
|
|
63432
63976
|
name: "I3S Content (Indexed Scene Layers)",
|
|
63433
63977
|
id: "i3s-content",
|
|
63434
63978
|
module: "i3s",
|
|
63435
63979
|
worker: true,
|
|
63436
|
-
version:
|
|
63980
|
+
version: VERSION16,
|
|
63437
63981
|
mimeTypes: ["application/octet-stream"],
|
|
63438
63982
|
parse: parse6,
|
|
63439
63983
|
extensions: ["bin"],
|
|
@@ -63456,7 +64000,7 @@ var import_culling8 = __toModule(require_es53());
|
|
|
63456
64000
|
var import_geospatial14 = __toModule(require_es52());
|
|
63457
64001
|
|
|
63458
64002
|
// ../i3s/src/i3s-node-page-loader.ts
|
|
63459
|
-
var
|
|
64003
|
+
var VERSION17 = typeof __VERSION__ !== "undefined" ? __VERSION__ : "latest";
|
|
63460
64004
|
async function parseNodePage(data, options) {
|
|
63461
64005
|
return JSON.parse(new TextDecoder().decode(data));
|
|
63462
64006
|
}
|
|
@@ -63464,7 +64008,7 @@ var I3SNodePageLoader = {
|
|
|
63464
64008
|
name: "I3S Node Page",
|
|
63465
64009
|
id: "i3s-node-page",
|
|
63466
64010
|
module: "i3s",
|
|
63467
|
-
version:
|
|
64011
|
+
version: VERSION17,
|
|
63468
64012
|
mimeTypes: ["application/json"],
|
|
63469
64013
|
parse: parseNodePage,
|
|
63470
64014
|
extensions: ["json"],
|
|
@@ -63716,7 +64260,7 @@ async function normalizeTilesetData(tileset, options, context) {
|
|
|
63716
64260
|
}
|
|
63717
64261
|
|
|
63718
64262
|
// ../i3s/src/i3s-loader.ts
|
|
63719
|
-
var
|
|
64263
|
+
var VERSION18 = typeof __VERSION__ !== "undefined" ? __VERSION__ : "latest";
|
|
63720
64264
|
var TILESET_REGEX = /layers\/[0-9]+$/;
|
|
63721
64265
|
var TILE_HEADER_REGEX = /nodes\/([0-9-]+|root)$/;
|
|
63722
64266
|
var SLPK_HEX = "504b0304";
|
|
@@ -63725,7 +64269,7 @@ var I3SLoader = {
|
|
|
63725
64269
|
name: "I3S (Indexed Scene Layers)",
|
|
63726
64270
|
id: "i3s",
|
|
63727
64271
|
module: "i3s",
|
|
63728
|
-
version:
|
|
64272
|
+
version: VERSION18,
|
|
63729
64273
|
mimeTypes: ["application/octet-stream"],
|
|
63730
64274
|
parse: parseI3S,
|
|
63731
64275
|
extensions: ["bin"],
|
|
@@ -63851,12 +64395,12 @@ var TILESET = () => ({
|
|
|
63851
64395
|
});
|
|
63852
64396
|
|
|
63853
64397
|
// src/3d-tiles-attributes-worker.ts
|
|
63854
|
-
var
|
|
64398
|
+
var VERSION19 = typeof __VERSION__ !== "undefined" ? __VERSION__ : "latest";
|
|
63855
64399
|
var Tile3dAttributesWorker = {
|
|
63856
64400
|
id: "3d-tiles-attributes",
|
|
63857
64401
|
name: "3DTiles Attributes Worker",
|
|
63858
64402
|
module: "tile-converter",
|
|
63859
|
-
version:
|
|
64403
|
+
version: VERSION19,
|
|
63860
64404
|
options: {
|
|
63861
64405
|
featureAttributes: null
|
|
63862
64406
|
}
|