1import{u as S,r as W,g as E,j as e,n as R,t as _,L as b,l as M}from"./index-C1iJJOdJ.js";import{a as U,S as D,C as O,A as j,M as B}from"./MinimalNav-DRjwqUm6.js";import{s as K,a as G,b as V,p as F}from"./external-urls-CvNqNL2Y.js";import{u as X}from"./TawkeedBrand-B_-lHcvG.js";import{w as c}from"./theme-url-BKwnd2S3.js";import{u as Y,c as y}from"./utils-iIxlIAdY.js";import{u as q}from"./use-reduced-motion-CH2TvXe1.js";import{B as N}from"./building-2-Cs4KoUMi.js";import{m as v}from"./proxy-6vkdhkWU.js";import{A as J}from"./index-CtmyPYG7.js";import{C as Q}from"./check-BnvEZ7nK.js";import{A as u}from"./arrow-right-DAJejNWH.js";import{B as Z}from"./bot-CEVdrOM3.js";import{C as ee}from"./code-xml-BymwhIOa.js";import{M as re}from"./mic-D1-qq5aT.js";import{L as te}from"./layout-grid-LJ93s3sm.js";const a=[{key:"cloud",solution:"cloud",icon:E,features:["oneClick","noHardware","credits","team","apps"]},{key:"enterprise",solution:"on-premises",icon:N,features:["airgap","gpu","sovereign","offline","managed"]}],g={key:"workspace",icon:te},ne=[{key:"agent",icon:Z},{key:"email",icon:B},{key:"code",icon:ee},{key:"meeting",icon:re}],se=[],ae="text-[11px] font-medium text-landing-muted ltr:uppercase ltr:tracking-[0.18em]";function Ne(){const{t}=Y(),o=X(),{theme:d}=S(),l=q(),[i,p]=W.useState("cloud"),m=a.find(r=>r.key===i),w=c(K("individual",o),d),h=c(G(`/${o}`),d),k=c(V(`/${o}`),d),$=r=>{if(r==="agent")return k;if(r==="code"||r==="email"||r==="meeting"){const n=F(r,`/${o}`);return n?c(n,d):h}return h},f=M[o]==="rtl";function C(r){p(r),document.getElementById(`welcome-tab-${r}`)?.focus()}function z(r){const n=a.findIndex(x=>x.key===i);let s;if(r.key===(f?"ArrowLeft":"ArrowRight"))s=(n+1)%a.length;else if(r.key===(f?"ArrowRight":"ArrowLeft"))s=(n-1+a.length)%a.length;else if(r.key==="Home")s=0;else if(r.key==="End")s=a.length-1;else return;r.preventDefault(),C(a[s].key)}function P({path:r}){const n=r.icon,s=r.key===i,x=R(_[r.solution]);return e.jsxs("button",{type:"button",role:"tab",id:`welcome-tab-${r.key}`,"aria-controls":`welcome-panel-${r.key}`,"aria-selected":s,tabIndex:s?0:-1,onClick:()=>p(r.key),onKeyDown:z,className:y("relative flex flex-1 cursor-pointer items-center justify-center gap-2.5 rounded-full border px-3 py-2.5 text-start transition-colors duration-200 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-landing-accent focus-visible:ring-offset-2 focus-visible:ring-offset-landing-bg sm:gap-3 sm:px-5",s?"welcome-lit border-landing-card-border-hover bg-landing-card-hover text-landing-foreground":"border-transparent text-landing-muted hover:bg-landing-card-hover/50 hover:text-landing-foreground"),children:[e.jsx(n,{className:y("size-5 shrink-0 transition-opacity duration-200",s?"opacity-100":"opacity-70"),strokeWidth:1.6}),e.jsxs("span",{className:"min-w-0",children:[e.jsx("span",{className:"block truncate text-sm font-medium",children:t(`welcome.paths.${r.key}.title`)}),x?e.jsx("span",{className:"hidden truncate text-[11px] leading-tight opacity-70 sm:block",children:t(`welcome.paths.${r.key}.tag`)}):e.jsx(D,{solution:r.solution,className:"mt-0.5 hidden sm:inline-flex"})]})]})}function A(){const r=g.icon;return e.jsxs("a",{href:w,className:"welcome-lit welcome-raise group relative flex flex-wrap items-center gap-x-4 gap-y-3.5 rounded-2xl border border-landing-card-border-hover bg-landing-card-hover p-4 transition-colors duration-200 hover:border-landing-foreground/25 sm:p-5",children:[e.jsx("span",{className:"flex size-11 shrink-0 items-center justify-center rounded-xl border border-landing-card-border-hover bg-landing-bg/60 text-landing-foreground",children:e.jsx(r,{className:"size-5",strokeWidth:1.5})}),e.jsxs("span",{className:"min-w-0 flex-1",children:[e.jsx("span",{className:"block text-[15px] font-medium text-landing-foreground",children:t(`welcome.products.${g.key}.name`)}),e.jsx("span",{className:"mt-1 block text-xs leading-relaxed text-landing-muted",children:t(`welcome.products.${g.key}.tagline`)})]}),e.jsxs("span",{className:"inline-flex h-10 shrink-0 basis-full items-center justify-center gap-1.5 rounded-full bg-landing-cta px-5 text-xs font-medium text-landing-cta-foreground transition-all duration-200 group-hover:shadow-[0_0_28px_var(--landing-accent-glow)] sm:basis-auto",children:[e.jsx("span",{children:t("welcome.paths.cloud.cta")}),e.jsx(u,{className:"size-3.5 rtl:rotate-180 transition-transform duration-200 ltr:group-hover:translate-x-0.5 rtl:group-hover:-translate-x-0.5",strokeWidth:1.9})]})]})}function L({product:r}){const n=r.icon;return e.jsxs("div",{"aria-disabled":"true",className:"flex items-start gap-3 rounded-2xl border border-dashed border-landing-card-border p-3.5 short:items-center short:gap-2.5 short:p-2.5",children:[e.jsx("span",{className:"flex size-9 shrink-0 items-center justify-center rounded-lg border border-landing-card-border text-landing-muted short:size-8",children:e.jsx(n,{className:"size-4",strokeWidth:1.5})}),e.jsxs("span",{className:"min-w-0 flex-1",children:[e.jsxs("span",{className:"flex flex-wrap items-center gap-x-2 gap-y-1",children:[e.jsx("span",{className:"text-[13px] font-medium text-landing-foreground
1/85",children:t(`welcome.products.${r.key}.name`)}),e.jsx("span",{className:"rounded-full border border-landing-card-border-hover px-2 py-px text-[11px] font-medium text-landing-muted",children:t("welcome.products.comingSoon")})]}),e.jsx("span",{className:"mt-1 block text-[11px] leading-relaxed text-landing-muted short:hidden",children:t(`welcome.products.${r.key}.tagline`)})]})]})}function H({product:r}){const n=r.icon;return e.jsxs("a",{href:$(r.key),className:"group flex items-start gap-3 rounded-2xl border border-landing-card-border-hover bg-landing-card p-3.5 transition-colors duration-200 hover:border-landing-foreground/25 hover:bg-landing-card-hover focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-landing-foreground/50 short:items-center short:gap-2.5 short:p-2.5",children:[e.jsx("span",{className:"flex size-9 shrink-0 items-center justify-center rounded-lg border border-landing-card-border-hover text-landing-foreground short:size-8",children:e.jsx(n,{className:"size-4",strokeWidth:1.5})}),e.jsxs("span",{className:"min-w-0 flex-1",children:[e.jsxs("span",{className:"flex flex-wrap items-center gap-x-2 gap-y-1",children:[e.jsx("span",{className:"text-[13px] font-medium text-landing-foreground",children:t(`welcome.products.${r.key}.name`)}),e.jsxs("span",{className:"inline-flex items-center gap-1 text-[11px] font-medium text-landing-foreground/85",children:[t(`welcome.products.${r.key}.cta`),e.jsx(u,{className:"size-3 rtl:rotate-180 transition-transform duration-200 ltr:group-hover:translate-x-0.5 rtl:group-hover:-translate-x-0.5",strokeWidth:1.9,"aria-hidden":"true"})]})]}),e.jsx("span",{className:"mt-1 block text-[11px] leading-relaxed text-landing-muted short:hidden",children:t(`welcome.products.${r.key}.tagline`)})]})]})}function T(){return e.jsxs(e.Fragment,{children:[e.jsx("h2",{className:"text-base font-medium text-landing-foreground",children:t("welcome.products.title")}),e.jsx("p",{className:"mt-1 text-sm leading-relaxed text-landing-muted",children:t("welcome.products.subtitle")}),e.jsxs("div",{className:"mt-4 space-y-2.5 short:mt-3 short:space-y-2",children:[e.jsx(A,{}),e.jsxs("div",{className:"grid grid-cols-2 gap-2.5 short:gap-2",children:[ne.map(r=>e.jsx(H,{product:r},r.key)),se.map(r=>e.jsx(L,{product:r},r.key))]})]})]})}function I(){return e.jsx("div",{className:"flex h-full flex-col justify-center",children:e.jsxs("div",{className:"welcome-lit welcome-raise relative mx-auto flex w-full max-w-sm flex-col items-center gap-4 roun
1ded-2xl border border-landing-card-border-hover bg-landing-card-hover px-6 py-7 text-center",children:[e.jsx("span",{className:"flex size-12 items-center justify-center rounded-2xl border border-landing-card-border-hover bg-landing-bg/60 text-landing-foreground",children:e.jsx(N,{className:"size-6",strokeWidth:1.5})}),e.jsxs(O,{type:"installation",className:"inline-flex h-12 w-full items-center justify-center gap-2 rounded-full border border-landing-foreground/30 px-7 text-sm font-medium text-landing-foreground transition-colors duration-200 hover:border-landing-foreground/50 hover:bg-landing-card-hover",children:[e.jsx("span",{children:t("welcome.paths.enterprise.ctaPrimary")}),e.jsx(u,{className:"size-4 rtl:rotate-180",strokeWidth:1.7})]}),e.jsxs(b,{to:"/$locale/solutions/$solution",params:{locale:o,solution:"on-premises"},className:"inline-flex items-center justify-center gap-1.5 text-[13px] font-medium text-landing-foreground/70 underline-offset-4 transition-colors hover:text-landing-foreground hover:underline",children:[t("welcome.paths.enterprise.ctaSecondary"),e.jsx(j,{className:"size-4 rtl:-scale-x-100",strokeWidth:1.7})]}),e.jsxs(b,{to:"/$locale/devices",params:{locale:o},className:"inline-flex min-h-11 items-center justify-center gap-1.5 text-[13px] font-medium text-landing-foreground/70 underline-offset-4 transition-colors hover:text-landing-foreground hover:underline",children:[t("welcome.paths.enterprise.devicesLink"),e.jsx(j,{className:"size-4 rtl:-scale-x-100",strokeWidth:1.7})]})]})})}return e.jsxs("div",{className:"relative flex min-h-svh flex-col bg-landing-bg text-landing-foreground",children:[e.jsx(U,{sticky:!0}),e.jsxs("main",{id:"main-content",className:"short:pt-24 shorter:pt-22 short:pb-8 shorter:pb-4 relative flex flex-1 flex-col justify-center overflow-hidden pt-24 pb-10 md:pt-28 md:pb-12",children:[e.jsx("div",{className:"welcome-aura"}),e.jsx("div",{className:"relative z-10 container mx-auto px-4 md:px-6",children:e.jsxs("div",{className:"mx-auto max-w-5xl",children:[e.jsxs(v.div,{initial:{opacity:0,y:l?0:10},animate:{opacity:1,y:0},transition:{duration:l?0:.45,ease:"easeOut"},className:"mx-auto max-w-2xl text-center",children:[e.jsx("p",{className:ae,children:t("welcome.kicker")}),e.jsx("h1",{className:"mt-3 text-balance text-[2.5rem] font-medium leading-[1.12] text-landing-foreground ltr:tracking-[-0.03em] md:text-[3.25rem] short:mt-2 shorter:text-[2.5rem]!",children:t("welcome.title")}),e.jsx("p",{className:"mx-auto mt-4 max-w-xl text-pretty text-[15px] leading-relaxed text-landing-muted short:mt-3",children:t("welcome.subtitle")})]}),e.jsx("div",{role:"tablist","aria-label":t("welcome.title"),className:"mx-auto mt-7 flex max-w-lg gap-1.5 rounded-full border border-landing-card-border bg-landing-card p-1.5 short:mt-5 shorter:mt-4",children:a.map(r=>e.jsx(P,{path:r},r.key))}),e.jsx(J,{mode:"wait",children:e.jsx(v.div,{role:"tabpanel",id:`welcome-panel-${i}`,"aria-labelledby":`welcome-tab-${i}`,initial:{opacity:0,y:l?0:12},animate:{opacity:1,y:0},exit:{opacity:0,y:l?0:-8},transition:{duration:l?0:.3},className:"mt-5 short:mt-4 shorter:mt-3",children:e.jsxs("div",{className:"welcome-surface grid gap-6 rounded-card border border-landing-card-border bg-landing-card p-6 md:grid-cols-5 md:gap-8 md:p-8 md:min-h-[31.5rem] lg:min-h-[23.5rem] short:p-5! short:md:min-h-[27rem]! short:lg:min-h-[22rem]! shorter:p-4!",children:[e.jsx("div",{className:"md:col-span-3",children:i==="enterprise"?e.jsx(I,{}):e.jsx(T,{})}),e.jsxs("div",{className:"border-t border-landing-card-border pt-6 md:col-span-2 md:border-t-0 md:border-s md:pt-0 md:ps-8",children:[e.jsx("p",{className:"text-[13px] leading-relaxed text-landing-foreground/85",children:t(`welcome.paths.${m.key}.tagline`)}),e.jsx("ul",{className:"mt-4 space-y-2.5 border-t border-landing-card-border pt-4 short:mt-3 short:space-y-2 short:pt-3",children:m.features.map(r=>e.jsxs("li",{className:"flex items-start gap-2.5",children:[e.jsx(Q,{className:"mt-[3px] size-3.5 shrink-0 text-landing-foreground/50",strokeWidth:2.5}),e.jsx("span",{className:"text-[13px] leading-relaxed text-landing-muted",children:t(`welcome.paths.${m.key}.features.${r}`)})]},r))})]})]})},i)})]})})]})]})}export{Ne as component};
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.