PATH:
home
/
letacommog
/
aperobusiness
/
wp-content
/
cache
/
autoptimize
/
js
!function(l,o,s,n){l.fn.scrollMenu=function(n){var e,t={addClassTo:l(this),scrollUpClass:"is-visible",scrollDownClass:"is-hidden",scrollTopClass:"is-top",scrollBottomClass:"is-bottom",scrollOffsetInClass:"is-offset-in",scrollOffsetOutClass:"is-offset-out",timeOut:1e3/60,tolleranceUp:0,tolleranceDown:0,scrollOffset:l(this).outerHeight(),onScrollMenuUp:function(){},onScrollMenuDown:function(){},onScrollMenuTop:function(){},onScrollMenuBottom:function(){},onScrollMenuOffsetIn:function(){},onScrollMenuOffsetOut:function(){}},a=0,r=(t.navigationHeight,t.tolleranceUp),c=t.tolleranceDown;l.extend(t,n),o.animationFrame=o.requestAnimationFrame||function(l){o.setTimeout(l,t.timeOut)},l(o).scroll(function(){e?(clearTimeout(e),e=!1):(e=!0,animationFrame(f))});var f=function(){var n=l(o).scrollTop(),f=l(o).height(),i=l(s).height();n>a&&n>=t.scrollOffset?Math.abs(a-n)>=c&&(l(t.addClassTo).removeClass(t.scrollUpClass).addClass(t.scrollDownClass),l(s).trigger("onScrollMenuDown"),t.onScrollMenuDown.call()):Math.abs(a-n)>r&&(l(t.addClassTo).removeClass(t.scrollDownClass).addClass(t.scrollUpClass),l(s).trigger("onScrollMenuUp"),t.onScrollMenuUp.call()),0==n?(l(t.addClassTo).addClass(t.scrollTopClass),l(s).trigger("onScrollMenuTop"),t.onScrollMenuTop.call()):l(t.addClassTo).removeClass(t.scrollTopClass),n==i-f?(l(t.addClassTo).addClass(t.scrollBottomClass),l(s).trigger("onScrollMenuBottom"),t.onScrollMenuBottom.call()):l(t.addClassTo).removeClass(t.scrollBottomClass),n<=t.scrollOffset?(l(t.addClassTo).removeClass(t.scrollOffsetOutClass).addClass(t.scrollOffsetInClass),l(s).trigger("onScrollMenuOffsetIn"),t.onScrollMenuOffsetIn.call()):(l(t.addClassTo).removeClass(t.scrollOffsetInClass).addClass(t.scrollOffsetOutClass),l(s).trigger("onScrollMenuOffsetOut"),t.onScrollMenuOffsetOut.call()),e=!1,a=n};f()}}(jQuery,window,document);(function(global,factory){if(typeof define==='function'&&define.amd){define(['jquery'],function(jQuery){return factory(jQuery);});}else if(typeof exports==='object'){factory(require('jquery'));}else{factory(global.jQuery);}}(this,function($){function defined(a){return"undefined"!=typeof a}function extend(a,b,c){var d=function(){};d.prototype=b.prototype,a.prototype=new d,a.prototype.constructor=a,b.prototype.constructor=b,a._super=b.prototype,c&&$.extend(a.prototype,c)}function native(a,b){var c;"string"==typeof a&&(b=a,a=document);for(var d=0;d<SUBST.length;++d){b=b.replace(SUBST[d][0],SUBST[d][1]);for(var e=0;e<VENDOR_PREFIXES.length;++e)if(c=VENDOR_PREFIXES[e],c+=0===e?b:b.charAt(0).toUpperCase()+b.substr(1),defined(a[c]))return a[c]}}var SUBST=[["",""],["exit","cancel"],["screen","Screen"]],VENDOR_PREFIXES=["","o","ms","moz","webkit","webkitCurrent"],ua=navigator.userAgent,fsEnabled=native("fullscreenEnabled"),parsedChromeUA=ua.match(/Android.*Chrome\/(\d+)\./),IS_ANDROID_CHROME=!!parsedChromeUA,CHROME_VERSION,ANDROID_CHROME_VERSION;IS_ANDROID_CHROME&&(ANDROID_CHROME_VERSION=parseInt(parsedChromeUA[1]));var IS_NATIVELY_SUPPORTED=(!IS_ANDROID_CHROME||ANDROID_CHROME_VERSION>37)&&defined(native("fullscreenElement"))&&(!defined(fsEnabled)||fsEnabled===!0),version=$.fn.jquery.split("."),JQ_LT_17=parseInt(version[0])<2&&parseInt(version[1])<7,FullScreenAbstract=function(){this.__options=null,this._fullScreenElement=null,this.__savedStyles={}};FullScreenAbstract.prototype={native:native,_DEFAULT_OPTIONS:{styles:{boxSizing:"border-box",MozBoxSizing:"border-box",WebkitBoxSizing:"border-box"},toggleClass:null},__documentOverflow:"",__htmlOverflow:"",_preventDocumentScroll:function(){this.__documentOverflow=document.body.style.overflow,this.__htmlOverflow=document.documentElement.style.overflow,$(this._fullScreenElement).is("body, html")||$("body, html").css("overflow","hidden")},_allowDocumentScroll:function(){document.body.style.overflow=this.__documentOverflow,document.documentElement.style.overflow=this.__htmlOverflow},_fullScreenChange:function(){this.__options&&(this.isFullScreen()?(this._preventDocumentScroll(),this._triggerEvents()):(this._allowDocumentScroll(),this._revertStyles(),this._triggerEvents(),this._fullScreenElement=null))},_fullScreenError:function(a){this.__options&&(this._revertStyles(),this._fullScreenElement=null,a&&$(document).trigger("fscreenerror",[a]))},_triggerEvents:function(){$(this._fullScreenElement).trigger(this.isFullScreen()?"fscreenopen":"fscreenclose"),$(document).trigger("fscreenchange",[this.isFullScreen(),this._fullScreenElement])},_saveAndApplyStyles:function(){var a=$(this._fullScreenElement);this.__savedStyles={};for(var b in this.__options.styles)this.__savedStyles[b]=this._fullScreenElement.style[b],this._fullScreenElement.style[b]=this.__options.styles[b];a.is("body")&&(document.documentElement.style.overflow=this.__options.styles.overflow),this.__options.toggleClass&&a.addClass(this.__options.toggleClass)},_revertStyles:function(){var a=$(this._fullScreenElement);for(var b in this.__options.styles)this._fullScreenElement.style[b]=this.__savedStyles[b];a.is("body")&&(document.documentElement.style.overflow=this.__savedStyles.overflow),this.__options.toggleClass&&a.removeClass(this.__options.toggleClass)},open:function(a,b){a!==this._fullScreenElement&&(this.isFullScreen()&&this.exit(),this._fullScreenElement=a,this.__options=$.extend(!0,{},this._DEFAULT_OPTIONS,b),this._saveAndApplyStyles())},exit:null,isFullScreen:null,isNativelySupported:function(){return IS_NATIVELY_SUPPORTED}};var FullScreenNative=function(){FullScreenNative._super.constructor.apply(this,arguments),this.exit=$.proxy(native("exitFullscreen"),document),this._DEFAULT_OPTIONS=$.extend(!0,{},this._DEFAULT_OPTIONS,{styles:{width:"100%",height:"100%"}}),$(document).bind(this._prefixedString("fullscreenchange")+" MSFullscreenChange",$.proxy(this._fullScreenChange,this)).bind(this._prefixedString("fullscreenerror")+" MSFullscreenError",$.proxy(this._fullScreenError,this))};extend(FullScreenNative,FullScreenAbstract,{VENDOR_PREFIXES:["","o","moz","webkit"],_prefixedString:function(a){return $.map(this.VENDOR_PREFIXES,function(b){return b+a}).join(" ")},open:function(a,b){FullScreenNative._super.open.apply(this,arguments);var c=native(a,"requestFullscreen");c.call(a)},exit:$.noop,isFullScreen:function(){return null!==native("fullscreenElement")},element:function(){return native("fullscreenElement")}});var FullScreenFallback=function(){FullScreenFallback._super.constructor.apply(this,arguments),this._DEFAULT_OPTIONS=$.extend({},this._DEFAULT_OPTIONS,{styles:{position:"fixed",zIndex:"2147483647",left:0,top:0,bottom:0,right:0}}),this.__delegateKeydownHandler()};extend(FullScreenFallback,FullScreenAbstract,{__isFullScreen:!1,__delegateKeydownHandler:function(){var a=$(document);a.delegate("*","keydown.fullscreen",$.proxy(this.__keydownHandler,this));var b=JQ_LT_17?a.data("events"):$._data(document).events,c=b.keydown;JQ_LT_17?b.live.unshift(b.live.pop()):c.splice(0,0,c.splice(c.delegateCount-1,1)[0])},__keydownHandler:function(a){return!this.isFullScreen()||27!==a.which||(this.exit(),!1)},_revertStyles:function(){FullScreenFallback._super._revertStyles.apply(this,arguments),this._fullScreenElement.offsetHeight},open:function(a){FullScreenFallback._super.open.apply(this,arguments),this.__isFullScreen=!0,this._fullScreenChange()},exit:function(){this.__isFullScreen&&(this.__isFullScreen=!1,this._fullScreenChange())},isFullScreen:function(){return this.__isFullScreen},element:function(){return this.__isFullScreen?this._fullScreenElement:null}}),$.fullscreen=IS_NATIVELY_SUPPORTED?new FullScreenNative:new FullScreenFallback,$.fn.fullscreen=function(a){var b=this[0];return a=$.extend({toggleClass:null,overflow:"hidden"},a),a.styles={overflow:a.overflow},delete a.overflow,b&&$.fullscreen.open(b,a),this};}));
[+]
..
[-] autoptimize_snippet_2dce40d16f9ff6332d3cbb7ae488a2b9.js
[edit]
[-] autoptimize_snippet_3d6b92ec5aff7cd24186974db3757400.js
[edit]
[-] index.html
[edit]
[-] autoptimize_snippet_1e25707220e95e3ebf632ac9c6436d48.js
[edit]
[-] autoptimize_snippet_e615d6f5851d9657f7ed6e24cc0bdb13.js
[edit]
[-] autoptimize_snippet_8939093b911fec2160314e95e5265f4e.js
[edit]
[-] autoptimize_snippet_cfb63dc18fde53fef4d4fdc19ddfdcd6.js
[edit]
[-] autoptimize_snippet_8e5863f6123994b1ce481ddbc7df3d06.js
[edit]
[-] autoptimize_snippet_1d476ef0a02dea95add5d5e192d6c89a.js
[edit]
[-] autoptimize_snippet_20794d708fb296a00f32357f44beaa8b.js
[edit]
[-] autoptimize_snippet_689a2a5f1b6d837efd85b866ba1a7a45.js
[edit]
[-] autoptimize_480fb65f5d0bb001191f888e74e4c840.js
[edit]
[-] autoptimize_snippet_7ec6d98279cb0b07d4216b87d0668761.js
[edit]
[-] autoptimize_snippet_7121994eec5320fbe6586463bf9651c2.js
[edit]
[-] autoptimize_snippet_11450ffaaa741ac0011f786e542080bb.js
[edit]
[-] autoptimize_snippet_9ce4e157448487d4efe0ca538f656a71.js
[edit]
[-] autoptimize_snippet_0eb7fb3be466db93e8d0ac1e006c1078.js
[edit]
[-] autoptimize_snippet_74350fa618215ad83e10a68004c7efef.js
[edit]
[-] autoptimize_snippet_f13c8d5d5b02cefea0127b39c8f4cd6b.js
[edit]
[-] autoptimize_snippet_d8540d893d389271b109d6732e37afba.js
[edit]
[-] autoptimize_snippet_2a4d04b49d4225da231ab81c9d0d3af1.js
[edit]
[-] autoptimize_snippet_f8a80ebc34599db45bc7a8ce4edbee5c.js
[edit]
[-] autoptimize_snippet_618f2e3ded155d6a4fba6a232d181d63.js
[edit]
[-] autoptimize_snippet_943f6eb962c25bd965e0f0e5a284fcd0.js
[edit]
[-] autoptimize_snippet_3f7161cf139d5a2c5e6d34e1c0026f9d.js
[edit]
[-] autoptimize_snippet_9d22f9409c43e4abec30c88531a5c5df.js
[edit]
[-] autoptimize_snippet_3c405496965f030808b82c30ca0df641.js
[edit]
[-] autoptimize_1ac580f90bfd892083e6a33bf0cad570.js
[edit]
[-] autoptimize_snippet_a5a1bfcbe64e5d92a029110590b6cb5d.js
[edit]
[-] autoptimize_snippet_836196ea33182b6c18884e9fca03f2ee.js
[edit]
[-] autoptimize_snippet_f7ac4bf72512e34c69fe84c8c89183f7.js
[edit]
[-] autoptimize_snippet_667085568f6d03d02e620d9e76ae36cf.js
[edit]
[-] autoptimize_snippet_4139854e7cec2bc66110f4d4879bd129.js
[edit]
[-] autoptimize_snippet_81b2be18696c4dfe620f7b6d0d75a566.js
[edit]
[-] autoptimize_snippet_1260babe26721c4e545d381f6c07b651.js
[edit]
[-] autoptimize_snippet_3af706c279ece056a8159b2440ac6aeb.js
[edit]