PATH:
home
/
letacommog
/
aperobusiness
/
wp-content
/
themes
/
deep
/
assets
/
dist
/
js
/
frontend
!function(a){var t=function(a,c){function r(){c(".magazin-wrap.magazin-1").each(function(){c(this).find(".magazin-wrap-content").simplePagination({perPage:c(this).closest(".magazin-wrap").data("post_prepage"),currentPage:1,containerClass:"pagination",previousButtonClass:"magazine-previous",nextButtonClass:"magazine-next",previousButtonText:'<i class="icon-arrows-slim-left"></i>',nextButtonText:'<i class="icon-arrows-slim-right"></i>'}),c(this).find(".pagination").slice(1).remove()}),c(".magazin-wrap.magazin-2").each(function(){c(this).find(".magazin-wrap-content").simplePagination({perPage:c(this).closest(".magazin-wrap").data("post_prepage")-1,currentPage:1,containerClass:"pagination",previousButtonClass:"magazine-previous",nextButtonClass:"magazine-next",previousButtonText:'<i class="icon-arrows-slim-left"></i>',nextButtonText:'<i class="icon-arrows-slim-right"></i>'}),c(this).find(".pagination").slice(1).remove()}),c(".magazin-wrap.magazin-3").each(function(){c(this).find(".magazin-wrap-content").simplePagination({perPage:c(this).closest(".magazin-wrap").data("post_prepage")-2,currentPage:1,containerClass:"pagination",previousButtonClass:"magazine-previous",nextButtonClass:"magazine-next",previousButtonText:'<i class="icon-arrows-slim-left"></i>',nextButtonText:'<i class="icon-arrows-slim-right"></i>'}),c(this).find(".pagination").slice(1).remove()})}function o(){c(".magazin-wrap").find(".pagination").find("a").on("click",function(a){a.preventDefault();var t=c('<div class="wn-circle-side-wrap"><div data-loader="wn-circle-side"></div></div>'),e=c(this);t.appendTo(e.closest(".magazin-wrap")),setTimeout(function(){t.remove()},2e3)})}c.fn.simplePagination=function(a){var s=c.extend({},{perPage:5,containerClass:"",previousButtonClass:"",nextButtonClass:"",previousButtonText:"Previous",nextButtonText:"Next",currentPage:1},a);return this.each(function(){var e=c(".wn-pagination",this),a=Math.ceil(e.length/s.perPage),n=document.createElement("div"),t=document.createElement("a"),i=document.createElement("a"),r=document.createElement("span");function o(){var a=(s.currentPage-1)*s.perPage+1,t=a+s.perPage-1;t>e.length&&(t=e.length),e.hide(),e.slice(a-1,t).fadeIn("400"),e.length<=s.perPage?c(n).hide():c(n).fadeIn("400")}t.innerHTML=s.previousButtonText,i.innerHTML=s.nextButtonText,n.className=s.containerClass,t.className=s.previousButtonClass,i.className=s.nextButtonClass,n.appendChild(t),n.appendChild(r),n.appendChild(i),c(this).after(n),o(),c(i).click(function(){s.currentPage+1>a?s.currentPage=a:s.currentPage++,setTimeout(o,2e3)}),c(t).click(function(){s.currentPage-1<1?s.currentPage=1:s.currentPage--,setTimeout(o,2e3)})})},r(),o(),c(".magazin-wrap").each(function(){c(this).find(".magazin-cat-nav").find("a").on("click",function(a){a.preventDefault();var e=c(this),n=c('<div class="wn-circle-side-wrap"><div data-loader="wn-circle-side"></div></div>'),i=e.closest(".magazin-wrap");i.data("post-name"),e.data("cat-slug");n.appendTo(e.closest(".magazin-wrap")),c.ajax({url:deep_localize.deep_ajax,type:"POST",data:{action:"deep_magazine_ajax",param_category:e.attr("data-param_category"),post_title:i.attr("data-post_title"),post_url:i.attr("data-post_url"),post_number:i.attr("data-post_number"),post_prepage:i.attr("data-post_prepage"),excerpt_value:i.attr("data-excerpt_value"),sort_order:i.attr("data-sort_order"),type:i.attr("data-type"),param_tag:i.attr("data-param_tag"),pagination:i.attr("data-pagination"),uniqid:"",reviews:""},success:function(a){i.find(".magazin-cat-nav").find("li").find("a").removeClass("colorf"),e.addClass("colorf"),i.find(".pagination").remove();var t=c(a).find(".magazin-wrap-content");i.find(".magazin-wrap-content").replaceWith(t),r(),o(),n.remove()}})})})};a(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/magazine.default",t)})}(jQuery);
[+]
..
[-] video-ply-btn.js
[edit]
[-] svg.js
[edit]
[-] postslider.js
[edit]
[-] wn-like.js
[edit]
[-] toggle-box.js
[edit]
[-] countdown.js
[edit]
[-] facebook-app.js
[edit]
[-] title-builder.js
[edit]
[-] wn-tabs.js
[edit]
[-] wn-google-map.js
[edit]
[-] latestfromblog.js
[edit]
[-] testimonial-slider.js
[edit]
[-] info-box.js
[edit]
[-] our-clients.js
[edit]
[-] tilt.js
[edit]
[-] process-carousel.js
[edit]
[-] tiltvc.js
[edit]
[-] jquery.plugins.js
[edit]
[-] content-slider.js
[edit]
[-] cat-tab.js
[edit]
[-] widget-tabs.js
[edit]
[-] content-carousel.js
[edit]
[-] deep-gallery-vc.js
[edit]
[-] donate.js
[edit]
[-] our-team.js
[edit]
[-] piecharts.js
[edit]
[-] wn-testimonial-tabs.js
[edit]
[-] beforeafter.js
[edit]
[-] jquery.stats.min.js
[edit]
[-] tab-content.js
[edit]
[-] service-carousel.js
[edit]
[-] contact-form.js
[edit]
[-] blog.js
[edit]
[-] socials.js
[edit]
[-] deep-gallery.js
[edit]
[-] reservation.js
[edit]
[-] testimonial-carousel.js
[edit]
[-] portfolio-carousel.js
[edit]
[-] webnus-custom.js
[edit]
[-] googlemap.js
[edit]
[-] image-carousel.js
[edit]
[-] sermon.js
[edit]
[-] wn-magazine.js
[edit]