/*! * fullPage 2.9.7 - Extensions 0.1.5 * https://github.com/alvarotrigo/fullPage.js * @license http://alvarotrigo.com/fullPage/extensions/#license * * Copyright (C) 2015 alvarotrigo.com - A project by Alvaro Trigo */ !function(e,n){"use strict";"function"==typeof define&&define.amd?define(["jquery"],function(t){return n(t,e,e.document,e.Math)}):"object"==typeof exports&&exports?module.exports=n(require("jquery"),e,e.document,e.Math):n(jQuery,e,e.document,e.Math)}("undefined"!=typeof window?window:this,function(e,n,t,o,i){"use strict";var a="fullpage-wrapper",r="."+a,l="fp-responsive",s="fp-notransition",c="fp-destroyed",d="fp-enabled",f="fp-viewing",u="active",v="."+u,h="fp-completely",p="."+h,g="fp-section",m="."+g,S=m+v,w=m+":first",b=m+":last",x="fp-tableCell",y="."+x,C="fp-auto-height",T="fp-normal-scroll",A="fp-nav",M="#"+A,k="fp-tooltip",O="."+k,R="fp-show-active",z="fp-slide",I="."+z,L=I+v,H="fp-slides",E="."+H,B="fp-slidesContainer",D="."+B,P="fp-table",Y="fp-initial",F="fp-slidesNav",W="."+F,X=W+" a",V="fp-controlArrow",Z="."+V,N="fp-prev",j=V+" "+N,q=Z+("."+N),G="fp-next",U=V+" "+G,Q=Z+".fp-next",J=e(n),K=e(t);e.fn.fullpage=function(V){if(e("html").hasClass(d))kt();else{var G=e("html, body"),_=e("body"),$=e.fn.fullpage;V=e.extend(!0,{menu:!1,anchors:[],lockAnchors:!1,navigation:!1,navigationPosition:"right",navigationTooltips:[],showActiveTooltip:!1,slidesNavigation:!1,slidesNavPosition:"bottom",scrollBar:!1,hybrid:!1,css3:!0,scrollingSpeed:700,autoScrolling:!0,fitToSection:!0,fitToSectionDelay:1e3,easing:"easeInOutCubic",easingcss3:"ease",loopBottom:!1,loopTop:!1,loopHorizontal:!0,continuousVertical:!1,continuousHorizontal:!1,scrollHorizontally:!1,interlockedSlides:!1,dragAndMove:!1,offsetSections:!1,resetSliders:!1,fadingEffect:!1,normalScrollElements:null,scrollOverflow:!1,scrollOverflowReset:!1,scrollOverflowHandler:e.fn.fp_scrolloverflow?e.fn.fp_scrolloverflow.iscrollHandler:null,scrollOverflowOptions:null,touchSensitivity:5,normalScrollElementTouchThreshold:5,bigSectionsDestination:null,keyboardScrolling:!0,animateAnchor:!0,recordHistory:!0,controlArrows:!0,controlArrowColor:"#fff",verticalCentered:!0,sectionsColor:[],paddingTop:0,paddingBottom:0,fixedElements:null,responsive:0,responsiveWidth:0,responsiveHeight:0,responsiveSlides:!1,parallax:!1,parallaxOptions:{type:"reveal",percentage:62,property:"translate"},sectionSelector:".section",slideSelector:".slide",afterLoad:null,onLeave:null,afterRender:null,afterResize:null,afterReBuild:null,afterSlideLoad:null,onSlideLeave:null,afterResponsive:null,lazyLoading:!0},V);var ee,ne,te,oe,ie=!1,ae=navigator.userAgent.match(/(iPhone|iPod|iPad|Android|playbook|silk|BlackBerry|BB10|Windows Phone|Tizen|Bada|webOS|IEMobile|Opera Mini)/),re="ontouchstart"in n||navigator.msMaxTouchPoints>0||navigator.maxTouchPoints,le=e(this),se=J.height(),ce=!1,de=!0,fe=!0,ue=[],ve={m:{up:!0,down:!0,left:!0,right:!0}};ve.k=e.extend(!0,{},ve.m);var he,pe,ge,me,Se,we,be,xe,ye=pt(),Ce={touchmove:"ontouchmove"in n?"touchmove":ye.move,touchstart:"ontouchstart"in n?"touchstart":ye.down},Te=!1,Ae='a[href], area[href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), iframe, object, embed, [tabindex="0"], [contenteditable]',Me=e.extend(!0,{},V),ke={};kt(),e.extend(e.easing,{easeInOutCubic:function(e,n,t,o,i){return(n/=i/2)<1?o/2*n*n*n+t:o/2*((n-=2)*n*n+2)+t}}),e.event.special.destroyed={remove:function(e){e.handler&&e.handler()}},e(this).length&&($.version="2.9.7",$.setAutoScrolling=Ze,$.setRecordHistory=Ne,$.setScrollingSpeed=je,$.setFitToSection=qe,$.setLockAnchors=function(e){V.lockAnchors=e},$.setMouseWheelScrolling=Ge,$.setAllowScrolling=Ue,$.setKeyboardScrolling=Qe,$.moveSectionUp=Je,$.moveSectionDown=Ke,$.silentMoveTo=_e,$.moveTo=$e,$.moveSlideRight=en,$.moveSlideLeft=nn,$.fitToSection=fn,$.reBuild=tn,$.setResponsive=on,$.getFullpageData=function(){return{options:V,internals:{canScroll:fe,isScrollAllowed:ve,getDestinationPosition:xn,isTouch:re,c:Ln,getXmovement:it,removeAnimation:nt,getTransforms:wt,lazyLoad:An,addAnimation:et,performHorizontalMove:Kn,landscapeScroll:Un,silentLandscapeScroll:mt,keepSlidesPosition:bn,silentScroll:St,styleSlides:rn,scrollHandler:cn,getEventsPage:gt,getMSPointer:pt,isReallyTouch:pn,usingExtension:yt,toggleControlArrows:Qn}}},$.destroy=function(n){le.trigger("destroy",[n]),Ze(!1,"internal"),Ue(!1),Qe(!1),le.addClass(c),clearTimeout(me),clearTimeout(ge),clearTimeout(pe),clearTimeout(Se),clearTimeout(we),J.off("scroll",cn).off("hashchange",Dn).off("resize",_n),K.off("keydown",Yn).off("keyup",Wn).off("click touchstart",M+" a").off("mouseenter",M+" li").off("mouseleave",M+" li").off("click touchstart",X).off("mouseover",V.normalScrollElements).off("mouseout",V.normalScrollElements),e(m).off("click touchstart",Z),yt("dragAndMove")&&$.dragAndMove.destroy();clearTimeout(me),clearTimeout(ge),n&&function(){St(0),le.find("img[data-src], source[data-src], audio[data-src], iframe[data-src]").each(function(){Tn(e(this),"src")}),le.find("img[data-srcset]").each(function(){Tn(e(this),"srcset")}),e(M+", "+W+", "+Z).remove(),e(m).css({height:"","background-color":"",padding:""}),e(I).css({width:""}),le.css({height:"",position:"","-ms-touch-action":"","touch-action":""}),G.css({overflow:"",height:""}),e("html").removeClass(d),_.removeClass(l),e.each(_.get(0).className.split(/\s+/),function(e,n){0===n.indexOf(f)&&_.removeClass(n)}),e(m+", "+I).each(function(){V.scrollOverflowHandler&&V.scrollOverflowHandler.remove(e(this)),e(this).removeClass(P+" "+u),e(this).attr("style",e(this).data("fp-styles"))}),xt(le),le.find(y+", "+D+", "+E).each(function(){e(this).replaceWith(this.childNodes)}),G.scrollTop(0);var n=[g,z,B];e.each(n,function(n,t){e("."+t).removeClass(t)})}()},$.landscapeScroll=Un,$.shared={afterRenderActions:sn},an("continuousHorizontal"),an("scrollHorizontally"),an("resetSliders"),an("interlockedSlides"),an("responsiveSlides"),an("fadingEffect"),an("dragAndMove"),an("offsetSections"),an("scrollOverflowReset"),an("parallax"),yt("dragAndMove")&&$.dragAndMove.init(),function(){V.css3&&(V.css3=function(){var e,o=t.createElement("p"),a={webkitTransform:"-webkit-transform",OTransform:"-o-transform",msTransform:"-ms-transform",MozTransform:"-moz-transform",transform:"transform"};for(var r in t.body.insertBefore(o,null),a)o.style[r]!==i&&(o.style[r]="translate3d(1px,1px,1px)",e=n.getComputedStyle(o).getPropertyValue(a[r]));return t.body.removeChild(o),e!==i&&e.length>0&&"none"!==e}());V.scrollBar=V.scrollBar||V.hybrid,o=le.find(V.sectionSelector),V.anchors.length||(V.anchors=o.filter("[data-anchor]").map(function(){return e(this).data("anchor").toString()}).get()),V.navigationTooltips.length||(V.navigationTooltips=o.filter("[data-tooltip]").map(function(){return e(this).data("tooltip").toString()}).get()),le.css({height:"100%",position:"relative"}),le.addClass(a),e("html").addClass(d),se=J.height(),le.removeClass(c),le.find(V.sectionSelector).addClass(g),le.find(V.slideSelector).addClass(z),Ct("parallax","init"),e(m).each(function(n){var t,o,i,a,l=e(this),s=l.find(I),c=s.length;l.data("fp-styles",l.attr("style")),i=l,(a=n)||0!==e(S).length||i.addClass(u),oe=e(S),i.css("height",ln(i)+"px"),V.paddingTop&&i.css("padding-top",V.paddingTop),V.paddingBottom&&i.css("padding-bottom",V.paddingBottom),void 0!==V.sectionsColor[a]&&i.css("background-color",V.sectionsColor[a]),void 0!==V.anchors[a]&&i.attr("data-anchor",V.anchors[a]),t=l,o=n,void 0!==V.anchors[o]&&t.hasClass(u)&&tt(V.anchors[o],o),V.menu&&V.css3&&e(V.menu).closest(r).length&&e(V.menu).appendTo(_),c>0?rn(l,s,c):V.verticalCentered&&at(l)}),V.fixedElements&&V.css3&&e(V.fixedElements).appendTo(_),V.navigation&&function(){_.append('
');var n=e(M);n.addClass(function(){return V.showActiveTooltip?R+" "+V.navigationPosition:V.navigationPosition});for(var t=0;t',a=V.navigationTooltips[t];void 0!==a&&""!==a&&(i+='
'+a+"
"),i+="",n.find("ul").append(i)}e(M).css("margin-top","-"+e(M).height()/2+"px"),e(M).find("li").eq(e(S).index(m)).find("a").addClass(u)}(),le.find('iframe[src*="youtube.com/embed/"]').each(function(){var n,t,o;n=e(this),t="enablejsapi=1",o=n.attr("src"),n.attr("src",o+(/\?/.test(o)?"&":"?")+t)}),V.fadingEffect&&$.fadingEffect&&$.fadingEffect.apply(),V.scrollOverflow?he=V.scrollOverflowHandler.init(V):sn(),Ue(!0),Ze(V.autoScrolling,"internal"),$n(),ht(),"complete"===t.readyState&&Bn();var o;J.on("load",Bn)}(),J.on("scroll",cn).on("hashchange",Dn).blur(Nn).resize(_n),K.keydown(Yn).keyup(Wn).on("click touchstart",M+" a",jn).on("click touchstart",X,qn).on("click",O,Fn),e(m).on("click touchstart",Z,Zn),V.normalScrollElements&&(K.on("mouseenter touchstart",V.normalScrollElements,function(){Ue(!1)}),K.on("mouseleave touchend",V.normalScrollElements,function(){Ue(!0)})),yt("dragAndMove")&&$.dragAndMove.turnOffTouch());var Oe,Re=!1,ze=0,Ie=0,Le=0,He=0,Ee=0;Oe=n.requestAnimationFrame||n.mozRequestAnimationFrame||n.webkitRequestAnimationFrame||n.msRequestAnimationFrame,n.requestAnimationFrame=Oe;var Be,De,Pe,Ye=(new Date).getTime(),Fe=!1,We=0,Xe=0,Ve=se}function Ze(n,t){n||St(0),Mt("autoScrolling",n,t);var o=e(S);V.autoScrolling&&!V.scrollBar?(G.css({overflow:"hidden",height:"100%"}),Ne(Me.recordHistory,"internal"),le.css({"-ms-touch-action":"none","touch-action":"none"}),o.length&&St(o.position().top)):(G.css({overflow:"visible",height:"initial"}),Ne(!1,"internal"),le.css({"-ms-touch-action":"","touch-action":""}),xt(le),o.length&&G.scrollTop(o.position().top)),le.trigger("setAutoScrolling",[n])}function Ne(e,n){Mt("recordHistory",e,n)}function je(e,n){"internal"!==n&&V.fadingEffect&&$.fadingEffect&&$.fadingEffect.update(e),Mt("scrollingSpeed",e,n)}function qe(e,n){Mt("fitToSection",e,n)}function Ge(e){e?(!function(){var e,o="";n.addEventListener?e="addEventListener":(e="attachEvent",o="on");var a="onwheel"in t.createElement("div")?"wheel":t.onmousewheel!==i?"mousewheel":"DOMMouseScroll";"DOMMouseScroll"==a?t[e](o+"MozMousePixelScroll",Sn,!1):t[e](o+a,Sn,!1)}(),le.on("mousedown",Xn).on("mouseup",Vn)):(t.addEventListener?(t.removeEventListener("mousewheel",Sn,!1),t.removeEventListener("wheel",Sn,!1),t.removeEventListener("MozMousePixelScroll",Sn,!1)):t.detachEvent("onmousewheel",Sn),le.off("mousedown",Xn).off("mouseup",Vn))}function Ue(n,t){void 0!==t?(t=t.replace(/ /g,"").split(","),e.each(t,function(e,t){bt(n,t,"m")})):(bt(n,"all","m"),n?(Ge(!0),(ae||re)&&(V.autoScrolling&&_.off(Ce.touchmove).on(Ce.touchmove,vn),e(r).off(Ce.touchstart).on(Ce.touchstart,gn).off(Ce.touchmove).on(Ce.touchmove,hn))):(Ge(!1),(ae||re)&&(V.autoScrolling&&_.off(Ce.touchmove),e(r).off(Ce.touchstart).off(Ce.touchmove))))}function Qe(n,t){void 0!==t?(t=t.replace(/ /g,"").split(","),e.each(t,function(e,t){bt(n,t,"k")})):(bt(n,"all","k"),V.keyboardScrolling=n)}function Je(){var n=e(S).prev(m);n.length||!V.loopTop&&!V.continuousVertical||(n=e(m).last()),n.length&&yn(n,null,!0)}function Ke(){var n=e(S).next(m);n.length||!V.loopBottom&&!V.continuousVertical||(n=e(m).first()),n.length&&yn(n,null,!1)}function _e(e,n){je(0,"internal"),$e(e,n),je(Me.scrollingSpeed,"internal")}function $e(e,n){var t=st(e);void 0!==n?ct(e,n):t.length>0&&yn(t)}function en(e){wn("right",e)}function nn(e){wn("left",e)}function tn(n){if(!le.hasClass(c)){ce=!0,se=J.height(),e(m).each(function(){var n=e(this).find(E),t=e(this).find(I);V.verticalCentered&&e(this).find(y).css("height",rt(e(this))+"px"),e(this).css("height",ln(e(this))+"px"),t.length>1&&Un(n,n.find(L))}),V.scrollOverflow&&he.createScrollBarForAll();var t=e(S).index(m);t&&!yt("fadingEffect")&&_e(t+1),ce=!1,e.isFunction(V.afterResize)&&n&&V.afterResize.call(le),e.isFunction(V.afterReBuild)&&!n&&V.afterReBuild.call(le),le.trigger("afterRebuild")}}function on(n){var t=_.hasClass(l);n?t||(Ze(!1,"internal"),qe(!1,"internal"),e(M).hide(),_.addClass(l),e.isFunction(V.afterResponsive)&&V.afterResponsive.call(le,n),V.responsiveSlides&&$.responsiveSlides&&$.responsiveSlides.toSections(),le.trigger("afterResponsive",[n])):t&&(Ze(Me.autoScrolling,"internal"),qe(Me.autoScrolling,"internal"),e(M).show(),_.removeClass(l),e.isFunction(V.afterResponsive)&&V.afterResponsive.call(le,n),V.responsiveSlides&&$.responsiveSlides&&$.responsiveSlides.toSlides(),le.trigger("afterResponsive",[n]))}function an(e){var t="fp_"+e+"Extension";ke[e]=V[e+"Key"],$[e]=void 0!==n[t]?new n[t]:null,$[e]&&$[e].c(e)}function rn(n,t,o){var i=100*o,a=100/o;t.wrapAll('
'),t.parent().wrap('
'),n.find(D).css("width",i+"%"),o>1&&(V.controlArrows&&function(e){e.find(E).after('
'),"#fff"!=V.controlArrowColor&&(e.find(Q).css("border-color","transparent transparent transparent "+V.controlArrowColor),e.find(q).css("border-color","transparent "+V.controlArrowColor+" transparent transparent"));V.loopHorizontal||e.find(q).hide()}(n),V.slidesNavigation&&function(e,n){e.append('
    ');var t=e.find(W);t.addClass(V.slidesNavPosition);for(var o=0;o');t.css("margin-left","-"+t.width()/2+"px"),t.find("li").first().find("a").addClass(u)}(n,o)),t.each(function(n){e(this).css("width",a+"%"),V.verticalCentered&&at(e(this))});var r=n.find(L);r.length&&(0!==e(S).index(m)||0===e(S).index(m)&&0!==r.index())?(mt(r,"internal"),r.addClass(Y)):t.eq(0).addClass(u)}function ln(e){return V.offsetSections&&$.offsetSections?o.round($.offsetSections.getWindowHeight(e)):se}function sn(){var n,t=e(S);t.addClass(h),An(t),Mn(t),V.scrollOverflow&&V.scrollOverflowHandler.afterLoad(),(!(n=st(Pn().section))||n.length&&n.index()===oe.index())&&e.isFunction(V.afterLoad)&&V.afterLoad.call(t,t.data("anchor"),t.index(m)+1),e.isFunction(V.afterRender)&&V.afterRender.call(le),le.trigger("afterRender")}function cn(){Fe||(requestAnimationFrame(dn),Fe=!0)}function dn(){var n,i,a;if(le.trigger("onScroll"),(!V.autoScrolling||V.scrollBar||yt("dragAndMove"))&&!At()){var r=yt("dragAndMove")?o.abs($.dragAndMove.getCurrentScroll()):J.scrollTop(),l=(a=(i=r)>ze?"down":"up",ze=i,We=i,0),s=r+J.height()/2,c=(yt("dragAndMove")?$.dragAndMove.getDocumentHeight():_.height()-J.height())===r,d=t.querySelectorAll(m);if(c)l=d.length-1;else if(r)for(var f=0;f0){if(!V.scrollOverflowHandler.isScrolled(i,o))return!0;t()}else t()}else t()}}function vn(e){var n=e.originalEvent;V.autoScrolling&&pn(n)&&e.preventDefault()}function hn(n){var t=n.originalEvent,i=e(t.target).closest(m);if(pn(t)){V.autoScrolling&&n.preventDefault();var a=gt(t);He=a.y,Ee=a.x,i.find(E).length&&o.abs(Le-Ee)>o.abs(Ie-He)?!ie&&o.abs(Le-Ee)>J.outerWidth()/100*V.touchSensitivity&&(Le>Ee?ve.m.right&&en(i):ve.m.left&&nn(i)):V.autoScrolling&&fe&&o.abs(Ie-He)>J.height()/100*V.touchSensitivity&&(Ie>He?un("down"):He>Ie&&un("up"))}}function pn(e){return void 0===e.pointerType||"mouse"!=e.pointerType}function gn(e){var n=e.originalEvent;if(V.fitToSection&&G.stop(),pn(n)){var t=gt(n);Ie=t.y,Le=t.x}}function mn(e,n){for(var t=0,i=e.slice(o.max(e.length-n,1)),a=0;a149&&ue.shift(),ue.push(o.abs(r)),V.scrollBar&&(t.preventDefault?t.preventDefault():t.returnValue=!1);var d=i-Ye;if(Ye=i,d>200&&(ue=[]),fe&&!Tt())mn(ue,10)>=mn(ue,70)&&c&&un(l<0?"down":"up");return!1}V.fitToSection&&G.stop()}function wn(n,t){var o=(void 0===t?e(S):t).find(E);if(!(!o.length||Tt()||ie||o.find(I).length<2)){var i=o.find(L),a=null;if(!(a="left"===n?i.prev(I):i.next(I)).length){if(!V.loopHorizontal)return;a="left"===n?i.siblings(":last"):i.siblings(":first")}ie=!0,Un(o,a,n)}}function bn(){e(L).each(function(){mt(e(this),"internal")})}function xn(e){var n=e.position(),t=n.top,o=yt("dragAndMove")&&$.dragAndMove.isGrabbing?$.dragAndMove.isScrollingDown():n.top>We,i=t-se+e.outerHeight(),a=V.bigSectionsDestination;return e.outerHeight()>se?(o||a)&&"bottom"!==a||(t=i):(o||ce&&e.is(":last-child"))&&(t=i),V.offsetSections&&$.offsetSections&&(t=$.offsetSections.getSectionPosition(o,t,e)),We=t,t}function yn(n,t,i){if(void 0!==n&&n.length){var a,l,s={element:n,callback:t,isMovementUp:i,dtop:xn(n),yMovement:ot(n),anchorLink:n.data("anchor"),sectionIndex:n.index(m),activeSlide:n.find(L),activeSection:e(S),leavingSection:e(S).index(m)+1,localIsResizing:ce};if(!(s.activeSection.is(n)&&!ce||V.scrollBar&&J.scrollTop()===s.dtop&&!n.hasClass(C))){if(s.activeSlide.length&&(a=s.activeSlide.data("anchor"),l=s.activeSlide.index()),e.isFunction(V.onLeave)&&!s.localIsResizing){var c=s.yMovement;if(void 0!==i&&(c=i?"up":"down"),!1===V.onLeave.call(s.activeSection,s.leavingSection,s.sectionIndex+1,c))return}Ct("parallax","apply",s),V.autoScrolling&&V.continuousVertical&&void 0!==s.isMovementUp&&(!s.isMovementUp&&"up"==s.yMovement||s.isMovementUp&&"down"==s.yMovement)&&(s=function(n){n.isMovementUp?n.activeSection.before(n.activeSection.nextAll(m)):n.activeSection.after(n.activeSection.prevAll(m).get().reverse());return St(e(S).position().top),bn(),n.wrapAroundElements=n.activeSection,n.dtop=n.element.position().top,n.yMovement=ot(n.element),n.leavingSection=n.activeSection.index(m)+1,n.sectionIndex=n.element.index(m),e(r).trigger("onContinuousVertical",[n]),n}(s)),yt("scrollOverflowReset")&&$.scrollOverflowReset.setPrevious(s.activeSection),s.localIsResizing||On(s.activeSection),V.scrollOverflow&&V.scrollOverflowHandler.beforeLeave(),n.addClass(u).siblings().removeClass(u),An(n),V.scrollOverflow&&V.scrollOverflowHandler.onLeave(),fe=!1,ft(l,a,s.anchorLink,s.sectionIndex),function(n){if(V.css3&&V.autoScrolling&&!V.scrollBar){var t="translate3d(0px, -"+o.round(n.dtop)+"px, 0px)";lt(t,!0),V.scrollingSpeed?(clearTimeout(ge),ge=setTimeout(function(){Cn(n)},V.scrollingSpeed)):Cn(n)}else{var i=function(e){var n={};V.autoScrolling&&!V.scrollBar?(n.options={top:-e.dtop},n.element=r):(n.options={scrollTop:e.dtop},n.element="html, body");return n}(n);e(i.element).animate(i.options,V.scrollingSpeed,V.easing).promise().done(function(){V.scrollBar?setTimeout(function(){Cn(n)},30):Cn(n)})}}(s),ee=s.anchorLink,tt(s.anchorLink,function(n){if(n.wrapAroundElements&&n.wrapAroundElements.length)return n.isMovementUp?e(m).length-1:0;return n.sectionIndex}(s))}}}function Cn(n){var t;(t=n).wrapAroundElements&&t.wrapAroundElements.length&&(t.isMovementUp?e(w).before(t.wrapAroundElements):e(b).after(t.wrapAroundElements),St(e(S).position().top),bn(),t.sectionIndex=t.element.index(m),t.leavingSection=t.activeSection.index(m)+1),e.isFunction(V.afterLoad)&&!n.localIsResizing&&V.afterLoad.call(n.element,n.anchorLink,n.sectionIndex+1),V.scrollOverflow&&V.scrollOverflowHandler.afterLoad(),Ct("parallax","afterLoad"),yt("scrollOverflowReset")&&$.scrollOverflowReset.reset(),V.resetSliders&&$.resetSliders&&$.resetSliders.apply(n),n.localIsResizing||Mn(n.element),n.element.addClass(h).siblings().removeClass(h),fe=!0,e.isFunction(n.callback)&&n.callback.call(this)}function Tn(e,n){e.attr(n,e.data(n)).removeAttr("data-"+n)}function An(n){var t;V.lazyLoading&&Rn(n).find("img[data-src], img[data-srcset], source[data-src], source[data-srcset], video[data-src], audio[data-src], iframe[data-src]").each(function(){if(t=e(this),e.each(["src","srcset"],function(e,n){var o=t.attr("data-"+n);void 0!==o&&o&&Tn(t,n)}),t.is("source")){var n=t.closest("video").length?"video":"audio";t.closest(n).get(0).load()}})}function Mn(n){var t=Rn(n);t.find("video, audio").each(function(){var n=e(this).get(0);n.hasAttribute("data-autoplay")&&"function"==typeof n.play&&n.play()}),t.find('iframe[src*="youtube.com/embed/"]').each(function(){var n=e(this).get(0);n.hasAttribute("data-autoplay")&&kn(n),n.onload=function(){n.hasAttribute("data-autoplay")&&kn(n)}})}function kn(e){e.contentWindow.postMessage('{"event":"command","func":"playVideo","args":""}',"*")}function On(n){var t=Rn(n);t.find("video, audio").each(function(){var n=e(this).get(0);n.hasAttribute("data-keepplaying")||"function"!=typeof n.pause||n.pause()}),t.find('iframe[src*="youtube.com/embed/"]').each(function(){var n=e(this).get(0);/youtube\.com\/embed\//.test(e(this).attr("src"))&&!n.hasAttribute("data-keepplaying")&&e(this).get(0).contentWindow.postMessage('{"event":"command","func":"pauseVideo","args":""}',"*")})}function Rn(n){var t=n.find(L);return t.length&&(n=e(t)),n}function zn(e){var n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";function t(e){var t,o,i,a,r,l,s="",c=0;for(e=e.replace(/[^A-Za-z0-9+/=]/g,"");c>4,o=(15&a)<<4|(r=n.indexOf(e.charAt(c++)))>>2,i=(3&r)<<6|(l=n.indexOf(e.charAt(c++))),s+=String.fromCharCode(t),64!=r&&(s+=String.fromCharCode(o)),64!=l&&(s+=String.fromCharCode(i));return s=function(e){var n,t="",o=0,i=0,a=0;for(;o191&&i<224?(a=e.charCodeAt(o+1),t+=String.fromCharCode((31&i)<<6|63&a),o+=2):(a=e.charCodeAt(o+1),n=e.charCodeAt(o+2),t+=String.fromCharCode((15&i)<<12|(63&a)<<6|63&n),o+=3);return t}(s)}function o(e){return e.slice(3).slice(0,-3)}return function(e){var n=e.split("_");if(n.length>1){var i=n[1];return e.replace(o(n[1]),"").split("_")[0]+"_"+t(i.slice(3).slice(0,-3))}return o(e)}(t(e))}function In(e){var n=function(){if(t.domain.length){for(var e=t.domain.replace(/^(www\.)/,"").split(".");e.length>2;)e.shift();return e.join(".").replace(/(^\.*)|(\.*$)/g,"")}return""}(),o=["MTM0bG9jYWxob3N0MjM0","MTM0MC4xMjM0","MTM0anNoZWxsLm5ldDIzNA==","UDdDQU5ZNlNN"],i=zn(o[0]),a=zn(o[1]),r=zn(o[2]),l=zn(o[3]),s=[i,a,r].indexOf(n)<0&&0!==n.length,c=void 0!==ke[e]&&ke[e].length;if(!c&&s)return!1;var d=c?zn(ke[e]):"",f=(d=d.split("_")).length>1&&d[1].indexOf(e,d[1].length-e.length)>-1;return!(d[0].indexOf(n,d[0].length-n.length)<0&&s&&l!=d[0])&&f||!s}function Ln(n){Be=zn("MTIzPGRpdj48YSBocmVmPSJodHRwOi8vYWx2YXJvdHJpZ28uY29tL2Z1bGxQYWdlL2V4dGVuc2lvbnMvIiBzdHlsZT0iY29sb3I6ICNmZmYgIWltcG9ydGFudDsgdGV4dC1kZWNvcmF0aW9uOm5vbmUgIWltcG9ydGFudDsiPlVubGljZW5zZWQgZnVsbFBhZ2UuanMgRXh0ZW5zaW9uPC9hPjwvZGl2PjEyMw=="),De=e("
    ").html(Be).contents(),yt(n)&&$[n]&&(In(n)||(Hn(),setInterval(Hn,2e3)))}function Hn(){Te||(o.random()<.5?_.prepend(De):_.append(De),Te=!0,De.bind("destroyed",function(){clearTimeout(Pe),Pe=setTimeout(En,900)})),e(De).attr("style",zn("MTIzei1pbmRleDo5OTk5OTk5O3Bvc2l0aW9uOmZpeGVkO3RvcDoyMHB4O2JvdHRvbTphdXRvO2xlZnQ6MjBweDtyaWdodDphdXRvO2JhY2tncm91bmQ6cmVkO3BhZGRpbmc6N3B4IDE1cHg7Zm9udC1zaXplOjE0cHg7Zm9udC1mYW1pbHk6YXJpYWw7Y29sb3I6I2ZmZjtkaXNwbGF5OmlubGluZS1ibG9jazt0cmFuc2Zvcm06dHJhbnNsYXRlM2QoMCwwLDApO29wYWNpdHk6MTtoZWlnaHQ6YXV0bzt3aWR0aDphdXRvO3pvb206MTttYXJnaW46YXV0bztib3JkZXI6bm9uZTt2aXNpYmlsaXR5OnZpc2libGU7Y2xpcC1wYXRoOm5vbmU7MTIz").replace(/;/g,zn("MTIzICFpbXBvcnRhbnQ7MzQ1")))}function En(){Te=!1}function Bn(){var e=Pn(),n=e.section,t=e.slide;n&&(V.animateAnchor?ct(n,t):_e(n,t))}function Dn(){if(!Re&&!V.lockAnchors){var e=Pn(),n=e.section,t=e.slide,o=void 0===ee,i=void 0===ee&&void 0===t&&!ie;n&&n.length&&(n&&n!==ee&&!o||i||!ie&&ne!=t)&&ct(n,t)}}function Pn(){var e,t,o=n.location.hash;if(o.length){var i=o.replace("#","").split("/"),a=o.indexOf("#/")>-1;e=a?"/"+i[1]:decodeURIComponent(i[0]);var r=a?i[2]:i[1];r&&r.length&&(t=decodeURIComponent(r))}return{section:e,slide:t}}function Yn(n){clearTimeout(be);var t=e(":focus"),o=n.which;if(9===o)!function(n){var t=n.shiftKey,o=e(":focus"),i=e(S),a=i.find(L),r=(a.length?a:i).find(Ae).not('[tabindex="-1"]');function l(e){return e.preventDefault(),r.first().focus()}o.length?o.closest(S,L).length||(o=l(n)):l(n);(!t&&o.is(r.last())||t&&o.is(r.first()))&&n.preventDefault()}(n);else if(!t.is("textarea")&&!t.is("input")&&!t.is("select")&&"true"!==t.attr("contentEditable")&&""!==t.attr("contentEditable")&&V.keyboardScrolling&&V.autoScrolling){e.inArray(o,[40,38,32,33,34])>-1&&n.preventDefault(),te=n.ctrlKey,be=setTimeout(function(){!function(n){var t=n.shiftKey;if(!fe&&[37,39].indexOf(n.which)<0)return;switch(n.which){case 38:case 33:ve.k.up&&Je();break;case 32:if(t&&ve.k.up){Je();break}case 40:case 34:ve.k.down&&Ke();break;case 36:ve.k.up&&$e(1);break;case 35:ve.k.down&&$e(e(m).length);break;case 37:ve.k.left&&nn();break;case 39:ve.k.right&&en();break;default:;}}(n)},150)}}function Fn(){e(this).prev().trigger("click")}function Wn(e){de&&(te=e.ctrlKey)}function Xn(e){2==e.which&&(Xe=e.pageY,le.on("mousemove",Gn))}function Vn(e){2==e.which&&le.off("mousemove")}function Zn(){var n=e(this).closest(m);e(this).hasClass(N)?ve.m.left&&nn(n):ve.m.right&&en(n)}function Nn(){de=!1,te=!1}function jn(n){n.preventDefault();var t=e(this).parent().index();yn(e(m).eq(t))}function qn(n){n.preventDefault();var t=e(this).closest(m).find(E);Un(t,t.find(I).eq(e(this).closest("li").index()))}function Gn(e){fe&&(e.pageYXe&&ve.m.down&&Ke()),Xe=e.pageY}function Un(n,t,o){var i=n.closest(m),a={slides:n,destiny:t,direction:o,destinyPos:t.position(),slideIndex:t.index(),section:i,sectionIndex:i.index(m),anchorLink:i.data("anchor"),slidesNav:i.find(W),slideAnchor:vt(t),prevSlide:i.find(L),prevSlideIndex:i.find(L).index(),localIsResizing:ce};a.xMovement=it(a.prevSlideIndex,a.slideIndex),a.localIsResizing||(fe=!1),Ct("parallax","applyHorizontal",a),V.onSlideLeave&&!a.localIsResizing&&"none"!==a.xMovement&&e.isFunction(V.onSlideLeave)&&!1===V.onSlideLeave.call(a.prevSlide,a.anchorLink,a.sectionIndex+1,a.prevSlideIndex,a.direction,a.slideIndex)?ie=!1:(t.addClass(u).siblings().removeClass(u),a.localIsResizing||(On(a.prevSlide),An(t)),Qn(a),i.hasClass(u)&&!a.localIsResizing&&ft(a.slideIndex,a.slideAnchor,a.anchorLink,a.sectionIndex),$.continuousHorizontal&&$.continuousHorizontal.apply(a),At()?Jn(a):Kn(n,a,!0),V.interlockedSlides&&$.interlockedSlides&&(yt("continuousHorizontal")&&void 0!==o&&o!==a.xMovement||$.interlockedSlides.apply(a)))}function Qn(e){!V.loopHorizontal&&V.controlArrows&&(e.section.find(q).toggle(0!==e.slideIndex),e.section.find(Q).toggle(!e.destiny.is(":last-child")))}function Jn(n){var t,o;$.continuousHorizontal&&$.continuousHorizontal.afterSlideLoads(n),t=n.slidesNav,o=n.slideIndex,t.find(v).removeClass(u),t.find("li").eq(o).find("a").addClass(u),n.localIsResizing||(Ct("parallax","afterSlideLoads"),e.isFunction(V.afterSlideLoad)&&V.afterSlideLoad.call(n.destiny,n.anchorLink,n.sectionIndex+1,n.slideAnchor,n.slideIndex),fe=!0,Mn(n.destiny)),ie=!1,yt("interlockedSlides")&&$.interlockedSlides.apply(n)}function Kn(e,n,t){var i=n.destinyPos;if(V.css3){var a="translate3d(-"+o.round(i.left)+"px, 0px, 0px)";et(e.find(D)).css(wt(a)),me=setTimeout(function(){t&&Jn(n)},V.scrollingSpeed,V.easing)}else e.animate({scrollLeft:o.round(i.left)},V.scrollingSpeed,V.easing,function(){t&&Jn(n)})}function _n(){if(le.trigger("onResize"),$n(),ae){var n=e(t.activeElement);if(!n.is("textarea")&&!n.is("input")&&!n.is("select")){var i=J.height();o.abs(i-Ve)>20*o.max(Ve,i)/100&&(tn(!0),Ve=i)}}else clearTimeout(pe),pe=setTimeout(function(){tn(!0)},350)}function $n(){var e=V.responsive||V.responsiveWidth,n=V.responsiveHeight,t=e&&J.outerWidth()o?"up":"down"}function it(e,n){return e==n?"none":e>n?"left":"right"}function at(n){if(!n.hasClass(P)){var t=e('
    ').height(rt(n));n.addClass(P).wrapInner(t)}}function rt(e){var n=ln(e);if(V.paddingTop||V.paddingBottom){var t=e;t.hasClass(g)||(t=e.closest(m)),n-=parseInt(t.css("padding-top"))+parseInt(t.css("padding-bottom"))}return n}function lt(e,n){n?et(le):nt(le),clearTimeout(xe),le.css(wt(e)),xe=setTimeout(function(){le.removeClass(s)},10)}function st(n){var t=le.find(m+'[data-anchor="'+n+'"]');if(!t.length){var o=void 0!==n?n-1:0;t=e(m).eq(o)}return t}function ct(e,n){var t=st(e);if(t.length){var o,i,a,r=(o=n,(a=(i=t).find(I+'[data-anchor="'+o+'"]')).length||(o=void 0!==o?o:0,a=i.find(I).eq(o)),a);e===ee||t.hasClass(u)?dt(r):yn(t,function(){dt(r)})}}function dt(e){e.length&&Un(e.closest(E),e)}function ft(e,n,t,o){var i="";V.anchors.length&&!V.lockAnchors&&(e?(void 0!==t&&(i=t),void 0===n&&(n=e),ne=n,ut(i+"/"+n)):void 0!==e?(ne=n,ut(t)):ut(t)),ht()}function ut(e){if(V.recordHistory)location.hash=e;else if(ae||re)n.history.replaceState(i,i,"#"+e);else{var t=n.location.href.split("#")[0];n.location.replace(t+"#"+e)}}function vt(e){var n=e.data("anchor"),t=e.index();return void 0===n&&(n=t),n}function ht(){var n=e(S),t=n.find(L),o=vt(n),i=vt(t),a=String(o);t.length&&(a=a+"-"+i),a=a.replace("/","-").replace("#","");var r=new RegExp("\\b\\s?"+f+"-[^\\s]+\\b","g");_[0].className=_[0].className.replace(r,""),_.addClass(f+"-"+a)}function pt(){return n.PointerEvent?{down:"pointerdown",move:"pointermove"}:{down:"MSPointerDown",move:"MSPointerMove"}}function gt(e){var n=[];return n.y=void 0!==e.pageY&&(e.pageY||e.pageX)?e.pageY:e.touches[0].pageY,n.x=void 0!==e.pageX&&(e.pageY||e.pageX)?e.pageX:e.touches[0].pageX,re&&pn(e)&&V.scrollBar&&void 0!==e.touches&&(n.y=e.touches[0].pageY,n.x=e.touches[0].pageX),n}function mt(e,n){je(0,"internal"),void 0!==n&&(ce=!0),Un(e.closest(E),e),void 0!==n&&(ce=!1),je(Me.scrollingSpeed,"internal")}function St(e){var n=o.round(e);V.css3&&V.autoScrolling&&!V.scrollBar?lt("translate3d(0px, -"+n+"px, 0px)",!1):V.autoScrolling&&!V.scrollBar?le.css("top",-n):G.scrollTop(n)}function wt(e){return{"-webkit-transform":e,"-moz-transform":e,"-ms-transform":e,transform:e}}function bt(n,t,o){"all"!==t?ve[o][t]=n:e.each(Object.keys(ve[o]),function(e,t){ve[o][t]=n})}function xt(e){return e.css({"-webkit-transition":"none",transition:"none"})}function yt(e){return null!==V[e]&&"object"==typeof V[e]?V[e].enabled&&$[e]:V[e]&&$[e]}function Ct(e,n,t){if(yt(e))return $[e][n](t)}function Tt(){return yt("dragAndMove")&&$.dragAndMove.isAnimating}function At(){return yt("dragAndMove")&&$.dragAndMove.isGrabbing}function Mt(e,n,t){V[e]=n,"internal"!==t&&(Me[e]=n)}function kt(){e("html").hasClass(d)?Ot("error","Fullpage.js can only be initialized once and you are doing it multiple times!"):(V.continuousVertical&&(V.loopTop||V.loopBottom)&&(V.continuousVertical=!1,Ot("warn","Option `loopTop/loopBottom` is mutually exclusive with `continuousVertical`; `continuousVertical` disabled")),V.scrollBar&&V.scrollOverflow&&Ot("warn","Option `scrollBar` is mutually exclusive with `scrollOverflow`. Sections with scrollOverflow might not work well in Firefox"),!V.continuousVertical||!V.scrollBar&&V.autoScrolling||(V.continuousVertical=!1,Ot("warn","Scroll bars (`scrollBar:true` or `autoScrolling:false`) are mutually exclusive with `continuousVertical`; `continuousVertical` disabled")),V.scrollOverflow&&!V.scrollOverflowHandler&&(V.scrollOverflow=!1,Ot("error","The option `scrollOverflow:true` requires the file `scrolloverflow.min.js`. Please include it before fullPage.js.")),e.each(V.anchors,function(n,t){var o=K.find("[name]").filter(function(){return e(this).attr("name")&&e(this).attr("name").toLowerCase()==t.toLowerCase()}),i=K.find("[id]").filter(function(){return e(this).attr("id")&&e(this).attr("id").toLowerCase()==t.toLowerCase()});(i.length||o.length)&&(Ot("error","data-anchor tags can not have the same value as any `id` element on the site (or `name` element for IE)."),i.length&&Ot("error",'"'+t+'" is is being used by another element `id` property'),o.length&&Ot("error",'"'+t+'" is is being used by another element `name` property'))}))}function Ot(e,n){console&&console[e]&&console[e]("fullPage: "+n)}}});