/* https://de.onair.cc/wp-content/themes/onair-7.0/lib/bootstrap/bootstrap.js */
try{
!function($){"use strict";$(function(){$.support.transition=(function(){var transitionEnd=(function(){var el=document.createElement('bootstrap'),transEndEventNames={'WebkitTransition':'webkitTransitionEnd','MozTransition':'transitionend','OTransition':'oTransitionEnd otransitionend','transition':'transitionend'},name
for(name in transEndEventNames){if(el.style[name]!==undefined){return transEndEventNames[name]}}}())
return transitionEnd&&{end:transitionEnd}})()})}(window.jQuery);!function($){"use strict";var dismiss='[data-dismiss="alert"]',Alert=function(el){$(el).on('click',dismiss,this.close)}
Alert.prototype.close=function(e){var $this=$(this),selector=$this.attr('data-target'),$parent
if(!selector){selector=$this.attr('href')
selector=selector&&selector.replace(/.*(?=#[^\s]*$)/,'')}
$parent=$(selector)
e&&e.preventDefault()
$parent.length||($parent=$this.hasClass('alert')?$this:$this.parent())
$parent.trigger(e=$.Event('close'))
if(e.isDefaultPrevented())return
$parent.removeClass('in')
function removeElement(){$parent.trigger('closed').remove()}
$.support.transition&&$parent.hasClass('fade')?$parent.on($.support.transition.end,removeElement):removeElement()}
var old=$.fn.alert
$.fn.alert=function(option){return this.each(function(){var $this=$(this),data=$this.data('alert')
if(!data)$this.data('alert',(data=new Alert(this)))
if(typeof option=='string')data[option].call($this)})}
$.fn.alert.Constructor=Alert
$.fn.alert.noConflict=function(){$.fn.alert=old
return this}
$(document).on('click.alert.data-api',dismiss,Alert.prototype.close)}(window.jQuery);!function($){"use strict";var Button=function(element,options){this.$element=$(element)
this.options=$.extend({},$.fn.button.defaults,options)}
Button.prototype.setState=function(state){var d='disabled',$el=this.$element,data=$el.data(),val=$el.is('input')?'val':'html'
state=state+'Text'
data.resetText||$el.data('resetText',$el[val]())
$el[val](data[state]||this.options[state])
setTimeout(function(){state=='loadingText'?$el.addClass(d).attr(d,d):$el.removeClass(d).removeAttr(d)},0)}
Button.prototype.toggle=function(){var $parent=this.$element.closest('[data-toggle="buttons-radio"]')
$parent&&$parent.find('.active').removeClass('active')
this.$element.toggleClass('active')}
var old=$.fn.button
$.fn.button=function(option){return this.each(function(){var $this=$(this),data=$this.data('button'),options=typeof option=='object'&&option
if(!data)$this.data('button',(data=new Button(this,options)))
if(option=='toggle')data.toggle()
else if(option)data.setState(option)})}
$.fn.button.defaults={loadingText:'loading...'}
$.fn.button.Constructor=Button
$.fn.button.noConflict=function(){$.fn.button=old
return this}
$(document).on('click.button.data-api','[data-toggle^=button]',function(e){var $btn=$(e.target)
if(!$btn.hasClass('btn'))$btn=$btn.closest('.btn')
$btn.button('toggle')})}(window.jQuery);!function($){"use strict";var Carousel=function(element,options){this.$element=$(element)
this.$indicators=this.$element.find('.carousel-indicators')
this.options=options
this.options.pause=='hover'&&this.$element.on('mouseenter',$.proxy(this.pause,this)).on('mouseleave',$.proxy(this.cycle,this))}
Carousel.prototype={cycle:function(e){if(!e)this.paused=!1
if(this.interval)clearInterval(this.interval);this.options.interval&&!this.paused&&(this.interval=setInterval($.proxy(this.next,this),this.options.interval))
return this},getActiveIndex:function(){this.$active=this.$element.find('.item.active')
this.$items=this.$active.parent().children()
return this.$items.index(this.$active)},to:function(pos){var activeIndex=this.getActiveIndex(),that=this
if(pos>(this.$items.length-1)||pos<0)return
if(this.sliding){return this.$element.one('slid',function(){that.to(pos)})}
if(activeIndex==pos){return this.pause().cycle()}
return this.slide(pos>activeIndex?'next':'prev',$(this.$items[pos]))},pause:function(e){if(!e)this.paused=!0
if(this.$element.find('.next, .prev').length&&$.support.transition.end){this.$element.trigger($.support.transition.end)
this.cycle(!0)}
clearInterval(this.interval)
this.interval=null
return this},next:function(){if(this.sliding)return
return this.slide('next')},prev:function(){if(this.sliding)return
return this.slide('prev')},slide:function(type,next){var $active=this.$element.find('.item.active'),$next=next||$active[type](),isCycling=this.interval,direction=type=='next'?'left':'right',fallback=type=='next'?'first':'last',that=this,e
this.sliding=!0
isCycling&&this.pause()
$next=$next.length?$next:this.$element.find('.item')[fallback]()
e=$.Event('slide',{relatedTarget:$next[0],direction:direction})
if($next.hasClass('active'))return
if(this.$indicators.length){this.$indicators.find('.active').removeClass('active')
this.$element.one('slid',function(){var $nextIndicator=$(that.$indicators.children()[that.getActiveIndex()])
$nextIndicator&&$nextIndicator.addClass('active')})}
if($.support.transition&&this.$element.hasClass('slide')){this.$element.trigger(e)
if(e.isDefaultPrevented())return
$next.addClass(type)
$next[0].offsetWidth
$active.addClass(direction)
$next.addClass(direction)
this.$element.one($.support.transition.end,function(){$next.removeClass([type,direction].join(' ')).addClass('active')
$active.removeClass(['active',direction].join(' '))
that.sliding=!1
setTimeout(function(){that.$element.trigger('slid')},0)})}else{this.$element.trigger(e)
if(e.isDefaultPrevented())return
$active.removeClass('active')
$next.addClass('active')
this.sliding=!1
this.$element.trigger('slid')}
isCycling&&this.cycle()
return this}}
var old=$.fn.carousel
$.fn.carousel=function(option){return this.each(function(){var $this=$(this),data=$this.data('carousel'),options=$.extend({},$.fn.carousel.defaults,typeof option=='object'&&option),action=typeof option=='string'?option:options.slide
if(!data)$this.data('carousel',(data=new Carousel(this,options)))
if(typeof option=='number')data.to(option)
else if(action)data[action]()
else if(options.interval)data.pause().cycle()})}
$.fn.carousel.defaults={interval:5000,pause:'hover'}
$.fn.carousel.Constructor=Carousel
$.fn.carousel.noConflict=function(){$.fn.carousel=old
return this}
$(document).on('click.carousel.data-api','[data-slide], [data-slide-to]',function(e){var $this=$(this),href,$target=$($this.attr('data-target')||(href=$this.attr('href'))&&href.replace(/.*(?=#[^\s]+$)/,'')),options=$.extend({},$target.data(),$this.data()),slideIndex
$target.carousel(options)
if(slideIndex=$this.attr('data-slide-to')){$target.data('carousel').pause().to(slideIndex).cycle()}
e.preventDefault()})}(window.jQuery);!function($){"use strict";var Collapse=function(element,options){this.$element=$(element)
this.options=$.extend({},$.fn.collapse.defaults,options)
if(this.options.parent){this.$parent=$(this.options.parent)}
this.options.toggle&&this.toggle()}
Collapse.prototype={constructor:Collapse,dimension:function(){var hasWidth=this.$element.hasClass('width')
return hasWidth?'width':'height'},show:function(){var dimension,scroll,actives,hasData
if(this.transitioning||this.$element.hasClass('in'))return
dimension=this.dimension()
scroll=$.camelCase(['scroll',dimension].join('-'))
actives=this.$parent&&this.$parent.find('> .accordion-group > .in')
if(actives&&actives.length){hasData=actives.data('collapse')
if(hasData&&hasData.transitioning)return
actives.collapse('hide')
hasData||actives.data('collapse',null)}
this.$element[dimension](0)
this.transition('addClass',$.Event('show'),'shown')
$.support.transition&&this.$element[dimension](this.$element[0][scroll])},hide:function(){var dimension
if(this.transitioning||!this.$element.hasClass('in'))return
dimension=this.dimension()
this.reset(this.$element[dimension]())
this.transition('removeClass',$.Event('hide'),'hidden')
this.$element[dimension](0)},reset:function(size){var dimension=this.dimension()
this.$element.removeClass('collapse')[dimension](size||'auto')[0].offsetWidth
this.$element[size!==null?'addClass':'removeClass']('collapse')
return this},transition:function(method,startEvent,completeEvent){var that=this,complete=function(){if(startEvent.type=='show')that.reset()
that.transitioning=0
that.$element.trigger(completeEvent)}
this.$element.trigger(startEvent)
if(startEvent.isDefaultPrevented())return
this.transitioning=1
this.$element[method]('in')
$.support.transition&&this.$element.hasClass('collapse')?this.$element.one($.support.transition.end,complete):complete()},toggle:function(){this[this.$element.hasClass('in')?'hide':'show']()}}
var old=$.fn.collapse
$.fn.collapse=function(option){return this.each(function(){var $this=$(this),data=$this.data('collapse'),options=$.extend({},$.fn.collapse.defaults,$this.data(),typeof option=='object'&&option)
if(!data)$this.data('collapse',(data=new Collapse(this,options)))
if(typeof option=='string')data[option]()})}
$.fn.collapse.defaults={toggle:!0}
$.fn.collapse.Constructor=Collapse
$.fn.collapse.noConflict=function(){$.fn.collapse=old
return this}
$(document).on('click.collapse.data-api','[data-toggle=collapse]',function(e){var $this=$(this),href,target=$this.attr('data-target')||e.preventDefault()||(href=$this.attr('href'))&&href.replace(/.*(?=#[^\s]+$)/,''),option=$(target).data('collapse')?'toggle':$this.data()
$this[$(target).hasClass('in')?'addClass':'removeClass']('collapsed')
$(target).collapse(option)})}(window.jQuery);!function($){"use strict";var toggle='[data-toggle=dropdown]',Dropdown=function(element){var $el=$(element).on('click.dropdown.data-api',this.toggle)
$('html').on('click.dropdown.data-api',function(){})}
Dropdown.prototype={constructor:Dropdown,toggle:function(e){var $this=$(this),$parent,isActive
if($this.is('.disabled, :disabled'))return
$parent=getParent($this)
isActive=$parent.hasClass('open')
clearMenus($this)
if(!isActive){$parent.toggleClass('open')}
$this.focus()
return!1},keydown:function(e){var $this,$items,$active,$parent,isActive,index
if(!/(38|40|27)/.test(e.keyCode))return
$this=$(this)
e.preventDefault()
e.stopPropagation()
if($this.is('.disabled, :disabled'))return
$parent=getParent($this)
isActive=$parent.hasClass('open')
if(!isActive||(isActive&&e.keyCode==27)){if(e.which==27)$parent.find(toggle).focus()
return $this.click()}
$items=$('[role=menu] li:not(.divider):visible a',$parent)
if(!$items.length)return
index=$items.index($items.filter(':focus'))
if(e.keyCode==38&&index>0)index--
if(e.keyCode==40&&index<$items.length-1)index++
if(!~index)index=0
$items.eq(index).focus()}}
function clearMenus(toggler){$(toggle).each(function(){var $parent=getParent($(this));if(toggler==undefined||toggler.closest==undefined||toggler.closest($parent).length==0)$parent.removeClass('open')})}
function getParent($this){var selector=$this.attr('data-target'),$parent
if(!selector){selector=$this.attr('href')
selector=selector&&/#/.test(selector)&&selector.replace(/.*(?=#[^\s]*$)/,'')}
$parent=selector&&$(selector)
if(!$parent||!$parent.length)$parent=$this.parent()
return $parent}
var old=$.fn.dropdown
$.fn.dropdown=function(option){return this.each(function(){var $this=$(this),data=$this.data('dropdown')
if(!data)$this.data('dropdown',(data=new Dropdown(this)))
if(typeof option=='string')data[option].call($this)})}
$.fn.dropdown.Constructor=Dropdown
$.fn.dropdown.noConflict=function(){$.fn.dropdown=old
return this}
$(document).on('click.dropdown.data-api',clearMenus).on('click.dropdown.data-api','.dropdown form',function(e){e.stopPropagation()}).on('click.dropdown-menu',function(e){e.stopPropagation()}).on('click.dropdown.data-api',toggle,Dropdown.prototype.toggle).on('keydown.dropdown.data-api',toggle+', [role=menu]',Dropdown.prototype.keydown)}(window.jQuery);!function($){"use strict";var Modal=function(element,options){this.options=options
this.$element=$(element).delegate('[data-dismiss="modal"]','click.dismiss.modal',$.proxy(this.hide,this))
this.options.remote&&this.$element.find('.modal-body').load(this.options.remote)}
Modal.prototype={constructor:Modal,toggle:function(){return this[!this.isShown?'show':'hide']()},show:function(){var that=this,e=$.Event('show')
this.$element.trigger(e)
if(this.isShown||e.isDefaultPrevented())return
this.isShown=!0
this.escape()
this.backdrop(function(){var transition=$.support.transition&&that.$element.hasClass('fade')
if(!that.$element.parent().length){that.$element.appendTo(document.body)}
that.$element.show()
if(transition){that.$element[0].offsetWidth}
that.$element.addClass('in').attr('aria-hidden',!1)
that.enforceFocus()
transition?that.$element.one($.support.transition.end,function(){that.$element.focus().trigger('shown')}):that.$element.focus().trigger('shown')})},hide:function(e){e&&e.preventDefault()
var that=this
e=$.Event('hide')
this.$element.trigger(e)
if(!this.isShown||e.isDefaultPrevented())return
this.isShown=!1
this.escape()
$(document).off('focusin.modal')
this.$element.removeClass('in').attr('aria-hidden',!0)
$.support.transition&&this.$element.hasClass('fade')?this.hideWithTransition():this.hideModal()},enforceFocus:function(){var that=this
$(document).on('focusin.modal',function(e){if(that.$element[0]!==e.target&&!that.$element.has(e.target).length){that.$element.focus()}})},escape:function(){var that=this
if(this.isShown&&this.options.keyboard){this.$element.on('keyup.dismiss.modal',function(e){e.which==27&&that.hide()})}else if(!this.isShown){this.$element.off('keyup.dismiss.modal')}},hideWithTransition:function(){var that=this,timeout=setTimeout(function(){that.$element.off($.support.transition.end)
that.hideModal()},500)
this.$element.one($.support.transition.end,function(){clearTimeout(timeout)
that.hideModal()})},hideModal:function(){var that=this
this.$element.hide()
this.backdrop(function(){that.removeBackdrop()
that.$element.trigger('hidden')})},removeBackdrop:function(){this.$backdrop&&this.$backdrop.remove()
this.$backdrop=null},backdrop:function(callback){var that=this,animate=this.$element.hasClass('fade')?'fade':''
if(this.isShown&&this.options.backdrop){var doAnimate=$.support.transition&&animate
this.$backdrop=$('<div class="modal-backdrop '+animate+'" />').appendTo(document.body)
this.$backdrop.click(this.options.backdrop=='static'?$.proxy(this.$element[0].focus,this.$element[0]):$.proxy(this.hide,this))
if(doAnimate)this.$backdrop[0].offsetWidth
this.$backdrop.addClass('in')
if(!callback)return
doAnimate?this.$backdrop.one($.support.transition.end,callback):callback()}else if(!this.isShown&&this.$backdrop){this.$backdrop.removeClass('in')
$.support.transition&&this.$element.hasClass('fade')?this.$backdrop.one($.support.transition.end,callback):callback()}else if(callback){callback()}}}
var old=$.fn.modal
$.fn.modal=function(option){return this.each(function(){var $this=$(this),data=$this.data('modal'),options=$.extend({},$.fn.modal.defaults,$this.data(),typeof option=='object'&&option)
if(!data)$this.data('modal',(data=new Modal(this,options)))
if(typeof option=='string')data[option]()
else if(options.show)data.show()})}
$.fn.modal.defaults={backdrop:!0,keyboard:!0,show:!0}
$.fn.modal.Constructor=Modal
$.fn.modal.noConflict=function(){$.fn.modal=old
return this}
$(document).on('click.modal.data-api','[data-toggle="modal"]',function(e){var $this=$(this),href=$this.attr('href'),$target=$($this.attr('data-target')||(href&&href.replace(/.*(?=#[^\s]+$)/,''))),option=$target.data('modal')?'toggle':$.extend({remote:!/#/.test(href)&&href},$target.data(),$this.data())
e.preventDefault()
$target.modal(option).one('hide',function(){$this.focus()})})}(window.jQuery);!function($){"use strict";var Tooltip=function(element,options){this.init('tooltip',element,options)}
Tooltip.prototype={constructor:Tooltip,init:function(type,element,options){var eventIn,eventOut,triggers,trigger,i
this.type=type
this.$element=$(element)
this.options=this.getOptions(options)
this.enabled=!0
triggers=this.options.trigger.split(' ')
for(i=triggers.length;i--;){trigger=triggers[i]
if(trigger=='click'){this.$element.on('click.'+this.type,this.options.selector,$.proxy(this.toggle,this))}else if(trigger!='manual'){eventIn=trigger=='hover'?'mouseenter':'focus'
eventOut=trigger=='hover'?'mouseleave':'blur'
this.$element.on(eventIn+'.'+this.type,this.options.selector,$.proxy(this.enter,this))
this.$element.on(eventOut+'.'+this.type,this.options.selector,$.proxy(this.leave,this))}}
this.options.selector?(this._options=$.extend({},this.options,{trigger:'manual',selector:''})):this.fixTitle()},getOptions:function(options){options=$.extend({},$.fn[this.type].defaults,this.$element.data(),options)
if(options.delay&&typeof options.delay=='number'){options.delay={show:options.delay,hide:options.delay}}
return options},enter:function(e){var defaults=$.fn[this.type].defaults,options={},self
this._options&&$.each(this._options,function(key,value){if(defaults[key]!=value)options[key]=value},this)
self=$(e.currentTarget)[this.type](options).data(this.type)
if(!self.options.delay||!self.options.delay.show)return self.show()
clearTimeout(this.timeout)
self.hoverState='in'
this.timeout=setTimeout(function(){if(self.hoverState=='in')self.show()},self.options.delay.show)},leave:function(e){var self=$(e.currentTarget)[this.type](this._options).data(this.type)
if(this.timeout)clearTimeout(this.timeout)
if(!self.options.delay||!self.options.delay.hide)return self.hide()
self.hoverState='out'
this.timeout=setTimeout(function(){if(self.hoverState=='out')self.hide()},self.options.delay.hide)},show:function(){var $tip,pos,actualWidth,actualHeight,placement,tp,e=$.Event('show')
if(this.hasContent()&&this.enabled){this.$element.trigger(e)
if(e.isDefaultPrevented())return
$tip=this.tip()
this.setContent()
if(this.options.animation){$tip.addClass('fade')}
placement=typeof this.options.placement=='function'?this.options.placement.call(this,$tip[0],this.$element[0]):this.options.placement
$tip.detach().css({top:0,left:0,display:'block'})
this.options.container?$tip.appendTo(this.options.container):$tip.insertAfter(this.$element)
pos=this.getPosition()
actualWidth=$tip[0].offsetWidth
actualHeight=$tip[0].offsetHeight
switch(placement){case 'bottom':tp={top:pos.top+pos.height,left:pos.left+pos.width/2-actualWidth/2}
break
case 'top':tp={top:pos.top-actualHeight,left:pos.left+pos.width/2-actualWidth/2}
break
case 'left':tp={top:pos.top+pos.height/2-actualHeight/2,left:pos.left-actualWidth}
break
case 'right':tp={top:pos.top+pos.height/2-actualHeight/2,left:pos.left+pos.width}
break}
this.applyPlacement(tp,placement)
this.$element.trigger('shown')}},applyPlacement:function(offset,placement){var $tip=this.tip(),width=$tip[0].offsetWidth,height=$tip[0].offsetHeight,actualWidth,actualHeight,delta,replace
$tip.offset(offset).addClass(placement).addClass('in')
actualWidth=$tip[0].offsetWidth
actualHeight=$tip[0].offsetHeight
if(placement=='top'&&actualHeight!=height){offset.top=offset.top+height-actualHeight
replace=!0}
if(placement=='bottom'||placement=='top'){delta=0
if(offset.left<0){delta=offset.left*-2
offset.left=0
$tip.offset(offset)
actualWidth=$tip[0].offsetWidth
actualHeight=$tip[0].offsetHeight}
this.replaceArrow(delta-width+actualWidth,actualWidth,'left')}else{this.replaceArrow(actualHeight-height,actualHeight,'top')}
if(replace)$tip.offset(offset)},replaceArrow:function(delta,dimension,position){this.arrow().css(position,delta?(50*(1-delta/dimension)+"%"):'')},setContent:function(){var $tip=this.tip(),title=this.getTitle()
$tip.find('.tooltip-inner')[this.options.html?'html':'text'](title)
$tip.removeClass('fade in top bottom left right')},hide:function(){var that=this,$tip=this.tip(),e=$.Event('hide')
this.$element.trigger(e)
if(e.isDefaultPrevented())return
$tip.removeClass('in')
function removeWithAnimation(){var timeout=setTimeout(function(){$tip.off($.support.transition.end).detach()},500)
$tip.one($.support.transition.end,function(){clearTimeout(timeout)
$tip.detach()})}
$.support.transition&&this.$tip.hasClass('fade')?removeWithAnimation():$tip.detach()
this.$element.trigger('hidden')
return this},fixTitle:function(){var $e=this.$element
if($e.attr('title')||typeof($e.attr('data-original-title'))!='string'){$e.attr('data-original-title',$e.attr('title')||'').attr('title','')}},hasContent:function(){return this.getTitle()},getPosition:function(){var el=this.$element[0]
return $.extend({},(typeof el.getBoundingClientRect=='function')?el.getBoundingClientRect():{width:el.offsetWidth,height:el.offsetHeight},this.$element.offset())},getTitle:function(){var title,$e=this.$element,o=this.options
title=$e.attr('data-original-title')||(typeof o.title=='function'?o.title.call($e[0]):o.title)
return title},tip:function(){return this.$tip=this.$tip||$(this.options.template)},arrow:function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},validate:function(){if(!this.$element[0].parentNode){this.hide()
this.$element=null
this.options=null}},enable:function(){this.enabled=!0},disable:function(){this.enabled=!1},toggleEnabled:function(){this.enabled=!this.enabled},toggle:function(e){var self=e?$(e.currentTarget)[this.type](this._options).data(this.type):this
self.tip().hasClass('in')?self.hide():self.show()},destroy:function(){this.hide().$element.off('.'+this.type).removeData(this.type)}}
var old=$.fn.tooltip
$.fn.tooltip=function(option){return this.each(function(){var $this=$(this),data=$this.data('tooltip'),options=typeof option=='object'&&option
if(!data)$this.data('tooltip',(data=new Tooltip(this,options)))
if(typeof option=='string')data[option]()})}
$.fn.tooltip.Constructor=Tooltip
$.fn.tooltip.defaults={animation:!0,placement:'top',selector:!1,template:'<div class="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:'hover focus',title:'',delay:0,html:!1,container:!1}
$.fn.tooltip.noConflict=function(){$.fn.tooltip=old
return this}}(window.jQuery);!function($){"use strict";var Popover=function(element,options){this.init('popover',element,options)}
Popover.prototype=$.extend({},$.fn.tooltip.Constructor.prototype,{constructor:Popover,setContent:function(){var $tip=this.tip(),title=this.getTitle(),content=this.getContent()
$tip.find('.popover-title')[this.options.html?'html':'text'](title)
$tip.find('.popover-content')[this.options.html?'html':'text'](content)
$tip.removeClass('fade top bottom left right in')},hasContent:function(){return this.getTitle()||this.getContent()},getContent:function(){var content,$e=this.$element,o=this.options
content=(typeof o.content=='function'?o.content.call($e[0]):o.content)||$e.attr('data-content')
return content},tip:function(){if(!this.$tip){this.$tip=$(this.options.template)}
return this.$tip},destroy:function(){this.hide().$element.off('.'+this.type).removeData(this.type)}})
var old=$.fn.popover
$.fn.popover=function(option){return this.each(function(){var $this=$(this),data=$this.data('popover'),options=typeof option=='object'&&option
if(!data)$this.data('popover',(data=new Popover(this,options)))
if(typeof option=='string')data[option]()})}
$.fn.popover.Constructor=Popover
$.fn.popover.defaults=$.extend({},$.fn.tooltip.defaults,{placement:'right',trigger:'click',content:'',template:'<div class="popover"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content"></div></div>'})
$.fn.popover.noConflict=function(){$.fn.popover=old
return this}}(window.jQuery);!function($){"use strict";function ScrollSpy(element,options){var process=$.proxy(this.process,this),$element=$(element).is('body')?$(window):$(element),href
this.options=$.extend({},$.fn.scrollspy.defaults,options)
this.$scrollElement=$element.on('scroll.scroll-spy.data-api',process)
this.selector=(this.options.target||((href=$(element).attr('href'))&&href.replace(/.*(?=#[^\s]+$)/,''))||'')+' .nav li > a'
this.$body=$('body')
this.refresh()
this.process()}
ScrollSpy.prototype={constructor:ScrollSpy,refresh:function(){var self=this,$targets
this.offsets=$([])
this.targets=$([])
$targets=this.$body.find(this.selector).map(function(){var $el=$(this),href=$el.data('target')||$el.attr('href'),$href=/^#\w/.test(href)&&$(href)
return($href&&$href.length&&[[$href.position().top+(!$.isWindow(self.$scrollElement.get(0))&&self.$scrollElement.scrollTop()),href]])||null}).sort(function(a,b){return a[0]-b[0]}).each(function(){self.offsets.push(this[0])
self.targets.push(this[1])})},process:function(){var scrollTop=this.$scrollElement.scrollTop()+this.options.offset,scrollHeight=this.$scrollElement[0].scrollHeight||this.$body[0].scrollHeight,maxScroll=scrollHeight-this.$scrollElement.height(),offsets=this.offsets,targets=this.targets,activeTarget=this.activeTarget,i
if(scrollTop>=maxScroll){return activeTarget!=(i=targets.last()[0])&&this.activate(i)}
for(i=offsets.length;i--;){activeTarget!=targets[i]&&scrollTop>=offsets[i]&&(!offsets[i+1]||scrollTop<=offsets[i+1])&&this.activate(targets[i])}},activate:function(target){var active,selector
this.activeTarget=target
$(this.selector).parent('.active').removeClass('active')
selector=this.selector+'[data-target="'+target+'"],'+this.selector+'[href="'+target+'"]'
active=$(selector).parent('li').addClass('active')
if(active.parent('.dropdown-menu').length){active=active.closest('li.dropdown').addClass('active')}
active.trigger('activate')}}
var old=$.fn.scrollspy
$.fn.scrollspy=function(option){return this.each(function(){var $this=$(this),data=$this.data('scrollspy'),options=typeof option=='object'&&option
if(!data)$this.data('scrollspy',(data=new ScrollSpy(this,options)))
if(typeof option=='string')data[option]()})}
$.fn.scrollspy.Constructor=ScrollSpy
$.fn.scrollspy.defaults={offset:10}
$.fn.scrollspy.noConflict=function(){$.fn.scrollspy=old
return this}
$(window).on('load',function(){$('[data-spy="scroll"]').each(function(){var $spy=$(this)
$spy.scrollspy($spy.data())})})}(window.jQuery);!function($){"use strict";var Tab=function(element){this.element=$(element)}
Tab.prototype={constructor:Tab,show:function(){var $this=this.element,$ul=$this.closest('ul:not(.dropdown-menu)'),selector=$this.attr('data-target'),previous,$target,e
if(!selector){selector=$this.attr('href')
selector=selector&&selector.replace(/.*(?=#[^\s]*$)/,'')}
if($this.parent('li').hasClass('active'))return
previous=$ul.find('.active:last a')[0]
e=$.Event('show',{relatedTarget:previous})
$this.trigger(e)
if(e.isDefaultPrevented())return
$target=$(selector)
this.activate($this.parent('li'),$ul)
this.activate($target,$target.parent(),function(){$this.trigger({type:'shown',relatedTarget:previous})})},activate:function(element,container,callback){var $active=container.find('> .active'),transition=callback&&$.support.transition&&$active.hasClass('fade')
function next(){$active.removeClass('active').find('> .dropdown-menu > .active').removeClass('active')
element.addClass('active')
if(transition){element[0].offsetWidth
element.addClass('in')}else{element.removeClass('fade')}
if(element.parent('.dropdown-menu')){element.closest('li.dropdown').addClass('active')}
callback&&callback()}
transition?$active.one($.support.transition.end,next):next()
$active.removeClass('in')}}
var old=$.fn.tab
$.fn.tab=function(option){return this.each(function(){var $this=$(this),data=$this.data('tab')
if(!data)$this.data('tab',(data=new Tab(this)))
if(typeof option=='string')data[option]()})}
$.fn.tab.Constructor=Tab
$.fn.tab.noConflict=function(){$.fn.tab=old
return this}
$(document).on('click.tab.data-api','[data-toggle="tab"], [data-toggle="pill"]',function(e){e.preventDefault()
$(this).tab('show')})}(window.jQuery);!function($){"use strict";var Typeahead=function(element,options){this.$element=$(element)
this.options=$.extend({},$.fn.typeahead.defaults,options)
this.matcher=this.options.matcher||this.matcher
this.sorter=this.options.sorter||this.sorter
this.highlighter=this.options.highlighter||this.highlighter
this.updater=this.options.updater||this.updater
this.source=this.options.source
this.$menu=$(this.options.menu)
this.shown=!1
this.listen()}
Typeahead.prototype={constructor:Typeahead,select:function(){var val=this.$menu.find('.active').attr('data-value')
this.$element.val(this.updater(val)).change()
return this.hide()},updater:function(item){return item},show:function(){var pos=$.extend({},this.$element.position(),{height:this.$element[0].offsetHeight})
this.$menu.insertAfter(this.$element).css({top:pos.top+pos.height,left:pos.left}).show()
this.shown=!0
return this},hide:function(){this.$menu.hide()
this.shown=!1
return this},lookup:function(event){var items
this.query=this.$element.val()
if(!this.query||this.query.length<this.options.minLength){return this.shown?this.hide():this}
items=$.isFunction(this.source)?this.source(this.query,$.proxy(this.process,this)):this.source
return items?this.process(items):this},process:function(items){var that=this
items=$.grep(items,function(item){return that.matcher(item)})
items=this.sorter(items)
if(!items.length){return this.shown?this.hide():this}
return this.render(items.slice(0,this.options.items)).show()},matcher:function(item){return~item.toLowerCase().indexOf(this.query.toLowerCase())},sorter:function(items){var beginswith=[],caseSensitive=[],caseInsensitive=[],item
while(item=items.shift()){if(!item.toLowerCase().indexOf(this.query.toLowerCase()))beginswith.push(item)
else if(~item.indexOf(this.query))caseSensitive.push(item)
else caseInsensitive.push(item)}
return beginswith.concat(caseSensitive,caseInsensitive)},highlighter:function(item){var query=this.query.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,'\\$&')
return item.replace(new RegExp('('+query+')','ig'),function($1,match){return'<strong>'+match+'</strong>'})},render:function(items){var that=this
items=$(items).map(function(i,item){i=$(that.options.item).attr('data-value',item)
i.find('a').html(that.highlighter(item))
return i[0]})
items.first().addClass('active')
this.$menu.html(items)
return this},next:function(event){var active=this.$menu.find('.active').removeClass('active'),next=active.next()
if(!next.length){next=$(this.$menu.find('li')[0])}
next.addClass('active')},prev:function(event){var active=this.$menu.find('.active').removeClass('active'),prev=active.prev()
if(!prev.length){prev=this.$menu.find('li').last()}
prev.addClass('active')},listen:function(){this.$element.on('focus',$.proxy(this.focus,this)).on('blur',$.proxy(this.blur,this)).on('keypress',$.proxy(this.keypress,this)).on('keyup',$.proxy(this.keyup,this))
if(this.eventSupported('keydown')){this.$element.on('keydown',$.proxy(this.keydown,this))}
this.$menu.on('click',$.proxy(this.click,this)).on('mouseenter','li',$.proxy(this.mouseenter,this)).on('mouseleave','li',$.proxy(this.mouseleave,this))},eventSupported:function(eventName){var isSupported=eventName in this.$element
if(!isSupported){this.$element.setAttribute(eventName,'return;')
isSupported=typeof this.$element[eventName]==='function'}
return isSupported},move:function(e){if(!this.shown)return
switch(e.keyCode){case 9:case 13:case 27:e.preventDefault()
break
case 38:e.preventDefault()
this.prev()
break
case 40:e.preventDefault()
this.next()
break}
e.stopPropagation()},keydown:function(e){this.suppressKeyPressRepeat=~$.inArray(e.keyCode,[40,38,9,13,27])
this.move(e)},keypress:function(e){if(this.suppressKeyPressRepeat)return
this.move(e)},keyup:function(e){switch(e.keyCode){case 40:case 38:case 16:case 17:case 18:break
case 9:case 13:if(!this.shown)return
this.select()
break
case 27:if(!this.shown)return
this.hide()
break
default:this.lookup()}
e.stopPropagation()
e.preventDefault()},focus:function(e){this.focused=!0},blur:function(e){this.focused=!1
if(!this.mousedover&&this.shown)this.hide()},click:function(e){e.stopPropagation()
e.preventDefault()
this.select()
this.$element.focus()},mouseenter:function(e){this.mousedover=!0
this.$menu.find('.active').removeClass('active')
$(e.currentTarget).addClass('active')},mouseleave:function(e){this.mousedover=!1
if(!this.focused&&this.shown)this.hide()}}
var old=$.fn.typeahead
$.fn.typeahead=function(option){return this.each(function(){var $this=$(this),data=$this.data('typeahead'),options=typeof option=='object'&&option
if(!data)$this.data('typeahead',(data=new Typeahead(this,options)))
if(typeof option=='string')data[option]()})}
$.fn.typeahead.defaults={source:[],items:8,menu:'<ul class="typeahead dropdown-menu"></ul>',item:'<li><a href="#"></a></li>',minLength:1}
$.fn.typeahead.Constructor=Typeahead
$.fn.typeahead.noConflict=function(){$.fn.typeahead=old
return this}
$(document).on('focus.typeahead.data-api','[data-provide="typeahead"]',function(e){var $this=$(this)
if($this.data('typeahead'))return
$this.typeahead($this.data())})}(window.jQuery);!function($){"use strict";var Affix=function(element,options){this.options=$.extend({},$.fn.affix.defaults,options)
this.$window=$(window).on('scroll.affix.data-api',$.proxy(this.checkPosition,this)).on('click.affix.data-api',$.proxy(function(){setTimeout($.proxy(this.checkPosition,this),1)},this))
this.$element=$(element)
this.checkPosition()}
Affix.prototype.checkPosition=function(){if(!this.$element.is(':visible'))return
var scrollHeight=$(document).height(),scrollTop=this.$window.scrollTop(),position=this.$element.offset(),offset=this.options.offset,offsetBottom=offset.bottom,offsetTop=offset.top,reset='affix affix-top affix-bottom',affix
if(typeof offset!='object')offsetBottom=offsetTop=offset
if(typeof offsetTop=='function')offsetTop=offset.top()
if(typeof offsetBottom=='function')offsetBottom=offset.bottom()
affix=this.unpin!=null&&(scrollTop+this.unpin<=position.top)?!1:offsetBottom!=null&&(position.top+this.$element.height()>=scrollHeight-offsetBottom)?'bottom':offsetTop!=null&&scrollTop<=offsetTop?'top':!1
if(this.affixed===affix)return
this.affixed=affix
this.unpin=affix=='bottom'?position.top-scrollTop:null
this.$element.removeClass(reset).addClass('affix'+(affix?'-'+affix:''))}
var old=$.fn.affix
$.fn.affix=function(option){return this.each(function(){var $this=$(this),data=$this.data('affix'),options=typeof option=='object'&&option
if(!data)$this.data('affix',(data=new Affix(this,options)))
if(typeof option=='string')data[option]()})}
$.fn.affix.Constructor=Affix
$.fn.affix.defaults={offset:0}
$.fn.affix.noConflict=function(){$.fn.affix=old
return this}
$(window).on('load',function(){$('[data-spy="affix"]').each(function(){var $spy=$(this),data=$spy.data()
data.offset=data.offset||{}
data.offsetBottom&&(data.offset.bottom=data.offsetBottom)
data.offsetTop&&(data.offset.top=data.offsetTop)
$spy.affix(data)})})}(window.jQuery);

}
catch(e){console.error("An error has occurred: "+e.stack);}
/* https://de.onair.cc/wp-content/themes/onair-7.0/assets/js/discuss.js */
try{
var bbpTopics={};function oa_openTopic(topicId,$forumWrapper,nonce=''){if(!(topicId in bbpTopics)){params={'bbp_html':1};var ajaxArgs={dataType:'json',url:'/wp-json/onair/v1/topic/'+topicId,data:params,success:oa_processTopic};if(nonce!=''){ajaxArgs.beforeSend=function(xhr){xhr.setRequestHeader('X-WP-NONCE',nonce)}}
jQuery.ajax(ajaxArgs)}else{$forumWrapper.find('.forum_overview').hide();bbpTopics[topicId].show()}}
function oa_processTopic(json){if('render_html' in json){var topicId=json.id;console.log('processTopic: Received topic response for '+json.id);var $topicDisplay=jQuery('<div class="topic_view"><a href="#primary-topic'+json.parent+'" onclick="oa_switchTab();"><span class="button up" alt="Return to forum topic list" title="Return to forum topic list">^</span></a><span class="topic-title">'+json.title+'</span>'+json.render_html.replace('<form id','<form autocomplete="off" id')+'</div>');$topicDisplay.find('div.bbp-submit-wrapper > a').attr('href','#post-'+topicId);$topicDisplay.find('.bbp-reply-form form').on("submit",function(e){e.preventDefault();bbp_reply_ajax_call('reply',jQuery(this).find('input[name=_wpnonce]').val(),jQuery(this).serializeArray())});$topicDisplay.find('#bbp_redirect_to').attr('value',window.location.href);bbpTopics[json.id]=$topicDisplay;$forumWrapper=jQuery('#primary_topic_'+json.parent);$topicDisplay.hide();$topicDisplay.appendTo($forumWrapper);var $legend=$topicDisplay.find('fieldset.bbp-form > legend');if($forumWrapper.hasClass('feedback')){var newText=$legend.text().replace(/Reply To: (.*)/,'Add Your $1')}else{var newText="Add Your Comment"}
$legend.text(newText);oa_openTopic(topicId,$forumWrapper)}else{console.log('processTopic: render_html not found in json response')}}
function oa_switchTab(){jQuery('#forum .primary_topic .topic_view').hide();jQuery('#feedback .primary_topic .forum_overview').show()}
var oa_bbp_reply_status=0;function bbp_reply_ajax_call(action,nonce,form_data){if(oa_bbp_reply_status>0){return}
var $data={action:action,};jQuery.each(form_data,function(i,field){if(field.name=="action"){$data.bbp_reply_form_action=field.value}else{$data[field.name]=field.value}});jQuery('#new-reply-'+$data.bbp_topic_id+' form fieldset span.error').fadeOut(250,function(){jQuery(this).remove()});console.log('data: '+JSON.stringify($data));console.log('nonce: '+nonce);oa_bbp_reply_status=1;jQuery('#new-reply-'+$data.bbp_topic_id+' form fieldset button.submit').attr('disabled',!0);ajaxArgs={method:"POST",data:JSON.stringify($data),contentType:'application/json',beforeSend:function(xhr){xhr.setRequestHeader('X-WP-Nonce',nonce)},success:function(response){console.log('Received response');console.log(response);if(response&&response.success){var reply_list_item='<li>'+response.content+'</li>';if('edit'==response.reply_type){jQuery('#post-'+response.reply_id).parent('li').replaceWith(reply_list_item)}else{if(response.reply_parent&&response.reply_parent!=response.reply_id){var $parent=jQuery('#post-'+response.reply_parent).parent('li');var list_type='ul';if(jQuery('.bbp-replies').is('ol')){list_type='ol'}
if(0==$parent.next(list_type).length){$parent.after('<'+list_type+' class="bbp-threaded-replies"></'+list_type+'>')}
$parent.next(list_type).append(reply_list_item)}else{jQuery('.bbp-footer').before(reply_list_item)}}
bbp_reset_reply_form();var $new_element=jQuery('.post-'+response.reply_id);$new_element.removeClass('odd').addClass('even');var orig_color=$new_element.css('backgroundColor');$new_element.css('backgroundColor','lightYellow').animate({backgroundColor:orig_color},2000);var $topicCount=jQuery('#topic'+$data.bbp_topic_id+' .num-replies');var topicCount=1;if($topicCount.text().length>0){topicCount=1+parseInt($topicCount.text().replace(')','').replace('(',''))}
$topicCount.text(' ('+topicCount+')');jQuery('#new-reply-'+$data.bbp_topic_id+' form fieldset .bbp-the-content-wrapper > textarea').val('')}else{console.log('error for topic id: '+$data.bbp_topic_id);jQuery('#new-reply-'+$data.bbp_topic_id+' form fieldset').append('<span class="error">Failed to create response</span>')}
oa_bbp_reply_status=0;jQuery('#new-reply-'+$data.bbp_topic_id+' form fieldset button.submit').attr('disabled',!1)},};console.log('ajaxArgs: '+JSON.stringify(ajaxArgs));jQuery.ajax('/wp-json/onair/v1/reply',ajaxArgs)}
function bbp_reset_reply_form(){jQuery('#bbp-cancel-reply-to-link').trigger('click');jQuery('#bbp_reply_content').val('')}
jQuery(document).ready(function(){jQuery('.bbp-reply-form form:not([action])').attr('action','test');jQuery('.bbp-reply-form form').on("submit",function(e){e.preventDefault();bbp_reply_ajax_call('reply',jQuery(this).find('input[name=_wpnonce]').val(),jQuery(this).serializeArray())});jQuery('#forum .primary_topic.feedback .bbp-reply-form fieldset.bbp-form > legend').each(function(){var $legend=jQuery(this);var newText=$legend.text().replace(/Reply To: (.*)/,'Add Your $1');$legend.text(newText)});jQuery('#forum .primary_topic:not(.feedback) .bbp-reply-form fieldset.bbp-form > legend').each(function(){var $legend=jQuery(this);$legend.text('Add Your Comment')})});

}
catch(e){console.error("An error has occurred: "+e.stack);}
/* https://de.onair.cc/wp-content/themes/onair-7.0/assets/js/post-view.js */
try{
jQuery(document).ready(addBackButton);function addBackButton(){var topHost=window.location.hostname.match(/[^\.]+\.[^\.]+$/)[0].replace('.','\\.');var onairRe=new RegExp('^https\:\/\/([^\.]+\.)?'+topHost+'(\/.*)?$');if(onairRe.test(document.referrer)){jQuery('<div class="back-button" title="Go Back" alt="Back Button"></div>').appendTo('#content').click(function(){window.history.back()})}};

}
catch(e){console.error("An error has occurred: "+e.stack);}
/* https://de.onair.cc/wp-content/themes/onair-7.0/assets/js/left-nav-imp.js */
try{
jQuery(document).ready(function(){jQuery('ln-btn').each('.menu-drawer li.dropdown',function(k,v){});jQuery('.navpulldown').click(function(){if(jQuery(this).attr('data-target')!=undefined)
jQuery(jQuery(this).attr('data-target')).toggle();else jQuery('.menu-drawer').toggle()});jQuery('.menu-drawer a.dropdown-arrow').click(function(evt){evt.preventDefault();var element=jQuery(this);var itemID=element.attr('title');jQuery('.menu-drawer #dropdown-child-of-'+itemID).slideToggle()});jQuery('.intel_nav a.dropdown-arrow').click(function(evt){evt.preventDefault();var element=jQuery(this);var itemID=element.attr('title');jQuery('.intel_nav #dropdown-child-of-'+itemID).slideToggle()})});

}
catch(e){console.error("An error has occurred: "+e.stack);}
/* https://de.onair.cc/wp-content/themes/onair-7.0/lib/js.cookie.min.js */
try{
/**
 * Minified by jsDelivr using UglifyJS v3.4.4.
 * Original file: /npm/js-cookie@2.2.0/src/js.cookie.js
 * 
 * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files
 */
!function(e){var n=!1;if("function"==typeof define&&define.amd&&(define(e),n=!0),"object"==typeof exports&&(module.exports=e(),n=!0),!n){var o=window.Cookies,t=window.Cookies=e();t.noConflict=function(){return window.Cookies=o,t}}}(function(){function g(){for(var e=0,n={};e<arguments.length;e++){var o=arguments[e];for(var t in o)n[t]=o[t]}return n}return function e(l){function C(e,n,o){var t;if("undefined"!=typeof document){if(1<arguments.length){if("number"==typeof(o=g({path:"/"},C.defaults,o)).expires){var r=new Date;r.setMilliseconds(r.getMilliseconds()+864e5*o.expires),o.expires=r}o.expires=o.expires?o.expires.toUTCString():"";try{t=JSON.stringify(n),/^[\{\[]/.test(t)&&(n=t)}catch(e){}n=l.write?l.write(n,e):encodeURIComponent(String(n)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),e=(e=(e=encodeURIComponent(String(e))).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent)).replace(/[\(\)]/g,escape);var i="";for(var c in o)o[c]&&(i+="; "+c,!0!==o[c]&&(i+="="+o[c]));return document.cookie=e+"="+n+i}e||(t={});for(var a=document.cookie?document.cookie.split("; "):[],s=/(%[0-9A-Z]{2})+/g,f=0;f<a.length;f++){var p=a[f].split("="),d=p.slice(1).join("=");this.json||'"'!==d.charAt(0)||(d=d.slice(1,-1));try{var u=p[0].replace(s,decodeURIComponent);if(d=l.read?l.read(d,u):l(d,u)||d.replace(s,decodeURIComponent),this.json)try{d=JSON.parse(d)}catch(e){}if(e===u){t=d;break}e||(t[u]=d)}catch(e){}}return t}}return(C.set=C).get=function(e){return C.call(C,e)},C.getJSON=function(){return C.apply({json:!0},[].slice.call(arguments))},C.defaults={},C.remove=function(e,n){C(e,"",g(n,{expires:-1}))},C.withConverter=e,C}(function(){})});

}
catch(e){console.error("An error has occurred: "+e.stack);}
/* https://de.onair.cc/wp-content/themes/onair-7.0/assets/js/oa-post-widget.js */
try{
var debug=debug||1;jQuery(document).ready(function(){if(!isLargeScreen()&&jQuery('body.single').length==1){convertPostViewToWidget();if(jQuery('body').topNewsInterface!=undefined)
jQuery('#content').topNewsInterface('.cat-post-thumbnail','.post-title',{'scrollToContainer':!0});createWidgetInterface('#content','.post-title','.post-entry')}else if(isLargeScreen()&&jQuery('body').topNewsInterface!=undefined){console.log('largescreen topnewsinterface');jQuery('#content').topNewsInterface('.post_featured_image','.page_title h1',{'scrollToContainer':!0,'tabs':!0})}});var _loadingSlugs=[];var _waitingSlugs={};function isSlugLoading(typeAndSlug){return _loadingSlugs.includes(typeAndSlug)}
function addLoadingSlug(typeAndSlug){_loadingSlugs.push(typeAndSlug)}
function isSlugWaiting(typeAndSlug){return typeAndSlug in _waitingSlugs}
function addWidgetWaitingForSlug(typeAndSlug,data){if(!(typeAndSlug in _waitingSlugs))_waitingSlugs[typeAndSlug]=[];_waitingSlugs[typeAndSlug].push(data)}
function createWidgetBySlug(slug,postType,widgetWrapper,perspective='',widgetClass='',callback=null){var widget=jQuery('<div id="'+slug+'_widget" class="map-post-item post-widget '+postType+' '+perspective+' '+slug+' '+widgetClass+'"></div>');if(perspective!='')widget.attr('perspective',perspective);jQuery(widgetWrapper).append(widget);jQuery.getJSON('/wp-json/wp/v2/'+(postType=='post'?'posts':postType)+'?slug='+slug,function(json){if(json.length>0){createWidgetByJson(json[0],widgetWrapper,postType,perspective,widgetClass,callback)}})}
function stripJs(html){return html.replace(/<script[\s\S]*?>[\s\S]*?<\/script>/gi,'').replace(/<\/?script[^>]*>/gi,'')}
function addContentToWidget(json,$widget){if(json.length>1)json=json[0];if(!$widget.length){console.log('Unable to addContentToWidget');return}
if(json.content.rendered!=''){$widget.find('.extended_summary').hide();jQuery('<div class="post-content">'+stripJs(json.content.rendered)+'</div>').insertBefore($widget.find('.sponsor-bar'));if($widget.topNewsInterface!=undefined){$widget.topNewsInterface('.cat-post-thumbnail','.post-title > a',{'scrollToContainer':!0})}
createWidgetInterface($widget);if($widget.hasClass('has-menu'))$widget.find('.post-title').removeClass('no-menu')}}
function getPostBySlug(slug,postType,callback){jQuery.getJSON('/wp-json/wp/v2/'+(postType=='post'?'posts':postType)+'?slug='+slug,callback)}
function createWidgetByJson(json,widgetWrapper,postType='post',perspective='',widgetClass='',callback=null){if(debug>=4)console.log('Entering createWidgetByJson for '+json.slug);var $widget=jQuery('#'+json.slug+'_widget');if($widget.length==0){$widget=jQuery('<div id="'+json.slug+'_widget" data-default-tab="'+json.display_options.default_tab+'" class="map-post-item post-widget '+postType+' '+perspective+' '+json.slug+' '+widgetClass+'"></div>');if(perspective!=''){$widget.attr('perspective',perspective)}
jQuery(widgetWrapper).append($widget)}
if(json.featured_media_content){var imgSpan=jQuery('<span class="cat-post-thumbnail cat-post-none" title="'+stripJs(json.title.rendered)+'"></span>');$widget.append(imgSpan);if(json.featured_media_content.featured_video||!json.featured_media_content.featured_image){imgSpan.append(json.featured_media_content.the_post_thumbnail)}else{var featImg=json.featured_media_content.featured_image;imgSpan.attr('title',featImg.alt);var srcset='';var first=!0;for(size in featImg.sizes){if(size!='thumbnail'){if(!first)srcset+=', ';first=!1;var sizeAtts=featImg.sizes[size];srcset+=sizeAtts.src+' '+sizeAtts.width+'w'}}
imgSpan.append('<a href="'+json.link+'"><img src="'+featImg.src+'" class="attachment-widget-post-image size-widget-post-image wp-post-image" alt="'+featImg.alt+'" srcset="'+srcset+'" sizes="(max-width: 335px) 335px, (max-width: 550px: 550px, 784px"></a>')}}else if(json.featured_media){var imgSpan=jQuery('<span class="cat-post-thumbnail cat-post-none" title="'+json.title.rendered+'"></span>');$widget.append(imgSpan);jQuery.getJSON('/wp-json/wp/v2/media/'+json.featured_media,function(featJson){if(debug>=4)console.log('featured media call from '+json.slug);imgSpan.attr('title',featJson.alt_text);if(featJson.media_type=="image"){var srcset='';var first=!0;for(size in featJson.media_details.sizes){if(size!='thumbnail'){if(!first)srcset+=', ';first=!1;var sizeAtts=featJson.media_details.sizes[size];srcset+=sizeAtts.source_url+' '+sizeAtts.width+'w'}}
if(imgSpan.is(':visible'))
jQuery('<img width="335" height="190" src="'+featJson.guid.rendered+'" class="attachment-widget-post-image size-widget-post-image wp-post-image" alt="'+featJson.alt_text+'" srcset="'+srcset+'" sizes="(max-width: 335px) 100vw, 335px">').css('display','none').appendTo(imgSpan).slideDown('fast');else jQuery('<img width="335" height="190" src="'+featJson.guid.rendered+'" class="attachment-widget-post-image size-widget-post-image wp-post-image" alt="'+featJson.alt_text+'" srcset="'+srcset+'" sizes="(max-width: 335px) 100vw, 335px">').appendTo(imgSpan)}})}
if(!('display_options' in json))console.debug('Slug: '+json.slug+'; display_options not in json');else console.debug('Slug: '+json.slug+'; display_options.hide_title: '+json.display_options.hide_title);if(!('display_options' in json)||json.display_options.hide_title!='yes')
$widget.append('<a href="'+json.link+'" class="post-title cat-post-title">'+json.title.rendered+'</a>');$widget.append(json.excerpt.rendered);if(json.content.rendered!=''){$widget.find('.extended_summary').hide();$widget.append('<div class="post-content">'+stripJs(json.content.rendered)+'</div>');if($widget.topNewsInterface!=undefined){$widget.topNewsInterface('.cat-post-thumbnail','.post-title > a',{'scrollToContainer':!0})}
createWidgetInterface($widget)}else{$widget.find('.extended_summary').each(extendedSummaryToggle)}
if(debug>=4)console.debug('Checking '+json.slug+' for sponsor bar: '+json.sponsor_bar);if(json.sponsor_bar){$widget.append(json.sponsor_bar.rendered);if(debug>=5)console.debug('Appending sponsor bar: '+json.sponsor_bar.rendered);if(typeof a2a!='undefined')a2a.init_all()}
$widget.append('<div class="close" title="Close Widget" alt="Close Widget" onclick="if (jQuery(this).onhide != undefined) jQuery(this).onhide(); if (isLargeScreen()) jQuery(this).parent().fadeOut(); else jQuery(this).parent().hide();">X</div>');$widget.removeClass('empty');var typeAndSlug=postType+'>'+json.slug;if(debug>=3)console.debug('Done widget '+$widget.attr('id')+'; waitingSlugs['+typeAndSlug+']: '+_waitingSlugs[typeAndSlug]);if(typeAndSlug in _waitingSlugs){copyCompletedWidgetToWaitingSlugs($widget,_waitingSlugs[typeAndSlug]);delete _waitingSlugs[typeAndSlug]}
_loadingSlugs=_loadingSlugs.filter(function(ele){return ele!=typeAndSlug});if(typeof delayLoadTwitter=='function')
$widget.find('.twitter-timeline-delay').each(delayLoadTwitter);if($widget.find('.cat-post-thumbnail > a.fvp-dynamic').length>0){jQuery.loadScript('/wp-content/plugins/featured-video-plus/js/frontend.min.js',triggerFvpInit)}
if(callback!=null&&typeof(callback)=="function")callback(typeAndSlug);return $widget}
function copyCompletedWidgetToWaitingSlugs(sourceWidget,waitingItems){var item,listItem,perspective,widgetWrapper,widgetCopy;if(debug>=2)console.debug('Debug2: copyCompletedWidgetToWaitingSlugs: '+sourceWidget.attr('id'));for(var i=0;i<waitingItems.length;i++){item=waitingItems[i];widgetSlug=item[0];perspective=item[1];widgetWrapper=item[2];if(debug>=2)console.log('Debug2: copyCompletedWidgetToWaitingSlugs item: '+perspective+' '+widgetWrapper);copyWidgetToDestination(widgetSlug,sourceWidget,widgetWrapper,perspective)}}
function copyWidgetToDestination(slug,sourceWidget,destinationWrapperSelector,destPerspective){var widgetClassSelector=' .'+slug;if(typeof destPerspective!=='undefined'&&destPerspective!='')widgetClassSelector+='.'+destPerspective;else destPerspective='';var destContainer=jQuery(destinationWrapperSelector+widgetClassSelector);if(destContainer.length)destContainer.remove();if(debug>=4)console.log('destContainer '+destinationWrapperSelector+widgetClassSelector);var widgetCopy=sourceWidget.clone(!0,!0).attr({"id":"","perspective":destPerspective});if(destPerspective!=sourceWidget.attr('perspective')){widgetCopy.removeClass(sourceWidget.attr('perspective'));widgetCopy.addClass(destPerspective)}
if(debug>=4)console.log('no destContainer '+destinationWrapperSelector+widgetClassSelector+', copying entire thing');jQuery(destinationWrapperSelector).append(widgetCopy);if(widgetCopy.find('.main-nav').length==0){createWidgetInterface(widgetCopy)}
widgetCopy.find('.twitter-timeline-delay').each(delayLoadTwitter)}
function triggerFvpInit(){initFeaturedVideoPlus()}
function convertPostViewToWidget(selector='#content'){var contentContainer=jQuery(selector);contentContainer.find('>.content-margin:first-child > div.hentry:first-child').addClass('post-widget').removeClass('hentry').prependTo(contentContainer);jQuery(contentContainer.find('>.content-margin')[0]).remove();var featImg=contentContainer.find('.post_featured_image');jQuery('<span class="cat-post-thumbnail"></span>').append(featImg.find('img')).insertBefore(contentContainer.find('.page_title'));featImg.remove();contentContainer.find('.page_title').after('<a class="post-title">'+contentContainer.find('.page_title h1').text()+'</a>').remove()}
function createWidgetInterfaceSingle(postEl,maxH1=12){createWidgetInterface(postEl,'>a:first-child','',{'maxH1':maxH1})}
function enterWidget($widget,defaultTab='summary'){var $mainNav=$widget.find('.main-nav');console.debug('Entering widget');console.debug($mainNav);var $newsMenuItem=$mainNav.find('> div[title="News"]');console.debug($newsMenuItem);defaultTab=$widget.data('default-tab');var $defaultTab=$mainNav.find('> div[data-slug="'+defaultTab+'"] > div:first-child');if($defaultTab.length>0)
$defaultTab.click();else $widget.find('.main-nav > div:first-child > div:first-child').click()}
function createWidgetInterface(postEl,titleSelector='.post-title',contentSelector='.post-content',args={}){const defaultTab=args.defaultTab??'summary';const showNav=args.showNav??!0;const maxH1=args.maxH1??12;var $postEl=jQuery(postEl);var $h1=null;var $h1nav,$prevH1nav,navButton;var $overview;var hId;var h1s=$postEl.find(contentSelector+' h1').not('.tn_summary *').not(':empty');var $headings;if(h1s.length<2){$postEl.find(contentSelector+' h1').remove();$headings=$postEl.find(contentSelector+' h2').not('.tn_summary *').not(':empty');$headings.each(function(ind){this.outerHTML='<h1>'+this.innerHTML+'</h1>'});$headings=$postEl.find(contentSelector+' h1').not('.tn_summary *').not(':empty')}else{$headings=$postEl.find(contentSelector+' h1,'+contentSelector+' h2').not('.tn_summary *').not(':empty')}
var $heading;var $button;var hnum=0,h1Count=0;var hasSubheadings;var $mainNav=jQuery('<div navid="main-nav" class="headings-nav main-nav three-columns"></div>');var $mnRow=null;$mnRow=$mainNav;var $priorObj=$postEl.find(titleSelector);if($priorObj.length>0){var $titleContainer=jQuery('<span class="post-title cat-post-title"></span>').insertBefore($priorObj).append($priorObj);$priorObj.removeClass('post-title').removeClass('cat-post-title');$priorObj=$titleContainer}else if($postEl.find('.cat-post-thumbnail').length>0){console.log('No title');$priorObj=$postEl.find('.cat-post-thumbnail')}else{console.log('No title or thumbnail');$priorObj=jQuery('<div style="display:none"></div>').appendTo($postEl)}
$priorObj.addClass('no-menu');if($headings.length<2){return}
if($headings.length>1){$postEl.addClass('has-menu')}
$priorObj.after($mainNav);for(var i=0;i<$headings.length;i++){$heading=jQuery($headings[i]);if($h1==null&&$heading.is('h2'))continue;if($heading.html()==''||$heading.closest('.summary').length)continue;if($heading.closest('.tn_summary').length)continue;if($heading.attr('id')==undefined){$heading.attr('navid','h_'+hnum);hnum++}else{$heading.attr('navid',$heading.attr('id'))}
hId=$heading.attr('navid');if($heading.is('h1')){if(h1Count==maxH1){break}
$h1=$heading;if($heading.next().length==0||$heading.next().is('h1')){continue}
hasSubheadings=(i+1<$headings.length&&jQuery($headings[i+1]).is('h2'));h1Count++;if(hasSubheadings){$prevH1nav=$h1nav;var columns='three-columns';var colAttr=$heading.attr('columns');if(colAttr!=undefined&&colAttr!==!1){if(colAttr=='1')columns='one-column';else if(colAttr=='2')columns='two-columns';else if(colAttr=='3')columns='three-columns'}
$h1nav=jQuery('<div navid="'+hId+'-nav" class="headings-nav '+columns+' '+hId+'-nav"></div>');if($prevH1nav==null){$mainNav.after($h1nav)}else{$prevH1nav.after($h1nav)}
var shortH=$heading.attr('short');var headingText=((shortH!==undefined&&shortH!==!1)?shortH:$heading.text());var $downButton=jQuery('<div title="'+$heading.text()+'" data-slug="'+$heading.text().toLowerCase()+'" data-heading-id="'+hId+'"><div>'+headingText+'</div></div>');$downButton.appendTo($mnRow);$downButton.click(function(hId){return function(){var $widget=jQuery(this).closest('.post-widget');$widget.find('.section-wrapper.topnews .tn_row.active, .topnews .section-wrapper .tn_row.active').click();$widget.find('.main-nav div.selected').removeClass('selected');$widget.find('.main-nav').hide();$widget.find('.'+hId+'-nav').show().find('div:nth-child(2)').click()}}(hId));var $upButton=jQuery('<div><span>'+$heading.text()+'</span></div>');$upButton.click(function(hId){return function(){var $widget=jQuery(this).closest('.post-widget');$widget.find('.'+hId+'-nav').hide();$widget.find('.main-nav').css('display','table');jQuery(this).closest('.post-widget').find('.section-wrapper:visible').hide();$widget.find('.main-nav > div[data-slug="summary"] > div:first-child').click();$widget.find('.main-nav .related_links').show()}}(hId));$h1nav.append($upButton);if(!$heading.next().is('h2')&&!$heading.next().is('.topnews')){hId='h_'+hnum;var $overview=jQuery('<h2 navid="'+hId+'">Overview</h2>');hnum++;$heading.after($overview);addSectionHeading($h1nav,$overview,hId)}}else if($heading.next().length==1&&!$heading.next().is('h1')){addSectionHeading($mnRow,$heading,hId)}}else if($heading.is('h2')){addSectionHeading($h1nav,$heading,hId)}}
if(h1Count<maxH1&&h1Count%3>0){for(var i=h1Count;i%3>0;i++){$button=jQuery('<div class="empty"></div>');$button.appendTo($mnRow)}}
$mainNav.hide();$mainNav.siblings('.headings-nav').hide();$priorObj.removeClass('loading');console.debug("Going to check showNav, defaultTab: "+defaultTab);if(showNav=='slide')$mainNav.slideDown(350,function(){console.debug("Checked showNav with slideDown");enterWidget($mainNav.closest('.post-widget'),defaultTab)});else if(showNav){$mainNav.show();console.debug("Checked showNav without slideDown");enterWidget($mainNav.closest('.post-widget'),defaultTab)}}
function addSectionHeading($parentNav,$heading,headingId,hasChildren=!1){var parentNavId=$parentNav.attr('navid');var shortH=$heading.attr('short');var headingText=((shortH!==undefined&&shortH!==!1)?shortH:$heading.text());var $navButton=jQuery('<div title="'+$heading.text()+'" data-slug="'+$heading.text().toLowerCase()+'"><div>'+headingText+'</div></div>');if(parentNavId=='main-nav'){$navButton.click(function(){var $button=jQuery(this);var $widget=$button.closest('.post-widget');$widget.find('.section-wrapper:visible').hide();$widget.find('.topnews:visible').hide();$widget.find('.section-wrapper.topnews .tn_row.active, .topnews .section-wrapper .tn_row.active').click();$button.closest('.main-nav').find('.selected').removeClass('selected');$button.addClass('selected');var $wrapper=$widget.find('.'+headingId+'-wrapper').show();$wrapper.closest('.topnews').show();$wrapper.closest('.slider-main-content').scrollTop(0);$widget.find('.main-nav .related_links').hide()})}else{$navButton.click(function(){var $widget=jQuery(this).closest('.post-widget');$widget.find('.slider-main-content').scrollTop(0);$widget.find('.section-wrapper:visible').hide().closest('.topnews').hide();jQuery(this).siblings().removeClass('selected');jQuery(this).addClass('selected');var $wrapper=$widget.find('.'+headingId+'-wrapper').show();$wrapper.closest('.section-wrapper').show().closest('.topnews').show()})}
$parentNav.append($navButton);var $wrapper=jQuery('<div class="section-wrapper '+headingId+'-wrapper"></div>');$heading.after($wrapper);$heading.nextUntil('h1,h2').appendTo($wrapper);$wrapper.prepend($heading);$heading.html('<span>'+$heading.text()+'</span>');var $enclosingWrapper=$wrapper.parents('div.section-wrapper');if($enclosingWrapper.length){$enclosingWrapper.after($wrapper)}
if($heading.hasClass('post_summary')){$wrapper.addClass('summary');$heading.siblings('.summary').removeClass('summary');$navButton.addClass('post_summary')}
if($heading.hasClass('topnews')){$wrapper.addClass('topnews');$heading.siblings('.topnews').removeClass('topnews')}}
function generateWidgetsByCategory(categorySlug,container){container=jQuery(container)}
function postContentToAllSlides(){}
function postContentToSlide(widget,slide){widget=jQuery(widget);slide=jQuery(slide)}
function phoneWidgetSliderNav(widgetWrapper){var widgetWrapper=jQuery(widgetWrapper);var titles=widgetWrapper.find('.post-widget span.post-title > *,.post-widget a.post-title').map(function(){return jQuery(this).text()}).get();var returnToFirst='';if(titles.length>8)returnToFirst='<div class="cycle-nav-buttons"><div class="tostart" title="Return to first slide" alt="Return to first slide"><div></div><div></div></div></div>';var sliderContainer=jQuery('<div class="sliderContainer widgets"></div>').insertBefore(widgetWrapper);widgetWrapper.appendTo(sliderContainer);var slideNumWidth=1+1.45*(1+Math.log10(titles.length));var navbar=jQuery('<div class="filter-bar"><div>'+returnToFirst+'<div class="cycle-nav-buttons"><div class="prev" title="Previous Post" alt="Previous Post Button"></div></div><div class="slide-numbers" style="width: '+slideNumWidth+'em;"><span class="current">1</span><span>&nbsp;/ '+titles.length+'</span></div><div class="cycle-nav-buttons"><div class="next" title="Next Post" alt="Next Post Button"></div></div></div></div>');navbar.insertBefore(widgetWrapper);var widget=widgetWrapper.find('.post-widget').css('margin-top','0');widgetWrapper.cycle({fx:'fade',pause:!0,autostop:0,fit:1,height:'auto',width:'100%',prev:'.widgets .prev',next:'.widgets .next',before:function(elOut,elIn,options){elIn=jQuery(elIn);var inIndex=elIn.attr('idx');var inIndexInt=parseInt(inIndex);if(!isNaN(inIndexInt)){widgetWrapper.parent().find('.slide-numbers > .current').text((inIndexInt+1)+'')}
var filterBarHeight=widgetWrapper.parent().find('.filter-bar').outerHeight();var maxHeight=jQuery(window).outerHeight()-filterBarHeight-jQuery('#wpadminbar').outerHeight()-10;widgetWrapper.css('height',maxHeight+'px').css('width','100%')},after:function(elOut,elIn,options){},pagerAnchorBuilder:function(index,slide){slide=jQuery(slide);var container=slide.closest('.widgetWrapper');slide.attr('idx',index)},});widgetWrapper.cycle('pause');widgetSliderCycleControl(widgetWrapper)}
widgetSliderCycleControl=function(slider){slider.parent().find('.tostart').click(function(){jQuery(this).closest('.sliderContainer').find('>.widgetWrapper').cycle(0)});jQuery(document).keydown(function(e){switch(e.which){case 37:slider.cycle('prev');break;case 38:break;case 39:slider.cycle('next');break;case 40:break;default:return}
e.preventDefault()})};

}
catch(e){console.error("An error has occurred: "+e.stack);}
/* https://de.onair.cc/wp-content/themes/onair-7.0/lib/strap-extras.js */
try{
/*!
 * StrapPress Extras
 */
jQuery(function(){jQuery("a[rel=popover]").popover().click(function(e){e.preventDefault()});jQuery("a[rel=tooltip]").tooltip()});

}
catch(e){console.error("An error has occurred: "+e.stack);}
/* https://de.onair.cc/wp-content/themes/onair-7.0/includes/control-bar/cb-scripts.js */
try{
jQuery(document).ready(function(){jQuery('#wp-admin-bar-search-icon').mouseover(function(event){if(!jQuery('#search-adv #s').is(':focus')){jQuery('#search-adv #s').select()}});jQuery('#wp-admin-bar-search-icon').focusin(function(event){jQuery(this).addClass('search-focus');if(!jQuery('#search-adv #s').is(':focus')){jQuery('#search-adv #s').select()}
event.stopPropagation()});jQuery('#wp-admin-bar-search-icon').click(function(event){jQuery(this).addClass('search-focus');if(!jQuery('#search-adv #s').is(':focus')){jQuery('#search-adv #s').select()}
event.stopPropagation()});jQuery('#wp-admin-bar-search-icon').focusout(function(){jQuery(this).removeClass('search-focus')});jQuery('body').click(function(){jQuery('#wp-admin-bar-search-icon').removeClass('search-focus')})});

}
catch(e){console.error("An error has occurred: "+e.stack);}
/* https://de.onair.cc/wp-content/plugins/favorites/assets/js/favorites.min.js */
try{
{var Favorites=Favorites||{};Favorites.Utilities=function(){var t=this,e=jQuery;t.isFavorite=function(o,t){var a=!1;return e.each(t,function(t,e){e.post_id===parseInt(o)&&(a=!0),parseInt(e.post_id)===o&&(a=!0)}),a},t.objectLength=function(t){var e,o=0;for(e in t)t.hasOwnProperty(e)&&o++;return o},t.siteIndex=function(t){for(var e=0;e<Favorites.userFavorites.length;e++)if(Favorites.userFavorites[e].site_id===parseInt(t))return e},t.getThumbnail=function(t,e){var t=t.thumbnails;return void 0!==t&&0!=t.length&&void 0!==(t=t[e])&&t||!1}}}function favorites_after_button_submit(t,e,o,a){}function favorites_after_initial_load(t){}(Favorites=Favorites||{}).Formatter=function(){var s=jQuery;this.addFavoriteCount=function(t,e){return Favorites.jsData.button_options.include_count&&(t+=' <span class="simplefavorite-button-count">'+(e=e<=0?0:e)+"</span>"),t},this.decrementAllCounts=function(){for(var t=s(".simplefavorite-button.active.has-count"),e=0;e<t.length;e++){var o=s(t)[e],a=s(o).find(".simplefavorite-button-count"),a=s(a).text()-1;s(o).attr("data-favoritecount",a)}}},(Favorites=Favorites||{}).ButtonOptionsFormatter=function(){var i=this,n=jQuery;i.options=Favorites.jsData.button_options,i.formatter=new Favorites.Formatter,i.format=function(t,e){i.options.custom_colors&&i.colors(t,e),i.html(t,e)},i.html=function(t,e){var o=n(t).attr("data-favoritecount"),a=i.options.button_type,s="";"custom"===i.options.button_type?(e&&n(t).html(i.formatter.addFavoriteCount(Favorites.jsData.favorited,o)),e||n(t).html(i.formatter.addFavoriteCount(Favorites.jsData.favorite,o)),i.applyIconColor(t,e),i.applyCountColor(t,e)):e?(s=(s+='<i class="'+a.icon_class+'"></i> ')+a.state_active,n(t).html(i.formatter.addFavoriteCount(s,o))):(s=(s+='<i class="'+a.icon_class+'"></i> ')+a.state_default,n(t).html(i.formatter.addFavoriteCount(s,o)),i.applyIconColor(t,e),i.applyCountColor(t,e))},i.colors=function(t,e){var o;i.options.custom_colors&&(e?((o=i.options.active).background_active&&n(t).css("background-color",o.background_active),o.border_active&&n(t).css("border-color",o.border_active),o.text_active&&n(t).css("color",o.text_active)):((o=i.options.default).background_default&&n(t).css("background-color",o.background_default),o.border_default&&n(t).css("border-color",o.border_default),o.text_default&&n(t).css("color",o.text_default),i.boxShadow(t)))},i.boxShadow=function(t){i.options.box_shadow||(n(t).css("box-shadow","none"),n(t).css("-webkit-box-shadow","none"),n(t).css("-moz-box-shadow","none"))},i.applyIconColor=function(t,e){i.options.custom_colors&&(e&&i.options.active.icon_active&&n(t).find("i").css("color",i.options.active.icon_active),!e)&&i.options.default.icon_default&&n(t).find("i").css("color",i.options.default.icon_default)},i.applyCountColor=function(t,e){i.options.custom_colors&&(e&&i.options.active.count_active?n(t).find(Favorites.selectors.count).css("color",i.options.active.count_active):!e&&i.options.default.count_default&&n(t).find(Favorites.selectors.count).css("color",i.options.default.count_default))}},(Favorites=Favorites||{}).UserFavorites=function(){var e=this,o=jQuery;return e.initialLoad=!1,e.bindEvents=function(){o(window).on("load",function(){e.initialLoad=!0,e.getFavorites()})},e.getFavorites=function(){o.ajax({url:Favorites.jsData.ajaxurl,type:"POST",datatype:"json",data:{action:Favorites.formActions.favoritesarray},success:function(t){Favorites.jsData.dev_mode&&(console.log("The current user favorites were successfully loaded."),console.log(t)),Favorites.userFavorites=t.favorites,o(document).trigger("favorites-user-favorites-loaded",[t.favorites,e.initialLoad]),o(document).trigger("favorites-update-all-buttons"),e.initialLoad&&favorites_after_initial_load(Favorites.userFavorites)},error:function(t){Favorites.jsData.dev_mode&&(console.log("The was an error loading the user favorites."),console.log(t))}})},e.bindEvents()},(Favorites=Favorites||{}).Clear=function(){var s=this,i=jQuery;return s.activeButton,s.utilities=new Favorites.Utilities,s.formatter=new Favorites.Formatter,s.bindEvents=function(){i(document).on("click",Favorites.selectors.clear_button,function(t){t.preventDefault(),s.activeButton=i(this),s.clearFavorites()}),i(document).on("favorites-updated-single",function(){s.updateClearButtons()}),i(document).on("favorites-user-favorites-loaded",function(){s.updateClearButtons()})},s.clearFavorites=function(){s.loading(!0);var e=i(s.activeButton).attr("data-siteid");i.ajax({url:Favorites.jsData.ajaxurl,type:"post",datatype:"json",data:{action:Favorites.formActions.clearall,siteid:e},success:function(t){Favorites.jsData.dev_mode&&(console.log("Favorites list successfully cleared."),console.log(t)),Favorites.userFavorites=t.favorites,s.formatter.decrementAllCounts(),s.loading(!1),s.clearSiteFavorites(e),i(document).trigger("favorites-cleared",[s.activeButton,t.old_favorites]),i(document).trigger("favorites-update-all-buttons")},error:function(t){Favorites.jsData.dev_mode&&(console.log("There was an error clearing the favorites list."),console.log(t))}})},s.loading=function(t){t?(i(s.activeButton).addClass(Favorites.cssClasses.loading),i(s.activeButton).attr("disabled","disabled")):i(s.activeButton).removeClass(Favorites.cssClasses.loading)},s.updateClearButtons=function(){for(var t=0;t<i(Favorites.selectors.clear_button).length;t++)for(var e=i(Favorites.selectors.clear_button)[t],o=i(e).attr("data-siteid"),a=0;a<Favorites.userFavorites.length;a++)Favorites.userFavorites[a].site_id===parseInt(o)&&(0<s.utilities.objectLength(Favorites.userFavorites[a].posts)?i(e).attr("disabled",!1):i(e).attr("disabled","disabled"))},s.clearSiteFavorites=function(o){i.each(Favorites.userFavorites,function(t,e){this.site_id===parseInt(o)&&(Favorites.userFavorites[t].posts={})})},s.bindEvents()},(Favorites=Favorites||{}).Lists=function(){var u=this,v=jQuery;return u.utilities=new Favorites.Utilities,u.buttonFormatter=new Favorites.ButtonOptionsFormatter,u.bindEvents=function(){v(document).on("favorites-update-all-lists",function(){u.updateAllLists()}),v(document).on("favorites-updated-single",function(){u.updateAllLists()}),v(document).on("favorites-cleared",function(){u.updateAllLists()}),v(document).on("favorites-user-favorites-loaded",function(){u.updateAllLists()})},u.updateAllLists=function(){if(void 0!==Favorites.userFavorites)for(var t=0;t<Favorites.userFavorites.length;t++)for(var e=v(Favorites.selectors.list+'[data-siteid="'+Favorites.userFavorites[t].site_id+'"]'),o=0;o<v(e).length;o++){var a=v(e)[o];u.updateSingleList(a)}},u.updateSingleList=function(e){var t=v(e).attr("data-userid"),o=v(e).attr("data-siteid"),a=v(e).attr("data-includelinks"),s=v(e).attr("data-includebuttons"),i=v(e).attr("data-includethumbnails"),n=v(e).attr("data-thumbnailsize"),r=v(e).attr("data-includeexcerpts"),c=v(e).attr("data-posttypes"),d=v(e).attr("data-nofavoritestext");v.ajax({url:Favorites.jsData.ajaxurl,type:"post",dataType:"json",data:{action:Favorites.formActions.favoritelist,userid:t,siteid:o,include_links:a,include_buttons:s,include_thumbnails:i,thumbnail_size:n,include_excerpt:r,no_favorites:d,post_types:c},success:function(t){Favorites.jsData.dev_mode&&(console.log("Favorites list successfully retrieved."),console.log(v(e)),console.log(t));t=v(t.list);v(e).replaceWith(t),u.removeButtonLoading(t),v(document).trigger("favorites-list-updated",[t])},error:function(t){Favorites.jsData.dev_mode&&(console.log("There was an error updating the list."),console.log(e),console.log(t))}})},u.removeButtonLoading=function(t){t=v(t).find(Favorites.selectors.button);v.each(t,function(){u.buttonFormatter.format(v(this),!1),v(this).removeClass(Favorites.cssClasses.active),v(this).removeClass(Favorites.cssClasses.loading)})},u.removeInvalidListItems=function(t,a){t=v(t).find("li[data-postid]");v.each(t,function(t,e){var o=v(this).attr("data-postid");u.utilities.isFavorite(o,a)||v(this).remove()})},u.bindEvents()},(Favorites=Favorites||{}).Button=function(){var e=this,o=jQuery;return e.activeButton,e.allButtons,e.authenticated=!0,e.formatter=new Favorites.Formatter,e.data={},e.bindEvents=function(){o(document).on("click",Favorites.selectors.button,function(t){t.preventDefault(),e.activeButton=o(this),e.setAllButtons(),e.submitFavorite()})},e.setAllButtons=function(){var t=o(e.activeButton).attr("data-postid");e.allButtons=o('button[data-postid="'+t+'"]')},e.setData=function(){e.data.post_id=o(e.activeButton).attr("data-postid"),e.data.site_id=o(e.activeButton).attr("data-siteid"),e.data.status=o(e.activeButton).hasClass("active")?"inactive":"active";var t=o(e.activeButton).attr("data-user-consent-accepted");e.data.user_consent_accepted=void 0!==t&&""!==t},e.submitFavorite=function(){e.loading(!0),e.setData();var t={action:Favorites.formActions.favorite,postid:e.data.post_id,siteid:e.data.site_id,status:e.data.status,user_consent_accepted:e.data.user_consent_accepted};o.ajax({url:Favorites.jsData.ajaxurl,type:"post",dataType:"json",data:t,success:function(t){Favorites.jsData.dev_mode&&(console.log("The favorite was successfully saved."),console.log(t)),"unauthenticated"===t.status?(Favorites.authenticated=!1,e.loading(!1),e.data.status="inactive",o(document).trigger("favorites-update-all-buttons"),o(document).trigger("favorites-require-authentication",[e.data])):"consent_required"===t.status?(e.loading(!1),o(document).trigger("favorites-require-consent",[t,e.data,e.activeButton])):(Favorites.userFavorites=t.favorites,e.loading(!1),e.resetButtons(),o(document).trigger("favorites-updated-single",[t.favorites,e.data.post_id,e.data.site_id,e.data.status]),o(document).trigger("favorites-update-all-buttons"),favorites_after_button_submit(t.favorites,e.data.post_id,e.data.site_id,e.data.status))},error:function(t){Favorites.jsData.dev_mode&&(console.log("There was an error saving the favorite."),console.log(t))}})},e.resetButtons=function(){var t=parseInt(o(e.activeButton).attr("data-favoritecount"));o.each(e.allButtons,function(){"inactive"===e.data.status?(t<=0&&(t=1),o(this).removeClass(Favorites.cssClasses.active),o(this).attr("data-favoritecount",t-1),o(this).find(Favorites.selectors.count).text(t-1)):(o(this).addClass(Favorites.cssClasses.active),o(this).attr("data-favoritecount",t+1),o(this).find(Favorites.selectors.count).text(t+1))})},e.loading=function(t){t?o.each(e.allButtons,function(){o(this).attr("disabled","disabled"),o(this).addClass(Favorites.cssClasses.loading),o(this).html(e.addLoadingIndication())}):o.each(e.allButtons,function(){o(this).attr("disabled",!1),o(this).removeClass(Favorites.cssClasses.loading)})},e.addLoadingIndication=function(t){return"1"!==Favorites.jsData.indicate_loading?t:"active"===e.data.status?Favorites.jsData.loading_text+Favorites.jsData.loading_image_active:Favorites.jsData.loading_text+Favorites.jsData.loading_image},e.bindEvents()},(Favorites=Favorites||{}).ButtonUpdater=function(){var a=this,s=jQuery;return a.utilities=new Favorites.Utilities,a.formatter=new Favorites.Formatter,a.buttonFormatter=new Favorites.ButtonOptionsFormatter,a.activeButton,a.data={},a.bindEvents=function(){s(document).on("favorites-update-all-buttons",function(){a.updateAllButtons()}),s(document).on("favorites-list-updated",function(t,e){a.updateAllButtons(e)})},a.updateAllButtons=function(t){if(void 0!==Favorites.userFavorites)for(var e=s(Favorites.selectors.button),o=0;o<s(e).length;o++)a.activeButton=s(e)[o],Favorites.authenticated&&a.setButtonData(),Favorites.authenticated&&a.utilities.isFavorite(a.data.postid,a.data.site_favorites)?(a.buttonFormatter.format(s(a.activeButton),!0),s(a.activeButton).addClass(Favorites.cssClasses.active)):(a.buttonFormatter.format(s(a.activeButton),!1),s(a.activeButton).removeClass(Favorites.cssClasses.active)),s(a.activeButton).removeClass(Favorites.cssClasses.loading),s(a.activeButton).find(Favorites.selectors.count).text(a.data.favorite_count)},a.setButtonData=function(){a.data.postid=s(a.activeButton).attr("data-postid"),a.data.siteid=s(a.activeButton).attr("data-siteid"),a.data.favorite_count=s(a.activeButton).attr("data-favoritecount"),a.data.site_index=a.utilities.siteIndex(a.data.siteid),a.data.site_favorites=Favorites.userFavorites[a.data.site_index].posts,a.data.favorite_count<=0&&(a.data.favorite_count=0)},a.bindEvents()},(Favorites=Favorites||{}).TotalCount=function(){var t=this,r=jQuery;return t.bindEvents=function(){r(document).on("favorites-updated-single",function(){t.updateTotal()}),r(document).on("favorites-cleared",function(){t.updateTotal()}),r(document).on("favorites-user-favorites-loaded",function(){t.updateTotal()})},t.updateTotal=function(){for(var t=0;t<r(Favorites.selectors.total_favorites).length;t++){for(var e=r(Favorites.selectors.total_favorites)[t],o=parseInt(r(e).attr("data-siteid")),a=r(e).attr("data-posttypes").split(","),s=0,i=0;i<Favorites.userFavorites.length;i++){var n=Favorites.userFavorites[i];n.site_id===o&&r.each(n.posts,function(){("all"===r(e).attr("data-posttypes")||-1!==r.inArray(this.post_type,a))&&s++})}r(e).text(s)}},t.bindEvents()},(Favorites=Favorites||{}).PostFavoriteCount=function(){var i=this,c=jQuery;return i.bindEvents=function(){c(document).on("favorites-updated-single",function(t,e,o,a,s){if("active"===s)return i.updateCounts();i.decrementSingle(o,a)}),c(document).on("favorites-cleared",function(t,e,o){i.updateCounts(o,!0)})},i.updateCounts=function(t,e){void 0!==t&&""!==t||(t=Favorites.userFavorites),void 0!==e&&""!==e||(e=!1);for(var o=0;o<c("["+Favorites.selectors.post_favorite_count+"]").length;o++){var a=c("["+Favorites.selectors.post_favorite_count+"]")[o],s=parseInt(c(a).attr(Favorites.selectors.post_favorite_count)),i=c(a).attr("data-siteid");""===i&&(i="1");for(var n=0;n<t.length;n++){var r=t[n];r.site_id===parseInt(i)&&c.each(r.posts,function(){var t;this.post_id===s&&(e?(t=parseInt(this.total)-1,c(a).text(t)):c(a).text(this.total))})}}},i.decrementSingle=function(t,e){for(var o=0;o<c("["+Favorites.selectors.post_favorite_count+"]").length;o++){var a=c("["+Favorites.selectors.post_favorite_count+"]")[o],s=c(a).attr(Favorites.selectors.post_favorite_count),i=c(a).attr("data-siteid");(i=""===i?"1":i)===e&&s===t&&(i=parseInt(c(a).text())-1,c(a).text(i))}},i.bindEvents()},(Favorites=Favorites||{}).RequireAuthentication=function(){var e=this,o=jQuery;return e.bindEvents=function(){o(document).on("favorites-require-authentication",function(){Favorites.jsData.dev_mode&&console.log("Unauthenticated user was prevented from favoriting."),Favorites.jsData.authentication_redirect?e.redirect():e.openModal()}),o(document).on("click",".simplefavorites-modal-backdrop",function(t){e.closeModal()}),o(document).on("click","["+Favorites.selectors.close_modals+"]",function(t){t.preventDefault(),e.closeModal()})},e.redirect=function(){window.location=Favorites.jsData.authentication_redirect_url},e.openModal=function(){e.buildModal(),setTimeout(function(){o("["+Favorites.selectors.modals+"]").addClass("active")},10)},e.buildModal=function(){var t;0<o("["+Favorites.selectors.modals+"]").length||(t='<div class="simplefavorites-modal-backdrop" '+Favorites.selectors.modals+"></div>",t=(t+='<div class="simplefavorites-modal-content" '+Favorites.selectors.modals+">")+'<div class="simplefavorites-modal-content-body">'+Favorites.jsData.authentication_modal_content+"</div>\x3c!-- .simplefavorites-modal-content-body --\x3e</div>\x3c!-- .simplefavorites-modal-content --\x3e",o("body").prepend(t))},e.closeModal=function(){o("["+Favorites.selectors.modals+"]").removeClass("active"),o(document).trigger("favorites-modal-closed")},e.bindEvents()},(Favorites=Favorites||{}).RequireConsent=function(){var s=this,o=jQuery;return s.consentData,s.postData,s.activeButton,s.bindEvents=function(){o(document).on("favorites-require-consent",function(t,e,o,a){s.consentData=e,s.postData=o,s.activeButton=a,s.openModal()}),o(document).on("favorites-user-consent-approved",function(t,e){void 0!==e?(o(s.activeButton).attr("data-user-consent-accepted","true"),o(s.activeButton).click(),s.closeModal()):s.setConsent(!0)}),o(document).on("favorites-user-consent-denied",function(){s.setConsent(!1)}),o(document).on("click",".simplefavorites-modal-backdrop",function(t){s.closeModal()}),o(document).on("click","[data-favorites-consent-deny]",function(t){t.preventDefault(),s.closeModal(),o(document).trigger("favorites-user-consent-denied")}),o(document).on("click","[data-favorites-consent-accept]",function(t){t.preventDefault(),o(document).trigger("favorites-user-consent-approved",[o(this)])})},s.openModal=function(){s.buildModal(),setTimeout(function(){o("["+Favorites.selectors.consentModal+"]").addClass("active")},10)},s.buildModal=function(){var t;0<o("["+Favorites.selectors.consentModal+"]").length||(t=(t=(t=(t=(t='<div class="simplefavorites-modal-backdrop" '+Favorites.selectors.consentModal+"></div>")+('<div class="simplefavorites-modal-content" '+Favorites.selectors.consentModal)+'><div class="simplefavorites-modal-content-body no-padding"><div class="simplefavorites-modal-content-interior">')+s.consentData.message+"</div>")+'<div class="simplefavorites-modal-content-footer"><button class="simplefavorites-button-consent-deny" data-favorites-consent-deny>'+s.consentData.deny_text+"</button>")+'<button class="simplefavorites-button-consent-accept" data-favorites-consent-accept>'+s.consentData.accept_text+"</button></div>\x3c!-- .simplefavorites-modal-footer --\x3e</div>\x3c!-- .simplefavorites-modal-content-body --\x3e</div>\x3c!-- .simplefavorites-modal-content --\x3e",o("body").prepend(t))},s.closeModal=function(){o("["+Favorites.selectors.consentModal+"]").removeClass("active")},s.setConsent=function(t){o.ajax({url:Favorites.jsData.ajaxurl,type:"post",dataType:"json",data:{action:Favorites.formActions.cookieConsent,consent:t}})},s.bindEvents()},jQuery(document).ready(function(){new Favorites.Factory}),(Favorites=Favorites||{}).selectors={button:".simplefavorite-button",list:".favorites-list",clear_button:".simplefavorites-clear",total_favorites:".simplefavorites-user-count",modals:"data-favorites-modal",consentModal:"data-favorites-consent-modal",close_modals:"data-favorites-modal-close",count:".simplefavorite-button-count",post_favorite_count:"data-favorites-post-count-id"},Favorites.cssClasses={loading:"loading",active:"active"},Favorites.jsData={ajaxurl:favorites_data.ajaxurl,favorite:favorites_data.favorite,favorited:favorites_data.favorited,include_count:favorites_data.includecount,indicate_loading:favorites_data.indicate_loading,loading_text:favorites_data.loading_text,loading_image_active:favorites_data.loading_image_active,loading_image:favorites_data.loading_image,cache_enabled:favorites_data.cache_enabled,authentication_modal_content:favorites_data.authentication_modal_content,authentication_redirect:favorites_data.authentication_redirect,authentication_redirect_url:favorites_data.authentication_redirect_url,button_options:favorites_data.button_options,dev_mode:favorites_data.dev_mode,logged_in:favorites_data.logged_in,user_id:favorites_data.user_id},Favorites.userFavorites=null,Favorites.authenticated=!0,Favorites.formActions={favoritesarray:"favorites_array",favorite:"favorites_favorite",clearall:"favorites_clear",favoritelist:"favorites_list",cookieConsent:"favorites_cookie_consent"},Favorites.Factory=function(){jQuery;return this.build=function(){new Favorites.UserFavorites,new Favorites.Lists,new Favorites.Clear,new Favorites.Button,new Favorites.ButtonUpdater,new Favorites.TotalCount,new Favorites.PostFavoriteCount,new Favorites.RequireAuthentication,new Favorites.RequireConsent},this.build()};

}
catch(e){console.error("An error has occurred: "+e.stack);}
/* https://de.onair.cc/wp-content/themes/onair-7.0/lib/jquery.cycle.all.js */
try{
/*!
 * jQuery Cycle Plugin (with Transition Definitions)
 * Examples and documentation at: https://jquery.malsup.com/cycle/
 * Copyright (c) 2007-2010 M. Alsup
 * Version: 2.9995 (09-AUG-2011)
 * Dual licensed under the MIT and GPL licenses.
 * https://jquery.malsup.com/license.html
 * Requires: jQuery v1.3.2 or later
 */
;(function($){var ver='2.9995';if($.support==undefined){$.support={opacity:!($.browser.msie)}}
function debug(s){$.fn.cycle.debug&&log(s)}
function log(){window.console&&console.log&&console.log('[cycle] '+Array.prototype.join.call(arguments,' '))}
$.expr[':'].paused=function(el){return el.cyclePause}
$.fn.cycle=function(options,arg2){var o={s:this.selector,c:this.context};if(this.length===0&&options!='stop'){if(!$.isReady&&o.s){log('DOM not ready, queuing slideshow');$(function(){$(o.s,o.c).cycle(options,arg2)});return this}
log('terminating; zero elements found by selector'+($.isReady?'':' (DOM not ready)'));return this}
return this.each(function(){var opts=handleArguments(this,options,arg2);if(opts===!1)
return;opts.updateActivePagerLink=opts.updateActivePagerLink||$.fn.cycle.updateActivePagerLink;if(this.cycleTimeout)
clearTimeout(this.cycleTimeout);this.cycleTimeout=this.cyclePause=0;var $cont=$(this);var $slides=opts.slideExpr?$(opts.slideExpr,this):$cont.children();var els=$slides.get();var opts2=buildOptions($cont,$slides,els,opts,o);if(opts2===!1)
return;if(els.length<2){log('terminating; too few slides: '+els.length);return}
var startTime=opts2.continuous?10:getTimeout(els[opts2.currSlide],els[opts2.nextSlide],opts2,!opts2.backwards);if(startTime){startTime+=(opts2.delay||0);if(startTime<10)
startTime=10;debug('first timeout: '+startTime);this.cycleTimeout=setTimeout(function(){go(els,opts2,0,!opts.backwards)},startTime)}})};function triggerPause(cont,byHover,onPager){var opts=$(cont).data('cycle.opts');var paused=!!cont.cyclePause;if(paused&&opts.paused)
opts.paused(cont,opts,byHover,onPager);else if(!paused&&opts.resumed)
opts.resumed(cont,opts,byHover,onPager)}
function handleArguments(cont,options,arg2){if(cont.cycleStop==undefined)
cont.cycleStop=0;if(options===undefined||options===null)
options={};if(options.constructor==String){switch(options){case 'destroy':case 'stop':var opts=$(cont).data('cycle.opts');if(!opts)
return!1;cont.cycleStop++;if(cont.cycleTimeout)
clearTimeout(cont.cycleTimeout);cont.cycleTimeout=0;opts.elements&&$(opts.elements).stop();$(cont).removeData('cycle.opts');if(options=='destroy')
destroy(opts);return!1;case 'toggle':cont.cyclePause=(cont.cyclePause===1)?0:1;checkInstantResume(cont.cyclePause,arg2,cont);triggerPause(cont);return!1;case 'pause':cont.cyclePause=1;triggerPause(cont);return!1;case 'resume':cont.cyclePause=0;checkInstantResume(!1,arg2,cont);triggerPause(cont);return!1;case 'prev':case 'next':var opts=$(cont).data('cycle.opts');if(!opts){log('options not found, "prev/next" ignored');return!1}
$.fn.cycle[options](opts);return!1;default:options={fx:options}};return options}else if(options.constructor==Number){var num=options;options=$(cont).data('cycle.opts');if(!options){log('options not found, can not advance slide');return!1}
if(num<0||num>=options.elements.length){log('invalid slide index: '+num);return!1}
options.nextSlide=num;if(cont.cycleTimeout){clearTimeout(cont.cycleTimeout);cont.cycleTimeout=0}
if(typeof arg2=='string')
options.oneTimeFx=arg2;go(options.elements,options,1,num>=options.currSlide);return!1}
return options;function checkInstantResume(isPaused,arg2,cont){if(!isPaused&&arg2===!0){var options=$(cont).data('cycle.opts');if(!options){log('options not found, can not resume');return!1}
if(cont.cycleTimeout){clearTimeout(cont.cycleTimeout);cont.cycleTimeout=0}
go(options.elements,options,1,!options.backwards)}}};function removeFilter(el,opts){if(!$.support.opacity&&opts.cleartype&&el.style.filter){try{el.style.removeAttribute('filter')}catch(smother){}}};function destroy(opts){if(opts.next)
$(opts.next).unbind(opts.prevNextEvent);if(opts.prev)
$(opts.prev).unbind(opts.prevNextEvent);if(opts.pager||opts.pagerAnchorBuilder)
$.each(opts.pagerAnchors||[],function(){this.unbind().remove()});opts.pagerAnchors=null;if(opts.destroy)
opts.destroy(opts)};function buildOptions($cont,$slides,els,options,o){var opts=$.extend({},$.fn.cycle.defaults,options||{},$.metadata?$cont.metadata():$.meta?$cont.data():{});var meta=$.isFunction($cont.data)?$cont.data(opts.metaAttr):null;if(meta)
opts=$.extend(opts,meta);if(opts.autostop)
opts.countdown=opts.autostopCount||els.length;var cont=$cont[0];$cont.data('cycle.opts',opts);opts.$cont=$cont;opts.stopCount=cont.cycleStop;opts.elements=els;opts.before=opts.before?[opts.before]:[];opts.after=opts.after?[opts.after]:[];if(!$.support.opacity&&opts.cleartype)
opts.after.push(function(){removeFilter(this,opts)});if(opts.continuous)
opts.after.push(function(){go(els,opts,0,!opts.backwards)});saveOriginalOpts(opts);if(!$.support.opacity&&opts.cleartype&&!opts.cleartypeNoBg)
clearTypeFix($slides);if($cont.css('position')=='static')
$cont.css('position','relative');if(opts.width)
$cont.width(opts.width);if(opts.height&&opts.height!='auto')
$cont.height(opts.height);if(opts.startingSlide)
opts.startingSlide=parseInt(opts.startingSlide,10);else if(opts.backwards)
opts.startingSlide=els.length-1;if(opts.random){opts.randomMap=[];for(var i=0;i<els.length;i++)
opts.randomMap.push(i);opts.randomMap.sort(function(a,b){return Math.random()-0.5});opts.randomIndex=1;opts.startingSlide=opts.randomMap[1]}else if(opts.startingSlide>=els.length)
opts.startingSlide=0;opts.currSlide=opts.startingSlide||0;var first=opts.startingSlide;$slides.css({position:'absolute',top:0,left:0}).hide().each(function(i){var z;if(opts.backwards)
z=first?i<=first?els.length+(i-first):first-i:els.length-i;else z=first?i>=first?els.length-(i-first):first-i:els.length-i;$(this).css('z-index',z)});$(els[first]).css('opacity',1).show();removeFilter(els[first],opts);if(opts.fit){if(!opts.aspect){if(opts.width)
$slides.width(opts.width);if(opts.height&&opts.height!='auto')
$slides.height(opts.height)}else{$slides.each(function(){var $slide=$(this);var ratio=(opts.aspect===!0)?$slide.width()/$slide.height():opts.aspect;if(opts.width&&$slide.width()!=opts.width){$slide.width(opts.width);$slide.height(opts.width/ratio)}
if(opts.height&&$slide.height()<opts.height){$slide.height(opts.height);$slide.width(opts.height*ratio)}})}}
if(opts.center&&((!opts.fit)||opts.aspect)){$slides.each(function(){var $slide=$(this);$slide.css({"margin-left":opts.width?((opts.width-$slide.width())/2)+"px":0,"margin-top":opts.height?((opts.height-$slide.height())/2)+"px":0})})}
if(opts.center&&!opts.fit&&!opts.slideResize){$slides.each(function(){var $slide=$(this);$slide.css({"margin-left":opts.width?((opts.width-$slide.width())/2)+"px":0,"margin-top":opts.height?((opts.height-$slide.height())/2)+"px":0})})}
var reshape=opts.containerResize&&!$cont.innerHeight();if(reshape){var maxw=0,maxh=0;for(var j=0;j<els.length;j++){var $e=$(els[j]),e=$e[0],w=$e.outerWidth(),h=$e.outerHeight();if(!w)w=e.offsetWidth||e.width||$e.attr('width');if(!h)h=e.offsetHeight||e.height||$e.attr('height');maxw=w>maxw?w:maxw;maxh=h>maxh?h:maxh}
if(maxw>0&&maxh>0)
$cont.css({width:maxw+'px',height:maxh+'px'})}
var pauseFlag=!1;if(opts.pause)
$cont.hover(function(){pauseFlag=!0;this.cyclePause++;triggerPause(cont,!0)},function(){pauseFlag&&this.cyclePause--;triggerPause(cont,!0)});if(supportMultiTransitions(opts)===!1)
return!1;var requeue=!1;options.requeueAttempts=options.requeueAttempts||0;$slides.each(function(){var $el=$(this);this.cycleH=(opts.fit&&opts.height)?opts.height:($el.height()||this.offsetHeight||this.height||$el.attr('height')||0);this.cycleW=(opts.fit&&opts.width)?opts.width:($el.width()||this.offsetWidth||this.width||$el.attr('width')||0);if($el.is('img')){var loadingIE=($.browser.msie&&this.cycleW==28&&this.cycleH==30&&!this.complete);var loadingFF=($.browser.mozilla&&this.cycleW==34&&this.cycleH==19&&!this.complete);var loadingOp=($.browser.opera&&((this.cycleW==42&&this.cycleH==19)||(this.cycleW==37&&this.cycleH==17))&&!this.complete);var loadingOther=(this.cycleH==0&&this.cycleW==0&&!this.complete);if(loadingIE||loadingFF||loadingOp||loadingOther){if(o.s&&opts.requeueOnImageNotLoaded&&++options.requeueAttempts<100){log(options.requeueAttempts,' - img slide not loaded, requeuing slideshow: ',this.src,this.cycleW,this.cycleH);setTimeout(function(){$(o.s,o.c).cycle(options)},opts.requeueTimeout);requeue=!0;return!1}else{log('could not determine size of image: '+this.src,this.cycleW,this.cycleH)}}}
return!0});if(requeue)
return!1;opts.cssBefore=opts.cssBefore||{};opts.cssAfter=opts.cssAfter||{};opts.cssFirst=opts.cssFirst||{};opts.animIn=opts.animIn||{};opts.animOut=opts.animOut||{};$slides.not(':eq('+first+')').css(opts.cssBefore);$($slides[first]).css(opts.cssFirst);if(opts.timeout){opts.timeout=parseInt(opts.timeout,10);if(opts.speed.constructor==String)
opts.speed=$.fx.speeds[opts.speed]||parseInt(opts.speed,10);if(!opts.sync)
opts.speed=opts.speed/2;var buffer=opts.fx=='none'?0:opts.fx=='shuffle'?500:250;while((opts.timeout-opts.speed)<buffer)
opts.timeout+=opts.speed}
if(opts.easing)
opts.easeIn=opts.easeOut=opts.easing;if(!opts.speedIn)
opts.speedIn=opts.speed;if(!opts.speedOut)
opts.speedOut=opts.speed;opts.slideCount=els.length;opts.currSlide=opts.lastSlide=first;if(opts.random){if(++opts.randomIndex==els.length)
opts.randomIndex=0;opts.nextSlide=opts.randomMap[opts.randomIndex]}else if(opts.backwards)
opts.nextSlide=opts.startingSlide==0?(els.length-1):opts.startingSlide-1;else opts.nextSlide=opts.startingSlide>=(els.length-1)?0:opts.startingSlide+1;if(!opts.multiFx){var init=$.fn.cycle.transitions[opts.fx];if($.isFunction(init))
init($cont,$slides,opts);else if(opts.fx!='custom'&&!opts.multiFx){log('unknown transition: '+opts.fx,'; slideshow terminating');return!1}}
var e0=$slides[first];if(!opts.skipInitializationCallbacks){if(opts.before.length)
opts.before[0].apply(e0,[e0,e0,opts,!0]);if(opts.after.length)
opts.after[0].apply(e0,[e0,e0,opts,!0])}
if(opts.next)
$(opts.next).bind(opts.prevNextEvent,function(){return advance(opts,1)});if(opts.prev)
$(opts.prev).bind(opts.prevNextEvent,function(){return advance(opts,0)});if(opts.pager||opts.pagerAnchorBuilder)
buildPager(els,opts);exposeAddSlide(opts,els);return opts};function saveOriginalOpts(opts){opts.original={before:[],after:[]};opts.original.cssBefore=$.extend({},opts.cssBefore);opts.original.cssAfter=$.extend({},opts.cssAfter);opts.original.animIn=$.extend({},opts.animIn);opts.original.animOut=$.extend({},opts.animOut);$.each(opts.before,function(){opts.original.before.push(this)});$.each(opts.after,function(){opts.original.after.push(this)})};function supportMultiTransitions(opts){var i,tx,txs=$.fn.cycle.transitions;if(opts.fx.indexOf(',')>0){opts.multiFx=!0;opts.fxs=opts.fx.replace(/\s*/g,'').split(',');for(i=0;i<opts.fxs.length;i++){var fx=opts.fxs[i];tx=txs[fx];if(!tx||!txs.hasOwnProperty(fx)||!$.isFunction(tx)){log('discarding unknown transition: ',fx);opts.fxs.splice(i,1);i--}}
if(!opts.fxs.length){log('No valid transitions named; slideshow terminating.');return!1}}else if(opts.fx=='all'){opts.multiFx=!0;opts.fxs=[];for(p in txs){tx=txs[p];if(txs.hasOwnProperty(p)&&$.isFunction(tx))
opts.fxs.push(p)}}
if(opts.multiFx&&opts.randomizeEffects){var r1=Math.floor(Math.random()*20)+30;for(i=0;i<r1;i++){var r2=Math.floor(Math.random()*opts.fxs.length);opts.fxs.push(opts.fxs.splice(r2,1)[0])}
debug('randomized fx sequence: ',opts.fxs)}
return!0};function exposeAddSlide(opts,els){opts.addSlide=function(newSlide,prepend){var $s=$(newSlide),s=$s[0];if(!opts.autostopCount)
opts.countdown++;els[prepend?'unshift':'push'](s);if(opts.els)
opts.els[prepend?'unshift':'push'](s);opts.slideCount=els.length;$s.css('position','absolute');$s[prepend?'prependTo':'appendTo'](opts.$cont);if(prepend){opts.currSlide++;opts.nextSlide++}
if(!$.support.opacity&&opts.cleartype&&!opts.cleartypeNoBg)
clearTypeFix($s);if(opts.fit&&opts.width)
$s.width(opts.width);if(opts.fit&&opts.height&&opts.height!='auto')
$s.height(opts.height);s.cycleH=(opts.fit&&opts.height)?opts.height:$s.height();s.cycleW=(opts.fit&&opts.width)?opts.width:$s.width();$s.css(opts.cssBefore);if(opts.pager||opts.pagerAnchorBuilder)
$.fn.cycle.createPagerAnchor(els.length-1,s,$(opts.pager),els,opts);if($.isFunction(opts.onAddSlide))
opts.onAddSlide($s);else $s.hide()}}
$.fn.cycle.resetState=function(opts,fx){fx=fx||opts.fx;opts.before=[];opts.after=[];opts.cssBefore=$.extend({},opts.original.cssBefore);opts.cssAfter=$.extend({},opts.original.cssAfter);opts.animIn=$.extend({},opts.original.animIn);opts.animOut=$.extend({},opts.original.animOut);opts.fxFn=null;$.each(opts.original.before,function(){opts.before.push(this)});$.each(opts.original.after,function(){opts.after.push(this)});var init=$.fn.cycle.transitions[fx];if($.isFunction(init))
init(opts.$cont,$(opts.elements),opts)};function go(els,opts,manual,fwd){if(manual&&opts.busy&&opts.manualTrump){debug('manualTrump in go(), stopping active transition');$(els).stop(!0,!0);opts.busy=0}
if(opts.busy){debug('transition active, ignoring new tx request');return}
var p=opts.$cont[0],curr=els[opts.currSlide],next=els[opts.nextSlide];if(p.cycleStop!=opts.stopCount||p.cycleTimeout===0&&!manual)
return;if(!manual&&!p.cyclePause&&!opts.bounce&&((opts.autostop&&(--opts.countdown<=0))||(opts.nowrap&&!opts.random&&opts.nextSlide<opts.currSlide))){if(opts.end)
opts.end(opts);return}
var changed=!1;if((manual||!p.cyclePause)&&(opts.nextSlide!=opts.currSlide)){changed=!0;var fx=opts.fx;curr.cycleH=curr.cycleH||$(curr).height();curr.cycleW=curr.cycleW||$(curr).width();next.cycleH=next.cycleH||$(next).height();next.cycleW=next.cycleW||$(next).width();if(opts.multiFx){if(fwd&&(opts.lastFx==undefined||++opts.lastFx>=opts.fxs.length))
opts.lastFx=0;else if(!fwd&&(opts.lastFx==undefined||--opts.lastFx<0))
opts.lastFx=opts.fxs.length-1;fx=opts.fxs[opts.lastFx]}
if(opts.oneTimeFx){fx=opts.oneTimeFx;opts.oneTimeFx=null}
$.fn.cycle.resetState(opts,fx);if(opts.before.length)
$.each(opts.before,function(i,o){if(p.cycleStop!=opts.stopCount)return;o.apply(next,[curr,next,opts,fwd])});var after=function(){opts.busy=0;$.each(opts.after,function(i,o){if(p.cycleStop!=opts.stopCount)return;o.apply(next,[curr,next,opts,fwd])})};debug('tx firing('+fx+'); currSlide: '+opts.currSlide+'; nextSlide: '+opts.nextSlide);opts.busy=1;if(opts.fxFn)
opts.fxFn(curr,next,opts,after,fwd,manual&&opts.fastOnEvent);else if($.isFunction($.fn.cycle[opts.fx]))
$.fn.cycle[opts.fx](curr,next,opts,after,fwd,manual&&opts.fastOnEvent);else $.fn.cycle.custom(curr,next,opts,after,fwd,manual&&opts.fastOnEvent)}
if(changed||opts.nextSlide==opts.currSlide){opts.lastSlide=opts.currSlide;if(opts.random){opts.currSlide=opts.nextSlide;if(++opts.randomIndex==els.length)
opts.randomIndex=0;opts.nextSlide=opts.randomMap[opts.randomIndex];if(opts.nextSlide==opts.currSlide)
opts.nextSlide=(opts.currSlide==opts.slideCount-1)?0:opts.currSlide+1}else if(opts.backwards){var roll=(opts.nextSlide-1)<0;if(roll&&opts.bounce){opts.backwards=!opts.backwards;opts.nextSlide=1;opts.currSlide=0}else{opts.nextSlide=roll?(els.length-1):opts.nextSlide-1;opts.currSlide=roll?0:opts.nextSlide+1}}else{var roll=(opts.nextSlide+1)==els.length;if(roll&&opts.bounce){opts.backwards=!opts.backwards;opts.nextSlide=els.length-2;opts.currSlide=els.length-1}else{opts.nextSlide=roll?0:opts.nextSlide+1;opts.currSlide=roll?els.length-1:opts.nextSlide-1}}}
if(changed&&opts.pager)
opts.updateActivePagerLink(opts.pager,opts.currSlide,opts.activePagerClass);var ms=0;if(opts.timeout&&!opts.continuous)
ms=getTimeout(els[opts.currSlide],els[opts.nextSlide],opts,fwd);else if(opts.continuous&&p.cyclePause)
ms=10;if(ms>0)
p.cycleTimeout=setTimeout(function(){go(els,opts,0,!opts.backwards)},ms)};$.fn.cycle.updateActivePagerLink=function(pager,currSlide,clsName){$(pager).each(function(){$(this).children().removeClass(clsName).eq(currSlide).addClass(clsName)})};function getTimeout(curr,next,opts,fwd){if(opts.timeoutFn){var t=opts.timeoutFn.call(curr,curr,next,opts,fwd);while(opts.fx!='none'&&(t-opts.speed)<250)
t+=opts.speed;debug('calculated timeout: '+t+'; speed: '+opts.speed);if(t!==!1)
return t}
return opts.timeout};$.fn.cycle.next=function(opts){advance(opts,1)};$.fn.cycle.prev=function(opts){advance(opts,0)};function advance(opts,moveForward){var val=moveForward?1:-1;var els=opts.elements;var p=opts.$cont[0],timeout=p.cycleTimeout;if(timeout){clearTimeout(timeout);p.cycleTimeout=0}
if(opts.random&&val<0){opts.randomIndex--;if(--opts.randomIndex==-2)
opts.randomIndex=els.length-2;else if(opts.randomIndex==-1)
opts.randomIndex=els.length-1;opts.nextSlide=opts.randomMap[opts.randomIndex]}else if(opts.random){opts.nextSlide=opts.randomMap[opts.randomIndex]}else{opts.nextSlide=opts.currSlide+val;if(opts.nextSlide<0){if(opts.nowrap)return!1;opts.nextSlide=els.length-1}else if(opts.nextSlide>=els.length){if(opts.nowrap)return!1;opts.nextSlide=0}}
var cb=opts.onPrevNextEvent||opts.prevNextClick;if($.isFunction(cb))
cb(val>0,opts.nextSlide,els[opts.nextSlide]);go(els,opts,1,moveForward);return!1};function buildPager(els,opts){var $p=$(opts.pager);$.each(els,function(i,o){$.fn.cycle.createPagerAnchor(i,o,$p,els,opts)});opts.updateActivePagerLink(opts.pager,opts.startingSlide,opts.activePagerClass)};$.fn.cycle.createPagerAnchor=function(i,el,$p,els,opts){var a;if($.isFunction(opts.pagerAnchorBuilder)){a=opts.pagerAnchorBuilder(i,el);debug('pagerAnchorBuilder('+i+', el) returned: '+a)}else a='<a href="#">'+(i+1)+'</a>';if(!a)
return;var $a=$(a);if($a.parents('body').length===0){var arr=[];if($p.length>1){$p.each(function(){var $clone=$a.clone(!0);$(this).append($clone);arr.push($clone[0])});$a=$(arr)}else{$a.appendTo($p)}}
opts.pagerAnchors=opts.pagerAnchors||[];opts.pagerAnchors.push($a);var pagerFn=function(e){e.preventDefault();opts.nextSlide=i;var p=opts.$cont[0],timeout=p.cycleTimeout;if(timeout){clearTimeout(timeout);p.cycleTimeout=0}
var cb=opts.onPagerEvent||opts.pagerClick;if($.isFunction(cb))
cb(opts.nextSlide,els[opts.nextSlide]);go(els,opts,1,opts.currSlide<i)}
if(/mouseenter|mouseover/i.test(opts.pagerEvent)){$a.hover(pagerFn,function(){})}else{$a.bind(opts.pagerEvent,pagerFn)}
if(!/^click/.test(opts.pagerEvent)&&!opts.allowPagerClickBubble)
$a.bind('click.cycle',function(){return!1});var cont=opts.$cont[0];var pauseFlag=!1;if(opts.pauseOnPagerHover){$a.hover(function(){pauseFlag=!0;cont.cyclePause++;triggerPause(cont,!0,!0)},function(){pauseFlag&&cont.cyclePause--;triggerPause(cont,!0,!0)})}};$.fn.cycle.hopsFromLast=function(opts,fwd){var hops,l=opts.lastSlide,c=opts.currSlide;if(fwd)
hops=c>l?c-l:opts.slideCount-l;else hops=c<l?l-c:l+opts.slideCount-c;return hops};function clearTypeFix($slides){debug('applying clearType background-color hack');function hex(s){s=parseInt(s,10).toString(16);return s.length<2?'0'+s:s};function getBg(e){for(;e&&e.nodeName.toLowerCase()!='html';e=e.parentNode){var v=$.css(e,'background-color');if(v&&v.indexOf('rgb')>=0){var rgb=v.match(/\d+/g);return'#'+hex(rgb[0])+hex(rgb[1])+hex(rgb[2])}
if(v&&v!='transparent')
return v}
return'#ffffff'};$slides.each(function(){$(this).css('background-color',getBg(this))})};$.fn.cycle.commonReset=function(curr,next,opts,w,h,rev){$(opts.elements).not(curr).hide();if(typeof opts.cssBefore.opacity=='undefined')
opts.cssBefore.opacity=1;opts.cssBefore.display='block';if(opts.slideResize&&w!==!1&&next.cycleW>0)
opts.cssBefore.width=next.cycleW;if(opts.slideResize&&h!==!1&&next.cycleH>0)
opts.cssBefore.height=next.cycleH;opts.cssAfter=opts.cssAfter||{};opts.cssAfter.display='none';$(curr).css('zIndex',opts.slideCount+(rev===!0?1:0));$(next).css('zIndex',opts.slideCount+(rev===!0?0:1))};$.fn.cycle.custom=function(curr,next,opts,cb,fwd,speedOverride){var $l=$(curr),$n=$(next);var speedIn=opts.speedIn,speedOut=opts.speedOut,easeIn=opts.easeIn,easeOut=opts.easeOut;$n.css(opts.cssBefore);if(speedOverride){if(typeof speedOverride=='number')
speedIn=speedOut=speedOverride;else speedIn=speedOut=1;easeIn=easeOut=null}
var fn=function(){$n.animate(opts.animIn,speedIn,easeIn,function(){cb()})};$l.animate(opts.animOut,speedOut,easeOut,function(){$l.css(opts.cssAfter);if(!opts.sync)
fn()});if(opts.sync)fn()};$.fn.cycle.transitions={fade:function($cont,$slides,opts){$slides.not(':eq('+opts.currSlide+')').css('opacity',0);opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts);opts.cssBefore.opacity=0});opts.animIn={opacity:1};opts.animOut={opacity:0};opts.cssBefore={top:0,left:0}}};$.fn.cycle.ver=function(){return ver};$.fn.cycle.defaults={activePagerClass:'activeSlide',after:null,allowPagerClickBubble:!1,animIn:null,animOut:null,aspect:!1,autostop:0,autostopCount:0,backwards:!1,before:null,center:null,cleartype:!$.support.opacity,cleartypeNoBg:!1,containerResize:1,continuous:0,cssAfter:null,cssBefore:null,delay:0,easeIn:null,easeOut:null,easing:null,end:null,fastOnEvent:0,fit:0,fx:'fade',fxFn:null,height:'auto',manualTrump:!0,metaAttr:'cycle',next:null,nowrap:0,onPagerEvent:null,onPrevNextEvent:null,pager:null,pagerAnchorBuilder:null,pagerEvent:'click.cycle',pause:0,pauseOnPagerHover:0,prev:null,prevNextEvent:'click.cycle',random:0,randomizeEffects:1,requeueOnImageNotLoaded:!0,requeueTimeout:250,rev:0,shuffle:null,skipInitializationCallbacks:!1,slideExpr:null,slideResize:1,speed:1000,speedIn:null,speedOut:null,startingSlide:0,sync:1,timeout:4000,timeoutFn:null,updateActivePagerLink:null,width:null}})(jQuery);
/*!
 * jQuery Cycle Plugin Transition Definitions
 * This script is a plugin for the jQuery Cycle Plugin
 * Examples and documentation at: https://malsup.com/jquery/cycle/
 * Copyright (c) 2007-2010 M. Alsup
 * Version:	 2.73
 * Dual licensed under the MIT and GPL licenses:
 * https://www.opensource.org/licenses/mit-license.php
 * https://www.gnu.org/licenses/gpl.html
 */
(function($){$.fn.cycle.transitions.none=function($cont,$slides,opts){opts.fxFn=function(curr,next,opts,after){$(next).show();$(curr).hide();after()}};$.fn.cycle.transitions.fadeout=function($cont,$slides,opts){$slides.not(':eq('+opts.currSlide+')').css({display:'block','opacity':1});opts.before.push(function(curr,next,opts,w,h,rev){$(curr).css('zIndex',opts.slideCount+(!rev===!0?1:0));$(next).css('zIndex',opts.slideCount+(!rev===!0?0:1))});opts.animIn.opacity=1;opts.animOut.opacity=0;opts.cssBefore.opacity=1;opts.cssBefore.display='block';opts.cssAfter.zIndex=0};$.fn.cycle.transitions.scrollUp=function($cont,$slides,opts){$cont.css('overflow','hidden');opts.before.push($.fn.cycle.commonReset);var h=$cont.height();opts.cssBefore.top=h;opts.cssBefore.left=0;opts.cssFirst.top=0;opts.animIn.top=0;opts.animOut.top=-h};$.fn.cycle.transitions.scrollDown=function($cont,$slides,opts){$cont.css('overflow','hidden');opts.before.push($.fn.cycle.commonReset);var h=$cont.height();opts.cssFirst.top=0;opts.cssBefore.top=-h;opts.cssBefore.left=0;opts.animIn.top=0;opts.animOut.top=h};$.fn.cycle.transitions.scrollLeft=function($cont,$slides,opts){$cont.css('overflow','hidden');opts.before.push($.fn.cycle.commonReset);var w=$cont.width();opts.cssFirst.left=0;opts.cssBefore.left=w;opts.cssBefore.top=0;opts.animIn.left=0;opts.animOut.left=0-w};$.fn.cycle.transitions.scrollRight=function($cont,$slides,opts){$cont.css('overflow','hidden');opts.before.push($.fn.cycle.commonReset);var w=$cont.width();opts.cssFirst.left=0;opts.cssBefore.left=-w;opts.cssBefore.top=0;opts.animIn.left=0;opts.animOut.left=w};$.fn.cycle.transitions.scrollHorz=function($cont,$slides,opts){$cont.css('overflow','hidden').width();opts.before.push(function(curr,next,opts,fwd){if(opts.rev)
fwd=!fwd;$.fn.cycle.commonReset(curr,next,opts);opts.cssBefore.left=fwd?(next.cycleW-1):(1-next.cycleW);opts.animOut.left=fwd?-curr.cycleW:curr.cycleW});opts.cssFirst.left=0;opts.cssBefore.top=0;opts.animIn.left=0;opts.animOut.top=0};$.fn.cycle.transitions.scrollVert=function($cont,$slides,opts){$cont.css('overflow','hidden');opts.before.push(function(curr,next,opts,fwd){if(opts.rev)
fwd=!fwd;$.fn.cycle.commonReset(curr,next,opts);opts.cssBefore.top=fwd?(1-next.cycleH):(next.cycleH-1);opts.animOut.top=fwd?curr.cycleH:-curr.cycleH});opts.cssFirst.top=0;opts.cssBefore.left=0;opts.animIn.top=0;opts.animOut.left=0};$.fn.cycle.transitions.slideX=function($cont,$slides,opts){opts.before.push(function(curr,next,opts){$(opts.elements).not(curr).hide();$.fn.cycle.commonReset(curr,next,opts,!1,!0);opts.animIn.width=next.cycleW});opts.cssBefore.left=0;opts.cssBefore.top=0;opts.cssBefore.width=0;opts.animIn.width='show';opts.animOut.width=0};$.fn.cycle.transitions.slideY=function($cont,$slides,opts){opts.before.push(function(curr,next,opts){$(opts.elements).not(curr).hide();$.fn.cycle.commonReset(curr,next,opts,!0,!1);opts.animIn.height=next.cycleH});opts.cssBefore.left=0;opts.cssBefore.top=0;opts.cssBefore.height=0;opts.animIn.height='show';opts.animOut.height=0};$.fn.cycle.transitions.shuffle=function($cont,$slides,opts){var i,w=$cont.css('overflow','visible').width();$slides.css({left:0,top:0});opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts,!0,!0,!0)});if(!opts.speedAdjusted){opts.speed=opts.speed/2;opts.speedAdjusted=!0}
opts.random=0;opts.shuffle=opts.shuffle||{left:-w,top:15};opts.els=[];for(i=0;i<$slides.length;i++)
opts.els.push($slides[i]);for(i=0;i<opts.currSlide;i++)
opts.els.push(opts.els.shift());opts.fxFn=function(curr,next,opts,cb,fwd){if(opts.rev)
fwd=!fwd;var $el=fwd?$(curr):$(next);$(next).css(opts.cssBefore);var count=opts.slideCount;$el.animate(opts.shuffle,opts.speedIn,opts.easeIn,function(){var hops=$.fn.cycle.hopsFromLast(opts,fwd);for(var k=0;k<hops;k++)
fwd?opts.els.push(opts.els.shift()):opts.els.unshift(opts.els.pop());if(fwd){for(var i=0,len=opts.els.length;i<len;i++)
$(opts.els[i]).css('z-index',len-i+count);}else{var z=$(curr).css('z-index');$el.css('z-index',parseInt(z,10)+1+count)}
$el.animate({left:0,top:0},opts.speedOut,opts.easeOut,function(){$(fwd?this:curr).hide();if(cb)cb()})})};$.extend(opts.cssBefore,{display:'block',opacity:1,top:0,left:0})};$.fn.cycle.transitions.turnUp=function($cont,$slides,opts){opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts,!0,!1);opts.cssBefore.top=next.cycleH;opts.animIn.height=next.cycleH;opts.animOut.width=next.cycleW});opts.cssFirst.top=0;opts.cssBefore.left=0;opts.cssBefore.height=0;opts.animIn.top=0;opts.animOut.height=0};$.fn.cycle.transitions.turnDown=function($cont,$slides,opts){opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts,!0,!1);opts.animIn.height=next.cycleH;opts.animOut.top=curr.cycleH});opts.cssFirst.top=0;opts.cssBefore.left=0;opts.cssBefore.top=0;opts.cssBefore.height=0;opts.animOut.height=0};$.fn.cycle.transitions.turnLeft=function($cont,$slides,opts){opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts,!1,!0);opts.cssBefore.left=next.cycleW;opts.animIn.width=next.cycleW});opts.cssBefore.top=0;opts.cssBefore.width=0;opts.animIn.left=0;opts.animOut.width=0};$.fn.cycle.transitions.turnRight=function($cont,$slides,opts){opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts,!1,!0);opts.animIn.width=next.cycleW;opts.animOut.left=curr.cycleW});$.extend(opts.cssBefore,{top:0,left:0,width:0});opts.animIn.left=0;opts.animOut.width=0};$.fn.cycle.transitions.zoom=function($cont,$slides,opts){opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts,!1,!1,!0);opts.cssBefore.top=next.cycleH/2;opts.cssBefore.left=next.cycleW/2;$.extend(opts.animIn,{top:0,left:0,width:next.cycleW,height:next.cycleH});$.extend(opts.animOut,{width:0,height:0,top:curr.cycleH/2,left:curr.cycleW/2})});opts.cssFirst.top=0;opts.cssFirst.left=0;opts.cssBefore.width=0;opts.cssBefore.height=0};$.fn.cycle.transitions.fadeZoom=function($cont,$slides,opts){opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts,!1,!1);opts.cssBefore.left=next.cycleW/2;opts.cssBefore.top=next.cycleH/2;$.extend(opts.animIn,{top:0,left:0,width:next.cycleW,height:next.cycleH})});opts.cssBefore.width=0;opts.cssBefore.height=0;opts.animOut.opacity=0};$.fn.cycle.transitions.blindX=function($cont,$slides,opts){var w=$cont.css('overflow','hidden').width();opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts);opts.animIn.width=next.cycleW;opts.animOut.left=curr.cycleW});opts.cssBefore.left=w;opts.cssBefore.top=0;opts.animIn.left=0;opts.animOut.left=w};$.fn.cycle.transitions.blindY=function($cont,$slides,opts){var h=$cont.css('overflow','hidden').height();opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts);opts.animIn.height=next.cycleH;opts.animOut.top=curr.cycleH});opts.cssBefore.top=h;opts.cssBefore.left=0;opts.animIn.top=0;opts.animOut.top=h};$.fn.cycle.transitions.blindZ=function($cont,$slides,opts){var h=$cont.css('overflow','hidden').height();var w=$cont.width();opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts);opts.animIn.height=next.cycleH;opts.animOut.top=curr.cycleH});opts.cssBefore.top=h;opts.cssBefore.left=w;opts.animIn.top=0;opts.animIn.left=0;opts.animOut.top=h;opts.animOut.left=w};$.fn.cycle.transitions.growX=function($cont,$slides,opts){opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts,!1,!0);opts.cssBefore.left=this.cycleW/2;opts.animIn.left=0;opts.animIn.width=this.cycleW;opts.animOut.left=0});opts.cssBefore.top=0;opts.cssBefore.width=0};$.fn.cycle.transitions.growY=function($cont,$slides,opts){opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts,!0,!1);opts.cssBefore.top=this.cycleH/2;opts.animIn.top=0;opts.animIn.height=this.cycleH;opts.animOut.top=0});opts.cssBefore.height=0;opts.cssBefore.left=0};$.fn.cycle.transitions.curtainX=function($cont,$slides,opts){opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts,!1,!0,!0);opts.cssBefore.left=next.cycleW/2;opts.animIn.left=0;opts.animIn.width=this.cycleW;opts.animOut.left=curr.cycleW/2;opts.animOut.width=0});opts.cssBefore.top=0;opts.cssBefore.width=0};$.fn.cycle.transitions.curtainY=function($cont,$slides,opts){opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts,!0,!1,!0);opts.cssBefore.top=next.cycleH/2;opts.animIn.top=0;opts.animIn.height=next.cycleH;opts.animOut.top=curr.cycleH/2;opts.animOut.height=0});opts.cssBefore.height=0;opts.cssBefore.left=0};$.fn.cycle.transitions.cover=function($cont,$slides,opts){var d=opts.direction||'left';var w=$cont.css('overflow','hidden').width();var h=$cont.height();opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts);if(d=='right')
opts.cssBefore.left=-w;else if(d=='up')
opts.cssBefore.top=h;else if(d=='down')
opts.cssBefore.top=-h;else opts.cssBefore.left=w});opts.animIn.left=0;opts.animIn.top=0;opts.cssBefore.top=0;opts.cssBefore.left=0};$.fn.cycle.transitions.uncover=function($cont,$slides,opts){var d=opts.direction||'left';var w=$cont.css('overflow','hidden').width();var h=$cont.height();opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts,!0,!0,!0);if(d=='right')
opts.animOut.left=w;else if(d=='up')
opts.animOut.top=-h;else if(d=='down')
opts.animOut.top=h;else opts.animOut.left=-w});opts.animIn.left=0;opts.animIn.top=0;opts.cssBefore.top=0;opts.cssBefore.left=0};$.fn.cycle.transitions.toss=function($cont,$slides,opts){var w=$cont.css('overflow','visible').width();var h=$cont.height();opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts,!0,!0,!0);if(!opts.animOut.left&&!opts.animOut.top)
$.extend(opts.animOut,{left:w*2,top:-h/2,opacity:0});else opts.animOut.opacity=0});opts.cssBefore.left=0;opts.cssBefore.top=0;opts.animIn.left=0};$.fn.cycle.transitions.wipe=function($cont,$slides,opts){var w=$cont.css('overflow','hidden').width();var h=$cont.height();opts.cssBefore=opts.cssBefore||{};var clip;if(opts.clip){if(/l2r/.test(opts.clip))
clip='rect(0px 0px '+h+'px 0px)';else if(/r2l/.test(opts.clip))
clip='rect(0px '+w+'px '+h+'px '+w+'px)';else if(/t2b/.test(opts.clip))
clip='rect(0px '+w+'px 0px 0px)';else if(/b2t/.test(opts.clip))
clip='rect('+h+'px '+w+'px '+h+'px 0px)';else if(/zoom/.test(opts.clip)){var top=parseInt(h/2,10);var left=parseInt(w/2,10);clip='rect('+top+'px '+left+'px '+top+'px '+left+'px)'}}
opts.cssBefore.clip=opts.cssBefore.clip||clip||'rect(0px 0px 0px 0px)';var d=opts.cssBefore.clip.match(/(\d+)/g);var t=parseInt(d[0],10),r=parseInt(d[1],10),b=parseInt(d[2],10),l=parseInt(d[3],10);opts.before.push(function(curr,next,opts){if(curr==next)return;var $curr=$(curr),$next=$(next);$.fn.cycle.commonReset(curr,next,opts,!0,!0,!1);opts.cssAfter.display='block';var step=1,count=parseInt((opts.speedIn/13),10)-1;(function f(){var tt=t?t-parseInt(step*(t/count),10):0;var ll=l?l-parseInt(step*(l/count),10):0;var bb=b<h?b+parseInt(step*((h-b)/count||1),10):h;var rr=r<w?r+parseInt(step*((w-r)/count||1),10):w;$next.css({clip:'rect('+tt+'px '+rr+'px '+bb+'px '+ll+'px)'});(step++<=count)?setTimeout(f,13):$curr.css('display','none')})()});$.extend(opts.cssBefore,{display:'block',opacity:1,top:0,left:0});opts.animIn={left:0};opts.animOut={left:0}}})(jQuery);

}
catch(e){console.error("An error has occurred: "+e.stack);}
/* https://de.onair.cc/wp-content/plugins/onair-plugin/on-plugin-post.js */
try{
function extendedSummaryToggle(){var ext=jQuery(this);if(ext.html().length>0&&ext.parent().find('arrow').length==0){ext.before('<div class="arrow down" title="Read more" alt="Read more"></div>');ext.prev().click(function(){var arrow=jQuery(this);if(arrow.hasClass('down')){arrow.attr('title','Read less');arrow.attr('alt','Read less')}else{arrow.attr('title','Read more');arrow.attr('alt','Read more')}
jQuery(this).next().slideToggle("fast",function(){jQuery(this).prev().toggleClass('down')})})}}
jQuery(document).ready(function(){jQuery('.sliderContainer .slider-main-content > .extended_summary').each(extendedSummaryToggle);jQuery('body.home #widgets .extended_summary').each(extendedSummaryToggle);jQuery('.cyclenav .excerpt .extended_summary').each(extendedSummaryToggle)});

}
catch(e){console.error("An error has occurred: "+e.stack);}