try{!function(){var a="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},b=(new a.Error).stack;b&&(a._sentryDebugIds=a._sentryDebugIds||{},a._sentryDebugIds[b]="e69d3062-afe5-4e4c-b1a7-e4443a1ecffc",a._sentryDebugIdIdentifier="sentry-dbid-e69d3062-afe5-4e4c-b1a7-e4443a1ecffc")}()}catch(a){}exports.id=8251,exports.ids=[8251],exports.modules={2197:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>d});let d=(0,c(13725).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/Nicholai/Documents/Dev/biohazard-vfx-2/src/app/global-error.tsx\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/Nicholai/Documents/Dev/biohazard-vfx-2/src/app/global-error.tsx","default")},8607:(a,b,c)=>{"use strict";c.d(b,{TM:()=>f,pd:()=>e,y9:()=>g});var d=c(49431);function e({label:a,error:b,helperText:c,className:e="",id:f,...g}){let h=f||a?.toLowerCase().replace(/\s+/g,"-");return(0,d.jsxs)("div",{className:"space-y-2",children:[a&&(0,d.jsx)("label",{htmlFor:h,className:"label",children:a}),(0,d.jsx)("input",{id:h,className:`input ${b?"border-red-500":""} ${e}`,...g}),b&&(0,d.jsx)("p",{className:"text-sm text-red-400",children:b}),c&&!b&&(0,d.jsx)("p",{className:"text-sm text-text-muted",children:c})]})}function f({label:a,error:b,helperText:c,className:e="",id:f,...g}){let h=f||a?.toLowerCase().replace(/\s+/g,"-");return(0,d.jsxs)("div",{className:"space-y-2",children:[a&&(0,d.jsx)("label",{htmlFor:h,className:"label",children:a}),(0,d.jsx)("textarea",{id:h,className:`input min-h-[120px] ${b?"border-red-500":""} ${e}`,...g}),b&&(0,d.jsx)("p",{className:"text-sm text-red-400",children:b}),c&&!b&&(0,d.jsx)("p",{className:"text-sm text-text-muted",children:c})]})}function g({title:a,description:b,children:c}){return(0,d.jsxs)("div",{className:"space-y-4",children:[(0,d.jsxs)("div",{children:[(0,d.jsx)("h3",{className:"text-lg font-semibold text-white",children:a}),b&&(0,d.jsx)("p",{className:"text-sm text-text-muted mt-1",children:b})]}),c]})}},12401:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>e});var d=c(63446);let e=async a=>[{type:"image/svg+xml",sizes:"any",url:(0,d.fillMetadataSegment)(".",await a.params,"icon.svg")+"?042324936fe4a851"}]},16829:(a,b,c)=>{"use strict";c.d(b,{default:()=>k});var d=c(49431),e=c(27490),f=c(29950),g=c.n(f),h=c(22495),i=c(8607),j=c(65353);function k(){let[a,b]=(0,e.useState)(""),[c,f]=(0,e.useState)(""),[k,l]=(0,e.useState)(""),[m,n]=(0,e.useState)(!1),[o,p]=(0,e.useState)(!1),[q,r]=(0,e.useState)(""),s=async d=>{if(d.preventDefault(),r(""),!m)return void r("Please agree to the Terms of Use and Privacy Policy.");let e=process.env.NEXT_PUBLIC_WEB3FORMS_ACCESS_KEY;if(!e)return void r("Form configuration error. Missing Web3Forms access key.");p(!0);try{let d=await fetch("https://api.web3forms.com/submit",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({access_key:e,subject:"Footer inquiry from Biohazard VFX",from_name:c||"Website Visitor",replyto:a,firstName:c,email:a,message:k,consent_terms:!0,consent_privacy:!0,source:"FooterForm"})});(await d.json()).success?(r("Thank you! We'll be in touch soon."),b(""),f(""),l(""),n(!1)):r("There was an error sending your message. Please try again.")}catch{r("There was an error sending your message. Please try again.")}finally{p(!1)}};return(0,d.jsx)("footer",{className:"bg-surface-900 pt-12 pb-8 border-t border-surface-500",children:(0,d.jsxs)(h.mc,{children:[(0,d.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-8 items-start",children:[(0,d.jsxs)("div",{children:[(0,d.jsx)("h3",{className:"text-2xl font-display text-white mb-2",children:"Biohazard VFX"}),(0,d.jsx)("p",{className:"text-text-muted text-sm max-w-md",children:"Global visual effects studio delivering world-class VFX supervision, 3D animation, and post-production services."}),(0,d.jsx)("p",{className:"text-text-muted text-sm mt-3",children:"We usually reply within 24 hours."})]}),(0,d.jsxs)("div",{children:[(0,d.jsx)("h4",{className:"text-lg font-semibold text-white mb-3",children:"Explore"}),(0,d.jsxs)("div",{className:"flex gap-8",children:[(0,d.jsxs)("nav",{className:"space-y-2",children:[(0,d.jsx)(g(),{href:"/projects",className:"block link-muted text-sm",children:"Projects"}),(0,d.jsx)(g(),{href:"/crew",className:"block link-muted text-sm",children:"Our Crew"}),(0,d.jsx)(g(),{href:"/blog",className:"block link-muted text-sm",children:"Blog"}),(0,d.jsx)(g(),{href:"/contact",className:"block link-muted text-sm",children:"Contact"})]}),(0,d.jsxs)("nav",{className:"space-y-2",children:[(0,d.jsx)(g(),{href:"/services",className:"block link-muted text-sm",children:"Services"}),(0,d.jsx)(g(),{href:"/privacy",className:"block link-muted text-sm",children:"Privacy"}),(0,d.jsx)(g(),{href:"/terms",className:"block link-muted text-sm",children:"Terms"}),(0,d.jsx)("a",{href:"mailto:Davane@biohazardvfx.com",className:"block link-muted text-sm",children:"DMCA"})]})]})]}),(0,d.jsxs)("div",{children:[(0,d.jsx)("h4",{className:"text-lg font-semibold text-white mb-3",children:"Contact Us"}),(0,d.jsxs)("form",{onSubmit:s,className:"space-y-3",noValidate:!0,children:[(0,d.jsx)(i.pd,{type:"text",placeholder:"Name",value:c,onChange:a=>f(a.target.value),className:"text-sm",autoComplete:"given-name",name:"firstName",id:"footer-firstName"}),(0,d.jsx)(i.pd,{type:"email",placeholder:"Email",value:a,onChange:a=>b(a.target.value),className:"text-sm",autoComplete:"email",name:"email",id:"footer-email"}),(0,d.jsx)(i.TM,{placeholder:"Message",value:k,onChange:a=>l(a.target.value),rows:3,className:"text-sm",name:"message",id:"footer-message"}),(0,d.jsxs)("label",{className:"flex items-center gap-2 text-xs text-text-muted",children:[(0,d.jsx)("input",{type:"checkbox",className:"h-4 w-4",checked:m,onChange:a=>n(a.target.checked),"aria-describedby":"footer-consent-help"}),(0,d.jsxs)("span",{children:["I agree to the ",(0,d.jsx)(g(),{href:"/terms",className:"link",children:"Terms"})," and ",(0,d.jsx)(g(),{href:"/privacy",className:"link",children:"Privacy Policy"}),"."]})]}),(0,d.jsx)("p",{id:"footer-consent-help",className:"sr-only",children:"You must agree before submitting."}),(0,d.jsxs)("div",{className:"flex items-center gap-3",children:[(0,d.jsx)(j.$n,{type:"submit",disabled:o||!m,isLoading:o,size:"sm",children:"Send"}),(0,d.jsx)(g(),{href:"/contact",className:"text-sm link-muted hover:text-text-secondary",children:"Or open contact page"})]}),q&&(0,d.jsx)("p",{className:`text-xs ${q.includes("Thank you")?"text-green-400":"text-red-400"}`,children:q})]})]})]}),(0,d.jsx)("div",{className:"border-t border-surface-500 mt-8 pt-6",children:(0,d.jsxs)("div",{className:"flex flex-col md:flex-row justify-between items-center gap-4",children:[(0,d.jsxs)("div",{className:"flex items-center gap-4",children:[(0,d.jsx)("a",{href:"https://www.instagram.com/biohazardvfx/",target:"_blank",rel:"noopener noreferrer",className:"text-text-muted hover:text-accent transition-colors","aria-label":"Instagram",title:"Instagram",children:(0,d.jsx)("svg",{className:"w-5 h-5",fill:"currentColor",viewBox:"0 0 24 24",children:(0,d.jsx)("path",{d:"M12 2.163c3.204 0 3.584.012 4.85.07 3.252.148 4.771 1.691 4.919 4.919.058 1.265.069 1.645.069 4.849 0 3.205-.012 3.584-.069 4.849-.149 3.225-1.664 4.771-4.919 4.919-1.266.058-1.644.07-4.85.07-3.204 0-3.584-.012-4.849-.07-3.26-.149-4.771-1.699-4.919-4.92-.058-1.265-.07-1.644-.07-4.849 0-3.204.013-3.583.07-4.849.149-3.227 1.664-4.771 4.919-4.919 1.266-.057 1.645-.069 4.849-.069zM12 5c-3.859 0-7 3.141-7 7 0 3.859 3.141 7 7 7s7-3.141 7-7c0-3.859-3.141-7-7-7zm6.406.52a1.44 1.44 0 1 0 0 2.88 1.44 1.44 0 0 0 0-2.88z"})})}),(0,d.jsx)("a",{href:"https://vimeo.com/biohazardvfx",target:"_blank",rel:"noopener noreferrer",className:"text-text-muted hover:text-accent transition-colors","aria-label":"Vimeo",title:"Vimeo",children:(0,d.jsx)("svg",{className:"w-5 h-5",fill:"currentColor",viewBox:"0 0 24 24",children:(0,d.jsx)("path",{d:"M22.875 10.063c-2.442 5.217-8.337 12.319-12.063 12.319-3.672 0-4.203-7.831-6.208-13.043-.987-2.565-1.624-1.814-3.474-.281L0 8.019c2.698-2.435 5.394-5.391 7.396-5.553 3.162-.242 3.487 2.831 4.024 5.479.699 3.463 1.809 8.845 2.801 8.845.796 0 2.289-3.313 2.428-4.516.222-1.853-1.512-1.879-2.971-1.271C17.503-2.071 22.875 4.44 22.875 10.063z"})})}),(0,d.jsx)("a",{href:"https://www.youtube.com/@biohazardvfx",target:"_blank",rel:"noopener noreferrer",className:"text-text-muted hover:text-accent transition-colors","aria-label":"YouTube",title:"YouTube",children:(0,d.jsx)("svg",{className:"w-5 h-5",fill:"currentColor",viewBox:"0 0 24 24",children:(0,d.jsx)("path",{d:"M23.498 6.186a3.016 3.016 0 0 0-2.122-2.136C19.505 3.545 12 3.545 12 3.545s-7.505 0-9.377.505A3.017 3.017 0 0 0 .502 6.186C0 8.07 0 12 0 12s0 3.93.502 5.814a3.016 3.016 0 0 0 2.122 2.136c1.871.505 9.376.505 9.376.505s7.505 0 9.377-.505a3.015 3.015 0 0 0 2.122-2.136C24 15.93 24 12 24 12s0-3.93-.502-5.814zM9.545 15.568V8.432L15.818 12l-6.273 3.568z"})})})]}),(0,d.jsxs)("div",{className:"flex flex-col md:flex-row items-center gap-4 text-sm text-text-muted",children:[(0,d.jsxs)("p",{children:["\xa9 ",new Date().getFullYear()," Biohazard VFX. All rights reserved."]}),(0,d.jsxs)("div",{className:"flex gap-4",children:[(0,d.jsx)(g(),{href:"/privacy",className:"link-muted",children:"Privacy Policy"}),(0,d.jsx)(g(),{href:"/terms",className:"link-muted",children:"Terms of Use"}),(0,d.jsx)("a",{href:"mailto:Davane@biohazardvfx.com",className:"link-muted",title:"DMCA",children:"DMCA"})]})]})]})})]})})}},20757:(a,b,c)=>{Promise.resolve().then(c.bind(c,68319)),Promise.resolve().then(c.bind(c,50148)),Promise.resolve().then(c.bind(c,33298)),Promise.resolve().then(c.bind(c,70618))},22495:(a,b,c)=>{"use strict";c.d(b,{mc:()=>g,wn:()=>f,xA:()=>h,zY:()=>e});var d=c(49431);function e({title:a,subtitle:b,actions:c}){return(0,d.jsx)("div",{className:"mb-6",children:(0,d.jsxs)("div",{className:"flex items-start justify-between",children:[(0,d.jsxs)("div",{children:[(0,d.jsx)("h1",{className:"text-3xl font-display tracking-tight text-white mb-2",children:a}),b&&(0,d.jsx)("p",{className:"text-text-muted text-base max-w-3xl",children:b})]}),c&&(0,d.jsx)("div",{className:"flex items-center gap-2",children:c})]})})}function f({children:a,className:b=""}){return(0,d.jsx)("section",{className:`section-spacing ${b}`,children:a})}function g({children:a,className:b=""}){return(0,d.jsx)("div",{className:`w-full px-4 sm:px-6 lg:px-8 ${b}`,children:a})}function h({children:a,cols:b=3,gap:c="md",className:e=""}){return(0,d.jsx)("div",{className:`grid ${{1:"grid-cols-1",2:"grid-cols-1 md:grid-cols-2",3:"grid-cols-1 md:grid-cols-2 lg:grid-cols-3",4:"grid-cols-1 md:grid-cols-2 lg:grid-cols-4"}[b]} ${{sm:"gap-3",md:"gap-4",lg:"gap-6"}[c]} ${e}`,children:a})}c(27490)},33298:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(13725).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/Nicholai/Documents/Dev/biohazard-vfx-2/src/components/Providers.tsx\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/Nicholai/Documents/Dev/biohazard-vfx-2/src/components/Providers.tsx","default")},34997:a=>{function b(a){var b=Error("Cannot find module '"+a+"'");throw b.code="MODULE_NOT_FOUND",b}b.keys=()=>[],b.resolve=b,b.id=34997,a.exports=b},35516:(a,b,c)=>{"use strict";c.d(b,{default:()=>y});var d=c(49431),e=c(75056),f=c(44670),g=c(27490),h=c(94129),i=c(55868),j=c(76004);let k=h.Kq,l=g.forwardRef(({className:a,...b},c)=>(0,d.jsx)(h.LM,{ref:c,className:(0,j.cn)("fixed bottom-0 z-[100] flex max-h-screen w-full flex-col-reverse p-4 sm:bottom-4 sm:right-4 sm:w-[390px]",a),...b}));l.displayName=h.LM.displayName;let m=(0,i.F)("group pointer-events-auto relative flex w-full items-center justify-between space-x-4 overflow-hidden rounded-md border p-6 pr-8 shadow-lg transition-all data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=move]:transition-none",{variants:{variant:{default:"border-bg-light bg-bg text-text",destructive:"destructive group border-destructive bg-destructive text-destructive-foreground"}},defaultVariants:{variant:"default"}}),n=g.forwardRef(({className:a,variant:b,...c},e)=>(0,d.jsx)(h.bL,{ref:e,className:(0,j.cn)(m({variant:b}),a),...c}));n.displayName=h.bL.displayName;let o=g.forwardRef(({className:a,...b},c)=>(0,d.jsx)(h.hE,{ref:c,className:(0,j.cn)("text-sm font-semibold",a),...b}));o.displayName=h.hE.displayName;let p=g.forwardRef(({className:a,...b},c)=>(0,d.jsx)(h.VY,{ref:c,className:(0,j.cn)("text-sm opacity-90",a),...b}));p.displayName=h.VY.displayName;let q=g.forwardRef(({className:a,...b},c)=>(0,d.jsx)(h.bm,{ref:c,className:(0,j.cn)("absolute right-2 top-2 rounded-md p-1 text-foreground/50 opacity-0 transition-opacity hover:text-foreground focus:opacity-100 focus:outline-none group-hover:opacity-100",a),...b,children:(0,d.jsx)("svg",{width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,d.jsx)("path",{d:"M11.7816 4.03157C12.0062 3.80702 12.0062 3.44295 11.7816 3.2184C11.5571 2.99385 11.193 2.99385 10.9685 3.2184L7.50005 6.68682L4.03164 3.2184C3.80708 2.99385 3.44301 2.99385 3.21846 3.2184C2.99391 3.44295 2.99391 3.80702 3.21846 4.03157L6.68688 7.49999L3.21846 10.9684C2.99391 11.193 2.99391 11.557 3.21846 11.7816C3.44301 12.0061 3.80708 12.0061 4.03164 11.7816L7.50005 8.31316L10.9685 11.7816C11.193 12.0061 11.5571 12.0061 11.7816 11.7816C12.0062 11.557 12.0062 11.193 11.7816 10.9684L8.31322 7.49999L11.7816 4.03157Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"})})}));q.displayName=h.bm.displayName;var r=c(65283);function s(){let{toasts:a}=(0,r.d)();return(0,d.jsxs)(k,{children:[a.map(function({id:a,title:b,description:c,action:e,...f}){return(0,d.jsxs)(n,{...f,children:[(0,d.jsxs)("div",{className:"grid gap-1",children:[b&&(0,d.jsx)(o,{children:b}),c&&(0,d.jsx)(p,{children:c})]}),e,(0,d.jsx)(q,{})]},a)}),(0,d.jsx)(l,{})]})}function t({loadingStates:a,loading:b,duration:c=2500,onComplete:e,className:f}){let[h,i]=(0,g.useState)(!1),[j,k]=(0,g.useState)(0),[l,m]=(0,g.useState)(!1);if((0,g.useMemo)(()=>Math.max(200,Math.floor(c/Math.max(1,a.length))),[c,a.length]),(0,g.useRef)(null),(0,g.useRef)(null),(0,g.useRef)(null),!b)return null;let n=a[j]?.text??a[a.length-1]?.text??"";return(0,d.jsx)("div",{className:["fixed inset-0 z-[120] bg-black/95 flex items-center justify-center overflow-hidden transition-opacity duration-700",h?"opacity-100":"opacity-0",l?"opacity-0":"opacity-100",f??""].join(" "),"aria-live":"polite",role:"status",children:(0,d.jsxs)("div",{className:"relative flex flex-col items-center justify-center px-6 text-center",children:[(0,d.jsx)("div",{className:"text-2xl md:text-3xl font-light tracking-[0.5em] text-white/90 mb-6 select-none",children:"BIOHAZARD VFX"}),(0,d.jsx)("div",{className:"min-h-[2.5rem] md:min-h-[3rem] flex items-center",children:(0,d.jsx)("p",{className:"text-base md:text-lg font-medium text-white transition-all duration-300",children:n},j)}),(0,d.jsx)("div",{className:"mt-6 w-[220px] md:w-[300px] h-[3px] bg-white/15 rounded overflow-hidden",children:(0,d.jsx)("div",{className:"h-full bg-[#39C3EF] transition-all ease-out",style:{width:a.length>0?`${Math.min(100,Math.round((j+1)/a.length*100))}%`:"0%"}})})]})})}let u=(0,g.createContext)({isLoading:!0,setIsLoading:()=>{}});function v({children:a}){let[b,c]=(0,g.useState)(!0),[e,f]=(0,g.useState)(!0),[h,i]=(0,g.useState)(!1);return h?(0,d.jsxs)(u.Provider,{value:{isLoading:b,setIsLoading:c},children:[e&&(0,d.jsx)(t,{loadingStates:[{text:"Paying for Nuke"},{text:"Rewriting After Effects"},{text:"Containing the 19 sided ngon"},{text:"Rewriting IBK"},{text:"Migrating Nukepedia"},{text:"Overloading our renderfarm"},{text:"Hammering the VFX button"},{text:"Welcome to the shitshow"}],loading:e,duration:2e3,onComplete:()=>{f(!1),globalThis.setTimeout(()=>{c(!1)},100)}}),(0,d.jsx)("div",{className:`transition-opacity duration-1000 ${b?"opacity-0":"opacity-100"}`,children:a})]}):null}var w=c(31005);function x(a){return!function(a="video[data-autoplay]"){}(),null}function y({children:a}){return(0,d.jsx)(e.SessionProvider,{children:(0,d.jsx)(f.N,{attribute:"class",defaultTheme:"dark",enableSystem:!1,disableTransitionOnChange:!0,children:(0,d.jsx)(w.x,{reducedMotion:"user",transition:{duration:.6,ease:[.2,.8,.2,1]},children:(0,d.jsxs)(v,{children:[a,(0,d.jsx)(s,{}),(0,d.jsx)(x,{})]})})})})}},43547:(a,b,c)=>{Promise.resolve().then(c.t.bind(c,50888,23)),Promise.resolve().then(c.t.bind(c,6270,23)),Promise.resolve().then(c.t.bind(c,60937,23)),Promise.resolve().then(c.t.bind(c,79149,23)),Promise.resolve().then(c.t.bind(c,97269,23)),Promise.resolve().then(c.t.bind(c,26845,23)),Promise.resolve().then(c.t.bind(c,55471,23)),Promise.resolve().then(c.t.bind(c,18613,23))},43779:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>g});var d=c(49431);c(13229);var e=c(43337),f=c.n(e);function g({error:a}){return(0,d.jsx)("html",{children:(0,d.jsx)("body",{children:(0,d.jsx)(f(),{statusCode:0})})})}c(27490)},44725:a=>{function b(a){var b=Error("Cannot find module '"+a+"'");throw b.code="MODULE_NOT_FOUND",b}b.keys=()=>[],b.resolve=b,b.id=44725,a.exports=b},45386:(a,b,c)=>{"use strict";c.d(b,{_i:()=>e,to:()=>d});let d={metadataBase:new URL("https://biohazardvfx.com"),title:{default:"Biohazard VFX | Visual Effects Studio",template:"%s | Biohazard VFX"},description:"Global visual effects studio delivering world-class VFX supervision, 3D animation, and post-production services.",keywords:["VFX","visual effects","post-production","3D animation","video editing","music videos","commercials","film","animation"],authors:[{name:"Biohazard VFX Team"}],creator:"Biohazard VFX",publisher:"Biohazard VFX",robots:{index:!0,follow:!0,googleBot:{index:!0,follow:!0,"max-video-preview":-1,"max-image-preview":"large","max-snippet":-1}},openGraph:{type:"website",locale:"en_US",url:"https://biohazardvfx.com",siteName:"Biohazard VFX",images:[{url:"/images/splash.jpg",width:1200,height:630,alt:"Biohazard VFX Studio Splash"}]},twitter:{card:"summary_large_image",site:"@biohazardvfx",creator:"@biohazardvfx",images:["/images/splash.jpg"]},icons:{icon:"/icon.svg"}};function e(a={}){return{...d,...a,openGraph:{...d.openGraph,...a.openGraph||{}},twitter:{...d.twitter,...a.twitter||{}}}}},46487:(a,b,c)=>{Promise.resolve().then(c.bind(c,2197))},50148:(a,b,c)=>{"use strict";c.d(b,{AdminSidebar:()=>f,Navigation:()=>e});var d=c(13725);let e=(0,d.registerClientReference)(function(){throw Error("Attempted to call Navigation() from the server but Navigation is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/Nicholai/Documents/Dev/biohazard-vfx-2/src/components/Navigation.tsx","Navigation"),f=(0,d.registerClientReference)(function(){throw Error("Attempted to call AdminSidebar() from the server but AdminSidebar is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/Nicholai/Documents/Dev/biohazard-vfx-2/src/components/Navigation.tsx","AdminSidebar");(0,d.registerClientReference)(function(){throw Error("Attempted to call Breadcrumbs() from the server but Breadcrumbs is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/Nicholai/Documents/Dev/biohazard-vfx-2/src/components/Navigation.tsx","Breadcrumbs")},51241:(a,b,c)=>{"use strict";let d;c.r(b),c.d(b,{default:()=>w,generateImageMetadata:()=>u,generateMetadata:()=>t,generateViewport:()=>v,metadata:()=>q});var e=c(63033),f=c(69929),g=c(45386);c(61135),c(58988);var h=c(33298),i=c(50148),j=c(68319),k=c(70618),l=c(59408),m=c.n(l),n=c(65927),o=c.n(n),p=c(68575);let q=g.to,r={...e},s="workUnitAsyncStorage"in r?r.workUnitAsyncStorage:"requestAsyncStorage"in r?r.requestAsyncStorage:void 0;d=new Proxy(function({children:a}){return(0,f.jsx)("html",{lang:"en",className:"dark",suppressHydrationWarning:!0,children:(0,f.jsx)("body",{className:`${m().variable} ${o().variable} min-h-screen bg-surface-800 text-text-primary antialiased`,children:(0,f.jsxs)(h.default,{children:[(0,f.jsx)(i.Navigation,{}),a,(0,f.jsx)(j.default,{}),(0,f.jsx)(k.default,{})]})})})},{apply:(a,b,c)=>{let d,e,f;try{let a=s?.getStore();d=a?.headers.get("sentry-trace")??void 0,e=a?.headers.get("baggage")??void 0,f=a?.headers}catch{}return p.wrapServerComponentWithSentry(a,{componentRoute:"/",componentType:"Layout",sentryTraceHeader:d,baggageHeader:e,headers:f}).apply(b,c)}});let t=void 0,u=void 0,v=void 0,w=d},61135:()=>{},62613:(a,b,c)=>{Promise.resolve().then(c.bind(c,16829)),Promise.resolve().then(c.bind(c,73694)),Promise.resolve().then(c.bind(c,35516)),Promise.resolve().then(c.bind(c,68700))},62992:a=>{function b(a){var b=Error("Cannot find module '"+a+"'");throw b.code="MODULE_NOT_FOUND",b}b.keys=()=>[],b.resolve=b,b.id=62992,a.exports=b},65283:(a,b,c)=>{"use strict";c.d(b,{d:()=>k,o:()=>j});var d=c(27490);let e={ADD_TOAST:"ADD_TOAST",UPDATE_TOAST:"UPDATE_TOAST",DISMISS_TOAST:"DISMISS_TOAST",REMOVE_TOAST:"REMOVE_TOAST"},f=0,g=[],h={toasts:[]};function i(a){h=((a,b)=>{switch(b.type){case e.ADD_TOAST:return{...a,toasts:[b.toast,...a.toasts].slice(0,3)};case e.DISMISS_TOAST:{let{toastId:c}=b;return{...a,toasts:a.toasts.map(a=>a.id===c?{...a,status:"error"}:a)}}case e.REMOVE_TOAST:return{...a,toasts:a.toasts.filter(a=>a.id!==b.toastId)}}})(h,a),g.forEach(a=>{a(h)})}function j({...a}){let b=(f=(f+1)%Number.MAX_SAFE_INTEGER).toString();return i({type:e.ADD_TOAST,toast:{...a,id:b,status:a.status??"info",title:a.title,description:a.description,action:a.action}}),{id:b,dismiss:()=>i({type:e.DISMISS_TOAST,toastId:b}),update:a=>i({type:e.UPDATE_TOAST,toast:{...a,id:b}})}}function k(){let[a,b]=d.useState(h);return d.useEffect(()=>(g.push(b),()=>{let a=g.indexOf(b);a>-1&&g.splice(a,1)}),[a]),{...a,toast:j,dismiss:a=>i({type:e.DISMISS_TOAST,toastId:a})}}},65353:(a,b,c)=>{"use strict";c.d(b,{$n:()=>e});var d=c(49431);function e({variant:a="primary",size:b="md",isLoading:c=!1,children:e,className:f="",disabled:g,...h}){return(0,d.jsx)("button",{className:`${{primary:"btn-primary",secondary:"btn-secondary",ghost:"btn-ghost",danger:"btn bg-destructive text-destructive-foreground hover:bg-brand-primary"}[a]} ${{sm:"px-2 py-1 text-xs",md:"px-3 py-1.5 text-sm",lg:"px-4 py-2 text-base"}[b]} ${f} ${c?"opacity-75 cursor-wait":""}`,disabled:g||c,...h,children:c?(0,d.jsxs)("span",{className:"flex items-center gap-1",children:[(0,d.jsx)("span",{className:"spinner w-3 h-3"}),"Loading..."]}):e})}c(29950),c(27490)},68319:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(13725).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/Nicholai/Documents/Dev/biohazard-vfx-2/src/components/Footer.tsx\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/Nicholai/Documents/Dev/biohazard-vfx-2/src/components/Footer.tsx","default")},68700:(a,b,c)=>{"use strict";c.d(b,{default:()=>f});var d=c(49431),e=c(27490);function f(){let[a,b]=(0,e.useState)(!1),[c,f]=(0,e.useState)(!1);return c||!a?null:(0,d.jsx)("div",{className:"fixed bottom-0 left-0 right-0 z-50 bg-surface-900 border-t border-surface-700 p-4 shadow-lg",children:(0,d.jsxs)("div",{className:"max-w-7xl mx-auto flex flex-col sm:flex-row items-center justify-between gap-4",children:[(0,d.jsx)("div",{className:"flex-1",children:(0,d.jsxs)("p",{className:"text-text-primary text-sm",children:[(0,d.jsx)("span",{className:"font-semibold",children:"Privacy Notice:"})," We use cookies and tracking technologies to improve your experience. You can opt out of tracking at any time."]})}),(0,d.jsxs)("div",{className:"flex gap-2",children:[(0,d.jsx)("button",{onClick:()=>{localStorage.setItem("tracking-opted-out","false"),f(!1),b(!1)},className:"px-4 py-2 text-sm bg-surface-700 hover:bg-surface-600 text-text-primary rounded-md transition-colors duration-200",children:"Allow Tracking"}),(0,d.jsx)("button",{onClick:()=>{localStorage.setItem("tracking-opted-out","true"),f(!0),b(!1)},className:"px-4 py-2 text-sm bg-accent hover:bg-accent-hover text-white rounded-md transition-colors duration-200",children:"Opt Out"})]})]})})}},70618:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(13725).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/Nicholai/Documents/Dev/biohazard-vfx-2/src/components/TrackingOptOutBanner.tsx\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/Nicholai/Documents/Dev/biohazard-vfx-2/src/components/TrackingOptOutBanner.tsx","default")},72720:a=>{function b(a){var b=Error("Cannot find module '"+a+"'");throw b.code="MODULE_NOT_FOUND",b}b.keys=()=>[],b.resolve=b,b.id=72720,a.exports=b},73694:(a,b,c)=>{"use strict";c.d(b,{AdminSidebar:()=>m,Navigation:()=>l});var d=c(49431),e=c(29950),f=c.n(e),g=c(22293),h=c(27490),i=c(75056),j=c(94402),k=c(42520);function l(){let a=(0,g.usePathname)(),{data:b,status:c}=(0,i.useSession)(),[e,l]=(0,h.useState)(null),m=[{href:"/",label:"Home"},{href:"/projects",label:"Projects"},{href:"/crew",label:"Crew"},{href:"/blog",label:"Blog"},{href:"/faq",label:"FAQ"},{href:"/contact",label:"Contact"}],n="authenticated"===c?[...m,{href:"/admin",label:"Admin"}]:m;if(a?.startsWith("/admin"))return null;let o=e??a,[p,q]=(0,h.useState)(0);return(0,d.jsx)(d.Fragment,{children:(0,d.jsx)("div",{className:"pointer-events-none fixed top-2 left-1/2 z-50 -translate-x-1/2 w-full px-4",children:(0,d.jsx)(k.P.nav,{initial:{opacity:0,y:-16},animate:{opacity:1,y:0},transition:{type:"spring",stiffness:120,damping:16,mass:.6},style:{maxWidth:`${Math.round(1120-260*p)}px`,transition:"max-width 200ms ease"},className:`pointer-events-auto mx-auto max-w-6xl rounded-full origin-center transition-[background-color,backdrop-filter,box-shadow,border-color] duration-200 ${p>.01?"border border-white/10 bg-black/20 backdrop-blur-xl shadow-[0_8px_40px_rgba(0,0,0,0.35)]":"border border-transparent bg-transparent backdrop-blur-0 shadow-none"}`,children:(0,d.jsxs)("div",{className:"flex items-center gap-3 px-3 py-1.5",children:[(0,d.jsx)(f(),{href:"/",className:"text-[13px] md:text-sm font-display tracking-tight text-white whitespace-nowrap leading-none",children:"Biohazard VFX"}),(0,d.jsx)("div",{className:"hidden md:block h-5 w-px bg-white/10"}),(0,d.jsx)("div",{className:"hidden md:flex items-center gap-1 mx-auto",children:n.map(b=>{let c=o===b.href;return(0,d.jsxs)("div",{className:"relative px-3 py-1",onMouseEnter:()=>l(b.href),onMouseLeave:()=>l(null),children:[(0,d.jsx)(f(),{href:b.href,className:["text-sm leading-none tracking-wide transition-colors",a===b.href?"text-white":"text-neutral-300 hover:text-white"].join(" "),children:b.label.toUpperCase()}),c&&(0,d.jsx)(k.P.div,{layoutId:"nav-underline",className:"absolute left-2 right-2 -bottom-1 h-0.5 bg-white/80",transition:{type:"spring",stiffness:300,damping:30}})]},b.href)})}),(0,d.jsx)("div",{className:"ml-auto hidden md:flex items-center gap-3",children:"authenticated"===c?(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("span",{className:"text-xs text-text-muted",children:b?.user?.email}),(0,d.jsx)(j.A,{})]}):null}),(0,d.jsx)("div",{className:"md:hidden flex-1",children:(0,d.jsx)("div",{className:"overflow-x-auto no-scrollbar",children:(0,d.jsx)("div",{className:"flex items-center gap-1",children:n.map(b=>{let c=a===b.href;return(0,d.jsx)(f(),{href:b.href,className:["px-3 py-2 rounded-full text-xs transition-colors",c?"bg-white/15 text-white":"text-neutral-300 hover:text-white hover:bg-white/10"].join(" "),children:b.label},b.href)})})})}),"authenticated"===c&&(0,d.jsx)("div",{className:"md:hidden",children:(0,d.jsx)(j.A,{})})]})})})})}function m(){let a=(0,g.usePathname)();return(0,d.jsx)("aside",{className:"w-60 h-screen fixed left-0 top-0 z-40",children:(0,d.jsxs)("div",{className:"h-full bg-surface-900/90 border-r border-surface-500/70 flex flex-col",children:[(0,d.jsx)("div",{className:"p-5 border-b border-surface-500/60",children:(0,d.jsxs)("div",{children:[(0,d.jsx)("h2",{className:"text-base font-semibold text-white leading-tight",children:"Admin Dashboard"}),(0,d.jsx)("p",{className:"text-xs text-text-muted",children:"Biohazard VFX"})]})}),(0,d.jsx)("nav",{className:"p-3",children:(0,d.jsx)("ul",{className:"space-y-1",children:[{href:"/admin",label:"Dashboard"},{href:"/admin/projects",label:"Projects"},{href:"/admin/blog",label:"Blog"},{href:"/admin/team",label:"Team"},{href:"/admin/faq",label:"FAQs"},{href:"/admin/media",label:"Media"},{href:"/admin/assets",label:"Site Assets"}].map(b=>{let c=a===b.href;return(0,d.jsx)("li",{children:(0,d.jsx)(f(),{href:b.href,className:`block px-3 py-2 rounded text-sm transition-colors ${c?"bg-surface-700 text-white":"text-text-muted hover:bg-surface-700 hover:text-white"}`,children:b.label})},b.href)})})}),(0,d.jsx)("div",{className:"mt-auto p-3 border-t border-surface-500/60",children:(0,d.jsx)(f(),{href:"/",className:"btn-secondary w-full inline-flex items-center justify-center gap-2 text-sm",title:"Return to site",children:"← Back to site"})})]})})}},76004:(a,b,c)=>{"use strict";c.d(b,{cn:()=>f});var d=c(27044),e=c(84320);function f(...a){return(0,e.QP)((0,d.$)(a))}},80339:(a,b,c)=>{Promise.resolve().then(c.t.bind(c,53122,23)),Promise.resolve().then(c.t.bind(c,10428,23)),Promise.resolve().then(c.t.bind(c,76827,23)),Promise.resolve().then(c.t.bind(c,86507,23)),Promise.resolve().then(c.t.bind(c,97651,23)),Promise.resolve().then(c.t.bind(c,39779,23)),Promise.resolve().then(c.t.bind(c,54957,23)),Promise.resolve().then(c.bind(c,39931))},83279:(a,b,c)=>{Promise.resolve().then(c.bind(c,43779))},94402:(a,b,c)=>{"use strict";c.d(b,{A:()=>h});var d=c(49431),e=c(27490),f=c(75056),g=c(65353);function h({className:a=""}){let[b,c]=(0,e.useState)(!1),[h,i]=(0,e.useState)(!1);return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(g.$n,{variant:"secondary",size:"sm",className:a,onClick:()=>c(!0),children:"Sign Out"}),b&&(0,d.jsxs)("div",{className:"fixed inset-0 z-50 flex items-center justify-center p-6",onClick:a=>{a.target===a.currentTarget&&c(!1)},children:[(0,d.jsx)("div",{className:"absolute inset-0 bg-black/60 backdrop-blur-sm"}),(0,d.jsxs)("div",{className:"relative w-full max-w-md bg-surface-900 border border-surface-600 rounded-xl shadow-xl p-6",children:[(0,d.jsx)("h3",{className:"text-xl font-semibold text-white mb-2",children:"Sign out"}),(0,d.jsx)("p",{className:"text-text-muted mb-6",children:"Are you sure you want to sign out of your account?"}),(0,d.jsxs)("div",{className:"flex items-center justify-end gap-2",children:[(0,d.jsx)(g.$n,{variant:"ghost",onClick:()=>c(!1),children:"Cancel"}),(0,d.jsx)(g.$n,{variant:"danger",isLoading:h,onClick:async()=>{try{i(!0),await (0,f.signOut)({callbackUrl:"/"})}finally{i(!1)}},children:"Sign Out"})]})]})]})]})}}}; //# sourceMappingURL=8251.js.map