(function(){var M,Q;M=this.jQuery||window.jQuery,Q=M(window),M.fn.stick_in_parent=function(t){var b,w,i,o,x,s,C,I,z,A,j;for(null==t&&(t={}),j=t.sticky_class,x=t.inner_scrolling,A=t.recalc_every,z=t.parent,I=t.offset_top,C=t.spacer,w=t.bottoming,null==I&&(I=0),null==z&&(z=void 0),null==x&&(x=!0),null==j&&(j="is_stuck"),b=M(document),null==w&&(w=!0),i=function(e,n,r,c,l,a,f,p){var u,t,h,d,g,k,m,v,i,y,_,s;if(!e.data("sticky_kit")){if(e.data("sticky_kit",!0),g=b.height(),m=e.parent(),null!=z&&(m=m.closest(z)),!m.length)throw"failed to find stick parent";if(u=h=!1,(_=null!=C?C&&e.closest(C):M("
"))&&_.css("position",e.css("position")),(v=function(){var t,i,o;if(!p&&(g=b.height(),t=parseInt(m.css("border-top-width"),10),i=parseInt(m.css("padding-top"),10),n=parseInt(m.css("padding-bottom"),10),r=m.offset().top+t+i,c=m.height(),h&&(u=h=!1,null==C&&(e.insertAfter(_),_.detach()),e.css({position:"",top:"",width:"",bottom:""}).removeClass(j),o=!0),l=e.offset().top-(parseInt(e.css("margin-top"),10)||0)-I,a=e.outerHeight(!0),f=e.css("float"),_&&_.css({width:e.outerWidth(!0),height:a,display:e.css("display"),"vertical-align":e.css("vertical-align"),float:f}),o))return s()})(),a!==c)return d=void 0,k=I,y=A,s=function(){var t,i,o,s;if(!p&&(o=!1,null!=y&&(--y<=0&&(y=A,v(),o=!0)),o||b.height()===g||v(),o=Q.scrollTop(),null!=d&&(i=o-d),d=o,h?(w&&(s=c+r