diff --git a/.eslintrc b/.eslintrc index 7fe900d..ee7e05f 100644 --- a/.eslintrc +++ b/.eslintrc @@ -1,15 +1,12 @@ { - "env": { - "browser": true - }, - "parser": "babel-eslint", - "extends": "airbnb", - "plugins": [ - "react", - "jsx-a11y", - "import" - ], - "rules": { - "react/jsx-filename-extension": 0 - } + "env": { + "browser": true, + "node": true + }, + "parser": "babel-eslint", + "extends": ["plugin:prettier/recommended"], + "plugins": ["react", "jsx-a11y", "import"], + "rules": { + "react/jsx-filename-extension": 0 + } } diff --git a/components/ReactFullpage/index.js b/components/ReactFullpage/index.js index b9b0082..094f335 100644 --- a/components/ReactFullpage/index.js +++ b/components/ReactFullpage/index.js @@ -72,20 +72,16 @@ class ReactFullpage extends React.Component { getSectionCount() { const { sectionSelector = '.section' } = this.props; - return document - .querySelectorAll(sectionSelector) - .length; + return document.querySelectorAll(sectionSelector).length; } getSlideCount() { const { slideSelector = '.slide' } = this.props; - return document - .querySelectorAll(slideSelector) - .length; + return document.querySelectorAll(slideSelector).length; } init(opts) { - new Fullpage('#fullpage', opts); // eslint-disable-line + new Fullpage('#fullpage', opts) // eslint-disable-line this.fullpageApi = window.fullpage_api; this.fpUtils = window.fp_utils; this.fpEasings = window.fp_easings; @@ -94,9 +90,7 @@ class ReactFullpage extends React.Component { destroy() { // NOTE: need to check for init to support SSR if (typeof window !== 'undefined') { - this - .fullpageApi - .destroy('all'); + this.fullpageApi.destroy('all'); } } @@ -109,18 +103,14 @@ class ReactFullpage extends React.Component { } buildOptions() { - const filterCb = key => !!Object - .keys(this.props) - .find(cb => cb === key); + const filterCb = key => !!Object.keys(this.props).find(cb => cb === key); const registered = fullpageCallbacks.filter(filterCb); const listeners = registered.reduce((result, key) => { const agg = { ...result, }; agg[key] = (...args) => { - const newArgs = [ - key, ...args, - ]; + const newArgs = [key, ...args]; this.update(...newArgs); }; @@ -146,11 +136,12 @@ class ReactFullpage extends React.Component { lastEvent, }); - const fromArgs = argList => argList.reduce((result, key, i) => { - const value = args[i]; - result[key] = value; // eslint-disable-line - return result; - }, {}); + const fromArgs = argList => + argList.reduce((result, key, i) => { + const value = args[i]; + result[key] = value // eslint-disable-line + return result; + }, {}); // NOTE: remapping callback args to v3 // https://github.com/alvarotrigo/fullPage.js#callbacks @@ -169,16 +160,26 @@ class ReactFullpage extends React.Component { break; case 'afterSlideLoad': - state = makeState(fromArgs(['section', 'origin', 'destination', 'direction'])); + state = makeState( + fromArgs(['section', 'origin', 'destination', 'direction']) + ); break; - // On-* + // On-* case 'onLeave': state = makeState(fromArgs(['origin', 'destination', 'direction'])); break; case 'onSlideLeave': - state = makeState(fromArgs(['section', 'origin', 'slideIndex', 'destination', 'direction'])); + state = makeState( + fromArgs([ + 'section', + 'origin', + 'slideIndex', + 'destination', + 'direction', + ]) + ); break; default: @@ -191,11 +192,7 @@ class ReactFullpage extends React.Component { } render() { - return ( -
- {this.props.render(this)} -
- ); + return
{this.props.render(this)}
; } } diff --git a/components/Utils/index.js b/components/Utils/index.js index 92fc8c2..4cd5ed2 100644 --- a/components/Utils/index.js +++ b/components/Utils/index.js @@ -1,8 +1,4 @@ -const { - author, - name, - version -} = require('../../package.json') +const { author, name, version } = require('../../package.json'); exports.banner = `/*! * ${name} ${version} @@ -10,4 +6,4 @@ exports.banner = `/*! * @license https://github.com/alvarotrigo/react-fullpage#license * * Copyright (C) 2018 alvarotrigo.com - A project by Alvaro Trigo & Michael Walker - */` \ No newline at end of file + */`; diff --git a/components/Wrapper/index.js b/components/Wrapper/index.js index 14fd874..ec56fd2 100644 --- a/components/Wrapper/index.js +++ b/components/Wrapper/index.js @@ -2,6 +2,6 @@ import React, { Fragment } from 'react'; -const Wrapper = ({ children }) => {children} +const Wrapper = ({ children }) => {children}; export default Wrapper; diff --git a/components/index.js b/components/index.js index c46ff5f..db9637e 100644 --- a/components/index.js +++ b/components/index.js @@ -1,17 +1,17 @@ /* eslint-disable */ -import Wrapper from './Wrapper'; +import Wrapper from './Wrapper' export default (() => { - let exported; + let exported - if (typeof window !== 'undefined') { - exported = require('./ReactFullpage').default; - } else { - // NOTE: SSR support - exported = require('./ReactFullpageShell').default; - } + if (typeof window !== 'undefined') { + exported = require('./ReactFullpage').default + } else { + // NOTE: SSR support + exported = require('./ReactFullpageShell').default + } - exported.Wrapper = Wrapper; + exported.Wrapper = Wrapper - return exported; -})(); + return exported +})() diff --git a/dist/index.html b/dist/index.html index 8a7b9ff..d574069 100644 --- a/dist/index.html +++ b/dist/index.html @@ -7,5 +7,5 @@
- + diff --git a/dist/react-fullpage-commonjs.js b/dist/react-fullpage-commonjs.js deleted file mode 100644 index 4608619..0000000 --- a/dist/react-fullpage-commonjs.js +++ /dev/null @@ -1,772 +0,0 @@ -/*! - * @fullpage/react-fullpage 0.1.3 - * https://github.com/alvarotrigo/react-fullpage - * @license https://github.com/alvarotrigo/react-fullpage#license - * - * Copyright (C) 2018 alvarotrigo.com - A project by Alvaro Trigo & Michael Walker - */ -module.exports = -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 2); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -module.exports = require("react"); - -/***/ }), -/* 1 */ -/***/ (function(module, exports, __webpack_require__) { - -var __WEBPACK_AMD_DEFINE_RESULT__;/*! - * fullPage 3.0.4 - Extensions 0.1.7 - * https://github.com/alvarotrigo/fullPage.js - * @license http://alvarotrigo.com/fullPage/extensions/#license - * - * Copyright (C) 2015 alvarotrigo.com - A project by Alvaro Trigo - */ -!function(e,t,n,o,r){ true?!(__WEBPACK_AMD_DEFINE_RESULT__ = (function(){return e.fullpage=o(t,n),e.fullpage}).call(exports, __webpack_require__, exports, module), - __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)):undefined}(this,window,document,function(e,t){"use strict";var n="fullpage-wrapper",o="."+n,r="fp-responsive",i="fp-notransition",l="fp-destroyed",a="fp-enabled",s="fp-viewing",c="active",u="."+c,d="fp-completely",f="."+d,v=".section",p="fp-section",h="."+p,g=h+u,m="fp-tableCell",S="."+m,b="fp-auto-height",w="fp-normal-scroll",y="fp-nav",E="#"+y,x="fp-tooltip",L="."+x,A="fp-show-active",M=".slide",T="fp-slide",O="."+T,k=O+u,C="fp-slides",H="."+C,R="fp-slidesContainer",I="."+R,z="fp-table",B="fp-initial",N="fp-slidesNav",j="."+N,P=j+" a",D="fp-controlArrow",Y="."+D,W="fp-prev",V=D+" "+W,X=Y+("."+W),Z="fp-next",G=D+" "+Z,F=Y+".fp-next";function U(t,n){e.console&&e.console[t]&&e.console[t]("fullPage: "+n)}function _(e,n){return(n=arguments.length>1?n:t)?n.querySelectorAll(e):null}function Q(e){e=e||{};for(var t=1,n=arguments.length;t-1;if(!J(_("html"),a)){var le=_("html, body"),ce=_("body")[0],ve={};Z=Q({menu:!1,anchors:[],lockAnchors:!1,navigation:!1,navigationPosition:"right",navigationTooltips:[],showActiveTooltip:!1,slidesNavigation:!1,slidesNavPosition:"bottom",scrollBar:!1,hybrid:!1,css3:!0,scrollingSpeed:700,autoScrolling:!0,fitToSection:!0,fitToSectionDelay:1e3,easing:"easeInOutCubic",easingcss3:"ease",loopBottom:!1,loopTop:!1,loopHorizontal:!0,continuousVertical:!1,continuousHorizontal:!1,scrollHorizontally:!1,interlockedSlides:!1,dragAndMove:!1,offsetSections:!1,resetSliders:!1,fadingEffect:!1,normalScrollElements:null,scrollOverflow:!1,scrollOverflowReset:!1,scrollOverflowHandler:e.fp_scrolloverflow?e.fp_scrolloverflow.iscrollHandler:null,scrollOverflowOptions:null,touchSensitivity:5,normalScrollElementTouchThreshold:5,bigSectionsDestination:null,keyboardScrolling:!0,animateAnchor:!0,recordHistory:!0,controlArrows:!0,controlArrowColor:"#fff",verticalCentered:!0,sectionsColor:[],paddingTop:0,paddingBottom:0,fixedElements:null,responsive:0,responsiveWidth:0,responsiveHeight:0,responsiveSlides:!1,parallax:!1,parallaxOptions:{type:"reveal",percentage:62,property:"translate"},sectionSelector:v,slideSelector:M,v2compatible:!1,afterLoad:null,onLeave:null,afterRender:null,afterResize:null,afterReBuild:null,afterSlideLoad:null,onSlideLeave:null,afterResponsive:null,lazyLoading:!0},Z);var we,Ce,ze,Be,Ne=!1,je=navigator.userAgent.match(/(iPhone|iPod|iPad|Android|playbook|silk|BlackBerry|BB10|Windows Phone|Tizen|Bada|webOS|IEMobile|Opera Mini)/),Pe="ontouchstart"in e||navigator.msMaxTouchPoints>0||navigator.maxTouchPoints,De="string"==typeof D?_(D)[0]:D,Ye=K(),We=!1,Ve=!0,Xe=!0,Ze=[],Ge={m:{up:!0,down:!0,left:!0,right:!0}};Ge.k=Q({},Ge.m);var Fe,Ue,_e,Qe,Je,Ke,qe,$e,et,tt=Kn(),nt={touchmove:"ontouchmove"in e?"touchmove":tt.move,touchstart:"ontouchstart"in e?"touchstart":tt.down},ot=!1,rt='a[href], area[href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), iframe, object, embed, [tabindex="0"], [contenteditable]',it=Q({},Z),lt={};co(),e.fp_easings=Q(e.fp_easings,{easeInOutCubic:function(e,t,n,o){return(e/=o/2)<1?n/2*e*e*e+t:n/2*((e-=2)*e*e+2)+t}}),De&&(ve.version="3.0.2",ve.setAutoScrolling=bt,ve.setRecordHistory=wt,ve.setScrollingSpeed=yt,ve.setFitToSection=Et,ve.setLockAnchors=function(e){Z.lockAnchors=e},ve.setMouseWheelScrolling=xt,ve.setAllowScrolling=Lt,ve.setKeyboardScrolling=Mt,ve.moveSectionUp=Tt,ve.moveSectionDown=Ot,ve.silentMoveTo=kt,ve.moveTo=Ct,ve.moveSlideRight=Ht,ve.moveSlideLeft=Rt,ve.fitToSection=Zt,ve.reBuild=It,ve.setResponsive=zt,ve.getFullpageData=function(){return{options:Z,internals:{container:De,canScroll:Xe,isScrollAllowed:Ge,getDestinationPosition:en,isTouch:Pe,c:Sn,getXmovement:Yn,removeAnimation:jn,getTransforms:to,lazyLoad:cn,addAnimation:Nn,performHorizontalMove:In,landscapeScroll:Cn,silentLandscapeScroll:$n,keepSlidesPosition:$t,silentScroll:eo,styleSlides:Dt,scrollHandler:Xt,getEventsPage:qn,getMSPointer:Kn,isReallyTouch:_t,usingExtension:ro,toggleControlArrows:Hn,touchStartHandler:Qt,touchMoveHandler:Ut}}},ve.destroy=function(n){Ae(De,"destroy",n),bt(!1,"internal"),Lt(!0),At(!1),Mt(!1),ue(De,l),clearTimeout(Qe),clearTimeout(_e),clearTimeout(Ue),clearTimeout(Je),clearTimeout(Ke),e.removeEventListener("scroll",Xt),e.removeEventListener("hashchange",yn),e.removeEventListener("resize",zn),t.removeEventListener("keydown",xn),t.removeEventListener("keyup",Ln),["click","touchstart"].forEach(function(e){t.removeEventListener(e,Bt)}),["mouseenter","touchstart","mouseleave","touchend"].forEach(function(e){t.removeEventListener(e,jt,!0)}),ro("dragAndMove")&&ve.dragAndMove.destroy(),clearTimeout(Qe),clearTimeout(_e),n&&(eo(0),_("img[data-src], source[data-src], audio[data-src], iframe[data-src]",De).forEach(function(e){sn(e,"src")}),_("img[data-srcset]").forEach(function(e){sn(e,"srcset")}),ke(_(E+", "+j+", "+Y)),q(_(h),{height:"","background-color":"",padding:""}),q(_(O),{width:""}),q(De,{height:"",position:"","-ms-touch-action":"","touch-action":""}),q(le,{overflow:"",height:""}),de(_("html"),a),de(ce,r),ce.className.split(/\s+/).forEach(function(e){0===e.indexOf(s)&&de(ce,e)}),_(h+", "+O).forEach(function(e){Z.scrollOverflowHandler&&Z.scrollOverflow&&Z.scrollOverflowHandler.remove(e),de(e,z+" "+c+" "+d);var t=e.getAttribute("data-fp-styles");t&&e.setAttribute("style",e.getAttribute("data-fp-styles"))}),oo(De),[S,I,H].forEach(function(e){_(e,De).forEach(function(e){ge(e)})}),e.scrollTo(0,0),[p,T,R].forEach(function(e){de(_("."+e),e)}))},ve.getActiveSection=function(){return new po(_(g)[0])},ve.getActiveSlide=function(){return rn(_(k,_(g)[0])[0])},ve.landscapeScroll=Cn,ve.test={top:"0px",translate3d:"translate3d(0px, 0px, 0px)",translate3dH:function(){for(var e=[],t=0;t<_(Z.sectionSelector,De).length;t++)e.push("translate3d(0px, 0px, 0px)");return e}(),left:function(){for(var e=[],t=0;t<_(Z.sectionSelector,De).length;t++)e.push(0);return e}(),options:Z,setAutoScrolling:bt},ve.shared={afterRenderActions:Vt},e.fullpage_api=ve,Pt("continuousHorizontal"),Pt("scrollHorizontally"),Pt("resetSliders"),Pt("interlockedSlides"),Pt("responsiveSlides"),Pt("fadingEffect"),Pt("dragAndMove"),Pt("offsetSections"),Pt("scrollOverflowReset"),Pt("parallax"),ro("dragAndMove")&&ve.dragAndMove.init(),Z.css3&&(Z.css3=function(){var n,o=t.createElement("p"),r={webkitTransform:"-webkit-transform",OTransform:"-o-transform",msTransform:"-ms-transform",MozTransform:"-moz-transform",transform:"transform"};for(var i in o.style.display="block",t.body.insertBefore(o,null),r)void 0!==o.style[i]&&(o.style[i]="translate3d(1px,1px,1px)",n=e.getComputedStyle(o).getPropertyValue(r[i]));return t.body.removeChild(o),void 0!==n&&n.length>0&&"none"!==n}()),Z.scrollBar=Z.scrollBar||Z.hybrid,function(){if(!Z.anchors.length){var e="[data-anchor]",t=_(Z.sectionSelector.split(",").join(e+",")+e,De);t.length&&t.forEach(function(e){Z.anchors.push(e.getAttribute("data-anchor").toString())})}if(!Z.navigationTooltips.length){var e="[data-tooltip]",n=_(Z.sectionSelector.split(",").join(e+",")+e,De);n.length&&n.forEach(function(e){Z.navigationTooltips.push(e.getAttribute("data-tooltip").toString())})}}(),function(){q(De,{height:"100%",position:"relative"}),ue(De,n),ue(_("html"),a),Ye=K(),de(De,l),ue(_(Z.sectionSelector,De),p),ue(_(Z.slideSelector,De),T),io("parallax","init");for(var e=_(h),r=0;r0?Dt(s,u,d):Z.verticalCentered&&Wn(s)}var f,v,m,S;Z.fixedElements&&Z.css3&&_(Z.fixedElements).forEach(function(e){ce.appendChild(e)}),Z.navigation&&function(){var e=t.createElement("div");e.setAttribute("id",y);var n=t.createElement("ul");e.appendChild(n),fe(e,ce);var o=_(E)[0];ue(o,"fp-"+Z.navigationPosition),Z.showActiveTooltip&&ue(o,A);for(var r="",i=0;i<_(h).length;i++){var l="";Z.anchors.length&&(l=Z.anchors[i]),r+='
  • '+Wt(i,"Section")+"";var a=Z.navigationTooltips[i];void 0!==a&&""!==a&&(r+='
    '+a+"
    "),r+="
  • "}_("ul",o)[0].innerHTML=r,q(_(E),{"margin-top":"-"+_(E)[0].offsetHeight/2+"px"}),ue(_("a",_("li",_(E)[0])[ie(_(g)[0],h)]),c)}(),_('iframe[src*="youtube.com/embed/"]',De).forEach(function(e){var t,n,o;n="enablejsapi=1",o=(t=e).getAttribute("src"),t.setAttribute("src",o+(/\?/.test(o)?"&":"?")+n)}),Z.fadingEffect&&ve.fadingEffect&&ve.fadingEffect.apply(),Z.scrollOverflow?Fe=Z.scrollOverflowHandler.init(Z):Vt()}(),Lt(!0),At(!0),bt(Z.autoScrolling,"internal"),Bn(),Jn(),"complete"===t.readyState&&wn(),e.addEventListener("load",wn),e.addEventListener("scroll",Xt),e.addEventListener("hashchange",yn),e.addEventListener("blur",On),e.addEventListener("resize",zn),t.addEventListener("keydown",xn),t.addEventListener("keyup",Ln),["click","touchstart"].forEach(function(e){t.addEventListener(e,Bt)}),Z.normalScrollElements&&(["mouseenter","touchstart"].forEach(function(e){Nt(e,!1)}),["mouseleave","touchend"].forEach(function(e){Nt(e,!0)})),ro("dragAndMove")&&ve.dragAndMove.turnOffTouch());var at,st,ct,ut=!1,dt=0,ft=0,vt=0,pt=0,ht=(new Date).getTime(),gt=0,mt=0,St=Ye;return ve}function bt(e,t){e||eo(0),so("autoScrolling",e,t);var n=_(g)[0];if(Z.autoScrolling&&!Z.scrollBar)q(le,{overflow:"hidden",height:"100%"}),wt(it.recordHistory,"internal"),q(De,{"-ms-touch-action":"none","touch-action":"none"}),null!=n&&eo(n.offsetTop);else if(q(le,{overflow:"visible",height:"initial"}),wt(!1,"internal"),q(De,{"-ms-touch-action":"","touch-action":""}),oo(De),null!=n){var o=ln(n.offsetTop);o.element.scrollTo(0,o.options)}Ae(De,"setAutoScrolling",e)}function wt(e,t){so("recordHistory",e,t)}function yt(e,t){"internal"!==t&&Z.fadingEffect&&ve.fadingEffect&&ve.fadingEffect.update(e),so("scrollingSpeed",e,t)}function Et(e,t){so("fitToSection",e,t)}function xt(n){n?(function(){var n,o="";e.addEventListener?n="addEventListener":(n="attachEvent",o="on");var r="onwheel"in t.createElement("div")?"wheel":void 0!==t.onmousewheel?"mousewheel":"DOMMouseScroll";"DOMMouseScroll"==r?t[n](o+"MozMousePixelScroll",Kt,!1):t[n](o+r,Kt,!1)}(),De.addEventListener("mousedown",An),De.addEventListener("mouseup",Mn)):(t.addEventListener?(t.removeEventListener("mousewheel",Kt,!1),t.removeEventListener("wheel",Kt,!1),t.removeEventListener("MozMousePixelScroll",Kt,!1)):t.detachEvent("onmousewheel",Kt),De.removeEventListener("mousedown",An),De.removeEventListener("mouseup",Mn))}function Lt(e,t){void 0!==t?(t=t.replace(/ /g,"").split(",")).forEach(function(t){no(e,t,"m")}):no(e,"all","m"),Ae(De,"setAllowScrolling",{value:e,directions:t})}function At(e){e?(xt(!0),(je||Pe)&&(Z.autoScrolling&&(ce.removeEventListener(nt.touchmove,Ft,{passive:!1}),ce.addEventListener(nt.touchmove,Ft,{passive:!1})),_(o).length>0&&(_(o)[0].removeEventListener(nt.touchstart,Qt),_(o)[0].removeEventListener(nt.touchmove,Ut,{passive:!1}),_(o)[0].addEventListener(nt.touchstart,Qt),_(o)[0].addEventListener(nt.touchmove,Ut,{passive:!1})))):(xt(!1),(je||Pe)&&(Z.autoScrolling&&(ce.removeEventListener(nt.touchmove,Ut,{passive:!1}),ce.removeEventListener(nt.touchmove,Ft,{passive:!1})),_(o).length>0&&(_(o)[0].removeEventListener(nt.touchstart,Qt),_(o)[0].removeEventListener(nt.touchmove,Ut,{passive:!1}))))}function Mt(e,t){void 0!==t?(t=t.replace(/ /g,"").split(",")).forEach(function(t){no(e,t,"k")}):(no(e,"all","k"),Z.keyboardScrolling=e)}function Tt(){var e=ee(_(g)[0],h);e||!Z.loopTop&&!Z.continuousVertical||(e=re(_(h))),null!=e&&tn(e,null,!0)}function Ot(){var e=te(_(g)[0],h);e||!Z.loopBottom&&!Z.continuousVertical||(e=_(h)[0]),null!=e&&tn(e,null,!1)}function kt(e,t){yt(0,"internal"),Ct(e,t),yt(it.scrollingSpeed,"internal")}function Ct(e,t){var n=Zn(e);void 0!==t?Gn(e,t):null!=n&&tn(n)}function Ht(e){qt("right",e)}function Rt(e){qt("left",e)}function It(t){if(!J(De,l)){We=!0,Ye=K();for(var n=_(h),o=0;o1&&Cn(i,_(k,i)[0])}Z.scrollOverflow&&Fe.createScrollBarForAll();var s=ie(_(g)[0],h);s&&!ro("fadingEffect")&&kt(s+1),We=!1,Le(Z.afterResize)&&t&&Z.afterResize.call(De,e.innerWidth,e.innerHeight),Le(Z.afterReBuild)&&!t&&Z.afterReBuild.call(De),Ae(De,"afterRebuild")}}function zt(e){var t=J(ce,r);e?t||(bt(!1,"internal"),Et(!1,"internal"),ae(_(E)),ue(ce,r),Le(Z.afterResponsive)&&Z.afterResponsive.call(De,e),Z.responsiveSlides&&ve.responsiveSlides&&ve.responsiveSlides.toSections(),Ae(De,"afterResponsive",e),Z.scrollOverflow&&Fe.createScrollBarForAll()):t&&(bt(it.autoScrolling,"internal"),Et(it.autoScrolling,"internal"),se(_(E)),de(ce,r),Le(Z.afterResponsive)&&Z.afterResponsive.call(De,e),Z.responsiveSlides&&ve.responsiveSlides&&ve.responsiveSlides.toSlides(),Ae(De,"afterResponsive",e))}function Bt(e){var t=e.target;t&&me(t,E+" a")?function(e){xe(e);var t=ie(me(this,E+" li"));tn(_(h)[t])}.call(t,e):Me(t,L)?function(){Ae(ne(this),"click")}.call(t):Me(t,Y)?function(){var e=me(this,h);J(this,W)?Ge.m.left&&Rt(e):Ge.m.right&&Ht(e)}.call(t,e):(Me(t,P)||null!=me(t,P))&&function(e){xe(e);var t=_(H,me(this,h))[0],n=_(O,t)[ie(me(this,"li"))];Cn(t,n)}.call(t,e)}function Nt(e,n){t["fp_"+e]=n,t.addEventListener(e,jt,!0)}function jt(e){e.target!=t&&Z.normalScrollElements.split(",").forEach(function(n){Me(e.target,n)&&At(t["fp_"+e.type])})}function Pt(t){var n="fp_"+t+"Extension";lt[t]=Z[t+"Key"],ve[t]=void 0!==e[n]?new e[n]:null,ve[t]&&ve[t].c(t)}function Dt(e,n,o){var r=100*o,i=100/o,l=t.createElement("div");l.className=C,pe(n,l);var a,s,u=t.createElement("div");u.className=R,pe(n,u),q(_(I,e),{width:r+"%"}),o>1&&(Z.controlArrows&&(a=e,s=[Oe('
    '),Oe('
    ')],Se(_(H,a)[0],s),"#fff"!==Z.controlArrowColor&&(q(_(F,a),{"border-color":"transparent transparent transparent "+Z.controlArrowColor}),q(_(X,a),{"border-color":"transparent "+Z.controlArrowColor+" transparent transparent"})),Z.loopHorizontal||ae(_(X,a))),Z.slidesNavigation&&function(e,t){fe(Oe('
      '),e);var n=_(j,e)[0];ue(n,"fp-"+Z.slidesNavPosition);for(var o=0;o'+Wt(o,"Slide")+""),_("ul",n)[0]);q(n,{"margin-left":"-"+n.innerWidth/2+"px"}),ue(_("a",_("li",n)[0]),c)}(e,o)),n.forEach(function(e){q(e,{width:i+"%"}),Z.verticalCentered&&Wn(e)});var d=_(k,e)[0];null!=d&&(0!==ie(_(g),h)||0===ie(_(g),h)&&0!==ie(d))?($n(d,"internal"),ue(d,B)):ue(n[0],c)}function Yt(e){return Z.offsetSections&&ve.offsetSections?Math.round(ve.offsetSections.getWindowHeight(e)):K()}function Wt(e,t){return Z.navigationTooltips[e]||Z.anchors[e]||t+" "+(e+1)}function Vt(){var e,t=_(g)[0];ue(t,d),cn(t),un(t),Z.scrollOverflow&&Z.scrollOverflowHandler.afterLoad(),(!(e=Zn(En().section))||void 0!==e&&ie(e)===ie(Be))&&Le(Z.afterLoad)&&nn("afterLoad",{activeSection:null,element:t,direction:null,anchorLink:t.getAttribute("data-anchor"),sectionIndex:ie(t,h)}),Le(Z.afterRender)&&nn("afterRender"),Ae(De,"afterRender")}function Xt(){var e;if(Ae(De,"onScroll"),(!Z.autoScrolling||Z.scrollBar||ro("dragAndMove"))&&!ao()){var t=ro("dragAndMove")?Math.abs(ve.dragAndMove.getCurrentScroll()):ye(),n=0,o=t+K()/2,r=(ro("dragAndMove")?ve.dragAndMove.getDocumentHeight():ce.offsetHeight-K())===t,i=_(h);if(r)n=i.length-1;else if(t)for(var l=0;lMath.abs(dt-vt)?!Ne&&Math.abs(ft-pt)>e.innerWidth/100*Z.touchSensitivity&&(ft>pt?Ge.m.right&&Ht(n):Ge.m.left&&Rt(n)):Z.autoScrolling&&Xe&&Math.abs(dt-vt)>e.innerHeight/100*Z.touchSensitivity&&(dt>vt?Gt("down"):vt>dt&&Gt("up"))}}function _t(e){return void 0===e.pointerType||"mouse"!=e.pointerType}function Qt(e){if(Z.fitToSection&&(et=!1),_t(e)){var t=qn(e);dt=t.y,ft=t.x}}function Jt(e,t){for(var n=0,o=e.slice(Math.max(e.length-t,1)),r=0;r149&&Ze.shift(),Ze.push(Math.abs(r)),Z.scrollBar&&xe(t);var s=n-ht;return ht=n,s>200&&(Ze=[]),Xe&&!lo()&&Jt(Ze,10)>=Jt(Ze,70)&&a&&Gt(i<0?"down":"up"),!1}Z.fitToSection&&(et=!1)}function qt(e,t){var n=null==t?_(g)[0]:t,o=_(H,n)[0];if(!(null==o||lo()||Ne||_(O,o).length<2)){var r=_(k,o)[0],i=null;if(null==(i="left"===e?ee(r,O):te(r,O))){if(!Z.loopHorizontal)return;var l=Ee(r);i="left"===e?l[l.length-1]:l[0]}Ne=!ve.test.isTesting,Cn(o,i,e)}}function $t(){for(var e=_(k),t=0;tgt,i=o-Ye+t,l=Z.bigSectionsDestination;return t>Ye?(r||l)&&"bottom"!==l||(o=i):(r||We&&null==oe(e))&&(o=i),Z.offsetSections&&ve.offsetSections&&(o=ve.offsetSections.getSectionPosition(r,o,e)),gt=o,o}function tn(e,t,n){if(null!=e){var r,i,l={element:e,callback:t,isMovementUp:n,dtop:en(e),yMovement:Dn(e),anchorLink:e.getAttribute("data-anchor"),sectionIndex:ie(e,h),activeSlide:_(k,e)[0],activeSection:_(g)[0],leavingSection:ie(_(g),h)+1,localIsResizing:We};if(!(l.activeSection==e&&!We||Z.scrollBar&&ye()===l.dtop&&!J(e,b))){if(null!=l.activeSlide&&(r=l.activeSlide.getAttribute("data-anchor"),i=ie(l.activeSlide)),Le(Z.onLeave)&&!l.localIsResizing){var a=l.yMovement;if(void 0!==n&&(a=n?"up":"down"),l.direction=a,!1===nn("onLeave",l))return}io("parallax","apply",l),Z.autoScrolling&&Z.continuousVertical&&void 0!==l.isMovementUp&&(!l.isMovementUp&&"up"==l.yMovement||l.isMovementUp&&"down"==l.yMovement)&&((u=l).isMovementUp?be(_(g)[0],He(u.activeSection,h)):Se(_(g)[0],Re(u.activeSection,h).reverse()),eo(_(g)[0].offsetTop),$t(),u.wrapAroundElements=u.activeSection,u.dtop=u.element.offsetTop,u.yMovement=Dn(u.element),u.leavingSection=ie(u.activeSection,h)+1,u.sectionIndex=ie(u.element,h),Ae(_(o)[0],"onContinuousVertical",u),l=u),ro("scrollOverflowReset")&&ve.scrollOverflowReset.setPrevious(l.activeSection),l.localIsResizing||fn(l.activeSection),Z.scrollOverflow&&Z.scrollOverflowHandler.beforeLeave(),ue(e,c),de(Ee(e),c),cn(e),Z.scrollOverflow&&Z.scrollOverflowHandler.onLeave(),Xe=ve.test.isTesting,Un(i,r,l.anchorLink,l.sectionIndex),function(e){if(Z.css3&&Z.autoScrolling&&!Z.scrollBar){var t="translate3d(0px, -"+Math.round(e.dtop)+"px, 0px)";Xn(t,!0),Z.scrollingSpeed?(clearTimeout(_e),_e=setTimeout(function(){an(e)},Z.scrollingSpeed)):an(e)}else{var n=ln(e.dtop);ve.test.top=-e.dtop+"px",uo(n.element,n.options,Z.scrollingSpeed,function(){Z.scrollBar?setTimeout(function(){an(e)},30):an(e)})}}(l),we=l.anchorLink,Pn(l.anchorLink,null!=(s=l).wrapAroundElements?s.isMovementUp?_(h).length-1:0:s.sectionIndex)}}var s,u}function nn(e,t){var n,o,r,i,l=(o=e,r=t,(i=Z.v2compatible?{afterRender:function(){return[De]},onLeave:function(){return[r.activeSection,r.leavingSection,r.sectionIndex+1,r.direction]},afterLoad:function(){return[r.element,r.anchorLink,r.sectionIndex+1]},afterSlideLoad:function(){return[r.destiny,r.anchorLink,r.sectionIndex+1,r.slideAnchor,r.slideIndex]},onSlideLeave:function(){return[r.prevSlide,r.anchorLink,r.sectionIndex+1,r.prevSlideIndex,r.direction,r.slideIndex]}}:{afterRender:function(){return{section:on(_(g)[0]),slide:rn(_(k,_(g)[0])[0])}},onLeave:function(){return{origin:on(r.activeSection),destination:on(r.element),direction:r.direction}},afterLoad:function(){return i.onLeave()},afterSlideLoad:function(){return{section:on(r.section),origin:rn(r.prevSlide),destination:rn(r.destiny),direction:r.direction}},onSlideLeave:function(){return i.afterSlideLoad()}})[o]());if(Z.v2compatible){if(!1===Z[e].apply(l[0],l.slice(1)))return!1}else if(Ae(De,e,l),!1===Z[e].apply(l[Object.keys(l)[0]],(n=l,Object.keys(n).map(function(e){return n[e]}))))return!1;return!0}function on(e){return e?new po(e):null}function rn(e){return e?new function(e){vo.call(this,e,O)}(e):null}function ln(t){var n={};return Z.autoScrolling&&!Z.scrollBar?(n.options=-t,n.element=_(o)[0]):(n.options=t,n.element=e),n}function an(e){var t;null!=(t=e).wrapAroundElements&&(t.isMovementUp?be(_(h)[0],t.wrapAroundElements):Se(_(h)[_(h).length-1],t.wrapAroundElements),eo(_(g)[0].offsetTop),$t(),t.sectionIndex=ie(t.element,h),t.leavingSection=ie(t.activeSection,h)+1),Le(Z.afterLoad)&&!e.localIsResizing&&nn("afterLoad",e),Z.scrollOverflow&&Z.scrollOverflowHandler.afterLoad(),io("parallax","afterLoad"),ro("scrollOverflowReset")&&ve.scrollOverflowReset.reset(),ro("resetSliders")&&ve.resetSliders.apply(e),e.localIsResizing||un(e.element),ue(e.element,d),de(Ee(e.element),d),Xe=!0,Le(e.callback)&&e.callback()}function sn(e,t){e.setAttribute(t,e.getAttribute("data-"+t)),e.removeAttribute("data-"+t)}function cn(e){Z.lazyLoading&&_("img[data-src], img[data-srcset], source[data-src], source[data-srcset], video[data-src], audio[data-src], iframe[data-src]",vn(e)).forEach(function(e){if(["src","srcset"].forEach(function(t){var n=e.getAttribute("data-"+t);null!=n&&n&&sn(e,t)}),Me(e,"source")){var t=me(e,"video, audio");t&&t.load()}})}function un(e){var t=vn(e);_("video, audio",t).forEach(function(e){e.hasAttribute("data-autoplay")&&"function"==typeof e.play&&e.play()}),_('iframe[src*="youtube.com/embed/"]',t).forEach(function(e){e.hasAttribute("data-autoplay")&&dn(e),e.onload=function(){e.hasAttribute("data-autoplay")&&dn(e)}})}function dn(e){e.contentWindow.postMessage('{"event":"command","func":"playVideo","args":""}',"*")}function fn(e){var t=vn(e);_("video, audio",t).forEach(function(e){e.hasAttribute("data-keepplaying")||"function"!=typeof e.pause||e.pause()}),_('iframe[src*="youtube.com/embed/"]',t).forEach(function(e){/youtube\.com\/embed\//.test(e.getAttribute("src"))&&!e.hasAttribute("data-keepplaying")&&e.contentWindow.postMessage('{"event":"command","func":"pauseVideo","args":""}',"*")})}function vn(e){var t=_(k,e);return t.length&&(e=t[0]),e}function pn(e){var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";function n(e){var n,o,r,i,l,a,s="",c=0;for(e=e.replace(/[^A-Za-z0-9+/=]/g,"");c>4,o=(15&i)<<4|(l=t.indexOf(e.charAt(c++)))>>2,r=(3&l)<<6|(a=t.indexOf(e.charAt(c++))),s+=String.fromCharCode(n),64!=l&&(s+=String.fromCharCode(o)),64!=a&&(s+=String.fromCharCode(r));return s=function(e){for(var t,n="",o=0,r=0,i=0;o191&&r<224?(i=e.charCodeAt(o+1),n+=String.fromCharCode((31&r)<<6|63&i),o+=2):(i=e.charCodeAt(o+1),t=e.charCodeAt(o+2),n+=String.fromCharCode((15&r)<<12|(63&i)<<6|63&t),o+=3);return n}(s)}function o(e){return e.slice(3).slice(0,-3)}return function(e){var t=e.split("_");if(t.length>1){var r=t[1];return e.replace(o(t[1]),"").split("_")[0]+"_"+n(r.slice(3).slice(0,-3))}return o(e)}(n(e))}function hn(e){var n=function(){if(t.domain.length){for(var e=t.domain.replace(/^(www\.)/,"").split(".");e.length>2;)e.shift();return e.join(".").replace(/(^\.*)|(\.*$)/g,"")}return""}(),o=["MTM0bG9jYWxob3N0MjM0","MTM0MC4xMjM0","MTM0anNoZWxsLm5ldDIzNA==","UDdDQU5ZNlNN"],r=pn(o[0]),i=pn(o[1]),l=pn(o[2]),a=pn(o[3]),s=[r,i,l].indexOf(n)<0&&0!==n.length,c=void 0!==lt[e]&<[e].length;if(!c&&s)return!1;var u=c?pn(lt[e]):"",d=(u=u.split("_")).length>1&&u[1].indexOf(e,u[1].length-e.length)>-1;return!(u[0].indexOf(n,u[0].length-n.length)<0&&s&&a!=u[0])&&d||!s}function gn(e){e.forEach(function(e){e.removedNodes[0]&&e.removedNodes[0].isEqualNode(st)&&(clearTimeout(ct),ct=setTimeout(mn,900))})}function mn(){ot=!1}function Sn(n){st=t.createElement("div"),at=pn("MTIzPGRpdj48YSBocmVmPSJodHRwOi8vYWx2YXJvdHJpZ28uY29tL2Z1bGxQYWdlL2V4dGVuc2lvbnMvIiBzdHlsZT0iY29sb3I6ICNmZmYgIWltcG9ydGFudDsgdGV4dC1kZWNvcmF0aW9uOm5vbmUgIWltcG9ydGFudDsiPlVubGljZW5zZWQgZnVsbFBhZ2UuanMgRXh0ZW5zaW9uPC9hPjwvZGl2PjEyMw=="),st.innerHTML=at,st=st.firstChild,"MutationObserver"in e&&new MutationObserver(gn).observe(t.body,{childList:!0,subtree:!1}),ro(n)&&ve[n]&&(hn(n)||(bn(),setInterval(bn,2e3)))}function bn(){st&&(ot||(Math.random()<.5?Ie(ce,st):fe(st,ce),ot=!0),st.setAttribute("style",pn("MTIzei1pbmRleDo5OTk5OTk5O3Bvc2l0aW9uOmZpeGVkO3RvcDoyMHB4O2JvdHRvbTphdXRvO2xlZnQ6MjBweDtyaWdodDphdXRvO2JhY2tncm91bmQ6cmVkO3BhZGRpbmc6N3B4IDE1cHg7Zm9udC1zaXplOjE0cHg7Zm9udC1mYW1pbHk6YXJpYWw7Y29sb3I6I2ZmZjtkaXNwbGF5OmlubGluZS1ibG9jazt0cmFuc2Zvcm06dHJhbnNsYXRlM2QoMCwwLDApO29wYWNpdHk6MTtoZWlnaHQ6YXV0bzt3aWR0aDphdXRvO3pvb206MTttYXJnaW46YXV0bztib3JkZXI6bm9uZTt2aXNpYmlsaXR5OnZpc2libGU7Y2xpcC1wYXRoOm5vbmU7MTIz").replace(/;/g,pn("MTIzICFpbXBvcnRhbnQ7MzQ1"))))}function wn(){var e=En(),t=e.section,n=e.slide;t&&(Z.animateAnchor?Gn(t,n):kt(t,n))}function yn(){if(!ut&&!Z.lockAnchors){var e=En(),t=e.section,n=e.slide,o=void 0===we,r=void 0===we&&void 0===n&&!Ne;t&&t.length&&(t&&t!==we&&!o||r||!Ne&&Ce!=n)&&Gn(t,n)}}function En(){var t,n,o=e.location.hash;if(o.length){var r=o.replace("#","").split("/"),i=o.indexOf("#/")>-1;t=i?"/"+r[1]:decodeURIComponent(r[0]);var l=i?r[2]:r[1];l&&l.length&&(n=decodeURIComponent(l))}return{section:t,slide:n}}function xn(e){clearTimeout(qe);var n=t.activeElement,o=e.keyCode;9===o?function(e){var n,o,r,i,l,a,s,c=e.shiftKey,u=t.activeElement,d=Tn(vn(_(g)[0]));function f(e){return xe(e),d[0]?d[0].focus():null}(n=e,o=Tn(t),r=o.indexOf(t.activeElement),i=n.shiftKey?r-1:r+1,l=o[i],a=rn(me(l,O)),s=on(me(l,h)),a||s)&&(u?null==me(u,g+","+g+" "+k)&&(u=f(e)):f(e),(!c&&u==d[d.length-1]||c&&u==d[0])&&xe(e))}(e):Me(n,"textarea")||Me(n,"input")||Me(n,"select")||"true"===n.getAttribute("contentEditable")||""===n.getAttribute("contentEditable")||!Z.keyboardScrolling||!Z.autoScrolling||([40,38,32,33,34].indexOf(o)>-1&&xe(e),ze=e.ctrlKey,qe=setTimeout(function(){!function(e){var t=e.shiftKey;if(Xe||!([37,39].indexOf(e.keyCode)<0))switch(e.keyCode){case 38:case 33:Ge.k.up&&Tt();break;case 32:if(t&&Ge.k.up){Tt();break}case 40:case 34:Ge.k.down&&Ot();break;case 36:Ge.k.up&&Ct(1);break;case 35:Ge.k.down&&Ct(_(h).length);break;case 37:Ge.k.left&&Rt();break;case 39:Ge.k.right&&Ht()}}(e)},150))}function Ln(e){Ve&&(ze=e.ctrlKey)}function An(e){2==e.which&&(mt=e.pageY,De.addEventListener("mousemove",kn))}function Mn(e){2==e.which&&De.removeEventListener("mousemove",kn)}function Tn(e){return[].slice.call(_(rt,e)).filter(function(e){return"-1"!==e.getAttribute("tabindex")&&null!==e.offsetParent})}function On(){Ve=!1,ze=!1}function kn(e){Xe&&(e.pageYmt&&Ge.m.down&&Ot()),mt=e.pageY}function Cn(e,t,n){var o=me(e,h),r={slides:e,destiny:t,direction:n,destinyPos:{left:t.offsetLeft},slideIndex:ie(t),section:o,sectionIndex:ie(o,h),anchorLink:o.getAttribute("data-anchor"),slidesNav:_(j,o)[0],slideAnchor:Qn(t),prevSlide:_(k,o)[0],prevSlideIndex:ie(_(k,o)[0]),localIsResizing:We};r.xMovement=Yn(r.prevSlideIndex,r.slideIndex),r.localIsResizing||(Xe=!1),io("parallax","applyHorizontal",r),Z.onSlideLeave&&!r.localIsResizing&&"none"!==r.xMovement&&Le(Z.onSlideLeave)&&!1===nn("onSlideLeave",r)?Ne=!1:(ue(t,c),de(Ee(t),c),r.localIsResizing||(fn(r.prevSlide),cn(t)),Hn(r),J(o,c)&&!r.localIsResizing&&Un(r.slideIndex,r.slideAnchor,r.anchorLink,r.sectionIndex),ve.continuousHorizontal&&ve.continuousHorizontal.apply(r),ao()?Rn(r):In(e,r,!0),Z.interlockedSlides&&ve.interlockedSlides&&(ro("continuousHorizontal")&&void 0!==n&&n!==r.xMovement||ve.interlockedSlides.apply(r)))}function Hn(e){!Z.loopHorizontal&&Z.controlArrows&&(Te(_(X,e.section),0!==e.slideIndex),Te(_(F,e.section),null!=oe(e.destiny)))}function Rn(e){var t,n;ve.continuousHorizontal&&ve.continuousHorizontal.afterSlideLoads(e),t=e.slidesNav,n=e.slideIndex,Z.slidesNavigation&&null!=t&&(de(_(u,t),c),ue(_("a",_("li",t)[n]),c)),e.localIsResizing||(io("parallax","afterSlideLoads"),Le(Z.afterSlideLoad)&&nn("afterSlideLoad",e),Xe=!0,un(e.destiny)),Ne=!1,ro("interlockedSlides")&&ve.interlockedSlides.apply(e)}function In(e,t,n){var o=t.destinyPos;if(Z.css3){var r="translate3d(-"+Math.round(o.left)+"px, 0px, 0px)";ve.test.translate3dH[t.sectionIndex]=r,q(Nn(_(I,e)),to(r)),Qe=setTimeout(function(){n&&Rn(t)},Z.scrollingSpeed)}else ve.test.left[t.sectionIndex]=Math.round(o.left),uo(e,Math.round(o.left),Z.scrollingSpeed,function(){n&&Rn(t)})}function zn(){if(Ae(De,"onResize"),Bn(),je){var e=t.activeElement;if(!Me(e,"textarea")&&!Me(e,"input")&&!Me(e,"select")){var n=K();Math.abs(n-St)>20*Math.max(St,n)/100&&(It(!0),St=n)}}else clearTimeout(Ue),Ue=setTimeout(function(){It(!0)},350)}function Bn(){var t=Z.responsive||Z.responsiveWidth,n=Z.responsiveHeight,o=t&&e.innerWidthn?"up":"down"}function Yn(e,t){return e==t?"none":e>t?"left":"right"}function Wn(e){if(!J(e,z)){var n=t.createElement("div");n.className=m,n.style.height=Vn(e)+"px",ue(e,z),he(e,n)}}function Vn(e){var t=Yt(e);if(Z.paddingTop||Z.paddingBottom){var n=e;J(n,p)||(n=me(e,h)),t-=parseInt(getComputedStyle(n)["padding-top"])+parseInt(getComputedStyle(n)["padding-bottom"])}return t}function Xn(e,t){t?Nn(De):jn(De),clearTimeout($e),q(De,to(e)),ve.test.translate3d=e,$e=setTimeout(function(){de(De,i)},10)}function Zn(e){var t=_(h+'[data-anchor="'+e+'"]',De)[0];if(!t){var n=void 0!==e?e-1:0;t=_(h)[n]}return t}function Gn(e,t){var n=Zn(e);if(null!=n){var o,r,i,l=(null==(i=_(O+'[data-anchor="'+(o=t)+'"]',r=n)[0])&&(o=void 0!==o?o:0,i=_(O,r)[o]),i);Qn(n)===we||J(n,c)?Fn(l):tn(n,function(){Fn(l)})}}function Fn(e){null!=e&&Cn(me(e,H),e)}function Un(e,t,n,o){var r="";Z.anchors.length&&!Z.lockAnchors&&(e?(null!=n&&(r=n),null==t&&(t=e),Ce=t,_n(r+"/"+t)):null!=e?(Ce=t,_n(n)):_n(n)),Jn()}function _n(t){if(Z.recordHistory)location.hash=t;else if(je||Pe)e.history.replaceState(void 0,void 0,"#"+t);else{var n=e.location.href.split("#")[0];e.location.replace(n+"#"+t)}}function Qn(e){if(!e)return null;var t=e.getAttribute("data-anchor"),n=ie(e);return null==t&&(t=n),t}function Jn(){var e=_(g)[0],t=_(k,e)[0],n=Qn(e),o=Qn(t),r=String(n);t&&(r=r+"-"+o),r=r.replace("/","-").replace("#","");var i=new RegExp("\\b\\s?"+s+"-[^\\s]+\\b","g");ce.className=ce.className.replace(i,""),ue(ce,s+"-"+r)}function Kn(){return e.PointerEvent?{down:"pointerdown",move:"pointermove"}:{down:"MSPointerDown",move:"MSPointerMove"}}function qn(e){var t=[];return t.y=void 0!==e.pageY&&(e.pageY||e.pageX)?e.pageY:e.touches[0].pageY,t.x=void 0!==e.pageX&&(e.pageY||e.pageX)?e.pageX:e.touches[0].pageX,Pe&&_t(e)&&Z.scrollBar&&void 0!==e.touches&&(t.y=e.touches[0].pageY,t.x=e.touches[0].pageX),t}function $n(e,t){yt(0,"internal"),void 0!==t&&(We=!0),Cn(me(e,H),e),void 0!==t&&(We=!1),yt(it.scrollingSpeed,"internal")}function eo(e){var t=Math.round(e);if(Z.css3&&Z.autoScrolling&&!Z.scrollBar)Xn("translate3d(0px, -"+t+"px, 0px)",!1);else if(Z.autoScrolling&&!Z.scrollBar)q(De,{top:-t+"px"}),ve.test.top=-t+"px";else{var n=ln(t);fo(n.element,n.options)}}function to(e){return{"-webkit-transform":e,"-moz-transform":e,"-ms-transform":e,transform:e}}function no(e,t,n){"all"!==t?Ge[n][t]=e:Object.keys(Ge[n]).forEach(function(t){Ge[n][t]=e})}function oo(e){return q(e,{"-webkit-transition":"none",transition:"none"})}function ro(e){return null!==Z[e]&&"[object Array]"===Object.prototype.toString.call(Z[e])?Z[e].length&&ve[e]:Z[e]&&ve[e]}function io(e,t,n){if(ro(e))return ve[e][t](n)}function lo(){return ro("dragAndMove")&&ve.dragAndMove.isAnimating}function ao(){return ro("dragAndMove")&&ve.dragAndMove.isGrabbing}function so(e,t,n){Z[e]=t,"internal"!==n&&(it[e]=t)}function co(){$||(U("error","Fullpage.js version 3 has changed its license to GPLv3 and it requires a `licenseKey` option. Read about it here:"),U("error","https://github.com/alvarotrigo/fullPage.js#options.")),J(_("html"),a)?U("error","Fullpage.js can only be initialized once and you are doing it multiple times!"):(Z.continuousVertical&&(Z.loopTop||Z.loopBottom)&&(Z.continuousVertical=!1,U("warn","Option `loopTop/loopBottom` is mutually exclusive with `continuousVertical`; `continuousVertical` disabled")),!Z.scrollOverflow||!Z.scrollBar&&Z.autoScrolling||U("warn","Options scrollBar:true and autoScrolling:false are mutually exclusive with scrollOverflow:true. Sections with scrollOverflow might not work well in Firefox"),!Z.continuousVertical||!Z.scrollBar&&Z.autoScrolling||(Z.continuousVertical=!1,U("warn","Scroll bars (`scrollBar:true` or `autoScrolling:false`) are mutually exclusive with `continuousVertical`; `continuousVertical` disabled")),Z.scrollOverflow&&null==Z.scrollOverflowHandler&&(Z.scrollOverflow=!1,U("error","The option `scrollOverflow:true` requires the file `scrolloverflow.min.js`. Please include it before fullPage.js.")),Z.anchors.forEach(function(e){var t=[].slice.call(_("[name]")).filter(function(t){return t.getAttribute("name")&&t.getAttribute("name").toLowerCase()==e.toLowerCase()}),n=[].slice.call(_("[id]")).filter(function(t){return t.getAttribute("id")&&t.getAttribute("id").toLowerCase()==e.toLowerCase()});(n.length||t.length)&&(U("error","data-anchor tags can not have the same value as any `id` element on the site (or `name` element for IE)."),n.length&&U("error",'"'+e+'" is is being used by another element `id` property'),t.length&&U("error",'"'+e+'" is is being used by another element `name` property'))}))}function uo(t,n,o,r){var i,l=(i=t).self!=e&&J(i,C)?i.scrollLeft:!Z.autoScrolling||Z.scrollBar?ye():i.offsetTop,a=n-l,s=0;et=!0;var c=function(){if(et){var i=n;s+=20,o&&(i=e.fp_easings[Z.easing](s,l,a,o)),fo(t,i),s - // tags it will allow on a page - if (!options.singleton && typeof options.singleton !== "boolean") options.singleton = isOldIE(); - - // By default, add - - - -
      - - - - - - - \ No newline at end of file diff --git a/example/dist/main.js b/example/dist/main.js deleted file mode 100644 index 555515e..0000000 --- a/example/dist/main.js +++ /dev/null @@ -1,50 +0,0 @@ -!function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=18)}([function(e,t,n){"use strict";e.exports=n(5)},function(e,t,n){"use strict";e.exports=n(9)},function(e,t,n){var r; -/*! - * fullPage 3.0.4 - Extensions 0.1.7 - * https://github.com/alvarotrigo/fullPage.js - * @license http://alvarotrigo.com/fullPage/extensions/#license - * - * Copyright (C) 2015 alvarotrigo.com - A project by Alvaro Trigo - */!function(o,i,a,l,u){void 0===(r=function(){return o.fullpage=function(e,t){"use strict";var n="fullpage-wrapper",r="."+n,o="fp-responsive",i="fp-notransition",a="fp-destroyed",l="fp-enabled",u="fp-viewing",c="active",s="."+c,f="fp-completely",d="."+f,p="fp-section",h="."+p,v=h+s,m="fp-tableCell",g="."+m,y="fp-auto-height",b="fp-normal-scroll",w="fp-nav",A="#"+w,x="fp-tooltip",k="."+x,S="fp-slide",C="."+S,E=C+s,T="fp-slides",_="."+T,P="fp-slidesContainer",O="."+P,N="fp-table",M="fp-initial",L="fp-slidesNav",B="."+L,R=B+" a",I="fp-controlArrow",U="."+I,z="fp-prev",j=I+" "+z,D=U+"."+z,F=I+" fp-next",W=U+".fp-next";function H(t,n){e.console&&e.console[t]&&e.console[t]("fullPage: "+n)}function V(e,n){return(n=arguments.length>1?n:t)?n.querySelectorAll(e):null}function Y(e){e=e||{};for(var t=1,n=arguments.length;t-1;if(!$(V("html"),l)){var ie=V("html, body"),ce=V("body")[0],me={};X=Y({menu:!1,anchors:[],lockAnchors:!1,navigation:!1,navigationPosition:"right",navigationTooltips:[],showActiveTooltip:!1,slidesNavigation:!1,slidesNavPosition:"bottom",scrollBar:!1,hybrid:!1,css3:!0,scrollingSpeed:700,autoScrolling:!0,fitToSection:!0,fitToSectionDelay:1e3,easing:"easeInOutCubic",easingcss3:"ease",loopBottom:!1,loopTop:!1,loopHorizontal:!0,continuousVertical:!1,continuousHorizontal:!1,scrollHorizontally:!1,interlockedSlides:!1,dragAndMove:!1,offsetSections:!1,resetSliders:!1,fadingEffect:!1,normalScrollElements:null,scrollOverflow:!1,scrollOverflowReset:!1,scrollOverflowHandler:e.fp_scrolloverflow?e.fp_scrolloverflow.iscrollHandler:null,scrollOverflowOptions:null,touchSensitivity:5,normalScrollElementTouchThreshold:5,bigSectionsDestination:null,keyboardScrolling:!0,animateAnchor:!0,recordHistory:!0,controlArrows:!0,controlArrowColor:"#fff",verticalCentered:!0,sectionsColor:[],paddingTop:0,paddingBottom:0,fixedElements:null,responsive:0,responsiveWidth:0,responsiveHeight:0,responsiveSlides:!1,parallax:!1,parallaxOptions:{type:"reveal",percentage:62,property:"translate"},sectionSelector:".section",slideSelector:".slide",v2compatible:!1,afterLoad:null,onLeave:null,afterRender:null,afterResize:null,afterReBuild:null,afterSlideLoad:null,onSlideLeave:null,afterResponsive:null,lazyLoading:!0},X);var Ee,Oe,Ne,Me,Le=!1,Be=navigator.userAgent.match(/(iPhone|iPod|iPad|Android|playbook|silk|BlackBerry|BB10|Windows Phone|Tizen|Bada|webOS|IEMobile|Opera Mini)/),Re="ontouchstart"in e||navigator.msMaxTouchPoints>0||navigator.maxTouchPoints,Ie="string"==typeof I?V(I)[0]:I,Ue=Q(),ze=!1,je=!0,De=!0,Fe=[],We={m:{up:!0,down:!0,left:!0,right:!0}};We.k=Y({},We.m);var He,Ve,Ye,$e,Qe,qe,Xe,Ke,Ge,Ze=$n(),Je={touchmove:"ontouchmove"in e?"touchmove":Ze.move,touchstart:"ontouchstart"in e?"touchstart":Ze.down},et=!1,tt='a[href], area[href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), iframe, object, embed, [tabindex="0"], [contenteditable]',nt=Y({},X),rt={};or(),e.fp_easings=Y(e.fp_easings,{easeInOutCubic:function(e,t,n,r){return(e/=r/2)<1?n/2*e*e*e+t:n/2*((e-=2)*e*e+2)+t}}),Ie&&(me.version="3.0.2",me.setAutoScrolling=mt,me.setRecordHistory=gt,me.setScrollingSpeed=yt,me.setFitToSection=bt,me.setLockAnchors=function(e){X.lockAnchors=e},me.setMouseWheelScrolling=wt,me.setAllowScrolling=At,me.setKeyboardScrolling=kt,me.moveSectionUp=St,me.moveSectionDown=Ct,me.silentMoveTo=Et,me.moveTo=Tt,me.moveSlideRight=_t,me.moveSlideLeft=Pt,me.fitToSection=Ft,me.reBuild=Ot,me.setResponsive=Nt,me.getFullpageData=function(){return{options:X,internals:{container:Ie,canScroll:De,isScrollAllowed:We,getDestinationPosition:Gt,isTouch:Re,c:hn,getXmovement:Rn,removeAnimation:Mn,getTransforms:Kn,lazyLoad:an,addAnimation:Nn,performHorizontalMove:_n,landscapeScroll:Cn,silentLandscapeScroll:qn,keepSlidesPosition:Kt,silentScroll:Xn,styleSlides:It,scrollHandler:Dt,getEventsPage:Qn,getMSPointer:$n,isReallyTouch:Yt,usingExtension:Jn,toggleControlArrows:En,touchStartHandler:$t,touchMoveHandler:Vt}}},me.destroy=function(n){Ae(Ie,"destroy",n),mt(!1,"internal"),At(!0),xt(!1),kt(!1),ae(Ie,a),clearTimeout($e),clearTimeout(Ye),clearTimeout(Ve),clearTimeout(Qe),clearTimeout(qe),e.removeEventListener("scroll",Dt),e.removeEventListener("hashchange",gn),e.removeEventListener("resize",Pn),t.removeEventListener("keydown",bn),t.removeEventListener("keyup",wn),["click","touchstart"].forEach(function(e){t.removeEventListener(e,Mt)}),["mouseenter","touchstart","mouseleave","touchend"].forEach(function(e){t.removeEventListener(e,Bt,!0)}),Jn("dragAndMove")&&me.dragAndMove.destroy(),clearTimeout($e),clearTimeout(Ye),n&&(Xn(0),V("img[data-src], source[data-src], audio[data-src], iframe[data-src]",Ie).forEach(function(e){on(e,"src")}),V("img[data-srcset]").forEach(function(e){on(e,"srcset")}),Ce(V(A+", "+B+", "+U)),q(V(h),{height:"","background-color":"",padding:""}),q(V(C),{width:""}),q(Ie,{height:"",position:"","-ms-touch-action":"","touch-action":""}),q(ie,{overflow:"",height:""}),le(V("html"),l),le(ce,o),ce.className.split(/\s+/).forEach(function(e){0===e.indexOf(u)&&le(ce,e)}),V(h+", "+C).forEach(function(e){X.scrollOverflowHandler&&X.scrollOverflow&&X.scrollOverflowHandler.remove(e),le(e,N+" "+c+" "+f);var t=e.getAttribute("data-fp-styles");t&&e.setAttribute("style",e.getAttribute("data-fp-styles"))}),Zn(Ie),[g,O,_].forEach(function(e){V(e,Ie).forEach(function(e){de(e)})}),e.scrollTo(0,0),[p,S,P].forEach(function(e){le(V("."+e),e)}))},me.getActiveSection=function(){return new ur(V(v)[0])},me.getActiveSlide=function(){return tn(V(E,V(v)[0])[0])},me.landscapeScroll=Cn,me.test={top:"0px",translate3d:"translate3d(0px, 0px, 0px)",translate3dH:function(){for(var e=[],t=0;t0&&"none"!==n}()),X.scrollBar=X.scrollBar||X.hybrid,function(){if(!X.anchors.length){var e="[data-anchor]",t=V(X.sectionSelector.split(",").join(e+",")+e,Ie);t.length&&t.forEach(function(e){X.anchors.push(e.getAttribute("data-anchor").toString())})}if(!X.navigationTooltips.length){var e="[data-tooltip]",n=V(X.sectionSelector.split(",").join(e+",")+e,Ie);n.length&&n.forEach(function(e){X.navigationTooltips.push(e.getAttribute("data-tooltip").toString())})}}(),function(){q(Ie,{height:"100%",position:"relative"}),ae(Ie,n),ae(V("html"),l),Ue=Q(),le(Ie,a),ae(V(X.sectionSelector,Ie),p),ae(V(X.slideSelector,Ie),S),er("parallax","init");for(var e=V(h),o=0;o0?It(u,s,f):X.verticalCentered&&In(u)}var d,m,g,y;X.fixedElements&&X.css3&&V(X.fixedElements).forEach(function(e){ce.appendChild(e)}),X.navigation&&function(){var e=t.createElement("div");e.setAttribute("id",w);var n=t.createElement("ul");e.appendChild(n),ue(e,ce);var r=V(A)[0];ae(r,"fp-"+X.navigationPosition),X.showActiveTooltip&&ae(r,"fp-show-active");for(var o="",i=0;i'+zt(i,"Section")+"";var l=X.navigationTooltips[i];void 0!==l&&""!==l&&(o+='
      '+l+"
      "),o+=""}V("ul",r)[0].innerHTML=o,q(V(A),{"margin-top":"-"+V(A)[0].offsetHeight/2+"px"}),ae(V("a",V("li",V(A)[0])[te(V(v)[0],h)]),c)}(),V('iframe[src*="youtube.com/embed/"]',Ie).forEach(function(e){var t,n,r;n="enablejsapi=1",r=(t=e).getAttribute("src"),t.setAttribute("src",r+(/\?/.test(r)?"&":"?")+n)}),X.fadingEffect&&me.fadingEffect&&me.fadingEffect.apply(),X.scrollOverflow?He=X.scrollOverflowHandler.init(X):jt()}(),At(!0),xt(!0),mt(X.autoScrolling,"internal"),On(),Yn(),"complete"===t.readyState&&mn(),e.addEventListener("load",mn),e.addEventListener("scroll",Dt),e.addEventListener("hashchange",gn),e.addEventListener("blur",function(){je=!1,Ne=!1}),e.addEventListener("resize",Pn),t.addEventListener("keydown",bn),t.addEventListener("keyup",wn),["click","touchstart"].forEach(function(e){t.addEventListener(e,Mt)}),X.normalScrollElements&&(["mouseenter","touchstart"].forEach(function(e){Lt(e,!1)}),["mouseleave","touchend"].forEach(function(e){Lt(e,!0)})),Jn("dragAndMove")&&me.dragAndMove.turnOffTouch());var ot,it,at,lt=!1,ut=0,ct=0,st=0,ft=0,dt=(new Date).getTime(),pt=0,ht=0,vt=Ue;return me}function mt(e,t){e||Xn(0),rr("autoScrolling",e,t);var n=V(v)[0];if(X.autoScrolling&&!X.scrollBar)q(ie,{overflow:"hidden",height:"100%"}),gt(nt.recordHistory,"internal"),q(Ie,{"-ms-touch-action":"none","touch-action":"none"}),null!=n&&Xn(n.offsetTop);else if(q(ie,{overflow:"visible",height:"initial"}),gt(!1,"internal"),q(Ie,{"-ms-touch-action":"","touch-action":""}),Zn(Ie),null!=n){var r=nn(n.offsetTop);r.element.scrollTo(0,r.options)}Ae(Ie,"setAutoScrolling",e)}function gt(e,t){rr("recordHistory",e,t)}function yt(e,t){"internal"!==t&&X.fadingEffect&&me.fadingEffect&&me.fadingEffect.update(e),rr("scrollingSpeed",e,t)}function bt(e,t){rr("fitToSection",e,t)}function wt(n){n?(function(){var n,r="";e.addEventListener?n="addEventListener":(n="attachEvent",r="on");var o="onwheel"in t.createElement("div")?"wheel":void 0!==t.onmousewheel?"mousewheel":"DOMMouseScroll";"DOMMouseScroll"==o?t[n](r+"MozMousePixelScroll",qt,!1):t[n](r+o,qt,!1)}(),Ie.addEventListener("mousedown",An),Ie.addEventListener("mouseup",xn)):(t.addEventListener?(t.removeEventListener("mousewheel",qt,!1),t.removeEventListener("wheel",qt,!1),t.removeEventListener("MozMousePixelScroll",qt,!1)):t.detachEvent("onmousewheel",qt),Ie.removeEventListener("mousedown",An),Ie.removeEventListener("mouseup",xn))}function At(e,t){void 0!==t?(t=t.replace(/ /g,"").split(",")).forEach(function(t){Gn(e,t,"m")}):Gn(e,"all","m"),Ae(Ie,"setAllowScrolling",{value:e,directions:t})}function xt(e){e?(wt(!0),(Be||Re)&&(X.autoScrolling&&(ce.removeEventListener(Je.touchmove,Ht,{passive:!1}),ce.addEventListener(Je.touchmove,Ht,{passive:!1})),V(r).length>0&&(V(r)[0].removeEventListener(Je.touchstart,$t),V(r)[0].removeEventListener(Je.touchmove,Vt,{passive:!1}),V(r)[0].addEventListener(Je.touchstart,$t),V(r)[0].addEventListener(Je.touchmove,Vt,{passive:!1})))):(wt(!1),(Be||Re)&&(X.autoScrolling&&(ce.removeEventListener(Je.touchmove,Vt,{passive:!1}),ce.removeEventListener(Je.touchmove,Ht,{passive:!1})),V(r).length>0&&(V(r)[0].removeEventListener(Je.touchstart,$t),V(r)[0].removeEventListener(Je.touchmove,Vt,{passive:!1}))))}function kt(e,t){void 0!==t?(t=t.replace(/ /g,"").split(",")).forEach(function(t){Gn(e,t,"k")}):(Gn(e,"all","k"),X.keyboardScrolling=e)}function St(){var e=K(V(v)[0],h);e||!X.loopTop&&!X.continuousVertical||(e=ee(V(h))),null!=e&&Zt(e,null,!0)}function Ct(){var e=G(V(v)[0],h);e||!X.loopBottom&&!X.continuousVertical||(e=V(h)[0]),null!=e&&Zt(e,null,!1)}function Et(e,t){yt(0,"internal"),Tt(e,t),yt(nt.scrollingSpeed,"internal")}function Tt(e,t){var n=jn(e);void 0!==t?Dn(e,t):null!=n&&Zt(n)}function _t(e){Xt("right",e)}function Pt(e){Xt("left",e)}function Ot(t){if(!$(Ie,a)){ze=!0,Ue=Q();for(var n=V(h),r=0;r1&&Cn(i,V(E,i)[0])}X.scrollOverflow&&He.createScrollBarForAll();var u=te(V(v)[0],h);u&&!Jn("fadingEffect")&&Et(u+1),ze=!1,we(X.afterResize)&&t&&X.afterResize.call(Ie,e.innerWidth,e.innerHeight),we(X.afterReBuild)&&!t&&X.afterReBuild.call(Ie),Ae(Ie,"afterRebuild")}}function Nt(e){var t=$(ce,o);e?t||(mt(!1,"internal"),bt(!1,"internal"),re(V(A)),ae(ce,o),we(X.afterResponsive)&&X.afterResponsive.call(Ie,e),X.responsiveSlides&&me.responsiveSlides&&me.responsiveSlides.toSections(),Ae(Ie,"afterResponsive",e),X.scrollOverflow&&He.createScrollBarForAll()):t&&(mt(nt.autoScrolling,"internal"),bt(nt.autoScrolling,"internal"),oe(V(A)),le(ce,o),we(X.afterResponsive)&&X.afterResponsive.call(Ie,e),X.responsiveSlides&&me.responsiveSlides&&me.responsiveSlides.toSlides(),Ae(Ie,"afterResponsive",e))}function Mt(e){var t=e.target;t&&pe(t,A+" a")?function(e){be(e);var t=te(pe(this,A+" li"));Zt(V(h)[t])}.call(t,e):xe(t,k)?function(){Ae(Z(this),"click")}.call(t):xe(t,U)?function(){var e=pe(this,h);$(this,z)?We.m.left&&Pt(e):We.m.right&&_t(e)}.call(t,e):(xe(t,R)||null!=pe(t,R))&&function(e){be(e);var t=V(_,pe(this,h))[0],n=V(C,t)[te(pe(this,"li"))];Cn(t,n)}.call(t,e)}function Lt(e,n){t["fp_"+e]=n,t.addEventListener(e,Bt,!0)}function Bt(e){e.target!=t&&X.normalScrollElements.split(",").forEach(function(n){xe(e.target,n)&&xt(t["fp_"+e.type])})}function Rt(t){var n="fp_"+t+"Extension";rt[t]=X[t+"Key"],me[t]=void 0!==e[n]?new e[n]:null,me[t]&&me[t].c(t)}function It(e,n,r){var o=100*r,i=100/r,a=t.createElement("div");a.className=T,se(n,a);var l,u,s=t.createElement("div");s.className=P,se(n,s),q(V(O,e),{width:o+"%"}),r>1&&(X.controlArrows&&(l=e,u=[Se('
      '),Se('
      ')],he(V(_,l)[0],u),"#fff"!==X.controlArrowColor&&(q(V(W,l),{"border-color":"transparent transparent transparent "+X.controlArrowColor}),q(V(D,l),{"border-color":"transparent "+X.controlArrowColor+" transparent transparent"})),X.loopHorizontal||re(V(D,l))),X.slidesNavigation&&function(e,t){ue(Se('
        '),e);var n=V(B,e)[0];ae(n,"fp-"+X.slidesNavPosition);for(var r=0;r'+zt(r,"Slide")+""),V("ul",n)[0]);q(n,{"margin-left":"-"+n.innerWidth/2+"px"}),ae(V("a",V("li",n)[0]),c)}(e,r)),n.forEach(function(e){q(e,{width:i+"%"}),X.verticalCentered&&In(e)});var f=V(E,e)[0];null!=f&&(0!==te(V(v),h)||0===te(V(v),h)&&0!==te(f))?(qn(f,"internal"),ae(f,M)):ae(n[0],c)}function Ut(e){return X.offsetSections&&me.offsetSections?Math.round(me.offsetSections.getWindowHeight(e)):Q()}function zt(e,t){return X.navigationTooltips[e]||X.anchors[e]||t+" "+(e+1)}function jt(){var e,t=V(v)[0];ae(t,f),an(t),ln(t),X.scrollOverflow&&X.scrollOverflowHandler.afterLoad(),(!(e=jn(yn().section))||void 0!==e&&te(e)===te(Me))&&we(X.afterLoad)&&Jt("afterLoad",{activeSection:null,element:t,direction:null,anchorLink:t.getAttribute("data-anchor"),sectionIndex:te(t,h)}),we(X.afterRender)&&Jt("afterRender"),Ae(Ie,"afterRender")}function Dt(){var e;if(Ae(Ie,"onScroll"),(!X.autoScrolling||X.scrollBar||Jn("dragAndMove"))&&!nr()){var t=Jn("dragAndMove")?Math.abs(me.dragAndMove.getCurrentScroll()):ge(),n=0,r=t+Q()/2,o=(Jn("dragAndMove")?me.dragAndMove.getDocumentHeight():ce.offsetHeight-Q())===t,i=V(h);if(o)n=i.length-1;else if(t)for(var a=0;aMath.abs(ut-st)?!Le&&Math.abs(ct-ft)>e.innerWidth/100*X.touchSensitivity&&(ct>ft?We.m.right&&_t(n):We.m.left&&Pt(n)):X.autoScrolling&&De&&Math.abs(ut-st)>e.innerHeight/100*X.touchSensitivity&&(ut>st?Wt("down"):st>ut&&Wt("up"))}}function Yt(e){return void 0===e.pointerType||"mouse"!=e.pointerType}function $t(e){if(X.fitToSection&&(Ge=!1),Yt(e)){var t=Qn(e);ut=t.y,ct=t.x}}function Qt(e,t){for(var n=0,r=e.slice(Math.max(e.length-t,1)),o=0;o149&&Fe.shift(),Fe.push(Math.abs(o)),X.scrollBar&&be(t);var u=n-dt;return dt=n,u>200&&(Fe=[]),De&&!tr()&&Qt(Fe,10)>=Qt(Fe,70)&&l&&Wt(i<0?"down":"up"),!1}X.fitToSection&&(Ge=!1)}function Xt(e,t){var n=null==t?V(v)[0]:t,r=V(_,n)[0];if(!(null==r||tr()||Le||V(C,r).length<2)){var o=V(E,r)[0],i=null;if(null==(i="left"===e?K(o,C):G(o,C))){if(!X.loopHorizontal)return;var a=ye(o);i="left"===e?a[a.length-1]:a[0]}Le=!me.test.isTesting,Cn(r,i,e)}}function Kt(){for(var e=V(E),t=0;tpt,i=r-Ue+t,a=X.bigSectionsDestination;return t>Ue?(o||a)&&"bottom"!==a||(r=i):(o||ze&&null==J(e))&&(r=i),X.offsetSections&&me.offsetSections&&(r=me.offsetSections.getSectionPosition(o,r,e)),pt=r,r}function Zt(e,t,n){if(null!=e){var o,i,a={element:e,callback:t,isMovementUp:n,dtop:Gt(e),yMovement:Bn(e),anchorLink:e.getAttribute("data-anchor"),sectionIndex:te(e,h),activeSlide:V(E,e)[0],activeSection:V(v)[0],leavingSection:te(V(v),h)+1,localIsResizing:ze};if(!(a.activeSection==e&&!ze||X.scrollBar&&ge()===a.dtop&&!$(e,y))){if(null!=a.activeSlide&&(o=a.activeSlide.getAttribute("data-anchor"),i=te(a.activeSlide)),we(X.onLeave)&&!a.localIsResizing){var l=a.yMovement;if(void 0!==n&&(l=n?"up":"down"),a.direction=l,!1===Jt("onLeave",a))return}er("parallax","apply",a),X.autoScrolling&&X.continuousVertical&&void 0!==a.isMovementUp&&(!a.isMovementUp&&"up"==a.yMovement||a.isMovementUp&&"down"==a.yMovement)&&((s=a).isMovementUp?ve(V(v)[0],Te(s.activeSection,h)):he(V(v)[0],_e(s.activeSection,h).reverse()),Xn(V(v)[0].offsetTop),Kt(),s.wrapAroundElements=s.activeSection,s.dtop=s.element.offsetTop,s.yMovement=Bn(s.element),s.leavingSection=te(s.activeSection,h)+1,s.sectionIndex=te(s.element,h),Ae(V(r)[0],"onContinuousVertical",s),a=s),Jn("scrollOverflowReset")&&me.scrollOverflowReset.setPrevious(a.activeSection),a.localIsResizing||cn(a.activeSection),X.scrollOverflow&&X.scrollOverflowHandler.beforeLeave(),ae(e,c),le(ye(e),c),an(e),X.scrollOverflow&&X.scrollOverflowHandler.onLeave(),De=me.test.isTesting,Wn(i,o,a.anchorLink,a.sectionIndex),function(e){if(X.css3&&X.autoScrolling&&!X.scrollBar){var t="translate3d(0px, -"+Math.round(e.dtop)+"px, 0px)";zn(t,!0),X.scrollingSpeed?(clearTimeout(Ye),Ye=setTimeout(function(){rn(e)},X.scrollingSpeed)):rn(e)}else{var n=nn(e.dtop);me.test.top=-e.dtop+"px",ir(n.element,n.options,X.scrollingSpeed,function(){X.scrollBar?setTimeout(function(){rn(e)},30):rn(e)})}}(a),Ee=a.anchorLink,Ln(a.anchorLink,null!=(u=a).wrapAroundElements?u.isMovementUp?V(h).length-1:0:u.sectionIndex)}}var u,s}function Jt(e,t){var n,r,o,i,a=(r=e,o=t,(i=X.v2compatible?{afterRender:function(){return[Ie]},onLeave:function(){return[o.activeSection,o.leavingSection,o.sectionIndex+1,o.direction]},afterLoad:function(){return[o.element,o.anchorLink,o.sectionIndex+1]},afterSlideLoad:function(){return[o.destiny,o.anchorLink,o.sectionIndex+1,o.slideAnchor,o.slideIndex]},onSlideLeave:function(){return[o.prevSlide,o.anchorLink,o.sectionIndex+1,o.prevSlideIndex,o.direction,o.slideIndex]}}:{afterRender:function(){return{section:en(V(v)[0]),slide:tn(V(E,V(v)[0])[0])}},onLeave:function(){return{origin:en(o.activeSection),destination:en(o.element),direction:o.direction}},afterLoad:function(){return i.onLeave()},afterSlideLoad:function(){return{section:en(o.section),origin:tn(o.prevSlide),destination:tn(o.destiny),direction:o.direction}},onSlideLeave:function(){return i.afterSlideLoad()}})[r]());if(X.v2compatible){if(!1===X[e].apply(a[0],a.slice(1)))return!1}else if(Ae(Ie,e,a),!1===X[e].apply(a[Object.keys(a)[0]],(n=a,Object.keys(n).map(function(e){return n[e]}))))return!1;return!0}function en(e){return e?new ur(e):null}function tn(e){return e?new function(e){lr.call(this,e,C)}(e):null}function nn(t){var n={};return X.autoScrolling&&!X.scrollBar?(n.options=-t,n.element=V(r)[0]):(n.options=t,n.element=e),n}function rn(e){var t;null!=(t=e).wrapAroundElements&&(t.isMovementUp?ve(V(h)[0],t.wrapAroundElements):he(V(h)[V(h).length-1],t.wrapAroundElements),Xn(V(v)[0].offsetTop),Kt(),t.sectionIndex=te(t.element,h),t.leavingSection=te(t.activeSection,h)+1),we(X.afterLoad)&&!e.localIsResizing&&Jt("afterLoad",e),X.scrollOverflow&&X.scrollOverflowHandler.afterLoad(),er("parallax","afterLoad"),Jn("scrollOverflowReset")&&me.scrollOverflowReset.reset(),Jn("resetSliders")&&me.resetSliders.apply(e),e.localIsResizing||ln(e.element),ae(e.element,f),le(ye(e.element),f),De=!0,we(e.callback)&&e.callback()}function on(e,t){e.setAttribute(t,e.getAttribute("data-"+t)),e.removeAttribute("data-"+t)}function an(e){X.lazyLoading&&V("img[data-src], img[data-srcset], source[data-src], source[data-srcset], video[data-src], audio[data-src], iframe[data-src]",sn(e)).forEach(function(e){if(["src","srcset"].forEach(function(t){var n=e.getAttribute("data-"+t);null!=n&&n&&on(e,t)}),xe(e,"source")){var t=pe(e,"video, audio");t&&t.load()}})}function ln(e){var t=sn(e);V("video, audio",t).forEach(function(e){e.hasAttribute("data-autoplay")&&"function"==typeof e.play&&e.play()}),V('iframe[src*="youtube.com/embed/"]',t).forEach(function(e){e.hasAttribute("data-autoplay")&&un(e),e.onload=function(){e.hasAttribute("data-autoplay")&&un(e)}})}function un(e){e.contentWindow.postMessage('{"event":"command","func":"playVideo","args":""}',"*")}function cn(e){var t=sn(e);V("video, audio",t).forEach(function(e){e.hasAttribute("data-keepplaying")||"function"!=typeof e.pause||e.pause()}),V('iframe[src*="youtube.com/embed/"]',t).forEach(function(e){/youtube\.com\/embed\//.test(e.getAttribute("src"))&&!e.hasAttribute("data-keepplaying")&&e.contentWindow.postMessage('{"event":"command","func":"pauseVideo","args":""}',"*")})}function sn(e){var t=V(E,e);return t.length&&(e=t[0]),e}function fn(e){var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";function n(e){var n,r,o,i,a,l,u="",c=0;for(e=e.replace(/[^A-Za-z0-9+/=]/g,"");c>4,r=(15&i)<<4|(a=t.indexOf(e.charAt(c++)))>>2,o=(3&a)<<6|(l=t.indexOf(e.charAt(c++))),u+=String.fromCharCode(n),64!=a&&(u+=String.fromCharCode(r)),64!=l&&(u+=String.fromCharCode(o));return u=function(e){for(var t,n="",r=0,o=0,i=0;r191&&o<224?(i=e.charCodeAt(r+1),n+=String.fromCharCode((31&o)<<6|63&i),r+=2):(i=e.charCodeAt(r+1),t=e.charCodeAt(r+2),n+=String.fromCharCode((15&o)<<12|(63&i)<<6|63&t),r+=3);return n}(u)}function r(e){return e.slice(3).slice(0,-3)}return function(e){var t=e.split("_");if(t.length>1){var o=t[1];return e.replace(r(t[1]),"").split("_")[0]+"_"+n(o.slice(3).slice(0,-3))}return r(e)}(n(e))}function dn(e){e.forEach(function(e){e.removedNodes[0]&&e.removedNodes[0].isEqualNode(it)&&(clearTimeout(at),at=setTimeout(pn,900))})}function pn(){et=!1}function hn(n){it=t.createElement("div"),ot=fn("MTIzPGRpdj48YSBocmVmPSJodHRwOi8vYWx2YXJvdHJpZ28uY29tL2Z1bGxQYWdlL2V4dGVuc2lvbnMvIiBzdHlsZT0iY29sb3I6ICNmZmYgIWltcG9ydGFudDsgdGV4dC1kZWNvcmF0aW9uOm5vbmUgIWltcG9ydGFudDsiPlVubGljZW5zZWQgZnVsbFBhZ2UuanMgRXh0ZW5zaW9uPC9hPjwvZGl2PjEyMw=="),it.innerHTML=ot,it=it.firstChild,"MutationObserver"in e&&new MutationObserver(dn).observe(t.body,{childList:!0,subtree:!1}),Jn(n)&&me[n]&&(function(e){var n=function(){if(t.domain.length){for(var e=t.domain.replace(/^(www\.)/,"").split(".");e.length>2;)e.shift();return e.join(".").replace(/(^\.*)|(\.*$)/g,"")}return""}(),r=["MTM0bG9jYWxob3N0MjM0","MTM0MC4xMjM0","MTM0anNoZWxsLm5ldDIzNA==","UDdDQU5ZNlNN"],o=fn(r[0]),i=fn(r[1]),a=fn(r[2]),l=fn(r[3]),u=[o,i,a].indexOf(n)<0&&0!==n.length,c=void 0!==rt[e]&&rt[e].length;if(!c&&u)return!1;var s=c?fn(rt[e]):"",f=(s=s.split("_")).length>1&&s[1].indexOf(e,s[1].length-e.length)>-1;return!(s[0].indexOf(n,s[0].length-n.length)<0&&u&&l!=s[0])&&f||!u}(n)||(vn(),setInterval(vn,2e3)))}function vn(){it&&(et||(Math.random()<.5?Pe(ce,it):ue(it,ce),et=!0),it.setAttribute("style",fn("MTIzei1pbmRleDo5OTk5OTk5O3Bvc2l0aW9uOmZpeGVkO3RvcDoyMHB4O2JvdHRvbTphdXRvO2xlZnQ6MjBweDtyaWdodDphdXRvO2JhY2tncm91bmQ6cmVkO3BhZGRpbmc6N3B4IDE1cHg7Zm9udC1zaXplOjE0cHg7Zm9udC1mYW1pbHk6YXJpYWw7Y29sb3I6I2ZmZjtkaXNwbGF5OmlubGluZS1ibG9jazt0cmFuc2Zvcm06dHJhbnNsYXRlM2QoMCwwLDApO29wYWNpdHk6MTtoZWlnaHQ6YXV0bzt3aWR0aDphdXRvO3pvb206MTttYXJnaW46YXV0bztib3JkZXI6bm9uZTt2aXNpYmlsaXR5OnZpc2libGU7Y2xpcC1wYXRoOm5vbmU7MTIz").replace(/;/g,fn("MTIzICFpbXBvcnRhbnQ7MzQ1"))))}function mn(){var e=yn(),t=e.section,n=e.slide;t&&(X.animateAnchor?Dn(t,n):Et(t,n))}function gn(){if(!lt&&!X.lockAnchors){var e=yn(),t=e.section,n=e.slide,r=void 0===Ee,o=void 0===Ee&&void 0===n&&!Le;t&&t.length&&(t&&t!==Ee&&!r||o||!Le&&Oe!=n)&&Dn(t,n)}}function yn(){var t,n,r=e.location.hash;if(r.length){var o=r.replace("#","").split("/"),i=r.indexOf("#/")>-1;t=i?"/"+o[1]:decodeURIComponent(o[0]);var a=i?o[2]:o[1];a&&a.length&&(n=decodeURIComponent(a))}return{section:t,slide:n}}function bn(e){clearTimeout(Xe);var n=t.activeElement,r=e.keyCode;9===r?function(e){var n,r,o,i,a,l,u,c=e.shiftKey,s=t.activeElement,f=kn(sn(V(v)[0]));function d(e){return be(e),f[0]?f[0].focus():null}n=e,r=kn(t),o=r.indexOf(t.activeElement),i=n.shiftKey?o-1:o+1,a=r[i],l=tn(pe(a,C)),u=en(pe(a,h)),(l||u)&&(s?null==pe(s,v+","+v+" "+E)&&(s=d(e)):d(e),(!c&&s==f[f.length-1]||c&&s==f[0])&&be(e))}(e):xe(n,"textarea")||xe(n,"input")||xe(n,"select")||"true"===n.getAttribute("contentEditable")||""===n.getAttribute("contentEditable")||!X.keyboardScrolling||!X.autoScrolling||([40,38,32,33,34].indexOf(r)>-1&&be(e),Ne=e.ctrlKey,Xe=setTimeout(function(){!function(e){var t=e.shiftKey;if(De||!([37,39].indexOf(e.keyCode)<0))switch(e.keyCode){case 38:case 33:We.k.up&&St();break;case 32:if(t&&We.k.up){St();break}case 40:case 34:We.k.down&&Ct();break;case 36:We.k.up&&Tt(1);break;case 35:We.k.down&&Tt(V(h).length);break;case 37:We.k.left&&Pt();break;case 39:We.k.right&&_t()}}(e)},150))}function wn(e){je&&(Ne=e.ctrlKey)}function An(e){2==e.which&&(ht=e.pageY,Ie.addEventListener("mousemove",Sn))}function xn(e){2==e.which&&Ie.removeEventListener("mousemove",Sn)}function kn(e){return[].slice.call(V(tt,e)).filter(function(e){return"-1"!==e.getAttribute("tabindex")&&null!==e.offsetParent})}function Sn(e){De&&(e.pageYht&&We.m.down&&Ct()),ht=e.pageY}function Cn(e,t,n){var r=pe(e,h),o={slides:e,destiny:t,direction:n,destinyPos:{left:t.offsetLeft},slideIndex:te(t),section:r,sectionIndex:te(r,h),anchorLink:r.getAttribute("data-anchor"),slidesNav:V(B,r)[0],slideAnchor:Vn(t),prevSlide:V(E,r)[0],prevSlideIndex:te(V(E,r)[0]),localIsResizing:ze};o.xMovement=Rn(o.prevSlideIndex,o.slideIndex),o.localIsResizing||(De=!1),er("parallax","applyHorizontal",o),X.onSlideLeave&&!o.localIsResizing&&"none"!==o.xMovement&&we(X.onSlideLeave)&&!1===Jt("onSlideLeave",o)?Le=!1:(ae(t,c),le(ye(t),c),o.localIsResizing||(cn(o.prevSlide),an(t)),En(o),$(r,c)&&!o.localIsResizing&&Wn(o.slideIndex,o.slideAnchor,o.anchorLink,o.sectionIndex),me.continuousHorizontal&&me.continuousHorizontal.apply(o),nr()?Tn(o):_n(e,o,!0),X.interlockedSlides&&me.interlockedSlides&&(Jn("continuousHorizontal")&&void 0!==n&&n!==o.xMovement||me.interlockedSlides.apply(o)))}function En(e){!X.loopHorizontal&&X.controlArrows&&(ke(V(D,e.section),0!==e.slideIndex),ke(V(W,e.section),null!=J(e.destiny)))}function Tn(e){var t,n;me.continuousHorizontal&&me.continuousHorizontal.afterSlideLoads(e),t=e.slidesNav,n=e.slideIndex,X.slidesNavigation&&null!=t&&(le(V(s,t),c),ae(V("a",V("li",t)[n]),c)),e.localIsResizing||(er("parallax","afterSlideLoads"),we(X.afterSlideLoad)&&Jt("afterSlideLoad",e),De=!0,ln(e.destiny)),Le=!1,Jn("interlockedSlides")&&me.interlockedSlides.apply(e)}function _n(e,t,n){var r=t.destinyPos;if(X.css3){var o="translate3d(-"+Math.round(r.left)+"px, 0px, 0px)";me.test.translate3dH[t.sectionIndex]=o,q(Nn(V(O,e)),Kn(o)),$e=setTimeout(function(){n&&Tn(t)},X.scrollingSpeed)}else me.test.left[t.sectionIndex]=Math.round(r.left),ir(e,Math.round(r.left),X.scrollingSpeed,function(){n&&Tn(t)})}function Pn(){if(Ae(Ie,"onResize"),On(),Be){var e=t.activeElement;if(!xe(e,"textarea")&&!xe(e,"input")&&!xe(e,"select")){var n=Q();Math.abs(n-vt)>20*Math.max(vt,n)/100&&(Ot(!0),vt=n)}}else clearTimeout(Ve),Ve=setTimeout(function(){Ot(!0)},350)}function On(){var t=X.responsive||X.responsiveWidth,n=X.responsiveHeight,r=t&&e.innerWidthn?"up":"down"}function Rn(e,t){return e==t?"none":e>t?"left":"right"}function In(e){if(!$(e,N)){var n=t.createElement("div");n.className=m,n.style.height=Un(e)+"px",ae(e,N),fe(e,n)}}function Un(e){var t=Ut(e);if(X.paddingTop||X.paddingBottom){var n=e;$(n,p)||(n=pe(e,h)),t-=parseInt(getComputedStyle(n)["padding-top"])+parseInt(getComputedStyle(n)["padding-bottom"])}return t}function zn(e,t){t?Nn(Ie):Mn(Ie),clearTimeout(Ke),q(Ie,Kn(e)),me.test.translate3d=e,Ke=setTimeout(function(){le(Ie,i)},10)}function jn(e){var t=V(h+'[data-anchor="'+e+'"]',Ie)[0];if(!t){var n=void 0!==e?e-1:0;t=V(h)[n]}return t}function Dn(e,t){var n=jn(e);if(null!=n){var r,o,i,a=(null==(i=V(C+'[data-anchor="'+(r=t)+'"]',o=n)[0])&&(r=void 0!==r?r:0,i=V(C,o)[r]),i);Vn(n)===Ee||$(n,c)?Fn(a):Zt(n,function(){Fn(a)})}}function Fn(e){null!=e&&Cn(pe(e,_),e)}function Wn(e,t,n,r){var o="";X.anchors.length&&!X.lockAnchors&&(e?(null!=n&&(o=n),null==t&&(t=e),Oe=t,Hn(o+"/"+t)):null!=e?(Oe=t,Hn(n)):Hn(n)),Yn()}function Hn(t){if(X.recordHistory)location.hash=t;else if(Be||Re)e.history.replaceState(void 0,void 0,"#"+t);else{var n=e.location.href.split("#")[0];e.location.replace(n+"#"+t)}}function Vn(e){if(!e)return null;var t=e.getAttribute("data-anchor"),n=te(e);return null==t&&(t=n),t}function Yn(){var e=V(v)[0],t=V(E,e)[0],n=Vn(e),r=Vn(t),o=String(n);t&&(o=o+"-"+r),o=o.replace("/","-").replace("#","");var i=new RegExp("\\b\\s?"+u+"-[^\\s]+\\b","g");ce.className=ce.className.replace(i,""),ae(ce,u+"-"+o)}function $n(){return e.PointerEvent?{down:"pointerdown",move:"pointermove"}:{down:"MSPointerDown",move:"MSPointerMove"}}function Qn(e){var t=[];return t.y=void 0!==e.pageY&&(e.pageY||e.pageX)?e.pageY:e.touches[0].pageY,t.x=void 0!==e.pageX&&(e.pageY||e.pageX)?e.pageX:e.touches[0].pageX,Re&&Yt(e)&&X.scrollBar&&void 0!==e.touches&&(t.y=e.touches[0].pageY,t.x=e.touches[0].pageX),t}function qn(e,t){yt(0,"internal"),void 0!==t&&(ze=!0),Cn(pe(e,_),e),void 0!==t&&(ze=!1),yt(nt.scrollingSpeed,"internal")}function Xn(e){var t=Math.round(e);if(X.css3&&X.autoScrolling&&!X.scrollBar)zn("translate3d(0px, -"+t+"px, 0px)",!1);else if(X.autoScrolling&&!X.scrollBar)q(Ie,{top:-t+"px"}),me.test.top=-t+"px";else{var n=nn(t);ar(n.element,n.options)}}function Kn(e){return{"-webkit-transform":e,"-moz-transform":e,"-ms-transform":e,transform:e}}function Gn(e,t,n){"all"!==t?We[n][t]=e:Object.keys(We[n]).forEach(function(t){We[n][t]=e})}function Zn(e){return q(e,{"-webkit-transition":"none",transition:"none"})}function Jn(e){return null!==X[e]&&"[object Array]"===Object.prototype.toString.call(X[e])?X[e].length&&me[e]:X[e]&&me[e]}function er(e,t,n){if(Jn(e))return me[e][t](n)}function tr(){return Jn("dragAndMove")&&me.dragAndMove.isAnimating}function nr(){return Jn("dragAndMove")&&me.dragAndMove.isGrabbing}function rr(e,t,n){X[e]=t,"internal"!==n&&(nt[e]=t)}function or(){ne||(H("error","Fullpage.js version 3 has changed its license to GPLv3 and it requires a `licenseKey` option. Read about it here:"),H("error","https://github.com/alvarotrigo/fullPage.js#options.")),$(V("html"),l)?H("error","Fullpage.js can only be initialized once and you are doing it multiple times!"):(X.continuousVertical&&(X.loopTop||X.loopBottom)&&(X.continuousVertical=!1,H("warn","Option `loopTop/loopBottom` is mutually exclusive with `continuousVertical`; `continuousVertical` disabled")),!X.scrollOverflow||!X.scrollBar&&X.autoScrolling||H("warn","Options scrollBar:true and autoScrolling:false are mutually exclusive with scrollOverflow:true. Sections with scrollOverflow might not work well in Firefox"),!X.continuousVertical||!X.scrollBar&&X.autoScrolling||(X.continuousVertical=!1,H("warn","Scroll bars (`scrollBar:true` or `autoScrolling:false`) are mutually exclusive with `continuousVertical`; `continuousVertical` disabled")),X.scrollOverflow&&null==X.scrollOverflowHandler&&(X.scrollOverflow=!1,H("error","The option `scrollOverflow:true` requires the file `scrolloverflow.min.js`. Please include it before fullPage.js.")),X.anchors.forEach(function(e){var t=[].slice.call(V("[name]")).filter(function(t){return t.getAttribute("name")&&t.getAttribute("name").toLowerCase()==e.toLowerCase()}),n=[].slice.call(V("[id]")).filter(function(t){return t.getAttribute("id")&&t.getAttribute("id").toLowerCase()==e.toLowerCase()});(n.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)."),n.length&&H("error",'"'+e+'" is is being used by another element `id` property'),t.length&&H("error",'"'+e+'" is is being used by another element `name` property'))}))}function ir(t,n,r,o){var i,a=(i=t).self!=e&&$(i,T)?i.scrollLeft:!X.autoScrolling||X.scrollBar?ge():i.offsetTop,l=n-a,u=0;Ge=!0;var c=function(){if(Ge){var i=n;u+=20,r&&(i=e.fp_easings[X.easing](u,a,l,r)),ar(t,i),u_.length&&_.push(e)}function N(e,t,n){return null==e?0:function e(t,n,r,o){var l=typeof t;"undefined"!==l&&"boolean"!==l||(t=null);var u=!1;if(null===t)u=!0;else switch(l){case"string":case"number":u=!0;break;case"object":switch(t.$$typeof){case i:case a:u=!0}}if(u)return r(o,t,""===n?"."+M(t,0):n),1;if(u=0,n=""===n?".":n+":",Array.isArray(t))for(var c=0;cthis.eventPool.length&&this.eventPool.push(e)}function pe(e){e.eventPool=[],e.getPooled=fe,e.release=de}o(se.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=ue)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=ue)},persist:function(){this.isPersistent=ue},isPersistent:ce,destructor:function(){var e,t=this.constructor.Interface;for(e in t)this[e]=null;this.nativeEvent=this._targetInst=this.dispatchConfig=null,this.isPropagationStopped=this.isDefaultPrevented=ce,this._dispatchInstances=this._dispatchListeners=null}}),se.Interface={type:null,target:null,currentTarget:function(){return null},eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null},se.extend=function(e){function t(){}function n(){return r.apply(this,arguments)}var r=this;t.prototype=r.prototype;var i=new t;return o(i,n.prototype),n.prototype=i,n.prototype.constructor=n,n.Interface=o({},r.Interface,e),n.extend=r.extend,pe(n),n},pe(se);var he=se.extend({data:null}),ve=se.extend({data:null}),me=[9,13,27,32],ge=Q&&"CompositionEvent"in window,ye=null;Q&&"documentMode"in document&&(ye=document.documentMode);var be=Q&&"TextEvent"in window&&!ye,we=Q&&(!ge||ye&&8=ye),Ae=String.fromCharCode(32),xe={beforeInput:{phasedRegistrationNames:{bubbled:"onBeforeInput",captured:"onBeforeInputCapture"},dependencies:["compositionend","keypress","textInput","paste"]},compositionEnd:{phasedRegistrationNames:{bubbled:"onCompositionEnd",captured:"onCompositionEndCapture"},dependencies:"blur compositionend keydown keypress keyup mousedown".split(" ")},compositionStart:{phasedRegistrationNames:{bubbled:"onCompositionStart",captured:"onCompositionStartCapture"},dependencies:"blur compositionstart keydown keypress keyup mousedown".split(" ")},compositionUpdate:{phasedRegistrationNames:{bubbled:"onCompositionUpdate",captured:"onCompositionUpdateCapture"},dependencies:"blur compositionupdate keydown keypress keyup mousedown".split(" ")}},ke=!1;function Se(e,t){switch(e){case"keyup":return-1!==me.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"blur":return!0;default:return!1}}function Ce(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var Ee=!1;var Te={eventTypes:xe,extractEvents:function(e,t,n,r){var o=void 0,i=void 0;if(ge)e:{switch(e){case"compositionstart":o=xe.compositionStart;break e;case"compositionend":o=xe.compositionEnd;break e;case"compositionupdate":o=xe.compositionUpdate;break e}o=void 0}else Ee?Se(e,n)&&(o=xe.compositionEnd):"keydown"===e&&229===n.keyCode&&(o=xe.compositionStart);return o?(we&&"ko"!==n.locale&&(Ee||o!==xe.compositionStart?o===xe.compositionEnd&&Ee&&(i=le()):(ie="value"in(oe=r)?oe.value:oe.textContent,Ee=!0)),o=he.getPooled(o,t,n,r),i?o.data=i:null!==(i=Ce(n))&&(o.data=i),$(o),i=o):i=null,(e=be?function(e,t){switch(e){case"compositionend":return Ce(t);case"keypress":return 32!==t.which?null:(ke=!0,Ae);case"textInput":return(e=t.data)===Ae&&ke?null:e;default:return null}}(e,n):function(e,t){if(Ee)return"compositionend"===e||!ge&&Se(e,t)?(e=le(),ae=ie=oe=null,Ee=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1