PageSourceSearch

https://en.japantravel.com/build/assets/TopAuthors-BlbuLBA4.js

js japantravel.com collected 2026-10-02 02:52:24 UTC 4,198 bytes, 1 lines download raw bytes

1import{k as r,l as n,v as l,x as a,C as d,p as t,A as m,B as f,q as c,j as g,W as b,F as v,z as x,y as w,s as k,f as p,H as E}from"./vendor-vue-Ct0XopGZ.js";import{D as q}from"./ContentBlocks-DReDilx9.js";import{B as C}from"./SearchContent-Cg06g9__.js";import{u as S}from"./links-vPZ7jWbZ.js";import"./vendor-icons-C07lCRXW.js";import"./vendor-BH4KNWII.js";import"./vendor-swiper-CmTBkzXo.js";import"./app-BpNAJlZG.js";import"./Button-BRs3Jcn_.js";import"./HeroPromotion.vue_vue_type_script_setup_true_lang-ClL-Ljno.js";import"./RegionSidebarSkeleton.vue_vue_type_script_setup_true_lang-gbLOwYjt.js";import"./PostCard-DfbkPxAW.js";import"./RegionCitySkeleton.vue_vue_type_script_setup_true_lang-DGxxh3dj.js";import"./useBookmarks-CUb2PSG4.js";import"./Modal-Dg7_SI6w.js";import"./WhereToEat-eq4EZTq9.js";import"./TopTenItem-DEmgOt1X.js";import"./WhereToEat-CX5wYhNf.js";import"./PostCardSkeleton.vue_vue_type_script_setup_true_lang-CbWfc6El.js";import"./main-C_w8g5gJ.js";const M={class:"relative mt-10 cursor-pointer transition-all hover:-translate-y-1 hover:shadow-xl bg-red"},N={class:"relative flex h-full justify-center"},O={class:"absolute -top-8"},T=["src","alt"],B={class:"flex h-full w-full flex-col gap-2 bg-white px-4 pb-4 pt-8 text-center"},A={class:"mb-0 text-xl font-medium hover:text-primary"},$={class:"text-base font-light text-[#666] italic"},U={__name:"CommunityMemberItem",props:{profileUrl:{type:String,required:!0,default:""},avatar:{type:String,required:!0},name:{type:String,required:!0},quote:{type:String,required:!0},quoteUrl:{type:String,required:!0}},setup(e){return(i,u)=>(r(),n("div",M,[l(a(d),{class:"absolute inset-0 left-0 top-0 inline-block size-full opacity-0",href:e.profileUrl||"#","aria-label":`View ${e.name}'s profile`},null,8,["href","aria-label"]),t("div",N,[t("div",O,[t("img",{src:e.avatar,class:"w-[60px] rounded-full",alt:e.name},null,8,T)]),t("div",B,[t("h3",A,[l(a(d),{href:e.profileUrl},{default:m(()=>[f(c(e.name),1)]),_:1},8,["href"])]),t("h4",$,[l(a(d),{href:e.quoteUrl,class:"hover:text-primary"},{default:m(()=>[f(c(e.quote),1)]),_:1},8,["href"])])])])]))}},H={class:"relative mt-10"},I=g({name:"CommunityMemberSkeleton",__name:"CommunityMemberSkeleton",setup(e){return(i,u)=>(r(),n("div",H,[...u[0]||(u[0]=[b('<div class="relative flex h-full justify-center"><div class="absolute -top-8"><div class="h-[60px] w-[60px] animate-pulse rounded-full bg-gray-200"></div></div><div class="flex h-full w-full flex-col gap-2 bg-white px-4 pb-4 pt-8 text-center"><div class="mb-0 flex justify-center"><div class="h-6 w-24 animate-pulse rounded bg-gray-200"></div></div><div class="flex justify-center"><div class="h-5 w-32 animate-pulse rounded bg-gray-200"></div></div></div></div>',1)])]))}}),j={class:"block-container px-4 md:px-0"},L={class:"mb-5 flex justify-center text-xl"},P={class:"flex flex-col gap-4"},V={class:"grid grid-cols-2 lg:grid-cols-4 gap-4"},z={key:0,class:"bg-white py-10 px-6 text-center rounded-lg shadow-sm"},D={class:"text-[32px] leading-10 font-medium mb-6"},de=g({__name:"TopAuthors",props:{block:{},isLazyLoading:{type:Boolean}},setup(e){const{t:i}=S(),u=p(()=>{var o;return!!((o=E().props.auth)!=null&&o.user)}),h=e,_=p(()=>{var o;return((o=h.block.content)==null?void 0:o.items)||[]}),y=p(()=>h.isLazyLoading||_.value.length===0);return(o,G)=>(r(),n("div",j,[l(q,{title:a(i)("HOMEPAGE_SECTION_COMMUNITY"),size:"large",class:"mb-4"},null,8,["title"]),t("div",L,c(a(i)("HOMEPAGE_SECTION_COMMUNITY_DESCRIPTION")),1),t("div",P,[t("div",V,[y.value?(r(),n(v,{key:0},x(4,s=>l(I,{key:s,class:"bg-white p-4 rounded-lg shadow-sm"})),64)):(r(!0),n(v,{key:1},x(_.value,s=>(r(),w(U,{key:s.id,"profile-url":s.url,avatar:s.photo,name:s.name,quote:s.latest_article_title,"quote-url":s.latest_article_url,class:"bg-white p-4 rounded-lg shadow-sm hover:shadow-md transition-shadow"},null,8,["profile-url","avatar","name","quote","quote-url"]))),128))]),u.value?k("",!0):(r(),n("div",z,[t("h2",D,c(a(i)("HOMEPAGE_AUTHOR_HEADLINE")),1),l(a(d),{href:"/about/community"},{default:m(()=>[l(C,{type:"primary",class:"w-60 sm:w-auto"},{default:m(()=>[f(c(a(i)("HOMEPAGE_BTN_BECOME_JT_AUTHOR")),1)]),_:1})]),_:1})]))])]))}});
1export{de 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.