1import E from"./kXd9TPg_.js";import{T as g,m as b,s as k,a0 as w,c as y,a as r,b as x,p as L,r as a,o as P}from"./Bh22VONk.js";const S=()=>{const d=g("preloaderShown",()=>!1);return{hasShown:d,markShown:()=>{d.value=!0}}},F=["aria-busy"],N=["aria-hidden"],W={__name:"tPreloader",emits:["preloaderFinished"],setup(d,{emit:m}){const h=m,p=a(!1),o=a(!1),u=a(!1),s=a(null),i=a(null),l=a(null),c=[],{hasShown:f,markShown:_}=S();return b(async()=>{if(f.value){u.value=!0,h("preloaderFinished");return}_(),await k(),requestAnimationFrame(()=>{p.value=!0});const n=t=>{t.target!==s.value||t.propertyName!=="width"||(o.value=!0)};s.value?.addEventListener("transitionend",n),c.push(()=>s.value?.removeEventListener("transitionend",n));let v=0;const e=t=>{t.propertyName==="transform"&&(t.target===i.value||t.target===l.value)&&(v+=1,v>=2&&(u.value=!0,h("preloaderFinished")))};i.value?.addEventListener("transitionend",e),l.value?.addEventListener("transitionend",e),c.push(()=>{i.value?.removeEventListener("transitionend",e),l.value?.removeEventListener("transitionend",e)})}),w(()=>c.forEach(n=>n())),(n,v)=>{const e=E;return P(),y("section",{class:L(["tPreloader",{start:p.value,"is-loaded":o.value,"is-hidden":u.value}]),role:"status","aria-live":"polite","aria-busy":!o.value},[r("div",null,[r("div",{class:"tPreloader-box--top",ref_key:"topEl",ref:i},null,512),r("div",{class:"tPreloader-logo","aria-hidden":o.value},[x(e,{fileName:"vd_logo_lrg_w.png",altText:"ãã´",spWidth:"25",pcWidth:"35",imgWidth:640,imgHeight:84,loading:"eager",fetchpriority:"high"})],8,N),r("div",{class:"tPreloader-line",ref_key:"lineEl",ref:s,"aria-hidden":"true"},null,512),r("div",{class:"tPreloader-box--bottom",ref_key:"bottomEl",ref:l},null,512)])],10,F)}}};export{W as default};
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.