var _____WB$wombat$assign$function_____ = function(name) {return (self._wb_wombat && self._wb_wombat.local_init && self._wb_wombat.local_init(name)) || self[name]; }; if (!self.__WB_pmw) { self.__WB_pmw = function(obj) { this.__WB_source = obj; return this; } } { let window = _____WB$wombat$assign$function_____("window"); let self = _____WB$wombat$assign$function_____("self"); let document = _____WB$wombat$assign$function_____("document"); let location = _____WB$wombat$assign$function_____("location"); let top = _____WB$wombat$assign$function_____("top"); let parent = _____WB$wombat$assign$function_____("parent"); let frames = _____WB$wombat$assign$function_____("frames"); let opener = _____WB$wombat$assign$function_____("opener"); SGPopup.prototype.cantPopupClose=function(){this.popupEscKey=false;this.popupCloseButton=false;this.popupOverlayClose=false;this.popupContentClick=false;};SGPopup.prototype.forMobile=function(){if(/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)){return true;} return false;};SGPopup.inactivityIdicator=0;SGPopup.prototype.showPopupAfterInactivity=function(popupId){var that=this;var data=SG_POPUP_DATA[popupId];var inactivityTimout=data['inactivity-timout']+"000";var idleInterval=setInterval(function(){that.timerIncrement(popupId,idleInterval)},inactivityTimout);jQuery(window).mousemove(function(e){SGPopup.inactivityIdicator++;});jQuery(window).keypress(function(e){SGPopup.inactivityIdicator++;});window.addEventListener("touchstart",handlerFunction,false);function handlerFunction(event){SGPopup.inactivityIdicator++;}};SGPopup.prototype.timerIncrement=function(popupId,idleInterval){var lastActivity=SGPopup.inactivityIdicator;if(lastActivity==0){clearInterval(idleInterval);this.showPopup(popupId,true);} SGPopup.inactivityIdicator=0;};SGPopup.prototype.onScrolling=function(popupId){var that=this;var beforeScrolingPrsent=(SG_POPUP_DATA[popupId]['onScrolling'])?SG_POPUP_DATA[popupId]['beforeScrolingPrsent']:'';var scrollStatus=false;jQuery(window).on('scroll',function(){var scrollTop=jQuery(window).scrollTop();var docHeight=jQuery(document).height();var winHeight=jQuery(window).height();var scrollPercent=(scrollTop)/(docHeight-winHeight);var scrollPercentRounded=Math.round(scrollPercent*100);if(beforeScrolingPrsentloadedContent.clientHeight;if(jQuery(".js-sg-push-on-bottom").length!=0&&loadConetnetHasScroll){jQuery(".js-sg-push-on-bottom").removeClass("sg-push-to-bottom");}};SGPopup.prototype.sgPopupShouldOpen=function(popupId){if(typeof SG_POPUP_DATA[popupId]=="undefined"){return false;} var openMobile=SG_POPUP_DATA[popupId]['openMobile'];var hideForMobile=SG_POPUP_DATA[popupId]['forMobile'];var popupThisOften=SG_POPUP_DATA[popupId]['repeatPopup'];var popupType=SG_POPUP_DATA[popupId]['type'];var popupNumberLimit=SG_POPUP_DATA[popupId]['popup-appear-number-limit'];var hasPopupCustomEvent=SG_POPUP_DATA[popupId]['customEvent'];var isMobile=this.forMobile();if(isMobile==false&&openMobile){return false;} if(isMobile==true&&hideForMobile){return false;} if(popupThisOften){this.numberLimit=popupNumberLimit;var canOpen=this.canOpenOnce(popupId);if(!canOpen){return false;}} if(typeof hasPopupCustomEvent!='undefined'&&hasPopupCustomEvent!='0'){return false;} return true;};SGPopup.prototype.popupOpenOnWindowLoad=function(popupId){sgAddEvent(window,'load',this.popupOpenById(popupId));};jQuery(document).ready(function($){var popupObj=new SGPopup();popupObj.proInit();var that=this;}); } /* playback timings (ms): captures_list: 84.268 exclusion.robots: 0.124 exclusion.robots.policy: 0.112 cdx.remote: 0.083 esindex: 0.014 LoadShardBlock: 38.607 (3) PetaboxLoader3.datanode: 71.012 (5) CDXLines.iter: 18.849 (3) load_resource: 138.754 (2) PetaboxLoader3.resolve: 71.596 (2) */