1import{a as y}from"/build/_shared/chunk-JC6YOXZQ.js";import{a as p,f as i}from"/build/_shared/chunk-ZMQC7C6Q.js";import{a as u}from"/build/_shared/chunk-5LYMKSKQ.js";import{a as o,c as x}from"/build/_shared/chunk-HCVMIZS7.js";import{B as s}from"/build/_shared/chunk-6KRYYSIT.js";import{c as r}from"/build/_shared/chunk-Q3IECNXJ.js";var M=o(u)` 2 background: linear-gradient( 3 180deg, 4 rgba(0, 0, 0, 0.85) 0%, 5 rgba(0, 0, 0, 1) 50% 6 ); 7 box-shadow: 0px 4px 16px 2px rgba(0, 0, 0, 0.1); 8 9 border-radius: 16px; 10 padding: 32px; 11 12 color: white; 13`,f=M;var v=o.div` 14 margin: 64px auto; 15 display: flex; 16 flex-direction: row; 17 gap: 32px; 18 19 @media (min-width: 769px) { 20 justify-content: center; 21 } 22 23 @media (max-width: 768px) { 24 margin: 48px 16px; 25 flex-direction: column; 26 gap: 16px; 27 } 28`,n=o.div` 29 display: flex; 30 flex-direction: column; 31 align-items: center; 32 gap: 8px; 33 ${({$active:t})=>t?"font-weight: bold;":""} 34 35 @media (max-width: 768px) { 36 flex-direction: row; 37 justify-content: space-between; 38 } 39 40 & > span { 41 display: block; 42 font-size: 12px; 43 text-transform: uppercase; 44 } 45 46 & > div { 47 font-size: 18px; 48 49 @media (max-width: 768px) { 50 text-align: right; 51 } 52 53 @media (min-width: 769px) { 54 text-align: center; 55 } 56 } 57`,S=o.div` 58 text-align: center; 59`,w=o(f)` 60 text-align: center; 61 font-weight: bold; 62 font-size: 18px; 63 line-height: 2; 64 65 width: auto; 66 max-width: none; 67 68 display: inline-block; 69`;var D=[{start:"2023-11-02",end:"2023-11-14"},{start:"2023-12-23",end:"2024-01-09"},{start:"2024-08-30",end:"2024-09-20"},{start:"2024-09-23",end:"2024-09-27"},{start:"2024-12-20",end:"2025-01-02"},{start:"2025-12-18",end:"2026-01-02"},{start:"2026-08-28",end:"2026-10-12"}];var a=r(s()),g={fr:{closure:{current:t=>(0,a.jsxs)(a.Fragment,{children:["Le salon de th\xE9 est exceptionnellement ferm\xE9 jusqu\u2019au"," ",i(new Date(t),"dd/MM/yyyy",{locale:y}),".",(0,a.jsx)("br",{}),"R\xE9ouverture"," ",i(p(new Date(t),1),"EEEE dd MMMM",{locale:y}),"\xA0","!"]})},days:{monday:"lundi",tuesday:"mardi",wednesday:"mercredi",thursday:"jeudi",friday:"vendredi",saturday:"samedi",sunday:"dimanche"},times:{closed:"ferm\xE9",open:"10h - 18h"}},en:{closure:{current:t=>(0,a.jsxs)(a.Fragment,{children:["The tea room is exceptionally closed until"," ",i(new Date(t),"dd/MM/yyyy"),".",(0,a.jsx)("br",{}),"Reopening ",i(p(new Date(t),1),"EEEE dd MMMM"),"!"]})},days:{monday:"Monday",tuesday:"Tuesday",wednesday:"Wednesday",thursday:"Thursday",friday:"Friday",saturday:"Saturday",sunday:"Sunday"},times:{closed:"closed",open:"10am - 6pm"}}};var e=r(s()),_=()=>{let t=x(g),d=(new Date().getUTCDay()+6)%7,c=D.find(l=>{let m=new Date,h=new Date(l.start),C=new Date(l.end);return m>=h&&m<=C});return(0,e.jsxs)(e.Fragment,{children:[c?(0,e.jsx)(S,{children:(0,e.jsx)(w,{children:t.closure.current(c.end)})}):null,(0,e.jsxs)(v,{children:[(0,e.jsxs)(n,{$active:d===0,children:[(0,e.jsx)("span",{children:t.days.monday}),(0,e.jsx)("div",{children:t.times.closed})]}),(0,e.jsxs)(n,{$active:d===1,children:[(0,e.jsx)("span",{children:t.days.tuesday}),(0,e.jsx)("div",{children:t.times.open})]}),(0,e.jsxs)(n,{$active:d===2,children:[(0,e.jsx)("span",{children:t.days.wednesday}),(0,e.jsx)("div",{children:t.times.open})]}),(0,e.jsxs)(n,{$active:d===3,children:[(0,e.jsx)("span",{children:t.days.thursday}),(0,e.jsx)("div",{children:t.times.open})]}),(0,e.jsxs)(n,{$active:d===4,children:[(0,e.jsx)("span",{children:t.days.friday}),(0,e.jsx)("div",{children:t.times.closed})]}),(0,e.jsxs)(n,{$active:d===5,children:[(0,e.jsx)("span",{children:t.days.saturday}),(0,e.jsx)("div",{children:t.times.closed})]}),(0,e.jsxs)(n,{$active:d===6,children:[(0,e.jsx)("span",{children:t.days.sunday}),(0,e.jsx)("div",{children:t.times.closed})]})]})]})};export{f as a,_ as b};
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.