1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,302509,e=>{"use strict";let t=(0,e.i(178441).default)("ArrowRight",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);e.s(["ArrowRight",()=>t],302509)},415557,e=>{"use strict";let t=(0,e.i(178441).default)("Clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}]]);e.s(["Clock",()=>t],415557)},817355,e=>{"use strict";var t=e.i(918003),r=e.i(251718),a=e.i(76609);e.i(257620);var s=e.i(748782);function l(){let{t:e}=(0,s.useTranslation)(),[a,l]=(0,r.useState)(null),n=[{question:e("landing.faq.isFree"),answer:e("landing.faq.isFreeAnswer")},{question:e("landing.faq.browsers"),answer:e("landing.faq.browsersAnswer")},{question:e("landing.faq.customBg"),answer:e("landing.faq.customBgAnswer")},{question:e("landing.faq.googleIntegrations"),answer:e("landing.faq.googleIntegrationsAnswer")},{question:e("landing.faq.sync"),answer:e("landing.faq.syncAnswer")},{question:e("landing.faq.cancelSubscription"),answer:e("landing.faq.cancelSubscriptionAnswer")}];return(0,t.jsxs)("section",{id:"faq",className:"dot-grid relative overflow-hidden px-6 py-24 md:px-12 lg:px-20",children:[(0,t.jsxs)("div",{className:"relative mx-auto max-w-4xl text-center",children:[(0,t.jsx)("h2",{className:"text-4xl font-bold tracking-tight text-gray-900 md:text-5xl",style:{fontFamily:"var(--font-segoe-print)"},children:e("landing.faq.title")}),(0,t.jsx)("p",{className:"mx-auto mt-4 max-w-2xl text-lg text-gray-500",style:{fontFamily:"var(--font-segoe-print)"},children:e("landing.faq.subtitle")})]}),(0,t.jsxs)("div",{className:"relative mx-auto mt-16 max-w-6xl overflow-hidden rounded-3xl",children:[(0,t.jsx)("div",{className:"absolute inset-0",style:{backgroundImage:"url(/backgrounds/basetab_ai_background_1.webp)",backgroundSize:"cover",backgroundPosition:"center",filter:"blur(8px)",transform:"scale(1.05)"}}),(0,t.jsx)("div",{className:"absolute inset-0 bg-black/20"}),(0,t.jsx)("div",{className:"relative space-y-3 p-4 sm:p-8",children:n.map((e,r)=>(0,t.jsx)(i,{item:e,isOpen:a===r,onToggle:()=>l(a===r?null:r)},r))})]})]})}function i(e){let{item:r,isOpen:s,onToggle:l}=e;return(0,t.jsxs)("div",{className:"rounded-xl transition-all",style:{background:s?"linear-gradient(135deg, rgba(255,255,255,0.85) 0%, rgba(240,245,255,0.7) 100%)":"linear-gradient(135deg, rgba(255,255,255,0.5) 0%, rgba(245,248,255,0.35) 100%)",border:s?"1px solid rgba(99,102,241,0.15)":"1px solid rgba(0,0,0,0.05)",backdropFilter:"blur(12px)",WebkitBackdropFilter:"blur(12px)",boxShadow:s?"0 8px 24px rgba(99,102,241,0.06), inset 0 1px 0 rgba(255,255,255,0.7)":"0 2px 8px rgba(0,0,0,0.02)"},children:[(0,t.jsxs)("button",{onClick:l,"aria-expanded":s,className:"flex w-full items-center justify-between px-4 py-4 text-left sm:px-6 sm:py-5",children:[(0,t.jsx)("span",{className:"pr-4 text-sm font-medium text-gray-700",children:r.question}),(0,t.jsx)(a.ChevronDown,{className:"h-4 w-4 flex-shrink-0 text-gray-400 transition-transform duration-200",style:{transform:s?"rotate(180deg)":"rotate(0deg)"}})]}),(0,t.jsx)("div",{className:"overflow-hidden transition-all duration-200",style:{maxHeight:s?"200px":"0",opacity:+!!s},children:(0,t.jsx)("p",{className:"px-4 pb-4 text-sm leading-relaxed text-gray-400 sm:px-6 sm:pb-5",children:r.answer})})]})}e.s(["Faq",()=>l])},863391,e=>{"use strict";var t=e.i(918003),r=e.i(251718),a=e.i(473790),s=e.i(536459);let l=(0,e.i(178441).default)("Menu",[["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}],["line",{x1:"4",x2:"20",y1:"6",y2:"6",key:"1owob3"}],["line",{x1:"4",x2:"20",y1:"18",y2:"18",key:"yk5zj1"}]]);var i=e.i(200314),n=e.i(76609),o=e.i(174900),d=e.i(978022);e.i(257620);var c=e.i(748782),x=e.i(594827);let p={background:"linear-gradient(135deg, rgba(255,255,255,0.5) 0%, rgba(200,220,240,0.4) 50%, rgba(255,255,255,0.45) 100%)",border:"1px solid rgba(255,255,255,0.5)",boxShadow:"inset 0 1px 1px rgba(255,255,255,0.5), inset 0 -1px 1px rgba(255,255,255,0.15), 0 4px 24px rgba(0,0,0,0.08)",backdropFilter:"saturate(180%) blur(40px)",WebkitBackdropFilter:"saturate(180%) blur(40px)"},h={background:"linear-gradient(135deg, rgba(255,255,255,0.15) 0%, rgba(200,220,240,0.1) 50%, rgba(255,255,255,0.12) 100%)",border:"1px solid rgba(255,255,255,0.3)",boxShadow:"inset 0 1px 1px rgba(255,255,255,0.2), 0 4px 24px rgba(0,0,0,0.04)",backdropFilter:"blur(12px)",WebkitBackdropFilter:"blur(12px)"},g={background:"rgba(255,255,255,0.92)",border:"1px solid rgba(255,255,255,0.6)",boxShadow:"0 8px 32px rgba(0,0,0,0.12)",backdropFilter:"blur(40px)",WebkitBackdropFilter:"blur(40px)"},m={background:"linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(200,220,240,0.8) 50%, rgba(255,255,255,0.85) 100%)",border:"1px solid rgba(255,255,255,0.6)",boxShadow:"0 8px 32px rgba(0,0,0,0.12)",backdropFilter:"blur(40px)",WebkitBackdropFilter:"blur(40px)"};function u(e){let{wrapperClassName:u,wrapperStyle:b,navStyle:f,onLogoClick:y,onMenuToggle:v,useHashLinks:w=!1,glassTriggerId:j,isLoggedIn:k}=e,{t:N}=(0,c.useTranslation)(),{data:S}=(0,d.useSession)(),C=k??!!S?.user,[T,F]=(0,r.useState)(!1),[P,$]=(0,r.useState)(!j);(0,r.useEffect)(()=>
1{if(!j)return;let e=document.getElementById(j);if(!e)return;let t=new IntersectionObserver(e=>{let[t]=e;return t&&$(t.isIntersecting)},{threshold:0});return t.observe(e),()=>t.disconnect()},[j]);let[L,M]=(0,r.useState)(!1),R=(0,r.useRef)(null),[B,E]=(0,r.useState)("chrome");(0,r.useEffect)(()=>{E((0,x.detectBrowserSlug)())},[]);let{primary:A,others:z,mobile:U}=(0,x.getBrowserOptions)(B);(0,r.useEffect)(()=>{function e(e){R.current&&!R.current.contains(e.target)&&M(!1)}return L&&document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e)},[L]);let q=()=>{F(!1),v?.(!1)},_={features:w?"#features":"/#features",extensions:"/extensions",pricing:w?"#pricing":"/pricing"},I=e=>{let{href:r,children:a}=e;return w?(0,t.jsx)("a",{href:r,className:"text-sm font-bold text-gray-600 transition-colors hover:text-gray-900",children:a}):(0,t.jsx)(s.default,{href:r,className:"text-sm font-bold text-gray-600 transition-colors hover:text-gray-900",children:a})},O=e=>{let{href:r,children:a}=e;return w?(0,t.jsx)("a",{href:r,onClick:q,className:"rounded-xl px-4 py-2.5 text-sm font-bold text-gray-700 transition-colors hover:bg-white/30",children:a}):(0,t.jsx)(s.default,{href:r,onClick:q,className:"rounded-xl px-4 py-2.5 text-sm font-bold text-gray-700 transition-colors hover:bg-white/30",children:a})},W=!!(u||b),D=(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("nav",{"aria-label":"Main navigation",className:"pointer-events-auto mx-auto flex items-center justify-between px-5 py-2.5",style:{borderRadius:"16px",transition:"background 0.4s, border 0.4s, box-shadow 0.4s, backdrop-filter 0.4s, -webkit-backdrop-filter 0.4s",...P?p:h,...f},children:[y?(0,t.jsx)("button",{onClick:y,className:"flex items-center gap-2 text-sm tracking-tight text-gray-800",style:{fontFamily:"var(--font-segoe-print)",fontWeight:900},children:"basetab.ai"}):(0,t.jsx)(s.default,{href:"/",className:"flex items-center gap-2 text-sm tracking-tight text-gray-800",style:{fontFamily:"var(--font-segoe-print)",fontWeight:900},children:"basetab.ai"}),(0,t.jsxs)("div",{className:"hidden items-center gap-6 md:flex",children:[(0,t.jsx)(I,{href:_.features,children:N("landing.footer.features")}),(0,t.jsx)(I,{href:_.extensions,children:N("landing.footer.extensions")}),(0,t.jsx)(I,{href:_.pricing,children:N("landing.footer.pricing")})]}),(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)(s.default,{href:C?"/dashboard":"/login",className:"hidden rounded-xl px-4 py-1.5 text-sm font-bold text-gray-600 transition-colors hover:text-gray-900 md:block",children:C?N("landing.hero.dashboard"):N("auth.signIn")}),(0,t.jsxs)("div",{ref:R,className:"relative hidden sm:block",children:[(0,t.jsxs)("div",{className:"inline-flex items-center rounded-xl",style:{background:"rgba(255,255,255,0.45)",border:"1px solid rgba(255,255,255,0.5)",boxShadow:"inset 0 1px 0 rgba(255,255,255,0.6), 0 2px 8px rgba(0,0,0,0.06)"},children:[A.available&&A.storeUrl?(0,t.jsx)("a",{href:A.storeUrl,target:"_blank",rel:"noopener",className:"inline-flex items-center gap-1.5 px-4 py-1.5 text-sm font-bold text-gray-800 transition-colors hover:text-gray-950",children:N("landing.hero.addToBrowser",{browser:A.name})}):(0,t.jsx)(s.default,{href:`/extensions/${A.slug}`,className:"inline-flex items-center gap-1.5 px-4 py-1.5 text-sm font-bold text-gray-800 transition-colors hover:text-gray-950",children:N("landing.hero.getForBrowser",{browser:A.name})}),(0,t.jsx)("button",{onClick:()=>M(!L),className:"flex items-center justify-center border-l border-black/10 py-1.5 pl-1.5 pr-2 text-gray-500 transition-colors hover:text-gray-800","aria-label":"Show other platforms",children:(0,t.jsx)(n.ChevronDown,{className:"h-3.5 w-3.5 transition-transform duration-200",style:{transform:L?"rotate(180deg)":"rotate(0deg)"}})})]}),L&&(0,t.jsxs)("div",{className:"absolute right-0 top-full z-50 mt-2 rounded-xl p-2",style:{...g,width:380},children:[(0,t.jsx)("div",{style:{display:"grid",gridTemplateColumns:"1fr 1fr",gap:2},children:[A,...z].map(e=>(0,t.jsxs)(s.default,{href:e.available&&e.storeUrl?e.storeUrl:`/extensions/${e.slug}`,target:e.available&&e.storeUrl?"_blank":void 0,rel:e.available&&e.storeUrl?"noopener":void 0,onClick:()=>M(!1),className:"flex items-center gap-2 rounded-lg px-3 py-2 text-sm text-gray-700 transition-colors hover:bg-black/5",children:[(0,t.jsx)(a.default,{src:e.iconUrl,alt:e.name,width:18,height:18,className:"h-[18px] w-[18px] shrink-0"}),(0,t.jsx)("span",{className:"truncate",children:e.name}),!e.available&&(0,t.jsx)("span",{className:"shrink-0 text-[9px] font-medium text-gray-400",children:N("common.so
1on")})]},e.slug))}),(0,t.jsx)("div",{className:"my-1.5 h-px bg-black/5"}),(0,t.jsxs)("div",{style:{display:"grid",gridTemplateColumns:"1fr 1fr",gap:2},children:[(0,t.jsxs)(s.default,{href:C?"/dashboard":"/login",onClick:()=>M(!1),className:"flex items-center gap-2 rounded-lg px-3 py-2 text-sm text-gray-700 transition-colors hover:bg-black/5",children:[(0,t.jsx)(o.Globe,{className:"h-[18px] w-[18px] shrink-0 text-gray-500"}),N("landing.hero.webApp")]}),U.map(e=>(0,t.jsxs)("div",{className:"flex items-center gap-2 rounded-lg px-3 py-2 text-sm text-gray-400",children:[(0,t.jsx)(a.default,{src:e.iconUrl,alt:e.name,width:18,height:18,className:"h-[18px] w-[18px] shrink-0 opacity-50"}),(0,t.jsx)("span",{className:"truncate",children:e.name}),(0,t.jsx)("span",{className:"shrink-0 text-[9px] font-medium",children:N("common.soon")})]},e.slug))]})]})]}),(0,t.jsx)("button",{onClick:()=>{let e=!T;F(e),v?.(e)},"aria-label":T?"Close navigation menu":"Open navigation menu","aria-expanded":T,className:"flex items-center justify-center rounded-lg p-1.5 text-gray-700 md:hidden",style:{background:"rgba(255,255,255,0.3)",border:"1px solid rgba(255,255,255,0.4)"},children:T?(0,t.jsx)(i.X,{className:"h-5 w-5"}):(0,t.jsx)(l,{className:"h-5 w-5"})})]})]}),T&&(0,t.jsxs)("div",{className:"pointer-events-auto mx-auto mt-2 flex flex-col gap-1 rounded-2xl p-3 md:hidden",style:m,children:[(0,t.jsx)(O,{href:_.features,children:N("landing.footer.features")}),(0,t.jsx)(O,{href:_.extensions,children:N("landing.footer.extensions")}),(0,t.jsx)(O,{href:_.pricing,children:N("landing.footer.pricing")}),(0,t.jsx)("div",{className:"my-1 h-px",style:{background:"rgba(0,0,0,0.06)"}}),(0,t.jsx)(s.default,{href:C?"/dashboard":"/login",onClick:q,className:"rounded-xl px-4 py-2.5 text-sm font-bold text-gray-700 transition-colors hover:bg-white/30",children:C?N("landing.hero.dashboard"):N("landing.hero.loginWebApp")}),A.available&&A.storeUrl?(0,t.jsxs)("a",{href:A.storeUrl,target:"_blank",rel:"noopener",onClick:q,className:"mt-1 flex items-center justify-center gap-2 rounded-xl px-4 py-2.5 text-sm font-bold text-gray-800 transition-all",style:{background:"linear-gradient(135deg, rgba(255,255,255,0.65) 0%, rgba(200,220,240,0.5) 50%, rgba(255,255,255,0.6) 100%)",border:"1px solid rgba(255,255,255,0.6)",boxShadow:"inset 0 1px 1px rgba(255,255,255,0.6), 0 4px 12px rgba(0,0,0,0.08)"},children:[(0,t.jsx)(a.default,{src:A.iconUrl,alt:`${A.name} icon`,width:16,height:16,className:"h-4 w-4"}),N("landing.hero.addToBrowser",{browser:A.name})]}):(0,t.jsxs)(s.default,{href:`/extensions/${A.slug}`,onClick:q,className:"mt-1 flex items-center justify-center gap-2 rounded-xl px-4 py-2.5 text-sm font-bold text-gray-800 transition-all",style:{background:"linear-gradient(135deg, rgba(255,255,255,0.65) 0%, rgba(200,220,240,0.5) 50%, rgba(255,255,255,0.6) 100%)",border:"1px solid rgba(255,255,255,0.6)",boxShadow:"inset 0 1px 1px rgba(255,255,255,0.6), 0 4px 12px rgba(0,0,0,0.08)"},children:[(0,t.jsx)(a.default,{src:A.iconUrl,alt:`${A.name} icon`,width:16,height:16,className:"h-4 w-4"}),N("landing.hero.getForBrowser",{browser:A.name})]})]})]});return W?(0,t.jsx)("div",{className:u||"pointer-events-none fixed left-0 right-0 top-0 z-50",style:b,children:D}):(0,t.jsxs)("div",{className:"pointer-events-none fixed left-0 right-0 top-0 z-50",style:{paddingLeft:"1vw",paddingRight:"1vw",paddingTop:"1vh"},children:[(0,t.jsx)("style",{children:` 2 @media (min-width: 768px) { 3 .page-header-wrap { 4 padding-left: 4vw !important; 5 padding-right: 4vw !important; 6 } 7 } 8 @media (min-width: 1280px) { 9 .page-header-wrap { 10 padding-left: 21vw !important; 11 padding-right: 21vw !important; 12 } 13 } 14 `}),(0,t.jsx)("div",{className:"page-header-wrap",style:{paddingLeft:"1vw",paddingRight:"1vw"},children:D})]})}e.s(["PageHeader",()=>u],863391)},472825,e=>{"use strict";var t=e.i(918003),r=e.i(251718),a=e.i(473790),s=e.i(536459),l=e.i(174900),i=e.i(76609),n=e.i(257620),o=e.i(748782),d=e.i(594827);function c(){let[e,a]=(0,r.useState)(!1),s=(0,r.useRef)(null),o=n.SUPPORTED_LANGUAGES.find(e=>e.code===(0,n.getCurrentLanguage)())||n.SUPPORTED_LANGUAGES[0];return(0,r.useEffect)(()=>
14{if(!e)return;let t=e=>{s.current&&!s.current.contains(e.target)&&a(!1)};return document.addEventListener("mousedown",t),()=>document.removeEventListener("mousedown",t)},[e]),(0,t.jsxs)("div",{ref:s,className:"relative",children:[(0,t.jsxs)("button",{onClick:()=>a(!e),className:"flex items-center gap-1.5 text-xs text-gray-400 transition-colors hover:text-gray-600",children:[(0,t.jsx)(l.Globe,{className:"h-3.5 w-3.5"}),o.nativeName,(0,t.jsx)(i.ChevronDown,{className:`h-3 w-3 transition-transform ${e?"rotate-180":""}`})]}),e&&(0,t.jsx)("div",{className:"absolute bottom-full mb-2 right-0 z-50 min-w-[160px] rounded-xl border border-gray-200 bg-white py-1 shadow-lg",children:n.SUPPORTED_LANGUAGES.map(e=>(0,t.jsx)("button",{onClick:()=>{(0,n.changeLanguage)(e.code),a(!1)},className:`flex w-full items-center gap-2 px-3 py-1.5 text-left text-sm transition-colors hover:bg-gray-50 ${e.code===o.code?"font-medium text-gray-900":"text-gray-600"}`,children:e.nativeName},e.code))})]})}function x(){let{t:e}=(0,o.useTranslation)(),[l,i]=(0,r.useState)("chrome");(0,r.useEffect)(()=>{i((0,d.detectBrowserSlug)())},[]);let{primary:n}=(0,d.getBrowserOptions)(l),x={[e("landing.footer.product")]:[{label:e("landing.footer.features"),href:"#features"},{label:e("landing.footer.pricing"),href:"#pricing"},{label:"FAQ",href:"#faq"},{label:e("landing.footer.blog"),href:"/blog"}],[e("landing.footer.extensions")]:[{label:"Chrome",href:"/extensions/chrome"},{label:"Firefox",href:"/extensions/firefox"},{label:"Edge",href:"/extensions/edge"},{label:"Brave",href:"/extensions/brave"},{label:"Arc",href:"/extensions/arc"},{label:"Vivaldi",href:"/extensions/vivaldi"},{label:"Opera",href:"/extensions/opera"},{label:"Opera GX",href:"/extensions/opera-gx"},{label:"Zen",href:"/extensions/zen"},{label:"Safari",href:"/extensions/safari"},{label:"Yandex",href:"/extensions/yandex"}],[e("landing.footer.company")]:[{label:e("landing.footer.about"),href:"https://generatech-studio.com"},{label:e("landing.footer.support"),href:"/support"},{label:e("landing.footer.privacy"),href:"/privacy"},{label:e("landing.footer.terms"),href:"/terms"},{label:e("landing.footer.contact"),href:"mailto:[email protected]"}]};return(0,t.jsxs)("footer",{className:"relative overflow-hidden bg-white px-4 pb-8 pt-12 sm:px-6 sm:pt-16 md:px-12 lg:px-20",children:[(0,t.jsx)("div",{className:"pointer-events-none absolute left-1/2 top-0 h-[1px] w-2/3 -translate-x-1/2",style:{background:"linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.08) 50%, transparent 100%)"}}),(0,t.jsxs)("div",{className:"relative mx-auto max-w-6xl",children:[(0,t.jsx)("style",{children:` 15 .footer-main { display: flex; justify-content: space-between; align-items: flex-start; } 16 .footer-brand { max-width: 280px; } 17 .footer-links { display: flex; gap: 80px; } 18 @media (max-width: 767px) { 19 .footer-main { flex-direction: column; gap: 40px; } 20 .footer-brand { max-width: none; } 21 .footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; width: 100%; } 22 } 23 `}),(0,t.jsxs)("div",{className:"footer-main",children:[(0,t.jsxs)("div",{className:"footer-brand",children:[(0,t.jsx)("h3",{className:"text-lg font-bold text-gray-800",style:{fontFamily:"var(--font-segoe-print)",fontWeight:900},children:"basetab.ai"}),(0,t.jsx)("p",{className:"mt-2 text-sm leading-relaxed text-gray-400",children:e("landing.footer.tagline")}),n.available&&n.storeUrl?(0,t.jsxs)("a",{href:n.storeUrl,target:"_blank",rel:"noopener",className:"group mt-4 inline-flex items-center gap-2 rounded-xl px-5 py-2 text-sm font-semibold text-gray-800 transition-all hover:scale-[1.02]",style:{background:"linear-gradient(135deg, rgba(255,255,255,0.65) 0%, rgba(200,220,240,0.5) 50%, rgba(255,255,255,0.6) 100%)",border:"1px solid rgba(255,255,255,0.6)",boxShadow:"inset 0 1px 1px rgba(255,255,255,0.6), 0 4px 16px rgba(0,0,0,0.08)"},children:[(0,t.jsx)(a.default,{src:n.iconUrl,alt:`${n.name} icon`,width:20,height:20,className:"-ml-1 mr-1 h-5 w-5"}),e("landing.hero.addToBrowser",{browser:n.name})]}):(0,t.jsxs)(s.default,{href:`/extensions/${n.slug}`,className:"group mt-4 inline-flex items-center gap-2 rounded-xl px-5 py-2 text-sm font-semibold text-gray-800 transition-all hover:scale-[1.02]",style:{background:"linear-gradient(135deg, rgba(255,255,255,0.65) 0%, rgba(200,220,240,0.5) 50%, rgba(255,255,255,0.6) 100%)",border:"1px solid rgba(255,255,255,0.6)",boxShadow:"inset 0 1px 1px rgba(255,255,255,0.6), 0 4px 16px rgba(0,0,0,0.08)"},children:[(0,t.jsx)(a.default,{src:n.iconUrl,alt:`${n.name} icon`,width:20,height:20,className:"-ml-1 mr-1 h-5 w-5"}),e("landing.hero.getForBrowser",{browser:n.name})]})]}),(0,t.jsx)("div",{className:"footer-links",children:Object.entries(x).map(e=>{let[r,a]=e;return(0,t.jsxs)("div",{children:[(0,t.jsx)("h4",{className:"text-xs font-semibold uppercase tracking-wider text-gray-500",children:r}),(0,t.jsx)("ul",{className:"mt-4 space-y-2.5",children:a.map(e=>(0,t.jsx)("li",{children:(0,t.jsx)(s.default,{href:e.href,className:"text-sm text-gray-400 transition-colors hover:text-gray-600",children:e.label})},e.label))})]},r)})})]}),(0,t.jsxs)("div",{className:"mt-16 flex flex-col items-center justify-between gap-4 pt-8 md:flex-row",children:[(0,t.jsxs)("p",{className:"text-xs text-gray-400",children:["© ",new Date().getFullYear()," basetab.ai by ",(0,t.jsx)("a",{href:"https://generatech-studio.com",target:"_blank",rel:"noopener",className:"hover:text-gray-600 transition-colors",children:"Generatech Studio, Inc."})," ",e("landing.footer.allRightsReserved")]}),(0,t.jsxs)("div",{className:"flex items-center gap-6",children:[(0,t.jsx)(c,{}),(0,t.jsx)(s.default,{href:"/privacy",className:"text-xs text-gray-400 transition-colors hover:text-gray-600",children:e("landing.footer.privacyPolicy")}),(0,t.jsx)(s.default,{href:"/terms",className:"text-xs text-gray-400 transition-colors hover:text-gray-600",children:e("landing.footer.termsOfService")})]})]})]})]})}e.s(["Footer",()=>x])},50873,e=>{"use strict";var t=e.i(918003),r=e.i(251718),a=e.i(302509),s=e.i(473790),l=e.i(536459),i=e.i(978022);e.i(257620);var n=e.i(748782),o=e.i(594827);function d(e){let{isLoggedIn:d}=e,{t:c}=(0,n.useTranslation)(),{data:x}=(0,i.useSession)(),p=d??!!x?.user,[h,g]=(0,r.useState)("chrome");(0,r.useEffect)(()=>{g((0,o.detectBrowserSlug)())},[]);let{primary:m}=(0,o.getBrowserOptions)(h);return(0,t.jsx)("section",{className:"dot-grid relative overflow-hidden px-6 py-24 md:px-12 lg:px-20",children:(0,t.jsxs)("div",{className:"relative mx-auto max-w-6xl overflow-hidden rounded-3xl",children:[(0,t.jsx)("div",{className:"absolute inset-0",style:{backgroundImage:"url(/backgrounds/basetab_ai_background_1.webp)",backgroundSize:"cover",backgroundPosition:"center",filter:"blur(8px)",transform:"scale(1.05)"}}),(0,t.jsx)("div",{className:"absolute inset-0 bg-black/20"}),(0,t.jsxs)("div",{className:"relative flex flex-col items-center px-4 py-10 text-center sm:px-8 sm:py-16",children:[(0,t.jsx)("h2",{className:"text-3xl font-bold tracking-tight text-white sm:text-4xl md:text-5xl",style:{fontFamily:"var(--font-segoe-print)",textShadow:"0 4px 30px rgba(0,0,0,0.25), 0 1px 6px rgba(0,0,0,0.15)"},children:c("landing.cta.title")}),(0,t.jsx)("p",{className:"mx-auto mt-4 max-w-xl text-lg text-white/80",style:{fontFamily:"var(--font-segoe-print)",textShadow:"0 2px 12px rgba(0,0,0,0.2)"},children:c("landing.cta.subtitle")}),(0,t.jsxs)("div",{className:"mt-8 flex flex-col items-center gap-3 sm:mt-10 sm:flex-row sm:gap-4",children:[m.available&&m.storeUrl?(0,t.jsxs)("a",{href:m.storeUrl,target:"_blank",rel:"noopener",className:"group inline-flex items-center gap-2 rounded-2xl px-6 py-2.5 text-sm font-semibold text-gray-800 transition-all hover:scale-105 sm:px-8 sm:py-3",style:{background:"linear-gradient(135deg, rgba(255,255,255,0.65) 0%, rgba(200,220,240,0.5) 50%, rgba(255,255,255,0.6) 100%)",border:"1px solid rgba(255,255,255,0.6)",boxShadow:"inset 0 1px 1px rgba(255,255,255,0.6), 0 8px 24px rgba(0,0,0,0.12)",backdropFilter:"blur(20px)",WebkitBackdropFilter:"blur(20px)"},children:[(0,t.jsx)(s.default,{src:m.iconUrl,alt:`${m.name} icon`,width:20,height:20,className:"-ml-1 mr-1 h-5 w-5"}),c("landing.hero.addToBrowser",{browser:m.name}),(0,t.jsx)(a.ArrowRight,{className:"h-4 w-4 transition-transform group-hover:translate-x-0.5"})]}):(0,t.jsxs)(l.default,{href:`/extensions/${m.slug}`,className:"group inline-flex items-center gap-2 rounded-2xl px-6 py-2.5 text-sm font-semibold text-gray-800 transition-all hover:scale-105 sm:px-8 sm:py-3",style:{background:"linear-gradient(135deg, rgba(255,255,255,0.65) 0%, rgba(200,220,240,0.5) 50%, rgba(255,255,255,0.6) 100%)",border:"1px solid rgba(255,255,255,0.6)",boxShadow:"inset 0 1px 1px rgba(255,255,255,0.6), 0 8px 24px rgba(0,0,0,0.12)",backdropFilter:"blur(20px)",WebkitBackdropFilter:"blur(20px)"},children:[(0,t.jsx)(s.default,{src:m.iconUrl,alt:`${m.name} icon`,width:20,height:20,className:"-ml-1 mr-1 h-5 w-5"}),c("landing.hero.getForBrowser",{browser:m.name}),(0,t.jsx)(a.ArrowRight,{className:"h-4 w-4 transition-transform group-hover:translate-x-0.5"})]}),(0,t.jsx)(l.default,{href:p?"/dashboard":"/login",className:"rounded-2xl px-6 py-2.5 text-sm font-semibold text-white transition-all hover:scale-105 sm:px-8 sm:py-3",style:{background:"rgba(255,255,255,0.15)",border:"1px solid rgba(255,255,255,0.35)",boxShadow:"inset 0 1px 1px rgba(255,255,255,0.3), 0 4px 16px rgba(0,0,0,0.1)",backdropFilter:"blur(20px)",WebkitBackdropFilter:"blur(20px)",textShadow:"0 1px 4px rgba(0,0,0,0.2)"},children:c(p?"landing.hero.dashboard":"landing.hero.loginWebApp")})]})]})]})})}e.s(["Cta",()=>d])},175774,e=>{"use strict";let t=document.createElement("i");function r(e){let r="&"+e+";";t.innerHTML=r;let a=t.textContent;
23return(59!==a.charCodeAt(a.length-1)||"semi"===e)&&a!==r&&a}e.s(["decodeNamedCharacterReference",()=>r])},880135,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"BailoutToCSR",{enumerable:!0,get:function(){return s}});let a=e.r(882835);function s(e){let{reason:t,children:r}=e;if("u"<typeof window)throw Object.defineProperty(new a.BailoutToCSRError(t),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});return r}},341394,(e,t,r)=>{"use strict";function a(e){return e.split("/").map(e=>encodeURIComponent(e)).join("/")}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"encodeURIPath",{enumerable:!0,get:function(){return a}})},281915,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"PreloadChunks",{enumerable:!0,get:function(){return o}});let a=e.r(918003),s=e.r(458e3),l=e.r(729601),i=e.r(341394),n=e.r(505233);function o(e){let{moduleIds:t}=e;if("u">typeof window)return null;let r=l.workAsyncStorage.getStore();if(void 0===r)return null;let o=[];if(r.reactLoadableManifest&&t){let e=r.reactLoadableManifest;for(let r of t){if(!e[r])continue;let t=e[r].files;o.push(...t)}}if(0===o.length)return null;let d=(0,n.getDeploymentIdQueryOrEmptyString)();return(0,a.jsx)(a.Fragment,{children:o.map(e=>{let t=`${r.assetPrefix}/_next/${(0,i.encodeURIPath)(e)}${d}`;return e.endsWith(".css")?(0,a.jsx)("link",{precedence:"dynamic",href:t,rel:"stylesheet",as:"style",nonce:r.nonce},e):((0,s.preload)(t,{as:"script",fetchPriority:"low",nonce:r.nonce}),null)})})}},689304,e=>{"use strict";let t=(0,e.i(178441).default)("PenTool",[["path",{d:"M15.707 21.293a1 1 0 0 1-1.414 0l-1.586-1.586a1 1 0 0 1 0-1.414l5.586-5.586a1 1 0 0 1 1.414 0l1.586 1.586a1 1 0 0 1 0 1.414z",key:"nt11vn"}],["path",{d:"m18 13-1.375-6.874a1 1 0 0 0-.746-.776L3.235 2.028a1 1 0 0 0-1.207 1.207L5.35 15.879a1 1 0 0 0 .776.746L13 18",key:"15qc1e"}],["path",{d:"m2.3 2.3 7.286 7.286",key:"1wuzzi"}],["circle",{cx:"11",cy:"11",r:"2",key:"xmgehs"}]]);e.s(["PenTool",()=>t],689304)},597994,e=>{"use strict";let t=(0,e.i(178441).default)("Kanban",[["path",{d:"M6 5v11",key:"mdvv1e"}],["path",{d:"M12 5v6",key:"14ar3b"}],["path",{d:"M18 5v14",key:"7ji314"}]]);e.s(["Kanban",()=>t],597994)},744768,848314,e=>{"use strict";var t=e.i(178441);let r=(0,t.default)("SquareCheckBig",[["path",{d:"M21 10.5V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h12.5",key:"1uzm8b"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]]);e.s(["CheckSquare",()=>r],744768);let a=(0,t.default)("Minus",[["path",{d:"M5 12h14",key:"1ays0h"}]]);e.s(["Minus",()=>a],848314)},530424,e=>{"use strict";let t=(0,e.i(178441).default)("List",[["path",{d:"M3 12h.01",key:"nlz23k"}],["path",{d:"M3 18h.01",key:"1tta3j"}],["path",{d:"M3 6h.01",key:"1rqtza"}],["path",{d:"M8 12h13",key:"1za7za"}],["path",{d:"M8 18h13",key:"1lx6n3"}],["path",{d:"M8 6h13",key:"ik3vkj"}]]);e.s(["List",()=>t],530424)},710885,e=>{"use strict";let t=(0,e.i(178441).default)("LoaderCircle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);e.s(["Loader2",()=>t],710885)},701624,e=>{"use strict";let t=(0,e.i(178441).default)("Mail",[["rect",{width:"20",height:"16",x:"2",y:"4",rx:"2",key:"18n3k1"}],["path",{d:"m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7",key:"1ocrg3"}]]);e.s(["Mail",()=>t],701624)},17800,e=>{"use strict";let t=(0,e.i(178441).default)("ArrowLeft",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]);e.s(["ArrowLeft",()=>t],17800)},501078,e=>{"use strict";let t=(0,e.i(178441).default)("Copy",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]]);e.s(["Copy",()=>t],501078)},943873,e=>{"use strict";let t=(0,e.i(178441).default)("Search",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]]);e.s(["Search",()=>t],943873)},268252,e=>{"use strict";let t=(0,e.i(178441).default)("Plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]]);e.s(["Plus",()=>t],268252)},965979,e=>{"use strict";let t=(0,e.i(178441).default)("Bookmark",[["path",{d:"m19 21-7-4-7 4V5a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v16z",key:"1fy3hk"}]]);e.s(["Bookmark",()=>t],965979)},2691,e=>{"use strict";let t=(0,e.i(178441).default)("Timer",[["line",{x1:"10",x2:"14",y1:"2",y2:"2",key:"14vaq8"}],["line",{x1:"12",x2:"15",y1:"14",y2:"11",key:"17fdiu"}],["circle",{cx:"12",cy:"14",r:"8",key:"1e1u0o"}]]);e.s(["Timer",()=>t],2691)},702602,e=>{"use strict";let t=(0,e.i(178441).default)("StickyNote",[["path",{d:"M16 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V8Z",key:"qazsjp"}],["path",{d:"M15 3v4a2 2 0 0 0 2 2h4",key:"40519r"}]]);e.s(["StickyNote",()=>t],702602)},409856,709361,e=>{"use strict";var t=e.i(178441);let r=(0,t.default)("Play",[["polygon",{points:"6 3 20 12 6 21 6 3",key:"1oa8hb"}]]);e.s(["Play",()=>r],409856);let a=(0,t.default)("RotateCcw",[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}]]);e.s(["RotateCcw",()=>a],709361)},418262,e=>{"use strict";let t=(0,e.i(178441).default)("Ellipsis",[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"19",cy:"12",r:"1",key:"1wjl8i"}],["circle",{cx:"5",cy:"12",r:"1",key:"1pcz8c"}]]);e.s(["MoreHorizontal",()=>t],418262)},566293,e=>{"use strict";let t=(0,e.i(178441).default)("TrendingDown",[["polyline",{points:"22 17 13.5 8.5 8.5 13.5 2 7",key:"1r2t7k"}],["polyline",{points:"16 17 22 17 22 11",key:"11uiuu"}]]);e.s(["TrendingDown",()=>t],566293)},818080,e=>{"use strict";let t=(0,e.i(178441).default)("Building2",[["path",{d:"M6 22V4a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v18Z",key:"1b4qmf"}],["path",{d:"M6 12H4a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h2",key:"i71pzd"}],["path",{d:"M18 9h2a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2h-2",key:"10jefs"}],["path",{d:"M10 6h4",key:"1itunk"}],["path",{d:"M10 10h4",key:"tcdvrf"}
23],["path",{d:"M10 14h4",key:"kelpxr"}],["path",{d:"M10 18h4",key:"1ulq68"}]]);e.s(["Building2",()=>t],818080)},469617,e=>{"use strict";var t=e.i(918003),r=e.i(251718),a=e.i(818080),s=e.i(501078),l=e.i(710885);e.i(116233);var i=e.i(181241);e.i(257620);var n=e.i(748782),o=e.i(536459);function d(){let{hideHeader:e=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{t:o}=(0,n.useTranslation)(),[d,x]=(0,r.useState)("monthly"),[p,h]=(0,r.useState)(!1),[g,m]=(0,r.useState)([]),[u,b]=(0,r.useState)(!0);return(0,r.useEffect)(()=>{fetch("/api/pricing").then(e=>e.json()).then(e=>m(e.plans)).catch(e=>console.error("Failed to load pricing:",e)).finally(()=>b(!1))},[]),(0,t.jsx)(i.TooltipProvider,{delayDuration:0,children:(0,t.jsxs)("section",{id:"pricing",className:"dot-grid relative overflow-hidden px-6 py-24 md:px-12 lg:px-20",children:[!e&&(0,t.jsxs)("div",{className:"relative mx-auto max-w-4xl text-center",children:[(0,t.jsx)("h2",{className:"text-4xl font-bold tracking-tight text-gray-900 md:text-5xl",style:{fontFamily:"var(--font-segoe-print)"},children:o("landing.pricing.title")}),(0,t.jsx)("p",{className:"mx-auto mt-4 max-w-2xl text-lg text-gray-500",style:{fontFamily:"var(--font-segoe-print)"},children:o("landing.pricing.subtitle")})]}),(0,t.jsxs)("div",{className:"relative mx-auto mt-16 max-w-3xl overflow-hidden rounded-3xl",children:[(0,t.jsx)("div",{className:"absolute inset-0",style:{backgroundImage:"url(/backgrounds/basetab_ai_background_1.webp)",backgroundSize:"cover",backgroundPosition:"center",filter:"blur(8px)",transform:"scale(1.05)"}}),(0,t.jsx)("div",{className:"absolute inset-0 bg-black/20"}),(0,t.jsxs)("div",{className:"relative flex flex-col items-center gap-1.5 pt-6",children:[(0,t.jsx)("span",{className:`rounded-full border border-white/40 bg-white/25 px-3 py-1 text-xs font-medium text-gray-700 backdrop-blur-md transition-opacity ${"yearly"===d?"opacity-100":"opacity-0"}`,children:o("pricing.twoMonthsFree")}),(0,t.jsxs)("div",{className:"relative flex rounded-xl bg-white/20 p-1 backdrop-blur-sm",children:[(0,t.jsx)("button",{onClick:()=>x("monthly"),className:`relative z-10 w-24 rounded-lg py-1.5 text-center text-sm font-medium transition-colors ${"monthly"===d?"text-gray-800":"text-gray-500 hover:text-gray-700"}`,children:o("billing.monthly")}),(0,t.jsx)("button",{onClick:()=>x("yearly"),className:`relative z-10 w-24 rounded-lg py-1.5 text-center text-sm font-medium transition-colors ${"yearly"===d?"text-gray-800":"text-gray-500 hover:text-gray-700"}`,children:o("billing.yearly")}),(0,t.jsx)("div",{className:"absolute bottom-1 top-1 w-24 rounded-lg bg-white/50 shadow-sm transition-all duration-200",style:{left:"monthly"===d?"4px":"calc(50%)"}})]})]}),u?(0,t.jsx)("div",{className:"relative flex items-center justify-center py-32",children:(0,t.jsx)(l.Loader2,{className:"h-8 w-8 animate-spin text-gray-500"})}):(0,t.jsx)("div",{className:"relative grid grid-cols-1 gap-4 p-4 sm:grid-cols-2 sm:p-6",children:g.map(e=>(0,t.jsx)(c,{plan:e,billing:d},e.key))}),(0,t.jsx)("div",{className:"relative mx-4 mb-4 sm:mx-6 sm:mb-6",children:(0,t.jsxs)("div",{className:"flex flex-col items-center justify-between gap-4 rounded-2xl p-5 transition-transform hover:scale-[0.99] sm:flex-row",style:{background:"linear-gradient(135deg, rgba(255,255,255,0.6) 0%, rgba(245,248,255,0.4) 100%)",border:"1px solid rgba(0,0,0,0.06)",backdropFilter:"blur(20px)",WebkitBackdropFilter:"blur(20px)",boxShadow:"0 4px 16px rgba(0,0,0,0.04), inset 0 1px 0 rgba(255,255,255,0.6)"},children:[(0,t.jsxs)("div",{className:"flex items-center gap-3",children:[(0,t.jsx)("div",{className:"flex h-10 w-10 items-center justify-center rounded-xl bg-white/40",children:(0,t.jsx)(a.Building2,{className:"h-5 w-5 text-gray-600"})}),(0,t.jsxs)("div",{children:[(0,t.jsx)("h3",{className:"font-semibold text-gray-800",children:o("pricing.enterprise")}),(0,t.jsx)("p",{className:"text-xs text-gray-500",children:o("pricing.enterpriseDesc")})]})]}),(0,t.jsxs)("a",{href:"mailto:[email protected]",className:"group flex items-center gap-2 rounded-xl border border-white/40 bg-white/30 px-5 py-2.5 text-sm font-medium text-gray-700 transition-all hover:scale-[1.02] hover:bg-white/50 active:scale-[0.98]",children:[(0,t.jsx)(s.Copy,{className:"hidden h-3.5 w-3.5 transition-transform hover:scale-[0.8] active:scale-[0.7] group-hover:block",onClick:e=>{e.preventDefault(),e.stopPropagation(),navigator.clipboard.writeText("[email protected]"),h(!0),setTimeout(()=>h(!1),2e3)}}),o(p?"common.copied":"common.contactUs")]})]})})]})]})})}function c(e){let{plan:a,billing:s}=e,{t:l}=(0,n.useTranslation)(),[d,c]=(0,r.useState)(!1),x=(0,r.useRef)(null),p=Array.isArray(a.tiers)&&a.tiers.length>0,[h,g]=(0,r.useState)(a.tiers?.find(e=>100===e.credits)?.credits??a.tiers?.[0]?.credits??a.defaultTier??null),m=p?a.tiers.find(e=>e.credits===h)??a.tiers[0]:null,u=m?"yearly"===s?m.yearly:m.monthly:0,b=p&&m?`/login?intent=upgrade&tier=${m.credits}&billing=${s}`:"/login";return(0,t.jsxs)("div",{ref:x,onMouseEnter:()=>c(!0),onMouseLeave:e=>{let t=x.current?.getBoundingClientRect();t&&e.clientX>=t.left&&e.clientX<=t.right&&e.clientY>
23=t.top&&e.clientY<=t.bottom||c(!1)},className:"group relative flex flex-col rounded-2xl p-5 transition-transform",style:{transform:d?"scale(0.98)":"scale(1)",background:a.popular?"linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(235,240,255,0.7) 50%, rgba(255,255,255,0.85) 100%)":"linear-gradient(135deg, rgba(255,255,255,0.6) 0%, rgba(245,248,255,0.4) 100%)",border:a.popular?"1px solid rgba(99,102,241,0.25)":"1px solid rgba(0,0,0,0.06)",backdropFilter:"blur(20px)",WebkitBackdropFilter:"blur(20px)",boxShadow:a.popular?"0 8px 40px rgba(99,102,241,0.1), inset 0 1px 0 rgba(255,255,255,0.8)":"0 4px 16px rgba(0,0,0,0.04), inset 0 1px 0 rgba(255,255,255,0.6)"},children:[(0,t.jsx)("div",{className:"mb-3",children:(0,t.jsx)("h3",{className:"font-semibold text-gray-800",children:l(`pricing.plans.${a.key.toLowerCase()}`,{defaultValue:a.name})})}),(0,t.jsxs)("div",{className:"mb-4 flex items-baseline gap-1",children:[(0,t.jsxs)("span",{className:"text-3xl font-bold text-gray-900",children:["$",0===u?"0":u]}),(0,t.jsx)("span",{className:"text-sm text-gray-400",children:"yearly"===s?l("billing.perYear"):l("billing.perMonth")})]}),(0,t.jsx)("div",{className:"mb-4",children:p&&m?(0,t.jsx)("select",{value:m.credits,onChange:e=>g(Number(e.target.value)),className:"w-full rounded-lg border border-gray-300/60 bg-white/70 px-3 py-2 text-sm font-medium text-gray-800 backdrop-blur-sm focus:border-indigo-400 focus:outline-none focus:ring-2 focus:ring-indigo-200",children:a.tiers.map(e=>(0,t.jsx)("option",{value:e.credits,children:l("pricing.creditTierOption",{count:e.credits,defaultValue:`${e.credits} AI Credits`})},e.credits))}):(0,t.jsx)("select",{disabled:!0,value:"0",className:"w-full cursor-not-allowed rounded-lg border border-gray-300/60 bg-white/70 px-3 py-2 text-sm font-medium text-gray-800 opacity-70 backdrop-blur-sm",children:(0,t.jsx)("option",{value:"0",children:l("pricing.creditTierOption",{count:0,defaultValue:"0 AI Credits"})})})}),(0,t.jsx)("ul",{className:"mb-6 flex-1 space-y-2.5 list-disc list-inside",children:(()=>{let e=a.features.map(e=>({key:e.label,label:l(`pricing.features.${e.label}`,{defaultValue:e.label}),tooltip:l(`pricing.tooltips.${e.label}`,{defaultValue:e.tooltip})}));if(p&&m){let t=a.features.findIndex(e=>"AI Widget Creation"===e.label),r=t>=0?t+1:e.length;e.splice(r,0,{key:"ai-credits-dynamic",label:l("pricing.features.aiCreditsDynamic",{count:m.credits,defaultValue:`${m.credits} AI Credits / month`}),tooltip:l("pricing.tooltips.aiCreditsDynamic",{defaultValue:"Credits are used to generate AI widgets and other AI-powered features."})})}return e.map(e=>(0,t.jsx)("li",{children:(0,t.jsxs)(i.Tooltip,{children:[(0,t.jsx)(i.TooltipTrigger,{asChild:!0,children:(0,t.jsx)("span",{className:"cursor-help text-xs font-semibold text-gray-600",children:e.label})}),(0,t.jsx)(i.TooltipContent,{children:e.tooltip})]})},e.key))})()}),(0,t.jsx)(o.default,{href:b,className:"block rounded-xl py-2.5 text-center text-sm font-semibold transition-all hover:scale-[1.02]",style:a.popular?{background:"linear-gradient(135deg, #6366f1 0%, #818cf8 100%)",color:"white",boxShadow:"0 4px 16px rgba(99,102,241,0.3), inset 0 1px 0 rgba(255,255,255,0.2)"}:{background:"linear-gradient(135deg, rgba(255,255,255,0.7) 0%, rgba(240,245,255,0.5) 100%)",border:"1px solid rgba(0,0,0,0.08)",color:"#374151",boxShadow:"0 2px 8px rgba(0,0,0,0.04)"},children:p?m?.credits===100?l("pricing.startFreeTrial",{defaultValue:"Start 3-Day Free Trial"}):l("pricing.upgradeToPro",{defaultValue:"Upgrade to Pro"}):l("common.getStarted")})]})}e.s(["Pricing",()=>d])},206828,e=>{"use strict";var t=e.i(918003),r=e.i(251718),a=e.i(473790),s=e.i(536459),l=e.i(943873),i=e.i(268252),n=e.i(76609),o=e.i(174900),d=e.i(978022);e.i(257620);var c=e.i(748782),x=e.i(594827),p=e.i(863391),h=e.i(965979),g=e.i(2691),m=e.i(702602),u=e.i(689304),b=e.i(597994);function f(e,t,r){return Math.max(t,Math.min(r,e))}function y(e){let{className:r}=e;return(0,t.jsx)(a.default,{src:"https://cdn.basetab.ai/brand-assets/ai/chatgpt.png",alt:"ChatGPT logo",width:16,height:16,className:r})}function v(e){let{className:r}=e;return(0,t.jsx)(a.default,{src:"https://cdn.basetab.ai/brand-assets/google/gmail.png",alt:"Gmail logo",width:16,height:16,className:r})}let w=[{key:"bookmarks",header:"Bookmarks",icon:h.Bookmark,delay:0,start:{t:8,l:-10,w:16,h:22},end:{t:22,l:1,w:15,h:24}},{key:"gmail",header:"Gmail",icon:v,delay:0,start:{t:-8,l:92,w:16,h:22},end:{t:7,l:84,w:15,h:24}},{key:"gcalendar",header:"Google Calendar",icon:function(e){let{className:r}=e;return(0,t.jsx)(a.default,{src:"https://cdn.basetab.ai/brand-assets/google/calendar.png",alt:"Google Calendar logo",width:16,height:16,className:r})},delay:0,start:{t:72,l:-12,w:20,h:30},end:{t:58,l:1,w:23,h:38}},{key:"chatgpt",header:"ChatGPT",icon:y,delay:0,start:{t:30,l:84,w:22,h:22},end:{t:26,l:74,w:24,h:28}},{key:"pomodoro",header:"Pomodoro",icon:g.Timer,delay:0,start:{t:40,l:-12,w:16,h:22},end:{t:26,l:10,w:17,h:28}},{key:"whiteboard",header:"Whiteboard",icon:u.PenTool,delay:0,start:{t:72,l:90,w:20,h:30},end:{t:58,l:76,w:23,h:38}},{key:"kanban",header:"Kanban",icon:b.Kanban,delay:.35,start:{t:105,l:20,w:20,h:18},end:{t:64,l:26,w:30,h:30}},{key:"notes",header:"Notes",icon:m.StickyNote,delay:.45,start:{t:105,l:60,w:12,h:18},end:{t:64,l:57,w:17,h:30}}],j=[{key:"pomodoro",header:"Pomodoro",icon:g.Timer,delay:0,start:{t:95,l:3,w:46,h:22},end:{t:43,l:2,w:44,h:23}},{key:"chatgpt",header:"ChatGPT",icon:y,delay:0,start:{t:95,l:51,w:46,h:22},end:{t:44,l:53,w:45,h:21}},{key:"notes",header:"Notes",icon:m.StickyNote,delay:0,start:{t:120,l:3,w:46,h:22},end:{t:68,l:5,w:45,h:22}},{key:"gmail",header:"Gmail",icon:v,delay:0,start:{t:120,l:51,w:46,h:22},end:{t:71,l:52,w:46,h:21}}];function k(e){let{children:a,style:s,className:l="",header:i,headerIcon:n,onPointerDown:o,wiggle:d=!1}=e,[c,x]=(0,r.useState)(!1),p=c||d;return(0,t.jsx)("div",{className:`absolute rounded-3xl p-2 ${l}`,onPointerDown:o,onPointerEnter:()=>x(!0),onPointerLeave:()=>x(!1),style:{background:"linear-gradient(135deg, rgba(255,255,255,0.7) 0%, rgba(220,230,245,0.65) 50%, rgba(255,255,255,0.65) 100%)",border:p?"2px dashed rgba(255,255,255,0.8)":"1px solid rgba(255,255,255,0.5)",boxShadow:p?"inset 0 1px 1px rgba(255,255,255,0.5), inset 0 -1px 1px rgba(255,255,255,0.15), 0 12px 40px rgba(0,0,0,0.15)":"inset 0 1px 1px rgba(255,255,255,0.5), inset 0 -1px 1px rgba(255,255,255,0.15), 0 8px 32px rgba(0,0,0,0.08)",animation:p?"widget-wiggle 1.2s ease-in-out":"none",transition:"border 0.2s ease, box-shadow 0.2s ease",willChange:"translate, opacity",backfaceVisibility:"hidden",contain:"size layout style paint",...s},children:(0,t.jsxs)("div",{className:"flex h-full w-full flex-col overflow-hidden rounded-2xl",style:{background:"rgba(255,255,255,0.15)",border:"1px solid rgba(255,255,255,0.2)"},children:[i&&(0,t.jsxs)("div",{className:"flex items-center gap-1.5 px-3 pb-0.5 pt-2.5",children:[n&&(0,t.jsx)(n,{className:"h-4 w-4 text-gray-800"}),(0,t.jsx)("span",{className:"text-sm font-semibold text-gray-800",children:i})]}),(0,t.jsx)("div",{className:"flex-1 overflow-hidden",children:a})]})})}var N=e.i(302509),S=e.i(409856),C=e.i(709361);function T(e){let{type:r,expanded:a}=e;switch(r){case"gcalendar":{let e={3:"#4285f4",7:"#34a853",12:"#fbbc04",15:"#4285f4",21:"#ea4335",25:"#34a853"};return(0,t.jsxs)("div",{className:"flex h-full flex-col px-1.5 py-1.5",children:[(0,t.jsx)("div",{className:"mb-1 text-center text-[9px] font-semibold text-gray-800",children:"February 2026"}),(0,t.jsxs)("div",{className:"grid flex-1 grid-cols-7",children:[["M","T","W","T","F","S","S"].map((e,r)=>(0,t.jsx)("div",{className:"flex items-center justify-center border-b border-white/15 text-[7px] font-semibold text-gray-700",children:e},r)),Array.from({length:28},(r,a)=>{let s=a+1,l=22===s,i=e[s];return(0,t.jsx)("div",{className:`flex items-center justify-center border border-white/10 text-[7px] ${l?"bg-[#4285f4]/20 font-bold text-[#4285f4]":"text-gray-800"}`,children:(0,t.jsxs)("div",{className:"relative",children:[s,i&&(0,t.jsx)("div",{className:"absolute -bottom-[2px] left-1/2 h-[3px] w-[3px] -translate-x-1/2 roun
23ded-full",style:{backgroundColor:i}})]})},a)})]})]})}case"gmail":{let e=[{from:"John",subject:"Sprint Review",unread:!0,initial:"J",color:"#4285f4"},{from:"GitHub",subject:"PR #42 merged",unread:!0,initial:"G",color:"#333"},{from:"Linear",subject:"Issue assigned",unread:!1,initial:"L",color:"#5e6ad2"}],r=a?e:e.slice(0,2);return(0,t.jsx)("div",{className:"flex h-full flex-col px-2.5 pb-2",children:r.map(e=>{let{from:r,subject:a,unread:s,initial:l,color:i}=e;return(0,t.jsxs)("div",{className:"flex items-center gap-2 border-b border-white/10 py-1.5",children:[(0,t.jsx)("div",{className:"flex h-5 w-5 flex-shrink-0 items-center justify-center rounded-full text-[8px] font-bold text-white",style:{backgroundColor:i},children:l}),(0,t.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,t.jsx)("div",{className:`truncate text-[10px] ${s?"font-semibold text-gray-800":"text-gray-700"}`,children:r}),(0,t.jsx)("div",{className:"truncate text-[8px] text-gray-800",children:a})]})]},a)})})}case"bookmarks":{let e=[{name:"GitHub",color:"#333"},{name:"YouTube",color:"#FF0000"},{name:"Figma",color:"#a259ff"},{name:"Notion",color:"#999"},{name:"Linear",color:"#5e6ad2"}],r=a?e:e.slice(0,3);return(0,t.jsx)("div",{className:"flex h-full flex-col px-3 pb-2",children:r.map((e,r,a)=>{let{name:s,color:l}=e;return(0,t.jsxs)("div",{className:`flex items-center gap-2 py-2 ${r<a.length-1?"border-b border-gray-300/30":""}`,children:[(0,t.jsx)("div",{className:"h-4 w-4 flex-shrink-0 rounded",style:{backgroundColor:l}}),(0,t.jsx)("span",{className:"flex-1 truncate text-sm text-gray-800",children:s})]},s)})})}case"chatgpt":{let e=[{role:"user",text:"Explain React hooks"},{role:"assistant",text:"React Hooks let you use state and lifecycle features in functional components..."}],r=a?[...e,{role:"user",text:"Show me an example"},{role:"assistant",text:"const [count, setCount] = useState(0);"}]:e;return(0,t.jsxs)("div",{className:"flex h-full flex-col px-2.5 pb-2 pt-1",children:[(0,t.jsx)("div",{className:"flex-1 space-y-1.5 overflow-hidden",children:r.map((e,r)=>{let{role:a,text:s}=e;return(0,t.jsx)("div",{className:`flex ${"user"===a?"justify-end":"justify-start"}`,children:(0,t.jsx)("div",{className:`max-w-[85%] rounded-lg px-2 py-1 text-[9px] leading-tight ${"user"===a?"bg-[#10a37f]/20 text-gray-800":"bg-white/30 text-gray-700"}`,children:s})},r)})}),a&&(0,t.jsxs)("div",{className:"mt-1.5 flex items-center gap-1.5 rounded-lg bg-white/20 px-2 py-1.5",children:[(0,t.jsx)("div",{className:"flex-1 text-[8px] text-gray-700",children:"Ask ChatGPT..."}),(0,t.jsx)("div",{className:"flex h-4 w-4 items-center justify-center rounded bg-[#10a37f]/30",children:(0,t.jsx)(N.ArrowRight,{className:"h-2.5 w-2.5 text-gray-600"})})]})]})}case"pomodoro":return(0,t.jsxs)("div",{className:"flex h-full flex-col items-center justify-center p-3",children:[(0,t.jsx)("div",{className:"text-3xl font-bold tracking-tight text-gray-800",children:"25:00"}),a&&(0,t.jsxs)("div",{className:"mt-2 flex gap-2",children:[(0,t.jsx)("div",{className:"flex h-7 w-7 items-center justify-center rounded-full bg-white/30 text-gray-700",children:(0,t.jsx)(S.Play,{className:"h-3.5 w-3.5"})}),(0,t.jsx)("div",{className:"flex h-7 w-7 items-center justify-center rounded-full bg-white/30 text-gray-700",children:(0,t.jsx)(C.RotateCcw,{className:"h-3.5 w-3.5"})})]})]});case"notes":return(0,t.jsxs)("div",{className:"px-3 pb-2 pt-1",children:[(0,t.jsx)("p",{className:"text-sm font-bold text-gray-800",children:"Meeting Notes"}),(0,t.jsx)("p",{className:"mt-1 text-xs leading-relaxed text-gray-700",children:"Discussed the new landing page design..."}),a&&(0,t.jsxs)("ul",{className:"ml-3.5 mt-1 list-disc text-xs text-gray-800",children:[(0,t.jsx)("li",{children:"Hero section"}),(0,t.jsx)("li",{children:"Widget previews"})]})]});case"kanban":return(0,t.jsxs)("div",{className:"flex h-full gap-1.5 px-2.5 pb-2 pt-1",children:[(0,t.jsxs)("div",{className:"flex-1 rounded-lg bg-white/20 p-1.5",children:[(0,t.jsx)("div",{className:"mb-1.5 text-[10px] font-semibold text-gray-700",children:"To Do"}),(0,t.jsxs)("div",{className:"space-y-1",children:[(0,t.jsx)("div",{className:"rounded-md bg-white/30 px-2 py-1 text-[10px] text-gray-700",children:"Design system"}),(0,t.jsx)("div",{className:"rounded-md bg-white/30 px-2 py-1 text-[10px] text-gray-700",children:"API docs"})]})]}),(0,t.jsxs)("div",{className:"flex-1 rounded-lg bg-white/20 p-1.5",children:[(0,t.jsx)("div",{className:"mb-1.5 text-[10px] font-semibold text-gray-700",children:"In Progress"}),(0,t.jsx)("div",{className:"space-y-1",children:(0,t.jsx)("div",{className:"rounded-md bg-white/30 px-2 py-1 text-[10px] text-gray-700",children:"Landing page"})})]}),(0,t.jsxs)("div",{className:"flex-1 rounded-lg bg-white/20 p-1.5",children:[(0,t.jsx)("div",{className:"mb-1.5 text-[10px] font-semibold text-gray-700",children:"Done"}),(0,t.jsx)("div",{className:"space-y-1",children:(0,t.jsx)("div",{className:"rounded-md bg-white/30 px-2 py-1 text-[10px] text-gray-700 line-through opacity-50",children:"Auth flow"})})]})]});case"whiteboard":return(0,t.jsx)("div",{className:"flex h-full items-center justify-center p-2",children:(0,t.jsx)("div",{className:"relative h-full w-full rounded border border-dashed border-gray-300/30 bg-white/10",children:(0,t.jsxs)("svg",{className:"absolute inset-0 h-full w-full",viewBox:"0 0 200 120",preserveAspectRatio:"none",children:[(0,t.jsx)("path",{d:"M30 80 Q60 20 100 60 T170 40",stroke:"#6366f1",strokeWidth:"2",fill:"none",strokeLinecap:"round"}),(0,t.jsx)("circle",{cx:"50",cy:"50",r:"12",fill:"none",stroke:"#f59e0b",strokeWidth:"2"}),(0,t.jsx)("rect",{x:"130",y:"55",width:"35",height:"25",rx:"4",fill:"none",stroke:"#10b981",strokeWidth:"2"})]})})});default:return null}}function F(e){let{expanded:a,isAtEnd:s,progressRef:l,isMobile:i}=e,n=i?j:w,o=(0,r.useRef)(null),[d,c]=(0,r.useState)({}),[x,p]=(0,r.useState)(null),h=(0,r.useRef)(null),g=(0,r.useRef)(!1),[m,u]=(0,r.useState)(!1);(0,r.useEffect)(()=>
23{if(!s&&g.current&&(c({}),p(null),h.current=null,u(!1)),s&&!g.current){u(!0);let e=setTimeout(()=>u(!1),1500);return g.current=s,()=>clearTimeout(e)}g.current=s},[s]);let b=(0,r.useCallback)((e,t,r)=>{var a,s;if(!o.current)return;e.preventDefault();let i=n[r],d=l.current??0,c=i.delay>0?f((d-i.delay)/(1-i.delay),0,1):d,x=(a=i.start.t,a+(i.end.t-a)*c),g=(s=i.start.l,s+(i.end.l-s)*c),m=o.current.getBoundingClientRect();h.current={key:t,offsetX:(e.clientX-m.left)/m.width*100-g,offsetY:(e.clientY-m.top)/m.height*100-x},p(t)},[l,n]);return(0,r.useEffect)(()=>{if(!x)return;let e=e=>{let t=h.current;if(!t||!o.current)return;let r=o.current.getBoundingClientRect(),a=(e.clientX-r.left)/r.width*100,s=(e.clientY-r.top)/r.height*100;c(e=>({...e,[t.key]:{t:s-t.offsetY,l:a-t.offsetX}}))},t=()=>{h.current=null,p(null)};return window.addEventListener("pointermove",e),window.addEventListener("pointerup",t),()=>{window.removeEventListener("pointermove",e),window.removeEventListener("pointerup",t)}},[x]),(0,t.jsx)("div",{ref:o,className:"relative h-full w-full",style:{containerType:"size"},children:n.map((e,r)=>{let s=d[e.key],l=!!s,i=e.end.t-e.start.t,n=e.end.l-e.start.l,o=e.end.w-e.start.w,c=e.end.h-e.start.h,p=e.delay>0?`clamp(0, (var(--p, 0) - ${e.delay}) / ${1-e.delay}, 1)`:"var(--p, 0)",h=e.delay>0?`clamp(0, (var(--p, 0) - ${e.delay}) * 4, 1)`:"1";return(0,t.jsx)(k,{header:e.header,headerIcon:e.icon,wiggle:m,onPointerDown:t=>b(t,e.key,r),style:{top:0,left:0,translate:l?`${s.l}cqw ${s.t}cqh`:`calc(${e.start.l}cqw + ${n}cqw * ${p}) calc(${e.start.t}cqh + ${i}cqh * ${p})`,width:`calc(${e.start.w}% + ${o}% * ${p})`,height:`calc(${e.start.h}% + ${c}% * ${p})`,opacity:h,cursor:x===e.key?"grabbing":"grab",zIndex:x===e.key?50:1,touchAction:"none",userSelect:"none",transition:x===e.key?"none":"box-shadow 0.2s ease"},children:(0,t.jsx)(T,{type:e.key,expanded:a})},e.key)})})}function P(e){let{isLoggedIn:h}=e,{t:g}=(0,c.useTranslation)(),{data:m}=(0,d.useSession)(),u=h??!!m?.user,b=(0,r.useRef)(null),y=(0,r.useRef)(0),v=(0,r.useRef)(!1),w=(0,r.useRef)(!1),[j,k]=(0,r.useState)(!1),[N,S]=(0,r.useState)(!1),C=(0,r.useRef)(null),[T,P]=(0,r.useState)(!1),[$,L]=(0,r.useState)(!1),[M,R]=(0,r.useState)("chrome");(0,r.useEffect)(()=>{R((0,x.detectBrowserSlug)())},[]);let{primary:B,others:E,mobile:A}=(0,x.getBrowserOptions)(M);(0,r.useEffect)(()=>{function e(e){C.current&&!C.current.contains(e.target)&&S(!1)}return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e)},[]);let z=(0,r.useRef)(0),U=(0,r.useCallback)(()=>{b.current&&(z.current=b.current.offsetTop)},[]),q=(0,r.useRef)(!1),_=(0,r.useCallback)(e=>{let t=b.current;t&&t.style.setProperty("--p",String(e))},[]),I=(0,r.useCallback)(()=>{if(q.current||!b.current)return;let e=2*window.innerHeight,t=f((window.scrollY-z.current)/e,0,1);y.current=t,_(t);let r=t>.3;r!==v.current&&(v.current=r,P(r));let a=t>=.98;a!==w.current&&(w.current=a,L(a))},[_]);return(0,r.useLayoutEffect)(()=>{U();let e=2*window.innerHeight,t=f((window.scrollY-z.current)/e,0,1);y.current=t,_(t),v.current=t>.3,t>.3&&P(!0),w.current=t>=.98,t>=.98&&L(!0)},[_,U]),(0,r.useEffect)(()=>{window.addEventListener("scroll",I,{passive:!0}),I();let e=()=>{U();let e=window.innerWidth<768;q.current=e,k(e),e&&(y.current=1,_(1),v.current=!0,P(!0),w.current=!0,L(!0))};return e(),window.addEventListener("resize",e),()=>{window.removeEventListener("scroll",I),window.removeEventListener("resize",e)}},[I,U]),(0,t.jsxs)("section",{ref:b,className:"relative bg-white",style:{height:j?"100vh":"300vh"},children:[(0,t.jsx)(p.PageHeader,{isLoggedIn:u,wrapperClassName:"pointer-events-none fixed left-0 right-0 top-0 z-50",wrapperStyle:{paddingLeft:"calc(var(--hero-hpx-start) + (var
23(--hero-hpx-end) - var(--hero-hpx-start)) * var(--p, 0))",paddingRight:"calc(var(--hero-hpx-start) + (var(--hero-hpx-end) - var(--hero-hpx-start)) * var(--p, 0))",paddingTop:"calc(19vh - 18vh * var(--p, 0))"},navStyle:{borderRadius:"calc(14px + 2px * var(--p, 0))",transform:"scale(calc(var(--hero-hs-start) + var(--hero-hs-diff) * var(--p, 0)))",transformOrigin:"center top"},onLogoClick:()=>{if(!b.current)return;let e=b.current.offsetTop+2*window.innerHeight;window.scrollTo({top:e,behavior:"smooth"})},useHashLinks:!0,glassTriggerId:"features"}),(0,t.jsxs)("div",{className:"hero-animated sticky top-0 h-screen overflow-hidden bg-white",style:{contain:"strict",containerType:"size"},children:[(0,t.jsxs)("div",{className:"pointer-events-none absolute inset-0",style:{opacity:1},children:[(0,t.jsx)(a.default,{src:"/backgrounds/basetab_ai_background_1.webp",alt:"",fill:!0,priority:!0,sizes:"100vw",className:"object-cover",style:{filter:"blur(30px) saturate(1.2)",transform:"scale(1.1)"}}),(0,t.jsx)("div",{className:"absolute inset-0 bg-black/20"})]}),(0,t.jsxs)("div",{className:"hero-animated absolute flex flex-col overflow-hidden",style:{top:"calc(var(--hero-inset-y) * (1 - var(--p, 0)))",left:"calc(var(--hero-inset-x) * (1 - var(--p, 0)))",right:"calc(var(--hero-inset-x) * (1 - var(--p, 0)))",bottom:"calc(var(--hero-inset-y) * (1 - var(--p, 0)))",borderRadius:"calc(12px - 12px * var(--p, 0))",boxShadow:"0 0 0 1px rgb(0 0 0 / calc(0.15 - 0.15 * var(--p, 0))), 0 25px 80px rgb(0 0 0 / calc(0.2 - 0.2 * var(--p, 0)))"},children:[(0,t.jsxs)("div",{className:"relative z-10 hidden flex-shrink-0 items-center border-b border-white/15 bg-white/30 backdrop-blur-md md:flex",style:{height:"calc(44px * max(0, 1 - var(--p, 0) * 3))",opacity:"max(0, 1 - var(--p, 0) * 3)",overflow:"hidden"},children:[(0,t.jsxs)("div",{className:"flex items-center gap-2 pl-4",children:[(0,t.jsx)("div",{className:"h-3 w-3 rounded-full bg-[#ff5f57]"}),(0,t.jsx)("div",{className:"h-3 w-3 rounded-full bg-[#febc2e]"}),(0,t.jsx)("div",{className:"h-3 w-3 rounded-full bg-[#28c840]"})]}),(0,t.jsxs)("div",{className:"ml-6 flex items-center",children:[(0,t.jsxs)("div",{className:"flex items-center gap-2 rounded-t-lg bg-white/15 px-4 py-2",children:[(0,t.jsx)("div",{className:"h-3.5 w-3.5 rounded bg-indigo-500/30"}),(0,t.jsx)("span",{className:"text-xs text-white/80",children:g("landing.hero.newTab")})]}),(0,t.jsx)("div",{className:"ml-1 rounded-lg p-1.5 hover:bg-white/5",children:(0,t.jsx)(i.Plus,{className:"h-3.5 w-3.5 text-white/50"})})]}),(0,t.jsx)("div",{className:"mx-4 flex flex-1 items-center gap-2 rounded-lg bg-white/10 px-3 py-1.5",children:(0,t.jsx)(l.Search,{className:"h-3 w-3 text-white/50"})})]}),(0,t.jsxs)("div",{className:"relative min-h-0 w-full flex-1",children:[(0,t.jsx)(a.default,{src:"/backgrounds/basetab_ai_background_1.webp",alt:"",fill:!0,priority:!0,sizes:"100vw",className:"object-cover",style:{filter:"blur(3px)"}}),(0,t.jsx)("div",{className:"absolute inset-0 bg-black/20"})]})]}),(0,t.jsx)("div",{className:"absolute",style:{top:"calc(var(--hero-inset-y) * (1 - var(--p, 0)) + var(--hero-chrome-offset) * max(0, 1 - var(--p, 0) * 3))",left:"calc(var(--hero-inset-x) * (1 - var(--p, 0)))",right:"calc(var(--hero-inset-x) * (1 - var(--p, 0)))",bottom:"calc(var(--hero-inset-y) * (1 - var(--p, 0)))",zIndex:25,contain:"layout style"},children:(0,t.jsx)(F,{expanded:T,isAtEnd:$,progressRef:y,isMobile:j})}),(0,t.jsx)("div",{className:"pointer-events-none absolute left-0 right-0 z-30",style:{top:"var(--hero-overlay-top)",translate:"0 calc(-1 * var(--hero-overlay-shift) * var(--p, 0))",willChange:"translate"},children:(0,t.jsxs)("div",{className:"pointer-events-auto mx-auto flex w-fit flex-col items-center text-center",style:{transform:"scale(calc(1 - 0.05 * var(--p, 0)))",transformOrigin:"center top"},children:[(0,t.jsx)("h1",{className:"mb-4 text-5xl font-bold tracking-tight text-white sm:text-6xl md:text-8xl",style:{fontFamily:"var(--font-segoe-print)",textShadow:"0 4px 30px rgba(0,0,0,0.35), 0 1px 6px rgba(0,0,0,0.25)"},children:"basetab.ai"}),(0,t.jsxs)("p",{className:"mb-8 max-w-xl text-base font-medium leading-relaxed text-white md:text-xl",style:{textShadow:"0 2px 20px rgba(0,0,0,0.3), 0 1px 4px rgba(0,0,0,0.2)"},children:[g("landing.hero.title")," ",(0,t.jsx)("span",{className:"hidden sm:inline",children:(0,t.jsx)("br",{})}),(0,t.jsx)("span",{className:"text-white/80",children:g("landing.hero.subtitle")})]}),(0,t.jsxs)("div",{className:"flex flex-col items-center gap-3 sm:flex-row sm:gap-4",children:[(0,t.jsxs)("div",{ref:C,className:"relative",children:[(0,t.jsxs)("div",{className:"inline-flex items-center rounded-2xl",style:{background:"linear-gradient(135deg, rgba(255,255,255,0.65) 0%, rgba(200,220,240,0.5) 50%, rgba(255,255,255,0.6) 100%)",border:"1px solid rgba(255,255,255,0.6)",boxShadow:"inset 0 1px 1px rgba(255,255,255,0.6), 0 8px 24px rgba(0,0,0,0.12)",backdropFilter:"blur(20px)",WebkitBackdropFilter:"blur(20px)"},children:[B.available&&B.storeUrl?(0,t.jsxs)("a",{href:B.storeUrl,target:"_blank",rel:"noopener",className:"inline-flex items-center gap-2 px-6 py-2.5 text-sm font-semibold text-gray-800 transition-colors hover:text-gray-950 sm:px-8 sm:py-3",children:[(0,t.jsx)(a.default,{src:B.iconUrl,alt:`${B.name} icon`,width:20,height:20,className:"-ml-1 mr-1 h-5 w-5"}),g("landing.hero.addToBrowser",{browser:B.name})]}):(0,t.jsxs)(s.default,{href:`/extensions/${B.slug}`,className:"inline-flex items-center gap-2 px-6 py-2.5 text-sm font-semibold text-gray-800 transition-colors hover:text-gray-950 sm:px-8 sm:py-3",children:[(0,t.jsx)(a.default,{src:B.iconUrl,alt:`${B.name} icon`,width:20,height:20,className:"-ml-1 mr-1 h-5 w-5"}),g("landing.hero.getForBrowser",{browser:B.name})]}),(0,t.jsx)("button",{onClick:()=>S(!N),className:"flex items-center justify-center border-l border-black/10 py-2.5 pl-4 pr-5 text-gray-500 transition-colors hover:text-gray-800 sm:py-3","aria-label":"Show other platforms",children:(0,t.jsx)(n.ChevronDown,{className:"h-4 w-4 transition-transform duration-200",style:{transform:N?"rotate(180deg)":"rotate(0deg)"}})})]}),N&&(0,t.jsxs)("div",{className:"absolute left-1/2 top-full z-50 mt-2 -translate-x-1/2 roun
23ded-xl p-2",style:{width:"min(380px, calc(100vw - 2rem))",background:"rgba(255,255,255,0.92)",border:"1px solid rgba(255,255,255,0.6)",boxShadow:"0 8px 32px rgba(0,0,0,0.15)",backdropFilter:"blur(24px)",WebkitBackdropFilter:"blur(24px)"},children:[(0,t.jsx)("div",{style:{display:"grid",gridTemplateColumns:"1fr 1fr",gap:2},children:[B,...E].map(e=>(0,t.jsxs)(s.default,{href:e.available&&e.storeUrl?e.storeUrl:`/extensions/${e.slug}`,target:e.available&&e.storeUrl?"_blank":void 0,rel:e.available&&e.storeUrl?"noopener":void 0,onClick:()=>S(!1),className:"flex items-center gap-2 rounded-lg px-3 py-2 text-sm text-gray-700 transition-colors hover:bg-black/5",children:[(0,t.jsx)(a.default,{src:e.iconUrl,alt:e.name,width:20,height:20,className:"h-5 w-5 shrink-0"}),(0,t.jsx)("span",{className:"truncate",children:e.name}),!e.available&&(0,t.jsx)("span",{className:"shrink-0 text-[9px] font-medium text-gray-400",children:g("common.soon")})]},e.slug))}),(0,t.jsx)("div",{className:"my-1.5 h-px bg-black/5"}),(0,t.jsxs)("div",{style:{display:"grid",gridTemplateColumns:"1fr 1fr",gap:2},children:[(0,t.jsxs)(s.default,{href:u?"/dashboard":"/login",onClick:()=>S(!1),className:"flex items-center gap-2 rounded-lg px-3 py-2 text-sm text-gray-700 transition-colors hover:bg-black/5",children:[(0,t.jsx)(o.Globe,{className:"h-5 w-5 shrink-0 text-gray-500"}),g("landing.hero.webApp")]}),A.map(e=>(0,t.jsxs)("div",{className:"flex items-center gap-2 rounded-lg px-3 py-2 text-sm text-gray-400",children:[(0,t.jsx)(a.default,{src:e.iconUrl,alt:e.name,width:20,height:20,className:"h-5 w-5 shrink-0 opacity-50"}),(0,t.jsx)("span",{className:"truncate",children:e.name}),(0,t.jsx)("span",{className:"shrink-0 text-[9px] font-medium",children:g("common.soon")})]},e.slug))]})]})]}),(0,t.jsx)(s.default,{href:u?"/dashboard":"/login",className:"rounded-2xl px-6 py-2.5 text-sm font-semibold text-white transition-all hover:scale-105 sm:px-8 sm:py-3",style:{background:"rgba(255,255,255,0.15)",border:"1px solid rgba(255,255,255,0.35)",boxShadow:"inset 0 1px 1px rgba(255,255,255,0.3), 0 4px 16px rgba(0,0,0,0.1)",backdropFilter:"blur(20px)",WebkitBackdropFilter:"blur(20px)",textShadow:"0 1px 4px rgba(0,0,0,0.2)"},children:u?g("landing.hero.dashboard"):g("landing.hero.loginWebApp")})]})]})}),(0,t.jsx)("div",{className:"pointer-events-none absolute bottom-8 left-1/2 z-30 -translate-x-1/2 max-md:hidden",style:{opacity:"max(0, 1 - var(--p, 0) * 5)"},children:(0,t.jsxs)("div",{className:"flex flex-col items-center gap-2",children:[(0,t.jsx)("span",{className:"text-[11px] font-medium uppercase tracking-wider text-gray-300",children:g("landing.hero.scrollToExplore")}),(0,t.jsx)("div",{className:"flex h-7 w-4 items-start justify-center rounded-full border border-gray-300 p-1",children:(0,t.jsx)("div",{className:"h-1.5 w-1 animate-bounce rounded-full bg-gray-400"})})]})})]})]})}e.s(["HeroSection",()=>P],206828)}]);
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.