/*! 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 d from"./OSA3KXKL.js";import c from"./Y4DAIYBP.js";import b from"./DTE4O2DP.js";import{e as g}from"./LYMDZ73M.js";import"./MG6XDMQJ.js";import"./HITJFSBP.js";import{B as a,E as n,P as h,U as l,j as s}from"./3VKC6PRK.js";export default $geoscene.t(([c,,{a:t},m])=>{var r=s`@layer{geoscene-slider{min-width:200px;min-height:25px}}`,d=m(c),i=class extends h{constructor(){super(...arguments),this.widget=d(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.draggableSegmentsEnabled=this.widget.draggableSegmentsEnabled,this.effectiveMax=this.widget.effectiveMax,this.effectiveMin=this.widget.effectiveMin,this.effectiveSegmentElements=this.widget.effectiveSegmentElements,this.icon=this.widget.icon,this.label=this.widget.label,this.labelElements=this.widget.labelElements,this.labelInputsEnabled=this.widget.labelInputsEnabled,this.labels=this.widget.labels,this.layout=this.widget.layout,this.max=this.widget.max,this.maxLabelElement=this.widget.maxLabelElement,this.min=this.widget.min,this.minLabelElement=this.widget.minLabelElement,this.position="bottom-left",this.precision=this.widget.precision,this.rangeLabelInputsEnabled=this.widget.rangeLabelInputsEnabled,this.segmentElements=this.widget.segmentElements,this.snapOnClickEnabled=this.widget.snapOnClickEnabled,this.state=this.widget.state,this.steps=this.widget.steps,this.syncedSegmentsEnabled=this.widget.syncedSegmentsEnabled,this.thumbElements=this.widget.thumbElements,this.thumbsConstrained=this.widget.thumbsConstrained,this.tickConfigs=this.widget.tickConfigs,this.tickElements=this.widget.tickElements,this.trackElement=this.widget.trackElement,this.values=this.widget.values,this.geosceneMaxChange=t(()=>this.widget,"max-change"),this.geosceneMaxClick=t(()=>this.widget,"max-click"),this.geosceneMinChange=t(()=>this.widget,"min-change"),this.geosceneMinClick=t(()=>this.widget,"min-click"),this.geoscenePropertyChange=g()("state"),this.geosceneReady=a(),this.geosceneSegmentClick=t(()=>this.widget,"segment-click"),this.geosceneSegmentDrag=t(()=>this.widget,"segment-drag"),this.geosceneThumbChange=t(()=>this.widget,"thumb-change"),this.geosceneThumbClick=t(()=>this.widget,"thumb-click"),this.geosceneThumbDrag=t(()=>this.widget,"thumb-drag"),this.geosceneTickClick=t(()=>this.widget,"tick-click"),this.geosceneTrackClick=t(()=>this.widget,"track-click")}static{this.properties={autoDestroyDisabled:5,draggableSegmentsEnabled:5,effectiveMax:9,effectiveMin:9,effectiveSegmentElements:0,icon:1,label:1,labelElements:0,labelInputsEnabled:5,labels:0,layout:1,max:9,maxLabelElement:0,min:9,minLabelElement:0,position:1,precision:9,rangeLabelInputsEnabled:5,referenceElement:1,segmentElements:0,snapOnClickEnabled:5,state:3,steps:[9,{converter:e=>typeof e=="string"?e.split(",").map(Number):e}],syncedSegmentsEnabled:5,thumbElements:0,thumbsConstrained:5,tickConfigs:0,tickElements:0,trackElement:0,values:[1,{converter:e=>typeof e=="string"?e.split(",").map(Number):e}]}}static{this.shadowRootOptions=n}static{this.styles=r}async destroy(){await this.manager.destroy()}};l("geoscene-slider",i);return i},"widgets/Slider",b,c,d)