1import{r as b,q as O,P as S,c as i,o as n,a as r,b as t,h as o,e as m,m as u,i as l,t as d,T as z,_ as I,p as x,F as f,x as h,N as w}from"#entry";import{W as R,a as P,w as N}from"./pAYh3yWb.js";import{A as D}from"./CaVVEZRR.js";import{u as W}from"./D-GNixRz.js";import{u as F}from"./GyODDOTC.js";import{r as G}from"./C0aY1EV-.js";const q={key:0,class:"bg-gradient-to-r from-blue-700 to-blue-600 text-white text-xs overflow-hidden"},U={class:"container mx-auto px-4 py-2 flex justify-between items-center"},Y={class:"flex gap-6"},J=["href"],K={class:"container mx-auto px-4 flex justify-between items-center"},Q={class:"hidden lg:flex items-center gap-8 font-medium text-slate-600 text-sm"},X=["aria-expanded"],Z={key:0,class:"absolute top-full left-0 z-50 mt-3 w-[min(760px,calc(100vw-2rem))] max-lg:left-1/2 max-lg:-translate-x-1/2"},ee={class:"overflow-hidden rounded-xl border border-slate-200/90 bg-white shadow-[0_20px_50px_-12px_rgba(15,23,42,0.18)] ring-1 ring-black/5"},te={class:"grid grid-cols-1 lg:grid-cols-[1fr_220px]"},se={class:"p-5 sm:p-6"},oe={class:"grid grid-cols-2 sm:grid-cols-3 gap-1.5"},le=["innerHTML"],ae={class:"min-w-0 pt-0.5"},re={class:"block text-sm font-medium text-slate-900 group-hover/item:text-blue-700"},ne={class:"mt-0.5 block text-xs text-slate-500 leading-snug"},ie={class:"relative flex flex-col justify-between border-t border-slate-100 bg-gradient-to-b from-slate-50 to-slate-100/80 p-5 sm:p-6 lg:border-t-0 lg:border-l lg:border-slate-100"},ue={key:0,class:"absolute top-full left-0 mt-1 w-80 bg-white border border-gray-200 rounded-lg shadow-lg z-50"},de={class:"p-4 border-b border-gray-100"},pe={class:"text-sm text-gray-600"},ve={class:"mt-3"},ce={class:"flex flex-wrap gap-2"},me={class:"max-h-96 overflow-y-auto"},be={class:"grid grid-cols-2 gap-1 p-2"},xe={class:"flex items-center justify-between"},ge={class:"font-medium"},fe={class:"text-xs text-gray-500"},he={class:"p-3 border-t border-gray-100 bg-gray-50"},we={class:"flex items-center gap-3"},ke={key:0,class:"absolute top-1 right-1 bg-red-500 text-white text-[10px] w-4 h-4 flex items-center justify-center rounded-full border-2 border-white shadow-sm","aria-hidden":"true"},ye={class:"hidden sm:flex items-center gap-3 pl-3 border-l border-gray-300 ml-2"},Me=["aria-expanded"],Ce={key:0,id:"mobile-menu",class:"lg:hidden bg-white border-t overflow-hidden"},Ae={class:"px-4 py-2 space-y-2"},_e={key:0,class:"mt-1 rounded-xl border border-slate-200 bg-white p-2 space-y-0.5 shadow-sm"},ze=["innerHTML"],$e={class:"block text-sm font-medium text-slate-900"},je={class:"block text-xs text-slate-500"},Ve={key:0,class:"pl-4 mt-2 max-h-64 overflow-y-auto bg-gray-50 rounded-md"},He={class:"py-2 space-y-1"},Le={class:"pt-4 border-t"},Pe={__name:"Header",setup(Be){const{cantidadItems:$}=W(),k=b(!1),v=b(!1),c=b(!1),y=b(!1),p=b(!1),M=b(!1),j=D,V={limpieza:"M19.428 15.428a2 2 0 00-1.022-.547l-2.387-.477a6 6 0 00-3.86.517l-.318.158a6 6 0 01-3.86.517L6.05 15.21a2 2 0 00-1.806.547M8 4h8l-1 1v5.172a2 2 0 00.586 1.414l5 5c1.26 1.26.367 3.414-1.415 3.414H4.828c-1.782 0-2.674-2.154-1.414-3.414l5-5A2 2 0 009 10.172V5L8 4z",baterias:"M13 10V3L4 14h7v7l9-11h-7z",iluminacion:"M9.663 17h4.673M12 3v1m6.364 1.636l-.707.707M21 12h-1M4 12H3m3.343-5.657l-.707-.707m2.828 9.9a5 5 0 117.072 0l-.548.547A3.374 3.374 0 0014 18.469V19a2 2 0 11-4 0v-.531c0-.895-.356-1.754-.988-2.386l-.548-.547z",plumillas:"M3 15a4 4 0 004 4h9a5 5 0 10-.1-9.999 5.002 5.002 0 10-9.78 2.096A4.001 4.001 0 003 15z",filtros:"M3 4a1 1 0 011-1h16a1 1 0 011 1v2.586a1 1 0 01-.293.707l-6.414 6.414a1 1 0 00-.293.707V17l-4 4v-6.586a1 1 0 00-.293-.707L3.293 7.293A1 1 0 013 6.586V4z",fluidos:"M19.428 15.428a2 2 0 00-1.022-.547l-2.387-.477a6 6 0 00-3.86.517l-.318.158a6 6 0 01-3.86.517L6.05 15.21a2 2 0 00-1.806.547M8 4h8l-1 1v5.172a2 2 0 00.586 1.414l5 5c1.26 1.26.367 3.414-1.415 3.414H4.828c-1.782 0-2.674-2.154-1.414-3.414l5-5A2 2 0 009 10.172V5L8 4z",seguridad:"M9 12l2 2 4-4m5.618-4.016A11.955 11.955 0 0112 2.944a11.955 11.955 0 01-8.618 3.04A12.02 12.02 0 003 9c0 5.591 3.824 10.29 9 11.622 5.176-1.332 9-6.03 9-11.622 0-1.042-.133-2.052-.382-3.016z",interior:"M3 12l2-2m0 0l7-7 7 7M5 10v10a1 1 0 001 1h3m10-11l2 2m-2-2v10a1 1 0 01-1 1h-3m-6 0a1 1 0 001-1v-4a1 1 0 011-1h2a1 1 0 011 1v4a1 1 0 001 1m-6 0h6",exterior:"M13 16V6a1 1 0 00-1-1H4a1 1 0 00-1 1v10a1 1 0 001 1h1m8-1a1 1 0 01-1 1H9m4-1V8a1 1 0 011-1h2.586a1 1 0 01.707.293l3.414 3.414a1 1 0 01.293.707V16a1 1 0 01-1 1h-1m-6-1a1 1 0 001 1h1M5 17a2 2 0 104 0m-4 0a2 2 0 114 0m6 0a2 2 0 104 0m-4 0a2 2 0 114 0",electricidad:"M13 10V3L4 14h7v7l9-11h-7z",herramientas:"M10.325 4.317c.426-1.756 2.924-1.756 3.35 0a1.724 1.724 0 002.573 1.066c1.543-.94 3.31.826 2.37 2.37a1.724 1.724 0 001.065 2.572c1.756.426 1.756 2.924 0 3.35a1.724 1.724 0 00-1.066 2.573c.94 1.543-.826 3.31-2.37 2.37a1.724 1.724 0 00-2.572 1.065c-.426 1.756-2.924 1.756-3.35 0a1.724 1.724 0 00-2.573-1.066c-1.543.94-3.31-.826-2.37-2.37a1.724 1.724 0 00-1.065-2.572c-1.756-.426-1.756-2.924 0-3.35a1.724 1.724 0 001.066-2.573c-.94-1.543.826-3.31 2.37-2.37.996.608 2.296.07 2.572-1.065z M15 12a3 3 0 11-6 0 3 3 0 016 0z",varios:"M4 6a2 2 0 012-2h2a2 2 0 012 2v2a2 2 0 01-2 2H6a2 2 0 01-2-2V6zM14 6a2 2 0 012-2h2a2 2 0 012 2v2a2 2 0 01-2 2h-2a2 2 0 01-2-2V6zM4 16a2 2 0 012-2h2a2 2 0 012 2v2a2 2 0 01-2 2H6a2 2 0 01-2-2v-2zM14 16a2 2 0 012-2h2a2 2 0 012 2v2a2 2 0 01-2 2h-2a2 2 0 01-2-2v-2z"},H=g=>`<svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24" aria-hidden="true"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="1.75" d="${V[g]||V.varios}"/></svg>`,{getMarcas:L}=F(),C=L(),B=C.filter(g=>["audi","bmw","mercedes-benz","porsche","volvo","ford"].includes(g.slug)),_=()=>{k.value=window.scrollY>10};O(()=>
1{window.addEventListener("scroll",_),_()}),S(()=>{window.removeEventListener("scroll",_)});const T=()=>{window.open(N("Hola! Me interesa consultar sobre repuestos. ¿PodrÃan ayudarme?"),"_blank")},E=()=>{v.value=!v.value};return(g,e)=>{const a=I;return n(),i("header",{class:x(`fixed w-full z-50 transition-all duration-500 ${k.value?"shadow-lg":""}`)},[r(z,{"enter-active-class":"transition-all duration-500 ease-out","leave-active-class":"transition-all duration-500 ease-in","enter-from-class":"opacity-100 max-h-20","enter-to-class":"opacity-100 max-h-20","leave-from-class":"opacity-100 max-h-20","leave-to-class":"opacity-0 max-h-0 overflow-hidden"},{default:o(()=>[k.value?m("",!0):(n(),i("div",q,[t("div",U,[t("div",Y,[t("a",{href:u(R),class:"flex items-center gap-1.5 hover:text-blue-200 transition-colors"},[e[17]||(e[17]=t("svg",{class:"w-3.5 h-3.5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[t("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M3 5a2 2 0 012-2h3.28a1 1 0 01.948.684l1.498 4.493a1 1 0 01-.502 1.21l-2.257 1.13a11.042 11.042 0 005.516 5.516l1.13-2.257a1 1 0 011.21-.502l4.493 1.498a1 1 0 01.684.949V19a2 2 0 01-2 2h-1C9.716 21 3 14.284 3 6V5z"})],-1)),l(" "+d(u(P)),1)],8,J),e[18]||(e[18]=t("a",{href:"mailto:[email protected]",class:"hidden sm:flex items-center gap-1.5 hover:text-blue-200 transition-colors"},[t("svg",{class:"w-3.5 h-3.5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[t("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M3 8l7.89 5.26a2 2 0 002.22 0L21 8M5 19h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v10a2 2 0 002 2z"})]),l(" [email protected] ")],-1))]),e[19]||(e[19]=t("div",{class:"flex gap-6 font-medium"},[t("span",{class:"flex items-center gap-1.5"},[t("svg",{class:"w-3.5 h-3.5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[t("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"})]),l(" EnvÃo gratis > $500k ")]),t("span",{class:"flex items-center gap-1.5"},[t("svg",{class:"w-3.5 h-3.5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[t("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M9 12l2 2 4-4m5.618-4.016A11.955 11.955 0 0112 2.944a11.955 11.955 0 01-8.618 3.04A12.02 12.02 0 003 9c0 5.591 3.824 10.29 9 11.622 5.176-1.332 9-6.03 9-11.622 0-1.042-.133-2.052-.382-3.016z"})]),l(" GarantÃa extendida ")])],-1))])]))]),_:1}),t("div",{class:x(`transition-all duration-300 border-b border-gray-200/50 ${k.value?"bg-slate-50/90 backdrop-blur-md py-3":"bg-slate-50 py-5"}`)},[t("div",K,[r(a,{to:"/",class:"flex items-center gap-2 group"},{default:o(()=>[...e[20]||(e[20]=[t("div",{class:"bg-blue-600 text-white p-2.5 rounded-xl font-bold text-xl shadow-lg shadow-blue-600/20 transition-transform group-hover:scale-105"},"A",-1),t("div",{class:"leading-none"},[t("span",{class:"text-xl font-extrabold text-slate-800 tracking-tight group-hover:text-blue-700 transition-colors"},"Autopiezas360"),t("p",{class:"text-[10px] text-slate-500 font-medium tracking-wide hidden sm:block"},"IMPORTACIÃN DIRECTA")],-1)])]),_:1}),t("nav",Q,[r(a,{to:"/repuestos",class:"relative hover:text-blue-600 transition-colors py-2 group"},{default:o(()=>[...e[21]||(e[21]=[l(" Repuestos ",-1),t("span",{class:"absolute bottom-0 left-0 w-0 h-0.5 bg-blue-600 transition-all duration-300 group-hover:w-full"},null,-1)])]),_:1}),r(a,{to:"/aceite-motor",class:"relative hover:text-blue-600 transition-colors py-2 group"},{default:o(()=>[...e[22]||(e[22]=[l(" Aceite de motor ",-1),t("span",{class:"absolute bottom-0 left-0 w-0 h-0.5 bg-blue-600 transition-all duration-300 group-hover:w-full"},null,-1)])]),_:1}),t("div",{class:"relative",onMouseenter:e[3]||(e[3]=s=>p.value=!0),onMouseleave:e[4]||(e[4]=s=>p.value=!1)},[t("button",{type:"button",class:"relative hover:text-blue-600 transition-colors py-2 group flex items-center gap-1","aria-haspopup":"true","aria-expanded":p.value,"aria-label":"Menú de accesorios para autos",onClick:e[0]||(e[0]=s=>p.value=!p.value)},[e[24]||(e[24]=l(" Accesorios ",-1)),(n(),i("svg",{class:x(["w-3.5 h-3.5 transition-transform duration-200",p.value?"rotate-180":""]),fill:"none",stroke:"currentColor",viewBox:"0 0 24 24","aria-hidden":"true"},[...e[23]||(e[23]=[t("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M19 9l-7 7-7-7"},null,-1)])],2)),t("span",{class:x(["absolute bottom-0 left-0 h-0.5 bg-blue-600 transition-all duration-300",p.value?"w-full":"w-0 group-hover:w-full"])},null,2)],8,X),r(z,{"enter-active-class":"transition duration-150 ease-out","enter-from-class":"opacity-0 translate-y-1","enter-to-class":"opacity-100 translate-y-0","leave-active-class":"transition duration-100 ease-in","leave-from-class":"opacity-100 translate-y-0","leave-to-class":"opacity-0 translate-y-1"},{default:o(()=>[p.value?(n(),i("div",Z,[t("div",ee,[t("div",te,[t("div",se,[e[25]||(e[25]=t("p",{class:"mb-4 text-[11px] font-semibold uppercase tracking-[0.16em] text-slate-400"}
1," Comprar por categorÃa ",-1)),t("div",oe,[(n(!0),i(f,null,h(u(j),s=>(n(),w(a,{key:s.slug,to:`/accesorios-autos/${s.slug}`,class:"group/item flex items-start gap-3 rounded-lg px-3 py-2.5 transition-colors hover:bg-slate-50",onClick:e[1]||(e[1]=A=>p.value=!1)},{default:o(()=>[t("span",{class:"mt-0.5 flex h-9 w-9 shrink-0 items-center justify-center rounded-lg bg-slate-100 text-slate-600 transition-colors group-hover/item:bg-blue-50 group-hover/item:text-blue-700","aria-hidden":"true",innerHTML:H(s.slug)},null,8,le),t("span",ae,[t("span",re,d(s.nombre),1),t("span",ne,d(s.menuHint||s.descripcion),1)])]),_:2},1032,["to"]))),128))])]),t("div",ie,[e[27]||(e[27]=t("div",null,[t("p",{class:"text-[11px] font-semibold uppercase tracking-[0.16em] text-slate-400"}," Destacado "),t("h3",{class:"mt-2 text-base font-semibold text-slate-900 leading-snug"}," Accesorios universales "),t("p",{class:"mt-2 text-sm text-slate-600 leading-relaxed"}," Plumillas, baterÃas, limpieza e iluminación para cualquier auto. ")],-1)),r(a,{to:"/accesorios-autos",class:"mt-5 inline-flex items-center justify-center gap-2 rounded-lg bg-slate-900 px-4 py-2.5 text-sm font-medium text-white transition-colors hover:bg-blue-700",onClick:e[2]||(e[2]=s=>p.value=!1)},{default:o(()=>[...e[26]||(e[26]=[l(" Ver catálogo ",-1),t("span",{"aria-hidden":"true"},"â",-1)])]),_:1})])])])])):m("",!0)]),_:1})],32),t("div",{class:"relative",onMouseleave:e[10]||(e[10]=s=>c.value=!1)},[t("button",{onMouseenter:e[5]||(e[5]=s=>c.value=!0),onClick:e[6]||(e[6]=s=>c.value=!c.value),class:"relative hover:text-blue-600 transition-colors py-2 group flex items-center gap-1","aria-expanded":"false","aria-haspopup":"true","aria-label":"Menu de marcas de vehÃculos"},[...e[28]||(e[28]=[l(" Marcas ",-1),t("svg",{class:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24","aria-hidden":"true"},[t("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M19 9l-7 7-7-7"})],-1),t("span",{class:"absolute bottom-0 left-0 w-0 h-0.5 bg-blue-600 transition-all duration-300 group-hover:w-full"},null,-1)])],32),c.value?(n(),i("div",ue,[t("div",de,[e[30]||(e[30]=t("h3",{class:"font-semibold text-gray-800"},"Todas las Marcas",-1)),t("p",pe,d(u(C).length)+"+ marcas disponibles",1),t("div",ve,[e[29]||(e[29]=t("p",{class:"text-xs font-medium text-blue-600 mb-2"},"ALTA GAMA:",-1)),t("div",ce,[(n(!0),i(f,null,h(u(B),s=>(n(),w(a,{key:s.slug,to:`/repuestos/${s.slug}`,class:"px-2 py-1 bg-blue-100 text-blue-700 text-xs rounded-md hover:bg-blue-200 transition-colors",onClick:e[7]||(e[7]=A=>c.value=!1)},{default:o(()=>[l(d(s.nombre),1)]),_:2},1032,["to"]))),128))])])]),t("div",me,[t("div",be,[(n(!0),i(f,null,h(u(C),s=>(n(),w(a,{key:s.slug,to:`/repuestos/${s.slug}`,class:"block px-3 py-2 text-sm text-gray-700 hover:bg-blue-50 hover:text-blue-600 rounded-md transition-colors",onClick:e[8]||(e[8]=A=>c.value=!1)},{default:o(()=>[t("div",xe,[t("span",ge,d(s.nombre),1),t("span",fe,d(s.modelos)+"+",1)])]),_:2},1032,["to"]))),128))])]),t("div",he,[r(a,{to:"/repuestos",class:"block text-center text-sm text-blue-600 hover:text-blue-700 font-medium",onClick:e[9]||(e[9]=s=>c.value=!1)},{default:o(()=>[...e[31]||(e[31]=[l(" Ver todas las marcas â ",-1)])]),_:1})])])):m("",!0)],32),r(a,{to:"/categorias",class:"relative hover:text-blue-600 transition-colors py-2 group"},{default:o(()=>[...e[32]||(e[32]=[l(" CategorÃas ",-1),t("span",{class:"absolute bottom-0 left-0 w-0 h-0.5 bg-blue-600 transition-all duration-300 group-hover:w-full"},null,-1)])]),_:1}),r(a,{to:"/empresa",class:"relative hover:text-blue-600 transition-colors py-2 group"},{default:o(()=>[...e[33]||(e[33]=[l(" Empresa ",-1),t("span",{class:"absolute bottom-0 left-0 w-0 h-0.5 bg-blue-600 transition-all duration-300 group-hover:w-full"},null,-1)])]),_:1}),r(a,{to:"/contacto",class:"relative hover:text-blue-600 transition-colors py-2 group"},{default:o(()=>[...e[34]||(e[34]=[l(" Contacto ",-1),t("span",{class:"absolute bottom-0 left-0 w-0 h-0.5 bg-blue-600 transition-all duration-300 group-hover:w-full"},null,-1)])]),_:1}),t("button",{onClick:T,class:"bg-green-500/10 text-green-600 border border-green-500/20 px-4 py-2 rounded-full text-xs font-bold transition-all hover:bg-green-500 hover:text-white hover:shadow-lg hover:shadow-green-500/30 flex items-center gap-2 group"},[...e[35]||(e[35]=[t("span",{class:"w-2 h-2 bg-green-500 rounded-full animate-pulse group-hover:bg-white"},null,-1),l(" WhatsApp ",-1)])])]),t("div",we,[e[39]||(e[39]=t("button",{type:"button",class:"p-2.5 text-slate-600 hover:bg-blue-50 hover:text-blue-600 rounded-full transition-all duration-300 hidden sm:block","aria-label":"Buscar"},[t("svg",{class:"w-5 h-5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24","aria-hidden":"true"},[t("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z"})])],-1)),r(a,{to:"/carrito",class:"relative p-2.5 hover:bg-blue-50 rounded-full transition-all group","aria-label":"Ir al carrito"},{default:o(()=>[r(u(G),{class:"w-5 h-5 text-slate-600 group-hover:text-blue-600 transition-colors","aria-hidden":"true"}),u($)>0?(n(),i("span",ke,d(u($)),1)):m("",!0)]),_:1}),t("div",ye,[r(a,{to:"/login",class:"text-sm font-semibold text-slate-600 hover:text-blue-600 transition-colors"},{default:o(()=>[...e[36]||(e[36]=[l(" Entrar ",-1)])]),_:1}),r(a,{to:"/registro",class:"px-5 py-2 bg-blue-600 hover:bg-blue-700 text-white rounded-lg text-sm font-bold shadow-lg shadow-blue-600/20 transition-all hover:-translate-y-0.5 active:translate-y-0"},{default:o(()=>
1[...e[37]||(e[37]=[l(" Registrarse ",-1)])]),_:1})]),t("button",{type:"button",onClick:E,class:"lg:hidden p-2 text-slate-700 hover:bg-slate-200 rounded-lg","aria-expanded":v.value,"aria-controls":"mobile-menu","aria-label":"Abrir menú de navegación"},[...e[38]||(e[38]=[t("svg",{class:"w-6 h-6",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24","aria-hidden":"true"},[t("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M4 6h16M4 12h16M4 18h16"})],-1)])],8,Me)])]),r(z,{"enter-active-class":"transition-all duration-300 ease-out","leave-active-class":"transition-all duration-300 ease-in","enter-from-class":"opacity-0 max-h-0","enter-to-class":"opacity-100 max-h-screen","leave-from-class":"opacity-100 max-h-screen","leave-to-class":"opacity-0 max-h-0"},{default:o(()=>[v.value?(n(),i("div",Ce,[t("div",Ae,[r(a,{to:"/repuestos",class:"block py-2 text-slate-600 hover:text-blue-600"},{default:o(()=>[...e[40]||(e[40]=[l("Repuestos",-1)])]),_:1}),r(a,{to:"/aceite-motor",class:"block py-2 text-slate-600 hover:text-blue-600"},{default:o(()=>[...e[41]||(e[41]=[l("Aceite de motor",-1)])]),_:1}),t("div",null,[t("button",{type:"button",class:"flex items-center justify-between w-full py-2 text-slate-600 hover:text-blue-600",onClick:e[11]||(e[11]=s=>M.value=!M.value)},[e[43]||(e[43]=t("span",null,"Accesorios",-1)),(n(),i("svg",{class:x([{"transform rotate-180":M.value},"w-4 h-4 transition-transform"]),fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[...e[42]||(e[42]=[t("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M19 9l-7 7-7-7"},null,-1)])],2))]),M.value?(n(),i("div",_e,[r(a,{to:"/accesorios-autos",class:"flex items-center justify-between rounded-lg bg-slate-900 px-3 py-2.5 text-sm font-medium text-white",onClick:e[12]||(e[12]=s=>v.value=!1)},{default:o(()=>[...e[44]||(e[44]=[l(" Ver todos los accesorios ",-1),t("span",{"aria-hidden":"true"},"â",-1)])]),_:1}),(n(!0),i(f,null,h(u(j),s=>(n(),w(a,{key:s.slug,to:`/accesorios-autos/${s.slug}`,class:"flex items-start gap-3 rounded-lg px-3 py-2.5 hover:bg-slate-50",onClick:e[13]||(e[13]=A=>v.value=!1)},{default:o(()=>[t("span",{class:"mt-0.5 flex h-8 w-8 shrink-0 items-center justify-center rounded-md bg-slate-100 text-slate-600","aria-hidden":"true",innerHTML:H(s.slug)},null,8,ze),t("span",null,[t("span",$e,d(s.nombre),1),t("span",je,d(s.menuHint),1)])]),_:2},1032,["to"]))),128))])):m("",!0)]),t("div",null,[t("button",{onClick:e[14]||(e[14]=s=>y.value=!y.value),class:"flex items-center justify-between w-full py-2 text-slate-600 hover:text-blue-600"},[e[46]||(e[46]=t("span",null,"Marcas",-1)),(n(),i("svg",{class:x([{"transform rotate-180":y.value},"w-4 h-4 transition-transform"]),fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[...e[45]||(e[45]=[t("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M19 9l-7 7-7-7"},null,-1)])],2))]),y.value?(n(),i("div",Ve,[t("div",He,[(n(!0),i(f,null,h(u(C).slice(0,20),s=>(n(),w(a,{key:s.slug,to:`/repuestos/${s.slug}`,class:"block px-3 py-1 text-sm text-gray-600 hover:text-blue-600",onClick:e[15]||(e[15]=A=>v.value=!1)},{default:o(()=>[l(d(s.nombre),1)]),_:2},1032,["to"]))),128)),r(a,{to:"/repuestos",class:"block px-3 py-2 text-sm text-blue-600 font-medium border-t border-gray-200 mt-2 pt-2",onClick:e[16]||(e[16]=s=>v.value=!1)},{default:o(()=>[...e[47]||(e[47]=[l(" Ver todas las marcas â ",-1)])]),_:1})])])):m("",!0)]),r(a,{to:"/categorias",class:"block py-2 text-slate-600 hover:text-blue-600"},{default:o(()=>[...e[48]||(e[48]=[l("CategorÃas",-1)])]),_:1}),r(a,{to:"/empresa",class:"block py-2 text-slate-600 hover:text-blue-600"},{default:o(()=>[...e[49]||(e[49]=[l("Empresa",-1)])]),_:1}),r(a,{to:"/contacto",class:"block py-2 text-slate-600 hover:text-blue-600"},{default:o(()=>[...e[50]||(e[50]=[l("Contacto",-1)])]),_:1}),t("div",Le,[r(a,{to:"/login",class:"block py-2 text-slate-600 hover:text-blue-600"},{default:o(()=>[...e[51]||(e[51]=[l("Entrar",-1)])]),_:1}),r(a,{to:"/registro",class:"block py-2 text-blue-600 hover:text-blue-700"},{default:o(()=>[...e[52]||(e[52]=[l("Registrarse",-1)])]),_:1})])])])):m("",!0)]),_:1})],2)],2)}}};export{Pe as _};
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.