import{s as X,o as Y,n as Z}from"../chunks/scheduler.12fdeddc.js";import{S as ee,i as te,g as u,s as o,r as O,A as se,h as p,f as s,c as l,j as N,u as R,x as C,k as G,l as ie,y as ne,a as i,v as j,d as A,t as q,w as F,m as Q,n as W}from"../chunks/index.88dae322.js";import{T as re}from"../chunks/Tip.64e66512.js";import{H as ae,E as oe}from"../chunks/getInferenceSnippets.00466244.js";function le(T){let r,a,f="Team & Enterprise",m;return{c(){r=Q("This feature is part of the "),a=u("a"),a.textContent=f,m=Q(" plans."),this.h()},l(n){r=W(n,"This feature is part of the "),a=p(n,"A",{href:!0,"data-svelte-h":!0}),C(a)!=="svelte-1859u5z"&&(a.textContent=f),m=W(n," plans."),this.h()},h(){G(a,"href","https://huggingface.co/enterprise")},m(n,h){i(n,r,h),i(n,a,h),i(n,m,h)},p:Z,d(n){n&&(s(r),s(a),s(m))}}}function ue(T){let r,a,f,m,n,h,g,y,d,U="Resource Groups allow organizations to enforce fine-grained access control to their repositories.",H,c,D='<img class="block dark:hidden m-0!" src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/enterprise/resource-groups.png" alt="screenshot of Hugging Face Single Sign-On (SSO) feature"/> <img class="hidden dark:block m-0!" src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/enterprise/dark-resource-groups.png" alt="screenshot of Hugging Face Single Sign-On (SSO) feature"/>',S,$,I="This feature allows organization administrators to:",P,v,K="<li>Group related repositories together for better organization</li> <li>Control member access at a group level rather than individual repository level</li> <li>Assign different permission roles (read, contributor, write, admin) to team members</li> <li>Keep private repositories visible only to authorized group members</li> <li>Enable multiple teams to work independently within the same organization</li>",k,_,V="This Enterprise Hub feature helps organizations manage complex team structures and maintain proper access control over their repositories.",z,x,B='<a href="./security-resource-groups">Getting started with Resource Groups →</a>',E,b,L,w,M;return n=new ae({props:{title:"Resource groups",local:"resource-groups",headingTag:"h1"}}),g=new re({props:{warning:!0,$$slots:{default:[le]},$$scope:{ctx:T}}}),b=new oe({props:{source:"https://github.com/huggingface/hub-docs/blob/main/docs/hub/enterprise-hub-resource-groups.md"}}),{c(){r=u("meta"),a=o(),f=u("p"),m=o(),O(n.$$.fragment),h=o(),O(g.$$.fragment),y=o(),d=u("p"),d.textContent=U,H=o(),c=u("div"),c.innerHTML=D,S=o(),$=u("p"),$.textContent=I,P=o(),v=u("ul"),v.innerHTML=K,k=o(),_=u("p"),_.textContent=V,z=o(),x=u("p"),x.innerHTML=B,E=o(),O(b.$$.fragment),L=o(),w=u("p"),this.h()},l(e){const t=se("svelte-u9bgzb",document.head);r=p(t,"META",{name:!0,content:!0}),t.forEach(s),a=l(e),f=p(e,"P",{}),N(f).forEach(s),m=l(e),R(n.$$.fragment,e),h=l(e),R(g.$$.fragment,e),y=l(e),d=p(e,"P",{"data-svelte-h":!0}),C(d)!=="svelte-1f04kjh"&&(d.textContent=U),H=l(e),c=p(e,"DIV",{class:!0,style:!0,"data-svelte-h":!0}),C(c)!=="svelte-1qnuvlu"&&(c.innerHTML=D),S=l(e),$=p(e,"P",{"data-svelte-h":!0}),C($)!=="svelte-1ecjchi"&&($.textContent=I),P=l(e),v=p(e,"UL",{"data-svelte-h":!0}),C(v)!=="svelte-1qhp4ud"&&(v.innerHTML=K),k=l(e),_=p(e,"P",{"data-svelte-h":!0}),C(_)!=="svelte-1dzxycb"&&(_.textContent=V),z=l(e),x=p(e,"P",{"data-svelte-h":!0}),C(x)!=="svelte-1skr69n"&&(x.innerHTML=B),E=l(e),R(b.$$.fragment,e),L=l(e),w=p(e,"P",{}),N(w).forEach(s),this.h()},h(){G(r,"name","hf:doc:metadata"),G(r,"content",pe),G(c,"class","flex justify-center"),ie(c,"max-width","550px")},m(e,t){ne(document.head,r),i(e,a,t),i(e,f,t),i(e,m,t),j(n,e,t),i(e,h,t),j(g,e,t),i(e,y,t),i(e,d,t),i(e,H,t),i(e,c,t),i(e,S,t),i(e,$,t),i(e,P,t),i(e,v,t),i(e,k,t),i(e,_,t),i(e,z,t),i(e,x,t),i(e,E,t),j(b,e,t),i(e,L,t),i(e,w,t),M=!0},p(e,[t]){const J={};t&2&&(J.$$scope={dirty:t,ctx:e}),g.$set(J)},i(e){M||(A(n.$$.fragment,e),A(g.$$.fragment,e),A(b.$$.fragment,e),M=!0)},o(e){q(n.$$.fragment,e),q(g.$$.fragment,e),q(b.$$.fragment,e),M=!1},d(e){e&&(s(a),s(f),s(m),s(h),s(y),s(d),s(H),s(c),s(S),s($),s(P),s(v),s(k),s(_),s(z),s(x),s(E),s(L),s(w)),s(r),F(n,e),F(g,e),F(b,e)}}}const pe='{"title":"Resource groups","local":"resource-groups","sections":[],"depth":1}';function me(T){return Y(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class de extends ee{constructor(r){super(),te(this,r,me,ue,X,{})}}export{de as component};
