import{C as e}from"./vendor.0af78d00.js";class t extends e{constructor(){super(...arguments),this.ready=(()=>{let e;return Object.assign(new Promise((t=>{e=t})),{resolve:t=>e(t)})})(),this.handleMapReady=async e=>{const t=e.detail.map;this.map=t,await this.connectMap(t),this.ready.resolve()}}initialize(){this.element.addEventListener("map:ready",this.handleMapReady,{once:!0})}disconnect(){this.map&&this.disconnectMap(this.map)}connectMap(e){}disconnectMap(e){}}export{t as M};
