1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./Bx6bSWft.js","./yAR6_OPC.js","./BM1G8gFG.js","./D9QnJNyt.js","./w9DNcLPs.js","./CFM1ff4p.js","./entry.4YOSyfQI.css","./BkEKxXtN.js","./BGbbhpDq.js","./zkQCGzLF.js","./MenuItem.BDKbgQey.css"])))=>i.map(i=>d[i]); 2import{y,A as v,u as w,K as M,f as I}from"#entry";import{i as x,r as F,c as d,al as S,w as k,b as h,v as A,E as f,d as p,F as C,C as b,q as B,ai as E}from"./BM1G8gFG.js";import"./w9DNcLPs.js";import"./CFM1ff4p.js";import"./D9QnJNyt.js";const q=y("widget-footer-main-menu",{state:()=>({items:[]}),getters:{getItems(a){return a.items}},actions:{getMenu(a,o,m=!1,c=!1){if(m&&(this.items=[]),c)return new Promise(async(r,s)=>{try{if(this.items.length){r(this.items);return}const t=await v("/api/menu",{query:{menu_ids:a},meta:{app:"site",scope:"widget",entity:"Footer: Menu"}});t?.error,t&&t instanceof Array&&(this.items=o.map(u=>{let n=t.find(l=>u.menu_list===l.id);return n?{title:u.title,menu:n.menu_items}:[]})),r(this.items)}catch(e){s(e)}});{const r=w();this.items=o.map(s=>{let e=r.getMenuById(s.menu_list);return e?{title:s.title,menu:e.menu_items}:[]})}}}}),P={key:0,class:"footer-main-menu"},j={__name:"index",props:{config:{type:Object,required:!0}},async setup(a){let o,m;const c=q(),r=a,s=x("builder-mode",!1),e=E(()=>I(()=>import("./Bx6bSWft.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10]),import.meta.url)),t=F(!1),u=d(()=>r.config.cards.filter(i=>!i.off)),n=d(()=>u.value.map(i=>i.menu_list)),l=d(()=>c.getItems),_=async(i=!1)=>{t.value=!0,await c.getMenu(n.value,u.value,i,s),t.value=!1};return n.value?.length&&([o,m]=S(()=>_()),await o,m()),k(n,()=>{_(!0)},{deep:!0}),(i,L)=>f(l)?.length?(p(),h("div",P,[(p(!0),h(C,null,b(f(l),g=>(p(),B(f(e),{key:g.uuid,item:g},null,8,["item"]))),128))])):A("",!0)}},R=M(j,[["__scopeId","data-v-25180187"]]);export{R as default};
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.