import{n as e}from"./rolldown-runtime-DAXXjFlN.js";import{Dn as t,En as n,Fn as r,Mn as i,Pn as a,Wr as o,ar as s,dn as c,jn as l,xr as u,zn as d}from"./vendor-Dnfj1twE.js";import{X as f,Y as p}from"./vendor-quasar-BP3JemFi.js";import{Ht as m,Lr as h,Vt as g,oo as _,or as v,so as y,sr as b,zr as x}from"./ws-Dl8XkIy4.js";import{f as S,p as C}from"./index-DEgYmG5l.js";import{m as w,n as T,p as E,t as D}from"./AMPlaybackActions-Vw0z-V-k.js";import{i as O,n as k,r as A,t as j}from"./QueueButton-Crq93vk_.js";import{n as M,t as N}from"./AMPLCD-CtWhRXD8.js";var P=e((()=>{})),F,I,L,R,z,B,V,H=e((()=>{c(),p(),m(),C(),h(),v(),M(),w(),O(),k(),T(),P(),y(),F={class:`lcdplayer-info window-drag`},I={key:0,class:`amp-lcd-container`},L={class:`lcdplayer-controls window-drag`,id:`lcdplayer-controls-listen`},R={class:`lcdplayer-side window-drag`},z={class:`volume-slider q-mr-sm`},B={__name:`LCDPlayerTop`,props:{showLcd:{type:Boolean,default:!0}},setup(e){let c=f(),p=x(),m=l(()=>x().getWindowControlsSide()),h=b(),_=l(()=>!!(g(`visual.overlayDrawer`)||c.screen.width<850)),v=l(()=>!!(p.rightDrawerOpen&&p.isIfLayout&&m.value==`right`||p.leftDrawerOpen&&p.isIfLayout&&m.value==`left`));return(c,l)=>o(h).isAuthorized?(s(),r(`div`,{key:0,class:u([`lcdplayer-top lcdPlayer`,{"left-controls":m.value==`left`,"no-controls":v.value&&!_.value||o(p).hasTitleBar}]),onDblclick:l[0]||=n(e=>o(S).maximizeWindow(),[`self`])},[i(`div`,F,[e.showLcd?(s(),r(`div`,I,[d(N)])):a(``,!0)]),i(`div`,L,[d(D)]),i(`div`,R,[i(`div`,z,[d(E)]),m.value==`left`||o(p).hasTitleBar?(s(),r(t,{key:0},[d(A),d(j)],64)):a(``,!0)])],34)):a(``,!0)}},V=_(B,[[`__scopeId`,`data-v-31c9c28c`]])}));H();export{V as default,H as t};