(self.ldBronxApp=self.ldBronxApp||[]).push([[2601],{46963:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});var r,o,a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i="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},s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),l=n(32747),u=v(l),c=v(n(45697)),d=v(n(10056)),f=v(n(41143)),p=v(n(10251)),g=v(n(45199)),y=v(n(8642)),h=v(n(23870)),b=n(89967);function v(e){return e&&e.__esModule?e:{default:e}}function m(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var S=(o=r=function(e){function t(){var e,n,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var o=arguments.length,a=Array(o),i=0;i<o;i++)a[i]=arguments[i];return n=r=m(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(a))),r.state={scriptLoaded:!1,inViewport:!1},m(r,n)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),s(t,[{key:"componentDidMount",value:function(){t._adManager.addInstance(this),t._adManager.load(t._config.seedFileUrl).then(this.onScriptLoaded.bind(this)).catch(this.onScriptError.bind(this))}},{key:"componentWillReceiveProps",value:function(e){var n=t._config.propsEqual,r=this.props.sizeMapping;!e.sizeMapping&&!r||n(e.sizeMapping,r)||t._adManager.removeMQListener(this,e)}},{key:"shouldComponentUpdate",value:function(e,n){var r=n.scriptLoaded,o=n.inViewport,a=this.notInViewport(e,n),i=this.state.inViewport!==o,s=this.state.scriptLoaded!==r;if(a)return!1;if(i)return!0;var l=t._config,u=l.filterProps,c=l.propsEqual,d=u(t.refreshableProps,this.props,e),f=u(t.reRenderProps,this.props,e),p=!this._adSlot||!c(f.props,f.nextProps),g=!p&&!c(d.props,d.nextProps);if(g&&this.configureSlot(this._adSlot,e),t._adManager._syncCorrelator)g?t._adManager.refresh():(p||s)&&t._adManager.renderAll();else{if(g)return this.refresh(),!1;if(p||s)return!0}return!1}},{key:"componentDidUpdate",value:function(){this.notInViewport(this.props,this.state)||this._divId&&(t._adManager._initialRender?t._adManager.render():this.renderAd())}},{key:"componentWillUnmount",value:function(){t._adManager.removeInstance(this),this._adSlot&&(t._adManager.googletag.destroySlots([this._adSlot]),this._adSlot=null)}},{key:"onScriptLoaded",value:function(){var e=this.props.onScriptLoaded;this.getRenderWhenViewable()&&this.foldCheck(),this.setState({scriptLoaded:!0},e)}},{key:"onScriptError",value:function(e){console.warn("Ad: Failed to load gpt for "+t._config.seedFileUrl,e)}},{key:"getRenderWhenViewable",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props;return void 0!==e.renderWhenViewable?e.renderWhenViewable:t._config.renderWhenViewable}},{key:"foldCheck",value:function(){if(!this.state.inViewport){var e=this.getSlotSize();Array.isArray(e)&&Array.isArray(e[0])&&(e=e[0]),("fluid"===e||Array.isArray(e)&&"fluid"===e[0])&&(e=[0,0]),t._adManager.isInViewport(d.default.findDOMNode(this),e,this.viewableThreshold)&&this.setState({inViewport:!0})}}},{key:"defineSizeMapping",value:function(e,n){if(n){t._adManager.addMQListener(this,this.props);var r=n.reduce((function(e,t){return e.addSize(t.viewport,t.slot)}),t._adManager.googletag.sizeMapping()).build();e.defineSizeMapping(r)}}},{key:"setAttributes",value:function(e,t){e.getAttributeKeys().forEach((function(t){e.set(t,null)})),t&&Object.keys(t).forEach((function(n){e.set(n,t[n])}))}},{key:"setTargeting",value:function(e,t){e.clearTargeting(),t&&Object.keys(t).forEach((function(n){e.setTargeting(n,t[n])}))}},{key:"addCompanionAdService",value:function(e,n){var r=t._adManager.googletag.companionAds();n.addService(r),"object"===(void 0===e?"undefined":i(e))&&(e.hasOwnProperty("enableSyncLoading")&&r.enableSyncLoading(),e.hasOwnProperty("refreshUnfilledSlots")&&r.setRefreshUnfilledSlots(e.refreshUnfilledSlots))}},{key:"getSlotSize",value:function(){var e=this.props,t=e.slotSize,n=e.sizeMapping,r=void 0;if(t)r=t;else if(n){var o=n;r=o[0]&&o[0].slot}return r}},{key:"renderAd",value:function(){this.defineSlot(),this.display()}},{key:"notInViewport",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state).inViewport;return this.getRenderWhenViewable(e)&&!t}},{key:"defineSlot",value:function(){var e=this.props,n=e.adUnitPath,r=e.outOfPage,o=e.npa,a=this._divId,i=this.getSlotSize();this.handleSetNpaFlag(o),this._adSlot||(this._adSlot=r?t._adManager.googletag.defineOutOfPageSlot(n,a):t._adManager.googletag.defineSlot(n,i||[],a)),this.configureSlot(this._adSlot)}},{key:"configureSlot",value:function(e){var n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.props,o=r.sizeMapping,a=r.attributes,i=r.targeting,s=r.companionAdService,l=r.categoryExclusion,u=r.collapseEmptyDiv,c=r.safeFrameConfig,d=r.content,f=r.clickUrl,p=r.forceSafeFrame;(this.defineSizeMapping(e,o),void 0!==u)&&(Array.isArray(u)?(n=e.setCollapseEmptyDiv).call.apply(n,[e].concat(function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}(u))):e.setCollapseEmptyDiv(u));if(f&&e.setClickUrl(f),l){var g=l;"string"==typeof g&&(g=[g]),e.clearCategoryExclusions(),g.forEach((function(t){e.setCategoryExclusion(t)}))}this.setAttributes(e,a),this.setTargeting(e,i),c&&e.setSafeFrameConfig(c),p&&e.setForceSafeFrame(p),s&&this.addCompanionAdService(s,e),d?e.addService(t._adManager.googletag.content()):e.addService(t._adManager.googletag.pubads())}},{key:"display",value:function(){var e=this.props.content,n=this._divId,r=this._adSlot;e?t._adManager.googletag.content().setContent(r,e):(t._adManager.googletag.display(n),t._adManager._disableInitialLoad&&!t._adManager._initialRender&&this.refresh())}},{key:"clear",value:function(){var e=this._adSlot;if(e&&e.hasOwnProperty("getServices")){var n=e.getServices();if(this._divId&&n.some((function(e){return!!e.setContent})))return void(document.getElementById(this._divId).innerHTML="");t._adManager.clear([e])}}},{key:"refresh",value:function(e){var n=this._adSlot;n&&(this.clear(),t._adManager.refresh([n],e))}},{key:"render",value:function(){var e=this.state.scriptLoaded,n=this.props,r=n.id,o=n.outOfPage,a=n.style,i=this.notInViewport(this.props,this.state);if(!e||i){var s=this.getSlotSize();o||(0,f.default)(s,"Either 'slotSize' or 'sizeMapping' prop needs to be set."),Array.isArray(s)&&Array.isArray(s[0])&&(s=s[0]),("fluid"===s||Array.isArray(s)&&"fluid"===s[0])&&(s=["auto","auto"]);var l=s&&{width:s[0],height:s[1]};return u.default.createElement("div",{style:l})}return this.clear(),this._adSlot&&(t._adManager.googletag.destroySlots([this._adSlot]),this._adSlot=null),this._divId=r||t._adManager.generateDivId(),u.default.createElement("div",{id:this._divId,style:a})}},{key:"handleSetNpaFlag",value:function(e){void 0!==e&&t._adManager.pubadsProxy({method:"setRequestNonPersonalizedAds",args:[e?1:0],resolve:null,reject:null})}},{key:"adSlot",get:function(){return this._adSlot}},{key:"viewableThreshold",get:function(){return this.props.viewableThreshold>=0?this.props.viewableThreshold:t._config.viewableThreshold}}],[{key:"on",value:function(e,n){t._on("on",e,n)}},{key:"once",value:function(e,n){t._on("once",e,n)}},{key:"removeListener",value:function(){var e;(e=t._adManager).removeListener.apply(e,arguments)}},{key:"removeAllListeners",value:function(){var e;(e=t._adManager).removeAllListeners.apply(e,arguments)}},{key:"_on",value:function(e,n,r){"function"==typeof r&&(n===y.default.READY&&t._adManager.isReady?r.call(t._adManager,t._adManager.googletag):t._adManager[e](n,r))}},{key:"configure",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};t._config=a({},t._config,e)}},{key:"getGPTVersion",value:function(){return t._adManager.getGPTVersion()}},{key:"getPubadsVersion",value:function(){return t._adManager.getPubadsVersion()}},{key:"syncCorrelator",value:function(e){t._adManager.syncCorrelator(e)}},{key:"render",value:function(){t._adManager.renderAll()}},{key:"refresh",value:function(e,n){t._adManager.refresh(e,n)}},{key:"clear",value:function(e){t._adManager.clear(e)}},{key:"testManager",set:function(e){(0,f.default)(e,"Pass in createManagerTest to mock GPT"),t._adManager=e}}]),t}(l.Component),r.propTypes={id:c.default.string,adUnitPath:c.default.string.isRequired,targeting:c.default.object,slotSize:c.default.oneOfType([c.default.array,c.default.string]),sizeMapping:c.default.arrayOf(c.default.shape({viewport:c.default.array,slot:c.default.array})),outOfPage:c.default.bool,companionAdService:c.default.oneOfType([c.default.bool,c.default.object]),content:c.default.string,clickUrl:c.default.string,categoryExclusion:c.default.oneOfType([c.default.string,c.default.array]),attributes:c.default.object,collapseEmptyDiv:c.default.oneOfType([c.default.bool,c.default.array]),forceSafeFrame:c.default.bool,safeFrameConfig:c.default.object,onSlotRenderEnded:c.default.func,onImpressionViewable:c.default.func,onSlotVisibilityChanged:c.default.func,onSlotOnload:c.default.func,renderWhenViewable:c.default.bool,viewableThreshold:c.default.number,onScriptLoaded:c.default.func,onMediaQueryChange:c.default.func,style:c.default.object,npa:c.default.bool},r.refreshableProps=["targeting","sizeMapping","clickUrl","categoryExclusion","attributes","collapseEmptyDiv","companionAdService","forceSafeFrame","safeFrameConfig"],r.reRenderProps=["adUnitPath","slotSize","outOfPage","content","npa"],r._adManager=(0,b.createManager)(),r._config={seedFileUrl:"//www.googletagservices.com/tag/js/gpt.js",renderWhenViewable:!0,viewableThreshold:.5,filterProps:h.default,propsEqual:p.default},o);t.default=(0,g.default)(S,b.pubadsAPI.reduce((function(e,t){return e[t]=function(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];return S._adManager.pubadsProxy({method:t,args:n})},e}),{}))},8642:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0});t.default={READY:"ready",RENDER:"render",SLOT_RENDER_ENDED:"slotRenderEnded",IMPRESSION_VIEWABLE:"impressionViewable",SLOT_VISIBILITY_CHANGED:"slotVisibilityChanged",SLOT_LOADED:"slotOnload"}},89967:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.AdManager=t.APIToCallBeforeServiceEnabled=t.pubadsAPI=void 0;var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();t.createManager=function(e){return new d(e)};var o=u(n(26729)),a=n(44592),i=(u(n(41143)),n(58875)),s=u(n(8642)),l=u(n(26964));function u(e){return e&&e.__esModule?e:{default:e}}t.pubadsAPI=["enableAsyncRendering","enableSingleRequest","enableSyncRendering","disableInitialLoad","collapseEmptyDivs","enableVideoAds","set","get","getAttributeKeys","setTargeting","clearTargeting","setCategoryExclusion","clearCategoryExclusions","setCentering","setCookieOptions","setLocation","setPublisherProvidedId","setTagForChildDirectedTreatment","clearTagForChildDirectedTreatment","setVideoContent","setForceSafeFrame"];var c=t.APIToCallBeforeServiceEnabled=["enableAsyncRendering","enableSingleRequest","enableSyncRendering","disableInitialLoad","collapseEmptyDivs","setCentering"],d=t.AdManager=function(e){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n._adCnt=0,n._initialRender=!0,n._syncCorrelator=!1,n._testMode=!1,n._foldCheck=(0,a.throttle)(20,(function(e){n.getMountedInstances().forEach((function(t){t.getRenderWhenViewable()&&t.foldCheck(e)})),n.testMode&&n._getTimer()})),n._handleMediaQueryChange=function(e){if(n._syncCorrelator)n.refresh();else{var t=/min-width:\s?(\d+)px/.exec(e.media),r=t&&t[1];r&&n._mqls[r]&&n._mqls[r].listeners.forEach((function(t){t.refresh(),t.props.onMediaQueryChange&&t.props.onMediaQueryChange(e)}))}},n.render=(0,a.debounce)(4,(function(){if(n._initialRender){var e=n.getMountedInstances(),t=!1,r=void 0;e.forEach((function(e){if(!e.notInViewport()){e.defineSlot();var n=e.adSlot;if(n&&n.hasOwnProperty("getServices")){var r=n.getServices();t||(t=r.filter((function(e){return!!e.enableAsyncRendering})).length>0)}}})),t||(r=n.googletag.defineSlot("/",[])).addService(n.googletag.pubads()),n._processPubadsQueue(),n.googletag.enableServices(),function e(t){n.pubadsReady?t():setTimeout(e,50,t)}((function(){r&&n.googletag.destroySlots([r]),n._processPubadsQueue(),n._listen(),n._isReady=!0,n.emit(s.default.READY,n.googletag),e.forEach((function(e){e.notInViewport()||e.display()})),n.emit(s.default.RENDER,n.googletag),n._initialRender=!1}))}})),n.renderAll=(0,a.debounce)(4,(function(){return!!n.apiReady&&(n.getMountedInstances().forEach((function(e){e.forceUpdate()})),!0)})),e.test&&(n.testMode=e),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,[{key:"_processPubadsQueue",value:function(){var e=this;this._pubadsProxyQueue&&(Object.keys(this._pubadsProxyQueue).forEach((function(t){(e.googletag&&!e.googletag.pubadsReady&&c.indexOf(t)>-1||e.pubadsReady)&&(e._pubadsProxyQueue[t].forEach((function(t){return e.pubadsProxy(t)})),delete e._pubadsProxyQueue[t])})),Object.keys(this._pubadsProxyQueue).length||(this._pubadsProxyQueue=null))}},{key:"_callPubads",value:function(e){var t=e.method,n=e.args,r=e.resolve,o=e.reject;if("function"!=typeof this.googletag.pubads()[t])o(new Error("googletag.pubads does not support "+t+", please update pubadsAPI"));else try{var a;r((a=this.googletag.pubads())[t].apply(a,function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}(n)))}catch(e){o(e)}}},{key:"_toggleListener",value:function(e){var t=this;["scroll","resize"].forEach((function(n){window[e?"addEventListener":"removeEventListener"](n,t._foldCheck)}))}},{key:"_getTimer",value:function(){return Date.now()}},{key:"_listen",value:function(){var e=this;this._listening||([s.default.SLOT_RENDER_ENDED,s.default.IMPRESSION_VIEWABLE,s.default.SLOT_VISIBILITY_CHANGED,s.default.SLOT_LOADED].forEach((function(t){["pubads","content","companionAds"].forEach((function(n){e.googletag[n]().addEventListener(t,e._onEvent.bind(e,t))}))})),this._listening=!0)}},{key:"_onEvent",value:function(e,t){this.listeners(e,!0)&&this.emit(e,t);var n=this.getMountedInstances(),r=t.slot,o="on"+e.charAt(0).toUpperCase()+e.substr(1),a=n.filter((function(e){return r===e.adSlot}))[0];a&&a.props[o]&&a.props[o](t)}},{key:"syncCorrelator",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this._syncCorrelator=e}},{key:"generateDivId",value:function(){return"bling-"+ ++this._adCnt}},{key:"getMountedInstances",value:function(){return this.mountedInstances||(this.mountedInstances=[]),this.mountedInstances}},{key:"addInstance",value:function(e){var t=this.getMountedInstances();-1===t.indexOf(e)&&(0===t.length&&this._toggleListener(!0),this.addMQListener(e,e.props),t.push(e))}},{key:"removeInstance",value:function(e){var t=this.getMountedInstances(),n=t.indexOf(e);n>=0&&(t.splice(n,1),0===t.length&&this._toggleListener(!1),this.removeMQListener(e,e.props))}},{key:"addMQListener",value:function(e,t){var n=this,r=t.sizeMapping;r&&Array.isArray(r)&&r.forEach((function(t){var r=t.viewport&&t.viewport[0];if(void 0!==r){if(n._mqls||(n._mqls={}),!n._mqls[r]){var o=window.matchMedia("(min-width: "+r+"px)");o.addListener(n._handleMediaQueryChange),n._mqls[r]={mql:o,listeners:[]}}-1===n._mqls[r].listeners.indexOf(e)&&n._mqls[r].listeners.push(e)}}))}},{key:"removeMQListener",value:function(e){var t=this;this._mqls&&Object.keys(this._mqls).forEach((function(n){var r=t._mqls[n].listeners.indexOf(e);r>-1&&t._mqls[n].listeners.splice(r,1),0===t._mqls[n].listeners.length&&(t._mqls[n].mql.removeListener(t._handleMediaQueryChange),delete t._mqls[n])}))}},{key:"isInViewport",value:function(){return l.default.apply(void 0,arguments)}},{key:"refresh",value:function(e,t){return!!this.pubadsReady&&(this.googletag.pubads().refresh(e,t),!0)}},{key:"clear",value:function(e){return!!this.pubadsReady&&(this.googletag.pubads().clear(e),!0)}},{key:"getGPTVersion",value:function(){return!!this.apiReady&&this.googletag.getVersion()}},{key:"getPubadsVersion",value:function(){return!!this.pubadsReady&&this.googletag.pubads().getVersion()}},{key:"load",value:function(e){var t=this;return this._loadPromise||(this._loadPromise=new Promise((function(n,r){if(t.testMode)n(t.googletag);else if(i.canUseDOM)if(e){var o=function(){window.googletag?(t._googletag=window.googletag,t.googletag.cmd.push((function(){t._isLoaded=!0,n(t.googletag)}))):r(new Error("window.googletag is not available"))};if(window.googletag&&window.googletag.apiReady)o();else{var a=document.createElement("script");a.async=!0,a.onload=o,a.onerror=function(){r(new Error("failed to load script"))},a.src=e,document.head.appendChild(a)}}else r(new Error("url is missing"));else r(new Error("DOM not available"))})))}},{key:"pubadsProxy",value:function(e){var t=this,n=e.method,r=e.args,o=void 0===r?[]:r,a=e.resolve,i=e.reject;return a?(this._callPubads({method:n,args:o,resolve:a,reject:i}),Promise.resolve()):(c.indexOf(n)>-1&&(this["_"+n]=o&&o.length&&o[0]||!0),new Promise((function(e,r){var a={method:n,args:o,resolve:e,reject:r};t.pubadsReady?t._callPubads(a):(t._pubadsProxyQueue||(t._pubadsProxyQueue={}),t._pubadsProxyQueue[n]||(t._pubadsProxyQueue[n]=[]),t._pubadsProxyQueue[n].push(a))})))}},{key:"googletag",get:function(){return this._googletag}},{key:"isLoaded",get:function(){return!!this._isLoaded}},{key:"isReady",get:function(){return!!this._isReady}},{key:"apiReady",get:function(){return this.googletag&&this.googletag.apiReady}},{key:"pubadsReady",get:function(){return this.googletag&&this.googletag.pubadsReady}},{key:"testMode",get:function(){return this._testMode},set:function(e){}}]),t}(o.default)},94119:(e,t,n)=>{var r=n(46963);Object.defineProperty(t,"p1",{enumerable:!0,get:function(){return a(r).default}});var o=n(8642);function a(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"zW",{enumerable:!0,get:function(){return a(o).default}})},23870:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){return e.reduce((function(e,r){return e.props[r]=t[r],e.nextProps[r]=n[r],e}),{props:{},nextProps:{}})}},26964:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0});var n=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,o=!1,a=void 0;try{for(var i,s=e[Symbol.iterator]();!(r=(i=s.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{!r&&s.return&&s.return()}finally{if(o)throw a}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")};t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[0,0],r=n(t,2),o=r[0],a=r[1],i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(!e||1!==e.nodeType)return!1;var s=e.getBoundingClientRect(),l={top:s.top,left:s.left,bottom:s.bottom,right:s.right},u={top:0,left:0,bottom:window.innerHeight,right:window.innerWidth};return l.bottom>=u.top+a*i&&l.right>=u.left+o*i&&l.top<=u.bottom-a*i&&l.left<=u.right-o*i}},45199:e=>{"use strict";var t={childContextTypes:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,mixins:!0,propTypes:!0,type:!0},n={name:!0,length:!0,prototype:!0,caller:!0,arguments:!0,arity:!0},r="function"==typeof Object.getOwnPropertySymbols;e.exports=function(e,o,a){if("string"!=typeof o){var i=Object.getOwnPropertyNames(o);r&&(i=i.concat(Object.getOwnPropertySymbols(o)));for(var s=0;s<i.length;++s)if(!(t[i[s]]||n[i[s]]||a&&a[i[s]]))try{e[i[s]]=o[i[s]]}catch(e){}}return e}},30370:(e,t,n)=>{"use strict";n.d(t,{Z:()=>S});var r=n(32747),o=n.n(r),a=n(45697),i=n.n(a);function s(e){return(s="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})(e)}function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function u(){return(u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function c(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,o=!1,a=void 0;try{for(var i,s=e[Symbol.iterator]();!(r=(i=s.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{r||null==s.return||s.return()}finally{if(o)throw a}}return n}}(e,t)||function(e,t){if(e){if("string"==typeof e)return d(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?d(e,t):void 0}}(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 d(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function f(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"===s(e))if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=f(e[t]))&&(r&&(r+=" "),r+=n);else for(t in e)e[t]&&(r&&(r+=" "),r+=t);return r}var p="lds__privacy-policy",g="".concat(p,"__positionBottom"),y="".concat(p,"__closed"),h="".concat(p,"__closed--init"),b={en:"en",fr:"fr"},v=o().forwardRef((function(e,t){var n,a,i=e.lang,s=e.onClose,u=e.isShown,d=!u,v=c(o().useState(u),2),m=v[0],S=v[1];(0,r.useEffect)((function(){S(u)}),[u]);var _=(l(n={},b.en,{ariaLabel:"Loblaw Privacy Policy",close:"close",ppURL:"https://www.loblaw.ca/en/privacy.html",copy:{part1:"We use cookies and other technologies to enable core functionality on our website(s) and to provide you with a personalized experience. For more information on cookies and how to manage your settings, visit the ",linkCopy:"Loblaw Privacy Policy",part2:"."}}),l(n,b.fr,{ariaLabel:"Politique de Confidentialité",close:"fermer",ppURL:"https://www.loblaw.ca/fr/privacy.html",copy:{part1:"Nous utilisons des témoins et d'autres technologies pour activer les fonctionnalités principales sur nos sites Web et pour vous offrir une expérience personnalisée. Pour plus d'informations sur les témoins et sur la gestion de vos paramètres, consultez notre ",linkCopy:"politique de confidentialité",part2:"."}}),n),E=function(){return m?arguments.length>0&&void 0!==arguments[0]?arguments[0]:0:-1},w=function(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=f(e))&&(r&&(r+=" "),r+=t);return r}(p,(l(a={},g,!0),l(a,y,!1===m),l(a,h,d),a));return o().createElement("div",{ref:t,tabIndex:E(),"aria-label":_[i].ariaLabel,"aria-describedby":p,className:w},o().createElement("div",{className:"".concat(p,"__innerWrapper")},o().createElement("div",{id:p},function(e){var t=e.copy,n=e.ppURL;return o().createElement("p",null,t.part1,o().createElement("a",{tabIndex:E(null),href:n,target:"_blank",className:"".concat(p,"__link")},t.linkCopy),t.part2)}(_[i])),o().createElement("button",{type:"button",tabIndex:E(null),className:"".concat(p,"__btnClose"),onClick:function(e){return t=e,S(!1),t.target.blur(),void(s&&s(t));var t}},_[i].close)))}));v.LANGS=b,v.defaultProps={isShown:!1,lang:b.en},v.propTypes={isShown:i().bool,lang:i().oneOf(Object.values(b)),onClose:i().func};var m=o().forwardRef((function(e,t){var n=e.lang,r=e.onClose,a=e.cookie,i=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["lang","onClose","cookie"]),s=function(){var e=a.key,t=a.maxAge;document.cookie="".concat(e,"=true;max-age=").concat(Math.round(t),";samesite=strict")};return o().createElement(v,u({},i,{ref:t,isShown:!document.cookie.split(";").some((function(e){return e.includes("".concat(a.key,"=true"))})),lang:n,onClose:function(e){return function(e){s(),r&&r(e)}(e)}}))}));m.LANGS=v.LANGS,m.defaultProps={lang:m.LANGS.en,cookie:{key:"LDS_simplePPC",maxAge:2592e3}},m.propTypes={lang:i().oneOf(Object.values(m.LANGS)),onClose:i().func,cookie:i().shape({key:i().string.isRequired,maxAge:i().number.isRequired})};const S=m},82445:(e,t,n)=>{"use strict";n.d(t,{b4:()=>ee,Cv:()=>K});var r=n(32747),o=n(31103),a=r,i=Symbol.for("react-redux-context"),s="undefined"!=typeof globalThis?globalThis:{};function l(){if(!a.createContext)return{};const e=s[i]??(s[i]=new Map);let t=e.get(a.createContext);return t||(t=a.createContext(null),e.set(a.createContext,t)),t}var u=l(),c=()=>{throw new Error("uSES not initialized!")};function d(e=u){return function(){return a.useContext(e)}}var f=d(),p=c,g=(e,t)=>e===t;function y(e=u){const t=e===u?f:d(e),n=(e,n={})=>{const{equalityFn:r=g,devModeChecks:o={}}="function"==typeof n?{equalityFn:n}:n;const{store:i,subscription:s,getServerState:l,stabilityCheck:u,identityFunctionCheck:c}=t(),d=(a.useRef(!0),a.useCallback({[e.name]:t=>e(t)}[e.name],[e,u,o.stabilityCheck])),f=p(s.addNestedSub,i.getState,l||i.getState,d,r);return a.useDebugValue(f),f};return Object.assign(n,{withTypes:()=>n}),n}var h=y();Symbol.for("react.element"),Symbol.for("react.portal"),Symbol.for("react.fragment"),Symbol.for("react.strict_mode"),Symbol.for("react.profiler"),Symbol.for("react.provider"),Symbol.for("react.context"),Symbol.for("react.server_context"),Symbol.for("react.forward_ref"),Symbol.for("react.suspense"),Symbol.for("react.suspense_list"),Symbol.for("react.memo"),Symbol.for("react.lazy"),Symbol.for("react.offscreen"),Symbol.for("react.client.reference");function b(e){e()}var v={notify(){},get:()=>[]};function m(e,t){let n,r=v,o=0,a=!1;function i(){u.onStateChange&&u.onStateChange()}function s(){o++,n||(n=t?t.addNestedSub(i):e.subscribe(i),r=function(){let e=null,t=null;return{clear(){e=null,t=null},notify(){b((()=>{let t=e;for(;t;)t.callback(),t=t.next}))},get(){const t=[];let n=e;for(;n;)t.push(n),n=n.next;return t},subscribe(n){let r=!0;const o=t={callback:n,next:null,prev:t};return o.prev?o.prev.next=o:e=o,function(){r&&null!==e&&(r=!1,o.next?o.next.prev=o.prev:t=o.prev,o.prev?o.prev.next=o.next:e=o.next)}}}}())}function l(){o--,n&&0===o&&(n(),n=void 0,r.clear(),r=v)}const u={addNestedSub:function(e){s();const t=r.subscribe(e);let n=!1;return()=>{n||(n=!0,t(),l())}},notifyNestedSubs:function(){r.notify()},handleChangeWrapper:i,isSubscribed:function(){return a},trySubscribe:function(){a||(a=!0,s())},tryUnsubscribe:function(){a&&(a=!1,l())},getListeners:()=>r};return u}var S=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement)?a.useLayoutEffect:a.useEffect;Object.defineProperty,Object.getOwnPropertyNames,Object.getOwnPropertySymbols,Object.getOwnPropertyDescriptor,Object.getPrototypeOf,Object.prototype;var _=function({store:e,context:t,children:n,serverState:r,stabilityCheck:o="once",identityFunctionCheck:i="once"}){const s=a.useMemo((()=>{const t=m(e);return{store:e,subscription:t,getServerState:r?()=>r:void 0,stabilityCheck:o,identityFunctionCheck:i}}),[e,r,o,i]),l=a.useMemo((()=>e.getState()),[e]);S((()=>{const{subscription:t}=s;return t.onStateChange=t.notifyNestedSubs,t.trySubscribe(),l!==e.getState()&&t.notifyNestedSubs(),()=>{t.tryUnsubscribe(),t.onStateChange=void 0}}),[s,l]);const c=t||u;return a.createElement(c.Provider,{value:s},n)};function E(e=u){const t=e===u?f:d(e),n=()=>{const{store:e}=t();return e};return Object.assign(n,{withTypes:()=>n}),n}var w=E();function O(e=u){const t=e===u?w:E(e),n=()=>t().dispatch;return Object.assign(n,{withTypes:()=>n}),n}var k,P=O();k=o.useSyncExternalStoreWithSelector,p=k,(e=>{e})(r.useSyncExternalStore);var C=n(85893),N=n(10364),x=Object.defineProperty,M=Object.defineProperties,A=Object.getOwnPropertyDescriptors,T=Object.getOwnPropertySymbols,I=Object.prototype.hasOwnProperty,j=Object.prototype.propertyIsEnumerable,D=(e,t,n)=>t in e?x(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,L=(e,t)=>{for(var n in t||(t={}))I.call(t,n)&&D(e,n,t[n]);if(T)for(var n of T(t))j.call(t,n)&&D(e,n,t[n]);return e},R=(e,t)=>M(e,A(t)),U=(e,t)=>{var n={};for(var r in e)I.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&T)for(var r of T(e))t.indexOf(r)<0&&j.call(e,r)&&(n[r]=e[r]);return n},V={display:"block",minHeight:"20px",minWidth:"20px",left:"-9999px",opacity:0,position:"absolute"},B=(0,r.forwardRef)((function({children:e},t){return(0,C.jsx)("div",R(L({ref:t},{inert:"true"}),{"aria-hidden":"true",style:V,children:e}))})),F={background:"#FAB",display:"block",height:"250px",width:"300px"},q=(0,r.forwardRef)((function(e,t){var n=e,{adSlot:o}=n,a=U(n,["adSlot"]);const i=(0,r.useRef)(null);return(0,r.useImperativeHandle)(t,(()=>i.current),[]),(0,r.useEffect)((()=>{i.current&&o&&window.googletag.cmd.push((()=>{window.googletag.display("banner-ad")}))}),[o]),(0,C.jsx)(B,R(L({},a),{children:(0,C.jsx)("div",{id:"banner-ad",ref:i,style:F})}))})),z=(...e)=>{console.warn("ATL:: WARNING:: ",e)},G=e=>{const t=e?getComputedStyle(e):null;if(!t)return!1;let n=!1;return("none"===(null==t?void 0:t.display)||(null==t?void 0:t.width)&&(parseInt(t.width.slice(0,-2))<10||parseInt(t.height.slice(0,-2))<10))&&(n=!0),n},W=e=>{document.body.removeChild(e)},K=(e=>(e.UNSET="UNSET",e.PENDING="PENDING",e.UNBLOCKED="UNBLOCKED",e.BLOCKED="BLOCKED",e.UNKNOWN="UNKNOWN",e))(K||{}),Q=P,H=h,Y=(e=1e3)=>{const[t,n]=(0,r.useState)("PENDING"),o=(0,r.useRef)(!1),a=(0,r.useRef)(null),i=(0,r.useRef)(null);let s=null,l=null;return(0,r.useEffect)((()=>("PENDING"===t&&(s=setInterval((()=>{var e;"PENDING"===t&&o.current&&((e=a.current)&&e.firstElementChild&&!G(e.firstElementChild)&&n("UNBLOCKED"))}),10),o.current&&(l=setTimeout((()=>{clearInterval(s),"PENDING"===t&&n("BLOCKED")}),e))),()=>{s&&clearInterval(s),l&&clearTimeout(l)})),[t,o]),{elementReadyForTesting:o,blockStatus:t,setBlockStatus:n,testName:i,testElement:a}},Z=({timeoutWaitTime:e=1e3})=>{const[t,n]=(0,r.useState)(!1),{blockStatus:o,testElement:a,setAdSlot:i,adSlot:s}=((e=1e3)=>{const{testElement:t,testName:n,blockStatus:o,setBlockStatus:a,elementReadyForTesting:i}=Y(e),[s,l]=(0,r.useState)(null);return n.current="dom",(0,r.useEffect)((()=>{if(!s)return;try{window.googletag.pubads().addEventListener("slotRenderEnded",(e=>{e.slot===s&&(i.current=!0)}))}catch(e){z("caught error at slotRenderEnded",e)}if(i.current)return;const t=setTimeout((()=>{var e,t;"PENDING"===o&&a((null==(t=null==(e=document.getElementById(s.getSlotElementId()))?void 0:e.firstChild)?void 0:t.firstChild)?"UNBLOCKED":"BLOCKED")}),e);return()=>{clearTimeout(t)}}),[s,o]),{adSlot:s,setAdSlot:l,blockStatus:o,testElement:t}})(e),{blockStatus:l,testElement:u}=((e=1e3)=>{const{testName:t,testElement:n,blockStatus:r,elementReadyForTesting:o}=Y(e);return t.current="textDom",o.current=!0,{testElement:n,blockStatus:r}})(e),{isFetchSuccess:c}=(()=>{const[e,t]=(0,r.useState)("PENDING");return(0,r.useEffect)((()=>{try{fetch("https://securepubads.g.doubleclick.net/pagead/ppub_config",{body:null,method:"GET",mode:"cors",credentials:"omit"}).then((()=>{t("UNBLOCKED")})).catch((()=>{t("BLOCKED")}))}catch(e){z("something weird happened in the fetch test!",e),t("UNKNOWN")}}),[]),{isFetchSuccess:e}})(),d=Q(),f=setInterval((()=>{var e;!t&&window.googletag&&window.googletag.apiReady&&void 0===(null==(e=window.googletag.cmd)?void 0:e.splice)&&(n(!0),clearInterval(f))}),10);(0,r.useEffect)((()=>{d(oe());const e=((e,t)=>{const n=document.createElement("script");return n.src="https://pagead2.googlesyndication.com/pagead/js/rum.js",n.onerror=e=>t(e),n.onload=t=>e(t),document.body.appendChild(n),n})((()=>{d(re({testName:"script",status:"UNBLOCKED"})),W(e)}),(()=>{d(re({testName:"script",status:"BLOCKED"})),W(e)}))}),[]),(0,r.useEffect)((()=>{"PENDING"!==c&&d(re({testName:"http",status:c}))}),[c]),(0,r.useEffect)((()=>{t&&i((()=>{let e=null;return window.googletag=window.googletag||{cmd:[]},window.googletag.cmd.push((()=>{e=window.googletag.defineSlot("/6355419/Travel/Europe/France/Paris",[300,250],"banner-ad").addService(window.googletag.pubads())})),window.googletag.enableServices(),e})());const n=setTimeout((()=>{f&&clearInterval(f),t||d(re({testName:"dom",status:"BLOCKED"}))}),e);return()=>{clearTimeout(n)}}),[t]),(0,r.useEffect)((()=>{d(re({testName:"dom",status:o}))}),[o]),(0,r.useEffect)((()=>{d(re({testName:"textDom",status:l}))}),[l]);const p=e=>{d(re({testName:e,status:"UNKNOWN"}))};return t?(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(X,{testName:"dom",errorCallback:p,children:(0,C.jsx)(q,{adSlot:s,ref:a})}),(0,C.jsx)(X,{testName:"textDom",errorCallback:p,children:(0,C.jsx)($,{ref:u})})]}):null},$=(0,r.forwardRef)((function(e,t){return(0,C.jsx)(B,R(L({},e),{children:(0,C.jsx)("div",{ref:t,className:"product-tile__eyebrow","data-cruller":"product-tile-eyebrow","data-testid":"product-tile-eyebrow-index-1",children:(0,C.jsx)("div",{className:"product-badge__text product-badge__text--product-tile","data-testid":"product-badge-index-1",children:"Sponsored"})})}))})),J=e=>{var t=e,{adBlockDetectionCallback:n,destroyOnTestEnd:o=!0}=t,a=U(t,["adBlockDetectionCallback","destroyOnTestEnd"]);const i=H((e=>(e=>e.blockDetection.application)(e))),[s,l]=(0,r.useState)(!0),u=h((e=>e.blockDetection.subTestStatuses)),c=()=>(e=>{const t=Object.keys(e);let n=!1;return t.forEach((t=>{n="PENDING"===e[t].status})),n})(u);return(0,r.useEffect)((()=>{if("BLOCKED"!==i&&"UNBLOCKED"!==i||n&&n(i),!o||"PENDING"===i||c()||"UNSET"===i)return;let e=null;return e=setTimeout((()=>{l(!1)}),5e3),()=>{e&&clearTimeout(e)}}),[i]),s?(0,C.jsx)(Z,L({},a)):null},X=class extends r.Component{constructor(e){super(e),this.errorCallback=e.errorCallback,this.testName=e.testName,this.state={hasError:!1}}static getDerivedStateFromError(e){if(e)return{hasError:!0}}componentDidCatch(e,t){z(e," occured in ",null==t?void 0:t.componentStack),this.errorCallback(this.testName,e,t)}render(){return this.state.hasError?null:this.props.children}},ee=e=>{var t=e,{children:n}=t,r=U(t,["children"]);return(0,C.jsxs)(_,{store:ie,children:[(0,C.jsx)(J,L({},r)),n]})},te={setAppPending:e=>{e.application="PENDING",e.subTestStatuses.http.status="PENDING",e.subTestStatuses.dom.status="PENDING",e.subTestStatuses.textDom.status="PENDING",e.subTestStatuses.script.status="PENDING"},setTestStatus:(e,t)=>{e.subTestStatuses[t.payload.testName]?(e.subTestStatuses[t.payload.testName].status=t.payload.status,"BLOCKED"===t.payload.status||"UNKNOWN"===t.payload.status?e.application="BLOCKED":((e,t)=>{const n=Object.keys(L({},e.subTestStatuses));let r=!0;for(let o=0;o<n.length&&r;o++){const a=n[o];r=e.subTestStatuses[a].status===t}return r})(e,"UNBLOCKED")&&(e.application="UNBLOCKED")):z("provided test type does not exist!",t.payload.testName)}},ne=(0,N.oM)({name:"blockerDetection",initialState:{application:"UNSET",subTestStatuses:{dom:{status:"UNSET",version:"1.1.0"},textDom:{status:"UNSET",version:"1.1.0"},script:{status:"UNSET",version:"1.0.0"},http:{status:"UNSET",version:"1.0.0"}}},reducers:te}),{setTestStatus:re,setAppPending:oe}=ne.actions,ae=ne.reducer,ie=(0,N.xC)({reducer:{blockDetection:ae}})}}]);