!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="ddd8f52a-8b7e-418b-ab64-4acafcca1d82",e._sentryDebugIdIdentifier="sentry-dbid-ddd8f52a-8b7e-418b-ab64-4acafcca1d82")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4060],{82320:(e,n,o)=>{o.d(n,{oT:()=>u,tA:()=>d,uh:()=>a});var l=o(51192),r=o(88179),i=o(86177);let t=r.TV.fontSize,a=l.ZP.span.withConfig({componentId:"sc-8136a6df-0"})(["line-height:1;margin:0;padding:0;display:flex;flex-wrap:wrap;justify-content:flex-end;align-content:center;align-content:baseline;gap:",";"],e=>{let{theme:n}=e;return n.tokens.spacing[1]}),d=(0,l.ZP)(i.x4).attrs({as:"span"}).withConfig({componentId:"sc-8136a6df-1"})(["font-variant-numeric:tabular-nums;color:",";font-size:",";text-decoration:",";white-space:nowrap;font-weight:",";"],e=>(null==e?void 0:e.before)?e.theme.colors.layout.medium:(null==e?void 0:e.color)?e.color:e.theme.colors.brand.base,e=>{var n;return(null==e?void 0:e.fontSize)&&t[null!==(n=e.fontSize)&&void 0!==n?n:"base"]},e=>(null==e?void 0:e.before)?"line-through":"none",e=>n=>{let{theme:{tokens:o}}=n;return(null==e?void 0:e.fontWeight)?o.fontWeight[e.fontWeight]:o.fontWeight.semibold}),u=l.ZP.span.withConfig({componentId:"sc-8136a6df-2"})(["line-height:1.25;color:",";font-size:",";"],e=>(null==e?void 0:e.color)?e.color:e.theme.colors.brand.base,e=>{var n;return(null==e?void 0:e.fontSize)&&t[null!==(n=e.fontSize)&&void 0!==n?n:"base"]})},1150:(e,n,o)=>{o.d(n,{Z:()=>d});var l=o(85893),r=o(19987),i=o(97909),t=o(24355),a=o(82320);let d=e=>{let{finalPrice:n,regularPrice:o,className:d,reverseOrder:u=!1,fontSize:s,fontWeight:c="semibold",prefix:v,color:f,testId:y}=e,{data:{currency:h}}=(0,r.Z)(),{isoCode:g}=(0,i.b)();return(0,l.jsxs)(a.uh,{className:d,"data-testid":y,children:[v&&(0,l.jsx)(a.oT,{color:f,fontSize:s,children:v}),"number"==typeof n&&!u&&(0,l.jsx)(a.tA,{fontSize:s,fontWeight:c,color:f,"data-testid":"price",children:(0,t.OH)(n,h,g)}),"number"==typeof o&&o!==n&&(0,l.jsx)(a.tA,{fontSize:s,fontWeight:c,"data-testid":"regular-price",before:!0,children:(0,t.OH)(o,h,g)}),"number"==typeof n&&u&&(0,l.jsx)(a.tA,{fontSize:s,fontWeight:c,color:f,"data-testid":"price",children:(0,t.OH)(n,h,g)})]})}},13240:(e,n,o)=>{o.d(n,{g:()=>a});var l=o(67294),r=o(15243),i=o(69783),t=o(19987);function a(){var e;let{data:n}=(0,t.Z)(),o=null==n?void 0:n.openingHours,a=null!==(e=null==n?void 0:n.lastDeliveryTime)&&void 0!==e?e:null==n?void 0:n.deliveryTime,{todayOpeningHours:d,todayDeliveryHours:u}=(0,r.$u)(o);return(0,l.useMemo)(()=>{var e,n,l;let r=!1,t=!1,s=!1,c=!1,v=null,f=null,y=null,h=null,g=null,{yesterday:p,tomorrow:m}=(0,i.SU)(),b=null==o?void 0:null===(e=o.vacations)||void 0===e?void 0:e.find(e=>(0,i.D$)({vacation:e}));if(o){let e=(null==o?void 0:o.timeZoneOffset)||"0",T=null==o?void 0:null===(n=o.allDaysOpeningHours)||void 0===n?void 0:n.filter(e=>e.dayOfWeek===p),[M,D]=T||[],[x,w]=d||[],F=(0,i.aM)(e,x),O=(0,i.aM)(e,w),A=!b&&((0,i.XW)(e,d)||(D?D.workingAfterMidnight:null==M?void 0:M.workingAfterMidnight)&&(0,i.XW)(e,T));if(A||F!==i.F5.MoreThenMin||O!==i.F5.LessThenMax||(g=(0,i.lw)(w),v={breakEndsAt:w.from}),!A){if(F===i.F5.LessThenMax)g=(0,i.lw)(x),y=i.F5.LessThenMax;else if(O===i.F5.MoreThenMin||!O&&F===i.F5.MoreThenMin){let e=null==o?void 0:null===(l=o.allDaysOpeningHours)||void 0===l?void 0:l.filter(e=>e.dayOfWeek===m),n=(null==e?void 0:e.length)?e[0]:null;g=n?(0,i.lw)(n,!0):null,y=i.F5.MoreThenMin}}let[P,N]=u||[],k=(0,i.aM)(e,P,a),H=(0,i.aM)(e,N,a),S=!b&&!!(null==u?void 0:u.length)&&(k===i.F5.InRange||H===i.F5.InRange);S||k!==i.F5.MoreThenMin||H!==i.F5.LessThenMax||(f={breakEndsAt:N.from}),S||(k===i.F5.LessThenMax?h=i.F5.LessThenMax:H!==i.F5.MoreThenMin&&(H||k!==i.F5.MoreThenMin)||(h=i.F5.MoreThenMin)),r=!!S,t=!!A,s=!A&&!r,c=!!(null==d?void 0:d.length)}return{isDeliveryOpen:r,isPickupOpen:t,isClosed:s||!!b,isRestaurantWorkingToday:c,openingHoursBreak:v,deliveryHoursBreak:f,closedStatus:y,deliveryClosedStatus:h,nextOpeningDate:g,todayOpeningHours:d,todayDeliveryHours:u,activeVacation:b}},[o])}},70186:(e,n,o)=>{o.d(n,{Z:()=>u});var l=o(67294),r=o(83722),i=o(69783),t=o(19987),a=o(13240),d=o(89043);function u(){var e,n;let{data:o}=(0,t.Z)(),{serviceMethods:u}=o,[{serviceMethod:s}]=(0,r.m)(),{closedStatus:c,deliveryClosedStatus:v,deliveryHoursBreak:f,isClosed:y,isDeliveryOpen:h,isPickupOpen:g,openingHoursBreak:p,isRestaurantWorkingToday:m,nextOpeningDate:b,activeVacation:T}=(0,a.g)();return(0,l.useMemo)(()=>{var e,n,l,r;let t=!1,a=!1,M=!1,D=!!(null==o?void 0:o.canPreOrderNextDay)&&((null==o?void 0:o.canPreOrderNextDay)===d.d5.AsapToday&&m||(null==o?void 0:o.canPreOrderNextDay)===d.d5.AsapTodayTomorrow),{tomorrow:x}=(0,i.SU)(),w=null==o?void 0:null===(n=o.openingHours)||void 0===n?void 0:null===(e=n.allDaysOpeningHours)||void 0===e?void 0:e.filter(e=>e.dayOfWeek===x),F=null==o?void 0:null===(r=o.openingHours)||void 0===r?void 0:null===(l=r.allDaysDeliveryHours)||void 0===l?void 0:l.filter(e=>e.dayOfWeek===x);return(null==u?void 0:u.length)&&(t=(null==u?void 0:u.includes(d.ur.Delivery))&&(h||!h&&D&&(v===i.F5.LessThenMax||(null==o?void 0:o.canPreOrderNextDay)===d.d5.AsapTodayTomorrow&&!!(null==F?void 0:F.length)||!!f)||h&&!f&&(null==o?void 0:o.canPreOrderNextDay)===d.d5.Asap),a=(null==u?void 0:u.includes(d.ur.Pickup))&&(g||!g&&D&&(c===i.F5.LessThenMax||(null==o?void 0:o.canPreOrderNextDay)===d.d5.AsapTodayTomorrow&&!!(null==w?void 0:w.length)||!!p)||g&&!p&&(null==o?void 0:o.canPreOrderNextDay)===d.d5.Asap),s===d.ur.DineIn?M=!y||c!==i.F5.MoreThenMin:(!y||(c===i.F5.LessThenMax||p)&&D||(!c||c===i.F5.MoreThenMin)&&(null==o?void 0:o.canPreOrderNextDay)===d.d5.AsapTodayTomorrow&&(null==w?void 0:w.length))&&(M=!(T&&(0,i.D$)({vacation:T,offset:(null==o?void 0:o.canPreOrderNextDay)===d.d5.AsapTodayTomorrow?1:0})))),{isClosed:y,closedStatus:c,isDeliveryOpen:h,isPickupOpen:g,isDeliveryAvailable:t,isPickupAvailable:a,deliveryClosedStatus:v,isPreorderAvailable:D,isPreorderForTomorrowAvailable:(null==o?void 0:o.canPreOrderNextDay)===d.d5.AsapTodayTomorrow&&!!(null==w?void 0:w.length),openingHoursBreak:p,deliveryHoursBreak:f,onlyAsapOrders:(null==o?void 0:o.canPreOrderNextDay)===d.d5.Asap,canPlaceAnOrder:M,nextOpeningDate:b,activeVacation:T}},[c,v,f,y,h,g,m,p,null==o?void 0:o.canPreOrderNextDay,null==o?void 0:null===(e=o.openingHours)||void 0===e?void 0:e.allDaysDeliveryHours,null==o?void 0:null===(n=o.openingHours)||void 0===n?void 0:n.allDaysOpeningHours,s,u,b,T])}},24355:(e,n,o)=>{o.d(n,{OH:()=>l,d8:()=>i});let l=(e,n,o)=>{try{return e.toLocaleString(o,{style:"currency",currency:(null==n?void 0:n.isoCode)||"EUR",currencyDisplay:"narrowSymbol"})}catch(l){return e.toLocaleString(o,{style:"currency",currency:(null==n?void 0:n.isoCode)||"EUR",currencyDisplay:"symbol"})}},r=(e,n,o)=>{try{let l=new Intl.NumberFormat(o,{style:"currency",currency:(null==n?void 0:n.isoCode)||"EUR"}).resolvedOptions().maximumFractionDigits;return e.toLocaleString(o,{maximumFractionDigits:l,minimumFractionDigits:l})}catch(o){return"".concat(e," ").concat(n.symbol)}},i=(e,n,o,i)=>{if(null==e?void 0:e.length){let[t,a]=e;return a?"".concat(0===t?i("common:free","Free"):r(t,n,o),"-").concat(l(a,n,o)):t}return null}}}]);