import{Dt as e,I as t,Q as n,T as r,Y as i,bt as a,j as o,k as s}from"./_plugin-vue_export-helper-BVhEvvHC.js";import{t as c}from"./axios-DSyjHw-i.js";import{t as l}from"./EditTeam-Bqx7jfEv.js";t(),a();var u={class:`h-full w-full`},d=o({__name:`DataTeamsAdd`,setup(t){let a=e(0),o=e([]);async function d(){try{return(await c.get(`season/current/id`)).data}catch(e){return console.error(e),0}}async function f(){try{return(await c.get(`season`)).data??[]}catch(e){return console.error(`Could not load seasons`,e),[]}}return i(async()=>{let[e,t]=await Promise.all([d(),f()]);a.value=e,o.value=t}),(e,t)=>(n(),r(`div`,u,[s(l,{"current-season":a.value,seasons:o.value},null,8,[`current-season`,`seasons`])]))}});export{d as default};