import{M as c,R as s,a8 as p,e as l,V as e,X as a,Z as f,Y as _,bl as u,U as k,S as d,O as i}from"./vendor-CsGITfgk.js";import{i as V}from"./usePushMessages-DPqg3nD3.js";import{_ as g}from"./push-messages.vue_vue_type_script_setup_true_lang-BMl1m4dC.js";import{X as h}from"./index-CsCqMgta.js";import"./types-zo7pMMkl.js";import"./push-message.vue_vue_type_script_setup_true_lang-Dqabwhp3.js";import"./index-BQeGx8uC.js";const X=c({__name:"link-push-messages",props:{item:{}},setup(y){return(o,C)=>{const n=k("VcIcon");return l(V)?(i(),s(g,{key:0,"offset-options":20},{trigger:e(({totalCount:m,unreadCount:t,triggerProps:r})=>[a(h,d({link:o.item,count:t},r),{icon:e(()=>[a(u,{name:t?"shake":"",mode:"out-in"},{default:e(()=>[(i(),s(n,{key:m,name:o.item.icon,class:"mb-0.5 fill-primary",size:24},null,8,["name"]))]),_:2},1032,["name"])]),default:e(()=>[f(" "+_(o.item.title),1)]),_:2},1040,["link","count"])]),_:1})):p("",!0)}}});export{X as default};
//# sourceMappingURL=link-push-messages-CsZPWTQA.js.map
