import{Dt as e,I as t,It as n,Q as r,S as i,T as a,Wt as o,Y as s,bt as c,cn as l,j as u,k as d,mt as f,w as p}from"./_plugin-vue_export-helper-BVhEvvHC.js";import{ar as m}from"./src-CD6Jsigc.js";import{t as h}from"./arrow-left-BSNrP4we.js";import{M as g,S as _,b as v,t as y,x as b}from"./src-C_qKxWab.js";import{r as x}from"./axios-DSyjHw-i.js";import{h as S,m as C}from"./useApi-CROJJdhE-bFLQvr8j.js";t(),c(),o();var w={class:`flex h-full w-full flex-col overflow-hidden bg-background`},T={class:`flex shrink-0 items-center gap-3 border-b border-border bg-card px-4 py-3`},E={class:`min-w-0`},D={class:`truncate text-sm font-semibold`},O={key:0,class:`truncate text-xs text-muted-foreground`},k=u({__name:`SceneSettingsView`,setup(t){let{t:o}=x({useScope:`global`}),c=S(),u=C(),k=g(),A=e(b()),j=e(_()),M=e(v());function N(){c.push({name:`scene-editor`,query:u.query})}return s(async()=>{k.scenes.length||await k.fetchScenes()}),(e,t)=>(r(),a(`div`,w,[i(`header`,T,[d(n(m),{variant:`ghost`,size:`icon`,title:n(o)(`sceneSettings.backToEditor`),"aria-label":n(o)(`sceneSettings.backToEditor`),onClick:N},{default:f(()=>[d(n(h),{class:`size-4`,"aria-hidden":`true`})]),_:1},8,[`title`,`aria-label`]),i(`div`,E,[i(`h1`,D,l(n(o)(`sceneSettings.title`)),1),n(k).activeSceneName?(r(),a(`p`,O,l(n(k).activeSceneName),1)):p(``,!0)])]),d(n(y),{"app-id":`LeagueBroadcast`,presentation:A.value,"onUpdate:presentation":t[0]||=e=>A.value=e,"utility-tab":j.value,"onUpdate:utilityTab":t[1]||=e=>j.value=e,behaviors:M.value,"onUpdate:behaviors":t[2]||=e=>M.value=e,class:`min-h-0 flex-1`,onDeleted:N},null,8,[`presentation`,`utility-tab`,`behaviors`])]))}});export{k as default};