/*! All material copyright GeoScene, All Rights Reserved, unless otherwise specified.
See https://js.geoscene.cn/4.33/geoscene/copyright.txt for details.
v4.33.18 */
import c from"./OSA3KXKL.js";import b from"./Y4DAIYBP.js";import a from"./DTE4O2DP.js";import{e as r}from"./LYMDZ73M.js";import"./MG6XDMQJ.js";import"./HITJFSBP.js";import{B as e,E as s,P as o,U as n,j as i}from"./3VKC6PRK.js";export default $geoscene.t(([l,,,a])=>{var g=i`@layer{geoscene-coordinate-conversion{display:block}}`,c=a(l),t=class extends o{constructor(){super(...arguments),this.widget=c(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.conversions=this.widget.conversions,this.currentLocation=this.widget.currentLocation,this.formats=this.widget.formats,this.goToOverride=this.widget.goToOverride,this.headingLevel=this.widget.headingLevel,this.hideCaptureButton=this.widget.visibleElements.captureButton,this.hideInputButton=this.widget.visibleElements.inputButton,this.hideExpandButton=this.widget.visibleElements.expandButton,this.hideSettingsButton=this.widget.visibleElements.settingsButton,this.icon=this.widget.icon,this.label=this.widget.label,this.locationSymbol=this.widget.locationSymbol,this.mode=this.widget.mode,this.multipleConversionsDisabled=this.widget.multipleConversions,this.orientation=this.widget.orientation,this.position="bottom-left",this.state=this.viewModel.state,this.storageDisabled=this.widget.storageEnabled,this.storageType=this.widget.storageType,this.geoscenePropertyChange=r()("currentLocation","state"),this.geosceneReady=e()}static{this.properties={autoDestroyDisabled:5,conversions:0,currentLocation:0,formats:0,goToOverride:0,headingLevel:9,hideCaptureButton:5,hideInputButton:5,hideExpandButton:5,hideSettingsButton:5,icon:1,label:1,locationSymbol:0,mode:1,multipleConversionsDisabled:5,orientation:1,position:1,referenceElement:1,state:3,storageDisabled:5,storageType:1}}static{this.shadowRootOptions=s}static{this.styles=g}async destroy(){await this.manager.destroy()}async reverseConvert(h,d){return await this.widget?.reverseConvert(h,d)}};n("geoscene-coordinate-conversion",t);return t},"widgets/CoordinateConversion",a,b,c)