import{s as U,a as j,n as z,o as A}from"../chunks/scheduler.ef843396.js";import{S as O,i as R,e as p,s as u,c as M,h as V,a as h,d as n,b as c,f as H,g as k,j as q,k as T,l as B,m as a,n as S,t as G,o as I,p as N}from"../chunks/index.05ef1181.js";import{H as D,E as F}from"../chunks/MermaidChart.svelte_svelte_type_style_lang.ef6649bf.js";function J(E){let i,g,f,_,s,v,l,y,$,o,C="The tutorial environment features a robot that needs to:",b,r,L="<li>Pull a lever to raise the stairs leading to the second room,</li> <li>Navigate to the key 🔑 and collect it while avoiding falling down into traps, water, or outside the map,</li> <li>Navigate back to the treasure chest in the first room, and open it. Victory! 🏆</li>",w,m,x,d,P;return s=new D({props:{title:"The environment",local:"the-environment",headingTag:"h1"}}),m=new F({props:{source:"https://github.com/huggingface/deep-rl-class/blob/main/units/en/unitbonus5/the-environment.mdx"}}),{c(){i=p("meta"),g=u(),f=p("p"),_=u(),M(s.$$.fragment),v=u(),l=p("img"),$=u(),o=p("p"),o.textContent=C,b=u(),r=p("ul"),r.innerHTML=L,w=u(),M(m.$$.fragment),x=u(),d=p("p"),this.h()},l(t){const e=V("svelte-u9bgzb",document.head);i=h(e,"META",{name:!0,content:!0}),e.forEach(n),g=c(t),f=h(t,"P",{}),H(f).forEach(n),_=c(t),k(s.$$.fragment,t),v=c(t),l=h(t,"IMG",{src:!0,alt:!0}),$=c(t),o=h(t,"P",{"data-svelte-h":!0}),q(o)!=="svelte-19rihh9"&&(o.textContent=C),b=c(t),r=h(t,"UL",{"data-svelte-h":!0}),q(r)!=="svelte-1t0qw8t"&&(r.innerHTML=L),w=c(t),k(m.$$.fragment,t),x=c(t),d=h(t,"P",{}),H(d).forEach(n),this.h()},h(){T(i,"name","hf:doc:metadata"),T(i,"content",K),j(l.src,y="https://huggingface.co/datasets/huggingface-deep-rl-course/course-images/resolve/main/en/unit13/il_tutorial_env.png")||T(l,"src",y),T(l,"alt","IL tutorial environment")},m(t,e){B(document.head,i),a(t,g,e),a(t,f,e),a(t,_,e),S(s,t,e),a(t,v,e),a(t,l,e),a(t,$,e),a(t,o,e),a(t,b,e),a(t,r,e),a(t,w,e),S(m,t,e),a(t,x,e),a(t,d,e),P=!0},p:z,i(t){P||(G(s.$$.fragment,t),G(m.$$.fragment,t),P=!0)},o(t){I(s.$$.fragment,t),I(m.$$.fragment,t),P=!1},d(t){t&&(n(g),n(f),n(_),n(v),n(l),n($),n(o),n(b),n(r),n(w),n(x),n(d)),n(i),N(s,t),N(m,t)}}}const K='{"title":"The environment","local":"the-environment","sections":[],"depth":1}';function Q(E){return A(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class Z extends O{constructor(i){super(),R(this,i,Q,J,U,{})}}export{Z as component};
