// source --> https://www.revesta.de/wp-content/cache/autoptimize/autoptimize_single_068ce7705bc4a1a0f3372f7e0101667b.php?ver=10.3 
(function($){window.booklyCustomerProfile=function(options){$('.bookly-js-show-past',$('.'+options.container)).on('click',function(e){e.preventDefault();var $self=$(this),$table=$self.prevAll('table.bookly-appointments-table'),ladda=Ladda.create(this);ladda.start();$.get(options.ajaxurl,{action:'bookly_pro_get_past_appointments',csrf_token:BooklyCustomerProfileL10n.csrf_token,columns:$table.data('bookly_columns'),custom_fields:$table.data('custom_fields'),page:$table.data('page')+1},function(){},'json').done(function(resp){ladda.stop();if(resp.data.more){$self.find('span.bookly-label').html(BooklyCustomerProfileL10n.show_more);}else{$self.remove();}
if(resp.data.html){$table.find('tr.bookly--no-appointments').remove();$(resp.data.html).hide().appendTo($table).show('slow');$table.data('page',$table.data('page')+1);}});});};})(jQuery);
// source --> https://www.revesta.de/wp-content/cache/autoptimize/autoptimize_single_6db34ceb7464262cd46ba781f18246a3.php?ver=true 
(function($){var defaults={topSpacing:0,bottomSpacing:0,className:'is-sticky',wrapperClassName:'sticky-wrapper',center:false,getWidthFrom:''},$window=$(window),$document=$(document),sticked=[],windowHeight=$window.height(),scroller=function(){var scrollTop=$window.scrollTop(),documentHeight=$document.height(),dwh=documentHeight-windowHeight,extra=(scrollTop>dwh)?dwh-scrollTop:0;for(var i=0;i<sticked.length;i++){var s=sticked[i],elementTop=s.stickyWrapper.offset().top,etse=elementTop-s.topSpacing-extra;if(scrollTop<=etse){if(s.currentTop!==null){s.stickyElement.css('position','').css('top','');s.stickyElement.parent().removeClass(s.className);s.currentTop=null;}}
else{var newTop=documentHeight-s.stickyElement.outerHeight()
-s.topSpacing-s.bottomSpacing-scrollTop-extra;if(newTop<0){newTop=newTop+s.topSpacing;}else{newTop=s.topSpacing;}
if(s.currentTop!=newTop){s.stickyElement.css('position','fixed').css('top',newTop);if(typeof s.getWidthFrom!=='undefined'){s.stickyElement.css('width',$(s.getWidthFrom).width());}
s.stickyElement.parent().addClass(s.className);s.currentTop=newTop;}}}},resizer=function(){windowHeight=$window.height();},methods={init:function(options){var o=$.extend(defaults,options);return this.each(function(){var stickyElement=$(this);var stickyId=stickyElement.attr('id');var wrapper=$('<div></div>').attr('id',stickyId+'-sticky-wrapper').addClass(o.wrapperClassName);stickyElement.wrapAll(wrapper);if(o.center){stickyElement.parent().css({width:stickyElement.outerWidth(),marginLeft:"auto",marginRight:"auto"});}
if(stickyElement.css("float")=="right"){stickyElement.css({"float":"none"}).parent().css({"float":"right"});}
var stickyWrapper=stickyElement.parent();stickyWrapper.css('height',stickyElement.outerHeight());sticked.push({topSpacing:o.topSpacing,bottomSpacing:o.bottomSpacing,stickyElement:stickyElement,currentTop:null,stickyWrapper:stickyWrapper,className:o.className,getWidthFrom:o.getWidthFrom});});},update:scroller};if(window.addEventListener){window.addEventListener('scroll',scroller,false);window.addEventListener('resize',resizer,false);}else if(window.attachEvent){window.attachEvent('onscroll',scroller);window.attachEvent('onresize',resizer);}
$.fn.sticky=function(method){if(methods[method]){return methods[method].apply(this,Array.prototype.slice.call(arguments,1));}else if(typeof method==='object'||!method){return methods.init.apply(this,arguments);}else{$.error('Method '+method+' does not exist on jQuery.sticky');}};$(function(){setTimeout(scroller,0);});})(jQuery);
// source --> https://www.revesta.de/wp-content/cache/autoptimize/autoptimize_single_d35c2c03a16fd2d76791c8279bb6eda4.php?ver=0.2 
(function($){$.fn.videoBG=function(selector,options){var options={};if(typeof selector=="object"){options=$.extend({},$.fn.videoBG.defaults,selector);}
else if(!selector){options=$.fn.videoBG.defaults;}
else{return $(selector).videoBG(options);}
var container=$(this);if(!container.length)
return;if(container.css('position')=='static'||!container.css('position'))
container.css('position','relative');if(options.width==0)
options.width=container.width();if(options.height==0)
options.height=container.height();var wrap=$.fn.videoBG.wrapper();wrap.height(options.height).width(options.width);if(options.textReplacement){options.scale=true;container.width(options.width).height(options.height).css('text-indent','-9999px');}
else{wrap.css('z-index',options.zIndex+1);}
wrap.html(container.clone(true));var video=$.fn.videoBG.video(options);if(options.scale){wrap.height(options.height).width(options.width);video.height(options.height).width(options.width);}
container.html(wrap);container.append(video);return video.find("video")[0];}
$.fn.videoBG.setFullscreen=function($el){var windowWidth=$(window).width(),windowHeight=$(window).height();$el.css('min-height',0).css('min-width',0);$el.parent().width(windowWidth).height(windowHeight);if(windowWidth/windowHeight>$el.aspectRatio){$el.width(windowWidth).height('auto');var height=$el.height();var shift=(height-windowHeight)/2;if(shift<0)shift=0;$el.css("top",-shift);}else{$el.width('auto').height(windowHeight);var width=$el.width();var shift=(width-windowWidth)/2;if(shift<0)shift=0;$el.css("left",-shift);if(shift===0){var t=setTimeout(function(){$.fn.videoBG.setFullscreen($el);},500);}}
$('body > .videoBG_wrapper').width(windowWidth).height(windowHeight);}
$.fn.videoBG.video=function(options){$('html, body').scrollTop(-1);var $div=$('<div/>');$div.addClass('videoBG').css('position',options.position).css('z-index',options.zIndex).css('top',0).css('left',0).css('height',options.height).css('width',options.width).css('opacity',options.opacity).css('overflow','hidden');var $video=$('<video/>');$video.css('position','absolute').css('z-index',options.zIndex).attr('poster',options.poster).css('top',0).css('left',0).css('min-width','100%').css('min-height','100%');if(options.autoplay){$video.attr('autoplay',options.autoplay);}
if(options.fullscreen){$video.bind('canplay',function(){$video.aspectRatio=$video.width()/$video.height();$.fn.videoBG.setFullscreen($video);})
var resizeTimeout;$(window).resize(function(){clearTimeout(resizeTimeout);resizeTimeout=setTimeout(function(){$.fn.videoBG.setFullscreen($video);},100);});$.fn.videoBG.setFullscreen($video);}
var v=$video[0];if(options.loop){loops_left=options.loop;$video.bind('ended',function(){if(loops_left)
v.play();if(loops_left!==true)
loops_left--;});}
$video.bind('canplay',function(){if(options.autoplay)
v.play();});if($.fn.videoBG.supportsVideo()){if($.fn.videoBG.supportType('webm')){$video.attr('src',options.webm);}
else if($.fn.videoBG.supportType('mp4')){$video.attr('src',options.mp4);}
else{$video.attr('src',options.ogv);}}
var $img=$('<img/>');$img.attr('src',options.poster).css('position','absolute').css('z-index',options.zIndex).css('top',0).css('left',0).css('min-width','100%').css('min-height','100%');if($.fn.videoBG.supportsVideo()){$div.html($video);}
else{$div.html($img);}
if(options.textReplacement){$div.css('min-height',1).css('min-width',1);$video.css('min-height',1).css('min-width',1);$img.css('min-height',1).css('min-width',1);$div.height(options.height).width(options.width);$video.height(options.height).width(options.width);$img.height(options.height).width(options.width);}
if($.fn.videoBG.supportsVideo()){v.play();}
return $div;}
$.fn.videoBG.supportsVideo=function(){return(document.createElement('video').canPlayType);}
$.fn.videoBG.supportType=function(str){if(!$.fn.videoBG.supportsVideo())
return false;var v=document.createElement('video');switch(str){case'webm':return(v.canPlayType('video/webm; codecs="vp8, vorbis"'));break;case'mp4':return(v.canPlayType('video/mp4; codecs="avc1.42E01E, mp4a.40.2"'));break;case'ogv':return(v.canPlayType('video/ogg; codecs="theora, vorbis"'));break;}
return false;}
$.fn.videoBG.wrapper=function(){var $wrap=$('<div/>');$wrap.addClass('videoBG_wrapper').css('position','absolute').css('top',0).css('left',0);return $wrap;}
$.fn.videoBG.defaults={mp4:'',ogv:'',webm:'',poster:'',autoplay:true,loop:true,scale:false,position:"absolute",opacity:1,textReplacement:false,zIndex:0,width:0,height:0,fullscreen:false,imgFallback:true}})(jQuery);