import{s as R,n as V,o as B}from"../chunks/scheduler.9cda857a.js";import{S as I,i as J,e as h,s as i,c as L,h as K,a as c,d as a,b as l,f as G,g as M,j as z,k as O,l as N,m as s,n as P,t as E,o as k,p as S}from"../chunks/index.f47f3121.js";import{C as Q}from"../chunks/CopyLLMTxtMenu.676ed699.js";import{H as A,E as W}from"../chunks/MermaidChart.svelte_svelte_type_style_lang.64d112fc.js";function X(F){let n,w,g,_,o,v,r,b,d,U="The Hugging Face Hub is home to a growing collection of datasets that span a variety of domains and tasks. These docs will guide you through interacting with the datasets on the Hub, uploading new datasets, exploring the datasets contents, and using datasets in your projects.",x,m,j='This documentation focuses on the datasets functionality in the Hugging Face Hub and how to use the datasets with supported libraries. For detailed information about the 🤗 Datasets python package, visit the <a href="/docs/datasets/index">🤗 Datasets documentation</a>.',y,f,C,u,q='<li><a href="./datasets-overview">Datasets Overview</a></li> <li><a href="./datasets-cards">Dataset Cards</a></li> <li><a href="./datasets-gated">Gated Datasets</a></li> <li><a href="./datasets-adding">Uploading Datasets</a></li> <li><a href="./datasets-downloading">Downloading Datasets</a></li> <li><a href="./datasets-libraries">Libraries</a></li> <li><a href="./datasets-viewer">Dataset Viewer</a></li> <li><a href="./datasets-data-files-configuration">Data files Configuration</a></li>',D,p,H,$,T;return o=new Q({props:{containerStyle:"float: right; margin-left: 10px; display: inline-flex; position: relative; z-index: 10;"}}),r=new A({props:{title:"Datasets",local:"datasets",headingTag:"h1"}}),f=new A({props:{title:"Contents",local:"contents",headingTag:"h2"}}),p=new W({props:{source:"https://github.com/huggingface/hub-docs/blob/main/docs/hub/datasets.md"}}),{c(){n=h("meta"),w=i(),g=h("p"),_=i(),L(o.$$.fragment),v=i(),L(r.$$.fragment),b=i(),d=h("p"),d.textContent=U,x=i(),m=h("p"),m.innerHTML=j,y=i(),L(f.$$.fragment),C=i(),u=h("ul"),u.innerHTML=q,D=i(),L(p.$$.fragment),H=i(),$=h("p"),this.h()},l(t){const e=K("svelte-u9bgzb",document.head);n=c(e,"META",{name:!0,content:!0}),e.forEach(a),w=l(t),g=c(t,"P",{}),G(g).forEach(a),_=l(t),M(o.$$.fragment,t),v=l(t),M(r.$$.fragment,t),b=l(t),d=c(t,"P",{"data-svelte-h":!0}),z(d)!=="svelte-1qw7nlk"&&(d.textContent=U),x=l(t),m=c(t,"P",{"data-svelte-h":!0}),z(m)!=="svelte-v4ohd0"&&(m.innerHTML=j),y=l(t),M(f.$$.fragment,t),C=l(t),u=c(t,"UL",{"data-svelte-h":!0}),z(u)!=="svelte-15i6dzu"&&(u.innerHTML=q),D=l(t),M(p.$$.fragment,t),H=l(t),$=c(t,"P",{}),G($).forEach(a),this.h()},h(){O(n,"name","hf:doc:metadata"),O(n,"content",Y)},m(t,e){N(document.head,n),s(t,w,e),s(t,g,e),s(t,_,e),P(o,t,e),s(t,v,e),P(r,t,e),s(t,b,e),s(t,d,e),s(t,x,e),s(t,m,e),s(t,y,e),P(f,t,e),s(t,C,e),s(t,u,e),s(t,D,e),P(p,t,e),s(t,H,e),s(t,$,e),T=!0},p:V,i(t){T||(E(o.$$.fragment,t),E(r.$$.fragment,t),E(f.$$.fragment,t),E(p.$$.fragment,t),T=!0)},o(t){k(o.$$.fragment,t),k(r.$$.fragment,t),k(f.$$.fragment,t),k(p.$$.fragment,t),T=!1},d(t){t&&(a(w),a(g),a(_),a(v),a(b),a(d),a(x),a(m),a(y),a(C),a(u),a(D),a(H),a($)),a(n),S(o,t),S(r,t),S(f,t),S(p,t)}}}const Y='{"title":"Datasets","local":"datasets","sections":[{"title":"Contents","local":"contents","sections":[],"depth":2}],"depth":1}';function Z(F){return B(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class nt extends I{constructor(n){super(),J(this,n,Z,X,R,{})}}export{nt as component};
