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