/**
 * Minified by jsDelivr using Terser v5.37.0.
 * Original file: /npm/reveal.js@3.9.2/js/reveal.js
 *
 * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files
 */
/*!
 * reveal.js
 * http://revealjs.com
 * MIT licensed
 *
 * Copyright (C) 2020 Hakim El Hattab, http://hakim.se
 */
!function(e,t){"function"==typeof define&&define.amd?define((function(){return e.Reveal=t(),e.Reveal})):"object"==typeof exports?module.exports=t():e.Reveal=t()}(this,(function(){"use strict";var e,t,r,n,a,i,o,s,l,c=".slides section",d=".slides>section",u=".slides>section.present>section",p=navigator.userAgent,f=/registerPlugin|registerKeyboardShortcut|addKeyBinding|addEventListener/,v={width:960,height:700,margin:.04,minScale:.2,maxScale:2,controls:!0,controlsTutorial:!0,controlsLayout:"bottom-right",controlsBackArrows:"faded",progress:!0,slideNumber:!1,showSlideNumber:"all",hashOneBasedIndex:!1,hash:!1,history:!1,keyboard:!0,keyboardCondition:null,overview:!0,disableLayout:!1,center:!0,touch:!0,loop:!1,rtl:!1,navigationMode:"default",shuffle:!1,fragments:!0,fragmentInURL:!1,embedded:!1,help:!0,pause:!0,showNotes:!1,autoPlayMedia:null,preloadIframes:null,autoSlide:0,autoSlideStoppable:!0,autoSlideMethod:null,defaultTiming:null,mouseWheel:!1,rollingLinks:!1,hideAddressBar:!0,previewLinks:!1,postMessage:!0,postMessageEvents:!1,focusBodyOnPageVisibilityChange:!0,transition:"slide",transitionSpeed:"default",backgroundTransition:"fade",parallaxBackgroundImage:"",parallaxBackgroundSize:"",parallaxBackgroundRepeat:"",parallaxBackgroundPosition:"",parallaxBackgroundHorizontal:null,parallaxBackgroundVertical:null,pdfMaxPagesPerSlide:Number.POSITIVE_INFINITY,pdfSeparateFragments:!0,pdfPageHeightOffset:-1,viewDistance:3,mobileViewDistance:2,display:"block",hideInactiveCursor:!0,hideCursorTime:5e3,dependencies:[]},h=!1,g=!1,m=!1,b=null,y=null,w=!1,A=!1,k=[],L=1,E={layout:"",overview:""},S={},x={},q=[],M={},N=0,I=0,T=!1,P=0,C=!1,H=0,R=0,B=-1,z=!1,D={startX:0,startY:0,startCount:0,captured:!1,threshold:40},O={},W={};function F(){var e=Object.keys(x).length;if(0===e)U();else{var t=function(){0==--e&&U()};for(var r in x){var n=x[r];if("function"==typeof n.init){var a=n.init();a&&"function"==typeof a.then?a.then(t):t()}else t()}}}function U(){var n;q.length&&q.forEach((function(e){V(e.src,e.callback)})),g=!0,S.slides.classList.add("no-transition"),o?S.wrapper.classList.add("no-hover"):S.wrapper.classList.remove("no-hover"),/iphone/gi.test(p)?S.wrapper.classList.add("ua-iphone"):S.wrapper.classList.remove("ua-iphone"),S.background=Y(S.wrapper,"div","backgrounds",null),S.progress=Y(S.wrapper,"div","progress","<span></span>"),S.progressbar=S.progress.querySelector("span"),S.controls=Y(S.wrapper,"aside","controls",'<button class="navigate-left" aria-label="previous slide"><div class="controls-arrow"></div></button><button class="navigate-right" aria-label="next slide"><div class="controls-arrow"></div></button><button class="navigate-up" aria-label="above slide"><div class="controls-arrow"></div></button><button class="navigate-down" aria-label="below slide"><div class="controls-arrow"></div></button>'),S.slideNumber=Y(S.wrapper,"div","slide-number",""),S.speakerNotes=Y(S.wrapper,"div","speaker-notes",null),S.speakerNotes.setAttribute("data-prevent-swipe",""),S.speakerNotes.setAttribute("tabindex","0"),S.pauseOverlay=Y(S.wrapper,"div","pause-overlay",v.controls?'<button class="resume-button">Resume presentation</button>':null),S.wrapper.setAttribute("role","application"),S.controlsLeft=G(document.querySelectorAll(".navigate-left")),S.controlsRight=G(document.querySelectorAll(".navigate-right")),S.controlsUp=G(document.querySelectorAll(".navigate-up")),S.controlsDown=G(document.querySelectorAll(".navigate-down")),S.controlsPrev=G(document.querySelectorAll(".navigate-prev")),S.controlsNext=G(document.querySelectorAll(".navigate-next")),S.controlsRightArrow=S.controls.querySelector(".navigate-right"),S.controlsDownArrow=S.controls.querySelector(".navigate-down"),S.statusDiv=((n=document.getElementById("aria-status-div"))||((n=document.createElement("div")).style.position="absolute",n.style.height="1px",n.style.width="1px",n.style.overflow="hidden",n.style.clip="rect( 1px, 1px, 1px, 1px )",n.setAttribute("id","aria-status-div"),n.setAttribute("aria-live","polite"),n.setAttribute("aria-atomic","true"),S.wrapper.appendChild(n)),n),v.postMessage&&window.addEventListener("message",(function(t){var r=t.data;if("string"==typeof r&&"{"===r.charAt(0)&&"}"===r.charAt(r.length-1)&&(r=JSON.parse(r)).method&&"function"==typeof e[r.method])if(!1===f.test(r.method)){var n=e[r.method].apply(e,r.args);ce("callback",{method:r.method,result:n})}else console.warn('reveal.js: "'+r.method+'" is is blacklisted from the postMessage API')}),!1),setInterval((function(){0===S.wrapper.scrollTop&&0===S.wrapper.scrollLeft||(S.wrapper.scrollTop=0,S.wrapper.scrollLeft=0)}),1e3),G(S.wrapper.querySelectorAll(d)).forEach((function(e){G(e.querySelectorAll("section")).forEach((function(e,t){t>0&&(e.classList.remove("present"),e.classList.remove("past"),e.classList.add("future"),e.setAttribute("aria-hidden","true"))}))})),$(),ot(),Ye(!0),setTimeout((function(){S.slides.classList.remove("no-transition"),S.wrapper.classList.add("ready"),le("ready",{indexh:t,indexv:r,currentSlide:a})}),1),oe()&&(Q(),"complete"===document.readyState?K():window.addEventListener("load",K))}function V(e,t){var r=document.createElement("script");r.type="text/javascript",r.async=!1,r.defer=!1,r.src=e,t&&(r.onload=r.onreadystatechange=function(e){("load"===e.type||/loaded|complete/.test(r.readyState))&&(r.onload=r.onreadystatechange=r.onerror=null,t())},r.onerror=function(e){r.onload=r.onreadystatechange=r.onerror=null,t(new Error("Failed loading script: "+r.src+"\n"+e))});var n=document.querySelector("head");n.insertBefore(r,n.lastChild)}function j(e){var t="";if(3===e.nodeType)t+=e.textContent;else if(1===e.nodeType){var r=e.getAttribute("aria-hidden"),n="none"===window.getComputedStyle(e).display;"true"===r||n||G(e.childNodes).forEach((function(e){t+=j(e)}))}return t}function K(){var e=me(window.innerWidth,window.innerHeight),t=Math.floor(e.width*(1+v.margin)),r=Math.floor(e.height*(1+v.margin)),n=e.width,a=e.height;ne("@page{size:"+t+"px "+r+"px; margin: 0px;}"),ne(".reveal section>img, .reveal section>video, .reveal section>iframe{max-width: "+n+"px; max-height:"+a+"px}"),document.body.classList.add("print-pdf"),document.body.style.width=t+"px",document.body.style.height=r+"px",ge(n,a);var i=v.slideNumber&&/all|print/i.test(v.showSlideNumber);G(S.wrapper.querySelectorAll(c)).forEach((function(e){e.setAttribute("data-slide-number",je(e))})),G(S.wrapper.querySelectorAll(c)).forEach((function(e){if(!1===e.classList.contains("stack")){var o=(t-n)/2,s=(r-a)/2,l=e.scrollHeight,c=Math.max(Math.ceil(l/r),1);(1===(c=Math.min(c,v.pdfMaxPagesPerSlide))&&v.center||e.classList.contains("center"))&&(s=Math.max((r-l)/2,0));var d=document.createElement("div");if(d.className="pdf-page",d.style.height=(r+v.pdfPageHeightOffset)*c+"px",e.parentNode.insertBefore(d,e),d.appendChild(e),e.style.left=o+"px",e.style.top=s+"px",e.style.width=n+"px",e.slideBackgroundElement&&d.insertBefore(e.slideBackgroundElement,e),v.showNotes){var u=mt(e);if(u){var p="string"==typeof v.showNotes?v.showNotes:"inline",f=document.createElement("div");f.classList.add("speaker-notes"),f.classList.add("speaker-notes-pdf"),f.setAttribute("data-layout",p),f.innerHTML=u,"separate-page"===p?d.parentNode.insertBefore(f,d.nextSibling):(f.style.left="8px",f.style.bottom="8px",f.style.width=t-16+"px",d.appendChild(f))}}if(i){var h=document.createElement("div");h.classList.add("slide-number"),h.classList.add("slide-number-pdf"),h.innerHTML=e.getAttribute("data-slide-number"),d.appendChild(h)}if(v.pdfSeparateFragments){var g,m,b=yt(d.querySelectorAll(".fragment"),!0);b.forEach((function(e){g&&g.forEach((function(e){e.classList.remove("current-fragment")})),e.forEach((function(e){e.classList.add("visible","current-fragment")}));var t=d.cloneNode(!0);d.parentNode.insertBefore(t,(m||d).nextSibling),g=e,m=t})),b.forEach((function(e){e.forEach((function(e){e.classList.remove("visible","current-fragment")}))}))}else G(d.querySelectorAll(".fragment:not(.fade-out)")).forEach((function(e){e.classList.add("visible")}))}})),le("pdf-ready")}function Y(e,t,r,n){for(var a=e.querySelectorAll("."+r),i=0;i<a.length;i++){var o=a[i];if(o.parentNode===e)return o}var s=document.createElement(t);return s.className=r,"string"==typeof n&&(s.innerHTML=n),e.appendChild(s),s}function X(e,t){var r=document.createElement("div");r.className="slide-background "+e.className.replace(/present|past|future/,"");var n=document.createElement("div");return n.className="slide-background-content",r.appendChild(n),t.appendChild(r),e.slideBackgroundElement=r,e.slideBackgroundContentElement=n,_(e),r}function _(e){var t=e.slideBackgroundElement,r=e.slideBackgroundContentElement;e.classList.remove("has-dark-background"),e.classList.remove("has-light-background"),t.removeAttribute("data-loaded"),t.removeAttribute("data-background-hash"),t.removeAttribute("data-background-size"),t.removeAttribute("data-background-transition"),t.style.backgroundColor="",r.style.backgroundSize="",r.style.backgroundRepeat="",r.style.backgroundPosition="",r.style.backgroundImage="",r.style.opacity="",r.innerHTML="";var n={background:e.getAttribute("data-background"),backgroundSize:e.getAttribute("data-background-size"),backgroundImage:e.getAttribute("data-background-image"),backgroundVideo:e.getAttribute("data-background-video"),backgroundIframe:e.getAttribute("data-background-iframe"),backgroundColor:e.getAttribute("data-background-color"),backgroundRepeat:e.getAttribute("data-background-repeat"),backgroundPosition:e.getAttribute("data-background-position"),backgroundTransition:e.getAttribute("data-background-transition"),backgroundOpacity:e.getAttribute("data-background-opacity")};n.background&&(/^(http|file|\/\/)/gi.test(n.background)||/\.(svg|png|jpg|jpeg|gif|bmp)([?#\s]|$)/gi.test(n.background)?e.setAttribute("data-background-image",n.background):t.style.background=n.background),(n.background||n.backgroundColor||n.backgroundImage||n.backgroundVideo||n.backgroundIframe)&&t.setAttribute("data-background-hash",n.background+n.backgroundSize+n.backgroundImage+n.backgroundVideo+n.backgroundIframe+n.backgroundColor+n.backgroundRepeat+n.backgroundPosition+n.backgroundTransition+n.backgroundOpacity),n.backgroundSize&&t.setAttribute("data-background-size",n.backgroundSize),n.backgroundColor&&(t.style.backgroundColor=n.backgroundColor),n.backgroundTransition&&t.setAttribute("data-background-transition",n.backgroundTransition),e.hasAttribute("data-preload")&&t.setAttribute("data-preload",""),n.backgroundSize&&(r.style.backgroundSize=n.backgroundSize),n.backgroundRepeat&&(r.style.backgroundRepeat=n.backgroundRepeat),n.backgroundPosition&&(r.style.backgroundPosition=n.backgroundPosition),n.backgroundOpacity&&(r.style.opacity=n.backgroundOpacity);var a=n.backgroundColor;if(!a){var i=window.getComputedStyle(t);i&&i.backgroundColor&&(a=i.backgroundColor)}if(a){var o=ie(a);o&&0!==o.a&&(function(e){"string"==typeof e&&(e=ie(e));if(e)return(299*e.r+587*e.g+114*e.b)/1e3;return null}(a)<128?e.classList.add("has-dark-background"):e.classList.add("has-light-background"))}}function $(e){var t=v.transition;if("object"==typeof e&&Z(v,e),!1!==g){var r=S.wrapper.querySelectorAll(c).length;S.wrapper.classList.remove(t),!1===M.transforms3d&&(v.transition="linear"),S.wrapper.classList.add(v.transition),S.wrapper.setAttribute("data-transition-speed",v.transitionSpeed),S.wrapper.setAttribute("data-background-transition",v.backgroundTransition),S.controls.style.display=v.controls?"block":"none",S.progress.style.display=v.progress?"block":"none",S.controls.setAttribute("data-controls-layout",v.controlsLayout),S.controls.setAttribute("data-controls-back-arrows",v.controlsBackArrows),v.shuffle&&De(),v.rtl?S.wrapper.classList.add("rtl"):S.wrapper.classList.remove("rtl"),v.center?S.wrapper.classList.add("center"):S.wrapper.classList.remove("center"),!1===v.pause&&Te(),v.showNotes&&S.speakerNotes.setAttribute("data-layout","string"==typeof v.showNotes?v.showNotes:"inline"),v.mouseWheel?(document.addEventListener("DOMMouseScroll",Kt,!1),document.addEventListener("mousewheel",Kt,!1)):(document.removeEventListener("DOMMouseScroll",Kt,!1),document.removeEventListener("mousewheel",Kt,!1)),v.rollingLinks?function(){if(M.transforms3d&&!("msPerspective"in document.body.style))for(var e=S.wrapper.querySelectorAll(c+" a"),t=0,r=e.length;t<r;t++){var n=e[t];if(n.textContent&&!n.querySelector("*")&&(!n.className||!n.classList.contains(n,"roll"))){var a=document.createElement("span");a.setAttribute("data-title",n.text),a.innerHTML=n.innerHTML,n.classList.add("roll"),n.innerHTML="",n.appendChild(a)}}}():function(){for(var e=S.wrapper.querySelectorAll(c+" a.roll"),t=0,r=e.length;t<r;t++){var n=e[t],a=n.querySelector("span");a&&(n.classList.remove("roll"),n.innerHTML=a.innerHTML)}}(),v.hideInactiveCursor?(document.addEventListener("mousemove",Bt,!1),document.addEventListener("mousedown",Bt,!1)):(Me(),document.removeEventListener("mousemove",Bt,!1),document.removeEventListener("mousedown",Bt,!1)),v.previewLinks?(de(),ue("[data-preview-link=false]")):(ue(),de("[data-preview-link]:not([data-preview-link=false])")),l&&(l.destroy(),l=null),r>1&&v.autoSlide&&v.autoSlideStoppable&&M.canvas&&M.requestAnimationFrame&&((l=new ir(S.wrapper,(function(){return Math.min(Math.max((Date.now()-B)/H,0),1)}))).on("click",ar),z=!1),!1===v.fragments&&G(S.slides.querySelectorAll(".fragment")).forEach((function(e){e.classList.add("visible"),e.classList.remove("current-fragment")}));var n="none";v.slideNumber&&!oe()&&("all"===v.showSlideNumber||"speaker"===v.showSlideNumber&&it())&&(n="block"),S.slideNumber.style.display=n,"default"!==v.navigationMode?S.wrapper.setAttribute("data-navigation-mode",v.navigationMode):S.wrapper.removeAttribute("data-navigation-mode"),"linear"===v.navigationMode?(O["&#8594;  ,  &#8595;  ,  SPACE  ,  N  ,  L  ,  J"]="Next slide",O["&#8592;  ,  &#8593;  ,  P  ,  H  ,  K"]="Previous slide"):(O["N  ,  SPACE"]="Next slide",O.P="Previous slide",O["&#8592;  ,  H"]="Navigate left",O["&#8594;  ,  L"]="Navigate right",O["&#8593;  ,  K"]="Navigate up",O["&#8595;  ,  J"]="Navigate down"),O["Home  ,  Shift &#8592;"]="First slide",O["End  ,  Shift &#8594;"]="Last slide",O["B  ,  ."]="Pause",O.F="Fullscreen",O["ESC, O"]="Slide overview",Be()}}function J(){var e;(C=!0,window.addEventListener("hashchange",Gt,!1),window.addEventListener("resize",er,!1),v.touch&&("onpointerdown"in window?(S.wrapper.addEventListener("pointerdown",Ut,!1),S.wrapper.addEventListener("pointermove",Vt,!1),S.wrapper.addEventListener("pointerup",jt,!1)):window.navigator.msPointerEnabled?(S.wrapper.addEventListener("MSPointerDown",Ut,!1),S.wrapper.addEventListener("MSPointerMove",Vt,!1),S.wrapper.addEventListener("MSPointerUp",jt,!1)):(S.wrapper.addEventListener("touchstart",Ot,!1),S.wrapper.addEventListener("touchmove",Wt,!1),S.wrapper.addEventListener("touchend",Ft,!1))),v.keyboard&&(document.addEventListener("keydown",Dt,!1),document.addEventListener("keypress",zt,!1)),v.progress&&S.progress&&S.progress.addEventListener("click",Yt,!1),S.pauseOverlay.addEventListener("click",Te,!1),v.focusBodyOnPageVisibilityChange)&&("hidden"in document?e="visibilitychange":"msHidden"in document?e="msvisibilitychange":"webkitHidden"in document&&(e="webkitvisibilitychange"),e&&document.addEventListener(e,tr,!1));var t=["touchstart","click"];p.match(/android/gi)&&(t=["touchstart"]),t.forEach((function(e){S.controlsLeft.forEach((function(t){t.addEventListener(e,Xt,!1)})),S.controlsRight.forEach((function(t){t.addEventListener(e,_t,!1)})),S.controlsUp.forEach((function(t){t.addEventListener(e,$t,!1)})),S.controlsDown.forEach((function(t){t.addEventListener(e,Jt,!1)})),S.controlsPrev.forEach((function(t){t.addEventListener(e,Qt,!1)})),S.controlsNext.forEach((function(t){t.addEventListener(e,Zt,!1)}))}))}function Q(){C=!1,document.removeEventListener("keydown",Dt,!1),document.removeEventListener("keypress",zt,!1),window.removeEventListener("hashchange",Gt,!1),window.removeEventListener("resize",er,!1),S.wrapper.removeEventListener("pointerdown",Ut,!1),S.wrapper.removeEventListener("pointermove",Vt,!1),S.wrapper.removeEventListener("pointerup",jt,!1),S.wrapper.removeEventListener("MSPointerDown",Ut,!1),S.wrapper.removeEventListener("MSPointerMove",Vt,!1),S.wrapper.removeEventListener("MSPointerUp",jt,!1),S.wrapper.removeEventListener("touchstart",Ot,!1),S.wrapper.removeEventListener("touchmove",Wt,!1),S.wrapper.removeEventListener("touchend",Ft,!1),S.pauseOverlay.removeEventListener("click",Te,!1),v.progress&&S.progress&&S.progress.removeEventListener("click",Yt,!1),["touchstart","click"].forEach((function(e){S.controlsLeft.forEach((function(t){t.removeEventListener(e,Xt,!1)})),S.controlsRight.forEach((function(t){t.removeEventListener(e,_t,!1)})),S.controlsUp.forEach((function(t){t.removeEventListener(e,$t,!1)})),S.controlsDown.forEach((function(t){t.removeEventListener(e,Jt,!1)})),S.controlsPrev.forEach((function(t){t.removeEventListener(e,Qt,!1)})),S.controlsNext.forEach((function(t){t.removeEventListener(e,Zt,!1)}))}))}function Z(e,t){for(var r in t)e[r]=t[r];return e}function G(e){return Array.prototype.slice.call(e)}function ee(e){if("string"==typeof e){if("null"===e)return null;if("true"===e)return!0;if("false"===e)return!1;if(e.match(/^-?[\d\.]+$/))return parseFloat(e)}return e}function te(e,t){e.style.WebkitTransform=t,e.style.MozTransform=t,e.style.msTransform=t,e.style.transform=t}function re(e){"string"==typeof e.layout&&(E.layout=e.layout),"string"==typeof e.overview&&(E.overview=e.overview),E.layout?te(S.slides,E.layout+" "+E.overview):te(S.slides,E.overview)}function ne(e){var t=document.createElement("style");t.type="text/css",t.styleSheet?t.styleSheet.cssText=e:t.appendChild(document.createTextNode(e)),document.getElementsByTagName("head")[0].appendChild(t)}function ae(e,t){for(var r=e.parentNode;r;){var n=r.matches||r.matchesSelector||r.msMatchesSelector;if(n&&n.call(r,t))return r;r=r.parentNode}return null}function ie(e){var t=e.match(/^#([0-9a-f]{3})$/i);if(t&&t[1])return t=t[1],{r:17*parseInt(t.charAt(0),16),g:17*parseInt(t.charAt(1),16),b:17*parseInt(t.charAt(2),16)};var r=e.match(/^#([0-9a-f]{6})$/i);if(r&&r[1])return r=r[1],{r:parseInt(r.substr(0,2),16),g:parseInt(r.substr(2,2),16),b:parseInt(r.substr(4,2),16)};var n=e.match(/^rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)$/i);if(n)return{r:parseInt(n[1],10),g:parseInt(n[2],10),b:parseInt(n[3],10)};var a=e.match(/^rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\,\s*([\d]+|[\d]*.[\d]+)\s*\)$/i);return a?{r:parseInt(a[1],10),g:parseInt(a[2],10),b:parseInt(a[3],10),a:parseFloat(a[4])}:null}function oe(){return/print-pdf/gi.test(window.location.search)}function se(){setTimeout((function(){window.scrollTo(0,1)}),10)}function le(e,t){var r=document.createEvent("HTMLEvents",1,2);r.initEvent(e,!0,!0),Z(r,t),S.wrapper.dispatchEvent(r),ce(e)}function ce(e,t){if(v.postMessageEvents&&window.parent!==window.self){var r={namespace:"reveal",eventName:e,state:bt()};Z(r,t),window.parent.postMessage(JSON.stringify(r),"*")}}function de(e){G(document.querySelectorAll(e||"a")).forEach((function(e){/^(http|www)/gi.test(e.getAttribute("href"))&&e.addEventListener("click",nr,!1)}))}function ue(e){G(document.querySelectorAll(e||"a")).forEach((function(e){/^(http|www)/gi.test(e.getAttribute("href"))&&e.removeEventListener("click",nr,!1)}))}function pe(e){"boolean"==typeof e?e?fe():ve():S.overlay?ve():fe()}function fe(){if(v.help){ve(),S.overlay=document.createElement("div"),S.overlay.classList.add("overlay"),S.overlay.classList.add("overlay-help"),S.wrapper.appendChild(S.overlay);var e='<p class="title">Keyboard Shortcuts</p><br/>';for(var t in e+="<table><th>KEY</th><th>ACTION</th>",O)e+="<tr><td>"+t+"</td><td>"+O[t]+"</td></tr>";for(var r in W)W[r].key&&W[r].description&&(e+="<tr><td>"+W[r].key+"</td><td>"+W[r].description+"</td></tr>");e+="</table>",S.overlay.innerHTML=["<header>",'<a class="close" href="#"><span class="icon"></span></a>',"</header>",'<div class="viewport">','<div class="viewport-inner">'+e+"</div>","</div>"].join(""),S.overlay.querySelector(".close").addEventListener("click",(function(e){ve(),e.preventDefault()}),!1),setTimeout((function(){S.overlay.classList.add("visible")}),1)}}function ve(){S.overlay&&(S.overlay.parentNode.removeChild(S.overlay),S.overlay=null)}function he(){if(S.wrapper&&!oe()){if(!v.disableLayout){o&&document.documentElement.style.setProperty("--vh",.01*window.innerHeight+"px");var e=me(),t=L;ge(v.width,v.height),S.slides.style.width=e.width+"px",S.slides.style.height=e.height+"px",L=Math.min(e.presentationWidth/e.width,e.presentationHeight/e.height),L=Math.max(L,v.minScale),1===(L=Math.min(L,v.maxScale))?(S.slides.style.zoom="",S.slides.style.left="",S.slides.style.top="",S.slides.style.bottom="",S.slides.style.right="",re({layout:""})):L>1&&M.zoom&&window.devicePixelRatio<2?(S.slides.style.zoom=L,S.slides.style.left="",S.slides.style.top="",S.slides.style.bottom="",S.slides.style.right="",re({layout:""})):(S.slides.style.zoom="",S.slides.style.left="50%",S.slides.style.top="50%",S.slides.style.bottom="auto",S.slides.style.right="auto",re({layout:"translate(-50%, -50%) scale("+L+")"}));for(var r=G(S.wrapper.querySelectorAll(c)),n=0,a=r.length;n<a;n++){var i=r[n];"none"!==i.style.display&&(v.center||i.classList.contains("center")?i.classList.contains("stack")?i.style.top=0:i.style.top=Math.max((e.height-i.scrollHeight)/2,0)+"px":i.style.top="")}t!==L&&le("resize",{oldScale:t,scale:L,size:e})}Ue(),Xe(),Se()&&ke()}}function ge(e,t){G(S.slides.querySelectorAll("section > .stretch")).forEach((function(r){var n=function(e,t){if(t=t||0,e){var r,n=e.style.height;return e.style.height="0px",e.parentNode.style.height="auto",r=t-e.parentNode.offsetHeight,e.style.height=n+"px",e.parentNode.style.removeProperty("height"),r}return t}(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 me(e,t){var r={width:v.width,height:v.height,presentationWidth:e||S.wrapper.offsetWidth,presentationHeight:t||S.wrapper.offsetHeight};return r.presentationWidth-=r.presentationWidth*v.margin,r.presentationHeight-=r.presentationHeight*v.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 be(e,t){"object"==typeof e&&"function"==typeof e.setAttribute&&e.setAttribute("data-previous-indexv",t||0)}function ye(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 we(){if(v.overview&&!Se()){m=!0,S.wrapper.classList.add("overview"),S.wrapper.classList.remove("overview-deactivating"),M.overviewTransitions&&setTimeout((function(){S.wrapper.classList.add("overview-animated")}),1),St(),S.slides.appendChild(S.background),G(S.wrapper.querySelectorAll(c)).forEach((function(e){e.classList.contains("stack")||e.addEventListener("click",rr,!0)}));var e=me();b=e.width+70,y=e.height+70,v.rtl&&(b=-b),We(),Ae(),ke(),he(),le("overviewshown",{indexh:t,indexv:r,currentSlide:a})}}function Ae(){G(S.wrapper.querySelectorAll(d)).forEach((function(e,t){e.setAttribute("data-index-h",t),te(e,"translate3d("+t*b+"px, 0, 0)"),e.classList.contains("stack")&&G(e.querySelectorAll("section")).forEach((function(e,r){e.setAttribute("data-index-h",t),e.setAttribute("data-index-v",r),te(e,"translate3d(0, "+r*y+"px, 0)")}))})),G(S.background.childNodes).forEach((function(e,t){te(e,"translate3d("+t*b+"px, 0, 0)"),G(e.querySelectorAll(".slide-background")).forEach((function(e,t){te(e,"translate3d(0, "+t*y+"px, 0)")}))}))}function ke(){var e=Math.min(window.innerWidth,window.innerHeight);re({overview:["scale("+Math.max(e/5,150)/e+")","translateX("+-t*b+"px)","translateY("+-r*y+"px)"].join(" ")})}function Le(){v.overview&&(m=!1,S.wrapper.classList.remove("overview"),S.wrapper.classList.remove("overview-animated"),S.wrapper.classList.add("overview-deactivating"),setTimeout((function(){S.wrapper.classList.remove("overview-deactivating")}),1),S.wrapper.appendChild(S.background),G(S.wrapper.querySelectorAll(c)).forEach((function(e){te(e,""),e.removeEventListener("click",rr,!0)})),G(S.background.querySelectorAll(".slide-background")).forEach((function(e){te(e,"")})),re({overview:""}),Re(t,r),he(),Et(),le("overviewhidden",{indexh:t,indexv:r,currentSlide:a}))}function Ee(e){"boolean"==typeof e?e?we():Le():Se()?Le():we()}function Se(){return m}function xe(e){var t="/",r=e||a,n=r?r.getAttribute("id"):null;n&&(n=encodeURIComponent(n));var i=lt(e);if(v.fragmentInURL||(i.f=void 0),"string"==typeof n&&n.length&&void 0===i.f)t="/"+n;else{var o=v.hashOneBasedIndex?1:0;(i.h>0||i.v>0||void 0!==i.f)&&(t+=i.h+o),(i.v>0||void 0!==i.f)&&(t+="/"+(i.v+o)),void 0!==i.f&&(t+="/"+i.f)}return t}function qe(e){return(e=e||a)&&e.parentNode&&!!e.parentNode.nodeName.match(/section/i)}function Me(){T&&(T=!1,S.wrapper.style.cursor="")}function Ne(){!1===T&&(T=!0,S.wrapper.style.cursor="none")}function Ie(){if(v.pause){var e=S.wrapper.classList.contains("paused");St(),S.wrapper.classList.add("paused"),!1===e&&le("paused")}}function Te(){var e=S.wrapper.classList.contains("paused");S.wrapper.classList.remove("paused"),Et(),e&&le("resumed")}function Pe(e){"boolean"==typeof e?e?Ie():Te():Ce()?Te():Ie()}function Ce(){return S.wrapper.classList.contains("paused")}function He(e){"boolean"==typeof e?e?qt():xt():z?qt():xt()}function Re(e,i,o,s){n=a;var l=S.wrapper.querySelectorAll(d);if(0!==l.length){void 0!==i||Se()||(i=ye(l[e])),n&&n.parentNode&&n.parentNode.classList.contains("stack")&&be(n.parentNode,r);var c=k.concat();k.length=0;var p=t||0,f=r||0;t=Oe(d,void 0===e?t:e),r=Oe(u,void 0===i?r:i),We(),he(),Se()&&ke();var v=l[t],h=v.querySelectorAll("section");a=h[r]||v,void 0!==o&&At(o);var g=t!==p||r!==f;g||(n=null),n&&n!==a&&(n.classList.remove("present"),n.setAttribute("aria-hidden","true"),S.wrapper.querySelector(".slides>section:first-of-type").classList.contains("present")&&setTimeout((function(){var e,t=G(S.wrapper.querySelectorAll(d+".stack"));for(e in t)t[e]&&be(t[e],0)}),0));e:for(var m=0,b=k.length;m<b;m++){for(var y=0;y<c.length;y++)if(c[y]===k[m]){c.splice(y,1);continue e}document.documentElement.classList.add(k[m]),le(k[m])}for(;c.length;)document.documentElement.classList.remove(c.pop());g&&le("slidechanged",{indexh:t,indexv:r,previousSlide:n,currentSlide:a,origin:s}),!g&&n||(rt(n),Ge(a)),S.statusDiv.textContent=j(a),Ke(),Ue(),Ye(),Xe(),Ve(),Fe(),wt(),st(),Et()}}function Be(){var e;Q(),J(),he(),H=v.autoSlide,Et(),oe(),S.background.innerHTML="",S.background.classList.add("no-transition"),G(S.wrapper.querySelectorAll(d)).forEach((function(e){var t=X(e,S.background);G(e.querySelectorAll("section")).forEach((function(e){X(e,t),t.classList.add("stack")}))})),v.parallaxBackgroundImage?(S.background.style.backgroundImage='url("'+v.parallaxBackgroundImage+'")',S.background.style.backgroundSize=v.parallaxBackgroundSize,S.background.style.backgroundRepeat=v.parallaxBackgroundRepeat,S.background.style.backgroundPosition=v.parallaxBackgroundPosition,setTimeout((function(){S.wrapper.classList.add("has-parallax-background")}),1)):(S.background.style.backgroundImage="",S.wrapper.classList.remove("has-parallax-background")),st(),G(S.wrapper.querySelectorAll(d)).forEach((function(e){var t=G(e.querySelectorAll("section"));t.forEach((function(e,t){yt(e.querySelectorAll(".fragment"))})),0===t.length&&yt(e.querySelectorAll(".fragment"))})),Ke(),Ue(),Ve(),We(),Ye(!0),v.showNotes&&S.slides.querySelectorAll("[data-notes], aside.notes").length>0?S.wrapper.classList.add("show-notes"):S.wrapper.classList.remove("show-notes"),Fe(),(e=function(e,t,r){G(S.slides.querySelectorAll("iframe["+e+'*="'+t+'"]')).forEach((function(t){var n=t.getAttribute(e);n&&-1===n.indexOf(r)&&t.setAttribute(e,n+(/\?/.test(n)?"&":"?")+r)}))})("src","youtube.com/embed/","enablejsapi=1"),e("data-src","youtube.com/embed/","enablejsapi=1"),e("src","player.vimeo.com/","api=1"),e("data-src","player.vimeo.com/","api=1"),!1===v.autoPlayMedia?rt(a,{unloadIframes:!1}):Ge(a),Se()&&Ae()}function ze(e){return yt((e=e||a).querySelectorAll(".fragment"))}function De(){var e=G(S.wrapper.querySelectorAll(d));e.forEach((function(t){S.slides.insertBefore(t,e[Math.floor(Math.random()*e.length)])}))}function Oe(e,t){var r=G(S.wrapper.querySelectorAll(e)),n=r.length,a=oe();if(n){v.loop&&(t%=n)<0&&(t=n+t),t=Math.max(Math.min(t,n-1),0);for(var i=0;i<n;i++){var o=r[i],s=v.rtl&&!qe(o);o.classList.remove("past"),o.classList.remove("present"),o.classList.remove("future"),o.setAttribute("hidden",""),o.setAttribute("aria-hidden","true"),o.querySelector("section")&&o.classList.add("stack"),a?o.classList.add("present"):i<t?(o.classList.add(s?"future":"past"),v.fragments&&G(o.querySelectorAll(".fragment")).forEach((function(e){e.classList.add("visible"),e.classList.remove("current-fragment")}))):i>t&&(o.classList.add(s?"past":"future"),v.fragments&&G(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&&(k=k.concat(l.split(" ")))}else t=0;return t}function We(){var e,n=G(S.wrapper.querySelectorAll(d)),a=n.length;if(a&&void 0!==t){var i=Se()?10:v.viewDistance;o&&(i=Se()?6:v.mobileViewDistance),oe()&&(i=Number.MAX_VALUE);for(var s=0;s<a;s++){var l=n[s],c=G(l.querySelectorAll("section")),u=c.length;if(e=Math.abs((t||0)-s)||0,v.loop&&(e=Math.abs(((t||0)-s)%(a-i))||0),e<i?$e(l):Je(l),u)for(var p=ye(l),f=0;f<u;f++){var h=c[f];e+(s===(t||0)?Math.abs((r||0)-f):Math.abs(f-p))<i?$e(h):Je(h)}}ft()?S.wrapper.classList.add("has-vertical-slides"):S.wrapper.classList.remove("has-vertical-slides"),pt()?S.wrapper.classList.add("has-horizontal-slides"):S.wrapper.classList.remove("has-horizontal-slides")}}function Fe(){v.showNotes&&S.speakerNotes&&a&&!oe()&&(S.speakerNotes.innerHTML=mt()||'<span class="notes-placeholder">No notes on this slide.</span>')}function Ue(){v.progress&&S.progressbar&&(S.progressbar.style.width=at()*S.wrapper.offsetWidth+"px")}function Ve(){v.slideNumber&&S.slideNumber&&(S.slideNumber.innerHTML=je())}function je(e){var t,r="h.v";if(void 0===e&&(e=a),"function"==typeof v.slideNumber)t=v.slideNumber(e);else switch("string"==typeof v.slideNumber&&(r=v.slideNumber),/c/.test(r)||1!==S.wrapper.querySelectorAll(d).length||(r="c"),t=[],r){case"c":t.push(nt(e)+1);break;case"c/t":t.push(nt(e)+1,"/",vt());break;default:var n=lt(e);t.push(n.h+1);var i="h/v"===r?"/":".";qe(e)&&t.push(i,n.v+1)}var o="#"+xe(e);return function(e,t,r,n){void 0===n&&(n="#"+xe());return"number"!=typeof r||isNaN(r)?'<a href="'+n+'"><span class="slide-number-a">'+e+"</span></a>":'<a href="'+n+'"><span class="slide-number-a">'+e+'</span><span class="slide-number-delimiter">'+t+'</span><span class="slide-number-b">'+r+"</span></a>"}(t[0],t[1],t[2],o)}function Ke(){var e=Qe(),t=Ze();S.controlsLeft.concat(S.controlsRight).concat(S.controlsUp).concat(S.controlsDown).concat(S.controlsPrev).concat(S.controlsNext).forEach((function(e){e.classList.remove("enabled"),e.classList.remove("fragmented"),e.setAttribute("disabled","disabled")})),e.left&&S.controlsLeft.forEach((function(e){e.classList.add("enabled"),e.removeAttribute("disabled")})),e.right&&S.controlsRight.forEach((function(e){e.classList.add("enabled"),e.removeAttribute("disabled")})),e.up&&S.controlsUp.forEach((function(e){e.classList.add("enabled"),e.removeAttribute("disabled")})),e.down&&S.controlsDown.forEach((function(e){e.classList.add("enabled"),e.removeAttribute("disabled")})),(e.left||e.up)&&S.controlsPrev.forEach((function(e){e.classList.add("enabled"),e.removeAttribute("disabled")})),(e.right||e.down)&&S.controlsNext.forEach((function(e){e.classList.add("enabled"),e.removeAttribute("disabled")})),a&&(t.prev&&S.controlsPrev.forEach((function(e){e.classList.add("fragmented","enabled"),e.removeAttribute("disabled")})),t.next&&S.controlsNext.forEach((function(e){e.classList.add("fragmented","enabled"),e.removeAttribute("disabled")})),qe(a)?(t.prev&&S.controlsUp.forEach((function(e){e.classList.add("fragmented","enabled"),e.removeAttribute("disabled")})),t.next&&S.controlsDown.forEach((function(e){e.classList.add("fragmented","enabled"),e.removeAttribute("disabled")}))):(t.prev&&S.controlsLeft.forEach((function(e){e.classList.add("fragmented","enabled"),e.removeAttribute("disabled")})),t.next&&S.controlsRight.forEach((function(e){e.classList.add("fragmented","enabled"),e.removeAttribute("disabled")})))),v.controlsTutorial&&(!A&&e.down?S.controlsDownArrow.classList.add("highlight"):(S.controlsDownArrow.classList.remove("highlight"),!w&&e.right&&0===r?S.controlsRightArrow.classList.add("highlight"):S.controlsRightArrow.classList.remove("highlight")))}function Ye(e){var n=null,o=v.rtl?"future":"past",s=v.rtl?"past":"future";if(G(S.background.childNodes).forEach((function(a,i){a.classList.remove("past"),a.classList.remove("present"),a.classList.remove("future"),i<t?a.classList.add(o):i>t?a.classList.add(s):(a.classList.add("present"),n=a),(e||i===t)&&G(a.querySelectorAll(".slide-background")).forEach((function(e,a){e.classList.remove("past"),e.classList.remove("present"),e.classList.remove("future"),a<r?e.classList.add("past"):a>r?e.classList.add("future"):(e.classList.add("present"),i===t&&(n=e))}))})),i&&rt(i,{unloadIframes:!_e(i)}),n){Ge(n);var l=n.querySelector(".slide-background-content");if(l){var c=l.style.backgroundImage||"";/\.gif/i.test(c)&&(l.style.backgroundImage="",window.getComputedStyle(l).opacity,l.style.backgroundImage=c)}var d=i?i.getAttribute("data-background-hash"):null,u=n.getAttribute("data-background-hash");u&&u===d&&n!==i&&S.background.classList.add("no-transition"),i=n}a&&["has-light-background","has-dark-background"].forEach((function(e){a.classList.contains(e)?S.wrapper.classList.add(e):S.wrapper.classList.remove(e)})),setTimeout((function(){S.background.classList.remove("no-transition")}),1)}function Xe(){if(v.parallaxBackgroundImage){var e,n,a=S.wrapper.querySelectorAll(d),i=S.wrapper.querySelectorAll(u),o=S.background.style.backgroundSize.split(" ");1===o.length?e=n=parseInt(o[0],10):(e=parseInt(o[0],10),n=parseInt(o[1],10));var s,l=S.background.offsetWidth,c=a.length;s=("number"==typeof v.parallaxBackgroundHorizontal?v.parallaxBackgroundHorizontal:c>1?(e-l)/(c-1):0)*t*-1;var p,f,h=S.background.offsetHeight,g=i.length;p="number"==typeof v.parallaxBackgroundVertical?v.parallaxBackgroundVertical:(n-h)/(g-1),f=g>0?p*r:0,S.background.style.backgroundPosition=s+"px "+-f+"px"}}function _e(e){var t=v.preloadIframes;return"boolean"!=typeof t&&(t=e.hasAttribute("data-preload")),t}function $e(e,t){t=t||{},e.style.display=v.display,G(e.querySelectorAll("img[data-src], video[data-src], audio[data-src], iframe[data-src]")).forEach((function(e){("IFRAME"!==e.tagName||_e(e))&&(e.setAttribute("src",e.getAttribute("data-src")),e.setAttribute("data-lazy-loaded",""),e.removeAttribute("data-src"))})),G(e.querySelectorAll("video, audio")).forEach((function(e){var t=0;G(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,a=e.getAttribute("data-background-iframe");if(!1===r.hasAttribute("data-loaded")){r.setAttribute("data-loaded","true");var i=e.getAttribute("data-background-image"),s=e.getAttribute("data-background-video"),l=e.hasAttribute("data-background-video-loop"),c=e.hasAttribute("data-background-video-muted");if(i)n.style.backgroundImage="url("+encodeURI(i)+")";else if(s&&!it()){var d=document.createElement("video");l&&d.setAttribute("loop",""),c&&(d.muted=!0),o&&(d.muted=!0,d.autoplay=!0,d.setAttribute("playsinline","")),s.split(",").forEach((function(e){d.innerHTML+='<source src="'+e+'">'})),n.appendChild(d)}else if(a&&!0!==t.excludeIframes){var u=document.createElement("iframe");u.setAttribute("allowfullscreen",""),u.setAttribute("mozallowfullscreen",""),u.setAttribute("webkitallowfullscreen",""),u.setAttribute("allow","autoplay"),u.setAttribute("data-src",a),u.style.width="100%",u.style.height="100%",u.style.maxHeight="100%",u.style.maxWidth="100%",n.appendChild(u)}}var p=n.querySelector("iframe[data-src]");p&&_e(r)&&!/autoplay=(1|true|yes)/gi.test(a)&&p.getAttribute("src")!==a&&p.setAttribute("src",a)}}function Je(e){e.style.display="none";var t=gt(e);t&&(t.style.display="none",G(t.querySelectorAll("iframe[src]")).forEach((function(e){e.removeAttribute("src")}))),G(e.querySelectorAll("video[data-lazy-loaded][src], audio[data-lazy-loaded][src], iframe[data-lazy-loaded][src]")).forEach((function(e){e.setAttribute("data-src",e.getAttribute("src")),e.removeAttribute("src")})),G(e.querySelectorAll("video[data-lazy-loaded] source[src], audio source[src]")).forEach((function(e){e.setAttribute("data-src",e.getAttribute("src")),e.removeAttribute("src")}))}function Qe(){var e=S.wrapper.querySelectorAll(d),n=S.wrapper.querySelectorAll(u),a={left:t>0,right:t<e.length-1,up:r>0,down:r<n.length-1};if(v.loop&&(e.length>1&&(a.left=!0,a.right=!0),n.length>1&&(a.up=!0,a.down=!0)),v.rtl){var i=a.left;a.left=a.right,a.right=i}return a}function Ze(){if(a&&v.fragments){var e=a.querySelectorAll(".fragment"),t=a.querySelectorAll(".fragment:not(.visible)");return{prev:e.length-t.length>0,next:!!t.length}}return{prev:!1,next:!1}}function Ge(e){e&&!it()&&(G(e.querySelectorAll('img[src$=".gif"]')).forEach((function(e){e.setAttribute("src",e.getAttribute("src"))})),G(e.querySelectorAll("video, audio")).forEach((function(e){if(!ae(e,".fragment")||ae(e,".fragment.visible")){var t=v.autoPlayMedia;if("boolean"!=typeof t&&(t=e.hasAttribute("data-autoplay")||!!ae(e,".slide-background")),t&&"function"==typeof e.play)if(e.readyState>1)et({target:e});else if(o){var r=e.play();r&&"function"==typeof r.catch&&!1===e.controls&&r.catch((function(){e.controls=!0,e.addEventListener("play",(function(){e.controls=!1}))}))}else e.removeEventListener("loadeddata",et),e.addEventListener("loadeddata",et)}})),G(e.querySelectorAll("iframe[src]")).forEach((function(e){ae(e,".fragment")&&!ae(e,".fragment.visible")||tt({target:e})})),G(e.querySelectorAll("iframe[data-src]")).forEach((function(e){ae(e,".fragment")&&!ae(e,".fragment.visible")||e.getAttribute("src")!==e.getAttribute("data-src")&&(e.removeEventListener("load",tt),e.addEventListener("load",tt),e.setAttribute("src",e.getAttribute("data-src")))})))}function et(e){var t=!!ae(e.target,"html"),r=!!ae(e.target,".present");t&&r&&(e.target.currentTime=0,e.target.play()),e.target.removeEventListener("loadeddata",et)}function tt(e){var t=e.target;if(t&&t.contentWindow){var r=!!ae(e.target,"html"),n=!!ae(e.target,".present");if(r&&n){var a=v.autoPlayMedia;"boolean"!=typeof a&&(a=t.hasAttribute("data-autoplay")||!!ae(t,".slide-background")),/youtube\.com\/embed\//.test(t.getAttribute("src"))&&a?t.contentWindow.postMessage('{"event":"command","func":"playVideo","args":""}',"*"):/player\.vimeo\.com\//.test(t.getAttribute("src"))&&a?t.contentWindow.postMessage('{"method":"play"}',"*"):t.contentWindow.postMessage("slide:start","*")}}}function rt(e,t){t=Z({unloadIframes:!0},t||{}),e&&e.parentNode&&(G(e.querySelectorAll("video, audio")).forEach((function(e){e.hasAttribute("data-ignore")||"function"!=typeof e.pause||(e.setAttribute("data-paused-by-reveal",""),e.pause())})),G(e.querySelectorAll("iframe")).forEach((function(e){e.contentWindow&&e.contentWindow.postMessage("slide:stop","*"),e.removeEventListener("load",tt)})),G(e.querySelectorAll('iframe[src*="youtube.com/embed/"]')).forEach((function(e){!e.hasAttribute("data-ignore")&&e.contentWindow&&"function"==typeof e.contentWindow.postMessage&&e.contentWindow.postMessage('{"event":"command","func":"pauseVideo","args":""}',"*")})),G(e.querySelectorAll('iframe[src*="player.vimeo.com/"]')).forEach((function(e){!e.hasAttribute("data-ignore")&&e.contentWindow&&"function"==typeof e.contentWindow.postMessage&&e.contentWindow.postMessage('{"method":"pause"}',"*")})),!0===t.unloadIframes&&G(e.querySelectorAll("iframe[data-src]")).forEach((function(e){e.setAttribute("src","about:blank"),e.removeAttribute("src")})))}function nt(e){void 0===e&&(e=a);var t=G(S.wrapper.querySelectorAll(d)),r=0;e:for(var n=0;n<t.length;n++){for(var i=t[n],o=G(i.querySelectorAll("section")),s=0;s<o.length;s++){if(o[s]===e)break e;r++}if(i===e)break;!1===i.classList.contains("stack")&&r++}return r}function at(){var e=vt(),t=nt();if(a){var r=a.querySelectorAll(".fragment");if(r.length>0){t+=a.querySelectorAll(".fragment.visible").length/r.length*.9}}return Math.min(t/(e-1),1)}function it(){return!!window.location.search.match(/receiver/gi)}function ot(){var n=window.location.hash,i=n.slice(2).split("/"),o=n.replace(/#|\//gi,"");if(!/^[0-9]*$/.test(i[0])&&o.length){var s;try{s=document.getElementById(decodeURIComponent(o))}catch(e){}var l=!!a&&a.getAttribute("id")===o;if(s){if(!l){var c=e.getIndices(s);Re(c.h,c.v)}}else Re(t||0,r||0)}else{var d,u=v.hashOneBasedIndex?1:0,p=parseInt(i[0],10)-u||0,f=parseInt(i[1],10)-u||0;v.fragmentInURL&&(d=parseInt(i[2],10),isNaN(d)&&(d=void 0)),p===t&&f===r&&void 0===d||Re(p,f,d)}}function st(e){clearTimeout(I),"number"==typeof e?I=setTimeout(st,e):a&&(v.history||!window.history?window.location.hash=xe():v.hash?window.history.replaceState(null,null,"#"+xe()):window.history.replaceState(null,null,window.location.pathname+window.location.search))}function lt(e){var n,i=t,o=r;if(e){var s=qe(e),l=s?e.parentNode:e,c=G(S.wrapper.querySelectorAll(d));i=Math.max(c.indexOf(l),0),o=void 0,s&&(o=Math.max(G(e.parentNode.querySelectorAll("section")).indexOf(e),0))}if(!e&&a&&a.querySelectorAll(".fragment").length>0){var u=a.querySelector(".current-fragment");n=u&&u.hasAttribute("data-fragment-index")?parseInt(u.getAttribute("data-fragment-index"),10):a.querySelectorAll(".fragment.visible").length-1}return{h:i,v:o,f:n}}function ct(){return G(S.wrapper.querySelectorAll(c+":not(.stack)"))}function dt(){return G(S.wrapper.querySelectorAll(d))}function ut(){return G(S.wrapper.querySelectorAll(".slides>section>section"))}function pt(){return dt().length>1}function ft(){return ut().length>1}function vt(){return ct().length}function ht(e,t){var r=S.wrapper.querySelectorAll(d)[e],n=r&&r.querySelectorAll("section");return n&&n.length&&"number"==typeof t?n?n[t]:void 0:r}function gt(e,t){var r="number"==typeof e?ht(e,t):e;if(r)return r.slideBackgroundElement}function mt(e){if((e=e||a).hasAttribute("data-notes"))return e.getAttribute("data-notes");var t=e.querySelector("aside.notes");return t?t.innerHTML:null}function bt(){var e=lt();return{indexh:e.h,indexv:e.v,indexf:e.f,paused:Ce(),overview:Se()}}function yt(e,t){e=G(e);var r=[],n=[],a=[];e.forEach((function(e,t){if(e.hasAttribute("data-fragment-index")){var a=parseInt(e.getAttribute("data-fragment-index"),10);r[a]||(r[a]=[]),r[a].push(e)}else n.push([e])})),r=r.concat(n);var i=0;return r.forEach((function(e){e.forEach((function(e){a.push(e),e.setAttribute("data-fragment-index",i)})),i++})),!0===t?r:a}function wt(e,t){var r={shown:[],hidden:[]};if(a&&v.fragments&&(t=t||yt(a.querySelectorAll(".fragment"))).length){var n=0;if("number"!=typeof e){var i=yt(a.querySelectorAll(".fragment.visible")).pop();i&&(e=parseInt(i.getAttribute("data-fragment-index")||0,10))}G(t).forEach((function(t,a){t.hasAttribute("data-fragment-index")&&(a=parseInt(t.getAttribute("data-fragment-index"),10)),n=Math.max(n,a),a<=e?(t.classList.contains("visible")||r.shown.push(t),t.classList.add("visible"),t.classList.remove("current-fragment"),S.statusDiv.textContent=j(t),a===e&&(t.classList.add("current-fragment"),Ge(t))):(t.classList.contains("visible")&&r.hidden.push(t),t.classList.remove("visible"),t.classList.remove("current-fragment"))})),e="number"==typeof e?e:-1,e=Math.max(Math.min(e,n),-1),a.setAttribute("data-fragment",e)}return r}function At(e,t){if(a&&v.fragments){var r=yt(a.querySelectorAll(".fragment"));if(r.length){if("number"!=typeof e){var n=yt(a.querySelectorAll(".fragment.visible")).pop();e=n?parseInt(n.getAttribute("data-fragment-index")||0,10):-1}"number"==typeof t&&(e+=t);var i=wt(e,r);return i.hidden.length&&le("fragmenthidden",{fragment:i.hidden[0],fragments:i.hidden}),i.shown.length&&le("fragmentshown",{fragment:i.shown[0],fragments:i.shown}),Ke(),Ue(),v.fragmentInURL&&st(),!(!i.shown.length&&!i.hidden.length)}}return!1}function kt(){return At(null,1)}function Lt(){return At(null,-1)}function Et(){if(St(),a&&!1!==v.autoSlide){var t=a.querySelector(".current-fragment");t||(t=a.querySelector(".fragment"));var r=t?t.getAttribute("data-autoslide"):null,n=a.parentNode?a.parentNode.getAttribute("data-autoslide"):null,i=a.getAttribute("data-autoslide");H=r?parseInt(r,10):i?parseInt(i,10):n?parseInt(n,10):v.autoSlide,0===a.querySelectorAll(".fragment").length&&G(a.querySelectorAll("video, audio")).forEach((function(e){e.hasAttribute("data-autoplay")&&H&&1e3*e.duration/e.playbackRate>H&&(H=1e3*e.duration/e.playbackRate+1e3)})),!H||z||Ce()||Se()||e.isLastSlide()&&!Ze().next&&!0!==v.loop||(R=setTimeout((function(){"function"==typeof v.autoSlideMethod?v.autoSlideMethod():Ct(),Et()}),H),B=Date.now()),l&&l.setPlaying(-1!==R)}}function St(){clearTimeout(R),R=-1}function xt(){H&&!z&&(z=!0,le("autoslidepaused"),clearTimeout(R),l&&l.setPlaying(!1))}function qt(){H&&z&&(z=!1,le("autoslideresumed"),Et())}function Mt(){v.rtl?(Se()||!1===kt())&&Qe().left&&Re(t+1,"grid"===v.navigationMode?r:void 0):(Se()||!1===Lt())&&Qe().left&&Re(t-1,"grid"===v.navigationMode?r:void 0)}function Nt(){w=!0,v.rtl?(Se()||!1===Lt())&&Qe().right&&Re(t-1,"grid"===v.navigationMode?r:void 0):(Se()||!1===kt())&&Qe().right&&Re(t+1,"grid"===v.navigationMode?r:void 0)}function It(){(Se()||!1===Lt())&&Qe().up&&Re(t,r-1)}function Tt(){A=!0,(Se()||!1===kt())&&Qe().down&&Re(t,r+1)}function Pt(){var e;if(!1===Lt())if(Qe().up)It();else if(e=v.rtl?G(S.wrapper.querySelectorAll(d+".future")).pop():G(S.wrapper.querySelectorAll(d+".past")).pop()){var r=e.querySelectorAll("section").length-1||void 0;Re(t-1,r)}}function Ct(){if(w=!0,A=!0,!1===kt()){var t=Qe();t.down&&t.right&&v.loop&&e.isLastVerticalSlide(a)&&(t.down=!1),t.down?Tt():v.rtl?Mt():Nt()}}function Ht(e){for(;e&&"function"==typeof e.hasAttribute;){if(e.hasAttribute("data-prevent-swipe"))return!0;e=e.parentNode}return!1}function Rt(e){v.autoSlideStoppable&&xt()}function Bt(e){Me(),clearTimeout(P),P=setTimeout(Ne,v.hideCursorTime)}function zt(e){e.shiftKey&&63===e.charCode&&pe()}function Dt(t){if("function"==typeof v.keyboardCondition&&!1===v.keyboardCondition(t))return!0;var r=t.keyCode,n=z;Rt();var a=document.activeElement&&"inherit"!==document.activeElement.contentEditable,i=document.activeElement&&document.activeElement.tagName&&/input|textarea/i.test(document.activeElement.tagName),o=document.activeElement&&document.activeElement.className&&/speaker-notes/i.test(document.activeElement.className),s=t.shiftKey&&32===t.keyCode,l=t.shiftKey&&37===r,c=t.shiftKey&&39===r,d=!s&&!l&&!c&&(t.shiftKey||t.altKey||t.ctrlKey||t.metaKey);if(!(a||i||o||d)){var u,p=[66,86,190,191];if("object"==typeof v.keyboard)for(u in v.keyboard)"togglePause"===v.keyboard[u]&&p.push(parseInt(u,10));if(Ce()&&-1===p.indexOf(r))return!1;var f,h,g="linear"===v.navigationMode||!pt()||!ft(),m=!1;if("object"==typeof v.keyboard)for(u in v.keyboard)if(parseInt(u,10)===r){var b=v.keyboard[u];"function"==typeof b?b.apply(null,[t]):"string"==typeof b&&"function"==typeof e[b]&&e[b].call(),m=!0}if(!1===m)for(u in W)if(parseInt(u,10)===r){var y=W[u].callback;"function"==typeof y?y.apply(null,[t]):"string"==typeof y&&"function"==typeof e[y]&&e[y].call(),m=!0}!1===m&&(m=!0,80===r||33===r?Pt():78===r||34===r?Ct():72===r||37===r?l?Re(0):!Se()&&g?Pt():Mt():76===r||39===r?c?Re(Number.MAX_VALUE):!Se()&&g?Ct():Nt():75===r||38===r?!Se()&&g?Pt():It():74===r||40===r?!Se()&&g?Ct():Tt():36===r?Re(0):35===r?Re(Number.MAX_VALUE):32===r?(Se()&&Le(),t.shiftKey?Pt():Ct()):58===r||59===r||66===r||86===r||190===r||191===r?Pe():70===r?(f=document.documentElement,(h=f.requestFullscreen||f.webkitRequestFullscreen||f.webkitRequestFullScreen||f.mozRequestFullScreen||f.msRequestFullscreen)&&h.apply(f)):65===r?v.autoSlideStoppable&&He(n):m=!1),m?t.preventDefault&&t.preventDefault():27!==r&&79!==r||!M.transforms3d||(S.overlay?ve():Ee(),t.preventDefault&&t.preventDefault()),Et()}}function Ot(e){if(Ht(e.target))return!0;D.startX=e.touches[0].clientX,D.startY=e.touches[0].clientY,D.startCount=e.touches.length}function Wt(e){if(Ht(e.target))return!0;if(D.captured)p.match(/android/gi)&&e.preventDefault();else{Rt();var t=e.touches[0].clientX,r=e.touches[0].clientY;if(1===e.touches.length&&2!==D.startCount){var n=t-D.startX,i=r-D.startY;n>D.threshold&&Math.abs(n)>Math.abs(i)?(D.captured=!0,"linear"===v.navigationMode?v.rtl?Ct():Pt():Mt()):n<-D.threshold&&Math.abs(n)>Math.abs(i)?(D.captured=!0,"linear"===v.navigationMode?v.rtl?Pt():Ct():Nt()):i>D.threshold?(D.captured=!0,"linear"===v.navigationMode?Pt():It()):i<-D.threshold&&(D.captured=!0,"linear"===v.navigationMode?Ct():Tt()),v.embedded?(D.captured||qe(a))&&e.preventDefault():e.preventDefault()}}}function Ft(e){D.captured=!1}function Ut(e){e.pointerType!==e.MSPOINTER_TYPE_TOUCH&&"touch"!==e.pointerType||(e.touches=[{clientX:e.clientX,clientY:e.clientY}],Ot(e))}function Vt(e){e.pointerType!==e.MSPOINTER_TYPE_TOUCH&&"touch"!==e.pointerType||(e.touches=[{clientX:e.clientX,clientY:e.clientY}],Wt(e))}function jt(e){e.pointerType!==e.MSPOINTER_TYPE_TOUCH&&"touch"!==e.pointerType||(e.touches=[{clientX:e.clientX,clientY:e.clientY}],Ft())}function Kt(e){if(Date.now()-N>600){N=Date.now();var t=e.detail||-e.wheelDelta;t>0?Ct():t<0&&Pt()}}function Yt(e){Rt(),e.preventDefault();var t=G(S.wrapper.querySelectorAll(d)).length,r=Math.floor(e.clientX/S.wrapper.offsetWidth*t);v.rtl&&(r=t-r),Re(r)}function Xt(e){e.preventDefault(),Rt(),"linear"===v.navigationMode?Pt():Mt()}function _t(e){e.preventDefault(),Rt(),"linear"===v.navigationMode?Ct():Nt()}function $t(e){e.preventDefault(),Rt(),It()}function Jt(e){e.preventDefault(),Rt(),Tt()}function Qt(e){e.preventDefault(),Rt(),Pt()}function Zt(e){e.preventDefault(),Rt(),Ct()}function Gt(e){ot()}function er(e){he()}function tr(e){!1===(document.webkitHidden||document.msHidden||document.hidden)&&document.activeElement!==document.body&&("function"==typeof document.activeElement.blur&&document.activeElement.blur(),document.body.focus())}function rr(e){if(C&&Se()){e.preventDefault();for(var t=e.target;t&&!t.nodeName.match(/section/gi);)t=t.parentNode;if(t&&!t.classList.contains("disabled"))if(Le(),t.nodeName.match(/section/gi))Re(parseInt(t.getAttribute("data-index-h"),10),parseInt(t.getAttribute("data-index-v"),10))}}function nr(e){if(e.currentTarget&&e.currentTarget.hasAttribute("href")){var t=e.currentTarget.getAttribute("href");t&&(!function(e){ve(),S.overlay=document.createElement("div"),S.overlay.classList.add("overlay"),S.overlay.classList.add("overlay-preview"),S.wrapper.appendChild(S.overlay),S.overlay.innerHTML=["<header>",'<a class="close" href="#"><span class="icon"></span></a>','<a class="external" href="'+e+'" target="_blank"><span class="icon"></span></a>',"</header>",'<div class="spinner"></div>','<div class="viewport">','<iframe src="'+e+'"></iframe>','<small class="viewport-inner">','<span class="x-frame-error">Unable to load iframe. This is likely due to the site\'s policy (x-frame-options).</span>',"</small>","</div>"].join(""),S.overlay.querySelector("iframe").addEventListener("load",(function(e){S.overlay.classList.add("loaded")}),!1),S.overlay.querySelector(".close").addEventListener("click",(function(e){ve(),e.preventDefault()}),!1),S.overlay.querySelector(".external").addEventListener("click",(function(e){ve()}),!1),setTimeout((function(){S.overlay.classList.add("visible")}),1)}(t),e.preventDefault())}}function ar(t){e.isLastSlide()&&!1===v.loop?(Re(0,0),qt()):z?qt():xt()}function ir(e,t){this.diameter=100,this.diameter2=this.diameter/2,this.thickness=6,this.playing=!1,this.progress=0,this.progressOffset=1,this.container=e,this.progressCheck=t,this.canvas=document.createElement("canvas"),this.canvas.className="playback",this.canvas.width=this.diameter,this.canvas.height=this.diameter,this.canvas.style.width=this.diameter2+"px",this.canvas.style.height=this.diameter2+"px",this.context=this.canvas.getContext("2d"),this.container.appendChild(this.canvas),this.render()}return ir.prototype.setPlaying=function(e){var t=this.playing;this.playing=e,!t&&this.playing?this.animate():this.render()},ir.prototype.animate=function(){var e=this.progress;this.progress=this.progressCheck(),e>.8&&this.progress<.2&&(this.progressOffset=this.progress),this.render(),this.playing&&M.requestAnimationFrameMethod.call(window,this.animate.bind(this))},ir.prototype.render=function(){var e=this.playing?this.progress:0,t=this.diameter2-this.thickness,r=this.diameter2,n=this.diameter2,a=28;this.progressOffset+=.1*(1-this.progressOffset);var i=-Math.PI/2+e*(2*Math.PI),o=-Math.PI/2+this.progressOffset*(2*Math.PI);this.context.save(),this.context.clearRect(0,0,this.diameter,this.diameter),this.context.beginPath(),this.context.arc(r,n,t+4,0,2*Math.PI,!1),this.context.fillStyle="rgba( 0, 0, 0, 0.4 )",this.context.fill(),this.context.beginPath(),this.context.arc(r,n,t,0,2*Math.PI,!1),this.context.lineWidth=this.thickness,this.context.strokeStyle="rgba( 255, 255, 255, 0.2 )",this.context.stroke(),this.playing&&(this.context.beginPath(),this.context.arc(r,n,t,o,i,!1),this.context.lineWidth=this.thickness,this.context.strokeStyle="#fff",this.context.stroke()),this.context.translate(r-14,n-14),this.playing?(this.context.fillStyle="#fff",this.context.fillRect(0,0,10,a),this.context.fillRect(18,0,10,a)):(this.context.beginPath(),this.context.translate(4,0),this.context.moveTo(0,0),this.context.lineTo(24,14),this.context.lineTo(0,a),this.context.fillStyle="#fff",this.context.fill()),this.context.restore()},ir.prototype.on=function(e,t){this.canvas.addEventListener(e,t,!1)},ir.prototype.off=function(e,t){this.canvas.removeEventListener(e,t,!1)},ir.prototype.destroy=function(){this.playing=!1,this.canvas.parentNode&&this.container.removeChild(this.canvas)},e={VERSION:"3.9.2",initialize:function(t){if(!0!==h)if(h=!0,function(){o=/(iphone|ipod|ipad|android)/gi.test(p)||"MacIntel"===navigator.platform&&navigator.maxTouchPoints>1,s=/chrome/i.test(p)&&!/edge/i.test(p);var e=document.createElement("div");M.transforms3d="WebkitPerspective"in e.style||"MozPerspective"in e.style||"msPerspective"in e.style||"OPerspective"in e.style||"perspective"in e.style,M.transforms2d="WebkitTransform"in e.style||"MozTransform"in e.style||"msTransform"in e.style||"OTransform"in e.style||"transform"in e.style,M.requestAnimationFrameMethod=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame,M.requestAnimationFrame="function"==typeof M.requestAnimationFrameMethod,M.canvas=!!document.createElement("canvas").getContext,M.overviewTransitions=!/Version\/[\d\.]+.*Safari/.test(p),M.zoom="zoom"in e.style&&!o&&(s||/Version\/[\d\.]+.*Safari/.test(p))}(),M.transforms2d||M.transforms3d){S.wrapper=document.querySelector(".reveal"),S.slides=document.querySelector(".reveal .slides"),window.addEventListener("load",he,!1);var r,n,a=e.getQueryHash();void 0!==a.dependencies&&delete a.dependencies,Z(v,t),Z(v,a),v.hideAddressBar&&o&&(window.addEventListener("load",se,!1),window.addEventListener("orientationchange",se,!1)),r=[],n=0,v.dependencies.forEach((function(e){e.condition&&!e.condition()||(e.async?q.push(e):r.push(e))})),r.length?(n=r.length,r.forEach((function(e){V(e.src,(function(){"function"==typeof e.callback&&e.callback(),0==--n&&F()}))}))):F()}else{document.body.setAttribute("class","no-transforms");for(var i=G(document.getElementsByTagName("img")),l=G(document.getElementsByTagName("iframe")),c=i.concat(l),d=0,u=c.length;d<u;d++){var f=c[d];f.getAttribute("data-src")&&(f.setAttribute("src",f.getAttribute("data-src")),f.removeAttribute("data-src"))}}},configure:$,sync:Be,syncSlide:function(e){_(e=e||a),ze(e),$e(e),Ye(),Fe()},syncFragments:ze,slide:Re,left:Mt,right:Nt,up:It,down:Tt,prev:Pt,next:Ct,navigateFragment:At,prevFragment:Lt,nextFragment:kt,navigateTo:Re,navigateLeft:Mt,navigateRight:Nt,navigateUp:It,navigateDown:Tt,navigatePrev:Pt,navigateNext:Ct,layout:he,shuffle:De,availableRoutes:Qe,availableFragments:Ze,toggleHelp:pe,toggleOverview:Ee,togglePause:Pe,toggleAutoSlide:He,isOverview:Se,isPaused:Ce,isAutoSliding:function(){return!(!H||z)},isSpeakerNotes:it,loadSlide:$e,unloadSlide:Je,addEventListeners:J,removeEventListeners:Q,getState:bt,setState:function(e){if("object"==typeof e){Re(ee(e.indexh),ee(e.indexv),ee(e.indexf));var t=ee(e.paused),r=ee(e.overview);"boolean"==typeof t&&t!==Ce()&&Pe(t),"boolean"==typeof r&&r!==Se()&&Ee(r)}},getSlidePastCount:nt,getProgress:at,getIndices:lt,getSlides:ct,getSlidesAttributes:function(){return ct().map((function(e){for(var t={},r=0;r<e.attributes.length;r++){var n=e.attributes[r];t[n.name]=n.value}return t}))},getTotalSlides:vt,getSlide:ht,getSlideBackground:gt,getSlideNotes:mt,getHorizontalSlides:dt,getVerticalSlides:ut,hasHorizontalSlides:pt,hasVerticalSlides:ft,getPreviousSlide:function(){return n},getCurrentSlide:function(){return a},getScale:function(){return L},getConfig:function(){return v},getQueryHash:function(){var e={};for(var t in location.search.replace(/[A-Z0-9]+?=([\w\.%-]*)/gi,(function(t){e[t.split("=").shift()]=t.split("=").pop()})),e){var r=e[t];e[t]=ee(unescape(r))}return e},getRevealElement:function(){return S.wrapper||document.querySelector(".reveal")},getPlugins:function(){return x},isFirstSlide:function(){return 0===t&&0===r},isLastSlide:function(){return!!a&&(!a.nextElementSibling&&(!qe(a)||!a.parentNode.nextElementSibling))},isLastVerticalSlide:function(){return!(!a||!qe(a))&&!a.nextElementSibling},isReady:function(){return g},addEventListener:function(t,r,n){"addEventListener"in window&&e.getRevealElement().addEventListener(t,r,n)},removeEventListener:function(t,r,n){"addEventListener"in window&&e.getRevealElement().removeEventListener(t,r,n)},addKeyBinding:function(e,t){"object"==typeof e&&e.keyCode?W[e.keyCode]={callback:t,key:e.key,description:e.description}:W[e]={callback:t,key:null,description:null}},removeKeyBinding:function(e){delete W[e]},registerPlugin:function(e,t){void 0===x[e]?(x[e]=t,g&&"function"==typeof t.init&&t.init()):console.warn('reveal.js: "'+e+'" plugin has already been registered')},hasPlugin:function(e){return!!x[e]},getPlugin:function(e){return x[e]},triggerKey:function(e){Dt({keyCode:e})},registerKeyboardShortcut:function(e,t){O[e]=t}},e}));
//# sourceMappingURL=/sm/201a509a50c1b33bdf45d48824a3cb714c733ca1885f21e76ebc7e0e7bdd245a.map