PageSourceSearch

https://repuestos-d6c3d.firebaseapp.com/_nuxt/znbaUako.js

js repuestos-d6c3d.firebaseapp.com collected 2026-10-03 08:14:54 UTC 952 bytes, 1 lines download raw bytes

1import{_ as f}from"./BsqTxom4.js";import{u as h,j as b,r as l,q as D,c as g,o as v,b as t,a8 as x,t as r,m as n}from"#entry";const y={class:"min-h-screen bg-gray-50"},w={class:"p-8"},E={class:"text-2xl font-bold mb-4"},R={__name:"dashboard-simple",setup(A){h({meta:[{name:"robots",content:"noindex, nofollow"}]});const{$firebaseAuth:u,$firestore:d}=b(),c=l({}),s=l("cliente");return D(async()=>{const e=u?.currentUser;if(e){c.value=e;try{const{doc:o,getDoc:_}=await f(async()=>{const{doc:a,getDoc:m}=await import("#entry").then(p=>p.aC);return{doc:a,getDoc:m}},[],import.meta.url),i=await _(o(d,"users",e.uid));if(i.exists()){const a=i.data();s.value=a.role||"cliente"}}catch(o){console.error("Error cargando datos del usuario:",o)}}}),(e,o)=>(v(),g("div",y,[t("div",w,[t("h1",E,"Dashboard Simple - "+r(n(s)),1),t("p",null,"Usuario: "+r(n(c)?.email||"No autenticado"),1),t("p",null,"Rol: "+r(n(s)),1),x(e.$slots,"default")])]))}};export{R 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.