import{P as a}from"./vendor-element-DupX9wXy.js";import{c as t}from"./dashboard-uHqAWmKq.js";import{q as e,r as s,R as r,t as l,v as n,A as o,K as c,M as d,E as m,L as i,aq as u}from"./vendor-core-Di0OO4oJ.js";const v={class:"art-card h-128 p-5 mb-5 max-sm:mb-4"},h={class:"art-card-header"},p={class:"title"},x={class:"h-9/10 mt-2 overflow-hidden"},b={class:"text-g-800 font-medium"},y={class:"mx-2 text-g-600"},f={class:"text-theme"},g={class:"float-right text-xs text-g-400 mt-6"},w=e({__name:"dynamic-stats",setup(e){const w=s([]);return r(()=>{return a=null,e=null,s=function*(){try{const a=yield t();a&&(w.value=a)}catch(a){}},new Promise((t,r)=>{var l=a=>{try{o(s.next(a))}catch(t){r(t)}},n=a=>{try{o(s.throw(a))}catch(t){r(t)}},o=a=>a.done?t(a.value):Promise.resolve(a.value).then(l,n);o((s=s.apply(a,e)).next())});var a,e,s}),(t,e)=>{const s=a;return n(),l("div",v,[o("div",h,[o("div",p,[o("h4",null,c(t.$t("dashboard.workplace.dynamicTitle")),1),o("p",null,c(t.$t("dashboard.workplace.latestActivity")),1)])]),o("div",x,[d(s,null,{default:m(()=>[(n(!0),l(i,null,u(w.value,(a,t)=>(n(),l("div",{class:"h-17.5 leading-17.5 border-b border-g-300 text-sm overflow-hidden last:border-b-0",key:t},[o("span",b,c(a.username),1),o("span",y,c(a.type),1),o("span",f,c(a.target),1),o("span",g,c(a.create_time),1)]))),128))]),_:1})])])}}});export{w as _};
