PageSourceSearch

https://en.japantravel.com/build/assets/Events-Dyffybkp.js

js japantravel.com collected 2026-09-24 17:21:13 UTC 1,999 bytes, 1 lines download raw bytes

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