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-DSitW8He.js";import{_ as g}from"./push-messages.vue_vue_type_script_setup_true_lang-CVE7MIgQ.js";import{X as h}from"./index-GCDRvGOr.js";import"./types-zo7pMMkl.js";import"./push-message.vue_vue_type_script_setup_true_lang-Cwfq0OQy.js";import"./index-DqyRqHAe.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-CBV0QEYW.js.map
