1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4479],{24479:function(l,e,o){o.r(e),o.d(e,{DesktopBanner:function(){return x},getOpacity:function(){return p}});var t=o(86010),r=o(67294),n=o(38732),i=o(40433),a=o(21365),d=o(16523),u=o(45791),c=o(4898),s=o(40201),v=o(85893),p=function(l){return l<100?".".concat(Number(l)):"1"},x=(0,r.memo)((function(l){var e=l.desktopImageColorOverlay,o=l.desktopImage,x=l.desktopImageCta,g=l.textAlignment,f=l.desktopUpperTitle,b=l.desktopTitle,m=l.desktopSubTitle,k=l.cta,h=l.desktopBackgroundColor,y=l.bottomMargin,j=l.desktopBadge,C=l.loaded,N=l.onLoaded,Z=(null===e||void 0===e?void 0:e.color)&&(null===e||void 0===e?void 0:e.opacity)&&"rgba(".concat((0,s.oo)(e.color),", ").concat(p(e.opacity),")");return(0,v.jsxs)("div",{className:(0,t.Z)("relative h-full w-full",{"mb-10":40===y}),"data-testid":"desktopBanner",children:[!(null===o||void 0===o||!o.url)&&(0,v.jsx)(n.E,{src:o.url,alt:(null===o||void 0===o?void 0:o.description)||"desktop banner",priority:!0,layout:"fill",isBanner:!0,onLoadingComplete:N}),(0,v.jsx)("div",{style:{background:null!==e&&void 0!==e&&e.color&&null!==e&&void 0!==e&&e.opacity?Z:"transparent",backgroundColor:null!==o&&void 0!==o&&o.url?"none":h},className:(0,t.Z)("top-0 h-full w-full",{absolute:(null===o||void 0===o?void 0:o.url)&&C,"py-10":!(null!==o&&void 0!==o&&o.url)}),children:(0,v.jsxs)("div",{className:(0,t.Z)("mx-auto my-0 h-full w-full items-center py-0",{"grid-cols-3 lg:grid":(null===j||void 0===j?void 0:j.text)&&(null===j||void 0===j?void 0:j.color)&&(null===j||void 0===j?void 0:j.backgroundColor),"px-[11.25%]":null===o||void 0===o?void 0:o.url}),children:["left"===(null===j||void 0===j?void 0:j.alignment)&&(0,v.jsx)("div",{className:(0,t.Z)("col-start-1 flex flex-col",{"flex items-center justify-center":"rounded"===(null===j||void 0===j?void 0:j.type),"h-full items-center":"upper"===(null===j||void 0===j?void 0:j.type)}),children:!(null===j||void 0===j||!j.text)&&!(null===j||void 0===j||!j.color)&&!(null===j||void 0===j||!j.backgroundColor)&&(0,v.jsx)(i._,{kind:"upper"===(null===j||void 0===j?void 0:j.type)?"top banner":"regular banner",label:j.text,labelColor:j.color,badgeColor:j.backgroundColor,className:"text-center uppercase",cursor:"pointer",tag:j.tag})}),(0,v.jsxs)("div",{className:(0,t.Z)("col-span-1 flex cursor-default flex-col justify-center",{"col-start-1 items-start":"left"===g,"col-start-2 items-center":"center"===g,"col-start-3 items-end":"right"===g,"h-full":!(null!==j&&void 0!==j&&j.text)||!(null!==j&&void 0!==j&&j.color)||!(null!==j&&void 0!==j&&j.backgroundColor),"h-fit":!(null!==o&&void 0!==o&&o.url)}),children:[!(null===f||void 0===f||!f.text)&&!(null===f||void 0===f||!f.color)&&(0,v.jsx)(i._,{kind:"upper title",label:f.text,labelColor:f.color,badgeColor:f.background,tag:f.tag,className:(0,t.Z)("text-center normal-case",{"px-0":!f.background})}),!(null===b||void 0===b||!b.text)&&!!b.color&&(0,v.jsx)(a.j,{style:{color:b.color},className:(0,t.Z)("text-5.5xl font-black",{"text-center":"center"===g,"text-left":"left"===g||!g,"text-right":"right"===g}),tag:b.tag||"p",children:b.text.split("\n").map((function(l,e){return l.length?(0,v.jsxs)(r.Fragment,{children:[l,(0,v.jsx)("br",{})]},l):(0,v.jsx)("br",{className:"h-12"},"".concat(l).concat(e))}))}),!(null===m||void 0===m||!m.text)&&!(null===m||void 0===m||!m.color)&&(0,v.jsx)(d.Rte,{style:{color:m.color,textAlign:g},className:"rte pt-3 pb-4 text-2xl",json:m.text}),!(null===k||void 0===k||!k.link)&&!(null===k||void 0===k||!k.buttonText)&&(0,v.jsx)(u.x,{href:k.link,ariaLabel:k.buttonText,aClassName:"z-20",children:(0,v.jsx)(c.z,{as:"div",size:"default",type:"rounded",kind:"primary",uppercase:!1,children:k.buttonText})})]}),"right"===(null===j||void 0===j?void 0:j.alignment)&&(0,v.jsx)("div",{className:(0,t.Z)("col-start-3 flex flex-col ",{"flex items-center justify-center":"rounded"===(null===j||void 0===j?void 0:j.type),"h-full items-center":"upper"===(null===j||void 0===j?void 0:j.type)}),children:!(null===j||void 0===j||!j.text)&&!(null===j||void 0===j||!j.color)&&!(null===j||void 0===j||!j.backgroundColor)&&(0,v.jsx)(i._,{kind:"upper"===(null===j||void 0===j?void 0:j.type)?"top banner":"regular banner",label:j.text,labelColor:j.color,badgeColor:j.backgroundColor,className:"text-center uppercase",cursor:"pointer",tag:j.tag})})]})}),!(null===x||void 0===x||!x.href)&&(0,v.jsx)(u.x,{href:x.href,ariaLabel:x.title||"DesktopBanner",aClassName:"absolute top-0 h-full w-full"})]})}))}}]);
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.