PageSourceSearch

https://schotelzaak.nl/wp-content/plugins/woocommerce-notification…woocommerce-notification.min.js?ver=1.3.9.8

js schotelzaak.nl collected 2026-10-08 12:07:05 UTC 7,364 bytes, 1 lines download raw bytes

1"use strict";jQuery(document).ready(function(){if(jQuery("#message-purchased").length>0){var o=woo_notification;0==_woocommerce_notification_params.billing&&0==_woocommerce_notification_params.detect&&o.detect_address()}}),jQuery(window).load(function(){var o=woo_notification;if(o.loop=_woocommerce_notification_params.loop,o.init_delay=_woocommerce_notification_params.initial_delay,o.total=_woocommerce_notification_params.notification_per_page,o.display_time=_woocommerce_notification_params.display_time,o.next_time=_woocommerce_notification_params.next_time,o.ajax_url=_woocommerce_notification_params.ajax_url,o.products=_woocommerce_notification_params.products,o.messages=_woocommerce_notification_params.messages,o.image=_woocommerce_notification_params.image,o.redirect_target=_woocommerce_notification_params.redirect_target,o.time=_woocommerce_notification_params.time,o.display_effect=_woocommerce_notification_params.display_effect,o.hidden_effect=_woocommerce_notification_params.hidden_effect,o.messages=_woocommerce_notification_params.messages,o.names=_woocommerce_notification_params.names,o.detect=_woocommerce_notification_params.detect,o.billing=_woocommerce_notification_params.billing,o.in_the_same_cate=_woocommerce_notification_params.in_the_same_cate,o.message_custom=_woocommerce_notification_params.message_custom,o.message_number_min=_woocommerce_notification_params.message_number_min,o.message_number_max=_woocommerce_notification_params.message_number_max,o.time_close=_woocommerce_notification_params.time_close,o.show_close=_woocommerce_notification_params.show_close,0==_woocommerce_notification_params.billing&&0==_woocommerce_notification_params.detect){o.cities=[o.getCookie("wn_city")],o.country=[o.getCookie("wn_country")];var t=o.getCookie("wn_ip");t&&"undefined"!=t&&o.init()}else o.cities=_woocommerce_notification_params.cities,o.country=_woocommerce_notification_params.country,o.init()});var woo_notification={billing:0,in_the_same_cate:0,loop:0,init_delay:5,total:30,display_time:5,next_time:60,count:0,intel:0,wn_popup:0,id:0,messages:"",products:"",ajax_url:"",display_effect:"",hidden_effect:"",time:"",names:"",cities:"",country:"",message_custom:"",message_number_min:"",message_number_max:"",detect:0,time_close:0,show_close:0,shortcodes:["{first_name}","{city}","{state}","{country}","{product}","{product_with_link}","{time_ago}","{custom}"],init:function(){this.ajax_url?this.ajax_get_data():setTimeout(function(){woo_notification.get_product()},1e3*this.init_delay),jQuery("#message-purchased").on("mouseenter",function(){window.clearInterval(woo_notification.wn_popup)}).on("mouseleave",function(){woo_notification.message_show()})},detect_address:function(){this.getCookie("wn_ip")||jQuery.getJSON("https://extreme-ip-lookup.com/json/",function(o){o.query&&woo_notification.setCookie("wn_ip",o.query,86400),o.city&&woo_notification.setCookie("wn_city",o.city,86400),o.country&&woo_notification.setCookie("wn_country",o.country,86400)})},ajax_get_data:function(){var o;this.ajax_url&&!this.getCookie("woo_notification_close")&&(o=this.id?"&id="+this.id:"",jQuery.ajax({type:"POST",data:"action=woonotification_get_product"+o,url:this.ajax_url,success:function(o){var t=jQuery.parseJSON(o);t&&"undefined"!=t&&t.length>0&&(woo_notification.products=t,woo_notification.message_show(),setTimeout(function(){woo_notification.get_product()},1e3*woo_notification.init_delay))},error:function(o){}}))},message_show:function(){var o=this.count++;if(!(this.total<=o)){window.clearInterval(this.intel);var t=jQuery("#message-purchased");t.hasClass(this.hidden_effect)&&jQuery(t).removeClass(this.hidden_effect),jQuery(t).addClass(this.display_effect).css("display","flex"),this.audio(),this.wn_popup=setTimeout(function(){woo_notification.message_hide()},1e3*this.display_time)}},message_hide:function(){var o=jQuery("#message-purchased");o.hasClass(this.display_effect)&&jQuery(o).removeClass(this.display_effect),jQuery("#message-purchased").addClass(this.hidden_effect),jQuery("#message-purchased").fadeOut(1e3),window.clearInterval(this.wn_popup),this.getCookie("woo_notification_close")||this.loop&&(this.intel=setInterval(function(){woo_notification.get_product()},1e3*this.next_time))},get_time_string:function(){var o=this.random(0,3600*this.time),t=parseFloat(o/86400);return t>1?1==(t=parseInt(t))?t+" "+_woocommerce_notification_params.str_day:t+" "+_woocommerce_notification_params.str_days:(t=parseFloat(o/3600))>1?1==(t=parseInt(t))?t+" "+_woocommerce_notification_params.str_hour:t+" "+_woocommerce_notification_params.str_hours:(t=parseFloat(o/60))>1?1==(t=parseInt(t))?t+" "+_woocommerce_notification_params.str_min:t+" "+_woocommerce_notification_params.str_mins:t<10?_woocommerce_notification_params.str_few_sec:(t=parseInt(t))+" "+_woocommerce_notification_params.str_secs},get_product:function(){var o,t,e,i,a,n,s=this.products,c=this.messages,_=this.image,r=this.redirect_target;if("undefined"!=s&&s&&c&&s.length>0&&c.length>0){var m=c[n=woo_notification.random(0,c.length-1)],u=s[n=woo_notification.random(0,s.length-1)];parseInt(this.billing)>0&&parseInt(this.in_the_same_cate)<1?(o=u.first_name,i=u.city,t=u.state,e=u.country,a=u.time):(this.names&&"undefined"!=this.names?(n=woo_notification.random(0,this.names.length-1),o=this.names[n]):o="",this.cities&&"undefined"!=this.cities?(n=woo_notification.random(0,this.cities.length-1),i=this.cities[n]):i="",t="",e=this.country,a=this.get_time_string());var f='<span class="wn-popup-product-title">'+u.title+"</span>",d="<a ";"1"===r&&(d+='target="_blank"'),d+=' href="'+u.url+'">'+u.title+"</a>";var p="<small>"+_woocommerce_notification_params.str_about+" "+a+" "+_woocommerce_notification_params.str_ago+" </small>",l=this.message_custom,h="";u.thumb&&("1"===_?(h="<a ","1"===r&&(h+='target="_blank"'),h+=' href="'+u.url+'"><img src="'+u.thumb+'"></a>'):h='<img src="'+u.thumb+'">'),l=l.replace("{number}",this.random(this.message_number_min,this.message_number_max));for(var w=this.shortcodes,g=[o,i,t,e,f,d,p,l],y=m,v=w.length-1;v>=0;v--)y=y.replace(w[v],g[v]);var j="";parseInt(this.show_close)>0&&(j='<div id="notify-close"></div>');var b=h+"<p>"+y+"</p>"+j;jQuery("#message-purchased").html(b),this.close_notify(),woo_notification.message_show()}},close_notify:function(){jQuery("#notify-close").unbind(),jQuery("#notify-close").bind("click",function(){woo_notification.message_hide(),parseInt(woo_notification.time_close)>0&&(jQuery("#message-purchased").unbind(),woo_notification.setCookie("woo_notification_close",1,3600*parseInt(woo_notification.time_close)))})},audio:function(){if(jQuery("#woocommerce-notification-audio").length>0){var o=document.getElementById("woocommerce-notification-audio"),t=function(){o.play(),setTimeout(function(){o.stop()},0),document.removeEventListener("touchstart",t,!1)};document.addEventListener("touchstart",t,!1),o.play()}},random:function(o,t){o=parseInt(o),t=parseInt(t);var e=Math.random()*(t-o);return Math.round(e)+o}
1,setCookie:function(o,t,e){var i=new Date;i.setTime(i.getTime()+1e3*e);var a="expires="+i.toUTCString();document.cookie=o+"="+t+";"+a+";path=/"},getCookie:function(o){for(var t=o+"=",e=decodeURIComponent(document.cookie).split(";"),i=0;i<e.length;i++){for(var a=e[i];" "==a.charAt(0);)a=a.substring(1);if(0==a.indexOf(t))return a.substring(t.length,a.length)}return""}};

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.