import{r as s,c as t,h as i,g as e}from"./p-52e3bb32.js";import{r as o}from"./p-ffe5c0e8.js";import{d}from"./p-ee33960b.js";import"./p-bdd811bc.js";const r=class{constructor(i){s(this,i),this.afOnFocusOutside=t(this,"afOnFocusOutside",7),this.afOnFocusInside=t(this,"afOnFocusInside",7),this.afDataIdentifier=o("data-digi-util-detect-focus-outside")}componentWillLoad(){this.$el.setAttribute(this.afDataIdentifier,"")}focusinHandler(s){d(s.target,`[${this.afDataIdentifier}]`)?this.afOnFocusOutside.emit(s):this.afOnFocusInside.emit(s)}render(){return i("slot",{key:"bc4d7ef425bbbdfd86d3b213f4e94b193fd26f8b"})}get $el(){return e(this)}};export{r as digi_util_detect_focus_outside}