PageSourceSearch

https://fresh-campaign-spark.lovable.app/assets/CtfLabBundlesBannerIndex-Dc6dxjre.js

js fresh-campaign-spark.lovable.app collected 2026-10-03 03:27:02 UTC 10,879 bytes, 6 lines download raw bytes

1import{r as c,j as e}from"./index-9ZedHETz.js";import{B as u}from"./button-DekKvsp6.js";import{c as d}from"./ctf-hero-bg-DoQSC5_B.js";import{U as h}from"./users-gg7Lc7O1.js";import{S as b}from"./shield-check-CO0_pf7b.js";import{T as f}from"./trending-up-BH8VQbVh.js";import{m as s}from"./proxy-DDlDSSGm.js";import{F as g}from"./flag-WMORxmuf.js";import{Z as v}from"./zap-CPgXLhU4.js";import{F as y}from"./flask-conical-CtYexpTy.js";import{F as m}from"./flame-BfW_EfJc.js";import{A as j}from"./arrow-right-BmfSR0Yo.js";import{c as w}from"./createLucideIcon-C0gWSzD2.js";import"./utils-CvRnhVyF.js";import"./index-fArRiNs3.js";/**
2 * @license lucide-react v0.462.0 - ISC
3 *
4 * This source code is licensed under the ISC license.
5 * See the LICENSE file in the root directory of this source tree.
6 */const N=w("MousePointerClick",[["path",{d:"M14 4.1 12 6",key:"ita8i4"}],["path",{d:"m5.1 8-2.9-.8",key:"1go3kf"}],["path",{d:"m6 12-1.9 2",key:"mnht97"}],["path",{d:"M7.2 2.2 8 5.1",key:"1cfko1"}],["path",{d:"M9.037 9.69a.498.498 0 0 1 .653-.653l11 4.5a.5.5 0 0 1-.074.949l-4.349 1.041a1 1 0 0 0-.74.739l-1.04 4.35a.5.5 0 0 1-.95.074z",key:"s0h3yz"}]]),k=1,L="6d2e63a4-25ef-49bb-8b8f-8323630ece4a",E="ab48cbc5-fc6a-499a-ac58-d61bef36bb0c",_="/__l5e/assets-v1/6d2e63a4-25ef-49bb-8b8f-8323630ece4a/ctf-hero-bg.mp4",I="ctf-hero-bg.mp4",T=10884577,S="2026-05-07T15:28:11Z",$={version:k,asset_id:L,project_id:E,url:_,original_filename:I,size:T,created_at:S},C={url:$.url},n="0 86% 33%",i="0 80% 45%",A="28 85% 60%",a=typeof navigator<"u"&&/HeadlessChrome|Lighthouse|PTST|GTmetrix|Speed Insights|Chrome-Lighthouse|PageSpeed/i.test(navigator.userAgent||""),B={"--background":"0 0% 4%","--foreground":"120 5% 92%","--card":"0 0% 6%","--card-foreground":"0 0% 98%","--primary":"142 90% 50%","--primary-foreground":"0 0% 0%","--secondary":"0 0% 10%","--secondary-foreground":"120 5% 92%","--muted":"0 0% 10%","--muted-foreground":"0 0% 60%","--accent":"14 100% 55%","--accent-foreground":"0 0% 100%","--border":"0 0% 14%"},p=89,P=20,z=80,O=200,H=({children:o,className:l="",...t})=>e.jsx(u,{...t,className:`relative font-bold tracking-wider text-white border-0 overflow-hidden group ${l}`,style:{background:`linear-gradient(135deg, hsl(${n}), hsl(${i}))`,boxShadow:`0 0 24px hsl(${n} / 0.55)`},children:o}),ee=()=>{const[o,l]=c.useState(null);return c.useEffect(()=>{if(a)return;const t=()=>l(C.url);return window.addEventListener("scroll",t,{passive:!0,once:!0}),window.addEventListener("touchstart",t,{passive:!0,once:!0}),window.addEventListener("pointerdown",t,{passive:!0,once:!0}),window.addEventListener("keydown",t,{once:!0}),()=>{window.removeEventListener("scroll",t),window.removeEventListener("touchstart",t),window.removeEventListener("pointerdown",t),window.removeEventListener("keydown",t)}},[]),e.jsxs("div",{className:"bg-background text-foreground",style:B,children:[e.jsx("div",{className:"border-b border-border bg-card/50 backdrop-blur",children:e.jsxs("div",{className:"max-w-6xl mx-auto px-6 py-2.5 flex flex-wrap items-center justify-center gap-x-6 gap-y-1 text-[11px] tracking-widest text-muted-foreground",children:[e.jsxs("span",{className:"flex items-center gap-1.5",children:[e.jsx(h,{className:"w-3 h-3 text-accent"})," 1.2M+ Learners"]}),e.jsxs("span",{className:"flex items-center gap-1.5",children:[e.jsx(b,{className:"w-3 h-3 text-accent"})," Industry-Recognized"]}),e.jsxs("span",{className:"flex items-center gap-1.5",children:[e.jsx(f,{className:"w-3 h-3 text-accent"})," Trending In Cyber"]})]})}),e.jsx("a",{href:"https://campaigns.coderedpro.com/ctf-lab-bundles?utm_source=coderedpro&utm_medium=banner&utm_campaign=labs-ctfs-package",target:"_blank",rel:"noopener noreferrer",className:"block",children:e.jsxs("section",{className:"border-b border-border relative overflow-hidden cursor-pointer",children:[e.jsxs("div",{className:"absolute inset-0 pointer-events-none",children:[o?e.jsx("video",{src:o,poster:d,autoPlay:!0,loop:!0,muted:!0,playsInline:!0,className:"w-full h-full object-cover scale-90 md:scale-100 [object-position:68%_center] md:object-center",width:1920,height:1080}):e.jsx("img",{src:d,alt:"",className:"w-full h-full object-cover scale-90 md:scale-100 [object-position:68%_center] md:object-center",width:1920,height:1080}),e.jsx("div",{className:"absolute inset-0",style:{background:"linear-gradient(90deg, hsl(0 0% 2% / 0.92) 0%, hsl(0 0% 2% / 0.75) 50%, hsl(0 0% 2% / 0.25) 100%)"}}),e.jsx("div",{className:"absolute inset-0",style:{background:"radial-gradient(ellipse 80% 60% at 50% 50%, transparent 0%, hsl(0 0% 2% / 0.6) 100%)"}}),e.jsx("div",{className:"absolute inset-0 mix-blend-overlay",style:{background:`hsl(${n} / 0.18)`}})]}),e.jsx("div",{className:"absolute inset-0 pointer-events-none opacity-[0.08] mix-blend-overlay",style:{backgroundImage:"repeating-linear-gradient(0deg, rgba(255,255,255,0.6) 0px, rgba(255,255,255,0.6) 1px, transparent 1px, transparent 3px)"}}),e.jsx(s.div,{className:"absolute -top-32 -right-32 w-[500px] h-[500px] rounded-full blur-[120px] pointer-events-none",style:{background:"hsl(var(--primary) / 0.2)"},animate:{scale:[1,1.15,1],opacity:[.6,1,.6]},transition:{duration:6,repeat:a?0:1/0}}),e.jsx(s.div,{className:"absolute -bottom-32 -left-32 w-[400px] h-[400px] rounded-full blur-[120px] pointer-events-none",style:{background:`hsl(${n} / 0.18)`},animate:{scale:[1.15,1,1.15],opacity:[.5,.9,.5]},transition:{duration:5,repeat:a?0:1/0}}),e.jsx(s.div,{initial:{x:"-100%",y:"-100%"},animate:{x:["-100%","-100%","0%","0%","-100%","-100%"],y:["-100%","-100%","0%","0%","-100%","-100%"]},transition:{duration:10,times:[0,.05,.18,.55,.72,1],ease:"easeInOut",repeat:a?0:1/0},className:"absolute inset-0 z-30 pointer-events-none overflow-hidden",style:{background:"linear-gradient(135deg, hsl(0 70% 12%) 0%, hsl(0 80% 28%) 60%, hsl(0 90% 35%) 100%)",boxShadow:`inset 0 0 120px hsl(${n}
6 / 0.55)`,clipPath:"polygon(0 0, 100% 0, 0 100%)"}}),e.jsx(s.div,{initial:{x:"100%",y:"100%"},animate:{x:["100%","100%","0%","0%","100%","100%"],y:["100%","100%","0%","0%","100%","100%"]},transition:{duration:10,times:[0,.05,.18,.55,.72,1],ease:"easeInOut",repeat:a?0:1/0},className:"absolute inset-0 z-30 pointer-events-none overflow-hidden",style:{background:"linear-gradient(135deg, hsl(0 90% 35%) 0%, hsl(0 80% 28%) 40%, hsl(0 70% 12%) 100%)",boxShadow:`inset 0 0 120px hsl(${n} / 0.55)`,clipPath:"polygon(100% 0, 100% 100%, 0 100%)"}}),e.jsx(s.div,{className:"absolute inset-0 z-30 pointer-events-none",style:{background:"hsl(0 0% 100%)"},animate:{opacity:[0,0,.95,0,0,0]},transition:{duration:10,times:[0,.16,.19,.26,.7,1],ease:"easeOut",repeat:a?0:1/0}}),e.jsx(s.div,{className:"absolute inset-0 z-30 pointer-events-none flex items-center justify-center px-6 text-center",animate:{scale:[1.4,1.4,1,1.04,1,1,.96,.96],opacity:[0,0,1,1,1,1,0,0]},transition:{duration:10,times:[0,.18,.24,.28,.34,.5,.6,1],ease:"easeOut",repeat:a?0:1/0},children:e.jsxs("div",{children:[e.jsx("div",{className:"font-mono text-[10px] md:text-xs tracking-[0.4em] uppercase mb-2",style:{color:`hsl(${i})`},children:"Brace yourself"}),e.jsxs("div",{className:"font-extrabold uppercase leading-[1.05] text-2xl sm:text-4xl md:text-5xl lg:text-6xl text-white",style:{textShadow:`0 0 24px hsl(${n} / 0.9), 0 4px 20px hsl(0 0% 0% / 0.8)`},children:["Something you've ",e.jsx("span",{style:{color:`hsl(${i})`,textShadow:`0 0 30px hsl(${n})`},children:"never seen"})," before"]})]})}),e.jsxs("div",{className:"max-w-6xl mx-auto px-6 pt-8 pb-16 md:pt-16 md:pb-28 relative",children:[e.jsx("div",{"aria-hidden":"true",className:"h-8 md:h-10 mb-10 md:mb-12"}),e.jsx(s.div,{initial:{opacity:0}
6,animate:{opacity:1},transition:{duration:.5},className:"font-mono text-xs md:text-sm text-primary/90 mb-7 md:mb-8 flex items-center gap-2",children:e.jsxs("span",{children:["Every CTF + Lab + Course bundle at just"," ",e.jsxs("span",{className:"font-bold inline-block",style:{color:`hsl(${A})`},children:["$",p]})]})}),e.jsxs(s.h1,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.6},className:"ctf-headline text-[20px] sm:text-3xl md:text-5xl lg:text-[58px] font-extrabold leading-[1.25] md:leading-[1.3] mb-10 md:mb-12 uppercase",children:[e.jsx("span",{className:"ctf-headline-line",children:e.jsx("span",{className:"ctf-text",children:"Capture the flag"})}),e.jsx("span",{className:"ctf-headline-line",children:e.jsx("span",{className:"ctf-text",children:"Break the labs"})}),e.jsxs("span",{className:"ctf-headline-line",children:[e.jsx("span",{className:"ctf-text",children:"Level up for real"}),e.jsx("span",{className:"ctf-cursor","aria-hidden":"true"})]})]}),e.jsx("div",{className:"grid grid-cols-2 md:grid-cols-4 gap-3 mb-10 md:mb-12 max-w-2xl",children:[{v:`${P}`,l:"CTF Packs",icon:g},{v:`${z}+`,l:"Challenges",icon:v},{v:`${O}+`,l:"Practice Labs",icon:y},{v:`$${p}`,l:"Per Bundle",icon:m}].map((t,x)=>e.jsxs(s.div,{initial:{opacity:0,y:12},animate:{opacity:1,y:0},transition:{delay:.2+x*.08},whileHover:{y:-3,scale:1.02},className:"bg-card/60 backdrop-blur p-3 transition-all relative",style:{border:"1px solid hsl(0 0% 100% / 0.1)"},onMouseEnter:r=>{r.currentTarget.style.borderColor="hsl(45 95% 65%)",r.currentTarget.style.boxShadow="0 0 20px hsl(45 90% 55% / 0.5)"},onMouseLeave:r=>{r.currentTarget.style.borderColor="hsl(0 0% 100% / 0.1)",r.currentTarget.style.boxShadow=""},children:[e.jsx(t.icon,{className:"w-4 h-4 absolute top-2 right-2",style:{color:"hsl(45 90% 55%)"}}),e.jsx("div",{className:"text-2xl font-bold leading-none mt-1",children:t.v}),e.jsx("div",{className:"text-[10px] tracking-widest text-muted-foreground mt-1",children:t.l})]},t.l))}),e.jsxs("div",{className:"flex relative",children:[e.jsxs(s.div,{className:"relative",animate:{scale:[1,1,1,1.05,1,1.05,1,1]},transition:{duration:22,times:[0,.42,.5,.54,.6,.64,.72,1],ease:"easeOut",repeat:a?0:1/0},children:[e.jsxs(H,{size:"lg",type:"button",className:"pointer-events-none",children:[e.jsx(m,{className:"w-4 h-4"})," Claim Your Bundle ",e.jsx(j,{className:"w-4 h-4"})]}),e.jsx(s.span,{"aria-hidden":"true",className:"absolute inset-0 rounded-md pointer-events-none",style:{border:`2px solid hsl(${i})`},animate:{opacity:[0,0,0,.8,0,.8,0,0],scale:[1,1,1,1.25,1.5,1.25,1.5,1.5]},transition:{duration:22,times:[0,.42,.52,.54,.62,.64,.74,1],ease:"easeOut",repeat:a?0:1/0}})]}),e.jsx(s.div,{"aria-hidden":"true",className:"absolute z-40 pointer-events-none",style:{left:0,top:0,color:`hsl(${i})`,filter:`drop-shadow(0 0 8px hsl(${n} / 0.9)) drop-shadow(0 4px 10px hsl(0 0% 0% / 0.7))`},animate:{opacity:[0,0,1,1,1,1,1,0],x:[40,40,200,170,175,170,175,220],y:[80,80,60,30,36,30,36,70],rotate:[-10,-10,-8,-2,-6,-2,-6,-10],scale:[.9,.9,1,.85,1,.85,1,.9]},transition:{duration:22,times:[0,.42,.5,.54,.6,.64,.72,.76],ease:"easeOut",repeat:a?0:1/0},children:e.jsx(N,{className:"w-9 h-9",strokeWidth:2.2})})]})]})]})})]})};export{ee 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.