PageSourceSearch

https://avahana.ai/_next/static/chunks/36-4b0661fbee1b687c.js

js avahana.ai collected 2026-10-05 13:28:58 UTC 11,381 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[36],{1036:(e,r,t)=>{t.d(r,{SiteNav:()=>j});var a=t(5155),s=t(2115),o=t(6874),i=t.n(o),n=t(5695),l=t(7168),c=t(9304),d=t(2098),u=t(3509),p=t(4738),h=t(4416),m=t(4783),g=t(6474),b=t(1048),x=t(3999),f=t(6580);function y(e){let{label:r="All systems operational",className:t}=e;return(0,a.jsxs)("a",{href:b.m_.status.href,target:"_blank",rel:"noopener noreferrer",className:"group inline-flex items-center gap-2 rounded-full border border-border bg-background/60 backdrop-blur-sm px-3 py-1.5 text-xs font-medium text-muted-foreground hover:text-foreground hover:border-flame/40 transition-colors "+(null!=t?t:""),"aria-label":"Status: ".concat(r),children:[(0,a.jsx)(f.PulseDot,{tone:"success",size:"sm"}),(0,a.jsx)("span",{children:r})]})}let v=[{label:"Databases",href:b.bw.databases.path,description:"Postgres, MongoDB, Redis in 60 seconds"},{label:"Web Services",href:b.bw.webServices.path,description:"Web apps, workers, cron",comingSoon:!0},{label:"AI Workloads",href:b.bw.aiWorkloads.path,description:"GPU-backed inference and training",comingSoon:!0},{label:"Edge",href:b.bw.edge.path,description:"Wasm at the edge",comingSoon:!0}];function j(){let e,{theme:r,setTheme:t}=(0,c.D)(),[o,g]=(0,s.useState)(!1),[x,f]=(0,s.useState)(!1),j=(0,n.usePathname)(),P="light"===r?(0,a.jsx)(d.A,{className:"h-4 w-4"}):"dark"===r?(0,a.jsx)(u.A,{className:"h-4 w-4"}):(0,a.jsx)(p.A,{className:"h-4 w-4"});return(0,a.jsx)("nav",{className:"fixed top-0 left-0 right-0 z-50 backdrop-blur-md bg-background/80 border-b border-border",children:(0,a.jsxs)("div",{className:"container mx-auto",children:[(0,a.jsxs)("div",{className:"flex items-center justify-between h-16",children:[(0,a.jsxs)(i(),{href:"/",className:"flex items-center gap-2 hover:opacity-80 transition-opacity",onClick:()=>g(!1),children:[(0,a.jsxs)("div",{className:"w-8 h-8 relative",children:[(0,a.jsx)("img",{src:"/brand/light/avahana_light.webp",alt:"Avahana",className:"w-full h-full object-contain dark:hidden"}),(0,a.jsx)("img",{src:"/brand/dark/avahana_dark.webp",alt:"Avahana",className:"w-full h-full object-contain hidden dark:block"})]}),(0,a.jsx)("span",{className:"text-lg font-semibold",children:"Āvāhana"})]}),(0,a.jsxs)("div",{className:"hidden lg:flex items-center gap-1",children:[(0,a.jsx)(w,{label:"Product",isOpen:x,onToggle:()=>f(!x)}),(0,a.jsx)(k,{href:b.bw.blog.path,label:b.bw.blog.label,active:j===(e=b.bw.blog.path)||"/"!==e&&(null==j?void 0:j.startsWith(e))})]}),(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)(y,{className:"hidden xl:inline-flex"}),(0,a.jsx)(l.$,{asChild:!0,size:"sm",className:"rounded-xl hidden md:inline-flex",children:(0,a.jsx)("a",{href:"#waitlist",children:"Join Waitlist"})}),(0,a.jsx)(l.$,{variant:"outline",size:"icon",onClick:()=>{let e=["light","dark","system"],a=e.indexOf(r);t(e[(a+1)%e.length])},className:"backdrop-blur-sm","aria-label":"Toggle theme",children:P}),(0,a.jsx)(l.$,{variant:"outline",size:"icon",className:"lg:hidden",onClick:()=>g(!o),"aria-label":"Toggle menu","aria-expanded":o,children:o?(0,a.jsx)(h.A,{className:"h-4 w-4"}):(0,a.jsx)(m.A,{className:"h-4 w-4"})})]})]}),x&&(0,a.jsx)(N,{links:v,onClose:()=>f(!1),ariaLabel:"Product menu"}),o&&(0,a.jsxs)("div",{className:"lg:hidden py-4 border-t border-border space-y-1",children:[(0,a.jsx)(S,{title:"Product",links:v,onNavigate:()=>g(!1)}),(0,a.jsx)("div",{className:"pt-2 px-2 space-y-1",children:(0,a.jsx)(C,{href:b.bw.blog.path,label:"Blog",onClick:()=>g(!1)})}),(0,a.jsx)("div",{className:"pt-3 px-2",children:(0,a.jsx)(l.$,{asChild:!0,className:"w-full rounded-xl",children:(0,a.jsx)("a",{href:"#waitlist",onClick:()=>g(!1),children:"Join Waitlist"})})})]})]})})}function w(e){let{label:r,isOpen:t,onToggle:s}=e;return(0,a.jsxs)("button",{type:"button",onClick:s,"aria-expanded":t,className:(0,x.cn)("inline-flex items-center gap-1 px-3 py-2 text-sm font-medium text-muted-foreground hover:text-foreground transition-colors rounded-md",t&&"text-foreground bg-muted/40"),children:[r,(0,a.jsx)(g.A,{className:(0,x.cn)("h-3.5 w-3.5 transition-transform",t&&"rotate-180")}
1)]})}function k(e){let{href:r,label:t,active:s}=e;return(0,a.jsx)(i(),{href:r,className:(0,x.cn)("px-3 py-2 text-sm font-medium transition-colors rounded-md",s?"text-foreground":"text-muted-foreground hover:text-foreground"),children:t})}function N(e){let{links:r,onClose:t,ariaLabel:s}=e;return(0,a.jsx)("div",{className:"hidden lg:block absolute left-0 right-0 top-full bg-background border-b border-border shadow-lg",role:"menu","aria-label":s,children:(0,a.jsx)("div",{className:"container mx-auto py-8",children:(0,a.jsx)("div",{className:"grid grid-cols-2 md:grid-cols-4 gap-4",children:r.map(e=>(0,a.jsxs)(i(),{href:e.href,onClick:t,className:"group rounded-xl border border-transparent hover:border-border hover:bg-muted/40 px-4 py-3 transition-colors",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)("span",{className:"font-medium text-foreground group-hover:text-flame transition-colors",children:e.label}),e.comingSoon&&(0,a.jsx)("span",{className:"text-[10px] font-semibold uppercase tracking-wider text-amber-500",children:"Soon"})]}),e.description&&(0,a.jsx)("p",{className:"mt-1 text-xs text-muted-foreground leading-relaxed",children:e.description})]},e.href))})})})}function S(e){let{title:r,links:t,onNavigate:s}=e;return(0,a.jsxs)("div",{className:"px-2 pt-2",children:[(0,a.jsx)("p",{className:"px-3 py-1 text-xs font-semibold uppercase tracking-wider text-muted-foreground",children:r}),t.map(e=>(0,a.jsxs)(i(),{href:e.href,onClick:s,className:"flex items-center justify-between px-3 py-2 text-sm text-foreground hover:bg-muted/40 rounded-md",children:[(0,a.jsx)("span",{children:e.label}),e.comingSoon&&(0,a.jsx)("span",{className:"text-[10px] font-semibold uppercase tracking-wider text-amber-500",children:"Soon"})]},e.href))]})}function C(e){let{href:r,label:t,onClick:s}=e;return(0,a.jsx)(i(),{href:r,onClick:s,className:"block px-3 py-2 text-sm text-foreground hover:bg-muted/40 rounded-md",children:t})}},1048:(e,r,t)=>{t.d(r,{bw:()=>a,m_:()=>s});let a={home:{path:"/",label:"Home",category:"primary",priority:1,changeFrequency:"daily"},product:{path:"/product",label:"Product",category:"product",priority:.8,changeFrequency:"weekly"},databases:{path:"/product/databases",label:"Databases",category:"product",description:"One-click Postgres, MongoDB, Redis. 60-second deploys.",priority:.9},webServices:{path:"/product/web-services",label:"Web Services",category:"product",description:"Web apps, workers, cron — coming soon.",comingSoon:!0,priority:.5},aiWorkloads:{path:"/product/ai-workloads",label:"AI Workloads",category:"product",description:"GPU-backed inference and training — coming soon.",comingSoon:!0,priority:.5},edge:{path:"/product/edge",label:"Edge",category:"product",description:"Wasm and global Anycast — coming soon.",comingSoon:!0,priority:.5},sovereign:{path:"/sovereign",label:"Sovereign",category:"platform",description:"Data residency, BYOC, Blackbox license.",priority:.7,visible:!1},trust:{path:"/trust",label:"Trust & Security",category:"platform",description:"Security posture, compliance roadmap, SLAs.",priority:.7,visible:!1},pricing:{path:"/pricing",label:"Pricing",category:"resources",description:"Builder, Scaler, Sovereign — transparent pricing.",priority:.9,visible:!1},docs:{path:"/docs",label:"Docs",category:"resources",description:"Quickstart, concepts, CLI, API.",priority:.8,visible:!1},blog:{path:"/blog",label:"Blog",category:"resources",priority:.9,changeFrequency:"daily"},changelog:{path:"/changelog",label:"Changelog",category:"resources",priority:.6,changeFrequency:"weekly",visible:!1},roadmap:{path:"/roadmap",label:"Roadmap",category:"resources",priority:.6,changeFrequency:"weekly",visible:!1},manifesto:{path:"/manifesto",label:"Manifesto",category:"company",description:"Why we exist. The Invocation and the Challenge.",priority:.7,visible:!1},about:{path:"/about",label:"About",category:"company",priority:.5,visible:!1},careers:{path:"/careers",label:"Careers",category:"company",priority:.5,visible:!1},privacy:{path:"/privacy",label:"Privacy",category:"legal",priority:.4,changeFrequency:"monthly"},terms:{path:"/terms",label:"Terms",category:"legal",priority:.4,changeFrequency:"monthly"}},s={status:{label:"Status",href:"https://status.avahana.ai"},app:{label:"Sign in",href:"https://app.avahana.ai"}}},3999:(e,r,t)=>{t.d(r,{cn:()=>o});var a=t(2596),s=t(9688);function o(){for(var e=arguments.length,r=Array(e),t=0;t<e;t++)r[t]=arguments[t];return(0,s.QP)((0,a.$)(r))}},6580:(e,r,t)=>{t.d(r,{PulseDot:()=>i});var a=t(5155);t(2115);var s=t(3999);let o={success:"bg-emerald-500",warning:"bg-amber-500",danger:"bg-red-500",primary:"bg-primary"};function i(e){let{tone:r="success",size:t="sm",className:i}=e;return(0,a.jsxs)("span",{className:(0,s.cn)("relative inline-flex items-center justify-center",i),"aria-hidden":"true",children:[(0,a.jsx)("span",{className:(0,s.cn)("absolute inline-flex rounded-full opacity-60 animate-pulse-signal",o[r],"sm"===t?"h-2 w-2":"h-2.5 w-2.5")}),(0,a.jsx)("span",{className:(0,s.cn)("relative inline-flex rounded-full",o[r],"sm"===t?"h-2 w-2":"h-2.5 w-2.5")})]})}},7168:(e,r,t)=>{t.d(r,{$:()=>c});
1var a=t(5155),s=t(2115),o=t(4624),i=t(2085),n=t(3999);let l=(0,i.F)("inline-flex items-center justify-center whitespace-nowrap rounded-xl text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-40 tracking-tight",{variants:{variant:{default:"bg-flame text-flame-foreground hover:bg-flame/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-border bg-transparent hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline",strong:"bg-primary text-primary-foreground hover:bg-primary/90"},size:{default:"h-9 px-4 py-2",sm:"h-8 px-3 text-xs",lg:"h-11 px-6",xl:"h-12 px-8 text-base",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),c=s.forwardRef((e,r)=>{let{className:t,variant:s,size:i,asChild:c=!1,...d}=e,u=c?o.DX:"button";return(0,a.jsx)(u,{className:(0,n.cn)(l({variant:s,size:i,className:t})),ref:r,...d})});c.displayName="Button"},9304:(e,r,t)=>{t.d(r,{D:()=>n,ThemeProvider:()=>i});var a=t(5155),s=t(2115);let o=(0,s.createContext)({theme:"system",setTheme:()=>null});function i(e){let{children:r,defaultTheme:t="system",storageKey:i="vite-ui-theme",...n}=e,[l,c]=(0,s.useState)(t),[d,u]=(0,s.useState)(!1);return(0,s.useEffect)(()=>{u(!0);let e=localStorage.getItem(i);e&&c(e)},[i]),(0,s.useEffect)(()=>{if(!d)return;let e=window.document.documentElement;if(e.classList.remove("light","dark"),"system"===l){let r=window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light";e.classList.add(r);return}e.classList.add(l)},[l,d]),(0,a.jsx)(o.Provider,{...n,value:{theme:l,setTheme:e=>{localStorage.setItem(i,e),c(e)}},children:r})}let n=()=>{let e=(0,s.useContext)(o);if(void 0===e)throw Error("useTheme must be used within a ThemeProvider");return e}}}]);

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.