"use strict";(()=>{var oe=Object.defineProperty,ne=Object.defineProperties;var ae=Object.getOwnPropertyDescriptors;var ee=Object.getOwnPropertySymbols;var ie=Object.prototype.hasOwnProperty,re=Object.prototype.propertyIsEnumerable;var te=(x,r,e)=>r in x?oe(x,r,{enumerable:!0,configurable:!0,writable:!0,value:e}):x[r]=e,v=(x,r)=>{for(var e in r||(r={}))ie.call(r,e)&&te(x,e,r[e]);if(ee)for(var e of ee(r))re.call(r,e)&&te(x,e,r[e]);return x},b=(x,r)=>ne(x,ae(r));var se=(x,r,e)=>new Promise((s,a)=>{var h=p=>{try{f(e.next(p))}catch(y){a(y)}},A=p=>{try{f(e.throw(p))}catch(y){a(y)}},f=p=>p.done?s(p.value):Promise.resolve(p.value).then(h,A);f((e=e.apply(x,r)).next())});(self.webpackChunkecom_website=self.webpackChunkecom_website||[]).push([[8031],{34194:(x,r,e)=>{e.d(r,{A:()=>h});var s=e(93854).A;const a={instagramPlaceholder:s("elements.social-icons.instagram-placeholder"),tiktokPlaceholder:s("elements.social-icons.tiktok-placeholder"),facebookPlaceholder:s("elements.social-icons.facebook-placeholder"),twitterPlaceholder:s("elements.social-icons.twitter-placeholder"),linkedinPlaceholder:s("elements.social-icons.linkedin-placeholder"),youtubePlaceholder:s("elements.social-icons.youtube-placeholder"),vimeoPlaceholder:s("elements.social-icons.vimeo-placeholder"),googleplusPlaceholder:s("elements.social-icons.googleplus-placeholder"),emailPlaceholder:s("elements.social-icons.email-placeholder"),pinterestPlaceholder:s("elements.social-icons.pinterest-placeholder"),snapchatPlaceholder:s("elements.social-icons.snapchat-placeholder"),yelpPlaceholder:s("elements.social-icons.yelp-placeholder"),emailDisplay:s("elements.social-icons.display.email"),instagramDisplay:"Instagram",tiktokDisplay:"TikTok",facebookDisplay:"Facebook",twitterDisplay:"X (Twitter)",linkedinDisplay:"Linkedin",youtubeDisplay:"Youtube",vimeoDisplay:"Vimeo",googleDisplay:"Google+",pinterestDisplay:"Pinterest",snapchatDisplay:"Snapchat",yelpDisplay:"Yelp"},h=[{icon:"instagram",display:a.instagramDisplay,prefix:"https://www.instagram.com/",displayPrefix:"instagram.com/",placeholder:a.instagramPlaceholder,user:"",selected:!1},{icon:"tiktok",display:a.tiktokDisplay,prefix:"https://www.tiktok.com/@",displayPrefix:"tiktok.com/@",placeholder:a.tiktokPlaceholder,user:"",selected:!1},{icon:"facebook",display:a.facebookDisplay,prefix:"https://www.facebook.com/",displayPrefix:"facebook.com/",placeholder:a.facebookPlaceholder,user:"",selected:!1},{icon:"twitter",display:a.twitterDisplay,prefix:"https://twitter.com/",displayPrefix:"twitter.com/",placeholder:a.twitterPlaceholder,user:"",selected:!1},{icon:"linkedin",display:a.linkedinDisplay,prefix:"https://www.linkedin.com/",displayPrefix:"linkedin.com/",placeholder:a.linkedinPlaceholder,user:"",selected:!1},{icon:"youtube",display:a.youtubeDisplay,prefix:"https://www.youtube.com/",displayPrefix:"youtube.com/",placeholder:a.youtubePlaceholder,user:"",selected:!1},{icon:"vimeo",display:a.vimeoDisplay,prefix:"https://vimeo.com/",displayPrefix:"vimeo.com/",placeholder:a.vimeoPlaceholder,user:"",selected:!1},{icon:"google-plus",display:a.googleDisplay,prefix:"https://plus.google.com/",displayPrefix:"plus.google.com/",placeholder:a.googleplusPlaceholder,user:"",selected:!1,deprecated:!0},{icon:"email",display:a.emailDisplay,prefix:"mailto:",displayPrefix:"",placeholder:a.emailPlaceholder,user:"",selected:!1},{icon:"pinterest",display:a.pinterestDisplay,prefix:"https://www.pinterest.com/",displayPrefix:"pinterest.com/",placeholder:a.pinterestPlaceholder,user:"",selected:!1},{icon:"snapchat",display:a.snapchatDisplay,prefix:"https://www.snapchat.com/add/",displayPrefix:"snapchat.com/add/",placeholder:a.snapchatPlaceholder,user:"",selected:!1},{icon:"yelp",display:a.yelpDisplay,prefix:"https://yelp.com/biz/",displayPrefix:"yelp.com/biz/",placeholder:a.yelpPlaceholder,user:"",selected:!1}]},13974:(x,r,e)=>{e.d(r,{A:()=>a});var s=e(93854).A;const a={"arts-crafts":{title:s("purposes.newsletter.title-text"),text:s("purposes.newsletter.subtitle-text"),image:"lifestyle-3",darkBackground:!0},"food-drink":{title:s("purposes.newsletter.title-text"),text:s("purposes.newsletter.subtitle-text"),image:"lifestyle-3",darkBackground:!0},"tech-products":{title:s("purposes.newsletter.title-text"),text:s("purposes.newsletter.subtitle-text"),image:"lifestyle-3",darkBackground:!0},"clothing-shoes":{title:s("purposes.newsletter.title-text"),text:s("purposes.newsletter.subtitle-text"),image:"lifestyle-3",darkBackground:!0},"home-living":{title:s("purposes.newsletter.title-text"),text:s("purposes.newsletter.subtitle-text"),image:"lifestyle-3",darkBackground:!0},"fitness-wellness":{title:s("purposes.newsletter.title-text"),text:s("purposes.newsletter.subtitle-text"),image:"lifestyle-3",darkBackground:!0},"classes-events":{title:s("purposes.newsletter.title-text"),text:s("purposes.newsletter.subtitle-text"),image:"lifestyle-3",darkBackground:!0},"health-beauty":{title:s("purposes.newsletter.title-text"),text:s("purposes.newsletter.subtitle-text"),image:"lifestyle-3",darkBackground:!0},"jewelry-accessories":{title:s("purposes.newsletter.title-text"),text:s("purposes.newsletter.subtitle-text"),image:"lifestyle-3",darkBackground:!0},"kid-baby":{title:s("purposes.newsletter.title-text"),text:s("purposes.newsletter.subtitle-text"),image:"lifestyle-3",darkBackground:!0},"pet-supplies":{title:s("purposes.newsletter.title-text"),text:s("purposes.newsletter.subtitle-text"),image:"lifestyle-3",darkBackground:!0},"tools-parts":{title:s("purposes.newsletter.title-text"),text:s("purposes.newsletter.subtitle-text"),image:"lifestyle-3",darkBackground:!0},"professional-services":{title:s("purposes.newsletter.title-text"),text:s("purposes.newsletter.subtitle-text"),image:"lifestyle-3",darkBackground:!0},restaurant:{title:s("purposes.newsletter.title-text"),text:s("purposes.newsletter.subtitle-text"),image:"lifestyle-3",darkBackground:!0},other:{title:s("purposes.newsletter.title-text"),text:s("purposes.newsletter.subtitle-text"),image:"lifestyle-3@1.0.0",darkBackground:!0}}},96006:(x,r,e)=>{e.d(r,{AR:()=>g,F2:()=>f,FU:()=>O,OD:()=>y,QC:()=>A,T2:()=>u,_y:()=>l,nr:()=>S,ox:()=>h,rr:()=>a});function s(){return typeof window!="undefined"}function a(){if(!s())return!1;const i=typeof window.orientation!="undefined",_="ontouchstart"in window||window.navigator.msMaxTouchPoints;return i&&_}function h(){return s()&&!!window.navigator.userAgent.match(/iPad|iPhone|iPod/i)}function A(){return s()&&!!window.navigator.userAgent.match(/android/i)}function f(){return s()&&window.chrome&&!(window.navigator.userAgent.toLowerCase().indexOf("edge")>-1)}function p(){if(s()&&typeof navigator!="undefined"){const i=navigator.appVersion.match(/OS (\d+)_(\d+)_?(\d+)?/);if(i&&i.length)return[parseInt(i[1],10),parseInt(i[2],10),parseInt(i[3]||0,10)]}return!1}function y(){const i=p();return i&&i[0]<13}function S(){return s()&&window.navigator.userAgent.includes("Safari")&&!window.navigator.userAgent.includes("Chrome")}function g(){return s()&&window.navigator.userAgent.includes("CriOS")}function l(){return s()&&window.FRAME_ORIGIN!==window.location.origin}function O(){return s()?/FBExtensions\/0\.1 IGInstantExperience\/0\.1|Instagram/.test(window.navigator.userAgent):!1}function u(){return s()?window.navigator.userAgent.includes("FBAN/FBIOS")||window.navigator.userAgent.includes("FB_IAB/FB4A"):!1}},94287:(x,r,e)=>{e.d(r,{F6:()=>a,Iv:()=>s,Tw:()=>y,_2:()=>h,xq:()=>p});const s="title",a="logo",h="logo-image-override",A=400,f=100,p=50,y=()=>({align:"left",vertical:{width:{min:50,max:A},height:{min:50,max:f}},horizontal:{width:{min:50,max:A},height:{min:50,max:f}}})},85818:(x,r,e)=>{e.d(r,{Ge:()=>f,Kx:()=>i,MU:()=>s,NH:()=>g,O7:()=>p,OB:()=>a,ON:()=>O,cg:()=>_,g3:()=>w,iE:()=>l,kk:()=>S,rD:()=>A,t4:()=>u,wB:()=>h,zm:()=>y});const s="AMERICAN_EXPRESS",a="DISCOVER",h="JCB",A="MASTERCARD",f="VISA",p="APPLE_PAY",y="GOOGLE_PAY",S="CASH_APP",g="CLEAR_PAY",l="AFTER_PAY",O="PAYPAL",u="INTERAC",i="PLACEHOLDER",_={[s]:"/static/icons/payment-methods/americanexpress.svg",[p]:"/static/icons/payment-methods/applepay.svg",[S]:"/static/icons/payment-methods/cashapp.svg",[a]:"/static/icons/payment-methods/discover.svg",[y]:"/static/icons/payment-methods/googlepay.svg",[h]:"/static/icons/payment-methods/jcb.svg",[A]:"/static/icons/payment-methods/mastercard.svg",[O]:"/static/icons/payment-methods/paypal.svg",[f]:"/static/icons/payment-methods/visa.svg",[u]:"/static/icons/payment-methods/interac.svg",[l]:"/static/icons/payment-methods/afterpay.svg",[g]:"/static/icons/payment-methods/clearpay.svg",[i]:"/static/icons/payment-methods/placeholder.svg"},w={[s]:"American Express",[p]:"Apple Pay",[S]:"CashApp",[a]:"Discover",[y]:"Google Pay",[h]:"JCB",[A]:"Mastercard",[O]:"Paypal",[f]:"Visa",[u]:"Interac",[l]:"Afterpay",[g]:"Clearpay",[i]:"Placeholder"}},19503:(x,r,e)=>{e.r(r),e.d(r,{default:()=>p});var s=function(){var S=this,g=S._self._c;return g("svg",{pre:!0,attrs:{width:"24",height:"24",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[g("rect",{pre:!0,attrs:{width:"24",height:"24",rx:"12",fill:"#000","fill-opacity":".9"}}),g("path",{pre:!0,attrs:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M14.988 13.933c-1.118 0-1.9-.794-1.9-1.932s.782-1.933 1.9-1.933c1.12 0 1.9.795 1.9 1.933s-.78 1.932-1.9 1.932m-5.883-3.865h3.792l-.092.088c-.524.503-.824 1.175-.824 1.845 0 1.698 1.264 2.93 3.007 2.93 1.745 0 3.012-1.232 3.012-2.93 0-1.698-1.267-2.93-3.012-2.93H9.113c-1.743 0-3.008 1.232-3.008 2.93 0 1.698 1.265 2.93 3.008 2.93h2.095v-.998H9.105c-1.11 0-1.888-.794-1.892-1.932 0-1.12.795-1.933 1.892-1.933",fill:"#fff"}})])},a=[],h=e(14486),A={},f=(0,h.A)(A,s,a,!1,null,null,null);const p=f.exports},28855:(x,r,e)=>{e.d(r,{A:()=>k});var s=function(){var d=this,I=d._self._c;return I("form",{attrs:{action:d.action,method:"post"},on:{submit:function(P){return P.preventDefault(),d.onBeforeSubmit.apply(null,arguments)}}},[d.submitted?I("confirmation",{attrs:{message:d.message}}):[d._l(d.inputs,function(P,G){return I("div",{key:G,staticClass:"form__row row",class:d.fieldClass(P)},[I(`form-${P.type}`,{key:P.id,ref:"formSubcomponents",refInFor:!0,tag:"component",attrs:{label:P.label,name:P.id,placeholder:P.placeholder,required:P.required,options:P.options,instructions:P.instructions,properties:P.properties,meta:d.meta,error:d.errors[P.id]},on:{change:d.handleChange},model:{value:d.form[P.id],callback:function(N){d.$set(d.form,P.id,N)},expression:"form[field.id]"}})],1)}),d._v(" "),I("recaptcha-terms",{staticClass:"recaptcha-terms"}),d._v(" "),d.showSubmit?[I("div",{staticClass:"form__row row form__row--no-gutters"},[d.errors.button?I("p",{staticClass:"form__error-message"},[d._v(` `+d._s(d.errors.button.message)+` `)]):d._e()]),d._v(" "),I("div",{staticClass:"form__row row"},[I("form-button",{attrs:{label:d.formButton.label,"preset-color":d.formButton.presetColor,"preset-size":d.formButton.presetSize,"preset-style":d.formButton.presetStyle,disabled:d.formButton.disabled}})],1)]:d._e()]],2)},a=[],h=e(67716),A=e.n(h),f=e(76872),p=e(633),y=e(34217),S=function(){var d=this,I=d._self._c;return I("div",{staticClass:"form__confirmation"},[I("p",[d._v(d._s(d.message))])])},g=[];const O={name:"FormConfirmation",props:{message:{type:String,default:""}}};var u=e(14486),i=(0,u.A)(O,S,g,!1,null,null,null);const _=i.exports;var w=e(10621),L=e(81786),F=e(51945);const o={name:"FormElement",components:b(v({},F.A),{Confirmation:_,RecaptchaTerms:p.A}),extends:y.A,props:{type:{type:String,validator(T){return L.QE[T]},default:L.iC}},data(){return{endpoint:L.QE[this.type].endpoint,defaultConfirmation:L.QE[this.type].message||""}},computed:b(v({},(0,f.mapGetters)(["isPublishedSite"])),{showSubmit(){return this.type!==L.DM},inputs(){return this.type===L.DM?this.subscriptionFields:this.fullFields},subscriptionFields(){return this.fullFields.map(T=>(T.type==="action-input"&&(T.placeholder=T.placeholder||L.gE.email,T.label=T.placeholder||L.gE.email,T.required=!0,T.properties={type:"email",button:b(v({},this.formButton),{error:v({},A()(this.errors,"button",{}))})}),T))}}),methods:{onBeforeSubmit(){return se(this,arguments,function*(){let T=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const d=v({},T);return this.isPublishedSite&&(d["g-recaptcha-response"]=yield w.A.login()),this.onSubmit(d)})},handleChange(T){this.$set(this.errors,T,{})}}};var m=(0,u.A)(o,s,a,!1,null,"11ca810a",null);const k=m.exports},85133:(x,r,e)=>{e.d(r,{A:()=>W});var s=function(){var t=this,n=t._self._c;return t.linkDisabled?n(t.component,t._b({tag:"component",attrs:{"data-wg-notranslate":""},on:{change:t.onChange,load:function(c){return t.$emit("load")},failed:function(c){return t.$emit("failed")}}},"component",t.props,!1)):t.externalLink?n("a",{staticClass:"logo__link",attrs:{target:t.linkTarget(t.link.tab),href:t.externalHref}},[n(t.component,t._b({tag:"component",attrs:{"data-wg-notranslate":""},on:{change:t.onChange,load:function(c){return t.$emit("load")},failed:function(c){return t.$emit("failed")}}},"component",t.props,!1))],1):t.isOnOrderOnlineAndOrderOnlineIsTheHomepage?n("div",{staticClass:"logo__link",on:{click:t.clearOrderOnline}},[n(t.component,t._b({tag:"component",attrs:{"data-wg-notranslate":""},on:{change:t.onChange,load:function(c){return t.$emit("load")},failed:function(c){return t.$emit("failed")}}},"component",t.props,!1))],1):n("router-link",{staticClass:"logo__link",style:t.textAlign,attrs:{event:t.event,to:"/"}},[n(t.component,t._b({tag:"component",attrs:{"data-wg-notranslate":""},on:{change:t.onChange,load:function(c){return t.$emit("load")},failed:function(c){return t.$emit("failed")}}},"component",t.props,!1))],1)},a=[],h=e(67716),A=e.n(h),f=e(76872),p=e(50204),y=e(94287),S=e(59761),g=e(63741),l=function(){var t=this,n=t._self._c;return n("span",{staticClass:"w-sitelogo"},[t.source?n("w-image",{style:t.styles,attrs:{alt:t.title,source:t.source,sizes:t.sizes,"lazy-load":!1,"is-editable":!1,shape:t.IMAGE_SHAPE_SQUARE},on:{load:function(c){return t.$emit("load")},failed:function(c){return t.$emit("failed")}}}):t._e()],1)},O=[],u=e(68379),i=e.n(u),_=e(60284),w=e(51492);const L={vertical:{width:{min:38,max:80},height:{min:38,max:60}},horizontal:{width:{min:40,max:200},height:{min:22,max:50}}},C={name:"ImageLogo",props:{title:{type:String,default:""},source:{type:String,default:null},dimensions:{type:Object,default:()=>({})},scale:{type:Number,required:!0},config:{type:Object,required:!0},shouldResizeOnMobile:{type:Boolean,default:!0}},data(){return{IMAGE_SHAPE_SQUARE:w.Iy}},computed:{orientation(){const{width:E,height:t}=this.dimensions;return E/t>4/3?"horizontal":"vertical"},desktopWidth(){const E=this.config[this.orientation];return`${this.width(E)}px`},mobileWidth(){if(!this.shouldResizeOnMobile)return this.desktopWidth;const E=L[this.orientation];return`${this.width(E)}px`},sizes(){return`(min-width: ${_.a9.sm}) ${this.desktopWidth}, ${this.mobileWidth}`},styles(){return{"--width":this.desktopWidth,"--mobile-width":this.mobileWidth}},aspectRatio(){return this.dimensions.width===0||this.dimensions.height===0?1:this.dimensions.width/this.dimensions.height}},methods:{computeValue(E,t,n){let c=E-t;return c*=n,c+=t,c=i()(c,t,E),c},width(E){const t=this.scale/100,n=E.height.max*this.aspectRatio,c=E.height.min*this.aspectRatio,D=Math.min(E.width.max,n),B=Math.max(E.width.min,c);return this.computeValue(D,B,t)}}};var o=e(14486),m=(0,o.A)(C,l,O,!1,null,"23d6841e",null);const k=m.exports;var j=function(){var t=this,n=t._self._c;return n("legacy-text",{staticClass:"w-sitetitle",class:t.fontSize,attrs:{contents:t.title,"font-family":"var(--site-title-font)","text-style":t.TEXTSTYLE_TITLE,formats:[],"font-size":t.explicitCSSFontSize,mode:t.LEGACY_TEXT_MODE_TEXT_LOGO,editable:t.editable,color:t.textColor,tag:"h2",placeholder:"[Site title]"}})},T=[],d=e(10801),I=e(84475),P=e(89758),G=e(43471),N=e(12113);const Y={name:"TextLogo",inject:["backdrop","colorProfile"],props:{color:{type:String,required:!0},fontSize:{type:String,required:!0},title:{type:String,default:""},editable:{type:Boolean,default:!0},isKioskSite:{type:Boolean,default:!1}},data(){return{LEGACY_TEXT_MODE_TEXT_LOGO:I.ev,TEXTSTYLE_TITLE:P.KZ}},computed:b(v({},(0,p.aH)(d.A,["colorMap"])),{textColor(){const E=this.backdrop(),t=this.colorProfile?this.colorProfile().title:"";let n=this.color||t;return n=(0,N.IX)(E,n,this.colorMap,{contrastMin:G.zs}),n},explicitCSSFontSize(){return this.isKioskSite?"24px":{small:"18px",medium:"20px",large:"22px"}[this.fontSize]}})};var H=(0,o.A)(Y,j,T,!1,null,"68c8fdff",null);const J=H.exports,V={name:"LogoElement",components:{ImageLogo:k,TextLogo:J},props:{fontSize:{type:String,default:"medium"},logoDimensions:{type:Object,default:()=>({width:400,height:400})},scale:{type:Number,default:y.xq},logoConfig:{type:Object,default:()=>y.Tw},type:{type:String,default:y.Iv},titleColor:{type:String,default:""},SITE_TITLE:{type:String,default:""},SITE_LOGO:{type:String,default:""},link:{type:Object,default:()=>({})},textEditable:{type:Boolean,default:!0},linkDisabled:{type:Boolean,default:!1},shouldResizeOnMobile:{type:Boolean,default:!0},isKioskSite:{type:Boolean,default:!1},siteLogoSource:{type:String,default:void 0}},computed:b(v(v({},(0,f.mapState)(["environment"])),(0,p.aH)(S.A,{isOrderOnlineHomepage:"isHomepage"})),{isOrderOnlinePage(){return this.$route.name===g.nt},isOnOrderOnlineAndOrderOnlineIsTheHomepage(){return this.isOrderOnlinePage&&this.isOrderOnlineHomepage},component(){return this.isImage?"image-logo":"text-logo"},isImage(){return this.type===y.F6||this.type===y._2},event(){return this.environment.published||this.isImage?"click":""},props(){return this.isImage?this.imageProps:this.textProps},imageProps(){return{title:`${this.SITE_TITLE} logo`,source:this.SITE_LOGO||this.siteLogoSource,dimensions:this.logoDimensions,scale:this.scale,config:this.logoConfig,style:this.textAlign,shouldResizeOnMobile:this.shouldResizeOnMobile}},textProps(){return{fontSize:this.fontSize,title:this.SITE_TITLE,color:this.titleColor,style:this.textAlign,editable:this.textEditable,isKioskSite:this.isKioskSite}},textAlign(){const{align:E}=this.logoConfig;return{textAlign:E}},externalLink(){return A()(this.link,"link.external")},externalHref(){return this.environment.published||this.environment.draft?this.externalLink:null}}),methods:b(v({},(0,p.i0)(S.A,["setSelectedSiteCategoryId","resetSearchResults"])),{onChange(E){let{title:t}=E;this.$emit("change",{},{SITE_TITLE:t})},linkTarget(E){return E?"_blank":"_self"},clearOrderOnline(){this.resetSearchResults(),this.setSelectedSiteCategoryId("")}})};var U=(0,o.A)(V,s,a,!1,null,"437bd440",null);const W=U.exports},72307:(x,r,e)=>{e.d(r,{A:()=>O});var s=function(){var i=this,_=i._self._c;return i.hasIcons?_("div",[i._l(i.userIcons,function(w){return[i.environment.published?_("a",{key:w.icon,attrs:{href:i.getIconURL(w),target:i.getTarget(w),rel:"noopener noreferrer"}},[_("w-icon",{staticClass:"icon",attrs:{icon:w.icon,"background-fill":i.iconBackground,"icon-fill":i.iconColor,size:i.size,alt:w.display}})],1):_("w-icon",{key:w.icon,staticClass:"icon",attrs:{icon:w.icon,"background-fill":i.iconBackground,"icon-fill":i.iconColor,size:i.size,alt:w.display}})]})],2):i.environment.published?_("div"):_("div",[_("w-icon",{staticClass:"icon",attrs:{size:i.size,icon:"facebook","icon-fill":"#cccccc"}}),_("w-icon",{staticClass:"icon",attrs:{size:i.size,icon:"instagram","icon-fill":"#cccccc"}}),_("w-icon",{staticClass:"icon",attrs:{size:i.size,icon:"pinterest","icon-fill":"#cccccc"}})],1)},a=[],h=e(88596),A=e.n(h),f=e(76872),p=e(34194);const S={name:"SocialIconsElement",props:{icons:{type:Array,default(){return[]}},presetColor:{type:String,default(){return"brand"}},size:{type:Number,default:24},SITE_SOCIAL:{type:Array,default(){return[]}}},computed:b(v({},(0,f.mapState)(["environment"])),{hasIcons(){return this.SITE_SOCIAL.some(u=>u.selected)},userIcons(){const u=p.A.map(i=>v(v({},i),this.SITE_SOCIAL.find(_=>_.icon===i.icon)));return A()(u).call(u,(i,_)=>i.icon.localeCompare(_.icon)),u.filter(i=>i.selected)},iconColor(){return this.presetColor==="brand"?this.presetColor:`var(${this.presetColor})`},iconBackground(){return this.presetColor==="--color-white"?"black":"white"}}),methods:{getIconURL(u){const{user:i,prefix:_}=u;return`${_}${i}`},getTarget(u){return u.icon!=="email"&&"_blank"}}};var g=e(14486),l=(0,g.A)(S,s,a,!1,null,"245e75b5",null);const O=l.exports},48812:(x,r,e)=>{e.d(r,{A:()=>S});var s=function(){var l=this,O=l._self._c;return O("w-text",{attrs:{editable:l.editable,contents:l.content,formats:l.textFormats,"font-size":l.fontSize,"font-family":l.fontFamily,"text-style":l.textStyle,align:l.align,color:l.color,"all-caps":l.allCaps,italic:l.italic,bold:l.bold}})},a=[],h=e(89758);const f={name:"TextElement",inheritAttrs:!1,props:{fontSize:{type:String,default:"medium"},fontFamily:{type:String,default:""},textStyle:{type:String,default:void 0,validator:g=>h.cM.includes(g)},align:{type:String,default:""},color:{type:String,default:null},allCaps:{type:Boolean,default:!1},content:[String,Object],track:{type:Object,default:()=>({})},editable:{type:Boolean,default:!0},italic:{type:Boolean,default:!1},bold:{type:Boolean,default:!1}},data(){return{textFormats:["bold","italic","list","wLink","color","align"]}}};var p=e(14486),y=(0,p.A)(f,s,a,!1,null,null,null);const S=y.exports},27758:(x,r,e)=>{e.d(r,{A:()=>E});var s=e(48761),a=e.n(s),h=e(67716),A=e.n(h),f=e(36858),p=e.n(f),y=e(76872),S=e(30177),g=e(85133),l=e(28855),O=e(48812),u=e(72307),i=e(73588),_=e(13974),w=e(50664),L=e(94287),F=e(65376),C=e(8377),o=e(48546),m=function(){var n=this,c=n._self._c;return c("div",{staticClass:"cookie-management-settings-container",on:{click:n.openCookieManagementSettings}},[c("cookiebot-widget-badge",{staticClass:"cookie-management-settings-icon"}),n._v(" "),c("span",{staticClass:"cookie-management-title"},[n._v(` `+n._s(n.translations.cookieManagementSettings)+` `)]),n._v(" "),c("pseudo-window",{on:{CookiebotOnDialogDisplay:n.onDialogDisplay,CookiebotOnAccept:n.onConsent,CookiebotOnDecline:n.onDecline}})],1)},k=[],j=e(73293),T=e.n(j),d=e(19503),I=e(93854).A;const P={cookieManagementSettings:I("purposes.footer.cookie-management-settings"),dialogCurrentState:I("purposes.footer.cookie-management-dialog.current-state"),dialogConsentId:I("purposes.footer.cookie-management-dialog.consent-id"),dialogConsentDate:I("purposes.footer.cookie-management-dialog.consent-date")},N={name:"CookieManagementSettings",components:{PseudoWindow:T(),CookiebotWidgetBadge:d.default},data(){return{buyerInvoked:!1,translations:P,consent:{necessary:!0,preferences:!1,statistics:!1,marketing:!1}}},methods:{openCookieManagementSettings(){if(!window.Cookiebot){console.error("Failed to open cookiebot management settings");return}this.buyerInvoked=!0,window.Cookiebot.renew()},onConsent(){this.hasConsentUpdated()&&this.reloadPage()},onDecline(){this.reloadPage()},reloadPage(){this.isDialogOpen&&location.reload(),this.isDialogOpen=!1},onDialogDisplay(){var t,n;if(this.isDialogOpen=!0,this.storeConsent(),!this.buyerInvoked)return;const{consentID:c,consentUTC:D,consent:B}=window.Cookiebot,R=p()(t=Object.entries(B)).call(t,(M,z)=>{let[X,Q]=z;return Q===!0&&M.push(X),M},[]),q={[P.dialogCurrentState]:R.join(", "),[P.dialogConsentId]:c!=="0"?c:null,[P.dialogConsentDate]:D},K=p()(n=Object.entries(q).filter(M=>{let[,z]=M;return z})).call(n,(M,z)=>{let[X,Q]=z;return`${M}
${X}: ${Q} `},"");document.getElementById("CybotCookiebotDialogDetailBodyContentTextAbout").innerHTML+=`
${K}`},hasConsentUpdated(){const t=this.$consent.api.consent;return Object.keys(this.consent).some(n=>this.consent[n]!==t[n])},storeConsent(){const t=this.$consent.api.consent;Object.keys(this.consent).forEach(n=>{this.consent[n]=t[n]})}}};var $=e(14486),Y=(0,$.A)(N,m,k,!1,null,"2d7c7c2e",null);const H=Y.exports,Z={components:{Divider:S.A,LogoElement:g.A,TextElement:O.A,FormElement:l.A,SocialIconsElement:u.A,Navigation:i.A,PaymentMethods:o.A,CookieManagementSettings:H},inject:["eventBus"],props:{id:{type:String,required:!0},elements:{type:Array,required:!0},background:{type:Object,default:()=>({})},navigation:{type:Object,default:()=>({})},newsletterTitle:{type:Object,default:()=>({})},paymentMethods:{type:Object,default:()=>({})}},data(){return{NAVIGATION_PURPOSE:C.gu,NAVIGATION_LABEL:C.Qk,NEWSLETTER_PURPOSE:C.ZP,NEWSLETTER_LABEL:C.HE,NEWSLETTER_TITLE_PURPOSE:C.G3,NEWSLETTER_TITLE_LABEL:C.cW,LOGO_PURPOSE:C.rm,LOGO_LABEL:C.td,SOCIAL_PURPOSE:C.LA,SOCIAL_LABEL:C.zU,COOKIE_MANAGEMENT_SETTINGS_PURPOSE:C.SQ,COOKIE_MANAGEMENT_SETTINGS_LABEL:C.iK,TEXT_PURPOSE:C.bo,TEXT_LABEL:C.Rz,PAYMENT_METHODS_PURPOSE:C.JY,PAYMENT_METHODS_LABEL:C.h6}},computed:b(v(v({},(0,y.mapState)(["environment"])),(0,y.mapGetters)(["getDatasource","getNavWithTitles"])),{blockBackground(){const{background:t,defaultBackground:n}=this;return Object.assign({},n,t)},defaults(){const{SITE_ID:t,SITE_TITLE:n,SITE_LOGO:c,LOGO_TYPE:D,SITE_SOCIAL:B,VERTICAL:R}=this,K=new Date().getFullYear(),M={logo:{SITE_TITLE:n,SITE_LOGO:c,type:D},newsletter:{SITE_ID:t},social:{SITE_SOCIAL:B},newsletterTitle:{tag:"p",fontSize:"large"},text:{content:`\xA9 ${K}`},paymentMethods:{hidden:!0},cookieManagementSettings:{hidden:!0}};return R&&(M.newsletterTitle.content=_.A[R].title),M},SITE_ID(){return this.getDatasource("SITE_ID")},SITE_TITLE(){return this.getDatasource("SITE_TITLE")},SITE_LOGO(){return this.LOGO_TYPE===L._2?this.getDatasource("FOOTER_LOGO"):this.getDatasource("SITE_LOGO")},LOGO_TYPE(){return this.getDatasource("FOOTER_LOGO_TYPE")},SITE_SOCIAL(){return this.getDatasource("SITE_SOCIAL")},VERTICAL(){return this.getDatasource("VERTICAL")},COOKIE_MANAGEMENT(){return this.getDatasource("COOKIE_MANAGEMENT")||{}},logo(){return this.resolved.logo.properties},newsletter(){return this.resolved.newsletter.properties},text(){return this.resolved.text.properties},social(){return this.resolved.social.properties},resolvedNewsletterTitle(){return v(v({},this.defaults.newsletterTitle),this.newsletterTitle)},resolvedPaymentMethods(){return v(v({},this.defaults.paymentMethods),this.paymentMethods)},footerNav(){const{SITE_NAV:t,shouldCopyHeader:n}=this.navigation;let c=this.navWithTitles(this.getDatasource("SITE_NAV"));return n===!1&&(c=t?this.navWithTitles(t):[]),{SITE_NAV:c,type:"footer"}},displayedProps(){return this.resolveProps()},resolved(){var t;return p()(t=this.elements).call(t,(n,c)=>(n[c.purpose]=this.resolveElementProps(c),n),{})},newsletterTitleClasses(){return{"font--ui":this.resolvedNewsletterTitle.fontFamily===void 0&&!this.resolvedNewsletterTitle.textStyle}},logoVisible(){return!this.logo.hidden},copyrightVisible(){return!this.text.hidden},socialVisible(){return!this.social.hidden},navigationVisible(){return!this.displayedProps.properties.navigation.hidden},newsletterVisible(){const{properties:t}=this.resolvedNewsletter,{hidden:n}=t,{hasSchema:c}=this;return!n&&c},hasSchema(){const{properties:t}=this.resolvedNewsletter;return!a()(t.schema)},resolvedNewsletter(){const{elements:t}=this.displayedProps;return t.find(n=>{let{purpose:c}=n;return c===C.ZP})},newsletterTitleVisible(){return!this.displayedProps.properties.newsletterTitle.hidden},paymentMethodsVisible(){return!this.displayedProps.properties.paymentMethods.hidden},cookieManagementSettingsVisible(){return this.COOKIE_MANAGEMENT.type===w.c},inEditorMode(){return!this.environment.published}}),mounted(){this.fixBrokenNewsletter()},methods:{resolveProps(){return{elements:Object.values(this.resolved),properties:{background:this.background,navigation:this.navigation,newsletterTitle:this.resolvedNewsletterTitle,paymentMethods:this.resolvedPaymentMethods}}},resolveElementProps(t){const{id:n,purpose:c,properties:D}=t,B=F.A.elements[c],R=v(v(v({id:n},B.properties),this.defaults[c]),D);return R.button=v(v({},A()(B.properties,"button")),A()(D,"button")),b(v({},t),{properties:R})},navWithTitles(t){return t.map(n=>this.getNavWithTitles(n)).filter(n=>!!n&&!a()(n))},fixBrokenNewsletter(){if(this.inEditorMode){const t={blockId:this.id};this.eventBus.$emit("frame:footer:form:fix",t)}}}};var V,U,W=(0,$.A)(Z,V,U,!1,null,"05df0536",null);const E=W.exports},48546:(x,r,e)=>{e.d(r,{A:()=>F});var s=function(){var o=this,m=o._self._c;return m("div",{staticClass:"payment-methods"},[o.creditCardsOnly?o._e():[o.supportedPaymentMethods.cash_app?m("payment-method",{staticClass:"supported-payment-method",attrs:{"payment-method":o.CASH_APP}}):o._e(),o._v(" "),o.supportedPaymentMethods.squarepay?m("span",{staticClass:"square-pay"},[m("square-logo",{staticClass:"square-pay__icon"})],1):o._e(),o._v(" "),o.supportedPaymentMethods.apple_pay?m("payment-method",{staticClass:"supported-payment-method",attrs:{"payment-method":o.APPLE_PAY}}):o._e(),o._v(" "),o.supportedPaymentMethods.google_pay?m("payment-method",{staticClass:"supported-payment-method",attrs:{"payment-method":o.GOOGLE_PAY}}):o._e()],o._v(" "),o.supportedPaymentMethods.visa?m("payment-method",{staticClass:"supported-payment-method",attrs:{"payment-method":o.VISA}}):o._e(),o._v(" "),o.supportedPaymentMethods.mastercard?m("payment-method",{staticClass:"supported-payment-method",attrs:{"payment-method":o.MASTERCARD}}):o._e(),o._v(" "),o.supportedPaymentMethods.american_express?m("payment-method",{staticClass:"supported-payment-method",attrs:{"payment-method":o.AMEX}}):o._e(),o._v(" "),o.supportedPaymentMethods.discover?m("payment-method",{staticClass:"supported-payment-method",attrs:{"payment-method":o.DISCOVER}}):o._e(),o._v(" "),o.supportedPaymentMethods.jcb?m("payment-method",{staticClass:"supported-payment-method",attrs:{"payment-method":o.JCB}}):o._e(),o._v(" "),o.creditCardsOnly?o._e():[o.supportedPaymentMethods.afterpay&&!o.afterpayHidden?[o.shouldUseClearpayBrand?m("payment-method",{staticClass:"supported-payment-method",attrs:{"payment-method":o.CLEAR_PAY}}):m("payment-method",{staticClass:"supported-payment-method",attrs:{"payment-method":o.AFTER_PAY}})]:o._e(),o._v(" "),o.supportedPaymentMethods.paypal?m("payment-method",{staticClass:"supported-payment-method",attrs:{"payment-method":o.PAYPAL}}):o._e(),o._v(" "),o.supportedPaymentMethods.interac?m("payment-method",{staticClass:"supported-payment-method",attrs:{"payment-method":o.INTERAC}}):o._e()],o._v(" "),o.showPlaceholder?[m("payment-method",{staticClass:"supported-payment-method"}),o._v(" "),m("payment-method",{staticClass:"supported-payment-method"}),o._v(" "),m("payment-method",{staticClass:"supported-payment-method"}),o._v(" "),m("payment-method",{staticClass:"supported-payment-method"})]:o._e()],2)},a=[],h=e(50204),A=e(76872),f=e(5696),p=e(20962),y=e(56873),S=e(774),g=e(51067),l=e(66713),O=e(35017),u=e(85818);const _={components:{SquareLogo:l.A,PaymentMethod:O.A},props:{afterpayHidden:{type:Boolean,default:!1},creditCardsOnly:{type:Boolean,default:!1}},data(){return{AMEX:u.MU,DISCOVER:u.OB,JCB:u.wB,MASTERCARD:u.rD,VISA:u.Ge,APPLE_PAY:u.O7,GOOGLE_PAY:u.zm,CASH_APP:u.kk,CLEAR_PAY:u.NH,AFTER_PAY:u.iE,PAYPAL:u.ON,INTERAC:u.t4,PLACEHOLDER:u.Kx}},computed:b(v(v(v(v(v({},(0,A.mapState)(["environment"])),(0,h.aH)(f.Ay,["storeInformation"])),(0,A.mapGetters)(p.EO,["shouldUseClearpayBrand","shouldShowMiniCart"])),(0,h.aH)(S.A,["isAfterpayAvailable"])),(0,h.aH)(y.A,["getFeatureFlagByKey"])),{newAfterpayLogoEnabled(){return this.getFeatureFlagByKey(g.MM)},supportedPaymentMethods(){const C=this.storeInformation.allowed_to_sell,o=this.storeInformation.has_payment_processor;if(!C||!o)return{};const m=this.storeInformation.payment_method_support||{},k={apple_pay:m.apple_pay,google_pay:m.google_pay,visa:m.visa,american_express:m.amex,mastercard:m.mastercard,discover:m.discover,jcb:m.jcb,cash_app:m.cash_app,paypal:m.paypal,squarepay:this.shouldShowMiniCart&&!this.newAfterpayLogoEnabled,interac:m.interac,afterpay:this.isAfterpayAvailable&&!this.newAfterpayLogoEnabled};return this.$emit("payment-count",Object.values(k).filter(j=>j).length),k},showPlaceholder(){return!this.environment.published&&!this.hasSupportedMethods},hasSupportedMethods(){return Object.values(this.supportedPaymentMethods).some(C=>C)}})};var w=e(14486),L=(0,w.A)(_,s,a,!1,null,"37b9dd09",null);const F=L.exports},35017:(x,r,e)=>{e.d(r,{A:()=>S});var s=function(){var l=this,O=l._self._c;return O("img",{attrs:{src:l.srcIcon,alt:l.altText}})},a=[],h=e(85818);const f={name:"PaymentMethod",props:{paymentMethod:{type:String,default:h.Kx}},data(){return{PLACEHOLDER:h.Kx,paymentMethodIcons:h.cg,paymentMethodAltText:h.g3}},computed:{srcIcon(){var g,l;return(g=this.paymentMethodIcons[(l=this.paymentMethod)===null||l===void 0?void 0:l.toUpperCase()])!==null&&g!==void 0?g:this.paymentMethodIcons[h.Kx]},altText(){var g,l;return(g=this.paymentMethodAltText[(l=this.paymentMethod)===null||l===void 0?void 0:l.toUpperCase()])!==null&&g!==void 0?g:this.paymentMethodAltText[h.Kx]}}};var p=e(14486),y=(0,p.A)(f,s,a,!1,null,null,null);const S=y.exports},30177:(x,r,e)=>{e.d(r,{A:()=>y});var s=function(){var g=this,l=g._self._c;return l("hr",{staticClass:"divider"})},a=[];const A={name:"Divider"};var f=e(14486),p=(0,f.A)(A,s,a,!1,null,"2b9c9aba",null);const y=p.exports}}]);})();