@geoscene/core 4.34.10 → 4.34.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.md +18 -18
- package/README.md +25 -25
- package/WebLinkChart.js +1 -1
- package/assets/geoscene/core/workers/chunks/0f735b0dec173142f3b6.js +1 -1
- package/assets/geoscene/core/workers/chunks/3a457e718a901a45902e.js +1 -1
- package/assets/geoscene/core/workers/chunks/49571d6875de1f2e7e25.js +32 -32
- package/assets/geoscene/core/workers/chunks/7565b382f6b3d2cb46a3.js +1 -1
- package/assets/geoscene/core/workers/chunks/9ff8ee6ed6b98c03ae7e.js +1 -1
- package/assets/geoscene/core/workers/chunks/aa78b69219d9a0ef1c54.js +1 -1
- package/assets/geoscene/core/workers/chunks/ce16489cf7eb0d78c741.js +1 -1
- package/assets/geoscene/core/workers/chunks/d6e0528eacee7ea4c1ce.js +1 -1
- package/assets/geoscene/core/workers/chunks/f651c05604eab83aef5f.js +1 -1
- package/assets/geoscene/css/main.scss +1 -1
- package/assets/geoscene/css/view.scss +1 -1
- package/assets/geoscene/themes/base/_colorVariables.scss +1 -1
- package/assets/geoscene/themes/base/_core.scss +1 -1
- package/assets/geoscene/themes/base/_functions.scss +23 -23
- package/assets/geoscene/themes/base/_layout.scss +11 -11
- package/assets/geoscene/themes/base/_sizes.scss +130 -130
- package/assets/geoscene/themes/base/_type.scss +25 -25
- package/assets/geoscene/themes/base/colors/css/brand_colors.css +76 -76
- package/assets/geoscene/themes/base/colors/css/calcite_core_colors.css +169 -169
- package/assets/geoscene/themes/base/colors/css/calcite_core_colors_dark.css +169 -169
- package/assets/geoscene/themes/base/colors/css/calcite_gray_colors.css +43 -43
- package/assets/geoscene/themes/base/colors/css/calcite_gray_colors_dark.css +43 -43
- package/assets/geoscene/themes/base/colors/css/calcite_highlight_colors.css +43 -43
- package/assets/geoscene/themes/base/colors/css/calcite_highlight_colors_dark.css +43 -43
- package/assets/geoscene/themes/base/colors/css/calcite_vibrant_colors.css +67 -67
- package/assets/geoscene/themes/base/colors/css/calcite_vibrant_colors_dark.css +67 -67
- package/assets/geoscene/themes/base/colors/css/complete.css +610 -610
- package/assets/geoscene/themes/base/colors/css/scss/calcite_core_colors_dark.scss +285 -285
- package/assets/geoscene/themes/base/colors/css/scss/calcite_gray_colors_dark.scss +91 -91
- package/assets/geoscene/themes/base/colors/css/scss/calcite_highlight_colors_dark.scss +64 -64
- package/assets/geoscene/themes/base/colors/css/scss/calcite_vibrant_colors_dark.scss +124 -124
- package/assets/geoscene/themes/base/colors/css/scss/complete.scss +11 -11
- package/assets/geoscene/themes/base/colors/patterns_json/calcite_core_colors_dark.css +673 -673
- package/assets/geoscene/themes/base/colors/patterns_json/calcite_gray_colors_dark.css +169 -169
- package/assets/geoscene/themes/base/colors/patterns_json/calcite_highlight_colors_dark.css +169 -169
- package/assets/geoscene/themes/base/colors/patterns_json/calcite_vibrant_colors_dark.css +265 -265
- package/assets/geoscene/themes/base/colors/patterns_json/scss/calcite_core_colors_dark.scss +964 -964
- package/assets/geoscene/themes/base/colors/patterns_json/scss/calcite_gray_colors_dark.scss +263 -263
- package/assets/geoscene/themes/base/colors/patterns_json/scss/calcite_highlight_colors_dark.scss +234 -234
- package/assets/geoscene/themes/base/colors/patterns_json/scss/calcite_vibrant_colors_dark.scss +347 -347
- package/assets/geoscene/themes/base/colors/patterns_json/scss/complete.scss +11 -11
- package/assets/geoscene/themes/base/fonts/cdn.scss +2 -2
- package/assets/geoscene/themes/base/icons/fonts/CalciteWebCoreIcons.svg +196 -196
- package/assets/geoscene/themes/base/widgets/_AreaMeasurement2D.scss +7 -7
- package/assets/geoscene/themes/base/widgets/_AreaMeasurement3D.scss +7 -7
- package/assets/geoscene/themes/base/widgets/_DirectLineMeasurement3D.scss +7 -7
- package/assets/geoscene/themes/base/widgets/_DistanceMeasurement2D.scss +7 -7
- package/assets/geoscene/themes/base/widgets/_Measurement.scss +7 -7
- package/assets/geoscene/themes/light/view.scss +9 -9
- package/assets/geoscene/views/3d/analysis/images/heading-rotate.ts.svg +10 -10
- package/assets/geoscene/views/3d/analysis/images/tilt-rotate.ts.svg +11 -11
- package/assets/geoscene/views/3d/webgl-engine/lib/intersectorUtils.svg +117 -117
- package/assets/geoscene/views/magnifier/mask.ts.svg +5 -5
- package/assets/geoscene/views/magnifier/overlay.ts.svg +36 -36
- package/copyright.txt +1654 -1654
- package/geometry/operators/graphicBufferOperator.d.ts +4 -4
- package/identity/IdentityModal.js +1 -1
- package/layers/support/rasterDatasets/ImageServerRaster.js +1 -1
- package/package.json +30 -30
- package/portal/schemas/definitions.js +1 -1
- package/support/actions/actionUtils.js +1 -1
- package/views/interactive/tooltip/components/DrawHeaderActions.js +1 -1
- package/views/interactive/tooltip/components/TooltipEditableField.js +1 -1
- package/views/interactive/tooltip/content/TooltipContent.js +1 -1
- package/widgets/Attachments.js +1 -1
- package/widgets/BasemapGallery.js +1 -1
- package/widgets/BasemapLayerList.js +1 -1
- package/widgets/BasemapToggle/BasemapToggleViewModel.js +1 -1
- package/widgets/BasemapToggle.js +1 -1
- package/widgets/BatchAttributeForm.js +1 -1
- package/widgets/Bookmarks.js +1 -1
- package/widgets/BuildingExplorer/BuildingDisciplinesTree/BuildingDisciplinesNode.js +1 -1
- package/widgets/BuildingExplorer/BuildingDisciplinesTree/BuildingDisciplinesTree.js +1 -1
- package/widgets/BuildingExplorer/BuildingLevelPicker/BuildingLevelPicker.js +1 -1
- package/widgets/BuildingExplorer/BuildingLevelPicker/Label.js +1 -1
- package/widgets/BuildingExplorer/BuildingPhasePicker/BuildingPhasePicker.js +1 -1
- package/widgets/BuildingExplorer.js +1 -1
- package/widgets/CatalogLayerList.js +1 -1
- package/widgets/Compass.js +1 -1
- package/widgets/CoordinateConversion.js +1 -1
- package/widgets/Daylight.js +1 -1
- package/widgets/DirectionalPad.js +1 -1
- package/widgets/Directions.js +1 -1
- package/widgets/Editor/components/FeatureList.js +1 -1
- package/widgets/Editor/components/FooterActions.js +1 -1
- package/widgets/Editor/components/MergeFeaturesList.js +1 -1
- package/widgets/Editor/components/Notices.js +1 -1
- package/widgets/Editor/components/PanelContent.js +1 -1
- package/widgets/Editor/components/PendingFeatureList.js +1 -1
- package/widgets/Editor/components/Prompt.js +1 -1
- package/widgets/Editor/components/Settings.js +1 -1
- package/widgets/Editor/components/UpdateFeaturePanelContent.js +1 -1
- package/widgets/Editor/components/UploadDetails.js +1 -1
- package/widgets/Editor.js +1 -1
- package/widgets/ElevationProfile/components/LegendItem.js +1 -1
- package/widgets/ElevationProfile/components/SettingsButton.js +1 -1
- package/widgets/ElevationProfile/components/Statistics.js +1 -1
- package/widgets/ElevationProfile.js +1 -1
- package/widgets/Expand.js +1 -1
- package/widgets/Feature/FeatureExpression.js +1 -1
- package/widgets/Feature/FeatureMedia.js +1 -1
- package/widgets/Feature/FeatureRelationship.js +1 -1
- package/widgets/Feature/FeatureUtilityNetworkAssociationList.js +1 -1
- package/widgets/Feature/FeatureUtilityNetworkAssociations.js +1 -1
- package/widgets/Feature.js +1 -1
- package/widgets/FeatureForm/FeatureFormUtilityNetworkAssociations/FeatureFormUtilityNetworkAssociationList.js +1 -1
- package/widgets/FeatureForm/FeatureFormUtilityNetworkAssociations/UtilityNetworkAssociationItemList.js +1 -1
- package/widgets/FeatureForm/FeatureFormUtilityNetworkAssociations/UtilityNetworkAssociationSettings.js +1 -1
- package/widgets/FeatureForm.js +1 -1
- package/widgets/FeatureTable/support/tableUtils.js +1 -1
- package/widgets/FeatureTable.js +1 -1
- package/widgets/FeatureTemplates.js +1 -1
- package/widgets/Features/FeaturesDrillIn.js +1 -1
- package/widgets/Features.js +1 -1
- package/widgets/FloorFilter.js +1 -1
- package/widgets/Fullscreen.js +1 -1
- package/widgets/Home.js +1 -1
- package/widgets/LayerList/LayerListItem.js +1 -1
- package/widgets/LayerList.js +1 -1
- package/widgets/Legend/styles/card/CardView.js +1 -1
- package/widgets/LineOfSight.js +1 -1
- package/widgets/Locate.js +1 -1
- package/widgets/NavigationToggle.js +1 -1
- package/widgets/OrientedImageryViewer/components/Alert.js +1 -1
- package/widgets/OrientedImageryViewer/components/ImageLocationWidget.js +1 -1
- package/widgets/OrientedImageryViewer/components/ImageMeasurementWidget.js +1 -1
- package/widgets/OrientedImageryViewer/components/ImageOverlays.js +1 -1
- package/widgets/OrientedImageryViewer/components/ImageViewer.js +1 -1
- package/widgets/OrientedImageryViewer/components/NavigationActions.js +1 -1
- package/widgets/OrientedImageryViewer/components/NavigationSettings.js +1 -1
- package/widgets/OrientedImageryViewer/components/NavigationUI360.js +1 -1
- package/widgets/OrientedImageryViewer/components/SequentialNavigationUI.js +1 -1
- package/widgets/OrientedImageryViewer/components/SketchTools.js +1 -1
- package/widgets/OrientedImageryViewer/components/VideoEnhancementTools.js +1 -1
- package/widgets/OrientedImageryViewer.js +1 -1
- package/widgets/PanoramicVideoViewer.js +1 -1
- package/widgets/PanoramicViewer.js +1 -1
- package/widgets/Print.js +1 -1
- package/widgets/ScaleRangeSlider.js +1 -1
- package/widgets/Search/SearchResultRenderer.js +1 -1
- package/widgets/Search.js +1 -1
- package/widgets/ShadowCast/components/DiscreteConfigurator.js +1 -1
- package/widgets/ShadowCast/components/DurationConfigurator.js +1 -1
- package/widgets/ShadowCast/components/ThresholdConfigurator.js +1 -1
- package/widgets/ShadowCast.js +1 -1
- package/widgets/Sketch/support/ResponsiveToolbar/OverflowGroup.js +1 -1
- package/widgets/Sketch/support/ResponsiveToolbar/ResponsiveToolbar.js +1 -1
- package/widgets/Sketch/support/ResponsiveToolbar/SplitButton.js +1 -1
- package/widgets/Sketch.js +1 -1
- package/widgets/Slice.js +1 -1
- package/widgets/TableList.js +1 -1
- package/widgets/TimeSlider.js +1 -1
- package/widgets/TimeZoneLabel.js +1 -1
- package/widgets/Track.js +1 -1
- package/widgets/UtilityNetworkAssociations/UtilityNetworkAssociationsLineSymbolPicker.js +1 -1
- package/widgets/UtilityNetworkAssociations.js +1 -1
- package/widgets/UtilityNetworkTrace/UtilityNetworkTraceFeature.js +1 -1
- package/widgets/UtilityNetworkTrace/UtilityNetworkTraceFeaturesDrillIn.js +1 -1
- package/widgets/UtilityNetworkTrace.js +1 -1
- package/widgets/UtilityNetworkValidateTopology.js +1 -1
- package/widgets/ValuePicker/ValuePickerCombobox.js +1 -1
- package/widgets/ValuePicker/ValuePickerSlider.js +1 -1
- package/widgets/ValuePicker.js +1 -1
- package/widgets/VideoPlayer/components/MetadataSection.js +1 -1
- package/widgets/VideoPlayer/components/PlayerActionsGroup.js +1 -1
- package/widgets/VideoPlayer/components/PlayerControlsGroup.js +1 -1
- package/widgets/VideoPlayer/components/SettingsButton.js +1 -1
- package/widgets/VideoPlayer.js +1 -1
- package/widgets/Weather/LabeledSlider.js +1 -1
- package/widgets/Weather.js +1 -1
- package/widgets/Zoom.js +1 -1
- package/widgets/support/ColorPicker.js +1 -1
- package/widgets/support/FilterBuilder.js +1 -1
- package/widgets/support/FilterCondition.js +1 -1
- package/widgets/support/GridControls.js +1 -1
- package/widgets/support/LabeledSwitch.js +1 -1
- package/widgets/support/MeasurementWidgetContent.js +1 -1
- package/widgets/support/SelectionList.js +1 -1
- package/widgets/support/SelectionToolbar.js +1 -1
- package/widgets/support/SketchTooltipControls.js +1 -1
- package/widgets/support/SnappingControls.js +1 -1
- package/widgets/support/TimezonePicker.js +1 -1
- package/widgets/support/UnitSelect.js +1 -1
- package/widgets/support/UtilityNetworkAssociations/UtilityNetworkAssociationList.js +1 -1
- package/widgets/support/componentsUtils.js +1 -1
package/LICENSE.md
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
# Licensing
|
|
2
|
-
|
|
3
|
-
易智瑞信息技术有限公司版权所有 © 2025并保留所有权利。发行于中华人民共和国。
|
|
4
|
-
|
|
5
|
-
本材料在 GeoScene 主许可协议(MLA)下许可使用,并受该协议条款的约束。
|
|
6
|
-
只要遵守主许可协议中的条款并包括此版权声明,您即可在不进行修改的情况下
|
|
7
|
-
重新分发和使用这些代码。
|
|
8
|
-
|
|
9
|
-
查看 https://links.geoscene.cn/legal/full-master-agreement 了解使用限制
|
|
10
|
-
|
|
11
|
-
更多信息可以联系:
|
|
12
|
-
|
|
13
|
-
易智瑞信息技术有限公司 (GeoScene Information Technology Co. Ltd.)
|
|
14
|
-
电话: 010-57632288
|
|
15
|
-
传真: 010-57632299
|
|
16
|
-
热线: 400-819-2881
|
|
17
|
-
Email: info@geoscene.cn
|
|
18
|
-
网址: www.geoscene.cn
|
|
1
|
+
# Licensing
|
|
2
|
+
|
|
3
|
+
易智瑞信息技术有限公司版权所有 © 2025并保留所有权利。发行于中华人民共和国。
|
|
4
|
+
|
|
5
|
+
本材料在 GeoScene 主许可协议(MLA)下许可使用,并受该协议条款的约束。
|
|
6
|
+
只要遵守主许可协议中的条款并包括此版权声明,您即可在不进行修改的情况下
|
|
7
|
+
重新分发和使用这些代码。
|
|
8
|
+
|
|
9
|
+
查看 https://links.geoscene.cn/legal/full-master-agreement 了解使用限制
|
|
10
|
+
|
|
11
|
+
更多信息可以联系:
|
|
12
|
+
|
|
13
|
+
易智瑞信息技术有限公司 (GeoScene Information Technology Co. Ltd.)
|
|
14
|
+
电话: 010-57632288
|
|
15
|
+
传真: 010-57632299
|
|
16
|
+
热线: 400-819-2881
|
|
17
|
+
Email: info@geoscene.cn
|
|
18
|
+
网址: www.geoscene.cn
|
package/README.md
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
# @geoscene/core
|
|
2
|
-
|
|
3
|
-
ES 模块的缩小的、未构建的版本 [GeoScene Maps SDK for JavaScript](https://doc.geoscene.cn/javascript/) 。
|
|
4
|
-
|
|
5
|
-
## 文档
|
|
6
|
-
|
|
7
|
-
- [GeoScene Maps SDK for JavaScript](https://doc.geoscene.cn/javascript/)
|
|
8
|
-
|
|
9
|
-
## 开始
|
|
10
|
-
|
|
11
|
-
将模块安装到您的项目中:
|
|
12
|
-
|
|
13
|
-
```sh
|
|
14
|
-
npm install @geoscene/core
|
|
15
|
-
```
|
|
16
|
-
|
|
17
|
-
## 许可
|
|
18
|
-
|
|
19
|
-
易智瑞信息技术有限公司版权所有 © 2025并保留所有权利。发行于中华人民共和国。
|
|
20
|
-
|
|
21
|
-
本材料在 GeoScene 主许可协议(MLA)下许可使用,并受该协议条款的约束。
|
|
22
|
-
只要遵守主许可协议中的条款并包括此版权声明,您即可在不进行修改的情况下
|
|
23
|
-
重新分发和使用这些代码。
|
|
24
|
-
|
|
25
|
-
查看 https://links.geoscene.cn/legal/full-master-agreement 了解使用限制
|
|
1
|
+
# @geoscene/core
|
|
2
|
+
|
|
3
|
+
ES 模块的缩小的、未构建的版本 [GeoScene Maps SDK for JavaScript](https://doc.geoscene.cn/javascript/) 。
|
|
4
|
+
|
|
5
|
+
## 文档
|
|
6
|
+
|
|
7
|
+
- [GeoScene Maps SDK for JavaScript](https://doc.geoscene.cn/javascript/)
|
|
8
|
+
|
|
9
|
+
## 开始
|
|
10
|
+
|
|
11
|
+
将模块安装到您的项目中:
|
|
12
|
+
|
|
13
|
+
```sh
|
|
14
|
+
npm install @geoscene/core
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
## 许可
|
|
18
|
+
|
|
19
|
+
易智瑞信息技术有限公司版权所有 © 2025并保留所有权利。发行于中华人民共和国。
|
|
20
|
+
|
|
21
|
+
本材料在 GeoScene 主许可协议(MLA)下许可使用,并受该协议条款的约束。
|
|
22
|
+
只要遵守主许可协议中的条款并包括此版权声明,您即可在不进行修改的情况下
|
|
23
|
+
重新分发和使用这些代码。
|
|
24
|
+
|
|
25
|
+
查看 https://links.geoscene.cn/legal/full-master-agreement 了解使用限制
|
package/WebLinkChart.js
CHANGED
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
All material copyright GeoScene, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
See https://js.geoscene.cn/4.34/geoscene/copyright.txt for details.
|
|
4
4
|
*/
|
|
5
|
-
import{__decorate as t}from"tslib";import r from"./Basemap.js";import a from"./WebDocument2D.js";import e from"./core/Error.js";import{property as i}from"./core/accessorSupport/decorators/property.js";import"./core/has.js";import"./core/Logger.js";import"./core/RandomLCG.js";import{subclass as n}from"./core/accessorSupport/decorators/subclass.js";import{getDefaultChronologicalOverlayLayerId as o,getChronologicalOverlay as h}from"./layers/knowledgeGraph/supportUtils.js";import s from"./linkChart/LayoutSettings.js";import l from"./linkChart/LinkChartProperties.js";import c from"./linkChart/NonspatialDataDisplay.js";import y from"./webmap/InitialViewProperties.js";import{currentVersion as k}from"./webmap/utils.js";import{Version as p}from"./webmap/Version.js";var L;const C={currentVersion:k,createInitialViewProperties:()=>new y,parseVersion:p.parse,itemType:"Web Link Chart",name:"linkchart",origin:"link-chart"};let d=L=class extends a{constructor(t){super(t),this.mapType="webLinkChart",this.linkChartProperties=new l}get activeLinkChartLayer(){return this.layers.find(({type:t})=>"link-chart"===t)}get context(){return C}async applyLayout(t="organic-standard",a){if(await this.load(),!this.activeLinkChartLayer)throw new e("WebLinkChart:no-link-chart-layer","No link chart layer found");"geographic-organic-standard"!==t||this.basemap?.baseLayers?.length||(this.basemap=r.fromId("
|
|
5
|
+
import{__decorate as t}from"tslib";import r from"./Basemap.js";import a from"./WebDocument2D.js";import e from"./core/Error.js";import{property as i}from"./core/accessorSupport/decorators/property.js";import"./core/has.js";import"./core/Logger.js";import"./core/RandomLCG.js";import{subclass as n}from"./core/accessorSupport/decorators/subclass.js";import{getDefaultChronologicalOverlayLayerId as o,getChronologicalOverlay as h}from"./layers/knowledgeGraph/supportUtils.js";import s from"./linkChart/LayoutSettings.js";import l from"./linkChart/LinkChartProperties.js";import c from"./linkChart/NonspatialDataDisplay.js";import y from"./webmap/InitialViewProperties.js";import{currentVersion as k}from"./webmap/utils.js";import{Version as p}from"./webmap/Version.js";var L;const C={currentVersion:k,createInitialViewProperties:()=>new y,parseVersion:p.parse,itemType:"Web Link Chart",name:"linkchart",origin:"link-chart"};let d=L=class extends a{constructor(t){super(t),this.mapType="webLinkChart",this.linkChartProperties=new l}get activeLinkChartLayer(){return this.layers.find(({type:t})=>"link-chart"===t)}get context(){return C}async applyLayout(t="organic-standard",a){if(await this.load(),!this.activeLinkChartLayer)throw new e("WebLinkChart:no-link-chart-layer","No link chart layer found");"geographic-organic-standard"!==t||this.basemap?.baseLayers?.length||(this.basemap=r.fromId("tianditu-vector"),await(this.basemap?.load())),this.linkChartProperties.layoutType=t;const i=a?.layoutSettings??this.linkChartProperties.layoutSettings??new s;this.linkChartProperties.layoutSettings=i;const n={...a,layoutSettings:i};return this.activeLinkChartLayer.applyNewLinkChartLayout(t,n)}changeNonspatialDataDisplay(t){if(!this.activeLinkChartLayer)throw new e("WebLinkChart:no-link-chart-layer","No link chart layer found");this.linkChartProperties.nonspatialDataDisplay||(this.linkChartProperties.nonspatialDataDisplay=new c),this.linkChartProperties.nonspatialDataDisplay.mode=t}async addRecords(t,r){if(await this.load(),!this.activeLinkChartLayer)throw new e("WebLinkChart:no-link-chart-layer","No link chart layer found");return this.activeLinkChartLayer.addRecords(t,r)}async createSublayerForNamedType(t){if(await this.load(),!this.activeLinkChartLayer)throw new e("WebLinkChart:no-link-chart-layer","No link chart layer found");return this.activeLinkChartLayer.createSublayerForNamedType(t)}async removeRecords(t){if(await this.load(),!this.activeLinkChartLayer)throw new e("WebLinkChart:no-link-chart-layer","No link chart layer found");return this.activeLinkChartLayer.removeRecords(t)}async expand(t,r){if(await this.load(),!this.activeLinkChartLayer)throw new e("WebLinkChart:no-link-chart-layer","No link chart layer found");const a=await this.activeLinkChartLayer.expand(t,r);return a?.records??[]}async refreshLinkChartData(t){if(await this.load(),!this.activeLinkChartLayer)throw new e("WebLinkChart:no-link-chart-layer","No link chart layer found");return this.activeLinkChartLayer.refreshLinkChartCache(t)}async connectBetweenEntities(t,r){if(await this.load(),!this.activeLinkChartLayer)throw new e("WebLinkChart:no-link-chart-layer","No link chart layer found");const a=await this.activeLinkChartLayer.connectBetweenEntities(t,r);return a?.records??[]}async connectFromEntities(t,r){if(await this.load(),!this.activeLinkChartLayer)throw new e("WebLinkChart:no-link-chart-layer","No link chart layer found");const a=await this.activeLinkChartLayer.connectFromEntities(t,r);return a?.records??[]}getMemberIdsByType(t){if(!this.activeLinkChartLayer)throw new e("WebLinkChart:no-link-chart-layer","No link chart layer found");return Array.from(this.activeLinkChartLayer?.dataManager.sublayerCaches.get(t)?.keys()??[])}get diagramNodesExtent(){if(!this.activeLinkChartLayer)throw new e("WebLinkChart:no-link-chart-layer","No link chart layer found");return this.activeLinkChartLayer.linkChartExtent}get entityCount(){if(!this.activeLinkChartLayer)throw new e("WebLinkChart:no-link-chart-layer","No link chart layer found");return this.activeLinkChartLayer.entityLinkChartDiagramLookup.size}get relationshipCount(){if(!this.activeLinkChartLayer)throw new e("WebLinkChart:no-link-chart-layer","No link chart layer found");return this.activeLinkChartLayer.relationshipLinkChartDiagramLookup.size}get knowledgeGraph(){if(!this.activeLinkChartLayer)throw new e("WebLinkChart:no-link-chart-layer","No link chart layer found");return this.activeLinkChartLayer?.knowledgeGraph}add(t,r){if(this.activeLinkChartLayer&&"type"in t&&"link-chart"===t.type)throw new e("linkchart:one-link-chart-layer","Web Link Charts can only have one Link Chart Layer, another cannot be added");if(super.add(t,r),"type"in t&&"link-chart"===t.type){const r=t.initializationLinkChartConfig?.layoutMode;r&&(this.linkChartProperties.layoutType=r);const a=t.initializationLinkChartConfig?.layoutSettings;a&&(this.linkChartProperties.layoutSettings=a)}}static fromJSON(t){if(t)return new L({resourceInfo:t});throw new e("linkchart:empty-resource","Expected a JSON resource but got nothing")}handleChronologicalOverlay(){if(!this.activeLinkChartLayer)return;const t=this.activeLinkChartLayer,r=this.findLayerById(o());if(r&&this.remove(r),"chronological-mono-timeline"===this.linkChartProperties.layoutType||"chronological-multi-timeline"===this.linkChartProperties.layoutType){const r=h(t);this.add(r,0)}}};t([i({readOnly:!0})],d.prototype,"activeLinkChartLayer",null),t([i({json:{write:{ignoreOrigin:!0}}})],d.prototype,"mapType",void 0),t([i({type:l,nonNullable:!0,json:{write:{ignoreOrigin:!0}}})],d.prototype,"linkChartProperties",void 0),t([i({readOnly:!0})],d.prototype,"diagramNodesExtent",null),t([i({readOnly:!0})],d.prototype,"entityCount",null),t([i({readOnly:!0})],d.prototype,"relationshipCount",null),t([i({readOnly:!0})],d.prototype,"knowledgeGraph",null),d=L=t([n("geoscene.WebLinkChart")],d);const u=d;export{u as default};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/*! For license information please see 0f735b0dec173142f3b6.js.LICENSE.txt */
|
|
1
|
+
/*! For license information please see 0f735b0dec173142f3b6.js.LICENSE.txt */
|
|
2
2
|
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[5455],{37836:(t,e,n)=>{n.r(e),n.d(e,{Button:()=>$}),n(30357),n(32239);var a=n(34088),o=n(46337),r=n(48015),c=n(52567),l=n(41557),i=n(50941),s=n(21796),d=n(60992),u=n(93174),b=n(4643),p=n(83623),h=n(75572),v=n(79e3),g=n(20307);const f="content--slotted",k="icon",m="icon--start",x="icon--end",y="icon-start-empty",w="icon-end-empty",z="button-padding",E="button-padding--shrunk",C=o.AH`:host{--calcite-internal-color-focus: var( --calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)) )}:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:inline-block;inline-size:auto;vertical-align:middle;border-radius:var(--calcite-button-corner-radius, var(--calcite-internal-button-corner-radius, 0))}:host a,:host button{--calcite-internal-button-content-margin: .5rem;--calcite-internal-button-padding-x: 7px;--calcite-internal-button-padding-y: 3px;position:relative;box-sizing:border-box;display:flex;block-size:100%;inline-size:100%;cursor:pointer;-webkit-user-select:none;user-select:none;appearance:none;align-items:center;justify-content:center;border-style:none;text-align:center;font-family:inherit;font-weight:var(--calcite-font-weight-normal);text-decoration-line:none;outline-color:transparent;box-shadow:var(--calcite-button-shadow, var(--calcite-shadow-none));background-color:var(--calcite-button-background-color, var(--calcite-internal-button-background-color, var(--calcite-color-transparent)));border-block-start-color:var(--calcite-button-border-color, var(--calcite-internal-button-border-block-start-color, var(--calcite-internal-button-border-color, var(--calcite-color-transparent))));border-block-end-color:var(--calcite-button-border-color, var(--calcite-internal-button-border-block-end-color, var(--calcite-internal-button-border-color, var(--calcite-color-transparent))));border-inline-start-color:var(--calcite-button-border-color, var(--calcite-internal-button-border-inline-start-color, var(--calcite-internal-button-border-color, var(--calcite-color-transparent))));border-inline-end-color:var(--calcite-button-border-color, var(--calcite-internal-button-border-inline-end-color, var(--calcite-internal-button-border-color, var(--calcite-color-transparent))));border-style:solid;border-width:var(--calcite-border-width-sm);border-radius:var(--calcite-button-corner-radius, var(--calcite-internal-button-corner-radius, 0));color:var(--calcite-button-text-color, var(--calcite-internal-button-text-color, currentColor));padding-block:var(--calcite-internal-button-padding-y);padding-inline:var(--calcite-internal-button-padding-x);transition:color var(--calcite-animation-timing) ease-in-out,background-color var(--calcite-animation-timing) ease-in-out,box-shadow var(--calcite-animation-timing) ease-in-out,outline-color var(--calcite-internal-animation-timing-fast) ease-in-out}:host a:hover,:host button:hover{text-decoration-line:none}:host a:focus,:host button:focus{outline:var(--calcite-border-width-md) solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline:var(--calcite-border-width-md) solid var(--calcite-internal-color-focus);outline-offset:calc(var(--calcite-spacing-base) * calc(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}:host a span,:host button span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host a calcite-loader,:host button calcite-loader{color:var(--calcite-button-loader-color, var(--calcite-internal-button-loader-color, var(--calcite-button-text-color, var(--calcite-internal-button-text-color))))}:host([round]){--calcite-internal-button-corner-radius: 50px}.content{margin-inline:var(--calcite-internal-button-content-margin)}.icon-start-empty .content{margin-inline-start:unset}.icon-end-empty .content{margin-inline-end:unset}:host([scale=m]) button,:host([scale=m]) a{--calcite-internal-button-content-margin: .75rem}:host([scale=l]) button,:host([scale=l]) a{--calcite-internal-button-content-margin: 1rem}:host([width=auto]){inline-size:auto}:host([width=half]){inline-size:50%}:host([width=full]){inline-size:100%}:host([alignment=center]:not([width=auto])) a,:host([alignment=center]:not([width=auto])) button{justify-content:center}:host([alignment=start]:not([width=auto])) a,:host([alignment=start]:not([width=auto])) button{justify-content:flex-start}:host([alignment=end]:not([width=auto])) a,:host([alignment=end]:not([width=auto])) button{justify-content:flex-end}:host([alignment*=space-between]:not([width=auto])) a,:host([alignment*=space-between]:not([width=auto])) button{justify-content:space-between}:host([alignment=icon-start-space-between]:not([width=auto])) .icon--start{margin-inline-end:auto}:host([alignment=icon-start-space-between]:not([width=auto])) a,:host([alignment=icon-start-space-between]:not([width=auto])) button{text-align:unset}:host([alignment=icon-end-space-between]:not([width=auto])) .icon--end{margin-inline-start:auto}:host([alignment=icon-end-space-between]:not([width=auto])) a,:host([alignment=icon-end-space-between]:not([width=auto])) button{text-align:unset}:host([alignment=center]) a:not(.content--slotted) .icon--start+.icon--end,:host([alignment=center]) button:not(.content--slotted) .icon--start+.icon--end{margin-inline-start:var(--calcite-internal-button-content-margin)}.icon--start,.icon--end{color:var(--calcite-button-icon-color, var(--calcite-icon-color))}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}@keyframes loader-in{0%{inline-size:0;opacity:0;transform:scale(.5)}to{inline-size:1em;opacity:1;transform:scale(1)}}@keyframes loader-out{0%{inline-size:1em;opacity:1;transform:scale(1)}to{inline-size:0;opacity:0;transform:scale(.5)}}.calcite-button--loader{display:flex}.calcite-button--loader calcite-loader{margin:0}:host([loading]) button.content--slotted .calcite-button--loader calcite-loader,:host([loading]) a.content--slotted .calcite-button--loader calcite-loader{margin-inline-end:var(--calcite-internal-button-content-margin)}:host([loading]) button:not(.content--slotted) .icon--start,:host([loading]) button:not(.content--slotted) .icon--end,:host([loading]) a:not(.content--slotted) .icon--start,:host([loading]) a:not(.content--slotted) .icon--end{display:none}:host([appearance]) button,:host([appearance]) a{--calcite-internal-button-border-color: var(--calcite-color-transparent);border-style:solid;border-width:var(--calcite-button-border-size, 1px)}:host([kind=brand]) button,:host([kind=brand]) a{--calcite-internal-button-text-color: var(--calcite-color-text-inverse);--calcite-internal-button-background-color: var(--calcite-color-brand);--calcite-internal-button-loader-color: var(--calcite-color-text-inverse)}:host([kind=brand]) button:hover,:host([kind=brand]) a:hover{--calcite-internal-button-background-color: var(--calcite-color-brand-hover)}:host([kind=brand]) button:active,:host([kind=brand]) a:active{--calcite-internal-button-background-color: var(--calcite-color-brand-press)}:host([kind=danger]) button,:host([kind=danger]) a{--calcite-internal-button-text-color: var(--calcite-color-text-inverse);--calcite-internal-button-background-color: var(--calcite-color-status-danger);--calcite-internal-button-loader-color: var(--calcite-color-text-inverse)}:host([kind=danger]) button:hover,:host([kind=danger]) a:hover{--calcite-internal-button-background-color: var(--calcite-color-status-danger-hover)}:host([kind=danger]) button:active,:host([kind=danger]) a:active{--calcite-internal-button-background-color: var(--calcite-color-status-danger-press)}:host([kind=neutral]) button,:host([kind=neutral]) a{--calcite-internal-button-text-color: var(--calcite-color-text-1);--calcite-internal-button-background-color: var(--calcite-color-foreground-3);--calcite-internal-button-loader-color: var(--calcite-color-text-1)}:host([kind=neutral]) button:hover,:host([kind=neutral]) a:hover{--calcite-internal-button-background-color: var(--calcite-color-foreground-2)}:host([kind=neutral]) button:active,:host([kind=neutral]) a:active{--calcite-internal-button-background-color: var(--calcite-color-foreground-1)}:host([kind=inverse]) button,:host([kind=inverse]) a{--calcite-internal-button-text-color: var(--calcite-color-text-inverse);--calcite-internal-button-background-color: var(--calcite-color-inverse);--calcite-internal-button-loader-color: var(--calcite-color-text-inverse)}:host([kind=inverse]) button:hover,:host([kind=inverse]) a:hover{--calcite-internal-button-background-color: var(--calcite-color-inverse-hover)}:host([kind=inverse]) button:active,:host([kind=inverse]) a:active{--calcite-internal-button-background-color: var(--calcite-color-inverse-press)}:host([appearance=outline-fill]) button,:host([appearance=outline-fill]) a{--calcite-internal-button-background-color: var(--calcite-color-foreground-1);border-style:solid;border-width:var(--calcite-button-border-size, 1px)}:host([appearance=outline-fill]) button:hover,:host([appearance=outline-fill]) a:hover{--calcite-internal-button-background-color: var(--calcite-color-foreground-2)}:host([appearance=outline-fill]) button:active,:host([appearance=outline-fill]) a:active{--calcite-internal-button-background-color: var(--calcite-color-foreground-3)}:host([appearance=outline-fill][kind=brand]) button,:host([appearance=outline-fill][kind=brand]) a{--calcite-internal-button-border-color: var(--calcite-color-brand);--calcite-internal-button-text-color: var(--calcite-color-brand);--calcite-internal-button-loader-color: var(--calcite-color-brand)}:host([appearance=outline-fill][kind=brand]) button:hover,:host([appearance=outline-fill][kind=brand]) a:hover{--calcite-internal-button-border-color: var(--calcite-color-brand-hover);--calcite-internal-button-text-color: var(--calcite-color-brand-hover)}:host([appearance=outline-fill][kind=brand]) button:focus,:host([appearance=outline-fill][kind=brand]) a:focus{--calcite-internal-button-border-color: var(--calcite-color-brand);--calcite-internal-button-text-color: var(--calcite-color-brand)}:host([appearance=outline-fill][kind=brand]) button:active,:host([appearance=outline-fill][kind=brand]) a:active{--calcite-internal-button-border-color: var(--calcite-color-brand-press);--calcite-internal-button-text-color: var(--calcite-color-brand-press)}:host([appearance=outline-fill][kind=brand]) button calcite-loader,:host([appearance=outline-fill][kind=brand]) a calcite-loader{--calcite-internal-button-loader-color: var(--calcite-color-brand)}:host([appearance=outline-fill][kind=danger]) button,:host([appearance=outline-fill][kind=danger]) a{--calcite-internal-button-border-color: var(--calcite-color-status-danger);--calcite-internal-button-text-color: var(--calcite-color-status-danger);--calcite-internal-button-loader-color: var(--calcite-color-status-danger)}:host([appearance=outline-fill][kind=danger]) button:hover,:host([appearance=outline-fill][kind=danger]) a:hover{--calcite-internal-button-border-color: var(--calcite-color-status-danger-hover);--calcite-internal-button-text-color: var(--calcite-color-status-danger-hover)}:host([appearance=outline-fill][kind=danger]) button:focus,:host([appearance=outline-fill][kind=danger]) a:focus{--calcite-internal-button-border-color: var(--calcite-color-status-danger);--calcite-internal-button-text-color: var(--calcite-color-status-danger)}:host([appearance=outline-fill][kind=danger]) button:active,:host([appearance=outline-fill][kind=danger]) a:active{--calcite-internal-button-border-color: var(--calcite-color-status-danger-press);--calcite-internal-button-text-color: var(--calcite-color-status-danger-press)}:host([appearance=outline-fill][kind=danger]) button calcite-loader,:host([appearance=outline-fill][kind=danger]) a calcite-loader{--calcite-internal-button-loader-color: var(--calcite-color-status-danger)}:host([appearance=outline-fill][kind=neutral]) button,:host([appearance=outline-fill][kind=neutral]) a{--calcite-internal-button-border-color: var(--calcite-color-border-1);--calcite-internal-button-text-color: var(--calcite-color-text-1);--calcite-internal-button-loader-color: var(--calcite-color-text-1)}:host([appearance=outline-fill][kind=neutral]) button:hover,:host([appearance=outline-fill][kind=neutral]) a:hover{--calcite-internal-button-border-color: var(--calcite-color-border-input)}:host([appearance=outline-fill][kind=neutral]) button:focus,:host([appearance=outline-fill][kind=neutral]) a:focus{--calcite-internal-button-border-color: var(--calcite-color-foreground-3)}:host([appearance=outline-fill][kind=neutral]) button:active,:host([appearance=outline-fill][kind=neutral]) a:active{--calcite-internal-button-border-color: var(--calcite-color-text-3)}:host([appearance=solid][kind=neutral]) button:hover,:host([appearance=solid][kind=neutral]) a:hover{--calcite-internal-button-background-color: var(--calcite-color-border-3)}:host([appearance=solid][kind=neutral]) button:active,:host([appearance=solid][kind=neutral]) a:active{--calcite-internal-button-background-color: var(--calcite-color-border-2)}:host([appearance=outline-fill][kind=inverse]) button,:host([appearance=outline-fill][kind=inverse]) a{--calcite-internal-button-text-color: var(--calcite-color-text-1);--calcite-internal-button-border-color: var(--calcite-color-inverse);--calcite-internal-button-loader-color: var(--calcite-color-text-1)}:host([appearance=outline-fill][kind=inverse]) button:hover,:host([appearance=outline-fill][kind=inverse]) a:hover{--calcite-internal-button-border-color: var(--calcite-color-inverse-hover)}:host([appearance=outline-fill][kind=inverse]) button:focus,:host([appearance=outline-fill][kind=inverse]) a:focus{--calcite-internal-button-border-color: var(--calcite-color-inverse)}:host([appearance=outline-fill][kind=inverse]) button:active,:host([appearance=outline-fill][kind=inverse]) a:active{--calcite-internal-button-border-color: var(--calcite-color-inverse-press)}:host([appearance=outline]) button,:host([appearance=outline]) a{--calcite-internal-button-background-color: var(--calcite-color-transparent);border-style:solid;border-width:var(--calcite-button-border-size, 1px)}:host([appearance=outline]) button:hover,:host([appearance=outline]) a:hover{--calcite-internal-button-background-color: var(--calcite-color-transparent-hover)}:host([appearance=outline]) button:active,:host([appearance=outline]) a:active{--calcite-internal-button-background-color: var(--calcite-color-transparent-press)}:host([appearance=outline][kind=brand]) button,:host([appearance=outline][kind=brand]) a{--calcite-internal-button-border-color: var(--calcite-color-brand);--calcite-internal-button-text-color: var(--calcite-color-brand);--calcite-internal-button-loader-color: var(--calcite-color-brand)}:host([appearance=outline][kind=brand]) button:hover,:host([appearance=outline][kind=brand]) a:hover{--calcite-internal-button-border-color: var(--calcite-color-brand-hover);--calcite-internal-button-text-color: var(--calcite-color-brand-hover)}:host([appearance=outline][kind=brand]) button:focus,:host([appearance=outline][kind=brand]) a:focus{--calcite-internal-button-border-color: var(--calcite-color-brand);--calcite-internal-button-text-color: var(--calcite-color-brand)}:host([appearance=outline][kind=brand]) button:active,:host([appearance=outline][kind=brand]) a:active{--calcite-internal-button-border-color: var(--calcite-color-brand-press);--calcite-internal-button-text-color: var(--calcite-color-brand-press)}:host([appearance=outline][kind=brand]) button calcite-loader,:host([appearance=outline][kind=brand]) a calcite-loader{--calcite-internal-button-loader-color: var(--calcite-color-brand)}:host([appearance=outline][kind=danger]) button,:host([appearance=outline][kind=danger]) a{--calcite-internal-button-border-color: var(--calcite-color-status-danger);--calcite-internal-button-text-color: var(--calcite-color-status-danger);--calcite-internal-button-loader-color: var(--calcite-color-status-danger)}:host([appearance=outline][kind=danger]) button:hover,:host([appearance=outline][kind=danger]) a:hover{--calcite-internal-button-border-color: var(--calcite-color-status-danger-hover);--calcite-internal-button-text-color: var(--calcite-color-status-danger-hover)}:host([appearance=outline][kind=danger]) button:focus,:host([appearance=outline][kind=danger]) a:focus{--calcite-internal-button-border-color: var(--calcite-color-status-danger);--calcite-internal-button-text-color: var(--calcite-color-status-danger)}:host([appearance=outline][kind=danger]) button:active,:host([appearance=outline][kind=danger]) a:active{--calcite-internal-button-border-color: var(--calcite-color-status-danger-press);--calcite-internal-button-text-color: var(--calcite-color-status-danger-press)}:host([appearance=outline][kind=danger]) button calcite-loader,:host([appearance=outline][kind=danger]) a calcite-loader{--calcite-internal-button-loader-color: var(--calcite-color-status-danger)}:host([appearance=outline][kind=neutral]) button,:host([appearance=outline][kind=neutral]) a{--calcite-internal-button-text-color: var(--calcite-color-text-1);--calcite-internal-button-border-color: var(--calcite-color-border-1);--calcite-internal-button-loader-color: var(--calcite-color-text-1)}:host([appearance=outline][kind=neutral]) button:hover,:host([appearance=outline][kind=neutral]) a:hover{--calcite-internal-button-border-color: var(--calcite-color-border-input)}:host([appearance=outline][kind=neutral]) button:focus,:host([appearance=outline][kind=neutral]) a:focus{--calcite-internal-button-border-color: var(--calcite-color-foreground-3)}:host([appearance=outline][kind=neutral]) button:active,:host([appearance=outline][kind=neutral]) a:active{--calcite-internal-button-border-color: var(--calcite-color-text-3)}:host([appearance=outline][kind=inverse]) button,:host([appearance=outline][kind=inverse]) a{--calcite-internal-button-text-color: var(--calcite-color-text-1);--calcite-internal-button-border-color: var(--calcite-color-inverse);--calcite-internal-button-loader-color: var(--calcite-color-text-1)}:host([appearance=outline][kind=inverse]) button:hover,:host([appearance=outline][kind=inverse]) a:hover{--calcite-internal-button-border-color: var(--calcite-color-inverse-hover)}:host([appearance=outline][kind=inverse]) button:focus,:host([appearance=outline][kind=inverse]) a:focus{--calcite-internal-button-border-color: var(--calcite-color-inverse)}:host([appearance=outline][kind=inverse]) button:active,:host([appearance=outline][kind=inverse]) a:active{--calcite-internal-button-border-color: var(--calcite-color-inverse-press)}:host([appearance=outline-fill][split-child=primary]) button,:host([appearance=outline][split-child=primary]) button,:host([appearance=outline-fill][split-child=primary]) a,:host([appearance=outline][split-child=primary]) a{border-inline-end-width:0;border-inline-start-width:1px}:host([appearance=outline-fill][split-child=secondary]) button,:host([appearance=outline][split-child=secondary]) button,:host([appearance=outline-fill][split-child=secondary]) a,:host([appearance=outline][split-child=secondary]) a{border-inline-start-width:0;border-inline-end-width:1px}:host([appearance=transparent]) button,:host([appearance=transparent]) a{--calcite-internal-button-background-color: var(--calcite-color-transparent)}:host([appearance=transparent]) button:hover,:host([appearance=transparent]) button:focus,:host([appearance=transparent]) a:hover,:host([appearance=transparent]) a:focus{--calcite-internal-button-background-color: var(--calcite-color-transparent-hover)}:host([appearance=transparent]) button:active,:host([appearance=transparent]) a:active{--calcite-internal-button-background-color: var(--calcite-color-transparent-press)}:host([appearance=transparent]:not(.enable-editing-button)) button,:host([appearance=transparent]:not(.enable-editing-button)) a{background-color:var(--calcite-color-transparent)}:host([appearance=transparent]:not(.enable-editing-button)) button:hover,:host([appearance=transparent]:not(.enable-editing-button)) a:hover{background-color:var(--calcite-color-transparent-hover)}:host([appearance=transparent]:not(.enable-editing-button)) button:active,:host([appearance=transparent]:not(.enable-editing-button)) a:active{background-color:var(--calcite-color-transparent-press)}:host([appearance=transparent][kind=brand]) button,:host([appearance=transparent][kind=brand]) a{--calcite-internal-button-text-color: var(--calcite-color-brand);--calcite-internal-button-loader-color: var(--calcite-color-brand)}:host([appearance=transparent][kind=brand]) button:hover,:host([appearance=transparent][kind=brand]) a:hover{--calcite-internal-button-text-color: var(--calcite-color-brand-hover)}:host([appearance=transparent][kind=brand]) button:focus,:host([appearance=transparent][kind=brand]) a:focus{--calcite-internal-button-text-color: var(--calcite-color-brand)}:host([appearance=transparent][kind=brand]) button:active,:host([appearance=transparent][kind=brand]) a:active{--calcite-internal-button-text-color: var(--calcite-color-brand-press)}:host([appearance=transparent][kind=brand]) button calcite-loader,:host([appearance=transparent][kind=brand]) a calcite-loader{--calcite-internal-button-loader-color: var(--calcite-color-brand)}:host([appearance=transparent][kind=danger]) button,:host([appearance=transparent][kind=danger]) a{--calcite-internal-button-text-color: var(--calcite-color-status-danger);--calcite-internal-button-loader-color: var(--calcite-color-status-danger)}:host([appearance=transparent][kind=danger]) button:hover,:host([appearance=transparent][kind=danger]) a:hover{--calcite-internal-button-text-color: var(--calcite-color-status-danger-hover)}:host([appearance=transparent][kind=danger]) button:focus,:host([appearance=transparent][kind=danger]) a:focus{--calcite-internal-button-text-color: var(--calcite-color-status-danger)}:host([appearance=transparent][kind=danger]) button:active,:host([appearance=transparent][kind=danger]) a:active{--calcite-internal-button-text-color: var(--calcite-color-status-danger-press)}:host([appearance=transparent][kind=danger]) button calcite-loader,:host([appearance=transparent][kind=danger]) a calcite-loader{--calcite-internal-button-loader-color: var(--calcite-color-status-danger)}:host([appearance=transparent][kind=neutral]:not(.cancel-editing-button)) button,:host([appearance=transparent][kind=neutral]:not(.cancel-editing-button)) a,:host([appearance=transparent][kind=neutral]:not(.cancel-editing-button)) calcite-loader{--calcite-internal-button-text-color: var(--calcite-color-text-1)}:host([appearance=transparent][kind=neutral].cancel-editing-button) button{--calcite-internal-button-text-color: var(--calcite-color-text-3)}:host([appearance=transparent][kind=neutral].cancel-editing-button) button:hover{--calcite-internal-button-text-color: var(--calcite-color-text-1);--calcite-internal-button-padding-y: 0}:host(.confirm-changes-button) button:focus,:host(.cancel-editing-button) button:focus,:host(.enable-editing-button) button:focus{outline-offset:-2px}:host([appearance=transparent][kind=inverse]) button:hover,:host([appearance=transparent][kind=inverse]) a:hover{background-color:var(--calcite-color-transparent-inverse-hover)}:host([appearance=transparent][kind=inverse]) button:active,:host([appearance=transparent][kind=inverse]) a:active{background-color:var(--calcite-color-transparent-inverse-press)}:host([appearance=transparent][kind=inverse]) button calcite-loader,:host([appearance=transparent][kind=inverse]) a calcite-loader{--calcite-internal-button-text-color: var(--calcite-color-text-inverse)}:host([scale=s]) button.content--slotted,:host([scale=s]) a.content--slotted{font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=s][appearance=transparent]) button.content--slotted,:host([scale=s][appearance=transparent]) a.content--slotted{--calcite-internal-button-padding-x: .5rem}:host([scale=s]) button,:host([scale=s]) a{--calcite-internal-button-padding-y: 3px}:host([scale=m]) button.content--slotted,:host([scale=m]) a.content--slotted{--calcite-internal-button-padding-x: 11px;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=m]) button,:host([scale=m]) a{--calcite-internal-button-padding-y: 7px}:host([scale=m][appearance=transparent]) button.content--slotted,:host([scale=m][appearance=transparent]) a.content--slotted{--calcite-internal-button-padding-x: .75rem}:host([scale=l]) button.content--slotted,:host([scale=l]) a.content--slotted{--calcite-internal-button-padding-x: 15px;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([scale=l]) .button-padding{--calcite-internal-button-padding-x: 1rem;--calcite-internal-button-padding-y: 11px}:host([scale=l]) .button-padding--shrunk{--calcite-internal-button-padding-y: 9px}:host([scale=s]) button:not(.content--slotted),:host([scale=s]) a:not(.content--slotted){--calcite-internal-button-padding-x: .125rem;--calcite-internal-button-padding-y: 3px;inline-size:1.5rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;min-block-size:1.5rem}:host([scale=m]) button:not(.content--slotted),:host([scale=m]) a:not(.content--slotted){--calcite-internal-button-padding-x: .125rem;--calcite-internal-button-padding-y: 7px;inline-size:2rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;min-block-size:2rem}:host([scale=l]) button:not(.content--slotted),:host([scale=l]) a:not(.content--slotted){--calcite-internal-button-padding-x: .125rem;--calcite-internal-button-padding-y: 9px;inline-size:2.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;min-block-size:2.75rem}:host(:is([scale=s],[scale=m],[scale=l])[width=full]) a:not(.content--slotted),:host(:is([scale=s],[scale=m],[scale=l])[width=full]) button:not(.content--slotted){inline-size:var(--calcite-container-size-content-fluid)}:host([scale=l][appearance=transparent]) button:not(.content--slotted),:host([scale=l][appearance=transparent]) a:not(.content--slotted){--calcite-internal-button-padding-y: .625rem}:host([scale=s][icon-start][icon-end]) button:not(.content--slotted),:host([scale=s][icon-start][icon-end]) a:not(.content--slotted){--calcite-internal-button-padding-x: 23px;block-size:1.5rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([scale=s][icon-start][icon-end][appearance=transparent]) button:not(.content--slotted),:host([scale=s][icon-start][icon-end][appearance=transparent]) a:not(.content--slotted){--calcite-internal-button-padding-x: 1.5rem}:host([scale=m][icon-start][icon-end]) button:not(.content--slotted),:host([scale=m][icon-start][icon-end]) a:not(.content--slotted){--calcite-internal-button-padding-x: 2rem;block-size:2rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([scale=m][icon-start][icon-end][appearance=transparent]) button:not(.content--slotted),:host([scale=m][icon-start][icon-end][appearance=transparent]) a:not(.content--slotted){--calcite-internal-button-padding-x: 33px}:host([scale=l][icon-start][icon-end]) button:not(.content--slotted),:host([scale=l][icon-start][icon-end]) a:not(.content--slotted){--calcite-internal-button-padding-x: 43px;block-size:2.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([scale=l][icon-start][icon-end]) button:not(.content--slotted) .icon--start+.icon--end,:host([scale=l][icon-start][icon-end]) a:not(.content--slotted) .icon--start+.icon--end{margin-inline-start:1rem}:host([scale=l][icon-start][icon-end][appearance=transparent]) button:not(.content--slotted),:host([scale=l][icon-start][icon-end][appearance=transparent]) a:not(.content--slotted){--calcite-internal-button-padding-x: 2.75rem}:host([hidden]){display:none}[hidden]{display:none}`;class $ extends l.WF{constructor(){super(...arguments),this.attributeWatch=(0,i.oW)(["aria-expanded"],this.handleGlobalAttributesChanged),this.contentRef=(0,r._)(),this.mutationObserver=(0,b.c)("mutation",()=>this.updateHasContent()),this.resizeObserver=(0,b.c)("resize",()=>this.setTooltipText()),this.focusSetter=(0,g.u)()(this),this.messages=(0,h.u)(),this.hasContent=!1,this.alignment="center",this.appearance="solid",this.disabled=!1,this.download=!1,this.kind="brand",this.loading=!1,this.round=!1,this.scale="m",this.splitChild=!1,this.type="button",this.width="auto"}static{this.properties={hasContent:[16,{},{state:!0}],tooltipText:[16,{},{state:!0}],alignment:[3,{},{reflect:!0}],appearance:[3,{},{reflect:!0}],disabled:[7,{},{reflect:!0,type:Boolean}],download:[3,{converter:l.pf},{reflect:!0}],form:[3,{},{reflect:!0}],href:[3,{},{reflect:!0}],iconEnd:[3,{},{reflect:!0}],iconFlipRtl:[3,{},{reflect:!0}],iconStart:[3,{},{reflect:!0}],kind:[3,{},{reflect:!0}],label:1,loading:[7,{},{reflect:!0,type:Boolean}],messageOverrides:[0,{},{attribute:!1}],name:[3,{},{reflect:!0}],rel:[3,{},{reflect:!0}],round:[7,{},{reflect:!0,type:Boolean}],scale:[3,{},{reflect:!0}],splitChild:[3,{},{reflect:!0}],target:[3,{},{reflect:!0}],type:[3,{},{reflect:!0}],width:[3,{},{reflect:!0}]}}static{this.styles=C}async setFocus(t){return this.focusSetter(()=>this.childEl,t)}connectedCallback(){super.connectedCallback(),this.setupTextContentObserver(),(0,u.c)(this),this.formEl=(0,s.f)(this)}async load(){o.S$||this.updateHasContent()}updated(){(0,d.u)(this)}loaded(){this.setTooltipText()}disconnectedCallback(){super.disconnectedCallback(),this.mutationObserver?.disconnect(),(0,u.d)(this),this.resizeObserver?.disconnect(),this.formEl=null}handleGlobalAttributesChanged(){this.requestUpdate()}updateHasContent(){this.hasContent=(0,v.D)(this.el)}setupTextContentObserver(){this.mutationObserver?.observe(this.el,{childList:!0,subtree:!0})}onLabelClick(){this.handleClick(),this.setFocus()}handleClick(){const{type:t}=this;this.href||("submit"===t?(0,s.s)(this):"reset"===t&&(0,s.r)(this))}setTooltipText(){const{contentRef:{value:t}}=this;t&&(this.tooltipText=t.offsetWidth<t.scrollWidth&&this.el.innerText||null)}setChildEl(t){(0,b.u)(this.resizeObserver,this.childEl,t),this.childEl=t}render(){const t=this.href?"a":"button",e=this.href?c.eu`a`:c.eu`button`,n=this.loading?o.qy`<div class=${(0,l.CP)("calcite-button--loader")}><calcite-loader class=${(0,l.CP)(this.loading?"loading-in":"loading-out")} inline .label=${this.messages.loading} .scale=${"l"===this.scale?"m":"s"}></calcite-loader></div>`:null,a=!this.iconStart&&!this.iconEnd,i=o.qy`<calcite-icon class=${(0,l.CP)({[k]:!0,[m]:!0})} .flipRtl=${"start"===this.iconFlipRtl||"both"===this.iconFlipRtl} .icon=${this.iconStart} .scale=${(0,p.g)(this.scale)}></calcite-icon>`,s=o.qy`<calcite-icon class=${(0,l.CP)({[k]:!0,[x]:!0})} .flipRtl=${"end"===this.iconFlipRtl||"both"===this.iconFlipRtl} .icon=${this.iconEnd} .scale=${(0,p.g)(this.scale)}></calcite-icon>`,b=o.qy`<span class=${(0,l.CP)("content")} ${(0,r.K)(this.contentRef)}><slot></slot></span>`;return(0,d.I)({disabled:this.disabled,children:c.qy`<${e} .ariaBusy=${this.loading} .ariaExpanded=${this.el.ariaExpanded?this.el.ariaExpanded:null} .ariaLabel=${this.loading?this.messages.loading:(0,u.g)(this)} aria-live=polite class=${(0,l.CP)({[z]:a,[E]:!a,[f]:this.hasContent,[y]:!this.iconStart,[w]:!this.iconEnd})} .disabled=${"button"===t?this.disabled:null} download=${("a"===t?!0===this.download||""===this.download?"":this.download||null:null)??o.s6} href=${("a"===t&&this.href)??o.s6} name=${("button"===t&&this.name)??o.s6} @click=${this.handleClick} rel=${("a"===t&&this.rel)??o.s6} tabindex=${(this.disabled?-1:null)??o.s6} target=${("a"===t&&this.target)??o.s6} title=${this.tooltipText??o.s6} type=${("button"===t?this.type:null)??o.s6} ${(0,r.K)(this.setChildEl)}>${n}${this.iconStart?i:null}${this.hasContent?b:null}${this.iconEnd?s:null}</${e}>`})}}(0,a.c)("calcite-button",$)},93174:(t,e,n)=>{n.d(e,{a:()=>y,b:()=>c,c:()=>h,d:()=>v,g:()=>f,l:()=>r});var a=n(79e3);const o="calciteInternalLabelClick",r="calciteInternalLabelConnected",c="calciteInternalLabelDisconnected",l="calcite-label",i=new WeakMap,s=new WeakMap,d=new WeakMap,u=new WeakMap,b=new Set,p=t=>{const{id:e}=t,n=e&&(0,a.q)(t,{selector:`${l}[for="${e}"]`});if(n)return n;const o=(0,a.l)(t,l);return!o||function(t,e){let n;const a="custom-element-ancestor-check",o=a=>{a.stopImmediatePropagation();const o=a.composedPath();n=o.slice(o.indexOf(e),o.indexOf(t))};t.addEventListener(a,o,{once:!0}),e.dispatchEvent(new CustomEvent(a,{composed:!0,bubbles:!0})),t.removeEventListener(a,o);return n.filter(n=>n!==e&&n!==t).filter(t=>t.tagName?.includes("-")).length>0}(o,t)?null:o};function h(t){if(!t)return;const e=p(t.el);if(s.has(e)&&e===t.labelEl||!e&&b.has(t))return;const n=x.bind(t);if(e){t.labelEl=e;const a=i.get(e)||[];a.push(t),i.set(e,a.sort(g)),s.has(t.labelEl)||(s.set(t.labelEl,k),t.labelEl.addEventListener(o,k)),b.delete(t),document.removeEventListener(r,d.get(t)),u.set(t,n),document.addEventListener(c,n)}else b.has(t)||(n(),document.removeEventListener(c,u.get(t)))}function v(t){if(!t)return;if(b.delete(t),document.removeEventListener(r,d.get(t)),document.removeEventListener(c,u.get(t)),d.delete(t),u.delete(t),!t.labelEl)return;const e=i.get(t.labelEl);1===e.length&&(t.labelEl.removeEventListener(o,s.get(t.labelEl)),s.delete(t.labelEl)),i.set(t.labelEl,e.filter(e=>e!==t).sort(g)),t.labelEl=null}function g(t,e){return(0,a.m)(t.el,e.el)?-1:1}function f(t){return t.label||t.labelEl?.textContent?.trim()||""}function k(t){const e=t.detail.sourceEvent.target,n=i.get(this),a=n.find(t=>t.el===e);if(n.includes(a))return;const o=n[0];o.disabled||o.onLabelClick(t)}function m(){b.has(this)&&h(this)}function x(){b.add(this);const t=d.get(this)||m.bind(this);d.set(this,t),document.addEventListener(r,t)}async function y(t){if(await t.componentOnReady(),i.has(t))return;const e=t.ownerDocument?.getElementById(t.for);e&&requestAnimationFrame(()=>{for(const t of b)if(t.el===e){h(t);break}})}}}]);
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/*! For license information please see 3a457e718a901a45902e.js.LICENSE.txt */
|
|
1
|
+
/*! For license information please see 3a457e718a901a45902e.js.LICENSE.txt */
|
|
2
2
|
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[1436],{4643:(t,e,n)=>{n.d(e,{c:()=>o,u:()=>i});var s=n(46337);function o(t,e,n){if(s.S$)return;const o=function(t){class e extends window.MutationObserver{constructor(t){super(t),this.observedEntry=[],this.callback=t}observe(t,e){return this.observedEntry.push({target:t,options:e}),super.observe(t,e)}unobserve(t){const e=this.observedEntry.filter(e=>e.target!==t);this.observedEntry=[],this.callback(super.takeRecords(),this),this.disconnect(),e.forEach(t=>this.observe(t.target,t.options))}}return"intersection"===t?window.IntersectionObserver:"mutation"===t?e:window.ResizeObserver}(t);return new o(e,n)}function i(t,e,n,s){t&&(e&&t.unobserve(e),n&&(t instanceof MutationObserver?t.observe(n,s):t.observe(n)))}},20307:(t,e,n)=>{n.d(e,{u:()=>r});var s=n(50941),o=n(83623),i=n(79e3);const r=()=>(0,s.aK)((t,e)=>{let n;function s(){n?.abort()}return e.onLoad(()=>{t.listen("focus",()=>{n=new AbortController,t.el.addEventListener("focusout",s,{signal:n.signal})})}),e.onDisconnected(()=>{t.el.removeEventListener("focusout",s)}),async(e,r)=>{if(t.disabled)return;const a=function(t){if(t)return function(t){return"target"in t&&("includeContainer"in t||"strategy"in t)}(t)?t:{target:t}}(e());if(!a)return;const{target:c,includeContainer:l,strategy:h}=a,u=(0,i.k)(t.el),p=u.activeElement;return await(0,o.c)(t),p!==u.activeElement||n&&!n?.signal.aborted?void 0:(t.el.removeEventListener("focus",s),(0,i.b)(c,l,h,t.el,r))}})},32239:(t,e,n)=>{var s=n(34088),o=n(46337),i=n(41557),r=n(79e3),a=n(4643),c=n(84137);const l="flip-rtl",h="svg",u={},p={},d={s:16,m:24,l:32};function b({icon:t,scale:e}){const n=d[e],s=function(t){const e=!isNaN(Number(t.charAt(0))),n=t.split("-");if(n.length>0){const e=/[a-z]/i;t=n.map((t,n)=>t.replace(e,function(t,e){return 0===n&&0===e?t:t.toUpperCase()})).join("")}return e?`i${t}`:t}(t),o="F"===s.charAt(s.length-1);return`${o?s.substring(0,s.length-1):s}${n}${o?"F":""}`}function v(t){return u[t]}const f=o.AH`:host{--calcite-internal-color-focus: var( --calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)) )}:host{display:inline-flex;color:var(--calcite-icon-color, var(--calcite-ui-icon-color, currentColor))}:host([scale=s]){inline-size:16px;block-size:16px;min-inline-size:16px;min-block-size:16px}:host([scale=m]){inline-size:24px;block-size:24px;min-inline-size:24px;min-block-size:24px}:host([scale=l]){inline-size:32px;block-size:32px;min-inline-size:32px;min-block-size:32px}.flip-rtl{transform:scaleX(-1)}.svg{display:block}:host([hidden]){display:none}[hidden]{display:none}`;class g extends i.WF{constructor(){super(...arguments),this.visible=!1,this.flipRtl=!1,this.icon=null,this.preload=!1,this.scale="m"}static{this.properties={pathData:[16,{},{state:!0}],visible:[16,{},{state:!0}],flipRtl:[7,{},{reflect:!0,type:Boolean}],icon:[3,{},{reflect:!0}],preload:[7,{},{reflect:!0,type:Boolean}],scale:[3,{},{reflect:!0}],textLabel:1}}static{this.styles=f}connectedCallback(){if(super.connectedCallback(),this.preload)return this.visible=!0,void this.loadIconPathData();this.visible||this.waitUntilVisible(()=>{this.visible=!0,this.loadIconPathData()})}willUpdate(t){(t.has("icon")&&(this.hasUpdated||null!==this.icon)||t.has("scale")&&(this.hasUpdated||"m"!==this.scale))&&this.loadIconPathData()}disconnectedCallback(){super.disconnectedCallback(),this.intersectionObserver?.disconnect(),this.intersectionObserver=null}async loadIconPathData(){const{icon:t,scale:e,visible:n}=this;if(o.S$||!t||!n)return;const i={icon:t,scale:e},r=v(b(i))||await async function(t){const e=b(t),n=v(e);if(n)return n;p[e]||(p[e]=fetch((0,s.g)(`./assets/icon/${e}.json`)).then(t=>t.json()).catch(()=>(c.l.error(`${t.icon} (${t.scale}) icon failed to load`),"")));const o=await p[e];return u[e]=o,o}(i);t===this.icon&&(this.pathData=r)}waitUntilVisible(t){this.intersectionObserver=(0,a.c)("intersection",e=>{e.forEach(e=>{e.isIntersecting&&(this.intersectionObserver.disconnect(),this.intersectionObserver=null,t())})},{rootMargin:"50px"}),this.intersectionObserver?this.intersectionObserver.observe(this.el):t()}render(){const{el:t,flipRtl:e,pathData:n,scale:s,textLabel:a}=this,c=(0,r.g)(t),u=d[s],p=!!a,b=[].concat(n||"");return this.el.ariaHidden=(0,r.t)(!p),this.el.ariaLabel=p?a:null,this.el.role=p?"img":null,o.qy`<svg aria-hidden=true class=${(0,i.CP)({[l]:"rtl"===c&&e,[h]:!0})} fill=currentColor height=100% viewBox=${`0 0 ${u} ${u}`} width=100% xmlns=http://www.w3.org/2000/svg>${b.map(t=>"string"==typeof t?o.JW`<path d=${t??o.s6} />`:o.JW`<path d=${t.d??o.s6} opacity=${("opacity"in t?t.opacity:1)??o.s6} />`)}</svg>`}}(0,s.c)("calcite-icon",g)},50941:(t,e,n)=>{n.d(e,{aK:()=>v,yr:()=>y,oW:()=>w});var s=n(55333),o=n(94667);var i=n(46337),r=n(20150);const a="ar,bg,bs,ca,cs,da,de,el,en,es,et,fi,fr,he,hr,hu,id,it,ja,ko,lt,lv,nl,nb,no,pl,pt-BR,pt-PT,ro,ru,sk,sl,sr,sv,th,tr,uk,vi,zh-CN,zh-HK,zh-TW".split(","),c=new Set(a),l="en",h={pt:"pt-PT",nb:"no",nn:"no",zh:"zh-CN"},u={},p=async(t,e)=>{const n=`${e}${t}.json`;try{const t=await fetch(n);if(t.ok)return await t.json()}catch(t){return console.error(t),{}}return t===l?{}:await p(l,e)},d=t=>{const e=(0,r.Zj)(t,"lang",globalThis.navigator?.language||l);return{lang:e,t9nLocale:b(e)}},b=t=>{const[e,n]=t.split("-"),s=e.toLowerCase();let o=s;return n&&(o=`${s}-${n.toUpperCase()}`),o=h[o]??o,c.has(o)?o:n?b(s):l},v=t=>e=>g(e,t);class f extends s.C{constructor(t,e){super(t);const n=this.exports;try{(0,o.s)(this.component);const t=e(this.component,this),s=this.exports!==n;if((0,o.i)(t)){s||this.setProvisionalExports(t);const e=t.then(t=>{this.exports=t,super.catchUpLifecycle()}).catch(t=>{this.P.reject(t),console.error(t)});this.onLoad(async()=>await e)}else s&&void 0===t||(this.exports=t),queueMicrotask(()=>super.catchUpLifecycle())}catch(t){this.P.reject(t),console.error(t)}}catchUpLifecycle(){}}const g=(m=f,(...t)=>{const e=(0,o.d)(),n=new m(...t),i=n.exports;(0,o.b)(e.at(-1));const r=n.component.manager;r.W(n,i),n.watchExports(r.W.bind(r,n)),(0,o.j)(n);const a=[n.component,...e].reverse();return(0,s.t)(a,t=>void 0===t?void 0:((t,{host:e,key:n,isReactive:s},i)=>{const r=e,a=r[n]!==t.exports,c=r[n]!==i,l=i!==t.exports;if(a&&!c&&l&&(r[n]=t.exports),e===t.component){if(s){const e=t.component.manager;c&&e.W(t,r[n]),t.onUpdate(s=>{if(s.has(n)){const s=r[n];s!==t.exports&&e.W(t,s)}})}t.O=s?void 0:n}const h=t.component.constructor.elementProperties.get(n)?.readOnly;t.watchExports(()=>{r[n]!==t.exports&&(h?(0,o.f)(()=>{r[n]=t.exports}):r[n]=t.exports)})})(n,t,i),i)});var m;const w=(t,e)=>new x(t,e);class x extends s.C{#t;#e;#n;constructor(t,e){super(),i.S$||(this.#e=t,this.#n=e,this.#t=new MutationObserver(n=>{n.forEach(n=>{t.includes(n.attributeName)&&e.call(this.component,this.component.el.getAttribute(n.attributeName),n.oldValue,n.attributeName)})}))}hostConnected(){this.#e.forEach(t=>{this.component.el.hasAttribute(t)&&this.#n.call(this.component,null,this.component.el.getAttribute(t),t)}),this.#t.observe(this.component.el,{attributes:!0,attributeOldValue:!0,attributeFilter:this.#e})}hostDisconnected(){this.#t.disconnect()}}const y=t=>(e={})=>g(void 0,(n,s)=>{const o=d(n.el),i={_lang:o.lang,_t9nLocale:o.t9nLocale,_loading:!0},a=n;s.onLifecycle(()=>((e,o,i,l)=>{let h;const b=()=>(async(t,e,n=t.localName.split("-").slice(1).join("-"))=>{const{lang:s,t9nLocale:o}=d(t),i=`${e}/${n}/t9n`,r=null===n?{}:await(async(t,e,n="")=>{const s=`${e}/${n}`,o=`${s}${t}.json`;return u[o]??(u[o]=p(t,s)),await u[o]})(o,i,"messages.");return{lang:s,t9nLocale:o,t9nStrings:r}})(e,t("./assets"),l).then(t=>{h?.lang===t.lang&&h.t9nLocale===t.t9nLocale&&h.t9nStrings===t.t9nStrings||(({t9nLocale:t,t9nStrings:e,lang:o})=>{const i={...e,_lang:o,_t9nLocale:t,_loading:!1};s.exports=i;const r=e.componentLabel;"string"==typeof r&&"label"in n&&null==n.label&&(n.label??=r),c(a.messageOverrides)})(t),h=t}).catch(console.error);return queueMicrotask(b),(0,r.Yt)(e,["lang"],b)})(n.el,0,0,e.name));const c=t=>{const e=s.exports,n=e._original??e,o=$(n,t);t&&(o._original=n),s.exports=o};return"messageOverrides"in a&&s.onUpdate(t=>{t.has("messageOverrides")&&c(a.messageOverrides)}),e.blocking?(s.setProvisionalExports(i,!1),s.ready):i}),$=(t,e)=>{if(!e)return t;const n={...t};return Object.entries(e).forEach(([e,s])=>{n[e]="object"==typeof s?$(t[e],s):s??t[e]}),n}},75572:(t,e,n)=>{n.d(e,{u:()=>i});var s=n(50941),o=n(34088);const i=(0,s.yr)(o.g)},83623:(t,e,n)=>{function s(t){return"l"===t?"m":"s"}async function o(t){await t.componentOnReady(),await t.updateComplete}n.d(e,{c:()=>o,g:()=>s}),n(84137)},84137:(t,e,n)=>{n.d(e,{l:()=>c});var s=n(34088);const o=new Set,i={trace:0,debug:1,info:2,warn:4,error:8,off:10};function r(t,...e){(function(t){return i[t]>=i[s.l]})(t)&&console[t].call(this,"%ccalcite","background: #007AC2; color: #fff; border-radius: 4px; padding: 2px 4px;",...e)}let a;const c={debug:t=>r("debug",t),info:t=>r("info",t),warn:t=>r("warn",t),error:t=>r("error",t),trace:t=>r("trace",t),deprecated:function(t,{component:e,name:n,suggested:s,removalVersion:i}){const c=`${t}:${"component"===t?"":e}${n}`;if(o.has(c))return;o.add(c);const l=Array.isArray(s);l&&!a&&(a=new Intl.ListFormat("en",{style:"long",type:"disjunction"})),r("warn",`[${n}] ${t} is deprecated and will be removed in ${"future"===i?"a future version":`v${i}`}.${s?` Use ${l?a.format(s.map(t=>`"${t}"`)):`"${s}"`} instead.`:""}`)}}}}]);
|
|
@@ -1,33 +1,33 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[3474],{4341:(t,e,n)=>{n.d(e,{I:()=>i});var r=n(26390);class i{constructor(t){this._allocator=t,this._items=[],this._itemsPtr=0,this._grow()}get(){return 0===this._itemsPtr&&(0,r.d)(()=>this._reset()),this._itemsPtr===this._items.length&&this._grow(),this._items[this._itemsPtr++]}_reset(){const t=Math.min(3*Math.max(8,this._itemsPtr),this._itemsPtr+3*s);this._items.length=Math.min(t,this._items.length),this._itemsPtr=0}_grow(){for(let t=0;t<Math.max(8,Math.min(this._items.length,s));t++)this._items.push(this._allocator())}}const s=1024},15976:(t,e,n)=>{n.d(e,{o:()=>i});var r=n(74333);class i extends r.n{constructor(t,e){super(t,"sampler2D",2,(n,r,i)=>n.bindTexture(t,e(r,i)))}}},20304:(t,e,n)=>{n.d(e,{m:()=>i});var r=n(74333);class i extends r.n{constructor(t,e,n){super(t,"float",1,(r,i,s)=>r.setUniform1f(t,e(i,s),n))}}},25634:(t,e,n)=>{n.d(e,{m8:()=>u,NV:()=>a});var r=n(97768),i=n(74887);class s{constructor(t){this._material=t.material,this._techniques=t.techniques,this._output=t.output}dispose(){}get _stippleTextures(){return this._techniques.context?.stippleTextures}get _markerTextures(){return this._techniques.context?.markerTextures}getTechnique(t,e){return this._techniques.get(t,this._material.getConfiguration(this._output,e))}ensureResources(t){return 2}}var o=n(65786);class u extends s{constructor(t){super(t),this._numLoading=0,this._disposed=!1,this._textures=t.textures,this.updateTexture(t.textureId),this._acquire(t.normalTextureId,t=>this._textureNormal=t),this._acquire(t.emissiveTextureId,t=>this._textureEmissive=t),this._acquire(t.occlusionTextureId,t=>this._textureOcclusion=t),this._acquire(t.metallicRoughnessTextureId,t=>this._textureMetallicRoughness=t)}dispose(){super.dispose(),this._texture=(0,r.Gz)(this._texture),this._textureNormal=(0,r.Gz)(this._textureNormal),this._textureEmissive=(0,r.Gz)(this._textureEmissive),this._textureOcclusion=(0,r.Gz)(this._textureOcclusion),this._textureMetallicRoughness=(0,r.Gz)(this._textureMetallicRoughness),this._disposed=!0}ensureResources(t){return 0===this._numLoading?2:1}get textureBindParameters(){return new a(this._texture?.glTexture??null,this._textureNormal?.glTexture??null,this._textureEmissive?.glTexture??null,this._textureOcclusion?.glTexture??null,this._textureMetallicRoughness?.glTexture??null)}updateTexture(t){null!=this._texture&&t===this._texture.id||(this._texture=(0,r.Gz)(this._texture),this._acquire(t,t=>this._texture=t))}_acquire(t,e){if(null==t)return void e(null);const n=this._textures.acquire(t);if((0,i.$X)(n))return++this._numLoading,void n.then(t=>{if(this._disposed)return(0,r.Gz)(t),void e(null);e(t)}).finally(()=>--this._numLoading);e(n)}}class c extends o.Y{constructor(t=null){super(),this.textureEmissive=t}}class a extends c{constructor(t,e,n,r,i,s,o){super(n),this.texture=t,this.textureNormal=e,this.textureOcclusion=r,this.textureMetallicRoughness=i,this.scale=s,this.normalTextureTransformMatrix=o}}},27993:(t,e,n)=>{n.d(e,{F:()=>s}),n(91218);var r=n(16930),i=n(65806);function s(t,e,n,r,s){return!(null==e||null==r||t.length<2)&&(o.x=t[0],o.y=t[1],o.z=t[2],o.spatialReference=e,(0,i.g)(o,n,r,s))}const o={x:0,y:0,z:0,hasZ:!0,hasM:!1,spatialReference:r.A.WGS84,type:"point"}},28421:(t,e,n)=>{n.d(e,{J:()=>i});var r=n(74333);class i extends r.n{constructor(t,e,n){super(t,"float",2,(r,i,s)=>r.setUniform1f(t,e(i,s),n))}}},31821:(t,e,n)=>{n.d(e,{H:()=>r,If:()=>i});const r=(t,...e)=>{let n="";for(let r=0;r<e.length;r++)n+=t[r]+e[r];return n+=t[t.length-1],n};function i(t,e,n=""){return t?e:n}r.int=t=>Math.round(t).toString(),r.float=t=>t.toPrecision(8)},33079:(t,e,n)=>{n.d(e,{t:()=>i});var r=n(74333);class i extends r.n{constructor(t,e,n){super(t,"vec3",1,(r,i,s)=>r.setUniform3fv(t,e(i,s),n))}}},40710:(t,e,n)=>{n.d(e,{W:()=>i});var r=n(74333);class i extends r.n{constructor(t,e,n){super(t,"vec3",2,(r,i,s,o)=>r.setUniform3fv(t,e(i,s,o),n))}}},46140:(t,e,n)=>{n.d(e,{R:()=>i});var r=n(49186);let i=class t{constructor(t,e,n=""){this.major=t,this.minor=e,this._context=n}lessThan(t,e){return this.major<t||t===this.major&&this.minor<e}greaterEqual(t,e){return!this.lessThan(t,e)}validate(t){if(this.major!==t.major){const e=this._context&&this._context+":",n=this._context&&this._context+" ";throw new r.A(e+"unsupported-version",`Required major ${n}version is '${this.major}', but got '\${version.major}.\${version.minor}'`,{version:t})}}clone(){return new t(this.major,this.minor,this._context)}static parse(e,n=""){const[i,s]=e.split("."),o=/^\s*\d+\s*$/;if(!i?.match||!o.test(i))throw new r.A((n&&n+":")+"invalid-version","Expected major version to be a number, but got '${version}'",{version:e});if(!s?.match||!o.test(s))throw new r.A((n&&n+":")+"invalid-version","Expected minor version to be a number, but got '${version}'",{version:e});const u=parseInt(i,10),c=parseInt(s,10);return new t(u,c,n)}}},49255:(t,e,n)=>{function r(t){return 4===t||5===t||6===t||7===t||8===t}function i(t){return function(t){return o(t)||u(t)}(t)||3===t}function s(t){return function(t){return 0===t}(t)||c(t)}function o(t){return s(t)||function(t){return 9===t||10===t}(t)}function u(t){return 2===t}function c(t){return 1===t}function a(t){return u(t)||r(t)}n.d(e,{Bf:()=>r,Dz:()=>a,LG:()=>c,Mb:()=>o,RN:()=>s,iq:()=>i})},53466:(t,e,n)=>{n.d(e,{U:()=>s});var r=n(21818),i=n(31821);function s(t,e){switch(e.textureCoordinateType){case 1:return t.attributes.add("uv0","vec2"),t.varyings.add("vuv0","vec2"),void t.vertex.code.add(i.H`void forwardTextureCoordinates() { vuv0 = uv0; }`);case 2:return t.attributes.add("uv0","vec2"),t.attributes.add("uvRegion","vec4"),t.varyings.add("vuv0","vec2"),t.varyings.add("vuvRegion","vec4"),void t.vertex.code.add(i.H`void forwardTextureCoordinates() {
|
|
2
|
-
vuv0 = uv0;
|
|
3
|
-
vuvRegion = uvRegion;
|
|
4
|
-
}`);default:(0,r.Xb)(e.textureCoordinateType);case 0:return void t.vertex.code.add(i.H`void forwardTextureCoordinates() {}`);case 3:return}}},63201:(t,e,n)=>{n.d(e,{NL:()=>f});var r=n(49255),i=n(99208),s=n(40876),o=n(31821);function u(t){t.code.add(o.H`
|
|
5
|
-
const float GAMMA = ${o.H.float(s.Tf)};
|
|
6
|
-
const float INV_GAMMA = ${o.H.float(1/s.Tf)};
|
|
7
|
-
|
|
8
|
-
vec4 delinearizeGamma(vec4 color) {
|
|
9
|
-
return vec4(pow(color.rgb, vec3(INV_GAMMA)), color.a);
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
vec3 linearizeGamma(vec3 color) {
|
|
13
|
-
return pow(color, vec3(GAMMA));
|
|
14
|
-
}
|
|
15
|
-
`)}var c=n(40710),a=n(33079),l=n(28421),d=n(20304),h=n(15976),m=n(63761);n(25634);const v=1;function f(t,e){if(!(0,r.RN)(e.output))return;t.fragment.include(u);const{emissionSource:n,hasEmissiveTextureTransform:s,bindType:f}=e,x=3===n||4===n||5===n;x&&(t.include(i.r,e),t.fragment.uniforms.add(1===f?new m.N("texEmission",t=>t.textureEmissive):new h.o("texEmission",t=>t.textureEmissive)));const g=2===n||x;g&&t.fragment.uniforms.add(1===f?new a.t("emissiveBaseColor",t=>t.emissiveBaseColor):new c.W("emissiveBaseColor",t=>t.emissiveBaseColor));const _=0!==n;_&&7!==n&&6!==n&&4!==n&&5!==n&&t.fragment.uniforms.add(1===f?new d.m("emissiveStrength",t=>t.emissiveStrength):new l.J("emissiveStrength",t=>t.emissiveStrength));const p=7===n,b=5===n,M=1===n||6===n||p;t.fragment.code.add(o.H`
|
|
16
|
-
vec4 getEmissions(vec3 symbolColor) {
|
|
17
|
-
vec4 emissions = ${g?b?"emissiveSource == 0 ? vec4(emissiveBaseColor, 1.0): vec4(linearizeGamma(symbolColor), 1.0)":"vec4(emissiveBaseColor, 1.0)":M?p?"emissiveSource == 0 ? vec4(0.0): vec4(linearizeGamma(symbolColor), 1.0)":"vec4(linearizeGamma(symbolColor), 1.0)":"vec4(0.0)"};
|
|
18
|
-
${(0,o.If)(x,`${(0,o.If)(b,`if(emissiveSource == 0) {\n vec4 emissiveFromTex = textureLookup(texEmission, ${s?"emissiveUV":"vuv0"});\n emissions *= vec4(linearizeGamma(emissiveFromTex.rgb), emissiveFromTex.a);\n }`,`vec4 emissiveFromTex = textureLookup(texEmission, ${s?"emissiveUV":"vuv0"});\n emissions *= vec4(linearizeGamma(emissiveFromTex.rgb), emissiveFromTex.a);`)}\n emissions.w = emissions.rgb == vec3(0.0) ? 0.0: emissions.w;`)}
|
|
19
|
-
${(0,o.If)(_,`emissions.rgb *= emissiveStrength * ${o.H.float(v)};`)}
|
|
20
|
-
return emissions;
|
|
21
|
-
}
|
|
22
|
-
`)}},63761:(t,e,n)=>{n.d(e,{N:()=>i});var r=n(74333);class i extends r.n{constructor(t,e){super(t,"sampler2D",1,(n,r,i)=>n.bindTexture(t,e(r,i)))}}},65786:(t,e,n)=>{n.d(e,{Y:()=>r});const r=class{};new r},65806:(t,e,n)=>{n.d(e,{g:()=>o});var r=n(51850),i=n(91218),s=n(9762);function o(t,e,n,r){if((0,i.canProjectWithoutEngine)(t.spatialReference,n)){u[0]=t.x,u[1]=t.y;const i=t.z;return u[2]=i??r??0,(0,s.projectBuffer)(u,t.spatialReference,0,e,n,0)}const o=(0,i.tryProjectWithZConversion)(t,n);return!!o&&(e[0]=o?.x,e[1]=o?.y,e[2]=o?.z??r??0,!0)}const u=(0,r.vt)()},71351:(t,e,n)=>{n.d(e,{C:()=>d,Cr:()=>h,LV:()=>l,fA:()=>m,kb:()=>v,oC:()=>f,vt:()=>c}),n(4576);var r=n(4341),i=(n(77690),n(29242)),s=n(38954),o=n(51850),u=n(32114);function c(t){return t?a((0,o.o8)(t.origin),(0,o.o8)(t.direction)):a((0,o.vt)(),(0,o.vt)())}function a(t,e){return{origin:t,direction:e}}function l(t,e){const n=x.get();return n.origin=t,n.direction=e,n}function d(t,e=c()){return m(t.origin,t.direction,e)}function h(t,e,n=c()){return(0,s.d)(n.origin,t),(0,s.e)(n.direction,e,t),n}function m(t,e,n=c()){return(0,s.d)(n.origin,t),(0,s.d)(n.direction,e),n}function v(t,e){const n=(0,s.i)(u.rq.get(),(0,s.n)(u.rq.get(),t.direction),(0,s.e)(u.rq.get(),e,t.origin));return(0,s.f)(n,n)}function f(t,e,n){const r=(0,s.f)(t.direction,(0,s.e)(n,e,t.origin));return(0,s.g)(n,t.origin,(0,s.h)(n,t.direction,r)),n}const x=new r.I(()=>c());(0,o.vt)(),(0,o.vt)(),(0,o.vt)(),(0,i.vt)()},74333:(t,e,n)=>{n.d(e,{n:()=>r}),n(44208);class r{constructor(t,e,n,r,i=null){if(this.name=t,this.type=e,this.arraySize=i,this.bind={0:null,1:null,2:null},r)switch(n){case void 0:break;case 0:this.bind[0]=r;break;case 1:this.bind[1]=r;break;case 2:this.bind[2]=r}}equals(t){return this.type===t.type&&this.name===t.name&&this.arraySize===t.arraySize}}},97937:(t,e,n)=>{n.d(e,{B:()=>I,a:()=>y,b:()=>M,c:()=>f,d:()=>E,e:()=>g,f:()=>v,g:()=>T,j:()=>x,m:()=>b,n:()=>C,o:()=>w,s:()=>B,w:()=>j,x:()=>R}),n(44208),n(53966);var r=n(34727),i=n(58083),s=n(38954),o=n(51850),u=n(91829),c=n(34304),a=n(71351);function l(t,e){const n=(0,s.b)(t),i=(0,r.YN)(t[2]/n),o=Math.atan2(t[1]/n,t[0]/n);return(0,s.j)(e,n,i,o),e}var d=n(44280),h=n(32114);const m=f();function v(t,e,n,r){return new Array(t,e,n,r)}function f(){return v(0,0,0,0)}function x(t,e){return v(t[0],t[1],t[2],e)}function g(t,e,n){return _(t,e[0],e[1],e[2],n)}function _(t,e,n,r,i){return t[0]=e,t[1]=n,t[2]=r,t[3]=i,t}function p(t,e){return t[0]===e[0]&&t[1]===e[1]&&t[2]===e[2]&&t[3]===e[3]}function b(t,e){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e}function M(t,e){return t[0]=0,t[1]=0,t[2]=0,t[3]=e,t}function T(t){return t[3]}function C(t,e){return(0,s.j)(e,t[0],t[1],t[2])}function y(t){return(0,s.j)(N,t[0],t[1],t[2])}function w(t,e){t[0]=e[0],t[1]=e[1],t[2]=e[2]}function R(t,e){t[0]=e[0],t[1]=e[1],t[2]=e[2]}function q(t,e,n){if(null==e)return!1;if(!A(t,e,S))return!1;let{t0:r,t1:i}=S;if((r<0||i<r&&i>0)&&(r=i),r<0)return!1;if(n){const{origin:t,direction:i}=e;n[0]=t[0]+i[0]*r,n[1]=t[1]+i[1]*r,n[2]=t[2]+i[2]*r}return!0}const S={t0:0,t1:0};function A(t,e,n){const{origin:r,direction:i}=e,s=z;s[0]=r[0]-t[0],s[1]=r[1]-t[1],s[2]=r[2]-t[2];const o=i[0]*i[0]+i[1]*i[1]+i[2]*i[2];if(0===o)return!1;const u=2*(i[0]*s[0]+i[1]*s[1]+i[2]*s[2]),c=u*u-4*o*(s[0]*s[0]+s[1]*s[1]+s[2]*s[2]-t[3]*t[3]);if(c<0)return!1;const a=Math.sqrt(c);return n.t0=(-u-a)/(2*o),n.t1=(-u+a)/(2*o),!0}const z=(0,o.vt)();function j(t,e){return q(t,e,null)}function G(t,e,n){const r=h.rq.get(),o=h.Rc.get();(0,s.i)(r,e.origin,e.direction);const u=T(t);(0,s.i)(n,r,e.origin),(0,s.h)(n,n,1/(0,s.b)(n)*u);const c=$(t,e.origin),a=(0,d.g7)(e.origin,n);return(0,i.$0)(o,a+c,r),(0,s.t)(n,n,o),n}function E(t,e,n,r){const i=T(t),s=i*i,o=e+.5*Math.PI,u=n*n+s-2*Math.cos(o)*n*i,c=Math.sqrt(u),a=u-s;if(a<=0)return.5;const l=Math.sqrt(a),d=Math.acos(l/c)-Math.asin(i/(c/Math.sin(o)));return Math.min(1,(d+.5*r)/r)}function V(t,e,n){const r=(0,s.e)(h.rq.get(),e,y(t)),i=(0,s.h)(h.rq.get(),r,t[3]/(0,s.b)(r));return(0,s.g)(n,i,y(t))}function $(t,e){const n=(0,s.e)(h.rq.get(),e,y(t)),i=(0,s.b)(n),o=T(t),u=o+Math.abs(o-i);return(0,r.XM)(o/u)}const k=(0,o.vt)();function P(t,e,n,r){const i=(0,s.e)(k,e,y(t));switch(n){case 0:{const t=l(i,k)[2];return(0,s.j)(r,-Math.sin(t),Math.cos(t),0)}case 1:{const t=l(i,k),e=t[1],n=t[2],o=Math.sin(e);return(0,s.j)(r,-o*Math.cos(n),-o*Math.sin(n),Math.cos(e))}case 2:return(0,s.n)(r,i);default:return}}function U(t,e){const n=(0,s.e)(H,e,y(t));return(0,s.b)(n)-t[3]}function I(t,e){const n=(0,s.s)(y(t),e),r=T(t);return n<=r*r}const N=(0,o.vt)(),F=(0,o.vt)(),L=f(),H=(0,o.vt)(),B=Object.freeze(Object.defineProperty({__proto__:null,NullSphere:m,altitudeAt:U,angleToSilhouette:$,axisAt:P,cameraFrustumCoverage:E,clear:function(t){t[0]=0,t[1]=0,t[2]=0,t[3]=0},clone:function(t){return v(t[0],t[1],t[2],t[3])},closestPoint:function(t,e,n){return q(t,e,n)?n:((0,a.oC)(e,y(t),n),V(t,n,n))},closestPointOnSilhouette:G,containsPoint:I,copy:b,copyCenter:R,create:f,distanceToSilhouette:function(t,e){const n=(0,s.e)(h.rq.get(),e,y(t)),r=(0,s.m)(n),i=t[3]*t[3];return Math.sqrt(Math.abs(r-i))},elevate:function(t,e,n){return t!==n&&(n[0]=t[0],n[1]=t[1],n[2]=t[2]),n[3]=t[3]+e,n},equals:p,exactEquals:function(t,e){return p(t,e)},fromCenterAndRadius:x,fromRadius:M,fromValues:v,fromVec4:function(t){return v(t[0],t[1],t[2],t[3])},getCenter:C,getCenterTemp:y,getExtent:function(t,e){return e},getRadius:T,intersectLine:function(t,e,n){const r=(0,a.Cr)(e,n);if(!A(t,r,S))return[];const{origin:i,direction:u}=r,{t0:l,t1:d}=S,h=e=>{const n=(0,o.vt)();return(0,s.c)(n,i,u,e),V(t,n,n)};return Math.abs(l-d)<(0,c.FD)()?[h(l)]:[h(l),h(d)]},intersectRay:q,intersectRayClosestSilhouette:function(t,e,n){if(q(t,e,n))return n;const r=G(t,e,h.rq.get());return(0,s.g)(n,e.origin,(0,s.h)(h.rq.get(),e.direction,(0,s.k)(e.origin,r)/(0,s.b)(e.direction))),n},intersectsRay:j,projectPoint:V,set:_,setAltitudeAt:function(t,e,n,r){const i=U(t,e),o=P(t,e,2,H),u=(0,s.h)(H,o,n-i);return(0,s.g)(r,e,u)},setCenter:w,setCenterFromValues:function(t,e,n,r){t[0]=e,t[1]=n,t[2]=r},setExtent:function(t,e,n){return t!==n&&b(t,n),n},setFromCenterAndRadius:g,setFromValues:function(t,e,n,r,i){t[0]=e,t[1]=n,t[2]=r,t[3]=i},setTransformedCenter:function(t,e,n){w(t,(0,s.t)(N,e,n))},tmpSphere:L,toVec4:function(t){return(0,u.fA)(t[0],t[1],t[2],t[3])},union:function(t,e,n=f()){const r=(0,s.k)(y(t),C(e,F)),i=t[3],o=e[3];return r+o<i?(b(t,n),n):r+i<o?(b(e,n),n):((0,s.l)(N,y(t),C(e,F),(r+o-i)/(2*r)),g(n,N,(r+i+o)/2),n)}},Symbol.toStringTag,{value:"Module"}))},99208:(t,e,n)=>{n.d(e,{r:()=>o});var r=n(53466),i=n(31821);function s(t){t.fragment.code.add(i.H`vec4 textureAtlasLookup(sampler2D tex, vec2 textureCoordinates, vec4 atlasRegion) {
|
|
23
|
-
vec2 atlasScale = atlasRegion.zw - atlasRegion.xy;
|
|
24
|
-
vec2 uvAtlas = fract(textureCoordinates) * atlasScale + atlasRegion.xy;
|
|
25
|
-
float maxdUV = 0.125;
|
|
26
|
-
vec2 dUVdx = clamp(dFdx(textureCoordinates), -maxdUV, maxdUV) * atlasScale;
|
|
27
|
-
vec2 dUVdy = clamp(dFdy(textureCoordinates), -maxdUV, maxdUV) * atlasScale;
|
|
28
|
-
return textureGrad(tex, uvAtlas, dUVdx, dUVdy);
|
|
29
|
-
}`)}function o(t,e){const{textureCoordinateType:n}=e;if(0===n||3===n)return;t.include(r.U,e);const o=2===n;o&&t.include(s),t.fragment.code.add(i.H`
|
|
30
|
-
vec4 textureLookup(sampler2D tex, vec2 uv) {
|
|
31
|
-
return ${o?"textureAtlasLookup(tex, uv, vuvRegion)":"texture(tex, uv)"};
|
|
32
|
-
}
|
|
1
|
+
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[3474],{4341:(t,e,n)=>{n.d(e,{I:()=>i});var r=n(26390);class i{constructor(t){this._allocator=t,this._items=[],this._itemsPtr=0,this._grow()}get(){return 0===this._itemsPtr&&(0,r.d)(()=>this._reset()),this._itemsPtr===this._items.length&&this._grow(),this._items[this._itemsPtr++]}_reset(){const t=Math.min(3*Math.max(8,this._itemsPtr),this._itemsPtr+3*s);this._items.length=Math.min(t,this._items.length),this._itemsPtr=0}_grow(){for(let t=0;t<Math.max(8,Math.min(this._items.length,s));t++)this._items.push(this._allocator())}}const s=1024},15976:(t,e,n)=>{n.d(e,{o:()=>i});var r=n(74333);class i extends r.n{constructor(t,e){super(t,"sampler2D",2,(n,r,i)=>n.bindTexture(t,e(r,i)))}}},20304:(t,e,n)=>{n.d(e,{m:()=>i});var r=n(74333);class i extends r.n{constructor(t,e,n){super(t,"float",1,(r,i,s)=>r.setUniform1f(t,e(i,s),n))}}},25634:(t,e,n)=>{n.d(e,{m8:()=>u,NV:()=>a});var r=n(97768),i=n(74887);class s{constructor(t){this._material=t.material,this._techniques=t.techniques,this._output=t.output}dispose(){}get _stippleTextures(){return this._techniques.context?.stippleTextures}get _markerTextures(){return this._techniques.context?.markerTextures}getTechnique(t,e){return this._techniques.get(t,this._material.getConfiguration(this._output,e))}ensureResources(t){return 2}}var o=n(65786);class u extends s{constructor(t){super(t),this._numLoading=0,this._disposed=!1,this._textures=t.textures,this.updateTexture(t.textureId),this._acquire(t.normalTextureId,t=>this._textureNormal=t),this._acquire(t.emissiveTextureId,t=>this._textureEmissive=t),this._acquire(t.occlusionTextureId,t=>this._textureOcclusion=t),this._acquire(t.metallicRoughnessTextureId,t=>this._textureMetallicRoughness=t)}dispose(){super.dispose(),this._texture=(0,r.Gz)(this._texture),this._textureNormal=(0,r.Gz)(this._textureNormal),this._textureEmissive=(0,r.Gz)(this._textureEmissive),this._textureOcclusion=(0,r.Gz)(this._textureOcclusion),this._textureMetallicRoughness=(0,r.Gz)(this._textureMetallicRoughness),this._disposed=!0}ensureResources(t){return 0===this._numLoading?2:1}get textureBindParameters(){return new a(this._texture?.glTexture??null,this._textureNormal?.glTexture??null,this._textureEmissive?.glTexture??null,this._textureOcclusion?.glTexture??null,this._textureMetallicRoughness?.glTexture??null)}updateTexture(t){null!=this._texture&&t===this._texture.id||(this._texture=(0,r.Gz)(this._texture),this._acquire(t,t=>this._texture=t))}_acquire(t,e){if(null==t)return void e(null);const n=this._textures.acquire(t);if((0,i.$X)(n))return++this._numLoading,void n.then(t=>{if(this._disposed)return(0,r.Gz)(t),void e(null);e(t)}).finally(()=>--this._numLoading);e(n)}}class c extends o.Y{constructor(t=null){super(),this.textureEmissive=t}}class a extends c{constructor(t,e,n,r,i,s,o){super(n),this.texture=t,this.textureNormal=e,this.textureOcclusion=r,this.textureMetallicRoughness=i,this.scale=s,this.normalTextureTransformMatrix=o}}},27993:(t,e,n)=>{n.d(e,{F:()=>s}),n(91218);var r=n(16930),i=n(65806);function s(t,e,n,r,s){return!(null==e||null==r||t.length<2)&&(o.x=t[0],o.y=t[1],o.z=t[2],o.spatialReference=e,(0,i.g)(o,n,r,s))}const o={x:0,y:0,z:0,hasZ:!0,hasM:!1,spatialReference:r.A.WGS84,type:"point"}},28421:(t,e,n)=>{n.d(e,{J:()=>i});var r=n(74333);class i extends r.n{constructor(t,e,n){super(t,"float",2,(r,i,s)=>r.setUniform1f(t,e(i,s),n))}}},31821:(t,e,n)=>{n.d(e,{H:()=>r,If:()=>i});const r=(t,...e)=>{let n="";for(let r=0;r<e.length;r++)n+=t[r]+e[r];return n+=t[t.length-1],n};function i(t,e,n=""){return t?e:n}r.int=t=>Math.round(t).toString(),r.float=t=>t.toPrecision(8)},33079:(t,e,n)=>{n.d(e,{t:()=>i});var r=n(74333);class i extends r.n{constructor(t,e,n){super(t,"vec3",1,(r,i,s)=>r.setUniform3fv(t,e(i,s),n))}}},40710:(t,e,n)=>{n.d(e,{W:()=>i});var r=n(74333);class i extends r.n{constructor(t,e,n){super(t,"vec3",2,(r,i,s,o)=>r.setUniform3fv(t,e(i,s,o),n))}}},46140:(t,e,n)=>{n.d(e,{R:()=>i});var r=n(49186);let i=class t{constructor(t,e,n=""){this.major=t,this.minor=e,this._context=n}lessThan(t,e){return this.major<t||t===this.major&&this.minor<e}greaterEqual(t,e){return!this.lessThan(t,e)}validate(t){if(this.major!==t.major){const e=this._context&&this._context+":",n=this._context&&this._context+" ";throw new r.A(e+"unsupported-version",`Required major ${n}version is '${this.major}', but got '\${version.major}.\${version.minor}'`,{version:t})}}clone(){return new t(this.major,this.minor,this._context)}static parse(e,n=""){const[i,s]=e.split("."),o=/^\s*\d+\s*$/;if(!i?.match||!o.test(i))throw new r.A((n&&n+":")+"invalid-version","Expected major version to be a number, but got '${version}'",{version:e});if(!s?.match||!o.test(s))throw new r.A((n&&n+":")+"invalid-version","Expected minor version to be a number, but got '${version}'",{version:e});const u=parseInt(i,10),c=parseInt(s,10);return new t(u,c,n)}}},49255:(t,e,n)=>{function r(t){return 4===t||5===t||6===t||7===t||8===t}function i(t){return function(t){return o(t)||u(t)}(t)||3===t}function s(t){return function(t){return 0===t}(t)||c(t)}function o(t){return s(t)||function(t){return 9===t||10===t}(t)}function u(t){return 2===t}function c(t){return 1===t}function a(t){return u(t)||r(t)}n.d(e,{Bf:()=>r,Dz:()=>a,LG:()=>c,Mb:()=>o,RN:()=>s,iq:()=>i})},53466:(t,e,n)=>{n.d(e,{U:()=>s});var r=n(21818),i=n(31821);function s(t,e){switch(e.textureCoordinateType){case 1:return t.attributes.add("uv0","vec2"),t.varyings.add("vuv0","vec2"),void t.vertex.code.add(i.H`void forwardTextureCoordinates() { vuv0 = uv0; }`);case 2:return t.attributes.add("uv0","vec2"),t.attributes.add("uvRegion","vec4"),t.varyings.add("vuv0","vec2"),t.varyings.add("vuvRegion","vec4"),void t.vertex.code.add(i.H`void forwardTextureCoordinates() {
|
|
2
|
+
vuv0 = uv0;
|
|
3
|
+
vuvRegion = uvRegion;
|
|
4
|
+
}`);default:(0,r.Xb)(e.textureCoordinateType);case 0:return void t.vertex.code.add(i.H`void forwardTextureCoordinates() {}`);case 3:return}}},63201:(t,e,n)=>{n.d(e,{NL:()=>f});var r=n(49255),i=n(99208),s=n(40876),o=n(31821);function u(t){t.code.add(o.H`
|
|
5
|
+
const float GAMMA = ${o.H.float(s.Tf)};
|
|
6
|
+
const float INV_GAMMA = ${o.H.float(1/s.Tf)};
|
|
7
|
+
|
|
8
|
+
vec4 delinearizeGamma(vec4 color) {
|
|
9
|
+
return vec4(pow(color.rgb, vec3(INV_GAMMA)), color.a);
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
vec3 linearizeGamma(vec3 color) {
|
|
13
|
+
return pow(color, vec3(GAMMA));
|
|
14
|
+
}
|
|
15
|
+
`)}var c=n(40710),a=n(33079),l=n(28421),d=n(20304),h=n(15976),m=n(63761);n(25634);const v=1;function f(t,e){if(!(0,r.RN)(e.output))return;t.fragment.include(u);const{emissionSource:n,hasEmissiveTextureTransform:s,bindType:f}=e,x=3===n||4===n||5===n;x&&(t.include(i.r,e),t.fragment.uniforms.add(1===f?new m.N("texEmission",t=>t.textureEmissive):new h.o("texEmission",t=>t.textureEmissive)));const g=2===n||x;g&&t.fragment.uniforms.add(1===f?new a.t("emissiveBaseColor",t=>t.emissiveBaseColor):new c.W("emissiveBaseColor",t=>t.emissiveBaseColor));const _=0!==n;_&&7!==n&&6!==n&&4!==n&&5!==n&&t.fragment.uniforms.add(1===f?new d.m("emissiveStrength",t=>t.emissiveStrength):new l.J("emissiveStrength",t=>t.emissiveStrength));const p=7===n,b=5===n,M=1===n||6===n||p;t.fragment.code.add(o.H`
|
|
16
|
+
vec4 getEmissions(vec3 symbolColor) {
|
|
17
|
+
vec4 emissions = ${g?b?"emissiveSource == 0 ? vec4(emissiveBaseColor, 1.0): vec4(linearizeGamma(symbolColor), 1.0)":"vec4(emissiveBaseColor, 1.0)":M?p?"emissiveSource == 0 ? vec4(0.0): vec4(linearizeGamma(symbolColor), 1.0)":"vec4(linearizeGamma(symbolColor), 1.0)":"vec4(0.0)"};
|
|
18
|
+
${(0,o.If)(x,`${(0,o.If)(b,`if(emissiveSource == 0) {\n vec4 emissiveFromTex = textureLookup(texEmission, ${s?"emissiveUV":"vuv0"});\n emissions *= vec4(linearizeGamma(emissiveFromTex.rgb), emissiveFromTex.a);\n }`,`vec4 emissiveFromTex = textureLookup(texEmission, ${s?"emissiveUV":"vuv0"});\n emissions *= vec4(linearizeGamma(emissiveFromTex.rgb), emissiveFromTex.a);`)}\n emissions.w = emissions.rgb == vec3(0.0) ? 0.0: emissions.w;`)}
|
|
19
|
+
${(0,o.If)(_,`emissions.rgb *= emissiveStrength * ${o.H.float(v)};`)}
|
|
20
|
+
return emissions;
|
|
21
|
+
}
|
|
22
|
+
`)}},63761:(t,e,n)=>{n.d(e,{N:()=>i});var r=n(74333);class i extends r.n{constructor(t,e){super(t,"sampler2D",1,(n,r,i)=>n.bindTexture(t,e(r,i)))}}},65786:(t,e,n)=>{n.d(e,{Y:()=>r});const r=class{};new r},65806:(t,e,n)=>{n.d(e,{g:()=>o});var r=n(51850),i=n(91218),s=n(9762);function o(t,e,n,r){if((0,i.canProjectWithoutEngine)(t.spatialReference,n)){u[0]=t.x,u[1]=t.y;const i=t.z;return u[2]=i??r??0,(0,s.projectBuffer)(u,t.spatialReference,0,e,n,0)}const o=(0,i.tryProjectWithZConversion)(t,n);return!!o&&(e[0]=o?.x,e[1]=o?.y,e[2]=o?.z??r??0,!0)}const u=(0,r.vt)()},71351:(t,e,n)=>{n.d(e,{C:()=>d,Cr:()=>h,LV:()=>l,fA:()=>m,kb:()=>v,oC:()=>f,vt:()=>c}),n(4576);var r=n(4341),i=(n(77690),n(29242)),s=n(38954),o=n(51850),u=n(32114);function c(t){return t?a((0,o.o8)(t.origin),(0,o.o8)(t.direction)):a((0,o.vt)(),(0,o.vt)())}function a(t,e){return{origin:t,direction:e}}function l(t,e){const n=x.get();return n.origin=t,n.direction=e,n}function d(t,e=c()){return m(t.origin,t.direction,e)}function h(t,e,n=c()){return(0,s.d)(n.origin,t),(0,s.e)(n.direction,e,t),n}function m(t,e,n=c()){return(0,s.d)(n.origin,t),(0,s.d)(n.direction,e),n}function v(t,e){const n=(0,s.i)(u.rq.get(),(0,s.n)(u.rq.get(),t.direction),(0,s.e)(u.rq.get(),e,t.origin));return(0,s.f)(n,n)}function f(t,e,n){const r=(0,s.f)(t.direction,(0,s.e)(n,e,t.origin));return(0,s.g)(n,t.origin,(0,s.h)(n,t.direction,r)),n}const x=new r.I(()=>c());(0,o.vt)(),(0,o.vt)(),(0,o.vt)(),(0,i.vt)()},74333:(t,e,n)=>{n.d(e,{n:()=>r}),n(44208);class r{constructor(t,e,n,r,i=null){if(this.name=t,this.type=e,this.arraySize=i,this.bind={0:null,1:null,2:null},r)switch(n){case void 0:break;case 0:this.bind[0]=r;break;case 1:this.bind[1]=r;break;case 2:this.bind[2]=r}}equals(t){return this.type===t.type&&this.name===t.name&&this.arraySize===t.arraySize}}},97937:(t,e,n)=>{n.d(e,{B:()=>I,a:()=>y,b:()=>M,c:()=>f,d:()=>E,e:()=>g,f:()=>v,g:()=>T,j:()=>x,m:()=>b,n:()=>C,o:()=>w,s:()=>B,w:()=>j,x:()=>R}),n(44208),n(53966);var r=n(34727),i=n(58083),s=n(38954),o=n(51850),u=n(91829),c=n(34304),a=n(71351);function l(t,e){const n=(0,s.b)(t),i=(0,r.YN)(t[2]/n),o=Math.atan2(t[1]/n,t[0]/n);return(0,s.j)(e,n,i,o),e}var d=n(44280),h=n(32114);const m=f();function v(t,e,n,r){return new Array(t,e,n,r)}function f(){return v(0,0,0,0)}function x(t,e){return v(t[0],t[1],t[2],e)}function g(t,e,n){return _(t,e[0],e[1],e[2],n)}function _(t,e,n,r,i){return t[0]=e,t[1]=n,t[2]=r,t[3]=i,t}function p(t,e){return t[0]===e[0]&&t[1]===e[1]&&t[2]===e[2]&&t[3]===e[3]}function b(t,e){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e}function M(t,e){return t[0]=0,t[1]=0,t[2]=0,t[3]=e,t}function T(t){return t[3]}function C(t,e){return(0,s.j)(e,t[0],t[1],t[2])}function y(t){return(0,s.j)(N,t[0],t[1],t[2])}function w(t,e){t[0]=e[0],t[1]=e[1],t[2]=e[2]}function R(t,e){t[0]=e[0],t[1]=e[1],t[2]=e[2]}function q(t,e,n){if(null==e)return!1;if(!A(t,e,S))return!1;let{t0:r,t1:i}=S;if((r<0||i<r&&i>0)&&(r=i),r<0)return!1;if(n){const{origin:t,direction:i}=e;n[0]=t[0]+i[0]*r,n[1]=t[1]+i[1]*r,n[2]=t[2]+i[2]*r}return!0}const S={t0:0,t1:0};function A(t,e,n){const{origin:r,direction:i}=e,s=z;s[0]=r[0]-t[0],s[1]=r[1]-t[1],s[2]=r[2]-t[2];const o=i[0]*i[0]+i[1]*i[1]+i[2]*i[2];if(0===o)return!1;const u=2*(i[0]*s[0]+i[1]*s[1]+i[2]*s[2]),c=u*u-4*o*(s[0]*s[0]+s[1]*s[1]+s[2]*s[2]-t[3]*t[3]);if(c<0)return!1;const a=Math.sqrt(c);return n.t0=(-u-a)/(2*o),n.t1=(-u+a)/(2*o),!0}const z=(0,o.vt)();function j(t,e){return q(t,e,null)}function G(t,e,n){const r=h.rq.get(),o=h.Rc.get();(0,s.i)(r,e.origin,e.direction);const u=T(t);(0,s.i)(n,r,e.origin),(0,s.h)(n,n,1/(0,s.b)(n)*u);const c=$(t,e.origin),a=(0,d.g7)(e.origin,n);return(0,i.$0)(o,a+c,r),(0,s.t)(n,n,o),n}function E(t,e,n,r){const i=T(t),s=i*i,o=e+.5*Math.PI,u=n*n+s-2*Math.cos(o)*n*i,c=Math.sqrt(u),a=u-s;if(a<=0)return.5;const l=Math.sqrt(a),d=Math.acos(l/c)-Math.asin(i/(c/Math.sin(o)));return Math.min(1,(d+.5*r)/r)}function V(t,e,n){const r=(0,s.e)(h.rq.get(),e,y(t)),i=(0,s.h)(h.rq.get(),r,t[3]/(0,s.b)(r));return(0,s.g)(n,i,y(t))}function $(t,e){const n=(0,s.e)(h.rq.get(),e,y(t)),i=(0,s.b)(n),o=T(t),u=o+Math.abs(o-i);return(0,r.XM)(o/u)}const k=(0,o.vt)();function P(t,e,n,r){const i=(0,s.e)(k,e,y(t));switch(n){case 0:{const t=l(i,k)[2];return(0,s.j)(r,-Math.sin(t),Math.cos(t),0)}case 1:{const t=l(i,k),e=t[1],n=t[2],o=Math.sin(e);return(0,s.j)(r,-o*Math.cos(n),-o*Math.sin(n),Math.cos(e))}case 2:return(0,s.n)(r,i);default:return}}function U(t,e){const n=(0,s.e)(H,e,y(t));return(0,s.b)(n)-t[3]}function I(t,e){const n=(0,s.s)(y(t),e),r=T(t);return n<=r*r}const N=(0,o.vt)(),F=(0,o.vt)(),L=f(),H=(0,o.vt)(),B=Object.freeze(Object.defineProperty({__proto__:null,NullSphere:m,altitudeAt:U,angleToSilhouette:$,axisAt:P,cameraFrustumCoverage:E,clear:function(t){t[0]=0,t[1]=0,t[2]=0,t[3]=0},clone:function(t){return v(t[0],t[1],t[2],t[3])},closestPoint:function(t,e,n){return q(t,e,n)?n:((0,a.oC)(e,y(t),n),V(t,n,n))},closestPointOnSilhouette:G,containsPoint:I,copy:b,copyCenter:R,create:f,distanceToSilhouette:function(t,e){const n=(0,s.e)(h.rq.get(),e,y(t)),r=(0,s.m)(n),i=t[3]*t[3];return Math.sqrt(Math.abs(r-i))},elevate:function(t,e,n){return t!==n&&(n[0]=t[0],n[1]=t[1],n[2]=t[2]),n[3]=t[3]+e,n},equals:p,exactEquals:function(t,e){return p(t,e)},fromCenterAndRadius:x,fromRadius:M,fromValues:v,fromVec4:function(t){return v(t[0],t[1],t[2],t[3])},getCenter:C,getCenterTemp:y,getExtent:function(t,e){return e},getRadius:T,intersectLine:function(t,e,n){const r=(0,a.Cr)(e,n);if(!A(t,r,S))return[];const{origin:i,direction:u}=r,{t0:l,t1:d}=S,h=e=>{const n=(0,o.vt)();return(0,s.c)(n,i,u,e),V(t,n,n)};return Math.abs(l-d)<(0,c.FD)()?[h(l)]:[h(l),h(d)]},intersectRay:q,intersectRayClosestSilhouette:function(t,e,n){if(q(t,e,n))return n;const r=G(t,e,h.rq.get());return(0,s.g)(n,e.origin,(0,s.h)(h.rq.get(),e.direction,(0,s.k)(e.origin,r)/(0,s.b)(e.direction))),n},intersectsRay:j,projectPoint:V,set:_,setAltitudeAt:function(t,e,n,r){const i=U(t,e),o=P(t,e,2,H),u=(0,s.h)(H,o,n-i);return(0,s.g)(r,e,u)},setCenter:w,setCenterFromValues:function(t,e,n,r){t[0]=e,t[1]=n,t[2]=r},setExtent:function(t,e,n){return t!==n&&b(t,n),n},setFromCenterAndRadius:g,setFromValues:function(t,e,n,r,i){t[0]=e,t[1]=n,t[2]=r,t[3]=i},setTransformedCenter:function(t,e,n){w(t,(0,s.t)(N,e,n))},tmpSphere:L,toVec4:function(t){return(0,u.fA)(t[0],t[1],t[2],t[3])},union:function(t,e,n=f()){const r=(0,s.k)(y(t),C(e,F)),i=t[3],o=e[3];return r+o<i?(b(t,n),n):r+i<o?(b(e,n),n):((0,s.l)(N,y(t),C(e,F),(r+o-i)/(2*r)),g(n,N,(r+i+o)/2),n)}},Symbol.toStringTag,{value:"Module"}))},99208:(t,e,n)=>{n.d(e,{r:()=>o});var r=n(53466),i=n(31821);function s(t){t.fragment.code.add(i.H`vec4 textureAtlasLookup(sampler2D tex, vec2 textureCoordinates, vec4 atlasRegion) {
|
|
23
|
+
vec2 atlasScale = atlasRegion.zw - atlasRegion.xy;
|
|
24
|
+
vec2 uvAtlas = fract(textureCoordinates) * atlasScale + atlasRegion.xy;
|
|
25
|
+
float maxdUV = 0.125;
|
|
26
|
+
vec2 dUVdx = clamp(dFdx(textureCoordinates), -maxdUV, maxdUV) * atlasScale;
|
|
27
|
+
vec2 dUVdy = clamp(dFdy(textureCoordinates), -maxdUV, maxdUV) * atlasScale;
|
|
28
|
+
return textureGrad(tex, uvAtlas, dUVdx, dUVdy);
|
|
29
|
+
}`)}function o(t,e){const{textureCoordinateType:n}=e;if(0===n||3===n)return;t.include(r.U,e);const o=2===n;o&&t.include(s),t.fragment.code.add(i.H`
|
|
30
|
+
vec4 textureLookup(sampler2D tex, vec2 uv) {
|
|
31
|
+
return ${o?"textureAtlasLookup(tex, uv, vuvRegion)":"texture(tex, uv)"};
|
|
32
|
+
}
|
|
33
33
|
`)}}}]);
|