import{s as F,o as G,n as J}from"../chunks/scheduler.d6170356.js";import{S as K,i as N,g as d,s as c,r as L,A as O,h,f as a,c as m,j as A,u as S,x as $,k as b,y as Q,a as n,v as q,d as I,t as j,w as R,m as U,n as B}from"../chunks/index.fcd4cc08.js";import{T as W}from"../chunks/Tip.b09c67cf.js";import{H as X}from"../chunks/Heading.8660bd0e.js";function Y(x){let i,r,l="Enterprise Hub",o;return{c(){i=U("This feature is part of the "),r=d("a"),r.textContent=l,o=U("."),this.h()},l(s){i=B(s,"This feature is part of the "),r=h(s,"A",{href:!0,target:!0,"data-svelte-h":!0}),$(r)!=="svelte-170ex92"&&(r.textContent=l),o=B(s,"."),this.h()},h(){b(r,"href","https://huggingface.co/enterprise"),b(r,"target","_blank")},m(s,p){n(s,i,p),n(s,r,p),n(s,o,p)},p:J,d(s){s&&(a(i),a(r),a(o))}}}function Z(x){let i,r,l,o,s,p,f,T,v,D="The Dataset Viewer is enabled on private datasets owned by an Enterprise Hub organization.",C,g,E="The Dataset Viewer allows teams to understand their data and to help them build better data processing and filtering for AI. The Viewer allows to explore the datasets content, inspect data distributions, filter by values and even search for keywords. It also includes the datasets conversion to Parquet which can be used for programmatic data visualization.",k,w,V='See <a href="./datasets-viewer">Dataset Viewer</a> for more information.',H,u,M='<img class="block dark:hidden" src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/private-dataset-viewer.png" alt="screenshot of the Dataset Viewer on a private dataset owned by an Enterprise Hub organization."/> <img class="hidden dark:block" src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/private-dataset-viewer-dark.png" alt="screenshot of the Dataset Viewer on a private dataset owned by an Enterprise Hub organization."/>',P,_,y;return s=new X({props:{title:"Datasets",local:"datasets",headingTag:"h1"}}),f=new W({props:{warning:!0,$$slots:{default:[Y]},$$scope:{ctx:x}}}),{c(){i=d("meta"),r=c(),l=d("p"),o=c(),L(s.$$.fragment),p=c(),L(f.$$.fragment),T=c(),v=d("p"),v.textContent=D,C=c(),g=d("p"),g.textContent=E,k=c(),w=d("p"),w.innerHTML=V,H=c(),u=d("div"),u.innerHTML=M,P=c(),_=d("p"),this.h()},l(t){const e=O("svelte-u9bgzb",document.head);i=h(e,"META",{name:!0,content:!0}),e.forEach(a),r=m(t),l=h(t,"P",{}),A(l).forEach(a),o=m(t),S(s.$$.fragment,t),p=m(t),S(f.$$.fragment,t),T=m(t),v=h(t,"P",{"data-svelte-h":!0}),$(v)!=="svelte-wvk5sr"&&(v.textContent=D),C=m(t),g=h(t,"P",{"data-svelte-h":!0}),$(g)!=="svelte-1rdqk5u"&&(g.textContent=E),k=m(t),w=h(t,"P",{"data-svelte-h":!0}),$(w)!=="svelte-mfebvx"&&(w.innerHTML=V),H=m(t),u=h(t,"DIV",{class:!0,"data-svelte-h":!0}),$(u)!=="svelte-1e4562v"&&(u.innerHTML=M),P=m(t),_=h(t,"P",{}),A(_).forEach(a),this.h()},h(){b(i,"name","hf:doc:metadata"),b(i,"content",tt),b(u,"class","flex justify-center")},m(t,e){Q(document.head,i),n(t,r,e),n(t,l,e),n(t,o,e),q(s,t,e),n(t,p,e),q(f,t,e),n(t,T,e),n(t,v,e),n(t,C,e),n(t,g,e),n(t,k,e),n(t,w,e),n(t,H,e),n(t,u,e),n(t,P,e),n(t,_,e),y=!0},p(t,[e]){const z={};e&2&&(z.$$scope={dirty:e,ctx:t}),f.$set(z)},i(t){y||(I(s.$$.fragment,t),I(f.$$.fragment,t),y=!0)},o(t){j(s.$$.fragment,t),j(f.$$.fragment,t),y=!1},d(t){t&&(a(r),a(l),a(o),a(p),a(T),a(v),a(C),a(g),a(k),a(w),a(H),a(u),a(P),a(_)),a(i),R(s,t),R(f,t)}}}const tt='{"title":"Datasets","local":"datasets","sections":[],"depth":1}';function et(x){return G(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class rt extends K{constructor(i){super(),N(this,i,et,Z,F,{})}}export{rt as component};
