PageSourceSearch

https://www.mycricketers.com.au/wp-content/plugins/popover-rsdfix/js/public.min.js?ver=7.1.2

js mycricketers.com.au collected 2026-10-04 11:54:38 UTC 8,697 bytes, 2 lines download raw bytes

1!function(){window.IncPopup=function o(t){var e=this;e.data=t.popup,e.have_popup=!1,e.ajax_data={},e.opened=0,e.popup=null,e.close_popup=function(){if(jQuery("html").removeClass("can-scroll no-scroll"),e.data.display_data.click_multi?e.popup.hide():(e.popup.destroy(),e.have_popup=!1),jQuery(document).trigger("popup-closed",[e,e.data]),jQuery(document).trigger("popover-closed",[e,e.data]),e.data.close_hide){var o=e.data.expiry||365;if(t.preview)return!1;e.set_cookie("po_h",1,o)}return!1},e.close_popup_forever=function(){e.data.close_hide=!0,e.close_popup()},e.background_clicked=function(o){var t=jQuery(o.target);if(t.hasClass("wdpu-background")){if(!e.data.overlay_close)return;e.close_popup()}},e.move_popup=function(o){var t,p,a=0,n=0,u=null,i=o.find(".resize"),r=o.find(".move"),d=o.find(".wdpu-image img"),c=o.find(".popup");e.data.custom_size&&i.length&&(e.data.height&&!isNaN(e.data.height)&&(i.data("reduce-height")&&(u=jQuery(i.data("reduce-height")),n=u.outerHeight()),p=e.data.height-n,p<100&&(p=100),i.height(p)),e.data.width&&!isNaN(e.data.width)&&(i.data("reduce-width")&&(u=jQuery(i.data("reduce-width")),a=u.outerWidth()),t=e.data.width-a,t<100&&(t=100),i.width(t)));var s=function(){if(!r.hasClass("no-move-x")){var o=jQuery(window).width(),t=c.outerWidth(),e=(o-t)/2;e<0&&(e=0),r.css({left:e})}if(!r.hasClass("no-move-y")){var p=jQuery(window).height(),a=c.outerHeight(),n=(p-a)/2;n<0&&(n=0),r.css({top:n})}if(d.length){var u,i,s=d.width(),l=d.height(),_=d.parent().width(),w=d.parent().height();s>_?(u=(_-s)/2,d.css({"margin-left":u})):d.css({"margin-left":0}),l>w?(i=(w-l)/2,d.css({"margin-top":i})):d.css({"margin-top":0})}};window.setTimeout(s,20),s()},e.reject=function(){e.have_popup=!1,e.data={}},e.prepare=function(){if(jQuery(document).trigger("popup-init",[e,e.data]),e.have_popup)switch(e.data.display){case"scroll":jQuery(window).on("scroll",e.show_at_position);break;case"anchor":jQuery(window).on("scroll",e.show_at_element);break;case"delay":var o=1e3*e.data.display_data.delay;"m"===e.data.display_data.delay_type&&(o*=60),window.setTimeout(e.show_popup,o);break;default:window.setTimeout(function(){"function"==typeof e.custom_handler&&e.custom_handler(e)},20)}},e.show_at_position=function(o){var t,p,a=jQuery(this),n=a.scrollTop();"px"===e.data.display_data.scroll_type?n>=e.data.display_data.scroll&&(jQuery(window).off("scroll",e.show_at_position),e.show_popup()):(t=jQuery(document).height()-jQuery(window).height(),p=100*n/t,p>=e.data.display_data.scroll&&(jQuery(window).off("scroll",e.show_at_position),e.show_popup()))},e.show_at_element=function(o){var t=jQuery(e.data.display_data.anchor),p=jQuery(window).scrollTop(),a=p+jQuery(window).height(),n=t.offset().top,u=a-n;u>10&&(jQuery(window).off("scroll",e.show_at_element),e.show_popup())},e.show_popup=function(){return jQuery(document).trigger("popup-open",[e]),!1},e._show=function(){var o,p="auto",a="auto";return o=parseInt(e.get_cookie("po_c"),10),isNaN(o)&&(o=0),e.set_cookie("po_c",o+1,365),e.data.custom_size&&(p=e.data.width,a=e.data.height),e.opened+=1,e.popup=wpmUi.popup(t.popup.html,t.popup.styles).size(p,a).animate(e.data.animation_in,e.data.animation_out).onresize(e.move_popup).on("click",".wdpu-background",e.background_clicked).on("click",".wdpu-hide-forever",e.close_popup_forever).on("click",".wdpu-close",e.close_popup).on("click",".close",e.close_popup).on("click",".wdpu-cta",e.cta_click).off("submit","form",e.form_submit).on("submit","form",e.form_submit).show(),e.data.scroll_body?jQuery("html").addClass("can-scroll"):jQuery("html").addClass("no-scroll"),jQuery(document).trigger("popup-show",[e]),!0},e.load_popup=function(o,p){void 0===o&&t.preview||(e.have_popup=!1,jQuery(document).trigger("popups-load",[t,o,p]))},e.cta_click=function(){return jQuery(document).trigger("popup-cta-click",[e]),!0},e.form_submit=function(t){function p(){var t=!1;"complete"!==i[0].contentDocument.readyState||o.doing_ajax?(r+=1,r>200&&(jQuery(document).trigger("popup-submit-timeout",[e,e.data]),t=!0)):t=!0,t&&(window.clearInterval(u),n())}function a(o,t,p){var a=o,n=c.find(".wdpu-msg-inner"),u=c.find(".wdpu-title"),i=c.find(".wdpu-subtitle");
1a instanceof jQuery||(a=jQuery("<div></div>").html(o)),a instanceof jQuery&&(a.hasClass("wdpu-msg-inner")?n.replaceWith(a):n.find(".wdpu-content").empty().append(a)),void 0!==t&&u.html(t),void 0!==p&&i.html(p),jQuery(document).trigger("popup-init",[e,e.data])}function n(){var o,t,p,n,u;if(jQuery(document).trigger("popup-submit-process",[i,e,e.data]),!e.data.form_submit)return!1;u="ignore"!==e.data.form_submit;try{p=jQuery(_,i[0].contentDocument),n=e.data.did_ajax}catch(r){p=jQuery("<html></html>"),n=!0}e.data.close_popup=!1,s.removeClass("wdpu-loading"),o=p.find(".wdpu-msg-inner"),t=c.find(".wdpu-msg-inner"),jQuery("#wdpu-frame").remove(),e.data.last_ajax=void 0,a(o)}var u,i,r,d=jQuery(this),c=d.parents(".wdpu-container").first(),s=c.find(".wdpu-msg"),l=jQuery('<input type="hidden" name="_po_method_" />'),_=".wdpu-"+e.data.popup_id;return!c.length||("redirect"!==e.data.form_submit&&(i=jQuery('<iframe id="wdpu-frame" name="wdpu-frame"></iframe>').hide().appendTo("body"),d.attr("target","wdpu-frame"),l.appendTo(d).val("raw")),s.addClass("wdpu-loading"),"redirect"===e.data.form_submit?window.setTimeout(function(){e.close_popup()},10):o.doing_ajax?(e.data.did_ajax=!0,r=0,u=window.setInterval(p,50)):(e.data.did_ajax=!1,i.load(n)),!0)},e.init=function(){t.popup?(e.have_popup=!0,e.data=t.popup,e.exec_scripts(),e.prepare()):e.load_popup()},e.exec_scripts=function(){var o;void 0!==e.data.script&&(o=new Function("me",e.data.script))(e)},e.close=function(){return e.close_popup()},e.open=function(){return e.show_popup()},e.status=function(){return{state:o.po_status,queue:o.po_queue,current:o.po_current}},e.get_cookie=function(o){var t,p,a,n=document.cookie.split(";");for(a=e.data&&e.data.popup_id?o+"-"+e.data.popup_id+"=":o+"=",t=0;t<n.length;t+=1){for(p=n[t];" "===p.charAt(0);)p=p.substring(1,p.length);if(0===p.indexOf(a))return p.substring(a.length,p.length)}return null},e.set_cookie=function(o,p,a){var n,u,i;t.preview||(isNaN(a)?u="":(n=new Date,n.setTime(n.getTime()+24*a*60*60*1e3),u="; expires="+n.toGMTString()),i=e.data&&e.data.popup_id?o+"-"+e.data.popup_id:o,document.cookie=i+"="+p+u+"; path=/")};var p={};return p.extend=e,e.data&&e.data.preview?(p.init=e.init,p.load=e.load_popup):t.dynamic?(e.init(),p.open=e.show_popup,p.close=e.close_popup,p.status=e.status):(p.init=e.init,p.load=e.load_popup),p}}(),function(){function o(o,e){"closed"===IncPopup.po_status?e._show()?(IncPopup.po_current=e,IncPopup.po_status="open"):t(null,e):IncPopup.po_queue[IncPopup.po_queue.length]=e}function t(t,e){if(IncPopup.po_status="closed",IncPopup.po_current=null,IncPopup.po_queue.length>0){var p=IncPopup.po_queue.shift();o(null,p)}}function e(o,t,e,n){var u,i,r=0,d=a(window.location.toString()),c=a(document.referrer.toString()),s=null,l=function(o){s=jQuery.extend({},t),s.popup=o,p(s)};return window.force_popover&&(r=window.force_popover.toString()),void 0!==e&&(r=e.toString()),t.ajax_data=t.ajax_data||{},i=jQuery.extend({},t.ajax_data),i.action="inc_popup",i["do"]=t["do"],i.thefrom=d,i.thereferrer=c,r&&(i.po_id=r),n&&(i.data=n),t.preview&&(i.preview=!0),u={url:t.ajaxurl,dataType:"jsonp",jsonpCallback:"po_data",data:i,success:function(o){l(o)},complete:function(){jQuery(document).trigger("popup-load-done",[s])}},jQuery.ajax(u)}function p(o){if(o){var t=function(o){o&&(o.popup&&o.popup.html&&jQuery('<style type="text/css">'+o.popup.styles+"</style>").appendTo("head"),window.inc_popup=new IncPopup(o),window.inc_popups[window.inc_popups.length]=window.inc_popup,jQuery(document).trigger("popup-initialized",[window.inc_popup]),o.noinit||o.preview||window.inc_popup.init())};if(o.popup instanceof Array)for(var e=0;e<o.popup.length;e+=1){var p=jQuery.extend({},o);p.popup=o.popup[e],t(p)}else o instanceof Object&&t(o)}}function a(o){for(var t=[],e=0;e<o.length;e++){if(e+1<o.length){var p=o.charCodeAt(e),a=o.charCodeAt(e+1);if(p>=55296&&p<=56319&&56320===(64512&a)||a>=768&&a<=879){t.unshift(o.substring(e,e+2)),e++;continue}}t.unshift(o[e])}return t.join("")}IncPopup.po_status="closed",IncPopup.po_queue=[],IncPopup.po_current=null,IncPopup.recent_ajax_calls=[],IncPopup.doing_ajax=!1,jQuery(document).on("popup-open",o),jQuery(document).on("popup-closed",t),jQuery(document).on("popups-load",e),jQuery(document).ajaxStart(function(o){IncPopup.doing_ajax=!0}),jQuery(document).ajaxComplete(function(o,t,e){IncPopup.doing_ajax=!1,IncPopup.recent_ajax_calls.unshift(t)}),jQuery(function(){window.inc_popups=[],window._popup_data&&p(window._popup_data)})}();
2//# sourceMappingURL=public.min.js.map

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.