PageSourceSearch

https://pvg.co/_nuxt/DqSpdyGX.js

js pvg.co collected 2026-10-06 00:33:58 UTC 1,453 bytes, 1 lines download raw bytes

1import b from"./K3CapPua.js";import{a8 as x,a4 as A,f as H,E as B,r as g,ag as E,v as q,a5 as F,a as u,c as _,F as G,s as L,b as $,m as z,u as D}from"./OTrOSt8_.js";import"./pEgZLFoR.js";import"./CPIrIGlu.js";import"./Oz2Sv-33.js";import"./Bjj6nGvZ.js";import"./CZWJFDKt.js";const I={__name:"StackingCards",props:{cards:{type:Array,required:!0}},setup(h){const{scrollState:v}=A(),n=H().$gsap,k=B(),c=g(null),y=g(0),{getHeight:C}=E(),w=q(()=>{var e;return(e=v.value)==null?void 0:e.scroll});return F(()=>{if(!w.value||!c.value)return;if(k.value.phone)return n.set(c.value.children,{yPercent:0,scale:1,clearProps:"all"});const e=c.value.children;e&&Array.from(e).forEach((d,o)=>{const t=Array.from(e).slice(0,o),i=Array.from(e).slice(o);if(!t.length)return;const l=d.getBoundingClientRect(),p=window.innerHeight*.1+C("header-height"),P=window.innerHeight*.5-p,S=window.innerHeight*.5;if(l.top<=S&&l.top-p>=0){const m=n.utils.clamp(0,1,(l.top-p)/P);n.set(t.reverse(),{yPercent:r=>{const s=[5,10,15,20],a=s[r-1]||0,f=(m-1)*(s[r]-a);return a*-1+f},scale:r=>{const s=[.05,.1,.15,.2],a=s[r-1]||0;return 1+(m-1)*(s[r]-a)+a*-1}}),n.set(i,{yPercent:0,scale:1})}})}),(e,d)=>{const o=b;return u(),_("section",{class:"stacking-cards",ref_key:"el",ref:c},[(u(!0),_(G,null,L(h.cards,(t,i)=>(u(),$(o,z({key:t._key,ref_for:!0},t,{activeCard:D(y),index:i+1}),null,16,["activeCard","index"]))),128))],512)}}},O=x(I,[["__scopeId","data-v-2638683d"]]);export{O 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.