(window.webpackJsonp=window.webpackJsonp||[]).push([["retail-msg"],{"247a":function(e,t,r){"use strict";r.r(t);var s=r("590d"),i=r.n(s);for(var n in s)["default"].indexOf(n)<0&&function(e){r.d(t,e,(function(){return s[e]}))}(n);t.default=i.a},"590d":function(e,t,r){"use strict";var s=r("288e");r("8e6e"),r("ac6a"),r("456d"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=s(r("bd86")),n=r("2f62");function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,s)}return r}function c(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?a(Object(r),!0).forEach((function(t){(0,i.default)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}t.default={name:"RetailMessaging",data:function(){return{tickerInterval:null,tickerMsgIndex:0}},computed:c(c(c({},(0,n.mapState)("presentation",["presentation"])),(0,n.mapGetters)("presentation",["retailPricingMessage","tickerMessage"])),{},{primaryMessage:function(){return this.retailPricingMessage&&!this.tickerMessage.length?this.retailPricingMessage:this.tickerMessage[this.tickerMsgIndex]},pricingPrimary:function(){return this.primaryMessage===this.retailPricingMessage},showPrimaryMessage:function(){return this.tickerMessage||this.retailPricingMessage},showSecondaryMessage:function(){return this.showPrimaryMessage&&this.retailPricingMessage&&this.tickerMessage&&this.tickerMessage.length>0}}),beforeDestroy:function(){this.tickerInterval&&clearInterval(this.tickerInterval)},methods:{changeTickerMsg:function(){this.tickerMsgIndex=++this.tickerMsgIndex%this.tickerMessage.length},startMsgTimer:function(){var e=this;void 0!==this.tickerMessage&&this.tickerMessage.length>0&&(clearInterval(this.tickerInterval),this.tickerInterval=setInterval((function(){e.changeTickerMsg()}),5e3))}},mounted:function(){this.startMsgTimer()}}},7663:function(e,t,r){},"9a90":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0;t.render=function(){var e=this,t=e._self._c;return t("div",[e.showSecondaryMessage?t("div",{staticClass:"rectangle"}):e._e(),e.showSecondaryMessage?t("div",{staticClass:"message secondary-message fs-block",class:{"pricing-message":!e.pricingPrimary}},[e._v("\n      "+e._s(e.retailPricingMessage)+"\n  ")]):e._e(),e.showPrimaryMessage?t("div",{staticClass:"rectangle"}):e._e(),e.showPrimaryMessage?t("div",{staticClass:"message fs-block",class:{"pricing-message":e.pricingPrimary}},[e._v("\n      "+e._s(e.primaryMessage)+"\n  ")]):e._e()])},t.staticRenderFns=[]},c2c5:function(e,t,r){"use strict";r("7663")},d782:function(e,t,r){"use strict";r.r(t);var s=r("da33"),i=r("247a");for(var n in i)["default"].indexOf(n)<0&&function(e){r.d(t,e,(function(){return i[e]}))}(n);r("c2c5");var a=r("2877"),c=Object(a.a)(i.default,s.render,s.staticRenderFns,!1,null,"5708f318",null);t.default=c.exports},da33:function(e,t,r){"use strict";var s=r("9a90");r.o(s,"render")&&r.d(t,"render",(function(){return s.render})),r.o(s,"staticRenderFns")&&r.d(t,"staticRenderFns",(function(){return s.staticRenderFns}))}}]);