1import{a as i}from"./-W1VOijv.js";import{b3 as r,Q as s,bf as a,F as d}from"./PW_UF68a.js";const c={name:"LazyHydrate",props:{whenVisible:{type:Boolean,default:!1},alwaysRender:{type:Boolean,default:!1}},data(){return{hydrated:!1,observer:null}},mounted(){this.whenVisible?this.setupIntersectionObserver():this.hydrated=!0},beforeUnmount(){this.observer&&this.observer.disconnect()},methods:{setupIntersectionObserver(){if(typeof IntersectionObserver>"u"){this.hydrated=!0;return}this.observer=new IntersectionObserver(e=>{e.some(t=>t.isIntersecting)&&(this.hydrated=!0,this.observer.disconnect(),this.observer=null)}),this.observer.observe(this.$refs.root)}}},f={ref:"root"};function h(e,n,t,l,o,u){return r(),s("div",f,[o.hydrated||t.alwaysRender?a(e.$slots,"default",{key:0}):(r(),s(d,{key:1},[],64))],512)}const p=i(c,[["render",h]]);export{p as L};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.