import { Qn as toRef, Yn as shallowRef, gn as watch } from "./vue.runtime.esm-bundler-BvoXUmaf.js"; import { l as propsFactory } from "./defineComponent-DB6xIcDy.js"; //#region node_modules/vuetify/lib/composables/lazy.js var makeLazyProps = propsFactory({ eager: Boolean }, "lazy"); function useLazy(props, active) { const isBooted = shallowRef(false); const hasContent = toRef(() => isBooted.value || props.eager || active.value); watch(active, () => isBooted.value = true); function onAfterLeave() { if (!props.eager) isBooted.value = false; } return { isBooted, hasContent, onAfterLeave }; } //#endregion export { useLazy as n, makeLazyProps as t }; //# sourceMappingURL=lazy-DhsobH97.js.map