import{k as e}from"./client-only-CuDeK6DU.mjs";import{ref as r,mergeProps as o,defineAsyncComponent as i,unref as t,withCtx as s,createVNode as l,useSSRContext as n}from"vue";import{ssrRenderAttrs as a,ssrRenderComponent as m,ssrRenderAttr as d,ssrRenderStyle as u}from"vue/server-renderer";import{p as c}from"../_/nitro.mjs";import{b as p,u as h,k as f}from"./server.mjs";import{G as v}from"./seo-DYoMt0L4.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"unhead";import"@unhead/shared";import"vue-router";import"pinia";import"axios";const x=c("/images/hero.webp"),g=c("/images/hero.png"),j={__name:"HomeSlider",__ssrInlineRender:!0,setup(i){const{$axios:n}=f();let c=r(""),h=r("");const{locale:v}=p(),j=r(!0),b=r(!1);return(r,i,n,p)=>{const f=e;i(`<div${a(o({class:"hero-section"},p))}><div class="slider">`),t(b)?i("\x3c!----\x3e"):i(`<picture class="hero-picture"><source${d("srcset",x)} type="image/webp"><img${d("src",g)} alt="Khalej Auto - Your destination for cars in Saudi Arabia" class="hero-placeholder" fetchpriority="high" width="1920" height="1080" decoding="sync"></picture>`),t(j)&&!t(b)?(i('<div class="loading-overlay">'),i(m(f,null,{fallback:s(((e,r,o,i)=>{if(!r)return[l("div",{class:"loading-spinner-fallback"})];r(`<div class="loading-spinner-fallback"${i}></div>`)}))},n)),i("</div>")):i("\x3c!----\x3e"),t(j)?i("\x3c!----\x3e"):(i(`<div class="slider-iframe-wrap" style="${u({opacity:t(b)?1:0,transition:"opacity 0.3s"})}">`),"ar"==t(v)?i(`<iframe${d("src",t(c))} title="Khalej Auto Slider Arabic" frameborder="0" scrolling="no" class="slider-iframe"></iframe>`):i(`<iframe${d("src",t(h))} title="Khalej Auto Slider English" frameborder="0" scrolling="no" class="slider-iframe"></iframe>`),i("</div>")),i("</div></div>")}}},b=j.setup;j.setup=(e,r)=>{const o=n();return(o.modules||(o.modules=new Set)).add("components/home/HomeSlider.vue"),b?b(e,r):void 0};const S=i((()=>import("./HomeSearch-D5Jh-n9R.mjs").then((e=>e.default||e)))),w=i((()=>import("./HomeBrands-BOYScYMD.mjs").then((e=>e.default||e)))),H=i((()=>import("./HomeWhy-D5jDBU_s.mjs").then((e=>e.default||e)))),y=i((()=>import("./HomeCars-le1cEom8.mjs").then((e=>e.default||e)))),_=i((()=>import("./HomeOrder-D7P6F95S.mjs").then((e=>e.default||e)))),$=i((()=>import("./HomeHow-_nTwv67L.mjs").then((e=>e.default||e)))),A=i((()=>import("./HomeBanks-zhESHU2j.mjs").then((e=>e.default||e)))),D={__name:"index",__ssrInlineRender:!0,setup(e){const{locale:i}=p();h();const s=r(!1),l=r(!1),{setPageSeo:n}=v();return n({title:"ar"===i.value?"الرئيسية - خليج أوتو":"Home - Khalej Auto",description:"ar"===i.value?"خليج أوتو - وجهتك الأولى لشراء السيارات الجديدة والمستعملة في السعودية. تصفح أوسع مجموعة من السيارات بأفضل الأسعار والعروض الحصرية":"Khalej Auto - Your first destination for buying new and used cars in Saudi Arabia. Browse the widest collection of cars with the best prices and exclusive offers",path:""}),(e,r,i,n)=>{const d=j,u=S,c=w,p=H,h=y,f=_,v=$,x=A;r(`<div${a(o({style:{"min-height":"100vh"}},n))}>`),r(m(d,null,null,i)),r(m(u,null,null,i)),r(m(c,null,null,i)),t(s)?r(m(p,null,null,i)):r("\x3c!----\x3e"),t(s)?r(m(h,null,null,i)):r("\x3c!----\x3e"),t(l)?r(m(f,null,null,i)):r("\x3c!----\x3e"),t(l)?r(m(v,null,null,i)):r("\x3c!----\x3e"),t(l)?r(m(x,null,null,i)):r("\x3c!----\x3e"),r("</div>")}}},k=D.setup;D.setup=(e,r)=>{const o=n();return(o.modules||(o.modules=new Set)).add("pages/index.vue"),k?k(e,r):void 0};export{D as default};
