1import{c as N,r as m,s as S,u as p,j as e,B as g,L as f,a as M}from"./index-MoAbC8_9.js";import{H as z,M as b,F as H}from"./Header-CnJGZ8vQ.js";import{A as _}from"./arrow-right-QNKB-9eH.js";import"./mountain-BHfTfCFy.js";import"./user-Cvsz7Lm_.js";/** 2 * @license lucide-react v0.462.0 - ISC 3 * 4 * This source code is licensed under the ISC license. 5 * See the LICENSE file in the root directory of this source tree. 6 */const j=N("Car",[["path",{d:"M19 17h2c.6 0 1-.4 1-1v-3c0-.9-.7-1.7-1.5-1.9C18.7 10.6 16 10 16 10s-1.3-1.4-2.2-2.3c-.5-.4-1.1-.7-1.8-.7H5c-.6 0-1.1.4-1.4.9l-1.4 2.9A3.7 3.7 0 0 0 2 12v4c0 .6.4 1 1 1h2",key:"5owen"}],["circle",{cx:"7",cy:"17",r:"2",key:"u2ysq9"}],["path",{d:"M9 17h6",key:"r8uit2"}],["circle",{cx:"17",cy:"17",r:"2",key:"axvx0g"}]]),k="/assets/house-winter-CyKgknvN.jpg",B="/assets/house-summer-BtNMN2a4.jpg";function C(i,t){const r=new Date,a=`${String(r.getMonth()+1).padStart(2,"0")}-${String(r.getDate()).padStart(2,"0")}`;return i<=t?a>=i&&a<t?"winter":"summer":a>=i||a<t?"winter":"summer"}function L(){const[i,t]=m.useState(k),[r,a]=m.useState(!1);return m.useEffect(()=>{(async()=>{const{data:n}=await S.from("system_settings").select("setting_key, setting_value").in("setting_key",["hero_winter_image_url","hero_summer_image_url","hero_winter_start","hero_summer_start"]),o={};n==null||n.forEach(x=>o[x.setting_key]=x.setting_value);const s=o.hero_winter_start||"11-01",v=o.hero_summer_start||"04-15",w=C(s,v),A=o.hero_winter_image_url,y=o.hero_summer_image_url;t(w==="winter"?A||k:y||B),a(!0)})()},[]),{heroImage:i,loaded:r}}const I=()=>{const{language:i}=p(),{heroImage:t}
6=L(),r={en:{subtitle:"Maria Alm am Hochkönig",title:"Appartementhaus Hintermoos",description:"A private apartment house at 1,030 m in the Austrian Alps.",cta:"Gallery",cta2:"Webcams"},de:{subtitle:"Maria Alm am Hochkönig",title:"Appartementhaus Hintermoos",description:"Ein privates Apartmenthaus auf 1.030 m in den österreichischen Alpen.",cta:"Galerie",cta2:"Webcams"},cs:{subtitle:"Maria Alm am Hochkönig",title:"Appartementhaus Hintermoos",description:"Soukromý apartmánový dům v 1 030 m v rakouských Alpách.",cta:"Galerie",cta2:"Webkamery"}},a=r[i]||r.en;return e.jsxs(e.Fragment,{children:[e.jsx(z,{}),e.jsxs("section",{className:"bg-background",children:[e.jsxs("div",{className:"relative w-full overflow-hidden h-[50vh] md:h-[70vh]",children:[e.jsx("img",{src:t,alt:"Hintermoos apartment house",className:"w-full h-full object-cover object-[center_40%] md:object-center"}),e.jsx("div",{className:"absolute inset-x-0 bottom-0 h-40 bg-gradient-to-t from-background to-transparent"})]}),e.jsx("div",{className:"container relative -mt-12 z-10 pb-20 lg:pb-28",children:e.jsxs("div",{className:"max-w-xl mx-auto text-center mb-16",children:[e.jsx("p",{className:"text-primary text-[11px] tracking-[0.35em] uppercase font-medium mb-4",children:a.subtitle}),e.jsx("h1",{className:"font-serif text-2xl md:text-3xl lg:text-4xl text-foreground mb-5 tracking-tight",children:a.title}),e.jsx("div",{className:"w-10 h-px bg-border mx-auto mb-5"}),e.jsx("p",{className:"text-muted-foreground text-base leading-relaxed mb-8",children:a.description}),e.jsxs("div",{className:"flex justify-center gap-3",children:[e.jsx(g,{asChild:!0,size:"lg",className:"px-7 py-5 text-xs tracking-[0.2em] uppercase font-medium",children:e.jsxs(f,{to:"/gallery",children:[a.cta,e.jsx(_,{className:"w-3.5 h-3.5 ml-2"})]})}),e.jsx(g,{asChild:!0,variant:"outline",size:"lg",className:"px-7 py-5 text-xs tracking-[0.2em] uppercase font-medium",children:e.jsx(f,{to:"/webcam",children:a.cta2})})]})]})})]})]})},c="/assets/on-ski-A85X8g-N.jpg",d="/assets/apartment-for-rent-DCCrwt7l.png",h="/assets/pool-CZLEYats.jpg",u="/assets/fresh-bread-BMZcSOhy.jpg",R=()=>{const{language:i}=p(),t=M(),r={en:[{image:c,headline:"120 km",subtitle:"Slopes · Region Hochkönig",link:"https://www.hochkoenig.at/",external:!0},{image:d,headline:"Apartments",subtitle:"For Rent",link:"/apartments"},{image:h,headline:"28°C",subtitle:"Heated Pool · Open Daily"},{image:u,headline:"Fresh Bread",subtitle:"Order for Tomorrow",link:"https://brot.hintermoos.at",external:!0}],de:[{image:c,headline:"120 km",subtitle:"Pisten · Region Hochkönig",link:"https://www.hochkoenig.at/",external:!0},{image:d,headline:"Apartments",subtitle:"Zu Vermieten",link:"/apartments"},{image:h,headline:"28°C",subtitle:"Beheizter Pool · Täglich Geöffnet"},{image:u,headline:"Frisches Gebäck",subtitle:"Bestellen für Morgen",link:"https://brot.hintermoos.at",external:!0}],cs:[{image:c,headline:"120 km",subtitle:"Sjezdovky · Region Hochkönig",link:"https://www.hochkoenig.at/",external:!0},{image:d,headline:"Apartmány",subtitle:"K pronájmu",link:"/apartments"},{image:h,headline:"28°C",subtitle:"VyhÅÃvaný bazén · DennÄ otevÅeno"},{image:u,headline:"Äerstvé peÄivo",subtitle:"Objednejte na zÃtra",link:"https://brot.hintermoos.at",external:!0}]},a=r[i]||r.en,l=n=>{n.link&&(n.external?window.open(n.link,"_blank","noopener,noreferrer"):t(n.link))};return e.jsx("section",{className:"-mt-16 relative z-10 pb-16 lg:pb-24",children:e.jsx("div",{className:"container",children:e.jsx("div",{className:"grid grid-cols-2 lg:grid-cols-4 gap-2.5 sm:gap-4",children:a.map((n,o)=>e.jsxs("div",{onClick:()=>l(n),className:`relative rounded-xl overflow-hidden aspect-[4/3] group ${n.link?"cursor-pointer":""}`,children:[e.jsx("img",{src:n.image,alt:n.headline,className:"absolute inset-0 w-full h-full object-cover group-hover:scale-105 transition-transform duration-500"}),e.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-black/70 via-black/20 to-transparent"}),e.jsxs("div",{className:"absolute bottom-0 left-0 p-3 sm:p-5",children:[e.jsx("h3",{className:"font-serif text-lg sm:text-2xl md:text-3xl text-white drop-shadow-lg leading-tight",children:n.headline}),e.jsx("p",{className:"text-white/80 text-[10px] sm:text-xs tracking-[0.08em] sm:tracking-[0.12em] uppercase mt-0.5 sm:mt-1 leading-snug",children:n.subtitle})]})]},o))})})})},T=()=>{const{language:i}=p(),[t,r]=m.useState("munich"),a={en:{sectionLabel:"Location",sectionTitle:"How to find us",sectionSubtitle:"Ap
6partementhaus Hintermoos is located in the heart of the Austrian Alps, easy to reach from Munich and Salzburg",addressTitle:"Appartementhaus Hintermoos",altitude:"1,030 m above sea level",openMap:"Open in Google Maps",directions:[{key:"munich",title:"From Munich",time:"~2h 15min",route:"via A8 â Inzell â Lofer â Saalfelden",description:"Take exit Siegsdorf from A8, continue via B306 through Inzell to the Austrian border, then via Lofer and B311 to Saalfelden. At the roundabout follow signs to Maria Alm."},{key:"salzburg",title:"From Salzburg",time:"~1h 15min",route:"via A10 â Bischofshofen â B311 â Saalfelden",description:"Take A10 south to exit Bischofshofen, then follow B311 westbound through the Salzach valley to Saalfelden. At the roundabout follow signs to Maria Alm."}]},de:{sectionLabel:"Standort",sectionTitle:"So finden Sie uns",sectionSubtitle:"Das Appartementhaus Hintermoos liegt im Herzen der österreichischen Alpen, leicht erreichbar von München und Salzburg",addressTitle:"Appartementhaus Hintermoos",altitude:"1.030 m über dem Meeresspiegel",openMap:"In Google Maps öffnen",directions:[{key:"munich",title:"Von München",time:"~2 Std. 15 Min.",route:"über A8 â Inzell â Lofer â Saalfelden",description:"Ausfahrt Siegsdorf von der A8, weiter über B306 durch Inzell zur österreichischen Grenze, dann über Lofer und B311 nach Saalfelden. Am Kreisverkehr Richtung Maria Alm folgen."},{key:"salzburg",title:"Von Salzburg",time:"~1 Std. 15 Min.",route:"über A10 â Bischofshofen â B311 â Saalfelden",description:"Auf der A10 südwärts bis Ausfahrt Bischofshofen, dann B311 westwärts durch das Salzachtal nach Saalfelden. Am Kreisverkehr Richtung Maria Alm folgen."}]},cs:{sectionLabel:"Poloha",sectionTitle:"Jak nás najdete",sectionSubtitle:"Appartementhaus Hintermoos se nacházà v srdci rakouských Alp, snadno dostupný z Mnichova a Salzburgu",addressTitle:"Apartmánový dům Hintermoos",altitude:"1 030 m n. m.",openMap:"OtevÅÃt v Google Maps",directions:[{key:"munich",title:"Z Mnichova",time:"~2 hod. 15 min.",route:"pÅes A8 â Inzell â Lofer â Saalfelden",description:"SjeÄte na výjezdu Siegsdorf z A8, pokraÄujte pÅes B306 pÅes Inzell k rakouské hranici, pak pÅes Lofer a B311 do Saalfelden. Na kruhovém objezdu následujte znaÄenà na Maria Alm."},{key:"salzburg",title:"Ze Salzburgu",time:"~1 hod. 15 min.",route:"pÅes A10 â Bischofshofen â B311 â Saalfelden",description:"Po A10 jižnÄ k výjezdu Bischofshofen, pak po B311 západnÄ ÃºdolÃm Salzach do Saalfelden. Na kruhovém objezdu následujte znaÄenà na Maria Alm."}]}},l=a[i]||a.en,n="https://www.google.com/maps/place/Hintermoos+32,+5761+Maria+Alm+am+Steinernen+Meer,+Austria",o={munich:"https://www.google.com/maps/embed?pb=!1m28!1m12!1m3!1d680000!2d11.5!3d47.6!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!4m13!3e0!4m5!1s0x479e75f9a38c5fd9%3A0x10cb84a7db1987d0!2sMunich%2C+Germany!3m2!1d48.1351253!2d11.5819806!4m5!1s0x4776e812b98fb0ed%3A0xd2d4c8e97e1dd83c!2sHintermoos+32%2C+5761+Maria+Alm+am+Steinernen+Meer%2C+Austria!3m2!1d47.4043!2d12.9003!5e0!3m2!1sen!2sat!4v1700000000000!5m2!1sen!2sat",salzburg:"https://www.google.com/maps/embed?pb=!1m28!1m12!1m3!1d340000!2d12.8!3d47.5!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!4m13!3e0!4m5!1s0x47769197ce4eaa57%3A0xdea7f14e3a243e3e!2sSalzburg%2C+Austria!3m2!1d47.8095101!2d13.0550032!4m5!1s0x4776e812b98fb0ed%3A0xd2d4c8e97e1dd83c!2sHintermoos+32%2C+5761+Maria+Alm+am+Steinernen+Meer%2C+Austria!3m2!1d47.4043!2d12.9003!5e0!3m2!1sen!2sat!4v1700000000000!5m2!1sen!2sat"};return e.jsx("section",{id:"directions",className:"py-24 lg:py-32 bg-background",children:e.jsxs("div",{className:"container",children:[e.jsxs("div",{className:"text-center mb-16 lg:mb-20",children:[e.jsx("p",{className:"text-primary text-xs tracking-[0.25em] uppercase mb-4 font-medium",children:l.sectionLabel}),e.jsx("h2",{className:"font-serif text-3xl md:text-4xl text-foreground mb-4",children:l.sectionTitle}),e.jsx("div",{className:"w-12 h-px bg-primary mx-auto mb-6"}),e.jsx("p",{className:"text-muted-foreground max-w-lg mx-auto text-sm",children:l.sectionSubtitle})]}),e.jsxs("div",{className:"grid lg:grid-cols-2 gap-0 items-stretch rounded-xl overflow-hidden shadow-elevated bg-card",children:[e.jsxs("div",{className:"relative flex flex-col",children:[e.jsx("div",{className:"flex border-b border-border/40",children:l.directions.map(s=>e.jsxs("button",{onClick:()=>r(s.key),className:`flex-1 flex items-center justify-center gap-2 px-4 py-3 text-xs tracking-wider up
6percase font-medium transition-colors ${t===s.key?"bg-primary text-primary-foreground":"bg-muted/30 text-muted-foreground hover:bg-muted/60"}`,children:[e.jsx(j,{className:"w-3.5 h-3.5"}),s.title,e.jsx("span",{className:`text-[10px] ${t===s.key?"opacity-70":"opacity-50"}`,children:s.time})]},s.key))}),e.jsx("div",{className:"flex-1 min-h-[300px] lg:min-h-[480px] relative",children:e.jsx("iframe",{src:o[t],className:"absolute inset-0 w-full h-full border-0",allowFullScreen:!0,loading:"lazy",referrerPolicy:"no-referrer-when-downgrade",title:`Route from ${t==="munich"?"Munich":"Salzburg"}`},t)})]}),e.jsxs("div",{className:"p-10 md:p-14 lg:p-16 flex flex-col justify-center",children:[e.jsxs("div",{className:"flex items-start gap-4 mb-8",children:[e.jsx("div",{className:"w-10 h-10 rounded-full bg-primary/10 flex items-center justify-center shrink-0",children:e.jsx(b,{className:"w-4.5 h-4.5 text-primary"})}),e.jsxs("div",{children:[e.jsx("h3",{className:"font-serif text-xl text-foreground mb-1",children:l.addressTitle}),e.jsxs("p",{className:"text-muted-foreground text-sm leading-relaxed",children:["Bachwinkl 34",e.jsx("br",{}),"A-5761 Maria Alm am Steinernen Meer"]}),e.jsx("p",{className:"text-primary text-xs tracking-wider uppercase mt-2",children:l.altitude})]})]}),e.jsx("div",{className:"w-full h-px bg-border mb-8"}),e.jsx("div",{className:"space-y-6",children:l.directions.map(s=>e.jsxs("button",{onClick:()=>r(s.key),className:`flex items-start gap-4 text-left w-full rounded-lg p-3 -m-3 transition-colors ${t===s.key?"bg-primary/5":"hover:bg-muted/30"}`,children:[e.jsx("div",{className:`w-10 h-10 rounded-full flex items-center justify-center shrink-0 transition-colors ${t===s.key?"bg-primary/15":"bg-muted"}`,children:e.jsx(j,{className:`w-4.5 h-4.5 ${t===s.key?"text-primary":"text-muted-foreground"}`})}),e.jsxs("div",{children:[e.jsxs("div",{className:"flex items-baseline gap-3 mb-1",children:[e.jsx("h4",{className:"font-serif text-lg text-foreground",children:s.title}),e.jsx("span",{className:"text-primary text-xs font-medium",children:s.time})]}),e.jsx("p",{className:"text-xs text-muted-foreground/70 tracking-wide uppercase mb-2",children:s.route}),e.jsx("p",{className:"text-muted-foreground text-sm leading-relaxed",children:s.description})]})]},s.key))}),e.jsx("div",{className:"mt-8 pt-6 border-t border-border/40",children:e.jsxs("a",{href:n,target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-2 text-xs text-primary hover:underline tracking-wide uppercase font-medium",children:[e.jsx(b,{className:"w-3.5 h-3.5"}),l.openMap]})})]})]})]})})},P=()=>e.jsxs("div",{className:"min-h-screen flex flex-col",children:[e.jsx(I,{}),e.jsx(R,{}),e.jsx(T,{}),e.jsx(H,{})]});export{P 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.