1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,929254,e=>{"use strict";var r=e.i(843476),o=e.i(271645),a=e.i(657688),t=e.i(522016),s=e.i(618566),i=e.i(878894),l=e.i(204997),n=e.i(647163),c=e.i(823173),d=e.i(186145);let u={apple:"Apple",microsoft:"Microsoft",facebook:"Facebook"};function p({provider:e}){return"apple"===e?(0,r.jsx)("svg",{className:"h-5 w-5",viewBox:"0 0 24 24","aria-hidden":"true",children:(0,r.jsx)("path",{fill:"currentColor",d:"M17.05 12.54c-.03-3.02 2.47-4.49 2.58-4.56a5.54 5.54 0 0 0-4.36-2.36c-1.83-.2-3.61 1.1-4.54 1.1-.95 0-2.39-1.08-3.94-1.05a5.79 5.79 0 0 0-4.88 2.98c-2.11 3.65-.54 9.01 1.48 11.97 1.01 1.45 2.18 3.06 3.73 3 1.52-.06 2.09-.96 3.92-.96 1.81 0 2.35.96 3.94.93 1.63-.03 2.66-1.45 3.63-2.91a11.95 11.95 0 0 0 1.66-3.39 5.2 5.2 0 0 1-3.22-4.75ZM14.08 3.68A5.3 5.3 0 0 0 15.29 0a5.4 5.4 0 0 0-3.48 1.75 5.05 5.05 0 0 0-1.24 3.54 4.46 4.46 0 0 0 3.51-1.61Z"})}):"microsoft"===e?(0,r.jsxs)("svg",{className:"h-5 w-5",viewBox:"0 0 24 24","aria-hidden":"true",children:[(0,r.jsx)("path",{fill:"#f25022",d:"M1 1h10v10H1z"}),(0,r.jsx)("path",{fill:"#7fba00",d:"M13 1h10v10H13z"}),(0,r.jsx)("path",{fill:"#00a4ef",d:"M1 13h10v10H1z"}),(0,r.jsx)("path",{fill:"#ffb900",d:"M13 13h10v10H13z"})]}):(0,r.jsx)("svg",{className:"h-5 w-5",viewBox:"0 0 24 24","aria-hidden":"true",children:(0,r.jsx)("path",{fill:"#1877F2",d:"M24 12.07C24 5.4 18.63 0 12 0S0 5.4 0 12.07C0 18.1 4.39 23.1 10.13 24v-8.44H7.08v-3.49h3.05V9.41c0-3.03 1.79-4.7 4.53-4.7 1.31 0 2.68.24 2.68.24v2.96h-1.51c-1.49 0-1.96.93-1.96 1.89v2.27h3.33l-.53 3.49h-2.8V24C19.61 23.1 24 18.1 24 12.07Z"})})}function m({provider:e,callbackUrl:a,label:t}){let[s,i]=(0,o.useState)(!1),l=u[e];return(0,r.jsxs)("button",{type:"button",onClick:function(){i(!0);let r=(0,d.resolveAuthCallbackUrl)(a);window.location.assign(`/api/auth/${e}?callbackUrl=${encodeURIComponent(r)}`)},disabled:s,className:"flex w-full items-center justify-center gap-3 rounded-lg border border-gray-300 bg-white px-4 py-3 font-medium transition-colors hover:bg-gray-50 disabled:cursor-not-allowed disabled:opacity-50",children:[(0,r.jsx)(p,{provider:e}),(0,r.jsx)("span",{children:s?"Redirecionando...":t||`Entrar com ${l}`})]})}e.s(["default",0,function({defaultMode:e="login",manualAuth:u=!1,socialProviders:p={apple:!1,microsoft:!1,facebook:!1}}){let h=(0,s.useSearchParams)(),[g,f]=(0,o.useState)(""),[x,b]=(0,o.useState)(""),[v,y]=(0,o.useState)(!1),[j,w]=(0,o.useState)(""),[N,k]=(0,o.useState)(""),[z,C]=(0,o.useState)(!1),[A,E]=(0,o.useState)("1"===h.get("mfa")),[S,U]=(0,o.useState)(""),[F,L]=(0,o.useState)(null),G=(0,s.useRouter)(),M=h.get("callbackUrl"),T=(0,d.isSuperuserAuthCallbackUrl)(M),O=u||T,I="register"===h.get("mode")||"register"===e?"register":"login",[R,B]=(0,o.useState)(I),q=T?"login":R,P={google:"Login com Google cancelado ou bloqueado.","google-code":"O Google não retornou o código de autorização.","google-config":"Google OAuth não está configurado no servidor.","google-redirect":"URI de redirecionamento OAuth não confere no Google Cloud.","google-client":"Client ID ou Client Secret do Google OAuth inválido.","google-code-expired":"Código do Google expirou. Tente entrar novamente.","google-token":"Google não retornou token de acesso.","google-profile":"Não foi possÃvel buscar o perfil no Google.","google-email":"Não foi possÃvel obter o e-mail da conta Google.","google-email-unverified":"O e-mail desta conta Google não está verificado.","google-db":"Banco de dados ainda não está atualizado para login Google.","google-superuser":"Login Google disponÃvel apenas para superuser autorizado.","google-auth":"Não foi possÃvel entrar com Google. Tente novamente.","apple-cancelled":"Login com Apple cancelado.","apple-config":"Login com Apple ainda não foi configurado no servidor.","apple-code":"A Apple não retornou o código de autorização.","apple-superuser":"Esta conta Apple não está autorizada como superuser.","apple-auth":"Não foi possÃvel entrar com Apple. Verifique a configuração e tente novamente.","microsoft-cancelled":"Login com Microsoft cancelado.","microsoft-config":"Login com Microsoft ainda não foi configurado no servidor.","microsoft-code":"A Microsoft não retornou o código de autorização.","microsoft-superuser":"Esta conta Microsoft não está autorizada como superuser.","microsoft-account":"Crie sua conta com Google ou Apple antes de entrar com Microsoft.","microsoft-auth":"Não foi possÃvel entrar com Microsoft. Tente novamente.","facebook-cancelled":"Login com Facebook cancelado.","facebook-config":"Login com Facebook ainda não foi configurado no servidor.","facebook-code":"O Facebook não retornou o código de autorização.","facebook-superuser":"Esta conta Facebook não está autorizada como superuser.","facebook-account":"Crie sua conta com Google ou Apple antes de entrar com Facebook.","facebook-auth":"Não foi possÃvel entrar com Facebook. Verifique se seu e-mail foi autorizado."}[h.get("error")||""]||"";async function V(e,r){let o=null;for(let a of e)try{let e=await fetch(a,{method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json"},credentials:"same-origin",body:JSON.stringify(r)});if(!(e.headers.get("content-type")||"").includes("application/json")){let r=await e.text();console.error(`Resposta n\xe3o-JSON recebida em ${a}
1:`,r.substring(0,120)),o=Error("Resposta inválida do servidor");continue}let t=await e.json();return{res:e,data:t}}catch(e){o=e instanceof Error?e:Error("Falha de comunicação")}throw o||Error("Erro na comunicação com o servidor. Por favor, tente novamente.")}(0,o.useEffect)(()=>{let e=!0;async function r(){try{let r=await fetch("/api/health/system",{cache:"no-store",headers:{Accept:"application/json"}}),o=(r.headers.get("content-type")||"").includes("application/json")?await r.json().catch(()=>null):null;if(!e)return;if(!r.ok||!o)return void L(null);let a=!!o?.services?.auth?.ok;L({ok:a,message:a?"Serviço de login operacional.":"Serviço de login temporariamente indisponÃvel. Aguarde alguns instantes."})}catch{if(!e)return;L(null)}}r();let o=window.setInterval(r,2e4);return()=>{e=!1,window.clearInterval(o)}},[]);let $=async e=>{e.preventDefault(),k(""),C(!0);try{let{res:e,data:r}=await V(["/api/auth/login","/api/auth/login/route"],{email:g,password:x,rememberMe:v});if(!e.ok)throw Error(r.message||"Falha no login");if(r.requiresMfa){E(!0),k("");return}let o=(0,d.resolveAuthCallbackUrl)(M);G.push(o),G.refresh()}catch(e){k(e instanceof Error?e.message:"Falha no login")}finally{C(!1)}},H=async e=>{e.preventDefault(),k(""),C(!0);try{let e=await fetch("/api/auth/mfa/verify",{method:"POST",credentials:"same-origin",headers:{"Content-Type":"application/json"},body:JSON.stringify({code:S})}),r=await e.json();if(!e.ok)throw Error(r.message||"Código inválido");G.push((0,d.resolveAuthCallbackUrl)(M)),G.refresh()}catch(e){k(e instanceof Error?e.message:"Código inválido")}finally{C(!1)}},_=async e=>{e.preventDefault(),k(""),C(!0);try{let e=j.trim();if(!e)throw Error("Nome da empresa é obrigatório");let{res:r,data:o}=await V(["/api/auth/register","/api/auth/register/route"],{companyName:e,email:g,password:x,slug:e.toLowerCase().normalize("NFD").replace(/[\u0300-\u036f]/g,"").replace(/[^a-z0-9\s-]/g," ").replace(/\s+/g,"-").replace(/-+/g,"-").replace(/^-|-$/g,""),planType:"SERVICE_PRO"});if(!r.ok)throw Error(o.message||"Falha ao criar conta");B("login");let a=new URLSearchParams(window.location.search);a.delete("mode");let t=a.toString();G.push(t?`/dash/login?${t}`:"/dash/login"),G.refresh()}catch(e){k(e instanceof Error?e.message:"Falha ao criar conta")}finally{C(!1)}};return(0,r.jsxs)("div",{className:"min-h-screen flex items-center justify-center bg-zinc-50 relative overflow-hidden",children:[(0,r.jsx)("div",{className:"absolute top-[-10%] left-[-10%] w-[40%] h-[40%] bg-[#4A696F]/10 blur-[120px] rounded-full"}),(0,r.jsx)("div",{className:"absolute bottom-[-10%] right-[-10%] w-[40%] h-[40%] bg-[#4A696F]/10 blur-[120px] rounded-full"}),(0,r.jsx)("div",{className:"w-full max-w-md p-8 relative z-10",children:(0,r.jsxs)("div",{className:"bg-white border border-zinc-100 rounded-[calc(var(--radius)*2)] shadow-xl p-8 space-y-8",children:[(0,r.jsx)(t.default,{href:"/",className:"block text-center space-y-2 group",children:(0,r.jsx)("div",{className:"flex justify-center mb-6",children:(0,r.jsx)(a.default,{src:"/images/ecocard_logo.png",alt:"Logo Ecocard",width:160,height:40,className:"h-10 w-auto object-contain transition-transform group-hover:scale-105"})})}),F&&!F.ok&&(0,r.jsxs)("div",{className:(0,n.cn)("rounded-2xl border px-4 py-3 text-xs font-semibold flex items-center gap-2","bg-amber-50 border-amber-100 text-amber-700"),children:[(0,r.jsx)(i.AlertTriangle,{className:"w-4 h-4 shrink-0"}),(0,r.jsx)("span",{children:F.message})]}),T?(0,r.jsx)("div",{className:"rounded-full border border-primary/20 bg-primary/5 px-4 py-3 text-center text-[11px] font-black uppercase tracking-widest text-primary",children:"Acesso restrito de superuser"}):(0,r.jsxs)("div",{id:"criar-conta",className:"grid scroll-mt-6 grid-cols-2 gap-2 rounded-full bg-zinc-100 p-1",children:[(0,r.jsx)("button",{type:"button",onClick:()=>B("login"),className:(0,n.cn)("rounded-full px-4 py-3 text-[11px] font-black uppercase tracking-widest transition-all","login"===R?"bg-white text-zinc-900 shadow-sm":"text-zinc-500"),children:"Entrar"}),(0,r.jsx)("button",{type:"button",onClick:()=>B("register"),className:(0,n.cn)("rounded-full px-4 py-3 text-[11px] font-black uppercase tracking-widest transition-all","register"===R?"bg-white text-zinc-900 shadow-sm":"text-zinc-500"),children:"Criar conta"})]}),(0,r.jsxs)("div",{className:"space-y-4",children:[(0,r.jsx)(c.GoogleLoginButton,{callbackUrl:(0,d.resolveAuthCallbackUrl)(M),label:"register"===q?"Criar conta com Google":"Entrar c
1om Google"}),p.apple?(0,r.jsx)(m,{provider:"apple",callbackUrl:(0,d.resolveAuthCallbackUrl)(M),label:"register"===q?"Criar conta com Apple":"Entrar com Apple"}):null,"login"===q?(0,r.jsxs)(r.Fragment,{children:[p.microsoft?(0,r.jsx)(m,{provider:"microsoft",callbackUrl:(0,d.resolveAuthCallbackUrl)(M)}):null,p.facebook?(0,r.jsx)(m,{provider:"facebook",callbackUrl:(0,d.resolveAuthCallbackUrl)(M)}):null]}):null,P&&(0,r.jsx)("div",{className:"p-3 bg-red-50 border border-red-100 rounded-xl text-red-600 text-sm text-center",children:P}),O?(0,r.jsxs)("div",{className:"flex items-center gap-3",children:[(0,r.jsx)("div",{className:"h-px flex-1 bg-zinc-100"}),(0,r.jsx)("span",{className:"text-[10px] font-black uppercase tracking-widest text-zinc-400",children:"ou"}),(0,r.jsx)("div",{className:"h-px flex-1 bg-zinc-100"})]}):null]}),A?(0,r.jsxs)("form",{onSubmit:H,className:"space-y-5",children:[(0,r.jsx)("div",{className:"rounded-2xl border border-emerald-200 bg-emerald-50 p-4 text-sm text-emerald-900",children:"Confirme o código de seis dÃgitos do seu aplicativo autenticador ou use um código de recuperação."}),(0,r.jsxs)("div",{className:"space-y-2",children:[(0,r.jsx)("label",{htmlFor:"mfa-code",className:"ml-1 text-sm font-medium text-zinc-700",children:"Código de segurança"}),(0,r.jsx)("input",{id:"mfa-code",value:S,onChange:e=>U(e.target.value),autoComplete:"one-time-code",inputMode:"text",autoCapitalize:"characters",autoFocus:!0,required:!0,className:"w-full rounded-xl border border-zinc-200 bg-zinc-50 px-4 py-3 text-center font-mono text-xl tracking-[0.35em] text-zinc-900 focus:border-primary/50 focus:outline-none focus:ring-2 focus:ring-primary/50"})]}),N?(0,r.jsx)("div",{role:"alert",className:"rounded-xl border border-red-100 bg-red-50 p-3 text-center text-sm text-red-600",children:N}):null,(0,r.jsx)("button",{type:"submit",disabled:z,className:"flex w-full items-center justify-center gap-2 rounded-full bg-primary py-4 text-xs font-black uppercase tracking-widest text-white disabled:opacity-60",children:z?"Verificandoâ¦":"Confirmar acesso"}),(0,r.jsx)("button",{type:"button",onClick:()=>{E(!1),U(""),k("")},className:"w-full text-sm text-zinc-500 hover:text-zinc-900",children:"Voltar"})]}):O&&"login"===q?(0,r.jsxs)("form",{onSubmit:$,className:"space-y-6",children:[(0,r.jsxs)("div",{className:"space-y-2",children:[(0,r.jsx)("label",{htmlFor:"login-email",className:"text-sm font-medium text-zinc-700 ml-1",children:"E-mail"}),(0,r.jsx)("input",{id:"login-email",type:"email",value:g,onChange:e=>f(e.target.value),placeholder:"[email protected]",autoComplete:"email",className:"w-full bg-zinc-50 border border-zinc-200 rounded-[--radius] px-4 py-3 text-zinc-900 placeholder:text-zinc-400 focus:outline-none focus:ring-2 focus:ring-primary/50 focus:border-primary/50 transition-all",required:!0})]}),(0,r.jsxs)("div",{className:"space-y-2",children:[(0,r.jsx)("label",{htmlFor:"login-password",className:"text-sm font-medium text-zinc-700 ml-1",children:"Senha"}),(0,r.jsx)("input",{id:"login-password",type:"password",value:x,onChange:e=>b(e.target.value),placeholder:"â¢â¢â¢â¢â¢â¢â¢â¢",autoComplete:"current-password",className:"w-full bg-zinc-50 border border-zinc-200 rounded-xl px-4 py-3 text-zinc-900 placeholder:text-zinc-400 focus:outline-none focus:ring-2 focus:ring-primary/50 focus:border-primary/50 transition-all",required:!0})]}),(0,r.jsxs)("div",{className:"flex items-center gap-2 ml-1",children:[(0,r.jsx)("input",{type:"checkbox",id:"rememberMe",checked:v,onChange:e=>y(e.target.checked),className:"w-4 h-4 rounded border-zinc-300 text-primary focus:ring-primary transition-all cursor-pointer"}),(0,r.jsx)("label",{htmlFor:"rememberMe",className:"text-sm font-medium text-zinc-600 cursor-pointer select-none",children:"Lembrar de mim"})]}),N&&(0,r.jsx)("div",{className:"p-3 bg-red-50 border border-red-100 rounded-xl text-red-600 text-sm text-center",children:N}),(0,r.jsx)("button",{type:"submit",disabled:z,className:(0,n.cn)("w-full bg-primary hover:bg-primary/90 text-white font-black py-4 rounded-full transition-all flex items-center justify-center gap-2 shadow-lg shadow-primary/20 uppercase tracking-widest text-xs",z&&"opacity-70 cursor-not-allowed"),children:z?(0,r.jsx)("div",{className:"w-5 h-5 border-2 border-white/30 border-t-white rounded-full animate-spin"}
1):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(l.LogIn,{className:"w-5 h-5"}),T?"Entrar como superuser":"Login"]})})]}):O?(0,r.jsxs)("form",{onSubmit:_,className:"space-y-6",children:[(0,r.jsxs)("div",{className:"space-y-2",children:[(0,r.jsx)("label",{className:"text-sm font-medium text-zinc-700 ml-1",children:"Seu nome"}),(0,r.jsx)("input",{value:j,onChange:e=>w(e.target.value),placeholder:"Ex.: nome de usuario",className:"w-full bg-zinc-50 border border-zinc-200 rounded-[--radius] px-4 py-3 text-zinc-900 placeholder:text-zinc-400 focus:outline-none focus:ring-2 focus:ring-primary/50 focus:border-primary/50 transition-all",required:!0})]}),(0,r.jsxs)("div",{className:"space-y-2",children:[(0,r.jsx)("label",{className:"text-sm font-medium text-zinc-700 ml-1",children:"E-mail"}),(0,r.jsx)("input",{type:"email",value:g,onChange:e=>f(e.target.value),placeholder:"[email protected]",className:"w-full bg-zinc-50 border border-zinc-200 rounded-[--radius] px-4 py-3 text-zinc-900 placeholder:text-zinc-400 focus:outline-none focus:ring-2 focus:ring-primary/50 focus:border-primary/50 transition-all",required:!0})]}),(0,r.jsxs)("div",{className:"space-y-2",children:[(0,r.jsx)("label",{className:"text-sm font-medium text-zinc-700 ml-1",children:"Senha"}),(0,r.jsx)("input",{type:"password",value:x,onChange:e=>b(e.target.value),placeholder:"â¢â¢â¢â¢â¢â¢â¢â¢",className:"w-full bg-zinc-50 border border-zinc-200 rounded-xl px-4 py-3 text-zinc-900 placeholder:text-zinc-400 focus:outline-none focus:ring-2 focus:ring-primary/50 focus:border-primary/50 transition-all",required:!0})]}),N&&(0,r.jsx)("div",{className:"p-3 bg-red-50 border border-red-100 rounded-xl text-red-600 text-sm text-center",children:N}),(0,r.jsx)("button",{type:"submit",disabled:z,className:(0,n.cn)("w-full bg-zinc-900 hover:bg-zinc-800 text-white font-black py-4 rounded-full transition-all flex items-center justify-center gap-2 shadow-lg uppercase tracking-widest text-xs",z&&"opacity-70 cursor-not-allowed"),children:z?"Criando conta...":"Criar conta gratuita"})]}):null,!O&&(0,r.jsxs)("div",{className:"mt-6 space-y-2 rounded-xl bg-zinc-50 p-4 text-sm text-zinc-600",children:[(0,r.jsx)("p",{children:"Entre com a conta Google usada no cadastro. Para usar outro e-mail, escolha outra conta na tela do Google."}),(0,r.jsxs)("div",{className:"flex flex-wrap gap-4 font-semibold text-primary underline",children:[(0,r.jsx)(t.default,{href:`/dash/recuperar-senha?callbackUrl=${encodeURIComponent((0,d.resolveAuthCallbackUrl)(M))}`,children:"Não consigo entrar"}),(0,r.jsx)(t.default,{href:"/contato",children:"Pedir ajuda"})]})]}),(0,r.jsxs)("div",{className:"text-center pt-4 space-y-3",children:[(0,r.jsxs)("p",{className:"text-zinc-500 text-sm",children:["Ao entrar, você concorda com nossos"," ",(0,r.jsx)(t.default,{href:"/termos-e-condicoes",className:"text-primary hover:text-primary/80 underline transition-colors",children:"termos"})," ","e"," ",(0,r.jsx)(t.default,{href:"/politica-de-privacidade",className:"text-primary hover:text-primary/80 underline transition-colors",children:"privacidade"})]}),(0,r.jsxs)("div",{className:"flex items-center justify-center gap-4 text-sm",children:[(0,r.jsx)("button",{type:"button",className:"text-zinc-400 hover:text-zinc-600 transition-colors",onClick:()=>G.push("/"),children:"Voltar para o site"}),O?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("span",{className:"text-zinc-300",children:"â¢"}),(0,r.jsx)("button",{type:"button",className:"text-primary hover:text-primary/80 transition-colors",onClick:()=>G.push(T?"/superadmin/recuperar-senha":M?`/dash/recuperar-senha?callbackUrl=${encodeURIComponent((0,d.resolveAuthCallbackUrl)(M))}`:"/dash/recuperar-senha"),children:"Esqueceu a senha?"})]}):null]})]})]})})]})}],929254)},823173,e=>{"use strict";var r=e.i(843476),o=e.i(271645),a=e.i(186145);async function t(e,r=fetch){let o=`/api/auth/google?callbackUrl=${encodeURIComponent((0,a.resolveAuthCallbackUrl)(e))}`;for(let e=0;e<2;e+=1)try{let a=await r(o,{headers:{Accept:"application/json"},cache:"no-store",signal:AbortSignal.timeout(12e3)});if(!a.ok){if(0===e&&[502,503,504].includes(a.status))continue;throw Error("LOGIN_UNAVAILABLE")}let{authUrl:t}=await a.json(),s=new URL(t);if("https://accounts.google.com"!==s.origin)throw Error("INVALID_LOGIN_DESTINATION");return s.href}catch(r){if(0===e&&r instanceof Error&&["TypeError","TimeoutError","AbortError"].includes(r.name))continue;throw r}throw Error("LOGIN_UNAVAILABLE")}e.s(["GoogleLoginButton",0,function({callbackUrl:e=a.DEFAULT_ACCOUNT_PATH,label:s="Continuar com Google"}){let[i,l]=(0,o.useState)(!1),[n,c]=(0,o.useState)(""),d=async()=>
1{l(!0),c("");try{window.location.assign(await t(e))}catch(e){console.error("Google login error:",e),c("Não foi possÃvel conectar ao Google agora. Tente novamente; o destino do seu cadastro ou compra foi preservado."),l(!1)}};return(0,r.jsxs)("div",{children:[(0,r.jsxs)("button",{type:"button",onClick:d,disabled:i,className:"w-full px-4 py-3 bg-white border border-gray-300 rounded-lg flex items-center justify-center gap-3 hover:bg-gray-50 disabled:opacity-50 disabled:cursor-not-allowed transition-colors",children:[(0,r.jsxs)("svg",{className:"w-5 h-5",viewBox:"0 0 24 24","aria-hidden":"true",children:[(0,r.jsx)("path",{fill:"#4285F4",d:"M22.56 12.25c0-.78-.07-1.53-.2-2.25H12v4.26h5.92c-.26 1.37-1.04 2.53-2.21 3.31v2.77h3.57c2.08-1.92 3.28-4.74 3.28-8.09z"}),(0,r.jsx)("path",{fill:"#34A853",d:"M12 23c2.97 0 5.46-.98 7.28-2.66l-3.57-2.77c-.98.66-2.23 1.06-3.71 1.06-2.86 0-5.29-1.93-6.16-4.53H2.18v2.84C3.99 20.53 7.7 23 12 23z"}),(0,r.jsx)("path",{fill:"#FBBC05",d:"M5.84 14.09c-.22-.66-.35-1.36-.35-2.09s.13-1.43.35-2.09V7.07H2.18C1.43 8.55 1 10.22 1 12s.43 3.45 1.18 4.93l2.85-2.22.81-.62z"}),(0,r.jsx)("path",{fill:"#EA4335",d:"M12 5.38c1.62 0 3.06.56 4.21 1.64l3.15-3.15C17.45 2.09 14.97 1 12 1 7.7 1 3.99 3.47 2.18 7.07l3.66 2.84c.87-2.6 3.3-4.53 6.16-4.53z"})]}),(0,r.jsx)("span",{className:"font-medium",children:i?"Entrando...":s})]}),n&&(0,r.jsx)("p",{role:"alert",className:"text-red-500 text-sm mt-2 text-center",children:n})]})}],823173)},186145,e=>{"use strict";let r="/dash",o={"/admin":"/dash","/admin/":"/dash","/admin/minha-conta":"/dash/minha-conta","/admin/adicionar-perfil":"/dash/adicionar-perfil","/admin/busca-perfis":"/dash/adicionar-perfil","/admin/billing":"/dash/assinatura","/admin/credit-logs":"/dash/creditos","/admin/notifications":"/dash/notificacoes","/admin/marcas":"/dash/marcas","/admin/local-profiles":"/dash/perfis","/admin/settings":"/dash/preferencias","/admin/ecoads":"/dash/ecoads","/admin/integracoes":"/dash/integracoes"};function a(e){let a=String(e||"").trim();if(!a||!a.startsWith("/")||a.startsWith("//")||a.includes("\\")||/[\u0000-\u001f\u007f]/.test(a))return r;let t=a.indexOf("#"),s=t>=0?a.slice(t):"",i=t>=0?a.slice(0,t):a,l=i.indexOf("?"),n=l>=0?i.slice(0,l):i,c=l>=0?i.slice(l):"",d=o[n]||n;return`${d}${c}${s}`}e.s(["DEFAULT_ACCOUNT_PATH",0,r,"isSuperuserAuthCallbackUrl",0,function(e){let r=a(e).split(/[?#]/,1)[0];return"/superuser"===r||r.startsWith("/superuser/")},"resolveAuthCallbackUrl",0,a])},692891,e=>{"use strict";let r=(0,e.i(475254).default)("log-in",[["path",{d:"m10 17 5-5-5-5",key:"1bsop3"}],["path",{d:"M15 12H3",key:"6jk70r"}],["path",{d:"M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4",key:"u53s6r"}]]);e.s(["default",0,r])},204997,e=>{"use strict";var r=e.i(692891);e.s(["LogIn",()=>r.default])},582458,e=>{"use strict";let r=(0,e.i(475254).default)("triangle-alert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);e.s(["default",0,r])},878894,e=>{"use strict";var r=e.i(582458);e.s(["AlertTriangle",()=>r.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.