import{B as a,bS as t,N as e,bX as s,M as n,h as l,cW as r,o as u,v as i,b as o,O as p,n as c,p as d,aF as m,X as v,P as f,a2 as y,r as g}from"./index-BhrLSE9x.js";const b=a({type:{type:String,values:["primary","success","info","warning","danger",""],default:""},size:{type:String,values:t,default:""},truncated:Boolean,lineClamp:{type:[String,Number]},tag:{type:String,default:"span"}}),x=e({name:"ElText"});const S=y(f(e({...x,props:b,setup(a){const t=a,e=s(),f=n("text"),y=l((()=>[f.b(),f.m(t.type),f.m(e.value),f.is("truncated",t.truncated),f.is("line-clamp",!r(t.lineClamp))]));return(a,t)=>(u(),i(v(a.tag),{class:c(d(y)),style:m({"-webkit-line-clamp":a.lineClamp})},{default:o((()=>[p(a.$slots,"default")])),_:3},8,["class","style"]))}}),[["__file","text.vue"]]));function w(){const a=g(60);return{countdown:a,startCountdown:()=>{const t=setInterval((()=>{a.value--,a.value<=0&&(clearInterval(t),a.value=60)}),1e3)}}}export{S as E,w as u};
