"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5345],{65345:function(t,e,n){n.r(e),n.d(e,{ImageCardSetRenderer:function(){return Y}});var r,o,i,l,a,c,d,u,s,g,m,p=n(95235),h=n(2784),v=n(58406),f=n(28885),b=n(24986),y=n(91849),x=n(21377),O=n(93781),w=n(7328),S=n(11006),P=n(48840),j=n(87330),C=n(60299),T=n(92526),z=n(50556),A=n(51339),k=n(57209),B=n(4626),Z=S.zo.div(r||(r=(0,w.Z)(["\n width: 100%;\n max-width: ",";\n margin: auto;\n padding: "," ",";\n margin-bottom: ",";\n"])),function(t){return t.theme.site.siteWidth},(0,P.W0)(1),(0,P.W0)(3),(0,P.W0)(3)),W=(0,S.zo)(k.r)(o||(o=(0,w.Z)(["\n width: 100%;\n ","\n ","\n height: ",";\n"])),function(t){return"TextUnder"===t.cardType&&"grid: none; display:flex; flex-direction: column;"},function(t){return t.noGridGap&&"grid-gap: 0px;"},function(t){return t.theme.widget.imageCardSet.card.height?t.theme.widget.imageCardSet.card.height:"auto"}),D=S.zo.a(i||(i=(0,w.Z)(["\n text-decoration: none;\n display: block;\n height: ",";\n\n &:focus-visible {\n outline: none;\n border: 2px solid ",";\n\n h2 {\n border: 2px solid ",";\n margin: -"," -"," ",";\n }\n }\n"])),function(t){return t.theme.widget.imageCardSet.height?t.theme.widget.imageCardSet.height:"auto"},function(t){return t.theme.colors.palette.brand.base},function(t){return t.theme.colors.palette.brand.base},(0,P.W0)(.25),(0,P.W0)(.25),(0,P.W0)(.75)),E=S.zo.h2(l||(l=(0,w.Z)(["\n ",";\n text-align: ",";\n ","\n"])),function(t){return(0,j.xv)(t.theme.widget.imageCardSet.title.font.entry,t.theme.widget.imageCardSet.title.font.style,t.theme.widget.imageCardSet.title.font.hasScaledText)},function(t){return t.horizontalAlignment||"center"},function(t){return(0,C.e)(t.theme.widget.imageCardSet.title.margin)}),G=S.zo.h2(a||(a=(0,w.Z)(["\n ",";\n margin-bottom: ",";\n text-align: ",";\n"])),function(t){return(0,j.xv)(t.theme.widget.imageCardSet.subtitle.font.entry,t.theme.widget.imageCardSet.subtitle.font.style)},function(t){return t.marginBottom?"".concat(t.marginBottom,"px"):(0,P.W0)(3)},function(t){return t.horizontalAlignment||"center"}),F=S.zo.div(c||(c=(0,w.Z)(["\n height: max-content;\n"]))),I=(0,S.zo)(B.P)(d||(d=(0,w.Z)(["\n margin: 0;\n"]))),U=(0,S.zo)(B.P)(u||(u=(0,w.Z)(["\n display: flex;\n flex-direction: column;\n margin: 0;\n ","\n z-index: 1;\n text-align: ",";\n justify-content: ",";\n ","\n ","\n"])),function(t){return t.theme.widget.imageCardSet.card.title.padding?(0,T.o)(t.theme.widget.imageCardSet.card.title.padding):"padding: ".concat((0,P.W0)(3)," ").concat((0,P.W0)(2),";")},function(t){return t.horizontalAlignment},function(t){var e,n;return"middle"===t.verticalAlignment?"center":"bottom"===t.verticalAlignment?"end":null!==(e=null===(n=t.theme.widget.imageCardSet.card.alignment)||void 0===n?void 0:n.column.justifyContent)&&void 0!==e?e:"start"},function(t){return"TextUnder"===t.cardType&&"height: 100%;"},function(t){var e;return"TextUnder"===t.cardType&&t.displayBorder&&"border: solid 1px ".concat(null!==(e=t.theme.widget.imageCardSet.card.borderColour)&&void 0!==e?e:t.theme.colors.palette.greys.lighter,";")}),_=S.zo.h2(s||(s=(0,w.Z)(["\n ",";\n text-transform: ",";\n margin-bottom: ",";\n color: ",";\n"])),function(t){return(0,j.xv)(t.theme.widget.imageCardSet.card.title.font.entry,t.theme.widget.imageCardSet.card.title.font.style)},function(t){return t.theme.widget.imageCardSet.card.title.font.transform||"none"},function(t){return t.marginBottom?"".concat(t.marginBottom,"px"):(0,P.W0)(1)},function(t){return"light"===t.textColor?t.theme.colors.palette.greys.white:t.theme.colors.palette.greys.darker}),L=(0,S.zo)(z.T)(g||(g=(0,w.Z)(["\n ",";\n margin-bottom: ",";\n color: ",";\n"])),function(t){return(0,j.xv)(t.theme.widget.imageCardSet.card.subtitle.font.entry,t.theme.widget.imageCardSet.card.subtitle.font.style)},function(t){return t.marginBottom?"".concat(t.marginBottom,"px"):(0,P.W0)(2)},function(t){return"light"===t.textColor?t.theme.colors.palette.greys.white:t.theme.colors.palette.greys.darker}),N=(0,S.zo)(A.zx)(m||(m=(0,w.Z)(["\n margin-top: ",";\n align-self: ",";\n"])),(0,P.W0)(2),function(t){return"left"===t.horizontalAlignment?"start":"right"===t.horizontalAlignment?"end":"center"}),R=n(52322);function q(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}var J=(0,O.Rq)("href",D),H=function(t){var e,n,r,o,i,l,a,c,d,u,s,g,m,v,f,b,y,O,w,S,P=!!(null===(e=t.contentProps)||void 0===e||null===(e=e.cta)||void 0===e||null===(e=e.text)||void 0===e?void 0:e.trim()),j=!!(null===(n=t.contentProps)||void 0===n||null===(n=n.title)||void 0===n||null===(n=n.text)||void 0===n?void 0:n.trim()),C=!!(null===(r=t.contentProps)||void 0===r||null===(r=r.subtitle)||void 0===r||null===(r=r.text)||void 0===r?void 0:r.trim()),T=(0,R.jsxs)(W,{rows:"TextOver"===t.cardType?1:2,columns:1,rowGap:0,cardType:t.cardType,"data-testid":"image-".concat(t.cardType),noGridGap:t.noGridGap,children:[(0,R.jsx)(I,{rowStart:1,colStart:1,children:(0,R.jsx)(x.t,function(t){for(var e=1;e