diff --git a/FUNDING.yml b/FUNDING.yml new file mode 100644 index 000000000..f9c58b6db --- /dev/null +++ b/FUNDING.yml @@ -0,0 +1 @@ +github: alvarotrigo \ No newline at end of file diff --git a/README.md b/README.md index fda5d8e0e..0df95ca31 100644 --- a/README.md +++ b/README.md @@ -19,9 +19,8 @@ --- -![fullPage.js version](https://img.shields.io/badge/fullPage.js-v4.0.37-brightgreen.svg) +![fullPage.js version](https://img.shields.io/badge/fullPage.js-v4.0.38-brightgreen.svg) [![License](https://img.shields.io/badge/License-GPL-blue.svg)](https://www.gnu.org/licenses/gpl-3.0.html) -[![PayPal Donate](https://img.shields.io/badge/donate-PayPal.me-ff69b4.svg)](https://www.paypal.me/alvarotrigo/9.95) [![jsDelivr Hits](https://data.jsdelivr.com/v1/package/npm/fullpage.js/badge?style=rounded)](https://www.jsdelivr.com/package/npm/fullpage.js) [![Minzipped Size](https://img.shields.io/bundlephobia/minzip/fullpage.js)](https://bundlephobia.com/package/fullpage.js)   **|**   *Created by [@imac2](https://twitter.com/imac2)* @@ -430,7 +429,7 @@ new fullpage('#fullpage', { ### anchors (default `[]`) Defines the anchor links (#example) to be shown on the URL for each section. Anchors value should be unique. The position of the anchors in the array will define to which sections the anchor is applied. (second position for second section and so on). Using anchors forward and backward navigation will also be possible through the browser. This option also allows users to bookmark a specific section or slide. **Be careful!** anchors can not have the same value as any ID element on the site (or NAME element for IE). -Now anchors can be defined directly in the HTML structure by using the attribute `data-anchor` as explained here. +Anchors can be defined directly in the HTML structure by using the attribute `data-anchor` as explained [here](#creating-links-to-sections-or-slides). ### lockAnchors @@ -1211,14 +1210,11 @@ Want to build fullpage.js distribution files? Please see [Build Tasks](https://g - http://boxx.hk/ - http://www.villareginateodolinda.it -## Donations -Donations would be more than welcome :) - -[![Donate](https://www.paypalobjects.com/en_US/GB/i/btn/btn_donateCC_LG.gif)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=BEK5JQCQMED4J&lc=GB&item_name=fullPage%2ejs¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted) - ## Sponsors -Become a sponsor and get your logo on our README on Github with a link to your site. [[Contact Us](https://alvarotrigo.com/#contact)] | [[Become a Patreon]](https://www.patreon.com/fullpagejs) | [Become a GitHub Sponsor](https://github.com/sponsors/alvarotrigo/dashboard) +Become a sponsor and get your logo on our README on Github with a link to your site. [[Contact Us](https://alvarotrigo.com/#contact)] | [[Become a Patreon]](https://www.patreon.com/fullpagejs) | [Become a GitHub Sponsor](https://github.com/sponsors/alvarotrigo) +[![Warp](https://cdn.jsdelivr.net/gh/alvarotrigo/fullpage-assets/imgs/sponsors/warp.png)](https://www.warp.dev/) +[![Crawlbase](https://cdn.jsdelivr.net/gh/alvarotrigo/fullpage-assets/imgs/sponsors/crawlbase.png)](https://crawlbase.com/?utm_source=github&utm_medium=sponsor&utm_campaign=fullpagejs) [![LambdaTest](https://cdn.jsdelivr.net/gh/alvarotrigo/fullpage-assets/imgs/sponsors/lambdatest.png)](https://www.lambdatest.com/) [![Codeless](https://cdn.jsdelivr.net/gh/alvarotrigo/fullpage-assets/imgs/sponsors/codeless.png)](https://codeless.co) [![Stackpath](https://cdn.jsdelivr.net/gh/alvarotrigo/fullpage-assets/imgs/sponsors/stackpath3.png)](https://www.stackpath.com/) @@ -1234,4 +1230,4 @@ Become a sponsor and get your logo on our README on Github with a link to your s - \ No newline at end of file + diff --git a/dist/fullpage.css b/dist/fullpage.css index bf85f6719..abb26065b 100644 --- a/dist/fullpage.css +++ b/dist/fullpage.css @@ -1,5 +1,5 @@ /*! - * fullPage 4.0.37 + * fullPage 4.0.38 * https://github.com/alvarotrigo/fullPage.js * * @license GPLv3 for open source use only @@ -242,6 +242,7 @@ html.fp-enabled, /* Disabling vertical centering on scrollable elements */ .fp-overflow{ justify-content: flex-start; + width: 100dvw; /* In case its necessary #4717 */ } body:not(.fp-responsive) .fp-overflow{ diff --git a/dist/fullpage.extensions.min.js b/dist/fullpage.extensions.min.js index a9e4b7e6f..7b718da2e 100644 --- a/dist/fullpage.extensions.min.js +++ b/dist/fullpage.extensions.min.js @@ -1,5 +1,5 @@ /*! -* fullPage 4.0.37 +* fullPage 4.0.38 * https://github.com/alvarotrigo/fullPage.js * * @license GPLv3 for open source use only @@ -8,4 +8,4 @@ * * Copyright (C) 2018 http://alvarotrigo.com/fullPage/ - A project by Alvaro Trigo */ -!function(n,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(n="undefined"!=typeof globalThis?globalThis:n||self).fullpage=t()}(this,(function(){"use strict";var n,t,e,i,r=Object.freeze({__proto__:null,get showError(){return Ee},get isVisible(){return Re},get getVisible(){return Le},get $(){return je},get deepExtend(){return ze},get hasClass(){return De},get getWindowHeight(){return Ne},get t(){return He},get css(){return Ie},get prev(){return Pe},get next(){return Ce},get last(){return We},get index(){return Fe},get getList(){return Ve},get hide(){return Be},get show(){return Ze},get isArrayOrList(){return Ye},get addClass(){return Ge},get removeClass(){return Xe},get appendTo(){return Ue},get wrap(){return _e},get wrapAll(){return Qe},get wrapInner(){return Je},get unwrap(){return Ke},get closest(){return $e},get after(){return qe},get before(){return ni},get insertBefore(){return ti},get getScrollTop(){return ei},get siblings(){return ii},get preventDefault(){return ri},get i(){return oi},get o(){return ai},get u(){return ui},get l(){return li},get v(){return ci},get isFunction(){return si},get trigger(){return fi},get matches(){return di},get toggle(){return vi},get createElementFromHTML(){return pi},get remove(){return hi},get filter(){return gi},get untilAll(){return mi},get nextAll(){return wi},get prevAll(){return bi},get toArray(){return Si},get p(){return yi},get h(){return Mi},get g(){return Ti},get S(){return Ai},get M(){return xi}});Array.prototype.find||Object.defineProperty(Array.prototype,"find",{value:function(n){if(null==this)throw new TypeError('"this" is null or not defined');var t=Object(this),e=t.length>>>0;if("function"!=typeof n)throw new TypeError("predicate must be a function");for(var i=arguments[1],r=0;r0?1:-1)*Math.floor(Math.abs(t)):t}(n);return Math.min(Math.max(t,0),e)},function(n){var e=this,r=Object(n);if(null==n)throw new TypeError("Array.from requires an array-like object - not null or undefined");var o,a=arguments.length>1?arguments[1]:void 0;if(void 0!==a){if(!t(a))throw new TypeError("Array.from: when provided, the second argument must be a function");arguments.length>2&&(o=arguments[2])}for(var u,l=i(r.length),c=t(e)?Object(new e(l)):new Array(l),s=0;s0||navigator.maxTouchPoints,f=!!window.MSInputMethodContext&&!!document.documentMode,d={test:{},shared:{}},v=(o=window.self!==window.top,function(){return o});a.NodeList&&!NodeList.prototype.forEach&&(NodeList.prototype.forEach=function(n,t){t=t||window;for(var e=0;e','
'],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"},cards:!1,cardsOptions:{perspective:100,fadeContent:!0,fadeBackground:!0},sectionSelector:".section",slideSelector:".slide",afterLoad:null,beforeLeave:null,onLeave:null,afterRender:null,afterResize:null,afterReBuild:null,afterSlideLoad:null,onSlideLeave:null,afterResponsive:null,onScrollOverflow:null,lazyLoading:!0,lazyLoadThreshold:0,observer:!0,scrollBeyondFullpage:!0},Q=null,J=!1,K=ze({},_),$=null;function q(n){return Q}function nn(){return $||_}function tn(){return K}function en(n,t,e){$[n]=t,"internal"!==e&&(K[n]=t)}function rn(){if(!nn().anchors.length){var n=je(nn().sectionSelector.split(",").join("[data-anchor],")+"[data-anchor]",Q);n.length&&n.length===je(nn().sectionSelector,Q).length&&(J=!0,n.forEach((function(n){nn().anchors.push(oi(n,"data-anchor").toString())})))}if(!nn().navigationTooltips.length){var t=je(nn().sectionSelector.split(",").join("[data-tooltip],")+"[data-tooltip]",Q);t.length&&t.forEach((function(n){nn().navigationTooltips.push(oi(n,"data-tooltip").toString())}))}}var on={A:0,O:0,slides:[],R:[],L:null,j:null,D:!1,N:!1,H:!1,I:!1,P:!1,C:void 0,W:void 0,F:!1,canScroll:!0,V:"none",B:"none",Z:!1,Y:!1,G:!0,X:0,U:Ne(),_:!1,J:{},scrollY:0,scrollX:0,K:!1},an=Object.assign({},on);function un(n){Object.assign(an,n)}function ln(){return an}function cn(n){return void 0!==window["fp_"+n+"Extension"]}function sn(n){var t=nn();return null!==t[n]&&"[object Array]"===Object.prototype.toString.call(t[n])?t[n].length&&d[n]:t[n]&&d[n]}function fn(n,t,e){if(sn(n))return si(d[n][t])?d[n][t](e):d[n][t]}function dn(){return fn("dragAndMove","isAnimating")}function vn(){return fn("dragAndMove","isGrabbing")}function pn(n){if(nn().offsetSections&&d.offsetSections){var t=fn("offsetSections","getWindowHeight",n);return""!==t?Math.round(t)+"px":t}return Ne()+"px"}function hn(n,t){n.insertBefore(t,n.firstChild)}function gn(n){var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";function e(n){var e,i,r,o,a,u,l="",c=0;for(n=n.replace(/[^A-Za-z0-9+/=]/g,"");c>4,i=(15&o)<<4|(a=t.indexOf(n.charAt(c++)))>>2,r=(3&a)<<6|(u=t.indexOf(n.charAt(c++))),l+=String.fromCharCode(e),64!=a&&(l+=String.fromCharCode(i)),64!=u&&(l+=String.fromCharCode(r));return l=function(n){for(var t,e="",i=0,r=0,o=0;i191&&r<224?(o=n.charCodeAt(i+1),e+=String.fromCharCode((31&r)<<6|63&o),i+=2):(o=n.charCodeAt(i+1),t=n.charCodeAt(i+2),e+=String.fromCharCode((15&r)<<12|(63&o)<<6|63&t),i+=3);return e}(l),l}function i(n){return n.slice(3).slice(0,-3)}return function(n){var t=n.split("_");if(t.length>1){var r=t[1];return e(n.replace(i(t[1]),"").split("_")[0].slice(2).slice(0,-2))+"_"+e(r.slice(3).slice(0,-3))}return i(n)}(e(n))}a.state=an,a.fp_utils=a.fp_utils||{},Object.assign(a.fp_utils,{prependTo:hn,toggleClass:function(n,t,e){if(n.classList&&null==e)n.classList.toggle(t);else{var i=De(n,t);i&&null==e||!e?Xe(n,t):(!i&&null==e||e)&&Ge(n,t)}}});var mn=function(n){this.anchor=n.anchor,this.item=n.item,this.index=n.index(),this.isLast=this.index===n.item.parentElement.querySelectorAll(n.selector).length-1,this.isFirst=!this.index,this.isActive=n.isActive},wn=function(n,t){this.parent=this.parent||null,this.selector=t,this.anchor=oi(n,"data-anchor")||nn().anchors[Fe(n,nn().sectionSelector)],this.item=n,this.isVisible=Re(n),this.isActive=De(n,y),this.q=De(n,C)||null!=je(W,n)[0],this.nn=t===nn().sectionSelector,this.container=$e(n,I)||$e(n,h),this.index=function(){return this.siblings().indexOf(this)}};function bn(n){return n.map((function(n){return n.item}))}function Sn(n,t){return n.find((function(n){return n.item===t}))}wn.prototype.siblings=function(){return this.nn?this.isVisible?an.R:an.tn:this.parent?this.parent.slides:0},wn.prototype.prev=function(){var n=this.siblings(),t=(this.nn?n.indexOf(this):this.parent.slides.indexOf(this))-1;return t>=0?n[t]:null},wn.prototype.next=function(){var n=this.siblings(),t=(this.nn?n.indexOf(this):this.parent.slides.indexOf(this))+1;return ti?"up":"down"}function Ln(n){return Ge(n,w)}function jn(n){return{"-webkit-transform":n,"-moz-transform":n,"-ms-transform":n,transform:n}}function zn(n,t){t?En(q()):Ln(q()),clearTimeout(yn),Ie(q(),jn(n)),d.test.on=n,yn=setTimeout((function(){Xe(q(),w)}),10)}function Dn(n){var t=Math.round(n);if(nn().css3&&nn().autoScrolling&&!nn().scrollBar)zn("translate3d(0px, -"+t+"px, 0px)",!1);else if(nn().autoScrolling&&!nn().scrollBar)Ie(q(),{top:-t+"px"}),d.test.top=-t+"px";else{var e=On(t);kn(e.element,e.options)}}function Nn(n,t){"internal"!==t&&(fn("fadingEffect","update",n),fn("effects","update",n)),fn("cards","update_",n),en("scrollingSpeed",n,t)}d.setScrollingSpeed=Nn;var Hn,In=null,Pn=null,Cn=null;function Wn(n,t,e,i){var r,o=function(n){return n.self!=a&&De(n,D)?n.scrollLeft:!nn().autoScrolling||nn().scrollBar?ei():n.offsetTop}(n),u=t-o,l=!1,c=an.F;un({F:!0}),Hn&&window.cancelAnimationFrame(Hn),Hn=function(s){r||(r=s);var f=Math.floor(s-r);if(an.F){var d=t;e&&(d=a.fp_easings[nn().easing](f,o,u,e)),f<=e&&kn(n,d),f=n.HAVE_FUTURE_DATA?n.play():n.addEventListener("canplay",(function t(){n.play(),n.removeEventListener("canplay",t)})))})),je('iframe[src*="youtube.com/embed/"]',t).forEach((function(n){Fn(n)&&Bn(n),n.onload=function(){Fn(n)&&Bn(n)}}))}function Bn(n){n.contentWindow.postMessage('{"event":"command","func":"playVideo","args":""}',"*")}function Zn(n){var t=An(n);je("video, audio",t).forEach((function(n){n.hasAttribute("data-keepplaying")||"function"!=typeof n.pause||n.pause()})),je('iframe[src*="youtube.com/embed/"]',t).forEach((function(n){/youtube\.com\/embed\//.test(oi(n,"src"))&&!n.hasAttribute("data-keepplaying")&&n.contentWindow.postMessage('{"event":"command","func":"pauseVideo","args":""}',"*")}))}function Yn(n){if(nn().lazyLoading){var t=An(n);je("img[data-src], img[data-srcset], source[data-src], source[data-srcset], video[data-src], audio[data-src], iframe[data-src]",t).forEach((function(n){if(["src","srcset"].forEach((function(t){var e=oi(n,"data-"+t);null!=e&&e&&(Ti(n,t),n.addEventListener("load",(function(){})))})),di(n,"source")){var t=$e(n,"video, audio");t&&(t.load(),t.onloadeddata=function(){})}})),Ge(t,A)}}function Gn(n){var t=nn().lazyLoadThreshold;Yn(n.item),t&&(Xn(n,"prev",t),Xn(n,"next",t))}function Xn(n,t,e){for(var i=n,r=0;r-1&&this.an[n].splice(e,1)}},ln:function(n){for(var t=this,e=arguments.length,i=new Array(e>1?e-1:0),r=1;rt?"left":"right"}function Nt(){clearTimeout(At)}function Ht(n){fn("dragAndMove","afterSlideLoads",n),fn("continuousHorizontal","afterSlideLoads",n),n.localIsResizing||(fn("parallax","afterSlideLoads"),fn("scrollOverflowReset","setPrevious",n.prevSlide),fn("scrollOverflowReset","reset"),si(nn().afterSlideLoad)&&Ut("afterSlideLoad",n),un({canScroll:!0}),Vn(n.destiny),Jn.ln(wt,n)),un({H:!1}),fn("interlockedSlides","interlockedSlides",n)}function It(n,t){Nn(0,"internal"),void 0!==t&&un({I:!0}),jt($e(n,N),n),void 0!==t&&un({I:!1}),Nn(tn().scrollingSpeed,"internal")}xt.m={up:!0,down:!0,left:!0,right:!0},xt.k=ze({},xt.m),Jn.un($n,(function(n){var t=n.target;(di(t,Y)||$e(t,Y))&&Et.call(t,n)})),d.landscapeScroll=jt,Jn.un(it,(function(){Jn.un(pt,Lt)}));var Pt=null,Ct=null;function Wt(){an.L=null,an.R.map((function(n){var t=De(n.item,y);n.isActive=t,n.q=ke.q(n.item),t&&(an.L=n),n.slides.length&&(n.activeSlide=null,n.slides.map((function(t){var e=De(t.item,y);t.q=ke.q(n.item),t.isActive=e,e&&(n.activeSlide=t)})))})),function(){var n=an.L,t=!!an.L&&an.L.slides.length,e=an.L?an.L.activeSlide:null;if(!n&&an.R.length&&!ln().D&&null!==Pt){var i=Bt(Pt,an.R);i&&(an.L=i,an.L.isActive=!0,Ge(an.L.item,y)),an.L&&Dn(an.L.item.offsetTop)}if(t&&!e&&null!==Ct){var r=Bt(Ct,an.L.slides);r&&(an.L.activeSlide=r,an.L.activeSlide.isActive=!0,Ge(an.L.activeSlide.item,y)),an.L.activeSlide&&It(an.L.activeSlide.item,"internal")}}(),fi(q(),"onUpdateStateDone")}function Ft(){var n=je(nn().sectionSelector+", "+O,q()),t=Le(n),e=Array.from(n).map((function(n){return new Zt(n)})),i=e.filter((function(n){return n.isVisible})),r=i.reduce((function(n,t){return n.concat(t.slides)}),[]);Pt=Vt(an.L),Ct=Vt(an.L?an.L.activeSlide:null),an.A=t.length,an.O=i.reduce((function(n,t){return n+t.slides.length}),0),an.R=i,an.tn=e,an.slides=r,an.rn=an.R.concat(an.slides)}function Vt(n){if(!n)return null;var t=n?n.item:null,e=n.nn?an.tn:an.L.dn;if(t){var i=Sn(e,t);return i?i.index():null}return null}function Bt(n,t){var e,i=n-1,r=n;do{if(e=t[i]||t[r])break;i-=1,r+=1}while(i>=0||r0,o=i>2&&i'+yt(o.index(),"Section")+"";var l=nn().navigationTooltips[o.index()];void 0!==l&&""!==l&&(i+='
'+l+"
"),i+=""}je("ul",e)[0].innerHTML=i;var c=je("li",je(R)[0])[ln().L.index()];Ge(je("a",c),y)}function te(n){n.preventDefault&&ri(n),un({j:"verticalNav"});var t=Fe($e(this,"#fp-nav li"));Jn.ln(ft,{destination:ln().R[t]})}function ee(n,t){var e;e=n,nn().menu&&nn().menu.length&&je(nn().menu).forEach((function(n){null!=n&&(Xe(je(M,n),y),Ge(je('[data-menuanchor="'+e+'"]',n),y))})),function(n,t){var e=je(R)[0];nn().navigation&&null!=e&&"none"!==e.style.display&&(Xe(je(M,e),y),Ge(n?je('a[href="#'+n+'"]',e):je("a",je("li",e)[t]),y))}(n,t)}Yt.prototype=wn.prototype,Yt.prototype.constructor=Zt,d.setRecordHistory=_t,d.setAutoScrolling=Qt,d.test.setAutoScrolling=Qt,(new Date).getTime();var ie,re,oe,ae,ue,le,ce=(re=!0,oe=(new Date).getTime(),ae=!a.fullpage_api,function(n,t){var e=(new Date).getTime(),i="wheel"===n?nn().scrollingSpeed:100;return re=ae||e-oe>=i,ae=!a.fullpage_api,re&&(ie=t(),oe=e),void 0===ie||ie});function se(n,t){if(si(nn().beforeLeave))return ce(ln().j,(function(){return Ut(n,t)}))}function fe(n,t,e){var i=n.item;if(null!=i){var r,o,a={element:i,callback:t,isMovementUp:e,dtop:de(i),yMovement:Rn(ln().L,i),anchorLink:n.anchor,sectionIndex:n.index(),activeSlide:n.activeSlide?n.activeSlide.item:null,leavingSection:ln().L.index()+1,localIsResizing:an.I,items:{origin:ln().L,destination:n},direction:null};if(!(ln().L.item==i&&!an.I||nn().scrollBar&&ei()===a.dtop&&!De(i,E))){if(null!=a.activeSlide&&(r=oi(a.activeSlide,"data-anchor"),o=Fe(a.activeSlide,null)),!a.localIsResizing){var u=a.yMovement;if(void 0!==e&&(u=e?"up":"down"),a.direction=u,cn("dropEffect")&&d.dropEffect.onLeave_(a),cn("waterEffect")&&d.waterEffect.onLeave_(a),fn("effects","beforeLeave",a),si(nn().beforeLeave)&&!1===se("beforeLeave",a))return;if(si(nn().onLeave)&&!Ut("onLeave",a))return}fn("parallax","apply",a),fn("cards","apply",a),fn("dropEffect","apply",a),fn("waterEffect","apply",a),nn().autoScrolling&&nn().continuousVertical&&void 0!==a.isMovementUp&&(!a.isMovementUp&&"up"==a.yMovement||a.isMovementUp&&"down"==a.yMovement)&&(a=function(n){un({_:!0});var t=ln().L.item;return n.isMovementUp?ni(t,wi(t,O)):qe(t,bi(t,O).reverse()[0]),Dn(Jt()),Kt(),n.hn=t,n.dtop=function(n){return n.isMovementUp&&De(n.element,E)?de(n.element)-Ne()+n.element.offsetHeight:n.element.offsetTop}(n),n.yMovement=Rn(ln().L,n.element),n.leavingSection=n.items.origin.index()+1,n.sectionIndex=n.items.destination.index(),fi(q(),"onContinuousVertical",n),n}(a)),fn("scrollOverflowReset","setPrevious",ln().L.item),a.localIsResizing||Zn(ln().L.item),sn("dropEffect")&&nn().dropEffect||(Ge(i,y),Xe(ii(i),y)),Wt(),Gn(n),un({canScroll:d.test.gn}),bt(o,r,a.anchorLink),Jn.ln(gt,a),function(n){un({V:"none",scrollY:Math.round(n.dtop)}),Jn.ln(pt,n),sn("effects")&&fn("effects","performMovement",n);var t=nn().scrollingSpeed<700,e=t?700:nn().scrollingSpeed;if(nn().css3&&nn().autoScrolling&&!nn().scrollBar)zn("translate3d(0px, -"+Math.round(n.dtop)+"px, 0px)",!0),sn("waterEffect")&&Kt(),nn().scrollingSpeed?(clearTimeout(ue),ue=setTimeout((function(){ve(n),un({canScroll:!t||d.test.gn})}),nn().scrollingSpeed)):ve(n);else{var i=On(n.dtop);d.test.top=-n.dtop+"px",clearTimeout(ue),Wn(i.element,i.options,nn().scrollingSpeed,(function(){nn().scrollBar?ue=setTimeout((function(){ve(n)}),30):(ve(n),un({canScroll:!t||d.test.gn}))}))}t&&(clearTimeout(le),le=setTimeout((function(){un({canScroll:!0})}),e))}(a),un({C:a.anchorLink}),ee(a.anchorLink,function(n){return null!=n.hn?n.isMovementUp?an.A-1:0:n.sectionIndex}(a))}}}function de(n){var t=n.offsetHeight,e=n.offsetTop,i=e,r=sn("dragAndMove")&&fn("dragAndMove","isGrabbing")?fn("dragAndMove","isScrollingDown"):e>an.X,o=i-Ne()+t,a=nn().bigSectionsDestination;return t>Ne()?(r||a)&&"bottom"!==a||(i=o):(r||an.I&&null==Ce(n))&&(i=o),sn("offsetSections")&&(i=d.offsetSections.getSectionPosition_(r,i,n)),un({X:i}),i}function ve(n){un({D:!1}),function(n){null!=n.hn&&(n.isMovementUp?ni(je(O)[0],n.hn):qe(je(O)[ln().R.length-1],bi(n.element,O).reverse()),Dn(Jt()),function(){for(var n=je(z),t=0;t-1&&!ke.An)return ri(n),!1},yn:function(){ke.Tn=an.canScroll},onLeave:function(){clearTimeout(Se),ke.An=!1},afterLoad:function(){ke.An=!1,clearTimeout(Se),Se=setTimeout((function(){ke.Tn=an.canScroll}),200)},Rn:function(){u.activeElement===this.Mn&&(this.Mn.blur(),ke.An=!1)},Sn:function(){if(nn().scrollOverflow&&ke.Tn){ke.Rn();var n=ke.Ln(ln().L.item);!n||l||s||(this.Mn=n,requestAnimationFrame((function(){n.focus({jn:!0}),ke.An=!0}))),ke.Tn=!1}},bn:function(){nn().scrollOverflowMacStyle&&!c&&Ge(In,"fp-scroll-mac"),ln().rn.forEach((function(n){if(!(n.slides&&n.slides.length||De(n.item,"fp-auto-height-responsive")&&we())){var t,e=An(n.item),i=ke.mn(n.item),o=(t=n).nn?t:t.parent;if(f){var a=i?"addClass":"removeClass";r[a](o.item,F),r[a](n.item,F)}else Ge(o.item,F),Ge(n.item,F);n.q||(ke.zn(e),ke.Dn(e)),n.q=!0}}))},Dn:function(n){ke.Ln(n).addEventListener("scroll",ke.Nn),n.addEventListener("wheel",ke.kn,{passive:!1}),n.addEventListener("keydown",ke.En,{passive:!1})},zn:function(n){var t=document.createElement("div");t.className=C,Je(n,t),t.setAttribute("tabindex","-1")},Hn:function(n){var t=je(W,n)[0];t&&(Ke(t),n.removeAttribute("tabindex"))},Ln:function(n){var t=An(n);return je(W,t)[0]||t},q:function(n){return De(n,C)||null!=je(W,n)[0]},wn:function(n){return n.nn&&n.activeSlide?n.activeSlide.q:n.q},mn:function(n){return ke.Ln(n).scrollHeight>a.innerHeight},isScrolled:function(n,t){if(!an.canScroll)return!1;if(nn().scrollBar)return!0;var e=ke.Ln(t);if(!nn().scrollOverflow||!De(e,C)||De(t,"fp-noscroll")||De(An(t),"fp-noscroll"))return!0;var i=f?1:0,r=e.scrollTop,o="up"===n&&r<=0,a="down"===n&&e.scrollHeight<=Math.ceil(e.offsetHeight+r)+i,u=o||a;return u||"none"===n||(this.xn=(new Date).getTime()),u},In:function(){this.On=(new Date).getTime();var n=this.On-ke.xn,t=(l||s)&&an.Z,e=an.Y&&n>600;return t&&n>400||e},Nn:(xe=0,function(n){var t=n.target.scrollTop,e="none"!==an.V?an.V:xe1?t:document)?t.querySelectorAll(n):null}function ze(n){n=n||{};for(var t=1,e=arguments.length;t1&&(nn().controlArrows&&function(n){var t=n.item,e=[pi(nn().controlArrowsHTML[0]),pi(nn().controlArrowsHTML[1])];qe(je(N,t)[0],e),Ge(e,Z),Ge(e[0],G),Ge(e[1],"fp-next"),"#fff"!==nn().controlArrowColor&&(Ie(je(U,t),{"border-color":"transparent transparent transparent "+nn().controlArrowColor}),Ie(je(X,t),{"border-color":"transparent "+nn().controlArrowColor+" transparent transparent"})),nn().loopHorizontal||Be(je(X,t))}(n),nn().slidesNavigation&&function(n){var t=n.item,e=n.slides.length;Ue(pi('
    '),t);var i=je(V,t)[0];Ge(i,"fp-"+nn().slidesNavPosition);for(var r=0;r'+yt(r,"Slide",je(j,t)[r])+""),je("ul",i)[0]);Ie(i,{"margin-left":"-"+i.innerWidth/2+"px"});var o=n.activeSlide?n.activeSlide.index():0;Ge(je("a",je("li",i)[o]),y)}(n)),i.forEach((function(n){Ie(n.item,{width:o+"%"}),nn().verticalCentered&&be(n)}));var c=sn("responsiveSlides")?null:n.activeSlide||null;null!=c&&an.L&&(0!==an.L.index()||0===an.L.index()&&0!==c.index())?(It(c.item,"internal"),Ge(c.item,"fp-initial")):Ge(e[0],y)}window.fp_utils=Object.assign(a.fp_utils||{},{$:je,deepExtend:ze,hasClass:De,getWindowHeight:Ne,css:Ie,prev:Pe,next:Ce,last:We,index:Fe,getList:Ve,hide:Be,show:Ze,isArrayOrList:Ye,addClass:Ge,removeClass:Xe,appendTo:Ue,wrap:_e,wrapAll:Qe,wrapInner:Je,unwrap:Ke,closest:$e,after:qe,before:ni,insertBefore:ti,getScrollTop:ei,siblings:ii,preventDefault:ri,isFunction:si,trigger:fi,matches:di,toggle:vi,createElementFromHTML:pi,remove:hi,filter:gi,untilAll:mi,nextAll:wi,prevAll:bi,showError:Ee,scrollOverflowHandler:ke}),Jn.un(it,(function(){["click","touchstart"].forEach((function(n){ai(n,Oi,{passive:!1})})),ui("focus",Ei),Jn.un(rt,ki)}));var ji={attributes:!1,subtree:!0,childList:!0,characterData:!0};function zi(){return fn("responsiveSlides","isResponsiveSlidesChanging")||Le(je(nn().slideSelector,q())).length!==ln().O}function Di(n){var t=zi();(zi()||fn("responsiveSlides","isResponsiveSlidesChanging")||Le(je(nn().sectionSelector,q())).length!==ln().A)&&!an._&&(nn().observer&&Oe&&Oe.disconnect(),Ft(),Wt(),nn().anchors=[],hi(je(R)),fn("responsiveSlides","isResponsiveSlidesChanging")||Ri(),rn(),nn().navigation&&ne(),t&&(hi(je(V)),hi(je(Y))),ln().R.forEach((function(n){n.slides.length?t&&Li(n):Me(n)}))),nn().observer&&Oe&&je(h)[0]&&Oe.observe(je(h)[0],ji)}Jn.un(it,(function(){var n,t,e;nn().observer&&"MutationObserver"in window&&je(h)[0]&&(n=je(h)[0],t=ji,(e=new MutationObserver(Di)).observe(n,t),Oe=e),Jn.un(at,Di)})),Jn.un(rt,(function(){Oe&&(Oe.disconnect(),Oe=null)})),d.render=Di;var Ni=function(){var n=!1;try{var t=Object.defineProperty({},"passive",{get:function(){n=!0}});ui("testPassive",null,t),ci("testPassive",null,t)}catch(n){}return function(){return n}}();function Hi(){return!!Ni()&&{passive:!1}}var Ii,Pi,Ci,Wi,Fi=(Ci=(new Date).getTime(),Wi=[],{Cn:function(n){var t=(n=n||a.event).wheelDelta||-n.deltaY||-n.detail,e=Math.max(-1,Math.min(1,t)),i=void 0!==n.wheelDeltaX||void 0!==n.deltaX;Ii=Math.abs(n.wheelDeltaX)149&&Wi.shift(),Wi.push(Math.abs(t));var o=r-Ci;Ci=r,o>200&&(Wi=[])},Wn:function(){var n=Mi(Wi,10)>=Mi(Wi,70);return!!Wi.length&&n&&Ii},Fn:function(){return Pi}});function Vi(){var n=nn().css3?ei()+Ne():yi(ln().R).item.offsetTop+yi(ln().R).item.offsetHeight,t=On(n);d.test.top=-n+"px",un({canScroll:!1}),Wn(t.element,t.options,nn().scrollingSpeed,(function(){setTimeout((function(){un({D:!0}),un({canScroll:!0})}),30)}))}function Bi(){q().getBoundingClientRect().bottom>=0&&Zi()}function Zi(){var n=On(yi(ln().R).item.offsetTop);un({canScroll:!1}),Wn(n.element,n.options,nn().scrollingSpeed,(function(){un({canScroll:!0}),un({D:!1}),un({Vn:!1})}))}var Yi,Gi,Xi,Ui=(Yi=!1,Gi={},Xi={},function(n,t,e){switch(n){case"set":Gi[t]=(new Date).getTime(),Xi[t]=e;break;case"isNewKeyframe":var i=(new Date).getTime();Yi=i-Gi[t]>Xi[t]}return Yi});function _i(){var n=ln().L.next();n||!nn().loopBottom&&!nn().continuousVertical||(n=ln().R[0]),null!=n?fe(n,null,!1):q().scrollHeightJi&&kt().m.down&&_i()),Ji=n.pageY)}function $i(n){if(kt().m[n]){var t="down"===n?_i:Qi;sn("scrollHorizontally")&&(t=fn("scrollHorizontally","getScrollSection",{type:n,scrollSection:t})),nn().scrollOverflow&&ke.wn(ln().L)?ke.isScrolled(n,ln().L.item)&&ke.In()&&t():t()}}var qi,nr,tr,er=0,ir=0,rr=0,or=0,ar=vr(),ur={Bn:"ontouchmove"in window?"touchmove":ar?ar.move:null,Zn:"ontouchstart"in window?"touchstart":ar?ar.down:null};function lr(n){var t=$e(n.target,O)||ln().L.item,e=ke.wn(ln().L);if(cr(n)){un({Z:!0,Y:!1}),nn().autoScrolling&&(e&&!an.canScroll||nn().scrollBar)&&ri(n);var i=dr(n);rr=i.y,or=i.x;var r=Math.abs(er-rr)>a.innerHeight/100*nn().touchSensitivity,o=Math.abs(ir-or)>He()/100*nn().touchSensitivity,u=je(N,t).length&&Math.abs(ir-or)>Math.abs(er-rr),l=er>rr?"down":"up";un({V:u?ir>or?"right":"left":l}),u?!an.H&&o&&(ir>or?kt().m.right&&Jn.ln(nt,{section:t}):kt().m.left&&Jn.ln(qn,{section:t})):nn().autoScrolling&&an.canScroll&&r&&$i(l)}}function cr(n){return void 0===n.pointerType||"mouse"!=n.pointerType}function sr(n){if(nn().fitToSection&&un({F:!1}),cr(n)){var t=dr(n);er=t.y,ir=t.x}ui("touchend",fr)}function fr(){ci("touchend",fr),un({Z:!1})}function dr(n){var t={};return t.y=void 0!==n.pageY&&(n.pageY||n.pageX)?n.pageY:n.touches[0].pageY,t.x=void 0!==n.pageX&&(n.pageY||n.pageX)?n.pageX:n.touches[0].pageX,s&&cr(n)&&nn().scrollBar&&void 0!==n.touches&&(t.y=n.touches[0].pageY,t.x=n.touches[0].pageX),t}function vr(){var n;return a.PointerEvent&&(n={down:"pointerdown",move:"pointermove"}),n}function pr(n){nn().autoScrolling&&cr(n)&&kt().m.up&&(an.canScroll||ri(n))}function hr(n,t){var e=null==t?ln().L.item:t,i=Sn(an.R,e),r=je(N,e)[0];if(!(null==r||dn()||an.H||i.slides.length<2)){var o=i.activeSlide,a="left"===n?o.prev():o.next();if(!a){if(!nn().loopHorizontal)return;a="left"===n?yi(i.slides):i.slides[0]}un({H:!d.test.gn}),jt(r,a.item,n)}}function gr(n){hr("left",n)}function mr(n){hr("right",n)}function wr(n){var t=ln().R.filter((function(t){return t.anchor===n}))[0];if(!t){var e=void 0!==n?n-1:0;t=ln().R[e]}return t}function br(n){null!=n&&jt($e(n,N),n)}function Sr(n,t){var e=wr(n);if(null!=e){var i=function(n,t){var e=t.slides.filter((function(t){return t.anchor===n}))[0];return null==e&&(n=void 0!==n?n:0,e=t.slides[n]),e?e.item:null}(t,e);e.anchor&&e.anchor===an.C||De(e.item,y)?br(i):fe(e,(function(){br(i)}))}}function yr(n,t){var e=wr(n);void 0!==t?Sr(n,t):null!=e&&fe(e)}function Mr(){clearTimeout(nr),li("keydown",Tr),li("keyup",Ar)}function Tr(n){clearTimeout(nr);var t=n.keyCode,e=[37,39].indexOf(t)>-1,i=nn().autoScrolling||nn().fitToSection||e;9===t?function(n){var t=n.shiftKey,e=u.activeElement,i=Rr(An(ln().L.item));function r(n){return ri(n),i[0]?i[0].focus():null}if(an.canScroll){if(!function(n){var t=Rr(u),e=t.indexOf(u.activeElement),i=t[n.shiftKey?e-1:e+1],r=$e(i,j),o=$e(i,O);return!r&&!o}(n)){e?null==$e(e,".fp-section.active,.fp-section.active .fp-slide.active")&&(e=r(n)):r(n);var o=e==i[0],a=e==i[i.length-1],l=t&&o;if(l||!t&&a){ri(n);var c=function(n){var t,e=n?"prevPanel":"nextPanel",i=[],r=xn((an.L&&an.L.activeSlide?an.L.activeSlide:an.L)[e]());do{(i=Rr(r.item)).length&&(t={Yn:r,Gn:i[n?i.length-1:0]}),r=xn(r[e]())}while(r&&0===i.length);return t}(l),s=c?c.Yn:null;if(s){var f=s.nn?s:s.parent;Jn.ln(lt,{Xn:f.index()+1,slideAnchor:s.nn?0:s.index()}),tr=c.Gn,ri(n)}}}}else ri(n)}(n):!xi()&&nn().keyboardScrolling&&i&&(qi=n.ctrlKey,nr=setTimeout((function(){!function(n){var t=n.shiftKey,e=u.activeElement,i=di(e,"video")||di(e,"audio"),r=ke.isScrolled("up",ln().L.item),o=ke.isScrolled("down",ln().L.item),a=[37,39].indexOf(n.keyCode)>-1;if(function(n){(function(n){return[40,38,32,33,34].indexOf(n.keyCode)>-1&&!an.D})(n)&&!$e(n.target,W)&&n.preventDefault()}(n),an.canScroll||a)switch(un({j:"keydown"}),fi(q(),"keydown",n),n.keyCode){case 38:case 33:kt().k.up&&r?an.D?Jn.ln(ct,{e:n}):Qi():ke.Sn();break;case 32:if(t&&kt().k.up&&!i&&r){Qi();break}case 40:case 34:if(kt().k.down&&o){if(an.D)return;32===n.keyCode&&i||_i()}else ke.Sn();break;case 36:kt().k.up&&yr(1);break;case 35:kt().k.down&&yr(ln().R.length);break;case 37:kt().k.left&&gr();break;case 39:kt().k.right&&mr()}}(n)}),0))}function Ar(n){an.G&&(qi=n.ctrlKey)}function xr(){un({G:!1}),qi=!1}function Or(n){Er()}function kr(n){$e(tr,j)&&!$e(tr,z)||Er()}function Er(){tr&&(tr.focus(),tr=null)}function Rr(n){return[].slice.call(je('a[href], area[href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), iframe, object, embed, [tabindex="0"], summary:not([disabled]), [contenteditable]',n)).filter((function(n){return"-1"!==oi(n,"tabindex")&&null!==n.offsetParent}))}d.moveSlideLeft=gr,d.moveSlideRight=mr,d.moveTo=yr,Jn.un(it,(function(){ui("blur",xr),ai("keydown",Tr),ai("keyup",Ar),Jn.un(rt,Mr),Jn.un(wt,Or),Jn.un(mt,kr)}));var Lr=(new Date).getTime(),jr=[];function zr(n){n?(function(){var n,t="";a.addEventListener?n="addEventListener":(n="attachEvent",t="on");var e="onwheel"in u.createElement("div")?"wheel":void 0!==u.onmousewheel?"mousewheel":"DOMMouseScroll",i=Hi();"DOMMouseScroll"==e?u[n](t+"MozMousePixelScroll",Dr,i):u[n](t+e,Dr,i)}(),q().addEventListener("mousedown",Nr),q().addEventListener("mouseup",Hr)):(u.addEventListener?(li("mousewheel",Dr,!1),li("wheel",Dr,!1),li("MozMousePixelScroll",Dr,!1)):u.detachEvent("onmousewheel",Dr),q().removeEventListener("mousedown",Nr),q().removeEventListener("mouseup",Hr))}function Dr(n){var t=(new Date).getTime(),e=De(je(".fp-completely")[0],"fp-normal-scroll"),i=function(n,t){(new Date).getTime();var e=ln().D&&n.getBoundingClientRect().bottom>=0&&"up"===Fi.Fn(),i=ln().Vn;if(i)return ri(t),!1;if(ln().D){if(e){var r;if(!(i||Ui("isNewKeyframe","beyondFullpage")&&Fi.Wn()))return(r=On(yi(ln().R).item.offsetTop+yi(ln().R).item.offsetHeight)).element.scrollTo(0,r.options),un({Vn:!1}),ri(t),!1;if(Fi.Wn())return e=!1,un({Vn:!0}),un({j:"wheel"}),Zi(),ri(t),!1}else Ui("set","beyondFullpage",1e3);if(!i&&!e)return!0}}(q(),n);if(an.Y||un({Z:!1,Y:!0,V:"none"}),!kt().m.down&&!kt().m.up)return!1;if(i)return!0;if(!1===i)return ri(n),!1;if(nn().autoScrolling&&!qi&&!e){var r=(n=n||a.event).wheelDelta||-n.deltaY||-n.detail,o=Math.max(-1,Math.min(1,r)),u=void 0!==n.wheelDeltaX||void 0!==n.deltaX,l=Math.abs(n.wheelDeltaX)0?"up":"none";jr.length>149&&jr.shift(),jr.push(Math.abs(r)),!nn().scrollBar&&nn().scrollOverflow||ri(n);var s=t-Lr;return Lr=t,s>200&&(jr=[]),un({B:c}),an.canScroll&&!dn()&&Mi(jr,10)>=Mi(jr,70)&&l&&(un({j:"wheel"}),$i(o<0?"down":"up")),!1}nn().fitToSection&&un({F:!1})}function Nr(n){var t;2==n.which&&(t=n.pageY,Ji=t,q().addEventListener("mousemove",Ki))}function Hr(n){2==n.which&&q().removeEventListener("mousemove",Ki)}function Ir(n){n?(zr(!0),function(){if(ur.Bn&&(l||s)&&(!sn("dragAndMove")||"mouseonly"===nn().dragAndMove)){nn().autoScrolling&&(In.removeEventListener(ur.Bn,pr,{passive:!1}),In.addEventListener(ur.Bn,pr,{passive:!1}));var n=nn().touchWrapper;n.removeEventListener(ur.Zn,sr),n.removeEventListener(ur.Bn,lr,{passive:!1}),n.addEventListener(ur.Zn,sr),n.addEventListener(ur.Bn,lr,{passive:!1})}}()):(zr(!1),function(){if(ur.Bn&&(l||s)){nn().autoScrolling&&(In.removeEventListener(ur.Bn,lr,{passive:!1}),In.removeEventListener(ur.Bn,pr,{passive:!1}));var n=nn().touchWrapper;n.removeEventListener(ur.Zn,sr),n.removeEventListener(ur.Bn,lr,{passive:!1})}}())}d.setMouseWheelScrolling=zr;var Pr=!0;function Cr(){["mouseenter","touchstart","mouseleave","touchend"].forEach((function(n){li(n,Fr,!0)}))}function Wr(n,t){document["fp_"+n]=t,ai(n,Fr,!0)}function Fr(n){var t=n.type,e=!1,i="mouseleave"===t?n.toElement||n.relatedTarget:n.target;i!=document&&i?("touchend"===t&&(Pr=!1,setTimeout((function(){Pr=!0}),800)),("mouseenter"!==t||Pr)&&(nn().normalScrollElements.split(",").forEach((function(n){if(!e){var t=di(i,n),r=$e(i,n);(t||r)&&(d.shared.isNormalScrollElement||Ir(!1),d.shared.isNormalScrollElement=!0,e=!0)}})),!e&&d.shared.isNormalScrollElement&&(Ir(!0),d.shared.isNormalScrollElement=!1))):Ir(!0)}function Vr(n,t){Nn(0,"internal"),yr(n,t),Nn(tn().scrollingSpeed,"internal")}Jn.un(it,(function(){nn().normalScrollElements&&(["mouseenter","touchstart"].forEach((function(n){Wr(n,!1)})),["mouseleave","touchend"].forEach((function(n){Wr(n,!0)}))),Jn.un(rt,Cr)})),d.silentMoveTo=Vr;var Br,Zr,Yr=Ne(),Gr=He(),Xr=!1;function Ur(){clearTimeout(Br),clearTimeout(Zr),ci("resize",_r)}function _r(){Xr||(nn().autoScrolling&&!nn().scrollBar||!nn().fitToSection)&&Jr(Ne()),an.K&&function(){if(l)for(var n=0;n<4;n++)Zr=setTimeout((function(){window.requestAnimationFrame((function(){nn().autoScrolling&&!nn().scrollBar&&(un({I:!0}),Vr(an.L.index()+1),un({I:!1}))}))}),200*n)}(),Xr=!0,clearTimeout(Br),Br=setTimeout((function(){!function(){var n,t,e;if(un({I:!0}),(!l||nn().adjustOnNavChange)&&(Jr(""),fi(q(),"onResize"),an.D||nn().autoScrolling||(n=.01*a.innerHeight,u.documentElement.style.setProperty("--vh","".concat(n,"px")))),Jn.ln(at),Wt(),ge(),l){var i=u.activeElement;if(!di(i,"textarea")&&!di(i,"input")&&!di(i,"select")){var r=Ne();Math.abs(r-Yr)>20*Math.max(Yr,r)/100&&(Qr(!0),Yr=r)}}else t=Ne(),e=He(),an.U===t&&Gr===e||(un({U:t}),Gr=e,Qr(!0));fi(q(),"onResizeEnds"),un({I:!1})}(),Xr=!1}),400)}function Qr(n){if(!De(q(),b)){un({I:!0,U:Ne(),Un:He()});for(var t=ln().R,e=0;e1&&jt(r,i.activeSlide.item)}nn().scrollOverflow&&ke.bn();var u=ln().L.index();an.D||!u||sn("fadingEffect")||sn("dropEffect")||sn("waterEffect")||Vr(u+1),un({I:!1}),si(nn().afterResize)&&n&&nn().afterResize.call(q(),a.innerWidth,a.innerHeight),si(nn().afterReBuild)&&!n&&nn().afterReBuild.call(q()),fi(q(),"afterRebuild")}}function Jr(n){ln().R.forEach((function(t){var e=""!==n||sn("offsetSections")?pn(t.item):"";Ie(t.item,{height:e})}))}function Kr(){var n,t,e=a.location.hash;if(e.length){var i=e.replace("#","").split("/"),r=e.indexOf("#/")>-1;n=r?"/"+i[1]:decodeURIComponent(i[0]);var o=r?i[2]:i[1];o&&o.length&&(t=decodeURIComponent(o))}return{section:n,pn:t}}function $r(){ci("hashchange",qr)}function qr(){if(!an.P&&!nn().lockAnchors){var n=Kr(),t=n.section,e=n.pn,i=void 0===an.C,r=void 0===an.C&&void 0===e&&!an.H;t&&t.length&&(t&&t!==an.C&&!i||r&&!dn()||!an.H&&an.W!=e&&!dn())&&Jn.ln(lt,{Xn:t,slideAnchor:e})}}function no(n){var t=n.target;$e(t,nn().menu+" [data-menuanchor]")&&to.call(t,n.e)}function to(n){if(un({j:"menu"}),je(nn().menu)[0]&&(nn().lockAnchors||!nn().anchors.length)){ri(n);var t=$e(this,"[data-menuanchor]");Jn.ln(st,{anchor:oi(t,"data-menuanchor")})}}function eo(n){var t=n.target;t&&$e(t,"#fp-nav a")?te.call(t,n.e):di(t,".fp-tooltip")?qt.call(t):(di(t,B)||null!=$e(t,B))&&Mt.call(t,n.e)}d.reBuild=Qr,Jn.un(it,(function(){_r(),ui("resize",_r),Jn.un(rt,Ur)})),d.setLockAnchors=function(n){nn().lockAnchors=n},Jn.un(it,(function(){ui("hashchange",qr),Jn.un(rt,$r)})),Jn.un(it,(function(){ai("wheel",Fi.Cn,Hi()),Jn.un(vt,Vi),Jn.un(ct,Bi)})),Jn.un(it,(function(){Jn.un($n,no)})),Jn.un(it,(function(){Jn.un($n,eo)}));var io,ro,oo=0;function ao(n){var t,e,i,r,o;if(fi(q(),"onScroll"),!an.I&&ln().L&&(yi(ln().R),!ln().D&&!ln().Vn&&(!nn().autoScrolling||nn().scrollBar||sn("dragAndMove"))&&!vn())){var a=sn("dragAndMove")?Math.abs(fn("dragAndMove","getCurrentScroll")):ei(),u=function(n){var t=n>oo?"down":"up";return oo=n,un({X:n}),t}(a),c=0,s=a+Ne()/2,f=(sn("dragAndMove")?fn("dragAndMove","getDocumentHeight"):In.scrollHeight-Ne())===a,d=ln().R;if(un({scrollY:a}),f)c=d.length-1;else if(a)for(var v=0;v=ei()+Ne():r<=ei())&&(De(ln().L.item,T)||(Ge(ln().L.item,T),Xe(ii(ln().L.item),T))),e=(t=d[c]).item,!t.isActive){un({P:!0});var p,h,g=ln().L.item,m=ln().L.index()+1,w=Rn(ln().L,e),b=t.anchor,S=t.index()+1,M=t.activeSlide,A={L:g,sectionIndex:S-1,anchorLink:b,element:e,leavingSection:m,direction:w,items:{origin:ln().L,destination:t}};if(M&&(h=M.anchor,p=M.index()),an.canScroll)Xe(d.filter((function(n){return n.index()!==t.index()})).map((function(n){return n.item})),y),Ge(e,y),fn("parallax","afterLoad"),si(nn().beforeLeave)&&se("beforeLeave",A),si(nn().onLeave)&&Ut("onLeave",A),si(nn().afterLoad)&&Ut("afterLoad",A),fn("resetSliders","apply",{localIsResizing:an.I,leavingSection:m}),Zn(g),Gn(t),Vn(e),ee(b,S-1),nn().anchors.length&&un({C:b}),Wt(),bt(p,h,b);clearTimeout(io),io=setTimeout((function(){un({P:!1})}),100)}nn().fitToSection&&an.canScroll&&(clearTimeout(ro),ro=setTimeout((function(){var n;if(!an.R.filter((function(n){var t=n.item.getBoundingClientRect();return Math.round(t.bottom)===Math.round(Ne())||0===Math.round(t.top)})).length){if(l&&(n=document.activeElement)&&n.matches("input, textarea"))return;he()}}),nn().fitToSectionDelay))}}function uo(n){var t=n.items.destination.activeSlide;un({scrollX:t?Math.round(t.offsetLeft):0})}function lo(n){var t=nn().skipIntermediateItems,e=n.items.origin.nn?"sections":"slides",i=Math.abs(n.items.origin.index()-n.items.destination.index())>1;(!0===t||t===e)&&i&&Nn(0,"internal")}function co(){nn().skipIntermediateItems&&en("scrollingSpeed",tn().scrollingSpeed,"internal")}function so(n,t){void 0!==t?(t=t.replace(/ /g,"").split(",")).forEach((function(t){Ot(n,t,"k")})):(Ot(n,"all","k"),nn().keyboardScrolling=n)}function fo(n){var t=n.index();void 0!==nn().anchors[t]&&n.isActive&&ee(nn().anchors[t],t),nn().menu&&nn().css3&&null!=$e(je(nn().menu)[0],h)&&je(nn().menu).forEach((function(n){In.appendChild(n)}))}function vo(){var n,t,e=ln().L,i=ln().L.item;Ge(i,T),Gn(ln().L),$t(),Vn(i),t=wr((n=Kr()).section),n.section&&t&&(void 0===t||t.index()!==Fe(ye))||!si(nn().afterLoad)||Ut("afterLoad",{L:i,element:i,direction:null,anchorLink:e.anchor,sectionIndex:e.index(),items:{origin:ln().L,destination:ln().L}}),si(nn().afterRender)&&Ut("afterRender"),fi(q(),"afterRender")}function po(n,t){void 0!==t?(t=t.replace(/ /g,"").split(",")).forEach((function(t){Ot(n,t,"m")})):Ot(n,"all","m"),fi(q(),"setAllowScrolling",{value:n,_n:t})}function ho(){var n=Kr(),t=n.section,e=n.pn;t?nn().animateAnchor?Sr(t,e):Vr(t,e):Jn.ln(Kn,null)}Jn.un(rt,(function(){clearTimeout(io),clearTimeout(ro)})),Jn.un(it,(function(){ui("scroll",ao),u.body.addEventListener("scroll",ao),Jn.un(lt,(function(n){Sr(n.Xn,n.slideAnchor)})),Jn.un(st,(function(n){yr(n.anchor,void 0)})),Jn.un(ut,(function(n){("down"===n.direction?_i:Qi)()})),Jn.un(ft,(function(n){fe(n.destination)}))})),Jn.un(rt,(function(){ci("scroll",ao)})),d.getActiveSlide=function(){return Xt(ln().L.activeSlide)},d.getScrollX=function(){return an.scrollX},Jn.un(it,(function(){Jn.un(rt,Nt),Jn.un(dt,(function(n){jt(n.slides,n.destination)})),Jn.un(nt,(function(n){mr(n.section)})),Jn.un(qn,(function(n){gr(n.section)})),Jn.un(mt,uo)})),Jn.un(it,(function(){var n=nn().credits.position,t=["left","right"].indexOf(n)>-1?"".concat(n,": 0;"):"",e='\n \n "),i=yi(an.R),r=!an.Qn||nn().credits.enabled;i&&i.item&&r&&i.item.insertAdjacentHTML("beforeend",e)})),function(){Jn.un(tt,(function(){var t,u,l;un({Qn:(nn().licenseKey,t=nn().licenseKey,u=function(t){var e=parseInt("514").toString(16);if(!t||t.length<29||4===t.split(n[0]).length)return null;var i=["Each","for"][r()]().join(""),u=t[["split"]]("-"),l=[];u[i]((function(n,t){if(t<4){var i=function(n){var t=n[n.length-1],e=["NaN","is"][r()]().join("");return window[e](t)?o(t):function(n){return n-y.length}(t)}(n);l.push(i);var a=o(n[i]);if(1===t){var u=["pa","dS","t","art"].join("");a=a.toString()[u](2,"0")}e+=a,0!==t&&1!==t||(e+="-")}}));var c=0,s="";return t.split("-").forEach((function(n,t){if(t<4){for(var e=0,i=0;i<4;i++)i!==l[t]&&(e+=Math.abs(o(n[i])),isNaN(n[i])||c++);var r=a(e);s+=r}})),s+=a(c),{Jn:new Date(e+"T00:00"),Kn:e.split("-")[2]===8*(y.length-2)+"",$n:s}}(t),l=function(n){var t=i[r()]().join("");return n&&0===t.indexOf(n)&&n.length===t.length}(t)||function(n){return new RegExp("^(?=.*?[A-Y])(?=.*?[a-y])(?=.*?[0-8])(?=.*?[#?!@$%^&*-]).{8,}$").test(n)}(t),(u||l)&&(u&&e<=u.Jn&&u.$n===t.split(n[0])[4]||l||u.Kn)||!1)})}));var n=["-"],t="2025-5-26".split("-"),e=new Date(t[0],t[1],t[2]),i=["se","licen","-","v3","l","gp"];function r(){return[["re","verse"].join("")]["".length]}function o(n){return n?isNaN(n)?n.charCodeAt(0)-72:n:""}function a(n){var t=72+n;return t>90&&t<97&&(t+=15),String.fromCharCode(t).toUpperCase()}}(),Jn.un(pt,lo),Jn.un(mt,co),Jn.un(ht,lo),Jn.un(wt,co),Jn.un(et,(function(){so(!0)})),d.setKeyboardScrolling=so,d.shared.afterRenderActions=vo,d.setAllowScrolling=po;var go={};function mo(){return go}var wo,bo,So,yo,Mo=!De(In,gn("OHNsd3AtZnVsbHBhZ2UtanM5T20="));function To(n){if(bo=u.createElement("div"),wo=gn("MTIzPGRpdj48YSBocmVmPSJodHRwOi8vYWx2YXJvdHJpZ28uY29tL2Z1bGxQYWdlL2V4dGVuc2lvbnMvIiBzdHlsZT0iY29sb3I6ICNmZmYgIWltcG9ydGFudDsgdGV4dC1kZWNvcmF0aW9uOm5vbmUgIWltcG9ydGFudDsiPlVubGljZW5zZWQgZnVsbFBhZ2UuanMgRXh0ZW5zaW9uPC9hPjwvZGl2PjEyMw=="),Mo||(wo=wo.replace("extensions/","").replace("Extension","")),bo.innerHTML=wo,bo=bo.firstChild,"MutationObserver"in window&&new MutationObserver(xo).observe(u.body,{childList:!0,subtree:!1}),(!Mo||sn(n)&&d[n])&&(!function(n){var t=void 0!==mo()[n]&&mo()[n].length,e=[],i=!1;return Ye(mo()[n])?e=mo()[n]:e.push(mo()[n]),e.forEach((function(e){var r=function(){if(u.domain.length){for(var n=u.domain.replace(/^(www\.)/,"").split(".");n.length>2;)n.shift();return n.join(".").replace(/(^\.*)|(\.*$)/g,"")}return""}(),o=["MTM0bG9jYWxob3N0MjM0","MTM0MC4xMjM0","MTM0anNoZWxsLm5ldDIzNA==","UDdDQU5ZNlNN","NTY3YnVuZGxlNzg5","NTU1S2V5Nzc3","NDU2dGVzdDQ1Ng=="],a=gn(o[0]),l=gn(o[1]),c=gn(o[2]),s=gn(o[6]),f=gn(o[3]),d=gn(o[4]),v=gn(o[5]),p=void 0!==nn()[d+v];t=t||p;var h=[a,l,c,s].indexOf(r)<0&&0!==r.length;if(!t&&!p&&h)return!1;var g=t?gn(e):"",m=(g=g.split("_")).length>1&&g[1].indexOf(n,g[1].length-n.length)>-1,w=g.length>1&&g[1].toLowerCase().indexOf(d)>-1,b=g[0].indexOf(r,g[0].length-r.length)<0,S=m||w;i=i||!(b&&h&&f!=g[0])&&S||!h})),i}(n)||!Mo)){Ao();var t=gn("MzQ1c2V0SW50ZXJ2YWwxMjM=");window[t](Ao,2e3)}}function Ao(){bo&&(yo||(Math.random()<.5?hn(In,bo):Ue(bo,In),yo=!0),bo.setAttribute("style",gn("MTIzei1pbmRleDo5OTk5OTk5O3Bvc2l0aW9uOmZpeGVkO3RvcDoyMHB4O2JvdHRvbTphdXRvO2xlZnQ6MjBweDtyaWdodDphdXRvO2JhY2tncm91bmQ6cmVkO3BhZGRpbmc6N3B4IDE1cHg7Zm9udC1zaXplOjE0cHg7Zm9udC1mYW1pbHk6YXJpYWw7Y29sb3I6I2ZmZjtkaXNwbGF5OmlubGluZS1ibG9jazt0cmFuc2Zvcm06dHJhbnNsYXRlM2QoMCwwLDApO29wYWNpdHk6MTtoZWlnaHQ6YXV0bzt3aWR0aDphdXRvO3pvb206MTttYXJnaW46YXV0bztib3JkZXI6bm9uZTt2aXNpYmlsaXR5OnZpc2libGU7Y2xpcC1wYXRoOm5vbmU7MTIz").replace(/;/g,gn("MTIzICFpbXBvcnRhbnQ7MzQ1"))))}function xo(n){n.forEach((function(n){if(n.removedNodes[0]&&n.removedNodes[0].isEqualNode(bo)){clearTimeout(So);var t=gn("bDIwc2V0VGltZW91dDAzbA==");So=window[t](Oo,900)}}))}function Oo(){yo=!1}function ko(){Ft(),Wt(),nn().scrollBar=nn().scrollBar||nn().hybrid,rn(),function(){Ie(Ai(q(),"body"),{height:"100%",position:"relative"}),Ge(q(),p),Ge(Pn,S),un({U:Ne()}),Xe(q(),b),Ri(),fn("parallax","init");for(var n=ln().tn,t=0;t0&&Li(e)}nn().fixedElements&&nn().css3&&je(nn().fixedElements).forEach((function(n){In.appendChild(n)})),nn().navigation&&ne(),je('iframe[src*="youtube.com/embed/"]',q()).forEach((function(n){var t,e;e=oi(t=n,"src"),t.setAttribute("src",e+(/\?/.test(e)?"&":"?")+"enablejsapi=1")})),fn("fadingEffect","apply"),fn("waterEffect","init"),fn("dropEffect","init"),fn("cards","init"),fn("effects","init"),fn("continuousHorizontal","afterRender"),nn().scrollOverflow&&ke.bn()}(),po(!0),Ir(!0),Qt(nn().autoScrolling,"internal"),ge(),Un(),"complete"===u.readyState&&ho(),ui("load",ho),vo(),Mo||To("l"),Ft(),Wt()}function Eo(){var n=nn().licenseKey;""===nn().licenseKey.trim()?(Ee("error","Fullpage.js requires a `licenseKey` option. Read about it on the following website:"),Ee("error","https://alvarotrigo.com/fullPage/docs/#licensekey")):nn()&&an.Qn||u.domain.indexOf("alvarotrigo.com")>-1?n&&n.length:(Ee("error","Incorrect `licenseKey`. Get one for fullPage.js version 4 here:"),Ee("error","https://alvarotrigo.com/fullPage/pricing")),De(Pn,S)?Ee("error","Fullpage.js can only be initialized once and you are doing it multiple times!"):(nn().continuousVertical&&(nn().loopTop||nn().loopBottom)&&(nn().continuousVertical=!1,Ee("warn","Option `loopTop/loopBottom` is mutually exclusive with `continuousVertical`; `continuousVertical` disabled")),!nn().scrollOverflow||!nn().scrollBar&&nn().autoScrolling||Ee("warn","Options scrollBar:true and autoScrolling:false are mutually exclusive with scrollOverflow:true. Sections with scrollOverflow might not work well in Firefox"),!nn().continuousVertical||!nn().scrollBar&&nn().autoScrolling||(nn().continuousVertical=!1,Ee("warn","Scroll bars (`scrollBar:true` or `autoScrolling:false`) are mutually exclusive with `continuousVertical`; `continuousVertical` disabled")),nn().anchors.forEach((function(n){var t=[].slice.call(je("[name]")).filter((function(t){return oi(t,"name")&&oi(t,"name").toLowerCase()==n.toLowerCase()})),e=[].slice.call(je("[id]")).filter((function(t){return oi(t,"id")&&oi(t,"id").toLowerCase()==n.toLowerCase()}));if(e.length||t.length){Ee("error","data-anchor tags can not have the same value as any `id` element on the site (or `name` element for IE).");var i=e.length?"id":"name";(e.length||t.length)&&Ee("error",'"'+n+'" is is being used by another element `'+i+"` property")}})))}function Ro(){return{options:nn(),internals:{container:q(),canScroll:an.canScroll,isScrollAllowed:kt(),getDestinationPosition:de,isTouch:s,c:To,getXmovement:Dt,removeAnimation:Ln,getTransforms:jn,lazyLoad:Yn,addAnimation:En,performHorizontalMove:zt,landscapeScroll:jt,silentLandscapeScroll:It,keepSlidesPosition:Kt,silentScroll:Dn,styleSlides:Li,styleSection:Me,scrollHandler:ao,getEventsPage:dr,getMSPointer:vr,isReallyTouch:cr,usingExtension:sn,toggleControlArrows:Rt,touchStartHandler:sr,touchMoveHandler:lr,nullOrSection:Gt,items:{SectionPanel:Zt,SlidePanel:Yt,Item:wn},getVisible:Le,getState:ln,updateState:Wt,updateStructuralState:Ft,activeSlidesNavigation:Tt,getPanels:function(){return an.rn},getSections:function(){return an.R},setActiveSection:function(n){an.L=n}}}}function Lo(n){var t=["NTY3YnVuZGxlNzg5","NTU1S2V5Nzc3"],e=gn(t[0]),i=gn(t[1]),r=void 0!==nn()[e+i],o="fp_"+n+"Extension";mo()[n]=r?nn()[e+i]:nn()[n+i],d[n]=void 0!==window[o]?new window[o]:null,d[n]&&d[n].c(n)}function jo(n,t){var e;if(In=je("body")[0],Pn=je("html")[0],Cn=je("html, body"),!De(Pn,S))return"touchWrapper",e="string"==typeof n?je(n)[0]:n,_.touchWrapper=e,function(n){$=ze({},_,n),K=Object.assign({},$)}(t),function(n){Q=n}("string"==typeof n?je(n)[0]:n),Jn.ln(tt),Eo(),d.getFullpageData=Ro,d.version="4.0.37",d.test=Object.assign(d.test,{top:"0px",on:"translate3d(0px, 0px, 0px)",cn:function(){for(var n=[],t=0;t>>0;if("function"!=typeof n)throw new TypeError("predicate must be a function");for(var r=arguments[1],i=0;i0?1:-1)*Math.floor(Math.abs(t)):t}(n);return Math.min(Math.max(t,0),e)},function(n){var e=this,i=Object(n);if(null==n)throw new TypeError("Array.from requires an array-like object - not null or undefined");var o,a=arguments.length>1?arguments[1]:void 0;if(void 0!==a){if(!t(a))throw new TypeError("Array.from: when provided, the second argument must be a function");arguments.length>2&&(o=arguments[2])}for(var u,l=r(i.length),c=t(e)?Object(new e(l)):new Array(l),s=0;s0||navigator.maxTouchPoints,f=!!window.MSInputMethodContext&&!!document.documentMode,d={test:{},shared:{}},v=(o=window.self!==window.top,function(){return o});a.NodeList&&!NodeList.prototype.forEach&&(NodeList.prototype.forEach=function(n,t){t=t||window;for(var e=0;e','
    '],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"},cards:!1,cardsOptions:{perspective:100,fadeContent:!0,fadeBackground:!0},sectionSelector:".section",slideSelector:".slide",afterLoad:null,beforeLeave:null,onLeave:null,afterRender:null,afterResize:null,afterReBuild:null,afterSlideLoad:null,onSlideLeave:null,afterResponsive:null,onScrollOverflow:null,lazyLoading:!0,lazyLoadThreshold:0,observer:!0,scrollBeyondFullpage:!0},Q=null,J=!1,K=je({},_),$=null;function q(n){return Q}function nn(){return $||_}function tn(){return K}function en(n,t,e){$[n]=t,"internal"!==e&&(K[n]=t)}function rn(){if(!nn().anchors.length){var n=Re(nn().sectionSelector.split(",").join("[data-anchor],")+"[data-anchor]",Q);n.length&&n.length===Re(nn().sectionSelector,Q).length&&(J=!0,n.forEach((function(n){nn().anchors.push(or(n,"data-anchor").toString())})))}if(!nn().navigationTooltips.length){var t=Re(nn().sectionSelector.split(",").join("[data-tooltip],")+"[data-tooltip]",Q);t.length&&t.forEach((function(n){nn().navigationTooltips.push(or(n,"data-tooltip").toString())}))}}var on={A:0,O:0,slides:[],D:[],L:null,R:null,j:!1,H:!1,N:!1,I:!1,P:!1,C:void 0,W:void 0,F:!1,canScroll:!0,B:"none",V:"none",Z:!1,G:!1,Y:!0,U:0,X:He(),_:!1,J:{},scrollY:0,scrollX:0,K:!1},an=Object.assign({},on);function un(n){Object.assign(an,n)}function ln(){return an}function cn(n){return void 0!==window["fp_"+n+"Extension"]}function sn(n){var t=nn();return null!==t[n]&&"[object Array]"===Object.prototype.toString.call(t[n])?t[n].length&&d[n]:t[n]&&d[n]}function fn(n,t,e){if(sn(n))return sr(d[n][t])?d[n][t](e):d[n][t]}function dn(){return fn("dragAndMove","isAnimating")}function vn(){return fn("dragAndMove","isGrabbing")}function pn(n){if(nn().offsetSections&&d.offsetSections){var t=fn("offsetSections","getWindowHeight",n);return""!==t?Math.round(t)+"px":t}return He()+"px"}function hn(n,t){n.insertBefore(t,n.firstChild)}function gn(n){var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";function e(n){var e,r,i,o,a,u,l="",c=0;for(n=n.replace(/[^A-Za-z0-9+/=]/g,"");c>4,r=(15&o)<<4|(a=t.indexOf(n.charAt(c++)))>>2,i=(3&a)<<6|(u=t.indexOf(n.charAt(c++))),l+=String.fromCharCode(e),64!=a&&(l+=String.fromCharCode(r)),64!=u&&(l+=String.fromCharCode(i));return l=function(n){for(var t,e="",r=0,i=0,o=0;r191&&i<224?(o=n.charCodeAt(r+1),e+=String.fromCharCode((31&i)<<6|63&o),r+=2):(o=n.charCodeAt(r+1),t=n.charCodeAt(r+2),e+=String.fromCharCode((15&i)<<12|(63&o)<<6|63&t),r+=3);return e}(l),l}function r(n){return n.slice(3).slice(0,-3)}return function(n){var t=n.split("_");if(t.length>1){var i=t[1];return e(n.replace(r(t[1]),"").split("_")[0].slice(2).slice(0,-2))+"_"+e(i.slice(3).slice(0,-3))}return r(n)}(e(n))}a.state=an,a.fp_utils=a.fp_utils||{},Object.assign(a.fp_utils,{prependTo:hn,toggleClass:function(n,t,e){if(n.classList&&null==e)n.classList.toggle(t);else{var r=ze(n,t);r&&null==e||!e?Ue(n,t):(!r&&null==e||e)&&Ye(n,t)}}});var mn=function(n){this.anchor=n.anchor,this.item=n.item,this.index=n.index(),this.isLast=this.index===n.item.parentElement.querySelectorAll(n.selector).length-1,this.isFirst=!this.index,this.isActive=n.isActive},wn=function(n,t){this.parent=this.parent||null,this.selector=t,this.anchor=or(n,"data-anchor")||nn().anchors[Fe(n,nn().sectionSelector)],this.item=n,this.isVisible=De(n),this.isActive=ze(n,y),this.q=ze(n,C)||null!=Re(W,n)[0],this.nn=t===nn().sectionSelector,this.container=$e(n,I)||$e(n,h),this.index=function(){return this.siblings().indexOf(this)}};function bn(n){return n.map((function(n){return n.item}))}function Sn(n,t){return n.find((function(n){return n.item===t}))}wn.prototype.siblings=function(){return this.nn?this.isVisible?an.D:an.tn:this.parent?this.parent.slides:0},wn.prototype.prev=function(){var n=this.siblings(),t=(this.nn?n.indexOf(this):this.parent.slides.indexOf(this))-1;return t>=0?n[t]:null},wn.prototype.next=function(){var n=this.siblings(),t=(this.nn?n.indexOf(this):this.parent.slides.indexOf(this))+1;return tr?"up":"down"}function Ln(n){return Ye(n,w)}function Rn(n){return{"-webkit-transform":n,"-moz-transform":n,"-ms-transform":n,transform:n}}function jn(n,t){t?En(q()):Ln(q()),clearTimeout(yn),Ie(q(),Rn(n)),d.test.on=n,yn=setTimeout((function(){Ue(q(),w)}),10)}function zn(n){var t=Math.round(n);if(nn().css3&&nn().autoScrolling&&!nn().scrollBar)jn("translate3d(0px, -"+t+"px, 0px)",!1);else if(nn().autoScrolling&&!nn().scrollBar)Ie(q(),{top:-t+"px"}),d.test.top=-t+"px";else{var e=On(t);kn(e.element,e.options)}}function Hn(n,t){"internal"!==t&&(fn("fadingEffect","update",n),fn("effects","update",n)),fn("cards","update_",n),en("scrollingSpeed",n,t)}d.setScrollingSpeed=Hn;var Nn,In=null,Pn=null,Cn=null;function Wn(n,t,e,r){var i,o=function(n){return n.self!=a&&ze(n,z)?n.scrollLeft:!nn().autoScrolling||nn().scrollBar?er():n.offsetTop}(n),u=t-o,l=!1,c=an.F;un({F:!0}),Nn&&window.cancelAnimationFrame(Nn),Nn=function(s){i||(i=s);var f=Math.floor(s-i);if(an.F){var d=t;e&&(d=a.fp_easings[nn().easing](f,o,u,e)),f<=e&&kn(n,d),f=n.HAVE_FUTURE_DATA?n.play():n.addEventListener("canplay",(function t(){n.play(),n.removeEventListener("canplay",t)})))})),Re('iframe[src*="youtube.com/embed/"]',t).forEach((function(n){Fn(n)&&Vn(n),n.onload=function(){Fn(n)&&Vn(n)}}))}function Vn(n){n.contentWindow.postMessage('{"event":"command","func":"playVideo","args":""}',"*")}function Zn(n){var t=An(n);Re("video, audio",t).forEach((function(n){n.hasAttribute("data-keepplaying")||"function"!=typeof n.pause||n.pause()})),Re('iframe[src*="youtube.com/embed/"]',t).forEach((function(n){/youtube\.com\/embed\//.test(or(n,"src"))&&!n.hasAttribute("data-keepplaying")&&n.contentWindow.postMessage('{"event":"command","func":"pauseVideo","args":""}',"*")}))}function Gn(n){if(nn().lazyLoading){var t=An(n);Re("img[data-src], img[data-srcset], source[data-src], source[data-srcset], video[data-src], audio[data-src], iframe[data-src]",t).forEach((function(n){if(["src","srcset"].forEach((function(t){var e=or(n,"data-"+t);null!=e&&e&&(Tr(n,t),n.addEventListener("load",(function(){})))})),dr(n,"source")){var t=$e(n,"video, audio");t&&(t.load(),t.onloadeddata=function(){})}})),Ye(t,A)}}function Yn(n){var t=nn().lazyLoadThreshold;Gn(n.item),t&&(Un(n,"prev",t),Un(n,"next",t))}function Un(n,t,e){for(var r=n,i=0;i-1&&this.an[n].splice(e,1)}},ln:function(n){for(var t=this,e=arguments.length,r=new Array(e>1?e-1:0),i=1;it?"left":"right"}function Ht(){clearTimeout(At)}function Nt(n){fn("dragAndMove","afterSlideLoads",n),fn("continuousHorizontal","afterSlideLoads",n),n.localIsResizing||(fn("parallax","afterSlideLoads"),fn("scrollOverflowReset","setPrevious",n.prevSlide),fn("scrollOverflowReset","reset"),sr(nn().afterSlideLoad)&&Xt("afterSlideLoad",n),un({canScroll:!0}),Bn(n.destiny),Jn.ln(wt,n)),un({N:!1}),fn("interlockedSlides","interlockedSlides",n)}function It(n,t){Hn(0,"internal"),void 0!==t&&un({I:!0}),Rt($e(n,H),n),void 0!==t&&un({I:!1}),Hn(tn().scrollingSpeed,"internal")}xt.m={up:!0,down:!0,left:!0,right:!0},xt.k=je({},xt.m),Jn.un($n,(function(n){var t=n.target;(dr(t,G)||$e(t,G))&&Et.call(t,n)})),d.landscapeScroll=Rt,Jn.un(rt,(function(){Jn.un(pt,Lt)}));var Pt=null,Ct=null;function Wt(){an.L=null,an.D.map((function(n){var t=ze(n.item,y);n.isActive=t,n.q=ke.q(n.item),t&&(an.L=n),n.slides.length&&(n.activeSlide=null,n.slides.map((function(t){var e=ze(t.item,y);t.q=ke.q(n.item),t.isActive=e,e&&(n.activeSlide=t)})),n.slides.find((function(n){return n.isActive}))||(n.activeSlide=n.slides[0],n.activeSlide&&(n.activeSlide.isActive=!0)))})),function(){var n=an.L,t=!!an.L&&an.L.slides.length,e=an.L?an.L.activeSlide:null;if(!n&&an.D.length&&!ln().j&&null!==Pt){var r=Vt(Pt,an.D);r&&(an.L=r,an.L.isActive=!0,Ye(an.L.item,y)),an.L&&zn(an.L.item.offsetTop)}if(t&&!e&&null!==Ct){var i=Vt(Ct,an.L.slides);i&&(an.L.activeSlide=i,an.L.activeSlide.isActive=!0,Ye(an.L.activeSlide.item,y)),an.L.activeSlide&&It(an.L.activeSlide.item,"internal")}}(),fr(q(),"onUpdateStateDone")}function Ft(){var n=Re(nn().sectionSelector+", "+O,q()),t=Le(n),e=Array.from(n).map((function(n){return new Zt(n)})),r=e.filter((function(n){return n.isVisible})),i=r.reduce((function(n,t){return n.concat(t.slides)}),[]);Pt=Bt(an.L),Ct=Bt(an.L?an.L.activeSlide:null),an.A=t.length,an.O=r.reduce((function(n,t){return n+t.slides.length}),0),an.D=r,an.tn=e,an.slides=i,an.rn=an.D.concat(an.slides)}function Bt(n){if(!n)return null;var t=n?n.item:null,e=n.nn?an.tn:an.L.dn;if(t){var r=Sn(e,t);return r?r.index():null}return null}function Vt(n,t){var e,r=n-1,i=n;do{if(e=t[r]||t[i])break;r-=1,i+=1}while(r>=0||i0,o=r>2&&r'+yt(o.index(),"Section")+"";var l=nn().navigationTooltips[o.index()];void 0!==l&&""!==l&&(r+='
    '+l+"
    "),r+=""}Re("ul",e)[0].innerHTML=r;var c=Re("li",Re(D)[0])[ln().L.index()];Ye(Re("a",c),y)}function te(n){n.preventDefault&&ir(n),un({R:"verticalNav"});var t=Fe($e(this,"#fp-nav li"));Jn.ln(ft,{destination:ln().D[t]})}function ee(n,t){var e;e=n,nn().menu&&nn().menu.length&&Re(nn().menu).forEach((function(n){null!=n&&(Ue(Re(M,n),y),Ye(Re('[data-menuanchor="'+e+'"]',n),y))})),function(n,t){var e=Re(D)[0];nn().navigation&&null!=e&&"none"!==e.style.display&&(Ue(Re(M,e),y),Ye(n?Re('a[href="#'+n+'"]',e):Re("a",Re("li",e)[t]),y))}(n,t)}Gt.prototype=wn.prototype,Gt.prototype.constructor=Zt,d.setRecordHistory=_t,d.setAutoScrolling=Qt,d.test.setAutoScrolling=Qt,(new Date).getTime();var re,ie,oe,ae,ue,le,ce=(ie=!0,oe=(new Date).getTime(),ae=!a.fullpage_api,function(n,t){var e=(new Date).getTime(),r="wheel"===n?nn().scrollingSpeed:100;return ie=ae||e-oe>=r,ae=!a.fullpage_api,ie&&(re=t(),oe=e),void 0===re||re});function se(n,t){if(sr(nn().beforeLeave))return ce(ln().R,(function(){return Xt(n,t)}))}function fe(n,t,e){var r=n.item;if(null!=r){var i,o,a={element:r,callback:t,isMovementUp:e,dtop:de(r),yMovement:Dn(ln().L,r),anchorLink:n.anchor,sectionIndex:n.index(),activeSlide:n.activeSlide?n.activeSlide.item:null,leavingSection:ln().L.index()+1,localIsResizing:an.I,items:{origin:ln().L,destination:n},direction:null};if(!(ln().L.item==r&&!an.I||nn().scrollBar&&er()===a.dtop&&!ze(r,E))){if(null!=a.activeSlide&&(i=or(a.activeSlide,"data-anchor"),o=Fe(a.activeSlide,null)),!a.localIsResizing){var u=a.yMovement;if(void 0!==e&&(u=e?"up":"down"),a.direction=u,cn("dropEffect")&&d.dropEffect.onLeave_(a),cn("waterEffect")&&d.waterEffect.onLeave_(a),fn("effects","beforeLeave",a),sr(nn().beforeLeave)&&!1===se("beforeLeave",a))return;if(sr(nn().onLeave)&&!Xt("onLeave",a))return}fn("parallax","apply",a),fn("cards","apply",a),fn("dropEffect","apply",a),fn("waterEffect","apply",a),nn().autoScrolling&&nn().continuousVertical&&void 0!==a.isMovementUp&&(!a.isMovementUp&&"up"==a.yMovement||a.isMovementUp&&"down"==a.yMovement)&&(a=function(n){un({_:!0});var t=ln().L.item;return n.isMovementUp?nr(t,wr(t,O)):qe(t,br(t,O).reverse()[0]),zn(Jt()),Kt(),n.hn=t,n.dtop=function(n){return n.isMovementUp&&ze(n.element,E)?de(n.element)-He()+n.element.offsetHeight:n.element.offsetTop}(n),n.yMovement=Dn(ln().L,n.element),n.leavingSection=n.items.origin.index()+1,n.sectionIndex=n.items.destination.index(),fr(q(),"onContinuousVertical",n),n}(a)),fn("scrollOverflowReset","setPrevious",ln().L.item),a.localIsResizing||Zn(ln().L.item),sn("dropEffect")&&nn().dropEffect||(Ye(r,y),Ue(rr(r),y)),Wt(),Yn(n),un({canScroll:d.test.gn}),bt(o,i,a.anchorLink),Jn.ln(gt,a),function(n){un({B:"none",scrollY:Math.round(n.dtop)}),Jn.ln(pt,n),sn("effects")&&fn("effects","performMovement",n);var t=nn().scrollingSpeed<700,e=t?700:nn().scrollingSpeed;if(nn().css3&&nn().autoScrolling&&!nn().scrollBar)jn("translate3d(0px, -"+Math.round(n.dtop)+"px, 0px)",!0),sn("waterEffect")&&Kt(),nn().scrollingSpeed?(clearTimeout(ue),ue=setTimeout((function(){ve(n),un({canScroll:!t||d.test.gn})}),nn().scrollingSpeed)):ve(n);else{var r=On(n.dtop);d.test.top=-n.dtop+"px",clearTimeout(ue),Wn(r.element,r.options,nn().scrollingSpeed,(function(){nn().scrollBar?ue=setTimeout((function(){ve(n)}),30):(ve(n),un({canScroll:!t||d.test.gn}))}))}t&&(clearTimeout(le),le=setTimeout((function(){un({canScroll:!0})}),e))}(a),un({C:a.anchorLink}),ee(a.anchorLink,function(n){return null!=n.hn?n.isMovementUp?an.A-1:0:n.sectionIndex}(a))}}}function de(n){var t=n.offsetHeight,e=n.offsetTop,r=e,i=sn("dragAndMove")&&fn("dragAndMove","isGrabbing")?fn("dragAndMove","isScrollingDown"):e>an.U,o=r-He()+t,a=nn().bigSectionsDestination;return t>He()?(i||a)&&"bottom"!==a||(r=o):(i||an.I&&null==Ce(n))&&(r=o),sn("offsetSections")&&(r=d.offsetSections.getSectionPosition_(i,r,n)),un({U:r}),r}function ve(n){un({j:!1}),function(n){null!=n.hn&&(n.isMovementUp?nr(Re(O)[0],n.hn):qe(Re(O)[ln().D.length-1],br(n.element,O).reverse()),zn(Jt()),function(){for(var n=Re(j),t=0;t-1&&!ke.An)return ir(n),!1},yn:function(){ke.Tn=an.canScroll},onLeave:function(){clearTimeout(Se),ke.An=!1},afterLoad:function(){ke.An=!1,clearTimeout(Se),Se=setTimeout((function(){ke.Tn=an.canScroll}),200)},Dn:function(){u.activeElement===this.Mn&&(this.Mn.blur(),ke.An=!1)},Sn:function(){if(nn().scrollOverflow&&ke.Tn){ke.Dn();var n=ke.Ln(ln().L.item);!n||l||s||(this.Mn=n,requestAnimationFrame((function(){n.focus({Rn:!0}),ke.An=!0}))),ke.Tn=!1}},bn:function(){nn().scrollOverflowMacStyle&&!c&&Ye(In,"fp-scroll-mac"),ln().rn.forEach((function(n){if(!(n.slides&&n.slides.length||ze(n.item,"fp-auto-height-responsive")&&we())){var t,e=An(n.item),r=ke.mn(n.item),o=(t=n).nn?t:t.parent;if(f){var a=r?"addClass":"removeClass";i[a](o.item,F),i[a](n.item,F)}else Ye(o.item,F),Ye(n.item,F);n.q||(ke.jn(e),ke.zn(e)),n.q=!0}}))},zn:function(n){var t=ke.Ln(n);t&&t.addEventListener("scroll",ke.Hn),n.addEventListener("wheel",ke.kn,{passive:!1}),n.addEventListener("keydown",ke.En,{passive:!1})},Nn:function(n){var t=ke.Ln(n);t&&t.removeEventListener("scroll",ke.Hn),n.removeEventListener("wheel",ke.kn,{passive:!1}),n.removeEventListener("keydown",ke.En,{passive:!1})},jn:function(n){var t=document.createElement("div");t.className=C,Je(n,t),t.setAttribute("tabindex","-1")},In:function(n){n.slides&&n.slides.length||n.q&&(ke.Pn(n.item),ke.Nn(n.item),n.q=!1)},Pn:function(n){var t=Re(W,n)[0];t&&(Ke(t),n.removeAttribute("tabindex"))},Ln:function(n){var t=An(n);return Re(W,t)[0]||t},q:function(n){return ze(n,C)||null!=Re(W,n)[0]},wn:function(n){return n.nn&&n.activeSlide?n.activeSlide.q:n.q},mn:function(n){return ke.Ln(n).scrollHeight>a.innerHeight},isScrolled:function(n,t){if(!an.canScroll)return!1;if(nn().scrollBar)return!0;var e=ke.Ln(t);if(!nn().scrollOverflow||!ze(e,C)||ze(t,"fp-noscroll")||ze(An(t),"fp-noscroll"))return!0;var r=f?1:0,i=e.scrollTop,o="up"===n&&i<=0,a="down"===n&&e.scrollHeight<=Math.ceil(e.offsetHeight+i)+r,u=o||a;return u||"none"===n||(this.xn=(new Date).getTime()),u},Cn:function(){this.On=(new Date).getTime();var n=this.On-ke.xn,t=(l||s)&&an.Z,e=an.G&&n>600;return t&&n>400||e},Hn:(xe=0,function(n){var t=n.target.scrollTop,e="none"!==an.B?an.B:xe1?t:document)?t.querySelectorAll(n):null}function je(n){n=n||{};for(var t=1,e=arguments.length;t1&&(nn().controlArrows&&function(n){var t=n.item,e=[pr(nn().controlArrowsHTML[0]),pr(nn().controlArrowsHTML[1])];qe(Re(H,t)[0],e),Ye(e,Z),Ye(e[0],Y),Ye(e[1],"fp-next"),"#fff"!==nn().controlArrowColor&&(Ie(Re(X,t),{"border-color":"transparent transparent transparent "+nn().controlArrowColor}),Ie(Re(U,t),{"border-color":"transparent "+nn().controlArrowColor+" transparent transparent"})),nn().loopHorizontal||Ve(Re(U,t))}(n),nn().slidesNavigation&&function(n){var t=n.item,e=n.slides.length;Xe(pr('
      '),t);var r=Re(B,t)[0];Ye(r,"fp-"+nn().slidesNavPosition);for(var i=0;i'+yt(i,"Slide",Re(R,t)[i])+""),Re("ul",r)[0]);Ie(r,{"margin-left":"-"+r.innerWidth/2+"px"});var o=n.activeSlide?n.activeSlide.index():0;Ye(Re("a",Re("li",r)[o]),y)}(n)),r.forEach((function(n){Ie(n.item,{width:o+"%"}),nn().verticalCentered&&be(n)}));var c=sn("responsiveSlides")?null:n.activeSlide||null;null!=c&&an.L&&(0!==an.L.index()||0===an.L.index()&&0!==c.index())?(It(c.item,"internal"),Ye(c.item,"fp-initial")):Ye(e[0],y)}window.fp_utils=Object.assign(a.fp_utils||{},{$:Re,deepExtend:je,hasClass:ze,getWindowHeight:He,css:Ie,prev:Pe,next:Ce,last:We,index:Fe,getList:Be,hide:Ve,show:Ze,isArrayOrList:Ge,addClass:Ye,removeClass:Ue,appendTo:Xe,wrap:_e,wrapAll:Qe,wrapInner:Je,unwrap:Ke,closest:$e,after:qe,before:nr,insertBefore:tr,getScrollTop:er,siblings:rr,preventDefault:ir,isFunction:sr,trigger:fr,matches:dr,toggle:vr,createElementFromHTML:pr,remove:hr,filter:gr,untilAll:mr,nextAll:wr,prevAll:br,showError:Ee,scrollOverflowHandler:ke}),Jn.un(rt,(function(){["click","touchstart"].forEach((function(n){ar(n,Or,{passive:!1})})),ur("focus",Er),Jn.un(it,kr)}));var Rr={attributes:!1,subtree:!0,childList:!0,characterData:!0};function jr(){return fn("responsiveSlides","isResponsiveSlidesChanging")||Le(Re(nn().slideSelector,q())).length!==ln().O}function zr(n){var t=jr();(jr()||fn("responsiveSlides","isResponsiveSlidesChanging")||Le(Re(nn().sectionSelector,q())).length!==ln().A)&&!an._&&(nn().observer&&Oe&&Oe.disconnect(),Ft(),Wt(),nn().anchors=[],hr(Re(D)),fn("responsiveSlides","isResponsiveSlidesChanging")||Dr(),rn(),nn().navigation&&ne(),nn().scrollOverflow&&ke.bn(),t&&(hr(Re(B)),hr(Re(G))),ln().D.forEach((function(n){n.slides.length?t&&Lr(n):Me(n)}))),nn().observer&&Oe&&Re(h)[0]&&Oe.observe(Re(h)[0],Rr)}Jn.un(rt,(function(){var n,t,e;nn().observer&&"MutationObserver"in window&&Re(h)[0]&&(n=Re(h)[0],t=Rr,(e=new MutationObserver(zr)).observe(n,t),Oe=e),Jn.un(at,zr)})),Jn.un(it,(function(){Oe&&(Oe.disconnect(),Oe=null)})),d.render=zr;var Hr=function(){var n=!1;try{var t=Object.defineProperty({},"passive",{get:function(){n=!0}});ur("testPassive",null,t),cr("testPassive",null,t)}catch(n){}return function(){return n}}();function Nr(){return!!Hr()&&{passive:!1}}var Ir,Pr,Cr,Wr,Fr=(Cr=(new Date).getTime(),Wr=[],{Fn:function(n){var t=(n=n||a.event).wheelDelta||-n.deltaY||-n.detail,e=Math.max(-1,Math.min(1,t)),r=void 0!==n.wheelDeltaX||void 0!==n.deltaX;Ir=Math.abs(n.wheelDeltaX)149&&Wr.shift(),Wr.push(Math.abs(t));var o=i-Cr;Cr=i,o>200&&(Wr=[])},Bn:function(){var n=Mr(Wr,10)>=Mr(Wr,70);return!!Wr.length&&n&&Ir},Vn:function(){return Pr}});function Br(){var n=nn().css3?er()+He():yr(ln().D).item.offsetTop+yr(ln().D).item.offsetHeight,t=On(n);d.test.top=-n+"px",un({canScroll:!1}),Wn(t.element,t.options,nn().scrollingSpeed,(function(){setTimeout((function(){un({j:!0}),un({canScroll:!0})}),30)}))}function Vr(){q().getBoundingClientRect().bottom>=0&&Zr()}function Zr(){var n=On(yr(ln().D).item.offsetTop);un({canScroll:!1}),Wn(n.element,n.options,nn().scrollingSpeed,(function(){un({canScroll:!0}),un({j:!1}),un({Zn:!1})}))}var Gr,Yr,Ur,Xr=(Gr=!1,Yr={},Ur={},function(n,t,e){switch(n){case"set":Yr[t]=(new Date).getTime(),Ur[t]=e;break;case"isNewKeyframe":var r=(new Date).getTime();Gr=r-Yr[t]>Ur[t]}return Gr});function _r(){var n=ln().L.next();n||!nn().loopBottom&&!nn().continuousVertical||(n=ln().D[0]),null!=n?fe(n,null,!1):q().scrollHeightJr&&kt().m.down&&_r()),Jr=n.pageY)}function $r(n){if(kt().m[n]){var t="down"===n?_r:Qr;sn("scrollHorizontally")&&(t=fn("scrollHorizontally","getScrollSection",{type:n,scrollSection:t})),nn().scrollOverflow&&ke.wn(ln().L)?ke.isScrolled(n,ln().L.item)&&ke.Cn()&&t():t()}}var qr,ni,ti,ei=0,ri=0,ii=0,oi=0,ai=vi(),ui={Gn:"ontouchmove"in window?"touchmove":ai?ai.move:null,Yn:"ontouchstart"in window?"touchstart":ai?ai.down:null};function li(n){var t=$e(n.target,O)||ln().L.item,e=ke.wn(ln().L);if(ci(n)){un({Z:!0,G:!1}),nn().autoScrolling&&(e&&!an.canScroll||nn().scrollBar)&&ir(n);var r=di(n);ii=r.y,oi=r.x;var i=Math.abs(ei-ii)>a.innerHeight/100*nn().touchSensitivity,o=Math.abs(ri-oi)>Ne()/100*nn().touchSensitivity,u=Re(H,t).length&&Math.abs(ri-oi)>Math.abs(ei-ii),l=ei>ii?"down":"up";un({B:u?ri>oi?"right":"left":l}),u?!an.N&&o&&(ri>oi?kt().m.right&&Jn.ln(nt,{section:t}):kt().m.left&&Jn.ln(qn,{section:t})):nn().autoScrolling&&an.canScroll&&i&&$r(l)}}function ci(n){return void 0===n.pointerType||"mouse"!=n.pointerType}function si(n){if(nn().fitToSection&&un({F:!1}),ci(n)){var t=di(n);ei=t.y,ri=t.x}ur("touchend",fi)}function fi(){cr("touchend",fi),un({Z:!1})}function di(n){var t={};return t.y=void 0!==n.pageY&&(n.pageY||n.pageX)?n.pageY:n.touches[0].pageY,t.x=void 0!==n.pageX&&(n.pageY||n.pageX)?n.pageX:n.touches[0].pageX,s&&ci(n)&&nn().scrollBar&&void 0!==n.touches&&(t.y=n.touches[0].pageY,t.x=n.touches[0].pageX),t}function vi(){var n;return a.PointerEvent&&(n={down:"pointerdown",move:"pointermove"}),n}function pi(n){nn().autoScrolling&&ci(n)&&kt().m.up&&(an.canScroll||ir(n))}function hi(n,t){var e=null==t?ln().L.item:t,r=Sn(an.D,e),i=Re(H,e)[0];if(!(null==i||dn()||an.N||r.slides.length<2)){var o=r.activeSlide,a="left"===n?o.prev():o.next();if(!a){if(!nn().loopHorizontal)return;a="left"===n?yr(r.slides):r.slides[0]}un({N:!d.test.gn}),Rt(i,a.item,n)}}function gi(n){hi("left",n)}function mi(n){hi("right",n)}function wi(n){var t=ln().D.filter((function(t){return t.anchor===n}))[0];if(!t){var e=void 0!==n?n-1:0;t=ln().D[e]}return t}function bi(n){null!=n&&Rt($e(n,H),n)}function Si(n,t){var e=wi(n);if(null!=e){var r=function(n,t){var e=t.slides.filter((function(t){return t.anchor===n}))[0];return null==e&&(n=void 0!==n?n:0,e=t.slides[n]),e?e.item:null}(t,e);e.anchor&&e.anchor===an.C||ze(e.item,y)?bi(r):fe(e,(function(){bi(r)}))}}function yi(n,t){var e=wi(n);void 0!==t?Si(n,t):null!=e&&fe(e)}function Mi(){clearTimeout(ni),lr("keydown",Ti),lr("keyup",Ai)}function Ti(n){clearTimeout(ni);var t=n.keyCode,e=[37,39].indexOf(t)>-1,r=nn().autoScrolling||nn().fitToSection||e;9===t?function(n){var t=n.shiftKey,e=u.activeElement,r=Di(An(ln().L.item));function i(n){return ir(n),r[0]?r[0].focus():null}if(an.canScroll){if(!function(n){var t=Di(u),e=t.indexOf(u.activeElement),r=t[n.shiftKey?e-1:e+1],i=$e(r,R),o=$e(r,O);return!i&&!o}(n)){e?null==$e(e,".fp-section.active,.fp-section.active .fp-slide.active")&&(e=i(n)):i(n);var o=e==r[0],a=e==r[r.length-1],l=t&&o;if(l||!t&&a){ir(n);var c=function(n){var t,e=n?"prevPanel":"nextPanel",r=[],i=xn((an.L&&an.L.activeSlide?an.L.activeSlide:an.L)[e]());do{(r=Di(i.item)).length&&(t={Un:i,Xn:r[n?r.length-1:0]}),i=xn(i[e]())}while(i&&0===r.length);return t}(l),s=c?c.Un:null;if(s){var f=s.nn?s:s.parent;Jn.ln(lt,{_n:f.index()+1,slideAnchor:s.nn?0:s.index()}),ti=c.Xn,ir(n)}}}}else ir(n)}(n):!xr()&&nn().keyboardScrolling&&r&&(qr=n.ctrlKey,ni=setTimeout((function(){!function(n){var t=n.shiftKey,e=u.activeElement,r=dr(e,"video")||dr(e,"audio"),i=ke.isScrolled("up",ln().L.item),o=ke.isScrolled("down",ln().L.item),a=[37,39].indexOf(n.keyCode)>-1;if(function(n){(function(n){return[40,38,32,33,34].indexOf(n.keyCode)>-1&&!an.j})(n)&&!$e(n.target,W)&&n.preventDefault()}(n),an.canScroll||a)switch(un({R:"keydown"}),fr(q(),"keydown",n),n.keyCode){case 38:case 33:kt().k.up&&i?an.j?Jn.ln(ct,{e:n}):Qr():ke.Sn();break;case 32:if(t&&kt().k.up&&!r&&i){Qr();break}case 40:case 34:if(kt().k.down&&o){if(an.j)return;32===n.keyCode&&r||_r()}else ke.Sn();break;case 36:kt().k.up&&yi(1);break;case 35:kt().k.down&&yi(ln().D.length);break;case 37:kt().k.left&&gi();break;case 39:kt().k.right&&mi()}}(n)}),0))}function Ai(n){an.Y&&(qr=n.ctrlKey)}function xi(){un({Y:!1}),qr=!1}function Oi(n){Ei()}function ki(n){$e(ti,R)&&!$e(ti,j)||Ei()}function Ei(){ti&&(ti.focus(),ti=null)}function Di(n){return[].slice.call(Re('a[href], area[href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), iframe, object, embed, [tabindex="0"], summary:not([disabled]), [contenteditable]',n)).filter((function(n){return"-1"!==or(n,"tabindex")&&null!==n.offsetParent}))}d.moveSlideLeft=gi,d.moveSlideRight=mi,d.moveTo=yi,Jn.un(rt,(function(){ur("blur",xi),ar("keydown",Ti),ar("keyup",Ai),Jn.un(it,Mi),Jn.un(wt,Oi),Jn.un(mt,ki)}));var Li=(new Date).getTime(),Ri=(new Date).getTime(),ji=[],zi=[];function Hi(n){n?(function(){var n,t="";a.addEventListener?n="addEventListener":(n="attachEvent",t="on");var e="onwheel"in u.createElement("div")?"wheel":void 0!==u.onmousewheel?"mousewheel":"DOMMouseScroll",r=Nr();"DOMMouseScroll"==e?u[n](t+"MozMousePixelScroll",Ii,r):u[n](t+e,Ii,r)}(),q().addEventListener("mousedown",Pi),q().addEventListener("mouseup",Ci)):(u.addEventListener?(lr("mousewheel",Ii,!1),lr("wheel",Ii,!1),lr("MozMousePixelScroll",Ii,!1)):u.detachEvent("onmousewheel",Ii),q().removeEventListener("mousedown",Pi),q().removeEventListener("mouseup",Ci))}function Ni(n){return!(n.length<10)&&Mr(n,10)>=Mr(n,70)}function Ii(n){var t=(new Date).getTime(),e=ze(Re(".fp-completely")[0],"fp-normal-scroll"),r=function(n,t){(new Date).getTime();var e=ln().j&&n.getBoundingClientRect().bottom>=0&&"up"===Fr.Vn(),r=ln().Zn;if(r)return ir(t),!1;if(ln().j){if(e){var i;if(!(r||Xr("isNewKeyframe","beyondFullpage")&&Fr.Bn()))return(i=On(yr(ln().D).item.offsetTop+yr(ln().D).item.offsetHeight)).element.scrollTo(0,i.options),un({Zn:!1}),ir(t),!1;if(Fr.Bn())return e=!1,un({Zn:!0}),un({R:"wheel"}),Zr(),ir(t),!1}else Xr("set","beyondFullpage",1e3);if(!r&&!e)return!0}}(q(),n);if(an.G||un({Z:!1,G:!0,B:"none"}),r)return!0;if(!1===r)return ir(n),!1;if(nn().autoScrolling&&!qr&&!e){var i=(n=n||a.event).wheelDelta||-n.deltaY||-n.detail,o=Math.max(-1,Math.min(1,i)),u=n.wheelDeltaX||-n.deltaX||0,l=n.deltaY||0,c=n.deltaX||0,s=n.shiftKey||!1,f=Math.abs(u)>0||Math.abs(c)>0,d=!s&&(Math.abs(c)=Math.abs(l),p=o<0?"down":o>0?"up":"none",h=s?o:Math.max(-1,Math.min(1,u)),g=v?h<0?"right":h>0?"left":"none":"none";if(d&&!kt().m.down&&!kt().m.up)return!1;if(v&&"left"===g&&!kt().m.left)return!1;if(v&&"right"===g&&!kt().m.right)return!1;if(ji.length>149&&ji.shift(),zi.length>149&&zi.shift(),d)ji.push(Math.abs(i));else if(v){var m=s?Math.abs(i):Math.abs(u);zi.push(m)}!nn().scrollBar&&nn().scrollOverflow||ir(n);var w=t-Li,b=t-Ri;return d?Li=t:v&&(Ri=t),w>200&&(ji=[]),b>200&&(zi=[]),un({V:p}),an.canScroll&&!dn()&&(d&&Ni(ji)?(un({R:"wheel"}),$r(o<0?"down":"up")):v&&(s||Ni(zi))&&(un({R:"wheel"}),"left"===g?gi():"right"===g&&mi())),!1}nn().fitToSection&&un({F:!1})}function Pi(n){var t;2==n.which&&(t=n.pageY,Jr=t,q().addEventListener("mousemove",Kr))}function Ci(n){2==n.which&&q().removeEventListener("mousemove",Kr)}function Wi(n){n?(Hi(!0),function(){if(ui.Gn&&(l||s)&&(!sn("dragAndMove")||"mouseonly"===nn().dragAndMove)){nn().autoScrolling&&(In.removeEventListener(ui.Gn,pi,{passive:!1}),In.addEventListener(ui.Gn,pi,{passive:!1}));var n=nn().touchWrapper;n.removeEventListener(ui.Yn,si),n.removeEventListener(ui.Gn,li,{passive:!1}),n.addEventListener(ui.Yn,si),n.addEventListener(ui.Gn,li,{passive:!1})}}()):(Hi(!1),function(){if(ui.Gn&&(l||s)){nn().autoScrolling&&(In.removeEventListener(ui.Gn,li,{passive:!1}),In.removeEventListener(ui.Gn,pi,{passive:!1}));var n=nn().touchWrapper;n.removeEventListener(ui.Yn,si),n.removeEventListener(ui.Gn,li,{passive:!1})}}())}d.setMouseWheelScrolling=Hi;var Fi=!0;function Bi(){["mouseenter","touchstart","mouseleave","touchend"].forEach((function(n){lr(n,Zi,!0)}))}function Vi(n,t){document["fp_"+n]=t,ar(n,Zi,!0)}function Zi(n){var t=n.type,e=!1,r="mouseleave"===t?n.toElement||n.relatedTarget:n.target;r!=document&&r?("touchend"===t&&(Fi=!1,setTimeout((function(){Fi=!0}),800)),("mouseenter"!==t||Fi)&&(nn().normalScrollElements.split(",").forEach((function(n){if(!e){var t=dr(r,n),i=$e(r,n);(t||i)&&(d.shared.isNormalScrollElement||Wi(!1),d.shared.isNormalScrollElement=!0,e=!0)}})),!e&&d.shared.isNormalScrollElement&&(Wi(!0),d.shared.isNormalScrollElement=!1))):Wi(!0)}function Gi(n,t){Hn(0,"internal"),yi(n,t),Hn(tn().scrollingSpeed,"internal")}Jn.un(rt,(function(){nn().normalScrollElements&&(["mouseenter","touchstart"].forEach((function(n){Vi(n,!1)})),["mouseleave","touchend"].forEach((function(n){Vi(n,!0)}))),Jn.un(it,Bi)})),d.silentMoveTo=Gi;var Yi,Ui,Xi=He(),_i=Ne(),Qi=!1;function Ji(){clearTimeout(Yi),clearTimeout(Ui),cr("resize",Ki)}function Ki(){Qi||(nn().autoScrolling&&!nn().scrollBar||!nn().fitToSection)&&qi(He()),an.K&&function(){if(l)for(var n=0;n<4;n++)Ui=setTimeout((function(){window.requestAnimationFrame((function(){nn().autoScrolling&&!nn().scrollBar&&(un({I:!0}),Gi(an.L.index()+1),un({I:!1}))}))}),200*n)}(),Qi=!0,clearTimeout(Yi),Yi=setTimeout((function(){!function(){var n,t,e;if(un({I:!0}),(!l||nn().adjustOnNavChange)&&(qi(""),fr(q(),"onResize"),an.j||nn().autoScrolling||(n=.01*a.innerHeight,u.documentElement.style.setProperty("--vh","".concat(n,"px")))),Jn.ln(at),Wt(),ge(),l){var r=u.activeElement;if(!dr(r,"textarea")&&!dr(r,"input")&&!dr(r,"select")){var i=He();Math.abs(i-Xi)>20*Math.max(Xi,i)/100&&($i(!0),Xi=i)}}else t=He(),e=Ne(),an.X===t&&_i===e||(un({X:t}),_i=e,$i(!0));fr(q(),"onResizeEnds"),un({I:!1})}(),Qi=!1}),400)}function $i(n){if(!ze(q(),b)){un({I:!0,X:He(),Qn:Ne()});for(var t=ln().D,e=0;e1&&Rt(i,r.activeSlide.item)}nn().scrollOverflow&&ke.bn();var u=ln().L.index();an.j||!u||sn("fadingEffect")||sn("dropEffect")||sn("waterEffect")||Gi(u+1),un({I:!1}),sr(nn().afterResize)&&n&&nn().afterResize.call(q(),a.innerWidth,a.innerHeight),sr(nn().afterReBuild)&&!n&&nn().afterReBuild.call(q()),fr(q(),"afterRebuild")}}function qi(n){ln().D.forEach((function(t){var e=""!==n||sn("offsetSections")?pn(t.item):"";Ie(t.item,{height:e})}))}function no(){var n,t,e=a.location.hash;if(e.length){var r=e.replace("#","").split("/"),i=e.indexOf("#/")>-1;n=i?"/"+r[1]:decodeURIComponent(r[0]);var o=i?r[2]:r[1];o&&o.length&&(t=decodeURIComponent(o))}return{section:n,pn:t}}function to(){cr("hashchange",eo),lr("click",ro)}function eo(){if(!an.P&&!nn().lockAnchors){var n=no(),t=n.section,e=n.pn,r=void 0===an.C,i=void 0===an.C&&void 0===e&&!an.N;t&&t.length&&(t&&t!==an.C&&!r||i&&!dn()||!an.N&&an.W!=e&&!dn())&&Jn.ln(lt,{_n:t,slideAnchor:e})}}function ro(n){var t=$e(n.target,'a[href^="#"]');if(t){var e=or(t,"href");if(e&&"#"!==e){var r=Re(e)[0];if(r){var i=q();if(i&&i.contains(r)){var o=$e(r,nn().sectionSelector);if(o){var a=Sn(an.D,o);if(a){var u=$e(r,nn().slideSelector),l=u&&o.contains(u)?Sn(a.slides,u):null;ir(n),yi(a.index()+1,l?l.index():null);var c=Re(W,l?l.item:a.item)[0];c&&c.scrollTo(0,r.offsetTop)}}}}}}}function io(n){var t=n.target;$e(t,nn().menu+" [data-menuanchor]")&&oo.call(t,n.e)}function oo(n){if(un({R:"menu"}),Re(nn().menu)[0]&&(nn().lockAnchors||!nn().anchors.length)){ir(n);var t=$e(this,"[data-menuanchor]");Jn.ln(st,{anchor:or(t,"data-menuanchor")})}}function ao(n){var t=n.target;t&&$e(t,"#fp-nav a")?te.call(t,n.e):dr(t,".fp-tooltip")?qt.call(t):(dr(t,V)||null!=$e(t,V))&&Mt.call(t,n.e)}d.reBuild=$i,Jn.un(rt,(function(){Ki(),ur("resize",Ki),Jn.un(it,Ji)})),d.setLockAnchors=function(n){nn().lockAnchors=n},Jn.un(rt,(function(){ur("hashchange",eo),ar("click",ro),Jn.un(it,to)})),Jn.un(rt,(function(){ar("wheel",Fr.Fn,Nr()),Jn.un(vt,Br),Jn.un(ct,Vr)})),Jn.un(rt,(function(){Jn.un($n,io)})),Jn.un(rt,(function(){Jn.un($n,ao)}));var uo,lo,co=0;function so(n){var t,e,r,i,o;if(fr(q(),"onScroll"),!an.I&&ln().L&&(yr(ln().D),!ln().j&&!ln().Zn&&(!nn().autoScrolling||nn().scrollBar||sn("dragAndMove"))&&!vn())){var a=sn("dragAndMove")?Math.abs(fn("dragAndMove","getCurrentScroll")):er(),u=function(n){var t=n>co?"down":"up";return co=n,un({U:n}),t}(a),c=0,s=a+He()/2,f=(sn("dragAndMove")?fn("dragAndMove","getDocumentHeight"):In.scrollHeight-He())===a,d=ln().D;if(un({scrollY:a}),f)c=d.length-1;else if(a)for(var v=0;v=er()+He():i<=er())&&(ze(ln().L.item,T)||(Ye(ln().L.item,T),Ue(rr(ln().L.item),T))),e=(t=d[c]).item,!t.isActive){un({P:!0});var p,h,g=ln().L.item,m=ln().L.index()+1,w=Dn(ln().L,e),b=t.anchor,S=t.index()+1,M=t.activeSlide,A={L:g,sectionIndex:S-1,anchorLink:b,element:e,leavingSection:m,direction:w,items:{origin:ln().L,destination:t}};if(M&&(h=M.anchor,p=M.index()),an.canScroll)Ue(d.filter((function(n){return n.index()!==t.index()})).map((function(n){return n.item})),y),Ye(e,y),fn("parallax","afterLoad"),sr(nn().beforeLeave)&&se("beforeLeave",A),sr(nn().onLeave)&&Xt("onLeave",A),sr(nn().afterLoad)&&Xt("afterLoad",A),fn("resetSliders","apply",{localIsResizing:an.I,leavingSection:m}),Zn(g),Yn(t),Bn(e),ee(b,S-1),nn().anchors.length&&un({C:b}),Wt(),bt(p,h,b);clearTimeout(uo),uo=setTimeout((function(){un({P:!1})}),100)}nn().fitToSection&&an.canScroll&&(clearTimeout(lo),lo=setTimeout((function(){var n;if(!an.D.filter((function(n){var t=n.item.getBoundingClientRect();return Math.round(t.bottom)===Math.round(He())||0===Math.round(t.top)})).length){if(l&&(n=document.activeElement)&&n.matches("input, textarea"))return;he()}}),nn().fitToSectionDelay))}}function fo(n){var t=n.items.destination.activeSlide;un({scrollX:t?Math.round(t.offsetLeft):0})}function vo(n){var t=nn().skipIntermediateItems,e=n.items.origin.nn?"sections":"slides",r=Math.abs(n.items.origin.index()-n.items.destination.index())>1;(!0===t||t===e)&&r&&Hn(0,"internal")}function po(){nn().skipIntermediateItems&&en("scrollingSpeed",tn().scrollingSpeed,"internal")}function ho(n,t){void 0!==t?(t=t.replace(/ /g,"").split(",")).forEach((function(t){Ot(n,t,"k")})):(Ot(n,"all","k"),nn().keyboardScrolling=n)}function go(n){var t=n.index();void 0!==nn().anchors[t]&&n.isActive&&ee(nn().anchors[t],t),nn().menu&&nn().css3&&null!=$e(Re(nn().menu)[0],h)&&Re(nn().menu).forEach((function(n){In.appendChild(n)}))}function mo(){var n,t,e=ln().L,r=ln().L.item;Ye(r,T),Yn(ln().L),$t(),Bn(r),t=wi((n=no()).section),n.section&&t&&(void 0===t||t.index()!==Fe(ye))||!sr(nn().afterLoad)||Xt("afterLoad",{L:r,element:r,direction:null,anchorLink:e.anchor,sectionIndex:e.index(),items:{origin:ln().L,destination:ln().L}}),sr(nn().afterRender)&&Xt("afterRender"),fr(q(),"afterRender")}function wo(n,t){void 0!==t?(t=t.replace(/ /g,"").split(",")).forEach((function(t){Ot(n,t,"m")})):Ot(n,"all","m"),fr(q(),"setAllowScrolling",{value:n,Jn:t})}function bo(){var n=no(),t=n.section,e=n.pn;t?nn().animateAnchor?Si(t,e):Gi(t,e):Jn.ln(Kn,null)}Jn.un(it,(function(){clearTimeout(uo),clearTimeout(lo)})),Jn.un(rt,(function(){ur("scroll",so),u.body.addEventListener("scroll",so),Jn.un(lt,(function(n){Si(n._n,n.slideAnchor)})),Jn.un(st,(function(n){yi(n.anchor,void 0)})),Jn.un(ut,(function(n){("down"===n.direction?_r:Qr)()})),Jn.un(ft,(function(n){fe(n.destination)}))})),Jn.un(it,(function(){cr("scroll",so)})),d.getActiveSlide=function(){return Ut(ln().L.activeSlide)},d.getScrollX=function(){return an.scrollX},Jn.un(rt,(function(){Jn.un(it,Ht),Jn.un(dt,(function(n){Rt(n.slides,n.destination)})),Jn.un(nt,(function(n){mi(n.section)})),Jn.un(qn,(function(n){gi(n.section)})),Jn.un(mt,fo)})),Jn.un(rt,(function(){var n=nn().credits.position,t=["left","right"].indexOf(n)>-1?"".concat(n,": 0;"):"",e='\n \n "),r=yr(an.D),i=!an.Kn||nn().credits.enabled;r&&r.item&&i&&r.item.insertAdjacentHTML("beforeend",e)})),function(){Jn.un(tt,(function(){var t,u,l;un({Kn:(nn().licenseKey,t=nn().licenseKey,u=function(t){var e=parseInt("514").toString(16);if(!t||t.length<29||4===t.split(n[0]).length)return null;var r=["Each","for"][i()]().join(""),u=t[["split"]]("-"),l=[];u[r]((function(n,t){if(t<4){var r=function(n){var t=n[n.length-1],e=["NaN","is"][i()]().join("");return window[e](t)?o(t):function(n){return n-y.length}(t)}(n);l.push(r);var a=o(n[r]);if(1===t){var u=["pa","dS","t","art"].join("");a=a.toString()[u](2,"0")}e+=a,0!==t&&1!==t||(e+="-")}}));var c=0,s="";return t.split("-").forEach((function(n,t){if(t<4){for(var e=0,r=0;r<4;r++)r!==l[t]&&(e+=Math.abs(o(n[r])),isNaN(n[r])||c++);var i=a(e);s+=i}})),s+=a(c),{$n:new Date(e+"T00:00"),qn:e.split("-")[2]===8*(y.length-2)+"",nt:s}}(t),l=function(n){var t=r[i()]().join("");return n&&0===t.indexOf(n)&&n.length===t.length}(t)||function(n){return new RegExp("^(?=.*?[A-Y])(?=.*?[a-y])(?=.*?[0-8])(?=.*?[#?!@$%^&*-]).{8,}$").test(n)}(t),(u||l)&&(u&&e<=u.$n&&u.nt===t.split(n[0])[4]||l||u.qn)||!1)})}));var n=["-"],t="2025-11-13".split("-"),e=new Date(t[0],t[1],t[2]),r=["se","licen","-","v3","l","gp"];function i(){return[["re","verse"].join("")]["".length]}function o(n){return n?isNaN(n)?n.charCodeAt(0)-72:n:""}function a(n){var t=72+n;return t>90&&t<97&&(t+=15),String.fromCharCode(t).toUpperCase()}}(),Jn.un(pt,vo),Jn.un(mt,po),Jn.un(ht,vo),Jn.un(wt,po),Jn.un(et,(function(){ho(nn().keyboardScrolling)})),d.setKeyboardScrolling=ho,d.shared.afterRenderActions=mo,d.setAllowScrolling=wo;var So={};function yo(){return So}function Mo(n){var t=void 0!==yo()[n]&&yo()[n].length,e=[],r=!1;return void 0!==yo()[n]&&yo()[n].trim().length?Ge(yo()[n])?e=yo()[n]:e.push(yo()[n]):yo().pro&&yo().pro.trim().length&&(e.push(yo().pro),n="pro"),e.forEach((function(e){var i=function(){if(u.domain.length){for(var n=u.domain.replace(/^(www\.)/,"").split(".");n.length>2;)n.shift();return n.join(".").replace(/(^\.*)|(\.*$)/g,"")}return""}(),o=["MTM0bG9jYWxob3N0MjM0","MTM0MC4xMjM0","MTM0anNoZWxsLm5ldDIzNA==","UDdDQU5ZNlNN","MTUycHJvNzM2","NTU1S2V5Nzc3","NDU2dGVzdDQ1Ng=="],a=gn(o[0]),l=gn(o[1]),c=gn(o[2]),s=gn(o[6]),f=gn(o[3]),d=gn(o[4]),v=gn(o[5]),p=void 0!==nn()[d+v];t=t||p;var h=[a,l,c,s].indexOf(i)<0&&0!==i.length;if(!t&&!p&&h)return!1;var g=t?gn(e):"",m=(g=g.split("_")).length>1&&g[1].indexOf(n,g[1].length-n.length)>-1,w=g.length>1&&g[1].toLowerCase().indexOf(d)>-1,b=g[0].indexOf(i,g[0].length-i.length)<0,S=m||w;r=r||!(b&&h&&f!=g[0])&&S||!h})),r}var To,Ao,xo,Oo,ko=!ze(In,gn("OHNsd3AtZnVsbHBhZ2UtanM5T20="));function Eo(n){if(Ao=u.createElement("div"),To=gn("MTIzPGRpdj48YSBocmVmPSJodHRwOi8vYWx2YXJvdHJpZ28uY29tL2Z1bGxQYWdlL2V4dGVuc2lvbnMvIiBzdHlsZT0iY29sb3I6ICNmZmYgIWltcG9ydGFudDsgdGV4dC1kZWNvcmF0aW9uOm5vbmUgIWltcG9ydGFudDsiPlVubGljZW5zZWQgZnVsbFBhZ2UuanMgRXh0ZW5zaW9uPC9hPjwvZGl2PjEyMw=="),ko||(To=To.replace("extensions/","").replace("Extension","")),Ao.innerHTML=To,Ao=Ao.firstChild,"MutationObserver"in window&&new MutationObserver(Lo).observe(u.body,{childList:!0,subtree:!1}),(!ko||sn(n)&&d[n])&&!(Mo(n)&&ko||Mo("pro"))){Do();var t=gn("MzQ1c2V0SW50ZXJ2YWwxMjM=");window[t](Do,2e3)}}function Do(){Ao&&(Oo||(Math.random()<.5?hn(In,Ao):Xe(Ao,In),Oo=!0),Ao.setAttribute("style",gn("MTIzei1pbmRleDo5OTk5OTk5O3Bvc2l0aW9uOmZpeGVkO3RvcDoyMHB4O2JvdHRvbTphdXRvO2xlZnQ6MjBweDtyaWdodDphdXRvO2JhY2tncm91bmQ6cmVkO3BhZGRpbmc6N3B4IDE1cHg7Zm9udC1zaXplOjE0cHg7Zm9udC1mYW1pbHk6YXJpYWw7Y29sb3I6I2ZmZjtkaXNwbGF5OmlubGluZS1ibG9jazt0cmFuc2Zvcm06dHJhbnNsYXRlM2QoMCwwLDApO29wYWNpdHk6MTtoZWlnaHQ6YXV0bzt3aWR0aDphdXRvO3pvb206MTttYXJnaW46YXV0bztib3JkZXI6bm9uZTt2aXNpYmlsaXR5OnZpc2libGU7Y2xpcC1wYXRoOm5vbmU7MTIz").replace(/;/g,gn("MTIzICFpbXBvcnRhbnQ7MzQ1"))))}function Lo(n){n.forEach((function(n){if(n.removedNodes[0]&&n.removedNodes[0].isEqualNode(Ao)){clearTimeout(xo);var t=gn("bDIwc2V0VGltZW91dDAzbA==");xo=window[t](Ro,900)}}))}function Ro(){Oo=!1}function jo(){Ft(),Wt(),nn().scrollBar=nn().scrollBar||nn().hybrid,rn(),function(){Ie(Ar(q(),"body"),{height:"100%",position:"relative"}),Ye(q(),p),Ye(Pn,S),un({X:He()}),Ue(q(),b),Dr(),fn("parallax","init");for(var n=ln().tn,t=0;t0&&Lr(e)}nn().fixedElements&&nn().css3&&Re(nn().fixedElements).forEach((function(n){In.appendChild(n)})),nn().navigation&&ne(),Re('iframe[src*="youtube.com/embed/"]',q()).forEach((function(n){var t,e;e=or(t=n,"src"),t.setAttribute("src",e+(/\?/.test(e)?"&":"?")+"enablejsapi=1")})),fn("fadingEffect","apply"),fn("waterEffect","init"),fn("dropEffect","init"),fn("cards","init"),fn("effects","init"),fn("continuousHorizontal","afterRender"),nn().scrollOverflow&&ke.bn()}(),wo(!0),Wi(!0),Qt(nn().autoScrolling,"internal"),ge(),Xn(),"loading"!==document.readyState?bo():document.addEventListener("DOMContentLoaded",bo),mo(),ko||Eo("l"),Ft(),Wt()}function zo(){var n=nn().licenseKey;""===nn().licenseKey.trim()?(Ee("error","Fullpage.js requires a `licenseKey` option. Read about it on the following website:"),Ee("error","https://alvarotrigo.com/fullPage/docs/#licensekey")):nn()&&an.Kn||u.domain.indexOf("alvarotrigo.com")>-1?n&&n.length:(Ee("error","Incorrect `licenseKey`. Get one for fullPage.js version 4 here:"),Ee("error","https://alvarotrigo.com/fullPage/pricing")),ze(Pn,S)?Ee("error","Fullpage.js can only be initialized once and you are doing it multiple times!"):(nn().continuousVertical&&(nn().loopTop||nn().loopBottom)&&(nn().continuousVertical=!1,Ee("warn","Option `loopTop/loopBottom` is mutually exclusive with `continuousVertical`; `continuousVertical` disabled")),!nn().scrollOverflow||!nn().scrollBar&&nn().autoScrolling||Ee("warn","Options scrollBar:true and autoScrolling:false are mutually exclusive with scrollOverflow:true. Sections with scrollOverflow might not work well in Firefox"),!nn().continuousVertical||!nn().scrollBar&&nn().autoScrolling||(nn().continuousVertical=!1,Ee("warn","Scroll bars (`scrollBar:true` or `autoScrolling:false`) are mutually exclusive with `continuousVertical`; `continuousVertical` disabled")),nn().anchors.forEach((function(n){var t=[].slice.call(Re("[name]")).filter((function(t){return or(t,"name")&&or(t,"name").toLowerCase()==n.toLowerCase()})),e=[].slice.call(Re("[id]")).filter((function(t){return or(t,"id")&&or(t,"id").toLowerCase()==n.toLowerCase()}));if(e.length||t.length){Ee("error","data-anchor tags can not have the same value as any `id` element on the site (or `name` element for IE).");var r=e.length?"id":"name";(e.length||t.length)&&Ee("error",'"'+n+'" is is being used by another element `'+r+"` property")}})))}function Ho(){return{options:nn(),internals:{container:q(),canScroll:an.canScroll,isScrollAllowed:kt(),getDestinationPosition:de,isTouch:s,c:Eo,getXmovement:zt,removeAnimation:Ln,getTransforms:Rn,lazyLoad:Gn,addAnimation:En,performHorizontalMove:jt,landscapeScroll:Rt,silentLandscapeScroll:It,keepSlidesPosition:Kt,silentScroll:zn,styleSlides:Lr,styleSection:Me,scrollHandler:so,getEventsPage:di,getMSPointer:vi,isReallyTouch:ci,usingExtension:sn,toggleControlArrows:Dt,touchStartHandler:si,touchMoveHandler:li,nullOrSection:Yt,items:{SectionPanel:Zt,SlidePanel:Gt,Item:wn},getVisible:Le,getState:ln,updateState:Wt,updateStructuralState:Ft,activeSlidesNavigation:Tt,getPanels:function(){return an.rn},getSections:function(){return an.D},setActiveSection:function(n){an.L=n}}}}function No(n){var t=["MTUycHJvNzM2","NTU1S2V5Nzc3"],e=gn(t[0]),r=gn(t[1]),i=void 0!==nn()[e+r],o="fp_"+n+"Extension";yo()[n]=i?nn()[e+r]:nn()[n+r],d[n]=void 0!==window[o]?new window[o]:null,d[n]&&d[n].c(n)}function Io(n,t){var e;if(In=Re("body")[0],Pn=Re("html")[0],Cn=Re("html, body"),!ze(Pn,S))return"touchWrapper",e="string"==typeof n?Re(n)[0]:n,_.touchWrapper=e,function(n){$=je({},_,n),K=Object.assign({},$)}(t),function(n){Q=n}("string"==typeof n?Re(n)[0]:n),Jn.ln(tt),zo(),d.getFullpageData=Ho,d.version="4.0.38",d.test=Object.assign(d.test,{top:"0px",on:"translate3d(0px, 0px, 0px)",cn:function(){for(var n=[],t=0;t= averageMiddle; + } /** * Detecting mousewheel scrolling * @@ -4718,11 +4781,6 @@ isUsingWheel: true, touchDirection: 'none' }); - } //is scroll allowed? - - - if (!getIsScrollAllowed().m.down && !getIsScrollAllowed().m.up) { - return false; } if (isScrollAllowedBeyondFullPage) { @@ -4735,19 +4793,59 @@ if (getOptions().autoScrolling && !getControlPressed() && !isNormalScroll) { // cross-browser wheel delta - e = e || win.event; + e = e || win.event; // @ts-ignore - cross-browser compatibility + var value = e.wheelDelta || -e.deltaY || -e.detail; - var delta = Math.max(-1, Math.min(1, value)); - var horizontalDetection = typeof e.wheelDeltaX !== 'undefined' || typeof e.deltaX !== 'undefined'; - var isScrollingVertically = Math.abs(e.wheelDeltaX) < Math.abs(e.wheelDelta) || Math.abs(e.deltaX) < Math.abs(e.deltaY) || !horizontalDetection; - var direction = delta < 0 ? 'down' : delta > 0 ? 'up' : 'none'; //Limiting the array to 150 (lets not waste memory!) + var delta = Math.max(-1, Math.min(1, value)); // @ts-ignore - cross-browser compatibility + + var horizontalValue = e.wheelDeltaX || -e.deltaX || 0; // @ts-ignore - cross-browser compatibility + + var deltaY = e.deltaY || 0; // @ts-ignore - cross-browser compatibility + + var deltaX = e.deltaX || 0; // Detect horizontal scrolling: SHIFT key pressed OR horizontal delta is larger than vertical + // @ts-ignore - cross-browser compatibility + + var isShiftPressed = e.shiftKey || false; + var horizontalDetection = Math.abs(horizontalValue) > 0 || Math.abs(deltaX) > 0; // @ts-ignore - cross-browser compatibility + + var isScrollingVertically = !isShiftPressed && (Math.abs(deltaX) < Math.abs(deltaY) || !horizontalDetection); + var isScrollingHorizontally = isShiftPressed || !isScrollingVertically && horizontalDetection && Math.abs(deltaX) >= Math.abs(deltaY); + var direction = delta < 0 ? 'down' : delta > 0 ? 'up' : 'none'; // Get horizontal delta for horizontal scrolling + // For SHIFT+wheel, use the vertical delta as horizontal + + var horizontalDelta = isShiftPressed ? delta : Math.max(-1, Math.min(1, horizontalValue)); + var horizontalDirection = isScrollingHorizontally ? horizontalDelta < 0 ? 'right' : horizontalDelta > 0 ? 'left' : 'none' : 'none'; //is scroll allowed for the detected direction? + + if (isScrollingVertically && !getIsScrollAllowed().m.down && !getIsScrollAllowed().m.up) { + return false; + } + + if (isScrollingHorizontally && horizontalDirection === 'left' && !getIsScrollAllowed().m.left) { + return false; + } + + if (isScrollingHorizontally && horizontalDirection === 'right' && !getIsScrollAllowed().m.right) { + return false; + } //Limiting the arrays to 150 (lets not waste memory!) + if (scrollings.length > 149) { scrollings.shift(); + } + + if (horizontalScrollings.length > 149) { + horizontalScrollings.shift(); } //keeping record of the previous scrollings - scrollings.push(Math.abs(value)); //preventing to scroll the site on mouse wheel when scrollbar is present + if (isScrollingVertically) { + scrollings.push(Math.abs(value)); + } else if (isScrollingHorizontally) { + // For SHIFT+wheel, use the vertical value as horizontal + var horizontalScrollValue = isShiftPressed ? Math.abs(value) : Math.abs(horizontalValue); + horizontalScrollings.push(horizontalScrollValue); + } //preventing to scroll the site on mouse wheel when scrollbar is present + if (getOptions().scrollBar || !getOptions().scrollOverflow) { preventDefault(e); @@ -4755,24 +4853,32 @@ var timeDiff = curTime - prevTime; - prevTime = curTime; //haven't they scrolled in a while? + var horizontalTimeDiff = curTime - prevHorizontalTime; + + if (isScrollingVertically) { + prevTime = curTime; + } else if (isScrollingHorizontally) { + prevHorizontalTime = curTime; + } //haven't they scrolled in a while? //(enough to be consider a different scrolling action to scroll another section) + if (timeDiff > 200) { - //emptying the array, we dont care about old scrollings for our averages + //emptying the arrays, we dont care about old scrollings for our averages scrollings = []; } + if (horizontalTimeDiff > 200) { + horizontalScrollings = []; + } + setState({ wheelDirection: direction }); if (state.canScroll) { - var averageEnd = getAverage(scrollings, 10); - var averageMiddle = getAverage(scrollings, 70); - var isAccelerating = averageEnd >= averageMiddle; //to avoid double swipes... - - if (isAccelerating && isScrollingVertically) { + // Handle vertical scrolling + if (isScrollingVertically && isAccelerating(scrollings)) { setState({ scrollTrigger: 'wheel' }); //scrolling down? @@ -4783,6 +4889,18 @@ else { scrolling('up'); } + } // Handle horizontal scrolling + // SHIFT+wheel doesn't require acceleration (intentional gesture) + else if (isScrollingHorizontally && (isShiftPressed || isAccelerating(horizontalScrollings))) { + setState({ + scrollTrigger: 'wheel' + }); + + if (horizontalDirection === 'left') { + moveSlideLeft(); + } else if (horizontalDirection === 'right') { + moveSlideRight(); + } } } @@ -5175,12 +5293,15 @@ function bindEvents$5() { //detecting any change on the URL to scroll to the given anchor link //(a way to detect back history button as we play with the hashes on the URL) - windowAddEvent('hashchange', hashChangeHandler); + windowAddEvent('hashchange', hashChangeHandler); // Handle clicks on anchor links that point to elements within sections/slides + + docAddEvent('click', anchorLinkClickHandler); EventEmitter.on(events.onDestroy, onDestroy$2); } function onDestroy$2() { windowRemoveEvent('hashchange', hashChangeHandler); + docRemoveEvent('click', anchorLinkClickHandler); } /** * Sets lockAnchors @@ -5218,6 +5339,53 @@ } } } + /** + * Handles clicks on anchor links (a[href^="#"]) that point to elements within + * sections/slides. + * This allows navigation to specific elements within sections/slides. + */ + + + function anchorLinkClickHandler(e) { + var target = e.target; // Check if the clicked element is an anchor link or is inside one + + var link = closest(target, 'a[href^="#"]'); + if (!link) return; + var href = getAttr(link, 'href'); + if (!href || href === '#') return; // Get the target element from the href + + var targetElement = $(href)[0]; + if (!targetElement) return; // Only handle links within the fullPage container + + var container = getContainer(); + + if (!container || !container.contains(targetElement)) { + return; + } + + var sectionEl = closest(targetElement, getOptions().sectionSelector); + + if (!sectionEl) { + return; + } + + var section = getPanelByElement(state.sections, sectionEl); + + if (!section) { + return; + } + + var slideEl = closest(targetElement, getOptions().slideSelector); + var slide = slideEl && sectionEl.contains(slideEl) ? getPanelByElement(section.slides, slideEl) : null; // Prevent default browser scroll behavior + + preventDefault(e); + moveTo$1(section.index() + 1, slide ? slide.index() : null); + var scrollable = $(OVERFLOW_SEL, slide ? slide.item : section.item)[0]; + + if (scrollable) { + scrollable.scrollTo(0, targetElement.offsetTop); + } + } EventEmitter.on(events.bindEvents, bindEvents$4); @@ -5602,7 +5770,7 @@ }); }); var t = ["-"]; - var n = "\x32\x30\x32\x35\x2d\x35\x2d\x32\x36".split("-"), + var n = "\x32\x30\x32\x35\x2d\x31\x31\x2d\x31\x33".split("-"), e = new Date(n[0], n[1], n[2]), r = ["se", "licen", "-", "v3", "l", "gp"]; @@ -5647,7 +5815,7 @@ FP.setKeyboardScrolling = setKeyboardScrolling; function beforeInit() { - setKeyboardScrolling(true); + setKeyboardScrolling(getOptions().keyboardScrolling); } /** * Adds or remove the possibility of scrolling through sections by using the keyboard arrow keys @@ -5871,13 +6039,16 @@ if (className.indexOf(VIEWING_PREFIX) === 0) { removeClass($body, className); } - }); //removing added classes + }); - getNodes(getState().panels).forEach(function (item) { - if (getOptions().scrollOverflow) { - scrollOverflowHandler.destroyWrapper(item); - } + if (getOptions().scrollOverflow) { + getState().panels.forEach(function (panel) { + scrollOverflowHandler.destroyScrollable(panel); + }); + } //removing added classes + + getNodes(getState().panels).forEach(function (item) { removeClass(item, TABLE + ' ' + ACTIVE + ' ' + COMPLETELY + ' ' + IS_OVERFLOW + ' ' + LOADED); var previousStyles = getAttr(item, 'data-fp-styles'); @@ -5930,11 +6101,12 @@ setBodyClass(); - if (doc.readyState === 'complete') { + if (document.readyState !== 'loading') { scrollToAnchor(); + } else { + document.addEventListener('DOMContentLoaded', scrollToAnchor); } - windowAddEvent('load', scrollToAnchor); afterRenderActions(); // Updating the state again with the new DOM updateStructuralState(); @@ -6065,7 +6237,7 @@ }; //public functions - FP.version = '4.0.37'; + FP.version = '4.0.38'; FP.test = Object.assign(FP.test, { top: '0px', translate3d: 'translate3d(0px, 0px, 0px)', diff --git a/dist/fullpage.min.css b/dist/fullpage.min.css index cb3444a17..41f53ca3a 100644 --- a/dist/fullpage.min.css +++ b/dist/fullpage.min.css @@ -1,5 +1,5 @@ /*! - * fullPage 4.0.37 + * fullPage 4.0.38 * https://github.com/alvarotrigo/fullPage.js * * @license GPLv3 for open source use only @@ -7,5 +7,5 @@ * http://alvarotrigo.com/fullPage/pricing/ * * Copyright (C) 2021 http://alvarotrigo.com/fullPage - A project by Alvaro Trigo - */.fp-enabled body,html.fp-enabled{margin:0;padding:0;overflow:hidden;-webkit-tap-highlight-color:rgba(0,0,0,0)}.fp-section{position:relative;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;height:100%;display:block}.fp-slide{float:left}.fp-slide,.fp-slidesContainer{height:100%;display:block}.fp-slides{z-index:1;height:100%;overflow:hidden;position:relative;-webkit-transition:all .3s ease-out;transition:all .3s ease-out}.fp-table{display:flex;flex-direction:column;justify-content:center;width:100%}.fp-slidesContainer{float:left;position:relative}.fp-controlArrow{-webkit-user-select:none;-moz-user-select:none;-khtml-user-select:none;-ms-user-select:none;position:absolute;z-index:4;top:50%;cursor:pointer;margin-top:-38px;-webkit-transform:translate3d(0,0,0);-ms-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}.fp-prev{left:15px}.fp-next{right:15px}.fp-arrow{width:0;height:0;border-style:solid}.fp-arrow.fp-prev{border-width:38.5px 34px 38.5px 0;border-color:transparent #fff transparent transparent}.fp-arrow.fp-next{border-width:38.5px 0 38.5px 34px;border-color:transparent transparent transparent #fff}.fp-notransition{-webkit-transition:none!important;transition:none!important}#fp-nav{position:fixed;z-index:100;top:50%;opacity:1;transform:translateY(-50%);-ms-transform:translateY(-50%);-webkit-transform:translate3d(0,-50%,0);pointer-events:none}#fp-nav.fp-right{right:17px}#fp-nav.fp-left{left:17px}.fp-slidesNav{position:absolute;z-index:4;opacity:1;-webkit-transform:translate3d(0,0,0);-ms-transform:translate3d(0,0,0);transform:translate3d(0,0,0);left:0!important;right:0;margin:0 auto!important;pointer-events:none}.fp-slidesNav.fp-bottom{bottom:17px}.fp-slidesNav.fp-top{top:17px}#fp-nav ul,.fp-slidesNav ul{margin:0;padding:0}#fp-nav ul li,.fp-slidesNav ul li{display:block;width:14px;height:13px;margin:7px;position:relative}.fp-slidesNav ul li{display:inline-block}#fp-nav ul li a,.fp-slidesNav ul li a{display:block;position:relative;z-index:1;width:100%;height:100%;cursor:pointer;text-decoration:none;pointer-events:all}#fp-nav ul li a.active span,#fp-nav ul li:hover a.active span,.fp-slidesNav ul li a.active span,.fp-slidesNav ul li:hover a.active span{height:12px;width:12px;margin:-6px 0 0 -6px;border-radius:100%}#fp-nav ul li a span,.fp-slidesNav ul li a span{border-radius:50%;position:absolute;z-index:1;height:4px;width:4px;border:0;background:#333;left:50%;top:50%;margin:-2px 0 0 -2px;-webkit-transition:all .1s ease-in-out;-moz-transition:all .1s ease-in-out;-o-transition:all .1s ease-in-out;transition:all .1s ease-in-out}#fp-nav ul li:hover a span,.fp-slidesNav ul li:hover a span{width:10px;height:10px;margin:-5px 0 0 -5px}#fp-nav ul li .fp-tooltip{position:absolute;top:-2px;color:#fff;font-size:14px;font-family:arial,helvetica,sans-serif;white-space:nowrap;max-width:220px;overflow:hidden;display:block;opacity:0;width:0;cursor:pointer}#fp-nav ul li:hover .fp-tooltip,#fp-nav.fp-show-active a.active+.fp-tooltip{-webkit-transition:opacity .2s ease-in;transition:opacity .2s ease-in;width:auto;opacity:1}#fp-nav ul li .fp-tooltip.fp-right{right:20px}#fp-nav ul li .fp-tooltip.fp-left{left:20px}.fp-auto-height .fp-slide,.fp-auto-height.fp-section{height:auto!important}.fp-responsive .fp-is-overflow.fp-section{height:auto!important}.fp-enabled .fp-scrollable{overflow:visible;height:initial}.fp-scrollable .fp-section,.fp-scrollable .fp-slide,.fp-scrollable.fp-responsive .fp-is-overflow.fp-section{height:100vh;height:calc(var(--vh,1vh) * 100)}.fp-scrollable .fp-section:not(.fp-auto-height):not([data-percentage]),.fp-scrollable .fp-slide:not(.fp-auto-height):not([data-percentage]),.fp-scrollable.fp-responsive .fp-is-overflow.fp-section:not(.fp-auto-height):not([data-percentage]){min-height:100vh;min-height:calc(var(--vh,1vh) * 100)}.fp-overflow{justify-content:flex-start}body:not(.fp-responsive) .fp-overflow{max-height:100vh;max-height:100dvh}.fp-scrollable .fp-auto-height .fp-overflow{max-height:none}.fp-is-overflow .fp-overflow,.fp-is-overflow .fp-overflow.fp-auto-height,.fp-is-overflow .fp-overflow.fp-auto-height-responsive{overflow-y:auto}.fp-overflow{outline:0}.fp-overflow.fp-table{display:block}.fp-responsive .fp-auto-height-responsive .fp-overflow,.fp-responsive .fp-auto-height-responsive .fp-slide,.fp-responsive .fp-auto-height-responsive.fp-section{height:auto!important;min-height:auto!important}.fp-sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.fp-scroll-mac .fp-overflow::-webkit-scrollbar{background-color:transparent;width:9px}.fp-scroll-mac .fp-overflow::-webkit-scrollbar-track{background-color:transparent}.fp-scroll-mac .fp-overflow::-webkit-scrollbar-thumb{background-color:rgba(0,0,0,.4);border-radius:16px;border:4px solid transparent}.fp-warning,.fp-watermark{z-index:9999999;position:absolute;bottom:0}.fp-warning,.fp-watermark a{text-decoration:none;color:#000;background:rgba(255,255,255,.6);padding:5px 8px;font-size:14px;font-family:arial;color:#000;display:inline-block;border-radius:3px;margin:12px}.fp-noscroll .fp-overflow{overflow:hidden} + */.fp-enabled body,html.fp-enabled{margin:0;padding:0;overflow:hidden;-webkit-tap-highlight-color:rgba(0,0,0,0)}.fp-section{position:relative;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;height:100%;display:block}.fp-slide{float:left}.fp-slide,.fp-slidesContainer{height:100%;display:block}.fp-slides{z-index:1;height:100%;overflow:hidden;position:relative;-webkit-transition:all .3s ease-out;transition:all .3s ease-out}.fp-table{display:flex;flex-direction:column;justify-content:center;width:100%}.fp-slidesContainer{float:left;position:relative}.fp-controlArrow{-webkit-user-select:none;-moz-user-select:none;-khtml-user-select:none;-ms-user-select:none;position:absolute;z-index:4;top:50%;cursor:pointer;margin-top:-38px;-webkit-transform:translate3d(0,0,0);-ms-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}.fp-prev{left:15px}.fp-next{right:15px}.fp-arrow{width:0;height:0;border-style:solid}.fp-arrow.fp-prev{border-width:38.5px 34px 38.5px 0;border-color:transparent #fff transparent transparent}.fp-arrow.fp-next{border-width:38.5px 0 38.5px 34px;border-color:transparent transparent transparent #fff}.fp-notransition{-webkit-transition:none!important;transition:none!important}#fp-nav{position:fixed;z-index:100;top:50%;opacity:1;transform:translateY(-50%);-ms-transform:translateY(-50%);-webkit-transform:translate3d(0,-50%,0);pointer-events:none}#fp-nav.fp-right{right:17px}#fp-nav.fp-left{left:17px}.fp-slidesNav{position:absolute;z-index:4;opacity:1;-webkit-transform:translate3d(0,0,0);-ms-transform:translate3d(0,0,0);transform:translate3d(0,0,0);left:0!important;right:0;margin:0 auto!important;pointer-events:none}.fp-slidesNav.fp-bottom{bottom:17px}.fp-slidesNav.fp-top{top:17px}#fp-nav ul,.fp-slidesNav ul{margin:0;padding:0}#fp-nav ul li,.fp-slidesNav ul li{display:block;width:14px;height:13px;margin:7px;position:relative}.fp-slidesNav ul li{display:inline-block}#fp-nav ul li a,.fp-slidesNav ul li a{display:block;position:relative;z-index:1;width:100%;height:100%;cursor:pointer;text-decoration:none;pointer-events:all}#fp-nav ul li a.active span,#fp-nav ul li:hover a.active span,.fp-slidesNav ul li a.active span,.fp-slidesNav ul li:hover a.active span{height:12px;width:12px;margin:-6px 0 0 -6px;border-radius:100%}#fp-nav ul li a span,.fp-slidesNav ul li a span{border-radius:50%;position:absolute;z-index:1;height:4px;width:4px;border:0;background:#333;left:50%;top:50%;margin:-2px 0 0 -2px;-webkit-transition:all .1s ease-in-out;-moz-transition:all .1s ease-in-out;-o-transition:all .1s ease-in-out;transition:all .1s ease-in-out}#fp-nav ul li:hover a span,.fp-slidesNav ul li:hover a span{width:10px;height:10px;margin:-5px 0 0 -5px}#fp-nav ul li .fp-tooltip{position:absolute;top:-2px;color:#fff;font-size:14px;font-family:arial,helvetica,sans-serif;white-space:nowrap;max-width:220px;overflow:hidden;display:block;opacity:0;width:0;cursor:pointer}#fp-nav ul li:hover .fp-tooltip,#fp-nav.fp-show-active a.active+.fp-tooltip{-webkit-transition:opacity .2s ease-in;transition:opacity .2s ease-in;width:auto;opacity:1}#fp-nav ul li .fp-tooltip.fp-right{right:20px}#fp-nav ul li .fp-tooltip.fp-left{left:20px}.fp-auto-height .fp-slide,.fp-auto-height.fp-section{height:auto!important}.fp-responsive .fp-is-overflow.fp-section{height:auto!important}.fp-enabled .fp-scrollable{overflow:visible;height:initial}.fp-scrollable .fp-section,.fp-scrollable .fp-slide,.fp-scrollable.fp-responsive .fp-is-overflow.fp-section{height:100vh;height:calc(var(--vh,1vh) * 100)}.fp-scrollable .fp-section:not(.fp-auto-height):not([data-percentage]),.fp-scrollable .fp-slide:not(.fp-auto-height):not([data-percentage]),.fp-scrollable.fp-responsive .fp-is-overflow.fp-section:not(.fp-auto-height):not([data-percentage]){min-height:100vh;min-height:calc(var(--vh,1vh) * 100)}.fp-overflow{justify-content:flex-start;width:100dvw}body:not(.fp-responsive) .fp-overflow{max-height:100vh;max-height:100dvh}.fp-scrollable .fp-auto-height .fp-overflow{max-height:none}.fp-is-overflow .fp-overflow,.fp-is-overflow .fp-overflow.fp-auto-height,.fp-is-overflow .fp-overflow.fp-auto-height-responsive{overflow-y:auto}.fp-overflow{outline:0}.fp-overflow.fp-table{display:block}.fp-responsive .fp-auto-height-responsive .fp-overflow,.fp-responsive .fp-auto-height-responsive .fp-slide,.fp-responsive .fp-auto-height-responsive.fp-section{height:auto!important;min-height:auto!important}.fp-sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.fp-scroll-mac .fp-overflow::-webkit-scrollbar{background-color:transparent;width:9px}.fp-scroll-mac .fp-overflow::-webkit-scrollbar-track{background-color:transparent}.fp-scroll-mac .fp-overflow::-webkit-scrollbar-thumb{background-color:rgba(0,0,0,.4);border-radius:16px;border:4px solid transparent}.fp-warning,.fp-watermark{z-index:9999999;position:absolute;bottom:0}.fp-warning,.fp-watermark a{text-decoration:none;color:#000;background:rgba(255,255,255,.6);padding:5px 8px;font-size:14px;font-family:arial;color:#000;display:inline-block;border-radius:3px;margin:12px}.fp-noscroll .fp-overflow{overflow:hidden} /*# sourceMappingURL=fullpage.min.css.map */ diff --git a/dist/fullpage.min.css.map b/dist/fullpage.min.css.map index c06bacb68..d9b3eb816 100644 --- a/dist/fullpage.min.css.map +++ b/dist/fullpage.min.css.map @@ -1 +1 @@ -{"version":3,"sources":["fullpage.css"],"names":[],"mappings":"AAAA;;;;;;;;;AAWA,iBADA,gBAEI,OAAQ,EACR,QAAS,EACT,SAAS,OAGT,4BAA6B,cAEjC,YACI,SAAU,SACV,mBAAoB,WACpB,gBAAiB,WACjB,WAAY,WACZ,OAAQ,KACR,QAAS,MAEb,UACI,MAAO,KAEX,UAAW,oBACP,OAAQ,KACR,QAAS,MAEb,WACI,QAAQ,EACR,OAAQ,KACR,SAAU,OACV,SAAU,SACV,mBAAoB,IAAI,IAAK,SAC7B,WAAY,IAAI,IAAK,SAEzB,UACI,QAAS,KACT,eAAgB,OAChB,gBAAiB,OACjB,MAAO,KAEX,oBACI,MAAO,KACP,SAAU,SAEd,iBACI,oBAAqB,KACrB,iBAAkB,KAClB,mBAAoB,KACpB,gBAAiB,KACjB,SAAU,SACV,QAAS,EACT,IAAK,IACL,OAAQ,QACR,WAAY,MACZ,kBAAmB,mBACnB,cAAe,mBACf,UAAW,mBAEf,SACI,KAAM,KAEV,SACI,MAAO,KAEX,UACI,MAAO,EACP,OAAQ,EACR,aAAc,MAElB,kBACI,aAAc,OAAO,KAAK,OAAO,EACjC,aAAc,YAAY,KAAK,YAAY,YAE/C,kBACI,aAAc,OAAO,EAAE,OAAO,KAC9B,aAAc,YAAY,YAAY,YAAY,KAEtD,iBACI,mBAAoB,eACpB,WAAY,eAEhB,QACI,SAAU,MACV,QAAS,IACT,IAAK,IACL,QAAS,EACT,UAAW,iBACX,cAAe,iBACf,kBAAmB,sBACnB,eAAgB,KAEpB,iBACI,MAAO,KAEX,gBACI,KAAM,KAEV,cACI,SAAU,SACV,QAAS,EACT,QAAS,EACT,kBAAmB,mBACnB,cAAe,mBACf,UAAW,mBACX,KAAM,YACN,MAAO,EACP,OAAQ,EAAE,eACV,eAAgB,KAEpB,wBACI,OAAQ,KAEZ,qBACI,IAAK,KAET,WACA,iBACE,OAAQ,EACR,QAAS,EAEX,cACA,oBACI,QAAS,MACT,MAAO,KACP,OAAQ,KACR,OAAQ,IACR,SAAS,SAEb,oBACI,QAAS,aAEb,gBACA,sBACI,QAAS,MACT,SAAU,SACV,QAAS,EACT,MAAO,KACP,OAAQ,KACR,OAAQ,QACR,gBAAiB,KACjB,eAAgB,IAEpB,4BAEA,kCADA,kCAEA,wCACI,OAAQ,KACR,MAAO,KACP,OAAQ,KAAK,EAAE,EAAE,KACjB,cAAe,KAEnB,qBACA,2BACI,cAAe,IACf,SAAU,SACV,QAAS,EACT,OAAQ,IACR,MAAO,IACP,OAAQ,EACR,WAAY,KACZ,KAAM,IACN,IAAK,IACL,OAAQ,KAAK,EAAE,EAAE,KACjB,mBAAoB,IAAI,IAAK,YAC7B,gBAAiB,IAAI,IAAK,YAC1B,cAAe,IAAI,IAAK,YACxB,WAAY,IAAI,IAAK,YAEzB,2BACA,iCACI,MAAO,KACP,OAAQ,KACR,OAAQ,KAAK,EAAI,EAAI,KAEzB,0BACI,SAAU,SACV,IAAK,KACL,MAAO,KACP,UAAW,KACX,YAAa,KAAK,CAAE,SAAS,CAAE,WAC/B,YAAa,OACb,UAAW,MACX,SAAU,OACV,QAAS,MACT,QAAS,EACT,MAAO,EACP,OAAQ,QAEZ,gCACA,4CACI,mBAAoB,QAAQ,IAAK,QACjC,WAAY,QAAQ,IAAK,QACzB,MAAO,KACP,QAAS,EAEb,mCACI,MAAO,KAEX,kCACI,KAAM,KAGV,0BADA,2BAEI,OAAQ,eAGZ,0CACI,OAAQ,eAIZ,2BACI,SAAU,QACV,OAAQ,QAKZ,2BACA,yBAFA,wDAIG,OAAQ,MACR,OAAQ,0BAIX,uEACA,qEAFA,oGAII,WAAY,MACZ,WAAY,0BAIhB,aACI,gBAAiB,WAGrB,sCACI,WAAY,MACZ,WAAY,OAIhB,4CACI,WAAY,KAKhB,6BADA,4CADA,uDAGI,WAAY,KAEhB,aACI,QAAQ,EAGZ,sBACI,QAAS,MAKb,uDADA,oDADA,qDAGI,OAAQ,eACR,WAAY,eAIhB,YACI,SAAU,SACV,MAAO,IACP,OAAQ,IACR,QAAS,EACT,SAAU,OACV,KAAM,cACN,YAAa,OACb,OAAQ,EAKZ,+CACI,iBAAkB,YAClB,MAAO,IAEX,qDACI,iBAAkB,YAEtB,qDACI,iBAAkB,eAClB,cAAe,KACf,OAAQ,IAAI,MAAM,YAEtB,YACA,cACI,QAAS,QACT,SAAU,SACV,OAAQ,EAEZ,YACA,gBACI,gBAAiB,KACjB,MAAO,KACP,WAAY,qBACZ,QAAS,IAAI,IACb,UAAW,KACX,YAAa,MACb,MAAO,KACP,QAAS,aACT,cAAe,IACf,OAAQ,KAEZ,0BACI,SAAU","file":"fullpage.min.css","sourcesContent":["/*!\r\n * fullPage 4.0.37\r\n * https://github.com/alvarotrigo/fullPage.js\r\n *\r\n * @license GPLv3 for open source use only\r\n * or Fullpage Commercial License for commercial use\r\n * http://alvarotrigo.com/fullPage/pricing/\r\n *\r\n * Copyright (C) 2021 http://alvarotrigo.com/fullPage - A project by Alvaro Trigo\r\n */\r\nhtml.fp-enabled,\r\n.fp-enabled body {\r\n margin: 0;\r\n padding: 0;\r\n overflow:hidden;\r\n\r\n /*Avoid flicker on slides transitions for mobile phones #336 */\r\n -webkit-tap-highlight-color: rgba(0,0,0,0);\r\n}\r\n.fp-section {\r\n position: relative;\r\n -webkit-box-sizing: border-box; /* Safari<=5 Android<=3 */\r\n -moz-box-sizing: border-box; /* <=28 */\r\n box-sizing: border-box;\r\n height: 100%;\r\n display: block;\r\n}\r\n.fp-slide {\r\n float: left;\r\n}\r\n.fp-slide, .fp-slidesContainer {\r\n height: 100%;\r\n display: block;\r\n}\r\n.fp-slides {\r\n z-index:1;\r\n height: 100%;\r\n overflow: hidden;\r\n position: relative;\r\n -webkit-transition: all 0.3s ease-out; /* Safari<=6 Android<=4.3 */\r\n transition: all 0.3s ease-out;\r\n}\r\n.fp-table{\r\n display: flex;\r\n flex-direction: column;\r\n justify-content: center;\r\n width: 100%;\r\n}\r\n.fp-slidesContainer {\r\n float: left;\r\n position: relative;\r\n}\r\n.fp-controlArrow {\r\n -webkit-user-select: none; /* webkit (safari, chrome) browsers */\r\n -moz-user-select: none; /* mozilla browsers */\r\n -khtml-user-select: none; /* webkit (konqueror) browsers */\r\n -ms-user-select: none; /* IE10+ */\r\n position: absolute;\r\n z-index: 4;\r\n top: 50%;\r\n cursor: pointer;\r\n margin-top: -38px;\r\n -webkit-transform: translate3d(0,0,0);\r\n -ms-transform: translate3d(0,0,0);\r\n transform: translate3d(0,0,0);\r\n}\r\n.fp-prev{\r\n left: 15px;\r\n}\r\n.fp-next{\r\n right: 15px;\r\n}\r\n.fp-arrow{\r\n width: 0;\r\n height: 0;\r\n border-style: solid;\r\n}\r\n.fp-arrow.fp-prev {\r\n border-width: 38.5px 34px 38.5px 0;\r\n border-color: transparent #fff transparent transparent;\r\n}\r\n.fp-arrow.fp-next {\r\n border-width: 38.5px 0 38.5px 34px;\r\n border-color: transparent transparent transparent #fff;\r\n}\r\n.fp-notransition {\r\n -webkit-transition: none !important;\r\n transition: none !important;\r\n}\r\n#fp-nav {\r\n position: fixed;\r\n z-index: 100;\r\n top: 50%;\r\n opacity: 1;\r\n transform: translateY(-50%);\r\n -ms-transform: translateY(-50%);\r\n -webkit-transform: translate3d(0,-50%,0);\r\n pointer-events: none;\r\n}\r\n#fp-nav.fp-right {\r\n right: 17px;\r\n}\r\n#fp-nav.fp-left {\r\n left: 17px;\r\n}\r\n.fp-slidesNav{\r\n position: absolute;\r\n z-index: 4;\r\n opacity: 1;\r\n -webkit-transform: translate3d(0,0,0);\r\n -ms-transform: translate3d(0,0,0);\r\n transform: translate3d(0,0,0);\r\n left: 0 !important;\r\n right: 0;\r\n margin: 0 auto !important;\r\n pointer-events: none;\r\n}\r\n.fp-slidesNav.fp-bottom {\r\n bottom: 17px;\r\n}\r\n.fp-slidesNav.fp-top {\r\n top: 17px;\r\n}\r\n#fp-nav ul,\r\n.fp-slidesNav ul {\r\n margin: 0;\r\n padding: 0;\r\n}\r\n#fp-nav ul li,\r\n.fp-slidesNav ul li {\r\n display: block;\r\n width: 14px;\r\n height: 13px;\r\n margin: 7px;\r\n position:relative;\r\n}\r\n.fp-slidesNav ul li {\r\n display: inline-block;\r\n}\r\n#fp-nav ul li a,\r\n.fp-slidesNav ul li a {\r\n display: block;\r\n position: relative;\r\n z-index: 1;\r\n width: 100%;\r\n height: 100%;\r\n cursor: pointer;\r\n text-decoration: none;\r\n pointer-events: all;\r\n}\r\n#fp-nav ul li a.active span,\r\n.fp-slidesNav ul li a.active span,\r\n#fp-nav ul li:hover a.active span,\r\n.fp-slidesNav ul li:hover a.active span{\r\n height: 12px;\r\n width: 12px;\r\n margin: -6px 0 0 -6px;\r\n border-radius: 100%;\r\n }\r\n#fp-nav ul li a span,\r\n.fp-slidesNav ul li a span {\r\n border-radius: 50%;\r\n position: absolute;\r\n z-index: 1;\r\n height: 4px;\r\n width: 4px;\r\n border: 0;\r\n background: #333;\r\n left: 50%;\r\n top: 50%;\r\n margin: -2px 0 0 -2px;\r\n -webkit-transition: all 0.1s ease-in-out;\r\n -moz-transition: all 0.1s ease-in-out;\r\n -o-transition: all 0.1s ease-in-out;\r\n transition: all 0.1s ease-in-out;\r\n}\r\n#fp-nav ul li:hover a span,\r\n.fp-slidesNav ul li:hover a span{\r\n width: 10px;\r\n height: 10px;\r\n margin: -5px 0px 0px -5px;\r\n}\r\n#fp-nav ul li .fp-tooltip {\r\n position: absolute;\r\n top: -2px;\r\n color: #fff;\r\n font-size: 14px;\r\n font-family: arial, helvetica, sans-serif;\r\n white-space: nowrap;\r\n max-width: 220px;\r\n overflow: hidden;\r\n display: block;\r\n opacity: 0;\r\n width: 0;\r\n cursor: pointer;\r\n}\r\n#fp-nav ul li:hover .fp-tooltip,\r\n#fp-nav.fp-show-active a.active + .fp-tooltip {\r\n -webkit-transition: opacity 0.2s ease-in;\r\n transition: opacity 0.2s ease-in;\r\n width: auto;\r\n opacity: 1;\r\n}\r\n#fp-nav ul li .fp-tooltip.fp-right {\r\n right: 20px;\r\n}\r\n#fp-nav ul li .fp-tooltip.fp-left {\r\n left: 20px;\r\n}\r\n.fp-auto-height.fp-section,\r\n.fp-auto-height .fp-slide{\r\n height: auto !important;\r\n}\r\n\r\n.fp-responsive .fp-is-overflow.fp-section{\r\n height: auto !important;\r\n}\r\n\r\n/* Tries to prevent overwrites #4657 */\r\n.fp-enabled .fp-scrollable{\r\n overflow: visible;\r\n height: initial;\r\n}\r\n\r\n/* Used with autoScrolling: false */ \r\n.fp-scrollable.fp-responsive .fp-is-overflow.fp-section,\r\n.fp-scrollable .fp-section,\r\n.fp-scrollable .fp-slide{\r\n /* Fallback for browsers that do not support Custom Properties */\r\n height: 100vh;\r\n height: calc(var(--vh, 1vh) * 100);\r\n}\r\n\r\n.fp-scrollable.fp-responsive .fp-is-overflow.fp-section:not(.fp-auto-height):not([data-percentage]),\r\n.fp-scrollable .fp-section:not(.fp-auto-height):not([data-percentage]),\r\n.fp-scrollable .fp-slide:not(.fp-auto-height):not([data-percentage]){\r\n /* Fallback for browsers that do not support Custom Properties */\r\n min-height: 100vh;\r\n min-height: calc(var(--vh, 1vh) * 100);\r\n}\r\n\r\n/* Disabling vertical centering on scrollable elements */\r\n.fp-overflow{\r\n justify-content: flex-start;\r\n}\r\n\r\nbody:not(.fp-responsive) .fp-overflow{\r\n max-height: 100vh;\r\n max-height: 100dvh; /* fix for new browsers */\r\n}\r\n\r\n/* No scrollable when using auto-height */\r\n.fp-scrollable .fp-auto-height .fp-overflow{\r\n max-height: none;\r\n}\r\n\r\n.fp-is-overflow .fp-overflow.fp-auto-height-responsive,\r\n.fp-is-overflow .fp-overflow.fp-auto-height,\r\n.fp-is-overflow .fp-overflow{\r\n overflow-y: auto;\r\n}\r\n.fp-overflow{\r\n outline:none;\r\n}\r\n\r\n.fp-overflow.fp-table{\r\n display: block;\r\n}\r\n\r\n.fp-responsive .fp-auto-height-responsive.fp-section,\r\n.fp-responsive .fp-auto-height-responsive .fp-slide,\r\n.fp-responsive .fp-auto-height-responsive .fp-overflow{\r\n height: auto !important;\r\n min-height: auto !important;\r\n}\r\n\r\n/*Only display content to screen readers*/\r\n.fp-sr-only{\r\n position: absolute;\r\n width: 1px;\r\n height: 1px;\r\n padding: 0;\r\n overflow: hidden;\r\n clip: rect(0, 0, 0, 0);\r\n white-space: nowrap;\r\n border: 0;\r\n}\r\n\r\n/* Customize website's scrollbar like Mac OS\r\nNot supports in Firefox and IE */\r\n.fp-scroll-mac .fp-overflow::-webkit-scrollbar {\r\n background-color: transparent;\r\n width: 9px;\r\n}\r\n.fp-scroll-mac .fp-overflow::-webkit-scrollbar-track {\r\n background-color: transparent;\r\n}\r\n.fp-scroll-mac .fp-overflow::-webkit-scrollbar-thumb {\r\n background-color: rgba(0,0,0,.4);\r\n border-radius: 16px;\r\n border: 4px solid transparent;\r\n}\r\n.fp-warning,\r\n.fp-watermark{\r\n z-index: 9999999;\r\n position: absolute;\r\n bottom: 0;\r\n}\r\n.fp-warning,\r\n.fp-watermark a{\r\n text-decoration: none;\r\n color: #000;\r\n background: rgba(255,255,255,0.6);\r\n padding: 5px 8px;\r\n font-size: 14px;\r\n font-family: arial;\r\n color: black;\r\n display: inline-block;\r\n border-radius: 3px;\r\n margin: 12px;\r\n}\r\n.fp-noscroll .fp-overflow{\r\n overflow: hidden;\r\n}"]} \ No newline at end of file +{"version":3,"sources":["fullpage.css"],"names":[],"mappings":"AAAA;;;;;;;;;AAWA,iBADA,gBAEI,OAAQ,EACR,QAAS,EACT,SAAS,OAGT,4BAA6B,cAEjC,YACI,SAAU,SACV,mBAAoB,WACpB,gBAAiB,WACjB,WAAY,WACZ,OAAQ,KACR,QAAS,MAEb,UACI,MAAO,KAEX,UAAW,oBACP,OAAQ,KACR,QAAS,MAEb,WACI,QAAQ,EACR,OAAQ,KACR,SAAU,OACV,SAAU,SACV,mBAAoB,IAAI,IAAK,SAC7B,WAAY,IAAI,IAAK,SAEzB,UACI,QAAS,KACT,eAAgB,OAChB,gBAAiB,OACjB,MAAO,KAEX,oBACI,MAAO,KACP,SAAU,SAEd,iBACI,oBAAqB,KACrB,iBAAkB,KAClB,mBAAoB,KACpB,gBAAiB,KACjB,SAAU,SACV,QAAS,EACT,IAAK,IACL,OAAQ,QACR,WAAY,MACZ,kBAAmB,mBACnB,cAAe,mBACf,UAAW,mBAEf,SACI,KAAM,KAEV,SACI,MAAO,KAEX,UACI,MAAO,EACP,OAAQ,EACR,aAAc,MAElB,kBACI,aAAc,OAAO,KAAK,OAAO,EACjC,aAAc,YAAY,KAAK,YAAY,YAE/C,kBACI,aAAc,OAAO,EAAE,OAAO,KAC9B,aAAc,YAAY,YAAY,YAAY,KAEtD,iBACI,mBAAoB,eACpB,WAAY,eAEhB,QACI,SAAU,MACV,QAAS,IACT,IAAK,IACL,QAAS,EACT,UAAW,iBACX,cAAe,iBACf,kBAAmB,sBACnB,eAAgB,KAEpB,iBACI,MAAO,KAEX,gBACI,KAAM,KAEV,cACI,SAAU,SACV,QAAS,EACT,QAAS,EACT,kBAAmB,mBACnB,cAAe,mBACf,UAAW,mBACX,KAAM,YACN,MAAO,EACP,OAAQ,EAAE,eACV,eAAgB,KAEpB,wBACI,OAAQ,KAEZ,qBACI,IAAK,KAET,WACA,iBACE,OAAQ,EACR,QAAS,EAEX,cACA,oBACI,QAAS,MACT,MAAO,KACP,OAAQ,KACR,OAAQ,IACR,SAAS,SAEb,oBACI,QAAS,aAEb,gBACA,sBACI,QAAS,MACT,SAAU,SACV,QAAS,EACT,MAAO,KACP,OAAQ,KACR,OAAQ,QACR,gBAAiB,KACjB,eAAgB,IAEpB,4BAEA,kCADA,kCAEA,wCACI,OAAQ,KACR,MAAO,KACP,OAAQ,KAAK,EAAE,EAAE,KACjB,cAAe,KAEnB,qBACA,2BACI,cAAe,IACf,SAAU,SACV,QAAS,EACT,OAAQ,IACR,MAAO,IACP,OAAQ,EACR,WAAY,KACZ,KAAM,IACN,IAAK,IACL,OAAQ,KAAK,EAAE,EAAE,KACjB,mBAAoB,IAAI,IAAK,YAC7B,gBAAiB,IAAI,IAAK,YAC1B,cAAe,IAAI,IAAK,YACxB,WAAY,IAAI,IAAK,YAEzB,2BACA,iCACI,MAAO,KACP,OAAQ,KACR,OAAQ,KAAK,EAAI,EAAI,KAEzB,0BACI,SAAU,SACV,IAAK,KACL,MAAO,KACP,UAAW,KACX,YAAa,KAAK,CAAE,SAAS,CAAE,WAC/B,YAAa,OACb,UAAW,MACX,SAAU,OACV,QAAS,MACT,QAAS,EACT,MAAO,EACP,OAAQ,QAEZ,gCACA,4CACI,mBAAoB,QAAQ,IAAK,QACjC,WAAY,QAAQ,IAAK,QACzB,MAAO,KACP,QAAS,EAEb,mCACI,MAAO,KAEX,kCACI,KAAM,KAGV,0BADA,2BAEI,OAAQ,eAGZ,0CACI,OAAQ,eAIZ,2BACI,SAAU,QACV,OAAQ,QAKZ,2BACA,yBAFA,wDAIG,OAAQ,MACR,OAAQ,0BAIX,uEACA,qEAFA,oGAII,WAAY,MACZ,WAAY,0BAIhB,aACI,gBAAiB,WACjB,MAAO,OAGX,sCACI,WAAY,MACZ,WAAY,OAIhB,4CACI,WAAY,KAKhB,6BADA,4CADA,uDAGI,WAAY,KAEhB,aACI,QAAQ,EAGZ,sBACI,QAAS,MAKb,uDADA,oDADA,qDAGI,OAAQ,eACR,WAAY,eAIhB,YACI,SAAU,SACV,MAAO,IACP,OAAQ,IACR,QAAS,EACT,SAAU,OACV,KAAM,cACN,YAAa,OACb,OAAQ,EAKZ,+CACI,iBAAkB,YAClB,MAAO,IAEX,qDACI,iBAAkB,YAEtB,qDACI,iBAAkB,eAClB,cAAe,KACf,OAAQ,IAAI,MAAM,YAEtB,YACA,cACI,QAAS,QACT,SAAU,SACV,OAAQ,EAEZ,YACA,gBACI,gBAAiB,KACjB,MAAO,KACP,WAAY,qBACZ,QAAS,IAAI,IACb,UAAW,KACX,YAAa,MACb,MAAO,KACP,QAAS,aACT,cAAe,IACf,OAAQ,KAEZ,0BACI,SAAU","file":"fullpage.min.css","sourcesContent":["/*!\r\n * fullPage 4.0.38\r\n * https://github.com/alvarotrigo/fullPage.js\r\n *\r\n * @license GPLv3 for open source use only\r\n * or Fullpage Commercial License for commercial use\r\n * http://alvarotrigo.com/fullPage/pricing/\r\n *\r\n * Copyright (C) 2021 http://alvarotrigo.com/fullPage - A project by Alvaro Trigo\r\n */\r\nhtml.fp-enabled,\r\n.fp-enabled body {\r\n margin: 0;\r\n padding: 0;\r\n overflow:hidden;\r\n\r\n /*Avoid flicker on slides transitions for mobile phones #336 */\r\n -webkit-tap-highlight-color: rgba(0,0,0,0);\r\n}\r\n.fp-section {\r\n position: relative;\r\n -webkit-box-sizing: border-box; /* Safari<=5 Android<=3 */\r\n -moz-box-sizing: border-box; /* <=28 */\r\n box-sizing: border-box;\r\n height: 100%;\r\n display: block;\r\n}\r\n.fp-slide {\r\n float: left;\r\n}\r\n.fp-slide, .fp-slidesContainer {\r\n height: 100%;\r\n display: block;\r\n}\r\n.fp-slides {\r\n z-index:1;\r\n height: 100%;\r\n overflow: hidden;\r\n position: relative;\r\n -webkit-transition: all 0.3s ease-out; /* Safari<=6 Android<=4.3 */\r\n transition: all 0.3s ease-out;\r\n}\r\n.fp-table{\r\n display: flex;\r\n flex-direction: column;\r\n justify-content: center;\r\n width: 100%;\r\n}\r\n.fp-slidesContainer {\r\n float: left;\r\n position: relative;\r\n}\r\n.fp-controlArrow {\r\n -webkit-user-select: none; /* webkit (safari, chrome) browsers */\r\n -moz-user-select: none; /* mozilla browsers */\r\n -khtml-user-select: none; /* webkit (konqueror) browsers */\r\n -ms-user-select: none; /* IE10+ */\r\n position: absolute;\r\n z-index: 4;\r\n top: 50%;\r\n cursor: pointer;\r\n margin-top: -38px;\r\n -webkit-transform: translate3d(0,0,0);\r\n -ms-transform: translate3d(0,0,0);\r\n transform: translate3d(0,0,0);\r\n}\r\n.fp-prev{\r\n left: 15px;\r\n}\r\n.fp-next{\r\n right: 15px;\r\n}\r\n.fp-arrow{\r\n width: 0;\r\n height: 0;\r\n border-style: solid;\r\n}\r\n.fp-arrow.fp-prev {\r\n border-width: 38.5px 34px 38.5px 0;\r\n border-color: transparent #fff transparent transparent;\r\n}\r\n.fp-arrow.fp-next {\r\n border-width: 38.5px 0 38.5px 34px;\r\n border-color: transparent transparent transparent #fff;\r\n}\r\n.fp-notransition {\r\n -webkit-transition: none !important;\r\n transition: none !important;\r\n}\r\n#fp-nav {\r\n position: fixed;\r\n z-index: 100;\r\n top: 50%;\r\n opacity: 1;\r\n transform: translateY(-50%);\r\n -ms-transform: translateY(-50%);\r\n -webkit-transform: translate3d(0,-50%,0);\r\n pointer-events: none;\r\n}\r\n#fp-nav.fp-right {\r\n right: 17px;\r\n}\r\n#fp-nav.fp-left {\r\n left: 17px;\r\n}\r\n.fp-slidesNav{\r\n position: absolute;\r\n z-index: 4;\r\n opacity: 1;\r\n -webkit-transform: translate3d(0,0,0);\r\n -ms-transform: translate3d(0,0,0);\r\n transform: translate3d(0,0,0);\r\n left: 0 !important;\r\n right: 0;\r\n margin: 0 auto !important;\r\n pointer-events: none;\r\n}\r\n.fp-slidesNav.fp-bottom {\r\n bottom: 17px;\r\n}\r\n.fp-slidesNav.fp-top {\r\n top: 17px;\r\n}\r\n#fp-nav ul,\r\n.fp-slidesNav ul {\r\n margin: 0;\r\n padding: 0;\r\n}\r\n#fp-nav ul li,\r\n.fp-slidesNav ul li {\r\n display: block;\r\n width: 14px;\r\n height: 13px;\r\n margin: 7px;\r\n position:relative;\r\n}\r\n.fp-slidesNav ul li {\r\n display: inline-block;\r\n}\r\n#fp-nav ul li a,\r\n.fp-slidesNav ul li a {\r\n display: block;\r\n position: relative;\r\n z-index: 1;\r\n width: 100%;\r\n height: 100%;\r\n cursor: pointer;\r\n text-decoration: none;\r\n pointer-events: all;\r\n}\r\n#fp-nav ul li a.active span,\r\n.fp-slidesNav ul li a.active span,\r\n#fp-nav ul li:hover a.active span,\r\n.fp-slidesNav ul li:hover a.active span{\r\n height: 12px;\r\n width: 12px;\r\n margin: -6px 0 0 -6px;\r\n border-radius: 100%;\r\n }\r\n#fp-nav ul li a span,\r\n.fp-slidesNav ul li a span {\r\n border-radius: 50%;\r\n position: absolute;\r\n z-index: 1;\r\n height: 4px;\r\n width: 4px;\r\n border: 0;\r\n background: #333;\r\n left: 50%;\r\n top: 50%;\r\n margin: -2px 0 0 -2px;\r\n -webkit-transition: all 0.1s ease-in-out;\r\n -moz-transition: all 0.1s ease-in-out;\r\n -o-transition: all 0.1s ease-in-out;\r\n transition: all 0.1s ease-in-out;\r\n}\r\n#fp-nav ul li:hover a span,\r\n.fp-slidesNav ul li:hover a span{\r\n width: 10px;\r\n height: 10px;\r\n margin: -5px 0px 0px -5px;\r\n}\r\n#fp-nav ul li .fp-tooltip {\r\n position: absolute;\r\n top: -2px;\r\n color: #fff;\r\n font-size: 14px;\r\n font-family: arial, helvetica, sans-serif;\r\n white-space: nowrap;\r\n max-width: 220px;\r\n overflow: hidden;\r\n display: block;\r\n opacity: 0;\r\n width: 0;\r\n cursor: pointer;\r\n}\r\n#fp-nav ul li:hover .fp-tooltip,\r\n#fp-nav.fp-show-active a.active + .fp-tooltip {\r\n -webkit-transition: opacity 0.2s ease-in;\r\n transition: opacity 0.2s ease-in;\r\n width: auto;\r\n opacity: 1;\r\n}\r\n#fp-nav ul li .fp-tooltip.fp-right {\r\n right: 20px;\r\n}\r\n#fp-nav ul li .fp-tooltip.fp-left {\r\n left: 20px;\r\n}\r\n.fp-auto-height.fp-section,\r\n.fp-auto-height .fp-slide{\r\n height: auto !important;\r\n}\r\n\r\n.fp-responsive .fp-is-overflow.fp-section{\r\n height: auto !important;\r\n}\r\n\r\n/* Tries to prevent overwrites #4657 */\r\n.fp-enabled .fp-scrollable{\r\n overflow: visible;\r\n height: initial;\r\n}\r\n\r\n/* Used with autoScrolling: false */ \r\n.fp-scrollable.fp-responsive .fp-is-overflow.fp-section,\r\n.fp-scrollable .fp-section,\r\n.fp-scrollable .fp-slide{\r\n /* Fallback for browsers that do not support Custom Properties */\r\n height: 100vh;\r\n height: calc(var(--vh, 1vh) * 100);\r\n}\r\n\r\n.fp-scrollable.fp-responsive .fp-is-overflow.fp-section:not(.fp-auto-height):not([data-percentage]),\r\n.fp-scrollable .fp-section:not(.fp-auto-height):not([data-percentage]),\r\n.fp-scrollable .fp-slide:not(.fp-auto-height):not([data-percentage]){\r\n /* Fallback for browsers that do not support Custom Properties */\r\n min-height: 100vh;\r\n min-height: calc(var(--vh, 1vh) * 100);\r\n}\r\n\r\n/* Disabling vertical centering on scrollable elements */\r\n.fp-overflow{\r\n justify-content: flex-start;\r\n width: 100dvw; /* In case its necessary #4717 */\r\n}\r\n\r\nbody:not(.fp-responsive) .fp-overflow{\r\n max-height: 100vh;\r\n max-height: 100dvh; /* fix for new browsers */\r\n}\r\n\r\n/* No scrollable when using auto-height */\r\n.fp-scrollable .fp-auto-height .fp-overflow{\r\n max-height: none;\r\n}\r\n\r\n.fp-is-overflow .fp-overflow.fp-auto-height-responsive,\r\n.fp-is-overflow .fp-overflow.fp-auto-height,\r\n.fp-is-overflow .fp-overflow{\r\n overflow-y: auto;\r\n}\r\n.fp-overflow{\r\n outline:none;\r\n}\r\n\r\n.fp-overflow.fp-table{\r\n display: block;\r\n}\r\n\r\n.fp-responsive .fp-auto-height-responsive.fp-section,\r\n.fp-responsive .fp-auto-height-responsive .fp-slide,\r\n.fp-responsive .fp-auto-height-responsive .fp-overflow{\r\n height: auto !important;\r\n min-height: auto !important;\r\n}\r\n\r\n/*Only display content to screen readers*/\r\n.fp-sr-only{\r\n position: absolute;\r\n width: 1px;\r\n height: 1px;\r\n padding: 0;\r\n overflow: hidden;\r\n clip: rect(0, 0, 0, 0);\r\n white-space: nowrap;\r\n border: 0;\r\n}\r\n\r\n/* Customize website's scrollbar like Mac OS\r\nNot supports in Firefox and IE */\r\n.fp-scroll-mac .fp-overflow::-webkit-scrollbar {\r\n background-color: transparent;\r\n width: 9px;\r\n}\r\n.fp-scroll-mac .fp-overflow::-webkit-scrollbar-track {\r\n background-color: transparent;\r\n}\r\n.fp-scroll-mac .fp-overflow::-webkit-scrollbar-thumb {\r\n background-color: rgba(0,0,0,.4);\r\n border-radius: 16px;\r\n border: 4px solid transparent;\r\n}\r\n.fp-warning,\r\n.fp-watermark{\r\n z-index: 9999999;\r\n position: absolute;\r\n bottom: 0;\r\n}\r\n.fp-warning,\r\n.fp-watermark a{\r\n text-decoration: none;\r\n color: #000;\r\n background: rgba(255,255,255,0.6);\r\n padding: 5px 8px;\r\n font-size: 14px;\r\n font-family: arial;\r\n color: black;\r\n display: inline-block;\r\n border-radius: 3px;\r\n margin: 12px;\r\n}\r\n.fp-noscroll .fp-overflow{\r\n overflow: hidden;\r\n}"]} \ No newline at end of file diff --git a/dist/fullpage.min.js b/dist/fullpage.min.js index 8f4dcdd73..860c5fbee 100644 --- a/dist/fullpage.min.js +++ b/dist/fullpage.min.js @@ -1,5 +1,5 @@ /*! -* fullPage 4.0.37 +* fullPage 4.0.38 * https://github.com/alvarotrigo/fullPage.js * * @license GPLv3 for open source use only @@ -8,4 +8,4 @@ * * Copyright (C) 2018 http://alvarotrigo.com/fullPage - A project by Alvaro Trigo */ -!function(n,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(n="undefined"!=typeof globalThis?globalThis:n||self).fullpage=t()}(this,(function(){"use strict";var n,t,e,i;Array.prototype.find||Object.defineProperty(Array.prototype,"find",{value:function(n){if(null==this)throw new TypeError('"this" is null or not defined');var t=Object(this),e=t.length>>>0;if("function"!=typeof n)throw new TypeError("predicate must be a function");for(var i=arguments[1],o=0;o0?1:-1)*Math.floor(Math.abs(t)):t}(n);return Math.min(Math.max(t,0),e)},function(n){var e=this,o=Object(n);if(null==n)throw new TypeError("Array.from requires an array-like object - not null or undefined");var r,a=arguments.length>1?arguments[1]:void 0;if(void 0!==a){if(!t(a))throw new TypeError("Array.from: when provided, the second argument must be a function");arguments.length>2&&(r=arguments[2])}for(var u,l=i(o.length),c=t(e)?Object(new e(l)):new Array(l),f=0;f0||navigator.maxTouchPoints,f=!!window.MSInputMethodContext&&!!document.documentMode,s={test:{},shared:{}},v=["parallax","scrollOverflowReset","dragAndMove","offsetSections","fadingEffect","responsiveSlides","continuousHorizontal","interlockedSlides","scrollHorizontally","resetSliders","cards","dropEffect","waterEffect"],d=(o=window.self!==window.top,function(){return o});function h(n,t){r.console&&r.console[n]&&r.console[n]("fullPage: "+t)}function p(n){return"none"!==r.getComputedStyle(n).display}function g(n){return Array.from(n).filter((function(n){return p(n)}))}function m(n,t){return(t=arguments.length>1?t:document)?t.querySelectorAll(n):null}function w(n){n=n||{};for(var t=1,e=arguments.length;t>=0,t=String(void 0!==t?t:" "),this.length>n?String(this):((n-=this.length)>t.length&&(t+=Array.apply(null,Array(n)).map((function(){return t})).join("")),t.slice(0,n)+String(this))}),window.fp_utils={$:m,deepExtend:w,hasClass:b,getWindowHeight:y,css:T,prev:M,next:A,last:x,index:k,getList:O,hide:j,show:L,isArrayOrList:D,addClass:E,removeClass:R,appendTo:P,wrap:F,wrapAll:z,unwrap:I,closest:N,after:B,before:H,insertBefore:W,getScrollTop:V,siblings:U,preventDefault:_,isFunction:X,trigger:Q,matches:J,toggle:Z,createElementFromHTML:nn,remove:tn,untilAll:en,nextAll:on,prevAll:rn,showError:h};var vn=Object.freeze({__proto__:null,showError:h,isVisible:p,o:g,$:m,deepExtend:w,hasClass:b,getWindowHeight:y,u:S,css:T,prev:M,next:A,last:x,index:k,getList:O,hide:j,show:L,isArrayOrList:D,addClass:E,removeClass:R,appendTo:P,wrap:F,wrapAll:z,l:C,unwrap:I,closest:N,after:B,before:H,insertBefore:W,getScrollTop:V,siblings:U,preventDefault:_,v:K,h:q,p:G,g:$,S:Y,isFunction:X,trigger:Q,matches:J,toggle:Z,createElementFromHTML:nn,remove:tn,untilAll:en,nextAll:on,prevAll:rn,toArray:an,T:un,M:ln,A:cn,O:fn,j:sn});function dn(n){return dn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},dn(n)}var hn={L:{},D:function(n,t){var e=this;return"object"!==dn(this.L[n])&&(this.L[n]=[]),this.L[n].push(t),function(){return e.removeListener(n,t)}},removeListener:function(n,t){if("object"===dn(this.L[n])){var e=this.L[n].indexOf(t);e>-1&&this.L[n].splice(e,1)}},R:function(n){for(var t=this,e=arguments.length,i=new Array(e>1?e-1:0),o=1;o','
      '],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"},cards:!1,cardsOptions:{perspective:100,fadeContent:!0,fadeBackground:!0},sectionSelector:".section",slideSelector:".slide",afterLoad:null,beforeLeave:null,onLeave:null,afterRender:null,afterResize:null,afterReBuild:null,afterSlideLoad:null,onSlideLeave:null,afterResponsive:null,onScrollOverflow:null,lazyLoading:!0,lazyLoadThreshold:0,observer:!0,scrollBeyondFullpage:!0},xt=null,kt=!1,Ot=w({},At),jt=null;function Lt(n){return xt}function Dt(){return jt||At}function Et(){return Ot}function Rt(n,t,e){jt[n]=t,"internal"!==e&&(Ot[n]=t)}function Pt(){if(!Dt().anchors.length){var n=m(Dt().sectionSelector.split(",").join("[data-anchor],")+"[data-anchor]",xt);n.length&&n.length===m(Dt().sectionSelector,xt).length&&(kt=!0,n.forEach((function(n){Dt().anchors.push(K(n,"data-anchor").toString())})))}if(!Dt().navigationTooltips.length){var t=m(Dt().sectionSelector.split(",").join("[data-tooltip],")+"[data-tooltip]",xt);t.length&&t.forEach((function(n){Dt().navigationTooltips.push(K(n,"data-tooltip").toString())}))}}var Ft=function(n){this.anchor=n.anchor,this.item=n.item,this.index=n.index(),this.isLast=this.index===n.item.parentElement.querySelectorAll(n.selector).length-1,this.isFirst=!this.index,this.isActive=n.isActive},zt=function(n,t){this.parent=this.parent||null,this.selector=t,this.anchor=K(n,"data-anchor")||Dt().anchors[k(n,Dt().sectionSelector)],this.item=n,this.isVisible=p(n),this.isActive=b(n,Qn),this.un=b(n,ht)||null!=m(pt,n)[0],this.ln=t===Dt().sectionSelector,this.cn=N(n,vt)||N(n,Kn),this.index=function(){return this.siblings().indexOf(this)}};function Ct(n){return n.map((function(n){return n.item}))}function It(n,t){return n.find((function(n){return n.item===t}))}zt.prototype.siblings=function(){return this.ln?this.isVisible?gn.C:gn.sn:this.parent?this.parent.slides:0},zt.prototype.prev=function(){var n=this.siblings(),t=(this.ln?n.indexOf(this):this.parent.slides.indexOf(this))-1;return t>=0?n[t]:null},zt.prototype.next=function(){var n=this.siblings(),t=(this.ln?n.indexOf(this):this.parent.slides.indexOf(this))+1;return ti?"up":"down"}function Gt(n){return E(n,$n)}function $t(n){return{"-webkit-transform":n,"-moz-transform":n,"-ms-transform":n,transform:n}}function Yt(n,t){t?Kt(Lt()):Gt(Lt()),clearTimeout(Nt),T(Lt(),$t(n)),s.test.hn=n,Nt=setTimeout((function(){R(Lt(),$n)}),10)}function Xt(n){var t=Math.round(n);if(Dt().css3&&Dt().autoScrolling&&!Dt().scrollBar)Yt("translate3d(0px, -"+t+"px, 0px)",!1);else if(Dt().autoScrolling&&!Dt().scrollBar)T(Lt(),{top:-t+"px"}),s.test.top=-t+"px";else{var e=Ut(t);_t(e.element,e.options)}}function Qt(n,t){Rt("scrollingSpeed",n,t)}s.setScrollingSpeed=Qt;var Jt,Zt=null,ne=null,te=null;function ee(n,t,e,i){var o,a=function(n){return n.self!=r&&b(n,ct)?n.scrollLeft:!Dt().autoScrolling||Dt().scrollBar?V():n.offsetTop}(n),u=t-a,l=!1,c=gn.q;mn({q:!0}),Jt&&window.cancelAnimationFrame(Jt),Jt=function(f){o||(o=f);var s=Math.floor(f-o);if(gn.q){var v=t;e&&(v=r.fp_easings[Dt().easing](s,a,u,e)),s<=e&&_t(n,v),s0,r=i>2&&i'+me(r.index(),"Section")+"";var l=Dt().navigationTooltips[r.index()];void 0!==l&&""!==l&&(i+='
      '+l+"
      "),i+=""}m("ul",e)[0].innerHTML=i;var c=m("li",m(rt)[0])[wn().I.index()];E(m("a",c),Qn)}function Le(n){n.preventDefault&&_(n),mn({N:"verticalNav"});var t=k(N(this,"#fp-nav li"));hn.R(Pn,{destination:wn().C[t]})}function De(n,t){var e;e=n,Dt().menu&&Dt().menu.length&&m(Dt().menu).forEach((function(n){null!=n&&(R(m(Jn,n),Qn),E(m('[data-menuanchor="'+e+'"]',n),Qn))})),function(n,t){var e=m(rt)[0];Dt().navigation&&null!=e&&"none"!==e.style.display&&(R(m(Jn,e),Qn),E(n?m('a[href="#'+n+'"]',e):m("a",m("li",e)[t]),Qn))}(n,t)}be.m={up:!0,down:!0,left:!0,right:!0},be.k=w({},be.m),hn.D(yn,(function(n){var t=n.target;(J(t,yt)||N(t,yt))&&Te.call(t,n)})),s.setRecordHistory=Me,s.setAutoScrolling=Ae,s.test.setAutoScrolling=Ae,(new Date).getTime();var Ee,Re,Pe,Fe,ze,Ce,Ie=(Re=!0,Pe=(new Date).getTime(),Fe=!r.fullpage_api,function(n,t){var e=(new Date).getTime(),i="wheel"===n?Dt().scrollingSpeed:100;return Re=Fe||e-Pe>=i,Fe=!r.fullpage_api,Re&&(Ee=t(),Pe=e),void 0===Ee||Ee});function Ne(n,t){if(X(Dt().beforeLeave))return Ie(wn().N,(function(){return re(n,t)}))}function Be(n,t,e){var i=n.item;if(null!=i){var o,r,a={element:i,callback:t,isMovementUp:e,dtop:He(i),yMovement:qt(wn().I,i),anchorLink:n.anchor,sectionIndex:n.index(),activeSlide:n.activeSlide?n.activeSlide.item:null,leavingSection:wn().I.index()+1,localIsResizing:gn.V,items:{origin:wn().I,destination:n},direction:null};if(!(wn().I.item==i&&!gn.V||Dt().scrollBar&&V()===a.dtop&&!b(i,ot))){if(null!=a.activeSlide&&(o=K(a.activeSlide,"data-anchor"),r=k(a.activeSlide,null)),!a.localIsResizing){var u=a.yMovement;if(void 0!==e&&(u=e?"up":"down"),a.direction=u,X(Dt().beforeLeave)&&!1===Ne("beforeLeave",a))return;if(X(Dt().onLeave)&&!re("onLeave",a))return}Dt().autoScrolling&&Dt().continuousVertical&&void 0!==a.isMovementUp&&(!a.isMovementUp&&"up"==a.yMovement||a.isMovementUp&&"down"==a.yMovement)&&(a=function(n){mn({on:!0});var t=wn().I.item;return n.isMovementUp?H(t,on(t,et)):B(t,rn(t,et).reverse()[0]),Xt(xe()),function(){for(var n=m(lt),t=0;tgn.tn,r=i-y()+t,a=Dt().bigSectionsDestination;return t>y()?(o||a)&&"bottom"!==a||(i=r):(o||gn.V&&null==A(n))&&(i=r),mn({tn:i}),i}function We(n){mn({B:!1}),function(n){null!=n.gn&&(n.isMovementUp?H(m(et)[0],n.gn):B(m(et)[wn().C.length-1],rn(n.element,et).reverse()),Xt(xe()),function(){for(var n=m(lt),t=0;t-1&&!ti.kn)return _(n),!1},Mn:function(){ti.xn=gn.G},onLeave:function(){clearTimeout($e),ti.kn=!1},afterLoad:function(){ti.kn=!1,clearTimeout($e),$e=setTimeout((function(){ti.xn=gn.G}),200)},En:function(){a.activeElement===this.An&&(this.An.blur(),ti.kn=!1)},Tn:function(){if(Dt().scrollOverflow&&ti.xn){ti.En();var n=ti.Rn(wn().I.item);!n||u||c||(this.An=n,requestAnimationFrame((function(){n.focus({Pn:!0}),ti.kn=!0}))),ti.xn=!1}},Sn:function(){Dt().scrollOverflowMacStyle&&!l&&E(Zt,"fp-scroll-mac"),wn().dn.forEach((function(n){if(!(n.slides&&n.slides.length||b(n.item,"fp-auto-height-responsive")&&qe())){var t,e=Wt(n.item),i=ti.wn(n.item),o=(t=n).ln?t:t.parent;if(f){var r=i?"addClass":"removeClass";vn[r](o.item,gt),vn[r](n.item,gt)}else E(o.item,gt),E(n.item,gt);n.un||(ti.Fn(e),ti.zn(e)),n.un=!0}}))},zn:function(n){ti.Rn(n).addEventListener("scroll",ti.Cn),n.addEventListener("wheel",ti.Ln,{passive:!1}),n.addEventListener("keydown",ti.Dn,{passive:!1})},Fn:function(n){var t=document.createElement("div");t.className=ht,C(n,t),t.setAttribute("tabindex","-1")},In:function(n){var t=m(pt,n)[0];t&&(I(t),n.removeAttribute("tabindex"))},Rn:function(n){var t=Wt(n);return m(pt,t)[0]||t},un:function(n){return b(n,ht)||null!=m(pt,n)[0]},bn:function(n){return n.ln&&n.activeSlide?n.activeSlide.un:n.un},wn:function(n){return ti.Rn(n).scrollHeight>r.innerHeight},isScrolled:function(n,t){if(!gn.G)return!1;if(Dt().scrollBar)return!0;var e=ti.Rn(t);if(!Dt().scrollOverflow||!b(e,ht)||b(t,"fp-noscroll")||b(Wt(t),"fp-noscroll"))return!0;var i=f?1:0,o=e.scrollTop,r="up"===n&&o<=0,a="down"===n&&e.scrollHeight<=Math.ceil(e.offsetHeight+o)+i,u=r||a;return u||"none"===n||(this.On=(new Date).getTime()),u},Nn:function(){this.jn=(new Date).getTime();var n=this.jn-ti.On,t=(u||c)&&gn.J,e=gn.Z&&n>600;return t&&n>400||e},Cn:(Ze=0,function(n){var t=n.target.scrollTop,e="none"!==gn.Y?gn.Y:Zeo?"left":"right"),l.direction=l.direction?l.direction:l.Bn,l.localIsResizing||mn({G:!1}),Dt().onSlideLeave&&!l.localIsResizing&&"none"!==l.Bn&&X(Dt().onSlideLeave)&&!1===re("onSlideLeave",l)?mn({W:!1}):(E(t,Qn),R(U(t),Qn),ci(),l.localIsResizing||(ce(l.prevSlide),se(u)),function(n){!Dt().loopHorizontal&&Dt().controlArrows&&(Z(m(Tt,n.section),0!==n.slideIndex),Z(m(Mt,n.section),null!=A(n.destiny)))}(l),a.isActive&&!l.localIsResizing&&pe(l.slideIndex,l.slideAnchor,l.anchorLink),hn.R(In,l),function(n,t,e){var i,o,r=t.destinyPos;if(i=t.slidesNav,o=t.slideIndex,Dt().slidesNavigation&&null!=i&&(R(m(Jn,i),Qn),E(m("a",m("li",i)[o]),Qn)),mn({scrollX:Math.round(r.left)}),Dt().css3){var a="translate3d(-"+Math.round(r.left)+"px, 0px, 0px)";s.test.Hn[t.sectionIndex]=a,T(Kt(m(vt,n)),$t(a)),clearTimeout(ni),ni=setTimeout((function(){ri(t)}),Dt().scrollingSpeed)}else s.test.left[t.sectionIndex]=Math.round(r.left),ee(n,Math.round(r.left),Dt().scrollingSpeed,(function(){ri(t)}))}(n,l))}function oi(){clearTimeout(ni)}function ri(n){n.localIsResizing||(X(Dt().afterSlideLoad)&&re("afterSlideLoad",n),mn({G:!0}),ue(n.destiny),hn.R(Hn,n)),mn({W:!1})}function ai(n,t){Qt(0,"internal"),void 0!==t&&mn({V:!0}),ii(N(n,ft),n),void 0!==t&&mn({V:!1}),Qt(Et().scrollingSpeed,"internal")}s.landscapeScroll=ii,hn.D(xn,(function(){hn.D(Cn,ei)}));var ui=null,li=null;function ci(){gn.I=null,gn.C.map((function(n){var t=b(n.item,Qn);n.isActive=t,n.un=ti.un(n.item),t&&(gn.I=n),n.slides.length&&(n.activeSlide=null,n.slides.map((function(t){var e=b(t.item,Qn);t.un=ti.un(n.item),t.isActive=e,e&&(n.activeSlide=t)})))})),function(){var n=gn.I,t=!!gn.I&&gn.I.slides.length,e=gn.I?gn.I.activeSlide:null;if(!n&&gn.C.length&&!wn().B&&null!==ui){var i=vi(ui,gn.C);i&&(gn.I=i,gn.I.isActive=!0,E(gn.I.item,Qn)),gn.I&&Xt(gn.I.item.offsetTop)}if(t&&!e&&null!==li){var o=vi(li,gn.I.slides);o&&(gn.I.activeSlide=o,gn.I.activeSlide.isActive=!0,E(gn.I.activeSlide.item,Qn)),gn.I.activeSlide&&ai(gn.I.activeSlide.item,"internal")}}()}function fi(){var n=m(Dt().sectionSelector,Lt()),t=g(n),e=Array.from(n).map((function(n){return new di(n)})),i=e.filter((function(n){return n.isVisible})),o=i.reduce((function(n,t){return n.concat(t.slides)}),[]);ui=si(gn.I),li=si(gn.I?gn.I.activeSlide:null),gn.P=t.length,gn.F=i.reduce((function(n,t){return n+t.slides.length}),0),gn.C=i,gn.sn=e,gn.slides=o,gn.dn=gn.C.concat(gn.slides)}function si(n){if(!n)return null;var t=n?n.item:null,e=n.ln?gn.sn:gn.I.Wn;if(t){var i=It(e,t);return i?i.index():null}return null}function vi(n,t){var e,i=n-1,o=n;do{if(e=t[i]||t[o])break;i-=1,o+=1}while(i>=0||o1&&(Dt().controlArrows&&function(n){var t=n.item,e=[nn(Dt().controlArrowsHTML[0]),nn(Dt().controlArrowsHTML[1])];B(m(ft,t)[0],e),E(e,bt),E(e[0],St),E(e[1],"fp-next"),"#fff"!==Dt().controlArrowColor&&(T(m(Mt,t),{"border-color":"transparent transparent transparent "+Dt().controlArrowColor}),T(m(Tt,t),{"border-color":"transparent "+Dt().controlArrowColor+" transparent transparent"})),Dt().loopHorizontal||j(m(Tt,t))}(n),Dt().slidesNavigation&&function(n){var t=n.item,e=n.slides.length;P(nn('
        '),t);var i=m(mt,t)[0];E(i,"fp-"+Dt().slidesNavPosition);for(var o=0;o'+me(o,"Slide",m(ut,t)[o])+""),m("ul",i)[0]);T(i,{"margin-left":"-"+i.innerWidth/2+"px"});var r=n.activeSlide?n.activeSlide.index():0;E(m("a",m("li",i)[r]),Qn)}(n)),i.forEach((function(n){T(n.item,{width:r+"%"}),Dt().verticalCentered&&Ge(n)}));var c=n.activeSlide||null;null!=c&&gn.I&&(0!==gn.I.index()||0===gn.I.index()&&0!==c.index())?ai(c.item,"internal"):E(e[0],Qn)}pi.prototype=zt.prototype,pi.prototype.constructor=di;var wi={attributes:!1,subtree:!0,childList:!0,characterData:!0};function bi(){return g(m(Dt().slideSelector,Lt())).length!==wn().F}function yi(n){var t=bi();(bi()||g(m(Dt().sectionSelector,Lt())).length!==wn().P)&&!gn.on&&(Dt().observer&&hi&&hi.disconnect(),fi(),ci(),Dt().anchors=[],tn(m(rt)),gi(),Pt(),Dt().navigation&&je(),t&&(tn(m(mt)),tn(m(yt))),wn().C.forEach((function(n){n.slides.length?t&&mi(n):Xe(n)}))),Dt().observer&&hi&&m(Kn)[0]&&hi.observe(m(Kn)[0],wi)}hn.D(xn,(function(){var n,t,e;Dt().observer&&"MutationObserver"in window&&m(Kn)[0]&&(n=m(Kn)[0],t=wi,(e=new MutationObserver(yi)).observe(n,t),hi=e),hn.D(jn,yi)})),hn.D(kn,(function(){hi&&(hi.disconnect(),hi=null)})),s.render=yi;var Si=function(){var n=!1;try{var t=Object.defineProperty({},"passive",{get:function(){n=!0}});G("testPassive",null,t),Y("testPassive",null,t)}catch(n){}return function(){return n}}();function Ti(){return!!Si()&&{passive:!1}}var Mi,Ai,xi,ki,Oi=(xi=(new Date).getTime(),ki=[],{Vn:function(n){var t=(n=n||r.event).wheelDelta||-n.deltaY||-n.detail,e=Math.max(-1,Math.min(1,t)),i=void 0!==n.wheelDeltaX||void 0!==n.deltaX;Mi=Math.abs(n.wheelDeltaX)149&&ki.shift(),ki.push(Math.abs(t));var a=o-xi;xi=o,a>200&&(ki=[])},Un:function(){var n=ln(ki,10)>=ln(ki,70);return!!ki.length&&n&&Mi},_n:function(){return Ai}});function ji(){var n=Dt().css3?V()+y():un(wn().C).item.offsetTop+un(wn().C).item.offsetHeight,t=Ut(n);s.test.top=-n+"px",mn({G:!1}),ee(t.element,t.options,Dt().scrollingSpeed,(function(){setTimeout((function(){mn({B:!0}),mn({G:!0})}),30)}))}function Li(){Lt().getBoundingClientRect().bottom>=0&&Di()}function Di(){var n=Ut(un(wn().C).item.offsetTop);mn({G:!1}),ee(n.element,n.options,Dt().scrollingSpeed,(function(){mn({G:!0}),mn({B:!1}),mn({Kn:!1})}))}var Ei,Ri,Pi,Fi=(Ei=!1,Ri={},Pi={},function(n,t,e){switch(n){case"set":Ri[t]=(new Date).getTime(),Pi[t]=e;break;case"isNewKeyframe":var i=(new Date).getTime();Ei=i-Ri[t]>Pi[t]}return Ei});function zi(){var n=wn().I.next();n||!Dt().loopBottom&&!Dt().continuousVertical||(n=wn().C[0]),null!=n?Be(n,null,!1):Lt().scrollHeightIi&&Se().m.down&&zi()),Ii=n.pageY)}function Bi(n){if(Se().m[n]){var t="down"===n?zi:Ci;Dt().scrollOverflow&&ti.bn(wn().I)?ti.isScrolled(n,wn().I.item)&&ti.Nn()&&t():t()}}var Hi,Wi,Vi,Ui,_i=0,Ki=0,qi=0,Gi=0,$i=(r.PointerEvent&&(Ui={down:"pointerdown",move:"pointermove"}),Ui),Yi={qn:"ontouchmove"in window?"touchmove":$i?$i.move:null,Gn:"ontouchstart"in window?"touchstart":$i?$i.down:null};function Xi(n){var t=N(n.target,et)||wn().I.item,e=ti.bn(wn().I);if(Qi(n)){mn({J:!0,Z:!1}),Dt().autoScrolling&&(e&&!gn.G||Dt().scrollBar)&&_(n);var i=no(n);qi=i.y,Gi=i.x;var o=Math.abs(_i-qi)>r.innerHeight/100*Dt().touchSensitivity,a=Math.abs(Ki-Gi)>S()/100*Dt().touchSensitivity,u=m(ft,t).length&&Math.abs(Ki-Gi)>Math.abs(_i-qi),l=_i>qi?"down":"up";mn({Y:u?Ki>Gi?"right":"left":l}),u?!gn.W&&a&&(Ki>Gi?Se().m.right&&hn.R(Tn,{section:t}):Se().m.left&&hn.R(Sn,{section:t})):Dt().autoScrolling&&gn.G&&o&&Bi(l)}}function Qi(n){return void 0===n.pointerType||"mouse"!=n.pointerType}function Ji(n){if(Dt().fitToSection&&mn({q:!1}),Qi(n)){var t=no(n);_i=t.y,Ki=t.x}G("touchend",Zi)}function Zi(){Y("touchend",Zi),mn({J:!1})}function no(n){var t={};return t.y=void 0!==n.pageY&&(n.pageY||n.pageX)?n.pageY:n.touches[0].pageY,t.x=void 0!==n.pageX&&(n.pageY||n.pageX)?n.pageX:n.touches[0].pageX,c&&Qi(n)&&Dt().scrollBar&&void 0!==n.touches&&(t.y=n.touches[0].pageY,t.x=n.touches[0].pageX),t}function to(n){Dt().autoScrolling&&Qi(n)&&Se().m.up&&(gn.G||_(n))}function eo(n,t){var e=null==t?wn().I.item:t,i=It(gn.C,e),o=m(ft,e)[0];if(!(null==o||gn.W||i.slides.length<2)){var r=i.activeSlide,a="left"===n?r.prev():r.next();if(!a){if(!Dt().loopHorizontal)return;a="left"===n?un(i.slides):i.slides[0]}mn({W:!s.test.mn}),ii(o,a.item,n)}}function io(n){eo("left",n)}function oo(n){eo("right",n)}function ro(n){var t=wn().C.filter((function(t){return t.anchor===n}))[0];if(!t){var e=void 0!==n?n-1:0;t=wn().C[e]}return t}function ao(n){null!=n&&ii(N(n,ft),n)}function uo(n,t){var e=ro(n);if(null!=e){var i=function(n,t){var e=t.slides.filter((function(t){return t.anchor===n}))[0];return null==e&&(n=void 0!==n?n:0,e=t.slides[n]),e?e.item:null}(t,e);e.anchor&&e.anchor===gn._||b(e.item,Qn)?ao(i):Be(e,(function(){ao(i)}))}}function lo(n,t){var e=ro(n);void 0!==t?uo(n,t):null!=e&&Be(e)}function co(){clearTimeout(Wi),$("keydown",fo),$("keyup",so)}function fo(n){clearTimeout(Wi);var t=n.keyCode,e=[37,39].indexOf(t)>-1,i=Dt().autoScrolling||Dt().fitToSection||e;9===t?function(n){var t=n.shiftKey,e=a.activeElement,i=mo(Wt(wn().I.item));function o(n){return _(n),i[0]?i[0].focus():null}if(gn.G){if(!function(n){var t=mo(a),e=t.indexOf(a.activeElement),i=t[n.shiftKey?e-1:e+1],o=N(i,ut),r=N(i,et);return!o&&!r}(n)){e?null==N(e,".fp-section.active,.fp-section.active .fp-slide.active")&&(e=o(n)):o(n);var r=e==i[0],u=e==i[i.length-1],l=t&&r;if(l||!t&&u){_(n);var c=function(n){var t,e=n?"prevPanel":"nextPanel",i=[],o=Vt((gn.I&&gn.I.activeSlide?gn.I.activeSlide:gn.I)[e]());do{(i=mo(o.item)).length&&(t={$n:o,Yn:i[n?i.length-1:0]}),o=Vt(o[e]())}while(o&&0===i.length);return t}(l),f=c?c.$n:null;if(f){var s=f.ln?f:f.parent;hn.R(Dn,{Xn:s.index()+1,slideAnchor:f.ln?0:f.index()}),Vi=c.Yn,_(n)}}}}else _(n)}(n):!sn()&&Dt().keyboardScrolling&&i&&(Hi=n.ctrlKey,Wi=setTimeout((function(){!function(n){var t=n.shiftKey,e=a.activeElement,i=J(e,"video")||J(e,"audio"),o=ti.isScrolled("up",wn().I.item),r=ti.isScrolled("down",wn().I.item),u=[37,39].indexOf(n.keyCode)>-1;if(function(n){(function(n){return[40,38,32,33,34].indexOf(n.keyCode)>-1&&!gn.B})(n)&&!N(n.target,pt)&&n.preventDefault()}(n),gn.G||u)switch(mn({N:"keydown"}),n.keyCode){case 38:case 33:Se().k.up&&o?gn.B?hn.R(En,{e:n}):Ci():ti.Tn();break;case 32:if(t&&Se().k.up&&!i&&o){Ci();break}case 40:case 34:if(Se().k.down&&r){if(gn.B)return;32===n.keyCode&&i||zi()}else ti.Tn();break;case 36:Se().k.up&&lo(1);break;case 35:Se().k.down&&lo(wn().C.length);break;case 37:Se().k.left&&io();break;case 39:Se().k.right&&oo()}}(n)}),0))}function so(n){gn.nn&&(Hi=n.ctrlKey)}function vo(){mn({nn:!1}),Hi=!1}function ho(n){go()}function po(n){N(Vi,ut)&&!N(Vi,lt)||go()}function go(){Vi&&(Vi.focus(),Vi=null)}function mo(n){return[].slice.call(m('a[href], area[href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), iframe, object, embed, [tabindex="0"], summary:not([disabled]), [contenteditable]',n)).filter((function(n){return"-1"!==K(n,"tabindex")&&null!==n.offsetParent}))}s.moveSlideLeft=io,s.moveSlideRight=oo,s.moveTo=lo,hn.D(xn,(function(){G("blur",vo),q("keydown",fo),q("keyup",so),hn.D(kn,co),hn.D(Hn,ho),hn.D(Bn,po)}));var wo=(new Date).getTime(),bo=[];function yo(n){n?(function(){var n,t="";r.addEventListener?n="addEventListener":(n="attachEvent",t="on");var e="onwheel"in a.createElement("div")?"wheel":void 0!==a.onmousewheel?"mousewheel":"DOMMouseScroll",i=Ti();"DOMMouseScroll"==e?a[n](t+"MozMousePixelScroll",So,i):a[n](t+e,So,i)}(),Lt().addEventListener("mousedown",To),Lt().addEventListener("mouseup",Mo)):(a.addEventListener?($("mousewheel",So,!1),$("wheel",So,!1),$("MozMousePixelScroll",So,!1)):a.detachEvent("onmousewheel",So),Lt().removeEventListener("mousedown",To),Lt().removeEventListener("mouseup",Mo))}function So(n){var t=(new Date).getTime(),e=b(m(".fp-completely")[0],"fp-normal-scroll"),i=function(n,t){(new Date).getTime();var e=wn().B&&n.getBoundingClientRect().bottom>=0&&"up"===Oi._n(),i=wn().Kn;if(i)return _(t),!1;if(wn().B){if(e){var o;if(!(i||Fi("isNewKeyframe","beyondFullpage")&&Oi.Un()))return(o=Ut(un(wn().C).item.offsetTop+un(wn().C).item.offsetHeight)).element.scrollTo(0,o.options),mn({Kn:!1}),_(t),!1;if(Oi.Un())return e=!1,mn({Kn:!0}),mn({N:"wheel"}),Di(),_(t),!1}else Fi("set","beyondFullpage",1e3);if(!i&&!e)return!0}}(Lt(),n);if(gn.Z||mn({J:!1,Z:!0,Y:"none"}),!Se().m.down&&!Se().m.up)return!1;if(i)return!0;if(!1===i)return _(n),!1;if(Dt().autoScrolling&&!Hi&&!e){var o=(n=n||r.event).wheelDelta||-n.deltaY||-n.detail,a=Math.max(-1,Math.min(1,o)),u=void 0!==n.wheelDeltaX||void 0!==n.deltaX,l=Math.abs(n.wheelDeltaX)0?"up":"none";bo.length>149&&bo.shift(),bo.push(Math.abs(o)),!Dt().scrollBar&&Dt().scrollOverflow||_(n);var f=t-wo;return wo=t,f>200&&(bo=[]),mn({X:c}),gn.G&&ln(bo,10)>=ln(bo,70)&&l&&(mn({N:"wheel"}),Bi(a<0?"down":"up")),!1}Dt().fitToSection&&mn({q:!1})}function To(n){var t;2==n.which&&(t=n.pageY,Ii=t,Lt().addEventListener("mousemove",Ni))}function Mo(n){2==n.which&&Lt().removeEventListener("mousemove",Ni)}function Ao(n){n?(yo(!0),function(){if(Yi.qn&&(u||c)){Dt().autoScrolling&&(Zt.removeEventListener(Yi.qn,to,{passive:!1}),Zt.addEventListener(Yi.qn,to,{passive:!1}));var n=Dt().touchWrapper;n.removeEventListener(Yi.Gn,Ji),n.removeEventListener(Yi.qn,Xi,{passive:!1}),n.addEventListener(Yi.Gn,Ji),n.addEventListener(Yi.qn,Xi,{passive:!1})}}()):(yo(!1),function(){if(Yi.qn&&(u||c)){Dt().autoScrolling&&(Zt.removeEventListener(Yi.qn,Xi,{passive:!1}),Zt.removeEventListener(Yi.qn,to,{passive:!1}));var n=Dt().touchWrapper;n.removeEventListener(Yi.Gn,Ji),n.removeEventListener(Yi.qn,Xi,{passive:!1})}}())}s.setMouseWheelScrolling=yo;var xo=!0;function ko(){["mouseenter","touchstart","mouseleave","touchend"].forEach((function(n){$(n,jo,!0)}))}function Oo(n,t){document["fp_"+n]=t,q(n,jo,!0)}function jo(n){var t=n.type,e=!1,i="mouseleave"===t?n.toElement||n.relatedTarget:n.target;i!=document&&i?("touchend"===t&&(xo=!1,setTimeout((function(){xo=!0}),800)),("mouseenter"!==t||xo)&&(Dt().normalScrollElements.split(",").forEach((function(n){if(!e){var t=J(i,n),o=N(i,n);(t||o)&&(s.shared.Qn||Ao(!1),s.shared.Qn=!0,e=!0)}})),!e&&s.shared.Qn&&(Ao(!0),s.shared.Qn=!1))):Ao(!0)}function Lo(n,t){Qt(0,"internal"),lo(n,t),Qt(Et().scrollingSpeed,"internal")}hn.D(xn,(function(){Dt().normalScrollElements&&(["mouseenter","touchstart"].forEach((function(n){Oo(n,!1)})),["mouseleave","touchend"].forEach((function(n){Oo(n,!0)}))),hn.D(kn,ko)})),s.silentMoveTo=Lo;var Do,Eo,Ro=y(),Po=S(),Fo=!1;function zo(){clearTimeout(Do),clearTimeout(Eo),Y("resize",Co)}function Co(){Fo||(Dt().autoScrolling&&!Dt().scrollBar||!Dt().fitToSection)&&No(y()),gn.an&&function(){if(u)for(var n=0;n<4;n++)Eo=setTimeout((function(){window.requestAnimationFrame((function(){Dt().autoScrolling&&!Dt().scrollBar&&(mn({V:!0}),Lo(gn.I.index()+1),mn({V:!1}))}))}),200*n)}(),Fo=!0,clearTimeout(Do),Do=setTimeout((function(){!function(){var n,t,e;if(mn({V:!0}),(!u||Dt().adjustOnNavChange)&&(No(""),gn.B||Dt().autoScrolling||(n=.01*r.innerHeight,a.documentElement.style.setProperty("--vh","".concat(n,"px")))),hn.R(jn),ci(),_e(),u){var i=a.activeElement;if(!J(i,"textarea")&&!J(i,"input")&&!J(i,"select")){var o=y();Math.abs(o-Ro)>20*Math.max(Ro,o)/100&&(Io(!0),Ro=o)}}else t=y(),e=S(),gn.en===t&&Po===e||(mn({en:t}),Po=e,Io(!0));mn({V:!1})}(),Fo=!1}),400)}function Io(n){if(!b(Lt(),Yn)){mn({V:!0,en:y(),Jn:S()});for(var t=wn().C,e=0;e1&&ii(o,i.activeSlide.item)}Dt().scrollOverflow&&ti.Sn();var a=wn().I.index();gn.B||a&&Lo(a+1),mn({V:!1}),X(Dt().afterResize)&&n&&Dt().afterResize.call(Lt(),r.innerWidth,r.innerHeight),X(Dt().afterReBuild)&&!n&&Dt().afterReBuild.call(Lt()),Q(Lt(),"afterRebuild")}}function No(n){var t=""===n?"":n+"px";wn().C.forEach((function(n){T(n.item,{height:t})}))}function Bo(){var n,t,e=r.location.hash;if(e.length){var i=e.replace("#","").split("/"),o=e.indexOf("#/")>-1;n=o?"/"+i[1]:decodeURIComponent(i[0]);var a=o?i[2]:i[1];a&&a.length&&(t=decodeURIComponent(a))}return{section:n,pn:t}}function Ho(){Y("hashchange",Wo)}function Wo(){if(!gn.U&&!Dt().lockAnchors){var n=Bo(),t=n.section,e=n.pn,i=void 0===gn._,o=void 0===gn._&&void 0===e&&!gn.W;t&&t.length&&(t&&t!==gn._&&!i||o||!gn.W&&gn.K!=e)&&hn.R(Dn,{Xn:t,slideAnchor:e})}}function Vo(n){var t=n.target;N(t,Dt().menu+" [data-menuanchor]")&&Uo.call(t,n.e)}function Uo(n){if(mn({N:"menu"}),m(Dt().menu)[0]&&(Dt().lockAnchors||!Dt().anchors.length)){_(n);var t=N(this,"[data-menuanchor]");hn.R(Rn,{anchor:K(t,"data-menuanchor")})}}function _o(n){var t=n.target;t&&N(t,"#fp-nav a")?Le.call(t,n.e):J(t,".fp-tooltip")?Oe.call(t):(J(t,wt)||null!=N(t,wt))&&we.call(t,n.e)}s.reBuild=Io,hn.D(xn,(function(){Co(),G("resize",Co),hn.D(kn,zo)})),s.setLockAnchors=function(n){Dt().lockAnchors=n},hn.D(xn,(function(){G("hashchange",Wo),hn.D(kn,Ho)})),hn.D(xn,(function(){q("wheel",Oi.Vn,Ti()),hn.D(zn,ji),hn.D(En,Li)})),hn.D(xn,(function(){hn.D(yn,Vo)})),hn.D(xn,(function(){hn.D(yn,_o)}));var Ko,qo,Go=0;function $o(n){var t,e,i,o,r;if(!gn.V&&wn().I&&(un(wn().C),!wn().B&&!wn().Kn&&(!Dt().autoScrolling||Dt().scrollBar))){var a=V(),l=function(n){var t=n>Go?"down":"up";return Go=n,mn({tn:n}),t}(a),c=0,f=a+y()/2,s=Zt.scrollHeight-y()===a,v=wn().C;if(mn({scrollY:a}),s)c=v.length-1;else if(a)for(var d=0;d=V()+y():o<=V())&&(b(wn().I.item,Zn)||(E(wn().I.item,Zn),R(U(wn().I.item),Zn))),e=(t=v[c]).item,!t.isActive){mn({U:!0});var h,p,g=wn().I.item,m=wn().I.index()+1,w=qt(wn().I,e),S=t.anchor,T=t.index()+1,M=t.activeSlide,A={I:g,sectionIndex:T-1,anchorLink:S,element:e,leavingSection:m,direction:w,items:{origin:wn().I,destination:t}};M&&(p=M.anchor,h=M.index()),gn.G&&(E(e,Qn),R(U(e),Qn),X(Dt().beforeLeave)&&Ne("beforeLeave",A),X(Dt().onLeave)&&re("onLeave",A),X(Dt().afterLoad)&&re("afterLoad",A),ce(g),se(t),ue(e),De(S,T-1),Dt().anchors.length&&mn({_:S}),ci(),pe(h,p,S)),clearTimeout(Ko),Ko=setTimeout((function(){mn({U:!1})}),100)}Dt().fitToSection&&gn.G&&(clearTimeout(qo),qo=setTimeout((function(){var n;if(!gn.C.filter((function(n){var t=n.item.getBoundingClientRect();return Math.round(t.bottom)===Math.round(y())||0===Math.round(t.top)})).length){if(u&&(n=document.activeElement)&&n.matches("input, textarea"))return;Ue()}}),Dt().fitToSectionDelay))}}function Yo(n){var t=n.items.destination.activeSlide;mn({scrollX:t?Math.round(t.offsetLeft):0})}function Xo(n){var t=Dt().skipIntermediateItems,e=n.items.origin.ln?"sections":"slides",i=Math.abs(n.items.origin.index()-n.items.destination.index())>1;(!0===t||t===e)&&i&&Qt(0,"internal")}function Qo(n){Dt().skipIntermediateItems&&Rt("scrollingSpeed",Et().scrollingSpeed,"internal")}function Jo(n,t){void 0!==t?(t=t.replace(/ /g,"").split(",")).forEach((function(t){ye(n,t,"k")})):(ye(n,"all","k"),Dt().keyboardScrolling=n)}function Zo(n){var t=n.index();void 0!==Dt().anchors[t]&&n.isActive&&De(Dt().anchors[t],t),Dt().menu&&Dt().css3&&null!=N(m(Dt().menu)[0],Kn)&&m(Dt().menu).forEach((function(n){Zt.appendChild(n)}))}function nr(){var n,t,e=wn().I,i=wn().I.item;E(i,Zn),se(wn().I),ke(),ue(i),t=ro((n=Bo()).section),n.section&&t&&(void 0===t||t.index()!==k(Ye))||!X(Dt().afterLoad)||re("afterLoad",{I:i,element:i,direction:null,anchorLink:e.anchor,sectionIndex:e.index(),items:{origin:wn().I,destination:wn().I}}),X(Dt().afterRender)&&re("afterRender")}function tr(n,t){void 0!==t?(t=t.replace(/ /g,"").split(",")).forEach((function(t){ye(n,t,"m")})):ye(n,"all","m")}function er(){var n=Bo(),t=n.section,e=n.pn;t?Dt().animateAnchor?uo(t,e):Lo(t,e):hn.R(bn,null)}function ir(){fi(),ci(),Dt().scrollBar=Dt().scrollBar||Dt().hybrid,Pt(),function(){T(fn(Lt(),"body"),{height:"100%",position:"relative"}),E(Lt(),_n),E(ne,Xn),mn({en:y()}),R(Lt(),Yn),gi();for(var n=wn().sn,t=0;t0&&mi(e)}Dt().fixedElements&&Dt().css3&&m(Dt().fixedElements).forEach((function(n){Zt.appendChild(n)})),Dt().navigation&&je(),m('iframe[src*="youtube.com/embed/"]',Lt()).forEach((function(n){var t,e;e=K(t=n,"src"),t.setAttribute("src",e+(/\?/.test(e)?"&":"?")+"enablejsapi=1")})),Dt().scrollOverflow&&ti.Sn()}(),tr(!0),Ao(!0),Ae(Dt().autoScrolling,"internal"),_e(),de(),"complete"===a.readyState&&er(),G("load",er),nr(),fi(),ci()}function or(){var n=Dt().licenseKey;""===Dt().licenseKey.trim()?(h("error","Fullpage.js requires a `licenseKey` option. Read about it on the following website:"),h("error","https://alvarotrigo.com/fullPage/docs/#licensekey")):Dt()&&gn.Zn||a.domain.indexOf("alvarotrigo.com")>-1?n&&n.length:(h("error","Incorrect `licenseKey`. Get one for fullPage.js version 4 here:"),h("error","https://alvarotrigo.com/fullPage/pricing")),b(ne,Xn)?h("error","Fullpage.js can only be initialized once and you are doing it multiple times!"):(Dt().continuousVertical&&(Dt().loopTop||Dt().loopBottom)&&(Dt().continuousVertical=!1,h("warn","Option `loopTop/loopBottom` is mutually exclusive with `continuousVertical`; `continuousVertical` disabled")),!Dt().scrollOverflow||!Dt().scrollBar&&Dt().autoScrolling||h("warn","Options scrollBar:true and autoScrolling:false are mutually exclusive with scrollOverflow:true. Sections with scrollOverflow might not work well in Firefox"),!Dt().continuousVertical||!Dt().scrollBar&&Dt().autoScrolling||(Dt().continuousVertical=!1,h("warn","Scroll bars (`scrollBar:true` or `autoScrolling:false`) are mutually exclusive with `continuousVertical`; `continuousVertical` disabled")),v.forEach((function(n){Dt()[n]&&h("warn","fullpage.js extensions require fullpage.extensions.min.js file instead of the usual fullpage.js. Requested: "+n)})),Dt().anchors.forEach((function(n){var t=[].slice.call(m("[name]")).filter((function(t){return K(t,"name")&&K(t,"name").toLowerCase()==n.toLowerCase()})),e=[].slice.call(m("[id]")).filter((function(t){return K(t,"id")&&K(t,"id").toLowerCase()==n.toLowerCase()}));if(e.length||t.length){h("error","data-anchor tags can not have the same value as any `id` element on the site (or `name` element for IE).");var i=e.length?"id":"name";(e.length||t.length)&&h("error",'"'+n+'" is is being used by another element `'+i+"` property")}})))}function rr(n,t){var e;if(Zt=m("body")[0],ne=m("html")[0],te=m("html, body"),!b(ne,Xn))return"touchWrapper",e="string"==typeof n?m(n)[0]:n,At.touchWrapper=e,function(n){jt=w({},At,n),Ot=Object.assign({},jt)}(t),function(n){xt=n}("string"==typeof n?m(n)[0]:n),hn.R(Mn),or(),s.getFullpageData=function(){return{options:Dt()}},s.version="4.0.37",s.test=Object.assign(s.test,{top:"0px",hn:"translate3d(0px, 0px, 0px)",Hn:function(){for(var n=[],t=0;t-1?"".concat(n,": 0;"):"",e='\n \n "),i=un(gn.C),o=!gn.Zn||Dt().credits.enabled;i&&i.item&&o&&i.item.insertAdjacentHTML("beforeend",e)})),function(){hn.D(Mn,(function(){var t,u,l;mn({Zn:(Dt().licenseKey,t=Dt().licenseKey,u=function(t){var e=parseInt("514").toString(16);if(!t||t.length<29||4===t.split(n[0]).length)return null;var i=["Each","for"][o()]().join(""),u=t[["split"]]("-"),l=[];u[i]((function(n,t){if(t<4){var i=function(n){var t=n[n.length-1],e=["NaN","is"][o()]().join("");return window[e](t)?r(t):function(n){return n-Qn.length}(t)}(n);l.push(i);var a=r(n[i]);if(1===t){var u=["pa","dS","t","art"].join("");a=a.toString()[u](2,"0")}e+=a,0!==t&&1!==t||(e+="-")}}));var c=0,f="";return t.split("-").forEach((function(n,t){if(t<4){for(var e=0,i=0;i<4;i++)i!==l[t]&&(e+=Math.abs(r(n[i])),isNaN(n[i])||c++);var o=a(e);f+=o}})),f+=a(c),{tt:new Date(e+"T00:00"),et:e.split("-")[2]===8*(Qn.length-2)+"",it:f}}(t),l=function(n){var t=i[o()]().join("");return n&&0===t.indexOf(n)&&n.length===t.length}(t)||function(n){return new RegExp("^(?=.*?[A-Y])(?=.*?[a-y])(?=.*?[0-8])(?=.*?[#?!@$%^&*-]).{8,}$").test(n)}(t),(u||l)&&(u&&e<=u.tt&&u.it===t.split(n[0])[4]||l||u.et)||!1)})}));var n=["-"],t="2025-5-26".split("-"),e=new Date(t[0],t[1],t[2]),i=["se","licen","-","v3","l","gp"];function o(){return[["re","verse"].join("")]["".length]}function r(n){return n?isNaN(n)?n.charCodeAt(0)-72:n:""}function a(n){var t=72+n;return t>90&&t<97&&(t+=15),String.fromCharCode(t).toUpperCase()}}(),hn.D(Cn,Xo),hn.D(Bn,Qo),hn.D(In,Xo),hn.D(Hn,Qo),hn.D(An,(function(){Jo(!0)})),s.setKeyboardScrolling=Jo,s.shared.nt=nr,s.setAllowScrolling=tr,s.destroy=function(n){Ae(!1,"internal"),tr(!0),Ao(!1),Jo(!1),E(Lt(),Yn),hn.R(kn),n&&(Xt(0),m("img[data-src], source[data-src], audio[data-src], iframe[data-src]",Lt()).forEach((function(n){cn(n,"src")})),m("img[data-srcset]").forEach((function(n){cn(n,"srcset")})),tn(m("#fp-nav, .fp-slidesNav, .fp-controlArrow, .fp-watermark")),T(Ct(wn().C),{height:"","background-color":"",padding:""}),T(Ct(wn().slides),{width:""}),T(Lt(),{height:"",position:"","-ms-touch-action":"","touch-action":""}),T(te,{overflow:"",height:""}),R(ne,Xn),R(Zt,Gn+" "+qn),Zt.className.split(/\s+/).forEach((function(n){0===n.indexOf("fp-viewing")&&R(Zt,n)})),Ct(wn().dn).forEach((function(n){Dt().scrollOverflow&&ti.In(n),R(n,"fp-table active fp-completely fp-is-overflow "+nt);var t=K(n,"data-fp-styles");t&&n.setAttribute("style",t),b(n,tt)&&!kt&&n.removeAttribute("data-anchor")})),Gt(Lt()),[it,vt,ft].forEach((function(n){m(n,Lt()).forEach((function(n){I(n)}))})),T(Lt(),{"-webkit-transition":"none",transition:"none"}),R(Lt(),_n),r.scrollTo(0,0),[tt,at,st].forEach((function(n){R(m("."+n),n)})),mn(pn),hn.R(On))},r.fp_easings=w(r.fp_easings,{easeInOutCubic:function(n,t,e,i){return(n/=i/2)<1?e/2*n*n*n+t:e/2*((n-=2)*n*n+2)+t}}),r.jQuery&&function(n,t){n&&t?n.fn.fullpage=function(e){e=n.extend({},e,{$:n}),new t(this[0],e),Object.keys(s).forEach((function(n){Dt().$.fn.fullpage[n]=s[n]}))}:h("error","jQuery is required to use the jQuery fullpage adapter!")}(r.jQuery,rr),rr})); +!function(n,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(n="undefined"!=typeof globalThis?globalThis:n||self).fullpage=t()}(this,(function(){"use strict";var n,t,e,i;Array.prototype.find||Object.defineProperty(Array.prototype,"find",{value:function(n){if(null==this)throw new TypeError('"this" is null or not defined');var t=Object(this),e=t.length>>>0;if("function"!=typeof n)throw new TypeError("predicate must be a function");for(var i=arguments[1],o=0;o0?1:-1)*Math.floor(Math.abs(t)):t}(n);return Math.min(Math.max(t,0),e)},function(n){var e=this,o=Object(n);if(null==n)throw new TypeError("Array.from requires an array-like object - not null or undefined");var r,a=arguments.length>1?arguments[1]:void 0;if(void 0!==a){if(!t(a))throw new TypeError("Array.from: when provided, the second argument must be a function");arguments.length>2&&(r=arguments[2])}for(var u,l=i(o.length),c=t(e)?Object(new e(l)):new Array(l),f=0;f0||navigator.maxTouchPoints,f=!!window.MSInputMethodContext&&!!document.documentMode,s={test:{},shared:{}},v=["parallax","scrollOverflowReset","dragAndMove","offsetSections","fadingEffect","responsiveSlides","continuousHorizontal","interlockedSlides","scrollHorizontally","resetSliders","cards","dropEffect","waterEffect"],d=(o=window.self!==window.top,function(){return o});function h(n,t){r.console&&r.console[n]&&r.console[n]("fullPage: "+t)}function p(n){return"none"!==r.getComputedStyle(n).display}function g(n){return Array.from(n).filter((function(n){return p(n)}))}function m(n,t){return(t=arguments.length>1?t:document)?t.querySelectorAll(n):null}function w(n){n=n||{};for(var t=1,e=arguments.length;t>=0,t=String(void 0!==t?t:" "),this.length>n?String(this):((n-=this.length)>t.length&&(t+=Array.apply(null,Array(n)).map((function(){return t})).join("")),t.slice(0,n)+String(this))}),window.fp_utils={$:m,deepExtend:w,hasClass:b,getWindowHeight:y,css:M,prev:T,next:A,last:x,index:k,getList:O,hide:j,show:L,isArrayOrList:D,addClass:E,removeClass:R,appendTo:P,wrap:F,wrapAll:C,unwrap:I,closest:N,after:B,before:H,insertBefore:W,getScrollTop:V,siblings:U,preventDefault:_,isFunction:X,trigger:Q,matches:J,toggle:Z,createElementFromHTML:nn,remove:tn,untilAll:en,nextAll:on,prevAll:rn,showError:h};var vn=Object.freeze({__proto__:null,showError:h,isVisible:p,o:g,$:m,deepExtend:w,hasClass:b,getWindowHeight:y,u:S,css:M,prev:T,next:A,last:x,index:k,getList:O,hide:j,show:L,isArrayOrList:D,addClass:E,removeClass:R,appendTo:P,wrap:F,wrapAll:C,l:z,unwrap:I,closest:N,after:B,before:H,insertBefore:W,getScrollTop:V,siblings:U,preventDefault:_,v:K,h:q,p:G,g:$,S:Y,isFunction:X,trigger:Q,matches:J,toggle:Z,createElementFromHTML:nn,remove:tn,untilAll:en,nextAll:on,prevAll:rn,toArray:an,M:un,T:ln,A:cn,O:fn,j:sn});function dn(n){return dn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},dn(n)}var hn={L:{},D:function(n,t){var e=this;return"object"!==dn(this.L[n])&&(this.L[n]=[]),this.L[n].push(t),function(){return e.removeListener(n,t)}},removeListener:function(n,t){if("object"===dn(this.L[n])){var e=this.L[n].indexOf(t);e>-1&&this.L[n].splice(e,1)}},R:function(n){for(var t=this,e=arguments.length,i=new Array(e>1?e-1:0),o=1;o','
        '],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"},cards:!1,cardsOptions:{perspective:100,fadeContent:!0,fadeBackground:!0},sectionSelector:".section",slideSelector:".slide",afterLoad:null,beforeLeave:null,onLeave:null,afterRender:null,afterResize:null,afterReBuild:null,afterSlideLoad:null,onSlideLeave:null,afterResponsive:null,onScrollOverflow:null,lazyLoading:!0,lazyLoadThreshold:0,observer:!0,scrollBeyondFullpage:!0},xt=null,kt=!1,Ot=w({},At),jt=null;function Lt(n){return xt}function Dt(){return jt||At}function Et(){return Ot}function Rt(n,t,e){jt[n]=t,"internal"!==e&&(Ot[n]=t)}function Pt(){if(!Dt().anchors.length){var n=m(Dt().sectionSelector.split(",").join("[data-anchor],")+"[data-anchor]",xt);n.length&&n.length===m(Dt().sectionSelector,xt).length&&(kt=!0,n.forEach((function(n){Dt().anchors.push(K(n,"data-anchor").toString())})))}if(!Dt().navigationTooltips.length){var t=m(Dt().sectionSelector.split(",").join("[data-tooltip],")+"[data-tooltip]",xt);t.length&&t.forEach((function(n){Dt().navigationTooltips.push(K(n,"data-tooltip").toString())}))}}var Ft=function(n){this.anchor=n.anchor,this.item=n.item,this.index=n.index(),this.isLast=this.index===n.item.parentElement.querySelectorAll(n.selector).length-1,this.isFirst=!this.index,this.isActive=n.isActive},Ct=function(n,t){this.parent=this.parent||null,this.selector=t,this.anchor=K(n,"data-anchor")||Dt().anchors[k(n,Dt().sectionSelector)],this.item=n,this.isVisible=p(n),this.isActive=b(n,Qn),this.un=b(n,ht)||null!=m(pt,n)[0],this.ln=t===Dt().sectionSelector,this.cn=N(n,vt)||N(n,Kn),this.index=function(){return this.siblings().indexOf(this)}};function zt(n){return n.map((function(n){return n.item}))}function It(n,t){return n.find((function(n){return n.item===t}))}Ct.prototype.siblings=function(){return this.ln?this.isVisible?gn.C:gn.sn:this.parent?this.parent.slides:0},Ct.prototype.prev=function(){var n=this.siblings(),t=(this.ln?n.indexOf(this):this.parent.slides.indexOf(this))-1;return t>=0?n[t]:null},Ct.prototype.next=function(){var n=this.siblings(),t=(this.ln?n.indexOf(this):this.parent.slides.indexOf(this))+1;return ti?"up":"down"}function Gt(n){return E(n,$n)}function $t(n){return{"-webkit-transform":n,"-moz-transform":n,"-ms-transform":n,transform:n}}function Yt(n,t){t?Kt(Lt()):Gt(Lt()),clearTimeout(Nt),M(Lt(),$t(n)),s.test.hn=n,Nt=setTimeout((function(){R(Lt(),$n)}),10)}function Xt(n){var t=Math.round(n);if(Dt().css3&&Dt().autoScrolling&&!Dt().scrollBar)Yt("translate3d(0px, -"+t+"px, 0px)",!1);else if(Dt().autoScrolling&&!Dt().scrollBar)M(Lt(),{top:-t+"px"}),s.test.top=-t+"px";else{var e=Ut(t);_t(e.element,e.options)}}function Qt(n,t){Rt("scrollingSpeed",n,t)}s.setScrollingSpeed=Qt;var Jt,Zt=null,ne=null,te=null;function ee(n,t,e,i){var o,a=function(n){return n.self!=r&&b(n,ct)?n.scrollLeft:!Dt().autoScrolling||Dt().scrollBar?V():n.offsetTop}(n),u=t-a,l=!1,c=gn.q;mn({q:!0}),Jt&&window.cancelAnimationFrame(Jt),Jt=function(f){o||(o=f);var s=Math.floor(f-o);if(gn.q){var v=t;e&&(v=r.fp_easings[Dt().easing](s,a,u,e)),s<=e&&_t(n,v),s0,r=i>2&&i'+me(r.index(),"Section")+"";var l=Dt().navigationTooltips[r.index()];void 0!==l&&""!==l&&(i+='
        '+l+"
        "),i+=""}m("ul",e)[0].innerHTML=i;var c=m("li",m(rt)[0])[wn().I.index()];E(m("a",c),Qn)}function Le(n){n.preventDefault&&_(n),mn({N:"verticalNav"});var t=k(N(this,"#fp-nav li"));hn.R(Pn,{destination:wn().C[t]})}function De(n,t){var e;e=n,Dt().menu&&Dt().menu.length&&m(Dt().menu).forEach((function(n){null!=n&&(R(m(Jn,n),Qn),E(m('[data-menuanchor="'+e+'"]',n),Qn))})),function(n,t){var e=m(rt)[0];Dt().navigation&&null!=e&&"none"!==e.style.display&&(R(m(Jn,e),Qn),E(n?m('a[href="#'+n+'"]',e):m("a",m("li",e)[t]),Qn))}(n,t)}be.m={up:!0,down:!0,left:!0,right:!0},be.k=w({},be.m),hn.D(yn,(function(n){var t=n.target;(J(t,yt)||N(t,yt))&&Me.call(t,n)})),s.setRecordHistory=Te,s.setAutoScrolling=Ae,s.test.setAutoScrolling=Ae,(new Date).getTime();var Ee,Re,Pe,Fe,Ce,ze,Ie=(Re=!0,Pe=(new Date).getTime(),Fe=!r.fullpage_api,function(n,t){var e=(new Date).getTime(),i="wheel"===n?Dt().scrollingSpeed:100;return Re=Fe||e-Pe>=i,Fe=!r.fullpage_api,Re&&(Ee=t(),Pe=e),void 0===Ee||Ee});function Ne(n,t){if(X(Dt().beforeLeave))return Ie(wn().N,(function(){return re(n,t)}))}function Be(n,t,e){var i=n.item;if(null!=i){var o,r,a={element:i,callback:t,isMovementUp:e,dtop:He(i),yMovement:qt(wn().I,i),anchorLink:n.anchor,sectionIndex:n.index(),activeSlide:n.activeSlide?n.activeSlide.item:null,leavingSection:wn().I.index()+1,localIsResizing:gn.V,items:{origin:wn().I,destination:n},direction:null};if(!(wn().I.item==i&&!gn.V||Dt().scrollBar&&V()===a.dtop&&!b(i,ot))){if(null!=a.activeSlide&&(o=K(a.activeSlide,"data-anchor"),r=k(a.activeSlide,null)),!a.localIsResizing){var u=a.yMovement;if(void 0!==e&&(u=e?"up":"down"),a.direction=u,X(Dt().beforeLeave)&&!1===Ne("beforeLeave",a))return;if(X(Dt().onLeave)&&!re("onLeave",a))return}Dt().autoScrolling&&Dt().continuousVertical&&void 0!==a.isMovementUp&&(!a.isMovementUp&&"up"==a.yMovement||a.isMovementUp&&"down"==a.yMovement)&&(a=function(n){mn({on:!0});var t=wn().I.item;return n.isMovementUp?H(t,on(t,et)):B(t,rn(t,et).reverse()[0]),Xt(xe()),function(){for(var n=m(lt),t=0;tgn.tn,r=i-y()+t,a=Dt().bigSectionsDestination;return t>y()?(o||a)&&"bottom"!==a||(i=r):(o||gn.V&&null==A(n))&&(i=r),mn({tn:i}),i}function We(n){mn({B:!1}),function(n){null!=n.gn&&(n.isMovementUp?H(m(et)[0],n.gn):B(m(et)[wn().C.length-1],rn(n.element,et).reverse()),Xt(xe()),function(){for(var n=m(lt),t=0;t-1&&!ti.kn)return _(n),!1},Tn:function(){ti.xn=gn.G},onLeave:function(){clearTimeout($e),ti.kn=!1},afterLoad:function(){ti.kn=!1,clearTimeout($e),$e=setTimeout((function(){ti.xn=gn.G}),200)},En:function(){a.activeElement===this.An&&(this.An.blur(),ti.kn=!1)},Mn:function(){if(Dt().scrollOverflow&&ti.xn){ti.En();var n=ti.Rn(wn().I.item);!n||u||c||(this.An=n,requestAnimationFrame((function(){n.focus({Pn:!0}),ti.kn=!0}))),ti.xn=!1}},Sn:function(){Dt().scrollOverflowMacStyle&&!l&&E(Zt,"fp-scroll-mac"),wn().dn.forEach((function(n){if(!(n.slides&&n.slides.length||b(n.item,"fp-auto-height-responsive")&&qe())){var t,e=Wt(n.item),i=ti.wn(n.item),o=(t=n).ln?t:t.parent;if(f){var r=i?"addClass":"removeClass";vn[r](o.item,gt),vn[r](n.item,gt)}else E(o.item,gt),E(n.item,gt);n.un||(ti.Fn(e),ti.Cn(e)),n.un=!0}}))},Cn:function(n){var t=ti.Rn(n);t&&t.addEventListener("scroll",ti.zn),n.addEventListener("wheel",ti.Ln,{passive:!1}),n.addEventListener("keydown",ti.Dn,{passive:!1})},In:function(n){var t=ti.Rn(n);t&&t.removeEventListener("scroll",ti.zn),n.removeEventListener("wheel",ti.Ln,{passive:!1}),n.removeEventListener("keydown",ti.Dn,{passive:!1})},Fn:function(n){var t=document.createElement("div");t.className=ht,z(n,t),t.setAttribute("tabindex","-1")},Nn:function(n){n.slides&&n.slides.length||n.un&&(ti.Bn(n.item),ti.In(n.item),n.un=!1)},Bn:function(n){var t=m(pt,n)[0];t&&(I(t),n.removeAttribute("tabindex"))},Rn:function(n){var t=Wt(n);return m(pt,t)[0]||t},un:function(n){return b(n,ht)||null!=m(pt,n)[0]},bn:function(n){return n.ln&&n.activeSlide?n.activeSlide.un:n.un},wn:function(n){return ti.Rn(n).scrollHeight>r.innerHeight},isScrolled:function(n,t){if(!gn.G)return!1;if(Dt().scrollBar)return!0;var e=ti.Rn(t);if(!Dt().scrollOverflow||!b(e,ht)||b(t,"fp-noscroll")||b(Wt(t),"fp-noscroll"))return!0;var i=f?1:0,o=e.scrollTop,r="up"===n&&o<=0,a="down"===n&&e.scrollHeight<=Math.ceil(e.offsetHeight+o)+i,u=r||a;return u||"none"===n||(this.On=(new Date).getTime()),u},Hn:function(){this.jn=(new Date).getTime();var n=this.jn-ti.On,t=(u||c)&&gn.J,e=gn.Z&&n>600;return t&&n>400||e},zn:(Ze=0,function(n){var t=n.target.scrollTop,e="none"!==gn.Y?gn.Y:Zeo?"left":"right"),l.direction=l.direction?l.direction:l.Wn,l.localIsResizing||mn({G:!1}),Dt().onSlideLeave&&!l.localIsResizing&&"none"!==l.Wn&&X(Dt().onSlideLeave)&&!1===re("onSlideLeave",l)?mn({W:!1}):(E(t,Qn),R(U(t),Qn),ci(),l.localIsResizing||(ce(l.prevSlide),se(u)),function(n){!Dt().loopHorizontal&&Dt().controlArrows&&(Z(m(Mt,n.section),0!==n.slideIndex),Z(m(Tt,n.section),null!=A(n.destiny)))}(l),a.isActive&&!l.localIsResizing&&pe(l.slideIndex,l.slideAnchor,l.anchorLink),hn.R(In,l),function(n,t,e){var i,o,r=t.destinyPos;if(i=t.slidesNav,o=t.slideIndex,Dt().slidesNavigation&&null!=i&&(R(m(Jn,i),Qn),E(m("a",m("li",i)[o]),Qn)),mn({scrollX:Math.round(r.left)}),Dt().css3){var a="translate3d(-"+Math.round(r.left)+"px, 0px, 0px)";s.test.Vn[t.sectionIndex]=a,M(Kt(m(vt,n)),$t(a)),clearTimeout(ni),ni=setTimeout((function(){ri(t)}),Dt().scrollingSpeed)}else s.test.left[t.sectionIndex]=Math.round(r.left),ee(n,Math.round(r.left),Dt().scrollingSpeed,(function(){ri(t)}))}(n,l))}function oi(){clearTimeout(ni)}function ri(n){n.localIsResizing||(X(Dt().afterSlideLoad)&&re("afterSlideLoad",n),mn({G:!0}),ue(n.destiny),hn.R(Hn,n)),mn({W:!1})}function ai(n,t){Qt(0,"internal"),void 0!==t&&mn({V:!0}),ii(N(n,ft),n),void 0!==t&&mn({V:!1}),Qt(Et().scrollingSpeed,"internal")}s.landscapeScroll=ii,hn.D(xn,(function(){hn.D(zn,ei)}));var ui=null,li=null;function ci(){gn.I=null,gn.C.map((function(n){var t=b(n.item,Qn);n.isActive=t,n.un=ti.un(n.item),t&&(gn.I=n),n.slides.length&&(n.activeSlide=null,n.slides.map((function(t){var e=b(t.item,Qn);t.un=ti.un(n.item),t.isActive=e,e&&(n.activeSlide=t)})),n.slides.find((function(n){return n.isActive}))||(n.activeSlide=n.slides[0],n.activeSlide&&(n.activeSlide.isActive=!0)))})),function(){var n=gn.I,t=!!gn.I&&gn.I.slides.length,e=gn.I?gn.I.activeSlide:null;if(!n&&gn.C.length&&!wn().B&&null!==ui){var i=vi(ui,gn.C);i&&(gn.I=i,gn.I.isActive=!0,E(gn.I.item,Qn)),gn.I&&Xt(gn.I.item.offsetTop)}if(t&&!e&&null!==li){var o=vi(li,gn.I.slides);o&&(gn.I.activeSlide=o,gn.I.activeSlide.isActive=!0,E(gn.I.activeSlide.item,Qn)),gn.I.activeSlide&&ai(gn.I.activeSlide.item,"internal")}}()}function fi(){var n=m(Dt().sectionSelector,Lt()),t=g(n),e=Array.from(n).map((function(n){return new di(n)})),i=e.filter((function(n){return n.isVisible})),o=i.reduce((function(n,t){return n.concat(t.slides)}),[]);ui=si(gn.I),li=si(gn.I?gn.I.activeSlide:null),gn.P=t.length,gn.F=i.reduce((function(n,t){return n+t.slides.length}),0),gn.C=i,gn.sn=e,gn.slides=o,gn.dn=gn.C.concat(gn.slides)}function si(n){if(!n)return null;var t=n?n.item:null,e=n.ln?gn.sn:gn.I.Un;if(t){var i=It(e,t);return i?i.index():null}return null}function vi(n,t){var e,i=n-1,o=n;do{if(e=t[i]||t[o])break;i-=1,o+=1}while(i>=0||o1&&(Dt().controlArrows&&function(n){var t=n.item,e=[nn(Dt().controlArrowsHTML[0]),nn(Dt().controlArrowsHTML[1])];B(m(ft,t)[0],e),E(e,bt),E(e[0],St),E(e[1],"fp-next"),"#fff"!==Dt().controlArrowColor&&(M(m(Tt,t),{"border-color":"transparent transparent transparent "+Dt().controlArrowColor}),M(m(Mt,t),{"border-color":"transparent "+Dt().controlArrowColor+" transparent transparent"})),Dt().loopHorizontal||j(m(Mt,t))}(n),Dt().slidesNavigation&&function(n){var t=n.item,e=n.slides.length;P(nn('
          '),t);var i=m(mt,t)[0];E(i,"fp-"+Dt().slidesNavPosition);for(var o=0;o'+me(o,"Slide",m(ut,t)[o])+""),m("ul",i)[0]);M(i,{"margin-left":"-"+i.innerWidth/2+"px"});var r=n.activeSlide?n.activeSlide.index():0;E(m("a",m("li",i)[r]),Qn)}(n)),i.forEach((function(n){M(n.item,{width:r+"%"}),Dt().verticalCentered&&Ge(n)}));var c=n.activeSlide||null;null!=c&&gn.I&&(0!==gn.I.index()||0===gn.I.index()&&0!==c.index())?ai(c.item,"internal"):E(e[0],Qn)}pi.prototype=Ct.prototype,pi.prototype.constructor=di;var wi={attributes:!1,subtree:!0,childList:!0,characterData:!0};function bi(){return g(m(Dt().slideSelector,Lt())).length!==wn().F}function yi(n){var t=bi();(bi()||g(m(Dt().sectionSelector,Lt())).length!==wn().P)&&!gn.on&&(Dt().observer&&hi&&hi.disconnect(),fi(),ci(),Dt().anchors=[],tn(m(rt)),gi(),Pt(),Dt().navigation&&je(),Dt().scrollOverflow&&ti.Sn(),t&&(tn(m(mt)),tn(m(yt))),wn().C.forEach((function(n){n.slides.length?t&&mi(n):Xe(n)}))),Dt().observer&&hi&&m(Kn)[0]&&hi.observe(m(Kn)[0],wi)}hn.D(xn,(function(){var n,t,e;Dt().observer&&"MutationObserver"in window&&m(Kn)[0]&&(n=m(Kn)[0],t=wi,(e=new MutationObserver(yi)).observe(n,t),hi=e),hn.D(jn,yi)})),hn.D(kn,(function(){hi&&(hi.disconnect(),hi=null)})),s.render=yi;var Si=function(){var n=!1;try{var t=Object.defineProperty({},"passive",{get:function(){n=!0}});G("testPassive",null,t),Y("testPassive",null,t)}catch(n){}return function(){return n}}();function Mi(){return!!Si()&&{passive:!1}}var Ti,Ai,xi,ki,Oi=(xi=(new Date).getTime(),ki=[],{_n:function(n){var t=(n=n||r.event).wheelDelta||-n.deltaY||-n.detail,e=Math.max(-1,Math.min(1,t)),i=void 0!==n.wheelDeltaX||void 0!==n.deltaX;Ti=Math.abs(n.wheelDeltaX)149&&ki.shift(),ki.push(Math.abs(t));var a=o-xi;xi=o,a>200&&(ki=[])},Kn:function(){var n=ln(ki,10)>=ln(ki,70);return!!ki.length&&n&&Ti},qn:function(){return Ai}});function ji(){var n=Dt().css3?V()+y():un(wn().C).item.offsetTop+un(wn().C).item.offsetHeight,t=Ut(n);s.test.top=-n+"px",mn({G:!1}),ee(t.element,t.options,Dt().scrollingSpeed,(function(){setTimeout((function(){mn({B:!0}),mn({G:!0})}),30)}))}function Li(){Lt().getBoundingClientRect().bottom>=0&&Di()}function Di(){var n=Ut(un(wn().C).item.offsetTop);mn({G:!1}),ee(n.element,n.options,Dt().scrollingSpeed,(function(){mn({G:!0}),mn({B:!1}),mn({Gn:!1})}))}var Ei,Ri,Pi,Fi=(Ei=!1,Ri={},Pi={},function(n,t,e){switch(n){case"set":Ri[t]=(new Date).getTime(),Pi[t]=e;break;case"isNewKeyframe":var i=(new Date).getTime();Ei=i-Ri[t]>Pi[t]}return Ei});function Ci(){var n=wn().I.next();n||!Dt().loopBottom&&!Dt().continuousVertical||(n=wn().C[0]),null!=n?Be(n,null,!1):Lt().scrollHeightIi&&Se().m.down&&Ci()),Ii=n.pageY)}function Bi(n){if(Se().m[n]){var t="down"===n?Ci:zi;Dt().scrollOverflow&&ti.bn(wn().I)?ti.isScrolled(n,wn().I.item)&&ti.Hn()&&t():t()}}var Hi,Wi,Vi,Ui,_i=0,Ki=0,qi=0,Gi=0,$i=(r.PointerEvent&&(Ui={down:"pointerdown",move:"pointermove"}),Ui),Yi={$n:"ontouchmove"in window?"touchmove":$i?$i.move:null,Yn:"ontouchstart"in window?"touchstart":$i?$i.down:null};function Xi(n){var t=N(n.target,et)||wn().I.item,e=ti.bn(wn().I);if(Qi(n)){mn({J:!0,Z:!1}),Dt().autoScrolling&&(e&&!gn.G||Dt().scrollBar)&&_(n);var i=no(n);qi=i.y,Gi=i.x;var o=Math.abs(_i-qi)>r.innerHeight/100*Dt().touchSensitivity,a=Math.abs(Ki-Gi)>S()/100*Dt().touchSensitivity,u=m(ft,t).length&&Math.abs(Ki-Gi)>Math.abs(_i-qi),l=_i>qi?"down":"up";mn({Y:u?Ki>Gi?"right":"left":l}),u?!gn.W&&a&&(Ki>Gi?Se().m.right&&hn.R(Mn,{section:t}):Se().m.left&&hn.R(Sn,{section:t})):Dt().autoScrolling&&gn.G&&o&&Bi(l)}}function Qi(n){return void 0===n.pointerType||"mouse"!=n.pointerType}function Ji(n){if(Dt().fitToSection&&mn({q:!1}),Qi(n)){var t=no(n);_i=t.y,Ki=t.x}G("touchend",Zi)}function Zi(){Y("touchend",Zi),mn({J:!1})}function no(n){var t={};return t.y=void 0!==n.pageY&&(n.pageY||n.pageX)?n.pageY:n.touches[0].pageY,t.x=void 0!==n.pageX&&(n.pageY||n.pageX)?n.pageX:n.touches[0].pageX,c&&Qi(n)&&Dt().scrollBar&&void 0!==n.touches&&(t.y=n.touches[0].pageY,t.x=n.touches[0].pageX),t}function to(n){Dt().autoScrolling&&Qi(n)&&Se().m.up&&(gn.G||_(n))}function eo(n,t){var e=null==t?wn().I.item:t,i=It(gn.C,e),o=m(ft,e)[0];if(!(null==o||gn.W||i.slides.length<2)){var r=i.activeSlide,a="left"===n?r.prev():r.next();if(!a){if(!Dt().loopHorizontal)return;a="left"===n?un(i.slides):i.slides[0]}mn({W:!s.test.mn}),ii(o,a.item,n)}}function io(n){eo("left",n)}function oo(n){eo("right",n)}function ro(n){var t=wn().C.filter((function(t){return t.anchor===n}))[0];if(!t){var e=void 0!==n?n-1:0;t=wn().C[e]}return t}function ao(n){null!=n&&ii(N(n,ft),n)}function uo(n,t){var e=ro(n);if(null!=e){var i=function(n,t){var e=t.slides.filter((function(t){return t.anchor===n}))[0];return null==e&&(n=void 0!==n?n:0,e=t.slides[n]),e?e.item:null}(t,e);e.anchor&&e.anchor===gn._||b(e.item,Qn)?ao(i):Be(e,(function(){ao(i)}))}}function lo(n,t){var e=ro(n);void 0!==t?uo(n,t):null!=e&&Be(e)}function co(){clearTimeout(Wi),$("keydown",fo),$("keyup",so)}function fo(n){clearTimeout(Wi);var t=n.keyCode,e=[37,39].indexOf(t)>-1,i=Dt().autoScrolling||Dt().fitToSection||e;9===t?function(n){var t=n.shiftKey,e=a.activeElement,i=mo(Wt(wn().I.item));function o(n){return _(n),i[0]?i[0].focus():null}if(gn.G){if(!function(n){var t=mo(a),e=t.indexOf(a.activeElement),i=t[n.shiftKey?e-1:e+1],o=N(i,ut),r=N(i,et);return!o&&!r}(n)){e?null==N(e,".fp-section.active,.fp-section.active .fp-slide.active")&&(e=o(n)):o(n);var r=e==i[0],u=e==i[i.length-1],l=t&&r;if(l||!t&&u){_(n);var c=function(n){var t,e=n?"prevPanel":"nextPanel",i=[],o=Vt((gn.I&&gn.I.activeSlide?gn.I.activeSlide:gn.I)[e]());do{(i=mo(o.item)).length&&(t={Xn:o,Qn:i[n?i.length-1:0]}),o=Vt(o[e]())}while(o&&0===i.length);return t}(l),f=c?c.Xn:null;if(f){var s=f.ln?f:f.parent;hn.R(Dn,{Jn:s.index()+1,slideAnchor:f.ln?0:f.index()}),Vi=c.Qn,_(n)}}}}else _(n)}(n):!sn()&&Dt().keyboardScrolling&&i&&(Hi=n.ctrlKey,Wi=setTimeout((function(){!function(n){var t=n.shiftKey,e=a.activeElement,i=J(e,"video")||J(e,"audio"),o=ti.isScrolled("up",wn().I.item),r=ti.isScrolled("down",wn().I.item),u=[37,39].indexOf(n.keyCode)>-1;if(function(n){(function(n){return[40,38,32,33,34].indexOf(n.keyCode)>-1&&!gn.B})(n)&&!N(n.target,pt)&&n.preventDefault()}(n),gn.G||u)switch(mn({N:"keydown"}),n.keyCode){case 38:case 33:Se().k.up&&o?gn.B?hn.R(En,{e:n}):zi():ti.Mn();break;case 32:if(t&&Se().k.up&&!i&&o){zi();break}case 40:case 34:if(Se().k.down&&r){if(gn.B)return;32===n.keyCode&&i||Ci()}else ti.Mn();break;case 36:Se().k.up&&lo(1);break;case 35:Se().k.down&&lo(wn().C.length);break;case 37:Se().k.left&&io();break;case 39:Se().k.right&&oo()}}(n)}),0))}function so(n){gn.nn&&(Hi=n.ctrlKey)}function vo(){mn({nn:!1}),Hi=!1}function ho(n){go()}function po(n){N(Vi,ut)&&!N(Vi,lt)||go()}function go(){Vi&&(Vi.focus(),Vi=null)}function mo(n){return[].slice.call(m('a[href], area[href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), iframe, object, embed, [tabindex="0"], summary:not([disabled]), [contenteditable]',n)).filter((function(n){return"-1"!==K(n,"tabindex")&&null!==n.offsetParent}))}s.moveSlideLeft=io,s.moveSlideRight=oo,s.moveTo=lo,hn.D(xn,(function(){G("blur",vo),q("keydown",fo),q("keyup",so),hn.D(kn,co),hn.D(Hn,ho),hn.D(Bn,po)}));var wo=(new Date).getTime(),bo=(new Date).getTime(),yo=[],So=[];function Mo(n){n?(function(){var n,t="";r.addEventListener?n="addEventListener":(n="attachEvent",t="on");var e="onwheel"in a.createElement("div")?"wheel":void 0!==a.onmousewheel?"mousewheel":"DOMMouseScroll",i=Mi();"DOMMouseScroll"==e?a[n](t+"MozMousePixelScroll",Ao,i):a[n](t+e,Ao,i)}(),Lt().addEventListener("mousedown",xo),Lt().addEventListener("mouseup",ko)):(a.addEventListener?($("mousewheel",Ao,!1),$("wheel",Ao,!1),$("MozMousePixelScroll",Ao,!1)):a.detachEvent("onmousewheel",Ao),Lt().removeEventListener("mousedown",xo),Lt().removeEventListener("mouseup",ko))}function To(n){return!(n.length<10)&&ln(n,10)>=ln(n,70)}function Ao(n){var t=(new Date).getTime(),e=b(m(".fp-completely")[0],"fp-normal-scroll"),i=function(n,t){(new Date).getTime();var e=wn().B&&n.getBoundingClientRect().bottom>=0&&"up"===Oi.qn(),i=wn().Gn;if(i)return _(t),!1;if(wn().B){if(e){var o;if(!(i||Fi("isNewKeyframe","beyondFullpage")&&Oi.Kn()))return(o=Ut(un(wn().C).item.offsetTop+un(wn().C).item.offsetHeight)).element.scrollTo(0,o.options),mn({Gn:!1}),_(t),!1;if(Oi.Kn())return e=!1,mn({Gn:!0}),mn({N:"wheel"}),Di(),_(t),!1}else Fi("set","beyondFullpage",1e3);if(!i&&!e)return!0}}(Lt(),n);if(gn.Z||mn({J:!1,Z:!0,Y:"none"}),i)return!0;if(!1===i)return _(n),!1;if(Dt().autoScrolling&&!Hi&&!e){var o=(n=n||r.event).wheelDelta||-n.deltaY||-n.detail,a=Math.max(-1,Math.min(1,o)),u=n.wheelDeltaX||-n.deltaX||0,l=n.deltaY||0,c=n.deltaX||0,f=n.shiftKey||!1,s=Math.abs(u)>0||Math.abs(c)>0,v=!f&&(Math.abs(c)=Math.abs(l),h=a<0?"down":a>0?"up":"none",p=f?a:Math.max(-1,Math.min(1,u)),g=d?p<0?"right":p>0?"left":"none":"none";if(v&&!Se().m.down&&!Se().m.up)return!1;if(d&&"left"===g&&!Se().m.left)return!1;if(d&&"right"===g&&!Se().m.right)return!1;if(yo.length>149&&yo.shift(),So.length>149&&So.shift(),v)yo.push(Math.abs(o));else if(d){var w=f?Math.abs(o):Math.abs(u);So.push(w)}!Dt().scrollBar&&Dt().scrollOverflow||_(n);var y=t-wo,S=t-bo;return v?wo=t:d&&(bo=t),y>200&&(yo=[]),S>200&&(So=[]),mn({X:h}),gn.G&&(v&&To(yo)?(mn({N:"wheel"}),Bi(a<0?"down":"up")):d&&(f||To(So))&&(mn({N:"wheel"}),"left"===g?io():"right"===g&&oo())),!1}Dt().fitToSection&&mn({q:!1})}function xo(n){var t;2==n.which&&(t=n.pageY,Ii=t,Lt().addEventListener("mousemove",Ni))}function ko(n){2==n.which&&Lt().removeEventListener("mousemove",Ni)}function Oo(n){n?(Mo(!0),function(){if(Yi.$n&&(u||c)){Dt().autoScrolling&&(Zt.removeEventListener(Yi.$n,to,{passive:!1}),Zt.addEventListener(Yi.$n,to,{passive:!1}));var n=Dt().touchWrapper;n.removeEventListener(Yi.Yn,Ji),n.removeEventListener(Yi.$n,Xi,{passive:!1}),n.addEventListener(Yi.Yn,Ji),n.addEventListener(Yi.$n,Xi,{passive:!1})}}()):(Mo(!1),function(){if(Yi.$n&&(u||c)){Dt().autoScrolling&&(Zt.removeEventListener(Yi.$n,Xi,{passive:!1}),Zt.removeEventListener(Yi.$n,to,{passive:!1}));var n=Dt().touchWrapper;n.removeEventListener(Yi.Yn,Ji),n.removeEventListener(Yi.$n,Xi,{passive:!1})}}())}s.setMouseWheelScrolling=Mo;var jo=!0;function Lo(){["mouseenter","touchstart","mouseleave","touchend"].forEach((function(n){$(n,Eo,!0)}))}function Do(n,t){document["fp_"+n]=t,q(n,Eo,!0)}function Eo(n){var t=n.type,e=!1,i="mouseleave"===t?n.toElement||n.relatedTarget:n.target;i!=document&&i?("touchend"===t&&(jo=!1,setTimeout((function(){jo=!0}),800)),("mouseenter"!==t||jo)&&(Dt().normalScrollElements.split(",").forEach((function(n){if(!e){var t=J(i,n),o=N(i,n);(t||o)&&(s.shared.Zn||Oo(!1),s.shared.Zn=!0,e=!0)}})),!e&&s.shared.Zn&&(Oo(!0),s.shared.Zn=!1))):Oo(!0)}function Ro(n,t){Qt(0,"internal"),lo(n,t),Qt(Et().scrollingSpeed,"internal")}hn.D(xn,(function(){Dt().normalScrollElements&&(["mouseenter","touchstart"].forEach((function(n){Do(n,!1)})),["mouseleave","touchend"].forEach((function(n){Do(n,!0)}))),hn.D(kn,Lo)})),s.silentMoveTo=Ro;var Po,Fo,Co=y(),zo=S(),Io=!1;function No(){clearTimeout(Po),clearTimeout(Fo),Y("resize",Bo)}function Bo(){Io||(Dt().autoScrolling&&!Dt().scrollBar||!Dt().fitToSection)&&Wo(y()),gn.an&&function(){if(u)for(var n=0;n<4;n++)Fo=setTimeout((function(){window.requestAnimationFrame((function(){Dt().autoScrolling&&!Dt().scrollBar&&(mn({V:!0}),Ro(gn.I.index()+1),mn({V:!1}))}))}),200*n)}(),Io=!0,clearTimeout(Po),Po=setTimeout((function(){!function(){var n,t,e;if(mn({V:!0}),(!u||Dt().adjustOnNavChange)&&(Wo(""),gn.B||Dt().autoScrolling||(n=.01*r.innerHeight,a.documentElement.style.setProperty("--vh","".concat(n,"px")))),hn.R(jn),ci(),_e(),u){var i=a.activeElement;if(!J(i,"textarea")&&!J(i,"input")&&!J(i,"select")){var o=y();Math.abs(o-Co)>20*Math.max(Co,o)/100&&(Ho(!0),Co=o)}}else t=y(),e=S(),gn.en===t&&zo===e||(mn({en:t}),zo=e,Ho(!0));mn({V:!1})}(),Io=!1}),400)}function Ho(n){if(!b(Lt(),Yn)){mn({V:!0,en:y(),nt:S()});for(var t=wn().C,e=0;e1&&ii(o,i.activeSlide.item)}Dt().scrollOverflow&&ti.Sn();var a=wn().I.index();gn.B||a&&Ro(a+1),mn({V:!1}),X(Dt().afterResize)&&n&&Dt().afterResize.call(Lt(),r.innerWidth,r.innerHeight),X(Dt().afterReBuild)&&!n&&Dt().afterReBuild.call(Lt()),Q(Lt(),"afterRebuild")}}function Wo(n){var t=""===n?"":n+"px";wn().C.forEach((function(n){M(n.item,{height:t})}))}function Vo(){var n,t,e=r.location.hash;if(e.length){var i=e.replace("#","").split("/"),o=e.indexOf("#/")>-1;n=o?"/"+i[1]:decodeURIComponent(i[0]);var a=o?i[2]:i[1];a&&a.length&&(t=decodeURIComponent(a))}return{section:n,pn:t}}function Uo(){Y("hashchange",_o),$("click",Ko)}function _o(){if(!gn.U&&!Dt().lockAnchors){var n=Vo(),t=n.section,e=n.pn,i=void 0===gn._,o=void 0===gn._&&void 0===e&&!gn.W;t&&t.length&&(t&&t!==gn._&&!i||o||!gn.W&&gn.K!=e)&&hn.R(Dn,{Jn:t,slideAnchor:e})}}function Ko(n){var t=N(n.target,'a[href^="#"]');if(t){var e=K(t,"href");if(e&&"#"!==e){var i=m(e)[0];if(i){var o=Lt();if(o&&o.contains(i)){var r=N(i,Dt().sectionSelector);if(r){var a=It(gn.C,r);if(a){var u=N(i,Dt().slideSelector),l=u&&r.contains(u)?It(a.slides,u):null;_(n),lo(a.index()+1,l?l.index():null);var c=m(pt,l?l.item:a.item)[0];c&&c.scrollTo(0,i.offsetTop)}}}}}}}function qo(n){var t=n.target;N(t,Dt().menu+" [data-menuanchor]")&&Go.call(t,n.e)}function Go(n){if(mn({N:"menu"}),m(Dt().menu)[0]&&(Dt().lockAnchors||!Dt().anchors.length)){_(n);var t=N(this,"[data-menuanchor]");hn.R(Rn,{anchor:K(t,"data-menuanchor")})}}function $o(n){var t=n.target;t&&N(t,"#fp-nav a")?Le.call(t,n.e):J(t,".fp-tooltip")?Oe.call(t):(J(t,wt)||null!=N(t,wt))&&we.call(t,n.e)}s.reBuild=Ho,hn.D(xn,(function(){Bo(),G("resize",Bo),hn.D(kn,No)})),s.setLockAnchors=function(n){Dt().lockAnchors=n},hn.D(xn,(function(){G("hashchange",_o),q("click",Ko),hn.D(kn,Uo)})),hn.D(xn,(function(){q("wheel",Oi._n,Mi()),hn.D(Cn,ji),hn.D(En,Li)})),hn.D(xn,(function(){hn.D(yn,qo)})),hn.D(xn,(function(){hn.D(yn,$o)}));var Yo,Xo,Qo=0;function Jo(n){var t,e,i,o,r;if(!gn.V&&wn().I&&(un(wn().C),!wn().B&&!wn().Gn&&(!Dt().autoScrolling||Dt().scrollBar))){var a=V(),l=function(n){var t=n>Qo?"down":"up";return Qo=n,mn({tn:n}),t}(a),c=0,f=a+y()/2,s=Zt.scrollHeight-y()===a,v=wn().C;if(mn({scrollY:a}),s)c=v.length-1;else if(a)for(var d=0;d=V()+y():o<=V())&&(b(wn().I.item,Zn)||(E(wn().I.item,Zn),R(U(wn().I.item),Zn))),e=(t=v[c]).item,!t.isActive){mn({U:!0});var h,p,g=wn().I.item,m=wn().I.index()+1,w=qt(wn().I,e),S=t.anchor,M=t.index()+1,T=t.activeSlide,A={I:g,sectionIndex:M-1,anchorLink:S,element:e,leavingSection:m,direction:w,items:{origin:wn().I,destination:t}};T&&(p=T.anchor,h=T.index()),gn.G&&(E(e,Qn),R(U(e),Qn),X(Dt().beforeLeave)&&Ne("beforeLeave",A),X(Dt().onLeave)&&re("onLeave",A),X(Dt().afterLoad)&&re("afterLoad",A),ce(g),se(t),ue(e),De(S,M-1),Dt().anchors.length&&mn({_:S}),ci(),pe(h,p,S)),clearTimeout(Yo),Yo=setTimeout((function(){mn({U:!1})}),100)}Dt().fitToSection&&gn.G&&(clearTimeout(Xo),Xo=setTimeout((function(){var n;if(!gn.C.filter((function(n){var t=n.item.getBoundingClientRect();return Math.round(t.bottom)===Math.round(y())||0===Math.round(t.top)})).length){if(u&&(n=document.activeElement)&&n.matches("input, textarea"))return;Ue()}}),Dt().fitToSectionDelay))}}function Zo(n){var t=n.items.destination.activeSlide;mn({scrollX:t?Math.round(t.offsetLeft):0})}function nr(n){var t=Dt().skipIntermediateItems,e=n.items.origin.ln?"sections":"slides",i=Math.abs(n.items.origin.index()-n.items.destination.index())>1;(!0===t||t===e)&&i&&Qt(0,"internal")}function tr(n){Dt().skipIntermediateItems&&Rt("scrollingSpeed",Et().scrollingSpeed,"internal")}function er(n,t){void 0!==t?(t=t.replace(/ /g,"").split(",")).forEach((function(t){ye(n,t,"k")})):(ye(n,"all","k"),Dt().keyboardScrolling=n)}function ir(n){var t=n.index();void 0!==Dt().anchors[t]&&n.isActive&&De(Dt().anchors[t],t),Dt().menu&&Dt().css3&&null!=N(m(Dt().menu)[0],Kn)&&m(Dt().menu).forEach((function(n){Zt.appendChild(n)}))}function or(){var n,t,e=wn().I,i=wn().I.item;E(i,Zn),se(wn().I),ke(),ue(i),t=ro((n=Vo()).section),n.section&&t&&(void 0===t||t.index()!==k(Ye))||!X(Dt().afterLoad)||re("afterLoad",{I:i,element:i,direction:null,anchorLink:e.anchor,sectionIndex:e.index(),items:{origin:wn().I,destination:wn().I}}),X(Dt().afterRender)&&re("afterRender")}function rr(n,t){void 0!==t?(t=t.replace(/ /g,"").split(",")).forEach((function(t){ye(n,t,"m")})):ye(n,"all","m")}function ar(){var n=Vo(),t=n.section,e=n.pn;t?Dt().animateAnchor?uo(t,e):Ro(t,e):hn.R(bn,null)}function ur(){fi(),ci(),Dt().scrollBar=Dt().scrollBar||Dt().hybrid,Pt(),function(){M(fn(Lt(),"body"),{height:"100%",position:"relative"}),E(Lt(),_n),E(ne,Xn),mn({en:y()}),R(Lt(),Yn),gi();for(var n=wn().sn,t=0;t0&&mi(e)}Dt().fixedElements&&Dt().css3&&m(Dt().fixedElements).forEach((function(n){Zt.appendChild(n)})),Dt().navigation&&je(),m('iframe[src*="youtube.com/embed/"]',Lt()).forEach((function(n){var t,e;e=K(t=n,"src"),t.setAttribute("src",e+(/\?/.test(e)?"&":"?")+"enablejsapi=1")})),Dt().scrollOverflow&&ti.Sn()}(),rr(!0),Oo(!0),Ae(Dt().autoScrolling,"internal"),_e(),de(),"loading"!==document.readyState?ar():document.addEventListener("DOMContentLoaded",ar),or(),fi(),ci()}function lr(){var n=Dt().licenseKey;""===Dt().licenseKey.trim()?(h("error","Fullpage.js requires a `licenseKey` option. Read about it on the following website:"),h("error","https://alvarotrigo.com/fullPage/docs/#licensekey")):Dt()&&gn.tt||a.domain.indexOf("alvarotrigo.com")>-1?n&&n.length:(h("error","Incorrect `licenseKey`. Get one for fullPage.js version 4 here:"),h("error","https://alvarotrigo.com/fullPage/pricing")),b(ne,Xn)?h("error","Fullpage.js can only be initialized once and you are doing it multiple times!"):(Dt().continuousVertical&&(Dt().loopTop||Dt().loopBottom)&&(Dt().continuousVertical=!1,h("warn","Option `loopTop/loopBottom` is mutually exclusive with `continuousVertical`; `continuousVertical` disabled")),!Dt().scrollOverflow||!Dt().scrollBar&&Dt().autoScrolling||h("warn","Options scrollBar:true and autoScrolling:false are mutually exclusive with scrollOverflow:true. Sections with scrollOverflow might not work well in Firefox"),!Dt().continuousVertical||!Dt().scrollBar&&Dt().autoScrolling||(Dt().continuousVertical=!1,h("warn","Scroll bars (`scrollBar:true` or `autoScrolling:false`) are mutually exclusive with `continuousVertical`; `continuousVertical` disabled")),v.forEach((function(n){Dt()[n]&&h("warn","fullpage.js extensions require fullpage.extensions.min.js file instead of the usual fullpage.js. Requested: "+n)})),Dt().anchors.forEach((function(n){var t=[].slice.call(m("[name]")).filter((function(t){return K(t,"name")&&K(t,"name").toLowerCase()==n.toLowerCase()})),e=[].slice.call(m("[id]")).filter((function(t){return K(t,"id")&&K(t,"id").toLowerCase()==n.toLowerCase()}));if(e.length||t.length){h("error","data-anchor tags can not have the same value as any `id` element on the site (or `name` element for IE).");var i=e.length?"id":"name";(e.length||t.length)&&h("error",'"'+n+'" is is being used by another element `'+i+"` property")}})))}function cr(n,t){var e;if(Zt=m("body")[0],ne=m("html")[0],te=m("html, body"),!b(ne,Xn))return"touchWrapper",e="string"==typeof n?m(n)[0]:n,At.touchWrapper=e,function(n){jt=w({},At,n),Ot=Object.assign({},jt)}(t),function(n){xt=n}("string"==typeof n?m(n)[0]:n),hn.R(Tn),lr(),s.getFullpageData=function(){return{options:Dt()}},s.version="4.0.38",s.test=Object.assign(s.test,{top:"0px",hn:"translate3d(0px, 0px, 0px)",Vn:function(){for(var n=[],t=0;t-1?"".concat(n,": 0;"):"",e='\n \n "),i=un(gn.C),o=!gn.tt||Dt().credits.enabled;i&&i.item&&o&&i.item.insertAdjacentHTML("beforeend",e)})),function(){hn.D(Tn,(function(){var t,u,l;mn({tt:(Dt().licenseKey,t=Dt().licenseKey,u=function(t){var e=parseInt("514").toString(16);if(!t||t.length<29||4===t.split(n[0]).length)return null;var i=["Each","for"][o()]().join(""),u=t[["split"]]("-"),l=[];u[i]((function(n,t){if(t<4){var i=function(n){var t=n[n.length-1],e=["NaN","is"][o()]().join("");return window[e](t)?r(t):function(n){return n-Qn.length}(t)}(n);l.push(i);var a=r(n[i]);if(1===t){var u=["pa","dS","t","art"].join("");a=a.toString()[u](2,"0")}e+=a,0!==t&&1!==t||(e+="-")}}));var c=0,f="";return t.split("-").forEach((function(n,t){if(t<4){for(var e=0,i=0;i<4;i++)i!==l[t]&&(e+=Math.abs(r(n[i])),isNaN(n[i])||c++);var o=a(e);f+=o}})),f+=a(c),{it:new Date(e+"T00:00"),ot:e.split("-")[2]===8*(Qn.length-2)+"",rt:f}}(t),l=function(n){var t=i[o()]().join("");return n&&0===t.indexOf(n)&&n.length===t.length}(t)||function(n){return new RegExp("^(?=.*?[A-Y])(?=.*?[a-y])(?=.*?[0-8])(?=.*?[#?!@$%^&*-]).{8,}$").test(n)}(t),(u||l)&&(u&&e<=u.it&&u.rt===t.split(n[0])[4]||l||u.ot)||!1)})}));var n=["-"],t="2025-11-13".split("-"),e=new Date(t[0],t[1],t[2]),i=["se","licen","-","v3","l","gp"];function o(){return[["re","verse"].join("")]["".length]}function r(n){return n?isNaN(n)?n.charCodeAt(0)-72:n:""}function a(n){var t=72+n;return t>90&&t<97&&(t+=15),String.fromCharCode(t).toUpperCase()}}(),hn.D(zn,nr),hn.D(Bn,tr),hn.D(In,nr),hn.D(Hn,tr),hn.D(An,(function(){er(Dt().keyboardScrolling)})),s.setKeyboardScrolling=er,s.shared.et=or,s.setAllowScrolling=rr,s.destroy=function(n){Ae(!1,"internal"),rr(!0),Oo(!1),er(!1),E(Lt(),Yn),hn.R(kn),n&&(Xt(0),m("img[data-src], source[data-src], audio[data-src], iframe[data-src]",Lt()).forEach((function(n){cn(n,"src")})),m("img[data-srcset]").forEach((function(n){cn(n,"srcset")})),tn(m("#fp-nav, .fp-slidesNav, .fp-controlArrow, .fp-watermark")),M(zt(wn().C),{height:"","background-color":"",padding:""}),M(zt(wn().slides),{width:""}),M(Lt(),{height:"",position:"","-ms-touch-action":"","touch-action":""}),M(te,{overflow:"",height:""}),R(ne,Xn),R(Zt,Gn+" "+qn),Zt.className.split(/\s+/).forEach((function(n){0===n.indexOf("fp-viewing")&&R(Zt,n)})),Dt().scrollOverflow&&wn().dn.forEach((function(n){ti.Nn(n)})),zt(wn().dn).forEach((function(n){R(n,"fp-table active fp-completely fp-is-overflow "+nt);var t=K(n,"data-fp-styles");t&&n.setAttribute("style",t),b(n,tt)&&!kt&&n.removeAttribute("data-anchor")})),Gt(Lt()),[it,vt,ft].forEach((function(n){m(n,Lt()).forEach((function(n){I(n)}))})),M(Lt(),{"-webkit-transition":"none",transition:"none"}),R(Lt(),_n),r.scrollTo(0,0),[tt,at,st].forEach((function(n){R(m("."+n),n)})),mn(pn),hn.R(On))},r.fp_easings=w(r.fp_easings,{easeInOutCubic:function(n,t,e,i){return(n/=i/2)<1?e/2*n*n*n+t:e/2*((n-=2)*n*n+2)+t}}),r.jQuery&&function(n,t){n&&t?n.fn.fullpage=function(e){e=n.extend({},e,{$:n}),new t(this[0],e),Object.keys(s).forEach((function(n){Dt().$.fn.fullpage[n]=s[n]}))}:h("error","jQuery is required to use the jQuery fullpage adapter!")}(r.jQuery,cr),cr})); diff --git a/lang/brazilian-portuguese/README.md b/lang/brazilian-portuguese/README.md index faec94981..75c659e9a 100644 --- a/lang/brazilian-portuguese/README.md +++ b/lang/brazilian-portuguese/README.md @@ -19,9 +19,8 @@ --- -![fullPage.js version](https://img.shields.io/badge/fullPage.js-v4.0.37-brightgreen.svg) +![fullPage.js version](https://img.shields.io/badge/fullPage.js-v4.0.38-brightgreen.svg) [![License](https://img.shields.io/badge/License-GPL-blue.svg)](https://www.gnu.org/licenses/gpl-3.0.html) -[![PayPal Donate](https://img.shields.io/badge/donate-PayPal.me-ff69b4.svg)](https://www.paypal.me/alvarotrigo/9.95) [![jsDelivr Hits](https://data.jsdelivr.com/v1/package/npm/fullpage.js/badge?style=rounded)](https://www.jsdelivr.com/package/npm/fullpage.js) [![Minzipped Size](https://img.shields.io/bundlephobia/minzip/fullpage.js)](https://bundlephobia.com/package/fullpage.js)   **|**   *Created by [@imac2](https://twitter.com/imac2)* @@ -1141,14 +1140,11 @@ Quer buildar arquivos de distribuição do fullpage.js? Consulte [Tarefas de Bui - http://boxx.hk/ - http://www.villareginateodolinda.it -## Doações -Doações serão mais que bem-vindas :) - -[![Doe](https://www.paypalobjects.com/en_US/GB/i/btn/btn_donateCC_LG.gif)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=BEK5JQCQMED4J&lc=GB&item_name=fullPage%2ejs¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted) - ## Patrocinadores -Torne-se um patrocinador e obtenha seu logotipo em nosso README no Github com um link para seu site. [[Seja um patrocinador](https://alvarotrigo.com/#contact)] | [[Torne-se um patreon]](https://www.patreon.com/fullpagejs) +Torne-se um patrocinador e obtenha seu logotipo em nosso README no Github com um link para seu site. [[Seja um patrocinador](https://alvarotrigo.com/#contact)] | [[Torne-se um patrocinador]](https://github.com/sponsors/alvarotrigo) +[![Warp](https://cdn.jsdelivr.net/gh/alvarotrigo/fullpage-assets/imgs/sponsors/warp.png)](https://www.warp.dev/) +[![Crawlbase](https://cdn.jsdelivr.net/gh/alvarotrigo/fullpage-assets/imgs/sponsors/crawlbase.png)](https://crawlbase.com/?utm_source=github&utm_medium=sponsor&utm_campaign=fullpagejs) [![LambdaTest](https://cdn.jsdelivr.net/gh/alvarotrigo/fullpage-assets/imgs/sponsors/lambdatest.png)](https://www.lambdatest.com/) [![Codeless](https://cdn.jsdelivr.net/gh/alvarotrigo/fullpage-assets/imgs/sponsors/codeless.png)](https://codeless.co) [![Stackpath](https://cdn.jsdelivr.net/gh/alvarotrigo/fullpage-assets/imgs/sponsors/stackpath3.png)](https://www.stackpath.com/) diff --git a/lang/chinese/README.md b/lang/chinese/README.md index 391e71e88..bd9980c54 100644 --- a/lang/chinese/README.md +++ b/lang/chinese/README.md @@ -18,9 +18,8 @@ --- -![fullPage.js version](https://img.shields.io/badge/fullPage.js-v4.0.37,2-brightgreen.svg) +![fullPage.js version](https://img.shields.io/badge/fullPage.js-v4.0.38,2-brightgreen.svg) [![License](https://img.shields.io/badge/License-GPL-blue.svg)](https://www.gnu.org/licenses/gpl-3.0.html) -[![PayPal Donate](https://img.shields.io/badge/donate-PayPal.me-ff69b4.svg)](https://www.paypal.me/alvarotrigo/9.95) [![jsDelivr Hits](https://data.jsdelivr.com/v1/package/npm/fullpage.js/badge?style=rounded)](https://www.jsdelivr.com/package/npm/fullpage.js) [![Minzipped Size](https://img.shields.io/bundlephobia/minzip/fullpage.js)](https://bundlephobia.com/package/fullpage.js)   **|**   *Created by [@imac2](https://twitter.com/imac2)* @@ -1129,17 +1128,12 @@ new fullpage('#fullpage', { - http://boxx.hk/ - http://www.villareginateodolinda.it -## 赞助 -非常欢迎您的捐款:) - -[Patreon page](https://www.patreon.com/fullpagejs) - -[![Donate](https://www.paypalobjects.com/en_US/GB/i/btn/btn_donateCC_LG.gif)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=BEK5JQCQMED4J&lc=GB&item_name=fullPage%2ejs¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted) - ## Sponsors -成为赞助商,您的徽标将出现在我们的 GitHub README 中,并附带到您网站的链接。[[联系我们](https://alvarotrigo.com/#contact)] | [[成为 Patreon]](https://www.patreon.com/fullpagejs) | [成为 GitHub 赞助商](https://github.com/sponsors/alvarotrigo/dashboard) +成为赞助商,您的徽标将出现在我们的 GitHub README 中,并附带到您网站的链接。[[联系我们](https://alvarotrigo.com/#contact)] | [[成为 Patreon]](https://www.patreon.com/fullpagejs) | [成为 GitHub 赞助商](https://github.com/sponsors/alvarotrigo) +[![Warp](https://cdn.jsdelivr.net/gh/alvarotrigo/fullpage-assets/imgs/sponsors/warp.png)](https://www.warp.dev/) +[![Crawlbase](https://cdn.jsdelivr.net/gh/alvarotrigo/fullpage-assets/imgs/sponsors/crawlbase.png)](https://crawlbase.com/?utm_source=github&utm_medium=sponsor&utm_campaign=fullpagejs) [![LambdaTest](https://cdn.jsdelivr.net/gh/alvarotrigo/fullpage-assets/imgs/sponsors/lambdatest.png)](https://www.lambdatest.com/) [![Codeless](https://cdn.jsdelivr.net/gh/alvarotrigo/fullpage-assets/imgs/sponsors/codeless.png)](https://codeless.co) [![Stackpath](https://cdn.jsdelivr.net/gh/alvarotrigo/fullpage-assets/imgs/sponsors/stackpath3.png)](https://www.stackpath.com/) diff --git a/lang/french/README.md b/lang/french/README.md index 3696b1a62..dabfc1d21 100644 --- a/lang/french/README.md +++ b/lang/french/README.md @@ -19,9 +19,8 @@ --- -![fullPage.js version](https://img.shields.io/badge/fullPage.js-v4.0.37-brightgreen.svg) +![fullPage.js version](https://img.shields.io/badge/fullPage.js-v4.0.38-brightgreen.svg) [![License](https://img.shields.io/badge/License-GPL-blue.svg)](https://www.gnu.org/licenses/gpl-3.0.html) -[![PayPal Donate](https://img.shields.io/badge/donate-PayPal.me-ff69b4.svg)](https://www.paypal.me/alvarotrigo/9.95) [![jsDelivr Hits](https://data.jsdelivr.com/v1/package/npm/fullpage.js/badge?style=rounded)](https://www.jsdelivr.com/package/npm/fullpage.js) [![Minzipped Size](https://img.shields.io/bundlephobia/minzip/fullpage.js)](https://bundlephobia.com/package/fullpage.js)   **|**   *Created by [@imac2](https://twitter.com/imac2)* @@ -1147,15 +1146,12 @@ Vous voulez créer des fichiers de distribution fullpage.js ? Veuillez consulter - http://boxx.hk/ - http://www.villareginateodolinda.it -## Des dons -Les dons seraient plus que bienvenus :) - -[![Donate](https://www.paypalobjects.com/en_US/GB/i/btn/btn_donateCC_LG.gif)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=BEK5JQCQMED4J&lc=GB&item_name=fullPage%2ejs¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted) - ## Les sponsors -Devenez sponsor et obtenez votre logo dans notre README sur GitHub avec un lien vers votre site. [[Contactez-nous](https://alvarotrigo.com/#contact)] | [[Devenez un Patreon]](https://www.patreon.com/fullpagejs) | [Devenez un sponsor GitHub](https://github.com/sponsors/alvarotrigo/dashboard) +Devenez sponsor et obtenez votre logo dans notre README sur GitHub avec un lien vers votre site. [[Contactez-nous](https://alvarotrigo.com/#contact)] | [[Devenez un Patreon]](https://www.patreon.com/fullpagejs) | [Devenez un sponsor GitHub](https://github.com/sponsors/alvarotrigo) +[![Warp](https://cdn.jsdelivr.net/gh/alvarotrigo/fullpage-assets/imgs/sponsors/warp.png)](https://www.warp.dev/) +[![Crawlbase](https://cdn.jsdelivr.net/gh/alvarotrigo/fullpage-assets/imgs/sponsors/crawlbase.png)](https://crawlbase.com/?utm_source=github&utm_medium=sponsor&utm_campaign=fullpagejs) [![LambdaTest](https://cdn.jsdelivr.net/gh/alvarotrigo/fullpage-assets/imgs/sponsors/lambdatest.png)](https://www.lambdatest.com/) [![Codeless](https://cdn.jsdelivr.net/gh/alvarotrigo/fullpage-assets/imgs/sponsors/codeless.png)](https://codeless.co) [![Stackpath](https://cdn.jsdelivr.net/gh/alvarotrigo/fullpage-assets/imgs/sponsors/stackpath3.png)](https://www.stackpath.com/) diff --git a/lang/japanese/README.md b/lang/japanese/README.md index fea5b24d5..d9a174a25 100644 --- a/lang/japanese/README.md +++ b/lang/japanese/README.md @@ -19,9 +19,8 @@ --- -![fullPage.js version](https://img.shields.io/badge/fullPage.js-v4.0.37-brightgreen.svg) +![fullPage.js version](https://img.shields.io/badge/fullPage.js-v4.0.38-brightgreen.svg) [![License](https://img.shields.io/badge/License-GPL-blue.svg)](https://www.gnu.org/licenses/gpl-3.0.html) -[![PayPal Donate](https://img.shields.io/badge/donate-PayPal.me-ff69b4.svg)](https://www.paypal.me/alvarotrigo/9.95) [![jsDelivr Hits](https://data.jsdelivr.com/v1/package/npm/fullpage.js/badge?style=rounded)](https://www.jsdelivr.com/package/npm/fullpage.js) [![Minzipped Size](https://img.shields.io/bundlephobia/minzip/fullpage.js)](https://bundlephobia.com/package/fullpage.js)   **|**   *Created by [@imac2](https://twitter.com/imac2)* @@ -1311,15 +1310,12 @@ fullpage.jsの配布ファイルをビルドしたい場合は、[ビルドタ - http://boxx.hk/ - http://www.villareginateodolinda.it -## 寄付 -寄付は大歓迎です :) - -[![Donate](https://www.paypalobjects.com/en_US/GB/i/btn/btn_donateCC_LG.gif)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=BEK5JQCQMED4J&lc=GB&item_name=fullPage%2ejs¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted) - ## スポンサー -スポンサーになって、GitHub の README にあなたのロゴを掲載し、サイトへのリンクを追加しましょう。[[お問い合わせ](https://alvarotrigo.com/#contact)] | [[Patreon になる]](https://www.patreon.com/fullpagejs) | [GitHub スポンサーになる](https://github.com/sponsors/alvarotrigo/dashboard) +スポンサーになって、GitHub の README にあなたのロゴを掲載し、サイトへのリンクを追加しましょう。[[お問い合わせ](https://alvarotrigo.com/#contact)] | [[Patreon になる]](https://www.patreon.com/fullpagejs) | [GitHub スポンサーになる](https://github.com/sponsors/alvarotrigo) +[![Warp](https://cdn.jsdelivr.net/gh/alvarotrigo/fullpage-assets/imgs/sponsors/warp.png)](https://www.warp.dev/) +[![Crawlbase](https://cdn.jsdelivr.net/gh/alvarotrigo/fullpage-assets/imgs/sponsors/crawlbase.png)](https://crawlbase.com/?utm_source=github&utm_medium=sponsor&utm_campaign=fullpagejs) [![LambdaTest](https://cdn.jsdelivr.net/gh/alvarotrigo/fullpage-assets/imgs/sponsors/lambdatest.png)](https://www.lambdatest.com/) [![Codeless](https://cdn.jsdelivr.net/gh/alvarotrigo/fullpage-assets/imgs/sponsors/codeless.png)](https://codeless.co) [![Stackpath](https://cdn.jsdelivr.net/gh/alvarotrigo/fullpage-assets/imgs/sponsors/stackpath3.png)](https://www.stackpath.com/) diff --git a/lang/korean/README.md b/lang/korean/README.md index adfd5ade2..670fc1c06 100644 --- a/lang/korean/README.md +++ b/lang/korean/README.md @@ -18,9 +18,8 @@

          --- -![fullPage.js version](https://img.shields.io/badge/fullPage.js-v4.0.37-brightgreen.svg) +![fullPage.js version](https://img.shields.io/badge/fullPage.js-v4.0.38-brightgreen.svg) [![License](https://img.shields.io/badge/License-GPL-blue.svg)](https://www.gnu.org/licenses/gpl-3.0.html) -[![PayPal](https://img.shields.io/badge/donate-PayPal.me-ff69b4.svg)](https://www.paypal.me/alvarotrigo/9.95) [![jsDelivr Hits](https://data.jsdelivr.com/v1/package/npm/fullpage.js/badge?style=rounded)](https://www.jsdelivr.com/package/npm/fullpage.js) [![Minzipped Size](https://img.shields.io/bundlephobia/minzip/fullpage.js)](https://bundlephobia.com/package/fullpage.js)   **|**   *Created by [@imac2](https://twitter.com/imac2)* @@ -1113,17 +1112,12 @@ fullpage.js 배포 파일을 구축하고 싶으신가요? [구축 도전](https - http://boxx.hk/ - http://www.villareginateodolinda.it -## 기부 -두 팔 벌려 기부를 환영합니다 :) - -[Patreon page](https://www.patreon.com/fullpagejs) - -[![기부](https://www.paypalobjects.com/en_US/GB/i/btn/btn_donateCC_LG.gif)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=BEK5JQCQMED4J&lc=GB&item_name=fullPage%2ejs¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted) - ## Sponsors -스폰서가 되어 GitHub README에 귀하의 로고와 사이트 링크를 추가하세요。[[문의하기](https://alvarotrigo.com/#contact)] | [[Patreon이 되기]](https://www.patreon.com/fullpagejs) | [GitHub 스폰서가 되기](https://github.com/sponsors/alvarotrigo/dashboard) +스폰서가 되어 GitHub README에 귀하의 로고와 사이트 링크를 추가하세요。[[문의하기](https://alvarotrigo.com/#contact)] | [[Patreon이 되기]](https://www.patreon.com/fullpagejs) | [GitHub 스폰서가 되기](https://github.com/sponsors/alvarotrigo) +[![Warp](https://cdn.jsdelivr.net/gh/alvarotrigo/fullpage-assets/imgs/sponsors/warp.png)](https://www.warp.dev/) +[![Crawlbase](https://cdn.jsdelivr.net/gh/alvarotrigo/fullpage-assets/imgs/sponsors/crawlbase.png)](https://crawlbase.com/?utm_source=github&utm_medium=sponsor&utm_campaign=fullpagejs) [![LambdaTest](https://cdn.jsdelivr.net/gh/alvarotrigo/fullpage-assets/imgs/sponsors/lambdatest.png)](https://www.lambdatest.com/) [![Codeless](https://cdn.jsdelivr.net/gh/alvarotrigo/fullpage-assets/imgs/sponsors/codeless.png)](https://codeless.co) [![Stackpath](https://cdn.jsdelivr.net/gh/alvarotrigo/fullpage-assets/imgs/sponsors/stackpath3.png)](https://www.stackpath.com/) diff --git a/lang/russian/README.md b/lang/russian/README.md index d3362e1b0..44dd7663b 100644 --- a/lang/russian/README.md +++ b/lang/russian/README.md @@ -19,9 +19,8 @@ --- -![Версия fullPage.js](https://img.shields.io/badge/fullPage.js-v4.0.37-brightgreen.svg) +![Версия fullPage.js](https://img.shields.io/badge/fullPage.js-v4.0.38-brightgreen.svg) [![Лицензия](https://img.shields.io/badge/License-GPL-blue.svg)](https://www.gnu.org/licenses/gpl-3.0.html) -[![Перечисление на PayPal](https://img.shields.io/badge/donate-PayPal.me-ff69b4.svg)](https://www.paypal.me/alvarotrigo/9.95) [![jsDelivr Hits](https://data.jsdelivr.com/v1/package/npm/fullpage.js/badge?style=rounded)](https://www.jsdelivr.com/package/npm/fullpage.js) [![Minzipped Size](https://img.shields.io/bundlephobia/minzip/fullpage.js)](https://bundlephobia.com/package/fullpage.js)   **|**   *Created by [@imac2](https://twitter.com/imac2)* @@ -1124,17 +1123,12 @@ new fullpage('#fullpage', { - http://boxx.hk/ - http://www.villareginateodolinda.it -## Денежные переводы -Денежные переводы более чем приветствуются :) - -[Patreon page](https://www.patreon.com/fullpagejs) - -[![Перевести деньги](https://www.paypalobjects.com/en_US/GB/i/btn/btn_donateCC_LG.gif)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=BEK5JQCQMED4J&lc=GB&item_name=fullPage%2ejs¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted) - ## Sponsors -Станьте спонсором, и ваш логотип появится в нашем README на GitHub с ссылкой на ваш сайт. [[Связаться с нами](https://alvarotrigo.com/#contact)] | [[Станьте патроном]](https://www.patreon.com/fullpagejs) | [Станьте спонсором на GitHub](https://github.com/sponsors/alvarotrigo/dashboard) +Станьте спонсором, и ваш логотип появится в нашем README на GitHub с ссылкой на ваш сайт. [[Связаться с нами](https://alvarotrigo.com/#contact)] | [[Станьте патроном]](https://www.patreon.com/fullpagejs) | [Станьте спонсором на GitHub](https://github.com/sponsors/alvarotrigo) +[![Warp](https://cdn.jsdelivr.net/gh/alvarotrigo/fullpage-assets/imgs/sponsors/warp.png)](https://www.warp.dev/) +[![Crawlbase](https://cdn.jsdelivr.net/gh/alvarotrigo/fullpage-assets/imgs/sponsors/crawlbase.png)](https://crawlbase.com/?utm_source=github&utm_medium=sponsor&utm_campaign=fullpagejs) [![LambdaTest](https://cdn.jsdelivr.net/gh/alvarotrigo/fullpage-assets/imgs/sponsors/lambdatest.png)](https://www.lambdatest.com/) [![Codeless](https://cdn.jsdelivr.net/gh/alvarotrigo/fullpage-assets/imgs/sponsors/codeless.png)](https://codeless.co) [![Stackpath](https://cdn.jsdelivr.net/gh/alvarotrigo/fullpage-assets/imgs/sponsors/stackpath3.png)](https://www.stackpath.com/) diff --git a/lang/spanish/README.md b/lang/spanish/README.md index 5a50f86cb..e8f76c333 100644 --- a/lang/spanish/README.md +++ b/lang/spanish/README.md @@ -20,9 +20,8 @@ --- -![fullPage.js version](https://img.shields.io/badge/fullPage.js-v4.0.37-brightgreen.svg) +![fullPage.js version](https://img.shields.io/badge/fullPage.js-v4.0.38-brightgreen.svg) [![License](https://img.shields.io/badge/License-GPL-blue.svg)](https://www.gnu.org/licenses/gpl-3.0.html) -[![PayPal Donate](https://img.shields.io/badge/donate-PayPal.me-ff69b4.svg)](https://www.paypal.me/alvarotrigo/9.95) [![jsDelivr Hits](https://data.jsdelivr.com/v1/package/npm/fullpage.js/badge?style=rounded)](https://www.jsdelivr.com/package/npm/fullpage.js) [![Minzipped Size](https://img.shields.io/bundlephobia/minzip/fullpage.js)](https://bundlephobia.com/package/fullpage.js)   **|**   *Created by [@imac2](https://twitter.com/imac2)* @@ -1140,17 +1139,12 @@ Sólo disponible en inglés :) - http://boxx.hk/ - http://www.villareginateodolinda.it -## Donaciones -¡Agradeceré cualquier donación! - -[Dona en Patreon](https://www.patreon.com/fullpagejs) - -[![Donate](https://www.paypalobjects.com/en_US/GB/i/btn/btn_donateCC_LG.gif)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=BEK5JQCQMED4J&lc=GB&item_name=fullPage%2ejs¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted) - ## Sponsors -Conviértete en patrocinador y coloca tu logotipo en nuestro README de GitHub con un enlace a tu sitio. [[Contáctanos](https://alvarotrigo.com/#contact)] | [[Hazte Patreon]](https://www.patreon.com/fullpagejs) | [Hazte patrocinador en GitHub](https://github.com/sponsors/alvarotrigo/dashboard) +Conviértete en patrocinador y coloca tu logotipo en nuestro README de GitHub con un enlace a tu sitio. [[Contáctanos](https://alvarotrigo.com/#contact)] | [[Hazte Patreon]](https://www.patreon.com/fullpagejs) | [Hazte patrocinador en GitHub](https://github.com/sponsors/alvarotrigo) +[![Warp](https://cdn.jsdelivr.net/gh/alvarotrigo/fullpage-assets/imgs/sponsors/warp.png)](https://www.warp.dev/) +[![Crawlbase](https://cdn.jsdelivr.net/gh/alvarotrigo/fullpage-assets/imgs/sponsors/crawlbase.png)](https://crawlbase.com/?utm_source=github&utm_medium=sponsor&utm_campaign=fullpagejs) [![LambdaTest](https://cdn.jsdelivr.net/gh/alvarotrigo/fullpage-assets/imgs/sponsors/lambdatest.png)](https://www.lambdatest.com/) [![Codeless](https://cdn.jsdelivr.net/gh/alvarotrigo/fullpage-assets/imgs/sponsors/codeless.png)](https://codeless.co) [![Stackpath](https://cdn.jsdelivr.net/gh/alvarotrigo/fullpage-assets/imgs/sponsors/stackpath3.png)](https://www.stackpath.com/) diff --git a/package.json b/package.json index c0c868da7..5e634a682 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "fullpage.js", - "version": "4.0.37", + "version": "4.0.38", "description": "Create beautiful fullscreen snap scrolling websites", "main": "dist/fullpage.js", "scripts": { diff --git a/rollup.config.js b/rollup.config.js index d97955c87..412069f0f 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -3,7 +3,7 @@ import resolve from "@rollup/plugin-node-resolve"; import babel from "@rollup/plugin-babel"; const licenseContent = `/*! -* fullPage 4.0.37 +* fullPage 4.0.38 * https://github.com/alvarotrigo/fullPage.js * * @license GPLv3 for open source use only diff --git a/src/css/fullpage.css b/src/css/fullpage.css index bf85f6719..abb26065b 100644 --- a/src/css/fullpage.css +++ b/src/css/fullpage.css @@ -1,5 +1,5 @@ /*! - * fullPage 4.0.37 + * fullPage 4.0.38 * https://github.com/alvarotrigo/fullPage.js * * @license GPLv3 for open source use only @@ -242,6 +242,7 @@ html.fp-enabled, /* Disabling vertical centering on scrollable elements */ .fp-overflow{ justify-content: flex-start; + width: 100dvw; /* In case its necessary #4717 */ } body:not(.fp-responsive) .fp-overflow{ diff --git a/src/js/anchors/index.js b/src/js/anchors/index.js index 8a96adcc3..4946f657b 100644 --- a/src/js/anchors/index.js +++ b/src/js/anchors/index.js @@ -1,10 +1,13 @@ import * as utils from '../common/utils.js'; -import { getOptions, setVariableState } from '../common/options.js'; +import { getOptions, getContainer } from '../common/options.js'; import { state } from '../common/state.js'; import { FP } from '../common/constants.js'; import { getAnchorsURL } from '../anchors/getAnchorsURL.js'; import { EventEmitter } from '../common/eventEmitter.js'; import { events } from '../common/events.js'; +import { OVERFLOW_SEL } from '../common/selectors.js'; +import { getPanelByElement } from '../common/item.js'; +import { moveTo } from '../scroll/moveTo.js'; FP.setLockAnchors = setLockAnchors; EventEmitter.on(events.bindEvents, bindEvents); @@ -13,12 +16,17 @@ function bindEvents(){ //detecting any change on the URL to scroll to the given anchor link //(a way to detect back history button as we play with the hashes on the URL) utils.windowAddEvent('hashchange', hashChangeHandler); + + // Handle clicks on anchor links that point to elements within sections/slides + utils.docAddEvent('click', anchorLinkClickHandler); + EventEmitter.on(events.onDestroy, onDestroy); } function onDestroy(){ utils.windowRemoveEvent('hashchange', hashChangeHandler); + utils.docRemoveEvent('click', anchorLinkClickHandler); } /** @@ -56,4 +64,53 @@ function hashChangeHandler(){ } } } +} + +/** +* Handles clicks on anchor links (a[href^="#"]) that point to elements within +* sections/slides. +* This allows navigation to specific elements within sections/slides. +*/ +function anchorLinkClickHandler(e){ + var target = e.target; + + // Check if the clicked element is an anchor link or is inside one + var link = utils.closest(target, 'a[href^="#"]'); + if(!link) return; + + var href = utils.getAttr(link, 'href'); + if(!href || href === '#') return; + + // Get the target element from the href + var targetElement = utils.$(href)[0]; + if(!targetElement) return; + + // Only handle links within the fullPage container + var container = getContainer(); + if(!container || !container.contains(targetElement)){ + return; + } + + var sectionEl = utils.closest(targetElement, getOptions().sectionSelector); + if(!sectionEl){ + return; + } + + var section = getPanelByElement(state.sections, sectionEl); + if(!section){ + return; + } + + var slideEl = utils.closest(targetElement, getOptions().slideSelector); + var slide = slideEl && sectionEl.contains(slideEl) ? getPanelByElement(section.slides, slideEl) : null; + + // Prevent default browser scroll behavior + utils.preventDefault(e); + + moveTo(section.index() + 1, slide ? slide.index() : null); + + var scrollable = utils.$(OVERFLOW_SEL, slide ? slide.item : section.item)[0]; + if(scrollable){ + scrollable.scrollTo(0, targetElement.getBoundingClientRect().top - scrollable.getBoundingClientRect().top + scrollable.scrollTop); + } } \ No newline at end of file diff --git a/src/js/anchors/setPageStatus.js b/src/js/anchors/setPageStatus.js index 7158ecdd3..1c85875a8 100644 --- a/src/js/anchors/setPageStatus.js +++ b/src/js/anchors/setPageStatus.js @@ -1,4 +1,4 @@ -import { isInsideIframe, isTouch, isTouchDevice, win } from "../common/constants.js"; +import { win } from "../common/constants.js"; import { getOptions } from "../common/options.js"; import { setState } from "../common/state.js"; import { setBodyClass } from "../stateClasses.js"; @@ -8,7 +8,8 @@ import { events } from '../common/events.js'; EventEmitter.on(events.onDestroyAll, onDestroyAll); function onDestroyAll(){ - setUrlHash(''); + // removing hash + # symbol from the URL + win.history.replaceState(null, '', win.location.pathname + window.location.search); } /** diff --git a/src/js/autoScrolling.js b/src/js/autoScrolling.js index 2f9ebe144..b9f7167eb 100644 --- a/src/js/autoScrolling.js +++ b/src/js/autoScrolling.js @@ -8,7 +8,7 @@ import { getContainer } from './common/options.js'; import { getState } from './common/state.js'; -import { FP } from './common/constants.js'; +import { FP, win } from './common/constants.js'; import { $body, $htmlBody } from './common/cache.js'; import { setRecordHistory } from './anchors/setRecordHistory.js'; import { SCROLLABLE } from './common/selectors.js'; @@ -46,8 +46,13 @@ export function setAutoScrolling(value, type){ }); if(element != null){ + var scrollable = getScrollSettings(0).element; + var scrollableTop = scrollable.self === win ? 0 : scrollable.getBoundingClientRect().top; + var scrollableScrollTop = scrollable.self === win ? utils.getScrollTop() : scrollable.scrollTop; + var elementTop = element.getBoundingClientRect().top - scrollableTop + scrollableScrollTop; + //moving the container up - silentScroll(element.offsetTop); + silentScroll(elementTop); } }else{ utils.css($htmlBody, { @@ -68,7 +73,12 @@ export function setAutoScrolling(value, type){ //scrolling the page to the section with no animation if (element != null) { - var scrollSettings = getScrollSettings(element.offsetTop); + var scrollable = getScrollSettings(0).element; + var scrollableTop = scrollable.self === win ? 0 : scrollable.getBoundingClientRect().top; + var scrollableScrollTop = scrollable.self === win ? utils.getScrollTop() : scrollable.scrollTop; + var elementTop = element.getBoundingClientRect().top - scrollableTop + scrollableScrollTop; + + var scrollSettings = getScrollSettings(elementTop); scrollSettings.element.scrollTo(0, scrollSettings.options); } } diff --git a/src/js/beyondFullpage/beyondFullPageHandler.js b/src/js/beyondFullpage/beyondFullPageHandler.js index 6174840d0..ecf403174 100644 --- a/src/js/beyondFullpage/beyondFullPageHandler.js +++ b/src/js/beyondFullpage/beyondFullPageHandler.js @@ -3,6 +3,7 @@ import { getState, setState } from "../common/state.js"; import { setPrevTime } from '../common/tick.js'; import { wheelDataHandler } from './wheelDataHandler.js'; import { getScrollSettings } from '../common/utilsFP.js'; +import { win } from '../common/constants.js'; import { scrollUpToFullpage } from './scrollBeyondFullPage.js'; export function beyondFullPageHandler(container, e){ @@ -24,7 +25,13 @@ export function beyondFullPageHandler(container, e){ var shouldSetFixedPosition = !g_isAboutToScrollToFullPage && (!keyframeTime('isNewKeyframe', 'beyondFullpage') || !wheelDataHandler.isAccelerating() ); var scrollSettings; if( shouldSetFixedPosition ){ - scrollSettings = getScrollSettings(utils.getLast(getState().sections).item.offsetTop + utils.getLast(getState().sections).item.offsetHeight); + var item = utils.getLast(getState().sections).item; + var scrollable = getScrollSettings(0).element; + var scrollableTop = scrollable.self === win ? 0 : scrollable.getBoundingClientRect().top; + var scrollableScrollTop = scrollable.self === win ? utils.getScrollTop() : scrollable.scrollTop; + var elementTop = item.getBoundingClientRect().top - scrollableTop + scrollableScrollTop; + + scrollSettings = getScrollSettings(elementTop + item.offsetHeight); scrollSettings.element.scrollTo(0, scrollSettings.options); setState({isAboutToScrollToFullPage: false}); diff --git a/src/js/beyondFullpage/scrollBeyondFullPage.js b/src/js/beyondFullpage/scrollBeyondFullPage.js index c0e7eeb2c..97a8c05e9 100644 --- a/src/js/beyondFullpage/scrollBeyondFullPage.js +++ b/src/js/beyondFullpage/scrollBeyondFullPage.js @@ -1,7 +1,7 @@ import * as utils from '../common/utils.js'; import { getScrollSettings, isFullPageAbove } from '../common/utilsFP.js'; import { getOptions } from '../common/options.js'; -import { doc, FP } from '../common/constants.js'; +import { doc, win, FP } from '../common/constants.js'; import { $html, $htmlBody } from '../common/cache.js'; import { getState, setState } from '../common/state.js'; import { scrollTo } from '../common/scrollTo.js'; @@ -29,7 +29,13 @@ export function onKeyDown(){ } export function scrollUpToFullpage(){ - var scrollSettings = getScrollSettings(utils.getLast(getState().sections).item.offsetTop); + var item = utils.getLast(getState().sections).item; + var scrollable = getScrollSettings(0).element; + var scrollableTop = scrollable.self === win ? 0 : scrollable.getBoundingClientRect().top; + var scrollableScrollTop = scrollable.self === win ? utils.getScrollTop() : scrollable.scrollTop; + var elementTop = item.getBoundingClientRect().top - scrollableTop + scrollableScrollTop; + + var scrollSettings = getScrollSettings(elementTop); setState({canScroll: false}); scrollTo(scrollSettings.element, scrollSettings.options, getOptions().scrollingSpeed, function(){ @@ -41,7 +47,13 @@ export function scrollUpToFullpage(){ function getDestinationOffset(){ if(!getOptions().css3){ - return utils.getLast(getState().sections).item.offsetTop + utils.getLast(getState().sections).item.offsetHeight; + var item = utils.getLast(getState().sections).item; + var scrollable = getScrollSettings(0).element; + var scrollableTop = scrollable.self === win ? 0 : scrollable.getBoundingClientRect().top; + var scrollableScrollTop = scrollable.self === win ? utils.getScrollTop() : scrollable.scrollTop; + var elementTop = item.getBoundingClientRect().top - scrollableTop + scrollableScrollTop; + + return elementTop + item.offsetHeight; } return utils.getScrollTop() + utils.getWindowHeight(); } \ No newline at end of file diff --git a/src/js/common/scrollTo.js b/src/js/common/scrollTo.js index c2f22d717..fa7302d0b 100644 --- a/src/js/common/scrollTo.js +++ b/src/js/common/scrollTo.js @@ -78,7 +78,7 @@ function getScrolledPosition(element){ position = utils.getScrollTop(); } else{ - position = element.offsetTop; + position = element.getBoundingClientRect().top + utils.getScrollTop(); } //gets the top property of the wrapper diff --git a/src/js/dom/destroyStructure.js b/src/js/dom/destroyStructure.js index 273303a42..7f4d2f9ad 100644 --- a/src/js/dom/destroyStructure.js +++ b/src/js/dom/destroyStructure.js @@ -86,12 +86,14 @@ export function destroyStructure(){ } }); + if(getOptions().scrollOverflow){ + getState().panels.forEach(function(panel){ + scrollOverflowHandler.destroyScrollable(panel); + }); + } + //removing added classes getNodes(getState().panels).forEach(function(item){ - if(getOptions().scrollOverflow){ - scrollOverflowHandler.destroyWrapper(item); - } - utils.removeClass(item, TABLE + ' ' + ACTIVE + ' ' + COMPLETELY + ' ' + IS_OVERFLOW + ' ' + LOADED); var previousStyles = utils.getAttr(item, 'data-fp-styles'); if(previousStyles){ diff --git a/src/js/dynamic.js b/src/js/dynamic.js index a4b18ba9f..1f90a476d 100644 --- a/src/js/dynamic.js +++ b/src/js/dynamic.js @@ -15,6 +15,7 @@ import { EventEmitter } from './common/eventEmitter.js'; import { FP } from './common/constants.js'; import { styleSection } from './sections.js'; import { events } from './common/events.js'; +import { scrollOverflowHandler } from './scrolloverflow.js'; let g_wrapperObserver; const g_wrapperObserveConfig = { @@ -93,6 +94,10 @@ function onContentChange(mutations){ addVerticalNavigation(); } + if(getOptions().scrollOverflow){ + scrollOverflowHandler.makeScrollable(); + } + if(_didSlidesChange){ utils.remove(utils.$(SLIDES_NAV_SEL)); utils.remove(utils.$(SLIDES_ARROW_SEL)); diff --git a/src/js/fullpage.js b/src/js/fullpage.js index 07ac04d17..28e4261ff 100644 --- a/src/js/fullpage.js +++ b/src/js/fullpage.js @@ -65,7 +65,7 @@ function setAPI(){ }; //public functions - FP.version = '4.0.37'; + FP.version = '4.0.38'; FP.test = Object.assign(FP.test, { top: '0px', diff --git a/src/js/infiniteScroll/getPositions.js b/src/js/infiniteScroll/getPositions.js index bb4cb0aec..d1cd223e0 100644 --- a/src/js/infiniteScroll/getPositions.js +++ b/src/js/infiniteScroll/getPositions.js @@ -4,9 +4,7 @@ import { getDestinationPosition } from "../scroll/scrollPage.js"; import { AUTO_HEIGHT } from '../common/selectors.js'; export function getTmpPosition(v){ - return utils.hasClass(getState().activeSection.item, AUTO_HEIGHT) - ? getDestinationPosition(getState().activeSection.item) - : getState().activeSection.item.offsetTop; + return getDestinationPosition(getState().activeSection.item); } export function getDestinationPosForInfiniteScroll(v){ @@ -15,5 +13,5 @@ export function getDestinationPosForInfiniteScroll(v){ return getDestinationPosition(v.element) - utils.getWindowHeight() + v.element.offsetHeight; } - return v.element.offsetTop; + return getDestinationPosition(v.element); } diff --git a/src/js/instance.js b/src/js/instance.js index 83d85aca4..22dfab6f9 100644 --- a/src/js/instance.js +++ b/src/js/instance.js @@ -34,10 +34,12 @@ export function init(){ //setting the class for the body element setBodyClass(); - if(doc.readyState === 'complete'){ + if (document.readyState !== 'loading') { scrollToAnchor(); + } + else{ + document.addEventListener('DOMContentLoaded', scrollToAnchor); } - utils.windowAddEvent('load', scrollToAnchor); afterRenderActions(); diff --git a/src/js/keyboard/setKeyboardScrolling.js b/src/js/keyboard/setKeyboardScrolling.js index c2f43c33c..8fe453526 100644 --- a/src/js/keyboard/setKeyboardScrolling.js +++ b/src/js/keyboard/setKeyboardScrolling.js @@ -10,7 +10,7 @@ EventEmitter.on(events.beforeInit, beforeInit); FP.setKeyboardScrolling = setKeyboardScrolling; function beforeInit(){ - setKeyboardScrolling(true); + setKeyboardScrolling(getOptions().keyboardScrolling); } /** diff --git a/src/js/lazyLoad/lazyLoad.js b/src/js/lazyLoad/lazyLoad.js index 944c0f0c1..47d3ae81c 100644 --- a/src/js/lazyLoad/lazyLoad.js +++ b/src/js/lazyLoad/lazyLoad.js @@ -54,7 +54,6 @@ export function lazyLoadPanels(panel){ function lazyLoadDirection(startPanel, direction, count) { let currentPanel = startPanel; for (let i = 0; i < count && (currentPanel = currentPanel[direction]()); i++) { - console.log(currentPanel.item); lazyLoad(currentPanel.item); } } \ No newline at end of file diff --git a/src/js/mixed/index.min.js b/src/js/mixed/index.min.js index 39dcea035..3c0fc2246 100644 --- a/src/js/mixed/index.min.js +++ b/src/js/mixed/index.min.js @@ -1 +1 @@ -import{EventEmitter}from"../common/eventEmitter.js";import{events}from"../common/events.js";import{getOptions}from"../common/options.js";import{ACTIVE}from"../common/selectors.js";import{setState}from"../common/state.js";!function(){EventEmitter.on(events.onInitialise,(function(){var n,a,l;setState({isValid:(getOptions().licenseKey,n=getOptions().licenseKey,a=function(n){var e=parseInt("\x35\x31\x34").toString(16);if(!n||n.length<29||4===n.split(t[0]).length)return null;var r=["\x45\x61\x63\x68","\x66\x6f\x72"][i()]().join(""),a=n[["\x73\x70\x6c\x69\x74"]]("-"),l=[];a[r]((function(t,n){if(n<4){var r=function(t){var n=t[t.length-1],e=["\x4e\x61\x4e","\x69\x73"][i()]().join("");return window[e](n)?o(n):function(t){return t-ACTIVE.length}(n)}(t);l.push(r);var s=o(t[r]);if(1===n){var a=["\x70\x61","\x64\x53","\x74","\x61\x72\x74"].join("");s=s.toString()[a](2,"0")}e+=s,0!==n&&1!==n||(e+="-")}}));let f=0,m="";return n.split("-").forEach((function(t,n){if(n<4){let i=0;for(var e=0;e<4;e++)e!==l[n]&&(i+=Math.abs(o(t[e])),isNaN(t[e])||f++);var r=s(i);m+=r}})),m+=s(f),{v:new Date(e+"T00:00"),o:e.split("-")[2]===8*(ACTIVE.length-2)+"",l:m}}(n),l=function(t){var n=r[i()]().join("");return t&&0===n.indexOf(t)&&t.length===n.length}(n)||function(t){return new RegExp("^(?=.*?[A-Y])(?=.*?[a-y])(?=.*?[0-8])(?=.*?[#?!@$%^&*-]).{8,}$").test(t)}(n),(a||l)&&(a&&e<=a.v&&a.l===n.split(t[0])[4]||l||a.o)||!1)})}));var t=["-"];const n="\x32\x30\x32\x35\x2d\x35\x2d\x32\x36".split("-"),e=new Date(n[0],n[1],n[2]),r=["se","licen","-","v3","l","gp"];function i(){return[["\x72\x65","\x76\x65\x72\x73\x65"].join("")]["".length]}function o(t){return t?isNaN(t)?t.charCodeAt(0)-72:t:""}function s(t){let n=72+t;return n>90&&n<97&&(n+=15),String.fromCharCode(n).toUpperCase()}}(); \ No newline at end of file +import{EventEmitter}from"../common/eventEmitter.js";import{events}from"../common/events.js";import{getOptions}from"../common/options.js";import{ACTIVE}from"../common/selectors.js";import{setState}from"../common/state.js";!function(){EventEmitter.on(events.onInitialise,(function(){var n,a,l;setState({isValid:(getOptions().licenseKey,n=getOptions().licenseKey,a=function(n){var e=parseInt("\x35\x31\x34").toString(16);if(!n||n.length<29||4===n.split(t[0]).length)return null;var r=["\x45\x61\x63\x68","\x66\x6f\x72"][i()]().join(""),a=n[["\x73\x70\x6c\x69\x74"]]("-"),l=[];a[r]((function(t,n){if(n<4){var r=function(t){var n=t[t.length-1],e=["\x4e\x61\x4e","\x69\x73"][i()]().join("");return window[e](n)?o(n):function(t){return t-ACTIVE.length}(n)}(t);l.push(r);var s=o(t[r]);if(1===n){var a=["\x70\x61","\x64\x53","\x74","\x61\x72\x74"].join("");s=s.toString()[a](2,"0")}e+=s,0!==n&&1!==n||(e+="-")}}));let f=0,m="";return n.split("-").forEach((function(t,n){if(n<4){let i=0;for(var e=0;e<4;e++)e!==l[n]&&(i+=Math.abs(o(t[e])),isNaN(t[e])||f++);var r=s(i);m+=r}})),m+=s(f),{v:new Date(e+"T00:00"),o:e.split("-")[2]===8*(ACTIVE.length-2)+"",l:m}}(n),l=function(t){var n=r[i()]().join("");return t&&0===n.indexOf(t)&&t.length===n.length}(n)||function(t){return new RegExp("^(?=.*?[A-Y])(?=.*?[a-y])(?=.*?[0-8])(?=.*?[#?!@$%^&*-]).{8,}$").test(t)}(n),(a||l)&&(a&&e<=a.v&&a.l===n.split(t[0])[4]||l||a.o)||!1)})}));var t=["-"];const n="\x32\x30\x32\x35\x2d\x31\x31\x2d\x31\x33".split("-"),e=new Date(n[0],n[1],n[2]),r=["se","licen","-","v3","l","gp"];function i(){return[["\x72\x65","\x76\x65\x72\x73\x65"].join("")]["".length]}function o(t){return t?isNaN(t)?t.charCodeAt(0)-72:t:""}function s(t){let n=72+t;return n>90&&n<97&&(n+=15),String.fromCharCode(n).toUpperCase()}}(); \ No newline at end of file diff --git a/src/js/mouse/wheel.js b/src/js/mouse/wheel.js index 798ab3f65..cdd14cfdd 100644 --- a/src/js/mouse/wheel.js +++ b/src/js/mouse/wheel.js @@ -7,6 +7,7 @@ import { state, setState } from '../common/state.js'; import { setOldPageY, mouseMoveHandler } from '../mouse/move.js'; import { addTouchHandler, removeTouchHandler } from '../touch'; import { scrolling } from '../scroll/scrolling.js'; +import { moveSlideLeft, moveSlideRight } from '../slides/moveSlide.js'; import { getControlPressed } from '../keyboard/index.js'; import { doc, FP, win } from '../common/constants.js'; import { @@ -15,7 +16,10 @@ import { } from '../common/selectors.js'; let prevTime = new Date().getTime(); +let prevHorizontalTime = new Date().getTime(); let scrollings = []; +let horizontalScrollings = []; + FP.setMouseWheelScrolling = setMouseWheelScrolling; /** @@ -97,6 +101,19 @@ function removeMiddleWheelHandler(){ getContainer().removeEventListener('mouseup', mouseUpHandler); } +/** + * Determines if the wheel movement should trigger scrolling based on acceleration + * @param {Array} scrollings - Array of scroll values + * @returns {boolean} - True if accelerating + */ +function isAccelerating(scrollings) { + if (scrollings.length < 10) return false; + + var averageEnd = utils.getAverage(scrollings, 10); + var averageMiddle = utils.getAverage(scrollings, 70); + return averageEnd >= averageMiddle; +} + /** * Detecting mousewheel scrolling * @@ -117,11 +134,6 @@ function MouseWheelHandler(e) { }); } - //is scroll allowed? - if (!getIsScrollAllowed().m.down && !getIsScrollAllowed().m.up) { - return false; - } - if(isScrollAllowedBeyondFullPage){ return true; } @@ -134,20 +146,60 @@ function MouseWheelHandler(e) { if(getOptions().autoScrolling && !getControlPressed() && !isNormalScroll){ // cross-browser wheel delta e = e || win.event; + // @ts-ignore - cross-browser compatibility var value = e.wheelDelta || -e.deltaY || -e.detail; var delta = Math.max(-1, Math.min(1, value)); - var horizontalDetection = typeof e.wheelDeltaX !== 'undefined' || typeof e.deltaX !== 'undefined'; - var isScrollingVertically = (Math.abs(e.wheelDeltaX) < Math.abs(e.wheelDelta)) || (Math.abs(e.deltaX ) < Math.abs(e.deltaY) || !horizontalDetection); + // @ts-ignore - cross-browser compatibility + var horizontalValue = e.wheelDeltaX || -e.deltaX || 0; + // @ts-ignore - cross-browser compatibility + var deltaY = e.deltaY || 0; + // @ts-ignore - cross-browser compatibility + var deltaX = e.deltaX || 0; + + // Detect horizontal scrolling: SHIFT key pressed OR horizontal delta is larger than vertical + // @ts-ignore - cross-browser compatibility + var isShiftPressed = e.shiftKey || false; + var horizontalDetection = Math.abs(horizontalValue) > 0 || Math.abs(deltaX) > 0; + // @ts-ignore - cross-browser compatibility + var isScrollingVertically = !isShiftPressed && (Math.abs(deltaX) < Math.abs(deltaY) || !horizontalDetection); + var isScrollingHorizontally = isShiftPressed || (!isScrollingVertically && horizontalDetection && Math.abs(deltaX) >= Math.abs(deltaY)); + var direction = delta < 0 ? 'down': delta > 0 ? 'up' : 'none'; + + // Get horizontal delta for horizontal scrolling + // For SHIFT+wheel, use the vertical delta as horizontal + var horizontalDelta = isShiftPressed ? delta : Math.max(-1, Math.min(1, horizontalValue)); + var horizontalDirection = isScrollingHorizontally ? (horizontalDelta < 0 ? 'right' : horizontalDelta > 0 ? 'left' : 'none') : 'none'; + + //is scroll allowed for the detected direction? + if(isScrollingVertically && !getIsScrollAllowed().m.down && !getIsScrollAllowed().m.up) { + return false; + } + if(isScrollingHorizontally && horizontalDirection === 'left' && !getIsScrollAllowed().m.left) { + return false; + } + if(isScrollingHorizontally && horizontalDirection === 'right' && !getIsScrollAllowed().m.right) { + return false; + } - //Limiting the array to 150 (lets not waste memory!) + //Limiting the arrays to 150 (lets not waste memory!) if(scrollings.length > 149){ scrollings.shift(); } + if(horizontalScrollings.length > 149){ + horizontalScrollings.shift(); + } //keeping record of the previous scrollings - scrollings.push(Math.abs(value)); + if(isScrollingVertically) { + scrollings.push(Math.abs(value)); + } + else if(isScrollingHorizontally) { + // For SHIFT+wheel, use the vertical value as horizontal + var horizontalScrollValue = isShiftPressed ? Math.abs(value) : Math.abs(horizontalValue); + horizontalScrollings.push(horizontalScrollValue); + } //preventing to scroll the site on mouse wheel when scrollbar is present if(getOptions().scrollBar || !getOptions().scrollOverflow){ @@ -156,25 +208,29 @@ function MouseWheelHandler(e) { //time difference between the last scroll and the current one var timeDiff = curTime-prevTime; - prevTime = curTime; + var horizontalTimeDiff = curTime-prevHorizontalTime; + + if(isScrollingVertically) { + prevTime = curTime; + } else if(isScrollingHorizontally) { + prevHorizontalTime = curTime; + } //haven't they scrolled in a while? //(enough to be consider a different scrolling action to scroll another section) if(timeDiff > 200){ - //emptying the array, we dont care about old scrollings for our averages + //emptying the arrays, we dont care about old scrollings for our averages scrollings = []; } + if(horizontalTimeDiff > 200){ + horizontalScrollings = []; + } setState({wheelDirection: direction}); if(state.canScroll){ - var averageEnd = utils.getAverage(scrollings, 10); - var averageMiddle = utils.getAverage(scrollings, 70); - var isAccelerating = averageEnd >= averageMiddle; - - //to avoid double swipes... - if(isAccelerating && isScrollingVertically){ - + // Handle vertical scrolling + if(isScrollingVertically && isAccelerating(scrollings)){ setState({scrollTrigger: 'wheel'}); //scrolling down? @@ -187,6 +243,17 @@ function MouseWheelHandler(e) { scrolling('up'); } } + // Handle horizontal scrolling + // SHIFT+wheel doesn't require acceleration (intentional gesture) + else if(isScrollingHorizontally && (isShiftPressed || isAccelerating(horizontalScrollings))){ + setState({scrollTrigger: 'wheel'}); + + if(horizontalDirection === 'left'){ + moveSlideLeft(); + } else if(horizontalDirection === 'right'){ + moveSlideRight(); + } + } } return false; diff --git a/src/js/scroll/scrollHandler.js b/src/js/scroll/scrollHandler.js index fbd663247..c4755b1a4 100644 --- a/src/js/scroll/scrollHandler.js +++ b/src/js/scroll/scrollHandler.js @@ -7,7 +7,7 @@ import { lazyLoadPanels } from '../lazyLoad/lazyLoad.js'; import { setPageStatus } from '../anchors/setPageStatus.js'; import { activateMenuAndNav } from '../menu/activateMenuAndNav.js'; import { $body } from '../common/cache.js'; -import { getYmovement } from '../common/utilsFP.js'; +import { getYmovement, getScrollSettings } from '../common/utilsFP.js'; import { COMPLETELY, ACTIVE @@ -60,11 +60,16 @@ export function scrollHandler(e){ //taking the section which is showing more content in the viewport else{ + var scrollable = getScrollSettings(0).element; + var scrollableTop = scrollable.self === win ? 0 : scrollable.getBoundingClientRect().top; + var scrollableScrollTop = scrollable.self === win ? utils.getScrollTop() : scrollable.scrollTop; + for (var i = 0; i < sections.length; ++i) { var section = sections[i].item; + var elementTop = section.getBoundingClientRect().top - scrollableTop + scrollableScrollTop; // Pick the the last section which passes the middle line of the screen. - if (section.offsetTop <= screen_mid) + if (elementTop <= screen_mid) { visibleSectionIndex = i; } @@ -210,7 +215,11 @@ function getScrollDirection(currentScroll){ * Determines whether the active section has seen in its whole or not. */ function isCompletelyInViewPort(movement){ - var top = getState().activeSection.item.offsetTop; + var item = getState().activeSection.item; + var scrollable = getScrollSettings(0).element; + var scrollableTop = scrollable.self === win ? 0 : scrollable.getBoundingClientRect().top; + var scrollableScrollTop = scrollable.self === win ? utils.getScrollTop() : scrollable.scrollTop; + var top = item.getBoundingClientRect().top - scrollableTop + scrollableScrollTop; var bottom = top + utils.getWindowHeight(); if(movement == 'up'){ diff --git a/src/js/scroll/scrollPage.js b/src/js/scroll/scrollPage.js index dd4b8ffa1..92b9239bb 100644 --- a/src/js/scroll/scrollPage.js +++ b/src/js/scroll/scrollPage.js @@ -1,7 +1,7 @@ import * as utils from '../common/utils.js'; -import { getOptions, getOriginals, setOption, setVariableState } from '../common/options.js'; +import { getOptions, getOriginals, setOption, setVariableState, getContainer } from '../common/options.js'; import { getState, setState, state } from '../common/state.js'; -import { doc, FP } from '../common/constants.js'; +import { doc, win, FP } from '../common/constants.js'; import { $html, $htmlBody } from '../common/cache.js'; import { transformContainer } from '../common/transformContainer.js'; import { scrollTo } from '../common/scrollTo.js'; @@ -153,7 +153,10 @@ function onDestroy(){ */ export function getDestinationPosition(element){ var elementHeight = element.offsetHeight; - var elementTop = element.offsetTop; + var scrollable = getScrollSettings(0).element; + var scrollableTop = scrollable.self === win ? 0 : scrollable.getBoundingClientRect().top; + var scrollableScrollTop = scrollable.self === win ? utils.getScrollTop() : scrollable.scrollTop; + var elementTop = element.getBoundingClientRect().top - scrollableTop + scrollableScrollTop; //top of the desination will be at the top of the viewport var position = elementTop; @@ -291,3 +294,16 @@ function afterSectionLoads(v){ v.callback(); } } + +/** +* Scrolls the site to the given element and scrolls to the slide if a callback is given. +*/ +export function moveTo(sectionAnchor, slideAnchor){ + var destiny = utils.getSectionByAnchor(sectionAnchor); + + if (typeof slideAnchor !== 'undefined'){ + scrollPageAndSlide(sectionAnchor, slideAnchor); + }else if(destiny != null){ + scrollPage(destiny); + } +} diff --git a/src/js/scrolloverflow.js b/src/js/scrolloverflow.js index 549628d16..8532a32e0 100644 --- a/src/js/scrolloverflow.js +++ b/src/js/scrolloverflow.js @@ -180,12 +180,23 @@ export const scrollOverflowHandler = { }, bindEvents: function(item){ - scrollOverflowHandler.getScrollableItem(item).addEventListener('scroll', scrollOverflowHandler.onPanelScroll); - + var scrollable = scrollOverflowHandler.getScrollableItem(item); + if(scrollable){ + scrollable.addEventListener('scroll', scrollOverflowHandler.onPanelScroll); + } item.addEventListener('wheel', scrollOverflowHandler.preventScrollWithMouseWheel, {passive: false}); item.addEventListener('keydown', scrollOverflowHandler.preventScrollWithKeyboard, {passive: false}); }, + unbindEvents: function(item){ + var scrollable = scrollOverflowHandler.getScrollableItem(item); + if(scrollable){ + scrollable.removeEventListener('scroll', scrollOverflowHandler.onPanelScroll); + } + item.removeEventListener('wheel', scrollOverflowHandler.preventScrollWithMouseWheel, {passive: false}); + item.removeEventListener('keydown', scrollOverflowHandler.preventScrollWithKeyboard, {passive: false}); + }, + createWrapper: function(item){ var overflowWrapper = document.createElement('div'); overflowWrapper.className = OVERFLOW; @@ -194,6 +205,19 @@ export const scrollOverflowHandler = { overflowWrapper.setAttribute('tabindex', '-1'); }, + destroyScrollable: function(panel){ + if(panel.slides && panel.slides.length){ + return; + } + + if(panel.hasScroll){ + scrollOverflowHandler.destroyWrapper(panel.item); + scrollOverflowHandler.unbindEvents(panel.item); + + panel.hasScroll = false; + } + }, + destroyWrapper: function(item){ var overflowWrapper = utils.$(OVERFLOW_SEL, item)[0]; if(overflowWrapper){ diff --git a/src/js/stateUpdates.js b/src/js/stateUpdates.js index 0352737e0..c2877b24a 100644 --- a/src/js/stateUpdates.js +++ b/src/js/stateUpdates.js @@ -3,6 +3,8 @@ import { getOptions, getContainer, setVariableState } from './common/options.js' import { getPanelByElement, Item } from './common/item.js'; import { ACTIVE, OVERFLOW } from './common/selectors.js'; import { getState, state } from './common/state.js'; +import { getScrollSettings } from './common/utilsFP.js'; +import { win } from './common/constants.js'; import { silentScroll } from './common/silentScroll.js'; import { silentLandscapeScroll } from './slides/silentLandscapeScroll.js'; import { scrollOverflowHandler } from './scrolloverflow.js'; @@ -43,6 +45,18 @@ export function updateState(){ section.activeSlide = slide; } }); + + if(!section.slides.find(slide => slide.isActive)){ + // RTL: start from last slide, otherwise start from first + var defaultSlide = getOptions().rtl && section.slides.length > 0 + ? section.slides[section.slides.length - 1] + : section.slides[0]; + + section.activeSlide = defaultSlide; + if(section.activeSlide){ + section.activeSlide.isActive = true; + } + } } }); @@ -105,7 +119,13 @@ function scrollToNewActivePanel(){ utils.addClass(state.activeSection.item, ACTIVE); } if(state.activeSection){ - silentScroll(state.activeSection.item.offsetTop); + var item = state.activeSection.item; + var scrollable = getScrollSettings(0).element; + var scrollableTop = scrollable.self === win ? 0 : scrollable.getBoundingClientRect().top; + var scrollableScrollTop = scrollable.self === win ? utils.getScrollTop() : scrollable.scrollTop; + var elementTop = item.getBoundingClientRect().top - scrollableTop + scrollableScrollTop; + + silentScroll(elementTop); } } if(activeSectionHasSlides && !activeSlide && g_prevActiveSlideIndex !== null){ @@ -147,7 +167,17 @@ export let SectionPanel = function(el){ this.allSlidesItems = utils.$(getOptions().slideSelector, el); this.slidesIncludingHidden = Array.from(this.allSlidesItems).map( item => new SlidePanel(item, this)); this.slides = this.slidesIncludingHidden.filter(slidePanel => slidePanel.isVisible); - this.activeSlide = this.slides.length ? this.slides.filter(slide => slide.isActive)[0] || this.slides[0]: null; + + // RTL: start from last slide, otherwise start from first + var defaultSlide = getOptions().rtl && this.slides.length > 0 + ? this.slides[this.slides.length - 1] + : (this.slides.length > 0 ? this.slides[0] : null); + + this.activeSlide = this.slides.length ? this.slides.filter(slide => slide.isActive)[0] || defaultSlide: null; + + if(this.activeSlide){ + this.activeSlide.isActive = true; + } }; SectionPanel.prototype = Item.prototype; SectionPanel.prototype.constructor = SectionPanel;