!function(t,e,n){function i(t,e){return typeof t===e}function o(){var t,e,n,o,s,r,l;for(var a in y)if(y.hasOwnProperty(a)){if(t=[],e=y[a],e.name&&(t.push(e.name.toLowerCase()),e.options&&e.options.aliases&&e.options.aliases.length))for(n=0;n<e.options.aliases.length;n++)t.push(e.options.aliases[n].toLowerCase());for(o=i(e.fn,"function")?e.fn():e.fn,s=0;s<t.length;s++)r=t[s],l=r.split("."),1===l.length?b[l[0]]=o:(!b[l[0]]||b[l[0]]instanceof Boolean||(b[l[0]]=new Boolean(b[l[0]])),b[l[0]][l[1]]=o),x.push((o?"":"no-")+l.join("-"))}}function s(t){var e=S.className,n=b._config.classPrefix||"";if(T&&(e=e.baseVal),b._config.enableJSClass){var i=new RegExp("(^|\\s)"+n+"no-js(\\s|$)");e=e.replace(i,"$1"+n+"js$2")}b._config.enableClasses&&(e+=" "+n+t.join(" "+n),T?S.className.baseVal=e:S.className=e)}function r(){return"function"!=typeof e.createElement?e.createElement(arguments[0]):T?e.createElementNS.call(e,"http://www.w3.org/2000/svg",arguments[0]):e.createElement.apply(e,arguments)}function l(){var t=e.body;return t||(t=r(T?"svg":"body"),t.fake=!0),t}function a(t,n,i,o){var s,a,c,d,u="modernizr",h=r("div"),f=l();if(parseInt(i,10))for(;i--;)c=r("div"),c.id=o?o[i]:u+(i+1),h.appendChild(c);return s=r("style"),s.type="text/css",s.id="s"+u,(f.fake?f:h).appendChild(s),f.appendChild(h),s.styleSheet?s.styleSheet.cssText=t:s.appendChild(e.createTextNode(t)),h.id=u,f.fake&&(f.style.background="",f.style.overflow="hidden",d=S.style.overflow,S.style.overflow="hidden",S.appendChild(f)),a=n(h,t),f.fake?(f.parentNode.removeChild(f),S.style.overflow=d,S.offsetHeight):h.parentNode.removeChild(h),!!a}function c(t,e){return!!~(""+t).indexOf(e)}function d(t){return t.replace(/([A-Z])/g,function(t,e){return"-"+e.toLowerCase()}).replace(/^ms-/,"-ms-")}function u(e,i){var o=e.length;if("CSS"in t&&"supports"in t.CSS){for(;o--;)if(t.CSS.supports(d(e[o]),i))return!0;return!1}if("CSSSupportsRule"in t){for(var s=[];o--;)s.push("("+d(e[o])+":"+i+")");return s=s.join(" or "),a("@supports ("+s+") { #modernizr { position: absolute; } }",function(t){return"absolute"==getComputedStyle(t,null).position})}return n}function h(t){return t.replace(/([a-z])-([a-z])/g,function(t,e,n){return e+n.toUpperCase()}).replace(/^-/,"")}function f(t,e,o,s){function l(){d&&(delete A.style,delete A.modElem)}if(s=!i(s,"undefined")&&s,!i(o,"undefined")){var a=u(t,o);if(!i(a,"undefined"))return a}for(var d,f,p,m,v,g=["modernizr","tspan"];!A.style;)d=!0,A.modElem=r(g.shift()),A.style=A.modElem.style;for(p=t.length,f=0;p>f;f++)if(m=t[f],v=A.style[m],c(m,"-")&&(m=h(m)),A.style[m]!==n){if(s||i(o,"undefined"))return l(),"pfx"!=e||m;try{A.style[m]=o}catch(t){}if(A.style[m]!=v)return l(),"pfx"!=e||m}return l(),!1}function p(t,e){return function(){return t.apply(e,arguments)}}function m(t,e,n){var o;for(var s in t)if(t[s]in e)return!1===n?t[s]:(o=e[t[s]],i(o,"function")?p(o,n||e):o);return!1}function v(t,e,n,o,s){var r=t.charAt(0).toUpperCase()+t.slice(1),l=(t+" "+L.join(r+" ")+r).split(" ");return i(e,"string")||i(e,"undefined")?f(l,e,o,s):(l=(t+" "+k.join(r+" ")+r).split(" "),m(l,e,n))}function g(t,e,i){return v(t,n,n,e,i)}var y=[],w={_version:"3.3.1",_config:{classPrefix:"",enableClasses:!0,enableJSClass:!0,usePrefixes:!0},_q:[],on:function(t,e){var n=this;setTimeout(function(){e(n[t])},0)},addTest:function(t,e,n){y.push({name:t,fn:e,options:n})},addAsyncTest:function(t){y.push({name:null,fn:t})}},b=function(){};b.prototype=w,b=new b;var x=[],S=e.documentElement,T="svg"===S.nodeName.toLowerCase(),E=w._config.usePrefixes?" -webkit- -moz- -o- -ms- ".split(" "):[];w._prefixes=E;var C=w.testStyles=a;b.addTest("touchevents",function(){var n;if("ontouchstart"in t||t.DocumentTouch&&e instanceof DocumentTouch)n=!0;else{var i=["@media (",E.join("touch-enabled),("),"heartz",")","{#modernizr{top:9px;position:absolute}}"].join("");C(i,function(t){n=9===t.offsetTop})}return n});var H="Moz O ms Webkit",L=w._config.usePrefixes?H.split(" "):[];w._cssomPrefixes=L;var M={elem:r("modernizr")};b._q.push(function(){delete M.elem});var A={style:M.elem.style};b._q.unshift(function(){delete A.style});var k=w._config.usePrefixes?H.toLowerCase().split(" "):[];w._domPrefixes=k,w.testAllProps=v,w.testAllProps=g,b.addTest("cssanimations",g("animationName","a",!0));var j="CSS"in t&&"supports"in t.CSS,N="supportsCSS"in t;b.addTest("supports",j||N),b.addTest("cssfilters",function(){if(b.supports)return g("filter","blur(2px)");var t=r("a");return t.style.cssText=E.join("filter:blur(2px); "),!!t.style.length&&(e.documentMode===n||e.documentMode>9)}),b.addTest("flexbox",g("flexBasis","1px",!0)),b.addTest("csstransitions",g("transition","all",!0)),o(),s(x),delete w.addTest,delete w.addAsyncTest;for(var q=0;q<b._q.length;q++)b._q[q]();t.Modernizr=b}(window,document),function(t,e){"use strict";"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?module.exports=e():t.Headroom=e()}(this,function(){"use strict";function t(t){this.callback=t,this.ticking=!1}function e(t){return t&&"undefined"!=typeof window&&(t===window||t.nodeType)}function n(t){if(arguments.length<=0)throw new Error("Missing arguments in extend function");var i,o,s=t||{};for(o=1;o<arguments.length;o++){var r=arguments[o]||{};for(i in r)"object"!=typeof s[i]||e(s[i])?s[i]=s[i]||r[i]:s[i]=n(s[i],r[i])}return s}function i(t){return t===Object(t)?t:{down:t,up:t}}function o(t,e){e=n(e,o.options),this.lastKnownScrollY=0,this.elem=t,this.tolerance=i(e.tolerance),this.classes=e.classes,this.offset=e.offset,this.scroller=e.scroller,this.initialised=!1,this.onPin=e.onPin,this.onUnpin=e.onUnpin,this.onTop=e.onTop,this.onNotTop=e.onNotTop,this.onBottom=e.onBottom,this.onNotBottom=e.onNotBottom}var s={bind:!!function(){}.bind,classList:"classList"in document.documentElement,rAF:!!(window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame)};return window.requestAnimationFrame=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame,t.prototype={constructor:t,update:function(){this.callback&&this.callback(),this.ticking=!1},requestTick:function(){this.ticking||(requestAnimationFrame(this.rafCallback||(this.rafCallback=this.update.bind(this))),this.ticking=!0)},handleEvent:function(){this.requestTick()}},o.prototype={constructor:o,init:function(){return o.cutsTheMustard?(this.debouncer=new t(this.update.bind(this)),this.elem.classList.add(this.classes.initial),setTimeout(this.attachEvent.bind(this),100),this):void 0},destroy:function(){var t=this.classes;this.initialised=!1,this.elem.classList.remove(t.unpinned,t.pinned,t.top,t.notTop,t.initial),this.scroller.removeEventListener("scroll",this.debouncer,!1)},attachEvent:function(){this.initialised||(this.lastKnownScrollY=this.getScrollY(),this.initialised=!0,this.scroller.addEventListener("scroll",this.debouncer,!1),this.debouncer.handleEvent())},unpin:function(){var t=this.elem.classList,e=this.classes;!t.contains(e.pinned)&&t.contains(e.unpinned)||(t.add(e.unpinned),t.remove(e.pinned),this.onUnpin&&this.onUnpin.call(this))},pin:function(){var t=this.elem.classList,e=this.classes;t.contains(e.unpinned)&&(t.remove(e.unpinned),t.add(e.pinned),this.onPin&&this.onPin.call(this))},top:function(){var t=this.elem.classList,e=this.classes;t.contains(e.top)||(t.add(e.top),t.remove(e.notTop),this.onTop&&this.onTop.call(this))},notTop:function(){var t=this.elem.classList,e=this.classes;t.contains(e.notTop)||(t.add(e.notTop),t.remove(e.top),this.onNotTop&&this.onNotTop.call(this))},bottom:function(){var t=this.elem.classList,e=this.classes;t.contains(e.bottom)||(t.add(e.bottom),t.remove(e.notBottom),this.onBottom&&this.onBottom.call(this))},notBottom:function(){var t=this.elem.classList,e=this.classes;t.contains(e.notBottom)||(t.add(e.notBottom),t.remove(e.bottom),this.onNotBottom&&this.onNotBottom.call(this))},getScrollY:function(){return void 0!==this.scroller.pageYOffset?this.scroller.pageYOffset:void 0!==this.scroller.scrollTop?this.scroller.scrollTop:(document.documentElement||document.body.parentNode||document.body).scrollTop},getViewportHeight:function(){return window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight},getElementPhysicalHeight:function(t){return Math.max(t.offsetHeight,t.clientHeight)},getScrollerPhysicalHeight:function(){return this.scroller===window||this.scroller===document.body?this.getViewportHeight():this.getElementPhysicalHeight(this.scroller)},getDocumentHeight:function(){var t=document.body,e=document.documentElement;return Math.max(t.scrollHeight,e.scrollHeight,t.offsetHeight,e.offsetHeight,t.clientHeight,e.clientHeight)},getElementHeight:function(t){return Math.max(t.scrollHeight,t.offsetHeight,t.clientHeight)},getScrollerHeight:function(){return this.scroller===window||this.scroller===document.body?this.getDocumentHeight():this.getElementHeight(this.scroller)},isOutOfBounds:function(t){var e=0>t,n=t+this.getScrollerPhysicalHeight()>this.getScrollerHeight();return e||n},toleranceExceeded:function(t,e){return Math.abs(t-this.lastKnownScrollY)>=this.tolerance[e]},shouldUnpin:function(t,e){var n=t>this.lastKnownScrollY,i=t>=this.offset;return n&&i&&e},shouldPin:function(t,e){var n=t<this.lastKnownScrollY,i=t<=this.offset;return n&&e||i},update:function(){var t=this.getScrollY(),e=t>this.lastKnownScrollY?"down":"up",n=this.toleranceExceeded(t,e);this.isOutOfBounds(t)||(t<=this.offset?this.top():this.notTop(),t+this.getViewportHeight()>=this.getScrollerHeight()?this.bottom():this.notBottom(),this.shouldUnpin(t,n)?this.unpin():this.shouldPin(t,n)&&this.pin(),this.lastKnownScrollY=t)}},o.options={tolerance:{up:0,down:0},offset:0,scroller:window,classes:{pinned:"headroom--pinned",unpinned:"headroom--unpinned",top:"headroom--top",notTop:"headroom--not-top",bottom:"headroom--bottom",notBottom:"headroom--not-bottom",initial:"headroom"}},o.cutsTheMustard=void 0!==s&&s.rAF&&s.bind&&s.classList,o}),function(t,e){"function"==typeof define&&define.amd?define([],e):"object"==typeof module&&module.exports?module.exports=e():t.balanceText=e()}(this,function(){function t(t){return Array.isArray?Array.isArray(t):"[object Array]"===Object.prototype.toString.call(t)}function e(t){"loading"!==document.readyState?t():document.addEventListener?document.addEventListener("DOMContentLoaded",t):document.attachEvent("onreadystatechange",function(){"loading"!==document.readyState&&t()})}function n(t,e,n){var i;window.CustomEvent?i=new CustomEvent(e,{detail:n}):(i=document.createEvent("CustomEvent"),i.initCustomEvent(e,!0,!0,n)),t.dispatchEvent(i)}function i(t,e,n){var i;return function o(){function s(){n||t.apply(r,l),i=null}var r=this,l=arguments;i?clearTimeout(i):n&&t.apply(r,l),i=setTimeout(s,e||100)}}function o(t){t?window.addEventListener("resize",i(t)):n(window,"smartresize")}function s(t){return t?Array.prototype.slice.call(t):[]}function r(){var t=document.documentElement.style;return t.textWrap||t.WebkitTextWrap||t.MozTextWrap||t.MsTextWrap||t.OTextWrap}function l(){this.reset()}function a(e){return NodeList.prototype.isPrototypeOf(e)&&(e=s(e)),t(e)||(e=[e]),e}function c(t){return r()?this:("string"==typeof t&&(t=document.querySelectorAll(t)),t=a(t),t.forEach(function(t){var e=5e3;g(t);var n=t.style.whiteSpace,i=t.style.float,o=t.style.display,s=t.style.position,r=t.style.lineHeight;t.style.lineHeight="normal";var a=t.offsetWidth,c=t.offsetHeight;t.style.whiteSpace="nowrap",t.style.float="none",t.style.display="inline",t.style.position="static";var d=t.offsetWidth,u=t.offsetHeight,h="pre-wrap"===n?0:S(t,u);if(a>0&&d>a&&d<5e3){for(var f=t.innerHTML,p="",v="",b=y(t),T=Math.round(c/u),E=T,C,H,L,M,A;E>1;)m=null,C=Math.round((d+h)/E-h),H=Math.round((f.length+1)/E)-1,L=new l,x(t,f,a,C,-1,H,L),M=new l,H=L.index,x(t,f,a,C,1,H,M),L.reset(),H=M.index,x(t,f,a,C,-1,H,L),A=0===L.index?M.index:a<M.width||L.index===M.index?L.index:Math.abs(C-L.width)<Math.abs(M.width-C)?L.index:M.index,v=f.substr(0,A),b?p+=w(t,v,a):(p+=v.replace(/\s$/,""),p+='<br data-owner="balance-text" />'),f=f.substr(A),E--,t.innerHTML=f,d=t.offsetWidth;t.innerHTML=b?p+w(t,f,a):p+f}t.style.whiteSpace=n,t.style.float=i,t.style.display=o,t.style.position=s,t.style.lineHeight=r}))}function d(){var t=T.sel.join(","),e=t?document.querySelectorAll(t):[];c(T.el.concat(s(e)))}function u(){E||(e(d),o(d),E=!0)}function h(t){"string"==typeof t?T.sel.push(t):(t=a(t),t.forEach(function(t){T.el.push(t)})),u(),d()}function f(){C||(T.sel.push(".balance-text"),u(),C=!0)}function p(t,e){return t?("string"!=typeof t&&void 0!==t.length&&(t=s(t)),e&&e.watch?void h(t):void c(t)):void f()}var m;l.prototype.reset=function(){this.index=0,this.width=0};var v=function(t,e){var n=/\s(?![^<]*>)/g,i;if(!m)for(m=[],i=n.exec(t);null!==i;)m.push(i.index),i=n.exec(t);return-1!==m.indexOf(e)},g=function(t){s(t.querySelectorAll('br[data-owner="balance-text"]')).forEach(function(t){t.outerHTML=" "});var e=s(t.querySelectorAll('span[data-owner="balance-text"]'));if(e.length>0){var n="";e.forEach(function(t){n+=t.textContent,t.parentNode.removeChild(t)}),t.innerHTML=n}},y=function(t){return"justify"===(t.currentStyle||window.getComputedStyle(t,null)).textAlign},w=function(t,e,n){e=e.trim();var i=e.split(" ").length;if(e+=" ",i<2)return e;var o=document.createElement("span");o.innerHTML=e,t.appendChild(o);var s=o.offsetWidth;o.parentNode.removeChild(o);var r=Math.floor((n-s)/(i-1));o.style.wordSpacing=r+"px",o.setAttribute("data-owner","balance-text");var l=document.createElement("div");return l.appendChild(o),l.innerHTML},b=function(t,e){return 0===e||e===t.length||v(t,e-1)&&!v(t,e)},x=function(t,e,n,i,o,s,r){var l;if(e&&"string"==typeof e)for(;;){for(;!b(e,s);)s+=o;if(t.innerHTML=e.substr(0,s),l=t.offsetWidth,o<0){if(l<=i||l<=0||0===s)break}else if(i<=l||n<=l||s===e.length)break;s+=o}r.index=s,r.width=l},S=function(t,e){var n=document.createElement("div");n.style.display="block",n.style.position="absolute",n.style.bottom=0,n.style.right=0,n.style.width=0,n.style.height=0,n.style.margin=0,n.style.padding=0,n.style.visibility="hidden",n.style.overflow="hidden";var i=document.createElement("span");i.style.fontSize="2000px",i.innerHTML="&nbsp;",n.appendChild(i),t.appendChild(n);var o=i.getBoundingClientRect();return n.parentNode.removeChild(n),e/(o.height/o.width)},T={sel:[],el:[]},E=!1,C=!1;return p.updateWatched=function(){d()},p}),jQuery.fn.cleanWhitespace=function(){return textNodes=this.contents().filter(function(){return 3==this.nodeType&&!/\S/.test(this.nodeValue)}).remove(),this},function(t){"function"==typeof define&&define.amd?define(["jquery"],t):"object"==typeof exports?module.exports=t(require("jquery")):t(jQuery)}(function(t){function e(){var e,n,i={height:c.innerHeight,width:c.innerWidth};return i.height||((e=a.compatMode)||!t.support.boxModel)&&(n="CSS1Compat"===e?d:a.body,i={height:n.clientHeight,width:n.clientWidth}),i}function n(){return{top:c.pageYOffset||d.scrollTop||a.body.scrollTop,left:c.pageXOffset||d.scrollLeft||a.body.scrollLeft}}function i(){if(l.length){var i=0,r=t.map(l,function(t){var e=t.data.selector,n=t.$element;return e?n.find(e):n});for(o=o||e(),s=s||n();i<l.length;i++)if(t.contains(d,r[i][0])){var a=t(r[i]),c={height:a[0].offsetHeight,width:a[0].offsetWidth},u=a.offset(),h=a.data("inview");if(!s||!o)return;u.top+c.height>s.top&&u.top<s.top+o.height&&u.left+c.width>s.left&&u.left<s.left+o.width?h||a.data("inview",!0).trigger("inview",[!0]):h&&a.data("inview",!1).trigger("inview",[!1])}}}var o,s,r,l=[],a=document,c=window,d=a.documentElement;t.event.special.inview={add:function(e){l.push({data:e,$element:t(this),element:this}),!r&&l.length&&(r=setInterval(i,250))},remove:function(t){for(var e=0;e<l.length;e++){var n=l[e];if(n.element===this&&n.data.guid===t.guid){l.splice(e,1);break}}l.length||(clearInterval(r),r=null)}},t(c).on("scroll resize scrollstop",function(){o=s=null}),!d.addEventListener&&d.attachEvent&&d.attachEvent("onfocusin",function(){s=null})}),this.fitie=function(t){function e(){d.call(t,u+f,e);var r={boxSizing:"content-box",display:"inline-block",overflow:"hidden"};"backgroundColor backgroundImage borderColor borderStyle borderWidth bottom fontSize lineHeight height left opacity margin position right top visibility width".replace(/\w+/g,function(t){r[t]=a[t]}),l.border=l.margin=l.padding=0,l.display="block",l.height=l.width="auto",l.opacity=1;var c=t.videoWidth||t.width,p=t.videoHeight||t.height,m=c/p,v=document.createElement("object-fit");v.appendChild(t.parentNode.replaceChild(v,t));for(var g in r)v.runtimeStyle[g]=r[g];var y;"fill"===n?h?(l.width=i,l.height=o):(l["-ms-transform-origin"]="0% 0%",l["-ms-transform"]="scale("+i/c+","+o/p+")"):(s>m?"contain"===n:"cover"===n)?(y=o*m,l.width=Math.round(y)+"px",l.height=o+"px",l.marginLeft=Math.round((i-y)/2)+"px"):(y=i/m,l.width=i+"px",l.height=Math.round(y)+"px",l.marginTop=Math.round((o-y)/2)+"px")}var n=t.currentStyle["object-fit"];if(n&&/^(contain|cover|fill)$/.test(n)){var i=t.clientWidth,o=t.clientHeight,s=i/o,r=t.nodeName.toLowerCase(),l=t.runtimeStyle,a=t.currentStyle,c=t.addEventListener||t.attachEvent,d=t.removeEventListener||t.detachEvent,u=t.addEventListener?"":"on",h="img"===r,f=h?"load":"loadedmetadata";c.call(t,u+f,e),t.complete&&e()}},this.fitie.init=function(){if(document.body)for(var t=document.querySelectorAll("img,video"),e=-1;t[++e];)fitie(t[e]);else setTimeout(fitie.init)},/MSIE|Trident/.test(navigator.userAgent)&&this.fitie.init();