/*! * fullpage 3.0.3 * 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,i){"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(e,t){"use strict";var n="fullpage-wrapper",o="."+n,i="fp-responsive",r="fp-notransition",l="fp-destroyed",a="fp-enabled",s="fp-viewing",c="active",u="."+c,f="fp-completely",d="."+f,v=".section",p="fp-section",h="."+p,g=h+u,m="fp-tablecell",s="."+m,b="fp-auto-height",w="fp-normal-scroll",y="fp-nav",e="#"+y,l="fp-tooltip",x="."+l,t="fp-show-active",a=".slide",k="fp-slide",m="."+k,o=m+u,c="fp-slides",h="."+c,i="fp-slidescontainer",r="."+i,b="fp-table",z="fp-slidesnav",n="."+z,j=n+" a",p="fp-controlarrow",d="."+p,v="fp-prev",y=p+" "+v,u=d+("."+v),f="fp-next",w=p+" "+f,x=d+".fp-next";function _(t,n){e.console&&e.console[t]&&e.console[t]("fullpage: "+n)}function k(e,n){return(n=arguments.length>1?n:t)?n.queryselectorall(e):null}function q(e){e=e||{};for(var t=1;t-1;if(!q(k("html"),a)){var re=k("html, body"),se=k("body")[0],de={};f=q({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.fp_scrolloverflow?e.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:v,slideselector:a,v2compatible:!1,afterload:null,onleave:null,afterrender:null,afterresize:null,afterrebuild:null,afterslideload:null,onslideleave:null,afterresponsive:null,lazyloading:!0},f);var se,me,he,ie,re=!1,be=navigator.useragent.match(/(iphone|ipod|ipad|android|playbook|silk|blackberry|bb10|windows phone|tizen|bada|webos|iemobile|opera mini)/),ze="ontouchstart"in e||navigator.msmaxtouchpoints>0||navigator.maxtouchpoints,ne="string"==typeof p?k(p)[0]:p,je=g(),pe=!1,de=!0,ve=!0,ye=[],ue={m:{up:!0,down:!0,left:!0,right:!0}};ue.k=q({},ue.m);var fe,we,xe,_e,ke,qe,qe,ge,$e=e.pointerevent?{down:"pointerdown",move:"pointermove"}:{down:"mspointerdown",move:"mspointermove"},je={touchmove:"ontouchmove"in e?"touchmove":$e.move,touchstart:"ontouchstart"in e?"touchstart":$e.down},ze='a[href], area[href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), iframe, object, embed, [tabindex="0"], [contenteditable]',et=q({},f);jn(),e.fp_easings=q(e.fp_easings,{easeinoutcubic:function(e,t,n,o){return(e/=o/2)<1?n/2*e*e*e+t:n/2*((e-=2)*e*e+2)+t}}),ne&&(de.version="3.0.2",de.setautoscrolling=ft,de.setrecordhistory=dt,de.setscrollingspeed=vt,de.setfittosection=pt,de.setlockanchors=function(e){f.lockanchors=e},de.setmousewheelscrolling=ht,de.setallowscrolling=gt,de.setkeyboardscrolling=st,de.movesectionup=bt,de.movesectiondown=wt,de.silentmoveto=yt,de.moveto=et,de.moveslideright=lt,de.moveslideleft=xt,de.fittosection=bt,de.rebuild=tt,de.setresponsive=at,de.getfullpagedata=f,de.destroy=function(n){ft(!1,"internal"),gt(!0),mt(!1),st(!1),ce(ne,l),cleartimeout(_e),cleartimeout(xe),cleartimeout(we),cleartimeout(ke),cleartimeout(qe),e.removeeventlistener("scroll",rt),e.removeeventlistener("hashchange",on),e.removeeventlistener("resize",hn),t.removeeventlistener("keydown",ln),t.removeeventlistener("keyup",an),["click","touchstart"].foreach(function(e){t.removeeventlistener(e,kt)}),["mouseenter","touchstart","mouseleave","touchend"].foreach(function(e){t.removeeventlistener(e,ot,!0)}),cleartimeout(_e),cleartimeout(xe),n&&(rn(0),k("img[data-src], source[data-src], audio[data-src], iframe[data-src]",ne).foreach(function(e){gt(e,"src")}),k("img[data-srcset]").foreach(function(e){gt(e,"srcset")}),ke(k(e+", "+n+", "+d)),$(k(h),{height:"","background-color":"",padding:""}),$(k(m),{width:""}),$(ne,{height:"",position:"","-ms-touch-action":"","touch-action":""}),$(re,{overflow:"",height:""}),ue(k("html"),a),ue(se,i),se.classname.split(/\s+/).foreach(function(e){0===e.indexof(s)&&ue(se,e)}),k(h+", "+m).foreach(function(e){f.scrolloverflowhandler&&f.scrolloverflowhandler.remove(e),ue(e,b+" "+c+" "+f);var t=e.getattribute("data-fp-styles");t&&e.setattribute("style",e.getattribute("data-fp-styles"))}),sn(ne),[s,r,h].foreach(function(e){k(e,ne).foreach(function(e){e.outerhtml=e.innerhtml})}),$(ne,{"-webkit-transition":"none",transition:"none"}),e.scrollto(0,0),[p,k,i].foreach(function(e){ue(k("."+e),e)}))},de.getactivesection=function(){return new yn(k(g)[0])},de.getactiveslide=function(){return kt(k(o,k(g)[0])[0])},de.test={top:"0px",translate3d:"translate3d(0px, 0px, 0px)",translate3dh:function(){for(var e=[],t=0;t0&&"none"!==n}()),f.scrollbar=f.scrollbar||f.hybrid,function(){if(!f.anchors.length){var e="[data-anchor]",t=k(f.sectionselector.split(",").join(e+",")+e,ne);t.length&&t.foreach(function(e){f.anchors.push(e.getattribute("data-anchor").tostring())})}if(!f.navigationtooltips.length){var e="[data-tooltip]",n=k(f.sectionselector.split(",").join(e+",")+e,ne);n.length&&n.foreach(function(e){f.navigationtooltips.push(e.getattribute("data-tooltip").tostring())})}}(),function(){$(ne,{height:"100%",position:"relative"}),ce(ne,n),ce(k("html"),a),je=g(),ue(ne,l),ce(k(f.sectionselector,ne),p),ce(k(f.slideselector,ne),k);for(var e=k(h),i=0;i0?ct(s,u,f):f.verticalcentered&&yn(s)}var d,v,m,s;f.fixedelements&&f.css3&&k(f.fixedelements).foreach(function(e){se.appendchild(e)}),f.navigation&&function(){var e=t.createelement("div");e.setattribute("id",y);var n=t.createelement("ul");e.appendchild(n),fe(e,se);var o=k(e)[0];ce(o,"fp-"+f.navigationposition),f.showactivetooltip&&ce(o,t);for(var i="",r=0;r'+ht(r,"section")+"";var a=f.navigationtooltips[r];void 0!==a&&""!==a&&(i+='
'+a+"
"),i+=""}k("ul",o)[0].innerhtml=i,$(k(e),{"margin-top":"-"+k(e)[0].offsetheight/2+"px"}),ce(k("a",k("li",k(e)[0])[ie(k(g)[0],h)]),c)}(),k('iframe[src*="youtube.com/embed/"]',ne).foreach(function(e){var t,n,o;n="enablejsapi=1",o=(t=e).getattribute("src"),t.setattribute("src",o+(/\?/.test(o)?"&":"?")+n)}),f.scrolloverflow?fe=f.scrolloverflowhandler.init(f):it()}(),gt(!0),mt(!0),ft(f.autoscrolling,"internal"),gn(),cn(),"complete"===t.readystate&&nn(),e.addeventlistener("load",nn),e.addeventlistener("scroll",rt),e.addeventlistener("hashchange",on),e.addeventlistener("blur",fn),e.addeventlistener("resize",hn),t.addeventlistener("keydown",ln),t.addeventlistener("keyup",an),["click","touchstart"].foreach(function(e){t.addeventlistener(e,kt)}),f.normalscrollelements&&(["mouseenter","touchstart"].foreach(function(e){mt(e,!1)}),["mouseleave","touchend"].foreach(function(e){mt(e,!0)})));var tt=!1,nt=0,ot=0,it=0,rt=0,lt=0,at=(new date).gettime(),st=0,ct=0,ut=je;return de}function ft(e,t){e||rn(0),nn("autoscrolling",e,t);var n=k(g)[0];if(f.autoscrolling&&!f.scrollbar)$(re,{overflow:"hidden",height:"100%"}),dt(et.recordhistory,"internal"),$(ne,{"-ms-touch-action":"none","touch-action":"none"}),null!=n&&rn(n.offsettop);else if($(re,{overflow:"visible",height:"initial"}),dt(!1,"internal"),$(ne,{"-ms-touch-action":"","touch-action":""}),null!=n){var o=qt(n.offsettop);o.element.scrollto(0,o.options)}}function dt(e,t){nn("recordhistory",e,t)}function vt(e,t){nn("scrollingspeed",e,t)}function pt(e,t){nn("fittosection",e,t)}function ht(n){n?(function(){var n,o="";e.addeventlistener?n="addeventlistener":(n="attachevent",o="on");var i="onwheel"in t.createelement("div")?"wheel":void 0!==t.onmousewheel?"mousewheel":"dommousescroll";"dommousescroll"==i?t[n](o+"mozmousepixelscroll",yt,!1):t[n](o+i,yt,!1)}(),ne.addeventlistener("mousedown",sn),ne.addeventlistener("mouseup",cn)):(t.addeventlistener?(t.removeeventlistener("mousewheel",yt,!1),t.removeeventlistener("wheel",yt,!1),t.removeeventlistener("mozmousepixelscroll",yt,!1)):t.detachevent("onmousewheel",yt),ne.removeeventlistener("mousedown",sn),ne.removeeventlistener("mouseup",cn))}function gt(e,t){void 0!==t?(t=t.replace(/ /g,"").split(",")).foreach(function(t){zn(e,t,"m")}):zn(e,"all","m")}function mt(e){e?(ht(!0),(be||ze)&&(f.autoscrolling&&(se.removeeventlistener(je.touchmove,nt,{passive:!1}),se.addeventlistener(je.touchmove,nt,{passive:!1})),k(o)[0].removeeventlistener(je.touchstart,dt),k(o)[0].removeeventlistener(je.touchmove,jt,{passive:!1}),k(o)[0].addeventlistener(je.touchstart,dt),k(o)[0].addeventlistener(je.touchmove,jt,{passive:!1}))):(ht(!1),(be||ze)&&(f.autoscrolling&&(se.removeeventlistener(je.touchmove,jt,{passive:!1}),se.removeeventlistener(je.touchmove,nt,{passive:!1})),k(o)[0].removeeventlistener(je.touchstart,dt),k(o)[0].removeeventlistener(je.touchmove,jt,{passive:!1})))}function st(e,t){void 0!==t?(t=t.replace(/ /g,"").split(",")).foreach(function(t){zn(e,t,"k")}):(zn(e,"all","k"),f.keyboardscrolling=e)}function bt(){var e=z(k(g)[0],h);e||!f.looptop&&!f.continuousvertical||(e=oe(k(h))),null!=e&&wt(e,null,!0)}function wt(){var e=ee(k(g)[0],h);e||!f.loopbottom&&!f.continuousvertical||(e=k(h)[0]),null!=e&&wt(e,null,!1)}function yt(e,t){vt(0,"internal"),et(e,t),vt(et.scrollingspeed,"internal")}function et(e,t){var n=xn(e);void 0!==t?tn(e,t):null!=n&&wt(n)}function lt(e){ut("right",e)}function xt(e){ut("left",e)}function tt(t){if(!q(ne,l)){pe=!0,je=g();for(var n=k(h),o=0;o1&&vn(r,k(o,r)[0])}f.scrolloverflow&&fe.createscrollbarforall();var s=ie(k(g)[0],h);s&&yt(s+1),pe=!1,ee(f.afterresize)&&t&&f.afterresize.call(ne,e.innerwidth,e.innerheight),ee(f.afterrebuild)&&!t&&f.afterrebuild.call(ne)}}function at(e){var t=q(se,i);e?t||(ft(!1,"internal"),pt(!1,"internal"),le(k(e)),ce(se,i),ee(f.afterresponsive)&&f.afterresponsive.call(ne,e)):t&&(ft(et.autoscrolling,"internal"),pt(et.autoscrolling,"internal"),ae(k(e)),ue(se,i),ee(f.afterresponsive)&&f.afterresponsive.call(ne,e))}function kt(e){var t=e.target;t&&he(t,e+" a")?function(e){ye(e);var t=ie(he(this,e+" li"));wt(k(h)[t])}.call(t,e):xe(t,x)?function(){le(te(this),"click")}.call(t):xe(t,d)?function(){var e=he(this,h);q(this,v)?ue.m.left&&xt(e):ue.m.right&<(e)}.call(t,e):(xe(t,j)||null!=he(t,j))&&function(e){ye(e);var t=k(h,he(this,h))[0],n=k(m,t)[ie(he(this,"li"))];vn(t,n)}.call(t,e)}function mt(e,n){t["fp_"+e]=n,t.addeventlistener(e,ot,!0)}function ot(e){e.target!=t&&f.normalscrollelements.split(",").foreach(function(n){xe(e.target,n)&&mt(t["fp_"+e.type])})}function ct(e,n,o){var i=100*o,r=100/o,l=t.createelement("div");l.classname=c,ve(n,l);var a,s,u=t.createelement("div");u.classname=i,ve(n,u),$(k(r,e),{width:i+"%"}),o>1&&(f.controlarrows&&(a=e,s=[ae('
'),ae('
')],ge(k(h,a)[0],s),"#fff"!==f.controlarrowcolor&&($(k(x,a),{"border-color":"transparent transparent transparent "+f.controlarrowcolor}),$(k(u,a),{"border-color":"transparent "+f.controlarrowcolor+" transparent transparent"})),f.loophorizontal||le(k(u,a))),f.slidesnavigation&&function(e,t){fe(ae('
    '),e);var n=k(n,e)[0];ce(n,"fp-"+f.slidesnavposition);for(var o=0;o'+ht(o,"slide")+""),k("ul",n)[0]);$(n,{"margin-left":"-"+n.innerwidth/2+"px"}),ce(k("a",k("li",n)[0]),c)}(e,o)),n.foreach(function(e){$(e,{width:r+"%"}),f.verticalcentered&&yn(e)});var f=k(o,e)[0];null!=f&&(0!==ie(k(g),h)||0===ie(k(g),h)&&0!==ie(f))?in(f,"internal"):ce(n[0],c)}function ht(e,t){return f.navigationtooltips[e]||f.anchors[e]||t+" "+(e+1)}function it(){var e,t=k(g)[0];ce(t,f),$t(t),jt(t),f.scrolloverflow&&f.scrolloverflowhandler.afterload(),(!(e=xn(rn().section))||void 0!==e&&ie(e)===ie(ie))&&ee(f.afterload)&&xt("afterload",{activesection:null,element:t,direction:null,anchorlink:t.getattribute("data-anchor"),sectionindex:ie(t,h)}),ee(f.afterrender)&&xt("afterrender")}function rt(){var e,t,n,o,i,r;if(!f.autoscrolling||f.scrollbar){var l=be(),a=(n=(t=l)>nt?"down":"up",nt=t,st=t,n),s=0,u=l+g()/2,d=se.offsetheight-g()===l,v=k(h);if(d)s=v.length-1;else if(l)for(var p=0;p=be()+g():i<=be())&&(q(k(g)[0],f)||(ce(k(g)[0],f),ue(we(k(g)[0]),f))),!q(e=v[s],c)){tt=!0;var m,s,b=k(g)[0],w=ie(b,h)+1,y=wn(e),e=e.getattribute("data-anchor"),l=ie(e,h)+1,x=k(o,e)[0],t={activesection:b,sectionindex:l-1,anchorlink:e,element:e,leavingsection:w,direction:y};x&&(s=x.getattribute("data-anchor"),m=ie(x)),ve&&(ce(e,c),ue(we(e),c),ee(f.onleave)&&xt("onleave",t),ee(f.afterload)&&xt("afterload",t),en(b),$t(e),jt(e),bn(e,l-1),f.anchors.length&&(se=e),kn(m,s,e)),cleartimeout(ke),ke=settimeout(function(){tt=!1},100)}f.fittosection&&(cleartimeout(qe),qe=settimeout(function(){f.fittosection&&k(g)[0].offsetheight<=je&&bt()},f.fittosectiondelay))}}function bt(){ve&&(pe=!0,wt(k(g)[0]),pe=!1)}function zt(e){if(ue.m[e]){var t="down"===e?wt:bt;if(f.scrolloverflow){var n=f.scrolloverflowhandler.scrollable(k(g)[0]),o="down"===e?"bottom":"top";if(null!=n){if(!f.scrolloverflowhandler.isscrolled(o,n))return!0;t()}else t()}else t()}}function nt(e){f.autoscrolling&&pt(e)&&ye(e)}function jt(t){var n=he(t.target,h);if(pt(t)){f.autoscrolling&&ye(t);var o=hn(t);rt=o.y,lt=o.x,k(h,n).length&&math.abs(it-lt)>math.abs(ot-rt)?!re&&math.abs(it-lt)>e.innerwidth/100*f.touchsensitivity&&(it>lt?ue.m.right&<(n):ue.m.left&&xt(n)):f.autoscrolling&&ve&&math.abs(ot-rt)>e.innerheight/100*f.touchsensitivity&&(ot>rt?zt("down"):rt>ot&&zt("up"))}}function pt(e){return void 0===e.pointertype||"mouse"!=e.pointertype}function dt(e){if(f.fittosection&&(ge=!1),pt(e)){var t=hn(e);ot=t.y,it=t.x}}function vt(e,t){for(var n=0,o=e.slice(math.max(e.length-t,1)),i=0;i149&&ye.shift(),ye.push(math.abs(i)),f.scrollbar&&ye(t);var s=n-at;return at=n,s>200&&(ye=[]),ve&&vt(ye,10)>=vt(ye,70)&&a&&zt(r<0?"down":"up"),!1}f.fittosection&&(ge=!1)}function ut(e,t){var n=null==t?k(g)[0]:t,o=k(h,n)[0];if(!(null==o||re||k(m,o).length<2)){var i=k(o,o)[0],r=null;if(null==(r="left"===e?z(i,m):ee(i,m))){if(!f.loophorizontal)return;var l=we(i);r="left"===e?l[l.length-1]:l[0]}re=!de.test.istesting,vn(o,r,e)}}function ft(){for(var e=k(o),t=0;tst,s=(l=r)-je+i,u=f.bigsectionsdestination,i>je?(a||u)&&"bottom"!==u||(l=s):(a||pe&&null==ne(o))&&(l=s),st=l,l),ymovement:wn(e),anchorlink:e.getattribute("data-anchor"),sectionindex:ie(e,h),activeslide:k(o,e)[0],activesection:k(g)[0],leavingsection:ie(k(g),h)+1,localisresizing:pe};if(!(v.activesection==e&&!pe||f.scrollbar&&be()===v.dtop&&!q(e,b))){if(null!=v.activeslide&&(f=v.activeslide.getattribute("data-anchor"),d=ie(v.activeslide)),ee(f.onleave)&&!v.localisresizing){var p=v.ymovement;if(void 0!==n&&(p=n?"up":"down"),v.direction=p,!1===xt("onleave",v))return}f.autoscrolling&&f.continuousvertical&&void 0!==v.ismovementup&&(!v.ismovementup&&"up"==v.ymovement||v.ismovementup&&"down"==v.ymovement)&&((m=v).ismovementup?me(k(g)[0],oe(m.activesection,h)):ge(k(g)[0],ce(m.activesection,h).reverse()),rn(k(g)[0].offsettop),ft(),m.wraparoundelements=m.activesection,m.dtop=m.element.offsettop,m.ymovement=wn(m.element),m.leavingsection=ie(m.activesection,h)+1,m.sectionindex=ie(m.element,h),v=m),v.localisresizing||en(v.activesection),f.scrolloverflow&&f.scrolloverflowhandler.beforeleave(),ce(e,c),ue(we(e),c),$t(e),f.scrolloverflow&&f.scrolloverflowhandler.onleave(),ve=de.test.istesting,kn(d,f,v.anchorlink,v.sectionindex),function(e){if(f.css3&&f.autoscrolling&&!f.scrollbar){var t="translate3d(0px, -"+math.round(e.dtop)+"px, 0px)";ln(t,!0),f.scrollingspeed?(cleartimeout(xe),xe=settimeout(function(){qt(e)},f.scrollingspeed)):qt(e)}else{var n=qt(e.dtop);de.test.top=-e.dtop+"px",pn(n.element,n.options,f.scrollingspeed,function(){f.scrollbar?settimeout(function(){qt(e)},30):qt(e)})}}(v),se=v.anchorlink,bn(v.anchorlink,v.sectionindex)}}var m}function xt(e,t){var n,o,i,r,l=(o=e,i=t,(r=f.v2compatible?{afterrender:function(){return[ne]},onleave:function(){return[i.activesection,i.leavingsection,i.sectionindex+1,i.direction]},afterload:function(){return[i.element,i.anchorlink,i.sectionindex+1]},afterslideload:function(){return[i.destiny,i.anchorlink,i.sectionindex+1,i.slideanchor,i.slideindex]},onslideleave:function(){return[i.prevslide,i.anchorlink,i.sectionindex+1,i.prevslideindex,i.direction,i.slideindex]}}:{afterrender:function(){return{section:_t(k(g)[0]),slide:kt(k(o,k(g)[0])[0])}},onleave:function(){return{origin:_t(i.activesection),destination:_t(i.element),direction:i.direction}},afterload:function(){return r.onleave()},afterslideload:function(){return{section:_t(i.section),origin:kt(i.prevslide),destination:kt(i.destiny),direction:i.direction}},onslideleave:function(){return r.afterslideload()}})[o]());if(f.v2compatible){if(!1===f[e].apply(l[0],l.slice(1)))return!1}else if(le(ne,e,l),!1===f[e].apply(l[object.keys(l)[0]],(n=l,object.keys(n).map(function(e){return n[e]}))))return!1;return!0}function _t(e){return e?new yn(e):null}function kt(e){return e?new function(e){vn.call(this,e,m)}(e):null}function qt(t){var n={};return f.autoscrolling&&!f.scrollbar?(n.options=-t,n.element=k(o)[0]):(n.options=t,n.element=e),n}function qt(e){var t;null!=(t=e).wraparoundelements&&(t.ismovementup?me(k(h)[0],t.wraparoundelements):ge(k(h)[k(h).length-1],t.wraparoundelements),rn(k(g)[0].offsettop),ft()),ee(f.afterload)&&!e.localisresizing&&xt("afterload",e),f.scrolloverflow&&f.scrolloverflowhandler.afterload(),e.localisresizing||jt(e.element),ce(e.element,f),ue(we(e.element),f),ve=!0,ee(e.callback)&&e.callback()}function gt(e,t){e.setattribute(t,e.getattribute("data-"+t)),e.removeattribute("data-"+t)}function $t(e){f.lazyloading&&k("img[data-src], img[data-srcset], source[data-src], source[data-srcset], video[data-src], audio[data-src], iframe[data-src]",tn(e)).foreach(function(e){if(["src","srcset"].foreach(function(t){var n=e.getattribute("data-"+t);null!=n&&n&>(e,t)}),xe(e,"source")){var t=he(e,"video, audio");t&&t.load()}})}function jt(e){var t=tn(e);k("video, audio",t).foreach(function(e){e.hasattribute("data-autoplay")&&"function"==typeof e.play&&e.play()}),k('iframe[src*="youtube.com/embed/"]',t).foreach(function(e){e.hasattribute("data-autoplay")&&zt(e),e.onload=function(){e.hasattribute("data-autoplay")&&zt(e)}})}function zt(e){e.contentwindow.postmessage('{"event":"command","func":"playvideo","args":""}',"*")}function en(e){var t=tn(e);k("video, audio",t).foreach(function(e){e.hasattribute("data-keepplaying")||"function"!=typeof e.pause||e.pause()}),k('iframe[src*="youtube.com/embed/"]',t).foreach(function(e){/youtube\.com\/embed\//.test(e.getattribute("src"))&&!e.hasattribute("data-keepplaying")&&e.contentwindow.postmessage('{"event":"command","func":"pausevideo","args":""}',"*")})}function tn(e){var t=k(o,e);return t.length&&(e=t[0]),e}function nn(){var e=rn(),t=e.section,n=e.slide;t&&(f.animateanchor?tn(t,n):yt(t,n))}function on(){if(!tt&&!f.lockanchors){var e=rn(),t=e.section,n=e.slide,o=void 0===se,i=void 0===se&&void 0===n&&!re;t&&t.length&&(t&&t!==se&&!o||i||!re&&me!=n)&&tn(t,n)}}function rn(){var t,n,o=e.location.hash;if(o.length){var i=o.replace("#","").split("/"),r=o.indexof("#/")>-1;t=r?"/"+i[1]:decodeuricomponent(i[0]);var l=r?i[2]:i[1];l&&l.length&&(n=decodeuricomponent(l))}return{section:t,slide:n}}function ln(e){cleartimeout(qe);var n=t.activeelement,o=e.keycode;9===o?function(e){var n,o,i,r,l,a,s,c=e.shiftkey,u=t.activeelement,f=un(tn(k(g)[0]));function d(e){return ye(e),f[0]?f[0].focus():null}(n=e,o=un(t),i=o.indexof(t.activeelement),r=n.shiftkey?i-1:i+1,l=o[r],a=kt(he(l,m)),s=_t(he(l,h)),a||s)&&(u?null==he(u,g+","+g+" "+o)&&(u=d(e)):d(e),(!c&&u==f[f.length-1]||c&&u==f[0])&&ye(e))}(e):xe(n,"textarea")||xe(n,"input")||xe(n,"select")||"true"===n.getattribute("contenteditable")||""===n.getattribute("contenteditable")||!f.keyboardscrolling||!f.autoscrolling||([40,38,32,33,34].indexof(o)>-1&&ye(e),he=e.ctrlkey,qe=settimeout(function(){!function(e){var t=e.shiftkey;if(ve||!([37,39].indexof(e.keycode)<0))switch(e.keycode){case 38:case 33:ue.k.up&&bt();break;case 32:if(t&&ue.k.up){bt();break}case 40:case 34:ue.k.down&&wt();break;case 36:ue.k.up&&et(1);break;case 35:ue.k.down&&et(k(h).length);break;case 37:ue.k.left&&xt();break;case 39:ue.k.right&<()}}(e)},150))}function an(e){de&&(he=e.ctrlkey)}function sn(e){2==e.which&&(ct=e.pagey,ne.addeventlistener("mousemove",dn))}function cn(e){2==e.which&&ne.removeeventlistener("mousemove",dn)}function un(e){return[].slice.call(k(ze,e)).filter(function(e){return"-1"!==e.getattribute("tabindex")&&null!==e.offsetparent})}function fn(){de=!1,he=!1}function dn(e){ve&&(e.pageyct&&ue.m.down&&wt()),ct=e.pagey}function vn(e,t,n){var o,i,r=he(e,h),l={slides:e,destiny:t,direction:n,destinypos:{left:t.offsetleft},slideindex:ie(t),section:r,sectionindex:ie(r,h),anchorlink:r.getattribute("data-anchor"),slidesnav:k(n,r)[0],slideanchor:on(t),prevslide:k(o,r)[0],prevslideindex:ie(k(o,r)[0]),localisresizing:pe};l.xmovement=(o=l.prevslideindex,i=l.slideindex,o==i?"none":o>i?"left":"right"),l.localisresizing||(ve=!1),f.onslideleave&&!l.localisresizing&&"none"!==l.xmovement&&ee(f.onslideleave)&&!1===xt("onslideleave",l)?re=!1:(ce(t,c),ue(we(t),c),l.localisresizing||(en(l.prevslide),$t(t)),!f.loophorizontal&&f.controlarrows&&(te(k(u,r),0!==l.slideindex),te(k(x,r),null!=ne(t))),q(r,c)&&!l.localisresizing&&kn(l.slideindex,l.slideanchor,l.anchorlink,l.sectionindex),function(e,t,n){var o=t.destinypos;if(f.css3){var i="translate3d(-"+math.round(o.left)+"px, 0px, 0px)";de.test.translate3dh[t.sectionindex]=i,$(mn(k(r,e)),bn(i)),_e=settimeout(function(){n&&pn(t)},f.scrollingspeed)}else de.test.left[t.sectionindex]=math.round(o.left),pn(e,math.round(o.left),f.scrollingspeed,function(){n&&pn(t)})}(e,l,!0))}function pn(e){var t,n;t=e.slidesnav,n=e.slideindex,f.slidesnavigation&&null!=t&&(ue(k(u,t),c),ce(k("a",k("li",t)[n]),c)),e.localisresizing||(ee(f.afterslideload)&&xt("afterslideload",e),ve=!0,jt(e.destiny)),re=!1}function hn(){if(gn(),be){var e=t.activeelement;if(!xe(e,"textarea")&&!xe(e,"input")&&!xe(e,"select")){var n=g();math.abs(n-ut)>20*math.max(ut,n)/100&&(tt(!0),ut=n)}}else cleartimeout(we),we=settimeout(function(){tt(!0)},350)}function gn(){var t=f.responsive||f.responsivewidth,n=f.responsiveheight,o=t&&e.innerwidthn?"up":"down"}function yn(e){if(!q(e,b)){var n=t.createelement("div");n.classname=m,n.style.height=en(e)+"px",ce(e,b),pe(e,n)}}function en(e){var t=je;if(f.paddingtop||f.paddingbottom){var n=e;q(n,p)||(n=he(e,h));var o=parseint(getcomputedstyle(n)["padding-top"])+parseint(getcomputedstyle(n)["padding-bottom"]);t=je-o}return t}function ln(e,t){t?mn(ne):sn(ne),$(ne,bn(e)),de.test.translate3d=e,settimeout(function(){ue(ne,r)},10)}function xn(e){var t=k(h+'[data-anchor="'+e+'"]',ne)[0];if(!t){var n=void 0!==e?e-1:0;t=k(h)[n]}return t}function tn(e,t){var n=xn(e);if(null!=n){var o,i,r,l=(null==(r=k(m+'[data-anchor="'+(o=t)+'"]',i=n)[0])&&(o=void 0!==o?o:0,r=k(m,i)[o]),r);on(n)===se||q(n,c)?an(l):wt(n,function(){an(l)})}}function an(e){null!=e&&vn(he(e,h),e)}function kn(e,t,n,o){var i="";f.anchors.length&&!f.lockanchors&&(e?(null!=n&&(i=n),null==t&&(t=e),me=t,mn(i+"/"+t)):null!=e?(me=t,mn(n)):mn(n)),cn()}function mn(t){if(f.recordhistory)location.hash=t;else if(be||ze)e.history.replacestate(void 0,void 0,"#"+t);else{var n=e.location.href.split("#")[0];e.location.replace(n+"#"+t)}}function on(e){if(!e)return null;var t=e.getattribute("data-anchor"),n=ie(e);return null==t&&(t=n),t}function cn(){var e=k(g)[0],t=k(o,e)[0],n=on(e),o=on(t),i=string(n);t&&(i=i+"-"+o),i=i.replace("/","-").replace("#","");var r=new regexp("\\b\\s?"+s+"-[^\\s]+\\b","g");se.classname=se.classname.replace(r,""),ce(se,s+"-"+i)}function hn(e){var t=[];return t.y=void 0!==e.pagey&&(e.pagey||e.pagex)?e.pagey:e.touches[0].pagey,t.x=void 0!==e.pagex&&(e.pagey||e.pagex)?e.pagex:e.touches[0].pagex,ze&&pt(e)&&f.scrollbar&&void 0!==e.touches&&(t.y=e.touches[0].pagey,t.x=e.touches[0].pagex),t}function in(e,t){vt(0,"internal"),void 0!==t&&(pe=!0),vn(he(e,h),e),void 0!==t&&(pe=!1),vt(et.scrollingspeed,"internal")}function rn(e){var t=math.round(e);if(f.css3&&f.autoscrolling&&!f.scrollbar)ln("translate3d(0px, -"+t+"px, 0px)",!1);else if(f.autoscrolling&&!f.scrollbar)$(ne,{top:-t+"px"}),de.test.top=-t+"px";else{var n=qt(t);dn(n.element,n.options)}}function bn(e){return{"-webkit-transform":e,"-moz-transform":e,"-ms-transform":e,transform:e}}function zn(e,t,n){"all"!==t?ue[n][t]=e:object.keys(ue[n]).foreach(function(t){ue[n][t]=e})}function nn(e,t,n){f[e]=t,"internal"!==n&&(et[e]=t)}function jn(){j||(_("error","fullpage.js version 3 has changed its license to gplv3 and it requires a `licensekey` option. read about it here:"),_("error","https://github.com/alvarotrigo/fullpage.js#options.")),q(k("html"),a)?_("error","fullpage.js can only be initialized once and you are doing it multiple times!"):(f.continuousvertical&&(f.looptop||f.loopbottom)&&(f.continuousvertical=!1,_("warn","option `looptop/loopbottom` is mutually exclusive with `continuousvertical`; `continuousvertical` disabled")),!f.scrolloverflow||!f.scrollbar&&f.autoscrolling||_("warn","options scrollbar:true and autoscrolling:false are mutually exclusive with scrolloverflow:true. sections with scrolloverflow might not work well in firefox"),!f.continuousvertical||!f.scrollbar&&f.autoscrolling||(f.continuousvertical=!1,_("warn","scroll bars (`scrollbar:true` or `autoscrolling:false`) are mutually exclusive with `continuousvertical`; `continuousvertical` disabled")),f.scrolloverflow&&null==f.scrolloverflowhandler&&(f.scrolloverflow=!1,_("error","the option `scrolloverflow:true` requires the file `scrolloverflow.min.js`. please include it before fullpage.js.")),["fadingeffect","continuoushorizontal","scrollhorizontally","interlockedslides","resetsliders","responsiveslides","offsetsections","dragandmove","scrolloverflowreset","parallax"].foreach(function(e){f[e]&&_("warn","fullpage.js extensions require fullpage.extensions.min.js file instead of the usual fullpage.js. requested: "+e)}),f.anchors.foreach(function(e){var t=[].slice.call(k("[name]")).filter(function(t){return t.getattribute("name")&&t.getattribute("name").tolowercase()==e.tolowercase()}),n=[].slice.call(k("[id]")).filter(function(t){return t.getattribute("id")&&t.getattribute("id").tolowercase()==e.tolowercase()});(n.length||t.length)&&(_("error","data-anchor tags can not have the same value as any `id` element on the site (or `name` element for ie)."),n.length&&_("error",'"'+e+'" is is being used by another element `id` property'),t.length&&_("error",'"'+e+'" is is being used by another element `name` property'))}))}function pn(t,n,o,i){var r,l=(r=t).self!=e&&q(r,c)?r.scrollleft:!f.autoscrolling||f.scrollbar?be():r.offsettop,a=n-l,s=0;ge=!0;var c=function(){if(ge){var r=n;s+=20,o&&(r=e.fp_easings[f.easing](s,l,a,o)),dn(t,r),s