1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,36036,e=>{"use strict";let t,s;var a=e.i(43476),n=e.i(46932),r=e.i(71329),i=e.i(47414),l=e.i(71645);e.i(5369);var o=e.i(65566);e.i(61200);var c=e.i(30551),d=e.i(60830),x=e.i(28327);function m(e,t){let s,a=()=>{let{currentTime:a}=t,n=(null===a?0:a.value)/100;s!==n&&e(n),s=n};return x.frame.update(a,!0),()=>(0,x.cancelFrame)(a)}var h=e.i(49652);let p=new WeakMap;function u({target:e,contentRect:t,borderBoxSize:s}){var a;null==(a=p.get(e))||a.forEach(a=>{a({target:e,contentSize:t,get size(){return function(e,t){if(t){let{inlineSize:e,blockSize:s}=t[0];return{width:e,height:s}}return e instanceof SVGElement&&"getBBox"in e?e.getBBox():{width:e.offsetWidth,height:e.offsetHeight}}(e,s)}})})}function g(e){e.forEach(u)}let f=new Set;var j=e.i(83920),v=e.i(68935);let b=()=>({current:0,offset:[],progress:0,scrollLength:0,targetOffset:0,targetLength:0,containerLength:0,velocity:0}),N={x:{length:"Width",position:"Left"},y:{length:"Height",position:"Top"}};function y(e,t,s,a){let n=s[t],{length:r,position:i}=N[t],l=n.current,o=s.time;n.current=e[`scroll${i}`],n.scrollLength=e[`scroll${r}`]-e[`client${r}`],n.offset.length=0,n.offset[0]=0,n.offset[1]=n.scrollLength,n.progress=(0,j.progress)(0,n.scrollLength,n.current);let c=a-o;n.velocity=c>50?0:(0,v.velocityPerSecond)(n.current-l,c)}e.i(47167);var w=e.i(74780),k=e.i(25711),C=e.i(30040);let M={start:0,center:.5,end:1};function S(e,t,s=0){let a=0;if(e in M&&(e=M[e]),"string"==typeof e){let t=parseFloat(e);e.endsWith("px")?a=t:e.endsWith("%")?e=t/100:e.endsWith("vw")?a=t/100*document.documentElement.clientWidth:e.endsWith("vh")?a=t/100*document.documentElement.clientHeight:e=t}return"number"==typeof e&&(a=t*e),s+a}let A=[0,0],P=[[0,0],[1,1]],T={x:0,y:0},B=new WeakMap,W=new WeakMap,z=new WeakMap,E=e=>e===document.documentElement?window:e;function L(e,{container:a=document.documentElement,...n}={}){let r=z.get(a);r||(r=new Set,z.set(a,r));let i=function(e,t,s,a={}){return{measure:()=>(function(e,t=e,s){if(s.x.targetOffset=0,s.y.targetOffset=0,t!==e){let a=t;for(;a&&a!==e;)s.x.targetOffset+=a.offsetLeft,s.y.targetOffset+=a.offsetTop,a=a.offsetParent}s.x.targetLength=t===e?t.scrollWidth:t.clientWidth,s.y.targetLength=t===e?t.scrollHeight:t.clientHeight,s.x.containerLength=e.clientWidth,s.y.containerLength=e.clientHeight})(e,a.target,s),update:t=>{y(e,"x",s,t),y(e,"y",s,t),s.time=t,(a.offset||a.target)&&function(e,t,s){let{offset:a=P}=s,{target:n=e,axis:r="y"}=s,i="y"===r?"height":"width",l=n!==e?function(e,t){let s={x:0,y:0},a=e;for(;a&&a!==t;)if(a instanceof HTMLElement)s.x+=a.offsetLeft,s.y+=a.offsetTop,a=a.offsetParent;else if("svg"===a.tagName){let e=a.getBoundingClientRect(),t=(a=a.parentElement).getBoundingClientRect();s.x+=e.left-t.left,s.y+=e.top-t.top}else if(a instanceof SVGGraphicsElement){let{x:e,y:t}=a.getBBox();s.x+=e,s.y+=t;let n=null,r=a.parentNode;for(;!n;)"svg"===r.tagName&&(n=r),r=a.parentNode;a=n}else break;return s}(n,e):T,o=n===e?{width:e.scrollWidth,height:e.scrollHeight}:"getBBox"in n&&"svg"!==n.tagName?n.getBBox():{width:n.clientWidth,height:n.clientHeight},c={width:e.clientWidth,height:e.clientHeight};t[r].offset.length=0;let d=!t[r].interpolate,x=a.length;for(let e=0;e<x;e++){let s=function(e,t,s,a){let n=Array.isArray(e)?e:A,r=0;return"number"==typeof e?n=[e,e]:"string"==typeof e&&(n=(e=e.trim()).includes(" ")?e.split(" "):[e,M[e]?e:"0"]),(r=S(n[0],s,a))-S(n[1],t)}(a[e],c[i],o[i],l[r]);d||s===t[r].interpolatorOffsets[e]||(d=!0),t[r].offset[e]=s}d&&(t[r].interpolate=(0,k.interpolate)(t[r].offset,(0,C.defaultOffset)(a),{clamp:!1}),t[r].interpolatorOffsets=[...t[r].offset]),t[r].progress=(0,w.clamp)(0,1,t[r].interpolate(t[r].current))}(e,s,a)},notify:()=>t(s)}}(a,e,{time:0,x:b(),y:b()},n);if(r.add(i),!B.has(a)){let e,n=()=>{for(let e of r)e.measure()},i=()=>{for(let e of r)e.update(x.frameData.timestamp)},l=()=>{for(let e of r)e.notify()},o=()=>{x.frame.read(n,!1,!0),x.frame.read(i,!1,!0),x.frame.update(l,!1,!0)};B.set(a,o);let c=E(a);window.addEventListener("resize",o,{passive:!0}),a!==document.documentElement&&W.set(a,"function"==typeof a?(f.add(a),s||(s=()=>{let e={width:window.innerWidth,height:window.innerHeight},t={target:window,size:e,contentSize:e};
1f.forEach(e=>e(t))},window.addEventListener("resize",s)),()=>{f.delete(a),!f.size&&s&&(s=void 0)}):(t||"undefined"!=typeof ResizeObserver&&(t=new ResizeObserver(g)),(e=(0,h.resolveElements)(a)).forEach(e=>{let s=p.get(e);s||(s=new Set,p.set(e,s)),s.add(o),null==t||t.observe(e)}),()=>{e.forEach(e=>{let s=p.get(e);null==s||s.delete(o),(null==s?void 0:s.size)||null==t||t.unobserve(e)})})),c.addEventListener("scroll",o,{passive:!0})}let l=B.get(a);return x.frame.read(l,!1,!0),()=>{var e;(0,x.cancelFrame)(l);let t=z.get(a);if(!t||(t.delete(i),t.size))return;let s=B.get(a);B.delete(a),s&&(E(a).removeEventListener("scroll",s),null==(e=W.get(a))||e(),window.removeEventListener("resize",s))}}let I=new Map;function F({source:e,container:t=document.documentElement,axis:s="y"}={}){e&&(t=e),I.has(t)||I.set(t,{});let a=I.get(t);return a[s]||(a[s]=(0,c.supportsScrollTimeline)()?new ScrollTimeline({source:t,axis:s}):function({source:e,container:t,axis:s="y"}){e&&(t=e);let a={value:0},n=L(e=>{a.value=100*e[s].progress},{container:t,axis:s});return{currentTime:a,cancel:n}}({source:t,axis:s})),a[s]}function D(e){return e&&(e.target||e.offset)}var O=e.i(74008);function R(e,t){(0,o.warning)(!!(!t||t.current),`You have defined a ${e} options but the provided ref is not yet hydrated, probably because it's defined higher up the tree. Try calling useScroll() in the same component as the ref, or setting its \`layoutEffect: false\` option.`)}let q=()=>({scrollX:(0,r.motionValue)(0),scrollY:(0,r.motionValue)(0),scrollXProgress:(0,r.motionValue)(0),scrollYProgress:(0,r.motionValue)(0)});var H=e.i(37806);function _(e,t){let s=function(e){let t=(0,i.useConstant)(()=>(0,r.motionValue)(e)),{isStatic:s}=(0,l.useContext)(H.MotionConfigContext);if(s){let[,s]=(0,l.useState)(e);(0,l.useEffect)(()=>t.on("change",s),[])}return t}(t()),a=()=>s.set(t());return a(),(0,O.useIsomorphicLayoutEffect)(()=>{let t=()=>x.frame.preRender(a,!1,!0),s=e.map(e=>e.on("change",t));return()=>{s.forEach(e=>e()),(0,x.cancelFrame)(a)}}),s}function V(e,t,s,a){if("function"==typeof e){let t;return r.collectMotionValues.current=[],e(),t=_(r.collectMotionValues.current,e),r.collectMotionValues.current=void 0,t}let n="function"==typeof t?t:function(...e){var t;let s,a=!Array.isArray(e[0]),n=a?0:-1,r=e[0+n],i=e[1+n],l=e[2+n],o=e[3+n],c=(0,k.interpolate)(i,l,{mixer:(s=t=l[0])&&"object"==typeof s&&s.mix?t.mix:void 0,...o});return a?c(r):c}(t,s,a);return Array.isArray(e)?J(e,n):J([e],([e])=>n(e))}function J(e,t){let s=(0,i.useConstant)(()=>[]);return _(e,()=>{s.length=0;let a=e.length;for(let t=0;t<a;t++)s[t]=e[t].get();return t(s)})}var U=e.i(22016),Y=e.i(57688),G=e.i(97625),$=e.i(61911),X=e.i(64030),Q=e.i(20278),K=e.i(83086),Z=e.i(63059),ee=e.i(75254);let et=(0,ee.default)("ArrowRight",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);var es=e.i(31343);let ea=(0,ee.default)("Github",[["path",{d:"M15 22v-4a4.8 4.8 0 0 0-1-3.5c3 0 6-2 6-5.5.08-1.25-.27-2.48-1-3.5.28-1.15.28-2.35 0-3.5 0 0-1 0-3 1.5-2.64-.5-5.36-.5-8 0C6 2 5 2 5 2c-.3 1.15-.3 2.35 0 3.5A5.403 5.403 0 0 0 4 9c0 3.5 3 5.5 6 5.5-.39.49-.68 1.05-.85 1.65-.17.6-.22 1.23-.15 1.85v4",key:"tonef"}],["path",{d:"M9 18c-4.51 2-5-2-7-2",key:"9comsn"}]]),en=(0,ee.default)("Twitter",[["path",{d:"M22 4s-.7 2.1-2 3.4c1.6 10-9.4 17.3-18 11.6 2.2.1 4.4-.6 6-2C3 15.5.5 9.6 3 5c2.2 2.6 5.6 4.1 9 4-.9-4.2 4-6.6 7-3.8 1.1 0 3-1.2 3-1.2z",key:"pff0z6"}]]),er=(0,ee.default)("MessageCircle",[["path",{d:"M7.9 20A9 9 0 1 0 4 16.1L2 22Z",key:"vv11sd"}]]);var ei=e.i(46897),el=e.i(87316),eo=e.i(36121),ec=e.i(10980);let ed=(0,ee.default)("ExternalLink",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]]),ex=(0,ee.default)("Handshake",[["path",{d:"m11 17 2 2a1 1 0 1 0 3-3",key:"efffak"}],["path",{d:"m14 14 2.5 2.5a1 1 0 1 0 3-3l-3.88-3.88a3 3 0 0 0-4.24 0l-.88.88a1 1 0 1 1-3-3l2.81-2.81a5.79 5.79 0 0 1 7.06-.87l.47.28a2 2 0 0 0 1.42.25L21 4",key:"9pr0kb"}],["path",{d:"m21 3 1 11h-2",key:"1tisrp"}],["path",{d:"M3 3 2 14l6.5 6.5a1 1 0 1 0 3-3",key:"1uvwmv"}],["path",{d:"M3 4h8",key:"1ep09j"}]]),em=(0,ee.default)("Mail",[["rect",{width:"20",height:"16",x:"2",y:"4",rx:"2",key:"18n3k1"}],["path",{d:"m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7",key:"1ocrg3"}]]);var eh=e.i(53223),ep=e.i(88653);let eu=(0,ee.default)("Menu",[["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}],["line",{x1:"4",x2:"20",y1:"6",y2:"6",key:"1owob3"}],["line",{x1:"4",x2:"20",y1:"18",y2:"18",key:"yk5zj1"}]]);var eg=e.i(37727);
1let ef=(0,ee.default)("LayoutDashboard",[["rect",{width:"7",height:"9",x:"3",y:"3",rx:"1",key:"10lvy0"}],["rect",{width:"7",height:"5",x:"14",y:"3",rx:"1",key:"16une8"}],["rect",{width:"7",height:"9",x:"14",y:"12",rx:"1",key:"1hutg5"}],["rect",{width:"7",height:"5",x:"3",y:"16",rx:"1",key:"ldoo1y"}]]);var ej=e.i(29668);let ev=[{href:"#about",label:"About"},{href:"#how-it-works",label:"How it Works"},{href:"#tournament",label:"Tournament"},{href:"/docs",label:"Docs"},{href:"#resources",label:"Resources"},{href:"#faq",label:"FAQ"}];function eb(){let[e,t]=(0,l.useState)(!1),[s,r]=(0,l.useState)(!1),{data:i}=ej.authClient.useSession(),o=!!i?.user;return(0,l.useEffect)(()=>{let e=()=>{t(window.scrollY>20)};return window.addEventListener("scroll",e,{passive:!0}),()=>window.removeEventListener("scroll",e)},[]),(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(n.motion.header,{initial:{y:-100,opacity:0},animate:{y:0,opacity:1},transition:{duration:.6,ease:"easeOut"},className:`fixed z-50 w-[95%] max-w-5xl transition-all duration-300 inset-x-0 mx-auto ${e?"top-3":"top-6"}`,children:(0,a.jsxs)("nav",{className:`relative flex items-center justify-between px-4 py-3 rounded-2xl transition-all duration-300 ${e?"glass shadow-lg shadow-black/20":"bg-transparent"}`,children:[(0,a.jsxs)(U.default,{href:"/",className:"flex items-center gap-2.5 group",children:[(0,a.jsxs)("div",{className:"relative",children:[(0,a.jsx)(Y.default,{src:"/blockwarriors-logo.png",alt:"BlockWarriors",width:36,height:36,className:"rounded-lg group-hover:scale-105 transition-transform duration-300"}),(0,a.jsx)("div",{className:"absolute -inset-1 bg-princeton-orange/20 rounded-xl blur-lg opacity-0 group-hover:opacity-100 transition-opacity duration-300"})]}),(0,a.jsxs)("span",{className:"font-bold text-lg text-white tracking-tight",children:["Block",(0,a.jsx)("span",{className:"text-princeton-orange",children:"Warriors"})]})]}),(0,a.jsx)("div",{className:"hidden md:flex items-center gap-1",children:ev.map(e=>(0,a.jsxs)(U.default,{href:e.href,className:"px-4 py-2 text-sm text-muted-foreground hover:text-white transition-colors duration-200 relative group",children:[e.label,(0,a.jsx)("span",{className:"absolute bottom-1.5 left-4 right-4 h-px bg-princeton-orange scale-x-0 group-hover:scale-x-100 transition-transform duration-300 origin-left"})]},e.href))}),(0,a.jsx)("div",{className:"hidden md:flex items-center gap-3",children:(0,a.jsx)(eh.Button,{asChild:!0,className:"bg-gradient-to-r from-princeton-orange to-princeton-orange-light text-black font-semibold px-5 py-2 rounded-xl hover:opacity-90 transition-opacity group",children:o?(0,a.jsxs)(U.default,{href:"/dashboard",className:"flex items-center gap-1.5",children:[(0,a.jsx)(ef,{className:"w-4 h-4"}),"Dashboard"]}):(0,a.jsxs)(U.default,{href:"/login",className:"flex items-center gap-1.5",children:["Sign In",(0,a.jsx)(Z.ChevronRight,{className:"w-4 h-4 group-hover:translate-x-0.5 transition-transform"})]})})}),(0,a.jsx)("button",{onClick:()=>r(!s),className:"md:hidden p-2 text-white hover:text-princeton-orange transition-colors","aria-label":"Toggle menu",children:s?(0,a.jsx)(eg.X,{className:"w-6 h-6"}):(0,a.jsx)(eu,{className:"w-6 h-6"})})]})}),(0,a.jsx)(ep.AnimatePresence,{children:s&&(0,a.jsxs)(n.motion.div,{initial:{opacity:0,y:-20},animate:{opacity:1,y:0},exit:{opacity:0,y:-20},transition:{duration:.2},className:"fixed inset-0 z-40 pt-24 px-4 md:hidden",children:[(0,a.jsx)("div",{className:"absolute inset-0 bg-black/80 backdrop-blur-sm",onClick:()=>r(!1)}),(0,a.jsxs)(n.motion.nav,{initial:{opacity:0,scale:.95},animate:{opacity:1,scale:1},exit:{opacity:0,scale:.95},transition:{duration:.2,delay:.1},className:"relative glass rounded-2xl p-6 space-y-4",children:[ev.map((e,t)=>(0,a.jsx)(n.motion.div,{initial:{opacity:0,x:-20},animate:{opacity:1,x:0},transition:{duration:.3,delay:.1*t},children:(0,a.jsx)(U.default,{href:e.href,onClick:()=>r(!1),className:"block py-3 text-lg text-white hover:text-princeton-orange transition-colors border-b border-white/10",children:e.label})},e.href)),(0,a.jsx)(n.motion.div,{initial:{opacity:0,y:20}
1,animate:{opacity:1,y:0},transition:{duration:.3,delay:.4},className:"pt-4",children:(0,a.jsx)(eh.Button,{asChild:!0,className:"w-full bg-gradient-to-r from-princeton-orange to-princeton-orange-light text-black font-semibold py-3 rounded-xl",children:o?(0,a.jsxs)(U.default,{href:"/dashboard",onClick:()=>r(!1),className:"flex items-center justify-center gap-2",children:[(0,a.jsx)(ef,{className:"w-4 h-4"}),"Dashboard"]}):(0,a.jsx)(U.default,{href:"/login",onClick:()=>r(!1),children:"Sign In"})})})]})]})})]})}var eN=e.i(31278),ey=e.i(69638);e.i(50711);var ew=e.i(82045);e.i(50276);var ek=e.i(83164);let eC=["2025","2026","2027","2028","2029","Graduate","Other"],eM=["Undergraduate","Masters","PhD","Postdoc","Faculty/Staff","Other"];function eS({isOpen:e,onClose:t}){let[s,r]=(0,l.useState)({name:"",email:"",class_year:"",degree_type:""}),[i,o]=(0,l.useState)("idle"),[c,d]=(0,l.useState)(""),x=(0,ew.useMutation)(ek.api.waitlist.joinWaitlist),m=async e=>{e.preventDefault(),o("loading");try{let e=await x({name:s.name,email:s.email,class_year:s.class_year,degree_type:s.degree_type});e.success?o("success"):o("error"),d(e.message)}catch{o("error"),d("Something went wrong. Please try again.")}},h=()=>{t(),setTimeout(()=>{r({name:"",email:"",class_year:"",degree_type:""}),o("idle"),d("")},300)};return(0,a.jsx)(ep.AnimatePresence,{children:e&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(n.motion.div,{initial:{opacity:0}
1,animate:{opacity:1},exit:{opacity:0},onClick:h,className:"fixed inset-0 bg-black/70 backdrop-blur-sm z-50"}),(0,a.jsx)(n.motion.div,{initial:{opacity:0,scale:.95},animate:{opacity:1,scale:1},exit:{opacity:0,scale:.95},transition:{duration:.2},className:"fixed inset-0 z-50 flex items-center justify-center p-4 pointer-events-none",children:(0,a.jsxs)("div",{className:"relative w-full max-w-md bg-card border border-white/10 rounded-2xl p-6 shadow-2xl pointer-events-auto",children:[(0,a.jsx)("button",{onClick:h,className:"absolute top-4 right-4 p-2 text-muted-foreground hover:text-white transition-colors",children:(0,a.jsx)(eg.X,{className:"w-5 h-5"})}),"success"===i?(0,a.jsxs)(n.motion.div,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},className:"text-center py-8",children:[(0,a.jsx)("div",{className:"w-16 h-16 mx-auto mb-4 rounded-full bg-minecraft-grass/20 flex items-center justify-center",children:(0,a.jsx)(ey.CheckCircle,{className:"w-8 h-8 text-minecraft-grass"})}),(0,a.jsx)("h3",{className:"text-2xl font-bold text-white mb-2",children:"You're on the list!"}),(0,a.jsx)("p",{className:"text-muted-foreground mb-6",children:c}),(0,a.jsx)(eh.Button,{onClick:h,className:"bg-gradient-to-r from-princeton-orange to-princeton-orange-light text-black font-semibold",children:"Close"})]}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{className:"mb-6",children:[(0,a.jsx)("h2",{className:"text-2xl font-bold text-white mb-2",children:"Join the Waitlist"}),(0,a.jsx)("p",{className:"text-muted-foreground text-sm",children:"Be the first to know when registration opens for BlockWarriors Spring 2026."})]}),(0,a.jsxs)("form",{onSubmit:m,className:"space-y-4",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("label",{htmlFor:"name",className:"block text-sm font-medium text-white mb-1.5",children:"Full Name"}),(0,a.jsx)("input",{type:"text",id:"name",required:!0,value:s.name,onChange:e=>r({...s,name:e.target.value}),className:"w-full px-4 py-2.5 bg-background border border-white/10 rounded-xl text-white placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-princeton-orange/50 focus:border-princeton-orange transition-all",placeholder:"John Doe"})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("label",{htmlFor:"email",className:"block text-sm font-medium text-white mb-1.5",children:"Email"}),(0,a.jsx)("input",{type:"email",id:"email",required:!0,value:s.email,onChange:e=>r({...s,email:e.target.value}),className:"w-full px-4 py-2.5 bg-background border border-white/10 rounded-xl text-white placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-princeton-orange/50 focus:border-princeton-orange transition-all",placeholder:"[email protected]"})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("label",{htmlFor:"class_year",className:"block text-sm font-medium text-white mb-1.5",children:"Class Year"}),(0,a.jsxs)("select",{id:"class_year",required:!0,value:s.class_year,onChange:e=>r({...s,class_year:e.target.value}),className:"w-full px-4 py-2.5 bg-background border border-white/10 rounded-xl text-white focus:outline-none focus:ring-2 focus:ring-princeton-orange/50 focus:border-princeton-orange transition-all appearance-none cursor-pointer",children:[(0,a.jsx)("option",{value:"",disabled:!0,children:"Select your class year"}),eC.map(e=>(0,a.jsx)("option",{value:e,children:e},e))]})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("label",{htmlFor:"degree_type",className:"block text-sm font-medium text-white mb-1.5",children:"Degree Type"}),(0,a.jsxs)("select",{id:"degree_type",required:!0,value:s.degree_type,onChange:e=>r({...s,degree_type:e.target.value}),className:"w-full px-4 py-2.5 bg-background border border-white/10 rounded-xl text-white focus:outline-none focus:ring-2 focus:ring-princeton-orange/50 focus:border-princeton-orange transition-all appearance-none cursor-pointer",children:[(0,a.jsx)("option",{value:"",disabled:!0,children:"Select your degree type"}),eM.map(e=>(0,a.jsx)("option",{value:e,children:e},e))]})]}),"error"===i&&(0,a.jsx)("p",{className:"text-red-400 text-sm",children:c}),(0,a.jsx)(eh.Button,{type:"submit",disabled:"loading"===i,className:"w-full bg-gradient-to-r from-princeton-orange to-princeton-orange-light text-black font-semibold py-3 rounded-xl hover:opacity-90 transition-opacity disabled:opacity-50",children:"loading"===i?(0,a.jsx)(eN.Loader2,{className:"w-5 h-5 animate-spin"}):(0,a.jsxs)(a.Fragment,{children:["Join Waitlist",(0,a.jsx)(Z.ChevronRight,{className:"w-4 h-4 ml-1"})]})})]})]})]})})]})})}let eA={hidden:{opacity:0,y:30},visible:{opacity:1,y:0,transition:{duration:.6,ease:"easeOut"}}},eP={hidden:{opacity:0}
1,visible:{opacity:1,transition:{staggerChildren:.15,delayChildren:.1}}},eT={hidden:{opacity:0,scale:.9},visible:{opacity:1,scale:1,transition:{duration:.5,ease:"easeOut"}}};function eB(){let e=(0,l.useRef)(null),[t,s]=(0,l.useState)(!1),{scrollYProgress:r}=function({container:e,target:t,layoutEffect:s=!0,...a}={}){let n=(0,i.useConstant)(q);return(s?O.useIsomorphicLayoutEffect:l.useEffect)(()=>(R("target",t),R("container",e),function(e,{axis:t="y",...s}={}){var a,n;let r={axis:t,...s};return"function"==typeof e?(a=e,n=r,2===a.length||D(n)?L(e=>{a(e[n.axis].progress,e)},n):m(a,F(n))):function(e,t){if(e.flatten(),D(t))return e.pause(),L(s=>{e.time=e.duration*s[t.axis].progress},t);{let s=F(t);return e.attachTimeline?e.attachTimeline(s,e=>(e.pause(),m(t=>{e.time=e.duration*t},s))):d.noop}}(e,r)}((e,{x:t,y:s})=>{n.scrollX.set(t.current),n.scrollXProgress.set(t.progress),n.scrollY.set(s.current),n.scrollYProgress.set(s.progress)},{...a,container:(null==e?void 0:e.current)||void 0,target:(null==t?void 0:t.current)||void 0})),[e,t,JSON.stringify(a.offset)]),n}({target:e,offset:["start start","end start"]}),o=V(r,[0,.5],[1,0]),c=V(r,[0,.5],[1,.95]);return(0,a.jsxs)("div",{className:"min-h-screen bg-[#0A0A0A] overflow-x-hidden",children:[(0,a.jsx)(eb,{}),(0,a.jsx)(eS,{isOpen:t,onClose:()=>s(!1)}),(0,a.jsxs)("section",{ref:e,className:"relative min-h-screen flex flex-col items-center justify-center pt-20 pb-20 overflow-hidden",children:[(0,a.jsxs)("div",{className:"absolute inset-0 z-0",children:[(0,a.jsx)(Y.default,{src:"/blockwarriors-ai-background.webp",alt:"",fill:!0,className:"object-cover object-center opacity-30",priority:!0}),(0,a.jsx)("div",{className:"absolute inset-0 bg-gradient-to-b from-[#0A0A0A]/70 via-transparent to-[#0A0A0A]/90"})]}),(0,a.jsx)("div",{className:"absolute inset-0 bg-grid opacity-30 z-[1]"}),(0,a.jsx)("div",{className:"absolute inset-0 bg-gradient-to-b from-princeton-orange/5 via-transparent to-transparent z-[1]"}),(0,a.jsx)("div",{className:"absolute top-1/4 -left-32 w-96 h-96 bg-princeton-orange/20 rounded-full blur-[120px] animate-float z-[1]"}),(0,a.jsx)("div",{className:"absolute bottom-1/4 -right-32 w-96 h-96 bg-minecraft-grass/15 rounded-full blur-[120px] animate-float z-[1]",style:{animationDelay:"-3s"}}),(0,a.jsx)(n.motion.div,{initial:{opacity:0}
1,animate:{opacity:1},transition:{duration:1,delay:.5},className:"absolute inset-0 pointer-events-none z-[1]",children:[...Array(6)].map((e,t)=>(0,a.jsx)(n.motion.div,{className:"absolute w-4 h-4 bg-princeton-orange/30 rounded-sm",style:{left:`${15+15*t}%`,top:`${20+t%3*25}%`},animate:{y:[0,-20,0],opacity:[.3,.6,.3],rotate:[0,90,0]},transition:{duration:4+t,repeat:1/0,delay:.5*t}},t))}),(0,a.jsx)(n.motion.div,{style:{opacity:o,scale:c},className:"container max-w-6xl mx-auto px-4 relative z-10 flex flex-col items-center",children:(0,a.jsxs)(n.motion.div,{variants:eP,initial:"hidden",animate:"visible",className:"text-center space-y-8",children:[(0,a.jsx)(n.motion.div,{variants:eA,className:"flex justify-center",children:(0,a.jsxs)("button",{onClick:()=>s(!0),className:"inline-flex items-center gap-2 px-4 py-2 rounded-full glass border border-princeton-orange/20 text-sm hover:border-princeton-orange/40 hover:bg-white/5 transition-all cursor-pointer group",children:[(0,a.jsx)("span",{className:"w-2 h-2 bg-minecraft-grass rounded-full animate-pulse"}),(0,a.jsx)("span",{className:"text-muted-foreground group-hover:text-white transition-colors",children:"Join the Spring 2026 Waitlist"}),(0,a.jsx)(Z.ChevronRight,{className:"w-4 h-4 text-princeton-orange group-hover:translate-x-0.5 transition-transform"})]})}),(0,a.jsxs)(n.motion.h1,{variants:eA,className:"text-5xl sm:text-6xl md:text-7xl lg:text-8xl font-bold tracking-tight",children:[(0,a.jsx)("span",{className:"text-gradient-orange",children:"BlockWarriors"}),(0,a.jsx)("br",{}),(0,a.jsx)("span",{className:"text-white text-4xl sm:text-5xl md:text-6xl lg:text-7xl",children:"AI Meets Minecraft"})]}),(0,a.jsx)(n.motion.p,{variants:eA,className:"text-lg sm:text-xl text-muted-foreground max-w-2xl mx-auto leading-relaxed",children:"Build autonomous bots using Mineflayer or your own Minecraft client. Compete in real-time PvP arenas. Finals hosted at Princeton University."}),(0,a.jsxs)(n.motion.div,{variants:eA,className:"flex flex-col sm:flex-row items-center justify-center gap-4 pt-4",children:[(0,a.jsx)(eh.Button,{asChild:!0,size:"lg",className:"bg-gradient-to-r from-princeton-orange to-princeton-orange-light text-black font-semibold px-8 py-6 rounded-xl text-lg hover:opacity-90 transition-all group glow-orange-sm",children:(0,a.jsxs)(U.default,{href:"/login",className:"flex items-center gap-2",children:["Register Your Team",(0,a.jsx)(et,{className:"w-5 h-5 group-hover:translate-x-1 transition-transform"})]})}),(0,a.jsx)(eh.Button,{asChild:!0,variant:"outline",size:"lg",className:"border-white/20 text-white hover:bg-white/5 px-8 py-6 rounded-xl text-lg group",children:(0,a.jsxs)(U.default,{href:"#how-it-works",className:"flex items-center gap-2",children:[(0,a.jsx)(es.Play,{className:"w-5 h-5"}),"See How It Works"]})})]}),(0,a.jsx)(n.motion.div,{variants:eA,className:"flex flex-wrap items-center justify-center gap-8 pt-12",children:[{value:"16",label:"Teams in Finals"},{value:"TBD",label:"Prizes"},{value:"March",label:"Finals Date"}].map((e,t)=>(0,a.jsxs)("div",{className:"text-center",children:[(0,a.jsx)("div",{className:"text-3xl sm:text-4xl font-bold text-white",children:e.value}),(0,a.jsx)("div",{className:"text-sm text-muted-foreground mt-1",children:e.label})]},t))})]})}),(0,a.jsx)(n.motion.div,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},transition:{duration:.6,delay:1.5},className:"absolute bottom-8 left-1/2 -translate-x-1/2 z-10",children:(0,a.jsx)(n.motion.div,{animate:{y:[0,8,0]},transition:{duration:2,repeat:1/0},className:"w-6 h-10 rounded-full border-2 border-white/20 flex items-start justify-center p-2",children:(0,a.jsx)(n.motion.div,{animate:{height:["20%","40%","20%"]},transition:{duration:2,repeat:1/0},className:"w-1 bg-princeton-orange rounded-full"})})})]}),(0,a.jsx)("section",{id:"about",className:"py-20 relative",children:(0,a.jsx)("div",{className:"container max-w-7xl mx-auto px-4",children:(0,a.jsxs)(n.motion.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0,margin:"-100px"},variants:eP,className:"space-y-12",children:[(0,a.jsxs)(n.motion.div,{variants:eA,className:"text-center space-y-3",children:[(0,a.jsxs)("div",{className:"inline-flex items-center gap-2 px-3 py-1 rounded-full bg-princeton-orange/10 text-princeton-orange text-sm font-medium",children:[(0,a.jsx)(K.Sparkles,{className:"w-4 h-4"}),"Why BlockWarriors"]}),(0,a.jsx)("h2",{className:"text-4xl sm:text-5xl font-bold text-white",children:"Where Minecraft Meets AI"})]}
1),(0,a.jsxs)("div",{className:"grid lg:grid-cols-5 gap-8 items-start",children:[(0,a.jsx)("div",{id:"how-it-works",className:"lg:col-span-2 space-y-6 scroll-mt-24",children:(0,a.jsx)(n.motion.div,{variants:eP,className:"space-y-4",children:[{step:"01",title:"Form Your Team",desc:"2-4 programmers, all skill levels",icon:$.Users},{step:"02",title:"Build Your Bot",desc:"Mineflayer or custom client",icon:G.Code2},{step:"03",title:"Online Qualifiers",desc:"Top 16 advance to finals",icon:Q.Target},{step:"04",title:"Finals at Princeton",desc:"In-person championship",icon:eo.Swords},{step:"05",title:"Win Prizes",desc:"Cash & gaming hardware",icon:X.Trophy}].map((e,t)=>(0,a.jsxs)(n.motion.div,{variants:eA,className:"group relative flex items-center gap-4 p-4 rounded-xl hover:bg-white/[0.03] transition-colors",children:[(0,a.jsx)("div",{className:"flex-shrink-0 w-12 h-12 rounded-lg bg-gradient-to-br from-princeton-orange/20 to-transparent border border-princeton-orange/20 flex items-center justify-center",children:(0,a.jsx)("span",{className:"text-base font-bold text-princeton-orange font-mono",children:e.step})}),(0,a.jsxs)("div",{className:"flex-grow min-w-0",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)(e.icon,{className:"w-4 h-4 text-princeton-orange flex-shrink-0"}),(0,a.jsx)("h3",{className:"text-base font-semibold text-white",children:e.title})]}),(0,a.jsx)("p",{className:"text-sm text-muted-foreground",children:e.desc})]}),t<4&&(0,a.jsx)("div",{className:"absolute left-[1.65rem] top-[3.75rem] w-px h-4 bg-gradient-to-b from-princeton-orange/30 to-transparent"})]},t))})}),(0,a.jsx)(n.motion.div,{variants:eT,className:"lg:col-span-3",children:(0,a.jsxs)("div",{className:"relative rounded-2xl overflow-hidden border border-white/10 bg-[#0D0D0D] shadow-2xl shadow-black/50",children:[(0,a.jsxs)("div",{className:"flex items-center justify-between px-4 py-3 bg-[#1a1a1a] border-b border-white/10",children:[(0,a.jsxs)("div",{className:"flex items-center gap-3",children:[(0,a.jsxs)("div",{className:"flex gap-1.5",children:[(0,a.jsx)("div",{className:"w-3 h-3 rounded-full bg-red-500/80"}),(0,a.jsx)("div",{className:"w-3 h-3 rounded-full bg-yellow-500/80"}),(0,a.jsx)("div",{className:"w-3 h-3 rounded-full bg-green-500/80"})]}),(0,a.jsx)("span",{className:"text-xs text-muted-foreground font-mono",children:"warrior-bot.js â BlockWarriors Arena"})]}),(0,a.jsx)("div",{className:"flex items-center gap-3",children:(0,a.jsxs)("div",{className:"flex items-center gap-1.5 px-2 py-1 rounded bg-minecraft-grass/20",children:[(0,a.jsx)("div",{className:"w-2 h-2 rounded-full bg-minecraft-grass animate-pulse"}),(0,a.jsx)("span",{className:"text-xs text-minecraft-grass font-mono",children:"Connected"})]})})]}),(0,a.jsxs)("div",{className:"grid md:grid-cols-2 divide-x divide-white/10",children:[(0,a.jsxs)("div",{className:"p-6 font-mono text-[13px] overflow-x-auto bg-[#0D0D0D]",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2 mb-4 text-xs text-muted-foreground",children:[(0,a.jsx)(G.Code2,{className:"w-4 h-4"}),(0,a.jsx)("span",{children:"AI Combat Agent"})]}),(0,a.jsx)("pre",{className:"text-muted-foreground leading-relaxed",children:(0,a.jsxs)("code",{children:[(0,a.jsx)("span",{className:"text-gray-500",children:"// AI decision loop"}),"\n",(0,a.jsx)("span",{className:"text-purple-400",children:"async function"})," ",(0,a.jsx)("span",{className:"text-yellow-400",children:"tick"}),(0,a.jsxs)("span",{className:"text-white",children:["() ","{"]}),"\n"," ",(0,a.jsx)("span",{className:"text-purple-400",children:"const"})," ",(0,a.jsx)("span",{className:"text-blue-400",children:"state"})," ",(0,a.jsx)("span",{className:"text-white",children:"="})," ",(0,a.jsx)("span",{className:"text-yellow-400",children:"getGameState"}),(0,a.jsx)("span",{className:"text-white",children:"()"}),"\n"," ",(0,a.jsx)("span",{className:"text-purple-400",children:"const"})," ",(0,a.jsx)("span",{className:"text-blue-400",children:"threat"})," ",(0,a.jsx)("span",{className:"text-white",children:"="})," ",(0,a.jsx)("span",{className:"text-yellow-400",children:"assessThreat"}),(0,a.jsx)("span",{className:"text-white",children:"("}),(0,a.jsx)("span",{className:"text-blue-400",children:"state"}),(0,a.jsx)("span",{className:"text-white",children:")"}),"\n\n"," ",(0,a.jsx)("span",{className:"text-gray-500",children:"// Neural network inference"}),"\n"," ",(0,a.jsx)("span",{className:"text-purple-400",children:"const"})," ",(0,a.jsx)("span",{className:"text-blue-400",children:"action"})," ",(0,a.jsx)("span",{className:"text-white",children:"="})," ",(0,a.jsx)("span",{className:"text-blue-400",children:"model"}),(0,a.jsx)("span",{className:"text-white",children:"."}),(0,a.jsx)("span",{className:"text-yellow-400",children:"predict"}),(0,a.jsx)("span",{className:"text-white",children:"("}),(0,a.jsx)("span",{className:"text-blue-400",children:"state"}),(0,a.jsx)("span",{className:"text-white",children:")"}),"\n"," ",(0,a.jsx)("span",{className:"text-purple-400",children:"const"})," ",(0,a.jsx)("span",{className:"text-blue-400",children:"path"})," ",(0,a.jsx)("span",{className:"text-white",children:"="})," ",(0,a.jsx)("span",{className:"text-yellow-400",children:"findPath"}),(0,a.jsx)("span",{className:"text-white",children:"("}),(0,a.jsx)("span",{className:"text-blue-400",children:"target"}),(0,a.jsx)("span",{className:"text-white",children:")"}),"\n\n"," ",(0,a.jsx)("span",{className:"text-purple-400",children:"await"})," ",(0,a.jsx)("span",{className:"text-yellow-400",children:"execute"}),(0,a.jsx)("span",{className:"text-white",children:"("}),(0,a.jsx)("span",{className:"text-blue-400",children:"action"}),(0,a.jsx)("span",{className:"text-white",children:","})," ",(0,a.jsx)("span",{className:"text-blue-400",children:"path"}),(0,a.jsx)("span",{className:"text-white",children:")"}),"\n",(0,a.jsx)("span",{className:"text-white",children:"}"}),"\n\n",(0,a.jsx)("span",{className:"text-gray-500",children:"// Run at 20 TPS"}),"\n",(0,a.jsx)("span",{className:"text-yellow-400",children:"setInterval"}),(0,a.jsx)("span",{className:"text-white",children:"("}),(0,a.jsx)("span",{className:"text-blue-400",children:"tick"}),(0,a.jsx)("span",{className:"text-white",children:","})," ",(0,a.jsx)("span",{className:"text-green-400",children:"50"}),(0,a.jsx)("span",{className:"text-white",children:")"})]})})]}),(0,a.jsxs)("div",{className:"p-6 bg-[#0a0a0a]",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2 mb-4",children:[(0,a.jsx)("div",{className:"w-2 h-2 rounded-full bg-princeton-orange animate-pulse"}),(0,a.jsx)("span",{className:"text-xs text-muted-foreground font-mono uppercase tracking-wider",children:"AI Decision Log"})]}),(0,a.jsxs)("div",{className:"space-y-2.5 font-mono text-[13px]",children:[(0,a.jsxs)("div",{className:"flex items-start gap-2",children:[(0,a.jsx)("span",{className:"text-muted-foreground
1/60",children:"[tick 845]"}),(0,a.jsx)("span",{className:"text-gray-400",children:"Inference: 2.3ms latency"})]}),(0,a.jsxs)("div",{className:"flex items-start gap-2",children:[(0,a.jsx)("span",{className:"text-muted-foreground/60",children:"[tick 847]"}),(0,a.jsx)("span",{className:"text-purple-400",children:"State: HUNTING â threat=0.2"})]}),(0,a.jsxs)("div",{className:"flex items-start gap-2",children:[(0,a.jsx)("span",{className:"text-muted-foreground/60",children:"[tick 848]"}),(0,a.jsx)("span",{className:"text-yellow-400",children:"Target acquired @ (142, 64, -89)"})]}),(0,a.jsxs)("div",{className:"flex items-start gap-2",children:[(0,a.jsx)("span",{className:"text-muted-foreground/60",children:"[tick 849]"}),(0,a.jsx)("span",{className:"text-blue-400",children:"Pathfinding: A* â 12 nodes"})]}),(0,a.jsxs)("div",{className:"flex items-start gap-2",children:[(0,a.jsx)("span",{className:"text-muted-foreground/60",children:"[tick 851]"}),(0,a.jsx)("span",{className:"text-cyan-400",children:"Dodge predicted: 78% conf"})]}),(0,a.jsxs)("div",{className:"flex items-start gap-2",children:[(0,a.jsx)("span",{className:"text-muted-foreground/60",children:"[tick 852]"}),(0,a.jsx)("span",{className:"text-princeton-orange",children:"Action: STRAFE_LEFT + ATTACK"})]}),(0,a.jsxs)("div",{className:"flex items-start gap-2",children:[(0,a.jsx)("span",{className:"text-muted-foreground/60",children:"[tick 853]"}),(0,a.jsx)("span",{className:"text-minecraft-grass",children:"ð¯ Critical hit! Reward: +1.0"})]}),(0,a.jsx)("div",{className:"mt-4 pt-4 border-t border-white/10",children:(0,a.jsxs)("div",{className:"flex items-center justify-between",children:[(0,a.jsx)("span",{className:"text-muted-foreground",children:"Model Confidence"}),(0,a.jsx)("span",{className:"text-minecraft-grass font-bold",children:"94.2%"})]})})]})]})]}),(0,a.jsxs)("div",{className:"flex items-center justify-between px-4 py-2 bg-[#1a1a1a] border-t border-white/10 text-xs text-muted-foreground font-mono",children:[(0,a.jsxs)("div",{className:"flex items-center gap-4",children:[(0,a.jsx)("span",{children:"JavaScript"}),(0,a.jsx)("span",{children:"â¢"}),(0,a.jsx)("span",{children:"Mineflayer v4.14"})]}),(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)("span",{className:"text-minecraft-grass",children:"â"}),(0,a.jsx)("span",{children:"Round 3 of 5"})]})]})]})})]})]})})}),(0,a.jsx)("section",{id:"tournament",className:"py-20 relative",children:(0,a.jsx)("div",{className:"container max-w-6xl mx-auto px-4",children:(0,a.jsxs)(n.motion.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0,margin:"-100px"},variants:eP,className:"space-y-10",children:[(0,a.jsxs)(n.motion.div,{variants:eA,className:"text-center space-y-4",children:[(0,a.jsxs)("div",{className:"inline-flex items-center gap-2 px-3 py-1 rounded-full bg-princeton-orange/10 text-princeton-orange text-sm font-medium",children:[(0,a.jsx)(X.Trophy,{className:"w-4 h-4"}),"The Tournament"]}),(0,a.jsx)("h2",{className:"text-4xl sm:text-5xl font-bold text-white",children:"Spring 2026 Championship"}),(0,a.jsx)("p",{className:"text-muted-foreground text-lg max-w-2xl mx-auto",children:"Online qualifiers followed by in-person finals at Princeton University."})]}),(0,a.jsxs)(n.motion.div,{variants:eP,className:"grid md:grid-cols-2 gap-6",children:[(0,a.jsxs)(n.motion.div,{variants:eT,className:"relative p-8 rounded-2xl bg-gradient-to-br from-princeton-orange/10 to-transparent border border-princeton-orange/20 space-y-6",children:[(0,a.jsxs)("div",{className:"flex items-center gap-3",children:[(0,a.jsx)("div",{className:"w-10 h-10 rounded-lg bg-princeton-orange flex items-center justify-center",children:(0,a.jsx)(el.Calendar,{className:"w-5 h-5 text-black"})}),(0,a.jsxs)("div",{children:[(0,a.jsx)("div",{className:"text-sm text-muted-foreground",children:"Finals Date"}),(0,a.jsx)("div",{className:"text-xl font-semibold text-white",children:"March 2026 (TBD)"})]})]}),(0,a.jsxs)("div",{className:"flex items-center gap-3",children:[(0,a.jsx)("div",{className:"w-10 h-10 rounded-lg bg-minecraft-grass flex items-center justify-center",children:(0,a.jsx)(ei.MapPin,{className:"w-5 h-5 text-black"})}),(0,a.jsxs)("div",{children:[(0,a.jsx)("div",{className:"text-sm text-muted-foreground",children:"Finals Location"}),(0,a.jsx)("div",{className:"text-xl font-semibold text-white",children:"Princeton University"})]})]}),(0,a.jsxs)("div",{className:"flex items-center gap-3",children:[(0,a.jsx)("div",{className:"w-10 h-10 rounded-lg bg-white/10 flex items-center justify-center",children:(0,a.jsx)($.Users,{className:"w-5 h-5 text-white"})}),(0,a.jsxs)("div",{children:[(0,a.jsx)("div",{className:"text-sm text-muted-foreground",children:"Format"}),(0,a.jsx)("div",{className:"text-xl font-semibold text-white",children:"Online Qualifiers â 16-Team Finals"})]})]})]}),(0,a.jsxs)(n.motion.div,{variants:eT,className:"relative p-8 rounded-2xl glass border border-white/10 space-y-6",children:[(0,a.jsxs)("h3",{className:"text-2xl font-semibold text-white flex items-center gap-3",children:[(0,a.jsx)(X.Trophy,{className:"w-6 h-6 text-princeton-orange"}),"Prizes"]}),(0,a.jsxs)("div",{className:"space-y-4",children:[(0,a.jsxs)("div",{className:"p-4 rounded-xl bg-princeton-orange/10 border border-princeton-orange/20",children:[(0,a.jsx)("p",{className:"text-white font-medium mb-2",children:"Prize pool to be announced"}),(0,a.jsx)("p",{className:"text-sm text-muted-foreground",children:"May include cash prizes, gaming consoles, and more."})]}),(0,a.jsx)("div",{className:"space-y-3",children:["ð 1st, 2nd, 3rd place awards","ð® Gaming hardware prizes","ð Recognition & bragging rights"].map((e,t)=>(0,a.jsx)("div",{className:"flex items-center gap-3 text-muted-foreground",children:(0,a.jsx)("span",{children:e})},t))})]})]})]}),(0,a.jsx)(n.motion.div,{variants:eA,className:"text-center",children:(0,a.jsx)(eh.Button,{asChild:!0,size:"lg",className:"bg-gradient-to-r from-princeton-orange to-princeton-orange-light text-black font-semibold px-8 py-6 rounded-xl text-lg hover:opacity-90 transition-all group",children:(0,a.jsxs)(U.default,{href:"/login",className:"flex items-center gap-2",children:["Secure Your Spot",(0,a.jsx)(et,{className:"w-5 h-5 group-hover:translate-x-1 transition-transform"})]})})})]})})}),(0,a.jsx)("section",{id:"resources",className:"py-20 relative",children:(0,a.jsx)("div",{className:"container max-w-6xl mx-auto px-4",children:(0,a.jsxs)(n.motion.div,{initial:"hidden",
1whileInView:"visible",viewport:{once:!0,margin:"-100px"},variants:eP,className:"space-y-10",children:[(0,a.jsxs)(n.motion.div,{variants:eA,className:"text-center space-y-4",children:[(0,a.jsxs)("div",{className:"inline-flex items-center gap-2 px-3 py-1 rounded-full bg-minecraft-grass/10 text-minecraft-grass text-sm font-medium",children:[(0,a.jsx)(ec.BookOpen,{className:"w-4 h-4"}),"Resources"]}),(0,a.jsx)("h2",{className:"text-4xl sm:text-5xl font-bold text-white",children:"Learn & Build"}),(0,a.jsx)("p",{className:"text-muted-foreground text-lg max-w-2xl mx-auto",children:"Everything you need to get started building AI bots for Minecraft."})]}),(0,a.jsx)(n.motion.div,{variants:eP,className:"grid md:grid-cols-2 lg:grid-cols-3 gap-6",children:[{title:"Mineflayer Documentation",description:"The official docs for Mineflayer - a powerful JavaScript API for creating Minecraft bots.",url:"https://github.com/PrismarineJS/mineflayer",tag:"Official Docs",tagColor:"bg-minecraft-grass/20 text-minecraft-grass"},{title:"Mineflayer Examples",description:"Collection of example bots and code snippets to help you get started quickly.",url:"https://github.com/PrismarineJS/mineflayer/tree/master/examples",tag:"Examples",tagColor:"bg-princeton-orange/20 text-princeton-orange"},{title:"Prismarine Wiki",description:"Comprehensive wiki covering the entire Prismarine ecosystem for Minecraft development.",url:"https://github.com/PrismarineJS/prismarine/wiki",tag:"Wiki",tagColor:"bg-blue-500/20 text-blue-400"},{title:"MineRL Project",description:"Research project on reinforcement learning in Minecraft. Great for AI/ML approaches.",url:"https://minerl.io/",tag:"AI Research",tagColor:"bg-purple-500/20 text-purple-400"},{title:"Minecraft Protocol",description:"Detailed documentation of the Minecraft protocol for building custom clients.",url:"https://wiki.vg/Protocol",tag:"Protocol",tagColor:"bg-yellow-500/20 text-yellow-400"},{title:"Pathfinder Plugin",description:"Advanced pathfinding plugin for Mineflayer bots with A* navigation.",url:"https://github.com/PrismarineJS/mineflayer-pathfinder",tag:"Plugin",tagColor:"bg-cyan-500/20 text-cyan-400"}].map((e,t)=>(0,a.jsxs)(n.motion.a,{href:e.url,target:"_blank",rel:"noopener noreferrer",variants:eA,className:"group p-6 rounded-2xl bg-card border border-white/5 hover:border-princeton-orange/30 transition-all duration-300 block",children:[(0,a.jsxs)("div",{className:"flex items-start justify-between mb-3",children:[(0,a.jsx)("span",{className:`text-xs font-medium px-2.5 py-1 rounded-full ${e.tagColor}`,children:e.tag}),(0,a.jsx)(ed,{className:"w-4 h-4 text-muted-foreground group-hover:text-princeton-orange transition-colors"})]}),(0,a.jsx)("h3",{className:"text-lg font-semibold text-white mb-2 group-hover:text-princeton-orange transition-colors",children:e.title}),(0,a.jsx)("p",{className:"text-sm text-muted-foreground leading-relaxed",children:e.description})]},t))})]})})}),(0,a.jsx)("section",{id:"faq",className:"py-20 relative bg-gradient-to-b from-transparent via-card/50 to-transparent",children:(0,a.jsx)("div",{className:"container max-w-4xl mx-auto px-4",children:(0,a.jsxs)(n.motion.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0,margin:"-100px"},variants:eP,className:"space-y-10",children:[(0,a.jsx)(n.motion.div,{variants:eA,className:"text-center",children:(0,a.jsx)("h2",{className:"text-4xl sm:text-5xl font-bold text-white",children:"Frequently Asked Questions"})}),(0,a.jsx)(n.motion.div,{variants:eP,className:"grid md:grid-cols-2 gap-4",children:[{q:"How do I build my bot?",a:"Use Mineflayer (JavaScript), write your own Minecraft client, or any approach that connects to a Minecraft server."},{q:"What languages can I use?",a:"Any language that interfaces with Minecraft! Mineflayer uses JS/TS, but Python, Java, etc. all work."},{q:"How large should teams be?",a:"Teams can have 2-4 members. Solo? Join our Discord to find teammates."},{q:"Is there a cost to participate?",a:"BlockWarriors is completely free. We believe in accessible AI education."}].map((e,t)=>(0,a.jsxs)(n.motion.div,{variants:eA,className:"p-6 rounded-2xl bg-card border border-white/5 hover:border-princeton-orange/20 transition-colors duration-300",children:[(0,a.jsx)("h3",{className:"text-lg font-semibold text-white mb-2",children:e.q}),(0,a.jsx)("p",{className:"text-muted-foreground leading-relaxed",children:e.a})]},t))})]})})}),(0,a.jsx)("section",{id:"sponsors",className:"py-16 relative",children:(0,a.jsx)("div",{className:"container max-w-5xl mx-auto px-4",children:(0,a.jsx)(n.motion.div,{initial:"hidden",
1whileInView:"visible",viewport:{once:!0,margin:"-100px"},variants:eA,className:"relative p-6 md:p-8 rounded-2xl bg-gradient-to-r from-princeton-orange/10 via-card to-princeton-orange/5 border border-princeton-orange/20",children:(0,a.jsxs)("div",{className:"flex flex-col md:flex-row items-center justify-between gap-6",children:[(0,a.jsxs)("div",{className:"flex items-center gap-4",children:[(0,a.jsx)("div",{className:"w-12 h-12 rounded-xl bg-princeton-orange/10 flex items-center justify-center flex-shrink-0",children:(0,a.jsx)(ex,{className:"w-6 h-6 text-princeton-orange"})}),(0,a.jsxs)("div",{children:[(0,a.jsx)("h3",{className:"text-xl font-bold text-white",children:"Support Us"}),(0,a.jsx)("p",{className:"text-sm text-muted-foreground",children:"Help fund prizes and support the next generation of AI developers."})]})]}),(0,a.jsxs)("div",{className:"flex items-center gap-3 flex-shrink-0",children:[(0,a.jsxs)("div",{className:"hidden sm:flex gap-2 text-xs text-muted-foreground",children:[(0,a.jsx)("span",{className:"px-2 py-1 rounded bg-white/5",children:"ð° Prizes"}),(0,a.jsx)("span",{className:"px-2 py-1 rounded bg-white/5",children:"ð® Hardware"})]}),(0,a.jsx)(eh.Button,{asChild:!0,className:"bg-gradient-to-r from-princeton-orange to-princeton-orange-light text-black font-semibold px-6 py-2 rounded-lg hover:opacity-90 transition-opacity",children:(0,a.jsxs)("a",{href:"mailto:[email protected]?subject=BlockWarrior Supporter Inquiry",className:"flex items-center gap-2",children:[(0,a.jsx)(em,{className:"w-4 h-4"}),"Contact Us"]})})]})]})})})}),(0,a.jsxs)("section",{className:"py-16 relative overflow-hidden",children:[(0,a.jsx)("div",{className:"absolute inset-0 bg-gradient-to-t from-princeton-orange/10 via-trans
1parent to-transparent"}),(0,a.jsx)("div",{className:"absolute bottom-0 left-1/2 -translate-x-1/2 w-[400px] h-[400px] bg-princeton-orange/20 rounded-full blur-[120px]"}),(0,a.jsx)("div",{className:"container max-w-4xl mx-auto px-4 relative z-10",children:(0,a.jsxs)(n.motion.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0},variants:eP,className:"text-center space-y-6",children:[(0,a.jsxs)(n.motion.h2,{variants:eA,className:"text-3xl sm:text-4xl md:text-5xl font-bold text-white",children:["Ready to"," ",(0,a.jsx)("span",{className:"text-gradient-orange",children:"Enter the Arena?"})]}),(0,a.jsx)(n.motion.p,{variants:eA,className:"text-muted-foreground max-w-lg mx-auto",children:"Build your bot, crush the qualifiers, compete for glory at Princeton."}),(0,a.jsx)(n.motion.div,{variants:eA,children:(0,a.jsx)(eh.Button,{asChild:!0,size:"lg",className:"bg-gradient-to-r from-princeton-orange to-princeton-orange-light text-black font-semibold px-8 py-6 rounded-xl text-lg hover:opacity-90 transition-all group glow-orange",children:(0,a.jsxs)(U.default,{href:"/login",className:"flex items-center gap-2",children:["Get Started!",(0,a.jsx)(et,{className:"w-5 h-5 group-hover:translate-x-1 transition-transform"})]})})})]})})]}),(0,a.jsx)("footer",{className:"py-12 border-t border-white/5",children:(0,a.jsxs)("div",{className:"container max-w-6xl mx-auto px-4",children:[(0,a.jsxs)("div",{className:"flex flex-col md:flex-row items-center justify-between gap-8",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2.5",children:[(0,a.jsx)(Y.default,{src:"/blockwarriors-logo.png",alt:"BlockWarriors",width:36,height:36,className:"rounded-lg"}),(0,a.jsxs)("span",{className:"font-bold text-lg text-white tracking-tight",children:["Block",(0,a.jsx)("span",{className:"text-princeton-orange",children:"Warriors"})]})]}),(0,a.jsxs)("div",{className:"flex items-center gap-6",children:[(0,a.jsx)(U.default,{href:"#about",className:"text-sm text-muted-foreground hover:text-white transition-colors",children:"About"}),(0,a.jsx)(U.default,{href:"#how-it-works",className:"text-sm text-muted-foreground hover:text-white transition-colors",children:"How It Works"}),(0,a.jsx)(U.default,{href:"#tournament",className:"text-sm text-muted-foreground hover:text-white transition-colors",children:"Tournament"}),(0,a.jsx)(U.default,{href:"#faq",className:"text-sm text-muted-foreground hover:text-white transition-colors",children:"FAQ"})]}),(0,a.jsxs)("div",{className:"flex items-center gap-4",children:[(0,a.jsx)("a",{href:"https://github.com",target:"_blank",rel:"noopener noreferrer",className:"w-10 h-10 rounded-lg bg-white/5 flex items-center justify-center text-muted-foreground hover:text-white hover:bg-white/10 transition-all",children:(0,a.jsx)(ea,{className:"w-5 h-5"})}),(0,a.jsx)("a",{href:"https://twitter.com",target:"_blank",rel:"noopener noreferrer",className:"w-10 h-10 rounded-lg bg-white/5 flex items-center justify-center text-muted-foreground hover:text-white hover:bg-white/10 transition-all",children:(0,a.jsx)(en,{className:"w-5 h-5"})}),(0,a.jsx)("a",{href:"https://discord.com",target:"_blank",rel:"noopener noreferrer",className:"w-10 h-10 rounded-lg bg-white/5 flex items-center justify-center text-muted-foreground hover:text-white hover:bg-white/10 transition-all",children:(0,a.jsx)(er,{className:"w-5 h-5"})})]})]}),(0,a.jsxs)("div",{className:"mt-12 pt-8 border-t border-white/5 text-center space-y-3",children:[(0,a.jsx)("p",{className:"text-sm text-muted-foreground",children:"© 2025 BlockWarriors. Hosted at Princeton University."}),(0,a.jsx)("p",{className:"text-sm text-muted-foreground max-w-3xl mx-auto",children:"This organization is open to all students interested in supporting our organization's mission, regardless of identity, such as race, sex, ethnicity, national origin, or other protected characteristics."})]})]})})]})}e.s(["default",()=>eB],36036)}]);
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.