import{s as l,a as N}from"./scheduler.6452e238.js";import{S as j,i as m,c as z,g as u,n as x,t as f,o as D,p as S,e as w,a as L,f as g,d as r,k as n,m as I,l as Y}from"./index.16d4f4c3.js";import{D as b}from"./DocNotebookDropdown.cefee943.js";function C(i){let s,e,t;return{c(){s=w("a"),e=w("img"),this.h()},l(M){s=L(M,"A",{href:!0,target:!0});var a=g(s);e=L(a,"IMG",{alt:!0,class:!0,src:!0}),a.forEach(r),this.h()},h(){n(e,"alt","Ask a Question"),n(e,"class","!m-0"),N(e.src,t="https://img.shields.io/badge/Ask%20a%20question-ffcb4c.svg?logo=data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgLTEgMTA0IDEwNiI+PGRlZnM+PHN0eWxlPi5jbHMtMXtmaWxsOiMyMzFmMjA7fS5jbHMtMntmaWxsOiNmZmY5YWU7fS5jbHMtM3tmaWxsOiMwMGFlZWY7fS5jbHMtNHtmaWxsOiMwMGE5NGY7fS5jbHMtNXtmaWxsOiNmMTVkMjI7fS5jbHMtNntmaWxsOiNlMzFiMjM7fTwvc3R5bGU+PC9kZWZzPjx0aXRsZT5EaXNjb3Vyc2VfbG9nbzwvdGl0bGU+PGcgaWQ9IkxheWVyXzIiPjxnIGlkPSJMYXllcl8zIj48cGF0aCBjbGFzcz0iY2xzLTEiIGQ9Ik01MS44NywwQzIzLjcxLDAsMCwyMi44MywwLDUxYzAsLjkxLDAsNTIuODEsMCw1Mi44MWw1MS44Ni0uMDVjMjguMTYsMCw1MS0yMy43MSw1MS01MS44N1M4MCwwLDUxLjg3LDBaIi8+PHBhdGggY2xhc3M9ImNscy0yIiBkPSJNNTIuMzcsMTkuNzRBMzEuNjIsMzEuNjIsMCwwLDAsMjQuNTgsNjYuNDFsLTUuNzIsMTguNEwzOS40LDgwLjE3YTMxLjYxLDMxLjYxLDAsMSwwLDEzLTYwLjQzWiIvPjxwYXRoIGNsYXNzPSJjbHMtMyIgZD0iTTc3LjQ1LDMyLjEyYTMxLjYsMzEuNiwwLDAsMS0zOC4wNSw0OEwxOC44Niw4NC44MmwyMC45MS0yLjQ3QTMxLjYsMzEuNiwwLDAsMCw3Ny40NSwzMi4xMloiLz48cGF0aCBjbGFzcz0iY2xzLTQiIGQ9Ik03MS42MywyNi4yOUEzMS42LDMxLjYsMCwwLDEsMzguOCw3OEwxOC44Niw4NC44MiwzOS40LDgwLjE3QTMxLjYsMzEuNiwwLDAsMCw3MS42MywyNi4yOVoiLz48cGF0aCBjbGFzcz0iY2xzLTUiIGQ9Ik0yNi40Nyw2Ny4xMWEzMS42MSwzMS42MSwwLDAsMSw1MS0zNUEzMS42MSwzMS42MSwwLDAsMCwyNC41OCw2Ni40MWwtNS43MiwxOC40WiIvPjxwYXRoIGNsYXNzPSJjbHMtNiIgZD0iTTI0LjU4LDY2LjQxQTMxLjYxLDMxLjYxLDAsMCwxLDcxLjYzLDI2LjI5YTMxLjYxLDMxLjYxLDAsMCwwLTQ5LDM5LjYzbC0zLjc2LDE4LjlaIi8+PC9nPjwvZz48L3N2Zz4=")||n(e,"src",t),n(s,"href",i[2]),n(s,"target","_blank")},m(M,a){I(M,s,a),Y(s,e)},p(M,a){a&4&&n(s,"href",M[2])},d(M){M&&r(s)}}}function y(i){let s,e;return s=new b({props:{options:i[0],classNames:i[1],$$slots:{alwaysVisible:[C]},$$scope:{ctx:i}}}),{c(){z(s.$$.fragment)},l(t){u(s.$$.fragment,t)},m(t,M){x(s,t,M),e=!0},p(t,[M]){const a={};M&1&&(a.options=t[0]),M&2&&(a.classNames=t[1]),M&20&&(a.$$scope={dirty:M,ctx:t}),s.$set(a)},i(t){e||(f(s.$$.fragment,t),e=!0)},o(t){D(s.$$.fragment,t),e=!1},d(t){S(s,t)}}}function h(i,s,e){let{chapter:t}=s,{notebooks:M=[]}=s,{classNames:a=""}=s,{askForHelpUrl:c=`https://discuss.huggingface.co/t/chapter-${t}-questions`}=s;return i.$$set=o=>{"chapter"in o&&e(3,t=o.chapter),"notebooks"in o&&e(0,M=o.notebooks),"classNames"in o&&e(1,a=o.classNames),"askForHelpUrl"in o&&e(2,c=o.askForHelpUrl)},[M,a,c,t]}class G extends j{constructor(s){super(),m(this,s,h,y,l,{chapter:3,notebooks:0,classNames:1,askForHelpUrl:2})}}export{G as C};
