module.exports=[93695,(a,b,c)=>{b.exports=a.x("next/dist/shared/lib/no-fallback-error.external.js",()=>require("next/dist/shared/lib/no-fallback-error.external.js"))},70864,a=>{a.n(a.i(33290))},43619,a=>{a.n(a.i(79962))},13718,a=>{a.n(a.i(85523))},18198,a=>{a.n(a.i(45518))},62212,a=>{a.n(a.i(66114))},39513,a=>{"use strict";var b=a.i(60780);a.s(["servicesService",0,{getServices:async(a=1)=>b.apiClient.get(`/api/services?page=${a}`),getServiceBySlug:async a=>(await b.apiClient.get(`/api/service/${a}`)).data}])},29031,a=>{"use strict";var b=a.i(7997),c=a.i(14633),d=a.i(39513),e=a.i(95936),f=a.i(3236),g=a.i(87705),h=a.i(72030),i=a.i(43917),j=a.i(70304);async function k(){let a=process.env.NEXT_PUBLIC_SITE_URL||"https://capitaltours.com";return{title:"خدماتنا | Capital Tours",description:"اكتشف مجموعة متنوعة من الخدمات السياحية من Capital Tours. خدمات متكاملة لتجربة سفر مميزة.",alternates:{canonical:`${a}/services`},openGraph:{title:"خدماتنا | Capital Tours",description:"اكتشف مجموعة متنوعة من الخدمات السياحية",url:`${a}/services`,type:"website"}}}async function l({searchParams:a}){let k=Number((await a).page)||1,l=await d.servicesService.getServices(k),m=l.data,n=l.pagination;return(0,b.jsxs)("main",{className:"container mx-auto px-4 pb-20",children:[(0,b.jsx)(c.default,{title:"خدماتنا",image:"/maldives_aerial_trip_a.png",breadcrumbs:[{label:"الرئيسية",href:"/"},{label:"خدماتنا",href:"/services"}]}),(0,b.jsxs)("section",{className:"py-12",children:[(0,b.jsx)("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-6",children:m.map((a,c)=>(0,b.jsx)(j.default,{direction:"up",delay:c%4*.1,duration:.6,children:(0,b.jsx)(e.default,{href:`/services/${a.slug}`,children:(0,b.jsxs)("div",{className:"bg-white rounded-3xl overflow-hidden shadow-lg hover:shadow-xl transition-shadow group",children:[(0,b.jsx)("div",{className:"relative aspect-video",children:(0,b.jsx)(f.default,{src:a.thumbnail,alt:a.name,fill:!0,className:"object-cover group-hover:scale-105 transition-transform duration-300"})}),(0,b.jsxs)("div",{className:"p-5",dir:"rtl",children:[(0,b.jsx)("h3",{className:"text-xl font-bold text-gray-900 mb-2",children:a.name}),a.price&&"0.00"!==a.price&&(0,b.jsxs)("p",{className:"text-[#00838F] font-bold",children:[a.price," ",a.currency]})]})]})})},a.id))}),n.lastPage>1&&(0,b.jsxs)("div",{className:"flex justify-center items-center gap-2 mt-12",children:[(0,b.jsx)(e.default,{href:`/services?page=${Math.max(1,k-1)}`,className:1===k?"pointer-events-none opacity-50":"",children:(0,b.jsx)(i.Button,{variant:"outline",size:"icon",className:"rounded-full w-10 h-10 border-gray-200",disabled:1===k,children:(0,b.jsx)(h.ChevronRight,{className:"w-5 h-5"})})}),Array.from({length:n.lastPage},(a,b)=>b+1).map(a=>(0,b.jsx)(e.default,{href:`/services?page=${a}`,children:(0,b.jsx)(i.Button,{variant:k===a?"default":"outline",className:`rounded-full w-10 h-10 ${k===a?"bg-[#00838F] hover:bg-[#006064] text-white":"border-gray-200 text-gray-600 hover:border-[#00838F] hover:text-[#00838F]"}`,children:a})},a)),(0,b.jsx)(e.default,{href:`/services?page=${Math.min(n.lastPage,k+1)}`,className:k===n.lastPage?"pointer-events-none opacity-50":"",children:(0,b.jsx)(i.Button,{variant:"outline",size:"icon",className:"rounded-full w-10 h-10 border-gray-200",disabled:k===n.lastPage,children:(0,b.jsx)(g.ChevronLeft,{className:"w-5 h-5"})})})]})]})]})}a.s(["default",()=>l,"generateMetadata",()=>k])}];

//# sourceMappingURL=%5Broot-of-the-server%5D__7b1f0fda._.js.map