import {
    O as n,
    p as o,
    P as h,
    Q as r,
    R as u,
    S as c,
    r as p,
    T as g
} from "./index-xnhGKCfe.js";
const d = (i, a) => {
    const s = p(),
        e = () => {
            s.value = g(i).height
        };
    return n(() => {
        if (o(e), a)
            for (let t = 1; t <= 3; t++) setTimeout(e, 100 * t)
    }), h(() => o(e)), r([u, c], e), s
};
export {
    d as u
};