vendor: 34,245 bytes, lines 1-564
1 2 3/*=============================== 4/rfk/plugins/system/t3/base-bs3/bootstrap/js/bootstrap.js 5================================================================================*/; 6/*! 7 * Bootstrap v3.4.1 (https://getbootstrap.com/) 8 * Copyright 2011-2019 Twitter, Inc. 9 * Licensed under the MIT license 10 */ 11if(typeof jQuery==='undefined'){throw new Error('Bootstrap\'s JavaScript requires jQuery')} 12+function($){'use strict';var version=$.fn.jquery.split(' ')[0].split('.') 13if((version[0]<2&&version[1]<9)||(version[0]==1&&version[1]==9&&version[2]<1)||(version[0]>3)){throw new Error('Bootstrap\'s JavaScript requires jQuery version 1.9.1 or higher, but lower than version 4')}}(jQuery);+function($){'use strict';function transitionEnd(){var el=document.createElement('bootstrap') 14var transEndEventNames={WebkitTransition:'webkitTransitionEnd',MozTransition:'transitionend',OTransition:'oTransitionEnd otransitionend',transition:'transitionend'} 15for(var name in transEndEventNames){if(el.style[name]!==undefined){return{end:transEndEventNames[name]}}} 16return false} 17$.fn.emulateTransitionEnd=function(duration){var called=false 18var $el=this 19$(this).one('bsTransitionEnd',function(){called=true}) 20var callback=function(){if(!called)$($el).trigger($.support.transition.end)} 21setTimeout(callback,duration) 22return this} 23$(function(){$.support.transition=transitionEnd() 24if(!$.support.transition)return 25$.event.special.bsTransitionEnd={bindType:$.support.transition.end,delegateType:$.support.transition.end,handle:function(e){if($(e.target).is(this))return e.handleObj.handler.apply(this,arguments)}}})}(jQuery);+function($){'use strict';var dismiss='[data-dismiss="alert"]' 26var Alert=function(el){$(el).on('click',dismiss,this.close)} 27Alert.VERSION='3.4.1' 28Alert.TRANSITION_DURATION=150 29Alert.prototype.close=function(e){var $this=$(this) 30var selector=$this.attr('data-target') 31if(!selector){selector=$this.attr('href') 32selector=selector&&selector.replace(/.*(?=#[^\s]*$)/,'')} 33selector=selector==='#'?[]:selector 34var $parent=$(document).find(selector) 35if(e)e.preventDefault() 36if(!$parent.length){$parent=$this.closest('.alert')} 37$parent.trigger(e=$.Event('close.bs.alert')) 38if(e.isDefaultPrevented())return 39$parent.removeClass('in') 40function removeElement(){$parent.detach().trigger('closed.bs.alert').remove()} 41$.support.transition&&$parent.hasClass('fade')?$parent.one('bsTransitionEnd',removeElement).emulateTransitionEnd(Alert.TRANSITION_DURATION):removeElement()} 42function Plugin(option){return this.each(function(){var $this=$(this) 43var data=$this.data('bs.alert') 44if(!data)$this.data('bs.alert',(data=new Alert(this))) 45if(typeof option=='string')data[option].call($this)})} 46var old=$.fn.alert 47$.fn.alert=Plugin 48$.fn.alert.Constructor=Alert 49$.fn.alert.noConflict=function(){$.fn.alert=old 50return this} 51$(document).on('click.bs.alert.data-api',dismiss,Alert.prototype.close)}(jQuery);+function($){'use strict';var Button=function(element,options){this.$element=$(element) 52this.options=$.extend({},Button.DEFAULTS,options) 53this.isLoading=false} 54Button.VERSION='3.4.1' 55Button.DEFAULTS={loadingText:'loading...'} 56Button.prototype.setState=function(state){var d='disabled' 57var $el=this.$element 58var val=$el.is('input')?'val':'html' 59var data=$el.data() 60state+='Text' 61if(data.resetText==null)$el.data('resetText',$el[val]()) 62setTimeout($.proxy(function(){$el[val](data[state]==null?this.options[state]:data[state]) 63if(state=='loadingText'){this.isLoading=true 64$el.addClass(d).attr(d,d).prop(d,true)}else if(this.isLoading){this.isLoading=false 65$el.removeClass(d).removeAttr(d).prop(d,false)}},this),0)} 66Button.prototype.toggle=function(){var changed=true 67var $parent=this.$element.closest('[data-toggle="buttons"]') 68if($parent.length){var $input=this.$element.find('input') 69if($input.prop('type')=='radio'){if($input.prop('checked'))changed=false 70$parent.find('.active').removeClass('active') 71this.$element.addClass('active')}else if($input.prop('type')=='checkbox'){if(($input.prop('checked'))!==this.$element.hasClass('active'))changed=false 72this.$element.toggleClass('active')} 73$input.prop('checked',this.$element.hasClass('active')) 74if(changed)$input.trigger('change')}else{this.$element.attr('aria-pressed',!this.$element.hasClass('active')) 75this.$element.toggleClass('active')}} 76function Plugin(option){return this.each(function(){var $this=$(this) 77var data=$this.data('bs.button') 78var options=typeof option=='object'&&option 79if(!data)$this.data('bs.button',(data=new Button(this,options))) 80if(option=='toggle')data.toggle() 81else if(option)data.setState(option)})} 82var old=$.fn.button 83$.fn.button=Plugin 84$.fn.button.Constructor=Button 85$.fn.button.noConflict=function(){$.fn.button=old 86return this} 87$(document).on('click.bs.button.data-api','[data-toggle^="button"]',function(e){var $btn=$(e.target).closest('.btn') 88Plugin.call($btn,'toggle') 89if(!($(e.target).is('input[type="radio"], input[type="checkbox"]'))){e.preventDefault() 90if($btn.is('input,button'))$btn.trigger('focus') 91else $btn.find('input:visible,button:visible').first().trigger('focus')}}).on('focus.bs.button.data-api blur.bs.button.data-api','[data-toggle^="button"]',function(e){$(e.target).closest('.btn').toggleClass('focus',/^focus(in)?$/.test(e.type))})}(jQuery);+function($){'use strict';var Carousel=function(element,options){this.$element=$(element) 92this.$indicators=this.$element.find('.carousel-indicators') 93this.options=options 94this.paused=null 95this.sliding=null 96this.interval=null 97this.$active=null 98this.$items=null 99this.options.keyboard&&this.$element.on('keydown.bs.carousel',$.proxy(this.keydown,this)) 100this.options.pause=='hover'&&!('ontouchstart'in document.documentElement)&&this.$element.on('mouseenter.bs.carousel',$.proxy(this.pause,this)).on('mouseleave.bs.carousel',$.proxy(this.cycle,this))} 101Carousel.VERSION='3.4.1' 102Carousel.TRANSITION_DURATION=600 103Carousel.DEFAULTS={interval:5000,pause:'hover',wrap:true,keyboard:true} 104Carousel.prototype.keydown=function(e){if(/input|textarea/i.test(e.target.tagName))return 105switch(e.which){case 37:this.prev();break 106case 39:this.next();break 107default:return} 108e.preventDefault()} 109Carousel.prototype.cycle=function(e){e||(this.paused=false) 110this.interval&&clearInterval(this.interval) 111this.options.interval&&!this.paused&&(this.interval=setInterval($.proxy(this.next,this),this.options.interval)) 112return this} 113Carousel.prototype.getItemIndex=function(item){this.$items=item.parent().children('.item') 114return this.$items.index(item||this.$active)} 115Carousel.prototype.getItemForDirection=function(direction,active){var activeIndex=this.getItemIndex(active) 116var willWrap=(direction=='prev'&&activeIndex===0)||(direction=='next'&&activeIndex==(this.$items.length-1)) 117if(willWrap&&!this.options.wrap)return active 118var delta=direction=='prev'?-1:1 119var itemIndex=(activeIndex+delta)%this.$items.length 120return this.$items.eq(itemIndex)} 121Carousel.prototype.to=function(pos){var that=this 122var activeIndex=this.getItemIndex(this.$active=this.$element.find('.item.active')) 123if(pos>(this.$items.length-1)||pos<0)return 124if(this.sliding)return this.$element.one('slid.bs.carousel',function(){that.to(pos)}) 125if(activeIndex==pos)return this.pause().cycle() 126return this.slide(pos>activeIndex?'next':'prev',this.$items.eq(pos))} 127Carousel.prototype.pause=function(e){e||(this.paused=true) 128if(this.$element.find('.next, .prev').length&&$.support.transition){this.$element.trigger($.support.transition.end) 129this.cycle(true)} 130this.interval=clearInterval(this.interval) 131return this} 132Carousel.prototype.next=function(){if(this.sliding)return 133return this.slide('next')} 134Carousel.prototype.prev=function(){if(this.sliding)return 135return this.slide('prev')} 136Carousel.prototype.slide=function(type,next){var $active=this.$element.find('.item.active') 137var $next=next||this.getItemForDirection(type,$active) 138var isCycling=this.interval 139var direction=type=='next'?'left':'right' 140var that=this 141if($next.hasClass('active'))return(this.sliding=false) 142var relatedTarget=$next[0] 143var slideEvent=$.Event('slide.bs.carousel',{relatedTarget:relatedTarget,direction:direction}) 144this.$element.trigger(slideEvent) 145if(slideEvent.isDefaultPrevented())return 146this.sliding=true 147isCycling&&this.pause() 148if(this.$indicators.length){this.$indicators.find('.active').removeClass('active') 149var $nextIndicator=$(this.$indicators.children()[this.getItemIndex($next)]) 150$nextIndicator&&$nextIndicator.addClass('active')} 151var slidEvent=$.Event('slid.bs.carousel',{relatedTarget:relatedTarget,direction:direction}) 152if($.support.transition&&this.$element.hasClass('slide')){$next.addClass(type) 153if(typeof $next==='object'&&$next.length){$next[0].offsetWidth} 154$active.addClass(direction) 155$next.addClass(direction) 156$active.one('bsTransitionEnd',function(){$next.removeClass([type,direction].join(' ')).addClass('active') 157$active.removeClass(['active',direction].join(' ')) 158that.sliding=false 159setTimeout(function(){that.$element.trigger(slidEvent)},0)}).emulateTransitionEnd(Carousel.TRANSITION_DURATION)}else{$active.removeClass('active') 160$next.addClass('active') 161this.sliding=false 162this.$element.trigger(slidEvent)} 163isCycling&&this.cycle() 164return this} 165function Plugin(option){return this.each(function(){var $this=$(this) 166var data=$this.data('bs.carousel') 167var options=$.extend({},Carousel.DEFAULTS,$this.data(),typeof option=='object'&&option) 168var action=typeof option=='string'?option:options.slide 169if(!data)$this.data('bs.carousel',(data=new Carousel(this,options))) 170if(typeof option=='number')data.to(option) 171else if(action)data[action]() 172else if(options.interval)data.pause().cycle()})} 173var old=$.fn.carousel 174$.fn.carousel=Plugin 175$.fn.carousel.Constructor=Carousel 176$.fn.carousel.noConflict=function(){$.fn.carousel=old 177return this} 178var clickHandler=function(e){var $this=$(this) 179var href=$this.attr('href') 180if(href){href=href.replace(/.*(?=#[^\s]+$)/,'')} 181var target=$this.attr('data-target')||href 182var $target=$(document).find(target) 183if(!$target.hasClass('carousel'))return 184var options=$.extend({},$target.data(),$this.data()) 185var slideIndex=$this.attr('data-slide-to') 186if(slideIndex)options.interval=false 187Plugin.call($target,options) 188if(slideIndex){$target.data('bs.carousel').to(slideIndex)} 189e.preventDefault()} 190$(document).on('click.bs.carousel.data-api','[data-slide]',clickHandler).on('click.bs.carousel.data-api','[data-slide-to]',clickHandler) 191$(window).on('load',function(){$('[data-ride="carousel"]').each(function(){var $carousel=$(this) 192Plugin.call($carousel,$carousel.data())})})}(jQuery);+function($){'use strict';var Collapse=function(element,options){this.$element=$(element) 193this.options=$.extend({},Collapse.DEFAULTS,options) 194this.$trigger=$('[data-toggle="collapse"][href="#'+element.id+'"],'+'[data-toggle="collapse"][data-target="#'+element.id+'"]') 195this.transitioning=null 196if(this.options.parent){this.$parent=this.getParent()}else{this.addAriaAndCollapsedClass(this.$element,this.$trigger)} 197if(this.options.toggle)this.toggle()} 198Collapse.VERSION='3.4.1' 199Collapse.TRANSITION_DURATION=350 200Collapse.DEFAULTS={toggle:true} 201Collapse.prototype.dimension=function(){var hasWidth=this.$element.hasClass('width') 202return hasWidth?'width':'height'} 203Collapse.prototype.show=function(){if(this.transitioning||this.$element.hasClass('in'))return 204var activesData 205var actives=this.$parent&&this.$parent.children('.panel').children('.in, .collapsing') 206if(actives&&actives.length){activesData=actives.data('bs.collapse') 207if(activesData&&activesData.transitioning)return} 208var startEvent=$.Event('show.bs.collapse') 209this.$element.trigger(startEvent) 210if(startEvent.isDefaultPrevented())return 211if(actives&&actives.length){Plugin.call(actives,'hide') 212activesData||actives.data('bs.collapse',null)} 213var dimension=this.dimension() 214this.$element.removeClass('collapse').addClass('collapsing')[dimension](0).attr('aria-expanded',true) 215this.$trigger.removeClass('collapsed').attr('aria-expanded',true) 216this.transitioning=1 217var complete=function(){this.$element.removeClass('collapsing').addClass('collapse in')[dimension]('') 218this.transitioning=0 219this.$element.trigger('shown.bs.collapse')} 220if(!$.support.transition)return complete.call(this) 221var scrollSize=$.camelCase(['scroll',dimension].join('-')) 222this.$element.one('bsTransitionEnd',$.proxy(complete,this)).emulateTransitionEnd(Collapse.TRANSITION_DURATION)[dimension](this.$element[0][scrollSize])} 223Collapse.prototype.hide=function(){if(this.transitioning||!this.$element.hasClass('in'))return 224var startEvent=$.Event('hide.bs.collapse') 225this.$element.trigger(startEvent) 226if(startEvent.isDefaultPrevented())return 227var dimension=this.dimension() 228this.$element[dimension](this.$element[dimension]())[0].offsetHeight 229this.$element.addClass('collapsing').removeClass('collapse in').attr('aria-expanded',false) 230this.$trigger.addClass('collapsed').attr('aria-expanded',false) 231this.transitioning=1 232var complete=function(){this.transitioning=0 233this.$element.removeClass('collapsing').addClass('collapse').trigger('hidden.bs.collapse')} 234if(!$.support.transition)return complete.call(this) 235this.$element 236[dimension](0).one('bsTransitionEnd',$.proxy(complete,this)).emulateTransitionEnd(Collapse.TRANSITION_DURATION)} 237Collapse.prototype.toggle=function(){this[this.$element.hasClass('in')?'hide':'show']()} 238Collapse.prototype.getParent=function(){return $(document).find(this.options.parent).find('[data-toggle="collapse"][data-parent="'+this.options.parent+'"]').each($.proxy(function(i,element){var $element=$(element) 239this.addAriaAndCollapsedClass(getTargetFromTrigger($element),$element)},this)).end()} 240Collapse.prototype.addAriaAndCollapsedClass=function($element,$trigger){var isOpen=$element.hasClass('in') 241$element.attr('aria-expanded',isOpen) 242$trigger.toggleClass('collapsed',!isOpen).attr('aria-expanded',isOpen)} 243function getTargetFromTrigger($trigger){var href 244var target=$trigger.attr('data-target')||(href=$trigger.attr('href'))&&href.replace(/.*(?=#[^\s]+$)/,'') 245return $(document).find(target)} 246function Plugin(option){return this.each(function(){var $this=$(this) 247var data=$this.data('bs.collapse') 248var options=$.extend({},Collapse.DEFAULTS,$this.data(),typeof option=='object'&&option) 249if(!data&&options.toggle&&/show|hide/.test(option))options.toggle=false 250if(!data)$this.data('bs.collapse',(data=new Collapse(this,options))) 251if(typeof option=='string')data[option]()})} 252var old=$.fn.collapse 253$.fn.collapse=Plugin 254$.fn.collapse.Constructor=Collapse 255$.fn.collapse.noConflict=function(){$.fn.collapse=old 256return this} 257$(document).on('click.bs.collapse.data-api','[data-toggle="collapse"]',function(e){var $this=$(this) 258if(!$this.attr('data-target'))e.preventDefault() 259var $target=getTargetFromTrigger($this) 260var data=$target.data('bs.collapse') 261var option=data?'toggle':$this.data() 262Plugin.call($target,option)})}(jQuery);+function($){'use strict';var backdrop='.dropdown-backdrop' 263var toggle='[data-toggle="dropdown"]' 264var Dropdown=function(element){$(element).on('click.bs.dropdown',this.toggle)} 265Dropdown.VERSION='3.4.1' 266function getParent($this){var selector=$this.attr('data-target') 267if(!selector){selector=$this.attr('href') 268selector=selector&&/#[A-Za-z]/.test(selector)&&selector.replace(/.*(?=#[^\s]*$)/,'')} 269var $parent=selector!=='#'?$(document).find(selector):null 270return $parent&&$parent.length?$parent:$this.parent()} 271function clearMenus(e){if(e&&e.which===3)return 272$(backdrop).remove() 273$(toggle).each(function(){var $this=$(this) 274var $parent=getParent($this) 275var relatedTarget={relatedTarget:this} 276if(!$parent.hasClass('open'))return 277if(e&&e.type=='click'&&/input|textarea/i.test(e.target.tagName)&&$.contains($parent[0],e.target))return 278$parent.trigger(e=$.Event('hide.bs.dropdown',relatedTarget)) 279if(e.isDefaultPrevented())return 280$this.attr('aria-expanded','false') 281$parent.removeClass('open').trigger($.Event('hidden.bs.dropdown',relatedTarget))})} 282Dropdown.prototype.toggle=function(e){var $this=$(this) 283if($this.is('.disabled, :disabled'))return 284var $parent=getParent($this) 285var isActive=$parent.hasClass('open') 286clearMenus() 287if(!isActive){if('ontouchstart'in document.documentElement&&!$parent.closest('.navbar-nav').length){$(document.createElement('div')).addClass('dropdown-backdrop').insertAfter($(this)).on('click',clearMenus)} 288var relatedTarget={relatedTarget:this} 289$parent.trigger(e=$.Event('show.bs.dropdown',relatedTarget)) 290if(e.isDefaultPrevented())return 291$this.trigger('focus').attr('aria-expanded','true') 292$parent.toggleClass('open').trigger($.Event('shown.bs.dropdown',relatedTarget))} 293return false} 294Dropdown.prototype.keydown=function(e){if(!/(38|40|27|32)/.test(e.which)||/input|textarea/i.test(e.target.tagName))return 295var $this=$(this) 296e.preventDefault() 297e.stopPropagation() 298if($this.is('.disabled, :disabled'))return 299var $parent=getParent($this) 300var isActive=$parent.hasClass('open') 301if(!isActive&&e.which!=27||isActive&&e.which==27){if(e.which==27)$parent.find(toggle).trigger('focus') 302return $this.trigger('click')} 303var desc=' li:not(.disabled):visible a' 304var $items=$parent.find('.dropdown-menu'+desc) 305if(!$items.length)return 306var index=$items.index(e.target) 307if(e.which==38&&index>0)index-- 308if(e.which==40&&index<$items.length-1)index++ 309if(!~index)index=0 310$items.eq(index).trigger('focus')} 311function Plugin(option){return this.each(function(){var $this=$(this) 312var data=$this.data('bs.dropdown') 313if(!data)$this.data('bs.dropdown',(data=new Dropdown(this))) 314if(typeof option=='string')data[option].call($this)})} 315var old=$.fn.dropdown 316$.fn.dropdown=Plugin 317$.fn.dropdown.Constructor=Dropdown 318$.fn.dropdown.noConflict=function(){$.fn.dropdown=old 319return this} 320$(document).on('click.bs.dropdown.data-api',clearMenus).on('click.bs.dropdown.data-api','.dropdown form',function(e){e.stopPropagation()}).on('click.bs.dropdown.data-api',toggle,Dropdown.prototype.toggle).on('keydown.bs.dropdown.data-api',toggle,Dropdown.prototype.keydown).on('keydown.bs.dropdown.data-api','.dropdown-menu',Dropdown.prototype.keydown)}(jQuery);+function($){'use strict';var Modal=function(element,options){this.options=options 321this.$body=$(document.body) 322this.$element=$(element) 323this.$dialog=this.$element.find('.modal-dialog') 324this.$backdrop=null 325this.isShown=null 326this.originalBodyPad=null 327this.scrollbarWidth=0 328this.ignoreBackdropClick=false 329this.fixedContent='.navbar-fixed-top, .navbar-fixed-bottom' 330if(this.options.remote){this.$element.find('.modal-content').load(this.options.remote,$.proxy(function(){this.$element.trigger('loaded.bs.modal')},this))}} 331Modal.VERSION='3.4.1' 332Modal.TRANSITION_DURATION=300 333Modal.BACKDROP_TRANSITION_DURATION=150 334Modal.DEFAULTS={backdrop:true,keyboard:true,show:true} 335Modal.prototype.toggle=function(_relatedTarget){return this.isShown?this.hide():this.show(_relatedTarget)} 336Modal.prototype.show=function(_relatedTarget){var that=this 337var e=$.Event('show.bs.modal',{relatedTarget:_relatedTarget}) 338this.$element.trigger(e) 339if(this.isShown||e.isDefaultPrevented())return 340this.isShown=true 341this.checkScrollbar() 342this.setScrollbar() 343this.$body.addClass('modal-open') 344this.escape() 345this.resize() 346this.$element.on('click.dismiss.bs.modal','[data-dismiss="modal"]',$.proxy(this.hide,this)) 347this.$dialog.on('mousedown.dismiss.bs.modal',function(){that.$element.one('mouseup.dismiss.bs.modal',function(e){if($(e.target).is(that.$element))that.ignoreBackdropClick=true})}) 348this.backdrop(function(){var transition=$.support.transition&&that.$element.hasClass('fade') 349if(!that.$element.parent().length){that.$element.appendTo(that.$body)} 350that.$element.show().scrollTop(0) 351that.adjustDialog() 352if(transition){that.$element[0].offsetWidth} 353that.$element.addClass('in') 354that.enforceFocus() 355var e=$.Event('shown.bs.modal',{relatedTarget:_relatedTarget}) 356transition?that.$dialog.one('bsTransitionEnd',function(){that.$element.trigger('focus').trigger(e)}).emulateTransitionEnd(Modal.TRANSITION_DURATION):that.$element.trigger('focus').trigger(e)})} 357Modal.prototype.hide=function(e){if(e)e.preventDefault() 358e=$.Event('hide.bs.modal') 359this.$element.trigger(e) 360if(!this.isShown||e.isDefaultPrevented())return 361this.isShown=false 362this.escape() 363this.resize() 364$(document).off('focusin.bs.modal') 365this.$element.removeClass('in').off('click.dismiss.bs.modal').off('mouseup.dismiss.bs.modal') 366this.$dialog.off('mousedown.dismiss.bs.modal') 367$.support.transition&&this.$element.hasClass('fade')?this.$element.one('bsTransitionEnd',$.proxy(this.hideModal,this)).emulateTransitionEnd(Modal.TRANSITION_DURATION):this.hideModal()} 368Modal.prototype.enforceFocus=function(){$(document).off('focusin.bs.modal').on('focusin.bs.modal',$.proxy(function(e){if(document!==e.target&&this.$element[0]!==e.target&&!this.$element.has(e.target).length){this.$element.trigger('focus')}},this))} 369Modal.prototype.escape=function(){if(this.isShown&&this.options.keyboard){this.$element.on('keydown.dismiss.bs.modal',$.proxy(function(e){e.which==27&&this.hide()},this))}else if(!this.isShown){this.$element.off('keydown.dismiss.bs.modal')}} 370Modal.prototype.resize=function(){if(this.isShown){$(window).on('resize.bs.modal',$.proxy(this.handleUpdate,this))}else{$(window).off('resize.bs.modal')}} 371Modal.prototype.hideModal=function(){var that=this 372this.$element.hide() 373this.backdrop(function(){that.$body.removeClass('modal-open') 374that.resetAdjustments() 375that.resetScrollbar() 376that.$element.trigger('hidden.bs.modal')})} 377Modal.prototype.removeBackdrop=function(){this.$backdrop&&this.$backdrop.remove() 378this.$backdrop=null} 379Modal.prototype.backdrop=function(callback){var that=this 380var animate=this.$element.hasClass('fade')?'fade':'' 381if(this.isShown&&this.options.backdrop){var doAnimate=$.support.transition&&animate 382this.$backdrop=$(document.createElement('div')).addClass('modal-backdrop '+animate).appendTo(this.$body) 383this.$element.on('click.dismiss.bs.modal',$.proxy(function(e){if(this.ignoreBackdropClick){this.ignoreBackdropClick=false 384return} 385if(e.target!==e.currentTarget)return 386this.options.backdrop=='static'?this.$element[0].focus():this.hide()},this)) 387if(doAnimate)this.$backdrop[0].offsetWidth 388this.$backdrop.addClass('in') 389if(!callback)return 390doAnimate?this.$backdrop.one('bsTransitionEnd',callback).emulateTransitionEnd(Modal.BACKDROP_TRANSITION_DURATION):callback()}else if(!this.isShown&&this.$backdrop){this.$backdrop.removeClass('in') 391var callbackRemove=function(){that.removeBackdrop() 392callback&&callback()} 393$.support.transition&&this.$element.hasClass('fade')?this.$backdrop.one('bsTransitionEnd',callbackRemove).emulateTransitionEnd(Modal.BACKDROP_TRANSITION_DURATION):callbackRemove()}else if(callback){callback()}} 394Modal.prototype.handleUpdate=function(){this.adjustDialog()} 395Modal.prototype.adjustDialog=function(){var modalIsOverflowing=this.$element[0].scrollHeight>document.documentElement.clientHeight 396this.$element.css({paddingLeft:!this.bodyIsOverflowing&&modalIsOverflowing?this.scrollbarWidth:'',paddingRight:this.bodyIsOverflowing&&!modalIsOverflowing?this.scrollbarWidth:''})} 397Modal.prototype.resetAdjustments=function(){this.$element.css({paddingLeft:'',paddingRight:''})} 398Modal.prototype.checkScrollbar=function(){var fullWindowWidth=window.innerWidth 399if(!fullWindowWidth){var documentElementRect=document.documentElement.getBoundingClientRect() 400fullWindowWidth=documentElementRect.right-Math.abs(documentElementRect.left)} 401this.bodyIsOverflowing=document.body.clientWidth<fullWindowWidth 402this.scrollbarWidth=this.measureScrollbar()} 403Modal.prototype.setScrollbar=function(){var bodyPad=parseInt((this.$body.css('padding-right')||0),10) 404this.originalBodyPad=document.body.style.paddingRight||'' 405var scrollbarWidth=this.scrollbarWidth 406if(this.bodyIsOverflowing){this.$body.css('padding-right',bodyPad+scrollbarWidth) 407$(this.fixedContent).each(function(index,element){var actualPadding=element.style.paddingRight 408var calculatedPadding=$(element).css('padding-right') 409$(element).data('padding-right',actualPadding).css('padding-right',parseFloat(calculatedPadding)+scrollbarWidth+'px')})}} 410Modal.prototype.resetScrollbar=function(){this.$body.css('padding-right',this.originalBodyPad) 411$(this.fixedContent).each(function(index,element){var padding=$(element).data('padding-right') 412$(element).removeData('padding-right') 413element.style.paddingRight=padding?padding:''})} 414Modal.prototype.measureScrollbar=function(){var scrollDiv=document.createElement('div') 415scrollDiv.className='modal-scrollbar-measure' 416this.$body.append(scrollDiv) 417var scrollbarWidth=scrollDiv.offsetWidth-scrollDiv.clientWidth 418this.$body[0].removeChild(scrollDiv) 419return scrollbarWidth} 420function Plugin(option,_relatedTarget){return this.each(function(){var $this=$(this) 421var data=$this.data('bs.modal') 422var options=$.extend({},Modal.DEFAULTS,$this.data(),typeof option=='object'&&option) 423if(!data)$this.data('bs.modal',(data=new Modal(this,options))) 424if(typeof option=='string')data[option](_relatedTarget) 425else if(options.show)data.show(_relatedTarget)})} 426var old=$.fn.modal 427$.fn.modal=Plugin 428$.fn.modal.Constructor=Modal 429$.fn.modal.noConflict=function(){$.fn.modal=old 430return this} 431$(document).on('click.bs.modal.data-api','[data-toggle="modal"]',function(e){var $this=$(this) 432var href=$this.attr('href') 433var target=$this.attr('data-target')||(href&&href.replace(/.*(?=#[^\s]+$)/,'')) 434var $target=$(document).find(target) 435var option=$target.data('bs.modal')?'toggle':$.extend({remote:!/#/.test(href)&&href},$target.data(),$this.data()) 436if($this.is('a'))e.preventDefault() 437$target.one('show.bs.modal',function(showEvent){if(showEvent.isDefaultPrevented())return 438$target.one('hidden.bs.modal',function(){$this.is(':visible')&&$this.trigger('focus')})}) 439Plugin.call($target,option,this)})}(jQuery);+function($){'use strict';var DISALLOWED_ATTRIBUTES=['sanitize','whiteList','sanitizeFn'] 440var uriAttrs=['background','cite','href','itemtype','longdesc','poster','src','xlink:href'] 441var ARIA_ATTRIBUTE_PATTERN=/^aria-[\w-]*$/i 442var DefaultWhitelist={'*':['class','dir','id','lang','role',ARIA_ATTRIBUTE_PATTERN],a:['target','href','title','rel'],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:['src','alt','title','width','height'],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]} 443var SAFE_URL_PATTERN=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:/?#]*(?:[/?#]|$))/gi 444var DATA_URL_PATTERN=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+/]+=*$/i 445function allowedAttribute(attr,allowedAttributeList){var attrName=attr.nodeName.toLowerCase() 446if($.inArray(attrName,allowedAttributeList)!==-1){if($.inArray(attrName,uriAttrs)!==-1){return Boolean(attr.nodeValue.match(SAFE_URL_PATTERN)||attr.nodeValue.match(DATA_URL_PATTERN))} 447return true} 448var regExp=$(allowedAttributeList).filter(function(index,value){return value instanceof RegExp}) 449for(var i=0,l=regExp.length;i<l;i++){if(attrName.match(regExp[i])){return true}} 450return false} 451function sanitizeHtml(unsafeHtml,whiteList,sanitizeFn){if(unsafeHtml.length===0){return unsafeHtml} 452if(sanitizeFn&&typeof sanitizeFn==='function'){return sanitizeFn(unsafeHtml)} 453if(!document.implementation||!document.implementation.createHTMLDocument){return unsafeHtml} 454var createdDocument=document.implementation.createHTMLDocument('sanitization') 455createdDocument.body.innerHTML=unsafeHtml 456var whitelistKeys=$.map(whiteList,function(el,i){return i}) 457var elements=$(createdDocument.body).find('*') 458for(var i=0,len=elements.length;i<len;i++){var el=elements[i] 459var elName=el.nodeName.toLowerCase() 460if($.inArray(elName,whitelistKeys)===-1){el.parentNode.removeChild(el) 461continue} 462var attributeList=$.map(el.attributes,function(el){return el}) 463var whitelistedAttributes=[].concat(whiteList['*']||[],whiteList[elName]||[]) 464for(var j=0,len2=attributeList.length;j<len2;j++){if(!allowedAttribute(attributeList[j],whitelistedAttributes)){el.removeAttribute(attributeList[j].nodeName)}}} 465return createdDocument.body.innerHTML} 466var Tooltip=function(element,options){this.type=null 467this.options=null 468this.enabled=null 469this.timeout=null 470this.hoverState=null 471this.$element=null 472this.inState=null 473this.init('tooltip',element,options)} 474Tooltip.VERSION='3.4.1' 475Tooltip.TRANSITION_DURATION=150 476Tooltip.DEFAULTS={animation:true,placement:'top',selector:false,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:'hover focus',title:'',delay:0,html:false,container:false,viewport:{selector:'body',padding:0},sanitize:true,sanitizeFn:null,whiteList:DefaultWhitelist} 477Tooltip.prototype.init=function(type,element,options){this.enabled=true 478this.type=type 479this.$element=$(element) 480this.options=this.getOptions(options) 481this.$viewport=this.options.viewport&&$(document).find($.isFunction(this.options.viewport)?this.options.viewport.call(this,this.$element):(this.options.viewport.selector||this.options.viewport)) 482this.inState={click:false,hover:false,focus:false} 483if(this.$element[0]instanceof document.constructor&&!this.options.selector){throw new Error('`selector` option must be specified when initializing '+this.type+' on the window.document object!')} 484var triggers=this.options.trigger.split(' ') 485for(var i=triggers.length;i--;){var trigger=triggers[i] 486if(trigger=='click'){this.$element.on('click.'+this.type,this.options.selector,$.proxy(this.toggle,this))}else if(trigger!='manual'){var eventIn=trigger=='hover'?'mouseenter':'focusin' 487var eventOut=trigger=='hover'?'mouseleave':'focusout' 488this.$element.on(eventIn+'.'+this.type,this.options.selector,$.proxy(this.enter,this)) 489this.$element.on(eventOut+'.'+this.type,this.options.selector,$.proxy(this.leave,this))}} 490this.options.selector?(this._options=$.extend({},this.options,{trigger:'manual',selector:''})):this.fixTitle()} 491Tooltip.prototype.getDefaults=function(){return Tooltip.DEFAULTS} 492Tooltip.prototype.getOptions=function(options){var dataAttributes=this.$element.data() 493for(var dataAttr in dataAttributes){if(dataAttributes.hasOwnProperty(dataAttr)&&$.inArray(dataAttr,DISALLOWED_ATTRIBUTES)!==-1){delete dataAttributes[dataAttr]}} 494options=$.extend({},this.getDefaults(),dataAttributes,options) 495if(options.delay&&typeof options.delay=='number'){options.delay={show:options.delay,hide:options.delay}} 496if(options.sanitize){options.template=sanitizeHtml(options.template,options.whiteList,options.sanitizeFn)} 497return options} 498Tooltip.prototype.getDelegateOptions=function(){var options={} 499var defaults=this.getDefaults() 500this._options&&$.each(this._options,function(key,value){if(defaults[key]!=value)options[key]=value}) 501return options} 502Tooltip.prototype.enter=function(obj){var self=obj instanceof this.constructor?obj:$(obj.currentTarget).data('bs.'+this.type) 503if(!self){self=new this.constructor(obj.currentTarget,this.getDelegateOptions()) 504$(obj.currentTarget).data('bs.'+this.type,self)} 505if(obj instanceof $.Event){self.inState[obj.type=='focusin'?'focus':'hover']=true} 506if(self.tip().hasClass('in')||self.hoverState=='in'){self.hoverState='in' 507return} 508clearTimeout(self.timeout) 509self.hoverState='in' 510if(!self.options.delay||!self.options.delay.show)return self.show() 511self.timeout=setTimeout(function(){if(self.hoverState=='in')self.show()},self.options.delay.show)} 512Tooltip.prototype.isInStateTrue=function(){for(var key in this.inState){if(this.inState[key])return true} 513return false} 514Tooltip.prototype.leave=function(obj){var self=obj instanceof this.constructor?obj:$(obj.currentTarget).data('bs.'+this.type) 515if(!self){self=new this.constructor(obj.currentTarget,this.getDelegateOptions()) 516$(obj.currentTarget).data('bs.'+this.type,self)} 517if(obj instanceof $.Event){self.inState[obj.type=='focusout'?'focus':'hover']=false} 518if(self.isInStateTrue())return 519clearTimeout(self.timeout) 520self.hoverState='out' 521if(!self.options.delay||!self.options.delay.hide)return self.hide() 522self.timeout=setTimeout(function(){if(self.hoverState=='out')self.hide()},self.options.delay.hide)} 523Tooltip.prototype.show=function(){var e=$.Event('show.bs.'+this.type) 524if(this.hasContent()&&this.enabled){this.$element.trigger(e) 525var inDom=$.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]) 526if(e.isDefaultPrevented()||!inDom)return 527var that=this 528var $tip=this.tip() 529var tipId=this.getUID(this.type) 530this.setContent() 531$tip.attr('id',tipId) 532this.$element.attr('aria-describedby',tipId) 533if(this.options.animation)$tip.addClass('fade') 534var placement=typeof this.options.placement=='function'?this.options.placement.call(this,$tip[0],this.$element[0]):this.options.placement 535var autoToken=/\s?auto?\s?/i 536var autoPlace=autoToken.test(placement) 537if(autoPlace)placement=placement.replace(autoToken,'')||'top' 538$tip.detach().css({top:0,left:0,display:'block'}).addClass(placement).data('bs.'+this.type,this) 539this.options.container?$tip.appendTo($(document).find(this.options.container)):$tip.insertAfter(this.$element) 540this.$element.trigger('inserted.bs.'+this.type) 541var pos=this.getPosition() 542var actualWidth=$tip[0].offsetWidth 543var actualHeight=$tip[0].offsetHeight 544if(autoPlace){var orgPlacement=placement 545var viewportDim=this.getPosition(this.$viewport) 546placement=placement=='bottom'&&pos.bottom+actualHeight>viewportDim.bottom?'top':placement=='top'&&pos.top-actualHeight<viewportDim.top?'bottom':placement=='right'&&pos.right+actualWidth>viewportDim.width?'left':placement=='left'&&pos.left-actualWidth<viewportDim.left?'right':placement 547$tip.removeClass(orgPlacement).addClass(placement)} 548var calculatedOffset=this.getCalculatedOffset(placement,pos,actualWidth,actualHeight) 549this.applyPlacement(calculatedOffset,placement) 550var complete=function(){var prevHoverState=that.hoverState 551that.$element.trigger('shown.bs.'+that.type) 552that.hoverState=null 553if(prevHoverState=='out')that.leave(that)} 554$.support.transition&&this.$tip.hasClass('fade')?$tip.one('bsTransitionEnd',complete).emulateTransitionEnd(Tooltip.TRANSITION_DURATION):complete()}} 555Tooltip.prototype.applyPlacement=function(offset,placement){var $tip=this.tip() 556var width=$tip[0].offsetWidth 557var height=$tip[0].offsetHeight 558var marginTop=parseInt($tip.css('margin-top'),10) 559var marginLeft=parseInt($tip.css('margin-left'),10) 560if(isNaN(marginTop))marginTop=0 561if(isNaN(marginLeft))marginLeft=0 562offset.top+=marginTop 563offset.left+=marginLeft 564$.offset.setOffset($tip[0],$.extend({using:function(props){$tip.css({top:Math.round(props.top),left
vendor: 4,510 bytes, lines 564-627
564:Math.round(props.left)})}},offset),0) 565$tip.addClass('in') 566var actualWidth=$tip[0].offsetWidth 567var actualHeight=$tip[0].offsetHeight 568if(placement=='top'&&actualHeight!=height){offset.top=offset.top+height-actualHeight} 569var delta=this.getViewportAdjustedDelta(placement,offset,actualWidth,actualHeight) 570if(delta.left)offset.left+=delta.left 571else offset.top+=delta.top 572var isVertical=/top|bottom/.test(placement) 573var arrowDelta=isVertical?delta.left*2-width+actualWidth:delta.top*2-height+actualHeight 574var arrowOffsetPosition=isVertical?'offsetWidth':'offsetHeight' 575$tip.offset(offset) 576this.replaceArrow(arrowDelta,$tip[0][arrowOffsetPosition],isVertical)} 577Tooltip.prototype.replaceArrow=function(delta,dimension,isVertical){this.arrow().css(isVertical?'left':'top',50*(1-delta/dimension)+'%').css(isVertical?'top':'left','')} 578Tooltip.prototype.setContent=function(){var $tip=this.tip() 579var title=this.getTitle() 580if(this.options.html){if(this.options.sanitize){title=sanitizeHtml(title,this.options.whiteList,this.options.sanitizeFn)} 581$tip.find('.tooltip-inner').html(title)}else{$tip.find('.tooltip-inner').text(title)} 582$tip.removeClass('fade in top bottom left right')} 583Tooltip.prototype.hide=function(callback){var that=this 584var $tip=$(this.$tip) 585var e=$.Event('hide.bs.'+this.type) 586function complete(){if(that.hoverState!='in')$tip.detach() 587if(that.$element){that.$element.removeAttr('aria-describedby').trigger('hidden.bs.'+that.type)} 588callback&&callback()} 589this.$element.trigger(e) 590if(e.isDefaultPrevented())return 591$tip.removeClass('in') 592$.support.transition&&$tip.hasClass('fade')?$tip.one('bsTransitionEnd',complete).emulateTransitionEnd(Tooltip.TRANSITION_DURATION):complete() 593this.hoverState=null 594return this} 595Tooltip.prototype.fixTitle=function(){var $e=this.$element 596if($e.attr('title')||typeof $e.attr('data-original-title')!='string'){$e.attr('data-original-title',$e.attr('title')||'').attr('title','')}} 597Tooltip.prototype.hasContent=function(){return this.getTitle()} 598Tooltip.prototype.getPosition=function($element){$element=$element||this.$element 599var el=$element[0] 600var isBody=el.tagName=='BODY' 601var elRect=el.getBoundingClientRect() 602if(elRect.width==null){elRect=$.extend({},elRect,{width:elRect.right-elRect.left,height:elRect.bottom-elRect.top})} 603var isSvg=window.SVGElement&&el instanceof window.SVGElement 604var elOffset=isBody?{top:0,left:0}:(isSvg?null:$element.offset()) 605var scroll={scroll:isBody?document.documentElement.scrollTop||document.body.scrollTop:$element.scrollTop()} 606var outerDims=isBody?{width:$(window).width(),height:$(window).height()}:null 607return $.extend({},elRect,scroll,outerDims,elOffset)} 608Tooltip.prototype.getCalculatedOffset=function(placement,pos,actualWidth,actualHeight){return placement=='bottom'?{top:pos.top+pos.height,left:pos.left+pos.width/2-actualWidth/2}:placement=='top'?{top:pos.top-actualHeight,left:pos.left+pos.width/2-actualWidth/2}:placement=='left'?{top:pos.top+pos.height/2-actualHeight/2,left:pos.left-actualWidth}:{top:pos.top+pos.height/2-actualHeight/2,left:pos.left+pos.width}} 609Tooltip.prototype.getViewportAdjustedDelta=function(placement,pos,actualWidth,actualHeight){var delta={top:0,left:0} 610if(!this.$viewport)return delta 611var viewportPadding=this.options.viewport&&this.options.viewport.padding||0 612var viewportDimensions=this.getPosition(this.$viewport) 613if(/right|left/.test(placement)){var topEdgeOffset=pos.top-viewportPadding-viewportDimensions.scroll 614var bottomEdgeOffset=pos.top+viewportPadding-viewportDimensions.scroll+actualHeight 615if(topEdgeOffset<viewportDimensions.top){delta.top=viewportDimensions.top-topEdgeOffset}else if(bottomEdgeOffset>viewportDimensions.top+viewportDimensions.height){delta.top=viewportDimensions.top+viewportDimensions.height-bottomEdgeOffset}}else{var leftEdgeOffset=pos.left-viewportPadding 616var rightEdgeOffset=pos.left+viewportPadding+actualWidth 617if(leftEdgeOffset<viewportDimensions.left){delta.left=viewportDimensions.left-leftEdgeOffset}else if(rightEdgeOffset>viewportDimensions.right){delta.left=viewportDimensions.left+viewportDimensions.width-rightEdgeOffset}} 618return delta} 619Tooltip.prototype.getTitle=function(){var title 620var $e=this.$element 621var o=this.options 622title=$e.attr('data-original-title')||(typeof o.title=='function'?o.title.call($e[0]):o.title) 623return title} 624Tooltip.prototype.getUID=function(prefix){do prefix+=~~(Math.random()*1000000) 625while(document.getElementById(prefix)) 626return prefix} 627Tooltip.prototype.tip=function(){if(!this.$tip){this.$tip=$(this.options.template)
vendor: 13,106 bytes, lines 628-860
628if(this.$tip.length!=1){throw new Error(this.type+' `template` option must consist of exactly 1 top-level element!')}} 629return this.$tip} 630Tooltip.prototype.arrow=function(){return(this.$arrow=this.$arrow||this.tip().find('.tooltip-arrow'))} 631Tooltip.prototype.enable=function(){this.enabled=true} 632Tooltip.prototype.disable=function(){this.enabled=false} 633Tooltip.prototype.toggleEnabled=function(){this.enabled=!this.enabled} 634Tooltip.prototype.toggle=function(e){var self=this 635if(e){self=$(e.currentTarget).data('bs.'+this.type) 636if(!self){self=new this.constructor(e.currentTarget,this.getDelegateOptions()) 637$(e.currentTarget).data('bs.'+this.type,self)}} 638if(e){self.inState.click=!self.inState.click 639if(self.isInStateTrue())self.enter(self) 640else self.leave(self)}else{self.tip().hasClass('in')?self.leave(self):self.enter(self)}} 641Tooltip.prototype.destroy=function(){var that=this 642clearTimeout(this.timeout) 643this.hide(function(){that.$element.off('.'+that.type).removeData('bs.'+that.type) 644if(that.$tip){that.$tip.detach()} 645that.$tip=null 646that.$arrow=null 647that.$viewport=null 648that.$element=null})} 649Tooltip.prototype.sanitizeHtml=function(unsafeHtml){return sanitizeHtml(unsafeHtml,this.options.whiteList,this.options.sanitizeFn)} 650function Plugin(option){return this.each(function(){var $this=$(this) 651var data=$this.data('bs.tooltip') 652var options=typeof option=='object'&&option 653if(!data&&/destroy|hide/.test(option))return 654if(!data)$this.data('bs.tooltip',(data=new Tooltip(this,options))) 655if(typeof option=='string')data[option]()})} 656var old=$.fn.tooltip 657$.fn.tooltip=Plugin 658$.fn.tooltip.Constructor=Tooltip 659$.fn.tooltip.noConflict=function(){$.fn.tooltip=old 660return this}}(jQuery);+function($){'use strict';var Popover=function(element,options){this.init('popover',element,options)} 661if(!$.fn.tooltip)throw new Error('Popover requires tooltip.js') 662Popover.VERSION='3.4.1' 663Popover.DEFAULTS=$.extend({},$.fn.tooltip.Constructor.DEFAULTS,{placement:'right',trigger:'click',content:'',template:'<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content"></div></div>'}) 664Popover.prototype=$.extend({},$.fn.tooltip.Constructor.prototype) 665Popover.prototype.constructor=Popover 666Popover.prototype.getDefaults=function(){return Popover.DEFAULTS} 667Popover.prototype.setContent=function(){var $tip=this.tip() 668var title=this.getTitle() 669var content=this.getContent() 670if(this.options.html){var typeContent=typeof content 671if(this.options.sanitize){title=this.sanitizeHtml(title) 672if(typeContent==='string'){content=this.sanitizeHtml(content)}} 673$tip.find('.popover-title').html(title) 674$tip.find('.popover-content').children().detach().end()[typeContent==='string'?'html':'append'](content)}else{$tip.find('.popover-title').text(title) 675$tip.find('.popover-content').children().detach().end().text(content)} 676$tip.removeClass('fade top bottom left right in') 677if(!$tip.find('.popover-title').html())$tip.find('.popover-title').hide()} 678Popover.prototype.hasContent=function(){return this.getTitle()||this.getContent()} 679Popover.prototype.getContent=function(){var $e=this.$element 680var o=this.options 681return $e.attr('data-content')||(typeof o.content=='function'?o.content.call($e[0]):o.content)} 682Popover.prototype.arrow=function(){return(this.$arrow=this.$arrow||this.tip().find('.arrow'))} 683function Plugin(option){return this.each(function(){var $this=$(this) 684var data=$this.data('bs.popover') 685var options=typeof option=='object'&&option 686if(!data&&/destroy|hide/.test(option))return 687if(!data)$this.data('bs.popover',(data=new Popover(this,options))) 688if(typeof option=='string')data[option]()})} 689var old=$.fn.popover 690$.fn.popover=Plugin 691$.fn.popover.Constructor=Popover 692$.fn.popover.noConflict=function(){$.fn.popover=old 693return this}}(jQuery);+function($){'use strict';function ScrollSpy(element,options){this.$body=$(document.body) 694this.$scrollElement=$(element).is(document.body)?$(window):$(element) 695this.options=$.extend({},ScrollSpy.DEFAULTS,options) 696this.selector=(this.options.target||'')+' .nav li > a' 697this.offsets=[] 698this.targets=[] 699this.activeTarget=null 700this.scrollHeight=0 701this.$scrollElement.on('scroll.bs.scrollspy',$.proxy(this.process,this)) 702this.refresh() 703this.process()} 704ScrollSpy.VERSION='3.4.1' 705ScrollSpy.DEFAULTS={offset:10} 706ScrollSpy.prototype.getScrollHeight=function(){return this.$scrollElement[0].scrollHeight||Math.max(this.$body[0].scrollHeight,document.documentElement.scrollHeight)} 707ScrollSpy.prototype.refresh=function(){var that=this 708var offsetMethod='offset' 709var offsetBase=0 710this.offsets=[] 711this.targets=[] 712this.scrollHeight=this.getScrollHeight() 713if(!$.isWindow(this.$scrollElement[0])){offsetMethod='position' 714offsetBase=this.$scrollElement.scrollTop()} 715this.$body.find(this.selector).map(function(){var $el=$(this) 716var href=$el.data('target')||$el.attr('href') 717var $href=/^#./.test(href)&&$(href) 718return($href&&$href.length&&$href.is(':visible')&&[[$href[offsetMethod]().top+offsetBase,href]])||null}).sort(function(a,b){return a[0]-b[0]}).each(function(){that.offsets.push(this[0]) 719that.targets.push(this[1])})} 720ScrollSpy.prototype.process=function(){var scrollTop=this.$scrollElement.scrollTop()+this.options.offset 721var scrollHeight=this.getScrollHeight() 722var maxScroll=this.options.offset+scrollHeight-this.$scrollElement.height() 723var offsets=this.offsets 724var targets=this.targets 725var activeTarget=this.activeTarget 726var i 727if(this.scrollHeight!=scrollHeight){this.refresh()} 728if(scrollTop>=maxScroll){return activeTarget!=(i=targets[targets.length-1])&&this.activate(i)} 729if(activeTarget&&scrollTop<offsets[0]){this.activeTarget=null 730return this.clear()} 731for(i=offsets.length;i--;){activeTarget!=targets[i]&&scrollTop>=offsets[i]&&(offsets[i+1]===undefined||scrollTop<offsets[i+1])&&this.activate(targets[i])}} 732ScrollSpy.prototype.activate=function(target){this.activeTarget=target 733this.clear() 734var selector=this.selector+'[data-target="'+target+'"],'+ 735this.selector+'[href="'+target+'"]' 736var active=$(selector).parents('li').addClass('active') 737if(active.parent('.dropdown-menu').length){active=active.closest('li.dropdown').addClass('active')} 738active.trigger('activate.bs.scrollspy')} 739ScrollSpy.prototype.clear=function(){$(this.selector).parentsUntil(this.options.target,'.active').removeClass('active')} 740function Plugin(option){return this.each(function(){var $this=$(this) 741var data=$this.data('bs.scrollspy') 742var options=typeof option=='object'&&option 743if(!data)$this.data('bs.scrollspy',(data=new ScrollSpy(this,options))) 744if(typeof option=='string')data[option]()})} 745var old=$.fn.scrollspy 746$.fn.scrollspy=Plugin 747$.fn.scrollspy.Constructor=ScrollSpy 748$.fn.scrollspy.noConflict=function(){$.fn.scrollspy=old 749return this} 750$(window).on('load.bs.scrollspy.data-api',function(){$('[data-spy="scroll"]').each(function(){var $spy=$(this) 751Plugin.call($spy,$spy.data())})})}(jQuery);+function($){'use strict';var Tab=function(element){this.element=$(element)} 752Tab.VERSION='3.4.1' 753Tab.TRANSITION_DURATION=150 754Tab.prototype.show=function(){var $this=this.element 755var $ul=$this.closest('ul:not(.dropdown-menu)') 756var selector=$this.data('target') 757if(!selector){selector=$this.attr('href') 758selector=selector&&selector.replace(/.*(?=#[^\s]*$)/,'')} 759if($this.parent('li').hasClass('active'))return 760var $previous=$ul.find('.active:last a') 761var hideEvent=$.Event('hide.bs.tab',{relatedTarget:$this[0]}) 762var showEvent=$.Event('show.bs.tab',{relatedTarget:$previous[0]}) 763$previous.trigger(hideEvent) 764$this.trigger(showEvent) 765if(showEvent.isDefaultPrevented()||hideEvent.isDefaultPrevented())return 766var $target=$(document).find(selector) 767this.activate($this.closest('li'),$ul) 768this.activate($target,$target.parent(),function(){$previous.trigger({type:'hidden.bs.tab',relatedTarget:$this[0]}) 769$this.trigger({type:'shown.bs.tab',relatedTarget:$previous[0]})})} 770Tab.prototype.activate=function(element,container,callback){var $active=container.find('> .active') 771var transition=callback&&$.support.transition&&($active.length&&$active.hasClass('fade')||!!container.find('> .fade').length) 772function next(){$active.removeClass('active').find('> .dropdown-menu > .active').removeClass('active').end().find('[data-toggle="tab"]').attr('aria-expanded',false) 773element.addClass('active').find('[data-toggle="tab"]').attr('aria-expanded',true) 774if(transition){element[0].offsetWidth 775element.addClass('in')}else{element.removeClass('fade')} 776if(element.parent('.dropdown-menu').length){element.closest('li.dropdown').addClass('active').end().find('[data-toggle="tab"]').attr('aria-expanded',true)} 777callback&&callback()} 778$active.length&&transition?$active.one('bsTransitionEnd',next).emulateTransitionEnd(Tab.TRANSITION_DURATION):next() 779$active.removeClass('in')} 780function Plugin(option){return this.each(function(){var $this=$(this) 781var data=$this.data('bs.tab') 782if(!data)$this.data('bs.tab',(data=new Tab(this))) 783if(typeof option=='string')data[option]()})} 784var old=$.fn.tab 785$.fn.tab=Plugin 786$.fn.tab.Constructor=Tab 787$.fn.tab.noConflict=function(){$.fn.tab=old 788return this} 789var clickHandler=function(e){e.preventDefault() 790Plugin.call($(this),'show')} 791$(document).on('click.bs.tab.data-api','[data-toggle="tab"]',clickHandler).on('click.bs.tab.data-api','[data-toggle="pill"]',clickHandler)}(jQuery);+function($){'use strict';var Affix=function(element,options){this.options=$.extend({},Affix.DEFAULTS,options) 792var target=this.options.target===Affix.DEFAULTS.target?$(this.options.target):$(document).find(this.options.target) 793this.$target=target.on('scroll.bs.affix.data-api',$.proxy(this.checkPosition,this)).on('click.bs.affix.data-api',$.proxy(this.checkPositionWithEventLoop,this)) 794this.$element=$(element) 795this.affixed=null 796this.unpin=null 797this.pinnedOffset=null 798this.checkPosition()} 799Affix.VERSION='3.4.1' 800Affix.RESET='affix affix-top affix-bottom' 801Affix.DEFAULTS={offset:0,target:window} 802Affix.prototype.getState=function(scrollHeight,height,offsetTop,offsetBottom){var scrollTop=this.$target.scrollTop() 803var position=this.$element.offset() 804var targetHeight=this.$target.height() 805if(offsetTop!=null&&this.affixed=='top')return scrollTop<offsetTop?'top':false 806if(this.affixed=='bottom'){if(offsetTop!=null)return(scrollTop+this.unpin<=position.top)?false:'bottom' 807return(scrollTop+targetHeight<=scrollHeight-offsetBottom)?false:'bottom'} 808var initializing=this.affixed==null 809var colliderTop=initializing?scrollTop:position.top 810var colliderHeight=initializing?targetHeight:height 811if(offsetTop!=null&&scrollTop<=offsetTop)return'top' 812if(offsetBottom!=null&&(colliderTop+colliderHeight>=scrollHeight-offsetBottom))return'bottom' 813return false} 814Affix.prototype.getPinnedOffset=function(){if(this.pinnedOffset)return this.pinnedOffset 815this.$element.removeClass(Affix.RESET).addClass('affix') 816var scrollTop=this.$target.scrollTop() 817var position=this.$element.offset() 818return(this.pinnedOffset=position.top-scrollTop)} 819Affix.prototype.checkPositionWithEventLoop=function(){setTimeout($.proxy(this.checkPosition,this),1)} 820Affix.prototype.checkPosition=function(){if(!this.$element.is(':visible'))return 821var height=this.$element.height() 822var offset=this.options.offset 823var offsetTop=offset.top 824var offsetBottom=offset.bottom 825var scrollHeight=Math.max($(document).height(),$(document.body).height()) 826if(typeof offset!='object')offsetBottom=offsetTop=offset 827if(typeof offsetTop=='function')offsetTop=offset.top(this.$element) 828if(typeof offsetBottom=='function')offsetBottom=offset.bottom(this.$element) 829var affix=this.getState(scrollHeight,height,offsetTop,offsetBottom) 830if(this.affixed!=affix){if(this.unpin!=null)this.$element.css('top','') 831var affixType='affix'+(affix?'-'+affix:'') 832var e=$.Event(affixType+'.bs.affix') 833this.$element.trigger(e) 834if(e.isDefaultPrevented())return 835this.affixed=affix 836this.unpin=affix=='bottom'?this.getPinnedOffset():null 837this.$element.removeClass(Affix.RESET).addClass(affixType).trigger(affixType.replace('affix','affixed')+'.bs.affix')} 838if(affix=='bottom'){this.$element.offset({top:scrollHeight-height-offsetBottom})}} 839function Plugin(option){return this.each(function(){var $this=$(this) 840var data=$this.data('bs.affix') 841var options=typeof option=='object'&&option 842if(!data)$this.data('bs.affix',(data=new Affix(this,options))) 843if(typeof option=='string')data[option]()})} 844var old=$.fn.affix 845$.fn.affix=Plugin 846$.fn.affix.Constructor=Affix 847$.fn.affix.noConflict=function(){$.fn.affix=old 848return this} 849$(window).on('load',function(){$('[data-spy="affix"]').each(function(){var $spy=$(this) 850var data=$spy.data() 851data.offset=data.offset||{} 852if(data.offsetBottom!=null)data.offset.bottom=data.offsetBottom 853if(data.offsetTop!=null)data.offset.top=data.offsetTop 854Plugin.call($spy,data)})})}(jQuery); 855 856 857/*=============================== 858/rfk/plugins/system/t3/base-bs3/js/jquery.tap.min.js 859================================================================================*/; 860!function(a,b){"use strict";var c,d,e,f="._tap",g="._tapActive",h="tap",i="clientX clientY screenX screenY pageX pageY".split(" "),j={count:0,event:0},k=function(a,c){var d=c.originalEvent,e=b.Event(d);e.type=a;for(var f=0,g=i.length;g>f;f++)e[i[f]]=c[i[f]];return e}
860,l=function(a){if(a.isTrigger)return!1;var c=j.event,d=Math.abs(a.pageX-c.pageX),e=Math.abs(a.pageY-c.pageY),f=Math.max(d,e);return a.timeStamp-c.timeStamp<b.tap.TIME_DELTA&&f<b.tap.POSITION_DELTA&&(!c.touches||1===j.count)&&o.isTracking},m=function(a){if(!e)return!1;var c=Math.abs(a.pageX-e.pageX),d=Math.abs(a.pageY-e.pageY),f=Math.max(c,d);return Math.abs(a.timeStamp-e.timeStamp)<750&&f<b.tap.POSITION_DELTA},n=function(a){if(0===a.type.indexOf("touch")){a.touches=a.originalEvent.changedTouches;for(var b=a.touches[0],c=0,d=i.length;d>c;c++)a[i[c]]=b[i[c]]}a.timeStamp=Date.now?Date.now():+new Date},o={isEnabled:!1,isTracking:!1,enable:function(){o.isEnabled||(o.isEnabled=!0,c=b(a.body).on("touchstart"+f,o.onStart).on("mousedown"+f,o.onStart).on("click"+f,o.onClick))},disable:function(){o.isEnabled&&(o.isEnabled=!1,c.off(f))},onStart:function(a){a.isTrigger||(n(a),(!b.tap.LEFT_BUTTON_ONLY||a.touches||1===a.which)&&(a.touches&&(j.count=a.touches.length),o.isTracking||(a.touches||!m(a))&&(o.isTracking=!0,j.event=a,a.touches?(e=a,c.on("touchend"+f+g,o.onEnd).on("touchcancel"+f+g,o.onCancel)):c.on("mouseup"+f+g,o.onEnd))))},onEnd:function(a){var c;a.isTrigger||(n(a),l(a)&&(c=k(h,a),d=c,b(j.event.target).trigger(c)),o.onCancel(a))},onCancel:function(a){a&&"touchcancel"===a.type&&a.preventDefault(),o.isTracking=!1,c.off(g)},onClick:function(a){return!a.isTrigger&&d&&d.isDefaultPrevented()&&d.target===a.target&&d.pageX===a.pageX&&d.pageY===a.pageY&&a.timeStamp-d.timeStamp<750?(d=null,!1):void 0}};b(a).ready(o.enable),b.tap={POSITION_DELTA:10,TIME_DELTA:400,LEFT_BUTTON_ONLY:!0}}(document,jQuery); 861 862 863/*=============================== 864/rfk/plugins/system/t3/base-bs3/js/off-canvas.js 865================================================================================*/; 866jQuery(document).ready(function($){function getAndroidVersion(ua){var ua=ua||navigator.userAgent;var match=ua.match(/Android\s([0-9\.]*)/);return match?match[1]:false;};if(parseInt(getAndroidVersion())==4){$('#t3-mainnav').addClass('t3-mainnav-android');} 867var JA_isLoading=false;if(/MSIE\s([\d.]+)/.test(navigator.userAgent)?new Number(RegExp.$1)<10:false){$('html').addClass('old-ie');}else if(/constructor/i.test(window.HTMLElement)){$('html').addClass('safari');} 868var $wrapper=$('body'),$inner=$('.t3-wrapper'),$toggles=$('.off-canvas-toggle'),$offcanvas=$('.t3-off-canvas'),$close=$('.t3-off-canvas .close'),$btn=null,$nav=null,direction='left',$fixed=null;if(!$wrapper.length)return;$toggles.each(function(){var $this=$(this),$nav=$($this.data('nav')),effect=$this.data('effect'),direction=($('html').attr('dir')=='rtl'&&$this.data('pos')!='right')||($('html').attr('dir')!='rtl'&&$this.data('pos')=='right')?'right':'left';$nav.addClass(effect).addClass('off-canvas-'+direction);var inside_effect=['off-canvas-effect-3','off-canvas-effect-16','off-canvas-effect-7','off-canvas-effect-8','off-canvas-effect-14'];if($.inArray(effect,inside_effect)==-1){$inner.before($nav);}else{$inner.prepend($nav);}});$toggles.on('click',function(e){stopBubble(e);if($wrapper.hasClass('off-canvas-open')){oc_hide(e);return false;} 869$btn=$(this);$nav=$($btn.data('nav'));if(!$fixed)$fixed=$inner.find('*').filter(function(){return $(this).css("position")==='fixed';});else $fixed=$fixed.filter(function(){return $(this).css("position")==='fixed';}).add($inner.find('.affix'));$nav.addClass('off-canvas-current');direction=($('html').attr('dir')=='rtl'&&$btn.data('pos')!='right')||($('html').attr('dir')!='rtl'&&$btn.data('pos')=='right')?'right':'left';$offcanvas.height($(window).height());var events=$(window).data('events');if(events&&events.scroll&&events.scroll.length){var handlers=[];for(var i=0;i<events.scroll.length;i++){handlers[i]=events.scroll[i].handler;} 870$(window).data('scroll-events',handlers);$(window).off('scroll');} 871var scrollTop=($('html').scrollTop())?$('html').scrollTop():$('body').scrollTop();$('html').addClass('noscroll').css('top',-scrollTop).data('top',scrollTop);$('.t3-off-canvas').css('top',scrollTop);$fixed.each(function(){var $this=$(this),$parent=$this.parent(),mtop=0;while(!$parent.is($inner)&&$parent.css("position")==='static')$parent=$parent.parent();mtop=-$parent.offset().top;$this.css({'position':'absolute','margin-top':mtop});});$wrapper.scrollTop(scrollTop);$wrapper[0].className=$.trim($wrapper[0].className.replace(/\s*off\-canvas\-effect\-\d+\s*
871/g,' '))+' '+$btn.data('effect')+' '+'off-canvas-'+direction;setTimeout(oc_show,50);return false;});var oc_show=function(){if(JA_isLoading==true){return;} 872JA_isLoading=true;$wrapper.addClass('off-canvas-open');$inner.on('click',oc_hide);$close.on('click',oc_hide);$offcanvas.on('click',handleClick);if($.browser.msie&&$.browser.version<10){var p1={},p2={};p1['padding-'+direction]=$('.t3-off-canvas').width();p2[direction]=0;$inner.animate(p1);$nav.animate(p2);} 873setTimeout(function(){JA_isLoading=false;},200);};var oc_hide=function(){if(JA_isLoading==true){return;} 874JA_isLoading=true;$inner.off('click',oc_hide);$close.off('click',oc_hide);$offcanvas.off('click',handleClick);setTimeout(function(){$wrapper.removeClass('off-canvas-open');},100);setTimeout(function(){$wrapper.removeClass($btn.data('effect')).removeClass('off-canvas-'+direction);$wrapper.scrollTop(0);$('html').removeClass('noscroll').css('top','');$('html,body').scrollTop($('html').data('top'));$nav.removeClass('off-canvas-current');$fixed.css({'position':'','margin-top':''});if($(window).data('scroll-events')){var handlers=$(window).data('scroll-events');for(var i=0;i<handlers.length;i++){$(window).on('scroll',handlers[i]);} 875$(window).data('scroll-events',null);} 876JA_isLoading=false;},700);if($('html').hasClass('old-ie')){var p1={},p2={};p1['padding-'+direction]=0;p2[direction]=-$('.t3-off-canvas').width();$inner.animate(p1);$nav.animate(p2);}};var handleClick=function(e){if($(e.target).closest('a').length){if(!e.target.href)return;var arr1=e.target.href.split('#'),arr2=location.href.split('#');if(arr1[0]==arr2[0]&&arr1.length>1&&arr1[1].length){oc_hide();setTimeout(function(){var anchor=$("a[name='"+arr1[1]+"']");if(!anchor.length)anchor=$('#'+arr1[1]);if(anchor.length) 877$('html,body').animate({scrollTop:anchor.offset().top},'slow');},1000);} 878if(e.target.href.search('#')!==-1)return;} 879stopBubble(e);return true;} 880var stopBubble=function(e){e.stopPropagation();} 881$(window).on('load',function(){setTimeout(function(){$fixed=$inner.find('*').filter(function(){return $(this).css("position")==='fixed';});},100);});}) 882 883 884/*===============================
885/rfk/plugins/system/t3/base-bs3/js/script.js 886================================================================================*/; 887!function($){if($.browser==undefined||$.browser.msie==undefined){$.browser={msie:false,version:0};if(match=navigator.userAgent.match(/MSIE ([0-9]{1,}[\.0-9]{0,})/)||navigator.userAgent.match(/Trident.*rv:([0-9]{1,}[\.0-9]{0,})/)){$.browser.msie=true;$.browser.version=match[1];}} 888if($.browser.msie){$('html').addClass('ie'+Math.floor($.browser.version));} 889$(document).ready(function(){if(!window.getComputedStyle){window.getComputedStyle=function(el,pseudo){this.el=el;this.getPropertyValue=function(prop){var re=/(\-([a-z]){1})/g;if(prop=='float')prop='styleFloat';if(re.test(prop)){prop=prop.replace(re,function(){return arguments[2].toUpperCase();});} 890return el.currentStyle[prop]?el.currentStyle[prop]:null;} 891return this;}} 892var fromClass='body-data-holder',prop='content',$inspector=$('<div>').css('display','none').addClass(fromClass).appendTo($('body'));try{var computedStyle=window.getComputedStyle($inspector[0],':before');if(computedStyle){var attrs=computedStyle.getPropertyValue(prop);if(attrs){var matches=attrs.match(/([\da-z\-]+)/gi),data={};if(matches&&matches.length){for(var i=0;i<matches.length;i++){data[matches[i++]]=i<matches.length?matches[i]:null;}} 893$('body').data(data);}}}finally{$inspector.remove();}});(function(){$.support.t3transform=(function(){var style=document.createElement('div').style,vendors=['t','webkitT','MozT','msT','OT'],transform,i=0,l=vendors.length;for(;i<l;i++){transform=vendors[i]+'ransform';if(transform in style){return transform;}} 894return false;})();})();(function(){$('html').addClass('ontouchstart'in window?'touch':'no-touch');})();$(document).ready(function(){(function(){if(window.MooTools&&window.MooTools.More&&Element&&Element.implement){var mthide=Element.prototype.hide,mtshow=Element.prototype.show,mtslide=Element.prototype.slide;Element.implement({show:function(args){if(arguments.callee&&arguments.callee.caller&&arguments.callee.caller.toString().indexOf('isPropagationStopped')!==-1){return this;} 895return $.isFunction(mtshow)&&mtshow.apply(this,args);},hide:function(){if(arguments.callee&&arguments.callee.caller&&arguments.callee.caller.toString().indexOf('isPropagationStopped')!==-1){return this;} 896return $.isFunction(mthide)&&mthide.apply(this,arguments);},slide:function(args){if(arguments.callee&&arguments.callee.caller&&arguments.callee.caller.toString().indexOf('isPropagationStopped')!==-1){return this;} 897return $.isFunction(mtslide)&&mtslide.apply(this,args);}})}})();$.fn.tooltip.Constructor&&$.fn.tooltip.Constructor.DEFAULTS&&($.fn.tooltip.Constructor.DEFAULTS.html=true);$.fn.popover.Constructor&&$.fn.popover.Constructor.DEFAULTS&&($.fn.popover.Constructor.DEFAULTS.html=true);$.fn.tooltip.defaults&&($.fn.tooltip.defaults.html=true);$.fn.popover.defaults&&($.fn.popover.defaults.html=true);(function(){if(window.jomsQuery&&jomsQuery.fn.collapse){$('[data-toggle="collapse"]').on('click',function(e){$($(this).attr('data-target')).eq(0).collapse('toggle');e.stopPropagation();return false;});jomsQuery('html, body').off('touchstart.dropdown.data-api');}})();(function(){if($.fn.chosen&&$(document.documentElement).attr('dir')=='rtl'){$('select').addClass('chzn-rtl');}})();});$(window).on('load',function(){if(!$(document.documentElement).hasClass('off-canvas-ready')&&($('.navbar-collapse-fixed-top').length||$('.navbar-collapse-fixed-bottom').length)){var btn=$('.btn-navbar[data-toggle="collapse"]');if(!btn.length){return;} 898if(btn.data('target')){var nav=$(btn.data('target'));if(!nav.length){return;} 899var fixedtop=nav.closest('.navbar-collapse-fixed-top').length;btn.on('click',function(){var wheight=(window.innerHeight||$(window).height());if(!$.support.transition){nav.parent().css('height',!btn.hasClass('collapsed')&&btn.data('t3-clicked')?'':wheight);btn.data('t3-clicked',1);} 900nav.addClass('animate').css('max-height',wheight- 901(fixedtop?(parseFloat(nav.css('top'))||0):(parseFloat(nav.css('bottom'))||0)));});nav.on('shown hidden',function(){nav.removeClass('animate');});}}});}(jQuery); 902 903 904/*=============================== 905/rfk/plugins/system/t3/base-bs3/js/menu.js 906================================================================================*/; 907;(function($){var T3Menu=function(elm,options){this.$menu=$(elm);if(!this.$menu.length){return;} 908this.options=$.extend({},$.fn.t3menu.defaults,options);this.child_open=[];this.loaded=false;this.start();};T3Menu.prototype={constructor:T3Menu,start:function(){if(this.loaded){return;} 909this.loaded=true;var self=this,options=this.options,$menu=this.$menu;this.$items=$menu.find('li');this.$items.each(function(idx,li){var $item=$(this),$child=$item.children('.dropdown-menu'),$link=$item.children('a'),item={$item:$item,child:$child.length,link:$link.length,clickable:!($link.length&&$child.length),mega:$item.hasClass('mega'),status:'close',timer:null,atimer:null};$item.data('t3menu.item',item);if($child.length&&!options.hover){$item.on('click',function(e){e.stopPropagation();if($item.hasClass('group')){return;} 910if(item.status=='close'){e.preventDefault();self.show(item);}});}else{$item.on('click',function(e){if($(e.target).data('toggle'))return;e.stopPropagation()});} 911$item.find('a > .caret').on('click tap',function(e){item.clickable=false;});if(options.hover){$item.on('mouseover',function(e){if($item.hasClass('group')) 912return;var $target=$(e.target);if($target.data('show-processed')) 913return;$target.data('show-processed',true);
913setTimeout(function(){$target.data('show-processed',false);},10);self.show(item);}).on('mouseleave',function(e){if($item.hasClass('group')) 914return;var $target=$(e.target);if($target.data('hide-processed')) 915return;$target.data('hide-processed',true);setTimeout(function(){$target.data('hide-processed',false);},10);self.hide(item,$target);});if($link.length&&$child.length){$link.on('click',function(e){if(item.clickable){e.stopPropagation();} 916return item.clickable;});}}});$(document.body).on('tap hideall.t3menu',function(e){clearTimeout(self.timer);self.timer=setTimeout($.proxy(self.hide_alls,self),e.type=='tap'?500:self.options.hidedelay);});$menu.find('.mega-dropdown-menu').on('hideall.t3menu',function(e){e.stopPropagation();e.preventDefault();return false;});$menu.find('input, select, textarea, label').on('click tap',function(e){e.stopPropagation();});var $megatab=$menu.find('.mega-tab');if($megatab.length){$megatab.each(function(){var $tabul=$(this).find('>div>ul'),$tabItems=$tabul.children('.dropdown-submenu'),$tabs=$tabul.find('>li>.dropdown-menu'),tabheight=0,$parentItem=$(this).closest('li');$tabItems.data('mega-tab-item',1);var megatabs=$parentItem.data('mega-tabs')?$parentItem.data('mega-tabs'):[];megatabs.push($tabul);$parentItem.data('mega-tabs',megatabs);$tabItems.first().data('mega-tab-active',true).addClass('open');var $p=$tabul.parents('.dropdown-menu');$p.each(function(){var $this=$(this);$this.data('prev-style',$this.attr('style')).css({visibility:"visible",display:"block"});}) 917$tabs.each(function(){var $this=$(this),thisstyle=$this.attr('style');$this.css({visibility:"hidden",display:"block"});tabheight=Math.max(tabheight,$this.children().innerHeight());if(thisstyle){$this.attr('style',thisstyle);}else{$this.removeAttr('style');}});$tabul.css('min-height',tabheight);$p.each(function(){var $this=$(this);if($this.data('prev-style')) 918$this.attr('style',$this.data('prev-style'));else 919$this.removeAttr('style');$this.removeData('prev-style');})})} 920$menu.find('.modal').appendTo('body');},show:function(item){if(item.$item.data('mega-tab-item')){item.$item.parent().children().removeClass('open').data('mega-tab-active',false);item.$item.addClass('open').data('mega-tab-active',true);} 921if($.inArray(item,this.child_open)<this.child_open.length-1){this.hide_others(item);} 922$(document.body).trigger('hideall.t3menu',[this]);clearTimeout(this.timer);clearTimeout(item.timer);clearTimeout(item.ftimer);clearTimeout(item.ctimer);if(item.status!='open'||!item.$item.hasClass('open')||!this.child_open.length){if(item.mega){clearTimeout(item.astimer);clearTimeout(item.atimer);this.position(item.$item);item.astimer=setTimeout(function(){item.$item.addClass('animating')},10);item.atimer=setTimeout(function(){item.$item.removeClass('animating')},this.options.duration+50);item.timer=setTimeout(function(){item.$item.addClass('open');},100);}else{item.$item.addClass('open');} 923item.status='open';if(item.child&&$.inArray(item,this.child_open)==-1){this.child_open.push(item);}} 924item.ctimer=setTimeout($.proxy(this.clickable,this,item),300);},hide:function(item,$target){clearTimeout(this.timer);clearTimeout(item.timer);clearTimeout(item.astimer);clearTimeout(item.atimer);clearTimeout(item.ftimer);if($target&&$target.is('input',item.$item)){return;} 925if(item.mega){item.$item.addClass('animating');item.atimer=setTimeout(function(){item.$item.removeClass('animating')},this.options.duration);item.timer=setTimeout(function(){if(!item.$item.data('mega-tab-active')) 926item.$item.removeClass('open')},100);}else{item.timer=setTimeout(function(){if(!item.$item.data('mega-tab-active')) 927item.$item.removeClass('open');},100);} 928item.status='close';for(var i=this.child_open.length;i--;){if(this.child_open[i]===item){this.child_open.splice(i,1);}} 929item.ftimer=setTimeout($.proxy(this.hidden,this,item),this.options.duration);this.timer=setTimeout($.proxy(this.hide_alls,this),this.options.hidedelay);},hidden:function(item){if(item.status=='close'){item.clickable=false;}},hide_others:function(item){var self=this;$.each(this.child_open.slice(),function(idx,open){if(!item||(open!=item&&!open.$item.has(item.$item).length)){self.hide(open);}});},hide_alls:function(e,inst){if(!e||e.type=='tap'||(e.type=='hideall'&&this!=inst)){var self=this;$.each(this.child_open.slice(),function(idx,item){item&&self.hide(item);});}},clickable:function(item){item.clickable=true;},position:function($item){var sub=$item.children('.mega-dropdown-menu'),is_show=sub.is(':visible');
929if(!is_show){sub.show();} 930var offset=$item.offset(),width=$item.outerWidth(),screen_width=$(window).width() 931-this.options.sb_width,sub_width=sub.outerWidth(),level=$item.data('level');if(!is_show){sub.css('display','');} 932sub.css({left:'',right:''});if(level==1){var align=$item.data('alignsub'),align_offset=0,align_delta=0,align_trans=0;if(align=='justify'){return;} 933if(!align){align='left';} 934if(align=='center'){align_offset=offset.left+(width/2);if(!$.support.t3transform){align_trans=-sub_width/2;sub.css(this.options.rtl?'right':'left',align_trans+width/2);}}else{align_offset=offset.left 935+((align=='left'&&this.options.rtl||align=='right'&&!this.options.rtl)?width:0);} 936if(this.options.rtl){if(align=='right'){if(align_offset+sub_width>screen_width){align_delta=screen_width-align_offset 937-sub_width;sub.css('left',align_delta);if(screen_width<sub_width){sub.css('left',align_delta+sub_width 938-screen_width);}}}else{if(align_offset<(align=='center'?sub_width/2:sub_width)){align_delta=align_offset 939-(align=='center'?sub_width/2:sub_width);sub.css('right',align_delta+align_trans);} 940if(align_offset 941+(align=='center'?sub_width/2:0) 942-align_delta>screen_width){sub.css('right',align_offset 943+(align=='center'?(sub_width+width)/2:0)+align_trans 944-screen_width);}}}else{if(align=='right'){if(align_offset<sub_width){align_delta=align_offset-sub_width;sub.css('right',align_delta);if(sub_width>screen_width){sub.css('right',sub_width-screen_width 945+align_delta);}}}else{if(align_offset 946+(align=='center'?sub_width/2:sub_width)>screen_width){align_delta=screen_width 947-align_offset 948-(align=='center'?sub_width/2:sub_width);sub.css('left',align_delta+align_trans);} 949if(align_offset 950-(align=='center'?sub_width/2:0) 951+align_delta<0){sub.css('left',(align=='center'?(sub_width+width)/2:0) 952+align_trans 953-align_offset);}}}}else{if(this.options.rtl){if($item.closest('.mega-dropdown-menu').parent().hasClass('mega-align-right')){if(offset.left+width+sub_width>screen_width){$item.removeClass('mega-align-right');if(offset.left-sub_width<0){sub.css('right',offset.left+width 954-sub_width);}}}else{if(offset.left-sub_width<0){$item.removeClass('mega-align-left').addClass('mega-align-right');if(offset.left+width+sub_width>screen_width){sub.css('left',screen_width-offset.left 955-sub_width);}}}}else{if($item.closest('.mega-dropdown-menu').parent().hasClass('mega-align-right')){if(offset.left-sub_width<0){$item.removeClass('mega-align-right');if(offset.left+width+sub_width>screen_width){sub.css('left',screen_width-offset.left 956-sub_width);}}}else{if(offset.left+width+sub_width>screen_width){$item.removeClass('mega-align-left').addClass('mega-align-right');if(offset.left-sub_width<0){sub.css('right',offset.left+width 957-sub_width);}}}}}}};$.fn.t3menu=function(option){return this.each(function(){var $this=$(this),data=$this.data('megamenu'),options=typeof option=='object'&&option;if($this.parents('#off-canvas-nav').length) 958return;if($this.parents('#t3-off-canvas').length) 959return;if(!data){$this.data('megamenu',(data=new T3Menu(this,options)));}else{if(typeof option=='string'&&data[option]){data[option]()}}})};$.fn.t3menu.defaults={duration:400,timeout:100,hidedelay:200,hover:true,sb_width:20};$(document).ready(function(){var mm_duration=$('.t3-megamenu').data('duration')||0;if(mm_duration){$('<style type="text/css">' 960+'.t3-megamenu.animate .animating > .mega-dropdown-menu,' 961+'.t3-megamenu.animate.slide .animating > .mega-dropdown-menu > div {' 962+'transition-duration: ' 963+mm_duration+'ms !important;' 964+'-webkit-transition-duration: ' 965+mm_duration+'ms !important;' 966+'}'+'</style>').appendTo('head');} 967var mm_timeout=mm_duration?100+mm_duration:500,mm_rtl=$(document.documentElement).attr('dir')=='rtl',mm_trigger=$(document.documentElement).hasClass('mm-hover'),sb_width=(function(){var parent=$('<div style="width:50px;height:50px;overflow:auto"><div/></div>').appendTo('body'),child=parent.children(),width=child.innerWidth() 968-child.height(100).innerWidth();parent.remove();return width;})();if(!$.support.transition){$('.t3-megamenu').removeClass('animate');mm_timeout=100;} 969$('ul.nav').has('.dropdown-menu').t3menu({duration:mm_duration,timeout:mm_timeout,rtl:mm_rtl,sb_width:sb_width,hover:mm_trigger});$(window).on('load',function(){$('ul.nav').has('.dropdown-menu').t3menu({duration:mm_duration,timeout:mm_timeout,rtl:mm_rtl,sb_width:sb_width,hover:mm_trigger});});});})(jQuery); 970 971 972/*=============================== 973/rfk/templates/ja_alumni/js/owl-carousel/owl.carousel.js 974================================================================================*/; 975if(typeof Object.create!=="function"){Object.create=function(obj){function F(){} 976F.prototype=obj;return new F();};} 977(function($,window,document){var Carousel={init:function(options,el){var base=this;base.$elem=$(el);base.options=$.extend({},$.fn.owlCarousel.options,base.$elem.data(),options);base.userOptions=options;base.loadContent();},loadContent:function(){var base=this,url;function getData(data){var i,content="";if(typeof base.options.jsonSuccess==="function"){base.options.jsonSuccess.apply(this,[data]);}else{for(i in data.owl){if(data.owl.hasOwnProperty(i)){content+=data.owl[i].item;}} 978base.$elem.html(content);} 979base.logIn();} 980if(typeof base.options.beforeInit==="function"){base.options.beforeInit.apply(this,[base.$elem]);} 981if(typeof base.options.jsonPath==="string"){url=base.options.jsonPath;$.getJSON(url,getData);}else{base.logIn();}},logIn:function(){var base=this;base.$elem.data("owl-originalStyles",base.$elem.attr("style")).data("owl-originalClasses",base.$elem.attr("class"));base.$elem.css({opacity:0}
981);base.orignalItems=base.options.items;base.checkBrowser();base.wrapperWidth=0;base.checkVisible=null;base.setVars();},setVars:function(){var base=this;if(base.$elem.children().length===0){return false;} 982base.baseClass();base.eventTypes();base.$userItems=base.$elem.children();base.itemsAmount=base.$userItems.length;base.wrapItems();base.$owlItems=base.$elem.find(".owl-item");base.$owlWrapper=base.$elem.find(".owl-wrapper");base.playDirection="next";base.prevItem=0;base.prevArr=[0];base.currentItem=0;base.customEvents();base.onStartup();},onStartup:function(){var base=this;base.updateItems();base.calculateAll();base.buildControls();base.updateControls();base.response();base.moveEvents();base.stopOnHover();base.owlStatus();if(base.options.transitionStyle!==false){base.transitionTypes(base.options.transitionStyle);} 983if(base.options.autoPlay===true){base.options.autoPlay=5000;} 984base.play();base.$elem.find(".owl-wrapper").css("display","block");if(!base.$elem.is(":visible")){base.watchVisibility();}else{base.$elem.css("opacity",1);} 985base.onstartup=false;base.eachMoveUpdate();if(typeof base.options.afterInit==="function"){base.options.afterInit.apply(this,[base.$elem]);}},eachMoveUpdate:function(){var base=this;if(base.options.lazyLoad===true){base.lazyLoad();} 986if(base.options.autoHeight===true){base.autoHeight();} 987base.onVisibleItems();if(typeof base.options.afterAction==="function"){base.options.afterAction.apply(this,[base.$elem]);}},updateVars:function(){var base=this;if(typeof base.options.beforeUpdate==="function"){base.options.beforeUpdate.apply(this,[base.$elem]);} 988base.watchVisibility();base.updateItems();base.calculateAll();base.updatePosition();base.updateControls();base.eachMoveUpdate();if(typeof base.options.afterUpdate==="function"){base.options.afterUpdate.apply(this,[base.$elem]);}},reload:function(){var base=this;window.setTimeout(function(){base.updateVars();},0);},watchVisibility:function(){var base=this;if(base.$elem.is(":visible")===false){base.$elem.css({opacity:0});window.clearInterval(base.autoPlayInterval);window.clearInterval(base.checkVisible);}else{return false;} 989base.checkVisible=window.setInterval(function(){if(base.$elem.is(":visible")){base.reload();base.$elem.animate({opacity:1},200);window.clearInterval(base.checkVisible);}},500);},wrapItems:function(){var base=this;base.$userItems.wrapAll("<div class=\"owl-wrapper\">").wrap("<div class=\"owl-item\"></div>");base.$elem.find(".owl-wrapper").wrap("<div class=\"owl-wrapper-outer\">");base.wrapperOuter=base.$elem.find(".owl-wrapper-outer");base.$elem.css("display","block");},baseClass:function(){var base=this,hasBaseClass=base.$elem.hasClass(base.options.baseClass),hasThemeClass=base.$elem.hasClass(base.options.theme);if(!hasBaseClass){base.$elem.addClass(base.options.baseClass);} 990if(!hasThemeClass){base.$elem.addClass(base.options.theme);}},updateItems:function(){var base=this,width,i;if(base.options.responsive===false){return false;} 991if(base.options.singleItem===true){base.options.items=base.orignalItems=1;base.options.itemsCustom=false;base.options.itemsDesktop=false;base.options.itemsDesktopSmall=false;base.options.itemsTablet=false;base.options.itemsTabletSmall=false;base.options.itemsMobile=false;return false;} 992width=$(base.options.responsiveBaseWidth).width();if(width>(base.options.itemsDesktop[0]||base.orignalItems)){base.options.items=base.orignalItems;} 993if(base.options.itemsCustom!==false){base.options.itemsCustom.sort(function(a,b){return a[0]-b[0];});for(i=0;i<base.options.itemsCustom.length;i+=1){if(base.options.itemsCustom[i][0]<=width){base.options.items=base.options.itemsCustom[i][1];}}}else{if(width<=base.options.itemsDesktop[0]&&base.options.itemsDesktop!==false){base.options.items=base.options.itemsDesktop[1];} 994if(width<=base.options.itemsDesktopSmall[0]&&base.options.itemsDesktopSmall!==false){base.options.items=base.options.itemsDesktopSmall[1];} 995if(width<=base.options.itemsTablet[0]&&base.options.itemsTablet!==false){base.options.items=base.options.itemsTablet[1];} 996if(width<=base.options.itemsTabletSmall[0]&&base.options.itemsTabletSmall!==false){base.options.items=base.options.itemsTabletSmall[1];} 997if(width<=base.options.itemsMobile[0]&&base.options.itemsMobile!==false){base.options.items=base.options.itemsMobile[1];}} 998if(base.options.items>base.itemsAmount&&base.options.itemsScaleUp===true){base.options.items=base.itemsAmount;}},response:function(){var base=this,smallDelay,lastWindowWidth;
998if(base.options.responsive!==true){return false;} 999lastWindowWidth=$(window).width();base.resizer=function(){if($(window).width()!==lastWindowWidth){if(base.options.autoPlay!==false){window.clearInterval(base.autoPlayInterval);} 1000window.clearTimeout(smallDelay);smallDelay=window.setTimeout(function(){lastWindowWidth=$(window).width();base.updateVars();},base.options.responsiveRefreshRate);}};$(window).resize(base.resizer);},updatePosition:function(){var base=this;base.jumpTo(base.currentItem);if(base.options.autoPlay!==false){base.checkAp();}},appendItemsSizes:function(){var base=this,roundPages=0,lastItem=base.itemsAmount-base.options.items;base.$owlItems.each(function(index){var $this=$(this);$this.css({"width":base.itemWidth}).data("owl-item",Number(index));if(index%base.options.items===0||index===lastItem){if(!(index>lastItem)){roundPages+=1;}} 1001$this.data("owl-roundPages",roundPages);});},appendWrapperSizes:function(){var base=this,width=base.$owlItems.length*base.itemWidth;base.$owlWrapper.css({"width":width*2,"left":0});base.appendItemsSizes();},calculateAll:function(){var base=this;base.calculateWidth();base.appendWrapperSizes();base.loops();base.max();},calculateWidth:function(){var base=this;base.itemWidth=Math.round(base.$elem.width()/base.options.items);},max:function(){var base=this,maximum=((base.itemsAmount*base.itemWidth)-base.options.items*base.itemWidth)*-1;if(base.options.items>base.itemsAmount){base.maximumItem=0;maximum=0;base.maximumPixels=0;}else{base.maximumItem=base.itemsAmount-base.options.items;base.maximumPixels=maximum;} 1002return maximum;},min:function(){return 0;},loops:function(){var base=this,prev=0,elWidth=0,i,item,roundPageNum;base.positionsInArray=[0];base.pagesInArray=[];for(i=0;i<base.itemsAmount;i+=1){elWidth+=base.itemWidth;base.positionsInArray.push(-elWidth);if(base.options.scrollPerPage===true){item=$(base.$owlItems[i]);roundPageNum=item.data("owl-roundPages");if(roundPageNum!==prev){base.pagesInArray[prev]=base.positionsInArray[i];prev=roundPageNum;}}}},buildControls:function(){var base=this;if(base.options.navigation===true||base.options.pagination===true){base.owlControls=$("<div class=\"owl-controls\"/>").toggleClass("clickable",!base.browser.isTouch).appendTo(base.$elem);} 1003if(base.options.pagination===true){base.buildPagination();} 1004if(base.options.navigation===true){base.buildButtons();}},buildButtons:function(){var base=this,buttonsWrapper=$("<div class=\"owl-buttons\"/>");base.owlControls.append(buttonsWrapper);base.buttonPrev=$("<div/>",{"class":"owl-prev","html":base.options.navigationText[0]||""});base.buttonNext=$("<div/>",{"class":"owl-next","html":base.options.navigationText[1]||""});buttonsWrapper.append(base.buttonPrev).append(base.buttonNext);buttonsWrapper.on("touchstart.owlControls mousedown.owlControls","div[class^=\"owl\"]",function(event){event.preventDefault();});buttonsWrapper.on("touchend.owlControls mouseup.owlControls","div[class^=\"owl\"]",function(event){event.preventDefault();if($(this).hasClass("owl-next")){base.next();}else{base.prev();}});},buildPagination:function(){var base=this;base.paginationWrapper=$("<div class=\"owl-pagination\"/>");base.owlControls.append(base.paginationWrapper);base.paginationWrapper.on("touchend.owlControls mouseup.owlControls",".owl-page",function(event){event.preventDefault();if(Number($(this).data("owl-page"))!==base.currentItem){base.goTo(Number($(this).data("owl-page")),true);}});},updatePagination:function(){var base=this,counter,lastPage,lastItem,i,paginationButton,paginationButtonInner;if(base.options.pagination===false){return false;} 1005base.paginationWrapper.html("");counter=0;lastPage=base.itemsAmount-base.itemsAmount%base.options.items;for(i=0;i<base.itemsAmount;i+=1){if(i%base.options.items===0){counter+=1;if(lastPage===i){lastItem=base.itemsAmount-base.options.items;} 1006paginationButton=$("<div/>",{"class":"owl-page"});paginationButtonInner=$("<span></span>",{"text":base.options.paginationNumbers===true?counter:"","class":base.options.paginationNumbers===true?"owl-numbers":""});paginationButton.append(paginationButtonInner);paginationButton.data("owl-page",lastPage===i?lastItem:i);paginationButton.data("owl-roundPages",counter);base.paginationWrapper.append(paginationButton);}} 1007base.checkPagination();},checkPagination:function(){var base=this;if(base.options.pagination===false){return false;} 1008base.paginationWrapper.find(".owl-page").each(function(){if($(this).data("owl-roundPages")===$(base.$owlItems[base.currentItem]).data("owl-roundPages")){base.paginationWrapper.find(".owl-page").removeClass("active");$(this).addClass("active");}});},checkNavigation:function(){var base=this;if(base.options.navigation===false){return false;} 1009if(base.options.rewindNav===false){if(base.currentItem===0&&base.maximumItem===0){base.buttonPrev.addClass("disabled");base.buttonNext.addClass("disabled");}else if(base.currentItem===0&&base.maximumItem!==0){base.buttonPrev.addClass("disabled");base.buttonNext.removeClass("disabled");}else if(base.currentItem===base.maximumItem){base.buttonPrev.removeClass("disabled");base.buttonNext.addClass("disabled");}else if(base.currentItem!==0&&base.currentItem!==base.maximumItem){base.buttonPrev.removeClass("disabled");base.buttonNext.removeClass("disabled");}}},updateControls:function(){var base=this;base.updatePagination();base.checkNavigation();if(base.owlControls){if(base.options.items>=base.itemsAmount){base.owlControls.hide();}else{base.owlControls.show();}}},destroyControls:function(){var base=this;if(base.owlControls){base.owlControls.remove();}},next:function(speed){var base=this;if(base.isTransition){return false;} 1010base.currentItem+=base.options.scrollPerPage===true?base.options.items:1;if(base.currentItem>base.maximumItem+(base.options.scrollPerPage===true?(base.options.items-1):0)){if
1010(base.options.rewindNav===true){base.currentItem=0;speed="rewind";}else{base.currentItem=base.maximumItem;return false;}} 1011base.goTo(base.currentItem,speed);},prev:function(speed){var base=this;if(base.isTransition){return false;} 1012if(base.options.scrollPerPage===true&&base.currentItem>0&&base.currentItem<base.options.items){base.currentItem=0;}else{base.currentItem-=base.options.scrollPerPage===true?base.options.items:1;} 1013if(base.currentItem<0){if(base.options.rewindNav===true){base.currentItem=base.maximumItem;speed="rewind";}else{base.currentItem=0;return false;}} 1014base.goTo(base.currentItem,speed);},goTo:function(position,speed,drag){var base=this,goToPixel;if(base.isTransition){return false;} 1015if(typeof base.options.beforeMove==="function"){base.options.beforeMove.apply(this,[base.$elem]);} 1016if(position>=base.maximumItem){position=base.maximumItem;}else if(position<=0){position=0;} 1017base.currentItem=base.owl.currentItem=position;if(base.options.transitionStyle!==false&&drag!=="drag"&&base.options.items===1&&base.browser.support3d===true){base.swapSpeed(0);if(base.browser.support3d===true){base.transition3d(base.positionsInArray[position]);}else{base.css2slide(base.positionsInArray[position],1);} 1018base.afterGo();base.singleItemTransition();return false;} 1019goToPixel=base.positionsInArray[position];if(base.browser.support3d===true){base.isCss3Finish=false;if(speed===true){base.swapSpeed("paginationSpeed");window.setTimeout(function(){base.isCss3Finish=true;},base.options.paginationSpeed);}else if(speed==="rewind"){base.swapSpeed(base.options.rewindSpeed);window.setTimeout(function(){base.isCss3Finish=true;},base.options.rewindSpeed);}else{base.swapSpeed("slideSpeed");window.setTimeout(function(){base.isCss3Finish=true;},base.options.slideSpeed);} 1020base.transition3d(goToPixel);}else{if(speed===true){base.css2slide(goToPixel,base.options.paginationSpeed);}else if(speed==="rewind"){base.css2slide(goToPixel,base.options.rewindSpeed);}else{base.css2slide(goToPixel,base.options.slideSpeed);}} 1021base.afterGo();},jumpTo:function(position){var base=this;if(typeof base.options.beforeMove==="function"){base.options.beforeMove.apply(this,[base.$elem]);} 1022if(position>=base.maximumItem||position===-1){position=base.maximumItem;}else if(position<=0){position=0;} 1023base.swapSpeed(0);if(base.browser.support3d===true){base.transition3d(base.positionsInArray[position]);}else{base.css2slide(base.positionsInArray[position],1);} 1024base.currentItem=base.owl.currentItem=position;base.afterGo();},afterGo:function(){var base=this;base.prevArr.push(base.currentItem);base.prevItem=base.owl.prevItem=base.prevArr[base.prevArr.length-2];base.prevArr.shift(0);if(base.prevItem!==base.currentItem){base.checkPagination();base.checkNavigation();base.eachMoveUpdate();if(base.options.autoPlay!==false){base.checkAp();}} 1025if(typeof base.options.afterMove==="function"&&base.prevItem!==base.currentItem){base.options.afterMove.apply(this,[base.$elem]);}},stop:function(){var base=this;base.apStatus="stop";window.clearInterval(base.autoPlayInterval);},checkAp:function(){var base=this;if(base.apStatus!=="stop"){base.play();}},play:function(){var base=this;base.apStatus="play";if(base.options.autoPlay===false){return false;} 1026window.clearInterval(base.autoPlayInterval);base.autoPlayInterval=window.setInterval(function(){base.next(true);},base.options.autoPlay);},swapSpeed:function(action){var base=this;if(action==="slideSpeed"){base.$owlWrapper.css(base.addCssSpeed(base.options.slideSpeed));}else if(action==="paginationSpeed"){base.$owlWrapper.css(base.addCssSpeed(base.options.paginationSpeed));}else if(typeof action!=="string"){base.$owlWrapper.css(base.addCssSpeed(action));}},addCssSpeed:function(speed){return{"-webkit-transition":"all "+speed+"ms ease","-moz-transition":"all "+speed+"ms ease","-o-transition":"all "+speed+"ms ease","transition":"all "+speed+"ms ease"};},removeTransition:function(){return{"-webkit-transition":"","-moz-transition":"","-o-transition":"","transition":""};},doTranslate:function(pixels){return{"-webkit-transform":"translate3d("+pixels+"px, 0px, 0px)","-moz-transform":"translate3d("+pixels+"px, 0px, 0px)","-o-transform":"translate3d("+pixels+"px, 0px, 0px)","-ms-transform":"translate3d("+pixels+"px, 0px, 0px)","transform":"translate3d("+pixels+"px, 0px,0px)"};},transition3d:function(value){var base=this;base.$owlWrapper.css(base.doTranslate(value));},css2move:function(value){var base=this;base.$owlWrapper.css({"left":value});},css2slide:function(value,speed){var base=this;base.isCssFinish=false;base.$owlWrapper.stop(true,true).animate({"left":value},{duration:speed||base.options.slideSpeed,complete:function(){base.isCssFinish=true;}});},checkBrowser:function(){var base=this,translate3D="translate3d(0px, 0px, 0px)",tempElem=document.createElement("div"),regex,asSupport,support3d,isTouch;tempElem.style.cssText=" -moz-transform:"+translate3D+"; -ms-transform:"+translate3D+"; -o-transform:"+translate3D+"; -webkit-transform:"+translate3D+"; transform:"+translate3D;regex=/translate3d\(0px, 0px, 0px\)/g;asSupport=tempElem.style.cssText.match(regex);support3d=(asSupport!==null&&asSupport.length===1);isTouch="ontouchstart"in window||window.navigator.msMaxTouchPoints;base.browser={"support3d":support3d,"isTouch":isTouch};},moveEvents:function(){var base=this;if(base.options.mouseDrag!==false||base.options.touchDrag!==false){base.gestures();base.disabledEvents();}},eventTypes:function(){var base=this,types=["s","e","x"];base.ev_types={};if(base.options.mouseDrag===true&&base.options.touchDrag===true){types=["touchstart.owl mousedown.owl","touchmove.owl mousemove.owl","touchend.owl touchcancel.owl mouseup.owl"];}else if(base.options.mouseDrag===false&&base.options.touchDrag===true){types=["touchstart.owl","touchmove.owl","touchend.owl touchcancel.owl"];}else if(base.options.mouseDrag===true&&base.options.touchDrag===false){types=["mousedown.owl","mousemove.owl","mouseup.owl"];} 1027base.ev_types.start=types[0];base.ev_types.move=types[1];base.ev_types.end=types[2];},disabledEvents:function(){var base=this;base.$elem.on("dragstart.owl",function(event){event.preventDefault();});base.$elem.on("mousedown.disableTextSelect",function(e){return $(e.target).is('input, textarea, select, option');});},gestures:function(){var base=this,locals={offsetX:0,offsetY:0,baseElWidth:0,relativePos:0,position:null,minSwipe:null,maxSwipe:null,sliding:null,dargging:null,targetElement:null};base.isCssFinish=true;function getTouches(event){if(event.touches!==undefined){return{x:event.touches[0].pageX,y:event.touches[0].pageY};} 1028if(event.touches===undefined){if(event.pageX!==undefined){return{x:event.pageX,y:event.pageY};} 1029if(event.pageX===undefined){return{x:event.clientX,y:event.clientY};}}} 1030function swapEvents(type){if(type==="on"){$(document).on(base.ev_types.move,dragMove);$(document).on(base.ev_types.end,dragEnd);}else if(type==="off"){$(document).off(base.ev_types.move);$(document).off(base.ev_types.end);}} 1031function dragStart(event){var ev=event.originalEvent||event||window.event,position;if(ev.which===3){return false;} 1032if(base.itemsAmount<=base.options.items){return;} 1033if(base.isCssFinish===false&&!base.options.dragBeforeAnimFinish){return false;} 1034if(base.isCss3Finish===false&&!base.options.dragBeforeAnimFinish){return false;} 1035if(base.options.autoPlay!==false){window.clearInterval(base.autoPlayInterval);} 1036if(base.browser.isTouch!==true&&!base.$owlWrapper.hasClass("grabbing")){base.$owlWrapper.addClass("grabbing");} 1037base.newPosX=0;base.newRelativeX=0;$(this).css(base.removeTransition());position=$(this).position();locals.relativePos=position.left;locals.offsetX=getTouches(ev).x-position.left;locals.offsetY=getTouches(ev).y-position.top;swapEvents("on");locals.sliding=false;locals.targetElement=ev.target||ev.srcElement;} 1038function dragMove(event){var ev=event.originalEvent||event||window.event,minSwipe,maxSwi
1038pe;base.newPosX=getTouches(ev).x-locals.offsetX;base.newPosY=getTouches(ev).y-locals.offsetY;base.newRelativeX=base.newPosX-locals.relativePos;if(typeof base.options.startDragging==="function"&&locals.dragging!==true&&base.newRelativeX!==0){locals.dragging=true;base.options.startDragging.apply(base,[base.$elem]);} 1039if((base.newRelativeX>8||base.newRelativeX<-8)&&(base.browser.isTouch===true)){if(ev.preventDefault!==undefined){ev.preventDefault();}else{ev.returnValue=false;} 1040locals.sliding=true;} 1041if((base.newPosY>10||base.newPosY<-10)&&locals.sliding===false){$(document).off("touchmove.owl");} 1042minSwipe=function(){return base.newRelativeX/5;};maxSwipe=function(){return base.maximumPixels+base.newRelativeX/5;};base.newPosX=Math.max(Math.min(base.newPosX,minSwipe()),maxSwipe());if(base.browser.support3d===true){base.transition3d(base.newPosX);}else{base.css2move(base.newPosX);}} 1043function dragEnd(event){var ev=event.originalEvent||event||window.event,newPosition,handlers,owlStopEvent;ev.target=ev.target||ev.srcElement;locals.dragging=false;if(base.browser.isTouch!==true){base.$owlWrapper.removeClass("grabbing");} 1044if(base.newRelativeX<0){base.dragDirection=base.owl.dragDirection="left";}else{base.dragDirection=base.owl.dragDirection="right";} 1045if(base.newRelativeX!==0){newPosition=base.getNewPosition();base.goTo(newPosition,false,"drag");if(locals.targetElement===ev.target&&base.browser.isTouch!==true){$(ev.target).on("click.disable",function(ev){ev.stopImmediatePropagation();ev.stopPropagation();ev.preventDefault();$(ev.target).off("click.disable");});handlers=$._data(ev.target,"events").click;owlStopEvent=handlers.pop();handlers.splice(0,0,owlStopEvent);}} 1046swapEvents("off");} 1047base.$elem.on(base.ev_types.start,".owl-wrapper",dragStart);},getNewPosition:function(){var base=this,newPosition=base.closestItem();if(newPosition>base.maximumItem){base.currentItem=base.maximumItem;newPosition=base.maximumItem;}else if(base.newPosX>=0){newPosition=0;base.currentItem=0;} 1048return newPosition;},closestItem:function(){var base=this,array=base.options.scrollPerPage===true?base.pagesInArray:base.positionsInArray,goal=base.newPosX,closest=null;$.each(array,function(i,v){if(goal-(base.itemWidth/20)>array[i+1]&&goal-(base.itemWidth/20)<v&&base.moveDirection()==="left"){closest=v;if(base.options.scrollPerPage===true){base.currentItem=$.inArray(closest,base.positionsInArray);}else{base.currentItem=i;}}else if(goal+(base.itemWidth/20)<v&&goal+(base.itemWidth/20)>(array[i+1]||array[i]-base.itemWidth)&&base.moveDirection()==="right"){if(base.options.scrollPerPage===true){closest=array[i+1]||array[array.length-1];base.currentItem=$.inArray(closest,base.positionsInArray);}else{closest=array[i+1];base.currentItem=i+1;}}});return base.currentItem;},moveDirection:function(){var base=this,direction;if(base.newRelativeX<0){direction="right";base.playDirection="next";}else{direction="left";base.playDirection="prev";} 1049return direction;},customEvents:function(){var base=this;base.$elem.on("owl.next",function(){base.next();});base.$elem.on("owl.prev",function(){base.prev();});base.$elem.on("owl.play",function(event,speed){base.options.autoPlay=speed;base.play();base.hoverStatus="play";});base.$elem.on("owl.stop",function(){base.stop();base.hoverStatus="stop";});base.$elem.on("owl.goTo",function(event,item){base.goTo(item);});base.$elem.on("owl.jumpTo",function(event,item){base.jumpTo(item);});},stopOnHover:function(){var base=this;if(base.options.stopOnHover===true&&base.browser.isTouch!==true&&base.options.autoPlay!==false){base.$elem.on("mouseover",function(){base.stop();});base.$elem.on("mouseout",function(){if(base.hoverStatus!=="stop"){base.play();}});}},lazyLoad:function(){var base=this,i,$item,itemNumber,$lazyImg,follow;if(base.options.lazyLoad===false){return false;} 1050for(i=0;i<base.itemsAmount;i+=1){$item=$(base.$owlItems[i]);if($item.data("owl-loaded")==="loaded"){continue;} 1051itemNumber=$item.data("owl-item");$lazyImg=$item.find(".lazyOwl");if(typeof $lazyImg.data("src")!=="string"){$item.data("owl-loaded","loaded");continue;} 1052if($item.data("owl-loaded")===undefined){$lazyImg.hide();$item.addClass("loading").data("owl-loaded","checked");} 1053if(base.options.lazyFollow===true){follow=itemNumber>=base.currentItem;}else{follow=true;} 1054if(follow&&itemNumber<base.currentItem+base.options.items&&$lazyImg.length){base.lazyPreload($item,$lazyImg);}}},lazyPreload:function($item,$lazyImg){var base=this,iterations=0,isBackgroun
1054dImg;if($lazyImg.prop("tagName")==="DIV"){$lazyImg.css("background-image","url("+$lazyImg.data("src")+")");isBackgroundImg=true;}else{$lazyImg[0].src=$lazyImg.data("src");} 1055function showImage(){$item.data("owl-loaded","loaded").removeClass("loading");$lazyImg.removeAttr("data-src");if(base.options.lazyEffect==="fade"){$lazyImg.fadeIn(400);}else{$lazyImg.show();} 1056if(typeof base.options.afterLazyLoad==="function"){base.options.afterLazyLoad.apply(this,[base.$elem]);}} 1057function checkLazyImage(){iterations+=1;if(base.completeImg($lazyImg.get(0))||isBackgroundImg===true){showImage();}else if(iterations<=100){window.setTimeout(checkLazyImage,100);}else{showImage();}} 1058checkLazyImage();},autoHeight:function(){var base=this,$currentimg=$(base.$owlItems[base.currentItem]).find("img"),iterations;function addHeight(){var $currentItem=$(base.$owlItems[base.currentItem]).height();base.wrapperOuter.css("height",$currentItem+"px");if(!base.wrapperOuter.hasClass("autoHeight")){window.setTimeout(function(){base.wrapperOuter.addClass("autoHeight");},0);}} 1059function checkImage(){iterations+=1;if(base.completeImg($currentimg.get(0))){addHeight();}else if(iterations<=100){window.setTimeout(checkImage,100);}else{base.wrapperOuter.css("height","");}} 1060if($currentimg.get(0)!==undefined){iterations=0;checkImage();}else{addHeight();}},completeImg:function(img){var naturalWidthType;if(!img.complete){return false;} 1061naturalWidthType=typeof img.naturalWidth;if(naturalWidthType!=="undefined"&&img.naturalWidth===0){return false;} 1062return true;},onVisibleItems:function(){var base=this,i;if(base.options.addClassActive===true){base.$owlItems.removeClass("active");} 1063base.visibleItems=[];for(i=base.currentItem;i<base.currentItem+base.options.items;i+=1){base.visibleItems.push(i);if(base.options.addClassActive===true){$(base.$owlItems[i]).addClass("active");}} 1064base.owl.visibleItems=base.visibleItems;},transitionTypes:function(className){var base=this;base.outClass="owl-"+className+"-out";base.inClass="owl-"+className+"-in";},singleItemTransition:function(){var base=this,outClass=base.outClass,inClass=base.inClass,$currentItem=base.$owlItems.eq(base.currentItem),$prevItem=base.$owlItems.eq(base.prevItem),prevPos=Math.abs(base.positionsInArray[base.currentItem])+base.positionsInArray[base.prevItem],origin=Math.abs(base.positionsInArray[base.currentItem])+base.itemWidth/2,animEnd='webkitAnimationEnd oAnimationEnd MSAnimationEnd animationend';base.isTransition=true;base.$owlWrapper.addClass('owl-origin').css({"-webkit-transform-origin":origin+"px","-moz-perspective-origin":origin+"px","perspective-origin":origin+"px"});function transStyles(prevPos){return{"position":"relative","left":prevPos+"px"};} 1065$prevItem.css(transStyles(prevPos,10)).addClass(outClass).on(animEnd,function(){base.endPrev=true;$prevItem.off(animEnd);base.clearTransStyle($prevItem,outClass);});$currentItem.addClass(inClass).on(animEnd,function(){base.endCurrent=true;$currentItem.off(animEnd);base.clearTransStyle($currentItem,inClass);});},clearTransStyle:function(item,classToRemove){var base=this;item.css({"position":"","left":""}).removeClass(classToRemove);if(base.endPrev&&base.endCurrent){base.$owlWrapper.removeClass('owl-origin');base.endPrev=false;base.endCurrent=false;base.isTransition=false;}},owlStatus:function(){var base=this;base.owl={"userOptions":base.userOptions,"baseElement":base.$elem,"userItems":base.$userItems,"owlItems":base.$owlItems,"currentItem":base.currentItem,"prevItem":base.prevItem,"visibleItems":base.visibleItems,"isTouch":base.browser.isTouch,"browser":base.browser,"dragDirection":base.dragDirection};},clearEvents:function(){var base=this;base.$elem.off(".owl owl mousedown.disableTextSelect");$(document).off(".owl owl");$(window).off("resize",base.resizer);},unWrap:function(){var base=this;if(base.$elem.children().length!==0){base.$owlWrapper.unwrap();base.$userItems.unwrap().unwrap();if(base.owlControls){base.owlControls.remove();}} 1066base.clearEvents();base.$elem.attr("style",base.$elem.data("owl-originalStyles")||"").attr("class",base.$elem.data("owl-originalClasses"));},destroy:function(){var base=this;base.stop();window.clearInterval(base.checkVisible);base.unWrap();base.$elem.removeData();},reinit:function(newOptions){var base=this,options=$.extend({},base.userOptions,newOptions);base.unWrap();base.init(options,base.$elem);},addItem:function(htmlString,targetPosition){var base=this,position;if(!htmlString){return false;} 1067if(base.$elem.children().length===0){base.$elem.append(htmlString);base.setVars();return false;} 1068base.unWrap();if(targetPosition===undefined||targetPosition===-1){position=-1;}else{position=targetPosition;} 1069if(position>=base.$userItems.length||position===-1){base.$userItems.eq(-1).after(htmlString);}else{base.$userItems.eq(position).before(htmlString);} 1070base.setVars();},removeItem:function(targetPosition){var base=this,position;if(base.$elem.children().length===0){return false;} 1071if(targetPosition===undefined||targetPosition===-1){position=-1;}else{position=targetPosition;} 1072base.unWrap();base.$userItems.eq(position).remove();base.setVars();}};$.fn.owlCarousel=function(options){return this.each(function(){if($(this).data("owl-init")===true){return false;} 1073$(this).data("owl-init",true);
1073var carousel=Object.create(Carousel);carousel.init(options,this);$.data(this,"owlCarousel",carousel);});};$.fn.owlCarousel.options={items:5,itemsCustom:false,itemsDesktop:[1199,4],itemsDesktopSmall:[979,3],itemsTablet:[768,2],itemsTabletSmall:false,itemsMobile:[479,1],singleItem:false,itemsScaleUp:false,slideSpeed:200,paginationSpeed:800,rewindSpeed:1000,autoPlay:false,stopOnHover:false,navigation:false,navigationText:["prev","next"],rewindNav:true,scrollPerPage:false,pagination:true,paginationNumbers:false,responsive:true,responsiveRefreshRate:200,responsiveBaseWidth:window,baseClass:"owl-carousel",theme:"owl-theme",lazyLoad:false,lazyFollow:true,lazyEffect:"fade",autoHeight:false,jsonPath:false,jsonSuccess:false,dragBeforeAnimFinish:true,mouseDrag:true,touchDrag:true,addClassActive:false,transitionStyle:false,beforeUpdate:false,afterUpdate:false,beforeInit:false,afterInit:false,beforeMove:false,afterMove:false,afterAction:false,startDragging:false,afterLazyLoad:false};}(jQuery,window,document)); 1074 1075 1076/*=============================== 1077/rfk/templates/ja_alumni/js/script.js 1078================================================================================*/; 1079(function($){$(window).on('load',function(){var nav_pills=$('#t3-header');if(nav_pills.length){setTimeout(function(){nav_pills.affix({offset:{top:$('.t3-topbar').height()}});},1000);$(window).resize(function(){nav_pills.data('bs.affix').options.offset.top=$('.t3-topbar').height();});}});})(jQuery); 1080 1081 1082/*=============================== 1083/rfk/templates/ja_alumni/js/affix.js 1084================================================================================*/; 1085+function($){'use strict';var Affix=function(element,options){this.options=$.extend({},Affix.DEFAULTS,options) 1086this.$target=$(this.options.target).on('scroll.bs.affix.data-api',$.proxy(this.checkPosition,this)).on('click.bs.affix.data-api',$.proxy(this.checkPositionWithEventLoop,this)) 1087this.$element=$(element) 1088this.affixed=null 1089this.unpin=null 1090this.pinnedOffset=null 1091this.checkPosition()} 1092Affix.VERSION='3.3.6' 1093Affix.RESET='affix affix-top affix-bottom' 1094Affix.DEFAULTS={offset:0,target:window} 1095Affix.prototype.getState=function(scrollHeight,height,offsetTop,offsetBottom){var scrollTop=this.$target.scrollTop() 1096var position=this.$element.offset() 1097var targetHeight=this.$target.height() 1098if(offsetTop!=null&&this.affixed=='top')return scrollTop<offsetTop?'top':false 1099if(this.affixed=='bottom'){if(offsetTop!=null)return(scrollTop+this.unpin<=position.top)?false:'bottom' 1100return(scrollTop+targetHeight<=scrollHeight-offsetBottom)?false:'bottom'} 1101var initializing=this.affixed==null 1102var colliderTop=initializing?scrollTop:position.top 1103var colliderHeight=initializing?targetHeight:height 1104if(offsetTop!=null&&scrollTop<=offsetTop)return'top' 1105if(offsetBottom!=null&&(colliderTop+colliderHeight>=scrollHeight-offsetBottom))return'bottom' 1106return false} 1107Affix.prototype.getPinnedOffset=function(){if(this.pinnedOffset)return this.pinnedOffset 1108this.$element.removeClass(Affix.RESET).addClass('affix') 1109var scrollTop=this.$target.scrollTop() 1110var position=this.$element.offset() 1111return(this.pinnedOffset=position.top-scrollTop)} 1112Affix.prototype.checkPositionWithEventLoop=function(){setTimeout($.proxy(this.checkPosition,this),1)} 1113Affix.prototype.checkPosition=function(){if(!this.$element.is(':visible'))return 1114var height=this.$element.height() 1115var offset=this.options.offset 1116var offsetTop=offset.top 1117var offsetBottom=offset.bottom 1118var scrollHeight=Math.max($(document).height(),$(document.body).height()) 1119if(typeof offset!='object')offsetBottom=offsetTop=offset 1120if(typeof offsetTop=='function')offsetTop=offset.top(this.$element) 1121if(typeof offsetBottom=='function')offsetBottom=offset.bottom(this.$element) 1122var affix=this.getState(scrollHeight,height,offsetTop,offsetBottom) 1123if(this.affixed!=affix){if(this.unpin!=null)this.$element.css('top','') 1124var affixType='affix'+(affix?'-'+affix:'') 1125var e=$.Event(affixType+'.bs.affix') 1126this.$element.trigger(e) 1127if(e.isDefaultPrevented())return 1128this.affixed=affix 1129this.unpin=affix=='bottom'?this.getPinnedOffset():null 1130this.$element.removeClass(Affix.RESET).addClass(affixType).trigger(affixType.replace('affix','affixed')+'.bs.affix')} 1131if(affix=='bottom'){this.$element.offset({top:scrollHeight-height-offsetBottom})}} 1132function Plugin(option){return this.each(function(){var $this=$(this) 1133var data=$this.data('bs.affix') 1134var options=typeof option=='object'&&option 1135if(!data)$this.data('bs.affix',(data=new Affix(this,options))) 1136if(typeof option=='string')data[option]()})} 1137var old=$.fn.affix 1138$.fn.affix=Plugin 1139$.fn.affix.Constructor=Affix 1140$.fn.affix.noConflict=function(){$.fn.affix=old 1141return this} 1142$(window).on('load',function(){$('[data-spy="affix"]').each(function(){var $spy=$(this) 1143var data=$spy.data() 1144data.offset=data.offset||{} 1145if(data.offsetBottom!=null)data.offset.bottom=data.offsetBottom 1146if(data.offsetTop!=null)data.offset.top=data.offsetTop 1147Plugin.call($spy,data)})})}(jQuery); 1148 1149 1150/*=============================== 1151/rfk/plugins/system/t3/base-bs3/js/nav-collapse.js 1152================================================================================*/; 1153jQuery(document).ready(function($){$('.t3-navbar').each(function(){var $navwrapper=$(this),$menu=null,$placeholder=null;if($navwrapper.find('.t3-megamenu').length){$menu=$navwrapper.find('ul.level0').clone(),$placeholder=$navwrapper.prev('.navbar-collapse');if(!$placeholder.length){$placeholder=$navwrapper.closest('.container, .t3-mainnav').find('.navbar-collapse:empty');} 1154var lis=$menu.find('li[data-id]'),liactive=lis.filter('.current');lis.removeClass('mega dropdown mega-align-left mega-align-right mega-align-center mega-align-adjust');lis.each(function(){var $li=$(this),$child=$li.find('>:first-child');if($child[0].nodeName=='DIV'){$child.find('>:first-child').prependTo($li);$child.remove();} 1155if($li.data('hidewcol')){$child.find('.caret').remove();$child.nextAll().remove();return;} 1156var subul=$li.find('ul.level'+$li.data('level'));if(subul.length){$ul=$('<ul class="level'+$li.data('level')+' dropdown-menu">');subul.each(function(){if($(this).parents('.mega-col-nav').data('hidewcol'))return;$(this).find('>li').appendTo($ul);});if($ul.children().length){$ul.appendTo($li);}} 1157$li.find('>div').remove();if(!$li.children('ul').length){$child.find('.caret').remove();} 1158var divider=$li.hasClass('divider');for(var x in $li.data()){$li.removeAttr('data-'+x)} 1159$child.removeAttr('class');for(var x in $child.data()){$child.removeAttr('data-'+x)} 1160if(divider){$li.addClass('divider');}});liactive.addClass('current active');}else{$menu=$navwrapper.find('ul.nav').clone();$placeholder=$('.t3-navbar-collapse:empty, .navbar-collapse:empty').eq(0);} 1161$menu.find('a[data-toggle="dropdown"]').removeAttr('data-toggle').removeAttr('data-target');$menu.find('> li > ul.dropdown-menu').prev().attr('data-toggle','dropdown').attr('data-target','#').parent('li').addClass(function(){return'dropdown'+($(this).data('level')>1?' dropdown-submenu':'');});$menu.appendTo($placeholder);});}); 1162 1163 1164/*=============================== 1165/rfk/modules/mod_jalogin/assets/script_j4.js 1166================================================================================*/; 1167var jaboxes=[];var jaboxoverlay=null;showBox=function(box,focusobj,caller,e){var $=jQuery;if(!jaboxoverlay){jaboxoverlay=jQuery('<div/>',{id:"jabox-overlay"}).prependTo($('#'+box).parent());jaboxoverlay.css('opacity',0.01);jaboxoverlay.on('click',function(e){for(let box of jaboxes){if(box.status=='show'){box.status='hide';box.css('visibility','hidden');box.animate({opacity:0}
1167,400,function(){});if(box._caller)box._caller.removeClass('show');if($('#system-message')){$('#system-message').removeClass('alert');$('#system-message').removeClass('alert-error');$('#system-message').html('');} 1168if($('#system-message-container'))$('#system-message-container').css('display','block');}} 1169jaboxoverlay.css('display','none');});}else{jaboxoverlay.prependTo($('#'+box).parent());} 1170caller.blur();box=$('#'+box);if(!box)return;if($(caller))box._caller=$(caller);if(!$.contains(box,jaboxes)){jaboxes.push(box);} 1171if(box.css('display')=='none'){box.css({display:'block',opacity:0});} 1172if(box.status=='show'){box.status='hide';box.css('visibility','hidden');if(box._caller)box._caller.removeClass('show');jaboxoverlay.css('display','none');}else{for(let box1 of jaboxes){if(box1!=box&&box1.status=='show'){box1.status='hide';box1.css('visibility','hidden');box1.animate({opacity:0},400,function(){});if(box1._caller)box1._caller.removeClass('show');}} 1173box.status='show';box.css('visibility','visible');box.animate({opacity:1},400,function(){if($('#'+focusobj))$('#'+focusobj).focus();});if(box._caller)box._caller.addClass('show');jaboxoverlay.css('display','block');if($('#system-message-container'))$('#system-message-container').css('display','none');}}
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.