1import{_ as x}from"./OtherArticleItem-mR1MBGA_.js";import{_ as v}from"./RegionSidebarSkeleton.vue_vue_type_script_setup_true_lang-gbLOwYjt.js";import{j as L,k as s,l as o,p as n,q as i,F as c,z as d,v as u,I as B,A as f,B as _,E as z,x as C,C as A,f as l}from"./vendor-vue-Ct0XopGZ.js";import"./vendor-BH4KNWII.js";import"./vendor-icons-C07lCRXW.js";import"./vendor-swiper-CmTBkzXo.js";const I={class:"text-xl font-semibold mt-5 mb-2.5"},N={key:1},$=L({inheritAttrs:!1,__name:"Articles",props:{block:{},region:{},prefecture:{},city:{},isLazyLoading:{type:Boolean},class:{}},setup(h){const a=h,k=l(()=>{var e;return((e=a.block.config)==null?void 0:e.title)||""}),b=l(()=>{var e;return((e=a.block.config)==null?void 0:e.ctaLink)||""}),g=l(()=>{var e;return((e=a.block.config)==null?void 0:e.ctaLabel)||""}),m=l(()=>{var r;return(((r=a.block.content)==null?void 0:r.items)||[]).slice(0,5)}),y=l(()=>a.isLazyLoading||m.value.length===0);return(e,r)=>(s(),o(c,null,[n("div",{class:z(["col-span-4",a.class])},[n("h3",I,i(k.value),1),n("div",null,[y.value?(s(),o(c,{key:0},d(5,t=>u(v,{key:t})),64)):(s(),o("ul",N,[(s(!0),o(c,null,d(m.value,t=>(s(),o("li",{key:t.id,class:"border-b border-t border-[#e9e9e9] py-3"},[u(x,{to:t.url,"image-url":t.thumbnail,title:t.title,"item-height":"h-[60px]","image-aspect-ratio":"aspect-[3/2]",size:"small"},B({_:2},[t.author&&!t.author.deleted?{name:"description",fn:f(()=>{var p;return[_(" By "+i((p=t.author)==null?void 0:p.name),1)]}),key:"0"}:void 0]),1032,["to","image-url","title"])]))),128))]))])],2),u(C(A),{href:b.value,class:"mt-4 mb-[40px] flex items-center justify-center cursor-pointer text-center text-lg font-medium text-primary hover:underline"},{default:f(()=>[_(i(g.value),1)]),_:1},8,["href"])],64))}});export{$ 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.