// // POW: a simple javascript presentation tool. // source code: http://github.com/chromakode/pow (function(b) { if (!window.pow) eval(b.init); pow.bundle(b); })({ "data": "pow.module(\"compat\",function(){pow.compat={};pow.compat.good=!0;pow.compat.check=function(){if(!document.head){document.head=document.getElementsByTagName(\"head\")[0];pow.compat.good=!1}if(!Function.prototype.bind){Function.prototype.bind=function(b){var c=[].slice,e=c.call(arguments,1),d=this,f=function(){},g=function(){return d.apply(this instanceof f?this:b||{},e.concat(c.call(arguments)))};f.prototype=d.prototype;g.prototype=new f;return g};pow.compat.good=!1}var a=document.createElement(\"div\");\na.innerHTML=\"\";pow.compat.inlineSVG=(a.firstChild&&a.firstChild.namespaceURI)==\"http://www.w3.org/2000/svg\";if(!pow.compat.inlineSVG)pow.compat.good=!1};pow.compat.check();pow.compat.advise=function(){if(!pow.compat.good){if(window.localStorage)if(window.localStorage.compatWarned)return;else window.localStorage.compatWarned=!0;var a=new pow.ui.Dialog;a.el.style.borderColor=\"#cc0\";a.el.innerHTML='

Warning: These slides require HTML5 features your browser does not support.

\\n

Some things may not work properly in your current browser. For best goods, try the latest version of Chrome or Firefox 4.

\\n

';\na.el.getElementsByTagName(\"button\")[0].onclick=function(){a.close()};a.show()}}});pow.module(\"core\",function(){pow.signal=function(){function a(c){b.push(c);return c}var b=[];a.fire=function(){for(var c=0;c0&&pow.slides[this.index-1]},animate:function(a,b){var c=new pow.Animation(a,\nb);this.on.hide.once(c.stop.bind(c));return c}};pow.slides=[];pow.slides.on={};pow.slides.on.show=new pow.signal;pow.slides.on.hide=new pow.signal;pow.slides.load=pow.on.load(function(){pow.slides.el=document.getElementById(\"slides\");window.addEventListener(\"click\",function(b){(b.target==document.documentElement||b.target==pow.slides.el||b.target.parentNode==pow.slides.el)&&pow.slides.go.next()},!1);var a=document.getElementsByClassName(\"slide\");Array.prototype.forEach.call(a,function(b,c){pow.slides.push(new pow.Slide(c,\nb))})});pow.slides.go=function(a){a=Number(a)||0;a<0&&(a+=pow.slides.length);(pow.slides[a]||pow.slides[0]).show()};pow.slides.go.first=function(){pow.slides.go(0)};pow.slides.go.last=function(){pow.slides.go(-1)};pow.slides.go.prev=function(){pow.slide.prev&&pow.slide.prev.show()};pow.slides.go.next=function(){pow.slide.next&&pow.slide.next.show()};pow.slides.style={};pow.slides.style.base=\"html { cursor:none; }\\nbody { margin:0; background:#111; }\\n#slides { position:absolute; display:block; overflow:hidden; cursor:default; }\\n.slide { background:#fff; border-radius:5px; }\\n.slide { display:none; }\\n.slide.current { display:table-cell; vertical-align:middle; }\\n.slide h1, .slide h2 { text-align:center; margin:0; }\\n.slide h1 { font-size:100em; }\\n.slide h2 { font-size:48em; font-weight:normal; }\\n.slide p, .slide > ul > li, .slide > ol > li { font-size:36em; }\";\npow.slides.style.scale=function(){this.el=this.el||pow.style.get(\"pow-slide-scale-style\");var a=Math.min(window.innerWidth,4/3*window.innerHeight)-10,b=0.75*a-10,c=(window.innerWidth-a)/2,e=(window.innerHeight-b)/2,d=a/800;this.el.innerHTML=\"#slides, .slide { height:\"+b.toFixed()+\"px; width:\"+a.toFixed()+\"px;}\\n#slides { left:\"+c+\"px; top:\"+e+\"px; font-size:\"+d.toFixed(4)+\"px; }\\n\"};pow.slides.style.load=pow.on.load(function(){pow.style.get(\"pow-slide-base-style\").innerHTML=pow.slides.style.base;\npow.slides.style.scale();window.addEventListener(\"resize\",function(){pow.slides.style.scale()},!1)});pow.url={};pow.url.update=pow.slides.on.show(function(){pow.params.set(\"slide\",pow.slide.index)});pow.url.read=pow.on.start(function(){pow.slides.go(pow.params.get(\"slide\"))});window.addEventListener(\"hashchange\",pow.url.read,!1);window.addEventListener(\"mouseover\",function(){window.focus()},!1)});pow.module(\"nav\",function(){var a={first:'',prev:'',next:'',last:''};navStyle=[\"#pow-nav { position:absolute; width:200px; height:70px; left:50%; line-height:0; margin-left:-100px; padding-top:20px; bottom:15px; opacity:0; \"+pow.style.disableSelection()+\n\"; }\",\"#pow-nav .nav { display:inline-block; width:48px; height:50px; }\",\"#pow-nav .nav, #pow-nav .status { margin:1px; background:rgba(0,0,0,.85); \"+pow.style.shadow(\"0 3px 3px rgba(0,0,0,.5)\")+\"; }\",\"#pow-nav .nav:hover { background:rgba(0,0,0,.90); }\\n#pow-nav .nav:active { background:rgba(0,0,0,1); }\\n#pow-nav .nav .icon { display:block; margin:20%; width:60%; height:60%; }\\n#pow-nav .nav.first { border-top-left-radius:10px; }\\n#pow-nav .nav.last { border-top-right-radius:10px; }\\n#pow-nav .status { height:20px; line-height:20px; text-align:center; color:#aaa; font-family:sans-serif; border-radius:0 0 10px 10px; }\"].join(\"\\n\");\npow.nav={};pow.nav.update=pow.slides.on.show(function(){pow.nav.statusEl.textContent=pow.slide.index+1+\" / \"+pow.slides.length});pow.nav.load=pow.on.load(function(){pow.style.get(\"pow-nav-style\").innerHTML=navStyle;var b=pow.nav.el=pow.el.replace(\"pow-nav\");[\"first\",\"prev\",\"next\",\"last\"].forEach(function(d){var f=document.createElement(\"div\");f.className=\"nav \"+d;f.innerHTML=''+a[d]+\"\";f.addEventListener(\"click\",function(g){pow.slides.go[d]();g.stopPropagation()},\n!1);b.appendChild(f)});var c=pow.nav.statusEl=document.createElement(\"div\");c.className=\"status\";b.appendChild(c);var e=new pow.Animation(250,{frame:function(d){b.style.opacity=d}});document.addEventListener(\"mousemove\",function(d){d.pageY>b.offsetTop?e.play():e.reverse()},!0);document.addEventListener(\"mouseout\",function(d){d.relatedTarget||e.reverse()},!1);document.addEventListener(\"keydown\",function(d){if(d={13:\"next\",32:\"next\",37:\"prev\",38:\"first\",39:\"next\",40:\"last\"}[d.keyCode])pow.slides.go[d]()},\n!1)})});\n", "init": "pow={};pow.log=function(){\"console\"in window&&console.log&&pow.log.enabled&&console.log.apply(console,arguments)};pow.log.enabled=!0;pow.log(\"{POW!}\");pow.module=function(b,e){var f=pow.module.info[b]||{version:-1},a=pow.module.loading;if(!(a&&a[b]<=f.version)){pow.module.info[b]={version:a?a[b]:\"dev\"};pow.log(\"Running module [\"+b+\"].\");e()}};pow.module.info={};pow.updating=window.location.hash==\"#update\";\npow.bundle=function(b){function e(){var i=document.getElementsByTagName(\"script\");return i[i.length-1]}function f(){pow.log(\"Running bundle {\"+c+\"}.\");pow.module.loading=b.versions;eval(b.data);delete pow.module.loading}var a=e(),c=a.src||a.getAttribute(\"data-origin\"),g=a.parentNode;if(a.hasAttribute(\"data-origin\")){if(pow.updating&&!a.hasAttribute(\"data-loaded\")){pow.log(\"Updating bundle {\"+c+\"}.\");document.write('