1import{c as l,r as h,j as t,X as p,u as w,b as y,d as v,f as k,e as x}from"./index-dnYTdE-t.js";import{A as j,G as N}from"./GuestReviews-Dm_Ag3LQ.js";import{e as _}from"./economy-back-4.jpg.asset-C7ncS11y.js";import{U as A}from"./utensils-crossed-DuT2QKjg.js";import{B as T}from"./bed-CIjiZdDL.js";import{C as E}from"./check-CcbzTf0S.js";import"./arrow-left-D99ey-1d.js";import"./arrow-right-D2NYb14U.js";const B=[["path",{d:"M10 4 8 6",key:"1rru8s"}],["path",{d:"M17 19v2",key:"ts1sot"}],["path",{d:"M2 12h20",key:"9i4pu4"}],["path",{d:"M7 19v2",key:"12npes"}],["path",{d:"M9 5 7.621 3.621A2.121 2.121 0 0 0 4 5v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-5",key:"14ym8i"}]],S=l("bath",B);const I=[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]],M=l("chevron-left",I);const $=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],R=l("chevron-right",$);const z=[["path",{d:"M10 2v2",key:"7u0qdc"}],["path",{d:"M14 2v2",key:"6buw04"}],["path",{d:"M16 8a1 1 0 0 1 1 1v8a4 4 0 0 1-4 4H7a4 4 0 0 1-4-4V9a1 1 0 0 1 1-1h14a4 4 0 1 1 0 8h-1",key:"pwadti"}],["path",{d:"M6 2v2",key:"colzsn"}]],F=l("coffee",z);const O=[["path",{d:"M12 3q1 4 4 6.5t3 5.5a1 1 0 0 1-14 0 5 5 0 0 1 1-3 1 1 0 0 0 5 0c0-2-1.5-3-1.5-5q0-2 2.5-4",key:"1slcih"}]],C=l("flame",O);const H=[["path",{d:"m8 3 4 8 5-5 5 15H2L8 3z",key:"otkl63"}]],P=l("mountain",H);const D=[["path",{d:"M12 20h.01",key:"zekei9"}],["path",{d:"M2 8.82a15 15 0 0 1 20 0",key:"dnpr2z"}],["path",{d:"M5 12.859a10 10 0 0 1 14 0",key:"1x1e6c"}],["path",{d:"M8.5 16.429a5 5 0 0 1 7 0",key:"1bycff"}]],L=l("wifi",D);function W({images:e,index:i,onClose:n,onIndexChange:c}){const m=h.useCallback(()=>c((i-1+e.length)%e.length),[i,e.length,c]),a=h.useCallback(()=>c((i+1)%e.length),[i,e.length,c]);h.useEffect(()=>{const r=g=>{g.key==="Escape"?n():g.key==="ArrowLeft"?m():g.key==="ArrowRight"&&a()};window.addEventListener("keydown",r);const u=document.body.style.overflow;return document.body.style.overflow="hidden",()=>{window.removeEventListener("keydown",r),document.body.style.overflow=u}},[n,m,a]);const s=e[i];return s?t.jsxs("div",{role:"dialog","aria-modal":"true","aria-label":"Image viewer",className:"fixed inset-0 z-[100] flex items-center justify-center bg-black/90",onClick:n,children:[t.jsx("button",{type:"button","aria-label":"Close",onClick:n,className:"absolute right-4 top-4 z-10 rounded-full bg-white/10 p-2 text-white transition hover:bg-white/20",children:t.jsx(p,{size:24})}),e.length>1&&t.jsxs(t.Fragment,{children:[t.jsx("button",{type:"button","aria-label":"Previous image",onClick:r=>{r.stopPropagation(),m()},className:"absolute left-4 top-1/2 z-10 -translate-y-1/2 rounded-full bg-white/10 p-3 text-white transition hover:bg-white/20",children:t.jsx(M,{size:28})}),t.jsx("button",{type:"button","aria-label":"Next image",onClick:r=>{r.stopPropagation(),a()},className:"absolute right-4 top-1/2 z-10 -translate-y-1/2 rounded-full bg-white/10 p-3 text-white transition hover:bg-white/20",children:t.jsx(R,{size:28})})]}),t.jsx("img",{src:s.src,alt:s.alt??"",onClick:r=>r.stopPropagation(),className:"max-h-[90vh] max-w-[92vw] object-contain"}),e.length>1&&t.jsxs("div",{className:"absolute bottom-4 left-1/2 -translate-x-1/2 rounded-full bg-white/10 px-3 py-1 text-xs text-white",children:[i+1," / ",e.length]})]}):null}const U="/__l5e/assets-v1/65481d6c-e3ce-4fa0-9b12-9d790ef14c8a/superior-mountain-1.jpg",V={url:U},q="/__l5e/assets-v1/3581f5a8-ee2e-4b96-8f3a-7023b79b0123/superior-mountain-2.jpg",G={url:q},Q="/__l5e/assets-v1/c3828833-8305-40d2-b32d-56e67de64211/superior-mountain-3.jpg",K={url:Q},X="/__l5e/assets-v1/5b7510b3-45b6-4964-88b4-02b0ee03c86a/superior-mountain-4.jpg",J={url:X},Y="/__l5e/assets-v1/2e12e1c3-3194-4d88-83a3-4cec1f4b9e72/standard-window-new.jpg",Z={url:Y},ee="/__l5e/assets-v1/b9be754b-86c8-4872-b159-e6ac3e42b1fd/standard-bathroom-new.jpg",te={url:ee},ae="/__l5e/assets-v1/48db7f96-0d30-4510-9c07-4c5a19013519/economy-back-2.jpg",re={url:ae},se="/__l5e/assets-v1/28ac6c8b-f7a3-451b-8480-f1b8a2cbba92/economy-back-3.jpg",oe={url:se},ie="/__l5e/assets-v1/d23bb94b-b60b-41e7-83ea-d79c8e51e7d1/economy-back-5.jpg",ne={url:ie},le="/__l5e/assets-v1/58b174d7-49be-4638-9cf5-38774bf955c1/barn-room-1-new.jpg",ce={url:le},me="/__l5e/assets-v1/6cb37467-31af-49bd-b7ff-d299472d4e20/barn-room-2-new.jpg",ue={url:me},ge="/__l5e/assets-v1/5aedf83f-6c15-4383-a6a2-ada590bac66d/family-barn-2.jpg",de={url:ge},he="/__l5e/assets-v1/965a7cc2-2142-4b32-a74d-9a9381d964d2/family-barn-3.jpg",be={url:he},fe="/__l5e/assets-v1/a8b4565c-386b-4e0b-a8c0-78c4dce5601f/family-barn-4.jpg",pe={url:fe},we="/__l5e/assets-v1/92756ccb-f3be-4073-99a8-e9d866d01be6/family-barn-5.jpg",ye={url:we},ve=V.url,ke=G.url,xe=K.url,je=J.url,Ne=Z.url,_e=te.url,Ae=re.url,Te=oe.url,f=_.url,Ee=ne.url,Be=ce.url,Se=ue.url,Ie=de.url,Me=be.url,$e=pe.url,Re=ye.url;function We(){const e=w();
1h.useRef(j({delay:5e3,stopOnInteraction:!1,stopOnMouseEnter:!0}));const[i,n]=h.useState(null),c=[{img:y,name:e("Superior Double or Twin â Mountain view","Superior tveggja manna â fjallasýn"),tag:e("Mountain view · Bright & spacious","Fjallaútsýni · Bjart og rúmgott"),desc:e("A bright, generously sized room facing the mountains. Two beds, a writing desk, a small seating area, tea and coffee and a private bathroom with shower. The most comfortable room in the main house.","Bjart og rúmgott herbergi með vÃðáttumikið fjallútsýni. Tvö rúm, skrifborð, lÃtill set krókur, te- og kaffiaðstaða og sérbaðherbergi með sturtu. Ãægilegasta herbergið à aðalhúsinu."),specs:[e("2 beds · up to 2 guests","2 rúm · allt að 2 gestir"),e("Nature-facing window","Gluggi til náttúrunnar"),e("Private bathroom with shower","Sérbaðherbergi með sturtu"),e("Desk & seating area","Skrifborð og set krókur")],gallery:[{src:ve,alt:e("Superior twin beds with green throws and bedside lamps","Superior tveggja manna rúm með grænum ábreiðum og náttlampum")},{src:ke,alt:e("Superior room with twin beds and mountain-view window","Superior herbergi með tveimur rúmum og glugga með fjallaútsýni")},{src:je,alt:e("Superior room with coffee station and wicker chair","Superior herbergi með kaffiaðstöðu og tágastól")},{src:xe,alt:e("Private bathroom with walk-in shower in the superior room","Sérbaðherbergi með walk-in sturtu à superior herberginu")}]},{img:v,name:e("Standard Double or Twin","Standard tveggja manna"),tag:e("Two single beds · Nature View","Tvö einbreið rúm · náttúruútsýni"),desc:e("A simple, comfortable room with two single beds, fresh linen and a private bathroom with shower. Everything you need for a quiet night between days out in West Iceland.","Einfalt og notalegt herbergi með tveimur einbreiðum rúmum, ferskum rúmfötum og sérbaðherbergi með sturtu. Allt sem þú þarft fyrir kyrrláta nótt á milli daga á Vesturlandi."),specs:[e("2 single beds","2 einbreið rúm"),e("Private bathroom with shower","Sérbaðherbergi með sturtu"),e("Beautiful view","Fallegt útsýni"),e("Quiet, countryside setting","Kyrrlátt à sveitinni")],gallery:[{src:Ne,alt:e("Standard twin room bed facing a paned window with countryside view","Standard tveggja manna herbergi með rúmi við rúðuglugga og sveitaútsýni")},{src:Be,alt:e("Twin beds with soft curtains and countryside view","Tveggja manna rúm með mjúkum gluggatjöldum og sveitaútsýni")},{src:Se,alt:e("Twin beds viewed from the foot of the bed","Tveggja manna rúm séð frá fótagafli")},{src:_e,alt:e("Private bathroom with walk-in marble-tiled shower and vintage mirror","Sérbaðherbergi með walk-in marmaraflÃsalagðri sturtu og antÃk spegli")}]},{img:k,name:e("Family Room â The Barn","Fjölskylduherbergi â Hlaðan"),tag:e("Nature View · Up to 4 guests","Náttúruútsýni · Allt að 4 gestir"),desc:e("A spacious room set up for families â two beds with room to add an extra bed and a cot on request. Private bathroom with shower, tea and coffee, and the same quiet countryside setting as the rest of the house. Located in a separate building.","Rúmgott herbergi fyrir fjölskyldur â tvö rúm með pláss fyrir aukarúm og barnarúm eftir samkomulagi. Sérbaðherbergi með sturtu, te og kaffi, og sami kyrrláti sveitabragurinn og à öðrum hlutum hússins. Staðsett à sér byggingu."),specs:[e("Up to 4 guests","Allt að 4 gestir"),e("COT AVAILABLE ON REQUEST. NOTE THAT WE CAN NOT ADD THE FOURTH BED IN THIS ROOM.","Hérna getum við ekki bætt við fjórða rúminu, einungis barnarúmi."),e("Private bathroom with shower","Sérbaðherbergi með sturtu"),e("Tea & coffee · sitting area","Te og kaffi · set krókur")],gallery:[{src:Ie,alt:e("Three single beds in the family room at The Barn","Ãrjú einbreið rúm à fjölskylduherberginu à Hlöðunni")},{src:Re,alt:e("Family room with desk and coffee station in The Barn","Fjölskylduherbergi með skrifborði og kaffiaðstöðu à Hlöðunni")},{src:Me,alt:e("Window view of the Icelandic countryside from the family room","Ãtsýni úr glugga yfir Ãslenska sveit úr fjölskylduherberginu")},{src:$e,alt:e("Private bathroom with walk-in shower in the family room","Sérbaðherbergi með walk-in sturtu à fjölskylduherberginu")}]},{img:f,name:e("Economy Double or Twin â Backhouse View","Economy tveggja manna â bakhúsasýn"),tag:e("Backhouse view · Friendly rate","Bakhúsasýn · Hagstætt verð"),desc:e("The same comfortable room as our Standard â two beds, private bathroom with shower, a desk, sitting area and tea and coffee. The only difference is the view: over the backhouses rather than the open countryside, at a friendlier rate.","Sama notalega herbergi og Standard â tvö rúm, sérbaðherbergi með sturtu, skrifborð, set krókur og te- og kaffiaðstaða. Eini munurinn er útsýnið: yfir bakhúsin frekar en sveitina, á hagstæðara verði."),specs:[e("2 beds · up to 2 guests","2 rúm · allt að 2 gestir"),e("Private bathroom with shower","Sérbaðherbergi með sturtu"),e("Desk, sitting area, tea & coffee","Skrifborð, set krókur, te og kaffi"),e("Backhouse view","Ãtsýni yfir bakhúsin")],gallery:[{src:x,alt:e("Economy twin room with entrance view","Economy tveggja manna herbergi með inngangi")},{src:Ae,alt:e("Economy room with paned window and curtains","Economy herbergi með rúðuglugg
1i og gardÃnum")},{src:Te,alt:e("Economy room with desk and warm sconce lighting","Economy herbergi með skrifborði og hlýrri veggljósabirtu")},{src:Ee,alt:e("Private bathroom with walk-in shower in the economy room","Sérbaðherbergi með walk-in sturtu à economy herberginu")},{src:f,alt:e("Economy twin beds with side tables","Economy tveggja manna rúm með náttborðum")}]}],m=[{icon:S,label:e("Private bathroom","Sérbaðherbergi")},{icon:C,label:e("Shared hot tub","Sameiginlegur heitur pottur")},{icon:F,label:e("Tea & coffee · breakfast","Te, kaffi og morgunverður")},{icon:A,label:e("On-site restaurant","Veitingastaður á staðnum")},{icon:L,label:e("Free Wi-Fi","FrÃtt Wi-Fi")},{icon:P,label:e("Garden & backhouse views","Garð- og bakhúsa útsýni")},{icon:T,label:e("Fresh linen","Fersk rúmföt")}];return t.jsxs(t.Fragment,{children:[t.jsx("section",{className:"bg-ink text-cream",children:t.jsxs("div",{className:"mx-auto max-w-7xl px-6 pb-24 pt-40 lg:px-10 lg:pt-48",children:[t.jsx("p",{className:"eyebrow text-cream/70",children:e("Stay with us","Gistu hjá okkur")}),t.jsx("h1",{className:"mt-4 max-w-3xl font-display text-5xl md:text-7xl",children:e("Rooms","Herbergi")}),t.jsx("p",{className:"mt-6 max-w-xl text-cream/80",children:e("Distinct stays â from bright superior rooms with mountain views to comfortable standard rooms and cosy economy doubles.","ÃlÃkar gistingar â frá björtum superior herbergjum með fjallaútsýni til þægilegra standard herbergja og notalegra economy herbergja.")})]})}),t.jsx("section",{className:"bg-background",children:t.jsx("div",{className:"mx-auto max-w-7xl px-6 py-20 lg:px-10",children:t.jsx("ul",{className:"grid gap-y-3 gap-x-10 sm:grid-cols-2 md:grid-cols-4 lg:grid-cols-7",children:m.map(({icon:a,label:s},r)=>t.jsxs("li",{className:"flex items-center gap-3 border-t border-border py-4 text-sm",children:[t.jsx(a,{size:16,className:"text-ember"})," ",s]},r))})})}),t.jsx("section",{className:"bg-background",children:t.jsx("div",{className:"mx-auto max-w-7xl px-6 pb-32 lg:px-10",children:t.jsx("div",{className:"space-y-28",children:c.map((a,s)=>{const r=(a.gallery??[]).slice(0,4).map(o=>({src:o.src,alt:typeof o.alt=="string"?o.alt:""})),u=typeof a.name=="string"?a.name:"",g=a.img?[{src:a.img,alt:u},...r]:r,b=o=>n({images:g,index:o});return t.jsxs("article",{className:"space-y-10",children:[t.jsxs("div",{className:"grid items-center gap-10 md:grid-cols-12 lg:gap-16",children:[a.img&&t.jsx("div",{className:`md:col-span-7 ${s%2===1?"md:order-2":""}`,children:t.jsx("button",{type:"button",onClick:()=>b(0),className:"block aspect-[4/3] w-full overflow-hidden focus:outline-none focus-visible:ring-2 focus-visible:ring-ember","aria-label":`Enlarge photo of ${u}`,children:t.jsx("img",{src:a.img,alt:u,loading:"lazy",width:1600,height:1200,className:"h-full w-full cursor-zoom-in object-cover transition hover:opacity-95"})})}),t.jsxs("div",{className:`${a.img?"md:col-span-5":"md:col-span-12 max-w-2xl"} ${s%2===1&&a.img?"md:order-1":""}`,children:[t.jsxs("p",{className:"eyebrow",children:["0",s+1]}),t.jsx("h2",{className:"mt-3 font-display text-4xl md:text-5xl",children:a.name}),t.jsx("p",{className:"mt-2 text-xs uppercase tracking-[0.18em] text-moss",children:a.tag}),t.jsx("p",{className:"mt-5 text-base leading-relaxed text-muted-foreground",children:a.desc}),t.jsx("ul",{className:"mt-6 space-y-2 text-sm",children:a.specs.map((o,d)=>t.jsxs("li",{className:"flex items-center gap-2",children:[t.jsx(E,{size:14,className:"text-ember"})," ",o]},d))}),t.jsx("p",{className:"mt-5 text-xs uppercase tracking-[0.18em] text-muted-foreground",children:e("COT AVAILABLE ON REQUEST. NOTE THAT WE CAN NOT ADD THE FOURTH BED IN THIS ROOM.","Hérna getum við ekki bætt við fjórða rúminu, einungis barnarúmi.")}),t.jsx("a",{href:"/book",className:"btn-primary mt-8",children:e("Book this room","Bóka þetta herbergi")})]})]}),r.length>0&&t.jsx("div",{className:"grid gap-4 sm:grid-cols-2 md:grid-cols-4",children:r.map((o,d)=>t.jsx("button",{type:"button",onClick:()=>b(a.img?d+1:d),className:"block aspect-[4/3] overflow-hidden focu
1s:outline-none focus-visible:ring-2 focus-visible:ring-ember","aria-label":`Enlarge photo: ${o.alt}`,children:t.jsx("img",{src:o.src,alt:o.alt,loading:"lazy",className:"h-full w-full cursor-zoom-in object-cover transition hover:opacity-95"})},d))})]},s)})})})}),t.jsx(N,{}),i&&t.jsx(W,{images:i.images,index:i.index,onClose:()=>n(null),onIndexChange:a=>n(s=>s&&{...s,index:a})})]})}export{We as component};
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.