1import{_ as v,bI as k,Z as A,av as I,a as w,b as r,d as a,j as d,F as g,f as t,t as b,h as R,w as l,I as c,i as h,e as x,n as f,l as H,bT as N,x as Y,b5 as C}from"./main-BRllkcH1.js";const F={name:"AmalFooter",inheritAttrs:!1},O=Object.assign(F,{props:{generalTab:{type:Object,default:()=>({})},exerciseYourRightsTab:{type:Object,default:()=>({})},subsidiaryTab:{type:Object,default:()=>({})},socialMediaTab:{type:Object,default:()=>({})},tncTab:{type:Object,default:()=>({})},copyrightTab:{type:Object,default:()=>({})},componentIdAA:{type:String,default:""}},setup(y,{expose:T}){T();const s=y,e=()=>{const n=Object.keys(s.exerciseYourRightsTab).length===0,m=Object.keys(s.subsidiaryTab).length===0,o=Object.keys(s.socialMediaTab).length===0,_=Object.keys(s.tncTab).length===0,M=Object.keys(s.copyrightTab).length===0;return n&&m&&o&&_&&M},{footer:p}=k(),{isEditorMode:u}=A();p.subsidiaryTab=s.subsidiaryTab,p.tncTab=s.tncTab,p.copyrightTab=s.copyrightTab;const i={props:s,isPropsDataEmpty:e,footerStore:p,isEditorMode:u,FontAwesomeLazy:H,AppFooterAccordion:N,get isMobileViewport(){return Y},get useGlobalAEMState(){return A},get useHeaderFooterStore(){return k},get isUrlMatchCurrentHostname(){return C}};return Object.defineProperty(i,"__isScriptSetup",{enumerable:!1,value:!0}),i}}),U={key:0,class:"text-center"},j={key:0,class:"generic-container py-10 text-center"},L={key:1,class:"AmalFooter md:hidden"},D={class:"generic-container amal-footer-logo gap-x-4 py-4 >md:pt-16 >md:pb-12"},E={class:"footer-top"},z={class:"footer-bottom mt-12"},S={class:">lg:w-5/12 flex items-start"},V={class:"bottom-left-col"},B={class:"rights-logo-wrapper flex gap-x-6"},P=["src","alt"],G=["src","alt"],Z={class:"partner-logo-wrapper mt-8"},q=["src","alt"],J={class:">lg:w-7/12 >lg:flex flex-col items-end justify-end"},K={class:"bottom-right-col"},Q={class:"social-icons-wrapper"},W={class:"text-neutral-grey-extradark text-xs font-bold mb-4 lg:mt-10"},X={class:"social-icons-list >lg:text-right >lg:flex >lg:items-center"},$=["src","alt"],ee={class:"sr-only"},oe={class:"copyright-wrapper"},te={class:""},re={class:"md:mb-10 lg:flex lg:flex-col"},ae={class:"copyright-link-text"},se={class:"copyright-text text-neutral-grey-extradark text-xs font-bold lg:hidden"};function ie(y,T,s,e,p,u){const i=I("AppHyperlink"),n=w("aa"),m=w("html-sanitize");return e.isPropsDataEmpty()?(r(),a(g,{key:0},[e.isEditorMode?(r(),a("p",U,"ð§ Please click here to configure footer")):d("",!0)],64)):(r(),a(g,{key:1},[e.isEditorMode&&(e.props.isHideInDesktop||e.props.isHideInMobile)?(r(),a("div",j,[t("p",null,"Hidden in: "+b([e.props.isHideInDesktop?"Desktop":null,e.props.isHideInMobile?"Mobile":null].filter(Boolean).join(", ")),1)])):d("",!0),e.isMobileViewport&&!e.props.generalTab.isHideInMobile||!e.isMobileViewport&&!e.props.generalTab.isHideInDesktop?(r(),a("footer",L,[t("div",{class:f(["footer-inner-container bg-neutral-amal-off-white",{">md:rounded-t-7xl":e.props.generalTab.isCurvedCorners}])},[t("div",D,[t("div",E,[R(e.AppFooterAccordion,{items:e.props.generalTab.navigationMenu,componentIdAA:e.props.componentIdAA,componentNameAA:"AmalFooter"},null,8,["items","componentIdAA"])]),t("div",z,[t("div",S,[t("div",V,[t("div",B,[e.props.exerciseYourRightsTab.image1.path?l((r(),c(i,{key:0,href:e.props.exerciseYourRightsTab.image1.url,target:e.props.exerciseYourRightsTab.image1.isOpenNewTab?"_blank":"_self",rel:"noopener noreferrer",class:"rights-logo-anchor",showExternalLinkIcon:!1},{default:h(()=>[t("img",{src:e.props.exerciseYourRightsTab.image1.path,class:"rights-logo h-20 w-auto inline-block",loading:"lazy",alt:e.props.exerciseYourRightsTab.image1.altText},null,8,P)]),_:1},8,["href","target"])),[[n,[{clickName:e.props.exerciseYourRightsTab.image1.altText,clickComponentType:"URL",componentName:"AmalFooter",componentID:e.props.componentIdAA},{name:e.props.exerciseYourRightsTab.image1.altText,type:e.isUrlMatchCurrentHostname(e.props.exerciseYourRightsTab.image1.url)?"other":"exit"}]]]):d("",!0),e.props.exerciseYourRightsTab.image2.path?l((r(),c(i,{key:1,href:e.props.exerciseYourRightsTab.image2.url,target:e.props.exerciseYourRightsTab.
1image2.isOpenNewTab?"_blank":"_self",rel:"noopener noreferrer",class:"rights-logo-anchor",showExternalLinkIcon:!1},{default:h(()=>[t("img",{src:e.props.exerciseYourRightsTab.image2.path,class:"rights-logo h-20 w-auto inline-block",loading:"lazy",alt:e.props.exerciseYourRightsTab.image2.altText},null,8,G)]),_:1},8,["href","target"])),[[n,[{clickName:e.props.exerciseYourRightsTab.image2.altText,clickComponentType:"URL",componentName:"AmalFooter",componentID:e.props.componentIdAA},{name:e.props.exerciseYourRightsTab.image2.altText,type:e.isUrlMatchCurrentHostname(e.props.exerciseYourRightsTab.image2.url)?"other":"exit"}]]]):d("",!0)]),t("div",Z,[(r(!0),a(g,null,x(e.props.subsidiaryTab.subsidiaryList,o=>l((r(),c(i,{key:o.imageAltText,href:o.imageUrl,target:o.isOpenNewTab?"_blank":"_self",class:f(["partner-logo inline-block",{hidden:e.isMobileViewport&&o.isHideInMobile||!e.isMobileViewport&&o.isHideInDesktop}]),showExternalLinkIcon:!1},{default:h(()=>[t("img",{src:o.image,class:"h-[40px] w-auto inline-block",loading:"lazy",alt:o.imageAltText},null,8,q)]),_:2},1032,["href","target","class"])),[[n,[{clickName:o.imageAltText,clickComponentType:"URL",componentName:"AmalFooter",componentID:e.props.componentIdAA},{name:o.imageAltText,type:e.isUrlMatchCurrentHostname(o.imageUrl)?"other":"exit"}]]])),128))])])]),t("div",J,[t("div",K,[t("div",Q,[t("p",W,b(e.props.socialMediaTab.label),1),t("ul",X,[(r(!0),a(g,null,x(e.props.socialMediaTab.socialMediaList,o=>(r(),a("li",{key:o.iconImage,class:"social-icons-list-item inline-block w-8 h-8"},[l((r(),c(i,{class:f(["social-icons-anchor",{"align-middle":o.iconType!=="icon-font-awesome-id"}]),href:o.iconUrl,target:o.isOpenNewTab?"_blank":"_self",rel:"noopener noreferrer",showExternalLinkIcon:!1},{default:h(()=>[o.iconType==="icon-font-awesome-id"?(r(),c(e.FontAwesomeLazy,{key:0,class:"social-icon-logo fill-$text-color mx-auto",iconId:o.iconId,role:"presentation"},null,8,["iconId"])):(r(),a("img",{key:1,src:o.iconImage,class:"social-icons-image w-8 h-8 hover:opacity-50",loading:"lazy",alt:o.iconAltText,role:"presentation"},null,8,$)),t("span",ee,b(o.iconAltText),1)]),_:2},1032,["class","href","target"])),[[n,[{clickName:o.iconAltText,clickComponentType:"URL",componentName:"AmalFooter",componentID:e.props.componentIdAA},{name:o.iconAltText,type:e.isUrlMatchCurrentHostname(o.iconUrl)?"other":"exit"}]]])]))),128))])]),t("div",oe,[t("div",te,[t("ul",re,[(r(!0),a(g,null,x(e.props.tncTab.tncList,(o,_)=>(r(),a("li",{key:`${o.title}-${_}`,class:"copyright-item inline-block"},[l((r(),c(i,{class:"copyright-hyperlink",href:o.titleUrl,target:o.isOpenNewTab?"_blank":"_self",rel:"noopener noreferrer",showExternalLinkIcon:!1},{default:h(()=>[t("span",ae,b(o.title),1)]),_:2},1032,["href","target"])),[[n,[{clickName:o.title,clickComponentType:"URL",componentName:"AmalFooter",componentID:e.props.componentIdAA},{name:o.title,type:e.isUrlMatchCurrentHostname(o.titleUrl)?"other":"exit"}]]])]))),128))]),l(t("p",se,null,512),[[m,e.props.copyrightTab.text]])])])])])])])],2)])):d("",!0)],64))}const le=v(O,[["render",ie],["__scopeId","data-v-7d4713a1"],["__file","AmalFooter.vue"]]);export{le as default}; 2//# sourceMappingURL=AmalFooter-jhhYpnNG.js.map
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.