1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[737],{5273:function(e,t,n){Promise.resolve().then(n.bind(n,9122)),Promise.resolve().then(n.bind(n,173))},9122:function(e,t,n){"use strict";n.d(t,{default:function(){return d}});var s=n(7437),r=n(2265),i={src:"/_next/static/media/plus.663a2adc.svg",height:24,width:24,blurWidth:0,blurHeight:0},a={src:"/_next/static/media/minus.53d2d551.svg",height:24,width:24,blurWidth:0,blurHeight:0},o=n(6648),l=n(7138);let c=[{question:"What is a context window?",answer:"The size of a context window refers to the amount of code that the model can use to provide accurate completions or suggestions. For Supermaven, our context window can handle up to 1 million tokens or around 4 million characters, allowing it to understand and make intelligent suggestions for large codebases efficiently."},{question:"What model does Supermaven use?",answer:(0,s.jsxs)(s.Fragment,{children:["Supermaven uses ",(0,s.jsx)(l.default,{href:"/blog/announcing-supermaven-1.0",children:"Babble"}),", a proprietary language model specifically optimized for inline code completion. Our in-house models and serving infrastructure allow us to provide the fastest completions and the longest context window of any copilot."]})},{question:"How does Supermaven handle my code data?",answer:(0,s.jsxs)(s.Fragment,{children:["Supermaven takes the security of your intellectual property seriously. All code data uploaded to our servers is subject to a 7-day retention policy and is automatically deleted after this period. We do not use, share, store, or train on your code data beyond what is necessary to provide our services. See our ",(0,s.jsx)(l.default,{href:"/code-policy",children:"Code Policy"})," for more information."]})}];var d=e=>{let{isWhiteBackground:t}=e,[n,l]=(0,r.useState)({}),d=e=>{l(t=>({...t,[e]:!t[e]}))};return(0,s.jsx)("div",{className:"faq-container ".concat(t?"white-background":"grey-background"),children:(0,s.jsxs)("div",{className:"faq-limiter",children:[(0,s.jsx)("div",{className:"faq-subtitle light",children:"Frequently Asked Questions"}),(0,s.jsx)("div",{className:"faq-questions",children:c.map((e,t)=>(0,s.jsxs)("div",{className:"faq-question",onClick:()=>{n[t]||d(t)},children:[(0,s.jsxs)("div",{className:"faq-question-header",onClick:()=>{n[t]&&d(t)},children:[(0,s.jsx)("h3",{children:e.question}),(0,s.jsx)(o.default,{src:n[t]?a:i,alt:"Toggle icon",className:"faq-plus-icon"})]}),n[t]&&(0,s.jsx)("p",{children:e.answer})]},t))})]})})}},173:function(e,t,n){"use strict";n.d(t,{default:function(){return c},f:function(){return l}});var s=n(7437),r=n(2265),i=n(6463);let a=e=>{let{isChecked:t,setIsChecked:n}=e;return(0,s.jsxs)("label",{className:"toggle-switch",children:[(0,s.jsx)("input",{type:"checkbox",checked:"yearly"===t,onChange:()=>{n("monthly"===t?"yearly":"monthly")}}),(0,s.jsx)("span",{className:"slider"}),(0,s.jsx)("span",{className:"label monthly",children:"Monthly"}),(0,s.jsx)("span",{className:"label yearly",children:"Yearly"})]})};function o(e){let{pricing:t,pricingCardClass:n,featureList:r,subscriptionTerm:i,setSubscriptionTerm:o,buttonAction:l,disabled:c=!1}=e;return(0,s.jsxs)("div",{className:"pricing-card ".concat(n),children:[(0,s.jsxs)("h3",{children:["free"===t.value&&"Free Tier","pro"===t.value&&"Pro","enterprise"===t.value&&"Team"]}),"pro"===t.value&&(0,s.jsxs)("div",{className:"price-quote",children:[(0,s.jsxs)("div",{className:"quote-value",children:[(0,s.jsx)("h4",{children:"monthly"===i?"$10":"$99"}),(0,s.jsx)("p",{className:"quote-denominator",children:"monthly"===i?"/month":"/year"})]}),(0,s.jsx)("div",{className:"toggle-container",children:"pro"===t.value&&(0,s.jsx)(a,{isChecked:i,setIsChecked:o})})]}),"free"===t.value&&(0,s.jsx)("div",{className:"price-quote",children:(0,s.jsxs)("div",{className:"quote-value",children:[(0,s.jsx)("h4",{children:"$0"}),(0,s.jsx)("p",{className:"quote-denominator",children:"/month"})]})}),"enterprise"===t.value&&(0,s.jsx)("div",{className:"price-quote",children:(0,s.jsxs)("div",{className:"quote-value",children:[(0,s.jsx)("h4",{children:"$10"}),(0,s.jsx)("p",{className:"quote-denominator",children:"/month per user"})]})}),(0,s.jsxs)("div",{className:"price-contents",children:["free"===t.value&&(0,s.jsx)("div",{className:"pricing-card-blurb",children:(0,s.jsx)("p",{children:"The fastest copilot, completely free."})}),"pro"===t.value&&(0,s.jsx)("div",{className:"pricing-card-blurb",children:(0,s.jsx)("p",{children:"Pro adds a 1 million token context window for professional-size codebase
1s."})}),"enterprise"===t.value&&(0,s.jsx)("div",{className:"pricing-card-blurb",children:(0,s.jsx)("p",{children:"Accelerate your company with all Pro features plus centralized user management."})}),(0,s.jsx)("ul",{children:r.map((e,n)=>"free"===t.value&&"hide"===e.free?void 0:"free"===t.value&&"strikethrough"===e.free?(0,s.jsxs)("li",{className:"list-strikethrough",children:[(0,s.jsx)("span",{className:"striked-list-item",children:e.content},"content"),"strikethrough"!=e.pro&&(0,s.jsx)("span",{children:" (Pro only)"}),"strikethrough"===e.pro&&(0,s.jsx)("span",{children:" (Team only)"})]},n):"pro"===t.value&&"strikethrough"===e.pro?(0,s.jsxs)("li",{className:"list-strikethrough",children:[(0,s.jsx)("span",{className:"striked-list-item",children:e.content},"content"),(0,s.jsx)("span",{children:" (Team only)"})]},n):(0,s.jsx)("li",{children:(0,s.jsx)("span",{children:e.content},"content")},n))})]}),(0,s.jsx)("div",{className:"pricing-footer",children:(0,s.jsx)("button",{onClick:l,disabled:c,style:c?{opacity:.5,cursor:"not-allowed"}:{},children:t.buttonLabel})})]})}let l="pricing_isPaid";function c(){let[e,t]=(0,r.useState)("monthly"),[n,a]=(0,r.useState)(!1);(0,r.useEffect)(()=>{(async()=>{let e=await fetch("/api/account"),t=await e.json();200===e.status&&a(t.subscriptionKind.includes("Team")||t.teamOwner)})()},[]);let l=(0,i.useRouter)(),c=async e=>{};return(0,s.jsxs)("div",{className:"pricing-container",children:[(0,s.jsx)(o,{pricing:{value:"free",buttonLabel:"Free Download"},pricingCardClass:"free-card",featureList:d,subscriptionTerm:e,setSubscriptionTerm:t,buttonAction:()=>l.push("/download")}),(0,s.jsx)(o,{pricing:{value:"pro",buttonLabel:"Start Free Trial"},pricingCardClass:"pro-card",featureList:d,subscriptionTerm:e,setSubscriptionTerm:t,buttonAction:()=>c(e),disabled:!0}),(0,s.jsx)(o,{pricing:{value:"enterprise",buttonLabel:"Setup Your Team"},pricingCardClass:"enterprise-card",featureList:u,subscriptionTerm:e,setSubscriptionTerm:t,buttonAction:()=>l.push("/team"),disabled:!0})]})}let d=[{content:"Fast, high-quality code suggestions"},{content:"Works with large codebases"},{content:(0,s.jsxs)("span",{children:["7-day data retention limit (",(0,s.jsx)("a",{href:"/code-policy",children:"details"}),")"]})},{content:"Adapts to your coding style",free:"strikethrough"},{content:"1 million token context window",free:"strikethrough"},{content:"Largest, most intelligent model",free:"strikethrough"},{content:"$5/month in Supermaven Chat credits",free:"strikethrough"},{content:"30-day free trial",free:"hide"},{content:"Centralized user management and billing",free:"hide",pro:"strikethrough"}],u=[{content:"Unlimited users per team"},{content:"Fast, high-quality code suggestions"},{content:"Works with large codebases"},{content:(0,s.jsxs)("span",{children:["7-day data retention limit (",(0,s.jsx)("a",{href:"/code-policy",children:"details"}),")"]})},{content:"Adapts to your coding style"},{content:"1 million token context window"},{content:"Largest, most intelligent model"},{content:"$5/month in Supermaven Chat credits per user",free:"strikethrough"},{content:"Centralized user management and billing"}]},6648:function(e,t,n){"use strict";n.d(t,{default:function(){return r.a}});var s=n(5601),r=n.n(s)},7138:function(e,t,n){"use strict";n.d(t,{default:function(){return r.a}});var s=n(231),r=n.n(s)},6463:function(e,t,n){"use strict";var s=n(1169);n.o(s,"usePathname")&&n.d(t,{usePathname:function(){return s.usePathname}}),n.o(s,"useRouter")&&n.d(t,{useRouter:function(){return s.useRouter}}),n.o(s,"useSearchParams")&&n.d(t,{useSearchParams:function(){return s.useSearchParams}})},5601:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{default:function(){return l},getImageProps:function(){return o}});let s=n(9920),r=n(497),i=n(8173),a=s._(n(1241));function o(e){let{props:t}=(0,r.getImgProps)(e,{defaultLoader:a.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1}});for(let[e,n]of Object.entries(t))void 0===n&&delete t[e];return{props:t}}let l=i.Image}},function(e){e.O(0,[173,231,971,23,744],function(){return e(e.s=5273)}),_N_E=e.O()}]);
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.