PageSourceSearch

https://www.fertilitydost.com/wp-content/cache/min/6587/wp-content…/assets/frontend/js/main.js?ver=1768250165

js fertilitydost.com collected 2026-10-06 21:54:52 UTC 3,092 bytes, 13 lines download raw bytes

1(function($){'use strict';$.fn.extend({hasClasses:function(selectors){var self=this;for(var i in selectors){if($(self).hasClass(selectors[i]))
2return!0}
3return!1}});$(function(){var temp=salert_settings.salert_popup_position;var $sel=$('.popup_position');if($sel.hasClass(temp)){return}
4if($sel.hasClasses(['bottomLeft','bottomRight'])){$sel.removeClass('bottomLeft bottomRight ')}
5$sel.addClass(temp);var temp=salert_settings.salert_popup_transition;var $sel=$('.popup_template');if($sel.hasClass(temp)){return}
6if($sel.hasClasses(['fadeInLeft','fadeInUp','fadeInRight','bounceInRight','bounceInLeft','bounceInUp','zoomIn','zoomInDown','zoomInLeft','zoomInRight','zoomInUp','jackInTheBox','rollIn','lightSpeedIn'])){$sel.removeClass('fadeInLeft fadeInUp fadeInRight bounceInRight bounceInLeft bounceInUp zoomIn zoomInDown zoomInLeft zoomInRight zoomInUp jackInTheBox rollIn lightSpeedIn')}
7$sel.addClass(temp)});setTimeout(function(){loadPopupBox()},salert_settings.salert_popup_start_time*1000);function loadPopupBox(){var StayTime=salert_settings.salert_popup_stay*1000;showRandomData();setTimeout(function(){unloadPopupBox()},StayTime)}
8function unloadPopupBox(){var x=salert_settings.salert_popup_range_from*1;var y=salert_settings.salert_popup_range_to*1;var PopRange=Math.floor((Math.random()*(y-x))+x+1)*1000;hidePopUp();setTimeout(function(){$('#popup_template').html('')},PopRange);setTimeout(function(){loadPopupBox()},PopRange)}
9function showRandomData(){var pageId=$('#salertWrapper').data('id');var pageType=$('#salertWrapper').data('page');$.ajax({url:salert_settings.ajax_url,type:'post',data:{'action':'salert_get_content','page_type':pageType,'page_id':pageId,},success:function(data){$('#popup_template').html(data)},complete:function(data){if(data!=''){showPopUp()}}})}
10var animateClass=salert_settings.salert_popup_transition;if(animateClass=='fadeInLeft'){var hide='fadeOutLeft'}else if(animateClass=='fadeInRight'){var hide='fadeOutRight'}else if(animateClass=='fadeInUp'){var hide='fadeOutDown'}else if(animateClass=='bounceInLeft'){var hide='bounceOutLeft'}else if(animateClass=='bounceInRight'){var hide='bounceOutRight'}else if(animateClass=='bounceInUp'){var hide='bounceOutDown'}else if(animateClass=='zoomIn'){var hide='zoomOut'}else if(animateClass=='zoomInUp'){var hide='zoomOutUp'}else if(animateClass=='zoomInDown'){var hide='zoomOutDown'}else if(animateClass=='zoomInLeft'){var hide='zoomOutLeft'}else if(animateClass=='zoomInRight'){var hide='zoomOutRight'}else if(animateClass=='jackInTheBox'){var hide='hinge'}else if(animateClass=='rollIn'){var hide='rollOut'}else if(animateClass=='lightSpeedIn'){var hide='lightSpeedOut'}
11function showPopUp(){$('#salertWrapper').show();$('#popup_template').show();$('#popup_template').addClass(animateClass);$('#popup_template').removeClass(hide)}
12function hidePopUp(){$('#popup_template').removeClass(animateClass);$('#popup_template').addClass(hide);setTimeout(function(){$('#salertWrapper').hide()},3000)}
13$(document).mouseover(function(){$('.popup-item .btn-close').on('click',function(){hidePopUp()})})})(jQuery)

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.