1import{aa as P,cU as H,r as x,t as F,d as K,j as e,w as A,x as k,aI as S,bE as R,aF as Q,a3 as D,ad as W,aU as X,aG as T,L as Y,y as z,U as J,T as O,aA as V,X as G,z as N,P as Z}from"./index-BuF13C9R.js";import{S as ee}from"./SitePageShell-D3rwKhmW.js";import{c as q}from"./residentGroupUtils-B9NnnkMJ.js";import{g as I}from"./GroupIconPicker-BsWd_svW.js";import{R as se}from"./ResidentLoginRedirect-C4cTFDh_.js";import{C as te}from"./calendar-clock-Dg6I_-A7.js";import{C as L}from"./clipboard-check-CMT0h_dd.js";import"./usePaymentPlacements-CX0SzjnY.js";import"./user-cog-BrPu6RcS.js";import"./bell-ring-DHDlhRvf.js";import"./life-buoy-DD0yJ6o8.js";import"./log-in-8daxVYSJ.js";import"./kibbutzSiteUtils-DG6eIbUJ.js";import"./info-BIFqAg3-.js";import"./folder-open-BSPTKQzn.js";import"./graduation-cap-D9zn9IjR.js";import"./file-check-D2O-2b5u.js";import"./instagram-rO3n40RO.js";import"./sliders-horizontal-D0cjPgOh.js";import"./youtube-D4vYeyfI.js";import"./leaf-BxZ8PRn4.js";import"./paymentCatalogs-CvImawYM.js";import"./chevron-left-D2IUBEPa.js";import"./siren-DuSchdHr.js";import"./personalHeading-D8itHFYD.js";import"./ContentPageHero-BxCWcB43.js";import"./softDelete-X2GBluex.js";import"./stethoscope-BhSP9jag.js";import"./sparkles-Bk9eJtR5.js";import"./music-2TdapQX4.js";import"./palette-CUQSS43O.js";import"./baby-BUG_dxit.js";import"./trophy-DMauxpio.js";import"./dumbbell-BjAgLDIP.js";import"./coffee-DBuAkjb1.js";import"./truck-Vc5srr9S.js";import"./sun-Zth1nRXj.js";const C="#16a34a",ae={draft:"×××××",scheduled:"×ת×××× ×ª",sending:"×ש××××",sent:"× ×©×××",partial:"× ×©××× ×××§×ת",failed:"× ×ש××",cancelled:"×××××"},E={scheduled:"bg-blue-50 text-blue-700",sending:"bg-amber-50 text-amber-700",sent:"bg-emerald-50 text-emerald-700",partial:"bg-orange-50 text-orange-700",failed:"bg-red-50 text-red-600",cancelled:"bg-slate-100 text-slate-500",draft:"bg-slate-100 text-slate-500"},U=s=>{const l=String(s||"").slice(0,10);if(!l)return"";const[n,r,c]=l.split("-");return`${c}/${r}/${n}`};function Ye(){const{kibbutzId:s}=P(),l=H(s),n=l==null?void 0:l.phone,[r,c]=x.useState(!0),[i,t]=x.useState([]),[u,p]=x.useState({groups:0,members:0,published:0,this_month:0}),[a,d]=x.useState(null),[j,o]=x.useState("messages"),m=F(),f=h=>m(R(`/kibbutz-site/${s}/personal/group-management/${h.id}/publish`)),v=x.useCallback((h,g)=>K.functions.invoke(h,{community_id:s,phone:n,...g}),[s,n]),w=x.useCallback(async()=>{var h,g;if(!s||!n){c(!1);return}try{const b=await v("residentManagedGroups",{});t(((h=b==null?void 0:b.data)==null?void 0:h.groups)||[]),p(((g=b==null?void 0:b.data)==null?void 0:g.summary)||{groups:0,members:0,published:0,this_month:0})}catch{t([])}finally{c(!1)}},[v,s,n]);x.useEffect(()=>{w()},[w]);const M=h=>{var g,b;d(h),o((g=h.permissions)!=null&&g.can_publish?"messages":(b=h.permissions)!=null&&b.can_view_members?"members":"messages")};return e.jsx(ee,{kibbutzId:s,moduleKey:"resident_registration",pageTitle:"× ×××× ×§××צ×ת ×××××¢×ת",showHero:!1,hidePageTitleHeader:!0,mainClassName:"flex-1 w-full pt-24 md:pt-28 pb-10",children:()=>l?r?e.jsx("div",{className:"flex justify-center py-24",children:e.jsx("div",{className:"w-8 h-8 border-4 border-slate-200 border-t-green-500 rounded-full animate-spin"})}):e.jsxs("div",{dir:"rtl",className:"max-w-5xl mx-auto w-full px-4",children:[e.jsxs("div",{className:"grid grid-cols-2 sm:grid-cols-4 gap-3 my-5",children:[e.jsx(_,{icon:A,label:"×§××צ×ת ×× ×××××",value:u.groups,tone:"text-green-600 bg-green-50"}),e.jsx(_,{icon:k,label:"××ר×× ××§××צ×ת",value:u.members,tone:"text-indigo-600 bg-indigo-50"}),e.jsx(_,{icon:S,label:"××××¢×ת שפ×רס××",value:u.published,tone:"text-amber-600 bg-amber-50"}),e.jsx(_,{icon:te,label:"××××¢×ת ××××ש",value:u.this_month,tone:"text-cyan-600 bg-cyan-50"})]}),i.length===0?e.jsxs("div",{className:"card-float p-10 text-center",children:[e.jsx(k,{className:"w-10 h-10 text-slate-300 mx-auto mb-3"}),e.jsx("p",{className:"text-sm text-slate-500",children:"×× ×××§×¦× ×× ×§××צ×ת ×× ××××."})]}):a?e.jsx(ne,{group:a,invoke:v,tab:j,setTab:o,onBack:()=>{d(null),w()},onPublish:()=>f(a)}):e.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-3",children:i.map(h=>e.jsx(le,{g:h,onManage:()=>M(h),onPublish:()=>f(h)},h.id))})]}):e.jsx(se,{kibbutzId:s})})}function _({icon:s,label:l,value:n,tone:r}){return e.jsxs("div",{className:"card-float p-4",children:[e.jsx("div",{className:`w-9 h-9 rounded-lg flex items-center justify-center mb-2 ${r}`,children:e.jsx(s,{className:"w-5 h-5"})}),e.jsx("p",{className:"text-2xl font-bold text-slate-900",children:n}),e.jsx("p",{className:"text-sm text-slate-500",children:l})]})}function le({g:s,onManage:l,onPublish:n}){var i;const r=q(s.color),c=I(s.icon);return e.jsxs("div",{className:"card-float p-4",children:[e.jsxs("div",{className:"flex items-start gap-3",children:[e.jsx("span",{className:`w-11 h-11 rounded-xl flex items-center justify-center flex-shrink-0 ${r.bg}`,children:e.jsx(c,{className:`w-6 h-6 ${r.text}`})}),e.jsxs("div",{className:"min-w-0 flex-1",children:[e.jsx("h3",{className:"text-sm font-bold text-slate-900 truncate",children:s.title}),s.description&&e.jsx("p",{className:"text-xs text-slate-500 line-clamp-2 mt-0.5",children:s.description}),e.jsxs("div",{className:"flex items-center gap-3 mt-2 text-xs text-slate-400",children:[e.jsxs("span",{className:"flex items-center gap-1",children:[e.jsx(k,{className:"w-3.5 h-3.5"})," ",s.member_count]}),e.jsxs("span",{className:"flex items-center gap-1",children:[e.jsx(S,{className:"w-3.5 h-3.5"})," ",s.message_count]}),s.last_message_at&&e.jsxs("span",{className:"flex items-center gap-1",children:[e.jsx(Q,{className:"w-3.5 h-3.5"})," ",U(s.last_message_at)]}),!s.is_active&&e.jsx("span",{className:"text-red-500 font-medium",children:"×× ×¤×¢×××"})]})]})]}),e.jsxs("div",{className:"flex items-center gap-2 mt-3",children:[e.jsxs("button",{onClick:l,className:"flex-1 h-9 rounded-full border border-slate-200 text-sm font-medium hover:bg-slate-50 inline-flex items-center justify-center gap-1.5",children:[e.jsx(A,{className:"w-4 h-4"})," × ×××× ××§××צ×"]}),((i=s.permissions)==null?void 0:i.can_publish)&&s.is_active&&e.jsxs("button",{onClick:n,className:"flex-1 h-9 rounded-full text-white text-sm font-medium inline-flex items-center justify-center gap-1.5",style:{backgroundColor:C},children:[e.jsx(D,{className:"w-4 h-4"})," פרס×× ××××¢×"]})]})]})}function ne({group:s,invoke:l,tab:n,setTab:r,onBack:c,onPublish:i}){const t=s.permissions||{},u=q(s.color),p=I(s.icon),a=[{key:"messages",label:"××××¢×ת",icon:S,show:!0},{key:"members",label:"×××¨× ××§××צ×",icon:k,show:t.can_view_members},{key:"requests",label:"×קש×ת ×צ×רפ×ת",icon:L,show:t.can_approve_requests},{key:"details",label:"פר×× ××§××צ×",icon:W,show:!0}].filter(d=>d.show);return e.jsxs("div",{children:[e.jsxs("button",{onClick:c,className:"inline-flex items-center gap-1 text-sm text-slate-500 hover:text-slate-700 mb-3",children:[e.jsx(X,{className:"w-4 h-4"})," ×××¨× ××§××צ×ת"]}),e.jsxs("div",{className:"card-float p-4 mb-4 flex items-center justify-between gap-3",children:[e.jsxs("div",{className:"flex items-center gap-3 min-w-0",children:[e.jsx("span",{className:`w-12 h-12 rounded-2xl flex items-center justify-center flex-shrink-0 ${u.bg}`,children:e.jsx(p,{className:`w-6 h-6 ${u.text}`})}),e.jsxs("div",{className:"min-w-0",children:[e.jsx("h2",{className:"text-lg font-bold text-slate-900 truncate",children:s.title}),e.jsxs("p",{className:"text-xs text-slate-500",children:[s.member_count," ××ר×× Â· ",s.message_count," ××××¢×ת"]})]})]}),t.can_publish&&s.is_active&&e.jsxs("button",{onClick:i,className:"h-10 px-4 roun
1ded-full text-white text-sm font-bold inline-flex items-center gap-1.5 flex-shrink-0",style:{backgroundColor:C},children:[e.jsx(D,{className:"w-4 h-4"})," פרס×× ××××¢×"]})]}),e.jsx("div",{className:"flex items-center gap-1.5 mb-4 flex-wrap",children:a.map(d=>{const j=d.icon;return e.jsxs("button",{onClick:()=>r(d.key),className:`inline-flex items-center gap-1.5 h-9 px-4 rounded-full text-sm font-medium transition-all ${n===d.key?"text-white":"bg-white border border-slate-200 text-slate-600 hover:bg-slate-50"}`,style:n===d.key?{backgroundColor:C}:void 0,children:[e.jsx(j,{className:"w-4 h-4"})," ",d.label]},d.key)})}),n==="messages"&&e.jsx(ie,{group:s,invoke:l,canAnalytics:t.can_view_analytics}),n==="members"&&t.can_view_members&&e.jsx(ce,{group:s,invoke:l,canManage:t.can_manage_members}),n==="requests"&&t.can_approve_requests&&e.jsx(oe,{group:s,invoke:l}),n==="details"&&e.jsx(me,{group:s})]})}function ie({group:s,invoke:l,canAnalytics:n}){const{kibbutzId:r}=P(),[c,i]=x.useState(null),[t,u]=x.useState(null);x.useEffect(()=>{l("residentGroupManage",{group_id:s.id,action:"messages"}).then(a=>{var d;return i(((d=a==null?void 0:a.data)==null?void 0:d.messages)||[])}).catch(()=>i([]))},[s.id]);const p=async a=>{if(n)try{const d=await l("residentGroupManage",{group_id:s.id,action:"message_detail",campaign_id:a});u(d==null?void 0:d.data)}catch{N.error("ש×××× ×××¢×× ×ª × ×ª×× × ×××××ר")}};return c===null?e.jsx($,{}):c.length?e.jsxs("div",{className:"space-y-2",children:[c.map(a=>e.jsx("div",{className:"card-float p-4",children:e.jsxs("div",{className:"flex items-start justify-between gap-2",children:[e.jsxs("div",{className:"min-w-0",children:[e.jsxs("div",{className:"flex items-center gap-2 flex-wrap",children:[e.jsx("h4",{className:"text-sm font-bold text-slate-900 truncate",children:a.title||"(××× ××תרת)"}),a.message_type==="survey"&&e.jsxs("span",{className:"text-[11px] px-2 py-0.5 rounded-full font-medium bg-indigo-50 text-indigo-700 inline-flex items-center gap-0.5",children:[e.jsx(T,{className:"w-3 h-3"})," סקר"]}),e.jsx("span",{className:`text-[11px] px-2 py-0.5 rounded-full font-medium ${E[a.status]||E.draft}`,children:ae[a.status]||a.status})]}),a.content&&e.jsx("p",{className:"text-xs text-slate-500 line-clamp-2 mt-1",children:a.content}),e.jsxs("div",{className:"flex items-center gap-3 mt-2 text-xs text-slate-400 flex-wrap",children:[e.jsx("span",{children:U(a.created_date)}),a.publisher_name&&e.jsxs("span",{children:["· ",a.publisher_name]}),e.jsxs("span",{children:["· ",(a.channels||"").split(",").filter(Boolean).length," ער×צ××"]}),e.jsxs("span",{children:["· ",a.total_recipients||0," × ××¢× ××"]}),a.sent_count!=null&&e.jsxs("span",{className:"text-emerald-600",children:["â ",a.sent_count]}),a.failed_count?e.jsxs("span",{className:"text-red-500",children:["â ",a.failed_count]}):null]})]}),e.jsxs("div",{className:"flex items-center gap-1.5 flex-shrink-0",children:[a.message_type==="survey"&&e.jsxs(Y,{to:R(`/kibbutz-site/${r}/survey/${a.id}`),className:"h-8 px-3 rounded-full border border-indigo-200 text-indigo-600 text-xs hover:bg-indigo-50 inline-flex items-center gap-1",children:[e.jsx(T,{className:"w-3.5 h-3.5"})," ת×צ××ת"]}),n&&e.jsxs("button",{onClick:()=>p(a.id),className:"h-8 px-3 rounded-full border border-slate-200 text-xs hover:bg-slate-50 inline-flex items-center gap-1",children:[e.jsx(T,{className:"w-3.5 h-3.5"})," ××××ר"]})]})]})},a.id)),t&&e.jsx(re,{detail:t,onClose:()=>u(null)})]}):e.jsx(B,{icon:S,text:"×¢×××× ×× ×¤×רס×× ××××¢×ת ××§×××¦× ××"})}function re({detail:s,onClose:l}){var c;const n=(s==null?void 0:s.analytics)||{},r=({label:i,t})=>e.jsxs("div",{className:"flex items-center justify-between text-sm py-1.5 border-b border-slate-100 last:border-0",children:[e.jsx("span",{className:"text-slate-600",children:i}),e.jsxs("span",{className:"flex items-center gap-3 text-xs",children:[e.jsxs("span",{className:"text-emerald-600",children:["× ×©××× ",(t==null?void 0:t.sent)||0]}),e.jsxs("span",{className:"text-red-500",children:["× ×ש×× ",(t==null?void 0:t.failed)||0]}),e.jsxs("span",{className:"text-slate-400",children:["××××× ",(t==null?void 0:t.skipped)||0]})]})]});return e.jsx("div",{className:"fixed inset-0 z-50 flex items-center justify-center bg-black/40 p-4",dir:"rtl",onMouseDown:l,children:e.jsxs("div",{className:"w-full max-w-md rounded-2xl bg-white shadow-xl p-5",onMouseDown:i=>i.stopPropagation(),children:[e.jsxs("div",{className:"flex items-center justify-between mb-3",children:[e.jsx("h3",{className:"text-base font-bold",children:"× ×ª×× × ××××ר"}),e.jsx("button",{onClick:l,className:"w-8 h-8 rounded-lg flex items-center justify-center text-slate-400 hover:bg-slate-100",children:e.jsx(G,{className:"w-4 h-4"})})]}),e.jsx("p",{className:"text-sm font-medium text-slate-800 mb-1",children:(c=s==null?void 0:s.campaign)==null?void 0:c.title}),e.jsxs("p",{className:"text-xs text-slate-400 mb-3",children:[n.total||0,' × ××¢× ×× ×¡×"×']}),e.jsx(r,{label:'×××"×',t:n.email}),e.jsx(r,{label:"WhatsApp",t:n.whatsapp}),e.jsx("p",{className:"text-[11px] text-slate-400 mt-3",children:"××צ××× × ×ª×× × ×©×××× ×××ת××× (× ×©××/× ×ש×/××××). × ×ª×× × × ×סר/× ×¤×ª×/× ×××¥ ×ת×××¡×¤× ×ש×××××¨× ×תר××ת ס×××ס ××ספק××."})]})})}function ce({group:s,invoke:l,canManage:n}
1){const[r,c]=x.useState(null),[i,t]=x.useState(""),[u,p]=x.useState(!1),a=()=>l("residentGroupManage",{group_id:s.id,action:"members"}).then(o=>{var m;return c(((m=o==null?void 0:o.data)==null?void 0:m.members)||[])}).catch(()=>c([]));x.useEffect(()=>{a()},[s.id]);const d=async o=>{try{await l("residentGroupManage",{group_id:s.id,action:"remove_member",member_id:o.member_id}),N.success("×××ר ××סר"),a()}catch{N.error("ש××××")}};if(r===null)return e.jsx($,{});const j=i.trim()?r.filter(o=>o.full_name.includes(i)||String(o.phone).includes(i)||String(o.email).includes(i)):r;return e.jsxs("div",{className:"card-float p-4",children:[e.jsxs("div",{className:"flex items-center gap-2 mb-3",children:[e.jsxs("div",{className:"relative flex-1",children:[e.jsx(z,{className:"absolute right-3 top-1/2 -translate-y-1/2 w-4 h-4 text-slate-400"}),e.jsx("input",{value:i,onChange:o=>t(o.target.value),placeholder:"××פ×ש ××רâ¦",className:"w-full h-9 rounded-lg border border-slate-200 pr-9 pl-3 text-sm"})]}),n&&e.jsxs("button",{onClick:()=>p(!0),className:"h-9 px-3 rounded-full text-white text-sm inline-flex items-center gap-1",style:{backgroundColor:C},children:[e.jsx(J,{className:"w-4 h-4"})," ××סף"]})]}),j.length===0?e.jsx("p",{className:"text-sm text-slate-400 text-center py-6",children:"××× ××ר×× ××צ××"}):e.jsx("div",{className:"divide-y divide-slate-100",children:j.map(o=>e.jsxs("div",{className:"flex items-center justify-between gap-2 py-2.5",children:[e.jsxs("div",{className:"min-w-0",children:[e.jsx("p",{className:"text-sm font-medium text-slate-800 truncate",children:o.full_name}),e.jsx("p",{className:"text-xs text-slate-400 truncate",dir:"ltr",children:o.phone||o.email||""})]}),n&&e.jsx("button",{onClick:()=>d(o),className:"w-8 h-8 rounded-lg flex items-center justify-center text-red-500 hover:bg-red-50 flex-shrink-0",children:e.jsx(O,{className:"w-4 h-4"})})]},o.member_id))}),u&&e.jsx(de,{group:s,invoke:l,existing:r,onClose:()=>p(!1),onAdded:()=>{p(!1),a()}})]})}function de({group:s,invoke:l,existing:n,onClose:r,onAdded:c}){const[i,t]=x.useState(""),[u,p]=x.useState([]),[a,d]=x.useState(!1),j=x.useMemo(()=>new Set((n||[]).map(m=>m.id)),[n]);x.useEffect(()=>{if(!i.trim()){p([]);return}let m=!0;return l("residentPhonebookSearch",{query:i}).then(f=>{var v,w;m&&p((((v=f==null?void 0:f.data)==null?void 0:v.results)||((w=f==null?void 0:f.data)==null?void 0:w.residents)||[]).filter(M=>!j.has(M.id)).slice(0,8))}).catch(()=>{}),()=>{m=!1}},[i]);const o=async m=>{d(!0);try{await l("residentGroupManage",{group_id:s.id,action:"add_member",resident_id:m.id}),N.success("× ×סף"),c()}catch{N.error("ש××××")}finally{d(!1)}};return e.jsx("div",{className:"fixed inset-0 z-50 flex items-center justify-center bg-black/40 p-4",dir:"rtl",onMouseDown:r,children:e.jsxs("div",{className:"w-full max-w-md rounded-2xl bg-white shadow-xl p-5",onMouseDown:m=>m.stopPropagation(),children:[e.jsxs("div",{className:"flex items-center justify-between mb-3",children:[e.jsx("h3",{className:"text-base font-bold",children:"××ספת ××ר"}),e.jsx("button",{onClick:r,className:"w-8 h-8 rounded-lg flex items-center justify-center text-slate-400 hover:bg-slate-100",children:e.jsx(G,{className:"w-4 h-4"})})]}),e.jsxs("div",{className:"relative mb-2",children:[e.jsx(z,{className:"absolute right-3 top-1/2 -translate-y-1/2 w-4 h-4 text-slate-400"}),e.jsx("input",{value:i,onChange:m=>t(m.target.value),placeholder:"××פ×ש ××¤× ×©× ×× ××פ××â¦",className:"w-full h-10 rounded-lg border border-slate-200 pr-9 pl-3 text-sm",autoFocus:!0})]}),e.jsxs("div",{className:"divide-y divide-slate-100 max-h-64 overflow-y-auto",children:[u.map(m=>e.jsxs("button",{disabled:a,onClick:()=>o(m),className:"w-full flex items-center justify-between gap-2 py-2.5 text-right hover:bg-slate-50 disabled:opacity-50",children:[e.jsxs("span",{className:"min-w-0",children:[e.jsx("span",{className:"text-sm font-medium text-slate-800 block truncate",children:m.full_name||m.name}),e.jsx("span",{className:"text-xs text-slate-400 block truncate",dir:"ltr",children:m.phone||m.email||""})]}),e.jsxs("span",{className:"text-xs font-medium text-green-600 inline-flex items-center gap-1",children:[e.jsx(Z,{className:"w-3.5 h-3.5"})," ××סף"]})]},m.id)),i.trim()&&u.length===0&&e.jsx("p",{className:"text-sm text-slate-400 text-center py-4",children:"×× × ×צ×× ×ª×צ××ת"})]})]})})}function oe({group:s,invoke:l}
1){const[n,r]=x.useState(null),c=()=>l("residentGroupManage",{group_id:s.id,action:"requests"}).then(t=>{var u;return r(((u=t==null?void 0:t.data)==null?void 0:u.requests)||[])}).catch(()=>r([]));x.useEffect(()=>{c()},[s.id]);const i=async(t,u)=>{try{await l("residentGroupManage",{group_id:s.id,action:u?"approve_request":"reject_request",member_id:t.member_id}),N.success(u?"×××§×©× ××שר×":"×××§×©× × ××ת×"),c()}catch{N.error("ש××××")}};return n===null?e.jsx($,{}):n.length?e.jsx("div",{className:"card-float p-4 divide-y divide-slate-100",children:n.map(t=>e.jsxs("div",{className:"flex items-center justify-between gap-2 py-2.5",children:[e.jsxs("div",{className:"min-w-0",children:[e.jsx("p",{className:"text-sm font-medium text-slate-800 truncate",children:t.full_name}),e.jsx("p",{className:"text-xs text-slate-400 truncate",dir:"ltr",children:t.phone||t.email||""})]}),e.jsxs("div",{className:"flex items-center gap-1.5 flex-shrink-0",children:[e.jsxs("button",{onClick:()=>i(t,!0),className:"h-8 px-3 rounded-full bg-emerald-600 text-white text-xs inline-flex items-center gap-1",children:[e.jsx(V,{className:"w-3.5 h-3.5"})," ×שר"]}),e.jsxs("button",{onClick:()=>i(t,!1),className:"h-8 px-3 rounded-full border border-red-200 text-red-600 text-xs inline-flex items-center gap-1",children:[e.jsx(G,{className:"w-3.5 h-3.5"})," ×××"]})]})]},t.member_id))}):e.jsx(B,{icon:L,text:"××× ×קש×ת ×צ×רפ×ת ××ת×× ×ת"})}function me({group:s}){const l=q(s.color);return e.jsxs("div",{className:"card-float p-5",children:[e.jsxs("div",{className:"grid grid-cols-2 gap-3 text-sm",children:[e.jsx(y,{label:"×©× ××§××צ×",value:s.title}),e.jsx(y,{label:"ס×××ס",value:s.is_active?"פע×××":"×× ×¤×¢×××"}),e.jsx(y,{label:"××ר××",value:s.member_count}),e.jsx(y,{label:"×× ××××",value:s.manager_count}),e.jsx(y,{label:"פר×××ת",value:s.is_private?"פר××ת":"צ×××ר×ת"}),e.jsx(y,{label:"צ××¢",value:e.jsx("span",{className:`inline-block w-4 h-4 rounded-full ${l.solid}`})})]}),s.description&&e.jsxs("div",{className:"mt-3 pt-3 border-t border-slate-100",children:[e.jsx("p",{className:"text-xs text-slate-400 mb-1",children:"ת×××ר"}),e.jsx("p",{className:"text-sm text-slate-700",children:s.description})]})]})}function y({label:s,value:l}){return e.jsxs("div",{children:[e.jsx("p",{className:"text-xs text-slate-400",children:s}),e.jsx("p",{className:"font-medium text-slate-800",children:l})]})}function $(){return e.jsx("div",{className:"flex justify-center py-12",children:e.jsx("div",{className:"w-6 h-6 border-4 border-slate-200 border-t-green-500 rounded-full animate-spin"})})}function B({icon:s,text:l}){return e.jsxs("div",{className:"card-float p-10 text-center",children:[e.jsx(s,{className:"w-9 h-9 text-slate-300 mx-auto mb-2"}),e.jsx("p",{className:"text-sm text-slate-500",children:l})]})}export{Ye as default};
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.