1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[802],{7548:function(e,t,n){"use strict";n.d(t,{Z:function(){return Z}});var r=n(38347),o=n(67294),a=n(46498),l=n(45743),i=n(94705),c=n(6029),s=n(51395),u=n(30724),p=n.n(u),f=n(48557),m=n(77101),d=(n(27),n(49237)),h=function(e){var t=e.src,n=e.width,r=e.quality,o=void 0===r?75:r;return t.startsWith("https://strapi.zs.co.at")?"/_next/image?url=".concat(encodeURIComponent(t),"&w=").concat(n,"&q=").concat(o):t.startsWith("http")?t:"/_next/image?url=".concat(encodeURIComponent(t),"&w=").concat(n,"&q=").concat(o)},g=n(25675),b=o.createElement,Z=function(e){var t=e.title,n=e.body,u=e.type,Z=e.label,x=e.thumbnailSrc,v=e.thumbnailRatio,y=e.isTruncated,w=void 0===y||y,P=(0,r.Z)(e,["title","body","type","label","thumbnailSrc","thumbnailRatio","isTruncated"]),S="currentColor";switch(u){case"post":S="blue.700";break;case"offer":S="yellow.500";break;case"event":S="#FFFFFF"}return b(o.Fragment,null,b(a.ZP,P,b(a.ZP,{border:"5px solid",height:"100%",borderColor:S,overflow:"hidden"},b(l.Z,{ratio:v,overflow:"hidden",bg:"primary"},b(a.ZP,null,b(g.default,{sizes:"(max-width: 768px) 100vw, (max-width: 1200px) 50vw, 400px",layout:"fill",objectFit:"cover",src:x,alt:t,priority:P.priority||!1,loading:P.priority?"eager":"lazy",loader:h}))),b(a.ZP,{p:[4,3,4,6]},b(a.ZP,{d:"flex",position:"relative",flexDirection:"column",alignItems:"baseline"},Z&&b(a.ZP,{d:"flex",mt:{base:"-25px",lg:"-33px"},mb:1,ml:-2,alignItems:"baseline"},b(i.Z,{rounded:"full",px:"2",variantColor:"orange"},Z)),b(a.ZP,{color:"gray.500",letterSpacing:"wide",fontSize:"xs"},P.startDate&&b(o.Fragment,null,"von ",(0,m.p6)(P.startDate))," ",P.endDate&&b(o.Fragment,null,"bis ",(0,m.p6)(P.endDate)))),b(c.Z,{as:"h2",my:[1,1,1,1],mb:[3,4,2,3],fontSize:"1.4rem",fontWeight:"bold"},t),b(s.Z,{mt:"1",mb:"4",as:"div",fontSize:"md",color:"gray.700"},w?b(f.Z,{lines:!!w&&2},b("div",null,n)):b(p(),{className:"markdown",transformImageUri:d._,renderers:{image:function(e){return b(l.Z,{ratio:1,width:"100%"},b(g.default,{sizes:"(min-width: 0px) 400px",layout:"fill",objectFit:"contain",src:e.src,alt:e.alt}))}}},n))))))}},81740:function(e,t,n){"use strict";var r=n(67294),o=n(41664),a=n(56402),l=n(46498),i=n(93122),c=n(97451),s=n(44482),u=r.createElement,p=[{name:"Startseite",path:"/"},{name:"Shops",path:"/shops"},{name:"Events",path:"/events"},{name:"Jobb\xf6rse",path:"/jobboerse"},{name:"Kontakt",path:"/kontakt"}];t.Z=function(e){var t=e.statusCode,n=e.noLinks,f=void 0!==n&&n,m=e.children,d=function(){switch(t){case 404:return"Wir konnten die gew\xfcnschte Seite nicht finden!";default:return"Ein Fehler ist aufgetreten!"}}();return u(r.Fragment,null,u(s.Z,{first:t,second:"Fehler"}),u(a.Z,{maxWidth:"480px",mx:"auto",fontSize:"lg",justifyContent:"center",textAlign:"center"},u(l.ZP,null,m||d),!f&&u(r.Fragment,null,u(l.ZP,null,"Vielleicht werden Sie auf folgenden Seiten f\xfcndig:"),u(i.ZP,{styleType:"none",textAlign:"left",mx:"auto",fontSize:"xl"},p.map((function(e,t){return u(i.HC,{key:t},u(o.default,{href:e.path},u(c.Z,{href:e.path,color:"primary"},e.name)))}))))))}},44482:function(e,t,n){"use strict";var r=n(91229),o=n(38347),a=n(67294),l=n(6029),i=a.createElement;t.Z=function(e){var t=e.first,n=e.second,a=(0,o.Z)(e,["first","second"]);return i(l.Z,(0,r.Z)({textShadow:"md",lineHeight:"1.2",fontSize:{base:"3xl",sm:"3xl",md:"4xl"},textAlign:"center",pt:12,pb:4,color:"primary",textTransform:"uppercase"},a),i("strong",null,t),i("br",null),i("span",{style:{fontWeight:300}},n))}},49237:function(e,t,n){"use strict";n.d(t,{_:function(){return r}});var r=function(e){return"".concat("https://strapi.zs.co.at").concat(e)}},4559:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSG:function(){return re},default:function(){return oe}});var r=n(91229),o=n(67294),a=n(41664),l=n(51395),i=n(97451),c=n(46498),s=n(98034),u=n(40824),p=n(56402),f=n(86508),m=n(33601),d=(n(56369),n(92582)),h=n(81740),g=n(6029),b=n(17552),Z=n.n(b),x=n(38874),v=n(88085),y=n(38347),w=n(43779),P=n(77101),S=o.createElement,k=function(e){var t=e.openingHours,n=(0,y.Z)(e,["openingHours"]),o=new w.Z.OpeningHours(t);return 0===o.days.length?null:S(p.Z,(0,r.Z)({isInline:!0,spacing:4},n),S(c.ZP,{fontWeight:"bold"},o.days.map((function(e,t){return S(l.Z,{key:t},e.weekdays)}))),S(c.ZP,{textAlign:"right"},o.days.map((function(e,t){var n=(0,P.mr)(e.startTime),r=(0,P.mr)(e.endTime);return n&&r?S(l.Z,{key:t},n," - ",r):n?S(l.Z,{key:t},"ab ",n):r?S(l.Z,{key:t},"bis ",r):null}))))},_=(n(88415),o.createElement),E=function(e){return _(l.Z,(0,r.Z)({color:"gray.500"},e))},O=function(e){return _(l.Z,(0,r.Z)({color:"primary"},e))},F=function(e){var t=e.contact,n=(0,y.Z)(e,["contact"]);return _(p.Z,(0,r.Z)({isInline:!0,spacing:4},n),_(c.ZP,null,t.phone&&_(E,null,"Tel.:"),t.homepage&&_(E,null,"Web:"),t.email&&_(E,null,"Mail:")),_(c.ZP,null,t.phone&&_(O,
1null,_("a",{href:"tel:".concat(t.phone)},t.phone)),t.homepage&&_(O,null,_("a",{href:t.homepage,target:"_blank"},t.homepage.replace(/^(https?:\/\/)?(www\.)?/,""))),t.email&&_(O,null,_("a",{href:"mailto:".concat(t.email)},t.email))))},C=o.createElement,z=function(e){var t=e.shop;return C(o.Fragment,null,C(g.Z,{as:"h1",size:"xl",fontSize:"3xl",color:"gray.700",pb:"4"},t.name),C(l.Z,{as:"div",fontSize:{base:"xl",md:"lg"},color:"gray.500"},C(Z(),{className:"markdown",escapeHtml:!1},t.description)),C(p.Z,{mt:6,spacing:6},!!(t.floor||t.offers.length>0)&&C(p.Z,{isInline:!0,spacing:8},t.floor&&C(x.Z,{floor:t.floor}),t.offers&&C(v.Z,{total:t.offers.length})),t.opening_hours&&C(k,{openingHours:t.opening_hours}),t.contact&&C(F,{contact:t.contact})))},I=n(44482),W=n(7548),j=n(32489),T=n(809),D=n.n(T),N=n(26265),A=n(92447),R=n(7544),H=n(9008),B=n(46829),G=n(61462),M=n(52367),U=n(80678),q=n(63144),K=n.n(q),L=o.createElement;function J(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function V(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?J(Object(n),!0).forEach((function(t){(0,N.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):J(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var X=null,Q=function(e){var t=Boolean(e.ctx);var n=e.apolloClient||Y(e.apolloState||{},t?e.ctx:e);return n.toJSON=function(){return null},e.apolloClient=n,t&&(e.ctx.apolloClient=n),e},Y=function(e,t){return X||(X=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,n={agent:null},r=new U.u({uri:"https://strapi.zs.co.at/graphql",credentials:"same-origin",fetch:K(),fetchOptions:n});return new G.fe({connectToDevTools:Boolean(t),ssrMode:Boolean(t),link:r,cache:(new M.h4).restore(e)})}(e)),X},$=n(49237),ee=o.createElement,te=function(e){var t=e.shop,n=(0,o.useRef)(null),r=(0,j.Z)().width<768;return(0,o.useEffect)((function(){n.current&&n.current.changeActiveRooms([t.room_id],t.floor)}),[n]),ee(c.ZP,{maxWidth:"containers.maxWidth",mx:"32px"},t.logo?ee(c.ZP,{width:"100%",height:"160px",mb:"32px"},ee(s.Z,{src:(0,$._)(t.logo.url),height:"100%",maxWidth:"none"})):null,ee(u.Z,{justifyContent:"space-between",flexDir:"row",flexWrap:{base:"wrap",md:"nowrap"}},ee(c.ZP,{flexGrow:0,flexShrink:4,pr:{base:0,md:8},maxWidth:"420px"},ee(z,{shop:t})),t.floor&&t.room_id&&ee(c.ZP,{flexGrow:1,flexShrink:1,minWidth:"128px",maxWidth:"640px",width:"60%",mx:{base:"-16px",md:0},mt:{base:"48px",md:0}},ee(m.Z,{floors:(0,d.l4)(t.floor),isSingleView:r,floorProps:{activeRooms:[t.room_id],isInteractive:!1},width:"100%",ref:n}))))},ne=function(e){var t=e.offers;return ee(c.ZP,{minHeight:"50vh"},t.length>0?ee(c.ZP,null,ee(I.Z,{id:"angebote",first:"AKTUELLE",second:"ANGEBOTE"}),ee(p.Z,{isInline:!0,spacing:0,mx:8,my:8,flexWrap:"wrap",justifyContent:"space-evenly"},t.map((function(e,t){var n={title:e.title,body:e.body,label:"",thumbnailSrc:(0,$._)(e.thumbnail.url),type:"offer"};return ee(c.ZP,{key:"a-".concat(t),id:"angebot-".concat(e.id),maxW:"lg"},ee(W.Z,(0,r.Z)({thumbnailRatio:4/3,pt:"60px"},n,{isTruncated:!1})))})))):null)},re=!0,oe=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.ssr,r=void 0!==t&&t;return function(e){var t=function(t){var n,r=t.apolloClient,o=t.apolloState,a=(0,y.Z)(t,["apolloClient","apolloState"]);return n=r||Y(o),L(B.ApolloProvider,{client:n},L(e,a))};return(r||e.getInitialProps)&&(t.getInitialProps=function(){var t=(0,A.Z)(D().mark((function t(o){var a,l,i,c,s,u,p,f;return D().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(a=Boolean(o.ctx),l=Q(o),i=l.apolloClient,c={},!e.getInitialProps){t.next=9;break}return t.next=6,e.getInitialProps(o);case 6:c=t.sent,t.next=13;break;case 9:if(!a){t.next=13;break}return t.next=12,R.default.getInitialProps(o);case 12:c=t.sent;case 13:t.next=33;break;case 17:if(!r||!s){t.next=33;break}return t.prev=18,t.next=21,Promise.all([n.e(774),n.e(603)]).then(n.bind(n,76603));case 21:return u=t.sent,p=u.getDataFromTree,f={},f=a?V(V({},c),{},{apolloClient:i}):{pageProps:V(V({},c),{},{apolloClient:i})},t.next=27,p(L(s,f));case 27:t.next=32;break;case 29:t.prev=29,t.t0=t.catch(18),console.error("Error while running `getDataFromTree`",t.t0);case 32:H.default.rewind();case 33:return t.abrupt("return",V(V({},c),{},{apolloState:i.cache.extract(),apolloClient:o.apolloClient}));case 34:case"end":return t.stop()}}),t,null,[[18,29]])})));return function(e){return t.apply(this,arguments)}}()),t}}()((function(e){var t,n,r,c,s,u=e.shopSlug,p=e.initialShop;if(!p)return ee(o.Fragment,null,ee(f.ZP,null),ee(h.Z,{statusCode:404,noLinks:!0},ee(l.Z,null,"Der Shop konnte nicht gefunden werden."),ee(a.default,{href:"/shops"},ee(i.Z,{color:"primary"},"Zur\xfcck zu den Shops"))));var m=p.offers||[],d=null;m.length>0&&(d=p.offers[0]);var g=(null===(t=p.SEO)||void 0===t||null===(n=t.ShareImage)||void 0===n?void 0:n.url)||(null===(r=d)||void 0===r?void 0:r.thumbnail.url)||null,b="".concat(m.length?"Aktuelle Angebote bei":""," ").concat(p.name," im ZENTRUM SIMMERING"),Z=(null===(c=p.SEO)||void 0===c?void 0:c.meta_description)||p.description;return ee(o.Fragment,null,ee(H.default,null,ee("meta",{property:"og:title",content:b}),ee("meta",{property:"twitter:title",content:b}),ee("meta",{property:"og:description",content:Z}),ee("meta",{property:"twitter:description",content:Z}),g?ee(o.Fragment,null,ee("meta",{property:"og:image",content:(0,$._)(g)}),ee("meta",{property:"twitter:card",content:"summary_large_image"})):null,ee("meta",{property:"og:url",content:"https://zs.co.at/".concat(u)}),null!==(s=p.SEO)&&void 0!==s&&s.Keywords?ee("meta",{name:"keywords",content:p.SEO.Keywords}):null),ee(f.ZP,{backgroundColor:"secondary",title:ee(l.Z,{color:"#FFFFFF",fontWeight:"bold",fontSize:"24px"},"SHOPS")}),ee(te,{shop:p}),ee(ne,{offers:m}))}))},6761:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/shops/[shop-slug]",function(){return n(4559)}])},4442:function(){}},function(e){e.O(0,[774,430,351,952,724,552,675,765,930,461,508,779,947],(function(){return t=6761,e(e.s=t);var t}));var t=e.O();_N_E=t}]);
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.