!function(s,c,h){function r(e,t){return typeof e===t}function g(e){return e.replace(/([a-z])-([a-z])/g,function(e,t,i){return t+i.toUpperCase()}).replace(/^-/,"")}function p(e){return"function"!=typeof c.createElement?c.createElement(e):b?c.createElementNS.call(c,"http://www.w3.org/2000/svg",e):c.createElement.apply(c,arguments)}function l(e,t,i){var n,a;for(a in e)if(e[a]in t)return!1===i?e[a]:(n=t[e[a]],r(n,"function")?function(e,t){return function(){return e.apply(t,arguments)}}(n,i||t):n);return!1}function a(e){return e.replace(/([A-Z])/g,function(e,t){return"-"+t.toLowerCase()}).replace(/^ms-/,"-ms-")}function o(e,t,i,n){var a,o,s,r="modernizr",l=p("div"),d=((s=c.body)||((s=p(b?"svg":"body")).fake=!0),s);if(parseInt(i,10))for(;i--;)(a=p("div")).id=n?n[i]:r+(i+1),l.appendChild(a);return(s=p("style")).type="text/css",s.id="s"+r,(d.fake?d:l).appendChild(s),d.appendChild(l),s.styleSheet?s.styleSheet.cssText=e:s.appendChild(c.createTextNode(e)),l.id=r,d.fake&&(d.style.background="",d.style.overflow="hidden",o=v.style.overflow,v.style.overflow="hidden",v.appendChild(d)),e=t(l,e),d.fake?(d.parentNode.removeChild(d),v.style.overflow=o,v.offsetHeight):l.parentNode.removeChild(l),!!e}function m(e,t){var i=e.length;if("CSS"in s&&"supports"in s.CSS){for(;i--;)if(s.CSS.supports(a(e[i]),t))return!0;return!1}if("CSSSupportsRule"in s){for(var n=[];i--;)n.push("("+a(e[i])+":"+t+")");return o("@supports ("+(n=n.join(" or "))+") { #modernizr { position: absolute; } }",function(e){return"absolute"==(t=e,i=null,n="position","getComputedStyle"in s?(a=getComputedStyle.call(s,t,i),e=s.console,null!==a?n&&(a=a.getPropertyValue(n)):e&&e[e.error?"error":"log"].call(e,"getComputedStyle returning null, its possible modernizr test results are inaccurate")):a=!i&&t.currentStyle&&t.currentStyle[n],a);var t,i,n,a})}return h}function n(e,t,i,n,a){var o=e.charAt(0).toUpperCase()+e.slice(1),s=(e+" "+w.join(o+" ")+o).split(" ");return r(t,"string")||void 0===t?function(e,t,i,n){function a(){s&&(delete x.style,delete x.modElem)}if(n=void 0!==n&&n,void 0!==i){var o=m(e,i);if(void 0!==o)return o}for(var s,r,l,d,c,u=["modernizr","tspan","samp"];!x.style&&u.length;)s=!0,x.modElem=p(u.shift()),x.style=x.modElem.style;for(l=e.length,r=0;r49?function(){u(t,{timeout:o}),o!==O.ricTimeout&&(o=O.ricTimeout)}:J(function(){V(t)},!0);return function(e){var t;(e=!0===e)&&(o=33),i||(i=!0,t=a-(l.now()-n),t<0&&(t=0),e||t<9?s():V(s,t))}},te=function(e){var t,i,n=99,a=function(){t=null,e()},o=function(){var e=l.now()-i;e0)&&"visible"!=Z(n,"overflow")&&(i=n.getBoundingClientRect(),a=b>i.left&&vi.top-1&&f500&&A.clientWidth>500?500:370),y=O.expand,$=y*O.expFactor),H<$&&W<1&&T>2&&g>2&&!L.hidden?(H=$,T=0):H=g>1&&T>1&&W<6?y:k;for(;t=s&&(f=i.top)<=m&&(b=i.right)>=s*C&&(v=i.left)<=p&&(w||b||v||f)&&(O.loadHidden||"hidden"!=Z(d[t],"visibility"))&&(u&&W<3&&!r&&(g<3||T<4)||M(d[t],o))){if(E(d[t]),a=!0,W>9)break}else!a&&u&&!n&&W<4&&T<4&&g>2&&(c[0]||O.preloadAfterLoad)&&(c[0]||!r&&(w||b||v||f||"auto"!=d[t][R](O.sizesAttr)))&&(n=c[0]||d[t]);else E(d[t]);n&&!a&&E(n)}},i=ee(e),j=function(e){G(e.target,O.loadedClass),F(e.target,O.loadingClass),Q(e.target,z),B(e.target,"lazyloaded")},n=J(j),z=function(e){n({target:e.target})},S=function(t,i){try{t.contentWindow.location.replace(i)}catch(e){t.src=i}},P=function(e){var t,i=e[R](O.srcsetAttr);(t=O.customMedia[e[R]("data-media")||e[R]("media")])&&e.setAttribute("media",t),i&&e.setAttribute("srcset",i)},s=J(function(e,t,i,n,a){var o,s,r,l,d,c;(d=B(e,"lazybeforeunveil",t)).defaultPrevented||(n&&(i?G(e,O.autosizesClass):e.setAttribute("sizes",n)),s=e[R](O.srcsetAttr),o=e[R](O.srcAttr),a&&(r=e.parentNode,l=r&&N.test(r.nodeName||"")),c=t.firesLoad||"src"in e&&(s||o||l),d={target:e},c&&(Q(e,I,!0),clearTimeout(h),h=V(I,2500),G(e,O.loadingClass),Q(e,z,!0)),l&&X.call(r.getElementsByTagName("source"),P),s?e.setAttribute("srcset",s):o&&!l&&(x.test(e.nodeName)?S(e,o):e.src=o),a&&(s||l)&&U(e,{src:o})),e._lazyRace&&delete e._lazyRace,F(e,O.lazyClass),K(function(){(!c||e.complete&&e.naturalWidth>1)&&(c?I(d):W--,j(d))},!0)}),E=function(e){var t,i=o.test(e.nodeName),n=i&&(e[R](O.sizesAttr)||e[R]("sizes")),a="auto"==n;(!a&&u||!i||!e[R]("src")&&!e.srcset||e.complete||Y(e,O.errorClass)||!Y(e,O.lazyClass))&&(t=B(e,"lazyunveilread").detail,a&&ie.updateElem(e,!0,e.offsetWidth),e._lazyRace=!0,W++,s(e,t,a,n,i))},a=function(){if(!u){if(l.now()-t<999)return void V(a,999);var e=te(function(){O.loadMode=3,i()});u=!0,O.loadMode=3,i(),D("scroll",function(){3==O.loadMode&&(O.loadMode=2),e()},!0)}};return{_:function(){t=l.now(),q.elements=L.getElementsByClassName(O.lazyClass),c=L.getElementsByClassName(O.lazyClass+" "+O.preloadClass),C=O.hFac,D("scroll",i,!0),D("resize",i,!0),r.MutationObserver?new MutationObserver(i).observe(A,{childList:!0,subtree:!0,attributes:!0}):(A[d]("DOMNodeInserted",i,!0),A[d]("DOMAttrModified",i,!0),setInterval(i,999)),D("hashchange",i,!0),["focus","mouseover","click","load","transitionend","animationend","webkitAnimationEnd"].forEach(function(e){L[d](e,i,!0)}),/d$|^c/.test(L.readyState)?a():(D("load",a),L[d]("DOMContentLoaded",i),V(a,2e4)),q.elements.length?(e(),K._lsFlush()):i()},checkElems:i,unveil:E}}(),ie=function(){var i,o=J(function(e,t,i,n){var a,o,s;if(e._lazysizesWidth=n,n+="px",e.setAttribute("sizes",n),N.test(t.nodeName||""))for(a=t.getElementsByTagName("source"),o=0,s=a.length;o'),l.$body.on(m.gestureChange,s.killGesture).on(m.gestureStart,s.killGesture).on(m.gestureEnd,s.killGesture),g=!0)},unlockViewport:function(e){void 0!==h[e]&&delete h[e],p.isEmptyObject(h)&&g&&(t.length&&(i?t.attr("content",i):t.remove()),l.$body.off(m.gestureChange).off(m.gestureStart).off(m.gestureEnd),g=!1)},startTimer:function(e,t,i,n){return s.clearTimer(e),(n?setInterval:setTimeout)(i,t)},clearTimer:function(e,t){e&&(t?clearInterval:clearTimeout)(e)},sortAsc:function(e,t){return parseInt(e,10)-parseInt(t,10)},sortDesc:function(e,t){return parseInt(t,10)-parseInt(e,10)},decodeEntities:function(e){var t=l.document.createElement("textarea");return t.innerHTML=e,t.value},parseQueryString:function(e){for(var t={},i=e.slice(e.indexOf("?")+1).split("&"),n=0;na[e])&&(a[e]=i)))}}(),i.trigger(c.mqChange,[a])}function r(e){var t=l(e.media),i=g[t],e=e.matches,n=e?c.enter:c.leave;if(i&&(i.active||!i.active&&e)){for(var a in i[n])i[n].hasOwnProperty(a)&&i[n][a].apply(i.mq);i.active=!0}}function l(e){return e.replace(/[^a-z0-9\s]/gi,"").replace(/[_\s]/g,"").replace(/^\s+|\s+$/g,"")}var t=e.Plugin("mediaquery",{utilities:{_initialize:function(e){for(var t in e=e||{},m)m.hasOwnProperty(t)&&(d[t]=e[t]?o.merge(e[t],d[t]):d[t]);for(var i in(d=o.extend(d,e)).minWidth.sort(h.sortDesc),d.maxWidth.sort(h.sortAsc),d.minHeight.sort(h.sortDesc),d.maxHeight.sort(h.sortAsc),m)if(m.hasOwnProperty(i))for(var n in p[i]={},d[i]){var a;d[i].hasOwnProperty(n)&&((a=window.matchMedia("("+m[i]+": "+(d[i][n]===1/0?1e5:d[i][n])+d.unit+")")).addListener(s),p[i][d[i][n]]=a)}s()},state:function(){return a},bind:function(e,t,i){var n,a=u.matchMedia(t),o=l(a.media);for(n in g[o]||(g[o]={mq:a,active:!0,enter:{},leave:{}},g[o].mq.addListener(r)),i)i.hasOwnProperty(n)&&g[o].hasOwnProperty(n)&&(g[o][n][e]=i[n]);var s=g[o];(t=a.matches)&&s[c.enter].hasOwnProperty(e)?(s[c.enter][e].apply(a),s.active=!0):!t&&s[c.leave].hasOwnProperty(e)&&(s[c.leave][e].apply(a),s.active=!1)},unbind:function(e,t){if(e)if(t){t=l(t);g[t]&&(g[t].enter[e]&&delete g[t].enter[e],g[t].leave[e]&&delete g[t].leave[e])}else for(var i in g)g.hasOwnProperty(i)&&(g[i].enter[e]&&delete g[i].enter[e],g[i].leave[e]&&delete g[i].leave[e])}},events:{mqChange:"mqchange"}}),d={minWidth:[0],maxWidth:[1/0],minHeight:[0],maxHeight:[1/0],unit:"px"},c=o.extend(t.events,{enter:"enter",leave:"leave"}),i=e.$window,u=i[0],h=t.functions,a=null,g=[],p={},m={minWidth:"min-width",maxWidth:"max-width",minHeight:"min-height",maxHeight:"max-height"}}),function(e){"function"==typeof define&&define.amd?define(["jquery","./core","./mediaquery"],e):e(jQuery,Formstone)}(function(l,o){"use strict";function t(){u.scrollDepth&&s()}function i(){var e,t=l(this),i=void 0!==t[0].href?t[0].href:"",n=document.domain.split(".").reverse(),n=null!==i.match(n[1]+"."+n[0]);i.match(/^mailto\:/i)?e="Email, Click, "+i.replace(/^mailto\:/i,""):i.match(/^tel\:/i)?e="Telephone, Click, "+i.replace(/^tel\:/i,""):i.match(u.fileTypes)?e="File, Download:"+(/[.]/.exec(i)?/[^.]+$/.exec(i):void 0)[0]+", "+i.replace(/ /g,"-"):n||(e="ExternalLink, Click, "+i),e&&t.attr(w,e)}function n(e){m.startTimer($,250,a)}function a(){for(var e=g.scrollTop()+o.windowHeight,t=1/u.scrollStops,i=t,n=1;n<=u.scrollStops;n++){var a=Math.round(100*i).toString();!y[C][a].passed&&e>y[C][a].edge&&(y[C][a].passed=!0,d(l.extend(u.scrollFields,{eventCategory:"ScrollDepth",eventAction:C,eventLabel:a,nonInteraction:!0}))),i+=t}}function s(){var e,t,i=l.mediaquery("state"),n=p.outerHeight(),a={},o=1/u.scrollStops,s=o;i.minWidth&&(C="MinWidth:"+i.minWidth+"px");for(var r=1;r<=u.scrollStops;r++)e=parseInt(n*s),a[t=Math.round(100*s).toString()]={edge:"100"===t?e-10:e,passsed:!(!y[C]||!y[C][t])&&y[C][t].passed},s+=o;y[C]=a}function r(e){var t,i=l(this),n=i.attr("href"),a=i.data(b).split(",");for(t in u.eventCallback&&e.preventDefault(),a)a.hasOwnProperty(t)&&(a[t]=l.trim(a[t]));d({eventCategory:a[0],eventAction:a[1],eventLabel:a[2]||n,eventValue:a[3],nonInteraction:a[4]},i)}function d(e,t){h.location;var i,n=l.extend({hitType:"event"},e);void 0===t||t.attr("data-analytics-stop")||(e=void 0!==t[0].href?t[0].href:"",""!==(i=!e.match(/^mailto\:/i)&&!e.match(/^tel\:/i)&&e.indexOf(":")<0?h.location.protocol+"//"+h.location.hostname+"/"+e:e)&&((t=t.attr("target"))?h.open(i,t):u.eventCallback&&(n[t="hitCallback"]=function(){x&&(m.clearTimer(x),document.location=i)},x=m.startTimer(x,u.eventTimeout,n[t])))),c(n)}function c(e){if("function"==typeof h.ga&&"function"==typeof h.ga.getAll)for(var t=h.ga.getAll(),i=0,n=t.length;i