1"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[2268],{89887:function(e,n,t){t.r(n);t(47012),t(34204),t(35978),t(81621),t(22369),t(45503),t(61773),t(1075),t(51343),t(32195),t(90937),t(1623),t(93577),t(75755),t(76277),t(23e3),t(93142),t(15615),t(31538),t(43041),t(48691),t(28835),t(59016),t(96965),t(40464),t(16481),t(97021),t(82336);var i=t(41594),o=t.n(i),r=t(17191),l=t(68217),a=t(74895),d=t(50804),c=t(96894),u=t(26306),s=t(46560),v=t(69354),g=t(19279),m=t(11713),p=t(18797),b=t(72190),f=t(3464),h=t(40115),k=t(81343),_=t(31560);function y(e){return y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},y(e)}function w(e,n){return function(e){if(Array.isArray(e))return e}(e)||function(e,n){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var i,o,r,l,a=[],d=!0,c=!1;try{if(r=(t=t.call(e)).next,0===n){if(Object(t)!==t)return;d=!1}else for(;!(d=(i=r.call(t)).done)&&(a.push(i.value),a.length!==n);d=!0);}catch(e){c=!0,o=e}finally{try{if(!d&&null!=t.return&&(l=t.return(),Object(l)!==l))return}finally{if(c)throw o}}return a}}(e,n)||function(e,n){if(e){if("string"==typeof e)return x(e,n);var t={}.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?x(e,n):void 0}}(e,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function x(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,i=Array(n);t<n;t++)i[t]=e[t];return i}function S(e,n,t){return(n=function(e){var n=function(e,n){if("object"!=y(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var i=t.call(e,n||"default");if("object"!=y(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(e)}(e,"string");return"symbol"==y(n)?n:n+""}(n))in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}var C=function(e,n){var t,i=null===e||void 0===e||null===(t=e.filter(function(e){return"border"===Object.keys(e)[0]})[0])||void 0===t?void 0:t.border,o=null===i||void 0===i?void 0:i.circular_panel;if(o){if("desktop"===n)return"".concat(o.circle_height_desktop,"px");if("mobile"===n)return"".concat(o.circle_height_mobile,"px")}return"auto"},E=function(e,n){var t,i,o=null===e||void 0===e||null===(t=e.filter(function(e){return"width"===Object.keys(e)[0]})[0])||void 0===t?void 0:t.width,r=null===e||void 0===e||null===(i=e.filter(function(e){return"border"===Object.keys(e)[0]})[0])||void 0===i?void 0:i.border,l=null===r||void 0===r?void 0:r.circular_panel;if(!o)return null;var a="Percentage"===o.unit?"%":"px",d="35%";switch(n){case"desktop":case"tablet":d=null!==l&&void 0!==l&&l.make_circle?"".concat(null===l||void 0===l?void 0:l.circle_height_desktop,"px"):"".concat(o.max_width_desktop).concat(a);break;case"mobile":d=null!==l&&void 0!==l&&l.make_circle?"".concat(null===l||void 0===l?void 0:l.circle_height_mobile,"px"):"".concat(o.max_width_mobile).concat(a);break;default:return"35%"}return d},A=function(e,n,t){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:600,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1100;return e>=o?t:e<=i?n:n+(e-i)/(o-i)*(t-n)},M=function(e){var n={};return e&&Array.isArray(e)?(e.forEach(function(e){var t,i,o,r,l,a,d,c,u,s,v,g,m,b,f,k=Object.keys(e)[0];switch(k){case"message_alignment":n.textAlign=e[k].text_align;break;case"margin":n.marginTop=null===(t=e[k])||void 0===t?void 0:t.top,n.marginBottom=null===(i=e[k])||void 0===i?void 0:i.bottom,n.marginLeft=null===(o=e[k])||void 0===o?void 0:o.left,n.marginRight=null===(r=e[k])||void 0===r?void 0:r.right;break;case"padding":n.paddingTop=null===(l=e[k])||void 0===l?void 0:l.top,n.paddingRight=null===(a=e[k])||void 0===a?void 0:a.right,n.paddingBottom=null===(d=e[k])||void 0===d?void 0:d.bottom,n.paddingLeft=null===(c=e[k])||void 0===c?void 0:c.left;break;case"bg_color":var _,y,w;if(null!==(u=e[k])&&void 0!==u&&u.background_opacity)n.backgroundColor=(0,p.A)(null===(_=e[k])||void 0===_?void 0:_.color.color,null===(y=e[k])||void 0===y?void 0:y.background_opacity);else n.backgroundColor=null===(w=e[k])||void 0===w?void 0:w.color.color;break;case"border":n.border="".concat("".concat(null===(s=e[k])||void 0===s?void 0:s.width,"px")," ",(0,h.A)(null===(v=e[k])||void 0===v?void 0:v.color)," ").concat(null===(g=e[k])||void 0===g?void 0:g.style),n.borderRadius="".concat("pixel"===(null===(m=e[k])||void 0===m||null===(m=m.unit)||void 0===m?void 0:m.toLowerCase())?"".concat(null===(b=e[k])||void 0===b?void 0:b.border_radius,"px"):"".concat(null===(f=e[k])||void 0===f?void 0:f.border_radius,"%"))}}),n):null},j=(0,l.A)(function(e){return{topContainer:function(e){var n=e.removeBottomMargin;return{maxWidth:e.displayFullWidth?"100%":"1440px",margin:n?"0 auto":"2rem auto"}}
1,topContainerWithGrid:function(e){return{maxWidth:e.displayFullWidth?"100%":"1440px",margin:"0 auto",width:"100%"}},link:{textDecoration:"none",color:"#2f2f2f"},heroContainer:function(n){var t=n.justifyMsgContent,i=n.bgImgPosition,o=n.minHeight,r=n.mobileMinHeight,l=n.imageUrl,a=n.makeCircle;return S(S(S({display:"flex",maxWidth:n.displayFullWidth?"100%":"1400px",margin:"0 auto",justifyContent:"".concat(t),alignItems:a?"center":"inherit",backgroundImage:"url(".concat(l,"?auto=webp), linear-gradient(270deg, #E7EDF1, #F2F8FC, #E7EDF1)"),backgroundSize:"cover",backgroundPositionX:i},e.breakpoints.up(1200),{minHeight:o?"".concat(o,"px"):"600px"}),e.breakpoints.down(1200),{minHeight:(r+o)/2}),e.breakpoints.down(600),{minHeight:r})},heroContainerWithGrid:function(n){var t=n.justifyMsgContent,i=n.bgImgPosition,o=n.minHeight,r=n.mobileMinHeight,l=n.imageUrl,a=n.makeCircle;return S(S(S({display:"flex",maxWidth:n.displayFullWidth?"100%":"1400px",margin:"0 auto",justifyContent:"".concat(t),alignItems:a?"center":"inherit",backgroundImage:"url(".concat(l,"?auto=webp), linear-gradient(270deg, #E7EDF1, #F2F8FC, #E7EDF1)"),backgroundSize:"cover",backgroundPositionX:i},e.breakpoints.up(1200),{minHeight:o?"".concat(o,"px"):"600px"}),e.breakpoints.down(1200),{minHeight:(r+o)/2}),e.breakpoints.down(600),{minHeight:r,width:"100%"})},messageContainer:function(n){var t,i=n.getMessageColor,o=n.genMsgStylesData;return S(S(S(S(S({display:"flex",position:"relative",flexDirection:"column",justifyContent:"center",textAlign:"center"},e.breakpoints.down(900),{padding:"".concat(A(900,5,30),"px")}),"height",C(o,"desktop")||"auto"),"& button",S({alignSelf:"center"},e.breakpoints.down(890),{fontSize:"clamp(1.6em, 1.7vw, 1em) !important"})),e.breakpoints.down(600),{padding:"clamp(5px, 1.5vw, 30px) !important",height:C(o,"mobile")||"auto"}),"& *",{opacity:"1",color:"".concat((0,h.A)(null===i||void 0===i||null===(t=i.color)||void 0===t?void 0:t.message_copy_color))})},generalMessageStylesParsed:function(e){var n=e.genMsgStylesData;return M(n)},copyStylesParsed:function(e){var n=e.item;return M(n)},messageWidth:function(n){var t,i=n.genMsgStylesData;return S(S(S({maxWidth:null===i||void 0===i||null===(t=i.width)||void 0===t?void 0:t.max_width_desktop},e.breakpoints.up(1200),{width:E(i,"desktop")||"30%"}),e.breakpoints.down(1200),{width:E(i,"tablet")||"45%"}),e.breakpoints.down(600),{width:E(i,"mobile")||"60%"})},messageContainerMobile:{padding:"clamp(5px, 1.5vw, 30px)"},lcpImage:{display:"none"}}}),O=function(e){var n,t,r=e.data,l=e.salesforceResponse,p=e.setShowSkeleton,h=e.experimentTracking;if((0,i.useEffect)(function(){p(!1)},[]),r&&(r.message_collection||null!==(n=r.desktop_bg_image)&&void 0!==n&&n.url||null!==(t=r.mobile_bg_image)&&void 0!==t&&t.url)){var _,y,x,S,C,E,A,M,O,F,N,H,I,W,D=r.general_message_styling||[],T=r.justify_message_content,P=r.background_image_positioning,L=r.min_height,B=r.mobile_min_height,R=null===(_=D.filter(function(e){return"border"===Object.keys(e)[0]})[0])||void 0===_||null===(_=_.border)||void 0===_||null===(_=_.circular_panel)||void 0===_?void 0:_.make_circle,G=(0,f.A)(),U=(0,c.useHistory)(),q="mobile"===G?null===(y=r.mobile_bg_image)||void 0===y?void 0:y.url:"tablet"===G?(null===(x=r.tablet_background_image)||void 0===x?void 0:x.url)||(null===(S=r.desktop_bg_image)||void 0===S?void 0:S.url):null===(C=r.desktop_bg_image)||void 0===C?void 0:C.url,z="mobile"===G?null===(E=r.mobile_bg_image)||void 0===E?void 0:E.description:null===(A=r.desktop_bg_image)||void 0===A?void 0:A.description,J=w(null===D||void 0===D?void 0:D.filter(function(e){return null===e||void 0===e?void 0:e.color}),1)[0],K=null===r||void 0===r?void 0:r.remove_bottom_margin,X=null===r||void 0===r?void 0:r.display_full_width,Q="hero-single-responsive-".concat(null===r||void 0===r?void 0:r.uid),$=j({genMsgStylesData:D,justifyMsgContent:T,bgImgPosition:P,minHeight:L,mobileMinHeight:B,msgHeightDt:null,msgHeightMb:null,imageUrl:q,getMessageColor:J,makeCircle:R,removeBottomMargin:K,displayFullWidth:X}),V=(0,u.wA)(),Y=(0,u.d4)((0,s.getFeatureFlag)("is-hero-test-enabled")),Z=(0,u.d4)((0,s.getFeatureFlag)("has-homepage-grid-structure"));if(Y)V((0,b.trackEvent)({eventCategory:(null===r||void 0===r||null===(H=r.a_b_testing)||void 0===H?void 0:H.tracking_event_category)||"eventCategory NOT SET IN CMS",eventAction:(null===r||void 0===r||null===(I=r.a_b_testing)||void 0===I?void 0:I.tracking_event_action)||"eventAction NOT SET IN CMS",eventLabel:(null===r||void 0===r||null===(W=r.a_b_testing)||void 0===W?void 0:W.tracking_event_label)||"eventLabel NOT SET IN CMS",nonInteraction:!0,queued:!0}));var ee=r.overlays||[],ne=function(){return ee&&null!==ee&&void 0!==ee&&ee.length?ee.map(function(e){return e.whack&&o().createElement(v.A,{data:e.whack})}):null},te=JSON.parse(JSON.stringify(r.message_collection));te&&te.forEach(function(e){if("copy"===Object.keys(e)[0]){var n=e.copy;n&&n.styles.every(function(e){return"line_height"!==Object.keys(e)[0]})&&n.styles.push({line_height:{unit:"em",value:1}})}});var ie=null===te||void 0===te?void 0:te.filter(function(e){var n=e[Object.keys(e)[0]||null].viewport;return"Mobile"===n||"Both"===n||!n}),oe=null===te||void 0===te?void 0:te.filter(function(e){var n=e[Object.keys(e)[0]||null].viewport;return"Desktop"===n||"Both"===n||!n}),re=(null===ie||void 0===ie?void 0:ie.length)>=1,le=function(){return o().createElement(a.A,{query:{maxWidth:600},defaultMatches:"mobile"===G,"data-component":"renderBasedOnMediaQuery"},function(e){return e?function(){var e,n,t,i,l,a;return o().createElement("div",{"data-ga-category":(null===(e=r.link)||void 0===e?void 0:e.tracking_event_category)||"","data-ga-action":(null===(n=r.link)||void 0===n?void 0:n.tracking_event_action)||"","data-ga-label":(null===(t=r.link)||void 0===t?void 0:t.tracking_event_label)||"","data-banner-item-name":null===(i=r.link)||void 0===i?void 0:i.tracking_event_label,"data-banner-type":null===(l=r.link)||void 0===l?void 0:l.tracking_event_action,"data-banner-group":null===(a=r.link)||void 0===a?void 0:a.tracking_event_category,"data-click-id":"hero-single-mobile","data-click-text":z,className:Z?$.heroContainerWithGri
1d:$.heroContainer,"data-testid":"hero-single-mobile","data-component":"mobileHeroSingle"},o().createElement("div",{className:re&&"".concat($.generalMessageStylesParsed," ").concat($.messageContainer," ").concat($.messageWidth," ").concat($.messageContainerMobile)},o().createElement(ne,null),o().createElement(g.A,{data:ie}),o().createElement("img",{src:"".concat(q,"?auto=webp"),alt:z||"background image",className:$.lcpImage,width:"0",height:"0"})))}():function(){var e,n,t,i,l,a;return o().createElement("div",{"data-ga-category":(null===(e=r.link)||void 0===e?void 0:e.tracking_event_category)||"","data-ga-action":(null===(n=r.link)||void 0===n?void 0:n.tracking_event_action)||"","data-ga-label":(null===(t=r.link)||void 0===t?void 0:t.tracking_event_label)||"","data-banner-item-name":null===(i=r.link)||void 0===i?void 0:i.tracking_event_label,"data-banner-type":null===(l=r.link)||void 0===l?void 0:l.tracking_event_action,"data-banner-group":null===(a=r.link)||void 0===a?void 0:a.tracking_event_category,"data-click-id":"hero-single-desktop","data-click-text":z,className:Z?$.heroContainerWithGrid:$.heroContainer,"data-testid":"hero-single-desktop","data-component":"desktopHeroSingle"},o().createElement("div",{className:"".concat($.generalMessageStylesParsed," ").concat($.messageContainer," ").concat($.messageWidth)},o().createElement(ne,null),o().createElement("div",null,o().createElement(g.A,{data:oe}))),o().createElement("img",{src:"".concat(q,"?auto=webp"),alt:z||"background image",className:$.lcpImage,width:"0",height:"0"}))}()})},ae=(0,k.A)({salesforceResponse:l,experimentTracking:h,isFireImpression:!(null===l||void 0===l||!l.content)||h,page:{type:"home"}});return"undefined"!==typeof window&&null!==(M=window)&&void 0!==M&&M.location&&null!==(O=window)&&void 0!==O&&null!==(O=O.location)&&void 0!==O&&O.origin&&window.location.origin,o().createElement("div",{id:Q,className:Z?$.topContainerWithGrid:$.topContainer},null!==r&&void 0!==r&&r.banner_disable_linking?le():o().createElement(d.N_,{to:null===(F=r.link)||void 0===F||null===(F=F.link)||void 0===F?void 0:F.href,title:null===(N=r.link)||void 0===N||null===(N=N.link)||void 0===N?void 0:N.title,className:$.link,"data-testid":"hero-single-responsive",onClick:function(e){var n,t;ae(),window.bannerProps={bannerType:"Hero",bannerGroup:null===r||void 0===r||null===(n=r.link)||void 0===n?void 0:n.tracking_event_label,bannerItemName:"hero-single-responsive"},(0,m.s)(e,null===(t=r.link)||void 0===t||null===(t=t.link)||void 0===t?void 0:t.href,U)}},le()))}return o().createElement(o().Fragment,null)};O.propTypes={data:r.array.isRequired,salesforceResponse:r.object,setShowSkeleton:r.func,experimentTracking:r.object},O.defaultProps={salesforceResponse:{},setShowSkeleton:_.A,experimentTracking:{}},n.default=O}}]); 2//# sourceMappingURL=2268.ab96f6d8.chunk.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.