1import{F as e,L as t,N as n,O as r,T as i,at as a,mt as o,pt as s,rt as c}from"../chunks/CdrUJ3HC.js";import"../chunks/xihTtKlq.js";import"../chunks/CxC_izB6.js";/* empty css */import{t as l}from"../chunks/BZQYlqO2.js";function u(e){return e===1?e:1-2**(-10*e)}function d(e){let t=e-1;return t*t*t+1}function f(e,t,n){return Number.isNaN(t)?``:`${e}: ${n*t}px;`}function p(e,{delay:t=0,duration:n=400,easing:r=d,axis:i=`y`}={}){let a=getComputedStyle(e),o=+a.opacity,s=i===`y`?`height`:`width`,c=parseFloat(a[s]),l=i===`y`?[`top`,`bottom`]:[`left`,`right`],u=l.map(e=>`${e[0].toUpperCase()}${e.slice(1)}`),p=parseFloat(a[`padding${u[0]}`]),m=parseFloat(a[`padding${u[1]}`]),h=parseFloat(a[`margin${u[0]}`]),g=parseFloat(a[`margin${u[1]}`]),_=parseFloat(a[`border${u[0]}Width`]),v=parseFloat(a[`border${u[1]}Width`]);return{delay:t,duration:n,easing:r,css:e=>`overflow: hidden;opacity: ${Math.min(e*20,1)*o};`+f(s,c,e)+f(`padding-${l[0]}`,p,e)+f(`padding-${l[1]}`,m,e)+f(`margin-${l[0]}`,h,e)+f(`margin-${l[1]}`,g,e)+f(`border-${l[0]}-width`,_,e)+f(`border-${l[1]}-width`,v,e)+`min-${s}: 0`}}var m=t(`<div class="fixed w-full top-0 right-0 left-0 h-1 z-50 bg-primary"></div>`),h=t(`<!> <!>`,1);function g(t,d){let f=()=>o(l,`$navigating`,g),[g,_]=s();var v=h(),y=c(v),b=t=>{var n=m();i(1,n,()=>p,()=>({delay:100,duration:12e3,axis:`x`,easing:u})),e(t,n)};n(y,e=>{f()&&e(b)});var x=a(y,2);r(x,d,`default`,{},null),e(t,v),_()}export{g as component};
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.