/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
v4.33.16 */
import d from"./WE3NNZIE.js";import c from"./6CVZUPDX.js";import b from"./LPU7W35B.js";import{e as a}from"./UN4H7E6L.js";import"./AMHKFE57.js";import"./PMTZ5QWJ.js";import{B as i,E as s,P as o,U as r,j as e}from"./MWSR363G.js";export default $arcgis.t(([n,,{a:l},h])=>{var c=e`@layer{arcgis-feature-templates{display:block}}`,d=h(n),t=class extends o{constructor(){super(...arguments),this.widget=d(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.enableListScroll=this.widget.enableListScroll,this.filterFunction=this.widget.filterFunction,this.filterText=this.widget.filterText,this.groupBy=this.widget.groupBy,this.headingLevel=this.widget.headingLevel,this.hideFilter=this.widget.visibleElements.filter,this.icon=this.widget.icon,this.label=this.widget.label,this.layers=this.widget.layers,this.position="bottom-left",this.selectionMode=this.widget.selectionMode,this.state=this.viewModel.state,this.arcgisPropertyChange=a()("state"),this.arcgisReady=i(),this.arcgisSelect=l(()=>this.widget,"select")}static{this.properties={autoDestroyDisabled:5,enableListScroll:5,filterFunction:0,filterText:1,groupBy:1,headingLevel:9,hideFilter:5,icon:1,label:1,layers:0,position:1,referenceElement:1,selectionMode:1,state:3}}static{this.shadowRootOptions=s}static{this.styles=c}async destroy(){await this.manager.destroy()}};r("arcgis-feature-templates",t);return t},"widgets/FeatureTemplates",b,c,d)