import{s as K,n as tt,o as et}from"../chunks/scheduler.9cda857a.js";import{S as at,i as nt,e as i,s,c as A,h as st,a as o,d as a,b as l,f as Q,g as G,j as $,k as N,l as lt,m as n,n as I,t as P,o as S,p as D}from"../chunks/index.f47f3121.js";import{C as it}from"../chunks/CopyLLMTxtMenu.676ed699.js";import{C as ot}from"../chunks/CodeBlock.24d62f98.js";import{H as rt,E as ct}from"../chunks/MermaidChart.svelte_svelte_type_style_lang.64d112fc.js";function pt(V){let r,x,T,z,p,v,m,j,u,F="You can create an organization card to help users learn more about what your organization is working on and how users can use your libraries, models, datasets, and Spaces.",E,g,W="An organization card is displayed on an organization’s profile:",_,c,Y='<img class="block dark:hidden" src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/org-card.png"/> <img class="hidden dark:block" src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/org-card-dark.png"/>',C,d,B="If you’re a member of an organization, you’ll see a button to create or edit your organization card on the organization’s main page. Organization cards are a <code>README.md</code> static file inside a Space repo named <code>README</code>. The card can be as simple as Markdown text, or you can create a more customized appearance with HTML.",U,f,q='The card for the <a href="https://huggingface.co/huggingface-course" rel="nofollow">Hugging Face Course organization</a>, shown above, <a href="https://huggingface.co/spaces/huggingface-course/README/blob/main/README.md" rel="nofollow">contains the following HTML</a>:',H,h,J,M,X="For more examples, take a look at:",k,y,O='<li><a href="https://huggingface.co/spaces/amazon/README/blob/main/README.md" rel="nofollow">Amazon’s</a> organization card source code</li> <li><a href="https://huggingface.co/spaces/spacy/README/blob/main/README.md" rel="nofollow">spaCy’s</a> organization card source code.</li>',L,b,Z,w,R;return p=new it({props:{containerStyle:"float: right; margin-left: 10px; display: inline-flex; position: relative; z-index: 10;"}}),m=new rt({props:{title:"Organization cards",local:"organization-cards",headingTag:"h1"}}),h=new ot({props:{code:"JTNDcCUzRSUwQVRoaXMlMjBpcyUyMHRoZSUyMG9yZ2FuaXphdGlvbiUyMGdyb3VwaW5nJTIwYWxsJTIwdGhlJTIwbW9kZWxzJTIwYW5kJTIwZGF0YXNldHMlMjB1c2VkJTIwaW4lMjB0aGUlMjAlM0NhJTIwaHJlZiUzRCUyMmh0dHBzJTNBJTJGJTJGaHVnZ2luZ2ZhY2UuY28lMkZjb3Vyc2UlMkZjaGFwdGVyMSUyMiUyMGNsYXNzJTNEJTIydW5kZXJsaW5lJTIyJTNFSHVnZ2luZyUyMEZhY2UlMjBjb3Vyc2UlM0MlMkZhJTNFLiUwQSUzQyUyRnAlM0U=",highlighted:`<span class="hljs-tag">&lt;<span class="hljs-name">p</span>&gt;</span>
This is the organization grouping all the models and datasets used in the <span class="hljs-tag">&lt;<span class="hljs-name">a</span> <span class="hljs-attr">href</span>=<span class="hljs-string">&quot;https://huggingface.co/course/chapter1&quot;</span> <span class="hljs-attr">class</span>=<span class="hljs-string">&quot;underline&quot;</span>&gt;</span>Hugging Face course<span class="hljs-tag">&lt;/<span class="hljs-name">a</span>&gt;</span>.
<span class="hljs-tag">&lt;/<span class="hljs-name">p</span>&gt;</span>`,wrap:!1}}),b=new ct({props:{source:"https://github.com/huggingface/hub-docs/blob/main/docs/hub/organizations-cards.md"}}),{c(){r=i("meta"),x=s(),T=i("p"),z=s(),A(p.$$.fragment),v=s(),A(m.$$.fragment),j=s(),u=i("p"),u.textContent=F,E=s(),g=i("p"),g.textContent=W,_=s(),c=i("div"),c.innerHTML=Y,C=s(),d=i("p"),d.innerHTML=B,U=s(),f=i("p"),f.innerHTML=q,H=s(),A(h.$$.fragment),J=s(),M=i("p"),M.textContent=X,k=s(),y=i("ul"),y.innerHTML=O,L=s(),A(b.$$.fragment),Z=s(),w=i("p"),this.h()},l(t){const e=st("svelte-u9bgzb",document.head);r=o(e,"META",{name:!0,content:!0}),e.forEach(a),x=l(t),T=o(t,"P",{}),Q(T).forEach(a),z=l(t),G(p.$$.fragment,t),v=l(t),G(m.$$.fragment,t),j=l(t),u=o(t,"P",{"data-svelte-h":!0}),$(u)!=="svelte-181uxj6"&&(u.textContent=F),E=l(t),g=o(t,"P",{"data-svelte-h":!0}),$(g)!=="svelte-13ll3i3"&&(g.textContent=W),_=l(t),c=o(t,"DIV",{class:!0,"data-svelte-h":!0}),$(c)!=="svelte-ub7mdj"&&(c.innerHTML=Y),C=l(t),d=o(t,"P",{"data-svelte-h":!0}),$(d)!=="svelte-1x02x4r"&&(d.innerHTML=B),U=l(t),f=o(t,"P",{"data-svelte-h":!0}),$(f)!=="svelte-11yev66"&&(f.innerHTML=q),H=l(t),G(h.$$.fragment,t),J=l(t),M=o(t,"P",{"data-svelte-h":!0}),$(M)!=="svelte-b64p11"&&(M.textContent=X),k=l(t),y=o(t,"UL",{"data-svelte-h":!0}),$(y)!=="svelte-nn8qai"&&(y.innerHTML=O),L=l(t),G(b.$$.fragment,t),Z=l(t),w=o(t,"P",{}),Q(w).forEach(a),this.h()},h(){N(r,"name","hf:doc:metadata"),N(r,"content",mt),N(c,"class","flex justify-center")},m(t,e){lt(document.head,r),n(t,x,e),n(t,T,e),n(t,z,e),I(p,t,e),n(t,v,e),I(m,t,e),n(t,j,e),n(t,u,e),n(t,E,e),n(t,g,e),n(t,_,e),n(t,c,e),n(t,C,e),n(t,d,e),n(t,U,e),n(t,f,e),n(t,H,e),I(h,t,e),n(t,J,e),n(t,M,e),n(t,k,e),n(t,y,e),n(t,L,e),I(b,t,e),n(t,Z,e),n(t,w,e),R=!0},p:tt,i(t){R||(P(p.$$.fragment,t),P(m.$$.fragment,t),P(h.$$.fragment,t),P(b.$$.fragment,t),R=!0)},o(t){S(p.$$.fragment,t),S(m.$$.fragment,t),S(h.$$.fragment,t),S(b.$$.fragment,t),R=!1},d(t){t&&(a(x),a(T),a(z),a(v),a(j),a(u),a(E),a(g),a(_),a(c),a(C),a(d),a(U),a(f),a(H),a(J),a(M),a(k),a(y),a(L),a(Z),a(w)),a(r),D(p,t),D(m,t),D(h,t),D(b,t)}}}const mt='{"title":"Organization cards","local":"organization-cards","sections":[],"depth":1}';function ut(V){return et(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class yt extends at{constructor(r){super(),nt(this,r,ut,pt,K,{})}}export{yt as component};
