1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1533],{45679:function(e,t,s){(window.__NEXT_P=window.__NEXT_P||[]).push(["/newsletter",function(){return s(71783)}])},71783:function(e,t,s){"use strict";s.r(t),s.d(t,{__N_SSP:function(){return u},default:function(){return newsletter}});var n=s(85893),a=s(79164),l=s(67294),i=s(25675),r=s.n(i),o={src:"/_next/static/media/bgPage.0eb39ff9.svg",height:600,width:1380,blurWidth:0,blurHeight:0},c={src:"/_next/static/media/success.04b86180.svg",height:253,width:242,blurWidth:0,blurHeight:0},d=s(32125);let NewsletterPage=()=>{let[e,t]=(0,l.useState)(""),[s,a]=(0,l.useState)(!1);return(0,n.jsxs)("div",{className:"relative overflow-hidden bg-[linear-gradient(100.8deg,_#021889_0%,_#0654C6_99.24%)] py-20",children:[(0,n.jsx)(r(),{quality:100,src:o,className:"absolute bottom-0 right-0",alt:"bg"}),(0,n.jsxs)("div",{className:"container pb-4 sm:pb-8 md:pb-16",children:[!s&&(0,n.jsxs)("div",{className:"relative overflow-hidden rounded-lg py-16",children:[(0,n.jsxs)("h1",{className:"mb-6 font-display text-3xl font-semibold text-white md:text-5xl lg:mb-12 lg:text-7xl",children:[(0,n.jsx)("span",{className:"text-green-secondary",children:"Stay updated."})," The monthly newsletter by Chatfuel"]}),(0,n.jsx)("p",{className:"mb-6 max-w-[750px] font-body text-white md:text-lg",children:"Be the first to receive product updates, new articles, industry insights, and tips from Chatfuel experts for your business growth. Subscribe now."}),(0,n.jsxs)("form",{className:"relative flex max-w-[750px] flex-col gap-2 md:flex-row",onSubmit:t=>{fetch("/api/addEmail",{method:"POST",body:e}),(0,d.q)({category:"landing-page-button-click",action:"newsletter-subscribe-click"}),a(!0),t.preventDefault(),t.stopPropagation()},children:[(0,n.jsx)("input",{className:"grow rounded-md p-4",placeholder:"E-mail",value:e,onChange:e=>t(e.target.value),required:!0,type:"email"}),(0,n.jsx)("button",{type:"submit",className:"inline-block h-14 rounded bg-green-normal px-5 text-[16px] text-lg font-semibold text-white antialiased hover:opacity-80",children:"Subscribe"})]})]}),s&&(0,n.jsxs)("div",{className:"relative flex flex-col items-center gap-8 overflow-hidden px-8 py-16 md:flex-row md:gap-4",children:[(0,n.jsx)(r(),{quality:100,className:"w-[120px] md:w-[240px]",src:c,width:240,alt:"bg-success"}),(0,n.jsxs)("div",{className:"mb-4 whitespace-pre-line font-body text-3xl font-semibold text-white md:text-4xl lg:text-5xl",children:[(0,n.jsx)("span",{className:"text-green-secondary",children:"Thanks for your subscription."}),(0,n.jsx)("br",{}),"The Chatfuel newsletter is on the way to inbox."]})]})]})]})};var u=!0,newsletter=()=>(0,n.jsx)(a.Z,{title:"Newsletter | Chatfuel",minScreen:!1,description:"Get the latest news on marketing automation, Facebook Messenger bots, new functions of Chatfuel, and conversational commerce.",isLocaleCanonical:!1,locale:"en",children:(0,n.jsx)(NewsletterPage,{})})}},function(e){e.O(0,[9877,233,9164,9774,2888,179],function(){return e(e.s=45679)}),_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.