rails-reveal-js 2.6.1.2 → 3.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (33) hide show
  1. checksums.yaml +4 -4
  2. data/lib/rails/reveal/js/version.rb +1 -1
  3. data/rails-reveal-js.gemspec +2 -2
  4. data/vendor/assets/javascripts/reveal.js +4 -4
  5. data/vendor/assets/stylesheets/reveal-theme/README.md +2 -4
  6. data/vendor/assets/stylesheets/reveal-theme/beige.css +183 -60
  7. data/vendor/assets/stylesheets/reveal-theme/black.css +267 -0
  8. data/vendor/assets/stylesheets/reveal-theme/blood.css +190 -80
  9. data/vendor/assets/stylesheets/reveal-theme/league.css +273 -0
  10. data/vendor/assets/stylesheets/reveal-theme/moon.css +174 -51
  11. data/vendor/assets/stylesheets/reveal-theme/night.css +171 -42
  12. data/vendor/assets/stylesheets/reveal-theme/serif.css +187 -58
  13. data/vendor/assets/stylesheets/reveal-theme/simple.css +179 -50
  14. data/vendor/assets/stylesheets/reveal-theme/sky.css +176 -47
  15. data/vendor/assets/stylesheets/reveal-theme/solarized.css +174 -51
  16. data/vendor/assets/stylesheets/reveal-theme/source/beige.scss +1 -12
  17. data/vendor/assets/stylesheets/reveal-theme/source/black.scss +49 -0
  18. data/vendor/assets/stylesheets/reveal-theme/source/blood.scss +3 -15
  19. data/vendor/assets/stylesheets/reveal-theme/source/{default.scss → league.scss} +5 -13
  20. data/vendor/assets/stylesheets/reveal-theme/source/moon.scss +1 -12
  21. data/vendor/assets/stylesheets/reveal-theme/source/night.scss +0 -0
  22. data/vendor/assets/stylesheets/reveal-theme/source/serif.scss +1 -1
  23. data/vendor/assets/stylesheets/reveal-theme/source/simple.scss +0 -0
  24. data/vendor/assets/stylesheets/reveal-theme/source/sky.scss +1 -1
  25. data/vendor/assets/stylesheets/reveal-theme/source/solarized.scss +1 -12
  26. data/vendor/assets/stylesheets/reveal-theme/source/white.scss +49 -0
  27. data/vendor/assets/stylesheets/reveal-theme/template/mixins.scss +0 -0
  28. data/vendor/assets/stylesheets/reveal-theme/template/settings.scss +13 -4
  29. data/vendor/assets/stylesheets/reveal-theme/template/theme.scss +193 -14
  30. data/vendor/assets/stylesheets/reveal-theme/white.css +267 -0
  31. data/vendor/assets/stylesheets/reveal.css +1171 -3
  32. metadata +21 -11
  33. data/vendor/assets/stylesheets/reveal-theme/default.css +0 -148
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 44a875b04fd7fb26710e7d0995d81ba21a9c2204
4
- data.tar.gz: 703df042738cb26e5ccd8bdca44ae90cd186f6fe
3
+ metadata.gz: dc664c375bd60d867a36476683ec42c26026c625
4
+ data.tar.gz: 932ad5019d1cc4fd7887f95dc355380bc4c6ec50
5
5
  SHA512:
6
- metadata.gz: 42df6d5969cfd49a0704323a2a3fa34d147b20a89af4633fa5c4e2d107a77e1fb5c3e035b0239698e6d75d55b602dcba1ac40eff10a415c47a22769ce21e2596
7
- data.tar.gz: fe86af6198d4260aa7d28d358f92a83761a2e9fdb775ab6289786878ed755997216a90896a4badd32c969107873e07fe3f9938e676068dc70c33fd80e378e21f
6
+ metadata.gz: 0ffc948ca163d40732e333217cf23867e81f992894b92138181a75e2b42d5df90de7b4422fd91906bb8965aadf07f9e9208f2606b6c2b6f2fe5861aeb1bcc73b
7
+ data.tar.gz: 43dfae631a08c23dca1b8a7d66a03e78b8d99319525891f82dfde7c3282723c80e03f3332a3f46c0cb5ccd61b113eb335a2a1118ecb5ea25adb9d715e93898c7
@@ -1,7 +1,7 @@
1
1
  module Rails
2
2
  module Reveal
3
3
  module Js
4
- VERSION = "2.6.1.2"
4
+ VERSION = "3.1.0"
5
5
  end
6
6
  end
7
7
  end
@@ -19,7 +19,7 @@ Gem::Specification.new do |spec|
19
19
  spec.require_paths = ["lib"]
20
20
 
21
21
  spec.add_development_dependency "bundler", "~> 1.5"
22
- spec.add_development_dependency "rake"
22
+ spec.add_development_dependency "rake", "~> 11.0"
23
23
 
24
- spec.add_dependency "railties", "~> 4.0"
24
+ spec.add_dependency "railties", "~> 4", "< 5.1"
25
25
  end
@@ -1,9 +1,9 @@
1
1
  /*!
2
- * reveal.js 2.6.1 (2013-12-02, 12:23)
2
+ * reveal.js 3.1.0 (2015-06-08, 21:17)
3
3
  * http://lab.hakim.se/reveal-js
4
4
  * MIT licensed
5
5
  *
6
- * Copyright (C) 2013 Hakim El Hattab, http://hakim.se
6
+ * Copyright (C) 2015 Hakim El Hattab, http://hakim.se
7
7
  */
8
- var Reveal=function(){"use strict";function a(a){if(b(),!ec.transforms2d&&!ec.transforms3d)return document.body.setAttribute("class","no-transforms"),void 0;window.addEventListener("load",A,!1);var d=Reveal.getQueryHash();"undefined"!=typeof d.dependencies&&delete d.dependencies,k(_b,a),k(_b,d),r(),c()}function b(){ec.transforms3d="WebkitPerspective"in document.body.style||"MozPerspective"in document.body.style||"msPerspective"in document.body.style||"OPerspective"in document.body.style||"perspective"in document.body.style,ec.transforms2d="WebkitTransform"in document.body.style||"MozTransform"in document.body.style||"msTransform"in document.body.style||"OTransform"in document.body.style||"transform"in document.body.style,ec.requestAnimationFrameMethod=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame,ec.requestAnimationFrame="function"==typeof ec.requestAnimationFrameMethod,ec.canvas=!!document.createElement("canvas").getContext,Vb=navigator.userAgent.match(/(iphone|ipod|android)/gi)}function c(){function a(){e.length&&head.js.apply(null,e),d()}function b(b){head.ready(b.src.match(/([\w\d_\-]*)\.?js$|[^\\\/]*$/i)[0],function(){"function"==typeof b.callback&&b.callback.apply(this),0===--f&&a()})}for(var c=[],e=[],f=0,g=0,h=_b.dependencies.length;h>g;g++){var i=_b.dependencies[g];(!i.condition||i.condition())&&(i.async?e.push(i.src):c.push(i.src),b(i))}c.length?(f=c.length,head.js.apply(null,c)):a()}function d(){e(),Q(),h(),cb(),X(!0),setTimeout(function(){dc.slides.classList.remove("no-transition"),ac=!0,t("ready",{indexh:Qb,indexv:Rb,currentSlide:Tb})},1)}function e(){dc.theme=document.querySelector("#theme"),dc.wrapper=document.querySelector(".reveal"),dc.slides=document.querySelector(".reveal .slides"),dc.slides.classList.add("no-transition"),dc.background=f(dc.wrapper,"div","backgrounds",null),dc.progress=f(dc.wrapper,"div","progress","<span></span>"),dc.progressbar=dc.progress.querySelector("span"),f(dc.wrapper,"aside","controls",'<div class="navigate-left"></div><div class="navigate-right"></div><div class="navigate-up"></div><div class="navigate-down"></div>'),dc.slideNumber=f(dc.wrapper,"div","slide-number",""),f(dc.wrapper,"div","state-background",null),f(dc.wrapper,"div","pause-overlay",null),dc.controls=document.querySelector(".reveal .controls"),dc.controlsLeft=l(document.querySelectorAll(".navigate-left")),dc.controlsRight=l(document.querySelectorAll(".navigate-right")),dc.controlsUp=l(document.querySelectorAll(".navigate-up")),dc.controlsDown=l(document.querySelectorAll(".navigate-down")),dc.controlsPrev=l(document.querySelectorAll(".navigate-prev")),dc.controlsNext=l(document.querySelectorAll(".navigate-next"))}function f(a,b,c,d){var e=a.querySelector("."+c);return e||(e=document.createElement(b),e.classList.add(c),null!==d&&(e.innerHTML=d),a.appendChild(e)),e}function g(){function a(a,b){var c={background:a.getAttribute("data-background"),backgroundSize:a.getAttribute("data-background-size"),backgroundImage:a.getAttribute("data-background-image"),backgroundColor:a.getAttribute("data-background-color"),backgroundRepeat:a.getAttribute("data-background-repeat"),backgroundPosition:a.getAttribute("data-background-position"),backgroundTransition:a.getAttribute("data-background-transition")},d=document.createElement("div");return d.className="slide-background",c.background&&(/^(http|file|\/\/)/gi.test(c.background)||/\.(svg|png|jpg|jpeg|gif|bmp)$/gi.test(c.background)?d.style.backgroundImage="url("+c.background+")":d.style.background=c.background),(c.background||c.backgroundColor||c.backgroundImage)&&d.setAttribute("data-background-hash",c.background+c.backgroundSize+c.backgroundImage+c.backgroundColor+c.backgroundRepeat+c.backgroundPosition+c.backgroundTransition),c.backgroundSize&&(d.style.backgroundSize=c.backgroundSize),c.backgroundImage&&(d.style.backgroundImage='url("'+c.backgroundImage+'")'),c.backgroundColor&&(d.style.backgroundColor=c.backgroundColor),c.backgroundRepeat&&(d.style.backgroundRepeat=c.backgroundRepeat),c.backgroundPosition&&(d.style.backgroundPosition=c.backgroundPosition),c.backgroundTransition&&d.setAttribute("data-background-transition",c.backgroundTransition),b.appendChild(d),d}q()&&document.body.classList.add("print-pdf"),dc.background.innerHTML="",dc.background.classList.add("no-transition"),l(document.querySelectorAll(Yb)).forEach(function(b){var c;c=q()?a(b,b):a(b,dc.background),l(b.querySelectorAll("section")).forEach(function(b){q()?a(b,b):a(b,c)})}),_b.parallaxBackgroundImage?(dc.background.style.backgroundImage='url("'+_b.parallaxBackgroundImage+'")',dc.background.style.backgroundSize=_b.parallaxBackgroundSize,setTimeout(function(){dc.wrapper.classList.add("has-parallax-background")},1)):(dc.background.style.backgroundImage="",dc.wrapper.classList.remove("has-parallax-background"))}function h(a){var b=document.querySelectorAll(Xb).length;if(dc.wrapper.classList.remove(_b.transition),"object"==typeof a&&k(_b,a),ec.transforms3d===!1&&(_b.transition="linear"),dc.wrapper.classList.add(_b.transition),dc.wrapper.setAttribute("data-transition-speed",_b.transitionSpeed),dc.wrapper.setAttribute("data-background-transition",_b.backgroundTransition),dc.controls.style.display=_b.controls?"block":"none",dc.progress.style.display=_b.progress?"block":"none",_b.rtl?dc.wrapper.classList.add("rtl"):dc.wrapper.classList.remove("rtl"),_b.center?dc.wrapper.classList.add("center"):dc.wrapper.classList.remove("center"),_b.mouseWheel?(document.addEventListener("DOMMouseScroll",Bb,!1),document.addEventListener("mousewheel",Bb,!1)):(document.removeEventListener("DOMMouseScroll",Bb,!1),document.removeEventListener("mousewheel",Bb,!1)),_b.rollingLinks?u():v(),_b.previewLinks?w():(x(),w("[data-preview-link]")),b>1&&_b.autoSlide&&_b.autoSlideStoppable&&ec.canvas&&ec.requestAnimationFrame?(Wb=new Pb(dc.wrapper,function(){return Math.min(Math.max((Date.now()-mc)/kc,0),1)}),Wb.on("click",Ob),nc=!1):Wb&&(Wb.destroy(),Wb=null),_b.theme&&dc.theme){var c=dc.theme.getAttribute("href"),d=/[^\/]*?(?=\.css)/,e=c.match(d)[0];_b.theme!==e&&(c=c.replace(d,_b.theme),dc.theme.setAttribute("href",c))}P()}function i(){if(jc=!0,window.addEventListener("hashchange",Jb,!1),window.addEventListener("resize",Kb,!1),_b.touch&&(dc.wrapper.addEventListener("touchstart",vb,!1),dc.wrapper.addEventListener("touchmove",wb,!1),dc.wrapper.addEventListener("touchend",xb,!1),window.navigator.msPointerEnabled&&(dc.wrapper.addEventListener("MSPointerDown",yb,!1),dc.wrapper.addEventListener("MSPointerMove",zb,!1),dc.wrapper.addEventListener("MSPointerUp",Ab,!1))),_b.keyboard&&document.addEventListener("keydown",ub,!1),_b.progress&&dc.progress&&dc.progress.addEventListener("click",Cb,!1),_b.focusBodyOnPageVisiblityChange){var a;"hidden"in document?a="visibilitychange":"msHidden"in document?a="msvisibilitychange":"webkitHidden"in document&&(a="webkitvisibilitychange"),a&&document.addEventListener(a,Lb,!1)}["touchstart","click"].forEach(function(a){dc.controlsLeft.forEach(function(b){b.addEventListener(a,Db,!1)}),dc.controlsRight.forEach(function(b){b.addEventListener(a,Eb,!1)}),dc.controlsUp.forEach(function(b){b.addEventListener(a,Fb,!1)}),dc.controlsDown.forEach(function(b){b.addEventListener(a,Gb,!1)}),dc.controlsPrev.forEach(function(b){b.addEventListener(a,Hb,!1)}),dc.controlsNext.forEach(function(b){b.addEventListener(a,Ib,!1)})})}function j(){jc=!1,document.removeEventListener("keydown",ub,!1),window.removeEventListener("hashchange",Jb,!1),window.removeEventListener("resize",Kb,!1),dc.wrapper.removeEventListener("touchstart",vb,!1),dc.wrapper.removeEventListener("touchmove",wb,!1),dc.wrapper.removeEventListener("touchend",xb,!1),window.navigator.msPointerEnabled&&(dc.wrapper.removeEventListener("MSPointerDown",yb,!1),dc.wrapper.removeEventListener("MSPointerMove",zb,!1),dc.wrapper.removeEventListener("MSPointerUp",Ab,!1)),_b.progress&&dc.progress&&dc.progress.removeEventListener("click",Cb,!1),["touchstart","click"].forEach(function(a){dc.controlsLeft.forEach(function(b){b.removeEventListener(a,Db,!1)}),dc.controlsRight.forEach(function(b){b.removeEventListener(a,Eb,!1)}),dc.controlsUp.forEach(function(b){b.removeEventListener(a,Fb,!1)}),dc.controlsDown.forEach(function(b){b.removeEventListener(a,Gb,!1)}),dc.controlsPrev.forEach(function(b){b.removeEventListener(a,Hb,!1)}),dc.controlsNext.forEach(function(b){b.removeEventListener(a,Ib,!1)})})}function k(a,b){for(var c in b)a[c]=b[c]}function l(a){return Array.prototype.slice.call(a)}function m(a,b){var c=a.x-b.x,d=a.y-b.y;return Math.sqrt(c*c+d*d)}function n(a,b){a.style.WebkitTransform=b,a.style.MozTransform=b,a.style.msTransform=b,a.style.OTransform=b,a.style.transform=b}function o(a){var b=0;if(a){var c=0;l(a.childNodes).forEach(function(a){"number"==typeof a.offsetTop&&a.style&&("absolute"===a.style.position&&(c+=1),b=Math.max(b,a.offsetTop+a.offsetHeight))}),0===c&&(b=a.offsetHeight)}return b}function p(a,b){if(b=b||0,a){var c=a.parentNode,d=c.childNodes;l(d).forEach(function(c){if("number"==typeof c.offsetHeight&&c!==a){var d=window.getComputedStyle(c),e=parseInt(d.marginTop,10),f=parseInt(d.marginBottom,10);b-=c.offsetHeight+e+f}});var e=window.getComputedStyle(a);b-=parseInt(e.marginTop,10)+parseInt(e.marginBottom,10)}return b}function q(){return/print-pdf/gi.test(window.location.search)}function r(){_b.hideAddressBar&&Vb&&(window.addEventListener("load",s,!1),window.addEventListener("orientationchange",s,!1))}function s(){setTimeout(function(){window.scrollTo(0,1)},10)}function t(a,b){var c=document.createEvent("HTMLEvents",1,2);c.initEvent(a,!0,!0),k(c,b),dc.wrapper.dispatchEvent(c)}function u(){if(ec.transforms3d&&!("msPerspective"in document.body.style))for(var a=document.querySelectorAll(Xb+" a:not(.image)"),b=0,c=a.length;c>b;b++){var d=a[b];if(!(!d.textContent||d.querySelector("*")||d.className&&d.classList.contains(d,"roll"))){var e=document.createElement("span");e.setAttribute("data-title",d.text),e.innerHTML=d.innerHTML,d.classList.add("roll"),d.innerHTML="",d.appendChild(e)}}}function v(){for(var a=document.querySelectorAll(Xb+" a.roll"),b=0,c=a.length;c>b;b++){var d=a[b],e=d.querySelector("span");e&&(d.classList.remove("roll"),d.innerHTML=e.innerHTML)}}function w(a){var b=l(document.querySelectorAll(a?a:"a"));b.forEach(function(a){/^(http|www)/gi.test(a.getAttribute("href"))&&a.addEventListener("click",Nb,!1)})}function x(){var a=l(document.querySelectorAll("a"));a.forEach(function(a){/^(http|www)/gi.test(a.getAttribute("href"))&&a.removeEventListener("click",Nb,!1)})}function y(a){z(),dc.preview=document.createElement("div"),dc.preview.classList.add("preview-link-overlay"),dc.wrapper.appendChild(dc.preview),dc.preview.innerHTML=["<header>",'<a class="close" href="#"><span class="icon"></span></a>','<a class="external" href="'+a+'" target="_blank"><span class="icon"></span></a>',"</header>",'<div class="spinner"></div>','<div class="viewport">','<iframe src="'+a+'"></iframe>',"</div>"].join(""),dc.preview.querySelector("iframe").addEventListener("load",function(){dc.preview.classList.add("loaded")},!1),dc.preview.querySelector(".close").addEventListener("click",function(a){z(),a.preventDefault()},!1),dc.preview.querySelector(".external").addEventListener("click",function(){z()},!1),setTimeout(function(){dc.preview.classList.add("visible")},1)}function z(){dc.preview&&(dc.preview.setAttribute("src",""),dc.preview.parentNode.removeChild(dc.preview),dc.preview=null)}function A(){if(dc.wrapper&&!q()){var a=dc.wrapper.offsetWidth,b=dc.wrapper.offsetHeight;a-=b*_b.margin,b-=b*_b.margin;var c=_b.width,d=_b.height,e=20;B(_b.width,_b.height,e),"string"==typeof c&&/%$/.test(c)&&(c=parseInt(c,10)/100*a),"string"==typeof d&&/%$/.test(d)&&(d=parseInt(d,10)/100*b),dc.slides.style.width=c+"px",dc.slides.style.height=d+"px",cc=Math.min(a/c,b/d),cc=Math.max(cc,_b.minScale),cc=Math.min(cc,_b.maxScale),"undefined"==typeof dc.slides.style.zoom||navigator.userAgent.match(/(iphone|ipod|ipad|android)/gi)?n(dc.slides,"translate(-50%, -50%) scale("+cc+") translate(50%, 50%)"):dc.slides.style.zoom=cc;for(var f=l(document.querySelectorAll(Xb)),g=0,h=f.length;h>g;g++){var i=f[g];"none"!==i.style.display&&(i.style.top=_b.center||i.classList.contains("center")?i.classList.contains("stack")?0:Math.max(-(o(i)/2)-e,-d/2)+"px":"")}U(),Y()}}function B(a,b,c){l(dc.slides.querySelectorAll("section > .stretch")).forEach(function(d){var e=p(d,b-2*c);if(/(img|video)/gi.test(d.nodeName)){var f=d.naturalWidth||d.videoWidth,g=d.naturalHeight||d.videoHeight,h=Math.min(a/f,e/g);d.style.width=f*h+"px",d.style.height=g*h+"px"}else d.style.width=a+"px",d.style.height=e+"px"})}function C(a,b){"object"==typeof a&&"function"==typeof a.setAttribute&&a.setAttribute("data-previous-indexv",b||0)}function D(a){if("object"==typeof a&&"function"==typeof a.setAttribute&&a.classList.contains("stack")){var b=a.hasAttribute("data-start-indexv")?"data-start-indexv":"data-previous-indexv";return parseInt(a.getAttribute(b)||0,10)}return 0}function E(){if(_b.overview){kb();var a=dc.wrapper.classList.contains("overview"),b=window.innerWidth<400?1e3:2500;dc.wrapper.classList.add("overview"),dc.wrapper.classList.remove("overview-deactivating"),clearTimeout(hc),clearTimeout(ic),hc=setTimeout(function(){for(var c=document.querySelectorAll(Yb),d=0,e=c.length;e>d;d++){var f=c[d],g=_b.rtl?-105:105;if(f.setAttribute("data-index-h",d),n(f,"translateZ(-"+b+"px) translate("+(d-Qb)*g+"%, 0%)"),f.classList.contains("stack"))for(var h=f.querySelectorAll("section"),i=0,j=h.length;j>i;i++){var k=d===Qb?Rb:D(f),l=h[i];l.setAttribute("data-index-h",d),l.setAttribute("data-index-v",i),n(l,"translate(0%, "+105*(i-k)+"%)"),l.addEventListener("click",Mb,!0)}else f.addEventListener("click",Mb,!0)}T(),A(),a||t("overviewshown",{indexh:Qb,indexv:Rb,currentSlide:Tb})},10)}}function F(){_b.overview&&(clearTimeout(hc),clearTimeout(ic),dc.wrapper.classList.remove("overview"),dc.wrapper.classList.add("overview-deactivating"),ic=setTimeout(function(){dc.wrapper.classList.remove("overview-deactivating")},1),l(document.querySelectorAll(Xb)).forEach(function(a){n(a,""),a.removeEventListener("click",Mb,!0)}),O(Qb,Rb),jb(),t("overviewhidden",{indexh:Qb,indexv:Rb,currentSlide:Tb}))}function G(a){"boolean"==typeof a?a?E():F():H()?F():E()}function H(){return dc.wrapper.classList.contains("overview")}function I(a){return a=a?a:Tb,a&&a.parentNode&&!!a.parentNode.nodeName.match(/section/i)}function J(){var a=document.body,b=a.requestFullScreen||a.webkitRequestFullscreen||a.webkitRequestFullScreen||a.mozRequestFullScreen||a.msRequestFullScreen;b&&b.apply(a)}function K(){var a=dc.wrapper.classList.contains("paused");kb(),dc.wrapper.classList.add("paused"),a===!1&&t("paused")}function L(){var a=dc.wrapper.classList.contains("paused");dc.wrapper.classList.remove("paused"),jb(),a&&t("resumed")}function M(){N()?L():K()}function N(){return dc.wrapper.classList.contains("paused")}function O(a,b,c,d){Sb=Tb;var e=document.querySelectorAll(Yb);void 0===b&&(b=D(e[a])),Sb&&Sb.parentNode&&Sb.parentNode.classList.contains("stack")&&C(Sb.parentNode,Rb);var f=bc.concat();bc.length=0;var g=Qb||0,h=Rb||0;Qb=S(Yb,void 0===a?Qb:a),Rb=S(Zb,void 0===b?Rb:b),T(),A();a:for(var i=0,j=bc.length;j>i;i++){for(var k=0;k<f.length;k++)if(f[k]===bc[i]){f.splice(k,1);continue a}document.documentElement.classList.add(bc[i]),t(bc[i])}for(;f.length;)document.documentElement.classList.remove(f.pop());H()&&E();var m=e[Qb],n=m.querySelectorAll("section");Tb=n[Rb]||m,"undefined"!=typeof c&&gb(c);var o=Qb!==g||Rb!==h;o?t("slidechanged",{indexh:Qb,indexv:Rb,previousSlide:Sb,currentSlide:Tb,origin:d}):Sb=null,Sb&&(Sb.classList.remove("present"),document.querySelector($b).classList.contains("present")&&setTimeout(function(){var a,b=l(document.querySelectorAll(Yb+".stack"));for(a in b)b[a]&&C(b[a],0)},0)),o&&(ab(Sb),_(Tb)),W(),U(),X(),Y(),V(),db(),jb()}function P(){j(),i(),A(),kc=_b.autoSlide,jb(),g(),R(),W(),U(),X(!0),V()}function Q(){var a=l(document.querySelectorAll(Yb));a.forEach(function(a){var b=l(a.querySelectorAll("section"));b.forEach(function(a,b){b>0&&(a.classList.remove("present"),a.classList.remove("past"),a.classList.add("future"))})})}function R(){var a=l(document.querySelectorAll(Yb));a.forEach(function(a){var b=l(a.querySelectorAll("section"));b.forEach(function(a){fb(a.querySelectorAll(".fragment"))}),0===b.length&&fb(a.querySelectorAll(".fragment"))})}function S(a,b){var c=l(document.querySelectorAll(a)),d=c.length;if(d){_b.loop&&(b%=d,0>b&&(b=d+b)),b=Math.max(Math.min(b,d-1),0);for(var e=0;d>e;e++){var f=c[e],g=_b.rtl&&!I(f);if(f.classList.remove("past"),f.classList.remove("present"),f.classList.remove("future"),f.setAttribute("hidden",""),b>e){f.classList.add(g?"future":"past");for(var h=l(f.querySelectorAll(".fragment"));h.length;){var i=h.pop();i.classList.add("visible"),i.classList.remove("current-fragment")}}else if(e>b){f.classList.add(g?"past":"future");for(var j=l(f.querySelectorAll(".fragment.visible"));j.length;){var k=j.pop();k.classList.remove("visible"),k.classList.remove("current-fragment")}}f.querySelector("section")&&f.classList.add("stack")}c[b].classList.add("present"),c[b].removeAttribute("hidden");var m=c[b].getAttribute("data-state");m&&(bc=bc.concat(m.split(" ")))}else b=0;return b}function T(){var a,b,c=l(document.querySelectorAll(Yb)),d=c.length;if(d){var e=H()?10:_b.viewDistance;Vb&&(e=H()?6:1);for(var f=0;d>f;f++){var g=c[f],h=l(g.querySelectorAll("section")),i=h.length;if(a=Math.abs((Qb-f)%(d-e))||0,g.style.display=a>e?"none":"block",i)for(var j=D(g),k=0;i>k;k++){var m=h[k];b=f===Qb?Math.abs(Rb-k):Math.abs(k-j),m.style.display=a+b>e?"none":"block"}}}}function U(){if(_b.progress&&dc.progress){var a=l(document.querySelectorAll(Yb)),b=document.querySelectorAll(Xb+":not(.stack)").length,c=0;a:for(var d=0;d<a.length;d++){for(var e=a[d],f=l(e.querySelectorAll("section")),g=0;g<f.length;g++){if(f[g].classList.contains("present"))break a;c++}if(e.classList.contains("present"))break;e.classList.contains("stack")===!1&&c++}dc.progressbar.style.width=c/(b-1)*window.innerWidth+"px"}}function V(){if(_b.slideNumber&&dc.slideNumber){var a=Qb;Rb>0&&(a+=" - "+Rb),dc.slideNumber.innerHTML=a}}function W(){var a=Z(),b=$();dc.controlsLeft.concat(dc.controlsRight).concat(dc.controlsUp).concat(dc.controlsDown).concat(dc.controlsPrev).concat(dc.controlsNext).forEach(function(a){a.classList.remove("enabled"),a.classList.remove("fragmented")}),a.left&&dc.controlsLeft.forEach(function(a){a.classList.add("enabled")}),a.right&&dc.controlsRight.forEach(function(a){a.classList.add("enabled")}),a.up&&dc.controlsUp.forEach(function(a){a.classList.add("enabled")}),a.down&&dc.controlsDown.forEach(function(a){a.classList.add("enabled")}),(a.left||a.up)&&dc.controlsPrev.forEach(function(a){a.classList.add("enabled")}),(a.right||a.down)&&dc.controlsNext.forEach(function(a){a.classList.add("enabled")}),Tb&&(b.prev&&dc.controlsPrev.forEach(function(a){a.classList.add("fragmented","enabled")}),b.next&&dc.controlsNext.forEach(function(a){a.classList.add("fragmented","enabled")}),I(Tb)?(b.prev&&dc.controlsUp.forEach(function(a){a.classList.add("fragmented","enabled")}),b.next&&dc.controlsDown.forEach(function(a){a.classList.add("fragmented","enabled")})):(b.prev&&dc.controlsLeft.forEach(function(a){a.classList.add("fragmented","enabled")}),b.next&&dc.controlsRight.forEach(function(a){a.classList.add("fragmented","enabled")})))}function X(a){var b=null,c=_b.rtl?"future":"past",d=_b.rtl?"past":"future";if(l(dc.background.childNodes).forEach(function(e,f){Qb>f?e.className="slide-background "+c:f>Qb?e.className="slide-background "+d:(e.className="slide-background present",b=e),(a||f===Qb)&&l(e.childNodes).forEach(function(a,c){Rb>c?a.className="slide-background past":c>Rb?a.className="slide-background future":(a.className="slide-background present",f===Qb&&(b=a))})}),b){var e=Ub?Ub.getAttribute("data-background-hash"):null,f=b.getAttribute("data-background-hash");f&&f===e&&b!==Ub&&dc.background.classList.add("no-transition"),Ub=b}setTimeout(function(){dc.background.classList.remove("no-transition")},1)}function Y(){if(_b.parallaxBackgroundImage){var a,b,c=document.querySelectorAll(Yb),d=document.querySelectorAll(Zb),e=dc.background.style.backgroundSize.split(" ");1===e.length?a=b=parseInt(e[0],10):(a=parseInt(e[0],10),b=parseInt(e[1],10));var f=dc.background.offsetWidth,g=c.length,h=-(a-f)/(g-1)*Qb,i=dc.background.offsetHeight,j=d.length,k=j>0?-(b-i)/(j-1)*Rb:0;dc.background.style.backgroundPosition=h+"px "+k+"px"}}function Z(){var a=document.querySelectorAll(Yb),b=document.querySelectorAll(Zb),c={left:Qb>0||_b.loop,right:Qb<a.length-1||_b.loop,up:Rb>0,down:Rb<b.length-1};if(_b.rtl){var d=c.left;c.left=c.right,c.right=d}return c}function $(){if(Tb&&_b.fragments){var a=Tb.querySelectorAll(".fragment"),b=Tb.querySelectorAll(".fragment:not(.visible)");return{prev:a.length-b.length>0,next:!!b.length}}return{prev:!1,next:!1}}function _(a){a&&!bb()&&(l(a.querySelectorAll("video, audio")).forEach(function(a){a.hasAttribute("data-autoplay")&&a.play()}),l(a.querySelectorAll("iframe")).forEach(function(a){a.contentWindow.postMessage("slide:start","*")}),l(a.querySelectorAll('iframe[src*="youtube.com/embed/"]')).forEach(function(a){a.hasAttribute("data-autoplay")&&a.contentWindow.postMessage('{"event":"command","func":"playVideo","args":""}',"*")}))}function ab(a){a&&(l(a.querySelectorAll("video, audio")).forEach(function(a){a.hasAttribute("data-ignore")||a.pause()}),l(a.querySelectorAll("iframe")).forEach(function(a){a.contentWindow.postMessage("slide:stop","*")}),l(a.querySelectorAll('iframe[src*="youtube.com/embed/"]')).forEach(function(a){a.hasAttribute("data-ignore")||"function"!=typeof a.contentWindow.postMessage||a.contentWindow.postMessage('{"event":"command","func":"pauseVideo","args":""}',"*")}))}function bb(){return!!window.location.search.match(/receiver/gi)}function cb(){var a=window.location.hash,b=a.slice(2).split("/"),c=a.replace(/#|\//gi,"");if(isNaN(parseInt(b[0],10))&&c.length){var d=document.querySelector("#"+c);if(d){var e=Reveal.getIndices(d);O(e.h,e.v)}else O(Qb||0,Rb||0)}else{var f=parseInt(b[0],10)||0,g=parseInt(b[1],10)||0;(f!==Qb||g!==Rb)&&O(f,g)}}function db(a){if(_b.history)if(clearTimeout(gc),"number"==typeof a)gc=setTimeout(db,a);else{var b="/";Tb&&"string"==typeof Tb.getAttribute("id")?b="/"+Tb.getAttribute("id"):((Qb>0||Rb>0)&&(b+=Qb),Rb>0&&(b+="/"+Rb)),window.location.hash=b}}function eb(a){var b,c=Qb,d=Rb;if(a){var e=I(a),f=e?a.parentNode:a,g=l(document.querySelectorAll(Yb));c=Math.max(g.indexOf(f),0),e&&(d=Math.max(l(a.parentNode.querySelectorAll("section")).indexOf(a),0))}if(!a&&Tb){var h=Tb.querySelectorAll(".fragment").length>0;if(h){var i=Tb.querySelectorAll(".fragment.visible");b=i.length-1}}return{h:c,v:d,f:b}}function fb(a){a=l(a);var b=[],c=[],d=[];a.forEach(function(a){if(a.hasAttribute("data-fragment-index")){var d=parseInt(a.getAttribute("data-fragment-index"),10);b[d]||(b[d]=[]),b[d].push(a)}else c.push([a])}),b=b.concat(c);var e=0;return b.forEach(function(a){a.forEach(function(a){d.push(a),a.setAttribute("data-fragment-index",e)}),e++}),d}function gb(a,b){if(Tb&&_b.fragments){var c=fb(Tb.querySelectorAll(".fragment"));if(c.length){if("number"!=typeof a){var d=fb(Tb.querySelectorAll(".fragment.visible")).pop();a=d?parseInt(d.getAttribute("data-fragment-index")||0,10):-1}"number"==typeof b&&(a+=b);var e=[],f=[];return l(c).forEach(function(b,c){b.hasAttribute("data-fragment-index")&&(c=parseInt(b.getAttribute("data-fragment-index"),10)),a>=c?(b.classList.contains("visible")||e.push(b),b.classList.add("visible"),b.classList.remove("current-fragment"),c===a&&b.classList.add("current-fragment")):(b.classList.contains("visible")&&f.push(b),b.classList.remove("visible"),b.classList.remove("current-fragment"))}),f.length&&t("fragmenthidden",{fragment:f[0],fragments:f}),e.length&&t("fragmentshown",{fragment:e[0],fragments:e}),W(),!(!e.length&&!f.length)}}return!1}function hb(){return gb(null,1)}function ib(){return gb(null,-1)}function jb(){if(kb(),Tb){var a=Tb.parentNode?Tb.parentNode.getAttribute("data-autoslide"):null,b=Tb.getAttribute("data-autoslide");kc=b?parseInt(b,10):a?parseInt(a,10):_b.autoSlide,l(Tb.querySelectorAll("video, audio")).forEach(function(a){a.hasAttribute("data-autoplay")&&kc&&1e3*a.duration>kc&&(kc=1e3*a.duration+1e3)}),!kc||nc||N()||H()||Reveal.isLastSlide()&&_b.loop!==!0||(lc=setTimeout(sb,kc),mc=Date.now()),Wb&&Wb.setPlaying(-1!==lc)}}function kb(){clearTimeout(lc),lc=-1}function lb(){nc=!0,clearTimeout(lc),Wb&&Wb.setPlaying(!1)}function mb(){nc=!1,jb()}function nb(){_b.rtl?(H()||hb()===!1)&&Z().left&&O(Qb+1):(H()||ib()===!1)&&Z().left&&O(Qb-1)}function ob(){_b.rtl?(H()||ib()===!1)&&Z().right&&O(Qb-1):(H()||hb()===!1)&&Z().right&&O(Qb+1)}function pb(){(H()||ib()===!1)&&Z().up&&O(Qb,Rb-1)}function qb(){(H()||hb()===!1)&&Z().down&&O(Qb,Rb+1)}function rb(){if(ib()===!1)if(Z().up)pb();else{var a=document.querySelector(Yb+".past:nth-child("+Qb+")");if(a){var b=a.querySelectorAll("section").length-1||void 0,c=Qb-1;O(c,b)}}}function sb(){hb()===!1&&(Z().down?qb():ob()),jb()}function tb(){_b.autoSlideStoppable&&lb()}function ub(a){tb(a),document.activeElement;var b=!(!document.activeElement||!document.activeElement.type&&!document.activeElement.href&&"inherit"===document.activeElement.contentEditable);if(!(b||a.shiftKey&&32!==a.keyCode||a.altKey||a.ctrlKey||a.metaKey)){if(N()&&-1===[66,190,191].indexOf(a.keyCode))return!1;var c=!1;if("object"==typeof _b.keyboard)for(var d in _b.keyboard)if(parseInt(d,10)===a.keyCode){var e=_b.keyboard[d];"function"==typeof e?e.apply(null,[a]):"string"==typeof e&&"function"==typeof Reveal[e]&&Reveal[e].call(),c=!0}if(c===!1)switch(c=!0,a.keyCode){case 80:case 33:rb();break;case 78:case 34:sb();break;case 72:case 37:nb();break;case 76:case 39:ob();break;case 75:case 38:pb();break;case 74:case 40:qb();break;case 36:O(0);break;case 35:O(Number.MAX_VALUE);break;case 32:H()?F():a.shiftKey?rb():sb();break;case 13:H()?F():c=!1;break;case 66:case 190:case 191:M();break;case 70:J();break;default:c=!1}c?a.preventDefault():27!==a.keyCode&&79!==a.keyCode||!ec.transforms3d||(dc.preview?z():G(),a.preventDefault()),jb()}}function vb(a){oc.startX=a.touches[0].clientX,oc.startY=a.touches[0].clientY,oc.startCount=a.touches.length,2===a.touches.length&&_b.overview&&(oc.startSpan=m({x:a.touches[1].clientX,y:a.touches[1].clientY},{x:oc.startX,y:oc.startY}))}function wb(a){if(oc.captured)navigator.userAgent.match(/android/gi)&&a.preventDefault();else{tb(a);var b=a.touches[0].clientX,c=a.touches[0].clientY;if(2===a.touches.length&&2===oc.startCount&&_b.overview){var d=m({x:a.touches[1].clientX,y:a.touches[1].clientY},{x:oc.startX,y:oc.startY});Math.abs(oc.startSpan-d)>oc.threshold&&(oc.captured=!0,d<oc.startSpan?E():F()),a.preventDefault()}else if(1===a.touches.length&&2!==oc.startCount){var e=b-oc.startX,f=c-oc.startY;e>oc.threshold&&Math.abs(e)>Math.abs(f)?(oc.captured=!0,nb()):e<-oc.threshold&&Math.abs(e)>Math.abs(f)?(oc.captured=!0,ob()):f>oc.threshold?(oc.captured=!0,pb()):f<-oc.threshold&&(oc.captured=!0,qb()),_b.embedded?(oc.captured||I(Tb))&&a.preventDefault():a.preventDefault()}}}function xb(){oc.captured=!1}function yb(a){a.pointerType===a.MSPOINTER_TYPE_TOUCH&&(a.touches=[{clientX:a.clientX,clientY:a.clientY}],vb(a))}function zb(a){a.pointerType===a.MSPOINTER_TYPE_TOUCH&&(a.touches=[{clientX:a.clientX,clientY:a.clientY}],wb(a))}function Ab(a){a.pointerType===a.MSPOINTER_TYPE_TOUCH&&(a.touches=[{clientX:a.clientX,clientY:a.clientY}],xb(a))}function Bb(a){if(Date.now()-fc>600){fc=Date.now();var b=a.detail||-a.wheelDelta;b>0?sb():rb()}}function Cb(a){tb(a),a.preventDefault();var b=l(document.querySelectorAll(Yb)).length,c=Math.floor(a.clientX/dc.wrapper.offsetWidth*b);O(c)}function Db(a){a.preventDefault(),tb(),nb()}function Eb(a){a.preventDefault(),tb(),ob()}function Fb(a){a.preventDefault(),tb(),pb()}function Gb(a){a.preventDefault(),tb(),qb()}function Hb(a){a.preventDefault(),tb(),rb()}function Ib(a){a.preventDefault(),tb(),sb()}function Jb(){cb()}function Kb(){A()}function Lb(){var a=document.webkitHidden||document.msHidden||document.hidden;a===!1&&document.activeElement!==document.body&&(document.activeElement.blur(),document.body.focus())}function Mb(a){if(jc&&H()){a.preventDefault();for(var b=a.target;b&&!b.nodeName.match(/section/gi);)b=b.parentNode;if(b&&!b.classList.contains("disabled")&&(F(),b.nodeName.match(/section/gi))){var c=parseInt(b.getAttribute("data-index-h"),10),d=parseInt(b.getAttribute("data-index-v"),10);O(c,d)}}}function Nb(a){var b=a.target.getAttribute("href");b&&(y(b),a.preventDefault())}function Ob(){Reveal.isLastSlide()&&_b.loop===!1?(O(0,0),mb()):nc?mb():lb()}function Pb(a,b){this.diameter=50,this.thickness=3,this.playing=!1,this.progress=0,this.progressOffset=1,this.container=a,this.progressCheck=b,this.canvas=document.createElement("canvas"),this.canvas.className="playback",this.canvas.width=this.diameter,this.canvas.height=this.diameter,this.context=this.canvas.getContext("2d"),this.container.appendChild(this.canvas),this.render()}var Qb,Rb,Sb,Tb,Ub,Vb,Wb,Xb=".reveal .slides section",Yb=".reveal .slides>section",Zb=".reveal .slides>section.present>section",$b=".reveal .slides>section:first-of-type",_b={width:960,height:700,margin:.1,minScale:.2,maxScale:1,controls:!0,progress:!0,slideNumber:!1,history:!1,keyboard:!0,overview:!0,center:!0,touch:!0,loop:!1,rtl:!1,fragments:!0,embedded:!1,autoSlide:0,autoSlideStoppable:!0,mouseWheel:!1,rollingLinks:!1,hideAddressBar:!0,previewLinks:!1,focusBodyOnPageVisiblityChange:!0,theme:null,transition:"default",transitionSpeed:"default",backgroundTransition:"default",parallaxBackgroundImage:"",parallaxBackgroundSize:"",viewDistance:3,dependencies:[]},ac=!1,bc=[],cc=1,dc={},ec={},fc=0,gc=0,hc=0,ic=0,jc=!1,kc=0,lc=0,mc=-1,nc=!1,oc={startX:0,startY:0,startSpan:0,startCount:0,captured:!1,threshold:40};return Pb.prototype.setPlaying=function(a){var b=this.playing;this.playing=a,!b&&this.playing?this.animate():this.render()},Pb.prototype.animate=function(){var a=this.progress;this.progress=this.progressCheck(),a>.8&&this.progress<.2&&(this.progressOffset=this.progress),this.render(),this.playing&&ec.requestAnimationFrameMethod.call(window,this.animate.bind(this))},Pb.prototype.render=function(){var a=this.playing?this.progress:0,b=this.diameter/2-this.thickness,c=this.diameter/2,d=this.diameter/2,e=14;this.progressOffset+=.1*(1-this.progressOffset);var f=-Math.PI/2+a*2*Math.PI,g=-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(c,d,b+2,0,2*Math.PI,!1),this.context.fillStyle="rgba( 0, 0, 0, 0.4 )",this.context.fill(),this.context.beginPath(),this.context.arc(c,d,b,0,2*Math.PI,!1),this.context.lineWidth=this.thickness,this.context.strokeStyle="#666",this.context.stroke(),this.playing&&(this.context.beginPath(),this.context.arc(c,d,b,g,f,!1),this.context.lineWidth=this.thickness,this.context.strokeStyle="#fff",this.context.stroke()),this.context.translate(c-e/2,d-e/2),this.playing?(this.context.fillStyle="#fff",this.context.fillRect(0,0,e/2-2,e),this.context.fillRect(e/2+2,0,e/2-2,e)):(this.context.beginPath(),this.context.translate(2,0),this.context.moveTo(0,0),this.context.lineTo(e-2,e/2),this.context.lineTo(0,e),this.context.fillStyle="#fff",this.context.fill()),this.context.restore()},Pb.prototype.on=function(a,b){this.canvas.addEventListener(a,b,!1)},Pb.prototype.off=function(a,b){this.canvas.removeEventListener(a,b,!1)},Pb.prototype.destroy=function(){this.playing=!1,this.canvas.parentNode&&this.container.removeChild(this.canvas)},{initialize:a,configure:h,sync:P,slide:O,left:nb,right:ob,up:pb,down:qb,prev:rb,next:sb,navigateFragment:gb,prevFragment:ib,nextFragment:hb,navigateTo:O,navigateLeft:nb,navigateRight:ob,navigateUp:pb,navigateDown:qb,navigatePrev:rb,navigateNext:sb,layout:A,availableRoutes:Z,availableFragments:$,toggleOverview:G,togglePause:M,isOverview:H,isPaused:N,addEventListeners:i,removeEventListeners:j,getIndices:eb,getSlide:function(a,b){var c=document.querySelectorAll(Yb)[a],d=c&&c.querySelectorAll("section");
9
- return"undefined"!=typeof b?d?d[b]:void 0:c},getPreviousSlide:function(){return Sb},getCurrentSlide:function(){return Tb},getScale:function(){return cc},getConfig:function(){return _b},getQueryHash:function(){var a={};location.search.replace(/[A-Z0-9]+?=([\w\.%-]*)/gi,function(b){a[b.split("=").shift()]=b.split("=").pop()});for(var b in a){var c=a[b];a[b]=unescape(c),"null"===c?a[b]=null:"true"===c?a[b]=!0:"false"===c?a[b]=!1:c.match(/^\d+$/)&&(a[b]=parseFloat(c))}return a},isFirstSlide:function(){return null==document.querySelector(Xb+".past")?!0:!1},isLastSlide:function(){return Tb?Tb.nextElementSibling?!1:I(Tb)&&Tb.parentNode.nextElementSibling?!1:!0:!1},isReady:function(){return ac},addEventListener:function(a,b,c){"addEventListener"in window&&(dc.wrapper||document.querySelector(".reveal")).addEventListener(a,b,c)},removeEventListener:function(a,b,c){"addEventListener"in window&&(dc.wrapper||document.querySelector(".reveal")).removeEventListener(a,b,c)}}}();
8
+ !function(a,b){"function"==typeof define&&define.amd?define(function(){return a.Reveal=b(),a.Reveal}):"object"==typeof exports?module.exports=b():a.Reveal=b()}(this,function(){"use strict";function a(a){if(b(),Jb.transforms2d||Jb.transforms3d){Ib.wrapper=document.querySelector(".reveal"),Ib.slides=document.querySelector(".reveal .slides"),window.addEventListener("load",L,!1);var d=qb.getQueryHash();"undefined"!=typeof d.dependencies&&delete d.dependencies,p(Cb,a),p(Cb,d),B(),c()}else{document.body.setAttribute("class","no-transforms");for(var e=q(document.getElementsByTagName("img")),f=q(document.getElementsByTagName("iframe")),g=e.concat(f),h=0,i=g.length;i>h;h++){var j=g[h];j.getAttribute("data-src")&&(j.setAttribute("src",j.getAttribute("data-src")),j.removeAttribute("data-src"))}}}function b(){Jb.transforms3d="WebkitPerspective"in document.body.style||"MozPerspective"in document.body.style||"msPerspective"in document.body.style||"OPerspective"in document.body.style||"perspective"in document.body.style,Jb.transforms2d="WebkitTransform"in document.body.style||"MozTransform"in document.body.style||"msTransform"in document.body.style||"OTransform"in document.body.style||"transform"in document.body.style,Jb.requestAnimationFrameMethod=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame,Jb.requestAnimationFrame="function"==typeof Jb.requestAnimationFrameMethod,Jb.canvas=!!document.createElement("canvas").getContext,Jb.touch=!!("ontouchstart"in window),Jb.overviewTransitions=!/Version\/[\d\.]+.*Safari/.test(navigator.userAgent),wb=/(iphone|ipod|ipad|android)/gi.test(navigator.userAgent)}function c(){function a(){e.length&&head.js.apply(null,e),d()}function b(b){head.ready(b.src.match(/([\w\d_\-]*)\.?js$|[^\\\/]*$/i)[0],function(){"function"==typeof b.callback&&b.callback.apply(this),0===--f&&a()})}for(var c=[],e=[],f=0,g=0,h=Cb.dependencies.length;h>g;g++){var i=Cb.dependencies[g];(!i.condition||i.condition())&&(i.async?e.push(i.src):c.push(i.src),b(i))}c.length?(f=c.length,head.js.apply(null,c)):a()}function d(){e(),l(),h(),ea(),m(),ya(),la(!0),setTimeout(function(){Ib.slides.classList.remove("no-transition"),Db=!0,D("ready",{indexh:rb,indexv:sb,currentSlide:ub})},1),A()&&(o(),"complete"===document.readyState?g():window.addEventListener("load",g))}function e(){Ib.slides.classList.add("no-transition"),Ib.background=i(Ib.wrapper,"div","backgrounds",null),Ib.progress=i(Ib.wrapper,"div","progress","<span></span>"),Ib.progressbar=Ib.progress.querySelector("span"),i(Ib.wrapper,"aside","controls",'<div class="navigate-left"></div><div class="navigate-right"></div><div class="navigate-up"></div><div class="navigate-down"></div>'),Ib.slideNumber=i(Ib.wrapper,"div","slide-number",""),i(Ib.wrapper,"div","pause-overlay",null),Ib.controls=document.querySelector(".reveal .controls"),Ib.theme=document.querySelector("#theme"),Ib.wrapper.setAttribute("role","application"),Ib.controlsLeft=q(document.querySelectorAll(".navigate-left")),Ib.controlsRight=q(document.querySelectorAll(".navigate-right")),Ib.controlsUp=q(document.querySelectorAll(".navigate-up")),Ib.controlsDown=q(document.querySelectorAll(".navigate-down")),Ib.controlsPrev=q(document.querySelectorAll(".navigate-prev")),Ib.controlsNext=q(document.querySelectorAll(".navigate-next")),Ib.statusDiv=f()}function f(){var a=document.getElementById("aria-status-div");return a||(a=document.createElement("div"),a.style.position="absolute",a.style.height="1px",a.style.width="1px",a.style.overflow="hidden",a.style.clip="rect( 1px, 1px, 1px, 1px )",a.setAttribute("id","aria-status-div"),a.setAttribute("aria-live","polite"),a.setAttribute("aria-atomic","true"),Ib.wrapper.appendChild(a)),a}function g(){var a=N(window.innerWidth,window.innerHeight),b=Math.floor(a.width*(1+Cb.margin)),c=Math.floor(a.height*(1+Cb.margin)),d=a.width,e=a.height;v("@page{size:"+b+"px "+c+"px; margin: 0;}"),v(".reveal section>img, .reveal section>video, .reveal section>iframe{max-width: "+d+"px; max-height:"+e+"px}"),document.body.classList.add("print-pdf"),document.body.style.width=b+"px",document.body.style.height=c+"px",q(Ib.wrapper.querySelectorAll(yb)).forEach(function(a){if(a.classList.contains("stack")===!1){var f=(b-d)/2,g=(c-e)/2,h=y(a),i=Math.max(Math.ceil(h/c),1);(1===i&&Cb.center||a.classList.contains("center"))&&(g=Math.max((c-h)/2,0)),a.style.left=f+"px",a.style.top=g+"px",a.style.width=d+"px";var j=a.querySelector(".slide-background");j&&(j.style.width=b+"px",j.style.height=c*i+"px",j.style.top=-g+"px",j.style.left=-f+"px")}}),q(Ib.wrapper.querySelectorAll(yb+" .fragment")).forEach(function(a){a.classList.add("visible")})}function h(){Ib.slides.querySelector("iframe")&&setInterval(function(){(0!==Ib.wrapper.scrollTop||0!==Ib.wrapper.scrollLeft)&&(Ib.wrapper.scrollTop=0,Ib.wrapper.scrollLeft=0)},500)}function i(a,b,c,d){for(var e=a.querySelectorAll("."+c),f=0;f<e.length;f++){var g=e[f];if(g.parentNode===a)return g}var h=document.createElement(b);return h.classList.add(c),"string"==typeof d&&(h.innerHTML=d),a.appendChild(h),h}function j(){var a=A();Ib.background.innerHTML="",Ib.background.classList.add("no-transition"),q(Ib.wrapper.querySelectorAll(zb)).forEach(function(b){var c;c=a?k(b,b):k(b,Ib.background),q(b.querySelectorAll("section")).forEach(function(b){a?k(b,b):k(b,c),c.classList.add("stack")})}),Cb.parallaxBackgroundImage?(Ib.background.style.backgroundImage='url("'+Cb.parallaxBackgroundImage+'")',Ib.background.style.backgroundSize=Cb.parallaxBackgroundSize,setTimeout(function(){Ib.wrapper.classList.add("has-parallax-background")},1)):(Ib.background.style.backgroundImage="",Ib.wrapper.classList.remove("has-parallax-background"))}function k(a,b){var c={background:a.getAttribute("data-background"),backgroundSize:a.getAttribute("data-background-size"),backgroundImage:a.getAttribute("data-background-image"),backgroundVideo:a.getAttribute("data-background-video"),backgroundIframe:a.getAttribute("data-background-iframe"),backgroundColor:a.getAttribute("data-background-color"),backgroundRepeat:a.getAttribute("data-background-repeat"),backgroundPosition:a.getAttribute("data-background-position"),backgroundTransition:a.getAttribute("data-background-transition")},d=document.createElement("div");d.className="slide-background "+a.className.replace(/present|past|future/,""),c.background&&(/^(http|file|\/\/)/gi.test(c.background)||/\.(svg|png|jpg|jpeg|gif|bmp)$/gi.test(c.background)?a.setAttribute("data-background-image",c.background):d.style.background=c.background),(c.background||c.backgroundColor||c.backgroundImage||c.backgroundVideo||c.backgroundIframe)&&d.setAttribute("data-background-hash",c.background+c.backgroundSize+c.backgroundImage+c.backgroundVideo+c.backgroundIframe+c.backgroundColor+c.backgroundRepeat+c.backgroundPosition+c.backgroundTransition),c.backgroundSize&&(d.style.backgroundSize=c.backgroundSize),c.backgroundColor&&(d.style.backgroundColor=c.backgroundColor),c.backgroundRepeat&&(d.style.backgroundRepeat=c.backgroundRepeat),c.backgroundPosition&&(d.style.backgroundPosition=c.backgroundPosition),c.backgroundTransition&&d.setAttribute("data-background-transition",c.backgroundTransition),b.appendChild(d),a.classList.remove("has-dark-background"),a.classList.remove("has-light-background");var e=window.getComputedStyle(d).backgroundColor;if(e){var f=w(e);f&&0!==f.a&&(x(e)<128?a.classList.add("has-dark-background"):a.classList.add("has-light-background"))}return d}function l(){Cb.postMessage&&window.addEventListener("message",function(a){var b=a.data;"string"==typeof b&&"{"===b.charAt(0)&&"}"===b.charAt(b.length-1)&&(b=JSON.parse(b),b.method&&"function"==typeof qb[b.method]&&qb[b.method].apply(qb,b.args))},!1)}function m(a){var b=Ib.wrapper.querySelectorAll(yb).length;Ib.wrapper.classList.remove(Cb.transition),"object"==typeof a&&p(Cb,a),Jb.transforms3d===!1&&(Cb.transition="linear"),Ib.wrapper.classList.add(Cb.transition),Ib.wrapper.setAttribute("data-transition-speed",Cb.transitionSpeed),Ib.wrapper.setAttribute("data-background-transition",Cb.backgroundTransition),Ib.controls.style.display=Cb.controls?"block":"none",Ib.progress.style.display=Cb.progress?"block":"none",Cb.rtl?Ib.wrapper.classList.add("rtl"):Ib.wrapper.classList.remove("rtl"),Cb.center?Ib.wrapper.classList.add("center"):Ib.wrapper.classList.remove("center"),Cb.pause===!1&&Z(),Cb.mouseWheel?(document.addEventListener("DOMMouseScroll",bb,!1),document.addEventListener("mousewheel",bb,!1)):(document.removeEventListener("DOMMouseScroll",bb,!1),document.removeEventListener("mousewheel",bb,!1)),Cb.rollingLinks?E():F(),Cb.previewLinks?G():(H(),G("[data-preview-link]")),xb&&(xb.destroy(),xb=null),b>1&&Cb.autoSlide&&Cb.autoSlideStoppable&&Jb.canvas&&Jb.requestAnimationFrame&&(xb=new pb(Ib.wrapper,function(){return Math.min(Math.max((Date.now()-Pb)/Nb,0),1)}),xb.on("click",ob),Qb=!1),Cb.fragments===!1&&q(Ib.slides.querySelectorAll(".fragment")).forEach(function(a){a.classList.add("visible"),a.classList.remove("current-fragment")}),da()}function n(){if(Mb=!0,window.addEventListener("hashchange",jb,!1),window.addEventListener("resize",kb,!1),Cb.touch&&(Ib.wrapper.addEventListener("touchstart",Xa,!1),Ib.wrapper.addEventListener("touchmove",Ya,!1),Ib.wrapper.addEventListener("touchend",Za,!1),window.navigator.pointerEnabled?(Ib.wrapper.addEventListener("pointerdown",$a,!1),Ib.wrapper.addEventListener("pointermove",_a,!1),Ib.wrapper.addEventListener("pointerup",ab,!1)):window.navigator.msPointerEnabled&&(Ib.wrapper.addEventListener("MSPointerDown",$a,!1),Ib.wrapper.addEventListener("MSPointerMove",_a,!1),Ib.wrapper.addEventListener("MSPointerUp",ab,!1))),Cb.keyboard&&(document.addEventListener("keydown",Wa,!1),document.addEventListener("keypress",Va,!1)),Cb.progress&&Ib.progress&&Ib.progress.addEventListener("click",cb,!1),Cb.focusBodyOnPageVisibilityChange){var a;"hidden"in document?a="visibilitychange":"msHidden"in document?a="msvisibilitychange":"webkitHidden"in document&&(a="webkitvisibilitychange"),a&&document.addEventListener(a,lb,!1)}var b=["touchstart","click"];navigator.userAgent.match(/android/gi)&&(b=["touchstart"]),b.forEach(function(a){Ib.controlsLeft.forEach(function(b){b.addEventListener(a,db,!1)}),Ib.controlsRight.forEach(function(b){b.addEventListener(a,eb,!1)}),Ib.controlsUp.forEach(function(b){b.addEventListener(a,fb,!1)}),Ib.controlsDown.forEach(function(b){b.addEventListener(a,gb,!1)}),Ib.controlsPrev.forEach(function(b){b.addEventListener(a,hb,!1)}),Ib.controlsNext.forEach(function(b){b.addEventListener(a,ib,!1)})})}function o(){Mb=!1,document.removeEventListener("keydown",Wa,!1),document.removeEventListener("keypress",Va,!1),window.removeEventListener("hashchange",jb,!1),window.removeEventListener("resize",kb,!1),Ib.wrapper.removeEventListener("touchstart",Xa,!1),Ib.wrapper.removeEventListener("touchmove",Ya,!1),Ib.wrapper.removeEventListener("touchend",Za,!1),window.navigator.pointerEnabled?(Ib.wrapper.removeEventListener("pointerdown",$a,!1),Ib.wrapper.removeEventListener("pointermove",_a,!1),Ib.wrapper.removeEventListener("pointerup",ab,!1)):window.navigator.msPointerEnabled&&(Ib.wrapper.removeEventListener("MSPointerDown",$a,!1),Ib.wrapper.removeEventListener("MSPointerMove",_a,!1),Ib.wrapper.removeEventListener("MSPointerUp",ab,!1)),Cb.progress&&Ib.progress&&Ib.progress.removeEventListener("click",cb,!1),["touchstart","click"].forEach(function(a){Ib.controlsLeft.forEach(function(b){b.removeEventListener(a,db,!1)}),Ib.controlsRight.forEach(function(b){b.removeEventListener(a,eb,!1)}),Ib.controlsUp.forEach(function(b){b.removeEventListener(a,fb,!1)}),Ib.controlsDown.forEach(function(b){b.removeEventListener(a,gb,!1)}),Ib.controlsPrev.forEach(function(b){b.removeEventListener(a,hb,!1)}),Ib.controlsNext.forEach(function(b){b.removeEventListener(a,ib,!1)})})}function p(a,b){for(var c in b)a[c]=b[c]}function q(a){return Array.prototype.slice.call(a)}function r(a){if("string"==typeof a){if("null"===a)return null;if("true"===a)return!0;if("false"===a)return!1;if(a.match(/^\d+$/))return parseFloat(a)}return a}function s(a,b){var c=a.x-b.x,d=a.y-b.y;return Math.sqrt(c*c+d*d)}function t(a,b){a.style.WebkitTransform=b,a.style.MozTransform=b,a.style.msTransform=b,a.style.transform=b}function u(a){"string"==typeof a.layout&&(Hb.layout=a.layout),"string"==typeof a.overview&&(Hb.overview=a.overview),Hb.layout?t(Ib.slides,Hb.layout+" "+Hb.overview):t(Ib.slides,Hb.overview)}function v(a){var b=document.createElement("style");b.type="text/css",b.styleSheet?b.styleSheet.cssText=a:b.appendChild(document.createTextNode(a)),document.getElementsByTagName("head")[0].appendChild(b)}function w(a){var b=a.match(/^#([0-9a-f]{3})$/i);if(b&&b[1])return b=b[1],{r:17*parseInt(b.charAt(0),16),g:17*parseInt(b.charAt(1),16),b:17*parseInt(b.charAt(2),16)};var c=a.match(/^#([0-9a-f]{6})$/i);if(c&&c[1])return c=c[1],{r:parseInt(c.substr(0,2),16),g:parseInt(c.substr(2,2),16),b:parseInt(c.substr(4,2),16)};var d=a.match(/^rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)$/i);if(d)return{r:parseInt(d[1],10),g:parseInt(d[2],10),b:parseInt(d[3],10)};var e=a.match(/^rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\,\s*([\d]+|[\d]*.[\d]+)\s*\)$/i);return e?{r:parseInt(e[1],10),g:parseInt(e[2],10),b:parseInt(e[3],10),a:parseFloat(e[4])}:null}function x(a){return"string"==typeof a&&(a=w(a)),a?(299*a.r+587*a.g+114*a.b)/1e3:null}function y(a){var b=0;if(a){var c=0;q(a.childNodes).forEach(function(a){"number"==typeof a.offsetTop&&a.style&&("absolute"===window.getComputedStyle(a).position&&(c+=1),b=Math.max(b,a.offsetTop+a.offsetHeight))}),0===c&&(b=a.offsetHeight)}return b}function z(a,b){if(b=b||0,a){var c,d=a.style.height;return a.style.height="0px",c=b-a.parentNode.offsetHeight,a.style.height=d+"px",c}return b}function A(){return/print-pdf/gi.test(window.location.search)}function B(){Cb.hideAddressBar&&wb&&(window.addEventListener("load",C,!1),window.addEventListener("orientationchange",C,!1))}function C(){setTimeout(function(){window.scrollTo(0,1)},10)}function D(a,b){var c=document.createEvent("HTMLEvents",1,2);c.initEvent(a,!0,!0),p(c,b),Ib.wrapper.dispatchEvent(c),Cb.postMessageEvents&&window.parent!==window.self&&window.parent.postMessage(JSON.stringify({namespace:"reveal",eventName:a,state:Ea()}),"*")}function E(){if(Jb.transforms3d&&!("msPerspective"in document.body.style))for(var a=Ib.wrapper.querySelectorAll(yb+" a"),b=0,c=a.length;c>b;b++){var d=a[b];if(!(!d.textContent||d.querySelector("*")||d.className&&d.classList.contains(d,"roll"))){var e=document.createElement("span");e.setAttribute("data-title",d.text),e.innerHTML=d.innerHTML,d.classList.add("roll"),d.innerHTML="",d.appendChild(e)}}}function F(){for(var a=Ib.wrapper.querySelectorAll(yb+" a.roll"),b=0,c=a.length;c>b;b++){var d=a[b],e=d.querySelector("span");e&&(d.classList.remove("roll"),d.innerHTML=e.innerHTML)}}function G(a){var b=q(document.querySelectorAll(a?a:"a"));b.forEach(function(a){/^(http|www)/gi.test(a.getAttribute("href"))&&a.addEventListener("click",nb,!1)})}function H(){var a=q(document.querySelectorAll("a"));a.forEach(function(a){/^(http|www)/gi.test(a.getAttribute("href"))&&a.removeEventListener("click",nb,!1)})}function I(a){K(),Ib.overlay=document.createElement("div"),Ib.overlay.classList.add("overlay"),Ib.overlay.classList.add("overlay-preview"),Ib.wrapper.appendChild(Ib.overlay),Ib.overlay.innerHTML=["<header>",'<a class="close" href="#"><span class="icon"></span></a>','<a class="external" href="'+a+'" target="_blank"><span class="icon"></span></a>',"</header>",'<div class="spinner"></div>','<div class="viewport">','<iframe src="'+a+'"></iframe>',"</div>"].join(""),Ib.overlay.querySelector("iframe").addEventListener("load",function(a){Ib.overlay.classList.add("loaded")},!1),Ib.overlay.querySelector(".close").addEventListener("click",function(a){K(),a.preventDefault()},!1),Ib.overlay.querySelector(".external").addEventListener("click",function(a){K()},!1),setTimeout(function(){Ib.overlay.classList.add("visible")},1)}function J(){if(Cb.help){K(),Ib.overlay=document.createElement("div"),Ib.overlay.classList.add("overlay"),Ib.overlay.classList.add("overlay-help"),Ib.wrapper.appendChild(Ib.overlay);var a='<p class="title">Keyboard Shortcuts</p><br/>';a+="<table><th>KEY</th><th>ACTION</th>";for(var b in Sb)a+="<tr><td>"+b+"</td><td>"+Sb[b]+"</td></tr>";a+="</table>",Ib.overlay.innerHTML=["<header>",'<a class="close" href="#"><span class="icon"></span></a>',"</header>",'<div class="viewport">','<div class="viewport-inner">'+a+"</div>","</div>"].join(""),Ib.overlay.querySelector(".close").addEventListener("click",function(a){K(),a.preventDefault()},!1),setTimeout(function(){Ib.overlay.classList.add("visible")},1)}}function K(){Ib.overlay&&(Ib.overlay.parentNode.removeChild(Ib.overlay),Ib.overlay=null)}function L(){if(Ib.wrapper&&!A()){var a=N(),b=20;M(Cb.width,Cb.height,b),Ib.slides.style.width=a.width+"px",Ib.slides.style.height=a.height+"px",Gb=Math.min(a.presentationWidth/a.width,a.presentationHeight/a.height),Gb=Math.max(Gb,Cb.minScale),Gb=Math.min(Gb,Cb.maxScale),1===Gb?(Ib.slides.style.zoom="",Ib.slides.style.left="",Ib.slides.style.top="",Ib.slides.style.bottom="",Ib.slides.style.right="",u({layout:""})):!wb&&/chrome/i.test(navigator.userAgent)&&"undefined"!=typeof Ib.slides.style.zoom?(Ib.slides.style.zoom=Gb,u({layout:""})):(Ib.slides.style.left="50%",Ib.slides.style.top="50%",Ib.slides.style.bottom="auto",Ib.slides.style.right="auto",u({layout:"translate(-50%, -50%) scale("+Gb+")"}));for(var c=q(Ib.wrapper.querySelectorAll(yb)),d=0,e=c.length;e>d;d++){var f=c[d];"none"!==f.style.display&&(Cb.center||f.classList.contains("center")?f.classList.contains("stack")?f.style.top=0:f.style.top=Math.max((a.height-y(f))/2-b,0)+"px":f.style.top="")}ia(),ma()}}function M(a,b,c){q(Ib.slides.querySelectorAll("section > .stretch")).forEach(function(c){var d=z(c,b);if(/(img|video)/gi.test(c.nodeName)){var e=c.naturalWidth||c.videoWidth,f=c.naturalHeight||c.videoHeight,g=Math.min(a/e,d/f);c.style.width=e*g+"px",c.style.height=f*g+"px"}else c.style.width=a+"px",c.style.height=d+"px"})}function N(a,b){var c={width:Cb.width,height:Cb.height,presentationWidth:a||Ib.wrapper.offsetWidth,presentationHeight:b||Ib.wrapper.offsetHeight};return c.presentationWidth-=c.presentationWidth*Cb.margin,c.presentationHeight-=c.presentationHeight*Cb.margin,"string"==typeof c.width&&/%$/.test(c.width)&&(c.width=parseInt(c.width,10)/100*c.presentationWidth),"string"==typeof c.height&&/%$/.test(c.height)&&(c.height=parseInt(c.height,10)/100*c.presentationHeight),c}function O(a,b){"object"==typeof a&&"function"==typeof a.setAttribute&&a.setAttribute("data-previous-indexv",b||0)}function P(a){if("object"==typeof a&&"function"==typeof a.setAttribute&&a.classList.contains("stack")){var b=a.hasAttribute("data-start-indexv")?"data-start-indexv":"data-previous-indexv";return parseInt(a.getAttribute(b)||0,10)}return 0}function Q(){Cb.overview&&!V()&&(Eb=!0,Ib.wrapper.classList.add("overview"),Ib.wrapper.classList.remove("overview-deactivating"),Jb.overviewTransitions&&setTimeout(function(){Ib.wrapper.classList.add("overview-animated")},1),La(),Ib.slides.appendChild(Ib.background),q(Ib.wrapper.querySelectorAll(yb)).forEach(function(a){a.classList.contains("stack")||a.addEventListener("click",mb,!0)}),ha(),R(),S(),L(),D("overviewshown",{indexh:rb,indexv:sb,currentSlide:ub}))}function R(){var a=70,b=Cb.width+a,c=Cb.height+a;Cb.rtl&&(b=-b),q(Ib.wrapper.querySelectorAll(zb)).forEach(function(a,d){a.setAttribute("data-index-h",d),t(a,"translate3d("+d*b+"px, 0, 0)"),a.classList.contains("stack")&&q(a.querySelectorAll("section")).forEach(function(a,b){a.setAttribute("data-index-h",d),a.setAttribute("data-index-v",b),t(a,"translate3d(0, "+b*c+"px, 0)")})}),q(Ib.background.childNodes).forEach(function(a,d){t(a,"translate3d("+d*b+"px, 0, 0)"),q(a.querySelectorAll(".slide-background")).forEach(function(a,b){t(a,"translate3d(0, "+b*c+"px, 0)")})})}function S(){var a=70,b=Cb.width+a,c=Cb.height+a;Cb.rtl&&(b=-b),u({overview:["translateX("+-rb*b+"px)","translateY("+-sb*c+"px)","translateZ("+(window.innerWidth<400?-1e3:-2500)+"px)"].join(" ")})}function T(){Cb.overview&&(Eb=!1,Ib.wrapper.classList.remove("overview"),Ib.wrapper.classList.remove("overview-animated"),Ib.wrapper.classList.add("overview-deactivating"),setTimeout(function(){Ib.wrapper.classList.remove("overview-deactivating")},1),Ib.wrapper.appendChild(Ib.background),q(Ib.wrapper.querySelectorAll(yb)).forEach(function(a){t(a,""),a.removeEventListener("click",mb,!0)}),q(Ib.background.querySelectorAll(".slide-background")).forEach(function(a){t(a,"")}),u({overview:""}),ca(rb,sb),L(),Ka(),D("overviewhidden",{indexh:rb,indexv:sb,currentSlide:ub}))}function U(a){"boolean"==typeof a?a?Q():T():V()?T():Q()}function V(){return Eb}function W(a){return a=a?a:ub,a&&a.parentNode&&!!a.parentNode.nodeName.match(/section/i)}function X(){var a=document.body,b=a.requestFullScreen||a.webkitRequestFullscreen||a.webkitRequestFullScreen||a.mozRequestFullScreen||a.msRequestFullscreen;b&&b.apply(a)}function Y(){if(Cb.pause){var a=Ib.wrapper.classList.contains("paused");La(),Ib.wrapper.classList.add("paused"),a===!1&&D("paused")}}function Z(){var a=Ib.wrapper.classList.contains("paused");Ib.wrapper.classList.remove("paused"),Ka(),a&&D("resumed")}function $(a){"boolean"==typeof a?a?Y():Z():_()?Z():Y()}function _(){return Ib.wrapper.classList.contains("paused")}function aa(a){"boolean"==typeof a?a?Na():Ma():Qb?Na():Ma()}function ba(){return!(!Nb||Qb)}function ca(a,b,c,d){tb=ub;var e=Ib.wrapper.querySelectorAll(zb);void 0!==b||V()||(b=P(e[a])),tb&&tb.parentNode&&tb.parentNode.classList.contains("stack")&&O(tb.parentNode,sb);var f=Fb.concat();Fb.length=0;var g=rb||0,h=sb||0;rb=ga(zb,void 0===a?rb:a),sb=ga(Ab,void 0===b?sb:b),ha(),L();a:for(var i=0,j=Fb.length;j>i;i++){for(var k=0;k<f.length;k++)if(f[k]===Fb[i]){f.splice(k,1);continue a}document.documentElement.classList.add(Fb[i]),D(Fb[i])}for(;f.length;)document.documentElement.classList.remove(f.pop());V()&&S();var l=e[rb],m=l.querySelectorAll("section");ub=m[sb]||l,"undefined"!=typeof c&&Ha(c);var n=rb!==g||sb!==h;n?D("slidechanged",{indexh:rb,indexv:sb,previousSlide:tb,currentSlide:ub,origin:d}):tb=null,tb&&(tb.classList.remove("present"),tb.setAttribute("aria-hidden","true"),Ib.wrapper.querySelector(Bb).classList.contains("present")&&setTimeout(function(){var a,b=q(Ib.wrapper.querySelectorAll(zb+".stack"));for(a in b)b[a]&&O(b[a],0)},0)),(n||!tb)&&(ua(tb),sa(ub)),Ib.statusDiv.textContent=ub.textContent,ka(),ia(),la(),ma(),ja(),za(),Ka()}function da(){o(),n(),L(),Nb=Cb.autoSlide,Ka(),j(),za(),fa(),ka(),ia(),la(!0),ja(),ha(),ra(),sa(ub),V()&&R()}function ea(){var a=q(Ib.wrapper.querySelectorAll(zb));a.forEach(function(a){var b=q(a.querySelectorAll("section"));b.forEach(function(a,b){b>0&&(a.classList.remove("present"),a.classList.remove("past"),a.classList.add("future"),a.setAttribute("aria-hidden","true"))})})}function fa(){var a=q(Ib.wrapper.querySelectorAll(zb));a.forEach(function(a){var b=q(a.querySelectorAll("section"));b.forEach(function(a,b){Ga(a.querySelectorAll(".fragment"))}),0===b.length&&Ga(a.querySelectorAll(".fragment"))})}function ga(a,b){var c=q(Ib.wrapper.querySelectorAll(a)),d=c.length,e=A();if(d){Cb.loop&&(b%=d,0>b&&(b=d+b)),b=Math.max(Math.min(b,d-1),0);for(var f=0;d>f;f++){var g=c[f],h=Cb.rtl&&!W(g);if(g.classList.remove("past"),g.classList.remove("present"),g.classList.remove("future"),g.setAttribute("hidden",""),g.setAttribute("aria-hidden","true"),g.querySelector("section")&&g.classList.add("stack"),e)g.classList.add("present");else if(b>f){if(g.classList.add(h?"future":"past"),Cb.fragments)for(var i=q(g.querySelectorAll(".fragment"));i.length;){var j=i.pop();j.classList.add("visible"),j.classList.remove("current-fragment")}}else if(f>b&&(g.classList.add(h?"past":"future"),Cb.fragments))for(var k=q(g.querySelectorAll(".fragment.visible"));k.length;){var l=k.pop();l.classList.remove("visible"),l.classList.remove("current-fragment")}}c[b].classList.add("present"),c[b].removeAttribute("hidden"),c[b].removeAttribute("aria-hidden");var m=c[b].getAttribute("data-state");m&&(Fb=Fb.concat(m.split(" ")))}else b=0;return b}function ha(){var a,b,c=q(Ib.wrapper.querySelectorAll(zb)),d=c.length;if(d&&"undefined"!=typeof rb){var e=V()?10:Cb.viewDistance;wb&&(e=V()?6:2),A()&&(e=Number.MAX_VALUE);for(var f=0;d>f;f++){var g=c[f],h=q(g.querySelectorAll("section")),i=h.length;if(a=Math.abs((rb||0)-f)||0,Cb.loop&&(a=Math.abs(((rb||0)-f)%(d-e))||0),e>a?na(g):oa(g),i)for(var j=P(g),k=0;i>k;k++){var l=h[k];b=f===(rb||0)?Math.abs((sb||0)-k):Math.abs(k-j),e>a+b?na(l):oa(l)}}}}function ia(){Cb.progress&&Ib.progressbar&&(Ib.progressbar.style.width=wa()*Ib.wrapper.offsetWidth+"px")}function ja(){if(Cb.slideNumber&&Ib.slideNumber){var a="c";"string"==typeof Cb.slideNumber&&(a=Cb.slideNumber),Ib.slideNumber.innerHTML=a.replace(/h/g,rb).replace(/v/g,sb).replace(/c/g,va()+1).replace(/t/g,Ba())}}function ka(){var a=pa(),b=qa();Ib.controlsLeft.concat(Ib.controlsRight).concat(Ib.controlsUp).concat(Ib.controlsDown).concat(Ib.controlsPrev).concat(Ib.controlsNext).forEach(function(a){a.classList.remove("enabled"),a.classList.remove("fragmented")}),a.left&&Ib.controlsLeft.forEach(function(a){a.classList.add("enabled")}),a.right&&Ib.controlsRight.forEach(function(a){a.classList.add("enabled")}),a.up&&Ib.controlsUp.forEach(function(a){a.classList.add("enabled")}),a.down&&Ib.controlsDown.forEach(function(a){a.classList.add("enabled")}),(a.left||a.up)&&Ib.controlsPrev.forEach(function(a){a.classList.add("enabled")}),(a.right||a.down)&&Ib.controlsNext.forEach(function(a){a.classList.add("enabled")}),ub&&(b.prev&&Ib.controlsPrev.forEach(function(a){a.classList.add("fragmented","enabled")}),b.next&&Ib.controlsNext.forEach(function(a){a.classList.add("fragmented","enabled")}),W(ub)?(b.prev&&Ib.controlsUp.forEach(function(a){a.classList.add("fragmented","enabled")}),b.next&&Ib.controlsDown.forEach(function(a){a.classList.add("fragmented","enabled")})):(b.prev&&Ib.controlsLeft.forEach(function(a){a.classList.add("fragmented","enabled")}),b.next&&Ib.controlsRight.forEach(function(a){a.classList.add("fragmented","enabled")})))}function la(a){var b=null,c=Cb.rtl?"future":"past",d=Cb.rtl?"past":"future";if(q(Ib.background.childNodes).forEach(function(e,f){e.classList.remove("past"),e.classList.remove("present"),e.classList.remove("future"),rb>f?e.classList.add(c):f>rb?e.classList.add(d):(e.classList.add("present"),b=e),(a||f===rb)&&q(e.querySelectorAll(".slide-background")).forEach(function(a,c){a.classList.remove("past"),a.classList.remove("present"),a.classList.remove("future"),sb>c?a.classList.add("past"):c>sb?a.classList.add("future"):(a.classList.add("present"),f===rb&&(b=a))})}),vb){var e=vb.querySelector("video");e&&e.pause()}if(b){var f=b.querySelector("video");f&&(f.currentTime=0,f.play());var g=b.style.backgroundImage||"";/\.gif/i.test(g)&&(b.style.backgroundImage="",window.getComputedStyle(b).opacity,b.style.backgroundImage=g);var h=vb?vb.getAttribute("data-background-hash"):null,i=b.getAttribute("data-background-hash");i&&i===h&&b!==vb&&Ib.background.classList.add("no-transition"),vb=b}ub&&["has-light-background","has-dark-background"].forEach(function(a){ub.classList.contains(a)?Ib.wrapper.classList.add(a):Ib.wrapper.classList.remove(a)}),setTimeout(function(){Ib.background.classList.remove("no-transition")},1)}function ma(){if(Cb.parallaxBackgroundImage){var a,b,c=Ib.wrapper.querySelectorAll(zb),d=Ib.wrapper.querySelectorAll(Ab),e=Ib.background.style.backgroundSize.split(" ");1===e.length?a=b=parseInt(e[0],10):(a=parseInt(e[0],10),b=parseInt(e[1],10));var f,g,h=Ib.background.offsetWidth,i=c.length;f="number"==typeof Cb.parallaxBackgroundHorizontal?Cb.parallaxBackgroundHorizontal:(a-h)/(i-1),g=f*rb*-1;var j,k,l=Ib.background.offsetHeight,m=d.length;j="number"==typeof Cb.parallaxBackgroundVertical?Cb.parallaxBackgroundVertical:(b-l)/(m-1),k=m>0?j*sb*1:0,Ib.background.style.backgroundPosition=g+"px "+-k+"px"}}function na(a){a.style.display="block",q(a.querySelectorAll("img[data-src], video[data-src], audio[data-src]")).forEach(function(a){a.setAttribute("src",a.getAttribute("data-src")),a.removeAttribute("data-src")}),q(a.querySelectorAll("video, audio")).forEach(function(a){var b=0;q(a.querySelectorAll("source[data-src]")).forEach(function(a){a.setAttribute("src",a.getAttribute("data-src")),a.removeAttribute("data-src"),b+=1}),b>0&&a.load()});var b=Aa(a),c=Da(b.h,b.v);if(c&&(c.style.display="block",c.hasAttribute("data-loaded")===!1)){c.setAttribute("data-loaded","true");var d=a.getAttribute("data-background-image"),e=a.getAttribute("data-background-video"),f=a.hasAttribute("data-background-video-loop"),g=a.getAttribute("data-background-iframe");if(d)c.style.backgroundImage="url("+d+")";else if(e&&!xa()){var h=document.createElement("video");f&&h.setAttribute("loop",""),e.split(",").forEach(function(a){h.innerHTML+='<source src="'+a+'">'}),c.appendChild(h)}else if(g){var i=document.createElement("iframe");i.setAttribute("src",g),i.style.width="100%",i.style.height="100%",i.style.maxHeight="100%",i.style.maxWidth="100%",c.appendChild(i)}}}function oa(a){a.style.display="none";var b=Aa(a),c=Da(b.h,b.v);c&&(c.style.display="none")}function pa(){var a=Ib.wrapper.querySelectorAll(zb),b=Ib.wrapper.querySelectorAll(Ab),c={left:rb>0||Cb.loop,right:rb<a.length-1||Cb.loop,up:sb>0,down:sb<b.length-1};if(Cb.rtl){var d=c.left;c.left=c.right,c.right=d}return c}function qa(){if(ub&&Cb.fragments){var a=ub.querySelectorAll(".fragment"),b=ub.querySelectorAll(".fragment:not(.visible)");return{prev:a.length-b.length>0,next:!!b.length}}return{prev:!1,next:!1}}function ra(){var a=function(a,b,c){q(Ib.slides.querySelectorAll("iframe["+a+'*="'+b+'"]')).forEach(function(b){var d=b.getAttribute(a);d&&-1===d.indexOf(c)&&b.setAttribute(a,d+(/\?/.test(d)?"&":"?")+c)})};a("src","youtube.com/embed/","enablejsapi=1"),a("data-src","youtube.com/embed/","enablejsapi=1"),a("src","player.vimeo.com/","api=1"),a("data-src","player.vimeo.com/","api=1")}function sa(a){a&&!xa()&&(q(a.querySelectorAll('img[src$=".gif"]')).forEach(function(a){a.setAttribute("src",a.getAttribute("src"))}),q(a.querySelectorAll("video, audio")).forEach(function(a){a.hasAttribute("data-autoplay")&&"function"==typeof a.play&&a.play()}),q(a.querySelectorAll("iframe[src]")).forEach(function(a){ta({target:a})}),q(a.querySelectorAll("iframe[data-src]")).forEach(function(a){a.getAttribute("src")!==a.getAttribute("data-src")&&(a.removeEventListener("load",ta),a.addEventListener("load",ta),a.setAttribute("src",a.getAttribute("data-src")))}))}function ta(a){var b=a.target;/youtube\.com\/embed\//.test(b.getAttribute("src"))&&b.hasAttribute("data-autoplay")?b.contentWindow.postMessage('{"event":"command","func":"playVideo","args":""}',"*"):/player\.vimeo\.com\//.test(b.getAttribute("src"))&&b.hasAttribute("data-autoplay")?b.contentWindow.postMessage('{"method":"play"}',"*"):b.contentWindow.postMessage("slide:start","*")}function ua(a){a&&a.parentNode&&(q(a.querySelectorAll("video, audio")).forEach(function(a){a.hasAttribute("data-ignore")||"function"!=typeof a.pause||a.pause()}),q(a.querySelectorAll("iframe")).forEach(function(a){a.contentWindow.postMessage("slide:stop","*"),a.removeEventListener("load",ta)}),q(a.querySelectorAll('iframe[src*="youtube.com/embed/"]')).forEach(function(a){a.hasAttribute("data-ignore")||"function"!=typeof a.contentWindow.postMessage||a.contentWindow.postMessage('{"event":"command","func":"pauseVideo","args":""}',"*")}),q(a.querySelectorAll('iframe[src*="player.vimeo.com/"]')).forEach(function(a){a.hasAttribute("data-ignore")||"function"!=typeof a.contentWindow.postMessage||a.contentWindow.postMessage('{"method":"pause"}',"*")}),q(a.querySelectorAll("iframe[data-src]")).forEach(function(a){a.setAttribute("src","about:blank"),a.removeAttribute("src")}))}function va(){var a=q(Ib.wrapper.querySelectorAll(zb)),b=0;a:for(var c=0;c<a.length;c++){
9
+ for(var d=a[c],e=q(d.querySelectorAll("section")),f=0;f<e.length;f++){if(e[f].classList.contains("present"))break a;b++}if(d.classList.contains("present"))break;d.classList.contains("stack")===!1&&b++}return b}function wa(){var a=Ba(),b=va();if(ub){var c=ub.querySelectorAll(".fragment");if(c.length>0){var d=ub.querySelectorAll(".fragment.visible"),e=.9;b+=d.length/c.length*e}}return b/(a-1)}function xa(){return!!window.location.search.match(/receiver/gi)}function ya(){var a=window.location.hash,b=a.slice(2).split("/"),c=a.replace(/#|\//gi,"");if(isNaN(parseInt(b[0],10))&&c.length){var d;if(/^[a-zA-Z][\w:.-]*$/.test(c)&&(d=document.getElementById(c)),d){var e=qb.getIndices(d);ca(e.h,e.v)}else ca(rb||0,sb||0)}else{var f=parseInt(b[0],10)||0,g=parseInt(b[1],10)||0;(f!==rb||g!==sb)&&ca(f,g)}}function za(a){if(Cb.history)if(clearTimeout(Lb),"number"==typeof a)Lb=setTimeout(za,a);else if(ub){var b="/",c=ub.getAttribute("id");c&&(c=c.toLowerCase(),c=c.replace(/[^a-zA-Z0-9\-\_\:\.]/g,"")),"string"==typeof c&&c.length?b="/"+c:((rb>0||sb>0)&&(b+=rb),sb>0&&(b+="/"+sb)),window.location.hash=b}}function Aa(a){var b,c=rb,d=sb;if(a){var e=W(a),f=e?a.parentNode:a,g=q(Ib.wrapper.querySelectorAll(zb));c=Math.max(g.indexOf(f),0),d=void 0,e&&(d=Math.max(q(a.parentNode.querySelectorAll("section")).indexOf(a),0))}if(!a&&ub){var h=ub.querySelectorAll(".fragment").length>0;if(h){var i=ub.querySelector(".current-fragment");b=i&&i.hasAttribute("data-fragment-index")?parseInt(i.getAttribute("data-fragment-index"),10):ub.querySelectorAll(".fragment.visible").length-1}}return{h:c,v:d,f:b}}function Ba(){return Ib.wrapper.querySelectorAll(yb+":not(.stack)").length}function Ca(a,b){var c=Ib.wrapper.querySelectorAll(zb)[a],d=c&&c.querySelectorAll("section");return d&&d.length&&"number"==typeof b?d?d[b]:void 0:c}function Da(a,b){if(A()){var c=Ca(a,b);if(c){var d=c.querySelector(".slide-background");if(d&&d.parentNode===c)return d}return void 0}var e=Ib.wrapper.querySelectorAll(".backgrounds>.slide-background")[a],f=e&&e.querySelectorAll(".slide-background");return f&&f.length&&"number"==typeof b?f?f[b]:void 0:e}function Ea(){var a=Aa();return{indexh:a.h,indexv:a.v,indexf:a.f,paused:_(),overview:V()}}function Fa(a){if("object"==typeof a){ca(r(a.indexh),r(a.indexv),r(a.indexf));var b=r(a.paused),c=r(a.overview);"boolean"==typeof b&&b!==_()&&$(b),"boolean"==typeof c&&c!==V()&&U(c)}}function Ga(a){a=q(a);var b=[],c=[],d=[];a.forEach(function(a,d){if(a.hasAttribute("data-fragment-index")){var e=parseInt(a.getAttribute("data-fragment-index"),10);b[e]||(b[e]=[]),b[e].push(a)}else c.push([a])}),b=b.concat(c);var e=0;return b.forEach(function(a){a.forEach(function(a){d.push(a),a.setAttribute("data-fragment-index",e)}),e++}),d}function Ha(a,b){if(ub&&Cb.fragments){var c=Ga(ub.querySelectorAll(".fragment"));if(c.length){if("number"!=typeof a){var d=Ga(ub.querySelectorAll(".fragment.visible")).pop();a=d?parseInt(d.getAttribute("data-fragment-index")||0,10):-1}"number"==typeof b&&(a+=b);var e=[],f=[];return q(c).forEach(function(b,c){b.hasAttribute("data-fragment-index")&&(c=parseInt(b.getAttribute("data-fragment-index"),10)),a>=c?(b.classList.contains("visible")||e.push(b),b.classList.add("visible"),b.classList.remove("current-fragment"),Ib.statusDiv.textContent=b.textContent,c===a&&b.classList.add("current-fragment")):(b.classList.contains("visible")&&f.push(b),b.classList.remove("visible"),b.classList.remove("current-fragment"))}),f.length&&D("fragmenthidden",{fragment:f[0],fragments:f}),e.length&&D("fragmentshown",{fragment:e[0],fragments:e}),ka(),ia(),!(!e.length&&!f.length)}}return!1}function Ia(){return Ha(null,1)}function Ja(){return Ha(null,-1)}function Ka(){if(La(),ub){var a=ub.querySelector(".current-fragment"),b=a?a.getAttribute("data-autoslide"):null,c=ub.parentNode?ub.parentNode.getAttribute("data-autoslide"):null,d=ub.getAttribute("data-autoslide");Nb=b?parseInt(b,10):d?parseInt(d,10):c?parseInt(c,10):Cb.autoSlide,0===ub.querySelectorAll(".fragment").length&&q(ub.querySelectorAll("video, audio")).forEach(function(a){a.hasAttribute("data-autoplay")&&Nb&&1e3*a.duration>Nb&&(Nb=1e3*a.duration+1e3)}),!Nb||Qb||_()||V()||qb.isLastSlide()&&!qa().next&&Cb.loop!==!0||(Ob=setTimeout(Ta,Nb),Pb=Date.now()),xb&&xb.setPlaying(-1!==Ob)}}function La(){clearTimeout(Ob),Ob=-1}function Ma(){Nb&&!Qb&&(Qb=!0,D("autoslidepaused"),clearTimeout(Ob),xb&&xb.setPlaying(!1))}function Na(){Nb&&Qb&&(Qb=!1,D("autoslideresumed"),Ka())}function Oa(){Cb.rtl?(V()||Ia()===!1)&&pa().left&&ca(rb+1):(V()||Ja()===!1)&&pa().left&&ca(rb-1)}function Pa(){Cb.rtl?(V()||Ja()===!1)&&pa().right&&ca(rb-1):(V()||Ia()===!1)&&pa().right&&ca(rb+1)}function Qa(){(V()||Ja()===!1)&&pa().up&&ca(rb,sb-1)}function Ra(){(V()||Ia()===!1)&&pa().down&&ca(rb,sb+1)}function Sa(){if(Ja()===!1)if(pa().up)Qa();else{var a;if(a=Cb.rtl?q(Ib.wrapper.querySelectorAll(zb+".future")).pop():q(Ib.wrapper.querySelectorAll(zb+".past")).pop()){var b=a.querySelectorAll("section").length-1||void 0,c=rb-1;ca(c,b)}}}function Ta(){Ia()===!1&&(pa().down?Ra():Cb.rtl?Oa():Pa()),Ka()}function Ua(a){Cb.autoSlideStoppable&&Ma()}function Va(a){a.shiftKey&&63===a.charCode&&(Ib.overlay?K():J(!0))}function Wa(a){if("function"==typeof Cb.keyboardCondition&&Cb.keyboardCondition()===!1)return!0;var b=Qb;Ua(a);var c=document.activeElement&&"inherit"!==document.activeElement.contentEditable,d=document.activeElement&&document.activeElement.tagName&&/input|textarea/i.test(document.activeElement.tagName);if(!(c||d||a.shiftKey&&32!==a.keyCode||a.altKey||a.ctrlKey||a.metaKey)){if(_()&&-1===[66,190,191].indexOf(a.keyCode))return!1;var e=!1;if("object"==typeof Cb.keyboard)for(var f in Cb.keyboard)if(parseInt(f,10)===a.keyCode){var g=Cb.keyboard[f];"function"==typeof g?g.apply(null,[a]):"string"==typeof g&&"function"==typeof qb[g]&&qb[g].call(),e=!0}if(e===!1)switch(e=!0,a.keyCode){case 80:case 33:Sa();break;case 78:case 34:Ta();break;case 72:case 37:Oa();break;case 76:case 39:Pa();break;case 75:case 38:Qa();break;case 74:case 40:Ra();break;case 36:ca(0);break;case 35:ca(Number.MAX_VALUE);break;case 32:V()?T():a.shiftKey?Sa():Ta();break;case 13:V()?T():e=!1;break;case 58:case 59:case 66:case 190:case 191:$();break;case 70:X();break;case 65:Cb.autoSlideStoppable&&aa(b);break;default:e=!1}e?a.preventDefault&&a.preventDefault():27!==a.keyCode&&79!==a.keyCode||!Jb.transforms3d||(Ib.overlay?K():U(),a.preventDefault&&a.preventDefault()),Ka()}}function Xa(a){Rb.startX=a.touches[0].clientX,Rb.startY=a.touches[0].clientY,Rb.startCount=a.touches.length,2===a.touches.length&&Cb.overview&&(Rb.startSpan=s({x:a.touches[1].clientX,y:a.touches[1].clientY},{x:Rb.startX,y:Rb.startY}))}function Ya(a){if(Rb.captured)navigator.userAgent.match(/android/gi)&&a.preventDefault();else{Ua(a);var b=a.touches[0].clientX,c=a.touches[0].clientY;if(2===a.touches.length&&2===Rb.startCount&&Cb.overview){var d=s({x:a.touches[1].clientX,y:a.touches[1].clientY},{x:Rb.startX,y:Rb.startY});Math.abs(Rb.startSpan-d)>Rb.threshold&&(Rb.captured=!0,d<Rb.startSpan?Q():T()),a.preventDefault()}else if(1===a.touches.length&&2!==Rb.startCount){var e=b-Rb.startX,f=c-Rb.startY;e>Rb.threshold&&Math.abs(e)>Math.abs(f)?(Rb.captured=!0,Oa()):e<-Rb.threshold&&Math.abs(e)>Math.abs(f)?(Rb.captured=!0,Pa()):f>Rb.threshold?(Rb.captured=!0,Qa()):f<-Rb.threshold&&(Rb.captured=!0,Ra()),Cb.embedded?(Rb.captured||W(ub))&&a.preventDefault():a.preventDefault()}}}function Za(a){Rb.captured=!1}function $a(a){(a.pointerType===a.MSPOINTER_TYPE_TOUCH||"touch"===a.pointerType)&&(a.touches=[{clientX:a.clientX,clientY:a.clientY}],Xa(a))}function _a(a){(a.pointerType===a.MSPOINTER_TYPE_TOUCH||"touch"===a.pointerType)&&(a.touches=[{clientX:a.clientX,clientY:a.clientY}],Ya(a))}function ab(a){(a.pointerType===a.MSPOINTER_TYPE_TOUCH||"touch"===a.pointerType)&&(a.touches=[{clientX:a.clientX,clientY:a.clientY}],Za(a))}function bb(a){if(Date.now()-Kb>600){Kb=Date.now();var b=a.detail||-a.wheelDelta;b>0?Ta():Sa()}}function cb(a){Ua(a),a.preventDefault();var b=q(Ib.wrapper.querySelectorAll(zb)).length,c=Math.floor(a.clientX/Ib.wrapper.offsetWidth*b);Cb.rtl&&(c=b-c),ca(c)}function db(a){a.preventDefault(),Ua(),Oa()}function eb(a){a.preventDefault(),Ua(),Pa()}function fb(a){a.preventDefault(),Ua(),Qa()}function gb(a){a.preventDefault(),Ua(),Ra()}function hb(a){a.preventDefault(),Ua(),Sa()}function ib(a){a.preventDefault(),Ua(),Ta()}function jb(a){ya()}function kb(a){L()}function lb(a){var b=document.webkitHidden||document.msHidden||document.hidden;b===!1&&document.activeElement!==document.body&&("function"==typeof document.activeElement.blur&&document.activeElement.blur(),document.body.focus())}function mb(a){if(Mb&&V()){a.preventDefault();for(var b=a.target;b&&!b.nodeName.match(/section/gi);)b=b.parentNode;if(b&&!b.classList.contains("disabled")&&(T(),b.nodeName.match(/section/gi))){var c=parseInt(b.getAttribute("data-index-h"),10),d=parseInt(b.getAttribute("data-index-v"),10);ca(c,d)}}}function nb(a){if(a.currentTarget&&a.currentTarget.hasAttribute("href")){var b=a.currentTarget.getAttribute("href");b&&(I(b),a.preventDefault())}}function ob(a){qb.isLastSlide()&&Cb.loop===!1?(ca(0,0),Na()):Qb?Na():Ma()}function pb(a,b){this.diameter=50,this.thickness=3,this.playing=!1,this.progress=0,this.progressOffset=1,this.container=a,this.progressCheck=b,this.canvas=document.createElement("canvas"),this.canvas.className="playback",this.canvas.width=this.diameter,this.canvas.height=this.diameter,this.context=this.canvas.getContext("2d"),this.container.appendChild(this.canvas),this.render()}var qb,rb,sb,tb,ub,vb,wb,xb,yb=".slides section",zb=".slides>section",Ab=".slides>section.present>section",Bb=".slides>section:first-of-type",Cb={width:960,height:700,margin:.1,minScale:.2,maxScale:1.5,controls:!0,progress:!0,slideNumber:!1,history:!1,keyboard:!0,keyboardCondition:null,overview:!0,center:!0,touch:!0,loop:!1,rtl:!1,fragments:!0,embedded:!1,help:!0,pause:!0,autoSlide:0,autoSlideStoppable:!0,mouseWheel:!1,rollingLinks:!1,hideAddressBar:!0,previewLinks:!1,postMessage:!0,postMessageEvents:!1,focusBodyOnPageVisibilityChange:!0,transition:"slide",transitionSpeed:"default",backgroundTransition:"fade",parallaxBackgroundImage:"",parallaxBackgroundSize:"",parallaxBackgroundHorizontal:null,parallaxBackgroundVertical:null,viewDistance:3,dependencies:[]},Db=!1,Eb=!1,Fb=[],Gb=1,Hb={layout:"",overview:""},Ib={},Jb={},Kb=0,Lb=0,Mb=!1,Nb=0,Ob=0,Pb=-1,Qb=!1,Rb={startX:0,startY:0,startSpan:0,startCount:0,captured:!1,threshold:40},Sb={"N , SPACE":"Next slide",P:"Previous slide","&#8592; , H":"Navigate left","&#8594; , L":"Navigate right","&#8593; , K":"Navigate up","&#8595; , J":"Navigate down",Home:"First slide",End:"Last slide","B , .":"Pause",F:"Fullscreen","ESC, O":"Slide overview"};return pb.prototype.setPlaying=function(a){var b=this.playing;this.playing=a,!b&&this.playing?this.animate():this.render()},pb.prototype.animate=function(){var a=this.progress;this.progress=this.progressCheck(),a>.8&&this.progress<.2&&(this.progressOffset=this.progress),this.render(),this.playing&&Jb.requestAnimationFrameMethod.call(window,this.animate.bind(this))},pb.prototype.render=function(){var a=this.playing?this.progress:0,b=this.diameter/2-this.thickness,c=this.diameter/2,d=this.diameter/2,e=14;this.progressOffset+=.1*(1-this.progressOffset);var f=-Math.PI/2+2*a*Math.PI,g=-Math.PI/2+2*this.progressOffset*Math.PI;this.context.save(),this.context.clearRect(0,0,this.diameter,this.diameter),this.context.beginPath(),this.context.arc(c,d,b+2,0,2*Math.PI,!1),this.context.fillStyle="rgba( 0, 0, 0, 0.4 )",this.context.fill(),this.context.beginPath(),this.context.arc(c,d,b,0,2*Math.PI,!1),this.context.lineWidth=this.thickness,this.context.strokeStyle="#666",this.context.stroke(),this.playing&&(this.context.beginPath(),this.context.arc(c,d,b,g,f,!1),this.context.lineWidth=this.thickness,this.context.strokeStyle="#fff",this.context.stroke()),this.context.translate(c-e/2,d-e/2),this.playing?(this.context.fillStyle="#fff",this.context.fillRect(0,0,e/2-2,e),this.context.fillRect(e/2+2,0,e/2-2,e)):(this.context.beginPath(),this.context.translate(2,0),this.context.moveTo(0,0),this.context.lineTo(e-2,e/2),this.context.lineTo(0,e),this.context.fillStyle="#fff",this.context.fill()),this.context.restore()},pb.prototype.on=function(a,b){this.canvas.addEventListener(a,b,!1)},pb.prototype.off=function(a,b){this.canvas.removeEventListener(a,b,!1)},pb.prototype.destroy=function(){this.playing=!1,this.canvas.parentNode&&this.container.removeChild(this.canvas)},qb={initialize:a,configure:m,sync:da,slide:ca,left:Oa,right:Pa,up:Qa,down:Ra,prev:Sa,next:Ta,navigateFragment:Ha,prevFragment:Ja,nextFragment:Ia,navigateTo:ca,navigateLeft:Oa,navigateRight:Pa,navigateUp:Qa,navigateDown:Ra,navigatePrev:Sa,navigateNext:Ta,layout:L,availableRoutes:pa,availableFragments:qa,toggleOverview:U,togglePause:$,toggleAutoSlide:aa,isOverview:V,isPaused:_,isAutoSliding:ba,addEventListeners:n,removeEventListeners:o,getState:Ea,setState:Fa,getProgress:wa,getIndices:Aa,getTotalSlides:Ba,getSlide:Ca,getSlideBackground:Da,getPreviousSlide:function(){return tb},getCurrentSlide:function(){return ub},getScale:function(){return Gb},getConfig:function(){return Cb},getQueryHash:function(){var a={};location.search.replace(/[A-Z0-9]+?=([\w\.%-]*)/gi,function(b){a[b.split("=").shift()]=b.split("=").pop()});for(var b in a){var c=a[b];a[b]=r(unescape(c))}return a},isFirstSlide:function(){return 0===rb&&0===sb},isLastSlide:function(){return ub?ub.nextElementSibling?!1:W(ub)&&ub.parentNode.nextElementSibling?!1:!0:!1},isReady:function(){return Db},addEventListener:function(a,b,c){"addEventListener"in window&&(Ib.wrapper||document.querySelector(".reveal")).addEventListener(a,b,c)},removeEventListener:function(a,b,c){"addEventListener"in window&&(Ib.wrapper||document.querySelector(".reveal")).removeEventListener(a,b,c)},triggerKey:function(a){Wa({keyCode:a})}}});
@@ -2,8 +2,6 @@
2
2
 
3
3
  Themes are written using Sass to keep things modular and reduce the need for repeated selectors across files. Make sure that you have the reveal.js development environment including the Grunt dependencies installed before proceding: https://github.com/hakimel/reveal.js#full-setup
4
4
 
5
- You also need to install Ruby and then Sass (with `gem install sass`).
6
-
7
5
  ## Creating a Theme
8
6
 
9
7
  To create your own theme, start by duplicating any ```.scss``` file in [/css/theme/source](https://github.com/hakimel/reveal.js/blob/master/css/theme/source) and adding it to the compilation list in the [Gruntfile](https://github.com/hakimel/reveal.js/blob/master/Gruntfile.js).
@@ -17,9 +15,9 @@ Shared utility functions.
17
15
  Declares a set of custom variables that the template file (step 4) expects. Can be overridden in step 3.
18
16
 
19
17
  3. **Override**
20
- This is where you override the default theme. Either by specifying variables (see [settings.scss](https://github.com/hakimel/reveal.js/blob/master/css/theme/template/settings.scss) for reference) or by adding full selectors with hardcoded styles.
18
+ This is where you override the default theme. Either by specifying variables (see [settings.scss](https://github.com/hakimel/reveal.js/blob/master/css/theme/template/settings.scss) for reference) or by adding any selectors and styles you please.
21
19
 
22
20
  4. **Include [/css/theme/template/theme.scss](https://github.com/hakimel/reveal.js/blob/master/css/theme/template/theme.scss)**
23
21
  The template theme file which will generate final CSS output based on the currently defined variables.
24
22
 
25
- When you are done, run `grunt themes` to compile the Sass file to CSS and you are ready to use your new theme.
23
+ When you are done, run `grunt css-themes` to compile the Sass file to CSS and you are ready to use your new theme.
@@ -1,81 +1,210 @@
1
+ @import url(../../lib/font/league-gothic/league-gothic.css);
1
2
  @import url(https://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic);
2
3
  /**
3
4
  * Beige theme for reveal.js.
4
5
  *
5
6
  * Copyright (C) 2011-2012 Hakim El Hattab, http://hakim.se
6
7
  */
7
- @font-face {
8
- font-family: 'League Gothic';
9
- src: url("../../lib/font/league_gothic-webfont.eot");
10
- src: url("../../lib/font/league_gothic-webfont.eot?#iefix") format("embedded-opentype"), url("../../lib/font/league_gothic-webfont.woff") format("woff"), url("../../lib/font/league_gothic-webfont.ttf") format("truetype"), url("../../lib/font/league_gothic-webfont.svg#LeagueGothicRegular") format("svg");
11
- font-weight: normal;
12
- font-style: normal; }
13
-
14
8
  /*********************************************
15
9
  * GLOBAL STYLES
16
10
  *********************************************/
17
11
  body {
18
12
  background: #f7f2d3;
19
- background: -moz-radial-gradient(center, circle cover, white 0%, #f7f2d3 100%);
20
- background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%, white), color-stop(100%, #f7f2d3));
21
- background: -webkit-radial-gradient(center, circle cover, white 0%, #f7f2d3 100%);
22
- background: -o-radial-gradient(center, circle cover, white 0%, #f7f2d3 100%);
23
- background: -ms-radial-gradient(center, circle cover, white 0%, #f7f2d3 100%);
24
- background: radial-gradient(center, circle cover, white 0%, #f7f2d3 100%);
13
+ background: -moz-radial-gradient(center, circle cover, #ffffff 0%, #f7f2d3 100%);
14
+ background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%, #ffffff), color-stop(100%, #f7f2d3));
15
+ background: -webkit-radial-gradient(center, circle cover, #ffffff 0%, #f7f2d3 100%);
16
+ background: -o-radial-gradient(center, circle cover, #ffffff 0%, #f7f2d3 100%);
17
+ background: -ms-radial-gradient(center, circle cover, #ffffff 0%, #f7f2d3 100%);
18
+ background: radial-gradient(center, circle cover, #ffffff 0%, #f7f2d3 100%);
25
19
  background-color: #f7f3de; }
26
20
 
27
21
  .reveal {
28
- font-family: "Lato", sans-serif;
22
+ font-family: 'Lato', sans-serif;
29
23
  font-size: 36px;
30
24
  font-weight: normal;
31
- letter-spacing: -0.02em;
32
- color: #333333; }
25
+ color: #333; }
33
26
 
34
27
  ::selection {
35
- color: white;
28
+ color: #fff;
36
29
  background: rgba(79, 64, 28, 0.99);
37
30
  text-shadow: none; }
38
31
 
32
+ .reveal .slides > section, .reveal .slides > section > section {
33
+ line-height: 1.3;
34
+ font-weight: inherit; }
35
+
39
36
  /*********************************************
40
37
  * HEADERS
41
38
  *********************************************/
42
- .reveal h1,
43
- .reveal h2,
44
- .reveal h3,
45
- .reveal h4,
46
- .reveal h5,
47
- .reveal h6 {
39
+ .reveal h1, .reveal h2, .reveal h3, .reveal h4, .reveal h5, .reveal h6 {
48
40
  margin: 0 0 20px 0;
49
- color: #333333;
50
- font-family: "League Gothic", Impact, sans-serif;
51
- line-height: 0.9em;
52
- letter-spacing: 0.02em;
41
+ color: #333;
42
+ font-family: 'League Gothic', Impact, sans-serif;
43
+ font-weight: normal;
44
+ line-height: 1.2;
45
+ letter-spacing: normal;
53
46
  text-transform: uppercase;
54
- text-shadow: none; }
47
+ text-shadow: none;
48
+ word-wrap: break-word; }
49
+
50
+ .reveal h1 {
51
+ font-size: 3.77em; }
52
+
53
+ .reveal h2 {
54
+ font-size: 2.11em; }
55
+
56
+ .reveal h3 {
57
+ font-size: 1.55em; }
58
+
59
+ .reveal h4 {
60
+ font-size: 1em; }
55
61
 
56
62
  .reveal h1 {
57
- text-shadow: 0 1px 0 #cccccc, 0 2px 0 #c9c9c9, 0 3px 0 #bbbbbb, 0 4px 0 #b9b9b9, 0 5px 0 #aaaaaa, 0 6px 1px rgba(0, 0, 0, 0.1), 0 0 5px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.3), 0 3px 5px rgba(0, 0, 0, 0.2), 0 5px 10px rgba(0, 0, 0, 0.25), 0 20px 20px rgba(0, 0, 0, 0.15); }
63
+ text-shadow: 0 1px 0 #ccc, 0 2px 0 #c9c9c9, 0 3px 0 #bbb, 0 4px 0 #b9b9b9, 0 5px 0 #aaa, 0 6px 1px rgba(0, 0, 0, 0.1), 0 0 5px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.3), 0 3px 5px rgba(0, 0, 0, 0.2), 0 5px 10px rgba(0, 0, 0, 0.25), 0 20px 20px rgba(0, 0, 0, 0.15); }
64
+
65
+ /*********************************************
66
+ * OTHER
67
+ *********************************************/
68
+ .reveal p {
69
+ margin: 20px 0;
70
+ line-height: 1.3; }
71
+
72
+ /* Ensure certain elements are never larger than the slide itself */
73
+ .reveal img, .reveal video, .reveal iframe {
74
+ max-width: 95%;
75
+ max-height: 95%; }
76
+
77
+ .reveal strong, .reveal b {
78
+ font-weight: bold; }
79
+
80
+ .reveal em {
81
+ font-style: italic; }
82
+
83
+ .reveal ol, .reveal dl, .reveal ul {
84
+ display: inline-block;
85
+ text-align: left;
86
+ margin: 0 0 0 1em; }
87
+
88
+ .reveal ol {
89
+ list-style-type: decimal; }
90
+
91
+ .reveal ul {
92
+ list-style-type: disc; }
93
+
94
+ .reveal ul ul {
95
+ list-style-type: square; }
96
+
97
+ .reveal ul ul ul {
98
+ list-style-type: circle; }
99
+
100
+ .reveal ul ul, .reveal ul ol, .reveal ol ol, .reveal ol ul {
101
+ display: block;
102
+ margin-left: 40px; }
103
+
104
+ .reveal dt {
105
+ font-weight: bold; }
106
+
107
+ .reveal dd {
108
+ margin-left: 40px; }
109
+
110
+ .reveal q, .reveal blockquote {
111
+ quotes: none; }
112
+
113
+ .reveal blockquote {
114
+ display: block;
115
+ position: relative;
116
+ width: 70%;
117
+ margin: 20px auto;
118
+ padding: 5px;
119
+ font-style: italic;
120
+ background: rgba(255, 255, 255, 0.05);
121
+ box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.2); }
122
+
123
+ .reveal blockquote p:first-child, .reveal blockquote p:last-child {
124
+ display: inline-block; }
125
+
126
+ .reveal q {
127
+ font-style: italic; }
128
+
129
+ .reveal pre {
130
+ display: block;
131
+ position: relative;
132
+ width: 90%;
133
+ margin: 20px auto;
134
+ text-align: left;
135
+ font-size: 0.55em;
136
+ font-family: monospace;
137
+ line-height: 1.2em;
138
+ word-wrap: break-word;
139
+ box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.3); }
140
+
141
+ .reveal code {
142
+ font-family: monospace; }
143
+
144
+ .reveal pre code {
145
+ display: block;
146
+ padding: 5px;
147
+ overflow: auto;
148
+ max-height: 400px;
149
+ word-wrap: normal;
150
+ background: #3F3F3F;
151
+ color: #DCDCDC; }
152
+
153
+ .reveal table {
154
+ margin: auto;
155
+ border-collapse: collapse;
156
+ border-spacing: 0; }
157
+
158
+ .reveal table th {
159
+ font-weight: bold; }
160
+
161
+ .reveal table th, .reveal table td {
162
+ text-align: left;
163
+ padding: 0.2em 0.5em 0.2em 0.5em;
164
+ border-bottom: 1px solid; }
165
+
166
+ .reveal table th[align="center"], .reveal table td[align="center"] {
167
+ text-align: center; }
168
+
169
+ .reveal table th[align="right"], .reveal table td[align="right"] {
170
+ text-align: right; }
171
+
172
+ .reveal table tr:last-child td {
173
+ border-bottom: none; }
174
+
175
+ .reveal sup {
176
+ vertical-align: super; }
177
+
178
+ .reveal sub {
179
+ vertical-align: sub; }
180
+
181
+ .reveal small {
182
+ display: inline-block;
183
+ font-size: 0.6em;
184
+ line-height: 1.2em;
185
+ vertical-align: top; }
186
+
187
+ .reveal small * {
188
+ vertical-align: top; }
58
189
 
59
190
  /*********************************************
60
191
  * LINKS
61
192
  *********************************************/
62
- .reveal a:not(.image) {
193
+ .reveal a {
63
194
  color: #8b743d;
64
195
  text-decoration: none;
65
- -webkit-transition: color .15s ease;
66
- -moz-transition: color .15s ease;
67
- -ms-transition: color .15s ease;
68
- -o-transition: color .15s ease;
69
- transition: color .15s ease; }
70
-
71
- .reveal a:not(.image):hover {
72
- color: #c0a86e;
196
+ -webkit-transition: color 0.15s ease;
197
+ -moz-transition: color 0.15s ease;
198
+ transition: color 0.15s ease; }
199
+
200
+ .reveal a:hover {
201
+ color: #c0a76e;
73
202
  text-shadow: none;
74
203
  border: none; }
75
204
 
76
205
  .reveal .roll span:after {
77
206
  color: #fff;
78
- background: #564826; }
207
+ background: #564726; }
79
208
 
80
209
  /*********************************************
81
210
  * IMAGES
@@ -83,13 +212,13 @@ body {
83
212
  .reveal section img {
84
213
  margin: 15px 0px;
85
214
  background: rgba(255, 255, 255, 0.12);
86
- border: 4px solid #333333;
87
- box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
88
- -webkit-transition: all .2s linear;
89
- -moz-transition: all .2s linear;
90
- -ms-transition: all .2s linear;
91
- -o-transition: all .2s linear;
92
- transition: all .2s linear; }
215
+ border: 4px solid #333;
216
+ box-shadow: 0 0 10px rgba(0, 0, 0, 0.15); }
217
+
218
+ .reveal a img {
219
+ -webkit-transition: all 0.15s linear;
220
+ -moz-transition: all 0.15s linear;
221
+ transition: all 0.15s linear; }
93
222
 
94
223
  .reveal a:hover img {
95
224
  background: rgba(255, 255, 255, 0.2);
@@ -99,33 +228,29 @@ body {
99
228
  /*********************************************
100
229
  * NAVIGATION CONTROLS
101
230
  *********************************************/
102
- .reveal .controls div.navigate-left,
103
- .reveal .controls div.navigate-left.enabled {
231
+ .reveal .controls div.navigate-left, .reveal .controls div.navigate-left.enabled {
104
232
  border-right-color: #8b743d; }
105
233
 
106
- .reveal .controls div.navigate-right,
107
- .reveal .controls div.navigate-right.enabled {
234
+ .reveal .controls div.navigate-right, .reveal .controls div.navigate-right.enabled {
108
235
  border-left-color: #8b743d; }
109
236
 
110
- .reveal .controls div.navigate-up,
111
- .reveal .controls div.navigate-up.enabled {
237
+ .reveal .controls div.navigate-up, .reveal .controls div.navigate-up.enabled {
112
238
  border-bottom-color: #8b743d; }
113
239
 
114
- .reveal .controls div.navigate-down,
115
- .reveal .controls div.navigate-down.enabled {
240
+ .reveal .controls div.navigate-down, .reveal .controls div.navigate-down.enabled {
116
241
  border-top-color: #8b743d; }
117
242
 
118
243
  .reveal .controls div.navigate-left.enabled:hover {
119
- border-right-color: #c0a86e; }
244
+ border-right-color: #c0a76e; }
120
245
 
121
246
  .reveal .controls div.navigate-right.enabled:hover {
122
- border-left-color: #c0a86e; }
247
+ border-left-color: #c0a76e; }
123
248
 
124
249
  .reveal .controls div.navigate-up.enabled:hover {
125
- border-bottom-color: #c0a86e; }
250
+ border-bottom-color: #c0a76e; }
126
251
 
127
252
  .reveal .controls div.navigate-down.enabled:hover {
128
- border-top-color: #c0a86e; }
253
+ border-top-color: #c0a76e; }
129
254
 
130
255
  /*********************************************
131
256
  * PROGRESS BAR
@@ -137,8 +262,6 @@ body {
137
262
  background: #8b743d;
138
263
  -webkit-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
139
264
  -moz-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
140
- -ms-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
141
- -o-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
142
265
  transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985); }
143
266
 
144
267
  /*********************************************
@@ -0,0 +1,267 @@
1
+ @import url(../../lib/font/source-sans-pro/source-sans-pro.css);
2
+ /**
3
+ * Black theme for reveal.js. This is the opposite of the 'white' theme.
4
+ *
5
+ * Copyright (C) 2015 Hakim El Hattab, http://hakim.se
6
+ */
7
+ section.has-light-background, section.has-light-background h1, section.has-light-background h2, section.has-light-background h3, section.has-light-background h4, section.has-light-background h5, section.has-light-background h6 {
8
+ color: #222; }
9
+
10
+ /*********************************************
11
+ * GLOBAL STYLES
12
+ *********************************************/
13
+ body {
14
+ background: #222;
15
+ background-color: #222; }
16
+
17
+ .reveal {
18
+ font-family: 'Source Sans Pro', Helvetica, sans-serif;
19
+ font-size: 38px;
20
+ font-weight: normal;
21
+ color: #fff; }
22
+
23
+ ::selection {
24
+ color: #fff;
25
+ background: #bee4fd;
26
+ text-shadow: none; }
27
+
28
+ .reveal .slides > section, .reveal .slides > section > section {
29
+ line-height: 1.3;
30
+ font-weight: inherit; }
31
+
32
+ /*********************************************
33
+ * HEADERS
34
+ *********************************************/
35
+ .reveal h1, .reveal h2, .reveal h3, .reveal h4, .reveal h5, .reveal h6 {
36
+ margin: 0 0 20px 0;
37
+ color: #fff;
38
+ font-family: 'Source Sans Pro', Helvetica, sans-serif;
39
+ font-weight: 600;
40
+ line-height: 1.2;
41
+ letter-spacing: normal;
42
+ text-transform: uppercase;
43
+ text-shadow: none;
44
+ word-wrap: break-word; }
45
+
46
+ .reveal h1 {
47
+ font-size: 2.5em; }
48
+
49
+ .reveal h2 {
50
+ font-size: 1.6em; }
51
+
52
+ .reveal h3 {
53
+ font-size: 1.3em; }
54
+
55
+ .reveal h4 {
56
+ font-size: 1em; }
57
+
58
+ .reveal h1 {
59
+ text-shadow: none; }
60
+
61
+ /*********************************************
62
+ * OTHER
63
+ *********************************************/
64
+ .reveal p {
65
+ margin: 20px 0;
66
+ line-height: 1.3; }
67
+
68
+ /* Ensure certain elements are never larger than the slide itself */
69
+ .reveal img, .reveal video, .reveal iframe {
70
+ max-width: 95%;
71
+ max-height: 95%; }
72
+
73
+ .reveal strong, .reveal b {
74
+ font-weight: bold; }
75
+
76
+ .reveal em {
77
+ font-style: italic; }
78
+
79
+ .reveal ol, .reveal dl, .reveal ul {
80
+ display: inline-block;
81
+ text-align: left;
82
+ margin: 0 0 0 1em; }
83
+
84
+ .reveal ol {
85
+ list-style-type: decimal; }
86
+
87
+ .reveal ul {
88
+ list-style-type: disc; }
89
+
90
+ .reveal ul ul {
91
+ list-style-type: square; }
92
+
93
+ .reveal ul ul ul {
94
+ list-style-type: circle; }
95
+
96
+ .reveal ul ul, .reveal ul ol, .reveal ol ol, .reveal ol ul {
97
+ display: block;
98
+ margin-left: 40px; }
99
+
100
+ .reveal dt {
101
+ font-weight: bold; }
102
+
103
+ .reveal dd {
104
+ margin-left: 40px; }
105
+
106
+ .reveal q, .reveal blockquote {
107
+ quotes: none; }
108
+
109
+ .reveal blockquote {
110
+ display: block;
111
+ position: relative;
112
+ width: 70%;
113
+ margin: 20px auto;
114
+ padding: 5px;
115
+ font-style: italic;
116
+ background: rgba(255, 255, 255, 0.05);
117
+ box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.2); }
118
+
119
+ .reveal blockquote p:first-child, .reveal blockquote p:last-child {
120
+ display: inline-block; }
121
+
122
+ .reveal q {
123
+ font-style: italic; }
124
+
125
+ .reveal pre {
126
+ display: block;
127
+ position: relative;
128
+ width: 90%;
129
+ margin: 20px auto;
130
+ text-align: left;
131
+ font-size: 0.55em;
132
+ font-family: monospace;
133
+ line-height: 1.2em;
134
+ word-wrap: break-word;
135
+ box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.3); }
136
+
137
+ .reveal code {
138
+ font-family: monospace; }
139
+
140
+ .reveal pre code {
141
+ display: block;
142
+ padding: 5px;
143
+ overflow: auto;
144
+ max-height: 400px;
145
+ word-wrap: normal;
146
+ background: #3F3F3F;
147
+ color: #DCDCDC; }
148
+
149
+ .reveal table {
150
+ margin: auto;
151
+ border-collapse: collapse;
152
+ border-spacing: 0; }
153
+
154
+ .reveal table th {
155
+ font-weight: bold; }
156
+
157
+ .reveal table th, .reveal table td {
158
+ text-align: left;
159
+ padding: 0.2em 0.5em 0.2em 0.5em;
160
+ border-bottom: 1px solid; }
161
+
162
+ .reveal table th[align="center"], .reveal table td[align="center"] {
163
+ text-align: center; }
164
+
165
+ .reveal table th[align="right"], .reveal table td[align="right"] {
166
+ text-align: right; }
167
+
168
+ .reveal table tr:last-child td {
169
+ border-bottom: none; }
170
+
171
+ .reveal sup {
172
+ vertical-align: super; }
173
+
174
+ .reveal sub {
175
+ vertical-align: sub; }
176
+
177
+ .reveal small {
178
+ display: inline-block;
179
+ font-size: 0.6em;
180
+ line-height: 1.2em;
181
+ vertical-align: top; }
182
+
183
+ .reveal small * {
184
+ vertical-align: top; }
185
+
186
+ /*********************************************
187
+ * LINKS
188
+ *********************************************/
189
+ .reveal a {
190
+ color: #42affa;
191
+ text-decoration: none;
192
+ -webkit-transition: color 0.15s ease;
193
+ -moz-transition: color 0.15s ease;
194
+ transition: color 0.15s ease; }
195
+
196
+ .reveal a:hover {
197
+ color: #8dcffc;
198
+ text-shadow: none;
199
+ border: none; }
200
+
201
+ .reveal .roll span:after {
202
+ color: #fff;
203
+ background: #068ee9; }
204
+
205
+ /*********************************************
206
+ * IMAGES
207
+ *********************************************/
208
+ .reveal section img {
209
+ margin: 15px 0px;
210
+ background: rgba(255, 255, 255, 0.12);
211
+ border: 4px solid #fff;
212
+ box-shadow: 0 0 10px rgba(0, 0, 0, 0.15); }
213
+
214
+ .reveal a img {
215
+ -webkit-transition: all 0.15s linear;
216
+ -moz-transition: all 0.15s linear;
217
+ transition: all 0.15s linear; }
218
+
219
+ .reveal a:hover img {
220
+ background: rgba(255, 255, 255, 0.2);
221
+ border-color: #42affa;
222
+ box-shadow: 0 0 20px rgba(0, 0, 0, 0.55); }
223
+
224
+ /*********************************************
225
+ * NAVIGATION CONTROLS
226
+ *********************************************/
227
+ .reveal .controls div.navigate-left, .reveal .controls div.navigate-left.enabled {
228
+ border-right-color: #42affa; }
229
+
230
+ .reveal .controls div.navigate-right, .reveal .controls div.navigate-right.enabled {
231
+ border-left-color: #42affa; }
232
+
233
+ .reveal .controls div.navigate-up, .reveal .controls div.navigate-up.enabled {
234
+ border-bottom-color: #42affa; }
235
+
236
+ .reveal .controls div.navigate-down, .reveal .controls div.navigate-down.enabled {
237
+ border-top-color: #42affa; }
238
+
239
+ .reveal .controls div.navigate-left.enabled:hover {
240
+ border-right-color: #8dcffc; }
241
+
242
+ .reveal .controls div.navigate-right.enabled:hover {
243
+ border-left-color: #8dcffc; }
244
+
245
+ .reveal .controls div.navigate-up.enabled:hover {
246
+ border-bottom-color: #8dcffc; }
247
+
248
+ .reveal .controls div.navigate-down.enabled:hover {
249
+ border-top-color: #8dcffc; }
250
+
251
+ /*********************************************
252
+ * PROGRESS BAR
253
+ *********************************************/
254
+ .reveal .progress {
255
+ background: rgba(0, 0, 0, 0.2); }
256
+
257
+ .reveal .progress span {
258
+ background: #42affa;
259
+ -webkit-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
260
+ -moz-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
261
+ transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985); }
262
+
263
+ /*********************************************
264
+ * SLIDE NUMBER
265
+ *********************************************/
266
+ .reveal .slide-number {
267
+ color: #42affa; }