1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2785],{1707:(e,t,s)=>{"use strict";s.d(t,{A:()=>n});let n={src:"https://static2.paymonade.tech/static/prod/paymonade-channel-ui/_next/static/media/IllustrationInformationLight.a8738af8.svg",height:64,width:64,blurWidth:0,blurHeight:0}},8053:(e,t,s)=>{"use strict";s.d(t,{Ay:()=>l,UB:()=>a,dU:()=>i,uB:()=>r});var n=s(37876);s(14232);let l=e=>{let{children:t,className:s,outChildren:l}=e;return l?(0,n.jsxs)("div",{className:"overflow-auto flex items-center w-full flex-col h-full",children:[(0,n.jsx)("div",{className:"w-full sm:w-[592px]",children:l}),(0,n.jsx)("div",{id:"ShadowContainer",className:"\n overflow-auto grow bg-bg1\n relative flex flex-col h-full sm:h-[calc(100%-40px)]\n px-5 max-h-[860px] border-line\n sm:rounded-[20px] my-0 sm:mt-4 sm:mb-10\n sm:border sm:px-0\n w-full sm:w-[592px] mx-auto text-primary-text !text-sm\n ".concat(s,"\n "),children:t})]}):(0,n.jsx)("div",{id:"ShadowContainer",className:"\n overflow-auto grow\n relative flex flex-col h-full sm:h-[calc(100%-40px)]\n px-5 max-h-[860px] border-line\n sm:rounded-[20px] my-0 sm:mt-4 sm:mb-10\n sm:border sm:px-0\n w-full sm:w-[592px] mx-auto text-primary-text !text-sm\n ".concat(s,"\n "),children:t})},a=e=>{let{children:t,className:s}=e;return(0,n.jsx)("div",{id:"ContainerWithoutShadow",className:"\n relative w-full mx-auto text-primary-text !text-sm my-0 h-full\n sm:my-5 sm:w-[486px]\n ".concat(s,"\n "),children:t})},i=e=>{let{children:t,className:s,outChildren:l}=e;return l?(0,n.jsxs)("div",{className:"relative m-auto sm:w-[592px] sm:h-[680px] ",children:[(0,n.jsx)("div",{className:" sm:w-[592px]",children:l}),(0,n.jsx)("div",{id:"FixedHeightContainer",className:"\n border rounded-[20px] border-transparent text-primary-text h-screen mt-8\n sm:w-[592px] sm:h-[680px] sm:border-line\n ".concat(s,"\n "),children:t})]}):(0,n.jsx)("div",{className:"relative m-auto sm:w-[592px] sm:h-[680px] ",children:(0,n.jsx)("div",{id:"FixedHeightContainer",className:"\n border rounded-[20px] border-transparent text-primary-text h-screen mt-8\n sm:w-[592px] sm:h-[680px] sm:border-line\n ".concat(s,"\n "),children:t})})},r=e=>{let{children:t,className:s}=e;return(0,n.jsx)("div",{className:"\n w-full sm:w-[486px] mx-auto relative\n flex flex-col flex-1 px-4 sm:px-0\n ".concat(s||"","\n "),children:t})}},26020:(e,t,s)=>{"use strict";s.d(t,{A:()=>n});let n={src:"https://static2.paymonade.tech/static/prod/paymonade-channel-ui/_next/static/media/paymonade-v2-logo.b619d27e.svg",height:32,width:189,blurWidth:0,blurHeight:0}},31628:(e,t,s)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/[lng]/join-mailing-list",function(){return s(42586)}])},42586:(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>N});var n=s(37876),l=s(14232),a=s(89099),i=s(91408),r=s(34846),c=s(54587),d=s.n(c),m=s(84952),o=s(79829);let x={src:"https://static2.paymonade.tech/static/prod/paymonade-channel-ui/_next/static/media/joinEmail.578c2edf.svg",height:88,width:89,blurWidth:0,blurHeight:0};var h=s(26020),u=s(86299),p=s(8053),f=s(56820),v=s(59582),w=s(31991),b=s(99190),j=s(1707),g=s(82565);let y=/^[^\s@]+@[^\s@]+\.[^\s@]+$/,N=function(){let{t:e}=(0,r.Bd)();(0,a.useRouter)();let[t,s]=(0,l.useState)(""),[c,N]=(0,l.useState)(void 0),{setIsUk:_}=(0,u.A)();(0,l.useEffect)(()=>{_(!0)},[_]);let A=(0,l.useCallback)(async s=>{if(s.preventDefault(),!c){if(!y.test(t)){N(e("InvalidEmailAddress"));return}(0,o.L4)({email:t}).then(t=>{let{destory:s}=(0,v.A)({children:(0,n.jsx)(w.A,{imageSrc:j.A,content:(0,n.jsx)("div",{className:"text-center",children:e("EmailSubmittedDesc")}),Footer:()=>(0,n.jsx)(b.wi,{mode:b.z7.OK,destory:s,onClick:()=>{s(),window.location.href="https://paymonade.tech/en"}})})})}).catch(()=>{g.A.info({options:{position:g.y.top,Icon:null},text:e("FailedToDelAccount")})})}},[t,c,e]);return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{className:"flex justify-center",children:(0,n.jsx)(d(),{className:"my-4",src:h.A,alt:"logo"})}),(0,n.jsx)(p.Ay,{children:(0,n.jsxs)("form",{className:"mx-auto
1sm:p-6 bg-bg1 rounded-2xl",onSubmit:A,onKeyDown:e=>{"Enter"===e.key&&e.preventDefault()},children:[(0,n.jsx)("div",{className:"flex justify-center mb-6 mt-26",children:(0,n.jsx)(d(),{src:x,alt:"joinEmail"})}),(0,n.jsx)("h2",{className:"text-center text-xl font-semibold mb-2",children:e("JoinOurMailingList")}),(0,n.jsx)("p",{className:"text-center text-primary-text text-base mb-6",children:e("JoinMailingListDesc")}),(0,n.jsx)(f.A,{label:(0,n.jsxs)("div",{className:"flex items-center gap-1",children:[(0,n.jsx)("div",{children:e("Email")}),(0,n.jsx)("div",{className:"text-red-500",children:"*"})]}),value:t,placeholder:e("PleaseInput"),onChange:e=>{s(e.currentTarget.value.trim()),N(void 0)},rules:(0,i.Yj)().required(e("FieldIsRequired")),error:c}),(0,n.jsx)("div",{className:"mt-6",children:(0,n.jsx)(m.A,{type:"submit",disabled:!t||!!c,className:"w-full",showContinue:!0,showContinueBtnText:e("Continue")})})]})})]})}}},e=>{var t=t=>e(e.s=t);e.O(0,[636,6593,8792],()=>t(31628)),_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.