1import{_ as j}from"./SIQFhcMY.js";import T from"./BIZlLWNv.js";import{u as A}from"./BeDGeaqv.js";import{d as B,m as C,y as F,z as U,b as i,c as l,e,n as k,h as t,t as a,F as x,f as o,s as $,j as S,g as _,r as I,A as q,B as N,p as P}from"./Ds9XtOT4.js";import"./DdhxyB2P.js";const R={class:"section-padding bg-white"},V={class:"container-main max-w-4xl mx-auto"},z={class:"flex justify-center mb-8"},H={class:"inline-flex rounded-xl border border-gray-200 overflow-hidden shadow-sm"},M={class:"bg-amber-50 border border-amber-200 rounded-xl p-4 mb-8 flex gap-3"},E={class:"text-sm text-amber-800"},G={class:"space-y-3 mb-12"},K={class:"text-xl font-bold text-gray-900 mb-4"},L={key:0,class:"py-8 flex justify-center"},O={key:1,class:"bg-gray-50 border border-gray-200 rounded-xl p-6 text-center"},J={class:"text-sm text-gray-600"},Q={key:2,class:"space-y-3"},W=["href"],X={class:"flex items-center gap-3"},Y={class:"font-medium text-gray-800 group-hover:text-brand-orange"},Z={class:"grid grid-cols-1 md:grid-cols-2 gap-6"},ee={class:"bg-brand-orange rounded-xl p-6 text-brand-gray-dark hover:-translate-y-1 hover:shadow-xl transition-all duration-300"},te={class:"font-bold text-lg mb-2 text-brand-gray-dark"},se={class:"text-brand-gray-dark/90 text-sm mb-4"},oe={class:"bg-brand-gray rounded-xl p-6 text-white hover:-translate-y-1 hover:shadow-xl transition-all duration-300"},ae={class:"font-bold text-lg mb-2 text-white"},ne={class:"text-gray-300 text-sm"},re={key:0,class:"py-8 flex justify-center"},ie={key:1,class:"space-y-3 mb-12"},le={class:"text-xl font-bold text-gray-900 mb-4"},de=["href"],ce={class:"flex items-center gap-3"},me={class:"font-medium text-gray-800 group-hover:text-brand-orange"},be={key:2,class:"bg-gray-100 border border-gray-200 rounded-xl p-6 mb-8 flex gap-4"},he={class:"font-bold text-gray-900 mb-1"},ge={class:"text-sm text-gray-600"},xe={class:"grid grid-cols-1 md:grid-cols-2 gap-6"},pe={class:"bg-brand-orange rounded-xl p-6 text-brand-gray-dark hover:-translate-y-1 hover:shadow-xl transition-all duration-300"},ue={class:"font-bold text-lg mb-2 text-brand-gray-dark"},_e={class:"text-brand-gray-dark/90 text-sm mb-4"},ye={href:"tel:+4917613022352",class:"inline-flex items-center gap-2 px-5 py-2.5 bg-white text-brand-gray-dark font-bold rounded-md hover:bg-gray-100 transition-colors text-sm"},fe={class:"bg-brand-gray rounded-xl p-6 text-white hover:-translate-y-1 hover:shadow-xl transition-all duration-300"},ve={class:"font-bold text-lg mb-2 text-white"},we={class:"text-gray-300 text-sm mb-4"},ke={href:"mailto:[email protected]",class:"inline-flex items-center gap-2 px-5 py-2.5 bg-brand-orange text-brand-gray-dark font-bold rounded-md hover:bg-brand-orange-hover transition-colors text-sm"},$e=B({__name:"TimetableSection",async setup(D){let c,p;const{t:n}=C(),{track:u}=A(),m=I("munich"),y=N(()=>m.value==="munich"?"muenchen-memmingen":"stuttgart-ulm-memmingen"),{data:b,pending:f,refresh:Be}=([c,p]=F(()=>q(()=>`/api/fahrplaene/${y.value}`,{watch:[y]},"$tHd-Gn32Us")),c=await c,p(),c);function v(h){const[s,r,g]=h.split("-");return`${g}.${r}.${s}`}function w(h,s){return`${v(h)} â ${v(s)}`}return(h,s)=>{const r=T,g=U("i18n-t");return i(),l("section",R,[e("div",V,[e("div",z,[e("div",H,[e("button",{class:k(["px-6 py-3 text-sm font-bold transition-all duration-200 focus:outline-none",t(m)==="munich"?"bg-brand-orange text-brand-gray-dark":"bg-white text-gray-600 hover:bg-gray-50"]),onClick:s[0]||(s[0]=d=>m.value="munich")},a(t(n)("timetables.routeMunich")),3),e("button",{class:k(["px-6 py-3 text-sm font-bold transition-all duration-200 focus:outline-none border-l border-gray-200",t(m)==="stuttgart"?"bg-brand-orange text-brand-gray-dark":"bg-white text-gray-600 hover:bg-gray-50"]),onClick:s[1]||(s[1]=d=>m.value="stuttgart")},a(t(n)("timetables.routeStuttgartUlm")),3)])]),t(m)==="munich"?(i(),l(x,{key:0},[e("div",M,[o(r,{name:"heroicons:information-circle",class:"w-5 h-5 text-amber-600 shrink-0 mt-0.5"}),e("p",E,a(t(n)("timetables.description")),1)]),e("div",G,[e("h2",K,a(t(n)("timetables.subtitle")),1),t(f)?(i(),l("div",L,[o(r,{name:"heroicons:arrow-path",class:"w-6 h-6 text-brand-orange animate-spin"})])):!t(b)||t(b).length===0?(i(),l("div",O,[o(r,{name:"heroicons:document",class:"w-8 h-8 text-gray-400 mx-auto mb-2"}),e("p",J,[o(g,{keypath:"timetables.noSchedulesAvailable",tag:"span"},{email:$(()=>[...s[3]||(s[3]=[e("a",{href:"mailto:[email protected]",class:"text-brand-orange-text font-medium hover:underline"},"[email protected]",-1)])]),_:1})])])):(i(),l("div",Q,[(i(!0),l(x,null,S(t(b),d=>(i(),l("div",{key:d.filename},[e("a",{href:d.downloadUrl,target:"_blank",rel:"noopener noreferrer",class:"flex items-center justify-between p-4 bg-gray-50 hover:bg-brand-orange-light border border-gray-200 hover:border-brand-orange rounded-xl transition-all duration-300 hover:-translate-y-1 hover:shadow-xl group"},[e("div",X,[o(r,{name:"heroicons:document-arrow-down",class:"w-5 h-5 text-brand-orange"}),e("span",Y,a(w(d.startDate,d.endDate)),1)]),s[4]||(s[4]=e("span",{class:"text-sm text-brand-orange-text font-semibold"},"PDF",-1))],8,W)]))),128))]))]),e("div",Z,[e("div",ee,[o(r,{name:"heroicons:computer-desktop",class:"w-8 h-8 mb-3 text-brand-gray-dark/70"}),e("h3",te,a(t(n)("timetables.onlineBooking.title")),1),e("p",se,a(t(n)("timetables.onlineBooking.description")),1),e("a",{href:"https://shop.aae.breos.ai/ticket-search",target:"_blank",rel:"noopener noreferrer",class:"inline-flex items-center gap-2 px-5 py-2.5 bg-white text-brand-gray-dark font-bold rounded-md hover:bg-gray-100 transition-colors text-sm",onClick:s[2]||(s[2]=d=>t(u)("shop_klick",{position:"fahrplan"}))},[_(a(t(n)("timetables.onlineBooking.cta"))+" ",1),o(r,{name:"heroicons:arrow-top-right-on-square",class:"w-4 h-4"})])]),e("div",oe,[o(r,{name:"heroicons:user",class:"w-8 h-8 mb-3 text-brand-orange"}),e("h3",ae,a(t(n)("timetables.driverTicket.title")),1),e("p",ne,a(t(n)("timetables.driverTicket.description")),1)])])],64)):(i(),l(x,{key:1},[t(f)?(i(),l("div",re,[o(r,{name:"heroicons:arrow-path",class:"w-6 h-6 text-brand-orange animate-spin"})])):t(b)&&t(b).length>0?(i(),l("div",ie,[e("h2",le,a(t(n)("timetables.subtitleStuttgart")),1),(i(!0),l(x,null,S(t(b),d=>(i(),l("div",{key:d.filename},[e("a",{href:d.downloadUrl,target:"_blank",rel:"noopener noreferrer",class:"flex items-center justify-between p-4 bg-gray-50 hover:bg-brand-orange-light border border-gray-200 hover:border-brand-orange rounded-xl transition-all duration-300 hover:-translate-y-1 hover:shadow-xl group"},[e("div",ce,[o(r,{name:"heroicons:document-arrow-down",class:"w-5 h-5 text-brand-orange"}),e("span",me,a(w(d.startDate,d.endDate)),1)]),s[5]||(s[5]=e("span",{class:"text-sm text-brand-orange-text font-semibold"},"PDF",-1))],8,de)]))),128))])):(i(),l("div",be,[o(r,{name:"heroicons:clock",class:"w-6 h-6 text-brand-orange shrink-0 mt-0.5"}),e("div",null,[e("h3",he,a(t(n)("timetables.subtitleStuttgart")),1),e("p",ge,[o(g,{keypath:"timetables.noSchedulesAvailable",tag:"span"},{email:$(()=>[...s[6]||(s[6]=[e("a",{href:"mailto:[email protected]",class:"text-brand-orange-text font-medium hover:underline"},"[email protected]",-1)])]),_:1})])])])),e("div",xe,[e("div",pe,[o(r,{name:"heroicons:phone",class:"w-8 h-8 mb-3 text-brand-gray-dark/70"}),e("h3",ue,a(t(n)("timetables.phoneBooking.title")),1),e("p",_e,a(t(n)("timetables.phoneBooking.description")),1),e("a",ye,[o(r,{name:"heroicons:phone",class:"w-4 h-4"}),s[7]||(s[7]=_(" +49 (0) 176 13022 352 ",-1))])]),e("div",fe,[o(r,{name:"heroicons:envelope",class:"w-8 h-8 mb-3 text-gray-400"}),e("h3",ve,a(t(n)("timetables.emailInquiry.title")),1),e("p",we,a(t(n)("timetables.emailInquiry.description")),1),e("a",ke,[o(r,{name:"heroicons:envelope",class:"w-4 h-4"}),s[8]||(s[8]=_(" [email protected] ",-1))])])])],64))])])}}}),Se=Object.assign($e,{__name:"TimetableSection"}),Fe=B({__name:"fahrplaene",setup(D){const{t:c}=C();
1return P({title:c("seo.timetables.title"),description:c("seo.timetables.description"),ogUrl:"https://www.allgaeu-airport-express.de/fahrplaene"}),(p,n)=>{const u=j,m=Se;return i(),l("div",null,[o(u,{title:t(c)("timetables.title"),subtitle:t(c)("timetables.subtitle")},null,8,["title","subtitle"]),o(m)])}}});export{Fe 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.