import{m as o}from"./carCard-BmOv0Cuo.mjs";import{a as r,u as t,_ as e}from"./server.mjs";import{mergeProps as s,unref as i,withCtx as m,createVNode as a,toDisplayString as n,useSSRContext as c}from"vue";import{ssrRenderAttrs as p,ssrInterpolate as d,ssrRenderList as l,ssrRenderComponent as u}from"vue/server-renderer";import"./NuxtImg-CUgs9eQf.mjs";import"../_/nitro.mjs";import"node:http";import"node:https";import"nitropack/dist/runtime/plugin";import"packrup";import"node:fs";import"node:url";import"consola/core";import"node:path";import"./riyal-BwoU6xRW.mjs";import"./car-BMObURKw.mjs";import"pinia";import"unhead";import"@unhead/shared";import"vue-router";import"axios";const v={__name:"HomeCars",__ssrInlineRender:!0,setup(c){const v=r();let x=t();return(r,t,c,f)=>{const h=o,b=e;t(`<div${p(s({class:"cars-section-home"},f))}><div class="container"><div class="text"><h2 class="mobileHead">${d(r.$t("cars"))}</h2><p>${d(r.$t("car1"))}</p></div>`),i(x).carsHome?(t('<div class="row">\x3c!--[--\x3e'),l(i(x).carsHome.slice(0,4),((o,r)=>{t('<div class="col-12 col-xl-3 col-lg-4 col-md-6 mb-5">'),t(u(h,{item:o},null,c)),t("</div>")})),t("\x3c!--]--\x3e</div>")):t("\x3c!----\x3e"),t('<div class="d-flex align-items-center justify-content-center">'),t(u(b,{"aria-label":"more",to:i(v)("/cars")},{default:m(((o,t,e,s)=>{if(!t)return[a("button",{class:"more-btn"},n(r.$t("more")),1)];t(`<button class="more-btn"${s}>${d(r.$t("more"))}</button>`)})),_:1},c)),t("</div></div></div>")}}},x=v.setup;v.setup=(o,r)=>{const t=c();return(t.modules||(t.modules=new Set)).add("components/home/HomeCars.vue"),x?x(o,r):void 0};export{v as default};
