1import{_ as I,bi as N,X as U,$ as D,cq as B,be as q,bb as C,bB as h,bv as P,N as i,J as W,bo as k,ah as F,c8 as J,cn as O,b$ as $,c9 as j,b9 as A,a1 as X,b0 as Y,bH as T,aN as G,cr as K}from"./Dajw5C9Z.js";import{V as E,m as Q}from"./CcAFTS_B.js";import{u as Z}from"./-C8ixDYb.js";const ee={},te={x:"0px",y:"0px",viewBox:"0 0 208 30","stroke-width":"0"};function le(t,m){return N(),U("svg",te,[...m[0]||(m[0]=[D(`<path d="M0,0h13c7.2,0,9.9,4.7,9.9,9.4s-2.8,9.4-10,9.4H6.3v10.6H0V0L0,0z M6.3,13.8h4.9c2.9,0,5.6-0.7,5.6-4.4 2 S14.2,5,11.3,5h-5V13.8z"></path><path d="M30.2,20.2c0.2,3.7,1.9,5.4,5.2,5.4c2.3,0,4.2-1.4,4.5-2.8h5c-1.6,5-5,7.2-9.8,7.2c-6.6,0-10.7-4.6-10.7-11.2 3 c0-6.4,4.3-11.3,10.7-11.3c7.1,0,10.5,6.1,10.1,12.7L30.2,20.2L30.2,20.2z M39.6,16.5c-0.5-3-1.8-4.5-4.6-4.5 4 c-3.6,0-4.7,2.9-4.8,4.6L39.6,16.5L39.6,16.5z"></path><path d="M49.5,14.7c0.3-5.5,5.1-7.1,9.8-7.1c4.2,0,9.1,0.9,9.1,6.1v11.1c0,2,0.2,3.8,0.7,4.7h-5.8 5 c-0.2-0.7-0.4-1.4-0.4-2.1c-1.8,1.9-4.5,2.6-7,2.6c-4,0-7.1-2-7.1-6.4c0-4.8,3.6-6,7.1-6.5s6.8-0.4,6.8-2.8c0-2.5-1.7-2.9-3.7-2.9 6 c-2.2,0-3.6,0.9-3.8,3.2L49.5,14.7L49.5,14.7L49.5,14.7z M62.7,19c-1,0.9-3,0.9-4.8,1.2c-1.8,0.4-3.4,1-3.4,3.1 7 c0,2.2,1.6,2.7,3.6,2.7c4.5,0,4.6-3.6,4.6-4.9L62.7,19L62.7,19L62.7,19z"></path><path d="M74.4,0h5.7v15.8l7.2-7.7h6.8l-7.9,7.8L95,29.4h-6.9l-5.7-9.5l-2.2,2.2v7.3h-5.7V0H74.4z"></path><path d="M98.4,0h18.9v3.3h-15.1v9.4h13.2V16h-13.2v13.5h-3.8V0z"></path><path d="M124.3,4.3h-3.4V0h3.4V4.3z M120.9,8.1h3.4v21.3h-3.4V8.1z"></path><path d="M128.8,8.1h3.2v3.4h0.1c1.5-2.6,3.8-3.9,6.8-3.9c5.5,0,7.2,3.2,7.2,7.8v14h-3.4V15c0-2.6-1.6-4.3-4.2-4.3 8 c-4.2,0-6.2,2.8-6.2,6.7v12h-3.4L128.8,8.1L128.8,8.1z"></path><path d="M170.1,29.4h-3.4v-2.9h-0.1c-1.1,2.3-3.8,3.4-6.7,3.4c-6.4,0-9.6-5.2-9.6-11.2s3.1-11.1,9.5-11.1 9 c2.1,0,5.2,0.8,6.8,3.3h0.1V0h3.4V29.4L170.1,29.4L170.1,29.4z M160.4,26.8c4.6,0,6.4-4,6.4-8c0-4.2-1.9-8.1-6.6-8.1 10 c-4.7,0-6.3,4.1-6.3,8.3C154,23,156,26.8,160.4,26.8L160.4,26.8z"></path><path d="M193.4,22.7c-0.9,4.7-4.2,7.3-8.9,7.3c-6.7,0-9.8-4.7-10-11.2c0-6.4,4.1-11.1,9.8-11.1c7.4,0,9.6,7,9.4,12.2 11 h-15.6c-0.1,3.7,1.9,7,6.5,7c2.8,0,4.8-1.4,5.4-4.2L193.4,22.7L193.4,22.7L193.4,22.7z M190.1,16.7c-0.2-3.3-2.6-6-6-6 12 c-3.6,0-5.7,2.8-6,6H190.1L190.1,16.7L190.1,16.7z"></path><path d="M197,8.1h3.2v4.5h0.1c1.7-3.4,4-5.1,7.7-5v3.7c-5.5,0-7.6,3.2-7.6,8.6v9.5H197V8.1L197,8.1z"></path>`,10)])])}const ie=Object.assign(I(ee,[["render",le]]),{__name:"PfLogo"}),ae=k({scrollTarget:{type:String},scrollThreshold:{type:[String,Number],default:300}},"scroll");function oe(t){let m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{canScroll:f,layoutSize:d}=m;let n=0,a=0;const v=P(null),o=h(0),c=h(0),p=h(0),y=h(!1),s=h(!1),V=h(!1),S=h(!1),b=h(!0),r=i(()=>Number(t.scrollThreshold)),M=i(()=>W((r.value-o.value)/r.value||0));function w(l){const e="window"in l?window.innerHeight:l.clientHeight,u="window"in l?document.documentElement.scrollHeight:l.scrollHeight;return{clientHeight:e,scrollHeight:u}}function H(){const l=v.value;if(!l)return;const{clientHeight:e,scrollHeight:u}=w(l),_=u-e,L=d?.value||0,x=r.value+L;b.value=_>x}function z(){H()}function g(){const l=v.value;if(!l||f&&!f.value)return;n=o.value,o.value="window"in l?l.pageYOffset:l.scrollTop;const e=l instanceof Window?document.documentElement.scrollHeight:l.scrollHeight;a!==e&&(e>a&&H(),a=e),s.value=o.value<n,p.value=Math.abs(o.value-r.value);const{clientHeight:u,scrollHeight:_}=w(l),L=o.value+u>=_-5;!s.value&&L&&o.value>=r.value&&b.value&&(S.value=!0);const x=Math.abs(o.value-n)>100,R=o.value<=5;(s.value&&n-o.value>1&&!L||x&&o.value<r.value||R)&&(S.value=!1),V.value=L}return B(s,()=>{c.value=c.value||o.value}),B(y,()=>{c.value=0}),q(()=>{B(()=>t.scrollTarget,l=>{const e=l?document.querySelector(l):window;e&&e!==v.value&&(v.value?.removeEventListener("scroll",g),v.value=e,v.value.addEventListener("scroll",g,{passive:!0}),Promise.resolve().then(()=>{H()}))},{immediate:!0}),window.addEventListener("resize",z,{passive:!0})}),C(()=>{v.value?.removeEventListener("scroll",g),window.removeEventListener("resize",z)}),f&&B(f,g,{immediate:!0}),{scrollThreshold:r,currentScroll:o,currentThreshold:p,isScrollActive:y,scrollRatio:M,isScrollingUp:s,savedScroll:c,isAtBottom:V,reachedBottomWhileScrollingDown:S,hasEnoughScrollableSpace:b}}const ne=k({scrollBehavior:String,modelValue:{type:Boolean,default:!0},location:{type:String,default:"top",validator:t=>["top","bottom"].includes(t)},...A(Q(),["location"]),...G(),...ae(),height:{type:[Number,String],default:64}},"VAppBar"),ve=F()({name:"VAppBar",props:ne(),emits:{"update:modelValue":t=>!0},setup(t,m){let{slots:f}=m;const d=P(),n=J(t,"modelValue"),a=i(()=>{const e=new Set(t.scrollBehavior?.split(" ")??[]);return{hide:e.has("hide"),fullyHide:e.has("fully-hide"),inverted:e.has("inverted"),collapse:e.has("collapse"),elevate:e.has("elevate"),fadeImage:e.has("fade-image")}}),v=i(()=>{const e=a.value;return e.hide||e.fullyHide||e.inverted||e.collapse||e.elevate||e.fadeImage||!n.value}),o=i(()=>{const e=d.value?.contentHeight??0,u=d.value?.extensionHeight??0;return e+u}),{currentScroll:c,scrollThreshold:p,isScrollingUp:y,scrollRatio:s,isAtBottom:V,reachedBottomWhileScrollingDown:S,hasEnoughScrollableSpace:b}=oe(t,{canScroll:v,layoutSize:o}),r=T(()=>a.value.hide||a.value.fullyHide),M=i(()=>t.collapse||a.value.collapse&&(a.value.inverted?s.value>0:s.value===0)),w=i(()=>t.flat||a.value.fullyHide&&!n.value||a.value.elevate&&(a.value.inverted?c.value>0:c.value===0)),H=i(()=>a.value.fadeImage?a.value.inverted?1-s.value:s.value:void 0),z=i(()=>
12{if(a.value.hide&&a.value.inverted)return 0;const e=d.value?.contentHeight??0,u=d.value?.extensionHeight??0;return r.value?c.value<p.value||a.value.fullyHide?e+u:e:e+u});O(()=>!!t.scrollBehavior,()=>{K(()=>{if(!r.value){n.value=!0;return}if(a.value.inverted){n.value=c.value>p.value;return}if(!b.value){n.value=!0;return}if(S.value){n.value=!1;return}n.value=y.value&&!V.value||c.value<p.value})});const{ssrBootStyles:g}=Z(),{layoutItemStyles:l}=$({id:t.name,order:i(()=>parseInt(t.order,10)),position:T(()=>t.location),layoutSize:z,elementSize:h(void 0),active:n,absolute:T(()=>t.absolute)});return j(()=>{const e=A(E.filterProps(t),["location"]);return X(E,Y({ref:d,class:["v-app-bar",{"v-app-bar--bottom":t.location==="bottom"},t.class],style:[{...l.value,"--v-toolbar-image-opacity":H.value,height:void 0,...g.value},t.style]},e,{collapse:M.value,flat:w.value}),f)}),{}}});export{ve as V,ie as _};
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.