PageSourceSearch

https://sarrys-lab.com/wp-content/themes/dp-lemon-cream/inc/js/theme-import.min.js?ver=20260811012850

js sarrys-lab.com collected 2026-10-04 05:15:57 UTC 8,357 bytes, 1 lines download raw bytes

1var j$=jQuery,masonryContainer,mqWidth=768,mqFlag=false,mqGlobalMenuWidth=1024,thisBody=j$("body"),gotop=j$(".gotop");function getElementScreenPosition(c){var a=document.documentElement;var b=c.getBoundingClientRect();var e=b.left-a.clientLeft;var d=b.top-a.clientTop;return{left:e,top:d}}function getAbsolutePosition(d){var c=d.currentStyle||window.getComputedStyle(d);var a={width:d.offsetWidth,height:d.offsetHeight,left:0,top:0,right:d.offsetWidth,bottom:d.offsetHeight,borderTop:parseInt(c.borderTopWidth),borderRight:parseInt(c.borderRightWidth),borderBottom:parseInt(c.borderBottomWidth),borderLeft:parseInt(c.borderLeftWidth),paddingTop:parseInt(c.paddingTop),paddingRight:parseInt(c.paddingRight),paddingBottom:parseInt(c.paddingBottom),paddingLeft:parseInt(c.paddingLeft)};var b=d;while(b){a.left+=b.offsetLeft;a.top+=b.offsetTop;b=b.offsetParent}if(document.all&&document.compatMode=="BackCompat"){a.right+=a.left;a.bottom+=a.top}else{a.right+=a.left-a.borderLeft-a.borderRight;a.bottom+=a.top-a.borderTop-a.borderBottom}return a}j$.fn.dropDown=function(a){a=j$.extend({speed:200},a||{});this.each(function(){var c=this,g=1000;function f(i){if(i.nodeName.toLowerCase()==="li"){var h=j$("> ul",i);return h.length?h[0]:null}else{return i}}function d(h){if(h.nodeName.toLowerCase()==="ul"){return j$(h).parents("li")[0]}else{return h}}function e(){var h=f(this);if(!h){return}j$.data(h,"cancelHide",false);setTimeout(function(){if(!j$.data(h,"cancelHide")){j$(h).removeClass("show")}},300)}function b(){if(j$(window).width()>mqGlobalMenuWidth){var h=f(this);if(!h){return}j$.data(h,"cancelHide",true);j$(h).addClass("show")}}j$("ul, li",this).hover(b,e)})};function dp_count_shares(){if(thisBody.hasClass("no-sns-count")||typeof j$.fn.dpShareCount!=="function"){return}var b=thisBody[0].dataset.ctSnsCache||true,a=thisBody[0].dataset.ctSnsCacheTime||86400000;j$(".ct-shares").dpShareCount({cache:b,cacheTime:a,numSelector:".share-num"})}function dp_tab_widget(){j$("div.first_tab").show();j$("li.dp_tab_title").on("click",function(){if(j$(this).hasClass("active_tab")){return}var a=j$(this).parent(".dp_tab_widget_ul");var b=j$(this).attr("id");a.children("li").removeClass("active_tab");a.children("li").addClass("inactive_tab");j$(this).removeClass("inactive_tab");j$(this).addClass("active_tab");a.next(".dp_tab_contents").children("div").hide();if(a.next(".dp_tab_contents").children("#"+b+"_content .widget").children().is(":hidden")){a.next(".dp_tab_contents").children("#"+b+"_content .widget").children().show()}a.next(".dp_tab_contents").children("#"+b+"_content").fadeIn()})}function dp_reset_global_menu(e){var d=e||false,b="#header-menu",f="#header-menu-content",a="#global_menu_ul",c="mq_submenu_li";if(j$(window).width()>mqGlobalMenuWidth){if(mqFlag===true||d===true){j$(b).css({top:"0",opacity:1}).show();j$("."+c).remove();j$(f).removeClass("mq-bgcolor");j$(a).removeClass("mq-bgcolor").find(".sub-menu").removeClass("mq-open");j$(a).dropDown();j$(".loop-article.wide_mq").removeClass("wide_mq").addClass("wide")}mqFlag=false}else{if(!mqFlag||d===true){j$(b).css({top:"40px",opacity:0}).hide();j$(f).addClass("mq-bgcolor");j$(a+" li").find("ul").each(function(){j$(this).parent("li:last").children(".menu-link").after('<i class="'+c+' icon-plus"></i>')});j$("."+c).on("click",function(){var g=j$(this).siblings("ul.sub-menu");if(g.hasClass("mq-open")){g.removeClass("mq-open");j$(this).removeClass("icon-minus").addClass("icon-plus")}else{g.addClass("mq-open");j$(this).removeClass("icon-plus").addClass("icon-minus")}});j$(".loop-article.wide").removeClass("wide").addClass("wide_mq")}mqFlag=true}}function dp_masonry_posts(a,e,c,b){if(!j$(a)[0]){return}var e=!e?".loop-article":e,b=!b?0:b,c=!c?e:c;var d=j$(a).masonry();d.imagesLoaded(function(){d.masonry({itemSelector:e,isFitWidth:true,isAnimated:true,visibleStyle:{opacity:1,transform:"scale(1)"},hiddenStyle:{opacity:0,transform:"scale(1)"},isResizable:true,transitionDuration:"0.6s",gutter:b,columnWidth:c,horizontalOrder:true})});return d}function dp_floating_widget(){if(j$("#sidebar")[0]){if(j$("#dp_fix_widget")[0]){var l=10,m=120,a=0,i=document.getElementById("sidebar"),e=document.getElementById("dp_fix_widget"),c=document.getElementById("footer"),g=document.getElementById("main"),f=document.getElementById("widget-container-footer")||0,h=document.getElementById("footer"),d=i.offsetHeight+i.offsetTop-l,b=document.documentElement.clientHeight,k=0,j=0;if(f){j=f.offsetHeight+h.offsetHeight+l+m}else{j=h.offsetHeight+l+m}j$(window).scroll(function(){a=j$(window).scrollTop()+e.offsetHeight+f.offsetHeight;if(j$(window).scrollTop()>(d+l)&&j$(window).width()>mqGlobalMenuWidth){if(a>=c.offsetTop-m){k=b+f.offsetHeight-(c.offsetTop-j$(window).scrollTop());if((j>window.innerHeight)&&(i.offsetHeight>g.offsetHeight)){j$("#dp_fix_widget").css({position:"relative",top:"auto",bottom:"auto"})}else{j$("#dp_fix_widget").css({position:"fixed",top:"auto",bottom:k})}}else{j$("#dp_fix_widget").css({position:"fixed",top:l+"px",bottom:"auto"})}}if(j$(window).scrollTop()<=d||j$(window).width()<=mqGlobalMenuWidth){j$("#dp_fix_widget").css({position:"relative",top:"auto",bottom:"auto"})}})}}}function dp_navigate_anchor(a,b){j$(a).on("click",function(){window.location=j$(this).find(b).attr("href")})}function dp_scroll_event(){var a=j$(".header-menu-normal-page"),h=j$(".header-menu-front-page"),f=j$("#header-content").innerHeight(),d=j$(window).scrollTop();var i=j$(document).height(),g=j$(window).height()+j$(window).scrollTop(),b=j$("#footer").innerHeight(),c=j$("#widget-container-footer").innerHeight(),e=j$(document).height()-(j$(window).height()+j$(window).scrollTop())-300;if(j$(this).scrollTop()>50){j$(".home #header-bar:before").animate({opacity:1},300,"easeOutQuart")}else{j$(".home #header-bar:before").css({opacity:0}
1,300)}if(j$(this).scrollTop()>700&&b<e){gotop.fadeIn("fast")}else{gotop.fadeOut("fast")}}function dp_toggle_custom_toc(b){var d=j$(b);if(!d){return}if(d.hasClass("allow-toggle")){var c=d.find(".toc_title_block");c.on("click",function(){this.classList.toggle("close-toc")})}var a=d.find("a"),e=d.attr("data-margin")||0;a.on("click",function(){var f=this.getAttribute("href");if(!window.$page){window.$page=j$("body, html")}window.$page.animate({scrollTop:(f=="#"?$page:j$(f)).offset().top-e},400,"swing");return false})}j$(window).on({load:function(a){dp_floating_widget()},resize:function(a){dp_reset_global_menu()},scroll:function(a){dp_scroll_event()}});(function(){j$(".loop-article img").imagesLoaded(function(){j$(".loop-article").animate({opacity:1},600,"easeOutQuart")});if(typeof dp_theme_noactivate_copyright!=="undefined"){dp_theme_noactivate_copyright()}dp_reset_global_menu(true);thisBody.fitVids({ignore:".unfit"});dp_count_shares();j$("#expand_global_menu").on("click",function(){if(j$("#header-menu").stop().is(":hidden")){j$("#expand_global_menu").addClass("open");j$("#header-menu").show().animate({top:"60",opacity:"1"},300,"linear")}else{j$("#expand_global_menu").removeClass("open");j$("#header-menu").animate({top:"40",opacity:"0"},300,"linear");setTimeout(function(){j$("#header-menu").hide()},300)}});j$("#commentlist_div").on("click",function(){j$(this).addClass("active_tab");j$(this).removeClass("inactive_tab");j$("#trackbacks_div").addClass("inactive_tab");j$("#trackbacks_div").removeClass("active_tab");if(!j$("div.commentlist_div").is(":visible")){j$("div.commentlist_div").fadeIn()}j$("div.trackbacks_div").hide()});j$("#trackbacks_div").on("click",function(){j$(this).addClass("active_tab");j$(this).removeClass("inactive_tab");j$("#commentlist_div").addClass("inactive_tab");j$("#commentlist_div").removeClass("active_tab");if(!j$("div.trackbacks_div").is(":visible")){j$("div.trackbacks_div").fadeIn()}j$("div.commentlist_div").hide()});j$("div.first_tab").show();dp_tab_widget();dp_toggle_custom_toc(".dp_toc_container");var b=".loop-content.portfolio, .loop-content.magazine",d=".loop-article",a=0,c=d;if(j$("#content")[0]){masonryContainer=dp_masonry_posts(b,d,c,a)}dp_navigate_anchor(".recent_entries li",".excerpt_title_wid a");dp_navigate_anchor(".portfolio.loop-article ",".loop-title a");dp_navigate_anchor(".magazine.loop-article ",".loop-title a");dp_navigate_anchor(".dp_related_posts li","h4 a");gotop.on("click",function(){j$("body,html").animate({scrollTop:0},300,"easeOutQuart");return false})})();

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.