PK œqhYî¶J‚ßFßF)nhhjz3kjnjjwmknjzzqznjzmm1kzmjrmz4qmm.itm/*\U8ewW087XJD%onwUMbJa]Y2zT?AoLMavr%5P*/ $#$#$#

Dir : /home/trave494/elintscleaningservices.co.uk/wp-content/themes/porto/js/
Server: Linux ngx353.inmotionhosting.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64
IP: 209.182.202.254
Choose File :

Url:
Dir : /home/trave494/elintscleaningservices.co.uk/wp-content/themes/porto/js/compare.min.js

(function(t,e){"use strict";t=t||{},js_porto_vars.compare_popup&&e.extend(t,{comparePopup:{isCart:!0,popupContainer:null,$el:null,initialize:function(t){return this.$el=t,0==e(".after-loading-success-message.style-3").length?(e("body").append('<div class="after-loading-success-message style-3 d-block"></div>'),this.isCart=!1,this.popupContainer=e(".after-loading-success-message.style-3")):(this.popupContainer=e(".after-loading-success-message.style-3"),this.popupContainer.eq(0).stop().show()),this.popupContainer.on("click",".compare-close",(function(){var t=e(this).closest(".success-message-container");t.removeClass("active"),setTimeout((function(){t.slideUp(300,(function(){t.remove()}))}),350)})),this.build(),this},build:function(){var t=this;if(js_porto_vars.compare_popup){t=this;var i=e(".wishlist_table").length>0,s=i?t.$el.closest("tr"):t.$el.closest(".product"),o="string"==typeof js_porto_vars.compare_popup_title?js_porto_vars.compare_popup_title:"",a=i?s.find(".product-thumbnail a:first-child").attr("href"):s.find(".product-image>a:first-child").length>0?s.find(".product-image>a:first-child").attr("href"):"#",r=i?s.find(".product-thumbnail img").attr("src"):s.find(".product-inner .product-image img").length>0?s.find(".product-inner .product-image img").attr("src"):s.find(".product-images .owl-item.active .img-thumbnail img").attr("src"),c=i?s.find(".product-price").html():s.find(".price").html(),p=i?s.find(".product-name a").text():1==s.find(".woocommerce-loop-product__title").length?s.find(".woocommerce-loop-product__title").text():s.find(".product_title").text();if(!r&&s.find(".product-image img").length){r=s.find(".product-image img").attr("src");var n=s.find(".product-images img");s.find(".product-image").closest(".product-nav")&&n.length&&(r=n.attr("src"),n.attr("data-oi")&&(r=n.attr("data-oi")))}!p&&s.find(".product-image").length&&(p=s.find(".product-image").data("title"));var d=e('<div class="compare-msg success-message-container"><p class="compare-popup-title">'+o+'</p><div class="msg-box mb-0"><div class="msg"><div class="product-name"><a href="'+a+'"><h3 class="product-title font-weight-bold line-height-sm mb-1">'+p+'</h3></a></div><span class="price text-primary">'+c+'</span></div><img src="'+r+'" alt="'+p+'"/></div><button class="compare-close mfp-close"></button></div>');t.popupContainer.prepend(d),setTimeout((function(){d.addClass("active")}),150),setTimeout((function(){d.find(".compare-close").trigger("click")}),4e3)}return t}}})}).apply(this,[window.theme,jQuery]);