1/* Source and licensing information for the line(s) below can be found at https://dannybarnes.com/sites/all/modules/blockanimate/js/blockanimate.js. */ 2(function(n){n(document).ready(function(n){if(typeof WOW==='function'){new WOW().init()}})})(jQuery);; 3/* Source and licensing information for the above line(s) can be found at https://dannybarnes.com/sites/all/modules/blockanimate/js/blockanimate.js. */ 4;/*})'"*/ 5/* Source and licensing information for the line(s) below can be found at https://dannybarnes.com/sites/all/libraries/superfish/jquery.hoverIntent.minified.js. */ 6/** 7* hoverIntent r6 // 2011.02.26 // jQuery 1.5.1+ 8* <http://cherne.net/brian/resources/jquery.hoverIntent.html> 9* 10* @param f onMouseOver function || An object with configuration options 11* @param g onMouseOut function || Nothing (use configuration options object) 12* @author Brian Cherne brian(at)cherne(dot)net 13*/ 14(function($){$.fn.hoverIntent=function(f,g){var cfg={sensitivity:7,interval:100,timeout:0};cfg=$.extend(cfg,g?{over:f,out:g}:f);var cX,cY,pX,pY;var track=function(ev){cX=ev.pageX;cY=ev.pageY};var compare=function(ev,ob){ob.hoverIntent_t=clearTimeout(ob.hoverIntent_t);if((Math.abs(pX-cX)+Math.abs(pY-cY))<cfg.sensitivity){$(ob).unbind("mousemove",track);ob.hoverIntent_s=1;return cfg.over.apply(ob,[ev])}else{pX=cX;pY=cY;ob.hoverIntent_t=setTimeout(function(){compare(ev,ob)},cfg.interval)}};var delay=function(ev,ob){ob.hoverIntent_t=clearTimeout(ob.hoverIntent_t);ob.hoverIntent_s=0;return cfg.out.apply(ob,[ev])};var handleHover=function(e){var ev=jQuery.extend({},e);var ob=this;if(ob.hoverIntent_t){ob.hoverIntent_t=clearTimeout(ob.hoverIntent_t)}if(e.type=="mouseenter"){pX=ev.pageX;pY=ev.pageY;$(ob).bind("mousemove",track);if(ob.hoverIntent_s!=1){ob.hoverIntent_t=setTimeout(function(){compare(ev,ob)},cfg.interval)}}else{$(ob).unbind("mousemove",track);if(ob.hoverIntent_s==1){ob.hoverIntent_t=setTimeout(function(){delay(ev,ob)},cfg.timeout)}}};return this.bind('mouseenter',handleHover).bind('mouseleave',handleHover)}})(jQuery); 15;/*})'"*/ 16; 17/* Source and licensing information for the above line(s) can be found at https://dannybarnes.com/sites/all/libraries/superfish/jquery.hoverIntent.minified.js. */ 18;/*})'"*/ 19/* Source and licensing information for the line(s) below can be found at https://dannybarnes.com/sites/all/libraries/superfish/sfsmallscreen.js. */ 20(function(e){e.fn.sfsmallscreen=function(n){n=e.extend({mode:'inactive',type:'accordion',breakpoint:768,breakpointUnit:'px',useragent:'',title:'',addSelected:!1,menuClasses:!1,hyperlinkClasses:!1,excludeClass_menu:'',excludeClass_hyperlink:'',includeClass_menu:'',includeClass_hyperlink:'',accordionButton:1,expandText:'Expand',collapseText:'Collapse'},n);function f(e){var n=e.clone(),c=n.find('span.sf-sub-indicator, span.sf-description'),o=n.find('.sf-smallscreen-remove'),f=n.find('ul.sf-megamenu');for(var i=0;i<o.length;i++){o.eq(i).replaceWith(o.eq(i).html())};for(var d=0;d<c.length;d++){c.eq(d).remove()};if(f.length>0){f.removeClass('sf-megamenu');var t=n.find('div.sf-megamenu-column > ol');for(var a=0;a<t.length;a++){t.eq(a).replaceWith('<ul>'+t.eq(a).html()+'</ul>')};var r=['div.sf-megamenu-column','.sf-megamenu-wrapper > ol','li.sf-megamenu-wrapper'];for(var l=0;l<r.length;l++){obj=n.find(r[l]);for(var s=0;s<obj.length;s++){obj.eq(s).replaceWith(obj.eq(s).html())}};n.find('.sf-megamenu-column').removeClass('sf-megamenu-column')};n.add(n.find('*')).css({width:''});return n};function o(s,t){var f='',p=e(s).children('li');for(var c=0;c<p.length;c++){var u=p.eq(c),h=u.children('a, span');for(var r=0;r<h.length;r++){var a=h.eq(r),m=a.is('a')?a.attr('href'):'',i=a.clone(),l=(n.hyperlinkClasses)?((n.excludeClass_hyperlink&&i.hasClass(n.excludeClass_hyperlink))?i.removeClass(n.excludeClass_hyperlink).attr('class'):i.attr('class')):'',l=(n.includeClass_hyperlink&&!i.hasClass(n.includeClass_hyperlink))?((n.hyperlinkClasses)?i.addClass(n.includeClass_hyperlink).attr('class'):n.includeClass_hyperlink):l;if(n.addSelected&&a.hasClass('active')){l+=' active'};disable=a.is('span')||a.attr('href')=='#'?' disabled="disabled"':'',subIndicator=1<t?Array(t).join('-')+' ':'';f+='<option value="'+m+'" class="'+l+'"'+disable+'>'+subIndicator+e.trim(a.text())+'</option>',childUL=u.find('> ul');for(var d=0;d<childUL.length;d++){f+=o(childUL.eq(d),t+1)}}};return f};function a(s){var d=s.attr('id'),m=f(s);if(n.type=='accordion'){var p=d+'-toggle',u=d+'-accordion';if(e('#'+u).length==0){var b=s.attr('class').split(' ').filter(function(e){return e.indexOf('sf-style-')>-1?e:''}),l=e(m).attr('id',u);l.removeClass('sf-horizontal sf-vertical sf-navbar sf-shadow sf-js-enabled');l.addClass('sf-accordion sf-hidden');l.children('li').removeAttr('style').removeClass('sfHover');l.find('ul').removeAttr('style').not('.sf-hidden').addClass('sf-hidden');var x='<div class="sf-accordion-toggle '+b+'"><a href="#" id="'+p+'"><span>'+n.title+'</span></a></div>';if(n.accordionButton==2){var h=l.find('li.menuparent');for(var c=0;c<h.length;c++){h.eq(c).prepend('<a href="#" class="sf-accordion-button">'+n.expandText+'</a>')}};s.before(x).before(l).hide();var i=e('#'+u),C=(n.accordionButton<2)?'a.menuparent,span.nolink.menuparent':'a.sf-accordion-button',g=i.find(C);e('#'+p).bind('click',function(s){s.preventDefault();e(this).toggleClass('sf-expanded');if(i.hasClass('sf-expanded')){i.add(i.find('li.sf-expanded')).removeClass('sf-expanded').end().find('ul').hide().end().hide().addClass('sf-hidden').show();if(n.accordionButton==2){i.find('a.sf-accordion-button').text(n.expandText)}} 21else{i.addClass('sf-expanded').hide().removeClass('sf-hidden').show()}});g.bind('click',function(s){if(e(this).closest('li').children('ul').length>0){s.preventDefault();var a=e(this).closest('li');if(n.accordionButton==1&&a.children('a.menuparent,span.nolink.menuparent').length>0&&a.children('ul').children('li.sf-clone-parent').length==0){var i=a.children('a.menuparent,span.nolink.menuparent').clone(),i=e('<li class="sf-clone-parent" />').html(i);a.children('ul').addClass('sf-has-clone-parent').prepend(i)};if(a.hasClass('sf-expanded')){a.children('ul').slideUp('fast',function(){e(this).closest('li').removeClass('sf-expanded').end().addClass('sf-hidden').show()});if(n.accordionButton==2&&a.children('.sf-accordion-button').length>0){a.children('.sf-accordion-button').text(n.expandText)}} 22else{a.children('ul').hide().removeClass('sf-hidden').slideDown('fast').end().addClass('sf-expanded').children('a.sf-accordion-button').text(n.collapseText).end().siblings('li.sf-expanded').children('ul').slideUp('fast',function(){e(this).closest('li').removeClass('sf-expanded').end().addClass('sf-hidden').show()}).parent().children('a.sf-accordion-button').text(n.expandText)}}})}} 23else{var t=s.clone(),a=(n.menuClasses)?((n.excludeClass_menu&&t.hasClass(n.excludeClass_menu))?t.removeClass(n.excludeClass_menu).attr('class'):t.attr('class')):'',a=(n.includeClass_menu&&!t.hasClass(n.includeClass_menu))?((n.menuClasses)?t.addClass(n.includeClass_menu).attr('class'):n.includeClass_menu):a,a=(a)?' class="'+a+'"':'';if(e('#'+d+'-select').length==0){var v=o(m,1),r=e('<select'+a+' id="'+d+'-select"/>').html('<option>'+n.title+'</option>'+v).change(function(){if(e('option:selected',this).index()){window.location=r.val()}});if(n.addSelected){r.find('.active').attr('selected',!0)};s.before(r).hide()}}};function u(s){var a='#'+s.attr('id');e(a+'-'+n.type).remove();if(n.type=='accordion'){e(a+'-toggle').parent('div').remove()};e(a).show()};for(var t=0;t<this.length;t++){var s=e(this).eq(t),l=n.mode;if(l=='always_active'){a(s)} 24else if(l=='window_width'){var i=(n.breakpointUnit=='em')?(n.breakpoint*parseFloat(e('body').css('font-size'))):n.breakpoint,c=window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,d;if((typeof Modernizr==='undefined'||typeof Modernizr.mq!=='function')&&c<i){a(s)} 25else if(typeof Modernizr!=='undefined'&&typeof Modernizr.mq==='function'&&Modernizr.mq('(max-width:'+(i-1)+'px)')){a(s)};e(window).resize(function(){clearTimeout(d);d=setTimeout(function(){var e=window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth;if((typeof Modernizr==='undefined'||typeof Modernizr.mq!=='function')&&e<i){a(s)} 26else if(typeof Modernizr!=='undefined'&&typeof Modernizr.mq==='function'&&Modernizr.mq('(max-width:'+(i-1)+'px)')){a(s)} 27else{u(s)}},50)})} 28else if(l=='useragent_custom'){if(n.useragent!=''){var r=RegExp(n.useragent,'i');if(navigator.userAgent.match(r)){a(s)}}} 29else if(l=='useragent_predefined'&&navigator.userAgent.match(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od|ad)|iris|kindle|lge |maemo|midp|mmp|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i)){a(s)}};return this}})(jQuery);; 30/* Source and licensing information for the above line(s) can be found at https://dannybarnes.com/sites/all/libraries/superfish/sfsmallscreen.js. */ 31;/*})'"*/ 32/* Source and licensing information for the line(s) below can be found at https://dannybarnes.com/sites/all/libraries/superfish/supposition.js. */ 33(function(s){s.fn.supposition=function(){var t=s(window),e=function(s){return window[s=='y'?'pageYOffset':'pageXOffset']||document.documentElement&&document.documentElement[s=='y'?'scrollTop':'scrollLeft']||document.body[s=='y'?'scrollTop':'scrollLeft']},o=function(){this.css({bottom:''})},i=function(){this.each(function(){var o=s(this);o.css('display','block');var i=o.closest('.sf-menu'),n=o.parents('ul').length,l=o.width(),a=o.closest('li').outerWidth(!0),f=o.closest('li').offset().left,b=t.width()+e('x'),c=o.offset().left+l,w=(c>(a+f))?l-(c-(a+f)):l;if(o.parents('.sf-js-enabled').hasClass('rtl')){if(f<w){if((i.hasClass('sf-horizontal')&&n==1)||(i.hasClass('sf-navbar')&&n==2)){o.css({left:0,right:'auto'})} 34else{o.css({left:a+'px',right:'auto'})}}} 35else{if(c>b&&f>l){if((i.hasClass('sf-horizontal')&&n==1)||(i.hasClass('sf-navbar')&&n==2)){o.css({right:0,left:'auto'})} 36else{o.css({right:a+'px',left:'auto'})}}};var d=t.height(),h=o.offset().top,r=(i.hasClass('sf-shadow')&&o.css('padding-bottom').length>0)?parseInt(o.css('padding-bottom').slice(0,-2)):0,p=(i.hasClass('sf-vertical'))?'-'+r:o.parent().outerHeight(!0)-r,u=o.height(),g=d+e('y'),m=((h+u>g)&&(h>u));if(m){o.css({bottom:p+'px',top:'auto'})};o.css('display','none')})};return this.each(function(){var t=s.fn.superfish.o[this.serial],e=t.onBeforeShow,n=t.onHide;s.extend(s.fn.superfish.o[this.serial],{onBeforeShow:function(){i.call(this);e.call(this)},onHide:function(){o.call(this);n.call(this)}})})}})(jQuery);; 37/* Source and licensing information for the above line(s) can be found at https://dannybarnes.com/sites/all/libraries/superfish/supposition.js. */ 38;/*})'"*/ 39/* Source and licensing information for the line(s) below can be found at https://dannybarnes.com/sites/all/libraries/superfish/superfish.js. */ 40(function(s){s.fn.superfish=function(e){var a=s.fn.superfish,i=a.c,l=s(['<span class="',i.arrowClass,'"> »</span>'].join('')),n=function(){var a=s(this),i=r(a);clearTimeout(i.sfTimer);a.showSuperfishUl().siblings().hideSuperfishUl()},o=function(){var e=s(this),o=r(e),i=a.op;clearTimeout(o.sfTimer);o.sfTimer=setTimeout(function(){if(e.children('.sf-clicked').length==0){i.retainPath=(s.inArray(e[0],i.$path)>-1);e.hideSuperfishUl();if(i.$path.length&&e.parents(['li.',i.hoverClass].join('')).length<1){n.call(i.$path)}}},i.delay)},r=function(s){var e=s.parents(['ul.',i.menuClass,':first'].join(''))[0];a.op=a.o[e.serial];return e},t=function(s){s.addClass(i.anchorClass).append(l.clone())};return this.each(function(){var f=this.serial=a.o.length,r=s.extend({},a.defaults,e);r.$path=s('li.'+r.pathClass,this).slice(0,r.pathLevels),p=r.$path;for(var h=0;h<p.length;h++){p.eq(h).addClass([r.hoverClass,i.bcClass].join(' ')).filter('li:has(ul)').removeClass(r.pathClass)};a.o[f]=a.op=r;s('li:has(ul)',this)[(s.fn.hoverIntent&&!r.disableHI)?'hoverIntent':'hover'](n,o).each(function(){if(r.autoArrows)t(s(this).children('a:first-child, span.nolink:first-child'))}).not('.'+i.bcClass).hideSuperfishUl();var l=s('a, span.nolink',this);l.each(function(s){var a=l.eq(s).parents('li');l.eq(s).focus(function(){n.call(a)}).blur(function(){o.call(a)})});r.onInit.call(this)}).each(function(){var e=[i.menuClass],n=!0;if(s.browser!==undefined){if(s.browser.msie&&s.browser.version<7){n=!1}};if(a.op.dropShadows&&n){e.push(i.shadowClass)};s(this).addClass(e.join(' '))})};var a=s.fn.superfish;a.o=[];a.op={};a.IE7fix=function(){var i=a.op;if(s.browser!==undefined){if(s.browser.msie&&s.browser.version>
406&&i.dropShadows&&i.animation.opacity!=undefined){this.toggleClass(a.c.shadowClass+'-off')}}};a.c={bcClass:'sf-breadcrumb',menuClass:'sf-js-enabled',anchorClass:'sf-with-ul',arrowClass:'sf-sub-indicator',shadowClass:'sf-shadow'};a.defaults={hoverClass:'sfHover',pathClass:'overideThisToUse',pathLevels:1,delay:800,animation:{opacity:'show'},speed:'fast',autoArrows:!0,dropShadows:!0,disableHI:!1,onInit:function(){},onBeforeShow:function(){},onShow:function(){},onHide:function(){}};s.fn.extend({hideSuperfishUl:function(){var i=a.op,n=(i.retainPath===!0)?i.$path:'';i.retainPath=!1;var e=s(['li.',i.hoverClass].join(''),this).add(this).not(n).removeClass(i.hoverClass).children('ul').addClass('sf-hidden');i.onHide.call(e);return this},showSuperfishUl:function(){var s=a.op,e=a.c.shadowClass+'-off',i=this.addClass(s.hoverClass).children('ul.sf-hidden').hide().removeClass('sf-hidden');a.IE7fix.call(i);s.onBeforeShow.call(i);i.animate(s.animation,s.speed,function(){a.IE7fix.call(i);s.onShow.call(i)});return this}})})(jQuery);; 41/* Source and licensing information for the above line(s) can be found at https://dannybarnes.com/sites/all/libraries/superfish/superfish.js. */ 42;/*})'"*/ 43/* Source and licensing information for the line(s) below can be found at https://dannybarnes.com/sites/all/libraries/superfish/supersubs.js. */ 44(function(e){e.fn.supersubs=function(s){var o=e.extend({},e.fn.supersubs.defaults,s);for(var h=0;h<this.length;h++){var a=e(this).eq(h),i=e.meta?e.extend({},o,a.data()):o;if(a.hasClass('sf-navbar')){a=a.children('li').children('ul')};var u=a.find('ul'),m=e('<li id="menu-fontsize">—</li>'),p=m.attr('style','padding:0;position:absolute;top:-99999em;width:auto;').appendTo(a)[0].clientWidth;m.remove();for(var l=0;l<u.length;l++){var t=u.eq(l);if(i.megamenu&&t.hasClass('sf-megamenu')&&t.find('.sf-megamenu-column').length>0){var n=t.find('div.sf-megamenu-column > ol'),f=0;for(var r=0;r<n.length;r++){c(n.eq(r));var d=n.width();n.css({width:d}).parents('.sf-megamenu-column').css({width:d});f+=parseInt(d)};t.add(t.find('li.sf-megamenu-wrapper, li.sf-megamenu-wrapper > ol')).css({width:f})} 45else{c(t)}}};function c(t){var a=t.children(),d=a.children('a');a.css('white-space','nowrap');t.add(a).add(d).css({float:'none',width:'auto'});var e=t.get(0).clientWidth/p;e+=i.extraWidth;if(e>i.maxWidth){e=i.maxWidth} 46else if(e<i.minWidth){e=i.minWidth};e+='em';t.css({width:e});a.add(d).css({float:'',width:'',whiteSpace:''});for(var n=0;n<a.length;n++){var s=a.eq(n).children('ul'),r=s.css('left')!==undefined?'left':'right';s.css(r,'100%')}};return this};e.fn.supersubs.defaults={megamenu:!0,minWidth:12,maxWidth:27,extraWidth:1}})(jQuery);; 47/* Source and licensing information for the above line(s) can be found at https://dannybarnes.com/sites/all/libraries/superfish/supersubs.js. */ 48;/*})'"*/ 49/* Source and licensing information for the line(s) below can be found at https://dannybarnes.com/sites/all/modules/superfish/superfish.js. */ 50(function(s){Drupal.behaviors.superfish={attach:function(i,u){s.each(u.superfish||{},function(n,u){s('#superfish-'+u.id,i).once('superfish',function(){var i=s(this);if(u.plugins||!1){if(u.plugins.supersubs||!1){i.supersubs(u.plugins.supersubs)}};i.superfish(u.sf);if(u.plugins||!1){if(u.plugins.touchscreen||!1){i.sftouchscreen(u.plugins.touchscreen)};if(u.plugins.smallscreen||!1){i.sfsmallscreen(u.plugins.smallscreen)};if(u.plugins.automaticwidth||!1){i.sfautomaticwidth()};if(u.plugins.supposition||!1){i.supposition()};if(u.plugins.bgiframe||!1){i.find('ul').bgIframe({opacity:!1})}}})})}}})(jQuery);; 51/* Source and licensing information for the above line(s) can be found at https://dannybarnes.com/sites/all/modules/superfish/superfish.js. */ 52;/*})'"*/ 53/* Source and licensing information for the line(s) below can be found at https://dannybarnes.com/sites/all/themes/professional_theme/js/custom.js. */ 54;jQuery(document).ready(function(n){n('.nav-toggle').click(function(){n('#main-menu div ul:first-child').slideToggle(250);return!1});if((n(window).width()>640)||(n(document).width()>640)){n('#main-menu li').mouseenter(function(){n(this).children('ul').css('display','none').stop(!0,!0).slideToggle(250).css('display','block').children('ul').css('display','none')});n('#main-menu li').mouseleave(function(){n(this).children('ul').stop(!0,!0).fadeOut(250).css('display','block')})} 55else{n('#main-menu li').each(function(){if(n(this).children('ul').length)n(this).append('<span class="drop-down-toggle"><span class="drop-down-arrow"></span></span>')});n('.drop-down-toggle').click(function(){n(this).parent().children('ul').slideToggle(250)})}});; 56/* Source and licensing information for the above line(s) can be found at https://dannybarnes.com/sites/all/themes/professional_theme/js/custom.js. */ 57;/*})'"*/ 58/* 59 * jQuery FlexSlider v1.7 60 * http://flex.madebymufffin.com 61 * Copyright 2011, Tyler Smith 62 * Free to use under the MIT license. 63 */ 64(function(a){a.flexslider=function(c,b){var d=c;d.init=function(){d.vars=a.extend({},a.flexslider.defaults,b);d.data("flexslider",true);d.container=a(".slides",d);d.slides=a(".slides > li",d);d.count=d.slides.length;d.animating=false;d.currentSlide=d.vars.slideToStart;d.animatingTo=d.currentSlide;d.atEnd=(d.currentSlide==0)?true:false;d.eventType=("ontouchstart" in document.documentElement)?"touchstart":"click";d.cloneCount=0;d.cloneOffset=0;if(d.vars.controlsContainer!=""){d.controlsContainer=a(d.vars.controlsContainer).eq(a(".slides").index(d.c
64ontainer));d.containerExists=d.controlsContainer.length>0}if(d.vars.manualControls!=""){d.manualControls=a(d.vars.manualControls,((d.containerExists)?d.controlsContainer:d));d.manualExists=d.manualControls.length>0}if(d.vars.randomize){d.slides.sort(function(){return(Math.round(Math.random())-0.5)});d.container.empty().append(d.slides)}if(d.vars.animation.toLowerCase()=="slide"){d.css({overflow:"hidden"});if(d.vars.animationLoop){d.cloneCount=2;d.cloneOffset=1;d.container.append(d.slides.filter(":first").clone().addClass("clone")).prepend(d.slides.filter(":last").clone().addClass("clone"))}d.container.width(((d.count+d.cloneCount)*d.width())+2000);d.newSlides=a(".slides > li",d);setTimeout(function(){d.newSlides.width(d.width()).css({"float":"left"}).show()},100);d.container.css({marginLeft:(-1*(d.currentSlide+d.cloneOffset))*d.width()+"px"})}else{d.slides.css({width:"100%","float":"left",marginRight:"-100%"}).eq(d.currentSlide).fadeIn(400)}if(d.vars.controlNav){if(d.manualExists){d.controlNav=d.manualControls}else{var g=a('<ol class="flex-control-nav"></ol>');var k=1;for(var l=0;l<d.count;l++){g.append("<li><a>"+k+"</a></li>");k++}if(d.containerExists){a(d.controlsContainer).append(g);d.controlNav=a(".flex-control-nav li a",d.controlsContainer)}else{d.append(g);d.controlNav=a(".flex-control-nav li a",d)}}d.controlNav.eq(d.currentSlide).addClass("active");d.controlNav.bind(d.eventType,function(i){i.preventDefault();if(!a(this).hasClass("active")){d.flexAnimate(d.controlNav.index(a(this)),d.vars.pauseOnAction)}})}if(d.vars.directionNav){var f=a('<ul class="flex-direction-nav"><li><a class="prev" href="#">'+d.vars.prevText+'</a></li><li><a class="next" href="#">'+d.vars.nextText+"</a></li></ul>");if(d.containerExists){a(d.controlsContainer).append(f);d.directionNav=a(".flex-direction-nav li a",d.controlsContainer)}else{d.append(f);d.directionNav=a(".flex-direction-nav li a",d)}if(!d.vars.animationLoop){if(d.currentSlide==0){d.directionNav.filter(".prev").addClass("disabled")}else{if(d.currentSlide==d.count-1){d.directionNav.filter(".next").addClass("disabled")}}}d.directionNav.bind(d.eventType,function(i){i.preventDefault();var j=(a(this).hasClass("next"))?d.getTarget("next"):d.getTarget("prev");if(d.canAdvance(j)){d.flexAnimate(j,d.vars.pauseOnAction)}})}if(d.vars.keyboardNav&&a("ul.slides").length==1){a(document).keyup(function(i){if(d.animating){return}else{if(i.keyCode!=39&&i.keyCode!=37){return}else{if(i.keyCode==39){var j=d.getTarget("next")}else{if(i.keyCode==37){var j=d.getTarget("prev")}}if(d.canAdvance(j)){d.flexAnimate(j,d.vars.pauseOnAction)}}}})}if(d.vars.slideshow){if(d.vars.pauseOnHover&&d.vars.slideshow){d.hover(function(){d.pause()},function(){d.resume()})}d.animatedSlides=setInterval(d.animateSlides,d.vars.slideshowSpeed)}if(d.vars.pausePlay){var e=a('<div class="flex-pauseplay"><span></span></div>');if(d.containerExists){d.controlsContainer.append(e);d.pausePlay=a(".flex-pauseplay span",d.controlsContainer)}else{d.append(e);d.pausePlay=a(".flex-pauseplay span",d)}var h=(d.vars.slideshow)?"pause":"play";d.pausePlay.addClass(h).text(h);d.pausePlay.click(function(i){i.preventDefault();(a(this).hasClass("pause"))?d.pause():d.resume()})}if(d.vars.touchSwipe&&"ontouchstart" in document.documentElement){d.each(function(){var i,j=20;isMoving=false;function o(){this.removeEventListener("touchmove",m);i=null;isMoving=false}function m(s){if(isMoving){var p=s.touches[0].pageX,q=i-p;if(Math.abs(q)>=j){o();var r=(q>0)?d.getTarget("next"):d.getTarget("prev");if(d.canAdvance(r)){d.flexAnimate(r,d.vars.pauseOnAction)}}}}function n(p){if(p.touches.length==1){i=p.touches[0].pageX;isMoving=true;this.addEventListener("touchmove",m,false)}}if("ontouchstart" in document.documentElement){this.addEventListener("touchstart",n,false)}})}if(d.vars.animation.toLowerCase()=="slide"){d.sliderTimer;a(window).resize(function(){d.newSlides.width(d.width());d.container.width(((d.count+d.cloneCount)*d.width())+2000);clearTimeout(d.sliderTimer);d.sliderTimer=setTimeout(function(){d.flexAnimate(d.currentSlide)},300)})}d.vars.start(d)};d.flexAnimate=function(f,e){if(!d.animating){d.animating=true;if(e){d.pause()}if(d.vars.controlNav){d.controlNav.removeClass("active").eq(f).addClass("active")}d.atEnd=(f==0||f==d.count-1)?true:false;
64if(!d.vars.animationLoop){if(f==0){d.directionNav.removeClass("disabled").filter(".prev").addClass("disabled")}else{if(f==d.count-1){d.directionNav.removeClass("disabled").filter(".next").addClass("disabled");d.pause();d.vars.end(d)}else{d.directionNav.removeClass("disabled")}}}d.animatingTo=f;d.vars.before(d);if(d.vars.animation.toLowerCase()=="slide"){if(d.currentSlide==0&&f==d.count-1&&d.vars.animationLoop){d.slideString="0px"}else{if(d.currentSlide==d.count-1&&f==0&&d.vars.animationLoop){d.slideString=(-1*(d.count+1))*d.slides.filter(":first").width()+"px"}else{d.slideString=(-1*(f+d.cloneOffset))*d.slides.filter(":first").width()+"px"}}d.container.animate({marginLeft:d.slideString},d.vars.animationDuration,function(){if(d.currentSlide==0&&f==d.count-1&&d.vars.animationLoop){d.container.css({marginLeft:(-1*d.count)*d.slides.filter(":first").width()+"px"})}else{if(d.currentSlide==d.count-1&&f==0&&d.vars.animationLoop){d.container.css({marginLeft:-1*d.slides.filter(":first").width()+"px"})}}d.animating=false;d.currentSlide=f;d.vars.after(d)})}else{d.slides.eq(d.currentSlide).fadeOut(d.vars.animationDuration);d.slides.eq(f).fadeIn(d.vars.animationDuration,function(){d.animating=false;d.currentSlide=f;d.vars.after(d)})}}};d.animateSlides=function(){if(!d.animating){var e=(d.currentSlide==d.count-1)?0:d.currentSlide+1;d.flexAnimate(e)}};d.pause=function(){clearInterval(d.animatedSlides);if(d.vars.pausePlay){d.pausePlay.removeClass("pause").addClass("play").text("play")}};d.resume=function(){d.animatedSlides=setInterval(d.animateSlides,d.vars.slideshowSpeed);if(d.vars.pausePlay){d.pausePlay.removeClass("play").addClass("pause").text("pause")}};d.canAdvance=function(e){if(!d.vars.animationLoop&&d.atEnd){if(d.currentSlide==0&&e==d.count-1&&d.direction!="next"){return false}else{if(d.currentSlide==d.count-1&&e==0&&d.direction=="next"){return false}else{return true}}}else{return true}};d.getTarget=function(e){d.direction=e;if(e=="next"){return(d.currentSlide==d.count-1)?0:d.currentSlide+1}else{return(d.currentSlide==0)?d.count-1:d.currentSlide-1}};d.init()};a.flexslider.defaults={animation:"fade",slideshow:true,slideshowSpeed:7000,animationDuration:600,directionNav:true,controlNav:true,keyboardNav:true,touchSwipe:true,prevText:"Previous",nextText:"Next",pausePlay:false,randomize:false,slideToStart:0,animationLoop:true,pauseOnAction:true,pauseOnHover:false,controlsContainer:"",manualControls:"",start:function(){},before:function(){},after:function(){},end:function(){}};a.fn.flexslider=function(b){return this.each(function(){if(a(this).find(".slides li").length==1){a(this).find(".slides li").fadeIn(400)}else{if(a(this).data("flexslider")!=true){new a.flexslider(a(this),b)}}})}})(jQuery); 65;/*})'"*/ 66;/*})'"*/ 67/* Source and licensing information for the line(s) below can be found at https://dannybarnes.com/sites/all/themes/professional_theme/js/slide.js. */ 68;jQuery(document).ready(function(e){e('#slider').flexslider({directionNav:!1,keyboardNav:!1})});; 69/* Source and licensing information for the above line(s) can be found at https://dannybarnes.com/sites/all/themes/professional_theme/js/slide.js. */ 70;/*})'"*/
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.