(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9335],{14268:function(t,e,o){"use strict";o.r(e),o.d(e,{default:function(){return w}});var n,r=o(809),l=o.n(r),c=o(92447),i=o(74047),s=o(52700),a=o(4706),f=o(33814),u=o(44102),p=o(20775),d=o(26265),h=(o(26981),o(67294)),v=o(43083),y=o(70798),m=o(80535),b=h.createElement;function g(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var o,n=(0,p.Z)(t);if(e){var r=(0,p.Z)(this).constructor;o=Reflect.construct(n,arguments,r)}else o=n.apply(this,arguments);return(0,u.Z)(this,o)}}var w=(0,v.Z)({title:"Kontakt",active:"contact",page:"contact",topBackgroundImage:!0,topDesktopOnly:!0})(n=(0,y.f3)((function(t){return{literalsStore:t.literalsStore}}))(n=(0,y.Pi)(n=function(t){(0,f.Z)(o,t);var e=g(o);function o(){var t;(0,i.Z)(this,o);for(var n=arguments.length,r=new Array(n),l=0;l<n;l++)r[l]=arguments[l];return t=e.call.apply(e,[this].concat(r)),(0,d.Z)((0,a.Z)(t),"getPersons",(function(){return t.props.literalsStore.groupByPrefix("contact.person").filter((function(t){return t.img&&t.name&&t.title&&t.email&&t.tel})).map((function(t){return b("div",{className:"contact-person-container",key:t.email.content},b("div",{className:"contact-person-img"},b("img",{src:t.img.content,alt:t.name.content})),b("div",{className:"contact-person-info"},b("div",{className:"name"},t.name.content),b("div",null,t.title.content),b("a",{className:"mail",href:"mailto:".concat(t.email.content)},t.email.content),b("a",{className:"phone",href:"tel:".concat(t.tel.content)},t.tel.content)))}))})),t}return(0,s.Z)(o,[{key:"render",value:function(){return b(h.Fragment,null,b("div",{className:"container"},b("div",{className:"section-without-side"},b("h1",{className:"mobile-display-only"},this.props.literalsStore.content("contact.hero.header")),b("div",{className:"text"},(0,m.rb)(this.props.literalsStore.content("contact.hero.description"))),b("div",{className:"contact-container"},b("div",{className:"contact-content"},this.getPersons())))),b("div",{className:"bg-section-primary"},b("div",{className:"section container text"},b("img",{src:"/static/svg/icon_info.svg",id:"contact-info-icon",alt:""}),this.props.literalsStore.content("contact.hero.subheader"))))}}],[{key:"getInitialProps",value:function(){var t=(0,c.Z)(l().mark((function t(e){var o,n;return l().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:o=e.stores,e.res,(n=o.layoutStore).topBackgroundImage="/static/img/contact-top.jpg",n.topTitle="Kontakt";case 4:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()}]),o}(h.Component))||n)||n)||n},93269:function(t,e,o){(window.__NEXT_P=window.__NEXT_P||[]).push(["/contact",function(){return o(14268)}])},84925:function(t,e,o){var n;"undefined"!==typeof self&&self,n=function(t){return function(t){var e={};function o(n){if(e[n])return e[n].exports;var r=e[n]={i:n,l:!1,exports:{}};return t[n].call(r.exports,r,r.exports,o),r.l=!0,r.exports}return o.m=t,o.c=e,o.d=function(t,e,n){o.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:n})},o.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return o.d(e,"a",e),e},o.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},o.p="",o(o.s=0)}([function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n,r=o(1),l=(n=r)&&n.__esModule?n:{default:n};e.default=l.default},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n,r=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var o=arguments[e];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(t[n]=o[n])}return t},l=function(){function t(t,e){for(var o=0;o<e.length;o++){var n=e[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,o,n){return o&&t(e.prototype,o),n&&t(e,n),e}}(),c=o(2),i=(n=c)&&n.__esModule?n:{default:n},s=function(t){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var o=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return o.smoothScroll=o.smoothScroll.bind(o),o}return function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),l(e,[{key:"componentDidMount",value:function(){o(3).polyfill()}},{key:"smoothScroll",value:function(t){var e=this;t.preventDefault();var o=function(){return 0};"undefined"!==typeof this.props.offset&&(o=this.props.offset&&this.props.offset.constructor&&this.props.offset.apply?this.props.offset:function(){return parseInt(e.props.offset)});var n=t.currentTarget.getAttribute("href").slice(1),r=document.getElementById(n).getBoundingClientRect().top+window.pageYOffset;window.scroll({top:r-o(),behavior:"smooth"}),this.props.onClick&&this.props.onClick(t)}},{key:"render",value:function(){var t=this.props,e=(t.offset,function(t,e){var o={};for(var n in t)e.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(t,n)&&(o[n]=t[n]);return o}(t,["offset"]));return i.default.createElement("a",r({},e,{onClick:this.smoothScroll}))}}]),e}(c.Component);e.default=s},function(e,o){e.exports=t},function(t,e,o){!function(){"use strict";t.exports={polyfill:function(){var t=window,e=document;if(!("scrollBehavior"in e.documentElement.style)||!0===t.__forceSmoothScrollPolyfill__){var o,n=t.HTMLElement||t.Element,r={scroll:t.scroll||t.scrollTo,scrollBy:t.scrollBy,elementScroll:n.prototype.scroll||i,scrollIntoView:n.prototype.scrollIntoView},l=t.performance&&t.performance.now?t.performance.now.bind(t.performance):Date.now,c=(o=t.navigator.userAgent,new RegExp(["MSIE ","Trident/","Edge/"].join("|")).test(o)?1:0);t.scroll=t.scrollTo=function(){void 0!==arguments[0]&&(!0!==s(arguments[0])?h.call(t,e.body,void 0!==arguments[0].left?~~arguments[0].left:t.scrollX||t.pageXOffset,void 0!==arguments[0].top?~~arguments[0].top:t.scrollY||t.pageYOffset):r.scroll.call(t,void 0!==arguments[0].left?arguments[0].left:"object"!==typeof arguments[0]?arguments[0]:t.scrollX||t.pageXOffset,void 0!==arguments[0].top?arguments[0].top:void 0!==arguments[1]?arguments[1]:t.scrollY||t.pageYOffset))},t.scrollBy=function(){void 0!==arguments[0]&&(s(arguments[0])?r.scrollBy.call(t,void 0!==arguments[0].left?arguments[0].left:"object"!==typeof arguments[0]?arguments[0]:0,void 0!==arguments[0].top?arguments[0].top:void 0!==arguments[1]?arguments[1]:0):h.call(t,e.body,~~arguments[0].left+(t.scrollX||t.pageXOffset),~~arguments[0].top+(t.scrollY||t.pageYOffset)))},n.prototype.scroll=n.prototype.scrollTo=function(){if(void 0!==arguments[0])if(!0!==s(arguments[0])){var t=arguments[0].left,e=arguments[0].top;h.call(this,this,"undefined"===typeof t?this.scrollLeft:~~t,"undefined"===typeof e?this.scrollTop:~~e)}else{if("number"===typeof arguments[0]&&void 0===arguments[1])throw new SyntaxError("Value could not be converted");r.elementScroll.call(this,void 0!==arguments[0].left?~~arguments[0].left:"object"!==typeof arguments[0]?~~arguments[0]:this.scrollLeft,void 0!==arguments[0].top?~~arguments[0].top:void 0!==arguments[1]?~~arguments[1]:this.scrollTop)}},n.prototype.scrollBy=function(){void 0!==arguments[0]&&(!0!==s(arguments[0])?this.scroll({left:~~arguments[0].left+this.scrollLeft,top:~~arguments[0].top+this.scrollTop,behavior:arguments[0].behavior}):r.elementScroll.call(this,void 0!==arguments[0].left?~~arguments[0].left+this.scrollLeft:~~arguments[0]+this.scrollLeft,void 0!==arguments[0].top?~~arguments[0].top+this.scrollTop:~~arguments[1]+this.scrollTop))},n.prototype.scrollIntoView=function(){if(!0!==s(arguments[0])){var o=p(this),n=o.getBoundingClientRect(),l=this.getBoundingClientRect();o!==e.body?(h.call(this,o,o.scrollLeft+l.left-n.left,o.scrollTop+l.top-n.top),"fixed"!==t.getComputedStyle(o).position&&t.scrollBy({left:n.left,top:n.top,behavior:"smooth"})):t.scrollBy({left:l.left,top:l.top,behavior:"smooth"})}else r.scrollIntoView.call(this,void 0===arguments[0]||arguments[0])}}function i(t,e){this.scrollLeft=t,this.scrollTop=e}function s(t){if(null===t||"object"!==typeof t||void 0===t.behavior||"auto"===t.behavior||"instant"===t.behavior)return!0;if("object"===typeof t&&"smooth"===t.behavior)return!1;throw new TypeError("behavior member of ScrollOptions "+t.behavior+" is not a valid value for enumeration ScrollBehavior.")}function a(t,e){return"Y"===e?t.clientHeight+c<t.scrollHeight:"X"===e?t.clientWidth+c<t.scrollWidth:void 0}function f(e,o){var n=t.getComputedStyle(e,null)["overflow"+o];return"auto"===n||"scroll"===n}function u(t){var e=a(t,"Y")&&f(t,"Y"),o=a(t,"X")&&f(t,"X");return e||o}function p(t){var o;do{o=(t=t.parentNode)===e.body}while(!1===o&&!1===u(t));return o=null,t}function d(e){var o,n,r,c,i=(l()-e.startTime)/468;c=i=i>1?1:i,o=.5*(1-Math.cos(Math.PI*c)),n=e.startX+(e.x-e.startX)*o,r=e.startY+(e.y-e.startY)*o,e.method.call(e.scrollable,n,r),n===e.x&&r===e.y||t.requestAnimationFrame(d.bind(t,e))}function h(o,n,c){var s,a,f,u,p=l();o===e.body?(s=t,a=t.scrollX||t.pageXOffset,f=t.scrollY||t.pageYOffset,u=r.scroll):(s=o,a=o.scrollLeft,f=o.scrollTop,u=i),d({scrollable:s,method:u,startTime:p,startX:a,startY:f,x:n,y:c})}}}}()}])},t.exports=n(o(67294))}},function(t){t.O(0,[9774,4446,4885,7157,5335,9710,6748,1830,8469,6981,6105,9089,3083,2888,179],(function(){return e=93269,t(t.s=e);var e}));var e=t.O();_N_E=e}]);