import{s as L,n as I,o as G}from"../chunks/scheduler.9cda857a.js";import{S as U,i as j,e as w,s as u,c as P,h as q,a as S,d as a,b as f,f as T,g as x,j as D,k as v,l as B,m as i,n as M,t as k,o as E,p as H}from"../chunks/index.003612b0.js";import{C as R}from"../chunks/CopyLLMTxtMenu.44d08a39.js";import{H as A,E as W}from"../chunks/MermaidChart.svelte_svelte_type_style_lang.e5cfda8c.js";function F(O){let n,h,c,g,r,$,s,d,l,b,o,C='<li><a href="./organizations">Organizations</a> <ul><li><a href="./organizations-managing">Managing Organizations</a></li> <li><a href="./organizations-cards">Organization Cards</a></li> <li><a href="./organizations-security">Access control in organizations</a></li></ul></li> <li><a href="./enterprise-hub">Enterprise Hub</a></li> <li><a href="./moderation">Moderation</a></li> <li><a href="./billing">Billing</a></li> <li><a href="./doi">Digital Object Identifier (DOI)</a></li> <li><a href="./security">Security</a> <ul><li><a href="./security-tokens">User Access Tokens</a></li> <li><a href="./security-gpg">Signing commits with GPG</a></li> <li><a href="./security-malware">Malware Scanning</a></li> <li><a href="./security-pickle">Pickle Scanning</a></li></ul></li> <li><a href="./api">Hub API Endpoints</a> <ul><li><a href="./webhooks">Webhooks</a></li></ul></li>',y,m,_,p,z;return r=new R({props:{containerStyle:"float: right; margin-left: 10px; display: inline-flex; position: relative; z-index: 10;"}}),s=new A({props:{title:"Organizations, Security, and the Hub API",local:"organizations-security-and-the-hub-api",headingTag:"h1"}}),l=new A({props:{title:"Contents",local:"contents",headingTag:"h2"}}),m=new W({props:{source:"https://github.com/huggingface/hub-docs/blob/main/docs/hub/other.md"}}),{c(){n=w("meta"),h=u(),c=w("p"),g=u(),P(r.$$.fragment),$=u(),P(s.$$.fragment),d=u(),P(l.$$.fragment),b=u(),o=w("ul"),o.innerHTML=C,y=u(),P(m.$$.fragment),_=u(),p=w("p"),this.h()},l(t){const e=q("svelte-u9bgzb",document.head);n=S(e,"META",{name:!0,content:!0}),e.forEach(a),h=f(t),c=S(t,"P",{}),T(c).forEach(a),g=f(t),x(r.$$.fragment,t),$=f(t),x(s.$$.fragment,t),d=f(t),x(l.$$.fragment,t),b=f(t),o=S(t,"UL",{"data-svelte-h":!0}),D(o)!=="svelte-wqkyi7"&&(o.innerHTML=C),y=f(t),x(m.$$.fragment,t),_=f(t),p=S(t,"P",{}),T(p).forEach(a),this.h()},h(){v(n,"name","hf:doc:metadata"),v(n,"content",J)},m(t,e){B(document.head,n),i(t,h,e),i(t,c,e),i(t,g,e),M(r,t,e),i(t,$,e),M(s,t,e),i(t,d,e),M(l,t,e),i(t,b,e),i(t,o,e),i(t,y,e),M(m,t,e),i(t,_,e),i(t,p,e),z=!0},p:I,i(t){z||(k(r.$$.fragment,t),k(s.$$.fragment,t),k(l.$$.fragment,t),k(m.$$.fragment,t),z=!0)},o(t){E(r.$$.fragment,t),E(s.$$.fragment,t),E(l.$$.fragment,t),E(m.$$.fragment,t),z=!1},d(t){t&&(a(h),a(c),a(g),a($),a(d),a(b),a(o),a(y),a(_),a(p)),a(n),H(r,t),H(s,t),H(l,t),H(m,t)}}}const J='{"title":"Organizations, Security, and the Hub API","local":"organizations-security-and-the-hub-api","sections":[{"title":"Contents","local":"contents","sections":[],"depth":2}],"depth":1}';function K(O){return G(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class Y extends U{constructor(n){super(),j(this,n,K,F,L,{})}}export{Y as component};
