@vcmap/ui 6.0.0-rc.3 → 6.0.0-rc.5
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/build/buildHelpers.js +60 -11
- package/build/bundle.js +1 -1
- package/build/info/publish.js +25 -31
- package/build/lintTypes.js +5 -0
- package/config/base.config.json +2 -1
- package/config/dev.config.json +7 -1
- package/config/www.config.json +25 -22
- package/dist/assets/@mdi/font/css/{materialdesignicons.min-7a4f6be0.css → materialdesignicons.min-680621ca.css} +1 -1
- package/dist/assets/{cesium-cb4dbfba.js → cesium-126f111a.js} +272 -385
- package/dist/assets/cesium.js +1 -1
- package/dist/assets/{core-72f21835.js → core-1c8b8674.js} +1417 -1453
- package/dist/assets/core.js +1 -1
- package/dist/assets/{ol-2d33bc8b.js → ol-27f9b3f3.js} +233 -329
- package/dist/assets/ol.js +1 -1
- package/dist/assets/ui-7214428e.css +1 -0
- package/dist/assets/{ui-2ab43a16.js → ui-7214428e.js} +9573 -9438
- package/dist/assets/ui.js +1 -1
- package/dist/assets/vue-c78a5f76.js +6083 -0
- package/dist/assets/vue.js +1 -1
- package/dist/assets/{vuetify-760ced3b.css → vuetify-88a2fabe.css} +2 -2
- package/dist/assets/{vuetify-760ced3b.js → vuetify-88a2fabe.js} +7672 -7877
- package/dist/assets/vuetify.js +1 -1
- package/index.d.ts +6 -8
- package/index.js +7 -5
- package/package.json +16 -16
- package/plugins/@vcmap-show-case/form-inputs-example/src/FormInputsExample.vue +2 -3
- package/plugins/@vcmap-show-case/project-selector/src/ModulesListComponent.vue +18 -11
- package/plugins/@vcmap-show-case/search-example/src/index.js +1 -0
- package/plugins/@vcmap-show-case/search-example/src/searchImpl.js +35 -5
- package/plugins/@vcmap-show-case/toolbox-example/src/index.js +2 -1
- package/plugins/package.json +3 -23
- package/public/assets/@mdi/font/css/materialdesignicons.min.css +1 -1
- package/src/actions/StyleSelector.vue +1 -1
- package/src/actions/actionHelper.js +13 -2
- package/src/actions/listActions.d.ts +4 -4
- package/src/actions/listActions.js +2 -2
- package/src/application/VcsApp.vue +96 -31
- package/src/application/VcsApp.vue.d.ts +297 -4
- package/src/application/VcsContainer.vue +26 -9
- package/src/application/VcsContainer.vue.d.ts +237 -0
- package/src/application/VcsMainMap.vue +7 -7
- package/src/application/VcsMainMap.vue.d.ts +2 -2
- package/src/application/VcsNavbar.vue +5 -1
- package/src/application/VcsSplashScreen.vue +24 -26
- package/src/application/VcsTextPageFooter.vue +2 -1
- package/src/components/buttons/VcsActionButtonList.vue +59 -3
- package/src/components/buttons/VcsActionButtonList.vue.d.ts +28 -0
- package/src/components/form-inputs-controls/VcsChipArrayInput.vue +15 -13
- package/src/components/form-inputs-controls/VcsChipArrayInput.vue.d.ts +3 -4
- package/src/components/form-inputs-controls/VcsCoordinate.vue +4 -3
- package/src/components/form-inputs-controls/VcsSelect.vue +1 -4
- package/src/components/form-inputs-controls/VcsSlider.vue +0 -1
- package/src/components/form-inputs-controls/VcsSlider.vue.d.ts +2 -4
- package/src/components/form-inputs-controls/VcsTextArea.vue +1 -4
- package/src/components/form-inputs-controls/VcsTextField.vue +14 -0
- package/src/components/form-inputs-controls/VcsTextField.vue.d.ts +9 -0
- package/src/components/form-inputs-controls/VcsWizardStep.vue +2 -5
- package/src/components/form-inputs-controls/vcsTextField.scss +1 -4
- package/src/components/form-output/VcsFormattedNumber.vue +6 -4
- package/src/components/form-output/VcsMarkdown.vue +15 -12
- package/src/components/form-output/VcsMarkdown.vue.d.ts +1 -0
- package/src/components/form-output/markdownHelper.d.ts +30 -0
- package/src/components/form-output/markdownHelper.js +398 -0
- package/src/components/import/VcsFileDrop.vue +8 -5
- package/src/components/import/VcsImportComponent.vue +4 -3
- package/src/components/import/VcsImportComponent.vue.d.ts +1 -2
- package/src/components/lists/VcsActionList.vue +4 -0
- package/src/components/lists/VcsList.vue +22 -37
- package/src/components/lists/VcsList.vue.d.ts +14 -55
- package/src/components/lists/{VcsListItem.vue → VcsListItemComponent.vue} +17 -1
- package/src/components/lists/VcsListItemComponent.vue.d.ts +69 -0
- package/src/components/lists/VcsTreeview.vue +43 -16
- package/src/components/lists/VcsTreeview.vue.d.ts +14 -3
- package/src/components/lists/VcsTreeviewLeaf.vue +15 -6
- package/src/components/lists/VcsTreeviewSearchbar.vue +2 -2
- package/src/components/notification/VcsHelp.vue +1 -1
- package/src/components/notification/VcsHelp.vue.d.ts +3 -2
- package/src/components/section/VcsExpansionPanel.vue +2 -2
- package/src/components/section/VcsFormSection.vue +10 -4
- package/src/components/section/VcsFormSection.vue.d.ts +1 -2
- package/src/components/style/VcsTextMenu.vue +1 -1
- package/src/components/style/VcsVectorStyleComponent.vue +1 -1
- package/src/components/tables/VcsDataTable.vue +28 -22
- package/src/components/tables/VcsTable.vue +45 -62
- package/src/components/tables/VcsTable.vue.d.ts +30 -17
- package/src/components/tables/VcsTableCell.vue +72 -0
- package/src/components/tables/VcsTableCell.vue.d.ts +13 -0
- package/src/components/vector-properties/VcsFeatureEditingWindow.vue +6 -5
- package/src/components/vector-properties/VcsFeatureTransforms.vue +5 -0
- package/src/components/viewpoint/VcsViewpointComponent.vue +2 -2
- package/src/components/viewpoint/VcsViewpointEditor.vue +2 -2
- package/src/contentTree/LayerTree.vue +9 -27
- package/src/contentTree/LayerTree.vue.d.ts +1 -1
- package/src/contentTree/contentTreeCollection.d.ts +1 -0
- package/src/contentTree/contentTreeCollection.js +45 -11
- package/src/featureInfo/BalloonComponent.vue +14 -15
- package/src/featureInfo/MarkdownBalloonComponent.vue +4 -2
- package/src/featureInfo/MarkdownBalloonComponent.vue.d.ts +2 -2
- package/src/featureInfo/abstractFeatureInfoView.d.ts +6 -0
- package/src/featureInfo/abstractFeatureInfoView.js +15 -7
- package/src/featureInfo/featureInfo.d.ts +5 -5
- package/src/featureInfo/featureInfo.js +51 -31
- package/src/featureInfo/iframeFeatureInfoView.d.ts +8 -2
- package/src/featureInfo/iframeFeatureInfoView.js +15 -5
- package/src/featureInfo/markdownBalloonFeatureInfoView.d.ts +1 -1
- package/src/featureInfo/markdownBalloonFeatureInfoView.js +5 -5
- package/src/featureInfo/markdownFeatureInfoView.d.ts +1 -1
- package/src/featureInfo/markdownFeatureInfoView.js +9 -11
- package/src/featureInfo/tableFeatureInfoView.js +13 -4
- package/src/manager/collectionManager/CollectionComponentList.vue +1 -1
- package/src/manager/collectionManager/CollectionComponentList.vue.d.ts +2 -2
- package/src/manager/collectionManager/collectionComponentClass.d.ts +1 -1
- package/src/manager/collectionManager/collectionComponentClass.js +2 -2
- package/src/manager/collectionManager/editorCollectionComponentClass.js +2 -1
- package/src/manager/panel/PanelComponent.vue +2 -9
- package/src/manager/panel/PanelManagerComponent.vue +7 -3
- package/src/manager/panel/panelHelper.js +3 -3
- package/src/manager/panel/panelManager.d.ts +9 -1
- package/src/manager/panel/panelManager.js +15 -3
- package/src/manager/toolbox/GroupToolboxComponent.vue +8 -4
- package/src/manager/toolbox/GroupToolboxComponent.vue.d.ts +1 -0
- package/src/manager/toolbox/SelectToolboxComponent.vue +7 -4
- package/src/manager/toolbox/SelectToolboxComponent.vue.d.ts +1 -0
- package/src/manager/toolbox/ToolboxManager.vue +9 -6
- package/src/manager/toolbox/ToolboxManager.vue.d.ts +1 -0
- package/src/manager/window/WindowComponent.vue +12 -8
- package/src/manager/window/WindowComponentHeader.vue +29 -8
- package/src/manager/window/WindowComponentHeader.vue.d.ts +2 -0
- package/src/manager/window/WindowManager.vue +2 -2
- package/src/navigation/MapNavigation.vue +20 -0
- package/src/navigation/locatorHelper.js +1 -1
- package/src/navigation/overviewMap.js +1 -1
- package/src/notifier/NotifierComponent.vue +18 -15
- package/src/search/ResultItem.vue +18 -6
- package/src/search/ResultsComponent.vue +31 -20
- package/src/search/ResultsComponent.vue.d.ts +2 -1
- package/src/search/SearchComponent.vue +8 -14
- package/src/search/SearchComponent.vue.d.ts +1 -0
- package/src/siteConfig.js +8 -8
- package/src/styles/_typography.scss +0 -2
- package/src/styles/main.scss +0 -4
- package/src/uiConfig.d.ts +300 -5
- package/src/uiConfig.js +28 -16
- package/src/vcsUiApp.d.ts +7 -7
- package/src/vcsUiApp.js +10 -9
- package/src/vuePlugins/vuetify.js +3 -0
- package/dist/assets/ui-2ab43a16.css +0 -1
- package/dist/assets/vue-03b265aa.js +0 -6096
- package/src/application/markdownHelper.d.ts +0 -12
- package/src/application/markdownHelper.js +0 -70
- package/src/components/lists/VcsListItem.vue.d.ts +0 -27
- package/src/components/notification/VcsTooltip.vue +0 -156
- package/src/components/notification/VcsTooltip.vue.d.ts +0 -27
- package/src/featureInfo/MarkdownComponent.vue +0 -16
- package/src/featureInfo/MarkdownComponent.vue.d.ts +0 -7
- package/src/styles/_theming.scss +0 -73
- package/src/styles/settings.scss +0 -6
- package/src/styles/shades.scss +0 -4
- package/src/styles/variables.scss +0 -140
- package/src/styles/vcsFont.scss +0 -2
- package/src/styles/vcsGrid.scss +0 -3
@@ -6508,8 +6508,7 @@ function requireSecondLevelDomains() {
|
|
6508
6508
|
var w = "";
|
6509
6509
|
if (g.hostname)
|
6510
6510
|
s.ip6_expression.test(g.hostname) ? w += "[" + g.hostname + "]" : w += g.hostname;
|
6511
|
-
else
|
6512
|
-
return "";
|
6511
|
+
else return "";
|
6513
6512
|
return g.port && (w += ":" + g.port), w;
|
6514
6513
|
}, s.buildAuthority = function(g) {
|
6515
6514
|
return s.buildUserinfo(g) + s.buildHost(g);
|
@@ -6523,8 +6522,7 @@ function requireSecondLevelDomains() {
|
|
6523
6522
|
if (p(g[B]))
|
6524
6523
|
for (F = {}, V = 0, $ = g[B].length; V < $; V++)
|
6525
6524
|
g[B][V] !== void 0 && F[g[B][V] + ""] === void 0 && (N += "&" + s.buildQueryParameter(B, g[B][V], O), w !== !0 && (F[g[B][V] + ""] = !0));
|
6526
|
-
else
|
6527
|
-
g[B] !== void 0 && (N += "&" + s.buildQueryParameter(B, g[B], O));
|
6525
|
+
else g[B] !== void 0 && (N += "&" + s.buildQueryParameter(B, g[B], O));
|
6528
6526
|
return N.substring(1);
|
6529
6527
|
}, s.buildQueryParameter = function(g, w, O) {
|
6530
6528
|
return s.encodeQuery(g, O) + (w !== null ? "=" + s.encodeQuery(w, O) : "");
|
@@ -6536,8 +6534,7 @@ function requireSecondLevelDomains() {
|
|
6536
6534
|
if (g[w] === void 0) {
|
6537
6535
|
g[w] = O;
|
6538
6536
|
return;
|
6539
|
-
} else
|
6540
|
-
typeof g[w] == "string" && (g[w] = [g[w]]);
|
6537
|
+
} else typeof g[w] == "string" && (g[w] = [g[w]]);
|
6541
6538
|
p(O) || (O = [O]), g[w] = (g[w] || []).concat(O);
|
6542
6539
|
} else
|
6543
6540
|
throw new TypeError("URI.addQuery() accepts an object, string as the name parameter");
|
@@ -6675,8 +6672,7 @@ function requireSecondLevelDomains() {
|
|
6675
6672
|
URI: this.noConflict()
|
6676
6673
|
};
|
6677
6674
|
return r.URITemplate && typeof r.URITemplate.noConflict == "function" && (w.URITemplate = r.URITemplate.noConflict()), r.IPv6 && typeof r.IPv6.noConflict == "function" && (w.IPv6 = r.IPv6.noConflict()), r.SecondLevelDomains && typeof r.SecondLevelDomains.noConflict == "function" && (w.SecondLevelDomains = r.SecondLevelDomains.noConflict()), w;
|
6678
|
-
} else
|
6679
|
-
r.URI === this && (r.URI = o);
|
6675
|
+
} else r.URI === this && (r.URI = o);
|
6680
6676
|
return this;
|
6681
6677
|
}, l.build = function(g) {
|
6682
6678
|
return g === !0 ? this._deferred_build = !0 : (g === void 0 || this._deferred_build) && (this._string = s.build(this._parts), this._deferred_build = !1), this;
|
@@ -6875,8 +6871,7 @@ function requireSecondLevelDomains() {
|
|
6875
6871
|
throw new ReferenceError("cannot set TLD on non-domain host");
|
6876
6872
|
F = new RegExp(f(this.tld()) + "$"), this._parts.hostname = this._parts.hostname.replace(F, g);
|
6877
6873
|
}
|
6878
|
-
else
|
6879
|
-
throw new TypeError("cannot set TLD empty");
|
6874
|
+
else throw new TypeError("cannot set TLD empty");
|
6880
6875
|
return this.build(!w), this;
|
6881
6876
|
}
|
6882
6877
|
}, l.directory = function(g, w) {
|
@@ -6938,8 +6933,7 @@ function requireSecondLevelDomains() {
|
|
6938
6933
|
V = [];
|
6939
6934
|
for (var $ = 0, U = w.length; $ < U; $++)
|
6940
6935
|
!w[$].length && (!V.length || !V[V.length - 1].length) || (V.length && !V[V.length - 1].length && V.pop(), V.push(C(w[$])));
|
6941
|
-
} else
|
6942
|
-
(w || typeof w == "string") && (w = C(w), V[V.length - 1] === "" ? V[V.length - 1] = w : V.push(w));
|
6936
|
+
} else (w || typeof w == "string") && (w = C(w), V[V.length - 1] === "" ? V[V.length - 1] = w : V.push(w));
|
6943
6937
|
else
|
6944
6938
|
w ? V[g] = C(w) : V.splice(g, 1);
|
6945
6939
|
return B && V.unshift(""), this.path(V.join(N), O);
|
@@ -6967,8 +6961,7 @@ function requireSecondLevelDomains() {
|
|
6967
6961
|
if (typeof g == "function") {
|
6968
6962
|
var O = s.parseQuery(this._parts.query, this._parts.escapeQuerySpace), N = g.call(this, O);
|
6969
6963
|
return this._parts.query = s.buildQuery(N || O, this._parts.duplicateQueryParameters, this._parts.escapeQuerySpace), this.build(!w), this;
|
6970
|
-
} else
|
6971
|
-
return g !== void 0 && typeof g != "string" ? (this._parts.query = s.buildQuery(g, this._parts.duplicateQueryParameters, this._parts.escapeQuerySpace), this.build(!w), this) : L.call(this, g, w);
|
6964
|
+
} else return g !== void 0 && typeof g != "string" ? (this._parts.query = s.buildQuery(g, this._parts.duplicateQueryParameters, this._parts.escapeQuerySpace), this.build(!w), this) : L.call(this, g, w);
|
6972
6965
|
}, l.setQuery = function(g, w, O) {
|
6973
6966
|
var N = s.parseQuery(this._parts.query, this._parts.escapeQuerySpace);
|
6974
6967
|
if (typeof g == "string" || g instanceof String)
|
@@ -8444,10 +8437,9 @@ Resource._Implementations.loadWithXhr = function(e, t, n, i, r, o, s) {
|
|
8444
8437
|
} catch (p) {
|
8445
8438
|
o.reject(p);
|
8446
8439
|
}
|
8447
|
-
else
|
8448
|
-
(
|
8449
|
-
|
8450
|
-
);
|
8440
|
+
else (h === "" || h === "document") && defined(l.responseXML) && l.responseXML.hasChildNodes() ? o.resolve(l.responseXML) : (h === "" || h === "text") && defined(l.responseText) ? o.resolve(l.responseText) : o.reject(
|
8441
|
+
new RuntimeError("Invalid XMLHttpRequest response type.")
|
8442
|
+
);
|
8451
8443
|
}, l.onerror = function(f) {
|
8452
8444
|
o.reject(new RequestErrorEvent());
|
8453
8445
|
}, l.send(i), l;
|
@@ -17802,24 +17794,23 @@ function Texture(e) {
|
|
17802
17794
|
PixelDatatype$1.toWebGLConstant(s, t),
|
17803
17795
|
r.mipLevels[b]
|
17804
17796
|
);
|
17805
|
-
} else
|
17806
|
-
|
17807
|
-
|
17808
|
-
|
17809
|
-
|
17810
|
-
|
17811
|
-
|
17812
|
-
|
17813
|
-
|
17814
|
-
|
17815
|
-
|
17816
|
-
|
17817
|
-
|
17818
|
-
|
17819
|
-
|
17820
|
-
|
17821
|
-
|
17822
|
-
));
|
17797
|
+
} else defined(r.framebuffer) ? (m.pixelStorei(m.UNPACK_PREMULTIPLY_ALPHA_WEBGL, !1), m.pixelStorei(m.UNPACK_FLIP_Y_WEBGL, !1), r.framebuffer !== t.defaultFramebuffer && r.framebuffer._bind(), m.copyTexImage2D(
|
17798
|
+
_,
|
17799
|
+
0,
|
17800
|
+
c,
|
17801
|
+
r.xOffset,
|
17802
|
+
r.yOffset,
|
17803
|
+
n,
|
17804
|
+
i,
|
17805
|
+
0
|
17806
|
+
), r.framebuffer !== t.defaultFramebuffer && r.framebuffer._unBind()) : (m.pixelStorei(m.UNPACK_PREMULTIPLY_ALPHA_WEBGL, d), m.pixelStorei(m.UNPACK_FLIP_Y_WEBGL, f), m.texImage2D(
|
17807
|
+
_,
|
17808
|
+
0,
|
17809
|
+
c,
|
17810
|
+
o,
|
17811
|
+
PixelDatatype$1.toWebGLConstant(s, t),
|
17812
|
+
r
|
17813
|
+
));
|
17823
17814
|
else
|
17824
17815
|
m.texImage2D(
|
17825
17816
|
_,
|
@@ -28532,40 +28523,38 @@ IntersectionTests.trianglePlaneIntersection = function(e, t, n, i) {
|
|
28532
28523
|
4
|
28533
28524
|
]
|
28534
28525
|
};
|
28535
|
-
} else
|
28536
|
-
return IntersectionTests.lineSegmentPlane(n, t, i, f), IntersectionTests.lineSegmentPlane(e, t, i, h), {
|
28537
|
-
positions: [e, t, n, f, h],
|
28538
|
-
indices: [
|
28539
|
-
// Behind
|
28540
|
-
2,
|
28541
|
-
0,
|
28542
|
-
4,
|
28543
|
-
2,
|
28544
|
-
4,
|
28545
|
-
3,
|
28546
|
-
// In front
|
28547
|
-
1,
|
28548
|
-
3,
|
28549
|
-
4
|
28550
|
-
]
|
28551
|
-
};
|
28552
|
-
else
|
28553
|
-
return IntersectionTests.lineSegmentPlane(t, e, i, f), IntersectionTests.lineSegmentPlane(n, e, i, h), {
|
28526
|
+
} else return IntersectionTests.lineSegmentPlane(n, t, i, f), IntersectionTests.lineSegmentPlane(e, t, i, h), {
|
28554
28527
|
positions: [e, t, n, f, h],
|
28555
28528
|
indices: [
|
28556
28529
|
// Behind
|
28557
|
-
1,
|
28558
28530
|
2,
|
28531
|
+
0,
|
28559
28532
|
4,
|
28560
|
-
|
28533
|
+
2,
|
28561
28534
|
4,
|
28562
28535
|
3,
|
28563
28536
|
// In front
|
28564
|
-
|
28537
|
+
1,
|
28565
28538
|
3,
|
28566
28539
|
4
|
28567
28540
|
]
|
28568
28541
|
};
|
28542
|
+
else return IntersectionTests.lineSegmentPlane(t, e, i, f), IntersectionTests.lineSegmentPlane(n, e, i, h), {
|
28543
|
+
positions: [e, t, n, f, h],
|
28544
|
+
indices: [
|
28545
|
+
// Behind
|
28546
|
+
1,
|
28547
|
+
2,
|
28548
|
+
4,
|
28549
|
+
1,
|
28550
|
+
4,
|
28551
|
+
3,
|
28552
|
+
// In front
|
28553
|
+
0,
|
28554
|
+
3,
|
28555
|
+
4
|
28556
|
+
]
|
28557
|
+
};
|
28569
28558
|
};
|
28570
28559
|
const IntersectionTests$1 = IntersectionTests, scratchCart4 = new Cartesian4();
|
28571
28560
|
function EllipsoidTangentPlane(e, t) {
|
@@ -28986,8 +28975,7 @@ OrientedBoundingBox.distanceSquaredTo = function(e, t) {
|
|
28986
28975
|
_ = r, h ? _ = o : p && (_ = s);
|
28987
28976
|
let S = Cartesian3.UNIT_Y;
|
28988
28977
|
S.equalsEpsilon(_, CesiumMath$1.EPSILON3) && (S = Cartesian3.UNIT_X), y = Cartesian3.cross(_, S, scratchValidAxis2), Cartesian3.normalize(y, y), C = Cartesian3.cross(_, y, scratchValidAxis3), Cartesian3.normalize(C, C), _ === r ? (o = y, s = C) : _ === o ? (s = y, r = C) : _ === s && (r = y, o = C);
|
28989
|
-
} else
|
28990
|
-
m === 3 && (r = Cartesian3.UNIT_X, o = Cartesian3.UNIT_Y, s = Cartesian3.UNIT_Z);
|
28978
|
+
} else m === 3 && (r = Cartesian3.UNIT_X, o = Cartesian3.UNIT_Y, s = Cartesian3.UNIT_Z);
|
28991
28979
|
const T = scratchPPrime;
|
28992
28980
|
T.x = Cartesian3.dot(n, r), T.y = Cartesian3.dot(n, o), T.z = Cartesian3.dot(n, s);
|
28993
28981
|
let x = 0, b;
|
@@ -33300,8 +33288,7 @@ earcut$2.exports.default = earcut;
|
|
33300
33288
|
function earcut(e, t, n) {
|
33301
33289
|
n = n || 2;
|
33302
33290
|
var i = t && t.length, r = i ? t[0] * n : e.length, o = linkedList(e, 0, r, n, !0), s = [];
|
33303
|
-
if (!o || o.next === o.prev)
|
33304
|
-
return s;
|
33291
|
+
if (!o || o.next === o.prev) return s;
|
33305
33292
|
var c, l, d, f, h, p, m;
|
33306
33293
|
if (i && (o = eliminateHoles(e, t, o, n)), e.length > 80 * n) {
|
33307
33294
|
c = d = e[0], l = f = e[1];
|
@@ -33314,22 +33301,18 @@ function earcut(e, t, n) {
|
|
33314
33301
|
function linkedList(e, t, n, i, r) {
|
33315
33302
|
var o, s;
|
33316
33303
|
if (r === signedArea(e, t, n, i) > 0)
|
33317
|
-
for (o = t; o < n; o += i)
|
33318
|
-
s = insertNode(o, e[o], e[o + 1], s);
|
33304
|
+
for (o = t; o < n; o += i) s = insertNode(o, e[o], e[o + 1], s);
|
33319
33305
|
else
|
33320
|
-
for (o = n - i; o >= t; o -= i)
|
33321
|
-
s = insertNode(o, e[o], e[o + 1], s);
|
33306
|
+
for (o = n - i; o >= t; o -= i) s = insertNode(o, e[o], e[o + 1], s);
|
33322
33307
|
return s && equals(s, s.next) && (removeNode(s), s = s.next), s;
|
33323
33308
|
}
|
33324
33309
|
function filterPoints(e, t) {
|
33325
|
-
if (!e)
|
33326
|
-
return e;
|
33310
|
+
if (!e) return e;
|
33327
33311
|
t || (t = e);
|
33328
33312
|
var n = e, i;
|
33329
33313
|
do
|
33330
33314
|
if (i = !1, !n.steiner && (equals(n, n.next) || area(n.prev, n, n.next) === 0)) {
|
33331
|
-
if (removeNode(n), n = t = n.prev, n === n.next)
|
33332
|
-
break;
|
33315
|
+
if (removeNode(n), n = t = n.prev, n === n.next) break;
|
33333
33316
|
i = !0;
|
33334
33317
|
} else
|
33335
33318
|
n = n.next;
|
@@ -33353,32 +33336,26 @@ function earcutLinked(e, t, n, i, r, o, s) {
|
|
33353
33336
|
}
|
33354
33337
|
function isEar(e) {
|
33355
33338
|
var t = e.prev, n = e, i = e.next;
|
33356
|
-
if (area(t, n, i) >= 0)
|
33357
|
-
return !1;
|
33339
|
+
if (area(t, n, i) >= 0) return !1;
|
33358
33340
|
for (var r = t.x, o = n.x, s = i.x, c = t.y, l = n.y, d = i.y, f = r < o ? r < s ? r : s : o < s ? o : s, h = c < l ? c < d ? c : d : l < d ? l : d, p = r > o ? r > s ? r : s : o > s ? o : s, m = c > l ? c > d ? c : d : l > d ? l : d, _ = i.next; _ !== t; ) {
|
33359
|
-
if (_.x >= f && _.x <= p && _.y >= h && _.y <= m && pointInTriangle(r, c, o, l, s, d, _.x, _.y) && area(_.prev, _, _.next) >= 0)
|
33360
|
-
return !1;
|
33341
|
+
if (_.x >= f && _.x <= p && _.y >= h && _.y <= m && pointInTriangle(r, c, o, l, s, d, _.x, _.y) && area(_.prev, _, _.next) >= 0) return !1;
|
33361
33342
|
_ = _.next;
|
33362
33343
|
}
|
33363
33344
|
return !0;
|
33364
33345
|
}
|
33365
33346
|
function isEarHashed(e, t, n, i) {
|
33366
33347
|
var r = e.prev, o = e, s = e.next;
|
33367
|
-
if (area(r, o, s) >= 0)
|
33368
|
-
return !1;
|
33348
|
+
if (area(r, o, s) >= 0) return !1;
|
33369
33349
|
for (var c = r.x, l = o.x, d = s.x, f = r.y, h = o.y, p = s.y, m = c < l ? c < d ? c : d : l < d ? l : d, _ = f < h ? f < p ? f : p : h < p ? h : p, y = c > l ? c > d ? c : d : l > d ? l : d, C = f > h ? f > p ? f : p : h > p ? h : p, T = zOrder(m, _, t, n, i), x = zOrder(y, C, t, n, i), b = e.prevZ, S = e.nextZ; b && b.z >= T && S && S.z <= x; ) {
|
33370
|
-
if (b.x >= m && b.x <= y && b.y >= _ && b.y <= C && b !== r && b !== s && pointInTriangle(c, f, l, h, d, p, b.x, b.y) && area(b.prev, b, b.next) >= 0 || (b = b.prevZ, S.x >= m && S.x <= y && S.y >= _ && S.y <= C && S !== r && S !== s && pointInTriangle(c, f, l, h, d, p, S.x, S.y) && area(S.prev, S, S.next) >= 0))
|
33371
|
-
return !1;
|
33350
|
+
if (b.x >= m && b.x <= y && b.y >= _ && b.y <= C && b !== r && b !== s && pointInTriangle(c, f, l, h, d, p, b.x, b.y) && area(b.prev, b, b.next) >= 0 || (b = b.prevZ, S.x >= m && S.x <= y && S.y >= _ && S.y <= C && S !== r && S !== s && pointInTriangle(c, f, l, h, d, p, S.x, S.y) && area(S.prev, S, S.next) >= 0)) return !1;
|
33372
33351
|
S = S.nextZ;
|
33373
33352
|
}
|
33374
33353
|
for (; b && b.z >= T; ) {
|
33375
|
-
if (b.x >= m && b.x <= y && b.y >= _ && b.y <= C && b !== r && b !== s && pointInTriangle(c, f, l, h, d, p, b.x, b.y) && area(b.prev, b, b.next) >= 0)
|
33376
|
-
return !1;
|
33354
|
+
if (b.x >= m && b.x <= y && b.y >= _ && b.y <= C && b !== r && b !== s && pointInTriangle(c, f, l, h, d, p, b.x, b.y) && area(b.prev, b, b.next) >= 0) return !1;
|
33377
33355
|
b = b.prevZ;
|
33378
33356
|
}
|
33379
33357
|
for (; S && S.z <= x; ) {
|
33380
|
-
if (S.x >= m && S.x <= y && S.y >= _ && S.y <= C && S !== r && S !== s && pointInTriangle(c, f, l, h, d, p, S.x, S.y) && area(S.prev, S, S.next) >= 0)
|
33381
|
-
return !1;
|
33358
|
+
if (S.x >= m && S.x <= y && S.y >= _ && S.y <= C && S !== r && S !== s && pointInTriangle(c, f, l, h, d, p, S.x, S.y) && area(S.prev, S, S.next) >= 0) return !1;
|
33382
33359
|
S = S.nextZ;
|
33383
33360
|
}
|
33384
33361
|
return !0;
|
@@ -33433,8 +33410,7 @@ function findHoleBridge(e, t) {
|
|
33433
33410
|
}
|
33434
33411
|
n = n.next;
|
33435
33412
|
} while (n !== t);
|
33436
|
-
if (!s)
|
33437
|
-
return null;
|
33413
|
+
if (!s) return null;
|
33438
33414
|
var l = s, d = s.x, f = s.y, h = 1 / 0, p;
|
33439
33415
|
n = s;
|
33440
33416
|
do
|
@@ -33504,8 +33480,7 @@ function sign(e) {
|
|
33504
33480
|
function intersectsPolygon(e, t) {
|
33505
33481
|
var n = e;
|
33506
33482
|
do {
|
33507
|
-
if (n.i !== e.i && n.next.i !== e.i && n.i !== t.i && n.next.i !== t.i && intersects$1(n, n.next, e, t))
|
33508
|
-
return !0;
|
33483
|
+
if (n.i !== e.i && n.next.i !== e.i && n.i !== t.i && n.next.i !== t.i && intersects$1(n, n.next, e, t)) return !0;
|
33509
33484
|
n = n.next;
|
33510
33485
|
} while (n !== e);
|
33511
33486
|
return !1;
|
@@ -33558,8 +33533,7 @@ function signedArea(e, t, n, i) {
|
|
33558
33533
|
earcut.flatten = function(e) {
|
33559
33534
|
for (var t = e[0][0].length, n = { vertices: [], holes: [], dimensions: t }, i = 0, r = 0; r < e.length; r++) {
|
33560
33535
|
for (var o = 0; o < e[r].length; o++)
|
33561
|
-
for (var s = 0; s < t; s++)
|
33562
|
-
n.vertices.push(e[r][o][s]);
|
33536
|
+
for (var s = 0; s < t; s++) n.vertices.push(e[r][o][s]);
|
33563
33537
|
r > 0 && (i += e[r - 1].length, n.holes.push(i));
|
33564
33538
|
}
|
33565
33539
|
return n;
|
@@ -36030,8 +36004,7 @@ GlobeSurfaceTile.prototype.updateExaggeration = function(e, t, n) {
|
|
36030
36004
|
if (c && !l.hasGeodeticSurfaceNormals) {
|
36031
36005
|
const h = e.tilingScheme.ellipsoid;
|
36032
36006
|
i.addGeodeticSurfaceNormals(h, t);
|
36033
|
-
} else
|
36034
|
-
!c && l.hasGeodeticSurfaceNormals && i.removeGeodeticSurfaceNormals(t);
|
36007
|
+
} else !c && l.hasGeodeticSurfaceNormals && i.removeGeodeticSurfaceNormals(t);
|
36035
36008
|
if (l.exaggeration = o, l.exaggerationRelativeHeight = s, n !== void 0) {
|
36036
36009
|
n._tileToUpdateHeights.push(e);
|
36037
36010
|
const h = e.customData, p = h.length;
|
@@ -36687,8 +36660,7 @@ function createDOMPurify() {
|
|
36687
36660
|
!(rt(Y) && (z.tagNameCheck instanceof RegExp && regExpTest(z.tagNameCheck, Y) || z.tagNameCheck instanceof Function && z.tagNameCheck(Y)) && (z.attributeNameCheck instanceof RegExp && regExpTest(z.attributeNameCheck, fe) || z.attributeNameCheck instanceof Function && z.attributeNameCheck(fe)) || // Alternative, second condition checks if it's an `is`-attribute, AND
|
36688
36661
|
// the value passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
|
36689
36662
|
fe === "is" && z.allowCustomizedBuiltInElements && (z.tagNameCheck instanceof RegExp && regExpTest(z.tagNameCheck, Ce) || z.tagNameCheck instanceof Function && z.tagNameCheck(Ce)))
|
36690
|
-
)
|
36691
|
-
return !1;
|
36663
|
+
) return !1;
|
36692
36664
|
} else if (!Ve[fe]) {
|
36693
36665
|
if (!regExpTest($, stringReplace(Ce, B, ""))) {
|
36694
36666
|
if (!((fe === "src" || fe === "xlink:href" || fe === "href") && Y !== "script" && stringIndexOf(Ce, "data:") === 0 && Ae[Y])) {
|
@@ -38838,8 +38810,7 @@ TileMapServiceImageryProvider._metadataSuccess = function(e, t, n, i, r) {
|
|
38838
38810
|
const I = m.item(P).childNodes;
|
38839
38811
|
for (let M = 0; M < I.length; M++)
|
38840
38812
|
s.test(I.item(M).nodeName) && p.push(I.item(M));
|
38841
|
-
} else
|
38842
|
-
l.test(m.item(P).nodeName) && (f = m.item(P));
|
38813
|
+
} else l.test(m.item(P).nodeName) && (f = m.item(P));
|
38843
38814
|
let _;
|
38844
38815
|
if (!defined(h) || !defined(f))
|
38845
38816
|
throw _ = `Unable to find expected tilesets or bbox attributes in ${i.url}.`, defined(r) && TileProviderError.reportError(
|
@@ -43559,12 +43530,11 @@ function transformBoundingSphere(e, t, n) {
|
|
43559
43530
|
offsetBoundingSphereScratch2
|
43560
43531
|
);
|
43561
43532
|
r.center = Cartesian3.add(r.center, t, r.center), e = BoundingSphere.union(i, r, e);
|
43562
|
-
} else
|
43563
|
-
|
43564
|
-
|
43565
|
-
|
43566
|
-
|
43567
|
-
));
|
43533
|
+
} else n === GeometryOffsetAttribute$1.ALL && (e.center = Cartesian3.add(
|
43534
|
+
e.center,
|
43535
|
+
t,
|
43536
|
+
e.center
|
43537
|
+
));
|
43568
43538
|
return e;
|
43569
43539
|
}
|
43570
43540
|
function createGetFunction(e, t, n) {
|
@@ -45903,13 +45873,12 @@ GlobeSurfaceTileProvider.prototype.canRenderWithoutLosingDetail = function(e, t)
|
|
45903
45873
|
if (T && !i[x])
|
45904
45874
|
return !1;
|
45905
45875
|
}
|
45906
|
-
} else
|
45907
|
-
|
45908
|
-
|
45909
|
-
|
45910
|
-
|
45911
|
-
|
45912
|
-
);
|
45876
|
+
} else p === TileSelectionResult$1.REFINED && f.push(
|
45877
|
+
h.southwestChild,
|
45878
|
+
h.southeastChild,
|
45879
|
+
h.northwestChild,
|
45880
|
+
h.northeastChild
|
45881
|
+
);
|
45913
45882
|
}
|
45914
45883
|
return !0;
|
45915
45884
|
};
|
@@ -47871,8 +47840,7 @@ function visitIfVisible(e, t, n, i, r, o, s) {
|
|
47871
47840
|
);
|
47872
47841
|
const c = e._lastSelectionFrameNumber, l = t._lastSelectionResultFrame === c ? t._lastSelectionResult : TileSelectionResult$1.NONE;
|
47873
47842
|
l !== TileSelectionResult$1.CULLED_BUT_NEEDED && l !== TileSelectionResult$1.RENDERED && e._tileToUpdateHeights.push(t), t._lastSelectionResult = TileSelectionResult$1.CULLED_BUT_NEEDED;
|
47874
|
-
} else
|
47875
|
-
(e.preloadSiblings || t.level === 0) && queueTileLoad(e, e._tileLoadQueueLow, t, i), t._lastSelectionResult = TileSelectionResult$1.CULLED;
|
47843
|
+
} else (e.preloadSiblings || t.level === 0) && queueTileLoad(e, e._tileLoadQueueLow, t, i), t._lastSelectionResult = TileSelectionResult$1.CULLED;
|
47876
47844
|
t._lastSelectionResultFrame = i.frameNumber;
|
47877
47845
|
}
|
47878
47846
|
function screenSpaceError(e, t, n) {
|
@@ -49412,8 +49380,7 @@ function createMethodDefinition(e) {
|
|
49412
49380
|
const s = i && isMaterialFused(t[r], e) ? t[r] : `czm_gammaCorrect(${t[r]})`;
|
49413
49381
|
e.shaderSource += `material.${r} = ${s};
|
49414
49382
|
`;
|
49415
|
-
} else
|
49416
|
-
r === "alpha" ? e.shaderSource += `material.alpha = ${t.alpha};
|
49383
|
+
} else r === "alpha" ? e.shaderSource += `material.alpha = ${t.alpha};
|
49417
49384
|
` : e.shaderSource += `material.${r} = ${t[r]};
|
49418
49385
|
`;
|
49419
49386
|
}
|
@@ -49450,8 +49417,7 @@ function createTexture2DUpdateFunction(e) {
|
|
49450
49417
|
l.copyFrom({
|
49451
49418
|
source: o
|
49452
49419
|
});
|
49453
|
-
} else
|
49454
|
-
defined(l) || (n._textures[e] = i.defaultTexture);
|
49420
|
+
} else defined(l) || (n._textures[e] = i.defaultTexture);
|
49455
49421
|
return;
|
49456
49422
|
}
|
49457
49423
|
if (o instanceof Texture && o !== l) {
|
@@ -49475,11 +49441,10 @@ function createTexture2DUpdateFunction(e) {
|
|
49475
49441
|
}).catch(function() {
|
49476
49442
|
defined(l) && l !== n._defaultTexture && l.destroy(), n._textures[e] = n._defaultTexture;
|
49477
49443
|
});
|
49478
|
-
} else
|
49479
|
-
|
49480
|
-
|
49481
|
-
|
49482
|
-
});
|
49444
|
+
} else (o instanceof HTMLCanvasElement || o instanceof HTMLImageElement) && n._loadedImages.push({
|
49445
|
+
id: e,
|
49446
|
+
image: o
|
49447
|
+
});
|
49483
49448
|
n._texturePaths[e] = o;
|
49484
49449
|
}
|
49485
49450
|
};
|
@@ -51946,8 +51911,7 @@ function createUpdate3D(e, t, n, i, r, o, s, c, l, d) {
|
|
51946
51911
|
if (defined(l)) {
|
51947
51912
|
const M = Math.abs(m.longitude - T.longitude), R = CesiumMath$1.TWO_PI - M;
|
51948
51913
|
(I ? M : R) < (I ? R : M) * l && !I && (x = !0);
|
51949
|
-
} else
|
51950
|
-
I || (x = !0);
|
51914
|
+
} else I || (x = !0);
|
51951
51915
|
}
|
51952
51916
|
x ? useLongestFlight(m, T) : useShortestFlight(m, T);
|
51953
51917
|
const b = createHeightFunction(
|
@@ -52967,8 +52931,7 @@ function rotateVertical(e, t) {
|
|
52967
52931
|
rotateVertScratchTan
|
52968
52932
|
);
|
52969
52933
|
e.rotate(d, t);
|
52970
|
-
} else
|
52971
|
-
(r && t < 0 || o && t > 0) && e.rotate(e.right, t);
|
52934
|
+
} else (r && t < 0 || o && t > 0) && e.rotate(e.right, t);
|
52972
52935
|
} else
|
52973
52936
|
e.rotate(e.right, t);
|
52974
52937
|
}
|
@@ -58225,8 +58188,7 @@ ${_ ? ` // Draw cascade colors for debugging
|
|
58225
58188
|
}
|
58226
58189
|
}
|
58227
58190
|
`;
|
58228
|
-
} else
|
58229
|
-
typeof globalThis < "u" && globalThis.useVcsCustomShading ? (E += ` vec3 shadowSub = 0.8 * (1.0 - visibility) * vec3(nDotL);
|
58191
|
+
} else typeof globalThis < "u" && globalThis.useVcsCustomShading ? (E += ` vec3 shadowSub = 0.8 * (1.0 - visibility) * vec3(nDotL);
|
58230
58192
|
`, E += ` out_FragColor.rgb -= shadowSub;
|
58231
58193
|
}
|
58232
58194
|
`) : E += ` out_FragColor.rgb *= visibility;
|
@@ -58560,13 +58522,12 @@ function resize(e, t) {
|
|
58560
58522
|
t = ContextLimits$1.maximumCubeMapSize >= t ? t : ContextLimits$1.maximumCubeMapSize, r.x = t, r.y = t;
|
58561
58523
|
const o = new BoundingRectangle(0, 0, t, t);
|
58562
58524
|
n[0].passState.viewport = o, n[1].passState.viewport = o, n[2].passState.viewport = o, n[3].passState.viewport = o, n[4].passState.viewport = o, n[5].passState.viewport = o;
|
58563
|
-
} else
|
58564
|
-
|
58565
|
-
|
58566
|
-
|
58567
|
-
|
58568
|
-
|
58569
|
-
));
|
58525
|
+
} else i === 1 ? (t = ContextLimits$1.maximumTextureSize >= t ? t : ContextLimits$1.maximumTextureSize, r.x = t, r.y = t, n[0].passState.viewport = new BoundingRectangle(0, 0, t, t)) : i === 4 && (t = ContextLimits$1.maximumTextureSize >= t * 2 ? t : ContextLimits$1.maximumTextureSize / 2, r.x = t * 2, r.y = t * 2, n[0].passState.viewport = new BoundingRectangle(0, 0, t, t), n[1].passState.viewport = new BoundingRectangle(t, 0, t, t), n[2].passState.viewport = new BoundingRectangle(0, t, t, t), n[3].passState.viewport = new BoundingRectangle(
|
58526
|
+
t,
|
58527
|
+
t,
|
58528
|
+
t,
|
58529
|
+
t
|
58530
|
+
));
|
58570
58531
|
e._clearPassState.viewport = new BoundingRectangle(
|
58571
58532
|
0,
|
58572
58533
|
0,
|
@@ -59589,8 +59550,7 @@ View.prototype.createPotentiallyVisibleSet = function(e) {
|
|
59589
59550
|
const $ = N - O;
|
59590
59551
|
w !== Pass$1.GLOBE && O < 100 && (b = Math.min(b, $)), T = Math.min(T, O), x = Math.max(x, N);
|
59591
59552
|
}
|
59592
|
-
} else
|
59593
|
-
g instanceof ClearCommand ? (O = n.frustum.near, N = n.frustum.far) : (O = n.frustum.near, N = n.frustum.far, _ = Math.min(_, O), y = Math.max(y, N));
|
59553
|
+
} else g instanceof ClearCommand ? (O = n.frustum.near, N = n.frustum.far) : (O = n.frustum.near, N = n.frustum.far, _ = Math.min(_, O), y = Math.max(y, N));
|
59594
59554
|
let B = h[m];
|
59595
59555
|
defined(B) || (B = h[m] = new CommandExtent()), B.command = g, B.near = O, B.far = N, m++;
|
59596
59556
|
}
|
@@ -61545,8 +61505,7 @@ function createSelectedTexture(e, t) {
|
|
61545
61505
|
const f = r.pickIds, h = f.length;
|
61546
61506
|
for (let p = 0; p < h; ++p)
|
61547
61507
|
c = f[p].color, d[l] = Color.floatToByte(c.red), d[l + 1] = Color.floatToByte(c.green), d[l + 2] = Color.floatToByte(c.blue), d[l + 3] = Color.floatToByte(c.alpha), l += 4;
|
61548
|
-
} else
|
61549
|
-
defined(r.pickId) && (c = r.pickId.color, d[l] = Color.floatToByte(c.red), d[l + 1] = Color.floatToByte(c.green), d[l + 2] = Color.floatToByte(c.blue), d[l + 3] = Color.floatToByte(c.alpha), l += 4);
|
61508
|
+
} else defined(r.pickId) && (c = r.pickId.color, d[l] = Color.floatToByte(c.red), d[l + 1] = Color.floatToByte(c.green), d[l + 2] = Color.floatToByte(c.blue), d[l + 3] = Color.floatToByte(c.alpha), l += 4);
|
61550
61509
|
e._selectedIdTexture = new Texture({
|
61551
61510
|
context: t,
|
61552
61511
|
pixelFormat: PixelFormat$1.RGBA,
|
@@ -63240,8 +63199,7 @@ function handleWheel(e, t) {
|
|
63240
63199
|
if (defined(t.deltaY)) {
|
63241
63200
|
const o = t.deltaMode;
|
63242
63201
|
o === t.DOM_DELTA_PIXEL ? n = -t.deltaY : o === t.DOM_DELTA_LINE ? n = -t.deltaY * 40 : n = -t.deltaY * 120;
|
63243
|
-
} else
|
63244
|
-
t.detail > 0 ? n = t.detail * -120 : n = t.wheelDelta;
|
63202
|
+
} else t.detail > 0 ? n = t.detail * -120 : n = t.wheelDelta;
|
63245
63203
|
if (!defined(n))
|
63246
63204
|
return;
|
63247
63205
|
const i = getModifier(t), r = e.getInputAction(
|
@@ -65384,14 +65342,13 @@ function spin3D(e, t, n) {
|
|
65384
65342
|
m ? (Cartesian2.clone(t, e._strafeEndMousePosition), Cartesian3.clone(p, e._strafeStartPosition), e._strafing = !0, strafe(e, n, e._strafeStartPosition)) : (c = Cartesian3.magnitude(p), l = scratchRadii, l.x = l.y = l.z = c, s = Ellipsoid.fromCartesian3(l, scratchEllipsoid$c), pan3D(e, t, n, s), Cartesian3.clone(p, e._rotateStartPosition));
|
65385
65343
|
} else
|
65386
65344
|
e._looking = !0, look3D(e, t, n, d);
|
65387
|
-
} else
|
65388
|
-
|
65389
|
-
|
65390
|
-
|
65391
|
-
|
65392
|
-
|
65393
|
-
|
65394
|
-
) ? (pan3D(e, t, n, e._ellipsoid), Cartesian3.clone(spin3DPick, e._rotateStartPosition)) : f > e._minimumTrackBallHeight ? (e._rotating = !0, rotate3D(e, t, n)) : (e._looking = !0, look3D(e, t, n, d));
|
65345
|
+
} else defined(
|
65346
|
+
r.pickEllipsoid(
|
65347
|
+
n.startPosition,
|
65348
|
+
e._ellipsoid,
|
65349
|
+
spin3DPick
|
65350
|
+
)
|
65351
|
+
) ? (pan3D(e, t, n, e._ellipsoid), Cartesian3.clone(spin3DPick, e._rotateStartPosition)) : f > e._minimumTrackBallHeight ? (e._rotating = !0, rotate3D(e, t, n)) : (e._looking = !0, look3D(e, t, n, d));
|
65395
65352
|
Cartesian2.clone(t, e._rotateMousePosition);
|
65396
65353
|
}
|
65397
65354
|
function rotate3D(e, t, n, i, r, o) {
|
@@ -65729,8 +65686,7 @@ function look3D(e, t, n, i) {
|
|
65729
65686
|
f > 0 && f > b && (f = b - CesiumMath$1.EPSILON4), m = Cartesian3.dot(y, C), b = CesiumMath$1.acosClamped(m), f < 0 && -f > b && (f = -b + CesiumMath$1.EPSILON4);
|
65730
65687
|
const S = Cartesian3.cross(i, y, look3DTan);
|
65731
65688
|
o.look(S, f);
|
65732
|
-
} else
|
65733
|
-
(T && f < 0 || x && f > 0) && o.look(o.right, -f);
|
65689
|
+
} else (T && f < 0 || x && f > 0) && o.look(o.right, -f);
|
65734
65690
|
} else
|
65735
65691
|
o.lookUp(f);
|
65736
65692
|
}
|
@@ -71738,8 +71694,7 @@ VoxelTraversal.prototype.update = function(e, t, n, i) {
|
|
71738
71694
|
1 / b,
|
71739
71695
|
this.leafNodeTexelSizeUv
|
71740
71696
|
), this.leafNodeTilesPerRow = x;
|
71741
|
-
} else
|
71742
|
-
!p && defined(this.leafNodeTexture) && (this.leafNodeTexture = this.leafNodeTexture.destroy());
|
71697
|
+
} else !p && defined(this.leafNodeTexture) && (this.leafNodeTexture = this.leafNodeTexture.destroy());
|
71743
71698
|
if (this._keyframeLocation = CesiumMath$1.clamp(
|
71744
71699
|
t,
|
71745
71700
|
0,
|
@@ -72255,8 +72210,7 @@ function getWebGL1Texture(e, t, n) {
|
|
72255
72210
|
const h = resizeImageToNextPowerOfTwo(t);
|
72256
72211
|
return getTextureAndMips(e, h, n);
|
72257
72212
|
}
|
72258
|
-
else
|
72259
|
-
return getTextureAndMips(e, t, n);
|
72213
|
+
else return getTextureAndMips(e, t, n);
|
72260
72214
|
return o ? console.warn(
|
72261
72215
|
"Texture requires resizing for mipmaps but pixelDataType cannot be resized. The texture may be rendered incorrectly."
|
72262
72216
|
) : s && console.warn(
|
@@ -75033,10 +74987,9 @@ function updateDebugShowFramesPerSecond(e, t) {
|
|
75033
74987
|
e._performanceDisplay = r, e._performanceContainer = n;
|
75034
74988
|
}
|
75035
74989
|
e._performanceDisplay.throttled = e.requestRenderMode, e._performanceDisplay.update(t);
|
75036
|
-
} else
|
75037
|
-
|
75038
|
-
|
75039
|
-
));
|
74990
|
+
} else defined(e._performanceDisplay) && (e._performanceDisplay = e._performanceDisplay && e._performanceDisplay.destroy(), e._performanceContainer.parentNode.removeChild(
|
74991
|
+
e._performanceContainer
|
74992
|
+
));
|
75040
74993
|
}
|
75041
74994
|
function prePassesUpdate(e) {
|
75042
74995
|
e._jobScheduler.resetBudgets();
|
@@ -76399,8 +76352,7 @@ function traverseHierarchy(e, t, n) {
|
|
76399
76352
|
t,
|
76400
76353
|
n
|
76401
76354
|
);
|
76402
|
-
} else
|
76403
|
-
return n(e, t);
|
76355
|
+
} else return n(e, t);
|
76404
76356
|
return traverseHierarchySingleParent(
|
76405
76357
|
e,
|
76406
76358
|
t,
|
@@ -79529,8 +79481,7 @@ vec4 tile_diffuse_final(vec4 sourceDiffuse, vec4 tileDiffuse)
|
|
79529
79481
|
tile_diffuse = tile_diffuse_final(source, tile_featureColor);
|
79530
79482
|
tile_main();
|
79531
79483
|
`;
|
79532
|
-
} else
|
79533
|
-
s === "sampler2D" && (e = replaceDiffuseTextureCalls(e, t), d = ` tile_diffuse = tile_featureColor;
|
79484
|
+
} else s === "sampler2D" && (e = replaceDiffuseTextureCalls(e, t), d = ` tile_diffuse = tile_featureColor;
|
79534
79485
|
tile_main();
|
79535
79486
|
`);
|
79536
79487
|
return e = `uniform float tile_colorBlend;
|
@@ -81122,8 +81073,7 @@ function createRuntimeAst(e, t) {
|
|
81122
81073
|
for (let c = 0; c < t.elements.length; c++)
|
81123
81074
|
s[c] = createRuntimeAst(e, t.elements[c]);
|
81124
81075
|
n = new Node$4(ExpressionNodeType$1.ARRAY, s);
|
81125
|
-
} else
|
81126
|
-
throw t.type === "Compound" ? new RuntimeError("Provide exactly one expression.") : new RuntimeError("Cannot parse expression.");
|
81076
|
+
} else throw t.type === "Compound" ? new RuntimeError("Provide exactly one expression.") : new RuntimeError("Cannot parse expression.");
|
81127
81077
|
return n;
|
81128
81078
|
}
|
81129
81079
|
function setEvaluateFunction(e) {
|
@@ -81181,20 +81131,19 @@ Node$4.prototype._evaluateLiteralColor = function(e) {
|
|
81181
81131
|
i,
|
81182
81132
|
t
|
81183
81133
|
);
|
81184
|
-
} else
|
81185
|
-
|
81186
|
-
|
81187
|
-
|
81188
|
-
|
81189
|
-
|
81190
|
-
|
81191
|
-
|
81192
|
-
|
81193
|
-
|
81194
|
-
|
81195
|
-
|
81196
|
-
|
81197
|
-
);
|
81134
|
+
} else this._value === "hsl" ? Color.fromHsl(
|
81135
|
+
n[0].evaluate(e),
|
81136
|
+
n[1].evaluate(e),
|
81137
|
+
n[2].evaluate(e),
|
81138
|
+
1,
|
81139
|
+
t
|
81140
|
+
) : this._value === "hsla" && Color.fromHsl(
|
81141
|
+
n[0].evaluate(e),
|
81142
|
+
n[1].evaluate(e),
|
81143
|
+
n[2].evaluate(e),
|
81144
|
+
n[3].evaluate(e),
|
81145
|
+
t
|
81146
|
+
);
|
81198
81147
|
return Cartesian4.fromColor(t, scratchStorage.getCartesian4());
|
81199
81148
|
};
|
81200
81149
|
Node$4.prototype._evaluateLiteralVector = function(e) {
|
@@ -81792,8 +81741,7 @@ Node$4.prototype.getShaderExpression = function(e, t, n) {
|
|
81792
81741
|
const p = d[0], m = d[1];
|
81793
81742
|
return m !== "1.0" && (t.translucent = !0), `vec4(${p}, ${m})`;
|
81794
81743
|
}
|
81795
|
-
} else
|
81796
|
-
return "vec4(1.0)";
|
81744
|
+
} else return "vec4(1.0)";
|
81797
81745
|
return `vec4(${d[0]}, 1.0)`;
|
81798
81746
|
} else {
|
81799
81747
|
if (l === "rgb")
|
@@ -85595,8 +85543,7 @@ GltfIndexBufferLoader.prototype.process = function(e) {
|
|
85595
85543
|
if (r.set(t, n, e.context), !e.jobScheduler.execute(r, JobType$1.BUFFER))
|
85596
85544
|
return !1;
|
85597
85545
|
i = r.buffer;
|
85598
|
-
} else
|
85599
|
-
this._loadBuffer && (i = createIndexBuffer(t, n, e.context));
|
85546
|
+
} else this._loadBuffer && (i = createIndexBuffer(t, n, e.context));
|
85600
85547
|
return this.unload(), this._buffer = i, this._typedArray = this._loadTypedArray ? t : void 0, this._state = ResourceLoaderState$1.READY, this._resourceCache.statistics.addGeometryLoader(this), !0;
|
85601
85548
|
};
|
85602
85549
|
GltfIndexBufferLoader.prototype.unload = function() {
|
@@ -86104,8 +86051,7 @@ function parseGlbVersion2(e, t) {
|
|
86104
86051
|
if (i += c, l === 1313821514) {
|
86105
86052
|
const f = getStringFromTypedArray(d);
|
86106
86053
|
r = JSON.parse(f), addPipelineExtras(r);
|
86107
|
-
} else
|
86108
|
-
l === 5130562 && (o = d);
|
86054
|
+
} else l === 5130562 && (o = d);
|
86109
86055
|
}
|
86110
86056
|
if (defined(r) && defined(o)) {
|
86111
86057
|
const s = r.buffers;
|
@@ -88496,8 +88442,7 @@ GltfVertexBufferLoader.prototype.process = function(e) {
|
|
88496
88442
|
if (i.set(n, e.context), !e.jobScheduler.execute(i, JobType$1.BUFFER))
|
88497
88443
|
return !1;
|
88498
88444
|
t = i.buffer;
|
88499
|
-
} else
|
88500
|
-
this._loadBuffer && (t = createVertexBuffer$1(n, e.context));
|
88445
|
+
} else this._loadBuffer && (t = createVertexBuffer$1(n, e.context));
|
88501
88446
|
return this.unload(), this._buffer = t, this._typedArray = this._loadTypedArray ? n : void 0, this._state = ResourceLoaderState$1.READY, this._resourceCache.statistics.addGeometryLoader(this), !0;
|
88502
88447
|
};
|
88503
88448
|
GltfVertexBufferLoader.prototype.unload = function() {
|
@@ -94978,12 +94923,11 @@ function processRotation(e, t, n, i, r, o, s, c, l, d) {
|
|
94978
94923
|
65535,
|
94979
94924
|
s
|
94980
94925
|
), p = !0;
|
94981
|
-
} else
|
94982
|
-
|
94983
|
-
|
94984
|
-
|
94985
|
-
|
94986
|
-
), Matrix4.getMatrix3(d, l)) : Matrix3.clone(Matrix3.IDENTITY, l);
|
94926
|
+
} else t ? (Transforms$1.eastNorthUpToFixedFrame(
|
94927
|
+
r,
|
94928
|
+
Ellipsoid.WGS84,
|
94929
|
+
d
|
94930
|
+
), Matrix4.getMatrix3(d, l)) : Matrix3.clone(Matrix3.IDENTITY, l);
|
94987
94931
|
}
|
94988
94932
|
p && (Cartesian3.cross(
|
94989
94933
|
s,
|
@@ -107506,16 +107450,14 @@ function calcSDF(e, t) {
|
|
107506
107450
|
t || (t = {});
|
107507
107451
|
var n = t.cutoff == null ? 0.25 : t.cutoff, i = t.radius == null ? 8 : t.radius, r = t.channel || 0, o, s, c, l, d, f, h, p, m, _, y;
|
107508
107452
|
if (ArrayBuffer.isView(e) || Array.isArray(e)) {
|
107509
|
-
if (!t.width || !t.height)
|
107510
|
-
throw Error("For raw data width and height should be provided by options");
|
107453
|
+
if (!t.width || !t.height) throw Error("For raw data width and height should be provided by options");
|
107511
107454
|
o = t.width, s = t.height, l = e, t.stride ? f = t.stride : f = Math.floor(e.length / o / s);
|
107512
107455
|
} else
|
107513
107456
|
window.HTMLCanvasElement && e instanceof window.HTMLCanvasElement ? (p = e, h = p.getContext("2d"), o = p.width, s = p.height, m = h.getImageData(0, 0, o, s), l = m.data, f = 4) : window.CanvasRenderingContext2D && e instanceof window.CanvasRenderingContext2D ? (p = e.canvas, h = e, o = p.width, s = p.height, m = h.getImageData(0, 0, o, s), l = m.data, f = 4) : window.ImageData && e instanceof window.ImageData && (m = e, o = e.width, s = e.height, l = m.data, f = 4);
|
107514
107457
|
if (c = Math.max(o, s), window.Uint8ClampedArray && l instanceof window.Uint8ClampedArray || window.Uint8Array && l instanceof window.Uint8Array)
|
107515
107458
|
for (d = l, l = Array(o * s), _ = 0, y = Math.floor(d.length / f); _ < y; _++)
|
107516
107459
|
l[_] = d[_ * f + r] / 255;
|
107517
|
-
else if (f !== 1)
|
107518
|
-
throw Error("Raw data can have only 1 value per pixel");
|
107460
|
+
else if (f !== 1) throw Error("Raw data can have only 1 value per pixel");
|
107519
107461
|
var C = Array(o * s), T = Array(o * s), x = Array(c), b = Array(c), S = Array(c + 1), E = Array(c);
|
107520
107462
|
for (_ = 0, y = o * s; _ < y; _++) {
|
107521
107463
|
var A = l[_];
|
@@ -107549,8 +107491,7 @@ function edt1d(e, t, n, i, r) {
|
|
107549
107491
|
s++, n[s] = o, i[s] = c, i[s + 1] = +INF;
|
107550
107492
|
}
|
107551
107493
|
for (o = 0, s = 0; o < r; o++) {
|
107552
|
-
for (; i[s + 1] < o; )
|
107553
|
-
s++;
|
107494
|
+
for (; i[s + 1] < o; ) s++;
|
107554
107495
|
t[o] = (o - n[s]) * (o - n[s]) + e[n[s]];
|
107555
107496
|
}
|
107556
107497
|
}
|
@@ -112583,8 +112524,7 @@ async function createInnerContent(e, t, n) {
|
|
112583
112524
|
if (s.hasImplicitContentMetadata) {
|
112584
112525
|
const h = s.implicitSubtree, p = s.implicitCoordinates;
|
112585
112526
|
c.metadata = h.getContentMetadataView(p, n);
|
112586
|
-
} else
|
112587
|
-
s.hasImplicitContent || (c.metadata = findContentMetadata(r, d));
|
112527
|
+
} else s.hasImplicitContent || (c.metadata = findContentMetadata(r, d));
|
112588
112528
|
const f = findGroupMetadata(r, d);
|
112589
112529
|
return defined(f) && (c.group = new Cesium3DContentGroup({
|
112590
112530
|
metadata: f
|
@@ -113832,8 +113772,7 @@ async function makeContent(e, t) {
|
|
113832
113772
|
if (e.hasImplicitContentMetadata) {
|
113833
113773
|
const l = e.implicitSubtree, d = e.implicitCoordinates;
|
113834
113774
|
r.metadata = l.getContentMetadataView(d, 0);
|
113835
|
-
} else
|
113836
|
-
e.hasImplicitContent || (r.metadata = findContentMetadata(i, s));
|
113775
|
+
} else e.hasImplicitContent || (r.metadata = findContentMetadata(i, s));
|
113837
113776
|
const c = findGroupMetadata(i, s);
|
113838
113777
|
return defined(c) && (r.group = new Cesium3DContentGroup({
|
113839
113778
|
metadata: c
|
@@ -114114,8 +114053,7 @@ function applyDebugSettings(e, t, n, i) {
|
|
114114
114053
|
l,
|
114115
114054
|
d.color
|
114116
114055
|
);
|
114117
|
-
} else
|
114118
|
-
!o && defined(e._debugBoundingVolume) && (e._debugBoundingVolume = e._debugBoundingVolume.destroy());
|
114056
|
+
} else !o && defined(e._debugBoundingVolume) && (e._debugBoundingVolume = e._debugBoundingVolume.destroy());
|
114119
114057
|
t.debugShowContentBoundingVolume && r ? (defined(e._debugContentBoundingVolume) || (e._debugContentBoundingVolume = e._contentBoundingVolume.createDebugVolume(
|
114120
114058
|
Color.BLUE
|
114121
114059
|
)), e._debugContentBoundingVolume.update(n)) : !t.debugShowContentBoundingVolume && defined(e._debugContentBoundingVolume) && (e._debugContentBoundingVolume = e._debugContentBoundingVolume.destroy()), t.debugShowViewerRequestVolume && defined(e._viewerRequestVolume) ? (defined(e._debugViewerRequestVolume) || (e._debugViewerRequestVolume = e._viewerRequestVolume.createDebugVolume(
|
@@ -114632,8 +114570,7 @@ function getExpression(e, t) {
|
|
114632
114570
|
return new Expression(t, n);
|
114633
114571
|
if (defined(t.conditions))
|
114634
114572
|
return new ConditionsExpression(t, n);
|
114635
|
-
} else
|
114636
|
-
return;
|
114573
|
+
} else return;
|
114637
114574
|
return t;
|
114638
114575
|
}
|
114639
114576
|
function getJsonFromExpression(e) {
|
@@ -114642,8 +114579,7 @@ function getJsonFromExpression(e) {
|
|
114642
114579
|
return e.expression;
|
114643
114580
|
if (defined(e.conditionsExpression))
|
114644
114581
|
return clone$1(e.conditionsExpression, !0);
|
114645
|
-
} else
|
114646
|
-
return;
|
114582
|
+
} else return;
|
114647
114583
|
return e;
|
114648
114584
|
}
|
114649
114585
|
Object.defineProperties(Cesium3DTileStyle.prototype, {
|
@@ -116733,8 +116669,7 @@ Object.defineProperties(ManagedArray.prototype, {
|
|
116733
116669
|
if (e < n)
|
116734
116670
|
for (let i = e; i < n; ++i)
|
116735
116671
|
t[i] = void 0;
|
116736
|
-
else
|
116737
|
-
e > t.length && (t.length = e);
|
116672
|
+
else e > t.length && (t.length = e);
|
116738
116673
|
this._length = e;
|
116739
116674
|
}
|
116740
116675
|
},
|
@@ -121727,8 +121662,7 @@ var protobuf$2 = { exports: {} };
|
|
121727
121662
|
i.Array.prototype.slice, l.prototype.uint32 = /* @__PURE__ */ function() {
|
121728
121663
|
var y = 4294967295;
|
121729
121664
|
return function() {
|
121730
|
-
if (y = (this.buf[this.pos] & 127) >>> 0, this.buf[this.pos++] < 128 || (y = (y | (this.buf[this.pos] & 127) << 7) >>> 0, this.buf[this.pos++] < 128) || (y = (y | (this.buf[this.pos] & 127) << 14) >>> 0, this.buf[this.pos++] < 128) || (y = (y | (this.buf[this.pos] & 127) << 21) >>> 0, this.buf[this.pos++] < 128) || (y = (y | (this.buf[this.pos] & 15) << 28) >>> 0, this.buf[this.pos++] < 128))
|
121731
|
-
return y;
|
121665
|
+
if (y = (this.buf[this.pos] & 127) >>> 0, this.buf[this.pos++] < 128 || (y = (y | (this.buf[this.pos] & 127) << 7) >>> 0, this.buf[this.pos++] < 128) || (y = (y | (this.buf[this.pos] & 127) << 14) >>> 0, this.buf[this.pos++] < 128) || (y = (y | (this.buf[this.pos] & 127) << 21) >>> 0, this.buf[this.pos++] < 128) || (y = (y | (this.buf[this.pos] & 15) << 28) >>> 0, this.buf[this.pos++] < 128)) return y;
|
121732
121666
|
if ((this.pos += 5) > this.len)
|
121733
121667
|
throw this.pos = this.len, c(this, 10);
|
121734
121668
|
return y;
|
@@ -122251,9 +122185,8 @@ var protobuf$2 = { exports: {} };
|
|
122251
122185
|
} : function(l, d, f) {
|
122252
122186
|
if (l.copy)
|
122253
122187
|
l.copy(d, f, 0, l.length);
|
122254
|
-
else
|
122255
|
-
|
122256
|
-
d[f++] = l[h++];
|
122188
|
+
else for (var h = 0; h < l.length; )
|
122189
|
+
d[f++] = l[h++];
|
122257
122190
|
};
|
122258
122191
|
}, o.prototype.bytes = function(l) {
|
122259
122192
|
r.isString(l) && (l = r._Buffer_from(l, "base64"));
|
@@ -124929,8 +124862,7 @@ I3SField.prototype._parseValue = function(e, t, n) {
|
|
124929
124862
|
} else if (t === "Int64") {
|
124930
124863
|
const r = e.getUint32(n, !0), o = e.getUint32(n + 4, !0);
|
124931
124864
|
o < Math.pow(2, 31) ? i = r + Math.pow(2, 32) * o : i = r + Math.pow(2, 32) * (o - Math.pow(2, 32)), n += 8;
|
124932
|
-
} else
|
124933
|
-
t === "Float32" ? (i = e.getFloat32(n, !0), n += 4) : t === "Float64" ? (i = e.getFloat64(n, !0), n += 8) : t === "String" && (i = String.fromCharCode(e.getUint8(n)), n += 1);
|
124865
|
+
} else t === "Float32" ? (i = e.getFloat32(n, !0), n += 4) : t === "Float64" ? (i = e.getFloat64(n, !0), n += 8) : t === "String" && (i = String.fromCharCode(e.getUint8(n)), n += 1);
|
124934
124866
|
return {
|
124935
124867
|
value: i,
|
124936
124868
|
offset: n
|
@@ -125200,10 +125132,9 @@ I3SGeometry.prototype._generateGltf = function(e, t, n, i, r, o, s, c) {
|
|
125200
125132
|
l.emissiveFactor
|
125201
125133
|
));
|
125202
125134
|
}
|
125203
|
-
} else
|
125204
|
-
|
125205
|
-
|
125206
|
-
}).url, l.pbrMetallicRoughness.baseColorTexture = { index: 0 });
|
125135
|
+
} else defined(this._parent._data.textureData) && (d = !0, h = this._parent.resource.getDerivedResource({
|
125136
|
+
url: `${this._parent._data.textureData[0].href}`
|
125137
|
+
}).url, l.pbrMetallicRoughness.baseColorTexture = { index: 0 });
|
125207
125138
|
defined(l.alphaMode) && (l.alphaMode = l.alphaMode.toUpperCase());
|
125208
125139
|
let p = [], m = [], _ = [];
|
125209
125140
|
d && (p = [
|
@@ -126476,8 +126407,7 @@ var LercDecode = { exports: {} };
|
|
126476
126407
|
if (x !== -32768 || S < T.length)
|
126477
126408
|
throw "Unexpected end of mask RLE encoding";
|
126478
126409
|
_.mask.bitset = T, p += _.mask.numBytes;
|
126479
|
-
} else
|
126480
|
-
_.mask.numBytes | _.mask.numBlocksY | _.mask.maxValue || (_.mask.bitset = new Uint8Array(Math.ceil(_.width * _.height / 8)));
|
126410
|
+
} else _.mask.numBytes | _.mask.numBlocksY | _.mask.maxValue || (_.mask.bitset = new Uint8Array(Math.ceil(_.width * _.height / 8)));
|
126481
126411
|
C = new DataView(h, p, 16), _.pixels = {}, _.pixels.numBlocksY = C.getUint32(0, !0), _.pixels.numBlocksX = C.getUint32(4, !0), _.pixels.numBytes = C.getUint32(8, !0), _.pixels.maxValue = C.getFloat32(12, !0), p += 16;
|
126482
126412
|
var A = _.pixels.numBlocksX, D = _.pixels.numBlocksY, P = A + (_.width % A > 0 ? 1 : 0), I = D + (_.height % D > 0 ? 1 : 0);
|
126483
126413
|
_.pixels.blocks = new Array(P * I);
|
@@ -130879,8 +130809,7 @@ function findMaxLevelFromNode(e, t, n) {
|
|
130879
130809
|
findMaxLevelFromNode(t, t._se, n)
|
130880
130810
|
));
|
130881
130811
|
break;
|
130882
|
-
} else
|
130883
|
-
o ? t = t._nw : s ? t = t._ne : c ? t = t._sw : l ? t = t._se : r = !0;
|
130812
|
+
} else o ? t = t._nw : s ? t = t._ne : c ? t = t._sw : l ? t = t._se : r = !0;
|
130884
130813
|
}
|
130885
130814
|
for (; t !== e; ) {
|
130886
130815
|
const o = t.rectangles;
|
@@ -131067,14 +130996,13 @@ async function parseMetadataSuccess$1(e, t, n) {
|
|
131067
130996
|
);
|
131068
130997
|
}
|
131069
130998
|
}
|
131070
|
-
} else
|
131071
|
-
|
131072
|
-
|
131073
|
-
|
131074
|
-
|
131075
|
-
|
131076
|
-
|
131077
|
-
), e.overallAvailability[0] = [[0, 0, 1, 0]], m.addAvailableTileRange(0, 0, 0, 1, 0));
|
130999
|
+
} else defined(h) && (f = new TileAvailability(
|
131000
|
+
e.tilingScheme,
|
131001
|
+
d
|
131002
|
+
), m = new TileAvailability(
|
131003
|
+
e.tilingScheme,
|
131004
|
+
d
|
131005
|
+
), e.overallAvailability[0] = [[0, 0, 1, 0]], m.addAvailableTileRange(0, 0, 0, 1, 0));
|
131078
131006
|
e.hasWaterMask = e.hasWaterMask || r, e.hasVertexNormals = e.hasVertexNormals || i, e.hasMetadata = e.hasMetadata || o, defined(t.attribution) && (e.attribution.length > 0 && (e.attribution += " "), e.attribution += t.attribution), e.layers.push(
|
131079
131007
|
new LayerInformation({
|
131080
131008
|
resource: e.lastResource,
|
@@ -132790,11 +132718,10 @@ function createLayeredEntries(e) {
|
|
132790
132718
|
scratchColorAbove
|
132791
132719
|
);
|
132792
132720
|
defined(x) ? defined(b) ? s(T.height, S, T.color) : (s(T.height, S, T.color), o(T.height, S)) : (o(T.height, S), s(T.height, S, T.color)), h++;
|
132793
|
-
} else
|
132794
|
-
|
132795
|
-
|
132796
|
-
|
132797
|
-
), o(_.height, createElevationBandMaterial._emptyColor)), o(_.height, _.color)), f++) : defined(T) && (!defined(_) || T.height < _.height) && (o(T.height, T.color), h++);
|
132721
|
+
} else defined(_) && (!defined(T) || _.height < T.height) ? (defined(T) && !defined(x) && !defined(C) ? (o(_.height, _.color), o(_.height, createElevationBandMaterial._emptyColor), o(T.height, createElevationBandMaterial._emptyColor)) : (!defined(T) && defined(x) && !defined(y) && (o(
|
132722
|
+
x.height,
|
132723
|
+
createElevationBandMaterial._emptyColor
|
132724
|
+
), o(_.height, createElevationBandMaterial._emptyColor)), o(_.height, _.color)), f++) : defined(T) && (!defined(_) || T.height < _.height) && (o(T.height, T.color), h++);
|
132798
132725
|
}
|
132799
132726
|
}
|
132800
132727
|
return removeDuplicates$1(n);
|
@@ -140778,8 +140705,7 @@ class KDBush {
|
|
140778
140705
|
* @param {ArrayBuffer} [data] (For internal use only)
|
140779
140706
|
*/
|
140780
140707
|
constructor(t, n = 64, i = Float64Array, r) {
|
140781
|
-
if (isNaN(t) || t < 0)
|
140782
|
-
throw new Error(`Unpexpected numItems value: ${t}.`);
|
140708
|
+
if (isNaN(t) || t < 0) throw new Error(`Unpexpected numItems value: ${t}.`);
|
140783
140709
|
this.numItems = +t, this.nodeSize = Math.min(Math.max(+n, 2), 65535), this.ArrayType = i, this.IndexArrayType = t < 65536 ? Uint16Array : Uint32Array;
|
140784
140710
|
const o = ARRAY_TYPES.indexOf(this.ArrayType), s = t * 2 * this.ArrayType.BYTES_PER_ELEMENT, c = t * this.IndexArrayType.BYTES_PER_ELEMENT, l = (8 - c % 8) % 8;
|
140785
140711
|
if (o < 0)
|
@@ -140814,8 +140740,7 @@ class KDBush {
|
|
140814
140740
|
* @returns {number[]} An array of indices correponding to the found items.
|
140815
140741
|
*/
|
140816
140742
|
range(t, n, i, r) {
|
140817
|
-
if (!this._finished)
|
140818
|
-
throw new Error("Data not yet indexed - call index.finish().");
|
140743
|
+
if (!this._finished) throw new Error("Data not yet indexed - call index.finish().");
|
140819
140744
|
const { ids: o, coords: s, nodeSize: c } = this, l = [0, o.length - 1, 0], d = [];
|
140820
140745
|
for (; l.length; ) {
|
140821
140746
|
const f = l.pop() || 0, h = l.pop() || 0, p = l.pop() || 0;
|
@@ -140839,8 +140764,7 @@ class KDBush {
|
|
140839
140764
|
* @returns {number[]} An array of indices correponding to the found items.
|
140840
140765
|
*/
|
140841
140766
|
within(t, n, i) {
|
140842
|
-
if (!this._finished)
|
140843
|
-
throw new Error("Data not yet indexed - call index.finish().");
|
140767
|
+
if (!this._finished) throw new Error("Data not yet indexed - call index.finish().");
|
140844
140768
|
const { ids: r, coords: o, nodeSize: s } = this, c = [0, r.length - 1, 0], l = [], d = i * i;
|
140845
140769
|
for (; c.length; ) {
|
140846
140770
|
const f = c.pop() || 0, h = c.pop() || 0, p = c.pop() || 0;
|
@@ -140856,8 +140780,7 @@ class KDBush {
|
|
140856
140780
|
}
|
140857
140781
|
}
|
140858
140782
|
function sort(e, t, n, i, r, o) {
|
140859
|
-
if (r - i <= n)
|
140860
|
-
return;
|
140783
|
+
if (r - i <= n) return;
|
140861
140784
|
const s = i + r >> 1;
|
140862
140785
|
select(e, t, s, i, r, o), sort(e, t, n, i, s - 1, 1 - o), sort(e, t, n, s + 1, r, 1 - o);
|
140863
140786
|
}
|
@@ -140870,10 +140793,8 @@ function select(e, t, n, i, r, o) {
|
|
140870
140793
|
const s = t[2 * n + o];
|
140871
140794
|
let c = i, l = r;
|
140872
140795
|
for (swapItem(e, t, i, n), t[2 * r + o] > s && swapItem(e, t, i, r); c < l; ) {
|
140873
|
-
for (swapItem(e, t, c, l), c++, l--; t[2 * c + o] < s; )
|
140874
|
-
|
140875
|
-
for (; t[2 * l + o] > s; )
|
140876
|
-
l--;
|
140796
|
+
for (swapItem(e, t, c, l), c++, l--; t[2 * c + o] < s; ) c++;
|
140797
|
+
for (; t[2 * l + o] > s; ) l--;
|
140877
140798
|
}
|
140878
140799
|
t[2 * i + o] === s ? swapItem(e, t, i, l) : (l++, swapItem(e, t, l, r)), l <= n && (i = l + 1), n <= l && (r = l - 1);
|
140879
140800
|
}
|
@@ -151928,8 +151849,7 @@ Batch$5.prototype.update = function(e) {
|
|
151928
151849
|
}
|
151929
151850
|
}
|
151930
151851
|
this.updateShows(i), this.waitingOnCreate = !1;
|
151931
|
-
} else
|
151932
|
-
defined(i) && !i.ready && (t = !1);
|
151852
|
+
} else defined(i) && !i.ready && (t = !1);
|
151933
151853
|
return this.itemsToRemove.length = n, t;
|
151934
151854
|
};
|
151935
151855
|
Batch$5.prototype.updateShows = function(e) {
|
@@ -152209,8 +152129,7 @@ Batch$4.prototype.update = function(e) {
|
|
152209
152129
|
}
|
152210
152130
|
}
|
152211
152131
|
this.updateShows(n);
|
152212
|
-
} else
|
152213
|
-
defined(n) && !n.ready && (t = !1);
|
152132
|
+
} else defined(n) && !n.ready && (t = !1);
|
152214
152133
|
return t;
|
152215
152134
|
};
|
152216
152135
|
Batch$4.prototype.updateShows = function(e) {
|
@@ -152320,10 +152239,8 @@ function quickselectStep(e, t, n, i, r) {
|
|
152320
152239
|
}
|
152321
152240
|
var p = e[t], m = n, _ = i;
|
152322
152241
|
for (swap(e, n, t), r(e[i], p) > 0 && swap(e, n, i); m < _; ) {
|
152323
|
-
for (swap(e, m, _), m++, _--; r(e[m], p) < 0; )
|
152324
|
-
|
152325
|
-
for (; r(e[_], p) > 0; )
|
152326
|
-
_--;
|
152242
|
+
for (swap(e, m, _), m++, _--; r(e[m], p) < 0; ) m++;
|
152243
|
+
for (; r(e[_], p) > 0; ) _--;
|
152327
152244
|
}
|
152328
152245
|
r(e[n], p) === 0 ? swap(e, n, _) : (_++, swap(e, _, i)), _ <= t && (n = _ + 1), t <= _ && (i = _ - 1);
|
152329
152246
|
}
|
@@ -152345,8 +152262,7 @@ class RBush {
|
|
152345
152262
|
search(t) {
|
152346
152263
|
let n = this.data;
|
152347
152264
|
const i = [];
|
152348
|
-
if (!intersects(t, n))
|
152349
|
-
return i;
|
152265
|
+
if (!intersects(t, n)) return i;
|
152350
152266
|
const r = this.toBBox, o = [];
|
152351
152267
|
for (; n; ) {
|
152352
152268
|
for (let s = 0; s < n.children.length; s++) {
|
@@ -152359,15 +152275,13 @@ class RBush {
|
|
152359
152275
|
}
|
152360
152276
|
collides(t) {
|
152361
152277
|
let n = this.data;
|
152362
|
-
if (!intersects(t, n))
|
152363
|
-
return !1;
|
152278
|
+
if (!intersects(t, n)) return !1;
|
152364
152279
|
const i = [];
|
152365
152280
|
for (; n; ) {
|
152366
152281
|
for (let r = 0; r < n.children.length; r++) {
|
152367
152282
|
const o = n.children[r], s = n.leaf ? this.toBBox(o) : o;
|
152368
152283
|
if (intersects(t, s)) {
|
152369
|
-
if (n.leaf || contains(t, s))
|
152370
|
-
return !0;
|
152284
|
+
if (n.leaf || contains(t, s)) return !0;
|
152371
152285
|
i.push(o);
|
152372
152286
|
}
|
152373
152287
|
}
|
@@ -152376,8 +152290,7 @@ class RBush {
|
|
152376
152290
|
return !1;
|
152377
152291
|
}
|
152378
152292
|
load(t) {
|
152379
|
-
if (!(t && t.length))
|
152380
|
-
return this;
|
152293
|
+
if (!(t && t.length)) return this;
|
152381
152294
|
if (t.length < this._minEntries) {
|
152382
152295
|
for (let i = 0; i < t.length; i++)
|
152383
152296
|
this.insert(t[i]);
|
@@ -152404,8 +152317,7 @@ class RBush {
|
|
152404
152317
|
return this.data = createNode([]), this;
|
152405
152318
|
}
|
152406
152319
|
remove(t, n) {
|
152407
|
-
if (!t)
|
152408
|
-
return this;
|
152320
|
+
if (!t) return this;
|
152409
152321
|
let i = this.data;
|
152410
152322
|
const r = this.toBBox(t), o = [], s = [];
|
152411
152323
|
let c, l, d;
|
@@ -152523,11 +152435,9 @@ class RBush {
|
|
152523
152435
|
}
|
152524
152436
|
}
|
152525
152437
|
function findItem(e, t, n) {
|
152526
|
-
if (!n)
|
152527
|
-
return t.indexOf(e);
|
152438
|
+
if (!n) return t.indexOf(e);
|
152528
152439
|
for (let i = 0; i < t.length; i++)
|
152529
|
-
if (n(e, t[i]))
|
152530
|
-
return i;
|
152440
|
+
if (n(e, t[i])) return i;
|
152531
152441
|
return -1;
|
152532
152442
|
}
|
152533
152443
|
function calcBBox(e, t) {
|
@@ -152583,8 +152493,7 @@ function createNode(e) {
|
|
152583
152493
|
function multiSelect(e, t, n, i, r) {
|
152584
152494
|
const o = [t, n];
|
152585
152495
|
for (; o.length; ) {
|
152586
|
-
if (n = o.pop(), t = o.pop(), n - t <= i)
|
152587
|
-
continue;
|
152496
|
+
if (n = o.pop(), t = o.pop(), n - t <= i) continue;
|
152588
152497
|
const s = t + Math.ceil((n - t) / i / 2) * i;
|
152589
152498
|
quickselect(e, s, t, n, r), o.push(t, s, s, n);
|
152590
152499
|
}
|
@@ -152725,8 +152634,7 @@ Batch$3.prototype.update = function(e) {
|
|
152725
152634
|
}
|
152726
152635
|
}
|
152727
152636
|
this.updateShows(i), this.waitingOnCreate = !1;
|
152728
|
-
} else
|
152729
|
-
defined(i) && !i.ready && (t = !1);
|
152637
|
+
} else defined(i) && !i.ready && (t = !1);
|
152730
152638
|
return this.itemsToRemove.length = n, t;
|
152731
152639
|
};
|
152732
152640
|
Batch$3.prototype.updateShows = function(e) {
|
@@ -152926,8 +152834,7 @@ Batch$2.prototype.update = function(e) {
|
|
152926
152834
|
}
|
152927
152835
|
}
|
152928
152836
|
this.updateShows(n);
|
152929
|
-
} else
|
152930
|
-
defined(n) && !n.ready && (t = !1);
|
152837
|
+
} else defined(n) && !n.ready && (t = !1);
|
152931
152838
|
return t;
|
152932
152839
|
};
|
152933
152840
|
Batch$2.prototype.updateShows = function(e) {
|
@@ -153143,8 +153050,7 @@ Batch$1.prototype.update = function(e) {
|
|
153143
153050
|
}
|
153144
153051
|
}
|
153145
153052
|
this.updateShows(i), this.waitingOnCreate = !1;
|
153146
|
-
} else
|
153147
|
-
defined(i) && !i.ready && (t = !1);
|
153053
|
+
} else defined(i) && !i.ready && (t = !1);
|
153148
153054
|
return this.itemsToRemove.length = n, t;
|
153149
153055
|
};
|
153150
153056
|
Batch$1.prototype.updateShows = function(e) {
|
@@ -153436,20 +153342,19 @@ GeometryVisualizer.prototype._insertUpdaterIntoBatch = function(e, t) {
|
|
153436
153342
|
e
|
153437
153343
|
);
|
153438
153344
|
t.fillMaterialProperty instanceof ColorMaterialProperty ? this._groundColorBatches[r].add(e, t) : this._groundMaterialBatches[r].add(e, t);
|
153439
|
-
} else
|
153440
|
-
|
153441
|
-
|
153442
|
-
|
153443
|
-
|
153444
|
-
|
153445
|
-
|
153446
|
-
|
153447
|
-
|
153448
|
-
|
153449
|
-
|
153450
|
-
|
153451
|
-
|
153452
|
-
) : this._openMaterialBatches[n].add(e, t);
|
153345
|
+
} else t.isClosed ? t.fillMaterialProperty instanceof ColorMaterialProperty ? defined(t.terrainOffsetProperty) ? this._closedColorBatches[i + n].add(
|
153346
|
+
e,
|
153347
|
+
t
|
153348
|
+
) : this._closedColorBatches[n].add(e, t) : defined(t.terrainOffsetProperty) ? this._closedMaterialBatches[i + n].add(
|
153349
|
+
e,
|
153350
|
+
t
|
153351
|
+
) : this._closedMaterialBatches[n].add(e, t) : t.fillMaterialProperty instanceof ColorMaterialProperty ? defined(t.terrainOffsetProperty) ? this._openColorBatches[i + n].add(
|
153352
|
+
e,
|
153353
|
+
t
|
153354
|
+
) : this._openColorBatches[n].add(e, t) : defined(t.terrainOffsetProperty) ? this._openMaterialBatches[i + n].add(
|
153355
|
+
e,
|
153356
|
+
t
|
153357
|
+
) : this._openMaterialBatches[n].add(e, t);
|
153453
153358
|
};
|
153454
153359
|
GeometryVisualizer._onGeometryChanged = function(e) {
|
153455
153360
|
const t = this._removedObjects, n = this._changedObjects, i = e.entity, r = i.id;
|
@@ -154007,44 +153912,43 @@ function reallySubSample(e, t, n, i, r, o, s, c) {
|
|
154007
153912
|
s,
|
154008
153913
|
c
|
154009
153914
|
);
|
154010
|
-
} else
|
154011
|
-
e
|
154012
|
-
|
154013
|
-
|
154014
|
-
|
154015
|
-
|
154016
|
-
|
154017
|
-
|
154018
|
-
|
154019
|
-
|
154020
|
-
|
154021
|
-
|
154022
|
-
|
154023
|
-
|
154024
|
-
|
154025
|
-
|
154026
|
-
|
154027
|
-
|
154028
|
-
|
154029
|
-
|
154030
|
-
|
154031
|
-
|
154032
|
-
|
154033
|
-
|
154034
|
-
|
154035
|
-
|
154036
|
-
|
154037
|
-
|
154038
|
-
|
154039
|
-
|
154040
|
-
|
154041
|
-
|
154042
|
-
|
154043
|
-
|
154044
|
-
|
154045
|
-
|
154046
|
-
|
154047
|
-
);
|
153915
|
+
} else e instanceof CompositePositionProperty ? s = subSampleCompositeProperty(
|
153916
|
+
e,
|
153917
|
+
t,
|
153918
|
+
n,
|
153919
|
+
i,
|
153920
|
+
r,
|
153921
|
+
o,
|
153922
|
+
s,
|
153923
|
+
c
|
153924
|
+
) : e instanceof TimeIntervalCollectionPositionProperty ? s = subSampleIntervalProperty(
|
153925
|
+
e,
|
153926
|
+
t,
|
153927
|
+
n,
|
153928
|
+
i,
|
153929
|
+
r,
|
153930
|
+
o,
|
153931
|
+
s,
|
153932
|
+
c
|
153933
|
+
) : e instanceof ConstantPositionProperty || e instanceof ScaledPositionProperty && Property.isConstant(e) ? s = subSampleConstantProperty(
|
153934
|
+
e,
|
153935
|
+
t,
|
153936
|
+
n,
|
153937
|
+
i,
|
153938
|
+
r,
|
153939
|
+
o,
|
153940
|
+
s,
|
153941
|
+
c
|
153942
|
+
) : s = subSampleGenericProperty(
|
153943
|
+
e,
|
153944
|
+
t,
|
153945
|
+
n,
|
153946
|
+
i,
|
153947
|
+
r,
|
153948
|
+
o,
|
153949
|
+
s,
|
153950
|
+
c
|
153951
|
+
);
|
154048
153952
|
return s;
|
154049
153953
|
}
|
154050
153954
|
function subSample(e, t, n, i, r, o, s) {
|
@@ -154946,8 +154850,7 @@ Batch.prototype.update = function(e) {
|
|
154946
154850
|
}
|
154947
154851
|
}
|
154948
154852
|
this.updateShows(n);
|
154949
|
-
} else
|
154950
|
-
defined(n) && !n.ready && (t = !1);
|
154853
|
+
} else defined(n) && !n.ready && (t = !1);
|
154951
154854
|
return t;
|
154952
154855
|
};
|
154953
154856
|
Batch.prototype.updateShows = function(e) {
|
@@ -155558,10 +155461,8 @@ EntityView.prototype.update = function(e, t) {
|
|
155558
155461
|
scratchHeadingPitchRange.pitch *= y;
|
155559
155462
|
}
|
155560
155463
|
d.viewBoundingSphere(t, scratchHeadingPitchRange), this.boundingSphere = t, f = !1, h = !1;
|
155561
|
-
} else
|
155562
|
-
|
155563
|
-
} else
|
155564
|
-
!l && this._mode !== SceneMode$1.SCENE2D && Cartesian3.clone(d.position, this._offset3D);
|
155464
|
+
} else (!m || !defined(p.getValue(e, this._offset3D))) && Cartesian3.clone(EntityView._defaultOffset3D, this._offset3D);
|
155465
|
+
} else !l && this._mode !== SceneMode$1.SCENE2D && Cartesian3.clone(d.position, this._offset3D);
|
155565
155466
|
this._lastEntity = o, this._mode = r, updateTransform(
|
155566
155467
|
this,
|
155567
155468
|
d,
|
@@ -155630,20 +155531,17 @@ function identity(e) {
|
|
155630
155531
|
return e;
|
155631
155532
|
}
|
155632
155533
|
function transform(e) {
|
155633
|
-
if (e == null)
|
155634
|
-
return identity;
|
155534
|
+
if (e == null) return identity;
|
155635
155535
|
var t, n, i = e.scale[0], r = e.scale[1], o = e.translate[0], s = e.translate[1];
|
155636
155536
|
return function(c, l) {
|
155637
155537
|
l || (t = n = 0);
|
155638
155538
|
var d = 2, f = c.length, h = new Array(f);
|
155639
|
-
for (h[0] = (t += c[0]) * i + o, h[1] = (n += c[1]) * r + s; d < f; )
|
155640
|
-
h[d] = c[d], ++d;
|
155539
|
+
for (h[0] = (t += c[0]) * i + o, h[1] = (n += c[1]) * r + s; d < f; ) h[d] = c[d], ++d;
|
155641
155540
|
return h;
|
155642
155541
|
};
|
155643
155542
|
}
|
155644
155543
|
function reverse(e, t) {
|
155645
|
-
for (var n, i = e.length, r = i - t; r < --i; )
|
155646
|
-
n = e[r], e[r++] = e[i], e[i] = n;
|
155544
|
+
for (var n, i = e.length, r = i - t; r < --i; ) n = e[r], e[r++] = e[i], e[i] = n;
|
155647
155545
|
}
|
155648
155546
|
function feature(e, t) {
|
155649
155547
|
return typeof t == "string" && (t = e.objects[t]), t.type === "GeometryCollection" ? { type: "FeatureCollection", features: t.geometries.map(function(n) {
|
@@ -155666,13 +155564,11 @@ function object(e, t) {
|
|
155666
155564
|
return n(f);
|
155667
155565
|
}
|
155668
155566
|
function s(f) {
|
155669
|
-
for (var h = [], p = 0, m = f.length; p < m; ++p)
|
155670
|
-
r(f[p], h);
|
155567
|
+
for (var h = [], p = 0, m = f.length; p < m; ++p) r(f[p], h);
|
155671
155568
|
return h.length < 2 && h.push(h[0]), h;
|
155672
155569
|
}
|
155673
155570
|
function c(f) {
|
155674
|
-
for (var h = s(f); h.length < 4; )
|
155675
|
-
h.push(h[0]);
|
155571
|
+
for (var h = s(f); h.length < 4; ) h.push(h[0]);
|
155676
155572
|
return h;
|
155677
155573
|
}
|
155678
155574
|
function l(f) {
|
@@ -155783,8 +155679,7 @@ function createObject(e, t, n) {
|
|
155783
155679
|
if (d > 1 && h === "title") {
|
155784
155680
|
d = 1, s = f;
|
155785
155681
|
break;
|
155786
|
-
} else
|
155787
|
-
d > 2 && h === "name" ? (d = 2, s = f) : d > 3 && /title/i.test(f) ? (d = 3, s = f) : d > 4 && /name/i.test(f) && (d = 4, s = f);
|
155682
|
+
} else d > 2 && h === "name" ? (d = 2, s = f) : d > 3 && /title/i.test(f) ? (d = 3, s = f) : d > 4 && /name/i.test(f) && (d = 4, s = f);
|
155788
155683
|
}
|
155789
155684
|
defined(s) && (r.name = o[s]);
|
155790
155685
|
}
|
@@ -156510,8 +156405,7 @@ var AnchorTagBuilder = (
|
|
156510
156405
|
return extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, i) {
|
156511
156406
|
n.__proto__ = i;
|
156512
156407
|
} || function(n, i) {
|
156513
|
-
for (var r in i)
|
156514
|
-
Object.prototype.hasOwnProperty.call(i, r) && (n[r] = i[r]);
|
156408
|
+
for (var r in i) Object.prototype.hasOwnProperty.call(i, r) && (n[r] = i[r]);
|
156515
156409
|
}, extendStatics(e, t);
|
156516
156410
|
};
|
156517
156411
|
function __extends(e, t) {
|
@@ -156527,8 +156421,7 @@ var __assign = function() {
|
|
156527
156421
|
return __assign = Object.assign || function(t) {
|
156528
156422
|
for (var n, i = 1, r = arguments.length; i < r; i++) {
|
156529
156423
|
n = arguments[i];
|
156530
|
-
for (var o in n)
|
156531
|
-
Object.prototype.hasOwnProperty.call(n, o) && (t[o] = n[o]);
|
156424
|
+
for (var o in n) Object.prototype.hasOwnProperty.call(n, o) && (t[o] = n[o]);
|
156532
156425
|
}
|
156533
156426
|
return t;
|
156534
156427
|
}, __assign.apply(this, arguments);
|
@@ -158687,8 +158580,7 @@ function Deflate() {
|
|
158687
158580
|
do
|
158688
158581
|
me(ue, F);
|
158689
158582
|
while (--Se !== 0);
|
158690
|
-
else
|
158691
|
-
ue !== 0 ? (ue != ne && (me(ue, F), Se--), me(REP_3_6, F), oe(Se - 3, 2)) : Se <= 10 ? (me(REPZ_3_10, F), oe(Se - 3, 3)) : (me(REPZ_11_138, F), oe(Se - 11, 7));
|
158583
|
+
else ue !== 0 ? (ue != ne && (me(ue, F), Se--), me(REP_3_6, F), oe(Se - 3, 2)) : Se <= 10 ? (me(REPZ_3_10, F), oe(Se - 3, 3)) : (me(REPZ_11_138, F), oe(Se - 11, 7));
|
158692
158584
|
Se = 0, ne = ue, pe === 0 ? (we = 138, Ee = 3) : ue == pe ? (we = 6, Ee = 3) : (we = 7, Ee = 4);
|
158693
158585
|
}
|
158694
158586
|
}
|
@@ -162417,8 +162309,7 @@ async function runWorker(e, t) {
|
|
162417
162309
|
if (pendingRequests.length) {
|
162418
162310
|
const [{ resolve: T, stream: x, workerOptions: b }] = pendingRequests.splice(0, 1);
|
162419
162311
|
T(new CodecWorker(C, x, b, y));
|
162420
|
-
} else
|
162421
|
-
C.worker ? (clearTerminateTimeout(C), terminateWorker(C, t)) : pool = pool.filter((T) => T != C);
|
162312
|
+
} else C.worker ? (clearTerminateTimeout(C), terminateWorker(C, t)) : pool = pool.filter((T) => T != C);
|
162422
162313
|
}
|
162423
162314
|
}
|
162424
162315
|
function terminateWorker(e, t) {
|
@@ -163695,8 +163586,7 @@ function playEntry(e, t, n) {
|
|
163695
163586
|
s >= 0 && o._activeEntries.splice(s, 1);
|
163696
163587
|
}), r(e, t, n);
|
163697
163588
|
}
|
163698
|
-
} else
|
163699
|
-
defined(n) && n(!1);
|
163589
|
+
} else defined(n) && n(!1);
|
163700
163590
|
}
|
163701
163591
|
function playNext(e, t, n, i) {
|
163702
163592
|
const r = this.playlist[this.playlistIndex];
|
@@ -164136,18 +164026,17 @@ function processTimeSpan(e) {
|
|
164136
164026
|
stop: s
|
164137
164027
|
})
|
164138
164028
|
);
|
164139
|
-
} else
|
164140
|
-
|
164141
|
-
|
164142
|
-
|
164143
|
-
|
164144
|
-
|
164145
|
-
|
164146
|
-
|
164147
|
-
|
164148
|
-
|
164149
|
-
|
164150
|
-
));
|
164029
|
+
} else defined(r) ? (n = new TimeIntervalCollection(), n.addInterval(
|
164030
|
+
new TimeInterval({
|
164031
|
+
start: r,
|
164032
|
+
stop: Iso8601$1.MAXIMUM_VALUE
|
164033
|
+
})
|
164034
|
+
)) : defined(s) && (n = new TimeIntervalCollection(), n.addInterval(
|
164035
|
+
new TimeInterval({
|
164036
|
+
start: Iso8601$1.MINIMUM_VALUE,
|
164037
|
+
stop: s
|
164038
|
+
})
|
164039
|
+
));
|
164151
164040
|
return n;
|
164152
164041
|
}
|
164153
164042
|
function createDefaultBillboard() {
|
@@ -165313,14 +165202,13 @@ function processNetworkLink(e, t, n, i) {
|
|
165313
165202
|
"kml-refreshMode-onExpire",
|
165314
165203
|
"KML - refreshMode of onExpire requires the NetworkLinkControl to have an expires element"
|
165315
165204
|
);
|
165316
|
-
} else
|
165317
|
-
|
165318
|
-
|
165319
|
-
|
165320
|
-
|
165321
|
-
|
165322
|
-
|
165323
|
-
);
|
165205
|
+
} else defined(e.camera) ? (P.refreshMode = RefreshMode.STOP, P.time = defaultValue(
|
165206
|
+
queryNumericValue(l, "viewRefreshTime", namespaces.kml),
|
165207
|
+
0
|
165208
|
+
)) : oneTimeWarning(
|
165209
|
+
"kml-refrehMode-onStop-noCamera",
|
165210
|
+
"A NetworkLink with viewRefreshMode=onStop requires the `camera` property to be defined."
|
165211
|
+
);
|
165324
165212
|
defined(P.refreshMode) && e._networkLinks.set(P.id, P);
|
165325
165213
|
}
|
165326
165214
|
}).catch(function(C) {
|
@@ -167891,14 +167779,13 @@ GoogleEarthEnterpriseTerrainProvider.prototype.requestTileGeometry = function(e,
|
|
167891
167779
|
if (o.tidy(), c.ancestorHasTerrain) {
|
167892
167780
|
if (l === TerrainState.NONE)
|
167893
167781
|
return Promise.reject(new RuntimeError("Terrain tile doesn't exist"));
|
167894
|
-
} else
|
167895
|
-
|
167896
|
-
new
|
167897
|
-
|
167898
|
-
|
167899
|
-
|
167900
|
-
|
167901
|
-
);
|
167782
|
+
} else return Promise.resolve(
|
167783
|
+
new HeightmapTerrainData({
|
167784
|
+
buffer: new Uint8Array(16 * 16),
|
167785
|
+
width: 16,
|
167786
|
+
height: 16
|
167787
|
+
})
|
167788
|
+
);
|
167902
167789
|
let f, h = r, p = -1;
|
167903
167790
|
switch (l) {
|
167904
167791
|
case TerrainState.SELF:
|