PageSourceSearch

https://uta.inui-dondon-sukininaru.net/_nuxt/_IzoZqNA.js

js inui-dondon-sukininaru.net collected 2026-10-06 20:13:29 UTC 2,301 bytes, 1 lines download raw bytes

1import{_ as w}from"./DDtGfScb.js";import{d as V,f as S,g as k,y as C,j,m as i,i as A,t as m,a as B,w as h,c as r,A as f}from"./DR38E-4v.js";import{u as D,c as I}from"./BJuQ6Urx.js";import{n as d}from"./vCNnmPQp.js";const L={class:"relative aspect-video overflow-hidden"},N=["src","alt"],O={class:"absolute inset-0 flex items-center justify-center bg-black/0 transition-colors group-hover:bg-black/40"},P={class:"absolute bottom-1 right-1 bg-black/80 px-1.5 py-0.5 text-xs text-gray-200"},$={class:"p-2 sm:p-3"},q=["title"],z={class:"mt-0.5 text-xs text-gray-500 sm:mt-1"},F=V({__name:"VideoCard",props:{video:{}},setup(e){function t(c){return new Date(c).toLocaleDateString("ja-JP",{year:"numeric",month:"short",day:"numeric"})}return(c,l)=>{const n=S("FontAwesomeIcon"),a=w;return k(),C(a,{to:`/videos/${e.video.id}`,class:"group block border border-border-default bg-surface-raised transition-colors hover:border-action-primary/40"},{default:j(()=>[i("div",L,[i("img",{src:e.video.thumbnail_path,alt:e.video.title,class:"h-full w-full object-cover",loading:"lazy"},null,8,N),i("div",O,[A(n,{icon:["fas","chevron-right"],class:"h-8 w-8 text-white opacity-0 transition-opacity group-hover:opacity-100"})]),i("span",P,m(e.video.songs_count)+"曲 ",1)]),i("div",$,[i("p",{class:"line-clamp-2 text-xs font-medium sm:text-sm",title:e.video.title},m(e.video.title),9,q),i("p",z,m(t(e.video.published_at)),1)])]),_:1},8,["to"])}}}),G=Object.assign(F,{__name:"VideoCard"});function H(e){const t=D(),c=B(),l=f(1),n=e?.perPage??30,a=f(""),_=r(()=>t.videosStatus==="idle"?"pending":t.videosStatus),p=r(()=>t.videosError),v=r(()=>{const s=e?.streamOnly?t.allVideos.filter(o=>o.is_stream):t.allVideos;if(!a.value)return s;const u=d(a.value),x=new Set(t.allSongs.filter(o=>d(o.title).includes(u)||o.artist!=null&&d(o.artist).includes(u)).map(o=>o.video.id));return s.filter(o=>d(o.title).includes(u)||x.has(o.id))}),g=r(()=>v.value.length),b=r(()=>{const s=(l.value-1)*n;return v.value.slice(s,s+n)});h(a,()=>{l.value=1}),h(()=>c.query.q,s=>{a.value=typeof s=="string"?s:""},{immediate:!0}),t.videosStatus==="idle"&&I("library-videos",()=>t.fetchVideos(),"$M-6kV9Jc9A");function y(){return t.fetchVideos(!0)}return{videos:b,totalItems:g,page:l,perPage:n,search:a,status:_,error:p,refresh:y}}export{G as _,H as u};

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.