PageSourceSearch

https://www.fertilitydost.com/wp-content/cache/min/928/wp-content/…/dev-assets/js/custom.js?ver=1748419118

js fertilitydost.com collected 2026-10-06 21:55:32 UTC 6,936 bytes, 4 lines download raw bytes

1function ajaxCall(e){jQuery(".loader").show(),jQuery.ajax({type:"post",url:js_vars.ajax_url,processData:!1,contentType:!1,data:e,success:function(e){if(jQuery(".loader").hide(),1==e.response)void 0!==e.isModel&&jQuery(".btn-close").click(),swal.fire({position:"center",icon:"success",showConfirmButton:!1,text:e.message,timer:4e3,showCloseButton:!0}).then((function(){void 0!==e.redirect&&(window.location.href=e.redirect),void 0!==e.reload&&location.reload()}),4e3);else if(2==e.response)jQuery(".btn-close").click(),swal.fire({position:"center",icon:"error",showConfirmButton:!1,text:e.message,showCloseButton:!0});else for(var r in e.errors)e.errors.hasOwnProperty(r)&&(jQuery(`.${r}-error`).length>0?jQuery("<div class='error-msg'>"+e.errors[r]+"</div>").insertAfter(jQuery(`.${r}-error`)):jQuery("<div class='error-msg'>"+e.errors[r]+"</div>").insertAfter(jQuery('.dss-form-control[name="'+r+'"]')))},error:function(e){jQuery(".loader").hide(),swal.fire({position:"center",icon:"error",showConfirmButton:!1,text:"Something Wrong, please try again!",showCloseButton:!0})}})}
2function ajaxCallForData(e){return jQuery.ajax({type:"post",url:js_vars.ajax_url,processData:!1,contentType:!1,data:e})}
3function initTooltip(){[].slice.call(document.querySelectorAll('[data-bs-toggle="tooltip"]')).map((function(e){return new bootstrap.Tooltip(e)}))}
4jQuery(document).ready((function(){jQuery(document).on("keypress",".number_only",(function(e){var r=new RegExp(/^[0-9\s]+$/),t=String.fromCharCode(e.charCode?e.charCode:e.which);return!!r.test(t)||(e.preventDefault(),!1)})),jQuery(document).on("keypress",".alphabets_only",(function(e){var r=new RegExp(/^[A-Za-z \s]+$/),t=String.fromCharCode(e.charCode?e.charCode:e.which);return!!r.test(t)||(e.preventDefault(),!1)})),jQuery(document).on("keypress",".alphabets_numbers_only",(function(e){var r=new RegExp(/^[0-9a-zA-Z]+$/),t=String.fromCharCode(e.charCode?e.charCode:e.which);return!!r.test(t)||(e.preventDefault(),!1)})),jQuery(document).on("keypress",".numbers_only",(function(e){var r=new RegExp(/^[0-9]+$/),t=String.fromCharCode(e.charCode?e.charCode:e.which);return!!r.test(t)||(e.preventDefault(),!1)})),jQuery(document).on("keypress",".alphabets_numbers_space_only",(function(e){var r=new RegExp(/^[0-9a-zA-Z ]+$/),t=String.fromCharCode(e.charCode?e.charCode:e.which);return!!r.test(t)||(e.preventDefault(),!1)})),jQuery(document).on("keypress",".texarea_only",(function(e){var r=new RegExp(/^[0-9a-zA-Z,. ]+$/),t=String.fromCharCode(e.charCode?e.charCode:e.which);return!!r.test(t)||(e.preventDefault(),!1)})),jQuery(document).on("cut copy paste",".disable_copy_paste",(function(e){e.preventDefault()})),jQuery(document).on("keypress",".decimal_amount",(function(e){(46!=e.which||jQuery(this).val().length>0&&-1!=jQuery(this).val().indexOf("."))&&(e.which<48||e.which>57)&&e.preventDefault()})),jQuery("body").length>0&&jQuery("body").prepend('\n            \x3c!-- Google Tag Manager (noscript) --\x3e\n            <noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M85TRMPX"\n            height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>\n            \x3c!-- End Google Tag Manager (noscript) --\x3e\n            <div class="loader"></div>\n            '),jQuery(document).on("click",".btn-event-register",(function(){jQuery(".error-msg").remove(),jQuery(".dss-event-register-form .dss-btn-reset").click(),jQuery('.dss-event-register-form input[name="event-id"]').val(jQuery(this).attr("event-id")),jQuery("#event-register-modal .modal-title").html(jQuery(this).attr("event-title"))})),jQuery(document).on("click",".btn-event-view",(function(){jQuery(".event-view-title").html(jQuery(this).attr("name")),jQuery("#event-view-iframe").attr("src",jQuery(this).attr("url"))})),jQuery(document).on("submit",".dss-event-register-form",(function(e){e.preventDefault();var r=1,t=jQuery(this);if(jQuery(".error-msg").remove(),""==t.find('.dss-form-control[name="name"]').val()?(jQuery("<div class='error-msg'>This field is required</div>").insertAfter(t.find('.dss-form-control[name="name"]')),r=0):t.find('.dss-form-control[name="name"]').val().length<4&&(jQuery("<div class='error-msg'>This field must be at least 4 characters</div>").insertAfter(t.find('.dss-form-control[name="name"]')),r=0),""==t.find('.dss-form-control[name="email"]').val()?(jQuery("<div class='error-msg'>This field is required</div>").insertAfter(t.find('.dss-form-control[name="email"]')),r=0):/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(t.find('.dss-form-control[name="email"]').val())||(jQuery("<div class='error-msg'>
4This email format is invalid</div>").insertAfter(t.find('.dss-form-control[name="email"]')),r=0),""==t.find('.dss-form-control[name="number"]').val()?(jQuery("<div class='error-msg'>This field is required</div>").insertAfter(t.find('.dss-form-control[name="number"]')),r=0):10!=t.find('.dss-form-control[name="number"]').val().length&&(jQuery("<div class='error-msg'>This field must be 10 digits</div>").insertAfter(t.find('.dss-form-control[name="number"]')),r=0),1==r){let e=new FormData(this);e.append("action",t.attr("action")),ajaxCall(e)}})),jQuery(document).on("keyup",'.dss-event-register-form .dss-form-control[name="name"]',(function(){jQuery(this).parent().find(".error-msg").remove(),""==jQuery(this).val()?jQuery("<div class='error-msg'>This field is required</div>").insertAfter(jQuery(this)):jQuery(this).val().length<4&&jQuery("<div class='error-msg'>This field must be at least 4 characters</div>").insertAfter(jQuery(this))})),jQuery(document).on("keyup",'.dss-event-register-form .dss-form-control[name="email"]',(function(){jQuery(this).parent().find(".error-msg").remove(),""==jQuery(this).val()?(jQuery("<div class='error-msg'>This field is required</div>").insertAfter(jQuery(this)),flag=0):/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(jQuery(this).val())||(jQuery("<div class='error-msg'>This email format is invalid</div>").insertAfter(jQuery(this)),flag=0)})),jQuery(document).on("keyup",'.dss-event-register-form .dss-form-control[name="number"]',(function(){jQuery(this).parent().find(".error-msg").remove(),""==jQuery(this).val()?(jQuery("<div class='error-msg'>This field is required</div>").insertAfter(jQuery(this)),flag=0):10!=jQuery(this).val().length&&(jQuery("<div class='error-msg'>This field must be 10 digits</div>").insertAfter(jQuery(this)),flag=0)})),jQuery(document).on("click",".btn-checkout-post-detail",(function(){var e=jQuery('<form action="'+jQuery(this).attr("url")+'" method="post"><input type="hidden" name="program_id" value="'+jQuery(this).attr("pid")+'" /></form>');jQuery("body").append(e),e.submit()})),jQuery(".hfe-nav-menu-layout.vertical .menu-item a").attr("target","_blank"),jQuery("#video-popup-modal").on("hidden.bs.modal",(function(){jQuery(".dss-load-iframe-sec").html("")})),jQuery(document).on("click","#video-popup-modal .btn-close",(function(){jQuery(".dss-load-iframe-sec").html("")}))}))

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.