import{s as Q,n as W,o as X}from"../chunks/scheduler.d6170356.js";import{S as Z,i as tt,g,s as i,r as _,A as et,h as m,f as n,c as s,j as K,u as w,x as M,k as D,y as nt,a,v as y,d as T,t as k,w as x}from"../chunks/index.fcd4cc08.js";import{H as V,E as at}from"../chunks/EditOnGithub.da2b595c.js";function it(F){let o,H,z,C,l,P,u,L,p,G='Visit the <a href="https://hf.co/organizations/new" rel="nofollow">New Organization</a> form to create an organization.',j,f,O,c,R="New members can be added to an organization by visiting the <strong>Organization settings</strong> and clicking on the <strong>Members</strong> tab. There, you’ll be able to generate an invite link, add members individually, or send out email invitations in bulk. If the <strong>Allow requests to join from the organization page</strong> setting is enabled, you’ll also be able to approve or reject any pending requests on the <strong>Members</strong> page.",E,r,Y='<img class="block dark:hidden" src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/organizations-members.png"/> <img class="hidden dark:block" src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/organizations-members-dark.png"/>',q,h,B="You can also revoke a user’s membership or change their role on this page.",A,d,S,$,J="Under the <strong>Account</strong> tab in the Organization settings, you can set an <strong>Organization domain name</strong>. Specifying a domain name will allow any user with a matching email address on the Hugging Face Hub to join your organization.",I,b,N,v,U;return l=new V({props:{title:"Managing organizations",local:"managing-organizations",headingTag:"h1"}}),u=new V({props:{title:"Creating an organization",local:"creating-an-organization",headingTag:"h2"}}),f=new V({props:{title:"Managing members",local:"managing-members",headingTag:"h2"}}),d=new V({props:{title:"Organization domain name",local:"organization-domain-name",headingTag:"h2"}}),b=new at({props:{source:"https://github.com/huggingface/hub-docs/blob/main/docs/hub/organizations-managing.md"}}),{c(){o=g("meta"),H=i(),z=g("p"),C=i(),_(l.$$.fragment),P=i(),_(u.$$.fragment),L=i(),p=g("p"),p.innerHTML=G,j=i(),_(f.$$.fragment),O=i(),c=g("p"),c.innerHTML=R,E=i(),r=g("div"),r.innerHTML=Y,q=i(),h=g("p"),h.textContent=B,A=i(),_(d.$$.fragment),S=i(),$=g("p"),$.innerHTML=J,I=i(),_(b.$$.fragment),N=i(),v=g("p"),this.h()},l(t){const e=et("svelte-u9bgzb",document.head);o=m(e,"META",{name:!0,content:!0}),e.forEach(n),H=s(t),z=m(t,"P",{}),K(z).forEach(n),C=s(t),w(l.$$.fragment,t),P=s(t),w(u.$$.fragment,t),L=s(t),p=m(t,"P",{"data-svelte-h":!0}),M(p)!=="svelte-14iqa46"&&(p.innerHTML=G),j=s(t),w(f.$$.fragment,t),O=s(t),c=m(t,"P",{"data-svelte-h":!0}),M(c)!=="svelte-8w7t9h"&&(c.innerHTML=R),E=s(t),r=m(t,"DIV",{class:!0,"data-svelte-h":!0}),M(r)!=="svelte-1jk4kz7"&&(r.innerHTML=Y),q=s(t),h=m(t,"P",{"data-svelte-h":!0}),M(h)!=="svelte-1umvwrb"&&(h.textContent=B),A=s(t),w(d.$$.fragment,t),S=s(t),$=m(t,"P",{"data-svelte-h":!0}),M($)!=="svelte-lrj62"&&($.innerHTML=J),I=s(t),w(b.$$.fragment,t),N=s(t),v=m(t,"P",{}),K(v).forEach(n),this.h()},h(){D(o,"name","hf:doc:metadata"),D(o,"content",st),D(r,"class","flex justify-center")},m(t,e){nt(document.head,o),a(t,H,e),a(t,z,e),a(t,C,e),y(l,t,e),a(t,P,e),y(u,t,e),a(t,L,e),a(t,p,e),a(t,j,e),y(f,t,e),a(t,O,e),a(t,c,e),a(t,E,e),a(t,r,e),a(t,q,e),a(t,h,e),a(t,A,e),y(d,t,e),a(t,S,e),a(t,$,e),a(t,I,e),y(b,t,e),a(t,N,e),a(t,v,e),U=!0},p:W,i(t){U||(T(l.$$.fragment,t),T(u.$$.fragment,t),T(f.$$.fragment,t),T(d.$$.fragment,t),T(b.$$.fragment,t),U=!0)},o(t){k(l.$$.fragment,t),k(u.$$.fragment,t),k(f.$$.fragment,t),k(d.$$.fragment,t),k(b.$$.fragment,t),U=!1},d(t){t&&(n(H),n(z),n(C),n(P),n(L),n(p),n(j),n(O),n(c),n(E),n(r),n(q),n(h),n(A),n(S),n($),n(I),n(N),n(v)),n(o),x(l,t),x(u,t),x(f,t),x(d,t),x(b,t)}}}const st='{"title":"Managing organizations","local":"managing-organizations","sections":[{"title":"Creating an organization","local":"creating-an-organization","sections":[],"depth":2},{"title":"Managing members","local":"managing-members","sections":[],"depth":2},{"title":"Organization domain name","local":"organization-domain-name","sections":[],"depth":2}],"depth":1}';function ot(F){return X(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class lt extends Z{constructor(o){super(),tt(this,o,ot,it,Q,{})}}export{lt as component};
