12345 |
- <<<<<<<< HEAD:dist/assets/index-legacy-bcb8203d.js
- System.register(["./index-legacy-5f8741ef.js"],(function(e,t){"use strict";var o,i,n,s,r,a,l,u,d,f,c,h,v,p,x,m,b,g,w,y,I,$,O,j,z,T;return{setters:[e=>{o=e.bx,i=e.aX,n=e.aI,s=e.bo,r=e.c,a=e.n,l=e.m,u=e.b,d=e.d,f=e.r,c=e.bG,h=e.x,v=e.e,p=e.bJ,x=e.aj,m=e.i,b=e.w,g=e.a4,w=e.bI,y=e.z,I=e.a5,$=e.bN,O=e.bO,j=e.a,z=e.bp,T=e.k}],execute:function(){function t(e,t){if(!o||!window.IntersectionObserver)return;const r=new IntersectionObserver((e=>{t(e[0].intersectionRatio>0)}),{root:document.body}),a=()=>{e.value&&r.unobserve(e.value)};i(a),n(a),s((()=>{e.value&&r.observe(e.value)}))}e("u",t);const[k,B]=r("sticky"),S={zIndex:a,position:l("top"),container:Object,offsetTop:u(0),offsetBottom:u(0)};var E=d({name:k,props:S,emits:["scroll","change"],setup(e,{emit:o,slots:i}){const n=f(),s=c(n),r=h({fixed:!1,width:0,height:0,transform:0}),a=f(!1),l=v((()=>p("top"===e.position?e.offsetTop:e.offsetBottom))),u=v((()=>{if(a.value)return;const{fixed:e,height:t,width:o}=r;return e?{width:`${o}px`,height:`${t}px`}:void 0})),d=v((()=>{if(!r.fixed||a.value)return;const t=x(m(e.zIndex),{width:`${r.width}px`,height:`${r.height}px`,[e.position]:`${l.value}px`});return r.transform&&(t.transform=`translate3d(0, ${r.transform}px, 0)`),t})),T=()=>{if(!n.value||w(n))return;const{container:t,position:i}=e,s=I(n),a=z(window);if(r.width=s.width,r.height=s.height,"top"===i)if(t){const e=I(t),o=e.bottom-l.value-r.height;r.fixed=l.value>s.top&&e.bottom>0,r.transform=o<0?o:0}else r.fixed=l.value>s.top;else{const{clientHeight:e}=document.documentElement;if(t){const o=I(t),i=e-o.top-l.value-r.height;r.fixed=e-l.value<s.bottom&&e>o.top,r.transform=i<0?-i:0}else r.fixed=e-l.value<s.bottom}(e=>{o("scroll",{scrollTop:e,isFixed:r.fixed})})(a)};return b((()=>r.fixed),(e=>o("change",e))),g("scroll",T,{target:s,passive:!0}),t(n,T),b([$,O],(()=>{n.value&&!w(n)&&r.fixed&&(a.value=!0,y((()=>{const e=I(n);r.width=e.width,r.height=e.height,a.value=!1})))})),()=>{var e;return j("div",{ref:n,style:u.value},[j("div",{class:B({fixed:r.fixed&&!a.value}),style:d.value},[null==(e=i.default)?void 0:e.call(i)])])}}});e("S",T(E))}}}));
- ========
- System.register(["./index-legacy-23bc5b47.js"],(function(e,t){"use strict";var o,i,n,s,r,a,l,u,d,f,c,h,v,p,x,m,b,g,w,y,$,I,O,j,z,T;return{setters:[e=>{o=e.by,i=e.aX,n=e.aI,s=e.bo,r=e.c,a=e.n,l=e.m,u=e.b,d=e.d,f=e.r,c=e.bH,h=e.x,v=e.e,p=e.bK,x=e.aj,m=e.i,b=e.w,g=e.a4,w=e.bJ,y=e.z,$=e.a5,I=e.bO,O=e.bP,j=e.a,z=e.bp,T=e.k}],execute:function(){function t(e,t){if(!o||!window.IntersectionObserver)return;const r=new IntersectionObserver((e=>{t(e[0].intersectionRatio>0)}),{root:document.body}),a=()=>{e.value&&r.unobserve(e.value)};i(a),n(a),s((()=>{e.value&&r.observe(e.value)}))}e("u",t);const[k,B]=r("sticky"),H={zIndex:a,position:l("top"),container:Object,offsetTop:u(0),offsetBottom:u(0)};var S=d({name:k,props:H,emits:["scroll","change"],setup(e,{emit:o,slots:i}){const n=f(),s=c(n),r=h({fixed:!1,width:0,height:0,transform:0}),a=f(!1),l=v((()=>p("top"===e.position?e.offsetTop:e.offsetBottom))),u=v((()=>{if(a.value)return;const{fixed:e,height:t,width:o}=r;return e?{width:`${o}px`,height:`${t}px`}:void 0})),d=v((()=>{if(!r.fixed||a.value)return;const t=x(m(e.zIndex),{width:`${r.width}px`,height:`${r.height}px`,[e.position]:`${l.value}px`});return r.transform&&(t.transform=`translate3d(0, ${r.transform}px, 0)`),t})),T=()=>{if(!n.value||w(n))return;const{container:t,position:i}=e,s=$(n),a=z(window);if(r.width=s.width,r.height=s.height,"top"===i)if(t){const e=$(t),o=e.bottom-l.value-r.height;r.fixed=l.value>s.top&&e.bottom>0,r.transform=o<0?o:0}else r.fixed=l.value>s.top;else{const{clientHeight:e}=document.documentElement;if(t){const o=$(t),i=e-o.top-l.value-r.height;r.fixed=e-l.value<s.bottom&&e>o.top,r.transform=i<0?-i:0}else r.fixed=e-l.value<s.bottom}(e=>{o("scroll",{scrollTop:e,isFixed:r.fixed})})(a)};return b((()=>r.fixed),(e=>o("change",e))),g("scroll",T,{target:s,passive:!0}),t(n,T),b([I,O],(()=>{n.value&&!w(n)&&r.fixed&&(a.value=!0,y((()=>{const e=$(n);r.width=e.width,r.height=e.height,a.value=!1})))})),()=>{var e;return j("div",{ref:n,style:u.value},[j("div",{class:B({fixed:r.fixed&&!a.value}),style:d.value},[null==(e=i.default)?void 0:e.call(i)])])}}});e("S",T(S))}}}));
- >>>>>>>> iteration-20250327-light:dist/assets/index-legacy-e01a0320.js
|