import{s as J,n as K,o as Q}from"../chunks/scheduler.d6170356.js";import{S as W,i as X,g as l,s as i,r as O,A as Z,h as g,f as n,c as o,j as G,u as q,x as z,k as U,y as ee,a,v as A,d as E,t as S,w as I}from"../chunks/index.fcd4cc08.js";import{H as N}from"../chunks/Heading.8660bd0e.js";function te(V){let s,_,b,w,m,M,p,y,c,D='Visit the <a href="https://hf.co/organizations/new" rel="nofollow">New Organization</a> form to create an organization.',T,u,k,f,F="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.",x,r,R='<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"/>',H,d,Y="You can also revoke a user’s membership or change their role on this page.",C,h,P,$,B="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.",L,v,j;return m=new N({props:{title:"Managing organizations",local:"managing-organizations",headingTag:"h1"}}),p=new N({props:{title:"Creating an organization",local:"creating-an-organization",headingTag:"h2"}}),u=new N({props:{title:"Managing members",local:"managing-members",headingTag:"h2"}}),h=new N({props:{title:"Organization domain name",local:"organization-domain-name",headingTag:"h2"}}),{c(){s=l("meta"),_=i(),b=l("p"),w=i(),O(m.$$.fragment),M=i(),O(p.$$.fragment),y=i(),c=l("p"),c.innerHTML=D,T=i(),O(u.$$.fragment),k=i(),f=l("p"),f.innerHTML=F,x=i(),r=l("div"),r.innerHTML=R,H=i(),d=l("p"),d.textContent=Y,C=i(),O(h.$$.fragment),P=i(),$=l("p"),$.innerHTML=B,L=i(),v=l("p"),this.h()},l(e){const t=Z("svelte-u9bgzb",document.head);s=g(t,"META",{name:!0,content:!0}),t.forEach(n),_=o(e),b=g(e,"P",{}),G(b).forEach(n),w=o(e),q(m.$$.fragment,e),M=o(e),q(p.$$.fragment,e),y=o(e),c=g(e,"P",{"data-svelte-h":!0}),z(c)!=="svelte-14iqa46"&&(c.innerHTML=D),T=o(e),q(u.$$.fragment,e),k=o(e),f=g(e,"P",{"data-svelte-h":!0}),z(f)!=="svelte-8w7t9h"&&(f.innerHTML=F),x=o(e),r=g(e,"DIV",{class:!0,"data-svelte-h":!0}),z(r)!=="svelte-1jk4kz7"&&(r.innerHTML=R),H=o(e),d=g(e,"P",{"data-svelte-h":!0}),z(d)!=="svelte-1umvwrb"&&(d.textContent=Y),C=o(e),q(h.$$.fragment,e),P=o(e),$=g(e,"P",{"data-svelte-h":!0}),z($)!=="svelte-lrj62"&&($.innerHTML=B),L=o(e),v=g(e,"P",{}),G(v).forEach(n),this.h()},h(){U(s,"name","hf:doc:metadata"),U(s,"content",ne),U(r,"class","flex justify-center")},m(e,t){ee(document.head,s),a(e,_,t),a(e,b,t),a(e,w,t),A(m,e,t),a(e,M,t),A(p,e,t),a(e,y,t),a(e,c,t),a(e,T,t),A(u,e,t),a(e,k,t),a(e,f,t),a(e,x,t),a(e,r,t),a(e,H,t),a(e,d,t),a(e,C,t),A(h,e,t),a(e,P,t),a(e,$,t),a(e,L,t),a(e,v,t),j=!0},p:K,i(e){j||(E(m.$$.fragment,e),E(p.$$.fragment,e),E(u.$$.fragment,e),E(h.$$.fragment,e),j=!0)},o(e){S(m.$$.fragment,e),S(p.$$.fragment,e),S(u.$$.fragment,e),S(h.$$.fragment,e),j=!1},d(e){e&&(n(_),n(b),n(w),n(M),n(y),n(c),n(T),n(k),n(f),n(x),n(r),n(H),n(d),n(C),n(P),n($),n(L),n(v)),n(s),I(m,e),I(p,e),I(u,e),I(h,e)}}}const ne='{"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 ae(V){return Q(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class re extends W{constructor(s){super(),X(this,s,ae,te,J,{})}}export{re as component};
