(window.webpackJsonp=window.webpackJsonp||[]).push([[313],{SDD4:function(t,n,e){"use strict";e.r(n),e.d(n,"FooterGlobalAccredditationsIcons",(function(){return E}));var i,a,l,o,c,r,d,u,s,b=e("KD1n"),g=e("ERkP"),m=e("1U1M"),p=e("6QEl"),h=e("jiAW"),f=e("jt0n"),j=e("h/Sv"),v=e("dNoy"),O=e("H5qd"),w=e.n(O)()(i||(i=Object(b.a)(["\n query footerWidget {\n footer {\n widgets {\n id\n __typename\n ... on GlobalFooterAccreditationIcons {\n id\n image1\n image1Alt\n image1Href\n subtitle1\n image2\n image2Href\n Image2Alt\n subtitle2\n image3\n Image3Href\n Image3Alt\n subtitle3\n }\n }\n }\n }\n"]))),x=g.createElement,k=p.c.div(a||(a=Object(b.a)(["\n background-color: ",";\n width: 100%;\n display: flex;\n justify-content: center;\n"])),(function(t){return t.theme.colors.palette.greys.white})),y=p.c.div(l||(l=Object(b.a)(["\n background-color: ",";\n max-width: 1440px;\n display: flex;\n flex-wrap: wrap;\n justify-content: center;\n align-items: center;\n padding: "," "," "," ",";\n width: 100%;\n height: auto;\n "," {\n height: 228px;\n padding: "," "," "," ",";\n }\n"])),(function(t){return t.theme.surface.style.backgroundColor}),Object(h.i)(1),Object(h.i)(3),Object(h.i)(4),Object(h.i)(3),(function(t){return Object(f.d)(t.theme.breakpointUtils.map,"lg")}),Object(h.i)(1),Object(h.i)(1),Object(h.i)(4),Object(h.i)(1)),A=p.c.div(o||(o=Object(b.a)(["\n flex: 0 0 calc(50% - ",");\n margin: ",";\n "," {\n flex: 0 0 calc(25% - ",");\n }\n"])),Object(h.i)(4),Object(h.i)(2),(function(t){return Object(f.d)(t.theme.breakpointUtils.map,"md")}),Object(h.i)(4)),I=p.c.img(c||(c=Object(b.a)(["\n max-width: 100%;\n margin: auto;\n"]))),H=p.c.a(r||(r=Object(b.a)(["\n width: 100%;\n height: 100%;\n display: flex;\n :focus {\n outline-color: ",";\n }\n"])),(function(t){return t.theme.colors.palette.brand.base})),U=p.c.div(d||(d=Object(b.a)(["\n height: auto;\n "," {\n height: 140px;\n }\n"])),(function(t){return Object(f.d)(t.theme.breakpointUtils.map,"lg")})),B=Object(p.c)(j.a)(u||(u=Object(b.a)(["\n display: flex;\n justify-content: center;\n padding-top: ",";\n max-width: 100px;\n margin: 0 auto;\n "," {\n padding-top: 0;\n }\n"])),Object(h.i)(2),(function(t){return Object(f.d)(t.theme.breakpointUtils.map,"md")})),D=p.c.div(s||(s=Object(b.a)(["\n display: block;\n border-collapse: collapse;\n box-sizing: border-box;\n text-align: center;\n width: auto;\n height: 100%;\n align-items: center;\n margin: auto 0;\n"]))),E=function(){var t=Object(m.d)(w).data;return x(Q,{widgetQueryResult:t})},L=function(t){return x(A,{"data-testid":"accreditation-link-wrapper-0"},x(B,{templateId:t.templateId,link:t.link,height:t.height,width:"".concat(t.width,"%"),trustBoxTheme:t.theme,locale:t.locale,businessId:t.businessId}))},Q=function(t){var n,e=t.widgetQueryResult,i=Object(v.g)().trustPilot,a=null===e||void 0===e?void 0:null===(n=e.footer)||void 0===n?void 0:n.widgets[0];return a||(null===i||void 0===i?void 0:i.enableTrustBox)?x(k,null,x(y,null,(null===i||void 0===i?void 0:i.enableTrustBox)&&x(L,i),(null===a||void 0===a?void 0:a.image1)&&x(A,{"data-testid":"accreditation-link-wrapper-1"},x(U,null,x(H,{href:a.image1Href||""},x(I,{src:a.image1,alt:a.image1Alt||"AccreditationLogo1"}))),(null===a||void 0===a?void 0:a.subtitle1)&&x(D,null,a.subtitle1)),(null===a||void 0===a?void 0:a.image2)&&x(A,{"data-testid":"accreditation-link-wrapper-2"},x(U,null,x(H,{href:a.image2Href||""},x(I,{src:a.image2,alt:a.Image2Alt||"AccreditationLogo2"}))),(null===a||void 0===a?void 0:a.subtitle2)&&x(D,null,a.subtitle2)),(null===a||void 0===a?void 0:a.image3)&&x(A,{"data-testid":"accreditation-link-wrapper-3"},x(U,null,x(H,{href:a.Image3Href||""},x(I,{src:a.image3,alt:a.Image3Alt||"AccreditationLogo3"}))),(null===a||void 0===a?void 0:a.subtitle3)&&x(D,null,a.subtitle3)))):null}}}]); //# sourceMappingURL=313.6f31480556eb5fdbfb35.js.map