"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=(S,d,e)=>d in S?oe(S,d,{enumerable:!0,configurable:!0,writable:!0,value:e}):S[d]=e,f=(S,d)=>{for(var e in d||(d={}))ie.call(d,e)&&te(S,e,d[e]);if(ee)for(var e of ee(d))re.call(d,e)&&te(S,e,d[e]);return S},L=(S,d)=>ne(S,ae(d));var se=(S,d,e)=>new Promise((s,a)=>{var m=u=>{try{y(e.next(u))}catch(g){a(g)}},v=u=>{try{y(e.throw(u))}catch(g){a(g)}},y=u=>u.done?s(u.value):Promise.resolve(u.value).then(m,v);y((e=e.apply(S,d)).next())});(self.webpackChunkecom_website=self.webpackChunkecom_website||[]).push([[27280],{88723:(S,d,e)=>{e.d(d,{Z:()=>m});var s=e(39238).Z;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"},m=[{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}]},97310:(S,d,e)=>{e.d(d,{Z:()=>a});var s=e(39238).Z;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}}},7743:(S,d,e)=>{e.d(d,{G6:()=>x,I6:()=>v,K1:()=>a,RN:()=>g,Sp:()=>i,_T:()=>C,au:()=>m,bB:()=>O,mJ:()=>y,wy:()=>h});function s(){return typeof window!="undefined"}function a(){if(!s())return!1;const l=typeof window.orientation!="undefined",_="ontouchstart"in window||window.navigator.msMaxTouchPoints;return l&&_}function m(){return s()&&!!window.navigator.userAgent.match(/iPad|iPhone|iPod/i)}function v(){return s()&&!!window.navigator.userAgent.match(/android/i)}function y(){return s()&&window.chrome&&!(window.navigator.userAgent.toLowerCase().indexOf("edge")>-1)}function u(){if(s()&&typeof navigator!="undefined"){const l=navigator.appVersion.match(/OS (\d+)_(\d+)_?(\d+)?/);if(l&&l.length)return[parseInt(l[1],10),parseInt(l[2],10),parseInt(l[3]||0,10)]}return!1}function g(){const l=u();return l&&l[0]<13}function x(){return s()&&window.navigator.userAgent.includes("Safari")&&!window.navigator.userAgent.includes("Chrome")}function h(){return s()&&window.navigator.userAgent.includes("CriOS")}function i(){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 C(){return s()?window.navigator.userAgent.includes("FBAN/FBIOS")||window.navigator.userAgent.includes("FB_IAB/FB4A"):!1}},80243:(S,d,e)=>{e.d(d,{M1:()=>m,Vi:()=>s,iN:()=>g,kI:()=>a,uE:()=>u});const s="title",a="logo",m="logo-image-override",v=400,y=100,u=50,g=()=>({align:"left",vertical:{width:{min:50,max:v},height:{min:50,max:y}},horizontal:{width:{min:50,max:v},height:{min:50,max:y}}})},48160:(S,d,e)=>{e.d(d,{D:()=>g,GL:()=>y,Lm:()=>i,Nh:()=>I,Xp:()=>a,YR:()=>O,eI:()=>s,ku:()=>m,l7:()=>l,lM:()=>u,m0:()=>v,mu:()=>_,qN:()=>x,wB:()=>h,yw:()=>C});const s="AMERICAN_EXPRESS",a="DISCOVER",m="JCB",v="MASTERCARD",y="VISA",u="APPLE_PAY",g="GOOGLE_PAY",x="CASH_APP",h="CLEAR_PAY",i="AFTER_PAY",O="PAYPAL",C="INTERAC",l="PLACEHOLDER",_={[s]:"/static/icons/payment-methods/americanexpress.svg",[u]:"/static/icons/payment-methods/applepay.svg",[x]:"/static/icons/payment-methods/cashapp.svg",[a]:"/static/icons/payment-methods/discover.svg",[g]:"/static/icons/payment-methods/googlepay.svg",[m]:"/static/icons/payment-methods/jcb.svg",[v]:"/static/icons/payment-methods/mastercard.svg",[O]:"/static/icons/payment-methods/paypal.svg",[y]:"/static/icons/payment-methods/visa.svg",[C]:"/static/icons/payment-methods/interac.svg",[i]:"/static/icons/payment-methods/afterpay.svg",[h]:"/static/icons/payment-methods/clearpay.svg",[l]:"/static/icons/payment-methods/placeholder.svg"},I={[s]:"American Express",[u]:"Apple Pay",[x]:"CashApp",[a]:"Discover",[g]:"Google Pay",[m]:"JCB",[v]:"Mastercard",[O]:"Paypal",[y]:"Visa",[C]:"Interac",[i]:"Afterpay",[h]:"Clearpay",[l]:"Placeholder"}},49816:(S,d,e)=>{e.r(d),e.d(d,{default:()=>u});var s=function(){var x=this,h=x._self._c;return h("svg",{pre:!0,attrs:{width:"24",height:"24",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[h("rect",{pre:!0,attrs:{width:"24",height:"24",rx:"12",fill:"#000","fill-opacity":".9"}}),h("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=[],m=e(51900),v={},y=(0,m.Z)(v,s,a,!1,null,null,null);const u=y.exports},95467:(S,d,e)=>{e.d(d,{Z:()=>N});var s=function(){var c=this,A=c._self._c;return A("form",{attrs:{action:c.action,method:"post"},on:{submit:function(P){return P.preventDefault(),c.onBeforeSubmit.apply(null,arguments)}}},[c.submitted?A("confirmation",{attrs:{message:c.message}}):[c._l(c.inputs,function(P,G){return A("div",{key:G,staticClass:"form__row row",class:c.fieldClass(P)},[A(`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:c.meta,error:c.errors[P.id]},on:{change:c.handleChange},model:{value:c.form[P.id],callback:function(j){c.$set(c.form,P.id,j)},expression:"form[field.id]"}})],1)}),c._v(" "),A("recaptcha-terms",{staticClass:"recaptcha-terms"}),c._v(" "),c.showSubmit?[A("div",{staticClass:"form__row row form__row--no-gutters"},[c.errors.button?A("p",{staticClass:"form__error-message"},[c._v(`
`+c._s(c.errors.button.message)+`
`)]):c._e()]),c._v(" "),A("div",{staticClass:"form__row row"},[A("form-button",{attrs:{label:c.formButton.label,"preset-color":c.formButton.presetColor,"preset-size":c.formButton.presetSize,"preset-style":c.formButton.presetStyle,disabled:c.formButton.disabled}})],1)]:c._e()]],2)},a=[],m=e(73429),v=e.n(m),y=e(54526),u=e(48917),g=e(16518),x=function(){var c=this,A=c._self._c;return A("div",{staticClass:"form__confirmation"},[A("p",[c._v(c._s(c.message))])])},h=[];const O={name:"FormConfirmation",props:{message:{type:String,default:""}}};var C=e(51900),l=(0,C.Z)(O,x,h,!1,null,null,null);const _=l.exports;var I=e(87991),w=e(78931),o=e(12025);const b={name:"FormElement",components:L(f({},o.Z),{Confirmation:_,RecaptchaTerms:u.Z}),extends:g.Z,props:{type:{type:String,validator(T){return w.vK[T]},default:w.Kg}},data(){return{endpoint:w.vK[this.type].endpoint,defaultConfirmation:w.vK[this.type].message||""}},computed:L(f({},(0,y.mapGetters)(["isPublishedSite"])),{showSubmit(){return this.type!==w.kB},inputs(){return this.type===w.kB?this.subscriptionFields:this.fullFields},subscriptionFields(){return this.fullFields.map(T=>(T.type==="action-input"&&(T.placeholder=T.placeholder||w.Nx.email,T.label=T.placeholder||w.Nx.email,T.required=!0,T.properties={type:"email",button:L(f({},this.formButton),{error:f({},v()(this.errors,"button",{}))})}),T))}}),methods:{onBeforeSubmit(){return se(this,arguments,function*(){let T=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const c=f({},T);return this.isPublishedSite&&(c["g-recaptcha-response"]=yield I.Z.login()),this.onSubmit(c)})},handleChange(T){this.$set(this.errors,T,{})}}};var B=(0,C.Z)(b,s,a,!1,null,"11ca810a",null);const N=B.exports},17485:(S,d,e)=>{e.d(d,{Z:()=>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(p){return t.$emit("load")},failed:function(p){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(p){return t.$emit("load")},failed:function(p){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(p){return t.$emit("load")},failed:function(p){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(p){return t.$emit("load")},failed:function(p){return t.$emit("failed")}}},"component",t.props,!1))],1)},a=[],m=e(73429),v=e.n(m),y=e(54526),u=e(24145),g=e(80243),x=e(432),h=e(94632),i=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(p){return t.$emit("load")},failed:function(p){return t.$emit("failed")}}}):t._e()],1)},O=[],C=e(50052),l=e.n(C),_=e(1967),I=e(13784);const w={vertical:{width:{min:38,max:80},height:{min:38,max:60}},horizontal:{width:{min:40,max:200},height:{min:22,max:50}}},r={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:I.OU}},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=w[this.orientation];return`${this.width(E)}px`},sizes(){return`(min-width: ${_.Y5.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 p=E-t;return p*=n,p+=t,p=l()(p,t,E),p},width(E){const t=this.scale/100,n=E.height.max*this.aspectRatio,p=E.height.min*this.aspectRatio,k=Math.min(E.width.max,n),D=Math.max(E.width.min,p);return this.computeValue(k,D,t)}}};var b=e(51900),B=(0,b.Z)(r,i,O,!1,null,"23d6841e",null);const N=B.exports;var z=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=[],c=e(27558),A=e(11043),P=e(1507),G=e(23967),j=e(25137);const $={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:A.wf,TEXTSTYLE_TITLE:P.yb}},computed:L(f({},(0,u.rn)(c.Z,["colorMap"])),{textColor(){const E=this.backdrop(),t=this.colorProfile?this.colorProfile().title:"";let n=this.color||t;return n=(0,j.en)(E,n,this.colorMap,{contrastMin:G.R4}),n},explicitCSSFontSize(){return this.isKioskSite?"24px":{small:"18px",medium:"20px",large:"22px"}[this.fontSize]}})};var Y=(0,b.Z)($,z,T,!1,null,"68c8fdff",null);const J=Y.exports,V={name:"LogoElement",components:{ImageLogo:N,TextLogo:J},props:{fontSize:{type:String,default:"medium"},logoDimensions:{type:Object,default:()=>({width:400,height:400})},scale:{type:Number,default:g.uE},logoConfig:{type:Object,default:()=>g.iN},type:{type:String,default:g.Vi},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:L(f(f({},(0,y.mapState)(["environment"])),(0,u.rn)(x.Z,{isOrderOnlineHomepage:"isHomepage"})),{isOrderOnlinePage(){return this.$route.name===h.Su},isOnOrderOnlineAndOrderOnlineIsTheHomepage(){return this.isOrderOnlinePage&&this.isOrderOnlineHomepage},component(){return this.isImage?"image-logo":"text-logo"},isImage(){return this.type===g.kI||this.type===g.M1},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.siteLogoSource||this.SITE_LOGO,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 v()(this.link,"link.external")},externalHref(){return this.environment.published||this.environment.draft?this.externalLink:null}}),methods:L(f({},(0,u.nv)(x.Z,["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 H=(0,b.Z)(V,s,a,!1,null,"3935e826",null);const W=H.exports},40914:(S,d,e)=>{e.d(d,{Z:()=>O});var s=function(){var l=this,_=l._self._c;return l.hasIcons?_("div",[l._l(l.userIcons,function(I){return[l.environment.published?_("a",{key:I.icon,attrs:{href:l.getIconURL(I),target:l.getTarget(I),rel:"noopener noreferrer"}},[_("w-icon",{staticClass:"icon",attrs:{icon:I.icon,"background-fill":l.iconBackground,"icon-fill":l.iconColor,size:l.size,alt:I.display}})],1):_("w-icon",{key:I.icon,staticClass:"icon",attrs:{icon:I.icon,"background-fill":l.iconBackground,"icon-fill":l.iconColor,size:l.size,alt:I.display}})]})],2):l.environment.published?_("div"):_("div",[_("w-icon",{staticClass:"icon",attrs:{size:l.size,icon:"facebook","icon-fill":"#cccccc"}}),_("w-icon",{staticClass:"icon",attrs:{size:l.size,icon:"instagram","icon-fill":"#cccccc"}}),_("w-icon",{staticClass:"icon",attrs:{size:l.size,icon:"pinterest","icon-fill":"#cccccc"}})],1)},a=[],m=e(51588),v=e.n(m),y=e(54526),u=e(88723);const x={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:L(f({},(0,y.mapState)(["environment"])),{hasIcons(){return this.SITE_SOCIAL.some(C=>C.selected)},userIcons(){const C=u.Z.map(l=>f(f({},l),this.SITE_SOCIAL.find(_=>_.icon===l.icon)));return v()(C).call(C,(l,_)=>l.icon.localeCompare(_.icon)),C.filter(l=>l.selected)},iconColor(){return this.presetColor==="brand"?this.presetColor:`var(${this.presetColor})`},iconBackground(){return this.presetColor==="--color-white"?"black":"white"}}),methods:{getIconURL(C){const{user:l,prefix:_}=C;return`${_}${l}`},getTarget(C){return C.icon!=="email"&&"_blank"}}};var h=e(51900),i=(0,h.Z)(x,s,a,!1,null,"245e75b5",null);const O=i.exports},24476:(S,d,e)=>{e.d(d,{Z:()=>x});var s=function(){var i=this,O=i._self._c;return O("w-text",{attrs:{editable:i.editable,contents:i.content,formats:i.textFormats,"font-size":i.fontSize,"font-family":i.fontFamily,"text-style":i.textStyle,align:i.align,color:i.color,"all-caps":i.allCaps,italic:i.italic,bold:i.bold}})},a=[],m=e(1507);const y={name:"TextElement",inheritAttrs:!1,props:{fontSize:{type:String,default:"medium"},fontFamily:{type:String,default:""},textStyle:{type:String,default:void 0,validator:h=>m.cY.includes(h)},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 u=e(51900),g=(0,u.Z)(y,s,a,!1,null,null,null);const x=g.exports},98371:(S,d,e)=>{e.d(d,{Z:()=>E});var s=e(56412),a=e.n(s),m=e(73429),v=e.n(m),y=e(81744),u=e.n(y),g=e(54526),x=e(5924),h=e(17485),i=e(95467),O=e(24476),C=e(40914),l=e(32949),_=e(97310),I=e(1194),w=e(80243),o=e(94770),r=e(70557),b=e(80291),B=function(){var n=this,p=n._self._c;return p("div",{staticClass:"cookie-management-settings-container",on:{click:n.openCookieManagementSettings}},[p("cookiebot-widget-badge",{staticClass:"cookie-management-settings-icon"}),n._v(" "),p("span",{staticClass:"cookie-management-title"},[n._v(`
`+n._s(n.translations.cookieManagementSettings)+`
`)]),n._v(" "),p("pseudo-window",{on:{CookiebotOnDialogDisplay:n.onDialogDisplay,CookiebotOnAccept:n.onConsent,CookiebotOnDecline:n.onDecline}})],1)},N=[],z=e(29131),T=e.n(z),c=e(49816),A=e(39238).Z;const P={cookieManagementSettings:A("purposes.footer.cookie-management-settings"),dialogCurrentState:A("purposes.footer.cookie-management-dialog.current-state"),dialogConsentId:A("purposes.footer.cookie-management-dialog.consent-id"),dialogConsentDate:A("purposes.footer.cookie-management-dialog.consent-date")},j={name:"CookieManagementSettings",components:{PseudoWindow:T(),CookiebotWidgetBadge:c.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:p,consentUTC:k,consent:D}=window.Cookiebot,R=u()(t=Object.entries(D)).call(t,(M,F)=>{let[X,K]=F;return K===!0&&M.push(X),M},[]),q={[P.dialogCurrentState]:R.join(", "),[P.dialogConsentId]:p!=="0"?p:null,[P.dialogConsentDate]:k},U=u()(n=Object.entries(q).filter(M=>{let[,F]=M;return F})).call(n,(M,F)=>{let[X,K]=F;return`${M}
${X}: ${K} `},"");document.getElementById("CybotCookiebotDialogDetailBodyContentTextAbout").innerHTML+=`
${U}`},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 Z=e(51900),$=(0,Z.Z)(j,B,N,!1,null,"2d7c7c2e",null);const Y=$.exports,Q={components:{Divider:x.Z,LogoElement:h.Z,TextElement:O.Z,FormElement:i.Z,SocialIconsElement:C.Z,Navigation:l.Z,PaymentMethods:b.Z,CookieManagementSettings:Y},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:r.eU,NAVIGATION_LABEL:r.nQ,NEWSLETTER_PURPOSE:r.I2,NEWSLETTER_LABEL:r.vS,NEWSLETTER_TITLE_PURPOSE:r.sz,NEWSLETTER_TITLE_LABEL:r.lN,LOGO_PURPOSE:r.Ju,LOGO_LABEL:r.H4,SOCIAL_PURPOSE:r.zp,SOCIAL_LABEL:r.SP,COOKIE_MANAGEMENT_SETTINGS_PURPOSE:r.Vg,COOKIE_MANAGEMENT_SETTINGS_LABEL:r.tv,TEXT_PURPOSE:r.rg,TEXT_LABEL:r.oC,PAYMENT_METHODS_PURPOSE:r.w3,PAYMENT_METHODS_LABEL:r.Ti}},computed:L(f(f({},(0,g.mapState)(["environment"])),(0,g.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:p,LOGO_TYPE:k,SITE_SOCIAL:D,VERTICAL:R}=this,U=new Date().getFullYear(),M={logo:{SITE_TITLE:n,SITE_LOGO:p,type:k},newsletter:{SITE_ID:t},social:{SITE_SOCIAL:D},newsletterTitle:{tag:"p",fontSize:"large"},text:{content:`\xA9 ${U}`},paymentMethods:{hidden:!0},cookieManagementSettings:{hidden:!0}};return R&&(M.newsletterTitle.content=_.Z[R].title),M},SITE_ID(){return this.getDatasource("SITE_ID")},SITE_TITLE(){return this.getDatasource("SITE_TITLE")},SITE_LOGO(){return this.LOGO_TYPE===w.M1?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 f(f({},this.defaults.newsletterTitle),this.newsletterTitle)},resolvedPaymentMethods(){return f(f({},this.defaults.paymentMethods),this.paymentMethods)},footerNav(){const{SITE_NAV:t,shouldCopyHeader:n}=this.navigation;let p=this.navWithTitles(this.getDatasource("SITE_NAV"));return n===!1&&(p=t?this.navWithTitles(t):[]),{SITE_NAV:p,type:"footer"}},displayedProps(){return this.resolveProps()},resolved(){var t;return u()(t=this.elements).call(t,(n,p)=>(n[p.purpose]=this.resolveElementProps(p),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:p}=this;return!n&&p},hasSchema(){const{properties:t}=this.resolvedNewsletter;return!a()(t.schema)},resolvedNewsletter(){const{elements:t}=this.displayedProps;return t.find(n=>{let{purpose:p}=n;return p===r.I2})},newsletterTitleVisible(){return!this.displayedProps.properties.newsletterTitle.hidden},paymentMethodsVisible(){return!this.displayedProps.properties.paymentMethods.hidden},cookieManagementSettingsVisible(){return this.COOKIE_MANAGEMENT.type===I.l},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:p,properties:k}=t,D=o.Z.elements[p],R=f(f(f({id:n},D.properties),this.defaults[p]),k);return R.button=f(f({},v()(D.properties,"button")),v()(k,"button")),L(f({},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,H,W=(0,Z.Z)(Q,V,H,!1,null,"05df0536",null);const E=W.exports},80291:(S,d,e)=>{e.d(d,{Z:()=>I});var s=function(){var o=this,r=o._self._c;return r("div",{staticClass:"payment-methods"},[o.creditCardsOnly?o._e():[o.supportedPaymentMethods.squarepay?r("span",{staticClass:"square-pay"},[r("square-logo",{staticClass:"square-pay__icon"})],1):o._e(),o._v(" "),o.supportedPaymentMethods.apple_pay?r("payment-method",{staticClass:"supported-payment-method",attrs:{"payment-method":o.APPLE_PAY}}):o._e(),o._v(" "),o.supportedPaymentMethods.google_pay?r("payment-method",{staticClass:"supported-payment-method",attrs:{"payment-method":o.GOOGLE_PAY}}):o._e()],o._v(" "),o.supportedPaymentMethods.visa?r("payment-method",{staticClass:"supported-payment-method",attrs:{"payment-method":o.VISA}}):o._e(),o._v(" "),o.supportedPaymentMethods.mastercard?r("payment-method",{staticClass:"supported-payment-method",attrs:{"payment-method":o.MASTERCARD}}):o._e(),o._v(" "),o.supportedPaymentMethods.american_express?r("payment-method",{staticClass:"supported-payment-method",attrs:{"payment-method":o.AMEX}}):o._e(),o._v(" "),o.supportedPaymentMethods.discover?r("payment-method",{staticClass:"supported-payment-method",attrs:{"payment-method":o.DISCOVER}}):o._e(),o._v(" "),o.supportedPaymentMethods.jcb?r("payment-method",{staticClass:"supported-payment-method",attrs:{"payment-method":o.JCB}}):o._e(),o._v(" "),o.creditCardsOnly?o._e():[o.supportedPaymentMethods.cash_app?r("payment-method",{staticClass:"supported-payment-method",attrs:{"payment-method":o.CASH_APP}}):o._e(),o._v(" "),o.supportedPaymentMethods.afterpay&&!o.afterpayHidden?[o.shouldUseClearpayBrand?r("payment-method",{staticClass:"supported-payment-method",attrs:{"payment-method":o.CLEAR_PAY}}):r("payment-method",{staticClass:"supported-payment-method",attrs:{"payment-method":o.AFTER_PAY}})]:o._e(),o._v(" "),o.supportedPaymentMethods.paypal?r("payment-method",{staticClass:"supported-payment-method",attrs:{"payment-method":o.PAYPAL}}):o._e(),o._v(" "),o.supportedPaymentMethods.interac?r("payment-method",{staticClass:"supported-payment-method",attrs:{"payment-method":o.INTERAC}}):o._e()],o._v(" "),o.showPlaceholder?[r("payment-method",{staticClass:"supported-payment-method"}),o._v(" "),r("payment-method",{staticClass:"supported-payment-method"}),o._v(" "),r("payment-method",{staticClass:"supported-payment-method"}),o._v(" "),r("payment-method",{staticClass:"supported-payment-method"})]:o._e()],2)},a=[],m=e(24145),v=e(54526),y=e(44442),u=e(67043),g=e(85826),x=e(85666),h=e(96233),i=e(48160);const C={components:{SquareLogo:x.Z,PaymentMethod:h.Z},props:{afterpayHidden:{type:Boolean,default:!1},creditCardsOnly:{type:Boolean,default:!1}},data(){return{AMEX:i.eI,DISCOVER:i.Xp,JCB:i.ku,MASTERCARD:i.m0,VISA:i.GL,APPLE_PAY:i.lM,GOOGLE_PAY:i.D,CASH_APP:i.qN,CLEAR_PAY:i.wB,AFTER_PAY:i.Lm,PAYPAL:i.YR,INTERAC:i.yw,PLACEHOLDER:i.l7}},computed:L(f(f(f(f({},(0,v.mapState)(["environment"])),(0,m.rn)(y.ZP,["storeInformation"])),(0,v.mapGetters)(u.zu,["shouldUseClearpayBrand","shouldShowMiniCart"])),(0,m.rn)(g.Z,["isAfterpayAvailable"])),{supportedPaymentMethods(){const w=this.storeInformation.allowed_to_sell,o=this.storeInformation.has_payment_processor;if(!w||!o)return{};const r=this.storeInformation.payment_method_support||{},b={apple_pay:r.apple_pay,google_pay:r.google_pay,visa:r.visa,american_express:r.amex,mastercard:r.mastercard,discover:r.discover,jcb:r.jcb,cash_app:r.cash_app,paypal:r.paypal,squarepay:this.shouldShowMiniCart,interac:r.interac,afterpay:this.isAfterpayAvailable};return this.$emit("payment-count",Object.values(b).filter(B=>B).length),b},showPlaceholder(){return!this.environment.published&&!this.hasSupportedMethods},hasSupportedMethods(){return Object.values(this.supportedPaymentMethods).some(w=>w)}})};var l=e(51900),_=(0,l.Z)(C,s,a,!1,null,"584fc356",null);const I=_.exports},96233:(S,d,e)=>{e.d(d,{Z:()=>x});var s=function(){var i=this,O=i._self._c;return O("img",{attrs:{src:i.srcIcon,alt:i.altText}})},a=[],m=e(48160);const y={name:"PaymentMethod",props:{paymentMethod:{type:String,default:m.l7}},data(){return{PLACEHOLDER:m.l7,paymentMethodIcons:m.mu,paymentMethodAltText:m.Nh}},computed:{srcIcon(){var h,i;return(h=this.paymentMethodIcons[(i=this.paymentMethod)===null||i===void 0?void 0:i.toUpperCase()])!==null&&h!==void 0?h:this.paymentMethodIcons[m.l7]},altText(){var h,i;return(h=this.paymentMethodAltText[(i=this.paymentMethod)===null||i===void 0?void 0:i.toUpperCase()])!==null&&h!==void 0?h:this.paymentMethodAltText[m.l7]}}};var u=e(51900),g=(0,u.Z)(y,s,a,!1,null,null,null);const x=g.exports},5924:(S,d,e)=>{e.d(d,{Z:()=>g});var s=function(){var h=this,i=h._self._c;return i("hr",{staticClass:"divider"})},a=[];const v={name:"Divider"};var y=e(51900),u=(0,y.Z)(v,s,a,!1,null,"2b9c9aba",null);const g=u.exports}}]);})();