1import{_ as T}from"./6eayp8Te.js";import{l as E,m as h,d as F,H as e,U as t,P as s,Z as _,u as c,a0 as G,X as L,W as i,V as m,_ as d,ab as x,T as O,ac as q}from"./BIaCPJ4S.js";import{u as H,b1 as P}from"./BdEtjDPP.js";const U={class:"footer-items-heading"},W=["href"],X=["onClick"],Z=["href"],J={key:0,class:"overflow-hidden"},K={class:"pb-4 pl-0"},Q=["href"],j=E({__name:"FooterMenu",props:{data:{},footerData:{}},setup(D){const{$getColumnSpacing:V,$viewport:k}=H(),v=h(()=>k.isLessThan("tablet")),A=h(()=>k.isGreaterOrEquals("tablet")),B=D,M=h(()=>{const o=B.data.menu_columns_per_row;return P(o,1)}),u=F(new Set),N=o=>{u.value.has(o)?u.value.delete(o):u.value.add(o)},y=o=>u.value.has(o);return(o,S)=>{var g,b,$,w,C;const z=T;return t(),e(s,null,[c(A)||c(v)&&!o.data.is_accordion_mobile?(t(),e("div",{key:0,class:L(["grid grid-cols-2",c(M)]),style:G(c(V)(o.data))},[(t(!0),e(s,null,i((b=(g=o.footerData)==null?void 0:g.footer)==null?void 0:b.footerMenu.menu,(f,a)=>(t(),e("div",{key:a},[(t(!0),e(s,null,i(f.child,(n,r)=>(t(),e("div",{class:"flex flex-col w-full",key:r},[m("span",U,d(n.name),1),(t(!0),e(s,null,i(n.child,(l,p)=>(t(),e("a",{key:p,href:l.link||"/",class:"content links-info-spacing"},d(l.name),9,W))),128))]))),128))]))),128))],6)):_("",!0),o.data.is_accordion_mobile&&c(v)?(t(!0),e(s,{key:1},i((C=(w=($=o.footerData)==null?void 0:$.footer)==null?void 0:w.footerMenu)==null?void 0:C.menu,(f,a)=>(t(),e("div",{key:a},[(t(!0),e(s,null,i(f.child,(n,r)=>(t(),e("div",{key:r,class:"accordion-item"},[m("button",{onClick:l=>N(`${a}-${r}`),class:"w-full flex justify-between items-center py-3 text-left"},[m("a",{href:n.link||"/",class:"footer-items-heading",style:{"margin-bottom":"0px !important"}},d(n.name),9,Z),x(z,{name:y(`${a}-${r}`)?"heroicons:chevron-up":"heroicons:chevron-down",size:"20",class:"transition-transform duration-200 content"},null,8,["name"])],8,X),x(O,{"enter-active-class":"transition-all duration-300 ease-out","enter-from-class":"max-h-0 opacity-0","enter-to-class":"max-h-96 opacity-100","leave-active-class":"transition-all duration-200 ease-in","leave-from-class":"max-h-96 opacity-100","leave-to-class":"max-h-0 opacity-0"},{default:q(()=>[y(`${a}-${r}`)?(t(),e("div",J,[m("div",K,[(t(!0),e(s,null,i(n.child,(l,p)=>(t(),e("a",{key:p,href:l.link||"/",class:"content links-info-spacing block"},d(l.name),9,Q))),128))])])):_("",!0)]),_:2},1024)]))),128))]))),128)):_("",!0)],64)}}});export{j as _};
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.