!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="a18f3193-3610-565c-92bc-673e01556afe")}catch(e){}}(); (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6846],{51674:(e,t,a)=>{"use strict";a.d(t,{O:()=>l});var r=a(9479),i=a(99317),n=a(17223);let o={duration:.6,ease:[.56,.19,.2,.97]};function l(e){let{show:t,children:a,className:l}=e;return(0,r.jsx)(i.N,{initial:!1,children:t?(0,r.jsx)(n.P.div,{animate:{height:"auto",transition:o},className:l,exit:{height:0,transition:{...o,delay:.06}},initial:{height:0},children:(0,r.jsx)(n.P.div,{animate:{opacity:1,transition:{...o,delay:.06}},exit:{opacity:0,transition:{...o,duration:.24}},initial:{opacity:0},children:a})}):null})}},76846:(e,t,a)=>{"use strict";a.d(t,{ContactSalesForm:()=>e2,ContactSalesFormContent:()=>e7});var r=a(9479),i=a(72303),n=a(83844),o=a(12669),l=a(49901),s=a(89956),c=a(45154),u=a(77513),d=a(56525),m=a(78258),h=a(60210),p=a(17865),g=a(35862),f=a(21941),v=a(75166),_=a(86100),y=a(79686),b=a(72260),w=a(4375),x=a(63176),j=a(31731),S=a(4190),k=a.n(S),C=a(11963),A=a.n(C),E=a(4199),N=a(96916),L=a(15400),I=a(73981),B=a(65449),T=a(69072),D=a(7439),R=a(2340),P=a(78404),O=a(29255),M=a(19755),z=a(47323);function U(e,t){let a=new Date(e);return t.filter(e=>{let t=new Date(e.start);return t.getUTCFullYear()===a.getUTCFullYear()&&t.getUTCMonth()===a.getUTCMonth()&&t.getUTCDate()===a.getUTCDate()}).map(e=>({...e,available:!0}))}function F(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"UTC";return new Date(e).toLocaleTimeString("en-US",{timeZone:t,hour:"2-digit",minute:"2-digit"})}async function V(e,t){let a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:3;return fetch(e,t).then(r=>{if(!r.ok&&a>0)return V(e,t,a-1);if(!r.ok)throw Error("[CHILIPIPER ERROR] Request failed after 3 attempts.",{cause:r});return r})}let W="6607385324477b2170d797a5",H="https://vercel.chilipiper.com/api/api/v1",q="vercel",Z={"/contact/sales":"Contact Sales","/contact/sales/pricing":"Pricing","/contact/sales/security":"Security","/contact/sales/nextjs":"Next.js","/solutions/composable-commerce/migration":"Composable Commerce Migration","/contact/sales/enterprise-trial":"Enterprise Trial","/product-tour":"Product Tour","/contact/sales/demo":"Demo Form"},Y={"/contact/sales/product-tour":"7014V0000025tlUQAQ","/contact/sales/v0-enterprise":"701PZ00000KGYNCYA5"},G={blue:{"--form-focus-color":"var(--ds-focus-color)"},purple:{"--form-focus-color":"var(--ds-purple-700)"},green:{"--form-focus-color":"var(--ds-green-700)"}},J={blue:{"--callout-text-color":"var(--ds-blue-900)","--callout-background-color":"var(--ds-blue-200)","--callout-input-border-color":"var(--ds-blue-700)"},purple:{"--callout-text-color":"var(--ds-purple-900)","--callout-background-color":"var(--ds-purple-200)","--callout-input-border-color":"var(--ds-purple-700)"},green:{"--callout-text-color":"var(--ds-green-900)","--callout-background-color":"var(--ds-green-200)","--callout-input-border-color":"var(--ds-green-700)"},gray:{"--callout-text-color":"var(--ds-gray-900)","--callout-background-color":"var(--ds-gray-200)","--callout-input-border-color":"var(--ds-gray-700)"}},K={blue:{hoverStyle:{backgroundColor:"var(--ds-blue-800)",color:"white"},normalStyle:{backgroundColor:"var(--ds-blue-700)",color:"white"}},purple:{hoverStyle:{backgroundColor:"var(--ds-purple-800)",color:"white"},normalStyle:{backgroundColor:"var(--ds-purple-700)",color:"white"}},green:{hoverStyle:{backgroundColor:"var(--ds-green-800)",color:"white"},normalStyle:{backgroundColor:"var(--ds-green-700)",color:"white"}},gray:{}},$={blue:{"--booking-button-background-color":"var(--ds-blue-700)","--booking-button-text-color":"white","--booking-button-text-muted-color":"white"},purple:{"--booking-button-background-color":"var(--ds-purple-700)","--booking-button-text-color":"white","--booking-button-text-muted-color":"white"},green:{"--booking-button-background-color":"var(--ds-green-700)","--booking-button-text-color":"white","--booking-button-text-muted-color":"white"}};var Q=a(35238),X=a(89718),ee=a(95985),et=a(86872),ea=a.n(et);function er(){return ei.map(e=>{let{label:t,image:a}=e;return(0,r.jsxs)(o.B,{align:"center",className:ea().cell,direction:"row",justify:"space-between",children:[(0,r.jsx)(ee.default,{alt:"","aria-hidden":!0,className:ea().logo,priority:!0,src:a}),(0,r.jsx)(o.B,{align:"center",className:ea().right,children:(0,r.jsxs)(o.B,{align:"center",className:ea().pill,direction:"row",gap:1.5,children:[(0,r.jsx)(X.a,{"aria-label":"check mark",color:"green-700",size:16}),(0,r.jsx)(l.E,{variant:"label-13",children:t})]})})]},t)})}let ei=[{label:"HIPAA",image:{src:"/mktng/_next/static/media/hipaa.9e62caa6.svg",height:56,width:56,blurWidth:0,blurHeight:0}},{label:"DPF",image:{src:"/mktng/_next/static/media/dpf.e656023d.svg",height:56,width:56,blurWidth:0,blurHeight:0}},{label:"GDPR",image:{src:"/mktng/_next/static/media/gdpr.53ae8373.svg",height:56,width:56,blurWidth:0,blurHeight:0}},{label:"SOC 2",image:{src:"/mktng/_next/static/media/soc2.7918422b.svg",height:56,width:56,blurWidth:0,blurHeight:0}},{label:"ISO 27001",image:{src:"/mktng/_next/static/media/iso.e6b70597.svg",height:56,width:56,blurWidth:0,blurHeight:0}},{label:"PCI DSS",image:{src:"/mktng/_next/static/media/pci.ca772e74.svg",height:34,width:56,blurWidth:0,blurHeight:0}}];var en=a(83562),eo=a.n(en),el=a(51674),es=a(68841),ec=a(40020),eu=a.n(ec);function ed(e){let{show:t,content:a,withBottomGap:s,children:c,theme:u="gray"}=e;return(0,i.useEffect)(()=>{t&&b.zS.track(w.q.CONTACT_SALES_SHOW_DYNAMIC_CALLOUT,{variant:a.name})},[a.name,t]),(0,r.jsxs)(o.B,{className:eu().root,"data-dynamic-callout":"",children:[(0,r.jsxs)("div",{className:(0,n.$)(eu().dynamicCallout,{[eu().dynamicCalloutShow]:t,[eu().hasChildren]:!!c}),style:J[u],children:[(0,r.jsx)("div",{className:eu().border}),c||null,(0,r.jsx)(el.O,{className:eu().dynamicRow,show:t,children:(0,r.jsxs)(o.B,{align:"center",className:eu().content,direction:"row",gap:3,justify:"space-between",children:[(0,r.jsxs)(o.B,{align:"center",direction:"row",gap:3,children:[(0,r.jsx)(o.B,{children:(0,r.jsx)(a.Icon,{})}),(0,r.jsx)(l.E,{variant:"copy-14",children:a.copy})]}),(0,r.jsx)(es.ButtonLink,{...a.button.props,...K[u],href:a.button.href,onClick:()=>{b.zS.track(w.q.CLICK_EVENT,{click_name:"contact_sales_cta",click_value:a.button.text})},shape:"rounded",size:"small",children:a.button.text})]})})]}),s?(0,r.jsx)(el.O,{show:t,children:(0,r.jsx)("div",{className:eu().dynamicRowBottomGap})}):null]})}let em=(0,a(17849).G)('');var eh=a(32889);let ep={Icon:eh.N,copy:"Please enter a valid work email, or get support if you have an issue.",theme:"gray",name:"get_support",button:{text:"Get Support",href:"/help#issues",props:{onClick:()=>{a.e(683).then(a.bind(a,20683)).then(e=>{e.analytics.track(w.q.CLICK_EVENT,{click_name:"contact_sales_dynamic_callout_cta_get_support",click_value:"get support upsell"})})}}}},eg={Icon:eh.N,copy:"Please enter a valid work email or start building with a free Vercel account.",theme:"gray",name:"sign_up",button:{text:"Sign up",href:"/signup?plan=pro&next=/dashboard",props:{onClick:()=>{a.e(683).then(a.bind(a,20683)).then(e=>{e.analytics.track(w.q.CLICK_EVENT,{click_name:"contact_sales_dynamic_callout_cta_signup",click_value:"Sign up"})})}}}};var ef=a(39700),ev=a(2992),e_=a(70704),ey=a(92379),eb=a(22281),ew=a(17223);let ex={Oceania:["Pacific/Niue","Pacific/Palau","Australia/Adelaide","Australia/Darwin","Australia/Brisbane"],"US & Canada":["Pacific/Honolulu","America/Anchorage","America/Los_Angeles","America/Vancouver","America/Edmonton","America/Denver","America/Phoenix","America/Chicago","America/Regina","America/New_York","America/Toronto"],"North America":["America/Tijuana","America/Ciudad_Juarez","America/Belize","America/Guatemala","America/Managua","America/Mexico_City","America/Matamoros","America/Costa_Rica","America/El_Salvador","America/Havana","America/Cancun","America/Cayman","America/Jamaica","America/Nassau","America/Panama","America/Barbados","America/St_Lucia","America/Port_of_Spain","America/Aruba","America/Dominica","America/St_Thomas","America/Grenada","America/Antigua","America/Puerto_Rico","America/Santo_Domingo","America/Anguilla"],"South America":["America/Rio_Branco","America/Bogota","America/Guayaquil","America/Lima","America/Manaus","America/La_Paz","America/Santiago","America/Asuncion","America/Caracas","America/Argentina/Buenos_Aires","America/Sao_Paulo","America/Montevideo"],Antarctica:["Antarctica/Palmer","Atlantic/South_Georgia","Antarctica/Troll","Antarctica/Syowa"],Europe:["Atlantic/Faroe","Europe/Amsterdam","Europe/Andorra","Europe/Belgrade","Europe/Berlin","Europe/Bratislava","Europe/Brussels","Europe/Budapest","Europe/Luxembourg","Europe/Madrid","Europe/Monaco","Europe/Oslo","Europe/Paris","Europe/Podgorica","Europe/Prague","Europe/Rome","Europe/San_Marino","Europe/Tirane","Europe/Vaduz","Europe/Vatican","Europe/Vienna","Europe/Warsaw","Europe/Zagreb","Europe/Zurich","Europe/Athens","Europe/Bucharest","Europe/Minsk","Europe/Moscow","Europe/Simferopol","Europe/Samara","Asia/Yekaterinburg"],Africa:["Atlantic/Cape_Verde","Africa/Abidjan","Africa/Accra","Africa/Bamako","Africa/Malabo","Africa/Lubumbashi","Africa/Lusaka","Africa/Maputo"],Asia:["Europe/Istanbul","Asia/Dubai","Asia/Muscat","Asia/Bangkok","Asia/Jakarta","Asia/Shanghai","Asia/Hong_Kong","Asia/Singapore","Asia/Taipei","Asia/Tokyo","Asia/Pyongyang","Asia/Seoul"],UTC:["UTC"]};var ej=a(86051),eS=a.n(ej);function ek(e){let{theme:t="blue",onSubmitSuccess:a,isLoading:n,isBooking:s,bookingError:u,currentDate:d,currentSlot:m,slots:h,slotsLoading:p,availableDates:g,setCurrentDate:f,setCurrentSlot:v,timezone:_,setTimezone:y,bookMeeting:x,prospectInfo:j,sessionId:S}=e;(0,i.useEffect)(()=>{b.zS.track(w.q.CONTACT_SALES_CALENDAR_VIEW,{prospect:j})},[]);let k=async()=>{try{if(!d&&!m)return;let{error:e}=await x();e||(a(),b.zS.track(w.q.CONTACT_SALES_BOOKED_MEETING,{prospect:j,date:null==d?void 0:d.date.toISOString(),slot:null==m?void 0:m.start}))}catch(e){throw Error("Failed to book meeting")}};return(0,r.jsxs)(o.B,{className:eS().fadeIn,gap:12,style:{...$[t]},children:[(0,r.jsxs)(o.B,{gap:4,children:[(0,r.jsxs)(o.B,{align:"center",direction:"row",gap:2,children:[(0,r.jsx)("div",{className:eS().checkWrapper,children:(0,r.jsx)(X.a,{className:eS().checkMark,size:16})}),(0,r.jsx)(l.E,{variant:"heading-16",children:"Inquiry received. Would you like to book a meeting?"})]}),(0,r.jsx)(eC,{availableDates:g,currentDate:d,setCurrentDate:f})]}),(0,r.jsxs)(o.B,{gap:4,children:[(0,r.jsxs)(o.B,{align:"center",className:eS().timezoneHeading,direction:"row",gap:2,justify:"space-between",children:[(0,r.jsx)(l.E,{variant:"heading-16",children:"Select a time"}),(0,r.jsx)(eA,{setTimezone:y,timezone:_})]}),(0,r.jsx)(eE,{currentDate:d,currentSlot:m,isLoading:n||p,sessionId:S,setCurrentSlot:v,slots:h,timezone:_})]}),u?(0,r.jsx)(ev.L,{"data-error":u.code,fill:!0,type:"error",children:u.message}):null,(0,r.jsxs)(o.B,{align:"center",direction:{sm:"column",md:"row"},gap:{sm:6,md:12},justify:"space-between",children:[(0,r.jsxs)(l.E,{color:"gray-900",variant:"copy-13",children:["By submitting you accept the"," ",(0,r.jsx)(es.Link,{href:"/legal/privacy-policy",variant:"primary",children:"Privacy Statement"}),"."]}),(0,r.jsx)(c.Button,{...K[t],className:eS().bookBtn,"data-testid":(0,Q.g)("contact","sales","book-meeting"),disabled:!d||!m||!!u,loading:s,onClick:k,shape:"rounded",type:"default",children:"Book 15 minute call"})]})]})}function eC(e){let{currentDate:t,setCurrentDate:a,availableDates:s}=e,[c,u]=(0,i.useState)(0),[d,m]=(0,eb.l)(),h=(0,i.useRef)(null),p=(0,i.useRef)([]);(0,i.useEffect)(()=>{let e="";e=c+2===s.length?"".concat(-(1/s.length*100*(c-1)),"%"):"".concat(-(1/s.length*100*c),"%"),p.current[c]&&setTimeout(()=>{p.current[c].focus()},50),m(d.current,{x:e},{duration:.3,ease:eB})},[c]);let g=e=>{e+2>=s.length&&u(s.length-1),e<0||u(e)};function f(){var e;for(let t=c+1;t=0;t--)if(null===(e=s[t])||void 0===e?void 0:e.available)return t;return -1}return(0,r.jsxs)(o.B,{className:eS().datePicker,direction:"row",ref:h,children:[(0,r.jsx)("button",{className:(0,n.$)(eS().arrowBtn,eS().arrowLeft),disabled:0===c,onClick:()=>g(v()),tabIndex:-1,type:"button",children:(0,r.jsx)(e_.J,{})}),(0,r.jsx)("div",{className:eS().dateWrapper,children:(0,r.jsx)(ew.P.div,{className:eS().dateList,ref:d,style:{"--num-dates":s.length},children:s.map((e,i)=>{let o=(null==t?void 0:t.id)===e.id;return(0,r.jsxs)("button",{className:(0,n.$)(eS().date,o?eS().selected:null,!e.available&&eS().disabled),disabled:!e.available,onClick:()=>a(e),onKeyDown:r=>{"Enter"===r.key&&((null==t?void 0:t.id)===e.id&&a(null),a(e)),"ArrowRight"===r.key&&g(f()),"ArrowLeft"===r.key&&g(v())},ref:e=>{p.current[i]=e},tabIndex:i===c?0:-1,type:"button",children:[(0,r.jsx)(l.E,{className:eS().muted,color:"gray-900",variant:"label-14",children:e.weekday}),(0,r.jsx)(l.E,{className:eS().day,variant:"copy-24",children:e.day}),(0,r.jsx)(l.E,{className:eS().muted,color:"gray-900",variant:"label-14",children:e.month})]},e.id)})})}),(0,r.jsx)("button",{className:(0,n.$)(eS().arrowBtn,eS().arrowRight),disabled:c+3>=s.length,onClick:()=>g(f()),tabIndex:-1,type:"button",children:(0,r.jsx)(e_.J,{})})]})}function eA(e){let{timezone:t,setTimezone:a}=e;return(0,r.jsx)(ef.l,{onChange:e=>a(e.target.value),placeholder:"Select your timezone",prefix:(0,r.jsx)(ey.z,{}),selectClassName:eS().timezoneSelect,size:"small",value:t,children:Object.entries(ex).map(e=>{let[t,a]=e;return(0,r.jsx)("optgroup",{label:t,children:a.map(e=>(0,r.jsx)("option",{value:e,children:e},e))},t)})})}function eE(e){let[t,a]=(0,eb.l)(),[n,o]=(0,i.useState)(9),l=(0,i.useRef)(null);return(0,i.useEffect)(()=>{0===e.slots.length&&o(9),o(3*Math.ceil(e.slots.length/3)||9)},[e.slots.length]),(0,i.useEffect)(()=>{if(!l.current)return;let e=new ResizeObserver(e=>{for(let r of e)a(t.current,{height:r.target.clientHeight-2},{duration:.5,ease:eB})});return e.observe(l.current),()=>e.disconnect()},[]),(0,r.jsx)(ew.P.div,{className:eS().slotsResizer,ref:t,children:(0,r.jsx)("div",{className:eS().slots,ref:l,children:(0,r.jsx)(eN,{...e,lastSlotsLength:n})})})}function eN(e){let{isLoading:t,slots:a,currentSlot:o,setCurrentSlot:s,timezone:c,currentDate:u,lastSlotsLength:d}=e,m=(0,i.useRef)([]),[h,p]=(0,i.useState)(0),g=e=>{e.key.includes("Arrow")&&e.preventDefault(),"ArrowRight"===e.key&&p(e=>Math.min(e+1,a.length-1)),"ArrowLeft"===e.key&&p(e=>Math.max(e-1,0)),"ArrowUp"===e.key&&p(e=>Math.max(e-3,0)),"ArrowDown"===e.key&&p(e=>Math.min(e+3,a.length-1))};return((0,i.useEffect)(()=>{m.current[h]&&setTimeout(()=>{m.current[h].focus()},25)},[h]),t)?(0,r.jsx)(eL,{length:d}):(a.length%3!=0&&a.push(...function(e){let t=3-e.length%3,a=e[e.length-1].end,r=[];for(let e=0;e{let a=(null==o?void 0:o.start)===e.start,i="".concat(null==u?void 0:u.date.getTime(),"-").concat(t);return(0,r.jsx)(ew.P.button,{className:(0,n.$)(eS().slot,a&&eS().selected),"data-testid":a?(0,Q.g)("contact","sales","time-slot","selected"):void 0,disabled:!e.available,onClick:()=>{a?s(null):s(e)},onKeyDown:g,ref:e=>{m.current[t]=e},tabIndex:h===t?0:-1,type:"button",children:(0,r.jsx)(l.E,{as:"time",className:eS().time,variant:"label-14",children:F(e.start,c)})},i)})})}function eL(e){let{length:t}=e;return(0,r.jsx)(r.Fragment,{children:Array.from({length:t},(e,t)=>(0,r.jsx)("div",{className:(0,n.$)(eS().slot),children:(0,r.jsx)("div",{className:(0,n.$)(eS().skeleton,eS().short)})},t))})}function eI(){return(0,r.jsxs)(r.Fragment,{children:[Array.from({length:3},(e,t)=>(0,r.jsx)("button",{className:(0,n.$)(eS().slot,eS().disabled),disabled:!0,type:"button",children:(0,r.jsx)("div",{className:(0,n.$)(eS().short)})},t)),(0,r.jsx)("div",{className:(0,n.$)(eS().slot,eS().expanded,eS().emptyLabel),children:(0,r.jsx)("div",{className:(0,n.$)(eS().short),children:(0,r.jsx)(l.E,{color:"gray-600",variant:"copy-16",children:"No times available for selected date."})})}),Array.from({length:3},(e,t)=>(0,r.jsx)("button",{className:(0,n.$)(eS().slot,eS().disabled),disabled:!0,type:"button",children:(0,r.jsx)("div",{className:(0,n.$)(eS().short)})},t))]})}let eB=[.22,.28,.17,1];var eT=a(69727),eD=a(41314),eR=a(71966),eP=a(29700),eO=a(99317),eM=a(96093),ez=a(87496);let eU=(0,ez.createServerReference)("7f462f28b3ca58e2acc3b05eb815ffcb9b7eaa3249",ez.callServer,void 0,ez.findSourceMapURL,"submitInfo"),eF=(0,eP.m)(o.B);function eV(e){let{email:t}=e,[a,o]=(0,i.useState)(!1),[s,c]=(0,eM.A)(),u=(0,i.useCallback)(()=>{b.zS.track(w.q.CLICK_EVENT,{click_name:"survey_submission"}),o(!0)},[]);return(0,r.jsx)(eP.m.div,{animate:{height:c.height+40},className:(0,n.$)(eo().thankYouCard,eo().overflowHidden),style:{height:c.height+40},transition:{duration:.2},children:(0,r.jsx)("div",{ref:s,children:(0,r.jsx)(eO.N,{initial:!1,mode:"wait",children:a?(0,r.jsxs)(eF,{align:"center",animate:{opacity:1,filter:"blur(0px)"},direction:"row",gap:4,initial:{opacity:0,filter:"blur(4px)"},transition:{duration:.2,delay:.2},children:[(0,r.jsx)("div",{className:eo().checkWrapper,children:(0,r.jsx)(X.a,{className:eo().checkMark,size:16})})," ",(0,r.jsx)(l.E,{variant:"copy-18",children:"We received your feedback!"})]},"thank-you"):(0,r.jsxs)(eF,{exit:{opacity:0},gap:4,initial:{opacity:1},transition:{duration:.2},children:[(0,r.jsx)(l.E,{variant:"copy-18",children:"How did you hear about Vercel?"}),(0,r.jsx)(eH,{email:t,onSubmitted:u})]},"form")})})})}let eW=["Friend or Colleague","Next.js","Event","Google","X, LinkedIn, Reddit","YouTube","AI Chatbot","Other"];function eH(e){let{onSubmitted:t,email:a}=e,[n,l]=(0,i.useState)(eW[0]),[s,c]=(0,eR.useFormState)(eU,{howDidYouHearAboutVercel:n,ok:!1,submitted:!1});return(0,i.useEffect)(()=>{b.zS.track(w.q.CLICK_EVENT,{click_name:"survey_selection",click_value:n})},[n]),(0,i.useEffect)(()=>{s.ok&&s.submitted&&t()},[s.ok,s.submitted,t]),(0,r.jsxs)(o.B,{action:c,as:"form",className:"tailwind-preflight",direction:{sm:"column",md:"row"},gap:4,children:[(0,r.jsxs)(o.B,{className:"w-full",gap:4,children:[(0,r.jsx)("input",{name:"email",type:"hidden",value:a}),(0,r.jsx)(ef.l,{className:"w-full",name:"how-did-you-hear-about-vercel",onChange:e=>l(e.target.value),value:n,children:eW.map(e=>(0,r.jsx)("option",{value:e,children:e},e))}),"Other"===n&&(0,r.jsx)(eD.p,{"aria-labelledby":"how-did-you-hear-about-vercel-other",name:"other-value",placeholder:"Other (e.g. software review site)",required:!0})]}),(0,r.jsx)(eq,{})]})}function eq(){let{pending:e}=(0,eR.useFormStatus)();return(0,r.jsx)(c.Button,{className:"w-max",loading:e,shape:"rounded",size:"medium",children:"Submit"})}var eZ=a(92638),eY=a.n(eZ);function eG(e){let{profile:t,timezone:a,prospect:i}=e;return(0,r.jsxs)(o.B,{className:eY().fadeIn,gap:8,children:[(0,r.jsxs)(o.B,{as:"header",gap:6,children:[(0,r.jsx)(l.E,{as:"h2",variant:"heading-40",children:"You’re booked with:"}),(0,r.jsx)(eJ,{agent:t.agent})]}),(0,r.jsx)(e$,{agent:t.agent,date:t.date,prospect:i,slot:t.slot,timezone:a}),(0,r.jsx)(eV,{email:(null==i?void 0:i.email)||""})]})}function eJ(e){let{agent:t}=e;return(0,r.jsxs)(o.B,{align:"center",direction:"row",gap:4,children:[(0,r.jsx)(eT.Avatar,{size:48,url:t.image}),(0,r.jsxs)(o.B,{children:[(0,r.jsx)(l.E,{as:"h3",variant:"heading-16",children:t.displayName}),(0,r.jsx)(l.E,{color:"gray-900","data-testid":(0,Q.g)("contact","sales","booking-confirmation","rep-email"),variant:"copy-16",children:t.email})]})]})}let eK=e=>{let t=new Date,a=new Intl.DateTimeFormat("en-US",{dateStyle:"full",timeStyle:"long",timeZone:e}).format(t);return a.split(" ")[a.split(" ").length-1]};function e$(e){let{date:t,slot:a,timezone:i,agent:n,prospect:s}=e;return(0,r.jsxs)(o.B,{as:"section",className:eY().bookingInfo,children:[(0,r.jsx)(eQ,{content:(0,r.jsxs)(o.B,{gap:1,children:[(0,r.jsx)(l.E,{variant:"copy-14",children:t.date.toLocaleDateString("en-US",{weekday:"long",day:"numeric",month:"long"})}),(0,r.jsxs)(l.E,{color:"gray-900",variant:"copy-14",children:[F(a.start,i)," -"," ",F(a.end,i)," ",eK(i)]})]}),label:"When"}),(0,r.jsx)(eQ,{content:(0,r.jsxs)(o.B,{as:"ul",className:eY().guestList,gap:1,children:[(0,r.jsx)(l.E,{as:"li",variant:"copy-14",children:n.email}),(0,r.jsx)(l.E,{as:"li",variant:"copy-14",children:null==s?void 0:s.email})]}),label:"Guests"}),(0,r.jsx)(eQ,{content:(0,r.jsx)(l.E,{variant:"copy-14",children:"We’ve sent an email with your all booking details!"}),label:"Details"})]})}function eQ(e){let{label:t,content:a}=e;return(0,r.jsxs)("article",{className:eY().infoField,children:[(0,r.jsx)(l.E,{className:eY().label,color:"gray-900",variant:"copy-14",children:t}),(0,r.jsx)(l.E,{variant:"copy-14",children:a})]})}var eX=a(77963),e0=a.n(eX);function e1(e){let{heading:t}=e;return(0,r.jsxs)(o.B,{align:{sm:"center",md:"start"},gap:{sm:4,md:6},children:[(0,r.jsx)(l.E,{as:"h1",className:e0().heading,variant:{sm:"heading-24",md:"heading-32",lg:"heading-32"},children:t}),(0,r.jsx)(o.B,{className:e0().bullets,gap:4,children:e4.map(e=>(0,i.createElement)(e5,{...e,key:e.icon}))})]})}function e5(e){let{icon:t,title:a,description:i}=e;return(0,r.jsxs)(l.E,{className:e0().bullet,color:"gray-900",variant:{sm:"copy-14",md:"copy-16"},children:["phone"===t?(0,r.jsx)(em,{className:e0().icon,color:"gray-1000"}):(0,r.jsx)(ey.z,{className:e0().icon,color:"gray-1000"}),(0,r.jsx)("strong",{children:a})," ",i]})}let e9={sm:"heading-16",md:"heading-20"};function e3(){return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(s.xA.Cell,{noPadding:!0,row:{sm:3,lg:2},children:(0,r.jsxs)(o.B,{direction:"row",children:[(0,r.jsxs)(o.B,{className:e0().stat,gap:4,justify:"space-between",children:[(0,r.jsxs)(l.E,{color:"gray-900",variant:e9,weight:500,children:[(0,r.jsx)("strong",{children:"6x faster"})," to build and deploy."]}),(0,r.jsx)(m.g,{balanced:!0,colored:!0,height:24,name:"ebay"})]}),(0,r.jsxs)(o.B,{className:e0().stat,gap:4,justify:"space-between",children:[(0,r.jsxs)(l.E,{color:"gray-900",variant:e9,weight:500,children:[(0,r.jsx)("strong",{children:"98% faster"})," time to market."]}),(0,r.jsx)(m.g,{balanced:!0,colored:!0,height:24,name:"trip-advisor"})]})]})}),(0,r.jsx)(s.xA.Cell,{row:{sm:4,lg:3},children:(0,r.jsxs)(o.B,{className:e0().quote,gap:4,children:[(0,r.jsxs)(l.E,{color:"gray-900",variant:e9,weight:500,children:['"Vercel makes ',(0,r.jsx)("strong",{children:"our developers happier"})," and lets us ",(0,r.jsx)("strong",{children:"go to market quicker"}),'."']}),(0,r.jsx)(m.g,{balanced:!0,colored:!0,height:24,name:"sonos"})]})})]})}let e4=[{icon:"phone",title:"Get a custom demo.",description:"Discover the value of Vercel for your enterprise and explore our custom plans and pricing."},{icon:"clock",title:"Set up your Enterprise trial.",description:"See for yourself how Vercel Enterprise speeds up your workflow &\xa0impact."}];function e2(e){let{heading:t,description:a,mobileHeadingAndDescription:i,logos:n,form:c,variant:d,theme:m="blue",defaultNoteText:h,disableAutoFocus:p=!1,thankYouHeadingString:g,thankYouSubheading:f,thankYouContent:v,isCustomerProofVariant:_}=e;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(e8,{className:"geist-hide-on-mobile"}),(0,r.jsxs)(s.xA,{className:eo().root,columns:{sm:1,lg:2},rows:{sm:4,lg:3},style:G[m],children:[(0,r.jsx)(s.xA.Cell,{column:1,row:1,children:_?(0,r.jsx)(e1,{heading:t}):(0,r.jsxs)(o.B,{className:"geist-hide-on-mobile",gap:{sm:4,lg:6},children:[(0,r.jsx)(l.E,{as:"h1",variant:{sm:"heading-32",lg:"heading-40"},children:t}),(0,r.jsx)(l.E,{as:"div",color:"gray-900",variant:{sm:"copy-18",lg:"copy-20"},children:(0,u.i)(a)})]})}),(0,r.jsx)(s.xA.Cell,{className:eo().formCell,column:{sm:1,lg:2},row:{sm:2,lg:_?"1/4":"1/3"},solid:!0,children:(0,r.jsx)(e7,{defaultNoteText:h,disableAutoFocus:p,form:c,pulseButton:_,thankYouContent:v,thankYouHeading:g,thankYouSubheading:f,theme:m,variant:d})}),_?null:(0,r.jsx)(s.xA.Cell,{className:"geist-show-on-mobile",column:1,row:1,children:(0,r.jsx)(l.E,{as:"div",className:eo().mobileHeading,variant:"heading-16",children:(0,u.i)(i)})}),(0,r.jsx)(ta,{isCustomerProof:!0,logos:n,variant:d}),(0,r.jsx)(s.xA.Cross,{column:1,row:1}),(0,r.jsx)(s.xA.Cross,{column:{sm:2,lg:3},row:{sm:3,lg:4}})]}),(0,r.jsx)(e8,{})]})}function e7(e){let{form:t,variant:a,theme:s="blue",defaultNoteText:d,disableAutoFocus:m,thankYouHeading:p,thankYouSubheading:g,thankYouContent:S,pulseButton:C}=e,F=(0,h.useSearchParams)(),[G,J]=(0,i.useState)(!1),{fields:$,isLoggedIn:X,loading:ee,submitForm:et,emailIsPersonal:ea,shouldShowBooking:er,isLoading:ei,isBooking:en,isBookedMeeting:es,profile:ec,prospectInfo:eu,sessionId:em,setIsBookedMeeting:eh,bookingError:ef,currentDate:ev,currentSlot:e_,slots:ey,slotsLoading:eb,availableDates:ew,setCurrentDate:ex,setCurrentSlot:ej,timezone:eS,setTimezone:eC,startFlow:eA,bookMeeting:eE,apiError:eN,getBookerProfile:eL}=function(e){var t,a,r,n,o;let{form:l,campaignId:s,onSubmitSuccess:c,variant:u,defaultNoteText:d}=e,[m,p]=(0,i.useState)(!1),[g,f]=(0,i.useState)(void 0),{data:S,user:C}=(0,j.Jd)(),F=(0,B.r)(),[G,J]=(0,i.useState)(["name","phone","company-website","company-size"]),K=(0,i.useRef)(Date.now()),$=(0,h.usePathname)(),Q=(0,h.useSearchParams)(),X=(null==Q?void 0:Q.get("p"))==="1",{isLoading:ee,edge:et}=(0,_.useKoalaEdge)(),{isLoading:ea,profile:er}=(0,y.useKoalaProfile)(),ei=null==Q?void 0:Q.has("marketfit"),en=(null==Q?void 0:Q.get("marketfit"))==="true",eo=ei?en:!!(!ee&&(null==et?void 0:et.person.identifiedWorkEmail)&&et.scores.account.fitGradeLetter.includesAnyOf("A","B")),el=!ea&&er?null===(a=er.qualification)||void 0===a?void 0:null===(t=a.account_score)||void 0===t?void 0:t.fit_grade_letter:void 0,{fields:es,validate:ec,resetErrors:eu,invalidateField:ed}=(0,P.Z)(l,{disabledFields:G}),{"company-email":em,"how-can-we-help":eh,name:ep,phone:eg,"company-website":ef,"company-size":ev}=es,e_=(0,v.o_)(em.value,250);(0,i.useEffect)(()=>{var e;(null===(e=window.ko)||void 0===e?void 0:e.qualify)&&A()(e_)&&window.ko.qualify(e_)},[e_]);let{showName:ey,showPhoneNumber:eb,showCompanyURL:ew,showCompanySize:ex,clearbitData:ej,emailIsPersonal:eS}=(0,M.P)({enabled:!0,email:e_,user:null==S?void 0:S.user,resetFormErrors:eu}),{shouldShowBooking:ek,isBookedMeeting:eC,profile:eA,prospectInfo:eE,sessionId:eN,setIsBookedMeeting:eL,isLoading:eI,bookingError:eB,currentDate:eT,currentSlot:eD,slots:eR,slotsLoading:eP,availableDates:eO,setCurrentDate:eM,setCurrentSlot:ez,timezone:eU,setTimezone:eF,startFlow:eV,bookMeeting:eW,getBookerProfile:eH,isBooking:eq}=function(){let[e,t]=(0,i.useState)(!1),[a,r]=(0,i.useState)(!1),[n,o]=(0,i.useState)(""),[l,s]=(0,i.useState)({assigneesIds:[],queueId:"",routeId:"",template:"",bookingId:"",isLead:!1}),c=(0,h.useSearchParams)(),u=(null==c?void 0:c.get("test"))==="true",[d,m]=(0,i.useState)(null),[p,g]=(0,i.useState)(null),[f,v]=(0,i.useState)(!0),[_,y]=(0,i.useState)(!1),[b,w]=(0,i.useState)(null),{current:x}=(0,i.useRef)(function(){let e=new Date(new Date().setDate(new Date().getDate()+1));return Array.from({length:30},(t,a)=>{let r=new Date(e);return r.setDate(e.getDate()+a),r}).map(e=>({id:e.toISOString(),available:0!==e.getDay()&&6!==e.getDay(),weekday:e.toLocaleDateString("en-US",{weekday:"long"}),day:e.toLocaleDateString("en-US",{day:"2-digit"}),month:e.toLocaleDateString("en-US",{month:"long"}),date:e}))}()),[j,S]=(0,i.useState)(x[0]),[k,C]=(0,i.useState)([]),[A,E]=(0,i.useState)(null),[N,L]=(0,i.useState)([]),[I,B]=(0,i.useState)(!1),[T,D]=(0,i.useState)(()=>Intl.DateTimeFormat().resolvedOptions().timeZone||"UTC"),[R,P]=(0,i.useState)(null);(0,i.useEffect)(()=>{j&&L(U(j.date.toISOString(),k))},[j,k]);let O=async e=>{if(!j)return!1;let{url:a,routeId:r}=await M(e);if(!r||!a)return!1;t(!0),m({email:e.Email,name:"".concat(e.FirstName," ").concat(e.LastName)});let{bookMe:{id:i,bookMeeting:{template:n,queueId:l,isLead:c}},token:u,sessionId:d}=await F(a,r);o(d);let{title:h,location:p,description:f}=await z(n,d);g({title:h,location:p,description:f});let _=await Z(l,u,d,{id:i,isLead:c,queues:[l]});await K(l,u);let y={assigneesIds:[_],queueId:l,routeId:r,template:n,bookingId:i,isLead:c};return s(y),await Q(y,d),v(!1),!0},M=async e=>{try{let t=await V("".concat("https://api.chilipiper.com","/marketing/vercel"),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({options:{router:u?"inbound_router_test":"inbound-router",debug:!1,map:!0,locale:"en_US"},accountId:W,form:{...e}}),cache:"no-store"});return await t.json()}catch(e){throw Error("Failed to initialize booking")}},z=async(e,t)=>{let a=await V("".concat(H,"/book-me/template/").concat(e),{headers:{"Special-Session-Id":t},cache:"no-store"}),{title:r,description:i,location:n}=await a.json();return{title:r,description:i,location:n}},F=async(e,t)=>{let a=e.split("/")[4],r="".concat(H,"/book-me/session/").concat(q,"/").concat(a,"?routeId=").concat(t,"&marketing=true&locale=en_US"),i=await V(r,{cache:"no-store"});return await i.json()},Z=async(e,t,a,r)=>{var i,n;let o=await V("".concat(H,"/book-me/queue/").concat(e),{headers:{Authorization:"Bearer ".concat(t)},cache:"no-store"}),l=await o.json();switch(l.algorithm){case"Ownership":if(r.id)return Y(a,r);return(null===(i=l.members.find(e=>e.main))||void 0===i?void 0:i.id)||l.members[0].id;case"RoundRobin":case"Manual":return G(a,l.members.map(e=>e.id),{queueId:e,template:l.template});case"Group":return(null===(n=l.members.find(e=>e.main))||void 0===n?void 0:n.id)||l.members[0].id;default:return l.members[0].id}},Y=async(e,t)=>{try{let a=await V("".concat(H,"/book-me/rules"),{method:"POST",headers:{"Content-Type":"application/json","Special-Session-Id":e},body:JSON.stringify(t)});return(await a.json())[0].owners[0]}catch(e){throw Error("Failed to get ownership booker")}},G=async(e,t,a)=>{try{let r=new Date(Date.now()).setHours(0,0,0,0),i=new Date(new Date(Date.now()).setMonth(new Date(Date.now()).getMonth()+1)).setHours(23,59,59,999),n=new Date(r).toJSON(),o=new Date(i).toJSON(),l=await V("".concat(H,"/book-me/info"),{method:"POST",headers:{"Content-Type":"application/json","Special-Session-Id":e},body:JSON.stringify({assigneesIds:t,assigneesInfo:[],bookingId:null,guests:[],meetingDuration:15,slot:15,step:15,start:r,end:i,meetingStart:n,meetingEnd:o,...a,withAvailableDays:!0,withBuffers:!0,withDelay:!0}),cache:"no-store"}),s=(await l.json()).filter(e=>e.workingHoursSet&&!e.onVacation&&e.accessible&&!e.meetingCapReached).sort((e,t)=>e.order-t.order);if(0===s.length)throw Error("No available reps");return s[0].id}catch(e){throw Error("Failed to get round robin booker")}},J=async e=>{try{let t=await V("/api/chilipiper-profile?id=".concat(e));return await t.json()}catch(e){throw Error("Failed to get booker profile")}},K=async(e,t)=>{await V("".concat(H,"/rooms/public-sort/").concat(e),{headers:{Authorization:"Bearer ".concat(t)},cache:"no-store"})},$=async(e,t,a)=>{if(!j)return{slots:[]};let r=a+1296e6-1,i=await V("".concat(H,"/book-me/slots"),{method:"POST",headers:{"Content-Type":"application/json","Special-Session-Id":t},body:JSON.stringify({...e,assigneesInfo:[],isBeta:!1,start:a,end:r,meetingStart:new Date(a).toJSON(),meetingEnd:new Date(r).toJSON(),meetingDuration:15,slot:30,step:15,guests:[],roomsIds:[],bookingId:null,timezone:T,withAvailableDays:!0,withBuffers:!0,withDelay:!0})});return await i.json()},Q=async(e,t)=>{if(!j||!t)return;B(!0);let a=new Date(j.date).setHours(0,0,0,0),r=new Date(a).setDate(new Date(a).getDate()+15),[i,n]=await Promise.all([$(e,t,a),$(e,t,r)]),o=[...i.slots,...n.slots],l=U(j.date.toISOString(),o);C(o),L(l),X(o),B(!1)},X=e=>{for(let t of x){let a=U(t.date.toISOString(),e);if(a.length>0){S(t),E(a[0]);break}}},ee=async()=>{if(!A||!j)return{error:!0};try{y(!0);let e=await V("".concat(H,"/book/").concat(n,"?domain=").concat(q),{method:"POST",headers:{"Content-Type":"application/json","Special-Session-Id":n},body:JSON.stringify({id:l.bookingId,...l,prospect:(null==d?void 0:d.email)||"",prospectName:(null==d?void 0:d.name)||"",assigneeId:l.assigneesIds[0],workspaceId:W,inviteProspect:!0,notifyGuests:!0,guests:[],invitees:[],...p,rawDetails:p,organizationDomain:"".concat(q,".com"),source:"Online",duration:15,startDate:A.start,endDate:A.end,timezone:T}),cache:"no-store"});if(!e.ok)return w({code:"UnknownError",message:"Failed to book the meeting"}),y(!1),{error:!0};let{error:t}=await e.json();if(t){let e=function(e){switch(e){case"ProspectMaxMeetingsReached":return{code:"ProspectMaxMeetingsReached",message:"You have reached the maximum number of meetings allowed."};case"DomainMaxMeetingsReached":return{code:"DomainMaxMeetingsReached",message:"We cannot schedule more meetings at this time. Please try again later."};default:return{code:"UnknownError",message:"An unknown error occurred. Please try again later."}}}(t);return w(e),y(!1),{error:!0}}let a=await J(l.assigneesIds[0]);return P({agent:a,date:j,slot:A}),y(!1),{error:!1}}catch(e){throw Error(e)}};return{isLoading:f,isBooking:_,bookingError:b,slots:N,slotsLoading:I,availableDates:x,currentDate:j,setCurrentDate:S,currentSlot:A,setCurrentSlot:E,timezone:T,setTimezone:D,startFlow:O,shouldShowBooking:e,isBookedMeeting:a,setIsBookedMeeting:r,bookMeeting:ee,getBookerProfile:J,sessionId:n,profile:R,prospectInfo:d}}();(0,i.useEffect)(()=>{"enterprise-trial"===(null==Q?void 0:Q.get("mode"))&&es["how-can-we-help"].setValue("Request an Enterprise Trial.")},[es,Q]),(0,i.useEffect)(()=>{d&&es["how-can-we-help"].setValue(d)},[d]),(0,i.useEffect)(()=>{let e=null==Q?void 0:Q.get("email"),t=null==Q?void 0:Q.get("content");e&&es["company-email"].setValue(e),t&&es["how-can-we-help"].setValue(t)},[es,Q]),(0,i.useEffect)(()=>{let e=[];ey||e.push("name"),eb||e.push("phone"),ew||e.push("company-website"),ex||e.push("company-size"),J(e)},[ex,ew,ey,eb]);let eZ=(0,i.useMemo)(()=>{var e;return em.value||(null==S?void 0:null===(e=S.user)||void 0===e?void 0:e.email)||""},[em.value,null==S?void 0:null===(r=S.user)||void 0===r?void 0:r.email]),eY=(0,i.useMemo)(()=>{var e;return eZ&&eZ===(null==S?void 0:null===(e=S.user)||void 0===e?void 0:e.email)},[null==S?void 0:null===(n=S.user)||void 0===n?void 0:n.email,eZ]),eG=(0,E.zB)(),eJ=(0,i.useCallback)(e=>{let t=Math.round((Date.now()-K.current)/1e3);b.zS.track(w.q.CONTACT_SALES,{email:eZ,variant:u,fitGradeLetter:el,requiredFields:Object.keys(es).map(e=>e).filter(e=>es[e].enabled&&es[e].required),timeOnPageInSeconds:t,referrer:eG.referrer,path:null!=$?$:""}),(0,D.Q)({events:[{eventName:"contact_sales_form_submission",metadata:{group:"experiment",loggedIn:C?"true":"false"}}]}),e||null==c||c()},[eG.referrer,eZ,es,c,C,u,$,el]),eK=(0,i.useCallback)(async e=>{let t=await fetch(x.xXT,{headers:{"Content-Type":"application/json"},method:"POST",body:JSON.stringify(e)});if(!t.ok)throw Error("Error submitting form, please try again. If the problem persists, please contact us directly at support@vercel.com.");await (0,T.dO)(t)},[]),e$=(0,i.useCallback)(async()=>{let e=await fetch("/api/country"),{country:t}=await e.json();return new Intl.DisplayNames(["en"],{type:"region"}).of(t)},[]),eQ=(0,i.useCallback)(async e=>{if(e.preventDefault(),!m){p(!0);try{var t,a,r,i,n;if(!ec())return p(!1);let e=(null==ej?void 0:ej.name)||k()(ep.value),o=(null==ej?void 0:ej.companySize)||ev.value,[l,c]=(0,z.W)(e),d=await e$(),{href:m,utm:h,prevUtm:g}=null!==(a=(0,L.h7)())&&void 0!==a?a:{},{currentUrl:f,prevUrl:v}=(0,L.JX)(),_=(n=eh.value,/^(?:[\s]+)?(?:[\S]+(?:\s+|$)){1,3}$/g.test(n)||/hackathon|sponsor|partnership|student|try it out/gi.test(n)||/give(?:\W+\w+){1,3}\W+(?:money|dollar)/gi.test(n)?{likelySpam:!0,likelySpamReason:"spam"}:/soc2|soc 2|github/gi.test(n)||/edu$/gi.test(eZ.trim())?{likelySpam:!0,likelySpamReason:"support"}:/found/gi.test(n)&&/unauthorized/gi.test(n)&&/platform/gi.test(n)||/compromised/gi.test(n)&&/attack|domain/gi.test(n)||/phishing|pishing/gi.test(n)&&/website|platform|web site/gi.test(n)?{likelySpam:!0,likelySpamReason:"abuse"}:{likelySpam:!1}),y={utm_source:(null==h?void 0:h.utm_source)||eG.utm.utm_source,utm_medium:(null==h?void 0:h.utm_medium)||eG.utm.utm_medium,utm_campaign:(null==h?void 0:h.utm_campaign)||eG.utm.utm_campaign,utm_term:(null==h?void 0:h.utm_term)||eG.utm.utm_term,utm_content:(null==h?void 0:h.utm_content)||eG.utm.utm_content,first_utm_source:(null==g?void 0:g.utm_source)||"",first_utm_medium:(null==g?void 0:g.utm_medium)||"",first_utm_campaign:(null==g?void 0:g.utm_campaign)||"",first_utm_term:(null==g?void 0:g.utm_term)||"",first_utm_content:(null==g?void 0:g.utm_content)||""},x={email:eZ,name:e,phoneNumber:eg.value||(null==ej?void 0:ej.phoneNumber),companySize:o,companyURL:(null==ej?void 0:ej.companyURL)||ef.value,note:k()(eh.value),label:"front",ua:"front ".concat("production"," + ").concat(navigator.userAgent," (").concat(navigator.language||"unknown language",")"),type:"",campaign_id:"string"==typeof $&&$ in Y?Y[$]:s,...eG,..._,utm:y,prevUrl:v||f||"",sessionLandingPage:m,sessionReferrer:null!==(r=(0,I.aj)())&&void 0!==r?r:void 0,contactSalesVariant:u,inProduct:X,offerType:$?Z[$]:"",heapUserId:(0,R.Zb)(),heapIdentity:(0,R.C8)()};if(!eY)try{let{isValid:t}=await (0,O.DT)({email:x.email,firstName:l,lastName:c,name:e});if(!t)return ed("company-email","Form submission failed because the email address you entered is invalid."),b.zS.track(w.q.CONTACT_SALES_INVALID_EMAIL,{email:x.email}),p(!1)}catch(e){}let j=(await Promise.all([eK(x),(0,N.PU)(N.KK.ContactSalesFormFill,{email:x.email,message:x.note,user_id:null==S?void 0:null===(t=S.user)||void 0===t?void 0:t.uid,is_vercelian:F,session_referrer:null!==(i=(0,I.aj)())&&void 0!==i?i:void 0,landing_page:null!=m?m:void 0,page_before_conversion_page:v||eG.referrer||document.referrer,utm:y,likely_spam:_.likelySpam,likely_spam_reason:_.likelySpam?_.likelySpamReason:void 0,contact_sales_variant:u}),eo?eV({Email:eZ,FirstName:l,LastName:c,Country:d,MailingCountry:d}):Promise.resolve(!1)]))[2];eJ(j)}catch(e){p(!1),"object"==typeof e&&null!==e&&"message"in e&&"string"==typeof e.message&&f(e.message),(0,T.hv)(e)&&"bad_email"===e.code&&ed("company-email","Form submission failed because the email address you entered is invalid.")}}},[m,ec,eo,null==ej?void 0:ej.name,null==ej?void 0:ej.phoneNumber,null==ej?void 0:ej.companySize,null==ej?void 0:ej.companyURL,ep.value,eh.value,eZ,eG,eg.value,ev.value,ef.value,s,u,$,X,eY,eK,null==S?void 0:null===(o=S.user)||void 0===o?void 0:o.uid,F,eJ,ed,e$,eV]);return{fields:es,loading:m,validate:ec,hasMarketFit:eo,submitForm:eQ,show:{name:ey,phone:eb,companyWebsite:ew,companySize:ex},isLoggedIn:!!C,emailIsPersonal:eS,shouldShowBooking:ek,apiError:g,isBookedMeeting:eC,profile:eA,prospectInfo:eE,sessionId:eN,setIsBookedMeeting:eL,isLoading:eI,bookingError:eB,currentDate:eT,currentSlot:eD,slots:eR,slotsLoading:eP,availableDates:eO,setCurrentDate:eM,setCurrentSlot:ez,timezone:eU,setTimezone:eF,startFlow:eV,bookMeeting:eW,getBookerProfile:eH,isBooking:eq}}({form:t,onSubmitSuccess:()=>{J(!0)},variant:a,defaultNoteText:d}),{"company-email":eI,"how-can-we-help":eB,name:eT,phone:eD,"company-website":eR,"company-size":eP}=$,eO=eI.value&&["gmail.com","yahoo.com","hotmail.com","outlook.com","icloud.com","aol.com","protonmail.com","zoho.com","yandex.com","gmx.com","mail.com","inbox.com","fastmail.com","tutanota.com","hushmail.com","lavabit.com","runbox.com","disroot.org","countermail.com","keemail.me"].some(e=>eI.value.endsWith(e));return((0,i.useEffect)(()=>{(null==F?void 0:F.get("showThankYou"))&&J(!0)},[F]),es&&ec)?(0,r.jsx)(eG,{profile:ec,prospect:eu,timezone:eS}):er?(0,r.jsx)(ek,{onSubmitSuccess:()=>eh(!0),theme:s,shouldShowBooking:er,isBookedMeeting:es,isBooking:en,profile:ec,prospectInfo:eu,sessionId:em,setIsBookedMeeting:eh,isLoading:ei,bookingError:ef,currentDate:ev,currentSlot:e_,slots:ey,slotsLoading:eb,availableDates:ew,setCurrentDate:ex,setCurrentSlot:ej,timezone:eS,setTimezone:eC,startFlow:eA,bookMeeting:eE,getBookerProfile:eL}):G?(0,r.jsx)(te,{email:eI.value,thankYouContent:S,thankYouHeading:p,thankYouSubheading:g,theme:s}):(0,r.jsxs)("form",{className:eo().form,"data-test-id":(0,Q.g)("contact","sales","form"),onSubmit:e=>{et(e)},children:[eI.enabled?(0,r.jsx)(f.R8,{...eI,children:(0,r.jsx)(ed,{content:X?ep:eg,show:!!(ea||eO),children:(0,r.jsx)(f.bQ,{...eI,autocomplete:"email",focusOnMount:!m,tid:(0,Q.g)("contact","sales","email")})})}):null,(0,r.jsx)(el.O,{show:!!(eT.enabled||eD.enabled),children:(0,r.jsxs)(e6,{children:[eT.enabled?(0,r.jsx)(f.zB,{...eT,flex:1,tid:(0,Q.g)("contact","sales","name")}):null,eD.enabled?(0,r.jsx)(f.zB,{...eD,flex:1,tid:(0,Q.g)("contact","sales","phone")}):null]})}),(0,r.jsx)(el.O,{show:!!(eR.enabled||eP.enabled),children:(0,r.jsxs)(e6,{children:[eR.enabled?(0,r.jsx)(f.zB,{...eR,flex:1,tid:(0,Q.g)("contact","sales","company-website")}):null,eP.enabled?(0,r.jsx)(f.zB,{...eP,flex:1,tid:(0,Q.g)("contact","sales","company-size")}):null]})}),(0,r.jsx)(f.R8,{...eB,flex:1,children:(0,r.jsx)(f.bQ,{className:eo().noteInputWrapper,tid:(0,Q.g)("contact","sales","message"),...eB})}),eN?(0,r.jsx)("div",{children:(0,r.jsx)(o.B,{align:"center",className:eo().error,paddingX:4,paddingY:3,children:(0,r.jsx)(l.E,{as:"p",color:"red-900",variant:"copy-14",children:eN})})}):null,(0,r.jsxs)(o.B,{className:eo().formFooter,gap:6,justify:"space-between",children:[(0,r.jsx)(l.E,{as:"div",className:eo().disclaimer,variant:"copy-13",children:(0,u.i)(t.disclaimer)}),(0,r.jsx)(o.B,{align:{sm:"flex-end",md:"flex-start"},children:(0,r.jsx)(c.Button,{...K[s],className:(0,n.$)(eo().submitButton,C&&eo().pulse),"data-testid":(0,Q.g)("contact","sales","submit"),disabled:!!(eO||ea),loading:ee,shape:"rounded",size:{sm:"medium",lg:"large"},children:t.submitText})})]})]})}function e6(e){let{children:t}=e;return(0,r.jsx)(o.B,{direction:{sm:"column",md:"row"},gap:4,children:t})}function e8(e){let{className:t}=e;return(0,r.jsx)(s.xA,{className:t,columns:{sm:8,md:10,lg:12},height:"preserve-aspect-ratio",rows:1})}function te(e){let{thankYouHeading:t,thankYouSubheading:a,thankYouContent:i,theme:n="blue",email:s}=e;return(0,r.jsxs)(o.B,{className:eo().thankYou,"data-testid":(0,Q.g)("contact","sales","thank-you"),gap:8,style:{...$[n]},children:[(0,r.jsx)(o.B,{children:(0,r.jsxs)(l.E,{className:eo().thankYouTitle,variant:{sm:"heading-32",md:"heading-40"},children:[t," ",(0,r.jsx)(l.E,{as:"span",className:eo().sub,color:"gray-900",variant:{sm:"heading-32",md:"heading-40"},children:a})]})}),(0,r.jsx)(eV,{email:s}),null==i?void 0:i.slice(0,1).map(e=>{var t;return(0,r.jsxs)(o.B,{className:eo().thankYouCard,gap:4,children:[(0,r.jsxs)(l.E,{color:"gray-900",variant:"copy-18",children:[(0,r.jsx)(l.E,{as:"strong",color:"gray-1000",variant:"copy-18",children:e.title})," ",e.description?(0,u.i)(e.description,tt):null]}),(0,r.jsx)(o.B,{direction:"row",gap:4,children:null===(t=e.interactions)||void 0===t?void 0:t.map((e,t)=>(0,r.jsx)(p.v,{...e,size:"medium",trackClickName:"contact_sales_cta",type:0===t?"default":"secondary"},e.text))})]},e.title)})]})}let tt={renderNode:{[d.BLOCKS.PARAGRAPH]:(e,t)=>(0,r.jsx)("span",{children:t})}};function ta(e){let{isCustomerProof:t,logos:a,variant:i}=e;return"v0-enterprise"===i?(0,r.jsxs)("div",{className:"flex flex-col items-center justify-center gap-6 p-12",children:[(0,r.jsxs)(l.E,{color:"gray-900",variant:{sm:"heading-16",md:"heading-20"},children:['"v0 has'," ",(0,r.jsx)(l.E,{as:"span",variant:{sm:"heading-16",md:"heading-20"},children:"increased our developer velocity"})," ","immensely when building out proof of concepts for tools. We're able to go from idea to demo for leadership in days instead of weeks.\""]}),(0,r.jsxs)(l.E,{color:"gray-900",variant:{sm:"heading-16",md:"heading-20"},children:['"v0 is a perfect example of'," ",(0,r.jsx)(l.E,{as:"span",variant:{sm:"heading-16",md:"heading-20"},children:"bridging the gap"})," ",'between AI, design, and software engineering."']})]}):t?(0,r.jsx)(e3,{}):(0,r.jsx)(s.xA.Cell,{className:eo().logoCell,column:1,noPadding:!0,row:{sm:4,lg:"2/4"},solid:!0,children:(0,r.jsxs)("div",{className:eo().logoGrid,children:["security"===i?(0,r.jsx)(er,{}):a.map(e=>{let{logo:t}=e;return(0,r.jsx)(o.B,{align:"center",justify:"center",children:(0,r.jsx)(m.g,{balanced:!0,colored:!0,height:24,name:t})},t)}),(0,r.jsx)(g.MaybeFadingLine,{startFadingAt:360})]})})}},4338:(e,t,a)=>{"use strict";a.d(t,{CompatRouterAllowed:()=>l,Tj:()=>o});var r=a(9479),i=a(72303);let n=(0,i.createContext)(!1);function o(){return(0,i.useContext)(n)}function l(e){let{children:t}=e;return(0,r.jsx)(i.Suspense,{children:(0,r.jsx)(n.Provider,{value:!0,children:t})})}},73098:(e,t,a)=>{"use strict";a.d(t,{r:()=>m});var r=a(60323),i=a(72303),n=a(60210),o=a(4338),l=a(73124);let s={},c="true"===l.env.NEXT_PUBLIC_TESTMODE;function u(e,t,a){let i=null!=t?t:e;if("string"==typeof i)return i;let n=i,{pathname:o,query:l}=n;if(o||(o=a.pathname),o.includes("[")&&("string"==typeof l&&(l=Object.fromEntries(new URLSearchParams(l))),l)){let e={...l};o=o.replace(/\[[^\]]+]/g,t=>{let a=t.slice(1,-1),r=!1;a.startsWith("...")&&(a=a.substring(3),r=!0);let i=e[a];return(delete e[a],null==i)?"":r?Array.isArray(i)?i.join("/"):String(i):String(Array.isArray(i)?i[0]:i)}),n={...n,query:e}}return(0,r.format)({...n,pathname:o})}var d=a(45986);function m(){return(0,d.useRouter)()||function(){if(!(0,o.Tj)()&&c){var e;console.warn("WARNING: Disallowed compat router invocation in the /app folder. It should be either removed or allow-list using CompatRouterAllowed. The invocation stack:",(null!==(e=Error().stack)&&void 0!==e?e:"").split("\n").slice(3).slice(0,10).join("\n"))}let t=(0,n.useRouter)(),a=(0,n.usePathname)(),r=(0,n.useParams)(),l=(0,n.useSearchParams)(),[d,m]=(0,i.useReducer)(e=>e+1,0);return(0,i.useMemo)(()=>(function(e,t,a,r,i,n){var o,l;let c=null!==(o=null==r?void 0:r.toString())&&void 0!==o?o:"";return{isReady:null!==t,pathname:null!==(l=function(e,t){if(null===e)return null;if(""===e||!t)return e;let a=e;for(let[e,r]of Object.entries(t)){let t,i;if("lang"===e||(Array.isArray(r)?(i="...".concat(e),t=r.join("/")):(i=e,t=null!=r?r:""),!t))continue;let n=0;for(;-1!==n;)if(-1!==(n=a.indexOf("/".concat(t),n))){let e=n+t.length+1;if(e>=a.length||"/"===a[e]||"?"===a[e]||"#"===a[e]){a="".concat(a.substring(0,n+1),"[").concat(i,"]").concat(a.substring(e));break}n+=t.length+1}}return a}(t,a))&&void 0!==l?l:"",get asPath(){let e="".concat(null!=t?t:"").concat(c?"?".concat(c):"");return i>0&&(e+=window.location.hash),e},get query(){return function(e,t){let{lang:a,...r}=null!=e?e:s,i=null;if(t)for(let e of(i={},t.keys())){let a=t.getAll(e);1===a.length&&void 0!==a[0]?i[e]=a[0]:a.length>0&&(i[e]=a)}return{...i,...r}}(a,r)},push(t,a,r){let i=u(t,a,this);e.push(i,r)},replace(a,r,i){let o=u(a,r,this),l=new URL(o,window.location.href),s=new URL(this.asPath,window.location.href),c=function(e){let t=e.indexOf("#");return -1!==t?e.substring(t):""}(o),d=window.location.hash!==c;if(l.toString()!==s.toString()){if(l.pathname===t&&((null==i?void 0:i.shallow)||d)){var m;window.history.replaceState(void 0,"",o),n(),d&&(null===(m=null==i?void 0:i.scroll)||void 0===m||m)&&function(e){let t=e.replace("#","");if(""===t||"top"===t){window.scrollTo(0,0);return}let a=decodeURIComponent(t),r=document.getElementById(a);if(r){r.scrollIntoView();return}let i=document.getElementsByName(a)[0];i&&i.scrollIntoView()}(c)}else e.replace(o,i)}},reload(){e.refresh()},back(){e.back()},forward(){e.forward()},prefetch(t,a,r){let i=u(t,a,this);return e.prefetch(i)}}})(t,a,r,l,d,m),[t,a,r,l,d])}()}},7439:(e,t,a)=>{"use strict";a.d(t,{Q:()=>o});var r=a(33877),i=a(27048);async function n(){return(await (0,i.showConsentBanner)()).showBanner?{required:!0,consent:function(e){var t;let a=function(e){if(!e)return null;try{return JSON.parse(e)}catch(e){return null}}(e);return!!(null==a?void 0:null===(t=a.consent)||void 0===t?void 0:t.analytics)}(r.A.get("fides_consent"))}:{required:!1}}async function o(e){let{events:t,exposures:a,user:r}=e,i=await n();return i.required&&!i.consent||(null==t?void 0:t.length)===0&&(null==a?void 0:a.length)===0?Promise.resolve(null):fetch("/api/stream/internal/statsig",{method:"POST",body:JSON.stringify({events:t,exposures:a,user:r,v:2}),keepalive:!0}).then(()=>null).catch(e=>e)}},2992:(e,t,a)=>{"use strict";a.d(t,{L:()=>h});var r=a(9479),i=a(72303),n=a(83844),o=a(94200),l=a(73755),s=a(15439),c=a(32889),u=a(80272),d=a(7915),m=a.n(d);let h=e=>{let{children:t,className:a,type:o,fill:l,label:s,size:c,center:d,variant:h,action:f,style:v,disabled:_,icon:y,...b}=e,w=(0,u.w)(o,l,h);Array.isArray(w)&&w.shift();let x=(0,i.useMemo)(()=>s?4:void 0!==c?g[c]:12,[s,c]),j=(0,i.useCallback)(()=>!1===s?null:s?(0,r.jsxs)("span",{style:{whiteSpace:"nowrap",fontWeight:600},children:[s,":"," "]}):(0,r.jsx)("span",{style:{display:"flex",height:16},children:(0,r.jsx)(p,{icon:y,type:o})}),[s,y,o]);return(0,r.jsxs)("div",{className:(0,n.$)(m().note,a,w,{[String(m().action)]:f,[String(m().small)]:"small"===c,[String(m().large)]:"large"===c,[String(m().center)]:d,[String(m().disabled)]:_},"v3-colors"),...b,"data-geist-note":"","data-version":"v1",style:v,children:[(0,r.jsxs)("div",{className:(0,n.$)(m().content,s?m().hasLabel:""),style:{gap:x},children:[(0,r.jsx)(j,{}),(0,r.jsx)("span",{children:t})]}),f?(0,r.jsx)("div",{children:f}):null]})};function p(e){let{icon:t,type:a}=e;return t||("success"===a?(0,r.jsx)(o.r,{color:"green-900",size:16}):"error"===a?(0,r.jsx)(s.V,{color:"red-900",size:16}):"warning"===a?(0,r.jsx)(c.N,{color:"amber-900",size:16}):(0,r.jsx)(l.$,{color:"currentColor"}))}let g={xSmall:8,small:8,mediumSmall:8,large:12}},89718:(e,t,a)=>{"use strict";a.d(t,{a:()=>r});let r=(0,a(17849).G)('')},94200:(e,t,a)=>{"use strict";a.d(t,{r:()=>r});let r=(0,a(17849).G)('')},70704:(e,t,a)=>{"use strict";a.d(t,{J:()=>r});let r=(0,a(17849).G)('')},92379:(e,t,a)=>{"use strict";a.d(t,{z:()=>r});let r=(0,a(17849).G)('')},73755:(e,t,a)=>{"use strict";a.d(t,{$:()=>r});let r=(0,a(17849).G)('')},32889:(e,t,a)=>{"use strict";a.d(t,{N:()=>r});let r=(0,a(17849).G)('')},75166:(e,t,a)=>{"use strict";a.d(t,{o_:()=>i});var r=a(72303);function i(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,[a,i]=(0,r.useState)(e);return(0,r.useEffect)(()=>{let a=setTimeout(()=>i(e),t);return()=>clearTimeout(a)},[e,t]),a}},13664:(e,t,a)=>{"use strict";a.d(t,{Z:()=>i});var r=a(72303);function i(e){let t=(0,r.useRef)();return(0,r.useEffect)(()=>{t.current=e}),t.current}},35862:(e,t,a)=>{"use strict";a.d(t,{MaybeFadingLine:()=>l});var r=a(9479),i=a(72303),n=a(21085),o=a.n(n);function l(e){let{startFadingAt:t}=e,a=(0,i.useRef)(null),[n,l]=(0,i.useState)(!1);(0,i.useEffect)(()=>{let e=a.current;if(!e)return;let r=new ResizeObserver(e=>{for(let a of e)l(a.target.clientHeight>t)});return r.observe(e),()=>r.disconnect()},[t]);let s="0.2s";return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("div",{className:o().solidLine,ref:a,style:{opacity:n?0:1,transitionDelay:n?s:"0s"}}),(0,r.jsx)("div",{className:o().fadingLine,style:{opacity:n?1:0,transitionDelay:n?"0s":s}})]})}},29255:(e,t,a)=>{"use strict";async function r(e){let{email:t,firstName:a,lastName:r,name:i}=e,n=await fetch("/api/validate-email",{method:"POST",body:JSON.stringify({email:t,firstName:a,lastName:r,name:i})});if(!n.ok||200!==n.status)throw Error("Failed to validate email");let o=await n.json();return{isValid:o.email.valid,data:o}}a.d(t,{DT:()=>r}),a(46364)},19755:(e,t,a)=>{"use strict";a.d(t,{P:()=>p});var r=a(72303),i=a(11963),n=a.n(i),o=a(32868),l=a.n(o),s=a(56029),c=a(1646),u=a(63176),d=a(13664),m=a(29255);let h={name:void 0,phoneNumber:void 0,companyURL:void 0,companySize:void 0,personalEmailUsed:!1};function p(e){let{enabled:t,email:a,user:i,resetFormErrors:o}=e,[p,g]=(0,r.useState)(!1),[f,v]=(0,r.useState)(!1),[_,y]=(0,r.useState)(null),b=(0,d.Z)(a),w=(0,r.useCallback)(e=>{if(e){if(l()(e)){if(e<100)return"1-100";if(e<500)return"100-500";if(e<1e3)return"500-1000";if(e>=1e3)return"1000+"}switch(e){case"1-10":case"11-50":return"1-100";case"51-250":case"251-1K":default:return;case"1K-5K":case"5K-10K":case"50K-100K":case"100K+":return"1000+"}}},[]),x=()=>{y(null),g(!1),v(!1),o()},j=(0,r.useCallback)(async()=>{try{var e,t,r,i,n,o,l,d,p,f;let[h,g]=await Promise.all([(0,m.DT)({email:a}),(0,c.ff)("".concat(u.qQU,"?email=").concat(a))]);if(h.data.email.freeProvider){y({name:void 0,phoneNumber:void 0,companySize:void 0,companyURL:void 0,personalEmailUsed:!0});return}if((0,s.u)(g))throw Error(g.message);y({name:null===(t=g.person)||void 0===t?void 0:null===(e=t.name)||void 0===e?void 0:e.fullName,phoneNumber:(null===(p=g.person)||void 0===p?void 0:p.phone)?"".concat(g.person.phone," (clearbit person)"):(null===(f=g.company)||void 0===f?void 0:f.phone)?"".concat(g.company.phone," (clearbit company)"):void 0,companyURL:null===(r=g.company)||void 0===r?void 0:r.domain,companySize:w(null!==(d=null===(n=g.company)||void 0===n?void 0:null===(i=n.metrics)||void 0===i?void 0:i.employees)&&void 0!==d?d:null===(l=g.company)||void 0===l?void 0:null===(o=l.metrics)||void 0===o?void 0:o.employeesRange),personalEmailUsed:!1})}catch(e){y(h)}finally{v(!0),g(!0)}},[a,w]);(0,r.useEffect)(()=>{if(t){if(!a){x();return}if(!n()(a)){p?x():v(!1);return}p&&a===b||(x(),j().catch(e=>{}))}},[a,j,p,t,i]);let S=!t||p,k=!t||p,C=!t||!!(_&&!_.companyURL),A=!t||!!(_&&!_.companySize),E=!!(null==_?void 0:_.personalEmailUsed);return E?{emailIsPersonal:E,showName:!1,showPhoneNumber:!1,showCompanyURL:!1,showCompanySize:!1,submitEnabled:!1,clearbitData:null}:{showName:S,showPhoneNumber:k,showCompanyURL:C,showCompanySize:A,submitEnabled:f,clearbitData:_,emailIsPersonal:E}}},47323:(e,t,a)=>{"use strict";function r(e){let[t,...a]=e.split(" ");return[t,a.join(" ")]}a.d(t,{W:()=>r})},78404:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});var r=a(72303),i=a(52219);function n(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=()=>{let t={};for(let a in e.fields){let r=e.fields[a];"toggle"===r.fieldType&&(t[a]=r.initialState)}return t},[n,o]=(0,r.useState)(a()),l=()=>{let t={};for(let r in e.fields){let i=e.fields[r];if("input"===i.fieldType){if("values"in i&&!i.placeholder){var a;t[r]=(null===(a=i.values)||void 0===a?void 0:a[0])||""}else t[r]=""}}return t},[s,c]=(0,r.useState)(l()),u=()=>{let t={};for(let a in e.fields)t[a]="";return t},[d,m]=(0,r.useState)(u()),h=(0,r.useCallback)(e=>t=>{m(a=>({...a,[e]:t}))},[]),p=(0,r.useCallback)(t=>e.fields[t].fieldType,[e.fields]),g=(0,r.useCallback)(e=>t=>{"input"===p(e)&&c(a=>({...a,[e]:t}))},[p]),f=(0,r.useCallback)(e=>t=>{"toggle"===p(e)&&o(a=>({...a,[e]:t}))},[p]),v=(0,r.useMemo)(()=>Object.keys(e.fields).reduce((a,r)=>{var o,l;let c=e.fields[r];switch(c.fieldType){case"input":{let e={...c,enabled:!(null===(o=t.disabledFields)||void 0===o?void 0:o.includes(r)),error:d[r],value:s[r],setValue:g(r),onChange:(e,t)=>{g(r)(t||e.target.value)},validate:()=>!1};return e.validate=()=>(0,i.NW)(e,(e,t)=>{h(e)(t)}),a[r]=e,a}case"toggle":{let e={...c,error:d[r],enabled:!(null===(l=t.disabledFields)||void 0===l?void 0:l.includes(r)),checked:n[r],setChecked:f(r),validate:()=>!1};return e.validate=()=>(0,i.NW)(e,(e,t)=>{h(e)(t)}),a[r]=e,a}default:return a}},{}),[e.fields,t.disabledFields,d,s,g,h,n,f]);return{fields:v,validate:function(){return(0,i.M0)(v,(e,t)=>{h(e)(t)})},invalidateField:function(e,t){h(e)(t)},resetErrors:function(){u()},resetInputs:function(){c(l()),o(a())}}}},4199:(e,t,a)=>{"use strict";a.d(t,{FZ:()=>s,Ze:()=>d,k2:()=>o,zB:()=>u});var r=a(72303);let i=new Set(Object.values(function(e){return e.Source="utm_source",e.Medium="utm_medium",e.Campaign="utm_campaign",e.Content="utm_content",e.Term="utm_term",e}({}))),n={utm_source:"",utm_medium:"",utm_campaign:"",utm_content:"",utm_term:""};function o(e){let t=Object.entries(e).filter(e=>{let[t]=e;return"string"==typeof t&&i.has(t)}).reduce((e,t)=>{let[a,r]=t;return e[a]=r,e},{});return{...n,...t}}function l(){let e=c();try{let t=new URL(e).searchParams;return Object.fromEntries(t.entries())}catch(e){return{}}}function s(){let e=l(),[t,a]=(0,r.useState)();return(0,r.useEffect)(()=>{var t,r;if(e.gclid){let r=new Date;r.setDate(r.getDate()+90);let i={value:e.gclid,expiration:r};null===(t=localStorage)||void 0===t||t.setItem("gclid",JSON.stringify(i)),a(e.gclid)}else{let e=null===(r=localStorage)||void 0===r?void 0:r.getItem("gclid");if(e){let t=JSON.parse(e);new Date(t.expiration)>new Date&&a(t.value)}}},[e.gclid]),t}function c(){let[e,t]=(0,r.useState)("");return(0,r.useEffect)(()=>{t("localhost"===window.location.hostname?"https://".concat("vercel.com","/dev-mode").concat(window.location.pathname).concat(window.location.search):window.location.toString())},[]),e}function u(){let e=function(){let e=l();return(0,r.useMemo)(()=>o(e),[e])}(),t=s(),a=c(),i=function(){let[e,t]=(0,r.useState)("undefined"!=typeof document?document.referrer:"");return(0,r.useEffect)(()=>{t(document.referrer)},[]),e}(),{firstReferrer:n}=d(i);return(0,r.useMemo)(()=>({utm:e,gclid:t,url:a,referrer:i,firstReferrer:n}),[e,t,a,i,n])}let d=e=>{var t,a;if("undefined"==typeof localStorage)return{firstReferrer:""};let r=JSON.parse((null===(t=localStorage)||void 0===t?void 0:t.getItem("referrers"))||'{"firstReferrer": ""}');return""!==r.firstReferrer&&r.firstReferrer||(r.firstReferrer=e,null===(a=localStorage)||void 0===a||a.setItem("referrers",JSON.stringify(r))),{firstReferrer:r.firstReferrer}}},2340:(e,t,a)=>{"use strict";a.d(t,{C8:()=>o,Zb:()=>n,oC:()=>i});var r=a(72303);function i(){return{userId:function(){let[e,t]=(0,r.useState)();return(0,r.useEffect)(()=>{t(n())},[]),e}(),identity:function(){let[e,t]=(0,r.useState)();return(0,r.useEffect)(()=>{t(o())},[]),e}()}}function n(){var e;if((null===(e=window)||void 0===e?void 0:e.heap)&&"string"==typeof window.heap.userId)return window.heap.userId}function o(){var e;if((null===(e=window)||void 0===e?void 0:e.heap)&&"string"==typeof window.heap.identity)return window.heap.identity}},15400:(e,t,a)=>{"use strict";a.d(t,{JX:()=>u,SM:()=>c,h7:()=>m,wk:()=>d});var r=a(72303),i=a(81482),n=a.n(i),o=a(60210),l=a(4199);let s="lpid";function c(){(0,r.useEffect)(()=>{m()},[])}let u=()=>{let e=JSON.parse(sessionStorage.getItem("uval")||'{"currentUrl": "", "prevUrl": ""}');return window.location.href!==e.currentUrl&&(e.prevUrl=e.currentUrl,e.currentUrl=window.location.href,sessionStorage.setItem("uval",JSON.stringify(e))),{currentUrl:e.currentUrl||window.location.href,prevUrl:e.prevUrl}};function d(){let e=(0,o.usePathname)();(0,r.useEffect)(()=>{u()},[e])}function m(){let e=sessionStorage.getItem(s);try{var t,a;null===e&&sessionStorage.setItem(s,window.location.href);let r=e||window.location.href,{pathname:i,searchParams:o}=n()(r,{require_protocol:!0})?new URL(r):r.startsWith("/")?new URL(r,window.location.origin):new URL(window.location.href),c=Object.fromEntries(o.entries()),u=(0,l.k2)(c),d=JSON.parse((null===(t=localStorage)||void 0===t?void 0:t.getItem("utmValues"))||'{"currentUtm": {}, "prevUtm": {}}');return(0===Object.keys(d.prevUtm).length||Object.values(d.prevUtm).every(e=>""===e))&&(d.prevUtm=u),d.currentUtm=u,null===(a=localStorage)||void 0===a||a.setItem("utmValues",JSON.stringify(d)),{pathname:i,href:r,queryParams:c,utm:u,prevUtm:d.prevUtm}}catch(e){return console.error(e),null}}},96916:(e,t,a)=>{"use strict";a.d(t,{KK:()=>r,PU:()=>i});var r=function(e){return e.TemplateClonedSimple="vercel_templates.v0.template_cloned_simple",e.VercelActivity="vercel_app.v0.vercel_activity",e.ContactSalesFormFill="vercel_contact_sales.v0.contact_sales_form_fill",e}({});let i=async(e,t)=>fetch("/api/stream/internal",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({topic:e,record:t})}).catch(()=>null)},73981:(e,t,a)=>{"use strict";let r;a.d(t,{aj:()=>p,uB:()=>d});var i=a(80225),n=a(72303),o=a(73098),l=a(60210),s=a(17980),c=a(4199),u=a(96916);function d(){var e,t,a,r,i,c,u,d;let h=(0,n.useRef)({}),p=(0,n.useRef)(!1),{user:g,team:f,isLoading:v,isTeam:_}=(0,s.F)();p.current=null!==(i=null==g?void 0:null===(e=g.email)||void 0===e?void 0:e.endsWith("@zeit.pub"))&&void 0!==i&&i;let y=(0,o.r)(),b=(0,l.useParams)(),w=(0,l.useSearchParams)();return h.current={projectId:null!==(u=null!==(c=null==b?void 0:b.projectId)&&void 0!==c?c:null==w?void 0:w.get("projectId"))&&void 0!==u?u:Array.isArray(d=y.query.project)?d[0]:d,userId:null==g?void 0:g.uid,teamId:_?null==f?void 0:f.id:null,userRole:_?null==f?void 0:null===(t=f.membership)||void 0===t?void 0:t.role:null,billingPlan:_?null==f?void 0:null===(a=f.billing)||void 0===a?void 0:a.plan:null==g?void 0:null===(r=g.billing)||void 0===r?void 0:r.plan,route:y.pathname},{isReady:!v,track:(0,n.useRef)((e,t)=>p.current?Promise.resolve():m(e,{...h.current,...t})).current}}let m=async(e,t)=>{let{projectId:a,deploymentId:n,teamId:o,userRole:l,billingPlan:s,userId:c,route:d,...m}=t;await (0,u.PU)(u.KK.VercelActivity,{session_id:function(){var e;return r||(r=null!==(e=sessionStorage.getItem("sid"))&&void 0!==e?e:void 0)||(r=(0,i.A)(),sessionStorage.setItem("sid",r)),r}(),project_id:a,deployment_id:n,user_id:c,team_id:o,user_role:l,billing_plan:s,origin:window.origin,path:window.location.pathname,referrer:document.referrer||null,vercel_app:"vercel.com",action:e,user_agent:navigator.userAgent,browser_width:"number"==typeof window.innerWidth?Math.round(window.innerWidth):null,browser_height:"number"==typeof window.innerHeight?Math.round(window.innerHeight):null,meta:JSON.stringify(m),session_referrer:p(),route:d})},h="srid";function p(){let e=sessionStorage.getItem(h);return null===e?(sessionStorage.setItem(h,document.referrer||""),document.referrer):e?((0,c.Ze)(e),e):null}},69072:(e,t,a)=>{"use strict";a.d(t,{dO:()=>l,hv:()=>o});var r=a(92370),i=a(56029),n=a(54041);let o=e=>(0,i.u)(e)&&"code"in e;async function l(e){if(e.status>=200&&e.status<300)return e;let{type:t}=(0,n.q)(e.headers.get("Content-Type")||"text/plain");if("application/json"===t){let t=await e.json();if("error"in t&&o(t.error))throw(0,r.cQ)(t.error);if(o(t))throw(0,r.cQ)(t)}if("text/plain"===t){let t=await e.text();throw(0,r.cQ)(t)}throw Error(e.statusText)}},17980:(e,t,a)=>{"use strict";a.d(t,{F:()=>o});var r=a(72303),i=a(98467),n=a(31731);function o(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],{isLoggedOut:t,isNorthstar:a,flags:o,data:l,error:s,mutate:c,isValidating:u,isLoading:d}=(0,n.Jd)(e),{isTeam:m,team:h,teams:p,teamFlags:g,error:f,mutate:v,isValidating:_,isLoading:y}=(0,i.dA)(),b=(null==l?void 0:l.user)||null,w=m?h:!1===m?b:null,x=(0,r.useCallback)(()=>Promise.all([c(),v()]),[c,v]),j=b&&!1===m?b.name||b.username:h?h.name||h.slug:"";return{account:w,isTeam:m,user:b,team:h,teams:p,name:j,flags:m?g:o,error:s||f,mutate:x,isLoggedOut:t,isLoading:(d||y)&&!t&&!w,isValidating:u&&_,isNorthstar:a}}},65449:(e,t,a)=>{"use strict";a.d(t,{r:()=>i});var r=a(17980);function i(){let{teams:e}=(0,r.F)();return!!(null==e?void 0:e.find(e=>"vercel"===e.slug))}},86872:e=>{e.exports={cell:"logos_cell__Ky_Ge",logo:"logos_logo__KFnq_",right:"logos_right__QF3ZR",pill:"logos_pill__i_mkj"}},77963:e=>{e.exports={heading:"customer-proof_heading__jf_ok",bullets:"customer-proof_bullets__sVTsd",bullet:"customer-proof_bullet__Qxano",icon:"customer-proof_icon__dVSB_",stat:"customer-proof_stat__zwGOL",quote:"customer-proof_quote__6VLdj"}},40020:e=>{e.exports={root:"dynamic-callout_root__KrnXm",dynamicRowBottomGap:"dynamic-callout_dynamicRowBottomGap__dXcoQ",dynamicRow:"dynamic-callout_dynamicRow__u_7CC",dynamicCallout:"dynamic-callout_dynamicCallout__f7_lA",border:"dynamic-callout_border__tpo1L",dynamicCalloutShow:"dynamic-callout_dynamicCalloutShow__xEArc",hasChildren:"dynamic-callout_hasChildren____0cN",content:"dynamic-callout_content__KI33Z"}},83562:e=>{e.exports={root:"form_root__WW8nK",logoGrid:"form_logoGrid__P_dc7",solidLine:"form_solidLine__YYsfd",fadingLine:"form_fadingLine__upS5p",logoCell:"form_logoCell__bl36c",formCell:"form_formCell__DQNvk",formFooter:"form_formFooter__We1Bm",form:"form_form__YjjAo",submitButton:"form_submitButton__Occmv",pulse:"form_pulse__2nnCS","pop-button":"form_pop-button__VjYSD","pulse-button":"form_pulse-button__4ekYt",label:"form_label__wcWxs",mobileHeading:"form_mobileHeading__mO9zS",noteFormField:"form_noteFormField__ilrr6",noteInputWrapper:"form_noteInputWrapper__Rymke",disclaimer:"form_disclaimer__UWJSl",helpStack:"form_helpStack__mw8rz",helpCell:"form_helpCell__5nlpR",helpLink:"form_helpLink__7USST",thankYou:"form_thankYou__aaWp_",readTheGuide:"form_readTheGuide__fB_38",thankYouTitle:"form_thankYouTitle__nxHV3",sub:"form_sub__bDzmH",thankYouCard:"form_thankYouCard__GXkfZ",overflowHidden:"form_overflowHidden__3dMIV",checkMark:"form_checkMark__CrQo8",checkWrapper:"form_checkWrapper__1e74P","pulse-animation":"form_pulse-animation__FLt_q",error:"form_error__TMfqf",fadeIn:"form_fadeIn__beNQw"}},92638:e=>{e.exports={fadeIn:"confirmation_fadeIn__l1WNT",bookingInfo:"confirmation_bookingInfo__i9eIk",guestList:"confirmation_guestList__zq23a",infoField:"confirmation_infoField__5mCNe",label:"confirmation_label__3O4nB",addCalendarButton:"confirmation_addCalendarButton__PTu3V"}},86051:e=>{e.exports={fadeIn:"with-chilipiper_fadeIn__2xqR7",checkMark:"with-chilipiper_checkMark__Y7Ihi",checkWrapper:"with-chilipiper_checkWrapper__FIx34","pulse-animation":"with-chilipiper_pulse-animation__U4cSl",datePicker:"with-chilipiper_datePicker___wC9Y",arrowBtn:"with-chilipiper_arrowBtn__PVrTf",arrowLeft:"with-chilipiper_arrowLeft__1hjOU",arrowRight:"with-chilipiper_arrowRight__6eK_F",dateWrapper:"with-chilipiper_dateWrapper__Eo_0C",picker:"with-chilipiper_picker__xObcU",focusBox:"with-chilipiper_focusBox__fvCyI",dateList:"with-chilipiper_dateList__go8bq",date:"with-chilipiper_date__iMNgs",disabled:"with-chilipiper_disabled__fDnD5",day:"with-chilipiper_day__ThTzU",muted:"with-chilipiper_muted__OW2jr",selected:"with-chilipiper_selected__KZdC0",slot:"with-chilipiper_slot__VPg_u",skeleton:"with-chilipiper_skeleton__2iBdk",short:"with-chilipiper_short__K20_D",long:"with-chilipiper_long__4WZEH",timezoneHeading:"with-chilipiper_timezoneHeading__Lt_k1",timezoneSelect:"with-chilipiper_timezoneSelect__S9syw",slotsResizer:"with-chilipiper_slotsResizer__I1mbk",slots:"with-chilipiper_slots__w80J_",expanded:"with-chilipiper_expanded__rBNHY",time:"with-chilipiper_time__Tcfxe",emptyLabel:"with-chilipiper_emptyLabel__XdJ8j",bookBtn:"with-chilipiper_bookBtn__kZToP"}},7915:e=>{e.exports={note:"note_note__W1ddN",action:"note_action__r519Q",disabled:"note_disabled__wBec5",small:"note_small__G_WR1",large:"note_large__ct9MW",center:"note_center__d8u3F",content:"note_content__kXdj4",hasLabel:"note_hasLabel__i8hlC"}},21085:e=>{e.exports={solidLine:"fading-line_solidLine__guS_c",fadingLine:"fading-line_fadingLine__Aqi5W"}}}]); //# debugId=a18f3193-3610-565c-92bc-673e01556afe