/* COPYRIGHT Esri - https://js.arcgis.com/5.0/LICENSE.txt */
import b from"./VZOMAMSZ.js";import a from"./7PXQ5F5K.js";import{a as r}from"./EH5576ZY.js";export default $arcgis.t(([{watch:a},{b:i},{c:n}])=>{var v=(e,o)=>s=>m(s,e),t=class extends n{#o=void 0;constructor(o,s){super(o,s),new i(this.component)}hostLoad(){this.#o=a(()=>this.component.el.view,o=>{this.instance.view=o,this.instance.map=o?.map},{sync:!0,initial:!0})}hostDestroy(){this.#o?.remove(),super.hostDestroy()}},m=r(t);return v},"core/reactiveUtils",a,b)