! function ( a , b , c , d ) { "use strict" ; function e ( a ) { return ( "string" == typeof a || a instanceof String ) && ( a = a . replace ( /^['\\/"]+|(;\s?})+|['\\/"]+$/g , "" ) ) , a } var f = function ( b ) { for ( var c = b . length , d = a ( "head" ) ; c -- ; ) 0 === d . has ( "." + b [ c ] ) . length && d . append ( '<meta class="' + b [ c ] + '" />' ) } ; f ( [ "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" ] ) , a ( function ( ) { "undefined" != typeof FastClick && "undefined" != typeof c . body && FastClick . attach ( c . body ) } ) ; var g = function ( b , d ) { if ( "string" == typeof b ) { if ( d ) { var e ; if ( d . jquery ) { if ( e = d [ 0 ] , ! e ) return d } else e = d ; return a ( e . querySelectorAll ( b ) ) } return a ( c . querySelectorAll ( b ) ) } return a ( b , d ) } , h = function ( a ) { var b = [ ] ; return a || b . push ( "data" ) , this . namespace . length > 0 && b . push ( this . namespace ) , b . push ( this . name ) , b . join ( "-" ) } , i = function ( a ) { for ( var b = a . split ( "-" ) , c = b . length , d = [ ] ; c -- ; ) 0 !== c ? d . push ( b [ c ] ) : this . namespace . length > 0 ? d . push ( this . namespace , b [ c ] ) : d . push ( b [ c ] ) ; return d . reverse ( ) . join ( "-" ) } , j = function ( b , c ) { var d = this , e = function ( ) { var e = g ( this ) , f = ! e . data ( d . attr _name ( ! 0 ) + "-init" ) ; e . data ( d . attr _name ( ! 0 ) + "-init" , a . extend ( { } , d . settings , c || b , d . data _options ( e ) ) ) , f && d . events ( this ) } ; return g ( this . scope ) . is ( "[" + this . attr _name ( ) + "]" ) ? e . call ( this . scope ) : g ( "[" + this . attr _name ( ) + "]" , this . scope ) . each ( e ) , "string" == typeof b ? this [ b ] . call ( this , c ) : void 0 } , k = function ( a , b ) { function c ( ) { b ( a [ 0 ] ) } function d ( ) { if ( this . one ( "load" , c ) , /MSIE (\d+\.\d+);/ . test ( navigator . userAgent ) ) { var a = this . attr ( "src" ) , b = a . match ( /\?/ ) ? "&" : "?" ; b += "random=" + ( new Date ) . getTime ( ) , this . attr ( "src" , a + b ) } } return a . attr ( "src" ) ? void ( a [ 0 ] . complete || 4 === a [ 0 ] . readyState ? c ( ) : d . call ( a ) ) : void c ( ) } ; /*! 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 */
b . matchMedia || ( b . matchMedia = function ( ) { var a = b . styleMedia || b . media ; if ( ! a ) { var d = c . createElement ( "style" ) , e = c . getElementsByTagName ( "script" ) [ 0 ] , f = null ; d . type = "text/css" , d . id = "matchmediajs-test" , e . parentNode . insertBefore ( d , e ) , f = "getComputedStyle" in b && b . getComputedStyle ( d , null ) || d . currentStyle , a = { matchMedium : function ( a ) { var b = "@media " + a + "{ #matchmediajs-test { width: 1px; } }" ; return d . styleSheet ? d . styleSheet . cssText = b : d . textContent = b , "1px" === f . width } } } return function ( b ) { return { matches : a . matchMedium ( b || "all" ) , media : b || "all" } } } ( ) ) , function ( a ) { function c ( ) { d && ( g ( c ) , i && a . fx . tick ( ) ) } for ( var d , e = 0 , f = [ "webkit" , "moz" ] , g = b . requestAnimationFrame , h = b . cancelAnimationFrame , i = "undefined" != typeof a . fx ; e < f . length && ! g ; e ++ ) g = b [ f [ e ] + "RequestAnimationFrame" ] , h = h || b [ f [ e ] + "CancelAnimationFrame" ] || b [ f [ e ] + "CancelRequestAnimationFrame" ] ; g ? ( b . requestAnimationFrame = g , b . cancelAnimationFrame = h , i && ( a . fx . timer = function ( b ) { b ( ) && a . timers . push ( b ) && ! d && ( d = ! 0 , c ( ) ) } , a . fx . stop = function ( ) { d = ! 1 } ) ) : ( b . requestAnimationFrame = function ( a ) { var c = ( new Date ) . getTime ( ) , d = Math . max ( 0 , 16 - ( c - e ) ) , f = b . setTimeout ( function ( ) { a ( c + d ) } , d ) ; return e = c + d , f } , b . cancelAnimationFrame = function ( a ) { clearTimeout ( a ) } ) } ( a ) , b . Foundation = { name : "Foundation" , version : "5.5.2" , media _queries : { small : g ( ".foundation-mq-small" ) . css ( "font-family" ) . replace ( /^[\/\\'"]+|(;\s?})+|[\/\\'"]+$/g , "" ) , "small-only" : g ( ".foundation-mq-small-only" ) . css ( "font-family" ) . replace ( /^[\/\\'"]+|(;\s?})+|[\/\\'"]+$/g , "" ) , medium : g ( ".foundation-mq-medium" ) . css ( "font-family" ) . replace ( /^[\/\\'"]+|(;\s?})+|[\/\\'"]+$/g , "" ) , "medium-only" : g ( ".foundation-mq-medium-only" ) . css ( "font-family" ) . replace ( /^[\/\\'"]+|(;\s?})+|[\/\\'"]+$/g , "" ) , large : g ( ".foundation-mq-large" ) . css ( "font-family" ) . replace ( /^[\/\\'"]+|(;\s?})+|[\/\\'"]+$/g , "" ) , "large-only" : g ( ".foundation-mq-large-only" ) . css ( "font-family" ) . replace ( /^[\/\\'"]+|(;\s?})+|[\/\\'"]+$/g , "" ) , xlarge : g ( ".foundation-mq-xlarge" ) . css ( "font-family" ) . replace ( /^[\/\\'"]+|(;\s?})+|[\/\\'"]+$/g , "" ) , "xlarge-only" : g ( ".foundation-mq-xlarge-only" ) . css ( "font-family" ) . replace ( /^[\/\\'"]+|(;\s?})+|[\/\\'"]+$/g , "" ) , xxlarge : g ( ".foundation-mq-xxlarge" ) . css ( "font-family" ) . replace ( /^[\/\\'"]+|(;\s?})+|[\/\\'"]+$/g , "" ) } , stylesheet : a ( "<style></style>" ) . appendTo ( "head" ) [ 0 ] . sheet , global : { namespace : d } , init : function ( a , c , d , e , f ) { var h = [ a , d , e , f ] , i = [ ] ; if ( this . rtl = /rtl/i . test ( g ( "html" ) . attr ( "dir" ) ) , this . scope = a || this . scope , this . set _namespace ( ) , c && "string" == typeof c && ! /reflow/i . test ( c ) ) this . libs . hasOwnProperty ( c ) && i . push ( this . init _lib ( c , h ) ) ; else for ( var j in this . libs ) i . push ( this . init _lib ( j , c ) ) ; return g ( b ) . load ( function ( ) { g ( b ) . 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" ) } ) , a } , init _lib : function ( b , c ) { return this . libs . hasOwnProperty ( b ) ? ( this . patch ( this . libs [ b ] ) , c && c . hasOwnProperty ( b ) ? ( "undefined" != typeof this . libs [ b ] . settings ? a . extend ( ! 0 , this . libs [ b ] . settings , c [ b ] ) : "undefined" != typeof this . libs [ b ] . defaults && a . extend ( ! 0 , this . libs [ b ] . defaults , c [ b ] ) , this . libs [ b ] . init . apply ( this . libs [ b ] , [ this . scope , c [ b ] ] ) ) : ( c = c instanceof Array ? c : new Array ( c ) , this . libs [ b ] . init . apply ( this . libs [ b ] , c ) ) ) : function ( ) { } } , patch : function ( a ) { a . scope = this . scope , a . namespace = this . global . namespace , a . rtl = this . rtl , a . data _options = this . utils . data _options , a . attr _name = h , a . add _namespace = i , a . bindings = j , a . S = this . utils . S } , inherit : function ( a , b ) { for ( var c = b . split ( " " ) , d = c . length ; d -- ; ) this . utils . hasOwnProperty ( c [ d ] ) && ( a [ c [ d ] ] = this . utils [ c [ d ] ] ) } , set _namespace : function ( ) { var b = this . global . namespace === d ? a ( ".foundation-data-attribute-namespace" ) . css ( "font-family" ) : this . global . namespace ; this . global . namespace = b === d || /false/i . test ( b ) ? "" : b } , libs : { } , utils : { S : g , throttle : function ( a , b ) { var c = null ; return function ( ) { var d = this , e = arguments ; null == c && ( c = setTimeout ( function ( ) { a . apply ( d , e ) , c = null } , b ) ) } } , debounce : function ( a , b , c ) { var d , e ; return function ( ) { var f = this , g = arguments , h = function ( ) { d = null , c || ( e = a . apply ( f , g ) ) } , i = c && ! d ; return clearTimeout ( d ) , d = setTimeout ( h , b ) , i && ( e = a . appl
c . rtl ? { left : d . left - this . outerWidth ( ) + a . outerWidth ( ) , top : d . top + a . outerHeight ( ) } : { left : d . left , top : d . top + a . outerHeight ( ) } } , left : function ( a , b ) { var c = Foundation . libs . dropdown . dirs . _base . call ( this , a ) ; return this . addClass ( "drop-left" ) , 1 == c . missLeft && ( c . left = c . left + this . outerWidth ( ) , c . top = c . top + a . outerHeight ( ) , this . removeClass ( "drop-left" ) ) , { left : c . left - this . outerWidth ( ) , top : c . top } } , right : function ( a , b ) { var c = Foundation . libs . dropdown . dirs . _base . call ( this , a ) ; this . addClass ( "drop-right" ) , 1 == c . missRight ? ( c . left = c . left - this . outerWidth ( ) , c . top = c . top + a . outerHeight ( ) , this . removeClass ( "drop-right" ) ) : c . triggeredRight = ! 0 ; var d = Foundation . libs . dropdown ; return ( a . outerWidth ( ) < this . outerWidth ( ) || d . small ( ) || this . hasClass ( b . mega _menu ) ) && d . adjust _pip ( this , a , b , c ) , { left : c . left + a . outerWidth ( ) , top : c . top } } } , adjust _pip : function ( a , b , c , d ) { var e = Foundation . stylesheet , f = 8 ; a . hasClass ( c . mega _class ) ? f = d . left + b . outerWidth ( ) / 2 - 8 : this . small ( ) && ( f += d . left - 8 ) , this . rule _idx = e . cssRules . length ; var g = ".f-dropdown.open:before" , h = ".f-dropdown.open:after" , i = "left: " + f + "px;" , j = "left: " + ( f - 1 ) + "px;" ; 1 == d . missRight && ( f = a . outerWidth ( ) - 23 , g = ".f-dropdown.open:before" , h = ".f-dropdown.open:after" , i = "left: " + f + "px;" , j = "left: " + ( f - 1 ) + "px;" ) , 1 == d . triggeredRight && ( g = ".f-dropdown.open:before" , h = ".f-dropdown.open:after" , i = "left:-12px;" , j = "left:-14px;" ) , e . insertRule ? ( e . insertRule ( [ g , "{" , i , "}" ] . join ( " " ) , this . rule _idx ) , e . insertRule ( [ h , "{" , j , "}" ] . join ( " " ) , this . rule _idx + 1 ) ) : ( e . addRule ( g , i , this . rule _idx ) , e . addRule ( h , j , this . rule _idx + 1 ) ) } , clear _idx : function ( ) { var a = Foundation . stylesheet ; "undefined" != typeof this . rule _idx && ( a . deleteRule ( this . rule _idx ) , a . 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 ( b ) . off ( ".fndtn.dropdown" ) , this . S ( "[data-dropdown-content]" ) . off ( ".fndtn.dropdown" ) } , reflow : function ( ) { } } } ( jQuery , window , window . document ) , function ( a , b , c , d ) { "use strict" ; Foundation . libs . equalizer = { name : "equalizer" , version : "5.5.2" , settings : { use _tallest : ! 0 , before _height _change : a . noop , after _height _change : a . noop , equalize _on _stack : ! 1 , act _on _hidden _el : ! 1 } , init : function ( a , b , c ) { Foundation . inherit ( this , "image_loaded" ) , this . bindings ( b , c ) , this . reflow ( ) } , events : function ( ) { this . S ( b ) . off ( ".equalizer" ) . on ( "resize.fndtn.equalizer" , function ( a ) { this . reflow ( ) } . bind ( this ) ) } , equalize : function ( b ) { var c , d , e = ! 1 , f = b . data ( "equalizer" ) , g = b . data ( this . attr _name ( ! 0 ) + "-init" ) || this . settings ; if ( c = b . find ( g . act _on _hidden _el ? f ? "[" + this . attr _name ( ) + '-watch="' + f + '"]' : "[" + this . attr _name ( ) + "-watch]" : f ? "[" + this . attr _name ( ) + '-watch="' + f + '"]:visible' : "[" + this . attr _name ( ) + "-watch]:visible" ) , 0 !== c . length && ( g . before _height _change ( ) , b . trigger ( "before-height-change.fndth.equalizer" ) , c . height ( "inherit" ) , g . equalize _on _stack !== ! 1 || ( d = c . first ( ) . offset ( ) . top , c . each ( function ( ) { return a ( this ) . offset ( ) . top !== d ? ( e = ! 0 , ! 1 ) : void 0 } ) , ! e ) ) ) { var h = c . map ( function ( ) { return a ( this ) . outerHeight ( ! 1 ) } ) . get ( ) ; if ( g . use _tallest ) { var i = Math . max . apply ( null , h ) ; c . css ( "height" , i ) } else { var j = Math . min . apply ( null , h ) ; c . css ( "height" , j ) } g . after _height _change ( ) , b . trigger ( "after-height-change.fndtn.equalizer" ) } } , reflow : function ( ) { var b = this ; this . S ( "[" + this . attr _name ( ) + "]" , this . scope ) . each ( function ( ) { var c = a ( this ) , d = c . data ( "equalizer-mq" ) , e = ! 0 ; d && ( d = "is_" + d . replace ( /-/g , "_" ) , Foundation . utils . hasOwnProperty ( d ) && ( e = ! 1 ) ) , b . image _loaded ( b . S ( "img" , this ) , function ( ) { if ( e || Foundation . utils [ d ] ( ) ) b . equalize ( c ) ; else { var a = c . find ( "[" + b . attr _name ( ) + "-watch]:visible" ) ; a . css ( "height" , "auto" ) } } ) } ) } } } ( jQuery , window , window . document ) , function ( a , b , c , d ) { "use strict" ; Foundation . libs . interchange = { name : "interchange" , version : "5.5.2" , 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" :
a . preventDefault ( ) ; var c = this . get _wrapper ( a ) ; this . toggle ( b , c ) } , click _remove _class : function ( a , b ) { a . preventDefault ( ) ; var c = this . get _wrapper ( a ) ; this . hide ( b , c ) } , get _settings : function ( a ) { var b = this . S ( a . target ) . closest ( "[" + this . attr _name ( ) + "]" ) ; return b . data ( this . attr _name ( ! 0 ) + "-init" ) || this . settings } , get _wrapper : function ( a ) { var b = this . S ( a ? a . target : this . scope ) . closest ( ".off-canvas-wrap" ) ; return 0 === b . length && ( b = this . S ( ".off-canvas-wrap" ) ) , b } , reflow : function ( ) { } } } ( jQuery , window , window . document ) , function ( a , b , c , d ) { "use strict" ; var e = function ( ) { } , f = function ( e , f ) { if ( e . hasClass ( f . slides _container _class ) ) return this ; var j , k , l , m , n , o , p = this , q = e , r = 0 , s = ! 1 ; p . slides = function ( ) { return q . children ( f . slide _selector ) } , p . slides ( ) . first ( ) . addClass ( f . active _slide _class ) , p . update _slide _number = function ( b ) { f . slide _number && ( k . find ( "span:first" ) . text ( parseInt ( b ) + 1 ) , k . find ( "span:last" ) . text ( p . slides ( ) . length ) ) , f . bullets && ( l . children ( ) . removeClass ( f . bullets _active _class ) , a ( l . children ( ) . get ( b ) ) . addClass ( f . bullets _active _class ) ) } , p . update _active _link = function ( b ) { var c = a ( '[data-orbit-link="' + p . slides ( ) . eq ( b ) . attr ( "data-orbit-slide" ) + '"]' ) ; c . siblings ( ) . removeClass ( f . bullets _active _class ) , c . addClass ( f . bullets _active _class ) } , p . build _markup = function ( ) { q . wrap ( '<div class="' + f . container _class + '"></div>' ) , j = q . parent ( ) , q . addClass ( f . slides _container _class ) , f . stack _on _small && j . addClass ( f . stack _on _small _class ) , f . navigation _arrows && ( j . append ( a ( '<a href="#"><span></span></a>' ) . addClass ( f . prev _class ) ) , j . append ( a ( '<a href="#"><span></span></a>' ) . addClass ( f . next _class ) ) ) , f . timer && ( m = a ( "<div>" ) . addClass ( f . timer _container _class ) , m . append ( "<span>" ) , m . append ( a ( "<div>" ) . addClass ( f . timer _progress _class ) ) , m . addClass ( f . timer _paused _class ) , j . append ( m ) ) , f . slide _number && ( k = a ( "<div>" ) . addClass ( f . slide _number _class ) , k . append ( "<span></span> " + f . slide _number _text + " <span></span>" ) , j . append ( k ) ) , f . bullets && ( l = a ( "<ol>" ) . addClass ( f . bullets _container _class ) , j . append ( l ) , l . wrap ( '<div class="orbit-bullets-container"></div>' ) , p . slides ( ) . each ( function ( b , c ) { var d = a ( "<li>" ) . attr ( "data-orbit-slide" , b ) . on ( "click" , p . link _bullet ) ; l . append ( d ) } ) ) } , p . _goto = function ( b , c ) { if ( b === r ) return ! 1 ; "object" == typeof o && o . restart ( ) ; var d = p . slides ( ) , e = "next" ; if ( s = ! 0 , r > b && ( e = "prev" ) , b >= d . length ) { if ( ! f . circular ) return ! 1 ; b = 0 } else if ( 0 > b ) { if ( ! f . circular ) return ! 1 ; b = d . length - 1 } var g = a ( d . get ( r ) ) , h = a ( d . get ( b ) ) ; g . css ( "zIndex" , 2 ) , g . removeClass ( f . active _slide _class ) , h . css ( "zIndex" , 4 ) . addClass ( f . active _slide _class ) , q . trigger ( "before-slide-change.fndtn.orbit" ) , f . before _slide _change ( ) , p . update _active _link ( b ) ; var i = function ( ) { var a = function ( ) { r = b , s = ! 1 , c === ! 0 && ( o = p . create _timer ( ) , o . start ( ) ) , p . update _slide _number ( r ) , q . trigger ( "after-slide-change.fndtn.orbit" , [ { slide _number : r , total _slides : d . length } ] ) , f . after _slide _change ( r , d . length ) } ; q . outerHeight ( ) != h . outerHeight ( ) && f . variable _height ? q . animate ( { height : h . outerHeight ( ) } , 250 , "linear" , a ) : a ( ) } ; if ( 1 === d . length ) return i ( ) , ! 1 ; var j = function ( ) { "next" === e && n . next ( g , h , i ) , "prev" === e && n . prev ( g , h , i ) } ; h . outerHeight ( ) > q . outerHeight ( ) && f . variable _height ? q . animate ( { height : h . outerHeight ( ) } , 250 , "linear" , j ) : j ( ) } , p . next = function ( a ) { a . stopImmediatePropagation ( ) , a . preventDefault ( ) , p . _goto ( r + 1 ) } , p . prev = function ( a ) { a . stopImmediatePropagation ( ) , a . preventDefault ( ) , p . _goto ( r - 1 ) } , p . link _custom = function ( b ) { b . preventDefault ( ) ; var c = a ( this ) . attr ( "data-orbit-link" ) ; if ( "string" == typeof c && "" != ( c = a . trim ( c ) ) ) { var d = j . find ( "[data-orbit-slide=" + c + "]" ) ; - 1 != d . index ( ) && p . _goto ( d . index ( ) ) } } , p . link _bullet = function ( b ) { var c = a ( this ) . attr ( "data-orbit-slide" ) ; if ( "string" == typeof c && "" != ( c = a . trim ( c ) ) ) if ( isNaN ( parseInt ( c ) ) ) { var d = j . find ( "[data-orbit-slide=" + c + "]" ) ; - 1 != d . index ( ) && p . _goto ( d . index ( ) + 1 ) } else p . _goto ( parseInt ( c ) ) } , p . timer _callback = function ( ) { p . _goto ( r + 1 , ! 0 ) } , p . compute _dimensions = function ( ) { var b = a ( p . slides ( ) . get ( r ) ) , c = b . outerHeight ( ) ; f . variable _height || p . slides ( ) . each ( function ( ) { a ( this ) . outerHeight ( ) > c && ( c = a ( this ) . outerHeight ( ) ) } ) , q . height ( c ) } , p . create _timer = function ( ) { var a = new g ( j . find ( "." + f . timer _container _class ) , f , p . timer _callback ) ; return a } , p . stop _timer = function ( ) { "object" == typeof o && o . stop ( ) } , p . toggle _timer = function (
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 ( b , c , d ) { Foundation . inherit ( this , "add_custom_rule register_media throttle" ) ; var e = this ; e . register _media ( "topbar" , "foundation-mq-topbar" ) , this . bindings ( c , d ) , e . S ( "[" + this . attr _name ( ) + "]" , this . scope ) . each ( function ( ) { { var b = a ( this ) , c = b . data ( e . attr _name ( ! 0 ) + "-init" ) ; e . S ( "section, .top-bar-section" , this ) } b . data ( "index" , 0 ) ; var d = b . parent ( ) ; d . hasClass ( "fixed" ) || e . is _sticky ( b , d , c ) ? ( e . settings . sticky _class = c . sticky _class , e . settings . sticky _topbar = b , b . data ( "height" , d . outerHeight ( ) ) , b . data ( "stickyoffset" , d . offset ( ) . top ) ) : b . data ( "height" , b . outerHeight ( ) ) , c . assembled || e . assemble ( b ) , c . is _hover ? e . S ( ".has-dropdown" , b ) . addClass ( "not-click" ) : e . S ( ".has-dropdown" , b ) . removeClass ( "not-click" ) , e . add _custom _rule ( ".f-topbar-fixed { padding-top: " + b . data ( "height" ) + "px }" ) , d . hasClass ( "fixed" ) && e . S ( "body" ) . addClass ( "f-topbar-fixed" ) } ) } , is _sticky : function ( a , b , c ) { var d = b . hasClass ( c . sticky _class ) , e = matchMedia ( Foundation . media _queries . small ) . matches , f = matchMedia ( Foundation . media _queries . medium ) . matches , g = matchMedia ( Foundation . media _queries . large ) . matches ; return d && "all" === c . sticky _on ? ! 0 : d && this . small ( ) && - 1 !== c . sticky _on . indexOf ( "small" ) && e && ! f && ! g ? ! 0 : d && this . medium ( ) && - 1 !== c . sticky _on . indexOf ( "medium" ) && e && f && ! g ? ! 0 : d && this . large ( ) && - 1 !== c . sticky _on . indexOf ( "large" ) && e && f && g ? ! 0 : ! 1 } , toggle : function ( c ) { var d , e = this ; d = c ? e . S ( c ) . closest ( "[" + this . attr _name ( ) + "]" ) : e . S ( "[" + this . attr _name ( ) + "]" ) ; var f = d . data ( this . attr _name ( ! 0 ) + "-init" ) , g = e . S ( "section, .top-bar-section" , d ) ; e . breakpoint ( ) && ( e . rtl ? ( g . css ( { right : "0%" } ) , a ( ">.name" , g ) . css ( { right : "100%" } ) ) : ( g . css ( { left : "0%" } ) , a ( ">.name" , g ) . css ( { left : "100%" } ) ) , e . S ( "li.moved" , g ) . removeClass ( "moved" ) , d . data ( "index" , 0 ) , d . toggleClass ( "expanded" ) . css ( "height" , "" ) ) , f . scrolltop ? d . hasClass ( "expanded" ) ? d . parent ( ) . hasClass ( "fixed" ) && ( f . scrolltop ? ( d . parent ( ) . removeClass ( "fixed" ) , d . addClass ( "fixed" ) , e . S ( "body" ) . removeClass ( "f-topbar-fixed" ) , b . scrollTo ( 0 , 0 ) ) : d . parent ( ) . removeClass ( "expanded" ) ) : d . hasClass ( "fixed" ) && ( d . parent ( ) . addClass ( "fixed" ) , d . removeClass ( "fixed" ) , e . S ( "body" ) . addClass ( "f-topbar-fixed" ) ) : ( e . is _sticky ( d , d . parent ( ) , f ) && d . parent ( ) . addClass ( "fixed" ) , d . parent ( ) . hasClass ( "fixed" ) && ( d . hasClass ( "expanded" ) ? ( d . addClass ( "fixed" ) , d . parent ( ) . addClass ( "expanded" ) , e . S ( "body" ) . addClass ( "f-topbar-fixed" ) ) : ( d . removeClass ( "fixed" ) , d . parent ( ) . removeClass ( "expanded" ) , e . update _sticky _positioning ( ) ) ) ) } , timer : null , events : function ( c ) { var d = this , e = this . S ; e ( this . scope ) . off ( ".topbar" ) . on ( "click.fndtn.topbar" , "[" + this . attr _name ( ) + "] .toggle-topbar" , function ( a ) { a . preventDefault ( ) , d . 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 ( b ) { var c = a ( this ) . closest ( "li" ) , e = c . closest ( "[" + d . attr _name ( ) + "]" ) , f = e . data ( d . attr _name ( ! 0 ) + "-init" ) ; if ( f . dropdown _autoclose && f . is _hover ) { var g = a ( this ) . closest ( ".hover" ) ; g . removeClass ( "hover" ) } ! d . breakpoint ( ) || c . hasClass ( "back" ) || c . hasClass ( "has-dropdown" ) || d . toggle ( ) } ) . on ( "click.fndtn.topbar" , "[" + this . attr _name ( ) + "] li.has-dropdown" , function ( b ) { var c = e ( this ) , f = e ( b . target ) , g = c . closest ( "[" + d . attr _name ( ) + "]" ) , h = g . data ( d . attr _name ( ! 0 ) + "-init" ) ; return f . data ( "revealId" ) ? void d . toggle ( ) : void ( d . breakpoint ( ) || ( ! h . is _hover || Modernizr . touch ) && ( b . stopImmediatePropagation ( ) , c . hasClass ( "hover" ) ? ( c . removeClass ( "hover" ) . find ( "li" ) . removeClass ( "hover" ) , c . parents ( "li.hover" ) . removeClass ( "hover" ) ) : ( c . addClass ( "hover" ) , a ( c ) . siblings ( ) . removeClass ( "hover" ) , "A" === f [ 0 ] . nodeName && f . parent ( ) . hasClass ( "has-dropdown" ) && b . preventDefault ( ) ) ) ) } ) . on ( "click.fndtn.topbar" , "[" + this . attr _name ( ) + "] .has-dropdown>a" , function ( a ) { if ( d . breakpoint ( ) ) { a . preventDefault ( ) ; var b = e ( this ) , c = b . closest ( "[" + d . attr _name ( ) + "]" ) , f = c . find ( "section, .top-bar-section" ) , g = ( b . next ( ".dropdown" ) . outerHeight ( ) , b . closest ( "li" ) ) ; c . data ( "index" , c . data ( "index" ) + 1 ) , g . addClass ( "moved" ) , d . rtl ? ( f . css ( { right : - ( 100 * c . data ( "index" ) ) + "%" } ) , f . find ( ">.name" ) . css ( { right : 100 * c . data ( "index" ) + "%" } ) ) : ( f . css ( { left : - (