1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1495],{6074:(e,s,t)=>{"use strict";t.r(s),t.d(s,{__N_SSG:()=>m,default:()=>h});var l=t(37876),o=t(14232),n=t(11913),r=t(25992),a=t(53009),i=t(78712),c=t(56600),d=t(93440),u=t(85664),m=!0;let h=()=>{let{t:e}=(0,n.Bd)("common"),s=(0,c.FO)(),[t,m]=(0,o.useState)(""),[h,p]=(0,o.useState)(""),[g,v]=(0,o.useState)(!1),x=(0,u.lZ)(d.Ks),f=async e=>{e.preventDefault();try{s({callback:e=>{var s,t;console.log("res from delete api",e),(null==e?void 0:e.status)===200?x({showModal:!0,success:!0,modalBody:null!=(s=null==e?void 0:e.message)?s:"Request submitted"}):x({showModal:!0,success:!1,modalBody:null!=(t=null==e?void 0:e.message)?t:"Some issue occured"})},data:{phone_number:t}})}catch(e){console.error("Error:",e)}};return(0,l.jsx)(a.A,{t:e,navbarType:2,children:(0,l.jsx)(i.A,{children:(0,l.jsx)("div",{style:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},children:(0,l.jsxs)("div",{style:{minHeight:300,marginTop:100,maxWidth:"40vw",marginBottom:100},children:[(0,l.jsx)("div",{className:"text-center",style:{marginBottom:20},children:(0,l.jsx)("img",{style:{width:200},src:"images/svgs/kupos-logo2.svg",alt:"delete-account"})}),(0,l.jsx)("div",{style:{marginBottom:40,lineHeight:1.6},className:"font12 text-center description",children:"Por favor ingresa tu n\xfamero de tel\xe9fono registrado en kupos.cl, eliminaremos tu cuenta dentro de los 30 d\xedas posteriores a la recepci\xf3n de la solicitud."}),(0,l.jsxs)("form",{onSubmit:f,style:{flex:1,width:"100%"},children:[(0,l.jsx)(r.A,{className:"kupos-border",type:"text",placeholder:"Tel\xe9fono",onChange:e=>{var s;m(e?null==e||null==(s=e.trim())?void 0:s.slice(0,9):""),p(null)},onBlur:e=>e<9?p("Ingresa tu n\xfamero de tel\xe9fono"):{},value:t,error:!!h,errorMessage:h||null,t:e}),(0,l.jsx)("div",{style:{marginTop:30},children:(0,l.jsx)("button",{className:"kupos-button home-selection-input-button ",onClick:f,children:g?(0,l.jsx)("div",{className:"loader-cricle"}):(0,l.jsx)("span",{children:e("CONTINUAR")})})})]})]})})})})}},25537:(e,s,t)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/delete-account",function(){return t(6074)}])}},e=>{e.O(0,[6593,3822,3899,636,8792],()=>e(e.s=25537)),_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.