import{s as I,n as N,o as O}from"../chunks/scheduler.d6170356.js";import{S as U,i as B,g as m,s as o,r as k,A as F,h as f,f as s,c as n,j as z,u as C,x as S,k as A,y as W,a as i,v as L,d as q,t as M,w as T}from"../chunks/index.fcd4cc08.js";import{H as D,E as J}from"../chunks/getInferenceSnippets.0f6acb26.js";function K(E){let a,$,d,w,r,b,l,R='Models, Spaces, and Datasets are hosted on the Hugging Face Hub as <a href="https://git-scm.com/about" rel="nofollow">Git repositories</a>, which means that version control and collaboration are core elements of the Hub. In a nutshell, a repository (also known as a <strong>repo</strong>) is a place where code and assets can be stored to back up your work, share it with the community, and work in a team.',_,p,G="In these pages, you will go over the basics of getting started with Git and interacting with repositories on the Hub. Once you get the hang of it, you can explore the best practices and next steps that we’ve compiled for effective repository usage.",v,c,x,u,j='<li><a href="./repositories-getting-started">Getting Started with Repositories</a></li> <li><a href="./repositories-settings">Settings</a></li> <li><a href="./repositories-pull-requests-discussions">Pull Requests &amp; Discussions</a><ul><li><a href="./repositories-pull-requests-discussions#pull-requests-advanced-usage">Pull Requests advanced usage</a></li></ul></li> <li><a href="./webhooks">Webhooks</a></li> <li><a href="./notifications">Notifications</a></li> <li><a href="./collections">Collections</a></li> <li><a href="./storage-backends">Storage Backends</a></li> <li><a href="./storage-limits">Storage Limits</a></li> <li><a href="./repositories-next-steps">Next Steps</a></li> <li><a href="./repositories-licenses">Licenses</a></li>',y,h,H,g,P;return r=new D({props:{title:"Repositories",local:"repositories",headingTag:"h1"}}),c=new D({props:{title:"Contents",local:"contents",headingTag:"h2"}}),h=new J({props:{source:"https://github.com/huggingface/hub-docs/blob/main/docs/hub/repositories.md"}}),{c(){a=m("meta"),$=o(),d=m("p"),w=o(),k(r.$$.fragment),b=o(),l=m("p"),l.innerHTML=R,_=o(),p=m("p"),p.textContent=G,v=o(),k(c.$$.fragment),x=o(),u=m("ul"),u.innerHTML=j,y=o(),k(h.$$.fragment),H=o(),g=m("p"),this.h()},l(e){const t=F("svelte-u9bgzb",document.head);a=f(t,"META",{name:!0,content:!0}),t.forEach(s),$=n(e),d=f(e,"P",{}),z(d).forEach(s),w=n(e),C(r.$$.fragment,e),b=n(e),l=f(e,"P",{"data-svelte-h":!0}),S(l)!=="svelte-w1q459"&&(l.innerHTML=R),_=n(e),p=f(e,"P",{"data-svelte-h":!0}),S(p)!=="svelte-7yeslz"&&(p.textContent=G),v=n(e),C(c.$$.fragment,e),x=n(e),u=f(e,"UL",{"data-svelte-h":!0}),S(u)!=="svelte-1dj7rii"&&(u.innerHTML=j),y=n(e),C(h.$$.fragment,e),H=n(e),g=f(e,"P",{}),z(g).forEach(s),this.h()},h(){A(a,"name","hf:doc:metadata"),A(a,"content",Q)},m(e,t){W(document.head,a),i(e,$,t),i(e,d,t),i(e,w,t),L(r,e,t),i(e,b,t),i(e,l,t),i(e,_,t),i(e,p,t),i(e,v,t),L(c,e,t),i(e,x,t),i(e,u,t),i(e,y,t),L(h,e,t),i(e,H,t),i(e,g,t),P=!0},p:N,i(e){P||(q(r.$$.fragment,e),q(c.$$.fragment,e),q(h.$$.fragment,e),P=!0)},o(e){M(r.$$.fragment,e),M(c.$$.fragment,e),M(h.$$.fragment,e),P=!1},d(e){e&&(s($),s(d),s(w),s(b),s(l),s(_),s(p),s(v),s(x),s(u),s(y),s(H),s(g)),s(a),T(r,e),T(c,e),T(h,e)}}}const Q='{"title":"Repositories","local":"repositories","sections":[{"title":"Contents","local":"contents","sections":[],"depth":2}],"depth":1}';function V(E){return O(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class ee extends U{constructor(a){super(),B(this,a,V,K,I,{})}}export{ee as component};
