import{s as z,n as A,o as R}from"../chunks/scheduler.505acc25.js";import{S as j,i as k,e as x,s as l,c as w,h as q,a as E,d as n,b as p,f as H,g as y,j as D,k as S,l as G,m as s,n as M,t as P,o as v,p as C}from"../chunks/index.b1175496.js";import{C as N,H as O}from"../chunks/Heading.eda51538.js";import{E as U}from"../chunks/MermaidChart.svelte_svelte_type_style_lang.ea377ea6.js";function B(L){let a,u,f,$,i,h,o,d,r,T='您可以在 hf.co/learn 上访问第 1 单元 👉 <a href="https://hf.co/learn/agents-course/unit1/introduction">此处</a>',g,m,_,c,b;return i=new N({props:{containerStyle:"float: right; margin-left: 10px; display: inline-flex; position: relative; z-index: 10;"}}),o=new O({props:{title:"目录",local:"目录",headingTag:"h1"}}),m=new U({props:{source:"https://github.com/huggingface/agents-course/blob/main/units/zh-CN/unit1/README.md"}}),{c(){a=x("meta"),u=l(),f=x("p"),$=l(),w(i.$$.fragment),h=l(),w(o.$$.fragment),d=l(),r=x("p"),r.innerHTML=T,g=l(),w(m.$$.fragment),_=l(),c=x("p"),this.h()},l(t){const e=q("svelte-u9bgzb",document.head);a=E(e,"META",{name:!0,content:!0}),e.forEach(n),u=p(t),f=E(t,"P",{}),H(f).forEach(n),$=p(t),y(i.$$.fragment,t),h=p(t),y(o.$$.fragment,t),d=p(t),r=E(t,"P",{"data-svelte-h":!0}),D(r)!=="svelte-pcb6cg"&&(r.innerHTML=T),g=p(t),y(m.$$.fragment,t),_=p(t),c=E(t,"P",{}),H(c).forEach(n),this.h()},h(){S(a,"name","hf:doc:metadata"),S(a,"content",F)},m(t,e){G(document.head,a),s(t,u,e),s(t,f,e),s(t,$,e),M(i,t,e),s(t,h,e),M(o,t,e),s(t,d,e),s(t,r,e),s(t,g,e),M(m,t,e),s(t,_,e),s(t,c,e),b=!0},p:A,i(t){b||(P(i.$$.fragment,t),P(o.$$.fragment,t),P(m.$$.fragment,t),b=!0)},o(t){v(i.$$.fragment,t),v(o.$$.fragment,t),v(m.$$.fragment,t),b=!1},d(t){t&&(n(u),n(f),n($),n(h),n(d),n(r),n(g),n(_),n(c)),n(a),C(i,t),C(o,t),C(m,t)}}}const F='{"title":"目录","local":"目录","sections":[],"depth":1}';function I(L){return R(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class W extends j{constructor(a){super(),k(this,a,I,B,z,{})}}export{W as component};
