';e+="
KEY | ACTION | ";for(var t in Nr)e+=""+t+" | "+Nr[t]+" |
";for(var r in Ir)Ir[r].key&&Ir[r].description&&(e+=""+Ir[r].key+" | "+Ir[r].description+" |
");e+="
",vr.overlay.innerHTML=["",'"].join(""),vr.overlay.querySelector(".close").addEventListener("click",function(e){Y(),e.preventDefault()},!1),setTimeout(function(){vr.overlay.classList.add("visible")},1)}}function Y(){vr.overlay&&(vr.overlay.parentNode.removeChild(vr.overlay),vr.overlay=null)}function X(){if(vr.wrapper&&!H()){if(!ar.disableLayout){Jt&&document.documentElement.style.setProperty("--vh",.01*window.innerHeight+"px");var e=$(),t=fr;_(ar.width,ar.height),vr.slides.style.width=e.width+"px",vr.slides.style.height=e.height+"px",fr=Math.min(e.presentationWidth/e.width,e.presentationHeight/e.height),fr=Math.max(fr,ar.minScale),fr=Math.min(fr,ar.maxScale),1===fr?(vr.slides.style.zoom="",vr.slides.style.left="",vr.slides.style.top="",vr.slides.style.bottom="",vr.slides.style.right="",N({layout:""})):fr>1&&br.zoom?(vr.slides.style.zoom=fr,vr.slides.style.left="",vr.slides.style.top="",vr.slides.style.bottom="",vr.slides.style.right="",N({layout:""})):(vr.slides.style.zoom="",vr.slides.style.left="50%",vr.slides.style.top="50%",vr.slides.style.bottom="auto",vr.slides.style.right="auto",N({layout:"translate(-50%, -50%) scale("+fr+")"}));for(var r=x(vr.wrapper.querySelectorAll(Gt)),n=0,a=r.length;n .stretch")).forEach(function(r){var n=R(r,t);if(/(img|video)/gi.test(r.nodeName)){var a=r.naturalWidth||r.videoWidth,i=r.naturalHeight||r.videoHeight,o=Math.min(e/a,n/i);r.style.width=a*o+"px",r.style.height=i*o+"px"}else r.style.width=e+"px",r.style.height=n+"px"})}function $(e,t){var r={width:ar.width,height:ar.height,presentationWidth:e||vr.wrapper.offsetWidth,presentationHeight:t||vr.wrapper.offsetHeight};return r.presentationWidth-=r.presentationWidth*ar.margin,r.presentationHeight-=r.presentationHeight*ar.margin,"string"==typeof r.width&&/%$/.test(r.width)&&(r.width=parseInt(r.width,10)/100*r.presentationWidth),"string"==typeof r.height&&/%$/.test(r.height)&&(r.height=parseInt(r.height,10)/100*r.presentationHeight),r}function J(e,t){"object"==typeof e&&"function"==typeof e.setAttribute&&e.setAttribute("data-previous-indexv",t||0)}function Q(e){if("object"==typeof e&&"function"==typeof e.setAttribute&&e.classList.contains("stack")){var t=e.hasAttribute("data-start-indexv")?"data-start-indexv":"data-previous-indexv";return parseInt(e.getAttribute(t)||0,10)}return 0}function Z(){if(ar.overview&&!ne()){sr=!0,vr.wrapper.classList.add("overview"),vr.wrapper.classList.remove("overview-deactivating"),br.overviewTransitions&&setTimeout(function(){vr.wrapper.classList.add("overview-animated")},1),ct(),vr.slides.appendChild(vr.background),x(vr.wrapper.querySelectorAll(Gt)).forEach(function(e){e.classList.contains("stack")||e.addEventListener("click",Wt,!0)});var e=$();lr=e.width+70,cr=e.height+70,ar.rtl&&(lr=-lr),Le(),G(),ee(),X(),D("overviewshown",{indexh:jt,indexv:Yt,currentSlide:_t})}}function G(){x(vr.wrapper.querySelectorAll(er)).forEach(function(e,t){e.setAttribute("data-index-h",t),M(e,"translate3d("+t*lr+"px, 0, 0)"),e.classList.contains("stack")&&x(e.querySelectorAll("section")).forEach(function(e,r){e.setAttribute("data-index-h",t),e.setAttribute("data-index-v",r),M(e,"translate3d(0, "+r*cr+"px, 0)")})}),x(vr.background.childNodes).forEach(function(e,t){M(e,"translate3d("+t*lr+"px, 0, 0)"),x(e.querySelectorAll(".slide-background")).forEach(function(e,t){M(e,"translate3d(0, "+t*cr+"px, 0)")})})}function ee(){var e=Math.min(window.innerWidth,window.innerHeight);N({overview:["scale("+Math.max(e/5,150)/e+")","translateX("+-jt*lr+"px)","translateY("+-Yt*cr+"px)"].join(" ")})}function te(){ar.overview&&(sr=!1,vr.wrapper.classList.remove("overview"),vr.wrapper.classList.remove("overview-animated"),vr.wrapper.classList.add("overview-deactivating"),setTimeout(function(){vr.wrapper.classList.remove("overview-deactivating")},1),vr.wrapper.appendChild(vr.background),x(vr.wrapper.querySelectorAll(Gt)).forEach(function(e){M(e,""),e.removeEventListener("click",Wt,!0)}),x(vr.background.querySelectorAll(".slide-background")).forEach(function(e){M(e,"")}),N({overview:""}),ve(jt,Yt),X(),lt(),D("overviewhidden",{indexh:jt,indexv:Yt,currentSlide:_t}))}function re(e){"boolean"==typeof e?e?Z():te():ne()?te():Z()}function ne(){return sr}function ae(){var e="/",t=_t?_t.getAttribute("id"):null;t&&(t=encodeURIComponent(t));var r;if(ar.fragmentInURL&&(r=_e().f),"string"==typeof t&&t.length&&void 0===r)e="/"+t;else{var n=ar.hashOneBasedIndex?1:0;(jt>0||Yt>0||void 0!==r)&&(e+=jt+n),(Yt>0||void 0!==r)&&(e+="/"+(Yt+n)),void 0!==r&&(e+="/"+r)}return e}function ie(e){return(e=e||_t)&&e.parentNode&&!!e.parentNode.nodeName.match(/section/i)}function oe(){var e=document.documentElement,t=e.requestFullscreen||e.webkitRequestFullscreen||e.webkitRequestFullScreen||e.mozRequestFullScreen||e.msRequestFullscreen;t&&t.apply(e)}function se(){kr&&(kr=!1,vr.wrapper.style.cursor="")}function le(){!1===kr&&(kr=!0,vr.wrapper.style.cursor="none")}function ce(){if(ar.pause){var e=vr.wrapper.classList.contains("paused");ct(),vr.wrapper.classList.add("paused"),!1===e&&D("paused")}}function de(){var e=vr.wrapper.classList.contains("paused");vr.wrapper.classList.remove("paused"),lt(),e&&D("resumed")}function ue(e){"boolean"==typeof e?e?ce():de():pe()?de():ce()}function pe(){return vr.wrapper.classList.contains("paused")}function fe(e){"boolean"==typeof e?e?ut():dt():qr?ut():dt()}function he(){return!(!Er||qr)}function ve(e,t,r,n){Xt=_t;var a=vr.wrapper.querySelectorAll(er);if(0!==a.length){void 0!==t||ne()||(t=Q(a[e])),Xt&&Xt.parentNode&&Xt.parentNode.classList.contains("stack")&&J(Xt.parentNode,Yt);var i=pr.concat();pr.length=0;var o=jt||0,s=Yt||0;jt=Ae(er,void 0===e?jt:e),Yt=Ae(tr,void 0===t?Yt:t),Le(),X(),ne()&&ee();var l=a[jt],d=l.querySelectorAll("section");_t=d[Yt]||l,void 0!==r&&it(r);var u=jt!==o||Yt!==s;u||(Xt=null),Xt&&Xt!==_t&&(Xt.classList.remove("present"),Xt.setAttribute("aria-hidden","true"),vr.wrapper.querySelector(rr).classList.contains("present")&&setTimeout(function(){var e,t=x(vr.wrapper.querySelectorAll(er+".stack"));for(e in t)t[e]&&J(t[e],0)},0));e:for(var p=0,f=pr.length;p0&&(e.classList.remove("present"),e.classList.remove("past"),e.classList.add("future"),e.setAttribute("aria-hidden","true"))})})}function we(){x(vr.wrapper.querySelectorAll(er)).forEach(function(e){var t=x(e.querySelectorAll("section"));t.forEach(function(e,t){nt(e.querySelectorAll(".fragment"))}),0===t.length&&nt(e.querySelectorAll(".fragment"))})}function ke(){var e=x(vr.wrapper.querySelectorAll(er));e.forEach(function(t){vr.slides.insertBefore(t,e[Math.floor(Math.random()*e.length)])})}function Ae(e,t){var r=x(vr.wrapper.querySelectorAll(e)),n=r.length,a=H();if(n){ar.loop&&(t%=n)<0&&(t=n+t),t=Math.max(Math.min(t,n-1),0);for(var i=0;it&&(o.classList.add(s?"past":"future"),ar.fragments&&x(o.querySelectorAll(".fragment.visible")).forEach(function(e){e.classList.remove("visible"),e.classList.remove("current-fragment")}))}r[t].classList.add("present"),r[t].removeAttribute("hidden"),r[t].removeAttribute("aria-hidden");var l=r[t].getAttribute("data-state");l&&(pr=pr.concat(l.split(" ")))}else t=0;return t}function Le(){var e,t,r=x(vr.wrapper.querySelectorAll(er)),n=r.length;if(n&&void 0!==jt){var a=ne()?10:ar.viewDistance;Jt&&(a=ne()?6:2),H()&&(a=Number.MAX_VALUE);for(var i=0;isection>section").length?vr.wrapper.classList.add("has-vertical-slides"):vr.wrapper.classList.remove("has-vertical-slides"),vr.wrapper.querySelectorAll(".slides>section").length>1?vr.wrapper.classList.add("has-horizontal-slides"):vr.wrapper.classList.remove("has-horizontal-slides")}}function Ee(){
ar.showNotes&&vr.speakerNotes&&_t&&!H()&&(vr.speakerNotes.innerHTML=et()||'No notes on this slide.')}function Se(){ar.showNotes&&xe()?vr.wrapper.classList.add("show-notes"):vr.wrapper.classList.remove("show-notes")}function xe(){return vr.slides.querySelectorAll("[data-notes], aside.notes").length>0}function qe(){ar.progress&&vr.progressbar&&(vr.progressbar.style.width=Ve()*vr.wrapper.offsetWidth+"px")}function Me(){if(ar.slideNumber&&vr.slideNumber){var e,t="h.v";if("function"==typeof ar.slideNumber)e=ar.slideNumber();else switch("string"==typeof ar.slideNumber&&(t=ar.slideNumber),/c/.test(t)||1!==vr.wrapper.querySelectorAll(er).length||(t="c"),e=[],t){case"c":e.push(Ke()+1);break;case"c/t":e.push(Ke()+1,"/",Qe());break;case"h/v":e.push(jt+1),ie()&&e.push("/",Yt+1);break;default:e.push(jt+1),ie()&&e.push(".",Yt+1)}vr.slideNumber.innerHTML=Ne(e[0],e[1],e[2])}}function Ne(e,t,r){var n="#"+ae();return"number"!=typeof r||isNaN(r)?''+e+"":''+e+''+t+''+r+""}function Ie(){var e=Be(),t=ze();vr.controlsLeft.concat(vr.controlsRight).concat(vr.controlsUp).concat(vr.controlsDown).concat(vr.controlsPrev).concat(vr.controlsNext).forEach(function(e){e.classList.remove("enabled"),e.classList.remove("fragmented"),e.setAttribute("disabled","disabled")}),e.left&&vr.controlsLeft.forEach(function(e){e.classList.add("enabled"),e.removeAttribute("disabled")}),e.right&&vr.controlsRight.forEach(function(e){e.classList.add("enabled"),e.removeAttribute("disabled")}),e.up&&vr.controlsUp.forEach(function(e){e.classList.add("enabled"),e.removeAttribute("disabled")}),e.down&&vr.controlsDown.forEach(function(e){e.classList.add("enabled"),e.removeAttribute("disabled")}),(e.left||e.up)&&vr.controlsPrev.forEach(function(e){e.classList.add("enabled"),e.removeAttribute("disabled")}),(e.right||e.down)&&vr.controlsNext.forEach(function(e){e.classList.add("enabled"),e.removeAttribute("disabled")}),_t&&(t.prev&&vr.controlsPrev.forEach(function(e){e.classList.add("fragmented","enabled"),e.removeAttribute("disabled")}),t.next&&vr.controlsNext.forEach(function(e){e.classList.add("fragmented","enabled"),e.removeAttribute("disabled")}),ie(_t)?(t.prev&&vr.controlsUp.forEach(function(e){e.classList.add("fragmented","enabled"),e.removeAttribute("disabled")}),t.next&&vr.controlsDown.forEach(function(e){e.classList.add("fragmented","enabled"),e.removeAttribute("disabled")})):(t.prev&&vr.controlsLeft.forEach(function(e){e.classList.add("fragmented","enabled"),e.removeAttribute("disabled")}),t.next&&vr.controlsRight.forEach(function(e){e.classList.add("fragmented","enabled"),e.removeAttribute("disabled")}))),ar.controlsTutorial&&(!ur&&e.down?vr.controlsDownArrow.classList.add("highlight"):(vr.controlsDownArrow.classList.remove("highlight"),!dr&&e.right&&0===Yt?vr.controlsRightArrow.classList.add("highlight"):vr.controlsRightArrow.classList.remove("highlight")))}function Te(e){var t=null,r=ar.rtl?"future":"past",n=ar.rtl?"past":"future";if(x(vr.background.childNodes).forEach(function(a,i){a.classList.remove("past"),a.classList.remove("present"),a.classList.remove("future"),ijt?a.classList.add(n):(a.classList.add("present"),t=a),(e||i===jt)&&x(a.querySelectorAll(".slide-background")).forEach(function(e,r){e.classList.remove("past"),e.classList.remove("present"),e.classList.remove("future"),rYt?e.classList.add("future"):(e.classList.add("present"),i===jt&&(t=e))})}),$t&&Ue($t),t){Oe(t);var a=t.querySelector(".slide-background-content");if(a){var i=a.style.backgroundImage||"";/\.gif/i.test(i)&&(a.style.backgroundImage="",window.getComputedStyle(a).opacity,a.style.backgroundImage=i)}var o=$t?$t.getAttribute("data-background-hash"):null,s=t.getAttribute("data-background-hash");s&&s===o&&t!==$t&&vr.background.classList.add("no-transition"),$t=t}_t&&["has-light-background","has-dark-background"].forEach(function(e){_t.classList.contains(e)?vr.wrapper.classList.add(e):vr.wrapper.classList.remove(e)}),setTimeout(function(){vr.background.classList.remove("no-transition")},1)}function Pe(){if(ar.parallaxBackgroundImage){var e,t,r=vr.wrapper.querySelectorAll(er),n=vr.wrapper.querySelectorAll(tr),a=vr.background.style.backgroundSize.split(" ");1===a.length?e=t=parseInt(a[0],10):(e=parseInt(a[0],10),t=parseInt(a[1],10));var i,o,s=vr.background.offsetWidth,l=r.length;i="number"==typeof ar.parallaxBackgroundHorizontal?ar.parallaxBackgroundHorizontal:l>1?(e-s)/(l-1):0,o=i*jt*-1;var c,d,u=vr.background.offsetHeight,p=n.length;c="number"==typeof ar.parallaxBackgroundVertical?ar.parallaxBackgroundVertical:(t-u)/(p-1),d=p>0?c*Yt:0,vr.background.style.backgroundPosition=o+"px "+-d+"px"}}function Ce(e){var t=ar.preloadIframes;return"boolean"!=typeof t&&(t=e.hasAttribute("data-preload")),t}function Re(e,t){t=t||{},e.style.display=ar.display,x(e.querySelectorAll("img[data-src], video[data-src], audio[data-src], iframe[data-src]")).forEach(function(e){("IFRAME"!==e.tagName||Ce(e))&&(e.setAttribute("src",e.getAttribute("data-src")),e.setAttribute("data-lazy-loaded",""),e.removeAttribute("data-src"))}),x(e.querySelectorAll("video, audio")).forEach(function(e){var t=0;x(e.querySelectorAll("source[data-src]")).forEach(function(e){e.setAttribute("src",e.getAttribute("data-src")),e.removeAttribute("data-src"),e.setAttribute("data-lazy-loaded",""),t+=1}),t>0&&e.load()});var r=e.slideBackgroundElement;if(r){r.style.display="block";var n=e.slideBackgroundContentElement;if(!1===r.hasAttribute("data-loaded")){r.setAttribute("data-loaded","true");var a=e.getAttribute("data-background-image"),i=e.getAttribute("data-background-video"),o=e.hasAttribute("data-background-video-loop"),s=e.hasAttribute("data-background-video-muted"),l=e.getAttribute("data-background-iframe");if(a)n.style.backgroundImage="url("+encodeURI(a)+")";else if(i&&!je()){var c=document.createElement("video");o&&c.setAttribute("loop",""),s&&(c.muted=!0),Jt&&(c.muted=!0,c.autoplay=!0,c.setAttribute("playsinline","")),i.split(",").forEach(function(e){c.innerHTML+='