1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,10708,e=>{"use strict";var t=e.i(843476),r=e.i(647163);e.s(["Label",0,function({className:e,...s}){return(0,t.jsx)("label",{"data-slot":"label",className:(0,r.cn)("flex items-center gap-2 text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70",e),...s})}])},23750,e=>{"use strict";var t=e.i(843476),r=e.i(647163);e.s(["Input",0,function({className:e,type:s,...i}){return(0,t.jsx)("input",{type:s,"data-slot":"input",className:(0,r.cn)("file:text-foreground placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground dark:bg-input/30 border-input h-9 w-full min-w-0 rounded-md border bg-transparent px-3 py-1 text-base shadow-xs transition-[color,box-shadow] outline-none file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm","focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]","aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",e),...i})}])},635804,e=>{"use strict";var t=e.i(271645),r=e.i(934620);e.s(["useSize",0,function(e){let[s,i]=t.useState(void 0);return(0,r.useLayoutEffect)(()=>{if(e){i({width:e.offsetWidth,height:e.offsetHeight});let t=new ResizeObserver(t=>{let r,s;if(!Array.isArray(t)||!t.length)return;let l=t[0];if("borderBoxSize"in l){let e=l.borderBoxSize,t=Array.isArray(e)?e[0]:e;r=t.inlineSize,s=t.blockSize}else r=e.offsetWidth,s=e.offsetHeight;i({width:r,height:s})});return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}i(void 0)},[e]),s}])},643957,e=>{"use strict";let t=(0,e.i(456420).default)("check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);e.s(["default",0,t])},75830,e=>{"use strict";var t=e.i(271645),r=e.i(30030),s=e.i(820783),i=e.i(991918),l=e.i(843476),a=new WeakMap;function n(e,t){var r,s;let i,l,a;if("at"in Array.prototype)return Array.prototype.at.call(e,t);let n=(r=e,s=t,i=r.length,(a=(l=o(s))>=0?l:i+l)<0||a>=i?-1:a);return -1===n?void 0:e[n]}function o(e){return e!=e||0===e?0:Math.trunc(e)}(class e extends Map{#e;constructor(e){super(e),this.#e=[...super.keys()],a.set(this,!0)}set(e,t){return a.get(this)&&(this.has(e)?this.#e[this.#e.indexOf(e)]=e:this.#e.push(e)),super.set(e,t),this}insert(e,t,r){let s,i=this.has(t),l=this.#e.length,a=o(e),n=a>=0?a:l+a,c=n<0||n>=l?-1:n;if(c===this.size||i&&c===this.size-1||-1===c)return this.set(t,r),this;let d=this.size+ +!i;a<0&&n++;let h=[...this.#e],u=!1;for(let e=n;e<d;e++)if(n===e){let l=h[e];h[e]===t&&(l=h[e+1]),i&&this.delete(t),s=this.get(l),this.set(t,r)}else{u||h[e-1]!==t||(u=!0);let r=h[u?e:e-1],i=s;s=this.get(r),this.delete(r),this.set(r,i)}return this}with(t,r,s){let i=new e(this);return i.insert(t,r,s),i}before(e){let t=this.#e.indexOf(e)-1;if(!(t<0))return this.entryAt(t)}setBefore(e,t,r){let s=this.#e.indexOf(e);return -1===s?this:this.insert(s,t,r)}after(e){let t=this.#e.indexOf(e);if(-1!==(t=-1===t||t===this.size-1?-1:t+1))return this.entryAt(t)}setAfter(e,t,r){let s=this.#e.indexOf(e);return -1===s?this:this.insert(s+1,t,r)}first(){return this.entryAt(0)}last(){return this.entryAt(-1)}clear(){return this.#e=[],super.clear()}delete(e){let t=super.delete(e);return t&&this.#e.splice(this.#e.indexOf(e),1),t}deleteAt(e){let t=this.keyAt(e);return void 0!==t&&this.delete(t)}at(e){let t=n(this.#e,e);if(void 0!==t)return this.get(t)}entryAt(e){let t=n(this.#e,e);if(void 0!==t)return[t,this.get(t)]}indexOf(e){return this.#e.indexOf(e)}keyAt(e){return n(this.#e,e)}from(e,t){let r=this.indexOf(e);if(-1===r)return;let s=r+t;return s<0&&(s=0),s>=this.size&&(s=this.size-1),this.at(s)}keyFrom(e,t){let r=this.indexOf(e);if(-1===r)return;let s=r+t;return s<0&&(s=0),s>=this.size&&(s=this.size-1),this.keyAt(s)}find(e,t){let r=0;for(let s of this){if(Reflect.apply(e,t,[s,r,this]))return s;r++}}findIndex(e,t){let r=0;for(let s of this){if(Reflect.apply(e,t,[s,r,this]))return r;r++}return -1}filter(t,r){let s=[],i=0;for(let e of this)Reflect.apply(t,r,[e,i,this])&&s.push(e),i++;return new e(s)}map(t,r){let s=[],i=0;for(let e of this)s.push([e[0],Reflect.apply(t,r,[e,i,this])]),i++;return new e(s)}reduce(...e){let[t,r]=e,s=0,i=r??this.at(0);for(let r of this)i=0===s&&1===e.length?r:Reflect.apply(t,this,[i,r,s,this]),s++;return i}reduceRight(...e){let[t,r]=e,s=r??this.at(-1);for(let r=this.size-1;r>=0;r--){let i=this.at(r);
1s=r===this.size-1&&1===e.length?i:Reflect.apply(t,this,[s,i,r,this])}return s}toSorted(t){return new e([...this.entries()].sort(t))}toReversed(){let t=new e;for(let e=this.size-1;e>=0;e--){let r=this.keyAt(e),s=this.get(r);t.set(r,s)}return t}toSpliced(...t){let r=[...this.entries()];return r.splice(...t),new e(r)}slice(t,r){let s=new e,i=this.size-1;if(void 0===t)return s;t<0&&(t+=this.size),void 0!==r&&r>0&&(i=r-1);for(let e=t;e<=i;e++){let t=this.keyAt(e),r=this.get(t);s.set(t,r)}return s}every(e,t){let r=0;for(let s of this){if(!Reflect.apply(e,t,[s,r,this]))return!1;r++}return!0}some(e,t){let r=0;for(let s of this){if(Reflect.apply(e,t,[s,r,this]))return!0;r++}return!1}}),e.s(["createCollection",0,function(e){let a=e+"CollectionProvider",[n,o]=(0,r.createContextScope)(a),[c,d]=n(a,{collectionRef:{current:null},itemMap:new Map}),h=e=>{let{scope:r,children:s}=e,i=t.useRef(null),a=t.useRef(new Map).current;return(0,l.jsx)(c,{scope:r,itemMap:a,collectionRef:i,children:s})};h.displayName=a;let u=e+"CollectionSlot",m=(0,i.createSlot)(u),f=t.forwardRef((e,t)=>{let{scope:r,children:i}=e,a=d(u,r),n=(0,s.useComposedRefs)(t,a.collectionRef);return(0,l.jsx)(m,{ref:n,children:i})});f.displayName=u;let p=e+"CollectionItemSlot",x="data-radix-collection-item",g=(0,i.createSlot)(p),b=t.forwardRef((e,r)=>{let{scope:i,children:a,...n}=e,o=t.useRef(null),c=(0,s.useComposedRefs)(r,o),h=d(p,i);return t.useEffect(()=>(h.itemMap.set(o,{ref:o,...n}),()=>void h.itemMap.delete(o))),(0,l.jsx)(g,{...{[x]:""},ref:c,children:a})});return b.displayName=p,[{Provider:h,Slot:f,ItemSlot:b},function(r){let s=d(e+"CollectionConsumer",r);return t.useCallback(()=>{let e=s.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll(`[${x}]`));return Array.from(s.itemMap.values()).sort((e,r)=>t.indexOf(e.ref.current)-t.indexOf(r.ref.current))},[s.collectionRef,s.itemMap])},o]}])},586318,e=>{"use strict";var t=e.i(271645);e.i(843476);var r=t.createContext(void 0);e.s(["useDirection",0,function(e){let s=t.useContext(r);return e||s||"ltr"}])},593698,e=>{"use strict";var t=e.i(643957);e.s(["CheckIcon",()=>t.default])},26495,e=>{"use strict";let t=(0,e.i(456420).default)("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);e.s(["default",0,t])},959411,e=>{"use strict";var t=e.i(271645),r=e.i(248425),s=e.i(843476),i=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),l=t.forwardRef((e,t)=>(0,s.jsx)(r.Primitive.span,{...e,ref:t,style:{...i,...e.style}}));l.displayName="VisuallyHidden",e.s(["Root",0,l,"VISUALLY_HIDDEN_STYLES",0,i])},184762,e=>{"use strict";var t=e.i(843476),r=e.i(647163);e.s(["Textarea",0,function({className:e,...s}){return(0,t.jsx)("textarea",{"data-slot":"textarea",className:(0,r.cn)("border-input placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:bg-input/30 flex field-sizing-content min-h-16 w-full rounded-md border bg-transparent px-3 py-2 text-base shadow-xs transition-[color,box-shadow] outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",e),...s})}])},70119,e=>{"use strict";var t=e.i(843476),r=e.i(522016),s=e.i(657688),i=e.i(271645),l=e.i(114674),a=e.i(647163),n=e.i(111369),o=e.i(618566),c=e.i(920755),d=e.i(167881),h=e.i(818026);function u(e){let t=e.user_metadata;return t?.full_name||t?.name||e.email?.split("@")[0]||"User"}function m({mobile:e=!1,onNavigate:s}){let n=(0,o.useRouter)(),f=(0,o.usePathname)(),p=(0,o.useSearchParams)(),[x,g]=(0,i.useState)(null),[b,v]=(0,i.useState)(null),[y,w]=(0,i.useState)(!0),[j,N]=(0,i.useState)(!1),k=(0,i.useRef)(null);(0,i.useEffect)(()=>{let e=e=>{k.current&&!k.current.contains(e.target)&&N(!1)};return document.addEventListener("mousedown",e),document.addEventListener("touchstart",e),()=>{document.removeEventListener("mousedown",e),document.removeEventListener("touchstart",e)}},[]),(0,i.useEffect)(()=>{let e=(0,c.createClient)();if(!e)return void w(!1);(async()=>{let{data:{user:t}}=await e.auth.getUser();if(g(t),t){let{data:r}=await e.from("profiles").select("role").eq("id",t.id).maybeSingle();v(r?.role??null)}else v(null);w(!1)})();let{data:{subscription:t}}=e.auth.onAuthStateChange((t,r)=>{(g(r?.user??null),r?.user)?e.from("profiles").select("role").eq("id",r.user.id).maybeSingle().then(({data:e})=>{v(e?.role??null)}):v(null)});return()=>t.unsubscribe()},[]);let S=async()=>{let e=(0,c.createClient)();e&&(await e.auth.signOut(),g(null),n.push("/"),n.refresh())},C=f?`${f}${p.size>0?`?${p.toString()}`:""}`:null,_=(0,h.sanitizeNextPath)(C),A=_&&(0,h.isProductPath)(_)?_:null,R=A?`/auth/login?next=${encodeURIComponent(A)}`:"/auth/login",z=A?`/start?next=${encodeURIComponent(A)}`:"/start";if(y)return(0,t.jsx)(d.Button,{variant:"ghost",size:"sm",disabled:!0,children:"Loading..."});if(x){let i,n,o=(n=(i=u(x)).trim().split(/\s+/)).length>=2?(n[0][0]+n[n.length-1][0]).toUpperCase():i.slice(0,2).toUpperCase(),c=u(x);return(0,t.jsxs)("div",{className:"relative",ref:k,children:[(0,t.jsxs)("button",{type:"button",onClick:()=>N(e=>!e),className:(0,a.cn)("transition-colors focus:outline-none",e?"flex w-full items-center justify-between rounded-xl border border-black/10 bg-[#f5f5f7] px-3.5 py-2.5 hover:bg-[#ebebf0]":"flex items-center gap-1.5 rounded-full p-0.5 hover:bg-white/40 md:pr-0"),"aria-label":"User menu","aria-expanded":j,children:[(0,t.jsxs)("div",{className:"flex items-center gap-2.5",children:[(0,t.jsx)("div",{className:"flex size-8 shrink-0 items-center justify-center rounded-full bg-[var(--color-black)] text-xs font-medium text-white",children:o}),e&&(0,t.jsxs)("div",{className:"min-w-0 text-left",children:[(0,t.jsx)("p",{className:"truncate text-sm font-semibold text-[var(--color-black)]",children:c}),(0,t.jsx)("p",{className:"text-xs text-gray-500",children:"Account"})]})]}),(0,t.jsx)(l.HiChevronDown,{className:(0,a.cn)("text-[var(--color-black)] transition-transform duration-200",e?"h-4 w-4":"h-3 w-3",j&&"rotate-180")}
1)]}),j&&(0,t.jsxs)("div",{className:(0,a.cn)("z-50 rounded-xl border border-white/30 bg-white/95 p-2 shadow-xl backdrop-blur-xl",e?"mt-2 w-full":"absolute right-0 top-[calc(100%+0.5rem)] w-[min(18rem,calc(100vw-2.5rem))] min-w-[220px] md:w-auto md:min-w-[220px]"),children:[(0,t.jsxs)("div",{className:"border-b border-gray-100 px-3 py-2 mb-1",children:[(0,t.jsx)("p",{className:"text-xs text-gray-500",children:"Signed in as"}),(0,t.jsx)("p",{className:"truncate text-sm font-semibold text-[var(--color-black)]",children:c})]}),(0,t.jsxs)(r.default,{href:"/dashboard",onClick:()=>{N(!1),s?.()},className:"flex items-center gap-2.5 rounded-lg px-3 py-2.5 text-sm font-medium text-[var(--color-black)] transition-colors hover:bg-[var(--color-deep-purple)]/10 hover:text-[var(--color-deep-purple)]",children:[(0,t.jsx)(l.HiSquares2X2,{className:"h-4 w-4 shrink-0"}),"Dashboard"]}),("admin"===b||"super_admin"===b)&&(0,t.jsxs)(r.default,{href:"/admin-portal",onClick:()=>{N(!1),s?.()},className:"flex items-center gap-2.5 rounded-lg px-3 py-2.5 text-sm font-medium text-[var(--color-black)] transition-colors hover:bg-[var(--color-deep-purple)]/10 hover:text-[var(--color-deep-purple)]",children:[(0,t.jsx)(l.HiSquares2X2,{className:"h-4 w-4 shrink-0"}),"Admin Portal"]}),(0,t.jsxs)("button",{type:"button",onClick:()=>{N(!1),s?.(),S()},className:"flex w-full items-center gap-2.5 rounded-lg px-3 py-2.5 text-sm font-medium text-[var(--color-black)] transition-colors hover:bg-red-50 hover:text-red-600",children:[(0,t.jsx)(l.HiArrowRightOnRectangle,{className:"h-4 w-4 shrink-0"}),"Sign Out"]})]})]})}return(0,t.jsxs)("div",{className:(0,a.cn)("flex items-center gap-2",e&&"w-full flex-col"),children:[(0,t.jsx)(r.default,{href:R,onClick:s,className:(0,a.cn)("inline-flex items-center rounded-md bg-white/25 px-3 py-2 text-sm font-medium text-[var(--color-black)] transition-colors hover:bg-white/50 hover:text-[var(--color-deep-purple)]",e&&"w-full justify-center rounded-xl bg-[#f5f5f7] py-2.5 hover:bg-[#ebebf0]"),children:"Sign In"}),(0,t.jsxs)(r.default,{href:z,onClick:s,className:(0,a.cn)("btn--header inline-flex items-center gap-1.5 rounded-md bg-white px-3.5 py-2 text-sm font-medium text-[var(--color-black)] shadow-sm transition-all hover:-translate-y-0.5 hover:shadow-md",e&&"w-full justify-center rounded-xl bg-[var(--color-black)] text-white hover:translate-y-0 hover:bg-[var(--color-black)]/90"),children:["Get Started",(0,t.jsx)(l.HiArrowRight,{className:"h-3.5 w-3.5"})]})]})}e.i(797350);var f=e.i(70580);let p=[{title:"Blog",desc:"Tips, guides, and insights for immigrants in the U.S.",href:"/blog"},{title:"Podcast",desc:"Expert interviews & immigrant success stories",href:"/podcast"},{title:"Webinar",desc:"Free webinars on careers, credit, and life in the U.S.",href:"/webinar"},{title:"Success Stories",desc:"Real stories from people who achieved their American Dream",href:"/success-stories"}],x={title:"Hire Talents",desc:"Hire pre-vetted talent from the Algorizin network",href:"/hire-talents"},g={title:"FAQ",desc:"Answers to common questions about Algorizin",href:"/faq"},b={title:"Career Coaching",desc:"Land your first job in the US with expert career coaching",href:"/career-coaching"},v={title:"Immigration Support",desc:"Resolve immigration issues with in-house legal support",href:"/immigration"},y={title:"Algorizin",desc:"Make your first million as an immigrant founder",href:"/algorizin"},w={title:"Team",desc:"Meet the team building bridges for immigrants",href:"/team"},j={title:"Industry Experts",desc:"1-on-1 guidance from career, tech, and data mentors",href:"/industry-experts"},N={title:"Algorizin Talents",desc:"Hire vetted immigrant talent or join our training pipeline",href:"/algorizin-talents"},k={title:"Market Place",desc:"Mentorship, immigration help, and tools to land your first US tech job",href:"/market-place"},S={title:"Self-Employed OPT",desc:"Stop your OPT clock by launching your own LLC in 2 weeks",href:"/self-employed-opt"},C=[{title:"Self Employed OPT",desc:"Eligibility, filing support, and application checkout in one flow",href:"/services/self-employed-opt"},{title:"LinkedIn Premium Career",desc:"Stand out in job applications with Premium tools and insights",href:"/services/linkedin-premium-career"},{title:"Resume Reviewer",desc:"Get expert feedback on your resume and land more interviews",href:"/services/resume-reviewer"},{title:"H-1B Lens",desc:"Explore H-1B sponsorship trends and employer approval data",href:"/services/h1b-lens"}];e.s(["Header",0,function({activePage:e}){let[o,c]=(0,i.useState)(!1),[d,h]=(0,i.useState)(!1),[u,_]=(0,i.useState)(!1),[A,R]=(0,i.useState)(!1),[z,E]=(0,i.useState)(!1),[M,T]=(0,i.useState)(!1),[P,O]=(0,i.useState)(!1),[L,H]=(0,i.useState)(!1),[q,I]=(0,i.useState)(!1),[F,U]=(0,i.useState)(!1),[D,$]=(0,i.useState)(!1),[B,V]=(0,i.useState)(!1),[W,G]=(0,i.useState)(!1),[Y,K]=(0,i.useState)(!1),[X,J]=(0,i.useState)(!1),Q=(0,i.useRef)(null);(0,i.useEffect)(()=>{let e=!1;return fetch("/api/public/modules").then(e=>e.ok?e.json():null).then(t=>{!e&&t&&("boolean"==typeof t.hireTalents?E(t.hireTalents):"boolean"==typeof t.forCompanies&&E(t.forCompanies),"boolean"==typeof t.faq&&T(t.faq),"boolean"==typeof t.careerCoaching&&O(t.careerCoaching),"boolean"==typeof t.immigrationSupport&&H(t.immigrationSupport),"boolean"==typeof t.algorizin&&I(t.algorizin),"boolean"==typeof t.team&&U(t.team),"boolean"==typeof t.industryExperts&&$(t.industryExperts),"boolean"==typeof t.algorizinTalents&&V(t.algorizinTalents),"boolean"==typeof t.marketPlace&&G(t.marketPlace),"boolean"==typeof t.selfEmployedOpt&&K(t.selfEmployedOpt),"boolean"==typeof t.stages&&J(t.stages))}).catch(()=>{}),()=>{e=!0}},[]);let Z=[...p,...z?[x]:[],...M?[g]:[],...P?[b]:[],...L?[v]:[],...q?[y]:[],...F?[w]:[],...D?[j]:[],...B?[N]:[],...W?[k]:[],...Y?[S]:[]],ee=()=>{c(!1),h(!1),_(!1),R(!1)};return(0,i.useEffect)(()=>{o&&(h(!1),_(!1),R(!1))},[o]),(0,i.useEffect)(()=>{let e=e=>{o&&Q.current&&!Q.current.contains(e.target)&&ee()};return document.addEventListener("click",e),()=>document.removeEventListener("click",e)},[o]),(0,t.jsx)("header",{className:"fixed top-0 left-0 right-0 z-50 p-2 md:p-4",children:(0,t.jsxs)("div",{ref:Q,className:"header__container relative mx-auto flex max-w-[1400px] items-center justify-between rounded-lg bg-white/35 px-5 py-2.5 backdrop-blur-md",children:[(0,t.jsx)(r.default,{href:"/",className:"flex items-center",children:(0,t.jsx)(s.default,{src:"/logo/Logo.svg",alt:"Algorizin",width:112,height:28,className:"h-7 w-auto"})}),(0,t.jsx)("nav",{className:"absolute left-1/2 hidden -translate-x-1/2 md:flex md:items-center",children:(0,t.jsxs)("ul",{className:"nav__list flex items-center gap-2",children:[(0,t.jsx)("li",{className:"nav__item",children:(0,t.jsx)(r.default,{href:"/about",className:(0,a.cn)("nav__link flex items-center gap-1 rounded-md bg-white/25 px-3 py-2 text-sm font-medium text-[var(--color-black)] transition-colors hover:bg-white/50 hover:text-[var(--color-deep-purple)]","about"===e&&"bg-white/50 text-[var(--color-deep-purple)]"),children:"About Us"})}),(0,t.jsxs)("li",{className:"nav__item nav__item--mega nav__item--mega-small group relative",children:[(0,t.jsxs)("button",{type:"button",className:"nav__link flex items-center gap-1 rounded-md bg-white/25 px-3 py-2 text-sm font-medium text-[var(--color-black)] transition-colors hover:bg-white/50 hover:text-[var(--color-deep-purple)] [&_svg]:transition-transform group-hover:[&_svg]:rotate-180",children:["Services",(0,t.jsx)(l.HiChevronDown,{className:"h-3 w-3"})]}),(0,t.jsx)("div",{className:"mega-dropdown mega-dropdown--small invisible absolute left-1/2 top-full z-50 mt-3 min-w-[340px] -translate-x-1/2 roun
1ded-xl bg-white/98 p-4 shadow-xl backdrop-blur-xl opacity-0 transition-all duration-200 group-hover:visible group-hover:opacity-100",children:(0,t.jsx)("div",{className:"flex flex-col gap-0",children:C.map(e=>(0,t.jsxs)(r.default,{href:e.href,className:"flex flex-col rounded-lg px-4 py-3 transition-colors hover:bg-[var(--color-deep-purple)]/10",children:[(0,t.jsx)("span",{className:"text-sm font-semibold text-[var(--color-black)]",children:e.title}),(0,t.jsx)("span",{className:"text-xs text-gray-500",children:e.desc})]},e.title))})})]}),X?(0,t.jsxs)("li",{className:"nav__item nav__item--mega group relative",children:[(0,t.jsxs)("button",{type:"button",className:"nav__link flex items-center gap-1 rounded-md bg-white/25 px-3 py-2 text-sm font-medium text-[var(--color-black)] transition-colors hover:bg-white/50 hover:text-[var(--color-deep-purple)] [&_svg]:transition-transform group-hover:[&_svg]:rotate-180",children:["Stages",(0,t.jsx)(l.HiChevronDown,{className:"h-3 w-3"})]}),(0,t.jsx)("div",{className:"mega-dropdown invisible absolute left-1/2 top-full z-50 mt-3 min-w-[600px] -translate-x-1/2 rounded-xl bg-white/98 p-6 shadow-xl backdrop-blur-xl opacity-0 transition-all duration-200 group-hover:visible group-hover:opacity-100",children:(0,t.jsx)("div",{className:"grid grid-cols-3 gap-1",children:f.STAGES.map(e=>(0,t.jsxs)(r.default,{href:`/stages/${e.slug??String(e.id)}`,className:"flex flex-col rounded-lg px-4 py-3 transition-colors hover:bg-[var(--color-deep-purple)]/10",children:[(0,t.jsx)("span",{className:"text-sm font-semibold text-[var(--color-black)]",children:e.title}),(0,t.jsx)("span",{className:"text-xs text-gray-500",children:e.subt
1itle})]},e.id))})})]}):null,(0,t.jsxs)("li",{className:"nav__item nav__item--mega nav__item--mega-small group relative",children:[(0,t.jsxs)("button",{type:"button",className:"nav__link flex items-center gap-1 rounded-md bg-white/25 px-3 py-2 text-sm font-medium text-[var(--color-black)] transition-colors hover:bg-white/50 hover:text-[var(--color-deep-purple)] [&_svg]:transition-transform group-hover:[&_svg]:rotate-180",children:["Resources",(0,t.jsx)(l.HiChevronDown,{className:"h-3 w-3"})]}),(0,t.jsx)("div",{className:"mega-dropdown mega-dropdown--small invisible absolute left-1/2 top-full z-50 mt-3 min-w-[280px] -translate-x-1/2 rounded-xl bg-white/98 p-4 shadow-xl backdrop-blur-xl opacity-0 transition-all duration-200 group-hover:visible group-hover:opacity-100",children:(0,t.jsx)("div",{className:"flex flex-col gap-0",children:Z.map(e=>(0,t.jsxs)(r.default,{href:e.href,className:"flex flex-col rounded-lg px-4 py-3 transition-colors hover:bg-[var(--color-deep-purple)]/10",children:[(0,t.jsx)("span",{className:"text-sm font-semibold text-[var(--color-black)]",children:e.title}),(0,t.jsx)("span",{className:"text-xs text-gray-500",children:e.desc})]},e.title))})})]})]})}),(0,t.jsx)("div",{className:"hidden items-center gap-2 md:flex",children:(0,t.jsx)(m,{})}),(0,t.jsxs)("button",{type:"button",className:(0,a.cn)("header__menu-toggle flex flex-col gap-[5px] rounded border-0 bg-transparent p-2 md:hidden",o&&"active"),"aria-label":"Toggle menu",onClick:e=>{e.stopPropagation(),c(e=>!e)},children:[(0,t.jsx)("span",{className:(0,a.cn)("block h-0.5 w-6 rounded-sm bg-[var(--color-black)] transition-all duration-200",o&&"translate-y-[7px] rotate-45")}),(0,t.jsx)("span",{className:(0,a.cn)("block h-0.5 w-6 rounded-sm bg-[var(--color-black)] transition-all duration-200",o&&"opacity-0")}),(0,t.jsx)("span",{className:(0,a.cn)("block h-0.5 w-6 rounded-sm bg-[var(--color-black)] transition-all duration-200",o&&"-translate-y-[7px] -rotate-45")})]}),(0,t.jsxs)("nav",{className:(0,a.cn)("header__nav absolute right-0 top-[calc(100%+0.5rem)] z-[9999] w-[260px] max-h-[85vh] overflow-y-auto overflow-x-hidden rounded-xl border border-white/30 bg-white/50 p-4 shadow-xl backdrop-blur-xl scrollbar-hide md:hidden",o?"flex flex-col":"hidden"),style:{left:"auto"},"aria-label":"Mobile navigation",children:[(0,t.jsxs)("ul",{className:"nav__list flex flex-col gap-3",children:[(0,t.jsx)("li",{className:"nav__item w-full",children:(0,t.jsx)(r.default,{href:"/about",className:"nav__link flex w-full items-center justify-between rounded-lg bg-[#f5f5f7] px-4 py-3 text-base font-semibold text-[var(--color-black)] hover:bg-[#ebebf0]",onClick:ee,children:"About Us"})}),(0,t.jsx)("li",{className:"nav__item w-full md:hidden",children:(0,t.jsxs)(n.Collapsible,{open:u,onOpenChange:_,children:[(0,t.jsxs)(n.CollapsibleTrigger,{className:"nav__link flex w-full items-center justify-between rounded-lg bg-[#f5f5f7] px-4 py-3 text-base font-semibold text-[var(--color-black)] hover:bg-[#ebebf0] data-[state=open]:bg-[#ebebf0]","aria-expanded":u,children:["Services",(0,t.jsx)(l.HiChevronDown,{className:(0,a.cn)("h-3 w-3 shrink-0 transition-transform duration-200",u&&"rotate-180")})]}),(0,t.jsx)(n.CollapsibleContent,{children:(0,t.jsx)("div",{className:"mt-2 flex flex-col gap-3",children:C.map(e=>(0,t.jsxs)(r.default,{href:e.href,className:"flex w-full flex-col rounded-lg bg-[#f5f5f7] px-4 py-3 text-[var(--color-black)] hover:bg-[#ebebf0]",onClick:ee,children:[(0,t.jsx)("span",{className:"text-base font-semibold",children:e.title}),(0,t.jsx)("span",{className:"mt-0.5 text-xs text-gray-600",children:e.desc})]},e.title))})})]})}),(0,t.jsx)("li",{className:"nav__item w-full md:hidden",children:(0,t.jsxs)(n.Collapsible,{open:A,onOpenChange:R,children:[(0,t.jsxs)(n.CollapsibleTrigger,{className:"nav__link flex w-full items-center justify-between rounded-lg bg-[#f5f5f7] px-4 py-3 text-base font-semibold text-[var(--color-black)] hover:bg-[#ebebf0] data-[state=open]:bg-[#ebebf0]","aria-expanded":A,children:["Resources",(0,t.jsx)(l.HiChevronDown,{className:(0,a.cn)("h-3 w-3 shrink-0 transition-transform duration-200",A&&"rotate-180")}
1)]}),(0,t.jsx)(n.CollapsibleContent,{children:(0,t.jsx)("div",{className:"mt-2 flex flex-col gap-3",children:Z.map(e=>(0,t.jsxs)(r.default,{href:e.href,className:"flex w-full flex-col rounded-lg bg-[#f5f5f7] px-4 py-3 text-[var(--color-black)] hover:bg-[#ebebf0]",onClick:ee,children:[(0,t.jsx)("span",{className:"text-base font-semibold",children:e.title}),(0,t.jsx)("span",{className:"mt-0.5 text-xs text-gray-600",children:e.desc})]},e.title))})})]})}),X?(0,t.jsx)("li",{className:"nav__item w-full md:hidden",children:(0,t.jsxs)(n.Collapsible,{open:d,onOpenChange:h,children:[(0,t.jsxs)(n.CollapsibleTrigger,{className:"nav__link flex w-full items-center justify-between rounded-lg bg-[#f5f5f7] px-4 py-3 text-base font-semibold text-[var(--color-black)] hover:bg-[#ebebf0] data-[state=open]:bg-[#ebebf0]","aria-expanded":d,children:["Stages",(0,t.jsx)(l.HiChevronDown,{className:(0,a.cn)("h-3 w-3 shrink-0 transition-transform duration-200",d&&"rotate-180")})]}),(0,t.jsx)(n.CollapsibleContent,{children:(0,t.jsx)("div",{className:"mt-2 flex flex-col gap-3",children:f.STAGES.map(e=>(0,t.jsxs)(r.default,{href:`/stages/${e.slug??String(e.id)}`,className:"flex w-full flex-col rounded-lg bg-[#f5f5f7] px-4 py-3 text-[var(--color-black)] hover:bg-[#ebebf0]",onClick:ee,children:[(0,t.jsx)("span",{className:"text-base font-semibold",children:e.title}),(0,t.jsx)("span",{className:"mt-0.5 text-xs text-gray-600",children:e.subt
1itle})]},e.id))})})]})}):null]}),(0,t.jsx)("div",{className:"mt-4 flex flex-col gap-2 border-t border-white/40 pt-3",children:(0,t.jsx)(m,{mobile:!0,onNavigate:ee})})]})]})})}],70119)},387652,e=>{"use strict";var t=e.i(271645),r=e.i(749652);let s={some:0,all:1};e.s(["useInView",0,function(e,{root:i,margin:l,amount:a,once:n=!1,initial:o=!1}={}){let[c,d]=(0,t.useState)(o);return(0,t.useEffect)(()=>{if(!e.current||n&&c)return;let t={root:i&&i.current||void 0,margin:l,amount:a};return function(e,t,{root:i,margin:l,amount:a="some"}={}){let n=(0,r.resolveElements)(e),o=new WeakMap,c=new IntersectionObserver(e=>{e.forEach(e=>{let r=o.get(e.target);if(!!r!==e.isIntersecting)if(e.isIntersecting){let r=t(e.target,e);"function"==typeof r?o.set(e.target,r):c.unobserve(e.target)}else"function"==typeof r&&(r(e),o.delete(e.target))})},{root:i,rootMargin:l,threshold:"number"==typeof a?a:s[a]});return n.forEach(e=>c.observe(e)),()=>c.disconnect()}(e.current,()=>(d(!0),n?void 0:()=>d(!1)),t)},[i,e,l,n,a]),c}],387652)},278221,e=>{"use strict";var t=e.i(843476),r=e.i(271645);class s{width;height;x;y;vx;vy;age;life;constructor(e,t){this.width=e,this.height=t,this.x=0,this.y=0,this.vx=0,this.vy=0,this.age=0,this.life=0,this.reset()}reset(){this.x=Math.random()*this.width,this.y=Math.random()*this.height,this.vx=0,this.vy=0,this.age=0,this.life=200*Math.random()+100}update(e){let t=(Math.cos(.005*this.x)+Math.sin(.005*this.y))*Math.PI;if(this.vx+=.2*Math.cos(t)*.8,this.vy+=.2*Math.sin(t)*.8,-1e3!==e.x&&-1e3!==e.y){let t=e.x-this.x,r=e.y-this.y,s=Math.sqrt(t*t+r*r);if(s<150){let e=(150-s)/150;this.vx-=t*e*.05,this.vy-=r*e*.05}}let r=Math.sqrt(this.vx*this.vx+this.vy*this.vy);r>3&&(this.vx=this.vx/r*3,this.vy=this.vy/r*3),this.x+=this.vx,this.y+=this.vy,this.vx*=.95,this.vy*=.95,this.age++,this.age>this.life&&this.reset(),this.x<0&&(this.x=this.width),this.x>this.width&&(this.x=0),this.y<0&&(this.y=this.height),this.y>this.height&&(this.y=0)}draw(e){let t=1-2*Math.abs(this.age/this.life-.5);e.fillStyle="#818cf8",e.globalAlpha=Math.min(1,1.2*t),e.fillRect(this.x,this.y,2,2)}}e.s(["FlowFieldCanvas",0,function(){let e=(0,r.useRef)(null),i=(0,r.useRef)(null);return(0,r.useEffect)(()=>{let t=e.current,r=i.current;if(!t||!r)return;let l=t.getContext("2d");if(!l)return;let a=0,n=0,o=[],c={x:-1e3,y:-1e3},d=0,h=!1;function u(){let t=i.current,r=e.current;if(!t||!r)return;let c=t.getBoundingClientRect(),d=Math.floor(c.width),h=Math.floor(c.height);if(d<=0||h<=0)return;a=d,n=h;let u=window.devicePixelRatio||1;r.width=a*u,r.height=n*u,l.setTransform(1,0,0,1,0,0),l.scale(u,u),r.style.width=`${a}px`,r.style.height=`${n}px`,o=Array.from({length:700},()=>new s(a,n))}function m(){if(a<=0||n<=0){d=requestAnimationFrame(m);return}l.globalAlpha=1,l.fillStyle="rgba(255, 255, 255, 0.06)",l.fillRect(0,0,a,n),o.forEach(e=>{e.update(c),e.draw(l)}),l.globalAlpha=1,d=requestAnimationFrame(m)}let f=e=>{let r=t.getBoundingClientRect();c.x=e.clientX-r.left,c.y=e.clientY-r.top},p=()=>{c.x=-1e3,c.y=-1e3},x=requestAnimationFrame(()=>{u(),a>0&&n>0&&!h&&(h=!0,m())}),g=new ResizeObserver(()=>{u(),a>0&&n>0&&!h&&(h=!0,m())});g.observe(r);let b=()=>u();return window.addEventListener("resize",b),t.addEventListener("mousemove",f),t.addEventListener("mouseleave",p),()=>{cancelAnimationFrame(x),cancelAnimationFrame(d),g.disconnect(),window.removeEventListener("resize",b),t.removeEventListener("mousemove",f),t.removeEventListener("mouseleave",p)}},[]),(0,t.jsx)("div",{ref:i,className:"absolute inset-0 min-h-[480px] w-full",children:(0,t.jsx)("canvas",{ref:e,className:"neural-canvas h-full w-full","aria-hidden":!0})})}])},455577,e=>{"use strict";var t=e.i(271645);let r="6LeV724sAAAAAIaqMGZy25KqHPKaEj3YTyYC_HO5".trim()||"",s="https://www.google.com/recaptcha/api.js",i="grecaptcha",l=!1,a=null;e.s(["useRecaptcha",0,function(){let[e,n]=(0,t.useState)(!1),o=(0,t.useRef)(!1);return{getToken:(0,t.useCallback)(async e=>{if(!r)return"";try{o.current||(await ("u"<typeof document||l&&window[i]?Promise.resolve():a||(a=new Promise((e,t)=>{let a=document.querySelector(`script[src="${s}"]`);if(a)return void(window[i]?(l=!0,e()):(a.addEventListener("load",()=>{l=!0,e()}),a.addEventListener("error",()=>t(Error("reCAPTCHA script failed to load")))));let n=document.createElement("script");n.src=`${s}?render=${r}`,n.async=!0,n.onload=()=>{l=!0,e()},n.onerror=()=>t(Error("reCAPTCHA script failed to load")),document.head.appendChild(n)}))),o.current=!0,n(!0));let t=window[i];if(!t)return"";return new Promise(s=>{t.ready(()=>{t.execute(r,{action:e}).then(s).catch(()=>s(""))})})}catch{return""}},[]),isReady:e,isConfigured:!!r}}])},408392,e=>{"use strict";var t=e.i(843476),r=e.i(271645),s=e.i(846932),i=e.i(387652),l=e.i(114674),a=e.i(278221),n=e.i(167881),o=e.i(23750),c=e.i(10708),d=e.i(62870),h=e.i(184762),u=e.i(455577);let m=[{value:"general",label:"General Inquiry"},{value:"support",label:"Support Request"}
1,{value:"partnership",label:"Partnership Opportunity"},{value:"feedback",label:"Feedback"},{value:"careers",label:"Careers"},{value:"media",label:"Media & Press"}],f="w-full rounded-xl border border-gray-200/80 bg-white/90 px-4 py-3.5 text-[var(--color-black)] shadow-sm transition-all placeholder:text-gray-400 focus:border-[var(--color-deep-purple)] focus:bg-white focus:outline-none focus:ring-4 focus:ring-[var(--color-purple-light)]/20";e.s(["ContactSection",0,function(){let[e,p]=(0,r.useState)("idle"),[x,g]=(0,r.useState)(""),[b,v]=(0,r.useState)(""),y=(0,r.useRef)(null),w=(0,r.useRef)(null),j=(0,i.useInView)(y,{once:!0,margin:"-80px"}),N=(0,i.useInView)(w,{once:!0,margin:"-80px"}),{getToken:k}=(0,u.useRecaptcha)(),S=async e=>{e.preventDefault(),p("loading"),g("");let t=new FormData(e.currentTarget),r=await k("contact"),s={name:t.get("name"),email:t.get("email"),phone:t.get("phone")||void 0,subject:b||t.get("subject"),message:t.get("message"),recaptchaToken:r||void 0};try{let e=await fetch("/api/contact",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(s)}),t=await e.json().catch(()=>({}));if(!e.ok){p("error"),g(t?.error||"Something went wrong. Please try again.");return}p("success")}catch{p("error"),g("Network error. Please check your connection and try again.")}};return(0,t.jsxs)("section",{ref:y,className:"relative overflow-hidden bg-gradient-to-b from-white via-[#f8f7fc] to-white py-20",children:[(0,t.jsx)(a.FlowFieldCanvas,{}),(0,t.jsxs)("div",{className:"relative z-[1] mx-auto max-w-[1400px] px-6",children:[(0,t.jsxs)(s.motion.div,{className:"mx-auto mb-10 max-w-[720px] text-center",initial:{opacity:0,y:20},animate:j?{opacity:1,y:0}:{},transition:{duration:.6},children:[(0,t.jsx)("span",{className:"mb-4 inline-flex items-center justify-center rounded-full border border-[var(--color-deep-purple)]/15 bg-white/70 px-4 py-2 text-[10px] font-semibold uppercase tracking-[0.32em] text-[var(--color-deep-purple)] shadow-sm",children:"We're here for you"}),(0,t.jsx)("h1",{className:"font-[family-name:var(--font-oswald)] text-3xl font-bold uppercase leading-tight tracking-wide text-[var(--color-black)] sm:text-4xl md:text-5xl",children:"Get in Touch"}),(0,t.jsx)("p",{className:"mt-4 text-base text-gray-600 sm:text-lg",children:"Have a question or just want to say hello? Drop us a line and we'll respond within 24â48 hours."}),(0,t.jsxs)("div",{className:"mt-6 flex items-center justify-center gap-3 text-sm text-gray-500",children:[(0,t.jsx)("span",{className:"flex h-9 w-9 items-center justify-center rounded-full border border-[var(--color-deep-purple)]/20 bg-white/80 text-[var(--color-deep-purple)] shadow-sm",children:(0,t.jsx)(l.HiMapPin,{className:"h-4 w-4"})}),(0,t.jsx)("span",{className:"font-medium text-gray-600",children:"New York City, USA"})]})]}),(0,t.jsx)("div",{ref:w,className:"mx-auto max-w-[560px]",children:(0,t.jsx)(s.motion.div,{className:"rounded-3xl border border-white/70 bg-white p-8 shadow-[0_24px_60px_rgba(15,23,42,0.12)] sm:p-10",initial:{opacity:0,y:24},animate:N?{opacity:1,y:0}:{},transition:{duration:.5},children:"success"===e?(0,t.jsxs)(s.motion.div,{className:"flex flex-col items-center py-12 text-center",initial:{opacity:0,scale:.98},animate:{opacity:1,scale:1},transition:{duration:.4},children:[(0,t.jsx)("div",{className:"mb-4 flex h-16 w-16 items-center justify-center rounded-full bg-emerald-100",children:(0,t.jsx)(l.HiCheckCircle,{className:"h-8 w-8 text-emerald-600"})}),(0,t.jsx)("h3",{className:"mb-2 font-[family-name:var(--font-oswald)] text-2xl font-bold text-[var(--color-black)]",children:"Message Sent!"}),(0,t.jsx)("p",{className:"mb-6 max-w-sm text-gray-600",children:"Thank you for reaching out. We'll get back to you shortly."}),(0,t.jsx)("button",{type:"button",onClick:()=>p("idle"),className:"rounded-md bg-[var(--color-deep-purple)] px-6 py-3 text-sm font-semibold text-white transition-colors hover:bg-[var(--color-purple-light)]",children:"Send Another Message"})]}):(0,t.jsxs)("form",{onSubmit:S,className:"flex flex-col gap-6",children:[(0,t.jsxs)("div",{className:"grid gap-6 sm:grid-cols-2",children:[(0,t.jsxs)("div",{className:"flex flex-col",children:[(0,t.jsxs)(c.Label,{htmlFor:"name",className:"mb-2 text-[11px] font-semibold uppercase tracking-[0.28em] text-gray-500",children:["Full Name ",(0,t.jsx)("span",{className:"text-red-500",children:"*"})]}),(0,t.jsx)(o.Input,{id:"name",name:"name",type:"text",placeholder:"Required",required:!0,disabled:"loading"===e,className:f})]}),(0,t.jsxs)("div",{className:"flex flex-col",children:[(0,t.jsxs)(c.Label,{htmlFor:"email",className:"mb-2 text-[11px] font-semibold uppercase tracking-[0.28em] text-gray-500",children:["Email Address ",(0,t.jsx)("span",{className:"text-red-500",children:"*"})]}),(0,t.jsx)(o.Input,{id:"email",name:"email",type:"email",placeholder:"Required",required:!0,disabled:"loading"===e,className:f})]})]}),(0,t.jsxs)("div",{className:"flex flex-col",children:[(0,t.jsxs)(c.Label,{htmlFor:"subject",className:"mb-2 text-[11px] font-semibold uppercase tracking-[0.28em] text-gray-500",children:["Subject ",(0,t.jsx)("span",{className:"text-red-500",children:"*"})]}),(0,t.jsxs)(d.Select,{value:b,onValueChange:v,disabled:"loading"===e,children:[(0,t.jsx)(d.SelectTrigger,{id:"subject",className:`${f} h-12`,children:(0,t.jsx)(d.SelectValue,{placeholder:"Select a topic"})}),(0,t.jsx)(d.SelectContent,{className:"border-gray-200 bg-white text-gray-900 shadow-lg",children:m.map(e=>(0,t.jsx)(d.SelectItem,{value:e.value,children:e.label},e.value))})]})]}),(0,t.jsxs)("div",{className:"flex flex-col",children:[(0,t.jsxs)(c.Label,{htmlFor:"message",className:"mb-2 text-[11px] font-semibold uppercase tracking-[0.28em] text-gray-500",children:["Message ",(0,t.jsx)("span",{className:"text-red-500",children:"*"})]}),(0,t.jsx)(h.Textarea,{id:"message",name:"message",rows:5,placeholder:"How can we help?",required:!0,disabled:"loading"===e,className:`${f} min-h-[140px] resize-y`})]}),"error"===e&&x&&(0,t.jsx)("p",{className:"rounded-lg bg-red-50 px-4 py-3 text-sm text-red-600",children:x}),(0,t.jsx)(n.Button,{type:"submit",disabled:"loading"===e,className:"mt-2 h-auto w-full rounded-full bg-[var(--color-black)] py-4 text-xs font-semibold uppercase tracking-[0.4em] text-white shadow-[0_18px_40px_rgba(15,23,42,0.2)] transition-all hover:-translate-y-0.5 hover:bg-[var(--color-deep-purple)]",children:"loading"===e?(0,t.jsxs)("span",{className:"inline-flex items-center gap-2",children:[(0,t.jsxs)("svg",{className:"h-4 w-4 animate-spin",viewBox:"0 0 24 24",fill:"none",children:[(0,t.jsx)("circle",{className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),(0,t.jsx)("path",{className:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4z"})]}),"Sending..."]}):"Send Message"})]})})})]})]})}])}]);
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.