import{r as s,c as t,h as e,g as o}from"./p-890a2f7e.js";import"./p-be8a42cb.js";import{M as r}from"./p-369e3f59.js";import{T as i}from"./p-e5ee2c9c.js";const n=class{constructor(e){s(this,e),this.trigger=t(this,"trigger",7),this.message=t(this,"message",7)}componentDidLoad(){r.listen(this.listen,((s,t)=>{i.is(t)?this.trigger.emit(t):this.message.emit({destination:s,content:t})}),window)}render(){return e("slot",null)}get element(){return o(this)}};n.style=".sc-smoothly-trigger-source-h{display:block}[hidden].sc-smoothly-trigger-source-h{display:none}";export{n as smoothly_trigger_source}