1import{b8 as m,r as e,cb as b,cP as p,m as P,dA as f,F as h}from"./DHQ7ucoR.js";const k=m("share",()=>{const s=e("none"),{base:a}=b(p()),t=P(()=>{var l,u,c,d;return typeof((l=a.value)==null?void 0:l.meta)=="string"?JSON.parse((u=a.value)==null?void 0:u.meta).isPublic:(d=(c=a.value)==null?void 0:c.meta)==null?void 0:d.isPublic}),i=e("none"),n=e(!1),o=e(!1),v=e(!1),r=e({emails:void 0,role:f.VIEWER,invitationToken:void 0});return h([t],()=>{s.value=t.value?"public":"private"},{immediate:!0,deep:!0}),{visibility:s,showShareModal:v,formStatus:i,invitationValid:n,invitationUsersData:r,isProjectPublic:t,resetData:()=>{i.value="base-collaborate",n.value=!1,r.value={emails:void 0,role:f.VIEWER,invitationToken:void 0},o.value=!1},isInvitationLinkCopied:o}});export{k as u};
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.