403Webshell
Server IP : 213.186.33.4  /  Your IP : 216.73.216.222
Web Server : Apache
System : Linux webm005.cluster103.gra.hosting.ovh.net 6.18.39-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Tue Jul 21 12:03:15 CEST 2026 x86_64
User : karinebmkh ( 644538)
PHP Version : 8.4.22
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/karinebmkh/www2/wp-content/themes/glaza/assets/js/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/karinebmkh/www2/wp-content/themes/glaza/assets/js/sticky-sidebar.min.js
/* sticky sidebar */
window.requestAnimFrame=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(t){window.setTimeout(t,1e3/60)};var ruby_sticky_sidebar={blocks:[],last_height:0,is_enable:!0,w_height:jQuery(window).height(),stick:function(t){t.length>0&&t.each(function(){var t=jQuery(this);t.hasClass("is-sticked")||(t.addClass("is-sticked"),ruby_sticky_sidebar.add_block(t))}),jQuery(window).scroll(function(){ruby_sticky_sidebar.check_events_scroll()}),ruby_sticky_sidebar.reload()},create_block:function(t){var o={};o.sidebar=t,o.content=null;var e=t.parent();if(e.hasClass("sidebar-wrap"))o.content=e.parent(".wrap").find("#main");else if(e.hasClass("panel-grid-cell")){t.css("height",null),e.css("position","relative");var n=e.prev();n.length>0&&(o.content=n)}return null==o.content?null:o},add_clearfix:function(t){t.sidebar.prepend('<div class="clearfix"></div>').append('<div class="clearfix"></div>'),t.content.prepend('<div class="clearfix"></div>').append('<div class="clearfix"></div>')},add_block:function(t){var o=this.create_block(t);null!==o&&(this.add_clearfix(o),o.content_top=0,o.content_bottom=0,o.sidebar_top=0,o.sidebar_bottom=0,o.status="top_content",this.block_position(o),this.blocks.push(o))},block_position:function(t){return t.content_top=t.content.offset().top,t.content_height=t.content.height(),t.content_bottom=t.content_top+t.content_height,t.sidebar_height=t.sidebar.height(),t.sidebar_width=t.sidebar.parent().width(),t},sidebar_position:function(t){return t.sidebar_top=t.sidebar.offset().top,t.sidebar_bottom=t.sidebar_top+t.sidebar_height,t},block_status:function(t,o,e){var n=this.w_height+e;return t.sidebar_height+60>=t.content_height?t.status="content_small":t.sidebar_height<=this.w_height?e<t.content_top?t.status="top_content":t.content_bottom-t.sidebar_height>=e?t.status="fixed_top":t.status="bottom_content":t.sidebar_bottom<e?t.status="bottom_content":(t.sidebar_bottom<n&&t.sidebar_bottom<t.content_bottom&&"down"==o&&t.content_bottom>n?t.status="fixed_bottom":t.sidebar_top<=t.content_top&&"up"==o&&t.content_bottom>=n?t.status="top_content":t.content_bottom<=t.sidebar_bottom&&"down"==o||t.content_bottom<n?t.status="bottom_content":e<=t.sidebar_top&&"up"==o&&t.content_top<=e&&(t.status="fixed_top"),("up"==o&&"fixed_bottom"==t.status||"fixed_top"==t.status&&"down"==o)&&(t.status="absolute")),t.status},check_events_scroll:function(){if(!1===ruby_sticky_sidebar.is_enable)for(var t=0;t<ruby_sticky_sidebar.blocks.length;t++)ruby_sticky_sidebar.blocks[t].sidebar.css({width:"auto",position:"static",top:"auto",bottom:"auto"});else{var o,e=jQuery(window).scrollTop();o=e!=ruby_sticky_sidebar.last_height&&e>ruby_sticky_sidebar.last_height?"down":"up",window.requestAnimFrame(function(){ruby_sticky_sidebar.last_height=e,jQuery.each(ruby_sticky_sidebar.blocks,function(t){var n=ruby_sticky_sidebar.blocks[t];switch(ruby_sticky_sidebar.sidebar_position(n),n.status=ruby_sticky_sidebar.block_status(n,o,e),n.status){case"fixed_bottom":if(!0===n.fixed_bottom_run_once)break;n.fixed_top_run_once=!1,n.fixed_bottom_run_once=!0,n.top_content_run_once=!1,n.bottom_content_run_once=!1,n.absolute_run_once=!1,n.content_small_run_once=!1,n.sidebar.css({width:n.sidebar_width,position:"fixed",top:"auto",bottom:"0","z-index":"100"});break;case"top_content":if(!0===n.top_content_run_once)break;n.fixed_top_run_once=!1,n.fixed_bottom_run_once=!1,n.top_content_run_once=!0,n.bottom_content_run_once=!1,n.absolute_run_once=!1,n.content_small_run_once=!1,n.sidebar.css({width:"auto",position:"static",top:"auto",bottom:"auto"});break;case"bottom_content":if(!0===n.bottom_content_run_once&&n.bottom_content_last_sidebar_height==n.sidebar_height&&n.bottom_content_content_height==n.content_height)break;n.fixed_top_run_once=!1,n.fixed_bottom_run_once=!1,n.top_content_run_once=!1,n.bottom_content_run_once=!0,n.absolute_run_once=!1,n.content_small_run_once=!1,n.bottom_content_last_sidebar_height=n.sidebar_height,n.bottom_content_content_height=n.content_height,n.sidebar.css({width:n.sidebar_width,position:"absolute",top:n.content_bottom-n.sidebar_height-n.content_top,bottom:"auto"});break;case"fixed_top":if(!0===n.fixed_top_run_once)break;n.fixed_top_run_once=!0,n.fixed_bottom_run_once=!1,n.top_content_run_once=!1,n.bottom_content_run_once=!1,n.absolute_run_once=!1,n.content_small_run_once=!1,n.sidebar.css({width:n.sidebar_width,position:"fixed",top:0,bottom:"auto"});break;case"absolute":if(!0===n.absolute_run_once)break;n.fixed_top_run_once=!1,n.fixed_bottom_run_once=!1,n.top_content_run_once=!1,n.bottom_content_run_once=!1,n.absolute_run_once=!0,n.content_small_run_once=!1,n.sidebar.css({width:n.sidebar_width,position:"absolute",top:n.sidebar_top-n.content_top,bottom:"auto"});break;case"content_small":if(!0===n.content_small_run_once)break;n.fixed_top_run_once=!1,n.fixed_bottom_run_once=!1,n.top_content_run_once=!1,n.bottom_content_run_once=!1,n.absolute_run_once=!1,n.content_small_run_once=!0,n.sidebar.css({width:"auto",position:"static",top:"auto",bottom:"auto"})}})})}},reset_flags:function(){for(var t=0;t<ruby_sticky_sidebar.blocks.length;t++)ruby_sticky_sidebar.blocks[t].fixed_top_run_once=!1,ruby_sticky_sidebar.blocks[t].fixed_bottom_run_once=!1,ruby_sticky_sidebar.blocks[t].top_content_run_once=!1,ruby_sticky_sidebar.blocks[t].bottom_content_run_once=!1,ruby_sticky_sidebar.blocks[t].absolute_run_once=!1,ruby_sticky_sidebar.blocks[t].content_small_run_once=!1,ruby_sticky_sidebar.blocks[t].bottom_content_last_sidebar_height=0,ruby_sticky_sidebar.blocks[t].bottom_content_last_content_height=0},reload:function(){jQuery(window).on("resize",function(){ruby_sticky_sidebar.reset_flags(),ruby_sticky_sidebar.is_enable=!0,ruby_sticky_sidebar.w_height=jQuery(window).height(),768>jQuery(window).width()&&(ruby_sticky_sidebar.is_enable=!1),jQuery.each(ruby_sticky_sidebar.blocks,function(){ruby_sticky_sidebar.block_position(this)})}),jQuery(window).on("load",function(){jQuery.each(ruby_sticky_sidebar.blocks,function(){ruby_sticky_sidebar.block_position(this)})})}};

Youez - 2016 - github.com/yon3zu
LinuXploit