/*!
 * KoliBri - The accessible HTML-Standard
 */
import{s as n,b as r,d as t,a as u}from"./element-focus-BQXzaLL9.js";function e(){const n=r=>{n.el=r};n.el=undefined;return n}function o(n){return(r,t,u)=>{u.value=async function(){return n(this)};return u}}function s(n){return(r,t,u)=>{u.value=async function(r){return n(this,r)};return u}}function i(r){return s(((t,u)=>{var e;const o=(e=t[r])===null||e===void 0?void 0:e.el;return o?n(o,u):Promise.resolve()}))}function c(n){return o((t=>{const u=t[n].el;return u?r(u):Promise.resolve()}))}function a(r){return s(((u,e)=>{const o=u["host"];if(!o)return Promise.resolve();return t(o,(()=>{var t;const o=(t=u[r])===null||t===void 0?void 0:t.el;return o?n(o,e):Promise.resolve()}))}))}function f(n){return o((t=>u(t["host"],(()=>{const u=t[n].el;return u?r(u):Promise.resolve()}))))}export{f as a,i as b,e as c,a as d,c as e};
//# sourceMappingURL=element-interaction-C5-6aPzz.js.map