PageSourceSearch

https://www.iberojet.com/_nuxt/DE1_0xpx.js

js iberojet.com collected 2026-09-25 04:59:03 UTC 2,279 bytes, 1 lines download raw bytes

1import{e as c,h as u,f as e,t as f,i as b,Z as w,c as h,g as B,u as q,j as m,F as _,m as k,l as y,b as x}from"./0teJNkAm.js";import{u as L}from"./C-1Vk8Yq.js";import"./DWfUEHI4.js";const T={class:"flex flex-wrap"},$=["href"],S={__name:"Links",props:{link:{type:Object,required:!0},fullWidth:{type:Boolean,default:!1}},setup(n){return(o,p)=>(c(),u("li",{class:b(["inline-block align-top pt-1",n.fullWidth?"w-full":"w-full md:w-1/3"])},[e("div",T,[e("a",{class:"title-from",href:n.link.slug},[e("b",null,f(o.$t(n.link.title)),1)],8,$)])],2))}},F=n=>{const o=w(),p=(l,r,d)=>{const t=new URLSearchParams;return Object.entries(l).forEach(([i,s])=>{Array.isArray(s)?s.forEach(a=>t.append(`${i}[]`,String(a))):typeof s=="boolean"?t.append(i,s?"1":"0"):s!==void 0&&t.append(i,String(s))}),t.append("limit",String(r)),t.append("offset",String(d)),t.toString()};return n.map(l=>{const r=l.limit??15,d=l.offset??0,t=p(l.query,r,d),{data:i}=L(()=>`${o}/api/landing-links?${t}`,{key:`landing-links:${t}`,transform:s=>s.data,default:()=>[]},"$Yf0rrkRPpI");return{subTitle:l.subTitle,links:h(()=>i.value??[])}})},P={key:0},A={class:"px-3 py-4"},j={class:"relative pt-[20px] mt-8"},C={class:"md:mb-8"},E={class:"content-title"},z={key:0,class:"content-title mb-2 tracking-normal overflow-auto xl:tracking-normal text-verdeAqua",style:{"font-size":"22px"}},I={class:"leading-loose"},U=B({__name:"LinksList",props:{title:{},query:{},subBlocks:{}},setup(n){const o=n,{t:p}=q(),l=h(()=>o.subBlocks?o.subBlocks.map(t=>({subTitle:p(t.titleKey,t.titleParams??{}),query:t.query})):[{subTitle:null,query:o.query}]),r=F(l.value),d=h(()=>r.some(t=>t.links.value.length));return(t,i)=>{const s=S;return m(d)?(c(),u("div",P,[e("div",A,[e("div",j,[i[0]||(i[0]=e("div",{class:"absolute top-0 left-0 w-16 h-2 bg-orange-400"},null,-1)),e("div",C,[e("h2",E,[e("b",null,f(n.title),1)])]),e("div",{class:b(m(r).some(a=>a.subTitle)?"grid grid-cols-1 md:grid-cols-2 gap-6":"")},[(c(!0),u(_,null,k(m(r),(a,v)=>(c(),u("div",{key:v,class:"mb-4 bg-white p-8"},[a.subTitle?(c(),u("h3",z,[e("b",null,f(a.subTitle),1)])):y("",!0),e("ul",I,[(c(!0),u(_,null,k(a.links.value,g=>(c(),x(s,{key:g.id,link:g,"full-width":!!a.subTitle},null,8,["link","full-width"]))),128))])]))),128))],2)])])])):y("",!0)}}});export{U 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.