PageSourceSearch

https://monalisa-pflege.de/wp-content/cache/autoptimize/js/autopti…109d4fbdd04b90450b3c6fe705b77f.js?ver=1.0.0

js monalisa-pflege.de collected 2026-10-07 05:05:30 UTC 27,587 bytes, 48 lines download raw bytes

1(function($){"use strict";var mediz_display='desktop';if(typeof(window.matchMedia)=='function'){$(window).on('resize mediz-set-display',function(){if(window.matchMedia('(max-width: 419px)').matches){mediz_display='mobile-portrait';}else if(window.matchMedia('(max-width: 767px)').matches){mediz_display='mobile-landscape'}else if(window.matchMedia('(max-width: 959px)').matches){mediz_display='tablet'}else{mediz_display='desktop';}});$(window).trigger('mediz-set-display');}else{$(window).on('resize mediz-set-display',function(){if($(window).innerWidth()<=419){mediz_display='mobile-portrait';}else if($(window).innerWidth()<=767){mediz_display='mobile-landscape'}else if($(window).innerWidth()<=959){mediz_display='tablet'}else{mediz_display='desktop';}});$(window).trigger('mediz-set-display');}
2var mediz_debounce=function(func,threshold,execAsap){var timeout;return function debounced(){var obj=this,args=arguments;function delayed(){if(!execAsap){func.apply(obj,args);}
3timeout=null;};if(timeout){clearTimeout(timeout);}else if(execAsap){func.apply(obj,args);}
4timeout=setTimeout(delayed,threshold);};}
5var mediz_throttling=function(func,threshold){var timeout;return function throttled(){var obj=this,args=arguments;function delayed(){func.apply(obj,args);timeout=null;};if(!timeout){timeout=setTimeout(delayed,threshold);}};}
6var mediz_sf_menu=function(menu){if(menu.length==0)return;this.main_menu=menu;this.slide_bar=this.main_menu.children('.mediz-navigation-slide-bar');this.slide_bar_val={width:0,left:0};this.slide_bar_offset='15';if(this.slide_bar.attr('data-size-offset')){this.slide_bar_offset=parseInt(this.slide_bar.attr('data-size-offset'));}
7this.slide_bar_width=0;if(this.slide_bar.attr('data-width')){this.slide_bar_width=parseInt(this.slide_bar.attr('data-width'));}
8this.current_menu=this.main_menu.children('.sf-menu').children('.current-menu-item, .current-menu-ancestor').children('a');this.init();}
9mediz_sf_menu.prototype={init:function(){var t=this;t.sf_menu_mod();if(typeof($.fn.superfish)=='function'){t.main_menu.superfish({delay:400,speed:'fast'});t.sf_menu_position();$(window).resize(mediz_debounce(function(){t.sf_menu_position();},300));}
10if(t.slide_bar.length>0){t.init_slidebar();}},sf_menu_mod:function(){this.main_menu.find('.sf-mega > ul').each(function(){var mega_content=$('<div></div>');var mega_row=$('<div class="sf-mega-section-wrap" ></div>');var mega_column_size=0;$(this).children('li').each(function(){var column_size=parseInt($(this).attr('data-size'));if(mega_column_size+column_size<=60){mega_column_size+=column_size;}else{mega_column_size=column_size;mega_content.append(mega_row);mega_row=$('<div class="sf-mega-section-wrap" ></div>');}
11mega_row.append($('<div class="sf-mega-section" ></div>').addClass('mediz-column-'+column_size).html($('<div class="sf-mega-section-inner" ></div>').addClass($(this).attr('class')).attr('id',$(this).attr('id')).html($(this).html())));});mega_content.append(mega_row);$(this).replaceWith(mega_content.html());});},sf_menu_position:function(){if(mediz_display=='mobile-landscape'||mediz_display=='mobile-portrait'||mediz_display=='tablet')return;var body_wrapper=$('.mediz-body-wrapper');var sub_normal_menu=this.main_menu.find('.sf-menu > li.mediz-normal-menu .sub-menu');sub_normal_menu.css({display:'block'}).removeClass('sub-menu-right');sub_normal_menu.each(function(){if($(this).offset().left+$(this).width()>body_wrapper.outerWidth()){$(this).addClass('sub-menu-right');}});sub_normal_menu.css({display:'none'});this.main_menu.find('.sf-menu > li.mediz-mega-menu .sf-mega').each(function(){if(!$(this).hasClass('sf-mega-full')){$(this).css({display:'block'});$(this).css({right:'','margin-left':-(($(this).width()-$(this).parent().outerWidth())/2)});if($(this).offset().left+$(this).width()>$(window).width()){$(this).css({right:0,'margin-left':''});}
12$(this).css({display:'none'});}});},init_slidebar:function(){var t=this;t.init_slidebar_pos();$(window).load(function(){t.init_slidebar_pos();});t.main_menu.children('.sf-menu').children('li').on({mouseenter:function(){var nav_element=$(this).children('a');
12if(nav_element.length>0){if(t.slide_bar_width>0){var sbw=t.slide_bar_width;var sbl=nav_element.position().left+((nav_element.outerWidth()-sbw)/2)-t.slide_bar_offset;}else{var sbw=nav_element.outerWidth()+(2*t.slide_bar_offset);var sbl=nav_element.position().left-t.slide_bar_offset;}
13t.slide_bar.animate({width:sbw,left:sbl},{queue:false,duration:250});}},mouseleave:function(){t.slide_bar.animate({width:t.slide_bar_val.width,left:t.slide_bar_val.left},{queue:false,duration:250});}});$(window).on('resize',function(){t.init_slidebar_pos();});$(window).on('mediz-navigation-slider-bar-init',function(){t.current_menu=t.main_menu.children('.sf-menu').children('.current-menu-item, .current-menu-ancestor').children('a');t.animate_slidebar_pos();});$(window).on('mediz-navigation-slider-bar-animate',function(){t.animate_slidebar_pos();});},init_slidebar_pos:function(){if(mediz_display=='mobile-landscape'||mediz_display=='mobile-portrait'||mediz_display=='tablet')return;var t=this;if(t.current_menu.length>0){if(t.slide_bar_width>0){var sbw=t.slide_bar_width;var sbl=t.current_menu.position().left+((t.current_menu.outerWidth()-sbw)/2)-t.slide_bar_offset;}else{var sbw=t.current_menu.outerWidth()+(2*t.slide_bar_offset);var sbl=t.current_menu.position().left-t.slide_bar_offset;}
14t.slide_bar_val={width:sbw,left:sbl};}else{t.slide_bar_val={width:0}
15var first_child=t.main_menu.children('ul').children('li:first-child');if(typeof(first_child.position())!='undefined'){t.slide_bar_val.left=first_child.position().left;}else{t.slide_bar_val.left=0;}}
16t.slide_bar.css({width:t.slide_bar_val.width,left:t.slide_bar_val.left,display:'block'});},animate_slidebar_pos:function(){if(mediz_display=='mobile-landscape'||mediz_display=='mobile-portrait'||mediz_display=='tablet')return;var t=this;if(t.current_menu.length>0){if(t.slide_bar_width>0){var sbw=t.slide_bar_width;var sbl=t.current_menu.position().left+((t.current_menu.outerWidth()-sbw)/2)-t.slide_bar_offset;}else{var sbw=t.current_menu.outerWidth()+(2*t.slide_bar_offset);var sbl=t.current_menu.position().left-t.slide_bar_offset;}
17t.slide_bar_val={width:sbw,left:sbl};}else{t.slide_bar_val={width:0}
18var first_child=t.main_menu.children('ul').children('li:first-child');if(typeof(first_child.position())!='undefined'){t.slide_bar_val.left=first_child.position().left;}else{t.slide_bar_val.left=0;}}
19t.slide_bar.animate({width:t.slide_bar_val.width,left:t.slide_bar_val.left},{queue:false,duration:250});}};$.fn.mediz_mobile_menu=function(args){var menu_button=$(this).siblings('.mediz-mm-menu-button');var options={navbar:{title:'<span class="mmenu-custom-close" ></span>'},extensions:['pagedim-black'],};var extensions={offCanvas:{pageNodetype:'.mediz-body-outer-wrapper'}};$(this).find('a[href="#"]').each(function(){var content=$(this).html();$('<span class="mediz-mm-menu-blank" ></span>').html(content).insertBefore($(this));$(this).remove();});if($(this).attr('data-slide')){var html_class='mediz-mmenu-'+$(this).attr('data-slide');$('html').addClass(html_class);options.offCanvas={position:$(this).attr('data-slide')};}
20$(this).mmenu(options,extensions);var menu_api=$(this).data('mmenu');$(this).find('a').not('.mm-next, .mm-prev').on('click',function(){menu_api.close();});$(this).find('.mmenu-custom-close').on('click',function(){menu_api.close();});$(window).resize(function(){menu_api.close();});menu_api.bind('open',function($panel){menu_button.addClass('mediz-active');});menu_api.bind('close',function($panel){menu_button.removeClass('mediz-active');});}
21var mediz_overlay_menu=function(menu){this.menu=menu;this.menu_button=menu.children('.mediz-overlay-menu-icon');this.menu_content=menu.children('.mediz-overlay-menu-content');this.menu_close=this.menu_content.children('.mediz-overlay-menu-close');this.init();}
22mediz_overlay_menu.prototype={init:function(){var t=this;var delay_count=0;t.menu_content.appendTo('body');t.menu_content.find('ul.menu > li').each(function(){$(this).css('transition-delay',(delay_count*150)+'ms');delay_count++;});t.menu_button.on('click',function(){$(this).addClass('mediz-active');t.menu_content.fadeIn(200,function(){$(this).addClass('mediz-active');});return false;});t.menu_close.on('click',function(){t.menu_button.removeClass('mediz-active');t.menu_content.fadeOut(400,function(){$(this).removeClass('mediz-active');});t.menu_content.find('.sub-menu').slideUp(200).removeClass('mediz-active');return false;});t.menu_content.find('a').on('click',function(e){var sub_menu=$(this).siblings('.sub-menu');if(sub_menu.length>0){if(!sub_menu.hasClass('mediz-active')){var prev_active=sub_menu.closest('li').siblings().find('.sub-menu.mediz-active');if(prev_active.length>
220){prev_active.removeClass('mediz-active').slideUp(150);sub_menu.delay(150).slideDown(400,'easeOutQuart').addClass('mediz-active');}else{sub_menu.slideDown(400,'easeOutQuart').addClass('mediz-active');}
23$(this).addClass('mediz-no-preload');return false;}else{$(this).removeClass('mediz-no-preload');}}else{t.menu_close.trigger('click');}});}};var mediz_header_side_nav=function(side_nav){if(side_nav.length==0)return;this.prev_scroll=0;this.side_nav=side_nav;this.side_nav_content=side_nav.children();this.init();}
24mediz_header_side_nav.prototype={init:function(){var t=this;t.init_nav_bar_element();$(window).resize(function(){t.init_nav_bar_element();});$(window).scroll(function(){if(mediz_display=='mobile-landscape'||mediz_display=='mobile-portrait'||mediz_display=='tablet')return;if(t.side_nav.hasClass('mediz-allow-slide')){var admin_bar_height=parseInt($('html').css('margin-top'));var scroll_down=($(window).scrollTop()>t.prev_scroll);t.prev_scroll=$(window).scrollTop();if(scroll_down){if(!t.side_nav.hasClass('mediz-fix-bottom')){if(t.side_nav.hasClass('mediz-fix-top')){t.side_nav.css('top',t.side_nav.offset().top);t.side_nav.removeClass('mediz-fix-top');}else if($(window).height()+$(window).scrollTop()>t.side_nav_content.offset().top+t.side_nav_content.outerHeight()){if(!t.side_nav.hasClass('mediz-fix-bottom')){t.side_nav.addClass('mediz-fix-bottom');t.side_nav.css('top','');}}}}else{if(!t.side_nav.hasClass('mediz-fix-top')){if(t.side_nav.hasClass('mediz-fix-bottom')){var top_pos=$(window).scrollTop()+($(window).height()-admin_bar_height)-t.side_nav_content.outerHeight();t.side_nav.css('top',top_pos);t.side_nav.removeClass('mediz-fix-bottom');}else if($(window).scrollTop()+admin_bar_height<t.side_nav_content.offset().top){if(!t.side_nav.hasClass('mediz-fix-top')){t.side_nav.addClass('mediz-fix-top');t.side_nav.css('top','');}}}}}});},init_nav_bar_element:function(){if(mediz_display=='mobile-landscape'||mediz_display=='mobile-portrait'||mediz_display=='tablet')return;var t=this;var middle_pos=t.side_nav_content.children('.mediz-pos-middle').addClass('mediz-active');var bottom_pos=t.side_nav_content.children('.mediz-pos-bottom').addClass('mediz-active');t.side_nav_content.children('.mediz-pre-spaces').remove();if($(window).height()<t.side_nav_content.height()){t.side_nav.addClass('mediz-allow-slide');}else{t.side_nav.removeClass('mediz-allow-slide mediz-fix-top mediz-fix-bottom').css('top','');if(t.side_nav.hasClass('mediz-style-middle')){middle_pos.each(function(){var top_padding=parseInt($(this).css('padding-top'));var prespace=((t.side_nav.height()-(t.side_nav_content.height()-top_padding))/2)-top_padding;if(prespace>0){$('<div class="mediz-pre-spaces" ></div>').css('height',prespace).insertBefore($(this));}});}
25bottom_pos.each(function(){var prespace=t.side_nav.height()-t.side_nav_content.height();if(prespace>0){$('<div class="mediz-pre-spaces" ></div>').css('height',prespace).insertBefore($(this));}});}}};var mediz_anchor=function(){this.anchor_link=$('a[href*="#"]').not('[href="#"]').filter(function(){if($(this).is('.mediz-mm-menu-button, .mm-next, .mm-prev, .mm-title, .gdlr-core-ilightbox')){return false;}
26if($(this).is('.fbx-btn-transition')){return false;}
27if($(this).parent('.description_tab, .reviews_tab').length||$(this).not('[class^="mediz"]').closest('.woocommerce').length){if(!$(this).closest('.menu-item').length){return false;}}
28return true;});if(this.anchor_link.length){this.menu_anchor=$('#mediz-main-menu, #mediz-bullet-anchor');this.home_anchor=this.menu_anchor.find('ul.sf-menu > li.current-menu-item > a, ul.sf-menu > li.current-menu-ancestor > a, .mediz-bullet-anchor-link.current-menu-item');this.init();}}
29mediz_anchor.prototype={init:function(){var t=this;t.animate_anchor();t.scroll_section();t.menu_anchor.filter('#mediz-bullet-anchor').each(function(){$(this).css('margin-top',-t.menu_anchor.height()/2).addClass('mediz-init');});var url_hash=window.location.hash;if(url_hash){setTimeout(function(){var current_menu=t.menu_anchor.find('a[href*="'+url_hash+'"]');if(!current_menu.is('.current-menu-item, .current-menu-ancestor')){current_menu.addClass('current-menu-item').siblings().removeClass('current-menu-item current-menu-ancestor');
29$(window).trigger('mediz-navigation-slider-bar-init');}
30t.scroll_to(url_hash,false,300);},500);}},animate_anchor:function(){var t=this;t.home_anchor.on('click',function(){if(window.location.href==this.href){$('html, body').animate({scrollTop:0},{duration:1500,easing:'easeOutQuart'});return false;}});t.anchor_link.on('click',function(){if(location.hostname==this.hostname&&location.pathname.replace(/^\//,'')==this.pathname.replace(/^\//,'')){return t.scroll_to(this.hash,true);}});},scroll_to:function(hash,redirect,duration){if(hash=='#mediz-top-anchor'){var scroll_position=0;}else{var target=$(hash);if(target.length){var scroll_position=target.offset().top;}}
31if(typeof(scroll_position)!='undefined'){scroll_position=scroll_position-parseInt($('html').css('margin-top'));if(mediz_display=='mobile-portrait'||mediz_display=='mobile-landscape'){scroll_position=scroll_position-75;}else if(typeof(window.mediz_anchor_offset)!='undefined'&&!isNaN(window.mediz_anchor_offset)){scroll_position=scroll_position-parseInt(window.mediz_anchor_offset);}
32if(scroll_position<0)scroll_position=0;$('html, body').animate({scrollTop:scroll_position},{duration:1500,easing:'easeOutQuart',queue:false});return false;}else if(redirect){window.location.href=$('body').attr('data-home-url')+hash;return false;}},scroll_section:function(){var t=this;var menu_link_anchor=this.menu_anchor.find('a[href*="#"]').not('[href="#"]');if(!menu_link_anchor.length){return;}
33var home_anchor_section=$('#mediz-page-wrapper');var anchor_section=home_anchor_section.find('div[id], section[id]');if(!anchor_section.length){return;}
34menu_link_anchor.each(function(){if($(this).closest('.sub-menu').length==0&&$(this.hash).length){$(this).attr('data-anchor',this.hash);}});$(window).scroll(function(){if(mediz_display=='mobile-landscape'||mediz_display=='mobile-portrait'||mediz_display=='tablet')return;if(t.home_anchor.length&&$(window).scrollTop()<=home_anchor_section.offset().top){t.home_anchor.each(function(){if($(this).hasClass('mediz-bullet-anchor-link')){$(this).addClass('current-menu-item').siblings().removeClass('current-menu-item');$(this).parent('.mediz-bullet-anchor').attr('data-anchor-section','mediz-home');}else if(!$(this).parent('.current-menu-item, .current-menu-ancestor').length){$(this).parent().addClass('current-menu-item').siblings().removeClass('current-menu-item current-menu-ancestor');$(window).trigger('mediz-navigation-slider-bar-init');}});}else{var section_position=$(window).scrollTop()+($(window).height()/2);anchor_section.each(function(){if($(this).css('display')=='none')return;var top_offset_pos=$(this).offset().top;if((section_position>top_offset_pos)&&(section_position<top_offset_pos+$(this).outerHeight())){var section_id=$(this).attr('id');menu_link_anchor.filter('[data-anchor="#'+section_id+'"]').each(function(){if($(this).hasClass('mediz-bullet-anchor-link')){$(this).addClass('current-menu-item').siblings().removeClass('current-menu-item');$(this).parent('.mediz-bullet-anchor').attr('data-anchor-section',section_id);}else if($(this).parent('li.menu-item').length&&!$(this).parent('li.menu-item').is('.current-menu-item, .current-menu-ancestor')){$(this).parent('li.menu-item').addClass('current-menu-item').siblings().removeClass('current-menu-item current-menu-ancestor');$(window).trigger('mediz-navigation-slider-bar-init');}});return false;}});}});}};var mediz_sticky_navigation=function(){var t=this;t.sticky_nav=$('.mediz-with-sticky-navigation .mediz-sticky-navigation');t.mobile_menu=$('#mediz-mobile-header');if(t.sticky_nav.hasClass('mediz-sticky-navigation-height')){window.mediz_anchor_offset=t.sticky_nav.outerHeight();$(window).resize(function(){window.mediz_anchor_offset=t.sticky_nav.outerHeight();});}else if(t.sticky_nav.attr('data-navigation-offset')){window.mediz_anchor_offset=parseInt(t.sticky_nav.attr('data-navigation-offset'));}else if(t.sticky_nav.length){window.mediz_anchor_offset=75;}
35if(t.sticky_nav.length){t.init();}
36if(t.mobile_menu.hasClass('mediz-sticky-mobile-navigation')){t.style_mobile_slide();$(window).trigger('mediz-set-sticky-mobile-navigation');}}
37mediz_sticky_navigation.prototype={init:function(){var t=this;if(t.sticky_nav.hasClass('mediz-style-fixed')){t.style_fixed();}else if(t.sticky_nav.hasClass('mediz-style-slide')){t.style_slide();}
38$(window).trigger('mediz-set-sticky-navigation');},style_fixed:function(){var t=this;var placeholder=$('<div class="mediz-sticky-menu-placeholder" ></div>');$(window).on('scroll mediz-set-sticky-navigation',function(){if(mediz_display=='mobile-landscape'||mediz_display=='mobile-portrait'||mediz_display=='tablet')return;var page_offset=parseInt($('html').css('margin-top'));if(!t.sticky_nav.hasClass('mediz-fixed-navigation')){if($(window).scrollTop()+page_offset>t.sticky_nav.offset().top){if(!t.sticky_nav.hasClass('mediz-without-placeholder')){placeholder.height(t.sticky_nav.outerHeight());}
39placeholder.insertAfter(t.sticky_nav);$('body').append(t.sticky_nav);t.sticky_nav.addClass('mediz-fixed-navigation');setTimeout(function(){t.sticky_nav.addClass('mediz-animate-fixed-navigation');},10);setTimeout(function(){t.sticky_nav.css('height','');
39$(window).trigger('mediz-navigation-slider-bar-animate');},200);}}else{if($(window).scrollTop()+page_offset<=placeholder.offset().top){if(!t.sticky_nav.hasClass('mediz-without-placeholder')){t.sticky_nav.height(placeholder.height());}
40t.sticky_nav.insertBefore(placeholder);t.sticky_nav.removeClass('mediz-fixed-navigation');placeholder.remove();setTimeout(function(){t.sticky_nav.removeClass('mediz-animate-fixed-navigation');},10);setTimeout(function(){t.sticky_nav.css('height','');$(window).trigger('mediz-navigation-slider-bar-animate');},200);}}});},style_slide:function(){var t=this;var placeholder=$('<div class="mediz-sticky-menu-placeholder" ></div>');$(window).on('scroll mediz-set-sticky-navigation',function(){if(mediz_display=='mobile-landscape'||mediz_display=='mobile-portrait'||mediz_display=='tablet'){return;}
41var page_offset=parseInt($('html').css('margin-top'));if(!t.sticky_nav.hasClass('mediz-fixed-navigation')){if($(window).scrollTop()+page_offset>t.sticky_nav.offset().top+t.sticky_nav.outerHeight()+200){if(!t.sticky_nav.hasClass('mediz-without-placeholder')){placeholder.height(t.sticky_nav.outerHeight());}
42placeholder.insertAfter(t.sticky_nav);t.sticky_nav.css('display','none');$('body').append(t.sticky_nav);t.sticky_nav.addClass('mediz-fixed-navigation mediz-animate-fixed-navigation');t.sticky_nav.slideDown(200);$(window).trigger('mediz-navigation-slider-bar-animate');}}else{if($(window).scrollTop()+page_offset<=placeholder.offset().top+placeholder.height()+200){var clone=t.sticky_nav.clone();clone.insertAfter(t.sticky_nav);clone.slideUp(200,function(){$(this).remove();});t.sticky_nav.insertBefore(placeholder);placeholder.remove();t.sticky_nav.removeClass('mediz-fixed-navigation mediz-animate-fixed-navigation');t.sticky_nav.css('display','block');$(window).trigger('mediz-navigation-slider-bar-animate');}}});},style_mobile_slide:function(){var t=this;var placeholder=$('<div class="mediz-sticky-mobile-placeholder" ></div>');$(window).on('scroll mediz-set-sticky-mobile-navigation',function(){if(mediz_display=='mobile-landscape'||mediz_display=='mobile-portrait'||mediz_display=='tablet'){var page_offset=parseInt($('html').css('margin-top'));if(!t.mobile_menu.hasClass('mediz-fixed-navigation')){if($(window).scrollTop()+page_offset>t.mobile_menu.offset().top+t.mobile_menu.outerHeight()+200){placeholder.height(t.mobile_menu.outerHeight()).insertAfter(t.mobile_menu);$('body').append(t.mobile_menu);t.mobile_menu.addClass('mediz-fixed-navigation');t.mobile_menu.css('display','none').slideDown(200);}}else{if($(window).scrollTop()+page_offset<=placeholder.offset().top+placeholder.height()+200){var clone=t.mobile_menu.clone();clone.insertAfter(t.mobile_menu);clone.slideUp(200,function(){$(this).remove();});t.mobile_menu.insertBefore(placeholder);placeholder.remove();t.mobile_menu.removeClass('mediz-fixed-navigation');t.mobile_menu.css('display','block');}}}});},};var mediz_font_resize=function(){this.heading_font=$('h1, h2, h3, h4, h5, h6');this.init();}
43mediz_font_resize.prototype={init:function(){var t=this;t.resize();$(window).on('resize',mediz_throttling(function(){t.resize();},100));},resize:function(){var t=this;if(mediz_display=='mobile-landscape'||mediz_display=='mobile-portrait'){t.heading_font.each(function(){if(parseInt($(this).css('font-size'))>40){if(!$(this).attr('data-orig-font')){$(this).attr('data-orig-font',$(this).css('font-size'));}
44$(this).css('font-size','40px');}});}else{t.heading_font.filter('[data-orig-font]').each(function(){$(this).css('font-size',$(this).attr('data-orig-font'));});}}};function mediz_lightbox(content){var lightbox_wrap=$('<div class="mediz-lightbox-wrapper" ></div>').hide();var lightbox_content_wrap=$('<div class="mediz-lightbox-content-cell" ></div>');lightbox_wrap.append(lightbox_content_wrap);lightbox_content_wrap.wrap($('<div class="mediz-lightbox-content-row" ></div>'));lightbox_content_wrap.append(content);var scrollPos=$(window).scrollTop();$('html').addClass('mediz-lightbox-on');$('body').append(lightbox_wrap);lightbox_wrap.fadeIn(300);lightbox_wrap.on('click','.mediz-lightbox-close',function(){$('html').removeClass('mediz-lightbox-on');$(window).scrollTop(scrollPos);lightbox_wrap.fadeOut(300,function(){$(this).remove();});});}
45$(document).ready(function(){new mediz_font_resize();$('#mediz-main-menu, #mediz-right-menu, #mediz-mobile-menu, #mediz-top-bar-menu').each(function(){if($(this).hasClass('mediz-overlay-menu')){new mediz_overlay_menu($(this));}else if($(this).hasClass('mediz-mm-menu-wrap')){$(this).mediz_mobile_menu();}else{new mediz_sf_menu($(this));}});$('#mediz-top-search, #mediz-mobile-top-search').each(function(){var search_wrap=$(this).siblings('.mediz-top-search-wrap');search_wrap.appendTo('body');$(this).on('click',function(){search_wrap.fadeIn(200,function(){$(this).addClass('mediz-active');});});search_wrap.find('.mediz-top-search-close').on('click',function(){search_wrap.fadeOut(200,function(){$(this).addClass('mediz-active');});});search_wrap.find('.search-submit').on('click',function(){if(search_wrap.find('.search-field').val().length==0){return false;}});});$('#mediz-main-menu-cart, #mediz-mobile-menu-cart').each(function(){$(this).on({mouseenter:function(){$(this).addClass('mediz-active mediz-animating');},mouseleave:function(){var menu_cart=$(this);menu_cart.removeClass('mediz-active');setTimeout(function(){menu_cart.removeClass('mediz-animating');},400)}});});$('body').on('added_to_cart',function(){$.ajax({type:'POST',url:wc_add_to_cart_params.ajax_url,data:{'action':'top_bar_woocommerce_cart'},dataType:'json',error:function(jqXHR,textStatus,errorThrown){console.log(jqXHR,textStatus,errorThrown);},success:function(data){if(typeof(data['title'])!='undefined'){$('.mediz-top-cart-title').replaceWith(data['title']);}
46if(typeof(data['cart-items'])!='undefined'){$('.mediz-top-cart-item-wrap').replaceWith(data['cart-items']);}}});});$('#mediz-dropdown-mediz-flag').hover(function(){$(this).children('.mediz-dropdown-mediz-list').fadeIn(200);},function(){$(this).children('.mediz-dropdown-mediz-list').fadeOut(200);});
46$('.mediz-header-boxed-wrap, .mediz-header-background-transparent, .mediz-navigation-bar-wrap.mediz-style-transparent').each(function(){var header_transparent=$(this);var header_transparent_sub=$('.mediz-header-transparent-substitute');header_transparent_sub.height(header_transparent.outerHeight());$(window).on('load resize',function(){header_transparent_sub.height(header_transparent.outerHeight());});});$('body.error404, body.search-no-results').each(function(){var wrap=$(this).find('#mediz-full-no-header-wrap');var body_wrap_offset=parseInt($(this).children('.mediz-body-outer-wrapper').children('.mediz-body-wrapper').css('margin-bottom'));var padding=($(window).height()-wrap.offset().top-wrap.outerHeight()-body_wrap_offset)/2;if(padding>0){wrap.css({'padding-top':padding,'padding-bottom':padding});}
47$(window).on('load resize',function(){wrap.css({'padding-top':0,'padding-bottom':0});padding=($(window).height()-wrap.offset().top-wrap.outerHeight()-body_wrap_offset)/2;if(padding>0){wrap.css({'padding-top':padding,'padding-bottom':padding});}});});var back_to_top=$('#mediz-footer-back-to-top-button');if(back_to_top.length){$(window).on('scroll',function(){if($(window).scrollTop()>300){back_to_top.addClass('mediz-scrolled');}else{back_to_top.removeClass('mediz-scrolled');}});}
48$('body').children('#mediz-page-preload').each(function(){var page_preload=$(this);var animation_time=parseInt(page_preload.attr('data-animation-time'));$('a[href]').not('[href^="#"], [target="_blank"], .gdlr-core-js, .strip, .sf-with-ul, .remove, .ajax_add_to_cart').on('click',function(e){if(e.which!=1||$(this).hasClass('mediz-no-preload')||e.ctrlKey)return;if(window.location.href!=this.href){page_preload.addClass('mediz-out').fadeIn(animation_time);}});$(window).load(function(){page_preload.fadeOut(animation_time);});});$('body.mediz-blog-style-2 .mediz-single-nav-area').each(function(){var max_height;var single_nav_2=$(this).children();max_height=0;single_nav_2.css('min-height','0px');single_nav_2.each(function(){if(max_height<$(this).outerHeight()){max_height=$(this).outerHeight();}});single_nav_2.css('min-height',max_height);$(window).resize(function(){max_height=0;single_nav_2.css('min-height','0px');single_nav_2.each(function(){if(max_height<$(this).outerHeight()){max_height=$(this).outerHeight();}});single_nav_2.css('min-height',max_height);});});$('[data-mediz-lb]').click(function(){var lb_content=$(this).siblings('[data-mediz-lb-id="'+$(this).attr('data-mediz-lb')+'"]');mediz_lightbox(lb_content.clone());});});$(window).on('pageshow',function(event){if(event.originalEvent.persisted){$('body').children('#mediz-page-preload').each(function(){$(this).fadeOut(400);});}});$(window).load(function(){$('#mediz-fixed-footer').each(function(){var fixed_footer=$(this);var placeholder=$('<div class="mediz-fixed-footer-placeholder" ></div>');placeholder.insertBefore(fixed_footer);placeholder.height(fixed_footer.outerHeight());$('body').css('min-height',$(window).height()-parseInt($('html').css('margin-top')));$(window).resize(function(){placeholder.height(fixed_footer.outerHeight());$('body').css('min-height',$(window).height()-parseInt($('html').css('margin-top')));});});new mediz_header_side_nav($('#mediz-header-side-nav'));new mediz_sticky_navigation();new mediz_anchor();});})(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.