;window.CloudflareApps=window.CloudflareApps||{};CloudflareApps.siteId="05315caa61b15cc905c29a28f7c60982";CloudflareApps.installs=CloudflareApps.installs||{};;(function(){'use strict' CloudflareApps.internal=CloudflareApps.internal||{} var errors=[] CloudflareApps.internal.placementErrors=errors var errorHashes={} function noteError(options){var hash=options.selector+'::'+options.type+'::'+(options.installId||'') if(errorHashes[hash]){return} errorHashes[hash]=true errors.push(options)} var initializedSelectors={} var currentInit=false CloudflareApps.internal.markSelectors=function markSelectors(){if(!currentInit){check() currentInit=true setTimeout(function(){currentInit=false})}} function check(){var installs=window.CloudflareApps.installs for(var installId in installs){if(!installs.hasOwnProperty(installId)){continue} var selectors=installs[installId].selectors if(!selectors){continue} for(var key in selectors){if(!selectors.hasOwnProperty(key)){continue} var hash=installId+'::'+key if(initializedSelectors[hash]){continue} var els=document.querySelectorAll(selectors[key]) if(els&&els.length>1){noteError({type:'init:too-many',option:key,selector:selectors[key],installId:installId}) initializedSelectors[hash]=true continue}else if(!els||!els.length){continue} initializedSelectors[hash]=true els[0].setAttribute('cfapps-selector',selectors[key])}}} CloudflareApps.querySelector=function querySelector(selector){if(selector==='body'||selector==='head'){return document[selector]} CloudflareApps.internal.markSelectors() var els=document.querySelectorAll('[cfapps-selector="'+selector+'"]') if(!els||!els.length){noteError({type:'select:not-found:by-attribute',selector:selector}) els=document.querySelectorAll(selector) if(!els||!els.length){noteError({type:'select:not-found:by-query',selector:selector}) return null}else if(els.length>1){noteError({type:'select:too-many:by-query',selector:selector})} return els[0]} if(els.length>1){noteError({type:'select:too-many:by-attribute',selector:selector})} return els[0]}}());(function(){'use strict' var prevEls={} CloudflareApps.createElement=function createElement(options,prevEl){options=options||{} CloudflareApps.internal.markSelectors() try{if(prevEl&&prevEl.parentNode){var replacedEl if(prevEl.cfAppsElementId){replacedEl=prevEls[prevEl.cfAppsElementId]} if(replacedEl){prevEl.parentNode.replaceChild(replacedEl,prevEl) delete prevEls[prevEl.cfAppsElementId]}else{prevEl.parentNode.removeChild(prevEl)}} var element=document.createElement('cloudflare-app') var container if(options.pages&&options.pages.URLPatterns&&!CloudflareApps.matchPage(options.pages.URLPatterns)){return element} try{container=CloudflareApps.querySelector(options.selector)}catch(e){} if(!container){return element} if(!container.parentNode&&(options.method==='after'||options.method==='before'||options.method==='replace')){return element} if(container===document.body){if(options.method==='after'){options.method='append'}else if(options.method==='before'){options.method='prepend'}} switch(options.method){case'prepend':if(container.firstChild){container.insertBefore(element,container.firstChild) break} case'append':container.appendChild(element) break case'after':if(container.nextSibling){container.parentNode.insertBefore(element,container.nextSibling)}else{container.parentNode.appendChild(element)} break case'before':container.parentNode.insertBefore(element,container) break case'replace':try{var id=element.cfAppsElementId=Math.random().toString(36) prevEls[id]=container}catch(e){} container.parentNode.replaceChild(element,container)} return element}catch(e){if(typeof console!=='undefined'&&typeof console.error!=='undefined'){console.error('Error creating Cloudflare Apps element',e)}}}}());(function(){'use strict' CloudflareApps.matchPage=function matchPage(patterns){if(!patterns||!patterns.length){return true} var loc=document.location.host+document.location.pathname if(window.CloudflareApps&&CloudflareApps.proxy&&CloudflareApps.proxy.originalURL){var url=CloudflareApps.proxy.originalURL.parsed loc=url.host+url.path} for(var i=0;i=0){stylesInsertedAtTop.splice(idx,1);}} function createStyleElement(options){var style=document.createElement("style");if(options.attrs.type===undefined){options.attrs.type="text/css";} if(options.attrs.nonce===undefined){var nonce=getNonce();if(nonce){options.attrs.nonce=nonce;}} addAttrs(style,options.attrs);insertStyleElement(options,style);return style;} function createLinkElement(options){var link=document.createElement("link");if(options.attrs.type===undefined){options.attrs.type="text/css";} options.attrs.rel="stylesheet";addAttrs(link,options.attrs);insertStyleElement(options,link);return link;} function addAttrs(el,attrs){Object.keys(attrs).forEach(function(key){el.setAttribute(key,attrs[key]);});} function getNonce(){if(false){} return __webpack_require__.nc;} function addStyle(obj,options){var style,update,remove,result;if(options.transform&&obj.css){result=typeof options.transform==='function'?options.transform(obj.css):options.transform.default(obj.css);if(result){obj.css=result;}else{return function(){};}} if(options.singleton){var styleIndex=singletonCounter++;style=singleton||(singleton=createStyleElement(options));update=applyToSingletonTag.bind(null,style,styleIndex,false);remove=applyToSingletonTag.bind(null,style,styleIndex,true);}else if(obj.sourceMap&&typeof URL==="function"&&typeof URL.createObjectURL==="function"&&typeof URL.revokeObjectURL==="function"&&typeof Blob==="function"&&typeof btoa==="function"){style=createLinkElement(options);update=updateLink.bind(null,style,options);remove=function(){removeStyleElement(style);if(style.href)URL.revokeObjectURL(style.href);};}else{style=createStyleElement(options);update=applyToTag.bind(null,style);remove=function(){removeStyleElement(style);};} update(obj);return function updateStyle(newObj){if(newObj){if(newObj.css===obj.css&&newObj.media===obj.media&&newObj.sourceMap===obj.sourceMap){return;} update(obj=newObj);}else{remove();}};} var replaceText=(function(){var textStore=[];return function(index,replacement){textStore[index]=replacement;return textStore.filter(Boolean).join('\n');};})();function applyToSingletonTag(style,index,remove,obj){var css=remove?"":obj.css;if(style.styleSheet){style.styleSheet.cssText=replaceText(index,css);}else{var cssNode=document.createTextNode(css);var childNodes=style.childNodes;if(childNodes[index])style.removeChild(childNodes[index]);if(childNodes.length){style.insertBefore(cssNode,childNodes[index]);}else{style.appendChild(cssNode);}}} function applyToTag(style,obj){var css=obj.css;var media=obj.media;if(media){style.setAttribute("media",media)} if(style.styleSheet){style.styleSheet.cssText=css;}else{while(style.firstChild){style.removeChild(style.firstChild);} style.appendChild(document.createTextNode(css));}} function updateLink(link,options,obj){var css=obj.css;var sourceMap=obj.sourceMap;var autoFixUrls=options.convertToAbsoluteUrls===undefined&&sourceMap;if(options.convertToAbsoluteUrls||autoFixUrls){css=fixUrls(css);} if(sourceMap){css+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap))))+" */";} var blob=new Blob([css],{type:"text/css"});var oldSrc=link.href;link.href=URL.createObjectURL(blob);if(oldSrc)URL.revokeObjectURL(oldSrc);}}),(function(module,exports,__webpack_require__){__webpack_require__(3);__webpack_require__(4);__webpack_require__(5);__webpack_require__(8);module.exports=__webpack_require__(10);}),(function(module,exports){window.YETT_BLACKLIST=[/.*google-analytics.*/,/.*googletagmanager.*/,/.*google.*/,/.*sndcdn.*/,/.*vimeo.*/,/.*soundcloud.*/,/.*\.doubleclick\.net.*/,/.*vimeocdn.*/,/.*youtube.*/,/.*slidesharecdn.*/,/.*facebook.*/,/.*hotjar.*/,/.*linkedin.*/,/.*instagram.*/,/.*sharethis.*/,/.*addthis.*/,/.*twitter.*/,/.*pinterest.*/,]}),(function(module,exports,__webpack_require__){!(function(t,e){true?e(exports):undefined})(this,t=>{function o(e,t){return(e&&(!t||t!==s)&&(!a.blacklist||a.blacklist.some(t=>t.test(e)))&&(!a.whitelist||a.whitelist.every(t=>!t.test(e))))} function l(t){const e=t.getAttribute("src") return((a.blacklist&&a.blacklist.every(t=>!t.test(e)))||(a.whitelist&&a.whitelist.some(t=>t.test(e))))} var s="javascript/blocked" var a={blacklist:window.YETT_BLACKLIST,whitelist:window.YETT_WHITELIST,} const u={blacklisted:[],} const p=new MutationObserver(t=>{for(let e=0;en.every(t=>typeof t==="string"?!e.test(t):t instanceof RegExp?e.toString()!==t.toString():void 0,),)),a.whitelist&&(a.whitelist=[].concat(f(a.whitelist),f(n.map(e=>{if(typeof e==="string"){const n=`.*${e.replace(d, "\\$&")}.*` if(a.whitelist.every(t=>t.toString()!==n.toString())) return new RegExp(n)}else if(e instanceof RegExp&&a.whitelist.every(t=>t.toString()!==e.toString())) return e return null}).filter(Boolean),),))) for(let r=document.querySelectorAll('script[type="'.concat(s,'"]')),i=0;i{if(l(t)){const n=document.createElement("script") n.setAttribute("src",t.src),n.setAttribute("type","application/javascript"),document.head.appendChild(n),u.blacklisted.splice(e-c,1),c++}}),a.blacklist&&a.blacklist.length<1&&p.disconnect()}),Object.defineProperty(t,"__esModule",{value:!0,})})}),(function(module,exports,__webpack_require__){var content=__webpack_require__(6);if(typeof content==='string')content=[[module.i,content,'']];var transform;var insertInto;var options={"hmr":true} options.transform=transform options.insertInto=undefined;var update=__webpack_require__(1)(content,options);if(content.locals)module.exports=content.locals;if(false){}}),(function(module,exports,__webpack_require__){exports=module.exports=__webpack_require__(0)(false);exports.push([module.i,".cookie-plugin-btn {\n display: inline-block;\n margin-bottom: 0;\n font-weight: normal;\n text-align: center;\n white-space: nowrap;\n vertical-align: middle;\n -ms-touch-action: manipulation;\n touch-action: manipulation;\n cursor: pointer;\n background-image: none;\n border: 1px solid transparent;\n padding: 6px 12px;\n font-size: 14px;\n line-height: 1.42857143;\n border-radius: 4px;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n}\n.cookie-plugin-btn:focus,\n.cookie-plugin-btn:active:focus,\n.cookie-plugin-btn.active:focus,\n.cookie-plugin-btn.focus,\n.cookie-plugin-btn:active.focus,\n.cookie-plugin-btn.active.focus {\n outline: 5px auto -webkit-focus-ring-color;\n outline-offset: -2px;\n}\n.cookie-plugin-btn:hover,\n.cookie-plugin-btn:focus,\n.cookie-plugin-btn.focus {\n color: #333;\n text-decoration: none;\n}\n.cookie-plugin-btn:active,\n.cookie-plugin-btn.active {\n background-image: none;\n outline: 0;\n -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);\n box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);\n}\n.cookie-plugin-btn-success {\n color: #fff;\n background-color: #5cb85c;\n border-color: #4cae4c;\n}\n.cookie-plugin-btn-success:focus,\n.cookie-plugin-btn-success.focus {\n color: #fff;\n background-color: #449d44;\n border-color: #255625;\n}\n.cookie-plugin-btn-success:hover {\n color: #fff;\n background-color: #449d44;\n border-color: #398439;\n}\n.cookie-plugin-btn-success:active,\n.cookie-plugin-btn-success.active,\n.open > .dropdown-toggle.cookie-plugin-btn-success {\n color: #fff;\n background-color: #449d44;\n background-image: none;\n border-color: #398439;\n}\n.cookie-plugin-btn-success:active:hover,\n.cookie-plugin-btn-success.active:hover,\n.open > .dropdown-toggle.cookie-plugin-btn-success:hover,\n.cookie-plugin-btn-success:active:focus,\n.cookie-plugin-btn-success.active:focus,\n.open > .dropdown-toggle.cookie-plugin-btn-success:focus,\n.cookie-plugin-btn-success:active.focus,\n.cookie-plugin-btn-success.active.focus,\n.open > .dropdown-toggle.cookie-plugin-btn-success.focus {\n color: #fff;\n background-color: #398439;\n border-color: #255625;\n}\n.cookie-plugin-btn-success.disabled:hover,\n.cookie-plugin-btn-success[disabled]:hover,\nfieldset[disabled] .cookie-plugin-btn-success:hover,\n.cookie-plugin-btn-success.disabled:focus,\n.cookie-plugin-btn-success[disabled]:focus,\nfieldset[disabled] .cookie-plugin-btn-success:focus,\n.cookie-plugin-btn-success.disabled.focus,\n.cookie-plugin-btn-success[disabled].focus,\nfieldset[disabled] .cookie-plugin-btn-success.focus {\n background-color: #5cb85c;\n border-color: #4cae4c;\n}\n.cookie-plugin-btn-success .badge {\n color: #5cb85c;\n background-color: #fff;\n}\n.cookie-plugin-btn-link {\n font-weight: 400;\n border-radius: 0;\n}\n.cookie-plugin-btn-link,\n.cookie-plugin-btn-link:active,\n.cookie-plugin-btn-link.active,\n.cookie-plugin-btn-link[disabled],\nfieldset[disabled] .cookie-plugin-btn-link {\n background-color: transparent;\n -webkit-box-shadow: none;\n box-shadow: none;\n}\n.cookie-plugin-btn-link,\n.cookie-plugin-btn-link:hover,\n.cookie-plugin-btn-link:focus,\n.cookie-plugin-btn-link:active {\n border-color: transparent;\n}\n.cookie-plugin-btn-link:hover,\n.cookie-plugin-btn-link:focus {\n color: #23527c;\n text-decoration: underline;\n background-color: transparent;\n}\n.cookie-plugin-btn-link[disabled]:hover,\nfieldset[disabled] .cookie-plugin-btn-link:hover,\n.cookie-plugin-btn-link[disabled]:focus,\nfieldset[disabled] .cookie-plugin-btn-link:focus {\n color: #777777;\n text-decoration: none;\n}\n\n.cookie-bar label p {\n font-size: 14px;\n}",""]);}),(function(module,exports){module.exports=function(css){var location=typeof window!=="undefined"&&window.location;if(!location){throw new Error("fixUrls requires window.location");} if(!css||typeof css!=="string"){return css;} var baseUrl=location.protocol+"//"+location.host;var currentDir=baseUrl+location.pathname.replace(/\/[^\/]*$/,"/");var fixedCss=css.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,function(fullMatch,origUrl){var unquotedOrigUrl=origUrl.trim().replace(/^"(.*)"$/,function(o,$1){return $1;}).replace(/^'(.*)'$/,function(o,$1){return $1;});if(/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/|\s*$)/i.test(unquotedOrigUrl)){return fullMatch;} var newUrl;if(unquotedOrigUrl.indexOf("//")===0){newUrl=unquotedOrigUrl;}else if(unquotedOrigUrl.indexOf("/")===0){newUrl=baseUrl+unquotedOrigUrl;}else{newUrl=currentDir+unquotedOrigUrl.replace(/^\.\//,"");} return"url("+JSON.stringify(newUrl)+")";});return fixedCss;};}),(function(module,exports,__webpack_require__){var content=__webpack_require__(9);if(typeof content==='string')content=[[module.i,content,'']];var transform;var insertInto;var options={"hmr":true} options.transform=transform options.insertInto=undefined;var update=__webpack_require__(1)(content,options);if(content.locals)module.exports=content.locals;if(false){}}),(function(module,exports,__webpack_require__){exports=module.exports=__webpack_require__(0)(false);exports.push([module.i,".cookie-plugin-switch {\n position: relative;\n display: inline-block;\n width: 52px;\n height: 25px;\n}\n\n.cookie-plugin-switch input { \n opacity: 0;\n width: 0;\n height: 0;\n}\n\n.cooke-plugin-slider {\n position: absolute;\n cursor: pointer;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n background-color: #ccc;\n -webkit-transition: .4s;\n transition: .4s;\n}\n\n.cooke-plugin-slider:before {\n position: absolute;\n content: \"\";\n height: 22px;\n width: 21px;\n left: 4px;\n bottom: 2px;\n background-color: white;\n -webkit-transition: .4s;\n transition: .4s;\n}\n\ninput:checked + .cooke-plugin-slider {\n background-color: #2196F3;\n}\n\ninput:focus + .cooke-plugin-slider {\n box-shadow: 0 0 1px #2196F3;\n}\n\ninput:checked + .cooke-plugin-slider:before {\n -webkit-transform: translateX(26px);\n -ms-transform: translateX(26px);\n transform: translateX(26px);\n}\n\n/* Rounded sliders */\n.cooke-plugin-slider.round {\n border-radius: 34px;\n}\n\n.cooke-plugin-slider.round:before {\n border-radius: 50%;\n}",""]);}),(function(module,exports,__webpack_require__){var content=__webpack_require__(11);if(typeof content==='string')content=[[module.i,content,'']];var transform;var insertInto;var options={"hmr":true} options.transform=transform options.insertInto=undefined;var update=__webpack_require__(1)(content,options);if(content.locals)module.exports=content.locals;if(false){}}),(function(module,exports,__webpack_require__){exports=module.exports=__webpack_require__(0)(false);exports.push([module.i,"/* The Modal (background) */\n.cookie-plugin-modal {\n display: none; /* Hidden by default */\n position: fixed; /* Stay in place */\n z-index: 1; /* Sit on top */\n left: 0;\n top: 0;\n width: 100%; /* Full width */\n height: 100%; /* Full height */\n overflow: auto; /* Enable scroll if needed */\n background-color: rgb(0, 0, 0); /* Fallback color */\n background-color: rgba(0, 0, 0, 0.4); /* Black w/ opacity */\n}\n\n/* Modal Content/Box */\n.cookie-plugin-modal .modal-content {\n background-color: #fefefe;\n margin: 15% auto; /* 15% from the top and centered */\n padding: 20px;\n border: 1px solid #888;\n width: 80%; /* Could be more or less, depending on screen size */\n}\n.cookie-plugin-modal .modal-disclaimer {\n font-size: 12px;\n text-align: justify;\n margin-right: 3px;\n}\n\n/* The Close Button */\n.cookie-plugin-modal .cookie-plugin-close {\n color: #aaa;\n float: right;\n font-size: 28px;\n font-weight: bold;\n position: absolute;\n top: -5px;\n right: 20px;\n}\n\n.cookie-plugin-close:hover,\n.cookie-plugin-close:focus {\n color: black;\n text-decoration: none;\n cursor: pointer;\n}\n",""]);})]);};if(CloudflareApps.matchPage(CloudflareApps.installs['ttGZKC3pSwBt'].URLPatterns)){(function(){var AjaxMonitor,Bar,DocumentMonitor,ElementMonitor,ElementTracker,EventLagMonitor,Evented,Events,NoTargetError,Pace,RequestIntercept,SOURCE_KEYS,Scaler,SocketRequestTracker,XHRRequestTracker,animation,avgAmplitude,bar,cancelAnimation,cancelAnimationFrame,defaultOptions,extend,extendNative,getFromDOM,getIntercept,handlePushState,ignoreStack,init,now,options,paceHideStyle,requestAnimationFrame,result,runAnimation,scalers,shouldIgnoreURL,shouldTrack,source,sources,uniScaler,_WebSocket,_XDomainRequest,_XMLHttpRequest,_i,_intercept,_len,_pushState,_ref,_ref1,_replaceState,__slice=[].slice,__hasProp={}.hasOwnProperty,__extends=function(child,parent){for(var key in parent){if(__hasProp.call(parent,key))child[key]=parent[key];}function ctor(){this.constructor=child;}ctor.prototype=parent.prototype;child.prototype=new ctor();child.__super__=parent.prototype;return child;},__indexOf=[].indexOf||function(item){for(var i=0,l=this.length;i=33){last=now();return fn(diff,function(){return requestAnimationFrame(tick);});}else{return setTimeout(tick,33-diff);}};return tick();};result=function(){var args,key,obj;obj=arguments[0],key=arguments[1],args=3<=arguments.length?__slice.call(arguments,2):[];if(typeof obj[key]==='function'){return obj[key].apply(obj,args);}else{return obj[key];}};extend=function(){var key,out,source,sources,val,_i,_len;out=arguments[0],sources=2<=arguments.length?__slice.call(arguments,1):[];for(_i=0,_len=sources.length;_i<_len;_i++){source=sources[_i];if(source){for(key in source){if(!__hasProp.call(source,key))continue;val=source[key];if((out[key]!=null)&&typeof out[key]==='object'&&(val!=null)&&typeof val==='object'){extend(out[key],val);}else{out[key]=val;}}}} return out;};avgAmplitude=function(arr){var count,sum,v,_i,_len;sum=count=0;for(_i=0,_len=arr.length;_i<_len;_i++){v=arr[_i];sum+=Math.abs(v);count++;} return sum/count;};getFromDOM=function(key,json){var data,e,el;if(key==null){key='options';} if(json==null){json=true;} el=document.querySelector("[data-pace-"+key+"]");if(!el){return;} data=el.getAttribute("data-pace-"+key);if(!json){return data;} try{return JSON.parse(data);}catch(_error){e=_error;return typeof console!=="undefined"&&console!==null?console.error("Error parsing inline pace options",e):void 0;}};Evented=(function(){function Evented(){} Evented.prototype.on=function(event,handler,ctx,once){var _base;if(once==null){once=false;} if(this.bindings==null){this.bindings={};} if((_base=this.bindings)[event]==null){_base[event]=[];} return this.bindings[event].push({handler:handler,ctx:ctx,once:once});};Evented.prototype.once=function(event,handler,ctx){return this.on(event,handler,ctx,true);};Evented.prototype.off=function(event,handler){var i,_ref,_results;if(((_ref=this.bindings)!=null?_ref[event]:void 0)==null){return;} if(handler==null){return delete this.bindings[event];}else{i=0;_results=[];while(i=100){progressStr='99';}else{progressStr=this.progress<10?"0":"";progressStr+=this.progress|0;} el.children[0].setAttribute('data-progress',""+progressStr);} return this.lastRenderedProgress=this.progress;};Bar.prototype.done=function(){return this.progress>=100;};return Bar;})();Events=(function(){function Events(){this.bindings={};} Events.prototype.trigger=function(name,val){var binding,_j,_len1,_ref2,_results;if(this.bindings[name]!=null){_ref2=this.bindings[name];_results=[];for(_j=0,_len1=_ref2.length;_j<_len1;_j++){binding=_ref2[_j];_results.push(binding.call(this,val));} return _results;}};Events.prototype.on=function(name,fn){var _base;if((_base=this.bindings)[name]==null){_base[name]=[];} return this.bindings[name].push(fn);};return Events;})();_XMLHttpRequest=window.XMLHttpRequest;_XDomainRequest=window.XDomainRequest;_WebSocket=window.WebSocket;extendNative=function(to,from){var e,key,val,_results;_results=[];for(key in from.prototype){try{val=from.prototype[key];if((to[key]==null)&&typeof val!=='function'){_results.push(to[key]=val);}else{_results.push(void 0);}}catch(_error){e=_error;}} return _results;};ignoreStack=[];Pace.ignore=function(){var args,fn,ret;fn=arguments[0],args=2<=arguments.length?__slice.call(arguments,1):[];ignoreStack.unshift('ignore');ret=fn.apply(null,args);ignoreStack.shift();return ret;};Pace.track=function(){var args,fn,ret;fn=arguments[0],args=2<=arguments.length?__slice.call(arguments,1):[];ignoreStack.unshift('track');ret=fn.apply(null,args);ignoreStack.shift();return ret;};shouldTrack=function(method){var _ref2;if(method==null){method='GET';} if(ignoreStack[0]==='track'){return'force';} if(!ignoreStack.length&&options.ajax){if(method==='socket'&&options.ajax.trackWebSockets){return true;}else if(_ref2=method.toUpperCase(),__indexOf.call(options.ajax.trackMethods,_ref2)>=0){return true;}} return false;};RequestIntercept=(function(_super){__extends(RequestIntercept,_super);function RequestIntercept(){var monitorXHR,_this=this;RequestIntercept.__super__.constructor.apply(this,arguments);monitorXHR=function(req){var _open;_open=req.open;return req.open=function(type,url,async){if(shouldTrack(type)){_this.trigger('request',{type:type,url:url,request:req});} return _open.apply(req,arguments);};};window.XMLHttpRequest=function(flags){var req;req=new _XMLHttpRequest(flags);monitorXHR(req);return req;};try{extendNative(window.XMLHttpRequest,_XMLHttpRequest);}catch(_error){} if(_XDomainRequest!=null){window.XDomainRequest=function(){var req;req=new _XDomainRequest;monitorXHR(req);return req;};try{extendNative(window.XDomainRequest,_XDomainRequest);}catch(_error){}} if((_WebSocket!=null)&&options.ajax.trackWebSockets){window.WebSocket=function(url,protocols){var req;if(protocols!=null){req=new _WebSocket(url,protocols);}else{req=new _WebSocket(url);} if(shouldTrack('socket')){_this.trigger('request',{type:'socket',url:url,protocols:protocols,request:req});} return req;};try{extendNative(window.WebSocket,_WebSocket);}catch(_error){}}} return RequestIntercept;})(Events);_intercept=null;getIntercept=function(){if(_intercept==null){_intercept=new RequestIntercept;} return _intercept;};shouldIgnoreURL=function(url){var pattern,_j,_len1,_ref2;_ref2=options.ajax.ignoreURLs;for(_j=0,_len1=_ref2.length;_j<_len1;_j++){pattern=_ref2[_j];if(typeof pattern==='string'){if(url.indexOf(pattern)!==-1){return true;}}else{if(pattern.test(url)){return true;}}} return false;};getIntercept().on('request',function(_arg){var after,args,request,type,url;type=_arg.type,request=_arg.request,url=_arg.url;if(shouldIgnoreURL(url)){return;} if(!Pace.running&&(options.restartOnRequestAfter!==false||shouldTrack(type)==='force')){args=arguments;after=options.restartOnRequestAfter||0;if(typeof after==='boolean'){after=0;} return setTimeout(function(){var stillActive,_j,_len1,_ref2,_ref3,_results;if(type==='socket'){stillActive=request.readyState<2;}else{stillActive=(0<(_ref2=request.readyState)&&_ref2<4);} if(stillActive){Pace.restart();_ref3=Pace.sources;_results=[];for(_j=0,_len1=_ref3.length;_j<_len1;_j++){source=_ref3[_j];if(source instanceof AjaxMonitor){source.watch.apply(source,args);break;}else{_results.push(void 0);}} return _results;}},after);}});AjaxMonitor=(function(){function AjaxMonitor(){var _this=this;this.elements=[];getIntercept().on('request',function(){return _this.watch.apply(_this,arguments);});} AjaxMonitor.prototype.watch=function(_arg){var request,tracker,type,url;type=_arg.type,request=_arg.request,url=_arg.url;if(shouldIgnoreURL(url)){return;} if(type==='socket'){tracker=new SocketRequestTracker(request);}else{tracker=new XHRRequestTracker(request);} return this.elements.push(tracker);};return AjaxMonitor;})();XHRRequestTracker=(function(){function XHRRequestTracker(request){var event,size,_j,_len1,_onreadystatechange,_ref2,_this=this;this.progress=0;if(window.ProgressEvent!=null){size=null;request.addEventListener('progress',function(evt){if(evt.lengthComputable){return _this.progress=100*evt.loaded/evt.total;}else{return _this.progress=_this.progress+(100-_this.progress)/2;}},false);_ref2=['load','abort','timeout','error'];for(_j=0,_len1=_ref2.length;_j<_len1;_j++){event=_ref2[_j];request.addEventListener(event,function(){return _this.progress=100;},false);}}else{_onreadystatechange=request.onreadystatechange;request.onreadystatechange=function(){var _ref3;if((_ref3=request.readyState)===0||_ref3===4){_this.progress=100;}else if(request.readyState===3){_this.progress=50;} return typeof _onreadystatechange==="function"?_onreadystatechange.apply(null,arguments):void 0;};}} return XHRRequestTracker;})();SocketRequestTracker=(function(){function SocketRequestTracker(request){var event,_j,_len1,_ref2,_this=this;this.progress=0;_ref2=['error','open'];for(_j=0,_len1=_ref2.length;_j<_len1;_j++){event=_ref2[_j];request.addEventListener(event,function(){return _this.progress=100;},false);}} return SocketRequestTracker;})();ElementMonitor=(function(){function ElementMonitor(options){var selector,_j,_len1,_ref2;if(options==null){options={};} this.elements=[];if(options.selectors==null){options.selectors=[];} _ref2=options.selectors;for(_j=0,_len1=_ref2.length;_j<_len1;_j++){selector=_ref2[_j];this.elements.push(new ElementTracker(selector));}} return ElementMonitor;})();ElementTracker=(function(){function ElementTracker(selector){this.selector=selector;this.progress=0;this.check();} ElementTracker.prototype.check=function(){var _this=this;if(document.querySelector(this.selector)){return this.done();}else{return setTimeout((function(){return _this.check();}),options.elements.checkInterval);}};ElementTracker.prototype.done=function(){return this.progress=100;};return ElementTracker;})();DocumentMonitor=(function(){DocumentMonitor.prototype.states={loading:0,interactive:50,complete:100};function DocumentMonitor(){var _onreadystatechange,_ref2,_this=this;this.progress=(_ref2=this.states[document.readyState])!=null?_ref2:100;_onreadystatechange=document.onreadystatechange;document.onreadystatechange=function(){if(_this.states[document.readyState]!=null){_this.progress=_this.states[document.readyState];} return typeof _onreadystatechange==="function"?_onreadystatechange.apply(null,arguments):void 0;};} return DocumentMonitor;})();EventLagMonitor=(function(){function EventLagMonitor(){var avg,interval,last,points,samples,_this=this;this.progress=0;avg=0;samples=[];points=0;last=now();interval=setInterval(function(){var diff;diff=now()-last-50;last=now();samples.push(diff);if(samples.length>options.eventLag.sampleCount){samples.shift();} avg=avgAmplitude(samples);if(++points>=options.eventLag.minSamples&&avg=100){this.done=true;} if(val===this.last){this.sinceLastUpdate+=frameTime;}else{if(this.sinceLastUpdate){this.rate=(val-this.last)/this.sinceLastUpdate;} this.catchup=(val-this.progress)/options.catchupTime;this.sinceLastUpdate=0;this.last=val;} if(val>this.progress){this.progress+=this.catchup*frameTime;} scaling=1-Math.pow(this.progress/100,options.easeFactor);this.progress+=scaling*this.rate*frameTime;this.progress=Math.min(this.lastProgress+options.maxProgressPerFrame,this.progress);this.progress=Math.max(0,this.progress);this.progress=Math.min(100,this.progress);this.lastProgress=this.progress;return this.progress;};return Scaler;})();sources=null;scalers=null;bar=null;uniScaler=null;animation=null;cancelAnimation=null;Pace.running=false;handlePushState=function(){if(options.restartOnPushState){return Pace.restart();}};if(window.history.pushState!=null){_pushState=window.history.pushState;window.history.pushState=function(){handlePushState();return _pushState.apply(window.history,arguments);};} if(window.history.replaceState!=null){_replaceState=window.history.replaceState;window.history.replaceState=function(){handlePushState();return _replaceState.apply(window.history,arguments);};} SOURCE_KEYS={ajax:AjaxMonitor,elements:ElementMonitor,document:DocumentMonitor,eventLag:EventLagMonitor};(init=function(){var type,_j,_k,_len1,_len2,_ref2,_ref3,_ref4;Pace.sources=sources=[];_ref2=['ajax','elements','document','eventLag'];for(_j=0,_len1=_ref2.length;_j<_len1;_j++){type=_ref2[_j];if(options[type]!==false){sources.push(new SOURCE_KEYS[type](options[type]));}} _ref4=(_ref3=options.extraSources)!=null?_ref3:[];for(_k=0,_len2=_ref4.length;_k<_len2;_k++){source=_ref4[_k];sources.push(new source(options));} Pace.bar=bar=new Bar;scalers=[];return uniScaler=new Scaler;})();Pace.stop=function(){Pace.trigger('stop');Pace.running=false;bar.destroy();cancelAnimation=true;if(animation!=null){if(typeof cancelAnimationFrame==="function"){cancelAnimationFrame(animation);} animation=null;} return init();};Pace.restart=function(){Pace.trigger('restart');Pace.stop();return Pace.start();};Pace.go=function(){var start;Pace.running=true;bar.render();start=now();cancelAnimation=false;return animation=runAnimation(function(frameTime,enqueueNextFrame){var avg,count,done,element,elements,i,j,remaining,scaler,scalerList,sum,_j,_k,_len1,_len2,_ref2;remaining=100-bar.progress;count=sum=0;done=true;for(i=_j=0,_len1=sources.length;_j<_len1;i=++_j){source=sources[i];scalerList=scalers[i]!=null?scalers[i]:scalers[i]=[];elements=(_ref2=source.elements)!=null?_ref2:[source];for(j=_k=0,_len2=elements.length;_k<_len2;j=++_k){element=elements[j];scaler=scalerList[j]!=null?scalerList[j]:scalerList[j]=new Scaler(element);done&=scaler.done;if(scaler.done){continue;} count++;sum+=scaler.tick(frameTime);}} avg=sum/count;bar.update(uniScaler.tick(frameTime,avg));if(bar.done()||done||cancelAnimation){bar.update(100);Pace.trigger('done');return setTimeout(function(){bar.finish();Pace.running=false;return Pace.trigger('hide');},Math.max(options.ghostTime,Math.max(options.minTime-(now()-start),0)));}else{return enqueueNextFrame();}});};paceHideStyle=null;Pace.start=function(_options){extend(options,_options);if(options.hidePage){if(!paceHideStyle){paceHideStyle=document.createElement('style');document.head.appendChild(paceHideStyle);} paceHideStyle.innerHTML="body > *:not(.pace), body:before, body:after { -webkit-transition: opacity .4s ease-in-out; -moz-transition: opacity .4s ease-in-out; -o-transition: opacity .4s ease-in-out; -ms-transition: opacity .4s ease-in-out; transition: opacity .4s ease-in-out } body:not(.pace-done) > *:not(.pace), body:not(.pace-done):before, body:not(.pace-done):after { opacity: 0 }";}else{if(paceHideStyle!=null){paceHideStyle.innerHTML='';}} Pace.running=true;try{bar.render();}catch(_error){NoTargetError=_error;} if(!document.querySelector('.pace')){return setTimeout(Pace.start,50);}else{Pace.trigger('start');return Pace.go();}};if(typeof define==='function'&&define.amd){define(function(){return Pace;});}else if(typeof exports==='object'){module.exports=Pace;}else{if(options.startOnPageLoad){Pace.start();}}}).call(this);};(function(){try{var link=document.createElement('link');link.rel='stylesheet';link.href='data:text/css;charset=utf-8;base64,LyogVGhpcyBpcyBhIGNvbXBpbGVkIGZpbGUsIHlvdSBzaG91bGQgYmUgZWRpdGluZyB0aGUgZmlsZSBpbiB0aGUgdGVtcGxhdGVzIGRpcmVjdG9yeSAqLwoucGFjZSB7CiAgLXdlYmtpdC1wb2ludGVyLWV2ZW50czogbm9uZTsKICBwb2ludGVyLWV2ZW50czogbm9uZTsKICAtd2Via2l0LXVzZXItc2VsZWN0OiBub25lOwogIC1tb3otdXNlci1zZWxlY3Q6IG5vbmU7CiAgdXNlci1zZWxlY3Q6IG5vbmU7Cn0KCi5wYWNlLWluYWN0aXZlIHsKICBkaXNwbGF5OiBub25lOwp9CgoucGFjZSAucGFjZS1wcm9ncmVzcyB7CiAgYmFja2dyb3VuZDogIzIyOTlkZDsKICBwb3NpdGlvbjogZml4ZWQ7CiAgei1pbmRleDogMjAwMDsKICB0b3A6IDA7CiAgbGVmdDogMDsKICBoZWlnaHQ6IDJweDsKfQoKLnBhY2UgLnBhY2UtcHJvZ3Jlc3MtaW5uZXIgewogIGRpc3BsYXk6IGJsb2NrOwogIHBvc2l0aW9uOiBhYnNvbHV0Z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OyB0cmFuc2Zvcm06IHJvdGF0ZSgwZGVnKTsgfQogIDEwMCUgeyB0cmFuc2Zvcm06IHJvdGF0ZSgzNjBkZWcpOyB0cmFuc2Zvcm06IHJvdGF0ZSgzNjBkZWcpOyB9Cn0K';document.getElementsByTagName('head')[0].appendChild(link);}catch(e){}})();(function(){var script = document.createElement('script');script.src = '/cdn-cgi/apps/body/LB8uToQ_S6rnQol8hy6t_XJXVLk.js';document.head.appendChild(script);})();