/*! * fullPage 3.0.5 * 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(Lt,xt){"use strict";var At="fullpage-wrapper",Tt="."+At,kt="fp-responsive",Mt="fp-notransition",Ot="fp-destroyed",Ct="fp-enabled",Ht="fp-viewing",It="active",Bt="."+It,Rt="fp-completely",zt="fp-section",jt="."+zt,Nt=jt+Bt,Pt="fp-tableCell",Dt="."+Pt,Vt="fp-auto-height",Wt="fp-normal-scroll",Yt="fp-nav",Ft="#"+Yt,Ut="fp-tooltip",Xt="fp-slide",_t="."+Xt,Kt=_t+Bt,$t="fp-slides",qt="."+$t,Qt="fp-slidesContainer",Gt="."+Qt,Jt="fp-table",Zt="fp-slidesNav",en="."+Zt,tn=en+" a",e="fp-controlArrow",nn="."+e,on="fp-prev",rn=nn+".fp-prev",ln=nn+".fp-next";function an(e,t){Lt.console&&Lt.console[e]&&Lt.console[e]("fullPage: "+t)}function sn(e,t){return(t=1'+de(r,"Section")+"";var l=E.navigationTooltips[r];void 0!==l&&""!==l&&(o+='
'+l+"
"),o+=""}sn("ul",n)[0].innerHTML=o,dn(sn(Ft),{"margin-top":"-"+sn(Ft)[0].offsetHeight/2+"px"}),yn(sn("a",sn("li",sn(Ft)[0])[Sn(sn(Nt)[0],jt)]),It)}(),sn('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))}(),G(!0),J(!0),_(E.autoScrolling,"internal"),Qe(),ut(),"complete"===xt.readyState&&Ne(),Lt.addEventListener("load",Ne),E.scrollOverflow||ve(),Lt.addEventListener("scroll",pe),Lt.addEventListener("hashchange",Pe),Lt.addEventListener("blur",Xe),Lt.addEventListener("resize",qe),xt.addEventListener("keydown",Ve),xt.addEventListener("keyup",We),["click","touchstart"].forEach(function(e){xt.addEventListener(e,se)}),E.normalScrollElements&&(["mouseenter","touchstart"].forEach(function(e){ce(e,!1)}),["mouseleave","touchend"].forEach(function(e){ce(e,!0)})));var j=!1,N=0,P=0,D=0,V=0,W=0,Y=(new Date).getTime(),F=0,U=0,X=A;return h}function _(e,t){e||vt(0),gt("autoScrolling",e,t);var n=sn(Nt)[0];if(E.autoScrolling&&!E.scrollBar)dn(r,{overflow:"hidden",height:"100%"}),K(B.recordHistory,"internal"),dn(f,{"-ms-touch-action":"none","touch-action":"none"}),null!=n&&vt(n.offsetTop);else if(dn(r,{overflow:"visible",height:"initial"}),K(!!E.autoScrolling&&B.recordHistory,"internal"),dn(f,{"-ms-touch-action":"","touch-action":""}),null!=n){var o=Oe(n.offsetTop);o.element.scrollTo(0,o.options)}}function K(e,t){gt("recordHistory",e,t)}function $(e,t){gt("scrollingSpeed",e,t)}function q(e,t){gt("fitToSection",e,t)}function Q(e){e?(function(){var e,t="";Lt.addEventListener?e="addEventListener":(e="attachEvent",t="on");var n="onwheel"in xt.createElement("div")?"wheel":void 0!==xt.onmousewheel?"mousewheel":"DOMMouseScroll",o=!!C&&{passive:!1};"DOMMouseScroll"==n?xt[e](t+"MozMousePixelScroll",Ee,o):xt[e](t+n,Ee,o)}(),f.addEventListener("mousedown",Ye),f.addEventListener("mouseup",Fe)):(xt.addEventListener?(xt.removeEventListener("mousewheel",Ee,!1),xt.removeEventListener("wheel",Ee,!1),xt.removeEventListener("MozMousePixelScroll",Ee,!1)):xt.detachEvent("onmousewheel",Ee),f.removeEventListener("mousedown",Ye),f.removeEventListener("mouseup",Fe))}function G(t,e){void 0!==e?(e=e.replace(/ /g,"").split(",")).forEach(function(e){ht(t,e,"m")}):ht(t,"all","m")}function J(e){e?(Q(!0),function(){if(o||l){E.autoScrolling&&(L.removeEventListener(y.touchmove,me,{passive:!1}),L.addEventListener(y.touchmove,me,{passive:!1}));var e=E.touchWrapper;e.removeEventListener(y.touchstart,we),e.removeEventListener(y.touchmove,Se,{passive:!1}),e.addEventListener(y.touchstart,we),e.addEventListener(y.touchmove,Se,{passive:!1})}}()):(Q(!1),function(){if(o||l){E.autoScrolling&&(L.removeEventListener(y.touchmove,Se,{passive:!1}),L.removeEventListener(y.touchmove,me,{passive:!1}));var e=E.touchWrapper;e.removeEventListener(y.touchstart,we),e.removeEventListener(y.touchmove,Se,{passive:!1})}}())}function Z(t,e){void 0!==e?(e=e.replace(/ /g,"").split(",")).forEach(function(e){ht(t,e,"k")}):(ht(t,"all","k"),E.keyboardScrolling=t)}function ee(){var e=vn(sn(Nt)[0],jt);e||!E.loopTop&&!E.continuousVertical||(e=mn(sn(jt))),null!=e&&Ae(e,null,!0)}function te(){var e=pn(sn(Nt)[0],jt);e||!E.loopBottom&&!E.continuousVertical||(e=sn(jt)[0]),null!=e&&Ae(e,null,!1)}function ne(e,t){$(0,"internal"),oe(e,t),$(B.scrollingSpeed,"internal")}function oe(e,t){var n=rt(e);void 0!==t?it(e,t):null!=n&&Ae(n)}function re(e){Le("right",e)}function ie(e){Le("left",e)}function le(e){if(!un(f,Ot)){g=!0,A=fn();for(var t=sn(jt),n=0;n'),Nn('
')],Mn(sn(qt,l)[0],a),"#fff"!==E.controlArrowColor&&(dn(sn(ln,l),{"border-color":"transparent transparent transparent "+E.controlArrowColor}),dn(sn(rn,l),{"border-color":"transparent "+E.controlArrowColor+" transparent transparent"})),E.loopHorizontal||bn(sn(rn,l))),E.slidesNavigation&&function(e,t){Ln(Nn('
    '),e);var n=sn(en,e)[0];yn(n,"fp-"+E.slidesNavPosition);for(var o=0;o'+de(o,"Slide")+""),sn("ul",n)[0]);dn(n,{"margin-left":"-"+n.innerWidth/2+"px"}),yn(sn("a",sn("li",n)[0]),It)}(e,n)),t.forEach(function(e){dn(e,{width:r+"%"}),E.verticalCentered&&tt(e)});var c=sn(Kt,e)[0];null!=c&&(0!==Sn(sn(Nt),jt)||0===Sn(sn(Nt),jt)&&0!==Sn(c))?dt(c,"internal"):yn(t[0],It)}function de(e,t){return E.navigationTooltips[e]||E.anchors[e]||t+" "+(e+1)}function ve(){var e,t=sn(Nt)[0];yn(t,Rt),Ie(t),Be(t),E.scrollOverflow&&E.scrollOverflowHandler.afterLoad(),(!(e=rt(De().section))||void 0!==e&&Sn(e)===Sn(u))&&Bn(E.afterLoad)&&Te("afterLoad",{activeSection:null,element:t,direction:null,anchorLink:t.getAttribute("data-anchor"),sectionIndex:Sn(t,jt)}),Bn(E.afterRender)&&Te("afterRender")}function pe(){var e,t,n,o,r,i;if(!E.autoScrolling||E.scrollBar){var l=Cn(),a=(i=N<(r=l)?"down":"up",F=N=r,i),s=0,c=l+fn()/2,u=L.offsetHeight-fn()===l,f=sn(jt);if(u)s=f.length-1;else if(l)for(var d=0;d=Cn()+fn())&&(un(sn(Nt)[0],Rt)||(yn(sn(Nt)[0],Rt),En(Hn(sn(Nt)[0]),Rt))),!un(e=f[s],It)){j=!0;var v,p,h=sn(Nt)[0],g=Sn(h,jt)+1,m=et(e),S=e.getAttribute("data-anchor"),b=Sn(e,jt)+1,w=sn(Kt,e)[0],y={activeSection:h,sectionIndex:b-1,anchorLink:S,element:e,leavingSection:g,direction:m};w&&(p=w.getAttribute("data-anchor"),v=Sn(w)),T&&(yn(e,It),En(Hn(e),It),Bn(E.onLeave)&&Te("onLeave",y),Bn(E.afterLoad)&&Te("afterLoad",y),ze(h),Ie(e),Be(e),Ze(S,b-1),E.anchors.length&&(x=S),at(v,p,S)),clearTimeout(k),k=setTimeout(function(){j=!1},100)}E.fitToSection&&(clearTimeout(M),M=setTimeout(function(){E.fitToSection&&sn(Nt)[0].offsetHeight<=A&&he()},E.fitToSectionDelay))}}function he(){T&&(g=!0,Ae(sn(Nt)[0]),g=!1)}function ge(e){if(v.m[e]){var t="down"===e?te:ee;if(E.scrollOverflow){var n=E.scrollOverflowHandler.scrollable(sn(Nt)[0]),o="down"===e?"bottom":"top";if(null!=n){if(!E.scrollOverflowHandler.isScrolled(o,n))return!0;t()}else t()}else t()}}function me(e){E.autoScrolling&&be(e)&&v.m.up&&In(e)}function Se(e){var t=kn(e.target,jt)||sn(Nt)[0];if(be(e)){E.autoScrolling&&In(e);var n=ft(e);V=n.y,W=n.x,sn(qt,t).length&&Math.abs(D-W)>Math.abs(P-V)?!a&&Math.abs(D-W)>Lt.innerWidth/100*E.touchSensitivity&&(WLt.innerHeight/100*E.touchSensitivity&&(VU&&v.m.down&&te()),U=e.pageY}function Ke(e,t,n){var o,r,i=kn(e,jt),l={slides:e,destiny:t,direction:n,destinyPos:{left:t.offsetLeft},slideIndex:Sn(t),section:i,sectionIndex:Sn(i,jt),anchorLink:i.getAttribute("data-anchor"),slidesNav:sn(en,i)[0],slideAnchor:ct(t),prevSlide:sn(Kt,i)[0],prevSlideIndex:Sn(sn(Kt,i)[0]),localIsResizing:g};l.xMovement=(o=l.prevSlideIndex,r=l.slideIndex,o==r?"none":r20*Math.max(X,t)/100&&(s=setTimeout(function(){le(!0),X=t},navigator.userAgent.match("CriOS")?50:0))}}else clearTimeout(s),s=setTimeout(function(){le(!0)},350)}function Qe(){var e=E.responsive||E.responsiveWidth,t=E.responsiveHeight,n=e&&Lt.innerWidth