text: !function(c,l,s,n){"use strict";var t,e;t=["foundation-mq-small","foundation-mq-small-only","foundation-mq-medium","foundation-mq-medium-only","foundation-mq-large","foundation-mq-large-only","foundation-mq-xlarge","foundation-mq-xlarge-only","foundation-mq-xxlarge","foundation-data-attribute-namespace"],(e=c("head")).prepend(c.map(t,function(t){if(0===e.has("."+t).length)return'<meta class="'+t+'" />'})),c(function(){"undefined"!=typeof FastClick&&void 0!==s.body&&FastClick.attach(s.body)});function r(t,e){if("string"!=typeof t)return c(t,e);if(e){var i;if(e.jquery){if(!(i=e[0]))return e}else i=e;return c(i.querySelectorAll(t))}return c(s.querySelectorAll(t))}function i(t){var e=[];return t||e.push("data"),0<this.namespace.length&&e.push(this.namespace),e.push(this.name),e.join("-")}function a(t){for(var e=t.split("-"),i=e.length,s=[];i--;)0===i&&0<this.namespace.length?s.push(this.namespace,e[i]):s.push(e[i]);return s.reverse().join("-")}function o(i,s){function t(){var t=r(this),e=!t.data(n.attr_name(!0)+"-init");t.data(n.attr_name(!0)+"-init",c.extend({},n.settings,s||i,n.data_options(t))),e&&n.events(this)}var n=this;if(r(this.scope).is("["+this.attr_name()+"]")?t.call(this.scope):r("["+this.attr_name()+"]",this.scope).each(t),"string"==typeof i)return this[i].call(this,s)}function d(t,e){function i(){e(t[0])}!t.attr("src")||t[0].complete||4===t[0].readyState?i():function(){var t,e;this.one("load",i),/MSIE (\d+\.\d+);/.test(navigator.userAgent)&&(e=(t=this.attr("src")).match(/\?/)?"&":"?",e+="random="+(new Date).getTime(),this.attr("src",t+e))}.call(t)}var h,u,p,f;function g(t){this.selector=t,this.query=""}
  /*! matchMedia() polyfill - Test a CSS media type/query in JS. Authors & copyright (c) 2012: Scott Jehl, Paul Irish, Nicholas Zakas, David Knight. Dual MIT/BSD license */
  l.matchMedia||(l.matchMedia=((f=l.styleMedia||l.media)||(h=s.createElement("style"),u=s.getElementsByTagName("script")[0],p=null,h.type="text/css",h.id="matchmediajs-test",u.parentNode.insertBefore(h,u),p="getComputedStyle"in l&&l.getComputedStyle(h,null)||h.currentStyle,f={matchMedium:function(t){t="@media "+t+"{ #matchmediajs-test { width: 1px; } }";return h.styleSheet?h.styleSheet.cssText=t:h.textContent=t,"1px"===p.width}}),function(t){return{matches:f.matchMedium(t||"all"),media:t||"all"}})),function(e){for(var i,n=0,t=["webkit","moz"],s=l.requestAnimationFrame,a=l.cancelAnimationFrame,o=void 0!==e.fx;n<t.length&&!s;n++)s=l[t[n]+"RequestAnimationFrame"],a=a||l[t[n]+"CancelAnimationFrame"]||l[t[n]+"CancelRequestAnimationFrame"];function r(){i&&(s(r),o&&e.fx.tick())}s?(l.requestAnimationFrame=s,l.cancelAnimationFrame=a,o&&(e.fx.timer=function(t){t()&&e.timers.push(t)&&!i&&(i=!0,r())},e.fx.stop=function(){i=!1})):(l.requestAnimationFrame=function(t){var e=(new Date).getTime(),i=Math.max(0,16-(e-n)),s=l.setTimeout(function(){t(e+i)},i);return n=e+i,s},l.cancelAnimationFrame=function(t){clearTimeout(t)})}(c),g.prototype.toString=function(){return this.query||(this.query=r(this.selector).css("font-family").replace(/^[\/\\'"]+|(;\s?})+|[\/\\'"]+$/g,""))},l.Foundation={name:"Foundation",version:"5.5.3",media_queries:{small:new g(".foundation-mq-small"),"small-only":new g(".foundation-mq-small-only"),medium:new g(".foundation-mq-medium"),"medium-only":new g(".foundation-mq-medium-only"),large:new g(".foundation-mq-large"),"large-only":new g(".foundation-mq-large-only"),xlarge:new g(".foundation-mq-xlarge"),"xlarge-only":new g(".foundation-mq-xlarge-only"),xxlarge:new g(".foundation-mq-xxlarge")},stylesheet:c("<style></style>").appendTo("head")[0].sheet,global:{namespace:n},init:function(t,e,i,s,n){var n=[t,i,s,n],a=[];if(this.rtl=/rtl/i.test(r("html").attr("dir")),this.scope=t||this.scope,this.set_namespace(),e&&"string"==typeof e&&!/reflow/i.test(e))this.libs.hasOwnProperty(e)&&a.push(this.init_lib(e,n));else for(var o in this.libs)a.push(this.init_lib(o,e));return r(l).load(function(){r(l).trigger("resize.fndtn.clearing").trigger("resize.fndtn.dropdown").trigger("resize.fndtn.equalizer").trigger("resize.fndtn.interchange").trigger("resize.fndtn.joyride").trigger("resize.fndtn.magellan").trigger("resize.fndtn.topbar").trigger("resize.fndtn.slider")}),t},init_lib:function(t,e){return this.libs.hasOwnProperty(t)?(this.patch(this.libs[t]),e&&e.hasOwnProperty(t)?(void 0!==this.libs[t].settings?c.extend(!0,this.libs[t].settings,e[t]):void 0!==this.libs[t].defaults&&c.extend(!0,this.libs[t].defaults,e[t]),this.libs[t].init.apply(this.libs[t],[this.scope,e[t]])):(e=e instanceof Array?e:new Array(e),this.libs[t].init.apply(this.libs[t],e))):function(){}},patch:function(t){t.scope=this.scope,t.namespace=this.global.namespace,t.rtl=this.rtl,t.data_options=this.utils.data_options,t.attr_name=i,t.add_namespace=a,t.bindings=o,t.S=this.utils.S},inherit:function(t,e){for(var i=e.split(" "),s=i.length;s--;)this.utils.hasOwnProperty(i[s])&&(t[i[s]]=this.utils[i[s]])},set_namespace:function(){var t=this.global.namespace===n?c(".foundation-data-attribute-namespace").css("font-family"):this.global.namespace;this.global.namespace=t===n||/false/i.test(t)?"":t},libs:{},utils:{S:r,throttle:function(i,s){var n=null;return function(){var t=this,e=arguments;null==n&&(n=setTimeout(function(){i.apply(t,e),n=null},s))}},debounce:function(s,n,a){var o,r;return function(){var t=this,e=arguments,i=a&&!o;return clearTimeout(o),o=setTimeout(function(){o=null,a||(r=s.apply(t,e))},n),r=i?s.apply(t,e):r}},data_options:function(t,e){e=e||"options";var i,s,n,a,o,r,l={},t=(a=t,0<(o=Foundation.global.namespace).length?a.data(o+"-"+e):a.data(e));if("object"==typeof t)return t;function d(t){return"string"==typeof t?c.trim(t):t}for(i=(n=(t||":").split(";")).length;i--;)s=[(s=n[i].split(":"))[0],s.slice(1).join(":")],/true/i.test(s[1])&&(s[1]=!0),/false/i.test(s[1])&&(s[1]=!1),r=s[1],isNaN(+r)||null===r||""===r||!1===r||!0===r||(-1===s[1].indexOf(".")?s[1]=parseInt(s[1],10):s[1]=parseFloat(s[1])),2===s.length&&0<s[0].length&&(l[d(s[0])]=d(s[1]));return l},register_media:function(t,e){Foundation.media_queries[t]===n&&(c("head").append('<meta class="'+e+'"/>'),Foundation.media_queries[t]=e="string"==typeof(e=c("."+e).css("font-family"))||e instanceof String?e.replace(/^['\\/"]+|(;\s?})+|['\\/"]+$/g,""):e)},add_custom_rule:function(t,e){e===n&&Foundation.stylesheet?Foundation.stylesheet.insertRule(t,Foundation.stylesheet.cssRules.length):Foundation.media_queries[e]!==n&&Foundation.stylesheet.insertRule("@media "+Foundation.media_queries[e]+"{ "+t+" }",Foundation.stylesheet.cssRules.length)},image_loaded:function(t,e){var i=this,s=t.length;0!==s&&!function(t){for(var e=t.length-1;0<=e;e--)if(t.attr("height")===n)return;return 1}(t)||e(t),t.each(function(){d(i.S(this),function(){0===--s&&e(t)})})},random_str:function(){return this.fidx||(this.fidx=0),this.prefix=this.prefix||[this.name||"F",(+new Date).toString(36)].join("-"),this.prefix+(this.fidx++).toString(36)},match:function(t){return l.matchMedia(t).matches},is_small_up:function(){return this.match(Foundation.media_queries.small)},is_medium_up:function(){return this.match(Foundation.media_queries.medium)},is_large_up:function(){return this.match(Foundation.media_queries.large)},is_xlarge_up:function(){return this.match(Foundation.media_queries.xlarge)},is_xxlarge_up:function(){return this.match(Foundation.media_queries.xxlarge)},is_small_only:function(){return!(this.is_medium_up()||this.is_large_up()||this.is_xlarge_up()||this.is_xxlarge_up())},is_medium_only:function(){return this.is_medium_up()&&!this.is_large_up()&&!this.is_xlarge_up()&&!this.is_xxlarge_up()},is_large_only:function(){return this.is_medium_up()&&this.is_large_up()&&!this.is_xlarge_up()&&!this.is_xxlarge_up()},is_xlarge_only:function(){return this.is_medium_up()&&this.is_large_up()&&this.is_xlarge_up()&&!this.is_xxlarge_up()},is_xxlarge_only:function(){return this.is_medium_up()&&this.is_large_up()&&this.is_xlarge_up()&&this.is_xxlarge_up()}}},c.fn.foundation=function(){var t=Array.prototype.slice.call(arguments,0);return this.each(function(){return Foundation.init.apply(Foundation,[this].concat(t)),this})}}(jQuery,window,window.document),function(b,n){"use strict";Foundation.libs.abide={name:"abide",version:"5.5.3",settings:{live_validate:!0,validate_on_blur:!0,focus_on_invalid:!0,error_labels:!0,error_class:"error",timeout:1e3,patterns:{alpha:/^[a-zA-Z]+$/,alpha_numeric:/^[a-zA-Z0-9]+$/,integer:/^[-+]?\d+$/,number:/^[-+]?\d*(?:[\.\,]\d+)?$/,card:/^(?:4[0-9]{12}(?:[0-9]{3})?|5[1-5][0-9]{14}|6(?:011|5[0-9][0-9])[0-9]{12}|3[47][0-9]{13}|3(?:0[0-5]|[68][0-9])[0-9]{11}|(?:2131|1800|35\d{3})\d{11})$/,cvv:/^([0-9]){3,4}$/,email:/^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+$/,url:/^(https?|ftp|file|ssh):\/\/([-;:&=\+\$,\w]+@{1})?([-A-Za-z0-9\.]+)+:?(\d+)?((\/[-\+~%\/\.\w]+)?\??([-\+=&;%@\.\w]+)?#?([\w]+)?)?/,domain:/^([a-zA-Z0-9]([a-zA-Z0-9\-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,8}$/,datetime:/^([0-2][0-9]{3})\-([0-1][0-9])\-([0-3][0-9])T([0-5][0-9])\:([0-5][0-9])\:([0-5][0-9])(Z|([\-\+]([0-1][0-9])\:00))$/,date:/(?:19|20)[0-9]{2}-(?:(?:0[1-9]|1[0-2])-(?:0[1-9]|1[0-9]|2[0-9])|(?:(?!02)(?:0[1-9]|1[0-2])-(?:30))|(?:(?:0[13578]|1[02])-31))$/,time:/^(0[0-9]|1[0-9]|2[0-3])(:[0-5][0-9]){2}$/,dateISO:/^\d{4}[\/\-]\d{1,2}[\/\-]\d{1,2}$/,month_day_year:/^(0[1-9]|1[012])[- \/.](0[1-9]|[12][0-9]|3[01])[- \/.]\d{4}$/,day_month_year:/^(0[1-9]|[12][0-9]|3[01])[- \/.](0[1-9]|1[012])[- \/.]\d{4}$/,color:/^#?([a-fA-F0-9]{6}|[a-fA-F0-9]{3})$/},validators:{equalTo:function(t,e,i){return n.getElementById(t.getAttribute(this.add_namespace("data-equalto"))).value===t.value}}},timer:null,init:function(t,e,i){this.bindings(e,i)},events:function(t){var i=this,s=i.S(t).attr("novalidate","novalidate"),n=s.data(this.attr_name(!0)+"-init")||{};function a(t,e){clearTimeout(i.timer),i.timer=setTimeout(function(){i.validate([t],e)}.bind(t),n.timeout)}this.invalid_attr=this.add_namespace("data-invalid"),s.off(".abide").on("submit.fndtn.abide",function(t){var e=/ajax/i.test(i.S(this).attr(i.attr_name()));return i.validate(i.S(this).find("input, textarea, select").not(":hidden, [data-abide-ignore]").get(),t,e)}).on("validate.fndtn.abide",function(t){"manual"===n.validate_on&&i.validate([t.target],t)}).on("reset",function(t){return i.reset(b(this),t)}).find("input, textarea, select").not(":hidden, [data-abide-ignore]").off(".abide").on("blur.fndtn.abide change.fndtn.abide",function(t){var e=this.getAttribute("id"),e=s.find('[data-equalto="'+e+'"]');n.validate_on_blur&&!0===n.validate_on_blur&&a(this,t),void 0!==e.get(0)&&e.val().length&&a(e.get(0),t),"change"===n.validate_on&&a(this,t)}).on("keydown.fndtn.abide",function(t){var e=this.getAttribute("id"),e=s.find('[data-equalto="'+e+'"]');n.live_validate&&!0===n.live_validate&&9!=t.which&&a(this,t),void 0!==e.get(0)&&e.val().length&&a(e.get(0),t),("tab"===n.validate_on&&9===t.which||"change"===n.validate_on)&&a(this,t)}).on("focus",function(t){navigator.userAgent.match(/iPad|iPhone|Android|BlackBerry|Windows Phone|webOS/i)&&b("html, body").animate({scrollTop:b(t.target).offset().top},100)})},reset:function(t,e){var i=this;t.removeAttr(i.invalid_attr),b("["+i.invalid_attr+"]",t).removeAttr(i.invalid_attr),b("."+i.settings.error_class,t).not("small").removeClass(i.settings.error_class),b(":input",t).not(":button, :submit, :reset, :hidden, [data-abide-ignore]").val("").removeAttr(i.invalid_attr)},validate:function(t,e,i){for(var s=this.parse_patterns(t),n=s.length,a=this.S(t[0]).closest("form"),o=/submit/.test(e.type),r=0;r<n;r++)if(!s[r]&&(o||i))return this.settings.focus_on_invalid&&t[r].focus(),a.trigger("invalid.fndtn.abide"),this.S(t[r]).closest("form").attr(this.invalid_attr,""),!1;return(o||i)&&a.trigger("valid.fndtn.abide"),a.removeAttr(this.invalid_attr),!i},parse_patterns:function(t){for(var e=t.length,i=[];e--;)i.push(this.pattern(t[e]));return this.check_validation_and_apply_styles(i)},pattern:function(t){var e=t.getAttribute("type"),i="string"==typeof t.getAttribute("required"),s=t.getAttribute("pattern")||"";return this.settings.patterns.hasOwnProperty(s)&&0<s.length?[t,this.settings.patterns[s],i]:0<s.length?[t,new RegExp(s),i]:this.settings.patterns.hasOwnProperty(e)?[t,this.settings.patterns[e],i]:[t,s=/.*/,i]},check_validation_and_apply_styles:function(t){var e=t.length,i=[];if(0==e)return i;for(this.S(t[0][0]).closest("[data-"+this.attr_name(!0)+"]").data(this.attr_name(!0)+"-init");e--;){var s,n,a=t[e][0],o=t[e][2],r=a.value.trim(),l=this.S(a).parent(),d=a.getAttribute(this.add_namespace("data-abide-validator")),c="radio"===a.type,h="checkbox"===a.type,u=this.S('label[for="'+a.getAttribute("id")+'"]'),p=!o||0<a.value.length,f=[];if(a.getAttribute(this.add_namespace("data-equalto"))&&(d="equalTo"),s=l.is("label")?l.parent():l,c&&o)f.push(this.valid_radio(a,o));else if(h&&o)f.push(this.valid_checkbox(a,o));else if(d){for(var g=d.split(" "),_=!0,m=!0,v=0;v<g.length;v++)n=this.settings.validators[g[v]].apply(this,[a,o,s]),f.push(n),m=n&&_,_=n;m?(this.S(a).removeAttr(this.invalid_attr),s.removeClass("error"),0<u.length&&this.settings.error_labels&&u.removeClass(this.settings.error_class).removeAttr("role"),b(a).triggerHandler("valid")):(this.S(a).attr(this.invalid_attr,""),s.addClass("error"),0<u.length&&this.settings.error_labels&&u.addClass(this.settings.error_class).attr("role","alert"),b(a).triggerHandler("invalid"))}else t[e][1].test(r)&&p||!o&&a.value.length<1||b(a).attr("disabled")?f.push(!0):f.push(!1),(f=[f.every(function(t){return t})])[0]?(this.S(a).removeAttr(this.invalid_attr),a.setAttribute("aria-invalid","false"),a.removeAttribute("aria-describedby"),s.removeClass(this.settings.error_class),0<u.length&&this.settings.error_labels&&u.removeClass(this.settings.error_class).removeAttr("role"),b(a).triggerHandler("valid")):(this.S(a).attr(this.invalid_attr,""),a.setAttribute("aria-invalid","true"),0<(p=0<(p=s.find("small."+this.settings.error_class,"span."+this.settings.error_class)).length?p[0].id:"").length&&a.setAttribute("aria-describedby",p),s.addClass(this.settings.error_class),0<u.length&&this.settings.error_labels&&u.addClass(this.settings.error_class).attr("role","alert"),b(a).triggerHandler("invalid"));i=i.concat(f)}return i},valid_checkbox:function(t,e){e=(t=this.S(t)).is(":checked")||!e||t.get(0).getAttribute("disabled");return e?(t.removeAttr(this.invalid_attr).parent().removeClass(this.settings.error_class),b(t).triggerHandler("valid")):(t.attr(this.invalid_attr,"").parent().addClass(this.settings.error_class),b(t).triggerHandler("invalid")),e},valid_radio:function(t,e){for(var i=t.getAttribute("name"),s=this.S(t).closest("[data-"+this.attr_name(!0)+"]").find("[name='"+i+"']"),n=s.length,a=!1,o=!1,r=0;r<n;r++)s[r].getAttribute("disabled")?a=o=!0:s[r].checked?a=!0:o&&(a=!1);for(r=0;r<n;r++)a?(this.S(s[r]).removeAttr(this.invalid_attr).parent().removeClass(this.settings.error_class),b(s[r]).triggerHandler("valid")):(this.S(s[r]).attr(this.invalid_attr,"").parent().addClass(this.settings.error_class),b(s[r]).triggerHandler("invalid"));return a},valid_equal:function(t,e,i){var s=n.getElementById(t.getAttribute(this.add_namespace("data-equalto"))).value===t.value;return s?(this.S(t).removeAttr(this.invalid_attr),i.removeClass(this.settings.error_class),0<label.length&&settings.error_labels&&label.removeClass(this.settings.error_class)):(this.S(t).attr(this.invalid_attr,""),i.addClass(this.settings.error_class),0<label.length&&settings.error_labels&&label.addClass(this.settings.error_class)),s},valid_oneof:function(t,e,i,s){var n,t=this.S(t),a=this.S("["+this.add_namespace("data-oneof")+"]"),o=0<a.filter(":checked").length;return o?t.removeAttr(this.invalid_attr).parent().removeClass(this.settings.error_class):t.attr(this.invalid_attr,"").parent().addClass(this.settings.error_class),s||(n=this,a.each(function(){n.valid_oneof.call(n,this,null,null,!0)})),o},reflow:function(t,e){var i=this,s=i.S("["+this.attr_name()+"]").attr("novalidate","novalidate");i.S(s).each(function(t,e){i.events(e)})}}}(jQuery,(window,window.document)),function(c,a){"use strict";Foundation.libs.accordion={name:"accordion",version:"5.5.3",settings:{content_class:"content",active_class:"active",multi_expand:!1,toggleable:!0,callback:function(){}},init:function(t,e,i){this.bindings(e,i)},events:function(t){var l=this,d=this.S;l.create(this.S(t)),d(this.scope).off(".fndtn.accordion").on("click.fndtn.accordion","["+this.attr_name()+"] > dd > a, ["+this.attr_name()+"] > li > a",function(t){var e=d(this).closest("["+l.attr_name()+"]"),i=l.attr_name()+"="+e.attr(l.attr_name()),s=e.data(l.attr_name(!0)+"-init")||l.settings,n=d("#"+this.href.split("#")[1]),a=c("> dd, > li",e),o=a.children("."+s.content_class),r=o.filter("."+s.active_class);if(t.preventDefault(),e.attr(l.attr_name())&&(o=o.add("["+i+"] dd > ."+s.content_class+", ["+i+"] li > ."+s.content_class),a=a.add("["+i+"] dd, ["+i+"] li")),s.toggleable&&n.is(r))return n.parent("dd, li").toggleClass(s.active_class,!1),n.toggleClass(s.active_class,!1),d(this).attr("aria-expanded",function(t,e){return"true"===e?"false":"true"}),s.callback(n),n.triggerHandler("toggled",[e]),void e.triggerHandler("toggled",[n]);s.multi_expand||(o.removeClass(s.active_class),a.removeClass(s.active_class),a.children("a").attr("aria-expanded","false")),n.addClass(s.active_class).parent().addClass(s.active_class),s.callback(n),n.triggerHandler("toggled",[e]),e.triggerHandler("toggled",[n]),d(this).attr("aria-expanded","true")})},create:function(t){var e=t,i=c("> .accordion-navigation",e),e=e.data(this.attr_name(!0)+"-init")||this.settings;i.children("a").attr("aria-expanded","false"),i.has("."+e.content_class+"."+e.active_class).addClass(e.active_class).children("a").attr("aria-expanded","true"),e.multi_expand&&t.attr("aria-multiselectable","true")},toggle:function(t){var e=void 0!==(t=void 0!==t?t:{}).selector?t.selector:"",i=void 0!==t.toggle_state?t.toggle_state:"",t=(void 0!==t.$accordion?t.$accordion:this.S(this.scope).closest("["+this.attr_name()+"]")).find("> dd"+e+", > li"+e);if(t.length<1)return a.console&&console.error("Selection not found.",e),!1;var s=this.S,n=this.settings.active_class;t.each(function(){var t=s(this),e=t.hasClass(n);(e&&"close"===i||!e&&"open"===i||""===i)&&t.find("> a").trigger("click.fndtn.accordion")})},open:function(t){(t=void 0!==t?t:{}).toggle_state="open",this.toggle(t)},close:function(t){(t=void 0!==t?t:{}).toggle_state="close",this.toggle(t)},off:function(){},reflow:function(){}}}(jQuery,window,window.document),function(t){"use strict";Foundation.libs.alert={name:"alert",version:"5.5.3",settings:{callback:function(){}},init:function(t,e,i){this.bindings(e,i)},events:function(){var s=this,n=this.S;t(this.scope).off(".alert").on("click.fndtn.alert","["+this.attr_name()+"] .close",function(t){var e=n(this).closest("["+s.attr_name()+"]"),i=e.data(s.attr_name(!0)+"-init")||s.settings;t.preventDefault(),Modernizr.csstransitions?(e.addClass("alert-close"),e.on("transitionend webkitTransitionEnd oTransitionEnd",function(t){n(this).trigger("close.fndtn.alert").remove(),i.callback()})):e.fadeOut(300,function(){n(this).trigger("close.fndtn.alert").remove(),i.callback()})})},reflow:function(){}}}(jQuery,(window,window.document)),function(p,i,f){"use strict";Foundation.libs.clearing={name:"clearing",version:"5.5.3",settings:{templates:{viewing:'<a href="#" class="clearing-close">&times;</a><div class="visible-img" style="display: none"><div class="clearing-touch-label"></div><img src="data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs%3D" alt="" /><p class="clearing-caption"></p><a href="#" class="clearing-main-prev"><span></span></a><a href="#" class="clearing-main-next"><span></span></a></div><img class="clearing-preload-next" style="display: none" src="data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs%3D" alt="" /><img class="clearing-preload-prev" style="display: none" src="data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs%3D" alt="" />'},close_selectors:".clearing-close, div.clearing-blackout",open_selectors:"",skip_selector:"",touch_label:"",init:!1,locked:!1},init:function(t,e,i){var s=this;Foundation.inherit(this,"throttle image_loaded"),this.bindings(e,i),s.S(this.scope).is("["+this.attr_name()+"]")?this.assemble(s.S("li",this.scope)):s.S("["+this.attr_name()+"]",this.scope).each(function(){s.assemble(s.S("li",this))})},events:function(t){var o=this,r=o.S,e=p(".scroll-container");0<e.length&&(this.scope=e),r(this.scope).off(".clearing").on("click.fndtn.clearing","ul["+this.attr_name()+"] li "+this.settings.open_selectors,function(t,e,i){var e=e||r(this),i=i||e,s=e.next("li"),n=e.closest("["+o.attr_name()+"]").data(o.attr_name(!0)+"-init"),a=r(t.target);t.preventDefault(),n||(o.init(),e.closest("["+o.attr_name()+"]").data(o.attr_name(!0)+"-init")),i.hasClass("visible")&&e[0]===i[0]&&0<s.length&&o.is_open(e)&&(a=r("img",i=s)),o.open(a,e,i),o.update_paddles(i)}).on("click.fndtn.clearing",".clearing-main-next",function(t){o.nav(t,"next")}).on("click.fndtn.clearing",".clearing-main-prev",function(t){o.nav(t,"prev")}).on("click.fndtn.clearing",this.settings.close_selectors,function(t){Foundation.libs.clearing.close(t,this)}),p(f).on("keydown.fndtn.clearing",function(t){o.keydown(t)}),r(i).off(".clearing").on("resize.fndtn.clearing",function(){o.resize()}),this.swipe_events(t)},swipe_events:function(t){var s=this,n=s.S;n(this.scope).on("touchstart.fndtn.clearing",".visible-img",function(t){var e={start_page_x:(t=!t.touches?t.originalEvent:t).touches[0].pageX,start_page_y:t.touches[0].pageY,start_time:(new Date).getTime(),delta_x:0,is_scrolling:void 0};n(this).data("swipe-transition",e),t.stopPropagation()}).on("touchmove.fndtn.clearing",".visible-img",function(t){var e,i;1<(t=!t.touches?t.originalEvent:t).touches.length||t.scale&&1!==t.scale||((e=void 0===(e=n(this).data("swipe-transition"))?{}:e).delta_x=t.touches[0].pageX-e.start_page_x,Foundation.rtl&&(e.delta_x=-e.delta_x),void 0===e.is_scrolling&&(e.is_scrolling=!!(e.is_scrolling||Math.abs(e.delta_x)<Math.abs(t.touches[0].pageY-e.start_page_y))),e.is_scrolling||e.active||(t.preventDefault(),i=e.delta_x<0?"next":"prev",e.active=!0,s.nav(t,i)))}).on("touchend.fndtn.clearing",".visible-img",function(t){n(this).data("swipe-transition",{}),t.stopPropagation()})},assemble:function(t){var e,i=t.parent();i.parent().hasClass("carousel")||(i.after('<div id="foundationClearingHolder"></div>'),e="",null!=(t=i.detach())[0]&&(e=t[0].outerHTML,t=this.S("#foundationClearingHolder"),e='<div class="carousel">'+e+"</div>",i='<div class="clearing-assembled"><div>'+i.data(this.attr_name(!0)+"-init").templates.viewing+e+"</div></div>",e=this.settings.touch_label,Modernizr.touch&&(i=p(i).find(".clearing-touch-label").html(e).end()),t.after(i).remove()))},open:function(t,i,s){var e,n=this,a=p(f.body),o=s.closest(".clearing-assembled"),r=n.S("div",o).first(),l=n.S(".visible-img",r),d=n.S("img",l).not(t),c=n.S(".clearing-touch-label",r),h=!1;function u(){setTimeout(function(){this.image_loaded(d,function(){1!==d.outerWidth()||h?function(t){var e=p(t);e.css("visibility","visible"),e.trigger("imageVisible"),a.css("overflow","hidden"),o.addClass("clearing-blackout"),r.addClass("clearing-container"),l.show(),this.fix_height(s).caption(n.S(".clearing-caption",l),n.S("img",s)).center_and_label(t,c).shift(i,s,function(){s.closest("li").siblings().removeClass("visible"),s.closest("li").addClass("visible")}),l.trigger("opened.fndtn.clearing")}.call(this,d):u.call(this)}.bind(this))}.bind(this),100)}p("body").on("touchmove",function(t){t.preventDefault()}),d.error(function(){h=!0}),this.locked()||(l.trigger("open.fndtn.clearing"),(e=this.load(t)).interchange?d.attr("data-interchange",e.interchange).foundation("interchange","reflow"):d.attr("src",e.src).attr("data-interchange",""),d.css("visibility","hidden"),u.call(this))},close:function(t,e){t.preventDefault();var i,s=(i=p(e),/blackout/.test(i.selector)?i:i.closest(".clearing-blackout")),i=p(f.body);return e===t.target&&s&&(i.css("overflow",""),t=p("div",s).first(),(i=p(".visible-img",t)).trigger("close.fndtn.clearing"),this.settings.prev_index=0,p("ul["+this.attr_name()+"]",s).attr("style","").closest(".clearing-blackout").removeClass("clearing-blackout"),t.removeClass("clearing-container"),i.hide(),i.trigger("closed.fndtn.clearing")),p("body").off("touchmove"),!1},is_open:function(t){return 0<t.parent().prop("style").length},keydown:function(t){var e=p(".clearing-blackout ul["+this.attr_name()+"]"),i=this.rtl?37:39,s=this.rtl?39:37;t.which===i&&this.go(e,"next"),t.which===s&&this.go(e,"prev"),27===t.which&&this.S("a.clearing-close").trigger("click.fndtn.clearing")},nav:function(t,e){var i=p("ul["+this.attr_name()+"]",".clearing-blackout");t.preventDefault(),this.go(i,e)},resize:function(){var t=p("img",".clearing-blackout .visible-img"),e=p(".clearing-touch-label",".clearing-blackout");t.length&&(this.center_and_label(t,e),t.trigger("resized.fndtn.clearing"))},fix_height:function(t){var t=t.parent().children(),i=this;return t.each(function(){var t=i.S(this),e=t.find("img");t.height()>e.outerHeight()&&t.addClass("fix-height")}).closest("ul").width(100*t.length+"%"),this},update_paddles:function(t){var e=(t=t.closest("li")).closest(".carousel").siblings(".visible-img");0<t.next().length?this.S(".clearing-main-next",e).removeClass("disabled"):this.S(".clearing-main-next",e).addClass("disabled"),0<t.prev().length?this.S(".clearing-main-prev",e).removeClass("disabled"):this.S(".clearing-main-prev",e).addClass("disabled")},center_and_label:function(t,e){return!this.rtl&&0<e.length?e.css({marginLeft:-e.outerWidth()/2,marginTop:-t.outerHeight()/2-e.outerHeight()-10}):e.css({marginRight:-e.outerWidth()/2,marginTop:-t.outerHeight()/2-e.outerHeight()-10,left:"auto",right:"50%"}),this},load:function(t){var e,i="A"===t[0].nodeName?(e=t.attr("href"),t.data("clearing-interchange")):(e=(i=t.closest("a")).attr("href"),i.data("clearing-interchange"));return this.preload(t),{src:e||t.attr("src"),interchange:e?i:t.data("clearing-interchange")}},preload:function(t){this.img(t.closest("li").next(),"next").img(t.closest("li").prev(),"prev")},img:function(t,e){var i,s,n;return t.length&&(i=p(".clearing-preload-"+e),(n=(e=this.S("a",t)).length?(s=e.attr("href"),e.data("clearing-interchange")):(s=(n=this.S("img",t)).attr("src"),n.data("clearing-interchange")))?i.attr("data-interchange",n):(i.attr("src",s),i.attr("data-interchange",""))),this},caption:function(t,e){e=e.attr("data-caption");return e?(t.get(0).innerHTML=e,t.show()):t.text("").hide(),this},go:function(t,e){var i=this.S(".visible",t),t=i[e]();(t=this.settings.skip_selector&&0!=t.find(this.settings.skip_selector).length?t[e]():t).length&&this.S("img",t).trigger("click.fndtn.clearing",[i,t]).trigger("change.fndtn.clearing")},shift:function(t,e,i){var s=e.parent(),n=this.settings.prev_index||e.index(),a=this.direction(s,t,e),o=this.rtl?"right":"left",r=parseInt(s.css("left"),10),l=e.outerWidth(),t={};e.index()===n||/skip/.test(a)?/skip/.test(a)&&(e=e.index()-this.settings.up_count,this.lock(),t[o]=0<e?-e*l:0,s.animate(t,300,this.unlock())):/left/.test(a)?(this.lock(),t[o]=r+l,s.animate(t,300,this.unlock())):/right/.test(a)&&(this.lock(),t[o]=r-l,s.animate(t,300,this.unlock())),i()},direction:function(t,e,i){var s=this.S("li",t),t=s.outerWidth()+s.outerWidth()/4,t=Math.floor(this.S(".clearing-container").outerWidth()/t)-1,i=s.index(i);return this.settings.up_count=t,t=this.adjacent(this.settings.prev_index,i)?t<i&&i>this.settings.prev_index?"right":t-1<i&&i<=this.settings.prev_index&&"left":"skip",this.settings.prev_index=i,t},adjacent:function(t,e){for(var i=e+1;e-1<=i;i--)if(i===t)return!0;return!1},lock:function(){this.settings.locked=!0},unlock:function(){this.settings.locked=!1},locked:function(){return this.settings.locked},off:function(){this.S(this.scope).off(".fndtn.clearing"),this.S(i).off(".fndtn.clearing")},reflow:function(){this.init()}}}(jQuery,window,window.document),function(s,o,r){"use strict";Foundation.libs.dropdown={name:"dropdown",version:"5.5.3",settings:{active_class:"open",disabled_class:"disabled",mega_class:"mega",align:"bottom",is_hover:!1,hover_timeout:150,opened:function(){},closed:function(){}},init:function(t,e,i){Foundation.inherit(this,"throttle"),s.extend(!0,this.settings,e,i),this.bindings(e,i)},events:function(t){var n=this,a=n.S;a(this.scope).off(".dropdown").on("click.fndtn.dropdown","["+this.attr_name()+"]",function(t){(a(this).data(n.attr_name(!0)+"-init")||n.settings).is_hover&&!Modernizr.touch||(t.preventDefault(),a(this).parent("[data-reveal-id]").length&&t.stopPropagation(),n.toggle(s(this)))}).on("mouseenter.fndtn.dropdown","["+this.attr_name()+"], ["+this.attr_name()+"-content]",function(t){var e,i=a(this);clearTimeout(n.timeout);var s,i=(s=i.data(n.data_attr())?(e=a("#"+i.data(n.data_attr())),i):(e=i,a("["+n.attr_name()+'="'+e.attr("id")+'"]'))).data(n.attr_name(!0)+"-init")||n.settings;a(t.currentTarget).data(n.data_attr())&&i.is_hover&&n.closeall.call(n),i.is_hover&&n.open.apply(n,[e,s])}).on("mouseleave.fndtn.dropdown","["+this.attr_name()+"], ["+this.attr_name()+"-content]",function(t){var e,i=a(this);e=i.data(n.data_attr())?i.data(n.data_attr(!0)+"-init")||n.settings:a("["+n.attr_name()+'="'+a(this).attr("id")+'"]').data(n.attr_name(!0)+"-init")||n.settings,n.timeout=setTimeout(function(){i.data(n.data_attr())?e.is_hover&&n.close.call(n,a("#"+i.data(n.data_attr()))):e.is_hover&&n.close.call(n,i)}.bind(this),e.hover_timeout)}).on("click.fndtn.dropdown",function(t){var e=a(t.target).closest("["+n.attr_name()+"-content]");0<e.find("a").length&&"false"!==e.attr("aria-autoclose")&&n.close.call(n,a("["+n.attr_name()+"-content]")),t.target!==r&&!s.contains(r.documentElement,t.target)||0<a(t.target).closest("["+n.attr_name()+"]").length||(!a(t.target).data("revealId")&&0<e.length&&(a(t.target).is("["+n.attr_name()+"-content]")||s.contains(e.first()[0],t.target))?t.stopPropagation():n.close.call(n,a("["+n.attr_name()+"-content]")))}).on("opened.fndtn.dropdown","["+n.attr_name()+"-content]",function(){n.settings.opened.call(this)}).on("closed.fndtn.dropdown","["+n.attr_name()+"-content]",function(){n.settings.closed.call(this)}),a(o).off(".dropdown").on("resize.fndtn.dropdown",n.throttle(function(){n.resize.call(n)},50)),this.resize()},close:function(e){var i=this;e.each(function(t){(s("["+i.attr_name()+"="+e[t].id+"]")||s("aria-controls="+e[t].id+"]")).attr("aria-expanded","false"),i.S(this).hasClass(i.settings.active_class)&&(i.S(this).css(Foundation.rtl?"right":"left","-99999px").attr("aria-hidden","true").removeClass(i.settings.active_class).prev("["+i.attr_name()+"]").removeClass(i.settings.active_class).removeData("target"),i.S(this).trigger("closed.fndtn.dropdown",[e]))}),e.removeClass("f-open-"+this.attr_name(!0))},closeall:function(){var t=this;s.each(t.S(".f-open-"+this.attr_name(!0)),function(){t.close.call(t,t.S(this))})},open:function(t,e){this.css(t.addClass(this.settings.active_class),e),t.prev("["+this.attr_name()+"]").addClass(this.settings.active_class),t.data("target",e.get(0)).trigger("opened.fndtn.dropdown",[t,e]),t.attr("aria-hidden","false"),e.attr("aria-expanded","true"),t.focus(),t.addClass("f-open-"+this.attr_name(!0))},data_attr:function(){return 0<this.namespace.length?this.namespace+"-"+this.name:this.name},toggle:function(t){var e;t.hasClass(this.settings.disabled_class)||0!==(e=this.S("#"+t.data(this.data_attr()))).length&&(this.close.call(this,this.S("["+this.attr_name()+"-content]").not(e)),e.hasClass(this.settings.active_class)?(this.close.call(this,e),e.data("target")!==t.get(0)&&this.open.call(this,e,t)):this.open.call(this,e,t))},resize:function(){var t=this.S("["+this.attr_name()+"-content].open"),e=s(t.data("target"));t.length&&e.length&&this.css(t,e)},css:function(t,e){var i,s=Math.max((e.width()-t.width())/2,8),n=e.data(this.attr_name(!0)+"-init")||this.settings,a=t.parent().css("overflow-y")||t.parent().css("overflow");return this.clear_idx(),this.small()?(i=this.dirs.bottom.call(t,e,n),t.attr("style","").removeClass("drop-left drop-right drop-top").css({position:"absolute",width:"95%","max-width":"none",top:i.top}),t.css(Foundation.rtl?"right":"left",s)):"visible"!==a?(a=e[0].offsetTop+e[0].offsetHeight,t.attr("style","").css({position:"absolute",top:a}),t.css(Foundation.rtl?"right":"left",s)):this.style(t,e,n),t},style:function(t,e,i){i=s.extend({position:"absolute"},this.dirs[i.align].call(t,e,i));t.attr("style","").css(i)},dirs:{_base:function(t,e){var i=this.offsetParent().offset(),s=t.offset();s.top-=i.top,s.left-=i.left,s.missRight=!1,s.missTop=!1,s.missLeft=!1,s.leftRightFlag=!1;var n,a=o.innerWidth,i=(a-(n=r.getElementsByClassName("row")[0]?r.getElementsByClassName("row")[0].clientWidth:a))/2;return this.hasClass("mega")||e.ignore_repositioning||(n=this.outerWidth(),e=t.offset().left,t.offset().top<=this.outerHeight()&&(s.missTop=!0,s.leftRightFlag=!0),e+i<e+n&&n<e-i&&(s.missRight=!0,s.missLeft=!1),e-n<=0&&(s.missLeft=!0,s.missRight=!1)),s},top:function(t,e){var i=Foundation.libs.dropdown,s=i.dirs._base.call(this,t,e);return this.addClass("drop-top"),1==s.missTop&&(s.top=s.top+t.outerHeight()+this.outerHeight(),this.removeClass("drop-top")),1==s.missRight&&(s.left=s.left-this.outerWidth()+t.outerWidth()),(t.outerWidth()<this.outerWidth()||i.small()||this.hasClass(e.mega_menu))&&i.adjust_pip(this,t,e,s),Foundation.rtl?{left:s.left-this.outerWidth()+t.outerWidth(),top:s.top-this.outerHeight()}:{left:s.left,top:s.top-this.outerHeight()}},bottom:function(t,e){var i=Foundation.libs.dropdown,s=i.dirs._base.call(this,t,e);return 1==s.missRight&&(s.left=s.left-this.outerWidth()+t.outerWidth()),(t.outerWidth()<this.outerWidth()||i.small()||this.hasClass(e.mega_menu))&&i.adjust_pip(this,t,e,s),i.rtl?{left:s.left-this.outerWidth()+t.outerWidth(),top:s.top+t.outerHeight()}:{left:s.left,top:s.top+t.outerHeight()}},left:function(t,e){e=Foundation.libs.dropdown.dirs._base.call(this,t,e);return this.addClass("drop-left"),1==e.missLeft&&(e.left=e.left+this.outerWidth(),e.top=e.top+t.outerHeight(),this.removeClass("drop-left")),{left:e.left-this.outerWidth(),top:e.top}},right:function(t,e){var i=Foundation.libs.dropdown.dirs._base.call(this,t,e);this.addClass("drop-right"),1==i.missRight?(i.left=i.left-this.outerWidth(),i.top=i.top+t.outerHeight(),this.removeClass("drop-right")):i.triggeredRight=!0;var s=Foundation.libs.dropdown;return(t.outerWidth()<this.outerWidth()||s.small()||this.hasClass(e.mega_menu))&&s.adjust_pip(this,t,e,i),{left:i.left+t.outerWidth(),top:i.top}}},adjust_pip:function(t,e,i,s){var n=Foundation.stylesheet,a=8;t.hasClass(i.mega_class)?a=s.left+e.outerWidth()/2-8:this.small()&&(a+=s.left-8),this.rule_idx=n.cssRules.length;var o=".f-dropdown.open:before",r=".f-dropdown.open:after",i="left: "+a+"px;",e="left: "+(a-1)+"px;";1==s.missRight&&(o=".f-dropdown.open:before",r=".f-dropdown.open:after",i="left: "+(a=t.outerWidth()-23)+"px;",e="left: "+(a-1)+"px;"),1==s.triggeredRight&&(o=".f-dropdown.open:before",r=".f-dropdown.open:after",i="left:-12px;",e="left:-14px;"),n.insertRule?(n.insertRule([o,"{",i,"}"].join(" "),this.rule_idx),n.insertRule([r,"{",e,"}"].join(" "),this.rule_idx+1)):(n.addRule(o,i,this.rule_idx),n.addRule(r,e,this.rule_idx+1))},clear_idx:function(){var t=Foundation.stylesheet;void 0!==this.rule_idx&&(t.deleteRule(this.rule_idx),t.deleteRule(this.rule_idx),delete this.rule_idx)},small:function(){return matchMedia(Foundation.media_queries.small).matches&&!matchMedia(Foundation.media_queries.medium).matches},off:function(){this.S(this.scope).off(".fndtn.dropdown"),this.S("html, body").off(".fndtn.dropdown"),this.S(o).off(".fndtn.dropdown"),this.S("[data-dropdown-content]").off(".fndtn.dropdown")},reflow:function(){}}}(jQuery,window,window.document),function(r,t){"use strict";Foundation.libs.equalizer={name:"equalizer",version:"5.5.3",settings:{use_tallest:!0,before_height_change:r.noop,after_height_change:r.noop,equalize_on_stack:!1,act_on_hidden_el:!1},init:function(t,e,i){Foundation.inherit(this,"image_loaded"),this.bindings(e,i),this.reflow()},events:function(){this.S(t).off(".equalizer").on("resize.fndtn.equalizer",function(t){this.reflow()}.bind(this))},equalize:function(t){var e,i,s=!1,n=t.data("equalizer"),a=t.data(this.attr_name(!0)+"-init")||this.settings,o=a.act_on_hidden_el?n?t.find("["+this.attr_name()+'-watch="'+n+'"]'):t.find("["+this.attr_name()+"-watch]"):n?t.find("["+this.attr_name()+'-watch="'+n+'"]:visible'):t.find("["+this.attr_name()+"-watch]:visible");0!==o.length&&(a.before_height_change(),t.trigger("before-height-change.fndth.equalizer"),o.height("inherit"),!1===a.equalize_on_stack&&(e=o.first().offset().top,o.each(function(){if(r(this).offset().top!==e)return!(s=!0)}),s)||(i=o.map(function(){return r(this).outerHeight(!1)}).get(),a.use_tallest?(n=Math.max.apply(null,i),o.css("height",n)):(i=Math.min.apply(null,i),o.css("height",i)),a.after_height_change(),t.trigger("after-height-change.fndtn.equalizer")))},reflow:function(){var s=this;this.S("["+this.attr_name()+"]",this.scope).each(function(){var t=r(this),e=t.data("equalizer-mq"),i=!0;e&&(e="is_"+e.replace(/-/g,"_"),Foundation.utils.hasOwnProperty(e)&&(i=!1)),s.image_loaded(s.S("img",this),function(){i||Foundation.utils[e]()?s.equalize(t):t.find("["+s.attr_name()+"-watch]:visible").css("height","auto")})})}}}(jQuery,window,window.document),function(a,s){"use strict";Foundation.libs.interchange={name:"interchange",version:"5.5.3",cache:{},images_loaded:!1,nodes_loaded:!1,settings:{load_attr:"interchange",named_queries:{default:"only screen",small:Foundation.media_queries.small,"small-only":Foundation.media_queries["small-only"],medium:Foundation.media_queries.medium,"medium-only":Foundation.media_queries["medium-only"],large:Foundation.media_queries.large,"large-only":Foundation.media_queries["large-only"],xlarge:Foundation.media_queries.xlarge,"xlarge-only":Foundation.media_queries["xlarge-only"],xxlarge:Foundation.media_queries.xxlarge,landscape:"only screen and (orientation: landscape)",portrait:"only screen and (orientation: portrait)",retina:"only screen and (-webkit-min-device-pixel-ratio: 2),only screen and (min--moz-device-pixel-ratio: 2),only screen and (-o-min-device-pixel-ratio: 2/1),only screen and (min-device-pixel-ratio: 2),only screen and (min-resolution: 192dpi),only screen and (min-resolution: 2dppx)"},directives:{replace:function(e,i,s){if(null!==e&&/IMG/.test(e[0].nodeName)){var t=a.each(e,function(){this.src=i});return new RegExp(i,"i").test(t)?void 0:(e.attr("src",i),s(e[0].src))}var t=e.data(this.data_attr+"-last-path"),n=this;if(t!=i)return/\.(gif|jpg|jpeg|tiff|png)([?#].*)?/i.test(i)?(a(e).css("background-image","url("+i+")"),e.data("interchange-last-path",i),s(i)):a.get(i,function(t){e.html(t),e.data(n.data_attr+"-last-path",i),s()})}}},init:function(t,e,i){Foundation.inherit(this,"throttle random_str"),this.data_attr=this.set_data_attr(),a.extend(!0,this.settings,e,i),this.bindings(e,i),this.reflow()},get_media_hash:function(){var t,e="";for(t in this.settings.named_queries)e+=matchMedia(this.settings.named_queries[t]).matches.toString();return e},events:function(){var e,i=this;return a(s).off(".interchange").on("resize.fndtn.interchange",i.throttle(function(){var t=i.get_media_hash();t!==e&&i.resize(),e=t},50)),this},resize:function(){var t=this.cache;if(this.images_loaded&&this.nodes_loaded)for(var e in t)!t.hasOwnProperty(e)||(e=this.results(e,t[e]))&&this.settings.directives[e.scenario[1]].call(this,e.el,e.scenario[0],function(t){var e;return e=t instanceof Array?t:Array.prototype.slice.call(arguments,0),function(){t.el.trigger(t.scenario[1],e)}}(e));else setTimeout(a.proxy(this.resize,this),50)},results:function(t,e){var i=e.length;if(0<i)for(var s=this.S("["+this.add_namespace("data-uuid")+'="'+t+'"]');i--;){var n=e[i][2],n=this.settings.named_queries.hasOwnProperty(n)?matchMedia(this.settings.named_queries[n]):matchMedia(n);if(n.matches)return{el:s,scenario:e[i]}}return!1},load:function(t,e){return void 0!==this["cached_"+t]&&!e||this["update_"+t](),this["cached_"+t]},update_images:function(){var t=this.S("img["+this.data_attr+"]"),e=t.length,i=e,s=0,n=this.data_attr;for(this.cache={},this.cached_images=[],this.images_loaded=0===e;i--;)s++,t[i]&&0<(t[i].getAttribute(n)||"").length&&this.cached_images.push(t[i]),s===e&&(this.images_loaded=!0,this.enhance("images"));return this},update_nodes:function(){var t=this.S("["+this.data_attr+"]").not("img"),e=t.length,i=e,s=0,n=this.data_attr;for(this.cached_nodes=[],this.nodes_loaded=0===e;i--;)s++,0<(t[i].getAttribute(n)||"").length&&this.cached_nodes.push(t[i]),s===e&&(this.nodes_loaded=!0,this.enhance("nodes"));return this},enhance:function(t){for(var e=this["cached_"+t].length;e--;)this.object(a(this["cached_"+t][e]));return a(s).trigger("resize.fndtn.interchange")},convert_directive:function(t){t=this.trim(t);return 0<t.length?t:"replace"},parse_scenario:function(t){var e,i=t[0].match(/(.+),\s*(\w+)\s*$/),s=t[1].match(/(.*)\)/);return t=i?(e=i[1],i[2]):(e=t[0].split(/,\s*$/)[0],""),[this.trim(e),this.convert_directive(t),this.trim(s[1])]},object:function(t){var e=this.parse_data_attr(t),i=[],s=e.length;if(0<s)for(;s--;){var n=e[s].split(/,\s?\(/);1<n.length&&(n=this.parse_scenario(n),i.push(n))}return this.store(t,i)},store:function(t,e){var i=this.random_str(),s=t.data(this.add_namespace("uuid",!0));return this.cache[s]||(t.attr(this.add_namespace("data-uuid"),i),this.cache[i]=e)},trim:function(t){return"string"==typeof t?a.trim(t):t},set_data_attr:function(t){return t?0<this.namespace.length?this.namespace+"-"+this.settings.load_attr:this.settings.load_attr:0<this.namespace.length?"data-"+this.namespace+"-"+this.settings.load_attr:"data-"+this.settings.load_attr},parse_data_attr:function(t){for(var e=t.attr(this.attr_name()).split(/\[(.*?)\]/),i=e.length,s=[];i--;)4<e[i].replace(/[\W\d]+/,"").length&&s.push(e[i]);return s},reflow:function(){this.load("images",!0),this.load("nodes",!0)}}}(jQuery,window,window.document),function(r,l,i){"use strict";Foundation.libs.joyride={name:"joyride",version:"5.5.3",defaults:{expose:!1,modal:!0,keyboard:!0,tip_location:"bottom",nub_position:"auto",scroll_speed:1500,scroll_animation:"linear",timer:0,start_timer_on_click:!0,start_offset:0,next_button:!0,prev_button:!0,tip_animation:"fade",pause_after:[],exposed:[],tip_animation_fade_speed:300,cookie_monster:!1,cookie_name:"joyride",cookie_domain:!1,cookie_expires:365,tip_container:"body",abort_on_close:!0,tip_location_patterns:{top:["bottom"],bottom:[],left:["right","top","bottom"],right:["left","top","bottom"]},post_ride_callback:function(){},post_step_callback:function(){},pre_step_callback:function(){},pre_ride_callback:function(){},post_expose_callback:function(){},template:{link:'<a href="#close" class="joyride-close-tip">&times;</a>',timer:'<div class="joyride-timer-indicator-wrap"><span class="joyride-timer-indicator"></span></div>',tip:'<div class="joyride-tip-guide"><span class="joyride-nub"></span></div>',wrapper:'<div class="joyride-content-wrapper"></div>',button:'<a href="#" class="small button joyride-next-tip"></a>',prev_button:'<a href="#" class="small button joyride-prev-tip"></a>',modal:'<div class="joyride-modal-bg"></div>',expose:'<div class="joyride-expose-wrapper"></div>',expose_cover:'<div class="joyride-expose-cover"></div>'},expose_add_class:""},init:function(t,e,i){Foundation.inherit(this,"throttle random_str"),this.settings=this.settings||r.extend({},this.defaults,i||e),this.bindings(e,i)},go_next:function(){this.settings.$li.next().length<1?this.end():0<this.settings.timer?(clearTimeout(this.settings.automate),this.hide(),this.show(),this.startTimer()):(this.hide(),this.show())},go_prev:function(){this.settings.$li.prev().length<1||(0<this.settings.timer?(clearTimeout(this.settings.automate),this.hide(),this.show(null,!0),this.startTimer()):(this.hide(),this.show(null,!0)))},events:function(){var e=this;r(this.scope).off(".joyride").on("click.fndtn.joyride",".joyride-next-tip, .joyride-modal-bg",function(t){t.preventDefault(),this.go_next()}.bind(this)).on("click.fndtn.joyride",".joyride-prev-tip",function(t){t.preventDefault(),this.go_prev()}.bind(this)).on("click.fndtn.joyride",".joyride-close-tip",function(t){t.preventDefault(),this.end(this.settings.abort_on_close)}.bind(this)).on("keyup.fndtn.joyride",function(t){if(this.settings.keyboard&&this.settings.riding)switch(t.which){case 39:t.preventDefault(),this.go_next();break;case 37:t.preventDefault(),this.go_prev();break;case 27:t.preventDefault(),this.end(this.settings.abort_on_close)}}.bind(this)),r(l).off(".joyride").on("resize.fndtn.joyride",e.throttle(function(){0<r("["+e.attr_name()+"]").length&&e.settings.$next_tip&&e.settings.riding&&(0<e.settings.exposed.length&&r(e.settings.exposed).each(function(){var t=r(this);e.un_expose(t),e.expose(t)}),e.is_phone()?e.pos_phone():e.pos_default(!1))},100))},start:function(){var s=this,t=r("["+this.attr_name()+"]",this.scope),n=["timer","scrollSpeed","startOffset","tipAnimationFadeSpeed","cookieExpires"],a=n.length;0<!t.length||(this.settings.init||this.events(),this.settings=t.data(this.attr_name(!0)+"-init"),this.settings.$content_el=t,this.settings.$body=r(this.settings.tip_container),this.settings.body_offset=r(this.settings.tip_container).position(),this.settings.$tip_content=this.settings.$content_el.find("> li"),this.settings.paused=!1,this.settings.attempts=0,this.settings.riding=!0,"function"!=typeof r.cookie&&(this.settings.cookie_monster=!1),this.settings.cookie_monster&&(!this.settings.cookie_monster||r.cookie(this.settings.cookie_name))||(this.settings.$tip_content.each(function(t){var e=r(this);this.settings=r.extend({},s.defaults,s.data_options(e));for(var i=a;i--;)s.settings[n[i]]=parseInt(s.settings[n[i]],10);s.create({$li:e,index:t})}),!this.settings.start_timer_on_click&&0<this.settings.timer?(this.show("init"),this.startTimer()):this.show("init")))},resume:function(){this.set_li(),this.show()},tip_template:function(t){var e,i;return t.tip_class=t.tip_class||"",e=r(this.settings.template.tip).addClass(t.tip_class),i=r.trim(r(t.li).html())+this.prev_button_text(t.prev_button_text,t.index)+this.button_text(t.button_text)+this.settings.template.link+this.timer_instance(t.index),e.append(r(this.settings.template.wrapper)),e.first().attr(this.add_namespace("data-index"),t.index),r(".joyride-content-wrapper",e).append(i),e[0]},timer_instance:function(t){t=0===t&&this.settings.start_timer_on_click&&0<this.settings.timer||0===this.settings.timer?"":r(this.settings.template.timer)[0].outerHTML;return t},button_text:function(t){return t=this.settings.tip_settings.next_button?(t=r.trim(t)||"Next",r(this.settings.template.button).append(t)[0].outerHTML):""},prev_button_text:function(t,e){return t=this.settings.tip_settings.prev_button?(t=r.trim(t)||"Previous",(0==e?r(this.settings.template.prev_button).append(t).addClass("disabled"):r(this.settings.template.prev_button).append(t))[0].outerHTML):""},create:function(t){this.settings.tip_settings=r.extend({},this.settings,this.data_options(t.$li));var e=t.$li.attr(this.add_namespace("data-button"))||t.$li.attr(this.add_namespace("data-text")),i=t.$li.attr(this.add_namespace("data-button-prev"))||t.$li.attr(this.add_namespace("data-prev-text")),s=t.$li.attr("class"),t=r(this.tip_template({tip_class:s,index:t.index,button_text:e,prev_button_text:i,li:t.$li}));r(this.settings.tip_container).append(t)},show:function(t,e){var i,s=null;void 0===this.settings.$li||-1===r.inArray(this.settings.$li.index(),this.settings.pause_after)?(this.settings.paused?this.settings.paused=!1:this.set_li(t,e),this.settings.attempts=0,this.settings.$li.length&&0<this.settings.$target.length?(t&&(this.settings.pre_ride_callback(this.settings.$li.index(),this.settings.$next_tip),this.settings.modal&&this.show_modal()),this.settings.pre_step_callback(this.settings.$li.index(),this.settings.$next_tip),this.settings.modal&&this.settings.expose&&this.expose(),this.settings.tip_settings=r.extend({},this.settings,this.data_options(this.settings.$li)),this.settings.timer=parseInt(this.settings.timer,10),this.settings.tip_settings.tip_location_pattern=this.settings.tip_location_patterns[this.settings.tip_settings.tip_location],/body/i.test(this.settings.$target.selector)||this.settings.expose||(i=r(".joyride-modal-bg"),/pop/i.test(this.settings.tipAnimation)?i.hide():i.fadeOut(this.settings.tipAnimationFadeSpeed),this.scroll_to()),this.is_phone()?this.pos_phone(!0):this.pos_default(!0),s=this.settings.$next_tip.find(".joyride-timer-indicator"),/pop/i.test(this.settings.tip_animation)?(s.width(0),0<this.settings.timer?(this.settings.$next_tip.show(),setTimeout(function(){s.animate({width:s.parent().width()},this.settings.timer,"linear")}.bind(this),this.settings.tip_animation_fade_speed)):this.settings.$next_tip.show()):/fade/i.test(this.settings.tip_animation)&&(s.width(0),0<this.settings.timer?(this.settings.$next_tip.fadeIn(this.settings.tip_animation_fade_speed).show(),setTimeout(function(){s.animate({width:s.parent().width()},this.settings.timer,"linear")}.bind(this),this.settings.tip_animation_fade_speed)):this.settings.$next_tip.fadeIn(this.settings.tip_animation_fade_speed)),this.settings.$current_tip=this.settings.$next_tip):this.settings.$li&&this.settings.$target.length<1?this.show(t,e):this.end()):this.settings.paused=!0},is_phone:function(){return matchMedia(Foundation.media_queries.small).matches&&!matchMedia(Foundation.media_queries.medium).matches},hide:function(){this.settings.modal&&this.settings.expose&&this.un_expose(),this.settings.modal||r(".joyride-modal-bg").hide(),this.settings.$current_tip.css("visibility","hidden"),setTimeout(r.proxy(function(){this.hide(),this.css("visibility","visible")},this.settings.$current_tip),0),this.settings.post_step_callback(this.settings.$li.index(),this.settings.$current_tip)},set_li:function(t,e){t?(this.settings.$li=this.settings.$tip_content.eq(this.settings.start_offset),this.set_next_tip(),this.settings.$current_tip=this.settings.$next_tip):(this.settings.$li=e?this.settings.$li.prev():this.settings.$li.next(),this.set_next_tip()),this.set_target()},set_next_tip:function(){this.settings.$next_tip=r(".joyride-tip-guide").eq(this.settings.$li.index()),this.settings.$next_tip.data("closed","")},set_target:function(){var t=this.settings.$li.attr(this.add_namespace("data-class")),e=this.settings.$li.attr(this.add_namespace("data-id"));this.settings.$target=e?r(i.getElementById(e)):t?r("."+t).first():r("body")},scroll_to:function(){var t=r(l).height()/2,t=Math.ceil(this.settings.$target.offset().top-t+this.settings.$next_tip.outerHeight());0!=t&&r("html, body").stop().animate({scrollTop:t},this.settings.scroll_speed,"swing")},paused:function(){return-1===r.inArray(this.settings.$li.index()+1,this.settings.pause_after)},restart:function(){this.hide(),this.settings.$li=void 0,this.show("init")},pos_default:function(t){var e,i=this.settings.$next_tip.find(".joyride-nub"),s=Math.ceil(i.outerWidth()/2),n=Math.ceil(i.outerHeight()/2),a=t||!1;a&&(this.settings.$next_tip.css("visibility","hidden"),this.settings.$next_tip.show()),/body/i.test(this.settings.$target.selector)?this.settings.$li.length&&this.pos_modal(i):(e=this.settings.tip_settings.tipAdjustmentY?parseInt(this.settings.tip_settings.tipAdjustmentY):0,t=this.settings.tip_settings.tipAdjustmentX?parseInt(this.settings.tip_settings.tipAdjustmentX):0,this.bottom()?(this.rtl?this.settings.$next_tip.css({top:this.settings.$target.offset().top+n+this.settings.$target.outerHeight()+e,left:this.settings.$target.offset().left+this.settings.$target.outerWidth()-this.settings.$next_tip.outerWidth()+t}):this.settings.$next_tip.css({top:this.settings.$target.offset().top+n+this.settings.$target.outerHeight()+e,left:this.settings.$target.offset().left+t}),this.nub_position(i,this.settings.tip_settings.nub_position,"top")):this.top()?(this.rtl?this.settings.$next_tip.css({top:this.settings.$target.offset().top-this.settings.$next_tip.outerHeight()-n+e,left:this.settings.$target.offset().left+this.settings.$target.outerWidth()-this.settings.$next_tip.outerWidth()}):this.settings.$next_tip.css({top:this.settings.$target.offset().top-this.settings.$next_tip.outerHeight()-n+e,left:this.settings.$target.offset().left+t}),this.nub_position(i,this.settings.tip_settings.nub_position,"bottom")):this.right()?(this.settings.$next_tip.css({top:this.settings.$target.offset().top+e,left:this.settings.$target.outerWidth()+this.settings.$target.offset().left+s+t}),this.nub_position(i,this.settings.tip_settings.nub_position,"left")):this.left()&&(this.settings.$next_tip.css({top:this.settings.$target.offset().top+e,left:this.settings.$target.offset().left-this.settings.$next_tip.outerWidth()-s+t}),this.nub_position(i,this.settings.tip_settings.nub_position,"right")),!this.visible(this.corners(this.settings.$next_tip))&&this.settings.attempts<this.settings.tip_settings.tip_location_pattern.length&&(i.removeClass("bottom").removeClass("top").removeClass("right").removeClass("left"),this.settings.tip_settings.tip_location=this.settings.tip_settings.tip_location_pattern[this.settings.attempts],this.settings.attempts++,this.pos_default())),a&&(this.settings.$next_tip.hide(),this.settings.$next_tip.css("visibility","visible"))},pos_phone:function(t){var e=this.settings.$next_tip.outerHeight(),i=(this.settings.$next_tip.offset(),this.settings.$target.outerHeight()),s=r(".joyride-nub",this.settings.$next_tip),n=Math.ceil(s.outerHeight()/2),t=t||!1;s.removeClass("bottom").removeClass("top").removeClass("right").removeClass("left"),t&&(this.settings.$next_tip.css("visibility","hidden"),this.settings.$next_tip.show()),/body/i.test(this.settings.$target.selector)?this.settings.$li.length&&this.pos_modal(s):this.top()?(this.settings.$next_tip.offset({top:this.settings.$target.offset().top-e-n}),s.addClass("bottom")):(this.settings.$next_tip.offset({top:this.settings.$target.offset().top+i+n}),s.addClass("top")),t&&(this.settings.$next_tip.hide(),this.settings.$next_tip.css("visibility","visible"))},pos_modal:function(t){this.center(),t.hide(),this.show_modal()},show_modal:function(){var t;this.settings.$next_tip.data("closed")||((t=r(".joyride-modal-bg")).length<1&&(t=r(this.settings.template.modal)).appendTo("body"),/pop/i.test(this.settings.tip_animation)?t.show():t.fadeIn(this.settings.tip_animation_fade_speed))},expose:function(){var t,e,i,s,n,a="expose-"+this.random_str(6);if(0<arguments.length&&arguments[0]instanceof r)i=arguments[0];else{if(!this.settings.$target||/body/i.test(this.settings.$target.selector))return!1;i=this.settings.$target}if(i.length<1)return l.console&&console.error("element not valid",i),!1;t=r(this.settings.template.expose),this.settings.$body.append(t),t.css({top:i.offset().top,left:i.offset().left,width:i.outerWidth(!0),height:i.outerHeight(!0)}),e=r(this.settings.template.expose_cover),s={zIndex:i.css("z-index"),position:i.css("position")},n=null==i.attr("class")?"":i.attr("class"),i.css("z-index",parseInt(t.css("z-index"))+1),"static"==s.position&&i.css("position","relative"),i.data("expose-css",s),i.data("orig-class",n),i.attr("class",n+" "+this.settings.expose_add_class),e.css({top:i.offset().top,left:i.offset().left,width:i.outerWidth(!0),height:i.outerHeight(!0)}),this.settings.modal&&this.show_modal(),this.settings.$body.append(e),t.addClass(a),e.addClass(a),i.data("expose",a),this.settings.post_expose_callback(this.settings.$li.index(),this.settings.$next_tip,i),this.add_exposed(i)},un_expose:function(){var t,e,i=!1;if(0<arguments.length&&arguments[0]instanceof r)t=arguments[0];else{if(!this.settings.$target||/body/i.test(this.settings.$target.selector))return!1;t=this.settings.$target}if(t.length<1)return l.console&&console.error("element not valid",t),!1;e=t.data("expose"),e=r("."+e),(!0===(i=1<arguments.length?arguments[1]:i)?r(".joyride-expose-wrapper,.joyride-expose-cover"):e).remove(),"auto"==(e=t.data("expose-css")).zIndex?t.css("z-index",""):t.css("z-index",e.zIndex),e.position!=t.css("position")&&("static"==e.position?t.css("position",""):t.css("position",e.position)),e=t.data("orig-class"),t.attr("class",e),t.removeData("orig-classes"),t.removeData("expose"),t.removeData("expose-z-index"),this.remove_exposed(t)},add_exposed:function(t){this.settings.exposed=this.settings.exposed||[],t instanceof r||"object"==typeof t?this.settings.exposed.push(t[0]):"string"==typeof t&&this.settings.exposed.push(t)},remove_exposed:function(t){var e,i;for(t instanceof r?e=t[0]:"string"==typeof t&&(e=t),this.settings.exposed=this.settings.exposed||[],i=this.settings.exposed.length;i--;)if(this.settings.exposed[i]==e)return void this.settings.exposed.splice(i,1)},center:function(){var t=r(l);return this.settings.$next_tip.css({top:(t.height()-this.settings.$next_tip.outerHeight())/2+t.scrollTop(),left:(t.width()-this.settings.$next_tip.outerWidth())/2+t.scrollLeft()}),!0},bottom:function(){return/bottom/i.test(this.settings.tip_settings.tip_location)},top:function(){return/top/i.test(this.settings.tip_settings.tip_location)},right:function(){return/right/i.test(this.settings.tip_settings.tip_location)},left:function(){return/left/i.test(this.settings.tip_settings.tip_location)},corners:function(t){if(0===t.length)return[!1,!1,!1,!1];var e=r(l),i=e.height()/2,s=Math.ceil(this.settings.$target.offset().top-i+this.settings.$next_tip.outerHeight()),n=e.width()+e.scrollLeft(),a=e.height()+s,o=e.height()+e.scrollTop(),i=e.scrollTop();return s<i&&(i=s<0?0:s),o<a&&(o=a),[t.offset().top<i,n<t.offset().left+t.outerWidth(),o<t.offset().top+t.outerHeight(),e.scrollLeft()>t.offset().left]},visible:function(t){for(var e=t.length;e--;)if(t[e])return!1;return!0},nub_position:function(t,e,i){"auto"===e?t.addClass(i):t.addClass(e)},startTimer:function(){this.settings.$li.length?this.settings.automate=setTimeout(function(){this.hide(),this.show(),this.startTimer()}.bind(this),this.settings.timer):clearTimeout(this.settings.automate)},end:function(t){this.settings.cookie_monster&&r.cookie(this.settings.cookie_name,"ridden",{expires:this.settings.cookie_expires,domain:this.settings.cookie_domain}),0<this.settings.timer&&clearTimeout(this.settings.automate),this.settings.modal&&this.settings.expose&&this.un_expose(),r(this.scope).off("keyup.joyride"),this.settings.$next_tip.data("closed",!0),this.settings.riding=!1,r(".joyride-modal-bg").hide(),this.settings.$current_tip.hide(),void 0!==t&&!1!==t||(this.settings.post_step_callback(this.settings.$li.index(),this.settings.$current_tip),this.settings.post_ride_callback(this.settings.$li.index(),this.settings.$current_tip)),r(".joyride-tip-guide").remove()},off:function(){r(this.scope).off(".joyride"),r(l).off(".joyride"),r(".joyride-close-tip, .joyride-next-tip, .joyride-modal-bg").off(".joyride"),r(".joyride-tip-guide, .joyride-modal-bg").remove(),clearTimeout(this.settings.automate)},reflow:function(){}}}(jQuery,window,window.document),function(l,t){"use strict";Foundation.libs["magellan-expedition"]={name:"magellan-expedition",version:"5.5.3",settings:{active_class:"active",threshold:0,destination_threshold:20,throttle_delay:30,fixed_top:0,offset_by_height:!0,duration:700,easing:"swing"},init:function(t,e,i){Foundation.inherit(this,"throttle"),this.bindings(e,i)},events:function(){var o=this,t=o.S,e=o.settings;o.set_expedition_position(),t(o.scope).off(".magellan").on("click.fndtn.magellan","["+o.add_namespace("data-magellan-arrival")+"] a[href*=#]",function(t){var e,i=this.hostname===location.hostname||!this.hostname,s=o.filterPathname(location.pathname)===o.filterPathname(this.pathname),n=this.hash.replace(/(:|\.|\/)/g,"\\$1"),a=this;i&&s&&n&&(t.preventDefault(),n=(s=l(this).closest("["+o.attr_name()+"]")).data("magellan-expedition-init"),e=this.hash.split("#").join(""),t=(t=0===(t=l('a[name="'+e+'"]')).length?l("#"+e):t).offset().top-n.destination_threshold+1,n.offset_by_height&&(t-=s.outerHeight()),l("html, body").stop().animate({scrollTop:t},n.duration,n.easing,function(){history.pushState?history.pushState(null,null,a.pathname+a.search+"#"+e):location.hash=a.pathname+a.search+"#"+e}))}).on("scroll.fndtn.magellan",o.throttle(this.check_for_arrivals.bind(this),e.throttle_delay))},check_for_arrivals:function(){this.update_arrivals(),this.update_expedition_positions()},set_expedition_position:function(){var o=this;l("["+this.attr_name()+"=fixed]",o.scope).each(function(t,e){var i,s=l(this),n=s.data("magellan-expedition-init"),a=s.attr("styles");s.attr("style",""),i=s.offset().top+n.threshold,n=parseInt(s.data("magellan-fixed-top")),isNaN(n)||(o.settings.fixed_top=n),s.data(o.data_attr("magellan-top-offset"),i),s.attr("style",a)})},update_expedition_positions:function(){var n=this,a=l(t).scrollTop();l("["+this.attr_name()+"=fixed]",n.scope).each(function(){var t=l(this),e=t.data("magellan-expedition-init"),i=t.attr("style"),s=t.data("magellan-top-offset");a+n.settings.fixed_top>=s?(0===(s=t.prev("["+n.add_namespace("data-magellan-expedition-clone")+"]")).length&&((s=t.clone()).removeAttr(n.attr_name()),s.attr(n.add_namespace("data-magellan-expedition-clone"),""),t.before(s)),t.css({position:"fixed",top:e.fixed_top}).addClass("fixed")):(t.prev("["+n.add_namespace("data-magellan-expedition-clone")+"]").remove(),t.attr("style",i).css("position","").css("top","").removeClass("fixed"))})},update_arrivals:function(){var a=this,o=l(t).scrollTop();l("["+this.attr_name()+"]",a.scope).each(function(){var i=l(this),s=i.data(a.attr_name(!0)+"-init"),t=a.offsets(i,o),e=i.find("["+a.add_namespace("data-magellan-arrival")+"]"),n=!1;t.each(function(t,e){if(e.viewport_offset>=e.top_offset)return i.find("["+a.add_namespace("data-magellan-arrival")+"]").not(e.arrival).removeClass(s.active_class),e.arrival.addClass(s.active_class),n=!0}),n||e.removeClass(s.active_class)})},offsets:function(n,t){var a=this,o=n.data(a.attr_name(!0)+"-init"),r=t;return n.find("["+a.add_namespace("data-magellan-arrival")+"]").map(function(t,e){var i=l(this).data(a.data_attr("magellan-arrival")),s=l("["+a.add_namespace("data-magellan-destination")+"="+i+"]");if(0<s.length){i=s.offset().top-o.destination_threshold;return o.offset_by_height&&(i-=n.outerHeight()),i=Math.floor(i),{destination:s,arrival:l(this),top_offset:i,viewport_offset:r}}}).sort(function(t,e){return t.top_offset<e.top_offset?-1:t.top_offset>e.top_offset?1:0})},data_attr:function(t){return 0<this.namespace.length?this.namespace+"-"+t:t},off:function(){this.S(this.scope).off(".magellan"),this.S(t).off(".magellan")},filterPathname:function(t){return(t=t||"").replace(/^\//,"").replace(/(?:index|default).[a-zA-Z]{3,4}$/,"").replace(/\/$/,"")},reflow:function(){l("["+this.add_namespace("data-magellan-expedition-clone")+"]",this.scope).remove()}}}(jQuery,window,window.document),function(c){"use strict";Foundation.libs.offcanvas={name:"offcanvas",version:"5.5.3",settings:{open_method:"move",close_on_click:!1},init:function(t,e,i){this.bindings(e,i)},events:function(){var s=this,n=s.S,a="",o="",r="",l="",d="";"move"===this.settings.open_method?(a="move-",o="right",r="left",l="top",d="bottom"):"overlap_single"===this.settings.open_method?(a="offcanvas-overlap-",o="right",r="left",l="top",d="bottom"):"overlap"===this.settings.open_method&&(a="offcanvas-overlap"),n(this.scope).off(".offcanvas").on("click.fndtn.offcanvas",".left-off-canvas-toggle",function(t){s.click_toggle_class(t,a+o),"overlap"!==s.settings.open_method&&n(".left-submenu").removeClass(a+o),c(".left-off-canvas-toggle").attr("aria-expanded","true")}).on("click.fndtn.offcanvas",".left-off-canvas-menu a",function(t){var e=s.get_settings(t),i=n(this).parent();!e.close_on_click||i.hasClass("has-submenu")||i.hasClass("back")?n(this).parent().hasClass("has-submenu")?(t.preventDefault(),n(this).siblings(".left-submenu").toggleClass(a+o)):i.hasClass("back")&&(t.preventDefault(),i.parent().removeClass(a+o)):(s.hide.call(s,a+o,s.get_wrapper(t)),i.parent().removeClass(a+o)),c(".left-off-canvas-toggle").attr("aria-expanded","true")}).on("click.fndtn.offcanvas",".right-off-canvas-toggle",function(t){s.click_toggle_class(t,a+r),"overlap"!==s.settings.open_method&&n(".right-submenu").removeClass(a+r),c(".right-off-canvas-toggle").attr("aria-expanded","true")}).on("click.fndtn.offcanvas",".right-off-canvas-menu a",function(t){var e=s.get_settings(t),i=n(this).parent();!e.close_on_click||i.hasClass("has-submenu")||i.hasClass("back")?n(this).parent().hasClass("has-submenu")?(t.preventDefault(),n(this).siblings(".right-submenu").toggleClass(a+r)):i.hasClass("back")&&(t.preventDefault(),i.parent().removeClass(a+r)):(s.hide.call(s,a+r,s.get_wrapper(t)),i.parent().removeClass(a+r)),c(".right-off-canvas-toggle").attr("aria-expanded","true")}).on("click.fndtn.offcanvas",".top-off-canvas-toggle",function(t){s.click_toggle_class(t,a+d),"overlap"!==s.settings.open_method&&n(".top-submenu").removeClass(a+d),c(".top-off-canvas-toggle").attr("aria-expanded","true")}).on("click.fndtn.offcanvas",".top-off-canvas-menu a",function(t){var e=s.get_settings(t),i=n(this).parent();!e.close_on_click||i.hasClass("has-submenu")||i.hasClass("back")?n(this).parent().hasClass("has-submenu")?(t.preventDefault(),n(this).siblings(".top-submenu").toggleClass(a+d)):i.hasClass("back")&&(t.preventDefault(),i.parent().removeClass(a+d)):(s.hide.call(s,a+d,s.get_wrapper(t)),i.parent().removeClass(a+d)),c(".top-off-canvas-toggle").attr("aria-expanded","true")}).on("click.fndtn.offcanvas",".bottom-off-canvas-toggle",function(t){s.click_toggle_class(t,a+l),"overlap"!==s.settings.open_method&&n(".bottom-submenu").removeClass(a+l),c(".bottom-off-canvas-toggle").attr("aria-expanded","true")}).on("click.fndtn.offcanvas",".bottom-off-canvas-menu a",function(t){var e=s.get_settings(t),i=n(this).parent();!e.close_on_click||i.hasClass("has-submenu")||i.hasClass("back")?n(this).parent().hasClass("has-submenu")?(t.preventDefault(),n(this).siblings(".bottom-submenu").toggleClass(a+l)):i.hasClass("back")&&(t.preventDefault(),i.parent().removeClass(a+l)):(s.hide.call(s,a+l,s.get_wrapper(t)),i.parent().removeClass(a+l)),c(".bottom-off-canvas-toggle").attr("aria-expanded","true")}).on("click.fndtn.offcanvas",".exit-off-canvas",function(t){s.click_remove_class(t,a+r),n(".right-submenu").removeClass(a+r),o&&(s.click_remove_class(t,a+o),n(".left-submenu").removeClass(a+r)),c(".right-off-canvas-toggle").attr("aria-expanded","true")}).on("click.fndtn.offcanvas",".exit-off-canvas",function(t){s.click_remove_class(t,a+r),c(".left-off-canvas-toggle").attr("aria-expanded","false"),o&&(s.click_remove_class(t,a+o),c(".right-off-canvas-toggle").attr("aria-expanded","false"))}).on("click.fndtn.offcanvas",".exit-off-canvas",function(t){s.click_remove_class(t,a+l),n(".bottom-submenu").removeClass(a+l),d&&(s.click_remove_class(t,a+d),n(".top-submenu").removeClass(a+l)),c(".bottom-off-canvas-toggle").attr("aria-expanded","true")}).on("click.fndtn.offcanvas",".exit-off-canvas",function(t){s.click_remove_class(t,a+l),c(".top-off-canvas-toggle").attr("aria-expanded","false"),d&&(s.click_remove_class(t,a+d),c(".bottom-off-canvas-toggle").attr("aria-expanded","false"))})},toggle:function(t,e){(e=e||this.get_wrapper()).is("."+t)?this.hide(t,e):this.show(t,e)},show:function(t,e){(e=e||this.get_wrapper()).trigger("open.fndtn.offcanvas"),e.addClass(t)},hide:function(t,e){(e=e||this.get_wrapper()).trigger("close.fndtn.offcanvas"),e.removeClass(t)},click_toggle_class:function(t,e){t.preventDefault();t=this.get_wrapper(t);this.toggle(e,t)},click_remove_class:function(t,e){t.preventDefault();t=this.get_wrapper(t);this.hide(e,t)},get_settings:function(t){return this.S(t.target).closest("["+this.attr_name()+"]").data(this.attr_name(!0)+"-init")||this.settings},get_wrapper:function(t){t=this.S(t?t.target:this.scope).closest(".off-canvas-wrap");return t=0===t.length?this.S(".off-canvas-wrap"):t},reflow:function(){}}}(jQuery,(window,window.document)),function(f,a,o){"use strict";function t(){}function i(t,l){if(t.hasClass(l.slides_container_class))return this;var s,e,i,n,d,c,h=this,u=t,p=0;h.slides=function(){return u.children(l.slide_selector)},h.slides().first().addClass(l.active_slide_class),h.update_slide_number=function(t){l.slide_number&&(e.find("span:first").text(parseInt(t)+1),e.find("span:last").text(h.slides().length)),l.bullets&&(i.children().removeClass(l.bullets_active_class),f(i.children().get(t)).addClass(l.bullets_active_class))},h.update_active_link=function(t){t=f('[data-orbit-link="'+h.slides().eq(t).attr("data-orbit-slide")+'"]');t.siblings().removeClass(l.bullets_active_class),t.addClass(l.bullets_active_class)},h.build_markup=function(){u.wrap('<div class="'+l.container_class+'"></div>'),s=u.parent(),u.addClass(l.slides_container_class),l.stack_on_small&&s.addClass(l.stack_on_small_class),l.navigation_arrows&&(s.append(f('<a href="#"><span></span></a>').addClass(l.prev_class)),s.append(f('<a href="#"><span></span></a>').addClass(l.next_class))),l.timer&&((n=f("<div>").addClass(l.timer_container_class)).append("<span>"),n.append(f("<div>").addClass(l.timer_progress_class)),n.addClass(l.timer_paused_class),s.append(n)),l.slide_number&&((e=f("<div>").addClass(l.slide_number_class)).append("<span></span> "+l.slide_number_text+" <span></span>"),s.append(e)),l.bullets&&(i=f("<ol>").addClass(l.bullets_container_class),s.append(i),i.wrap('<div class="orbit-bullets-container"></div>'),h.slides().each(function(t,e){t=f("<li>").attr("data-orbit-slide",t).on("click",h.link_bullet);i.append(t)}))},h._goto=function(e,i){if(e===p)return!1;"object"==typeof c&&c.restart();var s=h.slides(),t="next";if(e<p&&(t="prev"),e>=s.length){if(!l.circular)return!1;e=0}else if(e<0){if(!l.circular)return!1;e=s.length-1}var n=f(s.get(p)),a=f(s.get(e));n.css("zIndex",2),n.removeClass(l.active_slide_class),a.css("zIndex",4).addClass(l.active_slide_class),u.trigger("before-slide-change.fndtn.orbit"),l.before_slide_change(),h.update_active_link(e);var o=function(){function t(){p=e,!!1===i&&(c=h.create_timer()).start(),h.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()!=a.outerHeight()&&l.variable_height?u.animate({height:a.outerHeight()},250,"linear",t):t()};if(1===s.length)return o(),!1;function r(){"next"===t&&d.next(n,a,o),"prev"===t&&d.prev(n,a,o)}a.outerHeight()>u.outerHeight()&&l.variable_height?u.animate({height:a.outerHeight()},250,"linear",r):r()},h.next=function(t){t.stopImmediatePropagation(),t.preventDefault(),h._goto(p+1)},h.prev=function(t){t.stopImmediatePropagation(),t.preventDefault(),h._goto(p-1)},h.link_custom=function(t){t.preventDefault();t=f(this).attr("data-orbit-link");"string"!=typeof t||""==(t=f.trim(t))||-1!=(t=s.find("[data-orbit-slide="+t+"]")).index()&&h._goto(t.index())},h.link_bullet=function(t){var e,i=f(this).attr("data-orbit-slide");"string"==typeof i&&""!=(i=f.trim(i))&&(isNaN(parseInt(i))?-1!=(e=s.find("[data-orbit-slide="+i+"]")).index()&&h._goto(e.index()+1):h._goto(parseInt(i)))},h.timer_callback=function(){h._goto(p+1,!0)},h.compute_dimensions=function(){var t=f(h.slides().get(p)).outerHeight();l.variable_height||h.slides().each(function(){f(this).outerHeight()>t&&(t=f(this).outerHeight())}),u.height(t)},h.create_timer=function(){return new r(s.find("."+l.timer_container_class),l,h.timer_callback)},h.stop_timer=function(){"object"==typeof c&&c.stop()},h.toggle_timer=function(){s.find("."+l.timer_container_class).hasClass(l.timer_paused_class)?(c=void 0===c?h.create_timer():c).start():"object"==typeof c&&c.stop()},h.init=function(){h.build_markup(),l.timer&&(c=h.create_timer(),Foundation.utils.image_loaded(this.slides().children("img"),c.start)),d=new _(l),"slide"===l.animation&&(d=new g(l)),s.on("click","."+l.next_class,h.next),s.on("click","."+l.prev_class,h.prev),l.next_on_click&&s.on("click","."+l.slides_container_class+" [data-orbit-slide]",h.link_bullet),s.on("click",h.toggle_timer),l.swipe&&s.on("touchstart.fndtn.orbit",function(t){var e={start_page_x:(t=!t.touches?t.originalEvent:t).touches[0].pageX,start_page_y:t.touches[0].pageY,start_time:(new Date).getTime(),delta_x:0,is_scrolling:void 0};s.data("swipe-transition",e),t.stopPropagation()}).on("touchmove.fndtn.orbit",function(t){var e;1<(t=!t.touches?t.originalEvent:t).touches.length||t.scale&&1!==t.scale||((e=void 0===(e=s.data("swipe-transition"))?{}:e).delta_x=t.touches[0].pageX-e.start_page_x,void 0===e.is_scrolling&&(e.is_scrolling=!!(e.is_scrolling||Math.abs(e.delta_x)<Math.abs(t.touches[0].pageY-e.start_page_y))),e.is_scrolling||e.active||(t.preventDefault(),t=e.delta_x<0?p+1:p-1,e.active=!0,h._goto(t)))}).on("touchend.fndtn.orbit",function(t){s.data("swipe-transition",{}),t.stopPropagation()}),s.on("mouseenter.fndtn.orbit",function(t){l.timer&&l.pause_on_hover&&h.stop_timer()}).on("mouseleave.fndtn.orbit",function(t){l.timer&&l.resume_on_mouseout&&c.start()}),f(o).on("click","[data-orbit-link]",h.link_custom),f(a).on("load resize",h.compute_dimensions),Foundation.utils.image_loaded(this.slides().children("img"),h.compute_dimensions),Foundation.utils.image_loaded(this.slides().children("img"),function(){s.prev("."+l.preloader_class).css("display","none"),h.update_slide_number(0),h.update_active_link(0),u.trigger("ready.fndtn.orbit")})},h.init()}function r(e,i,t){var s,n,a=this,o=i.timer_speed,r=e.find("."+i.timer_progress_class),l=-1;this.update_progress=function(t){var e=r.clone();e.attr("style",""),e.css("width",t+"%"),r.replaceWith(e),r=e},this.restart=function(){clearTimeout(n),e.addClass(i.timer_paused_class),l=-1,a.update_progress(0)},this.start=function(){if(!e.hasClass(i.timer_paused_class))return!0;l=-1===l?o:l,e.removeClass(i.timer_paused_class),s=(new Date).getTime(),r.animate({width:"100%"},l,"linear"),n=setTimeout(function(){a.restart(),t()},l),e.trigger("timer-started.fndtn.orbit")},this.stop=function(){if(e.hasClass(i.timer_paused_class))return!0;clearTimeout(n),e.addClass(i.timer_paused_class);var t=(new Date).getTime(),t=100-(l-=t-s)/o*100;a.update_progress(t),e.trigger("timer-stopped.fndtn.orbit")}}function g(t,e){var s=t.animation_speed,n=1===f("html[dir=rtl]").length?"marginRight":"marginLeft",a={};a[n]="0%",this.next=function(t,e,i){t.animate({marginLeft:"-100%"},s),e.animate(a,s,function(){t.css(n,"100%"),i()})},this.prev=function(t,e,i){t.animate({marginLeft:"100%"},s),e.css(n,"-100%"),e.animate(a,s,function(){t.css(n,"100%"),i()})}}function _(t,e){var s=t.animation_speed;f("html[dir=rtl]").length,this.next=function(t,e,i){e.css({margin:"0%",opacity:"0.01"}),e.animate({opacity:"1"},s,"linear",function(){t.css("margin","100%"),i()})},this.prev=function(t,e,i){e.css({margin:"0%",opacity:"0.01"}),e.animate({opacity:"1"},s,"linear",function(){t.css("margin","100%"),i()})}}Foundation.libs=Foundation.libs||{},Foundation.libs.orbit={name:"orbit",version:"5.5.3",settings:{animation:"slide",timer_speed:1e4,pause_on_hover:!0,resume_on_mouseout:!1,next_on_click:!0,animation_speed:500,stack_on_small:!1,navigation_arrows:!0,slide_number:!0,slide_number_text:"of",container_class:"orbit-container",stack_on_small_class:"orbit-stack-on-small",next_class:"orbit-next",prev_class:"orbit-prev",timer_container_class:"orbit-timer",timer_paused_class:"paused",timer_progress_class:"orbit-progress",slides_container_class:"orbit-slides-container",preloader_class:"preloader",slide_selector:"*",bullets_container_class:"orbit-bullets",bullets_active_class:"active",slide_number_class:"orbit-slide-number",caption_class:"orbit-caption",active_slide_class:"active",orbit_transition_class:"orbit-transitioning",bullets:!0,circular:!0,timer:!0,variable_height:!1,swipe:!0,before_slide_change:t,after_slide_change:t},init:function(t,e,i){this.bindings(e,i)},events:function(t){var e=new i(this.S(t),this.S(t).data("orbit-init"));this.S(t).data(this.name+"-instance",e)},reflow:function(){var i=this;i.S(i.scope).is("[data-orbit]")?i.S(i.scope).data(i.name+"-instance").compute_dimensions():i.S("[data-orbit]",i.scope).each(function(t,e){e=i.S(e),i.data_options(e);e.data(i.name+"-instance").compute_dimensions()})}}}(jQuery,window,window.document),function(l,d,e,c){"use strict";var h=[];function r(t){var e=/fade/i.test(t),t=/pop/i.test(t);return{animate:e||t,pop:t,fade:e}}Foundation.libs.reveal={name:"reveal",version:"5.5.3",locked:!1,settings:{animation:"fadeAndPop",animation_speed:250,close_on_background_click:!0,close_on_esc:!0,dismiss_modal_class:"close-reveal-modal",multiple_opened:!1,bg_class:"reveal-modal-bg",root_element:"body",open:function(){},opened:function(){},close:function(){},closed:function(){},on_ajax_error:l.noop,bg:l(".reveal-modal-bg"),css:{open:{opacity:0,visibility:"visible",display:"block"},close:{opacity:1,visibility:"hidden",display:"none"}}},init:function(t,e,i){l.extend(!0,this.settings,e,i),this.bindings(e,i)},events:function(t){var s=this,n=s.S;return n(this.scope).off(".reveal").on("click.fndtn.reveal","["+this.add_namespace("data-reveal-id")+"]:not([disabled])",function(t){var e,i;t.preventDefault(),s.locked||(i=(e=n(this)).data(s.data_attr("reveal-ajax")),t=e.data(s.data_attr("reveal-replace-content")),s.locked=!0,void 0===i?s.open.call(s,e):(i=!0===i?e.attr("href"):i,s.open.call(s,e,{url:i},{replaceContentSel:t})))}),n(e).on("click.fndtn.reveal",this.close_targets(),function(t){if(t.preventDefault(),!s.locked){var e=n("["+s.attr_name()+"].open").data(s.attr_name(!0)+"-init")||s.settings,i=n(t.target)[0]===n("."+e.bg_class)[0];if(i){if(!e.close_on_background_click)return;t.stopPropagation()}s.locked=!0,s.close.call(s,i?n("["+s.attr_name()+"].open:not(.toback)"):n(this).closest("["+s.attr_name()+"]"))}}),0<n("["+s.attr_name()+"]",this.scope).length?n(this.scope).on("open.fndtn.reveal",this.settings.open).on("opened.fndtn.reveal",this.settings.opened).on("opened.fndtn.reveal",this.open_video).on("close.fndtn.reveal",this.settings.close).on("closed.fndtn.reveal",this.settings.closed).on("closed.fndtn.reveal",this.close_video):n(this.scope).on("open.fndtn.reveal","["+s.attr_name()+"]",this.settings.open).on("opened.fndtn.reveal","["+s.attr_name()+"]",this.settings.opened).on("opened.fndtn.reveal","["+s.attr_name()+"]",this.open_video).on("close.fndtn.reveal","["+s.attr_name()+"]",this.settings.close).on("closed.fndtn.reveal","["+s.attr_name()+"]",this.settings.closed).on("closed.fndtn.reveal","["+s.attr_name()+"]",this.close_video),!0},key_up_on:function(t){var s=this;return s.S("body").off("keyup.fndtn.reveal").on("keyup.fndtn.reveal",function(t){var e=s.S("["+s.attr_name()+"].open"),i=e.data(s.attr_name(!0)+"-init")||s.settings;i&&27===t.which&&i.close_on_esc&&!s.locked&&s.close.call(s,e)}),!0},key_up_off:function(t){return this.S("body").off("keyup.fndtn.reveal"),!0},open:function(t,e){var s,n=this;t?void 0!==t.selector?s=n.S("#"+t.data(n.data_attr("reveal-id"))).first():(s=n.S(this.scope),e=t):s=n.S(this.scope);var i,a,o,r=(r=s.data(n.attr_name(!0)+"-init"))||this.settings;if(s.hasClass("open")&&t!==c&&t.attr("data-reveal-id")==s.attr("id"))return n.close(s);s.hasClass("open")||(i=n.S("["+n.attr_name()+"].open"),void 0===s.data("css-top")&&s.data("css-top",parseInt(s.css("top"),10)).data("offset",this.cache_offset(s)),s.attr("tabindex","0").attr("aria-hidden","false"),this.key_up_on(s),s.on("open.fndtn.reveal",function(t){t.namespace}),s.on("open.fndtn.reveal").trigger("open.fndtn.reveal"),i.length<1&&this.toggle_bg(s,!0),a=function(){0<i.length&&(r.multiple_opened?n.to_back(i):n.hide(i,r.css.close)),r.multiple_opened&&h.push(s),n.show(s,r.css.open)},void 0!==(e="string"==typeof e?{url:e}:e)&&e.url?(o=void 0!==e.success?e.success:null,l.extend(e,{success:function(t,e,i){!l.isFunction(o)||"string"==typeof(i=o(t,e,i))&&(t=i),("undefined"!=typeof options&&void 0!==options.replaceContentSel?s.find(options.replaceContentSel):s).html(t),n.S(s).foundation("section","reflow"),n.S(s).children().foundation(),a()}}),r.on_ajax_error!==l.noop&&l.extend(e,{error:r.on_ajax_error}),l.ajax(e)):a()),n.S(d).trigger("resize")},close:function(e){var t,e=e&&e.length?e:this.S(this.scope),i=this.S("["+this.attr_name()+"].open"),s=e.data(this.attr_name(!0)+"-init")||this.settings,n=this;0<i.length&&(e.removeAttr("tabindex","0").attr("aria-hidden","true"),this.locked=!0,this.key_up_off(e),e.trigger("close.fndtn.reveal"),(s.multiple_opened&&1===i.length||!s.multiple_opened||1<e.length)&&(n.toggle_bg(e,!1),n.to_front(e)),s.multiple_opened?(t=e.is(":not(.toback)"),n.hide(e,s.css.close,s),t?h.pop():h=l.grep(h,function(t){t=t[0]===e[0];return t&&n.to_front(e),!t}),0<h.length&&n.to_front(h[h.length-1])):n.hide(i,s.css.close,s))},close_targets:function(){var t="."+this.settings.dismiss_modal_class;return this.settings.close_on_background_click?t+", ."+this.settings.bg_class:t},toggle_bg:function(t,e){0===this.S("."+this.settings.bg_class).length&&(this.settings.bg=l("<div />",{class:this.settings.bg_class}).appendTo("body").hide());var i=0<this.settings.bg.filter(":visible").length;e!=i&&((e==c?i:!e)?this.hide(this.settings.bg):this.show(this.settings.bg))},show:function(t,e){if(e){var i,s=(o=t.data(this.attr_name(!0)+"-init")||this.settings).root_element,n=this;0===t.parent(s).length&&(i=t.wrap('<div style="display: none;" />').parent(),t.on("closed.fndtn.reveal.wrapped",function(){t.detach().appendTo(i),t.unwrap().unbind("closed.fndtn.reveal.wrapped")}),t.detach().appendTo(s));s=r(o.animation);if(s.animate||(this.locked=!1),s.pop){e.top=l(d).scrollTop()-t.data("offset")+"px";var a={top:l(d).scrollTop()+t.data("css-top")+"px",opacity:1};return setTimeout(function(){return t.css(e).animate(a,o.animation_speed,"linear",function(){n.locked=!1,t.trigger("opened.fndtn.reveal")}).addClass("open")},o.animation_speed/2)}if(e.top=l(d).scrollTop()+t.data("css-top")+"px",s.fade){a={opacity:1};return setTimeout(function(){return t.css(e).animate(a,o.animation_speed,"linear",function(){n.locked=!1,t.trigger("opened.fndtn.reveal")}).addClass("open")},o.animation_speed/2)}return t.css(e).show().css({opacity:1}).addClass("open").trigger("opened.fndtn.reveal")}var o;return r((o=this.settings).animation).fade?t.fadeIn(o.animation_speed/2):(this.locked=!1,t.show())},to_back:function(t){t.addClass("toback")},to_front:function(t){t.removeClass("toback")},hide:function(t,e){if(e){var i=t.data(this.attr_name(!0)+"-init"),s=this,n=r((i=i||this.settings).animation);if(n.animate||(this.locked=!1),n.pop){var a={top:-l(d).scrollTop()-t.data("offset")+"px",opacity:0};return setTimeout(function(){return t.animate(a,i.animation_speed,"linear",function(){s.locked=!1,t.css(e).trigger("closed.fndtn.reveal")}).removeClass("open")},i.animation_speed/2)}if(n.fade){a={opacity:0};return setTimeout(function(){return t.animate(a,i.animation_speed,"linear",function(){s.locked=!1,t.css(e).trigger("closed.fndtn.reveal")}).removeClass("open")},i.animation_speed/2)}return t.hide().css(e).removeClass("open").trigger("closed.fndtn.reveal")}return r((i=this.settings).animation).fade?t.fadeOut(i.animation_speed/2):t.hide()},close_video:function(t){var e=l(".flex-video",t.target),t=l("iframe",e);0<t.length&&(t.attr("data-src",t[0].src),t.attr("src",t.attr("src")),e.hide())},open_video:function(t){var e=l(".flex-video",t.target),i=e.find("iframe");0<i.length&&("string"==typeof i.attr("data-src")?i[0].src=i.attr("data-src"):(t=i[0].src,i[0].src=c,i[0].src=t),e.show())},data_attr:function(t){return 0<this.namespace.length?this.namespace+"-"+t:t},cache_offset:function(t){var e=t.show().height()+parseInt(t.css("top"),10)+t.scrollY;return t.hide(),e},off:function(){l(this.scope).off(".fndtn.reveal")},reflow:function(){}}}(jQuery,window,window.document),function(d,s){"use strict";Foundation.libs.slider={name:"slider",version:"5.5.3",settings:{start:0,end:100,step:1,precision:2,initial:null,display_selector:"",vertical:!1,trigger_input_change:!1,on_change:function(){}},cache:{},init:function(t,e,i){Foundation.inherit(this,"throttle"),this.bindings(e,i),this.reflow()},events:function(){var i=this;d(this.scope).off(".slider").on("mousedown.fndtn.slider touchstart.fndtn.slider pointerdown.fndtn.slider","["+i.attr_name()+"]:not(.disabled, [disabled]) .range-slider-handle",function(t){i.cache.active||(t.preventDefault(),i.set_active_slider(d(t.target)))}).on("mousemove.fndtn.slider touchmove.fndtn.slider pointermove.fndtn.slider",function(t){var e;i.cache.active&&(t.preventDefault(),d.data(i.cache.active[0],"settings").vertical?(e=0,t.pageY||(e=s.scrollY),i.calculate_position(i.cache.active,i.get_cursor_position(t,"y")+e)):i.calculate_position(i.cache.active,i.get_cursor_position(t,"x")))}).on("mouseup.fndtn.slider touchend.fndtn.slider pointerup.fndtn.slider",function(t){var e;i.cache.active||(!(e="slider"===d(t.target).attr("role")?d(t.target):d(t.target).closest(".range-slider").find("[role='slider']")).length||e.parent().hasClass("disabled")||e.parent().attr("disabled")||(i.set_active_slider(e),d.data(i.cache.active[0],"settings").vertical?(e=0,t.pageY||(e=s.scrollY),i.calculate_position(i.cache.active,i.get_cursor_position(t,"y")+e)):i.calculate_position(i.cache.active,i.get_cursor_position(t,"x")))),i.remove_active_slider()}).on("change.fndtn.slider",function(t){i.settings.on_change()}),i.S(s).on("resize.fndtn.slider",i.throttle(function(t){i.reflow()},300)),this.S("["+this.attr_name()+"]").each(function(){var t=d(this),e=t.children(".range-slider-handle")[0],e=i.initialize_settings(e);""!=e.display_selector&&d(e.display_selector).each(function(){d(this).attr("value")&&d(this).off("change").on("change",function(){t.foundation("slider","set_value",d(this).val())})})})},get_cursor_position:function(t,e){var i,s="page"+e.toUpperCase(),n="client"+e.toUpperCase();return void 0!==t[s]?i=t[s]:void 0!==t.originalEvent[n]?i=t.originalEvent[n]:t.originalEvent.touches&&t.originalEvent.touches[0]&&void 0!==t.originalEvent.touches[0][n]?i=t.originalEvent.touches[0][n]:t.currentPoint&&void 0!==t.currentPoint[e]&&(i=t.currentPoint[e]),i},set_active_slider:function(t){this.cache.active=t},remove_active_slider:function(){this.cache.active=null},calculate_position:function(e,i){var s=this,n=d.data(e[0],"settings"),a=(d.data(e[0],"handle_l"),d.data(e[0],"handle_o"),d.data(e[0],"bar_l")),o=d.data(e[0],"bar_o");requestAnimationFrame(function(){var t=Foundation.rtl&&!n.vertical?s.limit_to((o+a-i)/a,0,1):s.limit_to((i-o)/a,0,1);t=n.vertical?1-t:t;t=s.normalized_value(t,n.start,n.end,n.step,n.precision);s.set_ui(e,t)})},set_ui:function(t,e){var i=d.data(t[0],"settings"),s=d.data(t[0],"handle_l"),n=d.data(t[0],"bar_l"),a=this.normalized_percentage(e,i.start,i.end),o=a*(n-s)-1,r=100*a,l=t.parent(),a=t.parent().children("input[type=hidden]");Foundation.rtl&&!i.vertical&&(o=-o),o=i.vertical?-o+n-s+1:o,this.set_translate(t,o,i.vertical),i.vertical?t.siblings(".range-slider-active-segment").css("height",r+"%"):t.siblings(".range-slider-active-segment").css("width",r+"%"),l.attr(this.attr_name(),e).trigger("change.fndtn.slider"),a.val(e),i.trigger_input_change&&a.trigger("change.fndtn.slider"),t[0].hasAttribute("aria-valuemin")||t.attr({"aria-valuemin":i.start,"aria-valuemax":i.end}),t.attr("aria-valuenow",e),""!=i.display_selector&&d(i.display_selector).each(function(){this.hasAttribute("value")?d(this).val(e):d(this).text(e)})},normalized_percentage:function(t,e,i){return Math.min(1,(t-e)/(i-e))},normalized_value:function(t,e,i,s,n){i=t*(i-e);return((i-i%s)/s*s+(.5*s<=i%s?s:0)+e).toFixed(n)},set_translate:function(t,e,i){i?d(t).css("-webkit-transform","translateY("+e+"px)").css("-moz-transform","translateY("+e+"px)").css("-ms-transform","translateY("+e+"px)").css("-o-transform","translateY("+e+"px)").css("transform","translateY("+e+"px)"):d(t).css("-webkit-transform","translateX("+e+"px)").css("-moz-transform","translateX("+e+"px)").css("-ms-transform","translateX("+e+"px)").css("-o-transform","translateX("+e+"px)").css("transform","translateX("+e+"px)")},limit_to:function(t,e,i){return Math.min(Math.max(t,e),i)},initialize_settings:function(t){var e,i=d.extend({},this.settings,this.data_options(d(t).parent()));return null===i.precision&&(e=(""+i.step).match(/\.([\d]*)/),i.precision=e&&e[1]?e[1].length:0),i.vertical?(d.data(t,"bar_o",d(t).parent().offset().top),d.data(t,"bar_l",d(t).parent().outerHeight()),d.data(t,"handle_o",d(t).offset().top),d.data(t,"handle_l",d(t).outerHeight())):(d.data(t,"bar_o",d(t).parent().offset().left),d.data(t,"bar_l",d(t).parent().outerWidth()),d.data(t,"handle_o",d(t).offset().left),d.data(t,"handle_l",d(t).outerWidth())),d.data(t,"bar",d(t).parent()),d.data(t,"settings",i)},set_initial_position:function(t){var e=d.data(t.children(".range-slider-handle")[0],"settings"),e="number"!=typeof e.initial||isNaN(e.initial)?Math.floor(.5*(e.end-e.start)/e.step)*e.step+e.start:e.initial,t=t.children(".range-slider-handle");this.set_ui(t,e)},set_value:function(t){var e=this;d("["+e.attr_name()+"]",this.scope).each(function(){d(this).attr(e.attr_name(),t)}),d(this.scope).attr(e.attr_name())&&d(this.scope).attr(e.attr_name(),t),e.reflow()},reflow:function(){var i=this;i.S("["+this.attr_name()+"]").each(function(){var t=d(this).children(".range-slider-handle")[0],e=d(this).attr(i.attr_name());i.initialize_settings(t),e?i.set_ui(d(t),parseFloat(e)):i.set_initial_position(d(this))})}}}(jQuery,window,window.document),function(u,p,f,g){"use strict";Foundation.libs.tab={name:"tab",version:"5.5.3",settings:{active_class:"active",callback:function(){},deep_linking:!1,scroll_to_content:!0,is_hover:!1},default_tab_hashes:[],init:function(t,e,i){var s=this;(0,this.S)("["+this.attr_name()+"] > .active > a",this.scope).each(function(){s.default_tab_hashes.push(this.hash)}),this.bindings(e,i),this.handle_location_hash_change()},events:function(){function i(t,e){n(e).closest("["+s.attr_name()+"]").data(s.attr_name(!0)+"-init").is_hover&&!Modernizr.touch||(9!==(t.keyCode||t.which)&&(t.preventDefault(),t.stopPropagation()),s.toggle_active_tab(n(e).parent()))}var s=this,n=this.S;n(this.scope).off(".tab").on("keydown.fndtn.tab","["+this.attr_name()+"] > * > a",function(t){var e=t.keyCode||t.which;13!==e&&32!==e||i(t,this)}).on("click.fndtn.tab","["+this.attr_name()+"] > * > a",function(t){i(t,this)}).on("mouseenter.fndtn.tab","["+this.attr_name()+"] > * > a",function(t){n(this).closest("["+s.attr_name()+"]").data(s.attr_name(!0)+"-init").is_hover&&s.toggle_active_tab(n(this).parent())}),n(p).on("hashchange.fndtn.tab",function(t){t.preventDefault(),s.handle_location_hash_change()})},handle_location_hash_change:function(){var s=this,n=this.S;n("["+this.attr_name()+"]",this.scope).each(function(){var t=n(this).data(s.attr_name(!0)+"-init");if(t.deep_linking){var e=t.scroll_to_content?s.scope.location.hash:s.scope.location.hash.replace("fndtn-","");if(""!=e){t=n(e);t.hasClass("content")&&t.parent().hasClass("tabs-content")?s.toggle_active_tab(u("["+s.attr_name()+"] > * > a[href="+e+"]").parent()):(t=t.closest(".content").attr("id"))!=g&&s.toggle_active_tab(u("["+s.attr_name()+"] > * > a[href=#"+t+"]").parent(),e)}else for(var i=0;i<s.default_tab_hashes.length;i++)s.toggle_active_tab(u("["+s.attr_name()+"] > * > a[href="+s.default_tab_hashes[i]+"]").parent())}})},toggle_active_tab:function(t,e){function i(t){t===(h.scroll_to_content?s.default_tab_hashes[0]:"fndtn-"+s.default_tab_hashes[0].replace("#",""))&&!p.location.hash||(p.location.hash=t)}var s=this,n=s.S,a=t.closest("["+this.attr_name()+"]"),o=t.find("a"),r=t.children("a").first(),l="#"+r.attr("href").split("#")[1],d=n(l),c=t.siblings(),h=a.data(this.attr_name(!0)+"-init");r.data("tab-content")&&(d=n(l="#"+r.data("tab-content").split("#")[1])),h.deep_linking&&(h.scroll_to_content?(i(e||l),(e==g||e==l?t.parent():n(l))[0].scrollIntoView()):i(e!=g?"fndtn-"+e.replace("#",""):"fndtn-"+l.replace("#",""))),t.addClass(h.active_class).triggerHandler("opened"),o.attr({"aria-selected":"true",tabindex:0}),c.removeClass(h.active_class),c.find("a").attr({"aria-selected":"false"}),d.siblings().removeClass(h.active_class).attr({"aria-hidden":"true"}),d.addClass(h.active_class).attr("aria-hidden","false").removeAttr("tabindex"),h.callback(t),d.triggerHandler("toggled",[d]),a.triggerHandler("toggled",[t]),o.off("keydown").on("keydown",function(t){var e,i=u(this),s=u(this).parents("li").prev().children('[role="tab"]'),n=u(this).parents("li").next().children('[role="tab"]');switch(t.keyCode){case 37:e=s;break;case 39:e=n;break;default:e=!1}e.length&&(i.attr({tabindex:"-1","aria-selected":null}),e.attr({tabindex:"0","aria-selected":!0}).focus()),u('[role="tabpanel"]').attr("aria-hidden","true"),u("#"+u(f.activeElement).attr("href").substring(1)).attr("aria-hidden",null)})},data_attr:function(t){return 0<this.namespace.length?this.namespace+"-"+t:t},off:function(){},reflow:function(){}}}(jQuery,window,window.document),function(c,a){"use strict";Foundation.libs.tooltip={name:"tooltip",version:"5.5.3",settings:{additional_inheritable_classes:[],tooltip_class:".tooltip",append_to:"body",touch_close_text:"Tap To Close",disable_for_touch:!1,hover_delay:200,fade_in_duration:150,fade_out_duration:150,show_on:"all",tip_template:function(t,e){return'<span data-selector="'+t+'" id="'+t+'" class="'+Foundation.libs.tooltip.settings.tooltip_class.substring(1)+'" role="tooltip">'+e+'<span class="nub"></span></span>'}},cache:{},init:function(t,e,i){Foundation.inherit(this,"random_str"),this.bindings(e,i)},should_show:function(t,e){t=c.extend({},this.settings,this.data_options(t));return"all"===t.show_on||(!(!this.small()||"small"!==t.show_on)||(!(!this.medium()||"medium"!==t.show_on)||!(!this.large()||"large"!==t.show_on)))},medium:function(){return matchMedia(Foundation.media_queries.medium).matches},large:function(){return matchMedia(Foundation.media_queries.large).matches},events:function(t){var s=this,n=s.S;function a(t,e,i){t.timer||(i?(t.timer=null,s.showTip(e)):t.timer=setTimeout(function(){t.timer=null,s.showTip(e)}.bind(t),s.settings.hover_delay))}function o(t,e){t.timer&&(clearTimeout(t.timer),t.timer=null),s.hide(e)}s.create(this.S(t)),c(this.scope).off(".tooltip").on("mouseenter.fndtn.tooltip mouseleave.fndtn.tooltip touchstart.fndtn.tooltip MSPointerDown.fndtn.tooltip","["+this.attr_name()+"]",function(t){var e=n(this),i=c.extend({},s.settings,s.data_options(e));return!(Modernizr.touch&&/touchstart|MSPointerDown/i.test(t.type)&&n(t.target).is("a"))&&((!/mouse/i.test(t.type)||!s.ie_touch(t))&&void(e.hasClass("open")?(Modernizr.touch&&/touchstart|MSPointerDown/i.test(t.type)&&t.preventDefault(),s.hide(e)):i.disable_for_touch&&Modernizr.touch&&/touchstart|MSPointerDown/i.test(t.type)||(!i.disable_for_touch&&Modernizr.touch&&/touchstart|MSPointerDown/i.test(t.type)&&(t.preventDefault(),n(i.tooltip_class+".open").hide(),0<c(".open["+s.attr_name()+"]").length&&(i=n(c(".open["+s.attr_name()+"]")[0]),s.hide(i))),/enter|over/i.test(t.type)?a(this,e):"mouseout"===t.type||"mouseleave"===t.type?o(this,e):a(this,e,!0))))}).on("mouseleave.fndtn.tooltip touchstart.fndtn.tooltip MSPointerDown.fndtn.tooltip","["+this.attr_name()+"].open",function(t){return(!/mouse/i.test(t.type)||!s.ie_touch(t))&&void("touch"==c(this).data("tooltip-open-event-type")&&"mouseleave"==t.type||("mouse"==c(this).data("tooltip-open-event-type")&&/MSPointerDown|touchstart/i.test(t.type)?s.convert_to_touch(c(this)):o(this,c(this))))}).on("DOMNodeRemoved DOMAttrModified","["+this.attr_name()+"]:not(a)",function(t){o(this,n(this))})},ie_touch:function(t){return!1},showTip:function(t){var e=this.getTip(t);if(this.should_show(t,e))return this.show(t)},getTip:function(t){var e=this.selector(t),i=c.extend({},this.settings,this.data_options(t)),t=null;return"object"==typeof(t=e?this.S('span[data-selector="'+e+'"]'+i.tooltip_class):t)&&t},selector:function(t){var e=t.attr(this.attr_name())||t.attr("data-selector");return"string"!=typeof e&&(e=this.random_str(6),t.attr("data-selector",e).attr("aria-describedby",e)),e},create:function(e){var i=this,t=c.extend({},this.settings,this.data_options(e)),s=this.settings.tip_template;"string"==typeof t.tip_template&&a.hasOwnProperty(t.tip_template)&&(s=a[t.tip_template]);var n=c(s(this.selector(e),c("<div></div>").html(e.attr("title")).html())),s=this.inheritable_classes(e);n.addClass(s).appendTo(t.append_to),Modernizr.touch&&(n.append('<span class="tap-to-close">'+t.touch_close_text+"</span>"),n.on("touchstart.fndtn.tooltip MSPointerDown.fndtn.tooltip",function(t){i.hide(e)})),e.removeAttr("title").attr("title","")},reposition:function(t,e,i){var s,n;e.css("visibility","hidden").show(),a=t.data("width"),n=(s=e.children(".nub")).outerHeight(),s.outerWidth(),this.small()?e.css({width:"100%"}):e.css({width:a||"auto"});var a,o=function(t,e,i,s,n,a){return t.css({top:e||"auto",bottom:s||"auto",left:n||"auto",right:i||"auto"}).end()},r=t.offset().top,l=t.offset().left,d=t.outerHeight();o(e,r+d+10,"auto","auto",l),this.small()?(o(e,r+d+10,"auto","auto",12.5,c(this.scope).width()),e.addClass("tip-override"),o(s,-n,"auto","auto",l)):(Foundation.rtl&&(s.addClass("rtl"),l=l+t.outerWidth()-e.outerWidth()),o(e,r+d+10,"auto","auto",l),s.attr("style")&&s.removeAttr("style"),e.removeClass("tip-override"),a=e.outerHeight(),i&&-1<i.indexOf("tip-top")?(Foundation.rtl&&s.addClass("rtl"),o(e,r-a,"auto","auto",l).removeClass("tip-override")):i&&-1<i.indexOf("tip-left")?(o(e,r+d/2-a/2,"auto","auto",l-e.outerWidth()-n).removeClass("tip-override"),s.removeClass("rtl")):i&&-1<i.indexOf("tip-right")&&(o(e,r+d/2-a/2,"auto","auto",l+t.outerWidth()+n).removeClass("tip-override"),s.removeClass("rtl"))),e.css("visibility","visible").hide()},small:function(){return matchMedia(Foundation.media_queries.small).matches&&!matchMedia(Foundation.media_queries.medium).matches},inheritable_classes:function(t){var e=c.extend({},this.settings,this.data_options(t)),i=["tip-top","tip-left","tip-bottom","tip-right","radius","round"].concat(e.additional_inheritable_classes),t=t.attr("class"),t=t?c.map(t.split(" "),function(t,e){if(-1!==c.inArray(t,i))return t}).join(" "):"";return c.trim(t)},convert_to_touch:function(e){var i=this,t=i.getTip(e),s=c.extend({},i.settings,i.data_options(e));0===t.find(".tap-to-close").length&&(t.append('<span class="tap-to-close">'+s.touch_close_text+"</span>"),t.on("click.fndtn.tooltip.tapclose touchstart.fndtn.tooltip.tapclose MSPointerDown.fndtn.tooltip.tapclose",function(t){i.hide(e)})),e.data("tooltip-open-event-type","touch")},show:function(t){var e=this.getTip(t);"touch"==t.data("tooltip-open-event-type")&&this.convert_to_touch(t),this.reposition(t,e,t.attr("class")),t.addClass("open"),e.fadeIn(this.settings.fade_in_duration)},hide:function(t){var e=this.getTip(t);e.fadeOut(this.settings.fade_out_duration,function(){e.find(".tap-to-close").remove(),e.off("click.fndtn.tooltip.tapclose MSPointerDown.fndtn.tapclose"),t.removeClass("open")})},off:function(){var e=this;this.S(this.scope).off(".fndtn.tooltip"),this.S(this.settings.tooltip_class).each(function(t){c("["+e.attr_name()+"]").eq(t).attr("title",c(this).text())}).remove()},reflow:function(){}}}(jQuery,window,window.document),function(o,r,l){"use strict";Foundation.libs.topbar={name:"topbar",version:"5.5.3",settings:{index:0,start_offset:0,sticky_class:"sticky",custom_back_text:!0,back_text:"Back",mobile_show_parent_link:!0,is_hover:!0,scrolltop:!0,sticky_on:"all",dropdown_autoclose:!0},init:function(t,e,i){Foundation.inherit(this,"add_custom_rule register_media throttle");var s=this;s.register_media("topbar","foundation-mq-topbar"),this.bindings(e,i),s.S("["+this.attr_name()+"]",this.scope).each(function(){var t=o(this),e=t.data(s.attr_name(!0)+"-init");s.S("section, .top-bar-section",this);t.data("index",0);var i=t.parent();i.hasClass("fixed")||s.is_sticky(t,i,e)?(s.settings.sticky_class=e.sticky_class,(s.settings.sticky_topbar=t).data("height",i.outerHeight()),t.data("stickyoffset",i.offset().top)):t.data("height",t.outerHeight()),e.assembled||s.assemble(t),e.is_hover?s.S(".has-dropdown",t).addClass("not-click"):s.S(".has-dropdown",t).removeClass("not-click"),s.add_custom_rule(".f-topbar-fixed { padding-top: "+t.data("height")+"px }"),i.hasClass("fixed")&&s.S("body").addClass("f-topbar-fixed")})},is_sticky:function(t,e,i){var s=e.hasClass(i.sticky_class),n=matchMedia(Foundation.media_queries.small).matches,a=matchMedia(Foundation.media_queries.medium).matches,e=matchMedia(Foundation.media_queries.large).matches;return!(!s||"all"!==i.sticky_on)||(!(!(s&&this.small()&&-1!==i.sticky_on.indexOf("small")&&n)||a||e)||(!(!(s&&this.medium()&&-1!==i.sticky_on.indexOf("medium")&&n&&a)||e)||!!(s&&this.large()&&-1!==i.sticky_on.indexOf("large")&&n&&a&&e)))},toggle:function(t){var e=this,i=t?e.S(t).closest("["+this.attr_name()+"]"):e.S("["+this.attr_name()+"]"),s=i.data(this.attr_name(!0)+"-init"),t=e.S("section, .top-bar-section",i);e.breakpoint()&&(e.rtl?(t.css({right:"0%"}),o(">.name",t).css({right:"100%"})):(t.css({left:"0%"}),o(">.name",t).css({left:"100%"})),e.S("li.moved",t).removeClass("moved"),i.data("index",0),i.toggleClass("expanded").css("height","")),s.scrolltop?i.hasClass("expanded")?i.parent().hasClass("fixed")&&(s.scrolltop?(i.parent().removeClass("fixed"),i.addClass("fixed"),e.S("body").removeClass("f-topbar-fixed"),r.scrollTo(0,0)):i.parent().removeClass("expanded")):i.hasClass("fixed")&&(i.parent().addClass("fixed"),i.removeClass("fixed"),e.S("body").addClass("f-topbar-fixed")):(e.is_sticky(i,i.parent(),s)&&i.parent().addClass("fixed"),i.parent().hasClass("fixed")&&(i.hasClass("expanded")?(i.addClass("fixed"),i.parent().addClass("expanded"),e.S("body").addClass("f-topbar-fixed")):(i.removeClass("fixed"),i.parent().removeClass("expanded"),e.update_sticky_positioning())))},timer:null,events:function(t){var n=this,a=this.S;a(this.scope).off(".topbar").on("click.fndtn.topbar","["+this.attr_name()+"] .toggle-topbar",function(t){t.preventDefault(),n.toggle(this)}).on("click.fndtn.topbar contextmenu.fndtn.topbar",'.top-bar .top-bar-section li a[href^="#"],['+this.attr_name()+'] .top-bar-section li a[href^="#"]',function(t){var e=o(this).closest("li"),i=e.closest("["+n.attr_name()+"]").data(n.attr_name(!0)+"-init");i.dropdown_autoclose&&i.is_hover&&o(this).closest(".hover").removeClass("hover"),!n.breakpoint()||e.hasClass("back")||e.hasClass("has-dropdown")||n.toggle()}).on("click.fndtn.topbar","["+this.attr_name()+"] li.has-dropdown",function(t){var e=a(this),i=a(t.target),s=e.closest("["+n.attr_name()+"]").data(n.attr_name(!0)+"-init");i.data("revealId")?n.toggle():n.breakpoint()||s.is_hover&&!Modernizr.touch||(t.stopImmediatePropagation(),e.hasClass("hover")?(e.removeClass("hover").find("li").removeClass("hover"),e.parents("li.hover").removeClass("hover")):(e.addClass("hover"),o(e).siblings().removeClass("hover"),"A"===i[0].nodeName&&i.parent().hasClass("has-dropdown")&&t.preventDefault()))}).on("click.fndtn.topbar","["+this.attr_name()+"] .has-dropdown>a",function(t){var e,i,s;n.breakpoint()&&(t.preventDefault(),s=(i=(e=a(this)).closest("["+n.attr_name()+"]")).find("section, .top-bar-section"),e.next(".dropdown").outerHeight(),t=e.closest("li"),i.data("index",i.data("index")+1),t.addClass("moved"),n.rtl?(s.css({right:-100*i.data("index")+"%"}),s.find(">.name").css({right:100*i.data("index")+"%"})):(s.css({left:-100*i.data("index")+"%"}),s.find(">.name").css({left:100*i.data("index")+"%"})),i.css("height",e.siblings("ul").outerHeight(!0)+i.data("height")))}),a(r).off(".topbar").on("resize.fndtn.topbar",n.throttle(function(){n.resize.call(n)},50)).trigger("resize.fndtn.topbar").load(function(){a(this).trigger("resize.fndtn.topbar")}),a("body").off(".topbar").on("click.fndtn.topbar",function(t){0<a(t.target).closest("li").closest("li.hover").length||a("["+n.attr_name()+"] li.hover").removeClass("hover")}),a(this.scope).on("click.fndtn.topbar","["+this.attr_name()+"] .has-dropdown .back",function(t){t.preventDefault();var e=a(this),i=e.closest("["+n.attr_name()+"]"),t=i.find("section, .top-bar-section"),s=(i.data(n.attr_name(!0)+"-init"),e.closest("li.moved")),e=s.parent();i.data("index",i.data("index")-1),n.rtl?(t.css({right:-100*i.data("index")+"%"}),t.find(">.name").css({right:100*i.data("index")+"%"})):(t.css({left:-100*i.data("index")+"%"}),t.find(">.name").css({left:100*i.data("index")+"%"})),0===i.data("index")?i.css("height",""):i.css("height",e.outerHeight(!0)+i.data("height")),setTimeout(function(){s.removeClass("moved")},300)}),a(this.scope).find(".dropdown a").focus(function(){o(this).parents(".has-dropdown").addClass("hover")}).blur(function(){o(this).parents(".has-dropdown").removeClass("hover")})},resize:function(){var a=this;a.S("["+this.attr_name()+"]").each(function(){var t,e,i=a.S(this),s=i.data(a.attr_name(!0)+"-init"),n=i.parent("."+a.settings.sticky_class);a.breakpoint()||(e=i.hasClass("expanded"),i.css("height","").removeClass("expanded").find("li").removeClass("hover"),e&&a.toggle(i)),a.is_sticky(i,n,s)&&(n.hasClass("fixed")?(n.removeClass("fixed"),t=n.offset().top,a.S(l.body).hasClass("f-topbar-fixed")&&(t-=i.data("height")),i.data("stickyoffset",t),n.addClass("fixed")):(t=n.offset().top,i.data("stickyoffset",t)))})},breakpoint:function(){return!matchMedia(Foundation.media_queries.topbar).matches},small:function(){return matchMedia(Foundation.media_queries.small).matches},medium:function(){return matchMedia(Foundation.media_queries.medium).matches},large:function(){return matchMedia(Foundation.media_queries.large).matches},assemble:function(t){var s=this,n=t.data(this.attr_name(!0)+"-init"),e=s.S("section, .top-bar-section",t);e.detach(),s.S(".has-dropdown>a",e).each(function(){var t=s.S(this),e=t.siblings(".dropdown"),i=t.attr("href");e.find(".title.back").length||(i=1==n.mobile_show_parent_link&&i?o('<li class="title back js-generated"><h5><a href="javascript:void(0)"></a></h5></li><li class="parent-link hide-for-medium-up"><a class="parent-link js-generated" href="'+i+'">'+t.html()+"</a></li>"):o('<li class="title back js-generated"><h5><a href="javascript:void(0)"></a></h5>'),1==n.custom_back_text?o("h5>a",i).html(n.back_text):o("h5>a",i).html("&laquo; "+t.html()),e.prepend(i))}),e.appendTo(t),this.sticky(),this.assembled(t)},assembled:function(t){t.data(this.attr_name(!0),o.extend({},t.data(this.attr_name(!0)),{assembled:!0}))},height:function(t){var e=0,i=this;return o("> li",t).each(function(){e+=i.S(this).outerHeight(!0)}),e},sticky:function(){var t=this;this.S(r).on("scroll",function(){t.update_sticky_positioning()})},update_sticky_positioning:function(){var t,e="."+this.settings.sticky_class,i=this.S(r),s=this;s.settings.sticky_topbar&&s.is_sticky(this.settings.sticky_topbar,this.settings.sticky_topbar.parent(),this.settings)&&(t=this.settings.sticky_topbar.data("stickyoffset")+this.settings.start_offset,s.S(e).hasClass("expanded")||(i.scrollTop()>t?s.S(e).hasClass("fixed")||(s.S(e).addClass("fixed"),s.S("body").addClass("f-topbar-fixed")):i.scrollTop()<=t&&s.S(e).hasClass("fixed")&&(s.S(e).removeClass("fixed"),s.S("body").removeClass("f-topbar-fixed"))))},off:function(){this.S(this.scope).off(".fndtn.topbar"),this.S(r).off(".fndtn.topbar")},reflow:function(){}}}(jQuery,window,window.document),jQuery(document).ready(function(t){t(document).foundation({tabs:{deep_linking:!1},tooltip:{disable_for_touch:!0,touch_close_text:"Touch to dismiss"}})});