PageSourceSearch

https://www.cidadeoferta.com.br/_next/static/chunks/pages/atualizar-dados-320978c2d75d149c3d44.js

js cidadeoferta.com.br collected 2026-10-08 13:33:11 UTC 4,572 bytes, 1 lines download raw bytes

1_N_E=(window.webpackJsonp_N_E=window.webpackJsonp_N_E||[]).push([[34],{"/GRZ":function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},"7eYB":function(e,t){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}},A1Gy:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/atualizar-dados",function(){return n("mKxA")}])},"C+bE":function(e,t){function n(t){return"function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?e.exports=n=function(e){return typeof e}:e.exports=n=function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(t)}e.exports=n},KckH:function(e,t,n){var r=n("7eYB");e.exports=function(e,t){if(e){if("string"===typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}}},i2R6:function(e,t){function n(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}e.exports=function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}},mKxA:function(e,t,n){"use strict";n.r(t),n.d(t,"__N_SSP",(function(){return f}));var r=n("nKUr"),o=n("MX0m"),a=n.n(o),s=n("g4pe"),c=n.n(s),i=n("Dp36"),l=n("KYPV"),u=n("UGp+"),d=n("Nhdc"),m=n("0lfv"),b=n("q1tI");var f=!0;t.default=function(e){var t=e.user,n=Object(b.useState)(""),o=n[0],s=n[1],f=Object(b.useState)(""),p=f[0],j=f[1],x=Object(b.useState)(!1),h=x[0],g=x[1],y=Object(l.a)({initialValues:{document_number:t&&t.document_number?t.document_number:""},validateOnChange:!1,validationSchema:u.c().shape({document_number:u.e().required("Este campo \xe9 obrigat\xf3rio.").matches(/^(\d{3}).(\d{3}).(\d{3})-(\d{2})/g,"Por favor, informe um CPF v\xe1lido.")}),onSubmit:function(e){h||(g(!0),i.a.patch("users",e).then((function(e){j("Atualiza\xe7\xe3o realizada com sucesso."),s(""),g(!1),setTimeout((function(){location.href="/pagamento"}),1e3)})).catch((function(e){var t=e.response.data.message;g(!1),s(t),j("")})))}});return Object(r.jsxs)(r.Fragment,{children:[Object(r.jsx)(c.a,{children:Object(r.jsx)("title",{className:"jsx-3602811139",children:"Cidade Oferta | Atualiza\xe7\xe3o de dados"})}),Object(r.jsx)(a.a,{id:"3602811139",children:["@media (min-width:992px){.border-lg-1{border:1px solid #dee2e6 !important;}}"]}),Object(r.jsx)("div",{className:"jsx-3602811139 container pb-3 py-lg-4",children:Object(r.jsxs)("form",{onSubmit:y.handleSubmit,className:"jsx-3602811139",children:[Object(r.jsxs)("div",{className:"jsx-3602811139 p-lg-4 pb-lg-3 h-100 border-lg-1 rounded-3",children:[Object(r.jsx)("div",{style:{marginRight:"-.75em",marginLeft:"-.75em"},className:"jsx-3602811139 position-relative d-lg-none mb-3 py-2 text-center border-bottom",children:Object(r.jsx)("span",{className:"jsx-3602811139 my-1 d-block",children:"Atualiza\xe7\xe3o de dados"})}),Object(r.jsx)("p",{style:{fontSize:20,fontWeight:600},className:"jsx-3602811139 d-none d-lg-block mb-1",children:"Atualiza\xe7\xe3o de dados"}),Object(r.jsx)("p",{style:{fontSize:16,fontWeight:300,color:"#606060"},className:"jsx-3602811139 d-none d-lg-block mb-4",children:"Por favor, complete os campos abaixo para prosseguir com sua compra."}),p&&Object(r.jsx)("div",{role:"alert",style:{fontSize:14},className:"jsx-3602811139 alert alert-success alert-dismissible fade show lh-1",children:p}),o&&Object(r.jsx)("div",{role:"alert",style:{fontSize:14},className:"jsx-3602811139 alert alert-danger alert-dismissible fade show lh-1",children:o}),Object(r.jsx)("div",{className:"jsx-3602811139 row mb-3",children:Object(r.jsx)("div",{className:"jsx-3602811139 col-lg-6 col-12",children:Object(r.jsx)(d.k,{id:"documentNumberInput",label:"CPF",type:"tel",placeholder:" ",onChange:function(e){return y.setFieldValue("document_number",Object(m.k)(e.target.value))},value:y.values.document_number,error:!!y.errors.document_number,errorMessage:y.errors.document_number})})})]}),Object(r.jsx)("div",{className:"jsx-3602811139 d-flex flex-column align-items-lg-end mt-lg-3",children:Object(r.jsx)(d.b,{type:"submit",className:"btn-primary",style:{minWidth:250},loading:h,children:"Salvar Altera\xe7\xf5es"})})]})})]})}}
1,qhzo:function(e,t){function n(t,r){return e.exports=n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},n(t,r)}e.exports=n}},[["A1Gy",0,1,2,3,4,5,6,7,10]]]);

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.