1"use strict";(self.webpackChunkgatsby_typescript_tailwind=self.webpackChunkgatsby_typescript_tailwind||[]).push([[691],{6227:function(e,t,i){i.d(t,{v:function(){return r}});var n=i(5444),a=i(7294),r=function(e){return a.createElement(n.Link,{to:"/"+e.slug,className:"mb-4 flex w-full flex-col items-start"},a.createElement("div",{className:"my-4 w-full items-start font-extralight tracking-widest md:tracking-wide"},a.createElement("span",{className:"w-full text-lg text-headings md:text-xl"},e.title)),a.createElement("div",{className:"w-full font-titilliumWeb text-base font-light leading-7 text-font",dangerouslySetInnerHTML:{__html:e.html}}))}},8116:function(e,t,i){i.d(t,{Z:function(){return a}});var n=i(7294),a=function(e){var t=e.widgetId,i=e.label,a=e.className;return n.createElement("div",{className:a},n.createElement("div",{"data-eversports-widget-id":t,"aria-label":i,className:"w-full",style:{width:"100%"}}))}},7191:function(e,t,i){i.d(t,{D:function(){return g}});var n,a=i(7294),r=function(e){var t=e.src,i=e.index,n=e.size,r=(e.IndexOrOurRoom,(0,a.useState)(!1)),m=r[0],g=r[1],o=(0,a.useState)(!1),s=o[0],c=o[1],f=n[i],d=f.width,u=f.marginLeft,w=f.marginTop;(0,a.useEffect)((function(){var e=setTimeout((function(){c(!0)}),1e3*i);return function(){return clearTimeout(e)}}),[i]);var h=(0,a.useCallback)((function(){s||c(!0),s&&c(!1)}),[s]),p=l();return a.createElement("div",{className:"absolute top-0 left-0 right-0 z-0 mx-auto transform flex-row ease-in-out "+(p?s?"scale-110 transform transition delay-200 duration-4900":"scale-100 duration-4900":m?"scale-110 transform transition duration-1000":"scale-100 duration-1000"),style:{width:d+"%",left:u*(i%2==0?-1:1),top:w},onMouseEnter:p?void 0:function(){if(!m)return g(!0)},onMouseLeave:p?void 0:function(){if(m)return g(!1)},onTransitionEnd:p?h:void 0},a.createElement("img",{src:t,className:"z-0 w-full border-4 border-white shadow-test",alt:""}))},l=function(){return"ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0};!function(e){e.small="small",e.medium="medium",e.ipadPro="ipadPro",e.large="large"}(n||(n={}));var m=function(e,t,i){if(i)switch(e){case n.small:return[{width:40,marginLeft:0,marginTop:0},{width:30,marginLeft:150,marginTop:72},{width:35,marginLeft:85,marginTop:95},{width:20,marginLeft:280,marginTop:20},{width:25,marginLeft:210,marginTop:50}];case n.medium:return[{width:40,marginLeft:0,marginTop:0},{width:30,marginLeft:300,marginTop:150},{width:35,marginLeft:180,marginTop:190},{width:20,marginLeft:550,marginTop:50},{width:25,marginLeft:450,marginTop:100}];case n.ipadPro:return[{width:40,marginLeft:0,marginTop:0},{width:30,marginLeft:400,marginTop:200},{width:35,marginLeft:245,marginTop:270},{width:20,marginLeft:750,marginTop:40},{width:25,marginLeft:600,marginTop:120}];case n.large:return[{width:40,marginLeft:0,marginTop:0},{width:30,marginLeft:520,marginTop:250},{width:35,marginLeft:245,marginTop:330},{width:20,marginLeft:920,marginTop:40},{width:25,marginLeft:780,marginTop:120}]}if(!i)switch(e){case n.small:return[{width:40,marginLeft:0,marginTop:0},{width:30,marginLeft:140,marginTop:70},{width:35,marginLeft:95,marginTop:90},{width:20,marginLeft:190,marginTop:20},{width:25,marginLeft:210,marginTop:45}];case n.medium:return[{width:40,marginLeft:0,marginTop:0},{width:30,marginLeft:200,marginTop:160},{width:35,marginLeft:220,marginTop:200},{width:20,marginLeft:440,marginTop:90},{width:25,marginLeft:480,marginTop:120}];case n.large:return[{width:40,marginLeft:0,marginTop:0},{width:30,marginLeft:400,marginTop:200},{width:35,marginLeft:245,marginTop:250},{width:20,marginLeft:590,marginTop:100},{width:25,marginLeft:650,marginTop:120}]}return[{width:0,marginLeft:0,marginTop:0},{width:0,marginLeft:0,marginTop:0},{width:0,marginLeft:0,marginTop:0},{width:0,marginLeft:0,marginTop:0},{width:0,marginLeft:0,marginTop:0}]},g=function(e){var t=e.imageContainer,i=e.IndexOrOurRoom,l=(0,a.useState)(void 0),g=l[0],o=l[1];return(0,a.useEffect)((function(){var e=function(){window.innerWidth<750&&o(n.small),window.innerWidth<=1023&&window.innerWidth>750&&o(n.medium),window.innerWidth>=1023&&window.innerWidth<=1250&&i&&o(n.ipadPro),window.innerWidth>1023&&!i&&o(n.large),window.innerWidth>1250&&i&&o(n.large)};return e(),window.addEventListener("resize",e),function(){return window.removeEventListener("resize",e)}}),[i]),a.createElement("div",{className:"z-0 w-full pt-64 lg:p-0 "+(i?"mt-44":"lg:mt-20")+" relative sm:pt-0",style:{height:g===n.small?400:g===n.medium?600:(n.large,800)}},g&&t.map((function(e,t){var n=e.collageImageFields.image,l=n.sourceUrl,o=n.mediaDetails;o.width,o.height;return a.createElement(r,{key:t,index:t,src:l,size:m(g,0,i),IndexOrOurRoom:i})})))}},2548:function(e,t,i){i.d(t,{R:function(){return n}});var n={DAY_CALENDAR_HOME:"ff652185-b5a6-4d40-9e91-42405f55dbdc",WEEK_SCHEDULE_HOME:"bbdeba07-7d56-4729-a225-28f4a560c982",COURSE_BOOKING:"bbdeba07-7d56-4729-a225-28f4a560c982",WORKSHOPS:"2684321e-90fe-4c6c-927f-bc57dec87b06",PRICE_CARDS:"e2326a9e-b74b-45cc-83cb-fdb4c43c07e2",VOUCHERS:"86c56e58-cb83-45f6-b187-e173ba1b4945"}},1424:function(e,t,i){i.r(t),i.d(t,{Index:function(){return d},default:function(){return u}});var n=i(7294),a=i(7077),r=i(7191),l=i(8116),m=i(2548),g=i(6227),o=function(e){var t=e.campaigns,i=e.headings;return n.createElement("div",{className:"mx-16 mt-4 flex h-full flex-col items-center bg-white lg:flex lg:w-10/12 lg:flex-row lg:items-start lg:justify-center"},n.createElement(s,{text:i.left,width:"w-7/12"},n.createElement(l.Z,{widgetId:m.R.DAY_CALENDAR_HOME,label:"overview of next courses",className:"z-0 w-full"})),n.createElement("div",{className:"lg:my-18 lg:w-0.5 lg:self-stretch lg:bg-gray-200"}),n.createElement(s,{text:i.right,width:"w-5/12"},t.map((function(e,t){var i=e.fields.content,a=e.title,r=e.slug;return n.createElement(g.v,{key:t,slug:r,title:a,html:(i?i.slice(0,240):"")+"..."})}))))},s=function(e){var t=e.text,i=e.width,a=e.children;return n.createElement("div",{style:{flexBasis:"max-content"},className:"w-full lg:"+i+" z-0 flex flex-col items-center bg-white px-12 lg:pt-12"},n.createElement(c,null,t),a)},c=function(e){var t=e.children;return n.createElement("h3",{className:"mt-10 flex w-full flex-col items-start text-4xl tracking-widest text-homepageMantraText lg:mb-4 lg:mt-3.5 lg:items-center"},t)},f=function(e){var t=e.src,i=e.text;return n.createElement("div",{className:"relative flex w-full flex-grow flex-col items-center lg:mt-20 lg:flex lg:max-w-homepage-image-container lg:flex-row lg:justify-start"},n.createElement("img",{className:"mb-20 flex w-full flex-row justify-center lg:relative lg:z-0 lg:flex lg:w-homepage-image lg:w-full",src:t,alt:""}),n.createElement("div",{className:"font-display flex w-10/12 flex-col items-center px-4 text-homepageMantraText sm:justify-center md:px-0 lg:absolute lg:top-0 lg:right-0 lg:z-30 lg:flex lg:w-homepage-image-box lg:flex-col lg:items-center lg:space-y-8"},n.createElement("h2",{className:"mb-8 w-10/12 text-5xl font-semibold md:text-6xl lg:mb-4 lg:w-7/12 lg:pl-12 lg:pt-14 lg:text-7xl"},i)))},d=function(e){var t=e.data,i=t.cms.page.fields;return n.createElement(a.A,{secondLayout:!1},n.createElement(f,{src:i.image.sourceUrl,text:i.mainheading}),n.createElement(o,{headings:{left:"Unsere heutigen Kurse:",right:"Aktionen"},campaigns:t.cms.campaigns.nodes}),n.createElement(r.D,{imageContainer:t.cms.collageImages.nodes.filter((function(e){return"Homepage"===e.collageImageFields.radiobutton})),IndexOrOurRoom:!0}),n.createElement("div",{className:"mt-0 flex w-full flex-col items-center"},n.createElement("div",{className:"flex flex-col items-center pb-64 md:w-10/12 lg:w-full"}
1,n.createElement(l.Z,{widgetId:m.R.WEEK_SCHEDULE_HOME,label:"week overview of courses",className:"border-1 relative flex w-full flex-row justify-center bg-white pt-52 md:mt-32 lg:w-full lg:px-40 lg:pt-20 lg:pb-12"}))))},u=d}}]); 2//# sourceMappingURL=component---src-pages-index-tsx-8bc9f540d08e5022effc.js.map
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.