PageSourceSearch

https://mobilizon.fr/assets/GroupCard.vue_vue_type_script_setup_true_lang-DH-dqH-h.js

js mobilizon.fr collected 2026-10-02 04:55:04 UTC 2,581 bytes, 2 lines download raw bytes

1import{e as y,f as b,h as n,_ as k,n as m,w as v,i as o,j as l,t as r,k as a,l as C,m as d,o as u,q as I,r as A,s as i,v as f,c as g,x as s,R as h}from"./main-BvDl5GqJ.js";import N from"./AccountGroup-CE5BsXQT.js";import x from"./Account-fw0T0KHh.js";const R={class:"flex-none p-2 md:p-4"},B={key:0,class:""},G=["src"],L={class:"flex gap-1 mb-2"},T={class:"overflow-hidden flex-auto"},z={class:"text-2xl leading-5 line-clamp-3 font-bold text-violet-3 dark:text-white",dir:"auto"},S={class:"block truncate"},V=["innerHTML"],U={key:1,class:"flex gap-1"},$={key:2,class:"flex gap-1"},M=y({__name:"GroupCard",props:{group:{},showSummary:{type:Boolean,default:!0},isRemoteGroup:{type:Boolean,default:!1},isLoggedIn:{type:Boolean,default:!0},mode:{default:"column"}},setup(e){const t=e,{t:c}=b({useScope:"global"}),w=g(()=>t.isRemoteGroup&&t.isLoggedIn===!1),p=g(()=>t.isRemoteGroup?t.isLoggedIn===!1?t.group.url:{name:h.INTERACT,query:{uri:encodeURI(t.group.url)}}:{name:h.GROUP,params:{preferredUsername:d(t.group)}});return(j,q)=>(s(),n(k,{to:p.value,isInternal:w.value,class:m(["mbz-card snap-center shrink-0 dark:bg-mbz-purple dark:text-white rounded-lg shadow-lg flex items-center flex-col",{"sm:flex-row":e.mode==="row","sm:max-w-xs w-[18rem] shrink-0 flex flex-col":e.mode==="column"}])},{default:v(()=>[o("div",R,[e.group.avatar?(s(),l("figure",B,[o("img",{class:"rounded-full",src:e.group.avatar.url,alt:"",height:"128",width:"128"},null,8,G)])):(s(),n(N,{key:1,size:128}))]),o("div",{class:m(["py-2 px-2 md:px-4 flex flex-col h-full justify-between w-full",{"sm:flex-1":e.mode==="row"}])},[o("div",L,[o("div",T,[o("h3",z,r(a(C)(e.group)),1),o("span",S,r(`@${a(d)(e.group)}`),1)])]),e.showSummary?(s(),l("div",{key:0,class:"mb-2 line-clamp-3",dir:"auto",innerHTML:e.group.summary},null,8,V)):u("",!0),o("div",null,[e.group.physicalAddress&&a(I)(e.group.physicalAddress)?(s(),n(A,{key:0,physicalAddress:e.group.physicalAddress},null,8,["physicalAddress"])):u("",!0),e.group?.members?.total&&e.group?.followers?.total?(s(),l("p",U,[i(x),f(" "+r(a(c)("{count} members or followers",{count:e.group.members.total+e.group.followers.total},e.group.members.total+e.group.followers.total)),1)])):e.group?.membersCount||e.group?.followersCount?(s(),l("p",$,[i(x),f(" "+r(a(c)("{count} members or followers",{count:(e.group.membersCount??0)+(e.group.followersCount??0)},(e.group.membersCount??0)+(e.group.followersCount??0))),1)])):u("",!0)])],2)]),_:1},8,["to","isInternal","class"]))}});export{M as _};
2//# sourceMappingURL=GroupCard.vue_vue_type_script_setup_true_lang-DH-dqH-h.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.