import{t as e}from"./rolldown-runtime-DK3Fl9T5.js";import{N as t,h as n,p as r,s as i,x as a}from"./vendor-vue-D9nMs6_1.js";import{t as o}from"./PlayerAnalysisV2-G8SA5n_Y.js";var s=a({__name:`PlayerAnalysis`,props:{gameId:{},playerIndex:{}},setup(e){let a=e,s=i(),c=r(()=>a.gameId??u(s.params.gameId)??u(s.query.gameId)),l=r(()=>a.playerIndex??u(s.params.playerIndex)??u(s.query.playerIndex));function u(e){let t=Array.isArray(e)?e[0]:e,n=Number.parseInt(String(t??``));return Number.isNaN(n)?void 0:n}return(e,r)=>(t(),n(o,{mode:`loadout`,"game-id":c.value,"player-index":l.value},null,8,[`game-id`,`player-index`]))}}),c=e({default:()=>l}),l=s;export{c as n,l as t};