/*! * fullpage 3.1.0 * https://github.com/alvarotrigo/fullpage.js * * @license gplv3 for open source use only * or fullpage commercial license for commercial use * http://alvarotrigo.com/fullpage/pricing/ * * copyright (c) 2018 http://alvarotrigo.com/fullpage - a project by alvaro trigo */ !function(e,t,n,o,r){"function"==typeof define&&define.amd?define(function(){return e.fullpage=o(t,n),e.fullpage}):"object"==typeof exports?module.exports=o(t,n):t.fullpage=o(t,n)}(this,window,document,function(zt,jt){"use strict";var pt="fullpage-wrapper",dt="."+pt,vt="fp-responsive",wt="fp-notransition",yt="fp-destroyed",ft="fp-enabled",ut="fp-viewing",xt="active",kt="."+xt,_t="fp-completely",$t="fp-section",qt="."+$t,qt=qt+kt,gt="fp-tablecell",jt="."+gt,zt="fp-auto-height",en="fp-normal-scroll",tn="fp-nav",nn="#"+tn,on="fp-tooltip",rn="fp-slide",ln="."+rn,an=ln+kt,sn="fp-slides",cn="."+sn,un="fp-slidescontainer",fn="."+un,dn="fp-table",vn="fp-slidesnav",pn="."+vn,hn=pn+" a",e="fp-controlarrow",gn="."+e,mn="fp-prev",sn=gn+".fp-prev",bn=gn+".fp-next";function wn(e,t){zt.console&&zt.console[e]&&zt.console[e]("fullpage: "+t)}function yn(e,t){return(t=1'+ye(r,"section")+"";var l=e.navigationtooltips[r];void 0!==l&&""!==l&&(o+='
'+l+"
"),o+=""}yn("ul",n)[0].innerhtml=o,nn(yn("a",yn("li",yn(nn)[0])[in(yn(qt)[0],qt)]),xt)}(),yn('iframe[src*="youtube.com/embed/"]',d).foreach(function(e){var t,n,o;n="enablejsapi=1",o=(t=e).getattribute("src"),t.setattribute("src",o+(/\?/.test(o)?"&":"?")+n)}),e.scrolloverflow&&(m=e.scrolloverflowhandler.init(e))}(),re(!0),ie(!0),z(e.autoscrolling,"internal"),ct(),lt(),"complete"===jt.readystate&&$e(),zt.addeventlistener("load",$e),e.scrolloverflow||ee(),function(){for(var e=1;e<4;e++)c=settimeout(be,350*e)}(),zt.addeventlistener("scroll",le),zt.addeventlistener("hashchange",qe),zt.addeventlistener("focus",nt),zt.addeventlistener("blur",ot),zt.addeventlistener("resize",at),jt.addeventlistener("keydown",ge),jt.addeventlistener("keyup",je),["click","touchstart"].foreach(function(e){jt.addeventlistener(e,ge)}),e.normalscrollelements&&(["mouseenter","touchstart"].foreach(function(e){me(e,!1)}),["mouseleave","touchend"].foreach(function(e){me(e,!0)})));var f=!1,u=0,x=0,k=0,_=0,$=0,q=(new date).gettime(),q=0,g=0,j=a;return g}function z(e,t){e||tt(0),mt("autoscrolling",e,t);var n=yn(qt)[0];if(e.autoscrolling&&!e.scrollbar)tn(h,{overflow:"hidden",height:"100%"}),ee(d.recordhistory,"internal"),tn(d,{"-ms-touch-action":"none","touch-action":"none"}),null!=n&&tt(n.offsettop);else if(tn(h,{overflow:"visible",height:"initial"}),ee(!!e.autoscrolling&&d.recordhistory,"internal"),tn(d,{"-ms-touch-action":"","touch-action":""}),null!=n){var o=pe(n.offsettop);o.element.scrollto(0,o.options)}}function ee(e,t){mt("recordhistory",e,t)}function te(e,t){mt("scrollingspeed",e,t)}function ne(e,t){mt("fittosection",e,t)}function oe(e){e?(function(){var e,t="";zt.addeventlistener?e="addeventlistener":(e="attachevent",t="on");var n="onwheel"in jt.createelement("div")?"wheel":void 0!==jt.onmousewheel?"mousewheel":"dommousescroll",o=!!r&&{passive:!1};"dommousescroll"==n?jt[e](t+"mozmousepixelscroll",he,o):jt[e](t+n,he,o)}(),d.addeventlistener("mousedown",ze),d.addeventlistener("mouseup",et)):(jt.addeventlistener?(jt.removeeventlistener("mousewheel",he,!1),jt.removeeventlistener("wheel",he,!1),jt.removeeventlistener("mozmousepixelscroll",he,!1)):jt.detachevent("onmousewheel",he),d.removeeventlistener("mousedown",ze),d.removeeventlistener("mouseup",et))}function re(t,e){void 0!==e?(e=e.replace(/ /g,"").split(",")).foreach(function(e){ot(t,e,"m")}):ot(t,"all","m")}function ie(e){e?(oe(!0),function(){if(o||r){e.autoscrolling&&(l.removeeventlistener(i.touchmove,te,{passive:!1}),l.addeventlistener(i.touchmove,te,{passive:!1}));var e=e.touchwrapper;e.removeeventlistener(i.touchstart,me),e.removeeventlistener(i.touchmove,ke,{passive:!1}),e.addeventlistener(i.touchstart,me),e.addeventlistener(i.touchmove,ke,{passive:!1})}}()):(oe(!1),function(){if(o||r){e.autoscrolling&&(l.removeeventlistener(i.touchmove,ke,{passive:!1}),l.removeeventlistener(i.touchmove,te,{passive:!1}));var e=e.touchwrapper;e.removeeventlistener(i.touchstart,me),e.removeeventlistener(i.touchmove,ke,{passive:!1})}}())}function le(t,e){void 0!==e?(e=e.replace(/ /g,"").split(",")).foreach(function(e){ot(t,e,"k")}):(ot(t,"all","k"),e.keyboardscrolling=t)}function ae(){var e=kn(yn(qt)[0],qt);e||!e.looptop&&!e.continuousvertical||(e=hn(yn(qt))),null!=e&&re(e,null,!0)}function se(){var e=on(yn(qt)[0],qt);e||!e.loopbottom&&!e.continuousvertical||(e=yn(qt)[0]),null!=e&&re(e,null,!1)}function ce(e,t){te(0,"internal"),ue(e,t),te(d.scrollingspeed,"internal")}function ue(e,t){var n=mt(e);void 0!==t?st(e,t):null!=n&&re(n)}function fe(e){ie("right",e)}function de(e){ie("left",e)}function ve(e){if(!ln(d,yt)){t=!0,a=xn(),s=an();for(var t=yn(qt),n=0;n'),gn('
')],yn(yn(cn,l)[0],a),"#fff"!==e.controlarrowcolor&&(tn(yn(bn,l),{"border-color":"transparent transparent transparent "+e.controlarrowcolor}),tn(yn(sn,l),{"border-color":"transparent "+e.controlarrowcolor+" transparent transparent"})),e.loophorizontal||bn(yn(sn,l))),e.slidesnavigation&&function(e,t){jn(gn('
    '),e);var n=yn(pn,e)[0];nn(n,"fp-"+e.slidesnavposition);for(var o=0;o'+ye(o,"slide",r)+""),yn("ul",n)[0])}tn(n,{"margin-left":"-"+n.innerwidth/2+"px"}),nn(yn("a",yn("li",n)[0]),xt)}(e,n)),t.foreach(function(e){tn(e,{width:r+"%"}),e.verticalcentered&&pt(e)});var c=yn(an,e)[0];null!=c&&(0!==in(yn(qt),qt)||0===in(yn(qt),qt)&&0!==in(c))?at(c,"internal"):nn(t[0],xt)}function ye(e,t,n){var o="section"===t?e.anchors[e]:n.getattribute("data-anchor");return e.navigationtooltips[e]||o||t+" "+(e+1)}function ee(){var e,t,n=yn(qt)[0];nn(n,_t),ye(n),we(),ue(n),e.scrolloverflow&&e.scrolloverflowhandler.afterload(),e=qe(),t=mt(e.section),e.section&&t&&(void 0===t||in(t)!==in(f))||!_n(e.afterload)||ne("afterload",{activesection:n,element:n,direction:null,anchorlink:n.getattribute("data-anchor"),sectionindex:in(n,qt)}),_n(e.afterrender)&&ne("afterrender")}function le(){var e,t,n,o,r,i;if(!t&&(!e.autoscrolling||e.scrollbar)){var l=un(),a=(i=u<(r=l)?"down":"up",q=u=r,i),s=0,c=l+xn()/2,u=l.offsetheight-xn()===l,f=yn(qt);if(u)s=f.length-1;else if(l)for(var d=0;d=un()+xn())&&(ln(yn(qt)[0],_t)||(nn(yn(qt)[0],_t),zn(xn(yn(qt)[0]),_t))),!ln(e=f[s],xt)){f=!0;var v,p,h=yn(qt)[0],g=in(h,qt)+1,m=vt(e),s=e.getattribute("data-anchor"),b=in(e,qt)+1,w=yn(an,e)[0],y={activesection:h,sectionindex:b-1,anchorlink:s,element:e,leavingsection:g,direction:m};w&&(p=w.getattribute("data-anchor"),v=in(w)),k&&(nn(e,xt),zn(xn(e),xt),_n(e.onleave)&&ne("onleave",y),_n(e.afterload)&&ne("afterload",y),ke(h),ye(e),ue(e),dt(s,b-1),e.anchors.length&&(x=s),wt(v,p,s)),cleartimeout(o),o=settimeout(function(){f=!1},100)}e.fittosection&&(cleartimeout(m),m=settimeout(function(){e.fittosection&&yn(qt)[0].offsetheight<=a&&xe()},e.fittosectiondelay))}}function xe(){k&&(t=!0,re(yn(qt)[0]),t=!1)}function ae(e){if(p.m[e]){var t="down"===e?se:ae;if(e.scrolloverflow){var n=e.scrolloverflowhandler.scrollable(yn(qt)[0]),o="down"===e?"bottom":"top";if(null!=n){if(!e.scrolloverflowhandler.isscrolled(o,n))return!0;t()}else t()}else t()}}function te(e){e.autoscrolling&&oe(e)&&p.m.up&&kn(e)}function ke(e){var t=wn(e.target,qt)||yn(qt)[0];if(oe(e)){e.autoscrolling&&kn(e);var n=xt(e);_=n.y,$=n.x,yn(cn,t).length&&math.abs(k-$)>math.abs(x-_)?!a&&math.abs(k-$)>an()/100*e.touchsensitivity&&($zt.innerheight/100*e.touchsensitivity&&(_g&&p.m.down&&se()),g=e.pagey)}function it(e,t,n){var o,r,i=wn(e,qt),l={slides:e,destiny:t,direction:n,destinypos:{left:t.offsetleft},slideindex:in(t),section:i,sectionindex:in(i,qt),anchorlink:i.getattribute("data-anchor"),slidesnav:yn(pn,i)[0],slideanchor:et(t),prevslide:yn(an,i)[0],prevslideindex:in(yn(an,i)[0]),localisresizing:t};l.xmovement=(o=l.prevslideindex,r=l.slideindex,o==r?"none":r20*math.max(j,t)/100&&(ve(!0),j=t)}}else be();t=!1}function ct(){var e=e.responsive||e.responsivewidth,t=e.responsiveheight,n=e&&zt.innerwidth