1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,53010,e=>{"use strict";var t=e.i(71645);function n(e=1024){let[r,o]=(0,t.useState)(void 0);return(0,t.useEffect)(()=>{let t=()=>{o(window.innerWidth<e)};return t(),window.addEventListener("resize",t),()=>window.removeEventListener("resize",t)},[e]),r}e.s(["default",0,n,"useIsMobile",()=>n])},47766,76132,72760,e=>{"use strict";var t=e.i(43476),n=e.i(53010),r=e.i(71645);async function o(e){if(!e)return console.warn("No text provided to copy"),!1;try{if(navigator.clipboard&&navigator.clipboard.writeText)return await navigator.clipboard.writeText(e),!0;let t=document.createElement("textarea");t.value=e,t.style.position="fixed",t.style.left="-999999px",t.style.top="-999999px",document.body.appendChild(t),t.focus(),t.select();try{let e=document.execCommand("copy");return document.body.removeChild(t),e}catch(e){return document.body.removeChild(t),console.error("Failed to copy using execCommand:",e),!1}}catch(e){return console.error("Failed to copy to clipboard:",e),!1}}function s(e,n){return(0,t.jsx)("span",{className:`${n} flex items-center leading-none`,children:e.map((e,n)=>(0,t.jsx)("span",{className:`${e.bold?"font-bold":""} ${e.isCode?"mx-1 px-2 py-0.5 bg-white/20 rounded font-mono tracking-wider":""} ${e.urgent?"text-red-500":""}`,children:e.text},n))})}function i({config:e}){let[n,i]=(0,r.useState)(!1),l=async()=>{!e.content.button?.copyText||await o(e.content.button.copyText)&&(i(!0),setTimeout(()=>i(!1),2e3))},a=()=>{e.content.button?.copyText?l():e.content.button?.onClick&&e.content.button.onClick()};return(0,t.jsx)("div",{className:`w-full ${e.styling.bgColor} ${e.styling.textColor} border-b-2 ${e.styling.borderColor||e.styling.bgColor}`,children:(0,t.jsx)("div",{className:"px-6 md:px-16 py-3 md:py-3 flex items-center min-h-[48px]",children:"marquee"===e.variant?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"flex-1 overflow-hidden relative min-w-0",children:(0,t.jsxs)("div",{className:"marquee flex items-center gap-4",children:[s([...e.content.text,...(e.content.secondaryText||[]).map(e=>({...e,text:` ${e.text}`}))],"font-mono text-xs md:text-sm whitespace-nowrap text-white"),s([...e.content.text,...(e.content.secondaryText||[]).map(e=>({...e,text:` ${e.text}`}))],"font-mono text-xs md:text-sm whitespace-nowrap text-white")]})}),e.content.button&&(e.content.button.copyText?(0,t.jsx)("button",{onClick:a,className:"ml-6 px-3 py-1.5 md:px-4 md:py-2 font-semibold text-xs md:text-sm whitespace-nowrap text-white border-2 border-transparent hover:opacity-90 transition-all rounded-full flex-shrink-0 flex items-center justify-center gap-2",style:{background:"var(--color-neuro-blue-end)"},children:n?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:(0,t.jsx)("polyline",{points:"20 6 9 17 4 12"})}),"Copied!"]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,t.jsx)("rect",{x:"9",y:"9",width:"13",height:"13",rx:"2",ry:"2"}),(0,t.jsx)("path",{d:"M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"})]}),e.content.button.text]})}):(0,t.jsx)("a",{href:e.content.button.href,onClick:e.content.button.onClick,className:"ml-6 px-3 py-1.5 md:px-4 md:py-2 font-semibold text-xs md:text-sm whitespace-nowrap border-2 border-white text-white hover:bg-white hover:text-black transition-all rounded-full flex-shrink-0 flex items-center justify-center",children:e.content.button.text}))]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"flex-1",children:s([...e.content.text,...(e.content.secondaryText||[]).map(e=>({...e,text:` ${e.text}`}))],"font-mono text-xs md:text-sm leading-none")}),e.content.button&&(e.content.button.copyText?(0,t.jsx)("button",{onClick:a,className:"ml-6 px-3 py-1.5 md:px-4 md:py-2 font-semibold text-xs md:text-sm whitespace-nowrap text-white border-2 border-transparent hover:opacity-90 transition-all rounded-full flex-shrink-0 flex items-center justify-center gap-2",style:{background:"var(--color-neuro-blue-end)"},children:n?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:(0,t.jsx)("polyline",{points:"20 6 9 17 4 12"})}),"Copied!"]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,t.jsx)("rect",{x:"9",y:"9",width:"13",height:"13",rx:"2",ry:"2"}),(0,t.jsx)("path",{d:"M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"})]}),e.content.button.text]})}):(0,t.jsx)("a",{href:e.content.button.href,onClick:e.content.button.onClick,className:"ml-6 px-3 py-1.5 md:px-4 md:py-2 font-semibold text-xs md:text-sm whitespace-nowrap border-2 border-white text-white hover:bg-white hover:text-black transition-all rounded-full flex-shrink-0 flex items-center justify-center",children:e.content.button.text}))]})})})}function l(e,n){return(0,t.jsx)("span",{className:`${n} leading-none`,children:e.map((e,n)=>(0,t.jsx)("span",{className:`${e.bold?"font-bold":""} ${e.isCode?"mx-1 px-1.5 py-0.5 bg-white/20 rounded font-mono tracking-wider":""} ${e.urgent?"text-red-500":""}`,children:e.text},n))})}function a({config:e}){let n=e.content.mobileContent||e.content,s=n.secondaryText||e.content.secondaryText,[i,a]=(0,r.useState)(!1),c=async()=>{!e.content.button?.copyText||await o(e.content.button.copyText)&&(a(!0),setTimeout(()=>a(!1),2e3))},d=()=>{e.content.button?.copyText?c():e.content.button?.onClick&&e.content.button.onClick()};return(0,t.jsx)("div",{className:`w-full ${e.styling.bgColor} ${e.styling.textColor} border-b-2 ${e.styling.borderColor||e.styling.bgColor}`,children:(0,t.jsx)("div",{className:"px-4 py-3 flex items-center min-h-[48px]",children:"marquee"===e.variant?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"flex-1 overflow-hidden relative min-w-0",children:(0,t.jsxs)("div",{className:"marquee flex items-center gap-4",children:[l([...n.text,...(s||[]).map(e=>({...e,text:` ⢠${e.text}`}))],"font-mono text-xs whitespace-nowrap text-white"),l([...n.text,...(s||[]).map(e=>({...e,text:` ⢠${e.text}`}))],"font-mono text-xs whitespace-nowrap text-white")]})}),e.content.button&&(e.content.button.copyText?(0,t.jsx)("button",{onClick:d,className:"ml-4 px-2.5 py-1 font-semibold text-xs whitespace-nowrap text-white border-2 border-transparent hover:opacity-90 transition-all rounded-full flex-shrink-0 flex items-center justify-center gap-1.5",style:{background:"var(--color-neuro-blue-end)"},children:i?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:(0,t.jsx)("polyline",{points:"20 6 9 17 4 12"})}),"Copied!"]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,t.jsx)("rect",{x:"9",y:"9",width:"13",height:"13",rx:"2",ry:"2"}),(0,t.jsx)("path",{d:"M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"})]}),e.content.button.text]})}):(0,t.jsx)("a",{href:e.content.button.href,onClick:e.content.button.onClick,className:"ml-4 px-3 py-1.5 font-semibold text-xs whitespace-nowrap border-2 border-white text-white hover:bg-white hover:text-black transition-all rounded-full flex-shrink-0 flex items-center justify-center",children:e.content.button.text}))]}):(0,t.jsx)(t.Fragment,{children:(0,t.jsxs)("div",{className:"flex-1 min-w-0 flex flex-col justify-center",children:[(0,t.jsx)("div",{className:"flex items-center gap-2 flex-wrap",children:l(n.text,"font-mono text-xs text-white")}),s&&(0,t.jsx)("div",{className:"flex items-center gap-2 mt-0.5",children:l(s,"font-mono text-xs text-white opacity-80")}),e.content.button&&(e.content.button.copyText?(0,t.jsx)("button",{onClick:d,className:"inline-block mt-1 px-3 py-1 text-xs font-semibold text-white border-2 border-transparent hover:opacity-90 transition-all rounded-full",style:{background:"var(--color-neuro-blue-end)"},children:i?"Copied!":e.content.button.text}):(0,t.jsx)("a",{href:e.content.button.href,onClick:e.content.button.onClick,className:"inline-block mt-1 text-xs underline text-white opacity-80 hover:opacity-100 transition-opacity",children:e.content.button.text}))]})})})})}function c({config:e}){let r=(0,n.default)(1280);return void 0===r?(0,t.jsx)(i,{config:e}):r?(0,t.jsx)(a,{config:e}):(0,t.jsx)(i,{config:e})}let d=new Date("2026-03-15T23:59:59");function x(e){let t=(0,r.useMemo)(()=>"founding-member"===e&&new Date>d,[e]),n="founding-member"===e&&!t,[o,s]=(0,r.useState)(155);(0,r.useEffect)(()=>
1{if(!n)return;let e=!1;return fetch("/api/founding-count").then(e=>e.json()).then(t=>{e||"number"!=typeof t?.spotsRemaining||s(t.spotsRemaining)}).catch(()=>{}),()=>{e=!0}},[n]);let i=o<=20,l=(0,r.useMemo)(()=>"founding-member"===e?{id:"founding-member",enabled:!0,deadline:d,dismissible:!0,variant:"marquee",dismissalKey:"foundingMemberBannerDismissed",content:{text:[{text:"Founding Member ⢠Code "},{text:"FOUNDING200",bold:!0,isCode:!0},{text:" ⢠20% off subscriptions forever ⢠Deadline: 15th March 2026 ⢠"}],secondaryText:[{text:`${o} `,bold:!0,urgent:i},{text:"spots remaining",bold:!0}],button:{text:"Copy Code",copyText:"FOUNDING200"}},styling:{bgColor:"bg-black",textColor:"text-white",borderColor:"border-black"}}:null,[e,o,i]);return l&&l.enabled&&!t?l:null}e.s(["useBannerConfig",()=>x],76132),e.s([],47766),e.s(["Banner",()=>c],72760)},33425,e=>{"use strict";var t=e.i(43476),n=e.i(22016),r=e.i(14080),o=e.i(71157),s=e.i(9616);function i({isOpen:e,onClose:i,onEnter:l,onLeave:a}){return e?(0,t.jsx)("div",{className:"absolute left-0 right-0 top-full z-50 shadow-[0_16px_40px_rgba(0,0,0,0.25)]",style:{background:o.SHOP_MENU_GRADIENT,backgroundAttachment:"fixed"},onMouseEnter:l,onMouseLeave:a,children:(0,t.jsx)("div",{className:"w-full px-6 md:px-16 py-10",children:(0,t.jsx)("div",{className:"max-w-4xl",children:(0,t.jsx)("div",{className:"grid grid-cols-3 gap-6",children:o.NAV_PRODUCTS.map(e=>(0,t.jsxs)(n.default,{href:e.href,onClick:i,"aria-label":e.alt,className:"group relative flex flex-col overflow-hidden rounded-md bg-white shadow-lg ring-1 ring-transparent transition-[transform,box-shadow] duration-200 hover:-translate-y-1 hover:ring-2 hover:ring-white",children:[(0,t.jsx)("div",{className:"relative aspect-square overflow-hidden bg-[#f5f5f5]",children:(0,t.jsx)(r.default,{src:e.image,alt:e.alt,fill:!0,className:"object-cover transition-transform duration-300 group-hover:scale-[1.04]",sizes:"(max-width: 1024px) 33vw, 300px"})}),(0,t.jsxs)("div",{className:"relative flex-1 border-t border-black/10 px-4 pb-4 pt-7 text-center transition-colors group-hover:border-white/15 group-hover:bg-[#1B2757]",children:[(0,t.jsx)("span",{className:`absolute left-1/2 top-0 -translate-x-1/2 -translate-y-1/2 rounded-full px-2.5 py-1 font-mono text-[9px] font-bold uppercase tracking-[0.12em] leading-none ${s.TIME_OF_DAY_BADGE[e.badge]}`,children:e.badge}),(0,t.jsx)("p",{className:"text-lg font-bold text-black transition-colors group-hover:text-white",children:e.name}),(0,t.jsx)("p",{className:"mt-1.5 text-xs leading-snug text-black/60 transition-colors group-hover:text-white/70",children:e.tagline})]})]},e.href))})})})}):null}e.s(["default",()=>i])},3292,e=>{"use strict";var t=e.i(43476),n=e.i(14080),r=e.i(22016),o=e.i(60630);e.i(47766);var s=e.i(72760),i=e.i(33425);function l({isOpen:e,group:o,onClose:s,onEnter:i,onLeave:l}){return e?(0,t.jsx)("div",{className:"absolute left-0 right-0 top-full bg-white border-b border-black/12 z-50 shadow-[0_8px_24px_rgba(0,0,0,0.06)]",onMouseEnter:i,onMouseLeave:l,children:(0,t.jsx)("div",{className:"w-full px-6 md:px-16 py-8",children:(0,t.jsx)("div",{className:"max-w-4xl flex flex-wrap gap-5",children:o.links.map(e=>(0,t.jsxs)(r.default,{href:e.href,onClick:s,className:"group flex w-[260px] flex-col overflow-hidden rounded-md bg-white shadow-lg ring-1 ring-black/10 transition-[transform,box-shadow] duration-200 hover:-translate-y-1 hover:ring-2 hover:ring-[#1B2757] focus:outline-none focus-visible:ring-2 focus-visible:ring-[#1B2757]",children:[(0,t.jsx)("div",{className:"relative aspect-square overflow-hidden bg-[#f5f5f5]",children:e.image&&(0,t.jsx)(n.default,{src:e.image,alt:e.imageAlt??e.label,fill:!0,className:"object-cover transition-transform duration-300 group-hover:scale-[1.04]",sizes:"260px"})}),(0,t.jsxs)("div",{className:"flex-1 border-t border-black/10 px-4 py-4 text-center transition-colors group-hover:border-white/15 group-hover:bg-[#1B2757]",children:[(0,t.jsx)("p",{className:"text-lg font-bold text-black transition-colors group-hover:text-white",children:e.label}),e.description&&(0,t.jsx)("p",{className:"mt-1.5 text-xs leading-snug text-black/60 transition-colors group-hover:text-white/70",children:e.description})]})]},e.href))})})}):null}var a=e.i(71157);function c({label:e,menu:n,openMenu:r,setOpenMenu:o,onMenuEnter:s,onMenuLeave:i,primary:l=!1,onDark:a=!1}){let c=r===n,d=l?a?"bg-white text-[#1B2757]":"bg-[#1B2757] text-white hover:opacity-90":a?`text-white hover:bg-white/10 ${c?"bg-white/10":""}`:`text-black hover:bg-black/[0.05] ${c?"bg-black/[0.05]":""}`;return(0,t.jsx)("div",{className:"relative flex items-center",onMouseEnter:()=>s(n),onMouseLeave:i,children:(0,t.jsxs)("button",{type:"button",onClick:()=>o(c?null:n),"aria-expanded":c,"aria-haspopup":"true",className:`flex items-center gap-1.5 rounded-full px-4 py-2 text-[15px] font-bold transition-colors focus:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-[#1B2757] ${d}`,children:[e,(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"10",height:"10",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"square",strokeLinejoin:"miter",className:`transition-transform ${c?"rotate-180":""}`,children:(0,t.jsx)("polyline",{points:"6 9 12 15 18 9"})})]})})}function d({hideBanner:e,openMenu:d,setOpenMenu:x,navRef:u,bannerConfig:h,isScrollingDown:f,onMenuEnter:m,onMenuLeave:b}){let{openCart:p,itemCount:g}=(0,o.useCart)(),v="shop"===d;return(0,t.jsxs)("div",{className:`w-full xl:fixed top-0 left-0 right-0 z-50 transition-transform duration-300 ${f?"xl:-translate-y-full":"xl:translate-y-0"}`,ref:u,children:[!e&&h&&(0,t.jsx)(s.Banner,{config:h}),(0,t.jsx)("header",{className:`w-full border-b transition-colors duration-200 ${v?"border-transparent":"bg-white border-black/12"}`,style:v?{background:a.SHOP_MENU_GRADIENT,backgroundAttachment:"fixed"}:void 0,children:(0,t.jsxs)("div",{className:"px-6 md:px-16 py-1 md:py-4 flex items-center relative",children:[(0,t.jsx)(r.default,{href:"/",className:"flex items-center","aria-label":"CONKA home",children:(0,t.jsx)(n.default,{src:"/conka-logo.webp",alt:"CONKA logo",width:440,height:112,className:`h-7 md:h-9 w-auto transition-[filter] duration-200 ${v?"brightness-0 invert":""}`,priority:!0})}),(0,t.jsxs)("nav",{className:"hidden xl:flex items-center gap-1 ml-8",children:[(0,t.jsx)(c,{label:"Shop",menu:"shop",primary:!0,onDark:v,openMenu:d,setOpenMenu:x,onMenuEnter:m,onMenuLeave:b}),(0,t.jsx)(c,{label:a.NAV_SCIENCE.title,menu:"science",onDark:v,openMenu:d,setOpenMenu:x,onMenuEnter:m,onMenuLeave:b}),(0,t.jsx)("a",{href:a.NAV_APP.href,className:`rounded-full px-4 py-2 text-[15px] font-bold transition-colors focus:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-[#1B2757] ${v?"text-white hover:bg-white/10":"text-black hover:bg-black/[0.05]"}`,children:a.NAV_APP.label}),(0,t.jsx)("a",{href:a.NAV_OUR_STORY.href,className:`rounded-full px-4 py-2 text-[15px] font-bold transition-colors focus:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-[#1B2757] ${v?"text-white hover:bg-white/10":"text-black hover:bg-black/[0.05]"}`,children:a.NAV_OUR_STORY.label})]}),(0,t.jsx)("div",{className:"flex-1"}),(0,t.jsxs)("div",{className:"hidden xl:flex items-center gap-3",children:[(0,t.jsx)("a",{href:"/account/manage",className:"group flex items-center justify-center rounded-full focus:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-[#1B2757]","aria-label":"Account",children:(0,t.jsx)("span",{className:`flex h-9 w-9 items-center justify-center rounded-full border transition-colors ${v?"border-white text-white group-hover:bg-white group-hover:text-[#1B2757]":"border-black text-black group-hover:border-[#1B2757] group-hover:bg-[#1B2757] group-hover:text-white"}`,children:(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"19",height:"19",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,t.jsx)("path",{d:"M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2"}),(0,t.jsx)("circle",{cx:"12",cy:"7",r:"4"})]})})}),(0,t.jsxs)("button",{onClick:p,className:`rounded-full border px-4 py-1.5 text-sm font-bold tabular-nums transition-colors focus:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-[#1B2757] ${v?"border-white text-white hover:bg-white hover:text-[#1B2757]":g>0?"border-[#1B2757] bg-[#1B2757] text-white hover:opacity-90":"border-black text-black hover:border-[#1B2757] hover:bg-[#1B2757] hover:text-white"}`,"aria-label":"Open cart",children:["Cart ",g>99?"99+":g]})]})]})}),(0,t.jsx)(i.default,{isOpen:"shop"===d,onClose:()=>x(null),onEnter:()=>m("shop"),onLeave:b}),(0,t.jsx)(l,{isOpen:"science"===d,group:a.NAV_SCIENCE,onClose:()=>x(null),onEnter:()=>m("science"),onLeave:b})]})}e.s(["default",()=>d],3292)},99597,e=>{"use strict";var t=e.i(43476),n=e.i(71645),r=e.i(14080),o=e.i(22016),s=e.i(60630);e.i(47766);var i=e.i(72760),l=e.i(71157);function a(e){return{animationDelay:`${260+60*e}
1ms`}}let c={Morning:{bg:"#f7edcb",color:"#755b1a"},Afternoon:{bg:"#f7ddd0",color:"#9a4526"},"Full day":{bg:"#dce3f5",color:"#2f3f74"}};function d({mobileMenuOpen:e,setMobileMenuOpen:d,hideBanner:x,bannerConfig:u}){let{openCart:h,itemCount:f}=(0,s.useCart)(),[m,b]=(0,n.useState)(e);e&&!m&&b(!0);let p=m&&!e;(0,n.useEffect)(()=>{if(!p)return;let e=setTimeout(()=>b(!1),300);return()=>clearTimeout(e)},[p]);let g=(e,n)=>(0,t.jsxs)("div",{className:"nav-mobile-item-in px-5 mt-8 pt-8 border-t border-black/10",style:a(n),children:[(0,t.jsx)("p",{className:"text-lg font-bold text-black mb-4",children:e.title}),(0,t.jsx)("div",{className:"grid grid-cols-2 gap-2",children:e.links.map(n=>(0,t.jsxs)("a",{href:n.href,onClick:()=>d(!1),className:"flex items-center justify-between gap-2 rounded-md bg-[#f5f5f5] p-3.5 hover:bg-black/[0.05] transition-colors",children:[(0,t.jsx)("span",{className:"text-sm font-semibold text-black leading-tight",children:n.label}),(0,t.jsx)("svg",{"aria-hidden":!0,className:"text-black shrink-0",width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.75",strokeLinecap:"square",strokeLinejoin:"miter",children:(0,t.jsx)("polyline",{points:"9 6 15 12 9 18"})})]},`${e.title}-${n.href}`))})]},e.title);return(0,t.jsxs)(t.Fragment,{children:[!x&&u&&(0,t.jsx)(i.Banner,{config:u}),(0,t.jsx)("header",{className:"relative w-full bg-white border-b border-black/12",children:(0,t.jsxs)("div",{className:"px-[0.25rem] md:px-16 py-1 flex items-center justify-between min-h-[4.5rem]",children:[(0,t.jsx)("div",{className:"xl:hidden w-10 flex-shrink-0 flex items-center justify-start",children:(0,t.jsx)("button",{onClick:()=>d(!e),className:"p-2 text-black hover:text-[#1B2757] transition-colors","aria-label":"Toggle menu","aria-expanded":e,children:(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"22",height:"22",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.75",strokeLinecap:"square",strokeLinejoin:"miter",children:e?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),(0,t.jsx)("line",{x1:"6",y1:"6",x2:"18",y2:"18"})]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("line",{x1:"3",y1:"6",x2:"21",y2:"6"}),(0,t.jsx)("line",{x1:"3",y1:"12",x2:"21",y2:"12"}),(0,t.jsx)("line",{x1:"3",y1:"18",x2:"21",y2:"18"})]})})})}),(0,t.jsx)(o.default,{href:"/",className:"absolute left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2 flex items-center pointer-events-auto","aria-label":"CONKA home",children:(0,t.jsx)(r.default,{src:"/conka-logo.webp",alt:"CONKA logo",width:440,height:112,className:"h-7 md:h-9 w-auto",priority:!0})}),(0,t.jsxs)("div",{className:"xl:hidden flex-shrink-0 flex items-center justify-end gap-2",children:[(0,t.jsx)("a",{href:"/account/manage",className:"group flex items-center justify-center rounded-full focus:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-[#1B2757]","aria-label":"Account",children:(0,t.jsx)("span",{className:"flex h-8 w-8 items-center justify-center rounded-full border border-black text-black transition-colors group-hover:bg-black group-hover:text-white",children:(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"17",height:"17",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,t.jsx)("path",{d:"M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2"}),(0,t.jsx)("circle",{cx:"12",cy:"7",r:"4"})]})})}),(0,t.jsxs)("button",{onClick:()=>{h(),d(!1)},className:`rounded-full border px-3 py-1 text-xs font-bold tabular-nums transition-colors focus:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-[#1B2757] ${f>0?"border-[#1B2757] bg-[#1B2757] text-white hover:opacity-90":"border-black text-black hover:bg-black hover:text-white"}`,"aria-label":"Open cart",children:["Cart ",f>99?"99+":f]})]})]})}),m&&(0,t.jsx)("div",{className:`xl:hidden fixed inset-0 z-40 bg-white flex flex-col ${p?"nav-mobile-panel-out pointer-events-none":"nav-mobile-panel-in"}`,onAnimationEnd:e=>{p&&e.target===e.currentTarget&&b(!1)},children:(0,t.jsxs)("div",{className:"flex-1 overflow-y-auto pb-16",children:[(0,t.jsxs)("div",{className:"flex justify-between items-center px-5 py-4 border-b border-black/12",children:[(0,t.jsx)(o.default,{href:"/",className:"flex items-center",onClick:()=>d(!1),"aria-label":"CONKA home",children:(0,t.jsx)(r.default,{src:"/conka-logo.webp",alt:"CONKA logo",width:440,height:112,className:"h-7 w-auto",priority:!0})}),(0,t.jsx)("button",{onClick:()=>d(!1),className:"p-2 text-black","aria-label":"Close menu",children:(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"22",height:"22",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.75",strokeLinecap:"square",strokeLinejoin:"miter",children:[(0,t.jsx)("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),(0,t.jsx)("line",{x1:"6",y1:"6",x2:"18",y2:"18"})]})})]}),(0,t.jsxs)("div",{className:"px-5 pt-6",children:[(0,t.jsx)("p",{className:"text-lg font-bold text-black mb-4",children:"Shop by product"}),(0,t.jsx)("div",{className:"flex flex-col gap-6",children:l.NAV_PRODUCTS.map((e,n)=>{let o=c[e.badge];return(0,t.jsxs)("a",{href:e.href,onClick:()=>d(!1),className:"nav-mobile-item-in group flex items-center gap-4",style:a(n),children:[(0,t.jsx)("div",{className:"relative w-24 h-24 shrink-0 overflow-hidden rounded-md border border-black/10 bg-[#f5f5f5]",children:(0,t.jsx)(r.default,{src:e.image,alt:e.alt,fill:!0,className:"object-cover",sizes:"96px"})}),(0,t.jsxs)("div",{className:"min-w-0 flex-1 flex flex-col justify-center gap-1.5",children:[(0,t.jsxs)("div",{className:"flex items-center gap-2 flex-wrap",children:[(0,t.jsx)("p",{className:"text-xl font-bold text-black leading-none",children:e.name}),(0,t.jsx)("span",{className:"font-mono text-[9px] font-bold uppercase tracking-[0.12em] rounded-full px-2 py-1 leading-none",style:{backgroundColor:o.bg,color:o.color},children:e.badge})]}),(0,t.jsx)("p",{className:"text-[13px] text-black/80 leading-snug",children:e.descriptionLong})]}
1),(0,t.jsx)("svg",{"aria-hidden":!0,className:"text-black shrink-0 self-center transition-transform group-hover:translate-x-0.5",width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.75",strokeLinecap:"square",strokeLinejoin:"miter",children:(0,t.jsx)("polyline",{points:"9 6 15 12 9 18"})})]},e.href)})})]}),g(l.NAV_SCIENCE,l.NAV_PRODUCTS.length),(0,t.jsxs)("div",{className:"nav-mobile-item-in px-5 mt-8 pt-8 border-t border-black/10",style:a(l.NAV_PRODUCTS.length+1),children:[(0,t.jsx)("p",{className:"text-lg font-bold text-black mb-4",children:l.NAV_APP.label}),(0,t.jsxs)("a",{href:l.NAV_APP.href,onClick:()=>d(!1),className:"group flex items-center gap-4",children:[(0,t.jsx)("div",{className:"relative w-24 h-24 shrink-0 overflow-hidden rounded-md border border-black/10 bg-[#f5f5f5]",children:(0,t.jsx)(r.default,{src:l.NAV_APP.image,alt:l.NAV_APP.imageAlt,fill:!0,className:"object-contain p-2",sizes:"96px"})}),(0,t.jsxs)("div",{className:"min-w-0 flex-1 flex flex-col justify-center gap-1.5",children:[(0,t.jsx)("p",{className:"text-xl font-bold text-black leading-none",children:l.NAV_APP.tileTitle}),(0,t.jsx)("p",{className:"text-[13px] text-black/80 leading-snug",children:l.NAV_APP.description})]}),(0,t.jsx)("svg",{"aria-hidden":!0,className:"text-black shrink-0 self-center transition-transform group-hover:translate-x-0.5",width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.75",strokeLinecap:"square",strokeLinejoin:"miter",children:(0,t.jsx)("polyline",{points:"9 6 15 12 9 18"})})]})]}),g(l.NAV_COMPANY,l.NAV_PRODUCTS.length+2),(0,t.jsx)("div",{className:"nav-mobile-item-in px-5 mt-8 pt-8 border-t border-black/10",style:a(l.NAV_PRODUCTS.length+3),children:(0,t.jsxs)("div",{className:"rounded-md p-6 text-center text-white",style:{background:"linear-gradient(140deg, #4058bb 0%, #26356f 55%, #1B2757 100%)"},children:[(0,t.jsx)("span",{"aria-label":"5 out of 5 stars",className:"block text-2xl leading-none tracking-[0.18em] text-[#F59E0B]",children:"â
â
â
â
â
"}),(0,t.jsx)("p",{className:"mt-4 text-lg font-bold leading-tight text-white",children:"The combo is unreal"}),(0,t.jsx)("p",{className:"mt-2 text-[15px] italic leading-snug text-white/90",children:"âStarted taking both Flow and Clear together and the combo is unreal.â"}),(0,t.jsxs)("div",{className:"mt-5 flex items-center justify-center gap-2.5",children:[(0,t.jsx)("span",{className:"text-sm font-bold text-white",children:"Jack G."}),(0,t.jsx)("span",{className:"rounded-full bg-white px-2 py-1 font-mono text-[9px] font-bold uppercase tracking-[0.12em] leading-none text-[#1B2757]",children:"Verified buyer"})]})]})})]})})]})}e.s(["default",()=>d])},99064,e=>{"use strict";var t=e.i(43476),n=e.i(71645);e.i(47766);var r=e.i(76132),o=e.i(3292),s=e.i(99597);function i({cartOpen:e,setCartOpen:i,hideBanner:l=!1}){let[a,c]=(0,n.useState)(!1),[d,x]=(0,n.useState)(null),[u,h]=(0,n.useState)(!1),[f,m]=(0,n.useState)(0),b=(0,n.useRef)(null),p=(0,r.useBannerConfig)("founding-member"),g=(0,n.useRef)(null);return(0,n.useEffect)(()=>(!d&&g.current&&(clearTimeout(g.current),g.current=null),()=>{g.current&&clearTimeout(g.current)}),[d]),(0,n.useEffect)(()=>{let e=()=>{let e=window.scrollY;e>100?h(e>f):h(!1),m(e)};return window.addEventListener("scroll",e,{passive:!0}),()=>window.removeEventListener("scroll",e)},[f]),(0,n.useEffect)(()=>{let e=e=>{b.current&&!b.current.contains(e.target)&&x(null)};return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e)},[]),(0,n.useEffect)(()=>{let e=e=>{"Escape"===e.key&&x(null)};return document.addEventListener("keydown",e),()=>document.removeEventListener("keydown",e)},[]),(0,n.useEffect)(()=>()=>{g.current&&clearTimeout(g.current)},[]),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"hidden xl:block",children:[(0,t.jsx)(o.default,{hideBanner:l,openMenu:d,setOpenMenu:x,navRef:b,bannerConfig:p,isScrollingDown:u,onMenuEnter:e=>{g.current&&(clearTimeout(g.current),g.current=null),x(e)},onMenuLeave:()=>{g.current=setTimeout(()=>{x(null)},150)}}),!l&&p?(0,t.jsx)("div",{className:"h-[136px]"}):(0,t.jsx)("div",{className:"h-20"})]}),(0,t.jsx)("div",{className:"xl:hidden",children:(0,t.jsx)(s.default,{mobileMenuOpen:a,setMobileMenuOpen:c,hideBanner:l,bannerConfig:p})})]})}e.s(["default",()=>i])},31165,e=>{"use strict";e.i(99064),e.i(3292),e.i(99597),e.i(33425),e.s([])},79058,e=>{"use strict";var t=e.i(43476),n=e.i(71645),r=e.i(18566);e.i(31165);var o=e.i(99064),s=e.i(51884);function i(){let e=(0,r.useRouter)(),{isAuthenticated:i,loading:l}
1=(0,s.useAuth)(),[a,c]=(0,n.useState)({status:"loading"});return(0,n.useEffect)(()=>{l||i||e.replace("/account/login")},[l,i,e]),(0,n.useEffect)(()=>{if(l||!i)return;let t=!1;return(async()=>{try{let n=await fetch("/api/auth/skio-portal"),r=await n.json();if(t)return;n.ok&&r.src?c({status:"ready",src:r.src}):401===n.status?e.replace("/account/login"):c({status:"error",message:r.error||"We could not open the subscription portal."})}catch{t||c({status:"error",message:"We could not open the subscription portal."})}})(),()=>{t=!0}},[l,i,e]),(0,t.jsxs)("div",{className:"flex h-[100dvh] flex-col overflow-hidden bg-white text-black",children:[(0,t.jsx)(o.default,{}),(0,t.jsx)("div",{className:"flex justify-end px-4 pt-2 lg:px-[5vw]",children:(0,t.jsx)("a",{href:"/api/auth/logout",className:"rounded-full px-2 py-1 text-[13px] font-semibold text-black/60 transition-colors hover:text-black focus:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-[var(--brand-navy)]",children:"Log out of CONKA"})}),(0,t.jsxs)("main",{className:"relative min-h-0 flex-1",children:[(0,t.jsx)("h1",{className:"sr-only",children:"Manage your CONKA subscription"}),"loading"===a.status&&(0,t.jsx)("div",{className:"absolute inset-0 flex items-center justify-center",children:(0,t.jsx)("div",{className:"w-8 h-8 border border-black/15 border-t-black/50 rounded-full animate-spin"})}),"error"===a.status&&(0,t.jsx)("div",{className:"absolute inset-0 flex items-center justify-center p-6 text-center",children:(0,t.jsx)("p",{className:"text-black/70 text-[15px]",children:a.message})}),"ready"===a.status&&(0,t.jsx)("iframe",{src:a.src,title:"Manage your CONKA subscription",className:"absolute inset-0 block h-full w-full border-0 bg-white"})]})]})}e.s(["default",()=>i])}]);
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.