PageSourceSearch

https://schulzmuseum.org/wp-content/plugins/mystickymenu/dist/js/welcomebar-front.js?ver=2.9.3

js schulzmuseum.org collected 2026-09-24 09:05:17 UTC 16,330 bytes, 1 lines download raw bytes

1(()=>{function e(){var e=jQuery(".mysticky-welcomebar-fixed").data("after-triger"),t=jQuery(".mystickyelements-fixed").length,a=jQuery(".mysticky-welcomebar-fixed").data("position"),i=0;if(0!=jQuery("#wpadminbar").length)i=jQuery("#wpadminbar").height();if(jQuery(window).width()<=600&&0!=jQuery(window).scrollTop()&&"top"==a){jQuery(".mysticky-welcomebar-fixed").css("top","0px");var s=jQuery(".mysticky-welcomebar-fixed").outerHeight();"none"===jQuery(".mysticky-welcomebar-fixed").css("display")&&(s=0),jQuery("#mysticky-nav").css("top",s+"px")}else if("top"==a){var o=i+jQuery(".mysticky-welcomebar-fixed").outerHeight();"none"===jQuery(".mysticky-welcomebar-fixed").css("display")&&(o=i+0),jQuery(".mysticky-welcomebar-fixed").css("top",i+0+"px"),jQuery("#mysticky-nav").css("top",o+"px")}if(t){s=jQuery(".mysticky-welcomebar-fixed").outerHeight();var c=jQuery(".mystickyelements-fixed").height(),r=s+c;if(jQuery(window).width()<=1024&&jQuery(".mystickyelements-fixed").hasClass("mystickyelements-position-mobile-top"))if("after_a_few_seconds"==e){if(jQuery(".mysticky-welcomebar-fixed").hasClass("mysticky-welcomebar-display-mobile")){var m=1e3*jQuery(".mysticky-welcomebar-fixed").data("triger-sec");setTimeout(function(){"top"==a?(jQuery(".mystickyelements-fixed").css("top",s),$("html").animate({"margin-top":r+"px"},1e3,function(){$("html").css("cssText","margin-top:"+r+"px!important;")})):(jQuery(".mystickyelements-fixed").css("top",""),jQuery("html").attr("style","margin-bottom: "+s+"px !important"))},m)}}else if("after_scroll"===e){100*$(window).scrollTop()/($(document).height()-$(window).height())>$(".mysticky-welcomebar-fixed").data("triger-sec")&&jQuery(".mysticky-welcomebar-fixed").hasClass("mysticky-welcomebar-display-mobile")&&("top"==a?(jQuery(".mystickyelements-fixed").css("top",s),$("html").animate({"margin-top":r+"px"},1e3,function(){$("html").css("cssText","margin-top:"+r+"px!important;")})):(jQuery(".mystickyelements-fixed").css("top",""),jQuery("html").attr("style","margin-bottom: "+s+"px !important")))}}}function t(e){return!!/^([a-zA-Z0-9_\.\-\+])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/.test(e)}jQuery(document).ready(function(a){var i=0;if(0!=a("#wpadminbar").length)i=a("#wpadminbar").height();var s=i+jQuery(".mysticky-welcomebar-fixed").outerHeight();"top"==jQuery(".mysticky-welcomebar-fixed").data("position")?jQuery(".mysticky-welcomebar-entry-effect-slide-in.mysticky-welcomebar-fixed").css("top","-"+s+"px"):jQuery(".mysticky-welcomebar-entry-effect-slide-in.mysticky-welcomebar-fixed").css("bottom","-"+s+"px");var o=a(".et_fixed_nav #top-header").outerHeight(),c=s+o,r=a(".mysticky-welcomebar-fixed").data("aftersubmission");if("dont_show_welcomebar"==r)var m=localStorage.getItem("welcomebar_close");else if("show_welcomebar_next_visit"==r)m=sessionStorage.getItem("welcomebar_close");else{sessionStorage.removeItem("welcomebar_close"),localStorage.removeItem("welcomebar_close");m=null}if(null===m){var y=jQuery(".mysticky-welcomebar-fixed").data("after-triger");if(jQuery("body").addClass("mysticky-welcomebar-apper"),"after_a_few_seconds"==y&&a(".mysticky-welcomebar-fixed").hasClass("mysticky-welcomebar-display-desktop")&&a(window).width()>767){var l=1e3*jQuery(".mysticky-welcomebar-fixed").data("triger-sec"),n=a(".mysticky-welcomebar-fixed").data("position"),d=a(".mysticky-welcomebar-fixed").outerHeight();setTimeout(function(){jQuery(".mysticky-welcomebar-fixed").addClass("mysticky-welcomebar-animation"),a(".mysticky-welcomebar-fixed").addClass("entry-effect"),"top"==n?(jQuery(".mysticky-welcomebar-fixed").addClass("mysticky-welcomebar-animation"),jQuery(".mysticky-welcomebar-fixed").css("top",i+0+"px"),jQuery(".mysticky-welcomebar-fixed").css("opacity","1"),a("html").css("margin-bottom",""),jQuery("#mysticky_divi_style").remove(),jQuery(".et_fixed_nav #top-header").css("top",d+"px"),jQuery("head").append('<style id="mysticky_divi_style" type="text/css">.et_fixed_nav #main-header {top: '+d+"px !important}.et_fixed_nav #top-header + #main-header{top: "+c+"px !important}</style>"),a("html").animate({"margin-top":s+"px"},1e3,function(){a("html").css("cssText","margin-top:"+s+"px!important;")}),a("#mysticky-nav").css("top",s+"px")):(jQuery(".mysticky-welcomebar-fixed").css("bottom","0"),jQuery(".mysticky-welcomebar-fixed").css("opacity","1"),a("html").css("margin-top",""),jQuery("#mysticky_divi_style").remove(),jQuery(".et_fixed_nav #top-header").css("top",""),a("html").attr("style","margin-bottom: "+s+"px !important"))},l)}if(a(window).width()<767&&"after_a_few_seconds"==y&&a(".mysticky-welcomebar-fixed").hasClass("mysticky-welcomebar-display-mobile")){l=1e3*jQuery(".mysticky-welcomebar-fixed").data("triger-sec"),n=a(".mysticky-welcomebar-fixed").data("position"),d=a(".mysticky-welcomebar-fixed").outerHeight();setTimeout(function(){jQuery(".mysticky-welcomebar-fixed").addClass("mysticky-welcomebar-animation"),a(".mysticky-welcomebar-fixed").addClass("entry-effect"),jQuery("#mysticky_divi_style").remove(),jQuery(".et_fixed_nav #top-header").css("top",""),"top"==n?(jQuery(".mysticky-welcomebar-fixed").css("top",i+0+"px"),jQuery(".mysticky-welcomebar-fixed").css("opacity","1"),a("html").css("margin-bottom",""),a("html").animate({"margin-top":s+"px"},1e3,function(){a("html").css("cssText","margin-top:"+s+"px!important;")}),a("#mysticky-nav").css("top",s+"px")):(jQuery(".mysticky-welcomebar-fixed").css("bottom","0"),jQuery(".mysticky-welcomebar-fixed").css("opacity","1"),a("html").css("margin-top",""),a("html").attr("style","margin-bottom: "+s+"px !important"))},l)}e()}a(window).resize(function(){var t=jQuery(".mysticky-welcomebar-fixed").outerHeight();if("dont_show_welcomebar"==r)var s=localStorage.getItem("welcomebar_close");else if("show_welcomebar_next_visit"==r)s=sessionStorage.getItem("welcomebar_close");else{sessionStorage.removeItem("welcomebar_close"),localStorage.removeItem("welcomebar_close");s=null}if(null===s){var o=jQuery(".mysticky-welcomebar-fixed").data("after-triger");if(a(".mysticky-welcomebar-fixed").hasClass("mysticky-welcomebar-notapper")?jQuery("body").removeClass("mysticky-welcomebar-apper"):jQuery("body").addClass("mysticky-welcomebar-apper"),"after_a_few_seconds"==o){var m=1e3*jQuery(".mysticky-welcomebar-fixed").data("triger-sec"),y=a(".mysticky-welcomebar-fixed").data("position"),l=a(".mysticky-welcomebar-fixed").outerHeight();a(window).width()<767?a(".mysticky-welcomebar-fixed").hasClass("mysticky-welcomebar-display-mobile")&&setTimeout(function(){jQuery(".mysticky-welcomebar-fixed").addClass("mysticky-welcomebar-animation"),a(".mysticky-welcomebar-fixed").addClass("entry-effect"),jQuery("#mysticky_divi_style").remove(),jQuery(".et_fixed_nav #top-header").css("top",""),"top"==y?(jQuery(".mysticky-welcomebar-fixed").css("top",i+0+"px"),jQuery(".mysticky-welcomebar-fixed").css("opacity","1"),a("html").css("margin-bottom",""),a("html").animate({"margin-top":t+"px"},1e3,function(){a("html").css("cssText","margin-top:"+t+"px!important;")}),a(".mysticky-welcomebar-apper #mysticky-nav").css("top",t+"px")):(jQuery(".mysticky-welcomebar-fixed").css("bottom","0"),jQuery(".mysticky-welcomebar-fixed").css("opacity","1"),a("html").css("margin-top",""),a("html").attr("style","margin-bottom: "+t+"px !important"))},m):a(".mysticky-welcomebar-fixed").hasClass("mysticky-welcomebar-display-desktop")&&setTimeout(function(){jQuery(".mysticky-welcomebar-fixed").addClass("mysticky-welcomebar-animation"),a(".mysticky-welcomebar-fixed").addClass("entry-effect"),"top"==y?(jQuery(".mysticky-welcomebar-fixed").css("top",i+0+"px"),jQuery(".mysticky-welcomebar-fixed").css("opacity","1"),a("html").css("margin-bottom",""),jQuery("#mysticky_divi_style").remove(),jQuery(".mysticky-welcomebar-apper.et_fixed_nav #top-header").css("top",l+"px"),jQuery("head").append('<style id="mysticky_divi_style" type="text/css">.mysticky-welcomebar-apper.et_fixed_nav #main-header {top: '+l+"px !important}.mysticky-welcomebar-apper.et_fixed_nav #top-header + #main-header{top: "+c+"px !important}</style>"),a("html").animate({"margin-top":t+"px"},1e3,function(){a("html").css("cssText","margin-top:"+t+"px!important;")}),a(".mysticky-welcomebar-apper #mysticky-nav").css("top",t+"px")):(jQuery(".mysticky-welcomebar-fixed").css("bottom","0"),jQuery(".mysticky-welcomebar-fixed").css("opacity","1"),a("html").css("margin-top",""),jQuery("#mysticky_divi_style").remove(),jQuery(".et_fixed_nav #top-header").css("top",""),a("html").attr("style","margin-bottom: "+t+"px !important"))},m)}e()}}),jQuery(window).on("scroll",function(){if("dont_show_welcomebar"==r)var t=localStorage.getItem("welcomebar_close");else if("show_welcomebar_next_visit"==r)t=sessionStorage.getItem("welcomebar_close");else{sessionStorage.removeItem("welcomebar_close"),localStorage.removeItem("welcomebar_close");t=null}if(null===t){a(".mysticky-welcomebar-fixed").outerHeight();if("top"==(m=a(".mysticky-welcomebar-fixed").data("position"))&&a("#mysticky-nav").css("top",s+"px"),"after_scroll"===y){var o=100*a(window).scrollTop()/(a(document).height()-a(window).height()),c=jQuery(".mysticky-welcomebar-fixed").data("triger-sec"),m=a(".mysticky-welcomebar-fixed").data("position");a(".mysticky-welcomebar-fixed").outerHeight();o>c&&(a(".mysticky-welcomebar-fixed").hasClass("mysticky-welcomebar-display-desktop")&&a(window).width()>
1767&&(jQuery(".mysticky-welcomebar-fixed").addClass("mysticky-welcomebar-animation"),a(".mysticky-welcomebar-fixed").addClass("entry-effect"),"top"==m?(jQuery(".mysticky-welcomebar-fixed").css("top",i+0+"px"),jQuery(".mysticky-welcomebar-fixed").css("opacity","1"),a("html").css("margin-bottom",""),a("html").animate({"margin-top":s+"px"},1e3,function(){a("html").css("cssText","margin-top:"+s+"px!important;")}),a("#mysticky-nav").css("top",s+"px")):(jQuery(".mysticky-welcomebar-fixed").css("bottom","0"),jQuery(".mysticky-welcomebar-fixed").css("opacity","1"),a("html").css("margin-top",""),a("html").attr("style","margin-bottom: "+s+"px !important"))),a(".mysticky-welcomebar-fixed").hasClass("mysticky-welcomebar-display-mobile")&&a(window).width()<767&&(jQuery(".mysticky-welcomebar-fixed").addClass("mysticky-welcomebar-animation"),a(".mysticky-welcomebar-fixed").addClass("entry-effect"),"top"==m?(jQuery(".mysticky-welcomebar-fixed").css("top",i+0+"px"),jQuery(".mysticky-welcomebar-fixed").css("opacity","1"),a("html").css("margin-bottom",""),a("html").animate({"margin-top":s+"px"},1e3,function(){a("html").css("cssText","margin-top:"+s+"px!important;")}),a("#mysticky-nav").css("top",s+"px")):(jQuery(".mysticky-welcomebar-fixed").css("bottom","0"),jQuery(".mysticky-welcomebar-fixed").css("opacity","1"),a("html").css("margin-top",""),a("html").attr("style","margin-bottom: "+s+"px !important"))))}e()}}),jQuery(".mysticky-welcomebar-close, .mysticky-welcomebar-btn a").on("click",function(e){""!=a(this).attr("href")&&"#"!=a(this).attr("href")||e.preventDefault();var i,o=!0,c=100;if(jQuery(".mysticky-welcomebar-lead-content").length>0&&!a(this).hasClass("mysticky-welcomebar-close")){if(o=!0,""==jQuery.trim(jQuery("#contact-lead-name-0").val())||""==jQuery.trim(jQuery("#contact-lead-phone-0").val())&&""==jQuery.trim(jQuery("#contact-lead-email-0").val())){localStorage.removeItem("welcomebar_close_0"),sessionStorage.removeItem("welcomebar_close_0"),a(".mystickymenu-front .input-error").length&&a(".mystickymenu-front .input-error").remove();var m=!!jQuery("#contact-lead-email-0").hasClass("msb-lead-email"),y=!!jQuery("#contact-lead-phone-0").hasClass("msb-lead-phone"),l=jQuery("#contact-lead-name-0"),n=jQuery("#contact-lead-email-0"),d=jQuery("#contact-lead-phone-0"),p=""===jQuery.trim(l.val()),w=!!m&&""===jQuery.trim(n.val()),u=!!y&&""===jQuery.trim(d.val());return p&&(a('<div class="input-error"><span>Enter your name</span></div>').insertAfter(jQuery("#contact-lead-name-0")),o=!1),m&&(w?(a('<div class="input-error"><span>Enter your email</span></div>').insertAfter(jQuery("#contact-lead-email-0")),o=!1):w||t(n.val())||(a('<div class="input-error"><span>Enter valid email address</span></div>').insertAfter(jQuery("#contact-lead-email-0")),o=!1)),y&&u&&(a('<div class="input-error"><span>Enter your phone</span></div>').insertAfter(jQuery("#contact-lead-phone-0")),o=!1),0==o?a(".mysticky-welcomebar-widget-0 .mysticky-welcomebar-fixed-wrap").css("margin-bottom","10px"):a(".mysticky-welcomebar-widget-0 .mysticky-welcomebar-fixed-wrap").css("margin-bottom","0"),!1}if(a(".mystickymenu-front .input-error").length&&a(".mystickymenu-front .input-error").remove(),jQuery("#contact-lead-email-0").hasClass("msb-lead-email")&&1!=t(jQuery("#contact-lead-email-0").val())&&(a(".mysticky-welcomebar-widget-0 .input-error").length&&a(".mysticky-welcomebar-widget-0 .input-error").remove(),a('<div class="input-error"><span>Enter valid email address</span></div>').insertAfter(jQuery("#contact-lead-email-0")),o=!1),jQuery("#contact-lead-phone-0").hasClass("msb-lead-phone")&&1!=(i=jQuery("#contact-lead-phone-0").val(),!!/^((\+[1-9]{1,4}[ \-]*)|(\([0-9]{2,3}\)[ \-]*)|([0-9]{2,4})[ \-]*)*?[0-9]{3,4}?[ \-]*[0-9]{3,4}?$/.test(i))&&(a(".mysticky-welcomebar-widget-0 .input-error").length&&a(".mysticky-welcomebar-widget-0 .input-error").remove(),a('<div class="input-error"><span>Enter valid phone number</span></div>').insertAfter(jQuery("#contact-lead-phone-0")),o=!1),1!=o)return a(".mysticky-welcomebar-widget-0 .mysticky-welcomebar-fixed-wrap").css("margin-bottom","10px"),!1;var b=[];b.contact_name=jQuery.trim(jQuery("#contact-lead-name-0").val()),b.contact_email=jQuery.trim(jQuery("#contact-lead-email-0").val()),b.contact_phone=jQuery.trim(jQuery("#contact-lead-phone-0").val()),b.contact_page_link=jQuery.trim(jQuery("#contact-lead-pagelink-0").val()),1==a(".mysticky-welcomebar-fixed").data("show-success-message")&&(a(".mysticky-welcomebar-fixed .mysticky-welcomebar-lead-content").hide(),a(".mysticky-welcomebar-fixed .mysticky-welcomebar-content p").hide(),a(".mysticky-welcomebar-fixed .mysticky-welcomebar-btn.contact-lead-button").hide(),a(".mysticky-welcomebar-fixed .mysticky-welcomebar-thankyou-content").show(),a(".mysticky-welcomebar-fixed .mysticky-welcomebar-thankyou-content p").show());c=2e3;jQuery.ajax({url:welcomebar_frontjs.ajaxurl,type:"post",data:"contact_name="+b.contact_name+"&contact_email="+b.contact_email+"&contact_phone="+b.contact_phone+"&action=stickymenu_contact_lead_form&widget_id=0&page_link="+b.contact_page_link+"&save_form_lead=1&wpnonce="+welcomebar_frontjs.ajax_nonce,success:function(e){a(".mysticky-welcomebar-widget-0 .mysticky-welcomebar-fixed-wrap").css("margin-bottom","0"),jQuery("#contact-lead-name-0").val(""),jQuery("#contact-lead-email-0").val(""),jQuery("#contact-lead-phone-0").val("")}})}else a(this).hasClass("mysticky-welcomebar-close")&&localStorage.setItem("is_close_trigger_0","yes");setTimeout(function(){"show_welcomebar_every_page"!=r&&("dont_show_welcomebar"==r?(sessionStorage.removeItem("welcomebar_close"),localStorage.setItem("welcomebar_close","close")):"show_welcomebar_next_visit"==r&&(localStorage.removeItem("welcomebar_close"),sessionStorage.setItem("welcomebar_close","close")));var e=a(".mysticky-welcomebar-fixed").data("position");a(".mysticky-welcomebar-fixed").outerHeight();if(jQuery(".mysticky-welcomebar-fixed").addClass("mysticky-welcomebar-notapper"),jQuery("body").removeClass("mysticky-welcomebar-apper"),jQuery(".mysticky-welcomebar-fixed").slide
1Up("slow"),"top"==e?jQuery(".mysticky-welcomebar-fixed").css("top","-"+s+"px"):jQuery(".mysticky-welcomebar-fixed").css("bottom","-"+s+"px"),jQuery("#mysticky_divi_style").remove(),jQuery(".et_fixed_nav #top-header").css("top",""),jQuery("html").css("margin-top",""),jQuery("html").css("margin-bottom",""),a("#mysticky-nav").css("top","0px"),a(".mystickyelements-fixed").length&&a(window).width()<=1024&&a(".mystickyelements-fixed").hasClass("mystickyelements-position-mobile-top")&&"top"==e){var t=a(".mystickyelements-fixed").height();a(".mystickyelements-fixed").css("top",""),a("html").animate({"margin-top":t+"px"},1e3,function(){a("html").css("cssText","margin-top:"+t+"px!important;")})}},c),jQuery("#contact-lead-name-0").val(""),jQuery("#contact-lead-email-0").val(""),jQuery("#contact-lead-phone-0").val("")}),a(".mysticky-welcomebar-close").on("keydown",function(e){"13"==e.keyCode&&a(this).trigger("click")})})})();

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.