1import{Bt as e,K as t,Pt as n,Q as r,U as i,mn as a,qn as o,t as s,tt as c,un as l,wr as u}from"./framework.CSzCw9LZ.js";import"./chunks/vue-i18n.aRIDwy8G.js";var d=[`data-project-theme`],f={class:`studio-video-frame`},p=[`src`,`title`],m=[`aria-label`],h=[`src`],g={key:1,class:`studio-video-fallback`},_={class:`studio-video-caption`},v=[`href`],y=s(c({__name:`StudioVideo`,props:{episode:{}},setup(s){let c=s,y=o(!1),b=o(!1),x=l(`coverImage`);return n(()=>{let e=x.value;e?.complete&&e.naturalWidth===0&&(b.value=!0)}),a(()=>c.episode.id,()=>{y.value=!1,b.value=!1}),(n,a)=>(e(),t(`div`,{class:`studio-video not-prose`,"data-project-theme":s.episode.appearance},[i(`div`,f,[y.value?(e(),t(`iframe`,{key:0,src:`https://player.bilibili.com/player.html?bvid=${s.episode.id}&page=1&autoplay=0`,title:s.episode.title,allow:`fullscreen`,allowfullscreen:``},null,8,p)):(e(),t(`button`,{key:1,class:`studio-video-start`,type:`button`,"aria-label":`å è½½è§é¢ï¼${s.episode.title}`,onClick:a[1]||=e=>y.value=!0},[b.value?(e(),t(`span`,g,[r(`å°äºæ¢¦å·¥å / `+u(s.episode.number),1),a[2]||=i(`br`,null,null,-1),r(u(s.episode.title),1)])):(e(),t(`img`,{key:0,ref_key:`coverImage`,ref:x,src:s.episode.cover,alt:``,width:`960`,height:`540`,loading:`lazy`,referrerpolicy:`no-referrer`,onError:a[0]||=e=>b.value=!0},null,40,h)),a[3]||=i(`span`,{class:`studio-video-play`},[i(`span`,{"aria-hidden":`true`},`â¶`),r(` å è½½è§é¢`)],-1)],8,m))]),i(`div`,_,[i(`span`,null,u(s.episode.duration)+` · `+u(y.value?`è¥ææ¾åéï¼å¯åå¾ B ç«è§ç`:`ç¹å»åå è½½ B ç«ææ¾å¨`),1),i(`a`,{href:`https://www.bilibili.com/video/${s.episode.id}`,target:`_blank`,rel:`noopener noreferrer`},`å¨ B ç«è§ç â`,8,v)])],8,d))}}),[[`__scopeId`,`data-v-590eaea1`]]);export{y as t};
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.