PageSourceSearch

https://cyberimpact-website.vercel.app/_astro/SectionFadeIn.astro_…?dpl=dpl_6BR4BDGeoM6X7jEwfCjsGnSkfC32

js cyberimpact-website.vercel.app collected 2026-10-03 06:30:46 UTC 10,398 bytes, 1 lines download raw bytes

1import{$ as e,B as t,Ct as n,Dt as r,F as i,H as a,K as o,L as s,P as c,Q as l,R as u,S as d,_t as f,et as p,ft as m,ht as ee,it as h,n as g,nt as _,o as v,pt as y,rt as te,t as b,tt as ne,wt as re,yt as x}from"./single-value.LqjxOC-6.js?dpl=dpl_6BR4BDGeoM6X7jEwfCjsGnSkfC32";var S=(e,t,n)=>{let r=t-e;return((n-e)%r+r)%r+e};function C(e,t){return y(e)?e[S(0,e.length,t)]:e}var w=class{constructor(e){this.stop=()=>this.runAll(`stop`),this.animations=e.filter(Boolean)}get finished(){return Promise.all(this.animations.map(e=>e.finished))}getAll(e){return this.animations[0][e]}setAll(e,t){for(let n=0;n<this.animations.length;n++)this.animations[n][e]=t}attachTimeline(e){let t=this.animations.map(t=>t.attachTimeline(e));return()=>{t.forEach((e,t)=>{e&&e(),this.animations[t].stop()})}}get time(){return this.getAll(`time`)}set time(e){this.setAll(`time`,e)}get speed(){return this.getAll(`speed`)}set speed(e){this.setAll(`speed`,e)}get state(){return this.getAll(`state`)}get startTime(){return this.getAll(`startTime`)}get duration(){return T(this.animations,`duration`)}get iterationDuration(){return T(this.animations,`iterationDuration`)}runAll(e){this.animations.forEach(t=>t[e]())}play(){this.runAll(`play`)}pause(){this.runAll(`pause`)}cancel(){this.runAll(`cancel`)}complete(){this.runAll(`complete`)}};function T(e,t){let n=0;for(let r=0;r<e.length;r++){let i=e[r][t];i!==null&&i>n&&(n=i)}return n}var E=class extends w{then(e,t){return this.finished.finally(e).then(()=>{})}};function D(e,t){if(e===`first`)return 0;{let n=t-1;return e===`last`?n:n/2}}function O(e=.1,{startDelay:t=0,from:n=0,ease:r}={}){return(i,a)=>{let o=typeof n==`number`?n:D(n,a),s=e*Math.abs(o-i);if(r){let t=a*e;s=m(r)(s/t)*t}return t+s}}function k(e,t){return e in t}var A=class extends d{constructor(){super(...arguments),this.type=`object`}readValueFromInstance(e,t){if(k(t,e)){let n=e[t];if(typeof n==`string`||typeof n==`number`)return n}}getBaseTargetFromProps(){}removeValueFromRenderState(e,t){delete t.output[e]}measureInstanceViewportBox(){return i()}build(e,t){Object.assign(e.output,t)}renderInstance(e,{output:t}){Object.assign(e,t)}sortInstanceNodePosition(){return 0}};function j(e){return typeof e==`object`&&!Array.isArray(e)}function M(e,n,r,i){return e==null?[]:typeof e==`string`&&j(n)?t(e,r,i):e instanceof NodeList?Array.from(e):Array.isArray(e)?e.filter(e=>e!=null):[e]}function ie(e,t,n){return e*(t+1)+n*t}function N(e,t,n,r){return typeof t==`number`?t:t.startsWith(`-`)||t.startsWith(`+`)?Math.max(0,e+parseFloat(t)):t===`<`?n:t.startsWith(`<`)?Math.max(0,n+parseFloat(t.slice(1))):r.get(t)??e}function ae(e,t,n){for(let i=0;i<e.length;i++){let a=e[i];a.at>t&&a.at<n&&(r(e,a),i--)}}function oe(e,t,n,r,i,a){ae(e,i,a);for(let o=0;o<t.length;o++)e.push({value:t[o],at:h(i,a,r[o]),easing:C(n,o)})}function se(e,t,n=0){let r=t+1+t*n;for(let t=0;t<e.length;t++)e[t]=e[t]/r}function ce(e,t){return e.at===t.at?e.value===null?1:t.value===null?-1:0:e.at-t.at}var le=`easeInOut`,P=20;function ue(t,{defaultTransition:n={},...r}={},i,a){let s=n.duration||.3,c=new Map,l=new Map,u={},d=new Map,m=0,h=0,g=0;for(let r=0;r<t.length;r++){let c=t[r];if(typeof c==`string`){d.set(c,h);continue}else if(!Array.isArray(c)){d.set(c.name,N(h,c.at,m,d));continue}let[_,v,y={}]=c;y.at!==void 0&&(h=N(h,y.at,m,d));let b=0,x=(t,r,i,o=0,c=0)=>{let l=de(t),{delay:u=0,times:d=p(l),type:m=n.type||`keyframes`,repeat:_,repeatType:v,repeatDelay:y=0,...x}=r,{ease:S=n.ease||`easeOut`,duration:w}=r,T=typeof u==`function`?u(o,c):u,E=l.length,D=e(m)?m:a?.[m||`keyframes`];if(E<=2&&D){let e=100;if(E===2&&L(l)){let t=l[1]-l[0];e=Math.abs(t)}let t={...n,...x};w!==void 0&&(t.duration=f(w));let r=te(t,e,D);S=r.ease,w=r.duration}w??=s;let O=h+T;d.length===1&&d[0]===0&&(d[1]=1);let k=d.length-l.length;if(k>0&&ne(d,k),l.length===1&&l.unshift(null),_&&re(_<P,`Sequence segments can't repeat ${_} times — ignoring repeat option. Use a value below ${P} or apply repeat at the sequence level instead.`),_&&_<P){let e=w>0?y/w:0;w=ie(w,_,y);let t=[...l],n=[...d];S=Array.isArray(S)?[...S]:[S];let r=[...S],i=v===`reverse`||v===`mirror`,a=t,o=r;i&&(a=[...t].reverse(),v===`reverse`&&(o=[...r].reverse().map(e=>typeof e==`function`?ee(e):e)));for(let s=0;s<_;s++){let c=i&&s%2==0,u=c?a:t,f=c?o:r,p=(s+1)*(1+e);e>0&&(l.push(l[l.length-1]),d.push(p),S.push(`linear`)),l.push(...u);for(let e=0;e<u.length;e++)d.push(n[e]+p),S.push(e===0?`linear`:C(f,e-1))}se(d,_,e)}let A=O+w;oe(i,l,S,d,O,A),b=Math.max(T+w,b),g=Math.max(A,g)};if(o(_)){let e=F(_,l);x(v,y,I(`default`,e))}else{let e=M(_,v,i,u),t=e.length;for(let n=0;n<t;n++){v=v,y=y;let r=e[n],i=F(r,l);for(let e in v)x(v[e],fe(y,e),I(e,i),n,t)}}m=h,h+=b}return l.forEach((e,t)=>{for(let i in e){let a=e[i];a.sort(ce);let o=[],s=[],l=[];for(let e=0;e<a.length;e++){let{at:t,value:n,easing:r}=a[e];o.push(n),s.push(x(0,g,t)),l.push(r||`easeOut`)}s[0]!==0&&(s.unshift(0),o.unshift(o[0]),l.unshift(le)),s[s.length-1]!==1&&(s.push(1),o.push(null)),c.has(t)||c.set(t,{keyframes:{},transition:{}});let u=c.get(t);u.keyframes[i]=o;let{type:d,...f}=n;u.transition[i]={...f,duration:g,ease:l,times:s,...r}}}),c}function F(e,t){return!t.has(e)&&t.set(e,{}),t.get(e)}function I(e,t){return t[e]||(t[e]=[]),t[e]}function de(e){return Array.isArray(e)?e:[e]}function fe(e,t){return e&&e[t]?{...e,...e[t]}:{...e}}var pe=e=>typeof e==`number`,L=e=>e.every(pe);function R(e){let t={presenceContext:null,props:{}
1,visualState:{renderState:{transform:{},transformOrigin:{},style:{},vars:{},attrs:{}},latestValues:{}}},n=u(e)&&!s(e)?new g(t):new v(t);n.mount(e),c.set(e,n)}function z(e){let t=new A({presenceContext:null,props:{},visualState:{renderState:{output:{}},latestValues:{}}});t.mount(e),c.set(e,t)}function B(e,t){return o(e)||typeof e==`number`||typeof e==`string`&&!j(t)}function V(e,t,r,i){let o=[];if(B(e,t))o.push(b(e,j(t)&&t.default||t,r&&(r.default||r)));else{if(e==null)return o;let s=M(e,t,i),l=s.length;n(!!l,`No valid elements provided.`,`no-valid-elements`);for(let e=0;e<l;e++){let n=s[e],i=n instanceof Element?R:z;c.has(n)||i(n);let u=c.get(n),d={...r};`delay`in d&&typeof d.delay==`function`&&(d.delay=d.delay(e,l)),o.push(...a(u,{...t,transition:d},{}))}}return o}function me(e,t,n){let r=[];return ue(e.map(e=>{if(Array.isArray(e)&&typeof e[0]==`function`){let t=e[0],n=l(0);return n.on(`change`,t),e.length===1?[n,[0,1]]:e.length===2?[n,[0,1],e[1]]:[n,e[1],e[2]]}return e}),t,n,{spring:_}).forEach(({keyframes:e,transition:t},n)=>{r.push(...V(n,e,t))}),r}function he(e){return Array.isArray(e)&&e.some(Array.isArray)}function ge(e={}){let{scope:t,reduceMotion:n,skipAnimations:i}=e;function a(e,a,o){let s=[],c,l={};if(n!==void 0&&(l.reduceMotion=n),i!==void 0&&(l.skipAnimations=i),he(e)){let{onComplete:n,...r}=a||{};typeof n==`function`&&(c=n),s=me(e,{...l,...r},t)}else{let{onComplete:n,...r}=o||{};typeof n==`function`&&(c=n),s=V(e,a,{...l,...r},t)}let u=new E(s);return c&&u.finished.then(c),t&&(t.animations.push(u),u.finished.then(()=>{r(t.animations,u)})),u}return a}var H=ge(),_e={some:0,all:1};function ve(e,n,{root:r,margin:i,amount:a=`some`}={}){let o=t(e),s=new WeakMap,c=new IntersectionObserver(e=>{e.forEach(e=>{let t=s.get(e.target);if(e.isIntersecting!==!!t)if(e.isIntersecting){let t=n(e.target,e);typeof t==`function`?s.set(e.target,t):c.unobserve(e.target)}else typeof t==`function`&&(t(e),s.delete(e.target))})},{root:r,rootMargin:i,threshold:typeof a==`number`?a:_e[a]});return o.forEach(e=>c.observe(e)),()=>c.disconnect()}var U=`[data-fade-in]`,W=`[data-fade-item]`,G=`fade-in-ready`,ye=`astro-island, script, style, noscript, svg, code, pre, kbd, samp, form, textarea, input, select, option, button, [data-slot="button"], a[data-slot="button"], [data-fade-skip], .animate-marquee`,be=[`astro-island`,`form`,`picture`,`video`,`iframe`,`table`,`button`,`[data-slot="button"]`,`img`,`svg`].join(`, `),xe=`h1, h2, h3, h4, h5, h6, p`,Se=24,K=[.2,0,0,1],q=.45,Ce=.04,we=.7;function Te(){return window.matchMedia(`(prefers-reduced-motion: reduce)`).matches}function J(e){e.style.opacity=``,e.style.transform=``,e.style.filter=``,e.style.willChange=``}function Ee(e){J(e),e.dataset.fadeInState=`visible`,e.dataset.fadePrepared=`true`,e.querySelectorAll(W).forEach(J)}function De(){document.documentElement.classList.remove(G),document.querySelectorAll(U).forEach(Ee)}function Y(e){return!!e.closest(W)}function X(e){!(e instanceof HTMLElement)&&!(e instanceof SVGElement)||Y(e)||(e.dataset.fadeItem=``)}function Oe(e){e.querySelectorAll(be).forEach(t=>{if(!Y(t)&&!(t.matches(`button, [data-slot="button"]`)&&t.closest(`form`))){if(t.matches(`img, svg`)&&t.closest(`.animate-marquee`)){let n=t.closest(`.animate-marquee`),r=n?.parentElement;r&&r!==e?X(r):n&&X(n);return}if(!(t.matches(`img`)&&t.closest(`picture`))){if(t.matches(`svg`)){let n=t.parentElement;if(n&&n!==e&&n.childElementCount===1&&!Y(n)&&!(n instanceof HTMLAnchorElement)){X(n);return}}X(t)}}}),e.querySelectorAll(`.animate-marquee`).forEach(t=>{let n=t.parentElement;n&&n!==e&&!Y(n)?X(n):Y(t)||X(t)})}function ke(e){return e.trim().split(/\s+/).filter(Boolean).length}function Ae(e){e.querySelectorAll(xe).forEach(e=>{e.closest(ye)||Y(e)||e.matches(`p`)&&ke(e.textContent??``)>Se||X(e)})}function Z(e){return Array.from(e.querySelectorAll(W)).filter(e=>!e.parentElement?.closest(W))}function je(e){e.dataset.fadePrepared!==`true`&&(Oe(e),Ae(e),Z(e).length||Array.from(e.children).forEach(e=>{e instanceof HTMLElement&&X(e)}),e.dataset.fadePrepared=`true`)}function Q(e){return e<=1?0:O(Math.min(Ce,we/(e-1)))}function Me(e,t){e.dataset.fadeInState=`visible`,J(e),t.forEach(J)}function Ne(e){return e.matches(`button, [data-slot="button"], a[data-slot="button"]`)}function Pe(e){if(e.dataset.fadeInState===`playing`||e.dataset.fadeInState===`visible`)return;e.dataset.fadeInState=`playing`;let t=Z(e),n=Q(t.length),r=1+t.length,i=()=>{--r,r<=0&&Me(e,t)};if(H(e,{opacity:1},{duration:q,ease:K}).finished.then(i,i),!t.length){r=1;return}t.forEach((e,r)=>{let a=typeof n==`function`?n(r,t.length):n;H(e,Ne(e)?{opacity:1}:{opacity:1,y:0},{duration:q,ease:K,delay:a}).finished.then(i,i)})}function $(){let e=Array.from(document.querySelectorAll(U));if(!e.length){document.documentElement.classList.remove(G);return}if(Te()){De();return}e.forEach(je),ve(U,e=>{Pe(e)},{amount:.05,margin:`0px 0px -4% 0px`})}document.readyState===`loading`?document.addEventListener(`DOMContentLoaded`,$):$();

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.