1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9857],{46125:function(e,t,n){n.d(t,{Z:function(){return l}});var o=n(41408),i=n(83030),a=(0,o.iv)(["font-family:",";margin-bottom:30px;padding-top:",";&.cart-title{margin-bottom:0;padding-bottom:10px;}h1.a-pageTitle{color:",";text-transform:uppercase;span{position:relative;display:flex;justify-content:center;align-items:center;img{display:inline-block;margin-right:5px;}}}&.store-locator-title h1.a-pageTitle{font-size:",";line-height:1.36;color:",";letter-spacing:1px;font-weight:",";text-transform:none;}@media ","{margin-bottom:60px;padding-top:",";}.bookDemoGetQuoteSubTitle{color:",";}"],(function(e){return e.theme.fonts.primaryFontFamily}),(function(e){return e.title?(0,i.hO)(e.theme.padding.paddingNormal):0}),(function(e){return e.theme.colors.GREY5}),(function(e){return(0,i.hO)(e.theme.fonts.fontSize.heading.small.h4)}),(function(e){return e.theme.colors.BEO_BLACK}),(function(e){return e.theme.fonts.fontWeight.normal}),(function(e){return e.theme.mediaQuery.medium}),(function(e){return e.title?(0,i.hO)(e.theme.padding.paddingExtraLarge):0}),(function(e){return e.theme.colors.GREY5})),r=n(34869),s=n(24246),c=function(e){var t=e.className,n=e.title,o=e.subTitle,i=e.slnId,a=e.showLockIcon,r=e.isBookDemoGetQuoteFlow,c=void 0!==r&&r,l=e.isComposerBookDemoFlow,d=void 0!==l&&l;return(0,s.jsx)("div",{className:"".concat(t," container center-xs"),"data-sln-id":"".concat(i,"_pageTitle_container"),children:c||d?(0,s.jsxs)(s.Fragment,{children:[n&&(0,s.jsx)("h1",{className:"bookDemoGetQuoteTitle h4 -secondary","data-sln-id":"".concat(i,"_pageTitle"),children:n}),o&&(0,s.jsx)("h3",{className:"bookDemoGetQuoteSubTitle b1","data-sln-id":"".concat(i,"_pageSubTitle"),children:o})]}):(0,s.jsxs)(s.Fragment,{children:[n&&(0,s.jsx)("h1",{className:"a-pageTitle h5","data-sln-id":"".concat(i,"_pageTitle"),children:(0,s.jsxs)("span",{children:[a&&(0,s.jsx)("img",{src:"/static-assets/images/common/lock.svg",alt:""}),n]})}),o&&(0,s.jsx)("h2",{className:"a-pageSubTitle h4 -secondary","data-sln-id":"".concat(i,"_pageSubTitle"),children:o})]})})};c.displayName="PageTitle",c.defaultProps={};var l=(0,r.Z)(c,a)},396:function(e,t,n){n.d(t,{Z:function(){return j}});var o=n(43350),i=n(80040),a=n(59307),r=n(48415),s=n(73667),c=n(3117),l=n(90849),d=n(27378),u=n(31357),m=n(41408),p=n(83030),f=(0,m.iv)(["margin:","px 0;.textAlignment{display:flex;flex-direction:column;align-items:center;}h4{&::after{display:none;}}.col-xs-12{margin-top:40px;}.detainedMessage{text-align:center;margin-bottom:30px;@media ","{margin-bottom:60px;}}.confirmationMessage{text-align:center;font-size:",";line-height:1.12;margin-top:30px;@media ","{margin-top:60px;}}.storeName{margin-bottom:0;}.primaryButton{padding-bottom:20px;}.centerAlign{align-items:center;}&.placeorder{.a-anchorButton{&.-secondary{margin-bottom:20px;}}}"],(function(e){return(function(e){return(e.expressNotificationBannerHeight||0)+(e.countryNotificationHeight||0)+(e.unsupportedBrowserBannerHeight||0)+(e.bannerHeights||0)}(e)||0)+42}),(function(e){return e.theme.mediaQuery.medium}),(function(e){return(0,p.hO)(e.theme.fonts.fontSize.heading.small.h1)}),(function(e){return e.theme.mediaQuery.medium})),h=n(34869),g=n(6234),v=n(81365),x=n(71377),y=n(21318),b=n(71250),L=n(50813),k=n(24246);function C(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function N(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?C(Object(n),!0).forEach((function(t){(0,l.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):C(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Z(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,o=(0,c.Z)(e);if(t){var i=(0,c.Z)(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return(0,s.Z)(this,n)}}var S=function(e){(0,r.Z)(n,e);var t=Z(n);function n(){var e;(0,o.Z)(this,n);for(var i=arguments.length,r=new Array(i),s=0;s<i;s++)r[s]=arguments[s];return e=t.call.apply(t,[this].concat(r)),(0,l.Z)((0,a.Z)(e),"onLinkClick",(function(t){var n=e.props,o=n.flow,i=n.pageType,a=n.selectedStoreId,r=n.isFindStorePage,s=o&&(0,b.G)(o)&&JSON.parse((0,b.G)(o)),c=null===s||void 0===s?void 0:s.productName,l={event:L.tnm,event_info:null===t||void 0===t?void 0:t.toLowerCase(),product_name:null===c||void 0===c?void 0:c.toLowerCase()};(0,b.K5)(o)?(0,y.q8)(N(N({},l),{},{form_name:L.qYr})):(0,b.zX)(o)&&(0,y.q8)(N(N({},l),{},{form_name:L.Kpi}));var d={event:L.otR,eventAction:L.tnm,eventCategory:i,eventLabel:null===t||void 0===t?void 0:t.toLowerCase()};r&&(d=N(N({},d),{},{form_name:L.Og$,store_name:a})),(0,y.q8)(d)})),e}
1return(0,i.Z)(n,[{key:"componentDidMount",value:function(){var e,t,n,o,i,a,r,s,c=this.props,l=c.flow,d=c.isFindStorePage,u=c.selectedStoreId,m=c.pageType,p=c.contactDetails,f=c.storeDetails,h=null===p||void 0===p?void 0:p.contactDetailsFields,g={email:null===h||void 0===h||null===(e=h.email)||void 0===e||null===(t=e.value)||void 0===t?void 0:t.toLowerCase(),phoneNumber:"".concat(null===h||void 0===h||null===(n=h.phoneCode)||void 0===n?void 0:n.value).concat(null===h||void 0===h||null===(o=h.phone)||void 0===o?void 0:o.value),firstName:null===h||void 0===h||null===(i=h.firstName)||void 0===i||null===(a=i.value)||void 0===a?void 0:a.toLowerCase(),lastName:null===h||void 0===h||null===(r=h.lastName)||void 0===r||null===(s=r.value)||void 0===s?void 0:s.toLowerCase()};if((0,b.zX)(l)){var v=(0,y.v8)({pageType:L.LZ6,pageName:"".concat(L.Kpi," - ").concat(L.RuZ),commonPageNumber:"".concat(L.qYr," - ").concat(L.RuZ)});(0,y.q8)(v),(0,y.q8)({event:null===L.olC||void 0===L.olC?void 0:L.olC.EVENT,eventAction:null===L.olC||void 0===L.olC?void 0:L.olC.EVENT,eventCategory:m,eventLabel:L.uLN,form_name:null===L.olC||void 0===L.olC?void 0:L.olC.FORM_NAME,store_name:null===f||void 0===f?void 0:f.storeId,user:g})}else if((0,b.K5)(l)){var x=(0,y.v8)({pageType:L.LZ6,pageName:"".concat(L.qYr," - ").concat(L.RuZ),commonPageNumber:"".concat(L.qYr," - ").concat(L.RuZ)});(0,y.q8)(x),(0,y.q8)({event:null===L.mCp||void 0===L.mCp?void 0:L.mCp.EVENT,eventAction:null===L.mCp||void 0===L.mCp?void 0:L.mCp.EVENT,eventCategory:m,eventLabel:L.uLN,form_name:null===L.mCp||void 0===L.mCp?void 0:L.mCp.FORM_NAME,store_name:null===f||void 0===f?void 0:f.storeId,user:g})}else d&&(0,y.q8)({event:L.ZOW,eventAction:L.ZOW,eventCategory:L.Og$,eventLabel:L.uLN,form_name:L.Og$,store_name:u})}},{key:"render",value:function(){var e=this,t=this.props,n=t.className,o=t.confirmationPageData,i=t.description,a=t.subTitle,r=t.title,s=t.slnId,c=t.enableSecondaryButton,l=t.primaryButtonLabel,d=t.primaryButtonLink,m=t.secondaryButtonLabel,p=t.secondaryButtonLink,f=t.disablePrimaryButton,h=t.storeDetails,g=t.composerImageUrl,y=t.flow,L=(0,b.xr)(y)?g:null===o||void 0===o?void 0:o.get("defaultAssetUrl"),C=h&&h.name;return(0,k.jsx)("div",{className:"".concat(n),"data-sln-id":"".concat(s,"_container"),children:(0,k.jsx)(x.Z,{disablePadding:!0,children:(0,k.jsxs)("div",{className:"row centerAlign",children:[(0,k.jsx)("div",{className:"col-xs-12 col-sm-6",children:(0,k.jsx)("div",{children:(0,k.jsx)(u.Z,{size:u.Z.SIZES.LARGE,src:L,alt:"Banner",ratio:[1,1],slnId:"".concat(s,"_image"),isImageUrl:!0})})}),(0,k.jsxs)("div",{className:"col-xs-12 col-sm-6 textAlignment",children:[C&&(0,k.jsx)("h3",{className:"h5 storeName",children:C}),r&&(0,k.jsx)("h4",{className:"h5","data-sln-id":"".concat(s,"_title"),children:r}),a&&(0,k.jsx)("h4",{className:"confirmationMessage h3","data-sln-id":"".concat(s,"_subTitle"),children:a}),(0,k.jsx)("p",{className:"detainedMessage b1","data-sln-id":"".concat(s,"_description"),children:i}),!f&&(0,k.jsx)("div",{className:"primaryButton",children:(0,k.jsx)(v.Z,N(N({cta:null,variant:"primary"},d),{},{labelText:l,slnId:"".concat(s,"_fiftyfifty_primary"),forceClick:!0,onClick:function(){return e.onLinkClick(l)}}))}),c&&(0,k.jsx)(v.Z,N(N({cta:null,variant:"secondary"},p),{},{labelText:m,slnId:"".concat(s,"_fiftyfifty_secondary"),forceClick:!0,onClick:function(){return e.onLinkClick(m)}}))]})]})})})}}]),n}(d.PureComponent);S.displayName="ConfirmationPage";var w=(0,g.Z)(S),j=(0,h.Z)(w,f)},76199:function(e,t,n){n.d(t,{Z:function(){return I}});var o=n(44285),i=n(43350),a=n(80040),r=n(59307),s=n(48415),c=n(73667),l=n(3117),d=n(90849),u=n(27378),m=n(60042),p=n.n(m),f=n(34869),h=n(41408),g=n(83030),v=(0,h.iv)([".edit-icon{float:right;font-size:",";position:absolute;right:0;top:5px;color:",";}.icn-tick-round{font-size:",";top:-10px;left:calc(50% - 11px);z-index:1;display:inline-block;background:",";&.zoomIn{animation-name:zoom-in;animation-duration:",";animation-fill-mode:both;}}@keyframes zoom-in{0%{opacity:0;transform:scale3d(0.3,0.3,0.3);}50%{opacity:1;}}@keyframes zoom-in{0%{opacity:0;transform:scale3d(0.3,0.3,0.3);}50%{opacity:1;}}.section-margin{margin-bottom:0;width:90%;@media ","{width:100%;}}.section-container{position:relative;h2{display:inline-block;}}.collapsible-padding{padding-bottom:30px;cursor:pointer;}"],(function(e){return(0,g.hO)(e.theme.fonts.fontSize.icon.tertiary)}),(function(e){return e.theme.colors.GREY5}),(function(e){return(0,g.hO)(e.theme.fonts.fontSize.icon.primary)}),(function(e){return e.theme.colors.WHITE}),(function(e){return e.theme.duration.xslow}),(function(e){return e.theme.mediaQuery.medium})),x=n(41605),y=(0,h.iv)(["font-family:",";border-bottom:2px solid ",";padding-bottom:4px;font-size:",";line-height:1.43;color:",";.edit-icon{float:right;font-size:",";}.delivery-address-title{overflow:hidden;padding-bottom:15px;color:",";}&.section-visibility{display:none;}.section-title{padding-bottom:2px;span{font-size:",";font-weight:normal;}}"],(function(e){return e.theme.fonts.primaryFontFamily}),(function(e){return e.theme.colors.GREY1}),(function(e){return(0,g.hO)(e.theme.fonts.fontSize.body.small.tert
1iary)}),(function(e){return e.theme.colors.GREY5}),(function(e){return(0,g.hO)(e.theme.fonts.fontSize.icon.tertiary)}),(function(e){return e.theme.colors.BEO_BLACK}),(function(e){return(0,g.hO)(e.theme.fonts.fontSize.body.small.tertiary)})),b=n(6234),L=n(24246);function k(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,o=(0,l.Z)(e);if(t){var i=(0,l.Z)(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return(0,c.Z)(this,n)}}var C=function(e){(0,s.Z)(n,e);var t=k(n);function n(){return(0,i.Z)(this,n),t.apply(this,arguments)}return(0,a.Z)(n,[{key:"render",value:function(){var e=this.props,t=e.label,n=e.className,o=e.secondaryLabel,i=e.tertiaryLabel,a=e.useDefault,r=e.tabIndex,s=e.isVisible,c=e.showCheckmark,l=e.slnId,d=p()({"delivery-address-title":!a,"section-title":a}),u=p()({"section-visibility":s&&c});return(0,L.jsx)(L.Fragment,{children:(0,L.jsxs)("div",{className:"".concat(n," focus-styling ").concat(u),"data-sln-id":l,tabIndex:r,children:[(0,L.jsxs)("p",{className:d,children:[(0,L.jsx)("span",{className:"left",children:o}),(0,L.jsx)("span",{className:"right",children:i})]}),t&&(0,L.jsxs)("span",{children:[t," "]})]})})}}]),n}(u.PureComponent);C.displayName="PlaceholderFormField";var N=(0,b.Z)(C),Z=(0,f.Z)(N,y);function S(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,o=(0,l.Z)(e);if(t){var i=(0,l.Z)(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return(0,c.Z)(this,n)}}var w=function(e){(0,s.Z)(n,e);var t=S(n);function n(){var e;(0,i.Z)(this,n);for(var a=arguments.length,s=new Array(a),c=0;c<a;c++)s[c]=arguments[c];return e=t.call.apply(t,[this].concat(s)),(0,d.Z)((0,r.Z)(e),"toggleComponentOpenState",(function(t,n,i,a){var r=e.props,s=r.componentList,c=r.openStateCallback,l=(0,o.Z)(s);l[t].isOpen=n,c(l,t,i,n,a)})),(0,d.Z)((0,r.Z)(e),"componentMapper",(function(t,n,o,i){var a=e.props,r=a.secondaryLabel,s=a.tertiaryLabel,c=a.slnId,l=a.genericProps,d=a.showCheckmark,m=t.hidden,p=t.isOpen&&!m;return t.isOpen?i?u.cloneElement(t.component,{showForm:function(t){return e.toggleComponentOpenState(o,!0,i,t)}}):u.cloneElement(t.component,{genericProps:l}):(0,L.jsx)(Z,{label:n||t.placeholder,images:t.images,editable:!!n,secondaryLabel:r,tertiaryLabel:s,tabIndex:x.$L2,slnId:"".concat(c,"_collapsed"),isVisible:!p,showCheckmark:d})})),e}return(0,a.Z)(n,[{key:"render",value:function(){var e=this,t=this.props,n=t.index,o=t.id,i=t.onBlurFunction,a=t.showCounter,r=t.showCheckmark,s=t.isBillingFormOpen,c=t.className,l=t.label,d=t.componentListLength,u=t.item,m=t.slnId,f=u.hidden,h=u.noClick,g=u.isOpen&&!f,v=!g&&r,y=p()(c,{"is-expanded":g}),b=p()(c,{"section-margin":v}),k=p()(c,{"collapsible-padding":v});return(0,L.jsx)("div",{className:"collapsible-section section-".concat(n,"-section ").concat(y),"data-sln-id":"".concat(m,"_container"),children:f?"":(0,L.jsxs)("div",{id:o,className:"section-".concat(n,"-wrapper collapsible-container ").concat(k),onClick:function(){!h&&e.toggleComponentOpenState(n,!0)},onFocusCapture:function(){!h&&e.toggleComponentOpenState(n,!0)},onBlur:function(){i&&i()},children:[a&&(0,L.jsxs)("div",{className:"section-counter",children:[(0,L.jsx)("span",{className:"counter-value","data-sln-id":"".concat(m,"_sectionCounter"),children:"".concat(n+1,"/").concat(d)}),r&&(!g||s)&&(0,L.jsx)("span",{className:"valid-icon",children:(0,L.jsx)("em",{className:"icn-tick-round zoomIn"})})]}),(0,L.jsxs)("div",{className:"section-container",children:[(0,L.jsx)("h2",{className:"".concat(b," section-title"),"aria-level":"2","data-sln-id":"".concat(m,"_sectionTitle"),children:u.componentTitle}),v&&(0,L.jsx)("span",{tabIndex:x.$L2,"aria-label":"edit button",className:"edit-icon",role:"button",children:(0,L.jsx)("em",{className:"icn-edit"})}),(0,L.jsx)("div",{children:this.componentMapper(u,l,n,h)})]})]})})}}]),n}(u.PureComponent);w.displayName="CollapsibleContainer";var j=(0,b.Z)(w),I=(0,f.Z)(j,v)},43761:function(e,t,n){var o=n(61427);t.Z=function(e){return{type:o.Z,data:e}}},61427:function(e,t){t.Z="UPDATE_SELECTED_STORE"},12364:function(e,t,n){n.d(t,{Z:function(){return X}});var o=n(43350),i=n(80040),a=n(59307),r=n(48415),s=n(73667),c=n(3117),l=n(90849),d=n(27378),u=n(49465),m=n(73546),p=n(34051),f=n(60042),h=n.n(f),g=n(86677),v=n.n(g),x=n(34869),y=n(41408),b=n(83030),L=(0,y.iv)(["&.o-expandedStore{padding-bottom:",";img{width:100%;}.hyphen-separator{padding:2px;}.static-map{max-width:140px;img{border:1px solid ",";}}.store-links-container{margin-top:30px;padding-left:0;padding-right:0;.storeWrapper{line-height:1.43;padding-bottom:10px;display:flex;align-items:center;}.store-email,.store-phone{color:",";vertical-align:middle;}.store-phone{cursor:default;text-decoration:none;}}.img-container{width:100%;margin-top:2px;margin-bottom:20px;}.icn-chevron{display:inline-block;cursor:pointer;padding-top:6px;padding-left:2px;font-size:",";font-weight:",";@media ","{padding-left:10px;}}.imageIcon{height:",";width:",";float:left;margin-right:5px;background-color:transparent;}.availability.focus-styling[aria-expanded='true']{.icn-chevron{transform:rotate(180deg);padding-right:2px;padding-top:1px;@media ","{padding-right:10px;padding-top:2px;}}}.availability-title{font-weight:",";}.location{padding:0;@media ","{padding:0 ",";}.timing-wrapper{display:flex;padding:0;.availability{white-space:nowrap;}}.map-col{min-width:137px;}.timing-col{@media ","{padding:0 0 0 5px;}padding:0 9px;@media ","{padding:0 14px 0 20px;}}.address,.availability-title,.availability-status{line-height:",";}.availability-status{font-weight:",";display:inline-block;}.availability-text{margin:0;font-family:",";line-height:1.43;white-space:pre-wrap;word-break:keep-all;}p{font-size:",";color:",";}.address{margin-bottom:20px;p{padding:0;margin:0;line-height:1.2;}}.store-links-container{p + p{margin-top:0;text-decoration:underline;}}.contact{padding-top:0;}.links{margin-top:16px;@media ","{margin-top:34px;}text-align:center;display:flex;justify-content:center;margin-left:-5px;margin-right:-5px;@media ","{margin:40px 0 20px;margin-top:30px;}button,a{min-width:240px;}.bookAVisit{margin-top:10px;padding-right:",";button{margin-bottom:10px;&:hover{border-color:",";}@media ","{margin-bottom:20px;}}@media ","{padding-right:5px;text-align:right;button{margin-bottom:0;}}@media ","{margin-top:0;}}.getDirection{padding-left:4px;a{padding:11px 16px;vertical-align:bottom;}}.direction-align{@media ","{text-align:left;padding-left:5px;}}}}border-top:none;.store-top{padding-top:",";padding-bottom:",";}.store-name{font-size:",";font-weight:",";}.distance{color:",";font-size:",";padding-top:4px;}.store-details{font-size:",";padding-bottom:10px;word-wrap:break-word;.row{margin-left:0;margin-right:0;.timing-wrapper{.map-col{min-width:120px;.static-map{max-width:100px;max-height:100px;}}}}}.store-link{color:",";text-decoration:underline;vertical-align:middle;}.icon{width:26px;height:26px;}.icon-brand{padding:5px ",";background-color:",";border-radius:50%;}.icon-home{font-size:",";margin-left:7px;border:1px solid ",";background-color:",";border-radius:50%;}@media ","{.store-links-container{margin-top:0;padding-left:",";}.store-details{padding-bottom:0;.location{.timing-wrapper{.map-col{min-width:150px;.static-map{max-width:140px;max-height:140px;}}}}}}}"],(function(e){return e.theme.padding.paddingNormal}),(function(e){return e.theme.colors.GREY2}),(function(e){return e.theme.colors.BEO_BLACK}),(function(e){return(0,b.hO)(e.theme.fonts.fontSize.body.small.octonary)}),(function(e){return e.theme.fonts.fontWeight.medium}),(function(e){return e.theme.mediaQuery.medium}),(function(e){return(0,b.hO)(e.theme.fonts.fontSize.body.large.septenary)}),(function(e){return(0,b.hO)(e.theme.fonts.fontSize.body.large.septenary)}),(function(e){return e.theme.mediaQuery.medium}),(function(e){return e.theme.fonts.fontWeight.medium}),(function(e){return e.theme.mediaQuery.medium}),(function(e){return e.theme.padding.paddingNormal}),(function(e){return e.theme.mediaQuery.xSmall}),(function(e){return e.theme.mediaQuery.large}),(function(e){return(0,b.hO)(e.theme.fonts.lineHeight.custom.custom_9)}),(function(e){return e.theme.fonts.fontWeight.medium}),(function(e){return e.theme.fonts.primaryFontFamily}),(function(e){return(0,b.hO)(e.theme.fonts.fontSize.body.large.tertiary)}),(function(e){return e.theme.colors.BEO_BLACK}),(function(e){return e.theme.mediaQuery.medium}),(function(e){return e.theme.mediaQuery.medium}),(function(e){return e.theme.padding.paddingExtraSmall}),(function(e){return e.theme.colors.GREY5}),(function(e){return e.theme.mediaQuery.medium}),(function(e){return e.theme.mediaQuery.medium}),(function(e){return e.theme.mediaQuery.small}),(function(e){return e.theme.mediaQuery.medium}),(function(e){return e.theme.padding.paddingNormal}),(function(e){return e.theme.padding.paddingNormal}),(function(e){return(0,b.hO)(e.theme.fonts.fontSize.body.large.primary)}),(function(e){return e.theme.fonts.fontWeight.medium}),(function(e){return e.theme.colors.GREY5}),(function(e){return(0,b.hO)(e.theme.fonts.fontSize.body.small.quaternary)}),(function(e){return(0,b.hO)(e.theme.fonts.fontSize.body.small.tert
1iary)}),(function(e){return e.theme.colors.BEO_BLACK}),(function(e){return e.theme.padding.paddingExtraSmall}),(function(e){return e.theme.colors.BEO_BLACK}),(function(e){return(0,b.hO)(e.theme.fonts.fontSize.heading.large.h3)}),(function(e){return e.theme.colors.BEO_BLACK}),(function(e){return e.theme.colors.WHITE}),(function(e){return e.theme.mediaQuery.medium}),(function(e){return e.theme.padding.paddingLarge})),k=n(5047),C=(0,y.iv)(["display:inline-block;margin:auto;width:100%;"]),N=n(81365),Z=n(41605),S=n(21318),w=n(50813),j=n(6234),I=n(24246);function _(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,o=(0,c.Z)(e);if(t){var i=(0,c.Z)(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return(0,s.Z)(this,n)}}var O=function(e){(0,r.Z)(n,e);var t=_(n);function n(){var e;(0,o.Z)(this,n);for(var i=arguments.length,r=new Array(i),s=0;s<i;s++)r[s]=arguments[s];return e=t.call.apply(t,[this].concat(r)),(0,l.Z)((0,a.Z)(e),"handleClick",(function(){var t=e.props.store;(0,S.Cm)({eventName:w.OCi,section:w.x$V,subSection:w.iMg,selection:"".concat(t.get("channelType"),":").concat(t.get("key"))})})),e}return(0,i.Z)(n,[{key:"render",value:function(){var e=this.props,t=e.className,n=e.fromLocation,o=e.toLocation,i=e.getDirectionsLabel,a=e.slnId,r="".concat(n.fromLatitude,",").concat(n.fromLongitude),s="".concat(o.toLatitude,",").concat(o.toLongitude),c="".concat(Z.Csm).concat(r,"/'").concat(s,"'");return(0,I.jsx)("div",{className:t,"data-sln-id":a,children:(0,I.jsx)(N.Z,{cta:null,href:c,labelText:i,forceClick:!0,variant:"getDirections",centered:!0,primary:!0,onClick:this.handleClick})})}}]),n}(d.PureComponent);O.displayName="GetDirections";var T=(0,j.Z)(O),E=(0,x.Z)(T,C),B=n(36371),R=n(31357),P=n(81736),A={mapZoom:15,mapSize:"140x140",mapType:"streetView",mapMarker:"icon:".concat("https://www.bang-olufsen.com","/static-assets/images/common/pin.png"),mapStyles:["&style=feature:road.highway%7Celement:geometry.fill%7Ccolor:0xffffff","&style=feature:water%7Celement:geometry.fill%7Ccolor:0xaae4ff","&style=feature:administrative%7Celement:labels.text.fill%7Ccolor:0x444444","&style=feature:landscape%7Celement:all%7Ccolor:0xf2f2f2","&style=feature:poi%7Celement:all%7Cvisibility:off","&style=feature:road%7Celement:all%7Csaturation:-100%7Clightness:45","&style=feature:road.highway%7Celement:all%7Cvisibility:simplified","&style=feature:road.arterial%7Celement:labels.icon%7Cvisibility:off","&style=feature:transit%7Celement:all%7Cvisibility:off","&style=feature:water%7Celement:all%7Cvisibility:on%7Ccolor:0xdde6e8"]},z=n(48323),D=n(71250);function M(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,o=(0,c.Z)(e);if(t){var i=(0,c.Z)(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return(0,s.Z)(this,n)}}var F=function(e){(0,r.Z)(n,e);var t=M(n);function n(e){var i;return(0,o.Z)(this,n),i=t.call(this,e),(0,l.Z)((0,a.Z)(i),"onEmailClick",(function(){var e=i.props,t=e.store;e.trackAnalytics&&(0,S.Cm)({eventName:w.OCi,section:w.x$V,subSection:w.B5o,selection:"".concat(t.get("channelType"),":").concat(t.get("key"))})})),(0,l.Z)((0,a.Z)(i),"onPhoneClick",(function(){var e=i.props,t=e.store;e.trackAnalytics&&(0,S.Cm)({eventName:w.OCi,section:w.x$V,subSection:w.elV,selection:"".concat(t.get("channelType"),":").concat(t.get("key"))})})),(0,l.Z)((0,a.Z)(i),"onVisitStoreClick",(function(e,t){var n=i.props,o=n.store;n.trackAnalytics&&((0,S.Cm)({eventName:w.OCi,section:w.x$V,subSection:w.UoO,selection:"".concat(o.get("channelType"),":").concat(o.get("key"))}),(0,D.p_)({url:t,to:e}))})),(0,l.Z)((0,a.Z)(i),"focusTextInput",(function(){var e=i.exapandibleForm.current;e&&e.focus()})),(0,l.Z)((0,a.Z)(i),"showTimeDetails",(function(){i.setState((function(e){return{timeDetails:!e.timeDetails}}))})),(0,l.Z)((0,a.Z)(i),"updateUrl",(function(e){var t=i.props.showForm,n=e&&e.get("key"),o="/".concat(Z.JbE,"/").concat(n),a=(0,D.Kd)();v().push((0,D.LK)({pathname:o,query:{language:a}}),"/".concat(a).concat(o),{shallow:!0}),t(e)})),(0,l.Z)((0,a.Z)(i),"showIcon",(function(e){var t=i.props.findStoreImages,n=t&&t.filter((function(t){return t.get("imageType")===e}));return i.renderImageIcon(n)})),(0,l.Z)((0,a.Z)(i),"renderAvailability",(function(e){return(0,I.jsx)("div",{dangerouslySetInnerHTML:{__html:e}})})),(0,l.Z)((0,a.Z)(i),"renderImageIcon",(function(e){var t=i.props.slnId;return e&&e.map((function(e){var n=e.get("altText"),o=e.get("defaultAssetUrl"),i=e.get("titleText");return(0,I.jsx)(P.Z,{className:"imageIcon",src:o,alt:n,title:i,slnId:"".concat(t,"_icon")})}
1))})),i.state={timeDetails:!1},i.exapandibleForm=(0,d.createRef)(),i}return(0,i.Z)(n,[{key:"componentDidMount",value:function(){this.focusTextInput()}},{key:"render",value:function(){var e=this,t=this.props,n=t.store,o=t.className,i=t.visitBookLabel,a=t.searchLocation,r=t.visitStoreWebsiteMessage,s=t.isPickUpButton,c=t.confirmPickup,l=t.confirmPickUpLabel,d=t.getDirectionsLabel,u=t.slnId,m=t.storeTimingLabel,p=t.locale,f=n.get("name"),g=n.getIn(["media","media"]),v=g&&g.get("defaultAssetUrl"),x=n.getIn(["address","phone"]),y=n.getIn(["address","email"]),b=n.get("emailCTA"),L=n.get("address"),C=L.get("streetName"),N=L.get("postalCode"),S=L.get("city"),w=n.getIn(["geoLocation","latitude"]),j=n.getIn(["geoLocation","longitude"]),_={toLatitude:w,toLongitude:j},O=a.get("latValue"),T=a.get("lngValue"),M={fromLatitude:O,fromLongitude:T},F=n.get("openingTime"),V=n.get("websiteUrl"),U=(0,D.LK)({pathname:V,query:{language:p}}),G=(0,z.Sv)(V)?V:"/".concat(p).concat(V),Q=A.mapZoom,W=A.mapSize,K=A.mapType,q=A.mapMarker,Y=A.mapStyles,$=(0,D.MU)({baseUrl:Z.BFw,latValue:w,lngValue:j,mapZoom:Q,mapSize:W,mapType:K,mapMarker:q,mapStyles:Y}),H="".concat(O,",").concat(T),J="".concat(w,",").concat(j),X="".concat(Z.Csm).concat(H,"/'").concat(J,"'"),ee=h()({"direction-align":y});return(0,I.jsx)("div",{ref:this.exapandibleForm,className:"".concat(o," col-xs-12 o-expandedStore"),"data-sln-id":"".concat(u,"_Expanded"),children:(0,I.jsxs)("div",{className:"row store-details",children:[v&&(0,I.jsx)("div",{className:"img-container",children:(0,I.jsx)(R.Z,{size:"large",src:v,ratio:[8,3],slnId:"".concat(u,"_storeImage")})}),(0,I.jsxs)("div",{className:"location col-xs-12",children:[(0,I.jsxs)("div",{className:"row",children:[(0,I.jsxs)("div",{className:"col-xs-12 col-md-6 timing-wrapper",children:[(0,I.jsx)("div",{className:"map-col",children:(0,I.jsx)("div",{className:"static-map",children:(0,I.jsx)(k.Z,{cta:null,className:"store-location",href:X,target:"_blank",slnId:"".concat(u,"_exp
1anded_storeMap"),children:(0,I.jsx)(P.Z,{alt:f,src:$})})})}),(0,I.jsxs)("div",{className:"timing-col",children:[(0,I.jsxs)("div",{className:"address","data-sln-id":"".concat(u,"_expanded_storeAddress"),children:[(0,I.jsx)("p",{children:C}),(0,I.jsxs)("p",{children:[N," ",S]})]}),(0,I.jsx)("div",{className:"availability focus-styling",role:"button","aria-expanded":this.state.timeDetails,"data-sln-id":"".concat(u,"_expanded_storeTiming"),tabIndex:"0",onKeyUp:function(t){return t.keyCode===Z.q70&&e.showTimeDetails()},children:F&&(0,I.jsxs)("div",{children:[(0,I.jsx)("div",{className:"availability-status",onClick:this.showTimeDetails,children:m}),(0,I.jsx)("em",{className:"icn-chevron",onClick:this.showTimeDetails}),this.state.timeDetails&&(0,I.jsx)("div",{children:(0,I.jsx)("pre",{className:"availability-text",children:this.renderAvailability(F)})})]})})]})]}),(0,I.jsxs)("div",{className:"col-xs-12 col-md-6 store-links-container",children:[x&&(0,I.jsxs)("p",{className:"storeWrapper","data-sln-id":"".concat(u,"_expanded_storePhone"),children:[this.showIcon("phone"),(0,I.jsx)(k.Z,{cta:null,className:"store-phone",handleLinkClick:this.onPhoneClick,href:"tel:".concat(x),forceClick:!0,children:x})]}),y&&(0,I.jsxs)("p",{className:"storeWrapper","data-sln-id":"".concat(u,"_exp
1anded_storeEmail"),children:[this.showIcon("email"),(0,I.jsx)(k.Z,{cta:null,className:"store-email",handleLinkClick:this.onEmailClick,href:"mailto:".concat(y),forceClick:!0,children:y})]}),r&&(0,I.jsxs)("div",{className:"contact storeWrapper","data-sln-id":"".concat(u,"_expanded_storeWebsiteLink"),children:[this.showIcon("web"),V&&(0,I.jsx)(k.Z,{cta:null,className:"store-link",forwardedAs:G,href:U,handleLinkClick:function(){return e.onVisitStoreClick(U,G)},forceClick:!0,children:r})]})]})]}),(0,I.jsx)("div",{className:"row links o-row-expandedStore",children:s?(0,I.jsx)("div",{className:"col-xs-12 col-md-6",children:(0,I.jsx)(B.Z,{className:"-cta -tertiary",ariaLabel:l,onClick:function(){return c(n)},children:l})}):(0,I.jsxs)(I.Fragment,{children:[b&&(0,I.jsx)("div",{className:"col-xs-12 col-sm-6 bookAVisit","data-sln-id":"".concat(u,"_expanded_storeBookAVisiteButton"),children:(0,I.jsx)(B.Z,{className:"-cta -tertiary",onClick:function(){return e.updateUrl(n)},children:i})}),(0,I.jsx)("div",{className:"col-xs-12 col-sm-6 getDirection ".concat(ee),children:(0,I.jsx)(E,{fromLocation:M,toLocation:_,getDirectionsLabel:d,slnId:"".concat(u,"_exp
1anded_getDirectionButton"),store:n})})]})})]})]})})}}]),n}(d.PureComponent);F.displayName="ExpandedStore";var V=(0,j.Z)(F),U=(0,x.Z)(V,L),G=(0,y.iv)(["&.is-monobrand{background-color:",";}.focus-visible,&:hover{background-color:",";}.icon-wrapper{float:right;}&.o-storeListItem{width:100%;margin-bottom:10px;position:relative;z-index:",";&::before{content:'';background:",";position:absolute;height:100%;z-index:-1;top:0;left:0;right:0;border:solid 1px ",";}&.expanded-store{&::before{left:-100vw;right:-100vw;}.store-top{margin-left:0;}}.store-top{padding:"," "," "," 0;@media ","{padding:",";margin-left:0;}margin-left:12px;.icon-wrapper{display:inline-flex;.icon-home,.icon-brand{height:26px;width:26px;display:flex;align-items:center;justify-content:center;border-radius:100%;@media ","{height:32px;width:32px;}}.icon-home{border:1px solid;margin-right:10px;.icn-home{font-weight:",";&::before{font-size:",";}}}.icon-brand{background:",";}}}.store-name{font-size:",";font-weight:",";}.distance,.store-message{color:",";font-size:",";}.store-name,.distance,.store-message{margin-bottom:8px;}&.is-monobrand{.store-name{font-weight:",";}}}@media ","{&.o-storeListItem{border:solid 1px ",";&::before{content:none;}}}"],(function(e){return e.theme.colors.GREY1}),(function(e){return e.theme.colors.GREY1}),(function(e){return e.theme.zIndex.zDefault}),(function(e){return e.theme.colors.GREY1}),(function(e){return e.theme.colors.GREY2}),(function(e){return e.theme.padding.paddingNormal}),(function(e){return e.theme.padding.paddingNormal}),(function(e){return e.theme.padding.paddingNormal}),(function(e){return e.theme.mediaQuery.medium}),(function(e){return e.theme.padding.paddingNormal}),(function(e){return e.theme.mediaQuery.medium}),(function(e){return e.theme.fonts.fontWeight.bold}),(function(e){return(0,b.hO)(e.theme.fonts.fontSize.body.large.septenary)}),(function(e){return e.theme.colors.BEO_BLACK}),(function(e){return e.theme.fonts.fontSize.medium}),(function(e){return e.theme.fonts.fontWeight.normal}),(function(e){return e.theme.colors.GREY5}),(function(e){return(0,b.hO)(e.theme.fonts.fontSize.body.small.quaternary)}),(function(e){return e.theme.fonts.fontWeight.medium}),(function(e){return e.theme.mediaQuery.medium}),(function(e){return e.theme.colors.GREY2}));function Q(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,o=(0,c.Z)(e);if(t){var i=(0,c.Z)(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return(0,s.Z)(this,n)}}var W=function(e){(0,r.Z)(n,e);var t=Q(n);function n(e){var i;(0,o.Z)(this,n),i=t.call(this,e),(0,l.Z)((0,a.Z)(i),"toggleExpandedStore",(function(){var e=i.props,t=e.trackAnalytics,n=e.itemDetails,o=void 0===n?(0,p.Map)():n,a=e.toggleSelectedExpandedStore,r=i.state.expandedStore;t&&(0,S.Cm)({eventName:w.OCi,section:w.x$V,subSection:w.CtG,selection:"".concat(o.get("channelType"),":").concat(o.get("key"))}),r||a(o.get("id"))})),(0,l.Z)((0,a.Z)(i),"handleKeyPress",(function(e){e.which!==Z.q70&&e.which!==Z.Fx2||i.toggleExpandedStore()}));var r=e.selectedStore,s=r===e.itemDetails.get("id");return i.state={expandedStore:r&&s||!1},i}return(0,i.Z)(n,[{key:"render",value:function(){var e=this,t=this.props,n=t.className,o=t.itemDetails,i=t.searchLocation,a=t.distanceUnit,r=t.storeMessage,s=t.storeTimingLabel,c=t.closesAtLabel,l=t.openNowLabel,d=t.visitBookLabel,u=t.visitStoreWebsiteMessage,m=t.locale,p=t.showForm,f=t.confirmPickup,g=t.confirmPickUpLabel,v=t.getDirectionsLabel,x=t.isPickUpButton,y=t.slnId,b=t.latValue,L=t.findStoreImages,k=this.state.expandedStore,C=o.get("name"),N=Number(o.get("distance")).toFixed(1),S=o.get("channelType")===Z.lIL,w=h()(n,"o-storeListItem",{"is-monobrand":S,"expanded-store":k}),j=h()({"col-xs-12":!S,"col-xs-8":S});return(0,I.jsxs)("li",{className:w,children:[(0,I.jsx)("div",{className:"store-top focus-styling",tabIndex:"0",onClick:this.toggleExpandedStore,onKeyPress:function(t){return e.handleKeyPress(t)},"data-sln-id":"".concat(y,"_store"),role:"button","aria-expanded":k,children:(0,I.jsxs)("div",{className:"row",children:[(0,I.jsxs)("div",{className:j,children:[(0,I.jsx)("div",{className:"store-name","data-sln-id":"".concat(y,"_storeName"),children:C}),a&&b&&(0,I.jsxs)("div",{className:"distance","data-sln-id":"".concat(y,"_storeDistance"),children:[N," ",a]}),S&&r&&(0,I.jsx)("div",{className:"store-message",children:r})]}),(0,I.jsx)("div",{className:"col-xs-4","data-sln-id":"".concat(y,"_store_brand"),children:S&&(0,I.jsxs)("div",{className:"icon-wrapper right",children:[(0,I.jsx)("span",{className:"icon icon-home",children:(0,I.jsx)("em",{className:"icn-home"})}),(0,I.jsx)("span",{className:"icon icon-brand",children:(0,I.jsx)("em",{className:"icn-secondary-logo-white"})})]})})]})}),k&&(0,I.jsx)(U,{store:o,searchLocation:i,locale:m,link:!0,openNowLabel:l,closesAtLabel:c,storeTimingLabel:s,visitBookLabel:d,visitStoreWebsiteMessage:u,showForm:p,confirmPickup:f,confirmPickUpLabel:g,getDirectionsLabel:v,isPickUpButton:x,findStoreImages:L,slnId:"".concat(y),trackAnalytics:!0})]})}}]),n}
1(d.PureComponent);W.displayName="StoreListItem";var K=(0,j.Z)(W),q=(0,x.Z)(K,G),Y=n(43761);function $(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,o=(0,c.Z)(e);if(t){var i=(0,c.Z)(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return(0,s.Z)(this,n)}}var H=function(e){(0,r.Z)(n,e);var t=$(n);function n(e){var i;(0,o.Z)(this,n),i=t.call(this,e),(0,l.Z)((0,a.Z)(i),"onClick",(function(e){e.preventDefault();var t=i.props.storeList;i.setState((function(e){return{storeListCount:e.storeListCount+5,storeList:i.storeListDataMapper(t.get("channels"),e.storeListCount+5),showMoreAvailable:e.storeListCount+5<=t.get("resultCount"),selectedStoreName:""}}))})),(0,l.Z)((0,a.Z)(i),"toggleSelectedExpandedStore",(function(e){i.setState({selectedStoreName:e})})),(0,l.Z)((0,a.Z)(i),"trackAnalyticsOnSearch",(function(){var e=i.props,t=e.storeList,n=void 0===t?(0,p.Map)():t,o=e.searchLocation,a=void 0===o?(0,p.Map)():o,r=e.trackAnalytics,s=e.noAdressFoundFlag,c=a.get("location"),l=a.get("lookupAddress"),d=n.get("resultCount"),u=a.get("latValue"),m=!s&&u;r&&i.itemSearchTerm!==c&&(i.itemSearchTerm=c,(0,S.Cm)({eventName:w.OCi,section:w.x$V,subSection:d&&l&&m?w.TxE:w.pfm,selection:c}))})),(0,l.Z)((0,a.Z)(i),"updateSelectedStore",(function(e){var t=i.props,n=t.showForm,o=t.setStore,a=t.trackAnalytics;n(e&&e.get("name")),a&&(0,S.Cm)({eventName:w.OCi,section:w.x$V,subSection:w.zJn,selection:"".concat(e.get("channelType"),":").concat(e.get("key"))}),o(e)})),(0,l.Z)((0,a.Z)(i),"storeListItemMapper",(function(e){var t=i.props,n=t.searchLocation,o=t.distanceUnit,a=t.storeMessage,r=t.storeTimingLabel,s=t.closesAtLabel,c=t.openNowLabel,l=t.visitBookLabel,d=t.visitStoreWebsiteMessage,m=t.locale,p=t.selectedStore,f=void 0===p?i.state.selectedStoreName:p,h=t.confirmPickup,g=t.confirmPickUpLabel,v=t.getDirectionsLabel,x=t.isPickUpButton,y=t.tabIndex,b=t.slnId,L=t.trackAnalytics,k=t.latValue,C=t.findStoreImages;return e&&e.map((function(e){return(0,I.jsx)(q,{itemDetails:e,name:e.get("name"),toggleSelectedExpandedStore:i.toggleSelectedExpandedStore,searchLocation:n,distanceUnit:o,storeMessage:a,storeTimingLabel:r,closesAtLabel:s,openNowLabel:c,visitBookLabel:l,visitStoreWebsiteMessage:d,locale:m,confirmPickup:h,confirmPickUpLabel:g,showForm:i.updateSelectedStore,getDirectionsLabel:v,selectedStore:f,isPickUpButton:x,tabIndex:y,slnId:b,trackAnalytics:L,latValue:k,findStoreImages:C},"".concat(e.get("id")).concat((0,u.Z)()))}))})),(0,l.Z)((0,a.Z)(i),"storeListDataMapper",(function(e,t){for(var n=[],o=e.toJS(),i=0;i<o.size&&i!==t;i+=1)n.push(o.get(i));return(0,p.fromJS)(n)})),(0,l.Z)((0,a.Z)(i),"userMessage",(function(e,t,n,o){var a=i.props,r=a.noStoresFoundSuggestionMessage,s=a.yourLocationLabel,c=t.get("myLocation")&&s||t.get("location"),l=r.replace("{store_name}",'<span class="not-found-location">'.concat(c,"</span>")),d=function(e){return(0,I.jsx)("p",{className:"user-message",dangerouslySetInnerHTML:{__html:e}})},u=t.get("latValue");return e||o?d(""):n||!u?d(l):""}));var r=e.storeList;return i.state={storeListCount:5,storeList:r&&i.storeListDataMapper(r.get("channels"),5),showMoreAvailable:!0,selectedStoreName:""},i}return(0,i.Z)(n,[{key:"render",value:function(){var e=this.props,t=e.seeMoreStores,n=e.className,o=e.searchLocation,i=e.noAdressFoundFlag,a=e.searchLocationError,r=e.storeListTitle,s=e.storeList,c=e.isStoreListTitle,l=e.slnId,d=this.state,u=d.storeList,m=d.showMoreAvailable,p=d.storeListCount,f=!o.get("lookupAddress"),h=f||a,g=m&&!h&&s&&p<s.get("resultCount"),v=!h&&c;return this.trackAnalyticsOnSearch(),(0,I.jsxs)("div",{className:"".concat(n," o-storeList"),children:[this.userMessage(f,o,i,a),v&&(0,I.jsx)("p",{className:"storelist-title",children:r}),(0,I.jsx)("ul",{className:"","data-sln-id":"".concat(l,"_storecouldnotfoundmessage"),children:!f&&this.storeListItemMapper(u)}),g&&(0,I.jsxs)("button",{onClick:this.onClick,type:"button",className:"see-more container","data-sln-id":"".concat(l,"_seeMoreStoreButton"),children:[t,(0,I.jsx)("span",{children:"+"})]})]})}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=e.storeList,o=(void 0===n?(0,p.Map)():n).get("channels");if(!o)return{storeListCount:5,storeList:(0,p.List)()};for(var i=[],a=0;a<o.size&&a!==t.storeListCount;a+=1)i.push(o.get(a));return{storeListCount:t.storeListCount,storeList:(0,p.fromJS)(i)}}}]),n}
1(d.PureComponent);H.displayName="StoresList";var J=(0,j.Z)(H),X=(0,m.connect)((function(e){return{storeList:e.getIn(["global","storeLocator","storeList"]),searchLocation:e.getIn(["global","storeLocator","centerLocation"]),searchLocationError:e.getIn(["global","storeLocator","error"]),distanceUnit:e.getIn(["global","storeLocator","storeList","distanceUnit"]),noAdressFoundFlag:!e.getIn(["global","storeLocator","storeList","nearbuyStores"]),findStoreImages:e.getIn(["global","globalData","siteSettings","globalImages"]),locale:e.getIn(["global","globalData","userlanguage"])}}),(function(e){return{setStore:function(t){return e((0,Y.Z)(t))}}}))(J)}}]);
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.