const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./md-DFkbKXSo.js","./modules/shiki-CJZsCeMT.js","./rolldown-runtime-hePW80VL.js","./modules/shiki-BrmBd2_v.css","./_plugin-vue_export-helper-BDNMzG2s.js","./slidev/context-DB-9afGB.js","./modules/vue-Dnfgf7Ad.js","./GridWorld-D5i5gg4u.js","./useReinforcement-11RE6Te1.js","./GridWorld-CYBTngYz.css","./md-CYXxUBJM.css","./md-pFjrzahN2.js","./default-DMdSOhJT.js","./DeckFooter-BmHxwiXu.js","./slidev/client-beF_Q0xG.js","./syncState-3Tc2ZArb.js","./index-CvCioxNn.js","./index-CSMQn_X0.css","./useDrawings-B2TJYfiB.js","./DeckFooter-B6vKMo6W.css","./default-DFJXHcku.css","./RlGlyph-i3WvlmEb.js","./RlGlyph-DU7BVq-e.css","./md-DHODWU9R.js","./md-DPJgeVRt2.js","./section-CqA-0pFf.js","./section-BZ9Dfv_4.css","./md-GvEn7lJR.js","./slidev/VClicks-lrjw2pb1.js","./md-DOVVkhja.js","./md-D78P-CVF.js","./md-BTt_dRtv2.js","./md-DF15gv0p2.js","./md-Cpligg9D.js","./md-BjLiGZe7.js","./md-BoUgDoJP.js","./md-YUWOF7of.js","./PollSlide-CA6YXjEC.js","./PollSlide-C7CHIzYm.css","./md-TKUiOOmA.js","./md-Bz5Zd8AS.js","./md-CO0h-U_E.js","./md-qI5Gn-4r.js","./md-l6R6jPGW.js","./slidev/KaTexBlockWrapper-CQp3FXpQ.js","./md-DxEIUlRz.js","./md-Bu3XUXeA.js","./md-DwcCo75s.js","./md-C9dA0XC0.js","./md-X6pHqlXs.js","./md-DImml7fy2.js","./md-WQ4TFyjA.js","./md-Q973zyBX.js","./md-D7EmREcg2.js","./md-C4XXUyXo2.js","./md-B9C145sD2.js","./WidgetFrame-DHgK6j2H.js","./WidgetFrame-Czwyd28V.css","./Slider-C2M0Z0oG.js","./Slider-BO0rW71G.css","./interactive-LBJsATV-.js","./interactive-D_LX0oud.css","./md-Ddtfqral.css","./md-Bx6ObLYd2.js","./md-Crf0QqO82.js","./md-ClcrnWUb.js","./md-BY5B4RFF2.js","./md-CChtMD7Z2.js","./md-C_djKWOA2.js","./md-BuPoDN-Y2.js","./md-C0kU9PLe2.js","./md-DGATRVqO.js","./md-CBwC-ryo2.js","./md-Ck5yC0i3.js","./md-X2RPTEil.js","./md-C76Txys_.js","./md-3KgA1lqP.js","./md-oSmNAz51.js","./md-F2Pj1FPG.js","./md-DN8ICbIE.js","./StepButton-DD4XxENU.js","./StepButton-C1ItLUkw.css","./md-yQZmZhEY.css","./md-BX1wWMGz.js","./md-0nitP_As.js","./md-CF_gH_Jj.js","./md-DVi-Y4NQ.js","./md-CB5a4GuA.js","./md-C0YOeXvT.js","./md-BsteAPDC.js","./md-Bnu9_G7n.js","./md-Du9GpJ-U.js","./md-6UsQlhb2.js","./md-Y9Z16ykm.js","./md-BaRMbteD.css","./md-B2pb5v7i.js","./md-B_GRqzbq.js","./md-BIV2xOUh.js","./md-tZ6pTJCu.js","./md-CPYeSP9D.js","./md-6ZLa4d3p.js","./md-dqR9EYFU.js","./md-L4CkW1kN.js","./md-erOyj-pS.js","./md-CWs17cl1.css","./md-CYCyDfm-.js","./md-CsoOjhyB.js","./md-DCerl4UZ.js","./md-CAqxjDRd.js","./md-BEVP4TeY.js","./md-DWRKYI2u.js","./md-DMm0v4Wk.js","./md-VBnw9usT2.js","./md-v7LlsJSs2.js","./md-BIjZR-bS2.js","./md-DMlixF1K2.js","./Citation-CcKhBxpe.js","./Citation-rca7ok54.css","./md-jnqVVH902.js","./md-B1kgcJx92.js","./md-BisM1Pr82.js","./md-BDiz7f2n2.js","./md-DS5J4mOQ2.js","./md-k6-o3Hlb2.js","./md-D1L04-qD2.js","./md-D5t4UeSE2.js","./md-BhP8iVpu2.js","./md-DYp24jFE2.js","./md-Btp4CswY2.js","./DqnFlow-DlxgPWo3.js","./DqnFlow-B46GQSY5.css","./md-CpVN8xTF2.js","./md-CP-vwJrb2.js","./slidev/CodeBlockWrapper-CIZDS6En.js","./modules/unplugin-icons-CStvVwzQ.js","./md-D1KIzLUZ2.js","./md-D0OYH0b_2.js","./md-Da8Z3odW2.js","./md-rreJmcjE.js","./md-CjjLEPPa.js","./md-Bp475Uqt.js","./md-DoGnq9kW.js","./md-DQyimKj3.js","./md-B4imawcw.js","./md-hTSgqenN.js","./md-C_I7xfx4.js","./md-DglvD3Oh.js","./md-Czq6p3v9.js","./md-DhZ23yU-.css","./md-es6QvLJL.js","./md-MeEdeYS7.js","./md-DE2QGCpb.css"])))=>i.map(i=>d[i]); import{B as e,Ct as t,P as n,R as r,T as i,Z as a,_ as o,at as s,b as c,dt as l,ft as u,g as d,ht as ee,k as f,lt as p,m as te,mt as m,vt as ne,w as re,y as ie,yt as ae,z as oe}from"./modules/shiki-CJZsCeMT.js";import{t as se}from"./_plugin-vue_export-helper-BDNMzG2s.js";import{A as ce,B as le,D as ue,E as de,L as fe,V as pe,_ as me,a as he,c as ge,g as h,h as _e,j as ve,l as ye}from"./modules/vue-Dnfgf7Ad.js";import{l as be,y as xe}from"./slidev/context-DB-9afGB.js";function Se(e,t,n){return Math.min(n,Math.max(t,e))}function Ce(...e){return Te(e).reduce((e,t)=>e+t,0)}function we(e){return e??=[],Array.isArray(e)?e:[e]}function Te(e){return we(e).flat(1)}function Ee(e){return Array.from(new Set(e))}function De(...e){let t,n,r;e.length===1?(t=0,r=1,[n]=e):[t,n,r=1]=e;let i=[],a=t;for(;at(e,n)).filter(Oe))}var g={theme:`dl2026`,title:`Deep Reinforcement Learning`,titleTemplate:`%s - Slidev`,addons:[`dl2026`],remoteAssets:!1,monaco:!0,monacoTypesSource:`local`,monacoTypesAdditionalPackages:[],monacoTypesIgnorePackages:[],monacoRunAdditionalDeps:[],monacoRunUseStrict:!0,download:`./slides.pdf`,export:{},info:`

PGR207 Deep Learning 2026 — Lecture 08

`,highlighter:`shiki`,twoslash:!0,lineNumbers:!1,colorSchema:`auto`,routerMode:`hash`,aspectRatio:1.7777777777777777,canvasWidth:980,exportFilename:``,selectable:!1,themeConfig:{courseCode:`PGR207`,lecture:`08`,lectureTitle:`Deep Reinforcement Learning`},fonts:{sans:[`"Inter"`,`ui-sans-serif`,`system-ui`,`-apple-system`,`BlinkMacSystemFont`,`"Segoe UI"`,`Roboto`,`"Helvetica Neue"`,`Arial`,`"Noto Sans"`,`sans-serif`,`"Apple Color Emoji"`,`"Segoe UI Emoji"`,`"Segoe UI Symbol"`,`"Noto Color Emoji"`],serif:[`"Source Serif 4"`,`ui-serif`,`Georgia`,`Cambria`,`"Times New Roman"`,`Times`,`serif`],mono:[`"JetBrains Mono"`,`ui-monospace`,`SFMono-Regular`,`Menlo`,`Monaco`,`Consolas`,`"Liberation Mono"`,`"Courier New"`,`monospace`],webfonts:[`Inter`,`Source Serif 4`,`JetBrains Mono`],provider:`google`,local:[],italic:!1,weights:[`200`,`400`,`600`]},favicon:`https://cdn.jsdelivr.net/gh/slidevjs/slidev/assets/favicon.png`,drawings:{enabled:!0,persist:!1,presenterOnly:!1,syncAll:!0},plantUmlServer:`https://www.plantuml.com/plantuml`,codeCopy:!0,magicMoveCopy:!0,author:`Vajira Thambawita`,record:`dev`,css:`unocss`,presenter:!0,browserExporter:`dev`,htmlAttrs:{},transition:`slide-left`,editor:!0,mcp:!0,contextMenu:null,wakeLock:!0,pwa:!1,mdc:!0,comark:!1,seoMeta:{},notesAutoRuby:{},duration:`30min`,timer:`stopwatch`,magicMoveDuration:800,preloadImages:!0,clickAnimation:``,layout:`title`,courseCode:`PGR207`,lecture:`08`,email:`vajira@simula.no`,slidesTitle:`Deep Reinforcement Learning - Slidev`},Ae=`build`,je=d(()=>g.aspectRatio),Me=d(()=>g.canvasWidth),Ne=d(()=>Math.ceil(Me.value/je.value)),Pe=d(()=>ke(g.themeConfig||{},(e,t)=>[`--slidev-theme-${e}`,t])),Fe=g.slidesTitle,Ie=`./#/`,Le=`modulepreload`,Re=function(e,t){return new URL(e,t).href},ze={},_=function(e,t,n){let r=Promise.resolve();if(t&&t.length>0){let e=document.getElementsByTagName(`link`),i=document.querySelector(`meta[property=csp-nonce]`),a=i?.nonce||i?.getAttribute(`nonce`);function o(e){return Promise.all(e.map(e=>Promise.resolve(e).then(e=>({status:`fulfilled`,value:e}),e=>({status:`rejected`,reason:e}))))}function s(e){return import.meta.resolve?import.meta.resolve(e):new URL(e,import.meta.url).href}r=o(t.map(t=>{if(t=Re(t,n),t=s(t),t in ze)return;ze[t]=!0;let r=t.endsWith(`.css`);for(let n=e.length-1;n>=0;n--){let i=e[n];if(i.href===t&&(!r||i.rel===`stylesheet`))return}let i=document.createElement(`link`);if(i.rel=r?`stylesheet`:Le,r||(i.as=`script`),i.crossOrigin=``,i.href=t,a&&i.setAttribute(`nonce`,a),document.head.appendChild(i),r)return new Promise((e,n)=>{i.addEventListener(`load`,e),i.addEventListener(`error`,()=>n(Error(`Unable to preload CSS for ${t}`)))})}))}function i(e){let t=new Event(`vite:preloadError`,{cancelable:!0});if(t.payload=e,window.dispatchEvent(t),!t.defaultPrevented)throw e}return r.then(t=>{for(let e of t||[])e.status===`rejected`&&i(e.reason);return e().catch(i)})};function Be(e){if(e===!1||e===`false`)return null;if(e==null||e===!0||e===`true`)return`+1`;if(typeof e==`string`&&`+-`.includes(e[0]))return e;let t=+e;return Number.isNaN(t)?(console.error(`Invalid "at" prop value: ${e}`),null):t<=0?(console.warn(`[Slidev] "at" prop value must be greater than 0, but got ${e}, has been set to 1`),1):t}function Ve(e){return Array.isArray(e)?[Be(e[0]),Be(e[1])]:null}function He(e,t=0,n){let i=l(!1),a=new Map,o=new Map,c={get current(){return Se(+e.value,t,c.total)},set current(n){e.value=i.value?Se(n,t,c.total):n},clicksStart:t,get relativeSizeMap(){return a},get maxMap(){return o},get isMounted(){return i.value},setup(){r(()=>{i.value=!0,o=u(o),s(e)||(c.current=e.value)}),oe(()=>{i.value=!1,a=new Map,o=new Map})},calculateSince(e,t=1){let n=Be(e);if(n==null)return null;let r,i,a;if(typeof n==`string`){let e=c.currentOffset,o=+n;r=e+o,i=e+o+t-1,a=o+t-1}else r=n,i=n+t-1,a=0;return{start:r,end:1/0,max:i,delta:a,currentOffset:d(()=>c.current-r),isCurrent:d(()=>c.current===r),isActive:d(()=>c.current>=r)}},calculateRange(e){let t=Ve(e);if(t==null)return null;let[n,r]=t,i,a,o;return typeof n==`string`?(i=c.currentOffset+ +n,o=+n):(i=n,o=0),typeof r==`string`?(a=i+ +r,o+=+r):a=r,{start:i,end:a,max:a,delta:o,currentOffset:d(()=>c.current-i),isCurrent:d(()=>c.current===i),isActive:d(()=>i<=c.current&&c.currentne(t),e=>{r.value=Math.max(e,n)}),He(r,n,e?.meta?.clicks)}var We=/[a-z]/i;function Ge(e){if(typeof e==`number`)return{seconds:e,relative:!1};let t=e.startsWith(`+`);t&&(e=e.slice(1));let n=0;if(e.includes(`:`)){let t=e.split(`:`).map(Number),r=0,i=0,a=0;if(t.length===3)r=t[0],i=t[1],a=t[2];else if(t.length===2)i=t[0],a=t[1];else if(t.length===1)a=t[0];else throw TypeError(`Invalid timestamp format`);if(Number.isNaN(r)||Number.isNaN(i)||Number.isNaN(a))throw TypeError(`Invalid timestamp format`);n=(r||0)*3600+(i||0)*60+(a||0)}else if(!We.test(e))n=Number(e);else{let t={s:1,sec:1,secs:1,m:60,min:60,mins:60,h:3600,hr:3600,hrs:3600,hour:3600,hours:3600,day:86400,days:86400,week:604800,weeks:604800,month:2629746,months:2629746,year:31556952,years:31556952},r=/([\d.]+)([a-z]+)/gi,i=e.matchAll(r);if(i)for(let e of i){let r=Number(e[1]);if(Number.isNaN(r))throw TypeError(`Invalid timestamp value: ${e[1]}`);let i=e[2].toLowerCase();if(!(i in t))throw TypeError(`Invalid timestamp unit: ${i}`);n+=r*t[i]}let a=e.replace(r,``).trim();if(a)throw TypeError(`Unknown timestamp remaining: ${a}`)}return{seconds:n,relative:t}}function Ke(e,t){if(!t||t===`all`||t===`*`)return De(1,e+1);if(t===`none`)return[];let n=[];for(let r of t.split(/[,;]/g))if(!r.includes(`-`))n.push(+r);else{let[t,i]=r.split(`-`,2);n.push(...De(+t,i?+i+1:e+1))}return Ee(n).filter(t=>t<=e).sort((e,t)=>e-t)}var qe={},Je={class:`px-4 py-10 text-center text-red-700 dark:text-red-500 font-bold font-mono`};function Ye(n,r){return e(),c(`div`,Je,t(`Failed to fetch this slide. Please check your network connection.`))}var v=se(qe,[[`render`,Ye]]),Xe={class:`h-full w-full flex items-center justify-center gap-2 slidev-slide-loading`},Ze=i({__name:`SlideLoading`,setup(t){let n=l(!1);return r(()=>{setTimeout(()=>{n.value=!0},200)}),(t,r)=>(e(),c(`div`,Xe,[n.value?(e(),c(te,{key:0},[r[0]||=o(`div`,{class:`i-svg-spinners-90-ring-with-bg text-xl`},null,-1),r[1]||=o(`div`,null,`Loading slide...`,-1)],64)):ie(`v-if`,!0)]))}}),y=p({theme:`dl2026`,addons:[`dl2026`],title:`Deep Reinforcement Learning`,info:`PGR207 Deep Learning 2026 — Lecture 08`,author:`Vajira Thambawita`,routerMode:`hash`,transition:`slide-left`,mdc:!0,themeConfig:{courseCode:`PGR207`,lecture:`08`,lectureTitle:`Deep Reinforcement Learning`},layout:`title`,courseCode:`PGR207`,lecture:`08`,email:`vajira@simula.no`}),Qe=u({get layout(){return y.layout},get transition(){return y.transition},get class(){return y.class},get clicks(){return y.clicks},get name(){return y.name},get preload(){return y.preload},slide:{content:``,revision:`-b5ef7j`,frontmatterRaw:`theme: dl2026 addons: - dl2026 title: Deep Reinforcement Learning info: PGR207 Deep Learning 2026 — Lecture 08 author: Vajira Thambawita routerMode: hash transition: slide-left mdc: true themeConfig: courseCode: PGR207 lecture: "08" lectureTitle: Deep Reinforcement Learning layout: title courseCode: PGR207 lecture: "08" email: vajira@simula.no `,note:``,title:`Deep Reinforcement Learning`,index:0,noteHTML:``,images:[],raw:``,frontmatter:y,filepath:``,start:0,sourceIndex:0,id:0,no:1},__clicksContext:null,__preloaded:!1}),b=p({layout:`default`,core:!0,title:`Today, in seven parts`}),$e=u({get layout(){return b.layout},get transition(){return b.transition},get class(){return b.class},get clicks(){return b.clicks},get name(){return b.name},get preload(){return b.preload},slide:{content:``,revision:`etweuc`,frontmatterRaw:`layout: default core: true title: Today, in seven parts `,note:``,title:`Today, in seven parts`,index:1,noteHTML:``,images:[],raw:``,frontmatter:b,filepath:``,start:51,sourceIndex:1,id:1,no:2},__clicksContext:null,__preloaded:!1}),x=p({layout:`default`,title:`In words: Today, in seven parts`}),et=u({get layout(){return x.layout},get transition(){return x.transition},get class(){return x.class},get clicks(){return x.clicks},get name(){return x.name},get preload(){return x.preload},slide:{content:``,revision:`h8ic2w`,frontmatterRaw:`layout: default title: "In words: Today, in seven parts" `,note:``,title:`In words: Today, in seven parts`,index:2,noteHTML:``,images:[],raw:``,frontmatter:x,filepath:``,start:117,sourceIndex:2,id:2,no:3},__clicksContext:null,__preloaded:!1}),S=p({layout:`section`,index:`00`}),tt=u({get layout(){return S.layout},get transition(){return S.transition},get class(){return S.class},get clicks(){return S.clicks},get name(){return S.name},get preload(){return S.preload},slide:{content:``,revision:`-6p0p5k`,frontmatterRaw:`layout: section index: "00" `,note:``,title:`Learning from a score`,level:1,index:3,noteHTML:``,images:[],raw:``,frontmatter:S,filepath:``,start:143,sourceIndex:3,id:3,no:4},__clicksContext:null,__preloaded:!1}),C=p({layout:`default`,core:!0,title:`A game with no instructions`}),nt=u({get layout(){return C.layout},get transition(){return C.transition},get class(){return C.class},get clicks(){return C.clicks},get name(){return C.name},get preload(){return C.preload},slide:{content:``,revision:`-29a0cc`,frontmatterRaw:`layout: default core: true title: A game with no instructions `,note:``,title:`A game with no instructions`,index:4,noteHTML:``,images:[],raw:``,frontmatter:C,filepath:``,start:164,sourceIndex:4,id:4,no:5},__clicksContext:null,__preloaded:!1}),w=p({layout:`default`,title:`In words: A game with no instructions`}),rt=u({get layout(){return w.layout},get transition(){return w.transition},get class(){return w.class},get clicks(){return w.clicks},get name(){return w.name},get preload(){return w.preload},slide:{content:``,revision:`-d82bu8`,frontmatterRaw:`layout: default title: "In words: A game with no instructions" `,note:``,title:`In words: A game with no instructions`,index:5,noteHTML:``,images:[],raw:``,frontmatter:w,filepath:``,start:243,sourceIndex:5,id:5,no:6},__clicksContext:null,__preloaded:!1}),T=p({layout:`default`,core:!0,title:`The agent–environment loop`}),it=u({get layout(){return T.layout},get transition(){return T.transition},get class(){return T.class},get clicks(){return T.clicks},get name(){return T.name},get preload(){return T.preload},slide:{content:``,revision:`jrx619`,frontmatterRaw:`layout: default core: true title: The agent–environment loop `,note:``,title:`The agent–environment loop`,index:6,noteHTML:``,images:[],raw:``,frontmatter:T,filepath:``,start:268,sourceIndex:6,id:6,no:7},__clicksContext:null,__preloaded:!1}),E=p({layout:`default`,title:`In words: The agent–environment loop`}),at=u({get layout(){return E.layout},get transition(){return E.transition},get class(){return E.class},get clicks(){return E.clicks},get name(){return E.name},get preload(){return E.preload},slide:{content:``,revision:`do22kj`,frontmatterRaw:`layout: default title: "In words: The agent–environment loop" `,note:``,title:`In words: The agent–environment loop`,index:7,noteHTML:``,images:[],raw:``,frontmatter:E,filepath:``,start:366,sourceIndex:7,id:7,no:8},__clicksContext:null,__preloaded:!1}),D=p({layout:`default`,core:!0,title:`Not learning from labels`}),ot=u({get layout(){return D.layout},get transition(){return D.transition},get class(){return D.class},get clicks(){return D.clicks},get name(){return D.name},get preload(){return D.preload},slide:{content:``,revision:`-fx3xsq`,frontmatterRaw:`layout: default core: true title: Not learning from labels `,note:``,title:`Not learning from labels`,index:8,noteHTML:``,images:[],raw:``,frontmatter:D,filepath:``,start:393,sourceIndex:8,id:8,no:9},__clicksContext:null,__preloaded:!1}),O=p({layout:`default`,title:`In words: Not learning from labels`}),st=u({get layout(){return O.layout},get transition(){return O.transition},get class(){return O.class},get clicks(){return O.clicks},get name(){return O.name},get preload(){return O.preload},slide:{content:``,revision:`-nzjw8u`,frontmatterRaw:`layout: default title: "In words: Not learning from labels" `,note:``,title:`In words: Not learning from labels`,index:9,noteHTML:``,images:[],raw:``,frontmatter:O,filepath:``,start:468,sourceIndex:9,id:9,no:10},__clicksContext:null,__preloaded:!1}),k=p({layout:`default`,core:!0,title:`The robot and its charger`}),ct=u({get layout(){return k.layout},get transition(){return k.transition},get class(){return k.class},get clicks(){return k.clicks},get name(){return k.name},get preload(){return k.preload},slide:{content:``,revision:`24xsaf`,frontmatterRaw:`layout: default core: true title: The robot and its charger `,note:``,title:`The robot and its charger`,index:10,noteHTML:``,images:[],raw:``,frontmatter:k,filepath:``,start:495,sourceIndex:10,id:10,no:11},__clicksContext:null,__preloaded:!1}),A=p({layout:`default`,title:`In words: The robot and its charger`}),lt=u({get layout(){return A.layout},get transition(){return A.transition},get class(){return A.class},get clicks(){return A.clicks},get name(){return A.name},get preload(){return A.preload},slide:{content:``,revision:`-2btoea`,frontmatterRaw:`layout: default title: "In words: The robot and its charger" `,note:``,title:`In words: The robot and its charger`,index:11,noteHTML:``,images:[],raw:``,frontmatter:A,filepath:``,start:552,sourceIndex:11,id:11,no:12},__clicksContext:null,__preloaded:!1}),j=p({layout:`default`,title:`Poll: which one is reinforcement learning?`}),ut=u({get layout(){return j.layout},get transition(){return j.transition},get class(){return j.class},get clicks(){return j.clicks},get name(){return j.name},get preload(){return j.preload},slide:{content:``,revision:`-96yniq`,frontmatterRaw:`layout: default title: "Poll: which one is reinforcement learning?" `,note:``,title:`Poll: which one is reinforcement learning?`,index:12,noteHTML:``,images:[],raw:``,frontmatter:j,filepath:``,start:578,sourceIndex:12,id:12,no:13},__clicksContext:null,__preloaded:!1}),M=p({layout:`default`,title:`In words: which one is reinforcement learning?`}),dt=u({get layout(){return M.layout},get transition(){return M.transition},get class(){return M.class},get clicks(){return M.clicks},get name(){return M.name},get preload(){return M.preload},slide:{content:``,revision:`kqzzje`,frontmatterRaw:`layout: default title: "In words: which one is reinforcement learning?" `,note:``,title:`In words: which one is reinforcement learning?`,index:13,noteHTML:``,images:[],raw:``,frontmatter:M,filepath:``,start:638,sourceIndex:13,id:13,no:14},__clicksContext:null,__preloaded:!1}),N=p({layout:`section`,index:`01`}),ft=u({get layout(){return N.layout},get transition(){return N.transition},get class(){return N.class},get clicks(){return N.clicks},get name(){return N.name},get preload(){return N.preload},slide:{content:``,revision:`-8ci08v`,frontmatterRaw:`layout: section index: "01" `,note:``,title:`The world as an MDP`,level:1,index:14,noteHTML:``,images:[],raw:``,frontmatter:N,filepath:``,start:667,sourceIndex:14,id:14,no:15},__clicksContext:null,__preloaded:!1}),P=p({layout:`default`,core:!0,title:`An episode is a chain of states, actions and rewards`,clicks:5}),pt=u({get layout(){return P.layout},get transition(){return P.transition},get class(){return P.class},get clicks(){return P.clicks},get name(){return P.name},get preload(){return P.preload},slide:{content:``,revision:`-dulopn`,frontmatterRaw:`layout: default core: true title: An episode is a chain of states, actions and rewards clicks: 5 `,note:``,title:`An episode is a chain of states, actions and rewards`,index:15,noteHTML:``,images:[],raw:``,frontmatter:P,filepath:``,start:689,sourceIndex:15,id:15,no:16},__clicksContext:null,__preloaded:!1}),F=p({layout:`default`,title:`In words: An episode is a chain of states, actions and rewards`}),mt=u({get layout(){return F.layout},get transition(){return F.transition},get class(){return F.class},get clicks(){return F.clicks},get name(){return F.name},get preload(){return F.preload},slide:{content:``,revision:`na3eqd`,frontmatterRaw:`layout: default title: "In words: An episode is a chain of states, actions and rewards" `,note:``,title:`In words: An episode is a chain of states, actions and rewards`,index:16,noteHTML:``,images:[],raw:``,frontmatter:F,filepath:``,start:764,sourceIndex:16,id:16,no:17},__clicksContext:null,__preloaded:!1}),I=p({layout:`default`,core:!0,title:`The rule of the world: p(s′, r | s, a)`}),ht=u({get layout(){return I.layout},get transition(){return I.transition},get class(){return I.class},get clicks(){return I.clicks},get name(){return I.name},get preload(){return I.preload},slide:{content:``,revision:`nibqdv`,frontmatterRaw:`layout: default core: true title: "The rule of the world: p(s′, r | s, a)" `,note:``,title:`The rule of the world: p(s′, r | s, a)`,index:17,noteHTML:``,images:[],raw:``,frontmatter:I,filepath:``,start:792,sourceIndex:17,id:17,no:18},__clicksContext:null,__preloaded:!1}),L=p({layout:`default`,title:`Reading the equation: the rule of the world`}),gt=u({get layout(){return L.layout},get transition(){return L.transition},get class(){return L.class},get clicks(){return L.clicks},get name(){return L.name},get preload(){return L.preload},slide:{content:``,revision:`zb8df6`,frontmatterRaw:`layout: default title: "Reading the equation: the rule of the world" `,note:``,title:`Reading the equation: the rule of the world`,index:18,noteHTML:``,images:[],raw:``,frontmatter:L,filepath:``,start:860,sourceIndex:18,id:18,no:19},__clicksContext:null,__preloaded:!1}),R=p({layout:`default`,title:`In words: The rule of the world: p(s′, r | s, a)`}),_t=u({get layout(){return R.layout},get transition(){return R.transition},get class(){return R.class},get clicks(){return R.clicks},get name(){return R.name},get preload(){return R.preload},slide:{content:``,revision:`gl1qax`,frontmatterRaw:`layout: default title: "In words: The rule of the world: p(s′, r | s, a)" `,note:``,title:`In words: The rule of the world: p(s′, r | s, a)`,index:19,noteHTML:``,images:[],raw:``,frontmatter:R,filepath:``,start:932,sourceIndex:19,id:19,no:20},__clicksContext:null,__preloaded:!1}),z=p({layout:`default`,title:`Refresher: an expected value is a weighted average`}),vt=u({get layout(){return z.layout},get transition(){return z.transition},get class(){return z.class},get clicks(){return z.clicks},get name(){return z.name},get preload(){return z.preload},slide:{content:``,revision:`o21acc`,frontmatterRaw:`layout: default title: "Refresher: an expected value is a weighted average" `,note:``,title:`Refresher: an expected value is a weighted average`,index:20,noteHTML:``,images:[],raw:``,frontmatter:z,filepath:``,start:958,sourceIndex:20,id:20,no:21},__clicksContext:null,__preloaded:!1}),B=p({layout:`default`,title:`In words: Refresher: an expected value is a weighted average`}),yt=u({get layout(){return B.layout},get transition(){return B.transition},get class(){return B.class},get clicks(){return B.clicks},get name(){return B.name},get preload(){return B.preload},slide:{content:``,revision:`-wzq1gg`,frontmatterRaw:`layout: default title: "In words: Refresher: an expected value is a weighted average" `,note:``,title:`In words: Refresher: an expected value is a weighted average`,index:21,noteHTML:``,images:[],raw:``,frontmatter:B,filepath:``,start:1021,sourceIndex:21,id:21,no:22},__clicksContext:null,__preloaded:!1}),V=p({layout:`default`,title:`Some tasks end, some never do`}),bt=u({get layout(){return V.layout},get transition(){return V.transition},get class(){return V.class},get clicks(){return V.clicks},get name(){return V.name},get preload(){return V.preload},slide:{content:``,revision:`-2z7jqb`,frontmatterRaw:`layout: default title: Some tasks end, some never do `,note:``,title:`Some tasks end, some never do`,index:22,noteHTML:``,images:[],raw:``,frontmatter:V,filepath:``,start:1048,sourceIndex:22,id:22,no:23},__clicksContext:null,__preloaded:!1}),H=p({layout:`default`,title:`In words: Some tasks end, some never do`}),xt=u({get layout(){return H.layout},get transition(){return H.transition},get class(){return H.class},get clicks(){return H.clicks},get name(){return H.name},get preload(){return H.preload},slide:{content:``,revision:`-y92uus`,frontmatterRaw:`layout: default title: "In words: Some tasks end, some never do" `,note:``,title:`In words: Some tasks end, some never do`,index:23,noteHTML:``,images:[],raw:``,frontmatter:H,filepath:``,start:1102,sourceIndex:23,id:23,no:24},__clicksContext:null,__preloaded:!1}),U=p({layout:`section`,index:`02`}),St=u({get layout(){return U.layout},get transition(){return U.transition},get class(){return U.class},get clicks(){return U.clicks},get name(){return U.name},get preload(){return U.preload},slide:{content:``,revision:`-qsjk1d`,frontmatterRaw:`layout: section index: "02" `,note:``,title:`The return and the discount`,level:1,index:24,noteHTML:``,images:[],raw:``,frontmatter:U,filepath:``,start:1127,sourceIndex:24,id:24,no:25},__clicksContext:null,__preloaded:!1}),W=p({layout:`default`,core:!0,title:`The return: add up what is still to come`,clicks:4}),Ct=u({get layout(){return W.layout},get transition(){return W.transition},get class(){return W.class},get clicks(){return W.clicks},get name(){return W.name},get preload(){return W.preload},slide:{content:``,revision:`smtuyn`,frontmatterRaw:`layout: default core: true title: "The return: add up what is still to come" clicks: 4 `,note:``,title:`The return: add up what is still to come`,index:25,noteHTML:``,images:[],raw:``,frontmatter:W,filepath:``,start:1148,sourceIndex:25,id:25,no:26},__clicksContext:null,__preloaded:!1}),G=p({layout:`default`,title:`Reading the equation: the return`}),wt=u({get layout(){return G.layout},get transition(){return G.transition},get class(){return G.class},get clicks(){return G.clicks},get name(){return G.name},get preload(){return G.preload},slide:{content:``,revision:`6fxtuq`,frontmatterRaw:`layout: default title: "Reading the equation: the return" `,note:``,title:`Reading the equation: the return`,index:26,noteHTML:``,images:[],raw:``,frontmatter:G,filepath:``,start:1206,sourceIndex:26,id:26,no:27},__clicksContext:null,__preloaded:!1}),K=p({layout:`default`,title:`In words: The return: add up what is still to come`}),Tt=u({get layout(){return K.layout},get transition(){return K.transition},get class(){return K.class},get clicks(){return K.clicks},get name(){return K.name},get preload(){return K.preload},slide:{content:``,revision:`-f3l2jr`,frontmatterRaw:`layout: default title: "In words: The return: add up what is still to come" `,note:``,title:`In words: The return: add up what is still to come`,index:27,noteHTML:``,images:[],raw:``,frontmatter:K,filepath:``,start:1266,sourceIndex:27,id:27,no:28},__clicksContext:null,__preloaded:!1}),q=p({layout:`interactive`,core:!0,heading:`Why discount? So the robot hurries`,title:`Why discount? So the robot hurries`,"aside-width":`16rem`}),Et=u({get layout(){return q.layout},get transition(){return q.transition},get class(){return q.class},get clicks(){return q.clicks},get name(){return q.name},get preload(){return q.preload},slide:{content:``,revision:`6yxmoi`,frontmatterRaw:`layout: interactive core: true heading: "Why discount? So the robot hurries" title: "Why discount? So the robot hurries" aside-width: 16rem `,note:``,title:`Why discount? So the robot hurries`,index:28,noteHTML:``,images:[],raw:``,frontmatter:q,filepath:``,start:1291,sourceIndex:28,id:28,no:29},__clicksContext:null,__preloaded:!1}),J=p({layout:`default`,title:`In words: Why discount? So the robot hurries`}),Dt=u({get layout(){return J.layout},get transition(){return J.transition},get class(){return J.class},get clicks(){return J.clicks},get name(){return J.name},get preload(){return J.preload},slide:{content:``,revision:`-s1puen`,frontmatterRaw:`layout: default title: "In words: Why discount? So the robot hurries" `,note:``,title:`In words: Why discount? So the robot hurries`,index:29,noteHTML:``,images:[],raw:``,frontmatter:J,filepath:``,start:1344,sourceIndex:29,id:29,no:30},__clicksContext:null,__preloaded:!1}),Y=p({layout:`default`,title:`Going deeper: a reward now beats a reward later`}),Ot=u({get layout(){return Y.layout},get transition(){return Y.transition},get class(){return Y.class},get clicks(){return Y.clicks},get name(){return Y.name},get preload(){return Y.preload},slide:{content:``,revision:`-9bqz6f`,frontmatterRaw:`layout: default title: "Going deeper: a reward now beats a reward later" `,note:``,title:`Going deeper: a reward now beats a reward later`,index:30,noteHTML:``,images:[],raw:``,frontmatter:Y,filepath:``,start:1370,sourceIndex:30,id:30,no:31},__clicksContext:null,__preloaded:!1}),kt=p({layout:`default`,title:`In words: Going deeper: a reward now beats a reward later`}),At=u({get layout(){return kt.layout},get transition(){return kt.transition},get class(){return kt.class},get clicks(){return kt.clicks},get name(){return kt.name},get preload(){return kt.preload},slide:{content:``,revision:`-jo1w9w`,frontmatterRaw:`layout: default title: "In words: Going deeper: a reward now beats a reward later" `,note:``,title:`In words: Going deeper: a reward now beats a reward later`,index:31,noteHTML:``,images:[],raw:``,frontmatter:kt,filepath:``,start:1437,sourceIndex:31,id:31,no:32},__clicksContext:null,__preloaded:!1}),jt=p({layout:`default`,core:!0,title:`The return, one step at a time`}),Mt=u({get layout(){return jt.layout},get transition(){return jt.transition},get class(){return jt.class},get clicks(){return jt.clicks},get name(){return jt.name},get preload(){return jt.preload},slide:{content:``,revision:`18knwe`,frontmatterRaw:`layout: default core: true title: The return, one step at a time `,note:``,title:`The return, one step at a time`,index:32,noteHTML:``,images:[],raw:``,frontmatter:jt,filepath:``,start:1461,sourceIndex:32,id:32,no:33},__clicksContext:null,__preloaded:!1}),Nt=p({layout:`default`,title:`In words: The return, one step at a time`}),Pt=u({get layout(){return Nt.layout},get transition(){return Nt.transition},get class(){return Nt.class},get clicks(){return Nt.clicks},get name(){return Nt.name},get preload(){return Nt.preload},slide:{content:``,revision:`cxbejs`,frontmatterRaw:`layout: default title: "In words: The return, one step at a time" `,note:``,title:`In words: The return, one step at a time`,index:33,noteHTML:``,images:[],raw:``,frontmatter:Nt,filepath:``,start:1537,sourceIndex:33,id:33,no:34},__clicksContext:null,__preloaded:!1}),Ft=p({layout:`section`,index:`03`}),It=u({get layout(){return Ft.layout},get transition(){return Ft.transition},get class(){return Ft.class},get clicks(){return Ft.clicks},get name(){return Ft.name},get preload(){return Ft.preload},slide:{content:``,revision:`veqdsp`,frontmatterRaw:`layout: section index: "03" `,note:``,title:`Policy and value`,level:1,index:34,noteHTML:``,images:[],raw:``,frontmatter:Ft,filepath:``,start:1564,sourceIndex:34,id:34,no:35},__clicksContext:null,__preloaded:!1}),Lt=p({layout:`default`,core:!0,title:`A policy: what to do in each cell`}),Rt=u({get layout(){return Lt.layout},get transition(){return Lt.transition},get class(){return Lt.class},get clicks(){return Lt.clicks},get name(){return Lt.name},get preload(){return Lt.preload},slide:{content:``,revision:`-93ui4n`,frontmatterRaw:`layout: default core: true title: "A policy: what to do in each cell" `,note:``,title:`A policy: what to do in each cell`,index:35,noteHTML:``,images:[],raw:``,frontmatter:Lt,filepath:``,start:1585,sourceIndex:35,id:35,no:36},__clicksContext:null,__preloaded:!1}),zt=p({layout:`default`,title:`In words: A policy: what to do in each cell`}),Bt=u({get layout(){return zt.layout},get transition(){return zt.transition},get class(){return zt.class},get clicks(){return zt.clicks},get name(){return zt.name},get preload(){return zt.preload},slide:{content:``,revision:`eu9sur`,frontmatterRaw:`layout: default title: "In words: A policy: what to do in each cell" `,note:``,title:`In words: A policy: what to do in each cell`,index:36,noteHTML:``,images:[],raw:``,frontmatter:zt,filepath:``,start:1648,sourceIndex:36,id:36,no:37},__clicksContext:null,__preloaded:!1}),Vt=p({layout:`default`,core:!0,title:`The value of a cell: v(s)`}),Ht=u({get layout(){return Vt.layout},get transition(){return Vt.transition},get class(){return Vt.class},get clicks(){return Vt.clicks},get name(){return Vt.name},get preload(){return Vt.preload},slide:{content:``,revision:`-rinoxm`,frontmatterRaw:`layout: default core: true title: "The value of a cell: v(s)" `,note:``,title:`The value of a cell: v(s)`,index:37,noteHTML:``,images:[],raw:``,frontmatter:Vt,filepath:``,start:1673,sourceIndex:37,id:37,no:38},__clicksContext:null,__preloaded:!1}),Ut=p({layout:`default`,title:`Reading the equation: the value of a cell`}),Wt=u({get layout(){return Ut.layout},get transition(){return Ut.transition},get class(){return Ut.class},get clicks(){return Ut.clicks},get name(){return Ut.name},get preload(){return Ut.preload},slide:{content:``,revision:`-jn2ljs`,frontmatterRaw:`layout: default title: "Reading the equation: the value of a cell" `,note:``,title:`Reading the equation: the value of a cell`,index:38,noteHTML:``,images:[],raw:``,frontmatter:Ut,filepath:``,start:1734,sourceIndex:38,id:38,no:39},__clicksContext:null,__preloaded:!1}),Gt=p({layout:`default`,title:`In words: The value of a cell: v(s)`}),Kt=u({get layout(){return Gt.layout},get transition(){return Gt.transition},get class(){return Gt.class},get clicks(){return Gt.clicks},get name(){return Gt.name},get preload(){return Gt.preload},slide:{content:``,revision:`4dxmq6`,frontmatterRaw:`layout: default title: "In words: The value of a cell: v(s)" `,note:``,title:`In words: The value of a cell: v(s)`,index:39,noteHTML:``,images:[],raw:``,frontmatter:Gt,filepath:``,start:1781,sourceIndex:39,id:39,no:40},__clicksContext:null,__preloaded:!1}),qt=p({layout:`default`,core:!0,title:`The value of a move: q(s, a)`}),Jt=u({get layout(){return qt.layout},get transition(){return qt.transition},get class(){return qt.class},get clicks(){return qt.clicks},get name(){return qt.name},get preload(){return qt.preload},slide:{content:``,revision:`5zx98d`,frontmatterRaw:`layout: default core: true title: "The value of a move: q(s, a)" `,note:``,title:`The value of a move: q(s, a)`,index:40,noteHTML:``,images:[],raw:``,frontmatter:qt,filepath:``,start:1806,sourceIndex:40,id:40,no:41},__clicksContext:null,__preloaded:!1}),Yt=p({layout:`default`,title:`In words: The value of a move: q(s, a)`}),Xt=u({get layout(){return Yt.layout},get transition(){return Yt.transition},get class(){return Yt.class},get clicks(){return Yt.clicks},get name(){return Yt.name},get preload(){return Yt.preload},slide:{content:``,revision:`rqs9r6`,frontmatterRaw:`layout: default title: "In words: The value of a move: q(s, a)" `,note:``,title:`In words: The value of a move: q(s, a)`,index:41,noteHTML:``,images:[],raw:``,frontmatter:Yt,filepath:``,start:1879,sourceIndex:41,id:41,no:42},__clicksContext:null,__preloaded:!1}),Zt=p({layout:`default`,core:!0,title:`The Bellman equation`,clicks:5}),Qt=u({get layout(){return Zt.layout},get transition(){return Zt.transition},get class(){return Zt.class},get clicks(){return Zt.clicks},get name(){return Zt.name},get preload(){return Zt.preload},slide:{content:``,revision:`gb0pi2`,frontmatterRaw:`layout: default core: true title: The Bellman equation clicks: 5 `,note:``,title:`The Bellman equation`,index:42,noteHTML:``,images:[],raw:``,frontmatter:Zt,filepath:``,start:1905,sourceIndex:42,id:42,no:43},__clicksContext:null,__preloaded:!1}),$t=p({layout:`default`,title:`Reading the equation: the Bellman equation`}),en=u({get layout(){return $t.layout},get transition(){return $t.transition},get class(){return $t.class},get clicks(){return $t.clicks},get name(){return $t.name},get preload(){return $t.preload},slide:{content:``,revision:`-c2j47p`,frontmatterRaw:`layout: default title: "Reading the equation: the Bellman equation" `,note:``,title:`Reading the equation: the Bellman equation`,index:43,noteHTML:``,images:[],raw:``,frontmatter:$t,filepath:``,start:1987,sourceIndex:43,id:43,no:44},__clicksContext:null,__preloaded:!1}),tn=p({layout:`default`,title:`In words: The Bellman equation`}),nn=u({get layout(){return tn.layout},get transition(){return tn.transition},get class(){return tn.class},get clicks(){return tn.clicks},get name(){return tn.name},get preload(){return tn.preload},slide:{content:``,revision:`vj22bs`,frontmatterRaw:`layout: default title: "In words: The Bellman equation" `,note:``,title:`In words: The Bellman equation`,index:44,noteHTML:``,images:[],raw:``,frontmatter:tn,filepath:``,start:2070,sourceIndex:44,id:44,no:45},__clicksContext:null,__preloaded:!1}),rn=p({layout:`interactive`,core:!0,heading:`Value iteration: sweep until nothing changes`,title:`Value iteration: sweep until nothing changes`,"aside-width":`15rem`,clicks:4}),an=u({get layout(){return rn.layout},get transition(){return rn.transition},get class(){return rn.class},get clicks(){return rn.clicks},get name(){return rn.name},get preload(){return rn.preload},slide:{content:``,revision:`-r59nqy`,frontmatterRaw:`layout: interactive core: true heading: "Value iteration: sweep until nothing changes" title: "Value iteration: sweep until nothing changes" aside-width: 15rem clicks: 4 `,note:``,title:`Value iteration: sweep until nothing changes`,index:45,noteHTML:``,images:[],raw:``,frontmatter:rn,filepath:``,start:2095,sourceIndex:45,id:45,no:46},__clicksContext:null,__preloaded:!1}),on=p({layout:`default`,title:`In words: Value iteration: sweep until nothing changes`}),sn=u({get layout(){return on.layout},get transition(){return on.transition},get class(){return on.class},get clicks(){return on.clicks},get name(){return on.name},get preload(){return on.preload},slide:{content:``,revision:`-k6hb2c`,frontmatterRaw:`layout: default title: "In words: Value iteration: sweep until nothing changes" `,note:``,title:`In words: Value iteration: sweep until nothing changes`,index:46,noteHTML:``,images:[],raw:``,frontmatter:on,filepath:``,start:2148,sourceIndex:46,id:46,no:47},__clicksContext:null,__preloaded:!1}),cn=p({layout:`default`,core:!0,title:`The catch: value iteration needs the map`}),ln=u({get layout(){return cn.layout},get transition(){return cn.transition},get class(){return cn.class},get clicks(){return cn.clicks},get name(){return cn.name},get preload(){return cn.preload},slide:{content:``,revision:`no2pwt`,frontmatterRaw:`layout: default core: true title: "The catch: value iteration needs the map" `,note:``,title:`The catch: value iteration needs the map`,index:47,noteHTML:``,images:[],raw:``,frontmatter:cn,filepath:``,start:2177,sourceIndex:47,id:47,no:48},__clicksContext:null,__preloaded:!1}),un=p({layout:`default`,title:`In words: The catch: value iteration needs the map`}),dn=u({get layout(){return un.layout},get transition(){return un.transition},get class(){return un.class},get clicks(){return un.clicks},get name(){return un.name},get preload(){return un.preload},slide:{content:``,revision:`-tgmvu3`,frontmatterRaw:`layout: default title: "In words: The catch: value iteration needs the map" `,note:``,title:`In words: The catch: value iteration needs the map`,index:48,noteHTML:``,images:[],raw:``,frontmatter:un,filepath:``,start:2239,sourceIndex:48,id:48,no:49},__clicksContext:null,__preloaded:!1}),fn=p({layout:`section`,index:`04`}),pn=u({get layout(){return fn.layout},get transition(){return fn.transition},get class(){return fn.class},get clicks(){return fn.clicks},get name(){return fn.name},get preload(){return fn.preload},slide:{content:``,revision:`-jczy8n`,frontmatterRaw:`layout: section index: "04" `,note:``,title:`Q-learning: no map needed`,level:1,index:49,noteHTML:``,images:[],raw:``,frontmatter:fn,filepath:``,start:2266,sourceIndex:49,id:49,no:50},__clicksContext:null,__preloaded:!1}),mn=p({layout:`default`,core:!0,title:`Plan with a map, or learn from experience`}),hn=u({get layout(){return mn.layout},get transition(){return mn.transition},get class(){return mn.class},get clicks(){return mn.clicks},get name(){return mn.name},get preload(){return mn.preload},slide:{content:``,revision:`-hu9bm9`,frontmatterRaw:`layout: default core: true title: Plan with a map, or learn from experience `,note:``,title:`Plan with a map, or learn from experience`,index:50,noteHTML:``,images:[],raw:``,frontmatter:mn,filepath:``,start:2289,sourceIndex:50,id:50,no:51},__clicksContext:null,__preloaded:!1}),gn=p({layout:`default`,title:`In words: Plan with a map, or learn from experience`}),_n=u({get layout(){return gn.layout},get transition(){return gn.transition},get class(){return gn.class},get clicks(){return gn.clicks},get name(){return gn.name},get preload(){return gn.preload},slide:{content:``,revision:`kvxfri`,frontmatterRaw:`layout: default title: "In words: Plan with a map, or learn from experience" `,note:``,title:`In words: Plan with a map, or learn from experience`,index:51,noteHTML:``,images:[],raw:``,frontmatter:gn,filepath:``,start:2365,sourceIndex:51,id:51,no:52},__clicksContext:null,__preloaded:!1}),vn=p({layout:`default`,core:!0,title:`Start with a table of guesses`}),yn=u({get layout(){return vn.layout},get transition(){return vn.transition},get class(){return vn.class},get clicks(){return vn.clicks},get name(){return vn.name},get preload(){return vn.preload},slide:{content:``,revision:`88fupb`,frontmatterRaw:`layout: default core: true title: Start with a table of guesses `,note:``,title:`Start with a table of guesses`,index:52,noteHTML:``,images:[],raw:``,frontmatter:vn,filepath:``,start:2388,sourceIndex:52,id:52,no:53},__clicksContext:null,__preloaded:!1}),bn=p({layout:`default`,title:`In words: Start with a table of guesses`}),xn=u({get layout(){return bn.layout},get transition(){return bn.transition},get class(){return bn.class},get clicks(){return bn.clicks},get name(){return bn.name},get preload(){return bn.preload},slide:{content:``,revision:`-ot16uq`,frontmatterRaw:`layout: default title: "In words: Start with a table of guesses" `,note:``,title:`In words: Start with a table of guesses`,index:53,noteHTML:``,images:[],raw:``,frontmatter:bn,filepath:``,start:2459,sourceIndex:53,id:53,no:54},__clicksContext:null,__preloaded:!1}),Sn=p({layout:`default`,core:!0,title:`Explore or exploit?`}),Cn=u({get layout(){return Sn.layout},get transition(){return Sn.transition},get class(){return Sn.class},get clicks(){return Sn.clicks},get name(){return Sn.name},get preload(){return Sn.preload},slide:{content:``,revision:`-d5r5ki`,frontmatterRaw:`layout: default core: true title: Explore or exploit? `,note:``,title:`Explore or exploit?`,index:54,noteHTML:``,images:[],raw:``,frontmatter:Sn,filepath:``,start:2485,sourceIndex:54,id:54,no:55},__clicksContext:null,__preloaded:!1}),wn=p({layout:`default`,title:`In words: Explore or exploit?`}),Tn=u({get layout(){return wn.layout},get transition(){return wn.transition},get class(){return wn.class},get clicks(){return wn.clicks},get name(){return wn.name},get preload(){return wn.preload},slide:{content:``,revision:`-z34ab7`,frontmatterRaw:`layout: default title: "In words: Explore or exploit?" `,note:``,title:`In words: Explore or exploit?`,index:55,noteHTML:``,images:[],raw:``,frontmatter:wn,filepath:``,start:2546,sourceIndex:55,id:55,no:56},__clicksContext:null,__preloaded:!1}),En=p({layout:`interactive`,core:!0,heading:`ε-greedy: mostly the best, sometimes random`,title:`ε-greedy: mostly the best, sometimes random`,"aside-width":`16rem`}),Dn=u({get layout(){return En.layout},get transition(){return En.transition},get class(){return En.class},get clicks(){return En.clicks},get name(){return En.name},get preload(){return En.preload},slide:{content:``,revision:`-mav4l9`,frontmatterRaw:`layout: interactive core: true heading: "ε-greedy: mostly the best, sometimes random" title: "ε-greedy: mostly the best, sometimes random" aside-width: 16rem `,note:``,title:`ε-greedy: mostly the best, sometimes random`,index:56,noteHTML:``,images:[],raw:``,frontmatter:En,filepath:``,start:2571,sourceIndex:56,id:56,no:57},__clicksContext:null,__preloaded:!1}),On=p({layout:`default`,title:`In words: ε-greedy: mostly the best, sometimes random`}),kn=u({get layout(){return On.layout},get transition(){return On.transition},get class(){return On.class},get clicks(){return On.clicks},get name(){return On.name},get preload(){return On.preload},slide:{content:``,revision:`-vch5g8`,frontmatterRaw:`layout: default title: "In words: ε-greedy: mostly the best, sometimes random" `,note:``,title:`In words: ε-greedy: mostly the best, sometimes random`,index:57,noteHTML:``,images:[],raw:``,frontmatter:On,filepath:``,start:2631,sourceIndex:57,id:57,no:58},__clicksContext:null,__preloaded:!1}),An=p({layout:`default`,core:!0,title:`The target: Bellman, with a real move`}),jn=u({get layout(){return An.layout},get transition(){return An.transition},get class(){return An.class},get clicks(){return An.clicks},get name(){return An.name},get preload(){return An.preload},slide:{content:``,revision:`-7nwttn`,frontmatterRaw:`layout: default core: true title: "The target: Bellman, with a real move" `,note:``,title:`The target: Bellman, with a real move`,index:58,noteHTML:``,images:[],raw:``,frontmatter:An,filepath:``,start:2657,sourceIndex:58,id:58,no:59},__clicksContext:null,__preloaded:!1}),Mn=p({layout:`default`,title:`In words: The target: Bellman, with a real move`}),Nn=u({get layout(){return Mn.layout},get transition(){return Mn.transition},get class(){return Mn.class},get clicks(){return Mn.clicks},get name(){return Mn.name},get preload(){return Mn.preload},slide:{content:``,revision:`4os9qq`,frontmatterRaw:`layout: default title: "In words: The target: Bellman, with a real move" `,note:``,title:`In words: The target: Bellman, with a real move`,index:59,noteHTML:``,images:[],raw:``,frontmatter:Mn,filepath:``,start:2718,sourceIndex:59,id:59,no:60},__clicksContext:null,__preloaded:!1}),Pn=p({layout:`default`,core:!0,title:`The Q-learning update`}),Fn=u({get layout(){return Pn.layout},get transition(){return Pn.transition},get class(){return Pn.class},get clicks(){return Pn.clicks},get name(){return Pn.name},get preload(){return Pn.preload},slide:{content:``,revision:`-lnspp5`,frontmatterRaw:`layout: default core: true title: The Q-learning update `,note:``,title:`The Q-learning update`,index:60,noteHTML:``,images:[],raw:``,frontmatter:Pn,filepath:``,start:2744,sourceIndex:60,id:60,no:61},__clicksContext:null,__preloaded:!1}),In=p({layout:`default`,core:!0,title:`Reading the equation: the Q-learning update`}),Ln=u({get layout(){return In.layout},get transition(){return In.transition},get class(){return In.class},get clicks(){return In.clicks},get name(){return In.name},get preload(){return In.preload},slide:{content:``,revision:`57pguq`,frontmatterRaw:`layout: default core: true title: "Reading the equation: the Q-learning update" `,note:``,title:`Reading the equation: the Q-learning update`,index:61,noteHTML:``,images:[],raw:``,frontmatter:In,filepath:``,start:2816,sourceIndex:61,id:61,no:62},__clicksContext:null,__preloaded:!1}),Rn=p({layout:`default`,title:`In words: The Q-learning update`}),zn=u({get layout(){return Rn.layout},get transition(){return Rn.transition},get class(){return Rn.class},get clicks(){return Rn.clicks},get name(){return Rn.name},get preload(){return Rn.preload},slide:{content:``,revision:`st3n6p`,frontmatterRaw:`layout: default title: "In words: The Q-learning update" `,note:``,title:`In words: The Q-learning update`,index:62,noteHTML:``,images:[],raw:``,frontmatter:Rn,filepath:``,start:2876,sourceIndex:62,id:62,no:63},__clicksContext:null,__preloaded:!1}),Bn=p({layout:`default`,title:`Three updates by hand`}),Vn=u({get layout(){return Bn.layout},get transition(){return Bn.transition},get class(){return Bn.class},get clicks(){return Bn.clicks},get name(){return Bn.name},get preload(){return Bn.preload},slide:{content:``,revision:`nawzi1`,frontmatterRaw:`layout: default title: Three updates by hand `,note:``,title:`Three updates by hand`,index:63,noteHTML:``,images:[],raw:``,frontmatter:Bn,filepath:``,start:2902,sourceIndex:63,id:63,no:64},__clicksContext:null,__preloaded:!1}),Hn=p({layout:`default`,title:`In words: Three updates by hand`}),Un=u({get layout(){return Hn.layout},get transition(){return Hn.transition},get class(){return Hn.class},get clicks(){return Hn.clicks},get name(){return Hn.name},get preload(){return Hn.preload},slide:{content:``,revision:`sf16c6`,frontmatterRaw:`layout: default title: "In words: Three updates by hand" `,note:``,title:`In words: Three updates by hand`,index:64,noteHTML:``,images:[],raw:``,frontmatter:Hn,filepath:``,start:2968,sourceIndex:64,id:64,no:65},__clicksContext:null,__preloaded:!1}),Wn=p({layout:`interactive`,core:!0,heading:`Watch the robot learn`,title:`Watch the robot learn`,"aside-width":`15rem`}),Gn=u({get layout(){return Wn.layout},get transition(){return Wn.transition},get class(){return Wn.class},get clicks(){return Wn.clicks},get name(){return Wn.name},get preload(){return Wn.preload},slide:{content:``,revision:`wddh65`,frontmatterRaw:`layout: interactive core: true heading: Watch the robot learn title: Watch the robot learn aside-width: 15rem `,note:``,title:`Watch the robot learn`,index:65,noteHTML:``,images:[],raw:``,frontmatter:Wn,filepath:``,start:2995,sourceIndex:65,id:65,no:66},__clicksContext:null,__preloaded:!1}),Kn=p({layout:`default`,title:`In words: Watch the robot learn`}),qn=u({get layout(){return Kn.layout},get transition(){return Kn.transition},get class(){return Kn.class},get clicks(){return Kn.clicks},get name(){return Kn.name},get preload(){return Kn.preload},slide:{content:``,revision:`-1b3h2d`,frontmatterRaw:`layout: default title: "In words: Watch the robot learn" `,note:``,title:`In words: Watch the robot learn`,index:66,noteHTML:``,images:[],raw:``,frontmatter:Kn,filepath:``,start:3063,sourceIndex:66,id:66,no:67},__clicksContext:null,__preloaded:!1}),Jn=p({layout:`default`,core:!0,title:`Poll: one fall, and then?`}),Yn=u({get layout(){return Jn.layout},get transition(){return Jn.transition},get class(){return Jn.class},get clicks(){return Jn.clicks},get name(){return Jn.name},get preload(){return Jn.preload},slide:{content:``,revision:`-lfs95j`,frontmatterRaw:`layout: default core: true title: "Poll: one fall, and then?" `,note:``,title:`Poll: one fall, and then?`,index:67,noteHTML:``,images:[],raw:``,frontmatter:Jn,filepath:``,start:3090,sourceIndex:67,id:67,no:68},__clicksContext:null,__preloaded:!1}),Xn=p({layout:`default`,title:`In words: one fall, and then?`}),Zn=u({get layout(){return Xn.layout},get transition(){return Xn.transition},get class(){return Xn.class},get clicks(){return Xn.clicks},get name(){return Xn.name},get preload(){return Xn.preload},slide:{content:``,revision:`-7mv5x1`,frontmatterRaw:`layout: default title: "In words: one fall, and then?" `,note:``,title:`In words: one fall, and then?`,index:68,noteHTML:``,images:[],raw:``,frontmatter:Xn,filepath:``,start:3156,sourceIndex:68,id:68,no:69},__clicksContext:null,__preloaded:!1}),Qn=p({layout:`default`,title:`Going deeper: why Q-learning is called off-policy`}),$n=u({get layout(){return Qn.layout},get transition(){return Qn.transition},get class(){return Qn.class},get clicks(){return Qn.clicks},get name(){return Qn.name},get preload(){return Qn.preload},slide:{content:``,revision:`-th9s0c`,frontmatterRaw:`layout: default title: "Going deeper: why Q-learning is called off-policy" `,note:``,title:`Going deeper: why Q-learning is called off-policy`,index:69,noteHTML:``,images:[],raw:``,frontmatter:Qn,filepath:``,start:3182,sourceIndex:69,id:69,no:70},__clicksContext:null,__preloaded:!1}),er=p({layout:`default`,title:`In words: Going deeper: why Q-learning is called off-policy`}),tr=u({get layout(){return er.layout},get transition(){return er.transition},get class(){return er.class},get clicks(){return er.clicks},get name(){return er.name},get preload(){return er.preload},slide:{content:``,revision:`dymq8x`,frontmatterRaw:`layout: default title: "In words: Going deeper: why Q-learning is called off-policy" `,note:``,title:`In words: Going deeper: why Q-learning is called off-policy`,index:70,noteHTML:``,images:[],raw:``,frontmatter:er,filepath:``,start:3242,sourceIndex:70,id:70,no:71},__clicksContext:null,__preloaded:!1}),nr=p({layout:`section`,index:`05`}),rr=u({get layout(){return nr.layout},get transition(){return nr.transition},get class(){return nr.class},get clicks(){return nr.clicks},get name(){return nr.name},get preload(){return nr.preload},slide:{content:``,revision:`-n2ujvt`,frontmatterRaw:`layout: section index: "05" `,note:``,title:`Deep Q-networks`,level:1,index:71,noteHTML:``,images:[],raw:``,frontmatter:nr,filepath:``,start:3267,sourceIndex:71,id:71,no:72},__clicksContext:null,__preloaded:!1}),ir=p({layout:`default`,core:!0,title:`When the table gets too big`}),ar=u({get layout(){return ir.layout},get transition(){return ir.transition},get class(){return ir.class},get clicks(){return ir.clicks},get name(){return ir.name},get preload(){return ir.preload},slide:{content:``,revision:`3l04m9`,frontmatterRaw:`layout: default core: true title: When the table gets too big `,note:``,title:`When the table gets too big`,index:72,noteHTML:``,images:[],raw:``,frontmatter:ir,filepath:``,start:3289,sourceIndex:72,id:72,no:73},__clicksContext:null,__preloaded:!1}),or=p({layout:`default`,title:`In words: When the table gets too big`}),sr=u({get layout(){return or.layout},get transition(){return or.transition},get class(){return or.class},get clicks(){return or.clicks},get name(){return or.name},get preload(){return or.preload},slide:{content:``,revision:`8yclrn`,frontmatterRaw:`layout: default title: "In words: When the table gets too big" `,note:``,title:`In words: When the table gets too big`,index:73,noteHTML:``,images:[],raw:``,frontmatter:or,filepath:``,start:3351,sourceIndex:73,id:73,no:74},__clicksContext:null,__preloaded:!1}),cr=p({layout:`default`,core:!0,title:`A network instead of a table`}),lr=u({get layout(){return cr.layout},get transition(){return cr.transition},get class(){return cr.class},get clicks(){return cr.clicks},get name(){return cr.name},get preload(){return cr.preload},slide:{content:``,revision:`-3g77og`,frontmatterRaw:`layout: default core: true title: A network instead of a table `,note:``,title:`A network instead of a table`,index:74,noteHTML:``,images:[],raw:``,frontmatter:cr,filepath:``,start:3375,sourceIndex:74,id:74,no:75},__clicksContext:null,__preloaded:!1}),ur=p({layout:`default`,title:`In words: A network instead of a table`}),dr=u({get layout(){return ur.layout},get transition(){return ur.transition},get class(){return ur.class},get clicks(){return ur.clicks},get name(){return ur.name},get preload(){return ur.preload},slide:{content:``,revision:`dnqw52`,frontmatterRaw:`layout: default title: "In words: A network instead of a table" `,note:``,title:`In words: A network instead of a table`,index:75,noteHTML:``,images:[],raw:``,frontmatter:ur,filepath:``,start:3451,sourceIndex:75,id:75,no:76},__clicksContext:null,__preloaded:!1}),fr=p({layout:`default`,title:`Going deeper: the network that played Atari`}),pr=u({get layout(){return fr.layout},get transition(){return fr.transition},get class(){return fr.class},get clicks(){return fr.clicks},get name(){return fr.name},get preload(){return fr.preload},slide:{content:``,revision:`-i8iz6d`,frontmatterRaw:`layout: default title: "Going deeper: the network that played Atari" `,note:``,title:`Going deeper: the network that played Atari`,index:76,noteHTML:``,images:[],raw:``,frontmatter:fr,filepath:``,start:3477,sourceIndex:76,id:76,no:77},__clicksContext:null,__preloaded:!1}),mr=p({layout:`default`,title:`In words: Going deeper: the network that played Atari`}),hr=u({get layout(){return mr.layout},get transition(){return mr.transition},get class(){return mr.class},get clicks(){return mr.clicks},get name(){return mr.name},get preload(){return mr.preload},slide:{content:``,revision:`-l4k7m2`,frontmatterRaw:`layout: default title: "In words: Going deeper: the network that played Atari" `,note:``,title:`In words: Going deeper: the network that played Atari`,index:77,noteHTML:``,images:[],raw:``,frontmatter:mr,filepath:``,start:3535,sourceIndex:77,id:77,no:78},__clicksContext:null,__preloaded:!1}),gr=p({layout:`default`,core:!0,title:`Two problems when a network learns from its own moves`}),_r=u({get layout(){return gr.layout},get transition(){return gr.transition},get class(){return gr.class},get clicks(){return gr.clicks},get name(){return gr.name},get preload(){return gr.preload},slide:{content:``,revision:`jjwosg`,frontmatterRaw:`layout: default core: true title: Two problems when a network learns from its own moves `,note:``,title:`Two problems when a network learns from its own moves`,index:78,noteHTML:``,images:[],raw:``,frontmatter:gr,filepath:``,start:3562,sourceIndex:78,id:78,no:79},__clicksContext:null,__preloaded:!1}),vr=p({layout:`default`,title:`In words: Two problems when a network learns from its own moves`}),yr=u({get layout(){return vr.layout},get transition(){return vr.transition},get class(){return vr.class},get clicks(){return vr.clicks},get name(){return vr.name},get preload(){return vr.preload},slide:{content:``,revision:`-abcg03`,frontmatterRaw:`layout: default title: "In words: Two problems when a network learns from its own moves" `,note:``,title:`In words: Two problems when a network learns from its own moves`,index:79,noteHTML:``,images:[],raw:``,frontmatter:vr,filepath:``,start:3634,sourceIndex:79,id:79,no:80},__clicksContext:null,__preloaded:!1}),br=p({layout:`default`,core:!0,title:`Fix 1: experience replay`}),xr=u({get layout(){return br.layout},get transition(){return br.transition},get class(){return br.class},get clicks(){return br.clicks},get name(){return br.name},get preload(){return br.preload},slide:{content:``,revision:`-urocv7`,frontmatterRaw:`layout: default core: true title: "Fix 1: experience replay" `,note:``,title:`Fix 1: experience replay`,index:80,noteHTML:``,images:[],raw:``,frontmatter:br,filepath:``,start:3660,sourceIndex:80,id:80,no:81},__clicksContext:null,__preloaded:!1}),Sr=p({layout:`default`,title:`In words: Fix 1: experience replay`}),Cr=u({get layout(){return Sr.layout},get transition(){return Sr.transition},get class(){return Sr.class},get clicks(){return Sr.clicks},get name(){return Sr.name},get preload(){return Sr.preload},slide:{content:``,revision:`xb016a`,frontmatterRaw:`layout: default title: "In words: Fix 1: experience replay" `,note:``,title:`In words: Fix 1: experience replay`,index:81,noteHTML:``,images:[],raw:``,frontmatter:Sr,filepath:``,start:3740,sourceIndex:81,id:81,no:82},__clicksContext:null,__preloaded:!1}),wr=p({layout:`default`,core:!0,title:`Fix 2: a target network`}),Tr=u({get layout(){return wr.layout},get transition(){return wr.transition},get class(){return wr.class},get clicks(){return wr.clicks},get name(){return wr.name},get preload(){return wr.preload},slide:{content:``,revision:`p337tc`,frontmatterRaw:`layout: default core: true title: "Fix 2: a target network" `,note:``,title:`Fix 2: a target network`,index:82,noteHTML:``,images:[],raw:``,frontmatter:wr,filepath:``,start:3765,sourceIndex:82,id:82,no:83},__clicksContext:null,__preloaded:!1}),Er=p({layout:`default`,title:`In words: Fix 2: a target network`}),Dr=u({get layout(){return Er.layout},get transition(){return Er.transition},get class(){return Er.class},get clicks(){return Er.clicks},get name(){return Er.name},get preload(){return Er.preload},slide:{content:``,revision:`soxbwq`,frontmatterRaw:`layout: default title: "In words: Fix 2: a target network" `,note:``,title:`In words: Fix 2: a target network`,index:83,noteHTML:``,images:[],raw:``,frontmatter:Er,filepath:``,start:3838,sourceIndex:83,id:83,no:84},__clicksContext:null,__preloaded:!1}),Or=p({layout:`default`,core:!0,title:`The DQN loss`}),kr=u({get layout(){return Or.layout},get transition(){return Or.transition},get class(){return Or.class},get clicks(){return Or.clicks},get name(){return Or.name},get preload(){return Or.preload},slide:{content:``,revision:`-awy7b6`,frontmatterRaw:`layout: default core: true title: The DQN loss `,note:``,title:`The DQN loss`,index:84,noteHTML:``,images:[],raw:``,frontmatter:Or,filepath:``,start:3864,sourceIndex:84,id:84,no:85},__clicksContext:null,__preloaded:!1}),Ar=p({layout:`default`,title:`Reading the equation: the DQN loss`}),jr=u({get layout(){return Ar.layout},get transition(){return Ar.transition},get class(){return Ar.class},get clicks(){return Ar.clicks},get name(){return Ar.name},get preload(){return Ar.preload},slide:{content:``,revision:`-cip95z`,frontmatterRaw:`layout: default title: "Reading the equation: the DQN loss" `,note:``,title:`Reading the equation: the DQN loss`,index:85,noteHTML:``,images:[],raw:``,frontmatter:Ar,filepath:``,start:3950,sourceIndex:85,id:85,no:86},__clicksContext:null,__preloaded:!1}),Mr=p({layout:`default`,title:`In words: The DQN loss`}),Nr=u({get layout(){return Mr.layout},get transition(){return Mr.transition},get class(){return Mr.class},get clicks(){return Mr.clicks},get name(){return Mr.name},get preload(){return Mr.preload},slide:{content:``,revision:`psy0fr`,frontmatterRaw:`layout: default title: "In words: The DQN loss" `,note:``,title:`In words: The DQN loss`,index:86,noteHTML:``,images:[],raw:``,frontmatter:Mr,filepath:``,start:4004,sourceIndex:86,id:86,no:87},__clicksContext:null,__preloaded:!1}),Pr=p({layout:`interactive`,core:!0,heading:`The DQN loop, stage by stage`,title:`The DQN loop, stage by stage`,"aside-width":`13rem`,clicks:8}),Fr=u({get layout(){return Pr.layout},get transition(){return Pr.transition},get class(){return Pr.class},get clicks(){return Pr.clicks},get name(){return Pr.name},get preload(){return Pr.preload},slide:{content:``,revision:`nwz4h7`,frontmatterRaw:`layout: interactive core: true heading: The DQN loop, stage by stage title: The DQN loop, stage by stage aside-width: 13rem clicks: 8 `,note:``,title:`The DQN loop, stage by stage`,index:87,noteHTML:``,images:[],raw:``,frontmatter:Pr,filepath:``,start:4029,sourceIndex:87,id:87,no:88},__clicksContext:null,__preloaded:!1}),Ir=p({layout:`default`,title:`In words: The DQN loop, stage by stage`}),Lr=u({get layout(){return Ir.layout},get transition(){return Ir.transition},get class(){return Ir.class},get clicks(){return Ir.clicks},get name(){return Ir.name},get preload(){return Ir.preload},slide:{content:``,revision:`fvwgr7`,frontmatterRaw:`layout: default title: "In words: The DQN loop, stage by stage" `,note:``,title:`In words: The DQN loop, stage by stage`,index:88,noteHTML:``,images:[],raw:``,frontmatter:Ir,filepath:``,start:4090,sourceIndex:88,id:88,no:89},__clicksContext:null,__preloaded:!1}),Rr=p({layout:`default`,core:!0,title:`In PyTorch: the network and the action`}),zr=u({get layout(){return Rr.layout},get transition(){return Rr.transition},get class(){return Rr.class},get clicks(){return Rr.clicks},get name(){return Rr.name},get preload(){return Rr.preload},slide:{content:``,revision:`o3t5x8`,frontmatterRaw:`layout: default core: true title: "In PyTorch: the network and the action" `,note:``,title:`In PyTorch: the network and the action`,index:89,noteHTML:``,images:[],raw:``,frontmatter:Rr,filepath:``,start:4117,sourceIndex:89,id:89,no:90},__clicksContext:null,__preloaded:!1}),Br=p({layout:`default`,title:`In words: In PyTorch: the network and the action`}),Vr=u({get layout(){return Br.layout},get transition(){return Br.transition},get class(){return Br.class},get clicks(){return Br.clicks},get name(){return Br.name},get preload(){return Br.preload},slide:{content:``,revision:`c6kwx2`,frontmatterRaw:`layout: default title: "In words: In PyTorch: the network and the action" `,note:``,title:`In words: In PyTorch: the network and the action`,index:90,noteHTML:``,images:[],raw:``,frontmatter:Br,filepath:``,start:4176,sourceIndex:90,id:90,no:91},__clicksContext:null,__preloaded:!1}),Hr=p({layout:`default`,title:`In PyTorch: the replay buffer`}),Ur=u({get layout(){return Hr.layout},get transition(){return Hr.transition},get class(){return Hr.class},get clicks(){return Hr.clicks},get name(){return Hr.name},get preload(){return Hr.preload},slide:{content:``,revision:`lhy646`,frontmatterRaw:`layout: default title: "In PyTorch: the replay buffer" `,note:``,title:`In PyTorch: the replay buffer`,index:91,noteHTML:``,images:[],raw:``,frontmatter:Hr,filepath:``,start:4200,sourceIndex:91,id:91,no:92},__clicksContext:null,__preloaded:!1}),Wr=p({layout:`default`,title:`In words: In PyTorch: the replay buffer`}),Gr=u({get layout(){return Wr.layout},get transition(){return Wr.transition},get class(){return Wr.class},get clicks(){return Wr.clicks},get name(){return Wr.name},get preload(){return Wr.preload},slide:{content:``,revision:`-ca6ufk`,frontmatterRaw:`layout: default title: "In words: In PyTorch: the replay buffer" `,note:``,title:`In words: In PyTorch: the replay buffer`,index:92,noteHTML:``,images:[],raw:``,frontmatter:Wr,filepath:``,start:4260,sourceIndex:92,id:92,no:93},__clicksContext:null,__preloaded:!1}),Kr=p({layout:`default`,core:!0,title:`In PyTorch: one training step`}),qr=u({get layout(){return Kr.layout},get transition(){return Kr.transition},get class(){return Kr.class},get clicks(){return Kr.clicks},get name(){return Kr.name},get preload(){return Kr.preload},slide:{content:``,revision:`-gcthx4`,frontmatterRaw:`layout: default core: true title: "In PyTorch: one training step" `,note:``,title:`In PyTorch: one training step`,index:93,noteHTML:``,images:[],raw:``,frontmatter:Kr,filepath:``,start:4284,sourceIndex:93,id:93,no:94},__clicksContext:null,__preloaded:!1}),Jr=p({layout:`default`,title:`In words: In PyTorch: one training step`}),Yr=u({get layout(){return Jr.layout},get transition(){return Jr.transition},get class(){return Jr.class},get clicks(){return Jr.clicks},get name(){return Jr.name},get preload(){return Jr.preload},slide:{content:``,revision:`5so07c`,frontmatterRaw:`layout: default title: "In words: In PyTorch: one training step" `,note:``,title:`In words: In PyTorch: one training step`,index:94,noteHTML:``,images:[],raw:``,frontmatter:Jr,filepath:``,start:4347,sourceIndex:94,id:94,no:95},__clicksContext:null,__preloaded:!1}),Xr=p({layout:`default`,title:`Going deeper: the whole loop, on CartPole`}),Zr=u({get layout(){return Xr.layout},get transition(){return Xr.transition},get class(){return Xr.class},get clicks(){return Xr.clicks},get name(){return Xr.name},get preload(){return Xr.preload},slide:{content:``,revision:`-ol5b57`,frontmatterRaw:`layout: default title: "Going deeper: the whole loop, on CartPole" `,note:``,title:`Going deeper: the whole loop, on CartPole`,index:95,noteHTML:``,images:[],raw:``,frontmatter:Xr,filepath:``,start:4373,sourceIndex:95,id:95,no:96},__clicksContext:null,__preloaded:!1}),Qr=p({layout:`default`,title:`In words: Going deeper: the whole loop, on CartPole`}),$r=u({get layout(){return Qr.layout},get transition(){return Qr.transition},get class(){return Qr.class},get clicks(){return Qr.clicks},get name(){return Qr.name},get preload(){return Qr.preload},slide:{content:``,revision:`-yeqamr`,frontmatterRaw:`layout: default title: "In words: Going deeper: the whole loop, on CartPole" `,note:``,title:`In words: Going deeper: the whole loop, on CartPole`,index:96,noteHTML:``,images:[],raw:``,frontmatter:Qr,filepath:``,start:4445,sourceIndex:96,id:96,no:97},__clicksContext:null,__preloaded:!1}),ei=p({layout:`default`,core:!0,title:`What DQN achieved, and where it stops`}),ti=u({get layout(){return ei.layout},get transition(){return ei.transition},get class(){return ei.class},get clicks(){return ei.clicks},get name(){return ei.name},get preload(){return ei.preload},slide:{content:``,revision:`-v5cb2x`,frontmatterRaw:`layout: default core: true title: What DQN achieved, and where it stops `,note:``,title:`What DQN achieved, and where it stops`,index:97,noteHTML:``,images:[],raw:``,frontmatter:ei,filepath:``,start:4471,sourceIndex:97,id:97,no:98},__clicksContext:null,__preloaded:!1}),X=p({layout:`default`,title:`In words: What DQN achieved, and where it stops`}),ni=u({get layout(){return X.layout},get transition(){return X.transition},get class(){return X.class},get clicks(){return X.clicks},get name(){return X.name},get preload(){return X.preload},slide:{content:``,revision:`-rsxflw`,frontmatterRaw:`layout: default title: "In words: What DQN achieved, and where it stops" `,note:``,title:`In words: What DQN achieved, and where it stops`,index:98,noteHTML:``,images:[],raw:``,frontmatter:X,filepath:``,start:4543,sourceIndex:98,id:98,no:99},__clicksContext:null,__preloaded:!1}),ri=p({layout:`section`,index:`06`}),ii=u({get layout(){return ri.layout},get transition(){return ri.transition},get class(){return ri.class},get clicks(){return ri.clicks},get name(){return ri.name},get preload(){return ri.preload},slide:{content:``,revision:`xabb7e`,frontmatterRaw:`layout: section index: "06" `,note:``,title:`Recap`,level:1,index:99,noteHTML:``,images:[],raw:``,frontmatter:ri,filepath:``,start:4567,sourceIndex:99,id:99,no:100},__clicksContext:null,__preloaded:!1}),ai=p({layout:`default`,core:!0,title:`Four ideas, one robot`}),oi=u({get layout(){return ai.layout},get transition(){return ai.transition},get class(){return ai.class},get clicks(){return ai.clicks},get name(){return ai.name},get preload(){return ai.preload},slide:{content:``,revision:`-o1lt6r`,frontmatterRaw:`layout: default core: true title: Four ideas, one robot `,note:``,title:`Four ideas, one robot`,index:100,noteHTML:``,images:[],raw:``,frontmatter:ai,filepath:``,start:4583,sourceIndex:100,id:100,no:101},__clicksContext:null,__preloaded:!1}),si=p({layout:`default`,title:`In words: Four ideas, one robot`}),ci=u({get layout(){return si.layout},get transition(){return si.transition},get class(){return si.class},get clicks(){return si.clicks},get name(){return si.name},get preload(){return si.preload},slide:{content:``,revision:`-igdftc`,frontmatterRaw:`layout: default title: "In words: Four ideas, one robot" `,note:``,title:`In words: Four ideas, one robot`,index:101,noteHTML:``,images:[],raw:``,frontmatter:si,filepath:``,start:4658,sourceIndex:101,id:101,no:102},__clicksContext:null,__preloaded:!1}),li=p({layout:`default`,title:`Reading and things to try`}),ui=u({get layout(){return li.layout},get transition(){return li.transition},get class(){return li.class},get clicks(){return li.clicks},get name(){return li.name},get preload(){return li.preload},slide:{content:``,revision:`dq8pvq`,frontmatterRaw:`layout: default title: Reading and things to try `,note:``,title:`Reading and things to try`,index:102,noteHTML:``,images:[],raw:``,frontmatter:li,filepath:``,start:4684,sourceIndex:102,id:102,no:103},__clicksContext:null,__preloaded:!1}),di=p({layout:`default`,title:`In words: Reading and things to try`}),fi=u({get layout(){return di.layout},get transition(){return di.transition},get class(){return di.class},get clicks(){return di.clicks},get name(){return di.name},get preload(){return di.preload},slide:{content:``,revision:`3ins9j`,frontmatterRaw:`layout: default title: "In words: Reading and things to try" `,note:``,title:`In words: Reading and things to try`,index:103,noteHTML:``,images:[],raw:``,frontmatter:di,filepath:``,start:4741,sourceIndex:103,id:103,no:104},__clicksContext:null,__preloaded:!1}),pi=p({layout:`end`,email:`vajira@simula.no`}),mi=u({get layout(){return pi.layout},get transition(){return pi.transition},get class(){return pi.class},get clicks(){return pi.clicks},get name(){return pi.name},get preload(){return pi.preload},slide:{content:``,revision:`-d3vbrx`,frontmatterRaw:`layout: end email: vajira@simula.no `,note:``,title:`Questions?`,level:1,index:104,noteHTML:``,images:[],raw:``,frontmatter:pi,filepath:``,start:4766,sourceIndex:104,id:104,no:105},__clicksContext:null,__preloaded:!1}),Z=Array(105),Q=(e,t)=>re({loader:t,delay:300,loadingComponent:Ze,errorComponent:v,onError:t=>console.error(`Failed to load slide `+(e+1),t)}),hi=async()=>{try{return Z[0]??=await _(()=>import(`./md-DFkbKXSo.js`),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10]),import.meta.url)}catch(e){return console.error(`slide failed to load`,e),v}},gi=async()=>{try{return Z[1]??=await _(()=>import(`./md-pFjrzahN2.js`),__vite__mapDeps([11,1,2,3,5,6,12,4,13,14,15,16,17,18,19,20,21,22]),import.meta.url)}catch(e){return console.error(`slide failed to load`,e),v}},_i=async()=>{try{return Z[2]??=await _(()=>import(`./md-DHODWU9R.js`),__vite__mapDeps([23,1,2,3,5,6,12,4,13,14,15,16,17,18,19,20]),import.meta.url)}catch(e){return console.error(`slide failed to load`,e),v}},vi=async()=>{try{return Z[3]??=await _(()=>import(`./md-DPJgeVRt2.js`),__vite__mapDeps([24,1,2,3,5,6,21,4,22,25,26]),import.meta.url)}catch(e){return console.error(`slide failed to load`,e),v}},yi=async()=>{try{return Z[4]??=await _(()=>import(`./md-GvEn7lJR.js`),__vite__mapDeps([27,1,2,3,5,6,12,4,13,14,15,16,17,18,19,20,28]),import.meta.url)}catch(e){return console.error(`slide failed to load`,e),v}},bi=async()=>{try{return Z[5]??=await _(()=>import(`./md-DOVVkhja.js`),__vite__mapDeps([29,1,2,3,5,6,12,4,13,14,15,16,17,18,19,20]),import.meta.url)}catch(e){return console.error(`slide failed to load`,e),v}},xi=async()=>{try{return Z[6]??=await _(()=>import(`./md-D78P-CVF.js`),__vite__mapDeps([30,1,2,3,5,6,12,4,13,14,15,16,17,18,19,20]),import.meta.url)}catch(e){return console.error(`slide failed to load`,e),v}},Si=async()=>{try{return Z[7]??=await _(()=>import(`./md-BTt_dRtv2.js`),__vite__mapDeps([31,1,2,3,5,6,12,4,13,14,15,16,17,18,19,20]),import.meta.url)}catch(e){return console.error(`slide failed to load`,e),v}},Ci=async()=>{try{return Z[8]??=await _(()=>import(`./md-DF15gv0p2.js`),__vite__mapDeps([32,1,2,3,5,6,12,4,13,14,15,16,17,18,19,20]),import.meta.url)}catch(e){return console.error(`slide failed to load`,e),v}},wi=async()=>{try{return Z[9]??=await _(()=>import(`./md-Cpligg9D.js`),__vite__mapDeps([33,1,2,3,5,6,12,4,13,14,15,16,17,18,19,20]),import.meta.url)}catch(e){return console.error(`slide failed to load`,e),v}},Ti=async()=>{try{return Z[10]??=await _(()=>import(`./md-BjLiGZe7.js`),__vite__mapDeps([34,1,2,3,5,6,7,4,8,9,12,13,14,15,16,17,18,19,20,28]),import.meta.url)}catch(e){return console.error(`slide failed to load`,e),v}},Ei=async()=>{try{return Z[11]??=await _(()=>import(`./md-BoUgDoJP.js`),__vite__mapDeps([35,1,2,3,5,6,12,4,13,14,15,16,17,18,19,20]),import.meta.url)}catch(e){return console.error(`slide failed to load`,e),v}},Di=async()=>{try{return Z[12]??=await _(()=>import(`./md-YUWOF7of.js`),__vite__mapDeps([36,1,2,3,5,6,12,4,13,14,15,16,17,18,19,20,21,22,37,28,38]),import.meta.url)}catch(e){return console.error(`slide failed to load`,e),v}},Oi=async()=>{try{return Z[13]??=await _(()=>import(`./md-TKUiOOmA.js`),__vite__mapDeps([39,1,2,3,5,6,12,4,13,14,15,16,17,18,19,20]),import.meta.url)}catch(e){return console.error(`slide failed to load`,e),v}},ki=async()=>{try{return Z[14]??=await _(()=>import(`./md-Bz5Zd8AS.js`),__vite__mapDeps([40,1,2,3,5,6,21,4,22,25,26]),import.meta.url)}catch(e){return console.error(`slide failed to load`,e),v}},Ai=async()=>{try{return Z[15]??=await _(()=>import(`./md-CO0h-U_E.js`),__vite__mapDeps([41,1,2,3,5,6,7,4,8,9,12,13,14,15,16,17,18,19,20]),import.meta.url)}catch(e){return console.error(`slide failed to load`,e),v}},ji=async()=>{try{return Z[16]??=await _(()=>import(`./md-qI5Gn-4r.js`),__vite__mapDeps([42,1,2,3,5,6,12,4,13,14,15,16,17,18,19,20]),import.meta.url)}catch(e){return console.error(`slide failed to load`,e),v}},Mi=async()=>{try{return Z[17]??=await _(()=>import(`./md-l6R6jPGW.js`),__vite__mapDeps([43,1,2,3,5,6,7,4,8,9,12,13,14,15,16,17,18,19,20,28,44]),import.meta.url)}catch(e){return console.error(`slide failed to load`,e),v}},Ni=async()=>{try{return Z[18]??=await _(()=>import(`./md-DxEIUlRz.js`),__vite__mapDeps([45,1,2,3,5,6,7,4,8,9,12,13,14,15,16,17,18,19,20,44]),import.meta.url)}catch(e){return console.error(`slide failed to load`,e),v}},Pi=async()=>{try{return Z[19]??=await _(()=>import(`./md-Bu3XUXeA.js`),__vite__mapDeps([46,1,2,3,5,6,12,4,13,14,15,16,17,18,19,20]),import.meta.url)}catch(e){return console.error(`slide failed to load`,e),v}},Fi=async()=>{try{return Z[20]??=await _(()=>import(`./md-DwcCo75s.js`),__vite__mapDeps([47,1,2,3,5,6,12,4,13,14,15,16,17,18,19,20,44]),import.meta.url)}catch(e){return console.error(`slide failed to load`,e),v}},Ii=async()=>{try{return Z[21]??=await _(()=>import(`./md-C9dA0XC0.js`),__vite__mapDeps([48,1,2,3,5,6,12,4,13,14,15,16,17,18,19,20]),import.meta.url)}catch(e){return console.error(`slide failed to load`,e),v}},Li=async()=>{try{return Z[22]??=await _(()=>import(`./md-X6pHqlXs.js`),__vite__mapDeps([49,1,2,3,5,6,7,4,8,9,12,13,14,15,16,17,18,19,20]),import.meta.url)}catch(e){return console.error(`slide failed to load`,e),v}},Ri=async()=>{try{return Z[23]??=await _(()=>import(`./md-DImml7fy2.js`),__vite__mapDeps([50,1,2,3,5,6,12,4,13,14,15,16,17,18,19,20]),import.meta.url)}catch(e){return console.error(`slide failed to load`,e),v}},zi=async()=>{try{return Z[24]??=await _(()=>import(`./md-WQ4TFyjA.js`),__vite__mapDeps([51,1,2,3,5,6,21,4,22,25,26]),import.meta.url)}catch(e){return console.error(`slide failed to load`,e),v}},Bi=async()=>{try{return Z[25]??=await _(()=>import(`./md-Q973zyBX.js`),__vite__mapDeps([52,1,2,3,5,6,12,4,13,14,15,16,17,18,19,20,44]),import.meta.url)}catch(e){return console.error(`slide failed to load`,e),v}},Vi=async()=>{try{return Z[26]??=await _(()=>import(`./md-D7EmREcg2.js`),__vite__mapDeps([53,1,2,3,5,6,12,4,13,14,15,16,17,18,19,20,21,22]),import.meta.url)}catch(e){return console.error(`slide failed to load`,e),v}},Hi=async()=>{try{return Z[27]??=await _(()=>import(`./md-C4XXUyXo2.js`),__vite__mapDeps([54,1,2,3,5,6,12,4,13,14,15,16,17,18,19,20]),import.meta.url)}catch(e){return console.error(`slide failed to load`,e),v}},Ui=async()=>{try{return Z[28]??=await _(()=>import(`./md-B9C145sD2.js`),__vite__mapDeps([55,1,2,3,4,5,6,8,28,16,15,17,56,57,58,59,60,13,14,18,19,61,62]),import.meta.url)}catch(e){return console.error(`slide failed to load`,e),v}},Wi=async()=>{try{return Z[29]??=await _(()=>import(`./md-Bx6ObLYd2.js`),__vite__mapDeps([63,1,2,3,5,6,12,4,13,14,15,16,17,18,19,20]),import.meta.url)}catch(e){return console.error(`slide failed to load`,e),v}},Gi=async()=>{try{return Z[30]??=await _(()=>import(`./md-Crf0QqO82.js`),__vite__mapDeps([64,1,2,3,5,6,12,4,13,14,15,16,17,18,19,20,28,44]),import.meta.url)}catch(e){return console.error(`slide failed to load`,e),v}},Ki=async()=>{try{return Z[31]??=await _(()=>import(`./md-ClcrnWUb.js`),__vite__mapDeps([65,1,2,3,5,6,12,4,13,14,15,16,17,18,19,20]),import.meta.url)}catch(e){return console.error(`slide failed to load`,e),v}},qi=async()=>{try{return Z[32]??=await _(()=>import(`./md-BY5B4RFF2.js`),__vite__mapDeps([66,1,2,3,5,6,12,4,13,14,15,16,17,18,19,20,44]),import.meta.url)}catch(e){return console.error(`slide failed to load`,e),v}},Ji=async()=>{try{return Z[33]??=await _(()=>import(`./md-CChtMD7Z2.js`),__vite__mapDeps([67,1,2,3,5,6,12,4,13,14,15,16,17,18,19,20]),import.meta.url)}catch(e){return console.error(`slide failed to load`,e),v}},Yi=async()=>{try{return Z[34]??=await _(()=>import(`./md-C_djKWOA2.js`),__vite__mapDeps([68,1,2,3,5,6,21,4,22,25,26]),import.meta.url)}catch(e){return console.error(`slide failed to load`,e),v}},Xi=async()=>{try{return Z[35]??=await _(()=>import(`./md-BuPoDN-Y2.js`),__vite__mapDeps([69,1,2,3,5,6,7,4,8,9,12,13,14,15,16,17,18,19,20,28,44]),import.meta.url)}catch(e){return console.error(`slide failed to load`,e),v}},Zi=async()=>{try{return Z[36]??=await _(()=>import(`./md-C0kU9PLe2.js`),__vite__mapDeps([70,1,2,3,5,6,12,4,13,14,15,16,17,18,19,20]),import.meta.url)}catch(e){return console.error(`slide failed to load`,e),v}},Qi=async()=>{try{return Z[37]??=await _(()=>import(`./md-DGATRVqO.js`),__vite__mapDeps([71,1,2,3,5,6,7,4,8,9,12,13,14,15,16,17,18,19,20,28,44]),import.meta.url)}catch(e){return console.error(`slide failed to load`,e),v}},$i=async()=>{try{return Z[38]??=await _(()=>import(`./md-CBwC-ryo2.js`),__vite__mapDeps([72,1,2,3,5,6,7,4,8,9,12,13,14,15,16,17,18,19,20]),import.meta.url)}catch(e){return console.error(`slide failed to load`,e),v}},ea=async()=>{try{return Z[39]??=await _(()=>import(`./md-Ck5yC0i3.js`),__vite__mapDeps([73,1,2,3,5,6,12,4,13,14,15,16,17,18,19,20]),import.meta.url)}catch(e){return console.error(`slide failed to load`,e),v}},ta=async()=>{try{return Z[40]??=await _(()=>import(`./md-X2RPTEil.js`),__vite__mapDeps([74,1,2,3,5,6,7,4,8,9,12,13,14,15,16,17,18,19,20,28,44]),import.meta.url)}catch(e){return console.error(`slide failed to load`,e),v}},na=async()=>{try{return Z[41]??=await _(()=>import(`./md-C76Txys_.js`),__vite__mapDeps([75,1,2,3,5,6,12,4,13,14,15,16,17,18,19,20]),import.meta.url)}catch(e){return console.error(`slide failed to load`,e),v}},ra=async()=>{try{return Z[42]??=await _(()=>import(`./md-3KgA1lqP.js`),__vite__mapDeps([76,1,2,3,5,6,12,4,13,14,15,16,17,18,19,20,44]),import.meta.url)}catch(e){return console.error(`slide failed to load`,e),v}},ia=async()=>{try{return Z[43]??=await _(()=>import(`./md-oSmNAz51.js`),__vite__mapDeps([77,1,2,3,5,6,7,4,8,9,12,13,14,15,16,17,18,19,20,44]),import.meta.url)}catch(e){return console.error(`slide failed to load`,e),v}},aa=async()=>{try{return Z[44]??=await _(()=>import(`./md-F2Pj1FPG.js`),__vite__mapDeps([78,1,2,3,5,6,12,4,13,14,15,16,17,18,19,20]),import.meta.url)}catch(e){return console.error(`slide failed to load`,e),v}},oa=async()=>{try{return Z[45]??=await _(()=>import(`./md-DN8ICbIE.js`),__vite__mapDeps([79,1,2,3,4,5,6,8,7,9,28,16,15,17,56,57,60,13,14,18,19,61,80,81,82]),import.meta.url)}catch(e){return console.error(`slide failed to load`,e),v}},sa=async()=>{try{return Z[46]??=await _(()=>import(`./md-BX1wWMGz.js`),__vite__mapDeps([83,1,2,3,5,6,12,4,13,14,15,16,17,18,19,20]),import.meta.url)}catch(e){return console.error(`slide failed to load`,e),v}},ca=async()=>{try{return Z[47]??=await _(()=>import(`./md-0nitP_As.js`),__vite__mapDeps([84,1,2,3,5,6,7,4,8,9,12,13,14,15,16,17,18,19,20]),import.meta.url)}catch(e){return console.error(`slide failed to load`,e),v}},la=async()=>{try{return Z[48]??=await _(()=>import(`./md-CF_gH_Jj.js`),__vite__mapDeps([85,1,2,3,5,6,12,4,13,14,15,16,17,18,19,20]),import.meta.url)}catch(e){return console.error(`slide failed to load`,e),v}},ua=async()=>{try{return Z[49]??=await _(()=>import(`./md-DVi-Y4NQ.js`),__vite__mapDeps([86,1,2,3,5,6,21,4,22,25,26]),import.meta.url)}catch(e){return console.error(`slide failed to load`,e),v}},da=async()=>{try{return Z[50]??=await _(()=>import(`./md-CB5a4GuA.js`),__vite__mapDeps([87,1,2,3,5,6,12,4,13,14,15,16,17,18,19,20]),import.meta.url)}catch(e){return console.error(`slide failed to load`,e),v}},fa=async()=>{try{return Z[51]??=await _(()=>import(`./md-C0YOeXvT.js`),__vite__mapDeps([88,1,2,3,5,6,12,4,13,14,15,16,17,18,19,20]),import.meta.url)}catch(e){return console.error(`slide failed to load`,e),v}},pa=async()=>{try{return Z[52]??=await _(()=>import(`./md-BsteAPDC.js`),__vite__mapDeps([89,1,2,3,5,6,7,4,8,9,12,13,14,15,16,17,18,19,20]),import.meta.url)}catch(e){return console.error(`slide failed to load`,e),v}},ma=async()=>{try{return Z[53]??=await _(()=>import(`./md-Bnu9_G7n.js`),__vite__mapDeps([90,1,2,3,5,6,12,4,13,14,15,16,17,18,19,20]),import.meta.url)}catch(e){return console.error(`slide failed to load`,e),v}},ha=async()=>{try{return Z[54]??=await _(()=>import(`./md-Du9GpJ-U.js`),__vite__mapDeps([91,1,2,3,5,6,7,4,8,9,12,13,14,15,16,17,18,19,20,28]),import.meta.url)}catch(e){return console.error(`slide failed to load`,e),v}},ga=async()=>{try{return Z[55]??=await _(()=>import(`./md-6UsQlhb2.js`),__vite__mapDeps([92,1,2,3,5,6,12,4,13,14,15,16,17,18,19,20]),import.meta.url)}catch(e){return console.error(`slide failed to load`,e),v}},_a=async()=>{try{return Z[56]??=await _(()=>import(`./md-Y9Z16ykm.js`),__vite__mapDeps([93,1,2,3,4,5,6,8,28,16,15,17,56,57,58,59,60,13,14,18,19,61,94]),import.meta.url)}catch(e){return console.error(`slide failed to load`,e),v}},va=async()=>{try{return Z[57]??=await _(()=>import(`./md-B2pb5v7i.js`),__vite__mapDeps([95,1,2,3,5,6,12,4,13,14,15,16,17,18,19,20]),import.meta.url)}catch(e){return console.error(`slide failed to load`,e),v}},ya=async()=>{try{return Z[58]??=await _(()=>import(`./md-B_GRqzbq.js`),__vite__mapDeps([96,1,2,3,5,6,7,4,8,9,12,13,14,15,16,17,18,19,20,28]),import.meta.url)}catch(e){return console.error(`slide failed to load`,e),v}},ba=async()=>{try{return Z[59]??=await _(()=>import(`./md-BIV2xOUh.js`),__vite__mapDeps([97,1,2,3,5,6,12,4,13,14,15,16,17,18,19,20]),import.meta.url)}catch(e){return console.error(`slide failed to load`,e),v}},xa=async()=>{try{return Z[60]??=await _(()=>import(`./md-tZ6pTJCu.js`),__vite__mapDeps([98,1,2,3,5,6,12,4,13,14,15,16,17,18,19,20,44]),import.meta.url)}catch(e){return console.error(`slide failed to load`,e),v}},Sa=async()=>{try{return Z[61]??=await _(()=>import(`./md-CPYeSP9D.js`),__vite__mapDeps([99,1,2,3,5,6,12,4,13,14,15,16,17,18,19,20,21,22]),import.meta.url)}catch(e){return console.error(`slide failed to load`,e),v}},Ca=async()=>{try{return Z[62]??=await _(()=>import(`./md-6ZLa4d3p.js`),__vite__mapDeps([100,1,2,3,5,6,12,4,13,14,15,16,17,18,19,20]),import.meta.url)}catch(e){return console.error(`slide failed to load`,e),v}},wa=async()=>{try{return Z[63]??=await _(()=>import(`./md-dqR9EYFU.js`),__vite__mapDeps([101,1,2,3,5,6,7,4,8,9,12,13,14,15,16,17,18,19,20]),import.meta.url)}catch(e){return console.error(`slide failed to load`,e),v}},Ta=async()=>{try{return Z[64]??=await _(()=>import(`./md-L4CkW1kN.js`),__vite__mapDeps([102,1,2,3,5,6,12,4,13,14,15,16,17,18,19,20]),import.meta.url)}catch(e){return console.error(`slide failed to load`,e),v}},Ea=async()=>{try{return Z[65]??=await _(()=>import(`./md-erOyj-pS.js`),__vite__mapDeps([103,1,2,3,4,5,6,8,7,9,28,16,15,17,56,57,58,59,60,13,14,18,19,61,80,81,104]),import.meta.url)}catch(e){return console.error(`slide failed to load`,e),v}},Da=async()=>{try{return Z[66]??=await _(()=>import(`./md-CYCyDfm-.js`),__vite__mapDeps([105,1,2,3,5,6,12,4,13,14,15,16,17,18,19,20]),import.meta.url)}catch(e){return console.error(`slide failed to load`,e),v}},Oa=async()=>{try{return Z[67]??=await _(()=>import(`./md-CsoOjhyB.js`),__vite__mapDeps([106,1,2,3,5,6,7,4,8,9,12,13,14,15,16,17,18,19,20,37,28,38]),import.meta.url)}catch(e){return console.error(`slide failed to load`,e),v}},ka=async()=>{try{return Z[68]??=await _(()=>import(`./md-DCerl4UZ.js`),__vite__mapDeps([107,1,2,3,5,6,12,4,13,14,15,16,17,18,19,20]),import.meta.url)}catch(e){return console.error(`slide failed to load`,e),v}},Aa=async()=>{try{return Z[69]??=await _(()=>import(`./md-CAqxjDRd.js`),__vite__mapDeps([108,1,2,3,5,6,7,4,8,9,12,13,14,15,16,17,18,19,20,28]),import.meta.url)}catch(e){return console.error(`slide failed to load`,e),v}},ja=async()=>{try{return Z[70]??=await _(()=>import(`./md-BEVP4TeY.js`),__vite__mapDeps([109,1,2,3,5,6,12,4,13,14,15,16,17,18,19,20]),import.meta.url)}catch(e){return console.error(`slide failed to load`,e),v}},Ma=async()=>{try{return Z[71]??=await _(()=>import(`./md-DWRKYI2u.js`),__vite__mapDeps([110,1,2,3,5,6,21,4,22,25,26]),import.meta.url)}catch(e){return console.error(`slide failed to load`,e),v}},Na=async()=>{try{return Z[72]??=await _(()=>import(`./md-DMm0v4Wk.js`),__vite__mapDeps([111,1,2,3,5,6,7,4,8,9,12,13,14,15,16,17,18,19,20]),import.meta.url)}catch(e){return console.error(`slide failed to load`,e),v}},Pa=async()=>{try{return Z[73]??=await _(()=>import(`./md-VBnw9usT2.js`),__vite__mapDeps([112,1,2,3,5,6,12,4,13,14,15,16,17,18,19,20]),import.meta.url)}catch(e){return console.error(`slide failed to load`,e),v}},Fa=async()=>{try{return Z[74]??=await _(()=>import(`./md-v7LlsJSs2.js`),__vite__mapDeps([113,1,2,3,5,6,12,4,13,14,15,16,17,18,19,20]),import.meta.url)}catch(e){return console.error(`slide failed to load`,e),v}},Ia=async()=>{try{return Z[75]??=await _(()=>import(`./md-BIjZR-bS2.js`),__vite__mapDeps([114,1,2,3,5,6,12,4,13,14,15,16,17,18,19,20]),import.meta.url)}catch(e){return console.error(`slide failed to load`,e),v}},La=async()=>{try{return Z[76]??=await _(()=>import(`./md-DMlixF1K2.js`),__vite__mapDeps([115,1,2,3,5,6,12,4,13,14,15,16,17,18,19,20,28,116,117]),import.meta.url)}catch(e){return console.error(`slide failed to load`,e),v}},Ra=async()=>{try{return Z[77]??=await _(()=>import(`./md-jnqVVH902.js`),__vite__mapDeps([118,1,2,3,5,6,12,4,13,14,15,16,17,18,19,20]),import.meta.url)}catch(e){return console.error(`slide failed to load`,e),v}},za=async()=>{try{return Z[78]??=await _(()=>import(`./md-B1kgcJx92.js`),__vite__mapDeps([119,1,2,3,5,6,12,4,13,14,15,16,17,18,19,20]),import.meta.url)}catch(e){return console.error(`slide failed to load`,e),v}},Ba=async()=>{try{return Z[79]??=await _(()=>import(`./md-BisM1Pr82.js`),__vite__mapDeps([120,1,2,3,5,6,12,4,13,14,15,16,17,18,19,20]),import.meta.url)}catch(e){return console.error(`slide failed to load`,e),v}},Va=async()=>{try{return Z[80]??=await _(()=>import(`./md-BDiz7f2n2.js`),__vite__mapDeps([121,1,2,3,5,6,12,4,13,14,15,16,17,18,19,20,28]),import.meta.url)}catch(e){return console.error(`slide failed to load`,e),v}},Ha=async()=>{try{return Z[81]??=await _(()=>import(`./md-DS5J4mOQ2.js`),__vite__mapDeps([122,1,2,3,5,6,12,4,13,14,15,16,17,18,19,20]),import.meta.url)}catch(e){return console.error(`slide failed to load`,e),v}},Ua=async()=>{try{return Z[82]??=await _(()=>import(`./md-k6-o3Hlb2.js`),__vite__mapDeps([123,1,2,3,5,6,12,4,13,14,15,16,17,18,19,20,28]),import.meta.url)}catch(e){return console.error(`slide failed to load`,e),v}},Wa=async()=>{try{return Z[83]??=await _(()=>import(`./md-D1L04-qD2.js`),__vite__mapDeps([124,1,2,3,5,6,12,4,13,14,15,16,17,18,19,20]),import.meta.url)}catch(e){return console.error(`slide failed to load`,e),v}},Ga=async()=>{try{return Z[84]??=await _(()=>import(`./md-D5t4UeSE2.js`),__vite__mapDeps([125,1,2,3,5,6,12,4,13,14,15,16,17,18,19,20,44]),import.meta.url)}catch(e){return console.error(`slide failed to load`,e),v}},Ka=async()=>{try{return Z[85]??=await _(()=>import(`./md-BhP8iVpu2.js`),__vite__mapDeps([126,1,2,3,5,6,12,4,13,14,15,16,17,18,19,20,21,22]),import.meta.url)}catch(e){return console.error(`slide failed to load`,e),v}},qa=async()=>{try{return Z[86]??=await _(()=>import(`./md-DYp24jFE2.js`),__vite__mapDeps([127,1,2,3,5,6,12,4,13,14,15,16,17,18,19,20]),import.meta.url)}catch(e){return console.error(`slide failed to load`,e),v}},Ja=async()=>{try{return Z[87]??=await _(()=>import(`./md-Btp4CswY2.js`),__vite__mapDeps([128,1,2,3,5,6,60,4,13,14,15,16,17,18,19,61,129,130]),import.meta.url)}catch(e){return console.error(`slide failed to load`,e),v}},Ya=async()=>{try{return Z[88]??=await _(()=>import(`./md-CpVN8xTF2.js`),__vite__mapDeps([131,1,2,3,5,6,12,4,13,14,15,16,17,18,19,20]),import.meta.url)}catch(e){return console.error(`slide failed to load`,e),v}},Xa=async()=>{try{return Z[89]??=await _(()=>import(`./md-CP-vwJrb2.js`),__vite__mapDeps([132,1,2,3,5,6,12,4,13,14,15,16,17,18,19,20,21,22,133,134]),import.meta.url)}catch(e){return console.error(`slide failed to load`,e),v}},Za=async()=>{try{return Z[90]??=await _(()=>import(`./md-D1KIzLUZ2.js`),__vite__mapDeps([135,1,2,3,5,6,12,4,13,14,15,16,17,18,19,20]),import.meta.url)}catch(e){return console.error(`slide failed to load`,e),v}},Qa=async()=>{try{return Z[91]??=await _(()=>import(`./md-D0OYH0b_2.js`),__vite__mapDeps([136,1,2,3,5,6,12,4,13,14,15,16,17,18,19,20,133,134]),import.meta.url)}catch(e){return console.error(`slide failed to load`,e),v}},$a=async()=>{try{return Z[92]??=await _(()=>import(`./md-Da8Z3odW2.js`),__vite__mapDeps([137,1,2,3,5,6,12,4,13,14,15,16,17,18,19,20]),import.meta.url)}catch(e){return console.error(`slide failed to load`,e),v}},eo=async()=>{try{return Z[93]??=await _(()=>import(`./md-rreJmcjE.js`),__vite__mapDeps([138,1,2,3,5,6,12,4,13,14,15,16,17,18,19,20,129,130,133,134]),import.meta.url)}catch(e){return console.error(`slide failed to load`,e),v}},to=async()=>{try{return Z[94]??=await _(()=>import(`./md-CjjLEPPa.js`),__vite__mapDeps([139,1,2,3,5,6,12,4,13,14,15,16,17,18,19,20]),import.meta.url)}catch(e){return console.error(`slide failed to load`,e),v}},no=async()=>{try{return Z[95]??=await _(()=>import(`./md-Bp475Uqt.js`),__vite__mapDeps([140,1,2,3,5,6,12,4,13,14,15,16,17,18,19,20,133,134]),import.meta.url)}catch(e){return console.error(`slide failed to load`,e),v}},ro=async()=>{try{return Z[96]??=await _(()=>import(`./md-DoGnq9kW.js`),__vite__mapDeps([141,1,2,3,5,6,12,4,13,14,15,16,17,18,19,20]),import.meta.url)}catch(e){return console.error(`slide failed to load`,e),v}},io=async()=>{try{return Z[97]??=await _(()=>import(`./md-DQyimKj3.js`),__vite__mapDeps([142,1,2,3,5,6,12,4,13,14,15,16,17,18,19,20,28,116,117]),import.meta.url)}catch(e){return console.error(`slide failed to load`,e),v}},ao=async()=>{try{return Z[98]??=await _(()=>import(`./md-B4imawcw.js`),__vite__mapDeps([143,1,2,3,5,6,12,4,13,14,15,16,17,18,19,20]),import.meta.url)}catch(e){return console.error(`slide failed to load`,e),v}},oo=async()=>{try{return Z[99]??=await _(()=>import(`./md-hTSgqenN.js`),__vite__mapDeps([144,1,2,3,5,6,21,4,22,25,26]),import.meta.url)}catch(e){return console.error(`slide failed to load`,e),v}},so=async()=>{try{return Z[100]??=await _(()=>import(`./md-C_I7xfx4.js`),__vite__mapDeps([145,1,2,3,5,6,12,4,13,14,15,16,17,18,19,20,21,22]),import.meta.url)}catch(e){return console.error(`slide failed to load`,e),v}},co=async()=>{try{return Z[101]??=await _(()=>import(`./md-DglvD3Oh.js`),__vite__mapDeps([146,1,2,3,5,6,12,4,13,14,15,16,17,18,19,20]),import.meta.url)}catch(e){return console.error(`slide failed to load`,e),v}},lo=async()=>{try{return Z[102]??=await _(()=>import(`./md-Czq6p3v9.js`),__vite__mapDeps([147,1,2,3,4,5,6,7,8,9,12,13,14,15,16,17,18,19,20,148]),import.meta.url)}catch(e){return console.error(`slide failed to load`,e),v}},uo=async()=>{try{return Z[103]??=await _(()=>import(`./md-es6QvLJL.js`),__vite__mapDeps([149,1,2,3,5,6,12,4,13,14,15,16,17,18,19,20]),import.meta.url)}catch(e){return console.error(`slide failed to load`,e),v}},fo=async()=>{try{return Z[104]??=await _(()=>import(`./md-MeEdeYS7.js`),__vite__mapDeps([150,1,2,3,4,5,6,21,22,151]),import.meta.url)}catch(e){return console.error(`slide failed to load`,e),v}},po=[{no:1,meta:Qe,load:hi,component:Q(0,hi)},{no:2,meta:$e,load:gi,component:Q(1,gi)},{no:3,meta:et,load:_i,component:Q(2,_i)},{no:4,meta:tt,load:vi,component:Q(3,vi)},{no:5,meta:nt,load:yi,component:Q(4,yi)},{no:6,meta:rt,load:bi,component:Q(5,bi)},{no:7,meta:it,load:xi,component:Q(6,xi)},{no:8,meta:at,load:Si,component:Q(7,Si)},{no:9,meta:ot,load:Ci,component:Q(8,Ci)},{no:10,meta:st,load:wi,component:Q(9,wi)},{no:11,meta:ct,load:Ti,component:Q(10,Ti)},{no:12,meta:lt,load:Ei,component:Q(11,Ei)},{no:13,meta:ut,load:Di,component:Q(12,Di)},{no:14,meta:dt,load:Oi,component:Q(13,Oi)},{no:15,meta:ft,load:ki,component:Q(14,ki)},{no:16,meta:pt,load:Ai,component:Q(15,Ai)},{no:17,meta:mt,load:ji,component:Q(16,ji)},{no:18,meta:ht,load:Mi,component:Q(17,Mi)},{no:19,meta:gt,load:Ni,component:Q(18,Ni)},{no:20,meta:_t,load:Pi,component:Q(19,Pi)},{no:21,meta:vt,load:Fi,component:Q(20,Fi)},{no:22,meta:yt,load:Ii,component:Q(21,Ii)},{no:23,meta:bt,load:Li,component:Q(22,Li)},{no:24,meta:xt,load:Ri,component:Q(23,Ri)},{no:25,meta:St,load:zi,component:Q(24,zi)},{no:26,meta:Ct,load:Bi,component:Q(25,Bi)},{no:27,meta:wt,load:Vi,component:Q(26,Vi)},{no:28,meta:Tt,load:Hi,component:Q(27,Hi)},{no:29,meta:Et,load:Ui,component:Q(28,Ui)},{no:30,meta:Dt,load:Wi,component:Q(29,Wi)},{no:31,meta:Ot,load:Gi,component:Q(30,Gi)},{no:32,meta:At,load:Ki,component:Q(31,Ki)},{no:33,meta:Mt,load:qi,component:Q(32,qi)},{no:34,meta:Pt,load:Ji,component:Q(33,Ji)},{no:35,meta:It,load:Yi,component:Q(34,Yi)},{no:36,meta:Rt,load:Xi,component:Q(35,Xi)},{no:37,meta:Bt,load:Zi,component:Q(36,Zi)},{no:38,meta:Ht,load:Qi,component:Q(37,Qi)},{no:39,meta:Wt,load:$i,component:Q(38,$i)},{no:40,meta:Kt,load:ea,component:Q(39,ea)},{no:41,meta:Jt,load:ta,component:Q(40,ta)},{no:42,meta:Xt,load:na,component:Q(41,na)},{no:43,meta:Qt,load:ra,component:Q(42,ra)},{no:44,meta:en,load:ia,component:Q(43,ia)},{no:45,meta:nn,load:aa,component:Q(44,aa)},{no:46,meta:an,load:oa,component:Q(45,oa)},{no:47,meta:sn,load:sa,component:Q(46,sa)},{no:48,meta:ln,load:ca,component:Q(47,ca)},{no:49,meta:dn,load:la,component:Q(48,la)},{no:50,meta:pn,load:ua,component:Q(49,ua)},{no:51,meta:hn,load:da,component:Q(50,da)},{no:52,meta:_n,load:fa,component:Q(51,fa)},{no:53,meta:yn,load:pa,component:Q(52,pa)},{no:54,meta:xn,load:ma,component:Q(53,ma)},{no:55,meta:Cn,load:ha,component:Q(54,ha)},{no:56,meta:Tn,load:ga,component:Q(55,ga)},{no:57,meta:Dn,load:_a,component:Q(56,_a)},{no:58,meta:kn,load:va,component:Q(57,va)},{no:59,meta:jn,load:ya,component:Q(58,ya)},{no:60,meta:Nn,load:ba,component:Q(59,ba)},{no:61,meta:Fn,load:xa,component:Q(60,xa)},{no:62,meta:Ln,load:Sa,component:Q(61,Sa)},{no:63,meta:zn,load:Ca,component:Q(62,Ca)},{no:64,meta:Vn,load:wa,component:Q(63,wa)},{no:65,meta:Un,load:Ta,component:Q(64,Ta)},{no:66,meta:Gn,load:Ea,component:Q(65,Ea)},{no:67,meta:qn,load:Da,component:Q(66,Da)},{no:68,meta:Yn,load:Oa,component:Q(67,Oa)},{no:69,meta:Zn,load:ka,component:Q(68,ka)},{no:70,meta:$n,load:Aa,component:Q(69,Aa)},{no:71,meta:tr,load:ja,component:Q(70,ja)},{no:72,meta:rr,load:Ma,component:Q(71,Ma)},{no:73,meta:ar,load:Na,component:Q(72,Na)},{no:74,meta:sr,load:Pa,component:Q(73,Pa)},{no:75,meta:lr,load:Fa,component:Q(74,Fa)},{no:76,meta:dr,load:Ia,component:Q(75,Ia)},{no:77,meta:pr,load:La,component:Q(76,La)},{no:78,meta:hr,load:Ra,component:Q(77,Ra)},{no:79,meta:_r,load:za,component:Q(78,za)},{no:80,meta:yr,load:Ba,component:Q(79,Ba)},{no:81,meta:xr,load:Va,component:Q(80,Va)},{no:82,meta:Cr,load:Ha,component:Q(81,Ha)},{no:83,meta:Tr,load:Ua,component:Q(82,Ua)},{no:84,meta:Dr,load:Wa,component:Q(83,Wa)},{no:85,meta:kr,load:Ga,component:Q(84,Ga)},{no:86,meta:jr,load:Ka,component:Q(85,Ka)},{no:87,meta:Nr,load:qa,component:Q(86,qa)},{no:88,meta:Fr,load:Ja,component:Q(87,Ja)},{no:89,meta:Lr,load:Ya,component:Q(88,Ya)},{no:90,meta:zr,load:Xa,component:Q(89,Xa)},{no:91,meta:Vr,load:Za,component:Q(90,Za)},{no:92,meta:Ur,load:Qa,component:Q(91,Qa)},{no:93,meta:Gr,load:$a,component:Q(92,$a)},{no:94,meta:qr,load:eo,component:Q(93,eo)},{no:95,meta:Yr,load:to,component:Q(94,to)},{no:96,meta:Zr,load:no,component:Q(95,no)},{no:97,meta:$r,load:ro,component:Q(96,ro)},{no:98,meta:ti,load:io,component:Q(97,io)},{no:99,meta:ni,load:ao,component:Q(98,ao)},{no:100,meta:ii,load:oo,component:Q(99,oo)},{no:101,meta:oi,load:so,component:Q(100,so)},{no:102,meta:ci,load:co,component:Q(101,co)},{no:103,meta:ui,load:lo,component:Q(102,lo)},{no:104,meta:fi,load:uo,component:Q(103,uo)},{no:105,meta:mi,load:fo,component:Q(104,fo)}],$=m(po);function mo(e,t,{mode:r=`replace`}={}){let i=pe();return d({get(){let n=i.currentRoute.value.query[e];return n==null?t??null:Array.isArray(n)?n.filter(Boolean):n},set(a){n(()=>{(i.currentRoute.value.query[e]??t?.toString())!==a.toString()&&i[ae(r)]({query:{...i.currentRoute.value.query,[e]:`${a}`===t?void 0:a}})})}})}function ho(e,t,n=!1){let r=e.meta.slide?.frontmatter.routeAlias??e.no;return n?`/export/${r}`:t?`/presenter/${r}`:`/${r}`}function go(e){return $.value.find(t=>t.no===+e||t.meta.slide?.frontmatter.routeAlias===e)}function _o(e,t,n=!1){return(typeof e==`number`||typeof e==`string`)&&(e=go(e)),ho(e,t,n)}var vo={"slide-left":`slide-left | slide-right`,"slide-right":`slide-right | slide-left`,"slide-up":`slide-up | slide-down`,"slide-down":`slide-down | slide-up`};function yo(e,t=!1){if(!e||(typeof e==`string`&&(e={name:e}),!e.name))return;let n=e.name.includes(`|`)?e.name:vo[e.name]||e.name;if(n.includes(`|`)){let[e,r]=n.split(`|`).map(e=>e.trim());n=t?r:e}if(n)return{...e,name:n}}function bo(e,t,n){let r=e>0?n?.meta?.transition:t?.meta?.transition;return r||=g.transition||void 0,yo(r,e<0)}var xo=l(!1),So=l(!1),Co=l(!1),wo=l(!1),To=l(!1),Eo=l(!1),Do=l(!0),Oo=p(new Set),ko=d(()=>Oo.size>0),Ao=ye({xs:460,...he}),jo=de(),Mo=me(),No=d(()=>jo.height.value-jo.width.value/je.value>120),Po=_e(ve?document.body:null),Fo=ge(),Io=d(()=>[`INPUT`,`TEXTAREA`].includes(Fo.value?.tagName||``)),Lo=d(()=>[`BUTTON`,`A`].includes(Fo.value?.tagName||``));h(`slidev-camera`,`default`,{listenToStorageChanges:!1}),h(`slidev-mic`,`default`,{listenToStorageChanges:!1});var Ro=h(`slidev-scale`,0),zo=h(`slidev-wake-lock`,!0),Bo=h(`slidev-hide-cursor-idle`,!0);h(`slidev-skip-export-pdf-tip`,!1),h(`slidev-export-capture-delay`,400,{listenToStorageChanges:!1});var Vo=h(`slidev-presenter-cursor`,!0,{listenToStorageChanges:!1}),Ho=h(`slidev-cursor-style`,`cursor`,{listenToStorageChanges:!1});function Uo(){Vo.value=!Vo.value}var Wo=h(`slidev-show-editor`,!1,{listenToStorageChanges:!1}),Go=h(`slidev-editor-vertical`,!1,{listenToStorageChanges:!1}),Ko=h(`slidev-editor-width`,ve?window.innerWidth*.4:318,{listenToStorageChanges:!1}),qo=h(`slidev-editor-height`,ve?window.innerHeight*.4:300,{listenToStorageChanges:!1}),Jo=m(null),Yo=h(`slidev-presenter-font-size`,1,{listenToStorageChanges:!1}),Xo=h(`slidev-presenter-layout`,1,{listenToStorageChanges:!1}),Zo={invert:!1,contrast:1,brightness:1,hueRotate:0,saturate:1,sepia:0},Qo=h(`slidev-viewer-css-filter`,Zo,{listenToStorageChanges:!1,mergeDefaults:!0,deep:!0}),$o=d(()=>Object.keys(Zo).some(e=>Qo.value[e]!==Zo[e]));function es(){Xo.value+=1,Xo.value>3&&(Xo.value=1)}function ts(){Yo.value=Math.min(2,Yo.value+.1)}function ns(){Yo.value=Math.max(.5,Yo.value-.1)}var rs=fe(wo),is=h(`slidev-sync-directions`,{viewerSend:!0,viewerReceive:!0,presenterSend:!0,presenterReceive:!0},{listenToStorageChanges:!1,mergeDefaults:!0});function as(e,t,n=1){let r=t.meta.slide.level??n;r&&r>n&&e.length>0?as(e[e.length-1].children,t,n+1):e.push({no:t.no,children:[],level:n,titleLevel:r,path:_o(t.meta.slide?.frontmatter?.routeAlias??t.no,!1),hideInToc:!!t.meta?.slide?.frontmatter?.hideInToc,title:t.meta?.slide?.title})}function os(e,t,n=!1,r,i){return e.map(e=>{let a={...e,active:e.no===i?.value,hasActiveParent:n};return a.children.length>0&&(a.children=os(a.children,t,a.active||a.hasActiveParent,a,i)),r&&(a.active||a.activeParent)&&(r.activeParent=!0),a})}function ss(e,t=1){return e.filter(e=>!e.hideInToc).map(e=>({...e,children:ss(e.children,t+1)}))}function cs(e,t,n){let r=d(()=>e.value.filter(e=>e.meta?.slide?.title).reduce((e,t)=>(as(e,t),e),[])),i=d(()=>os(r.value,n.value,void 0,void 0,t));return d(()=>ss(i.value))}function ls(e,t,n=l(0),r,i,o){let s=d(()=>$.value.length),c=l(0),u=l(0),ee=d(()=>_o(e.value,r.value)),f=d(()=>e.value.no),p=d(()=>e.value.meta?.layout||(f.value===1?`cover`:`default`)),te=d(()=>e.value.meta.slide.frontmatter),m=d(()=>t.value.current),ne=d(()=>t.value.clicksStart),re=d(()=>t.value.total),ie=d(()=>$.value[Math.min($.value.length,f.value+1)-1]),ae=d(()=>$.value[Math.max(1,f.value-1)-1]),oe=d(()=>f.value<$.value.length||m.valuef.value>1||m.value>0),ce=d(()=>i.value?void 0:bo(c.value,e.value,ae.value));a(e,(e,t)=>{c.value=e.no-t.no});async function le(e){return!1}let ue=cs($,f,e);async function de(){u.value=1,re.value<=n.value?await pe():n.value+=1}async function fe(){u.value=-1,n.value<=ne.value?await me(!0):--n.value}async function pe(e=!1){u.value=1,f.value<$.value.length&&await h(f.value+1,e&&!i.value?be:void 0)}async function me(e=!1){u.value=-1,f.value>1&&await h(f.value-1,e&&!i.value?be:void 0)}function he(){return h(1)}function ge(){return h(s.value)}async function h(e,t=0,i=!1){To.value=!1;let a=f.value!==e,s=t!==n.value,c=go(e)?.meta,l=c?.slide?.frontmatter.clicksStart??0;t=Se(t,l,c?.__clicksContext?.total??999999),(i||a||s)&&await o?.push({path:_o(e,r.value,o.currentRoute.value.name===`export`),query:{...o.currentRoute.value.query,clicks:t===0?void 0:t.toString(),embedded:location.search.includes(`embedded`)?`true`:void 0}})}function _e(){o?.push({path:_o(f.value,!0),query:{...o.currentRoute.value.query}})}function ve(){o?.push({path:_o(f.value,!1),query:{...o.currentRoute.value.query}})}return{slides:$,total:s,currentPath:ee,currentSlideNo:f,currentPage:f,currentSlideRoute:e,currentLayout:p,currentFrontmatter:te,currentTransition:ce,clicksDirection:u,nextRoute:ie,prevRoute:ae,clicksContext:t,clicks:m,clicksStart:ne,clicksTotal:re,hasNext:oe,hasPrev:se,tocTree:ue,navDirection:c,openInEditor:le,next:de,prev:fe,go:h,goLast:ge,goFirst:he,nextSlide:pe,prevSlide:me,enterPresenter:_e,exitPresenter:ve}}var us=ue(()=>{let e=pe(),t=le(),n=d(()=>(e?.currentRoute?.value?.query,new URLSearchParams(location.search))),r=d(()=>n.value.has(`print`)||t.name===`export`),i=l(n.value.get(`print`)===`clicks`),a=d(()=>n.value.has(`embedded`)),o=d(()=>t.name===`play`),s=d(()=>t.name===`presenter`),c=d(()=>t.name===`notes`),u=d(()=>!s.value&&(!g.remote||n.value.get(`password`)===g.remote)),ee=d(()=>!!t.params.no),f=d(()=>ee.value?go(t.params.no)?.no??1:1),p=d(()=>$.value[f.value-1]),te=l(Ke($.value.length,t?.query?.range)),m=mo(`clicks`,`0`),ne=d(()=>ie(p.value)),re=d({get(){let e=+(m.value||0);return Number.isNaN(e)&&(e=0),e},set(e){To.value=!1,m.value=e.toString()}});function ie(e){if(e?.meta?.__clicksContext)return e.meta.__clicksContext;let t=e.no,n=He(d({get(){return f.value===t?Math.max(+(m.value??0),n.clicksStart):f.value>t?be:n.clicksStart},set(e){f.value===t&&(m.value=e.toString())}}),e?.meta.slide?.frontmatter.clicksStart??0,e?.meta.clicks);return e?.meta&&(e.meta.__clicksContext=n),n}return{router:e,currentRoute:d(()=>t),isPrintMode:r,isPrintWithClicks:i,isEmbedded:a,isPlaying:o,isPresenter:s,isNotesViewer:c,isPresenterAvailable:u,hasPrimarySlide:ee,currentSlideNo:f,currentSlideRoute:p,clicksContext:ne,queryClicksRaw:m,queryClicks:re,printRange:te,getPrimaryClicks:ie}}),ds=ue(()=>{let e=us(),t=pe(),n=ls(e.currentSlideRoute,e.clicksContext,e.queryClicks,e.isPresenter,e.isPrintMode,t);return a([n.total,e.currentRoute],async()=>{let t=e.currentRoute.value.params.no;e.hasPrimarySlide.value&&!go(t)&&(t&&t!==`index.html`?await n.go(n.total.value,0,!0):await n.go(1,0,!0))},{flush:`pre`,immediate:!0}),{...n,...e}});function fs(){let e=ds(),t=f()?ce(xe,void 0):void 0;if(!t)return e;let n=ee(t).nav;return{...e,...n}}export{Fe as $,Ro as A,_o as B,ko as C,wo as D,So as E,Qo as F,Ue as G,Ke as H,Zo as I,Ae as J,Be as K,zo as L,rs as M,Uo as N,Vo as O,es as P,Me as Q,jo as R,Do as S,Co as T,Ge as U,$ as V,He as W,je as X,Ie as Y,Ne as Z,Lo as _,Ho as a,Xo as b,qo as c,$o as d,Pe as et,Bo as f,Io as g,Go as h,Ao as i,we as it,is as j,xo as k,Ko as l,ts as m,Jo as n,Se as nt,ns as o,To as p,_ as q,Fo as r,De as rt,Eo as s,fs as t,g as tt,Po as u,No as v,Wo as w,Yo as x,Mo as y,go as z};