PageSourceSearch

https://core-wisevideo.replit.app/assets/DeepSpaceDrift-kR1tFApS.js

js core-wisevideo.replit.app collected 2026-10-03 03:53:33 UTC 9,869 bytes, 49 lines download raw bytes

1import{r as c,j as e}from"./react-vendor-PQKF9aal.js";import{s as y}from"./index-D28LxU68.js";import"./radix-vendor-Bwh9l8BA.js";import"./framer-BbKTcU6c.js";function r(o,s){return Math.random()*(s-o)+o}function f(o){return Array.from({length:o},()=>{const s=Math.random()<.08;return{x:r(0,100),y:r(0,100),size:s?r(3,5):r(1,3),opacity:s?r(.7,1):r(.4,.95),delay:r(0,8),duration:s?r(3,5):r(2,6),threshold:s?r(.15,.4):r(0,.5),highlight:s}})}function x(){return[275,45,220,260,195].map((s,d)=>({x:r(10,90),y:r(10,90),radius:r(200,500),hueStart:s,delay:r(0,10),duration:r(20,40),threshold:.15+d*.12,hueCycleDuration:r(25,50)}))}function m(){return Array.from({length:6},()=>({x:r(5,95),y:r(5,95),length:r(30,80),angle:r(-30,30),delay:r(0,15),duration:r(8,14)}))}function j({intensity:o}){const s=c.useMemo(()=>f(120),[]),d=c.useMemo(()=>x(),[]),p=c.useMemo(()=>m(),[]),n=y();if(o<=0)return null;const g=o*.8,u=Math.min(o*1.2,1)*.7;return e.jsxs("div",{"aria-hidden":"true",style:{position:"fixed",inset:0,pointerEvents:"none",zIndex:2,overflow:"hidden"},children:[e.jsx("style",{children:`
2        @keyframes dsd-twinkle {
3          0%, 100% { opacity: var(--star-lo); }
4          50% { opacity: var(--star-hi); }
5        }
6        @keyframes dsd-highlight-twinkle {
7          0%, 100% { opacity: var(--star-lo); transform: scale(1); }
8          50% { opacity: var(--star-hi); transform: scale(1.3); }
9        }
10        @keyframes dsd-nebula-drift {
11          0% { transform: translate(0, 0) scale(1); }
12          33% { transform: translate(30px, -20px) scale(1.08); }
13          66% { transform: translate(-20px, 15px) scale(0.92); }
14          100% { transform: translate(0, 0) scale(1); }
15        }
16        @keyframes dsd-aurora-wave {
17          0% { transform: translateX(-5%) scaleY(1); }
18          50% { transform: translateX(5%) scaleY(1.4); }
19          100% { transform: translateX(-5%) scaleY(1); }
20        }
21        @keyframes dsd-aurora-hue {
22          0% { filter: hue-rotate(0deg); }
23          33% { filter: hue-rotate(30deg); }
24          66% { filter: hue-rotate(-20deg); }
25          100% { filter: hue-rotate(0deg); }
26        }
27        @keyframes dsd-geo-rotate {
28          0% { transform: translate(-50%, -50%) rotate(0deg); }
29          100% { transform: translate(-50%, -50%) rotate(360deg); }
30        }
31        @keyframes dsd-orrery-ccw {
32          0% { transform: translate(-50%, -50%) rotate(0deg); }
33          100% { transform: translate(-50%, -50%) rotate(-360deg); }
34        }
35        @keyframes dsd-geo-glow-pulse {
36          0%, 100% { opacity: var(--geo-lo); }
37          50% { opacity: var(--geo-hi); }
38        }
39        @keyframes dsd-geo-inner-pulse {
40          0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.3; }
41          50% { transform: translate(-50%, -50%) scale(1.08); opacity: 0.6; }
42        }
43        @keyframes dsd-streak {
44          0%, 100% { opacity: 0; }
45          10% { opacity: var(--streak-hi); }
46          40% { opacity: var(--streak-hi); }
47          50% { opacity: 0; }
48        }
49      `}),e.jsx("div",{style:{position:"absolute",inset:0,backgroundColor:`rgba(5, 5, 15, ${g})`,transition:"background-color 0.5s ease"}}),e.jsx("div",{style:{position:"absolute",inset:0,opacity:u,background:"radial-gradient(ellipse at center, transparent 30%, rgba(0, 0, 0, 0.6) 100%)",transition:"opacity 2s ease"}}),s.map((t,i)=>{const a=Math.max(0,(o-t.threshold)/(1-t.threshold));if(a<=0)return null;const l=t.opacity*a*.1,h=t.opacity*a;return t.highlight?e.jsx("div",{style:{position:"absolute",left:`${t.x}%`,top:`${t.y}%`,width:t.size,height:t.size,borderRadius:"50%",backgroundColor:"white",boxShadow:`0 0 ${t.size*3}px ${t.size}px rgba(255, 255, 255, 0.4), 0 0 ${t.size*6}px ${t.size*2}px rgba(200, 200, 255, 0.15)`,"--star-lo":l,"--star-hi":h,animation:`dsd-highlight-twinkle ${t.duration}s ease-in-out ${t.delay}s infinite`}},i):e.jsx("div",{style:{position:"absolute",left:`${t.x}%`,top:`${t.y}%`,width:t.size,height:t.size,borderRadius:"50%",backgroundColor:"white","--star-lo":l,"--star-hi":h,animation:`dsd-twinkle ${t.duration}s ease-in-out ${t.delay}s infinite`}},i)}),d.map((t,i)=>{const a=Math.max(0,(o-t.threshold)/(1-t.threshold));if(a<=0)return null;const l=`hsla(${t.hueStart}, 80%, 55%, 0.35)`;return e.jsx("div",{style:{position:"absolute",left:`${t.x}%`,top:`${t.y}%`,width:t.radius*2,height:t.radius*2,marginLeft:-t.radius,marginTop:-t.radius,borderRadius:"50%",background:`radial-gradient(circle, ${l} 0%, transparent 70%)`,opacity:a,filter:"blur(40px)",animation:`dsd-nebula-drift ${t.duration}s ease-in-out ${t.delay}s infinite`,willChange:"transform",transition:"opacity 2s ease"}},`nebula-${i}`)}),o>.4&&e.jsxs("div",{style:{position:"absolute",top:0,left:"-10%",right:"-10%",height:250,opacity:Math.min((o-.4)/.35,1),transition:"opacity 2s ease",animation:"dsd-aurora-hue 30s ease-in-out infinite"},children:[e.jsx("div",{style:{position:"absolute",inset:0,background:"linear-gradient(180deg, rgba(100, 40, 200, 0.35) 0%, rgba(160, 60, 220, 0.25) 25%, rgba(60, 140, 240, 0.15) 50%, transparent 100%)",animation:"dsd-aurora-wave 12s ease-in-out infinite",willChange:"transform"}}),e.jsx("div",{style:{position:"absolute",inset:0,top:30,background:"linear-gradient(180deg, transparent 0%, rgba(80, 200, 120, 0.20) 30%, rgba(40, 180, 180, 0.12) 60%, transparent 100%)",animation:"dsd-aurora-wave 16s ease-in-out 2s infinite",willChange:"transform"}}),e.jsx("div",{style:{position:"absolute",inset:0,top:10,background:"linear-gradient(180deg, rgba(212, 175, 55, 0.16) 0%, transparent 40%)",animation:"dsd-aurora-wave 20s ease-in-out 4s infinite",willChange:"transform"}})]}),o>.5&&e.jsxs("div",{style:{position:"absolute",bottom:0,left:"-10%",right:"-10%",height:180,opacity:Math.min((o-.5)/.35,1),transition:"opacity 2s ease",transform:"scaleY(-1)",animation:"dsd-aurora-hue 35s ease-in-out 5s infinite"},children:[e.jsx("div",{style:{position:"absolute",inset:0,background:"linear-gradient(180deg, rgba(139, 50, 246, 0.30) 0%, rgba(80, 100, 240, 0.18) 40%, transparent 100%)",animation:"dsd-aurora-wave 14s ease-in-out 1s infinite",willChange:"transform"}}),e.jsx("div",{style:{position:"absolute",inset:0,top:20,background:"linear-gradient(180deg, transparent 0%, rgba(60, 180, 200, 0.15) 40%, transparent 100%)",animation:"dsd-aurora-wave 18s ease-in-out 3s infinite",willChange:"transform"}})]}),o>.75&&p.map((t,i)=>{const a=(o-.75)/.25;return e.jsx("div",{style:{position:"absolute",left:`${t.x}%`,top:`${t.y}%`,width:t.length,height:1,background:"linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.6) 30%, rgba(255, 255, 255, 0.8) 50%, rgba(255, 255, 255, 0.6) 70%, transparent 100%)",transform:`rotate(${t.angle}deg)`,"--streak-hi":a*.5,animation:`dsd-streak ${t.duration}s ease-in-out ${t.delay}s infinite`,willChange:"opacity"}},`streak-${i}`)}),o>.65&&(()=>{const t=(o-.65)/.35,i=280,a="#d4af37";return e.jsxs(e.Fragment,{children:[e.jsx("div",{style:{position:"absolute",left:"50%",top:"50%",width:i*.6,height:i*.6,transform:"translate(-50%, -50%)",borderRadius:"50%",background:"transparent",boxShadow:`0 0 ${60*t}px ${30*t}px rgba(139, 92, 246, ${.3*t}), 0 0 ${120*t}px ${60*t}px rgba(99, 102, 241, ${.15*t})`,"--geo-lo":t*.4,"--geo-hi":t*.8,animation:"dsd-geo-glow-pulse 4s ease-in-out infinite",willChange:"opacity"}}),e.jsx("div",{style:{position:"absolute",left:"50%",top:"50%",width:i*1.2,he
49ight:i*1.2,borderRadius:"50%",background:`radial-gradient(circle, rgba(212, 175, 55, ${.18*t}) 0%, rgba(139, 92, 246, ${.08*t}) 40%, transparent 70%)`,animation:"dsd-geo-inner-pulse 5s ease-in-out infinite",filter:"blur(25px)",willChange:"transform, opacity"}}),e.jsx("div",{style:{position:"absolute",left:"50%",top:"50%",width:i,height:i,transform:"translate(-50%, -50%)",opacity:t,filter:`drop-shadow(0 0 6px rgba(212, 175, 55, ${.5*t}))`,"--geo-lo":t*.85,"--geo-hi":t,animation:"dsd-geo-glow-pulse 6s ease-in-out infinite",willChange:"opacity"},children:e.jsxs("svg",{viewBox:"0 0 40 40",width:i,height:i,fill:"none",children:[e.jsx("circle",{cx:"20",cy:"20",r:"14",stroke:a,strokeWidth:"0.6",opacity:"0.45"}),e.jsx("circle",{cx:"20",cy:"20",r:"10",stroke:a,strokeWidth:"0.75",opacity:"0.6"}),e.jsx("circle",{cx:"20",cy:"20",r:"6",stroke:a,strokeWidth:"0.6",opacity:"0.75"}),e.jsx("circle",{cx:"20",cy:"20",r:"4",fill:a,opacity:"0.4"}),e.jsx("circle",{cx:"20",cy:"20",r:"3",fill:a,opacity:"0.7"}),e.jsx("circle",{cx:"20",cy:"20",r:"2",fill:a})]})}),e.jsx("div",{style:{position:"absolute",left:"50%",top:"50%",width:i,height:i,opacity:t,transform:"translate(-50%, -50%)",animation:n?void 0:"dsd-geo-rotate 80s linear infinite",willChange:n?void 0:"transform"},children:e.jsxs("svg",{viewBox:"0 0 40 40",width:i,height:i,fill:"none",children:[e.jsx("circle",{cx:"20",cy:"20",r:"18",stroke:a,strokeWidth:"0.5",strokeDasharray:"3 2",opacity:"0.3"}),e.jsx("circle",{cx:"35",cy:"14",r:"1.2",fill:a,opacity:"0.7"}),e.jsx("circle",{cx:"6",cy:"24",r:"1",fill:a,opacity:"0.55"}),e.jsx("circle",{cx:"30",cy:"33",r:"0.8",fill:a,opacity:"0.45"}),e.jsx("circle",{cx:"10",cy:"8",r:"0.9",fill:a,opacity:"0.5"})]})}),e.jsx("div",{style:{position:"absolute",left:"50%",top:"50%",width:i,height:i,opacity:t,transform:"translate(-50%, -50%)",animation:n?void 0:"dsd-orrery-ccw 110s linear infinite",willChange:n?void 0:"transform"},children:e.jsxs("svg",{viewBox:"0 0 40 40",width:i,height:i,fill:"none",children:[e.jsx("line",{x1:"20",y1:"8",x2:"20",y2:"5",stroke:a,strokeWidth:"0.6",strokeLinecap:"round",opacity:"0.25"}),e.jsx("line",{x1:"20",y1:"32",x2:"20",y2:"35",stroke:a,strokeWidth:"0.6",strokeLinecap:"round",opacity:"0.25"}),e.jsx("line",{x1:"8",y1:"20",x2:"5",y2:"20",stroke:a,strokeWidth:"0.6",strokeLinecap:"round",opacity:"0.25"}),e.jsx("line",{x1:"32",y1:"20",x2:"35",y2:"20",stroke:a,strokeWidth:"0.6",strokeLinecap:"round",opacity:"0.25"})]})})]})})()]})}export{j 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.