From 29dbd29962c190d2e64f30e13e36c01c92934326 Mon Sep 17 00:00:00 2001 From: Hakim El Hattab Date: Sun, 12 May 2013 17:25:06 -0400 Subject: [PATCH 01/23] typos --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 85e7e5c..96df870 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ A framework for easily creating beautiful presentations using HTML. [Check out t reveal.js comes with a broad range of features including [nested slides](https://github.com/hakimel/reveal.js#markup), [markdown contents](https://github.com/hakimel/reveal.js#markdown), [PDF export](https://github.com/hakimel/reveal.js#pdf-export), [speaker notes](https://github.com/hakimel/reveal.js#speaker-notes) and a [JavaScript API](https://github.com/hakimel/reveal.js#api). It's best viewed in a browser with support for CSS 3D transforms but [fallbacks](https://github.com/hakimel/reveal.js/wiki/Browser-Support) are available to make sure your presentation can still be viewed elsewhere. -#### More reading:: +#### More reading: - [Installation](#installation): Step-by-step instructions for getting reveal.js running on your computer. - [Changelog](https://github.com/hakimel/reveal.js/wiki/Changelog): Up-to-date version history. - [Examples](https://github.com/hakimel/reveal.js/wiki/Example-Presentations): Presentations created with reveal.js, add your own! @@ -282,7 +282,7 @@ Note that this does not work with the page and cube transitions. ### Fragments -Fragments are used to highlight individual elements on a slide. Every elmement with the class ```fragment``` will be stepped through before moving on to the next slide. Here's an example: http://lab.hakim.se/reveal-js/#/16 +Fragments are used to highlight individual elements on a slide. Every element with the class ```fragment``` will be stepped through before moving on to the next slide. Here's an example: http://lab.hakim.se/reveal-js/#/16 The default fragment style is to start out invisible and fade in. This style can be changed by appending a different class to the fragment: @@ -587,7 +587,7 @@ The core of reveal.js is very easy to install. You'll simply need to download a 1. Download a copy of reveal.js from -2. Unizp and replace the example contents in index.html with your own +2. Unzip and replace the example contents in index.html with your own 3. Open index.html in a browser to view it From 396d531770849dbcb37c00258fc33da3ba25d6c1 Mon Sep 17 00:00:00 2001 From: Hakim El Hattab Date: Sun, 26 May 2013 15:16:26 -0300 Subject: [PATCH 02/23] typo (closes #471) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 96df870..43f7e50 100644 --- a/README.md +++ b/README.md @@ -583,7 +583,7 @@ The **basic setup** is for authoring presentations only. The **full setup** give ### Basic setup -The core of reveal.js is very easy to install. You'll simply need to download a copy of this repository and open the index.html file directly in your browser.g +The core of reveal.js is very easy to install. You'll simply need to download a copy of this repository and open the index.html file directly in your browser. 1. Download a copy of reveal.js from From 28d370f2aff34806f3c2d91bff06bf8f72c4b8ac Mon Sep 17 00:00:00 2001 From: Thomas Rosenau Date: Sun, 2 Jun 2013 11:02:53 +0200 Subject: [PATCH 03/23] Use Math.floor instead of parseInt to avoid problems with very small numbers like 2e-10 --- plugin/notes/notes.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugin/notes/notes.html b/plugin/notes/notes.html index 830045d..e75be28 100644 --- a/plugin/notes/notes.html +++ b/plugin/notes/notes.html @@ -212,9 +212,9 @@ now = new Date(); diff = now.getTime() - start.getTime(); - hours = parseInt( diff / ( 1000 * 60 * 60 ) ); - minutes = parseInt( ( diff / ( 1000 * 60 ) ) % 60 ); - seconds = parseInt( ( diff / 1000 ) % 60 ); + hours = Math.floor( diff / ( 1000 * 60 * 60 ) ); + minutes = Math.floor( ( diff / ( 1000 * 60 ) ) % 60 ); + seconds = Math.floor( ( diff / 1000 ) % 60 ); clockEl.innerHTML = now.toLocaleTimeString(); hoursEl.innerHTML = zeroPadInteger( hours ); From f3f5d7780afda0e419a55e16cda522321b0e2c3e Mon Sep 17 00:00:00 2001 From: Hakim El Hattab Date: Tue, 4 Jun 2013 19:42:33 +0200 Subject: [PATCH 04/23] started the new per-slide background implementation (#453) --- css/reveal.css | 50 +++++++++++++++++++++++++- css/reveal.min.css | 2 +- js/reveal.js | 87 +++++++++++++++++++++++++++++++++++++++++++--- js/reveal.min.js | 4 +-- 4 files changed, 135 insertions(+), 8 deletions(-) diff --git a/css/reveal.css b/css/reveal.css index 92d41a0..59d3c45 100644 --- a/css/reveal.css +++ b/css/reveal.css @@ -1255,7 +1255,7 @@ body { /********************************************* - * BACKGROUND STATES + * BACKGROUND STATES [DEPRECATED] *********************************************/ .reveal .state-background { @@ -1299,6 +1299,54 @@ body { } +/********************************************* + * + *********************************************/ + +.reveal>.background { + position: absolute; + width: 100%; + height: 100%; +} + .reveal>.background div { + position: absolute; + width: 100%; + height: 100%; + opacity: 0; + visibility: hidden; + + background-color: rgba( 0, 0, 0, 0 ); + background-position: 50% 50%; + background-repeat: no-repeat; + background-size: cover; + + -webkit-transition: all 800ms ease; + -moz-transition: all 800ms ease; + -ms-transition: all 800ms ease; + -o-transition: all 800ms ease; + transition: all 800ms ease; + } + .reveal>.background div.present { + opacity: 1; + visibility: visible; + } + + +/* Global transition speed settings */ +.reveal[data-transition-speed="fast"] .background div { + -webkit-transition-duration: 400ms; + -moz-transition-duration: 400ms; + -ms-transition-duration: 400ms; + transition-duration: 400ms; +} +.reveal[data-transition-speed="slow"] .background div { + -webkit-transition-duration: 1200ms; + -moz-transition-duration: 1200ms; + -ms-transition-duration: 1200ms; + transition-duration: 1200ms; +} + + /********************************************* * RTL SUPPORT *********************************************/ diff --git a/css/reveal.min.css b/css/reveal.min.css index 44edb68..3c9c700 100644 --- a/css/reveal.min.css +++ b/css/reveal.min.css @@ -4,4 +4,4 @@ * MIT licensed * * Copyright (C) 2013 Hakim El Hattab, http://hakim.se - */ html,body,.reveal div,.reveal span,.reveal applet,.reveal object,.reveal iframe,.reveal h1,.reveal h2,.reveal h3,.reveal h4,.reveal h5,.reveal h6,.reveal p,.reveal blockquote,.reveal pre,.reveal a,.reveal abbr,.reveal acronym,.reveal address,.reveal big,.reveal cite,.reveal code,.reveal del,.reveal dfn,.reveal em,.reveal img,.reveal ins,.reveal kbd,.reveal q,.reveal s,.reveal samp,.reveal small,.reveal strike,.reveal strong,.reveal sub,.reveal sup,.reveal tt,.reveal var,.reveal b,.reveal u,.reveal i,.reveal center,.reveal dl,.reveal dt,.reveal dd,.reveal ol,.reveal ul,.reveal li,.reveal fieldset,.reveal form,.reveal label,.reveal legend,.reveal table,.reveal caption,.reveal tbody,.reveal tfoot,.reveal thead,.reveal tr,.reveal th,.reveal td,.reveal article,.reveal aside,.reveal canvas,.reveal details,.reveal embed,.reveal figure,.reveal figcaption,.reveal footer,.reveal header,.reveal hgroup,.reveal menu,.reveal nav,.reveal output,.reveal ruby,.reveal section,.reveal summary,.reveal time,.reveal mark,.reveal audio,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}.reveal article,.reveal aside,.reveal details,.reveal figcaption,.reveal figure,.reveal footer,.reveal header,.reveal hgroup,.reveal menu,.reveal nav,.reveal section{display:block}html,body{width:100%;height:100%;overflow:hidden}body{position:relative;line-height:1}::selection{background:#FF5E99;color:#fff;text-shadow:none}.reveal h1,.reveal h2,.reveal h3,.reveal h4,.reveal h5,.reveal h6{-webkit-hyphens:auto;-moz-hyphens:auto;hyphens:auto;word-wrap:break-word}.reveal h1{font-size:3.77em}.reveal h2{font-size:2.11em}.reveal h3{font-size:1.55em}.reveal h4{font-size:1em}.reveal .slides section .fragment{opacity:0;-webkit-transition:all .2s ease;-moz-transition:all .2s ease;-ms-transition:all .2s ease;-o-transition:all .2s ease;transition:all .2s ease}.reveal .slides section .fragment.visible{opacity:1}.reveal .slides section .fragment.grow{opacity:1}.reveal .slides section .fragment.grow.visible{-webkit-transform:scale(1.3);-moz-transform:scale(1.3);-ms-transform:scale(1.3);-o-transform:scale(1.3);transform:scale(1.3)}.reveal .slides section .fragment.shrink{opacity:1}.reveal .slides section .fragment.shrink.visible{-webkit-transform:scale(0.7);-moz-transform:scale(0.7);-ms-transform:scale(0.7);-o-transform:scale(0.7);transform:scale(0.7)}.reveal .slides section .fragment.zoom-in{opacity:0;-webkit-transform:scale(0.1);-moz-transform:scale(0.1);-ms-transform:scale(0.1);-o-transform:scale(0.1);transform:scale(0.1)}.reveal .slides section .fragment.zoom-in.visible{opacity:1;-webkit-transform:scale(1);-moz-transform:scale(1);-ms-transform:scale(1);-o-transform:scale(1);transform:scale(1)}.reveal .slides section .fragment.roll-in{opacity:0;-webkit-transform:rotateX(90deg);-moz-transform:rotateX(90deg);-ms-transform:rotateX(90deg);-o-transform:rotateX(90deg);transform:rotateX(90deg)}.reveal .slides section .fragment.roll-in.visible{opacity:1;-webkit-transform:rotateX(0);-moz-transform:rotateX(0);-ms-transform:rotateX(0);-o-transform:rotateX(0);transform:rotateX(0)}.reveal .slides section .fragment.fade-out{opacity:1}.reveal .slides section .fragment.fade-out.visible{opacity:0}.reveal .slides section .fragment.highlight-red,.reveal .slides section .fragment.highlight-green,.reveal .slides section .fragment.highlight-blue{opacity:1}.reveal .slides section .fragment.highlight-red.visible{color:#ff2c2d}.reveal .slides section .fragment.highlight-green.visible{color:#17ff2e}.reveal .slides section .fragment.highlight-blue.visible{color:#1b91ff}.reveal:after{content:'';font-style:italic}.reveal img,.reveal video,.reveal iframe{max-width:95%;max-height:95%}.reveal a{position:relative}.reveal strong,.reveal b{font-weight:700}.reveal em,.reveal i{font-style:italic}.reveal ol,.reveal ul{display:inline-block;text-align:left;margin:0 0 0 1em}.reveal ol{list-style-type:decimal}.reveal ul{list-style-type:disc}.reveal ul ul{list-style-type:square}.reveal ul ul ul{list-style-type:circle}.reveal ul ul,.reveal ul ol,.reveal ol ol,.reveal ol ul{display:block;margin-left:40px}.reveal p{margin-bottom:10px;line-height:1.2em}.reveal q,.reveal blockquote{quotes:none}.reveal blockquote{display:block;position:relative;width:70%;margin:5px auto;padding:5px;font-style:italic;background:rgba(255,255,255,.05);box-shadow:0 0 2px rgba(0,0,0,.2)}.reveal blockquote p:first-child,.reveal blockquote p:last-child{display:inline-block}.reveal q{font-style:italic}.reveal pre{display:block;position:relative;width:90%;margin:15px auto;text-align:left;font-size:.55em;font-family:monospace;line-height:1.2em;word-wrap:break-word;box-shadow:0 0 6px rgba(0,0,0,.3)}.reveal code{font-family:monospace}.reveal pre code{padding:5px;overflow:auto;max-height:400px;word-wrap:normal}.reveal table th,.reveal table td{text-align:left;padding-right:.3em}.reveal table th{text-shadow:#fff 1px 1px 2px}.reveal sup{vertical-align:super}.reveal sub{vertical-align:sub}.reveal small{display:inline-block;font-size:.6em;line-height:1.2em;vertical-align:top}.reveal small *{vertical-align:top}.reveal .controls{display:none;position:fixed;width:110px;height:110px;z-index:30;right:10px;bottom:10px}.reveal .controls div{position:absolute;opacity:.05;width:0;height:0;border:12px solid transparent;-moz-transform:scale(.9999);-webkit-transition:all .2s ease;-moz-transition:all .2s ease;-ms-transition:all .2s ease;-o-transition:all .2s ease;transition:all .2s ease}.reveal .controls div.enabled{opacity:.7;cursor:pointer}.reveal .controls div.enabled:active{margin-top:1px}.reveal .controls div.navigate-left{top:42px;border-right-width:22px;border-right-color:#eee}.reveal .controls div.navigate-left.fragmented{opacity:.3}.reveal .controls div.navigate-right{left:74px;top:42px;border-left-width:22px;border-left-color:#eee}.reveal .controls div.navigate-right.fragmented{opacity:.3}.reveal .controls div.navigate-up{left:42px;border-bottom-width:22px;border-bottom-color:#eee}.reveal .controls div.navigate-up.fragmented{opacity:.3}.reveal .controls div.navigate-down{left:42px;top:74px;border-top-width:22px;border-top-color:#eee}.reveal .controls div.navigate-down.fragmented{opacity:.3}.reveal .progress{position:fixed;display:none;height:3px;width:100%;bottom:0;left:0;z-index:10}.reveal .progress:after{content:'';display:'block';position:absolute;height:20px;width:100%;top:-20px}.reveal .progress span{display:block;height:100%;width:0;-webkit-transition:width 800ms cubic-bezier(0.26,.86,.44,.985);-moz-transition:width 800ms cubic-bezier(0.26,.86,.44,.985);-ms-transition:width 800ms cubic-bezier(0.26,.86,.44,.985);-o-transition:width 800ms cubic-bezier(0.26,.86,.44,.985);transition:width 800ms cubic-bezier(0.26,.86,.44,.985)}.reveal .roll{display:inline-block;line-height:1.2;overflow:hidden;vertical-align:top;-webkit-perspective:400px;-moz-perspective:400px;-ms-perspective:400px;perspective:400px;-webkit-perspective-origin:50% 50%;-moz-perspective-origin:50% 50%;-ms-perspective-origin:50% 50%;perspective-origin:50% 50%}.reveal .roll:hover{background:0;text-shadow:none}.reveal .roll span{display:block;position:relative;padding:0 2px;pointer-events:none;-webkit-transition:all 400ms ease;-moz-transition:all 400ms ease;-ms-transition:all 400ms ease;transition:all 400ms ease;-webkit-transform-origin:50% 0;-moz-transform-origin:50% 0;-ms-transform-origin:50% 0;transform-origin:50% 0;-webkit-transform-style:preserve-3d;-moz-transform-style:preserve-3d;-ms-transform-style:preserve-3d;transform-style:preserve-3d;-webkit-backface-visibility:hidden;-moz-backface-visibility:hidden;backface-visibility:hidden}.reveal .roll:hover span{background:rgba(0,0,0,.5);-webkit-transform:translate3d(0px,0,-45px) rotateX(90deg);-moz-transform:translate3d(0px,0,-45px) rotateX(90deg);-ms-transform:translate3d(0px,0,-45px) rotateX(90deg);transform:translate3d(0px,0,-45px) rotateX(90deg)}.reveal .roll span:after{content:attr(data-title);display:block;position:absolute;left:0;top:0;padding:0 2px;-webkit-backface-visibility:hidden;-moz-backface-visibility:hidden;backface-visibility:hidden;-webkit-transform-origin:50% 0;-moz-transform-origin:50% 0;-ms-transform-origin:50% 0;transform-origin:50% 0;-webkit-transform:translate3d(0px,110%,0) rotateX(-90deg);-moz-transform:translate3d(0px,110%,0) rotateX(-90deg);-ms-transform:translate3d(0px,110%,0) rotateX(-90deg);transform:translate3d(0px,110%,0) rotateX(-90deg)}.reveal{position:relative;width:100%;height:100%;-ms-touch-action:none}.reveal .slides{position:absolute;width:100%;height:100%;left:50%;top:50%;overflow:visible;z-index:1;text-align:center;-webkit-transition:-webkit-perspective .4s ease;-moz-transition:-moz-perspective .4s ease;-ms-transition:-ms-perspective .4s ease;-o-transition:-o-perspective .4s ease;transition:perspective .4s ease;-webkit-perspective:600px;-moz-perspective:600px;-ms-perspective:600px;perspective:600px;-webkit-perspective-origin:0 -100px;-moz-perspective-origin:0 -100px;-ms-perspective-origin:0 -100px;perspective-origin:0 -100px}.reveal .slides>section,.reveal .slides>section>section{display:none;position:absolute;width:100%;padding:20px 0;z-index:10;line-height:1.2em;font-weight:400;-webkit-transform-style:preserve-3d;-moz-transform-style:preserve-3d;-ms-transform-style:preserve-3d;transform-style:preserve-3d;-webkit-transition:-webkit-transform-origin 800ms cubic-bezier(0.26,.86,.44,.985),-webkit-transform 800ms cubic-bezier(0.26,.86,.44,.985),visibility 800ms cubic-bezier(0.26,.86,.44,.985),opacity 800ms cubic-bezier(0.26,.86,.44,.985);-moz-transition:-moz-transform-origin 800ms cubic-bezier(0.26,.86,.44,.985),-moz-transform 800ms cubic-bezier(0.26,.86,.44,.985),visibility 800ms cubic-bezier(0.26,.86,.44,.985),opacity 800ms cubic-bezier(0.26,.86,.44,.985);-ms-transition:-ms-transform-origin 800ms cubic-bezier(0.26,.86,.44,.985),-ms-transform 800ms cubic-bezier(0.26,.86,.44,.985),visibility 800ms cubic-bezier(0.26,.86,.44,.985),opacity 800ms cubic-bezier(0.26,.86,.44,.985);-o-transition:-o-transform-origin 800ms cubic-bezier(0.26,.86,.44,.985),-o-transform 800ms cubic-bezier(0.26,.86,.44,.985),visibility 800ms cubic-bezier(0.26,.86,.44,.985),opacity 800ms cubic-bezier(0.26,.86,.44,.985);transition:transform-origin 800ms cubic-bezier(0.26,.86,.44,.985),transform 800ms cubic-bezier(0.26,.86,.44,.985),visibility 800ms cubic-bezier(0.26,.86,.44,.985),opacity 800ms cubic-bezier(0.26,.86,.44,.985)}.reveal[data-transition-speed=fast] .slides section{-webkit-transition-duration:400ms;-moz-transition-duration:400ms;-ms-transition-duration:400ms;transition-duration:400ms}.reveal[data-transition-speed=slow] .slides section{-webkit-transition-duration:1200ms;-moz-transition-duration:1200ms;-ms-transition-duration:1200ms;transition-duration:1200ms}.reveal .slides section[data-transition-speed=fast]{-webkit-transition-duration:400ms;-moz-transition-duration:400ms;-ms-transition-duration:400ms;transition-duration:400ms}.reveal .slides section[data-transition-speed=slow]{-webkit-transition-duration:1200ms;-moz-transition-duration:1200ms;-ms-transition-duration:1200ms;transition-duration:1200ms}.reveal .slides>section{left:-50%;top:-50%}.reveal .slides>section.stack{padding-top:0;padding-bottom:0}.reveal .slides>section.present,.reveal .slides>section>section.present{display:block;z-index:11;opacity:1}.reveal.center,.reveal.center .slides,.reveal.center .slides section{min-height:auto!important}.reveal .slides>section[data-transition=default].past,.reveal .slides>section.past{display:block;opacity:0;-webkit-transform:translate3d(-100%,0,0) rotateY(-90deg) translate3d(-100%,0,0);-moz-transform:translate3d(-100%,0,0) rotateY(-90deg) translate3d(-100%,0,0);-ms-transform:translate3d(-100%,0,0) rotateY(-90deg) translate3d(-100%,0,0);transform:translate3d(-100%,0,0) rotateY(-90deg) translate3d(-100%,0,0)}.reveal .slides>section[data-transition=default].future,.reveal .slides>section.future{display:block;opacity:0;-webkit-transform:translate3d(100%,0,0) rotateY(90deg) translate3d(100%,0,0);-moz-transform:translate3d(100%,0,0) rotateY(90deg) translate3d(100%,0,0);-ms-transform:translate3d(100%,0,0) rotateY(90deg) translate3d(100%,0,0);transform:translate3d(100%,0,0) rotateY(90deg) translate3d(100%,0,0)}.reveal .slides>section>section[data-transition=default].past,.reveal .slides>section>section.past{display:block;opacity:0;-webkit-transform:translate3d(0,-300px,0) rotateX(70deg) translate3d(0,-300px,0);-moz-transform:translate3d(0,-300px,0) rotateX(70deg) translate3d(0,-300px,0);-ms-transform:translate3d(0,-300px,0) rotateX(70deg) translate3d(0,-300px,0);transform:translate3d(0,-300px,0) rotateX(70deg) translate3d(0,-300px,0)}.reveal .slides>section>section[data-transition=default].future,.reveal .slides>section>section.future{display:block;opacity:0;-webkit-transform:translate3d(0,300px,0) rotateX(-70deg) translate3d(0,300px,0);-moz-transform:translate3d(0,300px,0) rotateX(-70deg) translate3d(0,300px,0);-ms-transform:translate3d(0,300px,0) rotateX(-70deg) translate3d(0,300px,0);transform:translate3d(0,300px,0) rotateX(-70deg) translate3d(0,300px,0)}.reveal .slides>section[data-transition=concave].past,.reveal.concave .slides>section.past{-webkit-transform:translate3d(-100%,0,0) rotateY(90deg) translate3d(-100%,0,0);-moz-transform:translate3d(-100%,0,0) rotateY(90deg) translate3d(-100%,0,0);-ms-transform:translate3d(-100%,0,0) rotateY(90deg) translate3d(-100%,0,0);transform:translate3d(-100%,0,0) rotateY(90deg) translate3d(-100%,0,0)}.reveal .slides>section[data-transition=concave].future,.reveal.concave .slides>section.future{-webkit-transform:translate3d(100%,0,0) rotateY(-90deg) translate3d(100%,0,0);-moz-transform:translate3d(100%,0,0) rotateY(-90deg) translate3d(100%,0,0);-ms-transform:translate3d(100%,0,0) rotateY(-90deg) translate3d(100%,0,0);transform:translate3d(100%,0,0) rotateY(-90deg) translate3d(100%,0,0)}.reveal .slides>section>section[data-transition=concave].past,.reveal.concave .slides>section>section.past{-webkit-transform:translate3d(0,-80%,0) rotateX(-70deg) translate3d(0,-80%,0);-moz-transform:translate3d(0,-80%,0) rotateX(-70deg) translate3d(0,-80%,0);-ms-transform:translate3d(0,-80%,0) rotateX(-70deg) translate3d(0,-80%,0);transform:translate3d(0,-80%,0) rotateX(-70deg) translate3d(0,-80%,0)}.reveal .slides>section>section[data-transition=concave].future,.reveal.concave .slides>section>section.future{-webkit-transform:translate3d(0,80%,0) rotateX(70deg) translate3d(0,80%,0);-moz-transform:translate3d(0,80%,0) rotateX(70deg) translate3d(0,80%,0);-ms-transform:translate3d(0,80%,0) rotateX(70deg) translate3d(0,80%,0);transform:translate3d(0,80%,0) rotateX(70deg) translate3d(0,80%,0)}.reveal .slides>section[data-transition=zoom].past,.reveal.zoom .slides>section.past{opacity:0;visibility:hidden;-webkit-transform:scale(16);-moz-transform:scale(16);-ms-transform:scale(16);-o-transform:scale(16);transform:scale(16)}.reveal .slides>section[data-transition=zoom].future,.reveal.zoom .slides>section.future{opacity:0;visibility:hidden;-webkit-transform:scale(0.2);-moz-transform:scale(0.2);-ms-transform:scale(0.2);-o-transform:scale(0.2);transform:scale(0.2)}.reveal .slides>section>section[data-transition=zoom].past,.reveal.zoom .slides>section>section.past{-webkit-transform:translate(0,-150%);-moz-transform:translate(0,-150%);-ms-transform:translate(0,-150%);-o-transform:translate(0,-150%);transform:translate(0,-150%)}.reveal .slides>section>section[data-transition=zoom].future,.reveal.zoom .slides>section>section.future{-webkit-transform:translate(0,150%);-moz-transform:translate(0,150%);-ms-transform:translate(0,150%);-o-transform:translate(0,150%);transform:translate(0,150%)}.reveal.linear section{-webkit-backface-visibility:hidden;-moz-backface-visibility:hidden;-ms-backface-visibility:hidden;backface-visibility:hidden}.reveal .slides>section[data-transition=linear].past,.reveal.linear .slides>section.past{-webkit-transform:translate(-150%,0);-moz-transform:translate(-150%,0);-ms-transform:translate(-150%,0);-o-transform:translate(-150%,0);transform:translate(-150%,0)}.reveal .slides>section[data-transition=linear].future,.reveal.linear .slides>section.future{-webkit-transform:translate(150%,0);-moz-transform:translate(150%,0);-ms-transform:translate(150%,0);-o-transform:translate(150%,0);transform:translate(150%,0)}.reveal .slides>section>section[data-transition=linear].past,.reveal.linear .slides>section>section.past{-webkit-transform:translate(0,-150%);-moz-transform:translate(0,-150%);-ms-transform:translate(0,-150%);-o-transform:translate(0,-150%);transform:translate(0,-150%)}.reveal .slides>section>section[data-transition=linear].future,.reveal.linear .slides>section>section.future{-webkit-transform:translate(0,150%);-moz-transform:translate(0,150%);-ms-transform:translate(0,150%);-o-transform:translate(0,150%);transform:translate(0,150%)}.reveal.cube .slides{-webkit-perspective:1300px;-moz-perspective:1300px;-ms-perspective:1300px;perspective:1300px}.reveal.cube .slides section{padding:30px;min-height:700px;-webkit-backface-visibility:hidden;-moz-backface-visibility:hidden;-ms-backface-visibility:hidden;backface-visibility:hidden;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.reveal.center.cube .slides section{min-height:auto}.reveal.cube .slides section:not(.stack):before{content:'';position:absolute;display:block;width:100%;height:100%;left:0;top:0;background:rgba(0,0,0,.1);border-radius:4px;-webkit-transform:translateZ(-20px);-moz-transform:translateZ(-20px);-ms-transform:translateZ(-20px);-o-transform:translateZ(-20px);transform:translateZ(-20px)}.reveal.cube .slides section:not(.stack):after{content:'';position:absolute;display:block;width:90%;height:30px;left:5%;bottom:0;background:0;z-index:1;border-radius:4px;box-shadow:0 95px 25px rgba(0,0,0,.2);-webkit-transform:translateZ(-90px) rotateX(65deg);-moz-transform:translateZ(-90px) rotateX(65deg);-ms-transform:translateZ(-90px) rotateX(65deg);-o-transform:translateZ(-90px) rotateX(65deg);transform:translateZ(-90px) rotateX(65deg)}.reveal.cube .slides>section.stack{padding:0;background:0}.reveal.cube .slides>section.past{-webkit-transform-origin:100% 0;-moz-transform-origin:100% 0;-ms-transform-origin:100% 0;transform-origin:100% 0;-webkit-transform:translate3d(-100%,0,0) rotateY(-90deg);-moz-transform:translate3d(-100%,0,0) rotateY(-90deg);-ms-transform:translate3d(-100%,0,0) rotateY(-90deg);transform:translate3d(-100%,0,0) rotateY(-90deg)}.reveal.cube .slides>section.future{-webkit-transform-origin:0 0;-moz-transform-origin:0 0;-ms-transform-origin:0 0;transform-origin:0 0;-webkit-transform:translate3d(100%,0,0) rotateY(90deg);-moz-transform:translate3d(100%,0,0) rotateY(90deg);-ms-transform:translate3d(100%,0,0) rotateY(90deg);transform:translate3d(100%,0,0) rotateY(90deg)}.reveal.cube .slides>section>section.past{-webkit-transform-origin:0 100%;-moz-transform-origin:0 100%;-ms-transform-origin:0 100%;transform-origin:0 100%;-webkit-transform:translate3d(0,-100%,0) rotateX(90deg);-moz-transform:translate3d(0,-100%,0) rotateX(90deg);-ms-transform:translate3d(0,-100%,0) rotateX(90deg);transform:translate3d(0,-100%,0) rotateX(90deg)}.reveal.cube .slides>section>section.future{-webkit-transform-origin:0 0;-moz-transform-origin:0 0;-ms-transform-origin:0 0;transform-origin:0 0;-webkit-transform:translate3d(0,100%,0) rotateX(-90deg);-moz-transform:translate3d(0,100%,0) rotateX(-90deg);-ms-transform:translate3d(0,100%,0) rotateX(-90deg);transform:translate3d(0,100%,0) rotateX(-90deg)}.reveal.page .slides{-webkit-perspective-origin:0 50%;-moz-perspective-origin:0 50%;-ms-perspective-origin:0 50%;perspective-origin:0 50%;-webkit-perspective:3000px;-moz-perspective:3000px;-ms-perspective:3000px;perspective:3000px}.reveal.page .slides section{padding:30px;min-height:700px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.reveal.page .slides section.past{z-index:12}.reveal.page .slides section:not(.stack):before{content:'';position:absolute;display:block;width:100%;height:100%;left:0;top:0;background:rgba(0,0,0,.1);-webkit-transform:translateZ(-20px);-moz-transform:translateZ(-20px);-ms-transform:translateZ(-20px);-o-transform:translateZ(-20px);transform:translateZ(-20px)}.reveal.page .slides section:not(.stack):after{content:'';position:absolute;display:block;width:90%;height:30px;left:5%;bottom:0;background:0;z-index:1;border-radius:4px;box-shadow:0 95px 25px rgba(0,0,0,.2);-webkit-transform:translateZ(-90px) rotateX(65deg)}.reveal.page .slides>section.stack{padding:0;background:0}.reveal.page .slides>section.past{-webkit-transform-origin:0 0;-moz-transform-origin:0 0;-ms-transform-origin:0 0;transform-origin:0 0;-webkit-transform:translate3d(-40%,0,0) rotateY(-80deg);-moz-transform:translate3d(-40%,0,0) rotateY(-80deg);-ms-transform:translate3d(-40%,0,0) rotateY(-80deg);transform:translate3d(-40%,0,0) rotateY(-80deg)}.reveal.page .slides>section.future{-webkit-transform-origin:100% 0;-moz-transform-origin:100% 0;-ms-transform-origin:100% 0;transform-origin:100% 0;-webkit-transform:translate3d(0,0,0);-moz-transform:translate3d(0,0,0);-ms-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}.reveal.page .slides>section>section.past{-webkit-transform-origin:0 0;-moz-transform-origin:0 0;-ms-transform-origin:0 0;transform-origin:0 0;-webkit-transform:translate3d(0,-40%,0) rotateX(80deg);-moz-transform:translate3d(0,-40%,0) rotateX(80deg);-ms-transform:translate3d(0,-40%,0) rotateX(80deg);transform:translate3d(0,-40%,0) rotateX(80deg)}.reveal.page .slides>section>section.future{-webkit-transform-origin:0 100%;-moz-transform-origin:0 100%;-ms-transform-origin:0 100%;transform-origin:0 100%;-webkit-transform:translate3d(0,0,0);-moz-transform:translate3d(0,0,0);-ms-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}.reveal .slides section[data-transition=fade],.reveal.fade .slides section,.reveal.fade .slides>section>section{-webkit-transform:none;-moz-transform:none;-ms-transform:none;-o-transform:none;transform:none;-webkit-transition:opacity .5s;-moz-transition:opacity .5s;-ms-transition:opacity .5s;-o-transition:opacity .5s;transition:opacity .5s}.reveal.fade.overview .slides section,.reveal.fade.overview .slides>section>section,.reveal.fade.exit-overview .slides section,.reveal.fade.exit-overview .slides>section>section{-webkit-transition:none;-moz-transition:none;-ms-transition:none;-o-transition:none;transition:none}.reveal .slides section[data-transition=none],.reveal.none .slides section{-webkit-transform:none;-moz-transform:none;-ms-transform:none;-o-transform:none;transform:none;-webkit-transition:none;-moz-transition:none;-ms-transition:none;-o-transition:none;transition:none}.reveal.overview .slides{-webkit-perspective-origin:0 0;-moz-perspective-origin:0 0;-ms-perspective-origin:0 0;perspective-origin:0 0;-webkit-perspective:700px;-moz-perspective:700px;-ms-perspective:700px;perspective:700px}.reveal.overview .slides section{height:600px;overflow:hidden;opacity:1!important;visibility:visible!important;cursor:pointer;background:rgba(0,0,0,.1)}.reveal.overview .slides section .fragment{opacity:1}.reveal.overview .slides section:after,.reveal.overview .slides section:before{display:none!important}.reveal.overview .slides section>section{opacity:1;cursor:pointer}.reveal.overview .slides section:hover{background:rgba(0,0,0,.3)}.reveal.overview .slides section.present{background:rgba(0,0,0,.3)}.reveal.overview .slides>section.stack{padding:0;background:0;overflow:visible}.reveal .pause-overlay{position:absolute;top:0;left:0;width:100%;height:100%;background:#000;visibility:hidden;opacity:0;z-index:100;-webkit-transition:all 1s ease;-moz-transition:all 1s ease;-ms-transition:all 1s ease;-o-transition:all 1s ease;transition:all 1s ease}.reveal.paused .pause-overlay{visibility:visible;opacity:1}.no-transforms{overflow-y:auto}.no-transforms .reveal .slides{position:relative;width:80%;height:auto!important;top:0;left:50%;margin:0;text-align:center}.no-transforms .reveal .controls,.no-transforms .reveal .progress{display:none!important}.no-transforms .reveal .slides section{display:block!important;opacity:1!important;position:relative!important;height:auto;min-height:auto;top:0;left:-50%;margin:70px 0;-webkit-transform:none;-moz-transform:none;-ms-transform:none;-o-transform:none;transform:none}.no-transforms .reveal .slides section section{left:0}.no-transition{-webkit-transition:none;-moz-transition:none;-ms-transition:none;-o-transition:none;transition:none}.reveal .state-background{position:absolute;width:100%;height:100%;background:rgba(0,0,0,0);-webkit-transition:background 800ms ease;-moz-transition:background 800ms ease;-ms-transition:background 800ms ease;-o-transition:background 800ms ease;transition:background 800ms ease}.alert .reveal .state-background{background:rgba(200,50,30,.6)}.soothe .reveal .state-background{background:rgba(50,200,90,.4)}.blackout .reveal .state-background{background:rgba(0,0,0,.6)}.whiteout .reveal .state-background{background:rgba(255,255,255,.6)}.cobalt .reveal .state-background{background:rgba(22,152,213,.6)}.mint .reveal .state-background{background:rgba(22,213,75,.6)}.submerge .reveal .state-background{background:rgba(12,25,77,.6)}.lila .reveal .state-background{background:rgba(180,50,140,.6)}.sunset .reveal .state-background{background:rgba(255,122,0,.6)}.reveal.rtl .slides,.reveal.rtl .slides h1,.reveal.rtl .slides h2,.reveal.rtl .slides h3,.reveal.rtl .slides h4,.reveal.rtl .slides h5,.reveal.rtl .slides h6{direction:rtl;font-family:sans-serif}.reveal.rtl pre,.reveal.rtl code{direction:ltr}.reveal.rtl ol,.reveal.rtl ul{text-align:right}.reveal.rtl .progress span{float:right}.reveal aside.notes{display:none}.zoomed .reveal *,.zoomed .reveal :before,.zoomed .reveal :after{-webkit-transform:none!important;-moz-transform:none!important;-ms-transform:none!important;transform:none!important;-webkit-backface-visibility:visible!important;-moz-backface-visibility:visible!important;-ms-backface-visibility:visible!important;backface-visibility:visible!important}.zoomed .reveal .progress,.zoomed .reveal .controls{opacity:0}.zoomed .reveal .roll span{background:0}.zoomed .reveal .roll span:after{visibility:hidden} \ No newline at end of file + */ html,body,.reveal div,.reveal span,.reveal applet,.reveal object,.reveal iframe,.reveal h1,.reveal h2,.reveal h3,.reveal h4,.reveal h5,.reveal h6,.reveal p,.reveal blockquote,.reveal pre,.reveal a,.reveal abbr,.reveal acronym,.reveal address,.reveal big,.reveal cite,.reveal code,.reveal del,.reveal dfn,.reveal em,.reveal img,.reveal ins,.reveal kbd,.reveal q,.reveal s,.reveal samp,.reveal small,.reveal strike,.reveal strong,.reveal sub,.reveal sup,.reveal tt,.reveal var,.reveal b,.reveal u,.reveal i,.reveal center,.reveal dl,.reveal dt,.reveal dd,.reveal ol,.reveal ul,.reveal li,.reveal fieldset,.reveal form,.reveal label,.reveal legend,.reveal table,.reveal caption,.reveal tbody,.reveal tfoot,.reveal thead,.reveal tr,.reveal th,.reveal td,.reveal article,.reveal aside,.reveal canvas,.reveal details,.reveal embed,.reveal figure,.reveal figcaption,.reveal footer,.reveal header,.reveal hgroup,.reveal menu,.reveal nav,.reveal output,.reveal ruby,.reveal section,.reveal summary,.reveal time,.reveal mark,.reveal audio,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}.reveal article,.reveal aside,.reveal details,.reveal figcaption,.reveal figure,.reveal footer,.reveal header,.reveal hgroup,.reveal menu,.reveal nav,.reveal section{display:block}html,body{width:100%;height:100%;overflow:hidden}body{position:relative;line-height:1}::selection{background:#FF5E99;color:#fff;text-shadow:none}.reveal h1,.reveal h2,.reveal h3,.reveal h4,.reveal h5,.reveal h6{-webkit-hyphens:auto;-moz-hyphens:auto;hyphens:auto;word-wrap:break-word}.reveal h1{font-size:3.77em}.reveal h2{font-size:2.11em}.reveal h3{font-size:1.55em}.reveal h4{font-size:1em}.reveal .slides section .fragment{opacity:0;-webkit-transition:all .2s ease;-moz-transition:all .2s ease;-ms-transition:all .2s ease;-o-transition:all .2s ease;transition:all .2s ease}.reveal .slides section .fragment.visible{opacity:1}.reveal .slides section .fragment.grow{opacity:1}.reveal .slides section .fragment.grow.visible{-webkit-transform:scale(1.3);-moz-transform:scale(1.3);-ms-transform:scale(1.3);-o-transform:scale(1.3);transform:scale(1.3)}.reveal .slides section .fragment.shrink{opacity:1}.reveal .slides section .fragment.shrink.visible{-webkit-transform:scale(0.7);-moz-transform:scale(0.7);-ms-transform:scale(0.7);-o-transform:scale(0.7);transform:scale(0.7)}.reveal .slides section .fragment.zoom-in{opacity:0;-webkit-transform:scale(0.1);-moz-transform:scale(0.1);-ms-transform:scale(0.1);-o-transform:scale(0.1);transform:scale(0.1)}.reveal .slides section .fragment.zoom-in.visible{opacity:1;-webkit-transform:scale(1);-moz-transform:scale(1);-ms-transform:scale(1);-o-transform:scale(1);transform:scale(1)}.reveal .slides section .fragment.roll-in{opacity:0;-webkit-transform:rotateX(90deg);-moz-transform:rotateX(90deg);-ms-transform:rotateX(90deg);-o-transform:rotateX(90deg);transform:rotateX(90deg)}.reveal .slides section .fragment.roll-in.visible{opacity:1;-webkit-transform:rotateX(0);-moz-transform:rotateX(0);-ms-transform:rotateX(0);-o-transform:rotateX(0);transform:rotateX(0)}.reveal .slides section .fragment.fade-out{opacity:1}.reveal .slides section .fragment.fade-out.visible{opacity:0}.reveal .slides section .fragment.highlight-red,.reveal .slides section .fragment.highlight-green,.reveal .slides section .fragment.highlight-blue{opacity:1}.reveal .slides section .fragment.highlight-red.visible{color:#ff2c2d}.reveal .slides section .fragment.highlight-green.visible{color:#17ff2e}.reveal .slides section .fragment.highlight-blue.visible{color:#1b91ff}.reveal:after{content:'';font-style:italic}.reveal img,.reveal video,.reveal iframe{max-width:95%;max-height:95%}.reveal a{position:relative}.reveal strong,.reveal b{font-weight:700}.reveal em,.reveal i{font-style:italic}.reveal ol,.reveal ul{display:inline-block;text-align:left;margin:0 0 0 1em}.reveal ol{list-style-type:decimal}.reveal ul{list-style-type:disc}.reveal ul ul{list-style-type:square}.reveal ul ul ul{list-style-type:circle}.reveal ul ul,.reveal ul ol,.reveal ol ol,.reveal ol ul{display:block;margin-left:40px}.reveal p{margin-bottom:10px;line-height:1.2em}.reveal q,.reveal blockquote{quotes:none}.reveal blockquote{display:block;position:relative;width:70%;margin:5px auto;padding:5px;font-style:italic;background:rgba(255,255,255,.05);box-shadow:0 0 2px rgba(0,0,0,.2)}.reveal blockquote p:first-child,.reveal blockquote p:last-child{display:inline-block}.reveal q{font-style:italic}.reveal pre{display:block;position:relative;width:90%;margin:15px auto;text-align:left;font-size:.55em;font-family:monospace;line-height:1.2em;word-wrap:break-word;box-shadow:0 0 6px rgba(0,0,0,.3)}.reveal code{font-family:monospace}.reveal pre code{padding:5px;overflow:auto;max-height:400px;word-wrap:normal}.reveal table th,.reveal table td{text-align:left;padding-right:.3em}.reveal table th{text-shadow:#fff 1px 1px 2px}.reveal sup{vertical-align:super}.reveal sub{vertical-align:sub}.reveal small{display:inline-block;font-size:.6em;line-height:1.2em;vertical-align:top}.reveal small *{vertical-align:top}.reveal .controls{display:none;position:fixed;width:110px;height:110px;z-index:30;right:10px;bottom:10px}.reveal .controls div{position:absolute;opacity:.05;width:0;height:0;border:12px solid transparent;-moz-transform:scale(.9999);-webkit-transition:all .2s ease;-moz-transition:all .2s ease;-ms-transition:all .2s ease;-o-transition:all .2s ease;transition:all .2s ease}.reveal .controls div.enabled{opacity:.7;cursor:pointer}.reveal .controls div.enabled:active{margin-top:1px}.reveal .controls div.navigate-left{top:42px;border-right-width:22px;border-right-color:#eee}.reveal .controls div.navigate-left.fragmented{opacity:.3}.reveal .controls div.navigate-right{left:74px;top:42px;border-left-width:22px;border-left-color:#eee}.reveal .controls div.navigate-right.fragmented{opacity:.3}.reveal .controls div.navigate-up{left:42px;border-bottom-width:22px;border-bottom-color:#eee}.reveal .controls div.navigate-up.fragmented{opacity:.3}.reveal .controls div.navigate-down{left:42px;top:74px;border-top-width:22px;border-top-color:#eee}.reveal .controls div.navigate-down.fragmented{opacity:.3}.reveal .progress{position:fixed;display:none;height:3px;width:100%;bottom:0;left:0;z-index:10}.reveal .progress:after{content:'';display:'block';position:absolute;height:20px;width:100%;top:-20px}.reveal .progress span{display:block;height:100%;width:0;-webkit-transition:width 800ms cubic-bezier(0.26,.86,.44,.985);-moz-transition:width 800ms cubic-bezier(0.26,.86,.44,.985);-ms-transition:width 800ms cubic-bezier(0.26,.86,.44,.985);-o-transition:width 800ms cubic-bezier(0.26,.86,.44,.985);transition:width 800ms cubic-bezier(0.26,.86,.44,.985)}.reveal .roll{display:inline-block;line-height:1.2;overflow:hidden;vertical-align:top;-webkit-perspective:400px;-moz-perspective:400px;-ms-perspective:400px;perspective:400px;-webkit-perspective-origin:50% 50%;-moz-perspective-origin:50% 50%;-ms-perspective-origin:50% 50%;perspective-origin:50% 50%}.reveal .roll:hover{background:0;text-shadow:none}.reveal .roll span{display:block;position:relative;padding:0 2px;pointer-events:none;-webkit-transition:all 400ms ease;-moz-transition:all 400ms ease;-ms-transition:all 400ms ease;transition:all 400ms ease;-webkit-transform-origin:50% 0;-moz-transform-origin:50% 0;-ms-transform-origin:50% 0;transform-origin:50% 0;-webkit-transform-style:preserve-3d;-moz-transform-style:preserve-3d;-ms-transform-style:preserve-3d;transform-style:preserve-3d;-webkit-backface-visibility:hidden;-moz-backface-visibility:hidden;backface-visibility:hidden}.reveal .roll:hover span{background:rgba(0,0,0,.5);-webkit-transform:translate3d(0px,0,-45px) rotateX(90deg);-moz-transform:translate3d(0px,0,-45px) rotateX(90deg);-ms-transform:translate3d(0px,0,-45px) rotateX(90deg);transform:translate3d(0px,0,-45px) rotateX(90deg)}.reveal .roll span:after{content:attr(data-title);display:block;position:absolute;left:0;top:0;padding:0 2px;-webkit-backface-visibility:hidden;-moz-backface-visibility:hidden;backface-visibility:hidden;-webkit-transform-origin:50% 0;-moz-transform-origin:50% 0;-ms-transform-origin:50% 0;transform-origin:50% 0;-webkit-transform:translate3d(0px,110%,0) rotateX(-90deg);-moz-transform:translate3d(0px,110%,0) rotateX(-90deg);-ms-transform:translate3d(0px,110%,0) rotateX(-90deg);transform:translate3d(0px,110%,0) rotateX(-90deg)}.reveal{position:relative;width:100%;height:100%;-ms-touch-action:none}.reveal .slides{position:absolute;width:100%;height:100%;left:50%;top:50%;overflow:visible;z-index:1;text-align:center;-webkit-transition:-webkit-perspective .4s ease;-moz-transition:-moz-perspective .4s ease;-ms-transition:-ms-perspective .4s ease;-o-transition:-o-perspective .4s ease;transition:perspective .4s ease;-webkit-perspective:600px;-moz-perspective:600px;-ms-perspective:600px;perspective:600px;-webkit-perspective-origin:0 -100px;-moz-perspective-origin:0 -100px;-ms-perspective-origin:0 -100px;perspective-origin:0 -100px}.reveal .slides>section,.reveal .slides>section>section{display:none;position:absolute;width:100%;padding:20px 0;z-index:10;line-height:1.2em;font-weight:400;-webkit-transform-style:preserve-3d;-moz-transform-style:preserve-3d;-ms-transform-style:preserve-3d;transform-style:preserve-3d;-webkit-transition:-webkit-transform-origin 800ms cubic-bezier(0.26,.86,.44,.985),-webkit-transform 800ms cubic-bezier(0.26,.86,.44,.985),visibility 800ms cubic-bezier(0.26,.86,.44,.985),opacity 800ms cubic-bezier(0.26,.86,.44,.985);-moz-transition:-moz-transform-origin 800ms cubic-bezier(0.26,.86,.44,.985),-moz-transform 800ms cubic-bezier(0.26,.86,.44,.985),visibility 800ms cubic-bezier(0.26,.86,.44,.985),opacity 800ms cubic-bezier(0.26,.86,.44,.985);-ms-transition:-ms-transform-origin 800ms cubic-bezier(0.26,.86,.44,.985),-ms-transform 800ms cubic-bezier(0.26,.86,.44,.985),visibility 800ms cubic-bezier(0.26,.86,.44,.985),opacity 800ms cubic-bezier(0.26,.86,.44,.985);-o-transition:-o-transform-origin 800ms cubic-bezier(0.26,.86,.44,.985),-o-transform 800ms cubic-bezier(0.26,.86,.44,.985),visibility 800ms cubic-bezier(0.26,.86,.44,.985),opacity 800ms cubic-bezier(0.26,.86,.44,.985);transition:transform-origin 800ms cubic-bezier(0.26,.86,.44,.985),transform 800ms cubic-bezier(0.26,.86,.44,.985),visibility 800ms cubic-bezier(0.26,.86,.44,.985),opacity 800ms cubic-bezier(0.26,.86,.44,.985)}.reveal[data-transition-speed=fast] .slides section{-webkit-transition-duration:400ms;-moz-transition-duration:400ms;-ms-transition-duration:400ms;transition-duration:400ms}.reveal[data-transition-speed=slow] .slides section{-webkit-transition-duration:1200ms;-moz-transition-duration:1200ms;-ms-transition-duration:1200ms;transition-duration:1200ms}.reveal .slides section[data-transition-speed=fast]{-webkit-transition-duration:400ms;-moz-transition-duration:400ms;-ms-transition-duration:400ms;transition-duration:400ms}.reveal .slides section[data-transition-speed=slow]{-webkit-transition-duration:1200ms;-moz-transition-duration:1200ms;-ms-transition-duration:1200ms;transition-duration:1200ms}.reveal .slides>section{left:-50%;top:-50%}.reveal .slides>section.stack{padding-top:0;padding-bottom:0}.reveal .slides>section.present,.reveal .slides>section>section.present{display:block;z-index:11;opacity:1}.reveal.center,.reveal.center .slides,.reveal.center .slides section{min-height:auto!important}.reveal .slides>section[data-transition=default].past,.reveal .slides>section.past{display:block;opacity:0;-webkit-transform:translate3d(-100%,0,0) rotateY(-90deg) translate3d(-100%,0,0);-moz-transform:translate3d(-100%,0,0) rotateY(-90deg) translate3d(-100%,0,0);-ms-transform:translate3d(-100%,0,0) rotateY(-90deg) translate3d(-100%,0,0);transform:translate3d(-100%,0,0) rotateY(-90deg) translate3d(-100%,0,0)}.reveal .slides>section[data-transition=default].future,.reveal .slides>section.future{display:block;opacity:0;-webkit-transform:translate3d(100%,0,0) rotateY(90deg) translate3d(100%,0,0);-moz-transform:translate3d(100%,0,0) rotateY(90deg) translate3d(100%,0,0);-ms-transform:translate3d(100%,0,0) rotateY(90deg) translate3d(100%,0,0);transform:translate3d(100%,0,0) rotateY(90deg) translate3d(100%,0,0)}.reveal .slides>section>section[data-transition=default].past,.reveal .slides>section>section.past{display:block;opacity:0;-webkit-transform:translate3d(0,-300px,0) rotateX(70deg) translate3d(0,-300px,0);-moz-transform:translate3d(0,-300px,0) rotateX(70deg) translate3d(0,-300px,0);-ms-transform:translate3d(0,-300px,0) rotateX(70deg) translate3d(0,-300px,0);transform:translate3d(0,-300px,0) rotateX(70deg) translate3d(0,-300px,0)}.reveal .slides>section>section[data-transition=default].future,.reveal .slides>section>section.future{display:block;opacity:0;-webkit-transform:translate3d(0,300px,0) rotateX(-70deg) translate3d(0,300px,0);-moz-transform:translate3d(0,300px,0) rotateX(-70deg) translate3d(0,300px,0);-ms-transform:translate3d(0,300px,0) rotateX(-70deg) translate3d(0,300px,0);transform:translate3d(0,300px,0) rotateX(-70deg) translate3d(0,300px,0)}.reveal .slides>section[data-transition=concave].past,.reveal.concave .slides>section.past{-webkit-transform:translate3d(-100%,0,0) rotateY(90deg) translate3d(-100%,0,0);-moz-transform:translate3d(-100%,0,0) rotateY(90deg) translate3d(-100%,0,0);-ms-transform:translate3d(-100%,0,0) rotateY(90deg) translate3d(-100%,0,0);transform:translate3d(-100%,0,0) rotateY(90deg) translate3d(-100%,0,0)}.reveal .slides>section[data-transition=concave].future,.reveal.concave .slides>section.future{-webkit-transform:translate3d(100%,0,0) rotateY(-90deg) translate3d(100%,0,0);-moz-transform:translate3d(100%,0,0) rotateY(-90deg) translate3d(100%,0,0);-ms-transform:translate3d(100%,0,0) rotateY(-90deg) translate3d(100%,0,0);transform:translate3d(100%,0,0) rotateY(-90deg) translate3d(100%,0,0)}.reveal .slides>section>section[data-transition=concave].past,.reveal.concave .slides>section>section.past{-webkit-transform:translate3d(0,-80%,0) rotateX(-70deg) translate3d(0,-80%,0);-moz-transform:translate3d(0,-80%,0) rotateX(-70deg) translate3d(0,-80%,0);-ms-transform:translate3d(0,-80%,0) rotateX(-70deg) translate3d(0,-80%,0);transform:translate3d(0,-80%,0) rotateX(-70deg) translate3d(0,-80%,0)}.reveal .slides>section>section[data-transition=concave].future,.reveal.concave .slides>section>section.future{-webkit-transform:translate3d(0,80%,0) rotateX(70deg) translate3d(0,80%,0);-moz-transform:translate3d(0,80%,0) rotateX(70deg) translate3d(0,80%,0);-ms-transform:translate3d(0,80%,0) rotateX(70deg) translate3d(0,80%,0);transform:translate3d(0,80%,0) rotateX(70deg) translate3d(0,80%,0)}.reveal .slides>section[data-transition=zoom].past,.reveal.zoom .slides>section.past{opacity:0;visibility:hidden;-webkit-transform:scale(16);-moz-transform:scale(16);-ms-transform:scale(16);-o-transform:scale(16);transform:scale(16)}.reveal .slides>section[data-transition=zoom].future,.reveal.zoom .slides>section.future{opacity:0;visibility:hidden;-webkit-transform:scale(0.2);-moz-transform:scale(0.2);-ms-transform:scale(0.2);-o-transform:scale(0.2);transform:scale(0.2)}.reveal .slides>section>section[data-transition=zoom].past,.reveal.zoom .slides>section>section.past{-webkit-transform:translate(0,-150%);-moz-transform:translate(0,-150%);-ms-transform:translate(0,-150%);-o-transform:translate(0,-150%);transform:translate(0,-150%)}.reveal .slides>section>section[data-transition=zoom].future,.reveal.zoom .slides>section>section.future{-webkit-transform:translate(0,150%);-moz-transform:translate(0,150%);-ms-transform:translate(0,150%);-o-transform:translate(0,150%);transform:translate(0,150%)}.reveal.linear section{-webkit-backface-visibility:hidden;-moz-backface-visibility:hidden;-ms-backface-visibility:hidden;backface-visibility:hidden}.reveal .slides>section[data-transition=linear].past,.reveal.linear .slides>section.past{-webkit-transform:translate(-150%,0);-moz-transform:translate(-150%,0);-ms-transform:translate(-150%,0);-o-transform:translate(-150%,0);transform:translate(-150%,0)}.reveal .slides>section[data-transition=linear].future,.reveal.linear .slides>section.future{-webkit-transform:translate(150%,0);-moz-transform:translate(150%,0);-ms-transform:translate(150%,0);-o-transform:translate(150%,0);transform:translate(150%,0)}.reveal .slides>section>section[data-transition=linear].past,.reveal.linear .slides>section>section.past{-webkit-transform:translate(0,-150%);-moz-transform:translate(0,-150%);-ms-transform:translate(0,-150%);-o-transform:translate(0,-150%);transform:translate(0,-150%)}.reveal .slides>section>section[data-transition=linear].future,.reveal.linear .slides>section>section.future{-webkit-transform:translate(0,150%);-moz-transform:translate(0,150%);-ms-transform:translate(0,150%);-o-transform:translate(0,150%);transform:translate(0,150%)}.reveal.cube .slides{-webkit-perspective:1300px;-moz-perspective:1300px;-ms-perspective:1300px;perspective:1300px}.reveal.cube .slides section{padding:30px;min-height:700px;-webkit-backface-visibility:hidden;-moz-backface-visibility:hidden;-ms-backface-visibility:hidden;backface-visibility:hidden;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.reveal.center.cube .slides section{min-height:auto}.reveal.cube .slides section:not(.stack):before{content:'';position:absolute;display:block;width:100%;height:100%;left:0;top:0;background:rgba(0,0,0,.1);border-radius:4px;-webkit-transform:translateZ(-20px);-moz-transform:translateZ(-20px);-ms-transform:translateZ(-20px);-o-transform:translateZ(-20px);transform:translateZ(-20px)}.reveal.cube .slides section:not(.stack):after{content:'';position:absolute;display:block;width:90%;height:30px;left:5%;bottom:0;background:0;z-index:1;border-radius:4px;box-shadow:0 95px 25px rgba(0,0,0,.2);-webkit-transform:translateZ(-90px) rotateX(65deg);-moz-transform:translateZ(-90px) rotateX(65deg);-ms-transform:translateZ(-90px) rotateX(65deg);-o-transform:translateZ(-90px) rotateX(65deg);transform:translateZ(-90px) rotateX(65deg)}.reveal.cube .slides>section.stack{padding:0;background:0}.reveal.cube .slides>section.past{-webkit-transform-origin:100% 0;-moz-transform-origin:100% 0;-ms-transform-origin:100% 0;transform-origin:100% 0;-webkit-transform:translate3d(-100%,0,0) rotateY(-90deg);-moz-transform:translate3d(-100%,0,0) rotateY(-90deg);-ms-transform:translate3d(-100%,0,0) rotateY(-90deg);transform:translate3d(-100%,0,0) rotateY(-90deg)}.reveal.cube .slides>section.future{-webkit-transform-origin:0 0;-moz-transform-origin:0 0;-ms-transform-origin:0 0;transform-origin:0 0;-webkit-transform:translate3d(100%,0,0) rotateY(90deg);-moz-transform:translate3d(100%,0,0) rotateY(90deg);-ms-transform:translate3d(100%,0,0) rotateY(90deg);transform:translate3d(100%,0,0) rotateY(90deg)}.reveal.cube .slides>section>section.past{-webkit-transform-origin:0 100%;-moz-transform-origin:0 100%;-ms-transform-origin:0 100%;transform-origin:0 100%;-webkit-transform:translate3d(0,-100%,0) rotateX(90deg);-moz-transform:translate3d(0,-100%,0) rotateX(90deg);-ms-transform:translate3d(0,-100%,0) rotateX(90deg);transform:translate3d(0,-100%,0) rotateX(90deg)}.reveal.cube .slides>section>section.future{-webkit-transform-origin:0 0;-moz-transform-origin:0 0;-ms-transform-origin:0 0;transform-origin:0 0;-webkit-transform:translate3d(0,100%,0) rotateX(-90deg);-moz-transform:translate3d(0,100%,0) rotateX(-90deg);-ms-transform:translate3d(0,100%,0) rotateX(-90deg);transform:translate3d(0,100%,0) rotateX(-90deg)}.reveal.page .slides{-webkit-perspective-origin:0 50%;-moz-perspective-origin:0 50%;-ms-perspective-origin:0 50%;perspective-origin:0 50%;-webkit-perspective:3000px;-moz-perspective:3000px;-ms-perspective:3000px;perspective:3000px}.reveal.page .slides section{padding:30px;min-height:700px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.reveal.page .slides section.past{z-index:12}.reveal.page .slides section:not(.stack):before{content:'';position:absolute;display:block;width:100%;height:100%;left:0;top:0;background:rgba(0,0,0,.1);-webkit-transform:translateZ(-20px);-moz-transform:translateZ(-20px);-ms-transform:translateZ(-20px);-o-transform:translateZ(-20px);transform:translateZ(-20px)}.reveal.page .slides section:not(.stack):after{content:'';position:absolute;display:block;width:90%;height:30px;left:5%;bottom:0;background:0;z-index:1;border-radius:4px;box-shadow:0 95px 25px rgba(0,0,0,.2);-webkit-transform:translateZ(-90px) rotateX(65deg)}.reveal.page .slides>section.stack{padding:0;background:0}.reveal.page .slides>section.past{-webkit-transform-origin:0 0;-moz-transform-origin:0 0;-ms-transform-origin:0 0;transform-origin:0 0;-webkit-transform:translate3d(-40%,0,0) rotateY(-80deg);-moz-transform:translate3d(-40%,0,0) rotateY(-80deg);-ms-transform:translate3d(-40%,0,0) rotateY(-80deg);transform:translate3d(-40%,0,0) rotateY(-80deg)}.reveal.page .slides>section.future{-webkit-transform-origin:100% 0;-moz-transform-origin:100% 0;-ms-transform-origin:100% 0;transform-origin:100% 0;-webkit-transform:translate3d(0,0,0);-moz-transform:translate3d(0,0,0);-ms-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}.reveal.page .slides>section>section.past{-webkit-transform-origin:0 0;-moz-transform-origin:0 0;-ms-transform-origin:0 0;transform-origin:0 0;-webkit-transform:translate3d(0,-40%,0) rotateX(80deg);-moz-transform:translate3d(0,-40%,0) rotateX(80deg);-ms-transform:translate3d(0,-40%,0) rotateX(80deg);transform:translate3d(0,-40%,0) rotateX(80deg)}.reveal.page .slides>section>section.future{-webkit-transform-origin:0 100%;-moz-transform-origin:0 100%;-ms-transform-origin:0 100%;transform-origin:0 100%;-webkit-transform:translate3d(0,0,0);-moz-transform:translate3d(0,0,0);-ms-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}.reveal .slides section[data-transition=fade],.reveal.fade .slides section,.reveal.fade .slides>section>section{-webkit-transform:none;-moz-transform:none;-ms-transform:none;-o-transform:none;transform:none;-webkit-transition:opacity .5s;-moz-transition:opacity .5s;-ms-transition:opacity .5s;-o-transition:opacity .5s;transition:opacity .5s}.reveal.fade.overview .slides section,.reveal.fade.overview .slides>section>section,.reveal.fade.exit-overview .slides section,.reveal.fade.exit-overview .slides>section>section{-webkit-transition:none;-moz-transition:none;-ms-transition:none;-o-transition:none;transition:none}.reveal .slides section[data-transition=none],.reveal.none .slides section{-webkit-transform:none;-moz-transform:none;-ms-transform:none;-o-transform:none;transform:none;-webkit-transition:none;-moz-transition:none;-ms-transition:none;-o-transition:none;transition:none}.reveal.overview .slides{-webkit-perspective-origin:0 0;-moz-perspective-origin:0 0;-ms-perspective-origin:0 0;perspective-origin:0 0;-webkit-perspective:700px;-moz-perspective:700px;-ms-perspective:700px;perspective:700px}.reveal.overview .slides section{height:600px;overflow:hidden;opacity:1!important;visibility:visible!important;cursor:pointer;background:rgba(0,0,0,.1)}.reveal.overview .slides section .fragment{opacity:1}.reveal.overview .slides section:after,.reveal.overview .slides section:before{display:none!important}.reveal.overview .slides section>section{opacity:1;cursor:pointer}.reveal.overview .slides section:hover{background:rgba(0,0,0,.3)}.reveal.overview .slides section.present{background:rgba(0,0,0,.3)}.reveal.overview .slides>section.stack{padding:0;background:0;overflow:visible}.reveal .pause-overlay{position:absolute;top:0;left:0;width:100%;height:100%;background:#000;visibility:hidden;opacity:0;z-index:100;-webkit-transition:all 1s ease;-moz-transition:all 1s ease;-ms-transition:all 1s ease;-o-transition:all 1s ease;transition:all 1s ease}.reveal.paused .pause-overlay{visibility:visible;opacity:1}.no-transforms{overflow-y:auto}.no-transforms .reveal .slides{position:relative;width:80%;height:auto!important;top:0;left:50%;margin:0;text-align:center}.no-transforms .reveal .controls,.no-transforms .reveal .progress{display:none!important}.no-transforms .reveal .slides section{display:block!important;opacity:1!important;position:relative!important;height:auto;min-height:auto;top:0;left:-50%;margin:70px 0;-webkit-transform:none;-moz-transform:none;-ms-transform:none;-o-transform:none;transform:none}.no-transforms .reveal .slides section section{left:0}.no-transition{-webkit-transition:none;-moz-transition:none;-ms-transition:none;-o-transition:none;transition:none}.reveal .state-background{position:absolute;width:100%;height:100%;background:rgba(0,0,0,0);-webkit-transition:background 800ms ease;-moz-transition:background 800ms ease;-ms-transition:background 800ms ease;-o-transition:background 800ms ease;transition:background 800ms ease}.alert .reveal .state-background{background:rgba(200,50,30,.6)}.soothe .reveal .state-background{background:rgba(50,200,90,.4)}.blackout .reveal .state-background{background:rgba(0,0,0,.6)}.whiteout .reveal .state-background{background:rgba(255,255,255,.6)}.cobalt .reveal .state-background{background:rgba(22,152,213,.6)}.mint .reveal .state-background{background:rgba(22,213,75,.6)}.submerge .reveal .state-background{background:rgba(12,25,77,.6)}.lila .reveal .state-background{background:rgba(180,50,140,.6)}.sunset .reveal .state-background{background:rgba(255,122,0,.6)}.reveal>.background{position:absolute;width:100%;height:100%}.reveal>.background div{position:absolute;width:100%;height:100%;opacity:0;visibility:hidden;background-color:rgba(0,0,0,0);background-position:50% 50%;background-repeat:no-repeat;background-size:cover;-webkit-transition:all 800ms ease;-moz-transition:all 800ms ease;-ms-transition:all 800ms ease;-o-transition:all 800ms ease;transition:all 800ms ease}.reveal>.background div.present{opacity:1;visibility:visible}.reveal[data-transition-speed=fast] .background div{-webkit-transition-duration:400ms;-moz-transition-duration:400ms;-ms-transition-duration:400ms;transition-duration:400ms}.reveal[data-transition-speed=slow] .background div{-webkit-transition-duration:1200ms;-moz-transition-duration:1200ms;-ms-transition-duration:1200ms;transition-duration:1200ms}.reveal.rtl .slides,.reveal.rtl .slides h1,.reveal.rtl .slides h2,.reveal.rtl .slides h3,.reveal.rtl .slides h4,.reveal.rtl .slides h5,.reveal.rtl .slides h6{direction:rtl;font-family:sans-serif}.reveal.rtl pre,.reveal.rtl code{direction:ltr}.reveal.rtl ol,.reveal.rtl ul{text-align:right}.reveal.rtl .progress span{float:right}.reveal aside.notes{display:none}.zoomed .reveal *,.zoomed .reveal :before,.zoomed .reveal :after{-webkit-transform:none!important;-moz-transform:none!important;-ms-transform:none!important;transform:none!important;-webkit-backface-visibility:visible!important;-moz-backface-visibility:visible!important;-ms-backface-visibility:visible!important;backface-visibility:visible!important}.zoomed .reveal .progress,.zoomed .reveal .controls{opacity:0}.zoomed .reveal .roll span{background:0}.zoomed .reveal .roll span:after{visibility:hidden} \ No newline at end of file diff --git a/js/reveal.js b/js/reveal.js index 4ff34c9..7d8020f 100644 --- a/js/reveal.js +++ b/js/reveal.js @@ -186,6 +186,13 @@ var Reveal = (function(){ dom.wrapper = document.querySelector( '.reveal' ); dom.slides = document.querySelector( '.reveal .slides' ); + // Background element + if( !document.querySelector( '.reveal .background' ) ) { + dom.background = document.createElement( 'div' ); + dom.background.classList.add( 'background' ); + dom.wrapper.appendChild( dom.background ); + } + // Progress bar if( !dom.wrapper.querySelector( '.progress' ) ) { var progressElement = document.createElement( 'div' ); @@ -205,11 +212,11 @@ var Reveal = (function(){ dom.wrapper.appendChild( controlsElement ); } - // Presentation background element + // State background element [DEPRECATED] if( !dom.wrapper.querySelector( '.state-background' ) ) { - var backgroundElement = document.createElement( 'div' ); - backgroundElement.classList.add( 'state-background' ); - dom.wrapper.appendChild( backgroundElement ); + var stateBackgroundElement = document.createElement( 'div' ); + stateBackgroundElement.classList.add( 'state-background' ); + dom.wrapper.appendChild( stateBackgroundElement ); } // Overlay graphic which is displayed during the paused mode @@ -237,6 +244,54 @@ var Reveal = (function(){ } + /** + * Creates the slide background elements and appends them + * to the background container. + */ + function createBackgrounds() { + + // Clear prior backgrounds + dom.background.innerHTML = ''; + + // Helper method for creating a background element for the + // given slide + function _createBackground( slide, container ) { + + var background = slide.getAttribute( 'data-background' ); + var element = document.createElement( 'div' ); + + if( background ) { + // Auto-wrap image urls in url(...) + if( /\.(png|jpg|jpeg|gif|bmp|)$/gi.test( background ) ) { + element.style.backgroundImage = 'url('+ background +')'; + } + else { + element.style.background = background; + } + } + + container.appendChild( element ); + + return element; + + } + + // Iterate over all horizontal slides + toArray( document.querySelectorAll( HORIZONTAL_SLIDES_SELECTOR ) ).forEach( function( slideh ) { + + var backgroundStack = _createBackground( slideh, dom.background ); + + // Iterate over all vertical slides + toArray( slideh.querySelectorAll( 'section' ) ).forEach( function( slidev ) { + + _createBackground( slidev, backgroundStack ); + + } ); + + } ); + + } + /** * Hides the address bar if we're on a mobile device. */ @@ -1173,6 +1228,7 @@ var Reveal = (function(){ updateControls(); updateProgress(); + updateBackground(); } @@ -1196,8 +1252,12 @@ var Reveal = (function(){ // Start auto-sliding if it's enabled cueAutoSlide(); + // Re-create the slide backgrounds + createBackgrounds(); + updateControls(); updateProgress(); + updateBackground(); } @@ -1402,6 +1462,25 @@ var Reveal = (function(){ } + /** + * + */ + function updateBackground() { + + toArray( dom.background.childNodes ).forEach( function( backgroundh, h ) { + + backgroundh.className = ( h < indexh ? 'past' : h > indexh ? 'future' : 'present' ); + + toArray( backgroundh.childNodes ).forEach( function( backgroundv, v ) { + + backgroundv.className = ( v < indexv ? 'past' : v > indexv ? 'future' : 'present' ); + + } ); + + } ); + + } + /** * Determine what available routes there are for navigation. * diff --git a/js/reveal.min.js b/js/reveal.min.js index b10dea6..4df60ea 100644 --- a/js/reveal.min.js +++ b/js/reveal.min.js @@ -1,8 +1,8 @@ /*! - * reveal.js 2.5.0 (2013-05-12, 09:44) + * reveal.js 2.5.0 (2013-06-04, 19:39) * http://lab.hakim.se/reveal-js * MIT licensed * * Copyright (C) 2013 Hakim El Hattab, http://hakim.se */ -var Reveal=function(){"use strict";function e(e){return Mt||kt?(window.addEventListener("load",h,!1),c(bt,e),n(),r(),void 0):(document.body.setAttribute("class","no-transforms"),void 0)}function t(){if(Tt.theme=document.querySelector("#theme"),Tt.wrapper=document.querySelector(".reveal"),Tt.slides=document.querySelector(".reveal .slides"),!Tt.wrapper.querySelector(".progress")){var e=document.createElement("div");e.classList.add("progress"),e.innerHTML="",Tt.wrapper.appendChild(e)}if(!Tt.wrapper.querySelector(".controls")){var t=document.createElement("aside");t.classList.add("controls"),t.innerHTML='',Tt.wrapper.appendChild(t)}if(!Tt.wrapper.querySelector(".state-background")){var n=document.createElement("div");n.classList.add("state-background"),Tt.wrapper.appendChild(n)}if(!Tt.wrapper.querySelector(".pause-overlay")){var r=document.createElement("div");r.classList.add("pause-overlay"),Tt.wrapper.appendChild(r)}Tt.progress=document.querySelector(".reveal .progress"),Tt.progressbar=document.querySelector(".reveal .progress span"),bt.controls&&(Tt.controls=document.querySelector(".reveal .controls"),Tt.controlsLeft=l(document.querySelectorAll(".navigate-left")),Tt.controlsRight=l(document.querySelectorAll(".navigate-right")),Tt.controlsUp=l(document.querySelectorAll(".navigate-up")),Tt.controlsDown=l(document.querySelectorAll(".navigate-down")),Tt.controlsPrev=l(document.querySelectorAll(".navigate-prev")),Tt.controlsNext=l(document.querySelectorAll(".navigate-next")))}function n(){/iphone|ipod|android/gi.test(navigator.userAgent)&&!/crios/gi.test(navigator.userAgent)&&(window.addEventListener("load",u,!1),window.addEventListener("orientationchange",u,!1))}function r(){function e(){n.length&&head.js.apply(null,n),o()}for(var t=[],n=[],r=0,a=bt.dependencies.length;a>r;r++){var s=bt.dependencies[r];(!s.condition||s.condition())&&(s.async?n.push(s.src):t.push(s.src),"function"==typeof s.callback&&head.ready(s.src.match(/([\w\d_\-]*)\.?js$|[^\\\/]*$/i)[0],s.callback))}t.length?(head.ready(e),head.js.apply(null,t)):e()}function o(){t(),a(),H(),setTimeout(function(){f("ready",{indexh:St,indexv:At,currentSlide:ht})},1)}function a(e){if(Tt.wrapper.classList.remove(bt.transition),"object"==typeof e&&c(bt,e),kt===!1&&(bt.transition="linear"),Tt.wrapper.classList.add(bt.transition),Tt.wrapper.setAttribute("data-transition-speed",bt.transitionSpeed),Tt.controls&&(Tt.controls.style.display=bt.controls&&Tt.controls?"block":"none"),Tt.progress&&(Tt.progress.style.display=bt.progress&&Tt.progress?"block":"none"),bt.rtl?Tt.wrapper.classList.add("rtl"):Tt.wrapper.classList.remove("rtl"),bt.center?Tt.wrapper.classList.add("center"):Tt.wrapper.classList.remove("center"),bt.mouseWheel?(document.addEventListener("DOMMouseScroll",ot,!1),document.addEventListener("mousewheel",ot,!1)):(document.removeEventListener("DOMMouseScroll",ot,!1),document.removeEventListener("mousewheel",ot,!1)),bt.rollingLinks?v():p(),bt.theme&&Tt.theme){var t=Tt.theme.getAttribute("href"),n=/[^\/]*?(?=\.css)/,r=t.match(n)[0];bt.theme!==r&&(t=t.replace(n,bt.theme),Tt.theme.setAttribute("href",t))}P()}function s(){Yt=!0,window.addEventListener("hashchange",ft,!1),window.addEventListener("resize",vt,!1),bt.touch&&(Tt.wrapper.addEventListener("touchstart",G,!1),Tt.wrapper.addEventListener("touchmove",J,!1),Tt.wrapper.addEventListener("touchend",et,!1),window.navigator.msPointerEnabled&&(Tt.wrapper.addEventListener("MSPointerDown",tt,!1),Tt.wrapper.addEventListener("MSPointerMove",nt,!1),Tt.wrapper.addEventListener("MSPointerUp",rt,!1))),bt.keyboard&&document.addEventListener("keydown",B,!1),bt.progress&&Tt.progress&&Tt.progress.addEventListener("click",at,!1),bt.controls&&Tt.controls&&["touchstart","click"].forEach(function(e){Tt.controlsLeft.forEach(function(t){t.addEventListener(e,st,!1)}),Tt.controlsRight.forEach(function(t){t.addEventListener(e,it,!1)}),Tt.controlsUp.forEach(function(t){t.addEventListener(e,ct,!1)}),Tt.controlsDown.forEach(function(t){t.addEventListener(e,lt,!1)}),Tt.controlsPrev.forEach(function(t){t.addEventListener(e,dt,!1)}),Tt.controlsNext.forEach(function(t){t.addEventListener(e,ut,!1)})})}function i(){Yt=!1,document.removeEventListener("keydown",B,!1),window.removeEventListener("hashchange",ft,!1),window.removeEventListener("resize",vt,!1),Tt.wrapper.removeEventListener("touchstart",G,!1),Tt.wrapper.removeEventListener("touchmove",J,!1),Tt.wrapper.removeEventListener("touchend",et,!1),window.navigator.msPointerEnabled&&(Tt.wrapper.removeEventListener("MSPointerDown",tt,!1),Tt.wrapper.removeEventListener("MSPointerMove",nt,!1),Tt.wrapper.removeEventListener("MSPointerUp",rt,!1)),bt.progress&&Tt.progress&&Tt.progress.removeEventListener("click",at,!1),bt.controls&&Tt.controls&&["touchstart","click"].forEach(function(e){Tt.controlsLeft.forEach(function(t){t.removeEventListener(e,st,!1)}),Tt.controlsRight.forEach(function(t){t.removeEventListener(e,it,!1)}),Tt.controlsUp.forEach(function(t){t.removeEventListener(e,ct,!1)}),Tt.controlsDown.forEach(function(t){t.removeEventListener(e,lt,!1)}),Tt.controlsPrev.forEach(function(t){t.removeEventListener(e,dt,!1)}),Tt.controlsNext.forEach(function(t){t.removeEventListener(e,ut,!1)})})}function c(e,t){for(var n in t)e[n]=t[n]}function l(e){return Array.prototype.slice.call(e)}function d(e,t){var n=e.x-t.x,r=e.y-t.y;return Math.sqrt(n*n+r*r)}function u(){0===window.orientation?(document.documentElement.style.overflow="scroll",document.body.style.height="120%"):(document.documentElement.style.overflow="",document.body.style.height="100%"),setTimeout(function(){window.scrollTo(0,1)},10)}function f(e,t){var n=document.createEvent("HTMLEvents",1,2);n.initEvent(e,!0,!0),c(n,t),Tt.wrapper.dispatchEvent(n)}function v(){if(kt&&!("msPerspective"in document.body.style))for(var e=document.querySelectorAll(gt+" a:not(.image)"),t=0,n=e.length;n>t;t++){var r=e[t];if(!(!r.textContent||r.querySelector("*")||r.className&&r.classList.contains(r,"roll"))){var o=document.createElement("span");o.setAttribute("data-title",r.text),o.innerHTML=r.innerHTML,r.classList.add("roll"),r.innerHTML="",r.appendChild(o)}}}function p(){for(var e=document.querySelectorAll(gt+" a.roll"),t=0,n=e.length;n>t;t++){var r=e[t],o=r.querySelector("span");o&&(r.classList.remove("roll"),r.innerHTML=o.innerHTML)}}function m(e){var t=l(e);return t.forEach(function(e,t){e.hasAttribute("data-fragment-index")||e.setAttribute("data-fragment-index",t)}),t.sort(function(e,t){return e.getAttribute("data-fragment-index")-t.getAttribute("data-fragment-index")}),t}function h(){if(Tt.wrapper){var e=Tt.wrapper.offsetWidth,t=Tt.wrapper.offsetHeight;e-=t*bt.margin,t-=t*bt.margin;var n=bt.width,r=bt.height;if("string"==typeof n&&/%$/.test(n)&&(n=parseInt(n,10)/100*e),"string"==typeof r&&/%$/.test(r)&&(r=parseInt(r,10)/100*t),Tt.slides.style.width=n+"px",Tt.slides.style.height=r+"px",xt=Math.min(e/n,t/r),xt=Math.max(xt,bt.minScale),xt=Math.min(xt,bt.maxScale),void 0===Tt.slides.style.zoom||navigator.userAgent.match(/(iphone|ipod|ipad|android)/gi)){var o="translate(-50%, -50%) scale("+xt+") translate(50%, 50%)";Tt.slides.style.WebkitTransform=o,Tt.slides.style.MozTransform=o,Tt.slides.style.msTransform=o,Tt.slides.style.OTransform=o,Tt.slides.style.transform=o}else Tt.slides.style.zoom=xt;for(var a=l(document.querySelectorAll(gt)),s=0,i=a.length;i>s;s++){var c=a[s];"none"!==c.style.display&&(c.style.top=bt.center?c.classList.contains("stack")?0:Math.max(-(c.offsetHeight/2)-20,-r/2)+"px":"")}N()}}function g(e,t){"object"==typeof e&&"function"==typeof e.setAttribute&&e.setAttribute("data-previous-indexv",t||0)}function y(e){if("object"==typeof e&&"function"==typeof e.setAttribute&&e.classList.contains("stack")){var t=e.hasAttribute("data-start-indexv")?"data-start-indexv":"data-previous-indexv";return parseInt(e.getAttribute(t)||0,10)}return 0}function w(){if(bt.overview){_();var e=Tt.wrapper.classList.contains("overview");Tt.wrapper.classList.add("overview"),Tt.wrapper.classList.remove("exit-overview"),clearTimeout(Ct),clearTimeout(Ot),Ct=setTimeout(function(){for(var t=document.querySelectorAll(yt),n=0,r=t.length;r>n;n++){var o=t[n],a=bt.rtl?-105:105,s="translateZ(-2500px) translate("+(n-St)*a+"%, 0%)";if(o.setAttribute("data-index-h",n),o.style.display="block",o.style.WebkitTransform=s,o.style.MozTransform=s,o.style.msTransform=s,o.style.OTransform=s,o.style.transform=s,o.classList.contains("stack"))for(var i=o.querySelectorAll("section"),c=0,l=i.length;l>c;c++){var d=n===St?At:y(o),u=i[c],v="translate(0%, "+105*(c-d)+"%)";u.setAttribute("data-index-h",n),u.setAttribute("data-index-v",c),u.style.display="block",u.style.WebkitTransform=v,u.style.MozTransform=v,u.style.msTransform=v,u.style.OTransform=v,u.style.transform=v,u.addEventListener("click",pt,!0)}else o.addEventListener("click",pt,!0)}h(),e||f("overviewshown",{indexh:St,indexv:At,currentSlide:ht})},10)}}function L(){if(bt.overview){clearTimeout(Ct),clearTimeout(Ot),Tt.wrapper.classList.remove("overview"),Tt.wrapper.classList.add("exit-overview"),Ot=setTimeout(function(){Tt.wrapper.classList.remove("exit-overview")},10);for(var e=l(document.querySelectorAll(gt)),t=0,n=e.length;n>t;t++){var r=e[t];r.style.display="",r.style.WebkitTransform="",r.style.MozTransform="",r.style.msTransform="",r.style.OTransform="",r.style.transform="",r.removeEventListener("click",pt,!0)}M(St,At),F(),f("overviewhidden",{indexh:St,indexv:At,currentSlide:ht})}}function b(e){"boolean"==typeof e?e?w():L():E()?L():w()}function E(){return Tt.wrapper.classList.contains("overview")}function S(e){return e=e?e:ht,e&&!!e.parentNode.nodeName.match(/section/i)}function A(){var e=document.body,t=e.requestFullScreen||e.webkitRequestFullscreen||e.webkitRequestFullScreen||e.mozRequestFullScreen||e.msRequestFullScreen;t&&t.apply(e)}function q(){var e=Tt.wrapper.classList.contains("paused");_(),Tt.wrapper.classList.add("paused"),e===!1&&f("paused")}function x(){var e=Tt.wrapper.classList.contains("paused");Tt.wrapper.classList.remove("paused"),F(),e&&f("resumed")}function T(){k()?x():q()}function k(){return Tt.wrapper.classList.contains("paused")}function M(e,t,n,r){mt=ht;var o=document.querySelectorAll(yt);void 0===t&&(t=y(o[e])),mt&&mt.parentNode&&mt.parentNode.classList.contains("stack")&&g(mt.parentNode,At);var a=qt.concat();qt.length=0;var s=St,i=At;St=D(yt,void 0===e?St:e),At=D(wt,void 0===t?At:t),h();e:for(var c=0,d=qt.length;d>c;c++){for(var u=0;a.length>u;u++)if(a[u]===qt[c]){a.splice(u,1);continue e}document.documentElement.classList.add(qt[c]),f(qt[c])}for(;a.length;)document.documentElement.classList.remove(a.pop());E()&&w(),I(1500);var v=o[St],p=v.querySelectorAll("section");if(ht=p[At]||v,n!==void 0){var L=m(ht.querySelectorAll(".fragment"));l(L).forEach(function(e,t){n>t?e.classList.add("visible"):e.classList.remove("visible")})}St!==s||At!==i?f("slidechanged",{indexh:St,indexv:At,previousSlide:mt,currentSlide:ht,origin:r}):mt=null,mt&&(mt.classList.remove("present"),document.querySelector(Lt).classList.contains("present")&&setTimeout(function(){var e,t=l(document.querySelectorAll(yt+".stack"));for(e in t)t[e]&&g(t[e],0)},0)),X(mt),R(ht),C(),N()}function P(){i(),s(),h(),Et=bt.autoSlide,F(),C(),N()}function D(e,t){var n=l(document.querySelectorAll(e)),r=n.length;if(r){bt.loop&&(t%=r,0>t&&(t=r+t)),t=Math.max(Math.min(t,r-1),0);for(var o=0;r>o;o++){var a=n[o];if(E()===!1){var s=Math.abs((t-o)%(r-3))||0;a.style.display=s>3?"none":"block"}var i=bt.rtl&&!S(a);a.classList.remove("past"),a.classList.remove("present"),a.classList.remove("future"),t>o?a.classList.add(i?"future":"past"):o>t&&a.classList.add(i?"past":"future"),a.querySelector("section")&&a.classList.add("stack")}n[t].classList.add("present");var c=n[t].getAttribute("data-state");c&&(qt=qt.concat(c.split(" ")));var d=n[t].getAttribute("data-autoslide");Et=d?parseInt(d,10):bt.autoSlide}else t=0;return t}function N(){if(bt.progress&&Tt.progress){var e=l(document.querySelectorAll(yt)),t=document.querySelectorAll(gt+":not(.stack)").length,n=0;e:for(var r=0;e.length>r;r++){for(var o=e[r],a=l(o.querySelectorAll("section")),s=0;a.length>s;s++){if(a[s].classList.contains("present"))break e;n++}if(o.classList.contains("present"))break;o.classList.contains("stack")===!1&&n++}Tt.progressbar.style.width=n/(t-1)*window.innerWidth+"px"}}function C(){if(bt.controls&&Tt.controls){var e=O(),t=Y();Tt.controlsLeft.concat(Tt.controlsRight).concat(Tt.controlsUp).concat(Tt.controlsDown).concat(Tt.controlsPrev).concat(Tt.controlsNext).forEach(function(e){e.classList.remove("enabled"),e.classList.remove("fragmented")}),e.left&&Tt.controlsLeft.forEach(function(e){e.classList.add("enabled")}),e.right&&Tt.controlsRight.forEach(function(e){e.classList.add("enabled")}),e.up&&Tt.controlsUp.forEach(function(e){e.classList.add("enabled")}),e.down&&Tt.controlsDown.forEach(function(e){e.classList.add("enabled")}),(e.left||e.up)&&Tt.controlsPrev.forEach(function(e){e.classList.add("enabled")}),(e.right||e.down)&&Tt.controlsNext.forEach(function(e){e.classList.add("enabled")}),ht&&(t.prev&&Tt.controlsPrev.forEach(function(e){e.classList.add("fragmented","enabled")}),t.next&&Tt.controlsNext.forEach(function(e){e.classList.add("fragmented","enabled")}),S(ht)?(t.prev&&Tt.controlsUp.forEach(function(e){e.classList.add("fragmented","enabled")}),t.next&&Tt.controlsDown.forEach(function(e){e.classList.add("fragmented","enabled")})):(t.prev&&Tt.controlsLeft.forEach(function(e){e.classList.add("fragmented","enabled")}),t.next&&Tt.controlsRight.forEach(function(e){e.classList.add("fragmented","enabled")})))}}function O(){var e=document.querySelectorAll(yt),t=document.querySelectorAll(wt),n={left:St>0||bt.loop,right:e.length-1>St||bt.loop,up:At>0,down:t.length-1>At};if(bt.rtl){var r=n.left;n.left=n.right,n.right=r}return n}function Y(){if(ht&&bt.fragments){var e=ht.querySelectorAll(".fragment"),t=ht.querySelectorAll(".fragment:not(.visible)");return{prev:e.length-t.length>0,next:!!t.length}}return{prev:!1,next:!1}}function R(e){e&&(l(e.querySelectorAll("video, audio")).forEach(function(e){e.hasAttribute("data-autoplay")&&e.play()}),l(e.querySelectorAll('iframe[src*="youtube.com/embed/"]')).forEach(function(e){e.hasAttribute("data-autoplay")&&e.contentWindow.postMessage('{"event":"command","func":"playVideo","args":""}',"*")}))}function X(e){e&&(l(e.querySelectorAll("video, audio")).forEach(function(e){e.hasAttribute("data-ignore")||e.pause()}),l(e.querySelectorAll('iframe[src*="youtube.com/embed/"]')).forEach(function(e){e.hasAttribute("data-ignore")||"function"!=typeof e.contentWindow.postMessage||e.contentWindow.postMessage('{"event":"command","func":"pauseVideo","args":""}',"*")}))}function H(){var e=window.location.hash,t=e.slice(2).split("/"),n=e.replace(/#|\//gi,"");if(isNaN(parseInt(t[0],10))&&n.length){var r=document.querySelector("#"+n);if(r){var o=Reveal.getIndices(r);M(o.h,o.v)}else M(St,At)}else{var a=parseInt(t[0],10)||0,s=parseInt(t[1],10)||0;M(a,s)}}function I(e){if(bt.history)if(clearTimeout(Nt),"number"==typeof e)Nt=setTimeout(I,e);else{var t="/";ht&&"string"==typeof ht.getAttribute("id")?t="/"+ht.getAttribute("id"):((St>0||At>0)&&(t+=St),At>0&&(t+="/"+At)),window.location.hash=t}}function W(e){var t,n=St,r=At;if(e){var o=S(e),a=o?e.parentNode:e,s=l(document.querySelectorAll(yt));n=Math.max(s.indexOf(a),0),o&&(r=Math.max(l(e.parentNode.querySelectorAll("section")).indexOf(e),0))}if(!e&&ht){var i=ht.querySelectorAll(".fragment.visible");i.length&&(t=i.length)}return{h:n,v:r,f:t}}function U(){if(ht&&bt.fragments){var e=m(ht.querySelectorAll(".fragment:not(.visible)"));if(e.length){var t=e[0].getAttribute("data-fragment-index");return e=ht.querySelectorAll('.fragment[data-fragment-index="'+t+'"]'),l(e).forEach(function(e){e.classList.add("visible"),f("fragmentshown",{fragment:e})}),C(),!0}}return!1}function z(){if(ht&&bt.fragments){var e=m(ht.querySelectorAll(".fragment.visible"));if(e.length){var t=e[e.length-1].getAttribute("data-fragment-index");return e=ht.querySelectorAll('.fragment[data-fragment-index="'+t+'"]'),l(e).forEach(function(e){e.classList.remove("visible"),f("fragmenthidden",{fragment:e})}),C(),!0}}return!1}function F(){clearTimeout(Dt),!Et||k()||E()||(Dt=setTimeout(Q,Et))}function _(){clearTimeout(Dt)}function j(){bt.rtl?(E()||U()===!1)&&O().left&&M(St+1):(E()||z()===!1)&&O().left&&M(St-1)}function K(){bt.rtl?(E()||z()===!1)&&O().right&&M(St-1):(E()||U()===!1)&&O().right&&M(St+1)}function $(){(E()||z()===!1)&&O().up&&M(St,At-1)}function V(){(E()||U()===!1)&&O().down&&M(St,At+1)}function Z(){if(z()===!1)if(O().up)$();else{var e=document.querySelector(yt+".past:nth-child("+St+")");e&&(At=e.querySelectorAll("section").length+1||void 0,St--,M(St,At))}}function Q(){U()===!1&&(O().down?V():K()),F()}function B(e){document.activeElement;var t=!(!document.activeElement||!document.activeElement.type&&!document.activeElement.href&&"inherit"===document.activeElement.contentEditable);if(!(t||e.shiftKey&&32!==e.keyCode||e.altKey||e.ctrlKey||e.metaKey)){var n=!0;if(k()&&-1===[66,190,191].indexOf(e.keyCode))return!1;switch(e.keyCode){case 80:case 33:Z();break;case 78:case 34:Q();break;case 72:case 37:j();break;case 76:case 39:K();break;case 75:case 38:$();break;case 74:case 40:V();break;case 36:M(0);break;case 35:M(Number.MAX_VALUE);break;case 32:E()?L():e.shiftKey?Z():Q();break;case 13:E()?L():n=!1;break;case 66:case 190:case 191:T();break;case 70:A();break;default:n=!1}n?e.preventDefault():27===e.keyCode&&kt&&(b(),e.preventDefault()),F()}}function G(e){Rt.startX=e.touches[0].clientX,Rt.startY=e.touches[0].clientY,Rt.startCount=e.touches.length,2===e.touches.length&&bt.overview&&(Rt.startSpan=d({x:e.touches[1].clientX,y:e.touches[1].clientY},{x:Rt.startX,y:Rt.startY}))}function J(e){if(Rt.handled)navigator.userAgent.match(/android/gi)&&e.preventDefault();else{var t=e.touches[0].clientX,n=e.touches[0].clientY;if(2===e.touches.length&&2===Rt.startCount&&bt.overview){var r=d({x:e.touches[1].clientX,y:e.touches[1].clientY},{x:Rt.startX,y:Rt.startY});Math.abs(Rt.startSpan-r)>Rt.threshold&&(Rt.handled=!0,Rt.startSpan>r?w():L()),e.preventDefault()}else if(1===e.touches.length&&2!==Rt.startCount){var o=t-Rt.startX,a=n-Rt.startY;o>Rt.threshold&&Math.abs(o)>Math.abs(a)?(Rt.handled=!0,j()):-Rt.threshold>o&&Math.abs(o)>Math.abs(a)?(Rt.handled=!0,K()):a>Rt.threshold?(Rt.handled=!0,$()):-Rt.threshold>a&&(Rt.handled=!0,V()),e.preventDefault()}}}function et(){Rt.handled=!1}function tt(e){e.pointerType===e.MSPOINTER_TYPE_TOUCH&&(e.touches=[{clientX:e.clientX,clientY:e.clientY}],G(e))}function nt(e){e.pointerType===e.MSPOINTER_TYPE_TOUCH&&(e.touches=[{clientX:e.clientX,clientY:e.clientY}],J(e))}function rt(e){e.pointerType===e.MSPOINTER_TYPE_TOUCH&&(e.touches=[{clientX:e.clientX,clientY:e.clientY}],et(e))}function ot(e){clearTimeout(Pt),Pt=setTimeout(function(){var t=e.detail||-e.wheelDelta;t>0?Q():Z()},100)}function at(e){e.preventDefault();var t=l(document.querySelectorAll(yt)).length,n=Math.floor(e.clientX/Tt.wrapper.offsetWidth*t);M(n)}function st(e){e.preventDefault(),j()}function it(e){e.preventDefault(),K()}function ct(e){e.preventDefault(),$()}function lt(e){e.preventDefault(),V()}function dt(e){e.preventDefault(),Z()}function ut(e){e.preventDefault(),Q()}function ft(){H()}function vt(){h()}function pt(e){if(Yt&&E()){e.preventDefault();for(var t=e.target;t&&!t.nodeName.match(/section/gi);)t=t.parentNode;if(t&&!t.classList.contains("disabled")&&(L(),t.nodeName.match(/section/gi))){var n=parseInt(t.getAttribute("data-index-h"),10),r=parseInt(t.getAttribute("data-index-v"),10);M(n,r)}}}var mt,ht,gt=".reveal .slides section",yt=".reveal .slides>section",wt=".reveal .slides>section.present>section",Lt=".reveal .slides>section:first-child",bt={width:960,height:700,margin:.1,minScale:.2,maxScale:1,controls:!0,progress:!0,history:!1,keyboard:!0,overview:!0,center:!0,touch:!0,loop:!1,rtl:!1,fragments:!0,autoSlide:0,mouseWheel:!1,rollingLinks:!0,theme:null,transition:"default",transitionSpeed:"default",dependencies:[]},Et=0,St=0,At=0,qt=[],xt=1,Tt={},kt="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,Mt="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,Pt=0,Dt=0,Nt=0,Ct=0,Ot=0,Yt=!1,Rt={startX:0,startY:0,startSpan:0,startCount:0,handled:!1,threshold:80};return{initialize:e,configure:a,sync:P,slide:M,left:j,right:K,up:$,down:V,prev:Z,next:Q,prevFragment:z,nextFragment:U,navigateTo:M,navigateLeft:j,navigateRight:K,navigateUp:$,navigateDown:V,navigatePrev:Z,navigateNext:Q,layout:h,availableRoutes:O,availableFragments:Y,toggleOverview:b,togglePause:T,isOverview:E,isPaused:k,addEventListeners:s,removeEventListeners:i,getIndices:W,getSlide:function(e,t){var n=document.querySelectorAll(yt)[e],r=n&&n.querySelectorAll("section");return t!==void 0?r?r[t]:void 0:n},getPreviousSlide:function(){return mt},getCurrentSlide:function(){return ht},getScale:function(){return xt},getConfig:function(){return bt},getQueryHash:function(){var e={};return location.search.replace(/[A-Z0-9]+?=(\w*)/gi,function(t){e[t.split("=").shift()]=t.split("=").pop()}),e},isFirstSlide:function(){return null==document.querySelector(gt+".past")?!0:!1},isLastSlide:function(){return ht&&ht.classList.contains(".stack")?null==ht.querySelector(gt+".future")?!0:!1:null==document.querySelector(gt+".future")?!0:!1},addEventListener:function(e,t,n){"addEventListener"in window&&(Tt.wrapper||document.querySelector(".reveal")).addEventListener(e,t,n)},removeEventListener:function(e,t,n){"addEventListener"in window&&(Tt.wrapper||document.querySelector(".reveal")).removeEventListener(e,t,n)}}}(); \ No newline at end of file +var Reveal=function(){"use strict";function e(e){return Nt||Pt?(window.addEventListener("load",g,!1),l(St,e),r(),o(),void 0):(document.body.setAttribute("class","no-transforms"),void 0)}function t(){if(Mt.theme=document.querySelector("#theme"),Mt.wrapper=document.querySelector(".reveal"),Mt.slides=document.querySelector(".reveal .slides"),document.querySelector(".reveal .background")||(Mt.background=document.createElement("div"),Mt.background.classList.add("background"),Mt.wrapper.appendChild(Mt.background)),!Mt.wrapper.querySelector(".progress")){var e=document.createElement("div");e.classList.add("progress"),e.innerHTML="",Mt.wrapper.appendChild(e)}if(!Mt.wrapper.querySelector(".controls")){var t=document.createElement("aside");t.classList.add("controls"),t.innerHTML='',Mt.wrapper.appendChild(t)}if(!Mt.wrapper.querySelector(".state-background")){var n=document.createElement("div");n.classList.add("state-background"),Mt.wrapper.appendChild(n)}if(!Mt.wrapper.querySelector(".pause-overlay")){var r=document.createElement("div");r.classList.add("pause-overlay"),Mt.wrapper.appendChild(r)}Mt.progress=document.querySelector(".reveal .progress"),Mt.progressbar=document.querySelector(".reveal .progress span"),St.controls&&(Mt.controls=document.querySelector(".reveal .controls"),Mt.controlsLeft=d(document.querySelectorAll(".navigate-left")),Mt.controlsRight=d(document.querySelectorAll(".navigate-right")),Mt.controlsUp=d(document.querySelectorAll(".navigate-up")),Mt.controlsDown=d(document.querySelectorAll(".navigate-down")),Mt.controlsPrev=d(document.querySelectorAll(".navigate-prev")),Mt.controlsNext=d(document.querySelectorAll(".navigate-next")))}function n(){function e(e,t){var n=e.getAttribute("data-background"),r=document.createElement("div");return n&&(/\.(png|jpg|jpeg|gif|bmp|)$/gi.test(n)?r.style.backgroundImage="url("+n+")":r.style.background=n),t.appendChild(r),r}Mt.background.innerHTML="",d(document.querySelectorAll(wt)).forEach(function(t){var n=e(t,Mt.background);d(t.querySelectorAll("section")).forEach(function(t){e(t,n)})})}function r(){/iphone|ipod|android/gi.test(navigator.userAgent)&&!/crios/gi.test(navigator.userAgent)&&(window.addEventListener("load",f,!1),window.addEventListener("orientationchange",f,!1))}function o(){function e(){n.length&&head.js.apply(null,n),a()}for(var t=[],n=[],r=0,o=St.dependencies.length;o>r;r++){var s=St.dependencies[r];(!s.condition||s.condition())&&(s.async?n.push(s.src):t.push(s.src),"function"==typeof s.callback&&head.ready(s.src.match(/([\w\d_\-]*)\.?js$|[^\\\/]*$/i)[0],s.callback))}t.length?(head.ready(e),head.js.apply(null,t)):e()}function a(){t(),s(),W(),setTimeout(function(){v("ready",{indexh:qt,indexv:kt,currentSlide:yt})},1)}function s(e){if(Mt.wrapper.classList.remove(St.transition),"object"==typeof e&&l(St,e),Pt===!1&&(St.transition="linear"),Mt.wrapper.classList.add(St.transition),Mt.wrapper.setAttribute("data-transition-speed",St.transitionSpeed),Mt.controls&&(Mt.controls.style.display=St.controls&&Mt.controls?"block":"none"),Mt.progress&&(Mt.progress.style.display=St.progress&&Mt.progress?"block":"none"),St.rtl?Mt.wrapper.classList.add("rtl"):Mt.wrapper.classList.remove("rtl"),St.center?Mt.wrapper.classList.add("center"):Mt.wrapper.classList.remove("center"),St.mouseWheel?(document.addEventListener("DOMMouseScroll",st,!1),document.addEventListener("mousewheel",st,!1)):(document.removeEventListener("DOMMouseScroll",st,!1),document.removeEventListener("mousewheel",st,!1)),St.rollingLinks?p():m(),St.theme&&Mt.theme){var t=Mt.theme.getAttribute("href"),n=/[^\/]*?(?=\.css)/,r=t.match(n)[0];St.theme!==r&&(t=t.replace(n,St.theme),Mt.theme.setAttribute("href",t))}N()}function i(){Xt=!0,window.addEventListener("hashchange",pt,!1),window.addEventListener("resize",mt,!1),St.touch&&(Mt.wrapper.addEventListener("touchstart",et,!1),Mt.wrapper.addEventListener("touchmove",tt,!1),Mt.wrapper.addEventListener("touchend",nt,!1),window.navigator.msPointerEnabled&&(Mt.wrapper.addEventListener("MSPointerDown",rt,!1),Mt.wrapper.addEventListener("MSPointerMove",ot,!1),Mt.wrapper.addEventListener("MSPointerUp",at,!1))),St.keyboard&&document.addEventListener("keydown",J,!1),St.progress&&Mt.progress&&Mt.progress.addEventListener("click",it,!1),St.controls&&Mt.controls&&["touchstart","click"].forEach(function(e){Mt.controlsLeft.forEach(function(t){t.addEventListener(e,ct,!1)}),Mt.controlsRight.forEach(function(t){t.addEventListener(e,lt,!1)}),Mt.controlsUp.forEach(function(t){t.addEventListener(e,dt,!1)}),Mt.controlsDown.forEach(function(t){t.addEventListener(e,ut,!1)}),Mt.controlsPrev.forEach(function(t){t.addEventListener(e,ft,!1)}),Mt.controlsNext.forEach(function(t){t.addEventListener(e,vt,!1)})})}function c(){Xt=!1,document.removeEventListener("keydown",J,!1),window.removeEventListener("hashchange",pt,!1),window.removeEventListener("resize",mt,!1),Mt.wrapper.removeEventListener("touchstart",et,!1),Mt.wrapper.removeEventListener("touchmove",tt,!1),Mt.wrapper.removeEventListener("touchend",nt,!1),window.navigator.msPointerEnabled&&(Mt.wrapper.removeEventListener("MSPointerDown",rt,!1),Mt.wrapper.removeEventListener("MSPointerMove",ot,!1),Mt.wrapper.removeEventListener("MSPointerUp",at,!1)),St.progress&&Mt.progress&&Mt.progress.removeEventListener("click",it,!1),St.controls&&Mt.controls&&["touchstart","click"].forEach(function(e){Mt.controlsLeft.forEach(function(t){t.removeEventListener(e,ct,!1)}),Mt.controlsRight.forEach(function(t){t.removeEventListener(e,lt,!1)}),Mt.controlsUp.forEach(function(t){t.removeEventListener(e,dt,!1)}),Mt.controlsDown.forEach(function(t){t.removeEventListener(e,ut,!1)}),Mt.controlsPrev.forEach(function(t){t.removeEventListener(e,ft,!1)}),Mt.controlsNext.forEach(function(t){t.removeEventListener(e,vt,!1)})})}function l(e,t){for(var n in t)e[n]=t[n]}function d(e){return Array.prototype.slice.call(e)}function u(e,t){var n=e.x-t.x,r=e.y-t.y;return Math.sqrt(n*n+r*r)}function f(){0===window.orientation?(document.documentElement.style.overflow="scroll",document.body.style.height="120%"):(document.documentElement.style.overflow="",document.body.style.height="100%"),setTimeout(function(){window.scrollTo(0,1)},10)}function v(e,t){var n=document.createEvent("HTMLEvents",1,2);n.initEvent(e,!0,!0),l(n,t),Mt.wrapper.dispatchEvent(n)}function p(){if(Pt&&!("msPerspective"in document.body.style))for(var e=document.querySelectorAll(bt+" a:not(.image)"),t=0,n=e.length;n>t;t++){var r=e[t];if(!(!r.textContent||r.querySelector("*")||r.className&&r.classList.contains(r,"roll"))){var o=document.createElement("span");o.setAttribute("data-title",r.text),o.innerHTML=r.innerHTML,r.classList.add("roll"),r.innerHTML="",r.appendChild(o)}}}function m(){for(var e=document.querySelectorAll(bt+" a.roll"),t=0,n=e.length;n>t;t++){var r=e[t],o=r.querySelector("span");o&&(r.classList.remove("roll"),r.innerHTML=o.innerHTML)}}function h(e){var t=d(e);return t.forEach(function(e,t){e.hasAttribute("data-fragment-index")||e.setAttribute("data-fragment-index",t)}),t.sort(function(e,t){return e.getAttribute("data-fragment-index")-t.getAttribute("data-fragment-index")}),t}function g(){if(Mt.wrapper){var e=Mt.wrapper.offsetWidth,t=Mt.wrapper.offsetHeight;e-=t*St.margin,t-=t*St.margin;var n=St.width,r=St.height;if("string"==typeof n&&/%$/.test(n)&&(n=parseInt(n,10)/100*e),"string"==typeof r&&/%$/.test(r)&&(r=parseInt(r,10)/100*t),Mt.slides.style.width=n+"px",Mt.slides.style.height=r+"px",Tt=Math.min(e/n,t/r),Tt=Math.max(Tt,St.minScale),Tt=Math.min(Tt,St.maxScale),void 0===Mt.slides.style.zoom||navigator.userAgent.match(/(iphone|ipod|ipad|android)/gi)){var o="translate(-50%, -50%) scale("+Tt+") translate(50%, 50%)";Mt.slides.style.WebkitTransform=o,Mt.slides.style.MozTransform=o,Mt.slides.style.msTransform=o,Mt.slides.style.OTransform=o,Mt.slides.style.transform=o}else Mt.slides.style.zoom=Tt;for(var a=d(document.querySelectorAll(bt)),s=0,i=a.length;i>s;s++){var c=a[s];"none"!==c.style.display&&(c.style.top=St.center?c.classList.contains("stack")?0:Math.max(-(c.offsetHeight/2)-20,-r/2)+"px":"")}C()}}function y(e,t){"object"==typeof e&&"function"==typeof e.setAttribute&&e.setAttribute("data-previous-indexv",t||0)}function b(e){if("object"==typeof e&&"function"==typeof e.setAttribute&&e.classList.contains("stack")){var t=e.hasAttribute("data-start-indexv")?"data-start-indexv":"data-previous-indexv";return parseInt(e.getAttribute(t)||0,10)}return 0}function w(){if(St.overview){K();var e=Mt.wrapper.classList.contains("overview");Mt.wrapper.classList.add("overview"),Mt.wrapper.classList.remove("exit-overview"),clearTimeout(Yt),clearTimeout(Rt),Yt=setTimeout(function(){for(var t=document.querySelectorAll(wt),n=0,r=t.length;r>n;n++){var o=t[n],a=St.rtl?-105:105,s="translateZ(-2500px) translate("+(n-qt)*a+"%, 0%)";if(o.setAttribute("data-index-h",n),o.style.display="block",o.style.WebkitTransform=s,o.style.MozTransform=s,o.style.msTransform=s,o.style.OTransform=s,o.style.transform=s,o.classList.contains("stack"))for(var i=o.querySelectorAll("section"),c=0,l=i.length;l>c;c++){var d=n===qt?kt:b(o),u=i[c],f="translate(0%, "+105*(c-d)+"%)";u.setAttribute("data-index-h",n),u.setAttribute("data-index-v",c),u.style.display="block",u.style.WebkitTransform=f,u.style.MozTransform=f,u.style.msTransform=f,u.style.OTransform=f,u.style.transform=f,u.addEventListener("click",ht,!0)}else o.addEventListener("click",ht,!0)}g(),e||v("overviewshown",{indexh:qt,indexv:kt,currentSlide:yt})},10)}}function L(){if(St.overview){clearTimeout(Yt),clearTimeout(Rt),Mt.wrapper.classList.remove("overview"),Mt.wrapper.classList.add("exit-overview"),Rt=setTimeout(function(){Mt.wrapper.classList.remove("exit-overview")},10);for(var e=d(document.querySelectorAll(bt)),t=0,n=e.length;n>t;t++){var r=e[t];r.style.display="",r.style.WebkitTransform="",r.style.MozTransform="",r.style.msTransform="",r.style.OTransform="",r.style.transform="",r.removeEventListener("click",ht,!0)}P(qt,kt),_(),v("overviewhidden",{indexh:qt,indexv:kt,currentSlide:yt})}}function E(e){"boolean"==typeof e?e?w():L():S()?L():w()}function S(){return Mt.wrapper.classList.contains("overview")}function A(e){return e=e?e:yt,e&&!!e.parentNode.nodeName.match(/section/i)}function q(){var e=document.body,t=e.requestFullScreen||e.webkitRequestFullscreen||e.webkitRequestFullScreen||e.mozRequestFullScreen||e.msRequestFullScreen;t&&t.apply(e)}function k(){var e=Mt.wrapper.classList.contains("paused");K(),Mt.wrapper.classList.add("paused"),e===!1&&v("paused")}function x(){var e=Mt.wrapper.classList.contains("paused");Mt.wrapper.classList.remove("paused"),_(),e&&v("resumed")}function T(){M()?x():k()}function M(){return Mt.wrapper.classList.contains("paused")}function P(e,t,n,r){gt=yt;var o=document.querySelectorAll(wt);void 0===t&&(t=b(o[e])),gt&>.parentNode&>.parentNode.classList.contains("stack")&&y(gt.parentNode,kt);var a=xt.concat();xt.length=0;var s=qt,i=kt;qt=D(wt,void 0===e?qt:e),kt=D(Lt,void 0===t?kt:t),g();e:for(var c=0,l=xt.length;l>c;c++){for(var u=0;a.length>u;u++)if(a[u]===xt[c]){a.splice(u,1);continue e}document.documentElement.classList.add(xt[c]),v(xt[c])}for(;a.length;)document.documentElement.classList.remove(a.pop());S()&&w(),U(1500);var f=o[qt],p=f.querySelectorAll("section");if(yt=p[kt]||f,n!==void 0){var m=h(yt.querySelectorAll(".fragment"));d(m).forEach(function(e,t){n>t?e.classList.add("visible"):e.classList.remove("visible")})}qt!==s||kt!==i?v("slidechanged",{indexh:qt,indexv:kt,previousSlide:gt,currentSlide:yt,origin:r}):gt=null,gt&&(gt.classList.remove("present"),document.querySelector(Et).classList.contains("present")&&setTimeout(function(){var e,t=d(document.querySelectorAll(wt+".stack"));for(e in t)t[e]&&y(t[e],0)},0)),I(gt),H(yt),O(),C(),Y()}function N(){c(),i(),g(),At=St.autoSlide,_(),n(),O(),C(),Y()}function D(e,t){var n=d(document.querySelectorAll(e)),r=n.length;if(r){St.loop&&(t%=r,0>t&&(t=r+t)),t=Math.max(Math.min(t,r-1),0);for(var o=0;r>o;o++){var a=n[o];if(S()===!1){var s=Math.abs((t-o)%(r-3))||0;a.style.display=s>3?"none":"block"}var i=St.rtl&&!A(a);a.classList.remove("past"),a.classList.remove("present"),a.classList.remove("future"),t>o?a.classList.add(i?"future":"past"):o>t&&a.classList.add(i?"past":"future"),a.querySelector("section")&&a.classList.add("stack")}n[t].classList.add("present");var c=n[t].getAttribute("data-state");c&&(xt=xt.concat(c.split(" ")));var l=n[t].getAttribute("data-autoslide");At=l?parseInt(l,10):St.autoSlide}else t=0;return t}function C(){if(St.progress&&Mt.progress){var e=d(document.querySelectorAll(wt)),t=document.querySelectorAll(bt+":not(.stack)").length,n=0;e:for(var r=0;e.length>r;r++){for(var o=e[r],a=d(o.querySelectorAll("section")),s=0;a.length>s;s++){if(a[s].classList.contains("present"))break e;n++}if(o.classList.contains("present"))break;o.classList.contains("stack")===!1&&n++}Mt.progressbar.style.width=n/(t-1)*window.innerWidth+"px"}}function O(){if(St.controls&&Mt.controls){var e=R(),t=X();Mt.controlsLeft.concat(Mt.controlsRight).concat(Mt.controlsUp).concat(Mt.controlsDown).concat(Mt.controlsPrev).concat(Mt.controlsNext).forEach(function(e){e.classList.remove("enabled"),e.classList.remove("fragmented")}),e.left&&Mt.controlsLeft.forEach(function(e){e.classList.add("enabled")}),e.right&&Mt.controlsRight.forEach(function(e){e.classList.add("enabled")}),e.up&&Mt.controlsUp.forEach(function(e){e.classList.add("enabled")}),e.down&&Mt.controlsDown.forEach(function(e){e.classList.add("enabled")}),(e.left||e.up)&&Mt.controlsPrev.forEach(function(e){e.classList.add("enabled")}),(e.right||e.down)&&Mt.controlsNext.forEach(function(e){e.classList.add("enabled")}),yt&&(t.prev&&Mt.controlsPrev.forEach(function(e){e.classList.add("fragmented","enabled")}),t.next&&Mt.controlsNext.forEach(function(e){e.classList.add("fragmented","enabled")}),A(yt)?(t.prev&&Mt.controlsUp.forEach(function(e){e.classList.add("fragmented","enabled")}),t.next&&Mt.controlsDown.forEach(function(e){e.classList.add("fragmented","enabled")})):(t.prev&&Mt.controlsLeft.forEach(function(e){e.classList.add("fragmented","enabled")}),t.next&&Mt.controlsRight.forEach(function(e){e.classList.add("fragmented","enabled")})))}}function Y(){d(Mt.background.childNodes).forEach(function(e,t){e.className=qt>t?"past":t>qt?"future":"present",d(e.childNodes).forEach(function(e,t){e.className=kt>t?"past":t>kt?"future":"present"})})}function R(){var e=document.querySelectorAll(wt),t=document.querySelectorAll(Lt),n={left:qt>0||St.loop,right:e.length-1>qt||St.loop,up:kt>0,down:t.length-1>kt};if(St.rtl){var r=n.left;n.left=n.right,n.right=r}return n}function X(){if(yt&&St.fragments){var e=yt.querySelectorAll(".fragment"),t=yt.querySelectorAll(".fragment:not(.visible)");return{prev:e.length-t.length>0,next:!!t.length}}return{prev:!1,next:!1}}function H(e){e&&(d(e.querySelectorAll("video, audio")).forEach(function(e){e.hasAttribute("data-autoplay")&&e.play()}),d(e.querySelectorAll('iframe[src*="youtube.com/embed/"]')).forEach(function(e){e.hasAttribute("data-autoplay")&&e.contentWindow.postMessage('{"event":"command","func":"playVideo","args":""}',"*")}))}function I(e){e&&(d(e.querySelectorAll("video, audio")).forEach(function(e){e.hasAttribute("data-ignore")||e.pause()}),d(e.querySelectorAll('iframe[src*="youtube.com/embed/"]')).forEach(function(e){e.hasAttribute("data-ignore")||"function"!=typeof e.contentWindow.postMessage||e.contentWindow.postMessage('{"event":"command","func":"pauseVideo","args":""}',"*")}))}function W(){var e=window.location.hash,t=e.slice(2).split("/"),n=e.replace(/#|\//gi,"");if(isNaN(parseInt(t[0],10))&&n.length){var r=document.querySelector("#"+n);if(r){var o=Reveal.getIndices(r);P(o.h,o.v)}else P(qt,kt)}else{var a=parseInt(t[0],10)||0,s=parseInt(t[1],10)||0;P(a,s)}}function U(e){if(St.history)if(clearTimeout(Ot),"number"==typeof e)Ot=setTimeout(U,e);else{var t="/";yt&&"string"==typeof yt.getAttribute("id")?t="/"+yt.getAttribute("id"):((qt>0||kt>0)&&(t+=qt),kt>0&&(t+="/"+kt)),window.location.hash=t}}function z(e){var t,n=qt,r=kt;if(e){var o=A(e),a=o?e.parentNode:e,s=d(document.querySelectorAll(wt));n=Math.max(s.indexOf(a),0),o&&(r=Math.max(d(e.parentNode.querySelectorAll("section")).indexOf(e),0))}if(!e&&yt){var i=yt.querySelectorAll(".fragment.visible");i.length&&(t=i.length)}return{h:n,v:r,f:t}}function F(){if(yt&&St.fragments){var e=h(yt.querySelectorAll(".fragment:not(.visible)"));if(e.length){var t=e[0].getAttribute("data-fragment-index");return e=yt.querySelectorAll('.fragment[data-fragment-index="'+t+'"]'),d(e).forEach(function(e){e.classList.add("visible"),v("fragmentshown",{fragment:e})}),O(),!0}}return!1}function j(){if(yt&&St.fragments){var e=h(yt.querySelectorAll(".fragment.visible"));if(e.length){var t=e[e.length-1].getAttribute("data-fragment-index");return e=yt.querySelectorAll('.fragment[data-fragment-index="'+t+'"]'),d(e).forEach(function(e){e.classList.remove("visible"),v("fragmenthidden",{fragment:e})}),O(),!0}}return!1}function _(){clearTimeout(Ct),!At||M()||S()||(Ct=setTimeout(G,At))}function K(){clearTimeout(Ct)}function $(){St.rtl?(S()||F()===!1)&&R().left&&P(qt+1):(S()||j()===!1)&&R().left&&P(qt-1)}function V(){St.rtl?(S()||j()===!1)&&R().right&&P(qt-1):(S()||F()===!1)&&R().right&&P(qt+1)}function Z(){(S()||j()===!1)&&R().up&&P(qt,kt-1)}function Q(){(S()||F()===!1)&&R().down&&P(qt,kt+1)}function B(){if(j()===!1)if(R().up)Z();else{var e=document.querySelector(wt+".past:nth-child("+qt+")");e&&(kt=e.querySelectorAll("section").length+1||void 0,qt--,P(qt,kt))}}function G(){F()===!1&&(R().down?Q():V()),_()}function J(e){document.activeElement;var t=!(!document.activeElement||!document.activeElement.type&&!document.activeElement.href&&"inherit"===document.activeElement.contentEditable);if(!(t||e.shiftKey&&32!==e.keyCode||e.altKey||e.ctrlKey||e.metaKey)){var n=!0;if(M()&&-1===[66,190,191].indexOf(e.keyCode))return!1;switch(e.keyCode){case 80:case 33:B();break;case 78:case 34:G();break;case 72:case 37:$();break;case 76:case 39:V();break;case 75:case 38:Z();break;case 74:case 40:Q();break;case 36:P(0);break;case 35:P(Number.MAX_VALUE);break;case 32:S()?L():e.shiftKey?B():G();break;case 13:S()?L():n=!1;break;case 66:case 190:case 191:T();break;case 70:q();break;default:n=!1}n?e.preventDefault():27===e.keyCode&&Pt&&(E(),e.preventDefault()),_()}}function et(e){Ht.startX=e.touches[0].clientX,Ht.startY=e.touches[0].clientY,Ht.startCount=e.touches.length,2===e.touches.length&&St.overview&&(Ht.startSpan=u({x:e.touches[1].clientX,y:e.touches[1].clientY},{x:Ht.startX,y:Ht.startY}))}function tt(e){if(Ht.handled)navigator.userAgent.match(/android/gi)&&e.preventDefault();else{var t=e.touches[0].clientX,n=e.touches[0].clientY;if(2===e.touches.length&&2===Ht.startCount&&St.overview){var r=u({x:e.touches[1].clientX,y:e.touches[1].clientY},{x:Ht.startX,y:Ht.startY});Math.abs(Ht.startSpan-r)>Ht.threshold&&(Ht.handled=!0,Ht.startSpan>r?w():L()),e.preventDefault()}else if(1===e.touches.length&&2!==Ht.startCount){var o=t-Ht.startX,a=n-Ht.startY;o>Ht.threshold&&Math.abs(o)>Math.abs(a)?(Ht.handled=!0,$()):-Ht.threshold>o&&Math.abs(o)>Math.abs(a)?(Ht.handled=!0,V()):a>Ht.threshold?(Ht.handled=!0,Z()):-Ht.threshold>a&&(Ht.handled=!0,Q()),e.preventDefault()}}}function nt(){Ht.handled=!1}function rt(e){e.pointerType===e.MSPOINTER_TYPE_TOUCH&&(e.touches=[{clientX:e.clientX,clientY:e.clientY}],et(e))}function ot(e){e.pointerType===e.MSPOINTER_TYPE_TOUCH&&(e.touches=[{clientX:e.clientX,clientY:e.clientY}],tt(e))}function at(e){e.pointerType===e.MSPOINTER_TYPE_TOUCH&&(e.touches=[{clientX:e.clientX,clientY:e.clientY}],nt(e))}function st(e){clearTimeout(Dt),Dt=setTimeout(function(){var t=e.detail||-e.wheelDelta;t>0?G():B()},100)}function it(e){e.preventDefault();var t=d(document.querySelectorAll(wt)).length,n=Math.floor(e.clientX/Mt.wrapper.offsetWidth*t);P(n)}function ct(e){e.preventDefault(),$()}function lt(e){e.preventDefault(),V()}function dt(e){e.preventDefault(),Z()}function ut(e){e.preventDefault(),Q()}function ft(e){e.preventDefault(),B()}function vt(e){e.preventDefault(),G()}function pt(){W()}function mt(){g()}function ht(e){if(Xt&&S()){e.preventDefault();for(var t=e.target;t&&!t.nodeName.match(/section/gi);)t=t.parentNode;if(t&&!t.classList.contains("disabled")&&(L(),t.nodeName.match(/section/gi))){var n=parseInt(t.getAttribute("data-index-h"),10),r=parseInt(t.getAttribute("data-index-v"),10);P(n,r)}}}var gt,yt,bt=".reveal .slides section",wt=".reveal .slides>section",Lt=".reveal .slides>section.present>section",Et=".reveal .slides>section:first-child",St={width:960,height:700,margin:.1,minScale:.2,maxScale:1,controls:!0,progress:!0,history:!1,keyboard:!0,overview:!0,center:!0,touch:!0,loop:!1,rtl:!1,fragments:!0,autoSlide:0,mouseWheel:!1,rollingLinks:!0,theme:null,transition:"default",transitionSpeed:"default",dependencies:[]},At=0,qt=0,kt=0,xt=[],Tt=1,Mt={},Pt="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,Nt="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,Dt=0,Ct=0,Ot=0,Yt=0,Rt=0,Xt=!1,Ht={startX:0,startY:0,startSpan:0,startCount:0,handled:!1,threshold:80};return{initialize:e,configure:s,sync:N,slide:P,left:$,right:V,up:Z,down:Q,prev:B,next:G,prevFragment:j,nextFragment:F,navigateTo:P,navigateLeft:$,navigateRight:V,navigateUp:Z,navigateDown:Q,navigatePrev:B,navigateNext:G,layout:g,availableRoutes:R,availableFragments:X,toggleOverview:E,togglePause:T,isOverview:S,isPaused:M,addEventListeners:i,removeEventListeners:c,getIndices:z,getSlide:function(e,t){var n=document.querySelectorAll(wt)[e],r=n&&n.querySelectorAll("section");return t!==void 0?r?r[t]:void 0:n},getPreviousSlide:function(){return gt},getCurrentSlide:function(){return yt},getScale:function(){return Tt},getConfig:function(){return St},getQueryHash:function(){var e={};return location.search.replace(/[A-Z0-9]+?=(\w*)/gi,function(t){e[t.split("=").shift()]=t.split("=").pop()}),e},isFirstSlide:function(){return null==document.querySelector(bt+".past")?!0:!1},isLastSlide:function(){return yt&&yt.classList.contains(".stack")?null==yt.querySelector(bt+".future")?!0:!1:null==document.querySelector(bt+".future")?!0:!1},addEventListener:function(e,t,n){"addEventListener"in window&&(Mt.wrapper||document.querySelector(".reveal")).addEventListener(e,t,n)},removeEventListener:function(e,t,n){"addEventListener"in window&&(Mt.wrapper||document.querySelector(".reveal")).removeEventListener(e,t,n)}}}(); \ No newline at end of file From 90811b8709cb26d1db91247fb650c44621315a25 Mon Sep 17 00:00:00 2001 From: Hakim El Hattab Date: Tue, 4 Jun 2013 19:42:56 +0200 Subject: [PATCH 05/23] add test directory and simple test document for per-slide backgrounds (#453) --- test/assets/image1.png | Bin 0 -> 21991 bytes test/assets/image2.png | Bin 0 -> 10237 bytes test/background.html | 82 +++++++++++++++++++++++++++++++++++++++++ 3 files changed, 82 insertions(+) create mode 100644 test/assets/image1.png create mode 100644 test/assets/image2.png create mode 100644 test/background.html diff --git a/test/assets/image1.png b/test/assets/image1.png new file mode 100644 index 0000000000000000000000000000000000000000..87475945d0700ff26588a761aa87cab03d28a752 GIT binary patch literal 21991 zcmb@t1yq#X*Ep)EG}4WvbT>mvmvnc72+ZINF|ZHn>3jDcJasiR z^)l6ZF6jXB;Iq5y!w2>7M326APg)M@Y3JbPOLPR7;mp5d?N(6y+1ag zLgI}7{xPFx13NlP>MN=II~V#(hWUk;m!~8@zpt+^pRX_<2<*Zy2mk=?UW{ z{D59|P+lN}qMbd++e?NSz0!ZS;NkgSV1bZ-(S$}AKh(~X zUyx7WZcG2^sHOG)+||S5zj{Nw^qv0KdjChj5JNvtCw_e=2*?}kfIc{9mbA*iUwkg99nh`uE4tn&c7qHv?SGm5HCBRgOj?F3^N)A zpR22*q@t*jgou!YguH?{8t=+N3X0;wii!ft%JQP}!ou>({~4PxQ=6PGDCbCr1@9$b<3krX^kfhqZ`{DJdw63o6M21m*wdwfr;I@qbv$ zzhjmEw`2Lyi{ZaJ+W*s0|ECE}KXTe(s4e0x*`_V)!Pl*tZ~A#sCldz@G=2#dK;k1!h-iiDnPB}=TgQf zV+Fi#NO)g*-*+*HkTqivM**8Dj7Wikn=j%u(cQZ)6z8r1JO6;>pPyD(?>?ErIyL|H z#17B+`$>e$|Np5U6Pfit@HpWAkMRC){r>xc{+;*#wV%R&TljzG{qOMpd%yp`H;7p6 zwi?804?_7IRwo3Nubv6-l#y;rnOHs<{T97< zoj83E4+>N)w`h3RY2ijE;rVPnpgeEMGcT<7+Ng<^6Y6JNx%VAlR4YZ zUFYf>Uj|W2uM%JXVCLO13H#|(=udQ(mA*9EaS3Q_nzNyNF|K7G`^VOz6@u3Z98Yvo%sCFHcFuXyc6tr@0XIgB2~0q`3TjYIRm?PtE~SnWU9I z1AiYv*7tWfAhTvpf0T_OpP&=MDO5ZgIuui|xVAmA0nXW2+~*{jFXpQ3eHU?nbADY@ zf0?KoCS>%sLH@0i<^fPm0HyGk*gGw_;m5@(?TwY*7l6_DKdQ;*&i6uochxUdG+y4! zG(c|OcnQ7j1IIRnkt|U^p~=>YYv~$xgBW0z4`TtYin1f2J6 zvZsw$B=ed$Y=8IUn}l&+ntI%~Gsd>oQ_Jk3y%waeyGl?KO3qp@EGdmEm`=L3+ciZf zNKf~?=S=qJlJHxT1hLECVkJ<9Cm50wAB1{NR}K>l2AumQ)DB4gKK@t1g}fb#QS$p_ zIEzl20(gJsBHSW3V-HMMVc#n-~};@nq8{023|+q))IKI3DFE10YD7JZZz22Y_xs5uAC1D3>P zBx6Sl`gA$}JzZns6MB%<_ien-f3Etx)d9J?yc^&S`2XRQ|*MCTG^pP%b3Z;CKaHBDv#&t+08_b(>C#)?#T;C(BRXdF&0@Q#ly6*@*~c@+wP*A`eEw-1!$*7_H? z{`6N2`b@{T%F*W)(nfwI=QkpAa&?_8hhl`wBzb{bEQOlH{g?fui+rIx zf+BN*#CKx0(*h!b!WeMfU9j#kO7J28z0n<|^WWJBUT1SE)Kq;DQ-60%*lwE7RY`sx7Z1?vO|$$s-Cop>OyKR7?mZ?R z@lWtQh!?jBxd;tv!7^+9D^&KsQZ-px>5o>LXnZxTbf5J&y)Y|{p;&ABD!~B8UH5ZR z806d3jsJijU~2!*0CxnjF|~VJGTiLl5>Lj%UO}7jw>jx(RhI~OCHU}e(f=0>C$vNb zNU@^%JC>g*mK1>MCJ71cRlDm~+m$wjUD7LMq)a^ay!m9*xT*!>ZP0hW=>YRa`j@dK z3e({5jVdZ2;y~gp?{5+f>B>TuplA+@Q1onf%4ae(S9pPbGU!N9vzh09u5J83tap=D z9cJ?8z*%@KcjkbDe!s7ta*k-daX%qQ3Pt!SC7q1@#N81T==DD7P9dX}o8d$KSCA%H zokEV=<>d9cSAYljxU^J)!d^N}boj|p${=taZSN!-MEb2$-jiWUzskZ;jqc&+jGm%aWFnAAe(_bP- z>lpHL4+o1@BBGTNlB+1*jsV6EVhw@63Wn)Z!B{va{sh_D6FRo1R0%dGGbJQ}yiZL- zAMU@od*mMD1Y?j~Vf^K9wE3d1_sl%pnF?HDpU+jB;E==ILGND1)KSLNl)aN~tNHe0 zW;GW5T*G#$nt$BXoz;UjeaxWiAL}f8ffN&ptEY(Z% zu*ivFApJn*&VE80DW5oETvu}5eM(>GEJmABclH!l#B)~*hZMAWqE|^HQcx@WCW|(P zl0-Fs7TPtGHu_Uf9x=DPdx-Jo)RM1(j8HMzKPUI;n%vFyEn2i5-yqX587?U>{Dume>sn2Rpgr* zW@yq;X~N0+pBlsgFN&+G-=(?5k%;kE=n63xsRJ?G@Y2@12$$TWfLq4(;grelE(iBISdHMg93& zqdF2i`9^bCt!sLGAFMXZFY@5;Fq~6YVJN`5(3t&Ev&Yq$Y~`>yFeTXX5$gtlNEdW% zv2^<~%+`X{0fFax{;D{x1JNfS^@T@kp5{faNm$Wq666hbRkt#YLO9m~WUKD|vw`or zNiP8tzg11)&$!1vrLVlM6Ixq$^N^kvO+Xb&1hz>N)kWwO_N_EIhG5=}AnJR|)godV z1dT5UIMA>g`DI=O%tBGk4jirF-jvTv@7u8EW?P2mYW@Y^qgb-JY{Ue|>LnRfo^YVP zBaS;WR3Ff3(FuSWWw=SPX#7KmB^*MmFuiQ5%A}YH6~?z&^ftFoo!D)ww@vLM8Uk9Ad&_OfBHCXniUyta9Qa2w?4^ z=J9Gx;6Fqh2xg{)eb@L}?y2Jl#rtSJ_af_*C4;;DrLyd($grGkKxPt4SSqc!;xn~f zX3Cr|=FnJ6CxR*l?U$JuRAWD#(R9>)$U=*cS@q^S{hOt(8R?WJ_a{b+r^LV;b8oI6+)7DGUbX`#TS*cM4=~v$ zMFrhCQ!`~s3}41^Z;<@OV$H|Q2mxj7V&y-pX%D6_`$%+DCmbYMG@i~rH(qXEh@5cw1ufp_97jT5e1 zf1pkCWvcJRf0#Lj?q(v!eWlLCbnUh1zhcXY3F(-qi8~n1o@$>#zWHD6Jvdbbrg++j z3R8dPE*-%F^fX-5BVC#?>=~qh1)>67zvNi@MoR@ftF`tNKlxGWsZP?KFuGN^T#1vl zt;k=^(ZAXyz|_>t+M@A|UwY6y%uW5{f!9~;x+c9wg_F)nU3Rj(v+o(os{*`MRMlYu z4(fLJ@z@R`Y(p>RFEce=tjTQ~H16|}#<0QxZfT-=wi%cK-^}?$cOgh6?_HD`NC#c0&f>67#;+(}k4!dUl`?-~MFRlmV9y=s54oy;Y^07E#{bS}(t z(JWs16HBah7np;Om4hSB5NT7+)?W2$GN-9(izi>cpY7#kj8;7oVl{QDK(h%Ci~3(C zD4q89?)t4@;XAU${O1%B&TZPxh+;xvOoRM$u-zrByMs?H1nVzeI62l{rO$C+DCs5L-IjFt z76Gri=+AC^l)2S-FMSpfAHoRN5){?a{iSDOPI$| zjuD0hrUl7p{C0#aY}gU-0z|y}SL83et0C%DY|{Eum~4=(w80uCBoHSg5GM5PHF?Ow z1<|&%w0r7GgM+M}lE+Zn=_)k%X_`jQ!Bx+D2n}1BXg^hb>ioex2jnr@b<*&eFmsy< z-*l@Yd#P#QwC9L(nLFjR!5k)fTM68ZF?aG1#5b+w&h85BSnj8c~$XF519+RJiRi5AJfdP86Y`Job5}QdY zPfWHSX?-0tx|pT6 zzkW4JQsD;A0xPo9o0}!6w{8BMoCGmus;IYKN?6}0Zv0bg@rXjtW&tkh_W?y?e4rx``=Bp;iNe^eG&+_(1A>j4>pr}TD7$VHX7@EE z-oo$LHNxfdrSP>|H@e$uCj=mv4y7)!m$Ks!Leh65CvnQKJi}6c__)=9S!und`9we}zZswmo)mKFx=$S#|%Jf05D zjMvXgzfZ3n15@*8al^$pVna5*8AZ8TPc+SRf>#w%ANlclYVY+lU5rN8=#B@z)Fcq& zY@hb=@{x`iZ6VGJ_^QuRruuVwK3rlCix_FMs)J;vU)1mOkJ#Sx3fv?-oXxH#q~uW= z+Fg_D;&TyS)#)2C7y;bRJM#|QV>rA3={A~g$-f}z&PwX=9eO$Dxkz2ubg=3$mE3W; zeBUlksY3Z_+>1cC5j)-2%`v0wE(NP`=z)thRfO8j9#ifYds4xh+H`V0&$K%A2UDf1 z&{pfJGPErS>99Shjj&6t>&z(>bq<;yue3Sa-IijZh~0JM3>1|<=4HyU%3)A6J9kM9 zZ@%EbtDl)x43xt@Y%MQo+LG#0?3zZ~hGRYc`rF&v8LL^Sm{DYaFQ+*qwsB88;_AA0 z|7o}kOm||P8fV@A*^ZI&FZYjCu)++`gou%|q zeBUY!QcmUtKVE!E{Usu%fxh6vrug-u6VHLIs-eQ}O7DRg+2SK^ykNDNlf*A)d`f0t zdc?yTqeXQflajCGh2l_^!jR4rI;ucl zY5I_6n3bmPh%|?bIG-UP8@v;bwkt_+`NK123VzG2a9|@#-!3WgUDLLlpf#tzlcnPV zFdyOc`q-3sIIg$CczNfY74zZTaA(WQOl){?tLVvleWcvEbSp@=8+Z|_E6t^2&KcIw zs01sEKr0PT#+HVd!zz7lmOZ-XHM&krVKoQB*s~XSRunsH&Rd!G~Jf4>q&u0xH94u4R`E)22d^yr1 zl)>Y8#GSa%F3tu0skUR`CO`)_6aN#7iG{h({|Y}feJXw5FnPz`X2?|JRG{`=c*ACr zCRU4+@7uaaO175v%hsqRe?p~c7P5vSG83eH{^TX5@}ItTivAV`3TGkKp>8UthSW|A z+mFdIwjLR1>zljj$iu_qnkU#=Po6xX+?}E4MtX3(fl*u*X;@&&$2@y&Sva`YK}*nu z|0a)(v|kJD+^F{3f1kaWmd)D_B~ORssufMly~p8zKkV;swJ-4ur=e>XIYIak-=4It zRWw(QCt&2f50_`4BgS3Ks})M6sCc$gfj%^XjtGO$m1Q{^f4j7*at^k5_jH5kexo`z zW548Uul3(<@&VbBGUHzn7p|(Rs_mKmj*Tw|t`^U)+VvOC8?B{!<#RQ?C8I0Sw)))1 zP>haeu{{HOsoQ)&(9!n!k5Aj$m2J+$82Y~eX-LexiD=q<1~k*oVQ*=rG9u|BVaGiR zkdf3QQG=0^hJ+>ckqe+0H`WB&M*~)`!QqvNFwPqm>LI= zcDl_Z;3h8O(tp`J@n6{8-JQ;i*pg_NB?n68Xvn#54#{;FRQHK!(Y{xQ%FydraL`Hi z7B-4qKDaqKpZmSV#oSW3af5iVert+>Oqi;lYIvp~Yk+|>_UfiyKCXUnvO<^7TA>N? zb3-8=D};lr^cX5L_-Zdf&+2zI2chc9zE!MMF!7o&@fs+Du{Yq=f=7?{*#}Eeg2M&5 zl!Mjg?QU=1^iiagh0!EIRMoU=+{W=?)3$}VMVqvkn2(1bQf&ky6m|?k00nXPrh7{So1Jc0=eG*k zdOI;r7Qxpb2b;K7UIhhM<)UJuZI9BH&9p7DbuThAy*9Bve*Ab#oY0pCE5!J*qhb0< zzl0L)!G;!FRuVqMh(}9Qul6N#V!DM$pqoGMN$YzPXcJ`;)E06r76v#7$_6Ine zFMd;V+Hok#BqlP*D*!cJ#^-7?Gy7-@c<7jEIS8#d2-!bKTfRN=q`#TBQooMWBwJJI zKF92yF?kV3oT6HgRBV~LrrqrsLO*TAklXNJdZE=i@9a1@@Aebgt4?6--R}%|1VcNj z3=(qF&whev>8RihQLtl`b=Wa30)RG&7?_cPv>V&eW&_jcHj;Ni!UHn|91iHGXoYGq zcC8(%F(RmCqk0YyObBj zPVcgnT_sc*g=T+#1rFTg=WrlTN`GJwI@myq=EqOpj=r;t?+oS;rHG|QYlh}8tFCKU z#L5TmQia^_tDV|9oSB}NwS?p~m^|R-pjMafK7HtT!PR|+^4RsbeRC!|+b?5|)LZ)G<6ujQp}R{palDwloTs^38|x-9;tZT6_ZCQ5?CL%kN;) zHrH8U#R@lhi~*72$5467_K*@(V(yrMsmRB@1wzsn^Dq(sjJ}Iq+&Jg z(T2jFN+?Qq%aWtLl5f~4jkMZyhuRG1BlA^yxq(5+4+vn9afG(QqXLx3yQ^(6zjJiZ zd2@5k(0vh5OokkyNRfBH1<+7m=cT8opDAj~J{bF5yeY(l>SyU?;CtG;eAc)r8|GHo z5H>ykaVDd-CEaJ?^(Z1>6YoNLmbaj~o@Aqr!eYWGGV^%*FCNH=uA*tO{7yP<`8@F^}<9Z9uu`@nVGugUq^jv*_LFXEE z_-%--6nXpY%m&!VBW`YPu04t>05|GTD+qPT$CtLFjk! zvgqb87b>|IAEyFzh&GiL5fcUK8=bhbleaC@v^=Qs(gP^Dm!>`|w%OX<4bovwYNSEY zRE$&QZHx3S8+V_#M!jmbL`9rU9Z)lTYm-T<`t!2_&OWdPzVrhophO}8$m;x#{5)MX zPPij|l0i_W1GU{}7?NJcmwo3grTZjqm6<1A#Ud$nB_f^kULd>OK|0d9)pimP5-7CnOIg+^Jk zhJT$$MU8$de1g*K7TsPBM66xDPBHequ#7sY)?Q82E()o1rQz1W<EAH7@aw}yca(C|?^%0hDt!9gGt?7a7T!Wu z`uGr8Vx1wBIAu-wXM?SbjreuuglfJ=WX%4yZKseIp1l~?rXT#8UCbnlx(B0rm`8gcR*QK??gT;tf*`m2Hv3*#XcBHIZ*>E=kfewaE;e zIsgyYb;QF;^i0B2p#mMwO_R1A_5rh#>Zqx{bc!~md)BS(*|N|lxz*)C)tio1hCV9% z`&10ER8{@ry*}G}RZO{fHM;ThqlR23wQ$H9v?0PEP}T;L%O5>su{i0>L1*5PthB<4 zr{ptjt+)I-=+4?TJ@REBYjb$_rCEG^Mpu7KjrNDuL{|FqSF%Z9wCJs+u5EzhM7%}T z81g*!qE_Wt0zXDYTBRP6OJ`$!{Bl6eR;a6;|^s#bb*N7I{`={QSeQN-=rQZ{- z4aLtG4^)bd^GMNr7JjeED8GH2KTd5$c&)MJr_yoJB7f(8t6HO!MfudCrSY1Edm6OO zsVp7P_Dku0RmIGGH&SofQ^CCt_9+#Bi~?|(OMmf^hI`=GtJ%kc#{!PO9;@(=_7ddj zbew?SrBHZTP20r9snA;?uEn$<{HJSXSji<}o%tz8fgpIDZ2Eq{94{hdipc$ib9BK$ z@`Z{~xF8AnETu0cyFN7U5~4%Nd+QmGecQv@+0s0hb-y#&X7;z{MFrJY*qh;5E;qCb zm%#=7mW6N>@<&I@hZ=5kWX?8;(egIWK2~#b&=kT*Bq6ypc2pDhpe~|phe&ok{zCmr9BgWDe)NRmBvnHFYUm)yE-m5O@2riCHaHxkt(JeK+In zXgjJ=Kv2BpW?gOBaclYOQc6zZnPwOq(`f^kGQqVOk3JP#L7?vujn%|{Sy)hCu=Lgk zo_-*fn-%l3$=@`{*{!Ys# zv#MyY`P3l8Ei~H3^C#%R+G;G4gPx-OLWPghUBTa|XSNlnKM1V)QYY z0fF2v>#?AngYO3!$^DLDg`b+y{%;?kd@v5mbA!#2A&2&K9;$l3E9VJXhv4-3-jd`xnhPk+Av$jp)6S})*iq|;HBPAwC zse{q>HUWA0)o-EAKiBe1yR7 zDwDh)uX3aI_tLLjxIe}is2p~w-`lvZU z=OD?Pw$Xlgb_zG6r=bL0+pCMC4T}t3o6~+>4zH)}KIOR7QbPNpx6JpLFRl*cMRQ4;EZQOH2cl}N|+ zbN@ppg8Y!arqkNO#N-V0B&bjt6u*uv!|x=AZ$1#C#Jr-l?7H z$gGH?>>WL$vrmL}$lg+dYHq~%!@qn~e#j5#%i3Z(ImlBwTI>sJ^Od{l@X*Rp(TJQ- zX5YE*X2I?E?WZI2$D{y-{O>u%&-gf;Z**F~g!!F-CFEHS0}#Itzw6w9Ev1Q-BL13> zKA|0v_LG7>W02gdWkD+<^eDQfIyMQSL^{y?v1*=pO(xBYp9lHS=LiG90BRf6>LyM2 zJh7Gi%E8l2P+b4ijTUVN38rpW_>45+0bH>D21+YWzmTc=czi!4i0b8D;c{P^bW|u7S<*EzVQ(-sFqjA}UJs7Z_~nbvV1$v6y(L!JdBVy$s~l+uVS}G; zuJ;~aXw3Rq7R^>ySC2hoWTeA(ol$>BMNf0%q~p zD%u?gnBoenvPF?Sj`L*_dynU+?3m{vn;zEvw2-_8tHgJZ%dT*Jja2MUFB8pP?WlA>A6!MmQ?HUE=Q`B96 z)K8vVGjSETnBojeF$D}}n~F^JeF2bs!7Qr$Q2JXE`*T_6Kr|_xR!91CHs2omYF}|t z@rAdvyUFz=vw)(<0Hie9zet4mCqaN{!2RfwSN?pk;Dc9_QQ-j0?z%vG;aKjMbJ1v@*gs&Hkw{zO)n~ z1;2^06@apQYN)2mvojGX({0LOVfodN@I(Y2R7O!!`*fU1idToel6UZo;}& zD2m=rO)Z{QXwU?*o|VjB*GFPT?!7A8Ygki36(Il>g~7M#fFfD|(tI68$by_t8u`>7 z3y1iMr8wE;402Lo2z}gv&QA^DX1Z9Du-II`kvOPYBHgOcNzh>xOE`ZgrT;Z>^W}=% zMx)>DPEVNoLRtm98nFi?1FMGIVD56#~ zRK|991syFDvnnKt?a6)i$jgT<<${^(gDHUfVGD`A9*!06;lg}t0jlie($!#{UTEZk@r%dLM*J!p8qQ!!%!di3rSFCmN0Qoe6JQWI@W=@Q;K5Ue7F?+( zT8U*oK9!Un??#h2u#nF|9TXOf})wDYxl`6^2z6`jZ6PpQ%X_sPi3_PF`<7}Lz^jGrf z(=G#5w3KNfgn?*Zo!I_?qwl!{N_5GK8qb0t}J^dOKN{85diX)Ym&oqfvM6P1gOIn znklxQWCLb}0GO~KEzx0`;B}bqYMyZ#09mdu(nJkFG9*IUhVEFp@Y%?(<&)=@t_s_; z++TBAnf<1_Iu{n1;i{EHZwS~;R7PL4H+3k0P^HVF1WxQ00dxPX$0`#cHa0iY^@U+hyy6X0U%TU65CIn!_q5^ zpchKNu0!p2^4afn_CbZ5%8#7j0#Dy`=Yvwv0u8amg=v!ipZ-JHUPo=%pPn2MTizxr z2PW>xNDl&lM91YUI$_8B2mm1yQd)b3_0zm) z@&eMtQ8dZ_04FKp(^QUMGPZT#JJD%i{`osgCU_)2CEDs`7;k?5nSI;SY^6uQw&GjN z3$pe_+Ss1GlS{a_mX?;wdC<)unikFjEc6B=X`B@U0#F&kTSKg1BZ>5Z)%~^ZbCbP` z$KQNb=&-27RDX0UJV_j~l%}~IL_4;Tl#ED3$q_x8hwlOU5&|JyNAHFJlxzD>lsD-Z zz$4!1bu%M>)mbLq`M;n%tEsmXokP*<4D=LRMK)yd`)!Edxw^kl7t;*9HKY6X?k+7W ziN2SB33IQ`4lcJ?=WphE;y9T*Gv99Bw2&z`aZ};@M0V!;o(Hxid;nV-sj)ug7Ka-L zhx=i2S}-2(O_M#2q@CCjVaWj9=#tgGo<@K)NeU#L-|Bnv7BMFwrm?Uv zL+ZcVT(clQReQYaTg!g%=37Rh?;j}xM92@UH6W1V$du^y&<*SB63oP7($6{ARejs8PBTZUgD+pP=R8|~i`S@r zl^CRGa@ZMbS@bI+xAJS+z)t#7>r9&%I;3+SJc8wzXSoimS6IY5x(dGXZz*1p-66BC z@r>?WBL;L4jWJxC7gr2-`uV7HFS1i|w*jDK7P%I(!a9YU;L$eC|Xg?i;MNIOVMaS+45~q2eV@3{LAuQKY}-rq8Sm+2&xz&(P5s9+fW=XuBI1 zf3Rxo_+86fP-6;`l(=K_*XK@=;V$a>nhiPv05S;8Z&D)w;8_#8mW_g@;pK2i_Mqe~ z#n8gk(E0EiOQ&J^z6wWlr3?GVbl*p*G*ncL6eJtP2c@OW?^ccIj>^ofrhTRSf*FZS zH;*r9s9NEGd)1Q5y5&<}+%rUxj!BU9XZ7%QiZtHt;Pw#S`m85Aoh0g97(Kfbmy6d5 zOXACLqR3GEWx5xSKR;F6sJAe(Y>hL&dAb@MIkEL;|EOZ!qW+Hmu`JmoV6Kb#Ah8gcQg#phrVJN-vhT~y%aO~GLtwU zVBPa_Ve*WE5l-M0(S)G7@a{l+oUMP$zOq=NNlFZVvqe@V*=T){)2bnOdP z`E~SzDHv&NuOs`Pu+WUKu+Z5@2>e$GJ^qXi@0`&DH(w+Oeyr57@pJEhwM|#TONhn9 z8Z9k-QiIsjKD$3DEjl34zyH2p5Hp{ybKBNz<*r^XiX7bj`Hx*dProKr9mzWW#7@#R z^w{IgSCkO&kAG|V?NNJX!1$IMIy{p-o6xZ16oTy(QWZMo>&v_3SSymOQH$C8;fJ~& zf|}+iw_XdKlCt}O+gO5d?A0&%aUUxUZpo9Mo5U@-=lW$h`p!{xU}{wr@W04+{fVb- zPO|G~W3zvJkuKox#EYTdDclrc%K?=abw)hmn!Dzh8G+~v0TI4?yCcm+0n2dsKzrMihzesGQXeoI^wO9 zTUYtYXSj3+OSHX$BGTix&l6;{RTrT{k_0&!Aj z;GVyJFe_Y2@`{ATm?|-Y^pK^h|Foi#t+|asLDy%cB2AeBO_jF*YE!3%XTX>4F9T8V z#jw@+2H&rF3ux!SZ9<^TITOM2`p?b0YXhd*EUkrw#Zr}Lx$+h$OQD05Xzei;z~$SI z;STe7%J2+RD;#j<&iUspyrYZG!l>q2aS8g@&MKq|8IZGPquf4fgo}nyCcbd ztV+2+G|oeeeV?O1M3>L3cugXAZ?vavdvlQN(keePbBNL2KQ^W0%MJx%`}g*?)MgpX z%f~x+X=Vn>P46SQ8=Pse4Cs4ha41}s_Fes5FM+QB-PLr2ZP(!t8D1_VH_0GN7pm^@ z)-hH1xu#gxev2v8n2)^4PzBrJrVWsiM>*pOKgjzs znVOzTQ<_pM!Kt*Bq`0hX`_Co(Sn`R!o5i+SaQm$S*0t}(5XKqB`Kua2Yir-nJ~oq+ ziQnG!SdTdEsH&&{pHU-Fl~%o2qc)T1YR|cio1Y8m3uSLRmMbFc$V4c)Mha^ZA#=TJ zhYQ*uu5yUO`(bpRQLZOm*_U-4dw!j+-Tk7bir1#?ihHKW76+`|G9-088xv0(g?1-E zkW`4*b(?u59w)pm&V9D0hotQaW9*y~M0%2~P0E|srt$FhN;>~sdTrG$y+K(%IKss# z1KZ}pxGZg&bIW5CTv*p+pNcFXEj^x0<XMFbGS>{$P&?TI+A4S&X$ z4{>3-eC-S0zk5D#Z1}M0!zuRW8RO3Jg>?8HRwb5r_YO9E^l;`~mrr@BC_98|?XyB} zzaDq~lQjoVheNmS)q_W53oMDWz@1+^P^!M`hBwXMmK^ecoQD2rt9JHiZ^L3Ef;Ov+ z*kM|FosJ*Kc=N=mbKlm6v|s7STCYnN>Ne{;VWtjX)j36T5`I+FygsumT)~(?>-LY)&LXm(z*k`zxtaY5FyuYjrrxUUEt&AGOWb zoF!!a3^pWI{8|?!clwrA{b!od6i`wBL5446pzjF(>ZnX8CjhcWi@46ovj6$50`xQzTWOxPw{0j z7VzF4*y)9=m?>D1$j*$KkO4f5_{vs}MTsS@mBy}oO>jn!M&2&6*ZE~n=E#4M>T*9L zXLcL9Ca9wOlKw-erSwEX59jO0Ho!rKijpV39QBK%Qf`C|6>qRwhpZDQoy0guZk&!{9 zB+x83A~K>qYQ79G^|q`Jx4T5*FbrAE}k`uH4ntMV91mmv2p2$<_%@w2S6 zm0`NiPkSxqto=TqPl^=@3mpx(mlq)1eIp%+PDAhDXdv|s6*6cdstG!w20Sz<56P6pq+tmgDuVsV`SI~1 zN_2|e0NO6bPM)wZ4wm|~lkg}bh>k_p#3vG37CPPdrF}Y^dxK6l)9317&&0ImYRJ{{41knQ$%od<4qV=2U;C#g=l7P7kL@jAX}Q&^&YWQ!1}i zf!)&WAL4aiuytR&>h>#tFHMB~kY)jRmZdB4$EDG)>6wucAok7sZ8}6qBs>@(MAIaf zJ?wlm1Yqbp3H-qWKzh{Ri-?FII!fA~jWm(=HMV|(kt)F|zlmNELK}aS?5xr)#5%OJ zOl>RuRN%d={EV~ovrB1teeI~KSdoDF%gRHyl$x@ATB6yUs=Ek{0E?gGsEKQ?vk+{y(m^&iiz4V)obs7X<@y>7rH zUN@q++er~EZFzBL2Dg#)5^Xw{hUsmqyvdq?JCD(Dr;YC+QO$kWgpOJ!mo5V1s0@TX zi#ojITTBDtgPlj_=I5_29GN+>Y)4)iDTXS_h1#~!_XTP(>4R)ihNF%niIId3 z48F_G2d}!<=n*TL9CGJF_VxW+L3AYzPV}&E`wr)C z?Uyfs{)1@mIr}(j8@K!9r!-_lay{GI2VK76682v6hh|s7<)hzAJ$RwC5Xl*9a1(>ZgwTYH*-ghe|S`5`--0z_E zVKt46dGUZNpP)e7k{0;&^Jp5L{L>xWU!tAdI{=>?!%vZh(tH_Fs%tihHcgZPLtqVI zGrv_TZJ(L9Tj92rcpZ%tgf_X_(CSC)kZr4z8t{p{|7{t~;G?je45FG_9({ym)Zw|@;)D~fpMFk0GDP5X%4vlFU>^A4cf2Nn~ES?{Mlta zHssqqFy6|}$7NEy_;Y~IQ}HA7WtT-o$&VNh*2+g-cIM+!CTn`4gr5b2fF$*zRx(skX(>g#%91epp2V@!V7e71z$|H0wpnJ6^k8jD+Tpv| zv-wYIVs_g(+fDtBLX!-N;liUxl`=-8d!L`5 z_&aq{^hL*PmwBfOZ8oetqwJk`!6eqZ{xKWd1n(qX^z+#4QXqyx|Mcs z(E1AB%4!4flRn9d^{pF44mRK=2g|f_X>Lag-6K z&u<~`QWs(!ZG5KQk}YPb972_@>RXikHNDlUGO21E#ZQW!q%M%)Rke2hoEZD_-nybs zLP7xQD^1a^Z!|fkQKr-Z(mjN+hku~U6BLo~GC{}a0_x%nj#pZBs#KygnH}}-t(Q|s zQE2$@QY}6llfe_`vS14tj_b=lzW$6+W%2t%nF3Red76Tf+2Z%z*;eEzX>_-Xu5)i` zq5Cr2Q8;s`9RadE%FOQ=0ibglaDqO7u6o5!ALF|%a3k5Tq$40l z)(gChmpDkHRk|#p77=*;7SdCHf@wSPvdj$kH}O6lidD7DzekzA*K@4z=*N9F zQ|b(ZK+S1-y-)#q*ard~O+N;m&u8cLeJ5=U^8%>w#m9B)!(l-3F?R+J$}pgex1n)A ziq!{#Y_23a!XnGX+XWK&LRebEAkiM^7hNo9-ZD&}g#GR0hiPiwv7Kvhw?;qwqiqFt zk+~(DI*bl=AfB*R;B1xYrnsK>+RZC2WEcMQVZLcp!1VP-udc~g$m#q>uU!MpHOa3s zIq2IKy90Gv3%$$eDMLLC6Og%4X5l)xy7ndhlbX5JZ;?th?Q?3ZJ3upVdrE zj0Xr&_Rf#;aaU4y*=*g#r~K7RS{p7EjfV%`6Pv44Y}$$2xV_53&0WWMkwQZYmLb|d zH#&&73Lm!u{t()O7wb@I=u?^UpI}eU@TB;{9@Z$h;gm=USG}Ig`y{fuLCEFZ=o^7j&wJ2yHi*p>GAQ>?v zHAMLpSc~VaucOtbQO>EG#5j7(C@=h|@{fpcM`R$j-$?IbVqzLX?(EU4V**YZ)MR5Yt5)q-ovAn2P8If@Dl9xz zxY11X@6?<7Tg{A}52}C8v3k_7vgvz-S$cYUrsmTA{l|l9vD^D+yITiQ%5c<=4*(9( zj0)gf@opj0iQdWtRM)9jKfGN)_ysb{+kx@%WIkZ>*0+@kg5 z^xU{|eGJlUW5L%1!t%k+gnrdPJhbjTv?l0&?w-VrDp-LckdXb+Wm*Du(TdoTPLU@3A-FpVLoyHGXvHuI4|nzX(6w&p%g88>)FdTgGD55Y|eh z3{b+>!QSh1hnY(`9$3JuzOLx!{jKKMoxt{e@6C;akO*VU=V`0Zh;1-UOXw*E(Vy#u zgp{1?6+$+=Vtv=$T^g=Byc>2tYoj|;h7J{}H_>xe@WGEr?~+d5>Qjh~iNY)KTB(C^ z_c*uwC_9>c;u2W+MRl8rjsMIr?`Tv{2vrlIe{mW^y)=v3wB5=se!pxO+v=fUD}2T@ ze8MfT(NCjr@ux>kmJX|!u3}ZTyPiFw>h0O>oIpRSx#>Yg-fAbO1rLJ^@9LVd6@gOy zR=doBe927_Smg57eGcXwNR|Y3N_+q5>$j2Q_s+;+H_o+@^Q5bbkMTxrh97cqiyOXQ z3rKfy2Z{;BEK6y9@}hHXp>Rj;`(kc1q-FF2jhJP)C7xc)i4_ij4qnPLGLH=d95~l% zLhCBc-z-BKD_$9SzZ(gOXhpZ%n5K`Xs@ZhcqSh1~Rr#at!shpy&XIN{pFVVs1!%o$ z_3Pa{mwO@6gqQ=rfqRp;xPL}9syvU{`$XvnCz=$u^p<#!ZJ~?Ng)g*dj0|aJUuI}F z+dYb{pdd+zk0`8-thkhG%SOzd{Y!A^nf3L-^-U`6({TxsINg9|p=4ZY>T~jixPqs9p6)doa)u)f zXX2t}^aYsD)Rukm_M+PHuid>sotp?|yeN?h^R!Ju@&o*L-aVyjxoiJjc}(FOM`0Z4mKwT)vwvXJKrp!FH}9BhKrLAE(?fTmS(nMU&8`6&ds%bx@-%n zO)nfD4VfsAq(cttC!b?zD?xH;LSeF%atzQ7Is`y<0t|5%lOdclG{U|LNUUKS@GbBO zC8Mf>)w zB$PE5ct`Ea$^Xmd_@=;N=ff1zI?ukZJtDtq#|IY{&7uc>*gs2o+sH+!bsQqYNhmx$ z*h~4S8#27TIscmCyF5-VvIzB&>lieCSN2YB2K|73HLIobw{coo^?-u{Ui0OR&rJRe zCcdA2OZG}IuwhQs*#}NpfR4y0GPLKW2jP6>lESsHV@iClQDsjI;j3>?bpBnoX`kmj z31HC1&6UZ$K<9^o5e)=A=SirQWbFj5`^I^tuKA;YXci=`iMG$YVhJlLKOfk~u&3?% z_{007@pH;hsHG4Lj9alkGQYBZ0=|8b&f}M__6B^UWiAtX z45~CV`Otc@DnevLz6W81a-a(Rr{0AzaQ*Mr&E;-Z6uG|!1{+x5%2901!Hp`Fy1}oO zjMz-2eiyRdeMZK_2Uyw#v!fV}<6H1FxNnAmG1Yk}_RsxpOBhTI9<(qaLgOtSsMsC1 znjbI*U4jmrv@&`A$2#iaTr7~JIa+vp&w#Mm_wt#V_Z0(q@cp>}Jr9_4=toRZRwQ_z z`^+80$C2qH>uDxSW`j-HnxU&(KUrgwg|al`f*il0r{bQP&Qy98LyP=<4AKgiQDw{lI!(Ejt-UNx}kHz%1 z&2p_Nh8H6j7Q51vB%Ar14j{?gZlgt<`X(W4l(h+^ohub84(5}_z(DXxk^#nXPD`kl z;4>X{na_18&3A0PYXW-^`vWFtm@i`*C=3CH){S_7+P3~?Pl~I1{Yq&A^48}?%UrRN z-15Y}WwiM#75)GWzi<)eCsW57k+)#nr`QB<8tbzzh9FkMagI#7oIo%dB^f0s*jgsc zZX#)SQ=bzp^*xDkb6@-(o}1Wupcz$Xda<%NbUtIi;*6^D{95sP&6iwwKg3_MpQ~mT z+7kENCh9<_a`l$)(P#?>ygEAFFzi_4p0^&1KzP|^=9HQvYBNM&S; z6}a=V+9%7Cus3a8{L0>d2nnQ1b@VVsrkS0mqGtD7Tg2n%AB7P%9=9{s z>*$pBGk4yEOZk2U!>Y7=cGEQ50iIy;*pRUD&ZqN*%oViKYz zt(k7s;7Ic?HE}Dfa#PMRz9|1x!4XjnJ^7tSdTrxQWLYOtIw{Dd6O}b43S?2c`X|c!eH=k% zxB?9VY7%Ysv`MmDOOHU~QV0K}HQ~dK83}O&`Em$WI4jd;oJ1^KFgn9&XKNe&J+n~k z8TCN4S2CeJpoKcuyMA*>Ha~aB)hjO!({6qOc{Bw8kC>nvZTBZWY#5;N#3SR!EJzd? z7UuYSR52Z7>H4-~rfMX`!nM`Xx#FFTMnZ?w|OGy#v$M51&*WG9>GyZl1Qw|H48! z7jLnJ%77escO##y8`BVFZT%QDZl_ynSq1V6O9Br}Y^F~=$X`qbaoL-OHxYU^cXS9{ zXw^avVZU=tQiQJKXm^NWl?92-S@yeHs=MhfK30Z<6Tve)Rp;vMwUh*jFZabdkWkd- zy2Nq)Z;VRrjO*gUba-i1_HpTG5HAI-Iw!L~ouGFp1goCM?80Q`CmOH)n&bYleYx6% zgJEWvn{MgS$uj&C(5U#~5&ZGAlqi8kE0^W*WA&%!FnKphU1-(WnElHkSaAZlCj_Jm zOn~Btf(W<0nQTjiqKq>^AU7$V@pZ|a69M%?Alj?I<3GM5e}%hr`5$CP`AhHf0| z@7b44+R~8CJCqwCdqJK*$sftX^Y9C@U<&z)yu6XGerXT>f9sJKx5EaGH46W)_WrZp pe_QJBKim7CIcT3jJUGGd4{bT=mt6>xQL^-^wwB)263sh7{{ni`DI)*? literal 0 HcmV?d00001 diff --git a/test/assets/image2.png b/test/assets/image2.png new file mode 100644 index 0000000000000000000000000000000000000000..6c403a0d20be97d7f4ce000487fac783764dbaf7 GIT binary patch literal 10237 zcmd6Nc{J3~`~R3MlOLB``GvGd*9RNbI$L4&-wlTb&m6%^S<{!_j#WCEU)Le@5csuS6CQ%8DTIO%eAYQ zZ^2-2H1v<42XCq!-jKnA$6E{SZFtYY+tb>nw!mC`&;%lcK-L9>@UJ# zqAAxdYZ&)5=53t*bG`VNvG$lNoL?d~1$8|izi1H| z>UtigMIUmG=0V{*NrwQarMC+pKFWlrF#!XksO9ZI4nfqqu3!gyMq1Ip?G?du|(}S55_O zqSRb1=NSlzM`_h-LuKgmHY!*%*B8(HjopcpPGf@6FjdgFxG|@gOu^M_(~CyM<;$!S z+Pe;0!Y(@vAYT-Yu>}#vG)LW)y)EY=2>!2Wan}s%P8zDXdZfHEU&egAPF-g}<5Ivv zp>CbWgm$636bO-iGDYe>%|{NGhNXXON|rn!GwO07j`@cF15Gx*Ij*LMz+pa5!O1@?I{b-i2?s z!2FvQP^5Cj~A&F6(#0SevzG(;R-_{mp=?e$A55?1Ol%aYt z#j}Y*G)Q6&KT*V(j+fjTzbc?+y-|JQhQ6~$^w7iQ5$9DDSM3`!$CAXqk3z}WH%LPx zt#vYE$g&`nRi*$x?D8w2X9G)ij&XbLf}9nw23QD?Z39d25jyguZPH|Uu@osVqpjN8%3-?@~| zY^jiBc?f}qo771WhVrpenQ6!3*N1&GH~MtD0=mzM5aKVQr;k;@X!9KF zl$`-z&4lS|X-pWBe0k%YpUAnNX@NTnReNy>t!nOm*rFj;%M4LDFL9oV{btM2^liMr7%M_jk>3)xAnX`0><^GEuPD!~G zP`$HwS37+`G4b7T3R~{t>W6kZ1bR*!(=VBDqTi9{Nz@H}MoaY)-J>Xt!K8QOben^q zDe(#MounHwJuml3S-?g%y5YKsj3%cgWp##hzBKQnWJ`FfATn^y%h|NKb4->voN*V~N93Nsl32GT^2W5P}#AyMbK?uo_jtKnKZYr!SKxIx9fmF z`W;-U=x41IDaEZv!vy0VB#Y3@mHKE%PBRo@56UViff=H7k}wR{bJnW8yR!$AB3-du zy;TK6EVe6;Zq>qJ5B@q9ZLQkn2YkUqF5gL@hl!=oX+j+LZ|4gki7?=?FhOSp>MOvf z`Y%rA5FowX_ngK5NPW4Lkph0cD6F8)r@0QOra$OLLdpT}kp--32lXjIJF~;PH#d~+ z<(K8$5U|vX?wPql=rxkDl3jSj*8b6qBa=`Nl+yuAh)Rt+S5A5#M#E~QB?xvuiJ&e3x9>*)2HA4H9A060EX44juBzF6FJd6 zBmA0E6@9FhOn|JqV%qE#U`qnD1oyse35cj(ZkP1HnKoffV}fj<@e$ao%cm^Q%w)eN zs6kRJKQM-5DfxA)4x*>~Fkb4`>-U4I6za|g!m;bz_bCJ zg@vjSDe6PrKw_4OjR;GnIluJR`y5Q4 z{nn{qCEaJEFVEh|#P1~nUJX2^%}23BBOt@~LnfK0Fn~$*ct%An^fq{>X1}t*5XiZs}_&{E%~sO^TmL=#4Jx_4u zT}L@-R0jvq7YLU1_S+x%av7tKb(TPlBKFlfGA6ZfT&Q@TNSi4zN0w50S zm(@bRz7}+dgHS48)=M3wo2g4I7$}8!Ni|P?a8qy1xts6|60TcJFE-!?Ao@N23<{RY zo#m_^!f(8et%hMBG zH_UVWx1BNW3~5W;S^(&RJK_mYf&n+3lZPo#LeweCC)Eey=Y#h=Aret+#0wq68p_sd zE~mksb@Jx9@OZ$m(U0yN*4mN+8nK!{ebt1E@+w{jGP#uBqk(+WWG9jQXth1kj;Y%2 zcXib1#Q7;DEa4&D_1e&5h!Cd=zBlWtYnNqx#yu96(xgzotXN1UI}WN&!&#!!t=}r6 z1%f+S99yIjPy0Q`X>w;Edt^64=tW=jDharlJhw9t+w^P9i!E?}@k`QS8VTBb13DKU zfv(}fKw9xTL%@X%5NW8=gRg~le>V%Q%KZHtD`XnHSSHIZ;lp!!XCj!IbQU_iPtAS% zqhnZmjEJjxl#@WY)4_u3ts4&y2yxkJF17RDH@}BHD)ub*5r8dXVc+LgL|+~f)ql0` z^JuKFSY{1dj_Px+4*uqS()ErRq|>JqbtR+L2b$d`dpGPku;2Lum&%8Z!c7q7t=CQE zf7H__&dblNbb*u8kguC*Pv~O1XB2JhI5OjctDjGZ`ZVG|l@;CtUc@*{S!7 zPt^suHD(zV-BBl(`QFMw$bq5l%ZoX+rM2-DuStb^L$mxcC9Fx^Ofi>`u6mZa>i$ei zRrSeH=X<1AGp{S}I624VIDc5uJL(M4u_YOe#2l>Z2rnEt{+pHHew9T?g4R@!H^&st zsjFS4vbZQQY*@-`_?@xJ)j;9;l43a%T5}as_aOS{VzC-Qu%fEXEPRSqZAFJ@x52@m-EUBuH^P9^JQPYpp`r zK5vg+p$~DU%kxvh_CQKsAJu6y)~j(PSjZue3>=a)Ohs%a4qOCJX7mc2v%9DaE84u$ z3C(mMRfpOfvRyukEf`Rmp@%P<%F)6(?M@oyqt>E!$w8Bc!qg|^yTk&BMg_Ez-$#-% zf*S?5oQCs6TQ>^05#o2tPfS?idC7E=eU)K%^(yb2U8wmJE)n^dv4>t#o>67-yPW<8 zwxHRec;ZOL^W)E@bsq&X+^g|w;yM+_HY?IbU0GcIy2h{%*1f&i^&#+1;Rd&f+Hfm8 zSqMYFQyI}e(YVhzg0n}1;tMmEo~ zx>>noEvFwEOq*LTC0>y2WwI9X3vaytEOtmj`~>mBJh%S!HJ#efK_-sG_5hAzFdj0A9d8x4#+gY|qkhv@_)ga;vIsKgZo4--{*zU4Lt0JS?+M^_lGRk-sxX!73 zyg-HuSMdJzXY)o@6`Yo=CauOtiI`qn^LQcrQ?=?K>8^&gi})OqsZ2(p`<1C26kf^g z+3=UQfQ?{$QDF}xlg>xHI7%{35I=vLF8{0)x40>ZgIrqH`E>r3d>Ip(sA7XPC`)v0 zXJlCtvIw^q!DVHGd_q)Fackfttn-(+{$aLeALYmUuuyITPjWq}%ksC1=!h^*Nl_`N z;}a+J>)lZi9)%R^Kc4WuJVg_osLpx}nf3$Np<$TdZR#WS3w6-o$dg=O z+w&aV0GLF%1piFZJ>-gl!r?asAG@D|unqYx`FO*d0EwiQ@!zb2KLQX4${%yxAcE(h z)mw@5jtT@kgQ6%;XL0q`yS^Fp@hnk~(> z0jI|QPIDQ~n+!S<@$<_FO8uLHd2Zp`C@9m*BG5|9tmw4RwW%j<<=pB+oIjyjl^NKS z+3c8px^gt+nD3F|u4kS(Kv1;J#?YmW z?zI$DOWJ9005HN<@AS*!FxV${;}#2w6BA`n8`|j9v|xh3iH_oD^{w z(zyt_zV{k0RntF`e10CT(WF(xkOm#v1S|Rw2+r+H=A5U(mz_U#aqDS9y6c}In?1i^ z7oJUOv<^I<5U`~Z?+I)82!+Y-oM*Qep|)I_!L^NhjHf7-kxm zeRG?iKFW?xcm~a$@H7dnRVfY}xU5A#k^ixXMsqMELCoMoJMlVmd0&lr-6@YRFg$pm;Sv?(hkAonxHh$oz=@J5??HaPs9lnv7| zTb)Q7HRCj-k_^8-+DPW6^z-8LRTiutV>^t+l0M3B+;}Hb!3c8FkI5Q83E*)88>p)s zjxQpbZ`BRVw&`oa-ZOC|Ba3nz+lx8Y)tRsORf=n{iR5=Qe-8E8-=0X!1)N_F7ymi$ zdns#`8z1*aKxOCFvdsSP;HmuM_qv?EoBUKo=a}-G)k0Ky%(i}BxRGK!xXAuze%NA0 z>IbiQU@fKef*Vclh!GL0cEISqy9V_GL%#vve<%Ync?nSqYEbpB%oZQ>;>s0x~ z(Jw-fMJQ`dKBle+o7}X5{ayi4hId?-ZB)*?ujYY+)UY5WhbvjDW!Bwp4?W2S0Bxi` zdVaS!W%ozUYeq(AiHud92@!~zE2Y(xz(&RGpkLXWGWtOj5LxCZc8zjl5KYTTF#wDa=Z`b*e z1g@8-3aV@eUN|%4J#hC$=2#s@8%U;!&awt?$#p$Ch1fH*X+A4yo|8xig#uRzUA{*m zn+@R`wE1r2LG(6<1j+FH^(_#yAd~pRSSK!7aUNlwaYTtL$81zj^ZEq?;c0XC9b^t* z(coPwN5+xa8e+ky3F+k#n_$hX%e6D!p8i%Wl>Q>)BbNnTh1j0AlT~+i5C5jP3O;RG zHPl~S50iCHDH)VH!_~5mb=9iqFFqB%)YwJL>6%{B%61~z; zUAM2yW(N1FkbYxJ@siE@VFCVcPU63Zi<`{0>SHOw<#jXq&* z#=ct=XaoVMJ9Ni5qYWi2<66K*X~4@mmYA&g4J5{J5pgVdDgQ(z%FttF1b{i9eE!tFAg2}`h zJ{~-!`#wDTYk%zUltT0C>>>`U763H^LXI)+HQu~La~;GMfQ6Qo;?Pb6BesoA$? zMMp4ldKBDsIUBCL^T#VZ&pEtd-^0-_A|~7F*<&!&hG9Gh;t%~VEeqBC_5?1At5I7K z&*?XAfkdMy--o+E4&mNTLfK~_j0(l(HY`+H$DE9TO9;NM$=T_O5Guh>Afr4sMgg`5 z05pVtW9gh0;^}GHc(vV$HmqSpVS$oyyvnKU_=a&%zwr3bFhyQ|qqsXKs&+l`HQ};A zQR>yspI`qWPuv?kqX~dUO|89cTDMynT^?%0lw6p_%b>aWd@yiqUAXDMmk^ppd2uR7XRR2OB?TzAE{f zfb5G)KODe2wB7yt=G&H_E2{wugQJ&VMinY6(Qk_ChW$NOwUPYA-2UTelI+H5nPMiB{FIJ0zCrAQEI2+3oNb= zD9x6?tFO)^Uqb{!xaBMYt$qzU@b#j&QH+GV}KwhoHoxD)Qw{&ksBLV18jY% z6$h^9du7KUyAT;di!>KNREg-C5tJni6m5b@)==;h?Y0ato9%vCek-9 z4T1>FfMt5%GM4xc?=(QL9+vg|TioB%@3f({FgsnysBzA3M)>hi%zBaE)0o0doBqo+ zGuDq6!m0))hFAW222e^>TBKpd86XtXd}INbOc6oUqw1Q-1rYnm&y((fyV*?Yaotcu z>ea7bF}vdE48&t&7ukO~99M(|aB*wzSl77T2j1zv&rN2^!Fxr4Ie_a|YK{(fUqa>f z@0H&SF^q-)&Ekp%g8!fiZ3UrPc_PG)7324k7#d*(uZuM}VT+^1C0#rlhQFQ`fxVU@ ze$460#@?Zm@L>?@W-$#pg969+{)+X*gxQsXhnq1^)L;EWe3jcYaw@Susy8hNlSFaM zO-rg)wbQU1C=)Aix)j0F<}K5G|0%5Q<5ky|nOU@WGr#1TwwMyikze_U4K*EJtzwgR z2avUn0QDpv_uIcLyS8c3Szi2>49xJ_%AN$h1DluHrXEG(*Qy}LT?j(?g}?9s=u0^I z;>zlw1tuEX_3_8!JxK?cGdLfpo@Qu}U=^ax#T+gE)~zzOyUI&m*&nn)U}inmCQPk| zAUn1U64*%;+Bds~fA5caVEZp6FZOVRb^;KiwCv zJ-f(MljmC!t|FmXA1p~4FwJ0iJov}i>urh^WNAz1{r-C2tB{dMlaV-X(=1M#ALl;8 z=vx*i6d9DwmuEYx0-Tc|W1FJ~)of+>Y{Hes5@m-?a$0BC7R9qjHdv~BFNu}$wLsaQb*&~w2L;nHZ+S={~=5>3wC0TKHdZGY=XF*DMuR$SSx)b~1UQB_5&A2c?!u3pF_F{61?vecwuEql!x z0E}pZgvUwPuE;||9;KJ|<;^OK$xK$G=UPTMtPWOt-(6kbknq<+7$35)z8>qT z)7#J!CJbSd=(Bsqc%<^1bd@(3{i^FnZIPr;EA4Z-N=B+3!IBhGR@y*sdw^C4+$2+u zpq~$631xgX@lC)JZ5C_3DoeUGuX}N}{Y*LE*lo7Vnv$E7&IkPvWH$o+lni7B`Q7477j%?243+HepApqPMs-F|Ovt9)gfF!BTn zB*$^Ot->E!4tMVP9*$8rcIsn(0Q*Q{t1T@04;pR1G+mJ^*bRep>Km^HmO z`#Jqr{H?AqIA^;{5bNzC{2n6!%=vc1hWfm(&LIp#Y-_dJzU#V{KF;SQU~BGS?=Epp_&!;!6kvBnFZxvSf`$7i+(1Qr(tIQ`h_r@D>bpf;-GR44wH>1*bfB% zYo*I(P-m{i%_&kla^SKihX)QC&{NKzk6~W?bj>bHWCNu1NPz^^%^HsTk&5P6ov~aiEYxR zmX5Hq?K36CoAT7=1tvAdK~^h^%Fn+|Fc_zW8Q2@v9ieLrhKM^zayMwo>HE+~+6P?HGO_rtRy_t`r-fFWUh z@|bz|_jjpUegWz*>hPbL*j zMn#sePcI(~fV*N&m|b><`QWr#2UUYShSV#ue2{=1tSK7AJ^uNNcHyh%7gf=6=FoBf zQv|n`W|#^j)b)Rlyl$uH)%*YCxcsam5tssGg+)Fc&^=~tWTMlB=7LZ?+y+J2GLKS_eli-?y)eP@@1y&-q);q zt-YhqzvgO~Js5O9Ue#@`$~#m&=&btN>UPqscXUbDd3SFyW0d*e!;kA9=l_*O&7=DJ z`vrmLG--o^w&#}8)E?-q2^`pOD1$p*1N8L3ryV48&j2f0srMZ|zJDk4lNORm$kkwt z7hfdfws*kaFAA6dY4t4EdHC(sTB4Ran z*7;70%+wsLsJU$j>CZxE%{cwr`oIBUCFH2e$6u*2ySZA=>Z{rNtEyc=P9gb+?!s(U z;AYGr`e)Z@^V&y(`oxT*&!AG-D{8(vH&r-&*O=ONEnjj~dl;Cu73AP-?TNuw2vj&M z>|^HWi^KK|9ynry7iw%y@sf`cam^6~_YvMzZ1_kwlV!_%Pe+}0)f0)Nd;Z5zJ$pK6 zrB^ow^YN|oHMb9|Aam~QZQMKo?RGDjZ{JxCe(mnQCPcM| z|?Rq;eR(%<%X5r#!(Fm^Ez$TNX>Q6=~x}sGGZsq1tKuMxtp@R5UWoi z56lJkR?y7Sy*IjnCBhzL4|lE2?w>WmmCkAky?c-Z;KbKdja+Fh|>mkNvY^xccU zPmKn}v4MpMRIi{%viR668GKif4u*~rIV(nIoUFUM?W2%_$C7kqj^tRh#S440=<5f4 zBKNJ1*;?BNC+$m6UG-=LVQZ}>uZ6opk?HKYf}&y9%-eelxz$+EuErBcQQmQTi3Pu$ zyTa%UZq1^4v+crK3H^OyxpTptU*dMhCR5zj&rnN0BQft}9sWG;!h_9^7bq6!n_k7X$@7f!PTfP@igkL+?xJ7(b#u>J!$A+7LQkGbHHE z0`JW}m+}aVfX+v%Y(<)j!36dJbJ~Bx#PJF$6Y7uBT&np9dfeyfS1~lT7Y2#)0;n!d zU=7P74!tYd&uqlOCmq)Z+Z7PzE87MCcfLP^;jV2Tz?or(J|Az&(a&&)IJ>5$cbR~~ Gg#Hhj!X@AU literal 0 HcmV?d00001 diff --git a/test/background.html b/test/background.html new file mode 100644 index 0000000..9827eef --- /dev/null +++ b/test/background.html @@ -0,0 +1,82 @@ + + + + + + + reveal.js - Test + + + + + + + + + +
+ +
+ +
+

data-background: #00ff00

+
+ +
+

data-background: #0000ff

+
+ +
+
+

data-background: #ff0000

+
+
+

data-background: rgba(0, 0, 0, 0.2)

+
+
+

data-background: salmon

+
+
+ +
+
+

Background applied to stack

+
+
+

Background applied to stack

+
+
+

Background applied to slide inside of stack

+
+
+ +
+

Background image

+
+ +
+

Background image

+
+ +
+ +
+ + + + + + + + From bfadfcc7ce8235ad90982aa5020731db9b2ee69c Mon Sep 17 00:00:00 2001 From: Hakim El Hattab Date: Tue, 4 Jun 2013 19:51:06 +0200 Subject: [PATCH 06/23] don't transition to first slide background (#453) --- css/reveal.css | 13 +++++++------ css/reveal.min.css | 2 +- js/reveal.js | 11 ++++++++++- js/reveal.min.js | 4 ++-- 4 files changed, 20 insertions(+), 10 deletions(-) diff --git a/css/reveal.css b/css/reveal.css index 59d3c45..69a337d 100644 --- a/css/reveal.css +++ b/css/reveal.css @@ -1245,12 +1245,13 @@ body { left: 0; } -.no-transition { - -webkit-transition: none; - -moz-transition: none; - -ms-transition: none; - -o-transition: none; - transition: none; +.no-transition, +.no-transition * { + -webkit-transition: none !important; + -moz-transition: none !important; + -ms-transition: none !important; + -o-transition: none !important; + transition: none !important; } diff --git a/css/reveal.min.css b/css/reveal.min.css index 3c9c700..973e54c 100644 --- a/css/reveal.min.css +++ b/css/reveal.min.css @@ -4,4 +4,4 @@ * MIT licensed * * Copyright (C) 2013 Hakim El Hattab, http://hakim.se - */ html,body,.reveal div,.reveal span,.reveal applet,.reveal object,.reveal iframe,.reveal h1,.reveal h2,.reveal h3,.reveal h4,.reveal h5,.reveal h6,.reveal p,.reveal blockquote,.reveal pre,.reveal a,.reveal abbr,.reveal acronym,.reveal address,.reveal big,.reveal cite,.reveal code,.reveal del,.reveal dfn,.reveal em,.reveal img,.reveal ins,.reveal kbd,.reveal q,.reveal s,.reveal samp,.reveal small,.reveal strike,.reveal strong,.reveal sub,.reveal sup,.reveal tt,.reveal var,.reveal b,.reveal u,.reveal i,.reveal center,.reveal dl,.reveal dt,.reveal dd,.reveal ol,.reveal ul,.reveal li,.reveal fieldset,.reveal form,.reveal label,.reveal legend,.reveal table,.reveal caption,.reveal tbody,.reveal tfoot,.reveal thead,.reveal tr,.reveal th,.reveal td,.reveal article,.reveal aside,.reveal canvas,.reveal details,.reveal embed,.reveal figure,.reveal figcaption,.reveal footer,.reveal header,.reveal hgroup,.reveal menu,.reveal nav,.reveal output,.reveal ruby,.reveal section,.reveal summary,.reveal time,.reveal mark,.reveal audio,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}.reveal article,.reveal aside,.reveal details,.reveal figcaption,.reveal figure,.reveal footer,.reveal header,.reveal hgroup,.reveal menu,.reveal nav,.reveal section{display:block}html,body{width:100%;height:100%;overflow:hidden}body{position:relative;line-height:1}::selection{background:#FF5E99;color:#fff;text-shadow:none}.reveal h1,.reveal h2,.reveal h3,.reveal h4,.reveal h5,.reveal h6{-webkit-hyphens:auto;-moz-hyphens:auto;hyphens:auto;word-wrap:break-word}.reveal h1{font-size:3.77em}.reveal h2{font-size:2.11em}.reveal h3{font-size:1.55em}.reveal h4{font-size:1em}.reveal .slides section .fragment{opacity:0;-webkit-transition:all .2s ease;-moz-transition:all .2s ease;-ms-transition:all .2s ease;-o-transition:all .2s ease;transition:all .2s ease}.reveal .slides section .fragment.visible{opacity:1}.reveal .slides section .fragment.grow{opacity:1}.reveal .slides section .fragment.grow.visible{-webkit-transform:scale(1.3);-moz-transform:scale(1.3);-ms-transform:scale(1.3);-o-transform:scale(1.3);transform:scale(1.3)}.reveal .slides section .fragment.shrink{opacity:1}.reveal .slides section .fragment.shrink.visible{-webkit-transform:scale(0.7);-moz-transform:scale(0.7);-ms-transform:scale(0.7);-o-transform:scale(0.7);transform:scale(0.7)}.reveal .slides section .fragment.zoom-in{opacity:0;-webkit-transform:scale(0.1);-moz-transform:scale(0.1);-ms-transform:scale(0.1);-o-transform:scale(0.1);transform:scale(0.1)}.reveal .slides section .fragment.zoom-in.visible{opacity:1;-webkit-transform:scale(1);-moz-transform:scale(1);-ms-transform:scale(1);-o-transform:scale(1);transform:scale(1)}.reveal .slides section .fragment.roll-in{opacity:0;-webkit-transform:rotateX(90deg);-moz-transform:rotateX(90deg);-ms-transform:rotateX(90deg);-o-transform:rotateX(90deg);transform:rotateX(90deg)}.reveal .slides section .fragment.roll-in.visible{opacity:1;-webkit-transform:rotateX(0);-moz-transform:rotateX(0);-ms-transform:rotateX(0);-o-transform:rotateX(0);transform:rotateX(0)}.reveal .slides section .fragment.fade-out{opacity:1}.reveal .slides section .fragment.fade-out.visible{opacity:0}.reveal .slides section .fragment.highlight-red,.reveal .slides section .fragment.highlight-green,.reveal .slides section .fragment.highlight-blue{opacity:1}.reveal .slides section .fragment.highlight-red.visible{color:#ff2c2d}.reveal .slides section .fragment.highlight-green.visible{color:#17ff2e}.reveal .slides section .fragment.highlight-blue.visible{color:#1b91ff}.reveal:after{content:'';font-style:italic}.reveal img,.reveal video,.reveal iframe{max-width:95%;max-height:95%}.reveal a{position:relative}.reveal strong,.reveal b{font-weight:700}.reveal em,.reveal i{font-style:italic}.reveal ol,.reveal ul{display:inline-block;text-align:left;margin:0 0 0 1em}.reveal ol{list-style-type:decimal}.reveal ul{list-style-type:disc}.reveal ul ul{list-style-type:square}.reveal ul ul ul{list-style-type:circle}.reveal ul ul,.reveal ul ol,.reveal ol ol,.reveal ol ul{display:block;margin-left:40px}.reveal p{margin-bottom:10px;line-height:1.2em}.reveal q,.reveal blockquote{quotes:none}.reveal blockquote{display:block;position:relative;width:70%;margin:5px auto;padding:5px;font-style:italic;background:rgba(255,255,255,.05);box-shadow:0 0 2px rgba(0,0,0,.2)}.reveal blockquote p:first-child,.reveal blockquote p:last-child{display:inline-block}.reveal q{font-style:italic}.reveal pre{display:block;position:relative;width:90%;margin:15px auto;text-align:left;font-size:.55em;font-family:monospace;line-height:1.2em;word-wrap:break-word;box-shadow:0 0 6px rgba(0,0,0,.3)}.reveal code{font-family:monospace}.reveal pre code{padding:5px;overflow:auto;max-height:400px;word-wrap:normal}.reveal table th,.reveal table td{text-align:left;padding-right:.3em}.reveal table th{text-shadow:#fff 1px 1px 2px}.reveal sup{vertical-align:super}.reveal sub{vertical-align:sub}.reveal small{display:inline-block;font-size:.6em;line-height:1.2em;vertical-align:top}.reveal small *{vertical-align:top}.reveal .controls{display:none;position:fixed;width:110px;height:110px;z-index:30;right:10px;bottom:10px}.reveal .controls div{position:absolute;opacity:.05;width:0;height:0;border:12px solid transparent;-moz-transform:scale(.9999);-webkit-transition:all .2s ease;-moz-transition:all .2s ease;-ms-transition:all .2s ease;-o-transition:all .2s ease;transition:all .2s ease}.reveal .controls div.enabled{opacity:.7;cursor:pointer}.reveal .controls div.enabled:active{margin-top:1px}.reveal .controls div.navigate-left{top:42px;border-right-width:22px;border-right-color:#eee}.reveal .controls div.navigate-left.fragmented{opacity:.3}.reveal .controls div.navigate-right{left:74px;top:42px;border-left-width:22px;border-left-color:#eee}.reveal .controls div.navigate-right.fragmented{opacity:.3}.reveal .controls div.navigate-up{left:42px;border-bottom-width:22px;border-bottom-color:#eee}.reveal .controls div.navigate-up.fragmented{opacity:.3}.reveal .controls div.navigate-down{left:42px;top:74px;border-top-width:22px;border-top-color:#eee}.reveal .controls div.navigate-down.fragmented{opacity:.3}.reveal .progress{position:fixed;display:none;height:3px;width:100%;bottom:0;left:0;z-index:10}.reveal .progress:after{content:'';display:'block';position:absolute;height:20px;width:100%;top:-20px}.reveal .progress span{display:block;height:100%;width:0;-webkit-transition:width 800ms cubic-bezier(0.26,.86,.44,.985);-moz-transition:width 800ms cubic-bezier(0.26,.86,.44,.985);-ms-transition:width 800ms cubic-bezier(0.26,.86,.44,.985);-o-transition:width 800ms cubic-bezier(0.26,.86,.44,.985);transition:width 800ms cubic-bezier(0.26,.86,.44,.985)}.reveal .roll{display:inline-block;line-height:1.2;overflow:hidden;vertical-align:top;-webkit-perspective:400px;-moz-perspective:400px;-ms-perspective:400px;perspective:400px;-webkit-perspective-origin:50% 50%;-moz-perspective-origin:50% 50%;-ms-perspective-origin:50% 50%;perspective-origin:50% 50%}.reveal .roll:hover{background:0;text-shadow:none}.reveal .roll span{display:block;position:relative;padding:0 2px;pointer-events:none;-webkit-transition:all 400ms ease;-moz-transition:all 400ms ease;-ms-transition:all 400ms ease;transition:all 400ms ease;-webkit-transform-origin:50% 0;-moz-transform-origin:50% 0;-ms-transform-origin:50% 0;transform-origin:50% 0;-webkit-transform-style:preserve-3d;-moz-transform-style:preserve-3d;-ms-transform-style:preserve-3d;transform-style:preserve-3d;-webkit-backface-visibility:hidden;-moz-backface-visibility:hidden;backface-visibility:hidden}.reveal .roll:hover span{background:rgba(0,0,0,.5);-webkit-transform:translate3d(0px,0,-45px) rotateX(90deg);-moz-transform:translate3d(0px,0,-45px) rotateX(90deg);-ms-transform:translate3d(0px,0,-45px) rotateX(90deg);transform:translate3d(0px,0,-45px) rotateX(90deg)}.reveal .roll span:after{content:attr(data-title);display:block;position:absolute;left:0;top:0;padding:0 2px;-webkit-backface-visibility:hidden;-moz-backface-visibility:hidden;backface-visibility:hidden;-webkit-transform-origin:50% 0;-moz-transform-origin:50% 0;-ms-transform-origin:50% 0;transform-origin:50% 0;-webkit-transform:translate3d(0px,110%,0) rotateX(-90deg);-moz-transform:translate3d(0px,110%,0) rotateX(-90deg);-ms-transform:translate3d(0px,110%,0) rotateX(-90deg);transform:translate3d(0px,110%,0) rotateX(-90deg)}.reveal{position:relative;width:100%;height:100%;-ms-touch-action:none}.reveal .slides{position:absolute;width:100%;height:100%;left:50%;top:50%;overflow:visible;z-index:1;text-align:center;-webkit-transition:-webkit-perspective .4s ease;-moz-transition:-moz-perspective .4s ease;-ms-transition:-ms-perspective .4s ease;-o-transition:-o-perspective .4s ease;transition:perspective .4s ease;-webkit-perspective:600px;-moz-perspective:600px;-ms-perspective:600px;perspective:600px;-webkit-perspective-origin:0 -100px;-moz-perspective-origin:0 -100px;-ms-perspective-origin:0 -100px;perspective-origin:0 -100px}.reveal .slides>section,.reveal .slides>section>section{display:none;position:absolute;width:100%;padding:20px 0;z-index:10;line-height:1.2em;font-weight:400;-webkit-transform-style:preserve-3d;-moz-transform-style:preserve-3d;-ms-transform-style:preserve-3d;transform-style:preserve-3d;-webkit-transition:-webkit-transform-origin 800ms cubic-bezier(0.26,.86,.44,.985),-webkit-transform 800ms cubic-bezier(0.26,.86,.44,.985),visibility 800ms cubic-bezier(0.26,.86,.44,.985),opacity 800ms cubic-bezier(0.26,.86,.44,.985);-moz-transition:-moz-transform-origin 800ms cubic-bezier(0.26,.86,.44,.985),-moz-transform 800ms cubic-bezier(0.26,.86,.44,.985),visibility 800ms cubic-bezier(0.26,.86,.44,.985),opacity 800ms cubic-bezier(0.26,.86,.44,.985);-ms-transition:-ms-transform-origin 800ms cubic-bezier(0.26,.86,.44,.985),-ms-transform 800ms cubic-bezier(0.26,.86,.44,.985),visibility 800ms cubic-bezier(0.26,.86,.44,.985),opacity 800ms cubic-bezier(0.26,.86,.44,.985);-o-transition:-o-transform-origin 800ms cubic-bezier(0.26,.86,.44,.985),-o-transform 800ms cubic-bezier(0.26,.86,.44,.985),visibility 800ms cubic-bezier(0.26,.86,.44,.985),opacity 800ms cubic-bezier(0.26,.86,.44,.985);transition:transform-origin 800ms cubic-bezier(0.26,.86,.44,.985),transform 800ms cubic-bezier(0.26,.86,.44,.985),visibility 800ms cubic-bezier(0.26,.86,.44,.985),opacity 800ms cubic-bezier(0.26,.86,.44,.985)}.reveal[data-transition-speed=fast] .slides section{-webkit-transition-duration:400ms;-moz-transition-duration:400ms;-ms-transition-duration:400ms;transition-duration:400ms}.reveal[data-transition-speed=slow] .slides section{-webkit-transition-duration:1200ms;-moz-transition-duration:1200ms;-ms-transition-duration:1200ms;transition-duration:1200ms}.reveal .slides section[data-transition-speed=fast]{-webkit-transition-duration:400ms;-moz-transition-duration:400ms;-ms-transition-duration:400ms;transition-duration:400ms}.reveal .slides section[data-transition-speed=slow]{-webkit-transition-duration:1200ms;-moz-transition-duration:1200ms;-ms-transition-duration:1200ms;transition-duration:1200ms}.reveal .slides>section{left:-50%;top:-50%}.reveal .slides>section.stack{padding-top:0;padding-bottom:0}.reveal .slides>section.present,.reveal .slides>section>section.present{display:block;z-index:11;opacity:1}.reveal.center,.reveal.center .slides,.reveal.center .slides section{min-height:auto!important}.reveal .slides>section[data-transition=default].past,.reveal .slides>section.past{display:block;opacity:0;-webkit-transform:translate3d(-100%,0,0) rotateY(-90deg) translate3d(-100%,0,0);-moz-transform:translate3d(-100%,0,0) rotateY(-90deg) translate3d(-100%,0,0);-ms-transform:translate3d(-100%,0,0) rotateY(-90deg) translate3d(-100%,0,0);transform:translate3d(-100%,0,0) rotateY(-90deg) translate3d(-100%,0,0)}.reveal .slides>section[data-transition=default].future,.reveal .slides>section.future{display:block;opacity:0;-webkit-transform:translate3d(100%,0,0) rotateY(90deg) translate3d(100%,0,0);-moz-transform:translate3d(100%,0,0) rotateY(90deg) translate3d(100%,0,0);-ms-transform:translate3d(100%,0,0) rotateY(90deg) translate3d(100%,0,0);transform:translate3d(100%,0,0) rotateY(90deg) translate3d(100%,0,0)}.reveal .slides>section>section[data-transition=default].past,.reveal .slides>section>section.past{display:block;opacity:0;-webkit-transform:translate3d(0,-300px,0) rotateX(70deg) translate3d(0,-300px,0);-moz-transform:translate3d(0,-300px,0) rotateX(70deg) translate3d(0,-300px,0);-ms-transform:translate3d(0,-300px,0) rotateX(70deg) translate3d(0,-300px,0);transform:translate3d(0,-300px,0) rotateX(70deg) translate3d(0,-300px,0)}.reveal .slides>section>section[data-transition=default].future,.reveal .slides>section>section.future{display:block;opacity:0;-webkit-transform:translate3d(0,300px,0) rotateX(-70deg) translate3d(0,300px,0);-moz-transform:translate3d(0,300px,0) rotateX(-70deg) translate3d(0,300px,0);-ms-transform:translate3d(0,300px,0) rotateX(-70deg) translate3d(0,300px,0);transform:translate3d(0,300px,0) rotateX(-70deg) translate3d(0,300px,0)}.reveal .slides>section[data-transition=concave].past,.reveal.concave .slides>section.past{-webkit-transform:translate3d(-100%,0,0) rotateY(90deg) translate3d(-100%,0,0);-moz-transform:translate3d(-100%,0,0) rotateY(90deg) translate3d(-100%,0,0);-ms-transform:translate3d(-100%,0,0) rotateY(90deg) translate3d(-100%,0,0);transform:translate3d(-100%,0,0) rotateY(90deg) translate3d(-100%,0,0)}.reveal .slides>section[data-transition=concave].future,.reveal.concave .slides>section.future{-webkit-transform:translate3d(100%,0,0) rotateY(-90deg) translate3d(100%,0,0);-moz-transform:translate3d(100%,0,0) rotateY(-90deg) translate3d(100%,0,0);-ms-transform:translate3d(100%,0,0) rotateY(-90deg) translate3d(100%,0,0);transform:translate3d(100%,0,0) rotateY(-90deg) translate3d(100%,0,0)}.reveal .slides>section>section[data-transition=concave].past,.reveal.concave .slides>section>section.past{-webkit-transform:translate3d(0,-80%,0) rotateX(-70deg) translate3d(0,-80%,0);-moz-transform:translate3d(0,-80%,0) rotateX(-70deg) translate3d(0,-80%,0);-ms-transform:translate3d(0,-80%,0) rotateX(-70deg) translate3d(0,-80%,0);transform:translate3d(0,-80%,0) rotateX(-70deg) translate3d(0,-80%,0)}.reveal .slides>section>section[data-transition=concave].future,.reveal.concave .slides>section>section.future{-webkit-transform:translate3d(0,80%,0) rotateX(70deg) translate3d(0,80%,0);-moz-transform:translate3d(0,80%,0) rotateX(70deg) translate3d(0,80%,0);-ms-transform:translate3d(0,80%,0) rotateX(70deg) translate3d(0,80%,0);transform:translate3d(0,80%,0) rotateX(70deg) translate3d(0,80%,0)}.reveal .slides>section[data-transition=zoom].past,.reveal.zoom .slides>section.past{opacity:0;visibility:hidden;-webkit-transform:scale(16);-moz-transform:scale(16);-ms-transform:scale(16);-o-transform:scale(16);transform:scale(16)}.reveal .slides>section[data-transition=zoom].future,.reveal.zoom .slides>section.future{opacity:0;visibility:hidden;-webkit-transform:scale(0.2);-moz-transform:scale(0.2);-ms-transform:scale(0.2);-o-transform:scale(0.2);transform:scale(0.2)}.reveal .slides>section>section[data-transition=zoom].past,.reveal.zoom .slides>section>section.past{-webkit-transform:translate(0,-150%);-moz-transform:translate(0,-150%);-ms-transform:translate(0,-150%);-o-transform:translate(0,-150%);transform:translate(0,-150%)}.reveal .slides>section>section[data-transition=zoom].future,.reveal.zoom .slides>section>section.future{-webkit-transform:translate(0,150%);-moz-transform:translate(0,150%);-ms-transform:translate(0,150%);-o-transform:translate(0,150%);transform:translate(0,150%)}.reveal.linear section{-webkit-backface-visibility:hidden;-moz-backface-visibility:hidden;-ms-backface-visibility:hidden;backface-visibility:hidden}.reveal .slides>section[data-transition=linear].past,.reveal.linear .slides>section.past{-webkit-transform:translate(-150%,0);-moz-transform:translate(-150%,0);-ms-transform:translate(-150%,0);-o-transform:translate(-150%,0);transform:translate(-150%,0)}.reveal .slides>section[data-transition=linear].future,.reveal.linear .slides>section.future{-webkit-transform:translate(150%,0);-moz-transform:translate(150%,0);-ms-transform:translate(150%,0);-o-transform:translate(150%,0);transform:translate(150%,0)}.reveal .slides>section>section[data-transition=linear].past,.reveal.linear .slides>section>section.past{-webkit-transform:translate(0,-150%);-moz-transform:translate(0,-150%);-ms-transform:translate(0,-150%);-o-transform:translate(0,-150%);transform:translate(0,-150%)}.reveal .slides>section>section[data-transition=linear].future,.reveal.linear .slides>section>section.future{-webkit-transform:translate(0,150%);-moz-transform:translate(0,150%);-ms-transform:translate(0,150%);-o-transform:translate(0,150%);transform:translate(0,150%)}.reveal.cube .slides{-webkit-perspective:1300px;-moz-perspective:1300px;-ms-perspective:1300px;perspective:1300px}.reveal.cube .slides section{padding:30px;min-height:700px;-webkit-backface-visibility:hidden;-moz-backface-visibility:hidden;-ms-backface-visibility:hidden;backface-visibility:hidden;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.reveal.center.cube .slides section{min-height:auto}.reveal.cube .slides section:not(.stack):before{content:'';position:absolute;display:block;width:100%;height:100%;left:0;top:0;background:rgba(0,0,0,.1);border-radius:4px;-webkit-transform:translateZ(-20px);-moz-transform:translateZ(-20px);-ms-transform:translateZ(-20px);-o-transform:translateZ(-20px);transform:translateZ(-20px)}.reveal.cube .slides section:not(.stack):after{content:'';position:absolute;display:block;width:90%;height:30px;left:5%;bottom:0;background:0;z-index:1;border-radius:4px;box-shadow:0 95px 25px rgba(0,0,0,.2);-webkit-transform:translateZ(-90px) rotateX(65deg);-moz-transform:translateZ(-90px) rotateX(65deg);-ms-transform:translateZ(-90px) rotateX(65deg);-o-transform:translateZ(-90px) rotateX(65deg);transform:translateZ(-90px) rotateX(65deg)}.reveal.cube .slides>section.stack{padding:0;background:0}.reveal.cube .slides>section.past{-webkit-transform-origin:100% 0;-moz-transform-origin:100% 0;-ms-transform-origin:100% 0;transform-origin:100% 0;-webkit-transform:translate3d(-100%,0,0) rotateY(-90deg);-moz-transform:translate3d(-100%,0,0) rotateY(-90deg);-ms-transform:translate3d(-100%,0,0) rotateY(-90deg);transform:translate3d(-100%,0,0) rotateY(-90deg)}.reveal.cube .slides>section.future{-webkit-transform-origin:0 0;-moz-transform-origin:0 0;-ms-transform-origin:0 0;transform-origin:0 0;-webkit-transform:translate3d(100%,0,0) rotateY(90deg);-moz-transform:translate3d(100%,0,0) rotateY(90deg);-ms-transform:translate3d(100%,0,0) rotateY(90deg);transform:translate3d(100%,0,0) rotateY(90deg)}.reveal.cube .slides>section>section.past{-webkit-transform-origin:0 100%;-moz-transform-origin:0 100%;-ms-transform-origin:0 100%;transform-origin:0 100%;-webkit-transform:translate3d(0,-100%,0) rotateX(90deg);-moz-transform:translate3d(0,-100%,0) rotateX(90deg);-ms-transform:translate3d(0,-100%,0) rotateX(90deg);transform:translate3d(0,-100%,0) rotateX(90deg)}.reveal.cube .slides>section>section.future{-webkit-transform-origin:0 0;-moz-transform-origin:0 0;-ms-transform-origin:0 0;transform-origin:0 0;-webkit-transform:translate3d(0,100%,0) rotateX(-90deg);-moz-transform:translate3d(0,100%,0) rotateX(-90deg);-ms-transform:translate3d(0,100%,0) rotateX(-90deg);transform:translate3d(0,100%,0) rotateX(-90deg)}.reveal.page .slides{-webkit-perspective-origin:0 50%;-moz-perspective-origin:0 50%;-ms-perspective-origin:0 50%;perspective-origin:0 50%;-webkit-perspective:3000px;-moz-perspective:3000px;-ms-perspective:3000px;perspective:3000px}.reveal.page .slides section{padding:30px;min-height:700px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.reveal.page .slides section.past{z-index:12}.reveal.page .slides section:not(.stack):before{content:'';position:absolute;display:block;width:100%;height:100%;left:0;top:0;background:rgba(0,0,0,.1);-webkit-transform:translateZ(-20px);-moz-transform:translateZ(-20px);-ms-transform:translateZ(-20px);-o-transform:translateZ(-20px);transform:translateZ(-20px)}.reveal.page .slides section:not(.stack):after{content:'';position:absolute;display:block;width:90%;height:30px;left:5%;bottom:0;background:0;z-index:1;border-radius:4px;box-shadow:0 95px 25px rgba(0,0,0,.2);-webkit-transform:translateZ(-90px) rotateX(65deg)}.reveal.page .slides>section.stack{padding:0;background:0}.reveal.page .slides>section.past{-webkit-transform-origin:0 0;-moz-transform-origin:0 0;-ms-transform-origin:0 0;transform-origin:0 0;-webkit-transform:translate3d(-40%,0,0) rotateY(-80deg);-moz-transform:translate3d(-40%,0,0) rotateY(-80deg);-ms-transform:translate3d(-40%,0,0) rotateY(-80deg);transform:translate3d(-40%,0,0) rotateY(-80deg)}.reveal.page .slides>section.future{-webkit-transform-origin:100% 0;-moz-transform-origin:100% 0;-ms-transform-origin:100% 0;transform-origin:100% 0;-webkit-transform:translate3d(0,0,0);-moz-transform:translate3d(0,0,0);-ms-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}.reveal.page .slides>section>section.past{-webkit-transform-origin:0 0;-moz-transform-origin:0 0;-ms-transform-origin:0 0;transform-origin:0 0;-webkit-transform:translate3d(0,-40%,0) rotateX(80deg);-moz-transform:translate3d(0,-40%,0) rotateX(80deg);-ms-transform:translate3d(0,-40%,0) rotateX(80deg);transform:translate3d(0,-40%,0) rotateX(80deg)}.reveal.page .slides>section>section.future{-webkit-transform-origin:0 100%;-moz-transform-origin:0 100%;-ms-transform-origin:0 100%;transform-origin:0 100%;-webkit-transform:translate3d(0,0,0);-moz-transform:translate3d(0,0,0);-ms-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}.reveal .slides section[data-transition=fade],.reveal.fade .slides section,.reveal.fade .slides>section>section{-webkit-transform:none;-moz-transform:none;-ms-transform:none;-o-transform:none;transform:none;-webkit-transition:opacity .5s;-moz-transition:opacity .5s;-ms-transition:opacity .5s;-o-transition:opacity .5s;transition:opacity .5s}.reveal.fade.overview .slides section,.reveal.fade.overview .slides>section>section,.reveal.fade.exit-overview .slides section,.reveal.fade.exit-overview .slides>section>section{-webkit-transition:none;-moz-transition:none;-ms-transition:none;-o-transition:none;transition:none}.reveal .slides section[data-transition=none],.reveal.none .slides section{-webkit-transform:none;-moz-transform:none;-ms-transform:none;-o-transform:none;transform:none;-webkit-transition:none;-moz-transition:none;-ms-transition:none;-o-transition:none;transition:none}.reveal.overview .slides{-webkit-perspective-origin:0 0;-moz-perspective-origin:0 0;-ms-perspective-origin:0 0;perspective-origin:0 0;-webkit-perspective:700px;-moz-perspective:700px;-ms-perspective:700px;perspective:700px}.reveal.overview .slides section{height:600px;overflow:hidden;opacity:1!important;visibility:visible!important;cursor:pointer;background:rgba(0,0,0,.1)}.reveal.overview .slides section .fragment{opacity:1}.reveal.overview .slides section:after,.reveal.overview .slides section:before{display:none!important}.reveal.overview .slides section>section{opacity:1;cursor:pointer}.reveal.overview .slides section:hover{background:rgba(0,0,0,.3)}.reveal.overview .slides section.present{background:rgba(0,0,0,.3)}.reveal.overview .slides>section.stack{padding:0;background:0;overflow:visible}.reveal .pause-overlay{position:absolute;top:0;left:0;width:100%;height:100%;background:#000;visibility:hidden;opacity:0;z-index:100;-webkit-transition:all 1s ease;-moz-transition:all 1s ease;-ms-transition:all 1s ease;-o-transition:all 1s ease;transition:all 1s ease}.reveal.paused .pause-overlay{visibility:visible;opacity:1}.no-transforms{overflow-y:auto}.no-transforms .reveal .slides{position:relative;width:80%;height:auto!important;top:0;left:50%;margin:0;text-align:center}.no-transforms .reveal .controls,.no-transforms .reveal .progress{display:none!important}.no-transforms .reveal .slides section{display:block!important;opacity:1!important;position:relative!important;height:auto;min-height:auto;top:0;left:-50%;margin:70px 0;-webkit-transform:none;-moz-transform:none;-ms-transform:none;-o-transform:none;transform:none}.no-transforms .reveal .slides section section{left:0}.no-transition{-webkit-transition:none;-moz-transition:none;-ms-transition:none;-o-transition:none;transition:none}.reveal .state-background{position:absolute;width:100%;height:100%;background:rgba(0,0,0,0);-webkit-transition:background 800ms ease;-moz-transition:background 800ms ease;-ms-transition:background 800ms ease;-o-transition:background 800ms ease;transition:background 800ms ease}.alert .reveal .state-background{background:rgba(200,50,30,.6)}.soothe .reveal .state-background{background:rgba(50,200,90,.4)}.blackout .reveal .state-background{background:rgba(0,0,0,.6)}.whiteout .reveal .state-background{background:rgba(255,255,255,.6)}.cobalt .reveal .state-background{background:rgba(22,152,213,.6)}.mint .reveal .state-background{background:rgba(22,213,75,.6)}.submerge .reveal .state-background{background:rgba(12,25,77,.6)}.lila .reveal .state-background{background:rgba(180,50,140,.6)}.sunset .reveal .state-background{background:rgba(255,122,0,.6)}.reveal>.background{position:absolute;width:100%;height:100%}.reveal>.background div{position:absolute;width:100%;height:100%;opacity:0;visibility:hidden;background-color:rgba(0,0,0,0);background-position:50% 50%;background-repeat:no-repeat;background-size:cover;-webkit-transition:all 800ms ease;-moz-transition:all 800ms ease;-ms-transition:all 800ms ease;-o-transition:all 800ms ease;transition:all 800ms ease}.reveal>.background div.present{opacity:1;visibility:visible}.reveal[data-transition-speed=fast] .background div{-webkit-transition-duration:400ms;-moz-transition-duration:400ms;-ms-transition-duration:400ms;transition-duration:400ms}.reveal[data-transition-speed=slow] .background div{-webkit-transition-duration:1200ms;-moz-transition-duration:1200ms;-ms-transition-duration:1200ms;transition-duration:1200ms}.reveal.rtl .slides,.reveal.rtl .slides h1,.reveal.rtl .slides h2,.reveal.rtl .slides h3,.reveal.rtl .slides h4,.reveal.rtl .slides h5,.reveal.rtl .slides h6{direction:rtl;font-family:sans-serif}.reveal.rtl pre,.reveal.rtl code{direction:ltr}.reveal.rtl ol,.reveal.rtl ul{text-align:right}.reveal.rtl .progress span{float:right}.reveal aside.notes{display:none}.zoomed .reveal *,.zoomed .reveal :before,.zoomed .reveal :after{-webkit-transform:none!important;-moz-transform:none!important;-ms-transform:none!important;transform:none!important;-webkit-backface-visibility:visible!important;-moz-backface-visibility:visible!important;-ms-backface-visibility:visible!important;backface-visibility:visible!important}.zoomed .reveal .progress,.zoomed .reveal .controls{opacity:0}.zoomed .reveal .roll span{background:0}.zoomed .reveal .roll span:after{visibility:hidden} \ No newline at end of file + */ html,body,.reveal div,.reveal span,.reveal applet,.reveal object,.reveal iframe,.reveal h1,.reveal h2,.reveal h3,.reveal h4,.reveal h5,.reveal h6,.reveal p,.reveal blockquote,.reveal pre,.reveal a,.reveal abbr,.reveal acronym,.reveal address,.reveal big,.reveal cite,.reveal code,.reveal del,.reveal dfn,.reveal em,.reveal img,.reveal ins,.reveal kbd,.reveal q,.reveal s,.reveal samp,.reveal small,.reveal strike,.reveal strong,.reveal sub,.reveal sup,.reveal tt,.reveal var,.reveal b,.reveal u,.reveal i,.reveal center,.reveal dl,.reveal dt,.reveal dd,.reveal ol,.reveal ul,.reveal li,.reveal fieldset,.reveal form,.reveal label,.reveal legend,.reveal table,.reveal caption,.reveal tbody,.reveal tfoot,.reveal thead,.reveal tr,.reveal th,.reveal td,.reveal article,.reveal aside,.reveal canvas,.reveal details,.reveal embed,.reveal figure,.reveal figcaption,.reveal footer,.reveal header,.reveal hgroup,.reveal menu,.reveal nav,.reveal output,.reveal ruby,.reveal section,.reveal summary,.reveal time,.reveal mark,.reveal audio,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}.reveal article,.reveal aside,.reveal details,.reveal figcaption,.reveal figure,.reveal footer,.reveal header,.reveal hgroup,.reveal menu,.reveal nav,.reveal section{display:block}html,body{width:100%;height:100%;overflow:hidden}body{position:relative;line-height:1}::selection{background:#FF5E99;color:#fff;text-shadow:none}.reveal h1,.reveal h2,.reveal h3,.reveal h4,.reveal h5,.reveal h6{-webkit-hyphens:auto;-moz-hyphens:auto;hyphens:auto;word-wrap:break-word}.reveal h1{font-size:3.77em}.reveal h2{font-size:2.11em}.reveal h3{font-size:1.55em}.reveal h4{font-size:1em}.reveal .slides section .fragment{opacity:0;-webkit-transition:all .2s ease;-moz-transition:all .2s ease;-ms-transition:all .2s ease;-o-transition:all .2s ease;transition:all .2s ease}.reveal .slides section .fragment.visible{opacity:1}.reveal .slides section .fragment.grow{opacity:1}.reveal .slides section .fragment.grow.visible{-webkit-transform:scale(1.3);-moz-transform:scale(1.3);-ms-transform:scale(1.3);-o-transform:scale(1.3);transform:scale(1.3)}.reveal .slides section .fragment.shrink{opacity:1}.reveal .slides section .fragment.shrink.visible{-webkit-transform:scale(0.7);-moz-transform:scale(0.7);-ms-transform:scale(0.7);-o-transform:scale(0.7);transform:scale(0.7)}.reveal .slides section .fragment.zoom-in{opacity:0;-webkit-transform:scale(0.1);-moz-transform:scale(0.1);-ms-transform:scale(0.1);-o-transform:scale(0.1);transform:scale(0.1)}.reveal .slides section .fragment.zoom-in.visible{opacity:1;-webkit-transform:scale(1);-moz-transform:scale(1);-ms-transform:scale(1);-o-transform:scale(1);transform:scale(1)}.reveal .slides section .fragment.roll-in{opacity:0;-webkit-transform:rotateX(90deg);-moz-transform:rotateX(90deg);-ms-transform:rotateX(90deg);-o-transform:rotateX(90deg);transform:rotateX(90deg)}.reveal .slides section .fragment.roll-in.visible{opacity:1;-webkit-transform:rotateX(0);-moz-transform:rotateX(0);-ms-transform:rotateX(0);-o-transform:rotateX(0);transform:rotateX(0)}.reveal .slides section .fragment.fade-out{opacity:1}.reveal .slides section .fragment.fade-out.visible{opacity:0}.reveal .slides section .fragment.highlight-red,.reveal .slides section .fragment.highlight-green,.reveal .slides section .fragment.highlight-blue{opacity:1}.reveal .slides section .fragment.highlight-red.visible{color:#ff2c2d}.reveal .slides section .fragment.highlight-green.visible{color:#17ff2e}.reveal .slides section .fragment.highlight-blue.visible{color:#1b91ff}.reveal:after{content:'';font-style:italic}.reveal img,.reveal video,.reveal iframe{max-width:95%;max-height:95%}.reveal a{position:relative}.reveal strong,.reveal b{font-weight:700}.reveal em,.reveal i{font-style:italic}.reveal ol,.reveal ul{display:inline-block;text-align:left;margin:0 0 0 1em}.reveal ol{list-style-type:decimal}.reveal ul{list-style-type:disc}.reveal ul ul{list-style-type:square}.reveal ul ul ul{list-style-type:circle}.reveal ul ul,.reveal ul ol,.reveal ol ol,.reveal ol ul{display:block;margin-left:40px}.reveal p{margin-bottom:10px;line-height:1.2em}.reveal q,.reveal blockquote{quotes:none}.reveal blockquote{display:block;position:relative;width:70%;margin:5px auto;padding:5px;font-style:italic;background:rgba(255,255,255,.05);box-shadow:0 0 2px rgba(0,0,0,.2)}.reveal blockquote p:first-child,.reveal blockquote p:last-child{display:inline-block}.reveal q{font-style:italic}.reveal pre{display:block;position:relative;width:90%;margin:15px auto;text-align:left;font-size:.55em;font-family:monospace;line-height:1.2em;word-wrap:break-word;box-shadow:0 0 6px rgba(0,0,0,.3)}.reveal code{font-family:monospace}.reveal pre code{padding:5px;overflow:auto;max-height:400px;word-wrap:normal}.reveal table th,.reveal table td{text-align:left;padding-right:.3em}.reveal table th{text-shadow:#fff 1px 1px 2px}.reveal sup{vertical-align:super}.reveal sub{vertical-align:sub}.reveal small{display:inline-block;font-size:.6em;line-height:1.2em;vertical-align:top}.reveal small *{vertical-align:top}.reveal .controls{display:none;position:fixed;width:110px;height:110px;z-index:30;right:10px;bottom:10px}.reveal .controls div{position:absolute;opacity:.05;width:0;height:0;border:12px solid transparent;-moz-transform:scale(.9999);-webkit-transition:all .2s ease;-moz-transition:all .2s ease;-ms-transition:all .2s ease;-o-transition:all .2s ease;transition:all .2s ease}.reveal .controls div.enabled{opacity:.7;cursor:pointer}.reveal .controls div.enabled:active{margin-top:1px}.reveal .controls div.navigate-left{top:42px;border-right-width:22px;border-right-color:#eee}.reveal .controls div.navigate-left.fragmented{opacity:.3}.reveal .controls div.navigate-right{left:74px;top:42px;border-left-width:22px;border-left-color:#eee}.reveal .controls div.navigate-right.fragmented{opacity:.3}.reveal .controls div.navigate-up{left:42px;border-bottom-width:22px;border-bottom-color:#eee}.reveal .controls div.navigate-up.fragmented{opacity:.3}.reveal .controls div.navigate-down{left:42px;top:74px;border-top-width:22px;border-top-color:#eee}.reveal .controls div.navigate-down.fragmented{opacity:.3}.reveal .progress{position:fixed;display:none;height:3px;width:100%;bottom:0;left:0;z-index:10}.reveal .progress:after{content:'';display:'block';position:absolute;height:20px;width:100%;top:-20px}.reveal .progress span{display:block;height:100%;width:0;-webkit-transition:width 800ms cubic-bezier(0.26,.86,.44,.985);-moz-transition:width 800ms cubic-bezier(0.26,.86,.44,.985);-ms-transition:width 800ms cubic-bezier(0.26,.86,.44,.985);-o-transition:width 800ms cubic-bezier(0.26,.86,.44,.985);transition:width 800ms cubic-bezier(0.26,.86,.44,.985)}.reveal .roll{display:inline-block;line-height:1.2;overflow:hidden;vertical-align:top;-webkit-perspective:400px;-moz-perspective:400px;-ms-perspective:400px;perspective:400px;-webkit-perspective-origin:50% 50%;-moz-perspective-origin:50% 50%;-ms-perspective-origin:50% 50%;perspective-origin:50% 50%}.reveal .roll:hover{background:0;text-shadow:none}.reveal .roll span{display:block;position:relative;padding:0 2px;pointer-events:none;-webkit-transition:all 400ms ease;-moz-transition:all 400ms ease;-ms-transition:all 400ms ease;transition:all 400ms ease;-webkit-transform-origin:50% 0;-moz-transform-origin:50% 0;-ms-transform-origin:50% 0;transform-origin:50% 0;-webkit-transform-style:preserve-3d;-moz-transform-style:preserve-3d;-ms-transform-style:preserve-3d;transform-style:preserve-3d;-webkit-backface-visibility:hidden;-moz-backface-visibility:hidden;backface-visibility:hidden}.reveal .roll:hover span{background:rgba(0,0,0,.5);-webkit-transform:translate3d(0px,0,-45px) rotateX(90deg);-moz-transform:translate3d(0px,0,-45px) rotateX(90deg);-ms-transform:translate3d(0px,0,-45px) rotateX(90deg);transform:translate3d(0px,0,-45px) rotateX(90deg)}.reveal .roll span:after{content:attr(data-title);display:block;position:absolute;left:0;top:0;padding:0 2px;-webkit-backface-visibility:hidden;-moz-backface-visibility:hidden;backface-visibility:hidden;-webkit-transform-origin:50% 0;-moz-transform-origin:50% 0;-ms-transform-origin:50% 0;transform-origin:50% 0;-webkit-transform:translate3d(0px,110%,0) rotateX(-90deg);-moz-transform:translate3d(0px,110%,0) rotateX(-90deg);-ms-transform:translate3d(0px,110%,0) rotateX(-90deg);transform:translate3d(0px,110%,0) rotateX(-90deg)}.reveal{position:relative;width:100%;height:100%;-ms-touch-action:none}.reveal .slides{position:absolute;width:100%;height:100%;left:50%;top:50%;overflow:visible;z-index:1;text-align:center;-webkit-transition:-webkit-perspective .4s ease;-moz-transition:-moz-perspective .4s ease;-ms-transition:-ms-perspective .4s ease;-o-transition:-o-perspective .4s ease;transition:perspective .4s ease;-webkit-perspective:600px;-moz-perspective:600px;-ms-perspective:600px;perspective:600px;-webkit-perspective-origin:0 -100px;-moz-perspective-origin:0 -100px;-ms-perspective-origin:0 -100px;perspective-origin:0 -100px}.reveal .slides>section,.reveal .slides>section>section{display:none;position:absolute;width:100%;padding:20px 0;z-index:10;line-height:1.2em;font-weight:400;-webkit-transform-style:preserve-3d;-moz-transform-style:preserve-3d;-ms-transform-style:preserve-3d;transform-style:preserve-3d;-webkit-transition:-webkit-transform-origin 800ms cubic-bezier(0.26,.86,.44,.985),-webkit-transform 800ms cubic-bezier(0.26,.86,.44,.985),visibility 800ms cubic-bezier(0.26,.86,.44,.985),opacity 800ms cubic-bezier(0.26,.86,.44,.985);-moz-transition:-moz-transform-origin 800ms cubic-bezier(0.26,.86,.44,.985),-moz-transform 800ms cubic-bezier(0.26,.86,.44,.985),visibility 800ms cubic-bezier(0.26,.86,.44,.985),opacity 800ms cubic-bezier(0.26,.86,.44,.985);-ms-transition:-ms-transform-origin 800ms cubic-bezier(0.26,.86,.44,.985),-ms-transform 800ms cubic-bezier(0.26,.86,.44,.985),visibility 800ms cubic-bezier(0.26,.86,.44,.985),opacity 800ms cubic-bezier(0.26,.86,.44,.985);-o-transition:-o-transform-origin 800ms cubic-bezier(0.26,.86,.44,.985),-o-transform 800ms cubic-bezier(0.26,.86,.44,.985),visibility 800ms cubic-bezier(0.26,.86,.44,.985),opacity 800ms cubic-bezier(0.26,.86,.44,.985);transition:transform-origin 800ms cubic-bezier(0.26,.86,.44,.985),transform 800ms cubic-bezier(0.26,.86,.44,.985),visibility 800ms cubic-bezier(0.26,.86,.44,.985),opacity 800ms cubic-bezier(0.26,.86,.44,.985)}.reveal[data-transition-speed=fast] .slides section{-webkit-transition-duration:400ms;-moz-transition-duration:400ms;-ms-transition-duration:400ms;transition-duration:400ms}.reveal[data-transition-speed=slow] .slides section{-webkit-transition-duration:1200ms;-moz-transition-duration:1200ms;-ms-transition-duration:1200ms;transition-duration:1200ms}.reveal .slides section[data-transition-speed=fast]{-webkit-transition-duration:400ms;-moz-transition-duration:400ms;-ms-transition-duration:400ms;transition-duration:400ms}.reveal .slides section[data-transition-speed=slow]{-webkit-transition-duration:1200ms;-moz-transition-duration:1200ms;-ms-transition-duration:1200ms;transition-duration:1200ms}.reveal .slides>section{left:-50%;top:-50%}.reveal .slides>section.stack{padding-top:0;padding-bottom:0}.reveal .slides>section.present,.reveal .slides>section>section.present{display:block;z-index:11;opacity:1}.reveal.center,.reveal.center .slides,.reveal.center .slides section{min-height:auto!important}.reveal .slides>section[data-transition=default].past,.reveal .slides>section.past{display:block;opacity:0;-webkit-transform:translate3d(-100%,0,0) rotateY(-90deg) translate3d(-100%,0,0);-moz-transform:translate3d(-100%,0,0) rotateY(-90deg) translate3d(-100%,0,0);-ms-transform:translate3d(-100%,0,0) rotateY(-90deg) translate3d(-100%,0,0);transform:translate3d(-100%,0,0) rotateY(-90deg) translate3d(-100%,0,0)}.reveal .slides>section[data-transition=default].future,.reveal .slides>section.future{display:block;opacity:0;-webkit-transform:translate3d(100%,0,0) rotateY(90deg) translate3d(100%,0,0);-moz-transform:translate3d(100%,0,0) rotateY(90deg) translate3d(100%,0,0);-ms-transform:translate3d(100%,0,0) rotateY(90deg) translate3d(100%,0,0);transform:translate3d(100%,0,0) rotateY(90deg) translate3d(100%,0,0)}.reveal .slides>section>section[data-transition=default].past,.reveal .slides>section>section.past{display:block;opacity:0;-webkit-transform:translate3d(0,-300px,0) rotateX(70deg) translate3d(0,-300px,0);-moz-transform:translate3d(0,-300px,0) rotateX(70deg) translate3d(0,-300px,0);-ms-transform:translate3d(0,-300px,0) rotateX(70deg) translate3d(0,-300px,0);transform:translate3d(0,-300px,0) rotateX(70deg) translate3d(0,-300px,0)}.reveal .slides>section>section[data-transition=default].future,.reveal .slides>section>section.future{display:block;opacity:0;-webkit-transform:translate3d(0,300px,0) rotateX(-70deg) translate3d(0,300px,0);-moz-transform:translate3d(0,300px,0) rotateX(-70deg) translate3d(0,300px,0);-ms-transform:translate3d(0,300px,0) rotateX(-70deg) translate3d(0,300px,0);transform:translate3d(0,300px,0) rotateX(-70deg) translate3d(0,300px,0)}.reveal .slides>section[data-transition=concave].past,.reveal.concave .slides>section.past{-webkit-transform:translate3d(-100%,0,0) rotateY(90deg) translate3d(-100%,0,0);-moz-transform:translate3d(-100%,0,0) rotateY(90deg) translate3d(-100%,0,0);-ms-transform:translate3d(-100%,0,0) rotateY(90deg) translate3d(-100%,0,0);transform:translate3d(-100%,0,0) rotateY(90deg) translate3d(-100%,0,0)}.reveal .slides>section[data-transition=concave].future,.reveal.concave .slides>section.future{-webkit-transform:translate3d(100%,0,0) rotateY(-90deg) translate3d(100%,0,0);-moz-transform:translate3d(100%,0,0) rotateY(-90deg) translate3d(100%,0,0);-ms-transform:translate3d(100%,0,0) rotateY(-90deg) translate3d(100%,0,0);transform:translate3d(100%,0,0) rotateY(-90deg) translate3d(100%,0,0)}.reveal .slides>section>section[data-transition=concave].past,.reveal.concave .slides>section>section.past{-webkit-transform:translate3d(0,-80%,0) rotateX(-70deg) translate3d(0,-80%,0);-moz-transform:translate3d(0,-80%,0) rotateX(-70deg) translate3d(0,-80%,0);-ms-transform:translate3d(0,-80%,0) rotateX(-70deg) translate3d(0,-80%,0);transform:translate3d(0,-80%,0) rotateX(-70deg) translate3d(0,-80%,0)}.reveal .slides>section>section[data-transition=concave].future,.reveal.concave .slides>section>section.future{-webkit-transform:translate3d(0,80%,0) rotateX(70deg) translate3d(0,80%,0);-moz-transform:translate3d(0,80%,0) rotateX(70deg) translate3d(0,80%,0);-ms-transform:translate3d(0,80%,0) rotateX(70deg) translate3d(0,80%,0);transform:translate3d(0,80%,0) rotateX(70deg) translate3d(0,80%,0)}.reveal .slides>section[data-transition=zoom].past,.reveal.zoom .slides>section.past{opacity:0;visibility:hidden;-webkit-transform:scale(16);-moz-transform:scale(16);-ms-transform:scale(16);-o-transform:scale(16);transform:scale(16)}.reveal .slides>section[data-transition=zoom].future,.reveal.zoom .slides>section.future{opacity:0;visibility:hidden;-webkit-transform:scale(0.2);-moz-transform:scale(0.2);-ms-transform:scale(0.2);-o-transform:scale(0.2);transform:scale(0.2)}.reveal .slides>section>section[data-transition=zoom].past,.reveal.zoom .slides>section>section.past{-webkit-transform:translate(0,-150%);-moz-transform:translate(0,-150%);-ms-transform:translate(0,-150%);-o-transform:translate(0,-150%);transform:translate(0,-150%)}.reveal .slides>section>section[data-transition=zoom].future,.reveal.zoom .slides>section>section.future{-webkit-transform:translate(0,150%);-moz-transform:translate(0,150%);-ms-transform:translate(0,150%);-o-transform:translate(0,150%);transform:translate(0,150%)}.reveal.linear section{-webkit-backface-visibility:hidden;-moz-backface-visibility:hidden;-ms-backface-visibility:hidden;backface-visibility:hidden}.reveal .slides>section[data-transition=linear].past,.reveal.linear .slides>section.past{-webkit-transform:translate(-150%,0);-moz-transform:translate(-150%,0);-ms-transform:translate(-150%,0);-o-transform:translate(-150%,0);transform:translate(-150%,0)}.reveal .slides>section[data-transition=linear].future,.reveal.linear .slides>section.future{-webkit-transform:translate(150%,0);-moz-transform:translate(150%,0);-ms-transform:translate(150%,0);-o-transform:translate(150%,0);transform:translate(150%,0)}.reveal .slides>section>section[data-transition=linear].past,.reveal.linear .slides>section>section.past{-webkit-transform:translate(0,-150%);-moz-transform:translate(0,-150%);-ms-transform:translate(0,-150%);-o-transform:translate(0,-150%);transform:translate(0,-150%)}.reveal .slides>section>section[data-transition=linear].future,.reveal.linear .slides>section>section.future{-webkit-transform:translate(0,150%);-moz-transform:translate(0,150%);-ms-transform:translate(0,150%);-o-transform:translate(0,150%);transform:translate(0,150%)}.reveal.cube .slides{-webkit-perspective:1300px;-moz-perspective:1300px;-ms-perspective:1300px;perspective:1300px}.reveal.cube .slides section{padding:30px;min-height:700px;-webkit-backface-visibility:hidden;-moz-backface-visibility:hidden;-ms-backface-visibility:hidden;backface-visibility:hidden;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.reveal.center.cube .slides section{min-height:auto}.reveal.cube .slides section:not(.stack):before{content:'';position:absolute;display:block;width:100%;height:100%;left:0;top:0;background:rgba(0,0,0,.1);border-radius:4px;-webkit-transform:translateZ(-20px);-moz-transform:translateZ(-20px);-ms-transform:translateZ(-20px);-o-transform:translateZ(-20px);transform:translateZ(-20px)}.reveal.cube .slides section:not(.stack):after{content:'';position:absolute;display:block;width:90%;height:30px;left:5%;bottom:0;background:0;z-index:1;border-radius:4px;box-shadow:0 95px 25px rgba(0,0,0,.2);-webkit-transform:translateZ(-90px) rotateX(65deg);-moz-transform:translateZ(-90px) rotateX(65deg);-ms-transform:translateZ(-90px) rotateX(65deg);-o-transform:translateZ(-90px) rotateX(65deg);transform:translateZ(-90px) rotateX(65deg)}.reveal.cube .slides>section.stack{padding:0;background:0}.reveal.cube .slides>section.past{-webkit-transform-origin:100% 0;-moz-transform-origin:100% 0;-ms-transform-origin:100% 0;transform-origin:100% 0;-webkit-transform:translate3d(-100%,0,0) rotateY(-90deg);-moz-transform:translate3d(-100%,0,0) rotateY(-90deg);-ms-transform:translate3d(-100%,0,0) rotateY(-90deg);transform:translate3d(-100%,0,0) rotateY(-90deg)}.reveal.cube .slides>section.future{-webkit-transform-origin:0 0;-moz-transform-origin:0 0;-ms-transform-origin:0 0;transform-origin:0 0;-webkit-transform:translate3d(100%,0,0) rotateY(90deg);-moz-transform:translate3d(100%,0,0) rotateY(90deg);-ms-transform:translate3d(100%,0,0) rotateY(90deg);transform:translate3d(100%,0,0) rotateY(90deg)}.reveal.cube .slides>section>section.past{-webkit-transform-origin:0 100%;-moz-transform-origin:0 100%;-ms-transform-origin:0 100%;transform-origin:0 100%;-webkit-transform:translate3d(0,-100%,0) rotateX(90deg);-moz-transform:translate3d(0,-100%,0) rotateX(90deg);-ms-transform:translate3d(0,-100%,0) rotateX(90deg);transform:translate3d(0,-100%,0) rotateX(90deg)}.reveal.cube .slides>section>section.future{-webkit-transform-origin:0 0;-moz-transform-origin:0 0;-ms-transform-origin:0 0;transform-origin:0 0;-webkit-transform:translate3d(0,100%,0) rotateX(-90deg);-moz-transform:translate3d(0,100%,0) rotateX(-90deg);-ms-transform:translate3d(0,100%,0) rotateX(-90deg);transform:translate3d(0,100%,0) rotateX(-90deg)}.reveal.page .slides{-webkit-perspective-origin:0 50%;-moz-perspective-origin:0 50%;-ms-perspective-origin:0 50%;perspective-origin:0 50%;-webkit-perspective:3000px;-moz-perspective:3000px;-ms-perspective:3000px;perspective:3000px}.reveal.page .slides section{padding:30px;min-height:700px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.reveal.page .slides section.past{z-index:12}.reveal.page .slides section:not(.stack):before{content:'';position:absolute;display:block;width:100%;height:100%;left:0;top:0;background:rgba(0,0,0,.1);-webkit-transform:translateZ(-20px);-moz-transform:translateZ(-20px);-ms-transform:translateZ(-20px);-o-transform:translateZ(-20px);transform:translateZ(-20px)}.reveal.page .slides section:not(.stack):after{content:'';position:absolute;display:block;width:90%;height:30px;left:5%;bottom:0;background:0;z-index:1;border-radius:4px;box-shadow:0 95px 25px rgba(0,0,0,.2);-webkit-transform:translateZ(-90px) rotateX(65deg)}.reveal.page .slides>section.stack{padding:0;background:0}.reveal.page .slides>section.past{-webkit-transform-origin:0 0;-moz-transform-origin:0 0;-ms-transform-origin:0 0;transform-origin:0 0;-webkit-transform:translate3d(-40%,0,0) rotateY(-80deg);-moz-transform:translate3d(-40%,0,0) rotateY(-80deg);-ms-transform:translate3d(-40%,0,0) rotateY(-80deg);transform:translate3d(-40%,0,0) rotateY(-80deg)}.reveal.page .slides>section.future{-webkit-transform-origin:100% 0;-moz-transform-origin:100% 0;-ms-transform-origin:100% 0;transform-origin:100% 0;-webkit-transform:translate3d(0,0,0);-moz-transform:translate3d(0,0,0);-ms-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}.reveal.page .slides>section>section.past{-webkit-transform-origin:0 0;-moz-transform-origin:0 0;-ms-transform-origin:0 0;transform-origin:0 0;-webkit-transform:translate3d(0,-40%,0) rotateX(80deg);-moz-transform:translate3d(0,-40%,0) rotateX(80deg);-ms-transform:translate3d(0,-40%,0) rotateX(80deg);transform:translate3d(0,-40%,0) rotateX(80deg)}.reveal.page .slides>section>section.future{-webkit-transform-origin:0 100%;-moz-transform-origin:0 100%;-ms-transform-origin:0 100%;transform-origin:0 100%;-webkit-transform:translate3d(0,0,0);-moz-transform:translate3d(0,0,0);-ms-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}.reveal .slides section[data-transition=fade],.reveal.fade .slides section,.reveal.fade .slides>section>section{-webkit-transform:none;-moz-transform:none;-ms-transform:none;-o-transform:none;transform:none;-webkit-transition:opacity .5s;-moz-transition:opacity .5s;-ms-transition:opacity .5s;-o-transition:opacity .5s;transition:opacity .5s}.reveal.fade.overview .slides section,.reveal.fade.overview .slides>section>section,.reveal.fade.exit-overview .slides section,.reveal.fade.exit-overview .slides>section>section{-webkit-transition:none;-moz-transition:none;-ms-transition:none;-o-transition:none;transition:none}.reveal .slides section[data-transition=none],.reveal.none .slides section{-webkit-transform:none;-moz-transform:none;-ms-transform:none;-o-transform:none;transform:none;-webkit-transition:none;-moz-transition:none;-ms-transition:none;-o-transition:none;transition:none}.reveal.overview .slides{-webkit-perspective-origin:0 0;-moz-perspective-origin:0 0;-ms-perspective-origin:0 0;perspective-origin:0 0;-webkit-perspective:700px;-moz-perspective:700px;-ms-perspective:700px;perspective:700px}.reveal.overview .slides section{height:600px;overflow:hidden;opacity:1!important;visibility:visible!important;cursor:pointer;background:rgba(0,0,0,.1)}.reveal.overview .slides section .fragment{opacity:1}.reveal.overview .slides section:after,.reveal.overview .slides section:before{display:none!important}.reveal.overview .slides section>section{opacity:1;cursor:pointer}.reveal.overview .slides section:hover{background:rgba(0,0,0,.3)}.reveal.overview .slides section.present{background:rgba(0,0,0,.3)}.reveal.overview .slides>section.stack{padding:0;background:0;overflow:visible}.reveal .pause-overlay{position:absolute;top:0;left:0;width:100%;height:100%;background:#000;visibility:hidden;opacity:0;z-index:100;-webkit-transition:all 1s ease;-moz-transition:all 1s ease;-ms-transition:all 1s ease;-o-transition:all 1s ease;transition:all 1s ease}.reveal.paused .pause-overlay{visibility:visible;opacity:1}.no-transforms{overflow-y:auto}.no-transforms .reveal .slides{position:relative;width:80%;height:auto!important;top:0;left:50%;margin:0;text-align:center}.no-transforms .reveal .controls,.no-transforms .reveal .progress{display:none!important}.no-transforms .reveal .slides section{display:block!important;opacity:1!important;position:relative!important;height:auto;min-height:auto;top:0;left:-50%;margin:70px 0;-webkit-transform:none;-moz-transform:none;-ms-transform:none;-o-transform:none;transform:none}.no-transforms .reveal .slides section section{left:0}.no-transition,.no-transition *{-webkit-transition:none!important;-moz-transition:none!important;-ms-transition:none!important;-o-transition:none!important;transition:none!important}.reveal .state-background{position:absolute;width:100%;height:100%;background:rgba(0,0,0,0);-webkit-transition:background 800ms ease;-moz-transition:background 800ms ease;-ms-transition:background 800ms ease;-o-transition:background 800ms ease;transition:background 800ms ease}.alert .reveal .state-background{background:rgba(200,50,30,.6)}.soothe .reveal .state-background{background:rgba(50,200,90,.4)}.blackout .reveal .state-background{background:rgba(0,0,0,.6)}.whiteout .reveal .state-background{background:rgba(255,255,255,.6)}.cobalt .reveal .state-background{background:rgba(22,152,213,.6)}.mint .reveal .state-background{background:rgba(22,213,75,.6)}.submerge .reveal .state-background{background:rgba(12,25,77,.6)}.lila .reveal .state-background{background:rgba(180,50,140,.6)}.sunset .reveal .state-background{background:rgba(255,122,0,.6)}.reveal>.background{position:absolute;width:100%;height:100%}.reveal>.background div{position:absolute;width:100%;height:100%;opacity:0;visibility:hidden;background-color:rgba(0,0,0,0);background-position:50% 50%;background-repeat:no-repeat;background-size:cover;-webkit-transition:all 800ms ease;-moz-transition:all 800ms ease;-ms-transition:all 800ms ease;-o-transition:all 800ms ease;transition:all 800ms ease}.reveal>.background div.present{opacity:1;visibility:visible}.reveal[data-transition-speed=fast] .background div{-webkit-transition-duration:400ms;-moz-transition-duration:400ms;-ms-transition-duration:400ms;transition-duration:400ms}.reveal[data-transition-speed=slow] .background div{-webkit-transition-duration:1200ms;-moz-transition-duration:1200ms;-ms-transition-duration:1200ms;transition-duration:1200ms}.reveal.rtl .slides,.reveal.rtl .slides h1,.reveal.rtl .slides h2,.reveal.rtl .slides h3,.reveal.rtl .slides h4,.reveal.rtl .slides h5,.reveal.rtl .slides h6{direction:rtl;font-family:sans-serif}.reveal.rtl pre,.reveal.rtl code{direction:ltr}.reveal.rtl ol,.reveal.rtl ul{text-align:right}.reveal.rtl .progress span{float:right}.reveal aside.notes{display:none}.zoomed .reveal *,.zoomed .reveal :before,.zoomed .reveal :after{-webkit-transform:none!important;-moz-transform:none!important;-ms-transform:none!important;transform:none!important;-webkit-backface-visibility:visible!important;-moz-backface-visibility:visible!important;-ms-backface-visibility:visible!important;backface-visibility:visible!important}.zoomed .reveal .progress,.zoomed .reveal .controls{opacity:0}.zoomed .reveal .roll span{background:0}.zoomed .reveal .roll span:after{visibility:hidden} \ No newline at end of file diff --git a/js/reveal.js b/js/reveal.js index 7d8020f..edad911 100644 --- a/js/reveal.js +++ b/js/reveal.js @@ -252,6 +252,7 @@ var Reveal = (function(){ // Clear prior backgrounds dom.background.innerHTML = ''; + dom.background.classList.add( 'no-transition' ); // Helper method for creating a background element for the // given slide @@ -1463,10 +1464,13 @@ var Reveal = (function(){ } /** - * + * Updates the background elements to reflect the current + * slide. */ function updateBackground() { + // Update the classes of all backgrounds to match the + // states of their slides (past/present/future) toArray( dom.background.childNodes ).forEach( function( backgroundh, h ) { backgroundh.className = ( h < indexh ? 'past' : h > indexh ? 'future' : 'present' ); @@ -1479,6 +1483,11 @@ var Reveal = (function(){ } ); + // Allow the first background to apply without transition + setTimeout( function() { + dom.background.classList.remove( 'no-transition' ); + }, 1 ); + } /** diff --git a/js/reveal.min.js b/js/reveal.min.js index 4df60ea..e544d3e 100644 --- a/js/reveal.min.js +++ b/js/reveal.min.js @@ -1,8 +1,8 @@ /*! - * reveal.js 2.5.0 (2013-06-04, 19:39) + * reveal.js 2.5.0 (2013-06-04, 19:50) * http://lab.hakim.se/reveal-js * MIT licensed * * Copyright (C) 2013 Hakim El Hattab, http://hakim.se */ -var Reveal=function(){"use strict";function e(e){return Nt||Pt?(window.addEventListener("load",g,!1),l(St,e),r(),o(),void 0):(document.body.setAttribute("class","no-transforms"),void 0)}function t(){if(Mt.theme=document.querySelector("#theme"),Mt.wrapper=document.querySelector(".reveal"),Mt.slides=document.querySelector(".reveal .slides"),document.querySelector(".reveal .background")||(Mt.background=document.createElement("div"),Mt.background.classList.add("background"),Mt.wrapper.appendChild(Mt.background)),!Mt.wrapper.querySelector(".progress")){var e=document.createElement("div");e.classList.add("progress"),e.innerHTML="",Mt.wrapper.appendChild(e)}if(!Mt.wrapper.querySelector(".controls")){var t=document.createElement("aside");t.classList.add("controls"),t.innerHTML='',Mt.wrapper.appendChild(t)}if(!Mt.wrapper.querySelector(".state-background")){var n=document.createElement("div");n.classList.add("state-background"),Mt.wrapper.appendChild(n)}if(!Mt.wrapper.querySelector(".pause-overlay")){var r=document.createElement("div");r.classList.add("pause-overlay"),Mt.wrapper.appendChild(r)}Mt.progress=document.querySelector(".reveal .progress"),Mt.progressbar=document.querySelector(".reveal .progress span"),St.controls&&(Mt.controls=document.querySelector(".reveal .controls"),Mt.controlsLeft=d(document.querySelectorAll(".navigate-left")),Mt.controlsRight=d(document.querySelectorAll(".navigate-right")),Mt.controlsUp=d(document.querySelectorAll(".navigate-up")),Mt.controlsDown=d(document.querySelectorAll(".navigate-down")),Mt.controlsPrev=d(document.querySelectorAll(".navigate-prev")),Mt.controlsNext=d(document.querySelectorAll(".navigate-next")))}function n(){function e(e,t){var n=e.getAttribute("data-background"),r=document.createElement("div");return n&&(/\.(png|jpg|jpeg|gif|bmp|)$/gi.test(n)?r.style.backgroundImage="url("+n+")":r.style.background=n),t.appendChild(r),r}Mt.background.innerHTML="",d(document.querySelectorAll(wt)).forEach(function(t){var n=e(t,Mt.background);d(t.querySelectorAll("section")).forEach(function(t){e(t,n)})})}function r(){/iphone|ipod|android/gi.test(navigator.userAgent)&&!/crios/gi.test(navigator.userAgent)&&(window.addEventListener("load",f,!1),window.addEventListener("orientationchange",f,!1))}function o(){function e(){n.length&&head.js.apply(null,n),a()}for(var t=[],n=[],r=0,o=St.dependencies.length;o>r;r++){var s=St.dependencies[r];(!s.condition||s.condition())&&(s.async?n.push(s.src):t.push(s.src),"function"==typeof s.callback&&head.ready(s.src.match(/([\w\d_\-]*)\.?js$|[^\\\/]*$/i)[0],s.callback))}t.length?(head.ready(e),head.js.apply(null,t)):e()}function a(){t(),s(),W(),setTimeout(function(){v("ready",{indexh:qt,indexv:kt,currentSlide:yt})},1)}function s(e){if(Mt.wrapper.classList.remove(St.transition),"object"==typeof e&&l(St,e),Pt===!1&&(St.transition="linear"),Mt.wrapper.classList.add(St.transition),Mt.wrapper.setAttribute("data-transition-speed",St.transitionSpeed),Mt.controls&&(Mt.controls.style.display=St.controls&&Mt.controls?"block":"none"),Mt.progress&&(Mt.progress.style.display=St.progress&&Mt.progress?"block":"none"),St.rtl?Mt.wrapper.classList.add("rtl"):Mt.wrapper.classList.remove("rtl"),St.center?Mt.wrapper.classList.add("center"):Mt.wrapper.classList.remove("center"),St.mouseWheel?(document.addEventListener("DOMMouseScroll",st,!1),document.addEventListener("mousewheel",st,!1)):(document.removeEventListener("DOMMouseScroll",st,!1),document.removeEventListener("mousewheel",st,!1)),St.rollingLinks?p():m(),St.theme&&Mt.theme){var t=Mt.theme.getAttribute("href"),n=/[^\/]*?(?=\.css)/,r=t.match(n)[0];St.theme!==r&&(t=t.replace(n,St.theme),Mt.theme.setAttribute("href",t))}N()}function i(){Xt=!0,window.addEventListener("hashchange",pt,!1),window.addEventListener("resize",mt,!1),St.touch&&(Mt.wrapper.addEventListener("touchstart",et,!1),Mt.wrapper.addEventListener("touchmove",tt,!1),Mt.wrapper.addEventListener("touchend",nt,!1),window.navigator.msPointerEnabled&&(Mt.wrapper.addEventListener("MSPointerDown",rt,!1),Mt.wrapper.addEventListener("MSPointerMove",ot,!1),Mt.wrapper.addEventListener("MSPointerUp",at,!1))),St.keyboard&&document.addEventListener("keydown",J,!1),St.progress&&Mt.progress&&Mt.progress.addEventListener("click",it,!1),St.controls&&Mt.controls&&["touchstart","click"].forEach(function(e){Mt.controlsLeft.forEach(function(t){t.addEventListener(e,ct,!1)}),Mt.controlsRight.forEach(function(t){t.addEventListener(e,lt,!1)}),Mt.controlsUp.forEach(function(t){t.addEventListener(e,dt,!1)}),Mt.controlsDown.forEach(function(t){t.addEventListener(e,ut,!1)}),Mt.controlsPrev.forEach(function(t){t.addEventListener(e,ft,!1)}),Mt.controlsNext.forEach(function(t){t.addEventListener(e,vt,!1)})})}function c(){Xt=!1,document.removeEventListener("keydown",J,!1),window.removeEventListener("hashchange",pt,!1),window.removeEventListener("resize",mt,!1),Mt.wrapper.removeEventListener("touchstart",et,!1),Mt.wrapper.removeEventListener("touchmove",tt,!1),Mt.wrapper.removeEventListener("touchend",nt,!1),window.navigator.msPointerEnabled&&(Mt.wrapper.removeEventListener("MSPointerDown",rt,!1),Mt.wrapper.removeEventListener("MSPointerMove",ot,!1),Mt.wrapper.removeEventListener("MSPointerUp",at,!1)),St.progress&&Mt.progress&&Mt.progress.removeEventListener("click",it,!1),St.controls&&Mt.controls&&["touchstart","click"].forEach(function(e){Mt.controlsLeft.forEach(function(t){t.removeEventListener(e,ct,!1)}),Mt.controlsRight.forEach(function(t){t.removeEventListener(e,lt,!1)}),Mt.controlsUp.forEach(function(t){t.removeEventListener(e,dt,!1)}),Mt.controlsDown.forEach(function(t){t.removeEventListener(e,ut,!1)}),Mt.controlsPrev.forEach(function(t){t.removeEventListener(e,ft,!1)}),Mt.controlsNext.forEach(function(t){t.removeEventListener(e,vt,!1)})})}function l(e,t){for(var n in t)e[n]=t[n]}function d(e){return Array.prototype.slice.call(e)}function u(e,t){var n=e.x-t.x,r=e.y-t.y;return Math.sqrt(n*n+r*r)}function f(){0===window.orientation?(document.documentElement.style.overflow="scroll",document.body.style.height="120%"):(document.documentElement.style.overflow="",document.body.style.height="100%"),setTimeout(function(){window.scrollTo(0,1)},10)}function v(e,t){var n=document.createEvent("HTMLEvents",1,2);n.initEvent(e,!0,!0),l(n,t),Mt.wrapper.dispatchEvent(n)}function p(){if(Pt&&!("msPerspective"in document.body.style))for(var e=document.querySelectorAll(bt+" a:not(.image)"),t=0,n=e.length;n>t;t++){var r=e[t];if(!(!r.textContent||r.querySelector("*")||r.className&&r.classList.contains(r,"roll"))){var o=document.createElement("span");o.setAttribute("data-title",r.text),o.innerHTML=r.innerHTML,r.classList.add("roll"),r.innerHTML="",r.appendChild(o)}}}function m(){for(var e=document.querySelectorAll(bt+" a.roll"),t=0,n=e.length;n>t;t++){var r=e[t],o=r.querySelector("span");o&&(r.classList.remove("roll"),r.innerHTML=o.innerHTML)}}function h(e){var t=d(e);return t.forEach(function(e,t){e.hasAttribute("data-fragment-index")||e.setAttribute("data-fragment-index",t)}),t.sort(function(e,t){return e.getAttribute("data-fragment-index")-t.getAttribute("data-fragment-index")}),t}function g(){if(Mt.wrapper){var e=Mt.wrapper.offsetWidth,t=Mt.wrapper.offsetHeight;e-=t*St.margin,t-=t*St.margin;var n=St.width,r=St.height;if("string"==typeof n&&/%$/.test(n)&&(n=parseInt(n,10)/100*e),"string"==typeof r&&/%$/.test(r)&&(r=parseInt(r,10)/100*t),Mt.slides.style.width=n+"px",Mt.slides.style.height=r+"px",Tt=Math.min(e/n,t/r),Tt=Math.max(Tt,St.minScale),Tt=Math.min(Tt,St.maxScale),void 0===Mt.slides.style.zoom||navigator.userAgent.match(/(iphone|ipod|ipad|android)/gi)){var o="translate(-50%, -50%) scale("+Tt+") translate(50%, 50%)";Mt.slides.style.WebkitTransform=o,Mt.slides.style.MozTransform=o,Mt.slides.style.msTransform=o,Mt.slides.style.OTransform=o,Mt.slides.style.transform=o}else Mt.slides.style.zoom=Tt;for(var a=d(document.querySelectorAll(bt)),s=0,i=a.length;i>s;s++){var c=a[s];"none"!==c.style.display&&(c.style.top=St.center?c.classList.contains("stack")?0:Math.max(-(c.offsetHeight/2)-20,-r/2)+"px":"")}C()}}function y(e,t){"object"==typeof e&&"function"==typeof e.setAttribute&&e.setAttribute("data-previous-indexv",t||0)}function b(e){if("object"==typeof e&&"function"==typeof e.setAttribute&&e.classList.contains("stack")){var t=e.hasAttribute("data-start-indexv")?"data-start-indexv":"data-previous-indexv";return parseInt(e.getAttribute(t)||0,10)}return 0}function w(){if(St.overview){K();var e=Mt.wrapper.classList.contains("overview");Mt.wrapper.classList.add("overview"),Mt.wrapper.classList.remove("exit-overview"),clearTimeout(Yt),clearTimeout(Rt),Yt=setTimeout(function(){for(var t=document.querySelectorAll(wt),n=0,r=t.length;r>n;n++){var o=t[n],a=St.rtl?-105:105,s="translateZ(-2500px) translate("+(n-qt)*a+"%, 0%)";if(o.setAttribute("data-index-h",n),o.style.display="block",o.style.WebkitTransform=s,o.style.MozTransform=s,o.style.msTransform=s,o.style.OTransform=s,o.style.transform=s,o.classList.contains("stack"))for(var i=o.querySelectorAll("section"),c=0,l=i.length;l>c;c++){var d=n===qt?kt:b(o),u=i[c],f="translate(0%, "+105*(c-d)+"%)";u.setAttribute("data-index-h",n),u.setAttribute("data-index-v",c),u.style.display="block",u.style.WebkitTransform=f,u.style.MozTransform=f,u.style.msTransform=f,u.style.OTransform=f,u.style.transform=f,u.addEventListener("click",ht,!0)}else o.addEventListener("click",ht,!0)}g(),e||v("overviewshown",{indexh:qt,indexv:kt,currentSlide:yt})},10)}}function L(){if(St.overview){clearTimeout(Yt),clearTimeout(Rt),Mt.wrapper.classList.remove("overview"),Mt.wrapper.classList.add("exit-overview"),Rt=setTimeout(function(){Mt.wrapper.classList.remove("exit-overview")},10);for(var e=d(document.querySelectorAll(bt)),t=0,n=e.length;n>t;t++){var r=e[t];r.style.display="",r.style.WebkitTransform="",r.style.MozTransform="",r.style.msTransform="",r.style.OTransform="",r.style.transform="",r.removeEventListener("click",ht,!0)}P(qt,kt),_(),v("overviewhidden",{indexh:qt,indexv:kt,currentSlide:yt})}}function E(e){"boolean"==typeof e?e?w():L():S()?L():w()}function S(){return Mt.wrapper.classList.contains("overview")}function A(e){return e=e?e:yt,e&&!!e.parentNode.nodeName.match(/section/i)}function q(){var e=document.body,t=e.requestFullScreen||e.webkitRequestFullscreen||e.webkitRequestFullScreen||e.mozRequestFullScreen||e.msRequestFullScreen;t&&t.apply(e)}function k(){var e=Mt.wrapper.classList.contains("paused");K(),Mt.wrapper.classList.add("paused"),e===!1&&v("paused")}function x(){var e=Mt.wrapper.classList.contains("paused");Mt.wrapper.classList.remove("paused"),_(),e&&v("resumed")}function T(){M()?x():k()}function M(){return Mt.wrapper.classList.contains("paused")}function P(e,t,n,r){gt=yt;var o=document.querySelectorAll(wt);void 0===t&&(t=b(o[e])),gt&>.parentNode&>.parentNode.classList.contains("stack")&&y(gt.parentNode,kt);var a=xt.concat();xt.length=0;var s=qt,i=kt;qt=D(wt,void 0===e?qt:e),kt=D(Lt,void 0===t?kt:t),g();e:for(var c=0,l=xt.length;l>c;c++){for(var u=0;a.length>u;u++)if(a[u]===xt[c]){a.splice(u,1);continue e}document.documentElement.classList.add(xt[c]),v(xt[c])}for(;a.length;)document.documentElement.classList.remove(a.pop());S()&&w(),U(1500);var f=o[qt],p=f.querySelectorAll("section");if(yt=p[kt]||f,n!==void 0){var m=h(yt.querySelectorAll(".fragment"));d(m).forEach(function(e,t){n>t?e.classList.add("visible"):e.classList.remove("visible")})}qt!==s||kt!==i?v("slidechanged",{indexh:qt,indexv:kt,previousSlide:gt,currentSlide:yt,origin:r}):gt=null,gt&&(gt.classList.remove("present"),document.querySelector(Et).classList.contains("present")&&setTimeout(function(){var e,t=d(document.querySelectorAll(wt+".stack"));for(e in t)t[e]&&y(t[e],0)},0)),I(gt),H(yt),O(),C(),Y()}function N(){c(),i(),g(),At=St.autoSlide,_(),n(),O(),C(),Y()}function D(e,t){var n=d(document.querySelectorAll(e)),r=n.length;if(r){St.loop&&(t%=r,0>t&&(t=r+t)),t=Math.max(Math.min(t,r-1),0);for(var o=0;r>o;o++){var a=n[o];if(S()===!1){var s=Math.abs((t-o)%(r-3))||0;a.style.display=s>3?"none":"block"}var i=St.rtl&&!A(a);a.classList.remove("past"),a.classList.remove("present"),a.classList.remove("future"),t>o?a.classList.add(i?"future":"past"):o>t&&a.classList.add(i?"past":"future"),a.querySelector("section")&&a.classList.add("stack")}n[t].classList.add("present");var c=n[t].getAttribute("data-state");c&&(xt=xt.concat(c.split(" ")));var l=n[t].getAttribute("data-autoslide");At=l?parseInt(l,10):St.autoSlide}else t=0;return t}function C(){if(St.progress&&Mt.progress){var e=d(document.querySelectorAll(wt)),t=document.querySelectorAll(bt+":not(.stack)").length,n=0;e:for(var r=0;e.length>r;r++){for(var o=e[r],a=d(o.querySelectorAll("section")),s=0;a.length>s;s++){if(a[s].classList.contains("present"))break e;n++}if(o.classList.contains("present"))break;o.classList.contains("stack")===!1&&n++}Mt.progressbar.style.width=n/(t-1)*window.innerWidth+"px"}}function O(){if(St.controls&&Mt.controls){var e=R(),t=X();Mt.controlsLeft.concat(Mt.controlsRight).concat(Mt.controlsUp).concat(Mt.controlsDown).concat(Mt.controlsPrev).concat(Mt.controlsNext).forEach(function(e){e.classList.remove("enabled"),e.classList.remove("fragmented")}),e.left&&Mt.controlsLeft.forEach(function(e){e.classList.add("enabled")}),e.right&&Mt.controlsRight.forEach(function(e){e.classList.add("enabled")}),e.up&&Mt.controlsUp.forEach(function(e){e.classList.add("enabled")}),e.down&&Mt.controlsDown.forEach(function(e){e.classList.add("enabled")}),(e.left||e.up)&&Mt.controlsPrev.forEach(function(e){e.classList.add("enabled")}),(e.right||e.down)&&Mt.controlsNext.forEach(function(e){e.classList.add("enabled")}),yt&&(t.prev&&Mt.controlsPrev.forEach(function(e){e.classList.add("fragmented","enabled")}),t.next&&Mt.controlsNext.forEach(function(e){e.classList.add("fragmented","enabled")}),A(yt)?(t.prev&&Mt.controlsUp.forEach(function(e){e.classList.add("fragmented","enabled")}),t.next&&Mt.controlsDown.forEach(function(e){e.classList.add("fragmented","enabled")})):(t.prev&&Mt.controlsLeft.forEach(function(e){e.classList.add("fragmented","enabled")}),t.next&&Mt.controlsRight.forEach(function(e){e.classList.add("fragmented","enabled")})))}}function Y(){d(Mt.background.childNodes).forEach(function(e,t){e.className=qt>t?"past":t>qt?"future":"present",d(e.childNodes).forEach(function(e,t){e.className=kt>t?"past":t>kt?"future":"present"})})}function R(){var e=document.querySelectorAll(wt),t=document.querySelectorAll(Lt),n={left:qt>0||St.loop,right:e.length-1>qt||St.loop,up:kt>0,down:t.length-1>kt};if(St.rtl){var r=n.left;n.left=n.right,n.right=r}return n}function X(){if(yt&&St.fragments){var e=yt.querySelectorAll(".fragment"),t=yt.querySelectorAll(".fragment:not(.visible)");return{prev:e.length-t.length>0,next:!!t.length}}return{prev:!1,next:!1}}function H(e){e&&(d(e.querySelectorAll("video, audio")).forEach(function(e){e.hasAttribute("data-autoplay")&&e.play()}),d(e.querySelectorAll('iframe[src*="youtube.com/embed/"]')).forEach(function(e){e.hasAttribute("data-autoplay")&&e.contentWindow.postMessage('{"event":"command","func":"playVideo","args":""}',"*")}))}function I(e){e&&(d(e.querySelectorAll("video, audio")).forEach(function(e){e.hasAttribute("data-ignore")||e.pause()}),d(e.querySelectorAll('iframe[src*="youtube.com/embed/"]')).forEach(function(e){e.hasAttribute("data-ignore")||"function"!=typeof e.contentWindow.postMessage||e.contentWindow.postMessage('{"event":"command","func":"pauseVideo","args":""}',"*")}))}function W(){var e=window.location.hash,t=e.slice(2).split("/"),n=e.replace(/#|\//gi,"");if(isNaN(parseInt(t[0],10))&&n.length){var r=document.querySelector("#"+n);if(r){var o=Reveal.getIndices(r);P(o.h,o.v)}else P(qt,kt)}else{var a=parseInt(t[0],10)||0,s=parseInt(t[1],10)||0;P(a,s)}}function U(e){if(St.history)if(clearTimeout(Ot),"number"==typeof e)Ot=setTimeout(U,e);else{var t="/";yt&&"string"==typeof yt.getAttribute("id")?t="/"+yt.getAttribute("id"):((qt>0||kt>0)&&(t+=qt),kt>0&&(t+="/"+kt)),window.location.hash=t}}function z(e){var t,n=qt,r=kt;if(e){var o=A(e),a=o?e.parentNode:e,s=d(document.querySelectorAll(wt));n=Math.max(s.indexOf(a),0),o&&(r=Math.max(d(e.parentNode.querySelectorAll("section")).indexOf(e),0))}if(!e&&yt){var i=yt.querySelectorAll(".fragment.visible");i.length&&(t=i.length)}return{h:n,v:r,f:t}}function F(){if(yt&&St.fragments){var e=h(yt.querySelectorAll(".fragment:not(.visible)"));if(e.length){var t=e[0].getAttribute("data-fragment-index");return e=yt.querySelectorAll('.fragment[data-fragment-index="'+t+'"]'),d(e).forEach(function(e){e.classList.add("visible"),v("fragmentshown",{fragment:e})}),O(),!0}}return!1}function j(){if(yt&&St.fragments){var e=h(yt.querySelectorAll(".fragment.visible"));if(e.length){var t=e[e.length-1].getAttribute("data-fragment-index");return e=yt.querySelectorAll('.fragment[data-fragment-index="'+t+'"]'),d(e).forEach(function(e){e.classList.remove("visible"),v("fragmenthidden",{fragment:e})}),O(),!0}}return!1}function _(){clearTimeout(Ct),!At||M()||S()||(Ct=setTimeout(G,At))}function K(){clearTimeout(Ct)}function $(){St.rtl?(S()||F()===!1)&&R().left&&P(qt+1):(S()||j()===!1)&&R().left&&P(qt-1)}function V(){St.rtl?(S()||j()===!1)&&R().right&&P(qt-1):(S()||F()===!1)&&R().right&&P(qt+1)}function Z(){(S()||j()===!1)&&R().up&&P(qt,kt-1)}function Q(){(S()||F()===!1)&&R().down&&P(qt,kt+1)}function B(){if(j()===!1)if(R().up)Z();else{var e=document.querySelector(wt+".past:nth-child("+qt+")");e&&(kt=e.querySelectorAll("section").length+1||void 0,qt--,P(qt,kt))}}function G(){F()===!1&&(R().down?Q():V()),_()}function J(e){document.activeElement;var t=!(!document.activeElement||!document.activeElement.type&&!document.activeElement.href&&"inherit"===document.activeElement.contentEditable);if(!(t||e.shiftKey&&32!==e.keyCode||e.altKey||e.ctrlKey||e.metaKey)){var n=!0;if(M()&&-1===[66,190,191].indexOf(e.keyCode))return!1;switch(e.keyCode){case 80:case 33:B();break;case 78:case 34:G();break;case 72:case 37:$();break;case 76:case 39:V();break;case 75:case 38:Z();break;case 74:case 40:Q();break;case 36:P(0);break;case 35:P(Number.MAX_VALUE);break;case 32:S()?L():e.shiftKey?B():G();break;case 13:S()?L():n=!1;break;case 66:case 190:case 191:T();break;case 70:q();break;default:n=!1}n?e.preventDefault():27===e.keyCode&&Pt&&(E(),e.preventDefault()),_()}}function et(e){Ht.startX=e.touches[0].clientX,Ht.startY=e.touches[0].clientY,Ht.startCount=e.touches.length,2===e.touches.length&&St.overview&&(Ht.startSpan=u({x:e.touches[1].clientX,y:e.touches[1].clientY},{x:Ht.startX,y:Ht.startY}))}function tt(e){if(Ht.handled)navigator.userAgent.match(/android/gi)&&e.preventDefault();else{var t=e.touches[0].clientX,n=e.touches[0].clientY;if(2===e.touches.length&&2===Ht.startCount&&St.overview){var r=u({x:e.touches[1].clientX,y:e.touches[1].clientY},{x:Ht.startX,y:Ht.startY});Math.abs(Ht.startSpan-r)>Ht.threshold&&(Ht.handled=!0,Ht.startSpan>r?w():L()),e.preventDefault()}else if(1===e.touches.length&&2!==Ht.startCount){var o=t-Ht.startX,a=n-Ht.startY;o>Ht.threshold&&Math.abs(o)>Math.abs(a)?(Ht.handled=!0,$()):-Ht.threshold>o&&Math.abs(o)>Math.abs(a)?(Ht.handled=!0,V()):a>Ht.threshold?(Ht.handled=!0,Z()):-Ht.threshold>a&&(Ht.handled=!0,Q()),e.preventDefault()}}}function nt(){Ht.handled=!1}function rt(e){e.pointerType===e.MSPOINTER_TYPE_TOUCH&&(e.touches=[{clientX:e.clientX,clientY:e.clientY}],et(e))}function ot(e){e.pointerType===e.MSPOINTER_TYPE_TOUCH&&(e.touches=[{clientX:e.clientX,clientY:e.clientY}],tt(e))}function at(e){e.pointerType===e.MSPOINTER_TYPE_TOUCH&&(e.touches=[{clientX:e.clientX,clientY:e.clientY}],nt(e))}function st(e){clearTimeout(Dt),Dt=setTimeout(function(){var t=e.detail||-e.wheelDelta;t>0?G():B()},100)}function it(e){e.preventDefault();var t=d(document.querySelectorAll(wt)).length,n=Math.floor(e.clientX/Mt.wrapper.offsetWidth*t);P(n)}function ct(e){e.preventDefault(),$()}function lt(e){e.preventDefault(),V()}function dt(e){e.preventDefault(),Z()}function ut(e){e.preventDefault(),Q()}function ft(e){e.preventDefault(),B()}function vt(e){e.preventDefault(),G()}function pt(){W()}function mt(){g()}function ht(e){if(Xt&&S()){e.preventDefault();for(var t=e.target;t&&!t.nodeName.match(/section/gi);)t=t.parentNode;if(t&&!t.classList.contains("disabled")&&(L(),t.nodeName.match(/section/gi))){var n=parseInt(t.getAttribute("data-index-h"),10),r=parseInt(t.getAttribute("data-index-v"),10);P(n,r)}}}var gt,yt,bt=".reveal .slides section",wt=".reveal .slides>section",Lt=".reveal .slides>section.present>section",Et=".reveal .slides>section:first-child",St={width:960,height:700,margin:.1,minScale:.2,maxScale:1,controls:!0,progress:!0,history:!1,keyboard:!0,overview:!0,center:!0,touch:!0,loop:!1,rtl:!1,fragments:!0,autoSlide:0,mouseWheel:!1,rollingLinks:!0,theme:null,transition:"default",transitionSpeed:"default",dependencies:[]},At=0,qt=0,kt=0,xt=[],Tt=1,Mt={},Pt="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,Nt="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,Dt=0,Ct=0,Ot=0,Yt=0,Rt=0,Xt=!1,Ht={startX:0,startY:0,startSpan:0,startCount:0,handled:!1,threshold:80};return{initialize:e,configure:s,sync:N,slide:P,left:$,right:V,up:Z,down:Q,prev:B,next:G,prevFragment:j,nextFragment:F,navigateTo:P,navigateLeft:$,navigateRight:V,navigateUp:Z,navigateDown:Q,navigatePrev:B,navigateNext:G,layout:g,availableRoutes:R,availableFragments:X,toggleOverview:E,togglePause:T,isOverview:S,isPaused:M,addEventListeners:i,removeEventListeners:c,getIndices:z,getSlide:function(e,t){var n=document.querySelectorAll(wt)[e],r=n&&n.querySelectorAll("section");return t!==void 0?r?r[t]:void 0:n},getPreviousSlide:function(){return gt},getCurrentSlide:function(){return yt},getScale:function(){return Tt},getConfig:function(){return St},getQueryHash:function(){var e={};return location.search.replace(/[A-Z0-9]+?=(\w*)/gi,function(t){e[t.split("=").shift()]=t.split("=").pop()}),e},isFirstSlide:function(){return null==document.querySelector(bt+".past")?!0:!1},isLastSlide:function(){return yt&&yt.classList.contains(".stack")?null==yt.querySelector(bt+".future")?!0:!1:null==document.querySelector(bt+".future")?!0:!1},addEventListener:function(e,t,n){"addEventListener"in window&&(Mt.wrapper||document.querySelector(".reveal")).addEventListener(e,t,n)},removeEventListener:function(e,t,n){"addEventListener"in window&&(Mt.wrapper||document.querySelector(".reveal")).removeEventListener(e,t,n)}}}(); \ No newline at end of file +var Reveal=function(){"use strict";function e(e){return Nt||Pt?(window.addEventListener("load",g,!1),l(St,e),r(),o(),void 0):(document.body.setAttribute("class","no-transforms"),void 0)}function t(){if(Mt.theme=document.querySelector("#theme"),Mt.wrapper=document.querySelector(".reveal"),Mt.slides=document.querySelector(".reveal .slides"),document.querySelector(".reveal .background")||(Mt.background=document.createElement("div"),Mt.background.classList.add("background"),Mt.wrapper.appendChild(Mt.background)),!Mt.wrapper.querySelector(".progress")){var e=document.createElement("div");e.classList.add("progress"),e.innerHTML="",Mt.wrapper.appendChild(e)}if(!Mt.wrapper.querySelector(".controls")){var t=document.createElement("aside");t.classList.add("controls"),t.innerHTML='',Mt.wrapper.appendChild(t)}if(!Mt.wrapper.querySelector(".state-background")){var n=document.createElement("div");n.classList.add("state-background"),Mt.wrapper.appendChild(n)}if(!Mt.wrapper.querySelector(".pause-overlay")){var r=document.createElement("div");r.classList.add("pause-overlay"),Mt.wrapper.appendChild(r)}Mt.progress=document.querySelector(".reveal .progress"),Mt.progressbar=document.querySelector(".reveal .progress span"),St.controls&&(Mt.controls=document.querySelector(".reveal .controls"),Mt.controlsLeft=d(document.querySelectorAll(".navigate-left")),Mt.controlsRight=d(document.querySelectorAll(".navigate-right")),Mt.controlsUp=d(document.querySelectorAll(".navigate-up")),Mt.controlsDown=d(document.querySelectorAll(".navigate-down")),Mt.controlsPrev=d(document.querySelectorAll(".navigate-prev")),Mt.controlsNext=d(document.querySelectorAll(".navigate-next")))}function n(){function e(e,t){var n=e.getAttribute("data-background"),r=document.createElement("div");return n&&(/\.(png|jpg|jpeg|gif|bmp|)$/gi.test(n)?r.style.backgroundImage="url("+n+")":r.style.background=n),t.appendChild(r),r}Mt.background.innerHTML="",Mt.background.classList.add("no-transition"),d(document.querySelectorAll(Lt)).forEach(function(t){var n=e(t,Mt.background);d(t.querySelectorAll("section")).forEach(function(t){e(t,n)})})}function r(){/iphone|ipod|android/gi.test(navigator.userAgent)&&!/crios/gi.test(navigator.userAgent)&&(window.addEventListener("load",f,!1),window.addEventListener("orientationchange",f,!1))}function o(){function e(){n.length&&head.js.apply(null,n),a()}for(var t=[],n=[],r=0,o=St.dependencies.length;o>r;r++){var s=St.dependencies[r];(!s.condition||s.condition())&&(s.async?n.push(s.src):t.push(s.src),"function"==typeof s.callback&&head.ready(s.src.match(/([\w\d_\-]*)\.?js$|[^\\\/]*$/i)[0],s.callback))}t.length?(head.ready(e),head.js.apply(null,t)):e()}function a(){t(),s(),W(),setTimeout(function(){v("ready",{indexh:kt,indexv:qt,currentSlide:yt})},1)}function s(e){if(Mt.wrapper.classList.remove(St.transition),"object"==typeof e&&l(St,e),Pt===!1&&(St.transition="linear"),Mt.wrapper.classList.add(St.transition),Mt.wrapper.setAttribute("data-transition-speed",St.transitionSpeed),Mt.controls&&(Mt.controls.style.display=St.controls&&Mt.controls?"block":"none"),Mt.progress&&(Mt.progress.style.display=St.progress&&Mt.progress?"block":"none"),St.rtl?Mt.wrapper.classList.add("rtl"):Mt.wrapper.classList.remove("rtl"),St.center?Mt.wrapper.classList.add("center"):Mt.wrapper.classList.remove("center"),St.mouseWheel?(document.addEventListener("DOMMouseScroll",st,!1),document.addEventListener("mousewheel",st,!1)):(document.removeEventListener("DOMMouseScroll",st,!1),document.removeEventListener("mousewheel",st,!1)),St.rollingLinks?p():m(),St.theme&&Mt.theme){var t=Mt.theme.getAttribute("href"),n=/[^\/]*?(?=\.css)/,r=t.match(n)[0];St.theme!==r&&(t=t.replace(n,St.theme),Mt.theme.setAttribute("href",t))}N()}function i(){Xt=!0,window.addEventListener("hashchange",pt,!1),window.addEventListener("resize",mt,!1),St.touch&&(Mt.wrapper.addEventListener("touchstart",et,!1),Mt.wrapper.addEventListener("touchmove",tt,!1),Mt.wrapper.addEventListener("touchend",nt,!1),window.navigator.msPointerEnabled&&(Mt.wrapper.addEventListener("MSPointerDown",rt,!1),Mt.wrapper.addEventListener("MSPointerMove",ot,!1),Mt.wrapper.addEventListener("MSPointerUp",at,!1))),St.keyboard&&document.addEventListener("keydown",J,!1),St.progress&&Mt.progress&&Mt.progress.addEventListener("click",it,!1),St.controls&&Mt.controls&&["touchstart","click"].forEach(function(e){Mt.controlsLeft.forEach(function(t){t.addEventListener(e,ct,!1)}),Mt.controlsRight.forEach(function(t){t.addEventListener(e,lt,!1)}),Mt.controlsUp.forEach(function(t){t.addEventListener(e,dt,!1)}),Mt.controlsDown.forEach(function(t){t.addEventListener(e,ut,!1)}),Mt.controlsPrev.forEach(function(t){t.addEventListener(e,ft,!1)}),Mt.controlsNext.forEach(function(t){t.addEventListener(e,vt,!1)})})}function c(){Xt=!1,document.removeEventListener("keydown",J,!1),window.removeEventListener("hashchange",pt,!1),window.removeEventListener("resize",mt,!1),Mt.wrapper.removeEventListener("touchstart",et,!1),Mt.wrapper.removeEventListener("touchmove",tt,!1),Mt.wrapper.removeEventListener("touchend",nt,!1),window.navigator.msPointerEnabled&&(Mt.wrapper.removeEventListener("MSPointerDown",rt,!1),Mt.wrapper.removeEventListener("MSPointerMove",ot,!1),Mt.wrapper.removeEventListener("MSPointerUp",at,!1)),St.progress&&Mt.progress&&Mt.progress.removeEventListener("click",it,!1),St.controls&&Mt.controls&&["touchstart","click"].forEach(function(e){Mt.controlsLeft.forEach(function(t){t.removeEventListener(e,ct,!1)}),Mt.controlsRight.forEach(function(t){t.removeEventListener(e,lt,!1)}),Mt.controlsUp.forEach(function(t){t.removeEventListener(e,dt,!1)}),Mt.controlsDown.forEach(function(t){t.removeEventListener(e,ut,!1)}),Mt.controlsPrev.forEach(function(t){t.removeEventListener(e,ft,!1)}),Mt.controlsNext.forEach(function(t){t.removeEventListener(e,vt,!1)})})}function l(e,t){for(var n in t)e[n]=t[n]}function d(e){return Array.prototype.slice.call(e)}function u(e,t){var n=e.x-t.x,r=e.y-t.y;return Math.sqrt(n*n+r*r)}function f(){0===window.orientation?(document.documentElement.style.overflow="scroll",document.body.style.height="120%"):(document.documentElement.style.overflow="",document.body.style.height="100%"),setTimeout(function(){window.scrollTo(0,1)},10)}function v(e,t){var n=document.createEvent("HTMLEvents",1,2);n.initEvent(e,!0,!0),l(n,t),Mt.wrapper.dispatchEvent(n)}function p(){if(Pt&&!("msPerspective"in document.body.style))for(var e=document.querySelectorAll(bt+" a:not(.image)"),t=0,n=e.length;n>t;t++){var r=e[t];if(!(!r.textContent||r.querySelector("*")||r.className&&r.classList.contains(r,"roll"))){var o=document.createElement("span");o.setAttribute("data-title",r.text),o.innerHTML=r.innerHTML,r.classList.add("roll"),r.innerHTML="",r.appendChild(o)}}}function m(){for(var e=document.querySelectorAll(bt+" a.roll"),t=0,n=e.length;n>t;t++){var r=e[t],o=r.querySelector("span");o&&(r.classList.remove("roll"),r.innerHTML=o.innerHTML)}}function h(e){var t=d(e);return t.forEach(function(e,t){e.hasAttribute("data-fragment-index")||e.setAttribute("data-fragment-index",t)}),t.sort(function(e,t){return e.getAttribute("data-fragment-index")-t.getAttribute("data-fragment-index")}),t}function g(){if(Mt.wrapper){var e=Mt.wrapper.offsetWidth,t=Mt.wrapper.offsetHeight;e-=t*St.margin,t-=t*St.margin;var n=St.width,r=St.height;if("string"==typeof n&&/%$/.test(n)&&(n=parseInt(n,10)/100*e),"string"==typeof r&&/%$/.test(r)&&(r=parseInt(r,10)/100*t),Mt.slides.style.width=n+"px",Mt.slides.style.height=r+"px",Tt=Math.min(e/n,t/r),Tt=Math.max(Tt,St.minScale),Tt=Math.min(Tt,St.maxScale),void 0===Mt.slides.style.zoom||navigator.userAgent.match(/(iphone|ipod|ipad|android)/gi)){var o="translate(-50%, -50%) scale("+Tt+") translate(50%, 50%)";Mt.slides.style.WebkitTransform=o,Mt.slides.style.MozTransform=o,Mt.slides.style.msTransform=o,Mt.slides.style.OTransform=o,Mt.slides.style.transform=o}else Mt.slides.style.zoom=Tt;for(var a=d(document.querySelectorAll(bt)),s=0,i=a.length;i>s;s++){var c=a[s];"none"!==c.style.display&&(c.style.top=St.center?c.classList.contains("stack")?0:Math.max(-(c.offsetHeight/2)-20,-r/2)+"px":"")}C()}}function y(e,t){"object"==typeof e&&"function"==typeof e.setAttribute&&e.setAttribute("data-previous-indexv",t||0)}function b(e){if("object"==typeof e&&"function"==typeof e.setAttribute&&e.classList.contains("stack")){var t=e.hasAttribute("data-start-indexv")?"data-start-indexv":"data-previous-indexv";return parseInt(e.getAttribute(t)||0,10)}return 0}function L(){if(St.overview){K();var e=Mt.wrapper.classList.contains("overview");Mt.wrapper.classList.add("overview"),Mt.wrapper.classList.remove("exit-overview"),clearTimeout(Yt),clearTimeout(Rt),Yt=setTimeout(function(){for(var t=document.querySelectorAll(Lt),n=0,r=t.length;r>n;n++){var o=t[n],a=St.rtl?-105:105,s="translateZ(-2500px) translate("+(n-kt)*a+"%, 0%)";if(o.setAttribute("data-index-h",n),o.style.display="block",o.style.WebkitTransform=s,o.style.MozTransform=s,o.style.msTransform=s,o.style.OTransform=s,o.style.transform=s,o.classList.contains("stack"))for(var i=o.querySelectorAll("section"),c=0,l=i.length;l>c;c++){var d=n===kt?qt:b(o),u=i[c],f="translate(0%, "+105*(c-d)+"%)";u.setAttribute("data-index-h",n),u.setAttribute("data-index-v",c),u.style.display="block",u.style.WebkitTransform=f,u.style.MozTransform=f,u.style.msTransform=f,u.style.OTransform=f,u.style.transform=f,u.addEventListener("click",ht,!0)}else o.addEventListener("click",ht,!0)}g(),e||v("overviewshown",{indexh:kt,indexv:qt,currentSlide:yt})},10)}}function w(){if(St.overview){clearTimeout(Yt),clearTimeout(Rt),Mt.wrapper.classList.remove("overview"),Mt.wrapper.classList.add("exit-overview"),Rt=setTimeout(function(){Mt.wrapper.classList.remove("exit-overview")},10);for(var e=d(document.querySelectorAll(bt)),t=0,n=e.length;n>t;t++){var r=e[t];r.style.display="",r.style.WebkitTransform="",r.style.MozTransform="",r.style.msTransform="",r.style.OTransform="",r.style.transform="",r.removeEventListener("click",ht,!0)}P(kt,qt),_(),v("overviewhidden",{indexh:kt,indexv:qt,currentSlide:yt})}}function E(e){"boolean"==typeof e?e?L():w():S()?w():L()}function S(){return Mt.wrapper.classList.contains("overview")}function A(e){return e=e?e:yt,e&&!!e.parentNode.nodeName.match(/section/i)}function k(){var e=document.body,t=e.requestFullScreen||e.webkitRequestFullscreen||e.webkitRequestFullScreen||e.mozRequestFullScreen||e.msRequestFullScreen;t&&t.apply(e)}function q(){var e=Mt.wrapper.classList.contains("paused");K(),Mt.wrapper.classList.add("paused"),e===!1&&v("paused")}function x(){var e=Mt.wrapper.classList.contains("paused");Mt.wrapper.classList.remove("paused"),_(),e&&v("resumed")}function T(){M()?x():q()}function M(){return Mt.wrapper.classList.contains("paused")}function P(e,t,n,r){gt=yt;var o=document.querySelectorAll(Lt);void 0===t&&(t=b(o[e])),gt&>.parentNode&>.parentNode.classList.contains("stack")&&y(gt.parentNode,qt);var a=xt.concat();xt.length=0;var s=kt,i=qt;kt=D(Lt,void 0===e?kt:e),qt=D(wt,void 0===t?qt:t),g();e:for(var c=0,l=xt.length;l>c;c++){for(var u=0;a.length>u;u++)if(a[u]===xt[c]){a.splice(u,1);continue e}document.documentElement.classList.add(xt[c]),v(xt[c])}for(;a.length;)document.documentElement.classList.remove(a.pop());S()&&L(),U(1500);var f=o[kt],p=f.querySelectorAll("section");if(yt=p[qt]||f,n!==void 0){var m=h(yt.querySelectorAll(".fragment"));d(m).forEach(function(e,t){n>t?e.classList.add("visible"):e.classList.remove("visible")})}kt!==s||qt!==i?v("slidechanged",{indexh:kt,indexv:qt,previousSlide:gt,currentSlide:yt,origin:r}):gt=null,gt&&(gt.classList.remove("present"),document.querySelector(Et).classList.contains("present")&&setTimeout(function(){var e,t=d(document.querySelectorAll(Lt+".stack"));for(e in t)t[e]&&y(t[e],0)},0)),I(gt),H(yt),O(),C(),Y()}function N(){c(),i(),g(),At=St.autoSlide,_(),n(),O(),C(),Y()}function D(e,t){var n=d(document.querySelectorAll(e)),r=n.length;if(r){St.loop&&(t%=r,0>t&&(t=r+t)),t=Math.max(Math.min(t,r-1),0);for(var o=0;r>o;o++){var a=n[o];if(S()===!1){var s=Math.abs((t-o)%(r-3))||0;a.style.display=s>3?"none":"block"}var i=St.rtl&&!A(a);a.classList.remove("past"),a.classList.remove("present"),a.classList.remove("future"),t>o?a.classList.add(i?"future":"past"):o>t&&a.classList.add(i?"past":"future"),a.querySelector("section")&&a.classList.add("stack")}n[t].classList.add("present");var c=n[t].getAttribute("data-state");c&&(xt=xt.concat(c.split(" ")));var l=n[t].getAttribute("data-autoslide");At=l?parseInt(l,10):St.autoSlide}else t=0;return t}function C(){if(St.progress&&Mt.progress){var e=d(document.querySelectorAll(Lt)),t=document.querySelectorAll(bt+":not(.stack)").length,n=0;e:for(var r=0;e.length>r;r++){for(var o=e[r],a=d(o.querySelectorAll("section")),s=0;a.length>s;s++){if(a[s].classList.contains("present"))break e;n++}if(o.classList.contains("present"))break;o.classList.contains("stack")===!1&&n++}Mt.progressbar.style.width=n/(t-1)*window.innerWidth+"px"}}function O(){if(St.controls&&Mt.controls){var e=R(),t=X();Mt.controlsLeft.concat(Mt.controlsRight).concat(Mt.controlsUp).concat(Mt.controlsDown).concat(Mt.controlsPrev).concat(Mt.controlsNext).forEach(function(e){e.classList.remove("enabled"),e.classList.remove("fragmented")}),e.left&&Mt.controlsLeft.forEach(function(e){e.classList.add("enabled")}),e.right&&Mt.controlsRight.forEach(function(e){e.classList.add("enabled")}),e.up&&Mt.controlsUp.forEach(function(e){e.classList.add("enabled")}),e.down&&Mt.controlsDown.forEach(function(e){e.classList.add("enabled")}),(e.left||e.up)&&Mt.controlsPrev.forEach(function(e){e.classList.add("enabled")}),(e.right||e.down)&&Mt.controlsNext.forEach(function(e){e.classList.add("enabled")}),yt&&(t.prev&&Mt.controlsPrev.forEach(function(e){e.classList.add("fragmented","enabled")}),t.next&&Mt.controlsNext.forEach(function(e){e.classList.add("fragmented","enabled")}),A(yt)?(t.prev&&Mt.controlsUp.forEach(function(e){e.classList.add("fragmented","enabled")}),t.next&&Mt.controlsDown.forEach(function(e){e.classList.add("fragmented","enabled")})):(t.prev&&Mt.controlsLeft.forEach(function(e){e.classList.add("fragmented","enabled")}),t.next&&Mt.controlsRight.forEach(function(e){e.classList.add("fragmented","enabled")})))}}function Y(){d(Mt.background.childNodes).forEach(function(e,t){e.className=kt>t?"past":t>kt?"future":"present",d(e.childNodes).forEach(function(e,t){e.className=qt>t?"past":t>qt?"future":"present"})}),setTimeout(function(){Mt.background.classList.remove("no-transition")},1)}function R(){var e=document.querySelectorAll(Lt),t=document.querySelectorAll(wt),n={left:kt>0||St.loop,right:e.length-1>kt||St.loop,up:qt>0,down:t.length-1>qt};if(St.rtl){var r=n.left;n.left=n.right,n.right=r}return n}function X(){if(yt&&St.fragments){var e=yt.querySelectorAll(".fragment"),t=yt.querySelectorAll(".fragment:not(.visible)");return{prev:e.length-t.length>0,next:!!t.length}}return{prev:!1,next:!1}}function H(e){e&&(d(e.querySelectorAll("video, audio")).forEach(function(e){e.hasAttribute("data-autoplay")&&e.play()}),d(e.querySelectorAll('iframe[src*="youtube.com/embed/"]')).forEach(function(e){e.hasAttribute("data-autoplay")&&e.contentWindow.postMessage('{"event":"command","func":"playVideo","args":""}',"*")}))}function I(e){e&&(d(e.querySelectorAll("video, audio")).forEach(function(e){e.hasAttribute("data-ignore")||e.pause()}),d(e.querySelectorAll('iframe[src*="youtube.com/embed/"]')).forEach(function(e){e.hasAttribute("data-ignore")||"function"!=typeof e.contentWindow.postMessage||e.contentWindow.postMessage('{"event":"command","func":"pauseVideo","args":""}',"*")}))}function W(){var e=window.location.hash,t=e.slice(2).split("/"),n=e.replace(/#|\//gi,"");if(isNaN(parseInt(t[0],10))&&n.length){var r=document.querySelector("#"+n);if(r){var o=Reveal.getIndices(r);P(o.h,o.v)}else P(kt,qt)}else{var a=parseInt(t[0],10)||0,s=parseInt(t[1],10)||0;P(a,s)}}function U(e){if(St.history)if(clearTimeout(Ot),"number"==typeof e)Ot=setTimeout(U,e);else{var t="/";yt&&"string"==typeof yt.getAttribute("id")?t="/"+yt.getAttribute("id"):((kt>0||qt>0)&&(t+=kt),qt>0&&(t+="/"+qt)),window.location.hash=t}}function z(e){var t,n=kt,r=qt;if(e){var o=A(e),a=o?e.parentNode:e,s=d(document.querySelectorAll(Lt));n=Math.max(s.indexOf(a),0),o&&(r=Math.max(d(e.parentNode.querySelectorAll("section")).indexOf(e),0))}if(!e&&yt){var i=yt.querySelectorAll(".fragment.visible");i.length&&(t=i.length)}return{h:n,v:r,f:t}}function F(){if(yt&&St.fragments){var e=h(yt.querySelectorAll(".fragment:not(.visible)"));if(e.length){var t=e[0].getAttribute("data-fragment-index");return e=yt.querySelectorAll('.fragment[data-fragment-index="'+t+'"]'),d(e).forEach(function(e){e.classList.add("visible"),v("fragmentshown",{fragment:e})}),O(),!0}}return!1}function j(){if(yt&&St.fragments){var e=h(yt.querySelectorAll(".fragment.visible"));if(e.length){var t=e[e.length-1].getAttribute("data-fragment-index");return e=yt.querySelectorAll('.fragment[data-fragment-index="'+t+'"]'),d(e).forEach(function(e){e.classList.remove("visible"),v("fragmenthidden",{fragment:e})}),O(),!0}}return!1}function _(){clearTimeout(Ct),!At||M()||S()||(Ct=setTimeout(G,At))}function K(){clearTimeout(Ct)}function $(){St.rtl?(S()||F()===!1)&&R().left&&P(kt+1):(S()||j()===!1)&&R().left&&P(kt-1)}function V(){St.rtl?(S()||j()===!1)&&R().right&&P(kt-1):(S()||F()===!1)&&R().right&&P(kt+1)}function Z(){(S()||j()===!1)&&R().up&&P(kt,qt-1)}function Q(){(S()||F()===!1)&&R().down&&P(kt,qt+1)}function B(){if(j()===!1)if(R().up)Z();else{var e=document.querySelector(Lt+".past:nth-child("+kt+")");e&&(qt=e.querySelectorAll("section").length+1||void 0,kt--,P(kt,qt))}}function G(){F()===!1&&(R().down?Q():V()),_()}function J(e){document.activeElement;var t=!(!document.activeElement||!document.activeElement.type&&!document.activeElement.href&&"inherit"===document.activeElement.contentEditable);if(!(t||e.shiftKey&&32!==e.keyCode||e.altKey||e.ctrlKey||e.metaKey)){var n=!0;if(M()&&-1===[66,190,191].indexOf(e.keyCode))return!1;switch(e.keyCode){case 80:case 33:B();break;case 78:case 34:G();break;case 72:case 37:$();break;case 76:case 39:V();break;case 75:case 38:Z();break;case 74:case 40:Q();break;case 36:P(0);break;case 35:P(Number.MAX_VALUE);break;case 32:S()?w():e.shiftKey?B():G();break;case 13:S()?w():n=!1;break;case 66:case 190:case 191:T();break;case 70:k();break;default:n=!1}n?e.preventDefault():27===e.keyCode&&Pt&&(E(),e.preventDefault()),_()}}function et(e){Ht.startX=e.touches[0].clientX,Ht.startY=e.touches[0].clientY,Ht.startCount=e.touches.length,2===e.touches.length&&St.overview&&(Ht.startSpan=u({x:e.touches[1].clientX,y:e.touches[1].clientY},{x:Ht.startX,y:Ht.startY}))}function tt(e){if(Ht.handled)navigator.userAgent.match(/android/gi)&&e.preventDefault();else{var t=e.touches[0].clientX,n=e.touches[0].clientY;if(2===e.touches.length&&2===Ht.startCount&&St.overview){var r=u({x:e.touches[1].clientX,y:e.touches[1].clientY},{x:Ht.startX,y:Ht.startY});Math.abs(Ht.startSpan-r)>Ht.threshold&&(Ht.handled=!0,Ht.startSpan>r?L():w()),e.preventDefault()}else if(1===e.touches.length&&2!==Ht.startCount){var o=t-Ht.startX,a=n-Ht.startY;o>Ht.threshold&&Math.abs(o)>Math.abs(a)?(Ht.handled=!0,$()):-Ht.threshold>o&&Math.abs(o)>Math.abs(a)?(Ht.handled=!0,V()):a>Ht.threshold?(Ht.handled=!0,Z()):-Ht.threshold>a&&(Ht.handled=!0,Q()),e.preventDefault()}}}function nt(){Ht.handled=!1}function rt(e){e.pointerType===e.MSPOINTER_TYPE_TOUCH&&(e.touches=[{clientX:e.clientX,clientY:e.clientY}],et(e))}function ot(e){e.pointerType===e.MSPOINTER_TYPE_TOUCH&&(e.touches=[{clientX:e.clientX,clientY:e.clientY}],tt(e))}function at(e){e.pointerType===e.MSPOINTER_TYPE_TOUCH&&(e.touches=[{clientX:e.clientX,clientY:e.clientY}],nt(e))}function st(e){clearTimeout(Dt),Dt=setTimeout(function(){var t=e.detail||-e.wheelDelta;t>0?G():B()},100)}function it(e){e.preventDefault();var t=d(document.querySelectorAll(Lt)).length,n=Math.floor(e.clientX/Mt.wrapper.offsetWidth*t);P(n)}function ct(e){e.preventDefault(),$()}function lt(e){e.preventDefault(),V()}function dt(e){e.preventDefault(),Z()}function ut(e){e.preventDefault(),Q()}function ft(e){e.preventDefault(),B()}function vt(e){e.preventDefault(),G()}function pt(){W()}function mt(){g()}function ht(e){if(Xt&&S()){e.preventDefault();for(var t=e.target;t&&!t.nodeName.match(/section/gi);)t=t.parentNode;if(t&&!t.classList.contains("disabled")&&(w(),t.nodeName.match(/section/gi))){var n=parseInt(t.getAttribute("data-index-h"),10),r=parseInt(t.getAttribute("data-index-v"),10);P(n,r)}}}var gt,yt,bt=".reveal .slides section",Lt=".reveal .slides>section",wt=".reveal .slides>section.present>section",Et=".reveal .slides>section:first-child",St={width:960,height:700,margin:.1,minScale:.2,maxScale:1,controls:!0,progress:!0,history:!1,keyboard:!0,overview:!0,center:!0,touch:!0,loop:!1,rtl:!1,fragments:!0,autoSlide:0,mouseWheel:!1,rollingLinks:!0,theme:null,transition:"default",transitionSpeed:"default",dependencies:[]},At=0,kt=0,qt=0,xt=[],Tt=1,Mt={},Pt="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,Nt="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,Dt=0,Ct=0,Ot=0,Yt=0,Rt=0,Xt=!1,Ht={startX:0,startY:0,startSpan:0,startCount:0,handled:!1,threshold:80};return{initialize:e,configure:s,sync:N,slide:P,left:$,right:V,up:Z,down:Q,prev:B,next:G,prevFragment:j,nextFragment:F,navigateTo:P,navigateLeft:$,navigateRight:V,navigateUp:Z,navigateDown:Q,navigatePrev:B,navigateNext:G,layout:g,availableRoutes:R,availableFragments:X,toggleOverview:E,togglePause:T,isOverview:S,isPaused:M,addEventListeners:i,removeEventListeners:c,getIndices:z,getSlide:function(e,t){var n=document.querySelectorAll(Lt)[e],r=n&&n.querySelectorAll("section");return t!==void 0?r?r[t]:void 0:n},getPreviousSlide:function(){return gt},getCurrentSlide:function(){return yt},getScale:function(){return Tt},getConfig:function(){return St},getQueryHash:function(){var e={};return location.search.replace(/[A-Z0-9]+?=(\w*)/gi,function(t){e[t.split("=").shift()]=t.split("=").pop()}),e},isFirstSlide:function(){return null==document.querySelector(bt+".past")?!0:!1},isLastSlide:function(){return yt&&yt.classList.contains(".stack")?null==yt.querySelector(bt+".future")?!0:!1:null==document.querySelector(bt+".future")?!0:!1},addEventListener:function(e,t,n){"addEventListener"in window&&(Mt.wrapper||document.querySelector(".reveal")).addEventListener(e,t,n)},removeEventListener:function(e,t,n){"addEventListener"in window&&(Mt.wrapper||document.querySelector(".reveal")).removeEventListener(e,t,n)}}}(); \ No newline at end of file From c11e8f624f34729363cc35d5a083476c356e824a Mon Sep 17 00:00:00 2001 From: Hakim El Hattab Date: Tue, 4 Jun 2013 19:58:50 +0200 Subject: [PATCH 07/23] support for optional background property overrides (#453) --- js/reveal.js | 21 ++++++++++++++++----- js/reveal.min.js | 4 ++-- test/background.html | 3 ++- 3 files changed, 20 insertions(+), 8 deletions(-) diff --git a/js/reveal.js b/js/reveal.js index edad911..6e5f9e4 100644 --- a/js/reveal.js +++ b/js/reveal.js @@ -258,19 +258,30 @@ var Reveal = (function(){ // given slide function _createBackground( slide, container ) { - var background = slide.getAttribute( 'data-background' ); + var data = { + background: slide.getAttribute( 'data-background' ), + backgroundSize: slide.getAttribute( 'data-background-size' ), + backgroundRepeat: slide.getAttribute( 'data-background-repeat' ), + backgroundPosition: slide.getAttribute( 'data-background-position' ) + }; + var element = document.createElement( 'div' ); - if( background ) { + if( data.background ) { // Auto-wrap image urls in url(...) - if( /\.(png|jpg|jpeg|gif|bmp|)$/gi.test( background ) ) { - element.style.backgroundImage = 'url('+ background +')'; + if( /\.(png|jpg|jpeg|gif|bmp|)$/gi.test( data.background ) ) { + element.style.backgroundImage = 'url('+ data.background +')'; } else { - element.style.background = background; + element.style.background = data.background; } } + // Additional and optional background properties + if( data.backgroundSize ) element.style.backgroundSize = data.backgroundSize; + if( data.backgroundRepeat ) element.style.backgroundRepeat = data.backgroundRepeat; + if( data.backgroundPosition ) element.style.backgroundPosition = data.backgroundPosition; + container.appendChild( element ); return element; diff --git a/js/reveal.min.js b/js/reveal.min.js index e544d3e..b005505 100644 --- a/js/reveal.min.js +++ b/js/reveal.min.js @@ -1,8 +1,8 @@ /*! - * reveal.js 2.5.0 (2013-06-04, 19:50) + * reveal.js 2.5.0 (2013-06-04, 19:55) * http://lab.hakim.se/reveal-js * MIT licensed * * Copyright (C) 2013 Hakim El Hattab, http://hakim.se */ -var Reveal=function(){"use strict";function e(e){return Nt||Pt?(window.addEventListener("load",g,!1),l(St,e),r(),o(),void 0):(document.body.setAttribute("class","no-transforms"),void 0)}function t(){if(Mt.theme=document.querySelector("#theme"),Mt.wrapper=document.querySelector(".reveal"),Mt.slides=document.querySelector(".reveal .slides"),document.querySelector(".reveal .background")||(Mt.background=document.createElement("div"),Mt.background.classList.add("background"),Mt.wrapper.appendChild(Mt.background)),!Mt.wrapper.querySelector(".progress")){var e=document.createElement("div");e.classList.add("progress"),e.innerHTML="",Mt.wrapper.appendChild(e)}if(!Mt.wrapper.querySelector(".controls")){var t=document.createElement("aside");t.classList.add("controls"),t.innerHTML='',Mt.wrapper.appendChild(t)}if(!Mt.wrapper.querySelector(".state-background")){var n=document.createElement("div");n.classList.add("state-background"),Mt.wrapper.appendChild(n)}if(!Mt.wrapper.querySelector(".pause-overlay")){var r=document.createElement("div");r.classList.add("pause-overlay"),Mt.wrapper.appendChild(r)}Mt.progress=document.querySelector(".reveal .progress"),Mt.progressbar=document.querySelector(".reveal .progress span"),St.controls&&(Mt.controls=document.querySelector(".reveal .controls"),Mt.controlsLeft=d(document.querySelectorAll(".navigate-left")),Mt.controlsRight=d(document.querySelectorAll(".navigate-right")),Mt.controlsUp=d(document.querySelectorAll(".navigate-up")),Mt.controlsDown=d(document.querySelectorAll(".navigate-down")),Mt.controlsPrev=d(document.querySelectorAll(".navigate-prev")),Mt.controlsNext=d(document.querySelectorAll(".navigate-next")))}function n(){function e(e,t){var n=e.getAttribute("data-background"),r=document.createElement("div");return n&&(/\.(png|jpg|jpeg|gif|bmp|)$/gi.test(n)?r.style.backgroundImage="url("+n+")":r.style.background=n),t.appendChild(r),r}Mt.background.innerHTML="",Mt.background.classList.add("no-transition"),d(document.querySelectorAll(Lt)).forEach(function(t){var n=e(t,Mt.background);d(t.querySelectorAll("section")).forEach(function(t){e(t,n)})})}function r(){/iphone|ipod|android/gi.test(navigator.userAgent)&&!/crios/gi.test(navigator.userAgent)&&(window.addEventListener("load",f,!1),window.addEventListener("orientationchange",f,!1))}function o(){function e(){n.length&&head.js.apply(null,n),a()}for(var t=[],n=[],r=0,o=St.dependencies.length;o>r;r++){var s=St.dependencies[r];(!s.condition||s.condition())&&(s.async?n.push(s.src):t.push(s.src),"function"==typeof s.callback&&head.ready(s.src.match(/([\w\d_\-]*)\.?js$|[^\\\/]*$/i)[0],s.callback))}t.length?(head.ready(e),head.js.apply(null,t)):e()}function a(){t(),s(),W(),setTimeout(function(){v("ready",{indexh:kt,indexv:qt,currentSlide:yt})},1)}function s(e){if(Mt.wrapper.classList.remove(St.transition),"object"==typeof e&&l(St,e),Pt===!1&&(St.transition="linear"),Mt.wrapper.classList.add(St.transition),Mt.wrapper.setAttribute("data-transition-speed",St.transitionSpeed),Mt.controls&&(Mt.controls.style.display=St.controls&&Mt.controls?"block":"none"),Mt.progress&&(Mt.progress.style.display=St.progress&&Mt.progress?"block":"none"),St.rtl?Mt.wrapper.classList.add("rtl"):Mt.wrapper.classList.remove("rtl"),St.center?Mt.wrapper.classList.add("center"):Mt.wrapper.classList.remove("center"),St.mouseWheel?(document.addEventListener("DOMMouseScroll",st,!1),document.addEventListener("mousewheel",st,!1)):(document.removeEventListener("DOMMouseScroll",st,!1),document.removeEventListener("mousewheel",st,!1)),St.rollingLinks?p():m(),St.theme&&Mt.theme){var t=Mt.theme.getAttribute("href"),n=/[^\/]*?(?=\.css)/,r=t.match(n)[0];St.theme!==r&&(t=t.replace(n,St.theme),Mt.theme.setAttribute("href",t))}N()}function i(){Xt=!0,window.addEventListener("hashchange",pt,!1),window.addEventListener("resize",mt,!1),St.touch&&(Mt.wrapper.addEventListener("touchstart",et,!1),Mt.wrapper.addEventListener("touchmove",tt,!1),Mt.wrapper.addEventListener("touchend",nt,!1),window.navigator.msPointerEnabled&&(Mt.wrapper.addEventListener("MSPointerDown",rt,!1),Mt.wrapper.addEventListener("MSPointerMove",ot,!1),Mt.wrapper.addEventListener("MSPointerUp",at,!1))),St.keyboard&&document.addEventListener("keydown",J,!1),St.progress&&Mt.progress&&Mt.progress.addEventListener("click",it,!1),St.controls&&Mt.controls&&["touchstart","click"].forEach(function(e){Mt.controlsLeft.forEach(function(t){t.addEventListener(e,ct,!1)}),Mt.controlsRight.forEach(function(t){t.addEventListener(e,lt,!1)}),Mt.controlsUp.forEach(function(t){t.addEventListener(e,dt,!1)}),Mt.controlsDown.forEach(function(t){t.addEventListener(e,ut,!1)}),Mt.controlsPrev.forEach(function(t){t.addEventListener(e,ft,!1)}),Mt.controlsNext.forEach(function(t){t.addEventListener(e,vt,!1)})})}function c(){Xt=!1,document.removeEventListener("keydown",J,!1),window.removeEventListener("hashchange",pt,!1),window.removeEventListener("resize",mt,!1),Mt.wrapper.removeEventListener("touchstart",et,!1),Mt.wrapper.removeEventListener("touchmove",tt,!1),Mt.wrapper.removeEventListener("touchend",nt,!1),window.navigator.msPointerEnabled&&(Mt.wrapper.removeEventListener("MSPointerDown",rt,!1),Mt.wrapper.removeEventListener("MSPointerMove",ot,!1),Mt.wrapper.removeEventListener("MSPointerUp",at,!1)),St.progress&&Mt.progress&&Mt.progress.removeEventListener("click",it,!1),St.controls&&Mt.controls&&["touchstart","click"].forEach(function(e){Mt.controlsLeft.forEach(function(t){t.removeEventListener(e,ct,!1)}),Mt.controlsRight.forEach(function(t){t.removeEventListener(e,lt,!1)}),Mt.controlsUp.forEach(function(t){t.removeEventListener(e,dt,!1)}),Mt.controlsDown.forEach(function(t){t.removeEventListener(e,ut,!1)}),Mt.controlsPrev.forEach(function(t){t.removeEventListener(e,ft,!1)}),Mt.controlsNext.forEach(function(t){t.removeEventListener(e,vt,!1)})})}function l(e,t){for(var n in t)e[n]=t[n]}function d(e){return Array.prototype.slice.call(e)}function u(e,t){var n=e.x-t.x,r=e.y-t.y;return Math.sqrt(n*n+r*r)}function f(){0===window.orientation?(document.documentElement.style.overflow="scroll",document.body.style.height="120%"):(document.documentElement.style.overflow="",document.body.style.height="100%"),setTimeout(function(){window.scrollTo(0,1)},10)}function v(e,t){var n=document.createEvent("HTMLEvents",1,2);n.initEvent(e,!0,!0),l(n,t),Mt.wrapper.dispatchEvent(n)}function p(){if(Pt&&!("msPerspective"in document.body.style))for(var e=document.querySelectorAll(bt+" a:not(.image)"),t=0,n=e.length;n>t;t++){var r=e[t];if(!(!r.textContent||r.querySelector("*")||r.className&&r.classList.contains(r,"roll"))){var o=document.createElement("span");o.setAttribute("data-title",r.text),o.innerHTML=r.innerHTML,r.classList.add("roll"),r.innerHTML="",r.appendChild(o)}}}function m(){for(var e=document.querySelectorAll(bt+" a.roll"),t=0,n=e.length;n>t;t++){var r=e[t],o=r.querySelector("span");o&&(r.classList.remove("roll"),r.innerHTML=o.innerHTML)}}function h(e){var t=d(e);return t.forEach(function(e,t){e.hasAttribute("data-fragment-index")||e.setAttribute("data-fragment-index",t)}),t.sort(function(e,t){return e.getAttribute("data-fragment-index")-t.getAttribute("data-fragment-index")}),t}function g(){if(Mt.wrapper){var e=Mt.wrapper.offsetWidth,t=Mt.wrapper.offsetHeight;e-=t*St.margin,t-=t*St.margin;var n=St.width,r=St.height;if("string"==typeof n&&/%$/.test(n)&&(n=parseInt(n,10)/100*e),"string"==typeof r&&/%$/.test(r)&&(r=parseInt(r,10)/100*t),Mt.slides.style.width=n+"px",Mt.slides.style.height=r+"px",Tt=Math.min(e/n,t/r),Tt=Math.max(Tt,St.minScale),Tt=Math.min(Tt,St.maxScale),void 0===Mt.slides.style.zoom||navigator.userAgent.match(/(iphone|ipod|ipad|android)/gi)){var o="translate(-50%, -50%) scale("+Tt+") translate(50%, 50%)";Mt.slides.style.WebkitTransform=o,Mt.slides.style.MozTransform=o,Mt.slides.style.msTransform=o,Mt.slides.style.OTransform=o,Mt.slides.style.transform=o}else Mt.slides.style.zoom=Tt;for(var a=d(document.querySelectorAll(bt)),s=0,i=a.length;i>s;s++){var c=a[s];"none"!==c.style.display&&(c.style.top=St.center?c.classList.contains("stack")?0:Math.max(-(c.offsetHeight/2)-20,-r/2)+"px":"")}C()}}function y(e,t){"object"==typeof e&&"function"==typeof e.setAttribute&&e.setAttribute("data-previous-indexv",t||0)}function b(e){if("object"==typeof e&&"function"==typeof e.setAttribute&&e.classList.contains("stack")){var t=e.hasAttribute("data-start-indexv")?"data-start-indexv":"data-previous-indexv";return parseInt(e.getAttribute(t)||0,10)}return 0}function L(){if(St.overview){K();var e=Mt.wrapper.classList.contains("overview");Mt.wrapper.classList.add("overview"),Mt.wrapper.classList.remove("exit-overview"),clearTimeout(Yt),clearTimeout(Rt),Yt=setTimeout(function(){for(var t=document.querySelectorAll(Lt),n=0,r=t.length;r>n;n++){var o=t[n],a=St.rtl?-105:105,s="translateZ(-2500px) translate("+(n-kt)*a+"%, 0%)";if(o.setAttribute("data-index-h",n),o.style.display="block",o.style.WebkitTransform=s,o.style.MozTransform=s,o.style.msTransform=s,o.style.OTransform=s,o.style.transform=s,o.classList.contains("stack"))for(var i=o.querySelectorAll("section"),c=0,l=i.length;l>c;c++){var d=n===kt?qt:b(o),u=i[c],f="translate(0%, "+105*(c-d)+"%)";u.setAttribute("data-index-h",n),u.setAttribute("data-index-v",c),u.style.display="block",u.style.WebkitTransform=f,u.style.MozTransform=f,u.style.msTransform=f,u.style.OTransform=f,u.style.transform=f,u.addEventListener("click",ht,!0)}else o.addEventListener("click",ht,!0)}g(),e||v("overviewshown",{indexh:kt,indexv:qt,currentSlide:yt})},10)}}function w(){if(St.overview){clearTimeout(Yt),clearTimeout(Rt),Mt.wrapper.classList.remove("overview"),Mt.wrapper.classList.add("exit-overview"),Rt=setTimeout(function(){Mt.wrapper.classList.remove("exit-overview")},10);for(var e=d(document.querySelectorAll(bt)),t=0,n=e.length;n>t;t++){var r=e[t];r.style.display="",r.style.WebkitTransform="",r.style.MozTransform="",r.style.msTransform="",r.style.OTransform="",r.style.transform="",r.removeEventListener("click",ht,!0)}P(kt,qt),_(),v("overviewhidden",{indexh:kt,indexv:qt,currentSlide:yt})}}function E(e){"boolean"==typeof e?e?L():w():S()?w():L()}function S(){return Mt.wrapper.classList.contains("overview")}function A(e){return e=e?e:yt,e&&!!e.parentNode.nodeName.match(/section/i)}function k(){var e=document.body,t=e.requestFullScreen||e.webkitRequestFullscreen||e.webkitRequestFullScreen||e.mozRequestFullScreen||e.msRequestFullScreen;t&&t.apply(e)}function q(){var e=Mt.wrapper.classList.contains("paused");K(),Mt.wrapper.classList.add("paused"),e===!1&&v("paused")}function x(){var e=Mt.wrapper.classList.contains("paused");Mt.wrapper.classList.remove("paused"),_(),e&&v("resumed")}function T(){M()?x():q()}function M(){return Mt.wrapper.classList.contains("paused")}function P(e,t,n,r){gt=yt;var o=document.querySelectorAll(Lt);void 0===t&&(t=b(o[e])),gt&>.parentNode&>.parentNode.classList.contains("stack")&&y(gt.parentNode,qt);var a=xt.concat();xt.length=0;var s=kt,i=qt;kt=D(Lt,void 0===e?kt:e),qt=D(wt,void 0===t?qt:t),g();e:for(var c=0,l=xt.length;l>c;c++){for(var u=0;a.length>u;u++)if(a[u]===xt[c]){a.splice(u,1);continue e}document.documentElement.classList.add(xt[c]),v(xt[c])}for(;a.length;)document.documentElement.classList.remove(a.pop());S()&&L(),U(1500);var f=o[kt],p=f.querySelectorAll("section");if(yt=p[qt]||f,n!==void 0){var m=h(yt.querySelectorAll(".fragment"));d(m).forEach(function(e,t){n>t?e.classList.add("visible"):e.classList.remove("visible")})}kt!==s||qt!==i?v("slidechanged",{indexh:kt,indexv:qt,previousSlide:gt,currentSlide:yt,origin:r}):gt=null,gt&&(gt.classList.remove("present"),document.querySelector(Et).classList.contains("present")&&setTimeout(function(){var e,t=d(document.querySelectorAll(Lt+".stack"));for(e in t)t[e]&&y(t[e],0)},0)),I(gt),H(yt),O(),C(),Y()}function N(){c(),i(),g(),At=St.autoSlide,_(),n(),O(),C(),Y()}function D(e,t){var n=d(document.querySelectorAll(e)),r=n.length;if(r){St.loop&&(t%=r,0>t&&(t=r+t)),t=Math.max(Math.min(t,r-1),0);for(var o=0;r>o;o++){var a=n[o];if(S()===!1){var s=Math.abs((t-o)%(r-3))||0;a.style.display=s>3?"none":"block"}var i=St.rtl&&!A(a);a.classList.remove("past"),a.classList.remove("present"),a.classList.remove("future"),t>o?a.classList.add(i?"future":"past"):o>t&&a.classList.add(i?"past":"future"),a.querySelector("section")&&a.classList.add("stack")}n[t].classList.add("present");var c=n[t].getAttribute("data-state");c&&(xt=xt.concat(c.split(" ")));var l=n[t].getAttribute("data-autoslide");At=l?parseInt(l,10):St.autoSlide}else t=0;return t}function C(){if(St.progress&&Mt.progress){var e=d(document.querySelectorAll(Lt)),t=document.querySelectorAll(bt+":not(.stack)").length,n=0;e:for(var r=0;e.length>r;r++){for(var o=e[r],a=d(o.querySelectorAll("section")),s=0;a.length>s;s++){if(a[s].classList.contains("present"))break e;n++}if(o.classList.contains("present"))break;o.classList.contains("stack")===!1&&n++}Mt.progressbar.style.width=n/(t-1)*window.innerWidth+"px"}}function O(){if(St.controls&&Mt.controls){var e=R(),t=X();Mt.controlsLeft.concat(Mt.controlsRight).concat(Mt.controlsUp).concat(Mt.controlsDown).concat(Mt.controlsPrev).concat(Mt.controlsNext).forEach(function(e){e.classList.remove("enabled"),e.classList.remove("fragmented")}),e.left&&Mt.controlsLeft.forEach(function(e){e.classList.add("enabled")}),e.right&&Mt.controlsRight.forEach(function(e){e.classList.add("enabled")}),e.up&&Mt.controlsUp.forEach(function(e){e.classList.add("enabled")}),e.down&&Mt.controlsDown.forEach(function(e){e.classList.add("enabled")}),(e.left||e.up)&&Mt.controlsPrev.forEach(function(e){e.classList.add("enabled")}),(e.right||e.down)&&Mt.controlsNext.forEach(function(e){e.classList.add("enabled")}),yt&&(t.prev&&Mt.controlsPrev.forEach(function(e){e.classList.add("fragmented","enabled")}),t.next&&Mt.controlsNext.forEach(function(e){e.classList.add("fragmented","enabled")}),A(yt)?(t.prev&&Mt.controlsUp.forEach(function(e){e.classList.add("fragmented","enabled")}),t.next&&Mt.controlsDown.forEach(function(e){e.classList.add("fragmented","enabled")})):(t.prev&&Mt.controlsLeft.forEach(function(e){e.classList.add("fragmented","enabled")}),t.next&&Mt.controlsRight.forEach(function(e){e.classList.add("fragmented","enabled")})))}}function Y(){d(Mt.background.childNodes).forEach(function(e,t){e.className=kt>t?"past":t>kt?"future":"present",d(e.childNodes).forEach(function(e,t){e.className=qt>t?"past":t>qt?"future":"present"})}),setTimeout(function(){Mt.background.classList.remove("no-transition")},1)}function R(){var e=document.querySelectorAll(Lt),t=document.querySelectorAll(wt),n={left:kt>0||St.loop,right:e.length-1>kt||St.loop,up:qt>0,down:t.length-1>qt};if(St.rtl){var r=n.left;n.left=n.right,n.right=r}return n}function X(){if(yt&&St.fragments){var e=yt.querySelectorAll(".fragment"),t=yt.querySelectorAll(".fragment:not(.visible)");return{prev:e.length-t.length>0,next:!!t.length}}return{prev:!1,next:!1}}function H(e){e&&(d(e.querySelectorAll("video, audio")).forEach(function(e){e.hasAttribute("data-autoplay")&&e.play()}),d(e.querySelectorAll('iframe[src*="youtube.com/embed/"]')).forEach(function(e){e.hasAttribute("data-autoplay")&&e.contentWindow.postMessage('{"event":"command","func":"playVideo","args":""}',"*")}))}function I(e){e&&(d(e.querySelectorAll("video, audio")).forEach(function(e){e.hasAttribute("data-ignore")||e.pause()}),d(e.querySelectorAll('iframe[src*="youtube.com/embed/"]')).forEach(function(e){e.hasAttribute("data-ignore")||"function"!=typeof e.contentWindow.postMessage||e.contentWindow.postMessage('{"event":"command","func":"pauseVideo","args":""}',"*")}))}function W(){var e=window.location.hash,t=e.slice(2).split("/"),n=e.replace(/#|\//gi,"");if(isNaN(parseInt(t[0],10))&&n.length){var r=document.querySelector("#"+n);if(r){var o=Reveal.getIndices(r);P(o.h,o.v)}else P(kt,qt)}else{var a=parseInt(t[0],10)||0,s=parseInt(t[1],10)||0;P(a,s)}}function U(e){if(St.history)if(clearTimeout(Ot),"number"==typeof e)Ot=setTimeout(U,e);else{var t="/";yt&&"string"==typeof yt.getAttribute("id")?t="/"+yt.getAttribute("id"):((kt>0||qt>0)&&(t+=kt),qt>0&&(t+="/"+qt)),window.location.hash=t}}function z(e){var t,n=kt,r=qt;if(e){var o=A(e),a=o?e.parentNode:e,s=d(document.querySelectorAll(Lt));n=Math.max(s.indexOf(a),0),o&&(r=Math.max(d(e.parentNode.querySelectorAll("section")).indexOf(e),0))}if(!e&&yt){var i=yt.querySelectorAll(".fragment.visible");i.length&&(t=i.length)}return{h:n,v:r,f:t}}function F(){if(yt&&St.fragments){var e=h(yt.querySelectorAll(".fragment:not(.visible)"));if(e.length){var t=e[0].getAttribute("data-fragment-index");return e=yt.querySelectorAll('.fragment[data-fragment-index="'+t+'"]'),d(e).forEach(function(e){e.classList.add("visible"),v("fragmentshown",{fragment:e})}),O(),!0}}return!1}function j(){if(yt&&St.fragments){var e=h(yt.querySelectorAll(".fragment.visible"));if(e.length){var t=e[e.length-1].getAttribute("data-fragment-index");return e=yt.querySelectorAll('.fragment[data-fragment-index="'+t+'"]'),d(e).forEach(function(e){e.classList.remove("visible"),v("fragmenthidden",{fragment:e})}),O(),!0}}return!1}function _(){clearTimeout(Ct),!At||M()||S()||(Ct=setTimeout(G,At))}function K(){clearTimeout(Ct)}function $(){St.rtl?(S()||F()===!1)&&R().left&&P(kt+1):(S()||j()===!1)&&R().left&&P(kt-1)}function V(){St.rtl?(S()||j()===!1)&&R().right&&P(kt-1):(S()||F()===!1)&&R().right&&P(kt+1)}function Z(){(S()||j()===!1)&&R().up&&P(kt,qt-1)}function Q(){(S()||F()===!1)&&R().down&&P(kt,qt+1)}function B(){if(j()===!1)if(R().up)Z();else{var e=document.querySelector(Lt+".past:nth-child("+kt+")");e&&(qt=e.querySelectorAll("section").length+1||void 0,kt--,P(kt,qt))}}function G(){F()===!1&&(R().down?Q():V()),_()}function J(e){document.activeElement;var t=!(!document.activeElement||!document.activeElement.type&&!document.activeElement.href&&"inherit"===document.activeElement.contentEditable);if(!(t||e.shiftKey&&32!==e.keyCode||e.altKey||e.ctrlKey||e.metaKey)){var n=!0;if(M()&&-1===[66,190,191].indexOf(e.keyCode))return!1;switch(e.keyCode){case 80:case 33:B();break;case 78:case 34:G();break;case 72:case 37:$();break;case 76:case 39:V();break;case 75:case 38:Z();break;case 74:case 40:Q();break;case 36:P(0);break;case 35:P(Number.MAX_VALUE);break;case 32:S()?w():e.shiftKey?B():G();break;case 13:S()?w():n=!1;break;case 66:case 190:case 191:T();break;case 70:k();break;default:n=!1}n?e.preventDefault():27===e.keyCode&&Pt&&(E(),e.preventDefault()),_()}}function et(e){Ht.startX=e.touches[0].clientX,Ht.startY=e.touches[0].clientY,Ht.startCount=e.touches.length,2===e.touches.length&&St.overview&&(Ht.startSpan=u({x:e.touches[1].clientX,y:e.touches[1].clientY},{x:Ht.startX,y:Ht.startY}))}function tt(e){if(Ht.handled)navigator.userAgent.match(/android/gi)&&e.preventDefault();else{var t=e.touches[0].clientX,n=e.touches[0].clientY;if(2===e.touches.length&&2===Ht.startCount&&St.overview){var r=u({x:e.touches[1].clientX,y:e.touches[1].clientY},{x:Ht.startX,y:Ht.startY});Math.abs(Ht.startSpan-r)>Ht.threshold&&(Ht.handled=!0,Ht.startSpan>r?L():w()),e.preventDefault()}else if(1===e.touches.length&&2!==Ht.startCount){var o=t-Ht.startX,a=n-Ht.startY;o>Ht.threshold&&Math.abs(o)>Math.abs(a)?(Ht.handled=!0,$()):-Ht.threshold>o&&Math.abs(o)>Math.abs(a)?(Ht.handled=!0,V()):a>Ht.threshold?(Ht.handled=!0,Z()):-Ht.threshold>a&&(Ht.handled=!0,Q()),e.preventDefault()}}}function nt(){Ht.handled=!1}function rt(e){e.pointerType===e.MSPOINTER_TYPE_TOUCH&&(e.touches=[{clientX:e.clientX,clientY:e.clientY}],et(e))}function ot(e){e.pointerType===e.MSPOINTER_TYPE_TOUCH&&(e.touches=[{clientX:e.clientX,clientY:e.clientY}],tt(e))}function at(e){e.pointerType===e.MSPOINTER_TYPE_TOUCH&&(e.touches=[{clientX:e.clientX,clientY:e.clientY}],nt(e))}function st(e){clearTimeout(Dt),Dt=setTimeout(function(){var t=e.detail||-e.wheelDelta;t>0?G():B()},100)}function it(e){e.preventDefault();var t=d(document.querySelectorAll(Lt)).length,n=Math.floor(e.clientX/Mt.wrapper.offsetWidth*t);P(n)}function ct(e){e.preventDefault(),$()}function lt(e){e.preventDefault(),V()}function dt(e){e.preventDefault(),Z()}function ut(e){e.preventDefault(),Q()}function ft(e){e.preventDefault(),B()}function vt(e){e.preventDefault(),G()}function pt(){W()}function mt(){g()}function ht(e){if(Xt&&S()){e.preventDefault();for(var t=e.target;t&&!t.nodeName.match(/section/gi);)t=t.parentNode;if(t&&!t.classList.contains("disabled")&&(w(),t.nodeName.match(/section/gi))){var n=parseInt(t.getAttribute("data-index-h"),10),r=parseInt(t.getAttribute("data-index-v"),10);P(n,r)}}}var gt,yt,bt=".reveal .slides section",Lt=".reveal .slides>section",wt=".reveal .slides>section.present>section",Et=".reveal .slides>section:first-child",St={width:960,height:700,margin:.1,minScale:.2,maxScale:1,controls:!0,progress:!0,history:!1,keyboard:!0,overview:!0,center:!0,touch:!0,loop:!1,rtl:!1,fragments:!0,autoSlide:0,mouseWheel:!1,rollingLinks:!0,theme:null,transition:"default",transitionSpeed:"default",dependencies:[]},At=0,kt=0,qt=0,xt=[],Tt=1,Mt={},Pt="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,Nt="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,Dt=0,Ct=0,Ot=0,Yt=0,Rt=0,Xt=!1,Ht={startX:0,startY:0,startSpan:0,startCount:0,handled:!1,threshold:80};return{initialize:e,configure:s,sync:N,slide:P,left:$,right:V,up:Z,down:Q,prev:B,next:G,prevFragment:j,nextFragment:F,navigateTo:P,navigateLeft:$,navigateRight:V,navigateUp:Z,navigateDown:Q,navigatePrev:B,navigateNext:G,layout:g,availableRoutes:R,availableFragments:X,toggleOverview:E,togglePause:T,isOverview:S,isPaused:M,addEventListeners:i,removeEventListeners:c,getIndices:z,getSlide:function(e,t){var n=document.querySelectorAll(Lt)[e],r=n&&n.querySelectorAll("section");return t!==void 0?r?r[t]:void 0:n},getPreviousSlide:function(){return gt},getCurrentSlide:function(){return yt},getScale:function(){return Tt},getConfig:function(){return St},getQueryHash:function(){var e={};return location.search.replace(/[A-Z0-9]+?=(\w*)/gi,function(t){e[t.split("=").shift()]=t.split("=").pop()}),e},isFirstSlide:function(){return null==document.querySelector(bt+".past")?!0:!1},isLastSlide:function(){return yt&&yt.classList.contains(".stack")?null==yt.querySelector(bt+".future")?!0:!1:null==document.querySelector(bt+".future")?!0:!1},addEventListener:function(e,t,n){"addEventListener"in window&&(Mt.wrapper||document.querySelector(".reveal")).addEventListener(e,t,n)},removeEventListener:function(e,t,n){"addEventListener"in window&&(Mt.wrapper||document.querySelector(".reveal")).removeEventListener(e,t,n)}}}(); \ No newline at end of file +var Reveal=function(){"use strict";function e(e){return Nt||Pt?(window.addEventListener("load",g,!1),l(St,e),r(),o(),void 0):(document.body.setAttribute("class","no-transforms"),void 0)}function t(){if(Mt.theme=document.querySelector("#theme"),Mt.wrapper=document.querySelector(".reveal"),Mt.slides=document.querySelector(".reveal .slides"),document.querySelector(".reveal .background")||(Mt.background=document.createElement("div"),Mt.background.classList.add("background"),Mt.wrapper.appendChild(Mt.background)),!Mt.wrapper.querySelector(".progress")){var e=document.createElement("div");e.classList.add("progress"),e.innerHTML="",Mt.wrapper.appendChild(e)}if(!Mt.wrapper.querySelector(".controls")){var t=document.createElement("aside");t.classList.add("controls"),t.innerHTML='',Mt.wrapper.appendChild(t)}if(!Mt.wrapper.querySelector(".state-background")){var n=document.createElement("div");n.classList.add("state-background"),Mt.wrapper.appendChild(n)}if(!Mt.wrapper.querySelector(".pause-overlay")){var r=document.createElement("div");r.classList.add("pause-overlay"),Mt.wrapper.appendChild(r)}Mt.progress=document.querySelector(".reveal .progress"),Mt.progressbar=document.querySelector(".reveal .progress span"),St.controls&&(Mt.controls=document.querySelector(".reveal .controls"),Mt.controlsLeft=d(document.querySelectorAll(".navigate-left")),Mt.controlsRight=d(document.querySelectorAll(".navigate-right")),Mt.controlsUp=d(document.querySelectorAll(".navigate-up")),Mt.controlsDown=d(document.querySelectorAll(".navigate-down")),Mt.controlsPrev=d(document.querySelectorAll(".navigate-prev")),Mt.controlsNext=d(document.querySelectorAll(".navigate-next")))}function n(){function e(e,t){var n={background:e.getAttribute("data-background"),backgroundSize:e.getAttribute("data-background-size"),backgroundRepeat:e.getAttribute("data-background-repeat"),backgroundPosition:e.getAttribute("data-background-position")},r=document.createElement("div");return n.background&&(/\.(png|jpg|jpeg|gif|bmp|)$/gi.test(n.background)?r.style.backgroundImage="url("+n.background+")":r.style.background=n.background),n.backgroundSize&&(r.style.backgroundSize=n.backgroundSize),n.backgroundRepeat&&(r.style.backgroundRepeat=n.backgroundRepeat),n.backgroundPosition&&(r.style.backgroundPosition=n.backgroundPosition),t.appendChild(r),r}Mt.background.innerHTML="",Mt.background.classList.add("no-transition"),d(document.querySelectorAll(Lt)).forEach(function(t){var n=e(t,Mt.background);d(t.querySelectorAll("section")).forEach(function(t){e(t,n)})})}function r(){/iphone|ipod|android/gi.test(navigator.userAgent)&&!/crios/gi.test(navigator.userAgent)&&(window.addEventListener("load",f,!1),window.addEventListener("orientationchange",f,!1))}function o(){function e(){n.length&&head.js.apply(null,n),a()}for(var t=[],n=[],r=0,o=St.dependencies.length;o>r;r++){var s=St.dependencies[r];(!s.condition||s.condition())&&(s.async?n.push(s.src):t.push(s.src),"function"==typeof s.callback&&head.ready(s.src.match(/([\w\d_\-]*)\.?js$|[^\\\/]*$/i)[0],s.callback))}t.length?(head.ready(e),head.js.apply(null,t)):e()}function a(){t(),s(),I(),setTimeout(function(){v("ready",{indexh:At,indexv:qt,currentSlide:yt})},1)}function s(e){if(Mt.wrapper.classList.remove(St.transition),"object"==typeof e&&l(St,e),Pt===!1&&(St.transition="linear"),Mt.wrapper.classList.add(St.transition),Mt.wrapper.setAttribute("data-transition-speed",St.transitionSpeed),Mt.controls&&(Mt.controls.style.display=St.controls&&Mt.controls?"block":"none"),Mt.progress&&(Mt.progress.style.display=St.progress&&Mt.progress?"block":"none"),St.rtl?Mt.wrapper.classList.add("rtl"):Mt.wrapper.classList.remove("rtl"),St.center?Mt.wrapper.classList.add("center"):Mt.wrapper.classList.remove("center"),St.mouseWheel?(document.addEventListener("DOMMouseScroll",st,!1),document.addEventListener("mousewheel",st,!1)):(document.removeEventListener("DOMMouseScroll",st,!1),document.removeEventListener("mousewheel",st,!1)),St.rollingLinks?p():m(),St.theme&&Mt.theme){var t=Mt.theme.getAttribute("href"),n=/[^\/]*?(?=\.css)/,r=t.match(n)[0];St.theme!==r&&(t=t.replace(n,St.theme),Mt.theme.setAttribute("href",t))}N()}function i(){zt=!0,window.addEventListener("hashchange",pt,!1),window.addEventListener("resize",mt,!1),St.touch&&(Mt.wrapper.addEventListener("touchstart",et,!1),Mt.wrapper.addEventListener("touchmove",tt,!1),Mt.wrapper.addEventListener("touchend",nt,!1),window.navigator.msPointerEnabled&&(Mt.wrapper.addEventListener("MSPointerDown",rt,!1),Mt.wrapper.addEventListener("MSPointerMove",ot,!1),Mt.wrapper.addEventListener("MSPointerUp",at,!1))),St.keyboard&&document.addEventListener("keydown",J,!1),St.progress&&Mt.progress&&Mt.progress.addEventListener("click",it,!1),St.controls&&Mt.controls&&["touchstart","click"].forEach(function(e){Mt.controlsLeft.forEach(function(t){t.addEventListener(e,ct,!1)}),Mt.controlsRight.forEach(function(t){t.addEventListener(e,lt,!1)}),Mt.controlsUp.forEach(function(t){t.addEventListener(e,dt,!1)}),Mt.controlsDown.forEach(function(t){t.addEventListener(e,ut,!1)}),Mt.controlsPrev.forEach(function(t){t.addEventListener(e,ft,!1)}),Mt.controlsNext.forEach(function(t){t.addEventListener(e,vt,!1)})})}function c(){zt=!1,document.removeEventListener("keydown",J,!1),window.removeEventListener("hashchange",pt,!1),window.removeEventListener("resize",mt,!1),Mt.wrapper.removeEventListener("touchstart",et,!1),Mt.wrapper.removeEventListener("touchmove",tt,!1),Mt.wrapper.removeEventListener("touchend",nt,!1),window.navigator.msPointerEnabled&&(Mt.wrapper.removeEventListener("MSPointerDown",rt,!1),Mt.wrapper.removeEventListener("MSPointerMove",ot,!1),Mt.wrapper.removeEventListener("MSPointerUp",at,!1)),St.progress&&Mt.progress&&Mt.progress.removeEventListener("click",it,!1),St.controls&&Mt.controls&&["touchstart","click"].forEach(function(e){Mt.controlsLeft.forEach(function(t){t.removeEventListener(e,ct,!1)}),Mt.controlsRight.forEach(function(t){t.removeEventListener(e,lt,!1)}),Mt.controlsUp.forEach(function(t){t.removeEventListener(e,dt,!1)}),Mt.controlsDown.forEach(function(t){t.removeEventListener(e,ut,!1)}),Mt.controlsPrev.forEach(function(t){t.removeEventListener(e,ft,!1)}),Mt.controlsNext.forEach(function(t){t.removeEventListener(e,vt,!1)})})}function l(e,t){for(var n in t)e[n]=t[n]}function d(e){return Array.prototype.slice.call(e)}function u(e,t){var n=e.x-t.x,r=e.y-t.y;return Math.sqrt(n*n+r*r)}function f(){0===window.orientation?(document.documentElement.style.overflow="scroll",document.body.style.height="120%"):(document.documentElement.style.overflow="",document.body.style.height="100%"),setTimeout(function(){window.scrollTo(0,1)},10)}function v(e,t){var n=document.createEvent("HTMLEvents",1,2);n.initEvent(e,!0,!0),l(n,t),Mt.wrapper.dispatchEvent(n)}function p(){if(Pt&&!("msPerspective"in document.body.style))for(var e=document.querySelectorAll(bt+" a:not(.image)"),t=0,n=e.length;n>t;t++){var r=e[t];if(!(!r.textContent||r.querySelector("*")||r.className&&r.classList.contains(r,"roll"))){var o=document.createElement("span");o.setAttribute("data-title",r.text),o.innerHTML=r.innerHTML,r.classList.add("roll"),r.innerHTML="",r.appendChild(o)}}}function m(){for(var e=document.querySelectorAll(bt+" a.roll"),t=0,n=e.length;n>t;t++){var r=e[t],o=r.querySelector("span");o&&(r.classList.remove("roll"),r.innerHTML=o.innerHTML)}}function h(e){var t=d(e);return t.forEach(function(e,t){e.hasAttribute("data-fragment-index")||e.setAttribute("data-fragment-index",t)}),t.sort(function(e,t){return e.getAttribute("data-fragment-index")-t.getAttribute("data-fragment-index")}),t}function g(){if(Mt.wrapper){var e=Mt.wrapper.offsetWidth,t=Mt.wrapper.offsetHeight;e-=t*St.margin,t-=t*St.margin;var n=St.width,r=St.height;if("string"==typeof n&&/%$/.test(n)&&(n=parseInt(n,10)/100*e),"string"==typeof r&&/%$/.test(r)&&(r=parseInt(r,10)/100*t),Mt.slides.style.width=n+"px",Mt.slides.style.height=r+"px",Tt=Math.min(e/n,t/r),Tt=Math.max(Tt,St.minScale),Tt=Math.min(Tt,St.maxScale),void 0===Mt.slides.style.zoom||navigator.userAgent.match(/(iphone|ipod|ipad|android)/gi)){var o="translate(-50%, -50%) scale("+Tt+") translate(50%, 50%)";Mt.slides.style.WebkitTransform=o,Mt.slides.style.MozTransform=o,Mt.slides.style.msTransform=o,Mt.slides.style.OTransform=o,Mt.slides.style.transform=o}else Mt.slides.style.zoom=Tt;for(var a=d(document.querySelectorAll(bt)),s=0,i=a.length;i>s;s++){var c=a[s];"none"!==c.style.display&&(c.style.top=St.center?c.classList.contains("stack")?0:Math.max(-(c.offsetHeight/2)-20,-r/2)+"px":"")}C()}}function y(e,t){"object"==typeof e&&"function"==typeof e.setAttribute&&e.setAttribute("data-previous-indexv",t||0)}function b(e){if("object"==typeof e&&"function"==typeof e.setAttribute&&e.classList.contains("stack")){var t=e.hasAttribute("data-start-indexv")?"data-start-indexv":"data-previous-indexv";return parseInt(e.getAttribute(t)||0,10)}return 0}function L(){if(St.overview){K();var e=Mt.wrapper.classList.contains("overview");Mt.wrapper.classList.add("overview"),Mt.wrapper.classList.remove("exit-overview"),clearTimeout(Ot),clearTimeout(Yt),Ot=setTimeout(function(){for(var t=document.querySelectorAll(Lt),n=0,r=t.length;r>n;n++){var o=t[n],a=St.rtl?-105:105,s="translateZ(-2500px) translate("+(n-At)*a+"%, 0%)";if(o.setAttribute("data-index-h",n),o.style.display="block",o.style.WebkitTransform=s,o.style.MozTransform=s,o.style.msTransform=s,o.style.OTransform=s,o.style.transform=s,o.classList.contains("stack"))for(var i=o.querySelectorAll("section"),c=0,l=i.length;l>c;c++){var d=n===At?qt:b(o),u=i[c],f="translate(0%, "+105*(c-d)+"%)";u.setAttribute("data-index-h",n),u.setAttribute("data-index-v",c),u.style.display="block",u.style.WebkitTransform=f,u.style.MozTransform=f,u.style.msTransform=f,u.style.OTransform=f,u.style.transform=f,u.addEventListener("click",ht,!0)}else o.addEventListener("click",ht,!0)}g(),e||v("overviewshown",{indexh:At,indexv:qt,currentSlide:yt})},10)}}function w(){if(St.overview){clearTimeout(Ot),clearTimeout(Yt),Mt.wrapper.classList.remove("overview"),Mt.wrapper.classList.add("exit-overview"),Yt=setTimeout(function(){Mt.wrapper.classList.remove("exit-overview")},10);for(var e=d(document.querySelectorAll(bt)),t=0,n=e.length;n>t;t++){var r=e[t];r.style.display="",r.style.WebkitTransform="",r.style.MozTransform="",r.style.msTransform="",r.style.OTransform="",r.style.transform="",r.removeEventListener("click",ht,!0)}P(At,qt),_(),v("overviewhidden",{indexh:At,indexv:qt,currentSlide:yt})}}function E(e){"boolean"==typeof e?e?L():w():S()?w():L()}function S(){return Mt.wrapper.classList.contains("overview")}function k(e){return e=e?e:yt,e&&!!e.parentNode.nodeName.match(/section/i)}function A(){var e=document.body,t=e.requestFullScreen||e.webkitRequestFullscreen||e.webkitRequestFullScreen||e.mozRequestFullScreen||e.msRequestFullScreen;t&&t.apply(e)}function q(){var e=Mt.wrapper.classList.contains("paused");K(),Mt.wrapper.classList.add("paused"),e===!1&&v("paused")}function x(){var e=Mt.wrapper.classList.contains("paused");Mt.wrapper.classList.remove("paused"),_(),e&&v("resumed")}function T(){M()?x():q()}function M(){return Mt.wrapper.classList.contains("paused")}function P(e,t,n,r){gt=yt;var o=document.querySelectorAll(Lt);void 0===t&&(t=b(o[e])),gt&>.parentNode&>.parentNode.classList.contains("stack")&&y(gt.parentNode,qt);var a=xt.concat();xt.length=0;var s=At,i=qt;At=D(Lt,void 0===e?At:e),qt=D(wt,void 0===t?qt:t),g();e:for(var c=0,l=xt.length;l>c;c++){for(var u=0;a.length>u;u++)if(a[u]===xt[c]){a.splice(u,1);continue e}document.documentElement.classList.add(xt[c]),v(xt[c])}for(;a.length;)document.documentElement.classList.remove(a.pop());S()&&L(),W(1500);var f=o[At],p=f.querySelectorAll("section");if(yt=p[qt]||f,n!==void 0){var m=h(yt.querySelectorAll(".fragment"));d(m).forEach(function(e,t){n>t?e.classList.add("visible"):e.classList.remove("visible")})}At!==s||qt!==i?v("slidechanged",{indexh:At,indexv:qt,previousSlide:gt,currentSlide:yt,origin:r}):gt=null,gt&&(gt.classList.remove("present"),document.querySelector(Et).classList.contains("present")&&setTimeout(function(){var e,t=d(document.querySelectorAll(Lt+".stack"));for(e in t)t[e]&&y(t[e],0)},0)),H(gt),X(yt),R(),C(),O()}function N(){c(),i(),g(),kt=St.autoSlide,_(),n(),R(),C(),O()}function D(e,t){var n=d(document.querySelectorAll(e)),r=n.length;if(r){St.loop&&(t%=r,0>t&&(t=r+t)),t=Math.max(Math.min(t,r-1),0);for(var o=0;r>o;o++){var a=n[o];if(S()===!1){var s=Math.abs((t-o)%(r-3))||0;a.style.display=s>3?"none":"block"}var i=St.rtl&&!k(a);a.classList.remove("past"),a.classList.remove("present"),a.classList.remove("future"),t>o?a.classList.add(i?"future":"past"):o>t&&a.classList.add(i?"past":"future"),a.querySelector("section")&&a.classList.add("stack")}n[t].classList.add("present");var c=n[t].getAttribute("data-state");c&&(xt=xt.concat(c.split(" ")));var l=n[t].getAttribute("data-autoslide");kt=l?parseInt(l,10):St.autoSlide}else t=0;return t}function C(){if(St.progress&&Mt.progress){var e=d(document.querySelectorAll(Lt)),t=document.querySelectorAll(bt+":not(.stack)").length,n=0;e:for(var r=0;e.length>r;r++){for(var o=e[r],a=d(o.querySelectorAll("section")),s=0;a.length>s;s++){if(a[s].classList.contains("present"))break e;n++}if(o.classList.contains("present"))break;o.classList.contains("stack")===!1&&n++}Mt.progressbar.style.width=n/(t-1)*window.innerWidth+"px"}}function R(){if(St.controls&&Mt.controls){var e=Y(),t=z();Mt.controlsLeft.concat(Mt.controlsRight).concat(Mt.controlsUp).concat(Mt.controlsDown).concat(Mt.controlsPrev).concat(Mt.controlsNext).forEach(function(e){e.classList.remove("enabled"),e.classList.remove("fragmented")}),e.left&&Mt.controlsLeft.forEach(function(e){e.classList.add("enabled")}),e.right&&Mt.controlsRight.forEach(function(e){e.classList.add("enabled")}),e.up&&Mt.controlsUp.forEach(function(e){e.classList.add("enabled")}),e.down&&Mt.controlsDown.forEach(function(e){e.classList.add("enabled")}),(e.left||e.up)&&Mt.controlsPrev.forEach(function(e){e.classList.add("enabled")}),(e.right||e.down)&&Mt.controlsNext.forEach(function(e){e.classList.add("enabled")}),yt&&(t.prev&&Mt.controlsPrev.forEach(function(e){e.classList.add("fragmented","enabled")}),t.next&&Mt.controlsNext.forEach(function(e){e.classList.add("fragmented","enabled")}),k(yt)?(t.prev&&Mt.controlsUp.forEach(function(e){e.classList.add("fragmented","enabled")}),t.next&&Mt.controlsDown.forEach(function(e){e.classList.add("fragmented","enabled")})):(t.prev&&Mt.controlsLeft.forEach(function(e){e.classList.add("fragmented","enabled")}),t.next&&Mt.controlsRight.forEach(function(e){e.classList.add("fragmented","enabled")})))}}function O(){d(Mt.background.childNodes).forEach(function(e,t){e.className=At>t?"past":t>At?"future":"present",d(e.childNodes).forEach(function(e,t){e.className=qt>t?"past":t>qt?"future":"present"})}),setTimeout(function(){Mt.background.classList.remove("no-transition")},1)}function Y(){var e=document.querySelectorAll(Lt),t=document.querySelectorAll(wt),n={left:At>0||St.loop,right:e.length-1>At||St.loop,up:qt>0,down:t.length-1>qt};if(St.rtl){var r=n.left;n.left=n.right,n.right=r}return n}function z(){if(yt&&St.fragments){var e=yt.querySelectorAll(".fragment"),t=yt.querySelectorAll(".fragment:not(.visible)");return{prev:e.length-t.length>0,next:!!t.length}}return{prev:!1,next:!1}}function X(e){e&&(d(e.querySelectorAll("video, audio")).forEach(function(e){e.hasAttribute("data-autoplay")&&e.play()}),d(e.querySelectorAll('iframe[src*="youtube.com/embed/"]')).forEach(function(e){e.hasAttribute("data-autoplay")&&e.contentWindow.postMessage('{"event":"command","func":"playVideo","args":""}',"*")}))}function H(e){e&&(d(e.querySelectorAll("video, audio")).forEach(function(e){e.hasAttribute("data-ignore")||e.pause()}),d(e.querySelectorAll('iframe[src*="youtube.com/embed/"]')).forEach(function(e){e.hasAttribute("data-ignore")||"function"!=typeof e.contentWindow.postMessage||e.contentWindow.postMessage('{"event":"command","func":"pauseVideo","args":""}',"*")}))}function I(){var e=window.location.hash,t=e.slice(2).split("/"),n=e.replace(/#|\//gi,"");if(isNaN(parseInt(t[0],10))&&n.length){var r=document.querySelector("#"+n);if(r){var o=Reveal.getIndices(r);P(o.h,o.v)}else P(At,qt)}else{var a=parseInt(t[0],10)||0,s=parseInt(t[1],10)||0;P(a,s)}}function W(e){if(St.history)if(clearTimeout(Rt),"number"==typeof e)Rt=setTimeout(W,e);else{var t="/";yt&&"string"==typeof yt.getAttribute("id")?t="/"+yt.getAttribute("id"):((At>0||qt>0)&&(t+=At),qt>0&&(t+="/"+qt)),window.location.hash=t}}function U(e){var t,n=At,r=qt;if(e){var o=k(e),a=o?e.parentNode:e,s=d(document.querySelectorAll(Lt));n=Math.max(s.indexOf(a),0),o&&(r=Math.max(d(e.parentNode.querySelectorAll("section")).indexOf(e),0))}if(!e&&yt){var i=yt.querySelectorAll(".fragment.visible");i.length&&(t=i.length)}return{h:n,v:r,f:t}}function F(){if(yt&&St.fragments){var e=h(yt.querySelectorAll(".fragment:not(.visible)"));if(e.length){var t=e[0].getAttribute("data-fragment-index");return e=yt.querySelectorAll('.fragment[data-fragment-index="'+t+'"]'),d(e).forEach(function(e){e.classList.add("visible"),v("fragmentshown",{fragment:e})}),R(),!0}}return!1}function j(){if(yt&&St.fragments){var e=h(yt.querySelectorAll(".fragment.visible"));if(e.length){var t=e[e.length-1].getAttribute("data-fragment-index");return e=yt.querySelectorAll('.fragment[data-fragment-index="'+t+'"]'),d(e).forEach(function(e){e.classList.remove("visible"),v("fragmenthidden",{fragment:e})}),R(),!0}}return!1}function _(){clearTimeout(Ct),!kt||M()||S()||(Ct=setTimeout(G,kt))}function K(){clearTimeout(Ct)}function $(){St.rtl?(S()||F()===!1)&&Y().left&&P(At+1):(S()||j()===!1)&&Y().left&&P(At-1)}function V(){St.rtl?(S()||j()===!1)&&Y().right&&P(At-1):(S()||F()===!1)&&Y().right&&P(At+1)}function Z(){(S()||j()===!1)&&Y().up&&P(At,qt-1)}function Q(){(S()||F()===!1)&&Y().down&&P(At,qt+1)}function B(){if(j()===!1)if(Y().up)Z();else{var e=document.querySelector(Lt+".past:nth-child("+At+")");e&&(qt=e.querySelectorAll("section").length+1||void 0,At--,P(At,qt))}}function G(){F()===!1&&(Y().down?Q():V()),_()}function J(e){document.activeElement;var t=!(!document.activeElement||!document.activeElement.type&&!document.activeElement.href&&"inherit"===document.activeElement.contentEditable);if(!(t||e.shiftKey&&32!==e.keyCode||e.altKey||e.ctrlKey||e.metaKey)){var n=!0;if(M()&&-1===[66,190,191].indexOf(e.keyCode))return!1;switch(e.keyCode){case 80:case 33:B();break;case 78:case 34:G();break;case 72:case 37:$();break;case 76:case 39:V();break;case 75:case 38:Z();break;case 74:case 40:Q();break;case 36:P(0);break;case 35:P(Number.MAX_VALUE);break;case 32:S()?w():e.shiftKey?B():G();break;case 13:S()?w():n=!1;break;case 66:case 190:case 191:T();break;case 70:A();break;default:n=!1}n?e.preventDefault():27===e.keyCode&&Pt&&(E(),e.preventDefault()),_()}}function et(e){Xt.startX=e.touches[0].clientX,Xt.startY=e.touches[0].clientY,Xt.startCount=e.touches.length,2===e.touches.length&&St.overview&&(Xt.startSpan=u({x:e.touches[1].clientX,y:e.touches[1].clientY},{x:Xt.startX,y:Xt.startY}))}function tt(e){if(Xt.handled)navigator.userAgent.match(/android/gi)&&e.preventDefault();else{var t=e.touches[0].clientX,n=e.touches[0].clientY;if(2===e.touches.length&&2===Xt.startCount&&St.overview){var r=u({x:e.touches[1].clientX,y:e.touches[1].clientY},{x:Xt.startX,y:Xt.startY});Math.abs(Xt.startSpan-r)>Xt.threshold&&(Xt.handled=!0,Xt.startSpan>r?L():w()),e.preventDefault()}else if(1===e.touches.length&&2!==Xt.startCount){var o=t-Xt.startX,a=n-Xt.startY;o>Xt.threshold&&Math.abs(o)>Math.abs(a)?(Xt.handled=!0,$()):-Xt.threshold>o&&Math.abs(o)>Math.abs(a)?(Xt.handled=!0,V()):a>Xt.threshold?(Xt.handled=!0,Z()):-Xt.threshold>a&&(Xt.handled=!0,Q()),e.preventDefault()}}}function nt(){Xt.handled=!1}function rt(e){e.pointerType===e.MSPOINTER_TYPE_TOUCH&&(e.touches=[{clientX:e.clientX,clientY:e.clientY}],et(e))}function ot(e){e.pointerType===e.MSPOINTER_TYPE_TOUCH&&(e.touches=[{clientX:e.clientX,clientY:e.clientY}],tt(e))}function at(e){e.pointerType===e.MSPOINTER_TYPE_TOUCH&&(e.touches=[{clientX:e.clientX,clientY:e.clientY}],nt(e))}function st(e){clearTimeout(Dt),Dt=setTimeout(function(){var t=e.detail||-e.wheelDelta;t>0?G():B()},100)}function it(e){e.preventDefault();var t=d(document.querySelectorAll(Lt)).length,n=Math.floor(e.clientX/Mt.wrapper.offsetWidth*t);P(n)}function ct(e){e.preventDefault(),$()}function lt(e){e.preventDefault(),V()}function dt(e){e.preventDefault(),Z()}function ut(e){e.preventDefault(),Q()}function ft(e){e.preventDefault(),B()}function vt(e){e.preventDefault(),G()}function pt(){I()}function mt(){g()}function ht(e){if(zt&&S()){e.preventDefault();for(var t=e.target;t&&!t.nodeName.match(/section/gi);)t=t.parentNode;if(t&&!t.classList.contains("disabled")&&(w(),t.nodeName.match(/section/gi))){var n=parseInt(t.getAttribute("data-index-h"),10),r=parseInt(t.getAttribute("data-index-v"),10);P(n,r)}}}var gt,yt,bt=".reveal .slides section",Lt=".reveal .slides>section",wt=".reveal .slides>section.present>section",Et=".reveal .slides>section:first-child",St={width:960,height:700,margin:.1,minScale:.2,maxScale:1,controls:!0,progress:!0,history:!1,keyboard:!0,overview:!0,center:!0,touch:!0,loop:!1,rtl:!1,fragments:!0,autoSlide:0,mouseWheel:!1,rollingLinks:!0,theme:null,transition:"default",transitionSpeed:"default",dependencies:[]},kt=0,At=0,qt=0,xt=[],Tt=1,Mt={},Pt="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,Nt="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,Dt=0,Ct=0,Rt=0,Ot=0,Yt=0,zt=!1,Xt={startX:0,startY:0,startSpan:0,startCount:0,handled:!1,threshold:80};return{initialize:e,configure:s,sync:N,slide:P,left:$,right:V,up:Z,down:Q,prev:B,next:G,prevFragment:j,nextFragment:F,navigateTo:P,navigateLeft:$,navigateRight:V,navigateUp:Z,navigateDown:Q,navigatePrev:B,navigateNext:G,layout:g,availableRoutes:Y,availableFragments:z,toggleOverview:E,togglePause:T,isOverview:S,isPaused:M,addEventListeners:i,removeEventListeners:c,getIndices:U,getSlide:function(e,t){var n=document.querySelectorAll(Lt)[e],r=n&&n.querySelectorAll("section");return t!==void 0?r?r[t]:void 0:n},getPreviousSlide:function(){return gt},getCurrentSlide:function(){return yt},getScale:function(){return Tt},getConfig:function(){return St},getQueryHash:function(){var e={};return location.search.replace(/[A-Z0-9]+?=(\w*)/gi,function(t){e[t.split("=").shift()]=t.split("=").pop()}),e},isFirstSlide:function(){return null==document.querySelector(bt+".past")?!0:!1},isLastSlide:function(){return yt&&yt.classList.contains(".stack")?null==yt.querySelector(bt+".future")?!0:!1:null==document.querySelector(bt+".future")?!0:!1},addEventListener:function(e,t,n){"addEventListener"in window&&(Mt.wrapper||document.querySelector(".reveal")).addEventListener(e,t,n)},removeEventListener:function(e,t,n){"addEventListener"in window&&(Mt.wrapper||document.querySelector(".reveal")).removeEventListener(e,t,n)}}}(); \ No newline at end of file diff --git a/test/background.html b/test/background.html index 9827eef..409d2cc 100644 --- a/test/background.html +++ b/test/background.html @@ -54,8 +54,9 @@

Background image

-
+

Background image

+ data-background-size="100px" data-background-repeat="repeat"
From 15f24f7a9a4b9629b3d6054bd0ef199eaee8c4c6 Mon Sep 17 00:00:00 2001 From: Hakim El Hattab Date: Tue, 4 Jun 2013 20:15:19 +0200 Subject: [PATCH 08/23] linear sliding transition option for full page backgrounds (#453) --- css/reveal.css | 69 ++++++++++++++++++++++++++++++++++---------- css/reveal.min.css | 2 +- js/reveal.js | 4 +++ js/reveal.min.js | 4 +-- test/background.html | 12 +++++--- 5 files changed, 69 insertions(+), 22 deletions(-) diff --git a/css/reveal.css b/css/reveal.css index 69a337d..8a51750 100644 --- a/css/reveal.css +++ b/css/reveal.css @@ -1321,30 +1321,69 @@ body { background-repeat: no-repeat; background-size: cover; - -webkit-transition: all 800ms ease; - -moz-transition: all 800ms ease; - -ms-transition: all 800ms ease; - -o-transition: all 800ms ease; - transition: all 800ms ease; + -webkit-transition: all 650ms ease; + -moz-transition: all 650ms ease; + -ms-transition: all 650ms ease; + -o-transition: all 650ms ease; + transition: all 650ms ease; } .reveal>.background div.present { opacity: 1; visibility: visible; } +/* Linear sliding transition style */ +.reveal[data-background-transition=linear]>.background div { + opacity: 1; + + -webkit-backface-visibility: hidden; + -moz-backface-visibility: hidden; + -ms-backface-visibility: hidden; + backface-visibility: hidden; +} + .reveal[data-background-transition=linear]>.background div.past { + -webkit-transform: translate(-100%, 0); + -moz-transform: translate(-100%, 0); + -ms-transform: translate(-100%, 0); + -o-transform: translate(-100%, 0); + transform: translate(-100%, 0); + } + .reveal[data-background-transition=linear]>.background div.future { + -webkit-transform: translate(100%, 0); + -moz-transform: translate(100%, 0); + -ms-transform: translate(100%, 0); + -o-transform: translate(100%, 0); + transform: translate(100%, 0); + } + + .reveal[data-background-transition=linear]>.background div>div.past { + -webkit-transform: translate(0, -100%); + -moz-transform: translate(0, -100%); + -ms-transform: translate(0, -100%); + -o-transform: translate(0, -100%); + transform: translate(0, -100%); + } + .reveal[data-background-transition=linear]>.background div>div.future { + -webkit-transform: translate(0, 100%); + -moz-transform: translate(0, 100%); + -ms-transform: translate(0, 100%); + -o-transform: translate(0, 100%); + transform: translate(0, 100%); + } + /* Global transition speed settings */ -.reveal[data-transition-speed="fast"] .background div { - -webkit-transition-duration: 400ms; - -moz-transition-duration: 400ms; - -ms-transition-duration: 400ms; - transition-duration: 400ms; +.reveal[data-transition-speed="fast"]>.background div { + -webkit-transition-duration: 300ms; + -moz-transition-duration: 300ms; + -ms-transition-duration: 300ms; + transition-duration: 300ms; } -.reveal[data-transition-speed="slow"] .background div { - -webkit-transition-duration: 1200ms; - -moz-transition-duration: 1200ms; - -ms-transition-duration: 1200ms; - transition-duration: 1200ms; +.reveal[data-transition-speed="slow"]>.background div { + -webkit-transition-duration: 900ms; + -moz-transition-duration: 900ms; + -ms-transition-duration: 900ms; + transition-duration: 900ms; } diff --git a/css/reveal.min.css b/css/reveal.min.css index 973e54c..0372f79 100644 --- a/css/reveal.min.css +++ b/css/reveal.min.css @@ -4,4 +4,4 @@ * MIT licensed * * Copyright (C) 2013 Hakim El Hattab, http://hakim.se - */ html,body,.reveal div,.reveal span,.reveal applet,.reveal object,.reveal iframe,.reveal h1,.reveal h2,.reveal h3,.reveal h4,.reveal h5,.reveal h6,.reveal p,.reveal blockquote,.reveal pre,.reveal a,.reveal abbr,.reveal acronym,.reveal address,.reveal big,.reveal cite,.reveal code,.reveal del,.reveal dfn,.reveal em,.reveal img,.reveal ins,.reveal kbd,.reveal q,.reveal s,.reveal samp,.reveal small,.reveal strike,.reveal strong,.reveal sub,.reveal sup,.reveal tt,.reveal var,.reveal b,.reveal u,.reveal i,.reveal center,.reveal dl,.reveal dt,.reveal dd,.reveal ol,.reveal ul,.reveal li,.reveal fieldset,.reveal form,.reveal label,.reveal legend,.reveal table,.reveal caption,.reveal tbody,.reveal tfoot,.reveal thead,.reveal tr,.reveal th,.reveal td,.reveal article,.reveal aside,.reveal canvas,.reveal details,.reveal embed,.reveal figure,.reveal figcaption,.reveal footer,.reveal header,.reveal hgroup,.reveal menu,.reveal nav,.reveal output,.reveal ruby,.reveal section,.reveal summary,.reveal time,.reveal mark,.reveal audio,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}.reveal article,.reveal aside,.reveal details,.reveal figcaption,.reveal figure,.reveal footer,.reveal header,.reveal hgroup,.reveal menu,.reveal nav,.reveal section{display:block}html,body{width:100%;height:100%;overflow:hidden}body{position:relative;line-height:1}::selection{background:#FF5E99;color:#fff;text-shadow:none}.reveal h1,.reveal h2,.reveal h3,.reveal h4,.reveal h5,.reveal h6{-webkit-hyphens:auto;-moz-hyphens:auto;hyphens:auto;word-wrap:break-word}.reveal h1{font-size:3.77em}.reveal h2{font-size:2.11em}.reveal h3{font-size:1.55em}.reveal h4{font-size:1em}.reveal .slides section .fragment{opacity:0;-webkit-transition:all .2s ease;-moz-transition:all .2s ease;-ms-transition:all .2s ease;-o-transition:all .2s ease;transition:all .2s ease}.reveal .slides section .fragment.visible{opacity:1}.reveal .slides section .fragment.grow{opacity:1}.reveal .slides section .fragment.grow.visible{-webkit-transform:scale(1.3);-moz-transform:scale(1.3);-ms-transform:scale(1.3);-o-transform:scale(1.3);transform:scale(1.3)}.reveal .slides section .fragment.shrink{opacity:1}.reveal .slides section .fragment.shrink.visible{-webkit-transform:scale(0.7);-moz-transform:scale(0.7);-ms-transform:scale(0.7);-o-transform:scale(0.7);transform:scale(0.7)}.reveal .slides section .fragment.zoom-in{opacity:0;-webkit-transform:scale(0.1);-moz-transform:scale(0.1);-ms-transform:scale(0.1);-o-transform:scale(0.1);transform:scale(0.1)}.reveal .slides section .fragment.zoom-in.visible{opacity:1;-webkit-transform:scale(1);-moz-transform:scale(1);-ms-transform:scale(1);-o-transform:scale(1);transform:scale(1)}.reveal .slides section .fragment.roll-in{opacity:0;-webkit-transform:rotateX(90deg);-moz-transform:rotateX(90deg);-ms-transform:rotateX(90deg);-o-transform:rotateX(90deg);transform:rotateX(90deg)}.reveal .slides section .fragment.roll-in.visible{opacity:1;-webkit-transform:rotateX(0);-moz-transform:rotateX(0);-ms-transform:rotateX(0);-o-transform:rotateX(0);transform:rotateX(0)}.reveal .slides section .fragment.fade-out{opacity:1}.reveal .slides section .fragment.fade-out.visible{opacity:0}.reveal .slides section .fragment.highlight-red,.reveal .slides section .fragment.highlight-green,.reveal .slides section .fragment.highlight-blue{opacity:1}.reveal .slides section .fragment.highlight-red.visible{color:#ff2c2d}.reveal .slides section .fragment.highlight-green.visible{color:#17ff2e}.reveal .slides section .fragment.highlight-blue.visible{color:#1b91ff}.reveal:after{content:'';font-style:italic}.reveal img,.reveal video,.reveal iframe{max-width:95%;max-height:95%}.reveal a{position:relative}.reveal strong,.reveal b{font-weight:700}.reveal em,.reveal i{font-style:italic}.reveal ol,.reveal ul{display:inline-block;text-align:left;margin:0 0 0 1em}.reveal ol{list-style-type:decimal}.reveal ul{list-style-type:disc}.reveal ul ul{list-style-type:square}.reveal ul ul ul{list-style-type:circle}.reveal ul ul,.reveal ul ol,.reveal ol ol,.reveal ol ul{display:block;margin-left:40px}.reveal p{margin-bottom:10px;line-height:1.2em}.reveal q,.reveal blockquote{quotes:none}.reveal blockquote{display:block;position:relative;width:70%;margin:5px auto;padding:5px;font-style:italic;background:rgba(255,255,255,.05);box-shadow:0 0 2px rgba(0,0,0,.2)}.reveal blockquote p:first-child,.reveal blockquote p:last-child{display:inline-block}.reveal q{font-style:italic}.reveal pre{display:block;position:relative;width:90%;margin:15px auto;text-align:left;font-size:.55em;font-family:monospace;line-height:1.2em;word-wrap:break-word;box-shadow:0 0 6px rgba(0,0,0,.3)}.reveal code{font-family:monospace}.reveal pre code{padding:5px;overflow:auto;max-height:400px;word-wrap:normal}.reveal table th,.reveal table td{text-align:left;padding-right:.3em}.reveal table th{text-shadow:#fff 1px 1px 2px}.reveal sup{vertical-align:super}.reveal sub{vertical-align:sub}.reveal small{display:inline-block;font-size:.6em;line-height:1.2em;vertical-align:top}.reveal small *{vertical-align:top}.reveal .controls{display:none;position:fixed;width:110px;height:110px;z-index:30;right:10px;bottom:10px}.reveal .controls div{position:absolute;opacity:.05;width:0;height:0;border:12px solid transparent;-moz-transform:scale(.9999);-webkit-transition:all .2s ease;-moz-transition:all .2s ease;-ms-transition:all .2s ease;-o-transition:all .2s ease;transition:all .2s ease}.reveal .controls div.enabled{opacity:.7;cursor:pointer}.reveal .controls div.enabled:active{margin-top:1px}.reveal .controls div.navigate-left{top:42px;border-right-width:22px;border-right-color:#eee}.reveal .controls div.navigate-left.fragmented{opacity:.3}.reveal .controls div.navigate-right{left:74px;top:42px;border-left-width:22px;border-left-color:#eee}.reveal .controls div.navigate-right.fragmented{opacity:.3}.reveal .controls div.navigate-up{left:42px;border-bottom-width:22px;border-bottom-color:#eee}.reveal .controls div.navigate-up.fragmented{opacity:.3}.reveal .controls div.navigate-down{left:42px;top:74px;border-top-width:22px;border-top-color:#eee}.reveal .controls div.navigate-down.fragmented{opacity:.3}.reveal .progress{position:fixed;display:none;height:3px;width:100%;bottom:0;left:0;z-index:10}.reveal .progress:after{content:'';display:'block';position:absolute;height:20px;width:100%;top:-20px}.reveal .progress span{display:block;height:100%;width:0;-webkit-transition:width 800ms cubic-bezier(0.26,.86,.44,.985);-moz-transition:width 800ms cubic-bezier(0.26,.86,.44,.985);-ms-transition:width 800ms cubic-bezier(0.26,.86,.44,.985);-o-transition:width 800ms cubic-bezier(0.26,.86,.44,.985);transition:width 800ms cubic-bezier(0.26,.86,.44,.985)}.reveal .roll{display:inline-block;line-height:1.2;overflow:hidden;vertical-align:top;-webkit-perspective:400px;-moz-perspective:400px;-ms-perspective:400px;perspective:400px;-webkit-perspective-origin:50% 50%;-moz-perspective-origin:50% 50%;-ms-perspective-origin:50% 50%;perspective-origin:50% 50%}.reveal .roll:hover{background:0;text-shadow:none}.reveal .roll span{display:block;position:relative;padding:0 2px;pointer-events:none;-webkit-transition:all 400ms ease;-moz-transition:all 400ms ease;-ms-transition:all 400ms ease;transition:all 400ms ease;-webkit-transform-origin:50% 0;-moz-transform-origin:50% 0;-ms-transform-origin:50% 0;transform-origin:50% 0;-webkit-transform-style:preserve-3d;-moz-transform-style:preserve-3d;-ms-transform-style:preserve-3d;transform-style:preserve-3d;-webkit-backface-visibility:hidden;-moz-backface-visibility:hidden;backface-visibility:hidden}.reveal .roll:hover span{background:rgba(0,0,0,.5);-webkit-transform:translate3d(0px,0,-45px) rotateX(90deg);-moz-transform:translate3d(0px,0,-45px) rotateX(90deg);-ms-transform:translate3d(0px,0,-45px) rotateX(90deg);transform:translate3d(0px,0,-45px) rotateX(90deg)}.reveal .roll span:after{content:attr(data-title);display:block;position:absolute;left:0;top:0;padding:0 2px;-webkit-backface-visibility:hidden;-moz-backface-visibility:hidden;backface-visibility:hidden;-webkit-transform-origin:50% 0;-moz-transform-origin:50% 0;-ms-transform-origin:50% 0;transform-origin:50% 0;-webkit-transform:translate3d(0px,110%,0) rotateX(-90deg);-moz-transform:translate3d(0px,110%,0) rotateX(-90deg);-ms-transform:translate3d(0px,110%,0) rotateX(-90deg);transform:translate3d(0px,110%,0) rotateX(-90deg)}.reveal{position:relative;width:100%;height:100%;-ms-touch-action:none}.reveal .slides{position:absolute;width:100%;height:100%;left:50%;top:50%;overflow:visible;z-index:1;text-align:center;-webkit-transition:-webkit-perspective .4s ease;-moz-transition:-moz-perspective .4s ease;-ms-transition:-ms-perspective .4s ease;-o-transition:-o-perspective .4s ease;transition:perspective .4s ease;-webkit-perspective:600px;-moz-perspective:600px;-ms-perspective:600px;perspective:600px;-webkit-perspective-origin:0 -100px;-moz-perspective-origin:0 -100px;-ms-perspective-origin:0 -100px;perspective-origin:0 -100px}.reveal .slides>section,.reveal .slides>section>section{display:none;position:absolute;width:100%;padding:20px 0;z-index:10;line-height:1.2em;font-weight:400;-webkit-transform-style:preserve-3d;-moz-transform-style:preserve-3d;-ms-transform-style:preserve-3d;transform-style:preserve-3d;-webkit-transition:-webkit-transform-origin 800ms cubic-bezier(0.26,.86,.44,.985),-webkit-transform 800ms cubic-bezier(0.26,.86,.44,.985),visibility 800ms cubic-bezier(0.26,.86,.44,.985),opacity 800ms cubic-bezier(0.26,.86,.44,.985);-moz-transition:-moz-transform-origin 800ms cubic-bezier(0.26,.86,.44,.985),-moz-transform 800ms cubic-bezier(0.26,.86,.44,.985),visibility 800ms cubic-bezier(0.26,.86,.44,.985),opacity 800ms cubic-bezier(0.26,.86,.44,.985);-ms-transition:-ms-transform-origin 800ms cubic-bezier(0.26,.86,.44,.985),-ms-transform 800ms cubic-bezier(0.26,.86,.44,.985),visibility 800ms cubic-bezier(0.26,.86,.44,.985),opacity 800ms cubic-bezier(0.26,.86,.44,.985);-o-transition:-o-transform-origin 800ms cubic-bezier(0.26,.86,.44,.985),-o-transform 800ms cubic-bezier(0.26,.86,.44,.985),visibility 800ms cubic-bezier(0.26,.86,.44,.985),opacity 800ms cubic-bezier(0.26,.86,.44,.985);transition:transform-origin 800ms cubic-bezier(0.26,.86,.44,.985),transform 800ms cubic-bezier(0.26,.86,.44,.985),visibility 800ms cubic-bezier(0.26,.86,.44,.985),opacity 800ms cubic-bezier(0.26,.86,.44,.985)}.reveal[data-transition-speed=fast] .slides section{-webkit-transition-duration:400ms;-moz-transition-duration:400ms;-ms-transition-duration:400ms;transition-duration:400ms}.reveal[data-transition-speed=slow] .slides section{-webkit-transition-duration:1200ms;-moz-transition-duration:1200ms;-ms-transition-duration:1200ms;transition-duration:1200ms}.reveal .slides section[data-transition-speed=fast]{-webkit-transition-duration:400ms;-moz-transition-duration:400ms;-ms-transition-duration:400ms;transition-duration:400ms}.reveal .slides section[data-transition-speed=slow]{-webkit-transition-duration:1200ms;-moz-transition-duration:1200ms;-ms-transition-duration:1200ms;transition-duration:1200ms}.reveal .slides>section{left:-50%;top:-50%}.reveal .slides>section.stack{padding-top:0;padding-bottom:0}.reveal .slides>section.present,.reveal .slides>section>section.present{display:block;z-index:11;opacity:1}.reveal.center,.reveal.center .slides,.reveal.center .slides section{min-height:auto!important}.reveal .slides>section[data-transition=default].past,.reveal .slides>section.past{display:block;opacity:0;-webkit-transform:translate3d(-100%,0,0) rotateY(-90deg) translate3d(-100%,0,0);-moz-transform:translate3d(-100%,0,0) rotateY(-90deg) translate3d(-100%,0,0);-ms-transform:translate3d(-100%,0,0) rotateY(-90deg) translate3d(-100%,0,0);transform:translate3d(-100%,0,0) rotateY(-90deg) translate3d(-100%,0,0)}.reveal .slides>section[data-transition=default].future,.reveal .slides>section.future{display:block;opacity:0;-webkit-transform:translate3d(100%,0,0) rotateY(90deg) translate3d(100%,0,0);-moz-transform:translate3d(100%,0,0) rotateY(90deg) translate3d(100%,0,0);-ms-transform:translate3d(100%,0,0) rotateY(90deg) translate3d(100%,0,0);transform:translate3d(100%,0,0) rotateY(90deg) translate3d(100%,0,0)}.reveal .slides>section>section[data-transition=default].past,.reveal .slides>section>section.past{display:block;opacity:0;-webkit-transform:translate3d(0,-300px,0) rotateX(70deg) translate3d(0,-300px,0);-moz-transform:translate3d(0,-300px,0) rotateX(70deg) translate3d(0,-300px,0);-ms-transform:translate3d(0,-300px,0) rotateX(70deg) translate3d(0,-300px,0);transform:translate3d(0,-300px,0) rotateX(70deg) translate3d(0,-300px,0)}.reveal .slides>section>section[data-transition=default].future,.reveal .slides>section>section.future{display:block;opacity:0;-webkit-transform:translate3d(0,300px,0) rotateX(-70deg) translate3d(0,300px,0);-moz-transform:translate3d(0,300px,0) rotateX(-70deg) translate3d(0,300px,0);-ms-transform:translate3d(0,300px,0) rotateX(-70deg) translate3d(0,300px,0);transform:translate3d(0,300px,0) rotateX(-70deg) translate3d(0,300px,0)}.reveal .slides>section[data-transition=concave].past,.reveal.concave .slides>section.past{-webkit-transform:translate3d(-100%,0,0) rotateY(90deg) translate3d(-100%,0,0);-moz-transform:translate3d(-100%,0,0) rotateY(90deg) translate3d(-100%,0,0);-ms-transform:translate3d(-100%,0,0) rotateY(90deg) translate3d(-100%,0,0);transform:translate3d(-100%,0,0) rotateY(90deg) translate3d(-100%,0,0)}.reveal .slides>section[data-transition=concave].future,.reveal.concave .slides>section.future{-webkit-transform:translate3d(100%,0,0) rotateY(-90deg) translate3d(100%,0,0);-moz-transform:translate3d(100%,0,0) rotateY(-90deg) translate3d(100%,0,0);-ms-transform:translate3d(100%,0,0) rotateY(-90deg) translate3d(100%,0,0);transform:translate3d(100%,0,0) rotateY(-90deg) translate3d(100%,0,0)}.reveal .slides>section>section[data-transition=concave].past,.reveal.concave .slides>section>section.past{-webkit-transform:translate3d(0,-80%,0) rotateX(-70deg) translate3d(0,-80%,0);-moz-transform:translate3d(0,-80%,0) rotateX(-70deg) translate3d(0,-80%,0);-ms-transform:translate3d(0,-80%,0) rotateX(-70deg) translate3d(0,-80%,0);transform:translate3d(0,-80%,0) rotateX(-70deg) translate3d(0,-80%,0)}.reveal .slides>section>section[data-transition=concave].future,.reveal.concave .slides>section>section.future{-webkit-transform:translate3d(0,80%,0) rotateX(70deg) translate3d(0,80%,0);-moz-transform:translate3d(0,80%,0) rotateX(70deg) translate3d(0,80%,0);-ms-transform:translate3d(0,80%,0) rotateX(70deg) translate3d(0,80%,0);transform:translate3d(0,80%,0) rotateX(70deg) translate3d(0,80%,0)}.reveal .slides>section[data-transition=zoom].past,.reveal.zoom .slides>section.past{opacity:0;visibility:hidden;-webkit-transform:scale(16);-moz-transform:scale(16);-ms-transform:scale(16);-o-transform:scale(16);transform:scale(16)}.reveal .slides>section[data-transition=zoom].future,.reveal.zoom .slides>section.future{opacity:0;visibility:hidden;-webkit-transform:scale(0.2);-moz-transform:scale(0.2);-ms-transform:scale(0.2);-o-transform:scale(0.2);transform:scale(0.2)}.reveal .slides>section>section[data-transition=zoom].past,.reveal.zoom .slides>section>section.past{-webkit-transform:translate(0,-150%);-moz-transform:translate(0,-150%);-ms-transform:translate(0,-150%);-o-transform:translate(0,-150%);transform:translate(0,-150%)}.reveal .slides>section>section[data-transition=zoom].future,.reveal.zoom .slides>section>section.future{-webkit-transform:translate(0,150%);-moz-transform:translate(0,150%);-ms-transform:translate(0,150%);-o-transform:translate(0,150%);transform:translate(0,150%)}.reveal.linear section{-webkit-backface-visibility:hidden;-moz-backface-visibility:hidden;-ms-backface-visibility:hidden;backface-visibility:hidden}.reveal .slides>section[data-transition=linear].past,.reveal.linear .slides>section.past{-webkit-transform:translate(-150%,0);-moz-transform:translate(-150%,0);-ms-transform:translate(-150%,0);-o-transform:translate(-150%,0);transform:translate(-150%,0)}.reveal .slides>section[data-transition=linear].future,.reveal.linear .slides>section.future{-webkit-transform:translate(150%,0);-moz-transform:translate(150%,0);-ms-transform:translate(150%,0);-o-transform:translate(150%,0);transform:translate(150%,0)}.reveal .slides>section>section[data-transition=linear].past,.reveal.linear .slides>section>section.past{-webkit-transform:translate(0,-150%);-moz-transform:translate(0,-150%);-ms-transform:translate(0,-150%);-o-transform:translate(0,-150%);transform:translate(0,-150%)}.reveal .slides>section>section[data-transition=linear].future,.reveal.linear .slides>section>section.future{-webkit-transform:translate(0,150%);-moz-transform:translate(0,150%);-ms-transform:translate(0,150%);-o-transform:translate(0,150%);transform:translate(0,150%)}.reveal.cube .slides{-webkit-perspective:1300px;-moz-perspective:1300px;-ms-perspective:1300px;perspective:1300px}.reveal.cube .slides section{padding:30px;min-height:700px;-webkit-backface-visibility:hidden;-moz-backface-visibility:hidden;-ms-backface-visibility:hidden;backface-visibility:hidden;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.reveal.center.cube .slides section{min-height:auto}.reveal.cube .slides section:not(.stack):before{content:'';position:absolute;display:block;width:100%;height:100%;left:0;top:0;background:rgba(0,0,0,.1);border-radius:4px;-webkit-transform:translateZ(-20px);-moz-transform:translateZ(-20px);-ms-transform:translateZ(-20px);-o-transform:translateZ(-20px);transform:translateZ(-20px)}.reveal.cube .slides section:not(.stack):after{content:'';position:absolute;display:block;width:90%;height:30px;left:5%;bottom:0;background:0;z-index:1;border-radius:4px;box-shadow:0 95px 25px rgba(0,0,0,.2);-webkit-transform:translateZ(-90px) rotateX(65deg);-moz-transform:translateZ(-90px) rotateX(65deg);-ms-transform:translateZ(-90px) rotateX(65deg);-o-transform:translateZ(-90px) rotateX(65deg);transform:translateZ(-90px) rotateX(65deg)}.reveal.cube .slides>section.stack{padding:0;background:0}.reveal.cube .slides>section.past{-webkit-transform-origin:100% 0;-moz-transform-origin:100% 0;-ms-transform-origin:100% 0;transform-origin:100% 0;-webkit-transform:translate3d(-100%,0,0) rotateY(-90deg);-moz-transform:translate3d(-100%,0,0) rotateY(-90deg);-ms-transform:translate3d(-100%,0,0) rotateY(-90deg);transform:translate3d(-100%,0,0) rotateY(-90deg)}.reveal.cube .slides>section.future{-webkit-transform-origin:0 0;-moz-transform-origin:0 0;-ms-transform-origin:0 0;transform-origin:0 0;-webkit-transform:translate3d(100%,0,0) rotateY(90deg);-moz-transform:translate3d(100%,0,0) rotateY(90deg);-ms-transform:translate3d(100%,0,0) rotateY(90deg);transform:translate3d(100%,0,0) rotateY(90deg)}.reveal.cube .slides>section>section.past{-webkit-transform-origin:0 100%;-moz-transform-origin:0 100%;-ms-transform-origin:0 100%;transform-origin:0 100%;-webkit-transform:translate3d(0,-100%,0) rotateX(90deg);-moz-transform:translate3d(0,-100%,0) rotateX(90deg);-ms-transform:translate3d(0,-100%,0) rotateX(90deg);transform:translate3d(0,-100%,0) rotateX(90deg)}.reveal.cube .slides>section>section.future{-webkit-transform-origin:0 0;-moz-transform-origin:0 0;-ms-transform-origin:0 0;transform-origin:0 0;-webkit-transform:translate3d(0,100%,0) rotateX(-90deg);-moz-transform:translate3d(0,100%,0) rotateX(-90deg);-ms-transform:translate3d(0,100%,0) rotateX(-90deg);transform:translate3d(0,100%,0) rotateX(-90deg)}.reveal.page .slides{-webkit-perspective-origin:0 50%;-moz-perspective-origin:0 50%;-ms-perspective-origin:0 50%;perspective-origin:0 50%;-webkit-perspective:3000px;-moz-perspective:3000px;-ms-perspective:3000px;perspective:3000px}.reveal.page .slides section{padding:30px;min-height:700px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.reveal.page .slides section.past{z-index:12}.reveal.page .slides section:not(.stack):before{content:'';position:absolute;display:block;width:100%;height:100%;left:0;top:0;background:rgba(0,0,0,.1);-webkit-transform:translateZ(-20px);-moz-transform:translateZ(-20px);-ms-transform:translateZ(-20px);-o-transform:translateZ(-20px);transform:translateZ(-20px)}.reveal.page .slides section:not(.stack):after{content:'';position:absolute;display:block;width:90%;height:30px;left:5%;bottom:0;background:0;z-index:1;border-radius:4px;box-shadow:0 95px 25px rgba(0,0,0,.2);-webkit-transform:translateZ(-90px) rotateX(65deg)}.reveal.page .slides>section.stack{padding:0;background:0}.reveal.page .slides>section.past{-webkit-transform-origin:0 0;-moz-transform-origin:0 0;-ms-transform-origin:0 0;transform-origin:0 0;-webkit-transform:translate3d(-40%,0,0) rotateY(-80deg);-moz-transform:translate3d(-40%,0,0) rotateY(-80deg);-ms-transform:translate3d(-40%,0,0) rotateY(-80deg);transform:translate3d(-40%,0,0) rotateY(-80deg)}.reveal.page .slides>section.future{-webkit-transform-origin:100% 0;-moz-transform-origin:100% 0;-ms-transform-origin:100% 0;transform-origin:100% 0;-webkit-transform:translate3d(0,0,0);-moz-transform:translate3d(0,0,0);-ms-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}.reveal.page .slides>section>section.past{-webkit-transform-origin:0 0;-moz-transform-origin:0 0;-ms-transform-origin:0 0;transform-origin:0 0;-webkit-transform:translate3d(0,-40%,0) rotateX(80deg);-moz-transform:translate3d(0,-40%,0) rotateX(80deg);-ms-transform:translate3d(0,-40%,0) rotateX(80deg);transform:translate3d(0,-40%,0) rotateX(80deg)}.reveal.page .slides>section>section.future{-webkit-transform-origin:0 100%;-moz-transform-origin:0 100%;-ms-transform-origin:0 100%;transform-origin:0 100%;-webkit-transform:translate3d(0,0,0);-moz-transform:translate3d(0,0,0);-ms-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}.reveal .slides section[data-transition=fade],.reveal.fade .slides section,.reveal.fade .slides>section>section{-webkit-transform:none;-moz-transform:none;-ms-transform:none;-o-transform:none;transform:none;-webkit-transition:opacity .5s;-moz-transition:opacity .5s;-ms-transition:opacity .5s;-o-transition:opacity .5s;transition:opacity .5s}.reveal.fade.overview .slides section,.reveal.fade.overview .slides>section>section,.reveal.fade.exit-overview .slides section,.reveal.fade.exit-overview .slides>section>section{-webkit-transition:none;-moz-transition:none;-ms-transition:none;-o-transition:none;transition:none}.reveal .slides section[data-transition=none],.reveal.none .slides section{-webkit-transform:none;-moz-transform:none;-ms-transform:none;-o-transform:none;transform:none;-webkit-transition:none;-moz-transition:none;-ms-transition:none;-o-transition:none;transition:none}.reveal.overview .slides{-webkit-perspective-origin:0 0;-moz-perspective-origin:0 0;-ms-perspective-origin:0 0;perspective-origin:0 0;-webkit-perspective:700px;-moz-perspective:700px;-ms-perspective:700px;perspective:700px}.reveal.overview .slides section{height:600px;overflow:hidden;opacity:1!important;visibility:visible!important;cursor:pointer;background:rgba(0,0,0,.1)}.reveal.overview .slides section .fragment{opacity:1}.reveal.overview .slides section:after,.reveal.overview .slides section:before{display:none!important}.reveal.overview .slides section>section{opacity:1;cursor:pointer}.reveal.overview .slides section:hover{background:rgba(0,0,0,.3)}.reveal.overview .slides section.present{background:rgba(0,0,0,.3)}.reveal.overview .slides>section.stack{padding:0;background:0;overflow:visible}.reveal .pause-overlay{position:absolute;top:0;left:0;width:100%;height:100%;background:#000;visibility:hidden;opacity:0;z-index:100;-webkit-transition:all 1s ease;-moz-transition:all 1s ease;-ms-transition:all 1s ease;-o-transition:all 1s ease;transition:all 1s ease}.reveal.paused .pause-overlay{visibility:visible;opacity:1}.no-transforms{overflow-y:auto}.no-transforms .reveal .slides{position:relative;width:80%;height:auto!important;top:0;left:50%;margin:0;text-align:center}.no-transforms .reveal .controls,.no-transforms .reveal .progress{display:none!important}.no-transforms .reveal .slides section{display:block!important;opacity:1!important;position:relative!important;height:auto;min-height:auto;top:0;left:-50%;margin:70px 0;-webkit-transform:none;-moz-transform:none;-ms-transform:none;-o-transform:none;transform:none}.no-transforms .reveal .slides section section{left:0}.no-transition,.no-transition *{-webkit-transition:none!important;-moz-transition:none!important;-ms-transition:none!important;-o-transition:none!important;transition:none!important}.reveal .state-background{position:absolute;width:100%;height:100%;background:rgba(0,0,0,0);-webkit-transition:background 800ms ease;-moz-transition:background 800ms ease;-ms-transition:background 800ms ease;-o-transition:background 800ms ease;transition:background 800ms ease}.alert .reveal .state-background{background:rgba(200,50,30,.6)}.soothe .reveal .state-background{background:rgba(50,200,90,.4)}.blackout .reveal .state-background{background:rgba(0,0,0,.6)}.whiteout .reveal .state-background{background:rgba(255,255,255,.6)}.cobalt .reveal .state-background{background:rgba(22,152,213,.6)}.mint .reveal .state-background{background:rgba(22,213,75,.6)}.submerge .reveal .state-background{background:rgba(12,25,77,.6)}.lila .reveal .state-background{background:rgba(180,50,140,.6)}.sunset .reveal .state-background{background:rgba(255,122,0,.6)}.reveal>.background{position:absolute;width:100%;height:100%}.reveal>.background div{position:absolute;width:100%;height:100%;opacity:0;visibility:hidden;background-color:rgba(0,0,0,0);background-position:50% 50%;background-repeat:no-repeat;background-size:cover;-webkit-transition:all 800ms ease;-moz-transition:all 800ms ease;-ms-transition:all 800ms ease;-o-transition:all 800ms ease;transition:all 800ms ease}.reveal>.background div.present{opacity:1;visibility:visible}.reveal[data-transition-speed=fast] .background div{-webkit-transition-duration:400ms;-moz-transition-duration:400ms;-ms-transition-duration:400ms;transition-duration:400ms}.reveal[data-transition-speed=slow] .background div{-webkit-transition-duration:1200ms;-moz-transition-duration:1200ms;-ms-transition-duration:1200ms;transition-duration:1200ms}.reveal.rtl .slides,.reveal.rtl .slides h1,.reveal.rtl .slides h2,.reveal.rtl .slides h3,.reveal.rtl .slides h4,.reveal.rtl .slides h5,.reveal.rtl .slides h6{direction:rtl;font-family:sans-serif}.reveal.rtl pre,.reveal.rtl code{direction:ltr}.reveal.rtl ol,.reveal.rtl ul{text-align:right}.reveal.rtl .progress span{float:right}.reveal aside.notes{display:none}.zoomed .reveal *,.zoomed .reveal :before,.zoomed .reveal :after{-webkit-transform:none!important;-moz-transform:none!important;-ms-transform:none!important;transform:none!important;-webkit-backface-visibility:visible!important;-moz-backface-visibility:visible!important;-ms-backface-visibility:visible!important;backface-visibility:visible!important}.zoomed .reveal .progress,.zoomed .reveal .controls{opacity:0}.zoomed .reveal .roll span{background:0}.zoomed .reveal .roll span:after{visibility:hidden} \ No newline at end of file + */ html,body,.reveal div,.reveal span,.reveal applet,.reveal object,.reveal iframe,.reveal h1,.reveal h2,.reveal h3,.reveal h4,.reveal h5,.reveal h6,.reveal p,.reveal blockquote,.reveal pre,.reveal a,.reveal abbr,.reveal acronym,.reveal address,.reveal big,.reveal cite,.reveal code,.reveal del,.reveal dfn,.reveal em,.reveal img,.reveal ins,.reveal kbd,.reveal q,.reveal s,.reveal samp,.reveal small,.reveal strike,.reveal strong,.reveal sub,.reveal sup,.reveal tt,.reveal var,.reveal b,.reveal u,.reveal i,.reveal center,.reveal dl,.reveal dt,.reveal dd,.reveal ol,.reveal ul,.reveal li,.reveal fieldset,.reveal form,.reveal label,.reveal legend,.reveal table,.reveal caption,.reveal tbody,.reveal tfoot,.reveal thead,.reveal tr,.reveal th,.reveal td,.reveal article,.reveal aside,.reveal canvas,.reveal details,.reveal embed,.reveal figure,.reveal figcaption,.reveal footer,.reveal header,.reveal hgroup,.reveal menu,.reveal nav,.reveal output,.reveal ruby,.reveal section,.reveal summary,.reveal time,.reveal mark,.reveal audio,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}.reveal article,.reveal aside,.reveal details,.reveal figcaption,.reveal figure,.reveal footer,.reveal header,.reveal hgroup,.reveal menu,.reveal nav,.reveal section{display:block}html,body{width:100%;height:100%;overflow:hidden}body{position:relative;line-height:1}::selection{background:#FF5E99;color:#fff;text-shadow:none}.reveal h1,.reveal h2,.reveal h3,.reveal h4,.reveal h5,.reveal h6{-webkit-hyphens:auto;-moz-hyphens:auto;hyphens:auto;word-wrap:break-word}.reveal h1{font-size:3.77em}.reveal h2{font-size:2.11em}.reveal h3{font-size:1.55em}.reveal h4{font-size:1em}.reveal .slides section .fragment{opacity:0;-webkit-transition:all .2s ease;-moz-transition:all .2s ease;-ms-transition:all .2s ease;-o-transition:all .2s ease;transition:all .2s ease}.reveal .slides section .fragment.visible{opacity:1}.reveal .slides section .fragment.grow{opacity:1}.reveal .slides section .fragment.grow.visible{-webkit-transform:scale(1.3);-moz-transform:scale(1.3);-ms-transform:scale(1.3);-o-transform:scale(1.3);transform:scale(1.3)}.reveal .slides section .fragment.shrink{opacity:1}.reveal .slides section .fragment.shrink.visible{-webkit-transform:scale(0.7);-moz-transform:scale(0.7);-ms-transform:scale(0.7);-o-transform:scale(0.7);transform:scale(0.7)}.reveal .slides section .fragment.zoom-in{opacity:0;-webkit-transform:scale(0.1);-moz-transform:scale(0.1);-ms-transform:scale(0.1);-o-transform:scale(0.1);transform:scale(0.1)}.reveal .slides section .fragment.zoom-in.visible{opacity:1;-webkit-transform:scale(1);-moz-transform:scale(1);-ms-transform:scale(1);-o-transform:scale(1);transform:scale(1)}.reveal .slides section .fragment.roll-in{opacity:0;-webkit-transform:rotateX(90deg);-moz-transform:rotateX(90deg);-ms-transform:rotateX(90deg);-o-transform:rotateX(90deg);transform:rotateX(90deg)}.reveal .slides section .fragment.roll-in.visible{opacity:1;-webkit-transform:rotateX(0);-moz-transform:rotateX(0);-ms-transform:rotateX(0);-o-transform:rotateX(0);transform:rotateX(0)}.reveal .slides section .fragment.fade-out{opacity:1}.reveal .slides section .fragment.fade-out.visible{opacity:0}.reveal .slides section .fragment.highlight-red,.reveal .slides section .fragment.highlight-green,.reveal .slides section .fragment.highlight-blue{opacity:1}.reveal .slides section .fragment.highlight-red.visible{color:#ff2c2d}.reveal .slides section .fragment.highlight-green.visible{color:#17ff2e}.reveal .slides section .fragment.highlight-blue.visible{color:#1b91ff}.reveal:after{content:'';font-style:italic}.reveal img,.reveal video,.reveal iframe{max-width:95%;max-height:95%}.reveal a{position:relative}.reveal strong,.reveal b{font-weight:700}.reveal em,.reveal i{font-style:italic}.reveal ol,.reveal ul{display:inline-block;text-align:left;margin:0 0 0 1em}.reveal ol{list-style-type:decimal}.reveal ul{list-style-type:disc}.reveal ul ul{list-style-type:square}.reveal ul ul ul{list-style-type:circle}.reveal ul ul,.reveal ul ol,.reveal ol ol,.reveal ol ul{display:block;margin-left:40px}.reveal p{margin-bottom:10px;line-height:1.2em}.reveal q,.reveal blockquote{quotes:none}.reveal blockquote{display:block;position:relative;width:70%;margin:5px auto;padding:5px;font-style:italic;background:rgba(255,255,255,.05);box-shadow:0 0 2px rgba(0,0,0,.2)}.reveal blockquote p:first-child,.reveal blockquote p:last-child{display:inline-block}.reveal q{font-style:italic}.reveal pre{display:block;position:relative;width:90%;margin:15px auto;text-align:left;font-size:.55em;font-family:monospace;line-height:1.2em;word-wrap:break-word;box-shadow:0 0 6px rgba(0,0,0,.3)}.reveal code{font-family:monospace}.reveal pre code{padding:5px;overflow:auto;max-height:400px;word-wrap:normal}.reveal table th,.reveal table td{text-align:left;padding-right:.3em}.reveal table th{text-shadow:#fff 1px 1px 2px}.reveal sup{vertical-align:super}.reveal sub{vertical-align:sub}.reveal small{display:inline-block;font-size:.6em;line-height:1.2em;vertical-align:top}.reveal small *{vertical-align:top}.reveal .controls{display:none;position:fixed;width:110px;height:110px;z-index:30;right:10px;bottom:10px}.reveal .controls div{position:absolute;opacity:.05;width:0;height:0;border:12px solid transparent;-moz-transform:scale(.9999);-webkit-transition:all .2s ease;-moz-transition:all .2s ease;-ms-transition:all .2s ease;-o-transition:all .2s ease;transition:all .2s ease}.reveal .controls div.enabled{opacity:.7;cursor:pointer}.reveal .controls div.enabled:active{margin-top:1px}.reveal .controls div.navigate-left{top:42px;border-right-width:22px;border-right-color:#eee}.reveal .controls div.navigate-left.fragmented{opacity:.3}.reveal .controls div.navigate-right{left:74px;top:42px;border-left-width:22px;border-left-color:#eee}.reveal .controls div.navigate-right.fragmented{opacity:.3}.reveal .controls div.navigate-up{left:42px;border-bottom-width:22px;border-bottom-color:#eee}.reveal .controls div.navigate-up.fragmented{opacity:.3}.reveal .controls div.navigate-down{left:42px;top:74px;border-top-width:22px;border-top-color:#eee}.reveal .controls div.navigate-down.fragmented{opacity:.3}.reveal .progress{position:fixed;display:none;height:3px;width:100%;bottom:0;left:0;z-index:10}.reveal .progress:after{content:'';display:'block';position:absolute;height:20px;width:100%;top:-20px}.reveal .progress span{display:block;height:100%;width:0;-webkit-transition:width 800ms cubic-bezier(0.26,.86,.44,.985);-moz-transition:width 800ms cubic-bezier(0.26,.86,.44,.985);-ms-transition:width 800ms cubic-bezier(0.26,.86,.44,.985);-o-transition:width 800ms cubic-bezier(0.26,.86,.44,.985);transition:width 800ms cubic-bezier(0.26,.86,.44,.985)}.reveal .roll{display:inline-block;line-height:1.2;overflow:hidden;vertical-align:top;-webkit-perspective:400px;-moz-perspective:400px;-ms-perspective:400px;perspective:400px;-webkit-perspective-origin:50% 50%;-moz-perspective-origin:50% 50%;-ms-perspective-origin:50% 50%;perspective-origin:50% 50%}.reveal .roll:hover{background:0;text-shadow:none}.reveal .roll span{display:block;position:relative;padding:0 2px;pointer-events:none;-webkit-transition:all 400ms ease;-moz-transition:all 400ms ease;-ms-transition:all 400ms ease;transition:all 400ms ease;-webkit-transform-origin:50% 0;-moz-transform-origin:50% 0;-ms-transform-origin:50% 0;transform-origin:50% 0;-webkit-transform-style:preserve-3d;-moz-transform-style:preserve-3d;-ms-transform-style:preserve-3d;transform-style:preserve-3d;-webkit-backface-visibility:hidden;-moz-backface-visibility:hidden;backface-visibility:hidden}.reveal .roll:hover span{background:rgba(0,0,0,.5);-webkit-transform:translate3d(0px,0,-45px) rotateX(90deg);-moz-transform:translate3d(0px,0,-45px) rotateX(90deg);-ms-transform:translate3d(0px,0,-45px) rotateX(90deg);transform:translate3d(0px,0,-45px) rotateX(90deg)}.reveal .roll span:after{content:attr(data-title);display:block;position:absolute;left:0;top:0;padding:0 2px;-webkit-backface-visibility:hidden;-moz-backface-visibility:hidden;backface-visibility:hidden;-webkit-transform-origin:50% 0;-moz-transform-origin:50% 0;-ms-transform-origin:50% 0;transform-origin:50% 0;-webkit-transform:translate3d(0px,110%,0) rotateX(-90deg);-moz-transform:translate3d(0px,110%,0) rotateX(-90deg);-ms-transform:translate3d(0px,110%,0) rotateX(-90deg);transform:translate3d(0px,110%,0) rotateX(-90deg)}.reveal{position:relative;width:100%;height:100%;-ms-touch-action:none}.reveal .slides{position:absolute;width:100%;height:100%;left:50%;top:50%;overflow:visible;z-index:1;text-align:center;-webkit-transition:-webkit-perspective .4s ease;-moz-transition:-moz-perspective .4s ease;-ms-transition:-ms-perspective .4s ease;-o-transition:-o-perspective .4s ease;transition:perspective .4s ease;-webkit-perspective:600px;-moz-perspective:600px;-ms-perspective:600px;perspective:600px;-webkit-perspective-origin:0 -100px;-moz-perspective-origin:0 -100px;-ms-perspective-origin:0 -100px;perspective-origin:0 -100px}.reveal .slides>section,.reveal .slides>section>section{display:none;position:absolute;width:100%;padding:20px 0;z-index:10;line-height:1.2em;font-weight:400;-webkit-transform-style:preserve-3d;-moz-transform-style:preserve-3d;-ms-transform-style:preserve-3d;transform-style:preserve-3d;-webkit-transition:-webkit-transform-origin 800ms cubic-bezier(0.26,.86,.44,.985),-webkit-transform 800ms cubic-bezier(0.26,.86,.44,.985),visibility 800ms cubic-bezier(0.26,.86,.44,.985),opacity 800ms cubic-bezier(0.26,.86,.44,.985);-moz-transition:-moz-transform-origin 800ms cubic-bezier(0.26,.86,.44,.985),-moz-transform 800ms cubic-bezier(0.26,.86,.44,.985),visibility 800ms cubic-bezier(0.26,.86,.44,.985),opacity 800ms cubic-bezier(0.26,.86,.44,.985);-ms-transition:-ms-transform-origin 800ms cubic-bezier(0.26,.86,.44,.985),-ms-transform 800ms cubic-bezier(0.26,.86,.44,.985),visibility 800ms cubic-bezier(0.26,.86,.44,.985),opacity 800ms cubic-bezier(0.26,.86,.44,.985);-o-transition:-o-transform-origin 800ms cubic-bezier(0.26,.86,.44,.985),-o-transform 800ms cubic-bezier(0.26,.86,.44,.985),visibility 800ms cubic-bezier(0.26,.86,.44,.985),opacity 800ms cubic-bezier(0.26,.86,.44,.985);transition:transform-origin 800ms cubic-bezier(0.26,.86,.44,.985),transform 800ms cubic-bezier(0.26,.86,.44,.985),visibility 800ms cubic-bezier(0.26,.86,.44,.985),opacity 800ms cubic-bezier(0.26,.86,.44,.985)}.reveal[data-transition-speed=fast] .slides section{-webkit-transition-duration:400ms;-moz-transition-duration:400ms;-ms-transition-duration:400ms;transition-duration:400ms}.reveal[data-transition-speed=slow] .slides section{-webkit-transition-duration:1200ms;-moz-transition-duration:1200ms;-ms-transition-duration:1200ms;transition-duration:1200ms}.reveal .slides section[data-transition-speed=fast]{-webkit-transition-duration:400ms;-moz-transition-duration:400ms;-ms-transition-duration:400ms;transition-duration:400ms}.reveal .slides section[data-transition-speed=slow]{-webkit-transition-duration:1200ms;-moz-transition-duration:1200ms;-ms-transition-duration:1200ms;transition-duration:1200ms}.reveal .slides>section{left:-50%;top:-50%}.reveal .slides>section.stack{padding-top:0;padding-bottom:0}.reveal .slides>section.present,.reveal .slides>section>section.present{display:block;z-index:11;opacity:1}.reveal.center,.reveal.center .slides,.reveal.center .slides section{min-height:auto!important}.reveal .slides>section[data-transition=default].past,.reveal .slides>section.past{display:block;opacity:0;-webkit-transform:translate3d(-100%,0,0) rotateY(-90deg) translate3d(-100%,0,0);-moz-transform:translate3d(-100%,0,0) rotateY(-90deg) translate3d(-100%,0,0);-ms-transform:translate3d(-100%,0,0) rotateY(-90deg) translate3d(-100%,0,0);transform:translate3d(-100%,0,0) rotateY(-90deg) translate3d(-100%,0,0)}.reveal .slides>section[data-transition=default].future,.reveal .slides>section.future{display:block;opacity:0;-webkit-transform:translate3d(100%,0,0) rotateY(90deg) translate3d(100%,0,0);-moz-transform:translate3d(100%,0,0) rotateY(90deg) translate3d(100%,0,0);-ms-transform:translate3d(100%,0,0) rotateY(90deg) translate3d(100%,0,0);transform:translate3d(100%,0,0) rotateY(90deg) translate3d(100%,0,0)}.reveal .slides>section>section[data-transition=default].past,.reveal .slides>section>section.past{display:block;opacity:0;-webkit-transform:translate3d(0,-300px,0) rotateX(70deg) translate3d(0,-300px,0);-moz-transform:translate3d(0,-300px,0) rotateX(70deg) translate3d(0,-300px,0);-ms-transform:translate3d(0,-300px,0) rotateX(70deg) translate3d(0,-300px,0);transform:translate3d(0,-300px,0) rotateX(70deg) translate3d(0,-300px,0)}.reveal .slides>section>section[data-transition=default].future,.reveal .slides>section>section.future{display:block;opacity:0;-webkit-transform:translate3d(0,300px,0) rotateX(-70deg) translate3d(0,300px,0);-moz-transform:translate3d(0,300px,0) rotateX(-70deg) translate3d(0,300px,0);-ms-transform:translate3d(0,300px,0) rotateX(-70deg) translate3d(0,300px,0);transform:translate3d(0,300px,0) rotateX(-70deg) translate3d(0,300px,0)}.reveal .slides>section[data-transition=concave].past,.reveal.concave .slides>section.past{-webkit-transform:translate3d(-100%,0,0) rotateY(90deg) translate3d(-100%,0,0);-moz-transform:translate3d(-100%,0,0) rotateY(90deg) translate3d(-100%,0,0);-ms-transform:translate3d(-100%,0,0) rotateY(90deg) translate3d(-100%,0,0);transform:translate3d(-100%,0,0) rotateY(90deg) translate3d(-100%,0,0)}.reveal .slides>section[data-transition=concave].future,.reveal.concave .slides>section.future{-webkit-transform:translate3d(100%,0,0) rotateY(-90deg) translate3d(100%,0,0);-moz-transform:translate3d(100%,0,0) rotateY(-90deg) translate3d(100%,0,0);-ms-transform:translate3d(100%,0,0) rotateY(-90deg) translate3d(100%,0,0);transform:translate3d(100%,0,0) rotateY(-90deg) translate3d(100%,0,0)}.reveal .slides>section>section[data-transition=concave].past,.reveal.concave .slides>section>section.past{-webkit-transform:translate3d(0,-80%,0) rotateX(-70deg) translate3d(0,-80%,0);-moz-transform:translate3d(0,-80%,0) rotateX(-70deg) translate3d(0,-80%,0);-ms-transform:translate3d(0,-80%,0) rotateX(-70deg) translate3d(0,-80%,0);transform:translate3d(0,-80%,0) rotateX(-70deg) translate3d(0,-80%,0)}.reveal .slides>section>section[data-transition=concave].future,.reveal.concave .slides>section>section.future{-webkit-transform:translate3d(0,80%,0) rotateX(70deg) translate3d(0,80%,0);-moz-transform:translate3d(0,80%,0) rotateX(70deg) translate3d(0,80%,0);-ms-transform:translate3d(0,80%,0) rotateX(70deg) translate3d(0,80%,0);transform:translate3d(0,80%,0) rotateX(70deg) translate3d(0,80%,0)}.reveal .slides>section[data-transition=zoom].past,.reveal.zoom .slides>section.past{opacity:0;visibility:hidden;-webkit-transform:scale(16);-moz-transform:scale(16);-ms-transform:scale(16);-o-transform:scale(16);transform:scale(16)}.reveal .slides>section[data-transition=zoom].future,.reveal.zoom .slides>section.future{opacity:0;visibility:hidden;-webkit-transform:scale(0.2);-moz-transform:scale(0.2);-ms-transform:scale(0.2);-o-transform:scale(0.2);transform:scale(0.2)}.reveal .slides>section>section[data-transition=zoom].past,.reveal.zoom .slides>section>section.past{-webkit-transform:translate(0,-150%);-moz-transform:translate(0,-150%);-ms-transform:translate(0,-150%);-o-transform:translate(0,-150%);transform:translate(0,-150%)}.reveal .slides>section>section[data-transition=zoom].future,.reveal.zoom .slides>section>section.future{-webkit-transform:translate(0,150%);-moz-transform:translate(0,150%);-ms-transform:translate(0,150%);-o-transform:translate(0,150%);transform:translate(0,150%)}.reveal.linear section{-webkit-backface-visibility:hidden;-moz-backface-visibility:hidden;-ms-backface-visibility:hidden;backface-visibility:hidden}.reveal .slides>section[data-transition=linear].past,.reveal.linear .slides>section.past{-webkit-transform:translate(-150%,0);-moz-transform:translate(-150%,0);-ms-transform:translate(-150%,0);-o-transform:translate(-150%,0);transform:translate(-150%,0)}.reveal .slides>section[data-transition=linear].future,.reveal.linear .slides>section.future{-webkit-transform:translate(150%,0);-moz-transform:translate(150%,0);-ms-transform:translate(150%,0);-o-transform:translate(150%,0);transform:translate(150%,0)}.reveal .slides>section>section[data-transition=linear].past,.reveal.linear .slides>section>section.past{-webkit-transform:translate(0,-150%);-moz-transform:translate(0,-150%);-ms-transform:translate(0,-150%);-o-transform:translate(0,-150%);transform:translate(0,-150%)}.reveal .slides>section>section[data-transition=linear].future,.reveal.linear .slides>section>section.future{-webkit-transform:translate(0,150%);-moz-transform:translate(0,150%);-ms-transform:translate(0,150%);-o-transform:translate(0,150%);transform:translate(0,150%)}.reveal.cube .slides{-webkit-perspective:1300px;-moz-perspective:1300px;-ms-perspective:1300px;perspective:1300px}.reveal.cube .slides section{padding:30px;min-height:700px;-webkit-backface-visibility:hidden;-moz-backface-visibility:hidden;-ms-backface-visibility:hidden;backface-visibility:hidden;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.reveal.center.cube .slides section{min-height:auto}.reveal.cube .slides section:not(.stack):before{content:'';position:absolute;display:block;width:100%;height:100%;left:0;top:0;background:rgba(0,0,0,.1);border-radius:4px;-webkit-transform:translateZ(-20px);-moz-transform:translateZ(-20px);-ms-transform:translateZ(-20px);-o-transform:translateZ(-20px);transform:translateZ(-20px)}.reveal.cube .slides section:not(.stack):after{content:'';position:absolute;display:block;width:90%;height:30px;left:5%;bottom:0;background:0;z-index:1;border-radius:4px;box-shadow:0 95px 25px rgba(0,0,0,.2);-webkit-transform:translateZ(-90px) rotateX(65deg);-moz-transform:translateZ(-90px) rotateX(65deg);-ms-transform:translateZ(-90px) rotateX(65deg);-o-transform:translateZ(-90px) rotateX(65deg);transform:translateZ(-90px) rotateX(65deg)}.reveal.cube .slides>section.stack{padding:0;background:0}.reveal.cube .slides>section.past{-webkit-transform-origin:100% 0;-moz-transform-origin:100% 0;-ms-transform-origin:100% 0;transform-origin:100% 0;-webkit-transform:translate3d(-100%,0,0) rotateY(-90deg);-moz-transform:translate3d(-100%,0,0) rotateY(-90deg);-ms-transform:translate3d(-100%,0,0) rotateY(-90deg);transform:translate3d(-100%,0,0) rotateY(-90deg)}.reveal.cube .slides>section.future{-webkit-transform-origin:0 0;-moz-transform-origin:0 0;-ms-transform-origin:0 0;transform-origin:0 0;-webkit-transform:translate3d(100%,0,0) rotateY(90deg);-moz-transform:translate3d(100%,0,0) rotateY(90deg);-ms-transform:translate3d(100%,0,0) rotateY(90deg);transform:translate3d(100%,0,0) rotateY(90deg)}.reveal.cube .slides>section>section.past{-webkit-transform-origin:0 100%;-moz-transform-origin:0 100%;-ms-transform-origin:0 100%;transform-origin:0 100%;-webkit-transform:translate3d(0,-100%,0) rotateX(90deg);-moz-transform:translate3d(0,-100%,0) rotateX(90deg);-ms-transform:translate3d(0,-100%,0) rotateX(90deg);transform:translate3d(0,-100%,0) rotateX(90deg)}.reveal.cube .slides>section>section.future{-webkit-transform-origin:0 0;-moz-transform-origin:0 0;-ms-transform-origin:0 0;transform-origin:0 0;-webkit-transform:translate3d(0,100%,0) rotateX(-90deg);-moz-transform:translate3d(0,100%,0) rotateX(-90deg);-ms-transform:translate3d(0,100%,0) rotateX(-90deg);transform:translate3d(0,100%,0) rotateX(-90deg)}.reveal.page .slides{-webkit-perspective-origin:0 50%;-moz-perspective-origin:0 50%;-ms-perspective-origin:0 50%;perspective-origin:0 50%;-webkit-perspective:3000px;-moz-perspective:3000px;-ms-perspective:3000px;perspective:3000px}.reveal.page .slides section{padding:30px;min-height:700px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.reveal.page .slides section.past{z-index:12}.reveal.page .slides section:not(.stack):before{content:'';position:absolute;display:block;width:100%;height:100%;left:0;top:0;background:rgba(0,0,0,.1);-webkit-transform:translateZ(-20px);-moz-transform:translateZ(-20px);-ms-transform:translateZ(-20px);-o-transform:translateZ(-20px);transform:translateZ(-20px)}.reveal.page .slides section:not(.stack):after{content:'';position:absolute;display:block;width:90%;height:30px;left:5%;bottom:0;background:0;z-index:1;border-radius:4px;box-shadow:0 95px 25px rgba(0,0,0,.2);-webkit-transform:translateZ(-90px) rotateX(65deg)}.reveal.page .slides>section.stack{padding:0;background:0}.reveal.page .slides>section.past{-webkit-transform-origin:0 0;-moz-transform-origin:0 0;-ms-transform-origin:0 0;transform-origin:0 0;-webkit-transform:translate3d(-40%,0,0) rotateY(-80deg);-moz-transform:translate3d(-40%,0,0) rotateY(-80deg);-ms-transform:translate3d(-40%,0,0) rotateY(-80deg);transform:translate3d(-40%,0,0) rotateY(-80deg)}.reveal.page .slides>section.future{-webkit-transform-origin:100% 0;-moz-transform-origin:100% 0;-ms-transform-origin:100% 0;transform-origin:100% 0;-webkit-transform:translate3d(0,0,0);-moz-transform:translate3d(0,0,0);-ms-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}.reveal.page .slides>section>section.past{-webkit-transform-origin:0 0;-moz-transform-origin:0 0;-ms-transform-origin:0 0;transform-origin:0 0;-webkit-transform:translate3d(0,-40%,0) rotateX(80deg);-moz-transform:translate3d(0,-40%,0) rotateX(80deg);-ms-transform:translate3d(0,-40%,0) rotateX(80deg);transform:translate3d(0,-40%,0) rotateX(80deg)}.reveal.page .slides>section>section.future{-webkit-transform-origin:0 100%;-moz-transform-origin:0 100%;-ms-transform-origin:0 100%;transform-origin:0 100%;-webkit-transform:translate3d(0,0,0);-moz-transform:translate3d(0,0,0);-ms-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}.reveal .slides section[data-transition=fade],.reveal.fade .slides section,.reveal.fade .slides>section>section{-webkit-transform:none;-moz-transform:none;-ms-transform:none;-o-transform:none;transform:none;-webkit-transition:opacity .5s;-moz-transition:opacity .5s;-ms-transition:opacity .5s;-o-transition:opacity .5s;transition:opacity .5s}.reveal.fade.overview .slides section,.reveal.fade.overview .slides>section>section,.reveal.fade.exit-overview .slides section,.reveal.fade.exit-overview .slides>section>section{-webkit-transition:none;-moz-transition:none;-ms-transition:none;-o-transition:none;transition:none}.reveal .slides section[data-transition=none],.reveal.none .slides section{-webkit-transform:none;-moz-transform:none;-ms-transform:none;-o-transform:none;transform:none;-webkit-transition:none;-moz-transition:none;-ms-transition:none;-o-transition:none;transition:none}.reveal.overview .slides{-webkit-perspective-origin:0 0;-moz-perspective-origin:0 0;-ms-perspective-origin:0 0;perspective-origin:0 0;-webkit-perspective:700px;-moz-perspective:700px;-ms-perspective:700px;perspective:700px}.reveal.overview .slides section{height:600px;overflow:hidden;opacity:1!important;visibility:visible!important;cursor:pointer;background:rgba(0,0,0,.1)}.reveal.overview .slides section .fragment{opacity:1}.reveal.overview .slides section:after,.reveal.overview .slides section:before{display:none!important}.reveal.overview .slides section>section{opacity:1;cursor:pointer}.reveal.overview .slides section:hover{background:rgba(0,0,0,.3)}.reveal.overview .slides section.present{background:rgba(0,0,0,.3)}.reveal.overview .slides>section.stack{padding:0;background:0;overflow:visible}.reveal .pause-overlay{position:absolute;top:0;left:0;width:100%;height:100%;background:#000;visibility:hidden;opacity:0;z-index:100;-webkit-transition:all 1s ease;-moz-transition:all 1s ease;-ms-transition:all 1s ease;-o-transition:all 1s ease;transition:all 1s ease}.reveal.paused .pause-overlay{visibility:visible;opacity:1}.no-transforms{overflow-y:auto}.no-transforms .reveal .slides{position:relative;width:80%;height:auto!important;top:0;left:50%;margin:0;text-align:center}.no-transforms .reveal .controls,.no-transforms .reveal .progress{display:none!important}.no-transforms .reveal .slides section{display:block!important;opacity:1!important;position:relative!important;height:auto;min-height:auto;top:0;left:-50%;margin:70px 0;-webkit-transform:none;-moz-transform:none;-ms-transform:none;-o-transform:none;transform:none}.no-transforms .reveal .slides section section{left:0}.no-transition,.no-transition *{-webkit-transition:none!important;-moz-transition:none!important;-ms-transition:none!important;-o-transition:none!important;transition:none!important}.reveal .state-background{position:absolute;width:100%;height:100%;background:rgba(0,0,0,0);-webkit-transition:background 800ms ease;-moz-transition:background 800ms ease;-ms-transition:background 800ms ease;-o-transition:background 800ms ease;transition:background 800ms ease}.alert .reveal .state-background{background:rgba(200,50,30,.6)}.soothe .reveal .state-background{background:rgba(50,200,90,.4)}.blackout .reveal .state-background{background:rgba(0,0,0,.6)}.whiteout .reveal .state-background{background:rgba(255,255,255,.6)}.cobalt .reveal .state-background{background:rgba(22,152,213,.6)}.mint .reveal .state-background{background:rgba(22,213,75,.6)}.submerge .reveal .state-background{background:rgba(12,25,77,.6)}.lila .reveal .state-background{background:rgba(180,50,140,.6)}.sunset .reveal .state-background{background:rgba(255,122,0,.6)}.reveal>.background{position:absolute;width:100%;height:100%}.reveal>.background div{position:absolute;width:100%;height:100%;opacity:0;visibility:hidden;background-color:rgba(0,0,0,0);background-position:50% 50%;background-repeat:no-repeat;background-size:cover;-webkit-transition:all 650ms ease;-moz-transition:all 650ms ease;-ms-transition:all 650ms ease;-o-transition:all 650ms ease;transition:all 650ms ease}.reveal>.background div.present{opacity:1;visibility:visible}.reveal[data-background-transition=linear]>.background div{opacity:1;-webkit-backface-visibility:hidden;-moz-backface-visibility:hidden;-ms-backface-visibility:hidden;backface-visibility:hidden}.reveal[data-background-transition=linear]>.background div.past{-webkit-transform:translate(-100%,0);-moz-transform:translate(-100%,0);-ms-transform:translate(-100%,0);-o-transform:translate(-100%,0);transform:translate(-100%,0)}.reveal[data-background-transition=linear]>.background div.future{-webkit-transform:translate(100%,0);-moz-transform:translate(100%,0);-ms-transform:translate(100%,0);-o-transform:translate(100%,0);transform:translate(100%,0)}.reveal[data-background-transition=linear]>.background div>div.past{-webkit-transform:translate(0,-100%);-moz-transform:translate(0,-100%);-ms-transform:translate(0,-100%);-o-transform:translate(0,-100%);transform:translate(0,-100%)}.reveal[data-background-transition=linear]>.background div>div.future{-webkit-transform:translate(0,100%);-moz-transform:translate(0,100%);-ms-transform:translate(0,100%);-o-transform:translate(0,100%);transform:translate(0,100%)}.reveal[data-transition-speed=fast]>.background div{-webkit-transition-duration:300ms;-moz-transition-duration:300ms;-ms-transition-duration:300ms;transition-duration:300ms}.reveal[data-transition-speed=slow]>.background div{-webkit-transition-duration:900ms;-moz-transition-duration:900ms;-ms-transition-duration:900ms;transition-duration:900ms}.reveal.rtl .slides,.reveal.rtl .slides h1,.reveal.rtl .slides h2,.reveal.rtl .slides h3,.reveal.rtl .slides h4,.reveal.rtl .slides h5,.reveal.rtl .slides h6{direction:rtl;font-family:sans-serif}.reveal.rtl pre,.reveal.rtl code{direction:ltr}.reveal.rtl ol,.reveal.rtl ul{text-align:right}.reveal.rtl .progress span{float:right}.reveal aside.notes{display:none}.zoomed .reveal *,.zoomed .reveal :before,.zoomed .reveal :after{-webkit-transform:none!important;-moz-transform:none!important;-ms-transform:none!important;transform:none!important;-webkit-backface-visibility:visible!important;-moz-backface-visibility:visible!important;-ms-backface-visibility:visible!important;backface-visibility:visible!important}.zoomed .reveal .progress,.zoomed .reveal .controls{opacity:0}.zoomed .reveal .roll span{background:0}.zoomed .reveal .roll span:after{visibility:hidden} \ No newline at end of file diff --git a/js/reveal.js b/js/reveal.js index 6e5f9e4..3d6e2da 100644 --- a/js/reveal.js +++ b/js/reveal.js @@ -79,6 +79,9 @@ var Reveal = (function(){ // Transition speed transitionSpeed: 'default', // default/fast/slow + // Transition style for full page slide backgrounds + backgroundTransition: 'default', // default/linear + // Script dependencies to load dependencies: [] }, @@ -415,6 +418,7 @@ var Reveal = (function(){ dom.wrapper.classList.add( config.transition ); dom.wrapper.setAttribute( 'data-transition-speed', config.transitionSpeed ); + dom.wrapper.setAttribute( 'data-background-transition', config.backgroundTransition ); if( dom.controls ) { dom.controls.style.display = ( config.controls && dom.controls ) ? 'block' : 'none'; diff --git a/js/reveal.min.js b/js/reveal.min.js index b005505..c066420 100644 --- a/js/reveal.min.js +++ b/js/reveal.min.js @@ -1,8 +1,8 @@ /*! - * reveal.js 2.5.0 (2013-06-04, 19:55) + * reveal.js 2.5.0 (2013-06-04, 20:14) * http://lab.hakim.se/reveal-js * MIT licensed * * Copyright (C) 2013 Hakim El Hattab, http://hakim.se */ -var Reveal=function(){"use strict";function e(e){return Nt||Pt?(window.addEventListener("load",g,!1),l(St,e),r(),o(),void 0):(document.body.setAttribute("class","no-transforms"),void 0)}function t(){if(Mt.theme=document.querySelector("#theme"),Mt.wrapper=document.querySelector(".reveal"),Mt.slides=document.querySelector(".reveal .slides"),document.querySelector(".reveal .background")||(Mt.background=document.createElement("div"),Mt.background.classList.add("background"),Mt.wrapper.appendChild(Mt.background)),!Mt.wrapper.querySelector(".progress")){var e=document.createElement("div");e.classList.add("progress"),e.innerHTML="",Mt.wrapper.appendChild(e)}if(!Mt.wrapper.querySelector(".controls")){var t=document.createElement("aside");t.classList.add("controls"),t.innerHTML='',Mt.wrapper.appendChild(t)}if(!Mt.wrapper.querySelector(".state-background")){var n=document.createElement("div");n.classList.add("state-background"),Mt.wrapper.appendChild(n)}if(!Mt.wrapper.querySelector(".pause-overlay")){var r=document.createElement("div");r.classList.add("pause-overlay"),Mt.wrapper.appendChild(r)}Mt.progress=document.querySelector(".reveal .progress"),Mt.progressbar=document.querySelector(".reveal .progress span"),St.controls&&(Mt.controls=document.querySelector(".reveal .controls"),Mt.controlsLeft=d(document.querySelectorAll(".navigate-left")),Mt.controlsRight=d(document.querySelectorAll(".navigate-right")),Mt.controlsUp=d(document.querySelectorAll(".navigate-up")),Mt.controlsDown=d(document.querySelectorAll(".navigate-down")),Mt.controlsPrev=d(document.querySelectorAll(".navigate-prev")),Mt.controlsNext=d(document.querySelectorAll(".navigate-next")))}function n(){function e(e,t){var n={background:e.getAttribute("data-background"),backgroundSize:e.getAttribute("data-background-size"),backgroundRepeat:e.getAttribute("data-background-repeat"),backgroundPosition:e.getAttribute("data-background-position")},r=document.createElement("div");return n.background&&(/\.(png|jpg|jpeg|gif|bmp|)$/gi.test(n.background)?r.style.backgroundImage="url("+n.background+")":r.style.background=n.background),n.backgroundSize&&(r.style.backgroundSize=n.backgroundSize),n.backgroundRepeat&&(r.style.backgroundRepeat=n.backgroundRepeat),n.backgroundPosition&&(r.style.backgroundPosition=n.backgroundPosition),t.appendChild(r),r}Mt.background.innerHTML="",Mt.background.classList.add("no-transition"),d(document.querySelectorAll(Lt)).forEach(function(t){var n=e(t,Mt.background);d(t.querySelectorAll("section")).forEach(function(t){e(t,n)})})}function r(){/iphone|ipod|android/gi.test(navigator.userAgent)&&!/crios/gi.test(navigator.userAgent)&&(window.addEventListener("load",f,!1),window.addEventListener("orientationchange",f,!1))}function o(){function e(){n.length&&head.js.apply(null,n),a()}for(var t=[],n=[],r=0,o=St.dependencies.length;o>r;r++){var s=St.dependencies[r];(!s.condition||s.condition())&&(s.async?n.push(s.src):t.push(s.src),"function"==typeof s.callback&&head.ready(s.src.match(/([\w\d_\-]*)\.?js$|[^\\\/]*$/i)[0],s.callback))}t.length?(head.ready(e),head.js.apply(null,t)):e()}function a(){t(),s(),I(),setTimeout(function(){v("ready",{indexh:At,indexv:qt,currentSlide:yt})},1)}function s(e){if(Mt.wrapper.classList.remove(St.transition),"object"==typeof e&&l(St,e),Pt===!1&&(St.transition="linear"),Mt.wrapper.classList.add(St.transition),Mt.wrapper.setAttribute("data-transition-speed",St.transitionSpeed),Mt.controls&&(Mt.controls.style.display=St.controls&&Mt.controls?"block":"none"),Mt.progress&&(Mt.progress.style.display=St.progress&&Mt.progress?"block":"none"),St.rtl?Mt.wrapper.classList.add("rtl"):Mt.wrapper.classList.remove("rtl"),St.center?Mt.wrapper.classList.add("center"):Mt.wrapper.classList.remove("center"),St.mouseWheel?(document.addEventListener("DOMMouseScroll",st,!1),document.addEventListener("mousewheel",st,!1)):(document.removeEventListener("DOMMouseScroll",st,!1),document.removeEventListener("mousewheel",st,!1)),St.rollingLinks?p():m(),St.theme&&Mt.theme){var t=Mt.theme.getAttribute("href"),n=/[^\/]*?(?=\.css)/,r=t.match(n)[0];St.theme!==r&&(t=t.replace(n,St.theme),Mt.theme.setAttribute("href",t))}N()}function i(){zt=!0,window.addEventListener("hashchange",pt,!1),window.addEventListener("resize",mt,!1),St.touch&&(Mt.wrapper.addEventListener("touchstart",et,!1),Mt.wrapper.addEventListener("touchmove",tt,!1),Mt.wrapper.addEventListener("touchend",nt,!1),window.navigator.msPointerEnabled&&(Mt.wrapper.addEventListener("MSPointerDown",rt,!1),Mt.wrapper.addEventListener("MSPointerMove",ot,!1),Mt.wrapper.addEventListener("MSPointerUp",at,!1))),St.keyboard&&document.addEventListener("keydown",J,!1),St.progress&&Mt.progress&&Mt.progress.addEventListener("click",it,!1),St.controls&&Mt.controls&&["touchstart","click"].forEach(function(e){Mt.controlsLeft.forEach(function(t){t.addEventListener(e,ct,!1)}),Mt.controlsRight.forEach(function(t){t.addEventListener(e,lt,!1)}),Mt.controlsUp.forEach(function(t){t.addEventListener(e,dt,!1)}),Mt.controlsDown.forEach(function(t){t.addEventListener(e,ut,!1)}),Mt.controlsPrev.forEach(function(t){t.addEventListener(e,ft,!1)}),Mt.controlsNext.forEach(function(t){t.addEventListener(e,vt,!1)})})}function c(){zt=!1,document.removeEventListener("keydown",J,!1),window.removeEventListener("hashchange",pt,!1),window.removeEventListener("resize",mt,!1),Mt.wrapper.removeEventListener("touchstart",et,!1),Mt.wrapper.removeEventListener("touchmove",tt,!1),Mt.wrapper.removeEventListener("touchend",nt,!1),window.navigator.msPointerEnabled&&(Mt.wrapper.removeEventListener("MSPointerDown",rt,!1),Mt.wrapper.removeEventListener("MSPointerMove",ot,!1),Mt.wrapper.removeEventListener("MSPointerUp",at,!1)),St.progress&&Mt.progress&&Mt.progress.removeEventListener("click",it,!1),St.controls&&Mt.controls&&["touchstart","click"].forEach(function(e){Mt.controlsLeft.forEach(function(t){t.removeEventListener(e,ct,!1)}),Mt.controlsRight.forEach(function(t){t.removeEventListener(e,lt,!1)}),Mt.controlsUp.forEach(function(t){t.removeEventListener(e,dt,!1)}),Mt.controlsDown.forEach(function(t){t.removeEventListener(e,ut,!1)}),Mt.controlsPrev.forEach(function(t){t.removeEventListener(e,ft,!1)}),Mt.controlsNext.forEach(function(t){t.removeEventListener(e,vt,!1)})})}function l(e,t){for(var n in t)e[n]=t[n]}function d(e){return Array.prototype.slice.call(e)}function u(e,t){var n=e.x-t.x,r=e.y-t.y;return Math.sqrt(n*n+r*r)}function f(){0===window.orientation?(document.documentElement.style.overflow="scroll",document.body.style.height="120%"):(document.documentElement.style.overflow="",document.body.style.height="100%"),setTimeout(function(){window.scrollTo(0,1)},10)}function v(e,t){var n=document.createEvent("HTMLEvents",1,2);n.initEvent(e,!0,!0),l(n,t),Mt.wrapper.dispatchEvent(n)}function p(){if(Pt&&!("msPerspective"in document.body.style))for(var e=document.querySelectorAll(bt+" a:not(.image)"),t=0,n=e.length;n>t;t++){var r=e[t];if(!(!r.textContent||r.querySelector("*")||r.className&&r.classList.contains(r,"roll"))){var o=document.createElement("span");o.setAttribute("data-title",r.text),o.innerHTML=r.innerHTML,r.classList.add("roll"),r.innerHTML="",r.appendChild(o)}}}function m(){for(var e=document.querySelectorAll(bt+" a.roll"),t=0,n=e.length;n>t;t++){var r=e[t],o=r.querySelector("span");o&&(r.classList.remove("roll"),r.innerHTML=o.innerHTML)}}function h(e){var t=d(e);return t.forEach(function(e,t){e.hasAttribute("data-fragment-index")||e.setAttribute("data-fragment-index",t)}),t.sort(function(e,t){return e.getAttribute("data-fragment-index")-t.getAttribute("data-fragment-index")}),t}function g(){if(Mt.wrapper){var e=Mt.wrapper.offsetWidth,t=Mt.wrapper.offsetHeight;e-=t*St.margin,t-=t*St.margin;var n=St.width,r=St.height;if("string"==typeof n&&/%$/.test(n)&&(n=parseInt(n,10)/100*e),"string"==typeof r&&/%$/.test(r)&&(r=parseInt(r,10)/100*t),Mt.slides.style.width=n+"px",Mt.slides.style.height=r+"px",Tt=Math.min(e/n,t/r),Tt=Math.max(Tt,St.minScale),Tt=Math.min(Tt,St.maxScale),void 0===Mt.slides.style.zoom||navigator.userAgent.match(/(iphone|ipod|ipad|android)/gi)){var o="translate(-50%, -50%) scale("+Tt+") translate(50%, 50%)";Mt.slides.style.WebkitTransform=o,Mt.slides.style.MozTransform=o,Mt.slides.style.msTransform=o,Mt.slides.style.OTransform=o,Mt.slides.style.transform=o}else Mt.slides.style.zoom=Tt;for(var a=d(document.querySelectorAll(bt)),s=0,i=a.length;i>s;s++){var c=a[s];"none"!==c.style.display&&(c.style.top=St.center?c.classList.contains("stack")?0:Math.max(-(c.offsetHeight/2)-20,-r/2)+"px":"")}C()}}function y(e,t){"object"==typeof e&&"function"==typeof e.setAttribute&&e.setAttribute("data-previous-indexv",t||0)}function b(e){if("object"==typeof e&&"function"==typeof e.setAttribute&&e.classList.contains("stack")){var t=e.hasAttribute("data-start-indexv")?"data-start-indexv":"data-previous-indexv";return parseInt(e.getAttribute(t)||0,10)}return 0}function L(){if(St.overview){K();var e=Mt.wrapper.classList.contains("overview");Mt.wrapper.classList.add("overview"),Mt.wrapper.classList.remove("exit-overview"),clearTimeout(Ot),clearTimeout(Yt),Ot=setTimeout(function(){for(var t=document.querySelectorAll(Lt),n=0,r=t.length;r>n;n++){var o=t[n],a=St.rtl?-105:105,s="translateZ(-2500px) translate("+(n-At)*a+"%, 0%)";if(o.setAttribute("data-index-h",n),o.style.display="block",o.style.WebkitTransform=s,o.style.MozTransform=s,o.style.msTransform=s,o.style.OTransform=s,o.style.transform=s,o.classList.contains("stack"))for(var i=o.querySelectorAll("section"),c=0,l=i.length;l>c;c++){var d=n===At?qt:b(o),u=i[c],f="translate(0%, "+105*(c-d)+"%)";u.setAttribute("data-index-h",n),u.setAttribute("data-index-v",c),u.style.display="block",u.style.WebkitTransform=f,u.style.MozTransform=f,u.style.msTransform=f,u.style.OTransform=f,u.style.transform=f,u.addEventListener("click",ht,!0)}else o.addEventListener("click",ht,!0)}g(),e||v("overviewshown",{indexh:At,indexv:qt,currentSlide:yt})},10)}}function w(){if(St.overview){clearTimeout(Ot),clearTimeout(Yt),Mt.wrapper.classList.remove("overview"),Mt.wrapper.classList.add("exit-overview"),Yt=setTimeout(function(){Mt.wrapper.classList.remove("exit-overview")},10);for(var e=d(document.querySelectorAll(bt)),t=0,n=e.length;n>t;t++){var r=e[t];r.style.display="",r.style.WebkitTransform="",r.style.MozTransform="",r.style.msTransform="",r.style.OTransform="",r.style.transform="",r.removeEventListener("click",ht,!0)}P(At,qt),_(),v("overviewhidden",{indexh:At,indexv:qt,currentSlide:yt})}}function E(e){"boolean"==typeof e?e?L():w():S()?w():L()}function S(){return Mt.wrapper.classList.contains("overview")}function k(e){return e=e?e:yt,e&&!!e.parentNode.nodeName.match(/section/i)}function A(){var e=document.body,t=e.requestFullScreen||e.webkitRequestFullscreen||e.webkitRequestFullScreen||e.mozRequestFullScreen||e.msRequestFullScreen;t&&t.apply(e)}function q(){var e=Mt.wrapper.classList.contains("paused");K(),Mt.wrapper.classList.add("paused"),e===!1&&v("paused")}function x(){var e=Mt.wrapper.classList.contains("paused");Mt.wrapper.classList.remove("paused"),_(),e&&v("resumed")}function T(){M()?x():q()}function M(){return Mt.wrapper.classList.contains("paused")}function P(e,t,n,r){gt=yt;var o=document.querySelectorAll(Lt);void 0===t&&(t=b(o[e])),gt&>.parentNode&>.parentNode.classList.contains("stack")&&y(gt.parentNode,qt);var a=xt.concat();xt.length=0;var s=At,i=qt;At=D(Lt,void 0===e?At:e),qt=D(wt,void 0===t?qt:t),g();e:for(var c=0,l=xt.length;l>c;c++){for(var u=0;a.length>u;u++)if(a[u]===xt[c]){a.splice(u,1);continue e}document.documentElement.classList.add(xt[c]),v(xt[c])}for(;a.length;)document.documentElement.classList.remove(a.pop());S()&&L(),W(1500);var f=o[At],p=f.querySelectorAll("section");if(yt=p[qt]||f,n!==void 0){var m=h(yt.querySelectorAll(".fragment"));d(m).forEach(function(e,t){n>t?e.classList.add("visible"):e.classList.remove("visible")})}At!==s||qt!==i?v("slidechanged",{indexh:At,indexv:qt,previousSlide:gt,currentSlide:yt,origin:r}):gt=null,gt&&(gt.classList.remove("present"),document.querySelector(Et).classList.contains("present")&&setTimeout(function(){var e,t=d(document.querySelectorAll(Lt+".stack"));for(e in t)t[e]&&y(t[e],0)},0)),H(gt),X(yt),R(),C(),O()}function N(){c(),i(),g(),kt=St.autoSlide,_(),n(),R(),C(),O()}function D(e,t){var n=d(document.querySelectorAll(e)),r=n.length;if(r){St.loop&&(t%=r,0>t&&(t=r+t)),t=Math.max(Math.min(t,r-1),0);for(var o=0;r>o;o++){var a=n[o];if(S()===!1){var s=Math.abs((t-o)%(r-3))||0;a.style.display=s>3?"none":"block"}var i=St.rtl&&!k(a);a.classList.remove("past"),a.classList.remove("present"),a.classList.remove("future"),t>o?a.classList.add(i?"future":"past"):o>t&&a.classList.add(i?"past":"future"),a.querySelector("section")&&a.classList.add("stack")}n[t].classList.add("present");var c=n[t].getAttribute("data-state");c&&(xt=xt.concat(c.split(" ")));var l=n[t].getAttribute("data-autoslide");kt=l?parseInt(l,10):St.autoSlide}else t=0;return t}function C(){if(St.progress&&Mt.progress){var e=d(document.querySelectorAll(Lt)),t=document.querySelectorAll(bt+":not(.stack)").length,n=0;e:for(var r=0;e.length>r;r++){for(var o=e[r],a=d(o.querySelectorAll("section")),s=0;a.length>s;s++){if(a[s].classList.contains("present"))break e;n++}if(o.classList.contains("present"))break;o.classList.contains("stack")===!1&&n++}Mt.progressbar.style.width=n/(t-1)*window.innerWidth+"px"}}function R(){if(St.controls&&Mt.controls){var e=Y(),t=z();Mt.controlsLeft.concat(Mt.controlsRight).concat(Mt.controlsUp).concat(Mt.controlsDown).concat(Mt.controlsPrev).concat(Mt.controlsNext).forEach(function(e){e.classList.remove("enabled"),e.classList.remove("fragmented")}),e.left&&Mt.controlsLeft.forEach(function(e){e.classList.add("enabled")}),e.right&&Mt.controlsRight.forEach(function(e){e.classList.add("enabled")}),e.up&&Mt.controlsUp.forEach(function(e){e.classList.add("enabled")}),e.down&&Mt.controlsDown.forEach(function(e){e.classList.add("enabled")}),(e.left||e.up)&&Mt.controlsPrev.forEach(function(e){e.classList.add("enabled")}),(e.right||e.down)&&Mt.controlsNext.forEach(function(e){e.classList.add("enabled")}),yt&&(t.prev&&Mt.controlsPrev.forEach(function(e){e.classList.add("fragmented","enabled")}),t.next&&Mt.controlsNext.forEach(function(e){e.classList.add("fragmented","enabled")}),k(yt)?(t.prev&&Mt.controlsUp.forEach(function(e){e.classList.add("fragmented","enabled")}),t.next&&Mt.controlsDown.forEach(function(e){e.classList.add("fragmented","enabled")})):(t.prev&&Mt.controlsLeft.forEach(function(e){e.classList.add("fragmented","enabled")}),t.next&&Mt.controlsRight.forEach(function(e){e.classList.add("fragmented","enabled")})))}}function O(){d(Mt.background.childNodes).forEach(function(e,t){e.className=At>t?"past":t>At?"future":"present",d(e.childNodes).forEach(function(e,t){e.className=qt>t?"past":t>qt?"future":"present"})}),setTimeout(function(){Mt.background.classList.remove("no-transition")},1)}function Y(){var e=document.querySelectorAll(Lt),t=document.querySelectorAll(wt),n={left:At>0||St.loop,right:e.length-1>At||St.loop,up:qt>0,down:t.length-1>qt};if(St.rtl){var r=n.left;n.left=n.right,n.right=r}return n}function z(){if(yt&&St.fragments){var e=yt.querySelectorAll(".fragment"),t=yt.querySelectorAll(".fragment:not(.visible)");return{prev:e.length-t.length>0,next:!!t.length}}return{prev:!1,next:!1}}function X(e){e&&(d(e.querySelectorAll("video, audio")).forEach(function(e){e.hasAttribute("data-autoplay")&&e.play()}),d(e.querySelectorAll('iframe[src*="youtube.com/embed/"]')).forEach(function(e){e.hasAttribute("data-autoplay")&&e.contentWindow.postMessage('{"event":"command","func":"playVideo","args":""}',"*")}))}function H(e){e&&(d(e.querySelectorAll("video, audio")).forEach(function(e){e.hasAttribute("data-ignore")||e.pause()}),d(e.querySelectorAll('iframe[src*="youtube.com/embed/"]')).forEach(function(e){e.hasAttribute("data-ignore")||"function"!=typeof e.contentWindow.postMessage||e.contentWindow.postMessage('{"event":"command","func":"pauseVideo","args":""}',"*")}))}function I(){var e=window.location.hash,t=e.slice(2).split("/"),n=e.replace(/#|\//gi,"");if(isNaN(parseInt(t[0],10))&&n.length){var r=document.querySelector("#"+n);if(r){var o=Reveal.getIndices(r);P(o.h,o.v)}else P(At,qt)}else{var a=parseInt(t[0],10)||0,s=parseInt(t[1],10)||0;P(a,s)}}function W(e){if(St.history)if(clearTimeout(Rt),"number"==typeof e)Rt=setTimeout(W,e);else{var t="/";yt&&"string"==typeof yt.getAttribute("id")?t="/"+yt.getAttribute("id"):((At>0||qt>0)&&(t+=At),qt>0&&(t+="/"+qt)),window.location.hash=t}}function U(e){var t,n=At,r=qt;if(e){var o=k(e),a=o?e.parentNode:e,s=d(document.querySelectorAll(Lt));n=Math.max(s.indexOf(a),0),o&&(r=Math.max(d(e.parentNode.querySelectorAll("section")).indexOf(e),0))}if(!e&&yt){var i=yt.querySelectorAll(".fragment.visible");i.length&&(t=i.length)}return{h:n,v:r,f:t}}function F(){if(yt&&St.fragments){var e=h(yt.querySelectorAll(".fragment:not(.visible)"));if(e.length){var t=e[0].getAttribute("data-fragment-index");return e=yt.querySelectorAll('.fragment[data-fragment-index="'+t+'"]'),d(e).forEach(function(e){e.classList.add("visible"),v("fragmentshown",{fragment:e})}),R(),!0}}return!1}function j(){if(yt&&St.fragments){var e=h(yt.querySelectorAll(".fragment.visible"));if(e.length){var t=e[e.length-1].getAttribute("data-fragment-index");return e=yt.querySelectorAll('.fragment[data-fragment-index="'+t+'"]'),d(e).forEach(function(e){e.classList.remove("visible"),v("fragmenthidden",{fragment:e})}),R(),!0}}return!1}function _(){clearTimeout(Ct),!kt||M()||S()||(Ct=setTimeout(G,kt))}function K(){clearTimeout(Ct)}function $(){St.rtl?(S()||F()===!1)&&Y().left&&P(At+1):(S()||j()===!1)&&Y().left&&P(At-1)}function V(){St.rtl?(S()||j()===!1)&&Y().right&&P(At-1):(S()||F()===!1)&&Y().right&&P(At+1)}function Z(){(S()||j()===!1)&&Y().up&&P(At,qt-1)}function Q(){(S()||F()===!1)&&Y().down&&P(At,qt+1)}function B(){if(j()===!1)if(Y().up)Z();else{var e=document.querySelector(Lt+".past:nth-child("+At+")");e&&(qt=e.querySelectorAll("section").length+1||void 0,At--,P(At,qt))}}function G(){F()===!1&&(Y().down?Q():V()),_()}function J(e){document.activeElement;var t=!(!document.activeElement||!document.activeElement.type&&!document.activeElement.href&&"inherit"===document.activeElement.contentEditable);if(!(t||e.shiftKey&&32!==e.keyCode||e.altKey||e.ctrlKey||e.metaKey)){var n=!0;if(M()&&-1===[66,190,191].indexOf(e.keyCode))return!1;switch(e.keyCode){case 80:case 33:B();break;case 78:case 34:G();break;case 72:case 37:$();break;case 76:case 39:V();break;case 75:case 38:Z();break;case 74:case 40:Q();break;case 36:P(0);break;case 35:P(Number.MAX_VALUE);break;case 32:S()?w():e.shiftKey?B():G();break;case 13:S()?w():n=!1;break;case 66:case 190:case 191:T();break;case 70:A();break;default:n=!1}n?e.preventDefault():27===e.keyCode&&Pt&&(E(),e.preventDefault()),_()}}function et(e){Xt.startX=e.touches[0].clientX,Xt.startY=e.touches[0].clientY,Xt.startCount=e.touches.length,2===e.touches.length&&St.overview&&(Xt.startSpan=u({x:e.touches[1].clientX,y:e.touches[1].clientY},{x:Xt.startX,y:Xt.startY}))}function tt(e){if(Xt.handled)navigator.userAgent.match(/android/gi)&&e.preventDefault();else{var t=e.touches[0].clientX,n=e.touches[0].clientY;if(2===e.touches.length&&2===Xt.startCount&&St.overview){var r=u({x:e.touches[1].clientX,y:e.touches[1].clientY},{x:Xt.startX,y:Xt.startY});Math.abs(Xt.startSpan-r)>Xt.threshold&&(Xt.handled=!0,Xt.startSpan>r?L():w()),e.preventDefault()}else if(1===e.touches.length&&2!==Xt.startCount){var o=t-Xt.startX,a=n-Xt.startY;o>Xt.threshold&&Math.abs(o)>Math.abs(a)?(Xt.handled=!0,$()):-Xt.threshold>o&&Math.abs(o)>Math.abs(a)?(Xt.handled=!0,V()):a>Xt.threshold?(Xt.handled=!0,Z()):-Xt.threshold>a&&(Xt.handled=!0,Q()),e.preventDefault()}}}function nt(){Xt.handled=!1}function rt(e){e.pointerType===e.MSPOINTER_TYPE_TOUCH&&(e.touches=[{clientX:e.clientX,clientY:e.clientY}],et(e))}function ot(e){e.pointerType===e.MSPOINTER_TYPE_TOUCH&&(e.touches=[{clientX:e.clientX,clientY:e.clientY}],tt(e))}function at(e){e.pointerType===e.MSPOINTER_TYPE_TOUCH&&(e.touches=[{clientX:e.clientX,clientY:e.clientY}],nt(e))}function st(e){clearTimeout(Dt),Dt=setTimeout(function(){var t=e.detail||-e.wheelDelta;t>0?G():B()},100)}function it(e){e.preventDefault();var t=d(document.querySelectorAll(Lt)).length,n=Math.floor(e.clientX/Mt.wrapper.offsetWidth*t);P(n)}function ct(e){e.preventDefault(),$()}function lt(e){e.preventDefault(),V()}function dt(e){e.preventDefault(),Z()}function ut(e){e.preventDefault(),Q()}function ft(e){e.preventDefault(),B()}function vt(e){e.preventDefault(),G()}function pt(){I()}function mt(){g()}function ht(e){if(zt&&S()){e.preventDefault();for(var t=e.target;t&&!t.nodeName.match(/section/gi);)t=t.parentNode;if(t&&!t.classList.contains("disabled")&&(w(),t.nodeName.match(/section/gi))){var n=parseInt(t.getAttribute("data-index-h"),10),r=parseInt(t.getAttribute("data-index-v"),10);P(n,r)}}}var gt,yt,bt=".reveal .slides section",Lt=".reveal .slides>section",wt=".reveal .slides>section.present>section",Et=".reveal .slides>section:first-child",St={width:960,height:700,margin:.1,minScale:.2,maxScale:1,controls:!0,progress:!0,history:!1,keyboard:!0,overview:!0,center:!0,touch:!0,loop:!1,rtl:!1,fragments:!0,autoSlide:0,mouseWheel:!1,rollingLinks:!0,theme:null,transition:"default",transitionSpeed:"default",dependencies:[]},kt=0,At=0,qt=0,xt=[],Tt=1,Mt={},Pt="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,Nt="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,Dt=0,Ct=0,Rt=0,Ot=0,Yt=0,zt=!1,Xt={startX:0,startY:0,startSpan:0,startCount:0,handled:!1,threshold:80};return{initialize:e,configure:s,sync:N,slide:P,left:$,right:V,up:Z,down:Q,prev:B,next:G,prevFragment:j,nextFragment:F,navigateTo:P,navigateLeft:$,navigateRight:V,navigateUp:Z,navigateDown:Q,navigatePrev:B,navigateNext:G,layout:g,availableRoutes:Y,availableFragments:z,toggleOverview:E,togglePause:T,isOverview:S,isPaused:M,addEventListeners:i,removeEventListeners:c,getIndices:U,getSlide:function(e,t){var n=document.querySelectorAll(Lt)[e],r=n&&n.querySelectorAll("section");return t!==void 0?r?r[t]:void 0:n},getPreviousSlide:function(){return gt},getCurrentSlide:function(){return yt},getScale:function(){return Tt},getConfig:function(){return St},getQueryHash:function(){var e={};return location.search.replace(/[A-Z0-9]+?=(\w*)/gi,function(t){e[t.split("=").shift()]=t.split("=").pop()}),e},isFirstSlide:function(){return null==document.querySelector(bt+".past")?!0:!1},isLastSlide:function(){return yt&&yt.classList.contains(".stack")?null==yt.querySelector(bt+".future")?!0:!1:null==document.querySelector(bt+".future")?!0:!1},addEventListener:function(e,t,n){"addEventListener"in window&&(Mt.wrapper||document.querySelector(".reveal")).addEventListener(e,t,n)},removeEventListener:function(e,t,n){"addEventListener"in window&&(Mt.wrapper||document.querySelector(".reveal")).removeEventListener(e,t,n)}}}(); \ No newline at end of file +var Reveal=function(){"use strict";function e(e){return Nt||Pt?(window.addEventListener("load",g,!1),l(St,e),r(),o(),void 0):(document.body.setAttribute("class","no-transforms"),void 0)}function t(){if(Mt.theme=document.querySelector("#theme"),Mt.wrapper=document.querySelector(".reveal"),Mt.slides=document.querySelector(".reveal .slides"),document.querySelector(".reveal .background")||(Mt.background=document.createElement("div"),Mt.background.classList.add("background"),Mt.wrapper.appendChild(Mt.background)),!Mt.wrapper.querySelector(".progress")){var e=document.createElement("div");e.classList.add("progress"),e.innerHTML="",Mt.wrapper.appendChild(e)}if(!Mt.wrapper.querySelector(".controls")){var t=document.createElement("aside");t.classList.add("controls"),t.innerHTML='',Mt.wrapper.appendChild(t)}if(!Mt.wrapper.querySelector(".state-background")){var n=document.createElement("div");n.classList.add("state-background"),Mt.wrapper.appendChild(n)}if(!Mt.wrapper.querySelector(".pause-overlay")){var r=document.createElement("div");r.classList.add("pause-overlay"),Mt.wrapper.appendChild(r)}Mt.progress=document.querySelector(".reveal .progress"),Mt.progressbar=document.querySelector(".reveal .progress span"),St.controls&&(Mt.controls=document.querySelector(".reveal .controls"),Mt.controlsLeft=d(document.querySelectorAll(".navigate-left")),Mt.controlsRight=d(document.querySelectorAll(".navigate-right")),Mt.controlsUp=d(document.querySelectorAll(".navigate-up")),Mt.controlsDown=d(document.querySelectorAll(".navigate-down")),Mt.controlsPrev=d(document.querySelectorAll(".navigate-prev")),Mt.controlsNext=d(document.querySelectorAll(".navigate-next")))}function n(){function e(e,t){var n={background:e.getAttribute("data-background"),backgroundSize:e.getAttribute("data-background-size"),backgroundRepeat:e.getAttribute("data-background-repeat"),backgroundPosition:e.getAttribute("data-background-position")},r=document.createElement("div");return n.background&&(/\.(png|jpg|jpeg|gif|bmp|)$/gi.test(n.background)?r.style.backgroundImage="url("+n.background+")":r.style.background=n.background),n.backgroundSize&&(r.style.backgroundSize=n.backgroundSize),n.backgroundRepeat&&(r.style.backgroundRepeat=n.backgroundRepeat),n.backgroundPosition&&(r.style.backgroundPosition=n.backgroundPosition),t.appendChild(r),r}Mt.background.innerHTML="",Mt.background.classList.add("no-transition"),d(document.querySelectorAll(Lt)).forEach(function(t){var n=e(t,Mt.background);d(t.querySelectorAll("section")).forEach(function(t){e(t,n)})})}function r(){/iphone|ipod|android/gi.test(navigator.userAgent)&&!/crios/gi.test(navigator.userAgent)&&(window.addEventListener("load",f,!1),window.addEventListener("orientationchange",f,!1))}function o(){function e(){n.length&&head.js.apply(null,n),a()}for(var t=[],n=[],r=0,o=St.dependencies.length;o>r;r++){var s=St.dependencies[r];(!s.condition||s.condition())&&(s.async?n.push(s.src):t.push(s.src),"function"==typeof s.callback&&head.ready(s.src.match(/([\w\d_\-]*)\.?js$|[^\\\/]*$/i)[0],s.callback))}t.length?(head.ready(e),head.js.apply(null,t)):e()}function a(){t(),s(),I(),setTimeout(function(){v("ready",{indexh:At,indexv:qt,currentSlide:yt})},1)}function s(e){if(Mt.wrapper.classList.remove(St.transition),"object"==typeof e&&l(St,e),Pt===!1&&(St.transition="linear"),Mt.wrapper.classList.add(St.transition),Mt.wrapper.setAttribute("data-transition-speed",St.transitionSpeed),Mt.wrapper.setAttribute("data-background-transition",St.backgroundTransition),Mt.controls&&(Mt.controls.style.display=St.controls&&Mt.controls?"block":"none"),Mt.progress&&(Mt.progress.style.display=St.progress&&Mt.progress?"block":"none"),St.rtl?Mt.wrapper.classList.add("rtl"):Mt.wrapper.classList.remove("rtl"),St.center?Mt.wrapper.classList.add("center"):Mt.wrapper.classList.remove("center"),St.mouseWheel?(document.addEventListener("DOMMouseScroll",st,!1),document.addEventListener("mousewheel",st,!1)):(document.removeEventListener("DOMMouseScroll",st,!1),document.removeEventListener("mousewheel",st,!1)),St.rollingLinks?p():m(),St.theme&&Mt.theme){var t=Mt.theme.getAttribute("href"),n=/[^\/]*?(?=\.css)/,r=t.match(n)[0];St.theme!==r&&(t=t.replace(n,St.theme),Mt.theme.setAttribute("href",t))}N()}function i(){zt=!0,window.addEventListener("hashchange",pt,!1),window.addEventListener("resize",mt,!1),St.touch&&(Mt.wrapper.addEventListener("touchstart",et,!1),Mt.wrapper.addEventListener("touchmove",tt,!1),Mt.wrapper.addEventListener("touchend",nt,!1),window.navigator.msPointerEnabled&&(Mt.wrapper.addEventListener("MSPointerDown",rt,!1),Mt.wrapper.addEventListener("MSPointerMove",ot,!1),Mt.wrapper.addEventListener("MSPointerUp",at,!1))),St.keyboard&&document.addEventListener("keydown",J,!1),St.progress&&Mt.progress&&Mt.progress.addEventListener("click",it,!1),St.controls&&Mt.controls&&["touchstart","click"].forEach(function(e){Mt.controlsLeft.forEach(function(t){t.addEventListener(e,ct,!1)}),Mt.controlsRight.forEach(function(t){t.addEventListener(e,lt,!1)}),Mt.controlsUp.forEach(function(t){t.addEventListener(e,dt,!1)}),Mt.controlsDown.forEach(function(t){t.addEventListener(e,ut,!1)}),Mt.controlsPrev.forEach(function(t){t.addEventListener(e,ft,!1)}),Mt.controlsNext.forEach(function(t){t.addEventListener(e,vt,!1)})})}function c(){zt=!1,document.removeEventListener("keydown",J,!1),window.removeEventListener("hashchange",pt,!1),window.removeEventListener("resize",mt,!1),Mt.wrapper.removeEventListener("touchstart",et,!1),Mt.wrapper.removeEventListener("touchmove",tt,!1),Mt.wrapper.removeEventListener("touchend",nt,!1),window.navigator.msPointerEnabled&&(Mt.wrapper.removeEventListener("MSPointerDown",rt,!1),Mt.wrapper.removeEventListener("MSPointerMove",ot,!1),Mt.wrapper.removeEventListener("MSPointerUp",at,!1)),St.progress&&Mt.progress&&Mt.progress.removeEventListener("click",it,!1),St.controls&&Mt.controls&&["touchstart","click"].forEach(function(e){Mt.controlsLeft.forEach(function(t){t.removeEventListener(e,ct,!1)}),Mt.controlsRight.forEach(function(t){t.removeEventListener(e,lt,!1)}),Mt.controlsUp.forEach(function(t){t.removeEventListener(e,dt,!1)}),Mt.controlsDown.forEach(function(t){t.removeEventListener(e,ut,!1)}),Mt.controlsPrev.forEach(function(t){t.removeEventListener(e,ft,!1)}),Mt.controlsNext.forEach(function(t){t.removeEventListener(e,vt,!1)})})}function l(e,t){for(var n in t)e[n]=t[n]}function d(e){return Array.prototype.slice.call(e)}function u(e,t){var n=e.x-t.x,r=e.y-t.y;return Math.sqrt(n*n+r*r)}function f(){0===window.orientation?(document.documentElement.style.overflow="scroll",document.body.style.height="120%"):(document.documentElement.style.overflow="",document.body.style.height="100%"),setTimeout(function(){window.scrollTo(0,1)},10)}function v(e,t){var n=document.createEvent("HTMLEvents",1,2);n.initEvent(e,!0,!0),l(n,t),Mt.wrapper.dispatchEvent(n)}function p(){if(Pt&&!("msPerspective"in document.body.style))for(var e=document.querySelectorAll(bt+" a:not(.image)"),t=0,n=e.length;n>t;t++){var r=e[t];if(!(!r.textContent||r.querySelector("*")||r.className&&r.classList.contains(r,"roll"))){var o=document.createElement("span");o.setAttribute("data-title",r.text),o.innerHTML=r.innerHTML,r.classList.add("roll"),r.innerHTML="",r.appendChild(o)}}}function m(){for(var e=document.querySelectorAll(bt+" a.roll"),t=0,n=e.length;n>t;t++){var r=e[t],o=r.querySelector("span");o&&(r.classList.remove("roll"),r.innerHTML=o.innerHTML)}}function h(e){var t=d(e);return t.forEach(function(e,t){e.hasAttribute("data-fragment-index")||e.setAttribute("data-fragment-index",t)}),t.sort(function(e,t){return e.getAttribute("data-fragment-index")-t.getAttribute("data-fragment-index")}),t}function g(){if(Mt.wrapper){var e=Mt.wrapper.offsetWidth,t=Mt.wrapper.offsetHeight;e-=t*St.margin,t-=t*St.margin;var n=St.width,r=St.height;if("string"==typeof n&&/%$/.test(n)&&(n=parseInt(n,10)/100*e),"string"==typeof r&&/%$/.test(r)&&(r=parseInt(r,10)/100*t),Mt.slides.style.width=n+"px",Mt.slides.style.height=r+"px",Tt=Math.min(e/n,t/r),Tt=Math.max(Tt,St.minScale),Tt=Math.min(Tt,St.maxScale),void 0===Mt.slides.style.zoom||navigator.userAgent.match(/(iphone|ipod|ipad|android)/gi)){var o="translate(-50%, -50%) scale("+Tt+") translate(50%, 50%)";Mt.slides.style.WebkitTransform=o,Mt.slides.style.MozTransform=o,Mt.slides.style.msTransform=o,Mt.slides.style.OTransform=o,Mt.slides.style.transform=o}else Mt.slides.style.zoom=Tt;for(var a=d(document.querySelectorAll(bt)),s=0,i=a.length;i>s;s++){var c=a[s];"none"!==c.style.display&&(c.style.top=St.center?c.classList.contains("stack")?0:Math.max(-(c.offsetHeight/2)-20,-r/2)+"px":"")}C()}}function y(e,t){"object"==typeof e&&"function"==typeof e.setAttribute&&e.setAttribute("data-previous-indexv",t||0)}function b(e){if("object"==typeof e&&"function"==typeof e.setAttribute&&e.classList.contains("stack")){var t=e.hasAttribute("data-start-indexv")?"data-start-indexv":"data-previous-indexv";return parseInt(e.getAttribute(t)||0,10)}return 0}function L(){if(St.overview){K();var e=Mt.wrapper.classList.contains("overview");Mt.wrapper.classList.add("overview"),Mt.wrapper.classList.remove("exit-overview"),clearTimeout(Ot),clearTimeout(Yt),Ot=setTimeout(function(){for(var t=document.querySelectorAll(Lt),n=0,r=t.length;r>n;n++){var o=t[n],a=St.rtl?-105:105,s="translateZ(-2500px) translate("+(n-At)*a+"%, 0%)";if(o.setAttribute("data-index-h",n),o.style.display="block",o.style.WebkitTransform=s,o.style.MozTransform=s,o.style.msTransform=s,o.style.OTransform=s,o.style.transform=s,o.classList.contains("stack"))for(var i=o.querySelectorAll("section"),c=0,l=i.length;l>c;c++){var d=n===At?qt:b(o),u=i[c],f="translate(0%, "+105*(c-d)+"%)";u.setAttribute("data-index-h",n),u.setAttribute("data-index-v",c),u.style.display="block",u.style.WebkitTransform=f,u.style.MozTransform=f,u.style.msTransform=f,u.style.OTransform=f,u.style.transform=f,u.addEventListener("click",ht,!0)}else o.addEventListener("click",ht,!0)}g(),e||v("overviewshown",{indexh:At,indexv:qt,currentSlide:yt})},10)}}function w(){if(St.overview){clearTimeout(Ot),clearTimeout(Yt),Mt.wrapper.classList.remove("overview"),Mt.wrapper.classList.add("exit-overview"),Yt=setTimeout(function(){Mt.wrapper.classList.remove("exit-overview")},10);for(var e=d(document.querySelectorAll(bt)),t=0,n=e.length;n>t;t++){var r=e[t];r.style.display="",r.style.WebkitTransform="",r.style.MozTransform="",r.style.msTransform="",r.style.OTransform="",r.style.transform="",r.removeEventListener("click",ht,!0)}P(At,qt),_(),v("overviewhidden",{indexh:At,indexv:qt,currentSlide:yt})}}function E(e){"boolean"==typeof e?e?L():w():S()?w():L()}function S(){return Mt.wrapper.classList.contains("overview")}function k(e){return e=e?e:yt,e&&!!e.parentNode.nodeName.match(/section/i)}function A(){var e=document.body,t=e.requestFullScreen||e.webkitRequestFullscreen||e.webkitRequestFullScreen||e.mozRequestFullScreen||e.msRequestFullScreen;t&&t.apply(e)}function q(){var e=Mt.wrapper.classList.contains("paused");K(),Mt.wrapper.classList.add("paused"),e===!1&&v("paused")}function x(){var e=Mt.wrapper.classList.contains("paused");Mt.wrapper.classList.remove("paused"),_(),e&&v("resumed")}function T(){M()?x():q()}function M(){return Mt.wrapper.classList.contains("paused")}function P(e,t,n,r){gt=yt;var o=document.querySelectorAll(Lt);void 0===t&&(t=b(o[e])),gt&>.parentNode&>.parentNode.classList.contains("stack")&&y(gt.parentNode,qt);var a=xt.concat();xt.length=0;var s=At,i=qt;At=D(Lt,void 0===e?At:e),qt=D(wt,void 0===t?qt:t),g();e:for(var c=0,l=xt.length;l>c;c++){for(var u=0;a.length>u;u++)if(a[u]===xt[c]){a.splice(u,1);continue e}document.documentElement.classList.add(xt[c]),v(xt[c])}for(;a.length;)document.documentElement.classList.remove(a.pop());S()&&L(),W(1500);var f=o[At],p=f.querySelectorAll("section");if(yt=p[qt]||f,n!==void 0){var m=h(yt.querySelectorAll(".fragment"));d(m).forEach(function(e,t){n>t?e.classList.add("visible"):e.classList.remove("visible")})}At!==s||qt!==i?v("slidechanged",{indexh:At,indexv:qt,previousSlide:gt,currentSlide:yt,origin:r}):gt=null,gt&&(gt.classList.remove("present"),document.querySelector(Et).classList.contains("present")&&setTimeout(function(){var e,t=d(document.querySelectorAll(Lt+".stack"));for(e in t)t[e]&&y(t[e],0)},0)),H(gt),X(yt),R(),C(),O()}function N(){c(),i(),g(),kt=St.autoSlide,_(),n(),R(),C(),O()}function D(e,t){var n=d(document.querySelectorAll(e)),r=n.length;if(r){St.loop&&(t%=r,0>t&&(t=r+t)),t=Math.max(Math.min(t,r-1),0);for(var o=0;r>o;o++){var a=n[o];if(S()===!1){var s=Math.abs((t-o)%(r-3))||0;a.style.display=s>3?"none":"block"}var i=St.rtl&&!k(a);a.classList.remove("past"),a.classList.remove("present"),a.classList.remove("future"),t>o?a.classList.add(i?"future":"past"):o>t&&a.classList.add(i?"past":"future"),a.querySelector("section")&&a.classList.add("stack")}n[t].classList.add("present");var c=n[t].getAttribute("data-state");c&&(xt=xt.concat(c.split(" ")));var l=n[t].getAttribute("data-autoslide");kt=l?parseInt(l,10):St.autoSlide}else t=0;return t}function C(){if(St.progress&&Mt.progress){var e=d(document.querySelectorAll(Lt)),t=document.querySelectorAll(bt+":not(.stack)").length,n=0;e:for(var r=0;e.length>r;r++){for(var o=e[r],a=d(o.querySelectorAll("section")),s=0;a.length>s;s++){if(a[s].classList.contains("present"))break e;n++}if(o.classList.contains("present"))break;o.classList.contains("stack")===!1&&n++}Mt.progressbar.style.width=n/(t-1)*window.innerWidth+"px"}}function R(){if(St.controls&&Mt.controls){var e=Y(),t=z();Mt.controlsLeft.concat(Mt.controlsRight).concat(Mt.controlsUp).concat(Mt.controlsDown).concat(Mt.controlsPrev).concat(Mt.controlsNext).forEach(function(e){e.classList.remove("enabled"),e.classList.remove("fragmented")}),e.left&&Mt.controlsLeft.forEach(function(e){e.classList.add("enabled")}),e.right&&Mt.controlsRight.forEach(function(e){e.classList.add("enabled")}),e.up&&Mt.controlsUp.forEach(function(e){e.classList.add("enabled")}),e.down&&Mt.controlsDown.forEach(function(e){e.classList.add("enabled")}),(e.left||e.up)&&Mt.controlsPrev.forEach(function(e){e.classList.add("enabled")}),(e.right||e.down)&&Mt.controlsNext.forEach(function(e){e.classList.add("enabled")}),yt&&(t.prev&&Mt.controlsPrev.forEach(function(e){e.classList.add("fragmented","enabled")}),t.next&&Mt.controlsNext.forEach(function(e){e.classList.add("fragmented","enabled")}),k(yt)?(t.prev&&Mt.controlsUp.forEach(function(e){e.classList.add("fragmented","enabled")}),t.next&&Mt.controlsDown.forEach(function(e){e.classList.add("fragmented","enabled")})):(t.prev&&Mt.controlsLeft.forEach(function(e){e.classList.add("fragmented","enabled")}),t.next&&Mt.controlsRight.forEach(function(e){e.classList.add("fragmented","enabled")})))}}function O(){d(Mt.background.childNodes).forEach(function(e,t){e.className=At>t?"past":t>At?"future":"present",d(e.childNodes).forEach(function(e,t){e.className=qt>t?"past":t>qt?"future":"present"})}),setTimeout(function(){Mt.background.classList.remove("no-transition")},1)}function Y(){var e=document.querySelectorAll(Lt),t=document.querySelectorAll(wt),n={left:At>0||St.loop,right:e.length-1>At||St.loop,up:qt>0,down:t.length-1>qt};if(St.rtl){var r=n.left;n.left=n.right,n.right=r}return n}function z(){if(yt&&St.fragments){var e=yt.querySelectorAll(".fragment"),t=yt.querySelectorAll(".fragment:not(.visible)");return{prev:e.length-t.length>0,next:!!t.length}}return{prev:!1,next:!1}}function X(e){e&&(d(e.querySelectorAll("video, audio")).forEach(function(e){e.hasAttribute("data-autoplay")&&e.play()}),d(e.querySelectorAll('iframe[src*="youtube.com/embed/"]')).forEach(function(e){e.hasAttribute("data-autoplay")&&e.contentWindow.postMessage('{"event":"command","func":"playVideo","args":""}',"*")}))}function H(e){e&&(d(e.querySelectorAll("video, audio")).forEach(function(e){e.hasAttribute("data-ignore")||e.pause()}),d(e.querySelectorAll('iframe[src*="youtube.com/embed/"]')).forEach(function(e){e.hasAttribute("data-ignore")||"function"!=typeof e.contentWindow.postMessage||e.contentWindow.postMessage('{"event":"command","func":"pauseVideo","args":""}',"*")}))}function I(){var e=window.location.hash,t=e.slice(2).split("/"),n=e.replace(/#|\//gi,"");if(isNaN(parseInt(t[0],10))&&n.length){var r=document.querySelector("#"+n);if(r){var o=Reveal.getIndices(r);P(o.h,o.v)}else P(At,qt)}else{var a=parseInt(t[0],10)||0,s=parseInt(t[1],10)||0;P(a,s)}}function W(e){if(St.history)if(clearTimeout(Rt),"number"==typeof e)Rt=setTimeout(W,e);else{var t="/";yt&&"string"==typeof yt.getAttribute("id")?t="/"+yt.getAttribute("id"):((At>0||qt>0)&&(t+=At),qt>0&&(t+="/"+qt)),window.location.hash=t}}function U(e){var t,n=At,r=qt;if(e){var o=k(e),a=o?e.parentNode:e,s=d(document.querySelectorAll(Lt));n=Math.max(s.indexOf(a),0),o&&(r=Math.max(d(e.parentNode.querySelectorAll("section")).indexOf(e),0))}if(!e&&yt){var i=yt.querySelectorAll(".fragment.visible");i.length&&(t=i.length)}return{h:n,v:r,f:t}}function F(){if(yt&&St.fragments){var e=h(yt.querySelectorAll(".fragment:not(.visible)"));if(e.length){var t=e[0].getAttribute("data-fragment-index");return e=yt.querySelectorAll('.fragment[data-fragment-index="'+t+'"]'),d(e).forEach(function(e){e.classList.add("visible"),v("fragmentshown",{fragment:e})}),R(),!0}}return!1}function j(){if(yt&&St.fragments){var e=h(yt.querySelectorAll(".fragment.visible"));if(e.length){var t=e[e.length-1].getAttribute("data-fragment-index");return e=yt.querySelectorAll('.fragment[data-fragment-index="'+t+'"]'),d(e).forEach(function(e){e.classList.remove("visible"),v("fragmenthidden",{fragment:e})}),R(),!0}}return!1}function _(){clearTimeout(Ct),!kt||M()||S()||(Ct=setTimeout(G,kt))}function K(){clearTimeout(Ct)}function $(){St.rtl?(S()||F()===!1)&&Y().left&&P(At+1):(S()||j()===!1)&&Y().left&&P(At-1)}function V(){St.rtl?(S()||j()===!1)&&Y().right&&P(At-1):(S()||F()===!1)&&Y().right&&P(At+1)}function Z(){(S()||j()===!1)&&Y().up&&P(At,qt-1)}function Q(){(S()||F()===!1)&&Y().down&&P(At,qt+1)}function B(){if(j()===!1)if(Y().up)Z();else{var e=document.querySelector(Lt+".past:nth-child("+At+")");e&&(qt=e.querySelectorAll("section").length+1||void 0,At--,P(At,qt))}}function G(){F()===!1&&(Y().down?Q():V()),_()}function J(e){document.activeElement;var t=!(!document.activeElement||!document.activeElement.type&&!document.activeElement.href&&"inherit"===document.activeElement.contentEditable);if(!(t||e.shiftKey&&32!==e.keyCode||e.altKey||e.ctrlKey||e.metaKey)){var n=!0;if(M()&&-1===[66,190,191].indexOf(e.keyCode))return!1;switch(e.keyCode){case 80:case 33:B();break;case 78:case 34:G();break;case 72:case 37:$();break;case 76:case 39:V();break;case 75:case 38:Z();break;case 74:case 40:Q();break;case 36:P(0);break;case 35:P(Number.MAX_VALUE);break;case 32:S()?w():e.shiftKey?B():G();break;case 13:S()?w():n=!1;break;case 66:case 190:case 191:T();break;case 70:A();break;default:n=!1}n?e.preventDefault():27===e.keyCode&&Pt&&(E(),e.preventDefault()),_()}}function et(e){Xt.startX=e.touches[0].clientX,Xt.startY=e.touches[0].clientY,Xt.startCount=e.touches.length,2===e.touches.length&&St.overview&&(Xt.startSpan=u({x:e.touches[1].clientX,y:e.touches[1].clientY},{x:Xt.startX,y:Xt.startY}))}function tt(e){if(Xt.handled)navigator.userAgent.match(/android/gi)&&e.preventDefault();else{var t=e.touches[0].clientX,n=e.touches[0].clientY;if(2===e.touches.length&&2===Xt.startCount&&St.overview){var r=u({x:e.touches[1].clientX,y:e.touches[1].clientY},{x:Xt.startX,y:Xt.startY});Math.abs(Xt.startSpan-r)>Xt.threshold&&(Xt.handled=!0,Xt.startSpan>r?L():w()),e.preventDefault()}else if(1===e.touches.length&&2!==Xt.startCount){var o=t-Xt.startX,a=n-Xt.startY;o>Xt.threshold&&Math.abs(o)>Math.abs(a)?(Xt.handled=!0,$()):-Xt.threshold>o&&Math.abs(o)>Math.abs(a)?(Xt.handled=!0,V()):a>Xt.threshold?(Xt.handled=!0,Z()):-Xt.threshold>a&&(Xt.handled=!0,Q()),e.preventDefault()}}}function nt(){Xt.handled=!1}function rt(e){e.pointerType===e.MSPOINTER_TYPE_TOUCH&&(e.touches=[{clientX:e.clientX,clientY:e.clientY}],et(e))}function ot(e){e.pointerType===e.MSPOINTER_TYPE_TOUCH&&(e.touches=[{clientX:e.clientX,clientY:e.clientY}],tt(e))}function at(e){e.pointerType===e.MSPOINTER_TYPE_TOUCH&&(e.touches=[{clientX:e.clientX,clientY:e.clientY}],nt(e))}function st(e){clearTimeout(Dt),Dt=setTimeout(function(){var t=e.detail||-e.wheelDelta;t>0?G():B()},100)}function it(e){e.preventDefault();var t=d(document.querySelectorAll(Lt)).length,n=Math.floor(e.clientX/Mt.wrapper.offsetWidth*t);P(n)}function ct(e){e.preventDefault(),$()}function lt(e){e.preventDefault(),V()}function dt(e){e.preventDefault(),Z()}function ut(e){e.preventDefault(),Q()}function ft(e){e.preventDefault(),B()}function vt(e){e.preventDefault(),G()}function pt(){I()}function mt(){g()}function ht(e){if(zt&&S()){e.preventDefault();for(var t=e.target;t&&!t.nodeName.match(/section/gi);)t=t.parentNode;if(t&&!t.classList.contains("disabled")&&(w(),t.nodeName.match(/section/gi))){var n=parseInt(t.getAttribute("data-index-h"),10),r=parseInt(t.getAttribute("data-index-v"),10);P(n,r)}}}var gt,yt,bt=".reveal .slides section",Lt=".reveal .slides>section",wt=".reveal .slides>section.present>section",Et=".reveal .slides>section:first-child",St={width:960,height:700,margin:.1,minScale:.2,maxScale:1,controls:!0,progress:!0,history:!1,keyboard:!0,overview:!0,center:!0,touch:!0,loop:!1,rtl:!1,fragments:!0,autoSlide:0,mouseWheel:!1,rollingLinks:!0,theme:null,transition:"default",transitionSpeed:"default",backgroundTransition:"default",dependencies:[]},kt=0,At=0,qt=0,xt=[],Tt=1,Mt={},Pt="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,Nt="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,Dt=0,Ct=0,Rt=0,Ot=0,Yt=0,zt=!1,Xt={startX:0,startY:0,startSpan:0,startCount:0,handled:!1,threshold:80};return{initialize:e,configure:s,sync:N,slide:P,left:$,right:V,up:Z,down:Q,prev:B,next:G,prevFragment:j,nextFragment:F,navigateTo:P,navigateLeft:$,navigateRight:V,navigateUp:Z,navigateDown:Q,navigatePrev:B,navigateNext:G,layout:g,availableRoutes:Y,availableFragments:z,toggleOverview:E,togglePause:T,isOverview:S,isPaused:M,addEventListeners:i,removeEventListeners:c,getIndices:U,getSlide:function(e,t){var n=document.querySelectorAll(Lt)[e],r=n&&n.querySelectorAll("section");return t!==void 0?r?r[t]:void 0:n},getPreviousSlide:function(){return gt},getCurrentSlide:function(){return yt},getScale:function(){return Tt},getConfig:function(){return St},getQueryHash:function(){var e={};return location.search.replace(/[A-Z0-9]+?=(\w*)/gi,function(t){e[t.split("=").shift()]=t.split("=").pop()}),e},isFirstSlide:function(){return null==document.querySelector(bt+".past")?!0:!1},isLastSlide:function(){return yt&&yt.classList.contains(".stack")?null==yt.querySelector(bt+".future")?!0:!1:null==document.querySelector(bt+".future")?!0:!1},addEventListener:function(e,t,n){"addEventListener"in window&&(Mt.wrapper||document.querySelector(".reveal")).addEventListener(e,t,n)},removeEventListener:function(e,t,n){"addEventListener"in window&&(Mt.wrapper||document.querySelector(".reveal")).removeEventListener(e,t,n)}}}(); \ No newline at end of file diff --git a/test/background.html b/test/background.html index 409d2cc..42689f3 100644 --- a/test/background.html +++ b/test/background.html @@ -19,11 +19,11 @@
-

data-background: #00ff00

+

data-background: #00ffff

-
-

data-background: #0000ff

+
+

data-background: #bb00bb

@@ -74,7 +74,11 @@ controls: true, progress: true, history: true, - center: true + center: true, + + transition: 'linear', + // transitionSpeed: 'slow', + // backgroundTransition: 'linear' }); From 544e090bd12b79ae48c8daa8c1d267d4a83d4f19 Mon Sep 17 00:00:00 2001 From: Hakim El Hattab Date: Tue, 4 Jun 2013 20:25:47 +0200 Subject: [PATCH 09/23] allow control over background color when using images (#453) --- css/reveal.css | 4 ++-- css/reveal.min.css | 2 +- js/reveal.js | 7 +++++-- js/reveal.min.js | 4 ++-- test/background.html | 2 +- 5 files changed, 11 insertions(+), 8 deletions(-) diff --git a/css/reveal.css b/css/reveal.css index 8a51750..1f0b1f8 100644 --- a/css/reveal.css +++ b/css/reveal.css @@ -1245,8 +1245,8 @@ body { left: 0; } -.no-transition, -.no-transition * { +.reveal .no-transition, +.reveal .no-transition * { -webkit-transition: none !important; -moz-transition: none !important; -ms-transition: none !important; diff --git a/css/reveal.min.css b/css/reveal.min.css index 0372f79..2f5f914 100644 --- a/css/reveal.min.css +++ b/css/reveal.min.css @@ -4,4 +4,4 @@ * MIT licensed * * Copyright (C) 2013 Hakim El Hattab, http://hakim.se - */ html,body,.reveal div,.reveal span,.reveal applet,.reveal object,.reveal iframe,.reveal h1,.reveal h2,.reveal h3,.reveal h4,.reveal h5,.reveal h6,.reveal p,.reveal blockquote,.reveal pre,.reveal a,.reveal abbr,.reveal acronym,.reveal address,.reveal big,.reveal cite,.reveal code,.reveal del,.reveal dfn,.reveal em,.reveal img,.reveal ins,.reveal kbd,.reveal q,.reveal s,.reveal samp,.reveal small,.reveal strike,.reveal strong,.reveal sub,.reveal sup,.reveal tt,.reveal var,.reveal b,.reveal u,.reveal i,.reveal center,.reveal dl,.reveal dt,.reveal dd,.reveal ol,.reveal ul,.reveal li,.reveal fieldset,.reveal form,.reveal label,.reveal legend,.reveal table,.reveal caption,.reveal tbody,.reveal tfoot,.reveal thead,.reveal tr,.reveal th,.reveal td,.reveal article,.reveal aside,.reveal canvas,.reveal details,.reveal embed,.reveal figure,.reveal figcaption,.reveal footer,.reveal header,.reveal hgroup,.reveal menu,.reveal nav,.reveal output,.reveal ruby,.reveal section,.reveal summary,.reveal time,.reveal mark,.reveal audio,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}.reveal article,.reveal aside,.reveal details,.reveal figcaption,.reveal figure,.reveal footer,.reveal header,.reveal hgroup,.reveal menu,.reveal nav,.reveal section{display:block}html,body{width:100%;height:100%;overflow:hidden}body{position:relative;line-height:1}::selection{background:#FF5E99;color:#fff;text-shadow:none}.reveal h1,.reveal h2,.reveal h3,.reveal h4,.reveal h5,.reveal h6{-webkit-hyphens:auto;-moz-hyphens:auto;hyphens:auto;word-wrap:break-word}.reveal h1{font-size:3.77em}.reveal h2{font-size:2.11em}.reveal h3{font-size:1.55em}.reveal h4{font-size:1em}.reveal .slides section .fragment{opacity:0;-webkit-transition:all .2s ease;-moz-transition:all .2s ease;-ms-transition:all .2s ease;-o-transition:all .2s ease;transition:all .2s ease}.reveal .slides section .fragment.visible{opacity:1}.reveal .slides section .fragment.grow{opacity:1}.reveal .slides section .fragment.grow.visible{-webkit-transform:scale(1.3);-moz-transform:scale(1.3);-ms-transform:scale(1.3);-o-transform:scale(1.3);transform:scale(1.3)}.reveal .slides section .fragment.shrink{opacity:1}.reveal .slides section .fragment.shrink.visible{-webkit-transform:scale(0.7);-moz-transform:scale(0.7);-ms-transform:scale(0.7);-o-transform:scale(0.7);transform:scale(0.7)}.reveal .slides section .fragment.zoom-in{opacity:0;-webkit-transform:scale(0.1);-moz-transform:scale(0.1);-ms-transform:scale(0.1);-o-transform:scale(0.1);transform:scale(0.1)}.reveal .slides section .fragment.zoom-in.visible{opacity:1;-webkit-transform:scale(1);-moz-transform:scale(1);-ms-transform:scale(1);-o-transform:scale(1);transform:scale(1)}.reveal .slides section .fragment.roll-in{opacity:0;-webkit-transform:rotateX(90deg);-moz-transform:rotateX(90deg);-ms-transform:rotateX(90deg);-o-transform:rotateX(90deg);transform:rotateX(90deg)}.reveal .slides section .fragment.roll-in.visible{opacity:1;-webkit-transform:rotateX(0);-moz-transform:rotateX(0);-ms-transform:rotateX(0);-o-transform:rotateX(0);transform:rotateX(0)}.reveal .slides section .fragment.fade-out{opacity:1}.reveal .slides section .fragment.fade-out.visible{opacity:0}.reveal .slides section .fragment.highlight-red,.reveal .slides section .fragment.highlight-green,.reveal .slides section .fragment.highlight-blue{opacity:1}.reveal .slides section .fragment.highlight-red.visible{color:#ff2c2d}.reveal .slides section .fragment.highlight-green.visible{color:#17ff2e}.reveal .slides section .fragment.highlight-blue.visible{color:#1b91ff}.reveal:after{content:'';font-style:italic}.reveal img,.reveal video,.reveal iframe{max-width:95%;max-height:95%}.reveal a{position:relative}.reveal strong,.reveal b{font-weight:700}.reveal em,.reveal i{font-style:italic}.reveal ol,.reveal ul{display:inline-block;text-align:left;margin:0 0 0 1em}.reveal ol{list-style-type:decimal}.reveal ul{list-style-type:disc}.reveal ul ul{list-style-type:square}.reveal ul ul ul{list-style-type:circle}.reveal ul ul,.reveal ul ol,.reveal ol ol,.reveal ol ul{display:block;margin-left:40px}.reveal p{margin-bottom:10px;line-height:1.2em}.reveal q,.reveal blockquote{quotes:none}.reveal blockquote{display:block;position:relative;width:70%;margin:5px auto;padding:5px;font-style:italic;background:rgba(255,255,255,.05);box-shadow:0 0 2px rgba(0,0,0,.2)}.reveal blockquote p:first-child,.reveal blockquote p:last-child{display:inline-block}.reveal q{font-style:italic}.reveal pre{display:block;position:relative;width:90%;margin:15px auto;text-align:left;font-size:.55em;font-family:monospace;line-height:1.2em;word-wrap:break-word;box-shadow:0 0 6px rgba(0,0,0,.3)}.reveal code{font-family:monospace}.reveal pre code{padding:5px;overflow:auto;max-height:400px;word-wrap:normal}.reveal table th,.reveal table td{text-align:left;padding-right:.3em}.reveal table th{text-shadow:#fff 1px 1px 2px}.reveal sup{vertical-align:super}.reveal sub{vertical-align:sub}.reveal small{display:inline-block;font-size:.6em;line-height:1.2em;vertical-align:top}.reveal small *{vertical-align:top}.reveal .controls{display:none;position:fixed;width:110px;height:110px;z-index:30;right:10px;bottom:10px}.reveal .controls div{position:absolute;opacity:.05;width:0;height:0;border:12px solid transparent;-moz-transform:scale(.9999);-webkit-transition:all .2s ease;-moz-transition:all .2s ease;-ms-transition:all .2s ease;-o-transition:all .2s ease;transition:all .2s ease}.reveal .controls div.enabled{opacity:.7;cursor:pointer}.reveal .controls div.enabled:active{margin-top:1px}.reveal .controls div.navigate-left{top:42px;border-right-width:22px;border-right-color:#eee}.reveal .controls div.navigate-left.fragmented{opacity:.3}.reveal .controls div.navigate-right{left:74px;top:42px;border-left-width:22px;border-left-color:#eee}.reveal .controls div.navigate-right.fragmented{opacity:.3}.reveal .controls div.navigate-up{left:42px;border-bottom-width:22px;border-bottom-color:#eee}.reveal .controls div.navigate-up.fragmented{opacity:.3}.reveal .controls div.navigate-down{left:42px;top:74px;border-top-width:22px;border-top-color:#eee}.reveal .controls div.navigate-down.fragmented{opacity:.3}.reveal .progress{position:fixed;display:none;height:3px;width:100%;bottom:0;left:0;z-index:10}.reveal .progress:after{content:'';display:'block';position:absolute;height:20px;width:100%;top:-20px}.reveal .progress span{display:block;height:100%;width:0;-webkit-transition:width 800ms cubic-bezier(0.26,.86,.44,.985);-moz-transition:width 800ms cubic-bezier(0.26,.86,.44,.985);-ms-transition:width 800ms cubic-bezier(0.26,.86,.44,.985);-o-transition:width 800ms cubic-bezier(0.26,.86,.44,.985);transition:width 800ms cubic-bezier(0.26,.86,.44,.985)}.reveal .roll{display:inline-block;line-height:1.2;overflow:hidden;vertical-align:top;-webkit-perspective:400px;-moz-perspective:400px;-ms-perspective:400px;perspective:400px;-webkit-perspective-origin:50% 50%;-moz-perspective-origin:50% 50%;-ms-perspective-origin:50% 50%;perspective-origin:50% 50%}.reveal .roll:hover{background:0;text-shadow:none}.reveal .roll span{display:block;position:relative;padding:0 2px;pointer-events:none;-webkit-transition:all 400ms ease;-moz-transition:all 400ms ease;-ms-transition:all 400ms ease;transition:all 400ms ease;-webkit-transform-origin:50% 0;-moz-transform-origin:50% 0;-ms-transform-origin:50% 0;transform-origin:50% 0;-webkit-transform-style:preserve-3d;-moz-transform-style:preserve-3d;-ms-transform-style:preserve-3d;transform-style:preserve-3d;-webkit-backface-visibility:hidden;-moz-backface-visibility:hidden;backface-visibility:hidden}.reveal .roll:hover span{background:rgba(0,0,0,.5);-webkit-transform:translate3d(0px,0,-45px) rotateX(90deg);-moz-transform:translate3d(0px,0,-45px) rotateX(90deg);-ms-transform:translate3d(0px,0,-45px) rotateX(90deg);transform:translate3d(0px,0,-45px) rotateX(90deg)}.reveal .roll span:after{content:attr(data-title);display:block;position:absolute;left:0;top:0;padding:0 2px;-webkit-backface-visibility:hidden;-moz-backface-visibility:hidden;backface-visibility:hidden;-webkit-transform-origin:50% 0;-moz-transform-origin:50% 0;-ms-transform-origin:50% 0;transform-origin:50% 0;-webkit-transform:translate3d(0px,110%,0) rotateX(-90deg);-moz-transform:translate3d(0px,110%,0) rotateX(-90deg);-ms-transform:translate3d(0px,110%,0) rotateX(-90deg);transform:translate3d(0px,110%,0) rotateX(-90deg)}.reveal{position:relative;width:100%;height:100%;-ms-touch-action:none}.reveal .slides{position:absolute;width:100%;height:100%;left:50%;top:50%;overflow:visible;z-index:1;text-align:center;-webkit-transition:-webkit-perspective .4s ease;-moz-transition:-moz-perspective .4s ease;-ms-transition:-ms-perspective .4s ease;-o-transition:-o-perspective .4s ease;transition:perspective .4s ease;-webkit-perspective:600px;-moz-perspective:600px;-ms-perspective:600px;perspective:600px;-webkit-perspective-origin:0 -100px;-moz-perspective-origin:0 -100px;-ms-perspective-origin:0 -100px;perspective-origin:0 -100px}.reveal .slides>section,.reveal .slides>section>section{display:none;position:absolute;width:100%;padding:20px 0;z-index:10;line-height:1.2em;font-weight:400;-webkit-transform-style:preserve-3d;-moz-transform-style:preserve-3d;-ms-transform-style:preserve-3d;transform-style:preserve-3d;-webkit-transition:-webkit-transform-origin 800ms cubic-bezier(0.26,.86,.44,.985),-webkit-transform 800ms cubic-bezier(0.26,.86,.44,.985),visibility 800ms cubic-bezier(0.26,.86,.44,.985),opacity 800ms cubic-bezier(0.26,.86,.44,.985);-moz-transition:-moz-transform-origin 800ms cubic-bezier(0.26,.86,.44,.985),-moz-transform 800ms cubic-bezier(0.26,.86,.44,.985),visibility 800ms cubic-bezier(0.26,.86,.44,.985),opacity 800ms cubic-bezier(0.26,.86,.44,.985);-ms-transition:-ms-transform-origin 800ms cubic-bezier(0.26,.86,.44,.985),-ms-transform 800ms cubic-bezier(0.26,.86,.44,.985),visibility 800ms cubic-bezier(0.26,.86,.44,.985),opacity 800ms cubic-bezier(0.26,.86,.44,.985);-o-transition:-o-transform-origin 800ms cubic-bezier(0.26,.86,.44,.985),-o-transform 800ms cubic-bezier(0.26,.86,.44,.985),visibility 800ms cubic-bezier(0.26,.86,.44,.985),opacity 800ms cubic-bezier(0.26,.86,.44,.985);transition:transform-origin 800ms cubic-bezier(0.26,.86,.44,.985),transform 800ms cubic-bezier(0.26,.86,.44,.985),visibility 800ms cubic-bezier(0.26,.86,.44,.985),opacity 800ms cubic-bezier(0.26,.86,.44,.985)}.reveal[data-transition-speed=fast] .slides section{-webkit-transition-duration:400ms;-moz-transition-duration:400ms;-ms-transition-duration:400ms;transition-duration:400ms}.reveal[data-transition-speed=slow] .slides section{-webkit-transition-duration:1200ms;-moz-transition-duration:1200ms;-ms-transition-duration:1200ms;transition-duration:1200ms}.reveal .slides section[data-transition-speed=fast]{-webkit-transition-duration:400ms;-moz-transition-duration:400ms;-ms-transition-duration:400ms;transition-duration:400ms}.reveal .slides section[data-transition-speed=slow]{-webkit-transition-duration:1200ms;-moz-transition-duration:1200ms;-ms-transition-duration:1200ms;transition-duration:1200ms}.reveal .slides>section{left:-50%;top:-50%}.reveal .slides>section.stack{padding-top:0;padding-bottom:0}.reveal .slides>section.present,.reveal .slides>section>section.present{display:block;z-index:11;opacity:1}.reveal.center,.reveal.center .slides,.reveal.center .slides section{min-height:auto!important}.reveal .slides>section[data-transition=default].past,.reveal .slides>section.past{display:block;opacity:0;-webkit-transform:translate3d(-100%,0,0) rotateY(-90deg) translate3d(-100%,0,0);-moz-transform:translate3d(-100%,0,0) rotateY(-90deg) translate3d(-100%,0,0);-ms-transform:translate3d(-100%,0,0) rotateY(-90deg) translate3d(-100%,0,0);transform:translate3d(-100%,0,0) rotateY(-90deg) translate3d(-100%,0,0)}.reveal .slides>section[data-transition=default].future,.reveal .slides>section.future{display:block;opacity:0;-webkit-transform:translate3d(100%,0,0) rotateY(90deg) translate3d(100%,0,0);-moz-transform:translate3d(100%,0,0) rotateY(90deg) translate3d(100%,0,0);-ms-transform:translate3d(100%,0,0) rotateY(90deg) translate3d(100%,0,0);transform:translate3d(100%,0,0) rotateY(90deg) translate3d(100%,0,0)}.reveal .slides>section>section[data-transition=default].past,.reveal .slides>section>section.past{display:block;opacity:0;-webkit-transform:translate3d(0,-300px,0) rotateX(70deg) translate3d(0,-300px,0);-moz-transform:translate3d(0,-300px,0) rotateX(70deg) translate3d(0,-300px,0);-ms-transform:translate3d(0,-300px,0) rotateX(70deg) translate3d(0,-300px,0);transform:translate3d(0,-300px,0) rotateX(70deg) translate3d(0,-300px,0)}.reveal .slides>section>section[data-transition=default].future,.reveal .slides>section>section.future{display:block;opacity:0;-webkit-transform:translate3d(0,300px,0) rotateX(-70deg) translate3d(0,300px,0);-moz-transform:translate3d(0,300px,0) rotateX(-70deg) translate3d(0,300px,0);-ms-transform:translate3d(0,300px,0) rotateX(-70deg) translate3d(0,300px,0);transform:translate3d(0,300px,0) rotateX(-70deg) translate3d(0,300px,0)}.reveal .slides>section[data-transition=concave].past,.reveal.concave .slides>section.past{-webkit-transform:translate3d(-100%,0,0) rotateY(90deg) translate3d(-100%,0,0);-moz-transform:translate3d(-100%,0,0) rotateY(90deg) translate3d(-100%,0,0);-ms-transform:translate3d(-100%,0,0) rotateY(90deg) translate3d(-100%,0,0);transform:translate3d(-100%,0,0) rotateY(90deg) translate3d(-100%,0,0)}.reveal .slides>section[data-transition=concave].future,.reveal.concave .slides>section.future{-webkit-transform:translate3d(100%,0,0) rotateY(-90deg) translate3d(100%,0,0);-moz-transform:translate3d(100%,0,0) rotateY(-90deg) translate3d(100%,0,0);-ms-transform:translate3d(100%,0,0) rotateY(-90deg) translate3d(100%,0,0);transform:translate3d(100%,0,0) rotateY(-90deg) translate3d(100%,0,0)}.reveal .slides>section>section[data-transition=concave].past,.reveal.concave .slides>section>section.past{-webkit-transform:translate3d(0,-80%,0) rotateX(-70deg) translate3d(0,-80%,0);-moz-transform:translate3d(0,-80%,0) rotateX(-70deg) translate3d(0,-80%,0);-ms-transform:translate3d(0,-80%,0) rotateX(-70deg) translate3d(0,-80%,0);transform:translate3d(0,-80%,0) rotateX(-70deg) translate3d(0,-80%,0)}.reveal .slides>section>section[data-transition=concave].future,.reveal.concave .slides>section>section.future{-webkit-transform:translate3d(0,80%,0) rotateX(70deg) translate3d(0,80%,0);-moz-transform:translate3d(0,80%,0) rotateX(70deg) translate3d(0,80%,0);-ms-transform:translate3d(0,80%,0) rotateX(70deg) translate3d(0,80%,0);transform:translate3d(0,80%,0) rotateX(70deg) translate3d(0,80%,0)}.reveal .slides>section[data-transition=zoom].past,.reveal.zoom .slides>section.past{opacity:0;visibility:hidden;-webkit-transform:scale(16);-moz-transform:scale(16);-ms-transform:scale(16);-o-transform:scale(16);transform:scale(16)}.reveal .slides>section[data-transition=zoom].future,.reveal.zoom .slides>section.future{opacity:0;visibility:hidden;-webkit-transform:scale(0.2);-moz-transform:scale(0.2);-ms-transform:scale(0.2);-o-transform:scale(0.2);transform:scale(0.2)}.reveal .slides>section>section[data-transition=zoom].past,.reveal.zoom .slides>section>section.past{-webkit-transform:translate(0,-150%);-moz-transform:translate(0,-150%);-ms-transform:translate(0,-150%);-o-transform:translate(0,-150%);transform:translate(0,-150%)}.reveal .slides>section>section[data-transition=zoom].future,.reveal.zoom .slides>section>section.future{-webkit-transform:translate(0,150%);-moz-transform:translate(0,150%);-ms-transform:translate(0,150%);-o-transform:translate(0,150%);transform:translate(0,150%)}.reveal.linear section{-webkit-backface-visibility:hidden;-moz-backface-visibility:hidden;-ms-backface-visibility:hidden;backface-visibility:hidden}.reveal .slides>section[data-transition=linear].past,.reveal.linear .slides>section.past{-webkit-transform:translate(-150%,0);-moz-transform:translate(-150%,0);-ms-transform:translate(-150%,0);-o-transform:translate(-150%,0);transform:translate(-150%,0)}.reveal .slides>section[data-transition=linear].future,.reveal.linear .slides>section.future{-webkit-transform:translate(150%,0);-moz-transform:translate(150%,0);-ms-transform:translate(150%,0);-o-transform:translate(150%,0);transform:translate(150%,0)}.reveal .slides>section>section[data-transition=linear].past,.reveal.linear .slides>section>section.past{-webkit-transform:translate(0,-150%);-moz-transform:translate(0,-150%);-ms-transform:translate(0,-150%);-o-transform:translate(0,-150%);transform:translate(0,-150%)}.reveal .slides>section>section[data-transition=linear].future,.reveal.linear .slides>section>section.future{-webkit-transform:translate(0,150%);-moz-transform:translate(0,150%);-ms-transform:translate(0,150%);-o-transform:translate(0,150%);transform:translate(0,150%)}.reveal.cube .slides{-webkit-perspective:1300px;-moz-perspective:1300px;-ms-perspective:1300px;perspective:1300px}.reveal.cube .slides section{padding:30px;min-height:700px;-webkit-backface-visibility:hidden;-moz-backface-visibility:hidden;-ms-backface-visibility:hidden;backface-visibility:hidden;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.reveal.center.cube .slides section{min-height:auto}.reveal.cube .slides section:not(.stack):before{content:'';position:absolute;display:block;width:100%;height:100%;left:0;top:0;background:rgba(0,0,0,.1);border-radius:4px;-webkit-transform:translateZ(-20px);-moz-transform:translateZ(-20px);-ms-transform:translateZ(-20px);-o-transform:translateZ(-20px);transform:translateZ(-20px)}.reveal.cube .slides section:not(.stack):after{content:'';position:absolute;display:block;width:90%;height:30px;left:5%;bottom:0;background:0;z-index:1;border-radius:4px;box-shadow:0 95px 25px rgba(0,0,0,.2);-webkit-transform:translateZ(-90px) rotateX(65deg);-moz-transform:translateZ(-90px) rotateX(65deg);-ms-transform:translateZ(-90px) rotateX(65deg);-o-transform:translateZ(-90px) rotateX(65deg);transform:translateZ(-90px) rotateX(65deg)}.reveal.cube .slides>section.stack{padding:0;background:0}.reveal.cube .slides>section.past{-webkit-transform-origin:100% 0;-moz-transform-origin:100% 0;-ms-transform-origin:100% 0;transform-origin:100% 0;-webkit-transform:translate3d(-100%,0,0) rotateY(-90deg);-moz-transform:translate3d(-100%,0,0) rotateY(-90deg);-ms-transform:translate3d(-100%,0,0) rotateY(-90deg);transform:translate3d(-100%,0,0) rotateY(-90deg)}.reveal.cube .slides>section.future{-webkit-transform-origin:0 0;-moz-transform-origin:0 0;-ms-transform-origin:0 0;transform-origin:0 0;-webkit-transform:translate3d(100%,0,0) rotateY(90deg);-moz-transform:translate3d(100%,0,0) rotateY(90deg);-ms-transform:translate3d(100%,0,0) rotateY(90deg);transform:translate3d(100%,0,0) rotateY(90deg)}.reveal.cube .slides>section>section.past{-webkit-transform-origin:0 100%;-moz-transform-origin:0 100%;-ms-transform-origin:0 100%;transform-origin:0 100%;-webkit-transform:translate3d(0,-100%,0) rotateX(90deg);-moz-transform:translate3d(0,-100%,0) rotateX(90deg);-ms-transform:translate3d(0,-100%,0) rotateX(90deg);transform:translate3d(0,-100%,0) rotateX(90deg)}.reveal.cube .slides>section>section.future{-webkit-transform-origin:0 0;-moz-transform-origin:0 0;-ms-transform-origin:0 0;transform-origin:0 0;-webkit-transform:translate3d(0,100%,0) rotateX(-90deg);-moz-transform:translate3d(0,100%,0) rotateX(-90deg);-ms-transform:translate3d(0,100%,0) rotateX(-90deg);transform:translate3d(0,100%,0) rotateX(-90deg)}.reveal.page .slides{-webkit-perspective-origin:0 50%;-moz-perspective-origin:0 50%;-ms-perspective-origin:0 50%;perspective-origin:0 50%;-webkit-perspective:3000px;-moz-perspective:3000px;-ms-perspective:3000px;perspective:3000px}.reveal.page .slides section{padding:30px;min-height:700px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.reveal.page .slides section.past{z-index:12}.reveal.page .slides section:not(.stack):before{content:'';position:absolute;display:block;width:100%;height:100%;left:0;top:0;background:rgba(0,0,0,.1);-webkit-transform:translateZ(-20px);-moz-transform:translateZ(-20px);-ms-transform:translateZ(-20px);-o-transform:translateZ(-20px);transform:translateZ(-20px)}.reveal.page .slides section:not(.stack):after{content:'';position:absolute;display:block;width:90%;height:30px;left:5%;bottom:0;background:0;z-index:1;border-radius:4px;box-shadow:0 95px 25px rgba(0,0,0,.2);-webkit-transform:translateZ(-90px) rotateX(65deg)}.reveal.page .slides>section.stack{padding:0;background:0}.reveal.page .slides>section.past{-webkit-transform-origin:0 0;-moz-transform-origin:0 0;-ms-transform-origin:0 0;transform-origin:0 0;-webkit-transform:translate3d(-40%,0,0) rotateY(-80deg);-moz-transform:translate3d(-40%,0,0) rotateY(-80deg);-ms-transform:translate3d(-40%,0,0) rotateY(-80deg);transform:translate3d(-40%,0,0) rotateY(-80deg)}.reveal.page .slides>section.future{-webkit-transform-origin:100% 0;-moz-transform-origin:100% 0;-ms-transform-origin:100% 0;transform-origin:100% 0;-webkit-transform:translate3d(0,0,0);-moz-transform:translate3d(0,0,0);-ms-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}.reveal.page .slides>section>section.past{-webkit-transform-origin:0 0;-moz-transform-origin:0 0;-ms-transform-origin:0 0;transform-origin:0 0;-webkit-transform:translate3d(0,-40%,0) rotateX(80deg);-moz-transform:translate3d(0,-40%,0) rotateX(80deg);-ms-transform:translate3d(0,-40%,0) rotateX(80deg);transform:translate3d(0,-40%,0) rotateX(80deg)}.reveal.page .slides>section>section.future{-webkit-transform-origin:0 100%;-moz-transform-origin:0 100%;-ms-transform-origin:0 100%;transform-origin:0 100%;-webkit-transform:translate3d(0,0,0);-moz-transform:translate3d(0,0,0);-ms-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}.reveal .slides section[data-transition=fade],.reveal.fade .slides section,.reveal.fade .slides>section>section{-webkit-transform:none;-moz-transform:none;-ms-transform:none;-o-transform:none;transform:none;-webkit-transition:opacity .5s;-moz-transition:opacity .5s;-ms-transition:opacity .5s;-o-transition:opacity .5s;transition:opacity .5s}.reveal.fade.overview .slides section,.reveal.fade.overview .slides>section>section,.reveal.fade.exit-overview .slides section,.reveal.fade.exit-overview .slides>section>section{-webkit-transition:none;-moz-transition:none;-ms-transition:none;-o-transition:none;transition:none}.reveal .slides section[data-transition=none],.reveal.none .slides section{-webkit-transform:none;-moz-transform:none;-ms-transform:none;-o-transform:none;transform:none;-webkit-transition:none;-moz-transition:none;-ms-transition:none;-o-transition:none;transition:none}.reveal.overview .slides{-webkit-perspective-origin:0 0;-moz-perspective-origin:0 0;-ms-perspective-origin:0 0;perspective-origin:0 0;-webkit-perspective:700px;-moz-perspective:700px;-ms-perspective:700px;perspective:700px}.reveal.overview .slides section{height:600px;overflow:hidden;opacity:1!important;visibility:visible!important;cursor:pointer;background:rgba(0,0,0,.1)}.reveal.overview .slides section .fragment{opacity:1}.reveal.overview .slides section:after,.reveal.overview .slides section:before{display:none!important}.reveal.overview .slides section>section{opacity:1;cursor:pointer}.reveal.overview .slides section:hover{background:rgba(0,0,0,.3)}.reveal.overview .slides section.present{background:rgba(0,0,0,.3)}.reveal.overview .slides>section.stack{padding:0;background:0;overflow:visible}.reveal .pause-overlay{position:absolute;top:0;left:0;width:100%;height:100%;background:#000;visibility:hidden;opacity:0;z-index:100;-webkit-transition:all 1s ease;-moz-transition:all 1s ease;-ms-transition:all 1s ease;-o-transition:all 1s ease;transition:all 1s ease}.reveal.paused .pause-overlay{visibility:visible;opacity:1}.no-transforms{overflow-y:auto}.no-transforms .reveal .slides{position:relative;width:80%;height:auto!important;top:0;left:50%;margin:0;text-align:center}.no-transforms .reveal .controls,.no-transforms .reveal .progress{display:none!important}.no-transforms .reveal .slides section{display:block!important;opacity:1!important;position:relative!important;height:auto;min-height:auto;top:0;left:-50%;margin:70px 0;-webkit-transform:none;-moz-transform:none;-ms-transform:none;-o-transform:none;transform:none}.no-transforms .reveal .slides section section{left:0}.no-transition,.no-transition *{-webkit-transition:none!important;-moz-transition:none!important;-ms-transition:none!important;-o-transition:none!important;transition:none!important}.reveal .state-background{position:absolute;width:100%;height:100%;background:rgba(0,0,0,0);-webkit-transition:background 800ms ease;-moz-transition:background 800ms ease;-ms-transition:background 800ms ease;-o-transition:background 800ms ease;transition:background 800ms ease}.alert .reveal .state-background{background:rgba(200,50,30,.6)}.soothe .reveal .state-background{background:rgba(50,200,90,.4)}.blackout .reveal .state-background{background:rgba(0,0,0,.6)}.whiteout .reveal .state-background{background:rgba(255,255,255,.6)}.cobalt .reveal .state-background{background:rgba(22,152,213,.6)}.mint .reveal .state-background{background:rgba(22,213,75,.6)}.submerge .reveal .state-background{background:rgba(12,25,77,.6)}.lila .reveal .state-background{background:rgba(180,50,140,.6)}.sunset .reveal .state-background{background:rgba(255,122,0,.6)}.reveal>.background{position:absolute;width:100%;height:100%}.reveal>.background div{position:absolute;width:100%;height:100%;opacity:0;visibility:hidden;background-color:rgba(0,0,0,0);background-position:50% 50%;background-repeat:no-repeat;background-size:cover;-webkit-transition:all 650ms ease;-moz-transition:all 650ms ease;-ms-transition:all 650ms ease;-o-transition:all 650ms ease;transition:all 650ms ease}.reveal>.background div.present{opacity:1;visibility:visible}.reveal[data-background-transition=linear]>.background div{opacity:1;-webkit-backface-visibility:hidden;-moz-backface-visibility:hidden;-ms-backface-visibility:hidden;backface-visibility:hidden}.reveal[data-background-transition=linear]>.background div.past{-webkit-transform:translate(-100%,0);-moz-transform:translate(-100%,0);-ms-transform:translate(-100%,0);-o-transform:translate(-100%,0);transform:translate(-100%,0)}.reveal[data-background-transition=linear]>.background div.future{-webkit-transform:translate(100%,0);-moz-transform:translate(100%,0);-ms-transform:translate(100%,0);-o-transform:translate(100%,0);transform:translate(100%,0)}.reveal[data-background-transition=linear]>.background div>div.past{-webkit-transform:translate(0,-100%);-moz-transform:translate(0,-100%);-ms-transform:translate(0,-100%);-o-transform:translate(0,-100%);transform:translate(0,-100%)}.reveal[data-background-transition=linear]>.background div>div.future{-webkit-transform:translate(0,100%);-moz-transform:translate(0,100%);-ms-transform:translate(0,100%);-o-transform:translate(0,100%);transform:translate(0,100%)}.reveal[data-transition-speed=fast]>.background div{-webkit-transition-duration:300ms;-moz-transition-duration:300ms;-ms-transition-duration:300ms;transition-duration:300ms}.reveal[data-transition-speed=slow]>.background div{-webkit-transition-duration:900ms;-moz-transition-duration:900ms;-ms-transition-duration:900ms;transition-duration:900ms}.reveal.rtl .slides,.reveal.rtl .slides h1,.reveal.rtl .slides h2,.reveal.rtl .slides h3,.reveal.rtl .slides h4,.reveal.rtl .slides h5,.reveal.rtl .slides h6{direction:rtl;font-family:sans-serif}.reveal.rtl pre,.reveal.rtl code{direction:ltr}.reveal.rtl ol,.reveal.rtl ul{text-align:right}.reveal.rtl .progress span{float:right}.reveal aside.notes{display:none}.zoomed .reveal *,.zoomed .reveal :before,.zoomed .reveal :after{-webkit-transform:none!important;-moz-transform:none!important;-ms-transform:none!important;transform:none!important;-webkit-backface-visibility:visible!important;-moz-backface-visibility:visible!important;-ms-backface-visibility:visible!important;backface-visibility:visible!important}.zoomed .reveal .progress,.zoomed .reveal .controls{opacity:0}.zoomed .reveal .roll span{background:0}.zoomed .reveal .roll span:after{visibility:hidden} \ No newline at end of file + */ html,body,.reveal div,.reveal span,.reveal applet,.reveal object,.reveal iframe,.reveal h1,.reveal h2,.reveal h3,.reveal h4,.reveal h5,.reveal h6,.reveal p,.reveal blockquote,.reveal pre,.reveal a,.reveal abbr,.reveal acronym,.reveal address,.reveal big,.reveal cite,.reveal code,.reveal del,.reveal dfn,.reveal em,.reveal img,.reveal ins,.reveal kbd,.reveal q,.reveal s,.reveal samp,.reveal small,.reveal strike,.reveal strong,.reveal sub,.reveal sup,.reveal tt,.reveal var,.reveal b,.reveal u,.reveal i,.reveal center,.reveal dl,.reveal dt,.reveal dd,.reveal ol,.reveal ul,.reveal li,.reveal fieldset,.reveal form,.reveal label,.reveal legend,.reveal table,.reveal caption,.reveal tbody,.reveal tfoot,.reveal thead,.reveal tr,.reveal th,.reveal td,.reveal article,.reveal aside,.reveal canvas,.reveal details,.reveal embed,.reveal figure,.reveal figcaption,.reveal footer,.reveal header,.reveal hgroup,.reveal menu,.reveal nav,.reveal output,.reveal ruby,.reveal section,.reveal summary,.reveal time,.reveal mark,.reveal audio,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}.reveal article,.reveal aside,.reveal details,.reveal figcaption,.reveal figure,.reveal footer,.reveal header,.reveal hgroup,.reveal menu,.reveal nav,.reveal section{display:block}html,body{width:100%;height:100%;overflow:hidden}body{position:relative;line-height:1}::selection{background:#FF5E99;color:#fff;text-shadow:none}.reveal h1,.reveal h2,.reveal h3,.reveal h4,.reveal h5,.reveal h6{-webkit-hyphens:auto;-moz-hyphens:auto;hyphens:auto;word-wrap:break-word}.reveal h1{font-size:3.77em}.reveal h2{font-size:2.11em}.reveal h3{font-size:1.55em}.reveal h4{font-size:1em}.reveal .slides section .fragment{opacity:0;-webkit-transition:all .2s ease;-moz-transition:all .2s ease;-ms-transition:all .2s ease;-o-transition:all .2s ease;transition:all .2s ease}.reveal .slides section .fragment.visible{opacity:1}.reveal .slides section .fragment.grow{opacity:1}.reveal .slides section .fragment.grow.visible{-webkit-transform:scale(1.3);-moz-transform:scale(1.3);-ms-transform:scale(1.3);-o-transform:scale(1.3);transform:scale(1.3)}.reveal .slides section .fragment.shrink{opacity:1}.reveal .slides section .fragment.shrink.visible{-webkit-transform:scale(0.7);-moz-transform:scale(0.7);-ms-transform:scale(0.7);-o-transform:scale(0.7);transform:scale(0.7)}.reveal .slides section .fragment.zoom-in{opacity:0;-webkit-transform:scale(0.1);-moz-transform:scale(0.1);-ms-transform:scale(0.1);-o-transform:scale(0.1);transform:scale(0.1)}.reveal .slides section .fragment.zoom-in.visible{opacity:1;-webkit-transform:scale(1);-moz-transform:scale(1);-ms-transform:scale(1);-o-transform:scale(1);transform:scale(1)}.reveal .slides section .fragment.roll-in{opacity:0;-webkit-transform:rotateX(90deg);-moz-transform:rotateX(90deg);-ms-transform:rotateX(90deg);-o-transform:rotateX(90deg);transform:rotateX(90deg)}.reveal .slides section .fragment.roll-in.visible{opacity:1;-webkit-transform:rotateX(0);-moz-transform:rotateX(0);-ms-transform:rotateX(0);-o-transform:rotateX(0);transform:rotateX(0)}.reveal .slides section .fragment.fade-out{opacity:1}.reveal .slides section .fragment.fade-out.visible{opacity:0}.reveal .slides section .fragment.highlight-red,.reveal .slides section .fragment.highlight-green,.reveal .slides section .fragment.highlight-blue{opacity:1}.reveal .slides section .fragment.highlight-red.visible{color:#ff2c2d}.reveal .slides section .fragment.highlight-green.visible{color:#17ff2e}.reveal .slides section .fragment.highlight-blue.visible{color:#1b91ff}.reveal:after{content:'';font-style:italic}.reveal img,.reveal video,.reveal iframe{max-width:95%;max-height:95%}.reveal a{position:relative}.reveal strong,.reveal b{font-weight:700}.reveal em,.reveal i{font-style:italic}.reveal ol,.reveal ul{display:inline-block;text-align:left;margin:0 0 0 1em}.reveal ol{list-style-type:decimal}.reveal ul{list-style-type:disc}.reveal ul ul{list-style-type:square}.reveal ul ul ul{list-style-type:circle}.reveal ul ul,.reveal ul ol,.reveal ol ol,.reveal ol ul{display:block;margin-left:40px}.reveal p{margin-bottom:10px;line-height:1.2em}.reveal q,.reveal blockquote{quotes:none}.reveal blockquote{display:block;position:relative;width:70%;margin:5px auto;padding:5px;font-style:italic;background:rgba(255,255,255,.05);box-shadow:0 0 2px rgba(0,0,0,.2)}.reveal blockquote p:first-child,.reveal blockquote p:last-child{display:inline-block}.reveal q{font-style:italic}.reveal pre{display:block;position:relative;width:90%;margin:15px auto;text-align:left;font-size:.55em;font-family:monospace;line-height:1.2em;word-wrap:break-word;box-shadow:0 0 6px rgba(0,0,0,.3)}.reveal code{font-family:monospace}.reveal pre code{padding:5px;overflow:auto;max-height:400px;word-wrap:normal}.reveal table th,.reveal table td{text-align:left;padding-right:.3em}.reveal table th{text-shadow:#fff 1px 1px 2px}.reveal sup{vertical-align:super}.reveal sub{vertical-align:sub}.reveal small{display:inline-block;font-size:.6em;line-height:1.2em;vertical-align:top}.reveal small *{vertical-align:top}.reveal .controls{display:none;position:fixed;width:110px;height:110px;z-index:30;right:10px;bottom:10px}.reveal .controls div{position:absolute;opacity:.05;width:0;height:0;border:12px solid transparent;-moz-transform:scale(.9999);-webkit-transition:all .2s ease;-moz-transition:all .2s ease;-ms-transition:all .2s ease;-o-transition:all .2s ease;transition:all .2s ease}.reveal .controls div.enabled{opacity:.7;cursor:pointer}.reveal .controls div.enabled:active{margin-top:1px}.reveal .controls div.navigate-left{top:42px;border-right-width:22px;border-right-color:#eee}.reveal .controls div.navigate-left.fragmented{opacity:.3}.reveal .controls div.navigate-right{left:74px;top:42px;border-left-width:22px;border-left-color:#eee}.reveal .controls div.navigate-right.fragmented{opacity:.3}.reveal .controls div.navigate-up{left:42px;border-bottom-width:22px;border-bottom-color:#eee}.reveal .controls div.navigate-up.fragmented{opacity:.3}.reveal .controls div.navigate-down{left:42px;top:74px;border-top-width:22px;border-top-color:#eee}.reveal .controls div.navigate-down.fragmented{opacity:.3}.reveal .progress{position:fixed;display:none;height:3px;width:100%;bottom:0;left:0;z-index:10}.reveal .progress:after{content:'';display:'block';position:absolute;height:20px;width:100%;top:-20px}.reveal .progress span{display:block;height:100%;width:0;-webkit-transition:width 800ms cubic-bezier(0.26,.86,.44,.985);-moz-transition:width 800ms cubic-bezier(0.26,.86,.44,.985);-ms-transition:width 800ms cubic-bezier(0.26,.86,.44,.985);-o-transition:width 800ms cubic-bezier(0.26,.86,.44,.985);transition:width 800ms cubic-bezier(0.26,.86,.44,.985)}.reveal .roll{display:inline-block;line-height:1.2;overflow:hidden;vertical-align:top;-webkit-perspective:400px;-moz-perspective:400px;-ms-perspective:400px;perspective:400px;-webkit-perspective-origin:50% 50%;-moz-perspective-origin:50% 50%;-ms-perspective-origin:50% 50%;perspective-origin:50% 50%}.reveal .roll:hover{background:0;text-shadow:none}.reveal .roll span{display:block;position:relative;padding:0 2px;pointer-events:none;-webkit-transition:all 400ms ease;-moz-transition:all 400ms ease;-ms-transition:all 400ms ease;transition:all 400ms ease;-webkit-transform-origin:50% 0;-moz-transform-origin:50% 0;-ms-transform-origin:50% 0;transform-origin:50% 0;-webkit-transform-style:preserve-3d;-moz-transform-style:preserve-3d;-ms-transform-style:preserve-3d;transform-style:preserve-3d;-webkit-backface-visibility:hidden;-moz-backface-visibility:hidden;backface-visibility:hidden}.reveal .roll:hover span{background:rgba(0,0,0,.5);-webkit-transform:translate3d(0px,0,-45px) rotateX(90deg);-moz-transform:translate3d(0px,0,-45px) rotateX(90deg);-ms-transform:translate3d(0px,0,-45px) rotateX(90deg);transform:translate3d(0px,0,-45px) rotateX(90deg)}.reveal .roll span:after{content:attr(data-title);display:block;position:absolute;left:0;top:0;padding:0 2px;-webkit-backface-visibility:hidden;-moz-backface-visibility:hidden;backface-visibility:hidden;-webkit-transform-origin:50% 0;-moz-transform-origin:50% 0;-ms-transform-origin:50% 0;transform-origin:50% 0;-webkit-transform:translate3d(0px,110%,0) rotateX(-90deg);-moz-transform:translate3d(0px,110%,0) rotateX(-90deg);-ms-transform:translate3d(0px,110%,0) rotateX(-90deg);transform:translate3d(0px,110%,0) rotateX(-90deg)}.reveal{position:relative;width:100%;height:100%;-ms-touch-action:none}.reveal .slides{position:absolute;width:100%;height:100%;left:50%;top:50%;overflow:visible;z-index:1;text-align:center;-webkit-transition:-webkit-perspective .4s ease;-moz-transition:-moz-perspective .4s ease;-ms-transition:-ms-perspective .4s ease;-o-transition:-o-perspective .4s ease;transition:perspective .4s ease;-webkit-perspective:600px;-moz-perspective:600px;-ms-perspective:600px;perspective:600px;-webkit-perspective-origin:0 -100px;-moz-perspective-origin:0 -100px;-ms-perspective-origin:0 -100px;perspective-origin:0 -100px}.reveal .slides>section,.reveal .slides>section>section{display:none;position:absolute;width:100%;padding:20px 0;z-index:10;line-height:1.2em;font-weight:400;-webkit-transform-style:preserve-3d;-moz-transform-style:preserve-3d;-ms-transform-style:preserve-3d;transform-style:preserve-3d;-webkit-transition:-webkit-transform-origin 800ms cubic-bezier(0.26,.86,.44,.985),-webkit-transform 800ms cubic-bezier(0.26,.86,.44,.985),visibility 800ms cubic-bezier(0.26,.86,.44,.985),opacity 800ms cubic-bezier(0.26,.86,.44,.985);-moz-transition:-moz-transform-origin 800ms cubic-bezier(0.26,.86,.44,.985),-moz-transform 800ms cubic-bezier(0.26,.86,.44,.985),visibility 800ms cubic-bezier(0.26,.86,.44,.985),opacity 800ms cubic-bezier(0.26,.86,.44,.985);-ms-transition:-ms-transform-origin 800ms cubic-bezier(0.26,.86,.44,.985),-ms-transform 800ms cubic-bezier(0.26,.86,.44,.985),visibility 800ms cubic-bezier(0.26,.86,.44,.985),opacity 800ms cubic-bezier(0.26,.86,.44,.985);-o-transition:-o-transform-origin 800ms cubic-bezier(0.26,.86,.44,.985),-o-transform 800ms cubic-bezier(0.26,.86,.44,.985),visibility 800ms cubic-bezier(0.26,.86,.44,.985),opacity 800ms cubic-bezier(0.26,.86,.44,.985);transition:transform-origin 800ms cubic-bezier(0.26,.86,.44,.985),transform 800ms cubic-bezier(0.26,.86,.44,.985),visibility 800ms cubic-bezier(0.26,.86,.44,.985),opacity 800ms cubic-bezier(0.26,.86,.44,.985)}.reveal[data-transition-speed=fast] .slides section{-webkit-transition-duration:400ms;-moz-transition-duration:400ms;-ms-transition-duration:400ms;transition-duration:400ms}.reveal[data-transition-speed=slow] .slides section{-webkit-transition-duration:1200ms;-moz-transition-duration:1200ms;-ms-transition-duration:1200ms;transition-duration:1200ms}.reveal .slides section[data-transition-speed=fast]{-webkit-transition-duration:400ms;-moz-transition-duration:400ms;-ms-transition-duration:400ms;transition-duration:400ms}.reveal .slides section[data-transition-speed=slow]{-webkit-transition-duration:1200ms;-moz-transition-duration:1200ms;-ms-transition-duration:1200ms;transition-duration:1200ms}.reveal .slides>section{left:-50%;top:-50%}.reveal .slides>section.stack{padding-top:0;padding-bottom:0}.reveal .slides>section.present,.reveal .slides>section>section.present{display:block;z-index:11;opacity:1}.reveal.center,.reveal.center .slides,.reveal.center .slides section{min-height:auto!important}.reveal .slides>section[data-transition=default].past,.reveal .slides>section.past{display:block;opacity:0;-webkit-transform:translate3d(-100%,0,0) rotateY(-90deg) translate3d(-100%,0,0);-moz-transform:translate3d(-100%,0,0) rotateY(-90deg) translate3d(-100%,0,0);-ms-transform:translate3d(-100%,0,0) rotateY(-90deg) translate3d(-100%,0,0);transform:translate3d(-100%,0,0) rotateY(-90deg) translate3d(-100%,0,0)}.reveal .slides>section[data-transition=default].future,.reveal .slides>section.future{display:block;opacity:0;-webkit-transform:translate3d(100%,0,0) rotateY(90deg) translate3d(100%,0,0);-moz-transform:translate3d(100%,0,0) rotateY(90deg) translate3d(100%,0,0);-ms-transform:translate3d(100%,0,0) rotateY(90deg) translate3d(100%,0,0);transform:translate3d(100%,0,0) rotateY(90deg) translate3d(100%,0,0)}.reveal .slides>section>section[data-transition=default].past,.reveal .slides>section>section.past{display:block;opacity:0;-webkit-transform:translate3d(0,-300px,0) rotateX(70deg) translate3d(0,-300px,0);-moz-transform:translate3d(0,-300px,0) rotateX(70deg) translate3d(0,-300px,0);-ms-transform:translate3d(0,-300px,0) rotateX(70deg) translate3d(0,-300px,0);transform:translate3d(0,-300px,0) rotateX(70deg) translate3d(0,-300px,0)}.reveal .slides>section>section[data-transition=default].future,.reveal .slides>section>section.future{display:block;opacity:0;-webkit-transform:translate3d(0,300px,0) rotateX(-70deg) translate3d(0,300px,0);-moz-transform:translate3d(0,300px,0) rotateX(-70deg) translate3d(0,300px,0);-ms-transform:translate3d(0,300px,0) rotateX(-70deg) translate3d(0,300px,0);transform:translate3d(0,300px,0) rotateX(-70deg) translate3d(0,300px,0)}.reveal .slides>section[data-transition=concave].past,.reveal.concave .slides>section.past{-webkit-transform:translate3d(-100%,0,0) rotateY(90deg) translate3d(-100%,0,0);-moz-transform:translate3d(-100%,0,0) rotateY(90deg) translate3d(-100%,0,0);-ms-transform:translate3d(-100%,0,0) rotateY(90deg) translate3d(-100%,0,0);transform:translate3d(-100%,0,0) rotateY(90deg) translate3d(-100%,0,0)}.reveal .slides>section[data-transition=concave].future,.reveal.concave .slides>section.future{-webkit-transform:translate3d(100%,0,0) rotateY(-90deg) translate3d(100%,0,0);-moz-transform:translate3d(100%,0,0) rotateY(-90deg) translate3d(100%,0,0);-ms-transform:translate3d(100%,0,0) rotateY(-90deg) translate3d(100%,0,0);transform:translate3d(100%,0,0) rotateY(-90deg) translate3d(100%,0,0)}.reveal .slides>section>section[data-transition=concave].past,.reveal.concave .slides>section>section.past{-webkit-transform:translate3d(0,-80%,0) rotateX(-70deg) translate3d(0,-80%,0);-moz-transform:translate3d(0,-80%,0) rotateX(-70deg) translate3d(0,-80%,0);-ms-transform:translate3d(0,-80%,0) rotateX(-70deg) translate3d(0,-80%,0);transform:translate3d(0,-80%,0) rotateX(-70deg) translate3d(0,-80%,0)}.reveal .slides>section>section[data-transition=concave].future,.reveal.concave .slides>section>section.future{-webkit-transform:translate3d(0,80%,0) rotateX(70deg) translate3d(0,80%,0);-moz-transform:translate3d(0,80%,0) rotateX(70deg) translate3d(0,80%,0);-ms-transform:translate3d(0,80%,0) rotateX(70deg) translate3d(0,80%,0);transform:translate3d(0,80%,0) rotateX(70deg) translate3d(0,80%,0)}.reveal .slides>section[data-transition=zoom].past,.reveal.zoom .slides>section.past{opacity:0;visibility:hidden;-webkit-transform:scale(16);-moz-transform:scale(16);-ms-transform:scale(16);-o-transform:scale(16);transform:scale(16)}.reveal .slides>section[data-transition=zoom].future,.reveal.zoom .slides>section.future{opacity:0;visibility:hidden;-webkit-transform:scale(0.2);-moz-transform:scale(0.2);-ms-transform:scale(0.2);-o-transform:scale(0.2);transform:scale(0.2)}.reveal .slides>section>section[data-transition=zoom].past,.reveal.zoom .slides>section>section.past{-webkit-transform:translate(0,-150%);-moz-transform:translate(0,-150%);-ms-transform:translate(0,-150%);-o-transform:translate(0,-150%);transform:translate(0,-150%)}.reveal .slides>section>section[data-transition=zoom].future,.reveal.zoom .slides>section>section.future{-webkit-transform:translate(0,150%);-moz-transform:translate(0,150%);-ms-transform:translate(0,150%);-o-transform:translate(0,150%);transform:translate(0,150%)}.reveal.linear section{-webkit-backface-visibility:hidden;-moz-backface-visibility:hidden;-ms-backface-visibility:hidden;backface-visibility:hidden}.reveal .slides>section[data-transition=linear].past,.reveal.linear .slides>section.past{-webkit-transform:translate(-150%,0);-moz-transform:translate(-150%,0);-ms-transform:translate(-150%,0);-o-transform:translate(-150%,0);transform:translate(-150%,0)}.reveal .slides>section[data-transition=linear].future,.reveal.linear .slides>section.future{-webkit-transform:translate(150%,0);-moz-transform:translate(150%,0);-ms-transform:translate(150%,0);-o-transform:translate(150%,0);transform:translate(150%,0)}.reveal .slides>section>section[data-transition=linear].past,.reveal.linear .slides>section>section.past{-webkit-transform:translate(0,-150%);-moz-transform:translate(0,-150%);-ms-transform:translate(0,-150%);-o-transform:translate(0,-150%);transform:translate(0,-150%)}.reveal .slides>section>section[data-transition=linear].future,.reveal.linear .slides>section>section.future{-webkit-transform:translate(0,150%);-moz-transform:translate(0,150%);-ms-transform:translate(0,150%);-o-transform:translate(0,150%);transform:translate(0,150%)}.reveal.cube .slides{-webkit-perspective:1300px;-moz-perspective:1300px;-ms-perspective:1300px;perspective:1300px}.reveal.cube .slides section{padding:30px;min-height:700px;-webkit-backface-visibility:hidden;-moz-backface-visibility:hidden;-ms-backface-visibility:hidden;backface-visibility:hidden;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.reveal.center.cube .slides section{min-height:auto}.reveal.cube .slides section:not(.stack):before{content:'';position:absolute;display:block;width:100%;height:100%;left:0;top:0;background:rgba(0,0,0,.1);border-radius:4px;-webkit-transform:translateZ(-20px);-moz-transform:translateZ(-20px);-ms-transform:translateZ(-20px);-o-transform:translateZ(-20px);transform:translateZ(-20px)}.reveal.cube .slides section:not(.stack):after{content:'';position:absolute;display:block;width:90%;height:30px;left:5%;bottom:0;background:0;z-index:1;border-radius:4px;box-shadow:0 95px 25px rgba(0,0,0,.2);-webkit-transform:translateZ(-90px) rotateX(65deg);-moz-transform:translateZ(-90px) rotateX(65deg);-ms-transform:translateZ(-90px) rotateX(65deg);-o-transform:translateZ(-90px) rotateX(65deg);transform:translateZ(-90px) rotateX(65deg)}.reveal.cube .slides>section.stack{padding:0;background:0}.reveal.cube .slides>section.past{-webkit-transform-origin:100% 0;-moz-transform-origin:100% 0;-ms-transform-origin:100% 0;transform-origin:100% 0;-webkit-transform:translate3d(-100%,0,0) rotateY(-90deg);-moz-transform:translate3d(-100%,0,0) rotateY(-90deg);-ms-transform:translate3d(-100%,0,0) rotateY(-90deg);transform:translate3d(-100%,0,0) rotateY(-90deg)}.reveal.cube .slides>section.future{-webkit-transform-origin:0 0;-moz-transform-origin:0 0;-ms-transform-origin:0 0;transform-origin:0 0;-webkit-transform:translate3d(100%,0,0) rotateY(90deg);-moz-transform:translate3d(100%,0,0) rotateY(90deg);-ms-transform:translate3d(100%,0,0) rotateY(90deg);transform:translate3d(100%,0,0) rotateY(90deg)}.reveal.cube .slides>section>section.past{-webkit-transform-origin:0 100%;-moz-transform-origin:0 100%;-ms-transform-origin:0 100%;transform-origin:0 100%;-webkit-transform:translate3d(0,-100%,0) rotateX(90deg);-moz-transform:translate3d(0,-100%,0) rotateX(90deg);-ms-transform:translate3d(0,-100%,0) rotateX(90deg);transform:translate3d(0,-100%,0) rotateX(90deg)}.reveal.cube .slides>section>section.future{-webkit-transform-origin:0 0;-moz-transform-origin:0 0;-ms-transform-origin:0 0;transform-origin:0 0;-webkit-transform:translate3d(0,100%,0) rotateX(-90deg);-moz-transform:translate3d(0,100%,0) rotateX(-90deg);-ms-transform:translate3d(0,100%,0) rotateX(-90deg);transform:translate3d(0,100%,0) rotateX(-90deg)}.reveal.page .slides{-webkit-perspective-origin:0 50%;-moz-perspective-origin:0 50%;-ms-perspective-origin:0 50%;perspective-origin:0 50%;-webkit-perspective:3000px;-moz-perspective:3000px;-ms-perspective:3000px;perspective:3000px}.reveal.page .slides section{padding:30px;min-height:700px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.reveal.page .slides section.past{z-index:12}.reveal.page .slides section:not(.stack):before{content:'';position:absolute;display:block;width:100%;height:100%;left:0;top:0;background:rgba(0,0,0,.1);-webkit-transform:translateZ(-20px);-moz-transform:translateZ(-20px);-ms-transform:translateZ(-20px);-o-transform:translateZ(-20px);transform:translateZ(-20px)}.reveal.page .slides section:not(.stack):after{content:'';position:absolute;display:block;width:90%;height:30px;left:5%;bottom:0;background:0;z-index:1;border-radius:4px;box-shadow:0 95px 25px rgba(0,0,0,.2);-webkit-transform:translateZ(-90px) rotateX(65deg)}.reveal.page .slides>section.stack{padding:0;background:0}.reveal.page .slides>section.past{-webkit-transform-origin:0 0;-moz-transform-origin:0 0;-ms-transform-origin:0 0;transform-origin:0 0;-webkit-transform:translate3d(-40%,0,0) rotateY(-80deg);-moz-transform:translate3d(-40%,0,0) rotateY(-80deg);-ms-transform:translate3d(-40%,0,0) rotateY(-80deg);transform:translate3d(-40%,0,0) rotateY(-80deg)}.reveal.page .slides>section.future{-webkit-transform-origin:100% 0;-moz-transform-origin:100% 0;-ms-transform-origin:100% 0;transform-origin:100% 0;-webkit-transform:translate3d(0,0,0);-moz-transform:translate3d(0,0,0);-ms-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}.reveal.page .slides>section>section.past{-webkit-transform-origin:0 0;-moz-transform-origin:0 0;-ms-transform-origin:0 0;transform-origin:0 0;-webkit-transform:translate3d(0,-40%,0) rotateX(80deg);-moz-transform:translate3d(0,-40%,0) rotateX(80deg);-ms-transform:translate3d(0,-40%,0) rotateX(80deg);transform:translate3d(0,-40%,0) rotateX(80deg)}.reveal.page .slides>section>section.future{-webkit-transform-origin:0 100%;-moz-transform-origin:0 100%;-ms-transform-origin:0 100%;transform-origin:0 100%;-webkit-transform:translate3d(0,0,0);-moz-transform:translate3d(0,0,0);-ms-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}.reveal .slides section[data-transition=fade],.reveal.fade .slides section,.reveal.fade .slides>section>section{-webkit-transform:none;-moz-transform:none;-ms-transform:none;-o-transform:none;transform:none;-webkit-transition:opacity .5s;-moz-transition:opacity .5s;-ms-transition:opacity .5s;-o-transition:opacity .5s;transition:opacity .5s}.reveal.fade.overview .slides section,.reveal.fade.overview .slides>section>section,.reveal.fade.exit-overview .slides section,.reveal.fade.exit-overview .slides>section>section{-webkit-transition:none;-moz-transition:none;-ms-transition:none;-o-transition:none;transition:none}.reveal .slides section[data-transition=none],.reveal.none .slides section{-webkit-transform:none;-moz-transform:none;-ms-transform:none;-o-transform:none;transform:none;-webkit-transition:none;-moz-transition:none;-ms-transition:none;-o-transition:none;transition:none}.reveal.overview .slides{-webkit-perspective-origin:0 0;-moz-perspective-origin:0 0;-ms-perspective-origin:0 0;perspective-origin:0 0;-webkit-perspective:700px;-moz-perspective:700px;-ms-perspective:700px;perspective:700px}.reveal.overview .slides section{height:600px;overflow:hidden;opacity:1!important;visibility:visible!important;cursor:pointer;background:rgba(0,0,0,.1)}.reveal.overview .slides section .fragment{opacity:1}.reveal.overview .slides section:after,.reveal.overview .slides section:before{display:none!important}.reveal.overview .slides section>section{opacity:1;cursor:pointer}.reveal.overview .slides section:hover{background:rgba(0,0,0,.3)}.reveal.overview .slides section.present{background:rgba(0,0,0,.3)}.reveal.overview .slides>section.stack{padding:0;background:0;overflow:visible}.reveal .pause-overlay{position:absolute;top:0;left:0;width:100%;height:100%;background:#000;visibility:hidden;opacity:0;z-index:100;-webkit-transition:all 1s ease;-moz-transition:all 1s ease;-ms-transition:all 1s ease;-o-transition:all 1s ease;transition:all 1s ease}.reveal.paused .pause-overlay{visibility:visible;opacity:1}.no-transforms{overflow-y:auto}.no-transforms .reveal .slides{position:relative;width:80%;height:auto!important;top:0;left:50%;margin:0;text-align:center}.no-transforms .reveal .controls,.no-transforms .reveal .progress{display:none!important}.no-transforms .reveal .slides section{display:block!important;opacity:1!important;position:relative!important;height:auto;min-height:auto;top:0;left:-50%;margin:70px 0;-webkit-transform:none;-moz-transform:none;-ms-transform:none;-o-transform:none;transform:none}.no-transforms .reveal .slides section section{left:0}.reveal .no-transition,.reveal .no-transition *{-webkit-transition:none!important;-moz-transition:none!important;-ms-transition:none!important;-o-transition:none!important;transition:none!important}.reveal .state-background{position:absolute;width:100%;height:100%;background:rgba(0,0,0,0);-webkit-transition:background 800ms ease;-moz-transition:background 800ms ease;-ms-transition:background 800ms ease;-o-transition:background 800ms ease;transition:background 800ms ease}.alert .reveal .state-background{background:rgba(200,50,30,.6)}.soothe .reveal .state-background{background:rgba(50,200,90,.4)}.blackout .reveal .state-background{background:rgba(0,0,0,.6)}.whiteout .reveal .state-background{background:rgba(255,255,255,.6)}.cobalt .reveal .state-background{background:rgba(22,152,213,.6)}.mint .reveal .state-background{background:rgba(22,213,75,.6)}.submerge .reveal .state-background{background:rgba(12,25,77,.6)}.lila .reveal .state-background{background:rgba(180,50,140,.6)}.sunset .reveal .state-background{background:rgba(255,122,0,.6)}.reveal>.background{position:absolute;width:100%;height:100%}.reveal>.background div{position:absolute;width:100%;height:100%;opacity:0;visibility:hidden;background-color:rgba(0,0,0,0);background-position:50% 50%;background-repeat:no-repeat;background-size:cover;-webkit-transition:all 650ms ease;-moz-transition:all 650ms ease;-ms-transition:all 650ms ease;-o-transition:all 650ms ease;transition:all 650ms ease}.reveal>.background div.present{opacity:1;visibility:visible}.reveal[data-background-transition=linear]>.background div{opacity:1;-webkit-backface-visibility:hidden;-moz-backface-visibility:hidden;-ms-backface-visibility:hidden;backface-visibility:hidden}.reveal[data-background-transition=linear]>.background div.past{-webkit-transform:translate(-100%,0);-moz-transform:translate(-100%,0);-ms-transform:translate(-100%,0);-o-transform:translate(-100%,0);transform:translate(-100%,0)}.reveal[data-background-transition=linear]>.background div.future{-webkit-transform:translate(100%,0);-moz-transform:translate(100%,0);-ms-transform:translate(100%,0);-o-transform:translate(100%,0);transform:translate(100%,0)}.reveal[data-background-transition=linear]>.background div>div.past{-webkit-transform:translate(0,-100%);-moz-transform:translate(0,-100%);-ms-transform:translate(0,-100%);-o-transform:translate(0,-100%);transform:translate(0,-100%)}.reveal[data-background-transition=linear]>.background div>div.future{-webkit-transform:translate(0,100%);-moz-transform:translate(0,100%);-ms-transform:translate(0,100%);-o-transform:translate(0,100%);transform:translate(0,100%)}.reveal[data-transition-speed=fast]>.background div{-webkit-transition-duration:300ms;-moz-transition-duration:300ms;-ms-transition-duration:300ms;transition-duration:300ms}.reveal[data-transition-speed=slow]>.background div{-webkit-transition-duration:900ms;-moz-transition-duration:900ms;-ms-transition-duration:900ms;transition-duration:900ms}.reveal.rtl .slides,.reveal.rtl .slides h1,.reveal.rtl .slides h2,.reveal.rtl .slides h3,.reveal.rtl .slides h4,.reveal.rtl .slides h5,.reveal.rtl .slides h6{direction:rtl;font-family:sans-serif}.reveal.rtl pre,.reveal.rtl code{direction:ltr}.reveal.rtl ol,.reveal.rtl ul{text-align:right}.reveal.rtl .progress span{float:right}.reveal aside.notes{display:none}.zoomed .reveal *,.zoomed .reveal :before,.zoomed .reveal :after{-webkit-transform:none!important;-moz-transform:none!important;-ms-transform:none!important;transform:none!important;-webkit-backface-visibility:visible!important;-moz-backface-visibility:visible!important;-ms-backface-visibility:visible!important;backface-visibility:visible!important}.zoomed .reveal .progress,.zoomed .reveal .controls{opacity:0}.zoomed .reveal .roll span{background:0}.zoomed .reveal .roll span:after{visibility:hidden} \ No newline at end of file diff --git a/js/reveal.js b/js/reveal.js index 3d6e2da..5ac219e 100644 --- a/js/reveal.js +++ b/js/reveal.js @@ -249,7 +249,8 @@ var Reveal = (function(){ /** * Creates the slide background elements and appends them - * to the background container. + * to the background container. One element is created per + * slide no matter if the given slide has visible background. */ function createBackgrounds() { @@ -264,6 +265,7 @@ var Reveal = (function(){ var data = { background: slide.getAttribute( 'data-background' ), backgroundSize: slide.getAttribute( 'data-background-size' ), + backgroundColor: slide.getAttribute( 'data-background-color' ), backgroundRepeat: slide.getAttribute( 'data-background-repeat' ), backgroundPosition: slide.getAttribute( 'data-background-position' ) }; @@ -272,7 +274,7 @@ var Reveal = (function(){ if( data.background ) { // Auto-wrap image urls in url(...) - if( /\.(png|jpg|jpeg|gif|bmp|)$/gi.test( data.background ) ) { + if( /\.(png|jpg|jpeg|gif|bmp)$/gi.test( data.background ) ) { element.style.backgroundImage = 'url('+ data.background +')'; } else { @@ -282,6 +284,7 @@ var Reveal = (function(){ // Additional and optional background properties if( data.backgroundSize ) element.style.backgroundSize = data.backgroundSize; + if( data.backgroundColor ) element.style.backgroundColor = data.backgroundColor; if( data.backgroundRepeat ) element.style.backgroundRepeat = data.backgroundRepeat; if( data.backgroundPosition ) element.style.backgroundPosition = data.backgroundPosition; diff --git a/js/reveal.min.js b/js/reveal.min.js index c066420..a321063 100644 --- a/js/reveal.min.js +++ b/js/reveal.min.js @@ -1,8 +1,8 @@ /*! - * reveal.js 2.5.0 (2013-06-04, 20:14) + * reveal.js 2.5.0 (2013-06-04, 20:24) * http://lab.hakim.se/reveal-js * MIT licensed * * Copyright (C) 2013 Hakim El Hattab, http://hakim.se */ -var Reveal=function(){"use strict";function e(e){return Nt||Pt?(window.addEventListener("load",g,!1),l(St,e),r(),o(),void 0):(document.body.setAttribute("class","no-transforms"),void 0)}function t(){if(Mt.theme=document.querySelector("#theme"),Mt.wrapper=document.querySelector(".reveal"),Mt.slides=document.querySelector(".reveal .slides"),document.querySelector(".reveal .background")||(Mt.background=document.createElement("div"),Mt.background.classList.add("background"),Mt.wrapper.appendChild(Mt.background)),!Mt.wrapper.querySelector(".progress")){var e=document.createElement("div");e.classList.add("progress"),e.innerHTML="",Mt.wrapper.appendChild(e)}if(!Mt.wrapper.querySelector(".controls")){var t=document.createElement("aside");t.classList.add("controls"),t.innerHTML='',Mt.wrapper.appendChild(t)}if(!Mt.wrapper.querySelector(".state-background")){var n=document.createElement("div");n.classList.add("state-background"),Mt.wrapper.appendChild(n)}if(!Mt.wrapper.querySelector(".pause-overlay")){var r=document.createElement("div");r.classList.add("pause-overlay"),Mt.wrapper.appendChild(r)}Mt.progress=document.querySelector(".reveal .progress"),Mt.progressbar=document.querySelector(".reveal .progress span"),St.controls&&(Mt.controls=document.querySelector(".reveal .controls"),Mt.controlsLeft=d(document.querySelectorAll(".navigate-left")),Mt.controlsRight=d(document.querySelectorAll(".navigate-right")),Mt.controlsUp=d(document.querySelectorAll(".navigate-up")),Mt.controlsDown=d(document.querySelectorAll(".navigate-down")),Mt.controlsPrev=d(document.querySelectorAll(".navigate-prev")),Mt.controlsNext=d(document.querySelectorAll(".navigate-next")))}function n(){function e(e,t){var n={background:e.getAttribute("data-background"),backgroundSize:e.getAttribute("data-background-size"),backgroundRepeat:e.getAttribute("data-background-repeat"),backgroundPosition:e.getAttribute("data-background-position")},r=document.createElement("div");return n.background&&(/\.(png|jpg|jpeg|gif|bmp|)$/gi.test(n.background)?r.style.backgroundImage="url("+n.background+")":r.style.background=n.background),n.backgroundSize&&(r.style.backgroundSize=n.backgroundSize),n.backgroundRepeat&&(r.style.backgroundRepeat=n.backgroundRepeat),n.backgroundPosition&&(r.style.backgroundPosition=n.backgroundPosition),t.appendChild(r),r}Mt.background.innerHTML="",Mt.background.classList.add("no-transition"),d(document.querySelectorAll(Lt)).forEach(function(t){var n=e(t,Mt.background);d(t.querySelectorAll("section")).forEach(function(t){e(t,n)})})}function r(){/iphone|ipod|android/gi.test(navigator.userAgent)&&!/crios/gi.test(navigator.userAgent)&&(window.addEventListener("load",f,!1),window.addEventListener("orientationchange",f,!1))}function o(){function e(){n.length&&head.js.apply(null,n),a()}for(var t=[],n=[],r=0,o=St.dependencies.length;o>r;r++){var s=St.dependencies[r];(!s.condition||s.condition())&&(s.async?n.push(s.src):t.push(s.src),"function"==typeof s.callback&&head.ready(s.src.match(/([\w\d_\-]*)\.?js$|[^\\\/]*$/i)[0],s.callback))}t.length?(head.ready(e),head.js.apply(null,t)):e()}function a(){t(),s(),I(),setTimeout(function(){v("ready",{indexh:At,indexv:qt,currentSlide:yt})},1)}function s(e){if(Mt.wrapper.classList.remove(St.transition),"object"==typeof e&&l(St,e),Pt===!1&&(St.transition="linear"),Mt.wrapper.classList.add(St.transition),Mt.wrapper.setAttribute("data-transition-speed",St.transitionSpeed),Mt.wrapper.setAttribute("data-background-transition",St.backgroundTransition),Mt.controls&&(Mt.controls.style.display=St.controls&&Mt.controls?"block":"none"),Mt.progress&&(Mt.progress.style.display=St.progress&&Mt.progress?"block":"none"),St.rtl?Mt.wrapper.classList.add("rtl"):Mt.wrapper.classList.remove("rtl"),St.center?Mt.wrapper.classList.add("center"):Mt.wrapper.classList.remove("center"),St.mouseWheel?(document.addEventListener("DOMMouseScroll",st,!1),document.addEventListener("mousewheel",st,!1)):(document.removeEventListener("DOMMouseScroll",st,!1),document.removeEventListener("mousewheel",st,!1)),St.rollingLinks?p():m(),St.theme&&Mt.theme){var t=Mt.theme.getAttribute("href"),n=/[^\/]*?(?=\.css)/,r=t.match(n)[0];St.theme!==r&&(t=t.replace(n,St.theme),Mt.theme.setAttribute("href",t))}N()}function i(){zt=!0,window.addEventListener("hashchange",pt,!1),window.addEventListener("resize",mt,!1),St.touch&&(Mt.wrapper.addEventListener("touchstart",et,!1),Mt.wrapper.addEventListener("touchmove",tt,!1),Mt.wrapper.addEventListener("touchend",nt,!1),window.navigator.msPointerEnabled&&(Mt.wrapper.addEventListener("MSPointerDown",rt,!1),Mt.wrapper.addEventListener("MSPointerMove",ot,!1),Mt.wrapper.addEventListener("MSPointerUp",at,!1))),St.keyboard&&document.addEventListener("keydown",J,!1),St.progress&&Mt.progress&&Mt.progress.addEventListener("click",it,!1),St.controls&&Mt.controls&&["touchstart","click"].forEach(function(e){Mt.controlsLeft.forEach(function(t){t.addEventListener(e,ct,!1)}),Mt.controlsRight.forEach(function(t){t.addEventListener(e,lt,!1)}),Mt.controlsUp.forEach(function(t){t.addEventListener(e,dt,!1)}),Mt.controlsDown.forEach(function(t){t.addEventListener(e,ut,!1)}),Mt.controlsPrev.forEach(function(t){t.addEventListener(e,ft,!1)}),Mt.controlsNext.forEach(function(t){t.addEventListener(e,vt,!1)})})}function c(){zt=!1,document.removeEventListener("keydown",J,!1),window.removeEventListener("hashchange",pt,!1),window.removeEventListener("resize",mt,!1),Mt.wrapper.removeEventListener("touchstart",et,!1),Mt.wrapper.removeEventListener("touchmove",tt,!1),Mt.wrapper.removeEventListener("touchend",nt,!1),window.navigator.msPointerEnabled&&(Mt.wrapper.removeEventListener("MSPointerDown",rt,!1),Mt.wrapper.removeEventListener("MSPointerMove",ot,!1),Mt.wrapper.removeEventListener("MSPointerUp",at,!1)),St.progress&&Mt.progress&&Mt.progress.removeEventListener("click",it,!1),St.controls&&Mt.controls&&["touchstart","click"].forEach(function(e){Mt.controlsLeft.forEach(function(t){t.removeEventListener(e,ct,!1)}),Mt.controlsRight.forEach(function(t){t.removeEventListener(e,lt,!1)}),Mt.controlsUp.forEach(function(t){t.removeEventListener(e,dt,!1)}),Mt.controlsDown.forEach(function(t){t.removeEventListener(e,ut,!1)}),Mt.controlsPrev.forEach(function(t){t.removeEventListener(e,ft,!1)}),Mt.controlsNext.forEach(function(t){t.removeEventListener(e,vt,!1)})})}function l(e,t){for(var n in t)e[n]=t[n]}function d(e){return Array.prototype.slice.call(e)}function u(e,t){var n=e.x-t.x,r=e.y-t.y;return Math.sqrt(n*n+r*r)}function f(){0===window.orientation?(document.documentElement.style.overflow="scroll",document.body.style.height="120%"):(document.documentElement.style.overflow="",document.body.style.height="100%"),setTimeout(function(){window.scrollTo(0,1)},10)}function v(e,t){var n=document.createEvent("HTMLEvents",1,2);n.initEvent(e,!0,!0),l(n,t),Mt.wrapper.dispatchEvent(n)}function p(){if(Pt&&!("msPerspective"in document.body.style))for(var e=document.querySelectorAll(bt+" a:not(.image)"),t=0,n=e.length;n>t;t++){var r=e[t];if(!(!r.textContent||r.querySelector("*")||r.className&&r.classList.contains(r,"roll"))){var o=document.createElement("span");o.setAttribute("data-title",r.text),o.innerHTML=r.innerHTML,r.classList.add("roll"),r.innerHTML="",r.appendChild(o)}}}function m(){for(var e=document.querySelectorAll(bt+" a.roll"),t=0,n=e.length;n>t;t++){var r=e[t],o=r.querySelector("span");o&&(r.classList.remove("roll"),r.innerHTML=o.innerHTML)}}function h(e){var t=d(e);return t.forEach(function(e,t){e.hasAttribute("data-fragment-index")||e.setAttribute("data-fragment-index",t)}),t.sort(function(e,t){return e.getAttribute("data-fragment-index")-t.getAttribute("data-fragment-index")}),t}function g(){if(Mt.wrapper){var e=Mt.wrapper.offsetWidth,t=Mt.wrapper.offsetHeight;e-=t*St.margin,t-=t*St.margin;var n=St.width,r=St.height;if("string"==typeof n&&/%$/.test(n)&&(n=parseInt(n,10)/100*e),"string"==typeof r&&/%$/.test(r)&&(r=parseInt(r,10)/100*t),Mt.slides.style.width=n+"px",Mt.slides.style.height=r+"px",Tt=Math.min(e/n,t/r),Tt=Math.max(Tt,St.minScale),Tt=Math.min(Tt,St.maxScale),void 0===Mt.slides.style.zoom||navigator.userAgent.match(/(iphone|ipod|ipad|android)/gi)){var o="translate(-50%, -50%) scale("+Tt+") translate(50%, 50%)";Mt.slides.style.WebkitTransform=o,Mt.slides.style.MozTransform=o,Mt.slides.style.msTransform=o,Mt.slides.style.OTransform=o,Mt.slides.style.transform=o}else Mt.slides.style.zoom=Tt;for(var a=d(document.querySelectorAll(bt)),s=0,i=a.length;i>s;s++){var c=a[s];"none"!==c.style.display&&(c.style.top=St.center?c.classList.contains("stack")?0:Math.max(-(c.offsetHeight/2)-20,-r/2)+"px":"")}C()}}function y(e,t){"object"==typeof e&&"function"==typeof e.setAttribute&&e.setAttribute("data-previous-indexv",t||0)}function b(e){if("object"==typeof e&&"function"==typeof e.setAttribute&&e.classList.contains("stack")){var t=e.hasAttribute("data-start-indexv")?"data-start-indexv":"data-previous-indexv";return parseInt(e.getAttribute(t)||0,10)}return 0}function L(){if(St.overview){K();var e=Mt.wrapper.classList.contains("overview");Mt.wrapper.classList.add("overview"),Mt.wrapper.classList.remove("exit-overview"),clearTimeout(Ot),clearTimeout(Yt),Ot=setTimeout(function(){for(var t=document.querySelectorAll(Lt),n=0,r=t.length;r>n;n++){var o=t[n],a=St.rtl?-105:105,s="translateZ(-2500px) translate("+(n-At)*a+"%, 0%)";if(o.setAttribute("data-index-h",n),o.style.display="block",o.style.WebkitTransform=s,o.style.MozTransform=s,o.style.msTransform=s,o.style.OTransform=s,o.style.transform=s,o.classList.contains("stack"))for(var i=o.querySelectorAll("section"),c=0,l=i.length;l>c;c++){var d=n===At?qt:b(o),u=i[c],f="translate(0%, "+105*(c-d)+"%)";u.setAttribute("data-index-h",n),u.setAttribute("data-index-v",c),u.style.display="block",u.style.WebkitTransform=f,u.style.MozTransform=f,u.style.msTransform=f,u.style.OTransform=f,u.style.transform=f,u.addEventListener("click",ht,!0)}else o.addEventListener("click",ht,!0)}g(),e||v("overviewshown",{indexh:At,indexv:qt,currentSlide:yt})},10)}}function w(){if(St.overview){clearTimeout(Ot),clearTimeout(Yt),Mt.wrapper.classList.remove("overview"),Mt.wrapper.classList.add("exit-overview"),Yt=setTimeout(function(){Mt.wrapper.classList.remove("exit-overview")},10);for(var e=d(document.querySelectorAll(bt)),t=0,n=e.length;n>t;t++){var r=e[t];r.style.display="",r.style.WebkitTransform="",r.style.MozTransform="",r.style.msTransform="",r.style.OTransform="",r.style.transform="",r.removeEventListener("click",ht,!0)}P(At,qt),_(),v("overviewhidden",{indexh:At,indexv:qt,currentSlide:yt})}}function E(e){"boolean"==typeof e?e?L():w():S()?w():L()}function S(){return Mt.wrapper.classList.contains("overview")}function k(e){return e=e?e:yt,e&&!!e.parentNode.nodeName.match(/section/i)}function A(){var e=document.body,t=e.requestFullScreen||e.webkitRequestFullscreen||e.webkitRequestFullScreen||e.mozRequestFullScreen||e.msRequestFullScreen;t&&t.apply(e)}function q(){var e=Mt.wrapper.classList.contains("paused");K(),Mt.wrapper.classList.add("paused"),e===!1&&v("paused")}function x(){var e=Mt.wrapper.classList.contains("paused");Mt.wrapper.classList.remove("paused"),_(),e&&v("resumed")}function T(){M()?x():q()}function M(){return Mt.wrapper.classList.contains("paused")}function P(e,t,n,r){gt=yt;var o=document.querySelectorAll(Lt);void 0===t&&(t=b(o[e])),gt&>.parentNode&>.parentNode.classList.contains("stack")&&y(gt.parentNode,qt);var a=xt.concat();xt.length=0;var s=At,i=qt;At=D(Lt,void 0===e?At:e),qt=D(wt,void 0===t?qt:t),g();e:for(var c=0,l=xt.length;l>c;c++){for(var u=0;a.length>u;u++)if(a[u]===xt[c]){a.splice(u,1);continue e}document.documentElement.classList.add(xt[c]),v(xt[c])}for(;a.length;)document.documentElement.classList.remove(a.pop());S()&&L(),W(1500);var f=o[At],p=f.querySelectorAll("section");if(yt=p[qt]||f,n!==void 0){var m=h(yt.querySelectorAll(".fragment"));d(m).forEach(function(e,t){n>t?e.classList.add("visible"):e.classList.remove("visible")})}At!==s||qt!==i?v("slidechanged",{indexh:At,indexv:qt,previousSlide:gt,currentSlide:yt,origin:r}):gt=null,gt&&(gt.classList.remove("present"),document.querySelector(Et).classList.contains("present")&&setTimeout(function(){var e,t=d(document.querySelectorAll(Lt+".stack"));for(e in t)t[e]&&y(t[e],0)},0)),H(gt),X(yt),R(),C(),O()}function N(){c(),i(),g(),kt=St.autoSlide,_(),n(),R(),C(),O()}function D(e,t){var n=d(document.querySelectorAll(e)),r=n.length;if(r){St.loop&&(t%=r,0>t&&(t=r+t)),t=Math.max(Math.min(t,r-1),0);for(var o=0;r>o;o++){var a=n[o];if(S()===!1){var s=Math.abs((t-o)%(r-3))||0;a.style.display=s>3?"none":"block"}var i=St.rtl&&!k(a);a.classList.remove("past"),a.classList.remove("present"),a.classList.remove("future"),t>o?a.classList.add(i?"future":"past"):o>t&&a.classList.add(i?"past":"future"),a.querySelector("section")&&a.classList.add("stack")}n[t].classList.add("present");var c=n[t].getAttribute("data-state");c&&(xt=xt.concat(c.split(" ")));var l=n[t].getAttribute("data-autoslide");kt=l?parseInt(l,10):St.autoSlide}else t=0;return t}function C(){if(St.progress&&Mt.progress){var e=d(document.querySelectorAll(Lt)),t=document.querySelectorAll(bt+":not(.stack)").length,n=0;e:for(var r=0;e.length>r;r++){for(var o=e[r],a=d(o.querySelectorAll("section")),s=0;a.length>s;s++){if(a[s].classList.contains("present"))break e;n++}if(o.classList.contains("present"))break;o.classList.contains("stack")===!1&&n++}Mt.progressbar.style.width=n/(t-1)*window.innerWidth+"px"}}function R(){if(St.controls&&Mt.controls){var e=Y(),t=z();Mt.controlsLeft.concat(Mt.controlsRight).concat(Mt.controlsUp).concat(Mt.controlsDown).concat(Mt.controlsPrev).concat(Mt.controlsNext).forEach(function(e){e.classList.remove("enabled"),e.classList.remove("fragmented")}),e.left&&Mt.controlsLeft.forEach(function(e){e.classList.add("enabled")}),e.right&&Mt.controlsRight.forEach(function(e){e.classList.add("enabled")}),e.up&&Mt.controlsUp.forEach(function(e){e.classList.add("enabled")}),e.down&&Mt.controlsDown.forEach(function(e){e.classList.add("enabled")}),(e.left||e.up)&&Mt.controlsPrev.forEach(function(e){e.classList.add("enabled")}),(e.right||e.down)&&Mt.controlsNext.forEach(function(e){e.classList.add("enabled")}),yt&&(t.prev&&Mt.controlsPrev.forEach(function(e){e.classList.add("fragmented","enabled")}),t.next&&Mt.controlsNext.forEach(function(e){e.classList.add("fragmented","enabled")}),k(yt)?(t.prev&&Mt.controlsUp.forEach(function(e){e.classList.add("fragmented","enabled")}),t.next&&Mt.controlsDown.forEach(function(e){e.classList.add("fragmented","enabled")})):(t.prev&&Mt.controlsLeft.forEach(function(e){e.classList.add("fragmented","enabled")}),t.next&&Mt.controlsRight.forEach(function(e){e.classList.add("fragmented","enabled")})))}}function O(){d(Mt.background.childNodes).forEach(function(e,t){e.className=At>t?"past":t>At?"future":"present",d(e.childNodes).forEach(function(e,t){e.className=qt>t?"past":t>qt?"future":"present"})}),setTimeout(function(){Mt.background.classList.remove("no-transition")},1)}function Y(){var e=document.querySelectorAll(Lt),t=document.querySelectorAll(wt),n={left:At>0||St.loop,right:e.length-1>At||St.loop,up:qt>0,down:t.length-1>qt};if(St.rtl){var r=n.left;n.left=n.right,n.right=r}return n}function z(){if(yt&&St.fragments){var e=yt.querySelectorAll(".fragment"),t=yt.querySelectorAll(".fragment:not(.visible)");return{prev:e.length-t.length>0,next:!!t.length}}return{prev:!1,next:!1}}function X(e){e&&(d(e.querySelectorAll("video, audio")).forEach(function(e){e.hasAttribute("data-autoplay")&&e.play()}),d(e.querySelectorAll('iframe[src*="youtube.com/embed/"]')).forEach(function(e){e.hasAttribute("data-autoplay")&&e.contentWindow.postMessage('{"event":"command","func":"playVideo","args":""}',"*")}))}function H(e){e&&(d(e.querySelectorAll("video, audio")).forEach(function(e){e.hasAttribute("data-ignore")||e.pause()}),d(e.querySelectorAll('iframe[src*="youtube.com/embed/"]')).forEach(function(e){e.hasAttribute("data-ignore")||"function"!=typeof e.contentWindow.postMessage||e.contentWindow.postMessage('{"event":"command","func":"pauseVideo","args":""}',"*")}))}function I(){var e=window.location.hash,t=e.slice(2).split("/"),n=e.replace(/#|\//gi,"");if(isNaN(parseInt(t[0],10))&&n.length){var r=document.querySelector("#"+n);if(r){var o=Reveal.getIndices(r);P(o.h,o.v)}else P(At,qt)}else{var a=parseInt(t[0],10)||0,s=parseInt(t[1],10)||0;P(a,s)}}function W(e){if(St.history)if(clearTimeout(Rt),"number"==typeof e)Rt=setTimeout(W,e);else{var t="/";yt&&"string"==typeof yt.getAttribute("id")?t="/"+yt.getAttribute("id"):((At>0||qt>0)&&(t+=At),qt>0&&(t+="/"+qt)),window.location.hash=t}}function U(e){var t,n=At,r=qt;if(e){var o=k(e),a=o?e.parentNode:e,s=d(document.querySelectorAll(Lt));n=Math.max(s.indexOf(a),0),o&&(r=Math.max(d(e.parentNode.querySelectorAll("section")).indexOf(e),0))}if(!e&&yt){var i=yt.querySelectorAll(".fragment.visible");i.length&&(t=i.length)}return{h:n,v:r,f:t}}function F(){if(yt&&St.fragments){var e=h(yt.querySelectorAll(".fragment:not(.visible)"));if(e.length){var t=e[0].getAttribute("data-fragment-index");return e=yt.querySelectorAll('.fragment[data-fragment-index="'+t+'"]'),d(e).forEach(function(e){e.classList.add("visible"),v("fragmentshown",{fragment:e})}),R(),!0}}return!1}function j(){if(yt&&St.fragments){var e=h(yt.querySelectorAll(".fragment.visible"));if(e.length){var t=e[e.length-1].getAttribute("data-fragment-index");return e=yt.querySelectorAll('.fragment[data-fragment-index="'+t+'"]'),d(e).forEach(function(e){e.classList.remove("visible"),v("fragmenthidden",{fragment:e})}),R(),!0}}return!1}function _(){clearTimeout(Ct),!kt||M()||S()||(Ct=setTimeout(G,kt))}function K(){clearTimeout(Ct)}function $(){St.rtl?(S()||F()===!1)&&Y().left&&P(At+1):(S()||j()===!1)&&Y().left&&P(At-1)}function V(){St.rtl?(S()||j()===!1)&&Y().right&&P(At-1):(S()||F()===!1)&&Y().right&&P(At+1)}function Z(){(S()||j()===!1)&&Y().up&&P(At,qt-1)}function Q(){(S()||F()===!1)&&Y().down&&P(At,qt+1)}function B(){if(j()===!1)if(Y().up)Z();else{var e=document.querySelector(Lt+".past:nth-child("+At+")");e&&(qt=e.querySelectorAll("section").length+1||void 0,At--,P(At,qt))}}function G(){F()===!1&&(Y().down?Q():V()),_()}function J(e){document.activeElement;var t=!(!document.activeElement||!document.activeElement.type&&!document.activeElement.href&&"inherit"===document.activeElement.contentEditable);if(!(t||e.shiftKey&&32!==e.keyCode||e.altKey||e.ctrlKey||e.metaKey)){var n=!0;if(M()&&-1===[66,190,191].indexOf(e.keyCode))return!1;switch(e.keyCode){case 80:case 33:B();break;case 78:case 34:G();break;case 72:case 37:$();break;case 76:case 39:V();break;case 75:case 38:Z();break;case 74:case 40:Q();break;case 36:P(0);break;case 35:P(Number.MAX_VALUE);break;case 32:S()?w():e.shiftKey?B():G();break;case 13:S()?w():n=!1;break;case 66:case 190:case 191:T();break;case 70:A();break;default:n=!1}n?e.preventDefault():27===e.keyCode&&Pt&&(E(),e.preventDefault()),_()}}function et(e){Xt.startX=e.touches[0].clientX,Xt.startY=e.touches[0].clientY,Xt.startCount=e.touches.length,2===e.touches.length&&St.overview&&(Xt.startSpan=u({x:e.touches[1].clientX,y:e.touches[1].clientY},{x:Xt.startX,y:Xt.startY}))}function tt(e){if(Xt.handled)navigator.userAgent.match(/android/gi)&&e.preventDefault();else{var t=e.touches[0].clientX,n=e.touches[0].clientY;if(2===e.touches.length&&2===Xt.startCount&&St.overview){var r=u({x:e.touches[1].clientX,y:e.touches[1].clientY},{x:Xt.startX,y:Xt.startY});Math.abs(Xt.startSpan-r)>Xt.threshold&&(Xt.handled=!0,Xt.startSpan>r?L():w()),e.preventDefault()}else if(1===e.touches.length&&2!==Xt.startCount){var o=t-Xt.startX,a=n-Xt.startY;o>Xt.threshold&&Math.abs(o)>Math.abs(a)?(Xt.handled=!0,$()):-Xt.threshold>o&&Math.abs(o)>Math.abs(a)?(Xt.handled=!0,V()):a>Xt.threshold?(Xt.handled=!0,Z()):-Xt.threshold>a&&(Xt.handled=!0,Q()),e.preventDefault()}}}function nt(){Xt.handled=!1}function rt(e){e.pointerType===e.MSPOINTER_TYPE_TOUCH&&(e.touches=[{clientX:e.clientX,clientY:e.clientY}],et(e))}function ot(e){e.pointerType===e.MSPOINTER_TYPE_TOUCH&&(e.touches=[{clientX:e.clientX,clientY:e.clientY}],tt(e))}function at(e){e.pointerType===e.MSPOINTER_TYPE_TOUCH&&(e.touches=[{clientX:e.clientX,clientY:e.clientY}],nt(e))}function st(e){clearTimeout(Dt),Dt=setTimeout(function(){var t=e.detail||-e.wheelDelta;t>0?G():B()},100)}function it(e){e.preventDefault();var t=d(document.querySelectorAll(Lt)).length,n=Math.floor(e.clientX/Mt.wrapper.offsetWidth*t);P(n)}function ct(e){e.preventDefault(),$()}function lt(e){e.preventDefault(),V()}function dt(e){e.preventDefault(),Z()}function ut(e){e.preventDefault(),Q()}function ft(e){e.preventDefault(),B()}function vt(e){e.preventDefault(),G()}function pt(){I()}function mt(){g()}function ht(e){if(zt&&S()){e.preventDefault();for(var t=e.target;t&&!t.nodeName.match(/section/gi);)t=t.parentNode;if(t&&!t.classList.contains("disabled")&&(w(),t.nodeName.match(/section/gi))){var n=parseInt(t.getAttribute("data-index-h"),10),r=parseInt(t.getAttribute("data-index-v"),10);P(n,r)}}}var gt,yt,bt=".reveal .slides section",Lt=".reveal .slides>section",wt=".reveal .slides>section.present>section",Et=".reveal .slides>section:first-child",St={width:960,height:700,margin:.1,minScale:.2,maxScale:1,controls:!0,progress:!0,history:!1,keyboard:!0,overview:!0,center:!0,touch:!0,loop:!1,rtl:!1,fragments:!0,autoSlide:0,mouseWheel:!1,rollingLinks:!0,theme:null,transition:"default",transitionSpeed:"default",backgroundTransition:"default",dependencies:[]},kt=0,At=0,qt=0,xt=[],Tt=1,Mt={},Pt="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,Nt="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,Dt=0,Ct=0,Rt=0,Ot=0,Yt=0,zt=!1,Xt={startX:0,startY:0,startSpan:0,startCount:0,handled:!1,threshold:80};return{initialize:e,configure:s,sync:N,slide:P,left:$,right:V,up:Z,down:Q,prev:B,next:G,prevFragment:j,nextFragment:F,navigateTo:P,navigateLeft:$,navigateRight:V,navigateUp:Z,navigateDown:Q,navigatePrev:B,navigateNext:G,layout:g,availableRoutes:Y,availableFragments:z,toggleOverview:E,togglePause:T,isOverview:S,isPaused:M,addEventListeners:i,removeEventListeners:c,getIndices:U,getSlide:function(e,t){var n=document.querySelectorAll(Lt)[e],r=n&&n.querySelectorAll("section");return t!==void 0?r?r[t]:void 0:n},getPreviousSlide:function(){return gt},getCurrentSlide:function(){return yt},getScale:function(){return Tt},getConfig:function(){return St},getQueryHash:function(){var e={};return location.search.replace(/[A-Z0-9]+?=(\w*)/gi,function(t){e[t.split("=").shift()]=t.split("=").pop()}),e},isFirstSlide:function(){return null==document.querySelector(bt+".past")?!0:!1},isLastSlide:function(){return yt&&yt.classList.contains(".stack")?null==yt.querySelector(bt+".future")?!0:!1:null==document.querySelector(bt+".future")?!0:!1},addEventListener:function(e,t,n){"addEventListener"in window&&(Mt.wrapper||document.querySelector(".reveal")).addEventListener(e,t,n)},removeEventListener:function(e,t,n){"addEventListener"in window&&(Mt.wrapper||document.querySelector(".reveal")).removeEventListener(e,t,n)}}}(); \ No newline at end of file +var Reveal=function(){"use strict";function e(e){return Nt||Pt?(window.addEventListener("load",g,!1),l(St,e),r(),o(),void 0):(document.body.setAttribute("class","no-transforms"),void 0)}function t(){if(Mt.theme=document.querySelector("#theme"),Mt.wrapper=document.querySelector(".reveal"),Mt.slides=document.querySelector(".reveal .slides"),document.querySelector(".reveal .background")||(Mt.background=document.createElement("div"),Mt.background.classList.add("background"),Mt.wrapper.appendChild(Mt.background)),!Mt.wrapper.querySelector(".progress")){var e=document.createElement("div");e.classList.add("progress"),e.innerHTML="",Mt.wrapper.appendChild(e)}if(!Mt.wrapper.querySelector(".controls")){var t=document.createElement("aside");t.classList.add("controls"),t.innerHTML='',Mt.wrapper.appendChild(t)}if(!Mt.wrapper.querySelector(".state-background")){var n=document.createElement("div");n.classList.add("state-background"),Mt.wrapper.appendChild(n)}if(!Mt.wrapper.querySelector(".pause-overlay")){var r=document.createElement("div");r.classList.add("pause-overlay"),Mt.wrapper.appendChild(r)}Mt.progress=document.querySelector(".reveal .progress"),Mt.progressbar=document.querySelector(".reveal .progress span"),St.controls&&(Mt.controls=document.querySelector(".reveal .controls"),Mt.controlsLeft=d(document.querySelectorAll(".navigate-left")),Mt.controlsRight=d(document.querySelectorAll(".navigate-right")),Mt.controlsUp=d(document.querySelectorAll(".navigate-up")),Mt.controlsDown=d(document.querySelectorAll(".navigate-down")),Mt.controlsPrev=d(document.querySelectorAll(".navigate-prev")),Mt.controlsNext=d(document.querySelectorAll(".navigate-next")))}function n(){function e(e,t){var n={background:e.getAttribute("data-background"),backgroundSize:e.getAttribute("data-background-size"),backgroundColor:e.getAttribute("data-background-color"),backgroundRepeat:e.getAttribute("data-background-repeat"),backgroundPosition:e.getAttribute("data-background-position")},r=document.createElement("div");return n.background&&(/\.(png|jpg|jpeg|gif|bmp)$/gi.test(n.background)?r.style.backgroundImage="url("+n.background+")":r.style.background=n.background),n.backgroundSize&&(r.style.backgroundSize=n.backgroundSize),n.backgroundColor&&(r.style.backgroundColor=n.backgroundColor),n.backgroundRepeat&&(r.style.backgroundRepeat=n.backgroundRepeat),n.backgroundPosition&&(r.style.backgroundPosition=n.backgroundPosition),t.appendChild(r),r}Mt.background.innerHTML="",Mt.background.classList.add("no-transition"),d(document.querySelectorAll(Lt)).forEach(function(t){var n=e(t,Mt.background);d(t.querySelectorAll("section")).forEach(function(t){e(t,n)})})}function r(){/iphone|ipod|android/gi.test(navigator.userAgent)&&!/crios/gi.test(navigator.userAgent)&&(window.addEventListener("load",f,!1),window.addEventListener("orientationchange",f,!1))}function o(){function e(){n.length&&head.js.apply(null,n),a()}for(var t=[],n=[],r=0,o=St.dependencies.length;o>r;r++){var s=St.dependencies[r];(!s.condition||s.condition())&&(s.async?n.push(s.src):t.push(s.src),"function"==typeof s.callback&&head.ready(s.src.match(/([\w\d_\-]*)\.?js$|[^\\\/]*$/i)[0],s.callback))}t.length?(head.ready(e),head.js.apply(null,t)):e()}function a(){t(),s(),I(),setTimeout(function(){v("ready",{indexh:At,indexv:qt,currentSlide:yt})},1)}function s(e){if(Mt.wrapper.classList.remove(St.transition),"object"==typeof e&&l(St,e),Pt===!1&&(St.transition="linear"),Mt.wrapper.classList.add(St.transition),Mt.wrapper.setAttribute("data-transition-speed",St.transitionSpeed),Mt.wrapper.setAttribute("data-background-transition",St.backgroundTransition),Mt.controls&&(Mt.controls.style.display=St.controls&&Mt.controls?"block":"none"),Mt.progress&&(Mt.progress.style.display=St.progress&&Mt.progress?"block":"none"),St.rtl?Mt.wrapper.classList.add("rtl"):Mt.wrapper.classList.remove("rtl"),St.center?Mt.wrapper.classList.add("center"):Mt.wrapper.classList.remove("center"),St.mouseWheel?(document.addEventListener("DOMMouseScroll",st,!1),document.addEventListener("mousewheel",st,!1)):(document.removeEventListener("DOMMouseScroll",st,!1),document.removeEventListener("mousewheel",st,!1)),St.rollingLinks?p():m(),St.theme&&Mt.theme){var t=Mt.theme.getAttribute("href"),n=/[^\/]*?(?=\.css)/,r=t.match(n)[0];St.theme!==r&&(t=t.replace(n,St.theme),Mt.theme.setAttribute("href",t))}N()}function i(){zt=!0,window.addEventListener("hashchange",pt,!1),window.addEventListener("resize",mt,!1),St.touch&&(Mt.wrapper.addEventListener("touchstart",et,!1),Mt.wrapper.addEventListener("touchmove",tt,!1),Mt.wrapper.addEventListener("touchend",nt,!1),window.navigator.msPointerEnabled&&(Mt.wrapper.addEventListener("MSPointerDown",rt,!1),Mt.wrapper.addEventListener("MSPointerMove",ot,!1),Mt.wrapper.addEventListener("MSPointerUp",at,!1))),St.keyboard&&document.addEventListener("keydown",J,!1),St.progress&&Mt.progress&&Mt.progress.addEventListener("click",it,!1),St.controls&&Mt.controls&&["touchstart","click"].forEach(function(e){Mt.controlsLeft.forEach(function(t){t.addEventListener(e,ct,!1)}),Mt.controlsRight.forEach(function(t){t.addEventListener(e,lt,!1)}),Mt.controlsUp.forEach(function(t){t.addEventListener(e,dt,!1)}),Mt.controlsDown.forEach(function(t){t.addEventListener(e,ut,!1)}),Mt.controlsPrev.forEach(function(t){t.addEventListener(e,ft,!1)}),Mt.controlsNext.forEach(function(t){t.addEventListener(e,vt,!1)})})}function c(){zt=!1,document.removeEventListener("keydown",J,!1),window.removeEventListener("hashchange",pt,!1),window.removeEventListener("resize",mt,!1),Mt.wrapper.removeEventListener("touchstart",et,!1),Mt.wrapper.removeEventListener("touchmove",tt,!1),Mt.wrapper.removeEventListener("touchend",nt,!1),window.navigator.msPointerEnabled&&(Mt.wrapper.removeEventListener("MSPointerDown",rt,!1),Mt.wrapper.removeEventListener("MSPointerMove",ot,!1),Mt.wrapper.removeEventListener("MSPointerUp",at,!1)),St.progress&&Mt.progress&&Mt.progress.removeEventListener("click",it,!1),St.controls&&Mt.controls&&["touchstart","click"].forEach(function(e){Mt.controlsLeft.forEach(function(t){t.removeEventListener(e,ct,!1)}),Mt.controlsRight.forEach(function(t){t.removeEventListener(e,lt,!1)}),Mt.controlsUp.forEach(function(t){t.removeEventListener(e,dt,!1)}),Mt.controlsDown.forEach(function(t){t.removeEventListener(e,ut,!1)}),Mt.controlsPrev.forEach(function(t){t.removeEventListener(e,ft,!1)}),Mt.controlsNext.forEach(function(t){t.removeEventListener(e,vt,!1)})})}function l(e,t){for(var n in t)e[n]=t[n]}function d(e){return Array.prototype.slice.call(e)}function u(e,t){var n=e.x-t.x,r=e.y-t.y;return Math.sqrt(n*n+r*r)}function f(){0===window.orientation?(document.documentElement.style.overflow="scroll",document.body.style.height="120%"):(document.documentElement.style.overflow="",document.body.style.height="100%"),setTimeout(function(){window.scrollTo(0,1)},10)}function v(e,t){var n=document.createEvent("HTMLEvents",1,2);n.initEvent(e,!0,!0),l(n,t),Mt.wrapper.dispatchEvent(n)}function p(){if(Pt&&!("msPerspective"in document.body.style))for(var e=document.querySelectorAll(bt+" a:not(.image)"),t=0,n=e.length;n>t;t++){var r=e[t];if(!(!r.textContent||r.querySelector("*")||r.className&&r.classList.contains(r,"roll"))){var o=document.createElement("span");o.setAttribute("data-title",r.text),o.innerHTML=r.innerHTML,r.classList.add("roll"),r.innerHTML="",r.appendChild(o)}}}function m(){for(var e=document.querySelectorAll(bt+" a.roll"),t=0,n=e.length;n>t;t++){var r=e[t],o=r.querySelector("span");o&&(r.classList.remove("roll"),r.innerHTML=o.innerHTML)}}function h(e){var t=d(e);return t.forEach(function(e,t){e.hasAttribute("data-fragment-index")||e.setAttribute("data-fragment-index",t)}),t.sort(function(e,t){return e.getAttribute("data-fragment-index")-t.getAttribute("data-fragment-index")}),t}function g(){if(Mt.wrapper){var e=Mt.wrapper.offsetWidth,t=Mt.wrapper.offsetHeight;e-=t*St.margin,t-=t*St.margin;var n=St.width,r=St.height;if("string"==typeof n&&/%$/.test(n)&&(n=parseInt(n,10)/100*e),"string"==typeof r&&/%$/.test(r)&&(r=parseInt(r,10)/100*t),Mt.slides.style.width=n+"px",Mt.slides.style.height=r+"px",Tt=Math.min(e/n,t/r),Tt=Math.max(Tt,St.minScale),Tt=Math.min(Tt,St.maxScale),void 0===Mt.slides.style.zoom||navigator.userAgent.match(/(iphone|ipod|ipad|android)/gi)){var o="translate(-50%, -50%) scale("+Tt+") translate(50%, 50%)";Mt.slides.style.WebkitTransform=o,Mt.slides.style.MozTransform=o,Mt.slides.style.msTransform=o,Mt.slides.style.OTransform=o,Mt.slides.style.transform=o}else Mt.slides.style.zoom=Tt;for(var a=d(document.querySelectorAll(bt)),s=0,i=a.length;i>s;s++){var c=a[s];"none"!==c.style.display&&(c.style.top=St.center?c.classList.contains("stack")?0:Math.max(-(c.offsetHeight/2)-20,-r/2)+"px":"")}D()}}function y(e,t){"object"==typeof e&&"function"==typeof e.setAttribute&&e.setAttribute("data-previous-indexv",t||0)}function b(e){if("object"==typeof e&&"function"==typeof e.setAttribute&&e.classList.contains("stack")){var t=e.hasAttribute("data-start-indexv")?"data-start-indexv":"data-previous-indexv";return parseInt(e.getAttribute(t)||0,10)}return 0}function L(){if(St.overview){K();var e=Mt.wrapper.classList.contains("overview");Mt.wrapper.classList.add("overview"),Mt.wrapper.classList.remove("exit-overview"),clearTimeout(Ot),clearTimeout(Yt),Ot=setTimeout(function(){for(var t=document.querySelectorAll(Lt),n=0,r=t.length;r>n;n++){var o=t[n],a=St.rtl?-105:105,s="translateZ(-2500px) translate("+(n-At)*a+"%, 0%)";if(o.setAttribute("data-index-h",n),o.style.display="block",o.style.WebkitTransform=s,o.style.MozTransform=s,o.style.msTransform=s,o.style.OTransform=s,o.style.transform=s,o.classList.contains("stack"))for(var i=o.querySelectorAll("section"),c=0,l=i.length;l>c;c++){var d=n===At?qt:b(o),u=i[c],f="translate(0%, "+105*(c-d)+"%)";u.setAttribute("data-index-h",n),u.setAttribute("data-index-v",c),u.style.display="block",u.style.WebkitTransform=f,u.style.MozTransform=f,u.style.msTransform=f,u.style.OTransform=f,u.style.transform=f,u.addEventListener("click",ht,!0)}else o.addEventListener("click",ht,!0)}g(),e||v("overviewshown",{indexh:At,indexv:qt,currentSlide:yt})},10)}}function w(){if(St.overview){clearTimeout(Ot),clearTimeout(Yt),Mt.wrapper.classList.remove("overview"),Mt.wrapper.classList.add("exit-overview"),Yt=setTimeout(function(){Mt.wrapper.classList.remove("exit-overview")},10);for(var e=d(document.querySelectorAll(bt)),t=0,n=e.length;n>t;t++){var r=e[t];r.style.display="",r.style.WebkitTransform="",r.style.MozTransform="",r.style.msTransform="",r.style.OTransform="",r.style.transform="",r.removeEventListener("click",ht,!0)}P(At,qt),_(),v("overviewhidden",{indexh:At,indexv:qt,currentSlide:yt})}}function E(e){"boolean"==typeof e?e?L():w():S()?w():L()}function S(){return Mt.wrapper.classList.contains("overview")}function k(e){return e=e?e:yt,e&&!!e.parentNode.nodeName.match(/section/i)}function A(){var e=document.body,t=e.requestFullScreen||e.webkitRequestFullscreen||e.webkitRequestFullScreen||e.mozRequestFullScreen||e.msRequestFullScreen;t&&t.apply(e)}function q(){var e=Mt.wrapper.classList.contains("paused");K(),Mt.wrapper.classList.add("paused"),e===!1&&v("paused")}function x(){var e=Mt.wrapper.classList.contains("paused");Mt.wrapper.classList.remove("paused"),_(),e&&v("resumed")}function T(){M()?x():q()}function M(){return Mt.wrapper.classList.contains("paused")}function P(e,t,n,r){gt=yt;var o=document.querySelectorAll(Lt);void 0===t&&(t=b(o[e])),gt&>.parentNode&>.parentNode.classList.contains("stack")&&y(gt.parentNode,qt);var a=xt.concat();xt.length=0;var s=At,i=qt;At=C(Lt,void 0===e?At:e),qt=C(wt,void 0===t?qt:t),g();e:for(var c=0,l=xt.length;l>c;c++){for(var u=0;a.length>u;u++)if(a[u]===xt[c]){a.splice(u,1);continue e}document.documentElement.classList.add(xt[c]),v(xt[c])}for(;a.length;)document.documentElement.classList.remove(a.pop());S()&&L(),W(1500);var f=o[At],p=f.querySelectorAll("section");if(yt=p[qt]||f,n!==void 0){var m=h(yt.querySelectorAll(".fragment"));d(m).forEach(function(e,t){n>t?e.classList.add("visible"):e.classList.remove("visible")})}At!==s||qt!==i?v("slidechanged",{indexh:At,indexv:qt,previousSlide:gt,currentSlide:yt,origin:r}):gt=null,gt&&(gt.classList.remove("present"),document.querySelector(Et).classList.contains("present")&&setTimeout(function(){var e,t=d(document.querySelectorAll(Lt+".stack"));for(e in t)t[e]&&y(t[e],0)},0)),H(gt),X(yt),R(),D(),O()}function N(){c(),i(),g(),kt=St.autoSlide,_(),n(),R(),D(),O()}function C(e,t){var n=d(document.querySelectorAll(e)),r=n.length;if(r){St.loop&&(t%=r,0>t&&(t=r+t)),t=Math.max(Math.min(t,r-1),0);for(var o=0;r>o;o++){var a=n[o];if(S()===!1){var s=Math.abs((t-o)%(r-3))||0;a.style.display=s>3?"none":"block"}var i=St.rtl&&!k(a);a.classList.remove("past"),a.classList.remove("present"),a.classList.remove("future"),t>o?a.classList.add(i?"future":"past"):o>t&&a.classList.add(i?"past":"future"),a.querySelector("section")&&a.classList.add("stack")}n[t].classList.add("present");var c=n[t].getAttribute("data-state");c&&(xt=xt.concat(c.split(" ")));var l=n[t].getAttribute("data-autoslide");kt=l?parseInt(l,10):St.autoSlide}else t=0;return t}function D(){if(St.progress&&Mt.progress){var e=d(document.querySelectorAll(Lt)),t=document.querySelectorAll(bt+":not(.stack)").length,n=0;e:for(var r=0;e.length>r;r++){for(var o=e[r],a=d(o.querySelectorAll("section")),s=0;a.length>s;s++){if(a[s].classList.contains("present"))break e;n++}if(o.classList.contains("present"))break;o.classList.contains("stack")===!1&&n++}Mt.progressbar.style.width=n/(t-1)*window.innerWidth+"px"}}function R(){if(St.controls&&Mt.controls){var e=Y(),t=z();Mt.controlsLeft.concat(Mt.controlsRight).concat(Mt.controlsUp).concat(Mt.controlsDown).concat(Mt.controlsPrev).concat(Mt.controlsNext).forEach(function(e){e.classList.remove("enabled"),e.classList.remove("fragmented")}),e.left&&Mt.controlsLeft.forEach(function(e){e.classList.add("enabled")}),e.right&&Mt.controlsRight.forEach(function(e){e.classList.add("enabled")}),e.up&&Mt.controlsUp.forEach(function(e){e.classList.add("enabled")}),e.down&&Mt.controlsDown.forEach(function(e){e.classList.add("enabled")}),(e.left||e.up)&&Mt.controlsPrev.forEach(function(e){e.classList.add("enabled")}),(e.right||e.down)&&Mt.controlsNext.forEach(function(e){e.classList.add("enabled")}),yt&&(t.prev&&Mt.controlsPrev.forEach(function(e){e.classList.add("fragmented","enabled")}),t.next&&Mt.controlsNext.forEach(function(e){e.classList.add("fragmented","enabled")}),k(yt)?(t.prev&&Mt.controlsUp.forEach(function(e){e.classList.add("fragmented","enabled")}),t.next&&Mt.controlsDown.forEach(function(e){e.classList.add("fragmented","enabled")})):(t.prev&&Mt.controlsLeft.forEach(function(e){e.classList.add("fragmented","enabled")}),t.next&&Mt.controlsRight.forEach(function(e){e.classList.add("fragmented","enabled")})))}}function O(){d(Mt.background.childNodes).forEach(function(e,t){e.className=At>t?"past":t>At?"future":"present",d(e.childNodes).forEach(function(e,t){e.className=qt>t?"past":t>qt?"future":"present"})}),setTimeout(function(){Mt.background.classList.remove("no-transition")},1)}function Y(){var e=document.querySelectorAll(Lt),t=document.querySelectorAll(wt),n={left:At>0||St.loop,right:e.length-1>At||St.loop,up:qt>0,down:t.length-1>qt};if(St.rtl){var r=n.left;n.left=n.right,n.right=r}return n}function z(){if(yt&&St.fragments){var e=yt.querySelectorAll(".fragment"),t=yt.querySelectorAll(".fragment:not(.visible)");return{prev:e.length-t.length>0,next:!!t.length}}return{prev:!1,next:!1}}function X(e){e&&(d(e.querySelectorAll("video, audio")).forEach(function(e){e.hasAttribute("data-autoplay")&&e.play()}),d(e.querySelectorAll('iframe[src*="youtube.com/embed/"]')).forEach(function(e){e.hasAttribute("data-autoplay")&&e.contentWindow.postMessage('{"event":"command","func":"playVideo","args":""}',"*")}))}function H(e){e&&(d(e.querySelectorAll("video, audio")).forEach(function(e){e.hasAttribute("data-ignore")||e.pause()}),d(e.querySelectorAll('iframe[src*="youtube.com/embed/"]')).forEach(function(e){e.hasAttribute("data-ignore")||"function"!=typeof e.contentWindow.postMessage||e.contentWindow.postMessage('{"event":"command","func":"pauseVideo","args":""}',"*")}))}function I(){var e=window.location.hash,t=e.slice(2).split("/"),n=e.replace(/#|\//gi,"");if(isNaN(parseInt(t[0],10))&&n.length){var r=document.querySelector("#"+n);if(r){var o=Reveal.getIndices(r);P(o.h,o.v)}else P(At,qt)}else{var a=parseInt(t[0],10)||0,s=parseInt(t[1],10)||0;P(a,s)}}function W(e){if(St.history)if(clearTimeout(Rt),"number"==typeof e)Rt=setTimeout(W,e);else{var t="/";yt&&"string"==typeof yt.getAttribute("id")?t="/"+yt.getAttribute("id"):((At>0||qt>0)&&(t+=At),qt>0&&(t+="/"+qt)),window.location.hash=t}}function U(e){var t,n=At,r=qt;if(e){var o=k(e),a=o?e.parentNode:e,s=d(document.querySelectorAll(Lt));n=Math.max(s.indexOf(a),0),o&&(r=Math.max(d(e.parentNode.querySelectorAll("section")).indexOf(e),0))}if(!e&&yt){var i=yt.querySelectorAll(".fragment.visible");i.length&&(t=i.length)}return{h:n,v:r,f:t}}function F(){if(yt&&St.fragments){var e=h(yt.querySelectorAll(".fragment:not(.visible)"));if(e.length){var t=e[0].getAttribute("data-fragment-index");return e=yt.querySelectorAll('.fragment[data-fragment-index="'+t+'"]'),d(e).forEach(function(e){e.classList.add("visible"),v("fragmentshown",{fragment:e})}),R(),!0}}return!1}function j(){if(yt&&St.fragments){var e=h(yt.querySelectorAll(".fragment.visible"));if(e.length){var t=e[e.length-1].getAttribute("data-fragment-index");return e=yt.querySelectorAll('.fragment[data-fragment-index="'+t+'"]'),d(e).forEach(function(e){e.classList.remove("visible"),v("fragmenthidden",{fragment:e})}),R(),!0}}return!1}function _(){clearTimeout(Dt),!kt||M()||S()||(Dt=setTimeout(G,kt))}function K(){clearTimeout(Dt)}function $(){St.rtl?(S()||F()===!1)&&Y().left&&P(At+1):(S()||j()===!1)&&Y().left&&P(At-1)}function V(){St.rtl?(S()||j()===!1)&&Y().right&&P(At-1):(S()||F()===!1)&&Y().right&&P(At+1)}function Z(){(S()||j()===!1)&&Y().up&&P(At,qt-1)}function Q(){(S()||F()===!1)&&Y().down&&P(At,qt+1)}function B(){if(j()===!1)if(Y().up)Z();else{var e=document.querySelector(Lt+".past:nth-child("+At+")");e&&(qt=e.querySelectorAll("section").length+1||void 0,At--,P(At,qt))}}function G(){F()===!1&&(Y().down?Q():V()),_()}function J(e){document.activeElement;var t=!(!document.activeElement||!document.activeElement.type&&!document.activeElement.href&&"inherit"===document.activeElement.contentEditable);if(!(t||e.shiftKey&&32!==e.keyCode||e.altKey||e.ctrlKey||e.metaKey)){var n=!0;if(M()&&-1===[66,190,191].indexOf(e.keyCode))return!1;switch(e.keyCode){case 80:case 33:B();break;case 78:case 34:G();break;case 72:case 37:$();break;case 76:case 39:V();break;case 75:case 38:Z();break;case 74:case 40:Q();break;case 36:P(0);break;case 35:P(Number.MAX_VALUE);break;case 32:S()?w():e.shiftKey?B():G();break;case 13:S()?w():n=!1;break;case 66:case 190:case 191:T();break;case 70:A();break;default:n=!1}n?e.preventDefault():27===e.keyCode&&Pt&&(E(),e.preventDefault()),_()}}function et(e){Xt.startX=e.touches[0].clientX,Xt.startY=e.touches[0].clientY,Xt.startCount=e.touches.length,2===e.touches.length&&St.overview&&(Xt.startSpan=u({x:e.touches[1].clientX,y:e.touches[1].clientY},{x:Xt.startX,y:Xt.startY}))}function tt(e){if(Xt.handled)navigator.userAgent.match(/android/gi)&&e.preventDefault();else{var t=e.touches[0].clientX,n=e.touches[0].clientY;if(2===e.touches.length&&2===Xt.startCount&&St.overview){var r=u({x:e.touches[1].clientX,y:e.touches[1].clientY},{x:Xt.startX,y:Xt.startY});Math.abs(Xt.startSpan-r)>Xt.threshold&&(Xt.handled=!0,Xt.startSpan>r?L():w()),e.preventDefault()}else if(1===e.touches.length&&2!==Xt.startCount){var o=t-Xt.startX,a=n-Xt.startY;o>Xt.threshold&&Math.abs(o)>Math.abs(a)?(Xt.handled=!0,$()):-Xt.threshold>o&&Math.abs(o)>Math.abs(a)?(Xt.handled=!0,V()):a>Xt.threshold?(Xt.handled=!0,Z()):-Xt.threshold>a&&(Xt.handled=!0,Q()),e.preventDefault()}}}function nt(){Xt.handled=!1}function rt(e){e.pointerType===e.MSPOINTER_TYPE_TOUCH&&(e.touches=[{clientX:e.clientX,clientY:e.clientY}],et(e))}function ot(e){e.pointerType===e.MSPOINTER_TYPE_TOUCH&&(e.touches=[{clientX:e.clientX,clientY:e.clientY}],tt(e))}function at(e){e.pointerType===e.MSPOINTER_TYPE_TOUCH&&(e.touches=[{clientX:e.clientX,clientY:e.clientY}],nt(e))}function st(e){clearTimeout(Ct),Ct=setTimeout(function(){var t=e.detail||-e.wheelDelta;t>0?G():B()},100)}function it(e){e.preventDefault();var t=d(document.querySelectorAll(Lt)).length,n=Math.floor(e.clientX/Mt.wrapper.offsetWidth*t);P(n)}function ct(e){e.preventDefault(),$()}function lt(e){e.preventDefault(),V()}function dt(e){e.preventDefault(),Z()}function ut(e){e.preventDefault(),Q()}function ft(e){e.preventDefault(),B()}function vt(e){e.preventDefault(),G()}function pt(){I()}function mt(){g()}function ht(e){if(zt&&S()){e.preventDefault();for(var t=e.target;t&&!t.nodeName.match(/section/gi);)t=t.parentNode;if(t&&!t.classList.contains("disabled")&&(w(),t.nodeName.match(/section/gi))){var n=parseInt(t.getAttribute("data-index-h"),10),r=parseInt(t.getAttribute("data-index-v"),10);P(n,r)}}}var gt,yt,bt=".reveal .slides section",Lt=".reveal .slides>section",wt=".reveal .slides>section.present>section",Et=".reveal .slides>section:first-child",St={width:960,height:700,margin:.1,minScale:.2,maxScale:1,controls:!0,progress:!0,history:!1,keyboard:!0,overview:!0,center:!0,touch:!0,loop:!1,rtl:!1,fragments:!0,autoSlide:0,mouseWheel:!1,rollingLinks:!0,theme:null,transition:"default",transitionSpeed:"default",backgroundTransition:"default",dependencies:[]},kt=0,At=0,qt=0,xt=[],Tt=1,Mt={},Pt="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,Nt="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,Ct=0,Dt=0,Rt=0,Ot=0,Yt=0,zt=!1,Xt={startX:0,startY:0,startSpan:0,startCount:0,handled:!1,threshold:80};return{initialize:e,configure:s,sync:N,slide:P,left:$,right:V,up:Z,down:Q,prev:B,next:G,prevFragment:j,nextFragment:F,navigateTo:P,navigateLeft:$,navigateRight:V,navigateUp:Z,navigateDown:Q,navigatePrev:B,navigateNext:G,layout:g,availableRoutes:Y,availableFragments:z,toggleOverview:E,togglePause:T,isOverview:S,isPaused:M,addEventListeners:i,removeEventListeners:c,getIndices:U,getSlide:function(e,t){var n=document.querySelectorAll(Lt)[e],r=n&&n.querySelectorAll("section");return t!==void 0?r?r[t]:void 0:n},getPreviousSlide:function(){return gt},getCurrentSlide:function(){return yt},getScale:function(){return Tt},getConfig:function(){return St},getQueryHash:function(){var e={};return location.search.replace(/[A-Z0-9]+?=(\w*)/gi,function(t){e[t.split("=").shift()]=t.split("=").pop()}),e},isFirstSlide:function(){return null==document.querySelector(bt+".past")?!0:!1},isLastSlide:function(){return yt&&yt.classList.contains(".stack")?null==yt.querySelector(bt+".future")?!0:!1:null==document.querySelector(bt+".future")?!0:!1},addEventListener:function(e,t,n){"addEventListener"in window&&(Mt.wrapper||document.querySelector(".reveal")).addEventListener(e,t,n)},removeEventListener:function(e,t,n){"addEventListener"in window&&(Mt.wrapper||document.querySelector(".reveal")).removeEventListener(e,t,n)}}}(); \ No newline at end of file diff --git a/test/background.html b/test/background.html index 42689f3..9c8d3fe 100644 --- a/test/background.html +++ b/test/background.html @@ -54,7 +54,7 @@

Background image

-
+

Background image

data-background-size="100px" data-background-repeat="repeat"
From 0ce57f1f91d079b027dc250a2827b8ac4d93bd2d Mon Sep 17 00:00:00 2001 From: Hakim El Hattab Date: Tue, 4 Jun 2013 21:14:13 +0200 Subject: [PATCH 10/23] update background test, documented slide backgrounds in readme (#453) --- README.md | 46 ++++++++++++++++++++++++++++++++------------ js/reveal.min.js | 2 +- test/background.html | 4 ++-- 3 files changed, 37 insertions(+), 15 deletions(-) diff --git a/README.md b/README.md index 85e7e5c..a496f5d 100644 --- a/README.md +++ b/README.md @@ -106,6 +106,9 @@ Reveal.initialize({ // Transition speed transitionSpeed: 'default', // default/fast/slow + // Transition style for full page backgrounds + backgroundTransition: 'default' // default/linear + }); ``` @@ -211,18 +214,6 @@ Reveal.getCurrentSlide(); Reveal.getIndices(); // { h: 0, v: 0 } } ``` -### States - -If you set ``data-state="somestate"`` on a slide ``
``, "somestate" will be applied as a class on the document element when that slide is opened. This allows you to apply broad style changes to the page based on the active slide. - -Furthermore you can also listen to these changes in state via JavaScript: - -```javascript -Reveal.addEventListener( 'somestate', function() { - // TODO: Sprinkle magic -}, false ); -``` - ### Ready event The 'ready' event is fired when reveal.js has loaded all (synchronous) dependencies and is ready to start navigating. @@ -245,6 +236,37 @@ Reveal.addEventListener( 'slidechanged', function( event ) { } ); ``` +### States + +If you set ``data-state="somestate"`` on a slide ``
``, "somestate" will be applied as a class on the document element when that slide is opened. This allows you to apply broad style changes to the page based on the active slide. + +Furthermore you can also listen to these changes in state via JavaScript: + +```javascript +Reveal.addEventListener( 'somestate', function() { + // TODO: Sprinkle magic +}, false ); +``` + +### Slide backgrounds + +Slides are contained withing a limited portion of the screen by default to allow them to fit any display and scale uniformly. You can apply full page background colors or images by applying a ```data-background``` attribute to your ```
``` elements. Below are a few examples. + +```html +
+

All CSS color formats are supported, like rgba() or hsl().

+
+
+

This slide will have a full-size background image.

+
+
+

This background image will be sized to 100px and repeated.

+
+``` + +Backgrounds transition using a fade animation by default. This can be changed to a linear sliding transition by passing ```backgroundTransition: 'linear'``` to the ```Reveal.initialize()``` call. + + ### Internal links It's easy to link between slides. The first example below targets the index of another slide whereas the second targets a slide with an ID attribute (```
```): diff --git a/js/reveal.min.js b/js/reveal.min.js index a321063..aa2cf31 100644 --- a/js/reveal.min.js +++ b/js/reveal.min.js @@ -1,5 +1,5 @@ /*! - * reveal.js 2.5.0 (2013-06-04, 20:24) + * reveal.js 2.5.0 (2013-06-04, 20:58) * http://lab.hakim.se/reveal-js * MIT licensed * diff --git a/test/background.html b/test/background.html index 9c8d3fe..ccd374b 100644 --- a/test/background.html +++ b/test/background.html @@ -50,13 +50,13 @@
-
+

Background image

Background image

- data-background-size="100px" data-background-repeat="repeat" +
data-background-size="100px" data-background-repeat="repeat" data-background-color="#111"
From ff35847fc644253a19f4fcc43b05d4afb5960bcc Mon Sep 17 00:00:00 2001 From: Hakim El Hattab Date: Tue, 4 Jun 2013 21:29:32 +0200 Subject: [PATCH 11/23] update example deck to use slide backgrounds (#453) --- index.html | 27 ++++++++++++++++++--------- 1 file changed, 18 insertions(+), 9 deletions(-) diff --git a/index.html b/index.html index 3670474..982cfec 100644 --- a/index.html +++ b/index.html @@ -183,25 +183,34 @@
-
-

Global State

+

Global State

+

+ Set data-state="something" on a slide and "something" + will be added as a class to the document element when the slide is open. This lets you + apply broader style changes, like switching the background. +

+
+ +
+
+

Slide Backgrounds

- Set data-state="something" on a slide and "something" - will be added as a class to the document element when the slide is open. This lets you - apply broader style changes, like switching the background. + Set data-background="#007777" on a slide to change the full page background to the given color. All CSS color formats are supported.

Down arrow
-
-

"blackout"

+
+

Image Backgrounds

+
<section data-background="image.png">
Down arrow
-
-

"soothe"

+
+

Repeated Image Backgrounds

+
<section data-background="image.png" data-background-repeat="repeat" data-background-size="100px">
Up arrow From d3ebbf1be72dc1ea17c7c6e48f8c362feb4deb94 Mon Sep 17 00:00:00 2001 From: Chris Lawrence Date: Sat, 8 Jun 2013 05:45:48 -0400 Subject: [PATCH 12/23] Only call embedded content bits if the slide actually changed. --- js/reveal.js | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/js/reveal.js b/js/reveal.js index a4a71db..8e5fd98 100644 --- a/js/reveal.js +++ b/js/reveal.js @@ -1128,7 +1128,8 @@ var Reveal = (function(){ } // Dispatch an event if the slide changed - if( indexh !== indexhBefore || indexv !== indexvBefore ) { + var slideChanged = (indexh !== indexhBefore || indexv !== indexvBefore); + if( slideChanged ) { dispatchEvent( 'slidechanged', { 'indexh': indexh, 'indexv': indexv, @@ -1165,8 +1166,10 @@ var Reveal = (function(){ } // Handle embedded content - stopEmbeddedContent( previousSlide ); - startEmbeddedContent( currentSlide ); + if (slideChanged) { + stopEmbeddedContent( previousSlide ); + startEmbeddedContent( currentSlide ); + } updateControls(); updateProgress(); From 4d164dc5b6de800ee77b2e488fe34c21716b2d36 Mon Sep 17 00:00:00 2001 From: Hakim El Hattab Date: Sun, 9 Jun 2013 16:12:50 +0200 Subject: [PATCH 13/23] revamp pdf printing to support per-slide backgrounds (closes #453) --- css/print/pdf.css | 42 +++++++++++++++++++++++++++--------------- css/reveal.css | 23 ++++++++++++++--------- css/reveal.min.css | 2 +- index.html | 10 ++-------- js/reveal.js | 36 +++++++++++++++++++++++++++++++----- js/reveal.min.js | 4 ++-- 6 files changed, 77 insertions(+), 40 deletions(-) diff --git a/css/print/pdf.css b/css/print/pdf.css index 9811096..d278865 100644 --- a/css/print/pdf.css +++ b/css/print/pdf.css @@ -17,8 +17,9 @@ body { font-size: 18pt; - width: auto; - height: auto; + width: 297mm; + height: 229mm; + margin: 0 auto !important; border: 0; padding: 0; float: none !important; @@ -88,10 +89,8 @@ ul, ol, div, p { left: auto; top: auto; - margin-left: auto; - margin-right: auto; - margin-top: auto; - padding: auto; + margin: 0 !important; + padding: 0 !important; overflow: visible; display: block; @@ -113,18 +112,18 @@ ul, ol, div, p { page-break-after: always !important; visibility: visible !important; - position: static !important; + position: relative !important; width: 100% !important; - height: auto !important; - min-height: initial !important; + height: 229mm !important; + min-height: 229mm !important; display: block !important; - overflow: visible !important; + overflow: hidden !important; left: 0 !important; top: 0 !important; - margin-left: 0px !important; - margin-top: 50px !important; - padding: 20px 0px !important; + margin: 0 !important; + padding: 2cm 1cm 0 1cm !important; + box-sizing: border-box !important; opacity: 1 !important; @@ -139,9 +138,11 @@ ul, ol, div, p { transform: none !important; } .reveal section.stack { - margin: 0px !important; - padding: 0px !important; + margin: 0 !important; + padding: 0 !important; page-break-after: avoid !important; + height: auto !important; + min-height: auto !important; } .reveal section .fragment { opacity: 1 !important; @@ -152,6 +153,17 @@ ul, ol, div, p { -ms-transform: none !important; transform: none !important; } +.reveal section .slide-background { + position: absolute; + top: 0; + left: 0; + width: 100%; + z-index: 0; +} +.reveal section>* { + position: relative; + z-index: 1; +} .reveal img { box-shadow: none; } diff --git a/css/reveal.css b/css/reveal.css index 1f0b1f8..b878b91 100644 --- a/css/reveal.css +++ b/css/reveal.css @@ -1309,7 +1309,7 @@ body { width: 100%; height: 100%; } - .reveal>.background div { + .reveal .slide-background { position: absolute; width: 100%; height: 100%; @@ -1327,13 +1327,18 @@ body { -o-transition: all 650ms ease; transition: all 650ms ease; } - .reveal>.background div.present { + .reveal .slide-background.present { opacity: 1; visibility: visible; } + .print-pdf .reveal .slide-background { + opacity: 1 !important; + visibility: visible !important; + } + /* Linear sliding transition style */ -.reveal[data-background-transition=linear]>.background div { +.reveal[data-background-transition=linear]>.background .slide-background { opacity: 1; -webkit-backface-visibility: hidden; @@ -1341,14 +1346,14 @@ body { -ms-backface-visibility: hidden; backface-visibility: hidden; } - .reveal[data-background-transition=linear]>.background div.past { + .reveal[data-background-transition=linear]>.background .slide-background.past { -webkit-transform: translate(-100%, 0); -moz-transform: translate(-100%, 0); -ms-transform: translate(-100%, 0); -o-transform: translate(-100%, 0); transform: translate(-100%, 0); } - .reveal[data-background-transition=linear]>.background div.future { + .reveal[data-background-transition=linear]>.background .slide-background.future { -webkit-transform: translate(100%, 0); -moz-transform: translate(100%, 0); -ms-transform: translate(100%, 0); @@ -1356,14 +1361,14 @@ body { transform: translate(100%, 0); } - .reveal[data-background-transition=linear]>.background div>div.past { + .reveal[data-background-transition=linear]>.background .slide-background>.slide-background.past { -webkit-transform: translate(0, -100%); -moz-transform: translate(0, -100%); -ms-transform: translate(0, -100%); -o-transform: translate(0, -100%); transform: translate(0, -100%); } - .reveal[data-background-transition=linear]>.background div>div.future { + .reveal[data-background-transition=linear]>.background .slide-background>.slide-background.future { -webkit-transform: translate(0, 100%); -moz-transform: translate(0, 100%); -ms-transform: translate(0, 100%); @@ -1373,13 +1378,13 @@ body { /* Global transition speed settings */ -.reveal[data-transition-speed="fast"]>.background div { +.reveal[data-transition-speed="fast"]>.background .slide-background { -webkit-transition-duration: 300ms; -moz-transition-duration: 300ms; -ms-transition-duration: 300ms; transition-duration: 300ms; } -.reveal[data-transition-speed="slow"]>.background div { +.reveal[data-transition-speed="slow"]>.background .slide-background { -webkit-transition-duration: 900ms; -moz-transition-duration: 900ms; -ms-transition-duration: 900ms; diff --git a/css/reveal.min.css b/css/reveal.min.css index 2f5f914..90620d7 100644 --- a/css/reveal.min.css +++ b/css/reveal.min.css @@ -4,4 +4,4 @@ * MIT licensed * * Copyright (C) 2013 Hakim El Hattab, http://hakim.se - */ html,body,.reveal div,.reveal span,.reveal applet,.reveal object,.reveal iframe,.reveal h1,.reveal h2,.reveal h3,.reveal h4,.reveal h5,.reveal h6,.reveal p,.reveal blockquote,.reveal pre,.reveal a,.reveal abbr,.reveal acronym,.reveal address,.reveal big,.reveal cite,.reveal code,.reveal del,.reveal dfn,.reveal em,.reveal img,.reveal ins,.reveal kbd,.reveal q,.reveal s,.reveal samp,.reveal small,.reveal strike,.reveal strong,.reveal sub,.reveal sup,.reveal tt,.reveal var,.reveal b,.reveal u,.reveal i,.reveal center,.reveal dl,.reveal dt,.reveal dd,.reveal ol,.reveal ul,.reveal li,.reveal fieldset,.reveal form,.reveal label,.reveal legend,.reveal table,.reveal caption,.reveal tbody,.reveal tfoot,.reveal thead,.reveal tr,.reveal th,.reveal td,.reveal article,.reveal aside,.reveal canvas,.reveal details,.reveal embed,.reveal figure,.reveal figcaption,.reveal footer,.reveal header,.reveal hgroup,.reveal menu,.reveal nav,.reveal output,.reveal ruby,.reveal section,.reveal summary,.reveal time,.reveal mark,.reveal audio,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}.reveal article,.reveal aside,.reveal details,.reveal figcaption,.reveal figure,.reveal footer,.reveal header,.reveal hgroup,.reveal menu,.reveal nav,.reveal section{display:block}html,body{width:100%;height:100%;overflow:hidden}body{position:relative;line-height:1}::selection{background:#FF5E99;color:#fff;text-shadow:none}.reveal h1,.reveal h2,.reveal h3,.reveal h4,.reveal h5,.reveal h6{-webkit-hyphens:auto;-moz-hyphens:auto;hyphens:auto;word-wrap:break-word}.reveal h1{font-size:3.77em}.reveal h2{font-size:2.11em}.reveal h3{font-size:1.55em}.reveal h4{font-size:1em}.reveal .slides section .fragment{opacity:0;-webkit-transition:all .2s ease;-moz-transition:all .2s ease;-ms-transition:all .2s ease;-o-transition:all .2s ease;transition:all .2s ease}.reveal .slides section .fragment.visible{opacity:1}.reveal .slides section .fragment.grow{opacity:1}.reveal .slides section .fragment.grow.visible{-webkit-transform:scale(1.3);-moz-transform:scale(1.3);-ms-transform:scale(1.3);-o-transform:scale(1.3);transform:scale(1.3)}.reveal .slides section .fragment.shrink{opacity:1}.reveal .slides section .fragment.shrink.visible{-webkit-transform:scale(0.7);-moz-transform:scale(0.7);-ms-transform:scale(0.7);-o-transform:scale(0.7);transform:scale(0.7)}.reveal .slides section .fragment.zoom-in{opacity:0;-webkit-transform:scale(0.1);-moz-transform:scale(0.1);-ms-transform:scale(0.1);-o-transform:scale(0.1);transform:scale(0.1)}.reveal .slides section .fragment.zoom-in.visible{opacity:1;-webkit-transform:scale(1);-moz-transform:scale(1);-ms-transform:scale(1);-o-transform:scale(1);transform:scale(1)}.reveal .slides section .fragment.roll-in{opacity:0;-webkit-transform:rotateX(90deg);-moz-transform:rotateX(90deg);-ms-transform:rotateX(90deg);-o-transform:rotateX(90deg);transform:rotateX(90deg)}.reveal .slides section .fragment.roll-in.visible{opacity:1;-webkit-transform:rotateX(0);-moz-transform:rotateX(0);-ms-transform:rotateX(0);-o-transform:rotateX(0);transform:rotateX(0)}.reveal .slides section .fragment.fade-out{opacity:1}.reveal .slides section .fragment.fade-out.visible{opacity:0}.reveal .slides section .fragment.highlight-red,.reveal .slides section .fragment.highlight-green,.reveal .slides section .fragment.highlight-blue{opacity:1}.reveal .slides section .fragment.highlight-red.visible{color:#ff2c2d}.reveal .slides section .fragment.highlight-green.visible{color:#17ff2e}.reveal .slides section .fragment.highlight-blue.visible{color:#1b91ff}.reveal:after{content:'';font-style:italic}.reveal img,.reveal video,.reveal iframe{max-width:95%;max-height:95%}.reveal a{position:relative}.reveal strong,.reveal b{font-weight:700}.reveal em,.reveal i{font-style:italic}.reveal ol,.reveal ul{display:inline-block;text-align:left;margin:0 0 0 1em}.reveal ol{list-style-type:decimal}.reveal ul{list-style-type:disc}.reveal ul ul{list-style-type:square}.reveal ul ul ul{list-style-type:circle}.reveal ul ul,.reveal ul ol,.reveal ol ol,.reveal ol ul{display:block;margin-left:40px}.reveal p{margin-bottom:10px;line-height:1.2em}.reveal q,.reveal blockquote{quotes:none}.reveal blockquote{display:block;position:relative;width:70%;margin:5px auto;padding:5px;font-style:italic;background:rgba(255,255,255,.05);box-shadow:0 0 2px rgba(0,0,0,.2)}.reveal blockquote p:first-child,.reveal blockquote p:last-child{display:inline-block}.reveal q{font-style:italic}.reveal pre{display:block;position:relative;width:90%;margin:15px auto;text-align:left;font-size:.55em;font-family:monospace;line-height:1.2em;word-wrap:break-word;box-shadow:0 0 6px rgba(0,0,0,.3)}.reveal code{font-family:monospace}.reveal pre code{padding:5px;overflow:auto;max-height:400px;word-wrap:normal}.reveal table th,.reveal table td{text-align:left;padding-right:.3em}.reveal table th{text-shadow:#fff 1px 1px 2px}.reveal sup{vertical-align:super}.reveal sub{vertical-align:sub}.reveal small{display:inline-block;font-size:.6em;line-height:1.2em;vertical-align:top}.reveal small *{vertical-align:top}.reveal .controls{display:none;position:fixed;width:110px;height:110px;z-index:30;right:10px;bottom:10px}.reveal .controls div{position:absolute;opacity:.05;width:0;height:0;border:12px solid transparent;-moz-transform:scale(.9999);-webkit-transition:all .2s ease;-moz-transition:all .2s ease;-ms-transition:all .2s ease;-o-transition:all .2s ease;transition:all .2s ease}.reveal .controls div.enabled{opacity:.7;cursor:pointer}.reveal .controls div.enabled:active{margin-top:1px}.reveal .controls div.navigate-left{top:42px;border-right-width:22px;border-right-color:#eee}.reveal .controls div.navigate-left.fragmented{opacity:.3}.reveal .controls div.navigate-right{left:74px;top:42px;border-left-width:22px;border-left-color:#eee}.reveal .controls div.navigate-right.fragmented{opacity:.3}.reveal .controls div.navigate-up{left:42px;border-bottom-width:22px;border-bottom-color:#eee}.reveal .controls div.navigate-up.fragmented{opacity:.3}.reveal .controls div.navigate-down{left:42px;top:74px;border-top-width:22px;border-top-color:#eee}.reveal .controls div.navigate-down.fragmented{opacity:.3}.reveal .progress{position:fixed;display:none;height:3px;width:100%;bottom:0;left:0;z-index:10}.reveal .progress:after{content:'';display:'block';position:absolute;height:20px;width:100%;top:-20px}.reveal .progress span{display:block;height:100%;width:0;-webkit-transition:width 800ms cubic-bezier(0.26,.86,.44,.985);-moz-transition:width 800ms cubic-bezier(0.26,.86,.44,.985);-ms-transition:width 800ms cubic-bezier(0.26,.86,.44,.985);-o-transition:width 800ms cubic-bezier(0.26,.86,.44,.985);transition:width 800ms cubic-bezier(0.26,.86,.44,.985)}.reveal .roll{display:inline-block;line-height:1.2;overflow:hidden;vertical-align:top;-webkit-perspective:400px;-moz-perspective:400px;-ms-perspective:400px;perspective:400px;-webkit-perspective-origin:50% 50%;-moz-perspective-origin:50% 50%;-ms-perspective-origin:50% 50%;perspective-origin:50% 50%}.reveal .roll:hover{background:0;text-shadow:none}.reveal .roll span{display:block;position:relative;padding:0 2px;pointer-events:none;-webkit-transition:all 400ms ease;-moz-transition:all 400ms ease;-ms-transition:all 400ms ease;transition:all 400ms ease;-webkit-transform-origin:50% 0;-moz-transform-origin:50% 0;-ms-transform-origin:50% 0;transform-origin:50% 0;-webkit-transform-style:preserve-3d;-moz-transform-style:preserve-3d;-ms-transform-style:preserve-3d;transform-style:preserve-3d;-webkit-backface-visibility:hidden;-moz-backface-visibility:hidden;backface-visibility:hidden}.reveal .roll:hover span{background:rgba(0,0,0,.5);-webkit-transform:translate3d(0px,0,-45px) rotateX(90deg);-moz-transform:translate3d(0px,0,-45px) rotateX(90deg);-ms-transform:translate3d(0px,0,-45px) rotateX(90deg);transform:translate3d(0px,0,-45px) rotateX(90deg)}.reveal .roll span:after{content:attr(data-title);display:block;position:absolute;left:0;top:0;padding:0 2px;-webkit-backface-visibility:hidden;-moz-backface-visibility:hidden;backface-visibility:hidden;-webkit-transform-origin:50% 0;-moz-transform-origin:50% 0;-ms-transform-origin:50% 0;transform-origin:50% 0;-webkit-transform:translate3d(0px,110%,0) rotateX(-90deg);-moz-transform:translate3d(0px,110%,0) rotateX(-90deg);-ms-transform:translate3d(0px,110%,0) rotateX(-90deg);transform:translate3d(0px,110%,0) rotateX(-90deg)}.reveal{position:relative;width:100%;height:100%;-ms-touch-action:none}.reveal .slides{position:absolute;width:100%;height:100%;left:50%;top:50%;overflow:visible;z-index:1;text-align:center;-webkit-transition:-webkit-perspective .4s ease;-moz-transition:-moz-perspective .4s ease;-ms-transition:-ms-perspective .4s ease;-o-transition:-o-perspective .4s ease;transition:perspective .4s ease;-webkit-perspective:600px;-moz-perspective:600px;-ms-perspective:600px;perspective:600px;-webkit-perspective-origin:0 -100px;-moz-perspective-origin:0 -100px;-ms-perspective-origin:0 -100px;perspective-origin:0 -100px}.reveal .slides>section,.reveal .slides>section>section{display:none;position:absolute;width:100%;padding:20px 0;z-index:10;line-height:1.2em;font-weight:400;-webkit-transform-style:preserve-3d;-moz-transform-style:preserve-3d;-ms-transform-style:preserve-3d;transform-style:preserve-3d;-webkit-transition:-webkit-transform-origin 800ms cubic-bezier(0.26,.86,.44,.985),-webkit-transform 800ms cubic-bezier(0.26,.86,.44,.985),visibility 800ms cubic-bezier(0.26,.86,.44,.985),opacity 800ms cubic-bezier(0.26,.86,.44,.985);-moz-transition:-moz-transform-origin 800ms cubic-bezier(0.26,.86,.44,.985),-moz-transform 800ms cubic-bezier(0.26,.86,.44,.985),visibility 800ms cubic-bezier(0.26,.86,.44,.985),opacity 800ms cubic-bezier(0.26,.86,.44,.985);-ms-transition:-ms-transform-origin 800ms cubic-bezier(0.26,.86,.44,.985),-ms-transform 800ms cubic-bezier(0.26,.86,.44,.985),visibility 800ms cubic-bezier(0.26,.86,.44,.985),opacity 800ms cubic-bezier(0.26,.86,.44,.985);-o-transition:-o-transform-origin 800ms cubic-bezier(0.26,.86,.44,.985),-o-transform 800ms cubic-bezier(0.26,.86,.44,.985),visibility 800ms cubic-bezier(0.26,.86,.44,.985),opacity 800ms cubic-bezier(0.26,.86,.44,.985);transition:transform-origin 800ms cubic-bezier(0.26,.86,.44,.985),transform 800ms cubic-bezier(0.26,.86,.44,.985),visibility 800ms cubic-bezier(0.26,.86,.44,.985),opacity 800ms cubic-bezier(0.26,.86,.44,.985)}.reveal[data-transition-speed=fast] .slides section{-webkit-transition-duration:400ms;-moz-transition-duration:400ms;-ms-transition-duration:400ms;transition-duration:400ms}.reveal[data-transition-speed=slow] .slides section{-webkit-transition-duration:1200ms;-moz-transition-duration:1200ms;-ms-transition-duration:1200ms;transition-duration:1200ms}.reveal .slides section[data-transition-speed=fast]{-webkit-transition-duration:400ms;-moz-transition-duration:400ms;-ms-transition-duration:400ms;transition-duration:400ms}.reveal .slides section[data-transition-speed=slow]{-webkit-transition-duration:1200ms;-moz-transition-duration:1200ms;-ms-transition-duration:1200ms;transition-duration:1200ms}.reveal .slides>section{left:-50%;top:-50%}.reveal .slides>section.stack{padding-top:0;padding-bottom:0}.reveal .slides>section.present,.reveal .slides>section>section.present{display:block;z-index:11;opacity:1}.reveal.center,.reveal.center .slides,.reveal.center .slides section{min-height:auto!important}.reveal .slides>section[data-transition=default].past,.reveal .slides>section.past{display:block;opacity:0;-webkit-transform:translate3d(-100%,0,0) rotateY(-90deg) translate3d(-100%,0,0);-moz-transform:translate3d(-100%,0,0) rotateY(-90deg) translate3d(-100%,0,0);-ms-transform:translate3d(-100%,0,0) rotateY(-90deg) translate3d(-100%,0,0);transform:translate3d(-100%,0,0) rotateY(-90deg) translate3d(-100%,0,0)}.reveal .slides>section[data-transition=default].future,.reveal .slides>section.future{display:block;opacity:0;-webkit-transform:translate3d(100%,0,0) rotateY(90deg) translate3d(100%,0,0);-moz-transform:translate3d(100%,0,0) rotateY(90deg) translate3d(100%,0,0);-ms-transform:translate3d(100%,0,0) rotateY(90deg) translate3d(100%,0,0);transform:translate3d(100%,0,0) rotateY(90deg) translate3d(100%,0,0)}.reveal .slides>section>section[data-transition=default].past,.reveal .slides>section>section.past{display:block;opacity:0;-webkit-transform:translate3d(0,-300px,0) rotateX(70deg) translate3d(0,-300px,0);-moz-transform:translate3d(0,-300px,0) rotateX(70deg) translate3d(0,-300px,0);-ms-transform:translate3d(0,-300px,0) rotateX(70deg) translate3d(0,-300px,0);transform:translate3d(0,-300px,0) rotateX(70deg) translate3d(0,-300px,0)}.reveal .slides>section>section[data-transition=default].future,.reveal .slides>section>section.future{display:block;opacity:0;-webkit-transform:translate3d(0,300px,0) rotateX(-70deg) translate3d(0,300px,0);-moz-transform:translate3d(0,300px,0) rotateX(-70deg) translate3d(0,300px,0);-ms-transform:translate3d(0,300px,0) rotateX(-70deg) translate3d(0,300px,0);transform:translate3d(0,300px,0) rotateX(-70deg) translate3d(0,300px,0)}.reveal .slides>section[data-transition=concave].past,.reveal.concave .slides>section.past{-webkit-transform:translate3d(-100%,0,0) rotateY(90deg) translate3d(-100%,0,0);-moz-transform:translate3d(-100%,0,0) rotateY(90deg) translate3d(-100%,0,0);-ms-transform:translate3d(-100%,0,0) rotateY(90deg) translate3d(-100%,0,0);transform:translate3d(-100%,0,0) rotateY(90deg) translate3d(-100%,0,0)}.reveal .slides>section[data-transition=concave].future,.reveal.concave .slides>section.future{-webkit-transform:translate3d(100%,0,0) rotateY(-90deg) translate3d(100%,0,0);-moz-transform:translate3d(100%,0,0) rotateY(-90deg) translate3d(100%,0,0);-ms-transform:translate3d(100%,0,0) rotateY(-90deg) translate3d(100%,0,0);transform:translate3d(100%,0,0) rotateY(-90deg) translate3d(100%,0,0)}.reveal .slides>section>section[data-transition=concave].past,.reveal.concave .slides>section>section.past{-webkit-transform:translate3d(0,-80%,0) rotateX(-70deg) translate3d(0,-80%,0);-moz-transform:translate3d(0,-80%,0) rotateX(-70deg) translate3d(0,-80%,0);-ms-transform:translate3d(0,-80%,0) rotateX(-70deg) translate3d(0,-80%,0);transform:translate3d(0,-80%,0) rotateX(-70deg) translate3d(0,-80%,0)}.reveal .slides>section>section[data-transition=concave].future,.reveal.concave .slides>section>section.future{-webkit-transform:translate3d(0,80%,0) rotateX(70deg) translate3d(0,80%,0);-moz-transform:translate3d(0,80%,0) rotateX(70deg) translate3d(0,80%,0);-ms-transform:translate3d(0,80%,0) rotateX(70deg) translate3d(0,80%,0);transform:translate3d(0,80%,0) rotateX(70deg) translate3d(0,80%,0)}.reveal .slides>section[data-transition=zoom].past,.reveal.zoom .slides>section.past{opacity:0;visibility:hidden;-webkit-transform:scale(16);-moz-transform:scale(16);-ms-transform:scale(16);-o-transform:scale(16);transform:scale(16)}.reveal .slides>section[data-transition=zoom].future,.reveal.zoom .slides>section.future{opacity:0;visibility:hidden;-webkit-transform:scale(0.2);-moz-transform:scale(0.2);-ms-transform:scale(0.2);-o-transform:scale(0.2);transform:scale(0.2)}.reveal .slides>section>section[data-transition=zoom].past,.reveal.zoom .slides>section>section.past{-webkit-transform:translate(0,-150%);-moz-transform:translate(0,-150%);-ms-transform:translate(0,-150%);-o-transform:translate(0,-150%);transform:translate(0,-150%)}.reveal .slides>section>section[data-transition=zoom].future,.reveal.zoom .slides>section>section.future{-webkit-transform:translate(0,150%);-moz-transform:translate(0,150%);-ms-transform:translate(0,150%);-o-transform:translate(0,150%);transform:translate(0,150%)}.reveal.linear section{-webkit-backface-visibility:hidden;-moz-backface-visibility:hidden;-ms-backface-visibility:hidden;backface-visibility:hidden}.reveal .slides>section[data-transition=linear].past,.reveal.linear .slides>section.past{-webkit-transform:translate(-150%,0);-moz-transform:translate(-150%,0);-ms-transform:translate(-150%,0);-o-transform:translate(-150%,0);transform:translate(-150%,0)}.reveal .slides>section[data-transition=linear].future,.reveal.linear .slides>section.future{-webkit-transform:translate(150%,0);-moz-transform:translate(150%,0);-ms-transform:translate(150%,0);-o-transform:translate(150%,0);transform:translate(150%,0)}.reveal .slides>section>section[data-transition=linear].past,.reveal.linear .slides>section>section.past{-webkit-transform:translate(0,-150%);-moz-transform:translate(0,-150%);-ms-transform:translate(0,-150%);-o-transform:translate(0,-150%);transform:translate(0,-150%)}.reveal .slides>section>section[data-transition=linear].future,.reveal.linear .slides>section>section.future{-webkit-transform:translate(0,150%);-moz-transform:translate(0,150%);-ms-transform:translate(0,150%);-o-transform:translate(0,150%);transform:translate(0,150%)}.reveal.cube .slides{-webkit-perspective:1300px;-moz-perspective:1300px;-ms-perspective:1300px;perspective:1300px}.reveal.cube .slides section{padding:30px;min-height:700px;-webkit-backface-visibility:hidden;-moz-backface-visibility:hidden;-ms-backface-visibility:hidden;backface-visibility:hidden;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.reveal.center.cube .slides section{min-height:auto}.reveal.cube .slides section:not(.stack):before{content:'';position:absolute;display:block;width:100%;height:100%;left:0;top:0;background:rgba(0,0,0,.1);border-radius:4px;-webkit-transform:translateZ(-20px);-moz-transform:translateZ(-20px);-ms-transform:translateZ(-20px);-o-transform:translateZ(-20px);transform:translateZ(-20px)}.reveal.cube .slides section:not(.stack):after{content:'';position:absolute;display:block;width:90%;height:30px;left:5%;bottom:0;background:0;z-index:1;border-radius:4px;box-shadow:0 95px 25px rgba(0,0,0,.2);-webkit-transform:translateZ(-90px) rotateX(65deg);-moz-transform:translateZ(-90px) rotateX(65deg);-ms-transform:translateZ(-90px) rotateX(65deg);-o-transform:translateZ(-90px) rotateX(65deg);transform:translateZ(-90px) rotateX(65deg)}.reveal.cube .slides>section.stack{padding:0;background:0}.reveal.cube .slides>section.past{-webkit-transform-origin:100% 0;-moz-transform-origin:100% 0;-ms-transform-origin:100% 0;transform-origin:100% 0;-webkit-transform:translate3d(-100%,0,0) rotateY(-90deg);-moz-transform:translate3d(-100%,0,0) rotateY(-90deg);-ms-transform:translate3d(-100%,0,0) rotateY(-90deg);transform:translate3d(-100%,0,0) rotateY(-90deg)}.reveal.cube .slides>section.future{-webkit-transform-origin:0 0;-moz-transform-origin:0 0;-ms-transform-origin:0 0;transform-origin:0 0;-webkit-transform:translate3d(100%,0,0) rotateY(90deg);-moz-transform:translate3d(100%,0,0) rotateY(90deg);-ms-transform:translate3d(100%,0,0) rotateY(90deg);transform:translate3d(100%,0,0) rotateY(90deg)}.reveal.cube .slides>section>section.past{-webkit-transform-origin:0 100%;-moz-transform-origin:0 100%;-ms-transform-origin:0 100%;transform-origin:0 100%;-webkit-transform:translate3d(0,-100%,0) rotateX(90deg);-moz-transform:translate3d(0,-100%,0) rotateX(90deg);-ms-transform:translate3d(0,-100%,0) rotateX(90deg);transform:translate3d(0,-100%,0) rotateX(90deg)}.reveal.cube .slides>section>section.future{-webkit-transform-origin:0 0;-moz-transform-origin:0 0;-ms-transform-origin:0 0;transform-origin:0 0;-webkit-transform:translate3d(0,100%,0) rotateX(-90deg);-moz-transform:translate3d(0,100%,0) rotateX(-90deg);-ms-transform:translate3d(0,100%,0) rotateX(-90deg);transform:translate3d(0,100%,0) rotateX(-90deg)}.reveal.page .slides{-webkit-perspective-origin:0 50%;-moz-perspective-origin:0 50%;-ms-perspective-origin:0 50%;perspective-origin:0 50%;-webkit-perspective:3000px;-moz-perspective:3000px;-ms-perspective:3000px;perspective:3000px}.reveal.page .slides section{padding:30px;min-height:700px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.reveal.page .slides section.past{z-index:12}.reveal.page .slides section:not(.stack):before{content:'';position:absolute;display:block;width:100%;height:100%;left:0;top:0;background:rgba(0,0,0,.1);-webkit-transform:translateZ(-20px);-moz-transform:translateZ(-20px);-ms-transform:translateZ(-20px);-o-transform:translateZ(-20px);transform:translateZ(-20px)}.reveal.page .slides section:not(.stack):after{content:'';position:absolute;display:block;width:90%;height:30px;left:5%;bottom:0;background:0;z-index:1;border-radius:4px;box-shadow:0 95px 25px rgba(0,0,0,.2);-webkit-transform:translateZ(-90px) rotateX(65deg)}.reveal.page .slides>section.stack{padding:0;background:0}.reveal.page .slides>section.past{-webkit-transform-origin:0 0;-moz-transform-origin:0 0;-ms-transform-origin:0 0;transform-origin:0 0;-webkit-transform:translate3d(-40%,0,0) rotateY(-80deg);-moz-transform:translate3d(-40%,0,0) rotateY(-80deg);-ms-transform:translate3d(-40%,0,0) rotateY(-80deg);transform:translate3d(-40%,0,0) rotateY(-80deg)}.reveal.page .slides>section.future{-webkit-transform-origin:100% 0;-moz-transform-origin:100% 0;-ms-transform-origin:100% 0;transform-origin:100% 0;-webkit-transform:translate3d(0,0,0);-moz-transform:translate3d(0,0,0);-ms-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}.reveal.page .slides>section>section.past{-webkit-transform-origin:0 0;-moz-transform-origin:0 0;-ms-transform-origin:0 0;transform-origin:0 0;-webkit-transform:translate3d(0,-40%,0) rotateX(80deg);-moz-transform:translate3d(0,-40%,0) rotateX(80deg);-ms-transform:translate3d(0,-40%,0) rotateX(80deg);transform:translate3d(0,-40%,0) rotateX(80deg)}.reveal.page .slides>section>section.future{-webkit-transform-origin:0 100%;-moz-transform-origin:0 100%;-ms-transform-origin:0 100%;transform-origin:0 100%;-webkit-transform:translate3d(0,0,0);-moz-transform:translate3d(0,0,0);-ms-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}.reveal .slides section[data-transition=fade],.reveal.fade .slides section,.reveal.fade .slides>section>section{-webkit-transform:none;-moz-transform:none;-ms-transform:none;-o-transform:none;transform:none;-webkit-transition:opacity .5s;-moz-transition:opacity .5s;-ms-transition:opacity .5s;-o-transition:opacity .5s;transition:opacity .5s}.reveal.fade.overview .slides section,.reveal.fade.overview .slides>section>section,.reveal.fade.exit-overview .slides section,.reveal.fade.exit-overview .slides>section>section{-webkit-transition:none;-moz-transition:none;-ms-transition:none;-o-transition:none;transition:none}.reveal .slides section[data-transition=none],.reveal.none .slides section{-webkit-transform:none;-moz-transform:none;-ms-transform:none;-o-transform:none;transform:none;-webkit-transition:none;-moz-transition:none;-ms-transition:none;-o-transition:none;transition:none}.reveal.overview .slides{-webkit-perspective-origin:0 0;-moz-perspective-origin:0 0;-ms-perspective-origin:0 0;perspective-origin:0 0;-webkit-perspective:700px;-moz-perspective:700px;-ms-perspective:700px;perspective:700px}.reveal.overview .slides section{height:600px;overflow:hidden;opacity:1!important;visibility:visible!important;cursor:pointer;background:rgba(0,0,0,.1)}.reveal.overview .slides section .fragment{opacity:1}.reveal.overview .slides section:after,.reveal.overview .slides section:before{display:none!important}.reveal.overview .slides section>section{opacity:1;cursor:pointer}.reveal.overview .slides section:hover{background:rgba(0,0,0,.3)}.reveal.overview .slides section.present{background:rgba(0,0,0,.3)}.reveal.overview .slides>section.stack{padding:0;background:0;overflow:visible}.reveal .pause-overlay{position:absolute;top:0;left:0;width:100%;height:100%;background:#000;visibility:hidden;opacity:0;z-index:100;-webkit-transition:all 1s ease;-moz-transition:all 1s ease;-ms-transition:all 1s ease;-o-transition:all 1s ease;transition:all 1s ease}.reveal.paused .pause-overlay{visibility:visible;opacity:1}.no-transforms{overflow-y:auto}.no-transforms .reveal .slides{position:relative;width:80%;height:auto!important;top:0;left:50%;margin:0;text-align:center}.no-transforms .reveal .controls,.no-transforms .reveal .progress{display:none!important}.no-transforms .reveal .slides section{display:block!important;opacity:1!important;position:relative!important;height:auto;min-height:auto;top:0;left:-50%;margin:70px 0;-webkit-transform:none;-moz-transform:none;-ms-transform:none;-o-transform:none;transform:none}.no-transforms .reveal .slides section section{left:0}.reveal .no-transition,.reveal .no-transition *{-webkit-transition:none!important;-moz-transition:none!important;-ms-transition:none!important;-o-transition:none!important;transition:none!important}.reveal .state-background{position:absolute;width:100%;height:100%;background:rgba(0,0,0,0);-webkit-transition:background 800ms ease;-moz-transition:background 800ms ease;-ms-transition:background 800ms ease;-o-transition:background 800ms ease;transition:background 800ms ease}.alert .reveal .state-background{background:rgba(200,50,30,.6)}.soothe .reveal .state-background{background:rgba(50,200,90,.4)}.blackout .reveal .state-background{background:rgba(0,0,0,.6)}.whiteout .reveal .state-background{background:rgba(255,255,255,.6)}.cobalt .reveal .state-background{background:rgba(22,152,213,.6)}.mint .reveal .state-background{background:rgba(22,213,75,.6)}.submerge .reveal .state-background{background:rgba(12,25,77,.6)}.lila .reveal .state-background{background:rgba(180,50,140,.6)}.sunset .reveal .state-background{background:rgba(255,122,0,.6)}.reveal>.background{position:absolute;width:100%;height:100%}.reveal>.background div{position:absolute;width:100%;height:100%;opacity:0;visibility:hidden;background-color:rgba(0,0,0,0);background-position:50% 50%;background-repeat:no-repeat;background-size:cover;-webkit-transition:all 650ms ease;-moz-transition:all 650ms ease;-ms-transition:all 650ms ease;-o-transition:all 650ms ease;transition:all 650ms ease}.reveal>.background div.present{opacity:1;visibility:visible}.reveal[data-background-transition=linear]>.background div{opacity:1;-webkit-backface-visibility:hidden;-moz-backface-visibility:hidden;-ms-backface-visibility:hidden;backface-visibility:hidden}.reveal[data-background-transition=linear]>.background div.past{-webkit-transform:translate(-100%,0);-moz-transform:translate(-100%,0);-ms-transform:translate(-100%,0);-o-transform:translate(-100%,0);transform:translate(-100%,0)}.reveal[data-background-transition=linear]>.background div.future{-webkit-transform:translate(100%,0);-moz-transform:translate(100%,0);-ms-transform:translate(100%,0);-o-transform:translate(100%,0);transform:translate(100%,0)}.reveal[data-background-transition=linear]>.background div>div.past{-webkit-transform:translate(0,-100%);-moz-transform:translate(0,-100%);-ms-transform:translate(0,-100%);-o-transform:translate(0,-100%);transform:translate(0,-100%)}.reveal[data-background-transition=linear]>.background div>div.future{-webkit-transform:translate(0,100%);-moz-transform:translate(0,100%);-ms-transform:translate(0,100%);-o-transform:translate(0,100%);transform:translate(0,100%)}.reveal[data-transition-speed=fast]>.background div{-webkit-transition-duration:300ms;-moz-transition-duration:300ms;-ms-transition-duration:300ms;transition-duration:300ms}.reveal[data-transition-speed=slow]>.background div{-webkit-transition-duration:900ms;-moz-transition-duration:900ms;-ms-transition-duration:900ms;transition-duration:900ms}.reveal.rtl .slides,.reveal.rtl .slides h1,.reveal.rtl .slides h2,.reveal.rtl .slides h3,.reveal.rtl .slides h4,.reveal.rtl .slides h5,.reveal.rtl .slides h6{direction:rtl;font-family:sans-serif}.reveal.rtl pre,.reveal.rtl code{direction:ltr}.reveal.rtl ol,.reveal.rtl ul{text-align:right}.reveal.rtl .progress span{float:right}.reveal aside.notes{display:none}.zoomed .reveal *,.zoomed .reveal :before,.zoomed .reveal :after{-webkit-transform:none!important;-moz-transform:none!important;-ms-transform:none!important;transform:none!important;-webkit-backface-visibility:visible!important;-moz-backface-visibility:visible!important;-ms-backface-visibility:visible!important;backface-visibility:visible!important}.zoomed .reveal .progress,.zoomed .reveal .controls{opacity:0}.zoomed .reveal .roll span{background:0}.zoomed .reveal .roll span:after{visibility:hidden} \ No newline at end of file + */ html,body,.reveal div,.reveal span,.reveal applet,.reveal object,.reveal iframe,.reveal h1,.reveal h2,.reveal h3,.reveal h4,.reveal h5,.reveal h6,.reveal p,.reveal blockquote,.reveal pre,.reveal a,.reveal abbr,.reveal acronym,.reveal address,.reveal big,.reveal cite,.reveal code,.reveal del,.reveal dfn,.reveal em,.reveal img,.reveal ins,.reveal kbd,.reveal q,.reveal s,.reveal samp,.reveal small,.reveal strike,.reveal strong,.reveal sub,.reveal sup,.reveal tt,.reveal var,.reveal b,.reveal u,.reveal i,.reveal center,.reveal dl,.reveal dt,.reveal dd,.reveal ol,.reveal ul,.reveal li,.reveal fieldset,.reveal form,.reveal label,.reveal legend,.reveal table,.reveal caption,.reveal tbody,.reveal tfoot,.reveal thead,.reveal tr,.reveal th,.reveal td,.reveal article,.reveal aside,.reveal canvas,.reveal details,.reveal embed,.reveal figure,.reveal figcaption,.reveal footer,.reveal header,.reveal hgroup,.reveal menu,.reveal nav,.reveal output,.reveal ruby,.reveal section,.reveal summary,.reveal time,.reveal mark,.reveal audio,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}.reveal article,.reveal aside,.reveal details,.reveal figcaption,.reveal figure,.reveal footer,.reveal header,.reveal hgroup,.reveal menu,.reveal nav,.reveal section{display:block}html,body{width:100%;height:100%;overflow:hidden}body{position:relative;line-height:1}::selection{background:#FF5E99;color:#fff;text-shadow:none}.reveal h1,.reveal h2,.reveal h3,.reveal h4,.reveal h5,.reveal h6{-webkit-hyphens:auto;-moz-hyphens:auto;hyphens:auto;word-wrap:break-word}.reveal h1{font-size:3.77em}.reveal h2{font-size:2.11em}.reveal h3{font-size:1.55em}.reveal h4{font-size:1em}.reveal .slides section .fragment{opacity:0;-webkit-transition:all .2s ease;-moz-transition:all .2s ease;-ms-transition:all .2s ease;-o-transition:all .2s ease;transition:all .2s ease}.reveal .slides section .fragment.visible{opacity:1}.reveal .slides section .fragment.grow{opacity:1}.reveal .slides section .fragment.grow.visible{-webkit-transform:scale(1.3);-moz-transform:scale(1.3);-ms-transform:scale(1.3);-o-transform:scale(1.3);transform:scale(1.3)}.reveal .slides section .fragment.shrink{opacity:1}.reveal .slides section .fragment.shrink.visible{-webkit-transform:scale(0.7);-moz-transform:scale(0.7);-ms-transform:scale(0.7);-o-transform:scale(0.7);transform:scale(0.7)}.reveal .slides section .fragment.zoom-in{opacity:0;-webkit-transform:scale(0.1);-moz-transform:scale(0.1);-ms-transform:scale(0.1);-o-transform:scale(0.1);transform:scale(0.1)}.reveal .slides section .fragment.zoom-in.visible{opacity:1;-webkit-transform:scale(1);-moz-transform:scale(1);-ms-transform:scale(1);-o-transform:scale(1);transform:scale(1)}.reveal .slides section .fragment.roll-in{opacity:0;-webkit-transform:rotateX(90deg);-moz-transform:rotateX(90deg);-ms-transform:rotateX(90deg);-o-transform:rotateX(90deg);transform:rotateX(90deg)}.reveal .slides section .fragment.roll-in.visible{opacity:1;-webkit-transform:rotateX(0);-moz-transform:rotateX(0);-ms-transform:rotateX(0);-o-transform:rotateX(0);transform:rotateX(0)}.reveal .slides section .fragment.fade-out{opacity:1}.reveal .slides section .fragment.fade-out.visible{opacity:0}.reveal .slides section .fragment.highlight-red,.reveal .slides section .fragment.highlight-green,.reveal .slides section .fragment.highlight-blue{opacity:1}.reveal .slides section .fragment.highlight-red.visible{color:#ff2c2d}.reveal .slides section .fragment.highlight-green.visible{color:#17ff2e}.reveal .slides section .fragment.highlight-blue.visible{color:#1b91ff}.reveal:after{content:'';font-style:italic}.reveal img,.reveal video,.reveal iframe{max-width:95%;max-height:95%}.reveal a{position:relative}.reveal strong,.reveal b{font-weight:700}.reveal em,.reveal i{font-style:italic}.reveal ol,.reveal ul{display:inline-block;text-align:left;margin:0 0 0 1em}.reveal ol{list-style-type:decimal}.reveal ul{list-style-type:disc}.reveal ul ul{list-style-type:square}.reveal ul ul ul{list-style-type:circle}.reveal ul ul,.reveal ul ol,.reveal ol ol,.reveal ol ul{display:block;margin-left:40px}.reveal p{margin-bottom:10px;line-height:1.2em}.reveal q,.reveal blockquote{quotes:none}.reveal blockquote{display:block;position:relative;width:70%;margin:5px auto;padding:5px;font-style:italic;background:rgba(255,255,255,.05);box-shadow:0 0 2px rgba(0,0,0,.2)}.reveal blockquote p:first-child,.reveal blockquote p:last-child{display:inline-block}.reveal q{font-style:italic}.reveal pre{display:block;position:relative;width:90%;margin:15px auto;text-align:left;font-size:.55em;font-family:monospace;line-height:1.2em;word-wrap:break-word;box-shadow:0 0 6px rgba(0,0,0,.3)}.reveal code{font-family:monospace}.reveal pre code{padding:5px;overflow:auto;max-height:400px;word-wrap:normal}.reveal table th,.reveal table td{text-align:left;padding-right:.3em}.reveal table th{text-shadow:#fff 1px 1px 2px}.reveal sup{vertical-align:super}.reveal sub{vertical-align:sub}.reveal small{display:inline-block;font-size:.6em;line-height:1.2em;vertical-align:top}.reveal small *{vertical-align:top}.reveal .controls{display:none;position:fixed;width:110px;height:110px;z-index:30;right:10px;bottom:10px}.reveal .controls div{position:absolute;opacity:.05;width:0;height:0;border:12px solid transparent;-moz-transform:scale(.9999);-webkit-transition:all .2s ease;-moz-transition:all .2s ease;-ms-transition:all .2s ease;-o-transition:all .2s ease;transition:all .2s ease}.reveal .controls div.enabled{opacity:.7;cursor:pointer}.reveal .controls div.enabled:active{margin-top:1px}.reveal .controls div.navigate-left{top:42px;border-right-width:22px;border-right-color:#eee}.reveal .controls div.navigate-left.fragmented{opacity:.3}.reveal .controls div.navigate-right{left:74px;top:42px;border-left-width:22px;border-left-color:#eee}.reveal .controls div.navigate-right.fragmented{opacity:.3}.reveal .controls div.navigate-up{left:42px;border-bottom-width:22px;border-bottom-color:#eee}.reveal .controls div.navigate-up.fragmented{opacity:.3}.reveal .controls div.navigate-down{left:42px;top:74px;border-top-width:22px;border-top-color:#eee}.reveal .controls div.navigate-down.fragmented{opacity:.3}.reveal .progress{position:fixed;display:none;height:3px;width:100%;bottom:0;left:0;z-index:10}.reveal .progress:after{content:'';display:'block';position:absolute;height:20px;width:100%;top:-20px}.reveal .progress span{display:block;height:100%;width:0;-webkit-transition:width 800ms cubic-bezier(0.26,.86,.44,.985);-moz-transition:width 800ms cubic-bezier(0.26,.86,.44,.985);-ms-transition:width 800ms cubic-bezier(0.26,.86,.44,.985);-o-transition:width 800ms cubic-bezier(0.26,.86,.44,.985);transition:width 800ms cubic-bezier(0.26,.86,.44,.985)}.reveal .roll{display:inline-block;line-height:1.2;overflow:hidden;vertical-align:top;-webkit-perspective:400px;-moz-perspective:400px;-ms-perspective:400px;perspective:400px;-webkit-perspective-origin:50% 50%;-moz-perspective-origin:50% 50%;-ms-perspective-origin:50% 50%;perspective-origin:50% 50%}.reveal .roll:hover{background:0;text-shadow:none}.reveal .roll span{display:block;position:relative;padding:0 2px;pointer-events:none;-webkit-transition:all 400ms ease;-moz-transition:all 400ms ease;-ms-transition:all 400ms ease;transition:all 400ms ease;-webkit-transform-origin:50% 0;-moz-transform-origin:50% 0;-ms-transform-origin:50% 0;transform-origin:50% 0;-webkit-transform-style:preserve-3d;-moz-transform-style:preserve-3d;-ms-transform-style:preserve-3d;transform-style:preserve-3d;-webkit-backface-visibility:hidden;-moz-backface-visibility:hidden;backface-visibility:hidden}.reveal .roll:hover span{background:rgba(0,0,0,.5);-webkit-transform:translate3d(0px,0,-45px) rotateX(90deg);-moz-transform:translate3d(0px,0,-45px) rotateX(90deg);-ms-transform:translate3d(0px,0,-45px) rotateX(90deg);transform:translate3d(0px,0,-45px) rotateX(90deg)}.reveal .roll span:after{content:attr(data-title);display:block;position:absolute;left:0;top:0;padding:0 2px;-webkit-backface-visibility:hidden;-moz-backface-visibility:hidden;backface-visibility:hidden;-webkit-transform-origin:50% 0;-moz-transform-origin:50% 0;-ms-transform-origin:50% 0;transform-origin:50% 0;-webkit-transform:translate3d(0px,110%,0) rotateX(-90deg);-moz-transform:translate3d(0px,110%,0) rotateX(-90deg);-ms-transform:translate3d(0px,110%,0) rotateX(-90deg);transform:translate3d(0px,110%,0) rotateX(-90deg)}.reveal{position:relative;width:100%;height:100%;-ms-touch-action:none}.reveal .slides{position:absolute;width:100%;height:100%;left:50%;top:50%;overflow:visible;z-index:1;text-align:center;-webkit-transition:-webkit-perspective .4s ease;-moz-transition:-moz-perspective .4s ease;-ms-transition:-ms-perspective .4s ease;-o-transition:-o-perspective .4s ease;transition:perspective .4s ease;-webkit-perspective:600px;-moz-perspective:600px;-ms-perspective:600px;perspective:600px;-webkit-perspective-origin:0 -100px;-moz-perspective-origin:0 -100px;-ms-perspective-origin:0 -100px;perspective-origin:0 -100px}.reveal .slides>section,.reveal .slides>section>section{display:none;position:absolute;width:100%;padding:20px 0;z-index:10;line-height:1.2em;font-weight:400;-webkit-transform-style:preserve-3d;-moz-transform-style:preserve-3d;-ms-transform-style:preserve-3d;transform-style:preserve-3d;-webkit-transition:-webkit-transform-origin 800ms cubic-bezier(0.26,.86,.44,.985),-webkit-transform 800ms cubic-bezier(0.26,.86,.44,.985),visibility 800ms cubic-bezier(0.26,.86,.44,.985),opacity 800ms cubic-bezier(0.26,.86,.44,.985);-moz-transition:-moz-transform-origin 800ms cubic-bezier(0.26,.86,.44,.985),-moz-transform 800ms cubic-bezier(0.26,.86,.44,.985),visibility 800ms cubic-bezier(0.26,.86,.44,.985),opacity 800ms cubic-bezier(0.26,.86,.44,.985);-ms-transition:-ms-transform-origin 800ms cubic-bezier(0.26,.86,.44,.985),-ms-transform 800ms cubic-bezier(0.26,.86,.44,.985),visibility 800ms cubic-bezier(0.26,.86,.44,.985),opacity 800ms cubic-bezier(0.26,.86,.44,.985);-o-transition:-o-transform-origin 800ms cubic-bezier(0.26,.86,.44,.985),-o-transform 800ms cubic-bezier(0.26,.86,.44,.985),visibility 800ms cubic-bezier(0.26,.86,.44,.985),opacity 800ms cubic-bezier(0.26,.86,.44,.985);transition:transform-origin 800ms cubic-bezier(0.26,.86,.44,.985),transform 800ms cubic-bezier(0.26,.86,.44,.985),visibility 800ms cubic-bezier(0.26,.86,.44,.985),opacity 800ms cubic-bezier(0.26,.86,.44,.985)}.reveal[data-transition-speed=fast] .slides section{-webkit-transition-duration:400ms;-moz-transition-duration:400ms;-ms-transition-duration:400ms;transition-duration:400ms}.reveal[data-transition-speed=slow] .slides section{-webkit-transition-duration:1200ms;-moz-transition-duration:1200ms;-ms-transition-duration:1200ms;transition-duration:1200ms}.reveal .slides section[data-transition-speed=fast]{-webkit-transition-duration:400ms;-moz-transition-duration:400ms;-ms-transition-duration:400ms;transition-duration:400ms}.reveal .slides section[data-transition-speed=slow]{-webkit-transition-duration:1200ms;-moz-transition-duration:1200ms;-ms-transition-duration:1200ms;transition-duration:1200ms}.reveal .slides>section{left:-50%;top:-50%}.reveal .slides>section.stack{padding-top:0;padding-bottom:0}.reveal .slides>section.present,.reveal .slides>section>section.present{display:block;z-index:11;opacity:1}.reveal.center,.reveal.center .slides,.reveal.center .slides section{min-height:auto!important}.reveal .slides>section[data-transition=default].past,.reveal .slides>section.past{display:block;opacity:0;-webkit-transform:translate3d(-100%,0,0) rotateY(-90deg) translate3d(-100%,0,0);-moz-transform:translate3d(-100%,0,0) rotateY(-90deg) translate3d(-100%,0,0);-ms-transform:translate3d(-100%,0,0) rotateY(-90deg) translate3d(-100%,0,0);transform:translate3d(-100%,0,0) rotateY(-90deg) translate3d(-100%,0,0)}.reveal .slides>section[data-transition=default].future,.reveal .slides>section.future{display:block;opacity:0;-webkit-transform:translate3d(100%,0,0) rotateY(90deg) translate3d(100%,0,0);-moz-transform:translate3d(100%,0,0) rotateY(90deg) translate3d(100%,0,0);-ms-transform:translate3d(100%,0,0) rotateY(90deg) translate3d(100%,0,0);transform:translate3d(100%,0,0) rotateY(90deg) translate3d(100%,0,0)}.reveal .slides>section>section[data-transition=default].past,.reveal .slides>section>section.past{display:block;opacity:0;-webkit-transform:translate3d(0,-300px,0) rotateX(70deg) translate3d(0,-300px,0);-moz-transform:translate3d(0,-300px,0) rotateX(70deg) translate3d(0,-300px,0);-ms-transform:translate3d(0,-300px,0) rotateX(70deg) translate3d(0,-300px,0);transform:translate3d(0,-300px,0) rotateX(70deg) translate3d(0,-300px,0)}.reveal .slides>section>section[data-transition=default].future,.reveal .slides>section>section.future{display:block;opacity:0;-webkit-transform:translate3d(0,300px,0) rotateX(-70deg) translate3d(0,300px,0);-moz-transform:translate3d(0,300px,0) rotateX(-70deg) translate3d(0,300px,0);-ms-transform:translate3d(0,300px,0) rotateX(-70deg) translate3d(0,300px,0);transform:translate3d(0,300px,0) rotateX(-70deg) translate3d(0,300px,0)}.reveal .slides>section[data-transition=concave].past,.reveal.concave .slides>section.past{-webkit-transform:translate3d(-100%,0,0) rotateY(90deg) translate3d(-100%,0,0);-moz-transform:translate3d(-100%,0,0) rotateY(90deg) translate3d(-100%,0,0);-ms-transform:translate3d(-100%,0,0) rotateY(90deg) translate3d(-100%,0,0);transform:translate3d(-100%,0,0) rotateY(90deg) translate3d(-100%,0,0)}.reveal .slides>section[data-transition=concave].future,.reveal.concave .slides>section.future{-webkit-transform:translate3d(100%,0,0) rotateY(-90deg) translate3d(100%,0,0);-moz-transform:translate3d(100%,0,0) rotateY(-90deg) translate3d(100%,0,0);-ms-transform:translate3d(100%,0,0) rotateY(-90deg) translate3d(100%,0,0);transform:translate3d(100%,0,0) rotateY(-90deg) translate3d(100%,0,0)}.reveal .slides>section>section[data-transition=concave].past,.reveal.concave .slides>section>section.past{-webkit-transform:translate3d(0,-80%,0) rotateX(-70deg) translate3d(0,-80%,0);-moz-transform:translate3d(0,-80%,0) rotateX(-70deg) translate3d(0,-80%,0);-ms-transform:translate3d(0,-80%,0) rotateX(-70deg) translate3d(0,-80%,0);transform:translate3d(0,-80%,0) rotateX(-70deg) translate3d(0,-80%,0)}.reveal .slides>section>section[data-transition=concave].future,.reveal.concave .slides>section>section.future{-webkit-transform:translate3d(0,80%,0) rotateX(70deg) translate3d(0,80%,0);-moz-transform:translate3d(0,80%,0) rotateX(70deg) translate3d(0,80%,0);-ms-transform:translate3d(0,80%,0) rotateX(70deg) translate3d(0,80%,0);transform:translate3d(0,80%,0) rotateX(70deg) translate3d(0,80%,0)}.reveal .slides>section[data-transition=zoom].past,.reveal.zoom .slides>section.past{opacity:0;visibility:hidden;-webkit-transform:scale(16);-moz-transform:scale(16);-ms-transform:scale(16);-o-transform:scale(16);transform:scale(16)}.reveal .slides>section[data-transition=zoom].future,.reveal.zoom .slides>section.future{opacity:0;visibility:hidden;-webkit-transform:scale(0.2);-moz-transform:scale(0.2);-ms-transform:scale(0.2);-o-transform:scale(0.2);transform:scale(0.2)}.reveal .slides>section>section[data-transition=zoom].past,.reveal.zoom .slides>section>section.past{-webkit-transform:translate(0,-150%);-moz-transform:translate(0,-150%);-ms-transform:translate(0,-150%);-o-transform:translate(0,-150%);transform:translate(0,-150%)}.reveal .slides>section>section[data-transition=zoom].future,.reveal.zoom .slides>section>section.future{-webkit-transform:translate(0,150%);-moz-transform:translate(0,150%);-ms-transform:translate(0,150%);-o-transform:translate(0,150%);transform:translate(0,150%)}.reveal.linear section{-webkit-backface-visibility:hidden;-moz-backface-visibility:hidden;-ms-backface-visibility:hidden;backface-visibility:hidden}.reveal .slides>section[data-transition=linear].past,.reveal.linear .slides>section.past{-webkit-transform:translate(-150%,0);-moz-transform:translate(-150%,0);-ms-transform:translate(-150%,0);-o-transform:translate(-150%,0);transform:translate(-150%,0)}.reveal .slides>section[data-transition=linear].future,.reveal.linear .slides>section.future{-webkit-transform:translate(150%,0);-moz-transform:translate(150%,0);-ms-transform:translate(150%,0);-o-transform:translate(150%,0);transform:translate(150%,0)}.reveal .slides>section>section[data-transition=linear].past,.reveal.linear .slides>section>section.past{-webkit-transform:translate(0,-150%);-moz-transform:translate(0,-150%);-ms-transform:translate(0,-150%);-o-transform:translate(0,-150%);transform:translate(0,-150%)}.reveal .slides>section>section[data-transition=linear].future,.reveal.linear .slides>section>section.future{-webkit-transform:translate(0,150%);-moz-transform:translate(0,150%);-ms-transform:translate(0,150%);-o-transform:translate(0,150%);transform:translate(0,150%)}.reveal.cube .slides{-webkit-perspective:1300px;-moz-perspective:1300px;-ms-perspective:1300px;perspective:1300px}.reveal.cube .slides section{padding:30px;min-height:700px;-webkit-backface-visibility:hidden;-moz-backface-visibility:hidden;-ms-backface-visibility:hidden;backface-visibility:hidden;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.reveal.center.cube .slides section{min-height:auto}.reveal.cube .slides section:not(.stack):before{content:'';position:absolute;display:block;width:100%;height:100%;left:0;top:0;background:rgba(0,0,0,.1);border-radius:4px;-webkit-transform:translateZ(-20px);-moz-transform:translateZ(-20px);-ms-transform:translateZ(-20px);-o-transform:translateZ(-20px);transform:translateZ(-20px)}.reveal.cube .slides section:not(.stack):after{content:'';position:absolute;display:block;width:90%;height:30px;left:5%;bottom:0;background:0;z-index:1;border-radius:4px;box-shadow:0 95px 25px rgba(0,0,0,.2);-webkit-transform:translateZ(-90px) rotateX(65deg);-moz-transform:translateZ(-90px) rotateX(65deg);-ms-transform:translateZ(-90px) rotateX(65deg);-o-transform:translateZ(-90px) rotateX(65deg);transform:translateZ(-90px) rotateX(65deg)}.reveal.cube .slides>section.stack{padding:0;background:0}.reveal.cube .slides>section.past{-webkit-transform-origin:100% 0;-moz-transform-origin:100% 0;-ms-transform-origin:100% 0;transform-origin:100% 0;-webkit-transform:translate3d(-100%,0,0) rotateY(-90deg);-moz-transform:translate3d(-100%,0,0) rotateY(-90deg);-ms-transform:translate3d(-100%,0,0) rotateY(-90deg);transform:translate3d(-100%,0,0) rotateY(-90deg)}.reveal.cube .slides>section.future{-webkit-transform-origin:0 0;-moz-transform-origin:0 0;-ms-transform-origin:0 0;transform-origin:0 0;-webkit-transform:translate3d(100%,0,0) rotateY(90deg);-moz-transform:translate3d(100%,0,0) rotateY(90deg);-ms-transform:translate3d(100%,0,0) rotateY(90deg);transform:translate3d(100%,0,0) rotateY(90deg)}.reveal.cube .slides>section>section.past{-webkit-transform-origin:0 100%;-moz-transform-origin:0 100%;-ms-transform-origin:0 100%;transform-origin:0 100%;-webkit-transform:translate3d(0,-100%,0) rotateX(90deg);-moz-transform:translate3d(0,-100%,0) rotateX(90deg);-ms-transform:translate3d(0,-100%,0) rotateX(90deg);transform:translate3d(0,-100%,0) rotateX(90deg)}.reveal.cube .slides>section>section.future{-webkit-transform-origin:0 0;-moz-transform-origin:0 0;-ms-transform-origin:0 0;transform-origin:0 0;-webkit-transform:translate3d(0,100%,0) rotateX(-90deg);-moz-transform:translate3d(0,100%,0) rotateX(-90deg);-ms-transform:translate3d(0,100%,0) rotateX(-90deg);transform:translate3d(0,100%,0) rotateX(-90deg)}.reveal.page .slides{-webkit-perspective-origin:0 50%;-moz-perspective-origin:0 50%;-ms-perspective-origin:0 50%;perspective-origin:0 50%;-webkit-perspective:3000px;-moz-perspective:3000px;-ms-perspective:3000px;perspective:3000px}.reveal.page .slides section{padding:30px;min-height:700px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.reveal.page .slides section.past{z-index:12}.reveal.page .slides section:not(.stack):before{content:'';position:absolute;display:block;width:100%;height:100%;left:0;top:0;background:rgba(0,0,0,.1);-webkit-transform:translateZ(-20px);-moz-transform:translateZ(-20px);-ms-transform:translateZ(-20px);-o-transform:translateZ(-20px);transform:translateZ(-20px)}.reveal.page .slides section:not(.stack):after{content:'';position:absolute;display:block;width:90%;height:30px;left:5%;bottom:0;background:0;z-index:1;border-radius:4px;box-shadow:0 95px 25px rgba(0,0,0,.2);-webkit-transform:translateZ(-90px) rotateX(65deg)}.reveal.page .slides>section.stack{padding:0;background:0}.reveal.page .slides>section.past{-webkit-transform-origin:0 0;-moz-transform-origin:0 0;-ms-transform-origin:0 0;transform-origin:0 0;-webkit-transform:translate3d(-40%,0,0) rotateY(-80deg);-moz-transform:translate3d(-40%,0,0) rotateY(-80deg);-ms-transform:translate3d(-40%,0,0) rotateY(-80deg);transform:translate3d(-40%,0,0) rotateY(-80deg)}.reveal.page .slides>section.future{-webkit-transform-origin:100% 0;-moz-transform-origin:100% 0;-ms-transform-origin:100% 0;transform-origin:100% 0;-webkit-transform:translate3d(0,0,0);-moz-transform:translate3d(0,0,0);-ms-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}.reveal.page .slides>section>section.past{-webkit-transform-origin:0 0;-moz-transform-origin:0 0;-ms-transform-origin:0 0;transform-origin:0 0;-webkit-transform:translate3d(0,-40%,0) rotateX(80deg);-moz-transform:translate3d(0,-40%,0) rotateX(80deg);-ms-transform:translate3d(0,-40%,0) rotateX(80deg);transform:translate3d(0,-40%,0) rotateX(80deg)}.reveal.page .slides>section>section.future{-webkit-transform-origin:0 100%;-moz-transform-origin:0 100%;-ms-transform-origin:0 100%;transform-origin:0 100%;-webkit-transform:translate3d(0,0,0);-moz-transform:translate3d(0,0,0);-ms-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}.reveal .slides section[data-transition=fade],.reveal.fade .slides section,.reveal.fade .slides>section>section{-webkit-transform:none;-moz-transform:none;-ms-transform:none;-o-transform:none;transform:none;-webkit-transition:opacity .5s;-moz-transition:opacity .5s;-ms-transition:opacity .5s;-o-transition:opacity .5s;transition:opacity .5s}.reveal.fade.overview .slides section,.reveal.fade.overview .slides>section>section,.reveal.fade.exit-overview .slides section,.reveal.fade.exit-overview .slides>section>section{-webkit-transition:none;-moz-transition:none;-ms-transition:none;-o-transition:none;transition:none}.reveal .slides section[data-transition=none],.reveal.none .slides section{-webkit-transform:none;-moz-transform:none;-ms-transform:none;-o-transform:none;transform:none;-webkit-transition:none;-moz-transition:none;-ms-transition:none;-o-transition:none;transition:none}.reveal.overview .slides{-webkit-perspective-origin:0 0;-moz-perspective-origin:0 0;-ms-perspective-origin:0 0;perspective-origin:0 0;-webkit-perspective:700px;-moz-perspective:700px;-ms-perspective:700px;perspective:700px}.reveal.overview .slides section{height:600px;overflow:hidden;opacity:1!important;visibility:visible!important;cursor:pointer;background:rgba(0,0,0,.1)}.reveal.overview .slides section .fragment{opacity:1}.reveal.overview .slides section:after,.reveal.overview .slides section:before{display:none!important}.reveal.overview .slides section>section{opacity:1;cursor:pointer}.reveal.overview .slides section:hover{background:rgba(0,0,0,.3)}.reveal.overview .slides section.present{background:rgba(0,0,0,.3)}.reveal.overview .slides>section.stack{padding:0;background:0;overflow:visible}.reveal .pause-overlay{position:absolute;top:0;left:0;width:100%;height:100%;background:#000;visibility:hidden;opacity:0;z-index:100;-webkit-transition:all 1s ease;-moz-transition:all 1s ease;-ms-transition:all 1s ease;-o-transition:all 1s ease;transition:all 1s ease}.reveal.paused .pause-overlay{visibility:visible;opacity:1}.no-transforms{overflow-y:auto}.no-transforms .reveal .slides{position:relative;width:80%;height:auto!important;top:0;left:50%;margin:0;text-align:center}.no-transforms .reveal .controls,.no-transforms .reveal .progress{display:none!important}.no-transforms .reveal .slides section{display:block!important;opacity:1!important;position:relative!important;height:auto;min-height:auto;top:0;left:-50%;margin:70px 0;-webkit-transform:none;-moz-transform:none;-ms-transform:none;-o-transform:none;transform:none}.no-transforms .reveal .slides section section{left:0}.reveal .no-transition,.reveal .no-transition *{-webkit-transition:none!important;-moz-transition:none!important;-ms-transition:none!important;-o-transition:none!important;transition:none!important}.reveal .state-background{position:absolute;width:100%;height:100%;background:rgba(0,0,0,0);-webkit-transition:background 800ms ease;-moz-transition:background 800ms ease;-ms-transition:background 800ms ease;-o-transition:background 800ms ease;transition:background 800ms ease}.alert .reveal .state-background{background:rgba(200,50,30,.6)}.soothe .reveal .state-background{background:rgba(50,200,90,.4)}.blackout .reveal .state-background{background:rgba(0,0,0,.6)}.whiteout .reveal .state-background{background:rgba(255,255,255,.6)}.cobalt .reveal .state-background{background:rgba(22,152,213,.6)}.mint .reveal .state-background{background:rgba(22,213,75,.6)}.submerge .reveal .state-background{background:rgba(12,25,77,.6)}.lila .reveal .state-background{background:rgba(180,50,140,.6)}.sunset .reveal .state-background{background:rgba(255,122,0,.6)}.reveal>.background{position:absolute;width:100%;height:100%}.reveal .slide-background{position:absolute;width:100%;height:100%;opacity:0;visibility:hidden;background-color:rgba(0,0,0,0);background-position:50% 50%;background-repeat:no-repeat;background-size:cover;-webkit-transition:all 650ms ease;-moz-transition:all 650ms ease;-ms-transition:all 650ms ease;-o-transition:all 650ms ease;transition:all 650ms ease}.reveal .slide-background.present{opacity:1;visibility:visible}.print-pdf .reveal .slide-background{opacity:1!important;visibility:visible!important}.reveal[data-background-transition=linear]>.background .slide-background{opacity:1;-webkit-backface-visibility:hidden;-moz-backface-visibility:hidden;-ms-backface-visibility:hidden;backface-visibility:hidden}.reveal[data-background-transition=linear]>.background .slide-background.past{-webkit-transform:translate(-100%,0);-moz-transform:translate(-100%,0);-ms-transform:translate(-100%,0);-o-transform:translate(-100%,0);transform:translate(-100%,0)}.reveal[data-background-transition=linear]>.background .slide-background.future{-webkit-transform:translate(100%,0);-moz-transform:translate(100%,0);-ms-transform:translate(100%,0);-o-transform:translate(100%,0);transform:translate(100%,0)}.reveal[data-background-transition=linear]>.background .slide-background>.slide-background.past{-webkit-transform:translate(0,-100%);-moz-transform:translate(0,-100%);-ms-transform:translate(0,-100%);-o-transform:translate(0,-100%);transform:translate(0,-100%)}.reveal[data-background-transition=linear]>.background .slide-background>.slide-background.future{-webkit-transform:translate(0,100%);-moz-transform:translate(0,100%);-ms-transform:translate(0,100%);-o-transform:translate(0,100%);transform:translate(0,100%)}.reveal[data-transition-speed=fast]>.background .slide-background{-webkit-transition-duration:300ms;-moz-transition-duration:300ms;-ms-transition-duration:300ms;transition-duration:300ms}.reveal[data-transition-speed=slow]>.background .slide-background{-webkit-transition-duration:900ms;-moz-transition-duration:900ms;-ms-transition-duration:900ms;transition-duration:900ms}.reveal.rtl .slides,.reveal.rtl .slides h1,.reveal.rtl .slides h2,.reveal.rtl .slides h3,.reveal.rtl .slides h4,.reveal.rtl .slides h5,.reveal.rtl .slides h6{direction:rtl;font-family:sans-serif}.reveal.rtl pre,.reveal.rtl code{direction:ltr}.reveal.rtl ol,.reveal.rtl ul{text-align:right}.reveal.rtl .progress span{float:right}.reveal aside.notes{display:none}.zoomed .reveal *,.zoomed .reveal :before,.zoomed .reveal :after{-webkit-transform:none!important;-moz-transform:none!important;-ms-transform:none!important;transform:none!important;-webkit-backface-visibility:visible!important;-moz-backface-visibility:visible!important;-ms-backface-visibility:visible!important;backface-visibility:visible!important}.zoomed .reveal .progress,.zoomed .reveal .controls{opacity:0}.zoomed .reveal .roll span{background:0}.zoomed .reveal .roll span:after{visibility:hidden} \ No newline at end of file diff --git a/index.html b/index.html index 982cfec..aa4913f 100644 --- a/index.html +++ b/index.html @@ -201,19 +201,13 @@ Down arrow
-
+

Image Backgrounds

<section data-background="image.png">
- - Down arrow -
-
+

Repeated Image Backgrounds

<section data-background="image.png" data-background-repeat="repeat" data-background-size="100px">
- - Up arrow -
diff --git a/js/reveal.js b/js/reveal.js index 5ac219e..73eddeb 100644 --- a/js/reveal.js +++ b/js/reveal.js @@ -254,6 +254,10 @@ var Reveal = (function(){ */ function createBackgrounds() { + if( isPrintingPDF() ) { + document.body.classList.add( 'print-pdf' ); + } + // Clear prior backgrounds dom.background.innerHTML = ''; dom.background.classList.add( 'no-transition' ); @@ -271,6 +275,7 @@ var Reveal = (function(){ }; var element = document.createElement( 'div' ); + element.className = 'slide-background'; if( data.background ) { // Auto-wrap image urls in url(...) @@ -297,12 +302,24 @@ var Reveal = (function(){ // Iterate over all horizontal slides toArray( document.querySelectorAll( HORIZONTAL_SLIDES_SELECTOR ) ).forEach( function( slideh ) { - var backgroundStack = _createBackground( slideh, dom.background ); + var backgroundStack; + + if( isPrintingPDF() ) { + backgroundStack = _createBackground( slideh, slideh ); + } + else { + backgroundStack = _createBackground( slideh, dom.background ); + } // Iterate over all vertical slides toArray( slideh.querySelectorAll( 'section' ) ).forEach( function( slidev ) { - _createBackground( slidev, backgroundStack ); + if( isPrintingPDF() ) { + _createBackground( slidev, slidev ); + } + else { + _createBackground( slidev, backgroundStack ); + } } ); @@ -597,6 +614,15 @@ var Reveal = (function(){ } + /** + * Checks if this instance is being used to print a PDF. + */ + function isPrintingPDF() { + + return ( /print-pdf/gi ).test( window.location.search ); + + } + /** * Causes the address bar to hide on mobile devices, * more vertical space ftw. @@ -713,7 +739,7 @@ var Reveal = (function(){ */ function layout() { - if( dom.wrapper ) { + if( dom.wrapper && !isPrintingPDF() ) { // Available space to scale within var availableWidth = dom.wrapper.offsetWidth, @@ -1491,11 +1517,11 @@ var Reveal = (function(){ // states of their slides (past/present/future) toArray( dom.background.childNodes ).forEach( function( backgroundh, h ) { - backgroundh.className = ( h < indexh ? 'past' : h > indexh ? 'future' : 'present' ); + backgroundh.className = 'slide-background ' + ( h < indexh ? 'past' : h > indexh ? 'future' : 'present' ); toArray( backgroundh.childNodes ).forEach( function( backgroundv, v ) { - backgroundv.className = ( v < indexv ? 'past' : v > indexv ? 'future' : 'present' ); + backgroundv.className = 'slide-background ' + ( v < indexv ? 'past' : v > indexv ? 'future' : 'present' ); } ); diff --git a/js/reveal.min.js b/js/reveal.min.js index aa2cf31..1769f69 100644 --- a/js/reveal.min.js +++ b/js/reveal.min.js @@ -1,8 +1,8 @@ /*! - * reveal.js 2.5.0 (2013-06-04, 20:58) + * reveal.js 2.5.0 (2013-06-07, 17:32) * http://lab.hakim.se/reveal-js * MIT licensed * * Copyright (C) 2013 Hakim El Hattab, http://hakim.se */ -var Reveal=function(){"use strict";function e(e){return Nt||Pt?(window.addEventListener("load",g,!1),l(St,e),r(),o(),void 0):(document.body.setAttribute("class","no-transforms"),void 0)}function t(){if(Mt.theme=document.querySelector("#theme"),Mt.wrapper=document.querySelector(".reveal"),Mt.slides=document.querySelector(".reveal .slides"),document.querySelector(".reveal .background")||(Mt.background=document.createElement("div"),Mt.background.classList.add("background"),Mt.wrapper.appendChild(Mt.background)),!Mt.wrapper.querySelector(".progress")){var e=document.createElement("div");e.classList.add("progress"),e.innerHTML="",Mt.wrapper.appendChild(e)}if(!Mt.wrapper.querySelector(".controls")){var t=document.createElement("aside");t.classList.add("controls"),t.innerHTML='',Mt.wrapper.appendChild(t)}if(!Mt.wrapper.querySelector(".state-background")){var n=document.createElement("div");n.classList.add("state-background"),Mt.wrapper.appendChild(n)}if(!Mt.wrapper.querySelector(".pause-overlay")){var r=document.createElement("div");r.classList.add("pause-overlay"),Mt.wrapper.appendChild(r)}Mt.progress=document.querySelector(".reveal .progress"),Mt.progressbar=document.querySelector(".reveal .progress span"),St.controls&&(Mt.controls=document.querySelector(".reveal .controls"),Mt.controlsLeft=d(document.querySelectorAll(".navigate-left")),Mt.controlsRight=d(document.querySelectorAll(".navigate-right")),Mt.controlsUp=d(document.querySelectorAll(".navigate-up")),Mt.controlsDown=d(document.querySelectorAll(".navigate-down")),Mt.controlsPrev=d(document.querySelectorAll(".navigate-prev")),Mt.controlsNext=d(document.querySelectorAll(".navigate-next")))}function n(){function e(e,t){var n={background:e.getAttribute("data-background"),backgroundSize:e.getAttribute("data-background-size"),backgroundColor:e.getAttribute("data-background-color"),backgroundRepeat:e.getAttribute("data-background-repeat"),backgroundPosition:e.getAttribute("data-background-position")},r=document.createElement("div");return n.background&&(/\.(png|jpg|jpeg|gif|bmp)$/gi.test(n.background)?r.style.backgroundImage="url("+n.background+")":r.style.background=n.background),n.backgroundSize&&(r.style.backgroundSize=n.backgroundSize),n.backgroundColor&&(r.style.backgroundColor=n.backgroundColor),n.backgroundRepeat&&(r.style.backgroundRepeat=n.backgroundRepeat),n.backgroundPosition&&(r.style.backgroundPosition=n.backgroundPosition),t.appendChild(r),r}Mt.background.innerHTML="",Mt.background.classList.add("no-transition"),d(document.querySelectorAll(Lt)).forEach(function(t){var n=e(t,Mt.background);d(t.querySelectorAll("section")).forEach(function(t){e(t,n)})})}function r(){/iphone|ipod|android/gi.test(navigator.userAgent)&&!/crios/gi.test(navigator.userAgent)&&(window.addEventListener("load",f,!1),window.addEventListener("orientationchange",f,!1))}function o(){function e(){n.length&&head.js.apply(null,n),a()}for(var t=[],n=[],r=0,o=St.dependencies.length;o>r;r++){var s=St.dependencies[r];(!s.condition||s.condition())&&(s.async?n.push(s.src):t.push(s.src),"function"==typeof s.callback&&head.ready(s.src.match(/([\w\d_\-]*)\.?js$|[^\\\/]*$/i)[0],s.callback))}t.length?(head.ready(e),head.js.apply(null,t)):e()}function a(){t(),s(),I(),setTimeout(function(){v("ready",{indexh:At,indexv:qt,currentSlide:yt})},1)}function s(e){if(Mt.wrapper.classList.remove(St.transition),"object"==typeof e&&l(St,e),Pt===!1&&(St.transition="linear"),Mt.wrapper.classList.add(St.transition),Mt.wrapper.setAttribute("data-transition-speed",St.transitionSpeed),Mt.wrapper.setAttribute("data-background-transition",St.backgroundTransition),Mt.controls&&(Mt.controls.style.display=St.controls&&Mt.controls?"block":"none"),Mt.progress&&(Mt.progress.style.display=St.progress&&Mt.progress?"block":"none"),St.rtl?Mt.wrapper.classList.add("rtl"):Mt.wrapper.classList.remove("rtl"),St.center?Mt.wrapper.classList.add("center"):Mt.wrapper.classList.remove("center"),St.mouseWheel?(document.addEventListener("DOMMouseScroll",st,!1),document.addEventListener("mousewheel",st,!1)):(document.removeEventListener("DOMMouseScroll",st,!1),document.removeEventListener("mousewheel",st,!1)),St.rollingLinks?p():m(),St.theme&&Mt.theme){var t=Mt.theme.getAttribute("href"),n=/[^\/]*?(?=\.css)/,r=t.match(n)[0];St.theme!==r&&(t=t.replace(n,St.theme),Mt.theme.setAttribute("href",t))}N()}function i(){zt=!0,window.addEventListener("hashchange",pt,!1),window.addEventListener("resize",mt,!1),St.touch&&(Mt.wrapper.addEventListener("touchstart",et,!1),Mt.wrapper.addEventListener("touchmove",tt,!1),Mt.wrapper.addEventListener("touchend",nt,!1),window.navigator.msPointerEnabled&&(Mt.wrapper.addEventListener("MSPointerDown",rt,!1),Mt.wrapper.addEventListener("MSPointerMove",ot,!1),Mt.wrapper.addEventListener("MSPointerUp",at,!1))),St.keyboard&&document.addEventListener("keydown",J,!1),St.progress&&Mt.progress&&Mt.progress.addEventListener("click",it,!1),St.controls&&Mt.controls&&["touchstart","click"].forEach(function(e){Mt.controlsLeft.forEach(function(t){t.addEventListener(e,ct,!1)}),Mt.controlsRight.forEach(function(t){t.addEventListener(e,lt,!1)}),Mt.controlsUp.forEach(function(t){t.addEventListener(e,dt,!1)}),Mt.controlsDown.forEach(function(t){t.addEventListener(e,ut,!1)}),Mt.controlsPrev.forEach(function(t){t.addEventListener(e,ft,!1)}),Mt.controlsNext.forEach(function(t){t.addEventListener(e,vt,!1)})})}function c(){zt=!1,document.removeEventListener("keydown",J,!1),window.removeEventListener("hashchange",pt,!1),window.removeEventListener("resize",mt,!1),Mt.wrapper.removeEventListener("touchstart",et,!1),Mt.wrapper.removeEventListener("touchmove",tt,!1),Mt.wrapper.removeEventListener("touchend",nt,!1),window.navigator.msPointerEnabled&&(Mt.wrapper.removeEventListener("MSPointerDown",rt,!1),Mt.wrapper.removeEventListener("MSPointerMove",ot,!1),Mt.wrapper.removeEventListener("MSPointerUp",at,!1)),St.progress&&Mt.progress&&Mt.progress.removeEventListener("click",it,!1),St.controls&&Mt.controls&&["touchstart","click"].forEach(function(e){Mt.controlsLeft.forEach(function(t){t.removeEventListener(e,ct,!1)}),Mt.controlsRight.forEach(function(t){t.removeEventListener(e,lt,!1)}),Mt.controlsUp.forEach(function(t){t.removeEventListener(e,dt,!1)}),Mt.controlsDown.forEach(function(t){t.removeEventListener(e,ut,!1)}),Mt.controlsPrev.forEach(function(t){t.removeEventListener(e,ft,!1)}),Mt.controlsNext.forEach(function(t){t.removeEventListener(e,vt,!1)})})}function l(e,t){for(var n in t)e[n]=t[n]}function d(e){return Array.prototype.slice.call(e)}function u(e,t){var n=e.x-t.x,r=e.y-t.y;return Math.sqrt(n*n+r*r)}function f(){0===window.orientation?(document.documentElement.style.overflow="scroll",document.body.style.height="120%"):(document.documentElement.style.overflow="",document.body.style.height="100%"),setTimeout(function(){window.scrollTo(0,1)},10)}function v(e,t){var n=document.createEvent("HTMLEvents",1,2);n.initEvent(e,!0,!0),l(n,t),Mt.wrapper.dispatchEvent(n)}function p(){if(Pt&&!("msPerspective"in document.body.style))for(var e=document.querySelectorAll(bt+" a:not(.image)"),t=0,n=e.length;n>t;t++){var r=e[t];if(!(!r.textContent||r.querySelector("*")||r.className&&r.classList.contains(r,"roll"))){var o=document.createElement("span");o.setAttribute("data-title",r.text),o.innerHTML=r.innerHTML,r.classList.add("roll"),r.innerHTML="",r.appendChild(o)}}}function m(){for(var e=document.querySelectorAll(bt+" a.roll"),t=0,n=e.length;n>t;t++){var r=e[t],o=r.querySelector("span");o&&(r.classList.remove("roll"),r.innerHTML=o.innerHTML)}}function h(e){var t=d(e);return t.forEach(function(e,t){e.hasAttribute("data-fragment-index")||e.setAttribute("data-fragment-index",t)}),t.sort(function(e,t){return e.getAttribute("data-fragment-index")-t.getAttribute("data-fragment-index")}),t}function g(){if(Mt.wrapper){var e=Mt.wrapper.offsetWidth,t=Mt.wrapper.offsetHeight;e-=t*St.margin,t-=t*St.margin;var n=St.width,r=St.height;if("string"==typeof n&&/%$/.test(n)&&(n=parseInt(n,10)/100*e),"string"==typeof r&&/%$/.test(r)&&(r=parseInt(r,10)/100*t),Mt.slides.style.width=n+"px",Mt.slides.style.height=r+"px",Tt=Math.min(e/n,t/r),Tt=Math.max(Tt,St.minScale),Tt=Math.min(Tt,St.maxScale),void 0===Mt.slides.style.zoom||navigator.userAgent.match(/(iphone|ipod|ipad|android)/gi)){var o="translate(-50%, -50%) scale("+Tt+") translate(50%, 50%)";Mt.slides.style.WebkitTransform=o,Mt.slides.style.MozTransform=o,Mt.slides.style.msTransform=o,Mt.slides.style.OTransform=o,Mt.slides.style.transform=o}else Mt.slides.style.zoom=Tt;for(var a=d(document.querySelectorAll(bt)),s=0,i=a.length;i>s;s++){var c=a[s];"none"!==c.style.display&&(c.style.top=St.center?c.classList.contains("stack")?0:Math.max(-(c.offsetHeight/2)-20,-r/2)+"px":"")}D()}}function y(e,t){"object"==typeof e&&"function"==typeof e.setAttribute&&e.setAttribute("data-previous-indexv",t||0)}function b(e){if("object"==typeof e&&"function"==typeof e.setAttribute&&e.classList.contains("stack")){var t=e.hasAttribute("data-start-indexv")?"data-start-indexv":"data-previous-indexv";return parseInt(e.getAttribute(t)||0,10)}return 0}function L(){if(St.overview){K();var e=Mt.wrapper.classList.contains("overview");Mt.wrapper.classList.add("overview"),Mt.wrapper.classList.remove("exit-overview"),clearTimeout(Ot),clearTimeout(Yt),Ot=setTimeout(function(){for(var t=document.querySelectorAll(Lt),n=0,r=t.length;r>n;n++){var o=t[n],a=St.rtl?-105:105,s="translateZ(-2500px) translate("+(n-At)*a+"%, 0%)";if(o.setAttribute("data-index-h",n),o.style.display="block",o.style.WebkitTransform=s,o.style.MozTransform=s,o.style.msTransform=s,o.style.OTransform=s,o.style.transform=s,o.classList.contains("stack"))for(var i=o.querySelectorAll("section"),c=0,l=i.length;l>c;c++){var d=n===At?qt:b(o),u=i[c],f="translate(0%, "+105*(c-d)+"%)";u.setAttribute("data-index-h",n),u.setAttribute("data-index-v",c),u.style.display="block",u.style.WebkitTransform=f,u.style.MozTransform=f,u.style.msTransform=f,u.style.OTransform=f,u.style.transform=f,u.addEventListener("click",ht,!0)}else o.addEventListener("click",ht,!0)}g(),e||v("overviewshown",{indexh:At,indexv:qt,currentSlide:yt})},10)}}function w(){if(St.overview){clearTimeout(Ot),clearTimeout(Yt),Mt.wrapper.classList.remove("overview"),Mt.wrapper.classList.add("exit-overview"),Yt=setTimeout(function(){Mt.wrapper.classList.remove("exit-overview")},10);for(var e=d(document.querySelectorAll(bt)),t=0,n=e.length;n>t;t++){var r=e[t];r.style.display="",r.style.WebkitTransform="",r.style.MozTransform="",r.style.msTransform="",r.style.OTransform="",r.style.transform="",r.removeEventListener("click",ht,!0)}P(At,qt),_(),v("overviewhidden",{indexh:At,indexv:qt,currentSlide:yt})}}function E(e){"boolean"==typeof e?e?L():w():S()?w():L()}function S(){return Mt.wrapper.classList.contains("overview")}function k(e){return e=e?e:yt,e&&!!e.parentNode.nodeName.match(/section/i)}function A(){var e=document.body,t=e.requestFullScreen||e.webkitRequestFullscreen||e.webkitRequestFullScreen||e.mozRequestFullScreen||e.msRequestFullScreen;t&&t.apply(e)}function q(){var e=Mt.wrapper.classList.contains("paused");K(),Mt.wrapper.classList.add("paused"),e===!1&&v("paused")}function x(){var e=Mt.wrapper.classList.contains("paused");Mt.wrapper.classList.remove("paused"),_(),e&&v("resumed")}function T(){M()?x():q()}function M(){return Mt.wrapper.classList.contains("paused")}function P(e,t,n,r){gt=yt;var o=document.querySelectorAll(Lt);void 0===t&&(t=b(o[e])),gt&>.parentNode&>.parentNode.classList.contains("stack")&&y(gt.parentNode,qt);var a=xt.concat();xt.length=0;var s=At,i=qt;At=C(Lt,void 0===e?At:e),qt=C(wt,void 0===t?qt:t),g();e:for(var c=0,l=xt.length;l>c;c++){for(var u=0;a.length>u;u++)if(a[u]===xt[c]){a.splice(u,1);continue e}document.documentElement.classList.add(xt[c]),v(xt[c])}for(;a.length;)document.documentElement.classList.remove(a.pop());S()&&L(),W(1500);var f=o[At],p=f.querySelectorAll("section");if(yt=p[qt]||f,n!==void 0){var m=h(yt.querySelectorAll(".fragment"));d(m).forEach(function(e,t){n>t?e.classList.add("visible"):e.classList.remove("visible")})}At!==s||qt!==i?v("slidechanged",{indexh:At,indexv:qt,previousSlide:gt,currentSlide:yt,origin:r}):gt=null,gt&&(gt.classList.remove("present"),document.querySelector(Et).classList.contains("present")&&setTimeout(function(){var e,t=d(document.querySelectorAll(Lt+".stack"));for(e in t)t[e]&&y(t[e],0)},0)),H(gt),X(yt),R(),D(),O()}function N(){c(),i(),g(),kt=St.autoSlide,_(),n(),R(),D(),O()}function C(e,t){var n=d(document.querySelectorAll(e)),r=n.length;if(r){St.loop&&(t%=r,0>t&&(t=r+t)),t=Math.max(Math.min(t,r-1),0);for(var o=0;r>o;o++){var a=n[o];if(S()===!1){var s=Math.abs((t-o)%(r-3))||0;a.style.display=s>3?"none":"block"}var i=St.rtl&&!k(a);a.classList.remove("past"),a.classList.remove("present"),a.classList.remove("future"),t>o?a.classList.add(i?"future":"past"):o>t&&a.classList.add(i?"past":"future"),a.querySelector("section")&&a.classList.add("stack")}n[t].classList.add("present");var c=n[t].getAttribute("data-state");c&&(xt=xt.concat(c.split(" ")));var l=n[t].getAttribute("data-autoslide");kt=l?parseInt(l,10):St.autoSlide}else t=0;return t}function D(){if(St.progress&&Mt.progress){var e=d(document.querySelectorAll(Lt)),t=document.querySelectorAll(bt+":not(.stack)").length,n=0;e:for(var r=0;e.length>r;r++){for(var o=e[r],a=d(o.querySelectorAll("section")),s=0;a.length>s;s++){if(a[s].classList.contains("present"))break e;n++}if(o.classList.contains("present"))break;o.classList.contains("stack")===!1&&n++}Mt.progressbar.style.width=n/(t-1)*window.innerWidth+"px"}}function R(){if(St.controls&&Mt.controls){var e=Y(),t=z();Mt.controlsLeft.concat(Mt.controlsRight).concat(Mt.controlsUp).concat(Mt.controlsDown).concat(Mt.controlsPrev).concat(Mt.controlsNext).forEach(function(e){e.classList.remove("enabled"),e.classList.remove("fragmented")}),e.left&&Mt.controlsLeft.forEach(function(e){e.classList.add("enabled")}),e.right&&Mt.controlsRight.forEach(function(e){e.classList.add("enabled")}),e.up&&Mt.controlsUp.forEach(function(e){e.classList.add("enabled")}),e.down&&Mt.controlsDown.forEach(function(e){e.classList.add("enabled")}),(e.left||e.up)&&Mt.controlsPrev.forEach(function(e){e.classList.add("enabled")}),(e.right||e.down)&&Mt.controlsNext.forEach(function(e){e.classList.add("enabled")}),yt&&(t.prev&&Mt.controlsPrev.forEach(function(e){e.classList.add("fragmented","enabled")}),t.next&&Mt.controlsNext.forEach(function(e){e.classList.add("fragmented","enabled")}),k(yt)?(t.prev&&Mt.controlsUp.forEach(function(e){e.classList.add("fragmented","enabled")}),t.next&&Mt.controlsDown.forEach(function(e){e.classList.add("fragmented","enabled")})):(t.prev&&Mt.controlsLeft.forEach(function(e){e.classList.add("fragmented","enabled")}),t.next&&Mt.controlsRight.forEach(function(e){e.classList.add("fragmented","enabled")})))}}function O(){d(Mt.background.childNodes).forEach(function(e,t){e.className=At>t?"past":t>At?"future":"present",d(e.childNodes).forEach(function(e,t){e.className=qt>t?"past":t>qt?"future":"present"})}),setTimeout(function(){Mt.background.classList.remove("no-transition")},1)}function Y(){var e=document.querySelectorAll(Lt),t=document.querySelectorAll(wt),n={left:At>0||St.loop,right:e.length-1>At||St.loop,up:qt>0,down:t.length-1>qt};if(St.rtl){var r=n.left;n.left=n.right,n.right=r}return n}function z(){if(yt&&St.fragments){var e=yt.querySelectorAll(".fragment"),t=yt.querySelectorAll(".fragment:not(.visible)");return{prev:e.length-t.length>0,next:!!t.length}}return{prev:!1,next:!1}}function X(e){e&&(d(e.querySelectorAll("video, audio")).forEach(function(e){e.hasAttribute("data-autoplay")&&e.play()}),d(e.querySelectorAll('iframe[src*="youtube.com/embed/"]')).forEach(function(e){e.hasAttribute("data-autoplay")&&e.contentWindow.postMessage('{"event":"command","func":"playVideo","args":""}',"*")}))}function H(e){e&&(d(e.querySelectorAll("video, audio")).forEach(function(e){e.hasAttribute("data-ignore")||e.pause()}),d(e.querySelectorAll('iframe[src*="youtube.com/embed/"]')).forEach(function(e){e.hasAttribute("data-ignore")||"function"!=typeof e.contentWindow.postMessage||e.contentWindow.postMessage('{"event":"command","func":"pauseVideo","args":""}',"*")}))}function I(){var e=window.location.hash,t=e.slice(2).split("/"),n=e.replace(/#|\//gi,"");if(isNaN(parseInt(t[0],10))&&n.length){var r=document.querySelector("#"+n);if(r){var o=Reveal.getIndices(r);P(o.h,o.v)}else P(At,qt)}else{var a=parseInt(t[0],10)||0,s=parseInt(t[1],10)||0;P(a,s)}}function W(e){if(St.history)if(clearTimeout(Rt),"number"==typeof e)Rt=setTimeout(W,e);else{var t="/";yt&&"string"==typeof yt.getAttribute("id")?t="/"+yt.getAttribute("id"):((At>0||qt>0)&&(t+=At),qt>0&&(t+="/"+qt)),window.location.hash=t}}function U(e){var t,n=At,r=qt;if(e){var o=k(e),a=o?e.parentNode:e,s=d(document.querySelectorAll(Lt));n=Math.max(s.indexOf(a),0),o&&(r=Math.max(d(e.parentNode.querySelectorAll("section")).indexOf(e),0))}if(!e&&yt){var i=yt.querySelectorAll(".fragment.visible");i.length&&(t=i.length)}return{h:n,v:r,f:t}}function F(){if(yt&&St.fragments){var e=h(yt.querySelectorAll(".fragment:not(.visible)"));if(e.length){var t=e[0].getAttribute("data-fragment-index");return e=yt.querySelectorAll('.fragment[data-fragment-index="'+t+'"]'),d(e).forEach(function(e){e.classList.add("visible"),v("fragmentshown",{fragment:e})}),R(),!0}}return!1}function j(){if(yt&&St.fragments){var e=h(yt.querySelectorAll(".fragment.visible"));if(e.length){var t=e[e.length-1].getAttribute("data-fragment-index");return e=yt.querySelectorAll('.fragment[data-fragment-index="'+t+'"]'),d(e).forEach(function(e){e.classList.remove("visible"),v("fragmenthidden",{fragment:e})}),R(),!0}}return!1}function _(){clearTimeout(Dt),!kt||M()||S()||(Dt=setTimeout(G,kt))}function K(){clearTimeout(Dt)}function $(){St.rtl?(S()||F()===!1)&&Y().left&&P(At+1):(S()||j()===!1)&&Y().left&&P(At-1)}function V(){St.rtl?(S()||j()===!1)&&Y().right&&P(At-1):(S()||F()===!1)&&Y().right&&P(At+1)}function Z(){(S()||j()===!1)&&Y().up&&P(At,qt-1)}function Q(){(S()||F()===!1)&&Y().down&&P(At,qt+1)}function B(){if(j()===!1)if(Y().up)Z();else{var e=document.querySelector(Lt+".past:nth-child("+At+")");e&&(qt=e.querySelectorAll("section").length+1||void 0,At--,P(At,qt))}}function G(){F()===!1&&(Y().down?Q():V()),_()}function J(e){document.activeElement;var t=!(!document.activeElement||!document.activeElement.type&&!document.activeElement.href&&"inherit"===document.activeElement.contentEditable);if(!(t||e.shiftKey&&32!==e.keyCode||e.altKey||e.ctrlKey||e.metaKey)){var n=!0;if(M()&&-1===[66,190,191].indexOf(e.keyCode))return!1;switch(e.keyCode){case 80:case 33:B();break;case 78:case 34:G();break;case 72:case 37:$();break;case 76:case 39:V();break;case 75:case 38:Z();break;case 74:case 40:Q();break;case 36:P(0);break;case 35:P(Number.MAX_VALUE);break;case 32:S()?w():e.shiftKey?B():G();break;case 13:S()?w():n=!1;break;case 66:case 190:case 191:T();break;case 70:A();break;default:n=!1}n?e.preventDefault():27===e.keyCode&&Pt&&(E(),e.preventDefault()),_()}}function et(e){Xt.startX=e.touches[0].clientX,Xt.startY=e.touches[0].clientY,Xt.startCount=e.touches.length,2===e.touches.length&&St.overview&&(Xt.startSpan=u({x:e.touches[1].clientX,y:e.touches[1].clientY},{x:Xt.startX,y:Xt.startY}))}function tt(e){if(Xt.handled)navigator.userAgent.match(/android/gi)&&e.preventDefault();else{var t=e.touches[0].clientX,n=e.touches[0].clientY;if(2===e.touches.length&&2===Xt.startCount&&St.overview){var r=u({x:e.touches[1].clientX,y:e.touches[1].clientY},{x:Xt.startX,y:Xt.startY});Math.abs(Xt.startSpan-r)>Xt.threshold&&(Xt.handled=!0,Xt.startSpan>r?L():w()),e.preventDefault()}else if(1===e.touches.length&&2!==Xt.startCount){var o=t-Xt.startX,a=n-Xt.startY;o>Xt.threshold&&Math.abs(o)>Math.abs(a)?(Xt.handled=!0,$()):-Xt.threshold>o&&Math.abs(o)>Math.abs(a)?(Xt.handled=!0,V()):a>Xt.threshold?(Xt.handled=!0,Z()):-Xt.threshold>a&&(Xt.handled=!0,Q()),e.preventDefault()}}}function nt(){Xt.handled=!1}function rt(e){e.pointerType===e.MSPOINTER_TYPE_TOUCH&&(e.touches=[{clientX:e.clientX,clientY:e.clientY}],et(e))}function ot(e){e.pointerType===e.MSPOINTER_TYPE_TOUCH&&(e.touches=[{clientX:e.clientX,clientY:e.clientY}],tt(e))}function at(e){e.pointerType===e.MSPOINTER_TYPE_TOUCH&&(e.touches=[{clientX:e.clientX,clientY:e.clientY}],nt(e))}function st(e){clearTimeout(Ct),Ct=setTimeout(function(){var t=e.detail||-e.wheelDelta;t>0?G():B()},100)}function it(e){e.preventDefault();var t=d(document.querySelectorAll(Lt)).length,n=Math.floor(e.clientX/Mt.wrapper.offsetWidth*t);P(n)}function ct(e){e.preventDefault(),$()}function lt(e){e.preventDefault(),V()}function dt(e){e.preventDefault(),Z()}function ut(e){e.preventDefault(),Q()}function ft(e){e.preventDefault(),B()}function vt(e){e.preventDefault(),G()}function pt(){I()}function mt(){g()}function ht(e){if(zt&&S()){e.preventDefault();for(var t=e.target;t&&!t.nodeName.match(/section/gi);)t=t.parentNode;if(t&&!t.classList.contains("disabled")&&(w(),t.nodeName.match(/section/gi))){var n=parseInt(t.getAttribute("data-index-h"),10),r=parseInt(t.getAttribute("data-index-v"),10);P(n,r)}}}var gt,yt,bt=".reveal .slides section",Lt=".reveal .slides>section",wt=".reveal .slides>section.present>section",Et=".reveal .slides>section:first-child",St={width:960,height:700,margin:.1,minScale:.2,maxScale:1,controls:!0,progress:!0,history:!1,keyboard:!0,overview:!0,center:!0,touch:!0,loop:!1,rtl:!1,fragments:!0,autoSlide:0,mouseWheel:!1,rollingLinks:!0,theme:null,transition:"default",transitionSpeed:"default",backgroundTransition:"default",dependencies:[]},kt=0,At=0,qt=0,xt=[],Tt=1,Mt={},Pt="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,Nt="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,Ct=0,Dt=0,Rt=0,Ot=0,Yt=0,zt=!1,Xt={startX:0,startY:0,startSpan:0,startCount:0,handled:!1,threshold:80};return{initialize:e,configure:s,sync:N,slide:P,left:$,right:V,up:Z,down:Q,prev:B,next:G,prevFragment:j,nextFragment:F,navigateTo:P,navigateLeft:$,navigateRight:V,navigateUp:Z,navigateDown:Q,navigatePrev:B,navigateNext:G,layout:g,availableRoutes:Y,availableFragments:z,toggleOverview:E,togglePause:T,isOverview:S,isPaused:M,addEventListeners:i,removeEventListeners:c,getIndices:U,getSlide:function(e,t){var n=document.querySelectorAll(Lt)[e],r=n&&n.querySelectorAll("section");return t!==void 0?r?r[t]:void 0:n},getPreviousSlide:function(){return gt},getCurrentSlide:function(){return yt},getScale:function(){return Tt},getConfig:function(){return St},getQueryHash:function(){var e={};return location.search.replace(/[A-Z0-9]+?=(\w*)/gi,function(t){e[t.split("=").shift()]=t.split("=").pop()}),e},isFirstSlide:function(){return null==document.querySelector(bt+".past")?!0:!1},isLastSlide:function(){return yt&&yt.classList.contains(".stack")?null==yt.querySelector(bt+".future")?!0:!1:null==document.querySelector(bt+".future")?!0:!1},addEventListener:function(e,t,n){"addEventListener"in window&&(Mt.wrapper||document.querySelector(".reveal")).addEventListener(e,t,n)},removeEventListener:function(e,t,n){"addEventListener"in window&&(Mt.wrapper||document.querySelector(".reveal")).removeEventListener(e,t,n)}}}(); \ No newline at end of file +var Reveal=function(){"use strict";function e(e){return Ct||Nt?(window.addEventListener("load",y,!1),l(kt,e),r(),o(),void 0):(document.body.setAttribute("class","no-transforms"),void 0)}function t(){if(Pt.theme=document.querySelector("#theme"),Pt.wrapper=document.querySelector(".reveal"),Pt.slides=document.querySelector(".reveal .slides"),document.querySelector(".reveal .background")||(Pt.background=document.createElement("div"),Pt.background.classList.add("background"),Pt.wrapper.appendChild(Pt.background)),!Pt.wrapper.querySelector(".progress")){var e=document.createElement("div");e.classList.add("progress"),e.innerHTML="",Pt.wrapper.appendChild(e)}if(!Pt.wrapper.querySelector(".controls")){var t=document.createElement("aside");t.classList.add("controls"),t.innerHTML='',Pt.wrapper.appendChild(t)}if(!Pt.wrapper.querySelector(".state-background")){var n=document.createElement("div");n.classList.add("state-background"),Pt.wrapper.appendChild(n)}if(!Pt.wrapper.querySelector(".pause-overlay")){var r=document.createElement("div");r.classList.add("pause-overlay"),Pt.wrapper.appendChild(r)}Pt.progress=document.querySelector(".reveal .progress"),Pt.progressbar=document.querySelector(".reveal .progress span"),kt.controls&&(Pt.controls=document.querySelector(".reveal .controls"),Pt.controlsLeft=d(document.querySelectorAll(".navigate-left")),Pt.controlsRight=d(document.querySelectorAll(".navigate-right")),Pt.controlsUp=d(document.querySelectorAll(".navigate-up")),Pt.controlsDown=d(document.querySelectorAll(".navigate-down")),Pt.controlsPrev=d(document.querySelectorAll(".navigate-prev")),Pt.controlsNext=d(document.querySelectorAll(".navigate-next")))}function n(){function e(e,t){var n={background:e.getAttribute("data-background"),backgroundSize:e.getAttribute("data-background-size"),backgroundColor:e.getAttribute("data-background-color"),backgroundRepeat:e.getAttribute("data-background-repeat"),backgroundPosition:e.getAttribute("data-background-position")},r=document.createElement("div");return r.className="slide-background",n.background&&(/\.(png|jpg|jpeg|gif|bmp)$/gi.test(n.background)?r.style.backgroundImage="url("+n.background+")":r.style.background=n.background),n.backgroundSize&&(r.style.backgroundSize=n.backgroundSize),n.backgroundColor&&(r.style.backgroundColor=n.backgroundColor),n.backgroundRepeat&&(r.style.backgroundRepeat=n.backgroundRepeat),n.backgroundPosition&&(r.style.backgroundPosition=n.backgroundPosition),t.appendChild(r),r}f()&&document.body.classList.add("print-pdf"),Pt.background.innerHTML="",Pt.background.classList.add("no-transition"),d(document.querySelectorAll(Lt)).forEach(function(t){var n;n=f()?e(t,t):e(t,Pt.background),d(t.querySelectorAll("section")).forEach(function(t){f()?e(t,t):e(t,n)})})}function r(){/iphone|ipod|android/gi.test(navigator.userAgent)&&!/crios/gi.test(navigator.userAgent)&&(window.addEventListener("load",v,!1),window.addEventListener("orientationchange",v,!1))}function o(){function e(){n.length&&head.js.apply(null,n),a()}for(var t=[],n=[],r=0,o=kt.dependencies.length;o>r;r++){var s=kt.dependencies[r];(!s.condition||s.condition())&&(s.async?n.push(s.src):t.push(s.src),"function"==typeof s.callback&&head.ready(s.src.match(/([\w\d_\-]*)\.?js$|[^\\\/]*$/i)[0],s.callback))}t.length?(head.ready(e),head.js.apply(null,t)):e()}function a(){t(),s(),W(),setTimeout(function(){p("ready",{indexh:qt,indexv:xt,currentSlide:bt})},1)}function s(e){if(Pt.wrapper.classList.remove(kt.transition),"object"==typeof e&&l(kt,e),Nt===!1&&(kt.transition="linear"),Pt.wrapper.classList.add(kt.transition),Pt.wrapper.setAttribute("data-transition-speed",kt.transitionSpeed),Pt.wrapper.setAttribute("data-background-transition",kt.backgroundTransition),Pt.controls&&(Pt.controls.style.display=kt.controls&&Pt.controls?"block":"none"),Pt.progress&&(Pt.progress.style.display=kt.progress&&Pt.progress?"block":"none"),kt.rtl?Pt.wrapper.classList.add("rtl"):Pt.wrapper.classList.remove("rtl"),kt.center?Pt.wrapper.classList.add("center"):Pt.wrapper.classList.remove("center"),kt.mouseWheel?(document.addEventListener("DOMMouseScroll",it,!1),document.addEventListener("mousewheel",it,!1)):(document.removeEventListener("DOMMouseScroll",it,!1),document.removeEventListener("mousewheel",it,!1)),kt.rollingLinks?m():h(),kt.theme&&Pt.theme){var t=Pt.theme.getAttribute("href"),n=/[^\/]*?(?=\.css)/,r=t.match(n)[0];kt.theme!==r&&(t=t.replace(n,kt.theme),Pt.theme.setAttribute("href",t))}C()}function i(){Xt=!0,window.addEventListener("hashchange",mt,!1),window.addEventListener("resize",ht,!1),kt.touch&&(Pt.wrapper.addEventListener("touchstart",tt,!1),Pt.wrapper.addEventListener("touchmove",nt,!1),Pt.wrapper.addEventListener("touchend",rt,!1),window.navigator.msPointerEnabled&&(Pt.wrapper.addEventListener("MSPointerDown",ot,!1),Pt.wrapper.addEventListener("MSPointerMove",at,!1),Pt.wrapper.addEventListener("MSPointerUp",st,!1))),kt.keyboard&&document.addEventListener("keydown",et,!1),kt.progress&&Pt.progress&&Pt.progress.addEventListener("click",ct,!1),kt.controls&&Pt.controls&&["touchstart","click"].forEach(function(e){Pt.controlsLeft.forEach(function(t){t.addEventListener(e,lt,!1)}),Pt.controlsRight.forEach(function(t){t.addEventListener(e,dt,!1)}),Pt.controlsUp.forEach(function(t){t.addEventListener(e,ut,!1)}),Pt.controlsDown.forEach(function(t){t.addEventListener(e,ft,!1)}),Pt.controlsPrev.forEach(function(t){t.addEventListener(e,vt,!1)}),Pt.controlsNext.forEach(function(t){t.addEventListener(e,pt,!1)})})}function c(){Xt=!1,document.removeEventListener("keydown",et,!1),window.removeEventListener("hashchange",mt,!1),window.removeEventListener("resize",ht,!1),Pt.wrapper.removeEventListener("touchstart",tt,!1),Pt.wrapper.removeEventListener("touchmove",nt,!1),Pt.wrapper.removeEventListener("touchend",rt,!1),window.navigator.msPointerEnabled&&(Pt.wrapper.removeEventListener("MSPointerDown",ot,!1),Pt.wrapper.removeEventListener("MSPointerMove",at,!1),Pt.wrapper.removeEventListener("MSPointerUp",st,!1)),kt.progress&&Pt.progress&&Pt.progress.removeEventListener("click",ct,!1),kt.controls&&Pt.controls&&["touchstart","click"].forEach(function(e){Pt.controlsLeft.forEach(function(t){t.removeEventListener(e,lt,!1)}),Pt.controlsRight.forEach(function(t){t.removeEventListener(e,dt,!1)}),Pt.controlsUp.forEach(function(t){t.removeEventListener(e,ut,!1)}),Pt.controlsDown.forEach(function(t){t.removeEventListener(e,ft,!1)}),Pt.controlsPrev.forEach(function(t){t.removeEventListener(e,vt,!1)}),Pt.controlsNext.forEach(function(t){t.removeEventListener(e,pt,!1)})})}function l(e,t){for(var n in t)e[n]=t[n]}function d(e){return Array.prototype.slice.call(e)}function u(e,t){var n=e.x-t.x,r=e.y-t.y;return Math.sqrt(n*n+r*r)}function f(){return/print-pdf/gi.test(window.location.search)}function v(){0===window.orientation?(document.documentElement.style.overflow="scroll",document.body.style.height="120%"):(document.documentElement.style.overflow="",document.body.style.height="100%"),setTimeout(function(){window.scrollTo(0,1)},10)}function p(e,t){var n=document.createEvent("HTMLEvents",1,2);n.initEvent(e,!0,!0),l(n,t),Pt.wrapper.dispatchEvent(n)}function m(){if(Nt&&!("msPerspective"in document.body.style))for(var e=document.querySelectorAll(wt+" a:not(.image)"),t=0,n=e.length;n>t;t++){var r=e[t];if(!(!r.textContent||r.querySelector("*")||r.className&&r.classList.contains(r,"roll"))){var o=document.createElement("span");o.setAttribute("data-title",r.text),o.innerHTML=r.innerHTML,r.classList.add("roll"),r.innerHTML="",r.appendChild(o)}}}function h(){for(var e=document.querySelectorAll(wt+" a.roll"),t=0,n=e.length;n>t;t++){var r=e[t],o=r.querySelector("span");o&&(r.classList.remove("roll"),r.innerHTML=o.innerHTML)}}function g(e){var t=d(e);return t.forEach(function(e,t){e.hasAttribute("data-fragment-index")||e.setAttribute("data-fragment-index",t)}),t.sort(function(e,t){return e.getAttribute("data-fragment-index")-t.getAttribute("data-fragment-index")}),t}function y(){if(Pt.wrapper&&!f()){var e=Pt.wrapper.offsetWidth,t=Pt.wrapper.offsetHeight;e-=t*kt.margin,t-=t*kt.margin;var n=kt.width,r=kt.height;if("string"==typeof n&&/%$/.test(n)&&(n=parseInt(n,10)/100*e),"string"==typeof r&&/%$/.test(r)&&(r=parseInt(r,10)/100*t),Pt.slides.style.width=n+"px",Pt.slides.style.height=r+"px",Mt=Math.min(e/n,t/r),Mt=Math.max(Mt,kt.minScale),Mt=Math.min(Mt,kt.maxScale),void 0===Pt.slides.style.zoom||navigator.userAgent.match(/(iphone|ipod|ipad|android)/gi)){var o="translate(-50%, -50%) scale("+Mt+") translate(50%, 50%)";Pt.slides.style.WebkitTransform=o,Pt.slides.style.MozTransform=o,Pt.slides.style.msTransform=o,Pt.slides.style.OTransform=o,Pt.slides.style.transform=o}else Pt.slides.style.zoom=Mt;for(var a=d(document.querySelectorAll(wt)),s=0,i=a.length;i>s;s++){var c=a[s];"none"!==c.style.display&&(c.style.top=kt.center?c.classList.contains("stack")?0:Math.max(-(c.offsetHeight/2)-20,-r/2)+"px":"")}R()}}function b(e,t){"object"==typeof e&&"function"==typeof e.setAttribute&&e.setAttribute("data-previous-indexv",t||0)}function w(e){if("object"==typeof e&&"function"==typeof e.setAttribute&&e.classList.contains("stack")){var t=e.hasAttribute("data-start-indexv")?"data-start-indexv":"data-previous-indexv";return parseInt(e.getAttribute(t)||0,10)}return 0}function L(){if(kt.overview){$();var e=Pt.wrapper.classList.contains("overview");Pt.wrapper.classList.add("overview"),Pt.wrapper.classList.remove("exit-overview"),clearTimeout(Yt),clearTimeout(zt),Yt=setTimeout(function(){for(var t=document.querySelectorAll(Lt),n=0,r=t.length;r>n;n++){var o=t[n],a=kt.rtl?-105:105,s="translateZ(-2500px) translate("+(n-qt)*a+"%, 0%)";if(o.setAttribute("data-index-h",n),o.style.display="block",o.style.WebkitTransform=s,o.style.MozTransform=s,o.style.msTransform=s,o.style.OTransform=s,o.style.transform=s,o.classList.contains("stack"))for(var i=o.querySelectorAll("section"),c=0,l=i.length;l>c;c++){var d=n===qt?xt:w(o),u=i[c],f="translate(0%, "+105*(c-d)+"%)";u.setAttribute("data-index-h",n),u.setAttribute("data-index-v",c),u.style.display="block",u.style.WebkitTransform=f,u.style.MozTransform=f,u.style.msTransform=f,u.style.OTransform=f,u.style.transform=f,u.addEventListener("click",gt,!0)}else o.addEventListener("click",gt,!0)}y(),e||p("overviewshown",{indexh:qt,indexv:xt,currentSlide:bt})},10)}}function E(){if(kt.overview){clearTimeout(Yt),clearTimeout(zt),Pt.wrapper.classList.remove("overview"),Pt.wrapper.classList.add("exit-overview"),zt=setTimeout(function(){Pt.wrapper.classList.remove("exit-overview")},10);for(var e=d(document.querySelectorAll(wt)),t=0,n=e.length;n>t;t++){var r=e[t];r.style.display="",r.style.WebkitTransform="",r.style.MozTransform="",r.style.msTransform="",r.style.OTransform="",r.style.transform="",r.removeEventListener("click",gt,!0)}N(qt,xt),K(),p("overviewhidden",{indexh:qt,indexv:xt,currentSlide:bt})}}function S(e){"boolean"==typeof e?e?L():E():k()?E():L()}function k(){return Pt.wrapper.classList.contains("overview")}function A(e){return e=e?e:bt,e&&!!e.parentNode.nodeName.match(/section/i)}function q(){var e=document.body,t=e.requestFullScreen||e.webkitRequestFullscreen||e.webkitRequestFullScreen||e.mozRequestFullScreen||e.msRequestFullScreen;t&&t.apply(e)}function x(){var e=Pt.wrapper.classList.contains("paused");$(),Pt.wrapper.classList.add("paused"),e===!1&&p("paused")}function T(){var e=Pt.wrapper.classList.contains("paused");Pt.wrapper.classList.remove("paused"),K(),e&&p("resumed")}function M(){P()?T():x()}function P(){return Pt.wrapper.classList.contains("paused")}function N(e,t,n,r){yt=bt;var o=document.querySelectorAll(Lt);void 0===t&&(t=w(o[e])),yt&&yt.parentNode&&yt.parentNode.classList.contains("stack")&&b(yt.parentNode,xt);var a=Tt.concat();Tt.length=0;var s=qt,i=xt;qt=D(Lt,void 0===e?qt:e),xt=D(Et,void 0===t?xt:t),y();e:for(var c=0,l=Tt.length;l>c;c++){for(var u=0;a.length>u;u++)if(a[u]===Tt[c]){a.splice(u,1);continue e}document.documentElement.classList.add(Tt[c]),p(Tt[c])}for(;a.length;)document.documentElement.classList.remove(a.pop());k()&&L(),U(1500);var f=o[qt],v=f.querySelectorAll("section");if(bt=v[xt]||f,n!==void 0){var m=g(bt.querySelectorAll(".fragment"));d(m).forEach(function(e,t){n>t?e.classList.add("visible"):e.classList.remove("visible")})}qt!==s||xt!==i?p("slidechanged",{indexh:qt,indexv:xt,previousSlide:yt,currentSlide:bt,origin:r}):yt=null,yt&&(yt.classList.remove("present"),document.querySelector(St).classList.contains("present")&&setTimeout(function(){var e,t=d(document.querySelectorAll(Lt+".stack"));for(e in t)t[e]&&b(t[e],0)},0)),I(yt),H(bt),O(),R(),Y()}function C(){c(),i(),y(),At=kt.autoSlide,K(),n(),O(),R(),Y()}function D(e,t){var n=d(document.querySelectorAll(e)),r=n.length;if(r){kt.loop&&(t%=r,0>t&&(t=r+t)),t=Math.max(Math.min(t,r-1),0);for(var o=0;r>o;o++){var a=n[o];if(k()===!1){var s=Math.abs((t-o)%(r-3))||0;a.style.display=s>3?"none":"block"}var i=kt.rtl&&!A(a);a.classList.remove("past"),a.classList.remove("present"),a.classList.remove("future"),t>o?a.classList.add(i?"future":"past"):o>t&&a.classList.add(i?"past":"future"),a.querySelector("section")&&a.classList.add("stack")}n[t].classList.add("present");var c=n[t].getAttribute("data-state");c&&(Tt=Tt.concat(c.split(" ")));var l=n[t].getAttribute("data-autoslide");At=l?parseInt(l,10):kt.autoSlide}else t=0;return t}function R(){if(kt.progress&&Pt.progress){var e=d(document.querySelectorAll(Lt)),t=document.querySelectorAll(wt+":not(.stack)").length,n=0;e:for(var r=0;e.length>r;r++){for(var o=e[r],a=d(o.querySelectorAll("section")),s=0;a.length>s;s++){if(a[s].classList.contains("present"))break e;n++}if(o.classList.contains("present"))break;o.classList.contains("stack")===!1&&n++}Pt.progressbar.style.width=n/(t-1)*window.innerWidth+"px"}}function O(){if(kt.controls&&Pt.controls){var e=z(),t=X();Pt.controlsLeft.concat(Pt.controlsRight).concat(Pt.controlsUp).concat(Pt.controlsDown).concat(Pt.controlsPrev).concat(Pt.controlsNext).forEach(function(e){e.classList.remove("enabled"),e.classList.remove("fragmented")}),e.left&&Pt.controlsLeft.forEach(function(e){e.classList.add("enabled")}),e.right&&Pt.controlsRight.forEach(function(e){e.classList.add("enabled")}),e.up&&Pt.controlsUp.forEach(function(e){e.classList.add("enabled")}),e.down&&Pt.controlsDown.forEach(function(e){e.classList.add("enabled")}),(e.left||e.up)&&Pt.controlsPrev.forEach(function(e){e.classList.add("enabled")}),(e.right||e.down)&&Pt.controlsNext.forEach(function(e){e.classList.add("enabled")}),bt&&(t.prev&&Pt.controlsPrev.forEach(function(e){e.classList.add("fragmented","enabled")}),t.next&&Pt.controlsNext.forEach(function(e){e.classList.add("fragmented","enabled")}),A(bt)?(t.prev&&Pt.controlsUp.forEach(function(e){e.classList.add("fragmented","enabled")}),t.next&&Pt.controlsDown.forEach(function(e){e.classList.add("fragmented","enabled")})):(t.prev&&Pt.controlsLeft.forEach(function(e){e.classList.add("fragmented","enabled")}),t.next&&Pt.controlsRight.forEach(function(e){e.classList.add("fragmented","enabled")})))}}function Y(){d(Pt.background.childNodes).forEach(function(e,t){e.className="slide-background "+(qt>t?"past":t>qt?"future":"present"),d(e.childNodes).forEach(function(e,t){e.className="slide-background "+(xt>t?"past":t>xt?"future":"present")})}),setTimeout(function(){Pt.background.classList.remove("no-transition")},1)}function z(){var e=document.querySelectorAll(Lt),t=document.querySelectorAll(Et),n={left:qt>0||kt.loop,right:e.length-1>qt||kt.loop,up:xt>0,down:t.length-1>xt};if(kt.rtl){var r=n.left;n.left=n.right,n.right=r}return n}function X(){if(bt&&kt.fragments){var e=bt.querySelectorAll(".fragment"),t=bt.querySelectorAll(".fragment:not(.visible)");return{prev:e.length-t.length>0,next:!!t.length}}return{prev:!1,next:!1}}function H(e){e&&(d(e.querySelectorAll("video, audio")).forEach(function(e){e.hasAttribute("data-autoplay")&&e.play()}),d(e.querySelectorAll('iframe[src*="youtube.com/embed/"]')).forEach(function(e){e.hasAttribute("data-autoplay")&&e.contentWindow.postMessage('{"event":"command","func":"playVideo","args":""}',"*")}))}function I(e){e&&(d(e.querySelectorAll("video, audio")).forEach(function(e){e.hasAttribute("data-ignore")||e.pause()}),d(e.querySelectorAll('iframe[src*="youtube.com/embed/"]')).forEach(function(e){e.hasAttribute("data-ignore")||"function"!=typeof e.contentWindow.postMessage||e.contentWindow.postMessage('{"event":"command","func":"pauseVideo","args":""}',"*")}))}function W(){var e=window.location.hash,t=e.slice(2).split("/"),n=e.replace(/#|\//gi,"");if(isNaN(parseInt(t[0],10))&&n.length){var r=document.querySelector("#"+n);if(r){var o=Reveal.getIndices(r);N(o.h,o.v)}else N(qt,xt)}else{var a=parseInt(t[0],10)||0,s=parseInt(t[1],10)||0;N(a,s)}}function U(e){if(kt.history)if(clearTimeout(Ot),"number"==typeof e)Ot=setTimeout(U,e);else{var t="/";bt&&"string"==typeof bt.getAttribute("id")?t="/"+bt.getAttribute("id"):((qt>0||xt>0)&&(t+=qt),xt>0&&(t+="/"+xt)),window.location.hash=t}}function F(e){var t,n=qt,r=xt;if(e){var o=A(e),a=o?e.parentNode:e,s=d(document.querySelectorAll(Lt));n=Math.max(s.indexOf(a),0),o&&(r=Math.max(d(e.parentNode.querySelectorAll("section")).indexOf(e),0))}if(!e&&bt){var i=bt.querySelectorAll(".fragment.visible");i.length&&(t=i.length)}return{h:n,v:r,f:t}}function j(){if(bt&&kt.fragments){var e=g(bt.querySelectorAll(".fragment:not(.visible)"));if(e.length){var t=e[0].getAttribute("data-fragment-index");return e=bt.querySelectorAll('.fragment[data-fragment-index="'+t+'"]'),d(e).forEach(function(e){e.classList.add("visible"),p("fragmentshown",{fragment:e})}),O(),!0}}return!1}function _(){if(bt&&kt.fragments){var e=g(bt.querySelectorAll(".fragment.visible"));if(e.length){var t=e[e.length-1].getAttribute("data-fragment-index");return e=bt.querySelectorAll('.fragment[data-fragment-index="'+t+'"]'),d(e).forEach(function(e){e.classList.remove("visible"),p("fragmenthidden",{fragment:e})}),O(),!0}}return!1}function K(){clearTimeout(Rt),!At||P()||k()||(Rt=setTimeout(J,At))}function $(){clearTimeout(Rt)}function V(){kt.rtl?(k()||j()===!1)&&z().left&&N(qt+1):(k()||_()===!1)&&z().left&&N(qt-1)}function Z(){kt.rtl?(k()||_()===!1)&&z().right&&N(qt-1):(k()||j()===!1)&&z().right&&N(qt+1)}function Q(){(k()||_()===!1)&&z().up&&N(qt,xt-1)}function B(){(k()||j()===!1)&&z().down&&N(qt,xt+1)}function G(){if(_()===!1)if(z().up)Q();else{var e=document.querySelector(Lt+".past:nth-child("+qt+")");e&&(xt=e.querySelectorAll("section").length+1||void 0,qt--,N(qt,xt))}}function J(){j()===!1&&(z().down?B():Z()),K()}function et(e){document.activeElement;var t=!(!document.activeElement||!document.activeElement.type&&!document.activeElement.href&&"inherit"===document.activeElement.contentEditable);if(!(t||e.shiftKey&&32!==e.keyCode||e.altKey||e.ctrlKey||e.metaKey)){var n=!0;if(P()&&-1===[66,190,191].indexOf(e.keyCode))return!1;switch(e.keyCode){case 80:case 33:G();break;case 78:case 34:J();break;case 72:case 37:V();break;case 76:case 39:Z();break;case 75:case 38:Q();break;case 74:case 40:B();break;case 36:N(0);break;case 35:N(Number.MAX_VALUE);break;case 32:k()?E():e.shiftKey?G():J();break;case 13:k()?E():n=!1;break;case 66:case 190:case 191:M();break;case 70:q();break;default:n=!1}n?e.preventDefault():27===e.keyCode&&Nt&&(S(),e.preventDefault()),K()}}function tt(e){Ht.startX=e.touches[0].clientX,Ht.startY=e.touches[0].clientY,Ht.startCount=e.touches.length,2===e.touches.length&&kt.overview&&(Ht.startSpan=u({x:e.touches[1].clientX,y:e.touches[1].clientY},{x:Ht.startX,y:Ht.startY}))}function nt(e){if(Ht.handled)navigator.userAgent.match(/android/gi)&&e.preventDefault();else{var t=e.touches[0].clientX,n=e.touches[0].clientY;if(2===e.touches.length&&2===Ht.startCount&&kt.overview){var r=u({x:e.touches[1].clientX,y:e.touches[1].clientY},{x:Ht.startX,y:Ht.startY});Math.abs(Ht.startSpan-r)>Ht.threshold&&(Ht.handled=!0,Ht.startSpan>r?L():E()),e.preventDefault()}else if(1===e.touches.length&&2!==Ht.startCount){var o=t-Ht.startX,a=n-Ht.startY;o>Ht.threshold&&Math.abs(o)>Math.abs(a)?(Ht.handled=!0,V()):-Ht.threshold>o&&Math.abs(o)>Math.abs(a)?(Ht.handled=!0,Z()):a>Ht.threshold?(Ht.handled=!0,Q()):-Ht.threshold>a&&(Ht.handled=!0,B()),e.preventDefault()}}}function rt(){Ht.handled=!1}function ot(e){e.pointerType===e.MSPOINTER_TYPE_TOUCH&&(e.touches=[{clientX:e.clientX,clientY:e.clientY}],tt(e))}function at(e){e.pointerType===e.MSPOINTER_TYPE_TOUCH&&(e.touches=[{clientX:e.clientX,clientY:e.clientY}],nt(e))}function st(e){e.pointerType===e.MSPOINTER_TYPE_TOUCH&&(e.touches=[{clientX:e.clientX,clientY:e.clientY}],rt(e))}function it(e){clearTimeout(Dt),Dt=setTimeout(function(){var t=e.detail||-e.wheelDelta;t>0?J():G()},100)}function ct(e){e.preventDefault();var t=d(document.querySelectorAll(Lt)).length,n=Math.floor(e.clientX/Pt.wrapper.offsetWidth*t);N(n)}function lt(e){e.preventDefault(),V()}function dt(e){e.preventDefault(),Z()}function ut(e){e.preventDefault(),Q()}function ft(e){e.preventDefault(),B()}function vt(e){e.preventDefault(),G()}function pt(e){e.preventDefault(),J()}function mt(){W()}function ht(){y()}function gt(e){if(Xt&&k()){e.preventDefault();for(var t=e.target;t&&!t.nodeName.match(/section/gi);)t=t.parentNode;if(t&&!t.classList.contains("disabled")&&(E(),t.nodeName.match(/section/gi))){var n=parseInt(t.getAttribute("data-index-h"),10),r=parseInt(t.getAttribute("data-index-v"),10);N(n,r)}}}var yt,bt,wt=".reveal .slides section",Lt=".reveal .slides>section",Et=".reveal .slides>section.present>section",St=".reveal .slides>section:first-child",kt={width:960,height:700,margin:.1,minScale:.2,maxScale:1,controls:!0,progress:!0,history:!1,keyboard:!0,overview:!0,center:!0,touch:!0,loop:!1,rtl:!1,fragments:!0,autoSlide:0,mouseWheel:!1,rollingLinks:!0,theme:null,transition:"default",transitionSpeed:"default",backgroundTransition:"default",dependencies:[]},At=0,qt=0,xt=0,Tt=[],Mt=1,Pt={},Nt="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,Ct="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,Dt=0,Rt=0,Ot=0,Yt=0,zt=0,Xt=!1,Ht={startX:0,startY:0,startSpan:0,startCount:0,handled:!1,threshold:80};return{initialize:e,configure:s,sync:C,slide:N,left:V,right:Z,up:Q,down:B,prev:G,next:J,prevFragment:_,nextFragment:j,navigateTo:N,navigateLeft:V,navigateRight:Z,navigateUp:Q,navigateDown:B,navigatePrev:G,navigateNext:J,layout:y,availableRoutes:z,availableFragments:X,toggleOverview:S,togglePause:M,isOverview:k,isPaused:P,addEventListeners:i,removeEventListeners:c,getIndices:F,getSlide:function(e,t){var n=document.querySelectorAll(Lt)[e],r=n&&n.querySelectorAll("section");return t!==void 0?r?r[t]:void 0:n},getPreviousSlide:function(){return yt},getCurrentSlide:function(){return bt},getScale:function(){return Mt},getConfig:function(){return kt},getQueryHash:function(){var e={};return location.search.replace(/[A-Z0-9]+?=(\w*)/gi,function(t){e[t.split("=").shift()]=t.split("=").pop()}),e},isFirstSlide:function(){return null==document.querySelector(wt+".past")?!0:!1},isLastSlide:function(){return bt&&bt.classList.contains(".stack")?null==bt.querySelector(wt+".future")?!0:!1:null==document.querySelector(wt+".future")?!0:!1},addEventListener:function(e,t,n){"addEventListener"in window&&(Pt.wrapper||document.querySelector(".reveal")).addEventListener(e,t,n)},removeEventListener:function(e,t,n){"addEventListener"in window&&(Pt.wrapper||document.querySelector(".reveal")).removeEventListener(e,t,n)}}}(); \ No newline at end of file From ddfb130d1149e253027c4391220824f875cf7f92 Mon Sep 17 00:00:00 2001 From: Hakim El Hattab Date: Sun, 9 Jun 2013 16:42:55 +0200 Subject: [PATCH 14/23] add test deck for embedded media --- test/media.html | 58 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 test/media.html diff --git a/test/media.html b/test/media.html new file mode 100644 index 0000000..6e95606 --- /dev/null +++ b/test/media.html @@ -0,0 +1,58 @@ + + + + + + + reveal.js - Test + + + + + + + + + +
+ +
+ +
+

Embedded Media Test

+
+ +
+ +
+ +
+

Empty Slide

+
+ +
+ +
+ + + + + + + + From aa9e298f3dcccef0342b3c5297b8042d695c60d5 Mon Sep 17 00:00:00 2001 From: Hakim El Hattab Date: Sun, 9 Jun 2013 16:47:27 +0200 Subject: [PATCH 15/23] update code style to match after merge --- js/reveal.js | 4 ++-- js/reveal.min.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/js/reveal.js b/js/reveal.js index d236b84..f1ede50 100644 --- a/js/reveal.js +++ b/js/reveal.js @@ -1231,7 +1231,7 @@ var Reveal = (function(){ } // Dispatch an event if the slide changed - var slideChanged = (indexh !== indexhBefore || indexv !== indexvBefore); + var slideChanged = ( indexh !== indexhBefore || indexv !== indexvBefore ); if( slideChanged ) { dispatchEvent( 'slidechanged', { 'indexh': indexh, @@ -1269,7 +1269,7 @@ var Reveal = (function(){ } // Handle embedded content - if (slideChanged) { + if( slideChanged ) { stopEmbeddedContent( previousSlide ); startEmbeddedContent( currentSlide ); } diff --git a/js/reveal.min.js b/js/reveal.min.js index 1769f69..8e3dc06 100644 --- a/js/reveal.min.js +++ b/js/reveal.min.js @@ -1,8 +1,8 @@ /*! - * reveal.js 2.5.0 (2013-06-07, 17:32) + * reveal.js 2.5.0 (2013-06-09, 16:46) * http://lab.hakim.se/reveal-js * MIT licensed * * Copyright (C) 2013 Hakim El Hattab, http://hakim.se */ -var Reveal=function(){"use strict";function e(e){return Ct||Nt?(window.addEventListener("load",y,!1),l(kt,e),r(),o(),void 0):(document.body.setAttribute("class","no-transforms"),void 0)}function t(){if(Pt.theme=document.querySelector("#theme"),Pt.wrapper=document.querySelector(".reveal"),Pt.slides=document.querySelector(".reveal .slides"),document.querySelector(".reveal .background")||(Pt.background=document.createElement("div"),Pt.background.classList.add("background"),Pt.wrapper.appendChild(Pt.background)),!Pt.wrapper.querySelector(".progress")){var e=document.createElement("div");e.classList.add("progress"),e.innerHTML="",Pt.wrapper.appendChild(e)}if(!Pt.wrapper.querySelector(".controls")){var t=document.createElement("aside");t.classList.add("controls"),t.innerHTML='',Pt.wrapper.appendChild(t)}if(!Pt.wrapper.querySelector(".state-background")){var n=document.createElement("div");n.classList.add("state-background"),Pt.wrapper.appendChild(n)}if(!Pt.wrapper.querySelector(".pause-overlay")){var r=document.createElement("div");r.classList.add("pause-overlay"),Pt.wrapper.appendChild(r)}Pt.progress=document.querySelector(".reveal .progress"),Pt.progressbar=document.querySelector(".reveal .progress span"),kt.controls&&(Pt.controls=document.querySelector(".reveal .controls"),Pt.controlsLeft=d(document.querySelectorAll(".navigate-left")),Pt.controlsRight=d(document.querySelectorAll(".navigate-right")),Pt.controlsUp=d(document.querySelectorAll(".navigate-up")),Pt.controlsDown=d(document.querySelectorAll(".navigate-down")),Pt.controlsPrev=d(document.querySelectorAll(".navigate-prev")),Pt.controlsNext=d(document.querySelectorAll(".navigate-next")))}function n(){function e(e,t){var n={background:e.getAttribute("data-background"),backgroundSize:e.getAttribute("data-background-size"),backgroundColor:e.getAttribute("data-background-color"),backgroundRepeat:e.getAttribute("data-background-repeat"),backgroundPosition:e.getAttribute("data-background-position")},r=document.createElement("div");return r.className="slide-background",n.background&&(/\.(png|jpg|jpeg|gif|bmp)$/gi.test(n.background)?r.style.backgroundImage="url("+n.background+")":r.style.background=n.background),n.backgroundSize&&(r.style.backgroundSize=n.backgroundSize),n.backgroundColor&&(r.style.backgroundColor=n.backgroundColor),n.backgroundRepeat&&(r.style.backgroundRepeat=n.backgroundRepeat),n.backgroundPosition&&(r.style.backgroundPosition=n.backgroundPosition),t.appendChild(r),r}f()&&document.body.classList.add("print-pdf"),Pt.background.innerHTML="",Pt.background.classList.add("no-transition"),d(document.querySelectorAll(Lt)).forEach(function(t){var n;n=f()?e(t,t):e(t,Pt.background),d(t.querySelectorAll("section")).forEach(function(t){f()?e(t,t):e(t,n)})})}function r(){/iphone|ipod|android/gi.test(navigator.userAgent)&&!/crios/gi.test(navigator.userAgent)&&(window.addEventListener("load",v,!1),window.addEventListener("orientationchange",v,!1))}function o(){function e(){n.length&&head.js.apply(null,n),a()}for(var t=[],n=[],r=0,o=kt.dependencies.length;o>r;r++){var s=kt.dependencies[r];(!s.condition||s.condition())&&(s.async?n.push(s.src):t.push(s.src),"function"==typeof s.callback&&head.ready(s.src.match(/([\w\d_\-]*)\.?js$|[^\\\/]*$/i)[0],s.callback))}t.length?(head.ready(e),head.js.apply(null,t)):e()}function a(){t(),s(),W(),setTimeout(function(){p("ready",{indexh:qt,indexv:xt,currentSlide:bt})},1)}function s(e){if(Pt.wrapper.classList.remove(kt.transition),"object"==typeof e&&l(kt,e),Nt===!1&&(kt.transition="linear"),Pt.wrapper.classList.add(kt.transition),Pt.wrapper.setAttribute("data-transition-speed",kt.transitionSpeed),Pt.wrapper.setAttribute("data-background-transition",kt.backgroundTransition),Pt.controls&&(Pt.controls.style.display=kt.controls&&Pt.controls?"block":"none"),Pt.progress&&(Pt.progress.style.display=kt.progress&&Pt.progress?"block":"none"),kt.rtl?Pt.wrapper.classList.add("rtl"):Pt.wrapper.classList.remove("rtl"),kt.center?Pt.wrapper.classList.add("center"):Pt.wrapper.classList.remove("center"),kt.mouseWheel?(document.addEventListener("DOMMouseScroll",it,!1),document.addEventListener("mousewheel",it,!1)):(document.removeEventListener("DOMMouseScroll",it,!1),document.removeEventListener("mousewheel",it,!1)),kt.rollingLinks?m():h(),kt.theme&&Pt.theme){var t=Pt.theme.getAttribute("href"),n=/[^\/]*?(?=\.css)/,r=t.match(n)[0];kt.theme!==r&&(t=t.replace(n,kt.theme),Pt.theme.setAttribute("href",t))}C()}function i(){Xt=!0,window.addEventListener("hashchange",mt,!1),window.addEventListener("resize",ht,!1),kt.touch&&(Pt.wrapper.addEventListener("touchstart",tt,!1),Pt.wrapper.addEventListener("touchmove",nt,!1),Pt.wrapper.addEventListener("touchend",rt,!1),window.navigator.msPointerEnabled&&(Pt.wrapper.addEventListener("MSPointerDown",ot,!1),Pt.wrapper.addEventListener("MSPointerMove",at,!1),Pt.wrapper.addEventListener("MSPointerUp",st,!1))),kt.keyboard&&document.addEventListener("keydown",et,!1),kt.progress&&Pt.progress&&Pt.progress.addEventListener("click",ct,!1),kt.controls&&Pt.controls&&["touchstart","click"].forEach(function(e){Pt.controlsLeft.forEach(function(t){t.addEventListener(e,lt,!1)}),Pt.controlsRight.forEach(function(t){t.addEventListener(e,dt,!1)}),Pt.controlsUp.forEach(function(t){t.addEventListener(e,ut,!1)}),Pt.controlsDown.forEach(function(t){t.addEventListener(e,ft,!1)}),Pt.controlsPrev.forEach(function(t){t.addEventListener(e,vt,!1)}),Pt.controlsNext.forEach(function(t){t.addEventListener(e,pt,!1)})})}function c(){Xt=!1,document.removeEventListener("keydown",et,!1),window.removeEventListener("hashchange",mt,!1),window.removeEventListener("resize",ht,!1),Pt.wrapper.removeEventListener("touchstart",tt,!1),Pt.wrapper.removeEventListener("touchmove",nt,!1),Pt.wrapper.removeEventListener("touchend",rt,!1),window.navigator.msPointerEnabled&&(Pt.wrapper.removeEventListener("MSPointerDown",ot,!1),Pt.wrapper.removeEventListener("MSPointerMove",at,!1),Pt.wrapper.removeEventListener("MSPointerUp",st,!1)),kt.progress&&Pt.progress&&Pt.progress.removeEventListener("click",ct,!1),kt.controls&&Pt.controls&&["touchstart","click"].forEach(function(e){Pt.controlsLeft.forEach(function(t){t.removeEventListener(e,lt,!1)}),Pt.controlsRight.forEach(function(t){t.removeEventListener(e,dt,!1)}),Pt.controlsUp.forEach(function(t){t.removeEventListener(e,ut,!1)}),Pt.controlsDown.forEach(function(t){t.removeEventListener(e,ft,!1)}),Pt.controlsPrev.forEach(function(t){t.removeEventListener(e,vt,!1)}),Pt.controlsNext.forEach(function(t){t.removeEventListener(e,pt,!1)})})}function l(e,t){for(var n in t)e[n]=t[n]}function d(e){return Array.prototype.slice.call(e)}function u(e,t){var n=e.x-t.x,r=e.y-t.y;return Math.sqrt(n*n+r*r)}function f(){return/print-pdf/gi.test(window.location.search)}function v(){0===window.orientation?(document.documentElement.style.overflow="scroll",document.body.style.height="120%"):(document.documentElement.style.overflow="",document.body.style.height="100%"),setTimeout(function(){window.scrollTo(0,1)},10)}function p(e,t){var n=document.createEvent("HTMLEvents",1,2);n.initEvent(e,!0,!0),l(n,t),Pt.wrapper.dispatchEvent(n)}function m(){if(Nt&&!("msPerspective"in document.body.style))for(var e=document.querySelectorAll(wt+" a:not(.image)"),t=0,n=e.length;n>t;t++){var r=e[t];if(!(!r.textContent||r.querySelector("*")||r.className&&r.classList.contains(r,"roll"))){var o=document.createElement("span");o.setAttribute("data-title",r.text),o.innerHTML=r.innerHTML,r.classList.add("roll"),r.innerHTML="",r.appendChild(o)}}}function h(){for(var e=document.querySelectorAll(wt+" a.roll"),t=0,n=e.length;n>t;t++){var r=e[t],o=r.querySelector("span");o&&(r.classList.remove("roll"),r.innerHTML=o.innerHTML)}}function g(e){var t=d(e);return t.forEach(function(e,t){e.hasAttribute("data-fragment-index")||e.setAttribute("data-fragment-index",t)}),t.sort(function(e,t){return e.getAttribute("data-fragment-index")-t.getAttribute("data-fragment-index")}),t}function y(){if(Pt.wrapper&&!f()){var e=Pt.wrapper.offsetWidth,t=Pt.wrapper.offsetHeight;e-=t*kt.margin,t-=t*kt.margin;var n=kt.width,r=kt.height;if("string"==typeof n&&/%$/.test(n)&&(n=parseInt(n,10)/100*e),"string"==typeof r&&/%$/.test(r)&&(r=parseInt(r,10)/100*t),Pt.slides.style.width=n+"px",Pt.slides.style.height=r+"px",Mt=Math.min(e/n,t/r),Mt=Math.max(Mt,kt.minScale),Mt=Math.min(Mt,kt.maxScale),void 0===Pt.slides.style.zoom||navigator.userAgent.match(/(iphone|ipod|ipad|android)/gi)){var o="translate(-50%, -50%) scale("+Mt+") translate(50%, 50%)";Pt.slides.style.WebkitTransform=o,Pt.slides.style.MozTransform=o,Pt.slides.style.msTransform=o,Pt.slides.style.OTransform=o,Pt.slides.style.transform=o}else Pt.slides.style.zoom=Mt;for(var a=d(document.querySelectorAll(wt)),s=0,i=a.length;i>s;s++){var c=a[s];"none"!==c.style.display&&(c.style.top=kt.center?c.classList.contains("stack")?0:Math.max(-(c.offsetHeight/2)-20,-r/2)+"px":"")}R()}}function b(e,t){"object"==typeof e&&"function"==typeof e.setAttribute&&e.setAttribute("data-previous-indexv",t||0)}function w(e){if("object"==typeof e&&"function"==typeof e.setAttribute&&e.classList.contains("stack")){var t=e.hasAttribute("data-start-indexv")?"data-start-indexv":"data-previous-indexv";return parseInt(e.getAttribute(t)||0,10)}return 0}function L(){if(kt.overview){$();var e=Pt.wrapper.classList.contains("overview");Pt.wrapper.classList.add("overview"),Pt.wrapper.classList.remove("exit-overview"),clearTimeout(Yt),clearTimeout(zt),Yt=setTimeout(function(){for(var t=document.querySelectorAll(Lt),n=0,r=t.length;r>n;n++){var o=t[n],a=kt.rtl?-105:105,s="translateZ(-2500px) translate("+(n-qt)*a+"%, 0%)";if(o.setAttribute("data-index-h",n),o.style.display="block",o.style.WebkitTransform=s,o.style.MozTransform=s,o.style.msTransform=s,o.style.OTransform=s,o.style.transform=s,o.classList.contains("stack"))for(var i=o.querySelectorAll("section"),c=0,l=i.length;l>c;c++){var d=n===qt?xt:w(o),u=i[c],f="translate(0%, "+105*(c-d)+"%)";u.setAttribute("data-index-h",n),u.setAttribute("data-index-v",c),u.style.display="block",u.style.WebkitTransform=f,u.style.MozTransform=f,u.style.msTransform=f,u.style.OTransform=f,u.style.transform=f,u.addEventListener("click",gt,!0)}else o.addEventListener("click",gt,!0)}y(),e||p("overviewshown",{indexh:qt,indexv:xt,currentSlide:bt})},10)}}function E(){if(kt.overview){clearTimeout(Yt),clearTimeout(zt),Pt.wrapper.classList.remove("overview"),Pt.wrapper.classList.add("exit-overview"),zt=setTimeout(function(){Pt.wrapper.classList.remove("exit-overview")},10);for(var e=d(document.querySelectorAll(wt)),t=0,n=e.length;n>t;t++){var r=e[t];r.style.display="",r.style.WebkitTransform="",r.style.MozTransform="",r.style.msTransform="",r.style.OTransform="",r.style.transform="",r.removeEventListener("click",gt,!0)}N(qt,xt),K(),p("overviewhidden",{indexh:qt,indexv:xt,currentSlide:bt})}}function S(e){"boolean"==typeof e?e?L():E():k()?E():L()}function k(){return Pt.wrapper.classList.contains("overview")}function A(e){return e=e?e:bt,e&&!!e.parentNode.nodeName.match(/section/i)}function q(){var e=document.body,t=e.requestFullScreen||e.webkitRequestFullscreen||e.webkitRequestFullScreen||e.mozRequestFullScreen||e.msRequestFullScreen;t&&t.apply(e)}function x(){var e=Pt.wrapper.classList.contains("paused");$(),Pt.wrapper.classList.add("paused"),e===!1&&p("paused")}function T(){var e=Pt.wrapper.classList.contains("paused");Pt.wrapper.classList.remove("paused"),K(),e&&p("resumed")}function M(){P()?T():x()}function P(){return Pt.wrapper.classList.contains("paused")}function N(e,t,n,r){yt=bt;var o=document.querySelectorAll(Lt);void 0===t&&(t=w(o[e])),yt&&yt.parentNode&&yt.parentNode.classList.contains("stack")&&b(yt.parentNode,xt);var a=Tt.concat();Tt.length=0;var s=qt,i=xt;qt=D(Lt,void 0===e?qt:e),xt=D(Et,void 0===t?xt:t),y();e:for(var c=0,l=Tt.length;l>c;c++){for(var u=0;a.length>u;u++)if(a[u]===Tt[c]){a.splice(u,1);continue e}document.documentElement.classList.add(Tt[c]),p(Tt[c])}for(;a.length;)document.documentElement.classList.remove(a.pop());k()&&L(),U(1500);var f=o[qt],v=f.querySelectorAll("section");if(bt=v[xt]||f,n!==void 0){var m=g(bt.querySelectorAll(".fragment"));d(m).forEach(function(e,t){n>t?e.classList.add("visible"):e.classList.remove("visible")})}qt!==s||xt!==i?p("slidechanged",{indexh:qt,indexv:xt,previousSlide:yt,currentSlide:bt,origin:r}):yt=null,yt&&(yt.classList.remove("present"),document.querySelector(St).classList.contains("present")&&setTimeout(function(){var e,t=d(document.querySelectorAll(Lt+".stack"));for(e in t)t[e]&&b(t[e],0)},0)),I(yt),H(bt),O(),R(),Y()}function C(){c(),i(),y(),At=kt.autoSlide,K(),n(),O(),R(),Y()}function D(e,t){var n=d(document.querySelectorAll(e)),r=n.length;if(r){kt.loop&&(t%=r,0>t&&(t=r+t)),t=Math.max(Math.min(t,r-1),0);for(var o=0;r>o;o++){var a=n[o];if(k()===!1){var s=Math.abs((t-o)%(r-3))||0;a.style.display=s>3?"none":"block"}var i=kt.rtl&&!A(a);a.classList.remove("past"),a.classList.remove("present"),a.classList.remove("future"),t>o?a.classList.add(i?"future":"past"):o>t&&a.classList.add(i?"past":"future"),a.querySelector("section")&&a.classList.add("stack")}n[t].classList.add("present");var c=n[t].getAttribute("data-state");c&&(Tt=Tt.concat(c.split(" ")));var l=n[t].getAttribute("data-autoslide");At=l?parseInt(l,10):kt.autoSlide}else t=0;return t}function R(){if(kt.progress&&Pt.progress){var e=d(document.querySelectorAll(Lt)),t=document.querySelectorAll(wt+":not(.stack)").length,n=0;e:for(var r=0;e.length>r;r++){for(var o=e[r],a=d(o.querySelectorAll("section")),s=0;a.length>s;s++){if(a[s].classList.contains("present"))break e;n++}if(o.classList.contains("present"))break;o.classList.contains("stack")===!1&&n++}Pt.progressbar.style.width=n/(t-1)*window.innerWidth+"px"}}function O(){if(kt.controls&&Pt.controls){var e=z(),t=X();Pt.controlsLeft.concat(Pt.controlsRight).concat(Pt.controlsUp).concat(Pt.controlsDown).concat(Pt.controlsPrev).concat(Pt.controlsNext).forEach(function(e){e.classList.remove("enabled"),e.classList.remove("fragmented")}),e.left&&Pt.controlsLeft.forEach(function(e){e.classList.add("enabled")}),e.right&&Pt.controlsRight.forEach(function(e){e.classList.add("enabled")}),e.up&&Pt.controlsUp.forEach(function(e){e.classList.add("enabled")}),e.down&&Pt.controlsDown.forEach(function(e){e.classList.add("enabled")}),(e.left||e.up)&&Pt.controlsPrev.forEach(function(e){e.classList.add("enabled")}),(e.right||e.down)&&Pt.controlsNext.forEach(function(e){e.classList.add("enabled")}),bt&&(t.prev&&Pt.controlsPrev.forEach(function(e){e.classList.add("fragmented","enabled")}),t.next&&Pt.controlsNext.forEach(function(e){e.classList.add("fragmented","enabled")}),A(bt)?(t.prev&&Pt.controlsUp.forEach(function(e){e.classList.add("fragmented","enabled")}),t.next&&Pt.controlsDown.forEach(function(e){e.classList.add("fragmented","enabled")})):(t.prev&&Pt.controlsLeft.forEach(function(e){e.classList.add("fragmented","enabled")}),t.next&&Pt.controlsRight.forEach(function(e){e.classList.add("fragmented","enabled")})))}}function Y(){d(Pt.background.childNodes).forEach(function(e,t){e.className="slide-background "+(qt>t?"past":t>qt?"future":"present"),d(e.childNodes).forEach(function(e,t){e.className="slide-background "+(xt>t?"past":t>xt?"future":"present")})}),setTimeout(function(){Pt.background.classList.remove("no-transition")},1)}function z(){var e=document.querySelectorAll(Lt),t=document.querySelectorAll(Et),n={left:qt>0||kt.loop,right:e.length-1>qt||kt.loop,up:xt>0,down:t.length-1>xt};if(kt.rtl){var r=n.left;n.left=n.right,n.right=r}return n}function X(){if(bt&&kt.fragments){var e=bt.querySelectorAll(".fragment"),t=bt.querySelectorAll(".fragment:not(.visible)");return{prev:e.length-t.length>0,next:!!t.length}}return{prev:!1,next:!1}}function H(e){e&&(d(e.querySelectorAll("video, audio")).forEach(function(e){e.hasAttribute("data-autoplay")&&e.play()}),d(e.querySelectorAll('iframe[src*="youtube.com/embed/"]')).forEach(function(e){e.hasAttribute("data-autoplay")&&e.contentWindow.postMessage('{"event":"command","func":"playVideo","args":""}',"*")}))}function I(e){e&&(d(e.querySelectorAll("video, audio")).forEach(function(e){e.hasAttribute("data-ignore")||e.pause()}),d(e.querySelectorAll('iframe[src*="youtube.com/embed/"]')).forEach(function(e){e.hasAttribute("data-ignore")||"function"!=typeof e.contentWindow.postMessage||e.contentWindow.postMessage('{"event":"command","func":"pauseVideo","args":""}',"*")}))}function W(){var e=window.location.hash,t=e.slice(2).split("/"),n=e.replace(/#|\//gi,"");if(isNaN(parseInt(t[0],10))&&n.length){var r=document.querySelector("#"+n);if(r){var o=Reveal.getIndices(r);N(o.h,o.v)}else N(qt,xt)}else{var a=parseInt(t[0],10)||0,s=parseInt(t[1],10)||0;N(a,s)}}function U(e){if(kt.history)if(clearTimeout(Ot),"number"==typeof e)Ot=setTimeout(U,e);else{var t="/";bt&&"string"==typeof bt.getAttribute("id")?t="/"+bt.getAttribute("id"):((qt>0||xt>0)&&(t+=qt),xt>0&&(t+="/"+xt)),window.location.hash=t}}function F(e){var t,n=qt,r=xt;if(e){var o=A(e),a=o?e.parentNode:e,s=d(document.querySelectorAll(Lt));n=Math.max(s.indexOf(a),0),o&&(r=Math.max(d(e.parentNode.querySelectorAll("section")).indexOf(e),0))}if(!e&&bt){var i=bt.querySelectorAll(".fragment.visible");i.length&&(t=i.length)}return{h:n,v:r,f:t}}function j(){if(bt&&kt.fragments){var e=g(bt.querySelectorAll(".fragment:not(.visible)"));if(e.length){var t=e[0].getAttribute("data-fragment-index");return e=bt.querySelectorAll('.fragment[data-fragment-index="'+t+'"]'),d(e).forEach(function(e){e.classList.add("visible"),p("fragmentshown",{fragment:e})}),O(),!0}}return!1}function _(){if(bt&&kt.fragments){var e=g(bt.querySelectorAll(".fragment.visible"));if(e.length){var t=e[e.length-1].getAttribute("data-fragment-index");return e=bt.querySelectorAll('.fragment[data-fragment-index="'+t+'"]'),d(e).forEach(function(e){e.classList.remove("visible"),p("fragmenthidden",{fragment:e})}),O(),!0}}return!1}function K(){clearTimeout(Rt),!At||P()||k()||(Rt=setTimeout(J,At))}function $(){clearTimeout(Rt)}function V(){kt.rtl?(k()||j()===!1)&&z().left&&N(qt+1):(k()||_()===!1)&&z().left&&N(qt-1)}function Z(){kt.rtl?(k()||_()===!1)&&z().right&&N(qt-1):(k()||j()===!1)&&z().right&&N(qt+1)}function Q(){(k()||_()===!1)&&z().up&&N(qt,xt-1)}function B(){(k()||j()===!1)&&z().down&&N(qt,xt+1)}function G(){if(_()===!1)if(z().up)Q();else{var e=document.querySelector(Lt+".past:nth-child("+qt+")");e&&(xt=e.querySelectorAll("section").length+1||void 0,qt--,N(qt,xt))}}function J(){j()===!1&&(z().down?B():Z()),K()}function et(e){document.activeElement;var t=!(!document.activeElement||!document.activeElement.type&&!document.activeElement.href&&"inherit"===document.activeElement.contentEditable);if(!(t||e.shiftKey&&32!==e.keyCode||e.altKey||e.ctrlKey||e.metaKey)){var n=!0;if(P()&&-1===[66,190,191].indexOf(e.keyCode))return!1;switch(e.keyCode){case 80:case 33:G();break;case 78:case 34:J();break;case 72:case 37:V();break;case 76:case 39:Z();break;case 75:case 38:Q();break;case 74:case 40:B();break;case 36:N(0);break;case 35:N(Number.MAX_VALUE);break;case 32:k()?E():e.shiftKey?G():J();break;case 13:k()?E():n=!1;break;case 66:case 190:case 191:M();break;case 70:q();break;default:n=!1}n?e.preventDefault():27===e.keyCode&&Nt&&(S(),e.preventDefault()),K()}}function tt(e){Ht.startX=e.touches[0].clientX,Ht.startY=e.touches[0].clientY,Ht.startCount=e.touches.length,2===e.touches.length&&kt.overview&&(Ht.startSpan=u({x:e.touches[1].clientX,y:e.touches[1].clientY},{x:Ht.startX,y:Ht.startY}))}function nt(e){if(Ht.handled)navigator.userAgent.match(/android/gi)&&e.preventDefault();else{var t=e.touches[0].clientX,n=e.touches[0].clientY;if(2===e.touches.length&&2===Ht.startCount&&kt.overview){var r=u({x:e.touches[1].clientX,y:e.touches[1].clientY},{x:Ht.startX,y:Ht.startY});Math.abs(Ht.startSpan-r)>Ht.threshold&&(Ht.handled=!0,Ht.startSpan>r?L():E()),e.preventDefault()}else if(1===e.touches.length&&2!==Ht.startCount){var o=t-Ht.startX,a=n-Ht.startY;o>Ht.threshold&&Math.abs(o)>Math.abs(a)?(Ht.handled=!0,V()):-Ht.threshold>o&&Math.abs(o)>Math.abs(a)?(Ht.handled=!0,Z()):a>Ht.threshold?(Ht.handled=!0,Q()):-Ht.threshold>a&&(Ht.handled=!0,B()),e.preventDefault()}}}function rt(){Ht.handled=!1}function ot(e){e.pointerType===e.MSPOINTER_TYPE_TOUCH&&(e.touches=[{clientX:e.clientX,clientY:e.clientY}],tt(e))}function at(e){e.pointerType===e.MSPOINTER_TYPE_TOUCH&&(e.touches=[{clientX:e.clientX,clientY:e.clientY}],nt(e))}function st(e){e.pointerType===e.MSPOINTER_TYPE_TOUCH&&(e.touches=[{clientX:e.clientX,clientY:e.clientY}],rt(e))}function it(e){clearTimeout(Dt),Dt=setTimeout(function(){var t=e.detail||-e.wheelDelta;t>0?J():G()},100)}function ct(e){e.preventDefault();var t=d(document.querySelectorAll(Lt)).length,n=Math.floor(e.clientX/Pt.wrapper.offsetWidth*t);N(n)}function lt(e){e.preventDefault(),V()}function dt(e){e.preventDefault(),Z()}function ut(e){e.preventDefault(),Q()}function ft(e){e.preventDefault(),B()}function vt(e){e.preventDefault(),G()}function pt(e){e.preventDefault(),J()}function mt(){W()}function ht(){y()}function gt(e){if(Xt&&k()){e.preventDefault();for(var t=e.target;t&&!t.nodeName.match(/section/gi);)t=t.parentNode;if(t&&!t.classList.contains("disabled")&&(E(),t.nodeName.match(/section/gi))){var n=parseInt(t.getAttribute("data-index-h"),10),r=parseInt(t.getAttribute("data-index-v"),10);N(n,r)}}}var yt,bt,wt=".reveal .slides section",Lt=".reveal .slides>section",Et=".reveal .slides>section.present>section",St=".reveal .slides>section:first-child",kt={width:960,height:700,margin:.1,minScale:.2,maxScale:1,controls:!0,progress:!0,history:!1,keyboard:!0,overview:!0,center:!0,touch:!0,loop:!1,rtl:!1,fragments:!0,autoSlide:0,mouseWheel:!1,rollingLinks:!0,theme:null,transition:"default",transitionSpeed:"default",backgroundTransition:"default",dependencies:[]},At=0,qt=0,xt=0,Tt=[],Mt=1,Pt={},Nt="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,Ct="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,Dt=0,Rt=0,Ot=0,Yt=0,zt=0,Xt=!1,Ht={startX:0,startY:0,startSpan:0,startCount:0,handled:!1,threshold:80};return{initialize:e,configure:s,sync:C,slide:N,left:V,right:Z,up:Q,down:B,prev:G,next:J,prevFragment:_,nextFragment:j,navigateTo:N,navigateLeft:V,navigateRight:Z,navigateUp:Q,navigateDown:B,navigatePrev:G,navigateNext:J,layout:y,availableRoutes:z,availableFragments:X,toggleOverview:S,togglePause:M,isOverview:k,isPaused:P,addEventListeners:i,removeEventListeners:c,getIndices:F,getSlide:function(e,t){var n=document.querySelectorAll(Lt)[e],r=n&&n.querySelectorAll("section");return t!==void 0?r?r[t]:void 0:n},getPreviousSlide:function(){return yt},getCurrentSlide:function(){return bt},getScale:function(){return Mt},getConfig:function(){return kt},getQueryHash:function(){var e={};return location.search.replace(/[A-Z0-9]+?=(\w*)/gi,function(t){e[t.split("=").shift()]=t.split("=").pop()}),e},isFirstSlide:function(){return null==document.querySelector(wt+".past")?!0:!1},isLastSlide:function(){return bt&&bt.classList.contains(".stack")?null==bt.querySelector(wt+".future")?!0:!1:null==document.querySelector(wt+".future")?!0:!1},addEventListener:function(e,t,n){"addEventListener"in window&&(Pt.wrapper||document.querySelector(".reveal")).addEventListener(e,t,n)},removeEventListener:function(e,t,n){"addEventListener"in window&&(Pt.wrapper||document.querySelector(".reveal")).removeEventListener(e,t,n)}}}(); \ No newline at end of file +var Reveal=function(){"use strict";function e(e){return Ct||Nt?(window.addEventListener("load",y,!1),l(kt,e),r(),o(),void 0):(document.body.setAttribute("class","no-transforms"),void 0)}function t(){if(Pt.theme=document.querySelector("#theme"),Pt.wrapper=document.querySelector(".reveal"),Pt.slides=document.querySelector(".reveal .slides"),document.querySelector(".reveal .background")||(Pt.background=document.createElement("div"),Pt.background.classList.add("background"),Pt.wrapper.appendChild(Pt.background)),!Pt.wrapper.querySelector(".progress")){var e=document.createElement("div");e.classList.add("progress"),e.innerHTML="",Pt.wrapper.appendChild(e)}if(!Pt.wrapper.querySelector(".controls")){var t=document.createElement("aside");t.classList.add("controls"),t.innerHTML='',Pt.wrapper.appendChild(t)}if(!Pt.wrapper.querySelector(".state-background")){var n=document.createElement("div");n.classList.add("state-background"),Pt.wrapper.appendChild(n)}if(!Pt.wrapper.querySelector(".pause-overlay")){var r=document.createElement("div");r.classList.add("pause-overlay"),Pt.wrapper.appendChild(r)}Pt.progress=document.querySelector(".reveal .progress"),Pt.progressbar=document.querySelector(".reveal .progress span"),kt.controls&&(Pt.controls=document.querySelector(".reveal .controls"),Pt.controlsLeft=d(document.querySelectorAll(".navigate-left")),Pt.controlsRight=d(document.querySelectorAll(".navigate-right")),Pt.controlsUp=d(document.querySelectorAll(".navigate-up")),Pt.controlsDown=d(document.querySelectorAll(".navigate-down")),Pt.controlsPrev=d(document.querySelectorAll(".navigate-prev")),Pt.controlsNext=d(document.querySelectorAll(".navigate-next")))}function n(){function e(e,t){var n={background:e.getAttribute("data-background"),backgroundSize:e.getAttribute("data-background-size"),backgroundColor:e.getAttribute("data-background-color"),backgroundRepeat:e.getAttribute("data-background-repeat"),backgroundPosition:e.getAttribute("data-background-position")},r=document.createElement("div");return r.className="slide-background",n.background&&(/\.(png|jpg|jpeg|gif|bmp)$/gi.test(n.background)?r.style.backgroundImage="url("+n.background+")":r.style.background=n.background),n.backgroundSize&&(r.style.backgroundSize=n.backgroundSize),n.backgroundColor&&(r.style.backgroundColor=n.backgroundColor),n.backgroundRepeat&&(r.style.backgroundRepeat=n.backgroundRepeat),n.backgroundPosition&&(r.style.backgroundPosition=n.backgroundPosition),t.appendChild(r),r}f()&&document.body.classList.add("print-pdf"),Pt.background.innerHTML="",Pt.background.classList.add("no-transition"),d(document.querySelectorAll(Lt)).forEach(function(t){var n;n=f()?e(t,t):e(t,Pt.background),d(t.querySelectorAll("section")).forEach(function(t){f()?e(t,t):e(t,n)})})}function r(){/iphone|ipod|android/gi.test(navigator.userAgent)&&!/crios/gi.test(navigator.userAgent)&&(window.addEventListener("load",v,!1),window.addEventListener("orientationchange",v,!1))}function o(){function e(){n.length&&head.js.apply(null,n),a()}for(var t=[],n=[],r=0,o=kt.dependencies.length;o>r;r++){var s=kt.dependencies[r];(!s.condition||s.condition())&&(s.async?n.push(s.src):t.push(s.src),"function"==typeof s.callback&&head.ready(s.src.match(/([\w\d_\-]*)\.?js$|[^\\\/]*$/i)[0],s.callback))}t.length?(head.ready(e),head.js.apply(null,t)):e()}function a(){t(),s(),W(),setTimeout(function(){p("ready",{indexh:qt,indexv:xt,currentSlide:bt})},1)}function s(e){if(Pt.wrapper.classList.remove(kt.transition),"object"==typeof e&&l(kt,e),Nt===!1&&(kt.transition="linear"),Pt.wrapper.classList.add(kt.transition),Pt.wrapper.setAttribute("data-transition-speed",kt.transitionSpeed),Pt.wrapper.setAttribute("data-background-transition",kt.backgroundTransition),Pt.controls&&(Pt.controls.style.display=kt.controls&&Pt.controls?"block":"none"),Pt.progress&&(Pt.progress.style.display=kt.progress&&Pt.progress?"block":"none"),kt.rtl?Pt.wrapper.classList.add("rtl"):Pt.wrapper.classList.remove("rtl"),kt.center?Pt.wrapper.classList.add("center"):Pt.wrapper.classList.remove("center"),kt.mouseWheel?(document.addEventListener("DOMMouseScroll",it,!1),document.addEventListener("mousewheel",it,!1)):(document.removeEventListener("DOMMouseScroll",it,!1),document.removeEventListener("mousewheel",it,!1)),kt.rollingLinks?m():h(),kt.theme&&Pt.theme){var t=Pt.theme.getAttribute("href"),n=/[^\/]*?(?=\.css)/,r=t.match(n)[0];kt.theme!==r&&(t=t.replace(n,kt.theme),Pt.theme.setAttribute("href",t))}C()}function i(){Xt=!0,window.addEventListener("hashchange",mt,!1),window.addEventListener("resize",ht,!1),kt.touch&&(Pt.wrapper.addEventListener("touchstart",tt,!1),Pt.wrapper.addEventListener("touchmove",nt,!1),Pt.wrapper.addEventListener("touchend",rt,!1),window.navigator.msPointerEnabled&&(Pt.wrapper.addEventListener("MSPointerDown",ot,!1),Pt.wrapper.addEventListener("MSPointerMove",at,!1),Pt.wrapper.addEventListener("MSPointerUp",st,!1))),kt.keyboard&&document.addEventListener("keydown",et,!1),kt.progress&&Pt.progress&&Pt.progress.addEventListener("click",ct,!1),kt.controls&&Pt.controls&&["touchstart","click"].forEach(function(e){Pt.controlsLeft.forEach(function(t){t.addEventListener(e,lt,!1)}),Pt.controlsRight.forEach(function(t){t.addEventListener(e,dt,!1)}),Pt.controlsUp.forEach(function(t){t.addEventListener(e,ut,!1)}),Pt.controlsDown.forEach(function(t){t.addEventListener(e,ft,!1)}),Pt.controlsPrev.forEach(function(t){t.addEventListener(e,vt,!1)}),Pt.controlsNext.forEach(function(t){t.addEventListener(e,pt,!1)})})}function c(){Xt=!1,document.removeEventListener("keydown",et,!1),window.removeEventListener("hashchange",mt,!1),window.removeEventListener("resize",ht,!1),Pt.wrapper.removeEventListener("touchstart",tt,!1),Pt.wrapper.removeEventListener("touchmove",nt,!1),Pt.wrapper.removeEventListener("touchend",rt,!1),window.navigator.msPointerEnabled&&(Pt.wrapper.removeEventListener("MSPointerDown",ot,!1),Pt.wrapper.removeEventListener("MSPointerMove",at,!1),Pt.wrapper.removeEventListener("MSPointerUp",st,!1)),kt.progress&&Pt.progress&&Pt.progress.removeEventListener("click",ct,!1),kt.controls&&Pt.controls&&["touchstart","click"].forEach(function(e){Pt.controlsLeft.forEach(function(t){t.removeEventListener(e,lt,!1)}),Pt.controlsRight.forEach(function(t){t.removeEventListener(e,dt,!1)}),Pt.controlsUp.forEach(function(t){t.removeEventListener(e,ut,!1)}),Pt.controlsDown.forEach(function(t){t.removeEventListener(e,ft,!1)}),Pt.controlsPrev.forEach(function(t){t.removeEventListener(e,vt,!1)}),Pt.controlsNext.forEach(function(t){t.removeEventListener(e,pt,!1)})})}function l(e,t){for(var n in t)e[n]=t[n]}function d(e){return Array.prototype.slice.call(e)}function u(e,t){var n=e.x-t.x,r=e.y-t.y;return Math.sqrt(n*n+r*r)}function f(){return/print-pdf/gi.test(window.location.search)}function v(){0===window.orientation?(document.documentElement.style.overflow="scroll",document.body.style.height="120%"):(document.documentElement.style.overflow="",document.body.style.height="100%"),setTimeout(function(){window.scrollTo(0,1)},10)}function p(e,t){var n=document.createEvent("HTMLEvents",1,2);n.initEvent(e,!0,!0),l(n,t),Pt.wrapper.dispatchEvent(n)}function m(){if(Nt&&!("msPerspective"in document.body.style))for(var e=document.querySelectorAll(wt+" a:not(.image)"),t=0,n=e.length;n>t;t++){var r=e[t];if(!(!r.textContent||r.querySelector("*")||r.className&&r.classList.contains(r,"roll"))){var o=document.createElement("span");o.setAttribute("data-title",r.text),o.innerHTML=r.innerHTML,r.classList.add("roll"),r.innerHTML="",r.appendChild(o)}}}function h(){for(var e=document.querySelectorAll(wt+" a.roll"),t=0,n=e.length;n>t;t++){var r=e[t],o=r.querySelector("span");o&&(r.classList.remove("roll"),r.innerHTML=o.innerHTML)}}function g(e){var t=d(e);return t.forEach(function(e,t){e.hasAttribute("data-fragment-index")||e.setAttribute("data-fragment-index",t)}),t.sort(function(e,t){return e.getAttribute("data-fragment-index")-t.getAttribute("data-fragment-index")}),t}function y(){if(Pt.wrapper&&!f()){var e=Pt.wrapper.offsetWidth,t=Pt.wrapper.offsetHeight;e-=t*kt.margin,t-=t*kt.margin;var n=kt.width,r=kt.height;if("string"==typeof n&&/%$/.test(n)&&(n=parseInt(n,10)/100*e),"string"==typeof r&&/%$/.test(r)&&(r=parseInt(r,10)/100*t),Pt.slides.style.width=n+"px",Pt.slides.style.height=r+"px",Mt=Math.min(e/n,t/r),Mt=Math.max(Mt,kt.minScale),Mt=Math.min(Mt,kt.maxScale),void 0===Pt.slides.style.zoom||navigator.userAgent.match(/(iphone|ipod|ipad|android)/gi)){var o="translate(-50%, -50%) scale("+Mt+") translate(50%, 50%)";Pt.slides.style.WebkitTransform=o,Pt.slides.style.MozTransform=o,Pt.slides.style.msTransform=o,Pt.slides.style.OTransform=o,Pt.slides.style.transform=o}else Pt.slides.style.zoom=Mt;for(var a=d(document.querySelectorAll(wt)),s=0,i=a.length;i>s;s++){var c=a[s];"none"!==c.style.display&&(c.style.top=kt.center?c.classList.contains("stack")?0:Math.max(-(c.offsetHeight/2)-20,-r/2)+"px":"")}R()}}function b(e,t){"object"==typeof e&&"function"==typeof e.setAttribute&&e.setAttribute("data-previous-indexv",t||0)}function w(e){if("object"==typeof e&&"function"==typeof e.setAttribute&&e.classList.contains("stack")){var t=e.hasAttribute("data-start-indexv")?"data-start-indexv":"data-previous-indexv";return parseInt(e.getAttribute(t)||0,10)}return 0}function L(){if(kt.overview){$();var e=Pt.wrapper.classList.contains("overview");Pt.wrapper.classList.add("overview"),Pt.wrapper.classList.remove("exit-overview"),clearTimeout(Yt),clearTimeout(zt),Yt=setTimeout(function(){for(var t=document.querySelectorAll(Lt),n=0,r=t.length;r>n;n++){var o=t[n],a=kt.rtl?-105:105,s="translateZ(-2500px) translate("+(n-qt)*a+"%, 0%)";if(o.setAttribute("data-index-h",n),o.style.display="block",o.style.WebkitTransform=s,o.style.MozTransform=s,o.style.msTransform=s,o.style.OTransform=s,o.style.transform=s,o.classList.contains("stack"))for(var i=o.querySelectorAll("section"),c=0,l=i.length;l>c;c++){var d=n===qt?xt:w(o),u=i[c],f="translate(0%, "+105*(c-d)+"%)";u.setAttribute("data-index-h",n),u.setAttribute("data-index-v",c),u.style.display="block",u.style.WebkitTransform=f,u.style.MozTransform=f,u.style.msTransform=f,u.style.OTransform=f,u.style.transform=f,u.addEventListener("click",gt,!0)}else o.addEventListener("click",gt,!0)}y(),e||p("overviewshown",{indexh:qt,indexv:xt,currentSlide:bt})},10)}}function E(){if(kt.overview){clearTimeout(Yt),clearTimeout(zt),Pt.wrapper.classList.remove("overview"),Pt.wrapper.classList.add("exit-overview"),zt=setTimeout(function(){Pt.wrapper.classList.remove("exit-overview")},10);for(var e=d(document.querySelectorAll(wt)),t=0,n=e.length;n>t;t++){var r=e[t];r.style.display="",r.style.WebkitTransform="",r.style.MozTransform="",r.style.msTransform="",r.style.OTransform="",r.style.transform="",r.removeEventListener("click",gt,!0)}N(qt,xt),K(),p("overviewhidden",{indexh:qt,indexv:xt,currentSlide:bt})}}function S(e){"boolean"==typeof e?e?L():E():k()?E():L()}function k(){return Pt.wrapper.classList.contains("overview")}function A(e){return e=e?e:bt,e&&!!e.parentNode.nodeName.match(/section/i)}function q(){var e=document.body,t=e.requestFullScreen||e.webkitRequestFullscreen||e.webkitRequestFullScreen||e.mozRequestFullScreen||e.msRequestFullScreen;t&&t.apply(e)}function x(){var e=Pt.wrapper.classList.contains("paused");$(),Pt.wrapper.classList.add("paused"),e===!1&&p("paused")}function T(){var e=Pt.wrapper.classList.contains("paused");Pt.wrapper.classList.remove("paused"),K(),e&&p("resumed")}function M(){P()?T():x()}function P(){return Pt.wrapper.classList.contains("paused")}function N(e,t,n,r){yt=bt;var o=document.querySelectorAll(Lt);void 0===t&&(t=w(o[e])),yt&&yt.parentNode&&yt.parentNode.classList.contains("stack")&&b(yt.parentNode,xt);var a=Tt.concat();Tt.length=0;var s=qt,i=xt;qt=D(Lt,void 0===e?qt:e),xt=D(Et,void 0===t?xt:t),y();e:for(var c=0,l=Tt.length;l>c;c++){for(var u=0;a.length>u;u++)if(a[u]===Tt[c]){a.splice(u,1);continue e}document.documentElement.classList.add(Tt[c]),p(Tt[c])}for(;a.length;)document.documentElement.classList.remove(a.pop());k()&&L(),U(1500);var f=o[qt],v=f.querySelectorAll("section");if(bt=v[xt]||f,n!==void 0){var m=g(bt.querySelectorAll(".fragment"));d(m).forEach(function(e,t){n>t?e.classList.add("visible"):e.classList.remove("visible")})}var h=qt!==s||xt!==i;h?p("slidechanged",{indexh:qt,indexv:xt,previousSlide:yt,currentSlide:bt,origin:r}):yt=null,yt&&(yt.classList.remove("present"),document.querySelector(St).classList.contains("present")&&setTimeout(function(){var e,t=d(document.querySelectorAll(Lt+".stack"));for(e in t)t[e]&&b(t[e],0)},0)),h&&(I(yt),H(bt)),O(),R(),Y()}function C(){c(),i(),y(),At=kt.autoSlide,K(),n(),O(),R(),Y()}function D(e,t){var n=d(document.querySelectorAll(e)),r=n.length;if(r){kt.loop&&(t%=r,0>t&&(t=r+t)),t=Math.max(Math.min(t,r-1),0);for(var o=0;r>o;o++){var a=n[o];if(k()===!1){var s=Math.abs((t-o)%(r-3))||0;a.style.display=s>3?"none":"block"}var i=kt.rtl&&!A(a);a.classList.remove("past"),a.classList.remove("present"),a.classList.remove("future"),t>o?a.classList.add(i?"future":"past"):o>t&&a.classList.add(i?"past":"future"),a.querySelector("section")&&a.classList.add("stack")}n[t].classList.add("present");var c=n[t].getAttribute("data-state");c&&(Tt=Tt.concat(c.split(" ")));var l=n[t].getAttribute("data-autoslide");At=l?parseInt(l,10):kt.autoSlide}else t=0;return t}function R(){if(kt.progress&&Pt.progress){var e=d(document.querySelectorAll(Lt)),t=document.querySelectorAll(wt+":not(.stack)").length,n=0;e:for(var r=0;e.length>r;r++){for(var o=e[r],a=d(o.querySelectorAll("section")),s=0;a.length>s;s++){if(a[s].classList.contains("present"))break e;n++}if(o.classList.contains("present"))break;o.classList.contains("stack")===!1&&n++}Pt.progressbar.style.width=n/(t-1)*window.innerWidth+"px"}}function O(){if(kt.controls&&Pt.controls){var e=z(),t=X();Pt.controlsLeft.concat(Pt.controlsRight).concat(Pt.controlsUp).concat(Pt.controlsDown).concat(Pt.controlsPrev).concat(Pt.controlsNext).forEach(function(e){e.classList.remove("enabled"),e.classList.remove("fragmented")}),e.left&&Pt.controlsLeft.forEach(function(e){e.classList.add("enabled")}),e.right&&Pt.controlsRight.forEach(function(e){e.classList.add("enabled")}),e.up&&Pt.controlsUp.forEach(function(e){e.classList.add("enabled")}),e.down&&Pt.controlsDown.forEach(function(e){e.classList.add("enabled")}),(e.left||e.up)&&Pt.controlsPrev.forEach(function(e){e.classList.add("enabled")}),(e.right||e.down)&&Pt.controlsNext.forEach(function(e){e.classList.add("enabled")}),bt&&(t.prev&&Pt.controlsPrev.forEach(function(e){e.classList.add("fragmented","enabled")}),t.next&&Pt.controlsNext.forEach(function(e){e.classList.add("fragmented","enabled")}),A(bt)?(t.prev&&Pt.controlsUp.forEach(function(e){e.classList.add("fragmented","enabled")}),t.next&&Pt.controlsDown.forEach(function(e){e.classList.add("fragmented","enabled")})):(t.prev&&Pt.controlsLeft.forEach(function(e){e.classList.add("fragmented","enabled")}),t.next&&Pt.controlsRight.forEach(function(e){e.classList.add("fragmented","enabled")})))}}function Y(){d(Pt.background.childNodes).forEach(function(e,t){e.className="slide-background "+(qt>t?"past":t>qt?"future":"present"),d(e.childNodes).forEach(function(e,t){e.className="slide-background "+(xt>t?"past":t>xt?"future":"present")})}),setTimeout(function(){Pt.background.classList.remove("no-transition")},1)}function z(){var e=document.querySelectorAll(Lt),t=document.querySelectorAll(Et),n={left:qt>0||kt.loop,right:e.length-1>qt||kt.loop,up:xt>0,down:t.length-1>xt};if(kt.rtl){var r=n.left;n.left=n.right,n.right=r}return n}function X(){if(bt&&kt.fragments){var e=bt.querySelectorAll(".fragment"),t=bt.querySelectorAll(".fragment:not(.visible)");return{prev:e.length-t.length>0,next:!!t.length}}return{prev:!1,next:!1}}function H(e){e&&(d(e.querySelectorAll("video, audio")).forEach(function(e){e.hasAttribute("data-autoplay")&&e.play()}),d(e.querySelectorAll('iframe[src*="youtube.com/embed/"]')).forEach(function(e){e.hasAttribute("data-autoplay")&&e.contentWindow.postMessage('{"event":"command","func":"playVideo","args":""}',"*")}))}function I(e){e&&(d(e.querySelectorAll("video, audio")).forEach(function(e){e.hasAttribute("data-ignore")||e.pause()}),d(e.querySelectorAll('iframe[src*="youtube.com/embed/"]')).forEach(function(e){e.hasAttribute("data-ignore")||"function"!=typeof e.contentWindow.postMessage||e.contentWindow.postMessage('{"event":"command","func":"pauseVideo","args":""}',"*")}))}function W(){var e=window.location.hash,t=e.slice(2).split("/"),n=e.replace(/#|\//gi,"");if(isNaN(parseInt(t[0],10))&&n.length){var r=document.querySelector("#"+n);if(r){var o=Reveal.getIndices(r);N(o.h,o.v)}else N(qt,xt)}else{var a=parseInt(t[0],10)||0,s=parseInt(t[1],10)||0;N(a,s)}}function U(e){if(kt.history)if(clearTimeout(Ot),"number"==typeof e)Ot=setTimeout(U,e);else{var t="/";bt&&"string"==typeof bt.getAttribute("id")?t="/"+bt.getAttribute("id"):((qt>0||xt>0)&&(t+=qt),xt>0&&(t+="/"+xt)),window.location.hash=t}}function F(e){var t,n=qt,r=xt;if(e){var o=A(e),a=o?e.parentNode:e,s=d(document.querySelectorAll(Lt));n=Math.max(s.indexOf(a),0),o&&(r=Math.max(d(e.parentNode.querySelectorAll("section")).indexOf(e),0))}if(!e&&bt){var i=bt.querySelectorAll(".fragment.visible");i.length&&(t=i.length)}return{h:n,v:r,f:t}}function j(){if(bt&&kt.fragments){var e=g(bt.querySelectorAll(".fragment:not(.visible)"));if(e.length){var t=e[0].getAttribute("data-fragment-index");return e=bt.querySelectorAll('.fragment[data-fragment-index="'+t+'"]'),d(e).forEach(function(e){e.classList.add("visible"),p("fragmentshown",{fragment:e})}),O(),!0}}return!1}function _(){if(bt&&kt.fragments){var e=g(bt.querySelectorAll(".fragment.visible"));if(e.length){var t=e[e.length-1].getAttribute("data-fragment-index");return e=bt.querySelectorAll('.fragment[data-fragment-index="'+t+'"]'),d(e).forEach(function(e){e.classList.remove("visible"),p("fragmenthidden",{fragment:e})}),O(),!0}}return!1}function K(){clearTimeout(Rt),!At||P()||k()||(Rt=setTimeout(J,At))}function $(){clearTimeout(Rt)}function V(){kt.rtl?(k()||j()===!1)&&z().left&&N(qt+1):(k()||_()===!1)&&z().left&&N(qt-1)}function Z(){kt.rtl?(k()||_()===!1)&&z().right&&N(qt-1):(k()||j()===!1)&&z().right&&N(qt+1)}function Q(){(k()||_()===!1)&&z().up&&N(qt,xt-1)}function B(){(k()||j()===!1)&&z().down&&N(qt,xt+1)}function G(){if(_()===!1)if(z().up)Q();else{var e=document.querySelector(Lt+".past:nth-child("+qt+")");e&&(xt=e.querySelectorAll("section").length+1||void 0,qt--,N(qt,xt))}}function J(){j()===!1&&(z().down?B():Z()),K()}function et(e){document.activeElement;var t=!(!document.activeElement||!document.activeElement.type&&!document.activeElement.href&&"inherit"===document.activeElement.contentEditable);if(!(t||e.shiftKey&&32!==e.keyCode||e.altKey||e.ctrlKey||e.metaKey)){var n=!0;if(P()&&-1===[66,190,191].indexOf(e.keyCode))return!1;switch(e.keyCode){case 80:case 33:G();break;case 78:case 34:J();break;case 72:case 37:V();break;case 76:case 39:Z();break;case 75:case 38:Q();break;case 74:case 40:B();break;case 36:N(0);break;case 35:N(Number.MAX_VALUE);break;case 32:k()?E():e.shiftKey?G():J();break;case 13:k()?E():n=!1;break;case 66:case 190:case 191:M();break;case 70:q();break;default:n=!1}n?e.preventDefault():27===e.keyCode&&Nt&&(S(),e.preventDefault()),K()}}function tt(e){Ht.startX=e.touches[0].clientX,Ht.startY=e.touches[0].clientY,Ht.startCount=e.touches.length,2===e.touches.length&&kt.overview&&(Ht.startSpan=u({x:e.touches[1].clientX,y:e.touches[1].clientY},{x:Ht.startX,y:Ht.startY}))}function nt(e){if(Ht.handled)navigator.userAgent.match(/android/gi)&&e.preventDefault();else{var t=e.touches[0].clientX,n=e.touches[0].clientY;if(2===e.touches.length&&2===Ht.startCount&&kt.overview){var r=u({x:e.touches[1].clientX,y:e.touches[1].clientY},{x:Ht.startX,y:Ht.startY});Math.abs(Ht.startSpan-r)>Ht.threshold&&(Ht.handled=!0,Ht.startSpan>r?L():E()),e.preventDefault()}else if(1===e.touches.length&&2!==Ht.startCount){var o=t-Ht.startX,a=n-Ht.startY;o>Ht.threshold&&Math.abs(o)>Math.abs(a)?(Ht.handled=!0,V()):-Ht.threshold>o&&Math.abs(o)>Math.abs(a)?(Ht.handled=!0,Z()):a>Ht.threshold?(Ht.handled=!0,Q()):-Ht.threshold>a&&(Ht.handled=!0,B()),e.preventDefault()}}}function rt(){Ht.handled=!1}function ot(e){e.pointerType===e.MSPOINTER_TYPE_TOUCH&&(e.touches=[{clientX:e.clientX,clientY:e.clientY}],tt(e))}function at(e){e.pointerType===e.MSPOINTER_TYPE_TOUCH&&(e.touches=[{clientX:e.clientX,clientY:e.clientY}],nt(e))}function st(e){e.pointerType===e.MSPOINTER_TYPE_TOUCH&&(e.touches=[{clientX:e.clientX,clientY:e.clientY}],rt(e))}function it(e){clearTimeout(Dt),Dt=setTimeout(function(){var t=e.detail||-e.wheelDelta;t>0?J():G()},100)}function ct(e){e.preventDefault();var t=d(document.querySelectorAll(Lt)).length,n=Math.floor(e.clientX/Pt.wrapper.offsetWidth*t);N(n)}function lt(e){e.preventDefault(),V()}function dt(e){e.preventDefault(),Z()}function ut(e){e.preventDefault(),Q()}function ft(e){e.preventDefault(),B()}function vt(e){e.preventDefault(),G()}function pt(e){e.preventDefault(),J()}function mt(){W()}function ht(){y()}function gt(e){if(Xt&&k()){e.preventDefault();for(var t=e.target;t&&!t.nodeName.match(/section/gi);)t=t.parentNode;if(t&&!t.classList.contains("disabled")&&(E(),t.nodeName.match(/section/gi))){var n=parseInt(t.getAttribute("data-index-h"),10),r=parseInt(t.getAttribute("data-index-v"),10);N(n,r)}}}var yt,bt,wt=".reveal .slides section",Lt=".reveal .slides>section",Et=".reveal .slides>section.present>section",St=".reveal .slides>section:first-child",kt={width:960,height:700,margin:.1,minScale:.2,maxScale:1,controls:!0,progress:!0,history:!1,keyboard:!0,overview:!0,center:!0,touch:!0,loop:!1,rtl:!1,fragments:!0,autoSlide:0,mouseWheel:!1,rollingLinks:!0,theme:null,transition:"default",transitionSpeed:"default",backgroundTransition:"default",dependencies:[]},At=0,qt=0,xt=0,Tt=[],Mt=1,Pt={},Nt="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,Ct="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,Dt=0,Rt=0,Ot=0,Yt=0,zt=0,Xt=!1,Ht={startX:0,startY:0,startSpan:0,startCount:0,handled:!1,threshold:80};return{initialize:e,configure:s,sync:C,slide:N,left:V,right:Z,up:Q,down:B,prev:G,next:J,prevFragment:_,nextFragment:j,navigateTo:N,navigateLeft:V,navigateRight:Z,navigateUp:Q,navigateDown:B,navigatePrev:G,navigateNext:J,layout:y,availableRoutes:z,availableFragments:X,toggleOverview:S,togglePause:M,isOverview:k,isPaused:P,addEventListeners:i,removeEventListeners:c,getIndices:F,getSlide:function(e,t){var n=document.querySelectorAll(Lt)[e],r=n&&n.querySelectorAll("section");return t!==void 0?r?r[t]:void 0:n},getPreviousSlide:function(){return yt},getCurrentSlide:function(){return bt},getScale:function(){return Mt},getConfig:function(){return kt},getQueryHash:function(){var e={};return location.search.replace(/[A-Z0-9]+?=(\w*)/gi,function(t){e[t.split("=").shift()]=t.split("=").pop()}),e},isFirstSlide:function(){return null==document.querySelector(wt+".past")?!0:!1},isLastSlide:function(){return bt&&bt.classList.contains(".stack")?null==bt.querySelector(wt+".future")?!0:!1:null==document.querySelector(wt+".future")?!0:!1},addEventListener:function(e,t,n){"addEventListener"in window&&(Pt.wrapper||document.querySelector(".reveal")).addEventListener(e,t,n)},removeEventListener:function(e,t,n){"addEventListener"in window&&(Pt.wrapper||document.querySelector(".reveal")).removeEventListener(e,t,n)}}}(); \ No newline at end of file From 8393efe8e908dcf2fbcfc8217f54f6639e157dd5 Mon Sep 17 00:00:00 2001 From: Hakim El Hattab Date: Sun, 9 Jun 2013 17:07:14 +0200 Subject: [PATCH 16/23] serve notes/multiple index document as html (closes #470) --- plugin/multiplex/index.js | 1 + plugin/notes-server/index.js | 1 + 2 files changed, 2 insertions(+) diff --git a/plugin/multiplex/index.js b/plugin/multiplex/index.js index 35df8e3..a278026 100644 --- a/plugin/multiplex/index.js +++ b/plugin/multiplex/index.js @@ -30,6 +30,7 @@ app.configure(function() { }); app.get("/", function(req, res) { + res.writeHead(200, {'Content-Type': 'text/html'}) fs.createReadStream(opts.baseDir + '/index.html').pipe(res); }); diff --git a/plugin/notes-server/index.js b/plugin/notes-server/index.js index 8643f5d..8acac52 100644 --- a/plugin/notes-server/index.js +++ b/plugin/notes-server/index.js @@ -30,6 +30,7 @@ app.configure(function() { }); app.get("/", function(req, res) { + res.writeHead(200, {'Content-Type': 'text/html'}) fs.createReadStream(opts.baseDir + '/index.html').pipe(res); }); From 1c16148c09e96742bd4cb728589654ed43103867 Mon Sep 17 00:00:00 2001 From: Hakim El Hattab Date: Sun, 9 Jun 2013 17:15:40 +0200 Subject: [PATCH 17/23] set 'hidden' attribute on all slides except the present (#457) --- js/reveal.js | 4 ++++ js/reveal.min.js | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/js/reveal.js b/js/reveal.js index f1ede50..7f0223f 100644 --- a/js/reveal.js +++ b/js/reveal.js @@ -1362,6 +1362,9 @@ var Reveal = (function(){ element.classList.remove( 'present' ); element.classList.remove( 'future' ); + // http://www.w3.org/html/wg/drafts/html/master/editing.html#the-hidden-attribute + element.setAttribute( 'hidden', '' ); + if( i < index ) { // Any element previous to index is given the 'past' class element.classList.add( reverse ? 'future' : 'past' ); @@ -1379,6 +1382,7 @@ var Reveal = (function(){ // Mark the current slide as present slides[index].classList.add( 'present' ); + slides[index].removeAttribute( 'hidden' ); // If this slide has a state associated with it, add it // onto the current state of the deck diff --git a/js/reveal.min.js b/js/reveal.min.js index 8e3dc06..ebfd27e 100644 --- a/js/reveal.min.js +++ b/js/reveal.min.js @@ -1,8 +1,8 @@ /*! - * reveal.js 2.5.0 (2013-06-09, 16:46) + * reveal.js 2.5.0 (2013-06-09, 17:14) * http://lab.hakim.se/reveal-js * MIT licensed * * Copyright (C) 2013 Hakim El Hattab, http://hakim.se */ -var Reveal=function(){"use strict";function e(e){return Ct||Nt?(window.addEventListener("load",y,!1),l(kt,e),r(),o(),void 0):(document.body.setAttribute("class","no-transforms"),void 0)}function t(){if(Pt.theme=document.querySelector("#theme"),Pt.wrapper=document.querySelector(".reveal"),Pt.slides=document.querySelector(".reveal .slides"),document.querySelector(".reveal .background")||(Pt.background=document.createElement("div"),Pt.background.classList.add("background"),Pt.wrapper.appendChild(Pt.background)),!Pt.wrapper.querySelector(".progress")){var e=document.createElement("div");e.classList.add("progress"),e.innerHTML="",Pt.wrapper.appendChild(e)}if(!Pt.wrapper.querySelector(".controls")){var t=document.createElement("aside");t.classList.add("controls"),t.innerHTML='',Pt.wrapper.appendChild(t)}if(!Pt.wrapper.querySelector(".state-background")){var n=document.createElement("div");n.classList.add("state-background"),Pt.wrapper.appendChild(n)}if(!Pt.wrapper.querySelector(".pause-overlay")){var r=document.createElement("div");r.classList.add("pause-overlay"),Pt.wrapper.appendChild(r)}Pt.progress=document.querySelector(".reveal .progress"),Pt.progressbar=document.querySelector(".reveal .progress span"),kt.controls&&(Pt.controls=document.querySelector(".reveal .controls"),Pt.controlsLeft=d(document.querySelectorAll(".navigate-left")),Pt.controlsRight=d(document.querySelectorAll(".navigate-right")),Pt.controlsUp=d(document.querySelectorAll(".navigate-up")),Pt.controlsDown=d(document.querySelectorAll(".navigate-down")),Pt.controlsPrev=d(document.querySelectorAll(".navigate-prev")),Pt.controlsNext=d(document.querySelectorAll(".navigate-next")))}function n(){function e(e,t){var n={background:e.getAttribute("data-background"),backgroundSize:e.getAttribute("data-background-size"),backgroundColor:e.getAttribute("data-background-color"),backgroundRepeat:e.getAttribute("data-background-repeat"),backgroundPosition:e.getAttribute("data-background-position")},r=document.createElement("div");return r.className="slide-background",n.background&&(/\.(png|jpg|jpeg|gif|bmp)$/gi.test(n.background)?r.style.backgroundImage="url("+n.background+")":r.style.background=n.background),n.backgroundSize&&(r.style.backgroundSize=n.backgroundSize),n.backgroundColor&&(r.style.backgroundColor=n.backgroundColor),n.backgroundRepeat&&(r.style.backgroundRepeat=n.backgroundRepeat),n.backgroundPosition&&(r.style.backgroundPosition=n.backgroundPosition),t.appendChild(r),r}f()&&document.body.classList.add("print-pdf"),Pt.background.innerHTML="",Pt.background.classList.add("no-transition"),d(document.querySelectorAll(Lt)).forEach(function(t){var n;n=f()?e(t,t):e(t,Pt.background),d(t.querySelectorAll("section")).forEach(function(t){f()?e(t,t):e(t,n)})})}function r(){/iphone|ipod|android/gi.test(navigator.userAgent)&&!/crios/gi.test(navigator.userAgent)&&(window.addEventListener("load",v,!1),window.addEventListener("orientationchange",v,!1))}function o(){function e(){n.length&&head.js.apply(null,n),a()}for(var t=[],n=[],r=0,o=kt.dependencies.length;o>r;r++){var s=kt.dependencies[r];(!s.condition||s.condition())&&(s.async?n.push(s.src):t.push(s.src),"function"==typeof s.callback&&head.ready(s.src.match(/([\w\d_\-]*)\.?js$|[^\\\/]*$/i)[0],s.callback))}t.length?(head.ready(e),head.js.apply(null,t)):e()}function a(){t(),s(),W(),setTimeout(function(){p("ready",{indexh:qt,indexv:xt,currentSlide:bt})},1)}function s(e){if(Pt.wrapper.classList.remove(kt.transition),"object"==typeof e&&l(kt,e),Nt===!1&&(kt.transition="linear"),Pt.wrapper.classList.add(kt.transition),Pt.wrapper.setAttribute("data-transition-speed",kt.transitionSpeed),Pt.wrapper.setAttribute("data-background-transition",kt.backgroundTransition),Pt.controls&&(Pt.controls.style.display=kt.controls&&Pt.controls?"block":"none"),Pt.progress&&(Pt.progress.style.display=kt.progress&&Pt.progress?"block":"none"),kt.rtl?Pt.wrapper.classList.add("rtl"):Pt.wrapper.classList.remove("rtl"),kt.center?Pt.wrapper.classList.add("center"):Pt.wrapper.classList.remove("center"),kt.mouseWheel?(document.addEventListener("DOMMouseScroll",it,!1),document.addEventListener("mousewheel",it,!1)):(document.removeEventListener("DOMMouseScroll",it,!1),document.removeEventListener("mousewheel",it,!1)),kt.rollingLinks?m():h(),kt.theme&&Pt.theme){var t=Pt.theme.getAttribute("href"),n=/[^\/]*?(?=\.css)/,r=t.match(n)[0];kt.theme!==r&&(t=t.replace(n,kt.theme),Pt.theme.setAttribute("href",t))}C()}function i(){Xt=!0,window.addEventListener("hashchange",mt,!1),window.addEventListener("resize",ht,!1),kt.touch&&(Pt.wrapper.addEventListener("touchstart",tt,!1),Pt.wrapper.addEventListener("touchmove",nt,!1),Pt.wrapper.addEventListener("touchend",rt,!1),window.navigator.msPointerEnabled&&(Pt.wrapper.addEventListener("MSPointerDown",ot,!1),Pt.wrapper.addEventListener("MSPointerMove",at,!1),Pt.wrapper.addEventListener("MSPointerUp",st,!1))),kt.keyboard&&document.addEventListener("keydown",et,!1),kt.progress&&Pt.progress&&Pt.progress.addEventListener("click",ct,!1),kt.controls&&Pt.controls&&["touchstart","click"].forEach(function(e){Pt.controlsLeft.forEach(function(t){t.addEventListener(e,lt,!1)}),Pt.controlsRight.forEach(function(t){t.addEventListener(e,dt,!1)}),Pt.controlsUp.forEach(function(t){t.addEventListener(e,ut,!1)}),Pt.controlsDown.forEach(function(t){t.addEventListener(e,ft,!1)}),Pt.controlsPrev.forEach(function(t){t.addEventListener(e,vt,!1)}),Pt.controlsNext.forEach(function(t){t.addEventListener(e,pt,!1)})})}function c(){Xt=!1,document.removeEventListener("keydown",et,!1),window.removeEventListener("hashchange",mt,!1),window.removeEventListener("resize",ht,!1),Pt.wrapper.removeEventListener("touchstart",tt,!1),Pt.wrapper.removeEventListener("touchmove",nt,!1),Pt.wrapper.removeEventListener("touchend",rt,!1),window.navigator.msPointerEnabled&&(Pt.wrapper.removeEventListener("MSPointerDown",ot,!1),Pt.wrapper.removeEventListener("MSPointerMove",at,!1),Pt.wrapper.removeEventListener("MSPointerUp",st,!1)),kt.progress&&Pt.progress&&Pt.progress.removeEventListener("click",ct,!1),kt.controls&&Pt.controls&&["touchstart","click"].forEach(function(e){Pt.controlsLeft.forEach(function(t){t.removeEventListener(e,lt,!1)}),Pt.controlsRight.forEach(function(t){t.removeEventListener(e,dt,!1)}),Pt.controlsUp.forEach(function(t){t.removeEventListener(e,ut,!1)}),Pt.controlsDown.forEach(function(t){t.removeEventListener(e,ft,!1)}),Pt.controlsPrev.forEach(function(t){t.removeEventListener(e,vt,!1)}),Pt.controlsNext.forEach(function(t){t.removeEventListener(e,pt,!1)})})}function l(e,t){for(var n in t)e[n]=t[n]}function d(e){return Array.prototype.slice.call(e)}function u(e,t){var n=e.x-t.x,r=e.y-t.y;return Math.sqrt(n*n+r*r)}function f(){return/print-pdf/gi.test(window.location.search)}function v(){0===window.orientation?(document.documentElement.style.overflow="scroll",document.body.style.height="120%"):(document.documentElement.style.overflow="",document.body.style.height="100%"),setTimeout(function(){window.scrollTo(0,1)},10)}function p(e,t){var n=document.createEvent("HTMLEvents",1,2);n.initEvent(e,!0,!0),l(n,t),Pt.wrapper.dispatchEvent(n)}function m(){if(Nt&&!("msPerspective"in document.body.style))for(var e=document.querySelectorAll(wt+" a:not(.image)"),t=0,n=e.length;n>t;t++){var r=e[t];if(!(!r.textContent||r.querySelector("*")||r.className&&r.classList.contains(r,"roll"))){var o=document.createElement("span");o.setAttribute("data-title",r.text),o.innerHTML=r.innerHTML,r.classList.add("roll"),r.innerHTML="",r.appendChild(o)}}}function h(){for(var e=document.querySelectorAll(wt+" a.roll"),t=0,n=e.length;n>t;t++){var r=e[t],o=r.querySelector("span");o&&(r.classList.remove("roll"),r.innerHTML=o.innerHTML)}}function g(e){var t=d(e);return t.forEach(function(e,t){e.hasAttribute("data-fragment-index")||e.setAttribute("data-fragment-index",t)}),t.sort(function(e,t){return e.getAttribute("data-fragment-index")-t.getAttribute("data-fragment-index")}),t}function y(){if(Pt.wrapper&&!f()){var e=Pt.wrapper.offsetWidth,t=Pt.wrapper.offsetHeight;e-=t*kt.margin,t-=t*kt.margin;var n=kt.width,r=kt.height;if("string"==typeof n&&/%$/.test(n)&&(n=parseInt(n,10)/100*e),"string"==typeof r&&/%$/.test(r)&&(r=parseInt(r,10)/100*t),Pt.slides.style.width=n+"px",Pt.slides.style.height=r+"px",Mt=Math.min(e/n,t/r),Mt=Math.max(Mt,kt.minScale),Mt=Math.min(Mt,kt.maxScale),void 0===Pt.slides.style.zoom||navigator.userAgent.match(/(iphone|ipod|ipad|android)/gi)){var o="translate(-50%, -50%) scale("+Mt+") translate(50%, 50%)";Pt.slides.style.WebkitTransform=o,Pt.slides.style.MozTransform=o,Pt.slides.style.msTransform=o,Pt.slides.style.OTransform=o,Pt.slides.style.transform=o}else Pt.slides.style.zoom=Mt;for(var a=d(document.querySelectorAll(wt)),s=0,i=a.length;i>s;s++){var c=a[s];"none"!==c.style.display&&(c.style.top=kt.center?c.classList.contains("stack")?0:Math.max(-(c.offsetHeight/2)-20,-r/2)+"px":"")}R()}}function b(e,t){"object"==typeof e&&"function"==typeof e.setAttribute&&e.setAttribute("data-previous-indexv",t||0)}function w(e){if("object"==typeof e&&"function"==typeof e.setAttribute&&e.classList.contains("stack")){var t=e.hasAttribute("data-start-indexv")?"data-start-indexv":"data-previous-indexv";return parseInt(e.getAttribute(t)||0,10)}return 0}function L(){if(kt.overview){$();var e=Pt.wrapper.classList.contains("overview");Pt.wrapper.classList.add("overview"),Pt.wrapper.classList.remove("exit-overview"),clearTimeout(Yt),clearTimeout(zt),Yt=setTimeout(function(){for(var t=document.querySelectorAll(Lt),n=0,r=t.length;r>n;n++){var o=t[n],a=kt.rtl?-105:105,s="translateZ(-2500px) translate("+(n-qt)*a+"%, 0%)";if(o.setAttribute("data-index-h",n),o.style.display="block",o.style.WebkitTransform=s,o.style.MozTransform=s,o.style.msTransform=s,o.style.OTransform=s,o.style.transform=s,o.classList.contains("stack"))for(var i=o.querySelectorAll("section"),c=0,l=i.length;l>c;c++){var d=n===qt?xt:w(o),u=i[c],f="translate(0%, "+105*(c-d)+"%)";u.setAttribute("data-index-h",n),u.setAttribute("data-index-v",c),u.style.display="block",u.style.WebkitTransform=f,u.style.MozTransform=f,u.style.msTransform=f,u.style.OTransform=f,u.style.transform=f,u.addEventListener("click",gt,!0)}else o.addEventListener("click",gt,!0)}y(),e||p("overviewshown",{indexh:qt,indexv:xt,currentSlide:bt})},10)}}function E(){if(kt.overview){clearTimeout(Yt),clearTimeout(zt),Pt.wrapper.classList.remove("overview"),Pt.wrapper.classList.add("exit-overview"),zt=setTimeout(function(){Pt.wrapper.classList.remove("exit-overview")},10);for(var e=d(document.querySelectorAll(wt)),t=0,n=e.length;n>t;t++){var r=e[t];r.style.display="",r.style.WebkitTransform="",r.style.MozTransform="",r.style.msTransform="",r.style.OTransform="",r.style.transform="",r.removeEventListener("click",gt,!0)}N(qt,xt),K(),p("overviewhidden",{indexh:qt,indexv:xt,currentSlide:bt})}}function S(e){"boolean"==typeof e?e?L():E():k()?E():L()}function k(){return Pt.wrapper.classList.contains("overview")}function A(e){return e=e?e:bt,e&&!!e.parentNode.nodeName.match(/section/i)}function q(){var e=document.body,t=e.requestFullScreen||e.webkitRequestFullscreen||e.webkitRequestFullScreen||e.mozRequestFullScreen||e.msRequestFullScreen;t&&t.apply(e)}function x(){var e=Pt.wrapper.classList.contains("paused");$(),Pt.wrapper.classList.add("paused"),e===!1&&p("paused")}function T(){var e=Pt.wrapper.classList.contains("paused");Pt.wrapper.classList.remove("paused"),K(),e&&p("resumed")}function M(){P()?T():x()}function P(){return Pt.wrapper.classList.contains("paused")}function N(e,t,n,r){yt=bt;var o=document.querySelectorAll(Lt);void 0===t&&(t=w(o[e])),yt&&yt.parentNode&&yt.parentNode.classList.contains("stack")&&b(yt.parentNode,xt);var a=Tt.concat();Tt.length=0;var s=qt,i=xt;qt=D(Lt,void 0===e?qt:e),xt=D(Et,void 0===t?xt:t),y();e:for(var c=0,l=Tt.length;l>c;c++){for(var u=0;a.length>u;u++)if(a[u]===Tt[c]){a.splice(u,1);continue e}document.documentElement.classList.add(Tt[c]),p(Tt[c])}for(;a.length;)document.documentElement.classList.remove(a.pop());k()&&L(),U(1500);var f=o[qt],v=f.querySelectorAll("section");if(bt=v[xt]||f,n!==void 0){var m=g(bt.querySelectorAll(".fragment"));d(m).forEach(function(e,t){n>t?e.classList.add("visible"):e.classList.remove("visible")})}var h=qt!==s||xt!==i;h?p("slidechanged",{indexh:qt,indexv:xt,previousSlide:yt,currentSlide:bt,origin:r}):yt=null,yt&&(yt.classList.remove("present"),document.querySelector(St).classList.contains("present")&&setTimeout(function(){var e,t=d(document.querySelectorAll(Lt+".stack"));for(e in t)t[e]&&b(t[e],0)},0)),h&&(I(yt),H(bt)),O(),R(),Y()}function C(){c(),i(),y(),At=kt.autoSlide,K(),n(),O(),R(),Y()}function D(e,t){var n=d(document.querySelectorAll(e)),r=n.length;if(r){kt.loop&&(t%=r,0>t&&(t=r+t)),t=Math.max(Math.min(t,r-1),0);for(var o=0;r>o;o++){var a=n[o];if(k()===!1){var s=Math.abs((t-o)%(r-3))||0;a.style.display=s>3?"none":"block"}var i=kt.rtl&&!A(a);a.classList.remove("past"),a.classList.remove("present"),a.classList.remove("future"),t>o?a.classList.add(i?"future":"past"):o>t&&a.classList.add(i?"past":"future"),a.querySelector("section")&&a.classList.add("stack")}n[t].classList.add("present");var c=n[t].getAttribute("data-state");c&&(Tt=Tt.concat(c.split(" ")));var l=n[t].getAttribute("data-autoslide");At=l?parseInt(l,10):kt.autoSlide}else t=0;return t}function R(){if(kt.progress&&Pt.progress){var e=d(document.querySelectorAll(Lt)),t=document.querySelectorAll(wt+":not(.stack)").length,n=0;e:for(var r=0;e.length>r;r++){for(var o=e[r],a=d(o.querySelectorAll("section")),s=0;a.length>s;s++){if(a[s].classList.contains("present"))break e;n++}if(o.classList.contains("present"))break;o.classList.contains("stack")===!1&&n++}Pt.progressbar.style.width=n/(t-1)*window.innerWidth+"px"}}function O(){if(kt.controls&&Pt.controls){var e=z(),t=X();Pt.controlsLeft.concat(Pt.controlsRight).concat(Pt.controlsUp).concat(Pt.controlsDown).concat(Pt.controlsPrev).concat(Pt.controlsNext).forEach(function(e){e.classList.remove("enabled"),e.classList.remove("fragmented")}),e.left&&Pt.controlsLeft.forEach(function(e){e.classList.add("enabled")}),e.right&&Pt.controlsRight.forEach(function(e){e.classList.add("enabled")}),e.up&&Pt.controlsUp.forEach(function(e){e.classList.add("enabled")}),e.down&&Pt.controlsDown.forEach(function(e){e.classList.add("enabled")}),(e.left||e.up)&&Pt.controlsPrev.forEach(function(e){e.classList.add("enabled")}),(e.right||e.down)&&Pt.controlsNext.forEach(function(e){e.classList.add("enabled")}),bt&&(t.prev&&Pt.controlsPrev.forEach(function(e){e.classList.add("fragmented","enabled")}),t.next&&Pt.controlsNext.forEach(function(e){e.classList.add("fragmented","enabled")}),A(bt)?(t.prev&&Pt.controlsUp.forEach(function(e){e.classList.add("fragmented","enabled")}),t.next&&Pt.controlsDown.forEach(function(e){e.classList.add("fragmented","enabled")})):(t.prev&&Pt.controlsLeft.forEach(function(e){e.classList.add("fragmented","enabled")}),t.next&&Pt.controlsRight.forEach(function(e){e.classList.add("fragmented","enabled")})))}}function Y(){d(Pt.background.childNodes).forEach(function(e,t){e.className="slide-background "+(qt>t?"past":t>qt?"future":"present"),d(e.childNodes).forEach(function(e,t){e.className="slide-background "+(xt>t?"past":t>xt?"future":"present")})}),setTimeout(function(){Pt.background.classList.remove("no-transition")},1)}function z(){var e=document.querySelectorAll(Lt),t=document.querySelectorAll(Et),n={left:qt>0||kt.loop,right:e.length-1>qt||kt.loop,up:xt>0,down:t.length-1>xt};if(kt.rtl){var r=n.left;n.left=n.right,n.right=r}return n}function X(){if(bt&&kt.fragments){var e=bt.querySelectorAll(".fragment"),t=bt.querySelectorAll(".fragment:not(.visible)");return{prev:e.length-t.length>0,next:!!t.length}}return{prev:!1,next:!1}}function H(e){e&&(d(e.querySelectorAll("video, audio")).forEach(function(e){e.hasAttribute("data-autoplay")&&e.play()}),d(e.querySelectorAll('iframe[src*="youtube.com/embed/"]')).forEach(function(e){e.hasAttribute("data-autoplay")&&e.contentWindow.postMessage('{"event":"command","func":"playVideo","args":""}',"*")}))}function I(e){e&&(d(e.querySelectorAll("video, audio")).forEach(function(e){e.hasAttribute("data-ignore")||e.pause()}),d(e.querySelectorAll('iframe[src*="youtube.com/embed/"]')).forEach(function(e){e.hasAttribute("data-ignore")||"function"!=typeof e.contentWindow.postMessage||e.contentWindow.postMessage('{"event":"command","func":"pauseVideo","args":""}',"*")}))}function W(){var e=window.location.hash,t=e.slice(2).split("/"),n=e.replace(/#|\//gi,"");if(isNaN(parseInt(t[0],10))&&n.length){var r=document.querySelector("#"+n);if(r){var o=Reveal.getIndices(r);N(o.h,o.v)}else N(qt,xt)}else{var a=parseInt(t[0],10)||0,s=parseInt(t[1],10)||0;N(a,s)}}function U(e){if(kt.history)if(clearTimeout(Ot),"number"==typeof e)Ot=setTimeout(U,e);else{var t="/";bt&&"string"==typeof bt.getAttribute("id")?t="/"+bt.getAttribute("id"):((qt>0||xt>0)&&(t+=qt),xt>0&&(t+="/"+xt)),window.location.hash=t}}function F(e){var t,n=qt,r=xt;if(e){var o=A(e),a=o?e.parentNode:e,s=d(document.querySelectorAll(Lt));n=Math.max(s.indexOf(a),0),o&&(r=Math.max(d(e.parentNode.querySelectorAll("section")).indexOf(e),0))}if(!e&&bt){var i=bt.querySelectorAll(".fragment.visible");i.length&&(t=i.length)}return{h:n,v:r,f:t}}function j(){if(bt&&kt.fragments){var e=g(bt.querySelectorAll(".fragment:not(.visible)"));if(e.length){var t=e[0].getAttribute("data-fragment-index");return e=bt.querySelectorAll('.fragment[data-fragment-index="'+t+'"]'),d(e).forEach(function(e){e.classList.add("visible"),p("fragmentshown",{fragment:e})}),O(),!0}}return!1}function _(){if(bt&&kt.fragments){var e=g(bt.querySelectorAll(".fragment.visible"));if(e.length){var t=e[e.length-1].getAttribute("data-fragment-index");return e=bt.querySelectorAll('.fragment[data-fragment-index="'+t+'"]'),d(e).forEach(function(e){e.classList.remove("visible"),p("fragmenthidden",{fragment:e})}),O(),!0}}return!1}function K(){clearTimeout(Rt),!At||P()||k()||(Rt=setTimeout(J,At))}function $(){clearTimeout(Rt)}function V(){kt.rtl?(k()||j()===!1)&&z().left&&N(qt+1):(k()||_()===!1)&&z().left&&N(qt-1)}function Z(){kt.rtl?(k()||_()===!1)&&z().right&&N(qt-1):(k()||j()===!1)&&z().right&&N(qt+1)}function Q(){(k()||_()===!1)&&z().up&&N(qt,xt-1)}function B(){(k()||j()===!1)&&z().down&&N(qt,xt+1)}function G(){if(_()===!1)if(z().up)Q();else{var e=document.querySelector(Lt+".past:nth-child("+qt+")");e&&(xt=e.querySelectorAll("section").length+1||void 0,qt--,N(qt,xt))}}function J(){j()===!1&&(z().down?B():Z()),K()}function et(e){document.activeElement;var t=!(!document.activeElement||!document.activeElement.type&&!document.activeElement.href&&"inherit"===document.activeElement.contentEditable);if(!(t||e.shiftKey&&32!==e.keyCode||e.altKey||e.ctrlKey||e.metaKey)){var n=!0;if(P()&&-1===[66,190,191].indexOf(e.keyCode))return!1;switch(e.keyCode){case 80:case 33:G();break;case 78:case 34:J();break;case 72:case 37:V();break;case 76:case 39:Z();break;case 75:case 38:Q();break;case 74:case 40:B();break;case 36:N(0);break;case 35:N(Number.MAX_VALUE);break;case 32:k()?E():e.shiftKey?G():J();break;case 13:k()?E():n=!1;break;case 66:case 190:case 191:M();break;case 70:q();break;default:n=!1}n?e.preventDefault():27===e.keyCode&&Nt&&(S(),e.preventDefault()),K()}}function tt(e){Ht.startX=e.touches[0].clientX,Ht.startY=e.touches[0].clientY,Ht.startCount=e.touches.length,2===e.touches.length&&kt.overview&&(Ht.startSpan=u({x:e.touches[1].clientX,y:e.touches[1].clientY},{x:Ht.startX,y:Ht.startY}))}function nt(e){if(Ht.handled)navigator.userAgent.match(/android/gi)&&e.preventDefault();else{var t=e.touches[0].clientX,n=e.touches[0].clientY;if(2===e.touches.length&&2===Ht.startCount&&kt.overview){var r=u({x:e.touches[1].clientX,y:e.touches[1].clientY},{x:Ht.startX,y:Ht.startY});Math.abs(Ht.startSpan-r)>Ht.threshold&&(Ht.handled=!0,Ht.startSpan>r?L():E()),e.preventDefault()}else if(1===e.touches.length&&2!==Ht.startCount){var o=t-Ht.startX,a=n-Ht.startY;o>Ht.threshold&&Math.abs(o)>Math.abs(a)?(Ht.handled=!0,V()):-Ht.threshold>o&&Math.abs(o)>Math.abs(a)?(Ht.handled=!0,Z()):a>Ht.threshold?(Ht.handled=!0,Q()):-Ht.threshold>a&&(Ht.handled=!0,B()),e.preventDefault()}}}function rt(){Ht.handled=!1}function ot(e){e.pointerType===e.MSPOINTER_TYPE_TOUCH&&(e.touches=[{clientX:e.clientX,clientY:e.clientY}],tt(e))}function at(e){e.pointerType===e.MSPOINTER_TYPE_TOUCH&&(e.touches=[{clientX:e.clientX,clientY:e.clientY}],nt(e))}function st(e){e.pointerType===e.MSPOINTER_TYPE_TOUCH&&(e.touches=[{clientX:e.clientX,clientY:e.clientY}],rt(e))}function it(e){clearTimeout(Dt),Dt=setTimeout(function(){var t=e.detail||-e.wheelDelta;t>0?J():G()},100)}function ct(e){e.preventDefault();var t=d(document.querySelectorAll(Lt)).length,n=Math.floor(e.clientX/Pt.wrapper.offsetWidth*t);N(n)}function lt(e){e.preventDefault(),V()}function dt(e){e.preventDefault(),Z()}function ut(e){e.preventDefault(),Q()}function ft(e){e.preventDefault(),B()}function vt(e){e.preventDefault(),G()}function pt(e){e.preventDefault(),J()}function mt(){W()}function ht(){y()}function gt(e){if(Xt&&k()){e.preventDefault();for(var t=e.target;t&&!t.nodeName.match(/section/gi);)t=t.parentNode;if(t&&!t.classList.contains("disabled")&&(E(),t.nodeName.match(/section/gi))){var n=parseInt(t.getAttribute("data-index-h"),10),r=parseInt(t.getAttribute("data-index-v"),10);N(n,r)}}}var yt,bt,wt=".reveal .slides section",Lt=".reveal .slides>section",Et=".reveal .slides>section.present>section",St=".reveal .slides>section:first-child",kt={width:960,height:700,margin:.1,minScale:.2,maxScale:1,controls:!0,progress:!0,history:!1,keyboard:!0,overview:!0,center:!0,touch:!0,loop:!1,rtl:!1,fragments:!0,autoSlide:0,mouseWheel:!1,rollingLinks:!0,theme:null,transition:"default",transitionSpeed:"default",backgroundTransition:"default",dependencies:[]},At=0,qt=0,xt=0,Tt=[],Mt=1,Pt={},Nt="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,Ct="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,Dt=0,Rt=0,Ot=0,Yt=0,zt=0,Xt=!1,Ht={startX:0,startY:0,startSpan:0,startCount:0,handled:!1,threshold:80};return{initialize:e,configure:s,sync:C,slide:N,left:V,right:Z,up:Q,down:B,prev:G,next:J,prevFragment:_,nextFragment:j,navigateTo:N,navigateLeft:V,navigateRight:Z,navigateUp:Q,navigateDown:B,navigatePrev:G,navigateNext:J,layout:y,availableRoutes:z,availableFragments:X,toggleOverview:S,togglePause:M,isOverview:k,isPaused:P,addEventListeners:i,removeEventListeners:c,getIndices:F,getSlide:function(e,t){var n=document.querySelectorAll(Lt)[e],r=n&&n.querySelectorAll("section");return t!==void 0?r?r[t]:void 0:n},getPreviousSlide:function(){return yt},getCurrentSlide:function(){return bt},getScale:function(){return Mt},getConfig:function(){return kt},getQueryHash:function(){var e={};return location.search.replace(/[A-Z0-9]+?=(\w*)/gi,function(t){e[t.split("=").shift()]=t.split("=").pop()}),e},isFirstSlide:function(){return null==document.querySelector(wt+".past")?!0:!1},isLastSlide:function(){return bt&&bt.classList.contains(".stack")?null==bt.querySelector(wt+".future")?!0:!1:null==document.querySelector(wt+".future")?!0:!1},addEventListener:function(e,t,n){"addEventListener"in window&&(Pt.wrapper||document.querySelector(".reveal")).addEventListener(e,t,n)},removeEventListener:function(e,t,n){"addEventListener"in window&&(Pt.wrapper||document.querySelector(".reveal")).removeEventListener(e,t,n)}}}(); \ No newline at end of file +var Reveal=function(){"use strict";function e(e){return Ct||Nt?(window.addEventListener("load",y,!1),l(kt,e),r(),o(),void 0):(document.body.setAttribute("class","no-transforms"),void 0)}function t(){if(Pt.theme=document.querySelector("#theme"),Pt.wrapper=document.querySelector(".reveal"),Pt.slides=document.querySelector(".reveal .slides"),document.querySelector(".reveal .background")||(Pt.background=document.createElement("div"),Pt.background.classList.add("background"),Pt.wrapper.appendChild(Pt.background)),!Pt.wrapper.querySelector(".progress")){var e=document.createElement("div");e.classList.add("progress"),e.innerHTML="",Pt.wrapper.appendChild(e)}if(!Pt.wrapper.querySelector(".controls")){var t=document.createElement("aside");t.classList.add("controls"),t.innerHTML='',Pt.wrapper.appendChild(t)}if(!Pt.wrapper.querySelector(".state-background")){var n=document.createElement("div");n.classList.add("state-background"),Pt.wrapper.appendChild(n)}if(!Pt.wrapper.querySelector(".pause-overlay")){var r=document.createElement("div");r.classList.add("pause-overlay"),Pt.wrapper.appendChild(r)}Pt.progress=document.querySelector(".reveal .progress"),Pt.progressbar=document.querySelector(".reveal .progress span"),kt.controls&&(Pt.controls=document.querySelector(".reveal .controls"),Pt.controlsLeft=d(document.querySelectorAll(".navigate-left")),Pt.controlsRight=d(document.querySelectorAll(".navigate-right")),Pt.controlsUp=d(document.querySelectorAll(".navigate-up")),Pt.controlsDown=d(document.querySelectorAll(".navigate-down")),Pt.controlsPrev=d(document.querySelectorAll(".navigate-prev")),Pt.controlsNext=d(document.querySelectorAll(".navigate-next")))}function n(){function e(e,t){var n={background:e.getAttribute("data-background"),backgroundSize:e.getAttribute("data-background-size"),backgroundColor:e.getAttribute("data-background-color"),backgroundRepeat:e.getAttribute("data-background-repeat"),backgroundPosition:e.getAttribute("data-background-position")},r=document.createElement("div");return r.className="slide-background",n.background&&(/\.(png|jpg|jpeg|gif|bmp)$/gi.test(n.background)?r.style.backgroundImage="url("+n.background+")":r.style.background=n.background),n.backgroundSize&&(r.style.backgroundSize=n.backgroundSize),n.backgroundColor&&(r.style.backgroundColor=n.backgroundColor),n.backgroundRepeat&&(r.style.backgroundRepeat=n.backgroundRepeat),n.backgroundPosition&&(r.style.backgroundPosition=n.backgroundPosition),t.appendChild(r),r}f()&&document.body.classList.add("print-pdf"),Pt.background.innerHTML="",Pt.background.classList.add("no-transition"),d(document.querySelectorAll(Lt)).forEach(function(t){var n;n=f()?e(t,t):e(t,Pt.background),d(t.querySelectorAll("section")).forEach(function(t){f()?e(t,t):e(t,n)})})}function r(){/iphone|ipod|android/gi.test(navigator.userAgent)&&!/crios/gi.test(navigator.userAgent)&&(window.addEventListener("load",v,!1),window.addEventListener("orientationchange",v,!1))}function o(){function e(){n.length&&head.js.apply(null,n),a()}for(var t=[],n=[],r=0,o=kt.dependencies.length;o>r;r++){var s=kt.dependencies[r];(!s.condition||s.condition())&&(s.async?n.push(s.src):t.push(s.src),"function"==typeof s.callback&&head.ready(s.src.match(/([\w\d_\-]*)\.?js$|[^\\\/]*$/i)[0],s.callback))}t.length?(head.ready(e),head.js.apply(null,t)):e()}function a(){t(),s(),W(),setTimeout(function(){p("ready",{indexh:qt,indexv:xt,currentSlide:bt})},1)}function s(e){if(Pt.wrapper.classList.remove(kt.transition),"object"==typeof e&&l(kt,e),Nt===!1&&(kt.transition="linear"),Pt.wrapper.classList.add(kt.transition),Pt.wrapper.setAttribute("data-transition-speed",kt.transitionSpeed),Pt.wrapper.setAttribute("data-background-transition",kt.backgroundTransition),Pt.controls&&(Pt.controls.style.display=kt.controls&&Pt.controls?"block":"none"),Pt.progress&&(Pt.progress.style.display=kt.progress&&Pt.progress?"block":"none"),kt.rtl?Pt.wrapper.classList.add("rtl"):Pt.wrapper.classList.remove("rtl"),kt.center?Pt.wrapper.classList.add("center"):Pt.wrapper.classList.remove("center"),kt.mouseWheel?(document.addEventListener("DOMMouseScroll",it,!1),document.addEventListener("mousewheel",it,!1)):(document.removeEventListener("DOMMouseScroll",it,!1),document.removeEventListener("mousewheel",it,!1)),kt.rollingLinks?m():h(),kt.theme&&Pt.theme){var t=Pt.theme.getAttribute("href"),n=/[^\/]*?(?=\.css)/,r=t.match(n)[0];kt.theme!==r&&(t=t.replace(n,kt.theme),Pt.theme.setAttribute("href",t))}C()}function i(){Xt=!0,window.addEventListener("hashchange",mt,!1),window.addEventListener("resize",ht,!1),kt.touch&&(Pt.wrapper.addEventListener("touchstart",tt,!1),Pt.wrapper.addEventListener("touchmove",nt,!1),Pt.wrapper.addEventListener("touchend",rt,!1),window.navigator.msPointerEnabled&&(Pt.wrapper.addEventListener("MSPointerDown",ot,!1),Pt.wrapper.addEventListener("MSPointerMove",at,!1),Pt.wrapper.addEventListener("MSPointerUp",st,!1))),kt.keyboard&&document.addEventListener("keydown",et,!1),kt.progress&&Pt.progress&&Pt.progress.addEventListener("click",ct,!1),kt.controls&&Pt.controls&&["touchstart","click"].forEach(function(e){Pt.controlsLeft.forEach(function(t){t.addEventListener(e,lt,!1)}),Pt.controlsRight.forEach(function(t){t.addEventListener(e,dt,!1)}),Pt.controlsUp.forEach(function(t){t.addEventListener(e,ut,!1)}),Pt.controlsDown.forEach(function(t){t.addEventListener(e,ft,!1)}),Pt.controlsPrev.forEach(function(t){t.addEventListener(e,vt,!1)}),Pt.controlsNext.forEach(function(t){t.addEventListener(e,pt,!1)})})}function c(){Xt=!1,document.removeEventListener("keydown",et,!1),window.removeEventListener("hashchange",mt,!1),window.removeEventListener("resize",ht,!1),Pt.wrapper.removeEventListener("touchstart",tt,!1),Pt.wrapper.removeEventListener("touchmove",nt,!1),Pt.wrapper.removeEventListener("touchend",rt,!1),window.navigator.msPointerEnabled&&(Pt.wrapper.removeEventListener("MSPointerDown",ot,!1),Pt.wrapper.removeEventListener("MSPointerMove",at,!1),Pt.wrapper.removeEventListener("MSPointerUp",st,!1)),kt.progress&&Pt.progress&&Pt.progress.removeEventListener("click",ct,!1),kt.controls&&Pt.controls&&["touchstart","click"].forEach(function(e){Pt.controlsLeft.forEach(function(t){t.removeEventListener(e,lt,!1)}),Pt.controlsRight.forEach(function(t){t.removeEventListener(e,dt,!1)}),Pt.controlsUp.forEach(function(t){t.removeEventListener(e,ut,!1)}),Pt.controlsDown.forEach(function(t){t.removeEventListener(e,ft,!1)}),Pt.controlsPrev.forEach(function(t){t.removeEventListener(e,vt,!1)}),Pt.controlsNext.forEach(function(t){t.removeEventListener(e,pt,!1)})})}function l(e,t){for(var n in t)e[n]=t[n]}function d(e){return Array.prototype.slice.call(e)}function u(e,t){var n=e.x-t.x,r=e.y-t.y;return Math.sqrt(n*n+r*r)}function f(){return/print-pdf/gi.test(window.location.search)}function v(){0===window.orientation?(document.documentElement.style.overflow="scroll",document.body.style.height="120%"):(document.documentElement.style.overflow="",document.body.style.height="100%"),setTimeout(function(){window.scrollTo(0,1)},10)}function p(e,t){var n=document.createEvent("HTMLEvents",1,2);n.initEvent(e,!0,!0),l(n,t),Pt.wrapper.dispatchEvent(n)}function m(){if(Nt&&!("msPerspective"in document.body.style))for(var e=document.querySelectorAll(wt+" a:not(.image)"),t=0,n=e.length;n>t;t++){var r=e[t];if(!(!r.textContent||r.querySelector("*")||r.className&&r.classList.contains(r,"roll"))){var o=document.createElement("span");o.setAttribute("data-title",r.text),o.innerHTML=r.innerHTML,r.classList.add("roll"),r.innerHTML="",r.appendChild(o)}}}function h(){for(var e=document.querySelectorAll(wt+" a.roll"),t=0,n=e.length;n>t;t++){var r=e[t],o=r.querySelector("span");o&&(r.classList.remove("roll"),r.innerHTML=o.innerHTML)}}function g(e){var t=d(e);return t.forEach(function(e,t){e.hasAttribute("data-fragment-index")||e.setAttribute("data-fragment-index",t)}),t.sort(function(e,t){return e.getAttribute("data-fragment-index")-t.getAttribute("data-fragment-index")}),t}function y(){if(Pt.wrapper&&!f()){var e=Pt.wrapper.offsetWidth,t=Pt.wrapper.offsetHeight;e-=t*kt.margin,t-=t*kt.margin;var n=kt.width,r=kt.height;if("string"==typeof n&&/%$/.test(n)&&(n=parseInt(n,10)/100*e),"string"==typeof r&&/%$/.test(r)&&(r=parseInt(r,10)/100*t),Pt.slides.style.width=n+"px",Pt.slides.style.height=r+"px",Mt=Math.min(e/n,t/r),Mt=Math.max(Mt,kt.minScale),Mt=Math.min(Mt,kt.maxScale),void 0===Pt.slides.style.zoom||navigator.userAgent.match(/(iphone|ipod|ipad|android)/gi)){var o="translate(-50%, -50%) scale("+Mt+") translate(50%, 50%)";Pt.slides.style.WebkitTransform=o,Pt.slides.style.MozTransform=o,Pt.slides.style.msTransform=o,Pt.slides.style.OTransform=o,Pt.slides.style.transform=o}else Pt.slides.style.zoom=Mt;for(var a=d(document.querySelectorAll(wt)),s=0,i=a.length;i>s;s++){var c=a[s];"none"!==c.style.display&&(c.style.top=kt.center?c.classList.contains("stack")?0:Math.max(-(c.offsetHeight/2)-20,-r/2)+"px":"")}R()}}function b(e,t){"object"==typeof e&&"function"==typeof e.setAttribute&&e.setAttribute("data-previous-indexv",t||0)}function w(e){if("object"==typeof e&&"function"==typeof e.setAttribute&&e.classList.contains("stack")){var t=e.hasAttribute("data-start-indexv")?"data-start-indexv":"data-previous-indexv";return parseInt(e.getAttribute(t)||0,10)}return 0}function L(){if(kt.overview){$();var e=Pt.wrapper.classList.contains("overview");Pt.wrapper.classList.add("overview"),Pt.wrapper.classList.remove("exit-overview"),clearTimeout(Yt),clearTimeout(zt),Yt=setTimeout(function(){for(var t=document.querySelectorAll(Lt),n=0,r=t.length;r>n;n++){var o=t[n],a=kt.rtl?-105:105,s="translateZ(-2500px) translate("+(n-qt)*a+"%, 0%)";if(o.setAttribute("data-index-h",n),o.style.display="block",o.style.WebkitTransform=s,o.style.MozTransform=s,o.style.msTransform=s,o.style.OTransform=s,o.style.transform=s,o.classList.contains("stack"))for(var i=o.querySelectorAll("section"),c=0,l=i.length;l>c;c++){var d=n===qt?xt:w(o),u=i[c],f="translate(0%, "+105*(c-d)+"%)";u.setAttribute("data-index-h",n),u.setAttribute("data-index-v",c),u.style.display="block",u.style.WebkitTransform=f,u.style.MozTransform=f,u.style.msTransform=f,u.style.OTransform=f,u.style.transform=f,u.addEventListener("click",gt,!0)}else o.addEventListener("click",gt,!0)}y(),e||p("overviewshown",{indexh:qt,indexv:xt,currentSlide:bt})},10)}}function E(){if(kt.overview){clearTimeout(Yt),clearTimeout(zt),Pt.wrapper.classList.remove("overview"),Pt.wrapper.classList.add("exit-overview"),zt=setTimeout(function(){Pt.wrapper.classList.remove("exit-overview")},10);for(var e=d(document.querySelectorAll(wt)),t=0,n=e.length;n>t;t++){var r=e[t];r.style.display="",r.style.WebkitTransform="",r.style.MozTransform="",r.style.msTransform="",r.style.OTransform="",r.style.transform="",r.removeEventListener("click",gt,!0)}N(qt,xt),K(),p("overviewhidden",{indexh:qt,indexv:xt,currentSlide:bt})}}function S(e){"boolean"==typeof e?e?L():E():k()?E():L()}function k(){return Pt.wrapper.classList.contains("overview")}function A(e){return e=e?e:bt,e&&!!e.parentNode.nodeName.match(/section/i)}function q(){var e=document.body,t=e.requestFullScreen||e.webkitRequestFullscreen||e.webkitRequestFullScreen||e.mozRequestFullScreen||e.msRequestFullScreen;t&&t.apply(e)}function x(){var e=Pt.wrapper.classList.contains("paused");$(),Pt.wrapper.classList.add("paused"),e===!1&&p("paused")}function T(){var e=Pt.wrapper.classList.contains("paused");Pt.wrapper.classList.remove("paused"),K(),e&&p("resumed")}function M(){P()?T():x()}function P(){return Pt.wrapper.classList.contains("paused")}function N(e,t,n,r){yt=bt;var o=document.querySelectorAll(Lt);void 0===t&&(t=w(o[e])),yt&&yt.parentNode&&yt.parentNode.classList.contains("stack")&&b(yt.parentNode,xt);var a=Tt.concat();Tt.length=0;var s=qt,i=xt;qt=D(Lt,void 0===e?qt:e),xt=D(Et,void 0===t?xt:t),y();e:for(var c=0,l=Tt.length;l>c;c++){for(var u=0;a.length>u;u++)if(a[u]===Tt[c]){a.splice(u,1);continue e}document.documentElement.classList.add(Tt[c]),p(Tt[c])}for(;a.length;)document.documentElement.classList.remove(a.pop());k()&&L(),U(1500);var f=o[qt],v=f.querySelectorAll("section");if(bt=v[xt]||f,n!==void 0){var m=g(bt.querySelectorAll(".fragment"));d(m).forEach(function(e,t){n>t?e.classList.add("visible"):e.classList.remove("visible")})}var h=qt!==s||xt!==i;h?p("slidechanged",{indexh:qt,indexv:xt,previousSlide:yt,currentSlide:bt,origin:r}):yt=null,yt&&(yt.classList.remove("present"),document.querySelector(St).classList.contains("present")&&setTimeout(function(){var e,t=d(document.querySelectorAll(Lt+".stack"));for(e in t)t[e]&&b(t[e],0)},0)),h&&(I(yt),H(bt)),O(),R(),Y()}function C(){c(),i(),y(),At=kt.autoSlide,K(),n(),O(),R(),Y()}function D(e,t){var n=d(document.querySelectorAll(e)),r=n.length;if(r){kt.loop&&(t%=r,0>t&&(t=r+t)),t=Math.max(Math.min(t,r-1),0);for(var o=0;r>o;o++){var a=n[o];if(k()===!1){var s=Math.abs((t-o)%(r-3))||0;a.style.display=s>3?"none":"block"}var i=kt.rtl&&!A(a);a.classList.remove("past"),a.classList.remove("present"),a.classList.remove("future"),a.setAttribute("hidden",""),t>o?a.classList.add(i?"future":"past"):o>t&&a.classList.add(i?"past":"future"),a.querySelector("section")&&a.classList.add("stack")}n[t].classList.add("present"),n[t].removeAttribute("hidden");var c=n[t].getAttribute("data-state");c&&(Tt=Tt.concat(c.split(" ")));var l=n[t].getAttribute("data-autoslide");At=l?parseInt(l,10):kt.autoSlide}else t=0;return t}function R(){if(kt.progress&&Pt.progress){var e=d(document.querySelectorAll(Lt)),t=document.querySelectorAll(wt+":not(.stack)").length,n=0;e:for(var r=0;e.length>r;r++){for(var o=e[r],a=d(o.querySelectorAll("section")),s=0;a.length>s;s++){if(a[s].classList.contains("present"))break e;n++}if(o.classList.contains("present"))break;o.classList.contains("stack")===!1&&n++}Pt.progressbar.style.width=n/(t-1)*window.innerWidth+"px"}}function O(){if(kt.controls&&Pt.controls){var e=z(),t=X();Pt.controlsLeft.concat(Pt.controlsRight).concat(Pt.controlsUp).concat(Pt.controlsDown).concat(Pt.controlsPrev).concat(Pt.controlsNext).forEach(function(e){e.classList.remove("enabled"),e.classList.remove("fragmented")}),e.left&&Pt.controlsLeft.forEach(function(e){e.classList.add("enabled")}),e.right&&Pt.controlsRight.forEach(function(e){e.classList.add("enabled")}),e.up&&Pt.controlsUp.forEach(function(e){e.classList.add("enabled")}),e.down&&Pt.controlsDown.forEach(function(e){e.classList.add("enabled")}),(e.left||e.up)&&Pt.controlsPrev.forEach(function(e){e.classList.add("enabled")}),(e.right||e.down)&&Pt.controlsNext.forEach(function(e){e.classList.add("enabled")}),bt&&(t.prev&&Pt.controlsPrev.forEach(function(e){e.classList.add("fragmented","enabled")}),t.next&&Pt.controlsNext.forEach(function(e){e.classList.add("fragmented","enabled")}),A(bt)?(t.prev&&Pt.controlsUp.forEach(function(e){e.classList.add("fragmented","enabled")}),t.next&&Pt.controlsDown.forEach(function(e){e.classList.add("fragmented","enabled")})):(t.prev&&Pt.controlsLeft.forEach(function(e){e.classList.add("fragmented","enabled")}),t.next&&Pt.controlsRight.forEach(function(e){e.classList.add("fragmented","enabled")})))}}function Y(){d(Pt.background.childNodes).forEach(function(e,t){e.className="slide-background "+(qt>t?"past":t>qt?"future":"present"),d(e.childNodes).forEach(function(e,t){e.className="slide-background "+(xt>t?"past":t>xt?"future":"present")})}),setTimeout(function(){Pt.background.classList.remove("no-transition")},1)}function z(){var e=document.querySelectorAll(Lt),t=document.querySelectorAll(Et),n={left:qt>0||kt.loop,right:e.length-1>qt||kt.loop,up:xt>0,down:t.length-1>xt};if(kt.rtl){var r=n.left;n.left=n.right,n.right=r}return n}function X(){if(bt&&kt.fragments){var e=bt.querySelectorAll(".fragment"),t=bt.querySelectorAll(".fragment:not(.visible)");return{prev:e.length-t.length>0,next:!!t.length}}return{prev:!1,next:!1}}function H(e){e&&(d(e.querySelectorAll("video, audio")).forEach(function(e){e.hasAttribute("data-autoplay")&&e.play()}),d(e.querySelectorAll('iframe[src*="youtube.com/embed/"]')).forEach(function(e){e.hasAttribute("data-autoplay")&&e.contentWindow.postMessage('{"event":"command","func":"playVideo","args":""}',"*")}))}function I(e){e&&(d(e.querySelectorAll("video, audio")).forEach(function(e){e.hasAttribute("data-ignore")||e.pause()}),d(e.querySelectorAll('iframe[src*="youtube.com/embed/"]')).forEach(function(e){e.hasAttribute("data-ignore")||"function"!=typeof e.contentWindow.postMessage||e.contentWindow.postMessage('{"event":"command","func":"pauseVideo","args":""}',"*")}))}function W(){var e=window.location.hash,t=e.slice(2).split("/"),n=e.replace(/#|\//gi,"");if(isNaN(parseInt(t[0],10))&&n.length){var r=document.querySelector("#"+n);if(r){var o=Reveal.getIndices(r);N(o.h,o.v)}else N(qt,xt)}else{var a=parseInt(t[0],10)||0,s=parseInt(t[1],10)||0;N(a,s)}}function U(e){if(kt.history)if(clearTimeout(Ot),"number"==typeof e)Ot=setTimeout(U,e);else{var t="/";bt&&"string"==typeof bt.getAttribute("id")?t="/"+bt.getAttribute("id"):((qt>0||xt>0)&&(t+=qt),xt>0&&(t+="/"+xt)),window.location.hash=t}}function F(e){var t,n=qt,r=xt;if(e){var o=A(e),a=o?e.parentNode:e,s=d(document.querySelectorAll(Lt));n=Math.max(s.indexOf(a),0),o&&(r=Math.max(d(e.parentNode.querySelectorAll("section")).indexOf(e),0))}if(!e&&bt){var i=bt.querySelectorAll(".fragment.visible");i.length&&(t=i.length)}return{h:n,v:r,f:t}}function j(){if(bt&&kt.fragments){var e=g(bt.querySelectorAll(".fragment:not(.visible)"));if(e.length){var t=e[0].getAttribute("data-fragment-index");return e=bt.querySelectorAll('.fragment[data-fragment-index="'+t+'"]'),d(e).forEach(function(e){e.classList.add("visible"),p("fragmentshown",{fragment:e})}),O(),!0}}return!1}function _(){if(bt&&kt.fragments){var e=g(bt.querySelectorAll(".fragment.visible"));if(e.length){var t=e[e.length-1].getAttribute("data-fragment-index");return e=bt.querySelectorAll('.fragment[data-fragment-index="'+t+'"]'),d(e).forEach(function(e){e.classList.remove("visible"),p("fragmenthidden",{fragment:e})}),O(),!0}}return!1}function K(){clearTimeout(Rt),!At||P()||k()||(Rt=setTimeout(J,At))}function $(){clearTimeout(Rt)}function V(){kt.rtl?(k()||j()===!1)&&z().left&&N(qt+1):(k()||_()===!1)&&z().left&&N(qt-1)}function Z(){kt.rtl?(k()||_()===!1)&&z().right&&N(qt-1):(k()||j()===!1)&&z().right&&N(qt+1)}function Q(){(k()||_()===!1)&&z().up&&N(qt,xt-1)}function B(){(k()||j()===!1)&&z().down&&N(qt,xt+1)}function G(){if(_()===!1)if(z().up)Q();else{var e=document.querySelector(Lt+".past:nth-child("+qt+")");e&&(xt=e.querySelectorAll("section").length+1||void 0,qt--,N(qt,xt))}}function J(){j()===!1&&(z().down?B():Z()),K()}function et(e){document.activeElement;var t=!(!document.activeElement||!document.activeElement.type&&!document.activeElement.href&&"inherit"===document.activeElement.contentEditable);if(!(t||e.shiftKey&&32!==e.keyCode||e.altKey||e.ctrlKey||e.metaKey)){var n=!0;if(P()&&-1===[66,190,191].indexOf(e.keyCode))return!1;switch(e.keyCode){case 80:case 33:G();break;case 78:case 34:J();break;case 72:case 37:V();break;case 76:case 39:Z();break;case 75:case 38:Q();break;case 74:case 40:B();break;case 36:N(0);break;case 35:N(Number.MAX_VALUE);break;case 32:k()?E():e.shiftKey?G():J();break;case 13:k()?E():n=!1;break;case 66:case 190:case 191:M();break;case 70:q();break;default:n=!1}n?e.preventDefault():27===e.keyCode&&Nt&&(S(),e.preventDefault()),K()}}function tt(e){Ht.startX=e.touches[0].clientX,Ht.startY=e.touches[0].clientY,Ht.startCount=e.touches.length,2===e.touches.length&&kt.overview&&(Ht.startSpan=u({x:e.touches[1].clientX,y:e.touches[1].clientY},{x:Ht.startX,y:Ht.startY}))}function nt(e){if(Ht.handled)navigator.userAgent.match(/android/gi)&&e.preventDefault();else{var t=e.touches[0].clientX,n=e.touches[0].clientY;if(2===e.touches.length&&2===Ht.startCount&&kt.overview){var r=u({x:e.touches[1].clientX,y:e.touches[1].clientY},{x:Ht.startX,y:Ht.startY});Math.abs(Ht.startSpan-r)>Ht.threshold&&(Ht.handled=!0,Ht.startSpan>r?L():E()),e.preventDefault()}else if(1===e.touches.length&&2!==Ht.startCount){var o=t-Ht.startX,a=n-Ht.startY;o>Ht.threshold&&Math.abs(o)>Math.abs(a)?(Ht.handled=!0,V()):-Ht.threshold>o&&Math.abs(o)>Math.abs(a)?(Ht.handled=!0,Z()):a>Ht.threshold?(Ht.handled=!0,Q()):-Ht.threshold>a&&(Ht.handled=!0,B()),e.preventDefault()}}}function rt(){Ht.handled=!1}function ot(e){e.pointerType===e.MSPOINTER_TYPE_TOUCH&&(e.touches=[{clientX:e.clientX,clientY:e.clientY}],tt(e))}function at(e){e.pointerType===e.MSPOINTER_TYPE_TOUCH&&(e.touches=[{clientX:e.clientX,clientY:e.clientY}],nt(e))}function st(e){e.pointerType===e.MSPOINTER_TYPE_TOUCH&&(e.touches=[{clientX:e.clientX,clientY:e.clientY}],rt(e))}function it(e){clearTimeout(Dt),Dt=setTimeout(function(){var t=e.detail||-e.wheelDelta;t>0?J():G()},100)}function ct(e){e.preventDefault();var t=d(document.querySelectorAll(Lt)).length,n=Math.floor(e.clientX/Pt.wrapper.offsetWidth*t);N(n)}function lt(e){e.preventDefault(),V()}function dt(e){e.preventDefault(),Z()}function ut(e){e.preventDefault(),Q()}function ft(e){e.preventDefault(),B()}function vt(e){e.preventDefault(),G()}function pt(e){e.preventDefault(),J()}function mt(){W()}function ht(){y()}function gt(e){if(Xt&&k()){e.preventDefault();for(var t=e.target;t&&!t.nodeName.match(/section/gi);)t=t.parentNode;if(t&&!t.classList.contains("disabled")&&(E(),t.nodeName.match(/section/gi))){var n=parseInt(t.getAttribute("data-index-h"),10),r=parseInt(t.getAttribute("data-index-v"),10);N(n,r)}}}var yt,bt,wt=".reveal .slides section",Lt=".reveal .slides>section",Et=".reveal .slides>section.present>section",St=".reveal .slides>section:first-child",kt={width:960,height:700,margin:.1,minScale:.2,maxScale:1,controls:!0,progress:!0,history:!1,keyboard:!0,overview:!0,center:!0,touch:!0,loop:!1,rtl:!1,fragments:!0,autoSlide:0,mouseWheel:!1,rollingLinks:!0,theme:null,transition:"default",transitionSpeed:"default",backgroundTransition:"default",dependencies:[]},At=0,qt=0,xt=0,Tt=[],Mt=1,Pt={},Nt="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,Ct="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,Dt=0,Rt=0,Ot=0,Yt=0,zt=0,Xt=!1,Ht={startX:0,startY:0,startSpan:0,startCount:0,handled:!1,threshold:80};return{initialize:e,configure:s,sync:C,slide:N,left:V,right:Z,up:Q,down:B,prev:G,next:J,prevFragment:_,nextFragment:j,navigateTo:N,navigateLeft:V,navigateRight:Z,navigateUp:Q,navigateDown:B,navigatePrev:G,navigateNext:J,layout:y,availableRoutes:z,availableFragments:X,toggleOverview:S,togglePause:M,isOverview:k,isPaused:P,addEventListeners:i,removeEventListeners:c,getIndices:F,getSlide:function(e,t){var n=document.querySelectorAll(Lt)[e],r=n&&n.querySelectorAll("section");return t!==void 0?r?r[t]:void 0:n},getPreviousSlide:function(){return yt},getCurrentSlide:function(){return bt},getScale:function(){return Mt},getConfig:function(){return kt},getQueryHash:function(){var e={};return location.search.replace(/[A-Z0-9]+?=(\w*)/gi,function(t){e[t.split("=").shift()]=t.split("=").pop()}),e},isFirstSlide:function(){return null==document.querySelector(wt+".past")?!0:!1},isLastSlide:function(){return bt&&bt.classList.contains(".stack")?null==bt.querySelector(wt+".future")?!0:!1:null==document.querySelector(wt+".future")?!0:!1},addEventListener:function(e,t,n){"addEventListener"in window&&(Pt.wrapper||document.querySelector(".reveal")).addEventListener(e,t,n)},removeEventListener:function(e,t,n){"addEventListener"in window&&(Pt.wrapper||document.querySelector(".reveal")).removeEventListener(e,t,n)}}}(); \ No newline at end of file From 5655b5f4674f71ed23988c7e0fc04bfe4415206c Mon Sep 17 00:00:00 2001 From: Hakim El Hattab Date: Sun, 9 Jun 2013 19:17:31 +0200 Subject: [PATCH 18/23] semi-correction #470 --- plugin/multiplex/index.js | 2 +- plugin/notes-server/index.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/plugin/multiplex/index.js b/plugin/multiplex/index.js index a278026..6f5d8b1 100644 --- a/plugin/multiplex/index.js +++ b/plugin/multiplex/index.js @@ -30,7 +30,7 @@ app.configure(function() { }); app.get("/", function(req, res) { - res.writeHead(200, {'Content-Type': 'text/html'}) + res.writeHead(200, {'Content-Type': 'text/html'}); fs.createReadStream(opts.baseDir + '/index.html').pipe(res); }); diff --git a/plugin/notes-server/index.js b/plugin/notes-server/index.js index 8acac52..5535c90 100644 --- a/plugin/notes-server/index.js +++ b/plugin/notes-server/index.js @@ -30,7 +30,7 @@ app.configure(function() { }); app.get("/", function(req, res) { - res.writeHead(200, {'Content-Type': 'text/html'}) + res.writeHead(200, {'Content-Type': 'text/html'}); fs.createReadStream(opts.baseDir + '/index.html').pipe(res); }); From 7e50404ad71ac81432c3792d59b5a489543d7277 Mon Sep 17 00:00:00 2001 From: Hakim El Hattab Date: Mon, 10 Jun 2013 08:43:01 +0200 Subject: [PATCH 19/23] markup error correction --- index.html | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/index.html b/index.html index aa4913f..e09ca91 100644 --- a/index.html +++ b/index.html @@ -191,6 +191,18 @@

+
+

Custom Events

+

+ Additionally custom events can be triggered on a per slide basis by binding to the data-state name. +

+

+Reveal.addEventListener( 'customevent', function() {
+	console.log( '"customevent" has fired' );
+} );
+					
+
+

Slide Backgrounds

@@ -211,18 +223,6 @@
-
-

Custom Events

-

- Additionally custom events can be triggered on a per slide basis by binding to the data-state name. -

-

-Reveal.addEventListener( 'customevent', function() {
-	console.log( '"customevent" has fired' );
-} );
-					
-
-

Clever Quotes

From 8e348af8b8591bd6ae21282728e7510c47eb29fd Mon Sep 17 00:00:00 2001 From: Hakim El Hattab Date: Mon, 10 Jun 2013 08:49:53 +0200 Subject: [PATCH 20/23] pluralize background classname to match '.slides' --- css/reveal.css | 16 ++++++++-------- css/reveal.min.css | 2 +- js/reveal.js | 4 ++-- js/reveal.min.js | 4 ++-- 4 files changed, 13 insertions(+), 13 deletions(-) diff --git a/css/reveal.css b/css/reveal.css index b878b91..b881ae7 100644 --- a/css/reveal.css +++ b/css/reveal.css @@ -1304,7 +1304,7 @@ body { * *********************************************/ -.reveal>.background { +.reveal>.backgrounds { position: absolute; width: 100%; height: 100%; @@ -1338,7 +1338,7 @@ body { } /* Linear sliding transition style */ -.reveal[data-background-transition=linear]>.background .slide-background { +.reveal[data-background-transition=linear]>.backgrounds .slide-background { opacity: 1; -webkit-backface-visibility: hidden; @@ -1346,14 +1346,14 @@ body { -ms-backface-visibility: hidden; backface-visibility: hidden; } - .reveal[data-background-transition=linear]>.background .slide-background.past { + .reveal[data-background-transition=linear]>.backgrounds .slide-background.past { -webkit-transform: translate(-100%, 0); -moz-transform: translate(-100%, 0); -ms-transform: translate(-100%, 0); -o-transform: translate(-100%, 0); transform: translate(-100%, 0); } - .reveal[data-background-transition=linear]>.background .slide-background.future { + .reveal[data-background-transition=linear]>.backgrounds .slide-background.future { -webkit-transform: translate(100%, 0); -moz-transform: translate(100%, 0); -ms-transform: translate(100%, 0); @@ -1361,14 +1361,14 @@ body { transform: translate(100%, 0); } - .reveal[data-background-transition=linear]>.background .slide-background>.slide-background.past { + .reveal[data-background-transition=linear]>.backgrounds .slide-background>.slide-background.past { -webkit-transform: translate(0, -100%); -moz-transform: translate(0, -100%); -ms-transform: translate(0, -100%); -o-transform: translate(0, -100%); transform: translate(0, -100%); } - .reveal[data-background-transition=linear]>.background .slide-background>.slide-background.future { + .reveal[data-background-transition=linear]>.backgrounds .slide-background>.slide-background.future { -webkit-transform: translate(0, 100%); -moz-transform: translate(0, 100%); -ms-transform: translate(0, 100%); @@ -1378,13 +1378,13 @@ body { /* Global transition speed settings */ -.reveal[data-transition-speed="fast"]>.background .slide-background { +.reveal[data-transition-speed="fast"]>.backgrounds .slide-background { -webkit-transition-duration: 300ms; -moz-transition-duration: 300ms; -ms-transition-duration: 300ms; transition-duration: 300ms; } -.reveal[data-transition-speed="slow"]>.background .slide-background { +.reveal[data-transition-speed="slow"]>.backgrounds .slide-background { -webkit-transition-duration: 900ms; -moz-transition-duration: 900ms; -ms-transition-duration: 900ms; diff --git a/css/reveal.min.css b/css/reveal.min.css index 90620d7..3789d4e 100644 --- a/css/reveal.min.css +++ b/css/reveal.min.css @@ -4,4 +4,4 @@ * MIT licensed * * Copyright (C) 2013 Hakim El Hattab, http://hakim.se - */ html,body,.reveal div,.reveal span,.reveal applet,.reveal object,.reveal iframe,.reveal h1,.reveal h2,.reveal h3,.reveal h4,.reveal h5,.reveal h6,.reveal p,.reveal blockquote,.reveal pre,.reveal a,.reveal abbr,.reveal acronym,.reveal address,.reveal big,.reveal cite,.reveal code,.reveal del,.reveal dfn,.reveal em,.reveal img,.reveal ins,.reveal kbd,.reveal q,.reveal s,.reveal samp,.reveal small,.reveal strike,.reveal strong,.reveal sub,.reveal sup,.reveal tt,.reveal var,.reveal b,.reveal u,.reveal i,.reveal center,.reveal dl,.reveal dt,.reveal dd,.reveal ol,.reveal ul,.reveal li,.reveal fieldset,.reveal form,.reveal label,.reveal legend,.reveal table,.reveal caption,.reveal tbody,.reveal tfoot,.reveal thead,.reveal tr,.reveal th,.reveal td,.reveal article,.reveal aside,.reveal canvas,.reveal details,.reveal embed,.reveal figure,.reveal figcaption,.reveal footer,.reveal header,.reveal hgroup,.reveal menu,.reveal nav,.reveal output,.reveal ruby,.reveal section,.reveal summary,.reveal time,.reveal mark,.reveal audio,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}.reveal article,.reveal aside,.reveal details,.reveal figcaption,.reveal figure,.reveal footer,.reveal header,.reveal hgroup,.reveal menu,.reveal nav,.reveal section{display:block}html,body{width:100%;height:100%;overflow:hidden}body{position:relative;line-height:1}::selection{background:#FF5E99;color:#fff;text-shadow:none}.reveal h1,.reveal h2,.reveal h3,.reveal h4,.reveal h5,.reveal h6{-webkit-hyphens:auto;-moz-hyphens:auto;hyphens:auto;word-wrap:break-word}.reveal h1{font-size:3.77em}.reveal h2{font-size:2.11em}.reveal h3{font-size:1.55em}.reveal h4{font-size:1em}.reveal .slides section .fragment{opacity:0;-webkit-transition:all .2s ease;-moz-transition:all .2s ease;-ms-transition:all .2s ease;-o-transition:all .2s ease;transition:all .2s ease}.reveal .slides section .fragment.visible{opacity:1}.reveal .slides section .fragment.grow{opacity:1}.reveal .slides section .fragment.grow.visible{-webkit-transform:scale(1.3);-moz-transform:scale(1.3);-ms-transform:scale(1.3);-o-transform:scale(1.3);transform:scale(1.3)}.reveal .slides section .fragment.shrink{opacity:1}.reveal .slides section .fragment.shrink.visible{-webkit-transform:scale(0.7);-moz-transform:scale(0.7);-ms-transform:scale(0.7);-o-transform:scale(0.7);transform:scale(0.7)}.reveal .slides section .fragment.zoom-in{opacity:0;-webkit-transform:scale(0.1);-moz-transform:scale(0.1);-ms-transform:scale(0.1);-o-transform:scale(0.1);transform:scale(0.1)}.reveal .slides section .fragment.zoom-in.visible{opacity:1;-webkit-transform:scale(1);-moz-transform:scale(1);-ms-transform:scale(1);-o-transform:scale(1);transform:scale(1)}.reveal .slides section .fragment.roll-in{opacity:0;-webkit-transform:rotateX(90deg);-moz-transform:rotateX(90deg);-ms-transform:rotateX(90deg);-o-transform:rotateX(90deg);transform:rotateX(90deg)}.reveal .slides section .fragment.roll-in.visible{opacity:1;-webkit-transform:rotateX(0);-moz-transform:rotateX(0);-ms-transform:rotateX(0);-o-transform:rotateX(0);transform:rotateX(0)}.reveal .slides section .fragment.fade-out{opacity:1}.reveal .slides section .fragment.fade-out.visible{opacity:0}.reveal .slides section .fragment.highlight-red,.reveal .slides section .fragment.highlight-green,.reveal .slides section .fragment.highlight-blue{opacity:1}.reveal .slides section .fragment.highlight-red.visible{color:#ff2c2d}.reveal .slides section .fragment.highlight-green.visible{color:#17ff2e}.reveal .slides section .fragment.highlight-blue.visible{color:#1b91ff}.reveal:after{content:'';font-style:italic}.reveal img,.reveal video,.reveal iframe{max-width:95%;max-height:95%}.reveal a{position:relative}.reveal strong,.reveal b{font-weight:700}.reveal em,.reveal i{font-style:italic}.reveal ol,.reveal ul{display:inline-block;text-align:left;margin:0 0 0 1em}.reveal ol{list-style-type:decimal}.reveal ul{list-style-type:disc}.reveal ul ul{list-style-type:square}.reveal ul ul ul{list-style-type:circle}.reveal ul ul,.reveal ul ol,.reveal ol ol,.reveal ol ul{display:block;margin-left:40px}.reveal p{margin-bottom:10px;line-height:1.2em}.reveal q,.reveal blockquote{quotes:none}.reveal blockquote{display:block;position:relative;width:70%;margin:5px auto;padding:5px;font-style:italic;background:rgba(255,255,255,.05);box-shadow:0 0 2px rgba(0,0,0,.2)}.reveal blockquote p:first-child,.reveal blockquote p:last-child{display:inline-block}.reveal q{font-style:italic}.reveal pre{display:block;position:relative;width:90%;margin:15px auto;text-align:left;font-size:.55em;font-family:monospace;line-height:1.2em;word-wrap:break-word;box-shadow:0 0 6px rgba(0,0,0,.3)}.reveal code{font-family:monospace}.reveal pre code{padding:5px;overflow:auto;max-height:400px;word-wrap:normal}.reveal table th,.reveal table td{text-align:left;padding-right:.3em}.reveal table th{text-shadow:#fff 1px 1px 2px}.reveal sup{vertical-align:super}.reveal sub{vertical-align:sub}.reveal small{display:inline-block;font-size:.6em;line-height:1.2em;vertical-align:top}.reveal small *{vertical-align:top}.reveal .controls{display:none;position:fixed;width:110px;height:110px;z-index:30;right:10px;bottom:10px}.reveal .controls div{position:absolute;opacity:.05;width:0;height:0;border:12px solid transparent;-moz-transform:scale(.9999);-webkit-transition:all .2s ease;-moz-transition:all .2s ease;-ms-transition:all .2s ease;-o-transition:all .2s ease;transition:all .2s ease}.reveal .controls div.enabled{opacity:.7;cursor:pointer}.reveal .controls div.enabled:active{margin-top:1px}.reveal .controls div.navigate-left{top:42px;border-right-width:22px;border-right-color:#eee}.reveal .controls div.navigate-left.fragmented{opacity:.3}.reveal .controls div.navigate-right{left:74px;top:42px;border-left-width:22px;border-left-color:#eee}.reveal .controls div.navigate-right.fragmented{opacity:.3}.reveal .controls div.navigate-up{left:42px;border-bottom-width:22px;border-bottom-color:#eee}.reveal .controls div.navigate-up.fragmented{opacity:.3}.reveal .controls div.navigate-down{left:42px;top:74px;border-top-width:22px;border-top-color:#eee}.reveal .controls div.navigate-down.fragmented{opacity:.3}.reveal .progress{position:fixed;display:none;height:3px;width:100%;bottom:0;left:0;z-index:10}.reveal .progress:after{content:'';display:'block';position:absolute;height:20px;width:100%;top:-20px}.reveal .progress span{display:block;height:100%;width:0;-webkit-transition:width 800ms cubic-bezier(0.26,.86,.44,.985);-moz-transition:width 800ms cubic-bezier(0.26,.86,.44,.985);-ms-transition:width 800ms cubic-bezier(0.26,.86,.44,.985);-o-transition:width 800ms cubic-bezier(0.26,.86,.44,.985);transition:width 800ms cubic-bezier(0.26,.86,.44,.985)}.reveal .roll{display:inline-block;line-height:1.2;overflow:hidden;vertical-align:top;-webkit-perspective:400px;-moz-perspective:400px;-ms-perspective:400px;perspective:400px;-webkit-perspective-origin:50% 50%;-moz-perspective-origin:50% 50%;-ms-perspective-origin:50% 50%;perspective-origin:50% 50%}.reveal .roll:hover{background:0;text-shadow:none}.reveal .roll span{display:block;position:relative;padding:0 2px;pointer-events:none;-webkit-transition:all 400ms ease;-moz-transition:all 400ms ease;-ms-transition:all 400ms ease;transition:all 400ms ease;-webkit-transform-origin:50% 0;-moz-transform-origin:50% 0;-ms-transform-origin:50% 0;transform-origin:50% 0;-webkit-transform-style:preserve-3d;-moz-transform-style:preserve-3d;-ms-transform-style:preserve-3d;transform-style:preserve-3d;-webkit-backface-visibility:hidden;-moz-backface-visibility:hidden;backface-visibility:hidden}.reveal .roll:hover span{background:rgba(0,0,0,.5);-webkit-transform:translate3d(0px,0,-45px) rotateX(90deg);-moz-transform:translate3d(0px,0,-45px) rotateX(90deg);-ms-transform:translate3d(0px,0,-45px) rotateX(90deg);transform:translate3d(0px,0,-45px) rotateX(90deg)}.reveal .roll span:after{content:attr(data-title);display:block;position:absolute;left:0;top:0;padding:0 2px;-webkit-backface-visibility:hidden;-moz-backface-visibility:hidden;backface-visibility:hidden;-webkit-transform-origin:50% 0;-moz-transform-origin:50% 0;-ms-transform-origin:50% 0;transform-origin:50% 0;-webkit-transform:translate3d(0px,110%,0) rotateX(-90deg);-moz-transform:translate3d(0px,110%,0) rotateX(-90deg);-ms-transform:translate3d(0px,110%,0) rotateX(-90deg);transform:translate3d(0px,110%,0) rotateX(-90deg)}.reveal{position:relative;width:100%;height:100%;-ms-touch-action:none}.reveal .slides{position:absolute;width:100%;height:100%;left:50%;top:50%;overflow:visible;z-index:1;text-align:center;-webkit-transition:-webkit-perspective .4s ease;-moz-transition:-moz-perspective .4s ease;-ms-transition:-ms-perspective .4s ease;-o-transition:-o-perspective .4s ease;transition:perspective .4s ease;-webkit-perspective:600px;-moz-perspective:600px;-ms-perspective:600px;perspective:600px;-webkit-perspective-origin:0 -100px;-moz-perspective-origin:0 -100px;-ms-perspective-origin:0 -100px;perspective-origin:0 -100px}.reveal .slides>section,.reveal .slides>section>section{display:none;position:absolute;width:100%;padding:20px 0;z-index:10;line-height:1.2em;font-weight:400;-webkit-transform-style:preserve-3d;-moz-transform-style:preserve-3d;-ms-transform-style:preserve-3d;transform-style:preserve-3d;-webkit-transition:-webkit-transform-origin 800ms cubic-bezier(0.26,.86,.44,.985),-webkit-transform 800ms cubic-bezier(0.26,.86,.44,.985),visibility 800ms cubic-bezier(0.26,.86,.44,.985),opacity 800ms cubic-bezier(0.26,.86,.44,.985);-moz-transition:-moz-transform-origin 800ms cubic-bezier(0.26,.86,.44,.985),-moz-transform 800ms cubic-bezier(0.26,.86,.44,.985),visibility 800ms cubic-bezier(0.26,.86,.44,.985),opacity 800ms cubic-bezier(0.26,.86,.44,.985);-ms-transition:-ms-transform-origin 800ms cubic-bezier(0.26,.86,.44,.985),-ms-transform 800ms cubic-bezier(0.26,.86,.44,.985),visibility 800ms cubic-bezier(0.26,.86,.44,.985),opacity 800ms cubic-bezier(0.26,.86,.44,.985);-o-transition:-o-transform-origin 800ms cubic-bezier(0.26,.86,.44,.985),-o-transform 800ms cubic-bezier(0.26,.86,.44,.985),visibility 800ms cubic-bezier(0.26,.86,.44,.985),opacity 800ms cubic-bezier(0.26,.86,.44,.985);transition:transform-origin 800ms cubic-bezier(0.26,.86,.44,.985),transform 800ms cubic-bezier(0.26,.86,.44,.985),visibility 800ms cubic-bezier(0.26,.86,.44,.985),opacity 800ms cubic-bezier(0.26,.86,.44,.985)}.reveal[data-transition-speed=fast] .slides section{-webkit-transition-duration:400ms;-moz-transition-duration:400ms;-ms-transition-duration:400ms;transition-duration:400ms}.reveal[data-transition-speed=slow] .slides section{-webkit-transition-duration:1200ms;-moz-transition-duration:1200ms;-ms-transition-duration:1200ms;transition-duration:1200ms}.reveal .slides section[data-transition-speed=fast]{-webkit-transition-duration:400ms;-moz-transition-duration:400ms;-ms-transition-duration:400ms;transition-duration:400ms}.reveal .slides section[data-transition-speed=slow]{-webkit-transition-duration:1200ms;-moz-transition-duration:1200ms;-ms-transition-duration:1200ms;transition-duration:1200ms}.reveal .slides>section{left:-50%;top:-50%}.reveal .slides>section.stack{padding-top:0;padding-bottom:0}.reveal .slides>section.present,.reveal .slides>section>section.present{display:block;z-index:11;opacity:1}.reveal.center,.reveal.center .slides,.reveal.center .slides section{min-height:auto!important}.reveal .slides>section[data-transition=default].past,.reveal .slides>section.past{display:block;opacity:0;-webkit-transform:translate3d(-100%,0,0) rotateY(-90deg) translate3d(-100%,0,0);-moz-transform:translate3d(-100%,0,0) rotateY(-90deg) translate3d(-100%,0,0);-ms-transform:translate3d(-100%,0,0) rotateY(-90deg) translate3d(-100%,0,0);transform:translate3d(-100%,0,0) rotateY(-90deg) translate3d(-100%,0,0)}.reveal .slides>section[data-transition=default].future,.reveal .slides>section.future{display:block;opacity:0;-webkit-transform:translate3d(100%,0,0) rotateY(90deg) translate3d(100%,0,0);-moz-transform:translate3d(100%,0,0) rotateY(90deg) translate3d(100%,0,0);-ms-transform:translate3d(100%,0,0) rotateY(90deg) translate3d(100%,0,0);transform:translate3d(100%,0,0) rotateY(90deg) translate3d(100%,0,0)}.reveal .slides>section>section[data-transition=default].past,.reveal .slides>section>section.past{display:block;opacity:0;-webkit-transform:translate3d(0,-300px,0) rotateX(70deg) translate3d(0,-300px,0);-moz-transform:translate3d(0,-300px,0) rotateX(70deg) translate3d(0,-300px,0);-ms-transform:translate3d(0,-300px,0) rotateX(70deg) translate3d(0,-300px,0);transform:translate3d(0,-300px,0) rotateX(70deg) translate3d(0,-300px,0)}.reveal .slides>section>section[data-transition=default].future,.reveal .slides>section>section.future{display:block;opacity:0;-webkit-transform:translate3d(0,300px,0) rotateX(-70deg) translate3d(0,300px,0);-moz-transform:translate3d(0,300px,0) rotateX(-70deg) translate3d(0,300px,0);-ms-transform:translate3d(0,300px,0) rotateX(-70deg) translate3d(0,300px,0);transform:translate3d(0,300px,0) rotateX(-70deg) translate3d(0,300px,0)}.reveal .slides>section[data-transition=concave].past,.reveal.concave .slides>section.past{-webkit-transform:translate3d(-100%,0,0) rotateY(90deg) translate3d(-100%,0,0);-moz-transform:translate3d(-100%,0,0) rotateY(90deg) translate3d(-100%,0,0);-ms-transform:translate3d(-100%,0,0) rotateY(90deg) translate3d(-100%,0,0);transform:translate3d(-100%,0,0) rotateY(90deg) translate3d(-100%,0,0)}.reveal .slides>section[data-transition=concave].future,.reveal.concave .slides>section.future{-webkit-transform:translate3d(100%,0,0) rotateY(-90deg) translate3d(100%,0,0);-moz-transform:translate3d(100%,0,0) rotateY(-90deg) translate3d(100%,0,0);-ms-transform:translate3d(100%,0,0) rotateY(-90deg) translate3d(100%,0,0);transform:translate3d(100%,0,0) rotateY(-90deg) translate3d(100%,0,0)}.reveal .slides>section>section[data-transition=concave].past,.reveal.concave .slides>section>section.past{-webkit-transform:translate3d(0,-80%,0) rotateX(-70deg) translate3d(0,-80%,0);-moz-transform:translate3d(0,-80%,0) rotateX(-70deg) translate3d(0,-80%,0);-ms-transform:translate3d(0,-80%,0) rotateX(-70deg) translate3d(0,-80%,0);transform:translate3d(0,-80%,0) rotateX(-70deg) translate3d(0,-80%,0)}.reveal .slides>section>section[data-transition=concave].future,.reveal.concave .slides>section>section.future{-webkit-transform:translate3d(0,80%,0) rotateX(70deg) translate3d(0,80%,0);-moz-transform:translate3d(0,80%,0) rotateX(70deg) translate3d(0,80%,0);-ms-transform:translate3d(0,80%,0) rotateX(70deg) translate3d(0,80%,0);transform:translate3d(0,80%,0) rotateX(70deg) translate3d(0,80%,0)}.reveal .slides>section[data-transition=zoom].past,.reveal.zoom .slides>section.past{opacity:0;visibility:hidden;-webkit-transform:scale(16);-moz-transform:scale(16);-ms-transform:scale(16);-o-transform:scale(16);transform:scale(16)}.reveal .slides>section[data-transition=zoom].future,.reveal.zoom .slides>section.future{opacity:0;visibility:hidden;-webkit-transform:scale(0.2);-moz-transform:scale(0.2);-ms-transform:scale(0.2);-o-transform:scale(0.2);transform:scale(0.2)}.reveal .slides>section>section[data-transition=zoom].past,.reveal.zoom .slides>section>section.past{-webkit-transform:translate(0,-150%);-moz-transform:translate(0,-150%);-ms-transform:translate(0,-150%);-o-transform:translate(0,-150%);transform:translate(0,-150%)}.reveal .slides>section>section[data-transition=zoom].future,.reveal.zoom .slides>section>section.future{-webkit-transform:translate(0,150%);-moz-transform:translate(0,150%);-ms-transform:translate(0,150%);-o-transform:translate(0,150%);transform:translate(0,150%)}.reveal.linear section{-webkit-backface-visibility:hidden;-moz-backface-visibility:hidden;-ms-backface-visibility:hidden;backface-visibility:hidden}.reveal .slides>section[data-transition=linear].past,.reveal.linear .slides>section.past{-webkit-transform:translate(-150%,0);-moz-transform:translate(-150%,0);-ms-transform:translate(-150%,0);-o-transform:translate(-150%,0);transform:translate(-150%,0)}.reveal .slides>section[data-transition=linear].future,.reveal.linear .slides>section.future{-webkit-transform:translate(150%,0);-moz-transform:translate(150%,0);-ms-transform:translate(150%,0);-o-transform:translate(150%,0);transform:translate(150%,0)}.reveal .slides>section>section[data-transition=linear].past,.reveal.linear .slides>section>section.past{-webkit-transform:translate(0,-150%);-moz-transform:translate(0,-150%);-ms-transform:translate(0,-150%);-o-transform:translate(0,-150%);transform:translate(0,-150%)}.reveal .slides>section>section[data-transition=linear].future,.reveal.linear .slides>section>section.future{-webkit-transform:translate(0,150%);-moz-transform:translate(0,150%);-ms-transform:translate(0,150%);-o-transform:translate(0,150%);transform:translate(0,150%)}.reveal.cube .slides{-webkit-perspective:1300px;-moz-perspective:1300px;-ms-perspective:1300px;perspective:1300px}.reveal.cube .slides section{padding:30px;min-height:700px;-webkit-backface-visibility:hidden;-moz-backface-visibility:hidden;-ms-backface-visibility:hidden;backface-visibility:hidden;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.reveal.center.cube .slides section{min-height:auto}.reveal.cube .slides section:not(.stack):before{content:'';position:absolute;display:block;width:100%;height:100%;left:0;top:0;background:rgba(0,0,0,.1);border-radius:4px;-webkit-transform:translateZ(-20px);-moz-transform:translateZ(-20px);-ms-transform:translateZ(-20px);-o-transform:translateZ(-20px);transform:translateZ(-20px)}.reveal.cube .slides section:not(.stack):after{content:'';position:absolute;display:block;width:90%;height:30px;left:5%;bottom:0;background:0;z-index:1;border-radius:4px;box-shadow:0 95px 25px rgba(0,0,0,.2);-webkit-transform:translateZ(-90px) rotateX(65deg);-moz-transform:translateZ(-90px) rotateX(65deg);-ms-transform:translateZ(-90px) rotateX(65deg);-o-transform:translateZ(-90px) rotateX(65deg);transform:translateZ(-90px) rotateX(65deg)}.reveal.cube .slides>section.stack{padding:0;background:0}.reveal.cube .slides>section.past{-webkit-transform-origin:100% 0;-moz-transform-origin:100% 0;-ms-transform-origin:100% 0;transform-origin:100% 0;-webkit-transform:translate3d(-100%,0,0) rotateY(-90deg);-moz-transform:translate3d(-100%,0,0) rotateY(-90deg);-ms-transform:translate3d(-100%,0,0) rotateY(-90deg);transform:translate3d(-100%,0,0) rotateY(-90deg)}.reveal.cube .slides>section.future{-webkit-transform-origin:0 0;-moz-transform-origin:0 0;-ms-transform-origin:0 0;transform-origin:0 0;-webkit-transform:translate3d(100%,0,0) rotateY(90deg);-moz-transform:translate3d(100%,0,0) rotateY(90deg);-ms-transform:translate3d(100%,0,0) rotateY(90deg);transform:translate3d(100%,0,0) rotateY(90deg)}.reveal.cube .slides>section>section.past{-webkit-transform-origin:0 100%;-moz-transform-origin:0 100%;-ms-transform-origin:0 100%;transform-origin:0 100%;-webkit-transform:translate3d(0,-100%,0) rotateX(90deg);-moz-transform:translate3d(0,-100%,0) rotateX(90deg);-ms-transform:translate3d(0,-100%,0) rotateX(90deg);transform:translate3d(0,-100%,0) rotateX(90deg)}.reveal.cube .slides>section>section.future{-webkit-transform-origin:0 0;-moz-transform-origin:0 0;-ms-transform-origin:0 0;transform-origin:0 0;-webkit-transform:translate3d(0,100%,0) rotateX(-90deg);-moz-transform:translate3d(0,100%,0) rotateX(-90deg);-ms-transform:translate3d(0,100%,0) rotateX(-90deg);transform:translate3d(0,100%,0) rotateX(-90deg)}.reveal.page .slides{-webkit-perspective-origin:0 50%;-moz-perspective-origin:0 50%;-ms-perspective-origin:0 50%;perspective-origin:0 50%;-webkit-perspective:3000px;-moz-perspective:3000px;-ms-perspective:3000px;perspective:3000px}.reveal.page .slides section{padding:30px;min-height:700px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.reveal.page .slides section.past{z-index:12}.reveal.page .slides section:not(.stack):before{content:'';position:absolute;display:block;width:100%;height:100%;left:0;top:0;background:rgba(0,0,0,.1);-webkit-transform:translateZ(-20px);-moz-transform:translateZ(-20px);-ms-transform:translateZ(-20px);-o-transform:translateZ(-20px);transform:translateZ(-20px)}.reveal.page .slides section:not(.stack):after{content:'';position:absolute;display:block;width:90%;height:30px;left:5%;bottom:0;background:0;z-index:1;border-radius:4px;box-shadow:0 95px 25px rgba(0,0,0,.2);-webkit-transform:translateZ(-90px) rotateX(65deg)}.reveal.page .slides>section.stack{padding:0;background:0}.reveal.page .slides>section.past{-webkit-transform-origin:0 0;-moz-transform-origin:0 0;-ms-transform-origin:0 0;transform-origin:0 0;-webkit-transform:translate3d(-40%,0,0) rotateY(-80deg);-moz-transform:translate3d(-40%,0,0) rotateY(-80deg);-ms-transform:translate3d(-40%,0,0) rotateY(-80deg);transform:translate3d(-40%,0,0) rotateY(-80deg)}.reveal.page .slides>section.future{-webkit-transform-origin:100% 0;-moz-transform-origin:100% 0;-ms-transform-origin:100% 0;transform-origin:100% 0;-webkit-transform:translate3d(0,0,0);-moz-transform:translate3d(0,0,0);-ms-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}.reveal.page .slides>section>section.past{-webkit-transform-origin:0 0;-moz-transform-origin:0 0;-ms-transform-origin:0 0;transform-origin:0 0;-webkit-transform:translate3d(0,-40%,0) rotateX(80deg);-moz-transform:translate3d(0,-40%,0) rotateX(80deg);-ms-transform:translate3d(0,-40%,0) rotateX(80deg);transform:translate3d(0,-40%,0) rotateX(80deg)}.reveal.page .slides>section>section.future{-webkit-transform-origin:0 100%;-moz-transform-origin:0 100%;-ms-transform-origin:0 100%;transform-origin:0 100%;-webkit-transform:translate3d(0,0,0);-moz-transform:translate3d(0,0,0);-ms-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}.reveal .slides section[data-transition=fade],.reveal.fade .slides section,.reveal.fade .slides>section>section{-webkit-transform:none;-moz-transform:none;-ms-transform:none;-o-transform:none;transform:none;-webkit-transition:opacity .5s;-moz-transition:opacity .5s;-ms-transition:opacity .5s;-o-transition:opacity .5s;transition:opacity .5s}.reveal.fade.overview .slides section,.reveal.fade.overview .slides>section>section,.reveal.fade.exit-overview .slides section,.reveal.fade.exit-overview .slides>section>section{-webkit-transition:none;-moz-transition:none;-ms-transition:none;-o-transition:none;transition:none}.reveal .slides section[data-transition=none],.reveal.none .slides section{-webkit-transform:none;-moz-transform:none;-ms-transform:none;-o-transform:none;transform:none;-webkit-transition:none;-moz-transition:none;-ms-transition:none;-o-transition:none;transition:none}.reveal.overview .slides{-webkit-perspective-origin:0 0;-moz-perspective-origin:0 0;-ms-perspective-origin:0 0;perspective-origin:0 0;-webkit-perspective:700px;-moz-perspective:700px;-ms-perspective:700px;perspective:700px}.reveal.overview .slides section{height:600px;overflow:hidden;opacity:1!important;visibility:visible!important;cursor:pointer;background:rgba(0,0,0,.1)}.reveal.overview .slides section .fragment{opacity:1}.reveal.overview .slides section:after,.reveal.overview .slides section:before{display:none!important}.reveal.overview .slides section>section{opacity:1;cursor:pointer}.reveal.overview .slides section:hover{background:rgba(0,0,0,.3)}.reveal.overview .slides section.present{background:rgba(0,0,0,.3)}.reveal.overview .slides>section.stack{padding:0;background:0;overflow:visible}.reveal .pause-overlay{position:absolute;top:0;left:0;width:100%;height:100%;background:#000;visibility:hidden;opacity:0;z-index:100;-webkit-transition:all 1s ease;-moz-transition:all 1s ease;-ms-transition:all 1s ease;-o-transition:all 1s ease;transition:all 1s ease}.reveal.paused .pause-overlay{visibility:visible;opacity:1}.no-transforms{overflow-y:auto}.no-transforms .reveal .slides{position:relative;width:80%;height:auto!important;top:0;left:50%;margin:0;text-align:center}.no-transforms .reveal .controls,.no-transforms .reveal .progress{display:none!important}.no-transforms .reveal .slides section{display:block!important;opacity:1!important;position:relative!important;height:auto;min-height:auto;top:0;left:-50%;margin:70px 0;-webkit-transform:none;-moz-transform:none;-ms-transform:none;-o-transform:none;transform:none}.no-transforms .reveal .slides section section{left:0}.reveal .no-transition,.reveal .no-transition *{-webkit-transition:none!important;-moz-transition:none!important;-ms-transition:none!important;-o-transition:none!important;transition:none!important}.reveal .state-background{position:absolute;width:100%;height:100%;background:rgba(0,0,0,0);-webkit-transition:background 800ms ease;-moz-transition:background 800ms ease;-ms-transition:background 800ms ease;-o-transition:background 800ms ease;transition:background 800ms ease}.alert .reveal .state-background{background:rgba(200,50,30,.6)}.soothe .reveal .state-background{background:rgba(50,200,90,.4)}.blackout .reveal .state-background{background:rgba(0,0,0,.6)}.whiteout .reveal .state-background{background:rgba(255,255,255,.6)}.cobalt .reveal .state-background{background:rgba(22,152,213,.6)}.mint .reveal .state-background{background:rgba(22,213,75,.6)}.submerge .reveal .state-background{background:rgba(12,25,77,.6)}.lila .reveal .state-background{background:rgba(180,50,140,.6)}.sunset .reveal .state-background{background:rgba(255,122,0,.6)}.reveal>.background{position:absolute;width:100%;height:100%}.reveal .slide-background{position:absolute;width:100%;height:100%;opacity:0;visibility:hidden;background-color:rgba(0,0,0,0);background-position:50% 50%;background-repeat:no-repeat;background-size:cover;-webkit-transition:all 650ms ease;-moz-transition:all 650ms ease;-ms-transition:all 650ms ease;-o-transition:all 650ms ease;transition:all 650ms ease}.reveal .slide-background.present{opacity:1;visibility:visible}.print-pdf .reveal .slide-background{opacity:1!important;visibility:visible!important}.reveal[data-background-transition=linear]>.background .slide-background{opacity:1;-webkit-backface-visibility:hidden;-moz-backface-visibility:hidden;-ms-backface-visibility:hidden;backface-visibility:hidden}.reveal[data-background-transition=linear]>.background .slide-background.past{-webkit-transform:translate(-100%,0);-moz-transform:translate(-100%,0);-ms-transform:translate(-100%,0);-o-transform:translate(-100%,0);transform:translate(-100%,0)}.reveal[data-background-transition=linear]>.background .slide-background.future{-webkit-transform:translate(100%,0);-moz-transform:translate(100%,0);-ms-transform:translate(100%,0);-o-transform:translate(100%,0);transform:translate(100%,0)}.reveal[data-background-transition=linear]>.background .slide-background>.slide-background.past{-webkit-transform:translate(0,-100%);-moz-transform:translate(0,-100%);-ms-transform:translate(0,-100%);-o-transform:translate(0,-100%);transform:translate(0,-100%)}.reveal[data-background-transition=linear]>.background .slide-background>.slide-background.future{-webkit-transform:translate(0,100%);-moz-transform:translate(0,100%);-ms-transform:translate(0,100%);-o-transform:translate(0,100%);transform:translate(0,100%)}.reveal[data-transition-speed=fast]>.background .slide-background{-webkit-transition-duration:300ms;-moz-transition-duration:300ms;-ms-transition-duration:300ms;transition-duration:300ms}.reveal[data-transition-speed=slow]>.background .slide-background{-webkit-transition-duration:900ms;-moz-transition-duration:900ms;-ms-transition-duration:900ms;transition-duration:900ms}.reveal.rtl .slides,.reveal.rtl .slides h1,.reveal.rtl .slides h2,.reveal.rtl .slides h3,.reveal.rtl .slides h4,.reveal.rtl .slides h5,.reveal.rtl .slides h6{direction:rtl;font-family:sans-serif}.reveal.rtl pre,.reveal.rtl code{direction:ltr}.reveal.rtl ol,.reveal.rtl ul{text-align:right}.reveal.rtl .progress span{float:right}.reveal aside.notes{display:none}.zoomed .reveal *,.zoomed .reveal :before,.zoomed .reveal :after{-webkit-transform:none!important;-moz-transform:none!important;-ms-transform:none!important;transform:none!important;-webkit-backface-visibility:visible!important;-moz-backface-visibility:visible!important;-ms-backface-visibility:visible!important;backface-visibility:visible!important}.zoomed .reveal .progress,.zoomed .reveal .controls{opacity:0}.zoomed .reveal .roll span{background:0}.zoomed .reveal .roll span:after{visibility:hidden} \ No newline at end of file + */ html,body,.reveal div,.reveal span,.reveal applet,.reveal object,.reveal iframe,.reveal h1,.reveal h2,.reveal h3,.reveal h4,.reveal h5,.reveal h6,.reveal p,.reveal blockquote,.reveal pre,.reveal a,.reveal abbr,.reveal acronym,.reveal address,.reveal big,.reveal cite,.reveal code,.reveal del,.reveal dfn,.reveal em,.reveal img,.reveal ins,.reveal kbd,.reveal q,.reveal s,.reveal samp,.reveal small,.reveal strike,.reveal strong,.reveal sub,.reveal sup,.reveal tt,.reveal var,.reveal b,.reveal u,.reveal i,.reveal center,.reveal dl,.reveal dt,.reveal dd,.reveal ol,.reveal ul,.reveal li,.reveal fieldset,.reveal form,.reveal label,.reveal legend,.reveal table,.reveal caption,.reveal tbody,.reveal tfoot,.reveal thead,.reveal tr,.reveal th,.reveal td,.reveal article,.reveal aside,.reveal canvas,.reveal details,.reveal embed,.reveal figure,.reveal figcaption,.reveal footer,.reveal header,.reveal hgroup,.reveal menu,.reveal nav,.reveal output,.reveal ruby,.reveal section,.reveal summary,.reveal time,.reveal mark,.reveal audio,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}.reveal article,.reveal aside,.reveal details,.reveal figcaption,.reveal figure,.reveal footer,.reveal header,.reveal hgroup,.reveal menu,.reveal nav,.reveal section{display:block}html,body{width:100%;height:100%;overflow:hidden}body{position:relative;line-height:1}::selection{background:#FF5E99;color:#fff;text-shadow:none}.reveal h1,.reveal h2,.reveal h3,.reveal h4,.reveal h5,.reveal h6{-webkit-hyphens:auto;-moz-hyphens:auto;hyphens:auto;word-wrap:break-word}.reveal h1{font-size:3.77em}.reveal h2{font-size:2.11em}.reveal h3{font-size:1.55em}.reveal h4{font-size:1em}.reveal .slides section .fragment{opacity:0;-webkit-transition:all .2s ease;-moz-transition:all .2s ease;-ms-transition:all .2s ease;-o-transition:all .2s ease;transition:all .2s ease}.reveal .slides section .fragment.visible{opacity:1}.reveal .slides section .fragment.grow{opacity:1}.reveal .slides section .fragment.grow.visible{-webkit-transform:scale(1.3);-moz-transform:scale(1.3);-ms-transform:scale(1.3);-o-transform:scale(1.3);transform:scale(1.3)}.reveal .slides section .fragment.shrink{opacity:1}.reveal .slides section .fragment.shrink.visible{-webkit-transform:scale(0.7);-moz-transform:scale(0.7);-ms-transform:scale(0.7);-o-transform:scale(0.7);transform:scale(0.7)}.reveal .slides section .fragment.zoom-in{opacity:0;-webkit-transform:scale(0.1);-moz-transform:scale(0.1);-ms-transform:scale(0.1);-o-transform:scale(0.1);transform:scale(0.1)}.reveal .slides section .fragment.zoom-in.visible{opacity:1;-webkit-transform:scale(1);-moz-transform:scale(1);-ms-transform:scale(1);-o-transform:scale(1);transform:scale(1)}.reveal .slides section .fragment.roll-in{opacity:0;-webkit-transform:rotateX(90deg);-moz-transform:rotateX(90deg);-ms-transform:rotateX(90deg);-o-transform:rotateX(90deg);transform:rotateX(90deg)}.reveal .slides section .fragment.roll-in.visible{opacity:1;-webkit-transform:rotateX(0);-moz-transform:rotateX(0);-ms-transform:rotateX(0);-o-transform:rotateX(0);transform:rotateX(0)}.reveal .slides section .fragment.fade-out{opacity:1}.reveal .slides section .fragment.fade-out.visible{opacity:0}.reveal .slides section .fragment.highlight-red,.reveal .slides section .fragment.highlight-green,.reveal .slides section .fragment.highlight-blue{opacity:1}.reveal .slides section .fragment.highlight-red.visible{color:#ff2c2d}.reveal .slides section .fragment.highlight-green.visible{color:#17ff2e}.reveal .slides section .fragment.highlight-blue.visible{color:#1b91ff}.reveal:after{content:'';font-style:italic}.reveal img,.reveal video,.reveal iframe{max-width:95%;max-height:95%}.reveal a{position:relative}.reveal strong,.reveal b{font-weight:700}.reveal em,.reveal i{font-style:italic}.reveal ol,.reveal ul{display:inline-block;text-align:left;margin:0 0 0 1em}.reveal ol{list-style-type:decimal}.reveal ul{list-style-type:disc}.reveal ul ul{list-style-type:square}.reveal ul ul ul{list-style-type:circle}.reveal ul ul,.reveal ul ol,.reveal ol ol,.reveal ol ul{display:block;margin-left:40px}.reveal p{margin-bottom:10px;line-height:1.2em}.reveal q,.reveal blockquote{quotes:none}.reveal blockquote{display:block;position:relative;width:70%;margin:5px auto;padding:5px;font-style:italic;background:rgba(255,255,255,.05);box-shadow:0 0 2px rgba(0,0,0,.2)}.reveal blockquote p:first-child,.reveal blockquote p:last-child{display:inline-block}.reveal q{font-style:italic}.reveal pre{display:block;position:relative;width:90%;margin:15px auto;text-align:left;font-size:.55em;font-family:monospace;line-height:1.2em;word-wrap:break-word;box-shadow:0 0 6px rgba(0,0,0,.3)}.reveal code{font-family:monospace}.reveal pre code{padding:5px;overflow:auto;max-height:400px;word-wrap:normal}.reveal table th,.reveal table td{text-align:left;padding-right:.3em}.reveal table th{text-shadow:#fff 1px 1px 2px}.reveal sup{vertical-align:super}.reveal sub{vertical-align:sub}.reveal small{display:inline-block;font-size:.6em;line-height:1.2em;vertical-align:top}.reveal small *{vertical-align:top}.reveal .controls{display:none;position:fixed;width:110px;height:110px;z-index:30;right:10px;bottom:10px}.reveal .controls div{position:absolute;opacity:.05;width:0;height:0;border:12px solid transparent;-moz-transform:scale(.9999);-webkit-transition:all .2s ease;-moz-transition:all .2s ease;-ms-transition:all .2s ease;-o-transition:all .2s ease;transition:all .2s ease}.reveal .controls div.enabled{opacity:.7;cursor:pointer}.reveal .controls div.enabled:active{margin-top:1px}.reveal .controls div.navigate-left{top:42px;border-right-width:22px;border-right-color:#eee}.reveal .controls div.navigate-left.fragmented{opacity:.3}.reveal .controls div.navigate-right{left:74px;top:42px;border-left-width:22px;border-left-color:#eee}.reveal .controls div.navigate-right.fragmented{opacity:.3}.reveal .controls div.navigate-up{left:42px;border-bottom-width:22px;border-bottom-color:#eee}.reveal .controls div.navigate-up.fragmented{opacity:.3}.reveal .controls div.navigate-down{left:42px;top:74px;border-top-width:22px;border-top-color:#eee}.reveal .controls div.navigate-down.fragmented{opacity:.3}.reveal .progress{position:fixed;display:none;height:3px;width:100%;bottom:0;left:0;z-index:10}.reveal .progress:after{content:'';display:'block';position:absolute;height:20px;width:100%;top:-20px}.reveal .progress span{display:block;height:100%;width:0;-webkit-transition:width 800ms cubic-bezier(0.26,.86,.44,.985);-moz-transition:width 800ms cubic-bezier(0.26,.86,.44,.985);-ms-transition:width 800ms cubic-bezier(0.26,.86,.44,.985);-o-transition:width 800ms cubic-bezier(0.26,.86,.44,.985);transition:width 800ms cubic-bezier(0.26,.86,.44,.985)}.reveal .roll{display:inline-block;line-height:1.2;overflow:hidden;vertical-align:top;-webkit-perspective:400px;-moz-perspective:400px;-ms-perspective:400px;perspective:400px;-webkit-perspective-origin:50% 50%;-moz-perspective-origin:50% 50%;-ms-perspective-origin:50% 50%;perspective-origin:50% 50%}.reveal .roll:hover{background:0;text-shadow:none}.reveal .roll span{display:block;position:relative;padding:0 2px;pointer-events:none;-webkit-transition:all 400ms ease;-moz-transition:all 400ms ease;-ms-transition:all 400ms ease;transition:all 400ms ease;-webkit-transform-origin:50% 0;-moz-transform-origin:50% 0;-ms-transform-origin:50% 0;transform-origin:50% 0;-webkit-transform-style:preserve-3d;-moz-transform-style:preserve-3d;-ms-transform-style:preserve-3d;transform-style:preserve-3d;-webkit-backface-visibility:hidden;-moz-backface-visibility:hidden;backface-visibility:hidden}.reveal .roll:hover span{background:rgba(0,0,0,.5);-webkit-transform:translate3d(0px,0,-45px) rotateX(90deg);-moz-transform:translate3d(0px,0,-45px) rotateX(90deg);-ms-transform:translate3d(0px,0,-45px) rotateX(90deg);transform:translate3d(0px,0,-45px) rotateX(90deg)}.reveal .roll span:after{content:attr(data-title);display:block;position:absolute;left:0;top:0;padding:0 2px;-webkit-backface-visibility:hidden;-moz-backface-visibility:hidden;backface-visibility:hidden;-webkit-transform-origin:50% 0;-moz-transform-origin:50% 0;-ms-transform-origin:50% 0;transform-origin:50% 0;-webkit-transform:translate3d(0px,110%,0) rotateX(-90deg);-moz-transform:translate3d(0px,110%,0) rotateX(-90deg);-ms-transform:translate3d(0px,110%,0) rotateX(-90deg);transform:translate3d(0px,110%,0) rotateX(-90deg)}.reveal{position:relative;width:100%;height:100%;-ms-touch-action:none}.reveal .slides{position:absolute;width:100%;height:100%;left:50%;top:50%;overflow:visible;z-index:1;text-align:center;-webkit-transition:-webkit-perspective .4s ease;-moz-transition:-moz-perspective .4s ease;-ms-transition:-ms-perspective .4s ease;-o-transition:-o-perspective .4s ease;transition:perspective .4s ease;-webkit-perspective:600px;-moz-perspective:600px;-ms-perspective:600px;perspective:600px;-webkit-perspective-origin:0 -100px;-moz-perspective-origin:0 -100px;-ms-perspective-origin:0 -100px;perspective-origin:0 -100px}.reveal .slides>section,.reveal .slides>section>section{display:none;position:absolute;width:100%;padding:20px 0;z-index:10;line-height:1.2em;font-weight:400;-webkit-transform-style:preserve-3d;-moz-transform-style:preserve-3d;-ms-transform-style:preserve-3d;transform-style:preserve-3d;-webkit-transition:-webkit-transform-origin 800ms cubic-bezier(0.26,.86,.44,.985),-webkit-transform 800ms cubic-bezier(0.26,.86,.44,.985),visibility 800ms cubic-bezier(0.26,.86,.44,.985),opacity 800ms cubic-bezier(0.26,.86,.44,.985);-moz-transition:-moz-transform-origin 800ms cubic-bezier(0.26,.86,.44,.985),-moz-transform 800ms cubic-bezier(0.26,.86,.44,.985),visibility 800ms cubic-bezier(0.26,.86,.44,.985),opacity 800ms cubic-bezier(0.26,.86,.44,.985);-ms-transition:-ms-transform-origin 800ms cubic-bezier(0.26,.86,.44,.985),-ms-transform 800ms cubic-bezier(0.26,.86,.44,.985),visibility 800ms cubic-bezier(0.26,.86,.44,.985),opacity 800ms cubic-bezier(0.26,.86,.44,.985);-o-transition:-o-transform-origin 800ms cubic-bezier(0.26,.86,.44,.985),-o-transform 800ms cubic-bezier(0.26,.86,.44,.985),visibility 800ms cubic-bezier(0.26,.86,.44,.985),opacity 800ms cubic-bezier(0.26,.86,.44,.985);transition:transform-origin 800ms cubic-bezier(0.26,.86,.44,.985),transform 800ms cubic-bezier(0.26,.86,.44,.985),visibility 800ms cubic-bezier(0.26,.86,.44,.985),opacity 800ms cubic-bezier(0.26,.86,.44,.985)}.reveal[data-transition-speed=fast] .slides section{-webkit-transition-duration:400ms;-moz-transition-duration:400ms;-ms-transition-duration:400ms;transition-duration:400ms}.reveal[data-transition-speed=slow] .slides section{-webkit-transition-duration:1200ms;-moz-transition-duration:1200ms;-ms-transition-duration:1200ms;transition-duration:1200ms}.reveal .slides section[data-transition-speed=fast]{-webkit-transition-duration:400ms;-moz-transition-duration:400ms;-ms-transition-duration:400ms;transition-duration:400ms}.reveal .slides section[data-transition-speed=slow]{-webkit-transition-duration:1200ms;-moz-transition-duration:1200ms;-ms-transition-duration:1200ms;transition-duration:1200ms}.reveal .slides>section{left:-50%;top:-50%}.reveal .slides>section.stack{padding-top:0;padding-bottom:0}.reveal .slides>section.present,.reveal .slides>section>section.present{display:block;z-index:11;opacity:1}.reveal.center,.reveal.center .slides,.reveal.center .slides section{min-height:auto!important}.reveal .slides>section[data-transition=default].past,.reveal .slides>section.past{display:block;opacity:0;-webkit-transform:translate3d(-100%,0,0) rotateY(-90deg) translate3d(-100%,0,0);-moz-transform:translate3d(-100%,0,0) rotateY(-90deg) translate3d(-100%,0,0);-ms-transform:translate3d(-100%,0,0) rotateY(-90deg) translate3d(-100%,0,0);transform:translate3d(-100%,0,0) rotateY(-90deg) translate3d(-100%,0,0)}.reveal .slides>section[data-transition=default].future,.reveal .slides>section.future{display:block;opacity:0;-webkit-transform:translate3d(100%,0,0) rotateY(90deg) translate3d(100%,0,0);-moz-transform:translate3d(100%,0,0) rotateY(90deg) translate3d(100%,0,0);-ms-transform:translate3d(100%,0,0) rotateY(90deg) translate3d(100%,0,0);transform:translate3d(100%,0,0) rotateY(90deg) translate3d(100%,0,0)}.reveal .slides>section>section[data-transition=default].past,.reveal .slides>section>section.past{display:block;opacity:0;-webkit-transform:translate3d(0,-300px,0) rotateX(70deg) translate3d(0,-300px,0);-moz-transform:translate3d(0,-300px,0) rotateX(70deg) translate3d(0,-300px,0);-ms-transform:translate3d(0,-300px,0) rotateX(70deg) translate3d(0,-300px,0);transform:translate3d(0,-300px,0) rotateX(70deg) translate3d(0,-300px,0)}.reveal .slides>section>section[data-transition=default].future,.reveal .slides>section>section.future{display:block;opacity:0;-webkit-transform:translate3d(0,300px,0) rotateX(-70deg) translate3d(0,300px,0);-moz-transform:translate3d(0,300px,0) rotateX(-70deg) translate3d(0,300px,0);-ms-transform:translate3d(0,300px,0) rotateX(-70deg) translate3d(0,300px,0);transform:translate3d(0,300px,0) rotateX(-70deg) translate3d(0,300px,0)}.reveal .slides>section[data-transition=concave].past,.reveal.concave .slides>section.past{-webkit-transform:translate3d(-100%,0,0) rotateY(90deg) translate3d(-100%,0,0);-moz-transform:translate3d(-100%,0,0) rotateY(90deg) translate3d(-100%,0,0);-ms-transform:translate3d(-100%,0,0) rotateY(90deg) translate3d(-100%,0,0);transform:translate3d(-100%,0,0) rotateY(90deg) translate3d(-100%,0,0)}.reveal .slides>section[data-transition=concave].future,.reveal.concave .slides>section.future{-webkit-transform:translate3d(100%,0,0) rotateY(-90deg) translate3d(100%,0,0);-moz-transform:translate3d(100%,0,0) rotateY(-90deg) translate3d(100%,0,0);-ms-transform:translate3d(100%,0,0) rotateY(-90deg) translate3d(100%,0,0);transform:translate3d(100%,0,0) rotateY(-90deg) translate3d(100%,0,0)}.reveal .slides>section>section[data-transition=concave].past,.reveal.concave .slides>section>section.past{-webkit-transform:translate3d(0,-80%,0) rotateX(-70deg) translate3d(0,-80%,0);-moz-transform:translate3d(0,-80%,0) rotateX(-70deg) translate3d(0,-80%,0);-ms-transform:translate3d(0,-80%,0) rotateX(-70deg) translate3d(0,-80%,0);transform:translate3d(0,-80%,0) rotateX(-70deg) translate3d(0,-80%,0)}.reveal .slides>section>section[data-transition=concave].future,.reveal.concave .slides>section>section.future{-webkit-transform:translate3d(0,80%,0) rotateX(70deg) translate3d(0,80%,0);-moz-transform:translate3d(0,80%,0) rotateX(70deg) translate3d(0,80%,0);-ms-transform:translate3d(0,80%,0) rotateX(70deg) translate3d(0,80%,0);transform:translate3d(0,80%,0) rotateX(70deg) translate3d(0,80%,0)}.reveal .slides>section[data-transition=zoom].past,.reveal.zoom .slides>section.past{opacity:0;visibility:hidden;-webkit-transform:scale(16);-moz-transform:scale(16);-ms-transform:scale(16);-o-transform:scale(16);transform:scale(16)}.reveal .slides>section[data-transition=zoom].future,.reveal.zoom .slides>section.future{opacity:0;visibility:hidden;-webkit-transform:scale(0.2);-moz-transform:scale(0.2);-ms-transform:scale(0.2);-o-transform:scale(0.2);transform:scale(0.2)}.reveal .slides>section>section[data-transition=zoom].past,.reveal.zoom .slides>section>section.past{-webkit-transform:translate(0,-150%);-moz-transform:translate(0,-150%);-ms-transform:translate(0,-150%);-o-transform:translate(0,-150%);transform:translate(0,-150%)}.reveal .slides>section>section[data-transition=zoom].future,.reveal.zoom .slides>section>section.future{-webkit-transform:translate(0,150%);-moz-transform:translate(0,150%);-ms-transform:translate(0,150%);-o-transform:translate(0,150%);transform:translate(0,150%)}.reveal.linear section{-webkit-backface-visibility:hidden;-moz-backface-visibility:hidden;-ms-backface-visibility:hidden;backface-visibility:hidden}.reveal .slides>section[data-transition=linear].past,.reveal.linear .slides>section.past{-webkit-transform:translate(-150%,0);-moz-transform:translate(-150%,0);-ms-transform:translate(-150%,0);-o-transform:translate(-150%,0);transform:translate(-150%,0)}.reveal .slides>section[data-transition=linear].future,.reveal.linear .slides>section.future{-webkit-transform:translate(150%,0);-moz-transform:translate(150%,0);-ms-transform:translate(150%,0);-o-transform:translate(150%,0);transform:translate(150%,0)}.reveal .slides>section>section[data-transition=linear].past,.reveal.linear .slides>section>section.past{-webkit-transform:translate(0,-150%);-moz-transform:translate(0,-150%);-ms-transform:translate(0,-150%);-o-transform:translate(0,-150%);transform:translate(0,-150%)}.reveal .slides>section>section[data-transition=linear].future,.reveal.linear .slides>section>section.future{-webkit-transform:translate(0,150%);-moz-transform:translate(0,150%);-ms-transform:translate(0,150%);-o-transform:translate(0,150%);transform:translate(0,150%)}.reveal.cube .slides{-webkit-perspective:1300px;-moz-perspective:1300px;-ms-perspective:1300px;perspective:1300px}.reveal.cube .slides section{padding:30px;min-height:700px;-webkit-backface-visibility:hidden;-moz-backface-visibility:hidden;-ms-backface-visibility:hidden;backface-visibility:hidden;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.reveal.center.cube .slides section{min-height:auto}.reveal.cube .slides section:not(.stack):before{content:'';position:absolute;display:block;width:100%;height:100%;left:0;top:0;background:rgba(0,0,0,.1);border-radius:4px;-webkit-transform:translateZ(-20px);-moz-transform:translateZ(-20px);-ms-transform:translateZ(-20px);-o-transform:translateZ(-20px);transform:translateZ(-20px)}.reveal.cube .slides section:not(.stack):after{content:'';position:absolute;display:block;width:90%;height:30px;left:5%;bottom:0;background:0;z-index:1;border-radius:4px;box-shadow:0 95px 25px rgba(0,0,0,.2);-webkit-transform:translateZ(-90px) rotateX(65deg);-moz-transform:translateZ(-90px) rotateX(65deg);-ms-transform:translateZ(-90px) rotateX(65deg);-o-transform:translateZ(-90px) rotateX(65deg);transform:translateZ(-90px) rotateX(65deg)}.reveal.cube .slides>section.stack{padding:0;background:0}.reveal.cube .slides>section.past{-webkit-transform-origin:100% 0;-moz-transform-origin:100% 0;-ms-transform-origin:100% 0;transform-origin:100% 0;-webkit-transform:translate3d(-100%,0,0) rotateY(-90deg);-moz-transform:translate3d(-100%,0,0) rotateY(-90deg);-ms-transform:translate3d(-100%,0,0) rotateY(-90deg);transform:translate3d(-100%,0,0) rotateY(-90deg)}.reveal.cube .slides>section.future{-webkit-transform-origin:0 0;-moz-transform-origin:0 0;-ms-transform-origin:0 0;transform-origin:0 0;-webkit-transform:translate3d(100%,0,0) rotateY(90deg);-moz-transform:translate3d(100%,0,0) rotateY(90deg);-ms-transform:translate3d(100%,0,0) rotateY(90deg);transform:translate3d(100%,0,0) rotateY(90deg)}.reveal.cube .slides>section>section.past{-webkit-transform-origin:0 100%;-moz-transform-origin:0 100%;-ms-transform-origin:0 100%;transform-origin:0 100%;-webkit-transform:translate3d(0,-100%,0) rotateX(90deg);-moz-transform:translate3d(0,-100%,0) rotateX(90deg);-ms-transform:translate3d(0,-100%,0) rotateX(90deg);transform:translate3d(0,-100%,0) rotateX(90deg)}.reveal.cube .slides>section>section.future{-webkit-transform-origin:0 0;-moz-transform-origin:0 0;-ms-transform-origin:0 0;transform-origin:0 0;-webkit-transform:translate3d(0,100%,0) rotateX(-90deg);-moz-transform:translate3d(0,100%,0) rotateX(-90deg);-ms-transform:translate3d(0,100%,0) rotateX(-90deg);transform:translate3d(0,100%,0) rotateX(-90deg)}.reveal.page .slides{-webkit-perspective-origin:0 50%;-moz-perspective-origin:0 50%;-ms-perspective-origin:0 50%;perspective-origin:0 50%;-webkit-perspective:3000px;-moz-perspective:3000px;-ms-perspective:3000px;perspective:3000px}.reveal.page .slides section{padding:30px;min-height:700px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.reveal.page .slides section.past{z-index:12}.reveal.page .slides section:not(.stack):before{content:'';position:absolute;display:block;width:100%;height:100%;left:0;top:0;background:rgba(0,0,0,.1);-webkit-transform:translateZ(-20px);-moz-transform:translateZ(-20px);-ms-transform:translateZ(-20px);-o-transform:translateZ(-20px);transform:translateZ(-20px)}.reveal.page .slides section:not(.stack):after{content:'';position:absolute;display:block;width:90%;height:30px;left:5%;bottom:0;background:0;z-index:1;border-radius:4px;box-shadow:0 95px 25px rgba(0,0,0,.2);-webkit-transform:translateZ(-90px) rotateX(65deg)}.reveal.page .slides>section.stack{padding:0;background:0}.reveal.page .slides>section.past{-webkit-transform-origin:0 0;-moz-transform-origin:0 0;-ms-transform-origin:0 0;transform-origin:0 0;-webkit-transform:translate3d(-40%,0,0) rotateY(-80deg);-moz-transform:translate3d(-40%,0,0) rotateY(-80deg);-ms-transform:translate3d(-40%,0,0) rotateY(-80deg);transform:translate3d(-40%,0,0) rotateY(-80deg)}.reveal.page .slides>section.future{-webkit-transform-origin:100% 0;-moz-transform-origin:100% 0;-ms-transform-origin:100% 0;transform-origin:100% 0;-webkit-transform:translate3d(0,0,0);-moz-transform:translate3d(0,0,0);-ms-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}.reveal.page .slides>section>section.past{-webkit-transform-origin:0 0;-moz-transform-origin:0 0;-ms-transform-origin:0 0;transform-origin:0 0;-webkit-transform:translate3d(0,-40%,0) rotateX(80deg);-moz-transform:translate3d(0,-40%,0) rotateX(80deg);-ms-transform:translate3d(0,-40%,0) rotateX(80deg);transform:translate3d(0,-40%,0) rotateX(80deg)}.reveal.page .slides>section>section.future{-webkit-transform-origin:0 100%;-moz-transform-origin:0 100%;-ms-transform-origin:0 100%;transform-origin:0 100%;-webkit-transform:translate3d(0,0,0);-moz-transform:translate3d(0,0,0);-ms-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}.reveal .slides section[data-transition=fade],.reveal.fade .slides section,.reveal.fade .slides>section>section{-webkit-transform:none;-moz-transform:none;-ms-transform:none;-o-transform:none;transform:none;-webkit-transition:opacity .5s;-moz-transition:opacity .5s;-ms-transition:opacity .5s;-o-transition:opacity .5s;transition:opacity .5s}.reveal.fade.overview .slides section,.reveal.fade.overview .slides>section>section,.reveal.fade.exit-overview .slides section,.reveal.fade.exit-overview .slides>section>section{-webkit-transition:none;-moz-transition:none;-ms-transition:none;-o-transition:none;transition:none}.reveal .slides section[data-transition=none],.reveal.none .slides section{-webkit-transform:none;-moz-transform:none;-ms-transform:none;-o-transform:none;transform:none;-webkit-transition:none;-moz-transition:none;-ms-transition:none;-o-transition:none;transition:none}.reveal.overview .slides{-webkit-perspective-origin:0 0;-moz-perspective-origin:0 0;-ms-perspective-origin:0 0;perspective-origin:0 0;-webkit-perspective:700px;-moz-perspective:700px;-ms-perspective:700px;perspective:700px}.reveal.overview .slides section{height:600px;overflow:hidden;opacity:1!important;visibility:visible!important;cursor:pointer;background:rgba(0,0,0,.1)}.reveal.overview .slides section .fragment{opacity:1}.reveal.overview .slides section:after,.reveal.overview .slides section:before{display:none!important}.reveal.overview .slides section>section{opacity:1;cursor:pointer}.reveal.overview .slides section:hover{background:rgba(0,0,0,.3)}.reveal.overview .slides section.present{background:rgba(0,0,0,.3)}.reveal.overview .slides>section.stack{padding:0;background:0;overflow:visible}.reveal .pause-overlay{position:absolute;top:0;left:0;width:100%;height:100%;background:#000;visibility:hidden;opacity:0;z-index:100;-webkit-transition:all 1s ease;-moz-transition:all 1s ease;-ms-transition:all 1s ease;-o-transition:all 1s ease;transition:all 1s ease}.reveal.paused .pause-overlay{visibility:visible;opacity:1}.no-transforms{overflow-y:auto}.no-transforms .reveal .slides{position:relative;width:80%;height:auto!important;top:0;left:50%;margin:0;text-align:center}.no-transforms .reveal .controls,.no-transforms .reveal .progress{display:none!important}.no-transforms .reveal .slides section{display:block!important;opacity:1!important;position:relative!important;height:auto;min-height:auto;top:0;left:-50%;margin:70px 0;-webkit-transform:none;-moz-transform:none;-ms-transform:none;-o-transform:none;transform:none}.no-transforms .reveal .slides section section{left:0}.reveal .no-transition,.reveal .no-transition *{-webkit-transition:none!important;-moz-transition:none!important;-ms-transition:none!important;-o-transition:none!important;transition:none!important}.reveal .state-background{position:absolute;width:100%;height:100%;background:rgba(0,0,0,0);-webkit-transition:background 800ms ease;-moz-transition:background 800ms ease;-ms-transition:background 800ms ease;-o-transition:background 800ms ease;transition:background 800ms ease}.alert .reveal .state-background{background:rgba(200,50,30,.6)}.soothe .reveal .state-background{background:rgba(50,200,90,.4)}.blackout .reveal .state-background{background:rgba(0,0,0,.6)}.whiteout .reveal .state-background{background:rgba(255,255,255,.6)}.cobalt .reveal .state-background{background:rgba(22,152,213,.6)}.mint .reveal .state-background{background:rgba(22,213,75,.6)}.submerge .reveal .state-background{background:rgba(12,25,77,.6)}.lila .reveal .state-background{background:rgba(180,50,140,.6)}.sunset .reveal .state-background{background:rgba(255,122,0,.6)}.reveal>.backgrounds{position:absolute;width:100%;height:100%}.reveal .slide-background{position:absolute;width:100%;height:100%;opacity:0;visibility:hidden;background-color:rgba(0,0,0,0);background-position:50% 50%;background-repeat:no-repeat;background-size:cover;-webkit-transition:all 650ms ease;-moz-transition:all 650ms ease;-ms-transition:all 650ms ease;-o-transition:all 650ms ease;transition:all 650ms ease}.reveal .slide-background.present{opacity:1;visibility:visible}.print-pdf .reveal .slide-background{opacity:1!important;visibility:visible!important}.reveal[data-background-transition=linear]>.backgrounds .slide-background{opacity:1;-webkit-backface-visibility:hidden;-moz-backface-visibility:hidden;-ms-backface-visibility:hidden;backface-visibility:hidden}.reveal[data-background-transition=linear]>.backgrounds .slide-background.past{-webkit-transform:translate(-100%,0);-moz-transform:translate(-100%,0);-ms-transform:translate(-100%,0);-o-transform:translate(-100%,0);transform:translate(-100%,0)}.reveal[data-background-transition=linear]>.backgrounds .slide-background.future{-webkit-transform:translate(100%,0);-moz-transform:translate(100%,0);-ms-transform:translate(100%,0);-o-transform:translate(100%,0);transform:translate(100%,0)}.reveal[data-background-transition=linear]>.backgrounds .slide-background>.slide-background.past{-webkit-transform:translate(0,-100%);-moz-transform:translate(0,-100%);-ms-transform:translate(0,-100%);-o-transform:translate(0,-100%);transform:translate(0,-100%)}.reveal[data-background-transition=linear]>.backgrounds .slide-background>.slide-background.future{-webkit-transform:translate(0,100%);-moz-transform:translate(0,100%);-ms-transform:translate(0,100%);-o-transform:translate(0,100%);transform:translate(0,100%)}.reveal[data-transition-speed=fast]>.backgrounds .slide-background{-webkit-transition-duration:300ms;-moz-transition-duration:300ms;-ms-transition-duration:300ms;transition-duration:300ms}.reveal[data-transition-speed=slow]>.backgrounds .slide-background{-webkit-transition-duration:900ms;-moz-transition-duration:900ms;-ms-transition-duration:900ms;transition-duration:900ms}.reveal.rtl .slides,.reveal.rtl .slides h1,.reveal.rtl .slides h2,.reveal.rtl .slides h3,.reveal.rtl .slides h4,.reveal.rtl .slides h5,.reveal.rtl .slides h6{direction:rtl;font-family:sans-serif}.reveal.rtl pre,.reveal.rtl code{direction:ltr}.reveal.rtl ol,.reveal.rtl ul{text-align:right}.reveal.rtl .progress span{float:right}.reveal aside.notes{display:none}.zoomed .reveal *,.zoomed .reveal :before,.zoomed .reveal :after{-webkit-transform:none!important;-moz-transform:none!important;-ms-transform:none!important;transform:none!important;-webkit-backface-visibility:visible!important;-moz-backface-visibility:visible!important;-ms-backface-visibility:visible!important;backface-visibility:visible!important}.zoomed .reveal .progress,.zoomed .reveal .controls{opacity:0}.zoomed .reveal .roll span{background:0}.zoomed .reveal .roll span:after{visibility:hidden} \ No newline at end of file diff --git a/js/reveal.js b/js/reveal.js index 7f0223f..b3ccffe 100644 --- a/js/reveal.js +++ b/js/reveal.js @@ -190,9 +190,9 @@ var Reveal = (function(){ dom.slides = document.querySelector( '.reveal .slides' ); // Background element - if( !document.querySelector( '.reveal .background' ) ) { + if( !document.querySelector( '.reveal .backgrounds' ) ) { dom.background = document.createElement( 'div' ); - dom.background.classList.add( 'background' ); + dom.background.classList.add( 'backgrounds' ); dom.wrapper.appendChild( dom.background ); } diff --git a/js/reveal.min.js b/js/reveal.min.js index ebfd27e..6f2962a 100644 --- a/js/reveal.min.js +++ b/js/reveal.min.js @@ -1,8 +1,8 @@ /*! - * reveal.js 2.5.0 (2013-06-09, 17:14) + * reveal.js 2.5.0 (2013-06-10, 08:49) * http://lab.hakim.se/reveal-js * MIT licensed * * Copyright (C) 2013 Hakim El Hattab, http://hakim.se */ -var Reveal=function(){"use strict";function e(e){return Ct||Nt?(window.addEventListener("load",y,!1),l(kt,e),r(),o(),void 0):(document.body.setAttribute("class","no-transforms"),void 0)}function t(){if(Pt.theme=document.querySelector("#theme"),Pt.wrapper=document.querySelector(".reveal"),Pt.slides=document.querySelector(".reveal .slides"),document.querySelector(".reveal .background")||(Pt.background=document.createElement("div"),Pt.background.classList.add("background"),Pt.wrapper.appendChild(Pt.background)),!Pt.wrapper.querySelector(".progress")){var e=document.createElement("div");e.classList.add("progress"),e.innerHTML="",Pt.wrapper.appendChild(e)}if(!Pt.wrapper.querySelector(".controls")){var t=document.createElement("aside");t.classList.add("controls"),t.innerHTML='

',Pt.wrapper.appendChild(t)}if(!Pt.wrapper.querySelector(".state-background")){var n=document.createElement("div");n.classList.add("state-background"),Pt.wrapper.appendChild(n)}if(!Pt.wrapper.querySelector(".pause-overlay")){var r=document.createElement("div");r.classList.add("pause-overlay"),Pt.wrapper.appendChild(r)}Pt.progress=document.querySelector(".reveal .progress"),Pt.progressbar=document.querySelector(".reveal .progress span"),kt.controls&&(Pt.controls=document.querySelector(".reveal .controls"),Pt.controlsLeft=d(document.querySelectorAll(".navigate-left")),Pt.controlsRight=d(document.querySelectorAll(".navigate-right")),Pt.controlsUp=d(document.querySelectorAll(".navigate-up")),Pt.controlsDown=d(document.querySelectorAll(".navigate-down")),Pt.controlsPrev=d(document.querySelectorAll(".navigate-prev")),Pt.controlsNext=d(document.querySelectorAll(".navigate-next")))}function n(){function e(e,t){var n={background:e.getAttribute("data-background"),backgroundSize:e.getAttribute("data-background-size"),backgroundColor:e.getAttribute("data-background-color"),backgroundRepeat:e.getAttribute("data-background-repeat"),backgroundPosition:e.getAttribute("data-background-position")},r=document.createElement("div");return r.className="slide-background",n.background&&(/\.(png|jpg|jpeg|gif|bmp)$/gi.test(n.background)?r.style.backgroundImage="url("+n.background+")":r.style.background=n.background),n.backgroundSize&&(r.style.backgroundSize=n.backgroundSize),n.backgroundColor&&(r.style.backgroundColor=n.backgroundColor),n.backgroundRepeat&&(r.style.backgroundRepeat=n.backgroundRepeat),n.backgroundPosition&&(r.style.backgroundPosition=n.backgroundPosition),t.appendChild(r),r}f()&&document.body.classList.add("print-pdf"),Pt.background.innerHTML="",Pt.background.classList.add("no-transition"),d(document.querySelectorAll(Lt)).forEach(function(t){var n;n=f()?e(t,t):e(t,Pt.background),d(t.querySelectorAll("section")).forEach(function(t){f()?e(t,t):e(t,n)})})}function r(){/iphone|ipod|android/gi.test(navigator.userAgent)&&!/crios/gi.test(navigator.userAgent)&&(window.addEventListener("load",v,!1),window.addEventListener("orientationchange",v,!1))}function o(){function e(){n.length&&head.js.apply(null,n),a()}for(var t=[],n=[],r=0,o=kt.dependencies.length;o>r;r++){var s=kt.dependencies[r];(!s.condition||s.condition())&&(s.async?n.push(s.src):t.push(s.src),"function"==typeof s.callback&&head.ready(s.src.match(/([\w\d_\-]*)\.?js$|[^\\\/]*$/i)[0],s.callback))}t.length?(head.ready(e),head.js.apply(null,t)):e()}function a(){t(),s(),W(),setTimeout(function(){p("ready",{indexh:qt,indexv:xt,currentSlide:bt})},1)}function s(e){if(Pt.wrapper.classList.remove(kt.transition),"object"==typeof e&&l(kt,e),Nt===!1&&(kt.transition="linear"),Pt.wrapper.classList.add(kt.transition),Pt.wrapper.setAttribute("data-transition-speed",kt.transitionSpeed),Pt.wrapper.setAttribute("data-background-transition",kt.backgroundTransition),Pt.controls&&(Pt.controls.style.display=kt.controls&&Pt.controls?"block":"none"),Pt.progress&&(Pt.progress.style.display=kt.progress&&Pt.progress?"block":"none"),kt.rtl?Pt.wrapper.classList.add("rtl"):Pt.wrapper.classList.remove("rtl"),kt.center?Pt.wrapper.classList.add("center"):Pt.wrapper.classList.remove("center"),kt.mouseWheel?(document.addEventListener("DOMMouseScroll",it,!1),document.addEventListener("mousewheel",it,!1)):(document.removeEventListener("DOMMouseScroll",it,!1),document.removeEventListener("mousewheel",it,!1)),kt.rollingLinks?m():h(),kt.theme&&Pt.theme){var t=Pt.theme.getAttribute("href"),n=/[^\/]*?(?=\.css)/,r=t.match(n)[0];kt.theme!==r&&(t=t.replace(n,kt.theme),Pt.theme.setAttribute("href",t))}C()}function i(){Xt=!0,window.addEventListener("hashchange",mt,!1),window.addEventListener("resize",ht,!1),kt.touch&&(Pt.wrapper.addEventListener("touchstart",tt,!1),Pt.wrapper.addEventListener("touchmove",nt,!1),Pt.wrapper.addEventListener("touchend",rt,!1),window.navigator.msPointerEnabled&&(Pt.wrapper.addEventListener("MSPointerDown",ot,!1),Pt.wrapper.addEventListener("MSPointerMove",at,!1),Pt.wrapper.addEventListener("MSPointerUp",st,!1))),kt.keyboard&&document.addEventListener("keydown",et,!1),kt.progress&&Pt.progress&&Pt.progress.addEventListener("click",ct,!1),kt.controls&&Pt.controls&&["touchstart","click"].forEach(function(e){Pt.controlsLeft.forEach(function(t){t.addEventListener(e,lt,!1)}),Pt.controlsRight.forEach(function(t){t.addEventListener(e,dt,!1)}),Pt.controlsUp.forEach(function(t){t.addEventListener(e,ut,!1)}),Pt.controlsDown.forEach(function(t){t.addEventListener(e,ft,!1)}),Pt.controlsPrev.forEach(function(t){t.addEventListener(e,vt,!1)}),Pt.controlsNext.forEach(function(t){t.addEventListener(e,pt,!1)})})}function c(){Xt=!1,document.removeEventListener("keydown",et,!1),window.removeEventListener("hashchange",mt,!1),window.removeEventListener("resize",ht,!1),Pt.wrapper.removeEventListener("touchstart",tt,!1),Pt.wrapper.removeEventListener("touchmove",nt,!1),Pt.wrapper.removeEventListener("touchend",rt,!1),window.navigator.msPointerEnabled&&(Pt.wrapper.removeEventListener("MSPointerDown",ot,!1),Pt.wrapper.removeEventListener("MSPointerMove",at,!1),Pt.wrapper.removeEventListener("MSPointerUp",st,!1)),kt.progress&&Pt.progress&&Pt.progress.removeEventListener("click",ct,!1),kt.controls&&Pt.controls&&["touchstart","click"].forEach(function(e){Pt.controlsLeft.forEach(function(t){t.removeEventListener(e,lt,!1)}),Pt.controlsRight.forEach(function(t){t.removeEventListener(e,dt,!1)}),Pt.controlsUp.forEach(function(t){t.removeEventListener(e,ut,!1)}),Pt.controlsDown.forEach(function(t){t.removeEventListener(e,ft,!1)}),Pt.controlsPrev.forEach(function(t){t.removeEventListener(e,vt,!1)}),Pt.controlsNext.forEach(function(t){t.removeEventListener(e,pt,!1)})})}function l(e,t){for(var n in t)e[n]=t[n]}function d(e){return Array.prototype.slice.call(e)}function u(e,t){var n=e.x-t.x,r=e.y-t.y;return Math.sqrt(n*n+r*r)}function f(){return/print-pdf/gi.test(window.location.search)}function v(){0===window.orientation?(document.documentElement.style.overflow="scroll",document.body.style.height="120%"):(document.documentElement.style.overflow="",document.body.style.height="100%"),setTimeout(function(){window.scrollTo(0,1)},10)}function p(e,t){var n=document.createEvent("HTMLEvents",1,2);n.initEvent(e,!0,!0),l(n,t),Pt.wrapper.dispatchEvent(n)}function m(){if(Nt&&!("msPerspective"in document.body.style))for(var e=document.querySelectorAll(wt+" a:not(.image)"),t=0,n=e.length;n>t;t++){var r=e[t];if(!(!r.textContent||r.querySelector("*")||r.className&&r.classList.contains(r,"roll"))){var o=document.createElement("span");o.setAttribute("data-title",r.text),o.innerHTML=r.innerHTML,r.classList.add("roll"),r.innerHTML="",r.appendChild(o)}}}function h(){for(var e=document.querySelectorAll(wt+" a.roll"),t=0,n=e.length;n>t;t++){var r=e[t],o=r.querySelector("span");o&&(r.classList.remove("roll"),r.innerHTML=o.innerHTML)}}function g(e){var t=d(e);return t.forEach(function(e,t){e.hasAttribute("data-fragment-index")||e.setAttribute("data-fragment-index",t)}),t.sort(function(e,t){return e.getAttribute("data-fragment-index")-t.getAttribute("data-fragment-index")}),t}function y(){if(Pt.wrapper&&!f()){var e=Pt.wrapper.offsetWidth,t=Pt.wrapper.offsetHeight;e-=t*kt.margin,t-=t*kt.margin;var n=kt.width,r=kt.height;if("string"==typeof n&&/%$/.test(n)&&(n=parseInt(n,10)/100*e),"string"==typeof r&&/%$/.test(r)&&(r=parseInt(r,10)/100*t),Pt.slides.style.width=n+"px",Pt.slides.style.height=r+"px",Mt=Math.min(e/n,t/r),Mt=Math.max(Mt,kt.minScale),Mt=Math.min(Mt,kt.maxScale),void 0===Pt.slides.style.zoom||navigator.userAgent.match(/(iphone|ipod|ipad|android)/gi)){var o="translate(-50%, -50%) scale("+Mt+") translate(50%, 50%)";Pt.slides.style.WebkitTransform=o,Pt.slides.style.MozTransform=o,Pt.slides.style.msTransform=o,Pt.slides.style.OTransform=o,Pt.slides.style.transform=o}else Pt.slides.style.zoom=Mt;for(var a=d(document.querySelectorAll(wt)),s=0,i=a.length;i>s;s++){var c=a[s];"none"!==c.style.display&&(c.style.top=kt.center?c.classList.contains("stack")?0:Math.max(-(c.offsetHeight/2)-20,-r/2)+"px":"")}R()}}function b(e,t){"object"==typeof e&&"function"==typeof e.setAttribute&&e.setAttribute("data-previous-indexv",t||0)}function w(e){if("object"==typeof e&&"function"==typeof e.setAttribute&&e.classList.contains("stack")){var t=e.hasAttribute("data-start-indexv")?"data-start-indexv":"data-previous-indexv";return parseInt(e.getAttribute(t)||0,10)}return 0}function L(){if(kt.overview){$();var e=Pt.wrapper.classList.contains("overview");Pt.wrapper.classList.add("overview"),Pt.wrapper.classList.remove("exit-overview"),clearTimeout(Yt),clearTimeout(zt),Yt=setTimeout(function(){for(var t=document.querySelectorAll(Lt),n=0,r=t.length;r>n;n++){var o=t[n],a=kt.rtl?-105:105,s="translateZ(-2500px) translate("+(n-qt)*a+"%, 0%)";if(o.setAttribute("data-index-h",n),o.style.display="block",o.style.WebkitTransform=s,o.style.MozTransform=s,o.style.msTransform=s,o.style.OTransform=s,o.style.transform=s,o.classList.contains("stack"))for(var i=o.querySelectorAll("section"),c=0,l=i.length;l>c;c++){var d=n===qt?xt:w(o),u=i[c],f="translate(0%, "+105*(c-d)+"%)";u.setAttribute("data-index-h",n),u.setAttribute("data-index-v",c),u.style.display="block",u.style.WebkitTransform=f,u.style.MozTransform=f,u.style.msTransform=f,u.style.OTransform=f,u.style.transform=f,u.addEventListener("click",gt,!0)}else o.addEventListener("click",gt,!0)}y(),e||p("overviewshown",{indexh:qt,indexv:xt,currentSlide:bt})},10)}}function E(){if(kt.overview){clearTimeout(Yt),clearTimeout(zt),Pt.wrapper.classList.remove("overview"),Pt.wrapper.classList.add("exit-overview"),zt=setTimeout(function(){Pt.wrapper.classList.remove("exit-overview")},10);for(var e=d(document.querySelectorAll(wt)),t=0,n=e.length;n>t;t++){var r=e[t];r.style.display="",r.style.WebkitTransform="",r.style.MozTransform="",r.style.msTransform="",r.style.OTransform="",r.style.transform="",r.removeEventListener("click",gt,!0)}N(qt,xt),K(),p("overviewhidden",{indexh:qt,indexv:xt,currentSlide:bt})}}function S(e){"boolean"==typeof e?e?L():E():k()?E():L()}function k(){return Pt.wrapper.classList.contains("overview")}function A(e){return e=e?e:bt,e&&!!e.parentNode.nodeName.match(/section/i)}function q(){var e=document.body,t=e.requestFullScreen||e.webkitRequestFullscreen||e.webkitRequestFullScreen||e.mozRequestFullScreen||e.msRequestFullScreen;t&&t.apply(e)}function x(){var e=Pt.wrapper.classList.contains("paused");$(),Pt.wrapper.classList.add("paused"),e===!1&&p("paused")}function T(){var e=Pt.wrapper.classList.contains("paused");Pt.wrapper.classList.remove("paused"),K(),e&&p("resumed")}function M(){P()?T():x()}function P(){return Pt.wrapper.classList.contains("paused")}function N(e,t,n,r){yt=bt;var o=document.querySelectorAll(Lt);void 0===t&&(t=w(o[e])),yt&&yt.parentNode&&yt.parentNode.classList.contains("stack")&&b(yt.parentNode,xt);var a=Tt.concat();Tt.length=0;var s=qt,i=xt;qt=D(Lt,void 0===e?qt:e),xt=D(Et,void 0===t?xt:t),y();e:for(var c=0,l=Tt.length;l>c;c++){for(var u=0;a.length>u;u++)if(a[u]===Tt[c]){a.splice(u,1);continue e}document.documentElement.classList.add(Tt[c]),p(Tt[c])}for(;a.length;)document.documentElement.classList.remove(a.pop());k()&&L(),U(1500);var f=o[qt],v=f.querySelectorAll("section");if(bt=v[xt]||f,n!==void 0){var m=g(bt.querySelectorAll(".fragment"));d(m).forEach(function(e,t){n>t?e.classList.add("visible"):e.classList.remove("visible")})}var h=qt!==s||xt!==i;h?p("slidechanged",{indexh:qt,indexv:xt,previousSlide:yt,currentSlide:bt,origin:r}):yt=null,yt&&(yt.classList.remove("present"),document.querySelector(St).classList.contains("present")&&setTimeout(function(){var e,t=d(document.querySelectorAll(Lt+".stack"));for(e in t)t[e]&&b(t[e],0)},0)),h&&(I(yt),H(bt)),O(),R(),Y()}function C(){c(),i(),y(),At=kt.autoSlide,K(),n(),O(),R(),Y()}function D(e,t){var n=d(document.querySelectorAll(e)),r=n.length;if(r){kt.loop&&(t%=r,0>t&&(t=r+t)),t=Math.max(Math.min(t,r-1),0);for(var o=0;r>o;o++){var a=n[o];if(k()===!1){var s=Math.abs((t-o)%(r-3))||0;a.style.display=s>3?"none":"block"}var i=kt.rtl&&!A(a);a.classList.remove("past"),a.classList.remove("present"),a.classList.remove("future"),a.setAttribute("hidden",""),t>o?a.classList.add(i?"future":"past"):o>t&&a.classList.add(i?"past":"future"),a.querySelector("section")&&a.classList.add("stack")}n[t].classList.add("present"),n[t].removeAttribute("hidden");var c=n[t].getAttribute("data-state");c&&(Tt=Tt.concat(c.split(" ")));var l=n[t].getAttribute("data-autoslide");At=l?parseInt(l,10):kt.autoSlide}else t=0;return t}function R(){if(kt.progress&&Pt.progress){var e=d(document.querySelectorAll(Lt)),t=document.querySelectorAll(wt+":not(.stack)").length,n=0;e:for(var r=0;e.length>r;r++){for(var o=e[r],a=d(o.querySelectorAll("section")),s=0;a.length>s;s++){if(a[s].classList.contains("present"))break e;n++}if(o.classList.contains("present"))break;o.classList.contains("stack")===!1&&n++}Pt.progressbar.style.width=n/(t-1)*window.innerWidth+"px"}}function O(){if(kt.controls&&Pt.controls){var e=z(),t=X();Pt.controlsLeft.concat(Pt.controlsRight).concat(Pt.controlsUp).concat(Pt.controlsDown).concat(Pt.controlsPrev).concat(Pt.controlsNext).forEach(function(e){e.classList.remove("enabled"),e.classList.remove("fragmented")}),e.left&&Pt.controlsLeft.forEach(function(e){e.classList.add("enabled")}),e.right&&Pt.controlsRight.forEach(function(e){e.classList.add("enabled")}),e.up&&Pt.controlsUp.forEach(function(e){e.classList.add("enabled")}),e.down&&Pt.controlsDown.forEach(function(e){e.classList.add("enabled")}),(e.left||e.up)&&Pt.controlsPrev.forEach(function(e){e.classList.add("enabled")}),(e.right||e.down)&&Pt.controlsNext.forEach(function(e){e.classList.add("enabled")}),bt&&(t.prev&&Pt.controlsPrev.forEach(function(e){e.classList.add("fragmented","enabled")}),t.next&&Pt.controlsNext.forEach(function(e){e.classList.add("fragmented","enabled")}),A(bt)?(t.prev&&Pt.controlsUp.forEach(function(e){e.classList.add("fragmented","enabled")}),t.next&&Pt.controlsDown.forEach(function(e){e.classList.add("fragmented","enabled")})):(t.prev&&Pt.controlsLeft.forEach(function(e){e.classList.add("fragmented","enabled")}),t.next&&Pt.controlsRight.forEach(function(e){e.classList.add("fragmented","enabled")})))}}function Y(){d(Pt.background.childNodes).forEach(function(e,t){e.className="slide-background "+(qt>t?"past":t>qt?"future":"present"),d(e.childNodes).forEach(function(e,t){e.className="slide-background "+(xt>t?"past":t>xt?"future":"present")})}),setTimeout(function(){Pt.background.classList.remove("no-transition")},1)}function z(){var e=document.querySelectorAll(Lt),t=document.querySelectorAll(Et),n={left:qt>0||kt.loop,right:e.length-1>qt||kt.loop,up:xt>0,down:t.length-1>xt};if(kt.rtl){var r=n.left;n.left=n.right,n.right=r}return n}function X(){if(bt&&kt.fragments){var e=bt.querySelectorAll(".fragment"),t=bt.querySelectorAll(".fragment:not(.visible)");return{prev:e.length-t.length>0,next:!!t.length}}return{prev:!1,next:!1}}function H(e){e&&(d(e.querySelectorAll("video, audio")).forEach(function(e){e.hasAttribute("data-autoplay")&&e.play()}),d(e.querySelectorAll('iframe[src*="youtube.com/embed/"]')).forEach(function(e){e.hasAttribute("data-autoplay")&&e.contentWindow.postMessage('{"event":"command","func":"playVideo","args":""}',"*")}))}function I(e){e&&(d(e.querySelectorAll("video, audio")).forEach(function(e){e.hasAttribute("data-ignore")||e.pause()}),d(e.querySelectorAll('iframe[src*="youtube.com/embed/"]')).forEach(function(e){e.hasAttribute("data-ignore")||"function"!=typeof e.contentWindow.postMessage||e.contentWindow.postMessage('{"event":"command","func":"pauseVideo","args":""}',"*")}))}function W(){var e=window.location.hash,t=e.slice(2).split("/"),n=e.replace(/#|\//gi,"");if(isNaN(parseInt(t[0],10))&&n.length){var r=document.querySelector("#"+n);if(r){var o=Reveal.getIndices(r);N(o.h,o.v)}else N(qt,xt)}else{var a=parseInt(t[0],10)||0,s=parseInt(t[1],10)||0;N(a,s)}}function U(e){if(kt.history)if(clearTimeout(Ot),"number"==typeof e)Ot=setTimeout(U,e);else{var t="/";bt&&"string"==typeof bt.getAttribute("id")?t="/"+bt.getAttribute("id"):((qt>0||xt>0)&&(t+=qt),xt>0&&(t+="/"+xt)),window.location.hash=t}}function F(e){var t,n=qt,r=xt;if(e){var o=A(e),a=o?e.parentNode:e,s=d(document.querySelectorAll(Lt));n=Math.max(s.indexOf(a),0),o&&(r=Math.max(d(e.parentNode.querySelectorAll("section")).indexOf(e),0))}if(!e&&bt){var i=bt.querySelectorAll(".fragment.visible");i.length&&(t=i.length)}return{h:n,v:r,f:t}}function j(){if(bt&&kt.fragments){var e=g(bt.querySelectorAll(".fragment:not(.visible)"));if(e.length){var t=e[0].getAttribute("data-fragment-index");return e=bt.querySelectorAll('.fragment[data-fragment-index="'+t+'"]'),d(e).forEach(function(e){e.classList.add("visible"),p("fragmentshown",{fragment:e})}),O(),!0}}return!1}function _(){if(bt&&kt.fragments){var e=g(bt.querySelectorAll(".fragment.visible"));if(e.length){var t=e[e.length-1].getAttribute("data-fragment-index");return e=bt.querySelectorAll('.fragment[data-fragment-index="'+t+'"]'),d(e).forEach(function(e){e.classList.remove("visible"),p("fragmenthidden",{fragment:e})}),O(),!0}}return!1}function K(){clearTimeout(Rt),!At||P()||k()||(Rt=setTimeout(J,At))}function $(){clearTimeout(Rt)}function V(){kt.rtl?(k()||j()===!1)&&z().left&&N(qt+1):(k()||_()===!1)&&z().left&&N(qt-1)}function Z(){kt.rtl?(k()||_()===!1)&&z().right&&N(qt-1):(k()||j()===!1)&&z().right&&N(qt+1)}function Q(){(k()||_()===!1)&&z().up&&N(qt,xt-1)}function B(){(k()||j()===!1)&&z().down&&N(qt,xt+1)}function G(){if(_()===!1)if(z().up)Q();else{var e=document.querySelector(Lt+".past:nth-child("+qt+")");e&&(xt=e.querySelectorAll("section").length+1||void 0,qt--,N(qt,xt))}}function J(){j()===!1&&(z().down?B():Z()),K()}function et(e){document.activeElement;var t=!(!document.activeElement||!document.activeElement.type&&!document.activeElement.href&&"inherit"===document.activeElement.contentEditable);if(!(t||e.shiftKey&&32!==e.keyCode||e.altKey||e.ctrlKey||e.metaKey)){var n=!0;if(P()&&-1===[66,190,191].indexOf(e.keyCode))return!1;switch(e.keyCode){case 80:case 33:G();break;case 78:case 34:J();break;case 72:case 37:V();break;case 76:case 39:Z();break;case 75:case 38:Q();break;case 74:case 40:B();break;case 36:N(0);break;case 35:N(Number.MAX_VALUE);break;case 32:k()?E():e.shiftKey?G():J();break;case 13:k()?E():n=!1;break;case 66:case 190:case 191:M();break;case 70:q();break;default:n=!1}n?e.preventDefault():27===e.keyCode&&Nt&&(S(),e.preventDefault()),K()}}function tt(e){Ht.startX=e.touches[0].clientX,Ht.startY=e.touches[0].clientY,Ht.startCount=e.touches.length,2===e.touches.length&&kt.overview&&(Ht.startSpan=u({x:e.touches[1].clientX,y:e.touches[1].clientY},{x:Ht.startX,y:Ht.startY}))}function nt(e){if(Ht.handled)navigator.userAgent.match(/android/gi)&&e.preventDefault();else{var t=e.touches[0].clientX,n=e.touches[0].clientY;if(2===e.touches.length&&2===Ht.startCount&&kt.overview){var r=u({x:e.touches[1].clientX,y:e.touches[1].clientY},{x:Ht.startX,y:Ht.startY});Math.abs(Ht.startSpan-r)>Ht.threshold&&(Ht.handled=!0,Ht.startSpan>r?L():E()),e.preventDefault()}else if(1===e.touches.length&&2!==Ht.startCount){var o=t-Ht.startX,a=n-Ht.startY;o>Ht.threshold&&Math.abs(o)>Math.abs(a)?(Ht.handled=!0,V()):-Ht.threshold>o&&Math.abs(o)>Math.abs(a)?(Ht.handled=!0,Z()):a>Ht.threshold?(Ht.handled=!0,Q()):-Ht.threshold>a&&(Ht.handled=!0,B()),e.preventDefault()}}}function rt(){Ht.handled=!1}function ot(e){e.pointerType===e.MSPOINTER_TYPE_TOUCH&&(e.touches=[{clientX:e.clientX,clientY:e.clientY}],tt(e))}function at(e){e.pointerType===e.MSPOINTER_TYPE_TOUCH&&(e.touches=[{clientX:e.clientX,clientY:e.clientY}],nt(e))}function st(e){e.pointerType===e.MSPOINTER_TYPE_TOUCH&&(e.touches=[{clientX:e.clientX,clientY:e.clientY}],rt(e))}function it(e){clearTimeout(Dt),Dt=setTimeout(function(){var t=e.detail||-e.wheelDelta;t>0?J():G()},100)}function ct(e){e.preventDefault();var t=d(document.querySelectorAll(Lt)).length,n=Math.floor(e.clientX/Pt.wrapper.offsetWidth*t);N(n)}function lt(e){e.preventDefault(),V()}function dt(e){e.preventDefault(),Z()}function ut(e){e.preventDefault(),Q()}function ft(e){e.preventDefault(),B()}function vt(e){e.preventDefault(),G()}function pt(e){e.preventDefault(),J()}function mt(){W()}function ht(){y()}function gt(e){if(Xt&&k()){e.preventDefault();for(var t=e.target;t&&!t.nodeName.match(/section/gi);)t=t.parentNode;if(t&&!t.classList.contains("disabled")&&(E(),t.nodeName.match(/section/gi))){var n=parseInt(t.getAttribute("data-index-h"),10),r=parseInt(t.getAttribute("data-index-v"),10);N(n,r)}}}var yt,bt,wt=".reveal .slides section",Lt=".reveal .slides>section",Et=".reveal .slides>section.present>section",St=".reveal .slides>section:first-child",kt={width:960,height:700,margin:.1,minScale:.2,maxScale:1,controls:!0,progress:!0,history:!1,keyboard:!0,overview:!0,center:!0,touch:!0,loop:!1,rtl:!1,fragments:!0,autoSlide:0,mouseWheel:!1,rollingLinks:!0,theme:null,transition:"default",transitionSpeed:"default",backgroundTransition:"default",dependencies:[]},At=0,qt=0,xt=0,Tt=[],Mt=1,Pt={},Nt="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,Ct="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,Dt=0,Rt=0,Ot=0,Yt=0,zt=0,Xt=!1,Ht={startX:0,startY:0,startSpan:0,startCount:0,handled:!1,threshold:80};return{initialize:e,configure:s,sync:C,slide:N,left:V,right:Z,up:Q,down:B,prev:G,next:J,prevFragment:_,nextFragment:j,navigateTo:N,navigateLeft:V,navigateRight:Z,navigateUp:Q,navigateDown:B,navigatePrev:G,navigateNext:J,layout:y,availableRoutes:z,availableFragments:X,toggleOverview:S,togglePause:M,isOverview:k,isPaused:P,addEventListeners:i,removeEventListeners:c,getIndices:F,getSlide:function(e,t){var n=document.querySelectorAll(Lt)[e],r=n&&n.querySelectorAll("section");return t!==void 0?r?r[t]:void 0:n},getPreviousSlide:function(){return yt},getCurrentSlide:function(){return bt},getScale:function(){return Mt},getConfig:function(){return kt},getQueryHash:function(){var e={};return location.search.replace(/[A-Z0-9]+?=(\w*)/gi,function(t){e[t.split("=").shift()]=t.split("=").pop()}),e},isFirstSlide:function(){return null==document.querySelector(wt+".past")?!0:!1},isLastSlide:function(){return bt&&bt.classList.contains(".stack")?null==bt.querySelector(wt+".future")?!0:!1:null==document.querySelector(wt+".future")?!0:!1},addEventListener:function(e,t,n){"addEventListener"in window&&(Pt.wrapper||document.querySelector(".reveal")).addEventListener(e,t,n)},removeEventListener:function(e,t,n){"addEventListener"in window&&(Pt.wrapper||document.querySelector(".reveal")).removeEventListener(e,t,n)}}}(); \ No newline at end of file +var Reveal=function(){"use strict";function e(e){return Ct||Nt?(window.addEventListener("load",y,!1),l(kt,e),r(),o(),void 0):(document.body.setAttribute("class","no-transforms"),void 0)}function t(){if(Pt.theme=document.querySelector("#theme"),Pt.wrapper=document.querySelector(".reveal"),Pt.slides=document.querySelector(".reveal .slides"),document.querySelector(".reveal .backgrounds")||(Pt.background=document.createElement("div"),Pt.background.classList.add("backgrounds"),Pt.wrapper.appendChild(Pt.background)),!Pt.wrapper.querySelector(".progress")){var e=document.createElement("div");e.classList.add("progress"),e.innerHTML="",Pt.wrapper.appendChild(e)}if(!Pt.wrapper.querySelector(".controls")){var t=document.createElement("aside");t.classList.add("controls"),t.innerHTML='',Pt.wrapper.appendChild(t)}if(!Pt.wrapper.querySelector(".state-background")){var n=document.createElement("div");n.classList.add("state-background"),Pt.wrapper.appendChild(n)}if(!Pt.wrapper.querySelector(".pause-overlay")){var r=document.createElement("div");r.classList.add("pause-overlay"),Pt.wrapper.appendChild(r)}Pt.progress=document.querySelector(".reveal .progress"),Pt.progressbar=document.querySelector(".reveal .progress span"),kt.controls&&(Pt.controls=document.querySelector(".reveal .controls"),Pt.controlsLeft=d(document.querySelectorAll(".navigate-left")),Pt.controlsRight=d(document.querySelectorAll(".navigate-right")),Pt.controlsUp=d(document.querySelectorAll(".navigate-up")),Pt.controlsDown=d(document.querySelectorAll(".navigate-down")),Pt.controlsPrev=d(document.querySelectorAll(".navigate-prev")),Pt.controlsNext=d(document.querySelectorAll(".navigate-next")))}function n(){function e(e,t){var n={background:e.getAttribute("data-background"),backgroundSize:e.getAttribute("data-background-size"),backgroundColor:e.getAttribute("data-background-color"),backgroundRepeat:e.getAttribute("data-background-repeat"),backgroundPosition:e.getAttribute("data-background-position")},r=document.createElement("div");return r.className="slide-background",n.background&&(/\.(png|jpg|jpeg|gif|bmp)$/gi.test(n.background)?r.style.backgroundImage="url("+n.background+")":r.style.background=n.background),n.backgroundSize&&(r.style.backgroundSize=n.backgroundSize),n.backgroundColor&&(r.style.backgroundColor=n.backgroundColor),n.backgroundRepeat&&(r.style.backgroundRepeat=n.backgroundRepeat),n.backgroundPosition&&(r.style.backgroundPosition=n.backgroundPosition),t.appendChild(r),r}f()&&document.body.classList.add("print-pdf"),Pt.background.innerHTML="",Pt.background.classList.add("no-transition"),d(document.querySelectorAll(Lt)).forEach(function(t){var n;n=f()?e(t,t):e(t,Pt.background),d(t.querySelectorAll("section")).forEach(function(t){f()?e(t,t):e(t,n)})})}function r(){/iphone|ipod|android/gi.test(navigator.userAgent)&&!/crios/gi.test(navigator.userAgent)&&(window.addEventListener("load",v,!1),window.addEventListener("orientationchange",v,!1))}function o(){function e(){n.length&&head.js.apply(null,n),a()}for(var t=[],n=[],r=0,o=kt.dependencies.length;o>r;r++){var s=kt.dependencies[r];(!s.condition||s.condition())&&(s.async?n.push(s.src):t.push(s.src),"function"==typeof s.callback&&head.ready(s.src.match(/([\w\d_\-]*)\.?js$|[^\\\/]*$/i)[0],s.callback))}t.length?(head.ready(e),head.js.apply(null,t)):e()}function a(){t(),s(),W(),setTimeout(function(){p("ready",{indexh:qt,indexv:xt,currentSlide:bt})},1)}function s(e){if(Pt.wrapper.classList.remove(kt.transition),"object"==typeof e&&l(kt,e),Nt===!1&&(kt.transition="linear"),Pt.wrapper.classList.add(kt.transition),Pt.wrapper.setAttribute("data-transition-speed",kt.transitionSpeed),Pt.wrapper.setAttribute("data-background-transition",kt.backgroundTransition),Pt.controls&&(Pt.controls.style.display=kt.controls&&Pt.controls?"block":"none"),Pt.progress&&(Pt.progress.style.display=kt.progress&&Pt.progress?"block":"none"),kt.rtl?Pt.wrapper.classList.add("rtl"):Pt.wrapper.classList.remove("rtl"),kt.center?Pt.wrapper.classList.add("center"):Pt.wrapper.classList.remove("center"),kt.mouseWheel?(document.addEventListener("DOMMouseScroll",it,!1),document.addEventListener("mousewheel",it,!1)):(document.removeEventListener("DOMMouseScroll",it,!1),document.removeEventListener("mousewheel",it,!1)),kt.rollingLinks?m():h(),kt.theme&&Pt.theme){var t=Pt.theme.getAttribute("href"),n=/[^\/]*?(?=\.css)/,r=t.match(n)[0];kt.theme!==r&&(t=t.replace(n,kt.theme),Pt.theme.setAttribute("href",t))}C()}function i(){Xt=!0,window.addEventListener("hashchange",mt,!1),window.addEventListener("resize",ht,!1),kt.touch&&(Pt.wrapper.addEventListener("touchstart",tt,!1),Pt.wrapper.addEventListener("touchmove",nt,!1),Pt.wrapper.addEventListener("touchend",rt,!1),window.navigator.msPointerEnabled&&(Pt.wrapper.addEventListener("MSPointerDown",ot,!1),Pt.wrapper.addEventListener("MSPointerMove",at,!1),Pt.wrapper.addEventListener("MSPointerUp",st,!1))),kt.keyboard&&document.addEventListener("keydown",et,!1),kt.progress&&Pt.progress&&Pt.progress.addEventListener("click",ct,!1),kt.controls&&Pt.controls&&["touchstart","click"].forEach(function(e){Pt.controlsLeft.forEach(function(t){t.addEventListener(e,lt,!1)}),Pt.controlsRight.forEach(function(t){t.addEventListener(e,dt,!1)}),Pt.controlsUp.forEach(function(t){t.addEventListener(e,ut,!1)}),Pt.controlsDown.forEach(function(t){t.addEventListener(e,ft,!1)}),Pt.controlsPrev.forEach(function(t){t.addEventListener(e,vt,!1)}),Pt.controlsNext.forEach(function(t){t.addEventListener(e,pt,!1)})})}function c(){Xt=!1,document.removeEventListener("keydown",et,!1),window.removeEventListener("hashchange",mt,!1),window.removeEventListener("resize",ht,!1),Pt.wrapper.removeEventListener("touchstart",tt,!1),Pt.wrapper.removeEventListener("touchmove",nt,!1),Pt.wrapper.removeEventListener("touchend",rt,!1),window.navigator.msPointerEnabled&&(Pt.wrapper.removeEventListener("MSPointerDown",ot,!1),Pt.wrapper.removeEventListener("MSPointerMove",at,!1),Pt.wrapper.removeEventListener("MSPointerUp",st,!1)),kt.progress&&Pt.progress&&Pt.progress.removeEventListener("click",ct,!1),kt.controls&&Pt.controls&&["touchstart","click"].forEach(function(e){Pt.controlsLeft.forEach(function(t){t.removeEventListener(e,lt,!1)}),Pt.controlsRight.forEach(function(t){t.removeEventListener(e,dt,!1)}),Pt.controlsUp.forEach(function(t){t.removeEventListener(e,ut,!1)}),Pt.controlsDown.forEach(function(t){t.removeEventListener(e,ft,!1)}),Pt.controlsPrev.forEach(function(t){t.removeEventListener(e,vt,!1)}),Pt.controlsNext.forEach(function(t){t.removeEventListener(e,pt,!1)})})}function l(e,t){for(var n in t)e[n]=t[n]}function d(e){return Array.prototype.slice.call(e)}function u(e,t){var n=e.x-t.x,r=e.y-t.y;return Math.sqrt(n*n+r*r)}function f(){return/print-pdf/gi.test(window.location.search)}function v(){0===window.orientation?(document.documentElement.style.overflow="scroll",document.body.style.height="120%"):(document.documentElement.style.overflow="",document.body.style.height="100%"),setTimeout(function(){window.scrollTo(0,1)},10)}function p(e,t){var n=document.createEvent("HTMLEvents",1,2);n.initEvent(e,!0,!0),l(n,t),Pt.wrapper.dispatchEvent(n)}function m(){if(Nt&&!("msPerspective"in document.body.style))for(var e=document.querySelectorAll(wt+" a:not(.image)"),t=0,n=e.length;n>t;t++){var r=e[t];if(!(!r.textContent||r.querySelector("*")||r.className&&r.classList.contains(r,"roll"))){var o=document.createElement("span");o.setAttribute("data-title",r.text),o.innerHTML=r.innerHTML,r.classList.add("roll"),r.innerHTML="",r.appendChild(o)}}}function h(){for(var e=document.querySelectorAll(wt+" a.roll"),t=0,n=e.length;n>t;t++){var r=e[t],o=r.querySelector("span");o&&(r.classList.remove("roll"),r.innerHTML=o.innerHTML)}}function g(e){var t=d(e);return t.forEach(function(e,t){e.hasAttribute("data-fragment-index")||e.setAttribute("data-fragment-index",t)}),t.sort(function(e,t){return e.getAttribute("data-fragment-index")-t.getAttribute("data-fragment-index")}),t}function y(){if(Pt.wrapper&&!f()){var e=Pt.wrapper.offsetWidth,t=Pt.wrapper.offsetHeight;e-=t*kt.margin,t-=t*kt.margin;var n=kt.width,r=kt.height;if("string"==typeof n&&/%$/.test(n)&&(n=parseInt(n,10)/100*e),"string"==typeof r&&/%$/.test(r)&&(r=parseInt(r,10)/100*t),Pt.slides.style.width=n+"px",Pt.slides.style.height=r+"px",Mt=Math.min(e/n,t/r),Mt=Math.max(Mt,kt.minScale),Mt=Math.min(Mt,kt.maxScale),void 0===Pt.slides.style.zoom||navigator.userAgent.match(/(iphone|ipod|ipad|android)/gi)){var o="translate(-50%, -50%) scale("+Mt+") translate(50%, 50%)";Pt.slides.style.WebkitTransform=o,Pt.slides.style.MozTransform=o,Pt.slides.style.msTransform=o,Pt.slides.style.OTransform=o,Pt.slides.style.transform=o}else Pt.slides.style.zoom=Mt;for(var a=d(document.querySelectorAll(wt)),s=0,i=a.length;i>s;s++){var c=a[s];"none"!==c.style.display&&(c.style.top=kt.center?c.classList.contains("stack")?0:Math.max(-(c.offsetHeight/2)-20,-r/2)+"px":"")}R()}}function b(e,t){"object"==typeof e&&"function"==typeof e.setAttribute&&e.setAttribute("data-previous-indexv",t||0)}function w(e){if("object"==typeof e&&"function"==typeof e.setAttribute&&e.classList.contains("stack")){var t=e.hasAttribute("data-start-indexv")?"data-start-indexv":"data-previous-indexv";return parseInt(e.getAttribute(t)||0,10)}return 0}function L(){if(kt.overview){$();var e=Pt.wrapper.classList.contains("overview");Pt.wrapper.classList.add("overview"),Pt.wrapper.classList.remove("exit-overview"),clearTimeout(Yt),clearTimeout(zt),Yt=setTimeout(function(){for(var t=document.querySelectorAll(Lt),n=0,r=t.length;r>n;n++){var o=t[n],a=kt.rtl?-105:105,s="translateZ(-2500px) translate("+(n-qt)*a+"%, 0%)";if(o.setAttribute("data-index-h",n),o.style.display="block",o.style.WebkitTransform=s,o.style.MozTransform=s,o.style.msTransform=s,o.style.OTransform=s,o.style.transform=s,o.classList.contains("stack"))for(var i=o.querySelectorAll("section"),c=0,l=i.length;l>c;c++){var d=n===qt?xt:w(o),u=i[c],f="translate(0%, "+105*(c-d)+"%)";u.setAttribute("data-index-h",n),u.setAttribute("data-index-v",c),u.style.display="block",u.style.WebkitTransform=f,u.style.MozTransform=f,u.style.msTransform=f,u.style.OTransform=f,u.style.transform=f,u.addEventListener("click",gt,!0)}else o.addEventListener("click",gt,!0)}y(),e||p("overviewshown",{indexh:qt,indexv:xt,currentSlide:bt})},10)}}function E(){if(kt.overview){clearTimeout(Yt),clearTimeout(zt),Pt.wrapper.classList.remove("overview"),Pt.wrapper.classList.add("exit-overview"),zt=setTimeout(function(){Pt.wrapper.classList.remove("exit-overview")},10);for(var e=d(document.querySelectorAll(wt)),t=0,n=e.length;n>t;t++){var r=e[t];r.style.display="",r.style.WebkitTransform="",r.style.MozTransform="",r.style.msTransform="",r.style.OTransform="",r.style.transform="",r.removeEventListener("click",gt,!0)}N(qt,xt),K(),p("overviewhidden",{indexh:qt,indexv:xt,currentSlide:bt})}}function S(e){"boolean"==typeof e?e?L():E():k()?E():L()}function k(){return Pt.wrapper.classList.contains("overview")}function A(e){return e=e?e:bt,e&&!!e.parentNode.nodeName.match(/section/i)}function q(){var e=document.body,t=e.requestFullScreen||e.webkitRequestFullscreen||e.webkitRequestFullScreen||e.mozRequestFullScreen||e.msRequestFullScreen;t&&t.apply(e)}function x(){var e=Pt.wrapper.classList.contains("paused");$(),Pt.wrapper.classList.add("paused"),e===!1&&p("paused")}function T(){var e=Pt.wrapper.classList.contains("paused");Pt.wrapper.classList.remove("paused"),K(),e&&p("resumed")}function M(){P()?T():x()}function P(){return Pt.wrapper.classList.contains("paused")}function N(e,t,n,r){yt=bt;var o=document.querySelectorAll(Lt);void 0===t&&(t=w(o[e])),yt&&yt.parentNode&&yt.parentNode.classList.contains("stack")&&b(yt.parentNode,xt);var a=Tt.concat();Tt.length=0;var s=qt,i=xt;qt=D(Lt,void 0===e?qt:e),xt=D(Et,void 0===t?xt:t),y();e:for(var c=0,l=Tt.length;l>c;c++){for(var u=0;a.length>u;u++)if(a[u]===Tt[c]){a.splice(u,1);continue e}document.documentElement.classList.add(Tt[c]),p(Tt[c])}for(;a.length;)document.documentElement.classList.remove(a.pop());k()&&L(),U(1500);var f=o[qt],v=f.querySelectorAll("section");if(bt=v[xt]||f,n!==void 0){var m=g(bt.querySelectorAll(".fragment"));d(m).forEach(function(e,t){n>t?e.classList.add("visible"):e.classList.remove("visible")})}var h=qt!==s||xt!==i;h?p("slidechanged",{indexh:qt,indexv:xt,previousSlide:yt,currentSlide:bt,origin:r}):yt=null,yt&&(yt.classList.remove("present"),document.querySelector(St).classList.contains("present")&&setTimeout(function(){var e,t=d(document.querySelectorAll(Lt+".stack"));for(e in t)t[e]&&b(t[e],0)},0)),h&&(I(yt),H(bt)),O(),R(),Y()}function C(){c(),i(),y(),At=kt.autoSlide,K(),n(),O(),R(),Y()}function D(e,t){var n=d(document.querySelectorAll(e)),r=n.length;if(r){kt.loop&&(t%=r,0>t&&(t=r+t)),t=Math.max(Math.min(t,r-1),0);for(var o=0;r>o;o++){var a=n[o];if(k()===!1){var s=Math.abs((t-o)%(r-3))||0;a.style.display=s>3?"none":"block"}var i=kt.rtl&&!A(a);a.classList.remove("past"),a.classList.remove("present"),a.classList.remove("future"),a.setAttribute("hidden",""),t>o?a.classList.add(i?"future":"past"):o>t&&a.classList.add(i?"past":"future"),a.querySelector("section")&&a.classList.add("stack")}n[t].classList.add("present"),n[t].removeAttribute("hidden");var c=n[t].getAttribute("data-state");c&&(Tt=Tt.concat(c.split(" ")));var l=n[t].getAttribute("data-autoslide");At=l?parseInt(l,10):kt.autoSlide}else t=0;return t}function R(){if(kt.progress&&Pt.progress){var e=d(document.querySelectorAll(Lt)),t=document.querySelectorAll(wt+":not(.stack)").length,n=0;e:for(var r=0;e.length>r;r++){for(var o=e[r],a=d(o.querySelectorAll("section")),s=0;a.length>s;s++){if(a[s].classList.contains("present"))break e;n++}if(o.classList.contains("present"))break;o.classList.contains("stack")===!1&&n++}Pt.progressbar.style.width=n/(t-1)*window.innerWidth+"px"}}function O(){if(kt.controls&&Pt.controls){var e=z(),t=X();Pt.controlsLeft.concat(Pt.controlsRight).concat(Pt.controlsUp).concat(Pt.controlsDown).concat(Pt.controlsPrev).concat(Pt.controlsNext).forEach(function(e){e.classList.remove("enabled"),e.classList.remove("fragmented")}),e.left&&Pt.controlsLeft.forEach(function(e){e.classList.add("enabled")}),e.right&&Pt.controlsRight.forEach(function(e){e.classList.add("enabled")}),e.up&&Pt.controlsUp.forEach(function(e){e.classList.add("enabled")}),e.down&&Pt.controlsDown.forEach(function(e){e.classList.add("enabled")}),(e.left||e.up)&&Pt.controlsPrev.forEach(function(e){e.classList.add("enabled")}),(e.right||e.down)&&Pt.controlsNext.forEach(function(e){e.classList.add("enabled")}),bt&&(t.prev&&Pt.controlsPrev.forEach(function(e){e.classList.add("fragmented","enabled")}),t.next&&Pt.controlsNext.forEach(function(e){e.classList.add("fragmented","enabled")}),A(bt)?(t.prev&&Pt.controlsUp.forEach(function(e){e.classList.add("fragmented","enabled")}),t.next&&Pt.controlsDown.forEach(function(e){e.classList.add("fragmented","enabled")})):(t.prev&&Pt.controlsLeft.forEach(function(e){e.classList.add("fragmented","enabled")}),t.next&&Pt.controlsRight.forEach(function(e){e.classList.add("fragmented","enabled")})))}}function Y(){d(Pt.background.childNodes).forEach(function(e,t){e.className="slide-background "+(qt>t?"past":t>qt?"future":"present"),d(e.childNodes).forEach(function(e,t){e.className="slide-background "+(xt>t?"past":t>xt?"future":"present")})}),setTimeout(function(){Pt.background.classList.remove("no-transition")},1)}function z(){var e=document.querySelectorAll(Lt),t=document.querySelectorAll(Et),n={left:qt>0||kt.loop,right:e.length-1>qt||kt.loop,up:xt>0,down:t.length-1>xt};if(kt.rtl){var r=n.left;n.left=n.right,n.right=r}return n}function X(){if(bt&&kt.fragments){var e=bt.querySelectorAll(".fragment"),t=bt.querySelectorAll(".fragment:not(.visible)");return{prev:e.length-t.length>0,next:!!t.length}}return{prev:!1,next:!1}}function H(e){e&&(d(e.querySelectorAll("video, audio")).forEach(function(e){e.hasAttribute("data-autoplay")&&e.play()}),d(e.querySelectorAll('iframe[src*="youtube.com/embed/"]')).forEach(function(e){e.hasAttribute("data-autoplay")&&e.contentWindow.postMessage('{"event":"command","func":"playVideo","args":""}',"*")}))}function I(e){e&&(d(e.querySelectorAll("video, audio")).forEach(function(e){e.hasAttribute("data-ignore")||e.pause()}),d(e.querySelectorAll('iframe[src*="youtube.com/embed/"]')).forEach(function(e){e.hasAttribute("data-ignore")||"function"!=typeof e.contentWindow.postMessage||e.contentWindow.postMessage('{"event":"command","func":"pauseVideo","args":""}',"*")}))}function W(){var e=window.location.hash,t=e.slice(2).split("/"),n=e.replace(/#|\//gi,"");if(isNaN(parseInt(t[0],10))&&n.length){var r=document.querySelector("#"+n);if(r){var o=Reveal.getIndices(r);N(o.h,o.v)}else N(qt,xt)}else{var a=parseInt(t[0],10)||0,s=parseInt(t[1],10)||0;N(a,s)}}function U(e){if(kt.history)if(clearTimeout(Ot),"number"==typeof e)Ot=setTimeout(U,e);else{var t="/";bt&&"string"==typeof bt.getAttribute("id")?t="/"+bt.getAttribute("id"):((qt>0||xt>0)&&(t+=qt),xt>0&&(t+="/"+xt)),window.location.hash=t}}function F(e){var t,n=qt,r=xt;if(e){var o=A(e),a=o?e.parentNode:e,s=d(document.querySelectorAll(Lt));n=Math.max(s.indexOf(a),0),o&&(r=Math.max(d(e.parentNode.querySelectorAll("section")).indexOf(e),0))}if(!e&&bt){var i=bt.querySelectorAll(".fragment.visible");i.length&&(t=i.length)}return{h:n,v:r,f:t}}function j(){if(bt&&kt.fragments){var e=g(bt.querySelectorAll(".fragment:not(.visible)"));if(e.length){var t=e[0].getAttribute("data-fragment-index");return e=bt.querySelectorAll('.fragment[data-fragment-index="'+t+'"]'),d(e).forEach(function(e){e.classList.add("visible"),p("fragmentshown",{fragment:e})}),O(),!0}}return!1}function _(){if(bt&&kt.fragments){var e=g(bt.querySelectorAll(".fragment.visible"));if(e.length){var t=e[e.length-1].getAttribute("data-fragment-index");return e=bt.querySelectorAll('.fragment[data-fragment-index="'+t+'"]'),d(e).forEach(function(e){e.classList.remove("visible"),p("fragmenthidden",{fragment:e})}),O(),!0}}return!1}function K(){clearTimeout(Rt),!At||P()||k()||(Rt=setTimeout(J,At))}function $(){clearTimeout(Rt)}function V(){kt.rtl?(k()||j()===!1)&&z().left&&N(qt+1):(k()||_()===!1)&&z().left&&N(qt-1)}function Z(){kt.rtl?(k()||_()===!1)&&z().right&&N(qt-1):(k()||j()===!1)&&z().right&&N(qt+1)}function Q(){(k()||_()===!1)&&z().up&&N(qt,xt-1)}function B(){(k()||j()===!1)&&z().down&&N(qt,xt+1)}function G(){if(_()===!1)if(z().up)Q();else{var e=document.querySelector(Lt+".past:nth-child("+qt+")");e&&(xt=e.querySelectorAll("section").length+1||void 0,qt--,N(qt,xt))}}function J(){j()===!1&&(z().down?B():Z()),K()}function et(e){document.activeElement;var t=!(!document.activeElement||!document.activeElement.type&&!document.activeElement.href&&"inherit"===document.activeElement.contentEditable);if(!(t||e.shiftKey&&32!==e.keyCode||e.altKey||e.ctrlKey||e.metaKey)){var n=!0;if(P()&&-1===[66,190,191].indexOf(e.keyCode))return!1;switch(e.keyCode){case 80:case 33:G();break;case 78:case 34:J();break;case 72:case 37:V();break;case 76:case 39:Z();break;case 75:case 38:Q();break;case 74:case 40:B();break;case 36:N(0);break;case 35:N(Number.MAX_VALUE);break;case 32:k()?E():e.shiftKey?G():J();break;case 13:k()?E():n=!1;break;case 66:case 190:case 191:M();break;case 70:q();break;default:n=!1}n?e.preventDefault():27===e.keyCode&&Nt&&(S(),e.preventDefault()),K()}}function tt(e){Ht.startX=e.touches[0].clientX,Ht.startY=e.touches[0].clientY,Ht.startCount=e.touches.length,2===e.touches.length&&kt.overview&&(Ht.startSpan=u({x:e.touches[1].clientX,y:e.touches[1].clientY},{x:Ht.startX,y:Ht.startY}))}function nt(e){if(Ht.handled)navigator.userAgent.match(/android/gi)&&e.preventDefault();else{var t=e.touches[0].clientX,n=e.touches[0].clientY;if(2===e.touches.length&&2===Ht.startCount&&kt.overview){var r=u({x:e.touches[1].clientX,y:e.touches[1].clientY},{x:Ht.startX,y:Ht.startY});Math.abs(Ht.startSpan-r)>Ht.threshold&&(Ht.handled=!0,Ht.startSpan>r?L():E()),e.preventDefault()}else if(1===e.touches.length&&2!==Ht.startCount){var o=t-Ht.startX,a=n-Ht.startY;o>Ht.threshold&&Math.abs(o)>Math.abs(a)?(Ht.handled=!0,V()):-Ht.threshold>o&&Math.abs(o)>Math.abs(a)?(Ht.handled=!0,Z()):a>Ht.threshold?(Ht.handled=!0,Q()):-Ht.threshold>a&&(Ht.handled=!0,B()),e.preventDefault()}}}function rt(){Ht.handled=!1}function ot(e){e.pointerType===e.MSPOINTER_TYPE_TOUCH&&(e.touches=[{clientX:e.clientX,clientY:e.clientY}],tt(e))}function at(e){e.pointerType===e.MSPOINTER_TYPE_TOUCH&&(e.touches=[{clientX:e.clientX,clientY:e.clientY}],nt(e))}function st(e){e.pointerType===e.MSPOINTER_TYPE_TOUCH&&(e.touches=[{clientX:e.clientX,clientY:e.clientY}],rt(e))}function it(e){clearTimeout(Dt),Dt=setTimeout(function(){var t=e.detail||-e.wheelDelta;t>0?J():G()},100)}function ct(e){e.preventDefault();var t=d(document.querySelectorAll(Lt)).length,n=Math.floor(e.clientX/Pt.wrapper.offsetWidth*t);N(n)}function lt(e){e.preventDefault(),V()}function dt(e){e.preventDefault(),Z()}function ut(e){e.preventDefault(),Q()}function ft(e){e.preventDefault(),B()}function vt(e){e.preventDefault(),G()}function pt(e){e.preventDefault(),J()}function mt(){W()}function ht(){y()}function gt(e){if(Xt&&k()){e.preventDefault();for(var t=e.target;t&&!t.nodeName.match(/section/gi);)t=t.parentNode;if(t&&!t.classList.contains("disabled")&&(E(),t.nodeName.match(/section/gi))){var n=parseInt(t.getAttribute("data-index-h"),10),r=parseInt(t.getAttribute("data-index-v"),10);N(n,r)}}}var yt,bt,wt=".reveal .slides section",Lt=".reveal .slides>section",Et=".reveal .slides>section.present>section",St=".reveal .slides>section:first-child",kt={width:960,height:700,margin:.1,minScale:.2,maxScale:1,controls:!0,progress:!0,history:!1,keyboard:!0,overview:!0,center:!0,touch:!0,loop:!1,rtl:!1,fragments:!0,autoSlide:0,mouseWheel:!1,rollingLinks:!0,theme:null,transition:"default",transitionSpeed:"default",backgroundTransition:"default",dependencies:[]},At=0,qt=0,xt=0,Tt=[],Mt=1,Pt={},Nt="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,Ct="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,Dt=0,Rt=0,Ot=0,Yt=0,zt=0,Xt=!1,Ht={startX:0,startY:0,startSpan:0,startCount:0,handled:!1,threshold:80};return{initialize:e,configure:s,sync:C,slide:N,left:V,right:Z,up:Q,down:B,prev:G,next:J,prevFragment:_,nextFragment:j,navigateTo:N,navigateLeft:V,navigateRight:Z,navigateUp:Q,navigateDown:B,navigatePrev:G,navigateNext:J,layout:y,availableRoutes:z,availableFragments:X,toggleOverview:S,togglePause:M,isOverview:k,isPaused:P,addEventListeners:i,removeEventListeners:c,getIndices:F,getSlide:function(e,t){var n=document.querySelectorAll(Lt)[e],r=n&&n.querySelectorAll("section");return t!==void 0?r?r[t]:void 0:n},getPreviousSlide:function(){return yt},getCurrentSlide:function(){return bt},getScale:function(){return Mt},getConfig:function(){return kt},getQueryHash:function(){var e={};return location.search.replace(/[A-Z0-9]+?=(\w*)/gi,function(t){e[t.split("=").shift()]=t.split("=").pop()}),e},isFirstSlide:function(){return null==document.querySelector(wt+".past")?!0:!1},isLastSlide:function(){return bt&&bt.classList.contains(".stack")?null==bt.querySelector(wt+".future")?!0:!1:null==document.querySelector(wt+".future")?!0:!1},addEventListener:function(e,t,n){"addEventListener"in window&&(Pt.wrapper||document.querySelector(".reveal")).addEventListener(e,t,n)},removeEventListener:function(e,t,n){"addEventListener"in window&&(Pt.wrapper||document.querySelector(".reveal")).removeEventListener(e,t,n)}}}(); \ No newline at end of file From abb4ca8f2da34245b82931fcf99bede3e76d5481 Mon Sep 17 00:00:00 2001 From: Hakim El Hattab Date: Mon, 10 Jun 2013 08:55:59 +0200 Subject: [PATCH 21/23] rtl support for new sliding backgrounds --- js/reveal.js | 6 +++++- js/reveal.min.js | 4 ++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/js/reveal.js b/js/reveal.js index b3ccffe..24960cd 100644 --- a/js/reveal.js +++ b/js/reveal.js @@ -1524,7 +1524,11 @@ var Reveal = (function(){ // states of their slides (past/present/future) toArray( dom.background.childNodes ).forEach( function( backgroundh, h ) { - backgroundh.className = 'slide-background ' + ( h < indexh ? 'past' : h > indexh ? 'future' : 'present' ); + // Reverse past/future classes when in RTL mode + var horizontalPast = config.rtl ? 'future' : 'past', + horizontalFuture = config.rtl ? 'past' : 'future'; + + backgroundh.className = 'slide-background ' + ( h < indexh ? horizontalPast : h > indexh ? horizontalFuture : 'present' ); toArray( backgroundh.childNodes ).forEach( function( backgroundv, v ) { diff --git a/js/reveal.min.js b/js/reveal.min.js index 6f2962a..70c6577 100644 --- a/js/reveal.min.js +++ b/js/reveal.min.js @@ -1,8 +1,8 @@ /*! - * reveal.js 2.5.0 (2013-06-10, 08:49) + * reveal.js 2.5.0 (2013-06-10, 08:55) * http://lab.hakim.se/reveal-js * MIT licensed * * Copyright (C) 2013 Hakim El Hattab, http://hakim.se */ -var Reveal=function(){"use strict";function e(e){return Ct||Nt?(window.addEventListener("load",y,!1),l(kt,e),r(),o(),void 0):(document.body.setAttribute("class","no-transforms"),void 0)}function t(){if(Pt.theme=document.querySelector("#theme"),Pt.wrapper=document.querySelector(".reveal"),Pt.slides=document.querySelector(".reveal .slides"),document.querySelector(".reveal .backgrounds")||(Pt.background=document.createElement("div"),Pt.background.classList.add("backgrounds"),Pt.wrapper.appendChild(Pt.background)),!Pt.wrapper.querySelector(".progress")){var e=document.createElement("div");e.classList.add("progress"),e.innerHTML="",Pt.wrapper.appendChild(e)}if(!Pt.wrapper.querySelector(".controls")){var t=document.createElement("aside");t.classList.add("controls"),t.innerHTML='',Pt.wrapper.appendChild(t)}if(!Pt.wrapper.querySelector(".state-background")){var n=document.createElement("div");n.classList.add("state-background"),Pt.wrapper.appendChild(n)}if(!Pt.wrapper.querySelector(".pause-overlay")){var r=document.createElement("div");r.classList.add("pause-overlay"),Pt.wrapper.appendChild(r)}Pt.progress=document.querySelector(".reveal .progress"),Pt.progressbar=document.querySelector(".reveal .progress span"),kt.controls&&(Pt.controls=document.querySelector(".reveal .controls"),Pt.controlsLeft=d(document.querySelectorAll(".navigate-left")),Pt.controlsRight=d(document.querySelectorAll(".navigate-right")),Pt.controlsUp=d(document.querySelectorAll(".navigate-up")),Pt.controlsDown=d(document.querySelectorAll(".navigate-down")),Pt.controlsPrev=d(document.querySelectorAll(".navigate-prev")),Pt.controlsNext=d(document.querySelectorAll(".navigate-next")))}function n(){function e(e,t){var n={background:e.getAttribute("data-background"),backgroundSize:e.getAttribute("data-background-size"),backgroundColor:e.getAttribute("data-background-color"),backgroundRepeat:e.getAttribute("data-background-repeat"),backgroundPosition:e.getAttribute("data-background-position")},r=document.createElement("div");return r.className="slide-background",n.background&&(/\.(png|jpg|jpeg|gif|bmp)$/gi.test(n.background)?r.style.backgroundImage="url("+n.background+")":r.style.background=n.background),n.backgroundSize&&(r.style.backgroundSize=n.backgroundSize),n.backgroundColor&&(r.style.backgroundColor=n.backgroundColor),n.backgroundRepeat&&(r.style.backgroundRepeat=n.backgroundRepeat),n.backgroundPosition&&(r.style.backgroundPosition=n.backgroundPosition),t.appendChild(r),r}f()&&document.body.classList.add("print-pdf"),Pt.background.innerHTML="",Pt.background.classList.add("no-transition"),d(document.querySelectorAll(Lt)).forEach(function(t){var n;n=f()?e(t,t):e(t,Pt.background),d(t.querySelectorAll("section")).forEach(function(t){f()?e(t,t):e(t,n)})})}function r(){/iphone|ipod|android/gi.test(navigator.userAgent)&&!/crios/gi.test(navigator.userAgent)&&(window.addEventListener("load",v,!1),window.addEventListener("orientationchange",v,!1))}function o(){function e(){n.length&&head.js.apply(null,n),a()}for(var t=[],n=[],r=0,o=kt.dependencies.length;o>r;r++){var s=kt.dependencies[r];(!s.condition||s.condition())&&(s.async?n.push(s.src):t.push(s.src),"function"==typeof s.callback&&head.ready(s.src.match(/([\w\d_\-]*)\.?js$|[^\\\/]*$/i)[0],s.callback))}t.length?(head.ready(e),head.js.apply(null,t)):e()}function a(){t(),s(),W(),setTimeout(function(){p("ready",{indexh:qt,indexv:xt,currentSlide:bt})},1)}function s(e){if(Pt.wrapper.classList.remove(kt.transition),"object"==typeof e&&l(kt,e),Nt===!1&&(kt.transition="linear"),Pt.wrapper.classList.add(kt.transition),Pt.wrapper.setAttribute("data-transition-speed",kt.transitionSpeed),Pt.wrapper.setAttribute("data-background-transition",kt.backgroundTransition),Pt.controls&&(Pt.controls.style.display=kt.controls&&Pt.controls?"block":"none"),Pt.progress&&(Pt.progress.style.display=kt.progress&&Pt.progress?"block":"none"),kt.rtl?Pt.wrapper.classList.add("rtl"):Pt.wrapper.classList.remove("rtl"),kt.center?Pt.wrapper.classList.add("center"):Pt.wrapper.classList.remove("center"),kt.mouseWheel?(document.addEventListener("DOMMouseScroll",it,!1),document.addEventListener("mousewheel",it,!1)):(document.removeEventListener("DOMMouseScroll",it,!1),document.removeEventListener("mousewheel",it,!1)),kt.rollingLinks?m():h(),kt.theme&&Pt.theme){var t=Pt.theme.getAttribute("href"),n=/[^\/]*?(?=\.css)/,r=t.match(n)[0];kt.theme!==r&&(t=t.replace(n,kt.theme),Pt.theme.setAttribute("href",t))}C()}function i(){Xt=!0,window.addEventListener("hashchange",mt,!1),window.addEventListener("resize",ht,!1),kt.touch&&(Pt.wrapper.addEventListener("touchstart",tt,!1),Pt.wrapper.addEventListener("touchmove",nt,!1),Pt.wrapper.addEventListener("touchend",rt,!1),window.navigator.msPointerEnabled&&(Pt.wrapper.addEventListener("MSPointerDown",ot,!1),Pt.wrapper.addEventListener("MSPointerMove",at,!1),Pt.wrapper.addEventListener("MSPointerUp",st,!1))),kt.keyboard&&document.addEventListener("keydown",et,!1),kt.progress&&Pt.progress&&Pt.progress.addEventListener("click",ct,!1),kt.controls&&Pt.controls&&["touchstart","click"].forEach(function(e){Pt.controlsLeft.forEach(function(t){t.addEventListener(e,lt,!1)}),Pt.controlsRight.forEach(function(t){t.addEventListener(e,dt,!1)}),Pt.controlsUp.forEach(function(t){t.addEventListener(e,ut,!1)}),Pt.controlsDown.forEach(function(t){t.addEventListener(e,ft,!1)}),Pt.controlsPrev.forEach(function(t){t.addEventListener(e,vt,!1)}),Pt.controlsNext.forEach(function(t){t.addEventListener(e,pt,!1)})})}function c(){Xt=!1,document.removeEventListener("keydown",et,!1),window.removeEventListener("hashchange",mt,!1),window.removeEventListener("resize",ht,!1),Pt.wrapper.removeEventListener("touchstart",tt,!1),Pt.wrapper.removeEventListener("touchmove",nt,!1),Pt.wrapper.removeEventListener("touchend",rt,!1),window.navigator.msPointerEnabled&&(Pt.wrapper.removeEventListener("MSPointerDown",ot,!1),Pt.wrapper.removeEventListener("MSPointerMove",at,!1),Pt.wrapper.removeEventListener("MSPointerUp",st,!1)),kt.progress&&Pt.progress&&Pt.progress.removeEventListener("click",ct,!1),kt.controls&&Pt.controls&&["touchstart","click"].forEach(function(e){Pt.controlsLeft.forEach(function(t){t.removeEventListener(e,lt,!1)}),Pt.controlsRight.forEach(function(t){t.removeEventListener(e,dt,!1)}),Pt.controlsUp.forEach(function(t){t.removeEventListener(e,ut,!1)}),Pt.controlsDown.forEach(function(t){t.removeEventListener(e,ft,!1)}),Pt.controlsPrev.forEach(function(t){t.removeEventListener(e,vt,!1)}),Pt.controlsNext.forEach(function(t){t.removeEventListener(e,pt,!1)})})}function l(e,t){for(var n in t)e[n]=t[n]}function d(e){return Array.prototype.slice.call(e)}function u(e,t){var n=e.x-t.x,r=e.y-t.y;return Math.sqrt(n*n+r*r)}function f(){return/print-pdf/gi.test(window.location.search)}function v(){0===window.orientation?(document.documentElement.style.overflow="scroll",document.body.style.height="120%"):(document.documentElement.style.overflow="",document.body.style.height="100%"),setTimeout(function(){window.scrollTo(0,1)},10)}function p(e,t){var n=document.createEvent("HTMLEvents",1,2);n.initEvent(e,!0,!0),l(n,t),Pt.wrapper.dispatchEvent(n)}function m(){if(Nt&&!("msPerspective"in document.body.style))for(var e=document.querySelectorAll(wt+" a:not(.image)"),t=0,n=e.length;n>t;t++){var r=e[t];if(!(!r.textContent||r.querySelector("*")||r.className&&r.classList.contains(r,"roll"))){var o=document.createElement("span");o.setAttribute("data-title",r.text),o.innerHTML=r.innerHTML,r.classList.add("roll"),r.innerHTML="",r.appendChild(o)}}}function h(){for(var e=document.querySelectorAll(wt+" a.roll"),t=0,n=e.length;n>t;t++){var r=e[t],o=r.querySelector("span");o&&(r.classList.remove("roll"),r.innerHTML=o.innerHTML)}}function g(e){var t=d(e);return t.forEach(function(e,t){e.hasAttribute("data-fragment-index")||e.setAttribute("data-fragment-index",t)}),t.sort(function(e,t){return e.getAttribute("data-fragment-index")-t.getAttribute("data-fragment-index")}),t}function y(){if(Pt.wrapper&&!f()){var e=Pt.wrapper.offsetWidth,t=Pt.wrapper.offsetHeight;e-=t*kt.margin,t-=t*kt.margin;var n=kt.width,r=kt.height;if("string"==typeof n&&/%$/.test(n)&&(n=parseInt(n,10)/100*e),"string"==typeof r&&/%$/.test(r)&&(r=parseInt(r,10)/100*t),Pt.slides.style.width=n+"px",Pt.slides.style.height=r+"px",Mt=Math.min(e/n,t/r),Mt=Math.max(Mt,kt.minScale),Mt=Math.min(Mt,kt.maxScale),void 0===Pt.slides.style.zoom||navigator.userAgent.match(/(iphone|ipod|ipad|android)/gi)){var o="translate(-50%, -50%) scale("+Mt+") translate(50%, 50%)";Pt.slides.style.WebkitTransform=o,Pt.slides.style.MozTransform=o,Pt.slides.style.msTransform=o,Pt.slides.style.OTransform=o,Pt.slides.style.transform=o}else Pt.slides.style.zoom=Mt;for(var a=d(document.querySelectorAll(wt)),s=0,i=a.length;i>s;s++){var c=a[s];"none"!==c.style.display&&(c.style.top=kt.center?c.classList.contains("stack")?0:Math.max(-(c.offsetHeight/2)-20,-r/2)+"px":"")}R()}}function b(e,t){"object"==typeof e&&"function"==typeof e.setAttribute&&e.setAttribute("data-previous-indexv",t||0)}function w(e){if("object"==typeof e&&"function"==typeof e.setAttribute&&e.classList.contains("stack")){var t=e.hasAttribute("data-start-indexv")?"data-start-indexv":"data-previous-indexv";return parseInt(e.getAttribute(t)||0,10)}return 0}function L(){if(kt.overview){$();var e=Pt.wrapper.classList.contains("overview");Pt.wrapper.classList.add("overview"),Pt.wrapper.classList.remove("exit-overview"),clearTimeout(Yt),clearTimeout(zt),Yt=setTimeout(function(){for(var t=document.querySelectorAll(Lt),n=0,r=t.length;r>n;n++){var o=t[n],a=kt.rtl?-105:105,s="translateZ(-2500px) translate("+(n-qt)*a+"%, 0%)";if(o.setAttribute("data-index-h",n),o.style.display="block",o.style.WebkitTransform=s,o.style.MozTransform=s,o.style.msTransform=s,o.style.OTransform=s,o.style.transform=s,o.classList.contains("stack"))for(var i=o.querySelectorAll("section"),c=0,l=i.length;l>c;c++){var d=n===qt?xt:w(o),u=i[c],f="translate(0%, "+105*(c-d)+"%)";u.setAttribute("data-index-h",n),u.setAttribute("data-index-v",c),u.style.display="block",u.style.WebkitTransform=f,u.style.MozTransform=f,u.style.msTransform=f,u.style.OTransform=f,u.style.transform=f,u.addEventListener("click",gt,!0)}else o.addEventListener("click",gt,!0)}y(),e||p("overviewshown",{indexh:qt,indexv:xt,currentSlide:bt})},10)}}function E(){if(kt.overview){clearTimeout(Yt),clearTimeout(zt),Pt.wrapper.classList.remove("overview"),Pt.wrapper.classList.add("exit-overview"),zt=setTimeout(function(){Pt.wrapper.classList.remove("exit-overview")},10);for(var e=d(document.querySelectorAll(wt)),t=0,n=e.length;n>t;t++){var r=e[t];r.style.display="",r.style.WebkitTransform="",r.style.MozTransform="",r.style.msTransform="",r.style.OTransform="",r.style.transform="",r.removeEventListener("click",gt,!0)}N(qt,xt),K(),p("overviewhidden",{indexh:qt,indexv:xt,currentSlide:bt})}}function S(e){"boolean"==typeof e?e?L():E():k()?E():L()}function k(){return Pt.wrapper.classList.contains("overview")}function A(e){return e=e?e:bt,e&&!!e.parentNode.nodeName.match(/section/i)}function q(){var e=document.body,t=e.requestFullScreen||e.webkitRequestFullscreen||e.webkitRequestFullScreen||e.mozRequestFullScreen||e.msRequestFullScreen;t&&t.apply(e)}function x(){var e=Pt.wrapper.classList.contains("paused");$(),Pt.wrapper.classList.add("paused"),e===!1&&p("paused")}function T(){var e=Pt.wrapper.classList.contains("paused");Pt.wrapper.classList.remove("paused"),K(),e&&p("resumed")}function M(){P()?T():x()}function P(){return Pt.wrapper.classList.contains("paused")}function N(e,t,n,r){yt=bt;var o=document.querySelectorAll(Lt);void 0===t&&(t=w(o[e])),yt&&yt.parentNode&&yt.parentNode.classList.contains("stack")&&b(yt.parentNode,xt);var a=Tt.concat();Tt.length=0;var s=qt,i=xt;qt=D(Lt,void 0===e?qt:e),xt=D(Et,void 0===t?xt:t),y();e:for(var c=0,l=Tt.length;l>c;c++){for(var u=0;a.length>u;u++)if(a[u]===Tt[c]){a.splice(u,1);continue e}document.documentElement.classList.add(Tt[c]),p(Tt[c])}for(;a.length;)document.documentElement.classList.remove(a.pop());k()&&L(),U(1500);var f=o[qt],v=f.querySelectorAll("section");if(bt=v[xt]||f,n!==void 0){var m=g(bt.querySelectorAll(".fragment"));d(m).forEach(function(e,t){n>t?e.classList.add("visible"):e.classList.remove("visible")})}var h=qt!==s||xt!==i;h?p("slidechanged",{indexh:qt,indexv:xt,previousSlide:yt,currentSlide:bt,origin:r}):yt=null,yt&&(yt.classList.remove("present"),document.querySelector(St).classList.contains("present")&&setTimeout(function(){var e,t=d(document.querySelectorAll(Lt+".stack"));for(e in t)t[e]&&b(t[e],0)},0)),h&&(I(yt),H(bt)),O(),R(),Y()}function C(){c(),i(),y(),At=kt.autoSlide,K(),n(),O(),R(),Y()}function D(e,t){var n=d(document.querySelectorAll(e)),r=n.length;if(r){kt.loop&&(t%=r,0>t&&(t=r+t)),t=Math.max(Math.min(t,r-1),0);for(var o=0;r>o;o++){var a=n[o];if(k()===!1){var s=Math.abs((t-o)%(r-3))||0;a.style.display=s>3?"none":"block"}var i=kt.rtl&&!A(a);a.classList.remove("past"),a.classList.remove("present"),a.classList.remove("future"),a.setAttribute("hidden",""),t>o?a.classList.add(i?"future":"past"):o>t&&a.classList.add(i?"past":"future"),a.querySelector("section")&&a.classList.add("stack")}n[t].classList.add("present"),n[t].removeAttribute("hidden");var c=n[t].getAttribute("data-state");c&&(Tt=Tt.concat(c.split(" ")));var l=n[t].getAttribute("data-autoslide");At=l?parseInt(l,10):kt.autoSlide}else t=0;return t}function R(){if(kt.progress&&Pt.progress){var e=d(document.querySelectorAll(Lt)),t=document.querySelectorAll(wt+":not(.stack)").length,n=0;e:for(var r=0;e.length>r;r++){for(var o=e[r],a=d(o.querySelectorAll("section")),s=0;a.length>s;s++){if(a[s].classList.contains("present"))break e;n++}if(o.classList.contains("present"))break;o.classList.contains("stack")===!1&&n++}Pt.progressbar.style.width=n/(t-1)*window.innerWidth+"px"}}function O(){if(kt.controls&&Pt.controls){var e=z(),t=X();Pt.controlsLeft.concat(Pt.controlsRight).concat(Pt.controlsUp).concat(Pt.controlsDown).concat(Pt.controlsPrev).concat(Pt.controlsNext).forEach(function(e){e.classList.remove("enabled"),e.classList.remove("fragmented")}),e.left&&Pt.controlsLeft.forEach(function(e){e.classList.add("enabled")}),e.right&&Pt.controlsRight.forEach(function(e){e.classList.add("enabled")}),e.up&&Pt.controlsUp.forEach(function(e){e.classList.add("enabled")}),e.down&&Pt.controlsDown.forEach(function(e){e.classList.add("enabled")}),(e.left||e.up)&&Pt.controlsPrev.forEach(function(e){e.classList.add("enabled")}),(e.right||e.down)&&Pt.controlsNext.forEach(function(e){e.classList.add("enabled")}),bt&&(t.prev&&Pt.controlsPrev.forEach(function(e){e.classList.add("fragmented","enabled")}),t.next&&Pt.controlsNext.forEach(function(e){e.classList.add("fragmented","enabled")}),A(bt)?(t.prev&&Pt.controlsUp.forEach(function(e){e.classList.add("fragmented","enabled")}),t.next&&Pt.controlsDown.forEach(function(e){e.classList.add("fragmented","enabled")})):(t.prev&&Pt.controlsLeft.forEach(function(e){e.classList.add("fragmented","enabled")}),t.next&&Pt.controlsRight.forEach(function(e){e.classList.add("fragmented","enabled")})))}}function Y(){d(Pt.background.childNodes).forEach(function(e,t){e.className="slide-background "+(qt>t?"past":t>qt?"future":"present"),d(e.childNodes).forEach(function(e,t){e.className="slide-background "+(xt>t?"past":t>xt?"future":"present")})}),setTimeout(function(){Pt.background.classList.remove("no-transition")},1)}function z(){var e=document.querySelectorAll(Lt),t=document.querySelectorAll(Et),n={left:qt>0||kt.loop,right:e.length-1>qt||kt.loop,up:xt>0,down:t.length-1>xt};if(kt.rtl){var r=n.left;n.left=n.right,n.right=r}return n}function X(){if(bt&&kt.fragments){var e=bt.querySelectorAll(".fragment"),t=bt.querySelectorAll(".fragment:not(.visible)");return{prev:e.length-t.length>0,next:!!t.length}}return{prev:!1,next:!1}}function H(e){e&&(d(e.querySelectorAll("video, audio")).forEach(function(e){e.hasAttribute("data-autoplay")&&e.play()}),d(e.querySelectorAll('iframe[src*="youtube.com/embed/"]')).forEach(function(e){e.hasAttribute("data-autoplay")&&e.contentWindow.postMessage('{"event":"command","func":"playVideo","args":""}',"*")}))}function I(e){e&&(d(e.querySelectorAll("video, audio")).forEach(function(e){e.hasAttribute("data-ignore")||e.pause()}),d(e.querySelectorAll('iframe[src*="youtube.com/embed/"]')).forEach(function(e){e.hasAttribute("data-ignore")||"function"!=typeof e.contentWindow.postMessage||e.contentWindow.postMessage('{"event":"command","func":"pauseVideo","args":""}',"*")}))}function W(){var e=window.location.hash,t=e.slice(2).split("/"),n=e.replace(/#|\//gi,"");if(isNaN(parseInt(t[0],10))&&n.length){var r=document.querySelector("#"+n);if(r){var o=Reveal.getIndices(r);N(o.h,o.v)}else N(qt,xt)}else{var a=parseInt(t[0],10)||0,s=parseInt(t[1],10)||0;N(a,s)}}function U(e){if(kt.history)if(clearTimeout(Ot),"number"==typeof e)Ot=setTimeout(U,e);else{var t="/";bt&&"string"==typeof bt.getAttribute("id")?t="/"+bt.getAttribute("id"):((qt>0||xt>0)&&(t+=qt),xt>0&&(t+="/"+xt)),window.location.hash=t}}function F(e){var t,n=qt,r=xt;if(e){var o=A(e),a=o?e.parentNode:e,s=d(document.querySelectorAll(Lt));n=Math.max(s.indexOf(a),0),o&&(r=Math.max(d(e.parentNode.querySelectorAll("section")).indexOf(e),0))}if(!e&&bt){var i=bt.querySelectorAll(".fragment.visible");i.length&&(t=i.length)}return{h:n,v:r,f:t}}function j(){if(bt&&kt.fragments){var e=g(bt.querySelectorAll(".fragment:not(.visible)"));if(e.length){var t=e[0].getAttribute("data-fragment-index");return e=bt.querySelectorAll('.fragment[data-fragment-index="'+t+'"]'),d(e).forEach(function(e){e.classList.add("visible"),p("fragmentshown",{fragment:e})}),O(),!0}}return!1}function _(){if(bt&&kt.fragments){var e=g(bt.querySelectorAll(".fragment.visible"));if(e.length){var t=e[e.length-1].getAttribute("data-fragment-index");return e=bt.querySelectorAll('.fragment[data-fragment-index="'+t+'"]'),d(e).forEach(function(e){e.classList.remove("visible"),p("fragmenthidden",{fragment:e})}),O(),!0}}return!1}function K(){clearTimeout(Rt),!At||P()||k()||(Rt=setTimeout(J,At))}function $(){clearTimeout(Rt)}function V(){kt.rtl?(k()||j()===!1)&&z().left&&N(qt+1):(k()||_()===!1)&&z().left&&N(qt-1)}function Z(){kt.rtl?(k()||_()===!1)&&z().right&&N(qt-1):(k()||j()===!1)&&z().right&&N(qt+1)}function Q(){(k()||_()===!1)&&z().up&&N(qt,xt-1)}function B(){(k()||j()===!1)&&z().down&&N(qt,xt+1)}function G(){if(_()===!1)if(z().up)Q();else{var e=document.querySelector(Lt+".past:nth-child("+qt+")");e&&(xt=e.querySelectorAll("section").length+1||void 0,qt--,N(qt,xt))}}function J(){j()===!1&&(z().down?B():Z()),K()}function et(e){document.activeElement;var t=!(!document.activeElement||!document.activeElement.type&&!document.activeElement.href&&"inherit"===document.activeElement.contentEditable);if(!(t||e.shiftKey&&32!==e.keyCode||e.altKey||e.ctrlKey||e.metaKey)){var n=!0;if(P()&&-1===[66,190,191].indexOf(e.keyCode))return!1;switch(e.keyCode){case 80:case 33:G();break;case 78:case 34:J();break;case 72:case 37:V();break;case 76:case 39:Z();break;case 75:case 38:Q();break;case 74:case 40:B();break;case 36:N(0);break;case 35:N(Number.MAX_VALUE);break;case 32:k()?E():e.shiftKey?G():J();break;case 13:k()?E():n=!1;break;case 66:case 190:case 191:M();break;case 70:q();break;default:n=!1}n?e.preventDefault():27===e.keyCode&&Nt&&(S(),e.preventDefault()),K()}}function tt(e){Ht.startX=e.touches[0].clientX,Ht.startY=e.touches[0].clientY,Ht.startCount=e.touches.length,2===e.touches.length&&kt.overview&&(Ht.startSpan=u({x:e.touches[1].clientX,y:e.touches[1].clientY},{x:Ht.startX,y:Ht.startY}))}function nt(e){if(Ht.handled)navigator.userAgent.match(/android/gi)&&e.preventDefault();else{var t=e.touches[0].clientX,n=e.touches[0].clientY;if(2===e.touches.length&&2===Ht.startCount&&kt.overview){var r=u({x:e.touches[1].clientX,y:e.touches[1].clientY},{x:Ht.startX,y:Ht.startY});Math.abs(Ht.startSpan-r)>Ht.threshold&&(Ht.handled=!0,Ht.startSpan>r?L():E()),e.preventDefault()}else if(1===e.touches.length&&2!==Ht.startCount){var o=t-Ht.startX,a=n-Ht.startY;o>Ht.threshold&&Math.abs(o)>Math.abs(a)?(Ht.handled=!0,V()):-Ht.threshold>o&&Math.abs(o)>Math.abs(a)?(Ht.handled=!0,Z()):a>Ht.threshold?(Ht.handled=!0,Q()):-Ht.threshold>a&&(Ht.handled=!0,B()),e.preventDefault()}}}function rt(){Ht.handled=!1}function ot(e){e.pointerType===e.MSPOINTER_TYPE_TOUCH&&(e.touches=[{clientX:e.clientX,clientY:e.clientY}],tt(e))}function at(e){e.pointerType===e.MSPOINTER_TYPE_TOUCH&&(e.touches=[{clientX:e.clientX,clientY:e.clientY}],nt(e))}function st(e){e.pointerType===e.MSPOINTER_TYPE_TOUCH&&(e.touches=[{clientX:e.clientX,clientY:e.clientY}],rt(e))}function it(e){clearTimeout(Dt),Dt=setTimeout(function(){var t=e.detail||-e.wheelDelta;t>0?J():G()},100)}function ct(e){e.preventDefault();var t=d(document.querySelectorAll(Lt)).length,n=Math.floor(e.clientX/Pt.wrapper.offsetWidth*t);N(n)}function lt(e){e.preventDefault(),V()}function dt(e){e.preventDefault(),Z()}function ut(e){e.preventDefault(),Q()}function ft(e){e.preventDefault(),B()}function vt(e){e.preventDefault(),G()}function pt(e){e.preventDefault(),J()}function mt(){W()}function ht(){y()}function gt(e){if(Xt&&k()){e.preventDefault();for(var t=e.target;t&&!t.nodeName.match(/section/gi);)t=t.parentNode;if(t&&!t.classList.contains("disabled")&&(E(),t.nodeName.match(/section/gi))){var n=parseInt(t.getAttribute("data-index-h"),10),r=parseInt(t.getAttribute("data-index-v"),10);N(n,r)}}}var yt,bt,wt=".reveal .slides section",Lt=".reveal .slides>section",Et=".reveal .slides>section.present>section",St=".reveal .slides>section:first-child",kt={width:960,height:700,margin:.1,minScale:.2,maxScale:1,controls:!0,progress:!0,history:!1,keyboard:!0,overview:!0,center:!0,touch:!0,loop:!1,rtl:!1,fragments:!0,autoSlide:0,mouseWheel:!1,rollingLinks:!0,theme:null,transition:"default",transitionSpeed:"default",backgroundTransition:"default",dependencies:[]},At=0,qt=0,xt=0,Tt=[],Mt=1,Pt={},Nt="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,Ct="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,Dt=0,Rt=0,Ot=0,Yt=0,zt=0,Xt=!1,Ht={startX:0,startY:0,startSpan:0,startCount:0,handled:!1,threshold:80};return{initialize:e,configure:s,sync:C,slide:N,left:V,right:Z,up:Q,down:B,prev:G,next:J,prevFragment:_,nextFragment:j,navigateTo:N,navigateLeft:V,navigateRight:Z,navigateUp:Q,navigateDown:B,navigatePrev:G,navigateNext:J,layout:y,availableRoutes:z,availableFragments:X,toggleOverview:S,togglePause:M,isOverview:k,isPaused:P,addEventListeners:i,removeEventListeners:c,getIndices:F,getSlide:function(e,t){var n=document.querySelectorAll(Lt)[e],r=n&&n.querySelectorAll("section");return t!==void 0?r?r[t]:void 0:n},getPreviousSlide:function(){return yt},getCurrentSlide:function(){return bt},getScale:function(){return Mt},getConfig:function(){return kt},getQueryHash:function(){var e={};return location.search.replace(/[A-Z0-9]+?=(\w*)/gi,function(t){e[t.split("=").shift()]=t.split("=").pop()}),e},isFirstSlide:function(){return null==document.querySelector(wt+".past")?!0:!1},isLastSlide:function(){return bt&&bt.classList.contains(".stack")?null==bt.querySelector(wt+".future")?!0:!1:null==document.querySelector(wt+".future")?!0:!1},addEventListener:function(e,t,n){"addEventListener"in window&&(Pt.wrapper||document.querySelector(".reveal")).addEventListener(e,t,n)},removeEventListener:function(e,t,n){"addEventListener"in window&&(Pt.wrapper||document.querySelector(".reveal")).removeEventListener(e,t,n)}}}(); \ No newline at end of file +var Reveal=function(){"use strict";function e(e){return Ct||Nt?(window.addEventListener("load",y,!1),l(kt,e),r(),o(),void 0):(document.body.setAttribute("class","no-transforms"),void 0)}function t(){if(Pt.theme=document.querySelector("#theme"),Pt.wrapper=document.querySelector(".reveal"),Pt.slides=document.querySelector(".reveal .slides"),document.querySelector(".reveal .backgrounds")||(Pt.background=document.createElement("div"),Pt.background.classList.add("backgrounds"),Pt.wrapper.appendChild(Pt.background)),!Pt.wrapper.querySelector(".progress")){var e=document.createElement("div");e.classList.add("progress"),e.innerHTML="",Pt.wrapper.appendChild(e)}if(!Pt.wrapper.querySelector(".controls")){var t=document.createElement("aside");t.classList.add("controls"),t.innerHTML='',Pt.wrapper.appendChild(t)}if(!Pt.wrapper.querySelector(".state-background")){var n=document.createElement("div");n.classList.add("state-background"),Pt.wrapper.appendChild(n)}if(!Pt.wrapper.querySelector(".pause-overlay")){var r=document.createElement("div");r.classList.add("pause-overlay"),Pt.wrapper.appendChild(r)}Pt.progress=document.querySelector(".reveal .progress"),Pt.progressbar=document.querySelector(".reveal .progress span"),kt.controls&&(Pt.controls=document.querySelector(".reveal .controls"),Pt.controlsLeft=d(document.querySelectorAll(".navigate-left")),Pt.controlsRight=d(document.querySelectorAll(".navigate-right")),Pt.controlsUp=d(document.querySelectorAll(".navigate-up")),Pt.controlsDown=d(document.querySelectorAll(".navigate-down")),Pt.controlsPrev=d(document.querySelectorAll(".navigate-prev")),Pt.controlsNext=d(document.querySelectorAll(".navigate-next")))}function n(){function e(e,t){var n={background:e.getAttribute("data-background"),backgroundSize:e.getAttribute("data-background-size"),backgroundColor:e.getAttribute("data-background-color"),backgroundRepeat:e.getAttribute("data-background-repeat"),backgroundPosition:e.getAttribute("data-background-position")},r=document.createElement("div");return r.className="slide-background",n.background&&(/\.(png|jpg|jpeg|gif|bmp)$/gi.test(n.background)?r.style.backgroundImage="url("+n.background+")":r.style.background=n.background),n.backgroundSize&&(r.style.backgroundSize=n.backgroundSize),n.backgroundColor&&(r.style.backgroundColor=n.backgroundColor),n.backgroundRepeat&&(r.style.backgroundRepeat=n.backgroundRepeat),n.backgroundPosition&&(r.style.backgroundPosition=n.backgroundPosition),t.appendChild(r),r}f()&&document.body.classList.add("print-pdf"),Pt.background.innerHTML="",Pt.background.classList.add("no-transition"),d(document.querySelectorAll(Lt)).forEach(function(t){var n;n=f()?e(t,t):e(t,Pt.background),d(t.querySelectorAll("section")).forEach(function(t){f()?e(t,t):e(t,n)})})}function r(){/iphone|ipod|android/gi.test(navigator.userAgent)&&!/crios/gi.test(navigator.userAgent)&&(window.addEventListener("load",v,!1),window.addEventListener("orientationchange",v,!1))}function o(){function e(){n.length&&head.js.apply(null,n),a()}for(var t=[],n=[],r=0,o=kt.dependencies.length;o>r;r++){var s=kt.dependencies[r];(!s.condition||s.condition())&&(s.async?n.push(s.src):t.push(s.src),"function"==typeof s.callback&&head.ready(s.src.match(/([\w\d_\-]*)\.?js$|[^\\\/]*$/i)[0],s.callback))}t.length?(head.ready(e),head.js.apply(null,t)):e()}function a(){t(),s(),W(),setTimeout(function(){p("ready",{indexh:qt,indexv:xt,currentSlide:bt})},1)}function s(e){if(Pt.wrapper.classList.remove(kt.transition),"object"==typeof e&&l(kt,e),Nt===!1&&(kt.transition="linear"),Pt.wrapper.classList.add(kt.transition),Pt.wrapper.setAttribute("data-transition-speed",kt.transitionSpeed),Pt.wrapper.setAttribute("data-background-transition",kt.backgroundTransition),Pt.controls&&(Pt.controls.style.display=kt.controls&&Pt.controls?"block":"none"),Pt.progress&&(Pt.progress.style.display=kt.progress&&Pt.progress?"block":"none"),kt.rtl?Pt.wrapper.classList.add("rtl"):Pt.wrapper.classList.remove("rtl"),kt.center?Pt.wrapper.classList.add("center"):Pt.wrapper.classList.remove("center"),kt.mouseWheel?(document.addEventListener("DOMMouseScroll",it,!1),document.addEventListener("mousewheel",it,!1)):(document.removeEventListener("DOMMouseScroll",it,!1),document.removeEventListener("mousewheel",it,!1)),kt.rollingLinks?m():h(),kt.theme&&Pt.theme){var t=Pt.theme.getAttribute("href"),n=/[^\/]*?(?=\.css)/,r=t.match(n)[0];kt.theme!==r&&(t=t.replace(n,kt.theme),Pt.theme.setAttribute("href",t))}C()}function i(){Xt=!0,window.addEventListener("hashchange",mt,!1),window.addEventListener("resize",ht,!1),kt.touch&&(Pt.wrapper.addEventListener("touchstart",tt,!1),Pt.wrapper.addEventListener("touchmove",nt,!1),Pt.wrapper.addEventListener("touchend",rt,!1),window.navigator.msPointerEnabled&&(Pt.wrapper.addEventListener("MSPointerDown",ot,!1),Pt.wrapper.addEventListener("MSPointerMove",at,!1),Pt.wrapper.addEventListener("MSPointerUp",st,!1))),kt.keyboard&&document.addEventListener("keydown",et,!1),kt.progress&&Pt.progress&&Pt.progress.addEventListener("click",ct,!1),kt.controls&&Pt.controls&&["touchstart","click"].forEach(function(e){Pt.controlsLeft.forEach(function(t){t.addEventListener(e,lt,!1)}),Pt.controlsRight.forEach(function(t){t.addEventListener(e,dt,!1)}),Pt.controlsUp.forEach(function(t){t.addEventListener(e,ut,!1)}),Pt.controlsDown.forEach(function(t){t.addEventListener(e,ft,!1)}),Pt.controlsPrev.forEach(function(t){t.addEventListener(e,vt,!1)}),Pt.controlsNext.forEach(function(t){t.addEventListener(e,pt,!1)})})}function c(){Xt=!1,document.removeEventListener("keydown",et,!1),window.removeEventListener("hashchange",mt,!1),window.removeEventListener("resize",ht,!1),Pt.wrapper.removeEventListener("touchstart",tt,!1),Pt.wrapper.removeEventListener("touchmove",nt,!1),Pt.wrapper.removeEventListener("touchend",rt,!1),window.navigator.msPointerEnabled&&(Pt.wrapper.removeEventListener("MSPointerDown",ot,!1),Pt.wrapper.removeEventListener("MSPointerMove",at,!1),Pt.wrapper.removeEventListener("MSPointerUp",st,!1)),kt.progress&&Pt.progress&&Pt.progress.removeEventListener("click",ct,!1),kt.controls&&Pt.controls&&["touchstart","click"].forEach(function(e){Pt.controlsLeft.forEach(function(t){t.removeEventListener(e,lt,!1)}),Pt.controlsRight.forEach(function(t){t.removeEventListener(e,dt,!1)}),Pt.controlsUp.forEach(function(t){t.removeEventListener(e,ut,!1)}),Pt.controlsDown.forEach(function(t){t.removeEventListener(e,ft,!1)}),Pt.controlsPrev.forEach(function(t){t.removeEventListener(e,vt,!1)}),Pt.controlsNext.forEach(function(t){t.removeEventListener(e,pt,!1)})})}function l(e,t){for(var n in t)e[n]=t[n]}function d(e){return Array.prototype.slice.call(e)}function u(e,t){var n=e.x-t.x,r=e.y-t.y;return Math.sqrt(n*n+r*r)}function f(){return/print-pdf/gi.test(window.location.search)}function v(){0===window.orientation?(document.documentElement.style.overflow="scroll",document.body.style.height="120%"):(document.documentElement.style.overflow="",document.body.style.height="100%"),setTimeout(function(){window.scrollTo(0,1)},10)}function p(e,t){var n=document.createEvent("HTMLEvents",1,2);n.initEvent(e,!0,!0),l(n,t),Pt.wrapper.dispatchEvent(n)}function m(){if(Nt&&!("msPerspective"in document.body.style))for(var e=document.querySelectorAll(wt+" a:not(.image)"),t=0,n=e.length;n>t;t++){var r=e[t];if(!(!r.textContent||r.querySelector("*")||r.className&&r.classList.contains(r,"roll"))){var o=document.createElement("span");o.setAttribute("data-title",r.text),o.innerHTML=r.innerHTML,r.classList.add("roll"),r.innerHTML="",r.appendChild(o)}}}function h(){for(var e=document.querySelectorAll(wt+" a.roll"),t=0,n=e.length;n>t;t++){var r=e[t],o=r.querySelector("span");o&&(r.classList.remove("roll"),r.innerHTML=o.innerHTML)}}function g(e){var t=d(e);return t.forEach(function(e,t){e.hasAttribute("data-fragment-index")||e.setAttribute("data-fragment-index",t)}),t.sort(function(e,t){return e.getAttribute("data-fragment-index")-t.getAttribute("data-fragment-index")}),t}function y(){if(Pt.wrapper&&!f()){var e=Pt.wrapper.offsetWidth,t=Pt.wrapper.offsetHeight;e-=t*kt.margin,t-=t*kt.margin;var n=kt.width,r=kt.height;if("string"==typeof n&&/%$/.test(n)&&(n=parseInt(n,10)/100*e),"string"==typeof r&&/%$/.test(r)&&(r=parseInt(r,10)/100*t),Pt.slides.style.width=n+"px",Pt.slides.style.height=r+"px",Mt=Math.min(e/n,t/r),Mt=Math.max(Mt,kt.minScale),Mt=Math.min(Mt,kt.maxScale),void 0===Pt.slides.style.zoom||navigator.userAgent.match(/(iphone|ipod|ipad|android)/gi)){var o="translate(-50%, -50%) scale("+Mt+") translate(50%, 50%)";Pt.slides.style.WebkitTransform=o,Pt.slides.style.MozTransform=o,Pt.slides.style.msTransform=o,Pt.slides.style.OTransform=o,Pt.slides.style.transform=o}else Pt.slides.style.zoom=Mt;for(var a=d(document.querySelectorAll(wt)),s=0,i=a.length;i>s;s++){var c=a[s];"none"!==c.style.display&&(c.style.top=kt.center?c.classList.contains("stack")?0:Math.max(-(c.offsetHeight/2)-20,-r/2)+"px":"")}R()}}function b(e,t){"object"==typeof e&&"function"==typeof e.setAttribute&&e.setAttribute("data-previous-indexv",t||0)}function w(e){if("object"==typeof e&&"function"==typeof e.setAttribute&&e.classList.contains("stack")){var t=e.hasAttribute("data-start-indexv")?"data-start-indexv":"data-previous-indexv";return parseInt(e.getAttribute(t)||0,10)}return 0}function L(){if(kt.overview){$();var e=Pt.wrapper.classList.contains("overview");Pt.wrapper.classList.add("overview"),Pt.wrapper.classList.remove("exit-overview"),clearTimeout(Yt),clearTimeout(zt),Yt=setTimeout(function(){for(var t=document.querySelectorAll(Lt),n=0,r=t.length;r>n;n++){var o=t[n],a=kt.rtl?-105:105,s="translateZ(-2500px) translate("+(n-qt)*a+"%, 0%)";if(o.setAttribute("data-index-h",n),o.style.display="block",o.style.WebkitTransform=s,o.style.MozTransform=s,o.style.msTransform=s,o.style.OTransform=s,o.style.transform=s,o.classList.contains("stack"))for(var i=o.querySelectorAll("section"),c=0,l=i.length;l>c;c++){var d=n===qt?xt:w(o),u=i[c],f="translate(0%, "+105*(c-d)+"%)";u.setAttribute("data-index-h",n),u.setAttribute("data-index-v",c),u.style.display="block",u.style.WebkitTransform=f,u.style.MozTransform=f,u.style.msTransform=f,u.style.OTransform=f,u.style.transform=f,u.addEventListener("click",gt,!0)}else o.addEventListener("click",gt,!0)}y(),e||p("overviewshown",{indexh:qt,indexv:xt,currentSlide:bt})},10)}}function E(){if(kt.overview){clearTimeout(Yt),clearTimeout(zt),Pt.wrapper.classList.remove("overview"),Pt.wrapper.classList.add("exit-overview"),zt=setTimeout(function(){Pt.wrapper.classList.remove("exit-overview")},10);for(var e=d(document.querySelectorAll(wt)),t=0,n=e.length;n>t;t++){var r=e[t];r.style.display="",r.style.WebkitTransform="",r.style.MozTransform="",r.style.msTransform="",r.style.OTransform="",r.style.transform="",r.removeEventListener("click",gt,!0)}N(qt,xt),K(),p("overviewhidden",{indexh:qt,indexv:xt,currentSlide:bt})}}function S(e){"boolean"==typeof e?e?L():E():k()?E():L()}function k(){return Pt.wrapper.classList.contains("overview")}function A(e){return e=e?e:bt,e&&!!e.parentNode.nodeName.match(/section/i)}function q(){var e=document.body,t=e.requestFullScreen||e.webkitRequestFullscreen||e.webkitRequestFullScreen||e.mozRequestFullScreen||e.msRequestFullScreen;t&&t.apply(e)}function x(){var e=Pt.wrapper.classList.contains("paused");$(),Pt.wrapper.classList.add("paused"),e===!1&&p("paused")}function T(){var e=Pt.wrapper.classList.contains("paused");Pt.wrapper.classList.remove("paused"),K(),e&&p("resumed")}function M(){P()?T():x()}function P(){return Pt.wrapper.classList.contains("paused")}function N(e,t,n,r){yt=bt;var o=document.querySelectorAll(Lt);void 0===t&&(t=w(o[e])),yt&&yt.parentNode&&yt.parentNode.classList.contains("stack")&&b(yt.parentNode,xt);var a=Tt.concat();Tt.length=0;var s=qt,i=xt;qt=D(Lt,void 0===e?qt:e),xt=D(Et,void 0===t?xt:t),y();e:for(var c=0,l=Tt.length;l>c;c++){for(var u=0;a.length>u;u++)if(a[u]===Tt[c]){a.splice(u,1);continue e}document.documentElement.classList.add(Tt[c]),p(Tt[c])}for(;a.length;)document.documentElement.classList.remove(a.pop());k()&&L(),U(1500);var f=o[qt],v=f.querySelectorAll("section");if(bt=v[xt]||f,n!==void 0){var m=g(bt.querySelectorAll(".fragment"));d(m).forEach(function(e,t){n>t?e.classList.add("visible"):e.classList.remove("visible")})}var h=qt!==s||xt!==i;h?p("slidechanged",{indexh:qt,indexv:xt,previousSlide:yt,currentSlide:bt,origin:r}):yt=null,yt&&(yt.classList.remove("present"),document.querySelector(St).classList.contains("present")&&setTimeout(function(){var e,t=d(document.querySelectorAll(Lt+".stack"));for(e in t)t[e]&&b(t[e],0)},0)),h&&(I(yt),H(bt)),O(),R(),Y()}function C(){c(),i(),y(),At=kt.autoSlide,K(),n(),O(),R(),Y()}function D(e,t){var n=d(document.querySelectorAll(e)),r=n.length;if(r){kt.loop&&(t%=r,0>t&&(t=r+t)),t=Math.max(Math.min(t,r-1),0);for(var o=0;r>o;o++){var a=n[o];if(k()===!1){var s=Math.abs((t-o)%(r-3))||0;a.style.display=s>3?"none":"block"}var i=kt.rtl&&!A(a);a.classList.remove("past"),a.classList.remove("present"),a.classList.remove("future"),a.setAttribute("hidden",""),t>o?a.classList.add(i?"future":"past"):o>t&&a.classList.add(i?"past":"future"),a.querySelector("section")&&a.classList.add("stack")}n[t].classList.add("present"),n[t].removeAttribute("hidden");var c=n[t].getAttribute("data-state");c&&(Tt=Tt.concat(c.split(" ")));var l=n[t].getAttribute("data-autoslide");At=l?parseInt(l,10):kt.autoSlide}else t=0;return t}function R(){if(kt.progress&&Pt.progress){var e=d(document.querySelectorAll(Lt)),t=document.querySelectorAll(wt+":not(.stack)").length,n=0;e:for(var r=0;e.length>r;r++){for(var o=e[r],a=d(o.querySelectorAll("section")),s=0;a.length>s;s++){if(a[s].classList.contains("present"))break e;n++}if(o.classList.contains("present"))break;o.classList.contains("stack")===!1&&n++}Pt.progressbar.style.width=n/(t-1)*window.innerWidth+"px"}}function O(){if(kt.controls&&Pt.controls){var e=z(),t=X();Pt.controlsLeft.concat(Pt.controlsRight).concat(Pt.controlsUp).concat(Pt.controlsDown).concat(Pt.controlsPrev).concat(Pt.controlsNext).forEach(function(e){e.classList.remove("enabled"),e.classList.remove("fragmented")}),e.left&&Pt.controlsLeft.forEach(function(e){e.classList.add("enabled")}),e.right&&Pt.controlsRight.forEach(function(e){e.classList.add("enabled")}),e.up&&Pt.controlsUp.forEach(function(e){e.classList.add("enabled")}),e.down&&Pt.controlsDown.forEach(function(e){e.classList.add("enabled")}),(e.left||e.up)&&Pt.controlsPrev.forEach(function(e){e.classList.add("enabled")}),(e.right||e.down)&&Pt.controlsNext.forEach(function(e){e.classList.add("enabled")}),bt&&(t.prev&&Pt.controlsPrev.forEach(function(e){e.classList.add("fragmented","enabled")}),t.next&&Pt.controlsNext.forEach(function(e){e.classList.add("fragmented","enabled")}),A(bt)?(t.prev&&Pt.controlsUp.forEach(function(e){e.classList.add("fragmented","enabled")}),t.next&&Pt.controlsDown.forEach(function(e){e.classList.add("fragmented","enabled")})):(t.prev&&Pt.controlsLeft.forEach(function(e){e.classList.add("fragmented","enabled")}),t.next&&Pt.controlsRight.forEach(function(e){e.classList.add("fragmented","enabled")})))}}function Y(){d(Pt.background.childNodes).forEach(function(e,t){var n=kt.rtl?"future":"past",r=kt.rtl?"past":"future";e.className="slide-background "+(qt>t?n:t>qt?r:"present"),d(e.childNodes).forEach(function(e,t){e.className="slide-background "+(xt>t?"past":t>xt?"future":"present")})}),setTimeout(function(){Pt.background.classList.remove("no-transition")},1)}function z(){var e=document.querySelectorAll(Lt),t=document.querySelectorAll(Et),n={left:qt>0||kt.loop,right:e.length-1>qt||kt.loop,up:xt>0,down:t.length-1>xt};if(kt.rtl){var r=n.left;n.left=n.right,n.right=r}return n}function X(){if(bt&&kt.fragments){var e=bt.querySelectorAll(".fragment"),t=bt.querySelectorAll(".fragment:not(.visible)");return{prev:e.length-t.length>0,next:!!t.length}}return{prev:!1,next:!1}}function H(e){e&&(d(e.querySelectorAll("video, audio")).forEach(function(e){e.hasAttribute("data-autoplay")&&e.play()}),d(e.querySelectorAll('iframe[src*="youtube.com/embed/"]')).forEach(function(e){e.hasAttribute("data-autoplay")&&e.contentWindow.postMessage('{"event":"command","func":"playVideo","args":""}',"*")}))}function I(e){e&&(d(e.querySelectorAll("video, audio")).forEach(function(e){e.hasAttribute("data-ignore")||e.pause()}),d(e.querySelectorAll('iframe[src*="youtube.com/embed/"]')).forEach(function(e){e.hasAttribute("data-ignore")||"function"!=typeof e.contentWindow.postMessage||e.contentWindow.postMessage('{"event":"command","func":"pauseVideo","args":""}',"*")}))}function W(){var e=window.location.hash,t=e.slice(2).split("/"),n=e.replace(/#|\//gi,"");if(isNaN(parseInt(t[0],10))&&n.length){var r=document.querySelector("#"+n);if(r){var o=Reveal.getIndices(r);N(o.h,o.v)}else N(qt,xt)}else{var a=parseInt(t[0],10)||0,s=parseInt(t[1],10)||0;N(a,s)}}function U(e){if(kt.history)if(clearTimeout(Ot),"number"==typeof e)Ot=setTimeout(U,e);else{var t="/";bt&&"string"==typeof bt.getAttribute("id")?t="/"+bt.getAttribute("id"):((qt>0||xt>0)&&(t+=qt),xt>0&&(t+="/"+xt)),window.location.hash=t}}function F(e){var t,n=qt,r=xt;if(e){var o=A(e),a=o?e.parentNode:e,s=d(document.querySelectorAll(Lt));n=Math.max(s.indexOf(a),0),o&&(r=Math.max(d(e.parentNode.querySelectorAll("section")).indexOf(e),0))}if(!e&&bt){var i=bt.querySelectorAll(".fragment.visible");i.length&&(t=i.length)}return{h:n,v:r,f:t}}function j(){if(bt&&kt.fragments){var e=g(bt.querySelectorAll(".fragment:not(.visible)"));if(e.length){var t=e[0].getAttribute("data-fragment-index");return e=bt.querySelectorAll('.fragment[data-fragment-index="'+t+'"]'),d(e).forEach(function(e){e.classList.add("visible"),p("fragmentshown",{fragment:e})}),O(),!0}}return!1}function _(){if(bt&&kt.fragments){var e=g(bt.querySelectorAll(".fragment.visible"));if(e.length){var t=e[e.length-1].getAttribute("data-fragment-index");return e=bt.querySelectorAll('.fragment[data-fragment-index="'+t+'"]'),d(e).forEach(function(e){e.classList.remove("visible"),p("fragmenthidden",{fragment:e})}),O(),!0}}return!1}function K(){clearTimeout(Rt),!At||P()||k()||(Rt=setTimeout(J,At))}function $(){clearTimeout(Rt)}function V(){kt.rtl?(k()||j()===!1)&&z().left&&N(qt+1):(k()||_()===!1)&&z().left&&N(qt-1)}function Z(){kt.rtl?(k()||_()===!1)&&z().right&&N(qt-1):(k()||j()===!1)&&z().right&&N(qt+1)}function Q(){(k()||_()===!1)&&z().up&&N(qt,xt-1)}function B(){(k()||j()===!1)&&z().down&&N(qt,xt+1)}function G(){if(_()===!1)if(z().up)Q();else{var e=document.querySelector(Lt+".past:nth-child("+qt+")");e&&(xt=e.querySelectorAll("section").length+1||void 0,qt--,N(qt,xt))}}function J(){j()===!1&&(z().down?B():Z()),K()}function et(e){document.activeElement;var t=!(!document.activeElement||!document.activeElement.type&&!document.activeElement.href&&"inherit"===document.activeElement.contentEditable);if(!(t||e.shiftKey&&32!==e.keyCode||e.altKey||e.ctrlKey||e.metaKey)){var n=!0;if(P()&&-1===[66,190,191].indexOf(e.keyCode))return!1;switch(e.keyCode){case 80:case 33:G();break;case 78:case 34:J();break;case 72:case 37:V();break;case 76:case 39:Z();break;case 75:case 38:Q();break;case 74:case 40:B();break;case 36:N(0);break;case 35:N(Number.MAX_VALUE);break;case 32:k()?E():e.shiftKey?G():J();break;case 13:k()?E():n=!1;break;case 66:case 190:case 191:M();break;case 70:q();break;default:n=!1}n?e.preventDefault():27===e.keyCode&&Nt&&(S(),e.preventDefault()),K()}}function tt(e){Ht.startX=e.touches[0].clientX,Ht.startY=e.touches[0].clientY,Ht.startCount=e.touches.length,2===e.touches.length&&kt.overview&&(Ht.startSpan=u({x:e.touches[1].clientX,y:e.touches[1].clientY},{x:Ht.startX,y:Ht.startY}))}function nt(e){if(Ht.handled)navigator.userAgent.match(/android/gi)&&e.preventDefault();else{var t=e.touches[0].clientX,n=e.touches[0].clientY;if(2===e.touches.length&&2===Ht.startCount&&kt.overview){var r=u({x:e.touches[1].clientX,y:e.touches[1].clientY},{x:Ht.startX,y:Ht.startY});Math.abs(Ht.startSpan-r)>Ht.threshold&&(Ht.handled=!0,Ht.startSpan>r?L():E()),e.preventDefault()}else if(1===e.touches.length&&2!==Ht.startCount){var o=t-Ht.startX,a=n-Ht.startY;o>Ht.threshold&&Math.abs(o)>Math.abs(a)?(Ht.handled=!0,V()):-Ht.threshold>o&&Math.abs(o)>Math.abs(a)?(Ht.handled=!0,Z()):a>Ht.threshold?(Ht.handled=!0,Q()):-Ht.threshold>a&&(Ht.handled=!0,B()),e.preventDefault()}}}function rt(){Ht.handled=!1}function ot(e){e.pointerType===e.MSPOINTER_TYPE_TOUCH&&(e.touches=[{clientX:e.clientX,clientY:e.clientY}],tt(e))}function at(e){e.pointerType===e.MSPOINTER_TYPE_TOUCH&&(e.touches=[{clientX:e.clientX,clientY:e.clientY}],nt(e))}function st(e){e.pointerType===e.MSPOINTER_TYPE_TOUCH&&(e.touches=[{clientX:e.clientX,clientY:e.clientY}],rt(e))}function it(e){clearTimeout(Dt),Dt=setTimeout(function(){var t=e.detail||-e.wheelDelta;t>0?J():G()},100)}function ct(e){e.preventDefault();var t=d(document.querySelectorAll(Lt)).length,n=Math.floor(e.clientX/Pt.wrapper.offsetWidth*t);N(n)}function lt(e){e.preventDefault(),V()}function dt(e){e.preventDefault(),Z()}function ut(e){e.preventDefault(),Q()}function ft(e){e.preventDefault(),B()}function vt(e){e.preventDefault(),G()}function pt(e){e.preventDefault(),J()}function mt(){W()}function ht(){y()}function gt(e){if(Xt&&k()){e.preventDefault();for(var t=e.target;t&&!t.nodeName.match(/section/gi);)t=t.parentNode;if(t&&!t.classList.contains("disabled")&&(E(),t.nodeName.match(/section/gi))){var n=parseInt(t.getAttribute("data-index-h"),10),r=parseInt(t.getAttribute("data-index-v"),10);N(n,r)}}}var yt,bt,wt=".reveal .slides section",Lt=".reveal .slides>section",Et=".reveal .slides>section.present>section",St=".reveal .slides>section:first-child",kt={width:960,height:700,margin:.1,minScale:.2,maxScale:1,controls:!0,progress:!0,history:!1,keyboard:!0,overview:!0,center:!0,touch:!0,loop:!1,rtl:!1,fragments:!0,autoSlide:0,mouseWheel:!1,rollingLinks:!0,theme:null,transition:"default",transitionSpeed:"default",backgroundTransition:"default",dependencies:[]},At=0,qt=0,xt=0,Tt=[],Mt=1,Pt={},Nt="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,Ct="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,Dt=0,Rt=0,Ot=0,Yt=0,zt=0,Xt=!1,Ht={startX:0,startY:0,startSpan:0,startCount:0,handled:!1,threshold:80};return{initialize:e,configure:s,sync:C,slide:N,left:V,right:Z,up:Q,down:B,prev:G,next:J,prevFragment:_,nextFragment:j,navigateTo:N,navigateLeft:V,navigateRight:Z,navigateUp:Q,navigateDown:B,navigatePrev:G,navigateNext:J,layout:y,availableRoutes:z,availableFragments:X,toggleOverview:S,togglePause:M,isOverview:k,isPaused:P,addEventListeners:i,removeEventListeners:c,getIndices:F,getSlide:function(e,t){var n=document.querySelectorAll(Lt)[e],r=n&&n.querySelectorAll("section");return t!==void 0?r?r[t]:void 0:n},getPreviousSlide:function(){return yt},getCurrentSlide:function(){return bt},getScale:function(){return Mt},getConfig:function(){return kt},getQueryHash:function(){var e={};return location.search.replace(/[A-Z0-9]+?=(\w*)/gi,function(t){e[t.split("=").shift()]=t.split("=").pop()}),e},isFirstSlide:function(){return null==document.querySelector(wt+".past")?!0:!1},isLastSlide:function(){return bt&&bt.classList.contains(".stack")?null==bt.querySelector(wt+".future")?!0:!1:null==document.querySelector(wt+".future")?!0:!1},addEventListener:function(e,t,n){"addEventListener"in window&&(Pt.wrapper||document.querySelector(".reveal")).addEventListener(e,t,n)},removeEventListener:function(e,t,n){"addEventListener"in window&&(Pt.wrapper||document.querySelector(".reveal")).removeEventListener(e,t,n)}}}(); \ No newline at end of file From c3b91560c76a803bc1c034ce7a4490ebb57cb596 Mon Sep 17 00:00:00 2001 From: Hakim El Hattab Date: Mon, 10 Jun 2013 08:59:58 +0200 Subject: [PATCH 22/23] match background and transition slide transition easing equations --- css/reveal.css | 32 +++++++++++++++++++------------- css/reveal.min.css | 2 +- js/reveal.min.js | 2 +- test/background.html | 1 + 4 files changed, 22 insertions(+), 15 deletions(-) diff --git a/css/reveal.css b/css/reveal.css index b881ae7..f3960c6 100644 --- a/css/reveal.css +++ b/css/reveal.css @@ -1321,11 +1321,11 @@ body { background-repeat: no-repeat; background-size: cover; - -webkit-transition: all 650ms ease; - -moz-transition: all 650ms ease; - -ms-transition: all 650ms ease; - -o-transition: all 650ms ease; - transition: all 650ms ease; + -webkit-transition: all 600ms cubic-bezier(0.260, 0.860, 0.440, 0.985); + -moz-transition: all 600ms cubic-bezier(0.260, 0.860, 0.440, 0.985); + -ms-transition: all 600ms cubic-bezier(0.260, 0.860, 0.440, 0.985); + -o-transition: all 600ms cubic-bezier(0.260, 0.860, 0.440, 0.985); + transition: all 600ms cubic-bezier(0.260, 0.860, 0.440, 0.985); } .reveal .slide-background.present { opacity: 1; @@ -1345,6 +1345,12 @@ body { -moz-backface-visibility: hidden; -ms-backface-visibility: hidden; backface-visibility: hidden; + + -webkit-transition-duration: 800ms; + -moz-transition-duration: 800ms; + -ms-transition-duration: 800ms; + -o-transition-duration: 800ms; + transition-duration: 800ms; } .reveal[data-background-transition=linear]>.backgrounds .slide-background.past { -webkit-transform: translate(-100%, 0); @@ -1379,16 +1385,16 @@ body { /* Global transition speed settings */ .reveal[data-transition-speed="fast"]>.backgrounds .slide-background { - -webkit-transition-duration: 300ms; - -moz-transition-duration: 300ms; - -ms-transition-duration: 300ms; - transition-duration: 300ms; + -webkit-transition-duration: 400ms; + -moz-transition-duration: 400ms; + -ms-transition-duration: 400ms; + transition-duration: 400ms; } .reveal[data-transition-speed="slow"]>.backgrounds .slide-background { - -webkit-transition-duration: 900ms; - -moz-transition-duration: 900ms; - -ms-transition-duration: 900ms; - transition-duration: 900ms; + -webkit-transition-duration: 1200ms; + -moz-transition-duration: 1200ms; + -ms-transition-duration: 1200ms; + transition-duration: 1200ms; } diff --git a/css/reveal.min.css b/css/reveal.min.css index 3789d4e..bff8e37 100644 --- a/css/reveal.min.css +++ b/css/reveal.min.css @@ -4,4 +4,4 @@ * MIT licensed * * Copyright (C) 2013 Hakim El Hattab, http://hakim.se - */ html,body,.reveal div,.reveal span,.reveal applet,.reveal object,.reveal iframe,.reveal h1,.reveal h2,.reveal h3,.reveal h4,.reveal h5,.reveal h6,.reveal p,.reveal blockquote,.reveal pre,.reveal a,.reveal abbr,.reveal acronym,.reveal address,.reveal big,.reveal cite,.reveal code,.reveal del,.reveal dfn,.reveal em,.reveal img,.reveal ins,.reveal kbd,.reveal q,.reveal s,.reveal samp,.reveal small,.reveal strike,.reveal strong,.reveal sub,.reveal sup,.reveal tt,.reveal var,.reveal b,.reveal u,.reveal i,.reveal center,.reveal dl,.reveal dt,.reveal dd,.reveal ol,.reveal ul,.reveal li,.reveal fieldset,.reveal form,.reveal label,.reveal legend,.reveal table,.reveal caption,.reveal tbody,.reveal tfoot,.reveal thead,.reveal tr,.reveal th,.reveal td,.reveal article,.reveal aside,.reveal canvas,.reveal details,.reveal embed,.reveal figure,.reveal figcaption,.reveal footer,.reveal header,.reveal hgroup,.reveal menu,.reveal nav,.reveal output,.reveal ruby,.reveal section,.reveal summary,.reveal time,.reveal mark,.reveal audio,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}.reveal article,.reveal aside,.reveal details,.reveal figcaption,.reveal figure,.reveal footer,.reveal header,.reveal hgroup,.reveal menu,.reveal nav,.reveal section{display:block}html,body{width:100%;height:100%;overflow:hidden}body{position:relative;line-height:1}::selection{background:#FF5E99;color:#fff;text-shadow:none}.reveal h1,.reveal h2,.reveal h3,.reveal h4,.reveal h5,.reveal h6{-webkit-hyphens:auto;-moz-hyphens:auto;hyphens:auto;word-wrap:break-word}.reveal h1{font-size:3.77em}.reveal h2{font-size:2.11em}.reveal h3{font-size:1.55em}.reveal h4{font-size:1em}.reveal .slides section .fragment{opacity:0;-webkit-transition:all .2s ease;-moz-transition:all .2s ease;-ms-transition:all .2s ease;-o-transition:all .2s ease;transition:all .2s ease}.reveal .slides section .fragment.visible{opacity:1}.reveal .slides section .fragment.grow{opacity:1}.reveal .slides section .fragment.grow.visible{-webkit-transform:scale(1.3);-moz-transform:scale(1.3);-ms-transform:scale(1.3);-o-transform:scale(1.3);transform:scale(1.3)}.reveal .slides section .fragment.shrink{opacity:1}.reveal .slides section .fragment.shrink.visible{-webkit-transform:scale(0.7);-moz-transform:scale(0.7);-ms-transform:scale(0.7);-o-transform:scale(0.7);transform:scale(0.7)}.reveal .slides section .fragment.zoom-in{opacity:0;-webkit-transform:scale(0.1);-moz-transform:scale(0.1);-ms-transform:scale(0.1);-o-transform:scale(0.1);transform:scale(0.1)}.reveal .slides section .fragment.zoom-in.visible{opacity:1;-webkit-transform:scale(1);-moz-transform:scale(1);-ms-transform:scale(1);-o-transform:scale(1);transform:scale(1)}.reveal .slides section .fragment.roll-in{opacity:0;-webkit-transform:rotateX(90deg);-moz-transform:rotateX(90deg);-ms-transform:rotateX(90deg);-o-transform:rotateX(90deg);transform:rotateX(90deg)}.reveal .slides section .fragment.roll-in.visible{opacity:1;-webkit-transform:rotateX(0);-moz-transform:rotateX(0);-ms-transform:rotateX(0);-o-transform:rotateX(0);transform:rotateX(0)}.reveal .slides section .fragment.fade-out{opacity:1}.reveal .slides section .fragment.fade-out.visible{opacity:0}.reveal .slides section .fragment.highlight-red,.reveal .slides section .fragment.highlight-green,.reveal .slides section .fragment.highlight-blue{opacity:1}.reveal .slides section .fragment.highlight-red.visible{color:#ff2c2d}.reveal .slides section .fragment.highlight-green.visible{color:#17ff2e}.reveal .slides section .fragment.highlight-blue.visible{color:#1b91ff}.reveal:after{content:'';font-style:italic}.reveal img,.reveal video,.reveal iframe{max-width:95%;max-height:95%}.reveal a{position:relative}.reveal strong,.reveal b{font-weight:700}.reveal em,.reveal i{font-style:italic}.reveal ol,.reveal ul{display:inline-block;text-align:left;margin:0 0 0 1em}.reveal ol{list-style-type:decimal}.reveal ul{list-style-type:disc}.reveal ul ul{list-style-type:square}.reveal ul ul ul{list-style-type:circle}.reveal ul ul,.reveal ul ol,.reveal ol ol,.reveal ol ul{display:block;margin-left:40px}.reveal p{margin-bottom:10px;line-height:1.2em}.reveal q,.reveal blockquote{quotes:none}.reveal blockquote{display:block;position:relative;width:70%;margin:5px auto;padding:5px;font-style:italic;background:rgba(255,255,255,.05);box-shadow:0 0 2px rgba(0,0,0,.2)}.reveal blockquote p:first-child,.reveal blockquote p:last-child{display:inline-block}.reveal q{font-style:italic}.reveal pre{display:block;position:relative;width:90%;margin:15px auto;text-align:left;font-size:.55em;font-family:monospace;line-height:1.2em;word-wrap:break-word;box-shadow:0 0 6px rgba(0,0,0,.3)}.reveal code{font-family:monospace}.reveal pre code{padding:5px;overflow:auto;max-height:400px;word-wrap:normal}.reveal table th,.reveal table td{text-align:left;padding-right:.3em}.reveal table th{text-shadow:#fff 1px 1px 2px}.reveal sup{vertical-align:super}.reveal sub{vertical-align:sub}.reveal small{display:inline-block;font-size:.6em;line-height:1.2em;vertical-align:top}.reveal small *{vertical-align:top}.reveal .controls{display:none;position:fixed;width:110px;height:110px;z-index:30;right:10px;bottom:10px}.reveal .controls div{position:absolute;opacity:.05;width:0;height:0;border:12px solid transparent;-moz-transform:scale(.9999);-webkit-transition:all .2s ease;-moz-transition:all .2s ease;-ms-transition:all .2s ease;-o-transition:all .2s ease;transition:all .2s ease}.reveal .controls div.enabled{opacity:.7;cursor:pointer}.reveal .controls div.enabled:active{margin-top:1px}.reveal .controls div.navigate-left{top:42px;border-right-width:22px;border-right-color:#eee}.reveal .controls div.navigate-left.fragmented{opacity:.3}.reveal .controls div.navigate-right{left:74px;top:42px;border-left-width:22px;border-left-color:#eee}.reveal .controls div.navigate-right.fragmented{opacity:.3}.reveal .controls div.navigate-up{left:42px;border-bottom-width:22px;border-bottom-color:#eee}.reveal .controls div.navigate-up.fragmented{opacity:.3}.reveal .controls div.navigate-down{left:42px;top:74px;border-top-width:22px;border-top-color:#eee}.reveal .controls div.navigate-down.fragmented{opacity:.3}.reveal .progress{position:fixed;display:none;height:3px;width:100%;bottom:0;left:0;z-index:10}.reveal .progress:after{content:'';display:'block';position:absolute;height:20px;width:100%;top:-20px}.reveal .progress span{display:block;height:100%;width:0;-webkit-transition:width 800ms cubic-bezier(0.26,.86,.44,.985);-moz-transition:width 800ms cubic-bezier(0.26,.86,.44,.985);-ms-transition:width 800ms cubic-bezier(0.26,.86,.44,.985);-o-transition:width 800ms cubic-bezier(0.26,.86,.44,.985);transition:width 800ms cubic-bezier(0.26,.86,.44,.985)}.reveal .roll{display:inline-block;line-height:1.2;overflow:hidden;vertical-align:top;-webkit-perspective:400px;-moz-perspective:400px;-ms-perspective:400px;perspective:400px;-webkit-perspective-origin:50% 50%;-moz-perspective-origin:50% 50%;-ms-perspective-origin:50% 50%;perspective-origin:50% 50%}.reveal .roll:hover{background:0;text-shadow:none}.reveal .roll span{display:block;position:relative;padding:0 2px;pointer-events:none;-webkit-transition:all 400ms ease;-moz-transition:all 400ms ease;-ms-transition:all 400ms ease;transition:all 400ms ease;-webkit-transform-origin:50% 0;-moz-transform-origin:50% 0;-ms-transform-origin:50% 0;transform-origin:50% 0;-webkit-transform-style:preserve-3d;-moz-transform-style:preserve-3d;-ms-transform-style:preserve-3d;transform-style:preserve-3d;-webkit-backface-visibility:hidden;-moz-backface-visibility:hidden;backface-visibility:hidden}.reveal .roll:hover span{background:rgba(0,0,0,.5);-webkit-transform:translate3d(0px,0,-45px) rotateX(90deg);-moz-transform:translate3d(0px,0,-45px) rotateX(90deg);-ms-transform:translate3d(0px,0,-45px) rotateX(90deg);transform:translate3d(0px,0,-45px) rotateX(90deg)}.reveal .roll span:after{content:attr(data-title);display:block;position:absolute;left:0;top:0;padding:0 2px;-webkit-backface-visibility:hidden;-moz-backface-visibility:hidden;backface-visibility:hidden;-webkit-transform-origin:50% 0;-moz-transform-origin:50% 0;-ms-transform-origin:50% 0;transform-origin:50% 0;-webkit-transform:translate3d(0px,110%,0) rotateX(-90deg);-moz-transform:translate3d(0px,110%,0) rotateX(-90deg);-ms-transform:translate3d(0px,110%,0) rotateX(-90deg);transform:translate3d(0px,110%,0) rotateX(-90deg)}.reveal{position:relative;width:100%;height:100%;-ms-touch-action:none}.reveal .slides{position:absolute;width:100%;height:100%;left:50%;top:50%;overflow:visible;z-index:1;text-align:center;-webkit-transition:-webkit-perspective .4s ease;-moz-transition:-moz-perspective .4s ease;-ms-transition:-ms-perspective .4s ease;-o-transition:-o-perspective .4s ease;transition:perspective .4s ease;-webkit-perspective:600px;-moz-perspective:600px;-ms-perspective:600px;perspective:600px;-webkit-perspective-origin:0 -100px;-moz-perspective-origin:0 -100px;-ms-perspective-origin:0 -100px;perspective-origin:0 -100px}.reveal .slides>section,.reveal .slides>section>section{display:none;position:absolute;width:100%;padding:20px 0;z-index:10;line-height:1.2em;font-weight:400;-webkit-transform-style:preserve-3d;-moz-transform-style:preserve-3d;-ms-transform-style:preserve-3d;transform-style:preserve-3d;-webkit-transition:-webkit-transform-origin 800ms cubic-bezier(0.26,.86,.44,.985),-webkit-transform 800ms cubic-bezier(0.26,.86,.44,.985),visibility 800ms cubic-bezier(0.26,.86,.44,.985),opacity 800ms cubic-bezier(0.26,.86,.44,.985);-moz-transition:-moz-transform-origin 800ms cubic-bezier(0.26,.86,.44,.985),-moz-transform 800ms cubic-bezier(0.26,.86,.44,.985),visibility 800ms cubic-bezier(0.26,.86,.44,.985),opacity 800ms cubic-bezier(0.26,.86,.44,.985);-ms-transition:-ms-transform-origin 800ms cubic-bezier(0.26,.86,.44,.985),-ms-transform 800ms cubic-bezier(0.26,.86,.44,.985),visibility 800ms cubic-bezier(0.26,.86,.44,.985),opacity 800ms cubic-bezier(0.26,.86,.44,.985);-o-transition:-o-transform-origin 800ms cubic-bezier(0.26,.86,.44,.985),-o-transform 800ms cubic-bezier(0.26,.86,.44,.985),visibility 800ms cubic-bezier(0.26,.86,.44,.985),opacity 800ms cubic-bezier(0.26,.86,.44,.985);transition:transform-origin 800ms cubic-bezier(0.26,.86,.44,.985),transform 800ms cubic-bezier(0.26,.86,.44,.985),visibility 800ms cubic-bezier(0.26,.86,.44,.985),opacity 800ms cubic-bezier(0.26,.86,.44,.985)}.reveal[data-transition-speed=fast] .slides section{-webkit-transition-duration:400ms;-moz-transition-duration:400ms;-ms-transition-duration:400ms;transition-duration:400ms}.reveal[data-transition-speed=slow] .slides section{-webkit-transition-duration:1200ms;-moz-transition-duration:1200ms;-ms-transition-duration:1200ms;transition-duration:1200ms}.reveal .slides section[data-transition-speed=fast]{-webkit-transition-duration:400ms;-moz-transition-duration:400ms;-ms-transition-duration:400ms;transition-duration:400ms}.reveal .slides section[data-transition-speed=slow]{-webkit-transition-duration:1200ms;-moz-transition-duration:1200ms;-ms-transition-duration:1200ms;transition-duration:1200ms}.reveal .slides>section{left:-50%;top:-50%}.reveal .slides>section.stack{padding-top:0;padding-bottom:0}.reveal .slides>section.present,.reveal .slides>section>section.present{display:block;z-index:11;opacity:1}.reveal.center,.reveal.center .slides,.reveal.center .slides section{min-height:auto!important}.reveal .slides>section[data-transition=default].past,.reveal .slides>section.past{display:block;opacity:0;-webkit-transform:translate3d(-100%,0,0) rotateY(-90deg) translate3d(-100%,0,0);-moz-transform:translate3d(-100%,0,0) rotateY(-90deg) translate3d(-100%,0,0);-ms-transform:translate3d(-100%,0,0) rotateY(-90deg) translate3d(-100%,0,0);transform:translate3d(-100%,0,0) rotateY(-90deg) translate3d(-100%,0,0)}.reveal .slides>section[data-transition=default].future,.reveal .slides>section.future{display:block;opacity:0;-webkit-transform:translate3d(100%,0,0) rotateY(90deg) translate3d(100%,0,0);-moz-transform:translate3d(100%,0,0) rotateY(90deg) translate3d(100%,0,0);-ms-transform:translate3d(100%,0,0) rotateY(90deg) translate3d(100%,0,0);transform:translate3d(100%,0,0) rotateY(90deg) translate3d(100%,0,0)}.reveal .slides>section>section[data-transition=default].past,.reveal .slides>section>section.past{display:block;opacity:0;-webkit-transform:translate3d(0,-300px,0) rotateX(70deg) translate3d(0,-300px,0);-moz-transform:translate3d(0,-300px,0) rotateX(70deg) translate3d(0,-300px,0);-ms-transform:translate3d(0,-300px,0) rotateX(70deg) translate3d(0,-300px,0);transform:translate3d(0,-300px,0) rotateX(70deg) translate3d(0,-300px,0)}.reveal .slides>section>section[data-transition=default].future,.reveal .slides>section>section.future{display:block;opacity:0;-webkit-transform:translate3d(0,300px,0) rotateX(-70deg) translate3d(0,300px,0);-moz-transform:translate3d(0,300px,0) rotateX(-70deg) translate3d(0,300px,0);-ms-transform:translate3d(0,300px,0) rotateX(-70deg) translate3d(0,300px,0);transform:translate3d(0,300px,0) rotateX(-70deg) translate3d(0,300px,0)}.reveal .slides>section[data-transition=concave].past,.reveal.concave .slides>section.past{-webkit-transform:translate3d(-100%,0,0) rotateY(90deg) translate3d(-100%,0,0);-moz-transform:translate3d(-100%,0,0) rotateY(90deg) translate3d(-100%,0,0);-ms-transform:translate3d(-100%,0,0) rotateY(90deg) translate3d(-100%,0,0);transform:translate3d(-100%,0,0) rotateY(90deg) translate3d(-100%,0,0)}.reveal .slides>section[data-transition=concave].future,.reveal.concave .slides>section.future{-webkit-transform:translate3d(100%,0,0) rotateY(-90deg) translate3d(100%,0,0);-moz-transform:translate3d(100%,0,0) rotateY(-90deg) translate3d(100%,0,0);-ms-transform:translate3d(100%,0,0) rotateY(-90deg) translate3d(100%,0,0);transform:translate3d(100%,0,0) rotateY(-90deg) translate3d(100%,0,0)}.reveal .slides>section>section[data-transition=concave].past,.reveal.concave .slides>section>section.past{-webkit-transform:translate3d(0,-80%,0) rotateX(-70deg) translate3d(0,-80%,0);-moz-transform:translate3d(0,-80%,0) rotateX(-70deg) translate3d(0,-80%,0);-ms-transform:translate3d(0,-80%,0) rotateX(-70deg) translate3d(0,-80%,0);transform:translate3d(0,-80%,0) rotateX(-70deg) translate3d(0,-80%,0)}.reveal .slides>section>section[data-transition=concave].future,.reveal.concave .slides>section>section.future{-webkit-transform:translate3d(0,80%,0) rotateX(70deg) translate3d(0,80%,0);-moz-transform:translate3d(0,80%,0) rotateX(70deg) translate3d(0,80%,0);-ms-transform:translate3d(0,80%,0) rotateX(70deg) translate3d(0,80%,0);transform:translate3d(0,80%,0) rotateX(70deg) translate3d(0,80%,0)}.reveal .slides>section[data-transition=zoom].past,.reveal.zoom .slides>section.past{opacity:0;visibility:hidden;-webkit-transform:scale(16);-moz-transform:scale(16);-ms-transform:scale(16);-o-transform:scale(16);transform:scale(16)}.reveal .slides>section[data-transition=zoom].future,.reveal.zoom .slides>section.future{opacity:0;visibility:hidden;-webkit-transform:scale(0.2);-moz-transform:scale(0.2);-ms-transform:scale(0.2);-o-transform:scale(0.2);transform:scale(0.2)}.reveal .slides>section>section[data-transition=zoom].past,.reveal.zoom .slides>section>section.past{-webkit-transform:translate(0,-150%);-moz-transform:translate(0,-150%);-ms-transform:translate(0,-150%);-o-transform:translate(0,-150%);transform:translate(0,-150%)}.reveal .slides>section>section[data-transition=zoom].future,.reveal.zoom .slides>section>section.future{-webkit-transform:translate(0,150%);-moz-transform:translate(0,150%);-ms-transform:translate(0,150%);-o-transform:translate(0,150%);transform:translate(0,150%)}.reveal.linear section{-webkit-backface-visibility:hidden;-moz-backface-visibility:hidden;-ms-backface-visibility:hidden;backface-visibility:hidden}.reveal .slides>section[data-transition=linear].past,.reveal.linear .slides>section.past{-webkit-transform:translate(-150%,0);-moz-transform:translate(-150%,0);-ms-transform:translate(-150%,0);-o-transform:translate(-150%,0);transform:translate(-150%,0)}.reveal .slides>section[data-transition=linear].future,.reveal.linear .slides>section.future{-webkit-transform:translate(150%,0);-moz-transform:translate(150%,0);-ms-transform:translate(150%,0);-o-transform:translate(150%,0);transform:translate(150%,0)}.reveal .slides>section>section[data-transition=linear].past,.reveal.linear .slides>section>section.past{-webkit-transform:translate(0,-150%);-moz-transform:translate(0,-150%);-ms-transform:translate(0,-150%);-o-transform:translate(0,-150%);transform:translate(0,-150%)}.reveal .slides>section>section[data-transition=linear].future,.reveal.linear .slides>section>section.future{-webkit-transform:translate(0,150%);-moz-transform:translate(0,150%);-ms-transform:translate(0,150%);-o-transform:translate(0,150%);transform:translate(0,150%)}.reveal.cube .slides{-webkit-perspective:1300px;-moz-perspective:1300px;-ms-perspective:1300px;perspective:1300px}.reveal.cube .slides section{padding:30px;min-height:700px;-webkit-backface-visibility:hidden;-moz-backface-visibility:hidden;-ms-backface-visibility:hidden;backface-visibility:hidden;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.reveal.center.cube .slides section{min-height:auto}.reveal.cube .slides section:not(.stack):before{content:'';position:absolute;display:block;width:100%;height:100%;left:0;top:0;background:rgba(0,0,0,.1);border-radius:4px;-webkit-transform:translateZ(-20px);-moz-transform:translateZ(-20px);-ms-transform:translateZ(-20px);-o-transform:translateZ(-20px);transform:translateZ(-20px)}.reveal.cube .slides section:not(.stack):after{content:'';position:absolute;display:block;width:90%;height:30px;left:5%;bottom:0;background:0;z-index:1;border-radius:4px;box-shadow:0 95px 25px rgba(0,0,0,.2);-webkit-transform:translateZ(-90px) rotateX(65deg);-moz-transform:translateZ(-90px) rotateX(65deg);-ms-transform:translateZ(-90px) rotateX(65deg);-o-transform:translateZ(-90px) rotateX(65deg);transform:translateZ(-90px) rotateX(65deg)}.reveal.cube .slides>section.stack{padding:0;background:0}.reveal.cube .slides>section.past{-webkit-transform-origin:100% 0;-moz-transform-origin:100% 0;-ms-transform-origin:100% 0;transform-origin:100% 0;-webkit-transform:translate3d(-100%,0,0) rotateY(-90deg);-moz-transform:translate3d(-100%,0,0) rotateY(-90deg);-ms-transform:translate3d(-100%,0,0) rotateY(-90deg);transform:translate3d(-100%,0,0) rotateY(-90deg)}.reveal.cube .slides>section.future{-webkit-transform-origin:0 0;-moz-transform-origin:0 0;-ms-transform-origin:0 0;transform-origin:0 0;-webkit-transform:translate3d(100%,0,0) rotateY(90deg);-moz-transform:translate3d(100%,0,0) rotateY(90deg);-ms-transform:translate3d(100%,0,0) rotateY(90deg);transform:translate3d(100%,0,0) rotateY(90deg)}.reveal.cube .slides>section>section.past{-webkit-transform-origin:0 100%;-moz-transform-origin:0 100%;-ms-transform-origin:0 100%;transform-origin:0 100%;-webkit-transform:translate3d(0,-100%,0) rotateX(90deg);-moz-transform:translate3d(0,-100%,0) rotateX(90deg);-ms-transform:translate3d(0,-100%,0) rotateX(90deg);transform:translate3d(0,-100%,0) rotateX(90deg)}.reveal.cube .slides>section>section.future{-webkit-transform-origin:0 0;-moz-transform-origin:0 0;-ms-transform-origin:0 0;transform-origin:0 0;-webkit-transform:translate3d(0,100%,0) rotateX(-90deg);-moz-transform:translate3d(0,100%,0) rotateX(-90deg);-ms-transform:translate3d(0,100%,0) rotateX(-90deg);transform:translate3d(0,100%,0) rotateX(-90deg)}.reveal.page .slides{-webkit-perspective-origin:0 50%;-moz-perspective-origin:0 50%;-ms-perspective-origin:0 50%;perspective-origin:0 50%;-webkit-perspective:3000px;-moz-perspective:3000px;-ms-perspective:3000px;perspective:3000px}.reveal.page .slides section{padding:30px;min-height:700px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.reveal.page .slides section.past{z-index:12}.reveal.page .slides section:not(.stack):before{content:'';position:absolute;display:block;width:100%;height:100%;left:0;top:0;background:rgba(0,0,0,.1);-webkit-transform:translateZ(-20px);-moz-transform:translateZ(-20px);-ms-transform:translateZ(-20px);-o-transform:translateZ(-20px);transform:translateZ(-20px)}.reveal.page .slides section:not(.stack):after{content:'';position:absolute;display:block;width:90%;height:30px;left:5%;bottom:0;background:0;z-index:1;border-radius:4px;box-shadow:0 95px 25px rgba(0,0,0,.2);-webkit-transform:translateZ(-90px) rotateX(65deg)}.reveal.page .slides>section.stack{padding:0;background:0}.reveal.page .slides>section.past{-webkit-transform-origin:0 0;-moz-transform-origin:0 0;-ms-transform-origin:0 0;transform-origin:0 0;-webkit-transform:translate3d(-40%,0,0) rotateY(-80deg);-moz-transform:translate3d(-40%,0,0) rotateY(-80deg);-ms-transform:translate3d(-40%,0,0) rotateY(-80deg);transform:translate3d(-40%,0,0) rotateY(-80deg)}.reveal.page .slides>section.future{-webkit-transform-origin:100% 0;-moz-transform-origin:100% 0;-ms-transform-origin:100% 0;transform-origin:100% 0;-webkit-transform:translate3d(0,0,0);-moz-transform:translate3d(0,0,0);-ms-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}.reveal.page .slides>section>section.past{-webkit-transform-origin:0 0;-moz-transform-origin:0 0;-ms-transform-origin:0 0;transform-origin:0 0;-webkit-transform:translate3d(0,-40%,0) rotateX(80deg);-moz-transform:translate3d(0,-40%,0) rotateX(80deg);-ms-transform:translate3d(0,-40%,0) rotateX(80deg);transform:translate3d(0,-40%,0) rotateX(80deg)}.reveal.page .slides>section>section.future{-webkit-transform-origin:0 100%;-moz-transform-origin:0 100%;-ms-transform-origin:0 100%;transform-origin:0 100%;-webkit-transform:translate3d(0,0,0);-moz-transform:translate3d(0,0,0);-ms-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}.reveal .slides section[data-transition=fade],.reveal.fade .slides section,.reveal.fade .slides>section>section{-webkit-transform:none;-moz-transform:none;-ms-transform:none;-o-transform:none;transform:none;-webkit-transition:opacity .5s;-moz-transition:opacity .5s;-ms-transition:opacity .5s;-o-transition:opacity .5s;transition:opacity .5s}.reveal.fade.overview .slides section,.reveal.fade.overview .slides>section>section,.reveal.fade.exit-overview .slides section,.reveal.fade.exit-overview .slides>section>section{-webkit-transition:none;-moz-transition:none;-ms-transition:none;-o-transition:none;transition:none}.reveal .slides section[data-transition=none],.reveal.none .slides section{-webkit-transform:none;-moz-transform:none;-ms-transform:none;-o-transform:none;transform:none;-webkit-transition:none;-moz-transition:none;-ms-transition:none;-o-transition:none;transition:none}.reveal.overview .slides{-webkit-perspective-origin:0 0;-moz-perspective-origin:0 0;-ms-perspective-origin:0 0;perspective-origin:0 0;-webkit-perspective:700px;-moz-perspective:700px;-ms-perspective:700px;perspective:700px}.reveal.overview .slides section{height:600px;overflow:hidden;opacity:1!important;visibility:visible!important;cursor:pointer;background:rgba(0,0,0,.1)}.reveal.overview .slides section .fragment{opacity:1}.reveal.overview .slides section:after,.reveal.overview .slides section:before{display:none!important}.reveal.overview .slides section>section{opacity:1;cursor:pointer}.reveal.overview .slides section:hover{background:rgba(0,0,0,.3)}.reveal.overview .slides section.present{background:rgba(0,0,0,.3)}.reveal.overview .slides>section.stack{padding:0;background:0;overflow:visible}.reveal .pause-overlay{position:absolute;top:0;left:0;width:100%;height:100%;background:#000;visibility:hidden;opacity:0;z-index:100;-webkit-transition:all 1s ease;-moz-transition:all 1s ease;-ms-transition:all 1s ease;-o-transition:all 1s ease;transition:all 1s ease}.reveal.paused .pause-overlay{visibility:visible;opacity:1}.no-transforms{overflow-y:auto}.no-transforms .reveal .slides{position:relative;width:80%;height:auto!important;top:0;left:50%;margin:0;text-align:center}.no-transforms .reveal .controls,.no-transforms .reveal .progress{display:none!important}.no-transforms .reveal .slides section{display:block!important;opacity:1!important;position:relative!important;height:auto;min-height:auto;top:0;left:-50%;margin:70px 0;-webkit-transform:none;-moz-transform:none;-ms-transform:none;-o-transform:none;transform:none}.no-transforms .reveal .slides section section{left:0}.reveal .no-transition,.reveal .no-transition *{-webkit-transition:none!important;-moz-transition:none!important;-ms-transition:none!important;-o-transition:none!important;transition:none!important}.reveal .state-background{position:absolute;width:100%;height:100%;background:rgba(0,0,0,0);-webkit-transition:background 800ms ease;-moz-transition:background 800ms ease;-ms-transition:background 800ms ease;-o-transition:background 800ms ease;transition:background 800ms ease}.alert .reveal .state-background{background:rgba(200,50,30,.6)}.soothe .reveal .state-background{background:rgba(50,200,90,.4)}.blackout .reveal .state-background{background:rgba(0,0,0,.6)}.whiteout .reveal .state-background{background:rgba(255,255,255,.6)}.cobalt .reveal .state-background{background:rgba(22,152,213,.6)}.mint .reveal .state-background{background:rgba(22,213,75,.6)}.submerge .reveal .state-background{background:rgba(12,25,77,.6)}.lila .reveal .state-background{background:rgba(180,50,140,.6)}.sunset .reveal .state-background{background:rgba(255,122,0,.6)}.reveal>.backgrounds{position:absolute;width:100%;height:100%}.reveal .slide-background{position:absolute;width:100%;height:100%;opacity:0;visibility:hidden;background-color:rgba(0,0,0,0);background-position:50% 50%;background-repeat:no-repeat;background-size:cover;-webkit-transition:all 650ms ease;-moz-transition:all 650ms ease;-ms-transition:all 650ms ease;-o-transition:all 650ms ease;transition:all 650ms ease}.reveal .slide-background.present{opacity:1;visibility:visible}.print-pdf .reveal .slide-background{opacity:1!important;visibility:visible!important}.reveal[data-background-transition=linear]>.backgrounds .slide-background{opacity:1;-webkit-backface-visibility:hidden;-moz-backface-visibility:hidden;-ms-backface-visibility:hidden;backface-visibility:hidden}.reveal[data-background-transition=linear]>.backgrounds .slide-background.past{-webkit-transform:translate(-100%,0);-moz-transform:translate(-100%,0);-ms-transform:translate(-100%,0);-o-transform:translate(-100%,0);transform:translate(-100%,0)}.reveal[data-background-transition=linear]>.backgrounds .slide-background.future{-webkit-transform:translate(100%,0);-moz-transform:translate(100%,0);-ms-transform:translate(100%,0);-o-transform:translate(100%,0);transform:translate(100%,0)}.reveal[data-background-transition=linear]>.backgrounds .slide-background>.slide-background.past{-webkit-transform:translate(0,-100%);-moz-transform:translate(0,-100%);-ms-transform:translate(0,-100%);-o-transform:translate(0,-100%);transform:translate(0,-100%)}.reveal[data-background-transition=linear]>.backgrounds .slide-background>.slide-background.future{-webkit-transform:translate(0,100%);-moz-transform:translate(0,100%);-ms-transform:translate(0,100%);-o-transform:translate(0,100%);transform:translate(0,100%)}.reveal[data-transition-speed=fast]>.backgrounds .slide-background{-webkit-transition-duration:300ms;-moz-transition-duration:300ms;-ms-transition-duration:300ms;transition-duration:300ms}.reveal[data-transition-speed=slow]>.backgrounds .slide-background{-webkit-transition-duration:900ms;-moz-transition-duration:900ms;-ms-transition-duration:900ms;transition-duration:900ms}.reveal.rtl .slides,.reveal.rtl .slides h1,.reveal.rtl .slides h2,.reveal.rtl .slides h3,.reveal.rtl .slides h4,.reveal.rtl .slides h5,.reveal.rtl .slides h6{direction:rtl;font-family:sans-serif}.reveal.rtl pre,.reveal.rtl code{direction:ltr}.reveal.rtl ol,.reveal.rtl ul{text-align:right}.reveal.rtl .progress span{float:right}.reveal aside.notes{display:none}.zoomed .reveal *,.zoomed .reveal :before,.zoomed .reveal :after{-webkit-transform:none!important;-moz-transform:none!important;-ms-transform:none!important;transform:none!important;-webkit-backface-visibility:visible!important;-moz-backface-visibility:visible!important;-ms-backface-visibility:visible!important;backface-visibility:visible!important}.zoomed .reveal .progress,.zoomed .reveal .controls{opacity:0}.zoomed .reveal .roll span{background:0}.zoomed .reveal .roll span:after{visibility:hidden} \ No newline at end of file + */ html,body,.reveal div,.reveal span,.reveal applet,.reveal object,.reveal iframe,.reveal h1,.reveal h2,.reveal h3,.reveal h4,.reveal h5,.reveal h6,.reveal p,.reveal blockquote,.reveal pre,.reveal a,.reveal abbr,.reveal acronym,.reveal address,.reveal big,.reveal cite,.reveal code,.reveal del,.reveal dfn,.reveal em,.reveal img,.reveal ins,.reveal kbd,.reveal q,.reveal s,.reveal samp,.reveal small,.reveal strike,.reveal strong,.reveal sub,.reveal sup,.reveal tt,.reveal var,.reveal b,.reveal u,.reveal i,.reveal center,.reveal dl,.reveal dt,.reveal dd,.reveal ol,.reveal ul,.reveal li,.reveal fieldset,.reveal form,.reveal label,.reveal legend,.reveal table,.reveal caption,.reveal tbody,.reveal tfoot,.reveal thead,.reveal tr,.reveal th,.reveal td,.reveal article,.reveal aside,.reveal canvas,.reveal details,.reveal embed,.reveal figure,.reveal figcaption,.reveal footer,.reveal header,.reveal hgroup,.reveal menu,.reveal nav,.reveal output,.reveal ruby,.reveal section,.reveal summary,.reveal time,.reveal mark,.reveal audio,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}.reveal article,.reveal aside,.reveal details,.reveal figcaption,.reveal figure,.reveal footer,.reveal header,.reveal hgroup,.reveal menu,.reveal nav,.reveal section{display:block}html,body{width:100%;height:100%;overflow:hidden}body{position:relative;line-height:1}::selection{background:#FF5E99;color:#fff;text-shadow:none}.reveal h1,.reveal h2,.reveal h3,.reveal h4,.reveal h5,.reveal h6{-webkit-hyphens:auto;-moz-hyphens:auto;hyphens:auto;word-wrap:break-word}.reveal h1{font-size:3.77em}.reveal h2{font-size:2.11em}.reveal h3{font-size:1.55em}.reveal h4{font-size:1em}.reveal .slides section .fragment{opacity:0;-webkit-transition:all .2s ease;-moz-transition:all .2s ease;-ms-transition:all .2s ease;-o-transition:all .2s ease;transition:all .2s ease}.reveal .slides section .fragment.visible{opacity:1}.reveal .slides section .fragment.grow{opacity:1}.reveal .slides section .fragment.grow.visible{-webkit-transform:scale(1.3);-moz-transform:scale(1.3);-ms-transform:scale(1.3);-o-transform:scale(1.3);transform:scale(1.3)}.reveal .slides section .fragment.shrink{opacity:1}.reveal .slides section .fragment.shrink.visible{-webkit-transform:scale(0.7);-moz-transform:scale(0.7);-ms-transform:scale(0.7);-o-transform:scale(0.7);transform:scale(0.7)}.reveal .slides section .fragment.zoom-in{opacity:0;-webkit-transform:scale(0.1);-moz-transform:scale(0.1);-ms-transform:scale(0.1);-o-transform:scale(0.1);transform:scale(0.1)}.reveal .slides section .fragment.zoom-in.visible{opacity:1;-webkit-transform:scale(1);-moz-transform:scale(1);-ms-transform:scale(1);-o-transform:scale(1);transform:scale(1)}.reveal .slides section .fragment.roll-in{opacity:0;-webkit-transform:rotateX(90deg);-moz-transform:rotateX(90deg);-ms-transform:rotateX(90deg);-o-transform:rotateX(90deg);transform:rotateX(90deg)}.reveal .slides section .fragment.roll-in.visible{opacity:1;-webkit-transform:rotateX(0);-moz-transform:rotateX(0);-ms-transform:rotateX(0);-o-transform:rotateX(0);transform:rotateX(0)}.reveal .slides section .fragment.fade-out{opacity:1}.reveal .slides section .fragment.fade-out.visible{opacity:0}.reveal .slides section .fragment.highlight-red,.reveal .slides section .fragment.highlight-green,.reveal .slides section .fragment.highlight-blue{opacity:1}.reveal .slides section .fragment.highlight-red.visible{color:#ff2c2d}.reveal .slides section .fragment.highlight-green.visible{color:#17ff2e}.reveal .slides section .fragment.highlight-blue.visible{color:#1b91ff}.reveal:after{content:'';font-style:italic}.reveal img,.reveal video,.reveal iframe{max-width:95%;max-height:95%}.reveal a{position:relative}.reveal strong,.reveal b{font-weight:700}.reveal em,.reveal i{font-style:italic}.reveal ol,.reveal ul{display:inline-block;text-align:left;margin:0 0 0 1em}.reveal ol{list-style-type:decimal}.reveal ul{list-style-type:disc}.reveal ul ul{list-style-type:square}.reveal ul ul ul{list-style-type:circle}.reveal ul ul,.reveal ul ol,.reveal ol ol,.reveal ol ul{display:block;margin-left:40px}.reveal p{margin-bottom:10px;line-height:1.2em}.reveal q,.reveal blockquote{quotes:none}.reveal blockquote{display:block;position:relative;width:70%;margin:5px auto;padding:5px;font-style:italic;background:rgba(255,255,255,.05);box-shadow:0 0 2px rgba(0,0,0,.2)}.reveal blockquote p:first-child,.reveal blockquote p:last-child{display:inline-block}.reveal q{font-style:italic}.reveal pre{display:block;position:relative;width:90%;margin:15px auto;text-align:left;font-size:.55em;font-family:monospace;line-height:1.2em;word-wrap:break-word;box-shadow:0 0 6px rgba(0,0,0,.3)}.reveal code{font-family:monospace}.reveal pre code{padding:5px;overflow:auto;max-height:400px;word-wrap:normal}.reveal table th,.reveal table td{text-align:left;padding-right:.3em}.reveal table th{text-shadow:#fff 1px 1px 2px}.reveal sup{vertical-align:super}.reveal sub{vertical-align:sub}.reveal small{display:inline-block;font-size:.6em;line-height:1.2em;vertical-align:top}.reveal small *{vertical-align:top}.reveal .controls{display:none;position:fixed;width:110px;height:110px;z-index:30;right:10px;bottom:10px}.reveal .controls div{position:absolute;opacity:.05;width:0;height:0;border:12px solid transparent;-moz-transform:scale(.9999);-webkit-transition:all .2s ease;-moz-transition:all .2s ease;-ms-transition:all .2s ease;-o-transition:all .2s ease;transition:all .2s ease}.reveal .controls div.enabled{opacity:.7;cursor:pointer}.reveal .controls div.enabled:active{margin-top:1px}.reveal .controls div.navigate-left{top:42px;border-right-width:22px;border-right-color:#eee}.reveal .controls div.navigate-left.fragmented{opacity:.3}.reveal .controls div.navigate-right{left:74px;top:42px;border-left-width:22px;border-left-color:#eee}.reveal .controls div.navigate-right.fragmented{opacity:.3}.reveal .controls div.navigate-up{left:42px;border-bottom-width:22px;border-bottom-color:#eee}.reveal .controls div.navigate-up.fragmented{opacity:.3}.reveal .controls div.navigate-down{left:42px;top:74px;border-top-width:22px;border-top-color:#eee}.reveal .controls div.navigate-down.fragmented{opacity:.3}.reveal .progress{position:fixed;display:none;height:3px;width:100%;bottom:0;left:0;z-index:10}.reveal .progress:after{content:'';display:'block';position:absolute;height:20px;width:100%;top:-20px}.reveal .progress span{display:block;height:100%;width:0;-webkit-transition:width 800ms cubic-bezier(0.26,.86,.44,.985);-moz-transition:width 800ms cubic-bezier(0.26,.86,.44,.985);-ms-transition:width 800ms cubic-bezier(0.26,.86,.44,.985);-o-transition:width 800ms cubic-bezier(0.26,.86,.44,.985);transition:width 800ms cubic-bezier(0.26,.86,.44,.985)}.reveal .roll{display:inline-block;line-height:1.2;overflow:hidden;vertical-align:top;-webkit-perspective:400px;-moz-perspective:400px;-ms-perspective:400px;perspective:400px;-webkit-perspective-origin:50% 50%;-moz-perspective-origin:50% 50%;-ms-perspective-origin:50% 50%;perspective-origin:50% 50%}.reveal .roll:hover{background:0;text-shadow:none}.reveal .roll span{display:block;position:relative;padding:0 2px;pointer-events:none;-webkit-transition:all 400ms ease;-moz-transition:all 400ms ease;-ms-transition:all 400ms ease;transition:all 400ms ease;-webkit-transform-origin:50% 0;-moz-transform-origin:50% 0;-ms-transform-origin:50% 0;transform-origin:50% 0;-webkit-transform-style:preserve-3d;-moz-transform-style:preserve-3d;-ms-transform-style:preserve-3d;transform-style:preserve-3d;-webkit-backface-visibility:hidden;-moz-backface-visibility:hidden;backface-visibility:hidden}.reveal .roll:hover span{background:rgba(0,0,0,.5);-webkit-transform:translate3d(0px,0,-45px) rotateX(90deg);-moz-transform:translate3d(0px,0,-45px) rotateX(90deg);-ms-transform:translate3d(0px,0,-45px) rotateX(90deg);transform:translate3d(0px,0,-45px) rotateX(90deg)}.reveal .roll span:after{content:attr(data-title);display:block;position:absolute;left:0;top:0;padding:0 2px;-webkit-backface-visibility:hidden;-moz-backface-visibility:hidden;backface-visibility:hidden;-webkit-transform-origin:50% 0;-moz-transform-origin:50% 0;-ms-transform-origin:50% 0;transform-origin:50% 0;-webkit-transform:translate3d(0px,110%,0) rotateX(-90deg);-moz-transform:translate3d(0px,110%,0) rotateX(-90deg);-ms-transform:translate3d(0px,110%,0) rotateX(-90deg);transform:translate3d(0px,110%,0) rotateX(-90deg)}.reveal{position:relative;width:100%;height:100%;-ms-touch-action:none}.reveal .slides{position:absolute;width:100%;height:100%;left:50%;top:50%;overflow:visible;z-index:1;text-align:center;-webkit-transition:-webkit-perspective .4s ease;-moz-transition:-moz-perspective .4s ease;-ms-transition:-ms-perspective .4s ease;-o-transition:-o-perspective .4s ease;transition:perspective .4s ease;-webkit-perspective:600px;-moz-perspective:600px;-ms-perspective:600px;perspective:600px;-webkit-perspective-origin:0 -100px;-moz-perspective-origin:0 -100px;-ms-perspective-origin:0 -100px;perspective-origin:0 -100px}.reveal .slides>section,.reveal .slides>section>section{display:none;position:absolute;width:100%;padding:20px 0;z-index:10;line-height:1.2em;font-weight:400;-webkit-transform-style:preserve-3d;-moz-transform-style:preserve-3d;-ms-transform-style:preserve-3d;transform-style:preserve-3d;-webkit-transition:-webkit-transform-origin 800ms cubic-bezier(0.26,.86,.44,.985),-webkit-transform 800ms cubic-bezier(0.26,.86,.44,.985),visibility 800ms cubic-bezier(0.26,.86,.44,.985),opacity 800ms cubic-bezier(0.26,.86,.44,.985);-moz-transition:-moz-transform-origin 800ms cubic-bezier(0.26,.86,.44,.985),-moz-transform 800ms cubic-bezier(0.26,.86,.44,.985),visibility 800ms cubic-bezier(0.26,.86,.44,.985),opacity 800ms cubic-bezier(0.26,.86,.44,.985);-ms-transition:-ms-transform-origin 800ms cubic-bezier(0.26,.86,.44,.985),-ms-transform 800ms cubic-bezier(0.26,.86,.44,.985),visibility 800ms cubic-bezier(0.26,.86,.44,.985),opacity 800ms cubic-bezier(0.26,.86,.44,.985);-o-transition:-o-transform-origin 800ms cubic-bezier(0.26,.86,.44,.985),-o-transform 800ms cubic-bezier(0.26,.86,.44,.985),visibility 800ms cubic-bezier(0.26,.86,.44,.985),opacity 800ms cubic-bezier(0.26,.86,.44,.985);transition:transform-origin 800ms cubic-bezier(0.26,.86,.44,.985),transform 800ms cubic-bezier(0.26,.86,.44,.985),visibility 800ms cubic-bezier(0.26,.86,.44,.985),opacity 800ms cubic-bezier(0.26,.86,.44,.985)}.reveal[data-transition-speed=fast] .slides section{-webkit-transition-duration:400ms;-moz-transition-duration:400ms;-ms-transition-duration:400ms;transition-duration:400ms}.reveal[data-transition-speed=slow] .slides section{-webkit-transition-duration:1200ms;-moz-transition-duration:1200ms;-ms-transition-duration:1200ms;transition-duration:1200ms}.reveal .slides section[data-transition-speed=fast]{-webkit-transition-duration:400ms;-moz-transition-duration:400ms;-ms-transition-duration:400ms;transition-duration:400ms}.reveal .slides section[data-transition-speed=slow]{-webkit-transition-duration:1200ms;-moz-transition-duration:1200ms;-ms-transition-duration:1200ms;transition-duration:1200ms}.reveal .slides>section{left:-50%;top:-50%}.reveal .slides>section.stack{padding-top:0;padding-bottom:0}.reveal .slides>section.present,.reveal .slides>section>section.present{display:block;z-index:11;opacity:1}.reveal.center,.reveal.center .slides,.reveal.center .slides section{min-height:auto!important}.reveal .slides>section[data-transition=default].past,.reveal .slides>section.past{display:block;opacity:0;-webkit-transform:translate3d(-100%,0,0) rotateY(-90deg) translate3d(-100%,0,0);-moz-transform:translate3d(-100%,0,0) rotateY(-90deg) translate3d(-100%,0,0);-ms-transform:translate3d(-100%,0,0) rotateY(-90deg) translate3d(-100%,0,0);transform:translate3d(-100%,0,0) rotateY(-90deg) translate3d(-100%,0,0)}.reveal .slides>section[data-transition=default].future,.reveal .slides>section.future{display:block;opacity:0;-webkit-transform:translate3d(100%,0,0) rotateY(90deg) translate3d(100%,0,0);-moz-transform:translate3d(100%,0,0) rotateY(90deg) translate3d(100%,0,0);-ms-transform:translate3d(100%,0,0) rotateY(90deg) translate3d(100%,0,0);transform:translate3d(100%,0,0) rotateY(90deg) translate3d(100%,0,0)}.reveal .slides>section>section[data-transition=default].past,.reveal .slides>section>section.past{display:block;opacity:0;-webkit-transform:translate3d(0,-300px,0) rotateX(70deg) translate3d(0,-300px,0);-moz-transform:translate3d(0,-300px,0) rotateX(70deg) translate3d(0,-300px,0);-ms-transform:translate3d(0,-300px,0) rotateX(70deg) translate3d(0,-300px,0);transform:translate3d(0,-300px,0) rotateX(70deg) translate3d(0,-300px,0)}.reveal .slides>section>section[data-transition=default].future,.reveal .slides>section>section.future{display:block;opacity:0;-webkit-transform:translate3d(0,300px,0) rotateX(-70deg) translate3d(0,300px,0);-moz-transform:translate3d(0,300px,0) rotateX(-70deg) translate3d(0,300px,0);-ms-transform:translate3d(0,300px,0) rotateX(-70deg) translate3d(0,300px,0);transform:translate3d(0,300px,0) rotateX(-70deg) translate3d(0,300px,0)}.reveal .slides>section[data-transition=concave].past,.reveal.concave .slides>section.past{-webkit-transform:translate3d(-100%,0,0) rotateY(90deg) translate3d(-100%,0,0);-moz-transform:translate3d(-100%,0,0) rotateY(90deg) translate3d(-100%,0,0);-ms-transform:translate3d(-100%,0,0) rotateY(90deg) translate3d(-100%,0,0);transform:translate3d(-100%,0,0) rotateY(90deg) translate3d(-100%,0,0)}.reveal .slides>section[data-transition=concave].future,.reveal.concave .slides>section.future{-webkit-transform:translate3d(100%,0,0) rotateY(-90deg) translate3d(100%,0,0);-moz-transform:translate3d(100%,0,0) rotateY(-90deg) translate3d(100%,0,0);-ms-transform:translate3d(100%,0,0) rotateY(-90deg) translate3d(100%,0,0);transform:translate3d(100%,0,0) rotateY(-90deg) translate3d(100%,0,0)}.reveal .slides>section>section[data-transition=concave].past,.reveal.concave .slides>section>section.past{-webkit-transform:translate3d(0,-80%,0) rotateX(-70deg) translate3d(0,-80%,0);-moz-transform:translate3d(0,-80%,0) rotateX(-70deg) translate3d(0,-80%,0);-ms-transform:translate3d(0,-80%,0) rotateX(-70deg) translate3d(0,-80%,0);transform:translate3d(0,-80%,0) rotateX(-70deg) translate3d(0,-80%,0)}.reveal .slides>section>section[data-transition=concave].future,.reveal.concave .slides>section>section.future{-webkit-transform:translate3d(0,80%,0) rotateX(70deg) translate3d(0,80%,0);-moz-transform:translate3d(0,80%,0) rotateX(70deg) translate3d(0,80%,0);-ms-transform:translate3d(0,80%,0) rotateX(70deg) translate3d(0,80%,0);transform:translate3d(0,80%,0) rotateX(70deg) translate3d(0,80%,0)}.reveal .slides>section[data-transition=zoom].past,.reveal.zoom .slides>section.past{opacity:0;visibility:hidden;-webkit-transform:scale(16);-moz-transform:scale(16);-ms-transform:scale(16);-o-transform:scale(16);transform:scale(16)}.reveal .slides>section[data-transition=zoom].future,.reveal.zoom .slides>section.future{opacity:0;visibility:hidden;-webkit-transform:scale(0.2);-moz-transform:scale(0.2);-ms-transform:scale(0.2);-o-transform:scale(0.2);transform:scale(0.2)}.reveal .slides>section>section[data-transition=zoom].past,.reveal.zoom .slides>section>section.past{-webkit-transform:translate(0,-150%);-moz-transform:translate(0,-150%);-ms-transform:translate(0,-150%);-o-transform:translate(0,-150%);transform:translate(0,-150%)}.reveal .slides>section>section[data-transition=zoom].future,.reveal.zoom .slides>section>section.future{-webkit-transform:translate(0,150%);-moz-transform:translate(0,150%);-ms-transform:translate(0,150%);-o-transform:translate(0,150%);transform:translate(0,150%)}.reveal.linear section{-webkit-backface-visibility:hidden;-moz-backface-visibility:hidden;-ms-backface-visibility:hidden;backface-visibility:hidden}.reveal .slides>section[data-transition=linear].past,.reveal.linear .slides>section.past{-webkit-transform:translate(-150%,0);-moz-transform:translate(-150%,0);-ms-transform:translate(-150%,0);-o-transform:translate(-150%,0);transform:translate(-150%,0)}.reveal .slides>section[data-transition=linear].future,.reveal.linear .slides>section.future{-webkit-transform:translate(150%,0);-moz-transform:translate(150%,0);-ms-transform:translate(150%,0);-o-transform:translate(150%,0);transform:translate(150%,0)}.reveal .slides>section>section[data-transition=linear].past,.reveal.linear .slides>section>section.past{-webkit-transform:translate(0,-150%);-moz-transform:translate(0,-150%);-ms-transform:translate(0,-150%);-o-transform:translate(0,-150%);transform:translate(0,-150%)}.reveal .slides>section>section[data-transition=linear].future,.reveal.linear .slides>section>section.future{-webkit-transform:translate(0,150%);-moz-transform:translate(0,150%);-ms-transform:translate(0,150%);-o-transform:translate(0,150%);transform:translate(0,150%)}.reveal.cube .slides{-webkit-perspective:1300px;-moz-perspective:1300px;-ms-perspective:1300px;perspective:1300px}.reveal.cube .slides section{padding:30px;min-height:700px;-webkit-backface-visibility:hidden;-moz-backface-visibility:hidden;-ms-backface-visibility:hidden;backface-visibility:hidden;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.reveal.center.cube .slides section{min-height:auto}.reveal.cube .slides section:not(.stack):before{content:'';position:absolute;display:block;width:100%;height:100%;left:0;top:0;background:rgba(0,0,0,.1);border-radius:4px;-webkit-transform:translateZ(-20px);-moz-transform:translateZ(-20px);-ms-transform:translateZ(-20px);-o-transform:translateZ(-20px);transform:translateZ(-20px)}.reveal.cube .slides section:not(.stack):after{content:'';position:absolute;display:block;width:90%;height:30px;left:5%;bottom:0;background:0;z-index:1;border-radius:4px;box-shadow:0 95px 25px rgba(0,0,0,.2);-webkit-transform:translateZ(-90px) rotateX(65deg);-moz-transform:translateZ(-90px) rotateX(65deg);-ms-transform:translateZ(-90px) rotateX(65deg);-o-transform:translateZ(-90px) rotateX(65deg);transform:translateZ(-90px) rotateX(65deg)}.reveal.cube .slides>section.stack{padding:0;background:0}.reveal.cube .slides>section.past{-webkit-transform-origin:100% 0;-moz-transform-origin:100% 0;-ms-transform-origin:100% 0;transform-origin:100% 0;-webkit-transform:translate3d(-100%,0,0) rotateY(-90deg);-moz-transform:translate3d(-100%,0,0) rotateY(-90deg);-ms-transform:translate3d(-100%,0,0) rotateY(-90deg);transform:translate3d(-100%,0,0) rotateY(-90deg)}.reveal.cube .slides>section.future{-webkit-transform-origin:0 0;-moz-transform-origin:0 0;-ms-transform-origin:0 0;transform-origin:0 0;-webkit-transform:translate3d(100%,0,0) rotateY(90deg);-moz-transform:translate3d(100%,0,0) rotateY(90deg);-ms-transform:translate3d(100%,0,0) rotateY(90deg);transform:translate3d(100%,0,0) rotateY(90deg)}.reveal.cube .slides>section>section.past{-webkit-transform-origin:0 100%;-moz-transform-origin:0 100%;-ms-transform-origin:0 100%;transform-origin:0 100%;-webkit-transform:translate3d(0,-100%,0) rotateX(90deg);-moz-transform:translate3d(0,-100%,0) rotateX(90deg);-ms-transform:translate3d(0,-100%,0) rotateX(90deg);transform:translate3d(0,-100%,0) rotateX(90deg)}.reveal.cube .slides>section>section.future{-webkit-transform-origin:0 0;-moz-transform-origin:0 0;-ms-transform-origin:0 0;transform-origin:0 0;-webkit-transform:translate3d(0,100%,0) rotateX(-90deg);-moz-transform:translate3d(0,100%,0) rotateX(-90deg);-ms-transform:translate3d(0,100%,0) rotateX(-90deg);transform:translate3d(0,100%,0) rotateX(-90deg)}.reveal.page .slides{-webkit-perspective-origin:0 50%;-moz-perspective-origin:0 50%;-ms-perspective-origin:0 50%;perspective-origin:0 50%;-webkit-perspective:3000px;-moz-perspective:3000px;-ms-perspective:3000px;perspective:3000px}.reveal.page .slides section{padding:30px;min-height:700px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.reveal.page .slides section.past{z-index:12}.reveal.page .slides section:not(.stack):before{content:'';position:absolute;display:block;width:100%;height:100%;left:0;top:0;background:rgba(0,0,0,.1);-webkit-transform:translateZ(-20px);-moz-transform:translateZ(-20px);-ms-transform:translateZ(-20px);-o-transform:translateZ(-20px);transform:translateZ(-20px)}.reveal.page .slides section:not(.stack):after{content:'';position:absolute;display:block;width:90%;height:30px;left:5%;bottom:0;background:0;z-index:1;border-radius:4px;box-shadow:0 95px 25px rgba(0,0,0,.2);-webkit-transform:translateZ(-90px) rotateX(65deg)}.reveal.page .slides>section.stack{padding:0;background:0}.reveal.page .slides>section.past{-webkit-transform-origin:0 0;-moz-transform-origin:0 0;-ms-transform-origin:0 0;transform-origin:0 0;-webkit-transform:translate3d(-40%,0,0) rotateY(-80deg);-moz-transform:translate3d(-40%,0,0) rotateY(-80deg);-ms-transform:translate3d(-40%,0,0) rotateY(-80deg);transform:translate3d(-40%,0,0) rotateY(-80deg)}.reveal.page .slides>section.future{-webkit-transform-origin:100% 0;-moz-transform-origin:100% 0;-ms-transform-origin:100% 0;transform-origin:100% 0;-webkit-transform:translate3d(0,0,0);-moz-transform:translate3d(0,0,0);-ms-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}.reveal.page .slides>section>section.past{-webkit-transform-origin:0 0;-moz-transform-origin:0 0;-ms-transform-origin:0 0;transform-origin:0 0;-webkit-transform:translate3d(0,-40%,0) rotateX(80deg);-moz-transform:translate3d(0,-40%,0) rotateX(80deg);-ms-transform:translate3d(0,-40%,0) rotateX(80deg);transform:translate3d(0,-40%,0) rotateX(80deg)}.reveal.page .slides>section>section.future{-webkit-transform-origin:0 100%;-moz-transform-origin:0 100%;-ms-transform-origin:0 100%;transform-origin:0 100%;-webkit-transform:translate3d(0,0,0);-moz-transform:translate3d(0,0,0);-ms-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}.reveal .slides section[data-transition=fade],.reveal.fade .slides section,.reveal.fade .slides>section>section{-webkit-transform:none;-moz-transform:none;-ms-transform:none;-o-transform:none;transform:none;-webkit-transition:opacity .5s;-moz-transition:opacity .5s;-ms-transition:opacity .5s;-o-transition:opacity .5s;transition:opacity .5s}.reveal.fade.overview .slides section,.reveal.fade.overview .slides>section>section,.reveal.fade.exit-overview .slides section,.reveal.fade.exit-overview .slides>section>section{-webkit-transition:none;-moz-transition:none;-ms-transition:none;-o-transition:none;transition:none}.reveal .slides section[data-transition=none],.reveal.none .slides section{-webkit-transform:none;-moz-transform:none;-ms-transform:none;-o-transform:none;transform:none;-webkit-transition:none;-moz-transition:none;-ms-transition:none;-o-transition:none;transition:none}.reveal.overview .slides{-webkit-perspective-origin:0 0;-moz-perspective-origin:0 0;-ms-perspective-origin:0 0;perspective-origin:0 0;-webkit-perspective:700px;-moz-perspective:700px;-ms-perspective:700px;perspective:700px}.reveal.overview .slides section{height:600px;overflow:hidden;opacity:1!important;visibility:visible!important;cursor:pointer;background:rgba(0,0,0,.1)}.reveal.overview .slides section .fragment{opacity:1}.reveal.overview .slides section:after,.reveal.overview .slides section:before{display:none!important}.reveal.overview .slides section>section{opacity:1;cursor:pointer}.reveal.overview .slides section:hover{background:rgba(0,0,0,.3)}.reveal.overview .slides section.present{background:rgba(0,0,0,.3)}.reveal.overview .slides>section.stack{padding:0;background:0;overflow:visible}.reveal .pause-overlay{position:absolute;top:0;left:0;width:100%;height:100%;background:#000;visibility:hidden;opacity:0;z-index:100;-webkit-transition:all 1s ease;-moz-transition:all 1s ease;-ms-transition:all 1s ease;-o-transition:all 1s ease;transition:all 1s ease}.reveal.paused .pause-overlay{visibility:visible;opacity:1}.no-transforms{overflow-y:auto}.no-transforms .reveal .slides{position:relative;width:80%;height:auto!important;top:0;left:50%;margin:0;text-align:center}.no-transforms .reveal .controls,.no-transforms .reveal .progress{display:none!important}.no-transforms .reveal .slides section{display:block!important;opacity:1!important;position:relative!important;height:auto;min-height:auto;top:0;left:-50%;margin:70px 0;-webkit-transform:none;-moz-transform:none;-ms-transform:none;-o-transform:none;transform:none}.no-transforms .reveal .slides section section{left:0}.reveal .no-transition,.reveal .no-transition *{-webkit-transition:none!important;-moz-transition:none!important;-ms-transition:none!important;-o-transition:none!important;transition:none!important}.reveal .state-background{position:absolute;width:100%;height:100%;background:rgba(0,0,0,0);-webkit-transition:background 800ms ease;-moz-transition:background 800ms ease;-ms-transition:background 800ms ease;-o-transition:background 800ms ease;transition:background 800ms ease}.alert .reveal .state-background{background:rgba(200,50,30,.6)}.soothe .reveal .state-background{background:rgba(50,200,90,.4)}.blackout .reveal .state-background{background:rgba(0,0,0,.6)}.whiteout .reveal .state-background{background:rgba(255,255,255,.6)}.cobalt .reveal .state-background{background:rgba(22,152,213,.6)}.mint .reveal .state-background{background:rgba(22,213,75,.6)}.submerge .reveal .state-background{background:rgba(12,25,77,.6)}.lila .reveal .state-background{background:rgba(180,50,140,.6)}.sunset .reveal .state-background{background:rgba(255,122,0,.6)}.reveal>.backgrounds{position:absolute;width:100%;height:100%}.reveal .slide-background{position:absolute;width:100%;height:100%;opacity:0;visibility:hidden;background-color:rgba(0,0,0,0);background-position:50% 50%;background-repeat:no-repeat;background-size:cover;-webkit-transition:all 600ms cubic-bezier(0.26,.86,.44,.985);-moz-transition:all 600ms cubic-bezier(0.26,.86,.44,.985);-ms-transition:all 600ms cubic-bezier(0.26,.86,.44,.985);-o-transition:all 600ms cubic-bezier(0.26,.86,.44,.985);transition:all 600ms cubic-bezier(0.26,.86,.44,.985)}.reveal .slide-background.present{opacity:1;visibility:visible}.print-pdf .reveal .slide-background{opacity:1!important;visibility:visible!important}.reveal[data-background-transition=linear]>.backgrounds .slide-background{opacity:1;-webkit-backface-visibility:hidden;-moz-backface-visibility:hidden;-ms-backface-visibility:hidden;backface-visibility:hidden;-webkit-transition-duration:800ms;-moz-transition-duration:800ms;-ms-transition-duration:800ms;-o-transition-duration:800ms;transition-duration:800ms}.reveal[data-background-transition=linear]>.backgrounds .slide-background.past{-webkit-transform:translate(-100%,0);-moz-transform:translate(-100%,0);-ms-transform:translate(-100%,0);-o-transform:translate(-100%,0);transform:translate(-100%,0)}.reveal[data-background-transition=linear]>.backgrounds .slide-background.future{-webkit-transform:translate(100%,0);-moz-transform:translate(100%,0);-ms-transform:translate(100%,0);-o-transform:translate(100%,0);transform:translate(100%,0)}.reveal[data-background-transition=linear]>.backgrounds .slide-background>.slide-background.past{-webkit-transform:translate(0,-100%);-moz-transform:translate(0,-100%);-ms-transform:translate(0,-100%);-o-transform:translate(0,-100%);transform:translate(0,-100%)}.reveal[data-background-transition=linear]>.backgrounds .slide-background>.slide-background.future{-webkit-transform:translate(0,100%);-moz-transform:translate(0,100%);-ms-transform:translate(0,100%);-o-transform:translate(0,100%);transform:translate(0,100%)}.reveal[data-transition-speed=fast]>.backgrounds .slide-background{-webkit-transition-duration:400ms;-moz-transition-duration:400ms;-ms-transition-duration:400ms;transition-duration:400ms}.reveal[data-transition-speed=slow]>.backgrounds .slide-background{-webkit-transition-duration:1200ms;-moz-transition-duration:1200ms;-ms-transition-duration:1200ms;transition-duration:1200ms}.reveal.rtl .slides,.reveal.rtl .slides h1,.reveal.rtl .slides h2,.reveal.rtl .slides h3,.reveal.rtl .slides h4,.reveal.rtl .slides h5,.reveal.rtl .slides h6{direction:rtl;font-family:sans-serif}.reveal.rtl pre,.reveal.rtl code{direction:ltr}.reveal.rtl ol,.reveal.rtl ul{text-align:right}.reveal.rtl .progress span{float:right}.reveal aside.notes{display:none}.zoomed .reveal *,.zoomed .reveal :before,.zoomed .reveal :after{-webkit-transform:none!important;-moz-transform:none!important;-ms-transform:none!important;transform:none!important;-webkit-backface-visibility:visible!important;-moz-backface-visibility:visible!important;-ms-backface-visibility:visible!important;backface-visibility:visible!important}.zoomed .reveal .progress,.zoomed .reveal .controls{opacity:0}.zoomed .reveal .roll span{background:0}.zoomed .reveal .roll span:after{visibility:hidden} \ No newline at end of file diff --git a/js/reveal.min.js b/js/reveal.min.js index 70c6577..8fa71ec 100644 --- a/js/reveal.min.js +++ b/js/reveal.min.js @@ -1,5 +1,5 @@ /*! - * reveal.js 2.5.0 (2013-06-10, 08:55) + * reveal.js 2.5.0 (2013-06-10, 08:58) * http://lab.hakim.se/reveal-js * MIT licensed * diff --git a/test/background.html b/test/background.html index ccd374b..67e235a 100644 --- a/test/background.html +++ b/test/background.html @@ -75,6 +75,7 @@ progress: true, history: true, center: true, + // rtl: true, transition: 'linear', // transitionSpeed: 'slow', From 424f8ee9618803d96a31d363597d0b25f876497f Mon Sep 17 00:00:00 2001 From: Hakim El Hattab Date: Mon, 10 Jun 2013 22:34:51 +0200 Subject: [PATCH 23/23] additional background test --- test/background.html | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/test/background.html b/test/background.html index 67e235a..016aa6e 100644 --- a/test/background.html +++ b/test/background.html @@ -58,6 +58,13 @@

Background image

data-background-size="100px" data-background-repeat="repeat" data-background-color="#111"
+ +
+

Same background twice (1/2)

+
+
+

Same background twice (2/2)

+