Skip to Content

JavaScript File

URL: https://www.lifestylefoodies.com/wp-content/themes/soledad/js/more-post.min.js
HTTP Status: 200 OK
MIME Type: application/x-javascript
Last Modified: Wed, 31 Aug 2022 17:20:04 GMT
Download Time: Less than a second
Cookies: None
Size: 5 KB
HTTP Headers:  11 headers
Links In:  1 pages
Links Out:  0 links
Images:  0 images
CSS:  0 files
JavaScript:  0 files
OK Issues: No issues found

1jQuery(document).ready(function(b){jQuery("body").on("click",".penci-ajax-more-click .penci-ajax-more-button",function(a){var o,n,r,s,c,e,t,i,l,d,p,u,y,m,h,f,v,g,C,j,k;a.preventDefault(),b(this).hasClass("loading-posts")||(o=b(this),n=o.data("layout"),r=o.data("number"),s=o.data("mes"),c=b(this).attr("data-offset"),e=o.data("exclude"),t=o.data("from"),i=o.data("come_from"),l=o.data("mixed"),d=o.data("query"),p=o.data("infeedads"),u=o.data("number"),y=o.data("query_type"),m=o.data("archivetype"),C=o.data("archivevalue"),h=o.data("tag"),f=o.data("cat"),v=o.data("author"),g=o.data("template"),o.addClass("loading-posts"),j=o.attr("data-blockuid"),k=new penciBlock,jQuery.each(penciBlocksArray,function(a,e){e.blockID===j&&(k=penciBlocksArray[a])}

2),a=(a=k).atts_json&&JSON.parse(a.atts_json),C={action:"penci_more_post_ajax",query:d,offset:c,mixed:l,layout:n,exclude:e,from:t,comefrom:i,datafilter:a,template:g,ppp:r,tag:h,author:v,cat:f,number:u,infeedads:p,query_type:y,archivetype:m,archivevalue:C,nonce:penci_ajax_more_posts.nonce}

3,b.ajax({type:"POST",dataType:"html",url:ajax_var_more.url,data:C,success:function(a){var e,t,i;a?(e=parseInt(c)+r,t=o.parent().parent().find(".penci-wrapper-data"),o.attr("data-offset",e),"masonry"===n||"masonry-2"===n?(i=b(a),t.append(i).isotope("appended",i).imagesLoaded(function(){t.isotope("layout")}

4),b(".container").fitVids(),b(".penci-wrapper-data .penci-owl-carousel-slider").each(function(){var a=b(this),e=!1;"rtl"===b("html").attr("dir")&&(e=!0);e={rtl:e,loop:!0,margin:0,items:1,navSpeed:600,lazyLoad:!0,dotsSpeed:600,nav:!0,dots:!1,navText:['<i class="penciicon-left-chevron"></i>','<i class="penciicon-right-chevron"></i>'],autoplay:!0,autoplayTimeout:5e3,autoHeight:!0,autoplayHoverPause:!0,autoplaySpeed:600}

5;a.owlCarousel(e)}

6),b().easyPieChart&&b(".penci-piechart").each(function(){var n=b(this);n.one("inview",function(a,e,t,i){var o={barColor:n.data("color"),trackColor:n.data("trackcolor"),scaleColor:!1,lineWidth:n.data("thickness"),size:n.data("size"),animate:1e3}

7;n.easyPieChart(o)}

8)}

9)):(i=b(a),t.append(i),b(".container").fitVids(),b(".penci-wrapper-data .penci-owl-carousel-slider").each(function(){var a=b(this),e=!1,t=!1;"rtl"===b("html").attr("dir")&&(t=!0),a.attr("data-lazy")&&(e=!0);var i={rtl:t,loop:!0,margin:0,items:1,navSpeed:600,dotsSpeed:600,lazyLoad:e,nav:!0,dots:!1,navText:['<i class="penciicon-left-chevron"></i>','<i class="penciicon-right-chevron"></i>'],autoplay:!0,autoplayTimeout:5e3,autoHeight:!0,autoplayHoverPause:!0,autoplaySpeed:600}

10;a.imagesLoaded(function(){a.owlCarousel(i)}

11),a.on("changed.owl.carousel",function(a){}

12)}

13),b().easyPieChart&&b(".penci-piechart").each(function(){var n=b(this);n.one("inview",function(a,e,t,i){var o={barColor:n.data("color"),trackColor:n.data("trackcolor"),scaleColor:!1,lineWidth:n.data("thickness"),size:n.data("size"),animate:1e3}

14;n.easyPieChart(o)}

15)}

16),a=b(".penci-post-gallery-container.justified"),i=b(".penci-post-gallery-container.masonry"),b().justifiedGallery&&a.length&&b(".penci-post-gallery-container.justified").each(function(){var a=b(this);a.justifiedGallery({rowHeight:a.data("height"),lastRow:"nojustify",margins:a.data("margin"),randomize:!1}

17)}

18),b().isotope&&i.length&&b(".penci-post-gallery-container.masonry .item-gallery-masonry").each(function(){var a,e=b(this);e.attr("title")&&(a=e.attr("title"),e.children().append('<div class="caption">'+a+"</div>"))}

19),i.length&&i.each(function(){var a=b(this);a.imagesLoaded(function(){a.isotope({itemSelector:".item-gallery-masonry",transitionDuration:".55s",layoutMode:"masonry"}

20),a.addClass("loaded"),b(".penci-post-gallery-container.masonry .item-gallery-masonry").each(function(){var o=b(this);o.one("inview",function(a,e,t,i){o.addClass("animated")}

21)}

22)}

23)}

24),b().theiaStickySidebar&&(i=90,b("body").hasClass("admin-bar")&&(i=122),b("#main.penci-main-sticky-sidebar, #sidebar.penci-sticky-sidebar").theiaStickySidebar({additionalMarginTop:i}

25))),o.removeClass("loading-posts")):(o.find(".ajax-more-text").text(s),o.find("i").remove(),o.removeClass("loading-posts"),setTimeout(function(){o.parent().remove()}

26,1200))}

27,error:function(a,e,t){console.log(a+" :: "+e+" :: "+t)}

28}

29))}

30)}

31);