import{g as a,h as e,b as i,s as t,_ as s}from"./server.mjs";import{i as r}from"./loading-CegsFr7T.mjs";import{ref as d,watch as v,withCtx as o,createTextVNode as l,toDisplayString as n,unref as c,useSSRContext as m}from"vue";import{ssrRenderStyle as p,ssrRenderComponent as u,ssrInterpolate as h,ssrRenderAttr as g,ssrRenderList as x}from"vue/server-renderer";import{h as w}from"./services-ClXDk-mU.mjs";import{G as f}from"./seo-DYoMt0L4.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"unhead";import"@unhead/shared";import"vue-router";import"pinia";import"axios";const $={__name:"[slug]",__ssrInlineRender:!0,setup(a){const m=e();d(m.params.slug);const{locale:$}=i(),{setPageSeo:b}=f();let j=w();return v((()=>m.params.slug),(async a=>{var e,i,s,r;if(await j.getServiceBySlug(a),!j.service)throw t({statusCode:404,statusMessage:"Service not found"});b({title:"ar"===$.value?(null==(e=j.service)?void 0:e.title)||"الخدمات - خليج أوتو":(null==(i=j.service)?void 0:i.title)||"Services - Khalej Auto",description:"ar"===$.value?(null==(s=j.service)?void 0:s.description)||"اكتشف خدمات خليج أوتو المتنوعة في مجال السيارات بالمملكة العربية السعودية":(null==(r=j.service)?void 0:r.description)||"Discover Khalej Auto's diverse car services in Saudi Arabia",path:`/services/${m.params.slug}`})}),{immediate:!0}),(a,e,i,t)=>{var d,v,m,w,f,$,b;const _=s,k=r;e(`\x3c!--[--\x3e<div style="${p({"min-height":"100vh"})}" data-v-3645eaa2><div class="containe services-page" data-v-3645eaa2></div><div class="main-container" data-v-3645eaa2><div class="row-container" data-v-3645eaa2><div class="container" data-v-3645eaa2><div class="text-page" data-v-3645eaa2><nav class="breadline" aria-label="Breadcrumb" data-v-3645eaa2>`),e(u(_,{to:"/"},{default:o(((e,i,t,s)=>{if(!i)return[l(n(a.$t("home")),1)];i(`${h(a.$t("home"))}`)})),_:1},i)),e(`<svg class="arrowDir" xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true" data-v-3645eaa2><path d="M9.99998 13.28L5.65331 8.9333C5.13998 8.41997 5.13998 7.57997 5.65331 7.06664L9.99998 2.71997" stroke="#A7B9D0" stroke-width="1.5" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round" data-v-3645eaa2></path></svg><span aria-current="page" data-v-3645eaa2>${h(null==(d=c(j).service)?void 0:d.title)}</span></nav><div data-v-3645eaa2><h1 class="title mobileHead" data-v-3645eaa2>${h(null==(v=c(j).service)?void 0:v.title)}</h1><svg xmlns="http://www.w3.org/2000/svg" width="150" height="3" viewBox="0 0 50 3" fill="none" data-v-3645eaa2><rect x="11.9048" width="78.0952" height="3.00022" rx="1.50011" fill="#2D9596" data-v-3645eaa2></rect><rect opacity="0.9" width="5.14286" height="3.00022" rx="1.50011" fill="#2D9596" data-v-3645eaa2></rect></svg></div></div><div class="img-container w-100" data-v-3645eaa2>`),(null==(m=c(j).service)?void 0:m.image)?e(`<img${g("src",c(j).service.image)}${g("alt",null==(w=c(j).service)?void 0:w.title)} class="img-fluid w-100 h-100 rounded-3 object-fit-cover" loading="lazy" data-v-3645eaa2>`):e("\x3c!----\x3e"),e(`<div class="layer" data-v-3645eaa2><h2 class="text-white text-capitalize" data-v-3645eaa2>${h(null==(f=c(j).service)?void 0:f.title)}</h2></div></div><div class="text-container" data-v-3645eaa2><h2 class="mb-3 fs-5" data-v-3645eaa2>${h(a.$t("description"))}</h2><p class="mb-5 service-description" data-v-3645eaa2>${h(null==($=c(j).service)?void 0:$.description)}</p><div class="features mb-5" data-v-3645eaa2><h3 class="mb-3 fs-5" data-v-3645eaa2>${h(a.$t("features"))}</h3><div class="items" data-v-3645eaa2>\x3c!--[--\x3e`),x(null==(b=c(j).service)?void 0:b.advantage,((a,i)=>{e(`<div class="item mb-2" data-v-3645eaa2>${h(i+1)} - ${h(a.title)}</div>`)})),e("\x3c!--]--\x3e</div></div></div></div></div></div></div>"),c(j).isLoading?e(u(k,null,null,i)):e("\x3c!----\x3e"),e("\x3c!--]--\x3e")}}},b=$.setup;$.setup=(a,e)=>{const i=m();return(i.modules||(i.modules=new Set)).add("pages/services/[slug].vue"),b?b(a,e):void 0};const j=a($,[["__scopeId","data-v-3645eaa2"]]);export{j as default};
