import{s as J,o as K,n as N}from"../chunks/scheduler.d6170356.js";import{S as Q,i as W,g as m,s,r as E,A as X,h as g,f as n,c as r,j as B,u as j,x as y,k as z,y as Y,a as o,v as A,d as S,t as q,w as D}from"../chunks/index.fcd4cc08.js";import{T as Z}from"../chunks/Tip.b09c67cf.js";import{H as I}from"../chunks/Heading.8660bd0e.js";function ee(T){let a,u='Check out the <a href="https://huggingface.co/code-of-conduct" rel="nofollow">Code of Conduct</a> and the <a href="https://huggingface.co/content-guidelines" rel="nofollow">Content Guidelines</a>.';return{c(){a=m("p"),a.innerHTML=u},l(i){a=g(i,"P",{"data-svelte-h":!0}),y(a)!=="svelte-1j9bf40"&&(a.innerHTML=u)},m(i,_){o(i,a,_)},p:N,d(i){i&&n(a)}}}function te(T){let a,u,i,_,f,k,l,b,h,x,d,V="To report a repository, you can click the three dots at the top right of a repository. Afterwards, you can click “Report the repository”. This will allow you to explain what’s the reason behind the report (Ethical issue, legal issue, not working, or other) and a description for the report. Once you do this, a <strong>public discussion</strong> will be opened.",C,c,F='<img class="block dark:hidden" src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/repository-report.png"/> <img class="hidden dark:block" src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/repository-report-dark.png"/>',M,$,H,v,G="To report a comment, you can click the three dots at the top right of a comment. That will submit a request for the Hugging Face team to review.",L,p,O='<img class="block dark:hidden" src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/comment-report.png"/> <img class="hidden dark:block" src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/comment-report-dark.png"/>',P,w,R;return f=new I({props:{title:"Moderation",local:"moderation",headingTag:"h1"}}),l=new Z({props:{$$slots:{default:[ee]},$$scope:{ctx:T}}}),h=new I({props:{title:"Reporting a repository",local:"reporting-a-repository",headingTag:"h2"}}),$=new I({props:{title:"Reporting a comment",local:"reporting-a-comment",headingTag:"h2"}}),{c(){a=m("meta"),u=s(),i=m("p"),_=s(),E(f.$$.fragment),k=s(),E(l.$$.fragment),b=s(),E(h.$$.fragment),x=s(),d=m("p"),d.innerHTML=V,C=s(),c=m("div"),c.innerHTML=F,M=s(),E($.$$.fragment),H=s(),v=m("p"),v.textContent=G,L=s(),p=m("div"),p.innerHTML=O,P=s(),w=m("p"),this.h()},l(e){const t=X("svelte-u9bgzb",document.head);a=g(t,"META",{name:!0,content:!0}),t.forEach(n),u=r(e),i=g(e,"P",{}),B(i).forEach(n),_=r(e),j(f.$$.fragment,e),k=r(e),j(l.$$.fragment,e),b=r(e),j(h.$$.fragment,e),x=r(e),d=g(e,"P",{"data-svelte-h":!0}),y(d)!=="svelte-1eew36c"&&(d.innerHTML=V),C=r(e),c=g(e,"DIV",{class:!0,"data-svelte-h":!0}),y(c)!=="svelte-r146z3"&&(c.innerHTML=F),M=r(e),j($.$$.fragment,e),H=r(e),v=g(e,"P",{"data-svelte-h":!0}),y(v)!=="svelte-15zz6u6"&&(v.textContent=G),L=r(e),p=g(e,"DIV",{class:!0,"data-svelte-h":!0}),y(p)!=="svelte-8mcg15"&&(p.innerHTML=O),P=r(e),w=g(e,"P",{}),B(w).forEach(n),this.h()},h(){z(a,"name","hf:doc:metadata"),z(a,"content",ne),z(c,"class","flex justify-center"),z(p,"class","flex justify-center")},m(e,t){Y(document.head,a),o(e,u,t),o(e,i,t),o(e,_,t),A(f,e,t),o(e,k,t),A(l,e,t),o(e,b,t),A(h,e,t),o(e,x,t),o(e,d,t),o(e,C,t),o(e,c,t),o(e,M,t),A($,e,t),o(e,H,t),o(e,v,t),o(e,L,t),o(e,p,t),o(e,P,t),o(e,w,t),R=!0},p(e,[t]){const U={};t&2&&(U.$$scope={dirty:t,ctx:e}),l.$set(U)},i(e){R||(S(f.$$.fragment,e),S(l.$$.fragment,e),S(h.$$.fragment,e),S($.$$.fragment,e),R=!0)},o(e){q(f.$$.fragment,e),q(l.$$.fragment,e),q(h.$$.fragment,e),q($.$$.fragment,e),R=!1},d(e){e&&(n(u),n(i),n(_),n(k),n(b),n(x),n(d),n(C),n(c),n(M),n(H),n(v),n(L),n(p),n(P),n(w)),n(a),D(f,e),D(l,e),D(h,e),D($,e)}}}const ne='{"title":"Moderation","local":"moderation","sections":[{"title":"Reporting a repository","local":"reporting-a-repository","sections":[],"depth":2},{"title":"Reporting a comment","local":"reporting-a-comment","sections":[],"depth":2}],"depth":1}';function ae(T){return K(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class le extends Q{constructor(a){super(),W(this,a,ae,te,J,{})}}export{le as component};
