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