PageSourceSearch

https://jf-17.com/wp-content/plugins/lazyest-gallery/js/lazyest-gallery.js?ver=1.1.20

js jf-17.com collected 2026-10-02 19:16:20 UTC 10,306 bytes, 1 lines download raw bytes

1function lg_doCounts(){if(jQuery(".folder-count-all").length){jQuery(".folder-count-all").each(function(){var e=jQuery(this).attr("id");var t=lazyest_virtual.root+jQuery(this).attr("title");var n={action:"lg_folder_subcount",allcount:"true",folder:t};jQuery.post(lazyest_ajax.ajaxurl,n,function(t){e="#"+e;jQuery(e).html(t)})})}if(jQuery(".folder-count-sub").length){jQuery(".folder-count-sub").each(function(){var e=jQuery(this).attr("id");var t=lazyest_virtual.root+jQuery(this).attr("title");var n={action:"lg_folder_subcount",folder:t};jQuery.post(lazyest_ajax.ajaxurl,n,function(t){e="#"+e;jQuery(e).html(t)})})}}function lazyestSlideSwitch(){jQuery(".lazyest_random_slideshow_item").each(function(){var e=jQuery(this).attr("id");var t=jQuery("#"+e+" div.lg_thumb.active");var n=t.next().length?t.next():jQuery("#"+e+" div.lg_thumb:first");var r={action:"lg_random_slideshow",_wpnonce:lazyest_widgets._nonce};jQuery.post(lazyest_widgets.ajaxurl,r,function(e){n.html(e);t.addClass("last-active");n.css({opacity:0}).addClass("active").animate({opacity:1},500,function(){t.removeClass("active last-active");t.animate({opacity:0}
1,500)})})})}function lazyestRecentSwitch(){jQuery(".lazyest_recent_slideshow_item").each(function(){var e=jQuery(this).attr("id");var t=jQuery("#"+e+" div.lg_thumb.active");var n=t.next().length?t.next():jQuery("#"+e+" div.lg_thumb:first");var r=e.charAt(25);var i=parseInt(jQuery("span#recent_"+r).text());var s=parseInt(jQuery("span#latest_"+r).text());var o={action:"lg_recent_slideshow",recent:i,latest:s,_wpnonce:lazyest_widgets._nonce};jQuery.post(lazyest_widgets.ajaxurl,o,function(e){i++;if(i==s){i=0}jQuery("#recent_"+r).html(i);n.html(e);t.addClass("last-active");n.css({opacity:0}).addClass("active").animate({opacity:1},500,function(){t.removeClass("active last-active");t.animate({opacity:0},500)})})})}function lg_js_slideshow(){jQuery(".lg_loading").each(function(){jQuery(this).hide()});jQuery(".lg_slideshow").each(function(){jQuery(this).children("a").css({opacity:0});jQuery(this).children("a").css({visibility:"visible"});var e=0;var t=0;jQuery(this).children("a").each(function(n,r){var i=parseInt(jQuery(r).find("img:first").width());e=i>e?i:e;var s=parseInt(jQuery(r).find("img:first").height());t=s>t?s:t});jQuery(this).css({width:e+"px",height:t+"px"});var n=jQuery(this).children("a:first");var r=n.find("img");n.css({opacity:1});var i=(e-parseInt(jQuery(this).children("a:first").find("img").width()))/2;var s=(t-parseInt(jQuery(this).children("a:first").find("img").height()))/2;var o=r.attr("rel");if(!o)o="";if(o==" "){o=""}n.css({opacity:0}).addClass("show").animate({opacity:1},lazyestshow.slideview).css({left:i+"px",bottom:s+"px"});jQuery(this).children(".sscaption").animate({opacity:0}
1,{queue:false,duration:0}).animate({height:"0px"},{queue:true,duration:lazyestshow.captionqueue});if(jQuery(this).attr("id").match("lg_slideshow")&&o.length>0){jQuery(this).children(".sscaption").css({width:r.width(),left:i+"px",bottom:s+"px"});jQuery(this).children(".sscaption").animate({opacity:.7},lazyestshow.captionopcty).animate({height:"100px"},lazyestshow.captionqueue);jQuery(this).children(".sscaption").html(o)}});setInterval("lg_js_gallery_show()",lazyestshow.duration)}function lg_js_gallery_show(){jQuery(".lg_slideshow").each(function(){var e=jQuery(this).children("a.show");var t=e.next().length?e.next().hasClass("sscaption")?jQuery(this).children("a:first"):e.next():jQuery(this).children("a:first");var n=t.find("img");var r=(parseInt(jQuery(this).width())-parseInt(n.width()))/2;var i=(parseInt(jQuery(this).height())-parseInt(n.height()))/2;var s=n.attr("rel");if(!s)s="";if(s==" "){s=""}t.css({opacity:0}).addClass("show").animate({opacity:1},lazyestshow.slideview).css({left:r+"px",bottom:i+"px"});e.animate({opacity:0}
1,lazyestshow.slideview).removeClass("show");jQuery(this).children(".sscaption").animate({opacity:0},{queue:false,duration:0}).animate({height:"0px"},{queue:true,duration:lazyestshow.captionqueue});if(jQuery(this).attr("id").match("lg_slideshow")&&s.length>0){jQuery(this).children(".sscaption").css({width:n.width(),left:r+"px",bottom:i+"px"});jQuery(this).children(".sscaption").animate({opacity:.7},lazyestshow.captionopcty).animate({height:"100px"},lazyestshow.captionqueue);jQuery(this).children(".sscaption").html(s)}})}jQuery(window).ready(function(){lg_doCounts();if(lazyest_ajax.pagination=="ajax"){jQuery(".folder_pagination a").live("click",function(){var e=jQuery(this).closest("form");var t=jQuery(this).closest(".folders");var n=jQuery(this).closest(".lg_gallery");var r=parseInt(jQuery("input[name='current']",e).val(),10);var i;switch(jQuery(this).attr("class")){case"first-page":i=0;break;case"prev-page":i=r-1;break;case"next-page":i=r+1;break;case"last-page":i=parseInt(jQuery("input[name='last_page']",e).val(),10)}data={action:"lg_next_dirs",folder:jQuery("input[name='folder']",e).val(),user_id:jQuery("input[name='user_id']",e).val(),virtual:jQuery("input[name='virtual']",e).val(),perpage:jQuery("input[name='perpage']",e).val(),columns:jQuery("input[name='columns']",e).val(),ajax_nonce:jQuery("input[name='ajax_nonce']",e).val(),request_uri:jQuery("input[name='request_uri']",e).val(),lg_paged:i};jQuery.post(lazyest_ajax.ajaxurl,data,function(e){t.replaceWith(e);if(typeof lg_js_loadFirst=="function"){lg_js_loadFirst()}lg_doCounts();if(typeof lg_js_loadNext=="function"){lg_js_loadNext()}jQuery(window).trigger("lazyest_refresh")});return false});jQuery(".image_pagination a").live("click",function(){var e=jQuery(this).closest("form");var t=jQuery(this).closest(".thumb_images");var n=jQuery(this).closest(".lg_gallery");var r=parseInt(jQuery("input[name='current']",e).val(),10);var i;switch(jQuery(this).attr("class")){case"first-page":i=0;break;case"prev-page":i=r-1;break;case"next-page":i=r+1;break;case"last-page":i=parseInt(jQuery("input[name='last_page']",e).val(),10)}data={action:"lg_next_thumbs",folder:lazyest_virtual.root+jQuery("input[name='folder']",e).val(),perpage:jQuery("input[name='perpage']",e).val(),columns:jQuery("input[name='columns']",e).val(),post_id:jQuery("input[name='post_id']",e).val(),ajax_nonce:jQuery("input[name='ajax_nonce']",e).val(),request_uri:jQuery("input[name='request_uri']",e).val(),virtual:lazyest_virtual.root,lg_pagei:i};jQuery.post(lazyest_ajax.ajaxurl,data,function(e){t.replaceWith(e);if(typeof lg_js_loadFirst=="function"){lg_js_loadFirst()}if(typeof lg_js_loadNext=="function"){lg_js_loadNext()}jQuery(window).trigger("lazyest_refresh")});return false});jQuery("input[name='lg_paged']").live("keypress",function(e){var t=e.which?e.which:e.keyCode;if(t==13){e.preventDefault();var n=jQuery(this).closest("form");var r=jQuery(this).closest(".folders");var i=jQuery(this).closest(".lg_gallery");var s=parseInt(jQuery("input[name='current']",n).val(),10);var o=parseInt(jQuery(this).val(),10);if(o!=s){var u=jQuery("input[name='last_page']",n).val();if(o<1){o=1;jQuery(this).val("1")}if(o>u){o=u;jQuery(this).val(u)}data={action:"lg_next_dirs",folder:jQuery("input[name='folder']",n).val(),user_id:jQuery("input[name='user_id']",n).val(),virtual:jQuery("input[name='virtual']",n).val(),perpage:jQuery("input[name='perpage']",n).val(),columns:jQuery("input[name='columns']",n).val(),request_uri:jQuery("input[name='request_uri']",n).val(),ajax_nonce:jQuery("input[name='ajax_nonce']",n).val(),lg_paged:o};jQuery.post(lazyest_ajax.ajaxurl,data,function(e){r.replaceWith(e);if(typeof lg_js_loadFirst=="function"){lg_js_loadFirst()}lg_doCounts();if(typeof lg_js_loadNext=="function"){lg_js_loadNext()}jQuery(window).trigger("lazyest_refresh")})}return false}});jQuery("input[name='lg_pagei']").live("keypress",function(e){var t=e.which?e.which:e.keyCode;if(t==13){e.preventDefault();var n=jQuery(this).closest("form");var r=jQuery(this).closest(".thumb_images");var i=jQuery(this).closest(".lg_gallery");var s=parseInt(jQuery("input[name='current']",n).val(),10);
1var o=parseInt(jQuery(this).val(),10);if(o!=s){var u=jQuery("input[name='last_page']",n).val();if(o<1){o=1;jQuery(this).val("1")}if(o>u){o=u;jQuery(this).val(u)}data={action:"lg_next_thumbs",folder:lazyest_virtual.root+jQuery("input[name='folder']",n).val(),perpage:jQuery("input[name='perpage']",n).val(),columns:jQuery("input[name='columns']",n).val(),request_uri:jQuery("input[name='request_uri']",n).val(),ajax_nonce:jQuery("input[name='ajax_nonce']",n).val(),post_id:jQuery("input[name='post_id']",n).val(),virtual:lazyest_virtual.root,lg_pagei:o};jQuery.post(lazyest_ajax.ajaxurl,data,function(e){r.replaceWith(e);if(typeof lg_js_loadFirst=="function"){lg_js_loadFirst()}if(typeof lg_js_loadNext=="function"){lg_js_loadNext()}jQuery(window).trigger("lazyest_refresh")})}return false}});jQuery(window).bind("lazyest_refresh",function(){if(typeof Shadowbox=="object"&&typeof Shadowbox.setup=="function")Shadowbox.setup();if(jQuery().fancybox)jQuery("a.lg").attr("rel","folder").fancybox()})}});jQuery(document).ready(function(){if(jQuery(".lazyest_recent").length){jQuery(".lazyest_recent").each(function(){var e=jQuery(this).attr("id");var t={action:"lg_recent_image",recent:e.substring(7),_wpnonce:lazyest_widgets._nonce};jQuery.post(lazyest_widgets.ajaxurl,t,function(t){if("0"!=t){jQuery("#"+e).html(t);jQuery("#"+e).show();if(typeof lg_js_loadFirst=="function"){lg_js_loadFirst()}if(typeof lg_js_loadNext=="function"){lg_js_loadNext()}}})})}if(jQuery(".lazyest_random").length){jQuery(".lazyest_random").each(function(){var e=jQuery(this).attr("id");var t={action:"lg_random_image",random:e.substring(7),_wpnonce:lazyest_widgets._nonce};jQuery.post(lazyest_widgets.ajaxurl,t,function(t){if("0"!=t){jQuery("#"+e).html(t);jQuery("#"+e).show();if(typeof lg_js_loadFirst=="function"){lg_js_loadFirst()}if(typeof lg_js_loadNext=="function"){lg_js_loadNext()}}})})}lazyestSlideSwitch();lazyestRecentSwitch()});if(jQuery(".lazyest_random_slideshow_item").length){jQuery(function(){setInterval("lazyestSlideSwitch()",lazyest_widgets.slideshow_duration)})}if(jQuery(".lazyest_recent_slideshow_item").length){jQuery(function(){setInterval("lazyestRecentSwitch()",lazyest_widgets.slideshow_duration)})}var lazyest_slideshow=true;var lazyestCounter=0;jQuery(window).load(function(){if(typeof lazyest_loading==="undefined"){if(jQuery(".lg_slideshow").length){lg_js_slideshow()}}})

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.