import { isNoValue as r } from "../utils.mjs";
const c = {
  get(n) {
    let e;
    const t = n.component?.proxy;
    return t && (e = t.current), e;
  },
  set(n, e) {
    if (r(e)) return;
    const t = n.component;
    t && (t.emit("update:current", e), t.emit("change", e));
  }
};
export {
  c as default
};
