import{s as X,f as Y,n as Z,o as tt}from"../chunks/scheduler.889ebb13.js";import{S as et,i as nt,g as r,s as i,r as R,A as lt,h as u,f as n,c as a,j as N,u as U,x as T,k as v,y as it,a as l,v as k,d as F,t as G,w as I}from"../chunks/index.ca18042b.js";import{H as O,E as at}from"../chunks/index.d845d0a2.js";function st(B){let m,M,x,b,f,H,o,D="恭喜你完成了 <code>smolagents</code> 的学习材料！你已经取得了很多成就。现在，是时候通过一个测验来测试你的知识了。🧠",L,p,P,c,J="<li>测验由代码问题组成。</li> <li>你将得到完成代码片段的指示。</li> <li>仔细阅读指示并相应地完成代码片段。</li> <li>对于每个问题，你将得到结果和一些反馈。</li>",C,$,K="🧘 <strong>这个测验不计分也不提供证书</strong>。这是关于你理解 <code>smolagents</code> 库，并了解你是否应该在书面材料上花更多时间。在接下来的单元中，你将在用例和项目中测试这些知识。",E,h,Q="让我们开始吧！",y,_,z,s,V,q,g,W='你也可以点击👉 <a href="https://huggingface.co/spaces/agents-course/unit2_smolagents_quiz" rel="nofollow">这里</a> 访问测验',A,d,S,w,j;return f=new O({props:{title:"测验时间！",local:"测验时间",headingTag:"h1"}}),p=new O({props:{title:"说明",local:"说明",headingTag:"h2"}}),_=new O({props:{title:"测验 🚀",local:"测验-",headingTag:"h2"}}),d=new at({props:{source:"https://github.com/huggingface/agents-course/blob/main/units/zh-CN/unit2/smolagents/final_quiz.mdx"}}),{c(){m=r("meta"),M=i(),x=r("p"),b=i(),R(f.$$.fragment),H=i(),o=r("p"),o.innerHTML=D,L=i(),R(p.$$.fragment),P=i(),c=r("ul"),c.innerHTML=J,C=i(),$=r("p"),$.innerHTML=K,E=i(),h=r("p"),h.textContent=Q,y=i(),R(_.$$.fragment),z=i(),s=r("iframe"),q=i(),g=r("p"),g.innerHTML=W,A=i(),R(d.$$.fragment),S=i(),w=r("p"),this.h()},l(t){const e=lt("svelte-u9bgzb",document.head);m=u(e,"META",{name:!0,content:!0}),e.forEach(n),M=a(t),x=u(t,"P",{}),N(x).forEach(n),b=a(t),U(f.$$.fragment,t),H=a(t),o=u(t,"P",{"data-svelte-h":!0}),T(o)!=="svelte-ctb20y"&&(o.innerHTML=D),L=a(t),U(p.$$.fragment,t),P=a(t),c=u(t,"UL",{"data-svelte-h":!0}),T(c)!=="svelte-zoomvp"&&(c.innerHTML=J),C=a(t),$=u(t,"P",{"data-svelte-h":!0}),T($)!=="svelte-13vohtx"&&($.innerHTML=K),E=a(t),h=u(t,"P",{"data-svelte-h":!0}),T(h)!=="svelte-izpy37"&&(h.textContent=Q),y=a(t),U(_.$$.fragment,t),z=a(t),s=u(t,"IFRAME",{src:!0,frameborder:!0,width:!0,height:!0}),N(s).forEach(n),q=a(t),g=u(t,"P",{"data-svelte-h":!0}),T(g)!=="svelte-9y1ujm"&&(g.innerHTML=W),A=a(t),U(d.$$.fragment,t),S=a(t),w=u(t,"P",{}),N(w).forEach(n),this.h()},h(){v(m,"name","hf:doc:metadata"),v(m,"content",mt),Y(s.src,V="https://agents-course-unit2-smolagents-quiz.hf.space")||v(s,"src",V),v(s,"frameborder","0"),v(s,"width","850"),v(s,"height","450")},m(t,e){it(document.head,m),l(t,M,e),l(t,x,e),l(t,b,e),k(f,t,e),l(t,H,e),l(t,o,e),l(t,L,e),k(p,t,e),l(t,P,e),l(t,c,e),l(t,C,e),l(t,$,e),l(t,E,e),l(t,h,e),l(t,y,e),k(_,t,e),l(t,z,e),l(t,s,e),l(t,q,e),l(t,g,e),l(t,A,e),k(d,t,e),l(t,S,e),l(t,w,e),j=!0},p:Z,i(t){j||(F(f.$$.fragment,t),F(p.$$.fragment,t),F(_.$$.fragment,t),F(d.$$.fragment,t),j=!0)},o(t){G(f.$$.fragment,t),G(p.$$.fragment,t),G(_.$$.fragment,t),G(d.$$.fragment,t),j=!1},d(t){t&&(n(M),n(x),n(b),n(H),n(o),n(L),n(P),n(c),n(C),n($),n(E),n(h),n(y),n(z),n(s),n(q),n(g),n(A),n(S),n(w)),n(m),I(f,t),I(p,t),I(_,t),I(d,t)}}}const mt='{"title":"测验时间！","local":"测验时间","sections":[{"title":"说明","local":"说明","sections":[],"depth":2},{"title":"测验 🚀","local":"测验-","sections":[],"depth":2}],"depth":1}';function rt(B){return tt(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class pt extends et{constructor(m){super(),nt(this,m,rt,st,X,{})}}export{pt as component};
