").attr("data-orbit-slide",t).on("click",_.link_bullet);i.append(e)}))},_._goto=function(e,i){if(e===p)return!1;"object"==typeof d&&d.restart();var s=_.slides(),t="next";if(!0,e=s.length){if(!l.circular)return!1;e=0}else if(e<0){if(!l.circular)return!1;e=s.length-1}var a=m(s.get(p)),n=m(s.get(e));a.css("zIndex",2),a.removeClass(l.active_slide_class),n.css("zIndex",4).addClass(l.active_slide_class),u.trigger("before-slide-change.fndtn.orbit"),l.before_slide_change(),_.update_active_link(e);var r=function(){var t=function(){p=e,!!1===i&&(d=_.create_timer()).start(),_.update_slide_number(p),u.trigger("after-slide-change.fndtn.orbit",[{slide_number:p,total_slides:s.length}]),l.after_slide_change(p,s.length)};u.outerHeight()!=n.outerHeight()&&l.variable_height?u.animate({height:n.outerHeight()},250,"linear",t):t()};if(1===s.length)return r(),!1;var o=function(){"next"===t&&c.next(a,n,r),"prev"===t&&c.prev(a,n,r)};n.outerHeight()>u.outerHeight()&&l.variable_height?u.animate({height:n.outerHeight()},250,"linear",o):o()},_.next=function(t){t.stopImmediatePropagation(),t.preventDefault(),_._goto(p+1)},_.prev=function(t){t.stopImmediatePropagation(),t.preventDefault(),_._goto(p-1)},_.link_custom=function(t){t.preventDefault();var e=m(this).attr("data-orbit-link");if("string"==typeof e&&""!=(e=m.trim(e))){var i=s.find("[data-orbit-slide="+e+"]");-1!=i.index()&&_._goto(i.index())}},_.link_bullet=function(){var t=m(this).attr("data-orbit-slide");if("string"==typeof t&&""!=(t=m.trim(t)))if(isNaN(parseInt(t))){var e=s.find("[data-orbit-slide="+t+"]");-1!=e.index()&&_._goto(e.index()+1)}else _._goto(parseInt(t))},_.timer_callback=function(){_._goto(p+1,!0)},_.compute_dimensions=function(){var t=m(_.slides().get(p)).outerHeight();l.variable_height||_.slides().each(function(){m(this).outerHeight()>t&&(t=m(this).outerHeight())}),u.height(t)},_.create_timer=function(){return new g(s.find("."+l.timer_container_class),l,_.timer_callback)},_.stop_timer=function(){"object"==typeof d&&d.stop()},_.toggle_timer=function(){s.find("."+l.timer_container_class).hasClass(l.timer_paused_class)?(void 0===d&&(d=_.create_timer()),d.start()):"object"==typeof d&&d.stop()},_.init=function(){_.build_markup(),l.timer&&(d=_.create_timer(),Foundation.utils.image_loaded(this.slides().children("img"),d.start)),c=new h(l,u),"slide"===l.animation&&(c=new f(l,u)),s.on("click","."+l.next_class,_.next),s.on("click","."+l.prev_class,_.prev),l.next_on_click&&s.on("click","."+l.slides_container_class+" [data-orbit-slide]",_.link_bullet),s.on("click",_.toggle_timer),l.swipe&&s.on("touchstart.fndtn.orbit",function(t){t.touches||(t=t.originalEvent);var e={start_page_x:t.touches[0].pageX,start_page_y:t.touches[0].pageY,start_time:(new Date).getTime(),delta_x:0,is_scrolling:o};s.data("swipe-transition",e),t.stopPropagation()}).on("touchmove.fndtn.orbit",function(t){if(t.touches||(t=t.originalEvent),!(1",{"class":this.settings.bg_class}).appendTo("body").hide());var n=0').parent();e.on("closed.fndtn.reveal.wrapped",function(){e.detach().appendTo(a),e.unwrap().unbind("closed.fndtn.reveal.wrapped")}),e.detach().appendTo(n)}var o=l(r.animation);if(o.animate||(this.locked=!1),o.pop){t.top=d(c).scrollTop()-e.data("offset")+"px";var i={top:d(c).scrollTop()+e.data("css-top")+"px",opacity:1};return setTimeout(function(){return e.css(t).animate(i,r.animation_speed,"linear",function(){s.locked=!1,e.trigger("opened.fndtn.reveal")}).addClass("open")},r.animation_speed/2)}if(o.fade){t.top=d(c).scrollTop()+e.data("css-top")+"px";i={opacity:1};return setTimeout(function(){return e.css(t).animate(i,r.animation_speed,"linear",function(){s.locked=!1,e.trigger("opened.fndtn.reveal")}).addClass("open")},r.animation_speed/2)}return e.css(t).show().css({opacity:1}).addClass("open").trigger("opened.fndtn.reveal")}var r;return l((r=this.settings).animation).fade?e.fadeIn(r.animation_speed/2):(this.locked=!1,e.show())},to_back:function(e){e.addClass("toback")},to_front:function(e){e.removeClass("toback")},hide:function(e,t){if(t){var n=e.data(this.attr_name(!0)+"-init"),s=this,a=l((n=n||this.settings).animation);if(a.animate||(this.locked=!1),a.pop){var o={top:-d(c).scrollTop()-e.data("offset")+"px",opacity:0};return setTimeout(function(){return e.animate(o,n.animation_speed,"linear",function(){s.locked=!1,e.css(t).trigger("closed.fndtn.reveal")}).removeClass("open")},n.animation_speed/2)}if(a.fade){o={opacity:0};return setTimeout(function(){return e.animate(o,n.animation_speed,"linear",function(){s.locked=!1,e.css(t).trigger("closed.fndtn.reveal")}).removeClass("open")},n.animation_speed/2)}return e.hide().css(t).removeClass("open").trigger("closed.fndtn.reveal")}return l((n=this.settings).animation).fade?e.fadeOut(n.animation_speed/2):e.hide()},close_video:function(e){var t=d(".flex-video",e.target),n=d("iframe",t);0 .active > a",this.scope).each(function(){n.default_tab_hashes.push(this.hash)}),n.entry_location=u.location.href,this.bindings(a,e),this.handle_location_hash_change()},events:function(){var e=this,n=this.S,i=function(t,a){n(a).closest("["+e.attr_name()+"]").data(e.attr_name(!0)+"-init").is_hover&&!Modernizr.touch||(t.preventDefault(),t.stopPropagation(),e.toggle_active_tab(n(a).parent()))};n(this.scope).off(".tab").on("keydown.fndtn.tab","["+this.attr_name()+"] > * > a",function(t){var a=this;9==(t.keyCode||t.which)&&(t.preventDefault(),i(t,a))}).on("click.fndtn.tab","["+this.attr_name()+"] > * > a",function(t){i(t,this)}).on("mouseenter.fndtn.tab","["+this.attr_name()+"] > * > a",function(){n(this).closest("["+e.attr_name()+"]").data(e.attr_name(!0)+"-init").is_hover&&e.toggle_active_tab(n(this).parent())}),n(u).on("hashchange.fndtn.tab",function(t){t.preventDefault(),e.handle_location_hash_change()})},handle_location_hash_change:function(){var s=this,r=this.S;r("["+this.attr_name()+"]",this.scope).each(function(){var t,a=r(this).data(s.attr_name(!0)+"-init");if(a.deep_linking)if(""!=(t=a.scroll_to_content?s.scope.location.hash:s.scope.location.hash.replace("fndtn-",""))){var e=r(t);if(e.hasClass("content")&&e.parent().hasClass("tabs-content"))s.toggle_active_tab(f("["+s.attr_name()+"] > * > a[href="+t+"]").parent());else{var n=e.closest(".content").attr("id");n!=g&&s.toggle_active_tab(f("["+s.attr_name()+"] > * > a[href=#"+n+"]").parent(),t)}}else for(var i=0;i * > a[href="+s.default_tab_hashes[i]+"]").parent())})},toggle_active_tab:function(t,a){var n=this,e=n.S,i=t.closest("["+this.attr_name()+"]"),s=t.find("a"),r=t.children("a").first(),o="#"+r.attr("href").split("#")[1],c=e(o),l=t.siblings(),h=i.data(this.attr_name(!0)+"-init"),d=function(t){var a,e=f(this),n=f(this).parents("li").prev().children('[role="tab"]'),i=f(this).parents("li").next().children('[role="tab"]');switch(t.keyCode){case 37:a=n;break;case 39:a=i;break;default:a=!1}a.length&&(e.attr({tabindex:"-1","aria-selected":null}),a.attr({tabindex:"0","aria-selected":!0}).focus()),f('[role="tabpanel"]').attr("aria-hidden","true"),f("#"+f(b.activeElement).attr("href").substring(1)).attr("aria-hidden",null)},_=function(t){var a=u.location.href===n.entry_location,e=h.scroll_to_content?n.default_tab_hashes[0]:a?u.location.hash:"fndtn-"+n.default_tab_hashes[0].replace("#","");a&&t===e||(u.location.hash=t)};r.data("tab-content")&&(c=e(o="#"+r.data("tab-content").split("#")[1])),h.deep_linking&&(h.scroll_to_content?(_(a||o),a==g||a==o?t.parent()[0].scrollIntoView():e(o)[0].scrollIntoView()):_(a!=g?"fndtn-"+a.replace("#",""):"fndtn-"+o.replace("#",""))),t.addClass(h.active_class).triggerHandler("opened"),s.attr({"aria-selected":"true",tabindex:0}),l.removeClass(h.active_class),l.find("a").attr({"aria-selected":"false",tabindex:-1}),c.siblings().removeClass(h.active_class).attr({"aria-hidden":"true",tabindex:-1}),c.addClass(h.active_class).attr("aria-hidden","false").removeAttr("tabindex"),h.callback(t),c.triggerHandler("toggled",[c]),i.triggerHandler("toggled",[t]),s.off("keydown").on("keydown",d)},data_attr:function(t){return 0'+e+''}},cache:{},init:function(t,e,o){Foundation.inherit(this,"random_str"),this.bindings(e,o)},should_show:function(t){var e=l.extend({},this.settings,this.data_options(t));return"all"===e.show_on||(!(!this.small()||"small"!==e.show_on)||(!(!this.medium()||"medium"!==e.show_on)||!(!this.large()||"large"!==e.show_on)))},medium:function(){return matchMedia(Foundation.media_queries.medium).matches},large:function(){return matchMedia(Foundation.media_queries.large).matches},events:function(t){function s(t,e,o){t.timer||(o?(t.timer=null,a.showTip(e)):t.timer=setTimeout(function(){t.timer=null,a.showTip(e)}.bind(t),a.settings.hover_delay))}function n(t,e){t.timer&&(clearTimeout(t.timer),t.timer=null),a.hide(e)}var a=this,r=a.S;a.create(this.S(t)),l(this.scope).off(".tooltip").on("mouseenter.fndtn.tooltip mouseleave.fndtn.tooltip touchstart.fndtn.tooltip MSPointerDown.fndtn.tooltip","["+this.attr_name()+"]",function(t){var e=r(this),o=l.extend({},a.settings,a.data_options(e));if(Modernizr.touch&&/touchstart|MSPointerDown/i.test(t.type)&&r(t.target).is("a"))return!1;if(/mouse/i.test(t.type)&&a.ie_touch(t))return!1;if(e.hasClass("open"))Modernizr.touch&&/touchstart|MSPointerDown/i.test(t.type)&&t.preventDefault(),a.hide(e);else{if(o.disable_for_touch&&Modernizr.touch&&/touchstart|MSPointerDown/i.test(t.type))return;if(!o.disable_for_touch&&Modernizr.touch&&/touchstart|MSPointerDown/i.test(t.type)&&(t.preventDefault(),r(o.tooltip_class+".open").hide(),!0,0