PageSourceSearch

https://futurium.de/_next/static/chunks/0sagd_8oreoeu.js

js futurium.de collected 2026-10-01 11:58:09 UTC 8,241 bytes, 169 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,1293,e=>{"use strict";var t=e.i(91398);e.i(91788);var a=e.i(91567),s=e.i(60814);e.i(18952);var r=e.i(16450),i=e.i(88606);let o=e=>{switch(e.shadowSize){case"xxl":return"40px";case"xl":return"30px";case"lg":return"20px";case"md":return"10px";default:return"0px"}},l=e=>{switch(e.shadowSize){case"xxl":return"20px";case"xl":return"15px";case"lg":return"10px";case"md":return"5px";default:return"0px"}},d=s.default.div.withConfig({displayName:"shapedImage.style__StyledShapedImage",componentId:"sc-3043c0a2-0"})`
2  display: block;
3  ${e=>"top"===e.shadowY&&s.css`
4      padding-top: ${l};
5    `};
6  ${e=>"bottom"===e.shadowY&&s.css`
7      padding-bottom: ${l};
8    `};
9
10  ${e=>"right"===e.shadow&&s.css`
11      padding-right: ${l};
12    `};
13  ${e=>"left"===e.shadow&&s.css`
14      padding-left: ${l};
15    `};
16
17  ${(0,r.mq)("m")} {
18    padding-bottom: ${o};
19
20    ${e=>"right"===e.shadow&&s.css`
21        padding-right ${o};
22      `};
23    ${e=>"left"===e.shadow&&s.css`
24        padding-left: ${o};
25      `};
26  }
27
28  .shaped-image__container {
29    position: relative;
30    width: 100%;
31    display: block;
32
33    .shaped-image__background-shape {
34      position: absolute;
35      width: 100%;
36      height: 100%;
37      max-width: 100%;
38      ${e=>"top"===e.shadowY&&s.css`
39          top: -${l};
40        `};
41      ${e=>"bottom"===e.shadowY&&s.css`
42          bottom: -${l};
43        `};
44      ${e=>"left"===e.shadow&&s.css`
45          left: -${l};
46        `};
47      ${e=>"right"===e.shadow&&s.css`
48          right: -${l};
49        `};
50      transform: scale(0.95);
51      ${e=>("useGlobal"===e.colorScheme||!e.colorScheme)&&s.css`
52          background-color: ${e.theme.globalTheme.primary};
53        `}
54      ${e=>e.colorScheme&&"useGlobal"!==e.colorScheme&&s.css`
55          background-color: ${i.colorThemes[e.colorScheme].primary};
56        `}
57      ${e=>e.clipForm&&s.css`
58          clip-path: ${e.clipForm};
59        `};
60
61      ${e=>e.shadow&&e.shadowY&&s.css`
62          transform-origin: ${e.shadowY} ${e.shadow};
63        `};
64
65      ${(0,r.mq)("m")} {
66        ${e=>"top"===e.shadowY&&s.css`
67            top: -${o};
68          `};
69        ${e=>"bottom"===e.shadowY&&s.css`
70            bottom: -${o};
71          `};
72
73        ${e=>"right"===e.shadow&&s.css`
74            right: -${o};
75          `};
76        ${e=>"left"===e.shadow&&s.css`
77            left: -${o};
78          `};
79      }
80    }
81
82    .shaped-image__form {
83      overflow: hidden;
84      max-width: 100%;
85      width: 100%;
86      z-index: 1;
87      position: relative;
88
89      ${e=>e.clipForm&&!e.onlyBackground&&s.css`
90          clip-path: ${e.clipForm};
91        `};
92      ${e=>e.hoverEffect&&s.css`
93          &:hover .shaped-image__item {
94            transform: scale(1.25);
95          }
96        `};
97    }
98    .shaped-image__item {
99      transition: transform 0.5s ease;
100      height: 100%;
101      width: 100%;
102    }
103  }
104`,n=({src:e,srcset:a,sizes:s,alt:r,shadow:i="center",shadowY:o="bottom",shadowSize:l="md",clipForm:n,onlyBackground:c=!1,colorScheme:m,imageClassName:u,hoverEffect:h=!0})=>(0,t.jsx)(d,{hoverEffect:h,colorScheme:m,shadow:i,shadowY:o,shadowSize:l,onlyBackground:c,clipForm:n,children:(0,t.jsxs)("div",{className:"shaped-image__container",children:[(0,t.jsx)("div",{className:"shaped-image__background-shape","aria-hidden":"true"}),(0,t.jsx)("div",{className:"shaped-image__form",children:(0,t.jsx)("img",{loading:"lazy",src:e,srcSet:a,sizes:s,alt:r||"Futurium Berlin",className:`shaped-image__item ${u}`})})]})});n.propTypes={src:a.default.string,srcset:a.default.string,sizes:a.default.string,alt:a.default.string,shadow:a.default.string,shadowY:a.default.string,clipForm:a.default.string,colorScheme:a.default.string,imageClassName:a.default.string,shadowSize:"md",onlyBackground:a.default.bool,hoverEffect:a.default.bool},e.s(["default",0,n],1293)},38493,e=>{"use strict";var t=e.i(91398);e.i(91788);var a=e.i(91567),s=e.i(22276),r=e.i(12908),i=e.i(52819),o=e.i(31833),l=e.i(1293),d=e.i(16540),n=e.i(58963),c=e.i(60814);e.i(18952);var m=e.i(16450),u=e.i(91668),h=e.i(29621),p=e.i(88606);let g=c.default.section.withConfig({displayName:"heroTeaser.style__StyledHeroTeaser",componentId:"sc-6ed39685-0"})`
105  & + & {
106    margin-top: -80px;
107
108    ${(0,m.mq)("m")} {
109      margin-top: -150px;
110    }
111  }
112
113  .teaser__shape {
114    margin-bottom: -2px;
115    clip-path: polygon(6% 0, 98% 40%, 100% 100%, 0 100%, 2% 26%);
116
117    ${e=>
117e.useBackground&&e.colorScheme&&c.css`
118        height: 80px;
119        background-color: ${e.accessibilityDefaultTheme?e.theme.siteTheme.secondary:p.colorThemes[e.colorScheme].secondary};
120      `};
121  }
122
123  .teaser__section {
124    padding: ${(0,m.px2rem)("40px")} 0 ${(0,m.px2rem)("120px")} 0;
125    ${(0,m.mq)("m")} {
126      padding: ${(0,m.px2rem)("50px")} 0 ${(0,m.px2rem)("170px")} 0;
127    }
128    ${e=>e.useBackground&&e.colorScheme&&c.css`
129        background-color: ${e.accessibilityDefaultTheme?e.theme.siteTheme.secondary:p.colorThemes[e.colorScheme].secondary};
130      `};
131  }
132  .teaser__container {
133    ${(0,u.gridContainer)()}
134    ${(0,u.setGridColumns)("1fr",1)}
135    gap: 20px;
136
137    ${(0,m.mq)("m")} {
138      ${(0,u.setGridColumns)("1fr",2)}
139    }
140
141    .teaser__content {
142      max-width: 580px;
143      justify-content: center;
144      display: flex;
145      flex-direction: column;
146
147      ${(0,m.mq)("m")} {
148        padding-right: 60px;
149      }
150
151      .teaser__subline {
152        max-width: 390px;
153      }
154      .teaser__headline {
155        margin-bottom: ${(0,h.getSpace)("xs")};
156      }
157      .teaser__copy {
158        margin-bottom: ${(0,h.getSpace)("xs")};
159      }
160    }
161
162    .teaser__image-item {
163      aspect-ratio: 4/3;
164      object-fit: cover;
165    }
166  }
167`,f=({data:e={featuredContentUseBackground:!0,featuredContent:{introCopy:"",uri:"",subline:"",titleImage:null,teaserImage:null,gomusEvent:null}},accessibilityDefaultTheme:a})=>{let s=(0,i.useTranslations)();if(!e.featuredContent?.[0])return null;let{title:c,titleImage:m,teaserImage:u,headline:h,subline:p,introCopy:f,uri:$,gomusEvent:x}=e.featuredContent[0],_=x?.[0],b=((...e)=>e.filter(Boolean).flat().find(e=>e?.url)??null)(_?.teaserImage,_?.titleImage,u,m);return(0,t.jsxs)(g,{colorScheme:e.featuredContentColorTheme,useBackground:e.featuredContentUseBackground,accessibilityDefaultTheme:a,"aria-label":c||"",children:[(0,t.jsx)("div",{className:"teaser__shape"}),(0,t.jsx)("div",{className:"teaser__section",children:(0,t.jsx)(r.default,{large:!0,children:(0,t.jsxs)("div",{className:"teaser__container",children:[(0,t.jsxs)("div",{className:"teaser__content",children:[p&&(0,t.jsx)(o.default,{tag:"span",subline:!0,className:"teaser__subline",children:p}),(h||c)&&(0,t.jsx)(o.default,{className:"teaser__headline",primary:!0,children:h||c}),f&&(0,t.jsx)(n.default,{className:"teaser__copy",fullWidth:!0,html:f.length>200?`${f.substring(0,200)}...`:f}),$&&(0,t.jsx)(d.default,{href:$,srTitle:p?`${s("learnMoreAbout")}"${p}"`:s("learnMore")})]}),(0,t.jsx)("div",{className:"teaser__image",children:b?.url&&(0,t.jsx)(l.default,{imageClassName:"teaser__image-item",onlyBackground:!0,clipForm:"polygon(80% 0, 100% 31%, 78% 95%, 0 100%, 0 0)",shadowSize:"xl",shadow:"right",colorScheme:e.featuredContentColorTheme,alt:b.alt||c,src:b.url,srcset:b.srcset,sizes:"(min-width: 768px) 50vw, 100vw"})})]})})})]})};f.propTypes={data:a.default.shape({featuredContentColorTheme:a.default.string.isRequired,featuredContentUseBackground:a.default.bool,featuredContent:a.default.arrayOf(a.default.shape({title:a.default.string.isRequired,subline:a.default.string,introCopy:a.default.string,uri:a.default.string,titleImage:a.default.arrayOf({url:a.default.string,height:a.default.oneOfType([a.default.string,a.default.number]),width:a.default.oneOfType([a.default.string,a.default.number])}),teaserImage:a.default.arrayOf({url:a.default.string,height:a.default.oneOfType([a.default.string,a.default.number]),width:a.default.oneOfType([a.default.string,a.default.number])})}))}),accessibilityDefaultTheme:a.default.string.isRequired};let $=(0,s.connect)(e=>({accessibilityDefaultTheme:e.accessibility.defaultTheme}))(f);e.s(["default",0,$],38493)},6842,e=>{e.n(e.i(38493))}]);
168
169//# sourceMappingURL=091rllh73kaej.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.