import{d as m,i as w,c as d,o as l,u as e,bX as $,bY as M,f as S,q as I,g as k,w as c,k as r,av as C,j as D,H as B,a as j,au as z,l as b,b as h,t as i,F as L,p as _,_ as V}from"./Bh6s1aCv.js";import{s as X,f as A,_ as N,g as P,h as E,e as T}from"./1_AEwi2J.js";import{y as U,x as q,a as F}from"./DUKSCSPA.js";import{c as g}from"./BrfSYZKs.js";(function(){try{var n=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new Error().stack;t&&(n._sentryDebugIds=n._sentryDebugIds||{},n._sentryDebugIds[t]="8092f66c-f5d3-46bb-ab5d-5e8bdc2766c4",n._sentryDebugIdIdentifier="sentry-dbid-8092f66c-f5d3-46bb-ab5d-5e8bdc2766c4")}catch{}})();/** * @license lucide-vue-next v0.468.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const H=g("MoonIcon",[["path",{d:"M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z",key:"a7tn18"}]]);/** * @license lucide-vue-next v0.468.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const W=g("SunIcon",[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]]);/** * @license lucide-vue-next v0.468.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const R=g("UploadIcon",[["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["polyline",{points:"17 8 12 3 7 8",key:"t8dd8p"}],["line",{x1:"12",x2:"12",y1:"3",y2:"15",key:"widbto"}]]),Y={href:"/",class:"flex-none items-center sm:items-start md:text-base transition-colors w-[180px]"},Z={key:0,src:$,alt:"Xeovision logo",class:"w-full mt-[2px]"},G={key:1,src:M,alt:"Xeovision logo",class:"w-full mt-[2px]"},re=m({__name:"StartingLogo",setup(n){const t=w();return(a,o)=>(l(),d("a",Y,[e(t).value==="dark"?(l(),d("img",Z)):(l(),d("img",G))]))}}),J=m({__name:"LinearLoader",props:{modelValue:{default:0},max:{},getValueLabel:{},asChild:{type:Boolean},as:{},class:{}},setup(n){const t=n,a=S(()=>{const{class:u,...p}=t;return p}),o=I(-100),s=()=>{o.value=o.value===-100?100:-100};return X(()=>{s()},1e3),(u,p)=>(l(),k(e(z),B(a.value,{class:e(j)("relative h-4 w-full overflow-hidden rounded-full bg-muted-foreground",t.class)}),{default:c(()=>[r(e(C),{class:"h-full w-full flex-1 bg-foreground",style:D(`transform: translateX(${e(o)}%); scaleX(); transition: transform 1s linear`)},null,8,["style"])]),_:1},16,["class"]))}}),K={key:0,class:"flex right-6 sm:w-[230px] px-2 h-12 rounded-[21px] items-center"},O={key:0,class:"flex flex-wrap w-full mr-2 items-center justify-between"},Q={key:1},ce=m({__name:"UploadStatusElement",setup(n){const{width:t,height:a}=U(),{y:o}=q(),s=F();return(u,p)=>e(s).modelsStats.uploading&&e(o)>.6*e(a)?(l(),d("div",K,[r(e(R),{class:"mx-2 text-primary"}),e(t)>640?(l(),d("div",O,[h("span",null,i(`In progress (${e(s).modelsStats.uploaded}/${e(s).modelsList.length})`),1),r(J,{class:"h-1 w-40"})])):(l(),d("div",Q,[h("span",null,i(`${e(s).modelsStats.uploaded}/${e(s).modelsList.length}`),1)]))])):b("",!0)}}),de=m({__name:"AppThemeSwitcher",props:{full:{type:Boolean}},setup(n){const t=w(),a=n;return(o,s)=>{const u=N,p=A,f=E,v=P,x=T;return l(),k(x,null,{default:c(()=>[r(p,null,{default:c(()=>[r(u,{"button-class":a.full?"w-full justify-start":"",icon:e(t).value==="light"?e(W):e(H),size:a.full?"default":"icon",tooltip:a.full?void 0:o.$t("components.theme_switcher.toggle_theme")},{default:c(()=>[a.full?(l(),d(L,{key:0},[_(i(o.$t("components.theme_switcher.toggle_theme")),1)],64)):b("",!0)]),_:1},8,["button-class","icon","size","tooltip"])]),_:1}),r(v,{align:"end"},{default:c(()=>[r(f,{onClick:s[0]||(s[0]=y=>e(t).preference="light")},{default:c(()=>[_(i(o.$t("components.theme_switcher.light")),1)]),_:1}),r(f,{onClick:s[1]||(s[1]=y=>e(t).preference="dark")},{default:c(()=>[_(i(o.$t("components.theme_switcher.dark")),1)]),_:1}),r(f,{onClick:s[2]||(s[2]=y=>e(t).preference="system")},{default:c(()=>[_(i(o.$t("components.theme_switcher.system")),1)]),_:1})]),_:1})]),_:1})}}}),ee={},te={width:"23",height:"23",viewBox:"0 0 98 96",fill:"rgba(var(--foreground))",xmlns:"http://www.w3.org/2000/svg"};function se(n,t){return l(),d("svg",te,t[0]||(t[0]=[h("path",{d:"M48.854 0C21.839 0 0 22 0 49.217c0 21.756 13.993 40.172 33.405 46.69 2.427.49 3.316-1.059 3.316-2.362 0-1.141-.08-5.052-.08-9.127-13.59 2.934-16.42-5.867-16.42-5.867-2.184-5.704-5.42-7.17-5.42-7.17-4.448-3.015.324-3.015.324-3.015 4.934.326 7.523 5.052 7.523 5.052 4.367 7.496 11.404 5.378 14.235 4.074.404-3.178 1.699-5.378 3.074-6.6-10.839-1.141-22.243-5.378-22.243-24.283 0-5.378 1.94-9.778 5.014-13.2-.485-1.222-2.184-6.275.486-13.038 0 0 4.125-1.304 13.426 5.052a46.97 46.97 0 0 1 12.214-1.63c4.125 0 8.33.571 12.213 1.63 9.302-6.356 13.427-5.052 13.427-5.052 2.67 6.763.97 11.816.485 13.038 3.155 3.422 5.015 7.822 5.015 13.2 0 18.905-11.404 23.06-22.324 24.283 1.78 1.548 3.316 4.481 3.316 9.126 0 6.6-.08 11.897-.08 13.526 0 1.304.89 2.853 3.316 2.364 19.412-6.52 33.405-24.935 33.405-46.691C97.707 22 75.788 0 48.854 0z"},null,-1)]))}const ie=V(ee,[["render",se]]);export{re as _,ce as a,de as b,ie as c}; //# sourceMappingURL=PmWHQTzo.js.map