1"use strict";(self.webpackChunkMO=self.webpackChunkMO||[]).push([[6778],{97223:(a,r,t)=>{t.r(r),t.d(r,{CardInformationBlock:()=>B,default:()=>C});var o=t(89526),e=t(32772),n=t(13948),l=t(95898),i=t(2323),d=t(56800),c=t(48137),m=t(88762),u=t(62248),s=t(81459),k=t(10260),p=t(35374),g=t(53586),y=t(95079);const f=(0,e.Z)((a=>({linkWithIcon:r=>({display:"flex",alignItems:"center",color:r.data?.fullBackgroundVersion.value?a?.cardInformationBlock?.darkModeTextColor||a?.colorCard?.background||a.palette?.primary?.contrastText:a.colorCard?.primary||a.palette?.primary?.main}),tetriaryButton:r=>({textDecoration:a.tetriaryLink?.underlined?"underline":"none",color:r.data?.fullBackgroundVersion?.value?a?.cardInformationBlock?.darkModeTextColor||a?.colorCard?.background||a.palette?.primary?.contrastText:a.colorCard?.primary||a.palette?.primary?.main,...a.customStyling?.global?.tetriaryButton}),icon:{fontSize:"1rem",width:40,height:40,marginTop:"auto",marginBottom:"auto"},iconImage:{width:40,marginTop:5},headerwrapper:r=>({display:"flex",flexDirection:"row",backgroundColor:a?.cardInformationBlock?.backgroundColor||a.colorCard?.primary||a.palette?.primary?.main,color:a?.cardInformationBlock?.darkModeTextColor||a.colorCard?.background||a.palette?.primary?.contrastText,alignContent:"center",height:r.data?.fullBackgroundVersion?.value?88:72,paddingLeft:24,padding:0,...a.customStyling?.CardInformationBlock?.headerwrapper}),link:r=>({paddingLeft:24,paddingRight:24,paddingTop:0,paddingBottom:40,justifyContent:r.data.icon?.value?.url?"start":"center","& a":{color:r.data?.fullBackgroundVersion?.value?a?.cardInformationBlock?.darkModeTextColor||a?.colorCard?.background||a.palette?.primary?.contrastText:a.colorCard?.primary||a.palette?.primary?.main,"&:hover":{color:r.data?.fullBackgroundVersion?.value?a?.cardInformationBlock?.darkModeHover||a?.customStyling?.CardInformationBlock?.darkModeHover||a.colorCard?.tetriaryHover||a.palette.primary.main:a.colorCard?.tetriaryHover||a.palette.primary.main}},"& .MuiButton-outlined":{borderColor:r.data?.fullBackgroundVersion?.value?a?.cardInformationBlock?.darkModeTextColor||a?.colorCard?.background||a.palette?.primary?.contrastText:a.colorCard?.primary||a.palette?.primary?.main},...a.customStyling?.CardInformationBlock?.link}),header:{color:"#FFFFFF",marginTop:"auto",marginBottom:"auto",...a.customStyling?.CardInformationBlock?.header},innerBody:r=>({"& p":{marginTop:0,paddingBottom:0,marginBottom:0},color:r.data?.fullBackgroundVersion.value?a?.cardInformationBlock?.darkModeTextColor||a?.colorCard?.background||a.palette?.primary?.contrastText:a?.colorCard?.bodyText||a?.palette?.text?.primary,...a.customStyling?.CardInformationBlock?.innerBody}),cardText:{marginBottom:0,paddingBottom:0},cardLink:r=>({justifySelf:"end",marginTop:"auto",...r.data.fullBackgroundVersion.value?a.customStyling?.CardInformationBlock?.cardLinkInversed:a.customStyling?.CardInformationBlock?.cardLink,"& a":{...a.customStyling?.CardInformationBlock?.cardLink?.linkWithIcon},"& svg":{...a.customStyling?.CardInformationBlock?.cardLink?.icon}}),cardContent:r=>({padding:24,paddingBottom:32,paddingTop:r.data?.fullBackgroundVersion?.value?0:24,...a.customStyling?.CardInformationBlock?.cardContent}),teaserGrid:r=>({display:"flex",flexDirection:"column",height:`calc(100% - ${r.data?.fullBackgroundVersion?.value?"88px":"72px"})`,backgroundColor:r.data.fullBackgroundVersion.value?a?.cardInformationBlock?.backgroundColor||a.colorCard?.primary||a.palette?.primary?.main:"transprent",...r.data.fullBackgroundVersion.value?a.customStyling?.CardInformationBlock?.teaserGridInversed:a.customStyling?.CardInformationBlock?.teaserGrid}),headerwithouticon:{color:"#FFFFFF",margin:"auto"},rootWrap:a=>({maxWidth:400,width:"100%",textAlign:a.data.icon?.value?.url?"start":"center"}),root:{maxWidth:"100vh",borderRadius:0,boxShadow:"none",marginTop:0,height:"100%",border:`1px solid ${a.colorCard?.dividerLine||a.palette?.divider}`,background:a.colorCard?.background||a.palette?.background?.default,...a.customStyling?.CardInformationBlock?.root},button:{...a.customStyling?.CardInformationBlock?.button}}))),B=a=>{const r=f(a);return o.createElement(i.Z,{className:r.rootWrap},o.createElement(d.Z,{className:r.root},o.createElement(c.Z,Object.assign({className:r.headerwrapper},a.data.anchor&&{id:a.data.anchor?.value},{avatar:a.data.icon.value?.url&&o.createElement(m.Z,{className:r.icon},o.createElement("img",{src:a.data.icon?.value?.url,alt:"",className:r.iconImage})),title:o.createElement(u.Z,{variant:"h3",component:"h3",className:r.header,dangerouslySetInnerHTML:{__html:a.data.header.value}})})),o.createElement(s.Z,{container:!0,className:r.teaserGrid},o.createElement(s.Z,{item:!0,className:r.cardText},o.createElement(k.Z,{className:r.cardContent},o.createElement(u.Z,{variant:"body1",color:"textSecondary",component:"p",className:r.innerBody,dangerouslySetInnerHTML:{__html:a.data.text.value}}))),o.createElement(s.Z,{item:!0,className:r.cardLink},o.createElement(p.Z,{className:r.link},function(t){switch(t){case y.Iu.Link:return o.createElement(n.Z,{href:a.data.link.value,className:r.tetriaryButton},a.data.bottomLinkText.value);case y.Iu.Button:return o.createElement(l.Z,{variant:"outlined",href:a.data.link.value,className:r.button},a.data.bottomLinkText.value);case y.Iu.LinkWithIcon:case y.Iu.LinkWithArrow:return o.createElement(g.default,{link:{url:a.data.link.value,text:a.data.bottomLinkText.value}})}}(a.data.bottomLinkType.value))))))},C=B}}]); 2//# sourceMappingURL=components.block.cardinformationblock.69b36d6a.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.