/home/vianto5/tcorporation.com/js
Edit: /home/vianto5/tcorporation.com/js/jquery.fullpage-min.js (29730B)
/*!
* fullPage 2.9.2
* https://github.com/alvarotrigo/fullPage.js
* @license MIT licensed
*
* Copyright (C) 2015 alvarotrigo.com - A project by Alvaro Trigo
*/
!function(e,n){"use strict";"function"==typeof define&&define.amd?define(["jquery"],function($){return n($,e,e.document,e.Math)}):"object"==typeof exports&&exports?module.exports=n(require("jquery"),e,e.document,e.Math):n(jQuery,e,e.document,e.Math)}("undefined"!=typeof window?window:this,function($,e,n,o,t){"use strict";var i="fullpage-wrapper",a="."+i,r="fp-scrollable",l="."+r,s="fp-responsive",c="fp-notransition",d="fp-destroyed",f="fp-enabled",u="fp-viewing",h="active",v="."+h,p="fp-completely",g="."+p,m=".section",w="fp-section",S="."+w,b=S+v,x=S+":first",y=S+":last",C="fp-tableCell",T="."+C,k=".fp-auto-height",I=".fp-normal-scroll",L="fp-nav",E="#"+L,A="fp-tooltip",M="."+A,O=".slide",H="fp-slide",R="."+H,B=R+v,z="fp-slides",D="."+z,P="fp-slidesContainer",q="."+P,F="fp-table",V="fp-slidesNav",W="."+V,Y=W+" a",j="fp-controlArrow",N="."+j,U="fp-prev",X="."+U,_=j+" "+U,K=N+X,Q="fp-next",G=".fp-next",J=j+" fp-next",Z=N+".fp-next",ee=$(e),ne=$(n),oe={scrollbars:!0,mouseWheel:!0,hideScrollbars:!1,fadeScrollbars:!1,disableMouse:!0,interactiveScrollbars:!0};$.fn.fullpage=function(r){function l(e,n){e||_n(0),Zn("autoScrolling",e,n);var o=$(b);r.autoScrolling&&!r.scrollBar?(no.css({overflow:"hidden",height:"100%"}),m(To.recordHistory,"internal"),lo.css({"-ms-touch-action":"none","touch-action":"none"}),o.length&&_n(o.position().top)):(no.css({overflow:"visible",height:"initial"}),m(!1,"internal"),lo.css({"-ms-touch-action":"","touch-action":""}),o.length&&no.scrollTop(o.position().top))}function m(e,n){Zn("recordHistory",e,n)}function k(e,n){Zn("scrollingSpeed",e,n)}function I(e,n){Zn("fitToSection",e,n)}function O(e){r.lockAnchors=e}function j(e){e?(Fn(),Vn()):(qn(),Wn())}function X(e,n){void 0!==n?(n=n.replace(/ /g,"").split(","),$.each(n,function(n,o){Qn(e,o,"m")})):e?(j(!0),Yn()):(j(!1),jn())}function Q(e,n){void 0!==n?(n=n.replace(/ /g,"").split(","),$.each(n,function(n,o){Qn(e,o,"k")})):r.keyboardScrolling=e}function G(){var e=$(b).prev(S);e.length||!r.loopTop&&!r.continuousVertical||(e=$(S).last()),e.length&&Ve(e,null,!0)}function ie(){var e=$(b).next(S);e.length||!r.loopBottom&&!r.continuousVertical||(e=$(S).first()),e.length&&Ve(e,null,!1)}function ae(e,n){re(e,n),k(To.scrollingSpeed,"internal")}function re(e,n){var o=En(e);void 0!==n?Mn(e,n):o.length>0&&Ve(o)}function le(e){Pe("right",e)}function se(e){Pe("left",e)}function ce(e){if(!lo.hasClass(d)){co=!0,so=ee.height(),$(S).each(function(){var e=$(this).find(D),n=$(this).find(R);r.verticalCentered&&$(this).find(T).css("height",In($(this))+"px"),$(this).css("height",so+"px"),r.scrollOverflow&&(n.length?n.each(function(){Tn($(this))}):Tn($(this))),n.length>1&&fn(e,e.find(B))});var n=$(b),o=n.index(S);o&&ae(o+1),co=!1,$.isFunction(r.afterResize)&&e&&r.afterResize.call(lo),$.isFunction(r.afterReBuild)&&!e&&r.afterReBuild.call(lo)}}function de(e){var n=oo.hasClass(s);e?n||(l(!1,"internal"),I(!1,"internal"),oo.addClass(s),$.isFunction(r.afterResponsive)&&r.afterResponsive.call(lo,e)):n&&(l(To.autoScrolling,"internal"),I(To.autoScrolling,"internal"),$(E).show(),oo.removeClass(s),$.isFunction(r.afterResponsive)&&r.afterResponsive.call(lo,e))}function fe(){r.css3&&(r.css3=Pn()),r.scrollBar=r.scrollBar||r.hybrid,he(),ve(),X(!0),l(r.autoScrolling,"internal");var e=$(b).find(B);e.length&&(0!==$(b).index(S)||0===$(b).index(S)&&0!==e.index())&&Xn(e),gn(),Dn(),"complete"===n.readyState&&Je(),ee.on("load",Je)}function ue(){ee.on("scroll",Ie).on("hashchange",Ze).blur(rn).resize(pn),ne.keydown($e).keyup(nn).on("click touchstart",E+" a",ln).on("click touchstart",Y,sn).on("click",M,en),$(S).on("click touchstart",N,an),r.normalScrollElements&&(ne.on("mouseenter",r.normalScrollElements,function(){j(!1)}),ne.on("mouseleave",r.normalScrollElements,function(){j(!0)}))}function he(){var e=lo.find(r.sectionSelector);r.anchors.length||(r.anchors=e.filter("[data-anchor]").map(function(){return $(this).data("anchor").toString()}).get()),r.navigationTooltips.length||(r.navigationTooltips=e.filter("[data-tooltip]").map(function(){return $(this).data("tooltip").toString()}).get())}function ve(){lo.css({height:"100%",position:"relative"}),lo.addClass(i),$("html").addClass(f),so=ee.height(),lo.removeClass(d),we(),$(S).each(function(e){var n=$(this),o=n.find(R),t=o.length;ge(n,e),me(n,e),t>0?pe(n,o,t):r.verticalCentered&&kn(n)}),r.fixedElements&&r.css3&&$(r.fixedElements).appendTo(oo),r.navigation&&be(),ye(),r.scrollOverflow?("complete"===n.readyState&&xe(),ee.on("load",xe)):ke()}function pe(e,n,o){var t=100*o,i=100/o;n.wrapAll('
'),n.parent().wrap('
'),e.find(q).css("width",t+"%"),o>1&&(r.controlArrows&&Se(e),r.slidesNavigation&&Hn(e,o)),n.each(function(e){$(this).css("width",i+"%"),r.verticalCentered&&kn($(this))});var a=e.find(B);a.length&&(0!==$(b).index(S)||0===$(b).index(S)&&0!==a.index())?Xn(a):n.eq(0).addClass(h)}function ge(e,n){n||0!==$(b).length||e.addClass(h),e.css("height",so+"px"),r.paddingTop&&e.css("padding-top",r.paddingTop),r.paddingBottom&&e.css("padding-bottom",r.paddingBottom),void 0!==r.sectionsColor[n]&&e.css("background-color",r.sectionsColor[n]),void 0!==r.anchors[n]&&e.attr("data-anchor",r.anchors[n])}function me(e,n){void 0!==r.anchors[n]&&e.hasClass(h)&&xn(r.anchors[n],n),r.menu&&r.css3&&$(r.menu).closest(a).length&&$(r.menu).appendTo(oo)}function we(){lo.find(r.sectionSelector).addClass(w),lo.find(r.slideSelector).addClass(H)}function Se(e){e.find(D).after('
'),"#fff"!=r.controlArrowColor&&(e.find(Z).css("border-color","transparent transparent transparent "+r.controlArrowColor),e.find(K).css("border-color","transparent "+r.controlArrowColor+" transparent transparent")),r.loopHorizontal||e.find(K).hide()}function be(){oo.append('
');var e=$(E);e.addClass(function(){return r.showActiveTooltip?"fp-show-active "+r.navigationPosition:r.navigationPosition});for(var n=0;n<$(S).length;n++){var o="";r.anchors.length&&(o=r.anchors[n]);var t='
',i=r.navigationTooltips[n];void 0!==i&&""!==i&&(t+=''+i+"
"),t+="",e.find("ul").append(t)}$(E).css("margin-top","-"+$(E).height()/2+"px"),$(E).find("li").eq($(b).index(S)).find("a").addClass(h)}function xe(){$(S).each(function(){var e=$(this).find(R);e.length?e.each(function(){Tn($(this))}):Tn($(this))}),ke()}function ye(){lo.find('iframe[src*="youtube.com/embed/"]').each(function(){Ce($(this),"enablejsapi=1")})}function Ce(e,n){var o=e.attr("src");e.attr("src",o+Te(o)+n)}function Te(e){return/\?/.test(e)?"&":"?"}function ke(){var e=$(b);e.addClass(p),r.scrollOverflowHandler.afterRender&&r.scrollOverflowHandler.afterRender(e),Xe(e),_e(e),r.scrollOverflowHandler.afterLoad(),$.isFunction(r.afterLoad)&&r.afterLoad.call(e,e.data("anchor"),e.index(S)+1),$.isFunction(r.afterRender)&&r.afterRender.call(lo)}function Ie(){var e;if(!r.autoScrolling||r.scrollBar){var o=ee.scrollTop(),t=Ee(o),i=0,a=o+ee.height()/2,l=oo.height()-ee.height()===o,s=n.querySelectorAll(S);if(l)i=s.length-1;else if(o)for(var c=0;c
=ee.scrollTop()+ee.height():n<=ee.scrollTop()}function Ee(e){var n=e>Io?"down":"up";return Io=e,Ho=e,n}function Ae(e,n){if(mo.m[e]){var o="down"===e?"bottom":"top",t="down"===e?ie:G;if(n.length>0){if(!r.scrollOverflowHandler.isScrolled(o,n))return!0;t()}else t()}}function Me(e){var n=e.originalEvent;!He(e.target)&&r.autoScrolling&&Re(n)&&e.preventDefault()}function Oe(e){var n=e.originalEvent,t=$(n.target).closest(S);if(!He(e.target)&&Re(n)){r.autoScrolling&&e.preventDefault();var i=r.scrollOverflowHandler.scrollable(t),a=Un(n);Ao=a.y,Mo=a.x,t.find(D).length&&o.abs(Eo-Mo)>o.abs(Lo-Ao)?!io&&o.abs(Eo-Mo)>ee.outerWidth()/100*r.touchSensitivity&&(Eo>Mo?mo.m.right&&le(t):mo.m.left&&se(t)):r.autoScrolling&&vo&&o.abs(Lo-Ao)>ee.height()/100*r.touchSensitivity&&(Lo>Ao?Ae("down",i):Ao>Lo&&Ae("up",i))}}function He(e,n){n=n||0;var o=$(e).parent();return!!(n149&&po.shift(),po.push(o.abs(a)),r.scrollBar&&(n.preventDefault?n.preventDefault():n.returnValue=!1);var d=$(b),f=r.scrollOverflowHandler.scrollable(d),u=t-Oo;return Oo=t,u>200&&(po=[]),vo&&ze(po,10)>=ze(po,70)&&c&&(l<0?Ae("down",f):Ae("up",f)),!1}r.fitToSection&&no.stop()}function Pe(e,n){var o=void 0===n?$(b):n,t=o.find(D),i=t.find(R).length;if(!(!t.length||io||i<2)){var a=t.find(B),l=null;if(l="left"===e?a.prev(R):a.next(R),!l.length){if(!r.loopHorizontal)return;l="left"===e?a.siblings(":last"):a.siblings(":first")}io=!0,fn(t,l,e)}}function qe(){$(B).each(function(){Xn($(this),"internal")})}function Fe(e){var n=e.position(),o=n.top,t=n.top>Ho,i=o-so+e.outerHeight(),a=r.bigSectionsDestination;return e.outerHeight()>so&&r.autoScrolling?(t||a)&&"bottom"!==a||(o=i):t&&r.autoScrolling&&(o=i),Ho=o,o}function Ve(e,n,o){if(void 0!==e){var t=Fe(e),i,a,l={element:e,callback:n,isMovementUp:o,dtop:t,yMovement:yn(e),anchorLink:e.data("anchor"),sectionIndex:e.index(S),activeSlide:e.find(B),activeSection:$(b),leavingSection:$(b).index(S)+1,localIsResizing:co};l.activeSection.is(e)&&!co||r.scrollBar&&ee.scrollTop()===l.dtop&&!e.hasClass("fp-auto-height")||(l.activeSlide.length&&(i=l.activeSlide.data("anchor"),a=l.activeSlide.index()),r.autoScrolling&&r.continuousVertical&&void 0!==l.isMovementUp&&(!l.isMovementUp&&"up"==l.yMovement||l.isMovementUp&&"down"==l.yMovement)&&(l=je(l)),$.isFunction(r.onLeave)&&!l.localIsResizing&&!1===r.onLeave.call(l.activeSection,l.leavingSection,l.sectionIndex+1,l.yMovement)||(Qe(l.activeSection),r.scrollOverflowHandler.beforeLeave(),e.addClass(h).siblings().removeClass(h),Xe(e),r.scrollOverflowHandler.onLeave(),vo=!1,Rn(a,i,l.anchorLink,l.sectionIndex),We(l),uo=l.anchorLink,xn(l.anchorLink,l.sectionIndex)))}}function We(e){if(r.css3&&r.autoScrolling&&!r.scrollBar)Ln("translate3d(0px, -"+o.round(e.dtop)+"px, 0px)",!0),r.scrollingSpeed?(clearTimeout(So),So=setTimeout(function(){Ue(e)},r.scrollingSpeed)):Ue(e);else{var n=Ye(e);$(n.element).animate(n.options,r.scrollingSpeed,r.easing).promise().done(function(){r.scrollBar?setTimeout(function(){Ue(e)},30):Ue(e)})}}function Ye(e){var n={};return r.autoScrolling&&!r.scrollBar?(n.options={top:-e.dtop},n.element=a):(n.options={scrollTop:e.dtop},n.element="html, body"),n}function je(e){return e.isMovementUp?$(b).before(e.activeSection.nextAll(S)):$(b).after(e.activeSection.prevAll(S).get().reverse()),_n($(b).position().top),qe(),e.wrapAroundElements=e.activeSection,e.dtop=e.element.position().top,e.yMovement=yn(e.element),e}function Ne(e){e.wrapAroundElements&&e.wrapAroundElements.length&&(e.isMovementUp?$(x).before(e.wrapAroundElements):$(y).after(e.wrapAroundElements),_n($(b).position().top),qe())}function Ue(e){Ne(e),$.isFunction(r.afterLoad)&&!e.localIsResizing&&r.afterLoad.call(e.element,e.anchorLink,e.sectionIndex+1),r.scrollOverflowHandler.afterLoad(),e.localIsResizing||_e(e.element),$("#menu , #fullpage , .holdscroll , #fp-nav , #menu-access").removeClass("menu-opened"),$("#menu-access .icon_menu").removeClass("display-none"),$("#menu-access .icon_close").addClass("display-none"),e.element.addClass(p).siblings().removeClass(p),vo=!0,$.isFunction(e.callback)&&e.callback.call(this)}function Xe(e){if(r.lazyLoading){var n=Ge(e),o;n.find("img[data-src], source[data-src], audio[data-src], iframe[data-src]").each(function(){o=$(this),o.attr("src",o.data("src")),o.removeAttr("data-src"),o.is("source")&&o.closest("video").get(0).load()})}}function _e(e){var n=Ge(e);n.find("video, audio").each(function(){var e=$(this).get(0);e.hasAttribute("data-autoplay")&&"function"==typeof e.play&&e.play()}),n.find('iframe[src*="youtube.com/embed/"]').each(function(){var e=$(this).get(0);e.hasAttribute("data-autoplay")&&Ke(e),e.onload=function(){e.hasAttribute("data-autoplay")&&Ke(e)}})}function Ke(e){e.contentWindow.postMessage('{"event":"command","func":"playVideo","args":""}',"*")}function Qe(e){var n=Ge(e);n.find("video, audio").each(function(){var e=$(this).get(0);e.hasAttribute("data-keepplaying")||"function"!=typeof e.pause||e.pause()}),n.find('iframe[src*="youtube.com/embed/"]').each(function(){var e=$(this).get(0);/youtube\.com\/embed\//.test($(this).attr("src"))&&!e.hasAttribute("data-keepplaying")&&$(this).get(0).contentWindow.postMessage('{"event":"command","func":"pauseVideo","args":""}',"*")})}function Ge(e){var n=e.find(B);return n.length&&(e=$(n)),e}function Je(){var n=e.location.hash.replace("#","").split("/"),o=decodeURIComponent(n[0]),t=decodeURIComponent(n[1]);o&&(r.animateAnchor?Mn(o,t):ae(o,t))}function Ze(){if(!ko&&!r.lockAnchors){var n=e.location.hash.replace("#","").split("/"),o=decodeURIComponent(n[0]),t=decodeURIComponent(n[1]),i=void 0===uo,a=void 0===uo&&void 0===t&&!io;o.length&&(o&&o!==uo&&!i||a||!io&&ho!=t)&&Mn(o,t)}}function $e(e){clearTimeout(Co);var n=$(":focus");if(!n.is("textarea")&&!n.is("input")&&!n.is("select")&&"true"!==n.attr("contentEditable")&&""!==n.attr("contentEditable")&&r.keyboardScrolling&&r.autoScrolling){var o=e.which,t=[40,38,32,33,34];$.inArray(o,t)>-1&&e.preventDefault(),go=e.ctrlKey,Co=setTimeout(function(){cn(e)},150)}}function en(){$(this).prev().trigger("click")}function nn(e){fo&&(go=e.ctrlKey)}function on(e){2==e.which&&(Ro=e.pageY,lo.on("mousemove",dn))}function tn(e){2==e.which&&lo.off("mousemove")}function an(){var e=$(this).closest(S);$(this).hasClass(U)?mo.m.left&&se(e):mo.m.right&&le(e)}function rn(){fo=!1,go=!1}function ln(e){e.preventDefault();var n=$(this).parent().index();Ve($(S).eq(n))}function sn(e){e.preventDefault();var n=$(this).closest(S).find(D);fn(n,n.find(R).eq($(this).closest("li").index()))}function cn(e){var n=e.shiftKey;if(vo||!([37,39].indexOf(e.which)<0))switch(e.which){case 38:case 33:mo.k.up&&G();break;case 32:if(n&&mo.k.up){G();break}case 40:case 34:mo.k.down&&ie();break;case 36:mo.k.up&&re(1);break;case 35:mo.k.down&&re($(S).length);break;case 37:mo.k.left&&se();break;case 39:mo.k.right&&le();break;default:return}}function dn(e){vo&&(e.pageYRo&&mo.m.down&&ie()),Ro=e.pageY}function fn(e,n,o){var t=e.closest(S),i={slides:e,destiny:n,direction:o,destinyPos:n.position(),slideIndex:n.index(),section:t,sectionIndex:t.index(S),anchorLink:t.data("anchor"),slidesNav:t.find(W),slideAnchor:zn(n),prevSlide:t.find(B),prevSlideIndex:t.find(B).index(),localIsResizing:co};if(i.xMovement=Cn(i.prevSlideIndex,i.slideIndex),i.localIsResizing||(vo=!1),r.onSlideLeave&&!i.localIsResizing&&"none"!==i.xMovement&&$.isFunction(r.onSlideLeave)&&!1===r.onSlideLeave.call(i.prevSlide,i.anchorLink,i.sectionIndex+1,i.prevSlideIndex,i.xMovement,i.slideIndex))return void(io=!1);n.addClass(h).siblings().removeClass(h),i.localIsResizing||(Qe(i.prevSlide),Xe(n)),!r.loopHorizontal&&r.controlArrows&&(t.find(K).toggle(0!==i.slideIndex),t.find(Z).toggle(!n.is(":last-child"))),t.hasClass(h)&&Rn(i.slideIndex,i.slideAnchor,i.anchorLink,i.sectionIndex),hn(e,i,!0)}function un(e){vn(e.slidesNav,e.slideIndex),e.localIsResizing||($.isFunction(r.afterSlideLoad)&&r.afterSlideLoad.call(e.destiny,e.anchorLink,e.sectionIndex+1,e.slideAnchor,e.slideIndex),vo=!0,_e(e.destiny)),io=!1}function hn(e,n,t){var i=n.destinyPos;if(r.css3){var a="translate3d(-"+o.round(i.left)+"px, 0px, 0px)";mn(e.find(q)).css(Kn(a)),bo=setTimeout(function(){t&&un(n)},r.scrollingSpeed,r.easing)}else e.animate({scrollLeft:o.round(i.left)},r.scrollingSpeed,r.easing,function(){t&&un(n)})}function vn(e,n){e.find(v).removeClass(h),e.find("li").eq(n).find("a").addClass(h)}function pn(){if(gn(),ao){var e=$(n.activeElement);if(!e.is("textarea")&&!e.is("input")&&!e.is("select")){var t=ee.height();o.abs(t-Bo)>20*o.max(Bo,t)/100&&(ce(!0),Bo=t)}}else clearTimeout(wo),wo=setTimeout(function(){ce(!0)},350)}function gn(){var e=r.responsive||r.responsiveWidth,n=r.responsiveHeight,o=e&&ee.outerWidth()o?"up":"down"}function Cn(e,n){return e==n?"none":e>n?"left":"right"}function Tn(e){if(!e.hasClass("fp-noscroll")){e.css("overflow","hidden");var n=r.scrollOverflowHandler,o=n.wrapContent(),t=e.closest(S),i=n.scrollable(e),a;i.length?a=n.scrollHeight(e):(a=e.get(0).scrollHeight,r.verticalCentered&&(a=e.find(T).get(0).scrollHeight));var l=so-parseInt(t.css("padding-bottom"))-parseInt(t.css("padding-top"));a>l?i.length?n.update(e,l):(r.verticalCentered?e.find(T).wrapInner(o):e.wrapInner(o),n.create(e,l)):n.remove(e),e.css("overflow","")}}function kn(e){e.hasClass(F)||e.addClass(F).wrapInner('')}function In(e){var n=so;if(r.paddingTop||r.paddingBottom){var o=e;o.hasClass(w)||(o=e.closest(S));var t=parseInt(o.css("padding-top"))+parseInt(o.css("padding-bottom"));n=so-t}return n}function Ln(e,n){n?mn(lo):wn(lo),lo.css(Kn(e)),setTimeout(function(){lo.removeClass(c)},10)}function En(e){var n=lo.find(S+'[data-anchor="'+e+'"]');return n.length||(n=$(S).eq(e-1)),n}function An(e,n){var o=n.find(D),t=o.find(R+'[data-anchor="'+e+'"]');return t.length||(t=o.find(R).eq(e)),t}function Mn(e,n){var o=En(e);o.length&&(void 0===n&&(n=0),e===uo||o.hasClass(h)?On(o,n):Ve(o,function(){On(o,n)}))}function On(e,n){if(void 0!==n){var o=e.find(D),t=An(n,e);t.length&&fn(o,t)}}function Hn(e,n){e.append('');var o=e.find(W);o.addClass(r.slidesNavPosition);for(var t=0;t');o.css("margin-left","-"+o.width()/2+"px"),o.find("li").first().find("a").addClass(h)}function Rn(e,n,o,t){var i="";r.anchors.length&&!r.lockAnchors&&(e?(void 0!==o&&(i=o),void 0===n&&(n=e),ho=n,Bn(i+"/"+n)):void 0!==e?(ho=n,Bn(o)):Bn(o)),Dn()}function Bn(n){if(r.recordHistory)location.hash=n;else if(ao||ro)e.history.replaceState(t,t,"#"+n);else{var o=e.location.href.split("#")[0];e.location.replace(o+"#"+n)}}function zn(e){var n=e.data("anchor"),o=e.index();return void 0===n&&(n=o),n}function Dn(){var e=$(b),n=e.find(B),o=zn(e),t=zn(n),i=String(o);n.length&&(i=i+"-"+t),i=i.replace("/","-").replace("#","");var a=new RegExp("\\b\\s?"+u+"-[^\\s]+\\b","g");oo[0].className=oo[0].className.replace(a,""),oo.addClass(u+"-"+i)}function Pn(){var o=n.createElement("p"),i,a={webkitTransform:"-webkit-transform",OTransform:"-o-transform",msTransform:"-ms-transform",MozTransform:"-moz-transform",transform:"transform"};n.body.insertBefore(o,null);for(var r in a)o.style[r]!==t&&(o.style[r]="translate3d(1px,1px,1px)",i=e.getComputedStyle(o).getPropertyValue(a[r]));return n.body.removeChild(o),i!==t&&i.length>0&&"none"!==i}function qn(){n.addEventListener?(n.removeEventListener("mousewheel",De,!1),n.removeEventListener("wheel",De,!1),n.removeEventListener("MozMousePixelScroll",De,!1)):n.detachEvent("onmousewheel",De)}function Fn(){var o="",i;e.addEventListener?i="addEventListener":(i="attachEvent",o="on");var a="onwheel"in n.createElement("div")?"wheel":n.onmousewheel!==t?"mousewheel":"DOMMouseScroll";"DOMMouseScroll"==a?n[i](o+"MozMousePixelScroll",De,!1):n[i](o+a,De,!1)}function Vn(){lo.on("mousedown",on).on("mouseup",tn)}function Wn(){lo.off("mousedown",on).off("mouseup",tn)}function Yn(){if(ao||ro){var e=Nn();r.autoScrolling&&oo.off("touchmove "+e.move).on("touchmove "+e.move,Me),$(a).off("touchstart "+e.down).on("touchstart "+e.down,Be).off("touchmove "+e.move).on("touchmove "+e.move,Oe)}}function jn(){if(ao||ro){var e=Nn();$(a).off("touchstart "+e.down).off("touchmove "+e.move)}}function Nn(){var n;return n=e.PointerEvent?{down:"pointerdown",move:"pointermove"}:{down:"MSPointerDown",move:"MSPointerMove"}}function Un(e){var n=[];return n.y=void 0!==e.pageY&&(e.pageY||e.pageX)?e.pageY:e.touches[0].pageY,n.x=void 0!==e.pageX&&(e.pageY||e.pageX)?e.pageX:e.touches[0].pageX,ro&&Re(e)&&r.scrollBar&&(n.y=e.touches[0].pageY,n.x=e.touches[0].pageX),n}function Xn(e,n){k(0,"internal"),void 0!==n&&(co=!0),fn(e.closest(D),e),void 0!==n&&(co=!1),k(To.scrollingSpeed,"internal")}function _n(e){var n=o.round(e);r.css3&&r.autoScrolling&&!r.scrollBar?Ln("translate3d(0px, -"+n+"px, 0px)",!1):r.autoScrolling&&!r.scrollBar?lo.css("top",-n):no.scrollTop(n)}function Kn(e){return{"-webkit-transform":e,"-moz-transform":e,"-ms-transform":e,transform:e}}function Qn(e,n,o){switch(n){case"up":mo[o].up=e;break;case"down":mo[o].down=e;break;case"left":mo[o].left=e;break;case"right":mo[o].right=e;break;case"all":"m"==o?X(e):Q(e)}}function Gn(e){l(!1,"internal"),X(!1),Q(!1),lo.addClass(d),clearTimeout(bo),clearTimeout(So),clearTimeout(wo),clearTimeout(xo),clearTimeout(yo),ee.off("scroll",Ie).off("hashchange",Ze).off("resize",pn),ne.off("click touchstart",E+" a").off("mouseenter",E+" li").off("mouseleave",E+" li").off("click touchstart",Y).off("mouseover",r.normalScrollElements).off("mouseout",r.normalScrollElements),$(S).off("click touchstart",N),clearTimeout(bo),clearTimeout(So),e&&Jn()}function Jn(){_n(0),lo.find("img[data-src], source[data-src], audio[data-src], iframe[data-src]").each(function(){$(this).attr("src",$(this).data("src")),$(this).removeAttr("data-src")}),$(E+", "+W+", "+N).remove(),$(S).css({height:"","background-color":"",padding:""}),$(R).css({width:""}),lo.css({height:"",position:"","-ms-touch-action":"","touch-action":""}),no.css({overflow:"",height:""}),$("html").removeClass(f),oo.removeClass(s),$.each(oo.get(0).className.split(/\s+/),function(e,n){0===n.indexOf(u)&&oo.removeClass(n)}),$(S+", "+R).each(function(){r.scrollOverflowHandler.remove($(this)),$(this).removeClass(F+" "+h)}),wn(lo),lo.find(T+", "+q+", "+D).each(function(){$(this).replaceWith(this.childNodes)}),no.scrollTop(0);var e=[w,H,P];$.each(e,function(e,n){$("."+n).removeClass(n)})}function Zn(e,n,o){r[e]=n,"internal"!==o&&(To[e]=n)}function $n(){var e=["fadingEffect","continuousHorizontal","scrollHorizontally","interlockedSlides","resetSliders","responsiveSlides","offsetSections","dragAndMove","scrollOverflowReset"];if($("html").hasClass(f))return void eo("error","Fullpage.js can only be initialized once and you are doing it multiple times!");r.continuousVertical&&(r.loopTop||r.loopBottom)&&(r.continuousVertical=!1,eo("warn","Option `loopTop/loopBottom` is mutually exclusive with `continuousVertical`; `continuousVertical` disabled")),r.scrollBar&&r.scrollOverflow&&eo("warn","Option `scrollBar` is mutually exclusive with `scrollOverflow`. Sections with scrollOverflow might not work well in Firefox"),!r.continuousVertical||!r.scrollBar&&r.autoScrolling||(r.continuousVertical=!1,eo("warn","Scroll bars (`scrollBar:true` or `autoScrolling:false`) are mutually exclusive with `continuousVertical`; `continuousVertical` disabled")),$.each(e,function(e,n){r[n]&&eo("warn","fullpage.js extensions require jquery.fullpage.extensions.min.js file instead of the usual jquery.fullpage.js. Requested: "+n)}),$.each(r.anchors,function(e,n){var o=ne.find("[name]").filter(function(){return $(this).attr("name")&&$(this).attr("name").toLowerCase()==n.toLowerCase()}),t=ne.find("[id]").filter(function(){return $(this).attr("id")&&$(this).attr("id").toLowerCase()==n.toLowerCase()});(t.length||o.length)&&(eo("error","data-anchor tags can not have the same value as any `id` element on the site (or `name` element for IE)."),t.length&&eo("error",'"'+n+'" is is being used by another element `id` property'),o.length&&eo("error",'"'+n+'" is is being used by another element `name` property'))})}function eo(e,n){console&&console[e]&&console[e]("fullPage: "+n)}if($("html").hasClass(f))return void $n();var no=$("html, body"),oo=$("body"),to=$.fn.fullpage;r=$.extend({menu:!1,anchors:[],lockAnchors:!1,navigation:!0,navigationPosition:"left",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:!0,loopTop:!1,loopHorizontal:!0,continuousVertical:!1,continuousHorizontal:!1,scrollHorizontally:!1,interlockedSlides:!1,dragAndMove:!1,offsetSections:!1,resetSliders:!1,fadingEffect:!1,normalScrollElements:".dialog , .dialog__content , .dialog__overlay",scrollOverflow:!1,scrollOverflowReset:!1,scrollOverflowHandler:te,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,sectionSelector:".section",slideSelector:".slide",afterLoad:null,onLeave:null,afterRender:null,afterResize:null,afterReBuild:null,afterSlideLoad:null,onSlideLeave:null,afterResponsive:null,lazyLoading:!0},r);var io=!1,ao=navigator.userAgent.match(/(iPhone|iPod|iPad|Android|playbook|silk|BlackBerry|BB10|Windows Phone|Tizen|Bada|webOS|IEMobile|Opera Mini)/),ro="ontouchstart"in e||navigator.msMaxTouchPoints>0||navigator.maxTouchPoints,lo=$(this),so=ee.height(),co=!1,fo=!0,uo,ho,vo=!0,po=[],go,mo={};mo.m={up:!0,down:!0,left:!0,right:!0},mo.k=$.extend(!0,{},mo.m);var wo,So,bo,xo,yo,Co,To=$.extend(!0,{},r);$n(),oe.click=ro,oe=$.extend(oe,r.scrollOverflowOptions),$.extend($.easing,{easeInOutCubic:function(e,n,o,t,i){return(n/=i/2)<1?t/2*n*n*n+o:t/2*((n-=2)*n*n+2)+o}}),$(this).length&&(to.setAutoScrolling=l,to.setRecordHistory=m,to.setScrollingSpeed=k,to.setFitToSection=I,to.setLockAnchors=O,to.setMouseWheelScrolling=j,to.setAllowScrolling=X,to.setKeyboardScrolling=Q,to.moveSectionUp=G,to.moveSectionDown=ie,to.silentMoveTo=ae,to.moveTo=re,to.moveSlideRight=le,to.moveSlideLeft=se,to.reBuild=ce,to.setResponsive=de,to.destroy=Gn,fe(),ue());var ko=!1,Io=0,Lo=0,Eo=0,Ao=0,Mo=0,Oo=(new Date).getTime(),Ho=0,Ro=0,Bo=so},"undefined"!=typeof IScroll&&(IScroll.prototype.wheelOn=function(){this.wrapper.addEventListener("wheel",this),this.wrapper.addEventListener("mousewheel",this),this.wrapper.addEventListener("DOMMouseScroll",this)},IScroll.prototype.wheelOff=function(){this.wrapper.removeEventListener("wheel",this),this.wrapper.removeEventListener("mousewheel",this),this.wrapper.removeEventListener("DOMMouseScroll",this)});var te={refreshId:null,iScrollInstances:[],toggleWheel:function(e){$(b).find(l).each(function(){var n=$(this).data("iscrollInstance");void 0!==n&&n&&(e?n.wheelOn():n.wheelOff())})},onLeave:function(){te.toggleWheel(!1)},beforeLeave:function(){te.onLeave()},afterLoad:function(){te.toggleWheel(!0)},create:function(e,n){var o=e.find(l);o.height(n),o.each(function(){var e=$(this),n=e.data("iscrollInstance");n&&$.each(te.iScrollInstances,function(){$(this).destroy()}),n=new IScroll(e.get(0),oe),te.iScrollInstances.push(n),n.wheelOff(),e.data("iscrollInstance",n)})},isScrolled:function(e,n){var o=n.data("iscrollInstance");return!o||("top"===e?o.y>=0&&!n.scrollTop():"bottom"===e?0-o.y+n.scrollTop()+1+n.innerHeight()>=n[0].scrollHeight:void 0)},scrollable:function(e){return e.find(D).length?e.find(B).find(l):e.find(l)},scrollHeight:function(e){return e.find(l).children().first().get(0).scrollHeight},remove:function(e){var n=e.find(l);if(n.length){n.data("iscrollInstance").destroy(),n.data("iscrollInstance",null)}e.find(l).children().first().children().first().unwrap().unwrap()},update:function(e,n){clearTimeout(te.refreshId),te.refreshId=setTimeout(function(){$.each(te.iScrollInstances,function(){$(this).get(0).refresh()})},150),e.find(l).css("height",n+"px").parent().css("height",n+"px")},wrapContent:function(){return''}}});