(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7943],{77943:function(o,e,a){"use strict";a.r(e),a.d(e,{default:function(){return y}});var r=a(52322),n=a(3616),l=a(12524),s=a.n(l),i=a(26841),t=a(76921),m=a(89248),c=a(77923),f=a(59335),h=a(98929);let _={"hm-menu":"menuClass_m644mlm","hm-menu__list":"menuListClass_mzu1uao","hm-menu-list__item":"menuListItemClass_meouqgl","hm-menu-list__anchor":"menuListAnchorClass_mkjr6zm"};a(18774);let u=o=>{let{ariaLabel:e="",className:a="",id:n="",items:l=[],layout:m="columns"}=o,{LinkComponent:c}=(0,i.Z)(),{platformStyles:f}=(0,t.Z)(_);return 0!==l.length&&l?(0,r.jsx)("nav",{className:s()([a,f["hm-menu"],"columns"===m?"hm-menu--columns":"hm-menu--inline"]),id:n,"aria-label":e,children:(0,r.jsx)("ul",{className:f["hm-menu__list"],children:l.map(o=>(0,r.jsx)("li",{className:f["hm-menu-list__item"],children:(0,r.jsx)(c,{className:f["hm-menu-list__anchor"],...o,children:o.label})},o.link))})}):null};var d=a(72398);let N={"hm-footer":"footer_flcmphb","hm-footer__row":"footerRow_f17a1bse","hm-footer__row--primary":"footerRowPrimary_f1k5yopd","hm-footer__row--secondary":"footerRowSecondary_f1nb2ebl","footer-navigation-primary":"footerNavigationPrimary_ff86krp","footer-navigation-secondary":"footerNavigationSecondary_f1tlqgoq","hm-footer__social":"footerSocial_fkmuk8n","global-css":"footerGlobals_f1a9axy3"};a(33256);let k=o=>{let{footerLinks:e=null,footerLinksSecondary:a=null,socialLinks:n=null,className:l=null}=o,{platformStyles:_}=(0,t.Z)(N),{LinkComponent:k,brandName:g,FooterSecondaryLogo:j}=(0,i.Z)(),x="";switch(g){case"hfm":x="HELLO Fashion";break;case"hola":x="HOLA.com";break;default:x="HELLO Magazine"}return(0,r.jsx)("footer",{id:"hm-footer",className:s()([l,_["hm-footer"]]),"aria-label":"Footer",children:(0,r.jsxs)("div",{className:"hm-container",children:[(0,r.jsxs)("div",{className:s()("".concat(_["hm-footer__row"]," ").concat(_["hm-footer__row--primary"])),children:[(0,r.jsxs)("div",{className:"hm-footer__logo-container",children:[(0,r.jsxs)(k,{className:"hm-footer__logo-link",link:"hfm"===g?"/hfm/":"/",ariaLabel:x,children:["hello"===g&&(0,r.jsx)(h.J,{icon:m.r,className:"hm-footer__logo"}),"hfm"===g&&(0,r.jsx)(h.J,{icon:c.r,className:"hm-footer__logo"}),"hola"===g&&(0,r.jsx)(h.J,{icon:f.r,className:"hm-footer__logo"})]}),j&&(0,r.jsx)(j,{})]}),(0,r.jsx)(u,{layout:"columns",items:e,ariaLabel:"Primary Footer Navigation",id:"footer-navigation-primary",className:_["footer-navigation-primary"]})]}),(0,r.jsxs)("div",{className:s()("".concat(_["hm-footer__row"]," ").concat(_["hm-footer__row--secondary"])),children:[(0,r.jsx)("div",{className:_["hm-footer__social"],children:(0,r.jsx)(d.e,{socialLinks:n,ariaLabel:"Find Hello Magazine on social networks"})}),(0,r.jsx)(u,{layout:"inline",items:a,ariaLabel:"Secondary Footer Navigation",id:"footer-navigation-secondary",className:_["footer-navigation-secondary"]})]})]})})},g=(0,a(75765).z)(k)({name:"HFMFooter",class:"HFMFooter_h161q9kl",propsAsIs:!0});a(54353);let j=o=>{let{...e}=o;return(0,r.jsx)(n.Z,{brandComponents:{HelloFooter:k,HFMFooter:g},ampName:"Footer",...e})},x=o=>o.map(o=>("#didomi"===o.link&&(o.onClick=o=>{o.preventDefault();{let{Didomi:o}=window;o.preferences.show()}}),o));var y=o=>{let{data:e}=o,{footerLinks:a,footerLinksSecondary:n,socialLinks:l}=e,s=x(n);return(0,r.jsx)(j,{footerLinks:a,footerLinksSecondary:s,socialLinks:l})}},18774:function(){},54353:function(){},33256:function(){}}]);