!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]="97aa2985-c851-47ce-a8ef-379cb13b9527",e._sentryDebugIdIdentifier="sentry-dbid-97aa2985-c851-47ce-a8ef-379cb13b9527")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[202],{55700:(e,n,t)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/[restaurantSlug]/imprint",function(){return t(6405)}])},43889:(e,n,t)=>{"use strict";t.d(n,{Z:()=>h});var i=t(85893),r=t(90291),o=t(19987),s=t(49870),l=t(86493),d=t(18649),a=t(52974);let c=t(51192).ZP.div.withConfig({componentId:"sc-afc5bb2f-0"})(["display:flex;flex-direction:column;gap:",";"],e=>{let{theme:n}=e;return n.tokens.spacing[4]});var u=t(87347);let h=e=>{let{addressTitle:n,phoneTitle:t,useTwilioPhoneNumber:h=!0}=e,{data:g}=(0,o.Z)(),{data:m}=function(e){let{data:n,mutate:t,error:i,isLoading:r}=(0,s.Z)(e?()=>l.qf.GET_RESTAURANT_TWILIO_INFO(e):null,a._i,{shouldRetryOnError:!1,...d.C});return{loading:r,error:i,mutate:t,refetch:()=>t(null,!0),data:n||null}}(null==g?void 0:g.id),p=null==g?void 0:g.address,f=h&&(null==m?void 0:m.phoneNumber)?null==m?void 0:m.phoneNumber:null==g?void 0:g.phone;return p||f?(0,i.jsxs)(c,{children:[p&&(0,i.jsx)(u.Z,{title:n,body:p,href:"https://www.google.com/maps/search/?api=1&query=".concat(p),icon:"Pin",target:"_blank"}),f&&(0,i.jsx)(u.Z,{title:t,body:f,href:"tel:".concat(f),icon:"Phone",trackingEvent:()=>(0,r.wt)(f,(null==m?void 0:m.phoneNumber)?"Twillio":"Restaurant")})]}):(0,i.jsx)(i.Fragment,{})}},87347:(e,n,t)=>{"use strict";t.d(n,{Z:()=>g});var i=t(85893),r=t(6335),o=t(51192),s=t(85042),l=t(86177);let d=o.ZP.div.withConfig({componentId:"sc-d14f3a9-0"})(["display:flex;flex-direction:column;gap:",";"],e=>{let{theme:n}=e;return n.tokens.spacing[2]}),a=(0,o.ZP)(l.H3).attrs({fontWeight:"semibold",scale:"body"}).withConfig({componentId:"sc-d14f3a9-1"})([""]),c=(0,o.ZP)(s.Z).withConfig({componentId:"sc-d14f3a9-2"})(['display:flex;align-items:center;outline:none;&::after{position:absolute;inset:0;content:"";}']),u=o.ZP.div.withConfig({componentId:"sc-d14f3a9-3"})(["transition:background-color 250ms ease-in-out;position:relative;display:grid;grid-template-columns:auto 1fr auto;gap:",";border-radius:",";outline-style:solid;outline-offset:2px;outline-width:1px;outline-color:transparent;",""],e=>{let{theme:n}=e;return n.tokens.spacing[2]},e=>{let{theme:n}=e;return n.tokens.borderRadius.base},e=>{let{theme:n}=e;return(0,o.iv)(["padding-right:",";&:hover{color:",";}&:focus-within{outline-color:",";}"],n.tokens.spacing[2],n.colors.brand.base,n.colors.brand.base)}),h=o.ZP.aside.withConfig({componentId:"sc-d14f3a9-4"})(["display:flex;align-items:center;justify-content:center;",""],e=>{let{theme:n}=e;return(0,o.iv)(["border-radius:",";padding:",";background-color:",";"],n.tokens.borderRadius.base,n.tokens.spacing[4],n.colors.layout.light)}),g=e=>{let{title:n,body:t,href:o,icon:s,target:l,trackingEvent:g}=e;return t&&o?(0,i.jsxs)(d,{children:[n&&(0,i.jsx)(a,{children:n}),(0,i.jsxs)(u,{children:[s&&(0,i.jsx)(h,{children:(0,i.jsx)(r.Z,{icon:s,size:20})}),(0,i.jsx)(c,{target:l,href:o,onClick:g,children:t}),(0,i.jsx)(r.Z,{icon:"ChevronRight",size:16})]})]}):(0,i.jsx)(i.Fragment,{})}},6405:(e,n,t)=>{"use strict";t.r(n),t.d(n,{__N_SSP:()=>r,default:()=>o});var i=t(88386),r=!0;let o=i.default},88386:(e,n,t)=>{"use strict";t.r(n),t.d(n,{__N_SSP:()=>w,default:()=>v});var i=t(85893),r=t(41609),o=t.n(r),s=t(532);t(67294);var l=t(69082),d=t(19987),a=t(37613),c=t(38257),u=t(85042),h=t(6335),g=t(86177),m=t(43889),p=t(51192);let f=p.ZP.div.withConfig({componentId:"sc-e08d35c9-0"})(["& + &{margin-top:",";}"],e=>{let{theme:{tokens:n}}=e;return n.spacing[4]}),x=(0,p.ZP)(g.H2).attrs({scale:"body",fontWeight:"semibold"}).withConfig({componentId:"sc-e08d35c9-1"})(["margin-bottom:0.86em;"]),b=p.ZP.p.withConfig({componentId:"sc-e08d35c9-2"})(["gap:",";display:flex;align-items:center;position:relative;& + &{margin-top:0.85em;}"],e=>{let{theme:{tokens:n}}=e;return n.spacing[2]}),j=()=>{let{data:e}=(0,d.Z)(),n=(0,l.Z)(),{t}=(0,s.$G)("imprint"),r=[null==e?void 0:e.companyName,(null==e?void 0:e.companyName)?null==e?void 0:e.companyTypeName:null].filter(Boolean).join(" ")||t("website-owner");return(0,i.jsx)(a.Z,{paddingBlock:!0,children:(0,i.jsxs)(c.W2,{center:"large",flow:!0,gapSize:6,children:[(0,i.jsx)(c.X2,{children:(0,i.jsx)(c.sg,{children:(0,i.jsx)(g.H1,{fontWeight:"medium",children:t("imprint")})})}),(0,i.jsxs)(c.X2,{children:[!o()(e)&&e.shouldShowImprint&&(0,i.jsxs)(c.sg,{lg:6,children:[(0,i.jsxs)(f,{children:[(0,i.jsx)(x,{children:r}),e.ownerOrContactPerson&&(0,i.jsxs)(b,{children:[(0,i.jsx)(h.Z,{icon:"Profile"}),e.ownerOrContactPerson]})]}),n&&(0,i.jsxs)(f,{children:[(0,i.jsx)(x,{children:t("common:email")}),(0,i.jsxs)(b,{children:[(0,i.jsx)(h.Z,{icon:"Email"}),(0,i.jsx)(u.Z,{href:"mailto:service@ordersmart.de",children:"service@ordersmart.de"})]})]}),e.vatNumber&&(0,i.jsxs)(f,{children:[(0,i.jsx)(x,{children:t("tax-id-number")}),(0,i.jsx)(b,{children:e.vatNumber})]}),e.tradeRegistryNumber&&(0,i.jsxs)(f,{children:[(0,i.jsx)(x,{children:t("town-of-register-court")}),(0,i.jsx)(b,{children:e.tradeRegistryNumber})]})]}),(0,i.jsx)(c.sg,{lg:6,children:(0,i.jsxs)(f,{children:[(0,i.jsx)(x,{children:t("restaurant-info")}),(0,i.jsx)(m.Z,{useTwilioPhoneNumber:!1,addressTitle:(null==e?void 0:e.name)||"",phoneTitle:""})]})})]}),(0,i.jsx)(c.X2,{children:(0,i.jsxs)(c.sg,{children:[(0,i.jsx)(x,{children:t("eu-title","Verbraucherinformationen gem\xe4\xdf Verordnung (EU) Nr. 524/2013:")}),(0,i.jsx)(g.uT,{children:(0,i.jsx)(s.cC,{t:t,i18nKey:"eu-text",components:[(0,i.jsx)(u.Z,{href:"https://ec.europa.eu/consumers/odr/main/?event=main.home2.show",target:"_blank",fontWeight:"medium",children:"Link-Text"},0)]})})]})})]})})};var w=!0;let v=()=>(0,i.jsx)(j,{})}},e=>{var n=n=>e(e.s=n);e.O(0,[1268,7613,2888,9774,179],()=>n(55700)),_N_E=e.O()}]);