1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[29552],{16913:(e,t,s)=>{s.d(t,{aN:()=>d,lv:()=>c});var a,r,n=s(41938);let o=void 0!==n&&(null==n.env?void 0:"https://cockpitos.b-cdn.net")||(null==(a=n.env)?void 0:a.BUNNY_CDN_URL)||"https://cockpitos.b-cdn.net",i=["/videos/","/shop-images/"],l=(void 0!==n&&(null==(r=n.env)?void 0:r.NEXT_PUBLIC_CENTER_WEBSITE_STATIC_CDN_BASE)||"".concat(String(o).replace(/\/$/,""),"/global/center-website-static")).replace(/\/$/,"");function c(e){if(!e||"string"!=typeof e)return null!=e?e:"";let t=e.trim();return t.startsWith("/")&&i.some(e=>t.startsWith(e))?"".concat(l).concat(t):t}function d(e){if(!e||"string"!=typeof e)return;let t=e.trim();if(t){if(t.includes("b-cdn.net")||t.startsWith(o))return t.startsWith("http://")?t.replace("http://","https://"):t;if(t.startsWith("/uploads/")||t.startsWith("uploads/")||t.startsWith("centers/")||t.startsWith("global/")){let e=t.startsWith("/")?t.slice(1):t;return"".concat(o.replace(/\/$/,""),"/").concat(e)}if(t.includes("localhost:3000")||t.includes("localhost:3001"))try{let e=new URL(t),s=e.pathname.startsWith("/")?e.pathname.slice(1):e.pathname;return s.startsWith("uploads/")||s.startsWith("centers/")||s.startsWith("global/"),"".concat(o.replace(/\/$/,""),"/").concat(s)}catch(e){return t.replace(/http:\/\/localhost:300[01]/g,o)}return t.startsWith("http://")||t.startsWith("https://")?t.startsWith("http://")?t.replace("http://","https://"):t:e}}},29552:(e,t,s)=>{s.r(t),s.d(t,{default:()=>c});var a=s(90893),r=s(29800),n=s(39e3);function o(e){let{restaurants:t,centerSlug:s,hostname:o}=e,i=s||"preview",l=(0,n.generatePath)("/",i,void 0,o),c=t.map(e=>({id:e.id,name:e.name,slug:e.slug,category:e.category,floor:e.floor,image:e.image}));return(0,a.jsx)(r.default,{title:"Gastronomie",breadcrumbs:[{label:"Home",href:l},{label:"Gastronomie"}],items:c,centerSlug:i,basePath:"shops",hostname:o})}var i=s(16913),l=s(44522);function c(e){let{themes:t=[],centerSlug:s}=e,{centerConfig:r}=(0,l.r)(),n=null==r?void 0:r.hostname,c=function(e){if(!e||0===e.length)return[];let t=[];for(let a of e)for(let e of a.shops||[]){var s;t.push({id:e.id,name:e.name,slug:e.slug||e.id,category:a.name||"Gastronomie",description:e.description||e.shortDe
1scription||a.description||"",image:e.logo?(0,i.aN)(e.logo):e.coverImage?(0,i.aN)(e.coverImage):a.image?(0,i.aN)(a.image):void 0,floor:e.floor||"EG",hours:"object"==typeof e.openingHours&&(null==(s=e.openingHours)?void 0:s.formatted)?e.openingHours.formatted:e.openingHours||"",website:e.website})}return t}(t);return(0,a.jsx)(o,{restaurants:c,centerSlug:s||"preview",hostname:n})}},29800:(e,t,s)=>{s.d(t,{default:()=>l});var a=s(90893),r=s(2621),n=s.n(r),o=s(83991),i=s(39e3);function l(e){let{title:t,breadcrumbs:s,items:r,centerSlug:l,basePath:c="shops",hostname:d}=e,h=l||"preview",u=function(){let e=new Date,t=e.getDay(),s=e.getHours();return 0!==t&&s>=10&&s<20}();return(0,a.jsxs)("div",{className:"min-h-screen pt-20",children:[(0,a.jsx)("section",{className:"bg-[var(--el-section-bg-alt,#f0ebe4)] py-16 md:py-24",children:(0,a.jsxs)("div",{className:"container mx-auto px-6 lg:px-12 text-center",children:[(0,a.jsx)("h1",{className:"font-serif text-4xl font-bold tracking-tight text-foreground md:text-5xl lg:text-6xl text-balance",children:t}),(0,a.jsx)("nav",{className:"mt-5 flex items-center justify-center gap-2 text-sm text-muted-foreground",children:s.map((e,t)=>(0,a.jsxs)("span",{className:"flex items-center gap-2",children:[t>0&&(0,a.jsx)("span",{className:"text-muted-foreground/40",children:"/"}),e.href?(0,a.jsx)(n(),{href:e.href,className:"hover:text-foreground transition-colors",children:e.label}):(0,a.jsx)("span",{className:"text-foreground font-medium",children:e.label})]},t))})]})}),(0,a.jsx)("section",{className:"py-12 md:py-16",children:(0,a.jsx)("div",{className:"container mx-auto px-6 lg:px-12",children:(0,a.jsx)("div",{className:"grid gap-8 sm:grid-cols-2 lg:grid-cols-3",children:r.map(e=>{var t;let s=void 0!==e.isOpen?e.isOpen:u;return(0,a.jsxs)(n(),{href:(t="/".concat(c,"/").concat(e.slug),(0,i.generatePath)(t.startsWith("/")?t:"/".concat(t),h,void 0,d)),className:"group block",children:[(0,a.jsxs)("div",{className:"relative aspect-[3/4] overflow-hidden rounded-2xl bg-secondary",children:[e.image?(0,a.jsx)("img",{src:e.image,alt:e.name,className:"absolute inset-0 h-full w-full object-cover transition-transform duration-700 group-hover:scale-105"}):(0,a.jsx)("div",{className:"absolute inset-0 flex items-center justify-center bg-secondary",children:(0,a.jsx)(o.A,{className:"h-16 w-16 text-muted-foreground/20"})}),(0,a.jsx)("div",{className:"absolute inset-0 bg-gradient-to-t from-black/50 via-black/20 to-transparent"}),(0,a.jsx)("div",{className:"absolute inset-0 flex items-center justify-center p-6",children:(0,a.jsx)("span",{className:"text-center font-serif text-3xl font-bold text-white drop-shadow-[0_2px_12px_rgba(0,0,0,0.5)] md:text-4xl",children:e.name})})]}),(0,a.jsxs)("div",{className:"mt-3 flex items-start justify-between gap-3",children:[(0,a.jsxs)("div",{className:"min-w-0",children:[(0,a.jsx)("h3",{className:"text-sm font-bold text-foreground group-hover:text-accent transition-colors truncate",children:e.name}),(0,a.jsx)("p",{className:"mt-0.5 text-xs text-muted-foreground",children:e.floor})]}),(0,a.jsx)("span",{className:"mt-0.5 shrink-0 rounded px-2.5 py-0.5 text-[10px] font-bold uppercase tracking-wider ".concat(s?"bg-accent text-accent-foreground":"bg-foreground text-background"),children:s?"Open":"Closed"})]})]},e.id)})})})})]})}},83991:(e,t,s)=>{s.d(t,{A:()=>a});let a=(0,s(98292).A)("Store",[["path",{d:"m2 7 4.41-4.41A2 2 0 0 1 7.83 2h8.34a2 2 0 0 1 1.42.59L22 7",key:"ztvudi"}],["path",{d:"M4 12v8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8",key:"1b2hhj"}],["path",{d:"M15 22v-4a2 2 0 0 0-2-2h-2a2 2 0 0 0-2 2v4",key:"2ebpfo"}],["path",{d:"M2 7h20",key:"1fcdvo"}],["path",{d:"M22 7v3a2 2 0 0 1-2 2a2.7 2.7 0 0 1-1.59-.63.7.7 0 0 0-.82 0A2.7 2.7 0 0 1 16 12a2.7 2.7 0 0 1-1.59-.63.7.7 0 0 0-.82 0A2.7 2.7 0 0 1 12 12a2.7 2.7 0 0 1-1.59-.63.7.7 0 0 0-.82 0A2.7 2.7 0 0 1 8 12a2.7 2.7 0 0 1-1.59-.63.7.7 0 0 0-.82 0A2.7 2.7 0 0 1 4 12a2 2 0 0 1-2-2V7",key:"6c3vgh"}]])}}]);
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.