import{s as N,y as Q,n as V,o as W}from"../chunks/scheduler.d6170356.js";import{S as X,i as Y,g as l,s as i,r as R,A as Z,h as o,f as a,c as n,j as U,u as z,x as _,k as b,y as ee,a as s,v as B,d as D,t as I,w as J}from"../chunks/index.fcd4cc08.js";import{H as K}from"../chunks/Heading.8660bd0e.js";function te(A){let r,w,y,H,c,S,u,E='The Hugging Face Hub offers several security features to ensure that your code and data are secure. Beyond offering <a href="./repositories-settings#private-repositories">private repositories</a> for models, datasets, and Spaces, the Hub supports access tokens, commit signatures, and malware scanning.',$,m,G='Hugging Face is GDPR compliant. If a contract or specific data storage is something you’ll need, we recommend taking a look at our <a href="https://huggingface.co/support" rel="nofollow">Expert Acceleration Program</a>. Hugging Face can also offer Business Associate Addendums or GDPR data processing agreements through an <a href="https://huggingface.co/pricing" rel="nofollow">Enterprise Plan</a>.',P,f,q='Hugging Face is also <a href="https://us.aicpa.org/interestareas/frc/assuranceadvisoryservices/aicpasoc2report.html" rel="nofollow">SOC2 Type 2 certified</a>, meaning we provide security certification to our customers and actively monitor and patch any security weaknesses.',T,p,F,M,g,j='For any other security questions, please feel free to send us an email at <a href="mailto:security@huggingface.co">security@huggingface.co</a>.',x,h,L,d,O='<li><a href="./security-tokens">User Access Tokens</a></li> <li><a href="./security-git-ssh">Git over SSH</a></li> <li><a href="./security-gpg">Signing commits with GPG</a></li> <li><a href="./security-sso">Single Sign-On (SSO)</a></li> <li><a href="./security-malware">Malware Scanning</a></li> <li><a href="./security-pickle">Pickle Scanning</a></li> <li><a href="./security-secrets">Secrets Scanning</a></li>',k,v,C;return c=new K({props:{title:"Security",local:"security",headingTag:"h1"}}),h=new K({props:{title:"Contents",local:"contents",headingTag:"h2"}}),{c(){r=l("meta"),w=i(),y=l("p"),H=i(),R(c.$$.fragment),S=i(),u=l("p"),u.innerHTML=E,$=i(),m=l("p"),m.innerHTML=G,P=i(),f=l("p"),f.innerHTML=q,T=i(),p=l("img"),M=i(),g=l("p"),g.innerHTML=j,x=i(),R(h.$$.fragment),L=i(),d=l("ul"),d.innerHTML=O,k=i(),v=l("p"),this.h()},l(e){const t=Z("svelte-u9bgzb",document.head);r=o(t,"META",{name:!0,content:!0}),t.forEach(a),w=n(e),y=o(e,"P",{}),U(y).forEach(a),H=n(e),z(c.$$.fragment,e),S=n(e),u=o(e,"P",{"data-svelte-h":!0}),_(u)!=="svelte-1p6ovuq"&&(u.innerHTML=E),$=n(e),m=o(e,"P",{"data-svelte-h":!0}),_(m)!=="svelte-1xmj4ws"&&(m.innerHTML=G),P=n(e),f=o(e,"P",{"data-svelte-h":!0}),_(f)!=="svelte-xabzm8"&&(f.innerHTML=q),T=n(e),p=o(e,"IMG",{width:!0,src:!0}),M=n(e),g=o(e,"P",{"data-svelte-h":!0}),_(g)!=="svelte-jiqoom"&&(g.innerHTML=j),x=n(e),z(h.$$.fragment,e),L=n(e),d=o(e,"UL",{"data-svelte-h":!0}),_(d)!=="svelte-gm8n54"&&(d.innerHTML=O),k=n(e),v=o(e,"P",{}),U(v).forEach(a),this.h()},h(){b(r,"name","hf:doc:metadata"),b(r,"content",ae),b(p,"width","150"),Q(p.src,F="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/security-soc-1.jpg")||b(p,"src",F)},m(e,t){ee(document.head,r),s(e,w,t),s(e,y,t),s(e,H,t),B(c,e,t),s(e,S,t),s(e,u,t),s(e,$,t),s(e,m,t),s(e,P,t),s(e,f,t),s(e,T,t),s(e,p,t),s(e,M,t),s(e,g,t),s(e,x,t),B(h,e,t),s(e,L,t),s(e,d,t),s(e,k,t),s(e,v,t),C=!0},p:V,i(e){C||(D(c.$$.fragment,e),D(h.$$.fragment,e),C=!0)},o(e){I(c.$$.fragment,e),I(h.$$.fragment,e),C=!1},d(e){e&&(a(w),a(y),a(H),a(S),a(u),a($),a(m),a(P),a(f),a(T),a(p),a(M),a(g),a(x),a(L),a(d),a(k),a(v)),a(r),J(c,e),J(h,e)}}}const ae='{"title":"Security","local":"security","sections":[{"title":"Contents","local":"contents","sections":[],"depth":2}],"depth":1}';function se(A){return W(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class le extends X{constructor(r){super(),Y(this,r,se,te,N,{})}}export{le as component};
