"use strict";(self.ldBronxApp=self.ldBronxApp||[]).push([[9211],{49211:(e,t,r)=>{r.r(t),r.d(t,{BlockRowLayout:()=>h,default:()=>S,rootClass:()=>g});var n=r(32747),o=r.n(n),a=r(45697),i=r.n(a),l=r(23930),u=r.n(l),s=r(35200),c=r(62364),d=r(62654),p=r(80390),f=r(78012),y=r(83528),b=r(90602),v=r(62065),m=r(87277),g="block-row-layout",k=f.CONTENTFUL_STYLING_PROPERTIES.FULL_WIDTH_MODIFIER,h=function(e){var t=e.blockStyles,r=e.data,n=e.hasPageViewFired,a=r.fields,i=a.customData,l=(0,y.l)((function(){(0,b.OE)({customData:i,userEventName:v.SP.TRACK_EVENT.AD_VIEW})})),u=l.containerRef,c=l.entryTarget;(0,m.Z)({customData:i,isAdRendered:Boolean(c),hasPageViewFired:n},[u]);var f=(0,p.fG)(r)?k:null;return o().createElement("div",{className:(0,d.lR)(g,f),style:t,ref:u},o().createElement(s.Z,{data:a.contentBlocks,isInRowLayout:!0,customRowData:i}))};h.propTypes={blockStyles:i().object,data:u().record.isRequired,hasPageViewFired:i().bool.isRequired},h.defaultProps={blockStyles:null};const S=(0,c.Z)(h)},41434:(e,t,r)=>{r.d(t,{ZP:()=>w});var n=r(32747),o=r.n(n),a=r(45697),i=r.n(a),l=r(23930),u=r.n(l),s=r(76870),c=r(6979),d=r.n(c),p=r(62654),f=r(98516),y=r(80390),b=r(69223),v=r(50908),m=r(78012);function g(){return g=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},g.apply(this,arguments)}function k(e,t){return k=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},k(e,t)}var h="block-wrapper",S=m.CONTENTFUL_STYLING_PROPERTIES.FULL_WIDTH_MODIFIER;const w=function(e){var t;return t=function(t){function r(){return t.apply(this,arguments)}!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&k(e,t)}(r,t);var n=r.prototype;return n.componentDidMount=function(){var e=d().get(this.props,"data.fields.anchorName"),t=window.location.hash;t.length&&e&&t.includes(e)&&(0,f.LR)(t)},n.render=function(){var t=this.props,r=t.data,n=t.breakpoint,a=t.division,i=t.isInColumnLayout,l=t.isInRowLayout;if(!r.fields.display)return null;var u=r.fields,s=u.style,c=u.theme,k=u.anchorName,w="block",L=[(0,f.cb)({prefix:w,type:"type",value:(0,b.Kh)(r.contentType)}),(0,f.cb)({prefix:w,type:"theme",value:c}),(0,f.cb)({prefix:w,type:"style",value:s}),(0,f.cb)({prefix:w,type:"column-layout",value:i}),(0,f.cb)({prefix:w,type:"row-layout",value:l}),d().get(r,"fields.customData.customClassModifiers")],I={breakpoint:n,division:a,stylesList:r.fields.stylesList},P=(0,y.h4)(g({},I,{placement:S})),R=(0,y.h4)(g({},I,{placement:"block-wrapper"})),E=(0,y.h4)(g({},I,{placement:"block"})),C=m.BLOCK_TYPE_WITH_HEADER.includes(r.contentType)?v.GH:o().Fragment;return o().createElement(C,null,o().createElement("div",{className:(0,p.lR)(h,L),style:P,id:k,"data-cms-id":r.id},o().createElement("div",{className:h+"__content",style:R},o().createElement(e,g({},t,{blockStyles:E})))))},r}(s.ZP),t.propTypes={data:u().record.isRequired,breakpoint:i().string.isRequired,division:i().string.isRequired,isInColumnLayout:i().bool,isInRowLayout:i().bool},t.defaultProps={isInColumnLayout:!1,isInRowLayout:!1},t}},7410:(e,t,r)=>{r.d(t,{Z:()=>p});var n=r(32747),o=r.n(n),a=r(45697),i=r.n(a),l=r(23930),u=r.n(l),s=r(17618);function c(){return c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},c.apply(this,arguments)}var d=function(e){var t=e.data,r=e.index,n=e.classModifier,a=e.isInColumnLayout,i=e.isInRowLayout,l=e.searchQuery,u=e.adPosition,d=e.onCreativeLoad,p=e.getSlotSizeOverride,f=e.setSlotSizeUpdater,y=e.slot,b=e.template,v=e.isPageLoaded,m=e.customRowData,g=e.gamExtraKV;if(!t)return null;var k={data:t,index:r,classModifier:n,isInColumnLayout:a,isInRowLayout:i,spinner:!1,isPageLoaded:v,customRowData:m};switch(t.contentType){case"blockComplexContent":var h=(0,s.ZP)("blockHero");return o().createElement(h,k);case"blockContentWithImage":var S=(0,s.ZP)("blockContentWithImage");return o().createElement(S,k);case"blockCtaRow":var w=(0,s.ZP)("blockCtaRow");return o().createElement(w,k);case"blockFaq":var L=(0,s.ZP)("blockFaq"),I=(0,s.ZP)("FAQProviderContainer");return o().createElement(I,k,o().createElement(L,k));case"blockIFrame":var P=(0,s.ZP)("blockIFrame");return o().createElement(P,k);case"blockLinkedImage":var R=(0,s.ZP)("blockLinkedImage");return o().createElement(R,k);case"blockLinkList":var E=(0,s.ZP)("blockLinkList");return o().createElement(E,k);case"blockNotification":var C=(0,s.ZP)("blockNotification");return o().createElement(C,k);case"blockProductCollection":var O=(0,s.ZP)("blockProductDisplay");return o().createElement(O,k);case"blockReactComponent":var T=(0,s.ZP)("blockReactComponent");return o().createElement(T,k);case"blockTileList":var Z=(0,s.ZP)("blockTileList");return o().createElement(Z,k);case"blockGroup":var A=(0,s.ZP)("blockGroup");return o().createElement(A,k);case"blockColumnLayout":var x=(0,s.ZP)("blockColumnLayout");return o().createElement(x,c({},k,{isInColumnLayout:!1,isInRowLayout:!1}));case"blockRowLayout":var j=(0,s.ZP)("blockRowLayout");return o().createElement(j,c({},k,{isInRowLayout:!1,isInColumnLayout:!1}));case"blockAdUnit":var D=(0,s.ZP)("blockAdUnit");return o().createElement(D,c({},k,{adPosition:u,onCreativeLoad:d,getSlotSizeOverride:p,setSlotSizeUpdater:f,slot:y,template:b,searchQuery:l,gamExtraKV:g}));case"blockLayoutCarousel":var _=(0,s.ZP)("blockLayoutCarousel");return o().createElement(_,k);default:return null}};d.displayName="ContentTypeComponent",d.propTypes={classModifier:i().string,index:i().number,data:u().record.isRequired,isInColumnLayout:i().bool,isInRowLayout:i().bool,adPosition:i().oneOfType([i().number,i().string]),template:i().string,searchQuery:i().string,isPageLoaded:i().bool,customRowData:i().object,onCreativeLoad:i().func,getSlotSizeOverride:i().func,setSlotSizeUpdater:i().func,gamExtraKV:i().string,slot:i().string},d.defaultTypes={classModifier:null,isInColumnLayout:!1,isInRowLayout:!1,adPosition:null,template:null,searchQuery:null,customRowData:null,onCreativeLoad:null,getSlotSizeOverride:null,setSlotSizeUpdater:null,gamExtraKV:null,slot:null,index:0};const p=d},35200:(e,t,r)=>{r.d(t,{Z:()=>y});var n=r(32747),o=r.n(n),a=r(45697),i=r.n(a),l=r(23930),u=r.n(l),s=r(43393),c=r.n(s),d=r(7410),p=r(25791),f=function(e){var t=e.data,r=e.style,n=e.isInColumnLayout,a=e.isInRowLayout,i=e.searchQuery,l=e.adPosition,u=e.onCreativeLoad,s=e.getSlotSizeOverride,c=e.setSlotSizeUpdater,p=e.template,f=e.isPageLoaded,y=e.customRowData,b=e.gamExtraKV,v=e.slot;return t&&t.size?t.map((function(e,t){return o().createElement(d.Z,{id:e.id,index:t,data:e,key:e.id+"-"+t,style:r,isInColumnLayout:n,isInRowLayout:a,adPosition:l,onCreativeLoad:u,getSlotSizeOverride:s,setSlotSizeUpdater:c,slot:v,template:p,searchQuery:i,isPageLoaded:f,customRowData:y,gamExtraKV:b})})):null};f.propTypes={data:u().list,style:i().string,isInColumnLayout:i().bool,isInRowLayout:i().bool,adPosition:i().string,template:i().string,searchQuery:i().string,customRowData:i().object,onCreativeLoad:i().func,getSlotSizeOverride:i().func,setSlotSizeUpdater:i().func,gamExtraKV:i().string,slot:i().string},f.defaultProps={data:c().List(),style:"",isInColumnLayout:!1,isInRowLayout:!1,adPosition:null,template:null,searchQuery:null,isPageLoaded:!1,customRowData:null,onCreativeLoad:null,getSlotSizeOverride:null,setSlotSizeUpdater:null,gamExtraKV:null,slot:null};const y=(0,p.Z)(f)},62364:(e,t,r)=>{r.d(t,{Z:()=>l});var n=r(14890),o=r(76549),a=r(9270),i=r(59387);const l=(0,n.qC)(o.Z,a.Z,i.Z)},59595:(e,t,r)=>{r.d(t,{Z:()=>f});var n=r(32747),o=r.n(n),a=r(45697),i=r.n(a),l=r(23930),u=r.n(l),s=r(76870),c=r(83171);function d(){return d=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},d.apply(this,arguments)}function p(e,t){return p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},p(e,t)}const f=function(e){var t=e.dataKey,r=e.returnNullOnFailure;return function(e){var n;return n=function(n){function a(){return n.apply(this,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&p(e,t)}(a,n),a.prototype.render=function(){var n=this.props,a=!(0,c.xy)(n,t);return!a&&r?null:o().createElement(e,d({},n,{passesAllRestrictions:a}))},a}(s.ZP),n.propTypes={banner:i().string.isRequired,currentState:u().record.isRequired,data:i().object,division:i().string.isRequired,storeId:i().string,featureFlags:i().object.isRequired,region:i().string},n.defaultProps={data:null,region:null,storeId:null},n.displayName="WithRestrictions("+(e.displayName||e.name)+")",n}}},59387:(e,t,r)=>{r.d(t,{Z:()=>s});var n=r(28216),o=r(14890),a=r(65229),i=r(71769),l=r(40818),u=r(41434);const s=(0,o.qC)((0,n.$j)((function(e){var t=(0,l._U)(e);return{division:(0,a.lV)(e),breakpoint:(0,i.$3)(e),hasPageViewFired:t}}),null),u.ZP)},9270:(e,t,r)=>{r.d(t,{A:()=>s,Z:()=>c});var n=r(28216),o=r(14890),a=r(59595),i=r(47141);function l(){return l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},l.apply(this,arguments)}function u(e){return l({},(0,i.V)(e))}var s=function(e){var t=void 0===e?{}:e,r=t.dataKey,i=void 0===r?"react":r,l=t.returnNullOnFailure,s=void 0===l||l;return(0,o.qC)((0,n.$j)(u,null),(0,a.Z)({dataKey:i,returnNullOnFailure:s}))};const c=s()},83528:(e,t,r)=>{r.d(t,{l:()=>l});var n=r(32747),o=r(70131);function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function i(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,a=[],i=!0,l=!1;try{for(r=r.call(e);!(i=(n=r.next()).done)&&(a.push(n.value),!t||a.length!==t);i=!0);}catch(e){l=!0,o=e}finally{try{i||null==r.return||r.return()}finally{if(l)throw o}}return a}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return a(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return a(e,t)}(e,t)||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.")}()}var l=function(e,t,r){void 0===t&&(t=!0),void 0===r&&(r=!1);var a=i((0,n.useState)(!1),2),l=a[0],u=a[1],s=(0,o.YD)({threshold:.5}),c=s.ref,d=s.inView,p=s.entry;return(0,n.useEffect)((function(){if(!(r||t&&l)){var n=null;if(d){var o=Date.now();n=setInterval((function(){Date.now()-o>=1e3&&(clearInterval(n),u(!0),e())}),100)}return function(){return clearInterval(n)}}}),[d,l,e,r,t]),{containerRef:c,entryTarget:null==p?void 0:p.target}}},87277:(e,t,r)=>{r.d(t,{Z:()=>c});var n=r(32747),o=r(62065),a=r(90602);function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function l(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,a=[],i=!0,l=!1;try{for(r=r.call(e);!(i=(n=r.next()).done)&&(a.push(n.value),!t||a.length!==t);i=!0);}catch(e){l=!0,o=e}finally{try{i||null==r.return||r.return()}finally{if(l)throw o}}return a}}(e,t)||s(e,t)||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 u(e){return function(e){if(Array.isArray(e))return i(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||s(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(e,t){if(e){if("string"==typeof e)return i(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(r):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?i(e,t):void 0}}const c=function(e,t){var r=e.customData,i=e.image,s=void 0===i?null:i,c=e.hasPageViewFired,d=void 0!==c&&c,p=e.isAdRendered,f=void 0!==p&&p,y=e.skip,b=void 0!==y&&y;void 0===t&&(t=[]);var v=l((0,n.useState)(!1),2),m=v[0],g=v[1];return(0,n.useEffect)((function(){!b&&!m&&f&&d&&((0,a.OE)({customData:r,image:s,userEventName:o.SP.TRACK_EVENT.AD_LOAD}),g(!0))}),[m,r,f,d,s,b].concat(u(t))),{adLoaded:m}}},80390:(e,t,r)=>{r.d(t,{KN:()=>l,fG:()=>p,h4:()=>d});var n=r(6979),o=r.n(n);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function i(){return i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i.apply(this,arguments)}var l=function(e){var t=e.attribute,r=e.breakpoint,n=e.style,o=t+"Tablet",a=t+"Desktop";return["desktop"===r&&n.fields[a]?n.fields[a]:null,"mobile"!==r&&n.fields[o]?n.fields[o]:null,n.fields[t]].filter((function(e){return e})).shift()},u=function(e){var t=e.attribute,r=e.division,n=e.style;return[n.fields[""+t+r],n.fields[t]].filter((function(e){return e})).shift()},s=function(e){var t=e.breakpoint,r=e.division,n=e.style;switch(n.contentType){case"propertiesStyleAlignment":return function(e){return{justifyContent:e.style.fields.value}}({style:n});case"propertiesStyleAlignmentVertical":return function(e){return{alignContent:e.style.fields.value}}({style:n});case"propertiesStyleBackgroundColor":return function(e){var t=e.division,r=e.style;return{backgroundColor:u({attribute:"value",division:t,style:r})}}({division:r,style:n});case"propertiesStyleBackgroundGradient":return function(e){var t=e.breakpoint,r=e.style;return{background:l({attribute:"value",breakpoint:t,style:r})}}({breakpoint:t,style:n});case"propertiesStyleBackgroundImage":return function(e){var t=e.breakpoint,r=e.style.fields,n=r.backgroundImageFile,a=r.backgroundImageProperties,i=function(e){var t=e.breakpoint,r=function(e){var t=e.mobileImageUrl,r=e.tabletImageUrl,n=e.desktopImageUrl,o=e.mobileImage,a=e.tabletImage,i=e.desktopImage,l=e.asset,u=t||(null==o?void 0:o.fields.asset.url)||(null==l?void 0:l.url)||"";return{mobile:u,tablet:r||(null==a?void 0:a.fields.asset.url)||u,desktop:n||r||(null==i?void 0:i.fields.asset.url)||(null==a?void 0:a.fields.asset.url)||u}}(e.imageRecord.fields);return r[t]}({breakpoint:t,imageRecord:n}),l=o().get(a,"fields.backgroundPosition")||null,u=o().get(a,"fields.backgroundRepeat")||"no-repeat",s=o().get(a,"fields.backgroundSize")||"cover";return{backgroundImage:"url('"+i+"?imwidth="+window.innerWidth+"')",backgroundPosition:l,backgroundRepeat:u,backgroundSize:s}}({breakpoint:t,style:n});case"propertiesStyleBorder":return function(e){var t=e.breakpoint,r=e.division,n=e.style,o=n.fields,s=o.attribute,c=o.borderStyle,d=o.borderRadius;return i(a({},s,l({attribute:"borderWidth",breakpoint:t,style:n})+"px "+c+" "+u({attribute:"borderColor",division:r,style:n})),d&&{borderRadius:""+d})}({breakpoint:t,division:r,style:n});case"propertiesStyleMargin":return function(e){var t=e.breakpoint,r=e.style,n=l({attribute:"value",breakpoint:t,style:r});return a({},r.fields.attribute,n)}({breakpoint:t,style:n});case"propertiesStyleMaxWidth":return function(e){var t=e.breakpoint,r=e.style;return{gridTemplateColumns:"minmax(0, "+l({attribute:"value",breakpoint:t,style:r})+")"}}({breakpoint:t,style:n});case"propertiesStyleMinHeight":return function(e){var t=e.breakpoint,r=e.style;return{minHeight:l({attribute:"value",breakpoint:t,style:r})}}({breakpoint:t,style:n});case"propertiesStylePadding":return function(e){var t=e.breakpoint,r=e.style,n=l({attribute:"value",breakpoint:t,style:r});return a({},r.fields.attribute,n)}({breakpoint:t,style:n});case"propertiesStyleTextAlignment":return function(e){return{textAlign:e.style.fields.value}}({style:n});default:return{}}},c=function(e,t){switch(e.contentType){case"propertiesStyleTextAlignment":return"block";case"propertiesStyleBackgroundColor":case"propertiesStyleBackgroundGradient":case"propertiesStyleBackgroundImage":case"propertiesStyleMargin":case"propertiesStyleMinHeight":return"full-width";case"propertiesStyleMaxWidth":return function(e,t){return"100%"===l({attribute:"value",breakpoint:t,style:e})?"full-width":"block-wrapper"}(e,t);default:return"block-wrapper"}},d=function(e){var t=e.breakpoint,r=e.division,n=e.placement,o=e.stylesList;return o&&o.size?o.reduce((function(e,o){return o?(o.fields.placement||c(o,t))!==n?e:i({},e,s({breakpoint:t,division:r,style:o})):e}),{}):{}},p=function(e){var t;if(!e)return!1;var r=e.fields,n=e.contentType,o="propertiesStyleAlignment";if("blockRowLayout"===n){var a,i,l=r.contentBlocks;if(!l||l.isEmpty())return!1;var u=l.find((function(e){return"blockComplexContent"===e.contentType})),s=null==u||null==(i=u.fields)||null==(a=i.stylesList)?void 0:a.find((function(e){return e.contentType===o}));return!!s&&(null==s?void 0:s.fields.fullWidthImage)}var c=null==r||null==(t=r.stylesList)?void 0:t.find((function(e){return e.contentType===o}));return!!c&&c.fields.fullWidthImage}}}]);