1import{a as e,c as t,i as n,l as r,n as i,o as a,r as o,s,t as c}from"./index-Cht5hrZc.js";import{t as l}from"./site-chrome-CuvAg0Yy.js";function u(e,t){return new Proxy({},{get(r,i){if(typeof i==`string`)return u(e,[...t,i]);if(i===n){if(t.length<1){let n=[e,...t].join(`.`);throw Error(`API path is expected to be of the form \`${e}.childComponent.functionName\`. Found: \`${n}\``)}return`_reference/childComponent/`+t.join(`/`)}else return}})}var d=()=>u(`components`,[]),f=r(t()),p=o;d();var m=s(),h=`https://a9d32dacbf.clvaw-cdnwnd.com/e7ed2b986097f4879c9e396186218395/200000201-a4f8ca4f8d/Jaroslav-Belzik-Chalupa-Celnica-45.jpg?ph=a9d32dacbf`,g=[{src:`https://a9d32dacbf.clvaw-cdnwnd.com/e7ed2b986097f4879c9e396186218395/200000201-a4f8ca4f8d/Jaroslav-Belzik-Chalupa-Celnica-45.jpg?ph=a9d32dacbf`,alt:`Chalupa Celnica v údolà Velkých Karlovic`,className:`sm:col-span-2 sm:row-span-2`},{src:`https://a9d32dacbf.clvaw-cdnwnd.com/e7ed2b986097f4879c9e396186218395/200000203-6f8a66f8a8/Jaroslav-Belzik-Chalupa-Celnica-46.jpg?ph=a9d32dacbf`,alt:`Zázemà pro spoleÄný pobyt`,className:``},{src:`https://a9d32dacbf.clvaw-cdnwnd.com/e7ed2b986097f4879c9e396186218395/200000299-290cc290cd/Jaroslav-Belzik-Chalupa-Celnica-48-9.jpg?ph=a9d32dacbf`,alt:`Prostory Chalupy Celnica`,className:``},{src:`https://a9d32dacbf.clvaw-cdnwnd.com/e7ed2b986097f4879c9e396186218395/200000297-10e8210e84/Jaroslav-Belzik-Chalupa-Celnica-47.jpg?ph=a9d32dacbf`,alt:`Interiér Chalupy Celnica`,className:``},{src:`https://a9d32dacbf.clvaw-cdnwnd.com/e7ed2b986097f4879c9e396186218395/200000309-8d9578d958/Jaroslav-Belzik-Chalupa-Celnica-54.jpg?ph=a9d32dacbf`,alt:`Detaily zázemà pro hosty`,className:``},{src:`https://a9d32dacbf.clvaw-cdnwnd.com/e7ed2b986097f4879c9e396186218395/200000209-9086f90870/Jaroslav-Belzik-Chalupa-Celnica-1.jpg?ph=a9d32dacbf`,alt:`Klidný kout pro hosty`,className:``}],_=[[`DvÄ chalupy`,`Celnica a Stará Celnica`],[`Až 36 lůžek`,`PÅi spoleÄném pronájmu`],[`4 atmosféry`,`Od ValaÅ¡ska po Indonésii`],[`Celý rok`,`Hory v každém roÄnÃm obdobÃ`]],v=[[`Velké zázemÃ`,`Pro rodiny, partu pÅátel i spoleÄné oslavy`],[`V srdci Beskyd`,`Klidná Äást PodÅ¥até ve Velkých KarlovicÃch`],[`SvÄtové interiéry`,`Toskánsko, ValaÅ¡sko, Indonésie a sever`],[`PÄÅ¡ky i na kole`,`Výchozà bod pro túry a cyklistické trasy`],[`Spojte obÄ chalupy`,`Dostatek mÃsta, ale i vlastnà soukromÃ`],[`Pobyt podle vás`,`Od prodlouženého vÃkendu po celý týden`]],ee=[{value:`celnica`,label:`Chalupa Celnica`,note:`12â16 hostů · 8 ložnic`,testid:`accommodation-celnica`},{value:`stara`,label:`Stará Celnica`,note:`12â16 hostů · 7 ložnic`,testid:`accommodation-stara`},{value:`areal`,label:`Celý areál`,note:`až 36 hostů · obÄ chalupy`,testid:`accommodation-areal`}],te={celnica:`Chalupa Celnica`,stara:`Stará Celnica`,areal:`Celý areál`},y=[`leden`,`únor`,`bÅezen`,`duben`,`kvÄten`,`Äerven`,`Äervenec`,`srpen`,`záÅÃ`,`ÅÃjen`,`listopad`,`prosinec`],ne=[`Po`,`Ãt`,`St`,`Ät`,`Pá`,`So`,`Ne`],b=[`ledna`,`února`,`bÅezna`,`dubna`,`kvÄtna`,`Äervna`,`Äervence`,`srpna`,`záÅÃ`,`ÅÃjna`,`listopadu`,`prosince`],re=p.availability.getBlockedDateRanges;function x(e){return`${e.getFullYear()}-${String(e.getMonth()+1).padStart(2,`0`)}-${String(e.getDate()).padStart(2,`0`)}`}function S(e){let[t,n,r]=e.split(`-`).map(Number);return new Date(t,(n||1)-1,r||1)}function C(e,t){let n=S(e);return n.setDate(n.getDate()+t),x(n)}function ie(e,t){let n=S(e).getTime(),r=S(t).getTime();return Math.round((r-n)/864e5)}function w(e){let t=S(e).getMonth();return t===6||t===7?3:2}function T(e){return`${new Intl.NumberFormat(`cs-CZ`).format(e)} KÄ`}function ae(e,t,n,r,i){if(!e||!t||n<=0)return null;let a=S(t).getMonth(),o=a>=4&&a<=7,s=e===`areal`?2:1,c=o?6800:6600,l=(n===2?o?16800:16e3:c*n)*s,u=(r>=18?2400:2200)*s;return{accommodationPrice:l,cleaningPrice:u,dogFee:i??0,total:l+u+(i??0),accommodationCount:s,isSummerSeason:o,nightlyRate:c,usesShortStayRate:n===2}}function E(e,t){return t.some(t=>e>=t.start&&e<t.end)}function oe(e,t,n){let r=C(e,1),i=t;for(;r<i;){if(E(r,n))return!0;r=C(r,1)}return!1}function D(e){let t=S(e);return`${t.getDate()}. ${b[t.getMonth()]} ${t.getFullYear()}`}function se(e,t){let n=(new Date(e,t,1).getDay()+6)%7,r=new Date(e,t+1,0).getDate(),i=[];for(let e=0;e<n;e++)i.push(null);for(let n=1;n<=r;n++)i.push(x(new Date(e,t,n)));for(;i.length%7!=0;)i.push(null);return i}var ce=[`Objekt`,`TermÃn`,`Hosté`,`Rekapitulace`];function O(){let[e,t]=(0,f.useState)(0),[n,r]=(0,f.useState)(!1),[o,s]=(0,f.useState)(null),[l,u]=(0,f.useState)(null),[d,h]=(0,f.useState)(null),[g,_]=(0,f.useState)(``),[v,b]=(0,f.useState)(0),[S,C]=(0,f.useState)(0),[O,le]=(0,f.useState)(``),[k,A]=(0,f.useState)({dog:!1,sauna:!1,hotTub:!1}),[j,ue]=(0,f.useState)(``),[M,de]=(0,f.useState)(``),[N,fe]=(0,f.useState)(``),[P,pe]=(0,f.useState)(`2`),[F,me]=(0,f.useState)(``),[I,he]=(0,f.useState)({}),[L,R]=(0,f.useState)(`idle`),[z,ge]=(0,f.useState)(!0),[_e,ve]=(0,f.useState)(0),[B,V]=(0,f.useState)([]),[H,U]=(0,f.useState)(`idle`),[ye,be]=(0,f.useState)(``),xe=a(),Se=c(p.inquiries.sendStayInquiry),W=c(re),Ce=i(p.formEvents.record),G=(0,f.useRef)(!1),K=(0,f.useRef)(e=>{let t=typeof window<`u`?window.gtag:void 0,n=e.accommodation===`celnica`||e.accommodation===`stara`||e.accommodation===`areal`?e.accommodation:void 0,r={eventName:e.eventName,step:e.step,accommodation:n,nights:typeof e.nights==`number`&&e.nights>=1?e.nights:void 0,guestCount:typeof e.guestCount==`number`&&e.guestCount>=1?e.guestCount:void 0,errorCount:typeof e.errorCount==`number`&&e.errorCount>=1?e.errorCount:void 0};if(t)try{t(`event`,r.eventName,r)}catch{}Promise.resolve().then(()=>Ce(r)).catch(()=>{console.error(`formEvents persistence failed`,{eventName:r.eventName})})}).current;(0,f.useEffect)(()=>{r(!0);let e=new Date;le(x(e)),b(e.getFullYear()),C(e.getMonth())},[]),(0,f.useEffect)(()=>
1{if(!n||!o)return;let e=!1;return R(`loading`),V([]),_(``),(async()=>{try{let t=await W({accommodation:o});if(e)return;ge(t.configured),V(t.blockedRanges??[]),R(`loaded`)}catch(t){if(e)return;console.error(`Availability check failed`,{error:t}),R(`error`)}})(),()=>{e=!0}},[o,_e,n,W]);let q=l&&d?ie(l,d):0,we=l?w(l):0,J=k.dog&&q>0?q*300:null,Y=ae(o,l,q,Number(P),J),X=!!(l&&d&&q>=we);function Z(e){return!!(!O||e<O||E(e,B))}function Te(e){if(Z(e))return;if(!l||l&&d){u(e),h(null),_(``);return}if(e===l){u(null),h(null),_(``);return}if(e<l){u(e),h(null),_(``);return}if(oe(l,e,B)){_(`Vybraný termÃn obsahuje obsazené dny. Vyberte jiný odjezd.`);return}let t=ie(l,e),n=w(l);if(t<n){_(`Minimálnà délka pobytu v tomto termÃnu je ${n} ${n===1?`noc`:n<=4?`noci`:`nocÃ`}.`);return}h(e),_(``)}function Ee(e){return!l||!d?!1:e>l&&e<d}function De(){let e={};j.trim()||(e.name=`VyplÅte prosÃm jméno a pÅÃjmenÃ.`),/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(M.trim())||(e.email=`Zadejte prosÃm platný e-mail.`),N.trim()||(e.phone=`Zadejte prosÃm telefonnà ÄÃslo.`);let t=Number(P);return(!Number.isFinite(t)||t<1||t>36)&&(e.guests=`PoÄet hostů musà být v rozsahu 1 až 36.`),he(e),e}function Oe(){if(e===0&&!o||e===1&&!X)return;if(e===2){let e=De(),t=Object.keys(e).length;if(t>0){K({eventName:`reservation_validation_error`,step:3,accommodation:o,guestCount:Number(P)||void 0,errorCount:t});return}}let n=e+1;K({eventName:`reservation_step_completed`,step:n,accommodation:o,nights:q>0?q:void 0,guestCount:n>=3&&Number(P)||void 0}),t(e=>Math.min(e+1,3))}function ke(){t(e=>Math.max(e-1,0))}async function Ae(){if(!o||!l||!d)return;let e=Number(P),t=[];k.dog&&t.push(`dog`),k.sauna&&t.push(`sauna`),k.hotTub&&t.push(`hotTub`),U(`sending`),be(``),K({eventName:`reservation_submitted`,step:4,accommodation:o,nights:q>0?q:void 0,guestCount:Number(P)||void 0});let n={name:j.trim(),email:M.trim(),phone:N.trim(),accommodation:o,arrival:l,departure:d,guests:e,message:F.trim(),extras:t,stayNights:q};try{await Se(n),U(`success`),K({eventName:`reservation_submitted_success`,step:4,accommodation:o,nights:q>0?q:void 0,guestCount:Number(P)||void 0}),xe({to:`/dekujeme`})}catch(e){console.error(`Stay inquiry submission failed`,{error:e}),U(`error`),be(e instanceof Error?e.message:`Poptávku se nepodaÅilo odeslat. Zkuste to prosÃm znovu.`),K({eventName:`reservation_submitted_error`,step:4,accommodation:o,nights:q>0?q:void 0,guestCount:Number(P)||void 0})}}let je=[{year:v,month:S},{year:S===11?v+1:v,month:(S+1)%12}];function Me(){S===0?(C(11),b(e=>e-1)):C(e=>e-1)}function Ne(){S===11?(C(0),b(e=>e+1)):C(e=>e+1)}let Q=`text-[0.64rem] font-semibold uppercase tracking-[0.14em] text-forest/65`,$=`mt-2 w-full border border-line bg-background px-3 py-3 text-sm text-forest outline-none transition-colors focus:border-rust`;return(0,m.jsxs)(`div`,{"data-testid":`stay-inquiry-form`,"data-state":H,className:`border border-line bg-background p-6 sm:p-8`,children:[(0,m.jsxs)(`div`,{className:`min-h-[5.5rem] border-b border-line pb-5 lg:min-h-[7rem]`,children:[(0,m.jsxs)(`p`,{className:`eyebrow`,children:[`Krok `,e+1,` z 4`]}),(0,m.jsxs)(`h3`,{className:`mt-3 font-display text-3xl leading-tight text-forest sm:text-4xl`,children:[e===0&&`Vyberte objekt`,e===1&&`TermÃn a doplÅky`,e===2&&`Ãdaje o hostech`,e===3&&`Rekapitulace a odeslánÃ`]}),(0,m.jsxs)(`p`,{className:`mt-2 text-sm leading-6 text-forest/65`,children:[e===0&&`Vyberte chalupu nebo celý areál, který si pÅejete pronajmout.`,e===1&&`Zvolte termÃn pobytu a pÅÃpadné doplÅky.`,e===2&&`VyplÅte kontaktnà údaje a poÄet hostů.`,e===3&&`Zkontrolujte údaje a odeÅ¡lete poptávku.`]})]}),(0,m.jsx)(`ol`,{className:`mt-6 flex items-center justify-between gap-1 sm:gap-2`,"aria-label":`Postup rezervace`,children:ce.map((t,n)=>{let r=n===e,i=n<e;return(0,m.jsxs)(`li`,{className:`flex flex-1 flex-col items-center gap-2 text-center`,children:[(0,m.jsx)(`span`,{className:`flex h-8 w-8 items-center justify-center rounded-full border text-xs font-semibold transition-colors sm:h-9 sm:w-9 ${r?`border-rust bg-rust text-cream`:i?`border-forest bg-forest text-cream`:`border-line bg-background text-forest/55`}`,"aria-current":r?`step`:void 0,children:i?`â`:n+1}),(0,m.jsx)(`span`,{className:`text-[0.58rem] font-semibold uppercase tracking-[0.1em] sm:text-[0.64rem] ${r?`text-forest`:`text-forest/50`}`,children:t})]},t)})}),(0,m.jsxs)(`div`,{className:`mt-6 lg:min-h-[460px]`,children:[e===0&&(0,m.jsx)(`div`,{className:`grid gap-3 sm:grid-cols-3`,children:ee.map(e=>
1{let t=o===e.value;return(0,m.jsxs)(`button`,{"data-testid":e.testid,type:`button`,"aria-pressed":t,onClick:()=>{s(e.value),G.current||(G.current=!0,K({eventName:`reservation_form_started`,step:1,accommodation:e.value}))},className:`flex min-h-60 flex-col items-start border p-5 text-left transition-colors ${t?`border-rust bg-cream`:`border-line bg-background hover:border-forest/45`}`,children:[(0,m.jsx)(`div`,{className:`mb-5 flex h-20 w-full items-end justify-center gap-3 border-b border-dashed border-line pb-3 text-rust`,"aria-hidden":`true`,children:Array.from({length:e.value===`areal`?2:1}).map((t,n)=>(0,m.jsxs)(`svg`,{viewBox:`0 0 64 58`,className:e.value===`areal`?`h-14 w-16`:`h-16 w-20`,fill:`none`,stroke:`currentColor`,strokeWidth:`1.6`,children:[(0,m.jsx)(`path`,{d:`M8 27 32 8l24 19v24H8Z`}),(0,m.jsx)(`path`,{d:`M22 51V36h20v15M17 29h8v7h-8zM39 29h8v7h-8z`}),e.value===`areal`&&n===1&&(0,m.jsx)(`path`,{d:`M12 23h40`})]},n))}),(0,m.jsx)(`span`,{className:`font-display text-2xl text-forest`,children:e.label}),(0,m.jsx)(`span`,{className:`mt-2 text-[0.62rem] font-semibold uppercase tracking-[0.12em] text-forest/55`,children:e.note}),(0,m.jsx)(`span`,{className:`mt-auto pt-4 text-[0.62rem] font-semibold uppercase tracking-[0.14em] ${t?`text-rust`:`text-forest/40`}`,children:t?`Vybráno`:`Vybrat`})]},e.value)})}),e===1&&(0,m.jsxs)(`div`,{className:`grid gap-5 lg:grid-cols-[1.4fr_1fr] lg:items-start`,children:[(0,m.jsxs)(`div`,{className:`space-y-5`,children:[(0,m.jsxs)(`div`,{className:`border border-line bg-cream px-4 py-3 text-sm leading-6 text-forest/75`,children:[L===`loading`&&(0,m.jsxs)(`p`,{"data-testid":`availability-loading`,className:`flex items-center gap-2`,children:[(0,m.jsx)(`span`,{className:`inline-block h-3 w-3 animate-pulse rounded-full bg-rust`,"aria-hidden":`true`}),`NaÄÃtáme dostupnostâ¦`]}),L===`loaded`&&z&&(0,m.jsx)(`p`,{children:`TermÃny oznaÄené jako obsazené nejsou k dispozici. Dostupnost potvrdÃme osobnÄ.`}),L===`loaded`&&!z&&(0,m.jsx)(`p`,{"data-testid":`availability-unconfigured`,children:`Dostupnost tohoto objektu vám rádi potvrdÃme osobnÄ.`}),L===`error`&&(0,m.jsxs)(`div`,{className:`flex flex-wrap items-center justify-between gap-3`,children:[(0,m.jsx)(`p`,{children:`Dostupnost se nepodaÅilo naÄÃst. Můžete pokraÄovat, dostupnost potvrdÃme osobnÄ.`}),(0,m.jsx)(`button`,{type:`button`,"data-testid":`availability-retry`,className:`border border-rust px-3 py-1.5 text-[0.62rem] font-semibold uppercase tracking-[0.12em] text-rust transition-colors hover:bg-rust hover:text-cream`,onClick:()=>ve(e=>e+1),children:`Zkusit znovu`})]}),L===`idle`&&(0,m.jsx)(`p`,{children:`Dostupnost naÄÃtáme po výbÄru objektu.`})]}),(0,m.jsxs)(`div`,{"data-testid":`calendar`,className:`border border-line bg-background p-4 sm:p-5`,children:[(0,m.jsxs)(`div`,{className:`flex items-center justify-between`,children:[(0,m.jsx)(`button`,{type:`button`,"data-testid":`calendar-prev-month`,className:`flex h-9 w-9 items-center justify-center border border-line text-forest transition-colors hover:border-rust hover:text-rust`,"aria-label":`PÅedchozà mÄsÃc`,onClick:Me,children:`â¹`}),(0,m.jsx)(`div`,{className:`text-center`,children:je.map((e,t)=>(0,m.jsxs)(`span`,{className:t===0?`block font-display text-2xl text-forest`:`block font-display text-xl text-forest/45`,children:[y[e.month],` `,e.year]},`${e.year}-${e.month}`))}),(0,m.jsx)(`button`,{type:`button`,"data-testid":`calendar-next-month`,className:`flex h-9 w-9 items-center justify-center border border-line text-forest transition-colors hover:border-rust hover:text-rust`,"aria-label":`Dalšà mÄsÃc`,onClick:Ne,children:`âº`})]}),(0,m.jsx)(`div`,{className:`mt-5 grid gap-5 sm:grid-cols-2`,children:je.map(e=>(0,m.jsxs)(`div`,{role:`grid`,"aria-label":`${y[e.month]} ${e.year}`,children:[(0,m.jsx)(`div`,{className:`grid grid-cols-7 gap-1 text-center`,children:ne.map(e=>(0,m.jsx)(`span`,{className:`pb-2 text-[0.56rem] font-semibold uppercase tracking-[0.08em] text-forest/45`,children:e},e))}),(0,m.jsxs)(`div`,{className:`grid grid-cols-7 gap-1`,children:[n&&se(e.year,e.month).map((e,t)=>{if(!e)return(0,m.jsx)(`span`,{className:`aspect-square`,"aria-hidden":`true`},`empty-${t}`);let n=Z(e),r=e===l,i=e===d,a=Ee(e);return(0,m.jsx)(`button`,{type:`button`,role:`gridcell`,"aria-label":`${D(e)}${n?` (nedostupné)`:``}`,"aria-disabled":n||void 0,"aria-pressed":r||i,disabled:n,tabIndex:n?-1:0,onClick:()=>Te(e),className:`aspect-square text-xs font-medium transition-colors ${n?`cursor-not-allowed bg-transparent text-forest/25 line-through`:r||i?`bg-forest text-cream`:a?`bg-cream text-forest`:`bg-transparent text-forest hover:bg-cream`}`,children:Number(e.slice(8))},e)}),!n&&Array.from({length:42}).map((e,t)=>(0,m.jsx)(`span`,{className:`aspect-square animate-pulse bg-cream/60`,"aria-hidden":`true`},`placeholder-${t}`))]})]},`${e.year}-${e.month}`))}),(0,m.jsxs)(`div`,{className:`mt-5 flex flex-wrap gap-x-5 gap-y-2 border-t border-line pt-4 text-[0.6rem] font-semibold uppercase tracking-[0.1em] text-forest/60`,children:[(0,m.jsxs)(`span`,{className:`flex items-center gap-2`,children:[(0,m.jsx)(`span`,{className:`inline-block h-3 w-3 bg-forest`,"aria-hidden":`true`}),` Vybraný termÃn`]}),(0,m.jsxs)(`span`,{className:`flex items-center gap-2`,children:[(0,m.jsx)(`span`,{className:`inline-block h-3 w-3 bg-cream`,"aria-hidden":`true`}),` V rozsahu`]}),(0,m.jsxs)(`span`,{className:`flex items-center gap-2`,children:[(0,m.jsx)(`span`,{className:`inline-block h-3 w-3 border border-line`,"aria-hidden":`true`}
1),` Volno`]}),(0,m.jsxs)(`span`,{className:`flex items-center gap-2`,children:[(0,m.jsx)(`span`,{className:`inline-block h-3 w-3 bg-transparent line-through`,"aria-hidden":`true`}),` Nedostupné`]})]})]}),(0,m.jsxs)(`div`,{className:`flex flex-wrap items-center gap-x-6 gap-y-2 text-sm text-forest/75`,children:[(0,m.jsxs)(`span`,{children:[(0,m.jsx)(`strong`,{className:`font-display text-lg text-forest`,children:`PÅÃjezd:`}),` `,l?D(l):`â`]}),(0,m.jsxs)(`span`,{children:[(0,m.jsx)(`strong`,{className:`font-display text-lg text-forest`,children:`Odjezd:`}),` `,d?D(d):`â`]}),X&&(0,m.jsxs)(`span`,{children:[(0,m.jsx)(`strong`,{className:`font-display text-lg text-forest`,children:`PoÄet nocÃ:`}),` `,q]})]}),g&&(0,m.jsx)(`p`,{className:`border border-rust bg-cream px-4 py-3 text-sm leading-6 text-forest`,role:`alert`,children:g})]}),(0,m.jsxs)(`div`,{className:`space-y-2 border-t border-line pt-5 lg:border-t-0 lg:pt-0`,children:[(0,m.jsx)(`p`,{className:Q,children:`DoplÅky`}),(0,m.jsxs)(`label`,{className:`flex items-start gap-3 border border-line bg-background px-4 py-3 text-sm text-forest`,"data-testid":`addon-dog-wrapper`,children:[(0,m.jsx)(`input`,{type:`checkbox`,"data-testid":`addon-dog`,className:`mt-0.5 h-4 w-4 accent-rust`,checked:k.dog,onChange:e=>A(t=>({...t,dog:e.target.checked}))}),(0,m.jsxs)(`span`,{children:[`Pes (+300 KÄ/noc)`,J!==null&&(0,m.jsxs)(`span`,{className:`ml-2 text-forest/60`,children:[`· `,J,` KÄ za `,q,` `,q===1?`noc`:q<=4?`noci`:`nocÃ`]})]})]}),(0,m.jsxs)(`label`,{className:`flex items-start gap-3 border border-line bg-background px-4 py-3 text-sm text-forest`,"data-testid":`addon-sauna-wrapper`,children:[(0,m.jsx)(`input`,{type:`checkbox`,"data-testid":`addon-sauna`,className:`mt-0.5 h-4 w-4 accent-rust`,checked:k.sauna,onChange:e=>A(t=>({...t,sauna:e.target.checked}))}),(0,m.jsx)(`span`,{children:`Venkovnà finská sauna (cena dle dohody)`})]}),(0,m.jsxs)(`label`,{className:`flex items-start gap-3 border border-line bg-background px-4 py-3 text-sm text-forest`,"data-testid":`addon-hot-tub-wrapper`,children:[(0,m.jsx)(`input`,{type:`checkbox`,"data-testid":`addon-hot-tub`,className:`mt-0.5 h-4 w-4 accent-rust`,checked:k.hotTub,onChange:e=>A(t=>({...t,hotTub:e.target.checked}))}),(0,m.jsx)(`span`,{children:`Horká kÃ¡Ä (cena dle dohody)`})]})]})]}),e===2&&(0,m.jsxs)(`div`,{className:`grid gap-5 sm:grid-cols-2 lg:grid-cols-3`,children:[(0,m.jsxs)(`div`,{className:`sm:col-span-2 lg:col-span-3`,children:[(0,m.jsx)(`label`,{className:Q,htmlFor:`inquiry-name`,children:`Jméno a pÅÃjmenÃ`}),(0,m.jsx)(`input`,{className:$,id:`inquiry-name`,"data-testid":`inquiry-name`,autoComplete:`name`,required:!0,value:j,onChange:e=>ue(e.target.value),"aria-invalid":!!I.name}),I.name&&(0,m.jsx)(`p`,{className:`mt-1 text-xs text-rust`,role:`alert`,children:I.name})]}),(0,m.jsxs)(`div`,{children:[(0,m.jsx)(`label`,{className:Q,htmlFor:`inquiry-email`,children:`E-mail`}),(0,m.jsx)(`input`,{className:$,id:`inquiry-email`,"data-testid":`inquiry-email`,type:`email`,autoComplete:`email`,required:!0,value:M,onChange:e=>de(e.target.value),"aria-invalid":!!I.email}),I.email&&(0,m.jsx)(`p`,{className:`mt-1 text-xs text-rust`,role:`alert`,children:I.email})]}),(0,m.jsxs)(`div`,{children:[(0,m.jsx)(`label`,{className:Q,htmlFor:`inquiry-phone`,children:`Telefon`}),(0,m.jsx)(`input`,{className:$,id:`inquiry-phone`,"data-testid":`inquiry-phone`,type:`tel`,autoComplete:`tel`,required:!0,value:N,onChange:e=>fe(e.target.value),"aria-invalid":!!I.phone}),I.phone&&(0,m.jsx)(`p`,{className:`mt-1 text-xs text-rust`,role:`alert`,children:I.phone})]}),(0,m.jsxs)(`div`,{children:[(0,m.jsx)(`label`,{className:Q,htmlFor:`inquiry-guests`,children:`PoÄet hostů`}),(0,m.jsx)(`input`,{className:$,id:`inquiry-guests`,"data-testid":`inquiry-guests`,type:`number`,min:1,max:36,required:!0,value:P,onChange:e=>pe(e.target.value),"aria-invalid":!!I.guests}),I.guests&&(0,m.jsx)(`p`,{className:`mt-1 text-xs text-rust`,role:`alert`,children:I.guests})]}),(0,m.jsxs)(`div`,{className:`sm:col-span-2 lg:col-span-3`,children:[(0,m.jsxs)(`label`,{className:Q,htmlFor:`inquiry-message`,children:[`Poznámka `,(0,m.jsx)(`span`,{className:`normal-case tracking-normal`,children:`(nepovinné)`})]}),(0,m.jsx)(`textarea`,{className:`mt-2 min-h-28 w-full resize-y border border-line bg-background px-3 py-3 text-sm text-forest outline-none transition-colors focus:border-rust`,id:`inquiry-message`,"data-testid":`inquiry-message`,placeholder:`NapÅÃklad: rádi bychom vzali psa, potÅebujeme dÄtskou postýlkuâ¦`,value:F,onChange:e=>me(e.target.value)})]})]}),e===3&&(0,m.jsxs)(`div`,{className:`space-y-4`,children:[(0,m.jsxs)(`dl`,{className:`divi
1de-y divide-line border border-line`,children:[(0,m.jsxs)(`div`,{className:`flex justify-between gap-4 px-4 py-3`,children:[(0,m.jsx)(`dt`,{className:`text-[0.62rem] font-semibold uppercase tracking-[0.12em] text-forest/55`,children:`Objekt`}),(0,m.jsx)(`dd`,{className:`text-right text-sm text-forest`,children:o?te[o]:`â`})]}),(0,m.jsxs)(`div`,{className:`flex justify-between gap-4 px-4 py-3`,children:[(0,m.jsx)(`dt`,{className:`text-[0.62rem] font-semibold uppercase tracking-[0.12em] text-forest/55`,children:`PÅÃjezd`}),(0,m.jsx)(`dd`,{className:`text-right text-sm text-forest`,children:l?`${D(l)} · 15:00â16:00`:`â`})]}),(0,m.jsxs)(`div`,{className:`flex justify-between gap-4 px-4 py-3`,children:[(0,m.jsx)(`dt`,{className:`text-[0.62rem] font-semibold uppercase tracking-[0.12em] text-forest/55`,children:`Odjezd`}),(0,m.jsx)(`dd`,{className:`text-right text-sm text-forest`,children:d?`${D(d)} · do 10:00`:`â`})]}),(0,m.jsxs)(`div`,{className:`flex justify-between gap-4 px-4 py-3`,children:[(0,m.jsx)(`dt`,{className:`text-[0.62rem] font-semibold uppercase tracking-[0.12em] text-forest/55`,children:`PoÄet nocÃ`}),(0,m.jsx)(`dd`,{className:`text-right text-sm text-forest`,children:q})]}),(0,m.jsxs)(`div`,{className:`flex justify-between gap-4 px-4 py-3`,children:[(0,m.jsx)(`dt`,{className:`text-[0.62rem] font-semibold uppercase tracking-[0.12em] text-forest/55`,children:`PoÄet hostů`}),(0,m.jsx)(`dd`,{className:`text-right text-sm text-forest`,children:P})]}),(0,m.jsxs)(`div`,{className:`flex justify-between gap-4 px-4 py-3`,children:[(0,m.jsx)(`dt`,{className:`text-[0.62rem] font-semibold uppercase tracking-[0.12em] text-forest/55`,children:`DoplÅky`}),(0,m.jsx)(`dd`,{className:`text-right text-sm text-forest`,children:k.dog||k.sauna||k.hotTub?[k.dog?`Pes`:null,k.sauna?`Venkovnà finská sauna`:null,k.hotTub?`Horká káÄ`:null].filter(Boolean).join(`, `):`žádné`})]}),J!==null&&(0,m.jsxs)(`div`,{className:`flex justify-between gap-4 px-4 py-3`,children:[(0,m.jsx)(`dt`,{className:`text-[0.62rem] font-semibold uppercase tracking-[0.12em] text-forest/55`,children:`Poplatek za psa`}),(0,m.jsxs)(`dd`,{className:`text-right text-sm text-forest`,children:[J,` KÄ`]})]}),F.trim()&&(0,m.jsxs)(`div`,{className:`flex justify-between gap-4 px-4 py-3`,children:[(0,m.jsx)(`dt`,{className:`text-[0.62rem] font-semibold uppercase tracking-[0.12em] text-forest/55`,children:`Poznámka`}),(0,m.jsx)(`dd`,{className:`text-right text-sm text-forest`,children:F.trim()})]})]}),Y&&(0,m.jsxs)(`section`,{"data-testid":`stay-price-estimate`,className:`border border-line bg-cream px-4 py-4`,children:[(0,m.jsx)(`p`,{className:`text-[0.62rem] font-semibold uppercase tracking-[0.12em] text-forest/55`,children:`OrientaÄnà kalkulace`}),(0,m.jsxs)(`dl`,{className:`mt-3 divide-y divide-line border-y border-line`,children:[(0,m.jsxs)(`div`,{className:`flex justify-between gap-4 py-3`,children:[(0,m.jsxs)(`dt`,{className:`text-sm text-forest/75`,children:[`UbytovánÃ`,(0,m.jsxs)(`span`,{className:`block text-xs text-forest/55`,children:[Y.usesShortStayRate?`${Y.isSummerSeason?`letnÃ`:`zimnà a mimosezónnÃ`} tarif za 2 noci`:`${q} à ${T(Y.nightlyRate)} / noc`,Y.accommodationCount===2?` · 2 objekty`:``]})]}),(0,m.jsx)(`dd`,{className:`text-right text-sm text-forest`,children:T(Y.accommodationPrice)})]}),(0,m.jsxs)(`div`,{className:`flex justify-between gap-4 py-3`,children:[(0,m.jsx)(`dt`,{className:`text-sm text-forest/75`,children:`ZávÄreÄný úklid`}),(0,m.jsx)(`dd`,{className:`text-right text-sm text-forest`,children:T(Y.cleaningPrice)})]}),Y.dogFee>0&&(0,m.jsxs)(`div`,{className:`flex justify-between gap-4 py-3`,children:[(0,m.jsx)(`dt`,{className:`text-sm text-forest/75`,children:`Poplatek za psa`}),(0,m.jsx)(`dd`,{className:`text-right text-sm text-forest`,children:T(Y.dogFee)})]}),(0,m.jsxs)(`div`,{className:`flex justify-between gap-4 py-3 font-semibold`,children:[(0,m.jsx)(`dt`,{className:`text-sm text-forest`,children:`PÅedbÄžná cena celkem`}),(0,m.jsx)(`dd`,{className:`text-right text-sm text-forest`,children:T(Y.total)})]})]}),(0,m.jsx)(`p`,{className:`mt-3 text-xs leading-5 text-forest/60`,children:`Cena je orientaÄnÃ. Energie dle skuteÄné spotÅeby a sauna Äi horká kÃ¡Ä dle dohody nejsou v souÄtu zahrnuty.`})]}),(0,m.jsxs)(`section`,{className:`border border-line bg-background px-4 py-4`,children:[(0,m.jsx)(`p`,{className:`text-[0.62rem] font-semibold uppercase tracking-[0.12em] text-forest/55`,children:`Zálohová platba`}),(0,m.jsx)(`p`,{className:`mt-2 text-sm leading-6 text-forest/75`,children:`Po potvrzenà rezervace se hradà rezervaÄnà záloha ve výši 30 % z dohodnuté
1ceny na základÄ vystavené faktury. PÅi delÅ¡Ãm pÅedstihu lze po domluvÄ uhradit zálohu ve výši 10 %.`})]}),(0,m.jsx)(`p`,{className:`text-xs leading-5 text-forest/60`,children:`OdeslánÃm poptávky souhlasÃte s tÃm, že vás kontaktujeme pouze kvůli této rezervaci.`}),H===`success`&&(0,m.jsx)(`p`,{"data-testid":`stay-inquiry-success`,className:`border border-sage bg-cream px-4 py-3 text-sm leading-6 text-forest`,role:`status`,children:`DÄkujeme. Poptávka byla odeslaná â brzy se vám ozveme s dostupnostÃ.`}),H===`error`&&(0,m.jsx)(`p`,{"data-testid":`stay-inquiry-error`,className:`border border-rust bg-cream px-4 py-3 text-sm leading-6 text-forest`,role:`alert`,children:ye})]})]}),H!==`success`&&(0,m.jsxs)(`div`,{className:`mt-6 flex flex-wrap items-center justify-between gap-3 border-t border-line pt-5`,children:[(0,m.jsx)(`button`,{type:`button`,"data-testid":`wizard-back`,className:`border border-line px-5 py-3 text-[0.66rem] font-semibold uppercase tracking-[0.14em] text-forest transition-colors hover:border-forest disabled:opacity-40`,onClick:ke,disabled:e===0,children:`ZpÄt`}),e<3?(0,m.jsx)(`button`,{type:`button`,"data-testid":`wizard-continue`,className:`bg-rust px-6 py-3 text-[0.66rem] font-semibold uppercase tracking-[0.14em] text-cream transition-colors hover:bg-rust-dark disabled:cursor-not-allowed disabled:opacity-50`,onClick:Oe,disabled:e===0&&!o||e===1&&!X,children:`PokraÄovat`}):(0,m.jsx)(`button`,{type:`button`,"data-testid":`stay-inquiry-submit`,className:`bg-forest px-6 py-3 text-[0.66rem] font-semibold uppercase tracking-[0.14em] text-cream transition-colors hover:bg-forest-light disabled:cursor-wait disabled:opacity-70`,onClick:()=>void Ae(),disabled:H===`sending`,children:H===`sending`?`OdesÃláme poptávkuâ¦`:`Odeslat poptávku`})]})]})}function le(){let[t,n]=(0,f.useState)(!1),r=()=>n(!1);return(0,m.jsxs)(`main`,{className:`min-h-screen bg-background text-foreground`,children:[(0,m.jsxs)(`section`,{id:`uvod`,className:`relative isolate min-h-[760px] overflow-hidden bg-forest text-cream sm:min-h-[820px]`,children:[(0,m.jsx)(`img`,{src:h,alt:`Chalupa Celnica v údolà Velkých Karlovic`,className:`absolute inset-0 h-full w-full object-cover`}),(0,m.jsx)(`div`,{className:`absolute inset-0 bg-forest/65`}),(0,m.jsx)(`div`,{className:`absolute inset-x-0 bottom-0 h-2/3 bg-gradient-to-t from-forest/75 to-transparent`}),(0,m.jsxs)(`header`,{className:`absolute inset-x-0 top-0 z-30`,children:[(0,m.jsxs)(`div`,{className:`mx-auto flex h-[84px] max-w-[1320px] items-center justify-between px-5 sm:px-8 lg:px-12`,children:[(0,m.jsxs)(`a`,{href:`#uvod`,className:`flex items-center gap-3`,"aria-label":`Chalupy Celnica â úvod`,children:[(0,m.jsx)(`span`,{className:`flex h-9 w-9 items-center justify-center rounded-full border border-cream/65 font-display text-xl text-cream`,children:`C`}),(0,m.jsxs)(`span`,{className:`leading-none`,children:[(0,m.jsx)(`span`,{className:`block font-display text-[1.45rem]`,children:`Chalupy Celnica`}),(0,m.jsx)(`span`,{className:`mt-1 block text-[0.57rem] font-semibold uppercase tracking-[0.22em] text-sage`,children:`Velké Karlovice`})]})]}),(0,m.jsxs)(`nav`,{className:`hidden items-center gap-7 text-[0.68rem] font-semibold uppercase tracking-[0.13em] text-cream/90 lg:flex`,"aria-label":`Hlavnà navigace`,children:[(0,m.jsx)(`a`,{className:`hero-nav-link`,href:`#ubytovani`,children:`UbytovánÃ`}),(0,m.jsx)(`a`,{className:`hero-nav-link`,href:`#vybaveni`,children:`VybavenÃ`}),(0,m.jsx)(`a`,{className:`hero-nav-link`,href:`#galerie`,children:`Galerie`}),(0,m.jsx)(e,{className:`hero-nav-link`,to:`/cenik`,children:`CenÃk`}),(0,m.jsx)(`a`,{className:`hero-nav-link`,href:`#kontakt`,children:`Kontakt`}),(0,m.jsx)(`a`,{className:`border border-rust bg-rust px-4 py-2.5 text-cream transition-colors hover:border-rust-dark hover:bg-rust-dark`,href:`#rezervace`,children:`Poptat pobyt`})]}),(0,m.jsx)(`button`,{"data-testid":`mobile-menu-toggle`,className:`flex h-10 w-10 items-center justify-center border border-cream/60 text-cream lg:hidden`,type:`button`,"aria-label":t?`ZavÅÃt navigaci`:`OtevÅÃt navigaci`,"aria-expanded":t,onClick:()=>n(e=>!e),children:(0,m.jsxs)(`span`,{className:`relative block h-3.5 w-5`,"aria-hidden":`true`,children:[(0,m.jsx)(`span`,{className:`absolute left-0 top-0 h-px w-5 bg-cream transition-transform ${t?`translate-y-[6px] rotate-45`:``}`}),(0,m.jsx)(`span`,{className:`absolute left-0 top-[6px] h-px w-5 bg-cream transition-opacity ${t?`opacity-0`:``}`}),(0,m.jsx)(`span`,{className:`absolute bottom-0 left-0 h-px w-5 bg-cream transition-transform ${t?`-translate-y-[7px] -rotate-45`:``}`})]})})]}),t&&(0,m.jsx)(`nav`,{"data-testid":`mobile-menu`,className:`border-t border-cream/25 bg-forest px-5 py-5 lg:hidden`,"aria-label":`Mobilnà navigace`,children:(0,m.jsxs)(`div`,{className:`mx-auto flex max-w-[1320px] flex-col gap-4 text-sm font-semibold uppercase tracking-[0.14em] text-cream`,children:[(0,m.jsx)(`a`,{onClick:r,href:`#ubytovani`,children:`UbytovánÃ`}),(0,m.jsx)(`a`,{onClick:r,href:`#vybaveni`,children:`VybavenÃ`}),(0,m.jsx)(`a`,{onClick:r,href:`#galerie`,children:`Galerie`}),(0,m.jsx)(e,{onClick:r,to:`/cenik`,children:`CenÃk`}),(0,m.jsx)(`a`,{onClick:r,href:`#kontakt`,children:`Kontakt`})]})})]}),(0,m.jsxs)(`div`,{className:`relative z-10 mx-auto flex min-h-[760px] max-w-[980px] flex-col items-center justify-center px-5 pb-16 pt-28 text-center sm:min-h-[820px] sm:px-8`,children:[(0,m.jsx)(`p`,{className:`eyebrow text-sage`,children:`Velké Karlovice · ValaÅ¡sko`}),(0,m.jsxs)(`h1`,{className:`mt-5 font-display text-6xl leading-[0.88] tracking-[-0.04em] sm:text-7xl lg:text-8xl`,children:[`Chalupy`,(0,m.jsx)(`br`,{}),`Celnica`]}),(0,m.jsx)(`p`,{className:`mt-6 max-w-2xl text-base leading-7 text-cream/85 sm:text-lg`,children:`Stylové chalupy pro rodinu, pÅátele i chvÃle klidu. V tichém údolÃ, odkud se vyrážà do hor â a kam se chcete vracet.`}),(0,m.jsxs)(`div`,{className:`mt-8 flex flex-wrap justify-center gap-3`,children:[(0,m.jsx)(`a`,{href:`#rezervace`,className:`bg-rust px-6 py-3.5 text-[0.68rem] font-semibold uppercase tracking-[0.16em] text-cream transition-colors hover:bg-rust-dark`,children:`Poptat pobyt`}),(0,m.jsx)(`a`,{href:`#ubytovani`,className:`border border-cream/55 px-6 py-3.5 text-[0.68rem] font-semibold uppercase tracking-[0.16em] text-cream transition-colors hover:bg-cream hover:text-forest`,children:`Poznat chalupy`})]}),(0,m.jsx)(`a`,{href:`#ubytovani`,"aria-label":`PÅejÃt na informace o ubytovánÃ`,className:`mt-16 flex h-9 w-9 items-center justify-center rounded-full border border-cream/50 font-display text-xl text-cream transition-transform hover:translate-y-1`,children:(0,m.jsx)(`span`,{className:`motion-safe:animate-bounce`,children:`â`})})]})]}),(0,m.jsxs)(`section`,{id:`ubytovani`,className:`scroll-mt-20 bg-background pt-20 sm:pt-24`,children:[(0,m.jsxs)(`div`,{className:`mx-auto max-w-[1220px] px-5 text-center sm:px-8 lg:px-12`,children:[(0,m.jsx)(`p`,{className:`eyebrow`,children:`O ubytovánÃ`}),(0,m.jsx)(`h2`,{className:`mx-auto mt-4 max-w-4xl font-display text-5xl leading-[0.95] tracking-[-0.04em] text-forest sm:text-6xl`,children:`Ubytovánà ve Velkých
1KarlovicÃch pro skupiny.`})]}),(0,m.jsx)(`div`,{className:`mx-auto mt-14 grid max-w-[1440px] grid-cols-2 border-y border-line sm:grid-cols-4`,children:_.map(([e,t])=>(0,m.jsxs)(`div`,{className:`border-line px-4 py-7 text-center odd:border-r sm:px-6 sm:py-9 sm:[&:nth-child(2)]:border-r lg:border-r lg:last:border-r-0`,children:[(0,m.jsx)(`p`,{className:`font-display text-3xl text-rust sm:text-4xl`,children:e}),(0,m.jsx)(`p`,{className:`mt-2 text-[0.64rem] font-semibold uppercase tracking-[0.12em] text-forest/65`,children:t})]},e))}),(0,m.jsxs)(`div`,{className:`mx-auto max-w-[760px] px-5 py-16 text-[1.02rem] leading-8 text-forest/75 sm:px-8 sm:py-20`,children:[(0,m.jsx)(`p`,{children:`Chalupa Celnica je stylovým domem pro vaÅ¡e ubytovánÃ, relax a zážitky bez hranic. Ležà v klidné Äásti obce PodÅ¥até, pÅÃmo v rovinÄ Ãºdolà Velkých Karlovic â ideálnÃm mÃstÄ pro výlety, túry i cyklistické trasy.`}),(0,m.jsx)(`p`,{className:`mt-5`,children:`UvnitÅ se můžete vydat na malou cestu svÄtem. V pÅÃzemà vás Äeká slunné Toskánsko a útulné ValaÅ¡sko, v prvnÃm patÅe exotická Indonésie a v mezonetovém podlažà stÅÃdmá elegance severského bydlenÃ.`}),(0,m.jsx)(`p`,{className:`mt-5`,children:`Chalupu Celnica je možné pronajmout samostatnÄ nebo spoleÄnÄ s vedlejšà Starou CelnicÃ. Dohromady tak zÃskáte velkorysý prostor pro 32 až 36 hostů.`})]})]}),(0,m.jsx)(`section`,{"aria-label":`OvÄÅené důvody pro pobyt`,className:`bg-paper px-5 py-14 sm:px-8 lg:px-12`,children:(0,m.jsxs)(`div`,{className:`mx-auto grid max-w-[1220px] gap-px overflow-hidden border border-line bg-line sm:grid-cols-3`,children:[(0,m.jsxs)(`article`,{className:`bg-paper p-6 sm:p-7`,children:[(0,m.jsx)(`p`,{className:`eyebrow`,children:`Hodnocenà hostů`}),(0,m.jsxs)(`div`,{className:`mt-4 flex items-end gap-3`,children:[(0,m.jsx)(`span`,{className:`font-display text-6xl leading-none text-rust`,children:`9,3`}),(0,m.jsxs)(`span`,{className:`pb-1 text-sm text-forest/65`,children:[`/ 10`,(0,m.jsx)(`br`,{}),`Výborné`]})]}),(0,m.jsx)(`p`,{className:`mt-4 text-sm leading-6 text-forest/70`,children:`Hodnocenà hostů na MegaUbytko.cz.`})]}),(0,m.jsxs)(`article`,{className:`bg-paper p-6 sm:p-7`,"data-testid":`google-rating`,children:[(0,m.jsx)(`p`,{className:`eyebrow`,children:`Google recenze`}),(0,m.jsxs)(`div`,{className:`mt-4 flex items-end gap-3`,children:[(0,m.jsx)(`span`,{className:`font-display text-6xl leading-none text-rust`,children:`4,3`}),(0,m.jsxs)(`span`,{className:`pb-1 text-sm text-forest/65`,children:[`/ 5`,(0,m.jsx)(`br`,{}),`Dobré`]})]}),(0,m.jsx)(`p`,{className:`mt-4 text-sm leading-6 text-forest/70`,children:`Hodnocenà hostů na Google pro Apartmány Celnica.`})]}),(0,m.jsxs)(`article`,{className:`bg-paper p-6 sm:p-7`,"data-testid":`echalupy-rating`,children:[(0,m.jsx)(`p`,{className:`eyebrow`,children:`Recenze hostů`}),(0,m.jsxs)(`div`,{className:`mt-4 flex items-end gap-3`,children:[(0,m.jsx)(`span`,{className:`font-display text-6xl leading-none text-rust`,children:`4,8`}),(0,m.jsxs)(`span`,{className:`pb-1 text-sm text-forest/65`,children:[`/ 5`,(0,m.jsx)(`br`,{}),`Výborné`]})]}),(0,m.jsxs)(`p`,{className:`mt-4 text-sm leading-6 text-forest/70`,children:[`Hodnocenà hostů pro Starou Celnici na `,(0,m.jsx)(`a`,{href:`https://www.e-chalupy.cz/apartman-celnica-velke-karlovice-ubytovani-o9602`,target:`_blank`,rel:`noreferrer`,className:`underline decoration-rust/60 underline-offset-2 hover:text-rust`,children:`e-chalupy.cz`}),`.`]})]})]})}),(0,m.jsx)(`section`,{id:`vybaveni`,className:`scroll-mt-20 bg-cream px-5 py-20 sm:px-8 lg:px-12 lg:py-24`,children:(0,m.jsxs)(`div`,{className:`mx-auto max-w-[1220px]`,children:[(0,m.jsxs)(`div`,{className:`grid gap-10 lg:grid-cols-[0.8fr_1.2fr] lg:items-end`,children:[(0,m.jsxs)(`div`,{children:[(0,m.jsx)(`p`,{className:`eyebrow`,children:`ProÄ právÄ k nám`}),(0,m.jsx)(`h2`,{className:`mt-4 font-display text-5xl leading-[0.95] tracking-[-0.04em] text-forest sm:text-6xl`,children:`VÅ¡echno, co má pobyt v horách mÃt.`})]}),(0,m.jsx)(`p`,{className:`max-w-xl text-base leading-7 text-forest/70`,children:`MÃsto s vlastnÃm charakterem, promyÅ¡leným zázemÃm a Beskydami za dveÅmi. PÅijeÄte na aktivnà dovolenou, rodinné setkánà nebo prostÄ jen vypnout.`})]}),(0,m.jsx)(`div`,{className:`mt-12 grid border-l border-t border-line sm:grid-cols-2 lg:grid-cols-3`,children:v.map(([e,t],n)=>(0,m.jsxs)(`article`,{className:`min-h-44 border-b border-r border-line bg-cream p-6 sm:p-7`,children:[(0,m.jsxs)(`span`,{className:`font-display text-3xl text-rust`,children:[`0`,n+1]}),(0,m.jsx)(`h3`,{className:`mt-5 font-display text-3xl text-forest`,children:e}),(0,m.jsx)(`p`,{className:`mt-2 text-sm leading-6 text-forest/65`,children:t})]},e))})]})}),(0,m.jsx)(`section`,{id:`chalupy`,className:`scroll-mt-20 bg-background px-5 py-20 sm:px-8 lg:px-12 lg:py-24`,children:(0,m.jsxs)(`div`,{className:`mx-auto max-w-[1220px]`,children:[(0,m.jsxs)(`div`,{className:`text-center`,children:[(0,m.jsx)(`p`,{className:`eyebrow`,children:`Dva domy · jeden areál`}),(0,m.jsx)(`h2`,{className:`mt-4 font-display text-5xl leading-[0.95] tracking-[-0.04em] text-forest sm:text-6xl`,children:`Vyberte si zázemà pro svůj spoleÄný Äas.`}),(0,m.jsx)(`p`,{className:`mx-auto mt-5 max-w-2xl text-base leading-7 text-forest/70`,children:`ObÄ chalupy ležà v klidné Äásti PodÅ¥até ve Velkých
1KarlovicÃch. PronajÃmáme je vždy jen jedné skupinÄ hostů â samostatnÄ, nebo spoleÄnÄ.`})]}),(0,m.jsxs)(`div`,{className:`mt-12 grid gap-7 lg:grid-cols-2`,children:[(0,m.jsxs)(`article`,{className:`overflow-hidden bg-forest text-cream`,children:[(0,m.jsx)(`div`,{className:`aspect-[1.6] overflow-hidden`,children:(0,m.jsx)(e,{to:`/ubytovani-stara-celnica`,"aria-label":`Poznat Chalupu Celnica`,className:`block h-full w-full`,children:(0,m.jsx)(`img`,{src:`https://a9d32dacbf.clvaw-cdnwnd.com/e7ed2b986097f4879c9e396186218395/200000199-1a1601a162/Jaroslav-Belzik-Chalupa-Celnica-48.jpg?ph=a9d32dacbf`,alt:`Interiér Chalupy Celnica`,className:`h-full w-full object-cover`})})}),(0,m.jsxs)(`div`,{className:`p-7 sm:p-8`,children:[(0,m.jsxs)(`div`,{className:`flex flex-wrap items-center gap-x-4 gap-y-2`,children:[(0,m.jsx)(`p`,{className:`eyebrow text-sage`,children:`Chalupa Celnica`}),(0,m.jsx)(`span`,{className:`text-[0.66rem] font-semibold uppercase tracking-[0.14em] text-cream/65`,children:`12â16 hostů · 8 ložnic`})]}),(0,m.jsx)(`h3`,{className:`mt-3 font-display text-4xl`,children:`Cesta svÄtem, z pohodlà chalupy.`}),(0,m.jsx)(`p`,{className:`mt-4 max-w-lg text-sm leading-6 text-cream/75`,children:`TÅi apartmány inspirované Toskánskem, ValaÅ¡skem, Indonésià a severem. SpoleÄenská mÃstnost s krbem, krytá terasa, grilovacà domek i soukromé wellness vytváÅejà prostor pro opravdový odpoÄinek.`}),(0,m.jsxs)(`div`,{className:`mt-6 flex flex-wrap gap-x-4 gap-y-2 text-[0.68rem] font-semibold uppercase tracking-[0.12em] text-sage`,children:[(0,m.jsx)(`span`,{children:`6 koupelen`}),(0,m.jsx)(`span`,{children:`â¢`}),(0,m.jsx)(`span`,{children:`Wellness`}),(0,m.jsx)(`span`,{children:`â¢`}),(0,m.jsx)(`span`,{children:`12 mÃst k parkovánÃ`})]}),(0,m.jsx)(e,{to:`/ubytovani-stara-celnica`,"data-testid":`accommodation-detail-link`,className:`mt-7 inline-block border-b border-rust pb-1 text-[0.68rem] font-semibold uppercase tracking-[0.15em] hover:text-sage`,children:`Poznat Chalupu Celnica`})]})]}),(0,m.jsxs)(`article`,{className:`overflow-hidden border border-line bg-paper`,children:[(0,m.jsx)(`div`,{className:`aspect-[1.6] overflow-hidden`,children:(0,m.jsx)(e,{to:`/ubytovani-hostinec-celnica`,"aria-label":`Poznat Starou Celnici`,className:`block h-full w-full`,children:(0,m.jsx)(`img`,{src:`https://a9d32dacbf.clvaw-cdnwnd.com/e7ed2b986097f4879c9e396186218395/200000157-d963dd963f/Jaroslav-Belzik-ONLINE-41.jpg?ph=a9d32dacbf`,alt:`Stará Celnica ve Velkých KarlovicÃch`,className:`h-full w-full object-cover`})})}),(0,m.jsxs)(`div`,{className:`p-7 sm:p-8`,children:[(0,m.jsxs)(`div`,{className:`flex flex-wrap items-center gap-x-4 gap-y-2`,children:[(0,m.jsx)(`p`,{className:`eyebrow`,children:`Stará Celnica`}),(0,m.jsx)(`span`,{className:`text-[0.66rem] font-semibold uppercase tracking-[0.14em] text-forest/55`,children:`12â16 hostů · 7 ložnic`})]}),(0,m.jsx)(`h3`,{className:`mt-3 font-display text-4xl text-forest`,children:`Zrekonstruovaná chalupa pro oslavy i pohodu.`}),(0,m.jsx)(`p`,{className:`mt-4 max-w-lg text-sm leading-6 text-forest/70`,children:`Modernà komfort se starými Äasy, prostorná jÃdelna s profi kuchynà a zimnà zahrada s celoroÄnÃm grilovánÃm. Vhodná pro rodiny, pÅátele, svatby i firemnà setkánÃ.`}),(0,m.jsxs)(`div`,{className:`mt-6 flex flex-wrap gap-x-4 gap-y-2 text-[0.68rem] font-semibold uppercase tracking-[0.12em] text-rust`,children:[(0,m.jsx)(`span`,{children:`5 koupelen`}),(0,m.jsx)(`span`,{children:`â¢`}),(0,m.jsx)(`span`,{children:`Zimnà zahrada`}),(0,m.jsx)(`span`,{children:`â¢`}),(0,m.jsx)(`span`,{children:`Horká káÄ`})]}),(0,m.jsx)(e,{to:`/ubytovani-hostinec-celnica`,"data-testid":`stara-celnica-detail-link`,className:`mt-7 inline-block border-b border-rust pb-1 text-[0.68rem] font-semibold uppercase tracking-[0.15em] text-forest hover:text-rust`,children:`Poznat Starou Celnici`})]})]})]}),(0,m.jsx)(`p`,{className:`mt-7 text-center text-sm leading-6 text-forest/60`,children:`PÅi spoleÄném pronájmu zÃskáte celý areál až pro 32â36 hostů. ObÄ skupiny se pÅi samostatném pobytu vzájemnÄ neruÅ¡Ã.`})]})}
1),(0,m.jsx)(`section`,{id:`galerie`,className:`scroll-mt-20 bg-background px-5 py-20 sm:px-8 lg:px-12 lg:py-24`,children:(0,m.jsxs)(`div`,{className:`mx-auto max-w-[1220px]`,children:[(0,m.jsxs)(`div`,{className:`flex flex-col justify-between gap-5 sm:flex-row sm:items-end`,children:[(0,m.jsxs)(`div`,{children:[(0,m.jsx)(`p`,{className:`eyebrow`,children:`NahlédnÄte k nám`}),(0,m.jsx)(`h2`,{className:`mt-4 font-display text-5xl leading-[0.95] tracking-[-0.04em] text-forest sm:text-6xl`,children:`MÃsto, kde se dobÅe dýchá.`})]}),(0,m.jsx)(`a`,{href:`#rezervace`,className:`border-b border-rust pb-1 text-[0.68rem] font-semibold uppercase tracking-[0.15em] text-forest hover:text-rust`,children:`Naplánovat pobyt`})]}),(0,m.jsx)(`div`,{"data-testid":`homepage-gallery`,className:`mt-10 grid auto-rows-[190px] gap-3 sm:grid-cols-3 sm:auto-rows-[230px]`,children:g.map(e=>(0,m.jsx)(`figure`,{className:`overflow-hidden bg-cream ${e.className}`,children:(0,m.jsx)(`img`,{src:e.src,alt:e.alt,className:`h-full w-full object-cover transition-transform duration-500 hover:scale-[1.03]`})},e.alt))})]})}),(0,m.jsx)(`section`,{"aria-label":`Recenze hostů`,className:`bg-forest px-5 py-20 text-cream sm:px-8 lg:px-12 lg:py-24`,children:(0,m.jsxs)(`div`,{className:`mx-auto grid max-w-[1220px] gap-10 lg:grid-cols-[0.9fr_1.1fr] lg:items-center`,children:[(0,m.jsxs)(`div`,{children:[(0,m.jsx)(`p`,{className:`eyebrow text-sage`,children:`Hosté o Celnici`}),(0,m.jsx)(`h2`,{className:`mt-4 font-display text-5xl leading-[0.95] tracking-[-0.04em] sm:text-6xl`,children:`HodnocenÃ, které mluvà za nás.`})]}),(0,m.jsxs)(`article`,{className:`border border-cream/25 p-7 sm:p-8`,"data-testid":`megaubytko-rating`,children:[(0,m.jsx)(`p`,{className:`text-[0.65rem] font-semibold uppercase tracking-[0.16em] text-sage`,children:`MegaUbytko.cz`}),(0,m.jsx)(`div`,{className:`mt-5 flex flex-wrap items-end justify-between gap-5`,children:(0,m.jsxs)(`div`,{children:[(0,m.jsx)(`p`,{className:`font-display text-7xl leading-none`,children:`9,3`}),(0,m.jsx)(`p`,{className:`mt-2 text-sm text-cream/70`,children:`Výborné\xA0`})]})}),(0,m.jsx)(`p`,{className:`mt-6 border-t border-cream/20 pt-5 text-sm leading-6 text-cream/75`,children:`Aktuálnà průmÄr a poÄet recenzà jsou pÅevzaté z veÅejného profilu Chalupy Celnica na MegaUbytko.cz.`})]})]})}),(0,m.jsx)(`section`,{id:`nabidka`,className:`scroll-mt-20 bg-moss px-5 py-20 text-cream sm:px-8 lg:px-12 lg:py-24`,"data-testid":`pricing-guidance`,children:(0,m.jsxs)(`div`,{className:`mx-auto grid max-w-[1220px] gap-12 lg:grid-cols-[0.9fr_1.1fr] lg:items-center`,children:[(0,m.jsxs)(`div`,{children:[(0,m.jsx)(`p`,{className:`eyebrow text-sage`,children:`Plánovánà pobytu`}),(0,m.jsx)(`h2`,{className:`mt-4 max-w-xl font-display text-5xl leading-[0.95] tracking-[-0.04em] sm:text-6xl`,children:`Cena podle vaÅ¡eho pobytu.`}),(0,m.jsx)(`p`,{className:`mt-6 max-w-xl text-base leading-7 text-cream/75`,children:`Vyberte termÃn, poÄet hostů a chalupu. OrientaÄnà cenu i dostupnost uvidÃte pÅÃmo v poptávce, vždy podle konkrétnÃho pobytu.`})]}),(0,m.jsxs)(`div`,{className:`border border-cream/25 bg-forest/40 p-7 sm:p-8`,children:[(0,m.jsx)(`p`,{className:`text-[0.64rem] font-semibold uppercase tracking-[0.16em] text-sage`,children:`Co si můžete vybrat`}),(0,m.jsxs)(`dl`,{className:`mt-5 space-y-4`,children:[(0,m.jsxs)(`div`,{className:`border-b border-cream/20 pb-4`,children:[(0,m.jsx)(`dt`,{className:`font-display text-2xl leading-none`,children:`Chalupa Celnica`}),(0,m.jsx)(`dd`,{className:`mt-2 text-sm leading-6 text-cream/75`,children:`Pro rodiny a vÄtšà skupiny.`})]}),(0,m.jsxs)(`div`,{className:`border-b border-cream/20 pb-4`,children:[(0,m.jsx)(`dt`,{className:`font-display text-2xl leading-none`,children:`Stará Celnica`}),(0,m.jsx)(`dd`,{className:`mt-2 text-sm leading-6 text-cream/75`,children:`Pro spoleÄný Äas v klidném zázemÃ.`})]}),(0,m.jsxs)(`div`,{children:[(0,m.jsx)(`dt`,{className:`font-display text-2xl leading-none`,children:`Celý areál`}),(0,m.jsx)(`dd`,{className:`mt-2 text-sm leading-6 text-cream/75`,children:`ObÄ chalupy až pro 36 hostů.`})]})]}),(0,m.jsx)(`a`,{href:`#rezervace`,className:`mt-7 block bg-rust px-5 py-4 text-center text-[0.68rem] font-semibold uppercase tracking-[0.15em] transition-colors hover:bg-rust-dark`,children:`Vybrat termÃn a zjistit cenu`})]})]})}),(0,m.jsx)(`section`,{id:`rezervace`,className:`scroll-mt-20 bg-paper px-5 py-20 sm:px-8 lg:px-12 lg:py-24`,children:(0,m.jsxs)(`div`,{className:`mx-auto max-w-[1220px]`,children:[(0,m.jsxs)(`div`,{className:`max-w-2xl text-left`,children:[(0,m.jsx)(`p`,{className:`eyebrow`,children:`Poptávka pobytu`}),(0,m.jsx)(`h2`,{className:`mt-4 max-w-xl font-display text-5xl leading-[0.95] tracking-[-0.04em] text-forest sm:text-6xl`,children:`N
1aplÅte si svůj pobyt krok za krokem.`}),(0,m.jsx)(`p`,{className:`mt-6 max-w-md text-base leading-7 text-forest/70`,children:`Vyberte objekt, termÃn a doplÅky, vyplÅte údaje a my se vám ozveme s dostupnostà a vÅ¡emi detaily.`})]}),(0,m.jsx)(`div`,{className:`mt-12`,children:(0,m.jsx)(O,{})})]})}),(0,m.jsx)(`section`,{id:`kontakt`,className:`scroll-mt-20 bg-paper px-5 py-20 sm:px-8 lg:px-12 lg:py-24`,children:(0,m.jsxs)(`div`,{className:`mx-auto grid max-w-[1220px] gap-10 lg:grid-cols-[0.9fr_1.1fr] lg:items-stretch`,children:[(0,m.jsxs)(`div`,{className:`flex flex-col justify-between border border-line p-7 sm:p-9`,children:[(0,m.jsxs)(`div`,{children:[(0,m.jsx)(`p`,{className:`eyebrow`,children:`Kontakt a cesta k nám`}),(0,m.jsx)(`h2`,{className:`mt-4 font-display text-5xl leading-[0.95] tracking-[-0.04em] text-forest sm:text-6xl`,children:`Už vÃte, kudy pojedete?`})]}),(0,m.jsxs)(`div`,{className:`mt-10 space-y-5 text-sm leading-6 text-forest/75`,children:[(0,m.jsxs)(`div`,{children:[(0,m.jsx)(`p`,{className:`eyebrow`,children:`Adresa`}),(0,m.jsxs)(`address`,{className:`mt-2 not-italic`,children:[`Velké Karlovice â PodÅ¥até 139`,(0,m.jsx)(`br`,{}),`756 06 Velké Karlovice`]})]}),(0,m.jsxs)(`div`,{children:[(0,m.jsx)(`p`,{className:`eyebrow`,children:`Spojte se s námi`}),(0,m.jsx)(`a`,{className:`mt-2 block hover:text-rust`,href:`tel:+420608600260`,children:`+420 608 600 260`}),(0,m.jsx)(`a`,{className:`block hover:text-rust`,href:`mailto:[email protected]`,children:`[email protected]`})]}),(0,m.jsx)(`a`,{className:`inline-block border-b border-rust pb-1 text-[0.68rem] font-semibold uppercase tracking-[0.15em] text-forest hover:text-rust`,href:`https://www.google.com/maps/search/?api=1&query=Chalupa+Celnica%2C+Velk%C3%A9+Karlovice+Pod%C5%A5at%C3%A9+139`,target:`_blank`,rel:`noreferrer`,children:`OtevÅÃt trasu v mapÄ`})]})]}),(0,m.jsxs)(`div`,{className:`relative min-h-[420px] overflow-hidden bg-cream`,"data-testid":`contact-map`,children:[(0,m.jsx)(`iframe`,{title:`Mapa k ChalupÄ Celnica ve Velkých KarlovicÃch`,src:`https://www.google.com/maps?q=Chalupa%20Celnica%2C%20Velk%C3%A9%20Karlovice%20Pod%C5%A5at%C3%A9%20139&z=15&output=embed`,className:`absolute inset-0 h-full w-full border-0`,loading:`lazy`,referrerPolicy:`no-referrer-when-downgrade`}),(0,m.jsx)(`div`,{className:`pointer-events-none absolute left-5 top-5 bg-forest px-4 py-3 text-[0.64rem] font-semibold uppercase tracking-[0.14em] text-cream`,children:`Chalupy Celnica`})]})]})}),(0,m.jsx)(l,{})]})}export{le 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.