import{C as e,I as t,It as n,O as r,Q as i,S as a,T as o,Wt as s,bt as c,cn as l,et as u,g as d,j as f,rn as p,t as m,w as h}from"./_plugin-vue_export-helper-BVhEvvHC.js";import{r as g}from"./axios-DSyjHw-i.js";t(),c(),s();var _={class:`loading-text`},v=m(f({__name:`LoadingText`,props:{text:{}},setup(e){let{t}=g(),s=e.text||t(`gameStatus.1`);return(e,t)=>(i(),o(`span`,_,[r(l(n(s))+` `,1),t[0]||=a(`span`,{class:`loading-dots`},[a(`span`,{class:`dot dot-1`},`.`),a(`span`,{class:`dot dot-2`},`.`),a(`span`,{class:`dot dot-3`},`.`)],-1)]))}}),[[`__scopeId`,`data-v-18b60dac`]]);t(),s();var y={class:`relative`},b={class:`loading-spinner`},x={key:0,class:`absolute inset-0 flex items-center justify-center text-xs font-medium text-center z-10 px-2 leading-tight whitespace-pre-wrap wrap-break-word max-w-full`},S={key:1},C={key:1},w=m(f({__name:`SpinnerLoader`,props:{text:{},textPosition:{default:`bottom`},animatedText:{type:Boolean,default:!1}},setup(t){return(n,r)=>(i(),o(`div`,{class:p([`flex items-center justify-center`,{"flex-col":t.textPosition===`top`||t.textPosition===`bottom`,"flex-row":t.textPosition===`left`||t.textPosition===`right`,"flex-col-reverse":t.textPosition===`top`,"flex-row-reverse":t.textPosition===`left`}])},[a(`div`,y,[a(`div`,b,[(i(),o(d,null,u(5,e=>a(`div`,{class:`circle`,key:e},[...r[0]||=[a(`div`,{class:`inner`},null,-1)]])),64))]),(t.text||t.animatedText)&&t.textPosition===`inside`?(i(),o(`div`,x,[t.animatedText?(i(),e(v,{key:0,text:t.text},null,8,[`text`])):(i(),o(`span`,S,l(t.text),1))])):h(``,!0)]),(t.text||t.animatedText)&&t.textPosition!==`inside`?(i(),o(`div`,{key:0,class:p({"mt-4":t.textPosition===`bottom`,"mb-4":t.textPosition===`top`,"ml-4":t.textPosition===`right`,"mr-4":t.textPosition===`left`})},[t.animatedText?(i(),e(v,{key:0,text:t.text},null,8,[`text`])):(i(),o(`span`,C,l(t.text),1))],2)):h(``,!0)],2))}}),[[`__scopeId`,`data-v-09e70132`]]);export{w as t};