@arcgis/core 4.33.0-next.20250502 → 4.33.0-next.20250504
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/assets/esri/core/workers/RemoteClient.js +1 -1
- package/assets/esri/core/workers/chunks/{0219c3f9408d3fa3c9a0.js → 03ee9d0407c230b885ed.js} +1 -1
- package/assets/esri/core/workers/chunks/{84f972d7851d982701a0.js → 1ca7e0d519ecbfe6976f.js} +1 -1
- package/assets/esri/core/workers/chunks/3fb25912b274f264c84e.js +1 -0
- package/assets/esri/core/workers/chunks/{9652cfd4668b95036c87.js → 532088a72c3ddc50f3be.js} +1 -1
- package/assets/esri/core/workers/chunks/{653ff3e631fea8ad393a.js → a0db1f3ca29e34dfa16f.js} +12 -12
- package/assets/esri/core/workers/chunks/{581180668e0229dcdc14.js → bf190d672dcbaedc1a41.js} +1 -1
- package/assets/esri/geometry/support/pe-wasm.wasm +0 -0
- package/assets/esri/themes/base/widgets/_OrientedImageryViewer.scss +14 -1
- package/assets/esri/themes/base/widgets/_SelectionList.scss +34 -0
- package/assets/esri/themes/base/widgets/_SelectionToolbar.scss +6 -0
- package/assets/esri/themes/dark/main.css +1 -1
- package/assets/esri/themes/light/main.css +1 -1
- package/assets/esri/themes/light/view.css +1 -1
- package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer.json +1 -1
- package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_en.json +1 -1
- package/assets/esri/widgets/support/SelectionList/t9n/SelectionList.json +1 -1
- package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_en.json +1 -1
- package/assets/esri/widgets/support/SelectionToolbar/t9n/SelectionToolbar.json +1 -1
- package/assets/esri/widgets/support/SelectionToolbar/t9n/SelectionToolbar_en.json +1 -1
- package/chunks/pe-wasm.js +1 -1
- package/chunks/pe.js +1 -1
- package/geometry/coordinateFormatter.js +1 -1
- package/geometry/support/WKIDUnitConversion.js +1 -1
- package/package.json +1 -1
- package/support/revision.js +1 -1
- package/views/3d/interactive/Manipulator3D.js +1 -1
- package/views/3d/interactive/visualElements/PointVisualElement.js +1 -1
- package/views/3d/layers/DrapedSubView3D.js +1 -1
- package/views/3d/layers/I3SMeshView3D.js +1 -1
- package/views/3d/layers/IntegratedMesh3DTilesLayerView3D.js +1 -1
- package/views/3d/layers/MediaLayerView3D.js +1 -1
- package/views/3d/layers/graphics/Graphics3DIconSymbolLayer.js +1 -1
- package/views/3d/layers/graphics/Graphics3DMeshFillSymbolLayer.js +1 -1
- package/views/3d/layers/graphics/Graphics3DObjectSymbolLayer.js +1 -1
- package/views/3d/layers/graphics/pipeline/rendering/FeaturePipelineRenderManager.js +1 -1
- package/views/3d/layers/graphics/pipeline/rendering/LodRenderer.js +1 -1
- package/views/3d/support/StreamTextureCollection.js +1 -1
- package/views/3d/support/TextureCollection.js +1 -1
- package/views/3d/webgl-engine/Stage.js +1 -1
- package/views/3d/webgl-engine/lib/ModelDirtySet.js +1 -1
- package/views/3d/webgl-engine/lib/TextTextureAtlas.js +1 -1
- package/views/3d/webgl-engine/lib/Texture.js +1 -1
- package/views/3d/webgl-engine/lib/TextureRepository.js +1 -1
- package/views/3d/webgl-engine/lib/WebGLLayer.js +1 -1
- package/views/3d/webgl-engine/parts/Model.js +1 -1
- package/widgets/FeatureForm/FeatureFormUtilityNetworkAssociations/UtilityNetworkAssociationItemList.js +1 -1
- package/widgets/OrientedImageryViewer/OrientedImageryViewerViewModel.js +1 -1
- package/widgets/OrientedImageryViewer/adapters/sketch/MeasurementAdapter.js +1 -1
- package/widgets/OrientedImageryViewer/adapters/sketch/TriangulatedMeasurementAdapter.js +5 -0
- package/widgets/OrientedImageryViewer/components/ImageMeasurementWidget.js +1 -1
- package/widgets/OrientedImageryViewer/css.js +1 -1
- package/widgets/OrientedImageryViewer/imageMeasurementUtils.js +1 -1
- package/widgets/OrientedImageryViewer/mixins/SketchHandlerMixin.js +1 -1
- package/widgets/OrientedImageryViewer/mixins/TriangulatedImageMeasurementMixin.js +5 -0
- package/widgets/OrientedImageryViewer/mixins/TriangulatedSketchHandlerMixin.js +5 -0
- package/widgets/OrientedImageryViewer.js +1 -1
- package/widgets/Sketch.js +1 -1
- package/widgets/support/SelectionList/LayerItem.js +1 -1
- package/widgets/support/SelectionList/SelectionListViewModel.js +1 -1
- package/widgets/support/SelectionList/VisibleElements.js +1 -1
- package/widgets/support/SelectionList.js +1 -1
- package/widgets/support/SelectionToolbar/SelectionToolbarViewModel.js +1 -1
- package/widgets/support/SelectionToolbar/VisibleElements.js +5 -0
- package/widgets/support/SelectionToolbar.js +1 -1
- package/widgets/support/Selector2D/SelectionOperation.js +1 -1
- package/assets/esri/core/workers/chunks/e3ef0451dcdc2e966628.js +0 -1
- package/views/3d/webgl-engine/lib/ContentObject.js +0 -5
- package/views/3d/webgl-engine/lib/ContentObjectType.js +0 -5
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
4
4
|
*/
|
|
5
|
-
import{_ as o}from"../../../chunks/tslib.es6.js";import e from"../../../core/Accessor.js";import{property as t}from"../../../core/accessorSupport/decorators/property.js";import"../../../core/has.js";import"../../../core/Logger.js";import"../../../core/RandomLCG.js";import{subclass as
|
|
5
|
+
import{_ as o}from"../../../chunks/tslib.es6.js";import e from"../../../core/Accessor.js";import{property as t}from"../../../core/accessorSupport/decorators/property.js";import"../../../core/has.js";import"../../../core/Logger.js";import"../../../core/RandomLCG.js";import{subclass as l}from"../../../core/accessorSupport/decorators/subclass.js";let i=class extends e{constructor(o){super(o),this.countText=!1,this.filter=!0,this.filterNotice=!0,this.itemCloseActions=!0,this.itemCountChip=!0,this.itemIcons=!0,this.itemMenus=!0,this.header=!0,this.layerFilter=!0,this.menu=!0,this.totalCountChip=!0}};o([t({type:Boolean,nonNullable:!0})],i.prototype,"countText",void 0),o([t({type:Boolean,nonNullable:!0})],i.prototype,"filter",void 0),o([t({type:Boolean,nonNullable:!0})],i.prototype,"filterNotice",void 0),o([t({type:Boolean,nonNullable:!0})],i.prototype,"itemCloseActions",void 0),o([t({type:Boolean,nonNullable:!0})],i.prototype,"itemCountChip",void 0),o([t({type:Boolean,nonNullable:!0})],i.prototype,"itemIcons",void 0),o([t({type:Boolean,nonNullable:!0})],i.prototype,"itemMenus",void 0),o([t({type:Boolean,nonNullable:!0})],i.prototype,"header",void 0),o([t({type:Boolean,nonNullable:!0})],i.prototype,"layerFilter",void 0),o([t({type:Boolean,nonNullable:!0})],i.prototype,"menu",void 0),o([t({type:Boolean,nonNullable:!0})],i.prototype,"totalCountChip",void 0),i=o([l("esri.widgets.support.SelectionList.VisibleElements")],i);const r=i;export{r as default};
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
4
4
|
*/
|
|
5
|
-
import{_ as e}from"../../chunks/tslib.es6.js";import"../../intl.js";import{isSome as t}from"../../core/arrayUtils.js";import{property as i}from"../../core/accessorSupport/decorators/property.js";import"../../core/has.js";import"../../core/Logger.js";import{subclass as s}from"../../core/accessorSupport/decorators/subclass.js";import o from"../Widget.js";import{loadCalciteComponents as l}from"./componentsUtils.js";import{globalCss as n}from"./globalCss.js";import{storeNode as r}from"./widgetUtils.js";import{messageBundle as a}from"./decorators/messageBundle.js";import{tsx as c}from"./jsxFactory.js";import{isGroupLayerItem as m,isLayerItem as d,isFeatureItem as p}from"./SelectionList/selectionListUtils.js";import h from"./SelectionList/SelectionListViewModel.js";import u from"./SelectionList/VisibleElements.js";import{formatNumber as g}from"../../intl/number.js";import{substitute as v}from"../../intl/substitute.js";const y="esri-selection-list",I=`${y}__list-item`,f={base:y,baseSmall:`${y}--small`,baseMedium:`${y}--medium`,baseLarge:`${y}--large`,container:`${y}__container`,notice:`${y}__notice`,listItemFeature:`${I}__feature`,listItemFeatureIcon:`${I}__feature-icon`,listItemIcon:`${I}__icon`,totalCountChip:`${y}__total-count`};let b=class extends o{constructor(e,t){super(e,t),this._list=null,this._iconIntersectionObserver=new IntersectionObserver(((e,t)=>{e.forEach((async e=>{if(e.isIntersecting){const i=e.target;if(this._hasIcon(i))return void t.unobserve(i);const s=this._getListItem(i);if(!s)return;this._setHasIcon(i,!0);const o=await s.fetchThumbnail().catch((()=>(this._setHasIcon(i,!1),null)));if(null==o)return;i.appendChild(o)}}))})),this.displayMode="group",this.menuScale="m",this.messages=null,this.messagesCommon=null,this.scale="s",this.viewModel=new h,this.visibleElements=new u,this._afterItemCreate=e=>{this._iconIntersectionObserver?.observe(e)},this._afterItemRemoved=e=>{this._iconIntersectionObserver?.unobserve(e)},this.clear=this.clear.bind(this),this.collapseItems=this.collapseItems.bind(this),this.removeTemporaryHighlight=this.removeTemporaryHighlight.bind(this)}destroy(){this._iconIntersectionObserver?.disconnect(),this._iconIntersectionObserver=null}loadDependencies(){return l({action:()=>import("@esri/calcite-components/dist/components/calcite-action"),chip:()=>import("@esri/calcite-components/dist/components/calcite-chip"),dropdown:()=>import("@esri/calcite-components/dist/components/calcite-dropdown"),"dropdown-group":()=>import("@esri/calcite-components/dist/components/calcite-dropdown-group"),"dropdown-item":()=>import("@esri/calcite-components/dist/components/calcite-dropdown-item"),flow:()=>import("@esri/calcite-components/dist/components/calcite-flow"),"flow-item":()=>import("@esri/calcite-components/dist/components/calcite-flow-item"),list:()=>import("@esri/calcite-components/dist/components/calcite-list"),"list-item":()=>import("@esri/calcite-components/dist/components/calcite-list-item"),notice:()=>import("@esri/calcite-components/dist/components/calcite-notice"),panel:()=>import("@esri/calcite-components/dist/components/calcite-panel")})}get effectiveCount(){return this.viewModel.effectiveCount}get effectiveSelectionManager(){return this.viewModel.effectiveSelectionManager}get featureTitleMap(){return this.viewModel.featureTitleMap}get icon(){return"selection"}set icon(e){this._overrideIfSome("icon",e)}get isUpdating(){return this.viewModel.isUpdating}get label(){return this.messages?.widgetLabel??""}set label(e){this._overrideIfSome("label",e)}get layerItems(){return this.viewModel.layerItems}get layerViewMap(){return this.viewModel.layerViewMap}get maxVisibleFeatureCountExceeded(){return this.viewModel.maxVisibleFeatureCountExceeded}get maxVisibleFeatureCountPerLayer(){return this.viewModel.maxVisibleFeatureCountPerLayer}set maxVisibleFeatureCountPerLayer(e){this.viewModel.maxVisibleFeatureCountPerLayer=e}get selectionManager(){return this.viewModel.selectionManager}set selectionManager(e){this.viewModel.selectionManager=e}get selectionSources(){return this.viewModel.selectionSources}get selectionsByLayerMap(){return this.viewModel.selectionsByLayerMap}get state(){return this.viewModel.state}get totalCount(){return this.viewModel.totalCount}get view(){return this.viewModel.view}set view(e){this.viewModel.view=e}get viewLayersAndTables(){return this.viewModel.viewLayersAndTables}addTemporaryHighlight(e){this.viewModel.addTemporaryHighlight(e)}clear(){this.viewModel.clear()}deselectFeatureItem(e){this.viewModel.deselectFeatureItem(e)}deselectGroupItem(e){this.viewModel.deselectGroupItem(e)}deselectLayerItem(e){this.viewModel.deselectLayerItem(e)}deselectItem(e){this.viewModel.deselectItem(e)}collapseItems(){this._list?.filteredItems.forEach((e=>e.expanded=!1))}goToItem(e){this.viewModel.goToItem(e)}removeFromSelection(e){this.viewModel.removeFromSelection(e)}removeTemporaryHighlight(){this.viewModel.removeTemporaryHighlight()}selectSingleFeatureItem(e){this.viewModel.selectSingleFeatureItem(e)}selectSingleGroupItem(e){this.viewModel.selectSingleGroupItem(e)}selectSingleItem(e){this.viewModel.selectSingleItem(e)}selectSingleLayerItem(e){this.viewModel.selectSingleLayerItem(e)}setSelection(e){this.viewModel.setSelection(e)}render(){return c("div",{class:this.classes(f.base,n.widget,n.panel,this._getBaseCssClass())},c("calcite-flow",null,c("calcite-flow-item",{class:f.container,heading:this.visibleElements.header?this.messages.selection:void 0,loading:"loading"===this.state,scale:this.scale,selected:!0},c("calcite-panel",{overlayPositioning:"fixed",scale:this.scale},this._renderList()),this._renderTotalChip(),this._renderMenuActions())))}_renderTotalChip(){const{visibleElements:e}=this;if(!e.totalCountChip||!e.header)return;const{effectiveCount:t}=this,i=g(t),s=v(this.messages.selectionCount,{count:i});return c("calcite-chip",{appearance:"outline",class:f.totalCountChip,closable:t>0,closed:0===t,icon:this.maxVisibleFeatureCountExceeded?"exclamation-mark-triangle":void 0,label:i,scale:this.scale,slot:"header-actions-end",title:s,onCalciteChipClose:this.clear},i)}_renderMenuActions(){const{visibleElements:e}=this;if(!e.header||!e.menu)return;const{menuScale:t}=this,i=0===this.totalCount;return[c("calcite-action",{disabled:i,icon:"reset",onclick:this.clear,scale:t,slot:"header-menu-actions",text:this.messagesCommon.clear,textEnabled:!0}),c("calcite-action",{disabled:i,icon:"folders",onclick:this.collapseItems,scale:t,slot:"header-menu-actions",text:this.messages.collapseAll,textEnabled:!0})]}_renderList(){const e=this.layerItems??[],t=!!(this.visibleElements.filter&&this.effectiveCount>0);return c("calcite-list",{afterCreate:r,bind:this,"data-node-ref":"_list",displayMode:"nested",filterEnabled:t,filterPlaceholder:this.messages.filter,filterPredicate:({value:e})=>null==this._list?.filterText||new RegExp(this._list.filterText,"iu").test(e),interactionMode:"interactive",label:this.messages.widgetLabel,loading:this.isUpdating,scale:this.scale,selectionMode:"none"},this._renderListContent(e))}_renderListContent(e){return e.map((e=>m(e)?this._renderGroupItem(e):d(e)?this._renderLayerItem(e):null)).filter(t)}_renderItemCountChip(e){if(!this.visibleElements.itemCountChip)return;const{messages:t}=this,{maxVisibleFeatureCountExceeded:i,total:s}=e,o=g(s),l=i?t.tooManyFeatures:v(t.selectionCount,{count:o});return c("calcite-chip",{appearance:"outline",icon:i?"exclamation-mark-triangle":void 0,label:o,scale:"s",slot:"content-end",title:l},o)}_renderItemActions(e){if(!this.visibleElements.itemMenus)return;const{messages:t,messagesCommon:i}=this,s=p(e),o=s?t.deselectFeature:d(e)?t.deselectLayer:t.deselectGroup;return[c("calcite-dropdown",{overlayPositioning:"fixed",scale:this.menuScale,slot:"actions-end",width:"m"},c("calcite-action",{appearance:"transparent",icon:"ellipsis",scale:this.scale,slot:"trigger",text:i.menu,textEnabled:!1}),c("calcite-dropdown-group",{selectionMode:"none"},c("calcite-dropdown-item",{iconStart:"layer-zoom-to",onCalciteDropdownItemSelect:()=>this.goToItem(e)},t.zoomTo),c("calcite-dropdown-item",{iconStart:"selection-filter",onCalciteDropdownItemSelect:()=>this.selectSingleItem(e)},s?t.onlySelectFeature:t.onlySelectThis),c("calcite-dropdown-item",{iconStart:"selection-x",onCalciteDropdownItemSelect:()=>this.deselectItem(e)},o)))]}_renderGroupItem(e){const t=e.title||this.messages.untitledLayer;if(0===e.total)return;const{displayMode:i}=this;if("layer"===i||"feature"===i)return this._renderListContent(e.children);const{visibleElements:s}=this;return c("calcite-list-item",{bind:this,closable:!!s.itemCloseActions,expanded:!0,iconStart:s.itemIcons?e.iconName:void 0,key:e.key,label:t,onclick:t=>{t.stopPropagation(),this.emit("item-click",{item:e})},title:t,value:e.title,onCalciteListItemClose:t=>{t.stopPropagation(),this.deselectItem(e)}},this._renderItemCountChip(e),this._renderItemActions(e),this._renderListContent(e.children))}_renderLayerItem(e){const{messages:t}=this,i=e.title||t.untitledLayer;if(0===e.total)return;if("feature"===this.displayMode)return this._renderItems(e.selection);const{visibleElements:s}=this;return c("calcite-list-item",{bind:this,closable:!!s.itemCloseActions,expanded:!0,iconStart:s.itemIcons?e.iconName:void 0,key:e.key,label:i,onclick:t=>{t.stopPropagation(),this.emit("item-click",{item:e})},scale:this.scale,title:i,value:e.title,onCalciteListItemClose:t=>{t.stopPropagation(),this.deselectItem(e)}},this._renderItemCountChip(e),this._renderItemActions(e),this._renderItems(e.selection),e.maxVisibleFeatureCountExceeded?c("calcite-notice",{class:f.notice,icon:"exclamation-mark-triangle",kind:"info",open:!0,scale:this.scale},c("div",{slot:"message"},t.tooManyFeatures)):void 0)}_renderItems(e){return e.map((e=>this._renderItem(e)))}_renderItem(e){const{messages:t,visibleElements:i}=this,s=e.title||t.untitledFeature,o=i.itemIcons&&"feature"!==this.displayMode;return c("calcite-list-item",{bind:this,class:o?f.listItemFeatureIcon:f.listItemFeature,closable:!!i.itemCloseActions,"data-item":e,key:e.key,label:s,name:s,onblur:this.removeTemporaryHighlight,onclick:t=>{t.stopPropagation(),this.emit("item-click",{item:e})},onfocus:()=>this.addTemporaryHighlight(e),onpointerenter:()=>this.addTemporaryHighlight(e),onpointerleave:this.removeTemporaryHighlight,scale:this.scale,title:s,value:s,onCalciteListItemClose:t=>{t.stopPropagation(),this.deselectItem(e)}},this._renderItemIcon(e),this._renderItemActions(e))}_renderItemIcon(e){if(this.visibleElements.itemIcons)return c("div",{class:f.listItemIcon,key:"content-start",slot:"content-start"},c("span",{afterCreate:this._afterItemCreate,afterRemoved:this._afterItemRemoved,"data-has-icon":!1,"data-item":e,key:"icon"}))}_getListItem(e){return e?.["data-item"]}_hasIcon(e){return!!e?.["data-has-icon"]}_setHasIcon(e,t){e&&(e["data-has-icon"]=t)}_getBaseCssClass(){switch(this.scale){case"s":return f.baseSmall;case"m":return f.baseMedium;default:return f.baseLarge}}};e([i()],b.prototype,"_list",void 0),e([i()],b.prototype,"displayMode",void 0),e([i()],b.prototype,"effectiveCount",null),e([i()],b.prototype,"effectiveSelectionManager",null),e([i()],b.prototype,"featureTitleMap",null),e([i()],b.prototype,"icon",null),e([i()],b.prototype,"isUpdating",null),e([i()],b.prototype,"label",null),e([i()],b.prototype,"layerItems",null),e([i()],b.prototype,"layerViewMap",null),e([i()],b.prototype,"maxVisibleFeatureCountExceeded",null),e([i()],b.prototype,"maxVisibleFeatureCountPerLayer",null),e([i()],b.prototype,"menuScale",void 0),e([i(),a("esri/widgets/support/SelectionList/t9n/SelectionList")],b.prototype,"messages",void 0),e([i(),a("esri/t9n/common")],b.prototype,"messagesCommon",void 0),e([i()],b.prototype,"scale",void 0),e([i()],b.prototype,"selectionManager",null),e([i()],b.prototype,"selectionSources",null),e([i()],b.prototype,"selectionsByLayerMap",null),e([i()],b.prototype,"state",null),e([i()],b.prototype,"totalCount",null),e([i()],b.prototype,"view",null),e([i()],b.prototype,"viewLayersAndTables",null),e([i()],b.prototype,"viewModel",void 0),e([i({type:u,nonNullable:!0})],b.prototype,"visibleElements",void 0),b=e([s("esri.widgets.support.SelectionList")],b);const w=b;export{w as default};
|
|
5
|
+
import{_ as e}from"../../chunks/tslib.es6.js";import"../../intl.js";import{isSome as t}from"../../core/arrayUtils.js";import{property as i}from"../../core/accessorSupport/decorators/property.js";import"../../core/has.js";import"../../core/Logger.js";import{subclass as s}from"../../core/accessorSupport/decorators/subclass.js";import o from"../Widget.js";import{loadCalciteComponents as l}from"./componentsUtils.js";import{globalCss as r}from"./globalCss.js";import{storeNode as n}from"./widgetUtils.js";import{messageBundle as a}from"./decorators/messageBundle.js";import{tsx as c}from"./jsxFactory.js";import{isGroupLayerItem as m,isLayerItem as d,isFeatureItem as h}from"./SelectionList/selectionListUtils.js";import p from"./SelectionList/SelectionListViewModel.js";import u from"./SelectionList/VisibleElements.js";import{formatNumber as y}from"../../intl/number.js";import{substitute as g}from"../../intl/substitute.js";const v="esri-selection-list",I=`${v}__list-item`,f={base:v,container:`${v}__container`,notice:`${v}__notice`,countText:`${v}__count-text`,layerDropdown:`${v}__layer-dropdown`,listItemFeature:`${I}__feature`,listItemFeatureIcon:`${I}__feature-icon`,listItemIcon:`${I}__icon`,totalCountChip:`${v}__total-count`};let b=class extends o{constructor(e,t){super(e,t),this._list=null,this._iconIntersectionObserver=new IntersectionObserver(((e,t)=>{e.forEach((async e=>{if(e.isIntersecting){const i=e.target;if(this._hasIcon(i))return void t.unobserve(i);const s=this._getListItem(i);if(!s)return;this._setHasIcon(i,!0);const o=await s.fetchThumbnail().catch((()=>(this._setHasIcon(i,!1),null)));if(null==o)return;i.appendChild(o)}}))})),this.displayMode="group",this.menuScale="m",this.messages=null,this.messagesCommon=null,this.scale="s",this.viewModel=new p,this.visibleElements=new u,this._afterItemCreate=e=>{this._iconIntersectionObserver?.observe(e)},this._afterItemRemoved=e=>{this._iconIntersectionObserver?.unobserve(e)},this.clear=this.clear.bind(this),this.collapseItems=this.collapseItems.bind(this),this.removeTemporaryHighlight=this.removeTemporaryHighlight.bind(this)}destroy(){this._iconIntersectionObserver?.disconnect(),this._iconIntersectionObserver=null}loadDependencies(){return l({action:()=>import("@esri/calcite-components/dist/components/calcite-action"),chip:()=>import("@esri/calcite-components/dist/components/calcite-chip"),combobox:()=>import("@esri/calcite-components/dist/components/calcite-combobox"),"combobox-item":()=>import("@esri/calcite-components/dist/components/calcite-combobox-item"),dropdown:()=>import("@esri/calcite-components/dist/components/calcite-dropdown"),"dropdown-group":()=>import("@esri/calcite-components/dist/components/calcite-dropdown-group"),"dropdown-item":()=>import("@esri/calcite-components/dist/components/calcite-dropdown-item"),flow:()=>import("@esri/calcite-components/dist/components/calcite-flow"),"flow-item":()=>import("@esri/calcite-components/dist/components/calcite-flow-item"),list:()=>import("@esri/calcite-components/dist/components/calcite-list"),"list-item":()=>import("@esri/calcite-components/dist/components/calcite-list-item"),notice:()=>import("@esri/calcite-components/dist/components/calcite-notice"),panel:()=>import("@esri/calcite-components/dist/components/calcite-panel")})}get _activeLayerItem(){return this.layer&&this.layerItems.find((e=>e.layer===this.layer))}get allLayerItems(){return this.viewModel.allLayerItems}get effectiveCount(){return this.viewModel.effectiveCount}get effectiveSelectionManager(){return this.viewModel.effectiveSelectionManager}get featureTitleMap(){return this.viewModel.featureTitleMap}get icon(){return"selection"}set icon(e){this._overrideIfSome("icon",e)}get isUpdating(){return this.viewModel.isUpdating}get label(){return this.messages?.widgetLabel??""}set label(e){this._overrideIfSome("label",e)}get layer(){return this.viewModel.layer}set layer(e){this.viewModel.layer=e}get layerItems(){return this.viewModel.layerItems}get layerViewMap(){return this.viewModel.layerViewMap}get maxVisibleFeatureCountExceeded(){return this.viewModel.maxVisibleFeatureCountExceeded}get maxVisibleFeatureCountPerLayer(){return this.viewModel.maxVisibleFeatureCountPerLayer}set maxVisibleFeatureCountPerLayer(e){this.viewModel.maxVisibleFeatureCountPerLayer=e}get selectionManager(){return this.viewModel.selectionManager}set selectionManager(e){this.viewModel.selectionManager=e}get selectionSources(){return this.viewModel.selectionSources}get state(){return this.viewModel.state}get totalCount(){return this.viewModel.totalCount}get view(){return this.viewModel.view}set view(e){this.viewModel.view=e}get viewLayersAndTables(){return this.viewModel.viewLayersAndTables}get visibleFeatureCount(){return this.viewModel.visibleFeatureCount}addTemporaryHighlight(e){this.viewModel.addTemporaryHighlight(e)}clear(){this.viewModel.clear()}deselectFeatureItem(e){this.viewModel.deselectFeatureItem(e)}deselectGroupItem(e){this.viewModel.deselectGroupItem(e)}deselectLayerItem(e){this.viewModel.deselectLayerItem(e)}deselectItem(e){this.viewModel.deselectItem(e)}collapseItems(){this._list?.filteredItems.forEach((e=>e.expanded=!1))}goToItem(e){this.viewModel.goToItem(e)}removeFromSelection(e){this.viewModel.removeFromSelection(e)}removeTemporaryHighlight(){this.viewModel.removeTemporaryHighlight()}selectSingleFeatureItem(e){this.viewModel.selectSingleFeatureItem(e)}selectSingleGroupItem(e){this.viewModel.selectSingleGroupItem(e)}selectSingleItem(e){this.viewModel.selectSingleItem(e)}selectSingleLayerItem(e){this.viewModel.selectSingleLayerItem(e)}setSelection(e){this.viewModel.setSelection(e)}render(){return c("div",{class:this.classes(f.base,r.widget,r.panel)},c("calcite-flow",null,c("calcite-flow-item",{class:f.container,heading:this.visibleElements.header?this.messages.selection:void 0,loading:"loading"===this.state,overlayPositioning:"fixed",scale:this.scale,selected:!0},c("calcite-panel",{overlayPositioning:"fixed",scale:this.scale},this._renderLayerFilter(),this._renderCountText(),this._renderList()),this._renderTotalChip(),this._renderMenuActions())))}_renderTotalChip(){const{visibleElements:e}=this;if(!e.totalCountChip||!e.header)return;const{effectiveCount:t}=this,i=y(t),s=g(this.messages.selectionCount,{count:i});return c("calcite-chip",{appearance:"outline",class:f.totalCountChip,closable:t>0,closed:0===t,icon:this.maxVisibleFeatureCountExceeded?"exclamation-mark-triangle":void 0,label:i,scale:this.scale,slot:"header-actions-end",title:s,onCalciteChipClose:this.clear},i)}_renderMenuActions(){const{visibleElements:e}=this;if(!e.header||!e.menu)return;const{menuScale:t}=this,i=0===this.totalCount;return[c("calcite-action",{disabled:i,icon:"reset",key:"clear-action",onclick:this.clear,scale:t,slot:"header-menu-actions",text:this.messagesCommon.clear,textEnabled:!0}),c("calcite-action",{disabled:i,icon:"folders",key:"collapse-action",onclick:this.collapseItems,scale:t,slot:"header-menu-actions",text:this.messages.collapseAll,textEnabled:!0})]}_renderCountText(){if(!this.visibleElements.countText)return;const{effectiveCount:e,messages:t,visibleFeatureCount:i}=this,s=y(e);return c("div",{class:f.countText,key:"feature-count-label"},this.maxVisibleFeatureCountExceeded?g(t.featuresCountShowing,{count:s,visibleCount:y(i)}):g(t.featuresCount,{count:s}))}_renderLayerFilter(){const{layerItems:e,messages:t}=this;if(0!==this.totalCount&&0!==e.length&&this.visibleElements.layerFilter)return c("calcite-combobox",{class:f.layerDropdown,clearDisabled:!0,label:t.filterByLayer,overlayPositioning:"fixed",placeholder:t.filterByLayer,scale:this.scale,selectionMode:"single-persist",onCalciteComboboxChange:({currentTarget:e})=>{this._list&&(this._list.filterText=""),this.layer=e.selectedItems[0]?.value??void 0}},c("calcite-combobox-item",{heading:g(t.allLayersCount,{count:e.length}),icon:"layers",key:"all-layers",selected:null==this.layer,value:null}),this.layerItems.map((e=>this._renderLayerFilterItem(e))))}_renderLayerFilterItem(e){const t=e.title||this.messages.untitledLayer;return c("calcite-combobox-item",{heading:t,icon:e.iconName,key:e.key,selected:e.layer===this.layer,value:e.layer})}_renderList(){const{messages:e}=this,t=!!(this.visibleElements.filter&&this.effectiveCount>0);return c("calcite-list",{afterCreate:n,bind:this,"data-node-ref":"_list",displayMode:"nested",filterEnabled:t,filterPlaceholder:e.filter,filterPredicate:({value:e})=>null==this._list?.filterText||new RegExp(this._list.filterText,"iu").test(e),interactionMode:"interactive",label:e.widgetLabel,loading:this.isUpdating,scale:this.scale,selectionMode:"none"},this._renderListContent(this.allLayerItems),this._renderFilterNotice())}_renderListContent(e){return this._activeLayerItem?this._renderLayerItem(this._activeLayerItem):e.map((e=>m(e)?this._renderGroupItem(e):d(e)?this._renderLayerItem(e):null)).filter(t)}_renderFilterNotice(){const{visibleElements:e}=this;if(e.filter&&e.filterNotice)return c("calcite-notice",{icon:"exclamation-mark-triangle",kind:"info",open:!0,scale:this.scale,slot:"filter-no-results"},c("div",{slot:"message"},this.messages.noMatchingFeatures))}_renderItemCountChip(e){if(!this.visibleElements.itemCountChip)return;const{messages:t}=this,{maxVisibleFeatureCountExceeded:i,total:s}=e,o=y(s),l=i?t.tooManyFeatures:g(t.selectionCount,{count:o});return c("calcite-chip",{appearance:"outline",icon:i?"exclamation-mark-triangle":void 0,label:o,scale:"s",slot:"content-end",title:l},o)}_renderItemActions(e){if(!this.visibleElements.itemMenus)return;const{messages:t,messagesCommon:i}=this,s=h(e),o=s?t.deselectFeature:d(e)?t.deselectLayer:t.deselectGroup;return[c("calcite-dropdown",{overlayPositioning:"fixed",scale:this.menuScale,slot:"actions-end",width:"m"},c("calcite-action",{appearance:"transparent",icon:"ellipsis",scale:this.scale,slot:"trigger",text:i.menu,textEnabled:!1}),c("calcite-dropdown-group",{selectionMode:"none"},c("calcite-dropdown-item",{iconStart:"layer-zoom-to",onCalciteDropdownItemSelect:()=>this.goToItem(e)},t.zoomTo),c("calcite-dropdown-item",{iconStart:"selection-filter",onCalciteDropdownItemSelect:()=>this.selectSingleItem(e)},s?t.onlySelectFeature:t.onlySelectThis),c("calcite-dropdown-item",{iconStart:"selection-x",onCalciteDropdownItemSelect:()=>this.deselectItem(e)},o)))]}_renderGroupItem(e){const t=e.title||this.messages.untitledLayer;if(0===e.total)return;const{displayMode:i}=this;if("layer"===i||"feature"===i)return this._renderListContent(e.children);const{visibleElements:s}=this;return c("calcite-list-item",{bind:this,closable:!!s.itemCloseActions,expanded:!0,iconStart:s.itemIcons?e.iconName:void 0,key:e.key,label:t,onclick:t=>{t.stopPropagation(),this.emit("item-click",{item:e})},value:e.title,onCalciteListItemClose:t=>{t.stopPropagation(),this.deselectItem(e)}},this._renderItemActions(e),this._renderListContent(e.children))}_renderLayerItem(e){const{messages:t}=this,i=e.title||t.untitledLayer;if(0===e.total)return;if("feature"===this.displayMode||this._activeLayerItem)return this._renderItems(e.selection);const{visibleElements:s}=this;return c("calcite-list-item",{bind:this,closable:!!s.itemCloseActions,expanded:!0,iconStart:s.itemIcons?e.iconName:void 0,key:e.key,label:i,onclick:t=>{t.stopPropagation(),this.emit("item-click",{item:e})},scale:this.scale,value:e.title,onCalciteListItemClose:t=>{t.stopPropagation(),this.deselectItem(e)}},this._renderItemCountChip(e),this._renderItemActions(e),this._renderItems(e.selection),e.maxVisibleFeatureCountExceeded?c("calcite-notice",{class:f.notice,icon:"exclamation-mark-triangle",kind:"info",open:!0,scale:this.scale},c("div",{slot:"message"},t.tooManyFeatures)):void 0)}_renderItems(e){return e.map((e=>this._renderItem(e)))}_renderItem(e){const{messages:t,visibleElements:i}=this,s=e.title||t.untitledFeature,o=i.itemIcons&&"feature"!==this.displayMode;return c("calcite-list-item",{bind:this,class:o?f.listItemFeatureIcon:f.listItemFeature,closable:!!i.itemCloseActions,"data-item":e,key:e.key,label:s,name:s,onblur:this.removeTemporaryHighlight,onclick:t=>{t.stopPropagation(),this.emit("item-click",{item:e})},onfocus:()=>this.addTemporaryHighlight(e),onpointerenter:()=>this.addTemporaryHighlight(e),onpointerleave:this.removeTemporaryHighlight,scale:this.scale,value:s,onCalciteListItemClose:t=>{t.stopPropagation(),this.deselectItem(e)}},this._renderItemIcon(e),this._renderItemActions(e))}_renderItemIcon(e){if(this.visibleElements.itemIcons)return c("div",{class:f.listItemIcon,key:"content-start",slot:"content-start"},c("span",{afterCreate:this._afterItemCreate,afterRemoved:this._afterItemRemoved,"data-has-icon":!1,"data-item":e,key:"icon"}))}_getListItem(e){return e?.["data-item"]}_hasIcon(e){return!!e?.["data-has-icon"]}_setHasIcon(e,t){e&&(e["data-has-icon"]=t)}};e([i()],b.prototype,"_activeLayerItem",null),e([i()],b.prototype,"_list",void 0),e([i()],b.prototype,"allLayerItems",null),e([i()],b.prototype,"displayMode",void 0),e([i()],b.prototype,"effectiveCount",null),e([i()],b.prototype,"effectiveSelectionManager",null),e([i()],b.prototype,"featureTitleMap",null),e([i()],b.prototype,"icon",null),e([i()],b.prototype,"isUpdating",null),e([i()],b.prototype,"label",null),e([i()],b.prototype,"layer",null),e([i()],b.prototype,"layerItems",null),e([i()],b.prototype,"layerViewMap",null),e([i()],b.prototype,"maxVisibleFeatureCountExceeded",null),e([i()],b.prototype,"maxVisibleFeatureCountPerLayer",null),e([i()],b.prototype,"menuScale",void 0),e([i(),a("esri/widgets/support/SelectionList/t9n/SelectionList")],b.prototype,"messages",void 0),e([i(),a("esri/t9n/common")],b.prototype,"messagesCommon",void 0),e([i()],b.prototype,"scale",void 0),e([i()],b.prototype,"selectionManager",null),e([i()],b.prototype,"selectionSources",null),e([i()],b.prototype,"state",null),e([i()],b.prototype,"totalCount",null),e([i()],b.prototype,"view",null),e([i()],b.prototype,"viewLayersAndTables",null),e([i()],b.prototype,"viewModel",void 0),e([i()],b.prototype,"visibleFeatureCount",null),e([i({type:u,nonNullable:!0})],b.prototype,"visibleElements",void 0),b=e([s("esri.widgets.support.SelectionList")],b);const _=b;export{_ as default};
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
4
4
|
*/
|
|
5
|
-
import{_ as e}from"../../../chunks/tslib.es6.js";import{deprecatedProperty as t}from"../../../core/deprecate.js";import o from"../../../core/Evented.js";import{handlesGroup as
|
|
5
|
+
import{_ as e}from"../../../chunks/tslib.es6.js";import{deprecatedProperty as t}from"../../../core/deprecate.js";import o from"../../../core/Evented.js";import{handlesGroup as r}from"../../../core/handleUtils.js";import s from"../../../core/Logger.js";import{removeMaybe as i}from"../../../core/maybe.js";import{watch as a}from"../../../core/reactiveUtils.js";import{property as n}from"../../../core/accessorSupport/decorators/property.js";import"../../../core/has.js";import"../../../core/RandomLCG.js";import{subclass as c}from"../../../core/accessorSupport/decorators/subclass.js";import{isKnowledgeGraphLayer as l,isLinkChartLayer as p}from"../../../layers/support/layerUtils.js";import{findLayerView as u}from"../../../views/draw/support/layerUtils.js";import{isSelectableLayerView2D as h}from"../../../views/support/layerViewUtils.js";import d from"../Selector2D/SelectionOperation.js";let f=class extends o.EventedAccessor{constructor(e){super(e),this._operationHandlesGroup=null,this.activeOperation=null,this.layerViewPreferenceEnabled=!0,this.selectionManager=null,this.sources=null}initialize(){this.addHandles([a((()=>this.effectiveSources),(e=>{this.activeOperation&&(this.activeOperation.sources=e)}))])}destroy(){this._operationHandlesGroup=i(this._operationHandlesGroup)}get effectiveSelectionManager(){return this.selectionManager??this.view?.selectionManager}get effectiveSources(){const{layerViewPreferenceEnabled:e,sources:t,view:o}=this,r=t??this.effectiveSelectionManager?.sources;if(!r?.length)return[];const s=[];return r.forEach((t=>{if(h(t))s.push(t);else if(l(t)||p(t)){(t.layers||[]).forEach((t=>{const r=o?u(o,t):void 0,i=e&&h(r)?r:t;s.push(i)}))}else if(e){const e=o?u(o,t):void 0,r=h(e)?e:t;s.push(r)}else s.push(t)})),s}get layers(){return t(s.getLogger(this),"layers",{replacement:"Use SelectionToolbar.sources instead."}),this.sources}set layers(e){t(s.getLogger(this),"layers",{replacement:"Use SelectionToolbar.sources instead."}),this.sources=e}get state(){return this.activeOperation?"active":this.view?.ready&&this.effectiveSources.length?"ready":"disabled"}cancel(){"active"===this.state&&(this.activeOperation?.cancel(),this._set("activeOperation",null))}activate(e){const{effectiveSources:t,effectiveSelectionManager:o,state:s,view:i}=this;if("disabled"===s||!t?.length||!i)return;"active"===s&&this.cancel();const a=new d({selectionManager:o,sources:t,options:e,view:i});return this._operationHandlesGroup=r([a.selection.on("change",(e=>this.emit("selection-change",e))),a.once("complete",(e=>this._onOperationComplete(e)))]),this._set("activeOperation",a),a}_onOperationComplete(e){this._operationHandlesGroup=i(this._operationHandlesGroup),this._set("activeOperation",null),this.emit("complete",e)}};e([n({readOnly:!0})],f.prototype,"activeOperation",void 0),e([n()],f.prototype,"effectiveSelectionManager",null),e([n()],f.prototype,"effectiveSources",null),e([n()],f.prototype,"layers",null),e([n()],f.prototype,"layerViewPreferenceEnabled",void 0),e([n()],f.prototype,"selectionManager",void 0),e([n()],f.prototype,"sources",void 0),e([n({readOnly:!0})],f.prototype,"state",null),e([n()],f.prototype,"view",void 0),f=e([c("esri.widgets.support.SelectionToolbar.SelectionToolbarViewModel")],f);const v=f;export{v as default};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/*
|
|
2
|
+
All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
+
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
4
|
+
*/
|
|
5
|
+
import{_ as o}from"../../../chunks/tslib.es6.js";import e from"../../../core/Accessor.js";import{property as t}from"../../../core/accessorSupport/decorators/property.js";import"../../../core/has.js";import"../../../core/Logger.js";import"../../../core/RandomLCG.js";import{subclass as s}from"../../../core/accessorSupport/decorators/subclass.js";let r=class extends e{constructor(o){super(o),this.chip=!0,this.lassoTool=!0,this.pan=!0,this.pointTool=!0,this.rectangleTool=!0}};o([t({type:Boolean,nonNullable:!0})],r.prototype,"chip",void 0),o([t({type:Boolean,nonNullable:!0})],r.prototype,"lassoTool",void 0),o([t({type:Boolean,nonNullable:!0})],r.prototype,"pan",void 0),o([t({type:Boolean,nonNullable:!0})],r.prototype,"pointTool",void 0),o([t({type:Boolean,nonNullable:!0})],r.prototype,"rectangleTool",void 0),r=o([s("esri.widgets.support.SelectionToolbar.VisibleElements")],r);const l=r;export{l as default};
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
4
4
|
*/
|
|
5
|
-
import{_ as e}from"../../chunks/tslib.es6.js";import{deprecatedProperty as
|
|
5
|
+
import{_ as e}from"../../chunks/tslib.es6.js";import"../../intl.js";import{deprecatedProperty as t}from"../../core/deprecate.js";import{handlesGroup as o}from"../../core/handleUtils.js";import i from"../../core/Logger.js";import{removeMaybe as s}from"../../core/maybe.js";import{property as l}from"../../core/accessorSupport/decorators/property.js";import"../../core/has.js";import"../../core/RandomLCG.js";import{subclass as r}from"../../core/accessorSupport/decorators/subclass.js";import n from"../Widget.js";import{loadCalciteComponents as a}from"./componentsUtils.js";import{globalCss as c}from"./globalCss.js";import"./widgetUtils.js";import{messageBundle as p}from"./decorators/messageBundle.js";import{tsx as d}from"./jsxFactory.js";import h from"./SelectionToolbar/SelectionToolbarViewModel.js";import u from"./SelectionToolbar/VisibleElements.js";import{formatNumber as f}from"../../intl/number.js";const v="esri-selection-toolbar",m={base:v,container:`${v}__container`,toolButton:`${v}__tool-button`};let g=class extends n{constructor(e,t){super(e,t),this._viewModelHandlesGroup=null,this.activeToolInfo=null,this.defaultLassoToolOptions={createTool:"polygon",mode:"freehand"},this.defaultPointToolOptions={createTool:"point"},this.defaultRectangleToolOptions={createTool:"rectangle"},this.disabled=!1,this.layout="horizontal",this.messages=null,this.scale="s",this.toolConfigs=[],this.viewModel=new h,this.visibleElements=new u,this._viewModelHandlesGroup=o([this.viewModel.on("complete",(e=>{this._set("activeToolInfo",null),this.emit("complete",e)}))])}destroy(){this._viewModelHandlesGroup=s(this._viewModelHandlesGroup)}loadDependencies(){return a({action:()=>import("@esri/calcite-components/dist/components/calcite-action"),chip:()=>import("@esri/calcite-components/dist/components/calcite-chip")})}get _effectiveDisabled(){return this.disabled||"disabled"===this.state}get activeOperation(){return this.viewModel.activeOperation}get effectiveSelectionManager(){return this.viewModel.effectiveSelectionManager}get effectiveSources(){return this.viewModel.effectiveSources}get label(){return this.messages?.widgetLabel??""}set label(e){this._overrideIfSome("label",e)}get layers(){return t(i.getLogger(this),"layers",{replacement:"Use SelectionToolbar.sources instead."}),this.viewModel.sources}set layers(e){t(i.getLogger(this),"layers",{replacement:"Use SelectionToolbar.sources instead."}),this.viewModel.sources=e}get layerViewPreferenceEnabled(){return this.viewModel.layerViewPreferenceEnabled}set layerViewPreferenceEnabled(e){this.viewModel.layerViewPreferenceEnabled=e}get selectionManager(){return this.viewModel.selectionManager}set selectionManager(e){this.viewModel.selectionManager=e}get state(){return this.viewModel.state}get sources(){return this.viewModel.sources}set sources(e){this.viewModel.sources=e}get view(){return this.viewModel.view}set view(e){this.viewModel.view=e}get visibleToolCount(){const{view:e,toolConfigs:t,visibleElements:o}=this;return(t?.length??0)+("2d"===e?.type?(o.lassoTool?1:0)+(o.rectangleTool?1:0):0)}activate(e){if(this.cancel(),!this._effectiveDisabled)switch(e){case"lasso":this._activateTool("lasso");break;case"rectangle":this._activateTool("rectangle");break;default:this._activateTool(e)}}cancel(){this.viewModel.cancel(),this._set("activeToolInfo",null)}render(){return d("div",{"aria-label":this.label,class:this.classes(m.base,c.widget)},d("div",{class:m.container},this._renderDefaultTools(),this._renderCustomTools()))}_renderDefaultTools(){if("2d"===this.view?.type)return[this._renderPanAction(),this._renderPointTool(),this._renderRectangleTool(),this._renderLassoTool(),this._renderChip()]}_renderPanAction(){if(!this.visibleElements.pan)return;const e=this.messages.pan,t=`${this.id}-tool-pan`;return this._renderAction({active:!this.activeToolInfo,disabled:this._effectiveDisabled,icon:"pan",id:t,key:t,onclick:()=>this.cancel(),text:e,title:e})}_renderChip(){if(!this.visibleElements.chip)return;const{effectiveSelectionManager:e}=this,t=e?.count??0,o=f(t);return d("calcite-chip",{appearance:"outline",closable:t>0,closed:0===t,disabled:this._effectiveDisabled||0===t,label:o,scale:this.scale,title:this.messages.clearSelection,onCalciteChipClose:()=>e?.clear()},o)}_renderCustomTools(){if(this.toolConfigs?.length)return this.toolConfigs.map((({toolName:e,icon:t,toolKey:o})=>this._renderToolWithTooltip(e,o,t)))}_renderPointTool(){if(this.visibleElements.pointTool)return this._renderToolWithTooltip("point","point","selection-set",this.messages.selectByPoint)}_renderLassoTool(){if(this.visibleElements.lassoTool)return this._renderToolWithTooltip("lasso","lasso","lasso-select",this.messages.selectByLasso)}_renderRectangleTool(){if(this.visibleElements.rectangleTool)return this._renderToolWithTooltip("rectangle","rectangle","cursor-marquee",this.messages.selectByRectangle)}_renderToolWithTooltip(e,t,o,i=e){const s=`${this.id}-tool-${t}`;return this._renderAction({active:this.activeToolInfo?.toolName===e,disabled:this._effectiveDisabled,icon:o||"selection",id:s,key:s,onclick:()=>this._toggleTool(e),text:i,title:i})}_renderAction(e){return d("calcite-action",{...e,bind:this,class:m.toolButton,scale:this.scale})}_activateTool(e){const t=this._getToolOptions(e);if(!t)return;const o=this.viewModel.activate(t);o&&this._set("activeToolInfo",{toolName:e,operation:o})}_toggleTool(e){if(this.activeToolInfo){const t=this.activeToolInfo.toolName;if(this.cancel(),t===e)return}this._activateTool(e)}_getToolOptions(e){return"lasso"===e?this.defaultLassoToolOptions:"point"===e?this.defaultPointToolOptions:"rectangle"===e?this.defaultRectangleToolOptions:this.toolConfigs.find((t=>t.toolName===e))}};e([l()],g.prototype,"_effectiveDisabled",null),e([l()],g.prototype,"activeOperation",null),e([l({readOnly:!0})],g.prototype,"activeToolInfo",void 0),e([l()],g.prototype,"defaultLassoToolOptions",void 0),e([l()],g.prototype,"defaultPointToolOptions",void 0),e([l()],g.prototype,"defaultRectangleToolOptions",void 0),e([l()],g.prototype,"disabled",void 0),e([l()],g.prototype,"effectiveSelectionManager",null),e([l()],g.prototype,"effectiveSources",null),e([l()],g.prototype,"label",null),e([l()],g.prototype,"layers",null),e([l()],g.prototype,"layerViewPreferenceEnabled",null),e([l()],g.prototype,"layout",void 0),e([l(),p("esri/widgets/support/SelectionToolbar/t9n/SelectionToolbar")],g.prototype,"messages",void 0),e([l()],g.prototype,"scale",void 0),e([l()],g.prototype,"selectionManager",null),e([l()],g.prototype,"state",null),e([l()],g.prototype,"sources",null),e([l()],g.prototype,"toolConfigs",void 0),e([l()],g.prototype,"view",null),e([l()],g.prototype,"viewModel",void 0),e([l({type:u,nonNullable:!0})],g.prototype,"visibleElements",void 0),e([l()],g.prototype,"visibleToolCount",null),g=e([r("esri.widgets.support.SelectionToolbar")],g);const T=g;export{T as default};
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
4
4
|
*/
|
|
5
|
-
import{_ as e}from"../../../chunks/tslib.es6.js";import{createTask as o}from"../../../core/asyncUtils.js";import t from"../../../core/Collection.js";import s from"../../../core/Evented.js";import{makeHandle as r}from"../../../core/handleUtils.js";import{debounce as i,ignoreAbortErrors as n,onAbort as c}from"../../../core/promiseUtils.js";import{createScreenPoint as l}from"../../../core/screenUtils.js";import{property as a}from"../../../core/accessorSupport/decorators/property.js";import"../../../core/has.js";import"../../../core/Logger.js";import"../../../core/RandomLCG.js";import{subclass as p}from"../../../core/accessorSupport/decorators/subclass.js";import d from"../../../geometry/Point.js";import m from"../../../geometry/Polygon.js";import{isClockwise as h}from"../../../geometry/support/coordsUtils.js";import{DrawScreenTool as
|
|
5
|
+
import{_ as e}from"../../../chunks/tslib.es6.js";import{createTask as o}from"../../../core/asyncUtils.js";import t from"../../../core/Collection.js";import s from"../../../core/Evented.js";import{makeHandle as r}from"../../../core/handleUtils.js";import{debounce as i,ignoreAbortErrors as n,onAbort as c}from"../../../core/promiseUtils.js";import{createScreenPoint as l}from"../../../core/screenUtils.js";import{property as a}from"../../../core/accessorSupport/decorators/property.js";import"../../../core/has.js";import"../../../core/Logger.js";import"../../../core/RandomLCG.js";import{subclass as p}from"../../../core/accessorSupport/decorators/subclass.js";import d from"../../../geometry/Point.js";import m from"../../../geometry/Polygon.js";import{isClockwise as h}from"../../../geometry/support/coordsUtils.js";import{DrawScreenTool as g}from"../../../views/draw/DrawScreenTool.js";import{sketchKeys as u}from"../../../views/interactive/keybindings.js";import{getSelectionFromGeometry as y}from"./selectorUtils.js";const v=100;let f=class extends s.EventedAccessor{constructor(e){super(e),this._processTask=null,this.options=null,this.selection=new t,this.selectionManager=null,this.sources=null,this._process=i((async(e,t)=>{const{callback:s,selector:r,completed:i}=e,n=o((async e=>{const{effectiveSelectionManager:o,options:t,selection:n,sources:c,view:l}=this,a=!c?.length&&!o.sources.length;if(n.removeAll(),!a&&l){if(r&&null!=c){const s=await y({returnGeometry:t?.returnGeometry,selector:r,signal:e,sources:c,view:l});n.addMany(s),i&&!1!==t?.persistSelection&&o.updateSelection({current:s,added:[],removed:[]})}s&&s()}}));return c(t,(()=>n.abort())),this._processTask=n,n.promise}),v)}initialize(){this._setup()}get effectiveSelectionManager(){return this.selectionManager??this.view.selectionManager}get processingFinalSelection(){return!(!this._processTask||!this._tool?.drawOperation.isCompleted)}cancel(){this.removeAllHandles(),this._processTask?.abort()}async _setup(){const{view:e}=this;if(await e.whenReady(),this.destroyed)return;const o=this.options,t=o?.createTool??"rectangle",s=o?.mode??("polygon"===t?"click":"hybrid"),i=Symbol();this._tool=new g({view:e,mode:s,geometryType:t}),o?.selectOnComplete||this.addHandles(this._tool.on(["cursor-update","vertex-add","vertex-remove"],(()=>n(this._process({selector:this._selectionArea})))),i),this.addHandles([e.on("key-down",(e=>{if(!e.repeat)switch(e.key){case u.constraint:this._tool.uniformSizeToggled=!0,e.stopPropagation();break;case u.center:this._tool.centeredToggled=!0,e.stopPropagation()}})),e.on("key-up",(e=>{switch(e.key){case u.constraint:this._tool.uniformSizeToggled=!1,e.stopPropagation();break;case u.center:this._tool.centeredToggled=!1,e.stopPropagation()}})),this._tool.on("complete",(async e=>{this.removeHandles(i);const o=()=>{this.removeAllHandles(),this.emit("complete",{aborted:e.aborted,selection:this.selection.toArray()})};e.aborted?(this.cancel(),this.selection.removeAll(),o()):(this._tool.cursor="progress",await this._process({selector:this._selectionArea,callback:o,completed:!0}))}))],i),this.addHandles(r((()=>e.tools.remove(this._tool)))),e.addAndActivateTool(this._tool)}get _selectionArea(){const e=l(),o=this._tool.coordinates,t=this.view.spatialReference,s=o=>{e.x=o[0],e.y=o[1];const t=this.view.toMap(e);return[t?.x??0,t?.y??0]};if(0===o.length)return;if(1===o.length||o.every((([e,t])=>e===o[0][0]&&t===o[0][1]))){const[e,r]=s(o[0]);return new d({x:e,y:r,spatialReference:t})}const r=o.map(s);if(0===r.length)return;h(r)||r.reverse();return new m({spatialReference:t,rings:[r]})}};e([a()],f.prototype,"_processTask",void 0),e([a()],f.prototype,"effectiveSelectionManager",null),e([a()],f.prototype,"options",void 0),e([a()],f.prototype,"processingFinalSelection",null),e([a({readOnly:!0})],f.prototype,"selection",void 0),e([a()],f.prototype,"selectionManager",void 0),e([a()],f.prototype,"sources",void 0),e([a({constructOnly:!0})],f.prototype,"view",void 0),f=e([p("esri.widgets.support.Selector2D.SelectionOperation")],f);const _=f;export{_ as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[6187],{11053:(e,t,_)=>{_.d(t,{c:()=>r,g:()=>o});var r="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function o(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}},46187:(e,t,_)=>{_.r(t),_.d(t,{p:()=>i});var r,o=_(11053),n={exports:{}};const p=(0,o.g)(function(){return r||(r=1,e=n,t="undefined"!=typeof document?document.currentScript?.src:void 0,"undefined"!=typeof __filename&&(t=t||__filename),_=function(e={}){var _,r,o,n,p=e,i=new Promise(((e,t)=>{_=e,r=t})),c="object"==typeof window,s="undefined"!=typeof WorkerGlobalScope,P="object"==typeof process&&"object"==typeof process.versions&&"string"==typeof process.versions.node&&"renderer"!=process.type,a=Object.assign({},p),g="./this.program",y="";if(P){var d=require("fs"),u=require("path");y=__dirname+"/",n=e=>(e=F(e)?new URL(e):u.normalize(e),d.readFileSync(e)),o=(e,t=!0)=>(e=F(e)?new URL(e):u.normalize(e),new Promise(((_,r)=>{d.readFile(e,t?void 0:"utf8",((e,o)=>{e?r(e):_(t?o.buffer:o)}))}))),!p.thisProgram&&process.argv.length>1&&(g=process.argv[1].replace(/\\/g,"/")),process.argv.slice(2)}else(c||s)&&(s?y=self.location.href:"undefined"!=typeof document&&document.currentScript&&(y=document.currentScript.src),t&&(y=t),y=y.startsWith("blob:")?"":y.substr(0,y.replace(/[?#].*/,"").lastIndexOf("/")+1),s&&(n=e=>{var t=new XMLHttpRequest;return t.open("GET",e,!1),t.responseType="arraybuffer",t.send(null),new Uint8Array(t.response)}),o=e=>F(e)?new Promise(((t,_)=>{var r=new XMLHttpRequest;r.open("GET",e,!0),r.responseType="arraybuffer",r.onload=()=>{200==r.status||0==r.status&&r.response?t(r.response):_(r.status)},r.onerror=_,r.send(null)})):fetch(e,{credentials:"same-origin"}).then((e=>e.ok?e.arrayBuffer():Promise.reject(new Error(e.status+" : "+e.url)))));var b,f=console.log.bind(console),E=console.error.bind(console);Object.assign(p,a),a=null;var m,T,O,S,l,h,N,M=!1;function D(e,t){e||I(t)}function v(){var e=b.buffer;p.HEAP8=m=new Int8Array(e),p.HEAP16=O=new Int16Array(e),p.HEAPU8=T=new Uint8Array(e),p.HEAPU16=new Uint16Array(e),p.HEAP32=S=new Int32Array(e),p.HEAPU32=l=new Uint32Array(e),p.HEAPF32=h=new Float32Array(e),p.HEAPF64=N=new Float64Array(e)}var A=[],j=[],R=[],G=0,C=null;function I(e){E(e="Aborted("+e+")"),M=!0,e+=". Build with -sASSERTIONS for more info.";var t=new WebAssembly.RuntimeError(e);throw r(t),t}var L,U=e=>e.startsWith("data:application/octet-stream;base64,"),F=e=>e.startsWith("file://");function w(e,t,_){return function(e){return o(e).then((e=>new Uint8Array(e)),(()=>function(e){if(n)return n(e);throw"both async and sync fetching of the wasm failed"}(e)))}(e).then((e=>WebAssembly.instantiate(e,t))).then(_,(e=>{E(`failed to asynchronously prepare wasm: ${e}`),I(e)}))}var Y=e=>{for(;e.length>0;)e.shift()(p)},x="undefined"!=typeof TextDecoder?new TextDecoder:void 0,H=(e,t=0,_=NaN)=>{for(var r=t+_,o=t;e[o]&&!(o>=r);)++o;if(o-t>16&&e.buffer&&x)return x.decode(e.subarray(t,o));for(var n="";t<o;){var p=e[t++];if(128&p){var i=63&e[t++];if(192!=(224&p)){var c=63&e[t++];if((p=224==(240&p)?(15&p)<<12|i<<6|c:(7&p)<<18|i<<12|c<<6|63&e[t++])<65536)n+=String.fromCharCode(p);else{var s=p-65536;n+=String.fromCharCode(55296|s>>10,56320|1023&s)}}else n+=String.fromCharCode((31&p)<<6|i)}else n+=String.fromCharCode(p)}return n},X=(e,t)=>e?H(T,e,t):"",z=(e,t,_,r)=>{if(!(r>0))return 0;for(var o=_,n=_+r-1,p=0;p<e.length;++p){var i=e.charCodeAt(p);if(i>=55296&&i<=57343&&(i=65536+((1023&i)<<10)|1023&e.charCodeAt(++p)),i<=127){if(_>=n)break;t[_++]=i}else if(i<=2047){if(_+1>=n)break;t[_++]=192|i>>6,t[_++]=128|63&i}else if(i<=65535){if(_+2>=n)break;t[_++]=224|i>>12,t[_++]=128|i>>6&63,t[_++]=128|63&i}else{if(_+3>=n)break;t[_++]=240|i>>18,t[_++]=128|i>>12&63,t[_++]=128|i>>6&63,t[_++]=128|63&i}}return t[_]=0,_-o},W=(e,t,_)=>z(e,T,t,_),Z=[0,31,60,91,121,152,182,213,244,274,305,335],q=[0,31,59,90,120,151,181,212,243,273,304,334],B=(e,t)=>Math.ceil(e/t)*t,K=e=>{var t=(e-b.buffer.byteLength+65535)/65536|0;try{return b.grow(t),v(),1}catch(e){}},V={},k=()=>{if(!k.strings){var e={USER:"web_user",LOGNAME:"web_user",PATH:"/",PWD:"/",HOME:"/home/web_user",LANG:("object"==typeof navigator&&navigator.languages&&navigator.languages[0]||"C").replace("-","_")+".UTF-8",_:g||"./this.program"};for(var t in V)void 0===V[t]?delete e[t]:e[t]=V[t];var _=[];for(var t in e)_.push(`${t}=${e[t]}`);k.strings=_}return k.strings},$=[null,[],[]],J=(e,t)=>{var _=$[e];0===t||10===t?((1===e?f:E)(H(_)),_.length=0):_.push(t)},Q={c:function(e,t,_){return 0},q:(e,t,_)=>{},h:function(e,t,_){return 0},d:function(e,t,_,r){},o:e=>{},n:(e,t)=>{},p:(e,t,_)=>{},l:()=>{I("")},s:(e,t,_)=>T.copyWithin(e,t,t+_),j:function(e,t,_){var r=((e,t)=>t+2097152>>>0<4194305-!!e?(e>>>0)+4294967296*t:NaN)(e,t),o=new Date(1e3*r);S[_>>2]=o.getSeconds(),S[_+4>>2]=o.getMinutes(),S[_+8>>2]=o.getHours(),S[_+12>>2]=o.getDate(),S[_+16>>2]=o.getMonth(),S[_+20>>2]=o.getFullYear()-1900,S[_+24>>2]=o.getDay();var n=0|(e=>((e=>e%4==0&&(e%100!=0||e%400==0))(e.getFullYear())?Z:q)[e.getMonth()]+e.getDate()-1)(o);S[_+28>>2]=n,S[_+36>>2]=-60*o.getTimezoneOffset();var p=new Date(o.getFullYear(),0,1),i=new Date(o.getFullYear(),6,1).getTimezoneOffset(),c=p.getTimezoneOffset(),s=0|(i!=c&&o.getTimezoneOffset()==Math.min(c,i));S[_+32>>2]=s},r:(e,t,_,r)=>{var o=(new Date).getFullYear(),n=new Date(o,0,1),p=new Date(o,6,1),i=n.getTimezoneOffset(),c=p.getTimezoneOffset(),s=Math.max(i,c);l[e>>2]=60*s,S[t>>2]=Number(i!=c);var P=e=>{var t=e>=0?"-":"+",_=Math.abs(e);return`UTC${t}${String(Math.floor(_/60)).padStart(2,"0")}${String(_%60).padStart(2,"0")}`},a=P(i),g=P(c);c<i?(W(a,_,17),W(g,r,17)):(W(a,r,17),W(g,_,17))},i:()=>Date.now(),m:e=>{var t=T.length,_=2147483648;if((e>>>=0)>_)return!1;for(var r=1;r<=4;r*=2){var o=t*(1+.2/r);o=Math.min(o,e+100663296);var n=Math.min(_,B(Math.max(e,o),65536));if(K(n))return!0}return!1},e:(e,t)=>{var _=0;return k().forEach(((r,o)=>{var n=t+_;l[e+4*o>>2]=n,((e,t)=>{for(var _=0;_<e.length;++_)m[t++]=e.charCodeAt(_);m[t]=0})(r,n),_+=r.length+1})),0},f:(e,t)=>{var _=k();l[e>>2]=_.length;var r=0;return _.forEach((e=>r+=e.length+1)),l[t>>2]=r,0},a:e=>52,g:(e,t,_,r)=>52,k:function(e,t,_,r,o){return 70},b:(e,t,_,r)=>{for(var o=0,n=0;n<_;n++){var p=l[t>>2],i=l[t+4>>2];t+=8;for(var c=0;c<i;c++)J(e,T[p+c]);o+=i}return l[r>>2]=o,0}},ee=function(){var e={a:Q};return G++,L??=function(){var e="pe-wasm.wasm";return U(e)?e:function(e){return p.locateFile?p.locateFile(e,y):y+e}(e)}(),function(e,t,_,r){return"function"!=typeof WebAssembly.instantiateStreaming||U(t)||F(t)||P||"function"!=typeof fetch?w(t,_,r):fetch(t,{credentials:"same-origin"}).then((e=>WebAssembly.instantiateStreaming(e,_).then(r,(function(e){return E(`wasm streaming compile failed: ${e}`),E("falling back to ArrayBuffer instantiation"),w(t,_,r)}))))}(0,L,e,(function(e){!function(e){ee=e.exports,b=ee.t,v(),function(e){j.unshift(e)}(ee.u),function(){if(0==--G&&C){var e=C;C=null,e()}}()}(e.instance)})).catch(r),{}}();p._webidl_free=e=>(p._webidl_free=ee.v)(e),p._webidl_malloc=e=>(p._webidl_malloc=ee.w)(e);var te,_e=p._emscripten_bind_PeObject_getCode_0=e=>(_e=p._emscripten_bind_PeObject_getCode_0=ee.x)(e),re=p._emscripten_bind_PeObject_getName_1=(e,t)=>(re=p._emscripten_bind_PeObject_getName_1=ee.y)(e,t),oe=p._emscripten_bind_PeObject_getType_0=e=>(oe=p._emscripten_bind_PeObject_getType_0=ee.z)(e),ne=p._emscripten_bind_PeCoordsys_isEqual_1=(e,t)=>(ne=p._emscripten_bind_PeCoordsys_isEqual_1=ee.A)(e,t),pe=p._emscripten_bind_PeCoordsys_getCode_0=e=>(pe=p._emscripten_bind_PeCoordsys_getCode_0=ee.B)(e),ie=p._emscripten_bind_PeCoordsys_getName_1=(e,t)=>(ie=p._emscripten_bind_PeCoordsys_getName_1=ee.C)(e,t),ce=p._emscripten_bind_PeCoordsys_getType_0=e=>(ce=p._emscripten_bind_PeCoordsys_getType_0=ee.D)(e),se=p._emscripten_bind_PeUnit_getUnitFactor_0=e=>(se=p._emscripten_bind_PeUnit_getUnitFactor_0=ee.E)(e),Pe=p._emscripten_bind_PeUnit_getCode_0=e=>(Pe=p._emscripten_bind_PeUnit_getCode_0=ee.F)(e),ae=p._emscripten_bind_PeUnit_getName_1=(e,t)=>(ae=p._emscripten_bind_PeUnit_getName_1=ee.G)(e,t),ge=p._emscripten_bind_PeUnit_getType_0=e=>(ge=p._emscripten_bind_PeUnit_getType_0=ee.H)(e),ye=p._emscripten_bind_VoidPtr___destroy___0=e=>(ye=p._emscripten_bind_VoidPtr___destroy___0=ee.I)(e),de=p._emscripten_bind_PeAngunit_getCode_0=e=>(de=p._emscripten_bind_PeAngunit_getCode_0=ee.J)(e),ue=p._emscripten_bind_PeAngunit_getName_1=(e,t)=>(ue=p._emscripten_bind_PeAngunit_getName_1=ee.K)(e,t),be=p._emscripten_bind_PeAngunit_getType_0=e=>(be=p._emscripten_bind_PeAngunit_getType_0=ee.L)(e),fe=p._emscripten_bind_PeAngunit_getUnitFactor_0=e=>(fe=p._emscripten_bind_PeAngunit_getUnitFactor_0=ee.M)(e),Ee=p._emscripten_bind_PeDatum_getSpheroid_0=e=>(Ee=p._emscripten_bind_PeDatum_getSpheroid_0=ee.N)(e),me=p._emscripten_bind_PeDatum_getCode_0=e=>(me=p._emscripten_bind_PeDatum_getCode_0=ee.O)(e),Te=p._emscripten_bind_PeDatum_getName_1=(e,t)=>(Te=p._emscripten_bind_PeDatum_getName_1=ee.P)(e,t),Oe=p._emscripten_bind_PeDatum_getType_0=e=>(Oe=p._emscripten_bind_PeDatum_getType_0=ee.Q)(e),Se=p._emscripten_bind_PeDefs_get_PE_BUFFER_MAX_0=e=>(Se=p._emscripten_bind_PeDefs_get_PE_BUFFER_MAX_0=ee.R)(e),le=p._emscripten_bind_PeDefs_get_PE_NAME_MAX_0=e=>(le=p._emscripten_bind_PeDefs_get_PE_NAME_MAX_0=ee.S)(e),he=p._emscripten_bind_PeDefs_get_PE_MGRS_MAX_0=e=>(he=p._emscripten_bind_PeDefs_get_PE_MGRS_MAX_0=ee.T)(e),Ne=p._emscripten_bind_PeDefs_get_PE_USNG_MAX_0=e=>(Ne=p._emscripten_bind_PeDefs_get_PE_USNG_MAX_0=ee.U)(e),Me=p._emscripten_bind_PeDefs_get_PE_DD_MAX_0=e=>(Me=p._emscripten_bind_PeDefs_get_PE_DD_MAX_0=ee.V)(e),De=p._emscripten_bind_PeDefs_get_PE_DMS_MAX_0=e=>(De=p._emscripten_bind_PeDefs_get_PE_DMS_MAX_0=ee.W)(e),ve=p._emscripten_bind_PeDefs_get_PE_DDM_MAX_0=e=>(ve=p._emscripten_bind_PeDefs_get_PE_DDM_MAX_0=ee.X)(e),Ae=p._emscripten_bind_PeDefs_get_PE_UTM_MAX_0=e=>(Ae=p._emscripten_bind_PeDefs_get_PE_UTM_MAX_0=ee.Y)(e),je=p._emscripten_bind_PeDefs_get_PE_PARM_MAX_0=e=>(je=p._emscripten_bind_PeDefs_get_PE_PARM_MAX_0=ee.Z)(e),Re=p._emscripten_bind_PeDefs_get_PE_TYPE_NONE_0=e=>(Re=p._emscripten_bind_PeDefs_get_PE_TYPE_NONE_0=ee._)(e),Ge=p._emscripten_bind_PeDefs_get_PE_TYPE_GEOGCS_0=e=>(Ge=p._emscripten_bind_PeDefs_get_PE_TYPE_GEOGCS_0=ee.$)(e),Ce=p._emscripten_bind_PeDefs_get_PE_TYPE_PROJCS_0=e=>(Ce=p._emscripten_bind_PeDefs_get_PE_TYPE_PROJCS_0=ee.aa)(e),Ie=p._emscripten_bind_PeDefs_get_PE_TYPE_GEOGTRAN_0=e=>(Ie=p._emscripten_bind_PeDefs_get_PE_TYPE_GEOGTRAN_0=ee.ba)(e),Le=p._emscripten_bind_PeDefs_get_PE_TYPE_COORDSYS_0=e=>(Le=p._emscripten_bind_PeDefs_get_PE_TYPE_COORDSYS_0=ee.ca)(e),Ue=p._emscripten_bind_PeDefs_get_PE_TYPE_UNIT_0=e=>(Ue=p._emscripten_bind_PeDefs_get_PE_TYPE_UNIT_0=ee.da)(e),Fe=p._emscripten_bind_PeDefs_get_PE_TYPE_LINUNIT_0=e=>(Fe=p._emscripten_bind_PeDefs_get_PE_TYPE_LINUNIT_0=ee.ea)(e),we=p._emscripten_bind_PeDefs_get_PE_STR_OPTS_NONE_0=e=>(we=p._emscripten_bind_PeDefs_get_PE_STR_OPTS_NONE_0=ee.fa)(e),Ye=p._emscripten_bind_PeDefs_get_PE_STR_AUTH_NONE_0=e=>(Ye=p._emscripten_bind_PeDefs_get_PE_STR_AUTH_NONE_0=ee.ga)(e),xe=p._emscripten_bind_PeDefs_get_PE_STR_AUTH_TOP_0=e=>(xe=p._emscripten_bind_PeDefs_get_PE_STR_AUTH_TOP_0=ee.ha)(e),He=p._emscripten_bind_PeDefs_get_PE_STR_NAME_CANON_0=e=>(He=p._emscripten_bind_PeDefs_get_PE_STR_NAME_CANON_0=ee.ia)(e),Xe=p._emscripten_bind_PeDefs_get_PE_STR_FMT_WKT_0=e=>(Xe=p._emscripten_bind_PeDefs_get_PE_STR_FMT_WKT_0=ee.ja)(e),ze=p._emscripten_bind_PeDefs_get_PE_STR_FMT_WKT2_0=e=>(ze=p._emscripten_bind_PeDefs_get_PE_STR_FMT_WKT2_0=ee.ka)(e),We=p._emscripten_bind_PeDefs_get_PE_PARM_X0_0=e=>(We=p._emscripten_bind_PeDefs_get_PE_PARM_X0_0=ee.la)(e),Ze=p._emscripten_bind_PeDefs_get_PE_PARM_ND_0=e=>(Ze=p._emscripten_bind_PeDefs_get_PE_PARM_ND_0=ee.ma)(e),qe=p._emscripten_bind_PeDefs_get_PE_TRANSFORM_1_TO_2_0=e=>(qe=p._emscripten_bind_PeDefs_get_PE_TRANSFORM_1_TO_2_0=ee.na)(e),Be=p._emscripten_bind_PeDefs_get_PE_TRANSFORM_2_TO_1_0=e=>(Be=p._emscripten_bind_PeDefs_get_PE_TRANSFORM_2_TO_1_0=ee.oa)(e),Ke=p._emscripten_bind_PeDefs_get_PE_TRANSFORM_P_TO_G_0=e=>(Ke=p._emscripten_bind_PeDefs_get_PE_TRANSFORM_P_TO_G_0=ee.pa)(e),Ve=p._emscripten_bind_PeDefs_get_PE_TRANSFORM_G_TO_P_0=e=>(Ve=p._emscripten_bind_PeDefs_get_PE_TRANSFORM_G_TO_P_0=ee.qa)(e),ke=p._emscripten_bind_PeDefs_get_PE_HORIZON_RECT_0=e=>(ke=p._emscripten_bind_PeDefs_get_PE_HORIZON_RECT_0=ee.ra)(e),$e=p._emscripten_bind_PeDefs_get_PE_HORIZON_POLY_0=e=>($e=p._emscripten_bind_PeDefs_get_PE_HORIZON_POLY_0=ee.sa)(e),Je=p._emscripten_bind_PeDefs_get_PE_HORIZON_LINE_0=e=>(Je=p._emscripten_bind_PeDefs_get_PE_HORIZON_LINE_0=ee.ta)(e),Qe=p._emscripten_bind_PeDefs_get_PE_HORIZON_DELTA_0=e=>(Qe=p._emscripten_bind_PeDefs_get_PE_HORIZON_DELTA_0=ee.ua)(e),et=p._emscripten_bind_PeDouble_PeDouble_1=e=>(et=p._emscripten_bind_PeDouble_PeDouble_1=ee.va)(e),tt=p._emscripten_bind_PeDouble_get_val_0=e=>(tt=p._emscripten_bind_PeDouble_get_val_0=ee.wa)(e),_t=p._emscripten_bind_PeDouble_set_val_1=(e,t)=>(_t=p._emscripten_bind_PeDouble_set_val_1=ee.xa)(e,t),rt=p._emscripten_bind_PeDouble___destroy___0=e=>(rt=p._emscripten_bind_PeDouble___destroy___0=ee.ya)(e),ot=p._emscripten_bind_PeFactory_initialize_1=e=>(ot=p._emscripten_bind_PeFactory_initialize_1=ee.za)(e),nt=p._emscripten_bind_PeFactory_factoryByType_2=(e,t)=>(nt=p._emscripten_bind_PeFactory_factoryByType_2=ee.Aa)(e,t),pt=p._emscripten_bind_PeFactory_fromString_2=(e,t)=>(pt=p._emscripten_bind_PeFactory_fromString_2=ee.Ba)(e,t),it=p._emscripten_bind_PeFactory_getCode_1=e=>(it=p._emscripten_bind_PeFactory_getCode_1=ee.Ca)(e),ct=p._emscripten_bind_PeGCSExtent_PeGCSExtent_6=(e,t,_,r,o,n)=>(ct=p._emscripten_bind_PeGCSExtent_PeGCSExtent_6=ee.Da)(e,t,_,r,o,n),st=p._emscripten_bind_PeGCSExtent_getLLon_0=e=>(st=p._emscripten_bind_PeGCSExtent_getLLon_0=ee.Ea)(e),Pt=p._emscripten_bind_PeGCSExtent_getSLat_0=e=>(Pt=p._emscripten_bind_PeGCSExtent_getSLat_0=ee.Fa)(e),at=p._emscripten_bind_PeGCSExtent_getRLon_0=e=>(at=p._emscripten_bind_PeGCSExtent_getRLon_0=ee.Ga)(e),gt=p._emscripten_bind_PeGCSExtent_getNLat_0=e=>(gt=p._emscripten_bind_PeGCSExtent_getNLat_0=ee.Ha)(e),yt=p._emscripten_bind_PeGCSExtent___destroy___0=e=>(yt=p._emscripten_bind_PeGCSExtent___destroy___0=ee.Ia)(e),dt=p._emscripten_bind_PeGeogcs_Delete_0=e=>(dt=p._emscripten_bind_PeGeogcs_Delete_0=ee.Ja)(e),ut=p._emscripten_bind_PeGeogcs_cloneAlterUnits_1=(e,t)=>(ut=p._emscripten_bind_PeGeogcs_cloneAlterUnits_1=ee.Ka)(e,t),bt=p._emscripten_bind_PeGeogcs_getDatum_0=e=>(bt=p._emscripten_bind_PeGeogcs_getDatum_0=ee.La)(e),ft=p._emscripten_bind_PeGeogcs_getPrimem_0=e=>(ft=p._emscripten_bind_PeGeogcs_getPrimem_0=ee.Ma)(e),Et=p._emscripten_bind_PeGeogcs_getUnit_0=e=>(Et=p._emscripten_bind_PeGeogcs_getUnit_0=ee.Na)(e),mt=p._emscripten_bind_PeGeogcs_isEqual_1=(e,t)=>(mt=p._emscripten_bind_PeGeogcs_isEqual_1=ee.Oa)(e,t),Tt=p._emscripten_bind_PeGeogcs_getCode_0=e=>(Tt=p._emscripten_bind_PeGeogcs_getCode_0=ee.Pa)(e),Ot=p._emscripten_bind_PeGeogcs_getName_1=(e,t)=>(Ot=p._emscripten_bind_PeGeogcs_getName_1=ee.Qa)(e,t),St=p._emscripten_bind_PeGeogcs_getType_0=e=>(St=p._emscripten_bind_PeGeogcs_getType_0=ee.Ra)(e),lt=p._emscripten_bind_PeGeogtran_isEqual_1=(e,t)=>(lt=p._emscripten_bind_PeGeogtran_isEqual_1=ee.Sa)(e,t),ht=p._emscripten_bind_PeGeogtran_getGeogcs1_0=e=>(ht=p._emscripten_bind_PeGeogtran_getGeogcs1_0=ee.Ta)(e),Nt=p._emscripten_bind_PeGeogtran_getGeogcs2_0=e=>(Nt=p._emscripten_bind_PeGeogtran_getGeogcs2_0=ee.Ua)(e),Mt=p._emscripten_bind_PeGeogtran_getParameters_0=e=>(Mt=p._emscripten_bind_PeGeogtran_getParameters_0=ee.Va)(e),Dt=p._emscripten_bind_PeGeogtran_loadConstants_0=e=>(Dt=p._emscripten_bind_PeGeogtran_loadConstants_0=ee.Wa)(e),vt=p._emscripten_bind_PeGeogtran_getCode_0=e=>(vt=p._emscripten_bind_PeGeogtran_getCode_0=ee.Xa)(e),At=p._emscripten_bind_PeGeogtran_getName_1=(e,t)=>(At=p._emscripten_bind_PeGeogtran_getName_1=ee.Ya)(e,t),jt=p._emscripten_bind_PeGeogtran_getType_0=e=>(jt=p._emscripten_bind_PeGeogtran_getType_0=ee.Za)(e),Rt=p._emscripten_bind_PeGTlistExtended_getGTlist_6=(e,t,_,r,o,n)=>(Rt=p._emscripten_bind_PeGTlistExtended_getGTlist_6=ee._a)(e,t,_,r,o,n),Gt=p._emscripten_bind_PeGTlistExtended_get_PE_GTLIST_OPTS_COMMON_0=e=>(Gt=p._emscripten_bind_PeGTlistExtended_get_PE_GTLIST_OPTS_COMMON_0=ee.$a)(e),Ct=p._emscripten_bind_PeGTlistExtendedEntry_getEntries_0=e=>(Ct=p._emscripten_bind_PeGTlistExtendedEntry_getEntries_0=ee.ab)(e),It=p._emscripten_bind_PeGTlistExtendedEntry_getSteps_0=e=>(It=p._emscripten_bind_PeGTlistExtendedEntry_getSteps_0=ee.bb)(e),Lt=p._emscripten_bind_PeGTlistExtendedEntry_Delete_1=e=>(Lt=p._emscripten_bind_PeGTlistExtendedEntry_Delete_1=ee.cb)(e),Ut=p._emscripten_bind_PeGTlistExtendedGTs_getDirection_0=e=>(Ut=p._emscripten_bind_PeGTlistExtendedGTs_getDirection_0=ee.db)(e),Ft=p._emscripten_bind_PeGTlistExtendedGTs_getGeogtran_0=e=>(Ft=p._emscripten_bind_PeGTlistExtendedGTs_getGeogtran_0=ee.eb)(e),wt=p._emscripten_bind_PeHorizon_getNump_0=e=>(wt=p._emscripten_bind_PeHorizon_getNump_0=ee.fb)(e),Yt=p._emscripten_bind_PeHorizon_getKind_0=e=>(Yt=p._emscripten_bind_PeHorizon_getKind_0=ee.gb)(e),xt=p._emscripten_bind_PeHorizon_getInclusive_0=e=>(xt=p._emscripten_bind_PeHorizon_getInclusive_0=ee.hb)(e),Ht=p._emscripten_bind_PeHorizon_getSize_0=e=>(Ht=p._emscripten_bind_PeHorizon_getSize_0=ee.ib)(e),Xt=p._emscripten_bind_PeHorizon_getCoord_0=e=>(Xt=p._emscripten_bind_PeHorizon_getCoord_0=ee.jb)(e),zt=p._emscripten_bind_PeInteger_PeInteger_1=e=>(zt=p._emscripten_bind_PeInteger_PeInteger_1=ee.kb)(e),Wt=p._emscripten_bind_PeInteger_get_val_0=e=>(Wt=p._emscripten_bind_PeInteger_get_val_0=ee.lb)(e),Zt=p._emscripten_bind_PeInteger_set_val_1=(e,t)=>(Zt=p._emscripten_bind_PeInteger_set_val_1=ee.mb)(e,t),qt=p._emscripten_bind_PeInteger___destroy___0=e=>(qt=p._emscripten_bind_PeInteger___destroy___0=ee.nb)(e),Bt=p._emscripten_bind_PeLineType_geodetic_distance_10=(e,t,_,r,o,n,i,c,s,P)=>(Bt=p._emscripten_bind_PeLineType_geodetic_distance_10=ee.ob)(e,t,_,r,o,n,i,c,s,P),Kt=p._emscripten_bind_PeLineType_geodetic_coordinate_9=(e,t,_,r,o,n,i,c,s)=>(Kt=p._emscripten_bind_PeLineType_geodetic_coordinate_9=ee.pb)(e,t,_,r,o,n,i,c,s),Vt=p._emscripten_bind_PeLineType_geodesic_coordinate_8=(e,t,_,r,o,n,i,c)=>(Vt=p._emscripten_bind_PeLineType_geodesic_coordinate_8=ee.qb)(e,t,_,r,o,n,i,c),kt=p._emscripten_bind_PeLineType_great_elliptic_distance_9=(e,t,_,r,o,n,i,c,s)=>(kt=p._emscripten_bind_PeLineType_great_elliptic_distance_9=ee.rb)(e,t,_,r,o,n,i,c,s),$t=p._emscripten_bind_PeMath_phi_to_eta_2=(e,t)=>($t=p._emscripten_bind_PeMath_phi_to_eta_2=ee.sb)(e,t),Jt=p._emscripten_bind_PeMath_eta_to_phi_2=(e,t)=>(Jt=p._emscripten_bind_PeMath_eta_to_phi_2=ee.tb)(e,t),Qt=p._emscripten_bind_PeMath_phi_to_phig_2=(e,t)=>(Qt=p._emscripten_bind_PeMath_phi_to_phig_2=ee.ub)(e,t),e_=p._emscripten_bind_PeMath_q_3=(e,t,_)=>(e_=p._emscripten_bind_PeMath_q_3=ee.vb)(e,t,_),t_=p._emscripten_bind_PeMath_q90_2=(e,t)=>(t_=p._emscripten_bind_PeMath_q90_2=ee.wb)(e,t),__=p._emscripten_bind_PeNotationMgrs_get_PE_MGRS_STYLE_NEW_0=e=>(__=p._emscripten_bind_PeNotationMgrs_get_PE_MGRS_STYLE_NEW_0=ee.xb)(e),r_=p._emscripten_bind_PeNotationMgrs_get_PE_MGRS_STYLE_OLD_0=e=>(r_=p._emscripten_bind_PeNotationMgrs_get_PE_MGRS_STYLE_OLD_0=ee.yb)(e),o_=p._emscripten_bind_PeNotationMgrs_get_PE_MGRS_STYLE_AUTO_0=e=>(o_=p._emscripten_bind_PeNotationMgrs_get_PE_MGRS_STYLE_AUTO_0=ee.zb)(e),n_=p._emscripten_bind_PeNotationMgrs_get_PE_MGRS_180_ZONE_1_PLUS_0=e=>(n_=p._emscripten_bind_PeNotationMgrs_get_PE_MGRS_180_ZONE_1_PLUS_0=ee.Ab)(e),p_=p._emscripten_bind_PeNotationMgrs_get_PE_MGRS_ADD_SPACES_0=e=>(p_=p._emscripten_bind_PeNotationMgrs_get_PE_MGRS_ADD_SPACES_0=ee.Bb)(e),i_=p._emscripten_bind_PeNotationUtm_get_PE_UTM_OPTS_NONE_0=e=>(i_=p._emscripten_bind_PeNotationUtm_get_PE_UTM_OPTS_NONE_0=ee.Cb)(e),c_=p._emscripten_bind_PeNotationUtm_get_PE_UTM_OPTS_NS_0=e=>(c_=p._emscripten_bind_PeNotationUtm_get_PE_UTM_OPTS_NS_0=ee.Db)(e),s_=p._emscripten_bind_PeNotationUtm_get_PE_UTM_OPTS_NS_STRICT_0=e=>(s_=p._emscripten_bind_PeNotationUtm_get_PE_UTM_OPTS_NS_STRICT_0=ee.Eb)(e),P_=p._emscripten_bind_PeNotationUtm_get_PE_UTM_OPTS_ADD_SPACES_0=e=>(P_=p._emscripten_bind_PeNotationUtm_get_PE_UTM_OPTS_ADD_SPACES_0=ee.Fb)(e),a_=p._emscripten_bind_PeParameter_getValue_0=e=>(a_=p._emscripten_bind_PeParameter_getValue_0=ee.Gb)(e),g_=p._emscripten_bind_PeParameter_getCode_0=e=>(g_=p._emscripten_bind_PeParameter_getCode_0=ee.Hb)(e),y_=p._emscripten_bind_PeParameter_getName_1=(e,t)=>(y_=p._emscripten_bind_PeParameter_getName_1=ee.Ib)(e,t),d_=p._emscripten_bind_PeParameter_getType_0=e=>(d_=p._emscripten_bind_PeParameter_getType_0=ee.Jb)(e),u_=p._emscripten_bind_PePCSInfo_getCentralMeridian_0=e=>(u_=p._emscripten_bind_PePCSInfo_getCentralMeridian_0=ee.Kb)(e),b_=p._emscripten_bind_PePCSInfo_getDomainMinx_0=e=>(b_=p._emscripten_bind_PePCSInfo_getDomainMinx_0=ee.Lb)(e),f_=p._emscripten_bind_PePCSInfo_getDomainMiny_0=e=>(f_=p._emscripten_bind_PePCSInfo_getDomainMiny_0=ee.Mb)(e),E_=p._emscripten_bind_PePCSInfo_getDomainMaxx_0=e=>(E_=p._emscripten_bind_PePCSInfo_getDomainMaxx_0=ee.Nb)(e),m_=p._emscripten_bind_PePCSInfo_getDomainMaxy_0=e=>(m_=p._emscripten_bind_PePCSInfo_getDomainMaxy_0=ee.Ob)(e),T_=p._emscripten_bind_PePCSInfo_getNorthPoleLocation_0=e=>(T_=p._emscripten_bind_PePCSInfo_getNorthPoleLocation_0=ee.Pb)(e),O_=p._emscripten_bind_PePCSInfo_getNorthPoleGeometry_0=e=>(O_=p._emscripten_bind_PePCSInfo_getNorthPoleGeometry_0=ee.Qb)(e),S_=p._emscripten_bind_PePCSInfo_getSouthPoleLocation_0=e=>(S_=p._emscripten_bind_PePCSInfo_getSouthPoleLocation_0=ee.Rb)(e),l_=p._emscripten_bind_PePCSInfo_getSouthPoleGeometry_0=e=>(l_=p._emscripten_bind_PePCSInfo_getSouthPoleGeometry_0=ee.Sb)(e),h_=p._emscripten_bind_PePCSInfo_isDensificationNeeded_0=e=>(h_=p._emscripten_bind_PePCSInfo_isDensificationNeeded_0=ee.Tb)(e),N_=p._emscripten_bind_PePCSInfo_isGcsHorizonMultiOverlap_0=e=>(N_=p._emscripten_bind_PePCSInfo_isGcsHorizonMultiOverlap_0=ee.Ub)(e),M_=p._emscripten_bind_PePCSInfo_isPannableRectangle_0=e=>(M_=p._emscripten_bind_PePCSInfo_isPannableRectangle_0=ee.Vb)(e),D_=p._emscripten_bind_PePCSInfo_generate_2=(e,t)=>(D_=p._emscripten_bind_PePCSInfo_generate_2=ee.Wb)(e,t),v_=p._emscripten_bind_PePCSInfo_get_PE_PCSINFO_OPTION_NONE_0=e=>(v_=p._emscripten_bind_PePCSInfo_get_PE_PCSINFO_OPTION_NONE_0=ee.Xb)(e),A_=p._emscripten_bind_PePCSInfo_get_PE_PCSINFO_OPTION_DOMAIN_0=e=>(A_=p._emscripten_bind_PePCSInfo_get_PE_PCSINFO_OPTION_DOMAIN_0=ee.Yb)(e),j_=p._emscripten_bind_PePCSInfo_get_PE_POLE_OUTSIDE_BOUNDARY_0=e=>(j_=p._emscripten_bind_PePCSInfo_get_PE_POLE_OUTSIDE_BOUNDARY_0=ee.Zb)(e),R_=p._emscripten_bind_PePCSInfo_get_PE_POLE_POINT_0=e=>(R_=p._emscripten_bind_PePCSInfo_get_PE_POLE_POINT_0=ee._b)(e),G_=p._emscripten_bind_PePrimem_getLongitude_0=e=>(G_=p._emscripten_bind_PePrimem_getLongitude_0=ee.$b)(e),C_=p._emscripten_bind_PePrimem_getCode_0=e=>(C_=p._emscripten_bind_PePrimem_getCode_0=ee.ac)(e),I_=p._emscripten_bind_PePrimem_getName_1=(e,t)=>(I_=p._emscripten_bind_PePrimem_getName_1=ee.bc)(e,t),L_=p._emscripten_bind_PePrimem_getType_0=e=>(L_=p._emscripten_bind_PePrimem_getType_0=ee.cc)(e),U_=p._emscripten_bind_PeProjcs_Delete_0=e=>(U_=p._emscripten_bind_PeProjcs_Delete_0=ee.dc)(e),F_=p._emscripten_bind_PeProjcs_getGeogcs_0=e=>(F_=p._emscripten_bind_PeProjcs_getGeogcs_0=ee.ec)(e),w_=p._emscripten_bind_PeProjcs_getProjection_0=e=>(w_=p._emscripten_bind_PeProjcs_getProjection_0=ee.fc)(e),Y_=p._emscripten_bind_PeProjcs_getParameters_0=e=>(Y_=p._emscripten_bind_PeProjcs_getParameters_0=ee.gc)(e),x_=p._emscripten_bind_PeProjcs_getUnit_0=e=>(x_=p._emscripten_bind_PeProjcs_getUnit_0=ee.hc)(e),H_=p._emscripten_bind_PeProjcs_loadConstants_0=e=>(H_=p._emscripten_bind_PeProjcs_loadConstants_0=ee.ic)(e),X_=p._emscripten_bind_PeProjcs_horizonGcsGenerate_0=e=>(X_=p._emscripten_bind_PeProjcs_horizonGcsGenerate_0=ee.jc)(e),z_=p._emscripten_bind_PeProjcs_horizonPcsGenerate_0=e=>(z_=p._emscripten_bind_PeProjcs_horizonPcsGenerate_0=ee.kc)(e),W_=p._emscripten_bind_PeProjcs_isEqual_1=(e,t)=>(W_=p._emscripten_bind_PeProjcs_isEqual_1=ee.lc)(e,t),Z_=p._emscripten_bind_PeProjcs_getCode_0=e=>(Z_=p._emscripten_bind_PeProjcs_getCode_0=ee.mc)(e),q_=p._emscripten_bind_PeProjcs_getName_1=(e,t)=>(q_=p._emscripten_bind_PeProjcs_getName_1=ee.nc)(e,t),B_=p._emscripten_bind_PeProjcs_getType_0=e=>(B_=p._emscripten_bind_PeProjcs_getType_0=ee.oc)(e),K_=p._emscripten_bind_PeSpheroid_getAxis_0=e=>(K_=p._emscripten_bind_PeSpheroid_getAxis_0=ee.pc)(e),V_=p._emscripten_bind_PeSpheroid_getFlattening_0=e=>(V_=p._emscripten_bind_PeSpheroid_getFlattening_0=ee.qc)(e),k_=p._emscripten_bind_PeSpheroid_getCode_0=e=>(k_=p._emscripten_bind_PeSpheroid_getCode_0=ee.rc)(e),$_=p._emscripten_bind_PeSpheroid_getName_1=(e,t)=>($_=p._emscripten_bind_PeSpheroid_getName_1=ee.sc)(e,t),J_=p._emscripten_bind_PeSpheroid_getType_0=e=>(J_=p._emscripten_bind_PeSpheroid_getType_0=ee.tc)(e),Q_=p._emscripten_bind_PeVersion_version_string_0=e=>(Q_=p._emscripten_bind_PeVersion_version_string_0=ee.uc)(e);function er(){G>0||(Y(A),G>0||te||(te=!0,p.calledRun=!0,M||(Y(j),_(p),Y(R))))}function tr(){}function _r(e){return(e||tr).__cache__}function rr(e,t){var _=_r(t),r=_[e];return r||((r=Object.create((t||tr).prototype)).ptr=e,_[e]=r)}p._pe_getPeGTlistExtendedEntrySize=()=>(p._pe_getPeGTlistExtendedEntrySize=ee.vc)(),p._pe_getPeGTlistExtendedGTsSize=()=>(p._pe_getPeGTlistExtendedGTsSize=ee.wc)(),p._pe_getPeHorizonSize=()=>(p._pe_getPeHorizonSize=ee.xc)(),p._pe_geog_to_geog=(e,t,_,r,o)=>(p._pe_geog_to_geog=ee.zc)(e,t,_,r,o),p._pe_geog_to_proj=(e,t,_)=>(p._pe_geog_to_proj=ee.Ac)(e,t,_),p._pe_geog_to_dd=(e,t,_,r,o)=>(p._pe_geog_to_dd=ee.Bc)(e,t,_,r,o),p._pe_dd_to_geog=(e,t,_,r)=>(p._pe_dd_to_geog=ee.Cc)(e,t,_,r),p._pe_geog_to_ddm=(e,t,_,r,o)=>(p._pe_geog_to_ddm=ee.Dc)(e,t,_,r,o),p._pe_ddm_to_geog=(e,t,_,r)=>(p._pe_ddm_to_geog=ee.Ec)(e,t,_,r),p._pe_geog_to_dms=(e,t,_,r,o)=>(p._pe_geog_to_dms=ee.Fc)(e,t,_,r,o),p._pe_dms_to_geog=(e,t,_,r)=>(p._pe_dms_to_geog=ee.Gc)(e,t,_,r),p._pe_geog_to_mgrs_extended=(e,t,_,r,o,n,i)=>(p._pe_geog_to_mgrs_extended=ee.Hc)(e,t,_,r,o,n,i),p._pe_mgrs_to_geog_extended=(e,t,_,r,o)=>(p._pe_mgrs_to_geog_extended=ee.Ic)(e,t,_,r,o),p._pe_geog_to_usng=(e,t,_,r,o,n,i)=>(p._pe_geog_to_usng=ee.Jc)(e,t,_,r,o,n,i),p._pe_usng_to_geog=(e,t,_,r)=>(p._pe_usng_to_geog=ee.Kc)(e,t,_,r),p._pe_geog_to_utm=(e,t,_,r,o)=>(p._pe_geog_to_utm=ee.Lc)(e,t,_,r,o),p._pe_utm_to_geog=(e,t,_,r,o)=>(p._pe_utm_to_geog=ee.Mc)(e,t,_,r,o),p._pe_object_to_string_ext=(e,t,_)=>(p._pe_object_to_string_ext=ee.Nc)(e,t,_),p._pe_proj_to_geog_center=(e,t,_,r)=>(p._pe_proj_to_geog_center=ee.Oc)(e,t,_,r),p.getValue=function(e,t="i8"){switch(t.endsWith("*")&&(t="*"),t){case"i1":case"i8":return m[e];case"i16":return O[e>>1];case"i32":return S[e>>2];case"i64":I("to do getValue(i64) use WASM_BIGINT");case"float":return h[e>>2];case"double":return N[e>>3];case"*":return l[e>>2];default:I(`invalid type for getValue: ${t}`)}},p.UTF8ToString=X,C=function e(){te||er(),te||(C=e)},er(),tr.prototype=Object.create(tr.prototype),tr.prototype.constructor=tr,tr.prototype.__class__=tr,tr.__cache__={},p.WrapperObject=tr,p.getCache=_r,p.wrapPointer=rr,p.castObject=function(e,t){return rr(e.ptr,t)},p.NULL=rr(0),p.destroy=function(e){if(!e.__destroy__)throw"Error: Cannot destroy object. (Did you create it yourself?)";e.__destroy__(),delete _r(e.__class__)[e.ptr]},p.compare=function(e,t){return e.ptr===t.ptr},p.getPointer=function(e){return e.ptr},p.getClass=function(e){return e.__class__};var or={buffer:0,size:0,pos:0,temps:[],needed:0,prepare(){if(or.needed){for(var e=0;e<or.temps.length;e++)p._webidl_free(or.temps[e]);or.temps.length=0,p._webidl_free(or.buffer),or.buffer=0,or.size+=or.needed,or.needed=0}or.buffer||(or.size+=128,or.buffer=p._webidl_malloc(or.size),D(or.buffer)),or.pos=0},alloc(e,t){D(or.buffer);var _,r=t.BYTES_PER_ELEMENT,o=e.length*r;return o=B(o,8),or.pos+o>=or.size?(D(o>0),or.needed+=o,_=p._webidl_malloc(o),or.temps.push(_)):(_=or.buffer+or.pos,or.pos+=o),_},copy(e,t,_){_/=t.BYTES_PER_ELEMENT;for(var r=0;r<e.length;r++)t[_+r]=e[r]}};function nr(e){if("string"==typeof e){var t=function(e){var t=(e=>{for(var t=0,_=0;_<e.length;++_){var r=e.charCodeAt(_);r<=127?t++:r<=2047?t+=2:r>=55296&&r<=57343?(t+=4,++_):t+=3}return t})(e)+1,_=new Array(t);return z(e,_,0,_.length),_}(e),_=or.alloc(t,m);return or.copy(t,m,_),_}return e}function pr(e){if("object"==typeof e){var t=or.alloc(e,m);return or.copy(e,m,t),t}return e}function ir(){throw"cannot construct a PeObject, no constructor in IDL"}function cr(){throw"cannot construct a PeCoordsys, no constructor in IDL"}function sr(){throw"cannot construct a PeUnit, no constructor in IDL"}function Pr(){throw"cannot construct a VoidPtr, no constructor in IDL"}function ar(){throw"cannot construct a PeAngunit, no constructor in IDL"}function gr(){throw"cannot construct a PeDatum, no constructor in IDL"}function yr(){throw"cannot construct a PeDefs, no constructor in IDL"}function dr(e){e&&"object"==typeof e&&(e=e.ptr),this.ptr=et(e),_r(dr)[this.ptr]=this}function ur(){throw"cannot construct a PeFactory, no constructor in IDL"}function br(e,t,_,r,o,n){e&&"object"==typeof e&&(e=e.ptr),t&&"object"==typeof t&&(t=t.ptr),_&&"object"==typeof _&&(_=_.ptr),r&&"object"==typeof r&&(r=r.ptr),o&&"object"==typeof o&&(o=o.ptr),n&&"object"==typeof n&&(n=n.ptr),this.ptr=ct(e,t,_,r,o,n),_r(br)[this.ptr]=this}function fr(){throw"cannot construct a PeGeogcs, no constructor in IDL"}function Er(){throw"cannot construct a PeGeogtran, no constructor in IDL"}function mr(){throw"cannot construct a PeGTlistExtended, no constructor in IDL"}function Tr(){throw"cannot construct a PeGTlistExtendedEntry, no constructor in IDL"}function Or(){throw"cannot construct a PeGTlistExtendedGTs, no constructor in IDL"}function Sr(){throw"cannot construct a PeHorizon, no constructor in IDL"}function lr(e){e&&"object"==typeof e&&(e=e.ptr),this.ptr=zt(e),_r(lr)[this.ptr]=this}function hr(){throw"cannot construct a PeLineType, no constructor in IDL"}function Nr(){throw"cannot construct a PeMath, no constructor in IDL"}function Mr(){throw"cannot construct a PeNotationMgrs, no constructor in IDL"}function Dr(){throw"cannot construct a PeNotationUtm, no constructor in IDL"}function vr(){throw"cannot construct a PeParameter, no constructor in IDL"}function Ar(){throw"cannot construct a PePCSInfo, no constructor in IDL"}function jr(){throw"cannot construct a PePrimem, no constructor in IDL"}function Rr(){throw"cannot construct a PeProjcs, no constructor in IDL"}function Gr(){throw"cannot construct a PeSpheroid, no constructor in IDL"}function Cr(){throw"cannot construct a PeVersion, no constructor in IDL"}return ir.prototype=Object.create(tr.prototype),ir.prototype.constructor=ir,ir.prototype.__class__=ir,ir.__cache__={},p.PeObject=ir,ir.prototype.getCode=ir.prototype.getCode=function(){var e=this.ptr;return _e(e)},ir.prototype.getName=ir.prototype.getName=function(e){var t=this.ptr;return or.prepare(),"object"==typeof e&&(e=pr(e)),X(re(t,e))},ir.prototype.getType=ir.prototype.getType=function(){var e=this.ptr;return oe(e)},cr.prototype=Object.create(ir.prototype),cr.prototype.constructor=cr,cr.prototype.__class__=cr,cr.__cache__={},p.PeCoordsys=cr,cr.prototype.isEqual=cr.prototype.isEqual=function(e){var t=this.ptr;return e&&"object"==typeof e&&(e=e.ptr),!!ne(t,e)},cr.prototype.getCode=cr.prototype.getCode=function(){var e=this.ptr;return pe(e)},cr.prototype.getName=cr.prototype.getName=function(e){var t=this.ptr;return or.prepare(),"object"==typeof e&&(e=pr(e)),X(ie(t,e))},cr.prototype.getType=cr.prototype.getType=function(){var e=this.ptr;return ce(e)},sr.prototype=Object.create(ir.prototype),sr.prototype.constructor=sr,sr.prototype.__class__=sr,sr.__cache__={},p.PeUnit=sr,sr.prototype.getUnitFactor=sr.prototype.getUnitFactor=function(){var e=this.ptr;return se(e)},sr.prototype.getCode=sr.prototype.getCode=function(){var e=this.ptr;return Pe(e)},sr.prototype.getName=sr.prototype.getName=function(e){var t=this.ptr;return or.prepare(),"object"==typeof e&&(e=pr(e)),X(ae(t,e))},sr.prototype.getType=sr.prototype.getType=function(){var e=this.ptr;return ge(e)},Pr.prototype=Object.create(tr.prototype),Pr.prototype.constructor=Pr,Pr.prototype.__class__=Pr,Pr.__cache__={},p.VoidPtr=Pr,Pr.prototype.__destroy__=Pr.prototype.__destroy__=function(){var e=this.ptr;ye(e)},ar.prototype=Object.create(sr.prototype),ar.prototype.constructor=ar,ar.prototype.__class__=ar,ar.__cache__={},p.PeAngunit=ar,ar.prototype.getCode=ar.prototype.getCode=function(){var e=this.ptr;return de(e)},ar.prototype.getName=ar.prototype.getName=function(e){var t=this.ptr;return or.prepare(),"object"==typeof e&&(e=pr(e)),X(ue(t,e))},ar.prototype.getType=ar.prototype.getType=function(){var e=this.ptr;return be(e)},ar.prototype.getUnitFactor=ar.prototype.getUnitFactor=function(){var e=this.ptr;return fe(e)},gr.prototype=Object.create(ir.prototype),gr.prototype.constructor=gr,gr.prototype.__class__=gr,gr.__cache__={},p.PeDatum=gr,gr.prototype.getSpheroid=gr.prototype.getSpheroid=function(){var e=this.ptr;return rr(Ee(e),Gr)},gr.prototype.getCode=gr.prototype.getCode=function(){var e=this.ptr;return me(e)},gr.prototype.getName=gr.prototype.getName=function(e){var t=this.ptr;return or.prepare(),"object"==typeof e&&(e=pr(e)),X(Te(t,e))},gr.prototype.getType=gr.prototype.getType=function(){var e=this.ptr;return Oe(e)},yr.prototype=Object.create(tr.prototype),yr.prototype.constructor=yr,yr.prototype.__class__=yr,yr.__cache__={},p.PeDefs=yr,yr.prototype.get_PE_BUFFER_MAX=yr.prototype.get_PE_BUFFER_MAX=function(){var e=this.ptr;return Se(e)},Object.defineProperty(yr.prototype,"PE_BUFFER_MAX",{get:yr.prototype.get_PE_BUFFER_MAX}),yr.prototype.get_PE_NAME_MAX=yr.prototype.get_PE_NAME_MAX=function(){var e=this.ptr;return le(e)},Object.defineProperty(yr.prototype,"PE_NAME_MAX",{get:yr.prototype.get_PE_NAME_MAX}),yr.prototype.get_PE_MGRS_MAX=yr.prototype.get_PE_MGRS_MAX=function(){var e=this.ptr;return he(e)},Object.defineProperty(yr.prototype,"PE_MGRS_MAX",{get:yr.prototype.get_PE_MGRS_MAX}),yr.prototype.get_PE_USNG_MAX=yr.prototype.get_PE_USNG_MAX=function(){var e=this.ptr;return Ne(e)},Object.defineProperty(yr.prototype,"PE_USNG_MAX",{get:yr.prototype.get_PE_USNG_MAX}),yr.prototype.get_PE_DD_MAX=yr.prototype.get_PE_DD_MAX=function(){var e=this.ptr;return Me(e)},Object.defineProperty(yr.prototype,"PE_DD_MAX",{get:yr.prototype.get_PE_DD_MAX}),yr.prototype.get_PE_DMS_MAX=yr.prototype.get_PE_DMS_MAX=function(){var e=this.ptr;return De(e)},Object.defineProperty(yr.prototype,"PE_DMS_MAX",{get:yr.prototype.get_PE_DMS_MAX}),yr.prototype.get_PE_DDM_MAX=yr.prototype.get_PE_DDM_MAX=function(){var e=this.ptr;return ve(e)},Object.defineProperty(yr.prototype,"PE_DDM_MAX",{get:yr.prototype.get_PE_DDM_MAX}),yr.prototype.get_PE_UTM_MAX=yr.prototype.get_PE_UTM_MAX=function(){var e=this.ptr;return Ae(e)},Object.defineProperty(yr.prototype,"PE_UTM_MAX",{get:yr.prototype.get_PE_UTM_MAX}),yr.prototype.get_PE_PARM_MAX=yr.prototype.get_PE_PARM_MAX=function(){var e=this.ptr;return je(e)},Object.defineProperty(yr.prototype,"PE_PARM_MAX",{get:yr.prototype.get_PE_PARM_MAX}),yr.prototype.get_PE_TYPE_NONE=yr.prototype.get_PE_TYPE_NONE=function(){var e=this.ptr;return Re(e)},Object.defineProperty(yr.prototype,"PE_TYPE_NONE",{get:yr.prototype.get_PE_TYPE_NONE}),yr.prototype.get_PE_TYPE_GEOGCS=yr.prototype.get_PE_TYPE_GEOGCS=function(){var e=this.ptr;return Ge(e)},Object.defineProperty(yr.prototype,"PE_TYPE_GEOGCS",{get:yr.prototype.get_PE_TYPE_GEOGCS}),yr.prototype.get_PE_TYPE_PROJCS=yr.prototype.get_PE_TYPE_PROJCS=function(){var e=this.ptr;return Ce(e)},Object.defineProperty(yr.prototype,"PE_TYPE_PROJCS",{get:yr.prototype.get_PE_TYPE_PROJCS}),yr.prototype.get_PE_TYPE_GEOGTRAN=yr.prototype.get_PE_TYPE_GEOGTRAN=function(){var e=this.ptr;return Ie(e)},Object.defineProperty(yr.prototype,"PE_TYPE_GEOGTRAN",{get:yr.prototype.get_PE_TYPE_GEOGTRAN}),yr.prototype.get_PE_TYPE_COORDSYS=yr.prototype.get_PE_TYPE_COORDSYS=function(){var e=this.ptr;return Le(e)},Object.defineProperty(yr.prototype,"PE_TYPE_COORDSYS",{get:yr.prototype.get_PE_TYPE_COORDSYS}),yr.prototype.get_PE_TYPE_UNIT=yr.prototype.get_PE_TYPE_UNIT=function(){var e=this.ptr;return Ue(e)},Object.defineProperty(yr.prototype,"PE_TYPE_UNIT",{get:yr.prototype.get_PE_TYPE_UNIT}),yr.prototype.get_PE_TYPE_LINUNIT=yr.prototype.get_PE_TYPE_LINUNIT=function(){var e=this.ptr;return Fe(e)},Object.defineProperty(yr.prototype,"PE_TYPE_LINUNIT",{get:yr.prototype.get_PE_TYPE_LINUNIT}),yr.prototype.get_PE_STR_OPTS_NONE=yr.prototype.get_PE_STR_OPTS_NONE=function(){var e=this.ptr;return we(e)},Object.defineProperty(yr.prototype,"PE_STR_OPTS_NONE",{get:yr.prototype.get_PE_STR_OPTS_NONE}),yr.prototype.get_PE_STR_AUTH_NONE=yr.prototype.get_PE_STR_AUTH_NONE=function(){var e=this.ptr;return Ye(e)},Object.defineProperty(yr.prototype,"PE_STR_AUTH_NONE",{get:yr.prototype.get_PE_STR_AUTH_NONE}),yr.prototype.get_PE_STR_AUTH_TOP=yr.prototype.get_PE_STR_AUTH_TOP=function(){var e=this.ptr;return xe(e)},Object.defineProperty(yr.prototype,"PE_STR_AUTH_TOP",{get:yr.prototype.get_PE_STR_AUTH_TOP}),yr.prototype.get_PE_STR_NAME_CANON=yr.prototype.get_PE_STR_NAME_CANON=function(){var e=this.ptr;return He(e)},Object.defineProperty(yr.prototype,"PE_STR_NAME_CANON",{get:yr.prototype.get_PE_STR_NAME_CANON}),yr.prototype.get_PE_STR_FMT_WKT=yr.prototype.get_PE_STR_FMT_WKT=function(){var e=this.ptr;return Xe(e)},Object.defineProperty(yr.prototype,"PE_STR_FMT_WKT",{get:yr.prototype.get_PE_STR_FMT_WKT}),yr.prototype.get_PE_STR_FMT_WKT2=yr.prototype.get_PE_STR_FMT_WKT2=function(){var e=this.ptr;return ze(e)},Object.defineProperty(yr.prototype,"PE_STR_FMT_WKT2",{get:yr.prototype.get_PE_STR_FMT_WKT2}),yr.prototype.get_PE_PARM_X0=yr.prototype.get_PE_PARM_X0=function(){var e=this.ptr;return We(e)},Object.defineProperty(yr.prototype,"PE_PARM_X0",{get:yr.prototype.get_PE_PARM_X0}),yr.prototype.get_PE_PARM_ND=yr.prototype.get_PE_PARM_ND=function(){var e=this.ptr;return Ze(e)},Object.defineProperty(yr.prototype,"PE_PARM_ND",{get:yr.prototype.get_PE_PARM_ND}),yr.prototype.get_PE_TRANSFORM_1_TO_2=yr.prototype.get_PE_TRANSFORM_1_TO_2=function(){var e=this.ptr;return qe(e)},Object.defineProperty(yr.prototype,"PE_TRANSFORM_1_TO_2",{get:yr.prototype.get_PE_TRANSFORM_1_TO_2}),yr.prototype.get_PE_TRANSFORM_2_TO_1=yr.prototype.get_PE_TRANSFORM_2_TO_1=function(){var e=this.ptr;return Be(e)},Object.defineProperty(yr.prototype,"PE_TRANSFORM_2_TO_1",{get:yr.prototype.get_PE_TRANSFORM_2_TO_1}),yr.prototype.get_PE_TRANSFORM_P_TO_G=yr.prototype.get_PE_TRANSFORM_P_TO_G=function(){var e=this.ptr;return Ke(e)},Object.defineProperty(yr.prototype,"PE_TRANSFORM_P_TO_G",{get:yr.prototype.get_PE_TRANSFORM_P_TO_G}),yr.prototype.get_PE_TRANSFORM_G_TO_P=yr.prototype.get_PE_TRANSFORM_G_TO_P=function(){var e=this.ptr;return Ve(e)},Object.defineProperty(yr.prototype,"PE_TRANSFORM_G_TO_P",{get:yr.prototype.get_PE_TRANSFORM_G_TO_P}),yr.prototype.get_PE_HORIZON_RECT=yr.prototype.get_PE_HORIZON_RECT=function(){var e=this.ptr;return ke(e)},Object.defineProperty(yr.prototype,"PE_HORIZON_RECT",{get:yr.prototype.get_PE_HORIZON_RECT}),yr.prototype.get_PE_HORIZON_POLY=yr.prototype.get_PE_HORIZON_POLY=function(){var e=this.ptr;return $e(e)},Object.defineProperty(yr.prototype,"PE_HORIZON_POLY",{get:yr.prototype.get_PE_HORIZON_POLY}),yr.prototype.get_PE_HORIZON_LINE=yr.prototype.get_PE_HORIZON_LINE=function(){var e=this.ptr;return Je(e)},Object.defineProperty(yr.prototype,"PE_HORIZON_LINE",{get:yr.prototype.get_PE_HORIZON_LINE}),yr.prototype.get_PE_HORIZON_DELTA=yr.prototype.get_PE_HORIZON_DELTA=function(){var e=this.ptr;return Qe(e)},Object.defineProperty(yr.prototype,"PE_HORIZON_DELTA",{get:yr.prototype.get_PE_HORIZON_DELTA}),dr.prototype=Object.create(tr.prototype),dr.prototype.constructor=dr,dr.prototype.__class__=dr,dr.__cache__={},p.PeDouble=dr,dr.prototype.get_val=dr.prototype.get_val=function(){var e=this.ptr;return tt(e)},dr.prototype.set_val=dr.prototype.set_val=function(e){var t=this.ptr;e&&"object"==typeof e&&(e=e.ptr),_t(t,e)},Object.defineProperty(dr.prototype,"val",{get:dr.prototype.get_val,set:dr.prototype.set_val}),dr.prototype.__destroy__=dr.prototype.__destroy__=function(){var e=this.ptr;rt(e)},ur.prototype=Object.create(tr.prototype),ur.prototype.constructor=ur,ur.prototype.__class__=ur,ur.__cache__={},p.PeFactory=ur,ur.prototype.initialize=ur.prototype.initialize=function(e){or.prepare(),e=e&&"object"==typeof e?e.ptr:nr(e),ot(e)},ur.prototype.factoryByType=ur.prototype.factoryByType=function(e,t){return e&&"object"==typeof e&&(e=e.ptr),t&&"object"==typeof t&&(t=t.ptr),rr(nt(e,t),ir)},ur.prototype.fromString=ur.prototype.fromString=function(e,t){return or.prepare(),e&&"object"==typeof e&&(e=e.ptr),t=t&&"object"==typeof t?t.ptr:nr(t),rr(pt(e,t),ir)},ur.prototype.getCode=ur.prototype.getCode=function(e){return e&&"object"==typeof e&&(e=e.ptr),it(e)},br.prototype=Object.create(tr.prototype),br.prototype.constructor=br,br.prototype.__class__=br,br.__cache__={},p.PeGCSExtent=br,br.prototype.getLLon=br.prototype.getLLon=function(){var e=this.ptr;return st(e)},br.prototype.getSLat=br.prototype.getSLat=function(){var e=this.ptr;return Pt(e)},br.prototype.getRLon=br.prototype.getRLon=function(){var e=this.ptr;return at(e)},br.prototype.getNLat=br.prototype.getNLat=function(){var e=this.ptr;return gt(e)},br.prototype.__destroy__=br.prototype.__destroy__=function(){var e=this.ptr;yt(e)},fr.prototype=Object.create(cr.prototype),fr.prototype.constructor=fr,fr.prototype.__class__=fr,fr.__cache__={},p.PeGeogcs=fr,fr.prototype.Delete=fr.prototype.Delete=function(){var e=this.ptr;dt(e)},fr.prototype.cloneAlterUnits=fr.prototype.cloneAlterUnits=function(e){var t=this.ptr;return e&&"object"==typeof e&&(e=e.ptr),rr(ut(t,e),fr)},fr.prototype.getDatum=fr.prototype.getDatum=function(){var e=this.ptr;return rr(bt(e),gr)},fr.prototype.getPrimem=fr.prototype.getPrimem=function(){var e=this.ptr;return rr(ft(e),jr)},fr.prototype.getUnit=fr.prototype.getUnit=function(){var e=this.ptr;return rr(Et(e),ar)},fr.prototype.isEqual=fr.prototype.isEqual=function(e){var t=this.ptr;return e&&"object"==typeof e&&(e=e.ptr),!!mt(t,e)},fr.prototype.getCode=fr.prototype.getCode=function(){var e=this.ptr;return Tt(e)},fr.prototype.getName=fr.prototype.getName=function(e){var t=this.ptr;return or.prepare(),"object"==typeof e&&(e=pr(e)),X(Ot(t,e))},fr.prototype.getType=fr.prototype.getType=function(){var e=this.ptr;return St(e)},Er.prototype=Object.create(ir.prototype),Er.prototype.constructor=Er,Er.prototype.__class__=Er,Er.__cache__={},p.PeGeogtran=Er,Er.prototype.isEqual=Er.prototype.isEqual=function(e){var t=this.ptr;return e&&"object"==typeof e&&(e=e.ptr),!!lt(t,e)},Er.prototype.getGeogcs1=Er.prototype.getGeogcs1=function(){var e=this.ptr;return rr(ht(e),fr)},Er.prototype.getGeogcs2=Er.prototype.getGeogcs2=function(){var e=this.ptr;return rr(Nt(e),fr)},Er.prototype.getParameters=Er.prototype.getParameters=function(){var e=this.ptr;return Mt(e)},Er.prototype.loadConstants=Er.prototype.loadConstants=function(){var e=this.ptr;return!!Dt(e)},Er.prototype.getCode=Er.prototype.getCode=function(){var e=this.ptr;return vt(e)},Er.prototype.getName=Er.prototype.getName=function(e){var t=this.ptr;return or.prepare(),"object"==typeof e&&(e=pr(e)),X(At(t,e))},Er.prototype.getType=Er.prototype.getType=function(){var e=this.ptr;return jt(e)},mr.prototype=Object.create(tr.prototype),mr.prototype.constructor=mr,mr.prototype.__class__=mr,mr.__cache__={},p.PeGTlistExtended=mr,mr.prototype.getGTlist=mr.prototype.getGTlist=function(e,t,_,r,o,n){return e&&"object"==typeof e&&(e=e.ptr),t&&"object"==typeof t&&(t=t.ptr),_&&"object"==typeof _&&(_=_.ptr),r&&"object"==typeof r&&(r=r.ptr),o&&"object"==typeof o&&(o=o.ptr),n&&"object"==typeof n&&(n=n.ptr),rr(Rt(e,t,_,r,o,n),Tr)},mr.prototype.get_PE_GTLIST_OPTS_COMMON=mr.prototype.get_PE_GTLIST_OPTS_COMMON=function(){var e=this.ptr;return Gt(e)},Object.defineProperty(mr.prototype,"PE_GTLIST_OPTS_COMMON",{get:mr.prototype.get_PE_GTLIST_OPTS_COMMON}),Tr.prototype=Object.create(tr.prototype),Tr.prototype.constructor=Tr,Tr.prototype.__class__=Tr,Tr.__cache__={},p.PeGTlistExtendedEntry=Tr,Tr.prototype.getEntries=Tr.prototype.getEntries=function(){var e=this.ptr;return rr(Ct(e),Or)},Tr.prototype.getSteps=Tr.prototype.getSteps=function(){var e=this.ptr;return It(e)},Tr.prototype.Delete=Tr.prototype.Delete=function(e){e&&"object"==typeof e&&(e=e.ptr),Lt(e)},Or.prototype=Object.create(tr.prototype),Or.prototype.constructor=Or,Or.prototype.__class__=Or,Or.__cache__={},p.PeGTlistExtendedGTs=Or,Or.prototype.getDirection=Or.prototype.getDirection=function(){var e=this.ptr;return Ut(e)},Or.prototype.getGeogtran=Or.prototype.getGeogtran=function(){var e=this.ptr;return rr(Ft(e),Er)},Sr.prototype=Object.create(tr.prototype),Sr.prototype.constructor=Sr,Sr.prototype.__class__=Sr,Sr.__cache__={},p.PeHorizon=Sr,Sr.prototype.getNump=Sr.prototype.getNump=function(){var e=this.ptr;return wt(e)},Sr.prototype.getKind=Sr.prototype.getKind=function(){var e=this.ptr;return Yt(e)},Sr.prototype.getInclusive=Sr.prototype.getInclusive=function(){var e=this.ptr;return xt(e)},Sr.prototype.getSize=Sr.prototype.getSize=function(){var e=this.ptr;return Ht(e)},Sr.prototype.getCoord=Sr.prototype.getCoord=function(){var e=this.ptr;return Xt(e)},lr.prototype=Object.create(tr.prototype),lr.prototype.constructor=lr,lr.prototype.__class__=lr,lr.__cache__={},p.PeInteger=lr,lr.prototype.get_val=lr.prototype.get_val=function(){var e=this.ptr;return Wt(e)},lr.prototype.set_val=lr.prototype.set_val=function(e){var t=this.ptr;e&&"object"==typeof e&&(e=e.ptr),Zt(t,e)},Object.defineProperty(lr.prototype,"val",{get:lr.prototype.get_val,set:lr.prototype.set_val}),lr.prototype.__destroy__=lr.prototype.__destroy__=function(){var e=this.ptr;qt(e)},hr.prototype=Object.create(tr.prototype),hr.prototype.constructor=hr,hr.prototype.__class__=hr,hr.__cache__={},p.PeLineType=hr,hr.prototype.geodetic_distance=hr.prototype.geodetic_distance=function(e,t,_,r,o,n,p,i,c,s){e&&"object"==typeof e&&(e=e.ptr),t&&"object"==typeof t&&(t=t.ptr),_&&"object"==typeof _&&(_=_.ptr),r&&"object"==typeof r&&(r=r.ptr),o&&"object"==typeof o&&(o=o.ptr),n&&"object"==typeof n&&(n=n.ptr),p&&"object"==typeof p&&(p=p.ptr),i&&"object"==typeof i&&(i=i.ptr),c&&"object"==typeof c&&(c=c.ptr),s&&"object"==typeof s&&(s=s.ptr),Bt(e,t,_,r,o,n,p,i,c,s)},hr.prototype.geodetic_coordinate=hr.prototype.geodetic_coordinate=function(e,t,_,r,o,n,p,i,c){e&&"object"==typeof e&&(e=e.ptr),t&&"object"==typeof t&&(t=t.ptr),_&&"object"==typeof _&&(_=_.ptr),r&&"object"==typeof r&&(r=r.ptr),o&&"object"==typeof o&&(o=o.ptr),n&&"object"==typeof n&&(n=n.ptr),p&&"object"==typeof p&&(p=p.ptr),i&&"object"==typeof i&&(i=i.ptr),c&&"object"==typeof c&&(c=c.ptr),Kt(e,t,_,r,o,n,p,i,c)},hr.prototype.geodesic_coordinate=hr.prototype.geodesic_coordinate=function(e,t,_,r,o,n,p,i){e&&"object"==typeof e&&(e=e.ptr),t&&"object"==typeof t&&(t=t.ptr),_&&"object"==typeof _&&(_=_.ptr),r&&"object"==typeof r&&(r=r.ptr),o&&"object"==typeof o&&(o=o.ptr),n&&"object"==typeof n&&(n=n.ptr),p&&"object"==typeof p&&(p=p.ptr),i&&"object"==typeof i&&(i=i.ptr),Vt(e,t,_,r,o,n,p,i)},hr.prototype.great_elliptic_distance=hr.prototype.great_elliptic_distance=function(e,t,_,r,o,n,p,i,c){e&&"object"==typeof e&&(e=e.ptr),t&&"object"==typeof t&&(t=t.ptr),_&&"object"==typeof _&&(_=_.ptr),r&&"object"==typeof r&&(r=r.ptr),o&&"object"==typeof o&&(o=o.ptr),n&&"object"==typeof n&&(n=n.ptr),p&&"object"==typeof p&&(p=p.ptr),i&&"object"==typeof i&&(i=i.ptr),c&&"object"==typeof c&&(c=c.ptr),kt(e,t,_,r,o,n,p,i,c)},Nr.prototype=Object.create(tr.prototype),Nr.prototype.constructor=Nr,Nr.prototype.__class__=Nr,Nr.__cache__={},p.PeMath=Nr,Nr.prototype.phi_to_eta=Nr.prototype.phi_to_eta=function(e,t){return e&&"object"==typeof e&&(e=e.ptr),t&&"object"==typeof t&&(t=t.ptr),$t(e,t)},Nr.prototype.eta_to_phi=Nr.prototype.eta_to_phi=function(e,t){return e&&"object"==typeof e&&(e=e.ptr),t&&"object"==typeof t&&(t=t.ptr),Jt(e,t)},Nr.prototype.phi_to_phig=Nr.prototype.phi_to_phig=function(e,t){return e&&"object"==typeof e&&(e=e.ptr),t&&"object"==typeof t&&(t=t.ptr),Qt(e,t)},Nr.prototype.q=Nr.prototype.q=function(e,t,_){return e&&"object"==typeof e&&(e=e.ptr),t&&"object"==typeof t&&(t=t.ptr),_&&"object"==typeof _&&(_=_.ptr),e_(e,t,_)},Nr.prototype.q90=Nr.prototype.q90=function(e,t){return e&&"object"==typeof e&&(e=e.ptr),t&&"object"==typeof t&&(t=t.ptr),t_(e,t)},Mr.prototype=Object.create(tr.prototype),Mr.prototype.constructor=Mr,Mr.prototype.__class__=Mr,Mr.__cache__={},p.PeNotationMgrs=Mr,Mr.prototype.get_PE_MGRS_STYLE_NEW=Mr.prototype.get_PE_MGRS_STYLE_NEW=function(){var e=this.ptr;return __(e)},Object.defineProperty(Mr.prototype,"PE_MGRS_STYLE_NEW",{get:Mr.prototype.get_PE_MGRS_STYLE_NEW}),Mr.prototype.get_PE_MGRS_STYLE_OLD=Mr.prototype.get_PE_MGRS_STYLE_OLD=function(){var e=this.ptr;return r_(e)},Object.defineProperty(Mr.prototype,"PE_MGRS_STYLE_OLD",{get:Mr.prototype.get_PE_MGRS_STYLE_OLD}),Mr.prototype.get_PE_MGRS_STYLE_AUTO=Mr.prototype.get_PE_MGRS_STYLE_AUTO=function(){var e=this.ptr;return o_(e)},Object.defineProperty(Mr.prototype,"PE_MGRS_STYLE_AUTO",{get:Mr.prototype.get_PE_MGRS_STYLE_AUTO}),Mr.prototype.get_PE_MGRS_180_ZONE_1_PLUS=Mr.prototype.get_PE_MGRS_180_ZONE_1_PLUS=function(){var e=this.ptr;return n_(e)},Object.defineProperty(Mr.prototype,"PE_MGRS_180_ZONE_1_PLUS",{get:Mr.prototype.get_PE_MGRS_180_ZONE_1_PLUS}),Mr.prototype.get_PE_MGRS_ADD_SPACES=Mr.prototype.get_PE_MGRS_ADD_SPACES=function(){var e=this.ptr;return p_(e)},Object.defineProperty(Mr.prototype,"PE_MGRS_ADD_SPACES",{get:Mr.prototype.get_PE_MGRS_ADD_SPACES}),Dr.prototype=Object.create(tr.prototype),Dr.prototype.constructor=Dr,Dr.prototype.__class__=Dr,Dr.__cache__={},p.PeNotationUtm=Dr,Dr.prototype.get_PE_UTM_OPTS_NONE=Dr.prototype.get_PE_UTM_OPTS_NONE=function(){var e=this.ptr;return i_(e)},Object.defineProperty(Dr.prototype,"PE_UTM_OPTS_NONE",{get:Dr.prototype.get_PE_UTM_OPTS_NONE}),Dr.prototype.get_PE_UTM_OPTS_NS=Dr.prototype.get_PE_UTM_OPTS_NS=function(){var e=this.ptr;return c_(e)},Object.defineProperty(Dr.prototype,"PE_UTM_OPTS_NS",{get:Dr.prototype.get_PE_UTM_OPTS_NS}),Dr.prototype.get_PE_UTM_OPTS_NS_STRICT=Dr.prototype.get_PE_UTM_OPTS_NS_STRICT=function(){var e=this.ptr;return s_(e)},Object.defineProperty(Dr.prototype,"PE_UTM_OPTS_NS_STRICT",{get:Dr.prototype.get_PE_UTM_OPTS_NS_STRICT}),Dr.prototype.get_PE_UTM_OPTS_ADD_SPACES=Dr.prototype.get_PE_UTM_OPTS_ADD_SPACES=function(){var e=this.ptr;return P_(e)},Object.defineProperty(Dr.prototype,"PE_UTM_OPTS_ADD_SPACES",{get:Dr.prototype.get_PE_UTM_OPTS_ADD_SPACES}),vr.prototype=Object.create(ir.prototype),vr.prototype.constructor=vr,vr.prototype.__class__=vr,vr.__cache__={},p.PeParameter=vr,vr.prototype.getValue=vr.prototype.getValue=function(){var e=this.ptr;return a_(e)},vr.prototype.getCode=vr.prototype.getCode=function(){var e=this.ptr;return g_(e)},vr.prototype.getName=vr.prototype.getName=function(e){var t=this.ptr;return or.prepare(),"object"==typeof e&&(e=pr(e)),X(y_(t,e))},vr.prototype.getType=vr.prototype.getType=function(){var e=this.ptr;return d_(e)},Ar.prototype=Object.create(tr.prototype),Ar.prototype.constructor=Ar,Ar.prototype.__class__=Ar,Ar.__cache__={},p.PePCSInfo=Ar,Ar.prototype.getCentralMeridian=Ar.prototype.getCentralMeridian=function(){var e=this.ptr;return u_(e)},Ar.prototype.getDomainMinx=Ar.prototype.getDomainMinx=function(){var e=this.ptr;return b_(e)},Ar.prototype.getDomainMiny=Ar.prototype.getDomainMiny=function(){var e=this.ptr;return f_(e)},Ar.prototype.getDomainMaxx=Ar.prototype.getDomainMaxx=function(){var e=this.ptr;return E_(e)},Ar.prototype.getDomainMaxy=Ar.prototype.getDomainMaxy=function(){var e=this.ptr;return m_(e)},Ar.prototype.getNorthPoleLocation=Ar.prototype.getNorthPoleLocation=function(){var e=this.ptr;return T_(e)},Ar.prototype.getNorthPoleGeometry=Ar.prototype.getNorthPoleGeometry=function(){var e=this.ptr;return O_(e)},Ar.prototype.getSouthPoleLocation=Ar.prototype.getSouthPoleLocation=function(){var e=this.ptr;return S_(e)},Ar.prototype.getSouthPoleGeometry=Ar.prototype.getSouthPoleGeometry=function(){var e=this.ptr;return l_(e)},Ar.prototype.isDensificationNeeded=Ar.prototype.isDensificationNeeded=function(){var e=this.ptr;return!!h_(e)},Ar.prototype.isGcsHorizonMultiOverlap=Ar.prototype.isGcsHorizonMultiOverlap=function(){var e=this.ptr;return!!N_(e)},Ar.prototype.isPannableRectangle=Ar.prototype.isPannableRectangle=function(){var e=this.ptr;return!!M_(e)},Ar.prototype.generate=Ar.prototype.generate=function(e,t){return e&&"object"==typeof e&&(e=e.ptr),t&&"object"==typeof t&&(t=t.ptr),rr(D_(e,t),Ar)},Ar.prototype.get_PE_PCSINFO_OPTION_NONE=Ar.prototype.get_PE_PCSINFO_OPTION_NONE=function(){var e=this.ptr;return v_(e)},Object.defineProperty(Ar.prototype,"PE_PCSINFO_OPTION_NONE",{get:Ar.prototype.get_PE_PCSINFO_OPTION_NONE}),Ar.prototype.get_PE_PCSINFO_OPTION_DOMAIN=Ar.prototype.get_PE_PCSINFO_OPTION_DOMAIN=function(){var e=this.ptr;return A_(e)},Object.defineProperty(Ar.prototype,"PE_PCSINFO_OPTION_DOMAIN",{get:Ar.prototype.get_PE_PCSINFO_OPTION_DOMAIN}),Ar.prototype.get_PE_POLE_OUTSIDE_BOUNDARY=Ar.prototype.get_PE_POLE_OUTSIDE_BOUNDARY=function(){var e=this.ptr;return j_(e)},Object.defineProperty(Ar.prototype,"PE_POLE_OUTSIDE_BOUNDARY",{get:Ar.prototype.get_PE_POLE_OUTSIDE_BOUNDARY}),Ar.prototype.get_PE_POLE_POINT=Ar.prototype.get_PE_POLE_POINT=function(){var e=this.ptr;return R_(e)},Object.defineProperty(Ar.prototype,"PE_POLE_POINT",{get:Ar.prototype.get_PE_POLE_POINT}),jr.prototype=Object.create(ir.prototype),jr.prototype.constructor=jr,jr.prototype.__class__=jr,jr.__cache__={},p.PePrimem=jr,jr.prototype.getLongitude=jr.prototype.getLongitude=function(){var e=this.ptr;return G_(e)},jr.prototype.getCode=jr.prototype.getCode=function(){var e=this.ptr;return C_(e)},jr.prototype.getName=jr.prototype.getName=function(e){var t=this.ptr;return or.prepare(),"object"==typeof e&&(e=pr(e)),X(I_(t,e))},jr.prototype.getType=jr.prototype.getType=function(){var e=this.ptr;return L_(e)},Rr.prototype=Object.create(cr.prototype),Rr.prototype.constructor=Rr,Rr.prototype.__class__=Rr,Rr.__cache__={},p.PeProjcs=Rr,Rr.prototype.Delete=Rr.prototype.Delete=function(){var e=this.ptr;U_(e)},Rr.prototype.getGeogcs=Rr.prototype.getGeogcs=function(){var e=this.ptr;return rr(F_(e),fr)},Rr.prototype.getProjection=Rr.prototype.getProjection=function(){var e=this.ptr;return rr(w_(e),ir)},Rr.prototype.getParameters=Rr.prototype.getParameters=function(){var e=this.ptr;return Y_(e)},Rr.prototype.getUnit=Rr.prototype.getUnit=function(){var e=this.ptr;return rr(x_(e),sr)},Rr.prototype.loadConstants=Rr.prototype.loadConstants=function(){var e=this.ptr;return!!H_(e)},Rr.prototype.horizonGcsGenerate=Rr.prototype.horizonGcsGenerate=function(){var e=this.ptr;return rr(X_(e),Sr)},Rr.prototype.horizonPcsGenerate=Rr.prototype.horizonPcsGenerate=function(){var e=this.ptr;return rr(z_(e),Sr)},Rr.prototype.isEqual=Rr.prototype.isEqual=function(e){var t=this.ptr;return e&&"object"==typeof e&&(e=e.ptr),!!W_(t,e)},Rr.prototype.getCode=Rr.prototype.getCode=function(){var e=this.ptr;return Z_(e)},Rr.prototype.getName=Rr.prototype.getName=function(e){var t=this.ptr;return or.prepare(),"object"==typeof e&&(e=pr(e)),X(q_(t,e))},Rr.prototype.getType=Rr.prototype.getType=function(){var e=this.ptr;return B_(e)},Gr.prototype=Object.create(ir.prototype),Gr.prototype.constructor=Gr,Gr.prototype.__class__=Gr,Gr.__cache__={},p.PeSpheroid=Gr,Gr.prototype.getAxis=Gr.prototype.getAxis=function(){var e=this.ptr;return K_(e)},Gr.prototype.getFlattening=Gr.prototype.getFlattening=function(){var e=this.ptr;return V_(e)},Gr.prototype.getCode=Gr.prototype.getCode=function(){var e=this.ptr;return k_(e)},Gr.prototype.getName=Gr.prototype.getName=function(e){var t=this.ptr;return or.prepare(),"object"==typeof e&&(e=pr(e)),X($_(t,e))},Gr.prototype.getType=Gr.prototype.getType=function(){var e=this.ptr;return J_(e)},Cr.prototype=Object.create(tr.prototype),Cr.prototype.constructor=Cr,Cr.prototype.__class__=Cr,Cr.__cache__={},p.PeVersion=Cr,Cr.prototype.version_string=Cr.prototype.version_string=function(){var e=this.ptr;return X(Q_(e))},p.ensureCache=or,p.ensureString=nr,p.ensureInt8=pr,p.ensureInt16=function(e){if("object"==typeof e){var t=or.alloc(e,O);return or.copy(e,O,t),t}return e},p.ensureInt32=function(e){if("object"==typeof e){var t=or.alloc(e,S);return or.copy(e,S,t),t}return e},p.ensureFloat32=function(e){if("object"==typeof e){var t=or.alloc(e,h);return or.copy(e,h,t),t}return e},p.ensureFloat64=function(e){if("object"==typeof e){var t=or.alloc(e,N);return or.copy(e,N,t),t}return e},i},e.exports=_),n.exports;var e,t,_}()),i=Object.freeze(Object.defineProperty({__proto__:null,default:p},Symbol.toStringTag,{value:"Module"}))}}]);
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
4
|
-
*/
|
|
5
|
-
var e;!function(e){e[e.Layer=0]="Layer",e[e.Texture=1]="Texture",e[e.COUNT=2]="COUNT"}(e||(e={}));export{e as ContentObjectType};
|