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-B0DKT41C.js";import{_ as g}from"./push-messages.vue_vue_type_script_setup_true_lang-BKrmd3LS.js";import{X as h}from"./index-B7qwhRTg.js";import"./types-zo7pMMkl.js";import"./push-message.vue_vue_type_script_setup_true_lang-C-8tV9bk.js";import"./index-vGRpOYUl.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-Bgu6G-7x.js.map
