/*! * 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