import{O as s}from"./p-331a62d5.js";import{C as o}from"./p-2d0d575f.js";import{d as r}from"./p-11e2dcf5.js";import{s as m}from"./p-6c43d54a.js";const p=async p=>new Promise((n=>{const t=new s(a.bind(null),(()=>{o.unregister(r.getSubject(p,m),t),n(null)}));o.register(r.getSubject(p,m),t)})),a=()=>!0;export{p as w}