!function(t,n,e){var a,i,r="jquery-appear",o="appear",c="appearing",s="disappear",d=[o,c,s],u=":"+r,f=r+"-scroller",l=r+"-display",h=r+"-watch",v=":"+h,p=void 0!==n.MutationObserver,g="animationend webkitAnimationEnd oAnimationEnd",m="transitionend webkitTransitionEnd oTransitionEnd",b=!1,w=t(),y=t();function D(){var n=t(this),e=n.is(":visible")&&function(t){var n=t.getBoundingClientRect();return(n.top>=0&&n.top<=a||n.bottom>=0&&n.bottom<=a)&&(n.left>=0&&n.left<=i||n.right>=0&&n.right<=i)}(this);e?(n.trigger(c),e!=n.data(r)&&n.trigger(o)):e!=n.data(r)&&n.trigger(s),n.data(r,e)}function E(){a=n.innerHeight||e.documentElement.clientHeight,i=n.innerWidth||e.documentElement.clientWidth,k()}t.expr[":"][r]=function(n){return void 0!==t(n).data(r)},t.expr[":"][h]=function(n){return void 0!==t(n).data(h)};var T,I,_,k=(T=function(){(w=w.filter(u)).each(D)},_=0,function(){var t=this,n=arguments,e=function(){_=new Date,T.apply(t,n)};I&&(clearTimeout(I),I=null);var a=new Date-_;a>10?e():I=setTimeout(e,10-a)});function x(){t(this).find(u).each(D)}function S(){var n=t(this);(function(t){if(t.data(f))return!1;var n=t.css("overflow");if("scroll"!=n&&"auto"!=n)return!1;return t.data(f,1),t.bind("scroll",x),!0})(n)|function(t){if(p||t.data(l))return;if("none"!=t.css("display"))return;return t.data(l,1),t._bindShow(x),!0}(n)&&(n.data(h)||(n.data(h,1),y=y.add(n)))}function j(){var n=t(this);n.data(h)&&0===n.find(u).length&&(n.removeData(f).removeData(l).removeData(h),n.unbind("scroll",x)._unbindShow(x))}function q(a){var i=t(this);if(!i.is(u)){if(!b)if(b=!0,E(),t(e).ready(function(){t(n).on("resize",E).on("scroll",k),t(e.body).on(g+" "+m,k)}),p)new MutationObserver(k).observe(e,{attributes:!0,childList:!0,characterData:!0,subtree:!0});i.data(r,!1),i.parents().each(S),setTimeout(function(){D.call(i[0])},1),w=w.add(this)}}function A(n){var e=t(this);setTimeout(function(){for(var n=t._data(e[0],"events")||{},a=!1,i=0;i0&&(n=setInterval(d,o)))}}()}(jQuery,window,document);