1import{_ as As}from"./BO6Wl-1O.js";import{_ as js}from"./BfriSY0v.js";import{q as Qa,m as Za,c1 as Ds,ag as Xa,x as U,r as k,b as Ns,o as zt,w as pt,ax as es,y as ts,e as n,f as l,g as e,j as h,B as _e,A as c,t as s,F as L,D as Z,k as Ge,$ as ct,n as u,R as E,E as F,a4 as ft,C as Ce,z as Xe,v as qa,Z as as,T as Rs,X as Os,l as Ct,c as ss,c2 as Us,G as rs,c3 as Ls,H as Mt,p as Vs,a1 as Bs,a5 as Es,U as Hs,s as qs,a6 as Gs,a7 as Fs,V as Ga,a8 as $t,S as Fa,Q as Ya,aq as Ys,ac as Tt,al as Ks}from"./MScFIUOs.js";import{_ as Ws}from"./DuCotAMr.js";import{_ as Js}from"./DyV2VnBr.js";import{S as Ka,C as Wa}from"./184IhfSr.js";/* empty css */import St from"./__Fcajm5.js";import{_ as Qs}from"./DY3RzCOp.js";import{_ as Zs}from"./DmkiZ1F3.js";import"./DWyQW1Ja.js";/* empty css */import{_ as Xs}from"./BTQ7fVEs.js";import{_ as er}from"./CyJKPqL7.js";import{u as os,a as tr}from"./Cv1peTJS.js";import{s as ls}from"./BzQobPnJ.js";import{a as ar}from"./SVq-z4NS.js";import{g as sr}from"./DzHseQI_.js";import{u as rr}from"./DU1rQia-.js";import{u as or}from"./DAyJBlYm.js";import"./C1r6XIUm.js";import"./D7pRwJCk.js";import"./CONDxKki.js";import"./Cxh4yMQg.js";import"./CDakn_jg.js";import"./DgsAikK1.js";import"./Bw2kHGSC.js";import"./BAsu97Zu.js";import"./DtH-KdaZ.js";import"./B849jNiC.js";import"./D5lRkQQW.js";import"./B_r3AdqB.js";import"./CgpT6q-G.js";import"./CR_ltcx7.js";/* empty css */import"./B4IWg5Wh.js";import"./CHTlToj7.js";import"./B4YakDXi.js";import"./DYrt9amH.js";import"./Bpwe5D3V.js";import"./DtVks4Oh.js";import"./DAjo_cBH.js";import"./D1rlm_zp.js";import"./3m3B6CsZ.js";import"./B9cKYqJO.js";import"./bqIFqzdE.js";import"./B_D4qWnB.js";import"./BorCAH2M.js";const lr=as(Xs),nr={class:"rounded-xl border border-slate-200 bg-white p-4 shadow-sm"},ir={class:"flex items-center justify-between mb-1"},dr={class:"flex items-center gap-2 mb-2"},ur={class:"flex h-7 w-7 items-center justify-center rounded-full bg-slate-100 text-slate-700"},cr={class:"mb-0 text-sm font-semibold text-slate-800 leading-4"},mr={class:"mb-0 text-[11px] text-slate-400 leading-4"},pr={class:"mb-3 grid grid-cols-3 gap-2"},fr={class:"rounded-xl border border-slate-200 bg-slate-50 px-2 py-1.5 text-center"},hr={class:"text-[10px] text-slate-700"},gr={class:"text-sm font-semibold text-slate-800"},br={class:"rounded-xl border border-slate-200 bg-slate-50 px-2 py-1.5 text-center"},vr={class:"text-[10px] text-slate-700"},yr={class:"text-sm font-semibold text-slate-800"},_r={class:"rounded-xl border border-slate-200 bg-slate-50 px-2 py-1.5 text-center"},xr={class:"text-[10px] text-slate-700"},kr={class:"text-sm font-semibold text-slate-800"},wr={class:"flex flex-col gap-2"},$r={class:"flex items-center justify-between mb-2"},Tr={class:"text-[12px] font-semibold text-slate-700"},Sr=["onClick"],Pr={class:"grid grid-cols-3 gap-2"},zr={class:"text-[10px] font-semibold text-slate-500"},Cr=["onUpdate:modelValue"],Mr={class:"text-[10px] font-semibold text-slate-500"},Ir=["onUpdate:modelValue"],Ar={class:"text-[10px] font-semibold text-slate-500"},jr=["onUpdate:modelValue"],Dr={key:0,class:"mt-3 rounded-xl border border-slate-200 bg-gradient-to-b from-slate-50 to-white p-3"},Nr={class:"flex items-center gap-2 mb-3"},Rr={class:"flex h-6 w-6 items-center justify-center rounded-full bg-slate-100 text-slate-600"},Or={class:"text-[11px] font-semibold text-slate-700 m-0"},Ur={class:"ml-auto text-[10px] text-slate-400"},Lr={class:"flex flex-col gap-3"},Vr={class:"flex items-center justify-between mb-2"},Br={class:"flex items-center gap-1.5 text-[11px] font-bold text-slate-600"},Er={class:"flex h-5 w-5 items-center justify-center rounded-full bg-blue-100 text-blue-700 text-[9px] font-bold"},Hr={key:0,class:"text-slate-600 font-semibold"},qr=["onClick"],Gr={class:"mb-2"},Fr={class:"text-[10px] text-slate-500 font-medium block mb-0.5"},Yr=["onUpdate:modelValue","onChange"],Kr={value:""},Wr=["value"],Jr={key:0},Qr={class:"text-[10px] text-slate-500 font-medium block mb-1.5"},Zr={class:"flex flex-col gap-2"},Xr=["onClick"],eo={key:0,viewBox:"0 0 80 48",class:"w-full h-full p-1.5",role:"img","aria-label":"BeÅik"},to=["fill","stroke"],ao=["fill"],so=["stroke"],ro=["stroke"],oo=["stroke"],lo=["fill"],no={key:1,viewBox:"0 0 80 48",class:"w-full h-full p-1.5",role:"img","aria-label":"Ãift kiÅilik yatak paylaÅımlı"},io=["fill","stroke"],uo=["fill"],co=["fill"],mo=["fill"],po=["fill"],fo={key:2,viewBox:"0 0 100 48",class:"w-full h-full p-1",role:"img","aria-label":"Ãift yatak ve ek yatak"},ho=["fill","stroke"],go=["fill"],bo=["fill"],vo=["fill"],yo=["fill","stroke"],_o=["fill"],xo=["fill"],ko={key:3,class:"absolute top-1 right-1 flex h-4 w-4 items-center justify-center rounded-full bg-sky-500"},wo={class:"flex-1 min-w-0"},$o={class:"flex-shrink-0 text-right"},To={key:1},So={class:"flex items-center gap-3 rounded-xl border border-green-200 bg-green-50 p-2.5"},Po={class:"flex-shrink-0 w-16 h-10 rounded-lg overflow-hidden flex items-center justify-center bg-green-100"},zo={key:0,viewBox:"0 0 80 48",class:"w-full h-full p-1",role:"img"},Co={key:1,viewBox:"0 0 80 48",class:"w-full h-full p-1",role:"img"},Mo={key:2,viewBox:"0 0 100 48",class:"w-full h-full p-1",role:"img"},Io={class:"flex-1 min-w-0"},Ao={class:"text-[11px] font-bold text-green-700 leading-tight"},jo={class:"text-[10px] text-green-600 leading-snug mt-0.5"},Do={class:"text-[9px] text-slate-400"},No={class:"text-right flex-shrink-0"},Ro={class:"text-sm font-bold text-green-700"},Oo={class:"text-[9px] text-green-500"},Uo={key:2,class:"flex items-center gap-1.5 rounded-lg border border-rose-100 bg-rose-50 px-2.5 py-2 text-[10px] text-rose-600"},Lo={key:1,class:"text-[10px] text-slate-400 italic text-center py-1"},Vo={key:0,class:"mt-2 flex items-center gap-1.5 rounded-lg border border-slate-300 bg-slate-100 px-2.5 py-1.5 text-[10px] text-slate-700"},Bo={class:"flex items-center justify-between rounded-lg border border-slate-200 bg-slate-50 px-3 py-2 mt-3"},Eo={class:"m-0 text-sm text-slate-600 font-semibold"},Ho={class:"text-green-900 text-xl font-bold m-0"},qo={class:"flex flex-col md:flex-row gap-3 my-3"},Go=["aria-label"],Fo={class:"flex max-h-[92dvh] w-full py-0 flex-col overflow-hidden rounded-t-3xl bg-white shadow-2xl sm:max-w-lg sm:rounded-2xl"},Yo={class:"flex items-start justify-between gap-4 border-b border-slate-100 bg-gradient-to-r from-brand-50 via-white to-accent-50 px-5 py-4"},Ko={class:"flex min-w-0 items-start gap-3"},Wo={class:"inline-flex h-10 w-10 shrink-0 items-center justify-center rounded-xl bg-teal-100 text-teal-700"},Jo={class:"min-w-0"},Qo={class:"mb-0 text-lg font-bold text-slate-900"},Zo={class:"mb-0 mt-0.5 text-xs leading-5 text-slate-500"},Xo=["aria-label"],el={class:"mb-4 grid grid-cols-3 gap-2"},tl={class:"rounded-xl border border-slate-200 bg-slate-50 p-2 text-center"},al={class:"block text-[10px] text-slate-500"},sl={class:"text-sm text-slate-800"},rl={class:"rounded-xl border border-slate-200 bg-slate-50 p-2 text-center"},ol={class:"block text-[10px] text-slate-500"},ll={class:"text-sm text-slate-800"},nl={class:"rounded-xl border border-teal-200 bg-teal-50 p-2 text-center"},il={class:"block text-[10px] text-teal-600"},dl={class:"whitespace-nowrap text-sm text-teal-800"},ul={key:0,class:"space-y-4"},cl={for:"pre-reservation-name",class:"mb-1.5 block text-sm font-semibold text-slate-700"},ml={class:"mb-1.5 block text-sm font-semibold text-slate-700"},pl={for:"pre-reservation-email",class:"mb-1.5 block text-sm font-semibold text-slate-700"},fl={key:1,class:"mt-4 rounded-xl border border-rose-200 bg-rose-50 p-3 text-sm text-rose-700",role:"alert"},hl={key:2,class:"rounded-xl border border-emerald-200 bg-emerald-50 p-5 text-center text-emerald-700"},gl={class:"mb-0 font-bold"},bl={class:"mb-0 mt-1 text-xs"},vl={class:"mt-5 flex gap-2 border-t border-slate-100 pt-4"},yl=["disabled"],_l={__name:"reservation-panel",props:{tour:Object,currency:String},setup(b){const x=b,{locale:C}=Qa(),A=ss(),{createRecaptcha:G}=Za(),{trackEvent:j,getAttributionPayload:V}=Ds(),v=Xa(),{normalizeChildrenAges:re,getRoomKidsCount:B,getReservationTotals:ce,removeChildFromRooms:fe,loadReservationSelection:he,saveReservationSelection:me}=os(),ae=U(()=>B(v.value)),g=U(()=>ce(v.value)),H=k(!1),ne=d=>{if(d==null)return 0;const f=Number(String(d).replace(",","."));return Number.isFinite(f)?f:0},ke={SINGLE:"dFJvb21zMTUzMzUwMDgyNgqq",DOUBLE:"dFJvb21zMTUzMzUwMDc4Mgqq",TRIPLE:"dFJvb21zMTUzMzUwMDgwNwqq",QUAD:"dFJvb21zMTU3NDQyNDg0OQqq"},Le=d=>d<=1?ke.SINGLE:d===2?ke.DOUBLE:d===3?ke.TRIPLE:ke.QUAD,D=d=>{var $,p;const f=Le(ne(d)),T=((($=x.tour)==null?void 0:$.prices)||[]).filter(M=>(M==null?void 0:M.turf_PaxType)==="turAdult"),w=T.find(M=>(M==null?void 0:M.turf_RoomType)===f);if(w)return ne(w==null?void 0:w.turf_Price);const m=T.find(M=>(M==null?void 0:M.turf_RoomType)===ke.DOUBLE);return ne(m?m==null?void 0:m.turf_Price:(p=T[0])==null?void 0:p.turf_Price)},N=k([]),X=()=>{v.value.childPriceSelections=N.value.map(d=>({age:d.age,selectedPriceType:d.selectedPriceType,selectedPriceId:d.selectedPriceId}))},Q=d=>{var T;if(d===""||d===null||d===void 0)return[];const f=parseInt(String(d),10);return isNaN(f)?[]:(((T=x.tour)==null?void 0:T.prices)||[]).filter(w=>["turBaby","turChild","turChildNoBed"].includes(w==null?void 0:w.turf_PaxType)&&f>=ne(w==null?void 0:w.turf_MinAge)&&f<=ne(w==null?void 0:w.turf_MaxAge))},o=d=>(d==null?void 0:d.turf_PaxType)==="turBaby"?C.value==="tr"?"Bebek":"Baby":(d==null?void 0:d.turf_PaxType)==="turChildNoBed"?C.value==="tr"?"Ãocuk (Yataksız)":"Child (No Bed)":(d==null?void 0:d.turf_PaxType)==="turChild"?C.value==="tr"?"Ãocuk (Yataklı)":"Child (With Bed)":C.value==="tr"?"Ãocuk":"Child",S=(d,f)=>d.selectedPriceType===f.turf_PaxType&&d.selectedPriceId===(f.turf_RoomType||f.turf_PaxType),ge=(d,f)=>{N.value[d].selectedPriceType=f.turf_PaxType,N.value[d].selectedPriceId=f.turf_RoomType||f.turf_PaxType,ee(
1)},et=d=>{const f=Q(N.value[d].age);f.length===1?(N.value[d].selectedPriceType=f[0].turf_PaxType,N.value[d].selectedPriceId=f[0].turf_RoomType||f[0].turf_PaxType):(f.length===0||f.length>1)&&(f.find(w=>S(N.value[d],w))||(N.value[d].selectedPriceType=null,N.value[d].selectedPriceId=null))},tt=d=>{et(d),v.value.childrenAges=N.value.map(f=>f.age),ee()},Me=()=>{const d=ae.value;for(;N.value.length<d;)N.value.push({age:"",selectedPriceType:null,selectedPriceId:null});N.value.length>d&&(N.value=N.value.slice(0,d)),v.value.childrenAges=N.value.map(f=>f.age),X()},at=()=>{const d=Array.isArray(v.value.childrenAges)?v.value.childrenAges:[],f=Array.isArray(v.value.childPriceSelections)?v.value.childPriceSelections:[];N.value=d.map((T,w)=>{const m=Q(T),$=f[w];let p=($==null?void 0:$.selectedPriceType)||null,M=($==null?void 0:$.selectedPriceId)||null;return m.length===1?(p=m[0].turf_PaxType,M=m[0].turf_RoomType||m[0].turf_PaxType):m.some(ve=>ve.turf_PaxType===p&&(ve.turf_RoomType||ve.turf_PaxType)===M)||(p=null,M=null),{age:T,selectedPriceType:p,selectedPriceId:M}}),X()},Ae=U(()=>N.value.some(d=>d.age!==""&&d.age!==null&&Q(d.age).length>1&&!d.selectedPriceType)),Y=k({name:"",mobile:"",email:"",kvkk:"true"}),ie=k(null),xe=k(!1),de=k(""),je=Ns(),be=k(0),Ve=()=>{H.value||typeof window>"u"||(he(v.value),re(v.value),H.value=!0)};Ve();const ee=()=>{var f,T;Me(),X(),me(v.value);let d=0;(f=x.tour)!=null&&f.prices&&((T=v.value)!=null&&T.rooms)&&(v.value.grand_total=0,v.value.discount=0,v.value.total=0,v.value.extra_total=0,v.value.exclude_total=0,v.value.rooms.forEach(w=>{const m=ne(w.adult),p=D(m)*m,M=p;w.grand_total=M,w.total=p,w.discount=0,w.exclude_total=0,w.extra_total=0,d+=M,v.value.grand_total+=M,v.value.discount+=0,v.value.total+=p}),N.value.forEach(w=>{if(!w.selectedPriceType||!w.selectedPriceId)return;const $=Q(w.age).find(p=>p.turf_PaxType===w.selectedPriceType&&(p.turf_RoomType||p.turf_PaxType)===w.selectedPriceId);if($){const p=ne($.turf_Price);d+=p,v.value.grand_total+=p,v.value.total+=p}}),be.value=d)},st=d=>{v.value.rooms=v.value.rooms.filter((f,T)=>d!=T),ee()},rt=d=>{const f=N.value[d],T=f?f.age:v.value.childrenAges[d]??"";fe(v.value,T),N.value.splice(d,1),v.value.childrenAges=N.value.map(w=>w.age),ee()},Ie=()=>{v.value.rooms=[{adult:2,child:0,baby:0,room_type:null,options:{}}],v.value.childrenAges=[],N.value=[],ee()},ue=()=>{v.value.rooms.push({adult:2,child:0,baby:0,room_type:null,options:{}}),ee()};zt(()=>{he(v.value),re(v.value),at(),ee(),Ve(),H.value&&me(v.value)}),pt(()=>v.value.rooms,()=>{Me(),H.value&&me(v.value)},{deep:!0}),pt(ae,()=>{Me()});const oe=k(!1),De=d=>{d==="definite"?(oe.value=!1,H.value&&me(v.value),j("begin_checkout",{currency:x.tour.tour_Currency||"TRY",value:Number(be.value||0),item_id:String(x.tour.id||x.tour.pdb_Id||""),item_name:x.tour.turs_title||x.tour.title||""}),je.push(`/reservation/${x.tour.id}/definite-reservation`)):(ie.value=null,de.value="",oe.value=!0)},Ne=()=>{xe.value||(oe.value=!1,de.value="")},Te=d=>{d.key==="Escape"&&oe.value&&Ne()};pt(oe,d=>{typeof document>"u"||(document.body.style.overflow=d?"hidden":"")});const Re=async d=>{await G().then(f=>{var p;let T=((p=x.tour.hotels)==null?void 0:p.map(M=>{var ve,q;return((ve=M.sOtelAdi)==null?void 0:ve[C.value])||((q=M.sOtelAdi)==null?void 0:q.tr)||""}).join(", "))||"",w=window.location.pathname,$=`<strong>Tur </strong>: ${[x.tour.start,x.tour.tur_Sure?`${x.tour.tur_Sure} gün`:"","Umre"].filter(Boolean).join(" ")} <br />`;return $+=`<strong>Tur Tarihi </strong>: ${x.tour.start} - ${x.tour.end} <br />`,$+=`<strong>Süre</strong> : ${x.tour.tur_Sure} <br />`,$+=`<strong>Otel</strong> : ${T} <br />`,$+="<p>Rezervasyon</p>",$+=`<strong>Oda </strong>: ${v.value.rooms.length} <br />`,v.value.rooms.forEach((M,ve)=>{$+=`<strong> ${ve+1}.Oda </strong> <br />`,$+=`<strong> KiÅi </strong>${M.adult} <br />`,$+=`<strong> Ãocuk </strong>${M.child} <br />`,$+=`<strong> Bebek </strong>${M.baby} <br />`,$+=`<strong> Oda Ãcreti </strong>${M.grand_total||0} ${x.tour.tour_Currency} <br />`}),$+=`<strong> Toplam Ãcret ${be.value} ${x.tour.tour_Currency}</strong>`,console.log("message",$,Y.value.mobile),new Promise((M,ve)=>{Ct({url:`${A.public.apiBase}
1/graphql/direct`,method:"post",data:{query:`mutation AddPreReservation( 2 $name: String, 3 $mobile: String, 4 $kvkk: String, 5 $email: String, 6 $message: String, 7 $path: String, 8 $attribution: String, 9 $tourId: String, 10 $currency: String, 11 $conversionValue: String, 12 $token: String 13 ) { 14 addNote( 15 name: $name, 16 surname: "", 17 phone: "", 18 mobile: $mobile, 19 kvkk: $kvkk, 20 alertType:"", 21 status:"Not_Active", 22 email: $email, 23 message: $message, 24 cat:"FRM_General", 25 subject: "Rezervasyon", 26 path: $path, 27 page: $path, 28 attribution: $attribution, 29 tourId: $tourId, 30 currency: $currency, 31 conversionValue: $conversionValue, 32 token: $token 33 ){ not_Id } 34 }`,variables:{name:Y.value.name,mobile:Y.value.mobile,kvkk:String(Y.value.kvkk),email:Y.value.email||"",message:$,path:w,attribution:JSON.stringify(V()||{}),tourId:String(x.tour.id||x.tour.pdb_Id||""),currency:String(x.tour.tour_Currency||"TRY"),conversionValue:String(Number(be.value||0)),token:f}}}).then(q=>{q.status===200&&(console.log(q),M(q))}).catch(q=>{console.log("Error:"+q),ve(q),commit("setForm",{v:sended,callback:M})})})})},pe=async()=>{var d,f,T;if(de.value="",ie.value=null,!Y.value.name||!Y.value.mobile){de.value="Lütfen ad soyad ve telefon bilgilerini eksiksiz girin.";return}if(!Y.value.kvkk||Y.value.kvkk==="false"){de.value="Devam etmek için KVKK onayını vermelisiniz.";return}xe.value=!0;try{const w=await Re();ie.value=!0,j("generate_lead",{lead_type:"pre_reservation",lead_id:String(((T=(f=(d=w==null?void 0:w.data)==null?void 0:d.data)==null?void 0:f.addNote)==null?void 0:T.not_Id)||""),currency:x.tour.tour_Currency||"TRY",value:Number(be.value||0),item_id:String(x.tour.id||x.tour.pdb_Id||""),item_name:x.tour.turs_title||x.tour.title||""}),Y.value={name:"",mobile:"",email:"",kvkk:"true"}}catch(w){console.error("Pre-reservation error:",w),ie.value=!1,de.value="Talebiniz gönderilemedi. Lütfen bilgilerinizi kontrol edip tekrar deneyin."}finally{xe.value=!1}};return zt(()=>window.addEventListener("keydown",Te)),es(()=>{window.removeEventListener("keydown",Te),document.body.style.overflow=""}),(d,f)=>{const T=ts("font-awesome-icon"),w=lr;return l(),n("div",nr,[e("div",ir,[e("div",dr,[e("span",ur,[c(T,{icon:"fa-solid fa-bed",class:"h-3.5 w-3.5"})]),e("div",null,[e("p",cr,s(d.$t("Oda Seçimi")),1),e("p",mr,s(d.$t("KiÅi ve çocuk bilgilerini girin")),1)])]),e("button",{type:"button",class:"text-[11px] font-semibold text-slate-500 hover:text-slate-700",onClick:Ie},s(d.$t("Sıfırla")),1)]),e("div",pr,[e("div",fr,[e("div",hr,s(d.$t("Oda")),1),e("div",gr,s(g.value.rooms),1)]),e("div",br,[e("div",vr,s(d.$t("YetiÅkin")),1),e("div",yr,s(g.value.adults),1)]),e("div",_r,[e("div",xr,s(d.$t("Ãocuk")),1),e("div",kr,s(g.value.child+g.value.baby),1)])]),e("div",wr,[(l(!0),n(L,null,Z(u(v).rooms,(m,$)=>(l(),n("div",{key:`panel_room_${$}`,class:"rounded-xl border border-slate-200 bg-slate-50/60 p-3"},[e("div",$r,[e("span",Tr,s($+1)+". "+s(d.$t("Oda")),1),$!=0?(l(),n("button",{key:0,type:"button",class:"text-slate-400 hover:text-rose-500",onClick:p=>st($)},[c(T,{icon:"fa-solid fa-trash",class:"h-3 w-3"})],8,Sr)):h("",!0)]),e("div",Pr,[e("div",null,[e("label",zr,s(d.$t("KiÅi"))+" (12+)",1),Ge(e("select",{"onUpdate:modelValue":p=>m.adult=p,onChange:f[0]||(f[0]=p=>ee()),class:"w-full rounded-md border border-slate-200 bg-white px-2 py-1 text-xs font-semibold"},f[10]||(f[10]=[e("option",{value:"1"},"1",-1),e("option",{value:"2"},"2",-1),e("option",{value:"3"},"3",-1)]),40,Cr),[[ct,m.adult,void 0,{number:!0}]])]),e("div",null,[e("label",Mr,s(d.$t("Ãocuk"))+" (2-11)",1),Ge(e("select",{"onUpdate:modelValue":p=>m.child=p,onChange:f[1]||(f[1]=p=>ee()),class:"w-full rounded-md border border-slate-200 bg-white px-2 py-1 text-xs font-semibold"},f[11]||(f[11]=[e("option",{value:"0"},"-",-1),e("option",{value:"1"},"1",-1),e("option",{value:"2"},"2",-1),e("option",{value:"3"},"3",-1)]),40,Ir),[[ct,m.child,void 0,{number:!0}]])]),e("div",null,[e("label",Ar,s(d.$t("Bebek"))+" (0-2)",1),Ge(e("select",{"onUpdate:modelValue":p=>m.baby=p,onChange:f[2]||(f[2]=p=>ee()),class:"w-full rounded-md border border-slate-200 bg-white px-2 py-1 text-xs font-semibold"},f[12]||(f[12]=[e("option",{value:"0"},"-",-1),e("option",{value:"1"},"1",-1),e("option",{value:"2"},"2",-1),e("option",{value:"3"},"3",-1)]),40,jr),[[ct,m.baby,void 0,{number:!0}]])])])]))),128)),e("button",{type:"button",class:"h-9 rounded-xl border border-dashed border-slate-300 bg-white text-xs font-semibold text-slate-600 hover:bg-slate-50",onClick:f[3]||(f[3]=m=>ue())}," + "+s(d.$t("Oda Ekle")),1)]),ae.value>0?(l(),n("div",Dr,[e("div",Nr,[e("span",Rr,[c(T,{icon:"fa-solid fa-child-reaching",class:"h-3 w-3"})]),e("p",Or,s(d.$t("Ãocuk / Bebek Bilgileri")),1),e("span",Ur,s(ae.value)+" "+s(d.$t("kiÅi")),1)]),e("div",Lr,[(l(!0),n(L,null,Z(N.value,(m,$)=>(l(),n("div",{key:`child_sel_${$}`,class:E(["rounded-xl border bg-white p-2.5 shadow-sm transition-all",m.age!==""&&m.age!==null&&Q(m.age).length>1&&!m.selectedPriceType?"border-slate-300":"border-slate-200"])},[e("div",Vr,[e("span",Br,[e("span",Er,s($+1),1),F(" "+s(d.$t("Ãocuk"))+" ",1),m.age!==""&&m.age!==null?(l(),n("span",Hr," â "+s(m.age)+" "+s(d.$t("yaÅ")),1)):h("",!0)]),e("button",{type:"button",onClick:p=>rt($),class:"text-slate-300 hover:text-rose-500 transition-colors"},[c(T,{icon:"fa-solid fa-times",class:"h-3.5 w-3.5"})],8,qr)]),e("div",Gr,[e("label",Fr,s(d.$t("YaÅ"))+" (0â17)",1),Ge(e("select",{"onUpdate:modelValue":p=>m.age=p,onChange:p=>tt($),class:"w-full rounded-lg border border-slate-200 bg-slate-50 px-2 py-1.5 text-xs font-semibold focus:border-slate-400 focus:ring-1 focus:ring-slate-200 outline-none transition"},[e("option",Kr,s(d.$t("YaÅ seçin")),1),(l(),n(L,null,Z(18,p=>e("option",{key:p-1,value:p-1},s(p-1===0?"0 (bebek)":p-1+" yaÅ"),9,Wr)),64))],40,Yr),[[ct,m.age]])]),m.age!==""&&m.age!==null&&m.age!==void 0?(l(),n(L,{key:0},[Q(m.age).length>1?(l(),n("div",Jr,[e("label",Qr,s(d.$t("Konaklama SeçeneÄi")),1),e("div",Zr,[(l(!0),n(L,null,Z(Q(m.age),p=>(l(),n("button",{key:`${p.turf_PaxType}_${p.turf_RoomType||p.turf_PaxType}`,type:"button",onClick:M=>ge($,p),class:E(["w-full flex items-center gap-3 rounded-xl border-2 px-3 py-2.5 text-left transition-all cursor-pointer",S(m,p)?"border-sky-300 bg-sky-50 shadow-sm ring-1 ring-sky-100":"border-slate-200 bg-white hover:border-slate-300 hover:bg-slate-50"])},[e("div",{class:E(["relative flex-shrink-0 w-20 h-12 rounded-lg overflow-hidden flex items-center justify-center",S(m,p)?p.turf_PaxType==="turBaby"?"bg-blue-50":p.turf_PaxType==="turChildNoBed"?"bg-amber-50":"bg-emerald-50":"bg-slate-100"])},[p.turf_PaxType==="turBaby"?(l(),n("svg",eo,[e("rect",{x:"4",y:"5",width:"72",he
34ight:"38",rx:"10",fill:S(m,p)?"#dbeafe":"#e2e8f0",stroke:S(m,p)?"#60a5fa":"#cbd5e1","stroke-width":"2"},null,8,to),e("rect",{x:"11",y:"10",width:"58",height:"14",rx:"5",fill:S(m,p)?"#eff6ff":"#f8fafc"},null,8,ao),e("line",{x1:"4",y1:"28",x2:"76",y2:"28",stroke:S(m,p)?"#93c5fd":"#cbd5e1","stroke-width":"1.5"},null,8,so),e("line",{x1:"24",y1:"5",x2:"24",y2:"43",stroke:S(m,p)?"#bfdbfe":"#e2e8f0","stroke-width":"1.5"},null,8,ro),e("line",{x1:"56",y1:"5",x2:"56",y2:"43",stroke:S(m,p)?"#bfdbfe":"#e2e8f0","stroke-width":"1.5"},null,8,oo),e("rect",{x:"11",y:"37",width:"58",height:"4",rx:"2",fill:S(m,p)?"#93c5fd":"#cbd5e1",opacity:"0.5"},null,8,lo)])):p.turf_PaxType==="turChildNoBed"?(l(),n("svg",no,[e("rect",{x:"4",y:"7",width:"72",height:"34",rx:"8",fill:S(m,p)?"#fef3c7":"#e2e8f0",stroke:S(m,p)?"#f59e0b":"#cbd5e1","stroke-width":"2"},null,8,io),e("rect",{x:"8",y:"11",width:"26",height:"13",rx:"5",fill:S(m,p)?"#fffbeb":"#f8fafc"},null,8,uo),e("rect",{x:"46",y:"11",width:"26",height:"13",rx:"5",fill:S(m,p)?"#fffbeb":"#f8fafc"},null,8,co),e("ellipse",{cx:"40",cy:"30",rx:"6",ry:"5",fill:S(m,p)?"#fde68a":"#d1d5db"},null,8,mo),e("rect",{x:"8",y:"35",width:"64",height:"3",rx:"1.5",fill:S(m,p)?"#f59e0b":"#cbd5e1",opacity:"0.5"},null,8,po)])):p.turf_PaxType==="turChild"?(l(),n("svg",fo,[e("rect",{x:"4",y:"7",width:"54",height:"34",rx:"8",fill:S(m,p)?"#d1fae5":"#e2e8f0",stroke:S(m,p)?"#34d399":"#cbd5e1","stroke-width":"2"},null,8,ho),e("rect",{x:"8",y:"11",width:"20",height:"12",rx:"4",fill:S(m,p)?"#ecfdf5":"#f8fafc"},null,8,go),e("rect",{x:"34",y:"11",width:"20",height:"12",rx:"4",fill:S(m,p)?"#ecfdf5":"#f8fafc"},null,8,bo),e("rect",{x:"8",y:"35",width:"46",height:"3",rx:"1.5",fill:S(m,p)?"#34d399":"#cbd5e1",opacity:"0.5"},null,8,vo),e("rect",{x:"62",y:"11",width:"34",height:"30",rx:"7",fill:S(m,p)?"#d1fae5":"#e2e8f0",stroke:S(m,p)?"#34d399":"#cbd5e1","stroke-width":"2"},null,8,yo),e("rect",{x:"66",y:"15",width:"26",height:"10",rx:"4",fill:S(m,p)?"#ecfdf5":"#f8fafc"},null,8,_o),e("rect",{x:"66",y:"35",width:"26",height:"3",rx:"1.5",fill:S(m,p)?"#34d399":"#cbd5e1",opacity:"0.5"},null,8,xo)])):h("",!0),S(m,p)?(l(),n("div",ko,[c(T,{icon:"fa-solid fa-check",class:"h-2.5 w-2.5 text-white"})])):h("",!0)],2),e("div",wo,[e("p",{class:E(["mb-0 text-xs font-bold leading-tight",S(m,p)?"text-sky-700":"text-slate-700"])},s(o(p)),3),e("p",{class:E(["mb-0 text-[10px] leading-snug mt-0.5",S(m,p)?"text-sky-500":"text-slate-400"])},s(p.turf_PaxType==="turBaby"?u(C)==="tr"?"BeÅikte yatar, ebeveynle aynı oda":"Sleeps in crib, same room as parents":p.turf_PaxType==="turChildNoBed"?u(C)==="tr"?"Ebeveyn yataÄını paylaÅır":"Shares parents' bed":u(C)==="tr"?"Ayrı ek yatak ile konaklama":"Sleeps in separate extra bed"),3),e("p",{class:E(["mb-0 text-[10px] mt-0.5",S(m,p)?"text-sky-400":"text-slate-400"])},s(p.turf_MinAge)+"â"+s(p.turf_MaxAge)+" "+s(d.$t("yaÅ")),3)]),e("div",$o,[e("p",{class:E(["mb-0 text-sm font-extrabold",S(m,p)?"text-green-700":"text-slate-700"])},s(p.turf_Price?Number(p.turf_Price).toLocaleString("tr-TR"):"â"),3),e("p",{class:E(["mb-0 text-[9px]",S(m,p)?"text-green-500":"text-slate-400"])},s(b.currency),3)])],10,Xr))),128))])])):Q(m.age).length===1?(l(),n("div",To,[e("div",So,[e("div",Po,[Q(m.age)[0].turf_PaxType==="turBaby"?(l(),n("svg",zo,f[13]||(f[13]=[ft('<rect x="4" y="5" width="72" height="38" rx="10" fill="#bbf7d0" stroke="#4ade80" stroke-width="2"></rect><rect x="11" y="10" width="58" height="14" rx="5" fill="#f0fdf4"></rect><line x1="4" y1="28" x2="76" y2="28" stroke="#86efac" stroke-width="1.5"></line><line x1="24" y1="5" x2="24" y2="43" stroke="#86efac" stroke-width="1.5"></line><line x1="56" y1="5" x2="56" y2="43" stroke="#86efac" stroke-width="1.5"></line>',5)]))):Q(m.age)[0].turf_PaxType==="turChildNoBed"?(l(),n("svg",Co,f[14]||(f[14]=[e("rect",{x:"4",y:"7",width:"72",height:"34",rx:"8",fill:"#bbf7d0",stroke:"#4ade80","stroke-width":"2"},null,-1),e("rect",{x:"8",y:"11",width:"26",height:"13",rx:"5",fill:"#f0fdf4"},null,-1),e("rect",{x:"46",y:"11",width:"26",height:"13",rx:"5",fill:"#f0fdf4"},null,-1),e("ellipse",{cx:"40",cy:"30",rx:"6",ry:"5",fill:"#86efac"},null,-1)]))):(l(),n("svg",Mo,f[15]||(f[15]=[ft('<rect x="4" y="7" width="54" height="34" rx="8" fill="#bbf7d0" stroke="#4ade80" stroke-width="2"></rect><rect x="8" y="11" width="20" height="12" rx="4" fill="#f0fdf4"></rect><rect x="34" y="11" width="20" height="12" rx="4" fill="#f0fdf4"></rect><rect x="62" y="11" width="34" height="30" rx="7" fill="#bbf7d0" stroke="#4ade80" stroke-width="2"></rect><rect x="66" y="15" width="26" height="10" rx="4" fill="#f0fdf4"></rect>',5)])))]),e("div",Io,[e("div",Ao,s(o(Q(m.age)[0])),1),e("div",jo,s(Q(m.age)[0].turf_PaxType==="turBaby"?u(C)==="tr"?"BeÅikte yatar":"Sleeps in crib":Q(m.age)[0].turf_PaxType==="turChildNoBed"?u(C)==="tr"?"Ebeveyn yataÄını paylaÅır":"Shares parents' bed":u(C)==="tr"?"Ayrı ek yatak":"Separate extra bed"),1),e("div",Do,s(Q(m.age)[0].turf_MinAge)+"â"+s(Q(m.age)[0].turf_MaxAge)+" "+s(d.$t("yaÅ")),1)]),e("div",No,[e("div",Ro,s(Q(m.age)[0].turf_Price?Number(Q(m.age)[0].turf_Price).toLocaleStr
34ing("tr-TR"):"â"),1),e("div",Oo,s(b.currency),1)]),c(T,{icon:"fa-solid fa-check-circle",class:"h-4 w-4 text-green-400 flex-shrink-0"})])])):(l(),n("div",Uo,[c(T,{icon:"fa-solid fa-circle-exclamation",class:"h-3 w-3 flex-shrink-0"}),F(" "+s(d.$t("Bu yaÅ için fiyat tanımlanmamıÅ.")),1)]))],64)):(l(),n("div",Lo,s(d.$t("Lütfen yaÅ seçin")),1))],2))),128))]),Ae.value?(l(),n("div",Vo,[c(T,{icon:"fa-solid fa-circle-exclamation",class:"h-3 w-3 flex-shrink-0"}),F(" "+s(d.$t("Bazı çocuklar için konaklama seçimi yapılmamıÅ")),1)])):h("",!0)])):h("",!0),e("div",Bo,[e("h6",Eo,s(d.$t("Toplam"))+":",1),e("h6",Ho,s(be.value)+" "+s(b.currency),1)]),e("div",qo,[e("button",{class:"w-full flex items-center justify-center gap-2 rounded-md border-2 border-teal-500 bg-teal-500 hover:bg-white hover:text-teal-700 hover:border-teal-700 text-white text-sm font-bold px-2 py-1.5 shadow-md transition-all duration-150 focus:outline-none focus:ring-2 focus:ring-teal-400 focus:ring-offset-2",onClick:f[4]||(f[4]=m=>De("pre")),"aria-label":"{{$t('Ãn Kayıt Yap')}}"},[c(T,{icon:"fa-solid fa-calendar-check",class:"h-5 w-5"}),F(" "+s(d.$t("Ãn Kayıt Yap")),1)]),e("button",{class:"w-full flex items-center justify-center gap-2 rounded-md border-2 border-indigo-500 bg-indigo-500 hover:bg-white hover:text-indigo-600 hover:border-indigo-600 text-white text-sm font-bold px-2 py-1.5 shadow-md transition-all duration-150 focus:outline-none focus:ring-2 focus:ring-indigo-400 focus:ring-offset-2",onClick:f[5]||(f[5]=m=>De("definite")),"aria-label":"{{$t('Rezervasyon Yap')}}"},[c(T,{icon:"fa-solid fa-circle-check",class:"h-5 w-5"}),F(" "+s(d.$t("Rezervasyon Yap")),1)])]),(l(),_e(Os,{to:"body"},[c(Rs,{name:"pre-reservation-modal"},{default:Ce(()=>[oe.value?(l(),n("div",{key:0,class:"fixed inset-0 z-[80] flex items-end justify-center bg-slate-950/60 p-0 backdrop-blur-sm sm:items-center sm:p-4",role:"dialog","aria-modal":"true","aria-label":d.$t("Ãn Kayıt Yap"),onClick:Xe(Ne,["self"])},[e("section",Fo,[e("header",Yo,[e("div",Ko,[e("span",Wo,[c(T,{icon:"fa-solid fa-calendar-check",class:"h-5 w-5"})]),e("div",Jo,[e("h2",Qo,s(d.$t("Ãn Kayıt Yap")),1),e("p",Zo,s(b.tour.start)+" â "+s(b.tour.end)+" · "+s(b.tour.tur_Sure)+" "+s(d.$t("gün")),1)])]),e("button",{type:"button",class:"inline-flex h-8 w-8 shrink-0 items-center justify-center rounded-lg text-slate-400 transition hover:bg-white hover:text-slate-700","aria-label":d.$t("Kapat"),onClick:Ne},[c(T,{icon:"fa-solid fa-times",class:"h-4 w-4"})],8,Xo)]),e("form",{class:"overflow-y-auto px-5 py-5",onSubmit:Xe(pe,["prevent"])},[e("div",el,[e("div",tl,[e("span",al,s(d.$t("Oda")),1),e("strong",sl,s(g.value.rooms),1)]),e("div",rl,[e("span",ol,s(d.$t("Yolcu")),1),e("strong",ll,s(g.value.adults+g.value.child+g.value.baby),1)]),e("div",nl,[e("span",il,s(d.$t("Toplam")),1),e("strong",dl,s(be.value)+" "+s(b.currency),1)])]),ie.value!==!0?(l(),n("div",ul,[e("div",null,[e("label",cl,[F(s(d.$t("Ad Soyad"))+" ",1),f[16]||(f[16]=e("span",{class:"text-rose-500"},"*",-1))]),Ge(e("input",{id:"pre-reservation-name",type:"text","onUpdate:modelValue":f[6]||(f[6]=m=>Y.value.name=m),autocomplete:"name",class:"w-full rounded-xl border border-slate-300 px-3 py-2.5 text-sm outline-none transition focus:border-teal-500 focus:ring-2 focus:ring-teal-100"},null,512),[[qa,Y.value.name,void 0,{trim:!0}]])]),e("div",null,[e("label",ml,[F(s(d.$t("Telefon"))+" ",1),f[17]||(f[17]=e("span",{class:"text-rose-500"},"*",-1))]),c(er,{modelValue:Y.value.mobile,"onUpdate:modelValue":f[7]||(f[7]=m=>Y.value.mobile=m),mode:"international",inputOptions:{placeholder:d.$t("Telefon numarası")},defaultCountry:"tr"},null,8,["modelValue","inputOptions"])]),e("div",null,[e("label",pl,s(d.$t("Email")),1),Ge(e("input",{id:"pre-reservation-email",type:"email","onUpdate:modelValue":f[8]||(f[8]=m=>Y.value.email=m),autocomplete:"email",class:"w-full rounded-xl border border-slate-300 px-3 py-2.5 text-sm outline-none transition focus:border-teal-500 focus:ring-2 focus:ring-teal-100"},null,512),[[qa,Y.value.email,void 0,{trim:!0}]])]),c(w,{ref:"globalKvkk",onConfirm:f[9]||(f[9]=m=>{Y.value.kvkk=m})},null,512)])):h("",!0),de.value?(l(),n("div",fl,s(de.value),1)):h("",!0),ie.value===!0?(l(),n("div",hl,[c(T,{icon:"fa-solid fa-circle-check",class:"mb-2 h-8 w-8"}),e("p",gl,s(d.$t("Ãn kayıt talebiniz alındı.")),1),e("p",bl,s(d.$t("Ekibimiz en kısa sürede sizinle iletiÅime geçecektir.")),1)])):h("",!0),e("footer",vl,[e("button",{type:"button",class:"h-11 flex-1 rounded-xl border border-slate-200 bg-white text-sm font-semibold text-slate-600 transition hover:bg-slate-50",onClick:Ne},s(ie.value===!0?d.$t("Kapat"):d.$t("Vazgeç")),1),ie.value!==!0?(l(),n("button",{key:0,t
34ype:"submit",disabled:xe.value,class:"inline-flex h-11 flex-[1.5] items-center justify-center gap-2 rounded-xl bg-teal-600 px-4 text-sm font-bold text-white shadow-sm transition hover:bg-teal-700 disabled:cursor-wait disabled:opacity-60"},[c(T,{icon:xe.value?"fa-solid fa-spinner":"fa-solid fa-paper-plane",class:E(["h-4 w-4",xe.value?"animate-spin":""])},null,8,["icon","class"]),F(" "+s(xe.value?d.$t("Gönderiliyor..."):d.$t("Gönder")),1)],8,yl)):h("",!0)])],32)])],8,Go)):h("",!0)]),_:1})]))])}}},xl=Us,le=b=>xl(b).replace(/<[^>]*>/g," ").replace(/\s+/g," ").trim(),mt=(b,x)=>le(typeof b=="string"?b:(b==null?void 0:b[x])||(b==null?void 0:b.tr)||(b==null?void 0:b.en)||""),kl=(b,x)=>{if(!b)return"";const C=new Date(`${String(b).slice(0,10)}T00:00:00Z`);return Number.isNaN(C.getTime())?le(b):new Intl.DateTimeFormat(x==="en"?"en-GB":"tr-TR",{timeZone:"UTC",day:"numeric",month:"long",year:"numeric"}).format(C)},wl=(b,x,C)=>{const A=Number(b);return!Number.isFinite(A)||A<=0?"":`${new Intl.NumberFormat(C==="en"?"en-US":"tr-TR",{maximumFractionDigits:0}).format(A)} ${le(x).toUpperCase()}`.trim()},$l=(b=[])=>{var G;const x=le((G=b==null?void 0:b[0])==null?void 0:G.turs_CityStart_Name),C=[],A=j=>{const V=le(j);V&&V!==x&&!C.includes(V)&&C.push(V)};return b.forEach((j,V)=>{V>0&&A(j==null?void 0:j.turs_CityStart_Name),A(j==null?void 0:j.turs_CityEnd_Name)}),{origin:x,places:C}},Ja=(b,x="tr")=>{var ke,Le;const C=x==="en",A=(ke=b==null?void 0:b.categories)==null?void 0:ke.includes("5YILDIZUMRE"),G=Number(b==null?void 0:b.tur_Sure)||le(b==null?void 0:b.tur_Sure),j=kl(b==null?void 0:b.turs_StartDate,x),V=((b==null?void 0:b.hotels)||[]).map(D=>({name:mt(D==null?void 0:D.sOtelAdi,x),city:le(D==null?void 0:D.city),nights:Number(D==null?void 0:D.turh_duration)||le(D==null?void 0:D.turh_duration),star:le(D==null?void 0:D.star)})).filter(D=>D.name),v=A&&V.some(D=>/(^|\D)5(\D|$)/.test(D.star)),re=V.slice(0,2).map(D=>D.name),B=mt(b==null?void 0:b.airwayName,x),ce=wl(b==null?void 0:b.turs_double,b==null?void 0:b.tour_Currency,x),{origin:fe,places:he}=$l(b==null?void 0:b.routes),me=mt((Le=b==null?void 0:b.detail)==null?void 0:Le.turd_Name,x)||mt(b==null?void 0:b.turd_Short,x)||le(b==null?void 0:b.turs_title);let ae=me||(C?"Tour Package":"Tur Programı"),g=`${ae} | ${C?"Inanc Tour":"İnanç Tur"}`,H=me,ne=me;if(A){const D=v?C?"5-Star ":"5 Yıldızlı ":"";if(ae=C?`${G}-Day ${D}Umrah Package â ${j}`:`${G} Günlük ${D}Umre Turu â ${j}`,g=`${ae} | ${C?"Inanc Tour":"İnanç Tur"}`,C){H=[`${j}: ${G}-day ${D.toLowerCase()}Umrah package;`,re.length?`${re.join(" and ")} hotels,`:"",B?`${B} flights.`:"",ce?`Prices from ${ce}.`:"See current prices and availability."].filter(Boolean).join(" ");const N=V.map(X=>`${X.name}${X.city?` in ${X.city}`:""}${X.nights?` for ${X.nights} nights`:""}`).join(" and ");ne=`${j} departure${fe?` from ${fe}`:""} for a ${G}-day ${D.toLowerCase()}Umrah package${N?` with stays at ${N}`:""}${B?` and ${B} flights`:""}.${ce?` Prices start from ${ce} per person; review room options, availability and all included services.`:""}`}else{H=[`${j}: ${G} günlük ${D.toLocaleLowerCase("tr-TR")}umre turu;`,re.length?`${re.join(" ve ")} otellerinde konaklama,`:"",B?`${B} uçuÅu.`:"",ce?`Fiyatlar ${ce}âden.`:"Güncel fiyat ve kontenjanı inceleyin."].filter(Boolean).join(" ");const N=V.map(X=>`${X.city?`${X.city}âde `:""}${X.name}${X.nights?`âte ${X.nights} gece`:""}`).join("; ");ne=`${j} tarihinde ${fe?`${fe} kalkıÅlı `:""}${G} günlük ${D.toLocaleLowerCase("tr-TR")}umre programı${N?`; ${N} konaklamalarını`:""}${B?` ve ${B} uçuÅunu`:""} kapsar.${ce?` KiÅi baÅı fiyatlar ${ce}âden baÅlar; oda seçeneklerini, güncel kontenjanı ve pakete dahil hizmetleri inceleyebilirsiniz.`:""}`}}return{title:le(g),heading:le(ae),description:le(H),intro:le(ne),isUmrah:A,isFiveStar:v,date:j,days:G,hotels:V,airway:B,price:ce,origin:fe,places:he}},Ze=b=>String(b||"").slice(0,10),Tl=(b,x,C)=>{const A=rs(Ze(b));if(!Ls(A)||!["prev","next"].includes(x))return null;const G={excludeId:C||"",limit:10,order:x==="next"?"turs_StartDate ASC":"turs_StartDate DESC"};return x==="next"?G.startLeast=Mt(ar(A,1),"yyyy-MM-dd"):G.endLeast=Mt(ls(A,1),"yyyy-MM-dd"),G},Sl=(b,{currentId:x,currentStartDate:C,direction:A})=>{const G=Ze(C);
34if(!(!G||!Array.isArray(b)))return b.filter(j=>{const V=Ze(j==null?void 0:j.turs_StartDate),v=String((j==null?void 0:j.pdb_Id)||"")!==String(x||""),re=A==="next"?V>G:V<G;return V&&v&&re}).sort((j,V)=>{const v=Ze(j==null?void 0:j.turs_StartDate).localeCompare(Ze(V==null?void 0:V.turs_StartDate));return A==="next"?v:-v})[0]},Pl=as(Ws),zl={style:{"min-height":"800px"}},Cl={key:0,class:"w-full h-96"},Ml={class:"w-full flex items-center justify-between py-0.5"},Il={class:"flex flex-col"},Al={class:"truncate font-semibold"},jl={class:"flex items-center gap-1 justify-end"},Dl=["href"],Nl={"aria-label":"call button",href:"tel:908502414141",class:"inline-flex h-8 w-8 items-center justify-center rounded-xl bg-sky-500 text-white shadow-sm transition-all hover:bg-sky-600 active:scale-95"},Rl=["href"],Ol=["title"],Ul={key:2,class:"border-b border-slate-200 bg-white px-3 py-4"},Ll={class:"mb-1 text-[10px] font-bold uppercase tracking-[0.18em] text-accent-700"},Vl={class:"mb-2 text-xl font-bold leading-tight tracking-tight text-slate-900"},Bl={key:0,class:"mb-0 text-sm leading-6 text-slate-600"},El={class:"md:hidden z-20 border-b border-slate-200 bg-white"},Hl={class:"hidden items-center justify-between py-2"},ql={class:"flex items-center gap-2"},Gl={class:"inline-flex items-center gap-2 rounded-full border border-slate-200 bg-white px-3 py-1.5 text-sm text-slate-700"},Fl={class:"font-medium"},Yl={class:"tracking-tight"},Kl={class:"inline-flex items-center gap-2 rounded-full border border-slate-200 bg-white px-3 py-1.5 text-sm text-slate-700"},Wl={class:"font-medium"},Jl={class:"tracking-tight"},Ql={class:"inline-flex items-center gap-2 rounded-full border border-slate-200 bg-white px-3 py-1.5 text-sm text-slate-700"},Zl={class:"font-medium"},Xl={class:"tracking-tight"},en={class:"inline-flex items-center gap-2 rounded-full border border-slate-200 bg-white px-3 py-1.5 text-sm text-slate-700"},tn={class:"font-medium"},an={class:"inline-flex items-center justify-center h-6 w-16 rounded border border-slate-200 bg-white"},sn=["src"],rn={class:"flex items-center gap-1.5"},on=["title"],ln={class:"hidden lg:inline"},nn=["href","title"],dn=["href","title"],un=["title"],cn={class:"hidden lg:inline"},mn={class:"md:hidden w-full py-2 px-0"},pn={class:"rounded-xl overflow-hidden py-0"},fn={class:"px-3 py-2.5 border-b border-slate-100 bg-slate-50/80 flex items-center justify-between gap-2"},hn={class:"min-w-0"},gn={class:"text-[11px] uppercase tracking-wide text-neutral-500 font-medium mb-0"},bn={class:"text-sm font-semibold text-slate-800 truncate mb-0"},vn={class:"inline-flex items-center rounded-full bg-accent-50 border border-accent-200 px-2.5 py-1 text-xs font-semibold text-accent-700"},yn={class:"py-2 grid grid-cols-2 gap-2"},_n={class:"rounded-r-lg border border-slate-200 bg-slate-50/70 p-2.5"},xn={class:"flex items-center gap-1.5 text-slate-500 text-[11px] mb-1"},kn={class:"text-sm font-semibold text-slate-800 leading-5 mb-0"},wn={class:"text-[11px] text-slate-500 mb-0"},$n={class:"rounded-l-lg border border-slate-200 bg-slate-50/70 p-2.5"},Tn={class:"flex items-center gap-1.5 text-slate-500 text-[11px] mb-1"},Sn={class:"text-sm font-semibold text-slate-800 leading-5 mb-0"},Pn={class:"text-[11px] text-slate-500 mb-0"},zn={class:"rounded-r-lg rounded-bl-lg border border-slate-200 bg-slate-50/70 p-2.5"},Cn={class:"flex items-center gap-1.5 text-slate-500 text-[11px] mb-1"},Mn={class:"text-sm font-semibold text-slate-800 leading-5 mb-0"},In={class:"rounded-l-lg rounded-br-lg border border-slate-200 bg-slate-50/70 p-2.5"},An={class:"flex items-center gap-1.5 text-slate-500 text-[11px] mb-1"},jn={class:"flex items-center gap-2"},Dn=["src"],Nn=["innerHTML"],Rn={key:0,class:"col-span-2 pt-1"},On=["innerHTML"],Un={key:3,class:"relative overflow-hidden py-3 border-b border-slate-200 bg-slate-50",style:"background-image: linear-gradient(105deg, rgba(248,250,252,.98), rgba(255,255,255,.91)), url('/assets/img/pattern/bgtop.webp'); background-size: auto, 520px;"},Ln={class:"container mx-auto flex min-h-[82px] items-center justify-between gap-8 px-4 py-4 lg:px-6"},Vn={class:"min-w-0"},Bn={class:"mb-1 text-[10px] font-bold uppercase tracking-[0.18em] text-accent-700"},En={class:"mb-1 text-xl font-bold leading-tight tracking-tight text-slate-900 lg:text-2xl"}
34,Hn={key:0,class:"mb-0 max-w-4xl text-xs leading-5 text-slate-600 lg:text-sm"},qn={class:"flex shrink-0 items-center gap-2"},Gn={class:"mr-1 flex items-center gap-1.5 rounded-xl border border-white bg-white/80 p-1 shadow-sm backdrop-blur"},Fn={class:"px-2 text-[10px] font-semibold uppercase tracking-wide text-slate-400"},Yn=["href","title"],Kn=["title"],Wn=["title"],Jn=["href","title"],Qn=["href","title"],Zn=["title"],Xn={class:"hidden md:block container mx-auto px-0 sm:px-4 lg:px-6 mt-2 md:mt-3"},ei={class:"flex items-center justify-between border-b border-slate-200 pb-2"},ti=["disabled"],ai={class:"flex h-6 w-6 shrink-0 items-center justify-center rounded-md border border-slate-200 bg-white"},si={class:"flex flex-col items-start min-w-0"},ri={class:"text-[9px] font-medium uppercase tracking-widest text-slate-400 leading-none"},oi={class:"truncate text-xs font-semibold leading-tight"},li={class:"whitespace-nowrap"},ni=["disabled"],ii={class:"flex flex-col items-end min-w-0"},di={class:"text-[9px] font-medium uppercase tracking-widest text-slate-400 leading-none"},ui={class:"truncate text-xs font-semibold leading-tight"},ci={class:"flex h-6 w-6 shrink-0 items-center justify-center rounded-md border border-slate-200 bg-white"},mi={key:4,class:"bg-gradient-to-r from-slate-950 via-brand-900 to-slate-950",
34style:"background: linear-gradient(rgb(22 32 51 / 92%), rgb(31 42 68 / 84%)), url('/assets/img/pattern/bgtop.webp') 100% 20px;"},pi={class:"container mx-auto py-2 z-20"},fi={class:"flex flex-wrap my-1 items-center px-2 py-0 relative rounded-md"},hi={class:"px-2 py-1 mr-2 h-auto md:h-8 bg-white/10 hover:bg-white/20 border border-white/20 text-neutral-100 rounded-md mr-0 md:mr-1 mb-2 flex items-center transition-colors"},gi={key:1,class:"bg-support-600 text-white py-1 px-4 mr-2 my-1 font-semibold rounded-lg"},bi=["innerHTML"],vi=["innerHTML"],yi={class:"hidden md:block container mx-auto px-4 lg:px-6 -mt-1 relative z-10 py-2"},_i={class:"rounded-2xl border border-slate-200/90 bg-white px-5 py-3.5 shadow-[0_12px_36px_-22px_rgba(15,23,42,0.38)]"},xi={class:"grid grid-cols-4 divide-x divide-slate-100 min-w-0"},ki={class:"flex items-center gap-3 pr-4 min-w-0"},wi={class:"inline-flex h-9 w-9 shrink-0 items-center justify-center rounded-xl bg-brand-50 text-brand-700"},$i={class:"min-w-0"},Ti={class:"mb-0 text-[10px] font-semibold uppercase tracking-[0.12em] text-slate-400"},Si={class:"mb-0 truncate text-sm font-bold text-slate-800"},Pi={class:"flex items-center gap-3 px-4 min-w-0"},zi={class:"inline-flex h-9 w-9 shrink-0 items-center justify-center rounded-xl bg-brand-50 text-brand-700"},Ci={class:"min-w-0"},Mi={class:"mb-0 text-[10px] font-semibold uppercase tracking-[0.12em] text-slate-400"},Ii={class:"mb-0 truncate text-sm font-bold text-slate-800"},Ai={class:"flex items-center gap-3 px-4 min-w-0"},ji={class:"inline-flex h-9 w-9 shrink-0 items-center justify-center rounded-xl bg-accent-50 text-accent-700"},Di={class:"mb-0 text-[10px] font-semibold uppercase tracking-[0.12em] text-slate-400"},Ni={class:"mb-0 whitespace-nowrap text-sm font-bold text-slate-800"},Ri={class:"flex items-center gap-3 pl-4 min-w-0"},Oi={class:"inline-flex h-9 w-9 shrink-0 items-center justify-center rounded-xl bg-sky-50 text-sky-700"},Ui={class:"min-w-0"},Li={class:"mb-0 text-[10px] font-semibold uppercase tracking-[0.12em] text-slate-400"},Vi={class:"mt-0.5 flex h-5 items-center gap-2"},Bi=["src"],Ei=["innerHTML"],Hi={key:0,class:"relative overflow-hidden mx-auto w-full rounded-xl border border-amber-300/80 bg-gradient-to-r from-amber-50 via-orange-50 to-rose-50 shadow-[0_10px_30px_-18px_rgba(194,65,12,0.65)]"},qi={class:"relative flex flex-col gap-3 p-3 sm:flex-row sm:items-center sm:justify-between md:p-4"},Gi={class:"flex min-w-0 items-start gap-3 sm:items-center"},Fi={class:"flex h-11 w-11 shrink-0 items-center justify-center rounded-2xl bg-gradient-to-br from-amber-500 to-orange-600 text-white shadow-md shadow-orange-600/20 md:h-12 md:w-12"},Yi={class:"min-w-0"},Ki={class:"mb-0 text-[10px] font-extrabold uppercase tracking-[0.18em] text-orange-700 md:text-[11px]"},Wi=["innerHTML"],Ji={class:"block lg:flex lg:gap-5 lg:px-0"},Qi={class:"grow w-full"},Zi={key:0,class:"my-2 w-fit"},Xi=["innerHTML"],ed={class:"sticky top-12 md:top-14 z-10 mt-2 rounded-xl border border-slate-200 bg-white/90 shadow-sm backdrop-blur"},td={class:"relative px-2 md:px-2 py-1.5"},ad={key:1,class:"pointer-events-none absolute left-0 top-0 h-full w-6 bg-gradient-to-r from-white/95 to-transparent"},sd={key:2,class:"pointer-events-none absolute right-0 top-0 h-full w-6 bg-gradient-to-l from-white/95 to-transparent"},rd=["onClick"],od={class:"font-medium truncate"},ld={class:"mt-3 relative overflow-hidden rounded-2xl border border-slate-200 bg-slate-900 shadow-[0_18px_45px_-28px_rgba(15,23,42,.65)]",id:"gallery"},nd={class:"absolute z-50 top-48 left-3 flex"},id={class:"absolute z-50 top-48 right-3 flex"},dd=["src","alt"],ud={key:1},cd={class:"carousel__item relative group"},md=["onClick","src","alt"],pd=["src","loading","alt"],fd={class:"text-sm absolute top-5 right-[20px] text-white text-shadow flex space-x-2 bg-slate-600 p-1 rounded-md"},hd=["innerHTML"],gd=["onClick"],bd={class:"mt-0"},vd=["onClick"],yd=["src","alt"],_d={key:1,class:"block mb-0 md:mb-3 px-2"},xd={class:"mt-3 rounded-xl border border-slate-200 bg-white shadow-sm overflow-hidden p-2"},kd={class:"text-slate-600 font-normal text-sm leading-3"},wd={key:0,class:"px-3 py-3 border-b border-slate-100 bg-slate-50/70"},$d={class:"mb-2 text-xs font-semibold text-slate-600 uppercase tracking-wide"},Td={class:"flex flex-wrap gap-1.5"},Sd={class:"px-3 py-3"},Pd={class:"flex items-center justify-between gap-2"},zd={class:"flex items-center gap-2 ml-auto"},Cd={class:"text-xs text-slate-500 font-medium"},Md=["href"],Id={"aria-label":"call button",href:"tel:908502414141",class:"h-7 w-7 inline-flex justify-center items-center bg-sky-500 hover:bg-sky-600 cursor-pointer border border-sky-500 rounded-lg"},Ad={key:0,class:"mt-3 rounded-xl border border-slate-200 bg-white shadow-sm overflow-hidden"},jd={class:"flex items-center gap-2 px-3 py-2.5 border-b border-slate-100 bg-slate-50/70"},Dd={class:"text-sm font-semibold text-slate-700 truncate"},Nd={class:"px-2 py-2"},Rd={class:"px-2 md:px-0"},Od={id:"hotels",class:"mt-5 overflow-hidden rounded-2xl border border-slate-200 bg-white shadow-[0_12px_32px_-26px_rgba(15,23,42,.5)] py-0"},Ud={class:"flex items-center justify-between gap-2 border-b border-neutral-100 bg-gradient-to-r from-brand-50 via-white to-accent-50 px-3 py-2.5 md:px-4"},Ld={class:"flex items-center gap-2"},Vd={class:"inline-flex h-7 w-7 items-center justify-center rounded-full bg-brand-100 text-brand-700"},Bd={class:"text-sm md:text-base font-semibold text-neutral-800 truncate"},Ed={class:"p-2 md:p-3"},Hd={key:0,class:"grid grid-cols-1 md:grid-cols-2 gap-3 md:gap-4"},qd={key:0,class:"rounded-lg border border-slate-200 bg-white hover:border-slate-300 transition-colors"},Gd={class:"bg-slate-50 space-x-3 flex px-3 py-2"},Fd=["innerHTML"],Yd={class:"flex gap-3 pt-3 pl-3 pr-1.5 pb-2"},Kd=["src","alt"],Wd={class:"min-w-0 flex-1"},Jd={class:"space-y-1.5 text-xs text-slate-600 flex flex-col"},Qd={class:"leading-4"},Zd={class:"font-medium text-slate-700"},Xd={class:"text-slate-500"},eu={class:"leading-4"},tu={class:"font-medium text-slate-700"},au={class:"leading-4"},su={class:"font-medium text-slate-700"},ru={class:"flex mt-2 space-x-2"},ou=["onClick"],lu=["onClick"],nu={key:1,class:"rounded-lg border border-slate-200 bg-slate-50 p-3"},iu={class:"flex flex-wrap gap-2 w-full"},du={key:0,class:"bg-white border border-slate-200 p-2 text-sm text-slate-700 rounded-md"},uu=["innerHTML"],cu={class:"text-slate-500"},mu={key:2,class:"rounded-lg border border-slate-200 bg-slate-50 px-3 py-4 text-sm font-medium text-slate-700"},pu={class:"block"},fu={id:"prices",class:"mt-5 rounded-xl py-0 border border-slate-200 bg-white shadow-sm overflow-hidden"},hu={class:"flex items-center justify-between gap-2 border-b border-neutral-100 bg-gradient-to-r from-brand-50 via-white to-accent-50 px-3 py-2.5 md:px-4"},gu={class:"flex items-center gap-2"},bu={class:"inline-flex h-7 w-7 items-center justify-center rounded-full bg-accent-100 text-accent-700"},vu={class:"text-sm md:text-base font-semibold text-neutral-800 truncate"},yu={class:"pb-4"},_u={class:"px-2 pt-3 md:px-3"},xu={class:"rounded-xl border border-slate-200 bg-white p-3 md:p-4"},ku={class:"mb-1 flex items-center justify-between gap-2"},wu={class:"mb-0 text-[11px] font-semibold uppercase tracking-wide text-slate-500"},$u={class:"rounded-full border border-slate-200 bg-slate-50 px-2.5 py-1 text-[11px] font-semibold text-slate-600"},Tu={class:"grid grid-cols-2 gap-2 md:grid-cols-2 xl:grid-cols-4"},Su={class:"mb-1 text-xs font-semibold text-slate-500"},Pu={key:0,class:"mb-0 text-xs font-semibold text-slate-300 line-through"},zu={key:0,class:"mt-3 rounded-xl border border-slate-200 bg-white p-3 md:p-4"},Cu={class:"mb-3 flex items-center justify-between gap-2"},Mu={class:"mb-0 text-[11px] font-semibold uppercase tracking-wide text-slate-500"},Iu={class:"mb-0 text-xs text-slate-400"},Au={class:"overflow-x-auto"},ju={class:"min-w-full text-left text-sm text-slate-700"},Du={class:"bg-slate-50 text-[11px] uppercase tracking-wide text-slate-500"},Nu={class:"px-3 py-2 font-semibold"},Ru={class:"px-3 py-2 font-semibold"},Ou={class:"px-3 py-2 font-semibold"}
34,Uu=["rowspan"],Lu={class:"whitespace-nowrap px-3 py-2 text-sm font-semibold text-slate-700 flex flex-col"},Vu={class:"text-[10px] md:text-xs font-normal text-slate-500"},Bu={class:"whitespace-nowrap px-3 py-2"},Eu={key:0,class:"mb-0 text-[11px] font-semibold text-slate-400 line-through leading-4 mb-0"},Hu=["innerHTML"],qu=["innerHTML"],Gu={key:2,class:"mt-4 mb-3 priceInfo leading-4"},Fu={key:3},Yu={key:0,class:"mt-3 rounded-xl border border-slate-200 bg-white shadow-sm overflow-hidden py-0"},Ku={class:"flex items-center gap-2 px-3 py-2.5 border-b border-slate-100 bg-slate-50/70"},Wu={class:"text-sm font-semibold text-slate-700 truncate"},Ju={class:"px-2 py-2"},Qu={key:1,class:"mt-3 py-0 rounded-xl border border-neutral-200 bg-white shadow-sm overflow-hidden"},Zu={class:"flex items-center justify-between gap-2 border-b border-neutral-100 bg-gradient-to-r from-brand-50 via-white to-accent-50 px-3 py-2.5 md:px-4"},Xu={class:"flex items-center gap-2"},ec={class:"inline-flex h-7 w-7 items-center justify-center rounded-full bg-brand-100 text-brand-700"},tc={class:"text-sm font-semibold text-neutral-800"},ac={class:"grid grid-cols-1 gap-1.5 p-3 md:grid-cols-2 md:gap-2 md:p-4"},sc={class:"flex items-start gap-2 rounded-lg border border-neutral-200 bg-neutral-50/70 px-2.5 py-2 text-[13px] text-neutral-700"},rc={class:"flex items-start gap-2 rounded-lg border border-neutral-200 bg-neutral-50/70 px-2.5 py-2 text-[13px] text-neutral-700"},oc={class:"flex items-start gap-2 rounded-lg border border-neutral-200 bg-neutral-50/70 px-2.5 py-2 text-[13px] text-neutral-700"},lc={class:"flex items-start gap-2 rounded-lg border border-neutral-200 bg-neutral-50/70 px-2.5 py-2 text-[13px] text-neutral-700"},nc={class:"flex items-start gap-2 rounded-lg border border-neutral-200 bg-neutral-50/70 px-2.5 py-2 text-[13px] text-neutral-700"},ic={class:"flex items-start gap-2 rounded-lg border border-neutral-200 bg-neutral-50/70 px-2.5 py-2 text-[13px] text-neutral-700"},dc={class:"mt-5 rounded-xl py-0 border border-slate-200 bg-white shadow-sm overflow-hidden"},uc={class:"flex items-center justify-between gap-2 border-b border-neutral-100 bg-gradient-to-r from-brand-50 via-white to-accent-50 px-3 py-2.5 md:px-4"},cc={class:"flex items-center gap-2"},mc={class:"inline-flex h-7 w-7 items-center justify-center rounded-full bg-support-100 text-support-700"},pc={id:"program",class:"text-sm md:text-base font-semibold text-neutral-800 truncate"},fc=["innerHTML"],hc={class:"mt-3 py-0 overflow-hidden rounded-2xl border border-slate-200 bg-white shadow-[0_12px_32px_-26px_rgba(15,23,42,.5)]"},gc={class:"flex items-center justify-between gap-3 border-b border-slate-100 bg-slate-50/80 px-4 py-3"},bc={class:"flex min-w-0 items-center gap-2.5"},vc={class:"inline-flex h-8 w-8 shrink-0 items-center justify-center rounded-xl bg-sky-100 text-sky-700"},yc={class:"min-w-0"},_c={class:"mb-0 leading-4 truncate text-sm font-bold text-slate-800 mb-0"},xc={class:"mb-0 leading-4 mt-0 text-[11px] text-slate-500"},kc={class:"grid grid-cols-1 gap-2 p-3 md:grid-cols-2"},wc=["open"],$c={class:"flex cursor-pointer list-none items-center justify-between gap-3 px-3 py-2.5 text-[13px] font-semibold leading-5 text-slate-700 marker:hidden"},Tc={class:"flex min-w-0 flex-col items-start gap-1"},Sc={key:0,class:"rounded-full bg-support-50 px-2 py-0.5 text-[9px] font-bold uppercase tracking-wide text-support-700"},Pc={class:"inline-flex h-5 w-5 shrink-0 items-center justify-center rounded-full bg-slate-100 text-slate-500 transition-transform group-open:rotate-45 group-open:bg-sky-100 group-open:text-sky-700"},zc={class:"mb-0 border-t border-slate-100 px-3 py-3 text-xs leading-5 text-slate-600"},Cc={key:3,class:"mt-4 rounded-xl border border-slate-200 bg-white shadow-sm overflow-hidden"},Mc={class:"flex items-center justify-between gap-2 border-b border-neutral-100 bg-gradient-to-r from-brand-50 via-white to-accent-50 px-3 py-2.5 md:px-4"},Ic={class:"flex items-center gap-2"},Ac={class:"inline-flex h-7 w-7 items-center justify-center rounded-full bg-brand-100 text-brand-700"},jc={class:"text-sm md:text-base font-semibold text-neutral-800 truncate"},Dc=["innerHTML"],Nc={class:"w-full px-2 lg:w-[22rem] lg:min-w-[22rem] lg:px-0 mt-5 lg:mt-0"},Rc={key:0,class:"mt-5 rounded-xl border border-slate-200 bg-white shadow-sm overflow-hidden"},Oc={class:"flex items-center justify-between gap-2 px-3 py-2.5 border-b border-slate-100 bg-slate-50/80"},Uc={class:"flex items-center gap-2 min-w-0"},Lc={class:"text-sm font-semibold text-slate-800 truncate"},Vc={class:"px-3 py-3"},Bc={class:"mb-0 text-sm leading-5 text-slate-600"},Ec={key:1,class:"mt-4 overflow-hidden py-0 rounded-2xl border border-violet-200 bg-white shadow-[0_12px_32px_-26px_rgba(76,29,149,.5)]","aria-label":"Tur anlatımı"},Hc={class:"flex items-center gap-3 border-b border-violet-100 bg-gradient-to-r from-violet-50 via-white to-fuchsia-50 px-4 py-3"},qc={class:"inline-flex h-9 w-9 shrink-0 items-center justify-center rounded-xl bg-violet-100 text-violet-700"},Gc={class:"min-w-0"},Fc={class:"mb-0 text-sm font-bold text-violet-950"},Yc={class:"mb-0 mt-0.5 text-[11px] leading-4 text-violet-700"},Kc={class:"p-3"},Wc=["src"],Jc=["src"],Qc={key:2,class:E("bg-slate-100 p-3 mt-3 pb-5 rounded-md font-semibold flex flex-col")},Zc={class:"mb-3 text-sm font-semibold"}
34,Xc={class:"p-1.5 text-sm w-fit rounded-md mr-1 inline mb-1 bg-white border flex-nowrap truncate"},e0={class:"font-normal"},t0=["innerHTML"],a0={key:5,class:"block"},s0={class:"text-lg flex space-x-2 mt-2 mb-2 items-center truncate"},r0={key:6,id:"tourVideo",classs:"block mt-5"},o0=["src"],l0=["src"],n0=["src","poster"],i0=["src","type"],d0=["src","title"],u0={key:7,id:"tourVideo",class:"tour-showcase mt-4 py-0 overflow-hidden rounded-2xl border border-slate-800 bg-slate-950 text-white shadow-[0_22px_55px_-28px_rgba(15,23,42,.95)]"},c0={class:"relative overflow-hidden border-b border-white/10"},m0={class:"absolute inset-x-0 bottom-0 flex items-end justify-between gap-3 p-4"},p0={class:"min-w-0"},f0={class:"mb-0 truncate text-lg font-bold leading-tight"},h0={class:"inline-flex h-11 w-11 shrink-0 items-center justify-center rounded-full border border-white/30 bg-white text-slate-950 shadow-xl transition group-hover:scale-110"},g0={class:"p-3.5"},b0={class:"mb-3 flex items-center justify-between gap-2"},v0={class:"flex items-center gap-1 rounded-full bg-white/10 px-2 py-1 text-[10px] font-semibold text-amber-300"},y0={class:"mb-2 flex items-center justify-between"},_0={class:"flex gap-0.5 text-amber-300"},x0={class:"tour-proof-comment mb-3 text-[12px] leading-[1.65] text-slate-200"},k0={class:"flex items-center justify-between gap-2 border-t border-white/10 pt-2.5"},w0={class:"flex min-w-0 items-center gap-2"},$0={class:"inline-flex h-7 w-7 shrink-0 items-center justify-center rounded-full bg-gradient-to-br from-amber-300 to-amber-500 text-[11px] font-black text-slate-950"},T0={class:"min-w-0"},S0={class:"mb-0 truncate leading-3 text-[11px] font-bold text-white"},P0={class:"mb-0 text-[9px] leading-3 capitalize text-slate-500 mt-1"},z0={class:"flex w-full justify-between text-xs text-neutral-500"},C0={key:0,class:"text-xs text-neutral-500"},M0={class:"ml-2"},I0=["href"],A0={key:1},j0={key:2,class:"mr-2 md:mr-1"},D0={key:3,class:"mr-2 md:mr-1"},N0={key:0,class:"flex gap-1"},R0={key:1,class:"h-32 animate-pulse rounded-xl border border-white/10 bg-white/[.06]"},O0={key:2,class:"mt-4"},U0={class:"mb-2 flex items-end justify-between gap-2"},L0={class:"grid h-32 grid-cols-5 grid-rows-2 gap-1.5 overflow-hidden rounded-xl"},V0=["onClick"],B0=["src","alt"],E0={key:0,class:"absolute inset-0 flex items-center justify-center bg-slate-950/60 text-xs font-bold text-white"},H0=["src"],q0={key:1,width:"100%",height:"190",src:"https://www.youtube.com/embed/e1qOAkVum18?autoplay=1&rel=0",title:"Umre turu tanıtım filmi",frameborder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",referrerpolicy:"strict-origin-when-cross-origin",allowfullscreen:""},G0={class:"mb-7 mt-3",id:"reservation"},F0={class:"mb-7 mt-3 bg-gray-50 border border-primary-800 py-5 px-3 rounded-1xl",id:"reservation"},Y0={class:"text-sm mb-4 text-slate-600 font-semibold"},K0=["onClick"],W0={key:0,class:"absolute text-xs bg-teal-500 px-2 rounded-lg right-2 -bottom-2"},J0={class:"text-xs"},Q0={class:"text-xs"},Z0={key:1,class:"my-5"},X0=["width","src","title"],em={key:2,class:"md:flex w-full md:space-x-3",id:"maps"},tm={class:"w-full"},am={key:0,class:"w-full"},sm=["innerHTML"],rm={class:"md:hidden fixed bottom-0 left-0 z-20 w-full border-t border-slate-200 bg-white/95 backdrop-blur supports-[backdrop-filter]:bg-white/85 px-2 pb-[calc(env(safe-area-inset-bottom)+8px)] pt-2 shadow-[0_-12px_28px_-20px_rgba(22,32,51,0.45)]"},om={class:"mx-auto max-w-screen-xl"},lm={class:"grid grid-cols-3 gap-2"},nm=["disabled"],im={class:"truncate"},dm={class:"truncate"},um=["disabled"],cm={class:"truncate"},mm={key:3,class:"border-t border-t-slate-300 bg-slate-50"},pm={key:0,id:"reservationDetail",class:"container mt-6"},Pt=500,fm={__name:"[id]",async setup(b){var Jt,Qt,Zt,Xt;let x,C;const A=Bs(),G=Es(),j=Hs(),V=rr(),v=qs();or();const{goPath:re,showImage:B,addScript:ce,decodeHTMLEntities:fe,formatDate:he,formatMoney:me}=Za(),ae=k(1),{locale:g}=Qa(),H=Xa(),{normalizeChildrenAges:ne,getRoomKidsCount:ke,loadReservationSelection:Le,saveReservationSelection:D}=os();U(()=>ke(H.value));const N=k(null),X=ss();U(()=>{var t;return(t=G.params)==null?void 0:t.id});const Q=k(!1),o=k(null),S=U(()=>{var t;return((t=G.params)==null?void 0:t.id)||""});Gs();const ge=U(()=>{var y,_,P;const t=String(((y=o.value)==null?void 0:y.turs_show_video_or_sound)||"none").toLowerCase();if(!t||t==="none")return null;const a=String(((_=o.value)==null?void 0:_.turs_voice_video)||"").trim(),r
34=String(((P=o.value)==null?void 0:P.turs_voice_file)||"").trim();if(t==="video"){if(a)return{type:"video",src:a};if(r)return{type:"voice",src:r}}return t==="voice"&&r?{type:"voice",src:r}:null}),et=k(!1),tt=k(!1),Me=k(!1),at=k(!1),Ae=k([]),Y=k(0),ie=k([]),xe=k(0),de=k(null),je=k(!1),be=k(null),Ve=k(null),ee=k([]),st=k(!1),rt=k(""),Ie=k("gallery"),ue=k(null),oe=k(null);k(null);const De=k(""),Ne=k("");k("");const Te=k("");k(!1);const Re=k(!1),pe=U(()=>Ae.value[Y.value]||null),d=U(()=>{const t=Ae.value.map(a=>Number(a==null?void 0:a.yh_PointsAvg)).filter(a=>Number.isFinite(a)&&a>0);return t.length?(t.reduce((a,r)=>a+r,0)/t.length).toFixed(1):"5.0"}),f=t=>String(t||"").replace(/<br\s*\/?>/gi," ").replace(/<[^>]*>/g," ").replace(/ /gi," ").replace(/&/gi,"&").replace(/\s+/g," ").trim(),T=U(()=>{var a;const t=(a=o.value)==null?void 0:a.turs_CampaignTitle;return t?typeof t=="string"?t.trim():String((t==null?void 0:t[g.value])||(t==null?void 0:t.tr)||(t==null?void 0:t.en)||"").trim():""});U(()=>f(T.value));const w=t=>{const a=Ae.value.length;a&&(Y.value=(Y.value+t+a)%a)},m=async()=>{var r,y,_,P,R,J;if(at.value||Me.value)return;Me.value=!0;const t=`{ 35 comments(pdb_status: 1, order: "yh_CommentDate DESC", limit: 8, offset: 0) { 36 yh_Name 37 yh_Surname 38 yh_Source 39 yh_Details 40 yh_PointsAvg 41 yh_Message 42 yh_CommentDate 43 } 44 }`,a=`{ 45 galleries(pdb_status: 1, order: "pdb_sira DESC", limit: 6, offset: 0) { 46 GalleryName { tr en } 47 GalleryPhoto 48 } 49 }`;try{const[z,O]=await Promise.all([Ct.post(`${X.public.apiBase}/graphql/direct`,{query:t}),Ct.post(`${X.public.apiBase}/graphql/direct`,{query:a})]);Ae.value=(((y=(r=z.data)==null?void 0:r.data)==null?void 0:y.comments)||[]).filter(K=>f(K==null?void 0:K.yh_Message).length>20);const te=[];for(const K of((P=(_=O.data)==null?void 0:_.data)==null?void 0:P.galleries)||[])if(K!=null&&K.GalleryPhoto)try{const se=JSON.parse(K.GalleryPhoto),Se=Array.isArray(se)?se:Object.values(se||{});for(const ye of Se)ye!=null&&ye.i&&te.push({i:`https://image.inanctur.com.tr/yonetim/${ye.i}`,t:ye.t||"",name:((R=K.GalleryName)==null?void 0:R[g.value])||((J=K.GalleryName)==null?void 0:J.tr)||"Son umre grubumuz"})}catch(se){console.warn("Tur tanıtımı galeri verisi okunamadı.",se)}xe.value=te.length,ie.value=te.slice(0,24),at.value=!0}catch(z){console.warn("Tur tanıtımı yorum ve fotoÄrafları yüklenemedi.",z)}finally{Me.value=!1}},{data:$,error:p,pending:M,refresh:ve}=([x,C]=Fs(async()=>tr("tour-detail",async()=>S.value?await V.getTour({id:S.value}):null,{watch:[S,()=>g.value],immediate:!0,server:!0})),x=await x,C(),x),q=k({}),It=async(t="next")=>{var _,P,R,J;const a=(_=o.value)==null?void 0:_.pdb_Id,r=(P=o.value)==null?void 0:P.turs_StartDate,y=Tl(r,t,a);if(q.value[t]=void 0,!!y)try{const z=await V.getTours(y,g),O=Sl(z,{currentId:a,currentStartDate:r,direction:t});String((R=o.value)==null?void 0:R.pdb_Id)===String(a)&&(q.value[t]=O)}catch(z){String((J=o.value)==null?void 0:J.pdb_Id)===String(a)&&(q.value[t]=void 0),console.warn(`[tourDetail] ${t} tour could not be loaded.`,z)}},At=k([]),ns=(t="next")=>{var r;let a={};if((r=o.value)!=null&&r.turs_StartDate){const y=rs(o.value.turs_StartDate),_=ls(y,1);a.startLeast=Mt(_,"yyyy-MM-dd"),a.endLeast=o.value.turs_StartDate,V.getTours(a).then(P=>{At.value=P})}},jt=t=>{{const a=document.referrer||"";if(window.history.length>1&&a)try{const y=new URL(a);if(y.origin===window.location.origin&&y.pathname.startsWith("/tour/")){j.back();return}}catch{}}re(t)},Dt=U(()=>{var t,a,r,y;return(a=(t=o.value)==null?void 0:t.categories)!=null&&a.includes("VG91ckNhdGVnb3J5ZW4xMjE1MTY5NjE0MzA4OAqq")?"/tours/rota-yurtdisi-turlari":(y=(r=o.value)==null?void 0:r.categories)!=null&&y.includes("VG91ckNhdGVnb3J5ZW43MTI5MTcyNjUyMDU4OAqq")?"/page/hac":"/tour/umre-turlari"}),ot=t=>{var r;const a=(r=q.value)==null?void 0:r[t];!a||!a.pdb_Id||re(`/tourDetail/${a.pdb_Id}`)},is=t=>{Re.value=!0,ae.value=t},Be=U(()=>Ja(o.value,g.value)),Nt=t=>{if(!t)return"https://inanctur.com.tr/assets/img/logo/logo.png";try{return new URL(t,"https://inanctur.com.tr").href}catch{return"https://inanctur.com.tr/assets/img/logo/logo.png"}},ds=t=>{var Ye,Ke,We,Je;if(!t)return;const a=g.value==="en",r=Ja(t,g.value),y=r.isUmrah,_=t.turd_TopImage||t.turMainPhoto||((Ke=(Ye=t==null?void 0:t.hotels)==null?void 0:Ye[0])==null?void 0:Ke.sOtelPhoto),P=Nt(_?B(_,1200,630,!0,90):""),R=`https://inanctur.com.tr${a?"/en":""}/tourDetail/${t.pdb_Id||S.value}`,J=`https://inanctur.com.tr/tourDetail/${t.pdb_Id||S.value}`,z=`https://inanctur.com.tr/en/tourDetail/${t.pdb_Id||S.value}`;Ya({link:[{key:"canonical",rel:"canonical",href:R},{key:"alternate-x-default",rel:"alternate",hreflang:"x-default",href:J},{key:"alternate-tr",rel:"alternate",hreflang:"tr",href:J},{key:"alternate-en",rel:"alternate",hreflang:"en",href:z}]});const O=r.heading,te=[...new Set([_,...((t==null?void 0:t.hotels)||[]).map($e=>
49$e==null?void 0:$e.sOtelPhoto)])].filter(Boolean).map($e=>Nt(B($e,1200,900,!0,88))),K=Number(t==null?void 0:t.turs_double),se=String((t==null?void 0:t.tour_Currency)||"").trim().toUpperCase(),Se=String(((We=t==null?void 0:t.turs_status_data)==null?void 0:We.value)||(t==null?void 0:t.turs_status)||"").toUpperCase(),ye=((Je=t==null?void 0:t.turs_status_data)==null?void 0:Je.available)!==!1&&!["FULL","CLOSED","CANCELLED"].includes(Se),it=String((t==null?void 0:t.turs_EndDate)||(t==null?void 0:t.turs_StartDate)||"").slice(0,10)<new Date().toISOString().slice(0,10),dt=$e=>{const Qe=Number.isFinite(K)&&K>0&&se?{"@type":"Offer",url:R,price:K,priceCurrency:se,availability:`https://schema.org/${ye?"InStock":"OutOfStock"}`,validFrom:new Date().toISOString().slice(0,10),priceValidUntil:String((t==null?void 0:t.turs_StartDate)||"").slice(0,10),seller:{"@id":"https://inanctur.com.tr/#organization"}}:void 0,Pe={"@type":["Product","TouristTrip"],"@id":`${R}#tour`,name:O,description:$e,sku:String(t.pdb_Id||S.value),url:R,mainEntityOfPage:R,image:te.length?te:["https://inanctur.com.tr/assets/img/logo/logo.png"],category:y?a?"Umrah travel package":"Umre tur paketi":a?"International tour package":"YurtdıÅı tur paketi",brand:{"@id":"https://inanctur.com.tr/#organization"},provider:{"@id":"https://inanctur.com.tr/#organization"},touristType:y?a?["Religious tourism","Umrah pilgrims"]:["İnanç turizmi","Umre yolcuları"]:a?"Cultural tourism":"Kültür turizmi",tripOrigin:r.origin?{"@type":"Place",name:r.origin}:void 0,itinerary:r.places.length?{"@type":"ItemList",numberOfItems:r.places.length,itemListElement:r.places.map((Ue,ut)=>({"@type":"ListItem",position:ut+1,item:{"@type":"Place",name:Ue}}))}:void 0,offers:Qe};Qe||delete Pe.offers,Pe.tripOrigin||delete Pe.tripOrigin,Pe.itinerary||delete Pe.itinerary,Ya({script:[{key:"tour-product-schema",type:"application/ld+json",children:JSON.stringify({"@context":"https://schema.org","@graph":[{"@type":["Organization","TravelAgency"],"@id":"https://inanctur.com.tr/#organization",name:"İnanç Turizm",alternateName:["İnanç Tur","Inanc Tour"],url:"https://inanctur.com.tr/",logo:"https://inanctur.com.tr/assets/img/logo/inanc_tur_yeni_logo.webp",telephone:"+90 850 241 41 41",email:"[email protected]"},Pe,{"@type":"BreadcrumbList","@id":`${R}#breadcrumb`,itemListElement:[{"@type":"ListItem",position:1,name:a?"Home":"Ana Sayfa",item:`https://inanctur.com.tr${a?"/en":""}`},{"@type":"ListItem",position:2,name:a?"Umrah Packages":"Umre Turları",item:`https://inanctur.com.tr${a?"/en/tour/umrah-tours":"/tour/umre-turlari"}`},{"@type":"ListItem",position:3,name:O,item:R}]},...y?[{"@type":"FAQPage","@id":`${R}#faq`,mainEntity:Gt(a?"en":"tr").map(Ue=>({"@type":"Question",name:Ue.question,acceptedAnswer:{"@type":"Answer",text:Ue.answer}}))}]:[]]})}]})};return Ga({title:r.title,ogTitle:r.title,description:r.description,ogDescription:r.description,ogImage:P,ogUrl:R,ogSiteName:a?"Inanc Tour":"İnanç Tur",ogLocale:a?"en_US":"tr_TR",ogType:"website",twitterCard:"summary_large_image",twitterTitle:r.title,twitterDescription:r.description,twitterImage:P,robots:it?"noindex, follow":"index, follow, max-image-preview:large"}),dt(r.description),r.title};if(p.value||!$.value||!((Jt=$.value)!=null&&Jt.turs_StartDate))Q.value=!0,Ga({title:"Tour Not Found",ogTitle:"Tour Not Found",description:"We cannot find the tour you searched for.",ogDescription:"Tour not found.",robots:"noindex, nofollow"});else{const t=$.value;if(g.value,t.start=he(t.turs_StartDate,"dd MMM yyyy"),t.end=he(t.turs_EndDate,"dd MMM yyyy"),ee.value=sr(t.turs_StartDate,t.turs_EndDate),o.value=t,(Qt=o.value)!=null&&Qt.turs_gallery)try{o.value.turs_gallery.charAt(0)==="{"?o.value.gallery=Object.values(JSON.parse(o.value.turs_gallery)):o.value.turs_gallery.charAt(0)==="["&&(o.value.gallery=JSON.parse(o.value.turs_gallery))}catch{}ue.value=t.detail,De.value=t.turs_program?fe(t.turs_program):fe(((Zt=t.detail)==null?void 0:Zt.turd_Detail)||""),Te.value=t.turs_price_info&&t.turs_price_info!=="<p></p>"?fe(t.turs_price_info):(Xt=t.detail)!=null&&Xt.turd_PriceInfo?fe(t.detail.turd_PriceInfo):"";const a=ds(t);rt.value=a||"",It("next"),It("prev")}U(()=>{var t;return`${(t=o.value)==null?void 0:t.tur_Sure} gün Umre`});const ht=U(()=>{var t,a;return(a=(t=o.value)==null?void 0:t.destination)==null?void 0:a.split(",").map(r=>({name:r,value:r})).filter(r=>r.name)}),us=t=>{if(!t)return"";const a=String(t).trim();if(!a)return"";if(a.startsWith("blob:")||a.startsWith("data:"))return a;
49try{const r=new URL(a,"https://yonetim.inanctur.com");return r.protocol="https:",r.hostname="yonetim.inanctur.com",r.toString()}catch{return a.replace("image.inanctur.com.tr","yonetim.inanctur.com")}},Ee=U(()=>{var t;return us(((t=o.value)==null?void 0:t.turs_pdf)||"")}),gt=()=>{var t;if(Ee.value){window.open(Ee.value,"_blank","noopener,noreferrer");return}(t=o.value)!=null&&t.pdb_Id&&re(`/tourDetail/print/${o.value.pdb_Id}`)},bt=k(null),Rt=k({}),cs=(t,a)=>{a&&(Rt.value[t]=a)},ms=()=>{const t=Rt.value[Ie.value],a=bt.value;if(!t||!a)return;const y=t.offsetLeft-(a.clientWidth-t.offsetWidth)/2;a.scrollTo({left:Math.max(0,y),behavior:"smooth"})};pt(Ie,async()=>{await Ks(),ms()});const Ot=(t=1)=>{const a=bt.value;if(!a)return;const r=Math.round(a.clientWidth*.7)*t;a.scrollBy({left:r,behavior:"smooth"})},ps=t=>({gallery:"fa-solid fa-images",prices:"fa-solid fa-tags",hotels:"fa-solid fa-hotel",program:"fa-solid fa-list-ul",maps:"fa-solid fa-map-location-dot",reservationDetail:"fa-solid fa-calendar-check"})[t]||"fa-solid fa-circle",Ut=k(null),fs=t=>{st.value=!0,setTimeout(()=>{Ut.value.changeVisibility(t)},500)},hs=[{label:"Galeri",value:"gallery"},{label:"Oteller",value:"hotels"},{label:"Ãcretler",value:"prices"},{label:"Detay",value:"program"},{label:"Haritalar",value:"maps"},{label:"Rezervasyon",value:"reservationDetail"}],vt=k(0),gs=()=>{var a,r;ne(H.value),D(H.value),vt.value=0;let t=0;(a=o.value)!=null&&a.prices&&((r=H.value)!=null&&r.rooms)&&(H.value.grand_total=0,H.value.discount=0,H.value.total=0,H.value.extra_total=0,H.value.exclude_total=0,H.value.rooms.forEach(y=>{var te,K,se;let _=y.adult==1?2:y.adult==2?0:y.adult==3?1:2,P=0,R=0,J=0,z=0,O=0;P=P+((te=o.value.prices[_])==null?void 0:te.turf_Price)*y.adult,P=P+((K=o.value.prices[3])==null?void 0:K.turf_Price)*y.child,P=P+((se=o.value.prices[4])==null?void 0:se.turf_Price)*y.baby,J=P,R=0,t=t+parseInt(J),y.grand_total=J+O,y.total=P,y.discount=R,y.exclude_total=z,y.extra_total=O,H.value.grand_total+=J,H.value.discount+=R,H.value.total+=P}),vt.value=t)},we=U(()=>{var a,r,y,_,P,R,J;let t=[];if((a=o.value)!=null&&a.gallery&&o.value.gallery&&o.value.gallery.length>0&&o.value.gallery.forEach(z=>{t.push({i:z.i,t:z.t||"",name:""})}),(r=o.value)!=null&&r.hotels[0]&&((_=(y=o.value)==null?void 0:y.hotels[0])!=null&&_.sOtelAdi)&&((P=o.value)==null||P.hotels.forEac
49h(z=>{if(z.hPhotoGallery&&z.hPhotoGallery.charAt(0)=="{"){let O=JSON.parse(z.hPhotoGallery);Array.isArray(O)||typeof O=="object"&&(O=Object.values(O)),O&&O[0]&&O.forEach((te,K)=>{var se,Se;if(t.push({i:"https://image.inanctur.com.tr/yonetim/"+te.i,t:te.t,name:(se=z==null?void 0:z.sOtelAdi)==null?void 0:se.tr}),K==0&&z.hotelVideo){let ye=z.hotelVideoPhoto?z.hotelVideoPhoto:"/assets/img/video-play.png";t.unshift({i:ye,video:z==null?void 0:z.hotelVideo,name:(Se=z==null?void 0:z.sOtelAdi)==null?void 0:Se.tr})}})}})),(R=ue.value)!=null&&R.turd_Galeri&&ue.value.turd_Galeri.charAt(0)=="["&&JSON.parse(ue.value.turd_Galeri).forEach(O=>{t.push({i:"https://yonetim.inanctur.com.tr/visual2/yonetim/"+O.i,t:O.t||"",name:""})}),(J=ue.value)!=null&&J.turd_Galeri&&ue.value.turd_Galeri.charAt(0)=="{"){let z=JSON.parse(ue.value.turd_Galeri);Object.values(z).forEach(te=>{t.push({i:"https://yonetim.inanctur.com.tr/visual2/yonetim/"+te.i,t:te.t||"",name:""})})}return t}),yt=["mp4","webm","mov","avi","mkv","gif"],bs=t=>{const a={duration:null,covers:{}};if(yt.forEach(_=>{a.covers[_]=""}),!t)return a;let r=t;if(typeof t=="string")try{r=JSON.parse(t)}catch{return a}if(!r||typeof r!="object")return a;const y=r.covers&&typeof r.covers=="object"?r.covers:{};if(yt.forEach(_=>{typeof y[_]=="string"&&(a.covers[_]=y[_])}),r.duration!==""&&r.duration!==null&&r.duration!==void 0){const _=Number(r.duration);Number.isFinite(_)&&_>=0&&(a.duration=_)}return a},Lt=t=>{if(!t)return"";const a=String(t);return a.startsWith("data:")||a.startsWith("http")||a.startsWith("/assets/")?a:B(a,"",500,"","","")},Vt=(t="")=>{var y;if(!t)return"";const r=((y=String(t).split("?")[0].split("#")[0].split(".").pop())==null?void 0:y.toLowerCase())||"";return yt.includes(r)?r:""},vs=t=>({mp4:"video/mp4",webm:"video/webm",mov:"video/quicktime",avi:"video/x-msvideo",mkv:"video/x-matroska",gif:"image/gif"})[t]||"video/mp4",ys=(t="")=>{const a=String(t).toLowerCase();return a.includes("youtube.com")||a.includes("youtu.be")},_s=(t="")=>{var a;try{const r=new URL(t);if(r.hostname.includes("youtu.be"))return`https://www.youtube.com/embed/${r.pathname.replace("/","")}?autoplay=1`;if(r.pathname.includes("/shorts/"))return`https://www.youtube.com/embed/${(a=r.pathname.split("/shorts/")[1])==null?void 0:a.split("/")[0]}?autoplay=1`;if(r.pathname.includes("/embed/"))return`${t}${t.includes("?")?"&":"?"}autoplay=1`;const y=r.searchParams.get("v");if(y)return`https://www.youtube.com/embed/${y}?autoplay=1`}catch{}return ws(t)},Bt=U(()=>{var t;return bs((t=o.value)==null?void 0:t.turs_VideoIntro)}),xs=U(()=>{var t;return Vt((t=o.value)==null?void 0:t.turs_Video)}),Fe=U(()=>{var a;const t=xs.value;return t?Lt(((a=Bt.value.covers)==null?void 0:a[t])||""):""}),Et=U(()=>{var t;return Fe.value?Fe.value:(t=o.value)!=null&&t.turs_VideoPhoto?Lt(o.value.turs_VideoPhoto):"/assets/img/video_hac.webp"}),He=U(()=>{var r;const t=String(((r=o.value)==null?void 0:r.turs_Video)||"").trim();if(!t)return{kind:"none",src:"",mimeType:""};if(ys(t))return{kind:"youtube",src:_s(t),mimeType:""};const a=Vt(t);return{kind:"direct",src:t,mimeType:vs(a)}}),Ht=()=>{be.value&&(clearTimeout(be.value),be.value=null)},ks=()=>{if(et.value=!0,Ht(),!Fe.value){je.value=!1;return}je.value=!0;const t=Number(Bt.value.duration),a=Number.isFinite(t)&&t>0?t:.5;be.value=setTimeout(()=>{var r;je.value=!1,He.value.kind==="direct"&&((r=Ve.value)!=null&&r.play)&&Ve.value.play().catch(()=>{})},a*1e3)},ws=t=>{var r,y;return`https://www.youtube.com/embed/${(y=(r=t.split("/shorts"))==null?void 0:r[1].split("?"))==null?void 0:y[0]}?autoplay=1`};ns();const _t=()=>{qt("tourVideo")},qt=t=>{const a=document.getElementById(t);if(!a)return;Ie.value=t;const y=a.getBoundingClientRect().top+window.pageYOffset+-100;wt.value=!0,clearTimeout(Wt),window.scrollTo({top:y,behavior:"smooth"}),Wt=setTimeout(()=>{wt.value=!1},700)},Oe=U(()=>{var t,a;return(a=(t=o.value)==null?void 0:t.categories)==null?void 0:a.includes("5YILDIZUMRE")}),$s=U(()=>{var a,r;const t=((a=o.value)==null?void 0:a.turs_program)||((r=De.value)==null?void 0:r[g.value])||De.value||"";return String(t).replace(/Saat\s*09[.:]00[â']?de\s+bagajların\s+oda\s+kapısı\s+önüne\s+bırakılması/gi,"Belirlenen s
49aatte bagajların oda kapısı önüne bırakılması")});function Gt(t="tr"){return t==="tr"?[{category:"Rehberlik",question:"Serbest günlerde hoca oluyor mu?",answer:"Evet. Serbest günlerde de hocalarımız kafilemizle birlikte olmaya devam eder. Programın akıÅı, grubun durumu ve o günün Åartlarına göre; teheccüd namazı, sohbet halkaları, nafile tavaflar, birlikte vakit namazlarına iÅtirak ve manevi paylaÅımlar gibi faaliyetler düzenlenebilir. Böylece misafirlerimiz, serbest zamanlarında da hocalarımızın rehberliÄinden ve manevi desteÄinden istifade etme imkânı bulurlar."},{category:"Program",question:"Program saatleri deÄiÅebilir mi?",answer:"Hayır. UçuÅ gün ve saatleri havayolundan satın aldıÄımız tarihlerdir ve bu nedenle havayolu tarafında bir deÄiÅiklik olmadıÄı sürece deÄiÅmesi mümkün deÄildir. Programda yer alan günlük ziyaretler; trafik, yoÄunluk, ibadet saatleri ve yerel uygulamalara göre program saatlerinde deÄiÅiklik olabilir."},{category:"Kadın yolcular",question:"Turlarınızda kadın hoca veya kadın irÅad görevlisi bulunuyor mu?",answer:"İnanç Turâun bütün umre turlarında kadın misafirlerin Ravza ziyaretine kadın irÅad görevlisi eÅlik eder. "},{category:"Ravza",question:"Ravza randevusunu kim alıyor, Nusuk indirmem gerekir mi?",answer:"Kafile programındaki Ravza randevunuzu İnanç Tur alır; standart ziyaret için Nusuk uygulamasını indirmeniz veya bireysel randevu oluÅturmanız gerekmez. Programdaki ziyarete ek olarak ikinci bir Ravza randevusu isteyen yolcular Nusuk üzerinden müsaitlik arayabilir. Ek randevu garanti edilmez ve kafile programıyla çakıÅmamalıdır."},{category:"Ãdeme",question:"Tur rezervasyonunda ödeme nasıl yapılıyor?",answer:"Rezervasyon sırasında tur bedelinin %50âsi peÅin olarak ödenir. Kalan tutarı turun kalkıŠtarihine 10 gün kalana kadar tamamlayabilirsiniz. Rezervasyonunuza ait ödeme ve bakiye detaylarını İnanç Tur mobil uygulamasından takip edebilirsiniz."},{category:"İptal ve iade",question:"Turumu iptal edersem ücret iadesi nasıl yapılır?",answer:"Turun kalkıŠtarihine 30 gün kalana kadar koÅulsuz iptal hakkınız vardır. Bu süreden sonra otel, vize ve uçak bileti gibi satın alımı tamamlanmıŠhizmetlerin tarafımıza yansıyan gerçek ceza bedelleri yolcuya yansıtılır ve kalan tutar iade edilir. Herhangi bir ceza bedeli oluÅmazsa ödemenizin tamamı iade edilir."},{category:"Mobil uygulama",question:"Turla ilgili belgeleri ve güncel bilgileri nereden takip edebilirim?",answer:"İnanç Tur mobil uygulamasından tur programınızı, otellerinizi, rehber ve görevli bilgilerini, ödeme detaylarını, duaları, vizenizi, uçak biletinizi ve programınızda bulunuyorsa hızlı tren biletinizi tek yerden takip edebilirsiniz."},{category:"Ziyaretler",question:"Ziyaretlere katılmak zorunlu mu?",answer:"Hayır. SaÄlık veya kiÅisel sebeplerle katılamayacak yolcularımız görevlimize bilgi verebilir. Ancak programın manevi ve kültürel bütünlüÄü için katılım tavsiye edilir."},{category:"UlaÅım",question:"Ziyaret ve transferlerde ulaÅım nasıl saÄlanıyor?",answer:"Programda belirtilen toplu ziyaret ve transferler grup araçlarıyla gerçekleÅtirilir. Mekke-Medine arası geçiÅ Yüksek Hızlı Tren ile gerçekleÅir. Araç ve hareket bilgileri görevli ekip tarafından paylaÅılır."},{category:"İhram",question:"İhramı ne zaman giyeceÄim?",answer:"UçuÅ planına göre hazırlık zamanı deÄiÅir. Mekkeâye Cidde üzerinden geçilecek programlarda erkek yolcular genellikle Türkiyeâde havalimanında ihram kıyafetini hazırlar; niyet ve telbiye mikat düzenine göre yapılır. Ãnce Medineâye giden kafilelerde ise Mekke transferinden önce hazırlık yapılır. Her durumda kendi kafile hocanızın duyurusunu esas alın."},{category:"Hazırlık",question:"Umreye giderken yanıma neler almalıyım?",answer:"Mevsime uygun rahat kıyafet, kullanılmıŠve rahat terlik veya ayakkabı, kiÅisel bakım ürünleri, Åarj ekipmanı ve düzenli kullandıÄınız ilaçları hazırlayın. Erkek yolcular ihram takımını, herkes pasaport ve seyahat belgelerini kolay eriÅilecek el bagajında taÅımalıdır. Ayrıntılı hazırlık listesi mobil uygulamamızda bulunur."},{category:"Pratik bilgi",question:"Umrede hangi para birimini kullanabilirim?",answer:"Suudi Arabistanâın para birimi Suudi Arabistan Riyaliâdir (SAR). Kart kullanımı yaygın olsa da küçük harcamalar için sınırlı miktarda riyal bulundurmak faydalıdır. Döviz kuru ve banka komisyonları deÄiÅebileceÄi için seyahatten önce bankanızın yurt dıÅı kullanım koÅullarını kontrol edin."},{category:"İletiÅim",question:"Grubu kaçırırsam ne yapmalıyım?",answer:"BulunduÄunuz yerde sakin biçimde bekleyip hemen grup hocası veya görevlinizle iletiÅime geçin. Otele tek baÅınıza dönmeden önce mutlaka ekipten yönlendirme alın."},{category:"EriÅilebilirlik",question:"YaÅlı veya hareket kısıtlı yolcular programa katılabilir mi?",answer:"Programların fiziksel yoÄunluÄu güne göre deÄiÅebilir. Ãzel desteÄe ihtiyaç duyan yolcularımızın durumunu önceden bildirmesi, ekip tarafından uygun yönlendirme yapılmasını saÄlar."}]:[{category:"Female guests",question:"Is a female religious guide available on your tours?",answer:"A female religious guide accompanies female guests during the Rawdah visit on every Inanc Tour Umrah program. On some departures, a female guide remains with the group throughout the journey, but this is not standard on every tour and should be confirmed for the selected departure before booking."},{category:"Rawdah",question:"Who books the Rawdah appointment, and do I need Nusuk?",answer:"Inanc Tour books the Rawdah appointment included in the group program, so you do not need to install Nusuk or create an individual booking for the standard visit. Guests seeking an additional Rawdah visit may check availability through Nusuk. An extra appointment is not guaranteed and must not conflict with the group schedule."},{category:"Payment",question:"How is the tour reservation paid?",answer:"Fifty percent of the tour price is paid at reservation. The remaining balance may be completed up to 10 days before departure. Payment and balance details can be followed in the Inanc Tour mobile app."},{category:"Cancellation",question:"What happens if I cancel my tour?",answer:"You may cancel unconditionally until 30 days before departure. After that point, actual penalties charged to us for completed purchases such as hotels, visas and airline tickets are deducted and the remaining amount is refunded. If no penalty is charged, the full payment is refunded."},{category:"Mobile app",question:"Where can I follow my tour documents and updates?",answer:"The Inanc Tour mobile app lets you follow your itinerary, hotels, guide and staff details, payments, prayers, visa, flight ticket and, when included in your program, high-speed train ticket."},{category:"Guidance",question:"Are guides available on free days?",answer:"Yes. Our guides remain with the group. Depending on group coordination and local conditions, optional activities such as tahajjud prayers, talks, voluntary tawaf and walking to prayers together may be arranged."},{category:"Schedule",question:"Can program times change?",answer:"Times may change due to flights, traffic, crowd levels, prayer times or local regulations. The group team will announce the latest schedule in advance."},{category:"Visits",question:"Is participation in visits mandatory?",answer:"No. Guests unable to attend for health or personal reasons may inform the group team, although participation is recommended for the complete experience."},{category:"Transport",question:"How is transportation provided?",answer:"Scheduled group visits and transfers are operated by group vehicles. Meeting and departure details are shared by the tour team."},{category:"Ihram",question:"When should I put on ihram?",answer:"Preparation depends on the flight plan. For programs entering Makkah through Jeddah, male guests generally prepare their ihram clothing at the airport in Türkiye, while intention and talbiyah follow the miqat guidance. Groups visiting Madinah first prepare before the transfer to Makkah. Always follow your own group guideâs instructions."},{category:"Preparation",question:"What should I pack for Umrah?",answer:"Bring comfortable seasonal clothing, worn-in footwear, personal care items, charging equipment and regular medication. Male guests should prepare an ihram set, and all travellers should keep passports and travel documents in accessible hand luggage. A detailed checklist is available in our mobile app."},{category:"Practical",question:"Which currency is used during Umrah?",answer:"The local currency is the Saudi Riyal (SAR). Cards are widely accepted, but a limited amount of cash can help with small purchases. Check foreign-use settings and fees with your bank before travel."},{category:"Contact",question:"What should I do if I miss the group?",answer:"Remain calm, stay where you are and contact your group guide immediately. Do not return to the hotel alone without guidance from the team."},{category:"Accessibility",question:"Can guests with limited mobility join?",answer:"Physical intensity varies by day. Please inform us about support needs in advance so the team can provide appropriate guidance."}]}const Ts=U(()=>Gt(g.value)),xt=t=>
49t.turf_RoomType=="dFJvb21zMTUzMzUwMDc4Mgqq"?1:t.turf_RoomType=="dFJvb21zMTUzMzUwMDgwNwqq"?2:t.turf_RoomType=="dFJvb21zMTU3NDQyNDg0OQqq"?3:t.turf_RoomType=="dFJvb21zMTUzMzUwMDgyNgqq"?4:99,Ss=t=>{const a=xt(t);return g.value==="tr"?a===1?"İkili Oda":a===2?"Ãçlü Oda":a===3?"Dörtlü Oda":a===4?"Single Oda":(t==null?void 0:t.room)||"Oda Fiyatı":a===1?"Double Room":a===2?"Triple Room":a===3?"Quad Room":a===4?"Single Room":(t==null?void 0:t.room)||"Room Price"},Ps=U(()=>{var a;return[...(((a=o.value)==null?void 0:a.prices)||[]).filter(r=>(r==null?void 0:r.turf_PaxType)==="turAdult")].sort((r,y)=>xt(r)-xt(y))}),Ft={turBaby:1,turChildNoBed:2,turChild:3},Yt=U(()=>{var y;let a=[...(((y=o.value)==null?void 0:y.prices)||[]).filter(_=>["turBaby","turChild","turChildNoBed"].includes(_==null?void 0:_.turf_PaxType))].sort((_,P)=>{const R=Number((_==null?void 0:_.turf_MinAge)??0),J=Number((P==null?void 0:P.turf_MinAge)??0);if(R!==J)return R-J;const z=Number((_==null?void 0:_.turf_MaxAge)??0),O=Number((P==null?void 0:P.turf_MaxAge)??0);return z!==O?z-O:(Ft[_==null?void 0:_.turf_PaxType]||99)-(Ft[P==null?void 0:P.turf_PaxType]||99)}),r={};return a.forEach(_=>{r[_.turf_MinAge+"-"+_.turf_MaxAge]||(r[_.turf_MinAge+"-"+_.turf_MaxAge]=[]),r[_.turf_MinAge+"-"+_.turf_MaxAge].push(_)}),r}),zs=t=>(t==null?void 0:t.turf_PaxType)==="turBaby"?g.value==="tr"?"Bebek":"Baby":(t==null?void 0:t.turf_PaxType)==="turChildNoBed"?g.value==="tr"?"Ãocuk ( Yataksız )":"Child (No Bed)":(t==null?void 0:t.turf_PaxType)==="turChild"?g.value==="tr"?"Ãocuk ( Ek Yatak ile )":"Child (With Bed)":g.value==="tr"?"Ãocuk":"Child",Cs=t=>(t==null?void 0:t.turf_PaxType)==="turBaby"?g.value==="tr"?"Otel tarafında beÅik verilebilir.":"Baby with Crib":(t==null?void 0:t.turf_PaxType)==="turChildNoBed"?g.value==="tr"?"Ebeveyn yataÄında konaklayabilir.":"with Parents Bed":(t==null?void 0:t.turf_PaxType)==="turChild"?g.value==="tr"?"Ayrıca Ek yatak verilir.":"Extra Bed Child":g.value==="tr"?"Ãocuk":"Child";k(null);const kt=k(!1);v.value||(kt.value=!0);const Kt=["gallery","hotels","prices","program","maps","reservationDetail"],wt=k(!1);let Wt=null;const qe=()=>{qe._ticking||(qe._ticking=!0,requestAnimationFrame(()=>{const a=window.scrollY+150;let r=Kt[0];for(const y of Kt){const _=document.getElementById(y);_&&a>=_.offsetTop&&(r=y)}!wt.value&&Ie.value!==r&&(Ie.value=r),qe._ticking=!1}))};qe._ticking=!1;const Ms=(t,a)=>{we.value&&(we.value.forEach((r,y)=>{r.video}),oe.value=a==0?1:0)},lt=k(!1);k(!0);const nt=k(!0);return zt(()=>{Le(H.value),gs(),Oe.value&&m()+window.addEventListener("scroll",qe,{passive:!0}),nt.value=window.location.href,!$.value&&S.value&&(console.log("[tourDetail] forcing refresh after mount"),ve()),typeof google>"u"||!google||google&&!google.maps?(ce("https://maps.googleapis.com/maps/api/js?key=AIzaSyD08hQnRH1BlCOQpFCm6OcSBoNanxj2_HY"),setTimeout(()=>{lt.value=!0},2e3)):lt.value=!0}),es(()=>{Ht(),window.removeEventListener("scroll",qe)}),(t,a)=>{var z,O,te,K,se,Se,ye,it,dt,Ye,Ke,We,Je,$e,Qe,Pe,Ue,ut,ea,ta,aa,sa,ra,oa,la,na,ia,da,ua,ca,ma,pa,fa,ha,ga,ba,va,ya,_a,xa,ka,wa,$a,Ta,Sa,Pa,za,Ca,Ma,Ia,Aa,ja,Da,Na,Ra,Oa,Ua,La,Va,Ba;const r=ts("font-awesome-icon"),y=As,_=js,P=Pl,R=Js,J=Ys;return l(),n("div",zl,[Q.value?(l(),n("div",Cl,a[29]||(a[29]=[e("div",{class:"mx-auto max-w-xl p-4 text-center bg-yellow-400 rounded-md mt-6"},[e("span",{class:"text-xl"}," Tour not found.")],-1)]))):h("",!0),o.value&&o.value.pdb_Id?(l(),n("div",{key:1,class:E(kt.value?"":"bg-[#f4f4f4] mt-3")},[h("",!0),u(v)?(l(),n("div",{key:1,class:E(["sticky top-0 right-0 w-full py-1.5 px-3",(kt.value,"bg-white z-20")])},[e("div",Ml,[e("div",Il,[e("span",Al,s(o.value.start)+" / "+s(o.value.tur_Sure)+" gün",1)]),e("div",jl,[e("a",{"aria-label":"whatsapp button",href:u(Tt)(`Merhaba ${o.value.start} tarihli ${o.value.tur_Sure} günlük turunuz hakkında bilgi almak istiyorum.`),target:"_blank",rel:"nofollow noopener noreferrer",class:"whatsappTrigger inline-flex h-8 w-8 items-center justify-center rounded-xl bg-teal-500 text-white shadow-sm transition-all hover:bg-teal-600 active:scale-95"},[c(r,{icon:"fa-brands fa-whatsapp",class:"h-4 w-4"})],8,Dl),e("a",Nl,[c(r,{icon:"fa-solid fa-phone",class:"h-3.5 w-3.5"})]),o.value.turs_Video&&o.value.turs_Video.length>30?(l(),n("a",{key:0,onClick:a[1]||(a[1]=i=>_t()),class:"inline-flex h-8 w-8 items-center justify-center rounded-xl bg-rose-500 text-white shadow-sm transition-all hover:bg-rose-600 active:scale-95 cursor-pointer"},[c(r,{icon:"fa-solid fa-circle-play",class:"h-4 w-4"})])):h("",!0),u(A)&&u(A).U_Admin==="on"?(l(),n("a",{key:1,href:"/admin/offer/new?tourId="+o.value.pdb_Id,class:"inline-flex h-8 w-8 items-center justify-center rounded-xl bg-teal-600 text-white shadow-sm transition-all hover:bg-teal-700 active:scale-95"},[c(r,{icon:"fa-solid fa-list",class:"h-3.5 w-3.5"})],8,Rl)):h("",!0),e("a",{onClick:a[2]||(a[2]=Xe(i=>gt(),["stop","prevent"])),title:Ee.value?t.$t("PDF İndir"):t.$t("Print"),class:"inline-flex h-8 w-8 items-center justify-center rounded-xl border border-slate-200 bg-white text-sky-500 shadow-sm transition-all hover:bg-sky-50 active:scale-95 cursor-pointer"},[c(r,{icon:"fa-solid fa-file-pdf",class:"h-4 w-4"})],8,Ol)])])],2)):h("",!0),u(v)?(l(),n("section",Ul,[e("p",Ll,s(t.$t("Tur Detayı")),1),e("h1",Vl,s(Be.value.heading),
491),Be.value.intro?(l(),n("p",Bl,s(Be.value.intro),1)):h("",!0)])):h("",!0),e("div",El,[e("div",{class:E(["px-2 md:px-0 md:w-auto",u(v)?"w-full":"container"])},[e("div",Hl,[e("div",ql,[e("div",Gl,[c(r,{icon:"fa-solid fa-plane-departure",class:"h-4 w-4 text-slate-500"}),e("span",Fl,s(t.$t("GidiÅ")),1),a[34]||(a[34]=e("span",{class:"h-1 w-1 rounded-full bg-slate-300 mx-1"},null,-1)),e("strong",Yl,s(o.value.start),1)]),e("div",Kl,[c(r,{icon:"fa-solid fa-plane-arrival",class:"h-4 w-4 text-slate-500"}),e("span",Wl,s(t.$t("DönüÅ")),1),a[35]||(a[35]=e("span",{class:"h-1 w-1 rounded-full bg-slate-300 mx-1"},null,-1)),e("strong",Jl,s(o.value.end),1)]),e("div",Ql,[c(r,{icon:"fa-solid fa-clock",class:"h-4 w-4 text-slate-500"}),e("span",Zl,s(t.$t("Süre")),1),a[36]||(a[36]=e("span",{class:"h-1 w-1 rounded-full bg-slate-300 mx-1"},null,-1)),e("strong",Xl,s(o.value.tur_Sure)+" "+s(t.$t("gün")),1)]),e("div",en,[c(r,{icon:"fa-solid fa-plane-departure",class:"h-4 w-4 text-slate-500"}),e("span",tn,s(t.$t("Havayolu")),1),a[37]||(a[37]=e("span",{class:"h-1 w-1 rounded-full bg-slate-300 mx-1"},null,-1)),e("span",an,[e("img",{src:u(B)(o.value.airwayLogo,"",70,"","",""),class:"h-5 object-contain",alt:"airway"},null,8,sn)])])]),e("div",rn,[o.value.turs_Video&&o.value.turs_Video.length>30?(l(),n("a",{key:0,onClick:a[3]||(a[3]=i=>_t()),class:"group inline-flex items-center gap-1.5 rounded-lg border border-rose-200 bg-rose-50 px-3 py-1.5 text-xs font-semibold text-rose-600 shadow-sm transition-all hover:bg-rose-500 hover:text-white hover:shadow-md active:scale-95 cursor-pointer",title:t.$t("Videoyu Oynat")},[c(r,{icon:"fa-solid fa-circle-play",class:"h-3.5 w-3.5"}),e("span",ln,s(t.$t("Video")),1)],8,on)):h("",!0),u(A)&&u(A).U_Admin==="on"?(l(),n("a",{key:1,href:"/admin/offer/new?tourId="+o.value.pdb_Id,class:"inline-flex items-center justify-center w-8 h-8 rounded-lg border border-support-200 bg-support-50 text-support-700 shadow-sm transition-all hover:bg-support-500 hover:text-white active:scale-95",title:t.$t("Teklif OluÅtur")},[c(r,{icon:"fa-solid fa-list",class:"h-3.5 w-3.5"})],8,nn)):h("",!0),u(A)&&u(A).U_Admin==="on"?(l(),n("a",{key:2,href:"/admin/tour/"+o.value.pdb_Id,class:"inline-flex items-center justify-center w-8 h-8 rounded-lg border border-support-200 bg-support-50 text-support-700 shadow-sm transition-all hover:bg-support-500 hover:text-white active:scale-95",title:t.$t("Turu Düzenle")},[c(r,{icon:"fa-solid fa-pen",class:"h-3.5 w-3.5"})],8,dn)):h("",!0),e("a",{onClick:a[4]||(a[4]=Xe(i=>gt(),["stop","prevent"])),class:"group inline-flex items-center gap-1.5 rounded-lg border border-sky-200 bg-sky-50 px-3 py-1.5 text-xs font-semibold text-sky-600 shadow-sm transition-all hover:bg-sky-500 hover:text-white hover:shadow-md active:scale-95 cursor-pointer",title:Ee.value?t.$t("PDF İndir"):t.$t("Yazdır")},[c(r,{icon:"fa-solid fa-file-pdf",class:"h-3.5 w-3.5"}),e("span",cn,s(Ee.value?t.$t("PDF"):t.$t("Yazdır")),1)],8,un)])]),e("div",mn,[e("section",pn,[e("div",fn,[e("div",hn,[e("p",gn,s(t.$t("Tur Ãzeti")),1),e("p",bn,s(o.value.start)+" â "+s(o.value.end),1)]),e("span",vn,s(o.value.tur_Sure)+" "+s(t.$t("gün")),1)]),e("div",yn,[e("div",_n,[e("div",xn,[c(r,{icon:"fa-solid fa-plane-departure",class:"h-3.5 w-3.5"}),F(" "+s(t.$t("GidiÅ")),1)]),e("p",kn,s(o.value.start),1),e("p",wn,s(((O=(z=o.value.routes)==null?void 0:z[0])==null?void 0:O.rDayName)||""),1)]),e("div",$n,[e("div",Tn,[c(r,{icon:"fa-solid fa-plane-arrival",class:"h-3.5 w-3.5"}),F(" "+s(t.$t("DönüÅ")),1)]),e("p",Sn,s(o.value.end),1),e("p",Pn,s(((K=(te=o.value.routes)==null?void 0:te[o.value.routes.length-1])==null?void 0:K.rDayName)||""),1)]),e("div",zn,[e("div",Cn,[c(r,{icon:"fa-solid fa-clock",class:"h-3.5 w-3.5"}),F(" "+s(t.$t("Süre")),1)]),e("p",Mn,s(o.value.tur_Sure)+" "+s(t.$t("gün")),1)]),e("div",In,[e("div",An,[c(r,{icon:"fa-solid fa-plane",class:"h-3.5 w-3.5"}),F(" "+s(t.$t("Havayolu")),1)]),e("div",jn,[e("img",{src:u(B)(o.value.airwayLogo,"",70,"","",""),class:"h-5",alt:"airway"},null,8,Dn),e("span",{class:"text-xs font-medium text-slate-700 truncate",innerHTML:((se=o.value.airwayName)==null?void 0:se[u(g)])||((Se=o.value.airwayName)==null?void 0:Se.tr)||""},null,8,Nn)])]),u(v)&&o.value.colorful_title&&o.value.colorful_title[u(g)]?(l(),n("div",Rn,[e("span",{innerHTML:o.value.colorful_title[u(g)],class:E(["inline-block text-xs px-2 py-1 rounded-md","bg-brand-50 text-brand-800 border border-brand-200"])},null,8,On)])):h("",!0)])])])],2)]),u(v)?h("",!0):(l(),n("section",Un,[e("div",Ln,[e("div",Vn,[e("p",Bn,s(t.$t("Tur Detayı")),1),e("h1",En,s(Be.value.heading),
491),Be.value.intro?(l(),n("p",Hn,s(Be.value.intro),1)):h("",!0)]),e("div",qn,[e("div",Gn,[e("span",Fn,s(t.$t("Bize UlaÅ")),1),e("a",{"aria-label":"WhatsApp",href:u(Tt)(`Merhaba ${o.value.start} tarihli ${o.value.tur_Sure} günlük turunuz hakkında bilgi almak istiyorum.`),target:"_blank",rel:"nofollow noopener noreferrer",class:"whatsappTrigger inline-flex h-8 w-8 items-center justify-center rounded-lg bg-emerald-500 text-white transition hover:-translate-y-0.5 hover:bg-emerald-600",title:t.$t("WhatsApp")},[c(r,{icon:"fa-brands fa-whatsapp",class:"h-4 w-4"})],8,Yn),e("a",{"aria-label":"Telefon",href:"tel:908502414141",class:"inline-flex h-8 w-8 items-center justify-center rounded-lg bg-sky-500 text-white transition hover:-translate-y-0.5 hover:bg-sky-600",title:t.$t("Bizi Arayın")},[c(r,{icon:"fa-solid fa-phone",class:"h-3.5 w-3.5"})],8,Kn)]),o.value.turs_Video&&o.value.turs_Video.length>30?(l(),n("a",{key:0,onClick:a[5]||(a[5]=i=>_t()),class:"inline-flex h-9 w-9 cursor-pointer items-center justify-center rounded-xl border border-rose-100 bg-white text-rose-600 shadow-sm transition hover:-translate-y-0.5 hover:bg-rose-500 hover:text-white",title:t.$t("Videoyu Oynat")},[c(r,{icon:"fa-solid fa-circle-play",class:"h-4 w-4"})],8,Wn)):h("",!0),u(A)&&u(A).U_Admin==="on"?(l(),n("a",{key:1,href:"/admin/offer/new?tourId="+o.value.pdb_Id,class:"inline-flex h-9 w-9 items-center justify-center rounded-xl border border-support-200 bg-white text-support-700 shadow-sm transition hover:-translate-y-0.5 hover:bg-support-500 hover:text-white",title:t.$t("Teklif OluÅtur")},[c(r,{icon:"fa-solid fa-list",class:"h-3.5 w-3.5"})],8,Jn)):h("",!0),u(A)&&u(A).U_Admin==="on"?(l(),n("a",{key:2,href:"/admin/tour/"+o.value.pdb_Id,class:"inline-flex h-9 w-9 items-center justify-center rounded-xl border border-support-200 bg-white text-support-700 shadow-sm transition hover:-translate-y-0.5 hover:bg-support-500 hover:text-white",title:t.$t("Turu Düzenle")},[c(r,{icon:"fa-solid fa-pen",class:"h-3.5 w-3.5"})],8,Qn)):h("",!0),e("a",{onClick:a[6]||(a[6]=Xe(i=>gt(),["stop","prevent"])),class:"inline-flex h-9 w-9 cursor-pointer items-center justify-center rounded-xl border border-sky-100 bg-white text-sky-600 shadow-sm transition hover:-translate-y-0.5 hover:bg-sky-500 hover:text-white",title:Ee.value?t.$t("PDF İndir"):t.$t("Yazdır")},[c(r,{icon:"fa-solid fa-file-pdf",class:"h-4 w-4"})],8,Zn)])])])),e("div",Xn,[e("div",ei,[e("button",{type:"button",onClick:a[7]||(a[7]=i=>ot("prev")),disabled:!((ye=q.value.prev)!=null&&ye.pdb_Id),class:"group inline-flex h-8 items-center gap-2 rounded-lg px-2 text-xs font-semibold text-slate-500 transition hover:bg-slate-100 hover:text-brand-700 disabled:cursor-not-allowed disabled:opacity-30"},[e("span",ai,[c(r,{icon:"fa-solid fa-chevron-left",class:"h-3 w-3"})]),e("span",si,[e("span",ri,s(t.$t("Ãnceki")),1),e("span",oi,s(((it=q.value.prev)==null?void 0:it.start)||t.$t("Tur yok"))+" "+s((dt=q.value.prev)!=null&&dt.tur_Sure?` / ${q.value.prev.tur_Sure} ${t.$t("gün")}`:""),1)])],8,ti),e("button",{type:"button",onClick:a[8]||(a[8]=i=>jt(Dt.value)),class:"group inline-flex h-8 items-center gap-2 rounded-lg border border-slate-200 bg-white px-3 text-xs font-semibold text-slate-600 transition hover:border-accent-300 hover:bg-accent-50 hover:text-accent-700"},[c(r,{icon:"fa-solid fa-table-cells-large",class:"h-3 w-3"}),e("span",li,s(t.$t("Tüm Turlar")),1)]),e("button",{type:"button",onClick:a[9]||(a[9]=i=>ot("next")),disabled:!((Ye=q.value.next)!=null&&Ye.pdb_Id),class:"group inline-flex h-8 items-center justify-end gap-2 rounded-lg px-2 text-xs font-semibold text-slate-500 transition hover:bg-slate-100 hover:text-brand-700 disabled:cursor-not-allowed disabled:opacity-30"},[e("span",ii,[e("span",di,s(t.$t("Sonraki")),1),e("span",ui,s(((Ke=q.value.next)==null?void 0:Ke.start)||t.$t("Tur yok"))+" "+s((We=q.value.next)!=null&&We.tur_Sure?` / ${q.value.next.tur_Sure} ${t.$t("gün")}`:""),1)]),e("span",ci,[c(r,{icon:"fa-solid fa-chevron-right",class:"h-3 w-3"})])],8,ni)])]),u(v)?h("",!0):(l(),n("div",mi,[e("div",pi,[e("div",fi,[ht.value&&ht.value.length>0?(l(!0),n(L,{key:0},Z(ht.value,i=>(l(),n("div",hi,[c(r,{icon:"fa-solid fa-map-marker",class:"h-3 mr-1 text-accent-300"}),F(" "+s(i.name),1)]))),256)):h("",!0),(Je=o.value.turd_Short)!=null&&Je[u(g)]?(l(),n("div",gi,[e("span",{innerHTML:($e=o.value.turd_Short)==null?void 0:$e[u(g)]},null,8,bi)])):h("",!0),(ut=(Ue=(Pe=(Qe=o.value)==null?void 0:Qe.hotels)==null?void 0:Pe[0])==null?void 0:Ue.star)!=null&&ut[u(g)]?(l(),n("span",{key:2,innerHTML:(ta=(ea=o.value.hotels)==null?void 0:ea[0])==null?void 0:ta.star,class:"px-2 py-1 mb-1 truncate h-auto w-auto md:h-8 mr-2 mb-2 bg-accent-600 text-white rounded-md md:rounded-xl font-normal tracking-tight"},null,8,vi)):h("",!0)])])])),e("section",yi,[e("div",_i,[e("div",xi,[e("div",ki,[e("span",wi,[c(r,{icon:"fa-solid fa-plane-departure",class:"h-3.5 w-3.5"})]),e("div",$i,[e("p",Ti,s(t.$t("GidiÅ")),1),e("p",Si,s(o.value.start),1)])]),e("div",Pi,[e("span",zi,[c(r,{icon:"fa-solid fa-plane-arrival",class:"h-3.5 w-3.5"}
49)]),e("div",Ci,[e("p",Mi,s(t.$t("DönüÅ")),1),e("p",Ii,s(o.value.end),1)])]),e("div",Ai,[e("span",ji,[c(r,{icon:"fa-solid fa-clock",class:"h-3.5 w-3.5"})]),e("div",null,[e("p",Di,s(t.$t("Süre")),1),e("p",Ni,s(o.value.tur_Sure)+" "+s(t.$t("gün")),1)])]),e("div",Ri,[e("span",Oi,[c(r,{icon:"fa-solid fa-plane",class:"h-3.5 w-3.5"})]),e("div",Ui,[e("p",Li,s(t.$t("Havayolu")),1),e("div",Vi,[e("img",{src:u(B)(o.value.airwayLogo,"",70,"","",""),class:"max-h-5 max-w-[74px] object-contain",alt:"airway"},null,8,Bi),e("span",{class:"hidden xl:block truncate text-xs font-semibold text-slate-700",innerHTML:((aa=o.value.airwayName)==null?void 0:aa[u(g)])||((sa=o.value.airwayName)==null?void 0:sa.tr)||""},null,8,Ei)])])])])])]),e("div",{class:E([u(v)?"w-full":"container","mx-auto px-0 sm:px-2 lg:px-6"])},[T.value?(l(),n("div",Hi,[a[38]||(a[38]=e("span",{"aria-hidden":"true",class:"absolute -right-10 -top-16 h-36 w-36 rounded-full bg-amber-300/25"},null,-1)),a[39]||(a[39]=e("span",{"aria-hidden":"true",class:"absolute -bottom-16 left-1/3 h-28 w-28 rounded-full bg-rose-300/15"},null,-1)),e("div",qi,[e("div",Gi,[e("span",Fi,[c(r,{icon:"fa-solid fa-tags",class:"h-5 w-5"})]),e("div",Yi,[e("p",Ki,s(u(g)==="en"?"Special campaign":"Ãzel kampanya"),1),e("div",{class:"tour-campaign-detail-copy mt-0.5 text-sm font-bold leading-5 text-slate-900 md:text-base md:leading-6",innerHTML:T.value},null,8,Wi)])])])])):h("",!0),e("div",Ji,[e("div",Qi,[!Oe.value&&((oa=(ra=ue.value)==null?void 0:ra.turd_Name)!=null&&oa[u(g)])?(l(),n("div",Zi,[e("span",{class:"text-2xl font-semibold text-slate-800",innerHTML:(la=ue.value.turd_Name)==null?void 0:la[u(g)]},null,8,Xi)])):h("",!0),e("div",ed,[e("nav",td,[u(v)?(l(),n("button",{key:0,type:"button",class:"absolute left-1 top-1/2 -translate-y-1/2 z-10 inline-flex items-center justify-center w-7 h-7 rounded-full bg-white/90 shadow border border-slate-200 text-slate-600",onClick:a[10]||(a[10]=i=>Ot(-1)),"aria-label":"scroll-left"},[c(r,{icon:"fa-solid fa-chevron-left",class:"h-3 w-3"})])):h("",!0),u(v)?(l(),n("div",ad)):h("",!0),u(v)?(l(),n("div",sd)):h("",!0),e("ul",{ref_key:"tabsContainerRef",ref:bt,class:"flex items-center gap-1 md:gap-1.5 overflow-x-auto no-scrollbar snap-x snap-mandatory scroll-px-2 ml-7 md:ml-0 md:pl-0"},[(l(),n(L,null,Z(hs,i=>e("li",{key:i.value,class:"flex-shrink-0 snap-start"},[e("button",{type:"button",ref_for:!0,ref:I=>cs(i.value,I),onClick:I=>qt(i.value),class:E(["inline-flex items-center gap-2 rounded-lg px-2.5 md:px-4 py-1.5 md:py-2 text-[11px] md:text-sm border transition-all max-w-[44vw] md:max-w-none",Ie.value===i.value?"bg-accent-50 border-accent-200 text-accent-700":"bg-white border-slate-200 text-slate-700 hover:bg-slate-50 hover:border-accent-300"])},[c(r,{icon:ps(i.value),class:"h-4 w-4 shrink-0"}
49,null,8,["icon"]),e("span",od,s(t.$t(i.label)),1)],10,rd)])),64))],512),u(v)?(l(),n("button",{key:3,type:"button",class:"absolute right-1 top-1/2 -translate-y-1/2 z-10 inline-flex items-center justify-center w-7 h-7 rounded-full bg-white/90 shadow border border-slate-200 text-slate-600",onClick:a[11]||(a[11]=i=>Ot(1)),"aria-label":"scroll-right"},[c(r,{icon:"fa-solid fa-chevron-right",class:"h-3 w-3"})])):h("",!0)])]),e("div",ld,[e("div",nd,[e("a",{onClick:a[12]||(a[12]=i=>{ae.value--,Re.value=!0}),class:"cursor-pointer text-white hover:text-yellow-600"},[c(r,{icon:"fa-solid fa-chevron-left",class:"h-10 w-10"})])]),e("div",id,[e("a",{onClick:a[13]||(a[13]=i=>{ae.value++,Re.value=!0}),class:"cursor-pointer text-white hover:text-yellow-600"},[c(r,{icon:"fa-solid fa-chevron-right",class:"h-10 w-10 ml-2"})])]),(na=we.value)!=null&&na[0]&&!Re.value?(l(),n("div",{key:0,onClick:a[14]||(a[14]=i=>Re.value=!0)},[e("img",{src:u(B)(we.value[0].i,746,466,!0,90),alt:we.value[0].name||((da=(ia=ue.value)==null?void 0:ia.turd_Name)==null?void 0:da[u(g)])||((ca=(ua=o.value)==null?void 0:ua.turd_Short)==null?void 0:ca[u(g)])||(u(g)==="tr"?"Umre turu otel görseli":"Umrah package hotel image")},null,8,dd)])):(l(),n("div",ud,[c(u(Wa),{itemsToShow:1,"wrap-around":!0,modelValue:ae.value,"onUpdate:modelValue":a[15]||(a[15]=i=>ae.value=i),class:"my-0 py-0"},{default:Ce(()=>[(l(!0),n(L,null,Z(we.value,(i,I)=>(l(),_e(u(Ka),{key:i},{default:Ce(()=>[e("div",cd,[e("div",null,[i.video?(l(),n("img",{key:0,class:"cursor-pointer",onClick:W=>oe.value=I,src:i.i.charAt(0)=="/"?i.i:u(B)(i.i,1280,800,!0,90),alt:i.name||(u(g)==="tr"?`Umre turu tanıtım görseli ${I+1}`:`Umrah package media ${I+1}`)},null,8,md)):(l(),n(L,{key:1},[e("img",{src:u(B)(i.i,746,466,!0,90),loading:I==0?"eager":"lazy",alt:i.name||(u(g)==="tr"?`Umre turu görseli ${I+1}`:`Umrah package image ${I+1}`)},null,8,pd),e("div",fd,[e("span",{innerHTML:i.name},null,8,hd),e("a",{class:"mx-2",onClick:W=>oe.value=I},[c(r,{icon:"fa-solid fa-arrows-h",class:"text-white text-shadow h-4 w-4 rotate-45"})],8,gd)])],64))])])]),_:2},1024))),128))]),_:1},8,["modelValue"])])),e("div",bd,[c(u(Wa),{id:"thumbnails","items-to-show":u(v)?4:10,"wrap-around":!0,modelValue:ae.value,"onUpdate:modelValue":a[16]||(a[16]=i=>ae.value=i),ref:"carousel",class:"my-0 py-0"},{default:Ce(()=>[(l(!0),n(L,null,Z(we.value,(i,I)=>(l(),_e(u(Ka),{key:i},{default:Ce(()=>[e("div",{class:"carousel__item border-slate-200 border cursor-pointer group",onClick:W=>is(I)},[e("img",{src:i.video&&i.i.charAt(0)=="/"?i.i:u(B)(i.i,280,160,!0,90),alt:i.name||(u(g)==="tr"?`Umre turu galeri küçük görseli ${I+1}`:`Umrah gallery thumbnail ${I+1}`)},null,8,yd)],8,vd)]),_:2},1024))),128))]),_:1},8,["items-to-show","modelValue"])]),(l(),_e($t,null,{default:Ce(()=>[we.value&&we.value.length>0&&typeof oe.value=="number"&&oe.value>=0?(l(),_e(y,{key:0,selectedIndex:oe.value,images:we.value,onClose:a[17]||(a[17]=i=>oe.value=null),ref_key:"galleryViewer",ref:N,onSetIndex:a[18]||(a[18]=i=>oe.value=i)},null,8,["selectedIndex","images"])):h("",!0)]),_:1}))]),u(v)&&o.value?(l(),n("div",_d,[e("section",xd,[e("div",{class:E(`bg-slate-100 text-sm p-2 rounded-md font-semibold text-${o.value.turs_status_data.color}-700`)},[F(s(t.$t("Kayıt Durumu"))+" "+s((ma=o.value.turs_status_data.title)==null?void 0:ma[u(g)])+" ",1),a[40]||(a[40]=e("br",null,null,-1)),e("span",kd,s((pa=o.value.turs_status_data.description)==null?void 0:pa[u(g)]),1)],2),ee.value&&ee.value.length?(l(),n("div",wd,[e("p",$d,s(t.$t("Ãnemli Tarihler")),1),e("div",Td,[(l(!0),n(L,null,Z(ee.value,i=>(l(),n("span",{class:"p-1.5 text-xs rounded-md bg-white border border-slate-200",key:i.baslangic+"-"+i.ad_tr},s(u(he)(i.baslangic,"dd MMM yyyy"))+": "+s(i.ad_tr),1))),128))])])):h("",!0),e("div",Sd,[e("div",Pd,[nt.value?(l(),_e(_,{key:0,title:`${t.$t("Bu turu gördün mü ?")}: ${rt.value} ${nt.value}`,url:nt.value},null,8,["title","url"])):h("",!0),e("div",zd,[e("span",Cd,s(t.$t("Bize UlaÅ")),1),e("a",{"aria-label":"whatsapp button",href:u(Tt)(`Merhaba ${o.value.start} tarihli ${o.value.tur_Sure} günlük turunuz hakkında bilgi almak istiyorum.`),target:"_blank",rel:"nofollow noopener noreferrer",class:"h-7 w-7 whatsappTrigger inline-flex justify-center items-center bg-teal-500 hover:bg-teal-600 cursor-pointer border border-teal-500 rounded-lg"},[c(r,{icon:"fa-brands fa-whatsapp",class:"h-5 w-5 text-teal-50"})],8,Md),e("a",Id,[c(r,{icon:"fa-solid fa-phone",class:"h-3 w-3 text-sky-50"})])])])])]),!u(v)&&o.value?(l(),n("section",Ad,[e("div",jd,[c(r,{icon:"fa-solid fa-route",class:"h-4 w-4 text-slate-500"}),e("h2",Dd,s(t.$t("Rota")),1)]),e("div",Nd,[c(St,{tour:o.value},null,8,["tour"])])])):h("",!0)])):h("",!0),e("div",Rd,[e("section",Od,[e("div",Ud,[e("div",Ld,[e("span",Vd,[c(r,{icon:"fa-solid fa-hotel",class:"h-3.5 w-3.5"})]),e("span",Bd,s(t.$t("Otel Bilgileri")),1)]),a[41]||(a[41]=e("span",{class:"rounded-full border border-brand-200 bg-brand-50 px-2 py-0.5 text-[10px] font-semibold uppercase tracking-wide text-brand-700"},"Konaklama",-1))]),e("div",Ed,[o.value.hotels&&((fa=o.value.hotels[0])!=null&&fa.sOtelAdi)?(l(),n("div",Hd,[(l(!0),n(L,null,Z(o.value.hotels,(i,I)=>{var W,ze,Ea,Ha;return l(),n(L,{key:`hotel-${I}`},[(W=i==null?void 0:i.sOtelAdi)!=null&&W[u(g)]?(l(),n("article",qd,[e("div",Gd,[e("strong",{class:"text-sm text-slate-800 leading-5",innerHTML:(ze=i.sOtelAdi)==null?void 0:ze[u(g)]},null,8,Fd)]),e("div",Yd,[e("img",{class:"h-20 w-20 rounded-lg object-cover ring-1 ring-slate-200",src:u(B)(i.sOtelPhoto,100,100,!0,"",""),alt:(Ea=i.sOtelAdi)==null?void 0:Ea[u(g)]},null,8,Kd),e("div",Wd,[e("div",Jd,[e("span",Qd,[e("span",Zd,s(t.$t("Åehir"))+":",1),F(" "+s(i.city)+" ",1),e("span",Xd,"("+s(i.turh_duration)+" "+s(t.$t("gece"))+")",1)]),e("span",eu,[e("span",tu,s(t.$t("Yıldız"))+":",1),F(" "+s(i.star),1)]),e("span",au,[e("span",su,s(t.$t("Mesafe"))+":",1),F(" "+s((Ha=i.sOtelShort)==null?void 0:Ha[u(g)]),1)])]),e("div",ru,[i.hotelVideo?(l(),n("button",{key:0,t
49ype:"button",class:"inline-flex items-center gap-1.5 text-xs font-semibold text-sky-700 bg-sky-50 hover:bg-sky-100 border border-sky-200 rounded-md px-2 py-1",onClick:Is=>Ms(i,I)},[c(r,{icon:"fa-solid fa-play",class:"h-3 w-3"}),F(" "+s(t.$t("Videoyu İzle")),1)],8,ou)):h("",!0),e("a",{onClick:Is=>fs(i),class:"inline-flex h-7 px-2 items-center justify-center rounded-md border border-slate-200 hover:bg-slate-50 text-slate-500 shrink-0"},[c(r,{icon:"fa-solid fa-external-link",class:"h-3.5 w-3.5 mr-2"}),F(" "+s(t.$t("Detay")),1)],8,lu)])])])])):h("",!0)],64)}),128))])):o.value&&!((ba=(ga=(ha=o.value)==null?void 0:ha.hotels[0])==null?void 0:ga.sOtelAdi)!=null&&ba[u(g)])&&o.value.cityDuration?(l(),n("div",nu,[e("div",iu,[(l(!0),n(L,null,Z(o.value.cityDuration,(i,I)=>(l(),n(L,{key:`city-duration-${I}`},[i!=null&&i.duration?(l(),n("span",du,[e("strong",{innerHTML:i.name},null,8,uu),e("strong",null," 5* "+s(t.$t("Otellerde Konaklama")),1),e("span",cu," ("+s(i.duration)+" "+s(t.$t("gece"))+")",1)])):h("",!0)],64))),128))])])):(ya=(va=o.value.hotels[0])==null?void 0:va.sOtelAdi)!=null&&ya[u(g)]?h("",!0):(l(),n("div",mu,s(t.$t("Tur boyunca 4 Yıldızlı Otellerde konaklama.")),1))])])]),e("div",pu,[e("section",fu,[e("div",hu,[e("div",gu,[e("span",bu,[c(r,{icon:"fa-solid fa-tags",class:"h-3.5 w-3.5"})]),e("span",vu,s(t.$t("Ãcretler")),1)]),a[42]||(a[42]=e("span",{class:"rounded-full border border-accent-200 bg-accent-50 px-2 py-0.5 text-[10px] font-semibold uppercase tracking-wide text-accent-700"},"Fiyat",-1))]),e("div",yu,[e("div",_u,[e("div",xu,[e("div",ku,[e("div",null,[e("p",wu,s(u(g)=="tr"?"YetiÅkin Oda Fiyatları":"Adult Room Prices"),1)]),e("span",$u,s(t.$t("kiÅi baÅı")),1)]),e("div",Tu,[(l(!0),n(L,null,Z(Ps.value,(i,I)=>(l(),n("article",{key:`adult-${I}`,class:"rounded-lg border border-slate-200 bg-slate-50/70 p-3"},[e("p",Su,s(Ss(i)),1),i.turf_PriceHigh>0&&i.turf_PriceHigh>i.turf_Price?(l(),n("p",Pu,s(u(me)(i.turf_PriceHigh))+" "+s(o.value.tour_Currency),1)):h("",!0),e("p",{class:E(["mb-0 text-lg font-bold",i.turf_PriceHigh>0&&i.turf_PriceHigh>i.turf_Price?"text-teal-600":"text-slate-700"])},s(u(me)(i.turf_Price))+" "+s(o.value.tour_Currency),3)]))),128))])]),Yt.value?(l(),n("div",zu,[e("div",Cu,[e("div",null,[e("p",Mu,s(u(g)=="tr"?"Ãocuk ve Bebek Fiyatları":"Child and Baby Prices"),1),e("p",Iu,s(u(g)=="tr"?"YaÅ aralıÄına göre küçükten büyüÄe sıralanır":"Sorted from younger to older age ranges"),1)])]),e("div",Au,[e("table",ju,[e("thead",Du,[e("tr",null,[e("th",Nu,s(u(g)=="tr"?"YaÅ":"Age"),1),e("th",Ru,s(u(g)=="tr"?"Tip":"Type"),1),e("th",Ou,s(u(g)=="tr"?"Fiyat":"Price"),1)])]),e("tbody",null,[(l(!0),n(L,null,Z(Yt.value,(i,I)=>(l(),n(L,null,[(l(!0),n(L,null,Z(i,(W,ze)=>(l(),n("tr",{key:`child-${ze}`,class:E(ze==0?"border-t border-slate-300 hover:bg-slate-50":"border-t border-slate-100 hover:bg-slate-50")},[ze==0?(l(),n("td",{key:0,class:"whitespace-nowrap pr-3 py-2 text-xs font-semibold text-slate-600",rowspan:i.length},s(W.turf_MinAge)+" - "+s(W.turf_MaxAge)+" "+s(t.$t("age")),9,Uu)):h("",!0),e("td",Lu,[e("span",null,s(zs(W)),1),e("span",Vu,s(Cs(W)),1)]),e("td",Bu,[W.turf_PriceHigh>0&&W.turf_PriceHigh>W.turf_Price?(l(),n("p",Eu,s(u(me)(W.turf_PriceHigh))+" "+s(o.value.tour_Currency),1)):h("",!0),e("p",{class:E(["mb-0 text-sm font-bold",W.turf_PriceHigh>0&&W.turf_PriceHigh>W.turf_Price?"text-teal-600":"text-slate-700"])},s(u(me)(W.turf_Price))+" "+s(o.value.tour_Currency),3)])],2))),128))],64))),256))])])])])):h("",!0)]),(_a=Te.value)!=null&&_a[u(g)]?(l(),n("div",{key:0,class:"priceInfo mt-4",innerHTML:Te.value[u(g)]},null,8,Hu)):Te.value&&typeof Te.value=="string"?(l(),n("div",{key:1,class:"priceInfo mt-4 px-2 leading-4",innerHTML:Te.value},null,8,qu)):u(g)=="tr"&&Oe.value?(l(),n("div",Gu,a[43]||(a[43]=[ft('<span class="text-sm font-bold" data-v-5f8697a8>Fiyata Dahil Olanlar</span><ol class="list-decimal p-1 leading-6 text-sm pl-5" data-v-5f8697a8><li data-v-5f8697a8><strong data-v-5f8697a8>UlaÅım:</strong> GidiÅ-dönüŠuçak bileti umre turu paketine dahildir. </li><li data-v-5f8697a8><strong data-v-5f8697a8>Konaklama:</strong> Tur boyunca tüm konaklamalar fiyata dahildir. Konaklama süresi ve otel bilgileri yukarıda belirtilmiÅtir. </li><li data-v-5f8697a8><strong data-v-5f8697a8>Transferler:</strong> Medine-Mekke arası <strong data-v-5f8697a8>Yüksek Hızlı Tren</strong> bileti paketine dahildir. Havaalanı ile otel arasındaki transferler, programda belirtilen tüm gezi ve ziyaretler için gerekli transferler pakete dahildir. </li><li data-v-5f8697a8><strong data-v-5f8697a8>Umre Vizesi:</strong> Suudi Arabistan vizesi pakete dahildir. </li><li data-v-5f8697a8><strong data-v-5f8697a8>Rehberlik Hizmetleri:</strong> Tur süresince dini rehberlerimiz ve saha görevlilerimiz sizlere eÅlik edecektir. </li><li data-v-5f8697a8><strong data-v-5f8697a8>Ziyaretler ve Turlar:</strong> Mekke ve Medine'deki önemli yerleri ziyaret etmek için düzenlenmiÅ turlar da paketin bir parçasıdır. </li><li data-v-5f8697a8><strong data-v-5f8697a8>Yemekler:</strong> Otellerde açık büfe kahvaltı ve akÅam yemekleri pakete dahildir. </li><li data-v-5f8697a8><strong data-v-5f8697a8>Seyahat Sigortası:</strong> Zorunlu Seyahat Sigortası paketin bir parçasıdır. </li><li data-v-5f8697a8><strong data-v-5f8697a8>Hediyeler:</strong> Ãanta seti, ihram ( erkek yolcular için ), umre kitapçıÄı, seccade, tavaf tesbihi, dönüÅte 5lt zemzem. </li></ol><div data-v-5f8697a8><span class="text-sm my-2 font-bold" data-v-5f8697a8>Paketin DıÅında Neler Var ? </span><ol class="list-decimal p-1 leading-6 text-sm pl-5" data-v-5f8697a8><li data-v-5f8697a8> YurtdıÅı çıkıŠharcı. </li><li data-v-5f8697a8> ÃÄle yemekleri </li><li data-v-5f8697a8> Her türlü kiÅisel harcama </li><li data-v-5f8697a8> Otel içinde satın alacaÄınız ekstralar. </li></ol></div>',3)]))):u(g)=="en"&&Oe.value?(l(),n("div",Fu,a[44]||(a[44]=[ft('<span class="text-sm my-3 font-bold" data-v-5f8697a8>Included in the Price</span><ol class="list-decimal p-1 leading-6 text-sm pl-5" data-v-5f8697a8><li data-v-5f8697a8><strong data-v-5f8697a8> Transportation:</strong>Round-trip airfare is included in the Umrah tour package. </li><li data-v-5f8697a8><strong data-v-5f8697a8> Accommodation:</strong>All accommodations during the tour are included in the price. The duration of the stay and hotel information are specified above. </li><li data-v-5f8697a8><strong data-v-5f8697a8> Transfers:</strong>Transfers between the airport and the hotel, as well as all necessary transfers for the tours and visits mentioned in the program, are included in the package. </li><li data-v-5f8697a8><strong data-v-5f8697a8> Umrah Visa:</strong>The Saudi Arabia visa is included in the package. </li><li data-v-5f8697a8><strong data-v-5f8697a8> Guidance Services: </strong> During the tour, our religious guides and hotel staff will accompany you. </li><li data-v-5f8697a8><strong data-v-5f8697a8>Visits and Tours: </strong> Tours arranged to visit important sites in Mecca and Medina are also part of the package. </li><li data-v-5f8697a8><strong data-v-5f8697a8> Meals: </strong> Buffet breakfast and dinner at the hotels are included in the package. </li><li data-v-5f8697a8><strong data-v-5f8697a8> Travel Insurance: </strong> Travel insurance is part of the package. </li><li data-v-5f8697a8><strong data-v-5f8697a8> Gifts: </strong> Bag, ihram (for male travelers), and Umrah booklet. </li></ol><div data-v-5f8697a8><span class="text-sm my-2 font-bold" data-v-5f8697a8>What's Not Included in the Package? </span><ol class="list-decimal p-1 leading-6 text-sm pl-5" data-v-5f8697a8><li data-v-5f8697a8> Lunches </li><li data-v-5f8697a8> All kinds of personal expenses </li><li data-v-5f8697a8> Extras you purchase within the hotel </li></ol></div>',3)]))):h("",!0)])]),u(v)&&o.value?(l(),n("section",Yu,[e("div",Ku,[c(r,{icon:"fa-solid fa-route",class:"h-4 w-4 text-slate-500"}),e("span",Wu,s(t.$t("Rota")),1)]),e("div",Ju,[c(St,{tour:o.value},null,8,["tour"])])])):h("",!0),o.value&&Oe.value?(l(),n("section",Qu,[e("div",Zu,[e
49("div",Xu,[e("span",ec,[c(r,{icon:"fa-solid fa-check-circle",class:"h-3.5 w-3.5"})]),e("span",tc,s(t.$t("Ãne Ãıkan Hizmetler")),1)]),a[45]||(a[45]=e("span",{class:"rounded-full border border-accent-200 bg-accent-50 px-2 py-0.5 text-[10px] font-semibold uppercase tracking-wide text-accent-700"},"Premium",-1))]),e("div",ac,[e("div",sc,[c(r,{icon:"fa-solid fa-circle-check",class:"mt-0.5 h-3.5 w-3.5 shrink-0 text-support-600"}),a[46]||(a[46]=e("span",null,"En yakın otellerde 5 yıldızlı konaklama",-1))]),e("div",rc,[c(r,{icon:"fa-solid fa-circle-check",class:"mt-0.5 h-3.5 w-3.5 shrink-0 text-support-600"}),a[47]||(a[47]=e("span",null,"THY konforu ile uçuÅ",-1))]),e("div",oc,[c(r,{icon:"fa-solid fa-circle-check",class:"mt-0.5 h-3.5 w-3.5 shrink-0 text-support-600"}),a[48]||(a[48]=e("span",null,"İnanç Tur rehberlik ve irÅad hizmetleri",-1))]),e("div",lc,[c(r,{icon:"fa-solid fa-circle-check",class:"mt-0.5 h-3.5 w-3.5 shrink-0 text-support-600"}),e("span",null,s(t.$t("Her hafta kesin kalkıÅlı umre")),1)]),e("div",nc,[c(r,{icon:"fa-solid fa-circle-check",class:"mt-0.5 h-3.5 w-3.5 shrink-0 text-support-600"}),e("span",null,s(t.$t("Yüksek standartlarda hizmet")),1)]),e("div",ic,[c(r,{icon:"fa-solid fa-circle-check",class:"mt-0.5 h-3.5 w-3.5 shrink-0 text-support-600"}),a[49]||(a[49]=e("span",null,"Hızlı tren ile konforlu ve hızlı ulaÅım",-1))])])])):h("",!0),o.value.turs_program||(xa=De.value)!=null&&xa[u(g)]?(l(),n(L,{key:2},[e("section",dc,[e("div",uc,[e("div",cc,[e("span",mc,[c(r,{icon:"fa-solid fa-list-ul",class:"h-3.5 w-3.5"})]),e("span",pc,s(t.$t("Tur Programı")),1)]),a[50]||(a[50]=e("span",{class:"rounded-full border border-support-200 bg-support-50 px-2 py-0.5 text-[10px] font-semibold uppercase tracking-wide text-support-700"},"Plan",-1))]),e("div",{class:"tour-rich-content text-sm text-slate-700 px-4 py-4",innerHTML:$s.value},null,8,fc)]),e("section",hc,[e("div",gc,[e("div",bc,[e("span",vc,[c(r,{icon:"fa-solid fa-circle-question",class:"h-4 w-4"})]),e("div",yc,[e("h2",_c,s(u(g)==="tr"?"Tur Programı Hakkında":"About the Tour Program"),1),e("p",xc,s(u(g)==="tr"?"Yolcularımızın en çok merak ettiÄi konular":"Frequently asked questions from our guests"),1)])])]),e("div",kc,[(l(!0),n(L,null,Z(Ts.value,(i,I)=>(l(),n("details",{key:i.question,class:"group self-start rounded-xl border border-slate-200 bg-white open:border-sky-200 open:bg-sky-50/40",open:I===0},[e("summary",$c,[e("span",Tc,[i.category?(l(),n("span",Sc,s(i.category),1)):h("",!0),e("span",null,s(i.question),1)]),e("span",Pc,[c(r,{icon:"fa-solid fa-plus",class:"h-2.5 w-2.5"})])]),e("p",zc,s(i.answer),1)],8,wc))),128))])])],64)):h("",!0),Ne.value?(l(),n("section",Cc,[e("div",Mc,[e("div",Ic,[e("span",Ac,[c(r,{icon:"fa-solid fa-passport",class:"h-3.5 w-3.5"})]),e("h2",jc,s(t.$t("Vize Bilgisi")),1)]),a[51]||(a[51]=e("span",{class:"rounded-full border border-neutral-300 bg-white px-2 py-0.5 text-[10px] font-semibold uppercase tracking-wide text-neutral-600"},"Evrak",-1))]),e("div",{class:"tour-rich-content text-sm text-slate-700 px-4 py-4",innerHTML:Ne.value},null,8,Dc)])):h("",!0)])]),e("div",Nc,[u(v)?h("",!0):(l(),n("div",Rc,[e("div",Oc,[e("div",Uc,[e("span",{class:E(["inline-flex h-7 w-7 items-center justify-center rounded-full",(wa=(ka=o.value)==null?void 0:ka.turs_status_data)!=null&&wa.available?"bg-emerald-100 text-emerald-700":"bg-accent-100 text-accent-700"])},[c(r,{icon:"fa-solid fa-circle-info",class:"h-3.5 w-3.5"})],2),e("span",Lc,s(t.$t("Kayıt Durumu")),1)]),e("span",{class:E(["inline-flex items-center rounded-full border px-2.5 py-1 text-[11px] font-semibold truncate",(Ta=($a=o.value)==null?void 0:$a.turs_status_data)!=null&&Ta.available?"border-emerald-200 bg-emerald-50 text-emerald-700":"border-accent-200 bg-accent-50 text-accent-700"])},s(((Sa=o.value.turs_status_data.title)==null?void 0:Sa[u(g)])||"-"),3)]),e("div",Vc,[e("p",Bc,s(((Pa=o.value.turs_status_data.description)==null?void 0:Pa[u(g)])||"-"),1)])])),ge.value&&typeof ge.value=="object"&&ge.value.src?(l(),n("section",Ec,[e("div",Hc,[e("span",qc,[c(r,{icon:ge.value.type==="video"?"fa-solid fa-circle-play":"fa-solid fa-headset",class:"h-4 w-4"},null,8,["icon"])]),e("div",Gc,[e("h2",Fc,s(ge.value.type==="video"?u(g)==="tr"?"Tur Tanıtımı":"Tour Introduction":u(g)==="tr"?"Turu Dinleyin":"Listen to the Tour"),1),e("p",Yc,s(u(g)==="tr"?"Tur programının yapay zeka ile sesli anlatımı":"Audio narration of the tour program"),1)])]),e("div",Kc,[ge.value.type==="video"?(l(),n("video",{key:`detail-narration-video-${ge.value.src}`,src:ge.value.src,controls:"",playsinline:"",preload:"metadata",class:"aspect-video w-full rounded-xl bg-slate-950 object-contain"},null,8,Wc)):(l(),n("audio",{key:`detail-narration-audio-${ge.value.src}`,src:ge.value.src,controls:"",preload:"metadata",class:"w-full"},null,8,Jc))])])):h("",!0),!u(v)&&ee.value&&ee.value.length?(l(),n("div",Qc,[e("p",Zc,s(t.$t("Ãnemli Tarihler"))+":",1),(l(!0),n(L,null,Z(ee.value,i=>(l(),n("span",Xc,[e("span",e0,s(u(he)(i.baslangic,"dd MMM yyyy"))+":",1),F(" "+s(i.ad_tr),1)]))),256))])):h("",!0),h("",!0),(za=o.value.colorful_title)!=null&&za[u(g)]?(l(),n("span",{key:4,innerHTML:o.value.colorful_title[u(g)],class:E(["text-sm md:text-md block py-2 px-2 mt-1 rounded-md font-semibold",o.value.turd_Color?`bg-${o.value.turd_Color}-100 text-${o.value.turd_Color}-800`:"text-gray-900"])},null,10,t0)):h("",!0),o.value&&!u(v)?(l(),n("div",a0,[e("h2",s0,[F(s(t.$t("Rota"))+" ",1),a[52]||(a[52]=e("span",{class:"w-full ml-3 h-[1px] bg-slate-200 w-full"},null,-1))]),c(St,{tour:o.value},null,8,["tour"])])):h("",!0),o.value.turs_Video&&o.value.turs_Video.length>30?(l(),n("div",r0,[et.value?(l(),n(L,{key:1},[je.value&&Fe.value?(l(),n("div",{key:0,class:"relative w-full",style:Fa({height:`${Pt}px`})},[e("img",{src:Fe.value,alt:"Video Intro Cover",class:"absolute inset-0 h-full w-full object-cover"},null,8,l0)],4)):h("",!0),He.value.kind==="direct"?(l(),n("video",{key:1,ref_key:"tourVideoRef",ref:Ve,width:"100%",height:Pt,src:He.value.src,poster:Et.value,class:"w-full",controls:"",playsinline:"",autoplay:"",preload:"metadata",style:Fa(je.value?"display:none;":"")},[e("source",{src:He.value.src,type:He.value.mimeType},null,8,i0)],12,n0)):(l(),n("iframe",{key:2,width:"100%",height:Pt,src:He.value.src,title:(Ca=ue.value.turd_Name)==null?void 0:Ca[u(g)],frameborder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture;
49 web-share",referrerpolicy:"strict-origin-when-cross-origin",allowfullscreen:""},null,8,d0))],64)):(l(),n("div",{key:0,onClick:ks,class:"cursor-pointer"},[e("img",{src:Et.value,alt:"Tour Video Photo"},null,8,o0)]))])):h("",!0),Oe.value?(l(),n("section",u0,[e("div",c0,[e("div",m0,[e("div",p0,[a[53]||(a[53]=e("span",{class:"mb-1 block text-[10px] font-bold uppercase tracking-[.2em] text-amber-300"},"YolculuÄu hisset",-1)),e("h2",f0,s(t.$t("Tur Tanıtımı")),1),a[54]||(a[54]=e("p",{class:"mb-0 mt-1 text-[11px] text-slate-300"},"Kutsal topraklardan gerçek anlar",-1))]),e("span",h0,[c(r,{icon:"fa-solid fa-play",class:"ml-0.5 h-3.5 w-3.5"})])])]),e("div",g0,[e("div",b0,[a[55]||(a[55]=e("div",null,[e("span",{class:"text-[10px] font-bold uppercase tracking-[.18em] text-amber-300"},"Misafirlerimiz anlatıyor"),e("p",{class:"mb-0 mt-0.5 text-xs text-slate-400"},"Gerçek yolculuklardan, gerçek hatıralar")],-1)),e("div",v0,[c(r,{icon:"fa-solid fa-star",class:"h-2.5 w-2.5"}),e("span",null,s(d.value),1)])]),pe.value?(l(),n("div",{key:Y.value,class:"tour-proof-comment-card rounded-xl border border-white/10 bg-white/[.06] p-3"},[e("div",y0,[e("div",_0,[(l(),n(L,null,Z(5,i=>c(r,{key:i,icon:"fa-solid fa-star",class:"h-2.5 w-2.5"})),64))]),c(r,{icon:"fa-solid fa-quote-right",class:"h-4 w-4 text-white/20"})]),e("p",x0,s(f(pe.value.yh_Message)),1),e("div",k0,[e("div",w0,[e("span",$0,s(((Ma=pe.value.yh_Name)==null?void 0:Ma.charAt(0))||"İ"),1),e("div",T0,[e("p",S0,s(pe.value.yh_Name)+" "+s(pe.value.yh_Surname),1),e("div",P0,[e("div",z0,[c(r,{icon:"fab fa-google",class:"h-3 w-3 text-red-600"}),a[56]||(a[56]=F(" Google ")),pe.value.yh_Source=="google"?(l(),n("div",C0,[e("span",M0,[pe.value.yh_Details?(l(),n("a",{key:0,href:pe.value.yh_Details,title:"Link",target:"_blank"},[c(r,{icon:"fa-solid fa-arrow-up-right-from-square",class:"h-3 w-3 text-support-600"})],8,I0)):h("",!0)])])):(l(),n("div",A0,[e("div",null,s(pe.value.yh_Source||"İnanç Tur misafiri"),1)])),pe.value.yh_CommentDate?(l(),n("span",j0," - "+s(u(he)(pe.value.yh_CommentDate,"dd MMM yy")),1)):(l(),n("span",D0,s(t.$t("2025 öncesi")),1))])])])]),Ae.value.length>1?(l(),n("div",N0,[e("button",{type:"button","aria-label":"Ãnceki yorum",class:"tour-proof-nav",onClick:a[19]||(a[19]=i=>w(-1))},[c(r,{icon:"fa-solid fa-chevron-left",class:"h-2.5 w-2.5"})]),e("button",{type:"button","aria-label":"Sonraki yorum",class:"tour-proof-nav",onClick:a[20]||(a[20]=i=>w(1))},[c(r,{icon:"fa-solid fa-chevron-right",class:"h-2.5 w-2.5"})])])):h("",!0)])])):Me.value?(l(),n("div",R0)):h("",!0),ie.value.length?(l(),n("div",O0,[e("div",U0,[a[57]||(a[57]=e("div",null,[e("span",{class:"text-[10px] font-bold uppercase tracking-[.18em] text-sky-300"},"Son gruplarımız"),e("p",{class:"mb-0 mt-0.5 text-[10px] text-slate-500"},"Birlikte biriken güzel hatıralar")],-1)),e("button",{type:"button",class:"text-[10px] font-semibold text-slate-300 transition hover:text-white",onClick:a[21]||(a[21]=i=>u(re)("/page/umre-tur-fotograflari"))},"Tümünü gör â")]),e("div",L0,[(l(!0),n(L,null,Z(ie.value.slice(0,3),(i,I)=>(l(),n("button",{key:`${i.i}-${I}`,type:"button",class:E(["group relative overflow-hidden bg-slate-800",I===0?"col-span-3 row-span-2":"col-span-2"]),onClick:W=>de.value=I},[e("img",{src:u(B)(i.i,I===0?420:240,260,!0,88),alt:i.name||"Son umre grubumuzdan fotoÄraf",class:"h-full w-full object-cover transition duration-500 group-hover:scale-110",loading:"lazy"},null,8,B0),I===2&&xe.value>3?(l(),n("span",E0,"+"+s(xe.value-3),1)):h("",!0)],10,V0))),128))])])):h("",!0),e("button",{type:"button",class:"mt-3 flex w-full items-center justify-center gap-2 rounded-xl border border-white/10 bg-white/[.06] px-3 py-2 text-[11px] font-semibold text-slate-200 transition hover:border-amber-300/40 hover:bg-white/10 hover:text-white",onClick:a[22]||(a[22]=i=>u(re)("/page/yorumlar"))},[c(r,{icon:"fa-solid fa-comments",class:"h-3 w-3 text-amber-300"}),a[58]||(a[58]=F(" Tüm misafir yorumlarını incele "))])]),tt.value?(l(),n("iframe",q0)):(l(),n("div",{key:0,class:"group relative h-44 cursor-pointer",onClick:a[23]||(a[23]=i=>tt.value=!0)},[e("img",{src:u(B)("https://yonetim.inanctur.com.tr/yonetim/images/videoPhoto/hotels/umrah/Umre_tur_kesitler.jpg",704,352,!0,90),alt:"İnanç Tur umre yolculuÄu tanıtımı",class:"h-full w-full object-cover transition duration-700 group-hover:scale-105"},null,8,H0),a[59]||(a[59]=e("div",{class:"absolute inset-0 bg-gradient-to-t from-slate-950 via-slate-950/25 to-transparent"},null,-1))]))])):h("",!0),de.value!==null&&ie.value.length?(l(),_e(y,{key:8,selectedIndex:de.value,images:ie.value,onClose:a[24]||(a[24]=i=>
49de.value=null),onSetIndex:a[25]||(a[25]=i=>de.value=i)},null,8,["selectedIndex","images"])):h("",!0),a[60]||(a[60]=e("div",{class:"border-b py-2 w-full mt-3"},null,-1)),e("div",G0,[c(_l,{tour:o.value,total:vt.value,currency:o.value.tour_Currency},null,8,["tour","total","currency"])]),e("div",F0,[e("h5",Y0,s(t.$t("Aynı Tarihteki Turlar")),1),(l(!0),n(L,null,Z(At.value,i=>(l(),n("div",{key:i.pdb_Id,class:E(["border hover:border-teal-200 rounded-md px-1 py-2 flex justify-between my-1 cursor-pointer relative",i.pdb_Id==o.value.pdb_Id?"border-teal-600 bg-teal-500 mb-3 text-white":"border-slate-200 "]),onClick:I=>u(re)(`/tourDetail/${i.pdb_Id}`)},[i.pdb_Id==o.value.pdb_Id?(l(),n("span",W0,"Bu turu inceliyorsunuz.")):h("",!0),e("span",J0,s(i.start)+" - "+s(i.tur_Sure)+"gün",1),e("span",Q0,s(i.turs_double)+" "+s(i.tour_Currency),1)],10,K0))),128))]),(Ia=o.value)!=null&&Ia.pdb_Id&&((Aa=o.value)!=null&&Aa.turs_StartDate)&&Oe.value?(l(),_e(Zs,{key:9,tourDate:o.value.turs_StartDate,class:"mt-3"},null,8,["tourDate"])):h("",!0)])]),(Da=(ja=o.value)==null?void 0:ja.from_turs_Detail)!=null&&Da.turd_Video?(l(),n("div",Z0,[e("iframe",{width:u(v)?"100%":"500",height:"500",src:(Ra=(Na=o.value)==null?void 0:Na.from_turs_Detail)==null?void 0:Ra.turd_Video,title:(Oa=ue.value.turd_Name)==null?void 0:Oa[u(g)],frameborder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",referrerpolicy:"strict-origin-when-cross-origin",allowfullscreen:"",class:"max-w-full"},null,8,X0)])):h("",!0),o.value?(l(),n("div",em,[o.value.hotels&&((Ua=o.value.hotels[0])!=null&&Ua.sOtelAdi)?(l(!0),n(L,{key:0},Z(o.value.hotels,(i,I)=>{var W,ze;return l(),n("div",tm,[i&&((W=i.sOtelAdi)!=null&&W[u(g)])?(l(),n("div",am,[e("p",{class:"mt-4 mb-2",innerHTML:(ze=i.sOtelAdi)==null?void 0:ze[u(g)]},null,8,sm),(l(),_e($t,null,{default:Ce(()=>[lt.value&&(i!=null&&i.from_turh_id.sOtel_Konum)?(l(),_e(P,{key:0,location1:i==null?void 0:i.from_turh_id.sOtel_Konum,hotel:o.value.hotels[I],zoom:15},null,8,["location1","hotel"])):h("",!0)]),_:2},1024))])):h("",!0)])}),256)):h("",!0)])):h("",!0)],2),e("div",rm,[e("div",om,[e("div",lm,[e("button",{type:"button",onClick:a[26]||(a[26]=i=>ot("prev")),disabled:!((La=q.value.prev)!=null&&La.pdb_Id),class:"inline-flex items-center justify-center gap-1.5 rounded-xl border border-slate-200 bg-slate-50 px-2 py-2 text-[11px] md:text-sm font-semibold text-slate-700 transition-all duration-200 hover:border-brand-300 hover:bg-white disabled:cursor-not-allowed disabled:opacity-45"},[c(r,{icon:"fa-solid fa-chevron-left",class:"h-3.5 w-3.5"}),e("span",im,s(t.$t("Ãnceki Tur")),1)],8,nm),e("button",{type:"button",onClick:a[27]||(a[27]=i=>jt(Dt.value)),class:"inline-flex items-center justify-center gap-1.5 rounded-xl border border-accent-300 bg-gradient-to-r from-accent-500 to-accent-600 px-2 py-2 text-[11px] md:text-sm font-semibold text-white shadow-[0_12px_22px_-16px_rgba(147,98,18,0.75)] transition-all duration-200 hover:from-accent-600 hover:to-accent-700"},[c(r,{icon:"fa-solid fa-list",class:"h-3.5 w-3.5"}),e("span",dm,s(t.$t("Tüm Turlara Dön")),1)]),e("button",{type:"button",onClick:a[28]||(a[28]=i=>ot("next")),disabled:!((Va=q.value.next)!=null&&Va.pdb_Id),class:"inline-flex items-center justify-center gap-1.5 rounded-xl border border-slate-200 bg-slate-50 px-2 py-2 text-[11px] md:text-sm font-semibold text-slate-700 transition-all duration-200 hover:border-brand-300 hover:bg-white disabled:cursor-not-allowed disabled:opacity-45"},[e("span",cm,s(t.$t("Sonraki Tur")),1),c(r,{icon:"fa-solid fa-chevron-right",class:"h-3.5 w-3.5"})],8,um)])])])],2)):h("",!0),st.value&<.value?(l(),_e($t,{key:2},{default:Ce(()=>[c(R,{ref_key:"hotelDetailRef",ref:Ut},null,512)]),_:1})):h("",!0),o.value&&((Ba=o.value.turs_status_data)!=null&&Ba.available)&&u(g)=="tr"?(l(),n("div",mm,[c(J,null,{default:Ce(()=>{var i;return[u(A)&&u(A).U_Admin==="on"&&o.value.turs_status_data.available?(l(),n("div",pm,[(i=o.value)!=null&&i.pdb_Id?(l(),_e(Qs,{key:0,tourId:o.value.pdb_Id,compactMode:!0},null,8,["tourId"])):h("",!0)])):h("",!0)]}),_:1})])):h("",!0)])}}},dp=Vs(fm,[["__scopeId","data-v-5f8697a8"]]);export{dp as default};
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.