@vcmap/ui 6.0.0-rc.3 → 6.0.0-rc.6
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/buildTypes.js +9 -5
- 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 -7
- package/config/dev.config.json +11 -1
- package/config/projects.config.json +2 -1
- package/config/theming.config.json +68 -0
- package/config/www.config.json +27 -23
- package/dist/assets/@mdi/font/css/{materialdesignicons.min-7a4f6be0.css → materialdesignicons.min-680621ca.css} +1 -1
- package/dist/assets/{cesium-cb4dbfba.js → cesium-ccb4cc30.js} +272 -385
- package/dist/assets/cesium.js +1 -1
- package/dist/assets/{core-72f21835.js → core-e06aa7a6.js} +2313 -2321
- package/dist/assets/core.js +1 -1
- package/dist/assets/{ol-2d33bc8b.js → ol-e7981d5c.js} +233 -329
- package/dist/assets/ol.js +1 -1
- package/dist/assets/ui-5dda32d2.css +1 -0
- package/dist/assets/{ui-2ab43a16.js → ui-5dda32d2.js} +11344 -11078
- package/dist/assets/ui.js +1 -1
- package/dist/assets/vue-87bc6efe.js +6083 -0
- package/dist/assets/vue.js +1 -1
- package/dist/assets/{vuetify-760ced3b.css → vuetify-4c4e4217.css} +2 -2
- package/dist/assets/{vuetify-760ced3b.js → vuetify-4c4e4217.js} +8063 -8262
- package/dist/assets/vuetify.js +1 -1
- package/index.d.ts +27 -17
- package/index.js +16 -8
- package/package.json +17 -17
- package/plugins/@vcmap-show-case/custom-icons-example/README.md +3 -0
- package/plugins/@vcmap-show-case/custom-icons-example/assets/imageExample.png +0 -0
- package/plugins/@vcmap-show-case/custom-icons-example/assets/svgExample.svg +1 -0
- package/plugins/@vcmap-show-case/custom-icons-example/package.json +5 -0
- package/plugins/@vcmap-show-case/custom-icons-example/src/CustomIconsExample.vue +90 -0
- package/plugins/@vcmap-show-case/custom-icons-example/src/index.js +45 -0
- package/plugins/@vcmap-show-case/form-inputs-example/src/FormInputsExample.vue +2 -3
- package/plugins/@vcmap-show-case/plugin-editors/src/PluginEditors.vue +11 -7
- 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/theming-example/README.md +3 -0
- package/plugins/@vcmap-show-case/theming-example/package.json +5 -0
- package/plugins/@vcmap-show-case/theming-example/src/ThemingExample.vue +116 -0
- package/plugins/@vcmap-show-case/theming-example/src/index.js +53 -0
- package/plugins/@vcmap-show-case/toolbox-example/src/index.js +2 -1
- package/plugins/package.json +7 -23
- package/public/assets/@mdi/font/css/materialdesignicons.min.css +1 -1
- package/src/actions/StyleSelector.vue +1 -1
- package/src/actions/actionHelper.d.ts +4 -11
- package/src/actions/actionHelper.js +15 -7
- package/src/actions/listActions.d.ts +5 -5
- package/src/actions/listActions.js +2 -2
- package/src/application/VcsApp.vue +113 -50
- package/src/application/VcsApp.vue.d.ts +301 -4
- package/src/application/VcsAttributionsFooter.vue.d.ts +1 -1
- package/src/application/VcsContainer.vue +27 -10
- package/src/application/VcsContainer.vue.d.ts +241 -0
- package/src/application/VcsMainMap.vue +7 -7
- package/src/application/VcsMainMap.vue.d.ts +2 -2
- package/src/application/VcsNavbar.vue +14 -2
- package/src/application/VcsNavbar.vue.d.ts +1 -0
- package/src/application/VcsSplashScreen.vue +33 -26
- package/src/application/VcsTextPageFooter.vue +2 -1
- package/src/application/attributionsHelper.d.ts +20 -22
- package/src/application/attributionsHelper.js +4 -4
- package/src/callback/vcsCallback.d.ts +2 -2
- package/src/callback/vcsCallback.js +1 -1
- package/src/components/buttons/VcsActionButtonList.vue +61 -6
- package/src/components/buttons/VcsActionButtonList.vue.d.ts +28 -0
- package/src/components/buttons/VcsButton.vue +2 -4
- package/src/components/buttons/VcsButton.vue.d.ts +1 -1
- package/src/components/buttons/VcsFormButton.vue +4 -4
- package/src/components/buttons/VcsToolButton.vue +4 -2
- package/src/components/buttons/VcsToolButton.vue.d.ts +2 -2
- package/src/components/composables.d.ts +5 -0
- package/src/components/composables.js +79 -9
- package/src/components/extent/VcsExtent.vue +10 -6
- package/src/components/extent/VcsExtent.vue.d.ts +1 -0
- package/src/components/flight/VcsFlightComponent.vue +13 -13
- package/src/components/flight/VcsFlightComponent.vue.d.ts +1 -0
- package/src/components/form-inputs-controls/VcsCheckbox.vue +8 -3
- package/src/components/form-inputs-controls/VcsChipArrayInput.vue +13 -16
- package/src/components/form-inputs-controls/VcsChipArrayInput.vue.d.ts +2 -4
- package/src/components/form-inputs-controls/VcsCoordinate.vue +4 -4
- package/src/components/form-inputs-controls/VcsFileInput.vue +1 -1
- package/src/components/form-inputs-controls/VcsLabel.vue +1 -1
- package/src/components/form-inputs-controls/VcsRadio.vue +8 -6
- package/src/components/form-inputs-controls/VcsRadio.vue.d.ts +1 -0
- package/src/components/form-inputs-controls/VcsSelect.vue +2 -5
- package/src/components/form-inputs-controls/VcsSlider.vue +5 -6
- package/src/components/form-inputs-controls/VcsSlider.vue.d.ts +2 -4
- package/src/components/form-inputs-controls/VcsTextArea.vue +2 -5
- package/src/components/form-inputs-controls/VcsTextField.vue +24 -1
- package/src/components/form-inputs-controls/VcsTextField.vue.d.ts +11 -1
- package/src/components/form-inputs-controls/VcsWizard.vue +3 -3
- package/src/components/form-inputs-controls/VcsWizardStep.vue +6 -5
- package/src/components/form-inputs-controls/vcsTextField.scss +8 -5
- package/src/components/form-output/VcsFormattedNumber.vue +7 -5
- 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 +8 -4
- package/src/components/import/VcsImportComponent.vue.d.ts +1 -2
- package/src/components/lists/VcsActionList.vue +6 -6
- 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} +37 -11
- package/src/components/lists/VcsListItemComponent.vue.d.ts +79 -0
- package/src/components/lists/VcsTreeview.vue +95 -26
- package/src/components/lists/VcsTreeview.vue.d.ts +16 -3
- package/src/components/lists/VcsTreeviewSearchbar.vue +16 -5
- package/src/components/lists/VcsTreeviewSearchbar.vue.d.ts +3 -1
- package/src/components/lists/VcsTreeviewTitle.vue +36 -0
- package/src/components/modelHelper.d.ts +10 -8
- package/src/components/modelHelper.js +8 -6
- package/src/components/notification/VcsHelp.vue +6 -7
- package/src/components/notification/VcsHelp.vue.d.ts +0 -8
- package/src/components/plugins/AbstractConfigEditor.vue +1 -22
- package/src/components/plugins/AbstractConfigEditor.vue.d.ts +6 -29
- package/src/components/section/VcsExpansionPanel.vue +9 -3
- package/src/components/section/VcsExpansionPanel.vue.d.ts +2 -2
- package/src/components/section/VcsFormSection.vue +13 -7
- package/src/components/section/VcsFormSection.vue.d.ts +2 -3
- package/src/components/style/VcsImageSelector.vue +14 -6
- package/src/components/style/VcsImageSelector.vue.d.ts +1 -0
- package/src/components/style/VcsStrokeSelector.vue +5 -2
- package/src/components/style/VcsStrokeSelector.vue.d.ts +1 -0
- package/src/components/style/VcsTextMenu.vue +3 -3
- package/src/components/style/VcsVectorStyleComponent.vue +1 -1
- package/src/components/tables/VcsDataTable.vue +42 -32
- package/src/components/tables/VcsDataTable.vue.d.ts +1 -0
- 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/vector-properties/VcsVectorPropertiesComponent.vue +42 -31
- package/src/components/vector-properties/VcsVectorPropertiesComponent.vue.d.ts +1 -0
- package/src/components/viewpoint/VcsViewpointComponent.vue +14 -11
- package/src/components/viewpoint/VcsViewpointComponent.vue.d.ts +1 -0
- 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/contentTree/contentTreeItem.d.ts +2 -2
- package/src/contentTree/contentTreeItem.js +1 -1
- package/src/featureInfo/BalloonComponent.vue +32 -25
- package/src/featureInfo/BalloonComponent.vue.d.ts +1 -0
- package/src/featureInfo/MarkdownBalloonComponent.vue +4 -2
- package/src/featureInfo/MarkdownBalloonComponent.vue.d.ts +2 -2
- package/src/featureInfo/abstractFeatureInfoView.d.ts +10 -4
- package/src/featureInfo/abstractFeatureInfoView.js +19 -11
- package/src/featureInfo/featureInfo.d.ts +7 -7
- 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/i18n/i18nCollection.d.ts +9 -15
- package/src/i18n/i18nCollection.js +3 -3
- package/src/legend/VcsLegend.vue +6 -2
- package/src/legend/VcsLegend.vue.d.ts +1 -0
- package/src/manager/collectionManager/CollectionComponentList.vue +2 -2
- package/src/manager/collectionManager/CollectionComponentList.vue.d.ts +2 -2
- package/src/manager/collectionManager/categoryManager.d.ts +1 -1
- package/src/manager/collectionManager/collectionComponentClass.d.ts +3 -3
- package/src/manager/collectionManager/collectionComponentClass.js +6 -6
- package/src/manager/collectionManager/collectionManager.d.ts +1 -1
- 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 +11 -5
- package/src/manager/toolbox/GroupToolboxComponent.vue.d.ts +1 -0
- package/src/manager/toolbox/SelectToolboxComponent.vue +11 -6
- package/src/manager/toolbox/SelectToolboxComponent.vue.d.ts +1 -0
- package/src/manager/toolbox/{ToolboxManager.vue → ToolboxManagerComponent.vue} +13 -7
- package/src/manager/toolbox/{ToolboxManager.vue.d.ts → ToolboxManagerComponent.vue.d.ts} +1 -0
- package/src/manager/window/WindowComponent.vue +12 -8
- package/src/manager/window/WindowComponentHeader.vue +33 -9
- package/src/manager/window/WindowComponentHeader.vue.d.ts +3 -0
- package/src/manager/window/WindowManager.vue +2 -2
- package/src/manager/window/windowManager.d.ts +6 -6
- package/src/manager/window/windowManager.js +3 -3
- package/src/navigation/MapNavigation.vue +20 -0
- package/src/navigation/OrientationToolsButton.vue +2 -4
- package/src/navigation/TiltSlider.vue +3 -5
- 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 +11 -15
- 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/styles/vcsList.scss +1 -1
- package/src/uiConfig.d.ts +311 -7
- package/src/uiConfig.js +30 -17
- package/src/vcsUiApp.d.ts +48 -63
- package/src/vcsUiApp.js +44 -37
- package/src/vuePlugins/vuetify.d.ts +88 -62
- package/src/vuePlugins/vuetify.js +119 -20
- package/dist/assets/ui-2ab43a16.css +0 -1
- package/dist/assets/vue-03b265aa.js +0 -6096
- package/plugins/@vcmap-show-case/theme-changer/README.md +0 -23
- package/plugins/@vcmap-show-case/theme-changer/config.json +0 -69
- package/plugins/@vcmap-show-case/theme-changer/package.json +0 -11
- package/plugins/@vcmap-show-case/theme-changer/src/ThemeChangerComponent.vue +0 -120
- package/plugins/@vcmap-show-case/theme-changer/src/index.js +0 -108
- 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/lists/VcsTreeviewLeaf.vue +0 -83
- 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
- /package/src/components/lists/{VcsTreeviewLeaf.vue.d.ts → VcsTreeviewTitle.vue.d.ts} +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
var ty = Object.defineProperty;
|
2
2
|
var iy = (n, e, t) => e in n ? ty(n, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[e] = t;
|
3
|
-
var Gf = (n, e, t) =>
|
3
|
+
var Gf = (n, e, t) => iy(n, typeof e != "symbol" ? e + "" : e, t);
|
4
4
|
class ny {
|
5
5
|
/**
|
6
6
|
* @param {string} type Type.
|
@@ -314,8 +314,7 @@ function ee(n, e, t, i, r) {
|
|
314
314
|
t = function() {
|
315
315
|
n.removeEventListener(e, t), o.apply(i ?? this, arguments);
|
316
316
|
};
|
317
|
-
} else
|
318
|
-
i && i !== n && (t = t.bind(i));
|
317
|
+
} else i && i !== n && (t = t.bind(i));
|
319
318
|
const s = {
|
320
319
|
target: n,
|
321
320
|
type: e,
|
@@ -6544,10 +6543,8 @@ function fI(n, e, t, i, r) {
|
|
6544
6543
|
}
|
6545
6544
|
var u = n[e], g = t, d = i;
|
6546
6545
|
for (Vo(n, t, e), r(n[i], u) > 0 && Vo(n, t, i); g < d; ) {
|
6547
|
-
for (Vo(n, g, d), g++, d--; r(n[g], u) < 0; )
|
6548
|
-
|
6549
|
-
for (; r(n[d], u) > 0; )
|
6550
|
-
d--;
|
6546
|
+
for (Vo(n, g, d), g++, d--; r(n[g], u) < 0; ) g++;
|
6547
|
+
for (; r(n[d], u) > 0; ) d--;
|
6551
6548
|
}
|
6552
6549
|
r(n[t], u) === 0 ? Vo(n, t, d) : (d++, Vo(n, d, i)), d <= e && (t = d + 1), e <= d && (i = d - 1);
|
6553
6550
|
}
|
@@ -6569,8 +6566,7 @@ let Yg = class {
|
|
6569
6566
|
search(e) {
|
6570
6567
|
let t = this.data;
|
6571
6568
|
const i = [];
|
6572
|
-
if (!bl(e, t))
|
6573
|
-
return i;
|
6569
|
+
if (!bl(e, t)) return i;
|
6574
6570
|
const r = this.toBBox, s = [];
|
6575
6571
|
for (; t; ) {
|
6576
6572
|
for (let o = 0; o < t.children.length; o++) {
|
@@ -6583,15 +6579,13 @@ let Yg = class {
|
|
6583
6579
|
}
|
6584
6580
|
collides(e) {
|
6585
6581
|
let t = this.data;
|
6586
|
-
if (!bl(e, t))
|
6587
|
-
return !1;
|
6582
|
+
if (!bl(e, t)) return !1;
|
6588
6583
|
const i = [];
|
6589
6584
|
for (; t; ) {
|
6590
6585
|
for (let r = 0; r < t.children.length; r++) {
|
6591
6586
|
const s = t.children[r], o = t.leaf ? this.toBBox(s) : s;
|
6592
6587
|
if (bl(e, o)) {
|
6593
|
-
if (t.leaf || fh(e, o))
|
6594
|
-
return !0;
|
6588
|
+
if (t.leaf || fh(e, o)) return !0;
|
6595
6589
|
i.push(s);
|
6596
6590
|
}
|
6597
6591
|
}
|
@@ -6600,8 +6594,7 @@ let Yg = class {
|
|
6600
6594
|
return !1;
|
6601
6595
|
}
|
6602
6596
|
load(e) {
|
6603
|
-
if (!(e && e.length))
|
6604
|
-
return this;
|
6597
|
+
if (!(e && e.length)) return this;
|
6605
6598
|
if (e.length < this._minEntries) {
|
6606
6599
|
for (let i = 0; i < e.length; i++)
|
6607
6600
|
this.insert(e[i]);
|
@@ -6628,8 +6621,7 @@ let Yg = class {
|
|
6628
6621
|
return this.data = vs([]), this;
|
6629
6622
|
}
|
6630
6623
|
remove(e, t) {
|
6631
|
-
if (!e)
|
6632
|
-
return this;
|
6624
|
+
if (!e) return this;
|
6633
6625
|
let i = this.data;
|
6634
6626
|
const r = this.toBBox(e), s = [], o = [];
|
6635
6627
|
let a, l, A;
|
@@ -6747,11 +6739,9 @@ let Yg = class {
|
|
6747
6739
|
}
|
6748
6740
|
};
|
6749
6741
|
function Jw(n, e, t) {
|
6750
|
-
if (!t)
|
6751
|
-
return e.indexOf(n);
|
6742
|
+
if (!t) return e.indexOf(n);
|
6752
6743
|
for (let i = 0; i < e.length; i++)
|
6753
|
-
if (t(n, e[i]))
|
6754
|
-
return i;
|
6744
|
+
if (t(n, e[i])) return i;
|
6755
6745
|
return -1;
|
6756
6746
|
}
|
6757
6747
|
function ps(n, e) {
|
@@ -6807,8 +6797,7 @@ function vs(n) {
|
|
6807
6797
|
function em(n, e, t, i, r) {
|
6808
6798
|
const s = [e, t];
|
6809
6799
|
for (; s.length; ) {
|
6810
|
-
if (t = s.pop(), e = s.pop(), t - e <= i)
|
6811
|
-
continue;
|
6800
|
+
if (t = s.pop(), e = s.pop(), t - e <= i) continue;
|
6812
6801
|
const o = e + Math.ceil((t - e) / i / 2) * i;
|
6813
6802
|
Ww(n, o, e, t, r), s.push(e, o, o, t);
|
6814
6803
|
}
|
@@ -7120,8 +7109,7 @@ const Gi = Hr, Vg = {
|
|
7120
7109
|
alias: ["LUV", "cieluv", "cie1976"],
|
7121
7110
|
xyz: function(n, e, t) {
|
7122
7111
|
var i, r, s, o, a, l, A, c, h, u, g, d, m;
|
7123
|
-
if (s = n[0], o = n[1], a = n[2], s === 0)
|
7124
|
-
return [0, 0, 0];
|
7112
|
+
if (s = n[0], o = n[1], a = n[2], s === 0) return [0, 0, 0];
|
7125
7113
|
var f = 0.0011070564598794539;
|
7126
7114
|
return e = e || "D65", t = t || 2, h = Gi.whitepoint[t][e][0], u = Gi.whitepoint[t][e][1], g = Gi.whitepoint[t][e][2], d = 4 * h / (h + 15 * u + 3 * g), m = 9 * u / (h + 15 * u + 3 * g), i = o / (13 * s) + d || 0, r = a / (13 * s) + m || 0, A = s > 8 ? u * Math.pow((s + 16) / 116, 3) : u * s * f, l = A * 9 * i / (4 * r) || 0, c = A * (12 - 3 * i - 20 * r) / (4 * r) || 0, [l, A, c];
|
7127
7115
|
}
|
@@ -7316,8 +7304,7 @@ function rx(n) {
|
|
7316
7304
|
var e, t = [], i = 1, r;
|
7317
7305
|
if (typeof n == "number")
|
7318
7306
|
return { space: "rgb", values: [n >>> 16, (n & 65280) >>> 8, n & 255], alpha: 1 };
|
7319
|
-
if (typeof n == "number")
|
7320
|
-
return { space: "rgb", values: [n >>> 16, (n & 65280) >>> 8, n & 255], alpha: 1 };
|
7307
|
+
if (typeof n == "number") return { space: "rgb", values: [n >>> 16, (n & 65280) >>> 8, n & 255], alpha: 1 };
|
7321
7308
|
if (n = String(n).toLowerCase(), im[n])
|
7322
7309
|
t = im[n].slice(), r = "rgb";
|
7323
7310
|
else if (n === "transparent")
|
@@ -7341,23 +7328,17 @@ function rx(n) {
|
|
7341
7328
|
if (u[u.length - 1] === "%")
|
7342
7329
|
return u = parseFloat(u) / 100, g === 3 ? u : r === "rgb" ? u * 255 : r[0] === "h" || r[0] === "l" && !g ? u * 100 : r === "lab" ? u * 125 : r === "lch" ? g < 2 ? u * 150 : u * 360 : r[0] === "o" && !g ? u : r === "oklab" ? u * 0.4 : r === "oklch" ? g < 2 ? u * 0.4 : u * 360 : u;
|
7343
7330
|
if (r[g] === "h" || g === 2 && r[r.length - 1] === "h") {
|
7344
|
-
if (nm[u] !== void 0)
|
7345
|
-
|
7346
|
-
if (u.endsWith("
|
7347
|
-
|
7348
|
-
if (u.endsWith("
|
7349
|
-
return parseFloat(u) * 360;
|
7350
|
-
if (u.endsWith("grad"))
|
7351
|
-
return parseFloat(u) * 360 / 400;
|
7352
|
-
if (u.endsWith("rad"))
|
7353
|
-
return parseFloat(u) * 180 / Math.PI;
|
7331
|
+
if (nm[u] !== void 0) return nm[u];
|
7332
|
+
if (u.endsWith("deg")) return parseFloat(u);
|
7333
|
+
if (u.endsWith("turn")) return parseFloat(u) * 360;
|
7334
|
+
if (u.endsWith("grad")) return parseFloat(u) * 360 / 400;
|
7335
|
+
if (u.endsWith("rad")) return parseFloat(u) * 180 / Math.PI;
|
7354
7336
|
}
|
7355
7337
|
return u === "none" ? 0 : parseFloat(u);
|
7356
7338
|
}), i = t.length > A ? t.pop() : 1;
|
7357
|
-
} else
|
7358
|
-
|
7359
|
-
|
7360
|
-
}), r = ((h = (c = n.match(/([a-z])/ig)) == null ? void 0 : c.join("")) == null ? void 0 : h.toLowerCase()) || "rgb");
|
7339
|
+
} else /[0-9](?:\s|\/|,)/.test(n) && (t = n.match(/([0-9]+)/g).map(function(u) {
|
7340
|
+
return parseFloat(u);
|
7341
|
+
}), r = ((h = (c = n.match(/([a-z])/ig)) == null ? void 0 : c.join("")) == null ? void 0 : h.toLowerCase()) || "rgb");
|
7361
7342
|
return {
|
7362
7343
|
space: r,
|
7363
7344
|
values: t,
|
@@ -7372,8 +7353,7 @@ const mh = {
|
|
7372
7353
|
alias: ["HSL"],
|
7373
7354
|
rgb: function(n) {
|
7374
7355
|
var e = n[0] / 360, t = n[1] / 100, i = n[2] / 100, r, s, o, a, l, A = 0;
|
7375
|
-
if (t === 0)
|
7376
|
-
return l = i * 255, [l, l, l];
|
7356
|
+
if (t === 0) return l = i * 255, [l, l, l];
|
7377
7357
|
for (s = i < 0.5 ? i * (1 + t) : i + t - i * t, r = 2 * i - s, a = [0, 0, 0]; A < 3; )
|
7378
7358
|
o = e + 1 / 3 * -(A - 1), o < 0 ? o++ : o > 1 && o--, l = 6 * o < 1 ? r + (s - r) * 6 * o : 2 * o < 1 ? s : 3 * o < 2 ? r + (s - r) * (2 / 3 - o) * 6 : r, a[A++] = l * 255;
|
7379
7359
|
return a;
|
@@ -7386,8 +7366,7 @@ va.hsl = function(n) {
|
|
7386
7366
|
function sx(n) {
|
7387
7367
|
Array.isArray(n) && n.raw && (n = String.raw(...arguments)), n instanceof Number && (n = +n);
|
7388
7368
|
var e, t = rx(n);
|
7389
|
-
if (!t.space)
|
7390
|
-
return [];
|
7369
|
+
if (!t.space) return [];
|
7391
7370
|
const i = t.space[0] === "h" ? mh.min : va.min, r = t.space[0] === "h" ? mh.max : va.max;
|
7392
7371
|
return e = Array(3), e[0] = Math.min(Math.max(t.values[0], i[0]), r[0]), e[1] = Math.min(Math.max(t.values[1], i[1]), r[1]), e[2] = Math.min(Math.max(t.values[2], i[2]), r[2]), t.space[0] === "h" && (e = mh.rgb(e)), e.push(Math.min(Math.max(t.alpha, 0), 1)), e;
|
7393
7372
|
}
|
@@ -11702,8 +11681,7 @@ class dB extends Co {
|
|
11702
11681
|
delete this.trackedTouches_[r];
|
11703
11682
|
break;
|
11704
11683
|
}
|
11705
|
-
} else
|
11706
|
-
(t.type == me.POINTERDOWN || t.type == me.POINTERMOVE) && (this.trackedTouches_[i] = t);
|
11684
|
+
} else (t.type == me.POINTERDOWN || t.type == me.POINTERMOVE) && (this.trackedTouches_[i] = t);
|
11707
11685
|
this.activePointers_ = Object.values(this.trackedTouches_);
|
11708
11686
|
}
|
11709
11687
|
/**
|
@@ -12593,8 +12571,7 @@ class LB extends Kn {
|
|
12593
12571
|
} else if (e.type == me.POINTERDOWN) {
|
12594
12572
|
const i = this.handleDownEvent(e);
|
12595
12573
|
this.handlingDownUpSequence = i, t = this.stopDown(i);
|
12596
|
-
} else
|
12597
|
-
e.type == me.POINTERMOVE && this.handleMoveEvent(e);
|
12574
|
+
} else e.type == me.POINTERMOVE && this.handleMoveEvent(e);
|
12598
12575
|
return !t;
|
12599
12576
|
}
|
12600
12577
|
/**
|
@@ -12779,8 +12756,7 @@ class NB extends Hi {
|
|
12779
12756
|
], a = e.map.getView();
|
12780
12757
|
Wp(s, a.getResolution()), yg(s, a.getRotation()), a.adjustCenterInternal(s);
|
12781
12758
|
}
|
12782
|
-
} else
|
12783
|
-
this.kinetic_ && this.kinetic_.begin();
|
12759
|
+
} else this.kinetic_ && this.kinetic_.begin();
|
12784
12760
|
this.lastCentroid = r, this.lastPointersCount_ = i.length, e.originalEvent.preventDefault();
|
12785
12761
|
}
|
12786
12762
|
/**
|
@@ -15485,8 +15461,7 @@ class yS extends jn {
|
|
15485
15461
|
t && this.unbindView_(t);
|
15486
15462
|
const i = this.getMap().getView();
|
15487
15463
|
this.bindView_(i);
|
15488
|
-
} else
|
15489
|
-
!this.ovmap_.isRendered() && (e.key === ht.TARGET || e.key === ht.SIZE) && this.ovmap_.updateSize();
|
15464
|
+
} else !this.ovmap_.isRendered() && (e.key === ht.TARGET || e.key === ht.SIZE) && this.ovmap_.updateSize();
|
15490
15465
|
}
|
15491
15466
|
/**
|
15492
15467
|
* Register listeners for view property changes.
|
@@ -17630,8 +17605,7 @@ class WS {
|
|
17630
17605
|
default:
|
17631
17606
|
return;
|
17632
17607
|
}
|
17633
|
-
else
|
17634
|
-
typeof i == "number" && t.uniform1f(s.location, i);
|
17608
|
+
else typeof i == "number" && t.uniform1f(s.location, i);
|
17635
17609
|
});
|
17636
17610
|
}
|
17637
17611
|
}
|
@@ -17954,8 +17928,7 @@ class t1 extends el {
|
|
17954
17928
|
default:
|
17955
17929
|
return;
|
17956
17930
|
}
|
17957
|
-
else
|
17958
|
-
typeof i == "number" && t.uniform1f(this.getUniformLocation(s.name), i);
|
17931
|
+
else typeof i == "number" && t.uniform1f(this.getUniformLocation(s.name), i);
|
17959
17932
|
});
|
17960
17933
|
}
|
17961
17934
|
/**
|
@@ -26177,20 +26150,19 @@ class ET extends vo {
|
|
26177
26150
|
if (typeof e == "string") {
|
26178
26151
|
const i = xi(e);
|
26179
26152
|
Be(t, this.readNetworkLinksFromDocument(i));
|
26180
|
-
} else
|
26181
|
-
|
26182
|
-
|
26183
|
-
|
26184
|
-
|
26185
|
-
|
26186
|
-
|
26187
|
-
|
26188
|
-
|
26189
|
-
|
26190
|
-
|
26191
|
-
|
26192
|
-
|
26193
|
-
);
|
26153
|
+
} else wi(e) ? Be(
|
26154
|
+
t,
|
26155
|
+
this.readNetworkLinksFromDocument(
|
26156
|
+
/** @type {Document} */
|
26157
|
+
e
|
26158
|
+
)
|
26159
|
+
) : Be(
|
26160
|
+
t,
|
26161
|
+
this.readNetworkLinksFromNode(
|
26162
|
+
/** @type {Element} */
|
26163
|
+
e
|
26164
|
+
)
|
26165
|
+
);
|
26194
26166
|
return t;
|
26195
26167
|
}
|
26196
26168
|
/**
|
@@ -26241,17 +26213,16 @@ class ET extends vo {
|
|
26241
26213
|
if (typeof e == "string") {
|
26242
26214
|
const i = xi(e);
|
26243
26215
|
Be(t, this.readRegionFromDocument(i));
|
26244
|
-
} else
|
26245
|
-
|
26246
|
-
|
26247
|
-
|
26248
|
-
/** @type {Document} */
|
26249
|
-
e
|
26250
|
-
)
|
26251
|
-
) : Be(t, this.readRegionFromNode(
|
26252
|
-
/** @type {Element} */
|
26216
|
+
} else wi(e) ? Be(
|
26217
|
+
t,
|
26218
|
+
this.readRegionFromDocument(
|
26219
|
+
/** @type {Document} */
|
26253
26220
|
e
|
26254
|
-
)
|
26221
|
+
)
|
26222
|
+
) : Be(t, this.readRegionFromNode(
|
26223
|
+
/** @type {Element} */
|
26224
|
+
e
|
26225
|
+
));
|
26255
26226
|
return t;
|
26256
26227
|
}
|
26257
26228
|
/**
|
@@ -26310,17 +26281,16 @@ class ET extends vo {
|
|
26310
26281
|
if (typeof e == "string") {
|
26311
26282
|
const i = xi(e);
|
26312
26283
|
Be(t, this.readCameraFromDocument(i));
|
26313
|
-
} else
|
26314
|
-
|
26315
|
-
|
26316
|
-
|
26317
|
-
/** @type {Document} */
|
26318
|
-
e
|
26319
|
-
)
|
26320
|
-
) : Be(t, this.readCameraFromNode(
|
26321
|
-
/** @type {Element} */
|
26284
|
+
} else wi(e) ? Be(
|
26285
|
+
t,
|
26286
|
+
this.readCameraFromDocument(
|
26287
|
+
/** @type {Document} */
|
26322
26288
|
e
|
26323
|
-
)
|
26289
|
+
)
|
26290
|
+
) : Be(t, this.readCameraFromNode(
|
26291
|
+
/** @type {Element} */
|
26292
|
+
e
|
26293
|
+
));
|
26324
26294
|
return t;
|
26325
26295
|
}
|
26326
26296
|
/**
|
@@ -27801,64 +27771,55 @@ class jQ {
|
|
27801
27771
|
*/
|
27802
27772
|
readPackedVarint(e = [], t) {
|
27803
27773
|
const i = this.readPackedEnd();
|
27804
|
-
for (; this.pos < i; )
|
27805
|
-
e.push(this.readVarint(t));
|
27774
|
+
for (; this.pos < i; ) e.push(this.readVarint(t));
|
27806
27775
|
return e;
|
27807
27776
|
}
|
27808
27777
|
/** @param {number[]} [arr] */
|
27809
27778
|
readPackedSVarint(e = []) {
|
27810
27779
|
const t = this.readPackedEnd();
|
27811
|
-
for (; this.pos < t; )
|
27812
|
-
e.push(this.readSVarint());
|
27780
|
+
for (; this.pos < t; ) e.push(this.readSVarint());
|
27813
27781
|
return e;
|
27814
27782
|
}
|
27815
27783
|
/** @param {boolean[]} [arr] */
|
27816
27784
|
readPackedBoolean(e = []) {
|
27817
27785
|
const t = this.readPackedEnd();
|
27818
|
-
for (; this.pos < t; )
|
27819
|
-
e.push(this.readBoolean());
|
27786
|
+
for (; this.pos < t; ) e.push(this.readBoolean());
|
27820
27787
|
return e;
|
27821
27788
|
}
|
27822
27789
|
/** @param {number[]} [arr] */
|
27823
27790
|
readPackedFloat(e = []) {
|
27824
27791
|
const t = this.readPackedEnd();
|
27825
|
-
for (; this.pos < t; )
|
27826
|
-
e.push(this.readFloat());
|
27792
|
+
for (; this.pos < t; ) e.push(this.readFloat());
|
27827
27793
|
return e;
|
27828
27794
|
}
|
27829
27795
|
/** @param {number[]} [arr] */
|
27830
27796
|
readPackedDouble(e = []) {
|
27831
27797
|
const t = this.readPackedEnd();
|
27832
|
-
for (; this.pos < t; )
|
27833
|
-
e.push(this.readDouble());
|
27798
|
+
for (; this.pos < t; ) e.push(this.readDouble());
|
27834
27799
|
return e;
|
27835
27800
|
}
|
27836
27801
|
/** @param {number[]} [arr] */
|
27837
27802
|
readPackedFixed32(e = []) {
|
27838
27803
|
const t = this.readPackedEnd();
|
27839
|
-
for (; this.pos < t; )
|
27840
|
-
e.push(this.readFixed32());
|
27804
|
+
for (; this.pos < t; ) e.push(this.readFixed32());
|
27841
27805
|
return e;
|
27842
27806
|
}
|
27843
27807
|
/** @param {number[]} [arr] */
|
27844
27808
|
readPackedSFixed32(e = []) {
|
27845
27809
|
const t = this.readPackedEnd();
|
27846
|
-
for (; this.pos < t; )
|
27847
|
-
e.push(this.readSFixed32());
|
27810
|
+
for (; this.pos < t; ) e.push(this.readSFixed32());
|
27848
27811
|
return e;
|
27849
27812
|
}
|
27850
27813
|
/** @param {number[]} [arr] */
|
27851
27814
|
readPackedFixed64(e = []) {
|
27852
27815
|
const t = this.readPackedEnd();
|
27853
|
-
for (; this.pos < t; )
|
27854
|
-
e.push(this.readFixed64());
|
27816
|
+
for (; this.pos < t; ) e.push(this.readFixed64());
|
27855
27817
|
return e;
|
27856
27818
|
}
|
27857
27819
|
/** @param {number[]} [arr] */
|
27858
27820
|
readPackedSFixed64(e = []) {
|
27859
27821
|
const t = this.readPackedEnd();
|
27860
|
-
for (; this.pos < t; )
|
27861
|
-
e.push(this.readSFixed64());
|
27822
|
+
for (; this.pos < t; ) e.push(this.readSFixed64());
|
27862
27823
|
return e;
|
27863
27824
|
}
|
27864
27825
|
readPackedEnd() {
|
@@ -27867,17 +27828,12 @@ class jQ {
|
|
27867
27828
|
/** @param {number} val */
|
27868
27829
|
skip(e) {
|
27869
27830
|
const t = e & 7;
|
27870
|
-
if (t === bh)
|
27871
|
-
|
27872
|
-
|
27873
|
-
else if (t ===
|
27874
|
-
|
27875
|
-
else
|
27876
|
-
this.pos += 4;
|
27877
|
-
else if (t === Yl)
|
27878
|
-
this.pos += 8;
|
27879
|
-
else
|
27880
|
-
throw new Error(`Unimplemented type: ${t}`);
|
27831
|
+
if (t === bh) for (; this.buf[this.pos++] > 127; )
|
27832
|
+
;
|
27833
|
+
else if (t === Zo) this.pos = this.readVarint() + this.pos;
|
27834
|
+
else if (t === zl) this.pos += 4;
|
27835
|
+
else if (t === Yl) this.pos += 8;
|
27836
|
+
else throw new Error(`Unimplemented type: ${t}`);
|
27881
27837
|
}
|
27882
27838
|
// === WRITING =================================================================
|
27883
27839
|
/**
|
@@ -27890,8 +27846,7 @@ class jQ {
|
|
27890
27846
|
/** @param {number} min */
|
27891
27847
|
realloc(e) {
|
27892
27848
|
let t = this.length || 16;
|
27893
|
-
for (; t < this.pos + e; )
|
27894
|
-
t *= 2;
|
27849
|
+
for (; t < this.pos + e; ) t *= 2;
|
27895
27850
|
if (t !== this.length) {
|
27896
27851
|
const i = new Uint8Array(t);
|
27897
27852
|
i.set(this.buf), this.buf = i, this.dataView = new DataView(i.buffer), this.length = t;
|
@@ -27952,8 +27907,7 @@ class jQ {
|
|
27952
27907
|
writeBytes(e) {
|
27953
27908
|
const t = e.length;
|
27954
27909
|
this.writeVarint(t), this.realloc(t);
|
27955
|
-
for (let i = 0; i < t; i++)
|
27956
|
-
this.buf[this.pos++] = e[i];
|
27910
|
+
for (let i = 0; i < t; i++) this.buf[this.pos++] = e[i];
|
27957
27911
|
}
|
27958
27912
|
/**
|
27959
27913
|
* @template T
|
@@ -28120,8 +28074,7 @@ class jQ {
|
|
28120
28074
|
function KQ(n, e, t) {
|
28121
28075
|
const i = t.buf;
|
28122
28076
|
let r, s;
|
28123
|
-
if (s = i[t.pos++], r = (s & 112) >> 4, s < 128 || (s = i[t.pos++], r |= (s & 127) << 3, s < 128) || (s = i[t.pos++], r |= (s & 127) << 10, s < 128) || (s = i[t.pos++], r |= (s & 127) << 17, s < 128) || (s = i[t.pos++], r |= (s & 127) << 24, s < 128) || (s = i[t.pos++], r |= (s & 1) << 31, s < 128))
|
28124
|
-
return _s(n, r, e);
|
28077
|
+
if (s = i[t.pos++], r = (s & 112) >> 4, s < 128 || (s = i[t.pos++], r |= (s & 127) << 3, s < 128) || (s = i[t.pos++], r |= (s & 127) << 10, s < 128) || (s = i[t.pos++], r |= (s & 127) << 17, s < 128) || (s = i[t.pos++], r |= (s & 127) << 24, s < 128) || (s = i[t.pos++], r |= (s & 1) << 31, s < 128)) return _s(n, r, e);
|
28125
28078
|
throw new Error("Expected varint not more than 10 bytes");
|
28126
28079
|
}
|
28127
28080
|
function _s(n, e, t) {
|
@@ -28143,52 +28096,41 @@ function WQ(n, e) {
|
|
28143
28096
|
function Vm(n, e, t) {
|
28144
28097
|
const i = e <= 16383 ? 1 : e <= 2097151 ? 2 : e <= 268435455 ? 3 : Math.floor(Math.log(e) / (Math.LN2 * 7));
|
28145
28098
|
t.realloc(i);
|
28146
|
-
for (let r = t.pos - 1; r >= n; r--)
|
28147
|
-
t.buf[r + i] = t.buf[r];
|
28099
|
+
for (let r = t.pos - 1; r >= n; r--) t.buf[r + i] = t.buf[r];
|
28148
28100
|
}
|
28149
28101
|
function ZQ(n, e) {
|
28150
|
-
for (let t = 0; t < n.length; t++)
|
28151
|
-
e.writeVarint(n[t]);
|
28102
|
+
for (let t = 0; t < n.length; t++) e.writeVarint(n[t]);
|
28152
28103
|
}
|
28153
28104
|
function JQ(n, e) {
|
28154
|
-
for (let t = 0; t < n.length; t++)
|
28155
|
-
e.writeSVarint(n[t]);
|
28105
|
+
for (let t = 0; t < n.length; t++) e.writeSVarint(n[t]);
|
28156
28106
|
}
|
28157
28107
|
function ev(n, e) {
|
28158
|
-
for (let t = 0; t < n.length; t++)
|
28159
|
-
e.writeFloat(n[t]);
|
28108
|
+
for (let t = 0; t < n.length; t++) e.writeFloat(n[t]);
|
28160
28109
|
}
|
28161
28110
|
function tv(n, e) {
|
28162
|
-
for (let t = 0; t < n.length; t++)
|
28163
|
-
e.writeDouble(n[t]);
|
28111
|
+
for (let t = 0; t < n.length; t++) e.writeDouble(n[t]);
|
28164
28112
|
}
|
28165
28113
|
function iv(n, e) {
|
28166
|
-
for (let t = 0; t < n.length; t++)
|
28167
|
-
e.writeBoolean(n[t]);
|
28114
|
+
for (let t = 0; t < n.length; t++) e.writeBoolean(n[t]);
|
28168
28115
|
}
|
28169
28116
|
function nv(n, e) {
|
28170
|
-
for (let t = 0; t < n.length; t++)
|
28171
|
-
e.writeFixed32(n[t]);
|
28117
|
+
for (let t = 0; t < n.length; t++) e.writeFixed32(n[t]);
|
28172
28118
|
}
|
28173
28119
|
function rv(n, e) {
|
28174
|
-
for (let t = 0; t < n.length; t++)
|
28175
|
-
e.writeSFixed32(n[t]);
|
28120
|
+
for (let t = 0; t < n.length; t++) e.writeSFixed32(n[t]);
|
28176
28121
|
}
|
28177
28122
|
function sv(n, e) {
|
28178
|
-
for (let t = 0; t < n.length; t++)
|
28179
|
-
e.writeFixed64(n[t]);
|
28123
|
+
for (let t = 0; t < n.length; t++) e.writeFixed64(n[t]);
|
28180
28124
|
}
|
28181
28125
|
function ov(n, e) {
|
28182
|
-
for (let t = 0; t < n.length; t++)
|
28183
|
-
e.writeSFixed64(n[t]);
|
28126
|
+
for (let t = 0; t < n.length; t++) e.writeSFixed64(n[t]);
|
28184
28127
|
}
|
28185
28128
|
function av(n, e, t) {
|
28186
28129
|
let i = "", r = e;
|
28187
28130
|
for (; r < t; ) {
|
28188
28131
|
const s = n[r];
|
28189
28132
|
let o = null, a = s > 239 ? 4 : s > 223 ? 3 : s > 191 ? 2 : 1;
|
28190
|
-
if (r + a > t)
|
28191
|
-
break;
|
28133
|
+
if (r + a > t) break;
|
28192
28134
|
let l, A, c;
|
28193
28135
|
a === 1 ? s < 128 && (o = s) : a === 2 ? (l = n[r + 1], (l & 192) === 128 && (o = (s & 31) << 6 | l & 63, o <= 127 && (o = null))) : a === 3 ? (l = n[r + 1], A = n[r + 2], (l & 192) === 128 && (A & 192) === 128 && (o = (s & 15) << 12 | (l & 63) << 6 | A & 63, (o <= 2047 || o >= 55296 && o <= 57343) && (o = null))) : a === 4 && (l = n[r + 1], A = n[r + 2], c = n[r + 3], (l & 192) === 128 && (A & 192) === 128 && (c & 192) === 128 && (o = (s & 15) << 18 | (l & 63) << 12 | (A & 63) << 6 | c & 63, (o <= 65535 || o >= 1114112) && (o = null))), o === null ? (o = 65533, a = 1) : o > 65535 && (o -= 65536, i += String.fromCharCode(o >>> 10 & 1023 | 55296), o = 56320 | o & 1023), i += String.fromCharCode(o), r += a;
|
28194
28136
|
}
|
@@ -28207,8 +28149,7 @@ function lv(n, e, t) {
|
|
28207
28149
|
r > 56319 || i + 1 === e.length ? (n[t++] = 239, n[t++] = 191, n[t++] = 189) : s = r;
|
28208
28150
|
continue;
|
28209
28151
|
}
|
28210
|
-
else
|
28211
|
-
s && (n[t++] = 239, n[t++] = 191, n[t++] = 189, s = null);
|
28152
|
+
else s && (n[t++] = 239, n[t++] = 191, n[t++] = 189, s = null);
|
28212
28153
|
r < 128 ? n[t++] = r : (r < 2048 ? n[t++] = r >> 6 | 192 : (r < 65536 ? n[t++] = r >> 12 | 224 : (n[t++] = r >> 18 | 240, n[t++] = r >> 12 & 63 | 128), n[t++] = r >> 6 & 63 | 128), n[t++] = r & 63 | 128);
|
28213
28154
|
}
|
28214
28155
|
return t;
|
@@ -28404,8 +28345,7 @@ function uv(n, e, t) {
|
|
28404
28345
|
const r = e.layer.keys[t.readVarint()], s = e.layer.values[t.readVarint()];
|
28405
28346
|
e.properties[r] = s;
|
28406
28347
|
}
|
28407
|
-
} else
|
28408
|
-
n == 3 ? e.type = t.readVarint() : n == 4 && (e.geometry = t.pos);
|
28348
|
+
} else n == 3 ? e.type = t.readVarint() : n == 4 && (e.geometry = t.pos);
|
28409
28349
|
}
|
28410
28350
|
function gv(n, e, t) {
|
28411
28351
|
n.pos = e.features[t];
|
@@ -33985,84 +33925,83 @@ class hb {
|
|
33985
33925
|
zo,
|
33986
33926
|
N ? 0 : this.viewRotation_
|
33987
33927
|
);
|
33988
|
-
e:
|
33989
|
-
|
33990
|
-
|
33991
|
-
|
33992
|
-
|
33993
|
-
|
33994
|
-
|
33995
|
-
|
33996
|
-
|
33997
|
-
|
33998
|
-
|
33999
|
-
|
34000
|
-
|
34001
|
-
|
34002
|
-
|
34003
|
-
|
34004
|
-
|
34005
|
-
|
34006
|
-
|
34007
|
-
|
34008
|
-
|
34009
|
-
|
34010
|
-
|
34011
|
-
|
34012
|
-
|
34013
|
-
|
34014
|
-
|
34015
|
-
|
34016
|
-
|
34017
|
-
|
34018
|
-
|
34019
|
-
|
34020
|
-
|
34021
|
-
|
34022
|
-
|
34023
|
-
|
34024
|
-
|
34025
|
-
|
34026
|
-
|
34027
|
-
|
34028
|
-
|
34029
|
-
|
34030
|
-
|
34031
|
-
|
34032
|
-
|
34033
|
-
|
34034
|
-
|
34035
|
-
|
34036
|
-
|
34037
|
-
|
34038
|
-
|
34039
|
-
|
34040
|
-
|
34041
|
-
|
34042
|
-
|
34043
|
-
|
34044
|
-
|
34045
|
-
|
34046
|
-
|
34047
|
-
|
34048
|
-
|
34049
|
-
|
34050
|
-
|
34051
|
-
|
34052
|
-
|
34053
|
-
|
34054
|
-
|
34055
|
-
|
34056
|
-
|
34057
|
-
|
34058
|
-
|
34059
|
-
|
34060
|
-
|
34061
|
-
|
34062
|
-
|
34063
|
-
|
34064
|
-
|
34065
|
-
}
|
33928
|
+
e: if (Ii) {
|
33929
|
+
const qi = [];
|
33930
|
+
let _i, wn, xn, at, Ut;
|
33931
|
+
if (B)
|
33932
|
+
for (_i = 0, wn = Ii.length; _i < wn; ++_i) {
|
33933
|
+
Ut = Ii[_i], xn = /** @type {string} */
|
33934
|
+
Ut[4], at = this.createLabel(xn, x, "", B), m = /** @type {number} */
|
33935
|
+
Ut[2] + (Yo[0] < 0 ? -lh : lh), f = ah * at.height + (0.5 - ah) * 2 * lh * Yo[1] / Yo[0] - bf;
|
33936
|
+
const Bn = this.calculateImageOrLabelDimensions_(
|
33937
|
+
at.width,
|
33938
|
+
at.height,
|
33939
|
+
Ut[0],
|
33940
|
+
Ut[1],
|
33941
|
+
at.width,
|
33942
|
+
at.height,
|
33943
|
+
m,
|
33944
|
+
f,
|
33945
|
+
0,
|
33946
|
+
0,
|
33947
|
+
Ut[3],
|
33948
|
+
Mf,
|
33949
|
+
!1,
|
33950
|
+
br,
|
33951
|
+
!1,
|
33952
|
+
Y
|
33953
|
+
);
|
33954
|
+
if (l && E === "declutter" && l.collides(Bn.declutterBox))
|
33955
|
+
break e;
|
33956
|
+
qi.push([
|
33957
|
+
e,
|
33958
|
+
t,
|
33959
|
+
at,
|
33960
|
+
Bn,
|
33961
|
+
1,
|
33962
|
+
null,
|
33963
|
+
null
|
33964
|
+
]);
|
33965
|
+
}
|
33966
|
+
if (T)
|
33967
|
+
for (_i = 0, wn = Ii.length; _i < wn; ++_i) {
|
33968
|
+
Ut = Ii[_i], xn = /** @type {string} */
|
33969
|
+
Ut[4], at = this.createLabel(xn, x, T, ""), m = /** @type {number} */
|
33970
|
+
Ut[2], f = ah * at.height - bf;
|
33971
|
+
const Bn = this.calculateImageOrLabelDimensions_(
|
33972
|
+
at.width,
|
33973
|
+
at.height,
|
33974
|
+
Ut[0],
|
33975
|
+
Ut[1],
|
33976
|
+
at.width,
|
33977
|
+
at.height,
|
33978
|
+
m,
|
33979
|
+
f,
|
33980
|
+
0,
|
33981
|
+
0,
|
33982
|
+
Ut[3],
|
33983
|
+
Mf,
|
33984
|
+
!1,
|
33985
|
+
br,
|
33986
|
+
!1,
|
33987
|
+
Y
|
33988
|
+
);
|
33989
|
+
if (l && E === "declutter" && l.collides(Bn.declutterBox))
|
33990
|
+
break e;
|
33991
|
+
qi.push([
|
33992
|
+
e,
|
33993
|
+
t,
|
33994
|
+
at,
|
33995
|
+
Bn,
|
33996
|
+
1,
|
33997
|
+
null,
|
33998
|
+
null
|
33999
|
+
]);
|
34000
|
+
}
|
34001
|
+
l && E !== "none" && l.load(qi.map(pE));
|
34002
|
+
for (let Bn = 0, ey = qi.length; Bn < ey; ++Bn)
|
34003
|
+
this.replayImageOrLabel_.apply(this, qi[Bn]);
|
34004
|
+
}
|
34066
34005
|
}
|
34067
34006
|
++h;
|
34068
34007
|
break;
|
@@ -37853,8 +37792,7 @@ class Hb extends Hi {
|
|
37853
37792
|
if (this.toggleTraceState_(e), this.shouldHandle_) {
|
37854
37793
|
const r = !this.finishCoordinate_;
|
37855
37794
|
r && this.startDrawing_(e.coordinate), !r && this.freehand_ ? this.finishDrawing() : !this.freehand_ && (!r || this.mode_ === "Point") && (this.atFinish_(e.pixel, i) ? this.finishCondition_(e) && this.finishDrawing() : this.addToDrawing_(e.coordinate)), t = !1;
|
37856
|
-
} else
|
37857
|
-
this.freehand_ && this.abortDrawing();
|
37795
|
+
} else this.freehand_ && this.abortDrawing();
|
37858
37796
|
}
|
37859
37797
|
return !t && this.stopClick_ && e.preventDefault(), t;
|
37860
37798
|
}
|
@@ -40528,8 +40466,7 @@ function m2(n, e, t = 2) {
|
|
40528
40466
|
const i = e && e.length, r = i ? e[0] * t : n.length;
|
40529
40467
|
let s = A0(n, 0, r, t, !0);
|
40530
40468
|
const o = [];
|
40531
|
-
if (!s || s.next === s.prev)
|
40532
|
-
return o;
|
40469
|
+
if (!s || s.next === s.prev) return o;
|
40533
40470
|
let a, l, A;
|
40534
40471
|
if (i && (s = C2(n, e, s, t)), n.length > 80 * t) {
|
40535
40472
|
a = 1 / 0, l = 1 / 0;
|
@@ -40545,22 +40482,18 @@ function m2(n, e, t = 2) {
|
|
40545
40482
|
function A0(n, e, t, i, r) {
|
40546
40483
|
let s;
|
40547
40484
|
if (r === L2(n, e, t, i) > 0)
|
40548
|
-
for (let o = e; o < t; o += i)
|
40549
|
-
s = TE(o / i | 0, n[o], n[o + 1], s);
|
40485
|
+
for (let o = e; o < t; o += i) s = TE(o / i | 0, n[o], n[o + 1], s);
|
40550
40486
|
else
|
40551
|
-
for (let o = t - i; o >= e; o -= i)
|
40552
|
-
s = TE(o / i | 0, n[o], n[o + 1], s);
|
40487
|
+
for (let o = t - i; o >= e; o -= i) s = TE(o / i | 0, n[o], n[o + 1], s);
|
40553
40488
|
return s && jc(s, s.next) && (Ya(s), s = s.next), s;
|
40554
40489
|
}
|
40555
40490
|
function Xr(n, e) {
|
40556
|
-
if (!n)
|
40557
|
-
return n;
|
40491
|
+
if (!n) return n;
|
40558
40492
|
e || (e = n);
|
40559
40493
|
let t = n, i;
|
40560
40494
|
do
|
40561
40495
|
if (i = !1, !t.steiner && (jc(t, t.next) || nt(t.prev, t, t.next) === 0)) {
|
40562
|
-
if (Ya(t), t = e = t.prev, t === t.next)
|
40563
|
-
break;
|
40496
|
+
if (Ya(t), t = e = t.prev, t === t.next) break;
|
40564
40497
|
i = !0;
|
40565
40498
|
} else
|
40566
40499
|
t = t.next;
|
@@ -40568,8 +40501,7 @@ function Xr(n, e) {
|
|
40568
40501
|
return e;
|
40569
40502
|
}
|
40570
40503
|
function Oa(n, e, t, i, r, s, o) {
|
40571
|
-
if (!n)
|
40572
|
-
return;
|
40504
|
+
if (!n) return;
|
40573
40505
|
!o && s && S2(n, i, r, s);
|
40574
40506
|
let a = n;
|
40575
40507
|
for (; n.prev !== n.next; ) {
|
@@ -40586,36 +40518,30 @@ function Oa(n, e, t, i, r, s, o) {
|
|
40586
40518
|
}
|
40587
40519
|
function E2(n) {
|
40588
40520
|
const e = n.prev, t = n, i = n.next;
|
40589
|
-
if (nt(e, t, i) >= 0)
|
40590
|
-
return !1;
|
40521
|
+
if (nt(e, t, i) >= 0) return !1;
|
40591
40522
|
const r = e.x, s = t.x, o = i.x, a = e.y, l = t.y, A = i.y, c = r < s ? r < o ? r : o : s < o ? s : o, h = a < l ? a < A ? a : A : l < A ? l : A, u = r > s ? r > o ? r : o : s > o ? s : o, g = a > l ? a > A ? a : A : l > A ? l : A;
|
40592
40523
|
let d = i.next;
|
40593
40524
|
for (; d !== e; ) {
|
40594
|
-
if (d.x >= c && d.x <= u && d.y >= h && d.y <= g && Os(r, a, s, l, o, A, d.x, d.y) && nt(d.prev, d, d.next) >= 0)
|
40595
|
-
return !1;
|
40525
|
+
if (d.x >= c && d.x <= u && d.y >= h && d.y <= g && Os(r, a, s, l, o, A, d.x, d.y) && nt(d.prev, d, d.next) >= 0) return !1;
|
40596
40526
|
d = d.next;
|
40597
40527
|
}
|
40598
40528
|
return !0;
|
40599
40529
|
}
|
40600
40530
|
function p2(n, e, t, i) {
|
40601
40531
|
const r = n.prev, s = n, o = n.next;
|
40602
|
-
if (nt(r, s, o) >= 0)
|
40603
|
-
return !1;
|
40532
|
+
if (nt(r, s, o) >= 0) return !1;
|
40604
40533
|
const a = r.x, l = s.x, A = o.x, c = r.y, h = s.y, u = o.y, g = a < l ? a < A ? a : A : l < A ? l : A, d = c < h ? c < u ? c : u : h < u ? h : u, m = a > l ? a > A ? a : A : l > A ? l : A, f = c > h ? c > u ? c : u : h > u ? h : u, E = Hu(g, d, e, t, i), p = Hu(m, f, e, t, i);
|
40605
40534
|
let I = n.prevZ, _ = n.nextZ;
|
40606
40535
|
for (; I && I.z >= E && _ && _.z <= p; ) {
|
40607
|
-
if (I.x >= g && I.x <= m && I.y >= d && I.y <= f && I !== r && I !== o && Os(a, c, l, h, A, u, I.x, I.y) && nt(I.prev, I, I.next) >= 0 || (I = I.prevZ, _.x >= g && _.x <= m && _.y >= d && _.y <= f && _ !== r && _ !== o && Os(a, c, l, h, A, u, _.x, _.y) && nt(_.prev, _, _.next) >= 0))
|
40608
|
-
return !1;
|
40536
|
+
if (I.x >= g && I.x <= m && I.y >= d && I.y <= f && I !== r && I !== o && Os(a, c, l, h, A, u, I.x, I.y) && nt(I.prev, I, I.next) >= 0 || (I = I.prevZ, _.x >= g && _.x <= m && _.y >= d && _.y <= f && _ !== r && _ !== o && Os(a, c, l, h, A, u, _.x, _.y) && nt(_.prev, _, _.next) >= 0)) return !1;
|
40609
40537
|
_ = _.nextZ;
|
40610
40538
|
}
|
40611
40539
|
for (; I && I.z >= E; ) {
|
40612
|
-
if (I.x >= g && I.x <= m && I.y >= d && I.y <= f && I !== r && I !== o && Os(a, c, l, h, A, u, I.x, I.y) && nt(I.prev, I, I.next) >= 0)
|
40613
|
-
return !1;
|
40540
|
+
if (I.x >= g && I.x <= m && I.y >= d && I.y <= f && I !== r && I !== o && Os(a, c, l, h, A, u, I.x, I.y) && nt(I.prev, I, I.next) >= 0) return !1;
|
40614
40541
|
I = I.prevZ;
|
40615
40542
|
}
|
40616
40543
|
for (; _ && _.z <= p; ) {
|
40617
|
-
if (_.x >= g && _.x <= m && _.y >= d && _.y <= f && _ !== r && _ !== o && Os(a, c, l, h, A, u, _.x, _.y) && nt(_.prev, _, _.next) >= 0)
|
40618
|
-
return !1;
|
40544
|
+
if (_.x >= g && _.x <= m && _.y >= d && _.y <= f && _ !== r && _ !== o && Os(a, c, l, h, A, u, _.x, _.y) && nt(_.prev, _, _.next) >= 0) return !1;
|
40619
40545
|
_ = _.nextZ;
|
40620
40546
|
}
|
40621
40547
|
return !0;
|
@@ -40676,8 +40602,7 @@ function x2(n, e) {
|
|
40676
40602
|
}
|
40677
40603
|
t = t.next;
|
40678
40604
|
} while (t !== e);
|
40679
|
-
if (!o)
|
40680
|
-
return null;
|
40605
|
+
if (!o) return null;
|
40681
40606
|
const a = o, l = o.x, A = o.y;
|
40682
40607
|
let c = 1 / 0;
|
40683
40608
|
t = o;
|
@@ -40758,8 +40683,7 @@ function tA(n) {
|
|
40758
40683
|
function v2(n, e) {
|
40759
40684
|
let t = n;
|
40760
40685
|
do {
|
40761
|
-
if (t.i !== n.i && t.next.i !== n.i && t.i !== e.i && t.next.i !== e.i && c0(t, t.next, n, e))
|
40762
|
-
return !0;
|
40686
|
+
if (t.i !== n.i && t.next.i !== n.i && t.i !== e.i && t.next.i !== e.i && c0(t, t.next, n, e)) return !0;
|
40763
40687
|
t = t.next;
|
40764
40688
|
} while (t !== n);
|
40765
40689
|
return !1;
|
@@ -47778,8 +47702,7 @@ function V0(n, e, t) {
|
|
47778
47702
|
const l = o[a], A = e + "\\=" + l + "([^" + l + "]*)" + l;
|
47779
47703
|
i && console.log("[xml-utils] pattern:", A);
|
47780
47704
|
const h = new RegExp(A).exec(s);
|
47781
|
-
if (i && console.log("[xml-utils] match:", h), h)
|
47782
|
-
return h[1];
|
47705
|
+
if (i && console.log("[xml-utils] match:", h), h) return h[1];
|
47783
47706
|
}
|
47784
47707
|
}
|
47785
47708
|
gf.exports = V0;
|
@@ -47814,8 +47737,7 @@ function q0(n, e, t) {
|
|
47814
47737
|
i && console.log("[xml-utils] starting findTagByName with", e, " and ", t);
|
47815
47738
|
const o = pP(n, `<${e}[
|
47816
47739
|
>/]`, s);
|
47817
|
-
if (i && console.log("[xml-utils] start:", o), o === -1)
|
47818
|
-
return;
|
47740
|
+
if (i && console.log("[xml-utils] start:", o), o === -1) return;
|
47819
47741
|
const a = n.slice(o + e.length);
|
47820
47742
|
let l = Wh(a, "^[^<]*[ /]>", 0);
|
47821
47743
|
const A = l !== -1 && a[l - 1] === "/";
|
@@ -47825,15 +47747,13 @@ function q0(n, e, t) {
|
|
47825
47747
|
for (; (l = Wh(a, "[ /]" + e + ">", g)) !== -1; ) {
|
47826
47748
|
const f = a.substring(g, l + 1);
|
47827
47749
|
if (d += ME(f, "<" + e + `[
|
47828
|
-
>]`), m += ME(f, "</" + e + ">"), m >= d)
|
47829
|
-
break;
|
47750
|
+
>]`), m += ME(f, "</" + e + ">"), m >= d) break;
|
47830
47751
|
g = l;
|
47831
47752
|
}
|
47832
47753
|
} else
|
47833
47754
|
l = Wh(a, "[ /]" + e + ">", 0);
|
47834
47755
|
const c = o + e.length + l + 1;
|
47835
|
-
if (i && console.log("[xml-utils] end:", c), c === -1)
|
47836
|
-
return;
|
47756
|
+
if (i && console.log("[xml-utils] end:", c), c === -1) return;
|
47837
47757
|
const h = n.slice(o, c);
|
47838
47758
|
let u;
|
47839
47759
|
return A ? u = null : u = h.slice(h.indexOf(">") + 1, h.lastIndexOf("<")), { inner: u, outer: h, start: o, end: c };
|
@@ -49728,8 +49648,7 @@ class yf extends If {
|
|
49728
49648
|
length: r.byteLength
|
49729
49649
|
}];
|
49730
49650
|
}
|
49731
|
-
else
|
49732
|
-
throw new Error("Error fetching data.");
|
49651
|
+
else throw new Error("Error fetching data.");
|
49733
49652
|
}
|
49734
49653
|
async fetchSlice(e, t) {
|
49735
49654
|
const { offset: i, length: r } = e, s = await this.client.request({
|
@@ -49757,8 +49676,7 @@ class yf extends If {
|
|
49757
49676
|
length: o.byteLength
|
49758
49677
|
};
|
49759
49678
|
}
|
49760
|
-
else
|
49761
|
-
throw new Error("Error fetching data.");
|
49679
|
+
else throw new Error("Error fetching data.");
|
49762
49680
|
}
|
49763
49681
|
get fileSize() {
|
49764
49682
|
return this._fileSize;
|
@@ -49856,12 +49774,11 @@ function pN(n, e, t, i, r, s) {
|
|
49856
49774
|
throw new Error(`Predictor 2 not allowed with ${r[0]} bits per sample.`);
|
49857
49775
|
}
|
49858
49776
|
mN(A, a);
|
49859
|
-
} else
|
49860
|
-
|
49861
|
-
|
49862
|
-
|
49863
|
-
|
49864
|
-
), EN(A, a, o));
|
49777
|
+
} else e === 3 && (A = new Uint8Array(
|
49778
|
+
n,
|
49779
|
+
l * a * t * o,
|
49780
|
+
a * t * o
|
49781
|
+
), EN(A, a, o));
|
49865
49782
|
}
|
49866
49783
|
return n;
|
49867
49784
|
}
|
@@ -50572,31 +50489,30 @@ class iC extends L0 {
|
|
50572
50489
|
E.unshift(void 0);
|
50573
50490
|
}
|
50574
50491
|
this.getProjection() || this.determineProjection(e), this.samplesPerPixel_ = a, this.nodataValues_ = l, this.metadata_ = A;
|
50575
|
-
e:
|
50576
|
-
|
50577
|
-
|
50578
|
-
|
50579
|
-
|
50580
|
-
|
50581
|
-
|
50582
|
-
|
50583
|
-
|
50584
|
-
|
50585
|
-
|
50586
|
-
|
50587
|
-
|
50588
|
-
if (f[E[p] - 1] !== null) {
|
50589
|
-
this.addAlpha_ = !0;
|
50590
|
-
break e;
|
50591
|
-
}
|
50592
|
-
continue;
|
50593
|
-
}
|
50594
|
-
for (let p = 0; p < f.length; ++p)
|
50595
|
-
if (f[p] !== null) {
|
50492
|
+
e: for (let m = 0; m < h; ++m) {
|
50493
|
+
if (this.sourceInfo_[m].nodata !== void 0) {
|
50494
|
+
this.addAlpha_ = !0;
|
50495
|
+
break;
|
50496
|
+
}
|
50497
|
+
if (this.sourceMasks_[m].length) {
|
50498
|
+
this.addAlpha_ = !0;
|
50499
|
+
break;
|
50500
|
+
}
|
50501
|
+
const f = l[m], E = this.sourceInfo_[m].bands;
|
50502
|
+
if (E) {
|
50503
|
+
for (let p = 0; p < E.length; ++p)
|
50504
|
+
if (f[E[p] - 1] !== null) {
|
50596
50505
|
this.addAlpha_ = !0;
|
50597
50506
|
break e;
|
50598
50507
|
}
|
50508
|
+
continue;
|
50599
50509
|
}
|
50510
|
+
for (let p = 0; p < f.length; ++p)
|
50511
|
+
if (f[p] !== null) {
|
50512
|
+
this.addAlpha_ = !0;
|
50513
|
+
break e;
|
50514
|
+
}
|
50515
|
+
}
|
50600
50516
|
let u = this.addAlpha_ ? 1 : 0;
|
50601
50517
|
for (let m = 0; m < h; ++m)
|
50602
50518
|
u += a[m];
|
@@ -54008,11 +53924,10 @@ function W8(n, e) {
|
|
54008
53924
|
);
|
54009
53925
|
else
|
54010
53926
|
break;
|
54011
|
-
} else
|
54012
|
-
|
54013
|
-
|
54014
|
-
|
54015
|
-
));
|
53927
|
+
} else v[F].href && (S = "KVP", T.push(
|
53928
|
+
/** @type {string} */
|
53929
|
+
v[F].href
|
53930
|
+
));
|
54016
53931
|
}
|
54017
53932
|
return T.length === 0 && (S = "REST", i.ResourceURL.forEach(function(v) {
|
54018
53933
|
v.resourceType === "tile" && (l = v.format, T.push(
|
@@ -54520,11 +54435,10 @@ class jG {
|
|
54520
54435
|
}
|
54521
54436
|
else
|
54522
54437
|
throw new Error("DQT: invalid table spec");
|
54523
|
-
else
|
54524
|
-
|
54525
|
-
|
54526
|
-
|
54527
|
-
}
|
54438
|
+
else for (let h = 0; h < 64; h++) {
|
54439
|
+
const u = Ia[h];
|
54440
|
+
c[u] = e[t++];
|
54441
|
+
}
|
54528
54442
|
this.quantizationTables[A & 15] = c;
|
54529
54443
|
}
|
54530
54444
|
break;
|
@@ -54837,8 +54751,7 @@ const yC = (n) => n < 256 ? ja[n] : ja[256 + (n >>> 7)], qa = (n, e) => {
|
|
54837
54751
|
do
|
54838
54752
|
sn(n, s, n.bl_tree);
|
54839
54753
|
while (--a !== 0);
|
54840
|
-
else
|
54841
|
-
s !== 0 ? (s !== r && (sn(n, s, n.bl_tree), a--), sn(n, fC, n.bl_tree), ii(n, a - 3, 2)) : a <= 10 ? (sn(n, mC, n.bl_tree), ii(n, a - 3, 3)) : (sn(n, EC, n.bl_tree), ii(n, a - 11, 7));
|
54754
|
+
else s !== 0 ? (s !== r && (sn(n, s, n.bl_tree), a--), sn(n, fC, n.bl_tree), ii(n, a - 3, 2)) : a <= 10 ? (sn(n, mC, n.bl_tree), ii(n, a - 3, 3)) : (sn(n, EC, n.bl_tree), ii(n, a - 11, 7));
|
54842
54755
|
a = 0, r = s, o === 0 ? (l = 138, A = 3) : s === o ? (l = 6, A = 3) : (l = 7, A = 4);
|
54843
54756
|
}
|
54844
54757
|
}, lk = (n) => {
|
@@ -55476,8 +55389,7 @@ Qf.prototype.push = function(n, e) {
|
|
55476
55389
|
this.onData(t.output.subarray(0, t.next_out)), t.avail_out = 0;
|
55477
55390
|
continue;
|
55478
55391
|
}
|
55479
|
-
if (t.avail_in === 0)
|
55480
|
-
break;
|
55392
|
+
if (t.avail_in === 0) break;
|
55481
55393
|
}
|
55482
55394
|
return !0;
|
55483
55395
|
};
|
@@ -55908,8 +55820,7 @@ const K$ = (n) => {
|
|
55908
55820
|
a--, A += i[s++] << c, c += 8;
|
55909
55821
|
}
|
55910
55822
|
t.length = A, t.head && (t.head.extra_len = A), t.flags & 512 && t.wrap & 4 && (B[0] = A & 255, B[1] = A >>> 8 & 255, t.check = xt(t.check, B, 2, 0)), A = 0, c = 0;
|
55911
|
-
} else
|
55912
|
-
t.head && (t.head.extra = null);
|
55823
|
+
} else t.head && (t.head.extra = null);
|
55913
55824
|
t.mode = mp;
|
55914
55825
|
case mp:
|
55915
55826
|
if (t.flags & 1024 && (g = t.length, g > a && (g = a), g && (t.head && (y = t.head.extra_len - t.length, t.head.extra || (t.head.extra = new Uint8Array(t.head.extra_len)), t.head.extra.set(
|
@@ -55934,8 +55845,7 @@ const K$ = (n) => {
|
|
55934
55845
|
while (y && g < a);
|
55935
55846
|
if (t.flags & 512 && t.wrap & 4 && (t.check = xt(t.check, i, g, s)), a -= g, s += g, y)
|
55936
55847
|
break e;
|
55937
|
-
} else
|
55938
|
-
t.head && (t.head.name = null);
|
55848
|
+
} else t.head && (t.head.name = null);
|
55939
55849
|
t.length = 0, t.mode = pp;
|
55940
55850
|
case pp:
|
55941
55851
|
if (t.flags & 4096) {
|
@@ -55947,8 +55857,7 @@ const K$ = (n) => {
|
|
55947
55857
|
while (y && g < a);
|
55948
55858
|
if (t.flags & 512 && t.wrap & 4 && (t.check = xt(t.check, i, g, s)), a -= g, s += g, y)
|
55949
55859
|
break e;
|
55950
|
-
} else
|
55951
|
-
t.head && (t.head.comment = null);
|
55860
|
+
} else t.head && (t.head.comment = null);
|
55952
55861
|
t.mode = Ip;
|
55953
55862
|
case Ip:
|
55954
55863
|
if (t.flags & 512) {
|
@@ -56319,8 +56228,7 @@ function Sl(n) {
|
|
56319
56228
|
Sl.prototype.push = function(n, e) {
|
56320
56229
|
const t = this.strm, i = this.options.chunkSize, r = this.options.dictionary;
|
56321
56230
|
let s, o, a;
|
56322
|
-
if (this.ended)
|
56323
|
-
return !1;
|
56231
|
+
if (this.ended) return !1;
|
56324
56232
|
for (e === ~~e ? o = e : o = e === !0 ? uO : hO, jC.call(n) === "[object ArrayBuffer]" ? t.input = new Uint8Array(n) : t.input = n, t.next_in = 0, t.avail_in = t.input.length; ; ) {
|
56325
56233
|
for (t.avail_out === 0 && (t.output = new Uint8Array(i), t.next_out = 0, t.avail_out = i), s = Pn.inflate(t, o), s === Iu && r && (s = Pn.inflateSetDictionary(t, r), s === Ja ? s = Pn.inflate(t, o) : s === Mp && (s = Iu)); t.avail_in > 0 && s === pu && t.state.wrap > 0 && n[t.next_in] !== 0; )
|
56326
56234
|
Pn.inflateReset(t), s = Pn.inflate(t, o);
|
@@ -56340,8 +56248,7 @@ Sl.prototype.push = function(n, e) {
|
|
56340
56248
|
if (!(s === Ja && a === 0)) {
|
56341
56249
|
if (s === pu)
|
56342
56250
|
return s = Pn.inflateEnd(this.strm), this.onEnd(s), this.ended = !0, !0;
|
56343
|
-
if (t.avail_in === 0)
|
56344
|
-
break;
|
56251
|
+
if (t.avail_in === 0) break;
|
56345
56252
|
}
|
56346
56253
|
}
|
56347
56254
|
return !0;
|
@@ -56354,8 +56261,7 @@ Sl.prototype.onEnd = function(n) {
|
|
56354
56261
|
};
|
56355
56262
|
function vf(n, e) {
|
56356
56263
|
const t = new Sl(e);
|
56357
|
-
if (t.push(n), t.err)
|
56358
|
-
throw t.msg || po[t.err];
|
56264
|
+
if (t.push(n), t.err) throw t.msg || po[t.err];
|
56359
56265
|
return t.result;
|
56360
56266
|
}
|
56361
56267
|
function fO(n, e) {
|
@@ -56524,8 +56430,7 @@ var qC = { exports: {} };
|
|
56524
56430
|
if (p !== -32768 || _ < E.length)
|
56525
56431
|
throw "Unexpected end of mask RLE encoding";
|
56526
56432
|
d.mask.bitset = E, u += d.mask.numBytes;
|
56527
|
-
} else
|
56528
|
-
d.mask.numBytes | d.mask.numBlocksY | d.mask.maxValue || (d.mask.bitset = new Uint8Array(Math.ceil(d.width * d.height / 8)));
|
56433
|
+
} else d.mask.numBytes | d.mask.numBlocksY | d.mask.maxValue || (d.mask.bitset = new Uint8Array(Math.ceil(d.width * d.height / 8)));
|
56529
56434
|
f = new DataView(h, u, 16), d.pixels = {}, d.pixels.numBlocksY = f.getUint32(0, !0), d.pixels.numBlocksX = f.getUint32(4, !0), d.pixels.numBytes = f.getUint32(8, !0), d.pixels.maxValue = f.getFloat32(12, !0), u += 16;
|
56530
56435
|
var C = d.pixels.numBlocksX, y = d.pixels.numBlocksY, x = C + (d.width % C > 0 ? 1 : 0), B = y + (d.height % y > 0 ? 1 : 0);
|
56531
56436
|
d.pixels.blocks = new Array(x * B);
|
@@ -57396,8 +57301,7 @@ class QO {
|
|
57396
57301
|
vn = e.instance, _u.env.emscripten_notify_memory_growth(0);
|
57397
57302
|
}
|
57398
57303
|
decode(e, t = 0) {
|
57399
|
-
if (!vn)
|
57400
|
-
throw new Error("ZSTDDecoder: Await .init() before decoding.");
|
57304
|
+
if (!vn) throw new Error("ZSTDDecoder: Await .init() before decoding.");
|
57401
57305
|
const i = e.byteLength, r = vn.exports.malloc(i);
|
57402
57306
|
lg.set(e, r), t = t || Number(vn.exports.ZSTD_findDecompressedSize(r, i));
|
57403
57307
|
const s = vn.exports.malloc(t), o = vn.exports.ZSTD_decompress(s, t, r, i), a = lg.slice(s, s + o);
|