!function t(e,n,o){function i(a,s){if(!n[a]){if(!e[a]){var l="function"==typeof require&&require;if(!s&&l)return l(a,!0);if(r)return r(a,!0);var c=new Error("Cannot find module '"+a+"'");throw c.code="MODULE_NOT_FOUND",c}var u=n[a]={exports:{}};e[a][0].call(u.exports,function(t){var n=e[a][1][t];return i(n?n:t)},u,u.exports,t,e,n,o)}return n[a].exports}for(var r="function"==typeof require&&require,a=0;a<o.length;a++)i(o[a]);return i}({1:[function(t,e,n){!function(o,i){"function"==typeof define&&define.amd?define(i):"object"==typeof n?e.exports=i(t,n,e):o.CountUp=i()}(this,function(t,e,n){var o=function(t,e,n,o,i,r){for(var a=0,s=["webkit","moz","ms","o"],l=0;l<s.length&&!window.requestAnimationFrame;++l)window.requestAnimationFrame=window[s[l]+"RequestAnimationFrame"],window.cancelAnimationFrame=window[s[l]+"CancelAnimationFrame"]||window[s[l]+"CancelRequestAnimationFrame"];window.requestAnimationFrame||(window.requestAnimationFrame=function(t,e){var n=(new Date).getTime(),o=Math.max(0,16-(n-a)),i=window.setTimeout(function(){t(n+o)},o);return a=n+o,i}),window.cancelAnimationFrame||(window.cancelAnimationFrame=function(t){clearTimeout(t)}),this.options={useEasing:!0,useGrouping:!0,separator:",",decimal:"."};for(var c in r)r.hasOwnProperty(c)&&(this.options[c]=r[c]);""===this.options.separator&&(this.options.useGrouping=!1),this.options.prefix||(this.options.prefix=""),this.options.suffix||(this.options.suffix=""),this.d="string"==typeof t?document.getElementById(t):t,this.startVal=Number(e),this.endVal=Number(n),this.countDown=this.startVal>this.endVal,this.frameVal=this.startVal,this.decimals=Math.max(0,o||0),this.dec=Math.pow(10,this.decimals),this.duration=1e3*Number(i)||2e3;var u=this;this.version=function(){return"1.6.1"},this.printValue=function(t){var e=isNaN(t)?"--":u.formatNumber(t);"INPUT"==u.d.tagName?this.d.value=e:"text"==u.d.tagName||"tspan"==u.d.tagName?this.d.textContent=e:this.d.innerHTML=e},this.easeOutExpo=function(t,e,n,o){return n*(-Math.pow(2,-10*t/o)+1)*1024/1023+e},this.count=function(t){u.startTime||(u.startTime=t),u.timestamp=t;var e=t-u.startTime;u.remaining=u.duration-e,u.options.useEasing?u.countDown?u.frameVal=u.startVal-u.easeOutExpo(e,0,u.startVal-u.endVal,u.duration):u.frameVal=u.easeOutExpo(e,u.startVal,u.endVal-u.startVal,u.duration):u.countDown?u.frameVal=u.startVal-(u.startVal-u.endVal)*(e/u.duration):u.frameVal=u.startVal+(u.endVal-u.startVal)*(e/u.duration),u.countDown?u.frameVal=u.frameVal<u.endVal?u.endVal:u.frameVal:u.frameVal=u.frameVal>u.endVal?u.endVal:u.frameVal,u.frameVal=Math.floor(u.frameVal*u.dec)/u.dec,u.printValue(u.frameVal),e<u.duration?u.rAF=requestAnimationFrame(u.count):u.callback&&u.callback()},this.start=function(t){return u.callback=t,u.rAF=requestAnimationFrame(u.count),!1},this.pauseResume=function(){u.paused?(u.paused=!1,delete u.startTime,u.duration=u.remaining,u.startVal=u.frameVal,requestAnimationFrame(u.count)):(u.paused=!0,cancelAnimationFrame(u.rAF))},this.reset=function(){u.paused=!1,delete u.startTime,u.startVal=e,cancelAnimationFrame(u.rAF),u.printValue(u.startVal)},this.update=function(t){cancelAnimationFrame(u.rAF),u.paused=!1,delete u.startTime,u.startVal=u.frameVal,u.endVal=Number(t),u.countDown=u.startVal>u.endVal,u.rAF=requestAnimationFrame(u.count)},this.formatNumber=function(t){t=t.toFixed(u.decimals),t+="";var e,n,o,i;if(e=t.split("."),n=e[0],o=e.length>1?u.options.decimal+e[1]:"",i=/(\d+)(\d{3})/,u.options.useGrouping)for(;i.test(n);)n=n.replace(i,"$1"+u.options.separator+"$2");return u.options.prefix+n+o+u.options.suffix},u.printValue(u.startVal)};return o})},{}],2:[function(t,e,n){!function(){"use strict";function t(e,n){function i(t,e){return function(){return t.apply(e,arguments)}}var r;if(n=n||{},this.trackingClick=!1,this.trackingClickStart=0,this.targetElement=null,this.touchStartX=0,this.touchStartY=0,this.lastTouchIdentifier=0,this.touchBoundary=n.touchBoundary||10,this.layer=e,this.tapDelay=n.tapDelay||200,this.tapTimeout=n.tapTimeout||700,!t.notNeeded(e)){for(var a=["onMouse","onClick","onTouchStart","onTouchMove","onTouchEnd","onTouchCancel"],s=this,l=0,c=a.length;c>l;l++)s[a[l]]=i(s[a[l]],s);o&&(e.addEventListener("mouseover",this.onMouse,!0),e.addEventListener("mousedown",this.onMouse,!0),e.addEventListener("mouseup",this.onMouse,!0)),e.addEventListener("click",this.onClick,!0),e.addEventListener("touchstart",this.onTouchStart,!1),e.addEventListener("touchmove",this.onTouchMove,!1),e.addEventListener("touchend",this.onTouchEnd,!1),e.addEventListener("touchcancel",this.onTouchCancel,!1),Event.prototype.stopImmediatePropagation||(e.removeEventListener=function(t,n,o){var i=Node.prototype.removeEventListener;"click"===t?i.call(e,t,n.hijacked||n,o):i.call(e,t,n,o)},e.addEventListener=function(t,n,o){var i=Node.prototype.addEventListener;"click"===t?i.call(e,t,n.hijacked||(n.hijacked=function(t){t.propagationStopped||n(t)}),o):i.call(e,t,n,o)}),"function"==typeof e.onclick&&(r=e.onclick,e.addEventListener("click",function(t){r(t)},!1),e.onclick=null)}}var n=navigator.userAgent.indexOf("Windows Phone")>=0,o=navigator.userAgent.indexOf("Android")>0&&!n,i=/iP(ad|hone|od)/.test(navigator.userAgent)&&!n,r=i&&/OS 4_\d(_\d)?/.test(navigator.userAgent),a=i&&/OS [6-7]_\d/.test(navigator.userAgent),s=navigator.userAgent.indexOf("BB10")>0;t.prototype.needsClick=function(t){switch(t.nodeName.toLowerCase()){case"button":case"select":case"textarea":if(t.disabled)return!0;break;case"input":if(i&&"file"===t.type||t.disabled)return!0;break;case"label":case"iframe":case"video":return!0}return/\bneedsclick\b/.test(t.className)},t.prototype.needsFocus=function(t){switch(t.nodeName.toLowerCase()){case"textarea":return!0;case"select":return!o;case"input":switch(t.type){case"button":case"checkbox":case"file":case"image":case"radio":case"submit":return!1}return!t.disabled&&!t.readOnly;default:return/\bneedsfocus\b/.test(t.className)}},t.prototype.sendClick=function(t,e){var n,o;document.activeElement&&document.activeElement!==t&&document.activeElement.blur(),o=e.changedTouches[0],n=document.createEvent("MouseEvents"),n.initMouseEvent(this.determineEventType(t),!0,!0,window,1,o.screenX,o.screenY,o.clientX,o.clientY,!1,!1,!1,!1,0,null),n.forwardedTouchEvent=!0,t.dispatchEvent(n)},t.prototype.determineEventType=function(t){return o&&"select"===t.tagName.toLowerCase()?"mousedown":"click"},t.prototype.focus=function(t){var e;i&&t.setSelectionRange&&0!==t.type.indexOf("date")&&"time"!==t.type&&"month"!==t.type?(e=t.value.length,t.setSelectionRange(e,e)):t.focus()},t.prototype.updateScrollParent=function(t){var e,n;if(e=t.fastClickScrollParent,!e||!e.contains(t)){n=t;do{if(n.scrollHeight>n.offsetHeight){e=n,t.fastClickScrollParent=n;break}n=n.parentElement}while(n)}e&&(e.fastClickLastScrollTop=e.scrollTop)},t.prototype.getTargetElementFromEventTarget=function(t){return t.nodeType===Node.TEXT_NODE?t.parentNode:t},t.prototype.onTouchStart=function(t){var e,n,o;if(t.targetTouches.length>1)return!0;if(e=this.getTargetElementFromEventTarget(t.target),n=t.targetTouches[0],i){if(o=window.getSelection(),o.rangeCount&&!o.isCollapsed)return!0;if(!r){if(n.identifier&&n.identifier===this.lastTouchIdentifier)return t.preventDefault(),!1;this.lastTouchIdentifier=n.identifier,this.updateScrollParent(e)}}return this.trackingClick=!0,this.trackingClickStart=t.timeStamp,this.targetElement=e,this.touchStartX=n.pageX,this.touchStartY=n.pageY,t.timeStamp-this.lastClickTime<this.tapDelay&&t.preventDefault(),!0},t.prototype.touchHasMoved=function(t){var e=t.changedTouches[0],n=this.touchBoundary;return Math.abs(e.pageX-this.touchStartX)>n||Math.abs(e.pageY-this.touchStartY)>n},t.prototype.onTouchMove=function(t){return this.trackingClick?((this.targetElement!==this.getTargetElementFromEventTarget(t.target)||this.touchHasMoved(t))&&(this.trackingClick=!1,this.targetElement=null),!0):!0},t.prototype.findControl=function(t){return void 0!==t.control?t.control:t.htmlFor?document.getElementById(t.htmlFor):t.querySelector("button, input:not([type=hidden]), keygen, meter, output, progress, select, textarea")},t.prototype.onTouchEnd=function(t){var e,n,s,l,c,u=this.targetElement;if(!this.trackingClick)return!0;if(t.timeStamp-this.lastClickTime<this.tapDelay)return this.cancelNextClick=!0,!0;if(t.timeStamp-this.trackingClickStart>this.tapTimeout)return!0;if(this.cancelNextClick=!1,this.lastClickTime=t.timeStamp,n=this.trackingClickStart,this.trackingClick=!1,this.trackingClickStart=0,a&&(c=t.changedTouches[0],u=document.elementFromPoint(c.pageX-window.pageXOffset,c.pageY-window.pageYOffset)||u,u.fastClickScrollParent=this.targetElement.fastClickScrollParent),s=u.tagName.toLowerCase(),"label"===s){if(e=this.findControl(u)){if(this.focus(u),o)return!1;u=e}}else if(this.needsFocus(u))return t.timeStamp-n>100||i&&window.top!==window&&"input"===s?(this.targetElement=null,!1):(this.focus(u),this.sendClick(u,t),i&&"select"===s||(this.targetElement=null,t.preventDefault()),!1);return i&&!r&&(l=u.fastClickScrollParent,l&&l.fastClickLastScrollTop!==l.scrollTop)?!0:(this.needsClick(u)||(t.preventDefault(),this.sendClick(u,t)),!1)},t.prototype.onTouchCancel=function(){this.trackingClick=!1,this.targetElement=null},t.prototype.onMouse=function(t){return this.targetElement?t.forwardedTouchEvent?!0:!t.cancelable||this.needsClick(this.targetElement)&&!this.cancelNextClick?!0:(t.stopImmediatePropagation?t.stopImmediatePropagation():t.propagationStopped=!0,t.stopPropagation(),t.preventDefault(),!1):!0},t.prototype.onClick=function(t){var e;return this.trackingClick?(this.targetElement=null,this.trackingClick=!1,!0):"submit"===t.target.type&&0===t.detail?!0:(e=this.onMouse(t),e||(this.targetElement=null),e)},t.prototype.destroy=function(){var t=this.layer;o&&(t.removeEventListener("mouseover",this.onMouse,!0),t.removeEventListener("mousedown",this.onMouse,!0),t.removeEventListener("mouseup",this.onMouse,!0)),t.removeEventListener("click",this.onClick,!0),t.removeEventListener("touchstart",this.onTouchStart,!1),t.removeEventListener("touchmove",this.onTouchMove,!1),t.removeEventListener("touchend",this.onTouchEnd,!1),t.removeEventListener("touchcancel",this.onTouchCancel,!1)},t.notNeeded=function(t){var e,n,i,r;if("undefined"==typeof window.ontouchstart)return!0;if(n=+(/Chrome\/([0-9]+)/.exec(navigator.userAgent)||[,0])[1]){if(!o)return!0;if(e=document.querySelector("meta[name=viewport]")){if(-1!==e.content.indexOf("user-scalable=no"))return!0;if(n>31&&document.documentElement.scrollWidth<=window.outerWidth)return!0}}if(s&&(i=navigator.userAgent.match(/Version\/([0-9]*)\.([0-9]*)/),i[1]>=10&&i[2]>=3&&(e=document.querySelector("meta[name=viewport]")))){if(-1!==e.content.indexOf("user-scalable=no"))return!0;if(document.documentElement.scrollWidth<=window.outerWidth)return!0}return"none"===t.style.msTouchAction||"manipulation"===t.style.touchAction?!0:(r=+(/Firefox\/([0-9]+)/.exec(navigator.userAgent)||[,0])[1],r>=27&&(e=document.querySelector("meta[name=viewport]"),e&&(-1!==e.content.indexOf("user-scalable=no")||document.documentElement.scrollWidth<=window.outerWidth))?!0:"none"===t.style.touchAction||"manipulation"===t.style.touchAction)},t.attach=function(e,n){return new t(e,n)},"function"==typeof define&&"object"==typeof define.amd&&define.amd?define(function(){return t}):"undefined"!=typeof e&&e.exports?(e.exports=t.attach,e.exports.FastClick=t):window.FastClick=t}()},{}],3:[function(t,e,n){!function(t,o){"function"==typeof define&&define.amd?define([],function(){return t.svg4everybody=o()}):"object"==typeof n?e.exports=o():t.svg4everybody=o()}(this,function(){function t(t,e){if(e){var n=document.createDocumentFragment(),o=!t.getAttribute("viewBox")&&e.getAttribute("viewBox");o&&t.setAttribute("viewBox",o);for(var i=e.cloneNode(!0);i.childNodes.length;)n.appendChild(i.firstChild);t.appendChild(n)}}function e(e){e.onreadystatechange=function(){if(4===e.readyState){var n=e._cachedDocument;n||(n=e._cachedDocument=document.implementation.createHTMLDocument(""),n.body.innerHTML=e.responseText,e._cachedTarget={}),e._embeds.splice(0).map(function(o){var i=e._cachedTarget[o.id];i||(i=e._cachedTarget[o.id]=n.getElementById(o.id)),t(o.svg,i)})}},e.onreadystatechange()}function n(n){function o(){for(var n=0;n<d.length;){var a=d[n],s=a.parentNode;if(s&&/svg/i.test(s.nodeName)){var l=a.getAttribute("xlink:href");if(i&&(!r.validate||r.validate(l,s,a))){s.removeChild(a);var m=l.split("#"),h=m.shift(),p=m.join("#");if(h.length){var f=c[h];f||(f=c[h]=new XMLHttpRequest,f.open("GET",h),f.send(),f._embeds=[]),f._embeds.push({svg:s,id:p}),e(f)}else t(s,document.getElementById(p))}}else++n}u(o,67)}var i,r=Object(n),a=/\bTrident\/[567]\b|\bMSIE (?:9|10)\.0\b/,s=/\bAppleWebKit\/(\d+)\b/,l=/\bEdge\/12\.(\d+)\b/;i="polyfill"in r?r.polyfill:a.test(navigator.userAgent)||(navigator.userAgent.match(l)||[])[1]<10547||(navigator.userAgent.match(s)||[])[1]<537;var c={},u=window.requestAnimationFrame||setTimeout,d=document.getElementsByTagName("use");i&&o()}return n})},{}],4:[function(t,e,n){"use strict";!function(t,o){function i(e){if("undefined"==typeof e)throw new Error('Pathformer [constructor]: "element" parameter is required');if(e.constructor===String&&(e=o.getElementById(e),!e))throw new Error('Pathformer [constructor]: "element" parameter is not related to an existing ID');if(!(e.constructor instanceof t.SVGElement||/^svg$/i.test(e.nodeName)))throw new Error('Pathformer [constructor]: "element" parameter must be a string or a SVGelement');this.el=e,this.scan(e)}function r(t,e,n){this.isReady=!1,this.setElement(t,e),this.setOptions(e),this.setCallback(n),this.isReady&&this.init()}i.prototype.TYPES=["line","ellipse","circle","polygon","polyline","rect"],i.prototype.ATTR_WATCH=["cx","cy","points","r","rx","ry","x","x1","x2","y","y1","y2"],i.prototype.scan=function(t){for(var e,n,o,i,r=t.querySelectorAll(this.TYPES.join(",")),a=0;a<r.length;a++)n=r[a],e=this[n.tagName.toLowerCase()+"ToPath"],o=e(this.parseAttr(n.attributes)),i=this.pathMaker(n,o),n.parentNode.replaceChild(i,n)},i.prototype.lineToPath=function(t){var e={};return e.d="M"+t.x1+","+t.y1+"L"+t.x2+","+t.y2,e},i.prototype.rectToPath=function(t){var e={},n=parseFloat(t.x)||0,o=parseFloat(t.y)||0,i=parseFloat(t.width)||0,r=parseFloat(t.height)||0;return e.d="M"+n+" "+o+" ",e.d+="L"+(n+i)+" "+o+" ",e.d+="L"+(n+i)+" "+(o+r)+" ",e.d+="L"+n+" "+(o+r)+" Z",e},i.prototype.polylineToPath=function(t){var e,n,o={},i=t.points.trim().split(" ");if(-1===t.points.indexOf(",")){var r=[];for(e=0;e<i.length;e+=2)r.push(i[e]+","+i[e+1]);i=r}for(n="M"+i[0],e=1;e<i.length;e++)-1!==i[e].indexOf(",")&&(n+="L"+i[e]);return o.d=n,o},i.prototype.polygonToPath=function(t){var e=i.prototype.polylineToPath(t);return e.d+="Z",e},i.prototype.ellipseToPath=function(t){var e=t.cx-t.rx,n=t.cy,o=parseFloat(t.cx)+parseFloat(t.rx),i=t.cy,r={};return r.d="M"+e+","+n+"A"+t.rx+","+t.ry+" 0,1,1 "+o+","+i+"A"+t.rx+","+t.ry+" 0,1,1 "+e+","+i,r},i.prototype.circleToPath=function(t){var e={},n=t.cx-t.r,o=t.cy,i=parseFloat(t.cx)+parseFloat(t.r),r=t.cy;return e.d="M"+n+","+o+"A"+t.r+","+t.r+" 0,1,1 "+i+","+r+"A"+t.r+","+t.r+" 0,1,1 "+n+","+r,e},i.prototype.pathMaker=function(t,e){var n,i,r=o.createElementNS("http://www.w3.org/2000/svg","path");for(n=0;n<t.attributes.length;n++)i=t.attributes[n],-1===this.ATTR_WATCH.indexOf(i.name)&&r.setAttribute(i.name,i.value);for(n in e)r.setAttribute(n,e[n]);return r},i.prototype.parseAttr=function(t){for(var e,n={},o=0;o<t.length;o++){if(e=t[o],-1!==this.ATTR_WATCH.indexOf(e.name)&&-1!==e.value.indexOf("%"))throw new Error("Pathformer [parseAttr]: a SVG shape got values in percentage. This cannot be transformed into 'path' tags. Please use 'viewBox'.");n[e.name]=e.value}return n};var a,s,l;r.LINEAR=function(t){return t},r.EASE=function(t){return-Math.cos(t*Math.PI)/2+.5},r.EASE_OUT=function(t){return 1-Math.pow(1-t,3)},r.EASE_IN=function(t){return Math.pow(t,3)},r.EASE_OUT_BOUNCE=function(t){var e=-Math.cos(t*(.5*Math.PI))+1,n=Math.pow(e,1.5),o=Math.pow(1-t,2),i=-Math.abs(Math.cos(n*(2.5*Math.PI)))+1;return 1-o+i*o},r.prototype.setElement=function(e,n){if("undefined"==typeof e)throw new Error('Vivus [constructor]: "element" parameter is required');if(e.constructor===String&&(e=o.getElementById(e),!e))throw new Error('Vivus [constructor]: "element" parameter is not related to an existing ID');if(this.parentEl=e,n&&n.file){var i=o.createElement("object");i.setAttribute("type","image/svg+xml"),i.setAttribute("data",n.file),i.setAttribute("built-by-vivus","true"),e.appendChild(i),e=i}switch(e.constructor){case t.SVGSVGElement:case t.SVGElement:this.el=e,this.isReady=!0;break;case t.HTMLObjectElement:var r,a;a=this,r=function(t){if(!a.isReady){if(a.el=e.contentDocument&&e.contentDocument.querySelector("svg"),!a.el&&t)throw new Error("Vivus [constructor]: object loaded does not contain any SVG");return a.el?(e.getAttribute("built-by-vivus")&&(a.parentEl.insertBefore(a.el,e),a.parentEl.removeChild(e),a.el.setAttribute("width","100%"),a.el.setAttribute("height","100%")),a.isReady=!0,a.init(),!0):void 0}},r()||e.addEventListener("load",r);break;default:throw new Error('Vivus [constructor]: "element" parameter is not valid (or miss the "file" attribute)')}},r.prototype.setOptions=function(e){var n=["delayed","async","oneByOne","scenario","scenario-sync"],o=["inViewport","manual","autostart"];if(void 0!==e&&e.constructor!==Object)throw new Error('Vivus [constructor]: "options" parameter must be an object');if(e=e||{},e.type&&-1===n.indexOf(e.type))throw new Error("Vivus [constructor]: "+e.type+" is not an existing animation `type`");if(this.type=e.type||n[0],e.start&&-1===o.indexOf(e.start))throw new Error("Vivus [constructor]: "+e.start+" is not an existing `start` option");if(this.start=e.start||o[0],this.isIE=-1!==t.navigator.userAgent.indexOf("MSIE")||-1!==t.navigator.userAgent.indexOf("Trident/")||-1!==t.navigator.userAgent.indexOf("Edge/"),this.duration=l(e.duration,120),this.delay=l(e.delay,null),this.dashGap=l(e.dashGap,1),this.forceRender=e.hasOwnProperty("forceRender")?!!e.forceRender:this.isIE,this.selfDestroy=!!e.selfDestroy,this.onReady=e.onReady,this.frameLength=this.currentFrame=this.map=this.delayUnit=this.speed=this.handle=null,this.ignoreInvisible=e.hasOwnProperty("ignoreInvisible")?!!e.ignoreInvisible:!1,this.animTimingFunction=e.animTimingFunction||r.LINEAR,this.pathTimingFunction=e.pathTimingFunction||r.LINEAR,this.delay>=this.duration)throw new Error("Vivus [constructor]: delay must be shorter than duration")},r.prototype.setCallback=function(t){if(t&&t.constructor!==Function)throw new Error('Vivus [constructor]: "callback" parameter must be a function');this.callback=t||function(){}},r.prototype.mapping=function(){var e,n,o,i,r,a,s,c;for(c=a=s=0,n=this.el.querySelectorAll("path"),e=0;e<n.length;e++)o=n[e],this.isInvisible(o)||(r={el:o,length:Math.ceil(o.getTotalLength())},isNaN(r.length)?t.console&&console.warn&&console.warn("Vivus [mapping]: cannot retrieve a path element length",o):(this.map.push(r),o.style.strokeDasharray=r.length+" "+(r.length+2*this.dashGap),o.style.strokeDashoffset=r.length+this.dashGap,r.length+=this.dashGap,a+=r.length,this.renderPath(e)));for(a=0===a?1:a,this.delay=null===this.delay?this.duration/3:this.delay,this.delayUnit=this.delay/(n.length>1?n.length-1:1),e=0;e<this.map.length;e++){switch(r=this.map[e],this.type){case"delayed":r.startAt=this.delayUnit*e,r.duration=this.duration-this.delay;break;case"oneByOne":r.startAt=s/a*this.duration,r.duration=r.length/a*this.duration;break;case"async":r.startAt=0,r.duration=this.duration;break;case"scenario-sync":o=n[e],i=this.parseAttr(o),r.startAt=c+(l(i["data-delay"],this.delayUnit)||0),r.duration=l(i["data-duration"],this.duration),c=void 0!==i["data-async"]?r.startAt:r.startAt+r.duration,this.frameLength=Math.max(this.frameLength,r.startAt+r.duration);break;case"scenario":o=n[e],i=this.parseAttr(o),r.startAt=l(i["data-start"],this.delayUnit)||0,r.duration=l(i["data-duration"],this.duration),this.frameLength=Math.max(this.frameLength,r.startAt+r.duration)}s+=r.length,this.frameLength=this.frameLength||this.duration}},r.prototype.drawer=function(){var t=this;this.currentFrame+=this.speed,this.currentFrame<=0?(this.stop(),this.reset(),this.callback(this)):this.currentFrame>=this.frameLength?(this.stop(),this.currentFrame=this.frameLength,this.trace(),this.selfDestroy&&this.destroy(),this.callback(this)):(this.trace(),this.handle=a(function(){t.drawer()}))},r.prototype.trace=function(){var t,e,n,o;for(o=this.animTimingFunction(this.currentFrame/this.frameLength)*this.frameLength,t=0;t<this.map.length;t++)n=this.map[t],e=(o-n.startAt)/n.duration,e=this.pathTimingFunction(Math.max(0,Math.min(1,e))),n.progress!==e&&(n.progress=e,n.el.style.strokeDashoffset=Math.floor(n.length*(1-e)),this.renderPath(t))},r.prototype.renderPath=function(t){if(this.forceRender&&this.map&&this.map[t]){var e=this.map[t],n=e.el.cloneNode(!0);e.el.parentNode.replaceChild(n,e.el),e.el=n}},r.prototype.init=function(){this.frameLength=0,this.currentFrame=0,this.map=[],new i(this.el),this.mapping(),this.starter(),this.onReady&&this.onReady(this)},r.prototype.starter=function(){switch(this.start){case"manual":return;case"autostart":this.play();break;case"inViewport":var e=this,n=function(){e.isInViewport(e.parentEl,1)&&(e.play(),t.removeEventListener("scroll",n))};t.addEventListener("scroll",n),n()}},r.prototype.getStatus=function(){return 0===this.currentFrame?"start":this.currentFrame===this.frameLength?"end":"progress"},r.prototype.reset=function(){return this.setFrameProgress(0)},r.prototype.finish=function(){return this.setFrameProgress(1)},r.prototype.setFrameProgress=function(t){return t=Math.min(1,Math.max(0,t)),this.currentFrame=Math.round(this.frameLength*t),this.trace(),this},r.prototype.play=function(t){if(t&&"number"!=typeof t)throw new Error("Vivus [play]: invalid speed");return this.speed=t||1,this.handle||this.drawer(),this},r.prototype.stop=function(){return this.handle&&(s(this.handle),this.handle=null),this},r.prototype.destroy=function(){var t,e;for(t=0;t<this.map.length;t++)e=this.map[t],e.el.style.strokeDashoffset=null,e.el.style.strokeDasharray=null,this.renderPath(t)},r.prototype.isInvisible=function(t){var e,n=t.getAttribute("data-ignore");return null!==n?"false"!==n:this.ignoreInvisible?(e=t.getBoundingClientRect(),!e.width&&!e.height):!1},r.prototype.parseAttr=function(t){var e,n={};if(t&&t.attributes)for(var o=0;o<t.attributes.length;o++)e=t.attributes[o],n[e.name]=e.value;return n},r.prototype.isInViewport=function(t,e){var n=this.scrollY(),o=n+this.getViewportH(),i=t.getBoundingClientRect(),r=i.height,a=n+i.top,s=a+r;return e=e||0,o>=a+r*e&&s>=n},r.prototype.docElem=t.document.documentElement,r.prototype.getViewportH=function(){var e=this.docElem.clientHeight,n=t.innerHeight;return n>e?n:e},r.prototype.scrollY=function(){return t.pageYOffset||this.docElem.scrollTop},a=function(){return t.requestAnimationFrame||t.webkitRequestAnimationFrame||t.mozRequestAnimationFrame||t.oRequestAnimationFrame||t.msRequestAnimationFrame||function(e){return t.setTimeout(e,1e3/60)}}(),s=function(){return t.cancelAnimationFrame||t.webkitCancelAnimationFrame||t.mozCancelAnimationFrame||t.oCancelAnimationFrame||t.msCancelAnimationFrame||function(e){return t.clearTimeout(e)}}(),l=function(t,e){var n=parseInt(t,10);return n>=0?n:e},"function"==typeof define&&define.amd?define([],function(){return r}):"object"==typeof n?e.exports=r:t.Vivus=r}(window,document)},{}],5:[function(t,e,n){for(var o=document.querySelectorAll(".accordion__toggle"),i=0,r=o.length;r>i;i++){var a=o[i];a.addEventListener("click",function(t){this.parentNode.classList.toggle("accordion__item--active"),t.preventDefault()})}},{}],6:[function(t,e,n){for(var o=document.querySelectorAll(".alert__close"),i=0,r=o.length;r>i;i++){var a=o[i];a.addEventListener("click",function(t){var e=this.closest(".alert");e.parentNode.removeChild(e),t.preventDefault()})}},{}],7:[function(t,e,n){function o(){for(var t=(window.scrollY||window.pageYOffset,document.querySelectorAll(".dubourg-windows")),e=0,n=t.length;n>e;e++){var i=t[e],r=i.getBoundingClientRect().top-window.innerHeight;0>r&&i.classList.add("dubourg-animate")}requestAnimationFrame(o)}var i=t("vivus");null!=document.getElementById("clockTower")&&new i("clockTower",{type:"oneByOne",duration:150}),null!=document.getElementById("waterTower")&&new i("waterTower",{type:"oneByOne",duration:150}),null!=document.getElementById("xavier")&&new i("xavier",{type:"oneByOne",duration:150}),null!=document.getElementById("cupples")&&new i("cupples",{type:"oneByOne",duration:150}),null!=document.getElementById("cook")&&new i("cook",{type:"oneByOne",duration:150}),null!=document.getElementById("museum")&&new i("museum",{type:"oneByOne",duration:150}),null!=document.getElementById("hospital")&&new i("hospital",{type:"oneByOne",duration:150}),null!=document.getElementById("dubourg")&&new i("dubourg",{type:"oneByOne",duration:150}),o()},{vivus:4}],8:[function(t,e,n){for(var o=document.querySelectorAll(".dropdown__toggle"),i=0,r=o.length;r>i;i++){var a=o[i];a.addEventListener("click",function(t){this.parentNode.classList.toggle("dropdown--active"),t.preventDefault()})}for(var s=document.querySelectorAll(".dropdown__link"),i=0;i<s.length;i++){var l=s[i];l.parentNode.parentNode.parentNode,l.addEventListener("click",function(){var t=this.parentNode.parentNode.parentNode;t.classList.toggle("dropdown--active")})}window.addEventListener("click",function(t){for(var e=document.querySelectorAll(".dropdown--active"),n=0,o=e.length;o>n;n++){var i=e[n];i.contains(t.target)||i.classList.remove("dropdown--active")}})},{}],9:[function(t,e,n){function o(t){document.body.classList.remove("header-menu-active"),document.body.classList.toggle("header-search-active"),t.preventDefault?t.preventDefault():t.returnValue=!1}function i(){var t=window.scrollY||window.pageYOffset;t>224?document.body.classList.add("header-fixed"):document.body.classList.remove("header-fixed"),requestAnimationFrame(i)}var r=document.querySelector(".header__toggle--menu");r.addEventListener("click",function(t){document.body.classList.remove("header-search-active"),document.body.classList.toggle("header-menu-active"),t.preventDefault()});for(var a=document.querySelectorAll(".header-search-toggle"),s=0,l=a.length;l>s;s++){var c=a[s];c.addEventListener("click",o)}var u=document.querySelector(".header__search__close");u.addEventListener("click",function(t){document.body.classList.remove("header-search-active"),t.preventDefault()}),i()},{}],10:[function(t,e,n){function o(t,e){var n={};return n.defaults={removeDelay:0},n.options=Object.assign(n.defaults,e),n.body=document.body,n.init=function(){n.defaultElement(),n.element.addEventListener("click",function(t){t.preventDefault(),n.setup(),n.checkGroup(),n.isActive(),n.load(),n.scale(),n.listenFocusTrap(),n.listenKeydown(),n.listenClose()})},n.defaultElement=function(){n.element=t,n.updateElement()},n.updateElement=function(){n.url=n.element.getAttribute("href"),n.type=n.getType(),n.alt=n.element.getAttribute("title")},n.setup=function(){var e=document.createElement("div");e.innerHTML='<div class="modal" tabindex="0"><div class="modal__overlay"></div><div class="modal__container"><div class="modal__content"></div></div><button class="modal__close">Close</button></div>',n.body.appendChild(e.firstChild),n.modal=document.querySelector(".modal"),n.container=document.querySelector(".modal__container"),n.content=document.querySelector(".modal__content"),n.closeButton=document.querySelector(".modal__close"),n.initialFocus=t,n.modal.focus()},n.focusTrap=function(t){9===t.keyCode&&(t.shiftKey?n.modal===document.activeElement&&(t.preventDefault(),n.closeButton.focus()):n.closeButton===document.activeElement&&(t.preventDefault(),n.modal.focus()))},n.listenFocusTrap=function(){document.addEventListener("keydown",n.focusTrap)},n.isActive=function(){n.modal.clientHeight,n.modal.classList.add("modal--active")},n.isLoading=function(){n.modal.classList.remove("modal--loaded"),n.modal.clientHeight,n.modal.classList.add("modal--loading")},n.isLoaded=function(){n.modal.classList.remove("modal--loading"),n.modal.clientHeight,n.modal.classList.add("modal--loaded")},n.load=function(){switch(n.setContent('<div class="modal__status">Loading</div>',!0),n.type){case"youtube":n.loadYoutube();break;case"vimeo":n.loadVimeo();break;case"image":n.loadImage()}},n.setContent=function(t,e){n.content.innerHTML=t,e===!0?n.isLoading():n.isLoaded()},n.getType=function(){return n.url.indexOf("youtube.com")>-1?(n.format="video","youtube"):n.url.indexOf("vimeo.com")>-1?(n.format="video","vimeo"):(n.format="image","image")},n.loadYoutube=function(){var t=n.url.split("v=")[1],e='<iframe class="modal__embed" src="https://www.youtube.com/embed/'+t+'?autoplay=1" allowfullscreen></iframe>';n.setContent(n.markupVideo(e))},n.loadVimeo=function(){var t=n.url.split("vimeo.com/")[1],e='<iframe class="modal__embed" src="https://player.vimeo.com/video/'+t+'" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>';n.setContent(n.markupVideo(e))},n.loadImage=function(){var t=document.createElement("img");t.onload=function(){t.src.indexOf(n.url)>-1&&n.setContent('<img class="modal__item" alt="'+n.alt+'" src="'+n.url+'" /><span class="modal__item gallery-description">'+n.alt+"</span>")},t.onerror=function(){t.src.indexOf(n.url)>-1&&n.setContent('<div class="modal__status">Error loading resource</div>')},t.src=n.url},n.markupVideo=function(t){return'<div class="modal__item"><div class="modal__video">'+t+"</div></div>"},n.checkGroup=function(){n.group=document.querySelectorAll('[data-modal-group="'+n.element.getAttribute("data-modal-group")+'"]'),n.group.length>1&&(n.initGroup(),n.setGroupIndex(),n.listenGroup())},n.initGroup=function(){var t=document.createElement("div");t.innerHTML='<div class="modal__controls"><button role="button" aria-label="previous button" class="modal__nav modal__nav--previous"></button><button role="button" aria-label="next button" class="modal__nav modal__nav--next"></button></div>',n.container.appendChild(t.firstChild),n.controls=document.querySelector(".modal__controls"),n.navPrevious=document.querySelector(".modal__nav--previous"),n.navNext=document.querySelector(".modal__nav--next")},n.setGroupIndex=function(){for(var t=0;t<n.group.length;t++)n.group[t]==n.element&&(n.index=t)},n.keydown=function(t){switch(t.keyCode){case 37:n.group.length>1&&(t.preventDefault(),n.previous());break;case 39:n.group.length>1&&(t.preventDefault(),n.next());break;case 27:t.preventDefault(),n.close()}},n.listenKeydown=function(){document.addEventListener("keydown",n.keydown)},n.listenGroup=function(){n.navPrevious.addEventListener("click",function(t){t.preventDefault(),n.previous()}),n.navNext.addEventListener("click",function(t){t.preventDefault(),n.next()})},n.previous=function(){n.group[n.index-1]?n.index--:n.index=n.group.length-1,n.changeElement()},n.next=function(){n.group[n.index+1]?n.index++:n.index=0,n.changeElement()},n.changeElement=function(){n.element=n.group[n.index],n.updateElement(),n.load()},n.scale=function(){var t=window.innerHeight,e=parseInt(getComputedStyle(n.container).getPropertyValue("padding-top"),10)+parseInt(getComputedStyle(n.container).getPropertyValue("padding-bottom"),10);"video"==n.format?n.content.firstChild.style.maxWidth=(t-e)*(16/9)+"px":n.content.firstChild.style.maxHeight=t-e+"px",n.scaleRun=requestAnimationFrame(n.scale)},n.listenClose=function(){n.modal.addEventListener("click",function(t){n.controls?n.content.firstChild.contains(t.target)||n.controls.contains(t.target)||n.close():n.content.firstChild.contains(t.target)||n.close()}),n.closeButton.addEventListener("click",function(t){t.preventDefault(),t.stopPropagation(),n.close()})},n.close=function(){document.removeEventListener("keydown",n.keydown),document.removeEventListener("keydown",n.focusTrap),cancelAnimationFrame(n.scaleRun),
n.initialFocus.focus(),n.modal.classList.remove("modal--active"),n.modal.classList.remove("modal--loading"),n.modal.classList.remove("modal--loaded"),setTimeout(function(){n.modal.parentNode.removeChild(n.modal),n.defaultElement()},n.options.removeDelay)},n}for(var i=document.querySelectorAll("[data-modal]"),r=0;r<i.length;r++){var a=o(i[r],{removeDelay:300});a.init()}},{}],11:[function(t,e,n){for(var o=document.querySelectorAll(".subnav__toggle"),i=0,r=o.length;r>i;i++){var a=o[i];a.addEventListener("click",function(t){this.parentNode.classList.toggle("subnav__item--active"),t.preventDefault()})}},{}],12:[function(t,e,n){var o=/iPad|iPhone|iPod/.test(navigator.userAgent);o&&(document.querySelector(".hero__video").style.display="none")},{}],13:[function(t,e,n){var o=t("fastclick");o(document.body);var i=t("svg4everybody");i(),t("./util/_countup"),t("./util/_sticky"),t("./util/_zoomin"),t("./modules/_accordion.js"),t("./modules/_alert.js"),t("./modules/_buildings.js"),t("./modules/_dropdown.js"),t("./modules/_header.js"),t("./modules/_modal.js"),t("./modules/_subnav.js"),t("./modules/_video.js")},{"./modules/_accordion.js":5,"./modules/_alert.js":6,"./modules/_buildings.js":7,"./modules/_dropdown.js":8,"./modules/_header.js":9,"./modules/_modal.js":10,"./modules/_subnav.js":11,"./modules/_video.js":12,"./util/_countup":14,"./util/_sticky":15,"./util/_zoomin":16,fastclick:2,svg4everybody:3}],14:[function(t,e,n){function o(t){var e=t.textContent,n=0;t.classList.contains("countup--decimal")&&(n=1);var o=",";t.classList.contains("countup--no-separator")&&(o="");var i=new r(t,0,e,n,1,{useEasing:!1,separator:o});i.start()}function i(){for(var t=(window.scrollY||window.pageYOffset,document.querySelectorAll(".countup")),e=0,n=t.length;n>e;e++){var r=t[e],a=r.getBoundingClientRect().top-window.innerHeight;0>a&&(r.classList.remove("countup"),o(r))}requestAnimationFrame(i)}var r=t("countup");i()},{countup:1}],15:[function(t,e,n){function o(){for(var t=(window.scrollY||window.pageYOffset,document.querySelectorAll(".sticky")),e=0,n=t.length;n>e;e++){var i=t[e];if(window.innerWidth>=1024){var r=i.parentNode.clientWidth,a=i.clientHeight,s=i.closest(".sticky-container"),l=s.clientHeight,c=s.getBoundingClientRect().top-96,u=c+l-a-32;0>c&&u>0?(i.style.position="fixed",i.style.top="96px",i.style.width=r+"px"):(i.style.position="",i.style.top="",i.style.width="")}else i.style.position="",i.style.top="",i.style.width=""}requestAnimationFrame(o)}o()},{}],16:[function(t,e,n){function o(t,e){setTimeout(function(){e.classList.remove("zoomin"),e.classList.add("zoomin--active")},320+160*t)}function i(){for(var t=(window.scrollY||window.pageYOffset,document.querySelectorAll(".zoomin")),e=0,n=t.length;n>e;e++){var r=t[e],a=r.getBoundingClientRect().top-window.innerHeight;0>a&&o(e,r)}requestAnimationFrame(i)}i()},{}]},{},[13]);


// $(document).ready(function(){
					
//         //Get current time
//         var currentTime = new Date().getTime();
					
//         //Add hours function
//         Date.prototype.addHours = function(h) {    
//            this.setTime(this.getTime() + (h*60*60*1000)); 
//            return this;   
//         }
//         //Get time after 24 hours
//         var after24 = new Date().addHours(10).getTime();
					
//         //Hide div click
//         $('.alert__close').click(function(){
            
// 			//Hide div
//             $(this).hide();
					
//             //Set desired time till you want to hide that div
//             localStorage.setItem('desiredTime', after24); 
//         });
//         //If desired time >= currentTime, based on that HIDE / SHOW
//         if(localStorage.getItem('desiredTime') >= currentTime)
//         {
//             $('.alert').hide();
//         }
//         else
//         {
//             $('.alert').show();
//         }	
// });