import{s as V,f as X,n as Z,o as ee}from"../chunks/scheduler.889ebb13.js";import{S as te,i as ie,g as r,s,r as R,A as ne,h as u,f as i,c as a,j as U,u as S,x as T,k as w,y as se,a as n,v as Y,d as j,t as F,w as Q}from"../chunks/index.ca18042b.js";import{H as G}from"../chunks/Heading.3daa581c.js";import{E as ae}from"../chunks/EditOnGithub.2e95618d.js";function le(N){let o,b,v,y,m,q,c,O="Well done on working through the material on <code>smolagents</code>! You’ve already achieved a lot. Now, it’s time to put your knowledge to the test with a quiz. 🧠",z,p,L,f,W="<li>The quiz consists of code questions.</li> <li>You will be given instructions to complete the code snippets.</li> <li>Read the instructions carefully and complete the code snippets accordingly.</li> <li>For each question, you will be given the result and some feedback.</li>",M,h,B="🧘 <strong>This quiz is ungraded and uncertified</strong>. It’s about you understanding the <code>smolagents</code> library and knowing whether you should spend more time on the written material. In the coming units you’ll put this knowledge to the test in use cases and projects.",E,d,D="Let’s get started!",H,g,P,l,J,C,$,K='You can also access the quiz 👉 <a href="https://huggingface.co/spaces/agents-course/unit2_smolagents_quiz" rel="nofollow">here</a>',k,_,I,x,A;return m=new G({props:{title:"Exam Time!",local:"exam-time",headingTag:"h1"}}),p=new G({props:{title:"Instructions",local:"instructions",headingTag:"h2"}}),g=new G({props:{title:"Quiz 🚀",local:"quiz-",headingTag:"h2"}}),_=new ae({props:{source:"https://github.com/huggingface/agents-course/blob/main/units/en/unit2/smolagents/final_quiz.mdx"}}),{c(){o=r("meta"),b=s(),v=r("p"),y=s(),R(m.$$.fragment),q=s(),c=r("p"),c.innerHTML=O,z=s(),R(p.$$.fragment),L=s(),f=r("ul"),f.innerHTML=W,M=s(),h=r("p"),h.innerHTML=B,E=s(),d=r("p"),d.textContent=D,H=s(),R(g.$$.fragment),P=s(),l=r("iframe"),C=s(),$=r("p"),$.innerHTML=K,k=s(),R(_.$$.fragment),I=s(),x=r("p"),this.h()},l(e){const t=ne("svelte-u9bgzb",document.head);o=u(t,"META",{name:!0,content:!0}),t.forEach(i),b=a(e),v=u(e,"P",{}),U(v).forEach(i),y=a(e),S(m.$$.fragment,e),q=a(e),c=u(e,"P",{"data-svelte-h":!0}),T(c)!=="svelte-1e4a18y"&&(c.innerHTML=O),z=a(e),S(p.$$.fragment,e),L=a(e),f=u(e,"UL",{"data-svelte-h":!0}),T(f)!=="svelte-a8pz04"&&(f.innerHTML=W),M=a(e),h=u(e,"P",{"data-svelte-h":!0}),T(h)!=="svelte-x2rixs"&&(h.innerHTML=B),E=a(e),d=u(e,"P",{"data-svelte-h":!0}),T(d)!=="svelte-15musa5"&&(d.textContent=D),H=a(e),S(g.$$.fragment,e),P=a(e),l=u(e,"IFRAME",{src:!0,frameborder:!0,width:!0,height:!0}),U(l).forEach(i),C=a(e),$=u(e,"P",{"data-svelte-h":!0}),T($)!=="svelte-12hr1ri"&&($.innerHTML=K),k=a(e),S(_.$$.fragment,e),I=a(e),x=u(e,"P",{}),U(x).forEach(i),this.h()},h(){w(o,"name","hf:doc:metadata"),w(o,"content",oe),X(l.src,J="https://agents-course-unit2-smolagents-quiz.hf.space")||w(l,"src",J),w(l,"frameborder","0"),w(l,"width","850"),w(l,"height","450")},m(e,t){se(document.head,o),n(e,b,t),n(e,v,t),n(e,y,t),Y(m,e,t),n(e,q,t),n(e,c,t),n(e,z,t),Y(p,e,t),n(e,L,t),n(e,f,t),n(e,M,t),n(e,h,t),n(e,E,t),n(e,d,t),n(e,H,t),Y(g,e,t),n(e,P,t),n(e,l,t),n(e,C,t),n(e,$,t),n(e,k,t),Y(_,e,t),n(e,I,t),n(e,x,t),A=!0},p:Z,i(e){A||(j(m.$$.fragment,e),j(p.$$.fragment,e),j(g.$$.fragment,e),j(_.$$.fragment,e),A=!0)},o(e){F(m.$$.fragment,e),F(p.$$.fragment,e),F(g.$$.fragment,e),F(_.$$.fragment,e),A=!1},d(e){e&&(i(b),i(v),i(y),i(q),i(c),i(z),i(L),i(f),i(M),i(h),i(E),i(d),i(H),i(P),i(l),i(C),i($),i(k),i(I),i(x)),i(o),Q(m,e),Q(p,e),Q(g,e),Q(_,e)}}}const oe='{"title":"Exam Time!","local":"exam-time","sections":[{"title":"Instructions","local":"instructions","sections":[],"depth":2},{"title":"Quiz 🚀","local":"quiz-","sections":[],"depth":2}],"depth":1}';function re(N){return ee(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class fe extends te{constructor(o){super(),ie(this,o,re,le,V,{})}}export{fe as component};
