1/* Source and licensing information for the line(s) below can be found at https://laketahoethisweek.com/misc/jquery-extend-3.4.0.js. */ 2(function(e){var n=e.fn.jquery.split('.'),t=parseInt(n[0]),i=parseInt(n[1]),r=parseInt(n[2]),f=(r.toString()!==n[2]);if((t>3)||(t===3&&i>4)||(t===3&&i===4&&r>0)||(t===3&&i===4&&r===0&&!f)){return};e.extend=e.fn.extend=function(){var o,r,f,t,a,s,n=arguments[0]||{},i=1,l=arguments.length,u=!1;if(typeof n==='boolean'){u=n;n=arguments[i]||{};i++};if(typeof n!=='object'&&!e.isFunction(n)){n={}};if(i===l){n=this;i--};for(;i<l;i++){if((o=arguments[i])!=null){for(r in o){t=o[r];if(r==='__proto__'||n===t){continue};if(u&&t&&(e.isPlainObject(t)||(a=e.isArray(t)))){f=n[r];if(a&&!e.isArray(f)){s=[]} 3else if(!a&&!e.isPlainObject(f)){s={}} 4else{s=f};a=!1;n[r]=e.extend(u,s,t)} 5else if(t!==undefined){n[r]=t}}}};return n}})(jQuery);; 6/* Source and licensing information for the above line(s) can be found at https://laketahoethisweek.com/misc/jquery-extend-3.4.0.js. */;/*})'"*/ 7/* Source and licensing information for the line(s) below can be found at https://laketahoethisweek.com/misc/jquery-html-prefilter-3.5.0-backport.js. */ 8(function(t){var o=t.fn.jquery.split('.'),e=parseInt(o[0]),r=parseInt(o[1]);if((e>3)||(e===3&&r>=5)){return};var p=['a','abbr','address','article','aside','audio','b','bdi','bdo','blockquote','button','canvas','caption','cite','code','data','datalist','dd','del','details','dfn','div','dl','dt','em','fieldset','figcaption','figure','footer','form','h1','h2','h3','h4','h5','h6','header','hgroup','i','ins','kbd','label','legend','li','main','map','mark','menu','meter','nav','ol','optgroup','option','output','p','picture','pre','progress','q','rp','rt','ruby','s','samp','section','select','small','source','span','strong','sub','summary','sup','table','tbody','td','tfoot','th','thead','time','tr','u','ul','var','video'],i='('+p.join('|')+')',c='[\\x20\\t\\r\\n\\f]',s=new RegExp('<'+i+'\\/>','gi'),b=new RegExp('<'+i+'('+c+'[^>]*)\\/>','gi'),a;if(e<3){a=/<([\w:]+)/} 9else if(r<4){a=/<([a-z][^\/\0>\x20\t\r\n\f]+)/i} 10else{a=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i};var f=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi;t.extend({htmlPrefilter:function(t){var i=(a.exec(t)||['',''])[1].toLowerCase();if((i==='option'||i==='optgroup')&&t.match(/<\/?select/i)){t=''};t=t.replace(s,'<$1></$1>');t=t.replace(b,'<$1$2></$1>');if((e===1&&r<12)||(e===2&&r<2)){var p=t.replace(f,'<$1></$2>');if(p!==t){var n={thead:[1,'<table>','</table>'],col:[2,'<table><colgroup>','</colgroup></table>'],tr:[2,'<table><tbody>','</tbody></table>'],td:[3,'<table><tbody><tr>','</tr></tbody></table>'],};n.tbody=n.tfoot=n.colgroup=n.caption=n.thead;n.th=n.td;var o=function(t){var e=n[i];if(e){t=e[1]+t+e[2]};return t},l=function(t){var e=window.document.implementation.createHTMLDocument('');e.body.innerHTML=t;return e.body?e.body.innerHTML:''},d=l(o(t)),u=l(o(p));if(u===''||d===''||(u!==d)){t=''}}};return t}});if((e===1&&r<12)||(e===2&&r<2)){var u=t.fn.html;t.fn.extend({html:function(e){if(typeof e==='string'){e=t.htmlPrefilter(e)};return u.apply(this,arguments.length?[e]:[])}});var n=/<|&#?\w+;/;if(e===1&&r<9){var d=t.clean;t.extend({'clean':function(e,i,o,l){for(var a=0,r;(r=e[a])!=null;a++){if(typeof r==='string'&&n.test(r)){e[a]=r=t.htmlPrefilter(r)}};return d.call(this,e,i,o,l)}})} 11else{var l=t.buildFragment;t.extend({'buildFragment':function(e,i,o,d){var u=e.length;for(var a=0;a<u;a++){var r=e[a];if(r||r===0){if(t.type(r)!=='object'&&n.test(r)){e[a]=r=t.htmlPrefilter(r)}}};return l.call(this,e,i,o,d)}})}}})(jQuery);; 12/* Source and licensing information for the above line(s) can be found at https://laketahoethisweek.com/misc/jquery-html-prefilter-3.5.0-backport.js. */;/*})'"*/ 13/* Source and licensing information for the line(s) below can be found at https://laketahoethisweek.com/profiles/oneboat/modules/contrib/views_slideshow/js/views_slideshow.js. */ 14(function(e){Drupal.viewsSlideshow=Drupal.viewsSlideshow||{};Drupal.viewsSlideshowControls=Drupal.viewsSlideshowControls||{};Drupal.viewsSlideshowControls.play=function(e){try{if(typeof Drupal.settings.viewsSlideshowControls[e.slideshowID].top.type!='undefined'&&typeof Drupal[Drupal.settings.viewsSlideshowControls[e.slideshowID].top.type].play=='function'){Drupal[Drupal.settings.viewsSlideshowControls[e.slideshowID].top.type].play(e)}}catch(s){};try{if(typeof Drupal.settings.viewsSlideshowControls[e.slideshowID].bottom.type!='undefined'&&typeof Drupal[Drupal.settings.viewsSlideshowControls[e.slideshowID].bottom.type].play=='function'){Drupal[Drupal.settings.viewsSlideshowControls[e.slideshowID].bottom.type].play(e)}}catch(s){}};Drupal.viewsSlideshowControls.pause=function(e){try{if(typeof Drupal.settings.viewsSlideshowControls[e.slideshowID].top.type!='undefined'&&typeof Drupal[Drupal.settings.viewsSlideshowControls[e.slideshowID].top.type].pause=='function'){Drupal[Drupal.settings.viewsSlideshowControls[e.slideshowID].top.type].pause(e)}}catch(s){};try{if(typeof Drupal.settings.viewsSlideshowControls[e.slideshowID].bottom.type!='undefined'&&typeof Drupal[Drupal.settings.viewsSlideshowControls[e.slideshowID].bottom.type].pause=='function'){Drupal[Drupal.settings.viewsSlideshowControls[e.slideshowID].bottom.type].pause(e)}}catch(s){}};Drupal.behaviors.viewsSlideshowControlsText={attach:function(s){e('.views_slideshow_controls_text_previous:not(.views-sli
14deshow-controls-text-previous-processed)',s).addClass('views-slideshow-controls-text-previous-processed').each(function(){var s=e(this).attr('id').replace('views_slideshow_controls_text_previous_','');e(this).click(function(){Drupal.viewsSlideshow.action({'action':'previousSlide','slideshowID':s});return!1})});e('.views_slideshow_controls_text_next:not(.views-slideshow-controls-text-next-processed)',s).addClass('views-slideshow-controls-text-next-processed').each(function(){var s=e(this).attr('id').replace('views_slideshow_controls_text_next_','');e(this).click(function(){Drupal.viewsSlideshow.action({'action':'nextSlide','slideshowID':s});return!1})});e('.views_slideshow_controls_text_pause:not(.views-slideshow-controls-text-pause-processed)',s).addClass('views-slideshow-controls-text-pause-processed').each(function(){var s=e(this).attr('id').replace('views_slideshow_controls_text_pause_','');e(this).click(function(){if(Drupal.settings.viewsSlideshow[s].paused){Drupal.viewsSlideshow.action({'action':'play','slideshowID':s,'force':!0})} 15else{Drupal.viewsSlideshow.action({'action':'pause','slideshowID':s,'force':!0})};return!1})})}};Drupal.viewsSlideshowControlsText=Drupal.viewsSlideshowControlsText||{};Drupal.viewsSlideshowControlsText.pause=function(s){var i=Drupal.theme.prototype['viewsSlideshowControlsPause']?Drupal.theme('viewsSlideshowControlsPause'):'';e('#views_slideshow_controls_text_pause_'+s.slideshowID+' a').text(i);e('#views_slideshow_controls_text_pause_'+s.slideshowID).removeClass('views-slideshow-controls-text-status-play');e('#views_slideshow_controls_text_pause_'+s.slideshowID).addClass('views-slideshow-controls-text-status-pause')};Drupal.viewsSlideshowControlsText.play=function(s){var i=Drupal.theme.prototype['viewsSlideshowControlsPlay']?Drupal.theme('viewsSlideshowControlsPlay'):'';e('#views_slideshow_controls_text_pause_'+s.slideshowID+' a').text(i);e('#views_slideshow_controls_text_pause_'+s.slideshowID).removeClass('views-slideshow-controls-text-status-pause');e('#views_slideshow_controls_text_pause_'+s.slideshowID).addClass('views-slideshow-controls-text-status-play')};Drupal.theme.prototype.viewsSlideshowControlsPause=function(){return Drupal.t('Resume')};Drupal.theme.prototype.viewsSlideshowControlsPlay=function(){return Drupal.t('Pause')};Drupal.viewsSlideshowPager=Drupal.viewsSlideshowPager||{};Drupal.viewsSlideshowPager.transitionBegin=function(s){try{if(typeof Drupal.settings.viewsSlideshowPager!='undefined'&&typeof Drupal.settings.viewsSlideshowPager[s.slideshowID].top.type!='undefined'&&typeof Drupal[Drupal.settings.viewsSlideshowPager[s.slideshowID].top.type].transitionBegin=='function'){Drupal[Drupal.settings.viewsSlideshowPager[s.slideshowID].top.type].transitionBegin(s);if(Drupal.settings.viewsSlideshowPager[s.slideshowID].top.master_pager===1){e.each(Drupal.settings.viewsSlideshow,function(e,i){if(e!=s.slideshowID){s.slideshowID=e;s.action='goToSlide';Drupal[Drupal.settings.viewsSlideshowPager[s.slideshowID].top.type].goToSlide(s)}})}}}catch(i){};try{if(typeof Drupal.settings.viewsSlideshowPager!='undefined'&&typeof Drupal.settings.viewsSlideshowPager[s.slideshowID].bottom.type!='undefined'&&typeof Drupal[Drupal.settings.viewsSlideshowPager[s.slideshowID].bottom.type].transitionBegin=='function'){Drupal[Drupal.settings.viewsSlideshowPager[s.slideshowID].bottom.type].transitionBegin(s);if(Drupal.settings.viewsSlideshowPager[s.slideshowID].bottom.master_pager===1){e.each(Drupal.settings.viewsSlideshow,function(e,i){if(e!=s.slideshowID){s.slideshowID=e;s.action='goToSlide';Drupal[Drupal.settings.viewsSlideshowPager[s.slideshowID].bottom.type].goToSlide(s)}})}}}catch(i){}};Drupal.viewsSlideshowPager.goToSlide=function(e){try{if(typeof Drupal.settings.viewsSlideshowPager[e.slideshowID].top.type!='undefined'&&typeof Drupal[Drupal.settings.viewsSlideshowPager[e.slideshowID].top.type].goToSlide=='function'){Drupal[Drupal.settings.viewsSlideshowPager[e.slideshowID].top.type].goToSlide(e)}}catch(s){};try{if(typeof Drupal.settings.viewsSlideshowPager[e.slideshowID].bottom.type!='undefined'&&typeof Drupal[Drupal.settings.viewsSlideshowPager[e.
15slideshowID].bottom.type].goToSlide=='function'){Drupal[Drupal.settings.viewsSlideshowPager[e.slideshowID].bottom.type].goToSlide(e)}}catch(s){}};Drupal.viewsSlideshowPager.previousSlide=function(e){try{if(typeof Drupal.settings.viewsSlideshowPager[e.slideshowID].top.type!='undefined'&&typeof Drupal[Drupal.settings.viewsSlideshowPager[e.slideshowID].top.type].previousSlide=='function'){Drupal[Drupal.settings.viewsSlideshowPager[e.slideshowID].top.type].previousSlide(e)}}catch(s){};try{if(typeof Drupal.settings.viewsSlideshowPager[e.slideshowID].bottom.type!='undefined'&&typeof Drupal[Drupal.settings.viewsSlideshowPager[e.slideshowID].bottom.type].previousSlide=='function'){Drupal[Drupal.settings.viewsSlideshowPager[e.slideshowID].bottom.type].previousSlide(e)}}catch(s){}};Drupal.viewsSlideshowPager.nextSlide=function(e){try{if(typeof Drupal.settings.viewsSlideshowPager[e.slideshowID].top.type!='undefined'&&typeof Drupal[Drupal.settings.viewsSlideshowPager[e.slideshowID].top.type].nextSlide=='function'){Drupal[Drupal.settings.viewsSlideshowPager[e.slideshowID].top.type].nextSlide(e)}}catch(s){};try{if(typeof Drupal.settings.viewsSlideshowPager[e.slideshowID].bottom.type!='undefined'&&typeof Drupal[Drupal.settings.viewsSlideshowPager[e.slideshowID].bottom.type].nextSlide=='function'){Drupal[Drupal.settings.viewsSlideshowPager[e.slideshowID].bottom.type].nextSlide(e)}}catch(s){}};Drupal.behaviors.viewsSlideshowPagerFields={attach:function(s){e('.views_slideshow_pager_field:not(.views-slideshow-pager-field-processed)',s).addClass('views-slideshow-pager-field-processed').each(function(){var i=e(this).attr('id').split('_'),o=i[2];i.splice(0,3);var s=i.join('_');if(Drupal.settings.viewsSlideshowPagerFields[s][o].activatePauseOnHover){e(this).children().each(function(i,o){var t=function(){Drupal.viewsSlideshow.action({'action':'goToSlide','slideshowID':s,'slideNum':i});Drupal.viewsSlideshow.action({'action':'pause','slideshowID':s})},l=function(){Drupal.viewsSlideshow.action({'action':'play','slideshowID':s})};if(jQuery.fn.hoverIntent){e(o).hoverIntent(t,l)} 16else{e(o).hover(t,l)}})} 17else{e(this).children().each(function(i,o){e(o).click(function(){Drupal.viewsSlideshow.action({'action':'goToSlide','slideshowID':s,'slideNum':i})})})}})}};Drupal.viewsSlideshowPagerFields=Drupal.viewsSlideshowPagerFields||{};Drupal.viewsSlideshowPagerFields.transitionBegin=function(s){for(pagerLocation in Drupal.settings.viewsSlideshowPager[s.slideshowID]){e('[id^="views_slideshow_pager_field_item_'+pagerLocation+'_'+s.slideshowID+'"]').removeClass('active');e('#views_slideshow_pager_field_item_'+pagerLocation+'_'+s.slideshowID+'_'+s.slideNum).addClass('active')}};Drupal.viewsSlideshowPagerFields.goToSlide=function(s){for(pagerLocation in Drupal.settings.viewsSlideshowPager[s.slideshowID]){e('[id^="views_slideshow_pager_field_item_'+pagerLocation+'_'+s.slideshowID+'"]').removeClass('active');e('#views_slideshow_pager_field_item_'+pagerLocation+'_'+s.slideshowID+'_'+s.slideNum).addClass('active')}};Drupal.viewsSlideshowPagerFields.previousSlide=function(s){for(pagerLocation in Drupal.settings.viewsSlideshowPager[s.slideshowID]){var i=e('[id^="views_slideshow_pager_field_item_'+pagerLocation+'_'+s.slideshowID+'"].active').attr('id').replace('views_slideshow_pager_field_item_'+pagerLocation+'_'+s.slideshowID+'_','');if(i==0){i=e('[id^="views_slideshow_pager_field_item_'+pagerLocation+'_'+s.slideshowID+'"]').length()-1} 18else{i--};e('[id^="views_slideshow_pager_field_item_'+pagerLocation+'_'+s.slideshowID+'"]').removeClass('active');e('#views_slideshow_pager_field_item_'+pagerLocation+'_'+s.slideshowID+'_'+i).addClass('active')}};Drupal.viewsSlideshowPagerFields.nextSlide=function(s){for(pagerLocation in Drupal.settings.viewsSlideshowPager[s.slideshowID]){var i=e('[id^="views_slideshow_pager_field_item_'+pagerLocation+'_'+s.slideshowID+'"].active').attr('id').replace('views_slideshow_pager_field_item_'+pagerLocation+'_'+s.slideshowID+'_',''),o=e('[id^="views_slideshow_pager_field_item_'+pagerLocation+'_'+s.slideshowID+'"]').length();i++;if(i==o){i=0};e('[id^="views_slideshow_pager_field_item_'+pagerLocation+'_'+s.slideshowID+'"]').removeClass('active');e('#views_slideshow_pager_field_item_'+pagerLocation+'_'+s.slideshowID+'_'+slideNum).addClass('active')}};Drupal.viewsSlideshowSlideCounter=Drupal.viewsSlideshowSlideCounter||{};Drupal.viewsSlideshowSlideCounter.transitionBegin=function(s){e('#views_slideshow_slide_counter_'+s.slideshowID+' .num').text(s.slideNum+1)};Drupal.viewsSlideshow.action=function(e){var i={'value':!0,'text':''};if(typeof e.action=='undefined'||e.action==''){i.value=!1;i.text=Drupal.t('There was no action specified.');return error};if(e.action=='pause'){Drupal.settings.viewsSlideshow[e.slideshowID].paused=1;if(e.force){Drupal.settings.viewsSlideshow[e.slideshowID].pausedForce=1}} 19else if(e.action=='play'){if(!Drupal.settings.viewsSlideshow[e.slideshowID].pausedForce||e.force){Drupal.settings.viewsSlideshow[e.slideshowID].paused=0;Drupal.settings.viewsSlideshow[e.slideshowID].pausedForce=0} 20else{i.value=!1;i.text+=' '+Drupal.t('This slideshow is forced paused.');return i}};switch(e.action){case'goToSlide':case'transitionBegin':case'transitionEnd':if(typeof e.slideNum=='undefined'||typeof e.slideNum!=='number'||parseInt(e.slideNum)!=(e.slideNum-0)){i.value=!1;i.text=Drupal.t('An invalid integer was specified for slideNum.')};case'pause':case'play':case'nextSlide':case'previousSlide':var o=Drupal.settings.viewsSlideshow[e.slideshowID]['methods'];var t={};if(typeof e.excludeMethods!=='undefined'){for(var s=0;s<excludeMethods.length;s++){t[excludeMethods[s]]=''}};for(s=0;s<o[e.action].length;s++){if(Drupal[o[e.action][s]]!=undefined&&typeof Drupal[o[e.action][s]][e.action]=='function'&&!(o[e.action][s]in t)){Drupal[o[e.action][s]][e.action](e)}};break;default:i.value=!1;i.text=Drupal.t('An invalid action "!action" was specified.',{'!action':e.action})};return i}})(jQuery);; 21/* Source and licensing information for the above line(s) can be found at https://laketahoethisweek.com/profiles/oneboat/modules/contrib/views_slideshow/js/views_slideshow.js. */;/*})'"*/ 22/* Source and licensing information for the line(s) below can be found at https://laketahoethisweek.com/misc/form-single-submit.js. */ 23(function(t){Drupal.behaviors.formSingleSubmit={attach:function(){function a(a){var e=t(a.currentTarget),r=e.serialize(),i=e.attr('data-drupal-form-submit-last');
vendor: 10,662 bytes, lines 23-38
23if(i===r){a.preventDefault()} 24else{e.attr('data-drupal-form-submit-last',r)}};t('body').once('form-single-submit').delegate('form:not([method~="GET"])','submit.singleSubmit',a)}}})(jQuery);; 25/* Source and licensing information for the above line(s) can be found at https://laketahoethisweek.com/misc/form-single-submit.js. */;/*})'"*/ 26/* Source and licensing information for the line(s) below can be found at https://laketahoethisweek.com/profiles/oneboat/modules/contrib/jquery_update/js/jquery_update.js. */ 27(function(a){var e=a.ajax.prototype.beforeSerialize;a.ajax.prototype.beforeSerialize=function(t,r){e.call(this,t,r);r.data['ajax_page_state[jquery_version]']=a.settings.ajaxPageState.jquery_version}})(Drupal);; 28/* Source and licensing information for the above line(s) can be found at https://laketahoethisweek.com/profiles/oneboat/modules/contrib/jquery_update/js/jquery_update.js. */;/*})'"*/ 29/* Source and licensing information for the line(s) below can be found at https://laketahoethisweek.com/profiles/oneboat/modules/contrib/admin_menu/admin_devel/admin_devel.js. */ 30(function(e){jQuery.extend({debug:function(){window.debug=window.debug||[];args=jQuery.makeArray(arguments);if(typeof this=='object'){var e=(args.length?args[0]:window.debug.length),g=this} 31else{var e=(args.length>1?args.pop():window.debug.length),g=args[0]};window.debug[e]=g;if(typeof console!='undefined'){console.log(e,g)};return this}});jQuery.fn.debug=jQuery.debug})(jQuery);; 32/* Source and licensing information for the above line(s) can be found at https://laketahoethisweek.com/profiles/oneboat/modules/contrib/admin_menu/admin_devel/admin_devel.js. */;/*})'"*/ 33/*! 34 Colorbox 1.6.4 35 license: MIT 36 http://www.jacklmoore.com/colorbox 37*/ 38(function(t,e,i){function n(i,n,o){var r=e.createElement(i);return n&&(r.id=Z+n),o&&(r.style.cssText=o),t(r)}function o(){return i.innerHeight?i.innerHeight:t(i).height()}function r(e,i){i!==Object(i)&&(i={}),this.cache={},this.el=e,this.value=function(e){var n;return void 0===this.cache[e]&&(n=t(this.el).attr("data-cbox-"+e),void 0!==n?this.cache[e]=n:void 0!==i[e]?this.cache[e]=i[e]:void 0!==X[e]&&(this.cache[e]=X[e])),this.cache[e]},this.get=function(e){var i=this.value(e);return t.isFunction(i)?i.call(this.el,this):i}}function h(t){var e=W.length,i=(A+t)%e;return 0>i?e+i:i}function a(t,e){return Math.round((/%/.test(t)?("x"===e?E.width():o())/100:1)*parseInt(t,10))}function s(t,e){return t.get("photo")||t.get("photoRegex").test(e)}function l(t,e){return t.get("retinaUrl")&&i.devicePixelRatio>1?e.replace(t.get("photoRegex"),t.get("retinaSuffix")):e}function d(t){"contains"in x[0]&&!x[0].contains(t.target)&&t.target!==v[0]&&(t.stopPropagation(),x.focus())}function c(t){c.str!==t&&(x.add(v).removeClass(c.str).addClass(t),c.str=t)}function g(e){A=0,e&&e!==!1&&"nofollow"!==e?(W=t("."+te).filter(function(){var i=t.data(this,Y),n=new r(this,i);return n.get("rel")===e}),A=W.index(_.el),-1===A&&(W=W.add(_.el),A=W.length-1)):W=t(_.el)}function u(i){t(e).trigger(i),ae.triggerHandler(i)}function f(i){var o;if(!G){if(o=t(i).data(Y),_=new r(i,o),g(_.get("rel")),!U){U=$=!0,c(_.get("className")),x.css({visibility:"hidden",display:"block",opacity:""}),I=n(se,"LoadedContent","width:0; height:0; overflow:hidden; visibility:hidden"),b.css({width:"",height:""}).append(I),j=T.height()+k.height()+b.outerHeight(!0)-b.height(),D=C.width()+H.width()+b.outerWidth(!0)-b.width(),N=I.outerHeight(!0),z=I.outerWidth(!0);var h=a(_.get("initialWidth"),"x"),s=a(_.get("initialHeight"),"y"),l=_.get("maxWidth"),f=_.get("maxHeight");_.w=Math.max((l!==!1?Math.min(h,a(l,"x")):h)-z-D,0),_.h=Math.max((f!==!1?Math.min(s,a(f,"y")):s)-N-j,0),I.css({width:"",height:_.h}),J.position(),u(ee),_.get("onOpen"),O.add(F).hide(),x.focus(),_.get("trapFocus")&&e.addEventListener&&(e.addEventListener("focus",d,!0),ae.one(re,function(){e.removeEventListener("focus",d,!0)})),_.get("returnFocus")&&ae.one(re,function(){t(_.el).focus()})}var p=parseFloat(_.get("opacity"));v.css({opacity:p===p?p:"",cursor:_.get("overlayClose")?"pointer":"",visibility:"visible"}).show(),_.get("closeButton")?B.html(_.get("close")).appendTo(b):B.appendTo("<div/>"),w()}}function p(){x||(V=!1,E=t(i),x=n(se).attr({id:Y,"class":t.support.opacity===!1?Z+"IE":"",role:"dialog",tabindex:"-1"}).hide(),v=n(se,"Overlay").hide(),L=t([n(se,"LoadingOverlay")[0],n(se,"LoadingGraphic")[0]]),y=n(se,"Wrapper"),b=n(se,"Content").append(F=n(se,"Title"),R=n(se,"Current"),P=t('<button type="button"/>').attr({id:Z+"Previous"}),K=t('<button type="button"/>').attr({id:Z+"Next"}),S=t('<button type="button"/>').attr({id:Z+"Slideshow"}),L),B=t('<button type="button"/>').attr({id:Z+"Close"}),y.append(n(se).append(n(se,"TopLeft"),T=n(se,"TopCenter"),n(se,"TopRight")),n(se,!1,"clear:left").append(C=n(se,"MiddleLeft"),b,H=n(se,"MiddleRight")),n(se,!1,"clear:left").append(n(se,"BottomLeft"),k=n(se,"BottomCenter"),n(se,"BottomRight"))).find("div div").css({"float":"left"}),M=n(se,!1,"position:absolute; width:9999px; visibility:hidden; display:none; max-width:none;"),O=K.add(P).add(R).add(S)),e.body&&!x.parent().length&&t(e.body).append(v,x.append(y,M))}function m(){function i(t){t.which>1||t.shiftKey||t.altKey||t.metaKey||t.ctrlKey||(t.preventDefault(),f(this))}return x?(V||(V=!0,K.click(function(){J.next()}),P.click(function(){J.prev()}),B.click(function(){J.close()}),v.click(function(){_.get("overlayClose")&&J.close()}),t(e).bind("keydown."+Z,function(t){var e=t.keyCode;U&&_.get("escKey")&&27===e&&(t.preventDefault(),J.close()),U&&_.get("arrowKey")&&W[1]&&!t.altKey&&(37===e?(t.preventDefault(),P.click()):39===e&&(t.preventDefault(),K.click()))}),t.isFunction(t.fn.on)?t(e).on("click."+Z,"."+te,i):t("."+te).live("click."+Z,i)),!0):!1}function w(){var e,o,r,h=J.prep,d=++le;if($=!0,q=!1,u(he),u(ie),_.get("onLoad"),_.h=_.get("height")?a(_.get("height"),"y")-N-j:_.get("innerHeight")&&a(_.get("innerHeight"),"y"),_.w=_.get("width")?a(_.get("width"),"x")-z-D:_.get("innerWidth")&&a(_.get("innerWidth"),"x"),_.mw=_.w,_.mh=_.h,_.get("maxWidth")&&(_.mw=a(_.get("maxWidth"),"x")-z-D,_.mw=_.w&&_.w<_.mw?_.w:_.mw),_.get("maxHeight")&&(_.mh=a(_.get("maxHeight"),"y")-N-j,_.mh=_.h&&_.h<_.mh?_.h:_.mh),e=_.get("href"),Q=setTimeout(function(){L.show()},100),_.get("inline")){var c=t(e).eq(0);r=t("<div>").hide().insertBefore(c),ae.one(he,function(){r.replaceWith(c)}),h(c)}else _.get("iframe")?h(" "):_.get("html")?h(_.get("html")):s(_,e)?(e=l(_,e),q=_.get("createImg"),t(q).addClass(Z+"Photo").bind("error."+Z,function(){h(n(se,"Error").html(_.get("imgError")))}).one("load",function(){d===le&&setTimeout(function(){var e;_.get("retinaImage")&&i.devicePixelRatio>1&&(q.height=q.height/i.devicePixelRatio,q.width=q.width/i.devicePixelRatio),_.get("scalePhotos")&&(o=function(){q.height-=q.height*e,q.width-=q.width*e},_.mw&&q.width>_.mw&&(e=(q.width-_.mw)/q.width,o()),_.mh&&q.height>_.mh&&(e=(q.height-_.mh)/q.height,o())),_.h&&(q.style.marginTop=Math.max(_.mh-q.height,0)/2+"px"),W[1]&&(_.get("loop")||W[A+1])&&(q.style.cursor="pointer",t(q).bind("click."+Z,function(){J.next()})),q.style.width=q.width+"px",q.style.height=q.height+"px",h(q)},1)}),q.src=e):e&&M.load(e,_.get("data"),function(e,i){d===le&&h("error"===i?n(se,"Error").html(_.get("xhrError")):t(this).contents())})}var v,x,y,b,T,C,H,k,W,E,I,M,L,F,R,S,K,P,B,O,_,j,D,N,z,A,q,U,$,G,Q,J,V,X={html:!1,photo:!1,iframe:!1,inline:!1,transition:"elastic",speed:300,fadeOut:300,width:!1,initialWidth:"600",innerWidth:!1,maxWidth:!1,height:!1,initialHeight:"450",innerHeight:!1,maxHeight:!1,scalePhotos:!0,scrolling:!0,opacity:.9,preloading:!0,className:!1,overlayClose:!0,escKey:!0,arrowKey:!0,top:!1,bottom:!1,left:!1,right:!1,fixed:!1,data:void 0,closeButton:!0,fastIframe:!0,open:!1,reposition:!0,loop:!0,slideshow:!1,slideshowAuto:!0,slideshowSpeed:2500,slideshowStart:"start slideshow",slideshowStop:"stop slideshow",photoRegex:/\.(gif|png|jp(e|g|eg)|bmp|ico|webp|jxr|svg)((#|\?).*)?$/i,retinaImage:!1,retinaUrl:!1,retinaSuffix:"@2x.$1",current:"image {current} of {total}",previous:"previous",next:"next",close:"close",xhrError:"This content failed to load.",imgError:"This image failed to load.",returnFocus:!0,trapFocus:!0,onOpen:!1,onLoad:!1,onComplete:!1,onCleanup:!1,onClosed:!1,rel:function(){return this.rel},href:function(){return t(this).attr("href")},title:function(){return this.title},createImg:function(){var e=new Image,i=t(this).data("cbox-img-attrs");return"object"==typeof i&&t.each(i,function(t,i){e[t]=i}),e},createIframe:function(){var i=e.createElement("iframe"),n=t(this).data("cbox-iframe-attrs");return"object"==typeof n&&t.each(n,function(t,e){i[t]=e}),"frameBorder"in i&&(i.frameBorder=0),"allowTransparency"in i&&(i.allowTransparency="true"),i.name=(new Date).getTime(),i.allowFullscreen=!0,i}},Y="colorbox",Z="cbox",te=Z+"Element",ee=Z+"_open",ie=Z+"_load",ne=Z+"_complete",oe=Z+"_cleanup",re=Z+"_closed",he=Z+"_purge",ae=t("<a/>"),se="div",le=0,de={},ce=function(){function t(){clearTimeout(h)}function e(){(_.get("loop")||W[A+1])&&(t(),h=setTimeout(J.next,_.get("slideshowSpeed")))}function i(){S.html(_.get("slideshowStop")).unbind(s).one(s,n),ae.bind(ne,e).bind(ie,t),x.removeClass(a+"off").addClass(a+"on")}function n(){t(),ae.unbind(ne,e).unbind(ie,t),S.html(_.get("slideshowStart")).unbind(s).one(s,function(){J.next(),i()}),x.removeClass(a+"on").addClass(a+"off")}function o(){r=!1,S.hide(),t(),ae.unbind(ne,e).unbind(ie,t),x.removeClass(a+"off "+a+"on")}var r,h,a=Z+"Slideshow_",s="click."+Z;return function(){r?_.get("slideshow")||(ae.unbind(oe,o),o()):_.get("slideshow")&&W[1]&&(r=!0,ae.one(oe,o),_.get("slideshowAuto")?i():n(),S.show())}}();t[Y]||(t(p),J=t.fn[Y]=t[Y]=function(e,i){var n,o=this;return e=e||{},t.isFunction(o)&&(o=t("<a/>"),e.open=!0),o[0]?(p(),m()&&(i&&(e.onComplete=i),o.each(function(){var i=t.data(this,Y)||{};t.data(this,Y,t.extend(i,e))}).addClass(te),n=new r(o[0],e),n.get("open")&&f(o[0])),o):o},J.position=function(e,i){function n(){T[0].style.width=k[0].style.width=b[0].style.width=parseInt(x[0].style.width,10)-D+"px",b[0].style.height=C[0].style.height=H[0].style.height=parseInt(x[0].style.height,10)-j+"px"}var r,h,s,l=0,d=0,c=x.offset();if(E.unbind("resize."+Z),x.css({top:-9e4,left:-9e4}),h=E.scrollTop(),s=E.scrollLeft(),_.get("fixed")?(c.top-=h,c.left-=s,x.css({position:"fixed"})):(l=h,d=s,x.css({position:"absolute"})),d+=_.get("right")!==!1?Math.max(E.width()-_.w-z-D-a(_.get("right"),"x"),0):_.get("left")!==!1?a(_.get("left"),"x"):Math.round(Math.max(E.width()-_.w-z-D,0)/2),l+=_.get("bottom")!==!1?Math.max(o()-_.h-N-j-a(_.get("bottom"),"y"),0):_.get("top")!==!1?a(_.get("top"),"y"):Math.round(Math.max(o()-_.h-N-j,0)/2),x.css({top:c.top,left
38:c.left,visibility:"visible"}),y[0].style.width=y[0].style.height="9999px",r={width:_.w+z+D,height:_.h+N+j,top:l,left:d},e){var g=0;t.each(r,function(t){return r[t]!==de[t]?(g=e,void 0):void 0}),e=g}de=r,e||x.css(r),x.dequeue().animate(r,{duration:e||0,complete:function(){n(),$=!1,y[0].style.width=_.w+z+D+"px",y[0].style.height=_.h+N+j+"px",_.get("reposition")&&setTimeout(function(){E.bind("resize."+Z,J.position)},1),t.isFunction(i)&&i()},step:n})},J.resize=function(t){var e;U&&(t=t||{},t.width&&(_.w=a(t.width,"x")-z-D),t.innerWidth&&(_.w=a(t.innerWidth,"x")),I.css({width:_.w}),t.height&&(_.h=a(t.height,"y")-N-j),t.innerHeight&&(_.h=a(t.innerHeight,"y")),t.innerHeight||t.height||(e=I.scrollTop(),I.css({height:"auto"}),_.h=I.height()),I.css({height:_.h}),e&&I.scrollTop(e),J.position("none"===_.get("transition")?0:_.get("speed")))},J.prep=function(i){function o(){return _.w=_.w||I.width(),_.w=_.mw&&_.mw<_.w?_.mw:_.w,_.w}function a(){return _.h=_.h||I.height(),_.h=_.mh&&_.mh<_.h?_.mh:_.h,_.h}if(U){var d,g="none"===_.get("transition")?0:_.get("speed");I.remove(),I=n(se,"LoadedContent").append(i),I.hide().appendTo(M.show()).css({width:o(),overflow:_.get("scrolling")?"auto":"hidden"}).css({height:a()}).prependTo(b),M.hide(),t(q).css({"float":"none"}),c(_.get("className")),d=function(){function i(){t.support.opacity===!1&&x[0].style.removeAttribute("filter")}var n,o,a=W.length;U&&(o=function(){clearTimeout(Q),L.hide(),u(ne),_.get("onComplete")},F.html(_.get("title")).show(),I.show(),a>1?("string"==typeof _.get("current")&&R.html(_.get("current").replace("{current}",A+1).replace("{total}",a)).show(),K[_.get("loop")||a-1>A?"show":"hide"]().html(_.get("next")),P[_.get("loop")||A?"show":"hide"]().html(_.get("previous")),ce(),_.get("preloading")&&t.each([h(-1),h(1)],function(){var i,n=W[this],o=new r(n,t.data(n,Y)),h=o.get("href");h&&s(o,h)&&(h=l(o,h),i=e.createElement("img"),i.src=h)})):O.hide(),_.get("iframe")?(n=_.get("createIframe"),_.get("scrolling")||(n.scrolling="no"),t(n).attr({src:_.get("href"),"class":Z+"Iframe"}).one("load",o).appendTo(I),ae.one(he,function(){n.src="//about:blank"}),_.get("fastIframe")&&t(n).trigger("load")):o(),"fade"===_.get("transition")?x.fadeTo(g,1,i):i())},"fade"===_.get("transition")?x.fadeTo(g,0,function(){J.position(0,d)}):J.position(g,d)}},J.next=function(){!$&&W[1]&&(_.get("loop")||W[A+1])&&(A=h(1),f(W[A]))},J.prev=function(){!$&&W[1]&&(_.get("loop")||A)&&(A=h(-1),f(W[A]))},J.close=function(){U&&!G&&(G=!0,U=!1,u(oe),_.get("onCleanup"),E.unbind("."+Z),v.fadeTo(_.get("fadeOut")||0,0),x.stop().fadeTo(_.get("fadeOut")||0,0,function(){x.hide(),v.hide(),u(he),I.remove(),setTimeout(function(){G=!1,u(re),_.get("onClosed")},1)}))},J.remove=function(){x&&(x.stop(),t[Y].close(),x.stop(!1,!0).remove(),v.remove(),G=!1,x=null,t("."+te).removeData(Y).removeClass(te),t(e).unbind("click."+Z).unbind("keydown."+Z))},J.element=function(){return t(_.el)},J.settings=X)})(jQuery,document,window); 39;/*})'"*/;/*})'"*/ 40/* Source and licensing information for the line(s) below can be found at https://laketahoethisweek.com/profiles/oneboat/modules/contrib/colorbox/js/colorbox.js. */ 41(function(o){Drupal.behaviors.initColorbox={attach:function(r,t){if(!o.isFunction(o('a, area, input',r).colorbox)||typeof t.colorbox==='undefined'){return};if(t.colorbox.mobiledetect&&window.matchMedia){var e=window.matchMedia('(max-device-width: '+t.colorbox.mobiledevicewidth+')');if(e.matches){return}};t.colorbox.rel=function(){if(o(this).data('colorbox-gallery')){return o(this).data('colorbox-gallery')} 42else{return o(this).attr('rel')}};o('.colorbox',r).once('init-colorbox').each(function(){var e={photo:!0};var r=o(this).attr('title');if(r){e.title=Drupal.colorbox.sanitizeMarkup(r)};o(this).colorbox(o.extend({},t.colorbox,e))});o(r).bind('cbox_complete',function(){Drupal.attachBehaviors(o('#cboxLoadedContent'))})}};if(!Drupal.hasOwnProperty('colorbox')){Drupal.colorbox={}};Drupal.colorbox.sanitizeMarkup=function(o){if(typeof DOMPurify!=='undefined'){var r={ALLOWED_TAGS:['a','b','strong','i','em','u','cite','code','br'],ALLOWED_ATTR:['href','hreflang','title','target']};if(Drupal.settings.hasOwnProperty('dompurify_custom_config')){r=Drupal.settings.dompurify_custom_config};return DOMPurify.sanitize(o,r)} 43else{return Drupal.checkPlain(o)}}})(jQuery);; 44/* Source and licensing information for the above line(s) can be found at https://laketahoethisweek.com/profiles/oneboat/modules/contrib/colorbox/js/colorbox.js. */;/*})'"*/ 45/* Source and licensing information for the line(s) below can be found at https://laketahoethisweek.com/profiles/oneboat/modules/contrib/colorbox/styles/default/colorbox_style.js. */ 46(function(e){Drupal.behaviors.initColorboxDefaultStyle={attach:function(o,i){e(o).bind('cbox_complete',function(){if(e('#cboxTitle:empty',o).length==!1){e('#cboxLoadedContent img',o).bind('mouseover',function(){e('#cboxTitle',o).slideDown()});e('#cboxOverlay',o).bind('mouseover',function(){e('#cboxTitle',o).slideUp()})} 47else{e('#cboxTitle',o).hide()}})}}})(jQuery);; 48/* Source and licensing information for the above line(s) can be found at https://laketahoethisweek.com/profiles/oneboat/modules/contrib/colorbox/styles/default/colorbox_style.js. */;/*})'"*/ 49/* Source and licensing information for the line(s) below can be found at https://laketahoethisweek.com/profiles/oneboat/modules/contrib/colorbox/js/colorbox_load.js. */ 50(function(e){Drupal.behaviors.initColorboxLoad={attach:function(i,o){if(!e.isFunction(e.colorbox)||typeof o.colorbox==='undefined'){return};if(o.colorbox.mobiledetect&&window.matchMedia){var t=window.matchMedia('(max-device-width: '+o.colorbox.mobiledevicewidth+')');if(t.matches){return}};
50e.urlParams=function(i){var o={},e,r=/\+/g,n=/([^&=]+)=?([^&]*)/g,t=function(e){return decodeURIComponent(e.replace(r,' '))},a=i.split('?');while(e=n.exec(a[1])){e[1]=t(e[1]);e[2]=t(e[2]);switch(e[2].toLowerCase()){case'true':case'yes':e[2]=!0;break;case'false':case'no':e[2]=!1;break};if(e[1]=='width'){e[1]='innerWidth'};if(e[1]=='height'){e[1]='innerHeight'};if(e[2]){e[2]=Drupal.checkPlain(e[2])};o[e[1]]=e[2]};return o};e('.colorbox-load',i).once('init-colorbox-load',function(){var r=e(this).attr('href'),i=e.urlParams(r);i.iframe=!0;if(!i.hasOwnProperty('innerWidth')){i.innerWidth=e(window).width()*.8};if(!i.hasOwnProperty('innerHeight')){i.innerHeight=e(window).height()*.8};if(!i.hasOwnProperty('title')){var t=e(this).attr('title');if(t){i.title=Drupal.colorbox.sanitizeMarkup(t)}};e(this).colorbox(e.extend({},o.colorbox,i))})}}})(jQuery);; 51/* Source and licensing information for the above line(s) can be found at https://laketahoethisweek.com/profiles/oneboat/modules/contrib/colorbox/js/colorbox_load.js. */;/*})'"*/ 52/* Source and licensing information for the line(s) below can be found at https://laketahoethisweek.com/profiles/oneboat/modules/contrib/colorbox/js/colorbox_inline.js. */ 53(function(o){Drupal.behaviors.initColorboxInline={attach:function(e,r){if(!o.isFunction(o.colorbox)||typeof r.colorbox==='undefined'){return};if(r.colorbox.mobiledetect&&window.matchMedia){var t=window.matchMedia('(max-device-width: '+r.colorbox.mobiledevicewidth+')');if(t.matches){return}};o.urlParam=function(o,r){if(o=='fragment'){var e=new RegExp('(#[^&#]*)').exec(r)} 54else{var e=new RegExp('[\\?&]'+o+'=([^&#]*)').exec(r)};if(!e){return''};return e[1]||''};o('.colorbox-inline',e).once('init-colorbox-inline').colorbox({transition:r.colorbox.transition,speed:r.colorbox.speed,opacity:r.colorbox.opacity,slideshow:r.colorbox.slideshow,slideshowAuto:r.colorbox.slideshowAuto,slideshowSpeed:r.colorbox.slideshowSpeed,slideshowStart:r.colorbox.slideshowStart,slideshowStop:r.colorbox.slideshowStop,current:r.colorbox.current,previous:r.colorbox.previous,next:r.colorbox.next,close:r.colorbox.close,overlayClose:r.colorbox.overlayClose,maxWidth:r.colorbox.maxWidth,maxHeight:r.colorbox.maxHeight,innerWidth:function(){return o.urlParam('width',o(this).attr('href'))},innerHeight:function(){return o.urlParam('height',o(this).attr('href'))},title:function(){return Drupal.colorbox.sanitizeMarkup(decodeURIComponent(o.urlParam('title',o(this).attr('href'))))},iframe:function(){return o.urlParam('iframe',o(this).attr('href'))},inline:function(){return o.urlParam('inline',o(this).attr('href'))},href:function(){return o.urlParam('fragment',o(this).attr('href'))}})}}})(jQuery);; 55/* Source and licensing information for the above line(s) can be found at https://laketahoethisweek.com/profiles/oneboat/modules/contrib/colorbox/js/colorbox_inline.js. */;/*})'"*/ 56/* 57 * jQuery FlexSlider v2.2.2 58 * Copyright 2012 WooThemes 59 * Contributing Author: Tyler Smith 60 */(function(e){e.flexslider=function(t,n){var r=e(t);r.vars=e.extend({},e.flexslider.defaults,n);var i=r.vars.namespace,s=window.navigator&&window.navigator.msPointerEnabled&&window.MSGesture,o=("ontouchstart"in window||s||window.DocumentTouch&&document instanceof DocumentTouch)&&r.vars.touch,u="click touchend MSPointerUp",a="",f,l=r.vars.direction==="vertical",c=r.vars.reverse,h=r.vars.itemWidth>0,p=r.vars.animation==="fade",d=r.vars.asNavFor!=="",v={},m=!0;e.data(t,"flexslider",r);v={init:function(){r.animating=!1;r.currentSlide=parseInt(r.vars.startAt?r.vars.startAt:0,10);isNaN(r.currentSlide)&&(r.currentSlide=0);r.animatingTo=r.currentSlide;r.atEnd=r.currentSlide===0||r.currentSlide===r.last;r.containerSelector=r.vars.selector.substr(0,r.vars.selector.search(" "));r.slides=e(r.vars.selector,r);r.container=e(r.containerSelector,r);r.count=r.slides.length;r.syncExists=e(r.vars.sync).length>0;r.vars.animation==="slide"&&(r.vars.animation="swing");r.prop=l?"top":"marginLeft";r.args={};r.manualPause=!1;r.stopped=!1;r.started=!1;r.startTimeout=null;r.transitions=!r.vars.video&&!p&&r.vars.useCSS&&function(){var e=document.createElement("div"),t=["perspectiveProperty","WebkitPerspective","MozPerspective","OPerspective","msPerspective"];for(var n in t)if(e.style[t[n]]!==undefined){r.pfx=t[n].replace("Perspective","").toLowerCase();r.prop="-"+r.pfx+"-transform";return!0}return!1}();r.vars.controlsContainer!==""&&(r.controlsContainer=e(r.vars.controlsContainer).length>0&&e(r.vars.controlsContainer));r.vars.manualControls!==""&&(r.manualControls=e(r.vars.manualControls).length>0&&e(r.vars.manualControls));if(r.vars.randomize){r.slides.sort(function(){return Math.round(Math.random())-.5});r.container.empty().append(r.slides)}r.doMath();r.setup("init");r.vars.controlNav&&v.controlNav.setup();r.vars.directionNav&&v.directionNav.setup();r.vars.keyboard&&(e(r.containerSelector).length===1||r.vars.multipleKeyboard)&&e(document).bind("keyup",function(e){var t=e.keyCode;if(!r.animating&&(t===39||t===37)){var n=t===39?r.getTarget("next"):t===37?r.getTarget("prev"):!1;r.flexAnimate(n,r.vars.pauseOnAction)}});r.vars.mousewheel&&r.bind("mousewheel",function(e,t,n,i){e.preventDefault();var s=t<0?r.getTarget("next"):r.getTarget("prev");r.flexAnimate(s,r.vars.pauseOnAction)});r.vars.pausePlay&&v.pausePlay.setup();
60r.vars.slideshow&&r.vars.pauseInvisible&&v.pauseInvisible.init();if(r.vars.slideshow){r.vars.pauseOnHover&&r.hover(function(){!r.manualPlay&&!r.manualPause&&r.pause()},function(){!r.manualPause&&!r.manualPlay&&!r.stopped&&r.play()});if(!r.vars.pauseInvisible||!v.pauseInvisible.isHidden())r.vars.initDelay>0?r.startTimeout=setTimeout(r.play,r.vars.initDelay):r.play()}d&&v.asNav.setup();o&&r.vars.touch&&v.touch();(!p||p&&r.vars.smoothHeight)&&e(window).bind("resize orientationchange focus",v.resize);r.find("img").attr("draggable","false");setTimeout(function(){r.vars.start(r)},200)},asNav:{setup:function(){r.asNav=!0;r.animatingTo=Math.floor(r.currentSlide/r.move);r.currentItem=r.currentSlide;r.slides.removeClass(i+"active-slide").eq(r.currentItem).addClass(i+"active-slide");if(!s)r.slides.on(u,function(t){t.preventDefault();var n=e(this),s=n.index(),o=n.offset().left-e(r).scrollLeft();if(o<=0&&n.hasClass(i+"active-slide"))r.flexAnimate(r.getTarget("prev"),!0);else if(!e(r.vars.asNavFor).data("flexslider").animating&&!n.hasClass(i+"active-slide")){r.direction=r.currentItem<s?"next":"prev";r.flexAnimate(s,r.vars.pauseOnAction,!1,!0,!0)}});else{t._slider=r;r.slides.each(function(){var t=this;t._gesture=new MSGesture;t._gesture.target=t;t.addEventListener("MSPointerDown",function(e){e.preventDefault();e.currentTarget._gesture&&e.currentTarget._gesture.addPointer(e.pointerId)},!1);t.addEventListener("MSGestureTap",function(t){t.preventDefault();var n=e(this),i=n.index();if(!e(r.vars.asNavFor).data("flexslider").animating&&!n.hasClass("active")){r.direction=r.currentItem<i?"next":"prev";r.flexAnimate(i,r.vars.pauseOnAction,!1,!0,!0)}})})}}},controlNav:{setup:function(){r.manualControls?v.controlNav.setupManual():v.controlNav.setupPaging()},setupPaging:function(){var t=r.vars.controlNav==="thumbnails"?"control-thumbs":"control-paging",n=1,s,o;r.controlNavScaffold=e('<ol class="'+i+"control-nav "+i+t+'"></ol>');if(r.pagingCount>1)for(var f=0;f<r.pagingCount;f++){o=r.slides.eq(f);s=r.vars.controlNav==="thumbnails"?'<img src="'+o.attr("data-thumb")+'"/>':"<a>"+n+"</a>";if("thumbnails"===r.vars.controlNav&&!0===r.vars.thumbCaptions){var l=o.attr("data-thumbcaption");""!=l&&undefined!=l&&(s+='<span class="'+i+'caption">'+l+"</span>")}r.controlNavScaffold.append("<li>"+s+"</li>");n++}r.controlsContainer?e(r.controlsContainer).append(r.controlNavScaffold):r.append(r.controlNavScaffold);v.controlNav.set();v.controlNav.active();r.controlNavScaffold.delegate("a, img",u,function(t){t.preventDefault();if(a===""||a===t.type){var n=e(this),s=r.controlNav.index(n);if(!n.hasClass(i+"active")){r.direction=s>r.currentSlide?"next":"prev";r.flexAnimate(s,r.vars.pauseOnAction)}}a===""&&(a=t.type);v.setToClearWatchedEvent()})},setupManual:function(){r.controlNav=r.manualControls;v.controlNav.active();r.controlNav.bind(u,function(t){t.preventDefault();if(a===""||a===t.type){var n=e(this),s=r.controlNav.index(n);if(!n.hasClass(i+"active")){s>r.currentSlide?r.direction="next":r.direction="prev";r.flexAnimate(s,r.vars.pauseOnAction)}}a===""&&(a=t.type);v.setToClearWatchedEvent()})},set:function(){var t=r.vars.controlNav==="thumbnails"?"img":"a";r.controlNav=e("."+i+"control-nav li "+t,r.controlsContainer?r.controlsContainer:r)},active:function(){r.controlNav.removeClass(i+"active").eq(r.animatingTo).addClass(i+"active")},update:function(t,n){r.pagingCount>1&&t==="add"?r.controlNavScaffold.append(e("<li><a>"+r.count+"</a></li>")):r.pagingCount===1?r.controlNavScaffold.find("li").remove():r.controlNav.eq(n).closest("li").remove();v.controlNav.set();r.pagingCount>1&&r.pagingCount!==r.controlNav.length?r.update(n,t):v.controlNav.active()}},directionNav:{setup:function(){var t=e('<ul class="'+i+'direction-nav"><li><a class="'+i+'prev" href="#">'+r.vars.prevText+'</a></li><li><a class="'+i+'next" href="#">'+r.vars.nextText+"</a></li></ul>");if(r.controlsContainer){e(r.controlsContainer).append(t);r.directionNav=e("."+i+"direction-nav li a",r.controlsContainer)}else{r.append(t);r.directionNav=e("."+i+"direction-nav li a",r)}v.directionNav.update();r.directionNav.bind(u,function(t){t.preventDefault();var n;if(a===""||a===t.type){n=e(this).hasClass(i+"next")?r.getTarget("next"):r.getTarget("prev");r.flexAnimate(n,r.vars.pauseOnAction)}a===""&&(a=t.type);v.setToClearWatchedEvent()})},update:function(){var e=i+"disabled";r.pagingCount===1?r.directionNav.addClass(e).attr("tabindex","-1"):r.vars.animationLoop?r.directionNav.removeClass(e).removeAttr("tabindex"):r.animatingTo===0?r.directionNav.removeClass(e).filter("."+i+"prev").addClass(e).attr("tabindex","-1"):r.animatingTo===r.last?r.directionNav.removeClass(e).filter("."+i+"next").addClass(e).attr("tabindex","-1"):r.directionNav.removeClass(e).removeAttr("tabindex")}},pausePlay:{setup:function(){var t=e('<div class="'+i+'pauseplay"><a></a></div>');if(r.controlsContainer){r.controlsContainer.append(t);r.pausePlay=e("."+i+"pauseplay a",r.controlsContainer)}else{r.append(t);r.pausePlay=e("."+i+"pauseplay a",r)}v.pausePlay.update(r.vars.slideshow?i+"pause":i+"play");r.pausePlay.bind(u,function(t){t.preventDefault();if(a===""||a===t.type)if(e(this).hasClass(i+"pause")){r.manualPause=!0;r.manualPlay=!1;r.pause()}else{r.manualPause=!1;r.manualPlay=!0;r.play()}a===""&&(a=t.type);v.setToClearWatchedEvent()})},update:function(e){e==="play"?r.pausePlay.removeClass(i+"pause").addClass(i+"play").html(r.vars.playText):r.pausePlay.removeClass(i+"play").addClass(i+"pause").html(r.vars.pauseText)}},touch:function(){var e,n,i,o,u,a,f=!1,d=0,v=0,m=0;if(!s){t.addEventListener("touchstart",g,!1);function g(s){if(r.animating)s.preventDefault();else if(window.navigator.msPointerEnabled||s.touches.length===1){r.pause();o=l?r.h:r.w;a=Number(new Date);d=s.touches[0].pageX;v=s.touches[0].pageY;i=h&&c&&r.animatingTo===r.last?0:h&&c?r.limit-(r.itemW+r.vars.itemMargin)*r.move*r.animatingTo:h&&r.currentSlide===r.last?r.limit:h?(r.itemW+r.vars.itemMargin)*r.move*r.currentSlide:c?(r.last-r.currentSlide+r.cloneOffset)*o:(r.currentSlide+r.cloneOffset)*o;e=l?v:d;n=l?d:v;t.addEventListener("touchmove",y,!1);t.addEventListener("touchend",b,!1)}}function y(t){d=t.touches[0].pageX;v=t.touches[0].pageY;u=l?e-v:e-d;f=l?Math.abs(u)<Math.abs(d-n):Math.abs(u)<Math.abs(v-n);var s=500;if(!f||Number(new Date)-a>s){t.preventDefault();if(!p&&r.transitions){r.vars.animationLoop||(u/=r.currentSlide===0&&u<0||r.currentSlide===r.last&&u>0?Math.abs(u)/o+2:1);r.setProps(i+u,"setTouch")}}}function b(s){t.removeEventListener("touchmove",y,!1);if(r.animatingTo===r.currentSlide&&!f&&u!==null){var l=c?-u:u,h=l>0?r.getTarget("next"):r.getTarget("prev");r.canAdvance(h)&&(Number(new Date)-a<550&&Math.abs(l)>50||Math.abs(l)>o/2)?r.flexAnimate(h,r.vars.pauseOnAction):p||r.flexAnimate(r.currentSlide,r.vars.pauseOnAction,!0)}t.removeEventListener("touchend",b,!1);e=null;n=null;u=null;i=null}}else{t.style.msTouchAction="none";t._gesture=new MSGesture;t._gesture.target=t;t.addEventListener("MSPointerDown",w,!1);t._slider=r;t.addEventListener("MSGestureChange",E,!1);t.addEventListener("MSGestureEnd",S,!1);function w(e){e.stopPropagation();if(r.animating)e.preventDefault();else{r.pause();t._gesture.addPointer(e.pointerId);m=0;o=l?r.h:r.w;a=Number(new Date);i=h&&c&&r.animatingTo===r.last?0:h&&c?r.limit-(r.itemW+r.vars.itemMargin)*r.move*r.animatingTo:h&&r.currentSlide===r.last?r.limit:h?(r.itemW+r.vars.itemMargin)*r.move*r.currentSlide:c?(r.last-r.currentSlide+r.cloneOffset)*o:(r.currentSlide+r.cloneOffset)*o}}function E(e){e.stopPropagation();var n=e.target._slider;if(!n)return;var r=-e.translationX,s=-e.translationY;m+=l?s:r;u=m;f=l?Math.abs(m)<Math.abs(-r):Math.abs(m)<Math.abs(-s);if(e.detail===e.MSGESTURE_FLAG_INERTIA){setImmediate(function(){t._gesture.stop()});return}if(!f||Number(new Date)-a>500){e.preventDefault();if(!p&&n.transitions){n.vars.animationLoop||(u=m/(n.currentSlide===0&&m<0||n.currentSlide===n.last&&m>0?Math.abs(m)/o+2:1));n.setProps(i+u,"setTouch")}}}function S(t){t.stopPropagation();var r=t.target._slider;if(!r)return;if(r.animatingTo===r.currentSlide&&!f&&u!==null){var s=c?-u:u,l=s>0?r.getTarget("next"):r.getTarget("prev");r.canAdvance(l)&&(Number(new Date)-a<550&&Math.abs(s)>50||Math.abs(s)>o/2)?r.flexAnimate(l,r.vars.pauseOnAction):p||r.flexAnimate(r.currentSlide,r.vars.pauseOnAction,!0)}e=null;n=null;u=null;i=null;m=0}}},resize:function(){if(!r.animating&&r.is(":visible")){h||r.doMath();if(p)v.smoothHeight();else if(h){r.slides.width(r.computedW);r.update(r.pagingCount);r.setProps()}else if(l){r.viewport.height(r.h);r.setProps(r.h,"setTotal")}else{r.vars.smoothHeight&&v.smoothHeight();r.newSlides.width(r.computedW);r.setProps(r.computedW,"setTotal")}}},smoothHeight:function(e){if(!l||p){var t=p?r:r.viewport;e?t.animate({height:r.slides.eq(r.animatingTo).height()},e):t.height(r.slides.eq(r.animatingTo).height())}},sync:function(t){var n=e(r.vars.sync).data("flexslider"),i=r.animatingTo;switch(t){case"animate":n.flexAnimate(i,r.vars.pauseOnAction,!1,!0);break;case"play":!n.playing&&!n.asNav&&n.play();break;case"pause":n.pause()}},uniqueID:function(t){t.find("[id]").each(function(){var t=e(this);t.attr("id",t.attr("id")+"_clone")});return t},pauseInvisible:{visProp:null,init:function(){var e=["webkit","moz","ms","o"];if("hidden"in document)return"hidden";for(var t=0;t<e.length;t++)e[t]+"Hidden"in document&&(v.pauseInvisible.visProp=e[t]+"Hidden");if(v.pauseInvisible.visProp){var n=v.pauseInvisible.visProp.replace(/[H|h]idden/,"")+"visibilitychange";document.addEventListener(n,function(){v.pauseInvisible.isHidden()?r.startTimeout?clearTimeout(r.startTimeout):r.pause():r.started?r.play():r.vars.initDelay>0?setTimeout(r.play,r.vars.initDelay):r.play()})}},isHidden:function(){return document[v.pauseInvisible.visProp]||!1}},setToClearWatchedEvent:function(){clearTimeout(f);f=setTimeout(function(){a=""},3e3)}};r.flexAnimate=function(t,n,s,u,a){!r.vars.animationLoop&&t!==r.currentSlide&&(r.direction=t>r.currentSlide?"next":"prev");d&&r.pagingCount===1&&(r.direction=r.currentItem<t?"next":"prev");if(!r.animating&&(r.canAdvance(t,a)||s)&&r.is(":visible")){if(d&&u){var f=e(r.vars.asNavFor).data("flexslider");r.atEnd=t===0||t===r.count-1;f.flexAnimate(t,!0,!1,!0,a);r.direction=r.currentItem<t?"next":"prev";f.direction=r.direction;if(Math.ceil((t+1)/r.visible)-1===r.currentSlide||t===0){r.currentItem=t;r.slides.removeClass(i+"active-slide").eq(t).addClass(i+"active-slide");return!1}r.currentItem=t;r.slides.removeClass(i+"active-slide").eq(t).addClass(i+"active-slide");t=Math.floor(t/r.visible)}r.animating=!0;r.animatingTo=t;n&&r.pause();r.vars.before(r);r.syncExists&&!a&&v.sync("animate");r.vars.controlNav&&v.controlNav.active();h||r.slides.removeClass(i+"active-slide").eq(t).addClass(i+"active-slide");r.atEnd=t===0||t===r.last;
60r.vars.directionNav&&v.directionNav.update();if(t===r.last){r.vars.end(r);r.vars.animationLoop||r.pause()}if(!p){var m=l?r.slides.filter(":first").height():r.computedW,g,y,b;if(h){g=r.vars.itemMargin;b=(r.itemW+g)*r.move*r.animatingTo;y=b>r.limit&&r.visible!==1?r.limit:b}else r.currentSlide===0&&t===r.count-1&&r.vars.animationLoop&&r.direction!=="next"?y=c?(r.count+r.cloneOffset)*m:0:r.currentSlide===r.last&&t===0&&r.vars.animationLoop&&r.direction!=="prev"?y=c?0:(r.count+1)*m:y=c?(r.count-1-t+r.cloneOffset)*m:(t+r.cloneOffset)*m;r.setProps(y,"",r.vars.animationSpeed);if(r.transitions){if(!r.vars.animationLoop||!r.atEnd){r.animating=!1;r.currentSlide=r.animatingTo}r.container.unbind("webkitTransitionEnd transitionend");r.container.bind("webkitTransitionEnd transitionend",function(){r.wrapup(m)})}else r.container.animate(r.args,r.vars.animationSpeed,r.vars.easing,function(){r.wrapup(m)})}else if(!o){r.slides.eq(r.currentSlide).css({zIndex:1}).animate({opacity:0},r.vars.animationSpeed,r.vars.easing);r.slides.eq(t).css({zIndex:2}).animate({opacity:1},r.vars.animationSpeed,r.vars.easing,r.wrapup)}else{r.slides.eq(r.currentSlide).css({opacity:0,zIndex:1});r.slides.eq(t).css({opacity:1,zIndex:2});r.wrapup(m)}r.vars.smoothHeight&&v.smoothHeight(r.vars.animationSpeed)}};r.wrapup=function(e){!p&&!h&&(r.currentSlide===0&&r.animatingTo===r.last&&r.vars.animationLoop?r.setProps(e,"jumpEnd"):r.currentSlide===r.last&&r.animatingTo===0&&r.vars.animationLoop&&r.setProps(e,"jumpStart"));r.animating=!1;r.currentSlide=r.animatingTo;r.vars.after(r)};r.animateSlides=function(){!r.animating&&m&&r.flexAnimate(r.getTarget("next"))};r.pause=function(){clearInterval(r.animatedSlides);r.animatedSlides=null;r.playing=!1;r.vars.pausePlay&&v.pausePlay.update("play");r.syncExists&&v.sync("pause")};r.play=function(){r.playing&&clearInterval(r.animatedSlides);r.animatedSlides=r.animatedSlides||setInterval(r.animateSlides,r.vars.slideshowSpeed);r.started=r.playing=!0;r.vars.pausePlay&&v.pausePlay.update("pause");r.syncExists&&v.sync("play")};r.stop=function(){r.pause();r.stopped=!0};r.canAdvance=function(e,t){var n=d?r.pagingCount-1:r.last;return t?!0:d&&r.currentItem===r.count-1&&e===0&&r.direction==="prev"?!0:d&&r.currentItem===0&&e===r.pagingCount-1&&r.direction!=="next"?!1:e===r.currentSlide&&!d?!1:r.vars.animationLoop?!0:r.atEnd&&r.currentSlide===0&&e===n&&r.direction!=="next"?!1:r.atEnd&&r.currentSlide===n&&e===0&&r.direction==="next"?!1:!0};r.getTarget=function(e){r.direction=e;return e==="next"?r.currentSlide===r.last?0:r.currentSlide+1:r.currentSlide===0?r.last:r.currentSlide-1};r.setProps=function(e,t,n){var i=function(){var n=e?e:(r.itemW+r.vars.itemMargin)*r.move*r.animatingTo,i=function(){if(h)return t==="setTouch"?e:c&&r.animatingTo===r.last?0:c?r.limit-(r.itemW+r.vars.itemMargin)*r.move*r.animatingTo:r.animatingTo===r.last?r.limit:n;switch(t){case"setTotal":return c?(r.count-1-r.currentSlide+r.cloneOffset)*e:(r.currentSlide+r.cloneOffset)*e;case"setTouch":return c?e:e;case"jumpEnd":return c?e:r.count*e;case"jumpStart":return c?r.count*e:e;default:return e}}();return i*-1+"px"}();if(r.transitions){i=l?"translate3d(0,"+i+",0)":"translate3d("+i+",0,0)";n=n!==undefined?n/1e3+"s":"0s";r.container.css("-"+r.pfx+"-transition-duration",n);r.container.css("transition-duration",n)}r.args[r.prop]=i;(r.transitions||n===undefined)&&r.container.css(r.args);r.container.css("transform",i)};r.setup=function(t){if(!p){var n,s;if(t==="init"){r.viewport=e('<div class="'+i+'viewport"></div>').css({overflow:"hidden",position:"relative"}).appendTo(r).append(r.container);r.cloneCount=0;r.cloneOffset=0;if(c){s=e.makeArray(r.slides).reverse();r.slides=e(s);r.container.empty().append(r.slides)}}if(r.vars.animationLoop&&!h){r.cloneCount=2;r.cloneOffset=1;t!=="init"&&r.container.find(".clone").remove();r.container.append(r.slides.first().clone().addClass("clone").attr("aria-hidden","true")).prepend(r.slides.last().clone().addClass("clone").attr("aria-hidden","true"));v.uniqueID(r.slides.first().clone().addClass("clone")).appendTo(r.container);v.uniqueID(r.slides.last().clone().addClass("clone")).prependTo(r.container)}r.newSlides=e(r.vars.selector,r);n=c?r.count-1-r.currentSlide+r.cloneOffset:r.currentSlide+r.cloneOffset;if(l&&!h){r.container.height((r.count+r.cloneCount)*200+"%").css("position","absolute").width("100%");setTimeout(function(){r.newSlides.css({display:"block"});r.doMath();r.viewport.height(r.h);r.setProps(n*r.h,"init")},t==="init"?100:0)}else{r.container.width((r.count+r.cloneCount)*200+"%");r.setProps(n*r.computedW,"init");setTimeout(function(){r.doMath();r.newSlides.css({width:r.computedW,"float":"left",display:"block"});r.vars.smoothHeight&&v.smoothHeight()},t==="init"?100:0)}}else{r.slides.css({width:"100%","float":"left",marginRight:"-100%",position:"relative"});t==="init"&&(o?r.slides.css({opacity:0,display:"block",webkitTransition:"opacity "+r.vars.animationSpeed/1e3+"s ease",zIndex:1}).eq(r.currentSlide).css({opacity:1,zIndex:2}):r.slides.css({opacity:0,display:"block",zIndex:1}).eq(r.currentSlide).css({zIndex:2}).animate({opacity:1},r.vars.animationSpeed,r.vars.easing));r.vars.smoothHeight&&v.smoothHeight()}h||r.slides.removeClass(i+"active-slide").eq(r.currentSlide).addClass(i+"active-slide");r.vars.init(r)};r.doMath=function(){var e=r.slides.first(),t=r.vars.itemMargin,n=r.vars.minItems,i=r.vars.maxItems;r.w=r.viewport===undefined?r.width():r.viewport.width();r.h=e.height();r.boxPadding=e.outerWidth()-e.width();if(h){r.itemT=r.vars.itemWidth+t;r.minW=n?n*r.itemT:r.w;r.maxW=i?i*r.itemT-t:r.w;r.itemW=r.minW>
60r.w?(r.w-t*(n-1))/n:r.maxW<r.w?(r.w-t*(i-1))/i:r.vars.itemWidth>r.w?r.w:r.vars.itemWidth;r.visible=Math.floor(r.w/r.itemW);r.move=r.vars.move>0&&r.vars.move<r.visible?r.vars.move:r.visible;r.pagingCount=Math.ceil((r.count-r.visible)/r.move+1);r.last=r.pagingCount-1;r.limit=r.pagingCount===1?0:r.vars.itemWidth>r.w?r.itemW*(r.count-1)+t*(r.count-1):(r.itemW+t)*r.count-r.w-t}else{r.itemW=r.w;r.pagingCount=r.count;r.last=r.count-1}r.computedW=r.itemW-r.boxPadding};r.update=function(e,t){r.doMath();if(!h){e<r.currentSlide?r.currentSlide+=1:e<=r.currentSlide&&e!==0&&(r.currentSlide-=1);r.animatingTo=r.currentSlide}if(r.vars.controlNav&&!r.manualControls)if(t==="add"&&!h||r.pagingCount>r.controlNav.length)v.controlNav.update("add");else if(t==="remove"&&!h||r.pagingCount<r.controlNav.length){if(h&&r.currentSlide>r.last){r.currentSlide-=1;r.animatingTo-=1}v.controlNav.update("remove",r.last)}r.vars.directionNav&&v.directionNav.update()};r.addSlide=function(t,n){var i=e(t);r.count+=1;r.last=r.count-1;l&&c?n!==undefined?r.slides.eq(r.count-n).after(i):r.container.prepend(i):n!==undefined?r.slides.eq(n).before(i):r.container.append(i);r.update(n,"add");r.slides=e(r.vars.selector+":not(.clone)",r);r.setup();r.vars.added(r)};r.removeSlide=function(t){var n=isNaN(t)?r.slides.index(e(t)):t;r.count-=1;r.last=r.count-1;isNaN(t)?e(t,r.slides).remove():l&&c?r.slides.eq(r.last).remove():r.slides.eq(t).remove();r.doMath();r.update(n,"remove");r.slides=e(r.vars.selector+":not(.clone)",r);r.setup();r.vars.removed(r)};v.init()};e(window).blur(function(e){focused=!1}).focus(function(e){focused=!0});e.flexslider.defaults={namespace:"flex-",selector:".slides > li",animation:"fade",easing:"swing",direction:"horizontal",reverse:!1,animationLoop:!0,smoothHeight:!1,startAt:0,slideshow:!0,slideshowSpeed:7e3,animationSpeed:600,initDelay:0,randomize:!1,thumbCaptions:!1,pauseOnAction:!0,pauseOnHover:!1,pauseInvisible:!0,useCSS:!0,touch:!0,video:!1,controlNav:!0,directionNav:!0,prevText:"Previous",nextText:"Next",keyboard:!0,multipleKeyboard:!1,mousewheel:!1,pausePlay:!1,pauseText:"Pause",playText:"Play",controlsContainer:"",manualControls:"",sync:"",asNavFor:"",itemWidth:0,itemMargin:0,minItems:1,maxItems:0,move:0,allowOneSlide:!0,start:function(){},before:function(){},after:function(){},end:function(){},added:function(){},removed:function(){},init:function(){}};e.fn.flexslider=function(t){t===undefined&&(t={});if(typeof t=="object")return this.each(function(){var n=e(this),r=t.selector?t.selector:".slides > li",i=n.find(r);if(i.length===1&&t.allowOneSlide===!0||i.length===0){i.fadeIn(400);t.start&&t.start(n)}else n.data("flexslider")===undefined&&new e.flexslider(this,t)});var n=e(this).data("flexslider");switch(t){case"play":n.play();break;case"pause":n.pause();break;case"stop":n.stop();break;case"next":n.flexAnimate(n.getTarget("next"),!0);break;case"prev":case"previous":n.flexAnimate(n.getTarget("prev"),!0);break;default:typeof t=="number"&&n.flexAnimate(t,!0)}}})(jQuery);(function(e){e.flexslider=function(t,n){var r=e(t);r.vars=e.extend({},e.flexslider.defaults,n);var i=r.vars.namespace,s=window.navigator&&window.navigator.msPointerEnabled&&window.MSGesture,o=("ontouchstart"in window||s||window.DocumentTouch&&document instanceof DocumentTouch)&&r.vars.touch,u="click touchend MSPointerUp",a="",f,l=r.vars.direction==="vertical",c=r.vars.reverse,h=r.vars.itemWidth>0,p=r.vars.animation==="fade",d=r.vars.asNavFor!=="",v={},m=!0;e.data(t,"flexslider",r);v={init:function(){r.animating=!1;r.currentSlide=parseInt(r.vars.startAt?r.vars.startAt:0,10);isNaN(r.currentSlide)&&(r.currentSlide=0);r.animatingTo=r.currentSlide;r.atEnd=r.currentSlide===0||r.currentSlide===r.last;r.containerSelector=r.vars.selector.substr(0,r.vars.selector.search(" "));r.slides=e(r.vars.selector,r);r.container=e(r.containerSelector,r);r.count=r.slides.length;r.syncExists=e(r.vars.sync).length>0;r.vars.animation==="slide"&&(r.vars.animation="swing");r.prop=l?"top":"marginLeft";r.args={};r.manualPause=!1;r.stopped=!1;r.started=!1;r.startTimeout=null;r.transitions=!r.vars.video&&!p&&r.vars.useCSS&&function(){var e=document.createElement("div"),t=["perspectiveProperty","WebkitPerspective","MozPerspective","OPerspective","msPerspective"];for(var n in t)if(e.style[t[n]]!==undefined){r.pfx=t[n].replace("Perspective","").toLowerCase();r.prop="-"+r.pfx+"-transform";return!0}return!1}();r.vars.controlsContainer!==""&&(r.controlsContainer=e(r.vars.controlsContainer).length>0&&e(r.vars.controlsContainer));r.vars.manualControls!==""&&(r.manualControls=e(r.vars.manualControls).length>0&&e(r.vars.manualControls));if(r.vars.randomize){r.slides.sort(function(){return Math.round(Math.random())-.5});r.container.empty().append(r.slides)}r.doMath();r.setup("init");r.vars.controlNav&&v.controlNav.setup();r.vars.directionNav&&v.directionNav.setup();r.vars.keyboard&&(e(r.containerSelector).length===1||r.vars.multipleKeyboard)&&e(document).bind("keyup",function(e){var t=e.keyCode;if(!r.animating&&(t===39||t===37)){var n=t===39?r.getTarget("next"):t===37?r.getTarget("prev"):!1;r.flexAnimate(n,r.vars.pauseOnAction)}});r.vars.mousewheel&&r.bind("mousewheel",function(e,t,n,i){e.preventDefault();var s=t<0?r.getTarget("next"):r.getTarget("prev");r.flexAnimate(s,r.vars.pauseOnAction)});r.vars.pausePlay&&v.pausePlay.setup();
60r.vars.slideshow&&r.vars.pauseInvisible&&v.pauseInvisible.init();if(r.vars.slideshow){r.vars.pauseOnHover&&r.hover(function(){!r.manualPlay&&!r.manualPause&&r.pause()},function(){!r.manualPause&&!r.manualPlay&&!r.stopped&&r.play()});if(!r.vars.pauseInvisible||!v.pauseInvisible.isHidden())r.vars.initDelay>0?r.startTimeout=setTimeout(r.play,r.vars.initDelay):r.play()}d&&v.asNav.setup();o&&r.vars.touch&&v.touch();(!p||p&&r.vars.smoothHeight)&&e(window).bind("resize orientationchange focus",v.resize);r.find("img").attr("draggable","false");setTimeout(function(){r.vars.start(r)},200)},asNav:{setup:function(){r.asNav=!0;r.animatingTo=Math.floor(r.currentSlide/r.move);r.currentItem=r.currentSlide;r.slides.removeClass(i+"active-slide").eq(r.currentItem).addClass(i+"active-slide");if(!s)r.slides.on(u,function(t){t.preventDefault();var n=e(this),s=n.index(),o=n.offset().left-e(r).scrollLeft();if(o<=0&&n.hasClass(i+"active-slide"))r.flexAnimate(r.getTarget("prev"),!0);else if(!e(r.vars.asNavFor).data("flexslider").animating&&!n.hasClass(i+"active-slide")){r.direction=r.currentItem<s?"next":"prev";r.flexAnimate(s,r.vars.pauseOnAction,!1,!0,!0)}});else{t._slider=r;r.slides.each(function(){var t=this;t._gesture=new MSGesture;t._gesture.target=t;t.addEventListener("MSPointerDown",function(e){e.preventDefault();e.currentTarget._gesture&&e.currentTarget._gesture.addPointer(e.pointerId)},!1);t.addEventListener("MSGestureTap",function(t){t.preventDefault();var n=e(this),i=n.index();if(!e(r.vars.asNavFor).data("flexslider").animating&&!n.hasClass("active")){r.direction=r.currentItem<i?"next":"prev";r.flexAnimate(i,r.vars.pauseOnAction,!1,!0,!0)}})})}}},controlNav:{setup:function(){r.manualControls?v.controlNav.setupManual():v.controlNav.setupPaging()},setupPaging:function(){var t=r.vars.controlNav==="thumbnails"?"control-thumbs":"control-paging",n=1,s,o;r.controlNavScaffold=e('<ol class="'+i+"control-nav "+i+t+'"></ol>');if(r.pagingCount>1)for(var f=0;f<r.pagingCount;f++){o=r.slides.eq(f);s=r.vars.controlNav==="thumbnails"?'<img src="'+o.attr("data-thumb")+'"/>':"<a>"+n+"</a>";if("thumbnails"===r.vars.controlNav&&!0===r.vars.thumbCaptions){var l=o.attr("data-thumbcaption");""!=l&&undefined!=l&&(s+='<span class="'+i+'caption">'+l+"</span>")}r.controlNavScaffold.append("<li>"+s+"</li>");n++}r.controlsContainer?e(r.controlsContainer).append(r.controlNavScaffold):r.append(r.controlNavScaffold);v.controlNav.set();v.controlNav.active();r.controlNavScaffold.delegate("a, img",u,function(t){t.preventDefault();if(a===""||a===t.type){var n=e(this),s=r.controlNav.index(n);if(!n.hasClass(i+"active")){r.direction=s>r.currentSlide?"next":"prev";r.flexAnimate(s,r.vars.pauseOnAction)}}a===""&&(a=t.type);v.setToClearWatchedEvent()})},setupManual:function(){r.controlNav=r.manualControls;v.controlNav.active();r.controlNav.bind(u,function(t){t.preventDefault();if(a===""||a===t.type){var n=e(this),s=r.controlNav.index(n);if(!n.hasClass(i+"active")){s>r.currentSlide?r.direction="next":r.direction="prev";r.flexAnimate(s,r.vars.pauseOnAction)}}a===""&&(a=t.type);v.setToClearWatchedEvent()})},set:function(){var t=r.vars.controlNav==="thumbnails"?"img":"a";r.controlNav=e("."+i+"control-nav li "+t,r.controlsContainer?r.controlsContainer:r)},active:function(){r.controlNav.removeClass(i+"active").eq(r.animatingTo).addClass(i+"active")},update:function(t,n){r.pagingCount>1&&t==="add"?r.controlNavScaffold.append(e("<li><a>"+r.count+"</a></li>")):r.pagingCount===1?r.controlNavScaffold.find("li").remove():r.controlNav.eq(n).closest("li").remove();v.controlNav.set();r.pagingCount>1&&r.pagingCount!==r.controlNav.length?r.update(n,t):v.controlNav.active()}},directionNav:{setup:function(){var t=e('<ul class="'+i+'direction-nav"><li><a class="'+i+'prev" href="#">'+r.vars.prevText+'</a></li><li><a class="'+i+'next" href="#">'+r.vars.nextText+"</a></li></ul>");if(r.controlsContainer){e(r.controlsContainer).append(t);r.directionNav=e("."+i+"direction-nav li a",r.controlsContainer)}else{r.append(t);r.directionNav=e("."+i+"direction-nav li a",r)}v.directionNav.update();r.directionNav.bind(u,function(t){t.preventDefault();var n;if(a===""||a===t.type){n=e(this).hasClass(i+"next")?r.getTarget("next"):r.getTarget("prev");r.flexAnimate(n,r.vars.pauseOnAction)}a===""&&(a=t.type);v.setToClearWatchedEvent()})},update:function(){var e=i+"disabled";r.pagingCount===1?r.directionNav.addClass(e).attr("tabindex","-1"):r.vars.animationLoop?r.directionNav.removeClass(e).removeAttr("tabindex"):r.animatingTo===0?r.directionNav.removeClass(e).filter("."+i+"prev").addClass(e).attr("tabindex","-1"):r.animatingTo===r.last?r.directionNav.removeClass(e).filter("."+i+"next").addClass(e).attr("tabindex","-1"):r.directionNav.removeClass(e).removeAttr("tabindex")}},pausePlay:{setup:function(){var t=e('<div class="'+i+'pauseplay"><a></a></div>');if(r.controlsContainer){r.controlsContainer.append(t);r.pausePlay=e("."+i+"pauseplay a",r.controlsContainer)}else{r.append(t);r.pausePlay=e("."+i+"pauseplay a",r)}v.pausePlay.update(r.vars.slideshow?i+"pause":i+"play");r.pausePlay.bind(u,function(t){t.preventDefault();if(a===""||a===t.type)if(e(this).hasClass(i+"pause")){r.manualPause=!0;r.manualPlay=!1;r.pause()}else{r.manualPause=!1;r.manualPlay=!0;r.play()}a===""&&(a=t.type);v.setToClearWatchedEvent()})},update:function(e){e==="play"?r.pausePlay.removeClass(i+"pause").addClass(i+"play").html(r.vars.playText):r.pausePlay.removeClass(i+"play").addClass(i+"pause").html(r.vars.pauseText)}},touch:function(){var e,n,i,o,u,a,f=!1,d=0,v=0,m=0;if(!s){t.addEventListener("touchstart",g,!1);function g(s){if(r.animating)s.preventDefault();else if(window.navigator.msPointerEnabled||s.touches.length===1){r.pause();o=l?r.h:r.w;a=Number(new Date);d=s.touches[0].pageX;v=s.touches[0].pageY;i=h&&c&&r.animatingTo===r.last?0:h&&c?r.limit-(r.itemW+r.vars.itemMargin)*r.move*r.animatingTo:h&&r.currentSlide===r.last?r.limit:h?(r.itemW+r.vars.itemMargin)*r.move*r.currentSlide:c?(r.last-r.currentSlide+r.cloneOffset)*o:(r.currentSlide+r.cloneOffset)*o;e=l?v:d;n=l?d:v;t.addEventListener("touchmove",y,!1);t.addEventListener("touchend",b,!1)}}function y(t){d=t.touches[0].pageX;v=t.touches[0].pageY;u=l?e-v:e-d;f=l?Math.abs(u)<Math.abs(d-n):Math.abs(u)<Math.abs(v-n);var s=500;if(!f||Number(new Date)-a>s){t.preventDefault();if(!p&&r.transitions){r.vars.animationLoop||(u/=r.currentSlide===0&&u<0||r.currentSlide===r.last&&u>0?Math.abs(u)/o+2:1);r.setProps(i+u,"setTouch")}}}function b(s){t.removeEventListener("touchmove",y,!1);if(r.animatingTo===r.currentSlide&&!f&&u!==null){var l=c?-u:u,h=l>0?r.getTarget("next"):r.getTarget("prev");r.canAdvance(h)&&(Number(new Date)-a<550&&Math.abs(l)>50||Math.abs(l)>o/2)?r.flexAnimate(h,r.vars.pauseOnAction):p||r.flexAnimate(r.currentSlide,r.vars.pauseOnAction,!0)}t.removeEventListener("touchend",b,!1);e=null;n=null;u=null;i=null}}else{t.style.msTouchAction="none";t._gesture=new MSGesture;t._gesture.target=t;t.addEventListener("MSPointerDown",w,!1);t._slider=r;t.addEventListener("MSGestureChange",E,!1);t.addEventListener("MSGestureEnd",S,!1);function w(e){e.stopPropagation();if(r.animating)e.preventDefault();else{r.pause();t._gesture.addPointer(e.pointerId);m=0;o=l?r.h:r.w;a=Number(new Date);i=h&&c&&r.animatingTo===r.last?0:h&&c?r.limit-(r.itemW+r.vars.itemMargin)*r.move*r.animatingTo:h&&r.currentSlide===r.last?r.limit:h?(r.itemW+r.vars.itemMargin)*r.move*r.currentSlide:c?(r.last-r.currentSlide+r.cloneOffset)*o:(r.currentSlide+r.cloneOffset)*o}}function E(e){e.stopPropagation();var n=e.target._slider;if(!n)return;var r=-e.translationX,s=-e.translationY;m+=l?s:r;u=m;f=l?Math.abs(m)<Math.abs(-r):Math.abs(m)<Math.abs(-s);if(e.detail===e.MSGESTURE_FLAG_INERTIA){setImmediate(function(){t._gesture.stop()});return}if(!f||Number(new Date)-a>500){e.preventDefault();if(!p&&n.transitions){n.vars.animationLoop||(u=m/(n.currentSlide===0&&m<0||n.currentSlide===n.last&&m>0?Math.abs(m)/o+2:1));n.setProps(i+u,"setTouch")}}}function S(t){t.stopPropagation();var r=t.target._slider;if(!r)return;if(r.animatingTo===r.currentSlide&&!f&&u!==null){var s=c?-u:u,l=s>0?r.getTarget("next"):r.getTarget("prev");r.canAdvance(l)&&(Number(new Date)-a<550&&Math.abs(s)>50||Math.abs(s)>o/2)?r.flexAnimate(l,r.vars.pauseOnAction):p||r.flexAnimate(r.currentSlide,r.vars.pauseOnAction,!0)}e=null;n=null;u=null;i=null;m=0}}},resize:function(){if(!r.animating&&r.is(":visible")){h||r.doMath();if(p)v.smoothHeight();else if(h){r.slides.width(r.computedW);r.update(r.pagingCount);r.setProps()}else if(l){r.viewport.height(r.h);r.setProps(r.h,"setTotal")}else{r.vars.smoothHeight&&v.smoothHeight();r.newSlides.width(r.computedW 61);r.setProps(r.computedW,"setTotal")}}},smoothHeight:function(e){if(!l||p){var t=p?r:r.viewport;e?t.animate({height:r.slides.eq(r.animatingTo).height()},e):t.height(r.slides.eq(r.animatingTo).height())}},sync:function(t){var n=e(r.vars.sync).data("flexslider"),i=r.animatingTo;switch(t){case"animate":n.flexAnimate(i,r.vars.pauseOnAction,!1,!0);break;case"play":!n.playing&&!n.asNav&&n.play();break;case"pause":n.pause()}},uniqueID:function(t){t.find("[id]").each(function(){var t=e(this);t.attr("id",t.attr("id")+"_clone")});return t},pauseInvisible:{visProp:null,init:function(){var e=["webkit","moz","ms","o"];if("hidden"in document)return"hidden";for(var t=0;t<e.length;t++)e[t]+"Hidden"in document&&(v.pauseInvisible.visProp=e[t]+"Hidden");if(v.pauseInvisible.visProp){var n=v.pauseInvisible.visProp.replace(/[H|h]idden/,"")+"visibilitychange";document.addEventListener(n,function(){v.pauseInvisible.isHidden()?r.startTimeout?clearTimeout(r.startTimeout):r.pause():r.started?r.play():r.vars.initDelay>0?setTimeout(r.play,r.vars.initDelay):r.play()})}},isHidden:function(){return document[v.pauseInvisible.visProp]||!1}},setToClearWatchedEvent:function(){clearTimeout(f);f=setTimeout(function(){a=""},3e3)}};r.flexAnimate=function(t,n,s,u,a){!r.vars.animationLoop&&t!==r.currentSlide&&(r.direction=t>r.currentSlide?"next":"prev");d&&r.pagingCount===1&&(r.direction=r.currentItem<t?"next":"prev");if(!r.animating&&(r.canAdvance(t,a)||s)&&r.is(":visible")){if(d&&u){var f=e(r.vars.asNavFor).data("flexslider");r.atEnd=t===0||t===r.count-1;f.flexAnimate(t,!0,!1,!0,a);r.direction=r.currentItem<t?"next":"prev";f.direction=r.direction;if(Math.ceil((t+1)/r.visible)-1===r.currentSlide||t===0){r.currentItem=t;r.slides.removeClass(i+"active-slide").eq(t).addClass(i+"active-slide");return!1}r.currentItem=t;r.slides.removeClass(i+"active-slide").eq(t).addClass(i+"active-slide");t=Math.floor(t/r.visible)}r.animating=!0;r.animatingTo=t;n&&r.pause();r.vars.before(r);r.syncExists&&!a&&v.sync("animate");r.vars.controlNav&&v.controlNav.active();h||r.slides.removeClass(i+"active-slide").eq(t).addClass(i+"active-slide");r.atEnd=t===0||t===r.last;
61r.vars.directionNav&&v.directionNav.update();if(t===r.last){r.vars.end(r);r.vars.animationLoop||r.pause()}if(!p){var m=l?r.slides.filter(":first").height():r.computedW,g,y,b;if(h){g=r.vars.itemMargin;b=(r.itemW+g)*r.move*r.animatingTo;y=b>r.limit&&r.visible!==1?r.limit:b}else r.currentSlide===0&&t===r.count-1&&r.vars.animationLoop&&r.direction!=="next"?y=c?(r.count+r.cloneOffset)*m:0:r.currentSlide===r.last&&t===0&&r.vars.animationLoop&&r.direction!=="prev"?y=c?0:(r.count+1)*m:y=c?(r.count-1-t+r.cloneOffset)*m:(t+r.cloneOffset)*m;r.setProps(y,"",r.vars.animationSpeed);if(r.transitions){if(!r.vars.animationLoop||!r.atEnd){r.animating=!1;r.currentSlide=r.animatingTo}r.container.unbind("webkitTransitionEnd transitionend");r.container.bind("webkitTransitionEnd transitionend",function(){r.wrapup(m)})}else r.container.animate(r.args,r.vars.animationSpeed,r.vars.easing,function(){r.wrapup(m)})}else if(!o){r.slides.eq(r.currentSlide).css({zIndex:1}).animate({opacity:0},r.vars.animationSpeed,r.vars.easing);r.slides.eq(t).css({zIndex:2}).animate({opacity:1},r.vars.animationSpeed,r.vars.easing,r.wrapup)}else{r.slides.eq(r.currentSlide).css({opacity:0,zIndex:1});r.slides.eq(t).css({opacity:1,zIndex:2});r.wrapup(m)}r.vars.smoothHeight&&v.smoothHeight(r.vars.animationSpeed)}};r.wrapup=function(e){!p&&!h&&(r.currentSlide===0&&r.animatingTo===r.last&&r.vars.animationLoop?r.setProps(e,"jumpEnd"):r.currentSlide===r.last&&r.animatingTo===0&&r.vars.animationLoop&&r.setProps(e,"jumpStart"));r.animating=!1;r.currentSlide=r.animatingTo;r.vars.after(r)};r.animateSlides=function(){!r.animating&&m&&r.flexAnimate(r.getTarget("next"))};r.pause=function(){clearInterval(r.animatedSlides);r.animatedSlides=null;r.playing=!1;r.vars.pausePlay&&v.pausePlay.update("play");r.syncExists&&v.sync("pause")};r.play=function(){r.playing&&clearInterval(r.animatedSlides);r.animatedSlides=r.animatedSlides||setInterval(r.animateSlides,r.vars.slideshowSpeed);r.started=r.playing=!0;r.vars.pausePlay&&v.pausePlay.update("pause");r.syncExists&&v.sync("play")};r.stop=function(){r.pause();r.stopped=!0};r.canAdvance=function(e,t){var n=d?r.pagingCount-1:r.last;return t?!0:d&&r.currentItem===r.count-1&&e===0&&r.direction==="prev"?!0:d&&r.currentItem===0&&e===r.pagingCount-1&&r.direction!=="next"?!1:e===r.currentSlide&&!d?!1:r.vars.animationLoop?!0:r.atEnd&&r.currentSlide===0&&e===n&&r.direction!=="next"?!1:r.atEnd&&r.currentSlide===n&&e===0&&r.direction==="next"?!1:!0};r.getTarget=function(e){r.direction=e;return e==="next"?r.currentSlide===r.last?0:r.currentSlide+1:r.currentSlide===0?r.last:r.currentSlide-1};r.setProps=function(e,t,n){var i=function(){var n=e?e:(r.itemW+r.vars.itemMargin)*r.move*r.animatingTo,i=function(){if(h)return t==="setTouch"?e:c&&r.animatingTo===r.last?0:c?r.limit-(r.itemW+r.vars.itemMargin)*r.move*r.animatingTo:r.animatingTo===r.last?r.limit:n;switch(t){case"setTotal":return c?(r.count-1-r.currentSlide+r.cloneOffset)*e:(r.currentSlide+r.cloneOffset)*e;case"setTouch":return c?e:e;case"jumpEnd":return c?e:r.count*e;case"jumpStart":return c?r.count*e:e;default:return e}}();return i*-1+"px"}();if(r.transitions){i=l?"translate3d(0,"+i+",0)":"translate3d("+i+",0,0)";n=n!==undefined?n/1e3+"s":"0s";r.container.css("-"+r.pfx+"-transition-duration",n);r.container.css("transition-duration",n)}r.args[r.prop]=i;(r.transitions||n===undefined)&&r.container.css(r.args);r.container.css("transform",i)};r.setup=function(t){if(!p){var n,s;if(t==="init"){r.viewport=e('<div class="'+i+'viewport"></div>').css({overflow:"hidden",position:"relative"}).appendTo(r).append(r.container);r.cloneCount=0;r.cloneOffset=0;if(c){s=e.makeArray(r.slides).reverse();r.slides=e(s);r.container.empty().append(r.slides)}}if(r.vars.animationLoop&&!h){r.cloneCount=2;r.cloneOffset=1;t!=="init"&&r.container.find(".clone").remove();r.container.append(r.slides.first().clone().addClass("clone").attr("aria-hidden","true")).prepend(r.slides.last().clone().addClass("clone").attr("aria-hidden","true"));v.uniqueID(r.slides.first().clone().addClass("clone")).appendTo(r.container);v.uniqueID(r.slides.last().clone().addClass("clone")).prependTo(r.container)}r.newSlides=e(r.vars.selector,r);n=c?r.count-1-r.currentSlide+r.cloneOffset:r.currentSlide+r.cloneOffset;if(l&&!h){r.container.height((r.count+r.cloneCount)*200+"%").css("position","absolute").width("100%");setTimeout(function(){r.newSlides.css({display:"block"});r.doMath();r.viewport.height(r.h);r.setProps(n*r.h,"init")},t==="init"?100:0)}else{r.container.width((r.count+r.cloneCount)*200+"%");r.setProps(n*r.computedW,"init");setTimeout(function(){r.doMath();r.newSlides.css({width:r.computedW,"float":"left",display:"block"});r.vars.smoothHeight&&v.smoothHeight()},t==="init"?100:0)}}else{r.slides.css({width:"100%","float":"left",marginRight:"-100%",position:"relative"});t==="init"&&(o?r.slides.css({opacity:0,display:"block",webkitTransition:"opacity "+r.vars.animationSpeed/1e3+"s ease",zIndex:1}).eq(r.currentSlide).css({opacity:1,zIndex:2}):r.slides.css({opacity:0,display:"block",zIndex:1}).eq(r.currentSlide).css({zIndex:2}).animate({opacity:1},r.vars.animationSpeed,r.vars.easing));r.vars.smoothHeight&&v.smoothHeight()}h||r.slides.removeClass(i+"active-slide").eq(r.currentSlide).addClass(i+"active-slide");r.vars.init(r)};r.doMath=function(){var e=r.slides.first(),t=r.vars.itemMargin,n=r.vars.minItems,i=r.vars.maxItems;r.w=r.viewport===undefined?r.width():r.viewport.width();r.h=e.height();r.boxPadding=e.outerWidth()-e.width();if(h){r.itemT=r.vars.itemWidth+t;r.minW=n?n*r.itemT:r.w;r.maxW=i?i*r.itemT-t:r.w;r.itemW=r.minW>
61r.w?(r.w-t*(n-1))/n:r.maxW<r.w?(r.w-t*(i-1))/i:r.vars.itemWidth>r.w?r.w:r.vars.itemWidth;r.visible=Math.floor(r.w/r.itemW);r.move=r.vars.move>0&&r.vars.move<r.visible?r.vars.move:r.visible;r.pagingCount=Math.ceil((r.count-r.visible)/r.move+1);r.last=r.pagingCount-1;r.limit=r.pagingCount===1?0:r.vars.itemWidth>r.w?r.itemW*(r.count-1)+t*(r.count-1):(r.itemW+t)*r.count-r.w-t}else{r.itemW=r.w;r.pagingCount=r.count;r.last=r.count-1}r.computedW=r.itemW-r.boxPadding};r.update=function(e,t){r.doMath();if(!h){e<r.currentSlide?r.currentSlide+=1:e<=r.currentSlide&&e!==0&&(r.currentSlide-=1);r.animatingTo=r.currentSlide}if(r.vars.controlNav&&!r.manualControls)if(t==="add"&&!h||r.pagingCount>r.controlNav.length)v.controlNav.update("add");else if(t==="remove"&&!h||r.pagingCount<r.controlNav.length){if(h&&r.currentSlide>r.last){r.currentSlide-=1;r.animatingTo-=1}v.controlNav.update("remove",r.last)}r.vars.directionNav&&v.directionNav.update()};r.addSlide=function(t,n){var i=e(t);r.count+=1;r.last=r.count-1;l&&c?n!==undefined?r.slides.eq(r.count-n).after(i):r.container.prepend(i):n!==undefined?r.slides.eq(n).before(i):r.container.append(i);r.update(n,"add");r.slides=e(r.vars.selector+":not(.clone)",r);r.setup();r.vars.added(r)};r.removeSlide=function(t){var n=isNaN(t)?r.slides.index(e(t)):t;r.count-=1;r.last=r.count-1;isNaN(t)?e(t,r.slides).remove():l&&c?r.slides.eq(r.last).remove():r.slides.eq(t).remove();r.doMath();r.update(n,"remove");r.slides=e(r.vars.selector+":not(.clone)",r);r.setup();r.vars.removed(r)};v.init()};e(window).blur(function(e){focused=!1}).focus(function(e){focused=!0});e.flexslider.defaults={namespace:"flex-",selector:".slides > li",animation:"fade",easing:"swing",direction:"horizontal",reverse:!1,animationLoop:!0,smoothHeight:!1,startAt:0,slideshow:!0,slideshowSpeed:7e3,animationSpeed:600,initDelay:0,randomize:!1,thumbCaptions:!1,pauseOnAction:!0,pauseOnHover:!1,pauseInvisible:!0,useCSS:!0,touch:!0,video:!1,controlNav:!0,directionNav:!0,prevText:"Previous",nextText:"Next",keyboard:!0,multipleKeyboard:!1,mousewheel:!1,pausePlay:!1,pauseText:"Pause",playText:"Play",controlsContainer:"",manualControls:"",sync:"",asNavFor:"",itemWidth:0,itemMargin:0,minItems:1,maxItems:0,move:0,allowOneSlide:!0,start:function(){},before:function(){},after:function(){},end:function(){},added:function(){},removed:function(){},init:function(){}};e.fn.flexslider=function(t){t===undefined&&(t={});if(typeof t=="object")return this.each(function(){var n=e(this),r=t.selector?t.selector:".slides > li",i=n.find(r);if(i.length===1&&t.allowOneSlide===!0||i.length===0){i.fadeIn(400);t.start&&t.start(n)}else n.data("flexslider")===undefined&&new e.flexslider(this,t)});var n=e(this).data("flexslider");switch(t){case"play":n.play();break;case"pause":n.pause();break;case"stop":n.stop();break;case"next":n.flexAnimate(n.getTarget("next"),!0);break;case"prev":case"previous":n.flexAnimate(n.getTarget("prev"),!0);break;default:typeof t=="number"&&n.flexAnimate(t,!0)}}})(jQuery); 62;/*})'"*/;/*})'"*/ 63/* Source and licensing information for the line(s) below can be found at https://laketahoethisweek.com/profiles/oneboat/modules/contrib/flexslider_views_slideshow/js/flexslider_views_slideshow.js. */ 64(function(e){function i(e,i){Drupal.flexsliderViewsSlideshow.active=Drupal.flexsliderViewsSlideshow.active||{};Drupal.flexsliderViewsSlideshow.active[e]=i};Drupal.behaviors.flexsliderViewsSlideshow={attach:function(s){e('.flexslider_views_slideshow_main:not(.flexslider_views_slideshow-processed)',s).addClass('flexslider_views_slideshow-processed').each(function(){var l='#'+e(this).attr('id'),s=Drupal.settings.flexslider_views_slideshow[l];s.targetId=l;s.loaded=!1;s.opts={namespace:s.namespace,selector:s.selector,easing:s.easing,direction:s.direction,reverse:s.reverse,smoothHeight:s.smoothHeight,startAt:s.startAt,animationSpeed:s.animationSpeed,initDelay:s.initDelay,useCSS:s.useCSS,touch:s.touch,video:s.video,keyboard:s.keyboard,multipleKeyboard:s.multipleKeyboard,mousewheel:s.mousewheel,controlsContainer:s.controlsContainer,sync:s.sync,asNavFor:s.asNavFor,itemWidth:s.itemWidth,itemMargin:s.itemMargin,minItems:s.minItems,maxItems:s.maxItems,move:s.move,animation:s.animation,slideshow:s.slideshow,slideshowSpeed:s.slideshowSpeed,directionNav:s.directionNav,controlNav:s.controlNav,prevText:s.prevText,nextText:s.nextText,pausePlay:s.pausePlay,pauseText:s.pauseText,playText:s.playText,randomize:s.randomize,animationLoop:s.animationLoop,pauseOnAction:s.pauseOnAction,pauseOnHover:s.pauseOnHover,manualControls:s.manualControls,start:function(e){i(l,e)}};Drupal.flexsliderViewsSlideshow.load(l)})}};Drupal.flexsliderViewsSlideshow=Drupal.flexsliderViewsSlideshow||{};Drupal.flexsliderViewsSlideshow.load=function(i){var s=Drupal.settings.flexslider_views_slideshow[i];if(!s.loaded){e(s.targetId+' .flexslider').flexslider(s.opts);s.loaded=!0}};Drupal.flexsliderViewsSlideshow.pause=function(e){Drupal.flexsliderViewsSlideshow.active['#flexslider_views_slideshow_main_'+e.slideshowID].pause();Drupal.flexsliderViewsSlideshow.active['#flexslider_views_slideshow_main_'+e.slideshowID].manualPause=!0};Drupal.flexsliderViewsSlideshow.play=function(e){console.log(Drupal.flexsliderViewsSlideshow);Drupal.flexsliderViewsSlideshow.active['#flexslider_views_slideshow_main_'+e.slideshowID].resume();Drupal.flexsliderViewsSlideshow.active['#flexslider_views_slideshow_main_'+e.slideshowID].manualPause=!1};Drupal.flexsliderViewsSlideshow.nextSlide=function(e){var i=Drupal.flexsliderViewsSlideshow.active['#flexslider_views_slideshow_main_'+e.slideshowID].getTarget('next');
64if(Drupal.flexsliderViewsSlideshow.active['#flexslider_views_slideshow_main_'+e.slideshowID].canAdvance(i)){Drupal.flexsliderViewsSlideshow.active['#flexslider_views_slideshow_main_'+e.slideshowID].flexAnimate(i,Drupal.flexsliderViewsSlideshow.active['#flexslider_views_slideshow_main_'+e.slideshowID].vars.pauseOnAction)}};Drupal.flexsliderViewsSlideshow.previousSlide=function(e){var i=Drupal.flexsliderViewsSlideshow.active['#flexslider_views_slideshow_main_'+e.slideshowID].getTarget('prev');if(Drupal.flexsliderViewsSlideshow.active['#flexslider_views_slideshow_main_'+e.slideshowID].canAdvance(i)){Drupal.flexsliderViewsSlideshow.active['#flexslider_views_slideshow_main_'+e.slideshowID].flexAnimate(i,Drupal.flexsliderViewsSlideshow.active['#flexslider_views_slideshow_main_'+e.slideshowID].vars.pauseOnAction)}}})(jQuery);; 65/* Source and licensing information for the above line(s) can be found at https://laketahoethisweek.com/profiles/oneboat/modules/contrib/flexslider_views_slideshow/js/flexslider_views_slideshow.js. */;/*})'"*/ 66/* Source and licensing information for the line(s) below can be found at https://laketahoethisweek.com/profiles/oneboat/modules/features/ct_business_content_page/js/colorbox-url.js. */ 67(function(o){o(document).ready(function(){o('a.colorbox-live-content').not('.live-content-processed').colorbox({width:'80%',maxWidth:'725px',height:'80%',top:'20px',fixed:!0,iframe:!0,href:function(){var e=o(this).attr('href')+'?modal=1';return e}}).addClass('live-content-processed')});Drupal.behaviors.initOBColorboxLoad={attach:function(e,i){if(!o.isFunction(o.colorbox)){return};o('.view.ob-modal .node h2 a, .view.ob-modal .title a, .view.ob-modal .read-more a, .view.ob-modal .node .node-readmore a, .view.ob-modal .node .field-name-field-image a, .view.ob-modal .top-pick a, div.live-content h2 a, div.live-content .link a, div.live-content a.views-more-link, div.live-content .ob-modal a, a.colorbox-live-content').not('.live-content-processed, .no-ob-modal-processing a').colorbox({width:'80%',maxWidth:'725px',height:'80%',top:'20px',fixed:!0,iframe:!0,href:function(){var e=o(this).attr('href')+'?modal=1';return e}}).addClass('live-content-processed')}}})(jQuery);; 68/* Source and licensing information for the above line(s) can be found at https://laketahoethisweek.com/profiles/oneboat/modules/features/ct_business_content_page/js/colorbox-url.js. */;/*})'"*/ 69/* Source and licensing information for the line(s) below can be found at https://laketahoethisweek.com/profiles/oneboat/modules/features/oneboat_system/js/imp.js. */ 70;var imp={};(function(e,n){var t={};t.host_nid=undefined;t.site_nid=undefined;t.url=undefined;t.send_interval_ms=10000;var r=function(n,i){if(!n.length){return};e.post(t.url,{data:n,event:i,host:t.host_nid,site:t.site_nid})},p=function(e,t){for(var n in t){if(t.hasOwnProperty(n)){e[n]=t[n]}};return e},a=[],i=[],u=new Date().getTime(),f=new Date().getTime(),s=function(e){if(typeof e==='undefined'){e=!1};if(e||new Date().getTime()>(u+t.send_interval_ms)){r(a,'view');a=[];u=new Date().getTime()};if(e||new Date().getTime()>(f+t.send_interval_ms)){r(i,'load');i=[];f=new Date().getTime()}};e(window).bind('beforeunload',function(){s(!0)});var o=function(n){p(t,n);var d=function(){e('.ob-imp').not('.ob-imp-load-processed').each(function(){var t=e(this).attr('data-nid'),n=e(this).attr('data-imp-context');e(this).addClass('ob-imp-load-processed');i.push(t+':'+n)});s()},o=function(){e('.ob-imp').not('.ob-imp-view-processed').each(function(){if(e(this).visible(!0,!0)){var t=e(this).attr('data-nid'),n=e(this).attr('data-imp-context'),i=t+':'+n;a.push(i);e(this).addClass('ob-imp-view-processed')}});s()};setInterval(function(){if(typeof document.hidden!=='undefined'){if(!document.hidden){o()}} 71else{o()}},250);setInterval(function(){d()},1000)},d=function(){if(i){s(!0)} 72else{setTimeout(function(){d()},100)}};d();n.run=function(){};if(typeof Drupal!=='undefined'&&typeof Drupal.settings!=='undefined'&&typeof Drupal.settings.oneboat_system!=='undefined'){Drupal.behaviors.oneboatImpressionTracking={attach:function(e,n){var t={};t.host_nid=Drupal.settings.oneboat_system.host_nid;t.site_nid=Drupal.settings.oneboat_system.site_nid;t.url=Drupal.settings.oneboat_system.url;t.send_interval_ms=Drupal.settings.oneboat_system.send_interval*1000;o(t)}}} 73else{n.run=o}})(jQuery,imp);; 74/* Source and licensing information for the above line(s) can be found at https://laketahoethisweek.com/profiles/oneboat/modules/features/oneboat_system/js/imp.js. */;/*})'"*/ 75!function(t){var i=t(window);
75t.fn.visible=function(t,e,o){if(!(this.length<1)){var r=this.length>1?this.eq(0):this,n=r.get(0),f=i.width(),h=i.height(),o=o?o:"both",l=e===!0?n.offsetWidth*n.offsetHeight:!0;if("function"==typeof n.getBoundingClientRect){var g=n.getBoundingClientRect(),u=g.top>=0&&g.top<h,s=g.bottom>0&&g.bottom<=h,c=g.left>=0&&g.left<f,a=g.right>0&&g.right<=f,v=t?u||s:u&&s,b=t?c||a:c&&a;if("both"===o)return l&&v&&b;if("vertical"===o)return l&&v;if("horizontal"===o)return l&&b}else{var d=i.scrollTop(),p=d+h,w=i.scrollLeft(),m=w+f,y=r.offset(),z=y.top,B=z+r.height(),C=y.left,R=C+r.width(),j=t===!0?B:z,q=t===!0?z:B,H=t===!0?R:C,L=t===!0?C:R;if("both"===o)return!!l&&p>=q&&j>=d&&m>=L&&H>=w;if("vertical"===o)return!!l&&p>=q&&j>=d;if("horizontal"===o)return!!l&&m>=L&&H>=w}}}}(jQuery); 76;/*})'"*/;/*})'"*/ 77/* Source and licensing information for the line(s) below can be found at https://laketahoethisweek.com/profiles/oneboat/modules/contrib/google_analytics/googleanalytics.js. */ 78(function(a){Drupal.googleanalytics={};a(document).ready(function(){a(document.body).bind("mousedown keyup touchstart",function(t){a(t.target).closest("a,area").each(function(){if(Drupal.googleanalytics.isInternal(this.href)){if(a(this).is(".colorbox")&&(Drupal.settings.googleanalytics.trackColorbox)){} 79else if(Drupal.settings.googleanalytics.trackDownload&&Drupal.googleanalytics.isDownload(this.href)){gtag("event",Drupal.googleanalytics.getDownloadExtension(this.href).toUpperCase(),{event_category:"Downloads",event_label:Drupal.googleanalytics.getPageUrl(this.href),transport_type:"beacon"})} 80else if(Drupal.googleanalytics.isInternalSpecial(this.href)){var t=this;a.each(Drupal.settings.googleanalytics.account,function(){gtag("config",this,{page_path:Drupal.googleanalytics.getPageUrl(t.href),transport_type:"beacon"})})}} 81else{if(Drupal.settings.googleanalytics.trackMailto&&a(this).is("a[href^='mailto:'],area[href^='mailto:']")){gtag("event","Click",{event_category:"Mails",event_label:this.href.substring(7),transport_type:"beacon"})} 82else if(Drupal.settings.googleanalytics.trackOutbound&&this.href.match(/^\w+:\/\//i)){if(Drupal.settings.googleanalytics.trackDomainMode!==2||(Drupal.settings.googleanalytics.trackDomainMode===2&&!Drupal.googleanalytics.isCrossDomain(this.hostname,Drupal.settings.googleanalytics.trackCrossDomains))){gtag("event","Click",{event_category:"Outbound links",event_label:this.href,transport_type:"beacon"})}}}})});if(Drupal.settings.googleanalytics.trackUrlFragments){window.onhashchange=function(){a.each(Drupal.settings.googleanalytics.account,function(){gtag("config",this,{page_path:location.pathname+location.search+location.hash})})}};if(Drupal.settings.googleanalytics.trackColorbox){a(document).bind("cbox_complete",function(){var t=a.colorbox.element().attr("href");if(t){a.each(Drupal.settings.googleanalytics.account,function(){gtag("config",this,{page_path:Drupal.googleanalytics.getPageUrl(t)})})}})}});Drupal.googleanalytics.isCrossDomain=function(t,e){if(!e){return!1} 83else{return a.inArray(t,e)>-1?!0:!1}};Drupal.googleanalytics.isDownload=function(a){var t=new RegExp("\\.("+Drupal.settings.googleanalytics.trackDownloadExtensions+")([\?#].*)?$","i");return t.test(a)};Drupal.googleanalytics.isInternal=function(a){var t=new RegExp("^(https?):\/\/"+window.location.host,"i");return t.test(a)};Drupal.googleanalytics.isInternalSpecial=function(a){var t=new RegExp("(\/go\/.*)$","i");return t.test(a)};Drupal.googleanalytics.getPageUrl=function(a){var t=new RegExp("^(https?):\/\/"+window.location.host,"i");return a.replace(t,"")};Drupal.googleanalytics.getDownloadExtension=function(a){var e=new RegExp("\\.("+Drupal.settings.googleanalytics.trackDownloadExtensions+")([\?#].*)?$","i"),t=e.exec(a);return(t===null)?"":t[1]}})(jQuery);; 84/* Source and licensing information for the above line(s) can be found at https://laketahoethisweek.com/profiles/oneboat/modules/contrib/google_analytics/googleanalytics.js. */;/*})'"*/ 85/*! 86 * jQuery Mousewheel 3.1.13 87 * 88 * Copyright 2015 jQuery Foundation and other contributors 89 * Released under the MIT license. 90 * http://jquery.org/license 91 */ 92!function(a){"function"==typeof define&&define.amd?define(["jquery"],a):"object"==typeof exports?module.exports=a:a(jQuery)}(function(a){function b(b){var g=b||window.event,h=i.call(arguments,1
92),j=0,l=0,m=0,n=0,o=0,p=0;if(b=a.event.fix(g),b.type="mousewheel","detail"in g&&(m=-1*g.detail),"wheelDelta"in g&&(m=g.wheelDelta),"wheelDeltaY"in g&&(m=g.wheelDeltaY),"wheelDeltaX"in g&&(l=-1*g.wheelDeltaX),"axis"in g&&g.axis===g.HORIZONTAL_AXIS&&(l=-1*m,m=0),j=0===m?l:m,"deltaY"in g&&(m=-1*g.deltaY,j=m),"deltaX"in g&&(l=g.deltaX,0===m&&(j=-1*l)),0!==m||0!==l){if(1===g.deltaMode){var q=a.data(this,"mousewheel-line-height");j*=q,m*=q,l*=q}else if(2===g.deltaMode){var r=a.data(this,"mousewheel-page-height");j*=r,m*=r,l*=r}if(n=Math.max(Math.abs(m),Math.abs(l)),(!f||f>n)&&(f=n,d(g,n)&&(f/=40)),d(g,n)&&(j/=40,l/=40,m/=40),j=Math[j>=1?"floor":"ceil"](j/f),l=Math[l>=1?"floor":"ceil"](l/f),m=Math[m>=1?"floor":"ceil"](m/f),k.settings.normalizeOffset&&this.getBoundingClientRect){var s=this.getBoundingClientRect();o=b.clientX-s.left,p=b.clientY-s.top}return b.deltaX=l,b.deltaY=m,b.deltaFactor=f,b.offsetX=o,b.offsetY=p,b.deltaMode=0,h.unshift(b,j,l,m),e&&clearTimeout(e),e=setTimeout(c,200),(a.event.dispatch||a.event.handle).apply(this,h)}}function c(){f=null}function d(a,b){return k.settings.adjustOldDeltas&&"mousewheel"===a.type&&b%120===0}var e,f,g=["wheel","mousewheel","DOMMouseScroll","MozMousePixelScroll"],h="onwheel"in document||document.documentMode>=9?["wheel"]:["mousewheel","DomMouseScroll","MozMousePixelScroll"],i=Array.prototype.slice;if(a.event.fixHooks)for(var j=g.length;j;)a.event.fixHooks[g[--j]]=a.event.mouseHooks;var k=a.event.special.mousewheel={version:"3.1.12",setup:function(){if(this.addEventListener)for(var c=h.length;c;)this.addEventListener(h[--c],b,!1);else this.onmousewheel=b;a.data(this,"mousewheel-line-height",k.getLineHeight(this)),a.data(this,"mousewheel-page-height",k.getPageHeight(this))},teardown:function(){if(this.removeEventListener)for(var c=h.length;c;)this.removeEventListener(h[--c],b,!1);else this.onmousewheel=null;a.removeData(this,"mousewheel-line-height"),a.removeData(this,"mousewheel-page-height")},getLineHeight:function(b){var c=a(b),d=c["offsetParent"in a.fn?"offsetParent":"parent"]();return d.length||(d=a("body")),parseInt(d.css("fontSize"),10)||parseInt(c.css("fontSize"),10)||16},getPageHeight:function(b){return a(b).height()},settings:{adjustOldDeltas:!0,normalizeOffset:!0}};a.fn.extend({mousewheel:function(a){return a?this.bind("mousewheel",a):this.trigger("mousewheel")},unmousewheel:function(a){return this.unbind("mousewheel",a)}})}); 93;/*})'"*/;/*})'"*/ 94/* Source and licensing information for the line(s) below can be found at https://laketahoethisweek.com/profiles/oneboat/libraries/jScrollPane/mwheelIntent.js. */ 95(function(e){var n={pos:[-260,-260]},t=3,i=document,o=i.documentElement,l=i.body,u,h;function s(){if(this===n.elem){n.pos=[-260,-260];n.elem=!1;t=3}};e.event.special.mwheelIntent={setup:function(){var n=e(this).bind('mousewheel',e.event.special.mwheelIntent.handler);if(this!==i&&this!==o&&this!==l){n.bind('mouseleave',s)};n=null;return!0},teardown:function(){e(this).unbind('mousewheel',e.event.special.mwheelIntent.handler).unbind('mouseleave',s);return!0},handler:function(i,s){var l=[i.clientX,i.clientY];if(this===n.elem||Math.abs(n.pos[0]-l[0])>t||Math.abs(n.pos[1]-l[1])>t){n.elem=this;n.pos=l;t=250;clearTimeout(h);h=setTimeout(function(){t=10},200);clearTimeout(u);u=setTimeout(function(){t=3},1500);i=e.extend({},i,{type:'mwheelIntent'});return(e.event.dispatch||e.event.handle).apply(this,arguments)}}};e.fn.extend({mwheelIntent:function(e){return e?this.bind('mwheelIntent',e):this.trigger('mwheelIntent')},unmwheelIntent:function(e){return this.unbind('mwheelIntent',e)}});e(function(){l=i.body;e(i).bind('mwheelIntent.mwheelIntentDefault',e.noop)})})(jQuery);; 96/* Source and licensing information for the above line(s) can be found at https://laketahoethisweek.com/profiles/oneboat/libraries/jScrollPane/mwheelIntent.js. */;/*})'"*/ 97/* Source and licensing information for the line(s) below can be found at https://laketahoethisweek.com/profiles/oneboat/themes/oneboat_bootstrap/scripts/initScrollPane.js. */ 98;jQuery(document).ready(function(n){var t=function(){var t=e.jScrollPane({horizontalDragMaxWidth:0,contentWidth:1}).data('jsp');var i;n(window).on('resize',function(){if(!i){i=setTimeout(function(){if(typeof t!=='undefined'){t.reinitialise();i=null}},50)}})},e=n('.sidebar-closeable'),i=function(){if(typeof e.jScrollPane==='function'){t()} 99else{setTimeout(function(){i()},250)}};i()});; 100/* Source and licensing information for the above line(s) can be found at https://laketahoethisweek.com/profiles/oneboat/themes/oneboat_bootstrap/scripts/initScrollPane.js. */;/*})'"*/ 101/* Source and licensing information for the line(s) below can be found at https://laketahoethisweek.com/profiles/oneboat/modules/features/oneboat_system/js/click-tracking.js. */ 102;var oneboat_track_click=function(a){gtag('event','page_view',{'send_to':'default','event_category':a});if(typeof obLogClickTracking!=='undefined'&&obLogClickTracking){console.log('Click tracking - Param: '+a)}};(function(a){Drupal.behaviors.oneboatClickTracking={attach:function(c,t){var n='a.tracked-link';a(n).once('ob-tracking-link').each(function(){a(this).click(function(){var c=a(this).attr('data-tracking-param');oneboat_track_click(c);return!0})})}}})(jQuery);; 103/* Source and licensing information for the above line(s) can be found at https://laketahoethisweek.com/profiles/oneboat/modules/features/oneboat_system/js/click-tracking.js. */;/*})'"*/ 104/* Source and licensing information for the line(s) below can be found at https://laketahoethisweek.com/profiles/oneboat/modules/features/ct_slideshow/js/click-tracking.js. */ 105(function(i){Drupal.behaviors.oneboatSlideshowClickTracking={attach:function(e,a){var t='.views_slideshow_main .views-field-field-sli
105deshow-image a';i(t).once('ob-tracking-link').each(function(){i(this).click(function(){var e=i(this).parents('.flexslider-views-slideshow-main-frame-row').first().find('.views-field-field-slideshow-title .field-content').text(),t=i(this).attr('href'),a='SS - '+e+' - '+t;oneboat_track_click(a);return!0})})}}})(jQuery);; 106/* Source and licensing information for the above line(s) can be found at https://laketahoethisweek.com/profiles/oneboat/modules/features/ct_slideshow/js/click-tracking.js. */;/*})'"*/ 107/* Source and licensing information for the line(s) below can be found at https://laketahoethisweek.com/profiles/oneboat/modules/features/oneboat_layout/js/toggle-login.js. */ 108(function(o){Drupal.behaviors.oneboat_layout={attach:function(e,r){o('.region-footer #user-login-form').hide();o('.region-footer .block-title').click(function(){o('.region-footer #user-login-form').toggle()})}}})(jQuery);; 109/* Source and licensing information for the above line(s) can be found at https://laketahoethisweek.com/profiles/oneboat/modules/features/oneboat_layout/js/toggle-login.js. */;/*})'"*/ 110/* Source and licensing information for the line(s) below can be found at https://laketahoethisweek.com/profiles/oneboat/themes/bootstrap/js/misc/_progress.js. */ 111(function(r){Drupal.progressBar=function(e,s,i,t){var a=this;this.id=e;this.method=i||'GET';this.updateCallback=s;this.errorCallback=t;this.element=r('<div class="progress-wrapper" aria-live="polite"></div>');this.element.html('<div id ="'+e+'" class="progress progress-striped active"><div class="progress-bar" role="progressbar" aria-valuemin="0" aria-valuemax="100" aria-valuenow="0"><div class="percentage sr-only"></div></div></div></div><div class="percentage pull-right"></div><div class="message"> </div>')};Drupal.progressBar.prototype.setProgress=function(e,s){if(e>=0&&e<=100){r('div.progress-bar',this.element).css('width',e+'%');r('div.progress-bar',this.element).attr('aria-valuenow',e);r('div.percentage',this.element).html(e+'%')};r('div.message',this.element).html(s);if(this.updateCallback){this.updateCallback(e,s,this)}};Drupal.progressBar.prototype.startMonitoring=function(r,e){this.delay=e;this.uri=r;this.sendPing()};Drupal.progressBar.prototype.stopMonitoring=function(){clearTimeout(this.timer);this.uri=null};Drupal.progressBar.prototype.sendPing=function(){if(this.timer){clearTimeout(this.timer)};if(this.uri){var e=this;r.ajax({type:this.method,url:this.uri,data:'',dataType:'json',success:function(r){if(r.status==0){e.displayError(r.data);return};e.setProgress(r.percentage,r.message);e.timer=setTimeout(function(){e.sendPing()},e.delay)},error:function(r){e.displayError(Drupal.ajaxError(r,e.uri))}})}};Drupal.progressBar.prototype.displayError=function(e){var s=r('<div class="alert alert-block alert-error"><a class="close" data-dismiss="alert" href="#">×</a><h4>Error message</h4></div>').append(e);r(this.element).before(s).hide();if(this.errorCallback){this.errorCallback(this)}}})(jQuery);; 112/* Source and licensing information for the above line(s) can be found at https://laketahoethisweek.com/profiles/oneboat/themes/bootstrap/js/misc/_progress.js. */;/*})'"*/ 113/* Source and licensing information for the line(s) below can be found at https://laketahoethisweek.com/profiles/oneboat/modules/contrib/colorbox_node/colorbox_node.js. */ 114(function(e){Drupal.ajax.prototype.commands.colorboxNodeReload=function(e,o){location.reload()};Drupal.ajax.prototype.commands.colorboxNodeRedirect=function(e,o){window.location.replace(o.data)};Drupal.behaviors.colorboxNode={attach:function(o,r){if(!e.isFunction(e.colorbox)||typeof r.colorbox==='undefined'){return};if(r.colorbox.mobiledetect&&window.matchMedia){var n=window.matchMedia('(max-device-width: '+r.colorbox.mobiledevicewidth+')');if(n.matches){return}};e('.colorbox-node',o).once('init-colorbox-node-processed',function(){e(this).colorboxNode({'launch':!1})});e('ul.contextual-links a',o).once('colorboxNodeContextual').click(function(){e.colorbox.close()})}};e.fn.colorboxNodeLaunch=function(r){var t=e(this).clone();if(!t.hasClass('colorbox-node-gallery')){t.attr('rel','')};if(!o(r.href)){return};var a=t.data('inner-width'),l=t.data('inner-height');
114if(typeof a!='undefined'&&typeof l!='undefined'){var n=e.urlDataParams(a,l)} 115else{var n=e.urlParams(r.href)};if(n.innerHeight==undefined){n.innerHeight=r.height};if(n.innerWidth==undefined){n.innerWidth=r.width};n.html='<div id="colorboxNodeLoading"></div>';n.onComplete=function(){t.colorboxNodeGroup()};n.open=!0;t.colorbox(e.extend({},Drupal.settings.colorbox,n))};e.fn.colorboxNode=function(r){var u=this;r=r||{};var o={'launch':!0,'width':Drupal.settings.colorbox_node.width,'height':Drupal.settings.colorbox_node.height};e.extend(o,r);o.href=u.attr('data-href');if(typeof o.href=='undefined'||o.href==!1){o.href=u.attr('href')};o.href=Drupal.checkPlain(o.href).replaceAll('&','&');var t=document.createElement('a');t.href=o.href;if(!o.href){alert(Drupal.t('No url found on element'))};var n=Drupal.settings.basePath,i=Drupal.settings.pathPrefix,l=t.pathname;if(l.charAt(0)!='/'){l='/'+t.pathname};var d=e.getParameterByName('q',o.href);if(n!='/'){if(d!=''){o.link=l.replace(n,n+t.search.replace('?q=','?q=/'+i+'colorbox/'))} 116else{o.link=l.replace(n,n+i+'colorbox/')+t.search}} 117else{if(d!=''){o.link=n+t.search.replace('?q=','?q=/'+i+'colorbox/')} 118else{o.link=n+i+'colorbox'+l+t.search}};var a={};a.async=!0;a.progress={'type':'none'};if(o.link){a.url=o.link;a.event='click'};var c=Drupal.checkPlain(e(this).attr('id'));Drupal.ajax[c]=new Drupal.ajax(c,this,a);if(o.launch){Drupal.ajax[c].eventResponse(this,'click');e(this).colorboxNodeLaunch(o)} 119else{e(this).click(function(){e(this).colorboxNodeLaunch(o)})}};e.fn.colorboxNodeGroup=function(){var n=e(this),r=Drupal.checkPlain(n.attr('rel'));if(r&&n.hasClass('colorbox-node-gallery')){if(e('a.colorbox-node-gallery[rel="'+r+'"]:not(#colorbox a[rel="'+r+'"])').length>1){$related=e('a.colorbox-node-gallery[rel="'+r+'"]:not(#colorbox a[rel="'+r+'"])');var o=[];$related.each(function(){e.findHref(o,this.href);if(!e.findHref(o,this.href).length){o.push(this)}});var c=e.findHref(o,n.get(0).href);$related=e(o);var a=$related.index(e(c)),i=$related.length;e('#cboxPrevious, #cboxNext').show();e.colorbox.next=function(){index=l(1);$related[index].click()};e.colorbox.prev=function(){index=l(-1);$related[index].click()};e('#cboxCurrent').html(Drupal.settings.colorbox.current.replace('{current}',a+1).replace('{total}',i)).show();e('#cboxNext').html(Drupal.settings.colorbox.next).show();e('#cboxPrevious').html(Drupal.settings.colorbox.previous).show();var t='colorbox';e(document).unbind('keydown.'+t);e(document).bind('keydown.'+t,function(o){var r=o.keyCode;if($related[1]&&!o.altKey){if(r===37){o.preventDefault();e.colorbox.prev()} 120else if(r===39){o.preventDefault();e.colorbox.next()}}})};function l(e){var r=$related.length,o=(a+e)%r;return(o<0)?r+o:o}}};e.findHref=function(o,r){return e.grep(o,function(e,o){return e.href==r})};e.urlParams=function(e){var r={},o,t=/\+/g,a=/([^&=]+)=?([^&]*)/g,n=function(e){return decodeURIComponent(e.replace(t,' '))},l=e.split('?');while(o=a.exec(l[1])){o[1]=n(o[1]);o[2]=n(o[2]);switch(o[2].toLowerCase()){case'true':case'yes':o[2]=!0;break;case'false':case'no':o[2]=!1;break};if(o[1]=='width'){o[1]='innerWidth'};if(o[1]=='height'){o[1]='innerHeight'};r[o[1]]=o[2]};return r};e.urlDataParams=function(e,o){return{'innerWidth':e,'innerHeight':o}};e.getParameterByName=function(e,o){e=e.replace(/[\[]/,'\\\[').replace(/[\]]/,'\\\]');var n='[\\?&]'+e+'=([^&#]*)',t=new RegExp(n),r=t.exec(o);if(r==null){return''} 121else{return decodeURIComponent(r[1].replace(/\+/g,' '))}};function o(e){var o=Drupal.absoluteUrl(e);if(!Drupal.urlIsLocal(o)){return!1};if(o.indexOf(Drupal.settings.colorbox.file_public_path)!==-1||o.match(/\/system\/files\//)||o.match(/[?|&]q=system\/files\//)){return!1};return!0}})(jQuery);; 122/* Source and licensing information for the above line(s) can be found at https://laketahoethisweek.com/profiles/oneboat/modules/contrib/colorbox_node/colorbox_node.js. */;/*})'"*/ 123/* Source and licensing information for the line(s) below can be found at https://laketahoethisweek.com/profiles/oneboat/themes/oneboat_bootstrap/scripts.js. */ 124;jQuery(document).ready(function(e){e(".dropdown a").removeAttr("data-toggle");e(".dropdown").removeAttr("data-dropdown").removeAttr("data-target").hover(function(){e(this).find(".dropdown-menu").stop(!0,!0).delay(200).fadeIn();e(this).addClass("open")},function(){e(this).find(".dropdown-menu").stop(!0,!0).delay(400).fadeOut();e(this).removeClass("open")});var o=e("iframe[src^='http://player.vimeo.com'], iframe[src^='http://www.youtube.com'], object, embed"),l=e(".region-content");o.each(function(){e(this).attr("data-aspectRatio",this.height/this.width).removeAttr("height").removeAttr("width")});e(window).resize(function(){var t=l.width();o.each(function(){var o=e(this);o.width(t).height(t*o.attr("data-aspectRatio"))})}).resize();var s=e(document),r=e("body"),t=!1;e(window).scroll(function(){t=!0});setInterval(function(){if(t){t=!1;r.toggleClass("scrolled",s.scrollTop()>=610)}},100);if(e(window).width()<768){e(".buttons-logo-area__button--toggle-menu--active-default").removeClass("buttons-logo-area__button--toggle-menu--active-default");e(".sidebar-closeable--open-default").removeClass("sidebar-closeable--open-default")};e(".js-toggle-sidebar-menu").on("click",function(){if(e(window).width()<768){e(".buttons-logo-area__button--toggle-menu--active-default").removeClass("buttons-logo-area__button--toggle-menu--active-default");e(".sidebar-closeable--open-default").removeClass("sidebar-closeable--open-default")};e(".buttons-logo-area__button--toggle-menu--active-default").removeClass("buttons-logo-area__button--toggle-menu--active-default").addClass("buttons-logo-area__button--toggle-menu--active");e(".sidebar-closeable--open-default").removeClass("sidebar-closeable--open-default").addClass("sidebar-closeable--open");e(".sidebar-closeable").toggleClass("sidebar-closeable--open");e(this).toggleClass("buttons-logo-area__button--toggle-menu--active")});
124e(".js-toggle-search-area").on("click",function(){e(".buttons-logo-area__button--search-wrapper").toggleClass("buttons-logo-area__button--search-wrapper--active");if(e(".buttons-logo-area__button--search-wrapper").hasClass("buttons-logo-area__button--search-wrapper--active")){e("#search-api-page-search-form-default-oneboat-search input.form-text").focus()}});e("a.colorbox-video").click(function(){if(!e(this).hasClass("init-colorbox-processed")){var t=e(this).attr("data-video-url");if(t){e(this).attr("href",t)}};return!0});e(".mobile-toggle").click(function(t){t.preventDefault();var o=e(this).attr("data-toggle-class");if(o){e("."+o).toggle()};return!1});e(".dashboard-menu-toggle").click(function(){e(".dashboard-menu-content").slideToggle(100)});var n=e(window);function a(){var t=n.width();if(t>768){e(".dashboard-menu-content").show()} 125else{e(".dashboard-menu-content").hide()}};a();e(window).resize(a);jQuery.ajaxPrefilter(function(e){if(e.crossDomain){e.contents.script=!1}})});; 126/* Source and licensing information for the above line(s) can be found at https://laketahoethisweek.com/profiles/oneboat/themes/oneboat_bootstrap/scripts.js. */;/*})'"*/
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.