1import{D as e,Zn as t,_ as n,b as r,bt as i,k as a,mt as o,o as s,qt as c,v as l,xt as u,y as d}from"./DPmoNEl9.js";import{t as f}from"./CwaW6zrW.js";import{p}from"./Ck2urAlt.js";import{t as m}from"./CQTtwVOh.js";import{t as h}from"./BDNMzG2s.js";import{t as g}from"./JWLXofi2.js";import{t as _}from"./iI_8wV08.js";var v={};function y(e,t){return o(),l(f,{"enter-from-class":`opacity-0`,"enter-active-class":`motion-snug`,"leave-to-class":`opacity-0`,"leave-active-class":`motion-snug`},{default:c(()=>[u(e.$slots,`default`)]),_:3})}var b=Object.assign(h(v,[[`render`,y]]),{__name:`TransitionFade`}),x={class:`layout-grid items-start`},S={key:`playing`,class:`mediaControlBar container select-none`},C={key:`paused`,slot:`centered-chrome`,class:`select-none`},w={notooltip:``,class:`m-auto`},T=Object.assign(h(a({__name:`BlockSingleMedia`,props:{data:{}},setup(a){return(u,f)=>{let h=m,v=b,y=p,T=g,E=_;return o(),l(E,{padded:``,class:`blockSingleMedia container`},{default:c(()=>[n(`div`,x,[a.data.size===`snug`&&a.data.title?(o(),r(`div`,{key:0,class:t([`motion-snug col-span-6 transition-top lg:col-span-3 lg:top-$sticky-height lg:sticky`,{"lg:text-right":a.data.reversed}])},[e(h,{as:`h2`,class:`typo-heading-3`,text:a.data.title},null,8,[`text`])],2)):d(``,!0),n(`div`,{class:t([`col-span-6`,{"lg:col-span-9":a.data.size===`snug`,"lg:col-span-12":a.data.size===`full`,"order-first":a.data.reversed}])},[(o(!0),r(s,null,i(a.data.media,i=>(o(),l(T,{key:i?.id,media:i,class:`rounded w-full of-hidden`,"img-props":{sizes:`600px lg:100vw`},"video-props":{controls:a.data.controls,autoplay:!a.data.controls,muted:!a.data.controls,useHls:!0,src:a.data.media?.[0]?.stream?.hls||a.data.media?.[0]?.url}},{"media-chrome":c(({isPlaying:i})=>[e(y,null,{default:c(()=>[e(v,{mode:`out-in`},{default:c(()=>[i?(o(),r(`media-control-bar`,S,[...f[0]||=[n(`media-play-button`,{notooltip:``,class:`min-w-10`},[n(`span`,{slot:`play`,class:`typo-heading-4`},`Play`),n(`span`,{slot:`pause`,class:`typo-heading-4`},`Pause`)],-1),n(`media-time-display`,{class:`typo-heading-4`},null,-1),n(`media-time-range`,null,null,-1),n(`media-mute-button`,{class:`min-w-20`},[n(`span`,{slot:`high`,class:`typo-heading-4`},`Volume On`),n(`span`,{slot:`medium`,class:`typo-heading-4`},`Volume On`),n(`span`,{slot:`low`,class:`typo-heading-4`},`Volume On`),n(`span`,{slot:`off`,class:`typo-heading-4`},`Volume Off`)],-1),n(`media-fullscreen-button`,null,[n(`svg`,{slot:`enter`,class:`w-7`,viewBox:`0 0 30 17`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`},[n(`path`,{d:`M1 15.792H4.10156V16.792H0V12.5635H1V15.792ZM29.8516 16.792H25.75V15.792H28.8516V12.5635H29.8516V16.792ZM4.10156 1H1V4.22852H0V0H4.10156V1ZM29.8516 4.22852H28.8516V1H25.75V0H29.8516V4.22852Z`,fill:`currentColor`})]),n(`svg`,{slot:`exit`,class:`w-7`,viewBox:`0 0 30 17`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`},[n(`path`,{d:`M1 15.792H4.10156V16.792H0V12.5635H1V15.792ZM29.8516 16.792H25.75V15.792H28.8516V12.5635H29.8516V16.792ZM4.10156 1H1V4.22852H0V0H4.10156V1ZM29.8516 4.22852H28.8516V1H25.75V0H29.8516V4.22852Z`,fill:`currentColor`})])],-1)]])):(o(),r(`media-control-bar`,C,[n(`media-play-button`,w,[n(`span`,{slot:`play`,class:t({"typo-heading-1":a.data.size===`full`,"typo-heading-2":a.data.size===`snug`})},` Play `,2),n(`span`,{slot:`pause`,class:t({"typo-heading-1":a.data.size===`full`,"typo-heading-2":a.data.size===`snug`})},` Play `,2)])]))]),_:2},1024)]),_:2},1024)]),_:1},8,[`media`,`video-props`]))),128))],2)])]),_:1})}}}),[[`__scopeId`,`data-v-e1ed2972`]]),{__name:`BlockSingleMedia`});export{T 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.