From 01d5e78f82370639b846a90670c8227f3f46f5a7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C3=81lvaro?= <atrigol@gmail.com>
Date: Thu, 27 Apr 2017 18:30:26 +0100
Subject: [PATCH] - Updated extensions file

---
 dist/jquery.multiscroll.extensions.min.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dist/jquery.multiscroll.extensions.min.js b/dist/jquery.multiscroll.extensions.min.js
index e30e1fe..608a8b3 100644
--- a/dist/jquery.multiscroll.extensions.min.js
+++ b/dist/jquery.multiscroll.extensions.min.js
@@ -5,4 +5,4 @@
  *
  * Copyright (C) 2016 alvarotrigo.com - A project by Alvaro Trigo
  */
-!function(e,t,n,o,i){e.fn.multiscroll=function(s){function a(){e.isFunction(s.afterRender)&&s.afterRender.call(this),G("responsiveExpand")&&(X.responsiveExpand.setIndex("ms-left"),X.responsiveExpand.setIndex("ms-right"))}function r(){var n=t.location.hash.replace("#",""),o=n;if(o.length){var i=e(".ms-left").find('[data-anchor="'+o+'"]'),s="undefined"==typeof lastScrolledDestiny;(s||o!==lastScrolledDestiny)&&v(i)}}function l(t){if(clearTimeout(ne),s.autoScrolling){var o=e(n.activeElement);if(!o.is("textarea")&&!o.is("input")&&!o.is("select")&&s.keyboardScrolling){var i=t.which,a=[40,38,32,33,34];e.inArray(i,a)>-1&&t.preventDefault(),ne=setTimeout(function(){c(t)},150)}}}function c(t){var n=t.shiftKey;switch(t.which){case 38:case 33:X.moveSectionUp();break;case 32:if(n){X.moveSectionUp();break}case 40:case 34:X.moveSectionDown();break;case 36:X.moveTo(1);break;case 35:X.moveTo(e(".ms-left .ms-section").length);break;default:return}}function d(t){t.preventDefault();var n=e(this).parent().index();v(e(".ms-left .ms-section").eq(n))}function m(){var t=e(this).data("tooltip");e('<div class="multiscroll-tooltip '+s.navigationPosition+'">'+t+"</div>").hide().appendTo(e(this)).fadeIn(200)}function f(){e(this).find(".multiscroll-tooltip").fadeOut(200,function(){e(this).remove()})}function u(){te=e(t).height(),e(".ms-tableCell").each(function(){e(this).css({height:k(e(this).parent())})});var n=te;o.abs(n-oe)>20*o.max(oe,n)/100&&(h(),oe=n),e.isFunction(s.afterResize)&&s.afterResize.call(this)}function h(){s.css3&&s.autoScrolling?(x(e(".ms-left"),"translate3d(0px, -"+e(".ms-left").find(".ms-section.active").position().top+"px, 0px)",!1),x(e(".ms-right"),"translate3d(0px, -"+e(".ms-right").find(".ms-section.active").position().top+"px, 0px)",!1)):s.autoScrolling?(e(".ms-left").css("top",-e(".ms-left").find(".ms-section.active").position().top),e(".ms-right").css("top",-e(".ms-right").find(".ms-section.active").position().top)):e("html,body").scrollTop(e(".ms-left").find(".ms-section.active").position().top)}function v(t){var n=t.index(),o=e(".ms-right").find(".ms-section").eq($-1-n),i=t.data("anchor"),a=e(".ms-left .ms-section.active"),r=a.index()+1,l=w(t);ee=!0;var c={left:t.position().top,right:o.position().top};if(o.addClass("active").siblings().removeClass("active"),t.addClass("active").siblings().removeClass("active"),T(i),s.css3){e.isFunction(s.onLeave)&&s.onLeave.call(this,r,n+1,l);var d="translate3d(0px, -"+c.left+"px, 0px)",m="translate3d(0px, -"+c.right+"px, 0px)";x(e(".ms-left"),d,!0),x(e(".ms-right"),m,!0),setTimeout(function(){e.isFunction(s.afterLoad)&&s.afterLoad.call(this,i,n+1),setTimeout(function(){ee=!1},Q)},s.scrollingSpeed)}else e.isFunction(s.onLeave)&&s.onLeave.call(this,r,n+1,l),e(".ms-left").animate({top:-c.left},s.scrollingSpeed,s.easing,function(){e.isFunction(s.afterLoad)&&s.afterLoad.call(this,i,n+1),setTimeout(function(){ee=!1},Q)}),e(".ms-right").animate({top:-c.right},s.scrollingSpeed,s.easing);lastScrolledDestiny=i,C(i),y(i,n)}function p(){n.addEventListener?(n.removeEventListener("mousewheel",b,!1),n.removeEventListener("wheel",b,!1)):n.detachEvent("onmousewheel",b)}function g(){n.addEventListener?(n.addEventListener("mousewheel",b,!1),n.addEventListener("wheel",b,!1)):n.attachEvent("onmousewheel",b)}function b(e){e=t.event||e;var n=o.max(-1,o.min(1,e.wheelDelta||-e.deltaY||-e.detail));return ee||(n<0?X.moveSectionDown():X.moveSectionUp()),!1}function x(e,t,n){e.toggleClass("ms-easing",n),e.css(S(t))}function S(e){return{"-webkit-transform":e,"-moz-transform":e,"-ms-transform":e,transform:e}}function y(t,n){s.navigation&&(e("#multiscroll-nav").find(".active").removeClass("active"),t?e("#multiscroll-nav").find('a[href="#'+t+'"]').addClass("active"):e("#multiscroll-nav").find("li").eq(n).find("a").addClass("active"))}function C(t){s.menu&&(e(s.menu).find(".active").removeClass("active"),e(s.menu).find('[data-menuanchor="'+t+'"]').addClass("active"))}function w(t){var n=e(".ms-left .ms-section.active").index(),o=t.index();return n>o?"up":"down"}function T(e){s.anchors.length&&(location.hash=e),E()}function E(){var t=e(".ms-left .ms-section.active"),n=t.data("anchor"),o=t.index(),i=String(o);s.anchors.length&&(i=n),i=i.replace("/","-").replace("#","");var a=new RegExp("\\b\\s?ms-viewing-[^\\s]+\\b","g");e("body")[0].className=e("body")[0].className.replace(a,""),e("body").addClass("ms-viewing-"+i)}function I(){var e,o=n.createElement("p"),s={webkitTransform:"-webkit-transform",OTransform:"-o-transform",msTransform:"-ms-transform",MozTransform:"-moz-transform",transform:"transform"};n.body.insertBefore(o,null);for(var a in s)o.style[a]!==i&&(o.style[a]="translate3d(1px,1px,1px)",e=t.getComputedStyle(o).getPropertyValue(s[a]));return n.body.removeChild(o),e!==i&&e.length>0&&"none"!==e}function D(e){e.addClass("ms-table").wrapInner('<div class="ms-tableCell" style="height: '+k(e)+'px" />')}function k(e){var t=te;if(s.paddingTop||s.paddingBottom){var n=parseInt(e.css("padding-top"))+parseInt(e.css("padding-bottom"));t=te-n}return t}function L(){var n=t.location.hash.replace("#",""),o=e('.ms-left .ms-section[data-anchor="'+n+'"]');n.length&&v(o)}function B(n){var i=n.originalEvent;if(M(i)){n.preventDefault();e(".ms-left .ms-section.active");if(!ee){var a=P(i);ae=a.y,re=a.x,o.abs(ie-ae)>e(t).height()/100*s.touchSensitivity&&(ie>ae?X.moveSectionDown():ae>ie&&X.moveSectionUp())}}}function M(e){return"undefined"==typeof e.pointerType||"mouse"!=e.pointerType}function O(e){var t=e.originalEvent;if(M(t)){var n=P(t);ie=n.y,se=n.x}}function Z(){if(q||K){var t=z();e(n).off("touchstart "+t.down).on("touchstart "+t.down,O),e(n).off("touchmove "+t.move).on("touchmove "+t.move,B)}}function W(){if(q||K){var t=z();e(n).off("touchstart "+t.down),e(n).off("touchmove "+t.move)}}function z(){var e;return e=t.PointerEvent?{down:"pointerdown",move:"pointermove"}:{down:"MSPointerDown",move:"MSPointerMove"}}function P(e){var t=[];return t.y="undefined"!=typeof e.pageY&&(e.pageY||e.pageX)?e.pageY:e.touches[0].pageY,t.x="undefined"!=typeof e.pageX&&(e.pageY||e.pageX)?e.pageX:e.touches[0].pageX,K&&M(e)&&(t.y=e.touches[0].pageY,t.x=e.touches[0].pageX),t}function Y(){return{options:s,internals:{isTouchDevice:q,numberSections:$,setLastScrollDestiny:j,setURLHash:T,activateMenuElement:C,activateNavDots:y,getYmovement:w,removeMouseWheelHandler:p,addMouseWheelHandler:g,removeTouchHandler:W,addTouchHandler:Z,transformContainer:x,c:U}}}function j(e){lastScrolledDestiny=e}function A(e){var n="ms_"+e+"Extension";_[e]=s[e+"Key"],X[e]="undefined"!=typeof t[n]?new t[n]:null,X[e]&&X[e].c(e)}function G(e){return s[e]&&X[e]}function H(e){function t(e){var t,o,i,s,r,l,c,d="",m=0;for(e=e.replace(/[^A-Za-z0-9+\/=]/g,"");m<e.length;)s=a.indexOf(e.charAt(m++)),r=a.indexOf(e.charAt(m++)),l=a.indexOf(e.charAt(m++)),c=a.indexOf(e.charAt(m++)),t=s<<2|r>>4,o=(15&r)<<4|l>>2,i=(3&l)<<6|c,d+=String.fromCharCode(t),64!=l&&(d+=String.fromCharCode(o)),64!=c&&(d+=String.fromCharCode(i));return d=n(d)}function n(e){for(var t,n="",o=0,i=0,s=0;o<e.length;)i=e.charCodeAt(o),i<128?(n+=String.fromCharCode(i),o++):i>191&&i<224?(s=e.charCodeAt(o+1),n+=String.fromCharCode((31&i)<<6|63&s),o+=2):(s=e.charCodeAt(o+1),t=e.charCodeAt(o+2),n+=String.fromCharCode((15&i)<<12|(63&s)<<6|63&t),o+=3);return n}function o(e){return e}function i(e){return e.slice(3).slice(0,-3)}function s(e){var n=e.split("_");if(n.length>1){var o=n[1],s=e.replace(i(n[1]),"").split("_")[0],a=s;return a+"_"+t(o.slice(3).slice(0,-3))}return i(e)}var a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";return o(s(t(e)))}function N(){if(n.domain.length){for(var e=n.domain.replace(/^(www\.)/,"").split(".");e.length>2;){e.shift()}var t=e.join(".");return t.replace(/(^\.*)|(\.*$)/g,"")}return""}function R(e){var t=N(),n=["localhost","127.0.0.1","jshell.net","UDdDQU5ZNlNN"],o=n[0],i=n[1],s=n[2],a=H(n[3]),r=[o,i,s].indexOf(t)<0&&0!==t.length,l="undefined"!=typeof _[e]&&_[e].length;if(!l&&r)return!1;var c=l?H(_[e]):"";c=c.split("_");var d=c.length>1&&c[1].indexOf(e,c[1].length-e.length)>-1,m=c[0].indexOf(t,c[0].length-t.length)<0;return!(m&&r&&a!=c[0])&&d||!r}function U(e){if(G(e)&&X[e]){var t=H("MTIzPGRpdiBzdHlsZT0iei1pbmRleDo5OTk5OTk5O3Bvc2l0aW9uOmZpeGVkOyB0b3A6IDIwcHg7IGxlZnQ6MjBweDsgYmFja2dyb3VuZDpyZWQ7IHBhZGRpbmc6IDdweCAxNXB4OyBmb250LXNpemU6IDE0cHg7IGZvbnQtZmFtaWx5OiBhcmlhbDsgY29sb3I6ICNmZmY7IGRpc3BsYXk6IGlubGluZS1ibG9jazsiPjxhIGhyZWY9Imh0dHA6Ly9hbHZhcm90cmlnby5jb20vbXVsdGlTY3JvbGwvZXh0ZW5zaW9ucy8iIHN0eWxlPSJjb2xvcjogI2ZmZjsgdGV4dC1kZWNvcmF0aW9uOm5vbmU7Ij5VbmxpY2Vuc2VkIG11bHRpU2Nyb2xsLmpzIEV4dGVuc2lvbjwvYT48L2Rpdj4xMjM="),n=o.random()<.5;if(!R(e)){var i,s="9999999",a="z-index",r=function(){i=n?F.find("div").first():F.find("div").last(),i.css(a)!==s&&(n?F.prepend(t):F.append(t))};r(),setInterval(r,2e3)}}}var X=e.fn.multiscroll,V="multiscroll-wrapper",F=(e("html, body"),e("body"));s=e.extend({verticalCentered:!0,scrollingSpeed:700,easing:"easeInQuart",menu:!1,sectionsColor:[],anchors:[],navigation:!1,navigationPosition:"right",navigationColor:"#000",navigationTooltips:[],loopBottom:!1,loopTop:!1,css3:!1,autoScrolling:!0,paddingTop:0,paddingBottom:0,fixedElements:null,normalScrollElements:null,keyboardScrolling:!0,touchSensitivity:5,responsiveWidth:null,responsiveHeight:null,responsiveExpand:!1,responsiveCombine:!1,sectionSelector:".ms-section",leftSelector:".ms-left",rightSelector:".ms-right",afterLoad:null,onLeave:null,afterRender:null,afterResize:null},s);var Q=600,q=navigator.userAgent.match(/(iPhone|iPod|iPad|Android|playbook|silk|BlackBerry|BB10|Windows Phone|Tizen|Bada|webOS|IEMobile|Opera Mini)/),K="ontouchstart"in t||navigator.msMaxTouchPoints>0||navigator.maxTouchPoints,_={};".ms-right"!==s.rightSelector&&e(s.rightSelector).addClass("ms-right"),".ms-left"!==s.leftSelector&&e(s.leftSelector).addClass("ms-left");var J,$=e(".ms-left").find(".ms-section").length,ee=!1,te=e(t).height();e(this).length&&(X.getMultiscrollData=Y),A("responsiveExpand"),A("responsiveCombine"),g(),Z(),s.css3&&(s.css3=I()),e("html, body").css({overflow:"hidden",height:"100%"}),e(this).addClass(V),".ms-section"!==s.sectionSelector&&e(s.sectionSelector).each(function(){e(this).addClass("ms-section")}),s.navigation&&(e("body").append('<div id="multiscroll-nav"><ul></ul></div>'),J=e("#multiscroll-nav"),J.css("color",s.navigationColor),J.addClass(s.navigationPosition)),e(".ms-right, .ms-left").css({width:"50%",position:"absolute",height:"100%","-ms-touch-action":"none"}),e(".ms-right").css({right:"1px",top:"0","-ms-touch-action":"none","touch-action":"none"}),e(".ms-left").css({left:"0",top:"0","-ms-touch-action":"none","touch-action":"none"}),e(".ms-left .ms-section, .ms-right .ms-section").each(function(){var t=e(this).index();if((s.paddingTop||s.paddingBottom)&&e(this).css("padding",s.paddingTop+" 0 "+s.paddingBottom+" 0"),"undefined"!=typeof s.sectionsColor[t]&&e(this).css("background-color",s.sectionsColor[t]),"undefined"!=typeof s.anchors[t]&&e(this).attr("data-anchor",s.anchors[t]),s.verticalCentered&&D(e(this)),e(this).closest(".ms-left").length&&s.navigation){var n="";s.anchors.length&&(n=s.anchors[t]);var o=s.navigationTooltips[t];"undefined"==typeof o&&(o=""),s.navigation&&J.find("ul").append('<li data-tooltip="'+o+'"><a href="#'+n+'"><span></span></a></li>')}}),e(".ms-right").html(e(".ms-right").find(".ms-section").get().reverse()),e(".ms-left .ms-section, .ms-right .ms-section").each(function(){var t=e(this).index();e(this).css({height:"100%"}),!t&&s.navigation&&J.find("li").eq(t).find("a").addClass("active")}).promise().done(function(){e(".ms-left .ms-section.active").length||(e(".ms-right").find(".ms-section").last().addClass("active"),e(".ms-left").find(".ms-section").first().addClass("active")),s.navigation&&J.css("margin-top","-"+J.height()/2+"px"),a(),h(),E(),e(t).on("load",function(){L()})}),e(t).on("hashchange",r),e(n).keydown(l);var ne;e(n).mousedown(function(e){if(1==e.button)return e.preventDefault(),!1}),e(n).on("click","#multiscroll-nav a",d),e(n).on({mouseenter:m,mouseleave:f},"#multiscroll-nav li"),s.normalScrollElements&&(e(n).on("mouseenter",s.normalScrollElements,function(){X.setMouseWheelScrolling(!1)}),e(n).on("mouseleave",s.normalScrollElements,function(){X.setMouseWheelScrolling(!0)})),e(t).on("resize",u);var oe=te;X.moveSectionUp=function(){var t=e(".ms-left .ms-section.active").prev(".ms-section");!t.length&&s.loopTop&&(t=e(".ms-left .ms-section").last()),t.length&&v(t)},X.moveSectionDown=function(){var t=e(".ms-left .ms-section.active").next(".ms-section");!t.length&&s.loopBottom&&(t=e(".ms-left .ms-section").first()),t.length&&v(t)},X.moveTo=function(t){var n="";n=isNaN(t)?e('.ms-left [data-anchor="'+t+'"]'):e(".ms-left .ms-section").eq(t-1),v(n)},X.setKeyboardScrolling=function(e){s.keyboardScrolling=e},X.setMouseWheelScrolling=function(e){e?g():p()},X.setScrollingSpeed=function(e){s.scrollingSpeed=e};var ie=0,se=0,ae=0,re=0;X.destroy=function(){X.setKeyboardScrolling(!1),X.setMouseWheelScrolling(!1),W(),e(t).off("hashchange",r).off("resize",u),e(n).off("mouseenter","#multiscroll-nav li").off("mouseleave","#multiscroll-nav li").off("click","#multiscroll-nav a")},X.build=function(){X.setKeyboardScrolling(!0),X.setMouseWheelScrolling(!0),e(t).on("hashchange",r).on("resize",u),e(n).on("mouseenter","#multiscroll-nav li").on("mouseleave","#multiscroll-nav li").on("click","#multiscroll-nav a")},G("responsiveExpand")&&X.responsiveExpand.init(),G("responsiveCombine")&&X.responsiveCombine.init()}}(jQuery,window,document,Math);
\ No newline at end of file
+!function(e,t,n,o,i){e.fn.multiscroll=function(s){function a(){e.isFunction(s.afterRender)&&s.afterRender.call(this),G("responsiveExpand")&&(X.responsiveExpand.setIndex("ms-left"),X.responsiveExpand.setIndex("ms-right"))}function r(){var n=t.location.hash.replace("#",""),o=n;if(o.length){var i=e(".ms-left").find('[data-anchor="'+o+'"]'),s="undefined"==typeof lastScrolledDestiny;(s||o!==lastScrolledDestiny)&&v(i)}}function l(t){if(clearTimeout(ne),s.autoScrolling){var o=e(n.activeElement);if(!o.is("textarea")&&!o.is("input")&&!o.is("select")&&s.keyboardScrolling){var i=t.which,a=[40,38,32,33,34];e.inArray(i,a)>-1&&t.preventDefault(),ne=setTimeout(function(){c(t)},150)}}}function c(t){var n=t.shiftKey;switch(t.which){case 38:case 33:X.moveSectionUp();break;case 32:if(n){X.moveSectionUp();break}case 40:case 34:X.moveSectionDown();break;case 36:X.moveTo(1);break;case 35:X.moveTo(e(".ms-left .ms-section").length);break;default:return}}function d(t){t.preventDefault();var n=e(this).parent().index();v(e(".ms-left .ms-section").eq(n))}function m(){var t=e(this).data("tooltip");e('<div class="multiscroll-tooltip '+s.navigationPosition+'">'+t+"</div>").hide().appendTo(e(this)).fadeIn(200)}function f(){e(this).find(".multiscroll-tooltip").fadeOut(200,function(){e(this).remove()})}function u(){if(te=e(t).height(),e(".ms-tableCell").each(function(){e(this).css({height:k(e(this).parent())})}),q){var n=te;console.log("va"),o.abs(n-oe)>20*o.max(oe,n)/100&&(h(),oe=n)}else h();e.isFunction(s.afterResize)&&s.afterResize.call(this)}function h(){s.css3&&s.autoScrolling?(x(e(".ms-left"),"translate3d(0px, -"+e(".ms-left").find(".ms-section.active").position().top+"px, 0px)",!1),x(e(".ms-right"),"translate3d(0px, -"+e(".ms-right").find(".ms-section.active").position().top+"px, 0px)",!1)):s.autoScrolling?(e(".ms-left").css("top",-e(".ms-left").find(".ms-section.active").position().top),e(".ms-right").css("top",-e(".ms-right").find(".ms-section.active").position().top)):e("html,body").scrollTop(e(".ms-left").find(".ms-section.active").position().top)}function v(t){var n=t.index(),o=e(".ms-right").find(".ms-section").eq($-1-n),i=t.data("anchor"),a=e(".ms-left .ms-section.active"),r=a.index()+1,l=w(t);ee=!0;var c={left:t.position().top,right:o.position().top};if(o.addClass("active").siblings().removeClass("active"),t.addClass("active").siblings().removeClass("active"),T(i),s.css3){e.isFunction(s.onLeave)&&s.onLeave.call(this,r,n+1,l);var d="translate3d(0px, -"+c.left+"px, 0px)",m="translate3d(0px, -"+c.right+"px, 0px)";x(e(".ms-left"),d,!0),x(e(".ms-right"),m,!0),setTimeout(function(){e.isFunction(s.afterLoad)&&s.afterLoad.call(this,i,n+1),setTimeout(function(){ee=!1},Q)},s.scrollingSpeed)}else e.isFunction(s.onLeave)&&s.onLeave.call(this,r,n+1,l),e(".ms-left").animate({top:-c.left},s.scrollingSpeed,s.easing,function(){e.isFunction(s.afterLoad)&&s.afterLoad.call(this,i,n+1),setTimeout(function(){ee=!1},Q)}),e(".ms-right").animate({top:-c.right},s.scrollingSpeed,s.easing);lastScrolledDestiny=i,C(i),y(i,n)}function p(){n.addEventListener?(n.removeEventListener("mousewheel",b,!1),n.removeEventListener("wheel",b,!1)):n.detachEvent("onmousewheel",b)}function g(){n.addEventListener?(n.addEventListener("mousewheel",b,!1),n.addEventListener("wheel",b,!1)):n.attachEvent("onmousewheel",b)}function b(e){e=t.event||e;var n=o.max(-1,o.min(1,e.wheelDelta||-e.deltaY||-e.detail));return ee||(n<0?X.moveSectionDown():X.moveSectionUp()),!1}function x(e,t,n){e.toggleClass("ms-easing",n),e.css(S(t))}function S(e){return{"-webkit-transform":e,"-moz-transform":e,"-ms-transform":e,transform:e}}function y(t,n){s.navigation&&(e("#multiscroll-nav").find(".active").removeClass("active"),t?e("#multiscroll-nav").find('a[href="#'+t+'"]').addClass("active"):e("#multiscroll-nav").find("li").eq(n).find("a").addClass("active"))}function C(t){s.menu&&(e(s.menu).find(".active").removeClass("active"),e(s.menu).find('[data-menuanchor="'+t+'"]').addClass("active"))}function w(t){var n=e(".ms-left .ms-section.active").index(),o=t.index();return n>o?"up":"down"}function T(e){s.anchors.length&&(location.hash=e),E()}function E(){var t=e(".ms-left .ms-section.active"),n=t.data("anchor"),o=t.index(),i=String(o);s.anchors.length&&(i=n),i=i.replace("/","-").replace("#","");var a=new RegExp("\\b\\s?ms-viewing-[^\\s]+\\b","g");e("body")[0].className=e("body")[0].className.replace(a,""),e("body").addClass("ms-viewing-"+i)}function I(){var e,o=n.createElement("p"),s={webkitTransform:"-webkit-transform",OTransform:"-o-transform",msTransform:"-ms-transform",MozTransform:"-moz-transform",transform:"transform"};n.body.insertBefore(o,null);for(var a in s)o.style[a]!==i&&(o.style[a]="translate3d(1px,1px,1px)",e=t.getComputedStyle(o).getPropertyValue(s[a]));return n.body.removeChild(o),e!==i&&e.length>0&&"none"!==e}function D(e){e.addClass("ms-table").wrapInner('<div class="ms-tableCell" style="height: '+k(e)+'px" />')}function k(e){var t=te;if(s.paddingTop||s.paddingBottom){var n=parseInt(e.css("padding-top"))+parseInt(e.css("padding-bottom"));t=te-n}return t}function L(){var n=t.location.hash.replace("#",""),o=e('.ms-left .ms-section[data-anchor="'+n+'"]');n.length&&v(o)}function B(n){var i=n.originalEvent;if(M(i)){n.preventDefault();e(".ms-left .ms-section.active");if(!ee){var a=P(i);ae=a.y,re=a.x,o.abs(ie-ae)>e(t).height()/100*s.touchSensitivity&&(ie>ae?X.moveSectionDown():ae>ie&&X.moveSectionUp())}}}function M(e){return"undefined"==typeof e.pointerType||"mouse"!=e.pointerType}function O(e){var t=e.originalEvent;if(M(t)){var n=P(t);ie=n.y,se=n.x}}function Z(){if(q||K){var t=z();e(n).off("touchstart "+t.down).on("touchstart "+t.down,O),e(n).off("touchmove "+t.move).on("touchmove "+t.move,B)}}function W(){if(q||K){var t=z();e(n).off("touchstart "+t.down),e(n).off("touchmove "+t.move)}}function z(){var e;return e=t.PointerEvent?{down:"pointerdown",move:"pointermove"}:{down:"MSPointerDown",move:"MSPointerMove"}}function P(e){var t=[];return t.y="undefined"!=typeof e.pageY&&(e.pageY||e.pageX)?e.pageY:e.touches[0].pageY,t.x="undefined"!=typeof e.pageX&&(e.pageY||e.pageX)?e.pageX:e.touches[0].pageX,K&&M(e)&&(t.y=e.touches[0].pageY,t.x=e.touches[0].pageX),t}function Y(){return{options:s,internals:{isTouchDevice:q,numberSections:$,setLastScrollDestiny:j,setURLHash:T,activateMenuElement:C,activateNavDots:y,getYmovement:w,removeMouseWheelHandler:p,addMouseWheelHandler:g,removeTouchHandler:W,addTouchHandler:Z,transformContainer:x,c:U}}}function j(e){lastScrolledDestiny=e}function A(e){var n="ms_"+e+"Extension";_[e]=s[e+"Key"],X[e]="undefined"!=typeof t[n]?new t[n]:null,X[e]&&X[e].c(e)}function G(e){return s[e]&&X[e]}function H(e){function t(e){var t,o,i,s,r,l,c,d="",m=0;for(e=e.replace(/[^A-Za-z0-9+\/=]/g,"");m<e.length;)s=a.indexOf(e.charAt(m++)),r=a.indexOf(e.charAt(m++)),l=a.indexOf(e.charAt(m++)),c=a.indexOf(e.charAt(m++)),t=s<<2|r>>4,o=(15&r)<<4|l>>2,i=(3&l)<<6|c,d+=String.fromCharCode(t),64!=l&&(d+=String.fromCharCode(o)),64!=c&&(d+=String.fromCharCode(i));return d=n(d)}function n(e){for(var t,n="",o=0,i=0,s=0;o<e.length;)i=e.charCodeAt(o),i<128?(n+=String.fromCharCode(i),o++):i>191&&i<224?(s=e.charCodeAt(o+1),n+=String.fromCharCode((31&i)<<6|63&s),o+=2):(s=e.charCodeAt(o+1),t=e.charCodeAt(o+2),n+=String.fromCharCode((15&i)<<12|(63&s)<<6|63&t),o+=3);return n}function o(e){return e}function i(e){return e.slice(3).slice(0,-3)}function s(e){var n=e.split("_");if(n.length>1){var o=n[1],s=e.replace(i(n[1]),"").split("_")[0],a=s;return a+"_"+t(o.slice(3).slice(0,-3))}return i(e)}var a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";return o(s(t(e)))}function N(){if(n.domain.length){for(var e=n.domain.replace(/^(www\.)/,"").split(".");e.length>2;){e.shift()}var t=e.join(".");return t.replace(/(^\.*)|(\.*$)/g,"")}return""}function R(e){var t=N(),n=["localhost","127.0.0.1","jshell.net","UDdDQU5ZNlNN"],o=n[0],i=n[1],s=n[2],a=H(n[3]),r=[o,i,s].indexOf(t)<0&&0!==t.length,l="undefined"!=typeof _[e]&&_[e].length;if(!l&&r)return!1;var c=l?H(_[e]):"";c=c.split("_");var d=c.length>1&&c[1].indexOf(e,c[1].length-e.length)>-1,m=c[0].indexOf(t,c[0].length-t.length)<0;return!(m&&r&&a!=c[0])&&d||!r}function U(e){if(G(e)&&X[e]){var t=H("MTIzPGRpdiBzdHlsZT0iei1pbmRleDo5OTk5OTk5O3Bvc2l0aW9uOmZpeGVkOyB0b3A6IDIwcHg7IGxlZnQ6MjBweDsgYmFja2dyb3VuZDpyZWQ7IHBhZGRpbmc6IDdweCAxNXB4OyBmb250LXNpemU6IDE0cHg7IGZvbnQtZmFtaWx5OiBhcmlhbDsgY29sb3I6ICNmZmY7IGRpc3BsYXk6IGlubGluZS1ibG9jazsiPjxhIGhyZWY9Imh0dHA6Ly9hbHZhcm90cmlnby5jb20vbXVsdGlTY3JvbGwvZXh0ZW5zaW9ucy8iIHN0eWxlPSJjb2xvcjogI2ZmZjsgdGV4dC1kZWNvcmF0aW9uOm5vbmU7Ij5VbmxpY2Vuc2VkIG11bHRpU2Nyb2xsLmpzIEV4dGVuc2lvbjwvYT48L2Rpdj4xMjM="),n=o.random()<.5;if(!R(e)){var i,s="9999999",a="z-index",r=function(){i=n?F.find("div").first():F.find("div").last(),i.css(a)!==s&&(n?F.prepend(t):F.append(t))};r(),setInterval(r,2e3)}}}var X=e.fn.multiscroll,V="multiscroll-wrapper",F=(e("html, body"),e("body"));s=e.extend({verticalCentered:!0,scrollingSpeed:700,easing:"easeInQuart",menu:!1,sectionsColor:[],anchors:[],navigation:!1,navigationPosition:"right",navigationColor:"#000",navigationTooltips:[],loopBottom:!1,loopTop:!1,css3:!1,autoScrolling:!0,paddingTop:0,paddingBottom:0,fixedElements:null,normalScrollElements:null,keyboardScrolling:!0,touchSensitivity:5,responsiveWidth:null,responsiveHeight:null,responsiveExpand:!1,responsiveCombine:!1,sectionSelector:".ms-section",leftSelector:".ms-left",rightSelector:".ms-right",afterLoad:null,onLeave:null,afterRender:null,afterResize:null},s);var Q=600,q=navigator.userAgent.match(/(iPhone|iPod|iPad|Android|playbook|silk|BlackBerry|BB10|Windows Phone|Tizen|Bada|webOS|IEMobile|Opera Mini)/),K="ontouchstart"in t||navigator.msMaxTouchPoints>0||navigator.maxTouchPoints,_={};".ms-right"!==s.rightSelector&&e(s.rightSelector).addClass("ms-right"),".ms-left"!==s.leftSelector&&e(s.leftSelector).addClass("ms-left");var J,$=e(".ms-left").find(".ms-section").length,ee=!1,te=e(t).height();e(this).length&&(X.getMultiscrollData=Y),A("responsiveExpand"),A("responsiveCombine"),g(),Z(),s.css3&&(s.css3=I()),e("html, body").css({overflow:"hidden",height:"100%"}),e(this).addClass(V),".ms-section"!==s.sectionSelector&&e(s.sectionSelector).each(function(){e(this).addClass("ms-section")}),s.navigation&&(e("body").append('<div id="multiscroll-nav"><ul></ul></div>'),J=e("#multiscroll-nav"),J.css("color",s.navigationColor),J.addClass(s.navigationPosition)),e(".ms-right, .ms-left").css({width:"50%",position:"absolute",height:"100%","-ms-touch-action":"none"}),e(".ms-right").css({right:"1px",top:"0","-ms-touch-action":"none","touch-action":"none"}),e(".ms-left").css({left:"0",top:"0","-ms-touch-action":"none","touch-action":"none"}),e(".ms-left .ms-section, .ms-right .ms-section").each(function(){var t=e(this).index();if((s.paddingTop||s.paddingBottom)&&e(this).css("padding",s.paddingTop+" 0 "+s.paddingBottom+" 0"),"undefined"!=typeof s.sectionsColor[t]&&e(this).css("background-color",s.sectionsColor[t]),"undefined"!=typeof s.anchors[t]&&e(this).attr("data-anchor",s.anchors[t]),s.verticalCentered&&D(e(this)),e(this).closest(".ms-left").length&&s.navigation){var n="";s.anchors.length&&(n=s.anchors[t]);var o=s.navigationTooltips[t];"undefined"==typeof o&&(o=""),s.navigation&&J.find("ul").append('<li data-tooltip="'+o+'"><a href="#'+n+'"><span></span></a></li>')}}),e(".ms-right").html(e(".ms-right").find(".ms-section").get().reverse()),e(".ms-left .ms-section, .ms-right .ms-section").each(function(){var t=e(this).index();e(this).css({height:"100%"}),!t&&s.navigation&&J.find("li").eq(t).find("a").addClass("active")}).promise().done(function(){e(".ms-left .ms-section.active").length||(e(".ms-right").find(".ms-section").last().addClass("active"),e(".ms-left").find(".ms-section").first().addClass("active")),G("responsiveExpand")&&X.responsiveExpand.init(),G("responsiveCombine")&&X.responsiveCombine.init(),s.navigation&&J.css("margin-top","-"+J.height()/2+"px"),a(),h(),E(),e(t).on("load",function(){L()})}),e(t).on("hashchange",r),e(n).keydown(l);var ne;e(n).mousedown(function(e){if(1==e.button)return e.preventDefault(),!1}),e(n).on("click","#multiscroll-nav a",d),e(n).on({mouseenter:m,mouseleave:f},"#multiscroll-nav li"),s.normalScrollElements&&(e(n).on("mouseenter",s.normalScrollElements,function(){X.setMouseWheelScrolling(!1)}),e(n).on("mouseleave",s.normalScrollElements,function(){X.setMouseWheelScrolling(!0)})),e(t).on("resize",u);var oe=te;X.moveSectionUp=function(){var t=e(".ms-left .ms-section.active").prev(".ms-section");!t.length&&s.loopTop&&(t=e(".ms-left .ms-section").last()),t.length&&v(t)},X.moveSectionDown=function(){var t=e(".ms-left .ms-section.active").next(".ms-section");!t.length&&s.loopBottom&&(t=e(".ms-left .ms-section").first()),t.length&&v(t)},X.moveTo=function(t){var n="";n=isNaN(t)?e('.ms-left [data-anchor="'+t+'"]'):e(".ms-left .ms-section").eq(t-1),v(n)},X.setKeyboardScrolling=function(e){s.keyboardScrolling=e},X.setMouseWheelScrolling=function(e){e?g():p()},X.setScrollingSpeed=function(e){s.scrollingSpeed=e};var ie=0,se=0,ae=0,re=0;X.destroy=function(){X.setKeyboardScrolling(!1),X.setMouseWheelScrolling(!1),W(),e(t).off("hashchange",r).off("resize",u),e(n).off("mouseenter","#multiscroll-nav li").off("mouseleave","#multiscroll-nav li").off("click","#multiscroll-nav a")},X.build=function(){X.setKeyboardScrolling(!0),X.setMouseWheelScrolling(!0),e(t).on("hashchange",r).on("resize",u),e(n).on("mouseenter","#multiscroll-nav li").on("mouseleave","#multiscroll-nav li").on("click","#multiscroll-nav a")}}}(jQuery,window,document,Math);
\ No newline at end of file
