PageSourceSearch

https://app.imotools.com.br/build/assets/Register-DVrRJ5Ct.js

js imotools.com.br collected 2026-09-24 13:38:36 UTC 39,790 bytes, 7 lines download raw bytes

1import{b as Ve,x as re,u as Pe,r as l,d as Me,j as e,O as ze,q as oe,P as le,Q as pe,U as Le,V as Te,W as Oe,X as qe,Y as q,Z as Ie,B as xe,F as $e,H as Ue}from"./app-Dph3DIrv.js";import{i as Be}from"./isEmail-C_GCX0Wf.js";import{D as P}from"./DocumentValidator-Bn6uKeeI.js";import{P as ae}from"./Phone-DbKFFYtc.js";import{w as Je,r as He}from"./marketingParams-BfcEhzbF.js";import{T}from"./TextInput-Bw6LX8jg.js";import{q as ie}from"./quantityEstateEnum-D8fKHgQv.js";import{S as Qe}from"./SelectFromEnum-DXAEoruz.js";import{E as de}from"./eye-off-CzOuVCsd.js";import{E as we}from"./eye-_4lkuAYB.js";import{R as We}from"./refresh-cw-DGqg7dip.js";import{L as Ze}from"./Layout-BSjRDJUF.js";/* empty css              *//* empty css            */import"./index-D3sSN-4h.js";import"./cpf-cnpj-validator.es-D6OjZEHk.js";import"./form-fixes-CvMc54T3.js";/* empty css                        */class Ge extends Ve{getRoute(t,s){const r=re(t[s]);if(!r)throw new Error(`Rota register.${String(s)} não configurada`);return r}async store(t,s){const r=this.getRoute(s,"store");return this.post(r,t)}async verifyEmail(t,s){const r=this.getRoute(s,"verifyEmail");return this.post(r,{email:t})}async verifyDocument(t,s){const r=this.getRoute(s,"verifyDocument");return this.post(r,{document:t})}async sendVerificationCode(t,s){const r=this.getRoute(s,"sendVerificationCode");return this.post(r,{email:t})}async validateVerificationCode(t,s,r){const i=this.getRoute(r,"validateVerificationCode");return this.post(i,{email:t,code:s})}async sendMoskitLead(t,s){const r=this.getRoute(s,"moskitLead");return this.post(r,t)}async validatePrefill(t,s){const r=this.getRoute(s,"prefillValidate");return this.post(r,t)}}const J=new Ge("");class Ke{repository=J;async sendCode(t,s){if(!t)return{success:!1,error:"E-mail é obrigatório"};try{const r=await this.repository.sendVerificationCode(t,s);return r.type?{success:!0,data:{email:r.data.email,expiresInMinutes:r.data.expires_in_minutes},message:r.message}:{success:!1,error:r.message}}catch(r){return{success:!1,error:r instanceof Error?r.message:"Erro ao enviar código"}}}async validateCode(t,s,r){if(!t||!s)return{success:!1,error:"E-mail e código são obrigatórios"};if(s.length!==6)return{success:!1,error:"Código deve ter 6 caracteres"};try{const i=await this.repository.validateVerificationCode(t,s,r);return i.type?{success:!0,data:{email:i.data.email,emailVerifiedToken:i.data.email_verified_token,expiresInMinutes:i.data.expires_in_minutes},message:i.message}:{success:!1,error:i.message}}catch(i){return{success:!1,error:i instanceof Error?i.message:"Erro ao validar código"}}}}const ee=new Ke;class Xe{repository=J;buildPayload(t){const s={...t.utmParameters??{}};if(!s.url_de_conversao&&typeof window<"u"){const r=new URL(window.location.href);s.gclid&&!r.searchParams.has("gclid")&&r.searchParams.set("gclid",s.gclid),s.fbclid&&!r.searchParams.has("fbclid")&&r.searchParams.set("fbclid",s.fbclid),s.url_de_conversao=r.toString()}if(!s.url_de_referencia&&typeof document<"u"){const r=document.referrer;r&&(s.url_de_referencia=r,s.http_referer=r)}return{name:t.name,email:t.email,phone:t.phone,quantity_estate:t.quantityEstate,document:t.document,utm_parameters:JSON.stringify(s)}}send(t,s){const r=this.buildPayload(t);
1this.repository.sendMoskitLead(r,s).catch(i=>{})}async sendWithResult(t,s){const r=this.buildPayload(t);try{const i=await this.repository.sendMoskitLead(r,s);return i.type?{success:!0,data:void 0}:{success:!1,error:i.message}}catch(i){return{success:!1,error:i instanceof Error?i.message:"Erro ao enviar lead"}}}}const Ye=new Xe;class et{repository=J;preparePayload(t){const s={...t};return s.razao_social&&(s.realEstateName=s.razao_social,delete s.razao_social),s}async store(t,s,r={}){if(!t.name||!t.email||!t.phone||!t.document||!t.password)return{success:!1,error:"Preencha todos os campos obrigatórios"};if(!t.email_verified_token)return{success:!1,error:"Token de verificação de e-mail é obrigatório"};try{const u={...this.preparePayload(t),...r},c=await this.repository.store(u,s);if(c.type===!0&&c.data)return{success:!0,data:{token:c.data.token,user:c.data.user,redirectUrl:c.data.redirect_url??"/"},message:c.message??"Cadastro realizado com sucesso"};const n=c;return n.errors||n.data?.errors?{success:!1,error:n.message??"Erro de validação",errors:n.errors||n.data?.errors}:{success:!1,error:n.message??"Erro ao processar cadastro"}}catch(i){let u="Ocorreu um erro ao processar seu cadastro. Por favor, tente novamente.",c;if(i instanceof Error)try{const n=JSON.parse(i.message);n&&typeof n=="object"&&("message"in n&&(u=String(n.message)),"errors"in n&&typeof n.errors=="object"&&(c=n.errors))}catch{u=i.message}else if(typeof i=="string")try{const n=JSON.parse(i);n&&typeof n=="object"&&"message"in n&&(u=String(n.message))}catch{u=i}return{success:!1,error:u,errors:c}}}}const tt=new et;var p=(a=>(a.Available="available",a.Unavailable="unavailable",a.Invalid="invalid",a.Indeterminate="indeterminate",a))(p||{});class st{repository=J;messageError="Este e-mail já está em uso.";indeterminateMessage="Não foi possível validar o e-mail agora. Tente novamente.";async checkEmailAvailability(t,s){if(!t)return{isAvailable:!0,status:p.Available};try{const r=await this.repository.verifyEmail(t,s);return this.parseResponse(r)}catch{return{isAvailable:!0,status:p.Indeterminate,errorMessage:this.indeterminateMessage}}}parseResponse(t){const s=t.status??this.inferStatus(t);return s===p.Unavailable?{isAvailable:!1,status:s,errorMessage:t.message||this.messageError}:s===p.Indeterminate?{isAvailable:t.available!==!1,status:s,errorMessage:t.message||this.indeterminateMessage}:{isAvailable:!0,status:p.Available}}inferStatus(t){return t.available===!0?p.Available:p.Unavailable}async isEmailAvailable(t,s){return(await this.checkEmailAvailability(t,s)).isAvailable}async validate(t,s){const r=await this.checkEmailAvailability(t,s);return r.isAvailable?!0:r.errorMessage||this.messageError}}const te=new st;class rt{messageError="O campo email deve ser um endereço de e-mail válido.";inUseError="Este e-mail já está em uso.";isValid(t){return!t||t.trim()===""?!1:Be(t)}isEmptyOrValid(t){return!t||t.trim()===""?!0:this.isValid(t)}validateLocal(t){return!t||t.trim()===""?"E-mail é obrigatório":this.isValid(t)?!0:this.messageError}async validate(t,s){const r=this.validateLocal(t);return r!==!0?r:await te.validate(t,s)}async isAvailable(t,s){return te.isEmailAvailable(t,s)}get remoteValidator(){return te}}const I=new rt;class at{repository=J;messageError="Este documento já está sendo utilizado por outra conta.";indeterminateMessage="Não foi possível validar o documento agora. Tente novamente.";sanitize(t){return t.replace(/\D/g,"")}async checkDocumentExists(t,s){if(!t)return{isAvailable:!0,status:p.Available};const r=this.sanitize(t);if(r.length!==11&&r.length!==14)return{isAvailable:!0,status:p.Available};try{const i=await this.repository.verifyDocument(r,s);return this.parseResponse(i)}catch{return{isAvailable:!0,status:p.Indeterminate,errorMessage:this.indeterminateMessage}}}parseResponse(t){const s=t.status??this.inferStatus(t);return s===p.Unavailable?{isAvailable:!1,status:s,errorMessage:t.message||this.messageError,ownerName:t.name}:s===p.Indeterminate?{isAvailable:t.available!==!1,status:s,errorMessage:t.message||this.indeterminateMessage}:{isAvailable:!0,status:p.Available}}inferStatus(t){return t.available===!0?p.Available:p.Unavailable}async validate(t,s){const r=await this.checkDocumentExists(t,s);return r.isAvailable?!0:r.errorMessage||this.messageError}}const se=new at;class it{messageError="O campo documento não é um CPF ou CNPJ válido.";cpfError="O campo documento não é um CPF válido.";cnpjError="O campo documento não é um CNPJ válido.";
1inUseError="Este documento já está sendo utilizado por outra conta.";sanitize(t){return P.sanitize(t)}isValid(t){return P.isValid(t)}isCnpj(t){return P.isCnpj(t)}isCpf(t){return P.isCpf(t)}validateLocal(t){return P.validate(t)}async validate(t,s){const r=this.validateLocal(t);return r!==!0?r:await se.validate(t,s)}async checkAvailability(t,s){return se.checkDocumentExists(t,s)}async isAvailable(t,s){return(await this.checkAvailability(t,s)).isAvailable}mask(t=""){return P.mask(t)}format(t){return P.format(t)}get baseValidator(){return P}get remoteValidator(){return se}}const M=new it,nt=["name","email","phone","quantity_estate"],ot="conversion_dispatched:";function lt(a){return nt.some(t=>!!a?.[t]?.trim())}function ct(a){let t=2166136261;for(let s=0;s<a.length;s++)t^=a.charCodeAt(s),t=Math.imul(t,16777619);return(t>>>0).toString(36)}function ge(a){return`${ot}${ct(a.trim().toLowerCase())}`}function dt(a){try{return typeof window>"u"?!1:window.sessionStorage.getItem(ge(a))!==null}catch{return!1}}function wt({cameFromPrefill:a,email:t}){return a?!1:!dt(t)}function ue(a){if(a.trim())try{typeof window<"u"&&window.sessionStorage.setItem(ge(a),"1")}catch{}}const be=[];let me=!1;const ut=a=>{me||(me=!0,Object.defineProperty(a,"push",{configurable:!0,get:()=>Array.prototype.push,set(t){Object.defineProperty(a,"push",{configurable:!0,writable:!0,value:t}),be.splice(0).forEach(s=>t.call(a,s))}}))},$=(a,t={})=>{try{if(typeof window>"u")return;if(window.dataLayer??=[],window.google_tag_manager){window.dataLayer.push({event:a,...t});return}be.push({event:a,...t}),ut(window.dataLayer)}catch{}},mt=a=>a?a.replace(/\D/g,"").length>11:!1,fe=["name","email","phone","quantity_estate"],ft=["document","password","password_confirmation"];function ht(a){const{frontendPackageRoutes:t}=Pe().props,s=l.useMemo(()=>t?.register??{},[t]),r=t?.auth??{},i=re(r.login)??re(s.login),u=i&&Je(i),c=()=>{if(a?.startAtStep)return a.startAtStep;if(typeof window<"u"){const o=new URLSearchParams(window.location.search).get("step");if(o){const w=parseInt(o,10);return isNaN(w)?1:w}}return 1},[n,E]=l.useState(c),[x,v]=l.useState(!1),[g,y]=l.useState(!1),[b,C]=l.useState(null),[D,_]=l.useState(!1),m=l.useCallback(o=>{if(E(o),typeof window<"u"){const w=new URL(window.location.href);let f=String(o);o>1&&(f=`${o}-sucesso`),w.searchParams.set("step",f),window.history.pushState({},"",w.toString()),$("register_step_reached",{registration_step:o,step_name:o===1?"dados_pessoais":o===2?"seguranca":o===3?"verificacao":"sucesso"})}},[]),k=l.useCallback(()=>m(n+1),[n,m]),j=l.useCallback(()=>m(n-1),[n,m]),N=l.useCallback(()=>m(1),[m]),d=Me({mode:"onBlur",defaultValues:a?.prefillData?{name:a.prefillData.name??"",email:a.prefillData.email??"",phone:a.prefillData.phone??"",quantity_estate:a.prefillData.quantity_estate??"",razao_social:""}:{razao_social:""}}),{trigger:U,setFocus:B}=d;l.useEffect(()=>{if(a?.prefillData&&!D)return;const o=n;if(o>=2){const w=d.getValues();if(!(w.name&&w.name.length>=3&&w.email&&w.phone&&w.quantity_estate)){m(1);return}}if(o>=3){const w=d.getValues();w.document&&w.password||m(2)}},[D,a?.prefillData,n,d,m]);const[W,F]=l.useState(!1),[ve,S]=l.useState(null),[Z,ye]=l.useState(""),H=l.useRef({}),ce=l.useRef(lt(a?.prefillData)),je=l.useRef(a?.prefillData?.email??"");l.useEffect(()=>{ce.current&&ue(je.current)},[]),l.useEffect(()=>{typeof window<"u"&&Object.assign(H.current,He(window.location.search))},[]);const G=l.useRef(null),K=l.useRef(null),Q=l.useCallback(o=>{wt({cameFromPrefill:ce.current,email:o.email})&&(Ye.send(o,s),ue(o.email))},[s]),Ce=l.useCallback(async o=>I.validate(o,s),[s]),Ne=l.useCallback(async o=>M.validate(o,s),[s]),Ae=l.useCallback(async o=>{G.current&&clearTimeout(G.current),!(!o||!I.isValid(o))&&(G.current=setTimeout(async()=>{const w=await I.validate(o,s);w!==!0?d.setError("email",{type:"remote",message:w}):d.clearErrors("email")},500))},[s,d]),Ee=l.useCallback(async o=>{K.current&&clearTimeout(K.current),!(!o||!M.isValid(o))&&(K.current=setTimeout(async()=>{const w=await M.validate(o,s);w!==!0?d.setError("document",{type:"remote",message:w}):d.clearErrors("document")},500))},[s,d]),z=l.useCallback(async(o,w={},f)=>{const A=await U(o),O=d.formState.errors;if(!A){const h=o.find(L=>!!L.split(".").reduce((R,X)=>{if(R&&typeof R=="object")return R[X]},O));return h&&B(h),!1}for(const h of o){const L=w[h];if(L){const V=await L();if(V!==!0)return d.setError(h,{type:"remote",message:V}),B(h),!1}}return await f(),!0},[U,B,d]);l.useEffect(()=>{if(!a?.prefillData||D)return;const o=a.prefillData,{name:w,email:f,phone:A,quantity_estate:O}=o;if(!(w&&w.trim().length>=3&&f&&I.isValid(f)&&A&&ae.isValid(A)&&O)){_(!0);return}(async()=>{_(!0),F(!0);const V=await z(fe,{email:()=>I.validate(f,s)},()=>{Q({name:w,email:f,phone:A??"",quantityEstate:O??"",document:"",utmParameters:H.current}),$("register_step_1_auto_complete",{step:1,source:"prefill"}),m(2)});F(!1),V||m(1)})()},[a?.prefillData,D,z,s,m,Q]);const De=l.useCallback(async()=>{const o=d.getValues();F(!0);const w=await z(fe,{email:()=>I.validate(o.email,s)},()=>{Q({name:o.name,email:o.email,phone:o.phone,quantityEstate:o.quantity_estate??"",document:"",utmParameters:H.current}),$("register_step_1_complete",{step:1}),m(2)});return F(!1),w},[d,s,z,m,Q]),Se=l.useCallback(async()=>
1{if(n!==2)return;const o=d.getValues(),w=[...ft];mt(o.document)&&w.push("razao_social"),F(!0),S(null);const f=await z(w,{document:()=>M.validate(o.document,s)},async()=>{const A=await ee.sendCode(o.email,s);A.success?($("register_step_2_complete",{step:2}),m(3)):S(A.error)});return F(!1),f},[n,d,s,z,m]),Re=l.useCallback(async()=>{const o=d.getValues("email");v(!0),S(null);const w=await ee.sendCode(o,s);v(!1),w.success?(y(!0),setTimeout(()=>y(!1),3e3)):S(w.error)},[d,s]),_e=l.useCallback(async()=>{const o=d.getValues(),w=o.email;F(!0),S(null);try{const f=await ee.validateCode(w,Z,s);if(!f.success){S(f.error);return}const A=f.data.emailVerifiedToken;C(A),$("register_step_3_complete",{step:3});const O={...o,email_verified_token:A},h=await tt.store(O,s,H.current);if(h.success)$("register_complete",{email:o.email}),m(4),h.data.redirectUrl&&(window.location.href=h.data.redirectUrl);else{h.errors&&Object.entries(h.errors).forEach(([V,R])=>{d.setError(V,{type:"server",message:Array.isArray(R)?R[0]:String(R)})});const L=function(R){return Object.entries(R).map(([X,ke])=>`${X.split(" ").map((Y,Fe)=>Fe===0?Y.charAt(0).toUpperCase()+Y.slice(1):Y).join(" ")}: ${ke.join(", ")}`).join(`
2`)};S(h.errors?L(h.errors):h.error)}}catch{S("Ocorreu um erro ao processar seu cadastro. Por favor, tente novamente.")}finally{F(!1)}},[s,d,Z,m]);return{form:d,step:n,nextStep:k,prevStep:j,goToStep1:N,isSubmitting:W,serverError:ve,setServerError:S,validateEmailComplete:Ce,validateDocumentComplete:Ne,validateEmailRemote:Ae,validateDocumentRemote:Ee,onSubmit:Se,onVerifyAndRegister:_e,otpCode:Z,setOtpCode:ye,loginUrl:u,handleStep1ToStep2:De,resendCode:Re,isResending:x,codeResent:g,emailVerifiedToken:b,handleNextStep:z,registerRoutes:s}}function pt(a){if(!a)return{strength:"weak",score:0};let t=0;return a.length>=8&&t++,/[A-Z]/.test(a)&&t++,/[0-9]/.test(a)&&t++,/[^A-Za-z0-9]/.test(a)&&t++,t===0?{strength:"weak",score:0}:{strength:{1:"weak",2:"fair",3:"good",4:"strong"}[t]||"strong",score:t}}const xt={weak:{label:"Senha fraca",color:"tw-bg-destructive",textColor:"tw-text-destructive"},fair:{label:"Senha razoável",color:"tw-bg-orange-500",textColor:"tw-text-orange-500"},good:{label:"Boa senha",color:"tw-bg-[#4DACC3]",textColor:"tw-text-[#4DACC3]"},strong:{label:"Senha forte",color:"tw-bg-[#057A55]",textColor:"tw-text-[#057A55]"}},gt=({password:a})=>{if(!a)return null;const{strength:t,score:s}=pt(a),{label:r,color:i,textColor:u}=xt[t];return e.jsxs("div",{className:"tw-mt-2",children:[e.jsx("div",{className:"tw-flex tw-gap-1",children:[1,2,3,4].map(c=>e.jsx("div",{className:`tw-h-1.5 tw-flex-1 tw-rounded-full tw-transition-colors tw-duration-300 ${c<=s?i:"tw-bg-gray-200"}`},c))}),e.jsx("p",{className:`tw-mt-1 tw-text-xs tw-font-medium ${u}`,children:r})]})},he=[{label:"Seus Dados"},{label:"Acesso"},{label:"Verificação"}],bt=({step:a})=>e.jsx("div",{className:"tw-flex tw-items-center tw-justify-center tw-mb-8","aria-label":`Passo ${a} de 3`,children:he.map((t,s)=>{const r=s+1,i=r<a,u=r===a,c=r>a;return e.jsxs("div",{className:"tw-flex tw-items-center",children:[e.jsxs("div",{className:"tw-flex tw-flex-col tw-items-center",children:[e.jsx("div",{className:`
3                  tw-flex tw-h-10 tw-w-10 tw-items-center tw-justify-center tw-rounded-full tw-text-sm tw-font-semibold tw-transition-all tw-duration-300
4                  ${i?"tw-bg-[#057A55] tw-text-white":""}
5                  ${u?"tw-bg-[#4DACC3] tw-text-white tw-shadow-md":""}
6                  ${c?"tw-border-2 tw-border-gray-300 tw-text-gray-500":""}
7                `,children:i?e.jsx(ze,{className:"tw-h-5 tw-w-5"}):r}),e.jsx("span",{className:`tw-mt-2 tw-text-xs tw-font-medium ${u?"tw-text-[#4DACC3]":i?"tw-text-[#057A55]":"tw-text-gray-500"}`,children:t.label})]}),s<he.length-1&&e.jsx("div",{className:"tw-mx-2 sm:tw-mx-4 tw-mb-6",children:e.jsx("div",{className:`tw-h-0.5 tw-w-12 sm:tw-w-20 tw-transition-all tw-duration-500 ${r<a?"tw-bg-[#057A55]":"tw-bg-gray-200"}`})})]},r)})}),vt=({nextStep:a,validateEmailRemote:t,validateEmailComplete:s,handleStep1ToStep2:r,isProcessing:i=!1})=>{const{trigger:u}=oe(),c=async()=>
7{if(r){await r();return}await u(["name","email","phone","quantity_estate"])&&a()};return i?e.jsxs("div",{className:"tw-animate-in tw-fade-in tw-duration-300 tw-flex tw-flex-col tw-items-center tw-justify-center tw-py-12 tw-space-y-4",children:[e.jsx(le,{className:"tw-h-8 tw-w-8 tw-animate-spin tw-text-[#4DACC3]"}),e.jsx("span",{className:"tw-text-sm tw-text-gray-500 tw-animate-pulse",children:"Validando dados..."})]}):e.jsxs("div",{className:"tw-animate-in tw-fade-in tw-slide-in-from-right-4 tw-duration-300 tw-space-y-5",children:[e.jsxs("div",{children:[e.jsxs("label",{htmlFor:"name",className:"tw-mb-1.5 tw-block tw-text-sm tw-font-semibold tw-text-[#1A1A2E]",children:["Nome completo ",e.jsx("span",{className:"tw-text-red-500",children:"*"})]}),e.jsx(T,{name:"name",placeholder:"Digite seu nome completo",registerOptions:{required:"Este campo é obrigatório",minLength:{value:3,message:"Nome deve ter pelo menos 3 caracteres"},validate:n=>n.trim().split(/\s+/).length>=2||"Nome deve ter pelo menos 2 palavras"},className:"tw-flex tw-h-11 tw-w-full tw-rounded-lg tw-border tw-border-gray-200 tw-bg-[#F3F4F6] tw-px-3 tw-py-2 tw-text-sm placeholder:tw-text-gray-400 focus:tw-outline-none focus:tw-ring-2 focus:tw-ring-[#4DACC3] tw-transition-colors"})]}),e.jsxs("div",{children:[e.jsxs("label",{htmlFor:"phone",className:"tw-mb-1.5 tw-block tw-text-sm tw-font-semibold tw-text-[#1A1A2E]",children:["Telefone ",e.jsx("span",{className:"tw-text-red-500",children:"*"})]}),e.jsx(T,{name:"phone",inputMode:"numeric",placeholder:"(99) 99999-9999",inputMasks:ae.mask(),registerOptions:{required:"Telefone é obrigatório",validate:n=>ae.isValid(n)||"Telefone inválido"},className:"tw-flex tw-h-11 tw-w-full tw-rounded-lg tw-border tw-border-gray-200 tw-bg-[#F3F4F6] tw-px-3 tw-py-2 tw-text-sm placeholder:tw-text-gray-400 focus:tw-outline-none focus:tw-ring-2 focus:tw-ring-[#4DACC3] tw-transition-colors"})]}),e.jsxs("div",{children:[e.jsxs("label",{htmlFor:"email",className:"tw-mb-1.5 tw-block tw-text-sm tw-font-semibold tw-text-[#1A1A2E]",children:["E-mail ",e.jsx("span",{className:"tw-text-red-500",children:"*"})]}),e.jsx(T,{name:"email",type:"email",placeholder:"[email protected]",registerOptions:{required:"E-mail é obrigatório",validate:async n=>await s(n),onBlur:n=>t(n.target.value)},className:"tw-flex tw-h-11 tw-w-full tw-rounded-lg tw-border tw-border-gray-200 tw-bg-[#F3F4F6] tw-px-3 tw-py-2 tw-text-sm placeholder:tw-text-gray-400 focus:tw-outline-none focus:tw-ring-2 focus:tw-ring-[#4DACC3] tw-transition-colors"})]}),e.jsxs("div",{children:[e.jsxs("label",{htmlFor:"quantity_estate",className:"tw-mb-1.5 tw-block tw-text-sm tw-font-semibold tw-text-[#1A1A2E]",children:["Quantos imóveis você administra? ",e.jsx("span",{className:"tw-text-red-500",children:"*"})]}),e.jsx(Qe,{name:"quantity_estate",options:ie,emptyLabel:"-- Selecione --",nullable:!1,registerOptions:{validate:n=>n?ie.some(x=>String(x.value)===String(n))||"Seleção inválida":"Quantidade de imóveis é obrigatória"},className:"tw-flex tw-h-11 tw-w-full tw-rounded-lg tw-border tw-border-gray-200 tw-bg-[#F3F4F6] tw-px-3 tw-text-sm focus:tw-outline-none focus:tw-ring-2 focus:tw-ring-[#4DACC3] tw-transition-colors"})]}),e.jsx("button",{type:"button",onClick:c,disabled:i,className:"tw-flex tw-h-11 tw-w-full tw-items-center tw-justify-center tw-rounded-lg tw-bg-[#4DACC3] tw-font-semibold tw-text-white tw-transition-colors hover:tw-bg-[#3d8a9c] disabled:tw-opacity-50 disabled:tw-cursor-not-allowed",children:"Continuar →"})]})},ne=({stepNumber:a,data:t,onEdit:s})=>{const r=a===1?"Dados pessoais":"Segurança",i=l.useMemo(()=>{const c=ie.find(n=>String(n.value)===String(t.quantity_estate));return c?c.label:t.quantity_estate},[t.quantity_estate]);function u(c){if(!c)return"-";const n=c.replace(/\D/g,"");return n.length<=11?n.length<9?c:`***.***.${n.slice(6,9)}-${n.slice(9)}`:n.length<14?c:`**.***.***/${n.slice(8,12)}-${n.slice(12)}`}return e.jsxs("div",{className:"tw-mb-4 tw-rounded-xl tw-border tw-border-gray-200 tw-bg-[#F3F4F6]/50 tw-px-4 tw-py-3",children:[e.jsxs("div",{className:"tw-flex tw-items-center tw-justify-between",children:[e.jsxs("span",{className:"tw-text-xs tw-font-semibold tw-uppercase tw-tracking-wide tw-text-gray-500",children:["Etapa ",a," — ",r]}),e.jsxs("button",{type:"button",onClick:s,className:"tw-flex tw-items-center tw-gap-1 tw-text-xs tw-font-medium tw-text-[#4DACC3] hover:tw-underline",children:[e.jsx(Ie,{className:"tw-h-3 tw-w-3"})," Editar"]})]}
7),a===1&&e.jsxs("div",{className:"tw-mt-2 tw-grid tw-grid-cols-2 tw-gap-x-6 tw-gap-y-1 tw-text-sm",children:[e.jsxs("div",{children:[e.jsx("span",{className:"tw-text-gray-500",children:"Nome:"})," ",e.jsx("span",{className:"tw-font-medium tw-text-[#1A1A2E]",children:t.name||"-"})]}),e.jsxs("div",{children:[e.jsx("span",{className:"tw-text-gray-500",children:"Telefone:"})," ",e.jsx("span",{className:"tw-font-medium tw-text-[#1A1A2E]",children:t.phone||"-"})]}),e.jsxs("div",{children:[e.jsx("span",{className:"tw-text-gray-500",children:"E-mail:"})," ",e.jsx("span",{className:"tw-font-medium tw-text-[#1A1A2E]",children:t.email||"-"})]}),e.jsxs("div",{children:[e.jsx("span",{className:"tw-text-gray-500",children:"Imóveis:"})," ",e.jsx("span",{className:"tw-font-medium tw-text-[#1A1A2E]",children:i||"-"})]})]}),a===2&&e.jsxs("div",{className:"tw-mt-2 tw-grid tw-grid-cols-2 tw-gap-x-6 tw-gap-y-1 tw-text-sm",children:[e.jsxs("div",{children:[e.jsx("span",{className:"tw-text-gray-500",children:"CPF/CNPJ:"})," ",e.jsx("span",{className:"tw-font-medium tw-text-[#1A1A2E]",children:u(t.document)})]}),t.razao_social&&e.jsxs("div",{children:[e.jsx("span",{className:"tw-text-gray-500",children:"Razão Social:"})," ",e.jsx("span",{className:"tw-font-medium tw-text-[#1A1A2E]",children:t.razao_social})]}),e.jsxs("div",{children:[e.jsx("span",{className:"tw-text-gray-500",children:"Senha:"})," ",e.jsx("span",{className:"tw-font-medium tw-text-[#1A1A2E]",children:"••••••••"})]})]})]})},yt=({prevStep:a,isSubmitting:t,validateDocumentRemote:s})=>{const{watch:r,formState:{errors:i}}=oe(),u=r("document"),c=r("password"),n=r("password_confirmation"),E=r("razao_social"),[x,v]=l.useState(!1),[g,y]=l.useState(!1),b=l.useMemo(()=>u?M.isCnpj(u):!1,[u]),C=(u||"").replace(/\D/g,"").length===0?"CPF ou CNPJ":b?"CNPJ":"CPF",_=["document","password","password_confirmation"].some(d=>!!i[d]),m=b&&!!i.razao_social,k=M.isValid(u||"")&&(c||"").length>=8&&c===n&&(!b||(E||"").length>=3),j=t||_||m||!k,N=r();return e.jsxs("div",{className:"tw-animate-in tw-fade-in tw-slide-in-from-right-4 tw-duration-300",children:[e.jsx(ne,{stepNumber:1,data:N,onEdit:a}),e.jsxs("div",{className:"tw-space-y-5",children:[e.jsxs("div",{children:[e.jsxs("label",{htmlFor:"document",className:"tw-mb-1.5 tw-block tw-text-sm tw-font-semibold tw-text-[#1A1A2E]",children:[C," ",e.jsx("span",{className:"tw-text-red-500",children:"*"})]}),e.jsx(T,{name:"document",inputMode:"numeric",placeholder:"000.000.000-00",inputMasks:M.mask(),registerOptions:{required:"CPF/CNPJ é obrigatório",validate:d=>M.validateLocal(d),onBlur:d=>s(d.target.value)},className:"tw-flex tw-h-11 tw-w-full tw-rounded-lg tw-border tw-border-gray-200 tw-bg-[#F3F4F6] tw-px-3 tw-py-2 tw-text-sm placeholder:tw-text-gray-400 focus:tw-outline-none focus:tw-ring-2 focus:tw-ring-[#4DACC3] tw-transition-colors"})]}),b&&e.jsxs("div",{className:"tw-animate-in tw-fade-in tw-slide-in-from-top-2",children:[e.jsxs("label",{htmlFor:"razao_social",className:"tw-mb-1.5 tw-block tw-text-sm tw-font-semibold tw-text-[#1A1A2E]",children:["Razão Social ",e.jsx("span",{className:"tw-text-red-500",children:"*"})]}),e.jsx(T,{name:"razao_social",placeholder:"Nome da empresa",registerOptions:{required:"Razão social é obrigatória para CNPJ",minLength:{value:3,message:"Razão social deve ter pelo menos 3 caracteres"}},className:"tw-flex tw-h-11 tw-w-full tw-rounded-lg tw-border tw-border-gray-200 tw-bg-[#F3F4F6] tw-px-3 tw-py-2 tw-text-sm placeholder:tw-text-gray-400 focus:tw-outline-none focus:tw-ring-2 focus:tw-ring-[#4DACC3] tw-transition-colors"})]}),e.jsxs("div",{children:[e.jsxs("label",{htmlFor:"password",className:"tw-mb-1.5 tw-block tw-text-sm tw-font-semibold tw-text-[#1A1A2E]",children:["Senha ",e.jsx("span",{className:"tw-text-red-500",children:"*"})]}),e.jsxs("div",{className:"tw-relative",children:[e.jsx(T,{name:"password",type:x?"text":"password",placeholder:"Mínimo 8 caracteres",registerOptions:{required:"⚠ Senha é obrigatória",validate:d=>d.length<8?"⚠ Pelo menos 8 caracteres":/[A-Z]/.test(d)?/[0-9]/.test(d)?!0:"⚠ Pelo menos 1 número":"⚠ Pelo menos 1 letra maiúscula"},className:"tw-flex tw-h-11 tw-w-full tw-rounded-lg tw-border tw-border-gray-200 tw-bg-[#F3F4F6] tw-px-3 tw-pr-10 tw-py-2 tw-text-sm placeholder:tw-text-gray-400 focus:tw-outline-none focus:tw-ring-2 focus:tw-ring-[#4DACC3] tw-transition-colors"}),e.jsx("button",{type:"button",onClick:()=>v(!x),className:"tw-absolute tw-right-3 tw-top-[22px] tw--translate-y-1/2 tw-text-gray-400 hover:tw-text-gray-600",children:x?e.jsx(de,{className:"tw-h-4 tw-w-4"}):e.jsx(we,{className:"tw-h-4 tw-w-4"})})]}),e.jsx(gt,{password:c})]}),e.jsxs("div",{children:[e.jsxs("label",{htmlFor:"password_confirmation",className:"tw-mb-1.5 tw-block tw-text-sm tw-font-semibold tw-text-[#1A1A2E]",children:["Confirmar Senha ",e.jsx("span",{className:"tw-text-red-500",children:"*"})]}),e.jsxs("div",{className:"tw-relative",children:[e.jsx(T,{name:"password_confirmation",type:g?"text":"password",placeholder:"Repita sua senha",registerOptions:{required:"Confirmação de senha é obrigatória",validate:d=>d===c||"As senhas não conferem"},className:"tw-flex tw-h-11 tw-w-full tw-rounded-lg tw-border tw-border-gray-200 tw-bg-[#F3F4F6] tw-px-3 tw-pr-10 tw-py-2 tw-text-sm placeholder:tw-text-gray-400 focus:tw-outline-none focus:tw-ring-2 focus:tw-ring-[#4DACC3] tw-transition-colors"}),e.jsx("button",{type:"button",onClick:()=>y(!g),className:"tw-absolute tw-right-3 tw-top-[22px] tw--translate-y-1/2 tw-text-gray-400 hover:tw-text-gray-600",children:g?e.jsx(de,{className:"tw-h-4 tw-w-4"}):e.jsx(we,{className:"tw-h-4 tw-w-4"})})]})]}),e.jsxs("div",{className:"tw-flex tw-gap-3 tw-pt-2",children:[e.jsxs("button",{type:"button",onClick:a,disabled:t,className:"tw-flex tw-h-11 tw-flex-1 tw-items-center tw-justify-center tw-gap-2 tw-rounded-lg tw-border tw-border-gray-200 tw-bg-white tw-font-medium tw-text-[#1A1A2E] tw-transition-colors hover:tw-bg-gray-50 disabled:tw-opacity-50",children:[e.jsx(pe,{className:"tw-h-4 tw-w-4"})," Voltar"]}),e.jsx("button",{type:"submit",disabled:j,className:"tw-flex tw-h-11 tw-flex-[2] tw-items-center tw-justify-center tw-gap-2 tw-rounded-lg tw-bg-[#4DACC3] tw-font-semibold tw-text-white tw-transition-colors hover:tw-bg-[#3d8a9c] disabled:tw-opacity-50 disabled:tw-cursor-not-allowed",children:t?e.jsxs(e.Fragment,{children:[e.jsx(le,{className:"tw-h-4 tw-w-4 tw-animate-spin"})," Cadastrando..."]}):"Criar conta →"})]})]})]})},jt=({prevStep:a,goToStep1:t,onVerifyAndRegister:s,otpCode:r,setOtpCode:i,isSubmitting:u,resendCode:c,isResending:n,codeResent:E})=>{const{watch:x}=oe(),v=x(),g=v.email,[y,b]=l.useState(60),[C,D]=l.useState(!1);l.useEffect(()=>{if(y<=0){D(!0);return}const j=setTimeout(()=>b(N=>N-1),1e3);return()=>clearTimeout(j)},[y]);const _=l.useCallback(()=>{C&&(c&&c(),b(60),D(!1),i(""))},[C,i,c]),m=l.useMemo(()=>
7{if(!g)return"-";const j=g.split("@");if(j.length!==2)return g;const[N,d]=j;return`${N.length>2?N.substring(0,2)+"**":N+"**"}@${d}`},[g]),k=r.length===6;return e.jsxs("div",{className:"tw-animate-in tw-fade-in tw-slide-in-from-right-4 tw-duration-300",children:[e.jsx(ne,{stepNumber:1,data:v,onEdit:t}),e.jsx(ne,{stepNumber:2,data:v,onEdit:a}),e.jsxs("div",{className:"tw-space-y-6 tw-text-center tw-mt-8",children:[e.jsxs("div",{className:"tw-flex tw-flex-col tw-items-center tw-gap-2",children:[e.jsx("div",{className:"tw-flex tw-h-14 tw-w-14 tw-items-center tw-justify-center tw-rounded-full tw-bg-[#4DACC3]/10",children:e.jsx(Le,{className:"tw-h-7 tw-w-7 tw-text-[#4DACC3]"})}),e.jsx("h3",{className:"tw-text-lg tw-font-semibold tw-text-[#1A1A2E]",children:"Verifique seu e-mail"}),e.jsxs("p",{className:"tw-text-sm tw-text-gray-500",children:["Enviamos um código de 6 dígitos para"," ",e.jsx("span",{className:"tw-font-medium tw-text-[#1A1A2E]",children:m})]})]}),e.jsx("div",{className:"tw-flex tw-justify-center",children:e.jsx(Te,{maxLength:6,value:r,onChange:j=>i(j.toUpperCase()),pattern:Oe,inputMode:"text",containerClassName:"tw-gap-2 sm:tw-gap-3",children:e.jsxs(qe,{className:"tw-gap-2 sm:tw-gap-3",children:[e.jsx(q,{index:0,className:"tw-h-14 tw-w-12 tw-rounded-lg tw-border-2 tw-border-gray-200 tw-text-2xl tw-font-semibold"}),e.jsx(q,{index:1,className:"tw-h-14 tw-w-12 tw-rounded-lg tw-border-2 tw-border-gray-200 tw-text-2xl tw-font-semibold"}),e.jsx(q,{index:2,className:"tw-h-14 tw-w-12 tw-rounded-lg tw-border-2 tw-border-gray-200 tw-text-2xl tw-font-semibold"}),e.jsx(q,{index:3,className:"tw-h-14 tw-w-12 tw-rounded-lg tw-border-2 tw-border-gray-200 tw-text-2xl tw-font-semibold"}),e.jsx(q,{index:4,className:"tw-h-14 tw-w-12 tw-rounded-lg tw-border-2 tw-border-gray-200 tw-text-2xl tw-font-semibold"}),e.jsx(q,{index:5,className:"tw-h-14 tw-w-12 tw-rounded-lg tw-border-2 tw-border-gray-200 tw-text-2xl tw-font-semibold"})]})})}),e.jsx("p",{className:"tw-text-gray-500 tw-text-sm",children:E?e.jsx("span",{className:"tw-text-green-600 tw-font-medium",children:"✓ Código reenviado!"}):n?e.jsxs("span",{className:"tw-flex tw-items-center tw-justify-center tw-gap-2",children:[e.jsx(We,{className:"tw-h-4 tw-w-4 tw-animate-spin"})," Reenviando..."]}):C?e.jsx("button",{type:"button",onClick:_,className:"tw-font-medium tw-text-[#4DACC3] hover:tw-underline",children:"Reenviar código"}):e.jsxs("span",{children:["Reenviar em 0:",String(y).padStart(2,"0")]})}),e.jsxs("div",{className:"tw-flex tw-gap-3 tw-pt-2",children:[e.jsxs("button",{type:"button",onClick:a,disabled:u,className:"tw-flex tw-h-11 tw-flex-1 tw-items-center tw-justify-center tw-gap-2 tw-rounded-lg tw-border tw-border-gray-200 tw-bg-white tw-font-medium tw-text-[#1A1A2E] tw-transition-colors hover:tw-bg-gray-50 disabled:tw-opacity-50",children:[e.jsx(pe,{className:"tw-h-4 tw-w-4"})," Voltar"]}),e.jsx("button",{type:"button",onClick:s,disabled:!k||u,className:"tw-flex tw-h-11 tw-flex-[2] tw-items-center tw-justify-center tw-gap-2 tw-rounded-lg tw-bg-[#4DACC3] tw-font-semibold tw-text-white tw-transition-colors hover:tw-bg-[#3d8a9c] disabled:tw-opacity-50 disabled:tw-cursor-not-allowed",children:u?e.jsxs(e.Fragment,{children:[e.jsx(le,{className:"tw-h-4 tw-w-4 tw-animate-spin"})," Criando conta..."]}):"Verificar e entrar →"})]})]})]})};function Ct({step:a,nextStep:t,prevStep:s,goToStep1:r,isSubmitting:i,validateEmailRemote:u,validateEmailComplete:c,validateDocumentRemote:n,onVerifyAndRegister:E,otpCode:x,setOtpCode:v,handleStep1ToStep2:g,resendCode:y,isResending:b,codeResent:C}){return e.jsxs("div",{className:"tw-w-full",children:[e.jsx(bt,{step:a}),e.jsx("div",{className:a!==1?"tw-hidden":"",children:e.jsx(vt,{nextStep:t,validateEmailRemote:u,validateEmailComplete:c,handleStep1ToStep2:g,isProcessing:i})}),e.jsx("div",{className:a!==2?"tw-hidden":"",children:e.jsx(yt,{prevStep:s,isSubmitting:i,validateDocumentRemote:n})}),e.jsx("div",{className:a!==3?"tw-hidden":"",children:e.jsx(jt,{prevStep:s,goToStep1:r||(()=>{}),onVerifyAndRegister:E,otpCode:x,setOtpCode:v,isSubmitting:i,resendCode:y,isResending:b,codeResent:C})})]})}function Nt({prefillData:a,startAtStep:t}){const s={prefillData:a,startAtStep:t},{form:r,step:i,nextStep:u,prevStep:c,goToStep1:n,isSubmitting:E,serverError:x,validateEmailRemote:v,validateEmailComplete:g,validateDocumentRemote:y,validateDocumentComplete:b,onSubmit:C,onVerifyAndRegister:D,otpCode:_,setOtpCode:m,loginUrl:k,handleStep1ToStep2:j,resendCode:N,isResending:d,codeResent:U}
7=ht(s),B=i===4;return e.jsxs(e.Fragment,{children:[!B&&e.jsxs(e.Fragment,{children:[e.jsx("h1",{className:"tw-text-2xl tw-font-bold tw-text-[#1A1A2E] sm:tw-text-3xl tw-text-center",children:"Crie sua conta!"}),e.jsxs("p",{className:"tw-mt-2 tw-text-sm tw-text-gray-500 tw-text-center",children:["Já tem uma conta?"," ",k?e.jsx(xe,{href:k,className:"tw-font-medium tw-text-[#4DACC3] hover:tw-underline",children:"Faça seu login"}):e.jsx("a",{href:"/login",className:"tw-font-medium tw-text-[#4DACC3] hover:tw-underline",children:"Faça seu login"})]})]}),e.jsx("div",{className:"tw-mt-6 tw-w-full tw-max-w-lg sm:tw-max-w-2xl",children:e.jsx("div",{className:"tw-rounded-2xl tw-bg-white tw-p-6 tw-shadow-md sm:tw-p-8",children:e.jsx($e,{...r,children:e.jsxs("form",{onSubmit:W=>{W.preventDefault(),r.clearErrors(["document","email","message","server"]),r.handleSubmit(C)()},children:[x&&e.jsx("div",{className:"tw-rounded-lg tw-border tw-border-red-500/30 tw-bg-red-500/10 tw-p-3 tw-text-sm tw-text-red-600 tw-mb-4",style:{whiteSpace:"pre-wrap"},children:x}),e.jsx(Ct,{step:i,nextStep:u,prevStep:c,goToStep1:n,isSubmitting:E,validateEmailRemote:v,validateEmailComplete:g,validateDocumentRemote:y,validateDocumentComplete:b,onVerifyAndRegister:D,otpCode:_,setOtpCode:m,handleStep1ToStep2:j,resendCode:N,isResending:d,codeResent:U})]})})})})]})}function At({className:a="tw-h-8"}){return e.jsx("svg",{viewBox:"0 0 1920 359.5",className:a,xmlns:"http://www.w3.org/2000/svg",children:e.jsxs("g",{children:[e.jsx("g",{children:e.jsxs("g",{children:[e.jsx("path",{fill:"currentColor",d:"M423.1,105.6h28.8h28.8v229.8h-28.8h-28.8V105.6z"}),e.jsx("path",{fill:"currentColor",d:"M518.2,140.8h28.3h28.3v47.2c3.3-11,7.7-20.3,13.2-27.9c11.8-16.4,28.5-24.6,50.3-24.6 c17.2,0,30.6,5.6,40.2,16.8c6.1,7.1,10.3,15.9,12.6,26.5c2.7-7.1,6-13.3,9.9-18.7c11.8-16.4,28.6-24.6,50.4-24.6 c17.1,0,30.5,5.5,40.1,16.6c9.6,11.1,14.5,26.5,14.5,46.1v137.1h-30.7h-30.9V230.8c0-12.8-1.8-21.9-5.4-27.5 c-3.6-5.5-9.5-8.3-17.7-8.3c-9.7,0-16.8,2.9-21.2,8.7c-4.4,5.8-6.8,15.3-7.2,28.5v103.2h-30.7h-30.9V230.9 c0-12.8-1.8-22-5.4-27.6c-3.6-5.6-9.5-8.4-17.8-8.4c-9.7,0-16.7,2.9-21.1,8.7c-4.4,5.8-6.8,15.3-7.2,28.5v103.2H549h-30.9V140.8z"}),e.jsx("path",{fill:"currentColor",d:"M858.1,314.2c-15.8-17.6-23.8-44-23.9-79.2c0.1-33.2,8.1-58,23.9-74.6c15.8-16.6,39.6-24.9,71.4-24.9 c33.7,0,58.1,7.7,73,23.2c14.9,15.5,22.4,40.7,22.4,75.6v0.6c0.1,35.3-7.8,61.7-23.7,79.2c-15.9,17.6-39.8,26.4-71.7,26.4 C897.7,340.6,873.9,331.8,858.1,314.2z M959,279c6.8-8.8,10.2-21.4,10.2-37.9c0-16.9-3.2-29.3-9.7-37.3c-6.4-8-16.5-12-30-12 c-12.8,0-22.6,4.2-29.4,12.7c-6.8,8.4-10.2,20.6-10.2,36.6c0,16.5,3.4,29.1,10.2,37.9c6.8,8.8,16.6,13.2,29.4,13.2 C942.4,292.2,952.2,287.8,959,279z"}),e.jsx("path",{className:"tw-text-[#4DACC3]",fill:"currentColor",d:"M1107,160.8h-58.4v-27.6v-27.7h174.3v27.6v27.7h-58.4v174.5h-28.8H1107V160.8z"}),e.jsx("path",{className:"tw-text-[#4DACC3]",fill:"currentColor",d:"M1271.1,314.2c-15.8-17.6-23.8-44-23.9-79.2c0.1-33.2,8.1-58,23.9-74.6c15.8-16.6,39.6-24.9,71.4-24.9 c33.7,0,58.1,7.7,73,23.2c14.9,15.5,22.4,40.7,22.4,75.6v0.6c0.1,35.3-7.8,61.7-23.7,79.2c-15.9,17.6-39.8,26.4-71.7,26.4 C1310.7,340.6,1286.9,331.8,1271.1,314.2z M1371.9,279c6.8-8.8,10.2-21.4,10.2-37.9c0-16.9-3.2-29.3-9.7-37.3 c-6.4-8-16.5-12-30-12c-12.8,0-22.6,4.2-29.4,12.7c-6.8,8.4-10.2,20.6-10.2,36.6c0,16.5,3.4,29.1,10.2,37.9 c6.8,8.8,16.6,13.2,29.4,13.2C1355.3,292.2,1365.2,287.8,1371.9,279z"}),e.jsx("path",{className:"tw-text-[#4DACC3]",fill:"currentColor",d:"M1486,314.2c-15.8-17.6-23.8-44-23.9-79.2c0.1-33.2,8.1-58,23.9-74.6c15.8-16.6,39.6-24.9,71.4-24.9 c33.7,0,58.1,7.7,73,23.2c14.9,15.5,22.4,40.7,22.4,75.6v0.6c0.1,35.3-7.8,61.7-23.7,79.2c-15.9,17.6-39.8,26.4-71.7,26.4 C1525.6,340.6,1501.8,331.8,1486,314.2z M1586.9,279c6.8-8.8,10.2-21.4,10.2-37.9c0-16.9-3.2-29.3-9.7-37.3c-6.4-8-16.5-12-30-12 c-12.8,0-22.6,4.2-29.4,12.7c-6.8,8.4-10.2,20.6-10.2,36.6c0,16.5,3.4,29.1,10.2,37.9c6.8,8.8,16.6,13.2,29.4,13.2 C1570.3,292.2,1580.1,287.8,1586.9,279z"}),e.jsx("path",{className:"tw-text-[#4DACC3]",fill:"currentColor",d:"M1682.9,94h30.7h30.9v241.3h-30.7h-30.9V94z"}),e.jsx("path",{className:"tw-text-[#4DACC3]",fill:"currentColor",d:"M1912.7,204.1c-6.6-3.9-15-6.9-25.4-9.1c-10.3-2.1-21.4-3.2-33.3-3.2c-8.3,0-14.6,1-19.1,3.1 c-4.4,2.1-6.7,5.1-6.7,9c0,2.6,2.4,5,7.3,7.2c4.9,2.1,13.5,4.5,25.9,7.2c20.5,4.6,35.4,11.3,44.7,20.1 c9.2,8.8,13.8,20.7,13.8,35.6c0,20-6.7,36-20,48.2c-13.3,12.2-30.9,18.3-52.8,18.3c-12.4,0-24.5-1.7-36.3-5 c-11.8-3.3-22.1-8-30.8-13.9v-46c10.8,6,20.9,10.3,30.4,13c9.5,2.7,19.3,4,29.3,4c8.7,0,15.3-1.3,20-3.9c4.6-2.6,7-6.3,7-11.2 c0-3.7-2.6-6.9-7.8-9.6c-5.2-2.6-14.4-5.4-27.6-8.4c-20.7-4.6-35.7-11.5-45-20.8c-9.2-9.3-13.7-22-13.7-38.2 c0-19.6,7.4-35.3,22.3-47.3c14.9-11.9,34.5-17.9,58.9-17.9c11.3,0,22.3,1.7,33.2,5.2c10.8,3.5,19.4,8,25.5,13.6V204.1z"})]})}),e.jsx("g",{children:e.jsxs("g",{children:[e.jsx("g",{children:e.jsx("path",{fill:"currentColor",d:"M124.4,352.1H52.2C23.4,352.1,0,328.7,0,299.9v-87.3c0-9.5,7.7-17.2,17.2-17.2s17.2,7.7,17.2,17.2v87.3 c0,9.8,8,17.8,17.8,17.8h72.2c9.5,0,17.2,7.7,17.2,17.2S133.9,352.1,124.4,352.1z"})}),e.jsx("g",{children:e.jsx("path",{fill:"currentColor",d:"M277,352.1h-70.1c-9.5,0-17.2-7.7-17.2-17.2s7.7-17.2,17.2-17.2H277c9.8,0,17.8-8,17.8-17.8v-87.3 c0-9.5,7.7-17.2,17.2-17.2c9.5,0,17.2,7.7,17.2,17.2v87.3C329.2,328.7,305.8,352.1,277,352.1z"})}),e.jsx("path",{className:"tw-text-[#4DACC3]",fill:"currentColor",d:"M224.5,141H102.2c-9.5,0-17.2,7.7-17.2,17.2c0,9.5,7.7,17.2,17.2,17.2h44v98.3c0,9.5,7.7,17.2,17.2,17.2 c9.5,0,17.2-7.7,17.2-17.2v-98.3h44c9.5,0,17.2-7.7,17.2-17.2C241.7,148.7,234,141,224.5,141z"}),e.jsx("g",{children:e.jsx("path",{className:"tw-text-[#4DACC3]",fill:"currentColor",d:"M34.2,158.2c-4.4,0-8.7-1.7-12.1-5c-6.8-6.7-6.8-17.6-0.2-24.3l104.6-106c9.8-9.9,22.9-15.4,36.8-15.5 c0.1,0,0.2,0,0.4,0c13.8,0,26.8,5.3,36.7,15c0.2,0.2,0.4,0.4,0.6,0.7l97,106.3c6.4,7,5.9,17.9-1.1,24.3 c-7,6.4-17.9,5.9-24.3-1.1l-96.6-106c-3.3-3.2-7.7-4.9-12.3-4.9c-4.8,0-9.2,1.9-12.5,5.3l-104.6,106 C43,156.5,38.6,158.2,34.2,158.2z"})})]})})]})})}function Et({prefillData:a,startAtStep:t}){return e.jsxs("div",{className:"tw-min-h-screen tw-bg-[#EFF2F5]",children:[e.jsx(Ue,{title:"Crie sua conta | ImoTools"}),e.jsx("header",{className:"tw-flex tw-h-14 tw-items-center tw-justify-center tw-bg-[#0D0D0D]",children:e.jsx(xe,{href:"/",className:"tw-flex tw-items-center",children:e.jsx(At,{className:"tw-h-7 tw-text-white"})})}),e.jsx("main",{className:"tw-flex tw-flex-col tw-items-center tw-px-4 tw-py-8 sm:tw-py-12",children:e.jsx(Nt,{prefillData:a,startAtStep:t})})]})}function Ht(){return e.jsx(Ze,{usePackageScope:!0,children:e.jsx(Et,{})})}
7export{Ht as default};

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.