1"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[6622],{36622:function(e,n,t){t.r(n),t.d(n,{default:function(){return V}});t(1075),t(23e3),t(94555),t(43041),t(82336);var i=t(41594),o=t.n(i),r=t(14733),l=t(26306),a=t(17191),c=t(80243),s=t(96894),u=t(73779),d=t(46560),v=t(22453),m=t(79900),g=(t(47012),t(34204),t(35978),t(81621),t(73045),t(90937),t(75755),t(48691),t(68217)),f=(t(42772),t(51343),t(15466),t(28835),t(16481),t(88577)),p=t(48511),h=t(86668),y=t(27082),_=t(50804),b=t(93554),k=t.n(b),A=t(99782),E=t(64277),w=t(72190),S=(0,g.A)(function(){return{link:{textDecoration:"none"},heroContainer:function(e){var n=e.data;return{display:"flex",maxWidth:"1400px",margin:"0 auto",minHeight:n.height?"".concat(n.height,"px"):"310px"}},image:function(e){var n,t=e.data;return{backgroundImage:"url(".concat(null===(n=t.reference[0].image)||void 0===n?void 0:n.url,"?auto=webp)"),backgroundSize:"cover",order:"Left"===t.message_location?"2":"1"}},messageContainer:function(e){var n,t,i,o,r=e.data;return{display:"flex",flexDirection:"column",justifyContent:"center",order:"Left"===r.message_location?"1":"2",backgroundColor:(null===(n=r.reference[0].message_styling[0])||void 0===n||null===(n=n.background_color)||void 0===n||null===(n=n.color)||void 0===n?void 0:n.color)||"#FFFFFF",width:(0,A.A)(null===(t=r.reference[0])||void 0===t?void 0:t.message_styling,!0).width,margin:(0,A.A)(null===(i=r.reference[0])||void 0===i?void 0:i.message_styling,!0).margin,padding:(0,A.A)(null===(o=r.reference[0])||void 0===o?void 0:o.message_styling,!0).padding}},heroContainerMobile:function(){return{width:"100%"}},imageMobileContainer:function(){return{height:"216px",margin:"30px auto 0",position:"relative"}},imageBgPanelMobile:function(e){var n;return{height:"150px",width:"100%",zIndex:"0",position:"absolute",bottom:"0",backgroundColor:(null===(n=e.data.reference[0].message_styling[0])||void 0===n||null===(n=n.background_color)||void 0===n||null===(n=n.color)||void 0===n?void 0:n.color)||"#FFFFFF"}},imageMobile:function(e){var n,t=e.data;return{backgroundImage:"url(".concat(null===(n=t.reference[0].image)||void 0===n?void 0:n.url,"?auto=webp)"),backgroundSize:"cover",height:"210px",position:"absolute",top:"1px",left:"2.5%",margin:"0 auto",width:"95%",zIndex:"10"}},messageContainerMobile:function(e){var n,t,i,o=e.data;return{display:"flex",flexDirection:"column",justifyContent:"center",backgroundColor:(null===(n=o.reference[0].message_styling[0])||void 0===n||null===(n=n.background_color)||void 0===n||null===(n=n.color)||void 0===n?void 0:n.color)||"#FFFFFF",width:"100%",margin:(0,A.A)(null===(t=o.reference[0])||void 0===t?void 0:t.message_styling,!0).margin,padding:(0,A.A)(null===(i=o.reference[0])||void 0===i?void 0:i.message_styling,!0).padding}},cta:{display:"flex",alignItems:"center"},ctaIconContainer:{marginLeft:"15px"}}}),C=function(e){var n=e.data,t=e.track;if(n&&n.reference[0]){var i,r,l,a,c,s=S({data:n}),u=function(){return Array.isArray(n.reference[0].message_collection)?n.reference[0].message_collection.map(function(e){return e.copy?o().createElement("div",{className:s.copy,style:(0,A.A)(e.copy.styles,!0)},o().createElement(k(),{source:e.copy.copy,escapeHtml:!1})):e.cta?o().createElement("div",{className:s.cta,style:(0,A.A)(e.cta.styles,!0)},e.cta.cta," ",o().createElement("span",{className:s.ctaIconContainer},function(e){switch(e.icon_type){case"T3 Right Arrow":return o().createElement(p.A,{fontSize:"large"});case"Solid Triangle":return o().createElement(h.A,{iconStyle:s.ctaIcon});case"Caret":return o().createElement(y.A,{iconStyle:s.ctaIcon});default:return o().createElement(p.A,{iconStyle:s.ctaIcon})}}(e.cta))):o().createElement(o().Fragment,null)}):[]},d=function(){var e,t,i=null===(e=(0,A.A)(null===(t=n.reference[0])||void 0===t?void 0:t.message_styling,!0))||void 0===e?void 0:e.width;return i.includes("%")?{width:"".concat(100-i.substring(0,i.indexOf("%")),"%")}:{width:"55%"}};return o().createElement(_.N_,{to:null===(i=n.reference[0].linking)||void 0===i||null===(i=i.link)||void 0===i?void 0:i.href,title:null===(r=n.reference[0].linking)||void 0===r||null===(r=r.link)||void 0===r?void 0:r.title,"data-ga-category":(null===(l=n.reference[0].linking)||void 0===l?void 0:l.tracking_event_category)||"","data-ga-action":(null===(a=n.reference[0].linking)||void 0===a?void 0:a.tracking_event_action)||"","data-ga-label":(null===(c=n.reference[0].linking)||void 0===c?void 0:c.tracking_event_label)||"",className:s.link,"aria-hidden":"true",tabIndex:"-1",onClick:function(){var e,i,o;t({eventCategory:(null===(e=n.reference[0].linking)||void 0===e?void 0:e.tracking_event_category)||"",eventAction:(null===(i=n.reference[0].linking)||void 0===i?void 0:i.tracking_event_action)||"",eventLabel:(null===(o=n.reference[0].linking)||void 0===o?void 0:o.tracking_event_label)||""})}},o().createElement(E.A,{desktop:function(){return o().createElement("div",{className:s.heroContainer,"data-component":"desktopT3Panel"},o().createElement("div",{className:s.image,style:d()}),o().createElement("div",{className:s.messageContainer},u()))},mobile:function(){return o().createElement("div",{className:s.heroContainerMobile,"data-component":"mobileT3Panel"},o().createElement("div",{className:s.imageMobileContainer},o().createElement("div",{className:s.imageMobile}),o().createElement("div",{className:s.imageBgPanelMobile})),o().createElement("div",{className:s.messageContainerMobile},u()))},breakpoint:690}))}return o().createElement(o().Fragment,null)};C.propTypes={data:a.array.isRequired,track:a.func.isRequired},C.defaultProps={};var R=(0,r.Zz)((0,l.Ng)(null,function(e){return{track:(0,f.zH)(w.trackEvent,e)}}))(C),F=t(29872),x=t(9625),D=t(85570);function N(e){return N="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},N(e)}function P(e,n,t){return(n=function(e){var n=function(e,n){if("object"!=N(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var i=t.call(e,n||"default");if("object"!=N(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(e)}(e,"string");return"symbol"==N(n)?n:n+""}(n))in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}var H=(0,c.Ay)({resolved:{},chunkName:function(){return"HeroSingleDesktop"},isReady:function(e){var n=this.resolve(e);return!0===this.resolved[n]&&!!t.m[n]},importAsync:function(){return Promise.all([t.e(8913),t.e(9279),t.e(7793)]).then(t.bind(t,62811))},requireAsync:function(e){var n=this,t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then(function(e){return n.resolved[t]=!0,e})},requireSync:function(e){var n=this.resolve(e);return t(n)},resolve:function(){return 62811}}
1),q=(0,c.Ay)({resolved:{},chunkName:function(){return"HeroSingleMobile"},isReady:function(e){var n=this.resolve(e);return!0===this.resolved[n]&&!!t.m[n]},importAsync:function(){return Promise.all([t.e(8913),t.e(9279),t.e(13)]).then(t.bind(t,26797))},requireAsync:function(e){var n=this,t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then(function(e){return n.resolved[t]=!0,e})},requireSync:function(e){var n=this.resolve(e);return t(n)},resolve:function(){return 26797}}),B=(0,g.A)(function(e){return{foodBlock:P({position:"relative",margin:"0 auto 2rem"},e.breakpoints.down(1024),{margin:"0 auto 1rem"}),foodBlockWithGrid:{position:"relative",margin:"0 auto",width:"100%"},floralBlock:function(n){var t=n.height,i=n.pageView;return P({},e.breakpoints.up(1366),{width:"100%",height:"".concat(t||400,"px"),margin:"home"===(null===i||void 0===i?void 0:i.pageType)?0:"0 auto 2rem"})},floralBlockWithGrid:function(n){var t=n.height,i=n.pageView;return P({},e.breakpoints.up(1366),{width:"100%",height:"".concat(t||400,"px"),margin:"home"===(null===i||void 0===i?void 0:i.pageType)?0:"0 auto"})}}}),T=function(e){var n,t,r,a,c=e.data,s=e.block,v=e.salesforceResponse,m=e.isHeroRedesignEnabled,g=s.presentation_type,f=void 0===g?"":g,p=s.height,h=void 0===p?"":p,y=s.reference,_=void 0===y?"":y,b=s.mobile_department_heading,k=void 0===b?"":b,A=s.unique_selector,E=void 0===A?"":A,S=s.device,C=s.tablet_x_offset,N=void 0===C?"":C,P=s.message_location,T=void 0===P?"":P,I=s.restrict_message_margins,L=void 0!==I&&I,M=s.mobile_height,j=void 0===M?"":M,z=s.block_margin,O=void 0===z?{}:z,V=_[0],K=V.linking,W=void 0===K?{}:K,G=V.is_mobile_copy,U=void 0!==G&&G,Y=V.message_collection,Z=void 0===Y?[]:Y,J=V.message_styling,Q=void 0===J?[]:J,X=V.image,$=void 0===X?{}:X,ee=V.image_mobile,ne=void 0===ee?{}:ee,te=V.image_tablet,ie=void 0===te?{}:te,oe=V.overlays,re=void 0===oe?{}:oe,le=V.use_mobile_image_for_tablet,ae=void 0!==le&&le,ce=V.uid,se=void 0===ce?"":ce,ue=V.container_attributes,de=void 0===ue?[]:ue,ve=V.image_opacity,me=void 0===ve?null:ve,ge=V.message_positioning,fe=void 0===ge?null:ge,pe=V.video,he=void 0===pe?{}:pe,ye=(0,l.d4)(D.gs),_e=B({height:h,pageView:ye}),be=(0,l.wA)(),ke=(0,l.d4)(u.getIsBot);(0,i.useEffect)(function(){if(!window.wuDepartmentPageHeroEventFired){var e={eventCategory:"Experiment",eventAction:"Department Page Hero Redesign",eventLabel:m?"Variant":"Control",feature_detail:m?"Variant":"Control",feature_element:"Department Page Hero Redesign",feature_category:"Experiment"};be((0,w.trackEvent)(e)),window.wuDepartmentPageHeroEventFired=!0}return function(){window.wuDepartmentPageHeroEventFired=!1}},[]);var Ae=(0,l.d4)((0,d.getFeatureFlag)("has-homepage-grid-structure")),Ee=(0,l.d4)(u.getSSRDeviceType),we=(0,l.d4)(d.getPresentationFamily),Se=(0,F.A)(E);if("t3_panel"===(null===c||void 0===c||null===(n=c.reference)||void 0===n||null===(n=n[0])||void 0===n||null===(n=n.reference)||void 0===n||null===(n=n[0])||void 0===n?void 0:n._content_type_uid))return o().createElement("div",{className:_e.block,"data-uniqueid":Se,cmsuid:se},o().createElement(R,{data:c.reference[0]}));var Ce=(null===c||void 0===c?void 0:c.mobile_height_pixel)||"",Re=Ae?_e.foodBlockWithGrid:_e.foodBlock,Fe=Ae?_e.floralBlockWithGrid:_e.floralBlock,xe=null===c||void 0===c||null===(t=c.reference)||void 0===t||null===(t=t[0])||void 0===t||null===(t=t.reference)||void 0===t||null===(t=t[0])||void 0===t?void 0:t.video,De=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"Impression";null!==v&&void 0!==v&&v.campaign&&be((0,x.CY)({action:e,salesforceResponse:v,page:{type:"home"},eventSubType:"campaign-tracking"}))},Ne=function(){var e,n,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};be((0,x.CY)({action:"Click",eventSubType:"feature-tracking",category:(null===t||void 0===t?void 0:t.tracking_event_category)||"Browse",label:(null===t||void 0===t?void 0:t.tracking_event_label)||(null===t||void 0===t||null===(e=t.link)||void 0===e||null===(e=e.title)||void 0===e||null===(e=e.split(" "))||void 0===e||null===(e=e.join("-"))||void 0===e?void 0:e.toLowerCase())||"",link:(null===t||void 0===t||null===(n=t.link)||void 0===n?void 0:n.href)||"",tag:(null===t||void 0===t?void 0:t.tracking_event_action)||""}))};return o().createElement("div",{className:"food"===we?"hero_block ".concat(Re):"".concat(Fe),"data-uniqueid":Se,cmsuid:se,"data-component":"heroSingleUi"},"mobile"===Ee&&("Both"===S||"Mobile"===S)&&o().createElement(q,{data:c,image_mobile:ne,message_collection:Z,linking:W,mobile_department_heading:k,presentation_type:f,mobile_height:j,is_mobile_copy:U,container_attributes:de,blockMargin:O,messagePositioning:fe,imageOpacity:me,mobile_height_pixel:Ce,videoPoster:(null===c||void 0===c||null===(r=c.reference)||void 0===r||null===(r=r[0])||void 0===r||null===(r=r.reference)||void 0===r||null===(r=r[0])||void 0===r?void 0:r.video_poster)||{},videoData:xe,video:he,trackCustomClickstreamEventByType:De,trackFeatureClickEvent:Ne,departmentPageHeroRedesign:m}),"mobile"!==Ee&&("Both"===S||"Desktop"===S)&&o().createElement(H,{linking:W,message_collection:Z,message_styling:Q,message_location:T,image:$,image_mobile:ne,presentation_type:f,height:h,overlays:re,isBot:ke,tabletbg:N,tabletMobImage:ae,restrict_message_margins:L,container_attributes:de,blockMargin:O,imageOpacity:me,messagePositioning:fe,isTabletImage:ie,videoPoster:(null===c||void 0===c||null===(a=c.reference)||void 0===a||null===(a=a[0])||void 0===a||null===(a=a.reference)||void 0===a||null===(a=a[0])||void 0===a?void 0:a.video_poster)||{},videoData:xe,video:he,trackCustomClickstreamEventByType:De,trackFeatureClickEvent:Ne,departmentPageHeroRedesign:m}))};T.propTypes={data:a.object.isRequired,salesforceResponse:a.object,isHeroRedesignEnabled:a.bool,block:a.object.isRequired},T.defaultProps={salesforceResponse:{},isHeroRedesignEnabled:!1};var I=T,L=(0,c.Ay)({resolved:{},chunkName:function(){return"HeroSingleResponsive"},isReady:function(e){var n=this.resolve(e);return!0===this.resolved[n]&&!!t.m[n]},importAsync:function(){return Promise.all([t.e(9279),t.e(2268),t.e(5545)]).then(t.bind(t,89887))},requireAsync:function(e){var n=this,t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then(function(e){return n.resolved[t]=!0,e})},requireSync:function(e){var n=this.resolve(e);return t(n)},resolve:function(){return 89887}}),M=(0,c.Ay)({resolved:{},chunkName:function(){return"HeroStory"},isReady:function(e){var n=this.resolve(e);return!0===this.resolved[n]&&!!t.m[n]},importAsync:function(){return Promise.all([t.e(2233),t.e(1322)]).then(t.bind(t,36015))},requireAsync:function(e){var n=this,t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then(function(e){return n.resolved[t]=!0,e})},requireSync:function(e){var n=this.resolve(e);return t(n)},resolve:function(){return 36015}}),j=(0,c.Ay)({resolved:{},chunkName:function(){return"HeroDepartment"},isReady:function(e){var n=this.resolve(e);return!0===this.resolved[n]&&!!t.m[n]},importAsync:function(){return t.e(4553).then(t.bind(t,51270))},requireAsync:function(e){var n=this,t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then(function(e){return n.resolved[t]=!0,e})},requireSync:function(e){var n=this.resolve(e);return t(n)},resolve:function(){return 51270}}),z=(0,c.Ay)({resolved:{},chunkName:function(){return"HeroSingle_V2"},isReady:function(e){var n=this.resolve(e);return!0===this.resolved[n]&&!!t.m[n]},importAsync:function(){return t.e(2466).then(t.bind(t,96645))},requireAsync:function(e){var n=this,t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then(function(e){return n.resolved[t]=!0,e})},requireSync:function(e){var n=this.resolve(e);return t(n)},resolve:function(){return 96645}}),O=function(e){var n,t,r,a,c,u,d,g,f,p=e.data,h=e.ssrDeviceType,y=e.salesforceResponse,_=e.setShowSkeleton,b=(e.blockKey,(0,v.A)({data:p,includeRefs:["reference.message_collection.link_list.reference"],newDataSelector:function(e){var n;return(null===e||void 0===e||null===(n=e.findContentByUID)||void 0===n||null===(n=n.content)||void 0===n?void 0:n.entry)||k}})),k=b.data,A=b.loading;(0,s.useLocation)(),(0,l.wA)();if((0,i.useEffect)(function(){_(!1)},[]),A){if("mobile"===h.toLowerCase()&&null!==p&&void 0!==p&&p.mobile_skeleton)return o().createElement(m.A,{height:(null===p||void 0===p?void 0:p.mobile_skeleton_height)||(null===p||void 0===p?void 0:p.skeleton_height)});if("desktop"===h.toLowerCase()&&null!==p&&void 0!==p&&p.desktop_skeleton)return o().createElement(m.A,{height:null===p||void 0===p?void 0:p.skeleton_height})}if(!k)return o().createElement(o().Fragment,null);if("herosingle_v2"===(null===k||void 0===k||null===(n=k.reference)||void 0===n||null===(n=n[0])||void 0===n?void 0:n._content_type_uid))return o().createElement(z,{data:k});if("hero_story"===(null===k||void 0===k||null===(t=k.reference)||void 0===t||null===(t=t[0])||void 0===t?void 0:t._content_type_uid))return o().createElement(M,{data:k});if("hero_single_responsive"===(null===k||void 0===k||null===(r=k.reference)||void 0===r||null===(r=r[0])||void 0===r?void 0:r._content_type_uid))return o().createElement(L,{data:null===k||void 0===k||null===(f=k.reference)||void 0===f?void 0:f[0]});if("department_hero"===(null===k||void 0===k||null===(a=k.reference)||void 0===a||null===(a=a[0])||void 0===a?void 0:a._content_type_uid))return o().createElement(j,{data:k});var E=null;return!k||null!==k&&void 0!==k&&null!==(c=k.reference)&&void 0!==c&&null!==(c=c[0])&&void 0!==c&&null!==(c=c.reference)&&void 0!==c&&c[0]?(k||null!==k&&void 0!==k&&null!==(u=k.reference)&&void 0!==u&&null!==(u=u[0])&&void 0!==u&&null!==(u=u.reference)&&void 0!==u&&u[0])&&(E=k.reference[0]):E=k,E&&null!==(d=E)&&void 0!==d&&null!==(d=d.reference)&&void 0!==d&&d[0]?o().createElement(I,{salesforceResponse:y,block:E,data:k,isHeroRedesignEnabled:"Department V2"===(null===(g=E)||void 0===g?void 0:g.presentation_type),"data-component":"hero"}):null};
1O.propTypes={data:a.object.isRequired,ssrDeviceType:a.string.isRequired,salesforceResponse:a.object,setShowSkeleton:a.func,blockKey:a.string},O.defaultProps={salesforceResponse:{},setShowSkeleton:function(){},blockKey:""};var V=(0,r.Zz)((0,l.Ng)(function(e){return{ssrDeviceType:(0,u.getSSRDeviceType)(e)}},null))(O)}}]); 2//# sourceMappingURL=6622.6e11f974.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.