PageSourceSearch

https://thedatadigger.com/Dassets/js/main.min.js

js thedatadigger.com collected 2026-10-07 19:38:21 UTC 357,095 bytes, 2 lines download raw bytes

1var objectFitImages=function(){"use strict";var a="bfred-it:object-fit-images",r=/(object-fit|object-position)\s*:\s*([-\w\s%]+)/g,t="undefined"==typeof Image?{style:{"object-position":1}}:new Image,s="object-fit"in t.style,n="object-position"in t.style,l="background-size"in t.style,c="string"==typeof t.currentSrc,d=t.getAttribute,u=t.setAttribute,h=!1;function f(t,e,i){var o="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='"+(e||1)+"' height='"+(i||0)+"'%3E%3C/svg%3E";d.call(t,"src")!==o&&u.call(t,"src",o)}function p(t,e){t.naturalWidth?e(t):setTimeout(p,100,t,e)}function g(e){var i,o,t=function(t){for(var e,i=getComputedStyle(t).fontFamily,o={};null!==(e=r.exec(i));)o[e[1]]=e[2];return o}(e),n=e[a];if(t["object-fit"]=t["object-fit"]||"fill",!n.img){if("fill"===t["object-fit"])return;if(!n.skipTest&&s&&!t["object-position"])return}if(!n.img){n.img=new Image(e.width,e.height),n.img.srcset=d.call(e,"data-ofi-srcset")||e.srcset,n.img.src=d.call(e,"data-ofi-src")||e.src,u.call(e,"data-ofi-src",e.src),e.srcset&&u.call(e,"data-ofi-srcset",e.srcset),f(e,e.naturalWidth||e.width,e.naturalHeight||e.height),e.srcset&&(e.srcset="");try{i=e,o={get:function(t){return i[a].img[t||"src"]},set:function(t,e){return i[a].img[e||"src"]=t,u.call(i,"data-ofi-"+e,t),g(i),t}}
1,Object.defineProperty(i,"src",o),Object.defineProperty(i,"currentSrc",{get:function(){return o.get("currentSrc")}}),Object.defineProperty(i,"srcset",{get:function(){return o.get("srcset")},set:function(t){return o.set(t,"srcset")}})}catch(t){window.console&&console.warn("https://bit.ly/ofi-old-browser")}}!function(t){if(t.srcset&&!c&&window.picturefill){var e=window.picturefill._;t[e.ns]&&t[e.ns].evaled||e.fillImg(t,{reselect:!0}),t[e.ns].curSrc||(t[e.ns].supported=!1,e.fillImg(t,{reselect:!0})),t.currentSrc=t[e.ns].curSrc||t.src}}(n.img),e.style.backgroundImage='url("'+(n.img.currentSrc||n.img.src).replace(/"/g,'\\"')+'")',e.style.backgroundPosition=t["object-position"]||"center",e.style.backgroundRepeat="no-repeat",e.style.backgroundOrigin="content-box",/scale-down/.test(t["object-fit"])?p(n.img,function(){n.img.naturalWidth>e.width||n.img.naturalHeight>e.height?e.style.backgroundSize="contain":e.style.backgroundSize="auto"}):e.style.backgroundSize=t["object-fit"].replace("none","auto").replace("fill","100% 100%"),p(n.img,function(t){f(e,t.naturalWidth,t.naturalHeight)})}function m(t,e){var i=!h&&!t;if(e=e||{},t=t||"img",n&&!e.skipTest||!l)return!1;"img"===t?t=document.getElementsByTagName("img"):"string"==typeof t?t=document.querySelectorAll(t):"length"in t||(t=[t]);for(var o=0;o<t.length;o++)t[o][a]=t[o][a]||{skipTest:e.skipTest},g(t[o]);i&&(document.body.addEventListener("load",function(t){"IMG"===t.target.tagName&&m(t.target,{skipTest:e.skipTest})},!0),h=!0,t="img"),e.watchMQ&&window.addEventListener("resize",m.bind(null,t,{skipTest:e.skipTest}))}return m.supportsObjectFit=s,m.supportsObjectPosition=n,function(){function i(t,e){return t[a]&&t[a].img&&("src"===e||"srcset"===e)?t[a].img:t}n||(HTMLImageElement.prototype.getAttribute=function(t){return d.call(i(this,t),t)},HTMLImageElement.prototype.setAttribute=function(t,e){return u.call(i(this,t),t,String(e))})}(),m}();!function(){"use strict";var t=function(){function o(t,e){for(var i=0;i<e.length;i++){var o=e[i];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}return function(t,e,i){return e&&o(t.prototype,e),i&&o(t,i),t}}(),c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};var o=function(){for(var t="transform WebkitTransform MozTransform".split(" "),e=document.createElement("div"),i=0;i<t.length;i++)if(e&&void 0!==e.style[t[i]])return t[i];return!1}(),e=navigator.userAgent,d=-1<e.toLowerCase().indexOf("android"),u=/iPad|iPhone|iPod/.test(e)&&!window.MSStream,n=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(t){setTimeout(t,1e3/60)};function i(t,e,i){t.addEventListener(e,i)}var v=void 0,b=void 0,a=void 0,r=!1;function s(t){v=window.innerWidth||document.documentElement.clientWidth,b=window.innerHeight||document.documentElement.clientHeight,"object"!==(void 0===t?"undefined":c(t))||"load"!==t.type&&"DOMContentLoaded"!==t.type||(r=!0)}s(),i(window,"resize",s),i(window,"orientationchange",s),i(window,"load",s),i(window,"DOMContentLoaded",s);var h=[],l=!1;function f(){if(h.length){a=void 0!==window.pageYOffset?window.pageYOffset:(document.documentElement||document.body.parentNode||document.body).scrollTop;var e=r||!l||l.width!==v||l.height!==b,i=e||!l||l.y!==a;r=!1,(e||i)&&(h.forEach(function(t){e&&t.onResize(),i&&t.onScroll()}),l={width:v,height:b,y:a}),n(f)}}var p=0,g=function(){function l(t,e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,l);var i=this;i.instanceID=p++,i.$item=t,i.defaults={type:"scroll",speed:.5,imgSrc:null,imgElement:".jarallax-img",imgSize:"cover",imgPosition:"50% 50%",imgRepeat:"no-repeat",keepImg:!1,elementInViewport:null,zIndex:-100,noAndroid:!1,noIos:!1,videoSrc:null,videoStartTime:0,videoEndTime:0,videoVolume:0,videoPlayOnlyVisible:!0,onScroll:null,onInit:null,onDestroy:null,onCoverImage:null};var o=i.$item.getAttribute("data-jarallax"),n=JSON.parse(o||"{}");o&&console.warn("Detected usage of deprecated data-jarallax JSON options, you should use pure data-attribute options. See info here - https://github.com/nk-o/jarallax/issues/53");var a=i.$item.dataset||{},r={};
1Object.keys(a).forEach(function(t){var e=t.substr(0,1).toLowerCase()+t.substr(1);e&&void 0!==i.defaults[e]&&(r[e]=a[t])}),i.options=i.extend({},i.defaults,n,r,e),i.pureOptions=i.extend({},i.options),Object.keys(i.options).forEach(function(t){"true"===i.options[t]?i.options[t]=!0:"false"===i.options[t]&&(i.options[t]=!1)}),i.options.speed=Math.min(2,Math.max(-1,parseFloat(i.options.speed)));var s=i.options.elementInViewport;s&&"object"===(void 0===s?"undefined":c(s))&&void 0!==s.length&&(s=s[0]),s instanceof Element||(s=null),i.options.elementInViewport=s,i.image={src:i.options.imgSrc||null,$container:null,useImgTag:!1,position:d||u?"absolute":"fixed"},i.initImg()&&i.canInitParallax()&&i.init()}return t(l,[{key:"css",value:function(e,i){return"string"==typeof i?window.getComputedStyle(e).getPropertyValue(i):(i.transform&&o&&(i[o]=i.transform),Object.keys(i).forEach(function(t){e.style[t]=i[t]}),e)}},{key:"extend",value:function(i){var o=arguments;return i=i||{},Object.keys(arguments).forEach(function(e){o[e]&&Object.keys(o[e]).forEach(function(t){i[t]=o[e][t]})}),i}},{key:"getWindowData",value:function(){return{width:v,height:b,y:a}}},{key:"initImg",value:function(){var t=this,e=t.options.imgElement;return e&&"string"==typeof e&&(e=t.$item.querySelector(e)),e instanceof Element||(e=null),e&&(t.options.keepImg?t.image.$item=e.cloneNode(!0):(t.image.$item=e,t.image.$itemParent=e.parentNode),t.image.useImgTag=!0),!!t.image.$item||(null===t.image.src&&(t.image.src=t.css(t.$item,"background-image").replace(/^url\(['"]?/g,"").replace(/['"]?\)$/g,"")),!(!t.image.src||"none"===t.image.src))}},{key:"canInitParallax",value:function(){return o&&!(d&&this.options.noAndroid)&&!(u&&this.options.noIos)}},{key:"init",value:function(){var t=this,e={position:"absolute",top:0,left:0,width:"100%",height:"100%",overflow:"hidden",pointerEvents:"none"},i={};if(!t.options.keepImg){var o=t.$item.getAttribute("style");if(o&&t.$item.setAttribute("data-jarallax-original-styles",o),t.image.useImgTag){var n=t.image.$item.getAttribute("style");n&&t.image.$item.setAttribute("data-jarallax-original-styles",n)}}if("static"===t.css(t.$item,"position")&&t.css(t.$item,{position:"relative"}),"auto"===t.css(t.$item,"z-index")&&t.css(t.$item,{zIndex:0}),t.image.$container=document.createElement("div"),t.css(t.image.$container,e),t.css(t.image.$container,{"z-index":t.options.zIndex}),t.image.$container.setAttribute("id","jarallax-container-"+t.instanceID),t.$item.appendChild(t.image.$container),t.image.useImgTag?i=t.extend({"object-fit":t.options.imgSize,"object-position":t.options.imgPosition,"font-family":"object-fit: "+t.options.imgSize+"; object-position: "+t.options.imgPosition+";","max-width":"none"},e,i):(t.image.$item=document.createElement("div"),i=t.extend({"background-position":t.options.imgPosition,"background-size":t.options.imgSize,"background-repeat":t.options.imgRepeat,"background-image":'url("'+t.image.src+'")'},e,i)),"opacity"!==t.options.type&&"scale"!==t.options.type&&"scale-opacity"!==t.options.type&&1!==t.options.speed||(t.image.position="absolute"),"fixed"===t.image.position)for(var a=0,r=t.$item;null!==r&&r!==document&&0===a;){var s=t.css(r,"-webkit-transform")||t.css(r,"-moz-transform")||t.css(r,"transform");s&&"none"!==s&&(a=1,t.image.position="absolute"),r=r.parentNode}i.position=t.image.position,t.css(t.image.$item,i),t.image.$container.appendChild(t.image.$item),t.coverImage(),t.clipContainer(),t.onScroll(!0),t.options.onInit&&t.options.onInit.call(t),"none"!==t.css(t.$item,"background-image")&&t.css(t.$item,{"background-image":"none"}),t.addToParallaxList()}},{key:"addToParallaxList",value:function(){h.push(this),1===h.length&&f()}},{key:"removeFromParallaxList",value:function(){var i=this;h.forEach(function(t,e){t.instanceID===i.instanceID&&h.splice(e,1)})}},{key:"destroy",value:function(){var t=this;t.removeFromParallaxList();var e=t.$item.getAttribute("data-jarallax-original-styles");if(t.$item.removeAttribute("data-jarallax-original-styles"),e?t.$item.setAttribute("style",e):t.$item.removeAttribute("style"),t.image.useImgTag){var i=t.image.$item.getAttribute("data-jarallax-original-styles");t.image.$item.removeAttribute("data-jarallax-original-styles"),i?t.image.$item.setAttribute("style",e):t.image.$item.removeAttribute("style"),t.image.$itemParent&&t.image.$itemParent.appendChild(t.image.$item)}t.$clipStyles&&t.$clipStyles.parentNode.removeChild(t.$clipStyles),t.image.$container&&t.image.$container.parentNode.removeChild(t.image.$container),t.options.onDestroy&&t.options.onDestroy.call(t),delete t.$item.jarallax}},{key:"clipContainer",value:function(){if("fixed"===this.image.position){var t=this,e=t.image.$container.getBoundingClientRect(),i=e.width,o=e.height;if(!t.$clipStyles)t.$clipStyles=document.createElement("style"),t.$clipStyles.setAttribute("type","text/css"),t.$clipStyles.setAttribute("id","jarallax-clip-"+t.instanceID),(document.head||document.getElementsByTagName("head")[0]).appendChild(t.$clipStyles);var n="#jarallax-container-"+t.instanceID+" {\n           clip: rect(0 "+i+"px "+o+"px 0);\n           clip: rect(0, "+i+"px, "+o+"px, 0);\n        }";t.$clipStyles.styleSheet?t.$clipStyles.styleSheet.cssText=n:t.$clipStyles.innerHTML=n}}},{key:"coverImage",value:function(){var t=this,e=t.image.$container.getBoundingClientRect(),i=e.height,o=t.options.speed,n="scroll"===t.options.type||"scroll-opacity"===t.options.type,a=0,r=i,s=0;return n&&(a=o<0?o*Math.max(i,b):o*(i+b),1<o?r=Math.abs(a-b):o<0?r=a/o+Math.abs(a):r+=Math.abs(b-i)*(1-o),a/=2),t.parallaxScrollDistance=a,s=n?(b-r)/2:(i-r)/2,t.css(t.image.$item,{height:r+"px",marginTop:s+"px",left:"fixed"===t.image.position?e.left+"px":"0",width:e.width+"px"}),t.options.onCoverImage&&t.options.onCoverImage.call(t),{image:{height:r,marginTop:s},container:e}}},{key:"isVisible",value:function(){return this.isElementInViewport||!1}},{key:"onScroll",value:function(t){var e=this,i=e.$item.getBoundingClientRect(),o=i.top,n=i.height,a={},r=i;if(e.options.elementInViewport&&(r=e.options.elementInViewport.getBoundingClientRect()),e.isElementInViewport=0<=r.bottom&&0<=r.right&&r.top<=b&&r.left<=v,t||e.isElementInViewport){var s=Math.max(0,o),l=Math.max(0,n+o),c=Math.max(0,-o),d=Math.max(0,o+n-b),u=Math.max(0,n-(o+n-b)),h=Math.max(0,-o+b-n),f=1-2*(b-o)/(b+n),p=1;if(n<b?p=1-(c||d)/n:l<=b?p=l/b:u<=b&&(p=u/b),"opacity"!==e.options.type&&"scale-opacity"!==e.options.type&&"scroll-opacity"!==e.options.type||(a.transform="translate3d(0,
10,0)",a.opacity=p),"scale"===e.options.type||"scale-opacity"===e.options.type){var g=1;e.options.speed<0?g-=e.options.speed*p:g+=e.options.speed*(1-p),a.transform="scale("+g+") translate3d(0,0,0)"}if("scroll"===e.options.type||"scroll-opacity"===e.options.type){var m=e.parallaxScrollDistance*f;"absolute"===e.image.position&&(m-=o),a.transform="translate3d(0,"+m+"px,0)"}e.css(e.image.$item,a),e.options.onScroll&&e.options.onScroll.call(e,{section:i,beforeTop:s,beforeTopEnd:l,afterTop:c,beforeBottom:d,beforeBottomEnd:u,afterBottom:h,visiblePercent:p,fromViewportCenter:f})}}},{key:"onResize",value:function(){this.coverImage(),this.clipContainer()}}]),l}(),m=function(t){("object"===("undefined"==typeof HTMLElement?"undefined":c(HTMLElement))?t instanceof HTMLElement:t&&"object"===(void 0===t?"undefined":c(t))&&null!==t&&1===t.nodeType&&"string"==typeof t.nodeName)&&(t=[t]);for(var e=arguments[1],i=Array.prototype.slice.call(arguments,2),o=t.length,n=0,a=void 0;n<o;n++)if("object"===(void 0===e?"undefined":c(e))||void 0===e?t[n].jarallax||(t[n].jarallax=new g(t[n],e)):t[n].jarallax&&(a=t[n].jarallax[e].apply(t[n].jarallax,i)),void 0!==a)return a;return t};m.constructor=g;var y=window.jarallax;if(window.jarallax=m,window.jarallax.noConflict=function(){return window.jarallax=y,this},"undefined"!=typeof jQuery){var x=function(){var t=arguments||[];Array.prototype.unshift.call(t,this);var e=m.apply(window,t);return"object"!==(void 0===e?"undefined":c(e))?e:this};x.constructor=g;var w=jQuery.fn.jarallax;jQuery.fn.jarallax=x,jQuery.fn.jarallax.noConflict=function(){return jQuery.fn.jarallax=w,this}}i(window,"DOMContentLoaded",function(){m(document.querySelectorAll("[data-jarallax]"))})}(),function(){"use strict";var i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t=function(){function o(t,e){for(var i=0;i<e.length;i++){var o=e[i];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}return function(t,e,i){return e&&o(t.prototype,e),i&&o(t,i),t}}();function e(){this._done=[],this._fail=[]}function c(t,e,i){t.addEventListener(e,i)}e.prototype={execute:function(t,e){var i=t.length;for(e=Array.prototype.slice.call(e);i--;)t[i].apply(null,e)},resolve:function(){this.execute(this._done,arguments)},reject:function(){this.execute(this._fail,arguments)},done:function(t){this._done.push(t)},fail:function(t){this._fail.push(t)}};var n=0,a=0,r=0,s=0,l=0,d=new e,u=new e,h=function(){function o(t,e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,o);var i=this;i.url=t,i.options_default={autoplay:1,loop:1,mute:1,volume:0,controls:0,startTime:0,endTime:0},i.options=i.extend({},i.options_default,e),i.videoID=i.parseURL(t),i.videoID&&(i.ID=n++,i.loadAPI(),i.init())}return t(o,[{key:"extend",value:function(i){var o=arguments;return i=i||{},Object.keys(arguments).forEach(function(e){o[e]&&Object.keys(o[e]).forEach(function(t){i[t]=o[e][t]})}),i}},{key:"parseURL",value:function(t){var e,i,o,n,a,r=!(!(e=t.match(/.*(?:youtu.be\/|v\/|u\/\w\/|embed\/|watch\?v=)([^#\&\?]*).*/))||11!==e[1].length)&&e[1],s=!(!(i=t.match(/https?:\/\/(?:www\.|player\.)?vimeo.com\/(?:channels\/(?:\w+\/)?|groups\/([^\/]*)\/videos\/|album\/(\d+)\/video\/|video\/|)(\d+)(?:$|\/|\?)/))||!i[3])&&i[3],l=(o=t.split(/,(?=mp4\:|webm\:|ogv\:|ogg\:)/),n={},a=0,o.forEach(function(t){var e=t.match(/^(mp4|webm|ogv|ogg)\:(.*)/);e&&e[1]&&e[2]&&(n["ogv"===e[1]?"ogg":e[1]]=e[2],a=1)}),!!a&&n);return r?(this.type="youtube",r):s?(this.type="vimeo",s):!!l&&(this.type="local",l)}},{key:"isValid",value:function(){return!!this.videoID}},{key:"on",value:function(t,e){this.userEventsList=this.userEventsList||[],(this.userEventsList[t]||(this.userEventsList[t]=[])).push(e)}},{key:"off",value:function(i,o){var n=this;this.userEventsList&&this.userEventsList[i]&&(o?this.userEventsList[i].forEach(function(t,e){t===o&&(n.userEventsList[i][e]=!1)}):delete this.userEventsList[i])}},{key:"fire",value:function(t){var e=this,i=[].slice.call(arguments,1
1);this.userEventsList&&void 0!==this.userEventsList[t]&&this.userEventsList[t].forEach(function(t){t&&t.apply(e,i)})}},{key:"play",value:function(t){var e=this;e.player&&("youtube"===e.type&&e.player.playVideo&&(void 0!==t&&e.player.seekTo(t||0),YT.PlayerState.PLAYING!==e.player.getPlayerState()&&e.player.playVideo()),"vimeo"===e.type&&(void 0!==t&&e.player.setCurrentTime(t),e.player.getPaused().then(function(t){t&&e.player.play()})),"local"===e.type&&(void 0!==t&&(e.player.currentTime=t),e.player.paused&&e.player.play()))}},{key:"pause",value:function(){var e=this;e.player&&("youtube"===e.type&&e.player.pauseVideo&&YT.PlayerState.PLAYING===e.player.getPlayerState()&&e.player.pauseVideo(),"vimeo"===e.type&&e.player.getPaused().then(function(t){t||e.player.pause()}),"local"===e.type&&(e.player.paused||e.player.pause()))}},{key:"getImageURL",value:function(e){var i=this;if(i.videoImage)e(i.videoImage);else{if("youtube"===i.type){var t=["maxresdefault","sddefault","hqdefault","0"],o=0,n=new Image;n.onload=function(){120!==(this.naturalWidth||this.width)||o===t.length-1?(i.videoImage="https://img.youtube.com/vi/"+i.videoID+"/"+t[o]+".jpg",e(i.videoImage)):(o++,this.src="https://img.youtube.com/vi/"+i.videoID+"/"+t[o]+".jpg")},n.src="https://img.youtube.com/vi/"+i.videoID+"/"+t[o]+".jpg"}if("vimeo"===i.type){var a=new XMLHttpRequest;a.open("GET","https://vimeo.com/api/v2/video/"+i.videoID+".json",!0),a.onreadystatechange=function(){if(4===this.readyState&&200<=this.status&&this.status<400){var t=JSON.parse(this.responseText);i.videoImage=t[0].thumbnail_large,e(i.videoImage)}},a.send(),a=null}}}},{key:"getIframe",value:function(s){var l=this;l.$iframe?s(l.$iframe):l.onAPIready(function(){var t=void 0;if(l.$iframe||((t=document.createElement("div")).style.display="none"),"youtube"===l.type){l.playerOptions={},l.playerOptions.videoId=l.videoID,l.playerOptions.playerVars={autohide:1,rel:0,autoplay:0,playsinline:1},l.options.controls||(l.playerOptions.playerVars.iv_load_policy=3,l.playerOptions.playerVars.modestbranding=1,l.playerOptions.playerVars.controls=0,l.playerOptions.playerVars.showinfo=0,l.playerOptions.playerVars.disablekb=1);var e=void 0,i=void 0;l.playerOptions.events={onReady:function(t){l.options.mute?t.target.mute():l.options.volume&&t.target.setVolume(l.options.volume),l.options.autoplay&&l.play(l.options.startTime),l.fire("ready",t)},onStateChange:function(t){l.options.loop&&t.data===YT.PlayerState.ENDED&&l.play(l.options.startTime),e||t.data!==YT.PlayerState.PLAYING||(e=1,l.fire("started",t)),t.data===YT.PlayerState.PLAYING&&l.fire("play",t),t.data===YT.PlayerState.PAUSED&&l.fire("pause",t),t.data===YT.PlayerState.ENDED&&l.fire("end",t),l.options.endTime&&(t.data===YT.PlayerState.PLAYING?i=setInterval(function(){l.options.endTime&&l.player.getCurrentTime()>=l.options.endTime&&(l.options.loop?l.play(l.options.startTime):l.pause())},150):clearInterval(i))}};var o=!l.$iframe;if(o){var n=document.createElement("div");n.setAttribute("id",l.playerID),t.appendChild(n),document.body.appendChild(t)}l.player=l.player||new window.YT.Player(l.playerID,l.playerOptions),o&&(l.$iframe=document.getElementById(l.playerID),l.videoWidth=parseInt(l.$iframe.getAttribute("width"),10)||1280,l.videoHeight=parseInt(l.$iframe.getAttribute("height"),10)||720)}if("vimeo"===l.type){l.playerOptions="",l.playerOptions+="player_id="+l.playerID,l.playerOptions+="&autopause=0",l.playerOptions+="&transparent=0",l.options.controls||(l.playerOptions+="&badge=0&byline=0&portrait=0&title=0"),l.playerOptions+="&autoplay="+(l.options.autoplay?"1":"0"),l.playerOptions+="&loop="+(l.options.loop?1:0),l.$iframe||(l.$iframe=document.createElement("iframe"),l.$iframe.setAttribute("id",l.playerID),l.$iframe.setAttribute("src","https://player.vimeo.com/video/"+l.videoID+"?"+l.playerOptions),l.$iframe.setAttribute("frameborder","0"),t.appendChild(l.$iframe),document.body.appendChild(t)),l.player=l.player||new Vimeo.Player(l.$iframe),l.player.getVideoWidth().then(function(t){l.videoWidth=t||1280}),l.player.getVideoHeight().then(function(t){l.videoHeight=t||720}),l.options.startTime&&l.options.autoplay&&l.player.setCurrentTime(l.options.startTime),l.options.mute?l.player.setVolume(0):l.options.volume&&l.player.setVolume(l.options.volume);var a=void 0;l.player.on("timeupdate",function(t){a||l.fire("started",t),a=1,l.options.endTime&&l.options.endTime&&t.seconds>=l.options.endTime&&(l.options.loop?l.play(l.options.startTime):l.pause())}),l.player.on("play",function(t){l.fire("play",t),l.options.startTime&&0===t.seconds&&l.play(l.options.startTime)}),l.player.on("pause",function(t){l.fire("pause",t)}),l.player.on("ended",function(t){l.fire("end",t)}),l.player.on("loaded",function(t){l.fire("ready",t)})}if("local"===l.type){l.$iframe||(l.$iframe=document.createElement("video"),l.options.mute?l.$iframe.muted=!0:l.$iframe.volume&&(l.$iframe.volume=l.options.volume/100),l.options.loop&&(l.$iframe.loop=!0),l.$iframe.
1setAttribute("playsinline",""),l.$iframe.setAttribute("webkit-playsinline",""),l.$iframe.setAttribute("id",l.playerID),t.appendChild(l.$iframe),document.body.appendChild(t),Object.keys(l.videoID).forEach(function(t){var e,i,o,n;e=l.$iframe,i=l.videoID[t],o="video/"+t,(n=document.createElement("source")).src=i,n.type=o,e.appendChild(n)})),l.player=l.player||l.$iframe;var r=void 0;c(l.player,"playing",function(t){r||l.fire("started",t),r=1}),c(l.player,"timeupdate",function(){l.options.endTime&&l.options.endTime&&this.currentTime>=l.options.endTime&&(l.options.loop?l.play(l.options.startTime):l.pause())}),c(l.player,"play",function(t){l.fire("play",t)}),c(l.player,"pause",function(t){l.fire("pause",t)}),c(l.player,"ended",function(t){l.fire("end",t)}),c(l.player,"loadedmetadata",function(){l.videoWidth=this.videoWidth||1280,l.videoHeight=this.videoHeight||720,l.fire("ready"),l.options.autoplay&&l.play(l.options.startTime)})}s(l.$iframe)})}},{key:"init",value:function(){this.playerID="VideoWorker-"+this.ID}},{key:"loadAPI",value:function(){if(!a||!r){var t="";if("youtube"!==this.type||a||(a=1,t="https://www.youtube.com/iframe_api"),"vimeo"!==this.type||r||(r=1,t="https://player.vimeo.com/api/player.js"),t){var e=document.createElement("script"),i=document.getElementsByTagName("head")[0];e.src=t,i.appendChild(e),e=i=null}}}},{key:"onAPIready",value:function(t){if("youtube"===this.type&&("undefined"!=typeof YT&&0!==YT.loaded||s?"object"===("undefined"==typeof YT?"undefined":i(YT))&&1===YT.loaded?t():d.done(function(){t()}):(s=1,window.onYouTubeIframeAPIReady=function(){window.onYouTubeIframeAPIReady=null,d.resolve("done"),t()})),"vimeo"===this.type)if("undefined"!=typeof Vimeo||l)"undefined"!=typeof Vimeo?t():u.done(function(){t()});else{l=1;var e=setInterval(function(){"undefined"!=typeof Vimeo&&(clearInterval(e),u.resolve("done"),t())},20)}"local"===this.type&&t()}}]),o}();window.VideoWorker=h,function(){if("undefined"!=typeof jarallax){var t=jarallax.constructor,e=t.prototype.init;t.prototype.init=function(){var i=this;e.apply(i),i.video&&i.video.getIframe(function(t){var e=t.parentNode;i.css(t,{position:i.image.position,top:"0px",left:"0px",right:"0px",bottom:"0px",width:"100%",height:"100%",maxWidth:"none",maxHeight:"none",margin:0,zIndex:-1}),i.$video=t,i.image.$container.appendChild(t),e.parentNode.removeChild(e)})};var s=t.prototype.coverImage;t.prototype.coverImage=function(){var t=this,e=s.apply(t),i=t.image.$item.nodeName;if(e&&t.video&&("IFRAME"===i||"VIDEO"===i)){var o=e.image.height,n=o*t.image.width/t.image.height,a=(e.container.width-n)/2,r=e.image.marginTop;e.container.width>n&&(o=(n=e.container.width)*t.image.height/t.image.width,a=0,r+=(e.image.height-o)/2),"IFRAME"===i&&(o+=400,r-=200),t.css(t.$video,{width:n+"px",marginLeft:a+"px",height:o+"px",marginTop:r+"px"})}return e};var i=t.prototype.initImg;t.prototype.initImg=function(){var t=this,e=i.apply(t);return t.options.videoSrc||(t.options.videoSrc=t.$item.getAttribute("data-jarallax-video")||null),t.options.videoSrc?(t.defaultInitImgResult=e,!0):e};var o=t.prototype.canInitParallax;t.prototype.canInitParallax=function(){var i=this,t=o.apply(i);if(!i.options.videoSrc)return t;var e=new h(i.options.videoSrc,{startTime:i.options.videoStartTime||0,endTime:i.options.videoEndTime||0,mute:i.options.videoVolume?0:1,volume:i.options.videoVolume||0});if(e.isValid())if(t){if(e.on("ready",function(){if(i.options.videoPlayOnlyVisible){var t=i.onScroll;i.onScroll=function(){t.apply(i),i.isVisible()?e.play():e.pause()}}else e.play()}),e.on("started",function(){i.image.$default_item=i.image.$item,i.image.$item=i.$video,i.image.width=i.video.videoWidth||1280,i.image.height=i.video.videoHeight||720,i.options.imgWidth=i.image.width,i.options.imgHeight=i.image.height,i.coverImage(),i.clipContainer(),i.onScroll(),i.image.$default_item&&(i.image.$default_item.style.display="none")}),i.video=e,!i.defaultInitImgResult)return"local"!==e.type?(e.getImageURL(function(t){i.image.src=t,i.init()}),!1):(i.image.src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",!0)}else i.defaultInitImgResult||e.getImageURL(function(t){var e=i.$item.getAttribute("style");e&&i.$item.setAttribute("data-jarallax-original-styles",e),i.css(i.$item,{"background-image":'url("'+t+'")',"background-position":"center","background-size":"cover"})});return t};var n=t.prototype.destroy;t.prototype.destroy=function(){var t=this;t.image.$default_item&&(t.image.$item=t.image.$default_item,delete t.image.$default_item),n.apply(t)},c(window,"DOMContentLoaded",function(){jarallax(document.querySelectorAll("[data-jarallax-video]"))})}}()}();var _extends=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var i=arguments[e];for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(t[o]=i[o])}return t},_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};!function(t,e){"object"===("undefined"==typeof exports?"undefined":_typeof(exports))&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):t.LazyLoad=e()}(this,function(){"use strict";var s=function(t,e){return t.getAttribute("data-"+e)},n=function(t){return t.filter(function(t){return!s(t,"was-processed")})},a=function(t,e){var i,o="LazyLoad::Initialized",n=new t(e);try{i=new CustomEvent(o,{detail:{instance:n}})}catch(t){(i=document.createEvent("CustomEvent")).initCustomEvent(o,!1,!1,{instance:n})}window.dispatchEvent(i)},l=function(t,e){var i=e.data_src,o=e.data_srcset,n=t.tagName,a=s(t,i);if("IMG"===n){!function(t,e){var i=e.data_srcset,o=t.parentNode;if("PICTURE"===o.tagName)for(var n,a=0;n=o.children[a];a+=1)if("SOURCE"===n.tagName){var r=s(n,i);r&&n.setAttribute("srcset",r)}}(t,e);var r=s(t,o);return r&&t.setAttribute("srcset",r),void(a&&t.setAttribute("src",a))}"IFRAME"!==n?a&&(t.style.backgroundImage='url("'+a+'")'):a&&t.setAttribute("src",a)},t="undefined"!=typeof window,i=t&&"IntersectionObserver"in window,r=t&&"classList"in document.createElement("p"),c=function(t,e){r?t.classList.add(e):t.className+=(t.className?" ":"")+e},d=function(t,e){t&&t(e)}
1,u=function(t,e,i){t.removeEventListener("load",e),t.removeEventListener("error",i)},h=function(t,e,i){var o,n,a=t.target;o=a,n=i.class_loading,r?o.classList.remove(n):o.className=o.className.replace(new RegExp("(^|\\s+)"+n+"(\\s+|$)")," ").replace(/^\s+/,"").replace(/\s+$/,""),c(a,e?i.class_loaded:i.class_error),d(e?i.callback_load:i.callback_error,a)},f=function(t,e){var i,o,n,a,r,s;d(e.callback_enter,t),-1<["IMG","IFRAME"].indexOf(t.tagName)&&(o=e,n=function t(e){h(e,!0,o),u(i,t,a)},a=function t(e){h(e,!1,o),u(i,n,t)},(i=t).addEventListener("load",n),i.addEventListener("error",a),c(t,e.class_loading)),l(t,e),r="was-processed",s=!0,t.setAttribute("data-"+r,s),d(e.callback_set,t)},e=function(t,e){var i;this._settings=(i={elements_selector:"img",container:document,threshold:300,data_src:"src",data_srcset:"srcset",class_loading:"loading",class_loaded:"loaded",class_error:"error",callback_load:null,callback_error:null,callback_set:null,callback_enter:null},_extends({},i,t)),this._setObserver(),this.update(e)};e.prototype={_setObserver:function(){var o=this;if(i){var t=this._settings,e={root:t.container===document?null:t.container,rootMargin:t.threshold+"px"};this._observer=new IntersectionObserver(function(t){t.forEach(function(t){if((i=t).isIntersecting||0<i.intersectionRatio){var e=t.target;f(e,o._settings),o._observer.unobserve(e)}var i}),o._elements=n(o._elements)},e)}},update:function(t){var e=this,i=this._settings,o=t||i.container.querySelectorAll(i.elements_selector);this._elements=n(Array.prototype.slice.call(o)),this._observer?this._elements.forEach(function(t){e._observer.observe(t)}):(this._elements.forEach(function(t){f(t,i)}),this._elements=n(this._elements))},destroy:function(){var e=this;this._observer&&(n(this._elements).forEach(function(t){e._observer.unobserve(t)}),this._observer=null),this._elements=null,this._settings=null}};var o=window.lazyLoadOptions;return t&&o&&function(t,e){if(e.length)for(var i,o=0;i=e[o];o+=1)a(t,i);else a(t,e)}(e,o),e}),function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.AOS=e():t.AOS=e()}(this,function(){return function(i){function o(t){if(n[t])return n[t].exports;var e=n[t]={exports:{},id:t,loaded:!1};return i[t].call(e.exports,e,e.exports,o),e.loaded=!0,e.exports}var n={};return o.m=i,o.c=n,o.p="dist/",o(0)}([function(t,e,i){"use strict";function o(t){return t&&t.__esModule?t:{default:t}}var n=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var i=arguments[e];for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(t[o]=i[o])}return t},a=o((o(i(1)),i(6))),r=o(i(7)),s=o(i(8)),l=o(i(9)),c=o(i(10)),d=o(i(11)),u=o(i(14)),h=[],f=!1,p=document.all&&!window.atob,g={offset:120,delay:0,easing:"ease",duration:400,disable:!1,once:!1,startEvent:"DOMContentLoaded"},m=function(){if(0<arguments.length&&void 0!==arguments[0]&&arguments[0]&&(f=!0),f)return h=(0,d.default)(h,g),(0,c.default)(h,g.once),h},v=function(){h=(0,u.default)(),m()};t.exports={init:function(t){return g=n(g,t),h=(0,u.default)(),!0===(e=g.disable)||"mobile"===e&&l.default.mobile()||"phone"===e&&l.default.phone()||"tablet"===e&&l.default.tablet()||"function"==typeof e&&!0===e()||p?void h.forEach(function(t,e){t.node.removeAttribute("data-aos"),t.node.removeAttribute("data-aos-easing"),t.node.removeAttribute("data-aos-duration"),t.node.removeAttribute("data-aos-delay")}):(document.querySelector("body").setAttribute("data-aos-easing",g.easing),document.querySelector("body").setAttribute("data-aos-duration",g.duration),document.querySelector("body").setAttribute("data-aos-delay",g.delay),"DOMContentLoaded"===g.startEvent&&-1<["complete","interactive"].indexOf(document.readyState)?m(!0):"load"===g.startEvent?window.addEventListener(g.startEvent,function(){m(!0)}):document.addEventListener(g.startEvent,function(){m(!0)}),window.addEventListener("resize",(0,r.default)(m,50,!0)),window.addEventListener("orientationchange",(0,r.default)(m,50,!0)),window.addEventListener("scroll",(0,a.default)(function(){(0,c.default)(h,g.once)},99)),document.addEventListener("DOMNodeRemoved",function(t){var e=t.target;e&&1===e.nodeType&&e.hasAttribute&&e.hasAttribute("data-aos")&&(0,r.default)(v,50,!0)}),(0,s.default)("[data-aos]",v),h);var e},refresh:m,refreshHard:v}},function(t,e){},,,,,function(g,t){(function(t){"use strict";function a(o,n,t){function a(t){var e=c,i=d;return c=d=void 0,g=t,h=o.apply(i,e)}function r(t){var e=t-p;return void 0===p||n<=e||e<0||v&&u<=t-g}function s(){var t,e,i=S();return r(i)?l(i):void(f=setTimeout(s,(e=n-((t=i)-p),v?k(e,u-(t-g)):e)))}function l(t){return f=void 0,i&&c?a(t):(c=d=void 0,h)}function e(){var t,e=S(),i=r(e);
1if(c=arguments,d=this,p=e,i){if(void 0===f)return g=t=p,f=setTimeout(s,n),m?a(t):h;if(v)return f=setTimeout(s,n),a(p)}return void 0===f&&(f=setTimeout(s,n)),h}var c,d,u,h,f,p,g=0,m=!1,v=!1,i=!0;if("function"!=typeof o)throw new TypeError(x);return n=y(n)||0,b(t)&&(m=!!t.leading,u=(v="maxWait"in t)?w(y(t.maxWait)||0,n):u,i="trailing"in t?!!t.trailing:i),e.cancel=function(){void 0!==f&&clearTimeout(f),c=p=d=f=void(g=0)},e.flush=function(){return void 0===f?h:l(S())},e}function b(t){var e=void 0===t?"undefined":i(t);return!!t&&("object"==e||"function"==e)}function o(t){return"symbol"==(void 0===t?"undefined":i(t))||!!(e=t)&&"object"==(void 0===e?"undefined":i(e))&&p.call(t)==r;var e}function y(t){if("number"==typeof t)return t;if(o(t))return n;if(b(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=b(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(s,"");var i=c.test(t);return i||d.test(t)?u(t.slice(2),i?2:8):l.test(t)?n:+t}var i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},x="Expected a function",n=NaN,r="[object Symbol]",s=/^\s+|\s+$/g,l=/^[-+]0x[0-9a-f]+$/i,c=/^0b[01]+$/i,d=/^0o[0-7]+$/i,u=parseInt,e="object"==(void 0===t?"undefined":i(t))&&t&&t.Object===Object&&t,h="object"==("undefined"==typeof self?"undefined":i(self))&&self&&self.Object===Object&&self,f=e||h||Function("return this")(),p=Object.prototype.toString,w=Math.max,k=Math.min,S=function(){return f.Date.now()};g.exports=function(t,e,i){var o=!0,n=!0;if("function"!=typeof t)throw new TypeError(x);return b(i)&&(o="leading"in i?!!i.leading:o,n="trailing"in i?!!i.trailing:n),a(t,e,{leading:o,maxWait:e,trailing:n})}}).call(t,function(){return this}())},function(p,t){(function(t){"use strict";function b(t){var e=void 0===t?"undefined":i(t);return!!t&&("object"==e||"function"==e)}function o(t){return"symbol"==(void 0===t?"undefined":i(t))||!!(e=t)&&"object"==(void 0===e?"undefined":i(e))&&f.call(t)==a;var e}function y(t){if("number"==typeof t)return t;if(o(t))return n;if(b(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=b(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(r,"");var i=l.test(t);return i||c.test(t)?d(t.slice(2),i?2:8):s.test(t)?n:+t}var i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},x="Expected a function",n=NaN,a="[object Symbol]",r=/^\s+|\s+$/g,s=/^[-+]0x[0-9a-f]+$/i,l=/^0b[01]+$/i,c=/^0o[0-7]+$/i,d=parseInt,e="object"==(void 0===t?"undefined":i(t))&&t&&t.Object===Object&&t,u="object"==("undefined"==typeof self?"undefined":i(self))&&self&&self.Object===Object&&self,h=e||u||Function("return this")(),f=Object.prototype.toString,w=Math.max,k=Math.min,S=function(){return h.Date.now()};p.exports=function(o,n,t){function a(t){var e=c,i=d;return c=d=void 0,g=t,h=o.apply(i,e)}function r(t){var e=t-p;return void 0===p||n<=e||e<0||v&&u<=t-g}function s(){var t,e,i=S();return r(i)?l(i):void(f=setTimeout(s,(e=n-((t=i)-p),v?k(e,u-(t-g)):e)))}function l(t){return f=void 0,i&&c?a(t):(c=d=void 0,h)}function e(){var t,e=S(),i=r(e);if(c=arguments,d=this,p=e,i){if(void 0===f)return g=t=p,f=setTimeout(s,n),m?a(t):h;if(v)return f=setTimeout(s,n),a(p)}return void 0===f&&(f=setTimeout(s,n)),h}var c,d,u,h,f,p,g=0,m=!1,v=!1,i=!0;if("function"!=typeof o)throw new TypeError(x);return n=y(n)||0,b(t)&&(m=!!t.leading,u=(v="maxWait"in t)?w(y(t.maxWait)||0,n):u,i="trailing"in t?!!t.trailing:i),e.cancel=function(){void 0!==f&&clearTimeout(f),c=p=d=f=void(g=0)},e.flush=function(){return void 0===f?h:l(S())},e}}).call(t,function(){return this}())},function(t,e){"use strict";function i(){for(var t,e,i=0,o=l.length;i<o;i++){t=l[i];for(var n,a=0,r=(e=s.querySelectorAll(t.selector)).length;a<r;a++)(n=e[a]).ready||(n.ready=!0,t.fn.call(n,n))}}Object.defineProperty(e,"__esModule",{value:!0});var s=window.document,o=window.MutationObserver||window.WebKitMutationObserver,l=[],n=void 0;e.default=function(t,e){l.push({selector:t,fn:e}),!n&&o&&(n=new o(i)).observe(s.documentElement,{childList:!0,subtree:!0,removedNodes:!0}),i()}},function(t,e){"use strict";function i(){return navigator.userAgent||navigator.vendor||window.opera||""}
1Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function o(t,e){for(var i=0;i<e.length;i++){var o=e[i];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}return function(t,e,i){return e&&o(t.prototype,e),i&&o(t,i),t}}(),n=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i,a=/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i,r=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i,s=/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i,l=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)}return o(t,[{key:"phone",value:function(){var t=i();return!(!n.test(t)&&!a.test(t.substr(0,4)))}},{key:"mobile",value:function(){var t=i();return!(!r.test(t)&&!s.test(t.substr(0,4)))}},{key:"tablet",value:function(){return this.mobile()&&!this.phone()}}]),t}();e.default=new l},function(t,e){"use strict";
1Object.defineProperty(e,"__esModule",{value:!0});e.default=function(t,r){var s=window.pageYOffset,l=window.innerHeight;t.forEach(function(t,e){var i,o,n,a;o=l+s,n=r,a=(i=t).node.getAttribute("data-aos-once"),o>i.position?i.node.classList.add("aos-animate"):void 0!==a&&("false"===a||!n&&"true"!==a)&&i.node.classList.remove("aos-animate")})}},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o,n=i(12),a=(o=n)&&o.__esModule?o:{default:o};e.default=function(t,i){return t.forEach(function(t,e){t.node.classList.add("aos-init"),t.position=(0,a.default)(t.node,i.offset)}),t}},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o,n=i(13),r=(o=n)&&o.__esModule?o:{default:o};e.default=function(t,e){var i=0,o=0,n=window.innerHeight,a={offset:t.getAttribute("data-aos-offset"),anchor:t.getAttribute("data-aos-anchor"),anchorPlacement:t.getAttribute("data-aos-anchor-placement")};switch(a.offset&&!isNaN(a.offset)&&(o=parseInt(a.offset)),a.anchor&&document.querySelectorAll(a.anchor)&&(t=document.querySelectorAll(a.anchor)[0]),i=(0,r.default)(t).top,a.anchorPlacement){case"top-bottom":break;case"center-bottom":i+=t.offsetHeight/2;break;case"bottom-bottom":i+=t.offsetHeight;break;case"top-center":i+=n/2;break;case"bottom-center":i+=n/2+t.offsetHeight;break;case"center-center":i+=n/2+t.offsetHeight/2;break;case"top-top":i+=n;break;case"bottom-top":i+=t.offsetHeight+n;break;case"center-top":i+=t.offsetHeight/2+n}return a.anchorPlacement||a.offset||isNaN(e)||(o=e),i+o}},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default=function(t){for(var e=0,i=0;t&&!isNaN(t.offsetLeft)&&!isNaN(t.offsetTop);)e+=t.offsetLeft-("BODY"!=t.tagName?t.scrollLeft:0),i+=t.offsetTop-("BODY"!=t.tagName?t.scrollTop:0),t=t.offsetParent;return{top:i,left:e}}},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default=function(t){t=t||document.querySelectorAll("[data-aos]");var i=[];return[].forEach.call(t,function(t,e){i.push({node:t})}),i}}])}),function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery"],t):"undefined"!=typeof exports?module.exports=t(require("jquery")):t(jQuery)}(function(c){"use strict";var n,r=window.Slick||{};n=0,(r=function(t,e){var i,o=this;o.defaults={accessibility:!0,adaptiveHeight:!1,appendArrows:c(t),appendDots:c(t),arrows:!0,asNavFor:null,prevArrow:'<button class="slick-prev" aria-label="Previous" type="button">Previous</button>',nextArrow:'<button class="slick-next" aria-label="Next" type="button">Next</button>',autoplay:!1,autoplaySpeed:3e3,centerMode:!1,centerPadding:"50px",cssEase:"ease",customPaging:function(t,e){return c('<button type="button" />').text(e+1)},dots:!1,dotsClass:"slick-dots",draggable:!0,easing:"linear",edgeFriction:.35,fade:!1,focusOnSelect:!1,focusOnChange:!1,infinite:!0,initialSlide:0,lazyLoad:"ondemand",mobileFirst:!1,pauseOnHover:!0,pauseOnFocus:!0,pauseOnDotsHover:!1,respondTo:"window",responsive:null,rows:1,rtl:!1,slide:"",slidesPerRow:1,slidesToShow:1,slidesToScroll:1,speed:500,swipe:!0,swipeToSlide:!1,touchMove:!0,touchThreshold:5,useCSS:!0,useTransform:!0,variableWidth:!1,vertical:!1,verticalSwiping:!1,waitForAnimate:!0,zIndex:1e3},o.initials={animating:!1,dragging:!1,autoPlayTimer:null,currentDirection:0,currentLeft:null,currentSlide:0,direction:1,$dots:null,listWidth:null,listHeight:null,loadIndex:0,$nextArrow:null,$prevArrow:null,scrolling:!1,slideCount:null,slideWidth:null,$slideTrack:null,$slides:null,sliding:!1,slideOffset:0,swipeLeft:null,swiping:!1,$list:null,touchObject:{},transformsEnabled:!1,unslicked:!1},c.extend(o,o.initials),o.activeBreakpoint=null,o.animType=null,o.animProp=null,o.breakpoints=[],o.breakpointSettings=[],o.cssTransitions=!1,o.focussed=!1,o.interrupted=!1,o.hidden="hidden",o.paused=!0,o.positionProp=null,o.respondTo=null,o.rowCount=1,o.shouldClick=!0,o.$slider=c(t),o.$slidesCache=null,o.transformType=null,o.transitionType=null,o.visibilityChange="visibilitychange",o.windowWidth=0,o.windowTimer=null,i=c(t).data("slick")||{},o.options=c.extend({},o.defaults,e,i),o.currentSlide=o.options.initialSlide,o.originalSettings=o.options,void 0!==document.mozHidden?(o.hidden="mozHidden",o.visibilityChange="mozvisibilitychange"):void 0!==document.webkitHidden&&(o.hidden="webkitHidden",o.visibilityChange="webkitvisibilitychange"),o.autoPlay=c.proxy(o.autoPlay,o),o.autoPlayClear=c.proxy(o.autoPlayClear,o),o.autoPlayIterator=c.proxy(o.autoPlayIterator,o),o.changeSlide=c.proxy(o.changeSlide,o),o.clickHandler=c.proxy(o.clickHandler,o),o.selectHandler=c.proxy(o.selectHandler,o),o.setPosition=c.proxy(o.setPosition,o),o.swipeHandler=c.proxy(o.swipeHandler,o),o.dragHandler=c.proxy(o.dragHandler,o),o.keyHandler=c.proxy(o.keyHandler,o),o.instanceUid=n++,o.htmlExpr=/^(?:\s*(<[\w\W]+>)[^>]*)$/,o.registerBreakpoints(),o.init(!0)}).prototype.activateADA=function(){this.$slideTrack.find(".slick-active").attr({"aria-hidden":"false"}).find("a, input, button, select").attr({tabindex:"0"})}
vendor: 11,927 bytes, line 1
1,r.prototype.addSlide=r.prototype.slickAdd=function(t,e,i){var o=this;if("boolean"==typeof e)i=e,e=null;else if(e<0||e>=o.slideCount)return!1;o.unload(),"number"==typeof e?0===e&&0===o.$slides.length?c(t).appendTo(o.$slideTrack):i?c(t).insertBefore(o.$slides.eq(e)):c(t).insertAfter(o.$slides.eq(e)):!0===i?c(t).prependTo(o.$slideTrack):c(t).appendTo(o.$slideTrack),o.$slides=o.$slideTrack.children(this.options.slide),o.$slideTrack.children(this.options.slide).detach(),o.$slideTrack.append(o.$slides),o.$slides.each(function(t,e){c(e).attr("data-slick-index",t)}),o.$slidesCache=o.$slides,o.reinit()},r.prototype.animateHeight=function(){var t=this;if(1===t.options.slidesToShow&&!0===t.options.adaptiveHeight&&!1===t.options.vertical){var e=t.$slides.eq(t.currentSlide).outerHeight(!0);t.$list.animate({height:e},t.options.speed)}},r.prototype.animateSlide=function(t,e){var i={},o=this;o.animateHeight(),!0===o.options.rtl&&!1===o.options.vertical&&(t=-t),!1===o.transformsEnabled?!1===o.options.vertical?o.$slideTrack.animate({left:t},o.options.speed,o.options.easing,e):o.$slideTrack.animate({top:t},o.options.speed,o.options.easing,e):!1===o.cssTransitions?(!0===o.options.rtl&&(o.currentLeft=-o.currentLeft),c({animStart:o.currentLeft}).animate({animStart:t},{duration:o.options.speed,easing:o.options.easing,step:function(t){t=Math.ceil(t),!1===o.options.vertical?i[o.animType]="translate("+t+"px, 0px)":i[o.animType]="translate(0px,"+t+"px)",o.$slideTrack.css(i)},complete:function(){e&&e.call()}})):(o.applyTransition(),t=Math.ceil(t),!1===o.options.vertical?i[o.animType]="translate3d("+t+"px, 0px, 0px)":i[o.animType]="translate3d(0px,"+t+"px, 0px)",o.$slideTrack.css(i),e&&setTimeout(function(){o.disableTransition(),e.call()},o.options.speed))},r.prototype.getNavTarget=function(){var t=this.options.asNavFor;return t&&null!==t&&(t=c(t).not(this.$slider)),t},r.prototype.asNavFor=function(e){var t=this.getNavTarget();null!==t&&"object"==typeof t&&t.each(function(){var t=c(this).slick("getSlick");t.unslicked||t.slideHandler(e,!0)})},r.prototype.applyTransition=function(t){var e=this,i={};!1===e.options.fade?i[e.transitionType]=e.transformType+" "+e.options.speed+"ms "+e.options.cssEase:i[e.transitionType]="opacity "+e.options.speed+"ms "+e.options.cssEase,!1===e.options.fade?e.$slideTrack.css(i):e.$slides.eq(t).css(i)},r.prototype.autoPlay=function(){var t=this;t.autoPlayClear(),t.slideCount>t.options.slidesToShow&&(t.autoPlayTimer=setInterval(t.autoPlayIterator,t.options.autoplaySpeed))},r.prototype.autoPlayClear=function(){this.autoPlayTimer&&clearInterval(this.autoPlayTimer)},r.prototype.autoPlayIterator=function(){var t=this,e=t.currentSlide+t.options.slidesToScroll;t.paused||t.interrupted||t.focussed||(!1===t.options.infinite&&(1===t.direction&&t.currentSlide+1===t.slideCount-1?t.direction=0:0===t.direction&&(e=t.currentSlide-t.options.slidesToScroll,t.currentSlide-1==0&&(t.direction=1))),t.slideHandler(e))},r.prototype.buildArrows=function(){var t=this;!0===t.options.arrows&&(t.$prevArrow=c(t.options.prevArrow).addClass("slick-arrow"),t.$nextArrow=c(t.options.nextArrow).addClass("slick-arrow"),t.slideCount>t.options.slidesToShow?(t.$prevArrow.removeClass("slick-hidden").removeAttr("aria-hidden tabindex"),t.$nextArrow.removeClass("slick-hidden").removeAttr("aria-hidden tabindex"),t.htmlExpr.test(t.options.prevArrow)&&t.$prevArrow.prependTo(t.options.appendArrows),t.htmlExpr.test(t.options.nextArrow)&&t.$nextArrow.appendTo(t.options.appendArrows),!0!==t.options.infinite&&t.$prevArrow.addClass("slick-disabled").attr("aria-disabled","true")):t.$prevArrow.add(t.$nextArrow).addClass("slick-hidden").attr({"aria-disabled":"true",tabindex:"-1"}))},r.prototype.buildDots=function(){var t,e,i=this;if(!0===i.options.dots&&i.slideCount>i.options.slidesToShow){for(i.$slider.addClass("slick-dotted"),e=c("<ul />").addClass(i.options.dotsClass),t=0;t<=i.getDotCount();t+=1)e.append(c("<li />").append(i.options.customPaging.call(this,i,t)));i.$dots=e.appendTo(i.options.appendDots),i.$dots.find("li").first().addClass("slick-active")}},r.prototype.buildOut=function(){var t=this;t.$slides=t.$slider.children(t.options.slide+":not(.slick-cloned)").addClass("slick-slide"),t.slideCount=t.$slides.length,t.$slides.each(function(t,e){c(e).attr("data-slick-index",t).data("originalStyling",c(e).attr("style")||"")}),t.$slider.addClass("slick-slider"),t.$slideTrack=0===t.slideCount?c('<div class="slick-track"/>').appendTo(t.$slider):t.$slides.wrapAll('<div class="slick-track"/>').parent(),t.$list=t.$slideTrack.wrap('<div class="slick-list"/>').parent(),t.$slideTrack.css("opacity",0),!0!==t.options.centerMode&&!0!==t.options.swipeToSlide||(t.options.slidesToScroll=1),c("img[data-lazy]",t.$slider).not("[src]").addClass("slick-loading"),t.setupInfinite(),t.buildArrows(),t.buildDots(),t.updateDots(),t.setSlideClasses("number"==typeof t.currentSlide?t.currentSlide:0),!0===t.options.draggable&&t.$list.addClass("draggable")},r.prototype.buildRows=function(){var t,e,i,o,n,a,r,s=this;if(o=document.createDocumentFragment(),a=s.$slider.children(),0<s.options.rows){for(r=s.options.slidesPerRow*s.options.rows,n=Math.ceil(a.length/r),t=0;t<n;t++){var l=document.createElement("div");for(e=0;e<s.options.rows;e++){var c=document.createElement("div");for(i=0;i<s.options.slidesPerRow;i++){var d=t*r+(e*s.options.slidesPerRow+i);a.get(d)&&c.appendChild(a.get(d))}l.appendChild(c)}o.appendChild(l)}s.$slider.empty().append(o),s.$slider.children().children().children().css({width:100/s.options.slidesPerRow+"%",display:"inline-block"})}},r.prototype.checkResponsive=function(t,e){var i,o,n,a=this,r=!1,s=a.$slider.width(),l=window.innerWidth||c(window).width();if("window"===a.respondTo?n=l:"slider"===a.respondTo?n=s:"min"===a.respondTo&&(n=Math.min(l,s)),a.options.responsive&&a.options.responsive.length&&null!==a.options.responsive){for(i in o=null,a.breakpoints)a.breakpoints.hasOwnProperty(i)&&(!1===a.originalSettings.mobileFirst?n<a.breakpoints[i]&&(o=a.breakpoints[i]):n>a.breakpoints[i]&&(o=a.breakpoints[i]));null!==o?null!==a.activeBreakpoint?(o!==a.activeBreakpoint||e)&&(a.activeBreakpoint=o,"unslick"===a.breakpointSettings[o]?a.unslick(o):(a.options=c.extend({},a.originalSettings,a.breakpointSettings[o]),!0===t&&(a.currentSlide=a.options.initialSlide),a.refresh(t)),r=o):(a.activeBreakpoint=o,"unslick"===a.breakpointSettings[o]?a.unslick(o):(a.options=c.extend({},a.originalSettings,a.breakpointSettings[o]),!0===t&&(a.currentSlide=a.options.initialSlide),a.refresh(t)),r=o):null!==a.activeBreakpoint&&(a.activeBreakpoint=null,a.options=a.originalSettings,!0===t&&(a.currentSlide=a.options.initialSlide),a.refresh(t),r=o),t||!1===r||a.$slider.trigger("breakpoint",[a,r])}},r.prototype.changeSlide=function(t,e){var i,o,n=this,a=c(t.currentTarget);switch(a.is("a")&&t.preventDefault(),a.is("li")||(a=a.closest("li")),i=n.slideCount%n.options.slidesToScroll!=0?0:(n.slideCount-n.currentSlide)%n.options.slidesToScroll,t.data.message){case"previous":o=0===i?n.options.slidesToScroll:n.options.slidesToShow-i,n.slideCount>n.options.slidesToShow&&n.slideHandler(n.currentSlide-o,!1,e);break;case"next":o=0===i?n.options.slidesToScroll:i,n.slideCount>n.options.slidesToShow&&n.slideHandler(n.currentSlide+o,!1,e);break;case"index":var r=0===t.data.index?0:t.data.index||a.index()*n.options.slidesToScroll;n.slideHandler(n.checkNavigable(r),!1,e),a.children().trigger("focus");break;default:return}},r.prototype.checkNavigable=function(t){var e,i;if(i=0,t>(e=this.getNavigableIndexes())[e.length-1])t=e[e.length-1];else for(var o in e){if(t<e[o]){t=i;break}i=e[o]}return t},r.prototype.cleanUpEvents=function(){var t=this;t.options.dots&&null!==t.$dots&&(c("li",t.$dots).off("click.slick",t.changeSlide).off("mouseenter.slick",c.proxy(t.interrupt,t,!0)).off("mouseleave.slick",c.proxy(t.interrupt,t,!1)),!0===t.options.accessibility&&t.$dots.off("keydown.slick",t.keyHandler)),t.$slider.off("focus.slick blur.slick"),!0===t.options.arrows&&t.slideCount>t.options.slidesToShow&&(t.$prevArrow&&t.$prevArrow.off("click.slick",t.changeSlide),t.$nextArrow&&t.$nextArrow.off("click.slick",t.changeSlide),!0===t.options.accessibility&&(t.$prevArrow&&t.$prevArrow.off("keydown.slick",t.keyHandler),t.$nextArrow&&t.$nextArrow.off("keydown.slick",t.keyHandler))),t.$list.off("touchstart.slick mousedown.slick",t.swipeHandler),t.$list.off("touchmove.slick mousemove.slick",t.swipeHandler),t.$list.off("touchend.slick mouseup.slick",t.swipeHandler),t.$list.off("touchcancel.slick mouseleave.slick",t.swipeHandler),t.$list.off("click.slick",t.clickHandler),c(document).off(t.visibilityChange,t.visibility),t.cleanUpSlideEvents(),!0===t.options.accessibility&&t.$list.off("keydown.slick",t.keyHandler),!0===t.options.focusOnSelect&&c(t.$slideTrack).children().off("click.slick",t.selectHandler),c(window).off("orientationchange.slick.slick-"+t.instanceUid,t.orientationChange),c(window).off("resize.slick.slick-"+t.instanceUid,t.resize),c("[draggable!=true]",t.$slideTrack).off("dragstart",t.preventDefault),c(window).off("load.slick.slick-"+t.instanceUid,t.setPosition)},r.prototype.cleanUpSlideEvents=function(){var t=this;t.$list.off("mouseenter.slick",c.proxy(t.interrupt,t,!0)),t.$list.off("mouseleave.slick",c.proxy(t.interrupt,t,!1))},r.prototype.cleanUpRows=function(){var t;0<this.options.rows&&((t=this.$slides.children().children()).removeAttr("style"),this.$slider.empty().append(t))},r.prototype.clickHandler=function(t){!1===this.shouldClick&&(t.stopImmediatePropagation(),t.stopPropagation(),t.preventDefault())},r.prototype.destroy=function(t){var e=this;e.autoPlayClear(),e.touchObject={},e.cleanUpEvents(),c(".slick-cloned",e.$slider).detach(),e.$dots&&e.$dots.remove(),e.$prevArrow&&e.$prevArrow.length&&(e.$prevArrow.removeClass("slick-disabled slick-arrow slick-hidden").removeAttr("aria-hidden aria-disabled tabindex").css("display",""),e.htmlExpr.test(e.options.prevArrow)&&e.$prevArrow.remove()),e.$nextArrow&&e.$nextArrow.length&&(e.$nextArrow.removeClass("slick-disabled slick-arrow slick-hidden").removeAttr("aria-hidden aria-disabled tabindex").css("display",""),e.htmlExpr.test(e.options.nextArrow)&&e.$nextArrow.remove()),e.$slides&&(e.$slides.removeClass("slick-slide slick-active slick-center slick-visible slick-current").removeAttr("aria-hidden").removeAttr("data-slick-index").each(function(){c(this).attr("style",c(this).data("originalStyling"))}),e.$slideTrack.children(this.options.slide).detach(),e.$slideTrack.detach(),e.$list.detach(),e.$slider.append(e.$slides)),e.cleanUpRows(),e.$slider.removeClass("slick-slider"),e.$slider.removeClass("slick-initialized"),e.$slider.removeClass("slick-dotted"),e.unslicked=!0,t||e.$slider.trigger("destroy",[e])},r.prototype.disableTransition=function(t){var e={};e[this.transitionType]="",!1===this.options.fade?this.$slideTrack.css(e):this.$slides.eq(t).css(e)},r.prototype.fadeSlide=function(t,e){var i=this;!1===i.cssTransitions?(i.$slides.eq(t).css({zIndex:i.options.zIndex}),i.$slides.eq(t).animate({opacity:1},i.options.speed,i.options.easing,e)):(i.applyTransition(t),i.$slides.eq(t).css({opacity:1,zIndex:i.options.zIndex}),e&&setTimeout(function(){i.disableTransition(t),e.call()},i.options.speed))},r.prototype.fadeSlideOut=function(t){var e=this;!1===e.cssTransitions?e.$slides.eq(t).animate({opacity:0,zIndex:e.options.zIndex-2},e.options.speed,e.options.easing):(e.applyTransition(t),e.$slides.eq(t).css({opacity:0,zIndex:e.options.zIndex-2}))},r.prototype.filterSlides=r.prototype.slickFilter=function(t){var e=this;null!==t&&(e.$slidesCache=e.$slides,e.unload(),e.$slideTrack.children(this.options.slide).detach(),e.$slidesCache.filter(t).appendTo(e.$slideTrack),e.reinit())},r.prototype.focusHandler=function(){var i=this;i.$slider.off("focus.slick blur.slick").on("focus.slick","*",function(t){var e=c(this);setTimeout(function(){i.options.pauseOnFocus&&e.is(":focus")&&(i.focussed=!0,i.autoPlay())}
1,0)}).on("blur.slick","*",function(t){c(this);i.options.pauseOnFocus&&(i.focussed=!1,i.autoPlay())})},r.prototype.getCurrent=r.prototype.slickCurrentSlide=function(){return this.currentSlide},r.prototype.getDotCount=function(){var t=this,e=0,i=0,o=0;if(!0===t.options.infinite)if(t.slideCount<=t.options.slidesToShow)++o;else for(;e<t.slideCount;)++o,e=i+t.options.slidesToScroll,i+=t.options.slidesToScroll<=t.options.slidesToShow?t.options.slidesToScroll:t.options.slidesToShow;else if(!0===t.options.centerMode)o=t.slideCount;else if(t.options.asNavFor)for(;e<t.slideCount;)++o,e=i+t.options.slidesToScroll,i+=t.options.slidesToScroll<=t.options.slidesToShow?t.options.slidesToScroll:t.options.slidesToShow;else o=1+Math.ceil((t.slideCount-t.options.slidesToShow)/t.options.slidesToScroll);return o-1},r.prototype.getLeft=function(t){var e,i,o,n,a=this,r=0;return a.slideOffset=0,i=a.$slides.first().outerHeight(!0),!0===a.options.infinite?(a.slideCount>a.options.slidesToShow&&(a.slideOffset=a.slideWidth*a.options.slidesToShow*-1,n=-1,!0===a.options.vertical&&!0===a.options.centerMode&&(2===a.options.slidesToShow?n=-1.5:1===a.options.slidesToShow&&(n=-2)),r=i*a.options.slidesToShow*n),a.slideCount%a.options.slidesToScroll!=0&&t+a.options.slidesToScroll>a.slideCount&&a.slideCount>a.options.slidesToShow&&(t>a.slideCount?(a.slideOffset=(a.options.slidesToShow-(t-a.slideCount))*a.slideWidth*-1,r=(a.options.slidesToShow-(t-a.slideCount))*i*-1):(a.slideOffset=a.slideCount%a.options.slidesToScroll*a.slideWidth*-1,r=a.slideCount%a.options.slidesToScroll*i*-1))):t+a.options.slidesToShow>a.slideCount&&(a.slideOffset=(t+a.options.slidesToShow-a.slideCount)*a.slideWidth,r=(t+a.options.slidesToShow-a.slideCount)*i),a.slideCount<=a.options.slidesToShow&&(r=a.slideOffset=0),!0===a.options.centerMode&&a.slideCount<=a.options.slidesToShow?a.slideOffset=a.slideWidth*Math.floor(a.options.slidesToShow)/2-a.slideWidth*a.slideCount/2:!0===a.options.centerMode&&!0===a.options.infinite?a.slideOffset+=a.slideWidth*Math.floor(a.options.slidesToShow/2)-a.slideWidth:!0===a.options.centerMode&&(a.slideOffset=0,a.slideOffset+=a.slideWidth*Math.floor(a.options.slidesToShow/2)),e=!1===a.options.vertical?t*a.slideWidth*-1+a.slideOffset:t*i*-1+r,!0===a.options.variableWidth&&(o=a.slideCount<=a.options.slidesToShow||!1===a.options.infinite?a.$slideTrack.children(".slick-slide").eq(t):a.$slideTrack.children(".slick-slide").eq(t+a.options.slidesToShow),e=!0===a.options.rtl?o[0]?-1*(a.$slideTrack.width()-o[0].offsetLeft-o.width()):0:o[0]?-1*o[0].offsetLeft:0,!0===a.options.centerMode&&(o=a.slideCount<=a.options.slidesToShow||!1===a.options.infinite?a.$slideTrack.children(".slick-slide").eq(t):a.$slideTrack.children(".slick-slide").eq(t+a.options.slidesToShow+1),e=!0===a.options.rtl?o[0]?-1*(a.$slideTrack.width()-o[0].offsetLeft-o.width()):0:o[0]?-1*o[0].offsetLeft:0,e+=(a.$list.width()-o.outerWidth())/2)),e},r.prototype.getOption=r.prototype.slickGetOption=function(t){return this.options[t]},r.prototype.getNavigableIndexes=function(){var t,e=this,i=0,o=0,n=[];for(!1===e.options.infinite?t=e.slideCount:(i=-1*e.options.slidesToScroll,o=-1*e.options.slidesToScroll,t=2*e.slideCount);i<t;)n.push(i),i=o+e.options.slidesToScroll,o+=e.options.slidesToScroll<=e.options.slidesToShow?e.options.slidesToScroll:e.options.slidesToShow;return n},r.prototype.getSlick=function(){return this},r.prototype.getSlideCount=function(){var n,a,t,r=this;return t=!0===r.options.centerMode?Math.floor(r.$list.width()/2):0,a=-1*r.swipeLeft+t,!0===r.options.swipeToSlide?(r.$slideTrack.find(".slick-slide").each(function(t,e){var i,o;if(i=c(e).outerWidth(),o=e.offsetLeft,!0!==r.options.centerMode&&(o+=i/2),a<o+i)return n=e,!1}),Math.abs(c(n).attr("data-slick-index")-r.currentSlide)||1):r.options.slidesToScroll},r.prototype.goTo=r.prototype.slickGoTo=function(t,e){this.changeSlide({data:{message:"index",index:parseInt(t)}},e)},r.prototype.init=function(t){var e=this;c(e.$slider).hasClass("slick-initialized")||(c(e.$slider).addClass("slick-initialized"),e.buildRows(),e.buildOut(),e.setProps(),e.startLoad(),e.loadSlider(),e.initializeEvents(),e.updateArrows(),e.updateDots(),e.checkResponsive(!0),e.focusHandler()),t&&e.$slider.trigger("init",[e]),!0===e.options.accessibility&&e.initADA(),e.options.autoplay&&(e.paused=!1,e.autoPlay())},r.prototype.initADA=function(){var o=this,i=Math.ceil(o.slideCount/o.options.slidesToShow),n=o.getNavigableIndexes().filter(function(t){return 0<=t&&t<o.slideCount});o.$slides.add(o.$slideTrack.find(".slick-cloned")).attr({"aria-hidden":"true",tabindex:"-1"}).find("a, input, button, select").attr({tabindex:"-1"}),null!==o.$dots&&(o.$slides.not(o.$slideTrack.find(".slick-cloned")).each(function(t){var e=n.indexOf(t);if(c(this).attr({role:"tabpanel",id:"slick-slide"+o.instanceUid+t,tabindex:-1}),-1!==e){var i="slick-slide-control"+o.instanceUid+e;c("#"+i).length&&c(this).attr({"aria-describedby":i})}}),o.$dots.attr("role","tablist").find("li").each(function(t){var e=n[t];c(this).attr({role:"presentation"}),c(this).find("button").first().attr({role:"tab",id:"slick-slide-control"+o.instanceUid+t,"aria-controls":"slick-slide"+o.instanceUid+e,"aria-label":t+1+" of "+i,"aria-selected":null,tabindex:"-1"})}).eq(o.currentSlide).find("button").attr({"aria-selected":"true",tabindex:"0"}).end());for(var t=o.currentSlide,e=t+o.options.slidesToShow;t<e;t++)o.options.focusOnChange?o.$slides.eq(t).attr({tabindex:"0"}):o.$slides.eq(t).removeAttr("tabindex");o.activateADA()},r.prototype.initArrowEvents=function(){var t=this;!0===t.options.arrows&&t.slideCount>t.options.slidesToShow&&(t.$prevArrow.off("click.slick").on("click.slick",{message:"previous"},t.changeSlide),t.$nextArrow.off("click.slick").on("click.slick",{message:"next"},t.changeSlide),!0===t.options.accessibility&&(t.$prevArrow.on("keydown.slick",t.keyHandler),t.$nextArrow.on("keydown.slick",t.keyHandler)))},r.prototype.initDotEvents=function(){var t=this;!0===t.options.dots&&t.slideCount>t.options.slidesToShow&&(c("li",t.$dots).on("click.slick",{message:"index"},t.changeSlide),!0===t.options.accessibility&&t.$dots.on("keydown.slick",t.keyHandler)),!0===t.options.dots&&!0===t.options.pauseOnDotsHover&&t.slideCount>t.options.slidesToShow&&c("li",t.$dots).on("mouseenter.slick",c.proxy(t.
1interrupt,t,!0)).on("mouseleave.slick",c.proxy(t.interrupt,t,!1))},r.prototype.initSlideEvents=function(){var t=this;t.options.pauseOnHover&&(t.$list.on("mouseenter.slick",c.proxy(t.interrupt,t,!0)),t.$list.on("mouseleave.slick",c.proxy(t.interrupt,t,!1)))},r.prototype.initializeEvents=function(){var t=this;t.initArrowEvents(),t.initDotEvents(),t.initSlideEvents(),t.$list.on("touchstart.slick mousedown.slick",{action:"start"},t.swipeHandler),t.$list.on("touchmove.slick mousemove.slick",{action:"move"},t.swipeHandler),t.$list.on("touchend.slick mouseup.slick",{action:"end"},t.swipeHandler),t.$list.on("touchcancel.slick mouseleave.slick",{action:"end"},t.swipeHandler),t.$list.on("click.slick",t.clickHandler),c(document).on(t.visibilityChange,c.proxy(t.visibility,t)),!0===t.options.accessibility&&t.$list.on("keydown.slick",t.keyHandler),!0===t.options.focusOnSelect&&c(t.$slideTrack).children().on("click.slick",t.selectHandler),c(window).on("orientationchange.slick.slick-"+t.instanceUid,c.proxy(t.orientationChange,t)),c(window).on("resize.slick.slick-"+t.instanceUid,c.proxy(t.resize,t)),c("[draggable!=true]",t.$slideTrack).on("dragstart",t.preventDefault),c(window).on("load.slick.slick-"+t.instanceUid,t.setPosition),c(t.setPosition)},r.prototype.initUI=function(){var t=this;!0===t.options.arrows&&t.slideCount>t.options.slidesToShow&&(t.$prevArrow.show(),t.$nextArrow.show()),!0===t.options.dots&&t.slideCount>t.options.slidesToShow&&t.$dots.show()},r.prototype.keyHandler=function(t){var e=this;t.target.tagName.match("TEXTAREA|INPUT|SELECT")||(37===t.keyCode&&!0===e.options.accessibility?e.changeSlide({data:{message:!0===e.options.rtl?"next":"previous"}}):39===t.keyCode&&!0===e.options.accessibility&&e.changeSlide({data:{message:!0===e.options.rtl?"previous":"next"}}))},r.prototype.lazyLoad=function(){var t,e,i,a=this;function o(t){c("img[data-lazy]",t).each(function(){var t=c(this),e=c(this).attr("data-lazy"),i=c(this).attr("data-srcset"),o=c(this).attr("data-sizes")||a.$slider.attr("data-sizes"),n=document.createElement("img");n.onload=function(){t.animate({opacity:0}
vendor: 7,040 bytes, line 1
1,100,function(){i&&(t.attr("srcset",i),o&&t.attr("sizes",o)),t.attr("src",e).animate({opacity:1},200,function(){t.removeAttr("data-lazy data-srcset data-sizes").removeClass("slick-loading")}),a.$slider.trigger("lazyLoaded",[a,t,e])})},n.onerror=function(){t.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error"),a.$slider.trigger("lazyLoadError",[a,t,e])},n.src=e})}if(!0===a.options.centerMode?!0===a.options.infinite?i=(e=a.currentSlide+(a.options.slidesToShow/2+1))+a.options.slidesToShow+2:(e=Math.max(0,a.currentSlide-(a.options.slidesToShow/2+1)),i=a.options.slidesToShow/2+1+2+a.currentSlide):(e=a.options.infinite?a.options.slidesToShow+a.currentSlide:a.currentSlide,i=Math.ceil(e+a.options.slidesToShow),!0===a.options.fade&&(0<e&&e--,i<=a.slideCount&&i++)),t=a.$slider.find(".slick-slide").slice(e,i),"anticipated"===a.options.lazyLoad)for(var n=e-1,r=i,s=a.$slider.find(".slick-slide"),l=0;l<a.options.slidesToScroll;l++)n<0&&(n=a.slideCount-1),t=(t=t.add(s.eq(n))).add(s.eq(r)),n--,r++;o(t),a.slideCount<=a.options.slidesToShow?o(a.$slider.find(".slick-slide")):a.currentSlide>=a.slideCount-a.options.slidesToShow?o(a.$slider.find(".slick-cloned").slice(0,a.options.slidesToShow)):0===a.currentSlide&&o(a.$slider.find(".slick-cloned").slice(-1*a.options.slidesToShow))},r.prototype.loadSlider=function(){var t=this;t.setPosition(),t.$slideTrack.css({opacity:1}),t.$slider.removeClass("slick-loading"),t.initUI(),"progressive"===t.options.lazyLoad&&t.progressiveLazyLoad()},r.prototype.next=r.prototype.slickNext=function(){this.changeSlide({data:{message:"next"}})},r.prototype.orientationChange=function(){this.checkResponsive(),this.setPosition()},r.prototype.pause=r.prototype.slickPause=function(){this.autoPlayClear(),this.paused=!0},r.prototype.play=r.prototype.slickPlay=function(){var t=this;t.autoPlay(),t.options.autoplay=!0,t.paused=!1,t.focussed=!1,t.interrupted=!1},r.prototype.postSlide=function(t){var e=this;e.unslicked||(e.$slider.trigger("afterChange",[e,t]),e.animating=!1,e.slideCount>e.options.slidesToShow&&e.setPosition(),e.swipeLeft=null,e.options.autoplay&&e.autoPlay(),!0===e.options.accessibility&&(e.initADA(),e.options.focusOnChange&&c(e.$slides.get(e.currentSlide)).attr("tabindex",0).focus()))},r.prototype.prev=r.prototype.slickPrev=function(){this.changeSlide({data:{message:"previous"}})},r.prototype.preventDefault=function(t){t.preventDefault()},r.prototype.progressiveLazyLoad=function(t){t=t||1;var e,i,o,n,a,r=this,s=c("img[data-lazy]",r.$slider);s.length?(e=s.first(),i=e.attr("data-lazy"),o=e.attr("data-srcset"),n=e.attr("data-sizes")||r.$slider.attr("data-sizes"),(a=document.createElement("img")).onload=function(){o&&(e.attr("srcset",o),n&&e.attr("sizes",n)),e.attr("src",i).removeAttr("data-lazy data-srcset data-sizes").removeClass("slick-loading"),!0===r.options.adaptiveHeight&&r.setPosition(),r.$slider.trigger("lazyLoaded",[r,e,i]),r.progressiveLazyLoad()},a.onerror=function(){t<3?setTimeout(function(){r.progressiveLazyLoad(t+1)},500):(e.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error"),r.$slider.trigger("lazyLoadError",[r,e,i]),r.progressiveLazyLoad())},a.src=i):r.$slider.trigger("allImagesLoaded",[r])},r.prototype.refresh=function(t){var e,i,o=this;i=o.slideCount-o.options.slidesToShow,!o.options.infinite&&o.currentSlide>i&&(o.currentSlide=i),o.slideCount<=o.options.slidesToShow&&(o.currentSlide=0),e=o.currentSlide,o.destroy(!0),c.extend(o,o.initials,{currentSlide:e}),o.init(),t||o.changeSlide({data:{message:"index",index:e}},!1)},r.prototype.registerBreakpoints=function(){var t,e,i,o=this,n=o.options.responsive||null;if("array"===c.type(n)&&n.length){for(t in o.respondTo=o.options.respondTo||"window",n)if(i=o.breakpoints.length-1,n.hasOwnProperty(t)){for(e=n[t].breakpoint;0<=i;)o.breakpoints[i]&&o.breakpoints[i]===e&&o.breakpoints.splice(i,1),i--;o.breakpoints.push(e),o.breakpointSettings[e]=n[t].settings}o.breakpoints.sort(function(t,e){return o.options.mobileFirst?t-e:e-t})}},r.prototype.reinit=function(){var t=this;t.$slides=t.$slideTrack.children(t.options.slide).addClass("slick-slide"),t.slideCount=t.$slides.length,t.currentSlide>=t.slideCount&&0!==t.currentSlide&&(t.currentSlide=t.currentSlide-t.options.slidesToScroll),t.slideCount<=t.options.slidesToShow&&(t.currentSlide=0),t.registerBreakpoints(),t.setProps(),t.setupInfinite(),t.buildArrows(),t.updateArrows(),t.initArrowEvents(),t.buildDots(),t.updateDots(),t.initDotEvents(),t.cleanUpSlideEvents(),t.initSlideEvents(),t.checkResponsive(!1,!0),!0===t.options.focusOnSelect&&c(t.$slideTrack).children().on("click.slick",t.selectHandler),t.setSlideClasses("number"==typeof t.currentSlide?t.currentSlide:0),t.setPosition(),t.focusHandler(),t.paused=!t.options.autoplay,t.autoPlay(),t.$slider.trigger("reInit",[t])},r.prototype.resize=function(){var t=this;c(window).width()!==t.windowWidth&&(clearTimeout(t.windowDelay),t.windowDelay=window.setTimeout(function(){t.windowWidth=c(window).width(),t.checkResponsive(),t.unslicked||t.setPosition()},50))},r.prototype.removeSlide=r.prototype.slickRemove=function(t,e,i){var o=this;if(t="boolean"==typeof t?!0===(e=t)?0:o.slideCount-1:!0===e?--t:t,o.slideCount<1||t<0||t>o.slideCount-1)return!1;o.unload(),!0===i?o.$slideTrack.children().remove():o.$slideTrack.children(this.options.slide).eq(t).remove(),o.$slides=o.$slideTrack.children(this.options.slide),o.$slideTrack.children(this.options.slide).detach(),o.$slideTrack.append(o.$slides),o.$slidesCache=o.$slides,o.reinit()},r.prototype.setCSS=function(t){var e,i,o=this,n={};!0===o.options.rtl&&(t=-t),e="left"==o.positionProp?Math.ceil(t)+"px":"0px",i="top"==o.positionProp?Math.ceil(t)+"px":"0px",n[o.positionProp]=t,!1===o.transformsEnabled||(!(n={})===o.cssTransitions?n[o.animType]="translate("+e+", "+i+")":n[o.animType]="translate3d("+e+", "+i+", 0px)"),o.$slideTrack.css(n)},r.prototype.setDimensions=function(){var t=this;!1===t.options.vertical?!0===t.options.centerMode&&t.$list.css({padding:"0px "+t.options.centerPadding}):(t.$list.height(t.$slides.first().outerHeight(!0)*t.options.slidesToShow),!0===t.options.centerMode&&t.$list.css({padding:t.options.centerPadding+" 0px"})),t.listWidth=t.$list.width(),t.listHeight=t.$list.height(),!1===t.options.vertical&&!1===t.options.variableWidth?(t.slideWidth=Math.ceil(t.listWidth/t.options.slidesToShow),t.$slideTrack.width(Math.ceil(t.slideWidth*t.$slideTrack.children(".slick-slide").length))):!0===t.options.variableWidth?t.$slideTrack.width(5e3*t.slideCount):(t.slideWidth=Math.ceil(t.listWidth),t.$slideTrack.height(Math.ceil(t.$slides.first().outerHeight(!0)*t.$slideTrack.children(".slick-slide").length)));var e=t.$slides.first().outerWidth(!0)-t.$slides.first().width();!1===t.options.variableWidth&&t.$slideTrack.children(".slick-slide").width(t.slideWidth-e)},r.prototype.setFade=function(){var i,o=this;o.$slides.each(function(t,e){i=o.slideWidth*t*-1,!0===o.options.rtl?c(e).css({position:"relative",right:i,top:0,zIndex:o.options.zIndex-2,opacity:0}
1):c(e).css({position:"relative",left:i,top:0,zIndex:o.options.zIndex-2,opacity:0})}),o.$slides.eq(o.currentSlide).css({zIndex:o.options.zIndex-1,opacity:1})},r.prototype.setHeight=function(){var t=this;if(1===t.options.slidesToShow&&!0===t.options.adaptiveHeight&&!1===t.options.vertical){var e=t.$slides.eq(t.currentSlide).outerHeight(!0);t.$list.css("height",e)}},r.prototype.setOption=r.prototype.slickSetOption=function(){var t,e,i,o,n,a=this,r=!1;if("object"===c.type(arguments[0])?(i=arguments[0],r=arguments[1],n="multiple"):"string"===c.type(arguments[0])&&(i=arguments[0],o=arguments[1],r=arguments[2],"responsive"===arguments[0]&&"array"===c.type(arguments[1])?n="responsive":void 0!==arguments[1]&&(n="single")),"single"===n)a.options[i]=o;else if("multiple"===n)c.each(i,function(t,e){a.options[t]=e});else if("responsive"===n)for(e in o)if("array"!==c.type(a.options.responsive))a.options.responsive=[o[e]];else{for(t=a.options.responsive.length-1;0<=t;)a.options.responsive[t].breakpoint===o[e].breakpoint&&a.options.responsive.splice(t,1),t--;a.options.responsive.push(o[e])}r&&(a.unload(),a.reinit())},r.prototype.setPosition=function(){var t=this;t.setDimensions(),t.setHeight(),!1===t.options.fade?t.setCSS(t.getLeft(t.currentSlide)):t.setFade(),t.$slider.trigger("setPosition",[t])},r.prototype.setProps=function(){var t=this,e=document.body.style;t.positionProp=!0===t.options.vertical?"top":"left","top"===t.positionProp?t.$slider.addClass("slick-vertical"):t.$slider.removeClass("slick-vertical"),void 0===e.WebkitTransition&&void 0===e.MozTransition&&void 0===e.msTransition||!0===t.options.useCSS&&(t.cssTransitions=!0),t.options.fade&&("number"==typeof t.options.zIndex?t.options.zIndex<3&&(t.options.zIndex=3):t.options.zIndex=t.defaults.zIndex),void 0!==e.OTransform&&(t.animType="OTransform",t.transformType="-o-transform",t.transitionType="OTransition",void 0===e.perspectiveProperty&&void 0===e.webkitPerspective&&(t.animType=!1)),void 0!==e.MozTransform&&(t.animType="MozTransform",t.transformType="-moz-transform",t.transitionType="MozTransition",void 0===e.perspectiveProperty&&void 0===e.MozPerspective&&(t.animType=!1)),void 0!==e.webkitTransform&&(t.animType="webkitTransform",t.transformType="-webkit-transform",t.transitionType="webkitTransition",void 0===e.perspectiveProperty&&void 0===e.webkitPerspective&&(t.animType=!1)),void 0!==e.msTransform&&(t.animType="msTransform",t.transformType="-ms-transform",t.transitionType="msTransition",void 0===e.msTransform&&(t.animType=!1)),void 0!==e.transform&&!1!==t.animType&&(t.animType="transform",t.transformType="transform",t.transitionType="transition"),t.transformsEnabled=t.options.useTransform&&null!==t.animType&&!1!==t.animType},r.prototype.setSlideClasses=function(t){var e,i,o,n,a=this;if(i=a.$slider.find(".slick-slide").removeClass("slick-active slick-center slick-current").attr("aria-hidden","true"),a.$slides.eq(t).addClass("slick-current"),!0===a.options.centerMode){var r=a.options.slidesToShow%2==0?1:0;e=Math.floor(a.options.slidesToShow/2),!0===a.options.infinite&&(e<=t&&t<=a.slideCount-1-e?a.$slides.slice(t-e+r,t+e+1).addClass("slick-active").attr("aria-hidden","false"):(o=a.options.slidesToShow+t,i.slice(o-e+1+r,o+e+2).addClass("slick-active").attr("aria-hidden","false")),0===t?i.eq(i.length-1-a.options.slidesToShow).addClass("slick-center"):t===a.slideCount-1&&i.eq(a.options.slidesToShow).addClass("slick-center")),a.$slides.eq(t).addClass("slick-center")}else 0<=t&&t<=a.slideCount-a.options.slidesToShow?a.$slides.slice(t,t+a.options.slidesToShow).addClass("slick-active").attr("aria-hidden","false"):i.length<=a.options.slidesToShow?i.addClass("slick-active").attr("aria-hidden","false"):(n=a.slideCount%a.options.slidesToShow,o=!0===a.options.infinite?a.options.slidesToShow+t:t,a.options.slidesToShow==a.options.slidesToScroll&&a.slideCount-t<a.options.slidesToShow?i.slice(o-(a.options.slidesToShow-n),o+n).addClass("slick-active").attr("aria-hidden","false"):i.slice(o,o+a.options.slidesToShow).addClass("slick-active").attr("aria-hidden","false"));"ondemand"!==a.options.lazyLoad&&"anticipated"!==a.options.lazyLoad||a.lazyLoad()},r.prototype.setupInfinite=function(){var t,e,i,o=this;if(!0===o.options.fade&&(o.options.centerMode=!1),!0===o.options.infinite&&!1===o.options.fade&&(e=null,o.slideCount>o.options.slidesToShow)){for(i=!0===o.options.centerMode?o.options.slidesToShow+1:o.options.slidesToShow,t=o.slideCount;t>o.slideCount-i;t-=1)e=t-1,c(o.$slides[e]).clone(!0).attr("id","").attr("data-slick-index",e-o.slideCount).prependTo(o.$slideTrack).addClass("slick-cloned");for(t=0;t<i+o.slideCount;t+=1)e=t,c(o.$slides[e]).clone(!0).attr("id","").attr("data-slick-index",e+o.slideCount).appendTo(o.$slideTrack).addClass("slick-cloned");o.$slideTrack.find(".slick-cloned").find("[id]").each(function(){c(this).attr("id","")})}},r.prototype.interrupt=function(t){t||this.autoPlay(),this.interrupted=t},r.prototype.selectHandler=function(t){var e=c(t.target).is(".slick-slide")?c(t.target):c(t.target).parents(".slick-slide"),i=parseInt(e.attr("data-slick-index"));i||(i=0),this.slideCount<=this.options.slidesToShow?this.slideHandler(i,!1,!0):this.slideHandler(i)}
vendor: 6,042 bytes, line 1
1,r.prototype.slideHandler=function(t,e,i){var o,n,a,r,s,l,c=this;if(e=e||!1,!(!0===c.animating&&!0===c.options.waitForAnimate||!0===c.options.fade&&c.currentSlide===t))if(!1===e&&c.asNavFor(t),o=t,s=c.getLeft(o),r=c.getLeft(c.currentSlide),c.currentLeft=null===c.swipeLeft?r:c.swipeLeft,!1===c.options.infinite&&!1===c.options.centerMode&&(t<0||t>c.getDotCount()*c.options.slidesToScroll))!1===c.options.fade&&(o=c.currentSlide,!0!==i&&c.slideCount>c.options.slidesToShow?c.animateSlide(r,function(){c.postSlide(o)}):c.postSlide(o));else if(!1===c.options.infinite&&!0===c.options.centerMode&&(t<0||t>c.slideCount-c.options.slidesToScroll))!1===c.options.fade&&(o=c.currentSlide,!0!==i&&c.slideCount>c.options.slidesToShow?c.animateSlide(r,function(){c.postSlide(o)}):c.postSlide(o));else{if(c.options.autoplay&&clearInterval(c.autoPlayTimer),n=o<0?c.slideCount%c.options.slidesToScroll!=0?c.slideCount-c.slideCount%c.options.slidesToScroll:c.slideCount+o:o>=c.slideCount?c.slideCount%c.options.slidesToScroll!=0?0:o-c.slideCount:o,c.animating=!0,c.$slider.trigger("beforeChange",[c,c.currentSlide,n]),a=c.currentSlide,c.currentSlide=n,c.setSlideClasses(c.currentSlide),c.options.asNavFor&&(l=(l=c.getNavTarget()).slick("getSlick")).slideCount<=l.options.slidesToShow&&l.setSlideClasses(c.currentSlide),c.updateDots(),c.updateArrows(),!0===c.options.fade)return!0!==i?(c.fadeSlideOut(a),c.fadeSlide(n,function(){c.postSlide(n)})):c.postSlide(n),void c.animateHeight();!0!==i&&c.slideCount>c.options.slidesToShow?c.animateSlide(s,function(){c.postSlide(n)}):c.postSlide(n)}},r.prototype.startLoad=function(){var t=this;!0===t.options.arrows&&t.slideCount>t.options.slidesToShow&&(t.$prevArrow.hide(),t.$nextArrow.hide()),!0===t.options.dots&&t.slideCount>t.options.slidesToShow&&t.$dots.hide(),t.$slider.addClass("slick-loading")},r.prototype.swipeDirection=function(){var t,e,i,o,n=this;return t=n.touchObject.startX-n.touchObject.curX,e=n.touchObject.startY-n.touchObject.curY,i=Math.atan2(e,t),(o=Math.round(180*i/Math.PI))<0&&(o=360-Math.abs(o)),o<=45&&0<=o?!1===n.options.rtl?"left":"right":o<=360&&315<=o?!1===n.options.rtl?"left":"right":135<=o&&o<=225?!1===n.options.rtl?"right":"left":!0===n.options.verticalSwiping?35<=o&&o<=135?"down":"up":"vertical"},r.prototype.swipeEnd=function(t){var e,i,o=this;if(o.dragging=!1,o.swiping=!1,o.scrolling)return o.scrolling=!1;if(o.interrupted=!1,o.shouldClick=!(10<o.touchObject.swipeLength),void 0===o.touchObject.curX)return!1;if(!0===o.touchObject.edgeHit&&o.$slider.trigger("edge",[o,o.swipeDirection()]),o.touchObject.swipeLength>=o.touchObject.minSwipe){switch(i=o.swipeDirection()){case"left":case"down":e=o.options.swipeToSlide?o.checkNavigable(o.currentSlide+o.getSlideCount()):o.currentSlide+o.getSlideCount(),o.currentDirection=0;break;case"right":case"up":e=o.options.swipeToSlide?o.checkNavigable(o.currentSlide-o.getSlideCount()):o.currentSlide-o.getSlideCount(),o.currentDirection=1}"vertical"!=i&&(o.slideHandler(e),o.touchObject={},o.$slider.trigger("swipe",[o,i]))}else o.touchObject.startX!==o.touchObject.curX&&(o.slideHandler(o.currentSlide),o.touchObject={})},r.prototype.swipeHandler=function(t){var e=this;if(!(!1===e.options.swipe||"ontouchend"in document&&!1===e.options.swipe||!1===e.options.draggable&&-1!==t.type.indexOf("mouse")))switch(e.touchObject.fingerCount=t.originalEvent&&void 0!==t.originalEvent.touches?t.originalEvent.touches.length:1,e.touchObject.minSwipe=e.listWidth/e.options.touchThreshold,!0===e.options.verticalSwiping&&(e.touchObject.minSwipe=e.listHeight/e.options.touchThreshold),t.data.action){case"start":e.swipeStart(t);break;case"move":e.swipeMove(t);break;case"end":e.swipeEnd(t)}},r.prototype.swipeMove=function(t){var e,i,o,n,a,r,s=this;return a=void 0!==t.originalEvent?t.originalEvent.touches:null,!(!s.dragging||s.scrolling||a&&1!==a.length)&&(e=s.getLeft(s.currentSlide),s.touchObject.curX=void 0!==a?a[0].pageX:t.clientX,s.touchObject.curY=void 0!==a?a[0].pageY:t.clientY,s.touchObject.swipeLength=Math.round(Math.sqrt(Math.pow(s.touchObject.curX-s.touchObject.startX,2))),r=Math.round(Math.sqrt(Math.pow(s.touchObject.curY-s.touchObject.startY,2))),!s.options.verticalSwiping&&!s.swiping&&4<r?!(s.scrolling=!0):(!0===s.options.verticalSwiping&&(s.touchObject.swipeLength=r),i=s.swipeDirection(),void 0!==t.originalEvent&&4<s.touchObject.swipeLength&&(s.swiping=!0,t.preventDefault()),n=(!1===s.options.rtl?1:-1)*(s.touchObject.curX>s.touchObject.startX?1:-1),!0===s.options.verticalSwiping&&(n=s.touchObject.curY>s.touchObject.startY?1:-1),o=s.touchObject.swipeLength,(s.touchObject.edgeHit=!1)===s.options.infinite&&(0===s.currentSlide&&"right"===i||s.currentSlide>=s.getDotCount()&&"left"===i)&&(o=s.touchObject.swipeLength*s.options.edgeFriction,s.touchObject.edgeHit=!0),!1===s.options.vertical?s.swipeLeft=e+o*n:s.swipeLeft=e+o*(s.$list.height()/s.listWidth)*n,!0===s.options.verticalSwiping&&(s.swipeLeft=e+o*n),!0!==s.options.fade&&!1!==s.options.touchMove&&(!0===s.animating?(s.swipeLeft=null,!1):void s.setCSS(s.swipeLeft))))},r.prototype.swipeStart=function(t){var e,i=this;if(i.interrupted=!0,1!==i.touchObject.fingerCount||i.slideCount<=i.options.slidesToShow)return!(i.touchObject={});void 0!==t.originalEvent&&void 0!==t.originalEvent.touches&&(e=t.originalEvent.touches[0]),i.touchObject.startX=i.touchObject.curX=void 0!==e?e.pageX:t.clientX,i.touchObject.startY=i.touchObject.curY=void 0!==e?e.pageY:t.clientY,i.dragging=!0},r.prototype.unfilterSlides=r.prototype.slickUnfilter=function(){var t=this;null!==t.$slidesCache&&(t.unload(),t.$slideTrack.children(this.options.slide).detach(),t.$slidesCache.appendTo(t.$slideTrack),t.reinit())},r.prototype.unload=function(){var t=this;c(".slick-cloned",t.$slider).remove(),t.$dots&&t.$dots.remove(),t.$prevArrow&&t.htmlExpr.test(t.options.prevArrow)&&t.$prevArrow.remove(),t.$nextArrow&&t.htmlExpr.test(t.options.nextArrow)&&t.$nextArrow.remove(),t.$slides.removeClass("slick-slide slick-active slick-visible slick-current").attr("aria-hidden","true").css("width","")}
1,r.prototype.unslick=function(t){this.$slider.trigger("unslick",[this,t]),this.destroy()},r.prototype.updateArrows=function(){var t=this;Math.floor(t.options.slidesToShow/2),!0===t.options.arrows&&t.slideCount>t.options.slidesToShow&&!t.options.infinite&&(t.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false"),t.$nextArrow.removeClass("slick-disabled").attr("aria-disabled","false"),0===t.currentSlide?(t.$prevArrow.addClass("slick-disabled").attr("aria-disabled","true"),t.$nextArrow.removeClass("slick-disabled").attr("aria-disabled","false")):t.currentSlide>=t.slideCount-t.options.slidesToShow&&!1===t.options.centerMode?(t.$nextArrow.addClass("slick-disabled").attr("aria-disabled","true"),t.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false")):t.currentSlide>=t.slideCount-1&&!0===t.options.centerMode&&(t.$nextArrow.addClass("slick-disabled").attr("aria-disabled","true"),t.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false")))},r.prototype.updateDots=function(){var t=this;null!==t.$dots&&(t.$dots.find("li").removeClass("slick-active").end(),t.$dots.find("li").eq(Math.floor(t.currentSlide/t.options.slidesToScroll)).addClass("slick-active"))},r.prototype.visibility=function(){this.options.autoplay&&(document[this.hidden]?this.interrupted=!0:this.interrupted=!1)},c.fn.slick=function(){var t,e,i=this,o=arguments[0],n=Array.prototype.slice.call(arguments,1),a=i.length;for(t=0;t<a;t++)if("object"==typeof o||void 0===o?i[t].slick=new r(i[t],o):e=i[t].slick[o].apply(i[t].slick,n),void 0!==e)return e;return i}}),function(t){"function"==typeof define&&define.amd?define(["jquery"],t):"object"==typeof exports?t(require("jquery")):t(jQuery)}(function(a){var r=function(t,e){this.$element=a(t),this.options=a.extend({},r.DEFAULTS,this.dataOptions(),e),this.init()};r.DEFAULTS={from:0,to:0,speed:1e3,refreshInterval:100,decimals:0,formatter:function(t,e){return t.toFixed(e.decimals)},onUpdate:null,onComplete:null},r.prototype.init=function(){this.value=this.options.from,this.loops=Math.ceil(this.options.speed/this.options.refreshInterval),this.loopCount=0,this.increment=(this.options.to-this.options.from)/this.loops},r.prototype.dataOptions=function(){var t={from:this.$element.data("from"),to:this.$element.data("to"),speed:this.$element.data("speed"),refreshInterval:this.$element.data("refresh-interval"),decimals:this.$element.data("decimals")},e=Object.keys(t);for(var i in e){var o=e[i];void 0===t[o]&&delete t[o]}return t},r.prototype.update=function(){this.value+=this.increment,this.loopCount++,this.render(),"function"==typeof this.options.onUpdate&&this.options.onUpdate.call(this.$element,this.value),this.loopCount>=this.loops&&(clearInterval(this.interval),this.value=this.options.to,"function"==typeof this.options.onComplete&&this.options.onComplete.call(this.$element,this.value))},r.prototype.render=function(){var t=this.options.formatter.call(this.$element,this.value,this.options);this.$element.text(t)},r.prototype.restart=function(){this.stop(),this.init(),this.start()},r.prototype.start=function(){this.stop(),this.render(),this.interval=setInterval(this.update.bind(this),this.options.refreshInterval)},r.prototype.stop=function(){this.interval&&clearInterval(this.interval)},r.prototype.toggle=function(){this.interval?this.stop():this.start()},a.fn.countTo=function(n){return this.each(function(){var t=a(this),e=t.data("countTo"),i="object"==typeof n?n:{},o="string"==typeof n?n:"start";(!e||"object"==typeof n)&&(e&&e.stop(),t.data("countTo",e=new r(this,i))),e[o].call(e)})}}),function(e,i){"function"==typeof define&&define.amd?define("jquery-bridget/jquery-bridget",["jquery"],function(t){return i(e,t)}):"object"==typeof module&&module.exports?module.exports=i(e,require("jquery")):e.jQueryBridget=i(e,e.jQuery)}(window,function(t,e){"use strict";var u=Array.prototype.slice,i=t.console,h=void 0===i?function(){}:function(t){i.error(t)};function o(c,n,d){(d=d||e||t.jQuery)&&(n.prototype.option||(n.prototype.option=function(t){d.isPlainObject(t)&&(this.options=d.extend(!0,this.options,t))}),d.fn[c]=function(t){if("string"==typeof t){var e=u.call(arguments,1
1);return r=e,l="$()."+c+'("'+(a=t)+'")',(i=this).each(function(t,e){var i=d.data(e,c);if(i){var o=i[a];if(o&&"_"!=a.charAt(0)){var n=o.apply(i,r);s=void 0===s?n:s}else h(l+" is not a valid method")}else h(c+" not initialized. Cannot call methods, i.e. "+l)}),void 0!==s?s:i}var i,a,r,s,l,o;return o=t,this.each(function(t,e){var i=d.data(e,c);i?(i.option(o),i._init()):(i=new n(e,o),d.data(e,c,i))}),this},a(d))}function a(t){!t||t&&t.bridget||(t.bridget=o)}return a(e||t.jQuery),o}),function(t,e){"function"==typeof define&&define.amd?define("ev-emitter/ev-emitter",e):"object"==typeof module&&module.exports?module.exports=e():t.EvEmitter=e()}("undefined"!=typeof window?window:this,function(){function t(){}var e=t.prototype;return e.on=function(t,e){if(t&&e){var i=this._events=this._events||{},o=i[t]=i[t]||[];return-1==o.indexOf(e)&&o.push(e),this}},e.once=function(t,e){if(t&&e){this.on(t,e);var i=this._onceEvents=this._onceEvents||{};return(i[t]=i[t]||{})[e]=!0,this}},e.off=function(t,e){var i=this._events&&this._events[t];if(i&&i.length){var o=i.indexOf(e);return-1!=o&&i.splice(o,1),this}},e.emitEvent=function(t,e){var i=this._events&&this._events[t];if(i&&i.length){i=i.slice(0),e=e||[];for(var o=this._onceEvents&&this._onceEvents[t],n=0;n<i.length;n++){var a=i[n];o&&o[a]&&(this.off(t,a),delete o[a]),a.apply(this,e)}return this}},e.allOff=function(){delete this._events,delete this._onceEvents},t}),function(t,e){"use strict";"function"==typeof define&&define.amd?define("get-size/get-size",[],function(){return e()}):"object"==typeof module&&module.exports?module.exports=e():t.getSize=e()}(window,function(){"use strict";function v(t){var e=parseFloat(t);return-1==t.indexOf("%")&&!isNaN(e)&&e}var i="undefined"==typeof console?function(){}:function(t){console.error(t)},b=["paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth"],y=b.length;function x(t){var e=getComputedStyle(t);return e||i("Style returned "+e+". Are you running this code in a hidden iframe on Firefox? See http://bit.ly/getsizebug1"),e}var w,k=!1;function S(t){if(function(){if(!k){k=!0;var t=document.createElement("div");t.style.width="200px",t.style.padding="1px 2px 3px 4px",t.style.borderStyle="solid",t.style.borderWidth="1px 2px 3px 4px",t.style.boxSizing="border-box";var e=document.body||document.documentElement;e.appendChild(t);var i=x(t);S.isBoxSizeOuter=w=200==v(i.width),e.removeChild(t)}}(),"string"==typeof t&&(t=document.querySelector(t)),t&&"object"==typeof t&&t.nodeType){var e=x(t);if("none"==e.display)return function(){for(var t={width:0,height:0,innerWidth:0,innerHeight:0,outerWidth:0,outerHeight:0},e=0;e<y;e++)t[b[e]]=0;return t}();var i={};i.width=t.offsetWidth,i.height=t.offsetHeight;for(var o=i.isBorderBox="border-box"==e.boxSizing,n=0;n<y;n++){var a=b[n],r=e[a],s=parseFloat(r);i[a]=isNaN(s)?0:s}var l=i.paddingLeft+i.paddingRight,c=i.paddingTop+i.paddingBottom,d=i.marginLeft+i.marginRight,u=i.marginTop+i.marginBottom,h=i.borderLeftWidth+i.borderRightWidth,f=i.borderTopWidth+i.borderBottomWidth,p=o&&w,g=v(e.width);!1!==g&&(i.width=g+(p?0:l+h));var m=v(e.height);return!1!==m&&(i.height=m+(p?0:c+f)),i.innerWidth=i.width-(l+h),i.innerHeight=i.height-(c+f),i.outerWidth=i.width+d,i.outerHeight=i.height+u,i}}return S}),function(t,e){"use strict";"function"==typeof define&&define.amd?define("desandro-matches-selector/matches-selector",e):"object"==typeof module&&module.exports?module.exports=e():t.matchesSelector=e()}(window,function(){"use strict";var i=function(){var t=window.Element.prototype;if(t.matches)return"matches";if(t.matchesSelector)return"matchesSelector";for(var e=["webkit","moz","ms","o"],i=0;i<e.length;i++){var o=e[i]+"MatchesSelector";if(t[o])return o}}();return function(t,e){return t[i](e)}}),function(e,i){"function"==typeof define&&define.amd?define("fizzy-ui-utils/utils",["de
1sandro-matches-selector/matches-selector"],function(t){return i(e,t)}):"object"==typeof module&&module.exports?module.exports=i(e,require("desandro-matches-selector")):e.fizzyUIUtils=i(e,e.matchesSelector)}(window,function(c,a){var d={extend:function(t,e){for(var i in e)t[i]=e[i];return t},modulo:function(t,e){return(t%e+e)%e},makeArray:function(t){var e=[];if(Array.isArray(t))e=t;else if(t&&"object"==typeof t&&"number"==typeof t.length)for(var i=0;i<t.length;i++)e.push(t[i]);else e.push(t);return e},removeFrom:function(t,e){var i=t.indexOf(e);-1!=i&&t.splice(i,1)},getParent:function(t,e){for(;t.parentNode&&t!=document.body;)if(t=t.parentNode,a(t,e))return t},getQueryElement:function(t){return"string"==typeof t?document.querySelector(t):t},handleEvent:function(t){var e="on"+t.type;this[e]&&this[e](t)},filterFindElements:function(t,o){t=d.makeArray(t);var n=[];return t.forEach(function(t){if(t instanceof HTMLElement)if(o){a(t,o)&&n.push(t);for(var e=t.querySelectorAll(o),i=0;i<e.length;i++)n.push(e[i])}else n.push(t)}),n},debounceMethod:function(t,e,o){var n=t.prototype[e],a=e+"Timeout";t.prototype[e]=function(){var t=this[a];t&&clearTimeout(t);var e=arguments,i=this;this[a]=setTimeout(function(){n.apply(i,e),delete i[a]},o||100)}},docReady:function(t){var e=document.readyState;"complete"==e||"interactive"==e?setTimeout(t):document.addEventListener("DOMContentLoaded",t)},toDashed:function(t){return t.replace(/(.)([A-Z])/g,function(t,e,i){return e+"-"+i}).toLowerCase()}},u=c.console;return d.htmlInit=function(s,l){d.docReady(function(){var t=d.toDashed(l),n="data-"+t,e=document.querySelectorAll("["+n+"]"),i=document.querySelectorAll(".js-"+t),o=d.makeArray(e).concat(d.makeArray(i)),a=n+"-options",r=c.jQuery;o.forEach(function(e){var t,i=e.getAttribute(n)||e.getAttribute(a);try{t=i&&JSON.parse(i)}catch(t){return void(u&&u.error("Error parsing "+n+" on "+e.className+": "+t))}var o=new s(e,t);r&&r.data(e,l,o)})})},d}),function(t,e){"function"==typeof define&&define.amd?define("outlayer/item",["ev-emitter/ev-emitter","get-size/get-size"],e):"object"==typeof module&&module.exports?module.exports=e(require("ev-emitter"),require("get-size")):(t.Outlayer={},t.Outlayer.Item=e(t.EvEmitter,t.getSize))}(window,function(t,e){"use strict";var i=document.documentElement.style,o="string"==typeof i.transition?"transition":"WebkitTransition",n="string"==typeof i.transform?"transform":"WebkitTransform",a={WebkitTransition:"webkitTransitionEnd",transition:"transitionend"}[o],r={transform:n,transition:o,transitionDuration:o+"Duration",transitionProperty:o+"Property",transitionDelay:o+"Delay"};function s(t,e){t&&(this.element=t,this.layout=e,this.position={x:0,y:0},this._create())}var l=s.prototype=Object.create(t.prototype);l.constructor=s,l._create=function(){this._transn={ingProperties:{},clean:{},onEnd:{}},this.css({position:"absolute"})},l.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},l.getSize=function(){this.size=e(this.element)},l.css=function(t){var e=this.element.style;for(var i in t){e[r[i]||i]=t[i]}},l.getPosition=function(){var t=getComputedStyle(this.element),e=this.layout._getOption("originLeft"),i=this.layout._getOption("originTop"),o=t[e?"left":"right"],n=t[i?"top":"bottom"],a=this.layout.size,r=-1!=o.indexOf("%")?parseFloat(o)/100*a.width:parseInt(o,10),s=-1!=n.indexOf("%")?parseFloat(n)/100*a.height:parseInt(n,10);r=isNaN(r)?0:r,s=isNaN(s)?0:s,r-=e?a.paddingLeft:a.paddingRight,s-=i?a.paddingTop:a.paddingBottom,this.position.x=r,this.position.y=s},l.layoutPosition=function(){var t=this.layout.size,e={},i=this.layout._getOption("originLeft"),o=this.layout._getOption("originTop"),n=i?"paddingLeft":"paddingRight",a=i?"left":"right",r=i?"right":"left",s=this.position.x+t[n];e[a]=this.getXValue(s),e[r]="";var l=o?"paddingTop":"paddingBottom",c=o?"top":"bottom",d=o?"bottom":"top",u=this.position.y+t[l];e[c]=this.getYValue(u),e[d]="",this.css(e),this.emitEvent("layout",[this])},l.getXValue=function(t){var e=this.layout._getOption("horizontal");return this.layout.options.percentPosition&&!e?t/this.layout.size.width*100+"%":t+"px"},l.getYValue=function(t){var e=this.layout._getOption("horizontal");return this.layout.options.percentPosition&&e?t/this.layout.size.height*100+"%":t+"px"},l._transitionTo=function(t,e){this.getPosition();var i=this.position.x,o=this.position.y,n=parseInt(t,10),a=parseInt(e,10),r=n===this.position.x&&a===this.position.y;if(this.setPosition(t,e),!r||this.isTransitioning){var s=t-i,l=e-o,c={};c.transform=this.getTranslate(s,l),this.transition({to:c,onTransitionEnd:{transform:this.layoutPosition},isCleaning:!0})}else this.layoutPosition()},l.getTranslate=function(t,e){return"translate3d("+(t=this.layout._getOption("originLeft")?t:-t)+"px, "+(e=this.layout._getOption("originTop")?e:-e)+"px, 0)"},l.goTo=function(t,e){this.setPosition(t,e),this.layoutPosition()},l.moveTo=l._transitionTo,l.setPosition=function(t,e){this.position.x=parseInt(t,10),this.position.y=parseInt(e,10)},l._nonTransition=function(t){for(var e in this.css(t.to),t.isCleaning&&this._removeStyles(t.to),t.onTransitionEnd)t.onTransitionEnd[e].call(this)},l.transition=function(t){if(parseFloat(this.layout.options.transitionDuration)){var e=this._transn;for(var i in t.onTransitionEnd)e.onEnd[i]=t.onTransitionEnd[i];for(i in t.to)e.ingProperties[i]=!0,t.isCleaning&&(e.clean[i]=!0);if(t.from){this.css(t.from);this.element.offsetHeight;null}this.enableTransition(t.to),this.css(t.to),this.isTransitioning=!0}else this._nonTransition(t)};var c="opacity,"+n.replace(/([A-Z])/g,function(t){return"-"+t.toLowerCase()});l.enableTransition=function(){if(!this.isTransitioning){var t=this.layout.options.transitionDuration;t="number"==typeof t?t+"ms":t,this.css({transitionProperty:c,transitionDuration:t,transitionDelay:this.staggerDelay||0}),this.element.addEventListener(a,this,!1)}},l.onwebkitTransitionEnd=function(t){this.ontransitionend(t)},l.onotransitionend=function(t){this.ontransitionend(t)};var d={"-webkit-transform":"transform"};l.ontransitionend=function(t){if(t.target===this.element){var e=this._transn,i=d[t.propertyName]||t.propertyName;if(delete e.ingProperties[i],function(t){for(var e in t)return!1;return!0}(e.ingProperties)&&this.disableTransition(),i in e.clean&&(this.element.style[t.propertyName]="",delete e.clean[i]),i in e.onEnd)e.onEnd[i].call(this),delete e.onEnd[i];this.emitEvent("transitionEnd",[this])}},l.disableTransition=function(){this.removeTransitionStyles(),this.element.removeEventListener(a,this,!1),this.isTransitioning=!1},l._removeStyles=function(t){var e={};for(var i in t)e[i]="";this.css(e)};var u={transitionProperty:"",transitionDuration:"",transitionDelay:""};return l.removeTransitionStyles=function(){this.css(u)},l.stagger=function(t){t=isNaN(t)?0:t,this.staggerDelay=t+"ms"},l.removeElem=function(){this.element.parentNode.removeChild(this.element),this.css({display:""}),this.emitEvent("remove",[this])},l.remove=function(){o&&parseFloat(this.layout.options.transitionDuration)?(this.once("transitionEnd",function(){this.removeElem()}),this.hide()):this.removeElem()},l.reveal=function(){delete this.isHidden,this.css({display:""});var t=this.layout.options,e={};e[this.getHideRevealTransitionEndProperty("visibleStyle")]=this.onRevealTransitionEnd,this.transition({from:t.hiddenStyle,to:t.visibleStyle,isCleaning:!0,onTransitionEnd:e})},l.onRevealTransitionEnd=function(){this.isHidden||this.emitEvent("reveal")},l.getHideRevealTransitionEndProperty=function(t){var e=this.layout.options[t];if(e.opacity)return"opacity";for(var i in e)return i},l.hide=function(){this.isHidden=!0,this.css({display:""});var t=this.layout.options,e={};e[this.getHideRevealTransitionEndProperty("hiddenStyle")]=this.onHideTransitionEnd,this.transition({from:t.visibleStyle,to:t.hiddenStyle,isCleaning:!0,onTransitionEnd:e})},l.onHideTransitionEnd=function(){this.isHidden&&(this.css({display:"none"}),this.emitEvent("hide"))},l.destroy=function(){this.css({position:"",left:"",right:"",top:"",bottom:"",transition:"",transform:""})},s}),function(n,a){"use strict";"function"==typeof define&&define.amd?define("outlayer/outlayer",["ev-emitter/ev-emitter","get-size/get-size","fizzy-ui-utils/utils","./item"],function(t,e,
vendor: 10,919 bytes, line 1
1i,o){return a(n,t,e,i,o)}):"object"==typeof module&&module.exports?module.exports=a(n,require("ev-emitter"),require("get-size"),require("fizzy-ui-utils"),require("./item")):n.Outlayer=a(n,n.EvEmitter,n.getSize,n.fizzyUIUtils,n.Outlayer.Item)}(window,function(t,e,n,a,o){"use strict";var r=t.console,s=t.jQuery,i=function(){},l=0,c={};function d(t,e){var i=a.getQueryElement(t);if(i){this.element=i,s&&(this.$element=s(this.element)),this.options=a.extend({},this.constructor.defaults),this.option(e);var o=++l;this.element.outlayerGUID=o,(c[o]=this)._create(),this._getOption("initLayout")&&this.layout()}else r&&r.error("Bad element for "+this.constructor.namespace+": "+(i||t))}d.namespace="outlayer",d.Item=o,d.defaults={containerStyle:{position:"relative"},initLayout:!0,originLeft:!0,originTop:!0,resize:!0,resizeContainer:!0,transitionDuration:"0.4s",hiddenStyle:{opacity:0,transform:"scale(0.001)"},visibleStyle:{opacity:1,transform:"scale(1)"}};var u=d.prototype;function h(t){function e(){t.apply(this,arguments)}return(e.prototype=Object.create(t.prototype)).constructor=e}a.extend(u,e.prototype),u.option=function(t){a.extend(this.options,t)},u._getOption=function(t){var e=this.constructor.compatOptions[t];return e&&void 0!==this.options[e]?this.options[e]:this.options[t]},d.compatOptions={initLayout:"isInitLayout",horizontal:"isHorizontal",layoutInstant:"isLayoutInstant",originLeft:"isOriginLeft",originTop:"isOriginTop",resize:"isResizeBound",resizeContainer:"isResizingContainer"},u._create=function(){this.reloadItems(),this.stamps=[],this.stamp(this.options.stamp),a.extend(this.element.style,this.options.containerStyle),this._getOption("resize")&&this.bindResize()},u.reloadItems=function(){this.items=this._itemize(this.element.children)},u._itemize=function(t){for(var e=this._filterFindItemElements(t),i=this.constructor.Item,o=[],n=0;n<e.length;n++){var a=new i(e[n],this);o.push(a)}return o},u._filterFindItemElements=function(t){return a.filterFindElements(t,this.options.itemSelector)},u.getItemElements=function(){return this.items.map(function(t){return t.element})},u.layout=function(){this._resetLayout(),this._manageStamps();var t=this._getOption("layoutInstant"),e=void 0!==t?t:!this._isLayoutInited;this.layoutItems(this.items,e),this._isLayoutInited=!0},u._init=u.layout,u._resetLayout=function(){this.getSize()},u.getSize=function(){this.size=n(this.element)},u._getMeasurement=function(t,e){var i,o=this.options[t];o?("string"==typeof o?i=this.element.querySelector(o):o instanceof HTMLElement&&(i=o),this[t]=i?n(i)[e]:o):this[t]=0},u.layoutItems=function(t,e){t=this._getItemsForLayout(t),this._layoutItems(t,e),this._postLayout()},u._getItemsForLayout=function(t){return t.filter(function(t){return!t.isIgnored})},u._layoutItems=function(t,i){if(this._emitCompleteOnItems("layout",t),t&&t.length){var o=[];t.forEach(function(t){var e=this._getItemLayoutPosition(t);e.item=t,e.isInstant=i||t.isLayoutInstant,o.push(e)},this),this._processLayoutQueue(o)}},u._getItemLayoutPosition=function(){return{x:0,y:0}},u._processLayoutQueue=function(t){this.updateStagger(),t.forEach(function(t,e){this._positionItem(t.item,t.x,t.y,t.isInstant,e)},this)},u.updateStagger=function(){var t=this.options.stagger;if(null!=t)return this.stagger=function(t){if("number"==typeof t)return t;var e=t.match(/(^\d*\.?\d*)(\w*)/),i=e&&e[1],o=e&&e[2];if(!i.length)return 0;i=parseFloat(i);var n=f[o]||1;return i*n}(t),this.stagger;this.stagger=0},u._positionItem=function(t,e,i,o,n){o?t.goTo(e,i):(t.stagger(n*this.stagger),t.moveTo(e,i))},u._postLayout=function(){this.resizeContainer()},u.resizeContainer=function(){if(this._getOption("resizeContainer")){var t=this._getContainerSize();t&&(this._setContainerMeasure(t.width,!0),this._setContainerMeasure(t.height,!1))}},u._getContainerSize=i,u._setContainerMeasure=function(t,e){if(void 0!==t){var i=this.size;i.isBorderBox&&(t+=e?i.paddingLeft+i.paddingRight+i.borderLeftWidth+i.borderRightWidth:i.paddingBottom+i.paddingTop+i.borderTopWidth+i.borderBottomWidth),t=Math.max(t,0),this.element.style[e?"width":"height"]=t+"px"}},u._emitCompleteOnItems=function(e,t){var i=this;function o(){i.dispatchEvent(e+"Complete",null,[t])}var n=t.length;if(t&&n){var a=0;t.forEach(function(t){t.once(e,r)})}else o();function r(){++a==n&&o()}},u.dispatchEvent=function(t,e,i){var o=e?[e].concat(i):i;if(this.emitEvent(t,o),s)if(this.$element=this.$element||s(this.element),e){var n=s.Event(e);n.type=t,this.$element.trigger(n,i)}else this.$element.trigger(t,i)},u.ignore=function(t){var e=this.getItem(t);e&&(e.isIgnored=!0)},u.unignore=function(t){var e=this.getItem(t);e&&delete e.isIgnored},u.stamp=function(t){(t=this._find(t))&&(this.stamps=this.stamps.concat(t),t.forEach(this.ignore,this))},u.unstamp=function(t){(t=this._find(t))&&t.forEach(function(t){a.removeFrom(this.stamps,t),this.unignore(t)},this)},u._find=function(t){if(t)return"string"==typeof t&&(t=this.element.querySelectorAll(t)),t=a.makeArray(t)},u._manageStamps=function(){this.stamps&&this.stamps.length&&(this._getBoundingRect(),this.stamps.forEach(this._manageStamp,this))},u._getBoundingRect=function(){var t=this.element.getBoundingClientRect(),e=this.size;this._boundingRect={left:t.left+e.paddingLeft+e.borderLeftWidth,top:t.top+e.paddingTop+e.borderTopWidth,right:t.right-(e.paddingRight+e.borderRightWidth),bottom:t.bottom-(e.paddingBottom+e.borderBottomWidth)}},u._manageStamp=i,u._getElementOffset=function(t){var e=t.getBoundingClientRect(),i=this._boundingRect,o=n(t);return{left:e.left-i.left-o.marginLeft,top:e.top-i.top-o.marginTop,right:i.right-e.right-o.marginRight,bottom:i.bottom-e.bottom-o.marginBottom}},u.handleEvent=a.handleEvent,u.bindResize=function(){t.addEventListener("resize",this),this.isResizeBound=!0},u.unbindResize=function(){t.removeEventListener("resize",this),this.isResizeBound=!1},u.onresize=function(){this.resize()},a.debounceMethod(d,"onresize",100),u.resize=function(){this.isResizeBound&&this.needsResizeLayout()&&this.layout()},u.needsResizeLayout=function(){var t=n(this.element);return this.size&&t&&t.innerWidth!==this.size.innerWidth},u.addItems=function(t){var e=this._itemize(t);return e.length&&(this.items=this.items.concat(e)),e},u.appended=function(t){var e=this.addItems(t);e.length&&(this.layoutItems(e,!0),this.reveal(e))},u.prepended=function(t){var e=this._itemize(t);if(e.length){var i=this.items.slice(0);this.items=e.concat(i),this._resetLayout(),this._manageStamps(),this.layoutItems(e,!0),this.reveal(e),this.layoutItems(i)}},u.reveal=function(t){if(this._emitCompleteOnItems("reveal",t),t&&t.length){var i=this.updateStagger();t.forEach(function(t,e){t.stagger(e*i),t.reveal()})}},u.hide=function(t){if(this._emitCompleteOnItems("hide",t),t&&t.length){var i=this.updateStagger();t.forEach(function(t,e){t.stagger(e*i),t.hide()})}},u.revealItemElements=function(t){var e=this.getItems(t);this.reveal(e)},u.hideItemElements=function(t){var e=this.getItems(t);this.hide(e)},u.getItem=function(t){for(var e=0;e<this.items.length;e++){var i=this.items[e];if(i.element==t)return i}},u.getItems=function(t){t=a.makeArray(t);var i=[];return t.forEach(function(t){var e=this.getItem(t);e&&i.push(e)},this),i},u.remove=function(t){var e=this.getItems(t);this._emitCompleteOnItems("remove",e),e&&e.length&&e.forEach(function(t){t.remove(),a.removeFrom(this.items,t)},this)},u.destroy=function(){var t=this.element.style;t.height="",t.position="",t.width="",this.items.forEach(function(t){t.destroy()}),this.unbindResize();var e=this.element.outlayerGUID;delete c[e],delete this.element.outlayerGUID,s&&s.removeData(this.element,this.constructor.namespace)},d.data=function(t){var e=(t=a.getQueryElement(t))&&t.outlayerGUID;return e&&c[e]},d.create=function(t,e){var i=h(d);return i.defaults=a.extend({},d.defaults),a.extend(i.defaults,e),i.compatOptions=a.extend({},d.compatOptions),i.namespace=t,i.data=d.data,i.Item=h(o),a.htmlInit(i,t),s&&s.bridget&&s.bridget(t,i),i};var f={ms:1,s:1e3};return d.Item=o,d}),function(t,e){"function"==typeof define&&define.amd?define(["outlayer/outlayer","get-size/get-size"],e):"object"==typeof module&&module.exports?module.exports=e(require("outlayer"),require("get-size")):t.Masonry=e(t.Outlayer,t.getSize)}(window,function(t,c){var e=t.create("masonry");e.compatOptions.fitWidth="isFitWidth";var i=e.prototype;return i._resetLayout=function(){this.getSize(),this._getMeasurement("columnWidth","outerWidth"),this._getMeasurement("gutter","outerWidth"),this.measureColumns(),this.colYs=[];for(var t=0;t<this.cols;t++)this.colYs.push(0);this.maxY=0,this.horizontalColIndex=0},i.measureColumns=function(){if(this.getContainerWidth(),!this.columnWidth){var t=this.items[0],e=t&&t.element;this.columnWidth=e&&c(e).outerWidth||this.containerWidth}var i=this.columnWidth+=this.gutter,o=this.containerWidth+this.gutter,n=o/i,a=i-o%i;n=Math[a&&a<1?"round":"floor"](n),this.cols=Math.max(n,1)},i.getContainerWidth=function(){var t=this._getOption("fitWidth")?this.element.parentNode:this.element,e=c(t);this.containerWidth=e&&e.innerWidth},i._getItemLayoutPosition=function(t){t.getSize();var e=t.size.outerWidth%this.columnWidth,i=Math[e&&e<1?"round":"ceil"](t.size.outerWidth/this.columnWidth);i=Math.min(i,this.cols);for(var o=this[this.options.horizontalOrder?"_getHorizontalColPosition":"_getTopColPosition"](i,t),n={x:this.columnWidth*o.col,y:o.y},a=o.y+t.size.outerHeight,r=i+o.col,s=o.col;s<r;s++)this.colYs[s]=a;return n},i._getTopColPosition=function(t){var e=this._getTopColGroup(t),i=Math.min.apply(Math,e);return{col:e.indexOf(i),y:i}},i._getTopColGroup=function(t){if(t<2)return this.colYs;for(var e=[],i=this.cols+1-t,o=0;o<i;o++)e[o]=this._getColGroupY(o,t);return e},i._getColGroupY=function(t,e){if(e<2)return this.colYs[t];var i=this.colYs.slice(t,t+e);return Math.max.apply(Math,i)},i._getHorizontalColPosition=function(t,e){var i=this.horizontalColIndex%this.cols;i=1<t&&i+t>this.cols?0:i;var o=e.size.outerWidth&&e.size.outerHeight;return this.horizontalColIndex=o?i+t:this.horizontalColIndex,{col:i,y:this._getColGroupY(i,t)}},i._manageStamp=function(t){var e=c(t),i=this._getElementOffset(t),o=this._getOption("originLeft")?i.left:i.right,n=o+e.outerWidth,a=Math.floor(o/this.columnWidth);a=Math.max(0,a);var r=Math.floor(n/this.columnWidth);r-=n%this.columnWidth?0:1,r=Math.min(this.cols-1,r);for(var s=(this._getOption("originTop")?i.top:i.bottom)+e.outerHeight,l=a;l<=r;l++)this.colYs[l]=Math.max(s,this.colYs[l])},i._getContainerSize=function(){this.maxY=Math.max.apply(Math,this.colYs);var t={height:this.maxY};return this._getOption("fitWidth")&&(t.width=this._getContainerFitWidth()),t},i._getContainerFitWidth=function(){for(var t=0,e=this.cols;--e&&0===this.colYs[e];)t++;return(this.cols-t)*this.columnWidth-this.gutter},i.needsResizeLayout=function(){var t=this.containerWidth;return this.getContainerWidth(),t!=this.containerWidth},e}),function(c,s,g,m){"use strict";
1if(g)if(g.fn.fancybox)"console"in c&&console.log("fancyBox already initialized");else{var t,e={loop:!1,margin:[44,0],gutter:50,keyboard:!0,arrows:!0,infobar:!0,toolbar:!0,buttons:["slideShow","fullScreen","thumbs","share","close"],idleTime:3,smallBtn:"auto",protect:!1,modal:!1,image:{preload:"auto"},ajax:{settings:{data:{fancybox:!0}}},iframe:{tpl:'<iframe id="fancybox-frame{rnd}" name="fancybox-frame{rnd}" class="fancybox-iframe" frameborder="0" vspace="0" hspace="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen allowtransparency="true" src=""></iframe>',preload:!0,css:{},attr:{scrolling:"auto"}},defaultType:"image",animationEffect:"zoom",animationDuration:500,zoomOpacity:"auto",transitionEffect:"fade",transitionDuration:366,slideClass:"",baseClass:"",baseTpl:'<div class="fancybox-container" role="dialog" tabindex="-1"><div class="fancybox-bg"></div><div class="fancybox-inner"><div class="fancybox-infobar"><span data-fancybox-index></span>&nbsp;/&nbsp;<span data-fancybox-count></span></div><div class="fancybox-toolbar">{{buttons}}</div><div class="fancybox-navigation">{{arrows}}</div><div class="fancybox-stage"></div><div class="fancybox-caption-wrap"><div class="fancybox-caption"></div></div></div></div>',spinnerTpl:'<div class="fancybox-loading"></div>',errorTpl:'<div class="fancybox-error"><p>{{ERROR}}<p></div>',btnTpl:{download:'<a download data-fancybox-download class="fancybox-button fancybox-button--download" title="{{DOWNLOAD}}"><svg viewBox="0 0 40 40"><path d="M20,23 L20,8 L20,23 L13,16 L20,23 L27,16 L20,23 M26,28 L13,28 L27,28 L14,28" /></svg></a>',zoom:'<button data-fancybox-zoom class="fancybox-button fancybox-button--zoom" title="{{ZOOM}}"><svg viewBox="0 0 40 40"><path d="M 18,17 m-8,0 a 8,8 0 1,0 16,0 a 8,8 0 1,0 -16,0 M25,23 L31,29 L25,23" /></svg></button>',close:'<button data-fancybox-close class="fancybox-button fancybox-button--close" title="{{CLOSE}}"><svg viewBox="0 0 40 40"><path d="M10,10 L30,30 M30,10 L10,30" /></svg></button>',smallBtn:'<button data-fancybox-close class="fancybox-close-small" title="{{CLOSE}}"></button>',arrowLeft:'<button data-fancybox-prev class="fancybox-button fancybox-button--arrow_left" title="{{PREV}}"><svg viewBox="0 0 40 40"><path d="M10,20 L30,20 L10,20 L18,28 L10,20 L18,12 L10,20"></path></svg></button>',arrowRight:'<button data-fancybox-next class="fancybox-button fancybox-button--arrow_right" title="{{NEXT}}"><svg viewBox="0 0 40 40"><path d="M30,20 L10,20 L30,20 L22,28 L30,20 L22,12 L30,20"></path></svg></button>'},parentEl:"body",autoFocus:!1,backFocus:!0,trapFocus:!0,fullScreen:{autoStart:!1},touch:{vertical:!0,momentum:!0},hash:null,media:{},slideShow:{autoStart:!1,speed:4e3},thumbs:{autoStart:!1,hideOnClose:!0,parentEl:".fancybox-container",axis:"y"},wheel:"auto",onInit:g.noop,beforeLoad:g.noop,afterLoad:g.noop,beforeShow:g.noop,afterShow:g.noop,beforeClose:g.noop,afterClose:g.noop,onActivate:g.noop,onDeactivate:g.noop,clickContent:function(t,e){return"image"===t.type&&"zoom"},clickSlide:"close",clickOutside:"close",dblclickContent:!1,dblclickSlide:!1,dblclickOutside:!1,mobile:{idleTime:!1,margin:0,clickContent:function(t,e){return"image"===t.type&&"toggleControls"},clickSlide:function(t,e){return"image"===t.type?"toggleControls":"close"},dblclickContent:function(t,e){return"image"===t.type&&"zoom"},dblclickSlide:function(t,e){return"image"===t.type&&"zoom"}},lang:"en",i18n:{en:{CLOSE:"Close",NEXT:"Next",PREV:"Previous",ERROR:"The requested content cannot be loaded. <br/> Please try again later.",PLAY_START:"Start slideshow",PLAY_STOP:"Pause slideshow",FULL_SCREEN:"Full screen",THUMBS:"Thumbnails",DOWNLOAD:"Download",SHARE:"Share",ZOOM:"Zoom"},de:{CLOSE:"Schliessen",NEXT:"Weiter",PREV:"Zurück",ERROR:"Die angeforderten Daten konnten nicht geladen werden. <br/>
1 Bitte versuchen Sie es später nochmal.",PLAY_START:"Diaschau starten",PLAY_STOP:"Diaschau beenden",FULL_SCREEN:"Vollbild",THUMBS:"Vorschaubilder",DOWNLOAD:"Herunterladen",SHARE:"Teilen",ZOOM:"Maßstab"}}},a=g(c),l=g(s),n=0,u=c.requestAnimationFrame||c.webkitRequestAnimationFrame||c.mozRequestAnimationFrame||c.oRequestAnimationFrame||function(t){return c.setTimeout(t,1e3/60)},h=function(){var t,e=s.createElement("fakeelement"),i={transition:"transitionend",OTransition:"oTransitionEnd",MozTransition:"transitionend",WebkitTransition:"webkitTransitionEnd"};for(t in i)if(e.style[t]!==m)return i[t];return"transitionend"}(),f=function(t){return t&&t.length&&t[0].offsetHeight},o=function(t,e,i){var o=this;o.opts=g.extend(!0,{index:i},g.fancybox.defaults,e||{}),g.fancybox.isMobile&&(o.opts=g.extend(!0,{},o.opts,o.opts.mobile)),e&&g.isArray(e.buttons)&&(o.opts.buttons=e.buttons),o.id=o.opts.id||++n,o.group=[],o.currIndex=parseInt(o.opts.index,10)||0,o.prevIndex=null,o.prevPos=null,o.currPos=0,o.firstRun=null,o.createGroup(t),o.group.length&&(o.$lastFocus=g(s.activeElement).blur(),o.slides={},o.init())};g.extend(o.prototype,{init:function(){var t,e,i,o=this,n=o.group[o.currIndex],a=n.opts,r=g.fancybox.scrollbarWidth;o.scrollTop=l.scrollTop(),o.scrollLeft=l.scrollLeft(),g.fancybox.getInstance()||(g("body").addClass("fancybox-active"),/iPad|iPhone|iPod/.test(navigator.userAgent)&&!c.MSStream?"image"!==n.type&&g("body").css("top",-1*g("body").scrollTop()).addClass("fancybox-iosfix"):!g.fancybox.isMobile&&s.body.scrollHeight>c.innerHeight&&(r===m&&(t=g('<div style="width:50px;height:50px;overflow:scroll;" />').appendTo("body"),r=g.fancybox.scrollbarWidth=t[0].offsetWidth-t[0].clientWidth,t.remove()),g("head").append('<style id="fancybox-style-noscroll" type="text/css">.compensate-for-scrollbar { margin-right: '+r+"px; }</style>"),g("body").addClass("compensate-for-scrollbar"))),i="",g.each(a.buttons,function(t,e){i+=a.btnTpl[e]||""}),e=g(o.translate(o,a.baseTpl.replace("{{buttons}}",i).replace("{{arrows}}",a.btnTpl.arrowLeft+a.btnTpl.arrowRight))).attr("id","fancybox-container-"+o.id).addClass("fancybox-is-hidden").addClass(a.baseClass).data("FancyBox",o).appendTo(a.parentEl),o.$refs={container:e},["bg","inner","infobar","toolbar","stage","caption","navigation"].forEach(function(t){o.$refs[t]=e.find(".fancybox-"+t)}),o.trigger("onInit"),o.activate(),o.jumpTo(o.currIndex)},translate:function(t,e){var o=t.opts.i18n[t.opts.lang];return e.replace(/\{\{(\w+)\}\}/g,function(t,e){var i=o[e];return i===m?t:i})},createGroup:function(t){var c=this,e=g.makeArray(t);g.each(e,function(t,e){var i,o,n,a,r,s={},l={};g.isPlainObject(e)?l=(s=e).opts||e:"object"===g.type(e)&&g(e).length?(l=(i=g(e)).data(),(l=g.extend({},l,l.options||{})).$orig=i,s.src=l.src||i.attr("href"),s.type||s.src||(s.type="inline",s.src=e)):s={type:"html",src:e+""},s.opts=g.extend(!0,{},c.opts,l),g.isArray(l.buttons)&&(s.opts.buttons=l.buttons),o=s.type||s.opts.type,a=s.src||"",!o&&a&&(a.match(/(^data:image\/[a-z0-9+\/=]*,)|(\.(jp(e|g|eg)|gif|png|bmp|webp|svg|ico)((\?|#).*)?$)/i)?o="image":a.match(/\.(pdf)((\?|#).*)?$/i)?o="pdf":(n=a.match(/\.(mp4|mov|ogv)((\?|#).*)?$/i))?(o="video",s.opts.videoFormat||(s.opts.videoFormat="video/"+("ogv"===n[1]?"ogg":n[1]))):"#"===a.charAt(0)&&(o="inline")),o?s.type=o:c.trigger("objectNeedsType",s),s.index=c.group.length,s.opts.$orig&&!s.opts.$orig.length&&delete s.opts.$orig,!s.opts.$thumb&&s.opts.$orig&&(s.opts.$thumb=s.opts.$orig.find("img:first")),s.opts.$thumb&&!s.opts.$thumb.length&&delete s.opts.$thumb,"function"===g.type(s.opts.caption)&&(s.opts.caption=s.opts.caption.apply(e,[c,s])),"function"===g.type(c.opts.caption)&&(s.opts.caption=c.opts.caption.apply(e,[c,s])),s.opts.caption instanceof g||(s.opts.caption=s.opts.caption===m?"":s.opts.caption+""),"ajax"===o&&1<(r=a.split(/\s+/,2)).length&&(s.src=r.shift(),s.opts.filter=r.shift()),"auto"==s.opts.smallBtn&&(-1<g.inArray(o,["html","inline","ajax"])?(s.opts.toolbar=!1,s.opts.smallBtn=!0):s.opts.smallBtn=!1),"pdf"===o&&(s.type="iframe",s.opts.iframe.preload=!1),s.opts.modal&&(s.opts=g.extend(!0,s.opts,{infobar:0,toolbar:0,smallBtn:0,keyboard:0,slideShow:0,fullScreen:0,thumbs:0,touch:0,clickContent:!1,clickSlide:!1,clickOutside:!1,dblclickContent:!1,dblclickSlide:!1,dblclickOutside:!1})),c.group.push(s)})},addEvents:function(){var o=this;o.removeEvents(),o.$refs.container.on("click.fb-close","[data-fancybox-close]",function(t){t.stopPropagation(),t.preventDefault(),o.close(t)}).on("click.fb-prev touchend.fb-prev","[data-fancybox-prev]",function(t){t.stopPropagation(),t.preventDefault(),o.previous()}).on("click.fb-next touchend.fb-next","[data-fancybox-next]",function(t){t.stopPropagation(),t.preventDefault(),o.next()}).on("click.fb","[data-fancybox-zoom]",function(t){o[o.isScaledDown()?"scaleToActual":"scaleToFit"]()}),a.on("orientationchange.fb resize.fb",function(t){t&&t.originalEvent&&"resize"===t.originalEvent.type?u(function(){o.update()}):(o.$refs.stage.hide(),setTimeout(function(){o.$refs.stage.show(),o.update()},600))}),l.on("focusin.fb",function(t){var e=g.fancybox?g.fancybox.getInstance():null;e.isClosing||!e.current||!e.current.opts.trapFocus||g(t.target).hasClass("fancybox-container")||g(t.target).is(s)||e&&"fixed"!==g(t.target).css("position")&&!e.$refs.container.has(t.target).length&&(t.stopPropagation(),e.focus(),a.scrollTop(o.scrollTop).scrollLeft(o.scrollLeft))}
1),l.on("keydown.fb",function(t){var e=o.current,i=t.keyCode||t.which;if(e&&e.opts.keyboard&&!g(t.target).is("input")&&!g(t.target).is("textarea"))return 8===i||27===i?(t.preventDefault(),void o.close(t)):37===i||38===i?(t.preventDefault(),void o.previous()):39===i||40===i?(t.preventDefault(),void o.next()):void o.trigger("afterKeydown",t,i)}),o.group[o.currIndex].opts.idleTime&&(o.idleSecondsCounter=0,l.on("mousemove.fb-idle mouseleave.fb-idle mousedown.fb-idle touchstart.fb-idle touchmove.fb-idle scroll.fb-idle keydown.fb-idle",function(t){o.idleSecondsCounter=0,o.isIdle&&o.showControls(),o.isIdle=!1}),o.idleInterval=c.setInterval(function(){o.idleSecondsCounter++,o.idleSecondsCounter>=o.group[o.currIndex].opts.idleTime&&!o.isDragging&&(o.isIdle=!0,o.idleSecondsCounter=0,o.hideControls())},1e3))},removeEvents:function(){a.off("orientationchange.fb resize.fb"),l.off("focusin.fb keydown.fb .fb-idle"),this.$refs.container.off(".fb-close .fb-prev .fb-next"),this.idleInterval&&(c.clearInterval(this.idleInterval),this.idleInterval=null)},previous:function(t){return this.jumpTo(this.currPos-1,t)},next:function(t){return this.jumpTo(this.currPos+1,t)},jumpTo:function(t,o,e){var i,n,a,r,s,l,c,d=this,u=d.group.length;if(!(d.isDragging||d.isClosing||d.isAnimating&&d.firstRun)){if(t=parseInt(t,10),!(n=d.current?d.current.opts.loop:d.opts.loop)&&(t<0||u<=t))return!1;if(i=d.firstRun=null===d.firstRun,!(u<2&&!i&&d.isDragging)){if(r=d.current,d.prevIndex=d.currIndex,d.prevPos=d.currPos,a=d.createSlide(t),1<u&&((n||0<a.index)&&d.createSlide(t-1),(n||a.index<u-1)&&d.createSlide(t+1)),d.current=a,d.currIndex=a.index,d.currPos=a.pos,d.trigger("beforeShow",i),d.updateControls(),l=g.fancybox.getTranslate(a.$slide),a.isMoved=(0!==l.left||0!==l.top)&&!a.$slide.hasClass("fancybox-animated"),a.forcedDuration=m,g.isNumeric(o)?a.forcedDuration=o:o=a.opts[i?"animationDuration":"transitionDuration"],o=parseInt(o,10),i)return a.opts.animationEffect&&o&&d.$refs.container.css("transition-duration",o+"ms"),d.$refs.container.removeClass("fancybox-is-hidden"),f(d.$refs.container),d.$refs.container.addClass("fancybox-is-open"),a.$slide.addClass("fancybox-slide--current"),d.loadSlide(a),void d.preload("image");g.each(d.slides,function(t,e){g.fancybox.stop(e.$slide)}),a.$slide.removeClass("fancybox-slide--next fancybox-slide--previous").addClass("fancybox-slide--current"),a.isMoved?(s=Math.round(a.$slide.width()),g.each(d.slides,function(t,e){var i=e.pos-a.pos;g.fancybox.animate(e.$slide,{top:0,left:i*s+i*e.opts.gutter},o,function(){e.$slide.removeAttr("style").removeClass("fancybox-slide--next fancybox-slide--previous"),e.pos===d.currPos&&(a.isMoved=!1,d.complete())})})):d.$refs.stage.children().removeAttr("style"),a.isLoaded?d.revealContent(a):d.loadSlide(a),d.preload("image"),r.pos!==a.pos&&(c="fancybox-slide--"+(r.pos>a.pos?"next":"previous"),r.$slide.removeClass("fancybox-slide--complete fancybox-slide--current fancybox-slide--next fancybox-slide--previous"),r.isComplete=!1,o&&(a.isMoved||a.opts.transitionEffect)&&(a.isMoved?r.$slide.addClass(c):(c="fancybox-animated "+c+" fancybox-fx-"+a.opts.transitionEffect,g.fancybox.animate(r.$slide,c,o,function(){r.$slide.removeClass(c).removeAttr("style")}))))}}},createSlide:function(t){var e,i,o=this;return i=(i=t%o.group.length)<0?o.group.length+i:i,!o.slides[t]&&o.group[i]&&(e=g('<div class="fancybox-slide"></div>').appendTo(o.$refs.stage),o.slides[t]=g.extend(!0,{},o.group[i],{pos:t,$slide:e,isLoaded:!1}),o.updateSlide(o.slides[t])),o.slides[t]},scaleToActual:function(t,e,i){var o,n,a,r,s,l=this,c=l.current,d=c.$content,u=parseInt(c.$slide.width(),10),h=parseInt(c.$slide.height(),10),f=c.width,p=c.height;"image"!=c.type||c.hasError||!d||l.isAnimating||(g.fancybox.stop(d),l.isAnimating=!0,t=t===m?.5*u:t,e=e===m?.5*h:e,r=f/(o=g.fancybox.getTranslate(d)).width,s=p/o.height,n=.5*u-.5*f,a=.5*h-.5*p,u<f&&(0<(n=o.left*r-(t*r-t))&&(n=0),n<u-f&&(n=u-f)),h<p&&(0<(a=o.top*s-(e*s-e))&&(a=0),a<h-p&&(a=h-p)),l.updateCursor(f,p),g.fancybox.animate(d,{top:a,left:n,scaleX:r,scaleY:s},i||330,function(){l.isAnimating=!1}),l.SlideShow&&l.SlideShow.isActive&&l.SlideShow.stop())},scaleToFit:function(t){var e,i=this,o=i.current,n=o.$content;"image"!=o.type||o.hasError||!n||i.isAnimating||(g.fancybox.stop(n),i.isAnimating=!0,e=i.getFitPos(o),i.updateCursor(e.width,e.height),g.fancybox.animate(n,{top:e.top,left
1:e.left,scaleX:e.width/n.width(),scaleY:e.height/n.height()},t||330,function(){i.isAnimating=!1}))},getFitPos:function(t){var e,i,o,n,a,r=t.$content,s=t.width,l=t.height,c=t.opts.margin;return!(!r||!r.length||!s&&!l)&&("number"===g.type(c)&&(c=[c,c]),2==c.length&&(c=[c[0],c[1],c[0],c[1]]),e=parseInt(this.$refs.stage.width(),10)-(c[1]+c[3]),i=parseInt(this.$refs.stage.height(),10)-(c[0]+c[2]),o=Math.min(1,e/s,i/l),n=Math.floor(o*s),a=Math.floor(o*l),{top:Math.floor(.5*(i-a))+c[0],left:Math.floor(.5*(e-n))+c[3],width:n,height:a})},update:function(){var i=this;g.each(i.slides,function(t,e){i.updateSlide(e)})},updateSlide:function(t,e){var i=this,o=t&&t.$content;o&&(t.width||t.height)&&(i.isAnimating=!1,g.fancybox.stop(o),g.fancybox.setTranslate(o,i.getFitPos(t)),t.pos===i.currPos&&i.updateCursor()),t.$slide.trigger("refresh"),i.trigger("onUpdate",t)},centerSlide:function(t,e){var i,o;this.current&&(i=Math.round(t.$slide.width()),o=t.pos-this.current.pos,g.fancybox.animate(t.$slide,{top:0,left:o*i+o*t.opts.gutter,opacity:1},e===m?0:e,null,!1))},updateCursor:function(t,e){var i=this,o=i.$refs.container.removeClass("fancybox-is-zoomable fancybox-can-zoomIn fancybox-can-drag fancybox-can-zoomOut");i.current&&!i.isClosing&&(i.isZoomable()?(o.addClass("fancybox-is-zoomable"),(t!==m&&e!==m?t<i.current.width&&e<i.current.height:i.isScaledDown())?o.addClass("fancybox-can-zoomIn"):i.current.opts.touch?o.addClass("fancybox-can-drag"):o.addClass("fancybox-can-zoomOut")):i.current.opts.touch&&o.addClass("fancybox-can-drag"))},isZoomable:function(){var t,e=this.current;if(e&&!this.isClosing)return!!("image"===e.type&&e.isLoaded&&!e.hasError&&("zoom"===e.opts.clickContent||g.isFunction(e.opts.clickContent)&&"zoom"===e.opts.clickContent(e))&&(t=this.getFitPos(e),e.width>t.width||e.height>t.height))},isScaledDown:function(){var t=this.current,e=t.$content,i=!1;return e&&(i=(i=g.fancybox.getTranslate(e)).width<t.width||i.height<t.height),i},canPan:function(){var t=this.current,e=t.$content,i=!1;return e&&(i=this.getFitPos(t),i=1<Math.abs(e.width()-i.width)||1<Math.abs(e.height()-i.height)),i},loadSlide:function(i){var t,e,o,n=this;if(!i.isLoading&&!i.isLoaded){switch(i.isLoading=!0,n.trigger("beforeLoad",i),t=i.type,(e=i.$slide).off("refresh").trigger("onReset").addClass("fancybox-slide--"+(t||"unknown")).addClass(i.opts.slideClass),t){case"image":n.setImage(i);break;case"iframe":n.setIframe(i);break;case"html":n.setContent(i,i.src||i.content);break;case"inline":g(i.src).length?n.setContent(i,g(i.src)):n.setError(i);break;case"ajax":n.showLoading(i),o=g.ajax(g.extend({},i.opts.ajax.settings,{url:i.src,success:function(t,e){"success"===e&&n.setContent(i,t)},error:function(t,e){t&&"abort"!==e&&n.setError(i)}})),e.one("onReset",function(){o.abort()});break;case"video":n.setContent(i,'<video controls><source src="'+i.src+'" type="'+i.opts.videoFormat+"\">Your browser doesn't support HTML5 video</video>");break;default:n.setError(i)}return!0}},setImage:function(t){var e,i,o,n,a=this,r=t.opts.srcset||t.opts.image.srcset;if(r){o=c.devicePixelRatio||1,n=c.innerWidth*o,(i=r.split(",").map(function(t){var o={};return t.trim().split(/\s+/).forEach(function(t,e){var i=parseInt(t.substring(0,t.length-1),10);if(0===e)return o.url=t;i&&(o.value=i,o.postfix=t[t.length-1])}),o})).sort(function(t,e){return t.value-e.value});for(var s=0;s<i.length;s++){var l=i[s];if("w"===l.postfix&&l.value>=n||"x"===l.postfix&&l.value>=o){e=l;break}}!e&&i.length&&(e=i[i.length-1]),e&&(t.src=e.url,t.width&&t.height&&"w"==e.postfix&&(t.height=t.width/t.height*e.value,t.width=e.value))}t.$content=g('<div class="fancybox-image-wrap"></div>').addClass("fancybox-is-hidden").appendTo(t.$slide),!1!==t.opts.preload&&t.opts.width&&t.opts.height&&(t.opts.thumb||t.opts.$thumb)?(t.width=t.opts.width,t.height=t.opts.height,t.$ghost=g("<img />").one("error",function(){g(this).remove(),t.$ghost=null,a.setBigImage(t)}).one("load",function(){a.afterLoad(t),a.setBigImage(t)}).addClass("fancybox-image").appendTo(t.$content).attr("src",t.opts.thumb||t.opts.$thumb.attr("src"))):a.setBigImage(t)},setBigImage:function(t){var e=this,i=g("<img />");t.$image=i.one("error",function(){e.setError(t)}).one("load",function(){clearTimeout(t.timouts),t.timouts=null,e.isClosing||(t.width=t.opts.width||this.naturalWi
1dth,t.height=t.opts.height||this.naturalHeight,t.opts.image.srcset&&i.attr("sizes","100vw").attr("srcset",t.opts.image.srcset),e.hideLoading(t),t.$ghost?t.timouts=setTimeout(function(){t.timouts=null,t.$ghost.hide()},Math.min(300,Math.max(1e3,t.height/1600))):e.afterLoad(t))}).addClass("fancybox-image").attr("src",t.src).appendTo(t.$content),(i[0].complete||"complete"==i[0].readyState)&&i[0].naturalWidth&&i[0].naturalHeight?i.trigger("load"):i[0].error?i.trigger("error"):t.timouts=setTimeout(function(){i[0].complete||t.hasError||e.showLoading(t)},100)},setIframe:function(a){var r,e=this,s=a.opts.iframe,t=a.$slide;a.$content=g('<div class="fancybox-content'+(s.preload?" fancybox-is-hidden":"")+'"></div>').css(s.css).appendTo(t),r=g(s.tpl.replace(/\{rnd\}/g,(new Date).getTime())).attr(s.attr).appendTo(a.$content),s.preload?(e.showLoading(a),r.on("load.fb error.fb",function(t){this.isReady=1,a.$slide.trigger("refresh"),e.afterLoad(a)}),t.on("refresh.fb",function(){var t,e,i=a.$content,o=s.css.width,n=s.css.height;if(1===r[0].isReady){try{e=r.contents().find("body")}catch(t){}e&&e.length&&(o===m&&(t=r[0].contentWindow.document.documentElement.scrollWidth,o=Math.ceil(e.outerWidth(!0)+(i.width()-t)),o+=i.outerWidth()-i.innerWidth()),n===m&&(n=Math.ceil(e.outerHeight(!0)),n+=i.outerHeight()-i.innerHeight()),o&&i.width(o),n&&i.height(n)),i.removeClass("fancybox-is-hidden")}})):this.afterLoad(a),r.attr("src",a.src),!0===a.opts.smallBtn&&a.$content.prepend(e.translate(a,a.opts.btnTpl.smallBtn)),t.one("onReset",function(){try{g(this).find("iframe").hide().attr("src","//about:blank")}catch(t){}g(this).empty(),a.isLoaded=!1})},setContent:function(t,e){var i;this.isClosing||(this.hideLoading(t),t.$slide.empty(),(i=e)&&i.hasOwnProperty&&i instanceof g&&e.parent().length?(e.parent(".fancybox-slide--inline").trigger("onReset"),t.$placeholder=g("<div></div>").hide().insertAfter(e),e.css("display","inline-block")):t.hasError||("string"===g.type(e)&&3===(e=g("<div>").append(g.trim(e)).contents())[0].nodeType&&(e=g("<div>").html(e)),t.opts.filter&&(e=g("<div>").html(e).find(t.opts.filter))),t.$slide.one("onReset",function(){g(this).find("video,audio").trigger("pause"),t.$placeholder&&(t.$placeholder.after(e.hide()).remove(),t.$placeholder=null),t.$smallBtn&&(t.$smallBtn.remove(),t.$smallBtn=null),t.hasError||(g(this).empty(),t.isLoaded=!1)}),t.$content=g(e).appendTo(t.$slide),this.afterLoad(t))},setError:function(t){t.hasError=!0,t.$slide.removeClass("fancybox-slide--"+t.type),this.setContent(t,this.translate(t,t.opts.errorTpl))},showLoading:function(t){(t=t||this.current)&&!t.$spinner&&(t.$spinner=g(this.opts.spinnerTpl).appendTo(t.$slide))},hideLoading:function(t){(t=t||this.current)&&t.$spinner&&(t.$spinner.remove(),delete t.$spinner)},afterLoad:function(t){var e=this;e.isClosing||(t.isLoading=!1,t.isLoaded=!0,e.trigger("afterLoad",t),e.hideLoading(t),t.opts.smallBtn&&!t.$smallBtn&&(t.$smallBtn=g(e.translate(t,t.opts.btnTpl.smallBtn)).appendTo(t.$content.filter("div,form").first())),t.opts.protect&&t.$content&&!t.hasError&&(t.$content.on("contextmenu.fb",function(t){return 2==t.button&&t.preventDefault(),!0}),"image"===t.type&&g('<div class="fancybox-spaceball"></div>').appendTo(t.$content)),e.revealContent(t))},revealContent:function(e){var t,i,o,n,a,r=this,s=e.$slide,l=!1;return t=e.opts[r.firstRun?"animationEffect":"transitionEffect"],o=e.opts[r.firstRun?"animationDuration":"transitionDuration"],o=parseInt(e.forcedDuration===m?o:e.forcedDuration,10),!e.isMoved&&e.pos===r.currPos&&o||(t=!1),"zoom"!==t||e.pos===r.currPos&&o&&"image"===e.type&&!e.hasError&&(l=r.getThumbPos(e))||(t="fade"),"zoom"===t?((a=r.getFitPos(e)).scaleX=a.width/l.width,a.scaleY=a.height/l.height,delete a.width,delete a.height,"auto"==(n=e.opts.zoomOpacity)&&(n=.1<Math.abs(e.width/e.height-l.width/l.height)),n&&(l.opacity=.1,a.opacity=1),g.fancybox.setTranslate(e.$content.removeClass("fancybox-is-hidden"),l),f(e.$content),void g.fancybox.animate(e.$content,a,o,function(){r.complete()})):(r.updateSlide(e),t?(g.fancybox.stop(s),i="fancybox-animated fancybox-slide--"+(e.pos>=r.prevPos?"next":"previous")+" fancybox-fx-"+t,s.removeAttr("style").removeClass("fancybox-slide--current fancybox-slide--next fancybox-slide--previous").addClass(i),e.$content.removeClass("fancybox-is-hidden"),f(s),void g.fancybox.animate(s,"fancybox-slide--current",o,function(t){s.removeClass(i).removeAttr("style"),e.pos===r.currPos&&r.complete()},!0)):(f(s),e.$content.removeClass("fancybox-is-hidden"),void(e.pos===r.currPos&&r.complete())))},getThumbPos:function(t){var e,i=!1,o=t.opts.$thumb,n=o?o.offset():0;return n&&o[0].ownerDocument===s&&function(t){for(var e=t[0],o=e.getBoundingClientRect(),i=[];null!==e.parentElement;)"hidden"!==g(e.parentElement).css("overflow")&&"auto"!==g(e.parentElement).css("overflow")||i.push(e.parentElement.getBoundingClientRect()),e=e.parentElement;return i.every(function(t){var e=Math.min(o.right,t.right)-Math.max(o.left,t.left),i=Math.min(o.bottom,t.bottom)-Math.max(o.top,t.top);return 0<e&&0<i})&&0<o.bottom&&0<o.right&&o.left<g(c).width()&&o.top<g(c).height()}(o)&&(e=this.$refs.stage.offset(),i={top:n.top-e.top+parseFloat(o.css("border-top-width")||0),left
1:n.left-e.left+parseFloat(o.css("border-left-width")||0),width:o.width(),height:o.height(),scaleX:1,scaleY:1}),i},complete:function(){var i=this,t=i.current,o={};t.isMoved||!t.isLoaded||t.isComplete||(t.isComplete=!0,t.$slide.siblings().trigger("onReset"),i.preload("inline"),f(t.$slide),t.$slide.addClass("fancybox-slide--complete"),g.each(i.slides,function(t,e){e.pos>=i.currPos-1&&e.pos<=i.currPos+1?o[e.pos]=e:e&&(g.fancybox.stop(e.$slide),e.$slide.off().remove())}),i.slides=o,i.updateCursor(),i.trigger("afterShow"),t.$slide.find("video,audio").first().trigger("play"),(g(s.activeElement).is("[disabled]")||t.opts.autoFocus&&"image"!=t.type&&"iframe"!==t.type)&&i.focus())},preload:function(t){var e=this,i=e.slides[e.currPos+1],o=e.slides[e.currPos-1];i&&i.type===t&&e.loadSlide(i),o&&o.type===t&&e.loadSlide(o)},focus:function(){var t,e=this.current;this.isClosing||(e&&e.isComplete&&((t=e.$slide.find("input[autofocus]:enabled:visible:first")).length||(t=e.$slide.find("button,:input,[tabindex],a").filter(":enabled:visible:first"))),(t=t&&t.length?t:this.$refs.container).focus())},activate:function(){var e=this;g(".fancybox-container").each(function(){var t=g(this).data("FancyBox");t&&t.id!==e.id&&!t.isClosing&&(t.trigger("onDeactivate"),t.removeEvents(),t.isVisible=!1)}),e.isVisible=!0,(e.current||e.isIdle)&&(e.update(),e.updateControls()),e.trigger("onActivate"),e.addEvents()},close:function(t,e){var i,o,n,a,r,s,l=this,c=l.current,d=function(){l.cleanUp(t)};return!l.isClosing&&(!(l.isClosing=!0)===l.trigger("beforeClose",t)?(l.isClosing=!1,u(function(){l.update()}),!1):(l.removeEvents(),c.timouts&&clearTimeout(c.timouts),n=c.$content,i=c.opts.animationEffect,o=g.isNumeric(e)?e:i?c.opts.animationDuration:0,c.$slide.off(h).removeClass("fancybox-slide--complete fancybox-slide--next fancybox-slide--previous fancybox-animated"),c.$slide.siblings().trigger("onReset").remove(),o&&l.$refs.container.removeClass("fancybox-is-open").addClass("fancybox-is-closing"),l.hideLoading(c),l.hideControls(),l.updateCursor(),"zoom"!==i||!0!==t&&n&&o&&"image"===c.type&&!c.hasError&&(s=l.getThumbPos(c))||(i="fade"),"zoom"===i?(g.fancybox.stop(n),(r=g.fancybox.getTranslate(n)).width=r.width*r.scaleX,r.height=r.height*r.scaleY,"auto"==(a=c.opts.zoomOpacity)&&(a=.1<Math.abs(c.width/c.height-s.width/s.height)),a&&(s.opacity=0),r.scaleX=r.width/s.width,r.scaleY=r.height/s.height,r.width=s.width,r.height=s.height,g.fancybox.setTranslate(c.$content,r),f(c.$content),g.fancybox.animate(c.$content,s,o,d)):i&&o?!0===t?setTimeout(d,o):g.fancybox.animate(c.$slide.removeClass("fancybox-slide--current"),"fancybox-animated fancybox-slide--previous fancybox-fx-"+i,o,d):d(),!0))},cleanUp:function(t){var e,i,o=this,n=g("body");o.current.$slide.trigger("onReset"),o.$refs.container.empty().remove(),o.trigger("afterClose",t),o.$lastFocus&&o.current.opts.backFocus&&o.$lastFocus.focus(),o.current=null,(e=g.fancybox.getInstance())?e.activate():(a.scrollTop(o.scrollTop).scrollLeft(o.scrollLeft),n.removeClass("fancybox-active compensate-for-scrollbar"),n.hasClass("fancybox-iosfix")&&(i=parseInt(s.body.style.top,10),n.removeClass("fancybox-iosfix").css("top","").scrollTop(-1*i)),g("#fancybox-style-noscroll").remove())},trigger:function(t,e){var i,o=Array.prototype.slice.call(arguments,1),n=this,a=e&&e.opts?e:n.current;if(a?o.unshift(a):a=n,o.unshift(n),g.isFunction(a.opts[t])&&(i=a.opts[t].apply(a,o)),!1===i)return i;"afterClose"!==t&&n.$refs?n.$refs.container.trigger(t+".fb",o):l.trigger(t+".fb",o)},updateControls:function(t){var e=this,i=e.current,o=i.index,n=i.opts.caption,a=e.$refs.container,r=e.$refs.caption;i.$slide.trigger("refresh"),e.$caption=n&&n.length?r.html(n):null,e.isHiddenControls||e.isIdle||e.showControls(),a.find("[data-fancybox-count]").html(e.group.length),a.find("[data-fancybox-index]").html(o+1),a.find("[data-fancybox-prev]").prop("disabled",!i.opts.loop&&o<=0),a.find("[data-fancybox-next]").prop("disabled",!i.opts.loop&&o>=e.group.length-1),"image"===i.type?a.find("[data-fancybox-download]").attr("href",i.opts.image.src||i.src).show():a.find("[data-fancybox-download],[data-fancybox-zoom]").hide()}
1,hideControls:function(){this.isHiddenControls=!0,this.$refs.container.removeClass("fancybox-show-infobar fancybox-show-toolbar fancybox-show-caption fancybox-show-nav")},showControls:function(){var t=this,e=t.current?t.current.opts:t.opts,i=t.$refs.container;t.isHiddenControls=!1,t.idleSecondsCounter=0,i.toggleClass("fancybox-show-toolbar",!(!e.toolbar||!e.buttons)).toggleClass("fancybox-show-infobar",!!(e.infobar&&1<t.group.length)).toggleClass("fancybox-show-nav",!!(e.arrows&&1<t.group.length)).toggleClass("fancybox-is-modal",!!e.modal),t.$caption?i.addClass("fancybox-show-caption "):i.removeClass("fancybox-show-caption")},toggleControls:function(){this.isHiddenControls?this.showControls():this.hideControls()}}),g.fancybox={version:"3.2.10",defaults:e,getInstance:function(t){var e=g('.fancybox-container:not(".fancybox-is-closing"):last').data("FancyBox"),i=Array.prototype.slice.call(arguments,1);return e instanceof o&&("string"===g.type(t)?e[t].apply(e,i):"function"===g.type(t)&&t.apply(e,i),e)},open:function(t,e,i){return new o(t,e,i)},close:function(t){var e=this.getInstance();e&&(e.close(),!0===t&&this.close())},destroy:function(){this.close(!0),l.off("click.fb-start")},isMobile:s.createTouch!==m&&/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent),use3d:(t=s.createElement("div"),c.getComputedStyle&&c.getComputedStyle(t).getPropertyValue("transform")&&!(s.documentMode&&s.documentMode<11)),getTranslate:function(t){var e;if(!t||!t.length)return!1;if((e=(e=t.eq(0).css("transform"))&&-1!==e.indexOf("matrix")?(e=(e=e.split("(")[1]).split(")")[0]).split(","):[]).length)e=(e=10<e.length?[e[13],e[12],e[0],e[5]]:[e[5],e[4],e[0],e[3]]).map(parseFloat);else{e=[0,0,1,1];var i=/\.*translate\((.*)px,(.*)px\)/i.exec(t.eq(0).attr("style"));i&&(e[0]=parseFloat(i[2]),e[1]=parseFloat(i[1]))}return{top:e[0],left:e[1],scaleX:e[2],scaleY:e[3],opacity:parseFloat(t.css("opacity")),width:t.width(),height:t.height()}},setTranslate:function(t,e){var i="",o={};if(t&&e)return e.left===m&&e.top===m||(i=(e.left===m?t.position().left:e.left)+"px, "+(e.top===m?t.position().top:e.top)+"px",i=this.use3d?"translate3d("+i+", 0px)":"translate("+i+")"),e.scaleX!==m&&e.scaleY!==m&&(i=(i.length?i+" ":"")+"scale("+e.scaleX+", "+e.scaleY+")"),i.length&&(o.transform=i),e.opacity!==m&&(o.opacity=e.opacity),e.width!==m&&(o.width=e.width),e.height!==m&&(o.height=e.height),t.css(o)},animate:function(e,i,t,o,n){g.isFunction(t)&&(o=t,t=null),g.isPlainObject(i)||e.removeAttr("style"),e.on(h,function(t){(!t||!t.originalEvent||e.is(t.originalEvent.target)&&"z-index"!=t.originalEvent.propertyName)&&(g.fancybox.stop(e),g.isPlainObject(i)?(i.scaleX!==m&&i.scaleY!==m&&(e.css("transition-duration",""),i.width=Math.round(e.width()*i.scaleX),i.height=Math.round(e.height()*i.scaleY),i.scaleX=1,i.scaleY=1,g.fancybox.setTranslate(e,i)),!1===n&&e.removeAttr("style")):!0!==n&&e.removeClass(i),g.isFunction(o)&&o(t))}),g.isNumeric(t)&&e.css("transition-duration",t+"ms"),g.isPlainObject(i)?g.fancybox.setTranslate(e,i):e.addClass(i),i.scaleX&&e.hasClass("fancybox-image-wrap")&&e.parent().addClass("fancybox-is-scaling"),e.data("timer",setTimeout(function(){e.trigger("transitionend")},t+16))},stop:function(t){clearTimeout(t.data("timer")),t.off("transitionend").css("transition-duration",""),t.hasClass("fancybox-image-wrap")&&t.parent().removeClass("fancybox-is-scaling")}},g.fn.fancybox=function(t){var e;return(e=(t=t||{}).selector||!1)?g("body").off("click.fb-start",e).on("click.fb-start",e,{options:t},i):this.off("click.fb-start").on("click.fb-start",{items:this,options:t},i),this},l.on("click.fb-start","[data-fancybox]",i)}function i(t){var e=g(t.currentTarget),i=t.data?t.data.options:{},o=e.attr("data-fancybox")||"",n=0,a=[];t.isDefaultPrevented()||(t.preventDefault(),o?(n=(a=(a=i.selector?g(i.selector):t.data?t.data.items:[]).length?a.filter('[data-fancybox="'+o+'"]'):g('[data-fancybox="'+o+'"]')).index(e))<0&&(n=0):a=[e],g.fancybox.open(a,i,n))}}(window,document,window.jQuery||jQuery),function(h){"use strict";var f=function(i,t,e){if(i)return e=e||"","object"===h.type(e)&&(e=h.param(e,!0)),h.each(t,function(t,e){i=i.replace("$"+t,e||"")}),e.length&&(i+=(0<i.indexOf("?")?"&":"?")+e),i},p={youtube:{matcher:/(youtube\.com|youtu\.be|youtube\-nocookie\.com)\/(watch\?(.*&)?v=|v\/|u\/|embed\/?)?(videoseries\?list=(.*)|[\w-]{11}|\?listType=(.*)&list=(.*))(.*)/i,params:{autoplay:1,autohide:1,fs:1,rel:0,hd:1,wmode:"transparent",enablejsapi:1,html5:1},paramPlace:8,type:"iframe",url:"//www.youtube.com/embed/$4",thumb:"//img.youtube.com/vi/$4/hqdefault.jpg"},vimeo:{matcher:/^.+vimeo.com\/(.*\/)?([\d]+)(.*)?/,params:{autoplay:1,hd:1,show_title:1,show_byline:1,show_portrait:0,fullscreen:1,api:1},paramPlace:3,type:"iframe",url:"//player.vimeo.com/video/$2"},metacafe:{matcher:/metacafe.com\/watch\/(\d+)\/(.*)?/,type:"iframe",url:"//www.metacafe.com/embed/$1/?ap=1"},dailymotion:{matcher:/dailymotion.com\/video\/(.*)\/?(.*)/,params:{additionalInfos:0,autoStart:1},type:"iframe",url:"//www.dailymotion.com/embed/video/$1"},vine:{matcher:/vine.co\/v\/([a-zA-Z0-9\?\=\-]+)/,type:"iframe",url:"//vine.co/v/$1/embed/simple"},instagram:{matcher:/(instagr\.am|instagram\.com)\/p\/([a-zA-Z0-9_\-]+)\/?/i,type:"image",url:"//$1/p/$2/media/?size=l"},gmap_place:{matcher:/(maps\.)?google\.([a-z]{2,3}(\.[a-z]{2})?)\/(((maps\/(place\/(.*)\/)?\@(.*),(\d+.?\d+?)z))|(\?ll=))(.*)?/i,type:"iframe",url:function(t){return"//maps.google."+t[2]+"/?ll="+(t[9]?t[9]+"&z="+Math.floor(t[10])+(t[12]?t[12].replace(/^\//,"&"):""):t[12])+"&output="+(t[12]&&
10<t[12].indexOf("layer=c")?"svembed":"embed")}},gmap_search:{matcher:/(maps\.)?google\.([a-z]{2,3}(\.[a-z]{2})?)\/(maps\/search\/)(.*)/i,type:"iframe",url:function(t){return"//maps.google."+t[2]+"/maps?q="+t[5].replace("query=","q=").replace("api=1","")+"&output=embed"}}};h(document).on("objectNeedsType.fb",function(t,e,n){var i,a,r,s,l,c,o,d=n.src||"",u=!1;i=h.extend(!0,{},p,n.opts.media),h.each(i,function(t,e){if(r=d.match(e.matcher)){if(u=e.type,c={},e.paramPlace&&r[e.paramPlace]){"?"==(l=r[e.paramPlace])[0]&&(l=l.substring(1)),l=l.split("&");for(var i=0;i<l.length;++i){var o=l[i].split("=",2);2==o.length&&(c[o[0]]=decodeURIComponent(o[1].replace(/\+/g," ")))}}return s=h.extend(!0,{},e.params,n.opts[t],c),d="function"===h.type(e.url)?e.url.call(this,r,s,n):f(e.url,r,s),a="function"===h.type(e.thumb)?e.thumb.call(this,r,s,n):f(e.thumb,r),"vimeo"===t&&(d=d.replace("&%23","#")),!1}}),u?(n.src=d,n.type=u,n.opts.thumb||n.opts.$thumb&&n.opts.$thumb.length||(n.opts.thumb=a),"iframe"===u&&(h.extend(!0,n.opts,{iframe:{preload:!1,attr:{scrolling:"no"}}}),n.contentProvider=o,n.opts.slideClass+=" fancybox-slide--video")):d&&(n.type=n.opts.defaultType)})}(window.jQuery||jQuery),function(p,s,g){"use strict";var m=p.requestAnimationFrame||p.webkitRequestAnimationFrame||p.mozRequestAnimationFrame||p.oRequestAnimationFrame||function(t){return p.setTimeout(t,1e3/60)},v=p.cancelAnimationFrame||p.webkitCancelAnimationFrame||p.mozCancelAnimationFrame||p.oCancelAnimationFrame||function(t){p.clearTimeout(t)},d=function(t){var e=[];for(var i in t=(t=t.originalEvent||t||p.e).touches&&t.touches.length?t.touches:t.changedTouches&&t.changedTouches.length?t.changedTouches:[t])t[i].pageX?e.push({x:t[i].pageX,y:t[i].pageY}):t[i].clientX&&e.push({x:t[i].clientX,y:t[i].clientY});return e},b=function(t,e,i){return e&&t?"x"===i?t.x-e.x:"y"===i?t.y-e.y:Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2)):0},l=function(t){if(t.is('a,area,button,[role="button"],input,label,select,summary,textarea')||g.isFunction(t.get(0).onclick)||t.data("selectable"))return!0;for(var e=0,i=t[0].attributes,o=i.length;e<o;e++)if("data-fancybox-"===i[e].nodeName.substr(0,14))return!0;return!1},c=function(t){for(var e,i,o,n,a,r=!1;e=t.get(0),void 0,i=p.getComputedStyle(e)["overflow-y"],o=p.getComputedStyle(e)["overflow-x"],n=("scroll"===i||"auto"===i)&&e.scrollHeight>e.clientHeight,a=("scroll"===o||"auto"===o)&&e.scrollWidth>e.clientWidth,!(r=n||a)&&(t=t.parent()).length&&!t.hasClass("fancybox-stage")&&!t.is("body"););return r},i=function(t){var e=this;e.instance=t,e.$bg=t.$refs.bg,e.$stage=t.$refs.stage,e.$container=t.$refs.container,e.destroy(),e.$container.on("touchstart.fb.touch mousedown.fb.touch",g.proxy(e,"ontouchstart"))};i.prototype.destroy=function(){this.$container.off(".fb.touch")},i.prototype.ontouchstart=function(t){var e=this,i=g(t.target),o=e.instance,n=o.current,a=n.$content,r="touchstart"==t.type;if(r&&e.$container.off("mousedown.fb.touch"),(!t.originalEvent||2!=t.originalEvent.button)&&i.length&&!l(i)&&!l(i.parent())&&(i.is("img")||!(t.originalEvent.clientX>i[0].clientWidth+i.offset().left))){if(!n||e.instance.isAnimating||e.instance.isClosing)return t.stopPropagation(),void t.preventDefault();e.realPoints=e.startPoints=d(t),e.startPoints&&(t.stopPropagation(),e.startEvent=t,e.canTap=!0,e.$target=i,e.$content=a,e.opts=n.opts.touch,e.isPanning=!1,e.isSwiping=!1,e.isZooming=!1,e.isScrolling=!1,e.sliderStartPos=e.sliderLastPos||{top:0,left:0},e.contentStartPos=g.fancybox.getTranslate(e.$content),e.contentLastPos=null,e.startTime=(new Date).getTime(),e.distanceX=e.distanceY=e.distance=0,e.canvasWidth=Math.round(n.$slide[0].clientWidth),e.canvasHeight=Math.round(n.$slide[0].clientHeight),g(s).off(".fb.touch").on(r?"touchend.fb.touch touchcancel.fb.touch":"mouseup.fb.touch mouseleave.fb.touch",g.proxy(e,"ontouchend")).on(r?"touchmove.fb.touch":"mousemove.fb.touch",g.proxy(e,"ontouchmove")),g.fancybox.isMobile&&s.addEventListener("scroll",e.onscroll,!0),(e.opts||o.canPan())&&(i.is(e.$stage)||e.$stage.find(i).length)?(g.fancybox.isMobile&&(c(i)||c(i.parent()))||t.preventDefault(),1===e.startPoints.length&&("image"===n.type&&(e.contentStartPos.width>e.canvasWidth+1||e.contentStartPos.height>e.canvasHeight+1)?(g.fancybox.stop(e.$content),e.$content.css("transition-duration",""),e.isPanning=!0):e.isSwiping=!0,e.$container.addClass("fancybox-controls--isGrabbing")),2!==e.startPoints.length||o.isAnimating||n.hasError||"image"!==n.type||!n.isLoaded&&!n.$ghost||(e.canTap=!1,e.isSwiping=!1,e.isPanning=!1,e.isZooming=!0,g.fancybox.stop(e.$content),e.$content.css("transition-duration",""),e.centerPointStartX=.5*(e.startPoints[0].x+e.startPoints[1].x)-g(p).scrollLeft(),e.centerPointStartY=.5*(e.startPoints[0].y+e.startPoints[1].y)-g(p).scrollTop(),e.percentageOfImageAtPinchPointX=(e.centerPointStartX-e.contentStartPos.left)/e.contentStartPos.width,e.percentageOfImageAtPinchPointY=(e.centerPointStartY-e.contentStartPos.top)/e.contentStartPos.height,e.startDistanceBetweenFingers=b(e.startPoints[0],e.startPoints[1]))):i.is("img")&&t.preventDefault())}},i.prototype.onscroll=function(t){self.isScrolling=!0},i.prototype.ontouchmove=function(t){var e=this,i=g(t.target);e.isScrolling||!i.is(e.$stage)&&!e.$stage.find(i).length?e.canTap=!1:(e.newPoints=d(t),(e.opts||e.instance.canPan())&&e.newPoints&&e.newPoints.length&&(e.isSwiping&&!0===e.isSwiping||t.preventDefault(),e.distanceX=b(e.newPoints[0],e.startPoints[0],"x"),e.distanceY=b(e.newPoints[0],e.startPoints[0],"y"),e.distance=b(e.newPoints[0],e.startPoints[0]),0<e.distance&&(e.isSwiping?e.onSwipe(t):e.isPanning?e.onPan():e.isZooming&&e.onZoom())))},i.prototype.onSwipe=function(t){var e,o=this,i=o.isSwiping,n=o.sliderStartPos.left||0;if(!0!==i)"x"==i&&(0<o.distanceX&&(o.instance.group.length<2||0===o.instance.current.index&&!o.instance.current.opts.loop)?n+=Math.pow(o.distanceX,.8):o.distanceX<0&&(o.instance.group.length<2||o.instance.current.index===o.instance.group.length-1&&!o.instance.current.opts.loop)?n-=Math.pow(-o.distanceX,.8):n+=o.distanceX),o.sliderLastPos={top:"x"==i?0:o.sliderStartPos.top+o.distanceY,left:n},o.requestId&&(v(o.requestId),o.requestId=null),o.requestId=m(function(){o.sliderLastPos&&(g.each(o.instance.slides,function(t,e){var i=e.pos-o.instance.currPos;
1g.fancybox.setTranslate(e.$slide,{top:o.sliderLastPos.top,left:o.sliderLastPos.left+i*o.canvasWidth+i*e.opts.gutter})}),o.$container.addClass("fancybox-is-sliding"))});else if(10<Math.abs(o.distance)){if(o.canTap=!1,o.instance.group.length<2&&o.opts.vertical?o.isSwiping="y":o.instance.isDragging||!1===o.opts.vertical||"auto"===o.opts.vertical&&800<g(p).width()?o.isSwiping="x":(e=Math.abs(180*Math.atan2(o.distanceY,o.distanceX)/Math.PI),o.isSwiping=45<e&&e<135?"y":"x"),o.canTap=!1,"y"===o.isSwiping&&g.fancybox.isMobile&&(c(o.$target)||c(o.$target.parent())))return void(o.isScrolling=!0);o.instance.isDragging=o.isSwiping,o.startPoints=o.newPoints,g.each(o.instance.slides,function(t,e){g.fancybox.stop(e.$slide),e.$slide.css("transition-duration",""),e.inTransition=!1,e.pos===o.instance.current.pos&&(o.sliderStartPos.left=g.fancybox.getTranslate(e.$slide).left)}),o.instance.SlideShow&&o.instance.SlideShow.isActive&&o.instance.SlideShow.stop()}},i.prototype.onPan=function(){var t=this;b(t.newPoints[0],t.realPoints[0])<(g.fancybox.isMobile?10:5)?t.startPoints=t.newPoints:(t.canTap=!1,t.contentLastPos=t.limitMovement(),t.requestId&&(v(t.requestId),t.requestId=null),t.requestId=m(function(){g.fancybox.setTranslate(t.$content,t.contentLastPos)}))},i.prototype.limitMovement=function(){var t,e,i,o,n,a,r=this,s=r.canvasWidth,l=r.canvasHeight,c=r.distanceX,d=r.distanceY,u=r.contentStartPos,h=u.left,f=u.top,p=u.width,g=u.height;return n=s<p?h+c:h,a=f+d,t=Math.max(0,.5*s-.5*p),e=Math.max(0,.5*l-.5*g),i=Math.min(s-p,.5*s-.5*p),o=Math.min(l-g,.5*l-.5*g),s<p&&(0<c&&t<n&&(n=t-1+Math.pow(-t+h+c,.8)||0),c<0&&n<i&&(n=i+1-Math.pow(i-h-c,.8)||0)),l<g&&(0<d&&e<a&&(a=e-1+Math.pow(-e+f+d,.8)||0),d<0&&a<o&&(a=o+1-Math.pow(o-f-d,.8)||0)),{top:a,left:n,scaleX:u.scaleX,scaleY:u.scaleY}},i.prototype.limitPosition=function(t,e,i,o){var n=this.canvasWidth,a=this.canvasHeight;return t=n<i?(t=0<t?0:t)<n-i?n-i:t:Math.max(0,n/2-i/2),{top:e=a<o?(e=0<e?0:e)<a-o?a-o:e:Math.max(0,a/2-o/2),left:t}},i.prototype.onZoom=function(){var t=this,e=t.contentStartPos.width,i=t.contentStartPos.height,o=t.contentStartPos.left,n=t.contentStartPos.top,a=b(t.newPoints[0],t.newPoints[1])/t.startDistanceBetweenFingers,r=Math.floor(e*a),s=Math.floor(i*a),l=(e-r)*t.percentageOfImageAtPinchPointX,c=(i-s)*t.percentageOfImageAtPinchPointY,d=(t.newPoints[0].x+t.newPoints[1].x)/2-g(p).scrollLeft(),u=(t.newPoints[0].y+t.newPoints[1].y)/2-g(p).scrollTop(),h=d-t.centerPointStartX,f={top:n+(c+(u-t.centerPointStartY)),left:o+(l+h),scaleX:t.contentStartPos.scaleX*a,scaleY:t.contentStartPos.scaleY*a};t.canTap=!1,t.newWidth=r,t.newHeight=s,t.contentLastPos=f,t.requestId&&(v(t.requestId),t.requestId=null),t.requestId=m(function(){g.fancybox.setTranslate(t.$content,t.contentLastPos)})},i.prototype.ontouchend=function(t){var e=this,i=Math.max((new Date).getTime()-e.startTime,1),o=e.isSwiping,n=e.isPanning,a=e.isZooming,r=e.isScrolling;if(e.endPoints=d(t),e.$container.removeClass("fancybox-controls--isGrabbing"),g(s).off(".fb.touch"),s.removeEventListener("scroll",e.onscroll,!0),e.requestId&&(v(e.requestId),e.requestId=null),e.isSwiping=!1,e.isPanning=!1,e.isZooming=!1,e.isScrolling=!1,e.instance.isDragging=!1,e.canTap)return e.onTap(t);e.speed=366,e.velocityX=e.distanceX/i*.5,e.velocityY=e.distanceY/i*.5,e.speedX=Math.max(.5*e.speed,Math.min(1.5*e.speed,1/Math.abs(e.velocityX)*e.speed)),n?e.endPanning():a?e.endZooming():e.endSwiping(o,r)},i.prototype.endSwiping=function(t,e){var i=this,o=!1,n=i.instance.group.length;i.sliderLastPos=null,"y"==t&&!e&&50<Math.abs(i.distanceY)?(g.fancybox.animate(i.instance.current.$slide,{top:i.sliderStartPos.top+i.distanceY+150*i.velocityY,opacity:0},150),o=i.instance.close(!0,300)):"x"==t&&50<i.distanceX&&1<n?o=i.instance.previous(i.speedX):"x"==t&&i.distanceX<-50&&1<n&&(o=i.instance.next(i.speedX)),!1!==o||"x"!=t&&"y"!=t||(e||n<2?i.instance.centerSlide(i.instance.current,150):i.instance.jumpTo(i.instance.current.index)),i.$container.removeClass("fancybox-is-sliding")},i.prototype.endPanning=function(){var t,e,i,o=this;o.contentLastPos&&(!1===o.opts.momentum?(t=o.contentLastPos.left,e=o.contentLastPos.top):(t=o.contentLastPos.left+o.velocityX*o.speed,e=o.contentLastPos.top+o.velocityY*o.speed),(i=o.limitPosition(t,e,o.contentStartPos.width,o.contentStartPos.height)).width=o.contentStartPos.width,i.height=o.contentStartPos.height,g.fancybox.animate(o.$content,i,330))},i.prototype.endZooming=function(){var t,e,i,o,n=this,a=n.instance.current,r=n.newWidth,s=n.newHeight;n.contentLastPos&&(t=n.contentLastPos.left,o={top:e=n.contentLastPos.top,left
1:t,width:r,height:s,scaleX:1,scaleY:1},g.fancybox.setTranslate(n.$content,o),r<n.canvasWidth&&s<n.canvasHeight?n.instance.scaleToFit(150):r>a.width||s>a.height?n.instance.scaleToActual(n.centerPointStartX,n.centerPointStartY,150):(i=n.limitPosition(t,e,r,s),g.fancybox.setTranslate(n.content,g.fancybox.getTranslate(n.$content)),g.fancybox.animate(n.$content,i,150)))},i.prototype.onTap=function(i){var t,o=this,e=g(i.target),n=o.instance,a=n.current,r=i&&d(i)||o.startPoints,s=r[0]?r[0].x-o.$stage.offset().left:0,l=r[0]?r[0].y-o.$stage.offset().top:0,c=function(t){var e=a.opts[t];if(g.isFunction(e)&&(e=e.apply(n,[a,i])),e)switch(e){case"close":n.close(o.startEvent);break;case"toggleControls":n.toggleControls(!0);break;case"next":n.next();break;case"nextOrClose":1<n.group.length?n.next():n.close(o.startEvent);break;case"zoom":"image"==a.type&&(a.isLoaded||a.$ghost)&&(n.canPan()?n.scaleToFit():n.isScaledDown()?n.scaleToActual(s,l):n.group.length<2&&n.close(o.startEvent))}};if((!i.originalEvent||2!=i.originalEvent.button)&&(e.is("img")||!(s>e[0].clientWidth+e.offset().left))){if(e.is(".fancybox-bg,.fancybox-inner,.fancybox-outer,.fancybox-container"))t="Outside";else if(e.is(".fancybox-slide"))t="Slide";else{if(!n.current.$content||!n.current.$content.find(e).addBack().filter(e).length)return;t="Content"}if(o.tapped){if(clearTimeout(o.tapped),o.tapped=null,50<Math.abs(s-o.tapX)||50<Math.abs(l-o.tapY))return this;c("dblclick"+t)}else o.tapX=s,o.tapY=l,a.opts["dblclick"+t]&&a.opts["dblclick"+t]!==a.opts["click"+t]?o.tapped=setTimeout(function(){o.tapped=null,c("click"+t)},500):c("click"+t);return this}},g(s).on("onActivate.fb",function(t,e){e&&!e.Guestures&&(e.Guestures=new i(e))})}(window,document,window.jQuery||jQuery),function(r,s){"use strict";s.extend(!0,s.fancybox.defaults,{btnTpl:{slideShow:'<button data-fancybox-play class="fancybox-button fancybox-button--play" title="{{PLAY_START}}"><svg viewBox="0 0 40 40"><path d="M13,12 L27,20 L13,27 Z" /><path d="M15,10 v19 M23,10 v19" /></svg></button>'},slideShow:{autoStart:!1,speed:3e3}});var i=function(t){this.instance=t,this.init()};s.extend(i.prototype,{timer:null,isActive:!1,$button:null,init:function(){var t=this;t.$button=t.instance.$refs.toolbar.find("[data-fancybox-play]").on("click",function(){t.toggle()}),(t.instance.group.length<2||!t.instance.group[t.instance.currIndex].opts.slideShow)&&t.$button.hide()},set:function(t){var e=this;e.instance&&e.instance.current&&(!0===t||e.instance.current.opts.loop||e.instance.currIndex<e.instance.group.length-1)?e.timer=setTimeout(function(){e.isActive&&e.instance.jumpTo((e.instance.currIndex+1)%e.instance.group.length)},e.instance.current.opts.slideShow.speed):(e.stop(),e.instance.idleSecondsCounter=0,e.instance.showControls())},clear:function(){clearTimeout(this.timer),this.timer=null},start:function(){var t=this.instance.current;t&&(this.isActive=!0,this.$button.attr("title",t.opts.i18n[t.opts.lang].PLAY_STOP).removeClass("fancybox-button--play").addClass("fancybox-button--pause"),this.set(!0))},stop:function(){var t=this.instance.current;this.clear(),this.$button.attr("title",t.opts.i18n[t.opts.lang].PLAY_START).removeClass("fancybox-button--pause").addClass("fancybox-button--play"),this.isActive=!1},toggle:function(){this.isActive?this.stop():this.start()}}),s(r).on({"onInit.fb":function(t,e){e&&!e.SlideShow&&(e.SlideShow=new i(e))},"beforeShow.fb":function(t,e,i,o){var n=e&&e.SlideShow;o?n&&i.opts.slideShow.autoStart&&n.start():n&&n.isActive&&n.clear()},"afterShow.fb":function(t,e,i){var o=e&&e.SlideShow;o&&o.isActive&&o.set()},"afterKeydown.fb":function(t,e,i,o,n){var a=e&&e.SlideShow;!a||!i.opts.slideShow||80!==n&&32!==n||s(r.activeElement).is("button,a,input")||(o.preventDefault(),a.toggle())},"beforeClose.fb onDeactivate.fb":function(t,e){var i=e&&e.SlideShow;i&&i.stop()}}),s(r).on("visibilitychange",function(){var t=s.fancybox.getInstance(),e=t&&t.SlideShow;e&&e.isActive&&(r.hidden?e.clear():e.set())})}(document,window.jQuery||jQuery),function(a,i){"use strict";var e=function(){var t,e,i,o=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["
1webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]],n={};for(e=0;e<o.length;e++)if((t=o[e])&&t[1]in a){for(i=0;i<t.length;i++)n[o[0][i]]=t[i];return n}return!1}();if(e){var o={request:function(t){(t=t||a.documentElement)[e.requestFullscreen](t.ALLOW_KEYBOARD_INPUT)},exit:function(){a[e.exitFullscreen]()},toggle:function(t){t=t||a.documentElement,this.isFullscreen()?this.exit():this.request(t)},isFullscreen:function(){return Boolean(a[e.fullscreenElement])},enabled:function(){return Boolean(a[e.fullscreenEnabled])}};i.extend(!0,i.fancybox.defaults,{btnTpl:{fullScreen:'<button data-fancybox-fullscreen class="fancybox-button fancybox-button--fullscreen" title="{{FULL_SCREEN}}"><svg viewBox="0 0 40 40"><path d="M9,12 h22 v16 h-22 v-16 v16 h22 v-16 Z" /></svg></button>'},fullScreen:{autoStart:!1}}),i(a).on({"onInit.fb":function(t,e){var i;e&&e.group[e.currIndex].opts.fullScreen?((i=e.$refs.container).on("click.fb-fullscreen","[data-fancybox-fullscreen]",function(t){t.stopPropagation(),t.preventDefault(),o.toggle(i[0])}),e.opts.fullScreen&&!0===e.opts.fullScreen.autoStart&&o.request(i[0]),e.FullScreen=o):e&&e.$refs.toolbar.find("[data-fancybox-fullscreen]").hide()},"afterKeydown.fb":function(t,e,i,o,n){e&&e.FullScreen&&70===n&&(o.preventDefault(),e.FullScreen.toggle(e.$refs.container[0]))},"beforeClose.fb":function(t){t&&t.FullScreen&&o.exit()}}),i(a).on(e.fullscreenchange,function(){var t=o.isFullscreen(),e=i.fancybox.getInstance();e&&(e.current&&"image"===e.current.type&&e.isAnimating&&(e.current.$content.css("transition","none"),e.isAnimating=!1,e.update(!0,!0,0)),e.trigger("onFullscreenChange",t),e.$refs.container.toggleClass("fancybox-is-fullscreen",t))})}else i&&i.fancybox&&(i.fancybox.defaults.btnTpl.fullScreen=!1)}(document,window.jQuery||jQuery),function(t,s){"use strict";s.fancybox.defaults=s.extend(!0,{btnTpl:{thumbs:'<button data-fancybox-thumbs class="fancybox-button fancybox-button--thumbs" title="{{THUMBS}}"><svg viewBox="0 0 120 120"><path d="M30,30 h14 v14 h-14 Z M50,30 h14 v14 h-14 Z M70,30 h14 v14 h-14 Z M30,50 h14 v14 h-14 Z M50,50 h14 v14 h-14 Z M70,50 h14 v14 h-14 Z M30,70 h14 v14 h-14 Z M50,70 h14 v14 h-14 Z M70,70 h14 v14 h-14 Z" /></svg></button>'},thumbs:{autoStart:!1,hideOnClose:!0,parentEl:".fancybox-container",axis:"y"}},s.fancybox.defaults);var o=function(t){this.init(t)};s.extend(o.prototype,{$button:null,$grid:null,$list:null,isVisible:!1,isActive:!1,init:function(t){var e=this;(e.instance=t).Thumbs=e;var i=t.group[0],o=t.group[1];e.opts=t.group[t.currIndex].opts.thumbs,e.$button=t.$refs.toolbar.find("[data-fancybox-thumbs]"),e.opts&&i&&o&&("image"==i.type||i.opts.thumb||i.opts.$thumb)&&("image"==o.type||o.opts.thumb||o.opts.$thumb)?(e.$button.show().on("click",function(){e.toggle()}),e.isActive=!0):e.$button.hide()},create:function(){var i,o,t=this,e=t.instance,n=t.opts.parentEl;t.$grid=s('<div class="fancybox-thumbs fancybox-thumbs-'+t.opts.axis+'"></div>').appendTo(e.$refs.container.find(n).addBack().filter(n)),i="<ul>",s.each(e.group,function(t,e){(o=e.opts.thumb||(e.opts.$thumb?e.opts.$thumb.attr("src"):null))||"image"!==e.type||(o=e.src),o&&o.length&&(i+='<li data-index="'+t+'"  tabindex="0" class="fancybox-thumbs-loading"><img data-src="'+o+'" /></li>')}),i+="</ul>",t.$list=s(i).appendTo(t.$grid).on("click","li",function(){e.jumpTo(s(this).data("index"))}),t.$list.find("img").hide().one("load",function(){var t,e,i,o,n=s(this).parent().removeClass("fancybox-thumbs-loading"),a=n.outerWidth(),r=n.outerHeight();t=this.naturalWidth||this.width,o=(e=this.naturalHeight||this.height)/r,1<=(i=t/a)&&1<=o&&(o<i?(t/=o,e=r):(t=a,e/=i)),s(this).css({width:Math.floor(t),height:Math.floor(e),"margin-top":r<e?Math.floor(.3*r-.3*e):Math.floor(.5*r-.5*e),"margin-left":Math.floor(.5*a-.5*t)}).show()}).each(function(){this.src=s(this).data("src")}),"x"===t.opts.axis&&t.$list.width(parseInt(t.$grid.css("padding-right"))+e.group.length*t.$list.children().eq(0).outerWidth(!0)+"px")},focus:function(t){var e,i,o=this,n=o.$list;o.instance.current&&(i=(e=n.children().removeClass("fancybox-thumbs-active").filter('[data-index="'+o.instance.current.index+'"]').addClass("fancybox-thumbs-active")).position(),"y"===o.opts.axis&&(i.top<0||i.top>n.height()-e.outerHeight())?n.stop().animate({scrollTop:n.scrollTop()+i.top},t):"x"===o.opts.axis&&(i.left<n.parent().scrollLeft()||i.left>n.parent().scrollLeft()+(n.parent().width()-e.outerWidth()))&&n.parent().stop().animate({scrollLeft:i.left},t))},update:function(){this.instance.$refs.container.toggleClass("fancybox-show-thumbs",this.isVisible),this.isVisible?(this.$grid||this.create(),this.instance.trigger("onThumbsShow"),this.focus(0)):this.$grid&&this.instance.trigger("onThumbsHide"),this.instance.update(
1)},hide:function(){this.isVisible=!1,this.update()},show:function(){this.isVisible=!0,this.update()},toggle:function(){this.isVisible=!this.isVisible,this.update()}}),s(t).on({"onInit.fb":function(t,e){var i;e&&!e.Thumbs&&(i=new o(e)).isActive&&!0===i.opts.autoStart&&i.show()},"beforeShow.fb":function(t,e,i,o){var n=e&&e.Thumbs;n&&n.isVisible&&n.focus(o?0:250)},"afterKeydown.fb":function(t,e,i,o,n){var a=e&&e.Thumbs;a&&a.isActive&&71===n&&(o.preventDefault(),a.toggle())},"beforeClose.fb":function(t,e){var i=e&&e.Thumbs;i&&i.isVisible&&!1!==i.opts.hideOnClose&&i.$grid.hide()}})}(document,window.jQuery),function(t,a){"use strict";a.extend(!0,a.fancybox.defaults,{btnTpl:{share:'<button data-fancybox-share class="fancybox-button fancybox-button--share" title="{{SHARE}}"><svg viewBox="0 0 40 40"><path d="M6,30 C8,18 19,16 23,16 L23,16 L23,10 L33,20 L23,29 L23,24 C19,24 8,27 6,30 Z"></svg></button>'},share:{tpl:'<div class="fancybox-share"><h1>{{SHARE}}</h1><p class="fancybox-share__links"><a class="fancybox-share__button fancybox-share__button--fb" href="https://www.facebook.com/sharer/sharer.php?u={{url}}"><svg viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg"><path d="m287 456v-299c0-21 6-35 35-35h38v-63c-7-1-29-3-55-3-54 0-91 33-91 94v306m143-254h-205v72h196" /></svg><span>Facebook</span></a><a class="fancybox-share__button fancybox-share__button--pt" href="https://www.pinterest.com/pin/create/button/?url={{url}}&description={{descr}}&media={{media}}"><svg viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg"><path d="m265 56c-109 0-164 78-164 144 0 39 15 74 47 87 5 2 10 0 12-5l4-19c2-6 1-8-3-13-9-11-15-25-15-45 0-58 43-110 113-110 62 0 96 38 96 88 0 67-30 122-73 122-24 0-42-19-36-44 6-29 20-60 20-81 0-19-10-35-31-35-25 0-44 26-44 60 0 21 7 36 7 36l-30 125c-8 37-1 83 0 87 0 3 4 4 5 2 2-3 32-39 42-75l16-64c8 16 31 29 56 29 74 0 124-67 124-157 0-69-58-132-146-132z" fill="#fff"/></svg><span>Pinterest</span></a><a class="fancybox-share__button fancybox-share__button--tw" href="https://twitter.com/intent/tweet?url={{url}}&text={{descr}}"><svg viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg"><path d="m456 133c-14 7-31 11-47 13 17-10 30-27 37-46-15 10-34 16-52 20-61-62-157-7-141 75-68-3-129-35-169-85-22 37-11 86 26 109-13 0-26-4-37-9 0 39 28 72 65 80-12 3-25 4-37 2 10 33 41 57 77 57-42 30-77 38-122 34 170 111 378-32 359-208 16-11 30-25 41-42z" /></svg><span>Twitter</span></a></p><p><input class="fancybox-share__input" type="text" value="{{url_raw}}" /></p></div>'}}),a(t).on("click","[data-fancybox-share]",function(){var t,e,i,o,n=a.fancybox.getInstance();n&&(t=!1===n.current.opts.hash?n.current.src:window.location,e=n.current.opts.share.tpl.replace(/\{\{media\}\}/g,"image"===n.current.type?encodeURIComponent(n.current.src):"").replace(/\{\{url\}\}/g,encodeURIComponent(t)).replace(/\{\{url_raw\}\}/g,(i=t,o={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;","`":"&#x60;","=":"&#x3D;"},String(i).replace(/[&<>"'`=\/]/g,function(t){return o[t]}))).replace(/\{\{descr\}\}/g,n.$caption?encodeURIComponent(n.$caption.text()):""),a.fancybox.open({src:n.translate(n,e),type:"html",opts:{animationEffect:"fade",animationDuration:250,afterLoad:function(t,e){e.$content.find(".fancybox-share__links a").click(function(){return window.open(this.href,"Share","width=550, height=450"),!1})}}}))})}(document,window.jQuery||jQuery),function(a,r,s){"use strict";s.escapeSelector||(s.escapeSelector=function(t){return(t+"").replace(/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g,function(t,e){return e?"\0"===t?"�":t.slice(0,-1)+"\\"+t.charCodeAt(t.length-1).toString(16)+" ":"\\"+t})});var n=!0,l=null,c=null;function d(){var t=r.location.hash.substr(1),e=t.split("-"),i=1<e.length&&/^\+?\d+$/.test(e[e.length-1])&&parseInt(e.pop(-1),10)||1;return i<1&&(i=1),{hash:t,index:i,gallery:e.join("-")}}function e(t){var e;""!==t.gallery&&((e=s("[data-fancybox='"+s.escapeSelector(t.gallery)+"']").eq(t.index-1)).length||(e=s("#"+s.escapeSelector(t.gallery))),e.length&&(n=!1,e.trigger("click")))}function u(t){var e;return!!t&&((e=t.current?t.current.opts:t.opts).hash||(e.$orig?e.$orig.data("fancybox"):""))}s(function(){!1!==s.fancybox.defaults.hash&&(s(a).on({"onInit.fb":function(t,e){var i,o;!1!==e.group[e.currIndex].opts.hash&&(i=d(),(o=u(e))&&i.gallery&&o==i.gallery&&(e.currIndex=i.index-1))}
1,"beforeShow.fb":function(t,e,i){var o;i&&!1!==i.opts.hash&&(o=u(e))&&""!==o&&(r.location.hash.indexOf(o)<0&&(e.opts.origHash=r.location.hash),l=o+(1<e.group.length?"-"+(i.index+1):""),"replaceState"in r.history?(c&&clearTimeout(c),c=setTimeout(function(){r.history[n?"pushState":"replaceState"]({},a.title,r.location.pathname+r.location.search+"#"+l),c=null,n=!1},300)):r.location.hash=l)},"beforeClose.fb":function(t,e,i){var o,n;c&&clearTimeout(c),!1!==i.opts.hash&&(o=u(e),n=e&&e.opts.origHash?e.opts.origHash:"",o&&""!==o&&("replaceState"in history?r.history.replaceState({},a.title,r.location.pathname+r.location.search+n):(r.location.hash=n,s(r).scrollTop(e.scrollTop).scrollLeft(e.scrollLeft))),l=null)}}),s(r).on("hashchange.fb",function(){var t=d();s.fancybox.getInstance()?!l||l===t.gallery+"-"+t.index||1===t.index&&l==t.gallery||(l=null,s.fancybox.close()):""!==t.gallery&&e(t)}),setTimeout(function(){e(d())},50))})}(document,window,window.jQuery||jQuery),function(t,e){"use strict";var n=(new Date).getTime();e(t).on({"onInit.fb":function(t,o,e){o.$refs.stage.on("mousewheel DOMMouseScroll wheel MozMousePixelScroll",function(t){var e=o.current,i=(new Date).getTime();o.group.length<1||!1===e.opts.wheel||"auto"===e.opts.wheel&&"image"!==e.type||(t.preventDefault(),t.stopPropagation(),e.$slide.hasClass("fancybox-animated")||(t=t.originalEvent||t,i-n<250||(n=i,o[(-t.deltaY||-t.deltaX||t.wheelDelta||-t.detail)<0?"next":"previous"]())))})}})}(document,window.jQuery||jQuery),function(s){function l(t){return t<10?"0"+t:t}s.fn.showclock=function(){var t=new Date,e=s(this).data("date").split("-"),i=new Date(e[0],e[1]-1,e[2]).getTime()/1e3-t.getTime()/1e3;if(i<=0||isNaN(i))return this.hide(),this;var o=Math.floor(i/86400);i%=86400;var n=Math.floor(i/3600);i%=3600;var a=Math.floor(i/60);i=Math.floor(i%60);var r="";0!=o&&(r+="<div class='countdown-container days'>",r+="<span class='countdown-value days-top'>"+l(o)+"</span>",r+="<span class='countdown-heading days-bottom'>Days</span>",r+="</div>"),r+="<div class='countdown-container hours'>",r+="<span class='countdown-value hours-top'>"+l(n)+"</span>",r+="<span class='countdown-heading hours-bottom'>Hours</span>",r+="</div>",r+="<div class='countdown-container minutes'>",r+="<span class='countdown-value minutes-top'>"+l(a)+"</span>",r+="<span class='countdown-heading minutes-bottom'>Minutes</span>",r+="</div>",r+="<div class='countdown-container seconds'>",r+="<span class='countdown-value seconds-top'>"+l(i)+"</span>",r+="<span class='countdown-heading seconds-bottom'>Seconds</span>",r+="</div>",this.html(r)},s.fn.countdown=function(){var t=s(this);t.showclock(),setInterval(function(){t.showclock()},1e3)}}(jQuery),jQuery(document).ready(function(){0<jQuery(".js-countdown").length&&jQuery(".js-countdown").countdown()}),function(t){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).Chart=t()}}(function(){return function a(r,s,l){function c(i,t){if(!s[i]){if(!r[i]){var e="function"==typeof require&&require;if(!t&&e)return e(i,!0);if(d)return d(i,!0);var o=new Error("Cannot find module '"+i+"'");throw o.code="MODULE_NOT_FOUND",o}var n=s[i]={exports:{}};r[i][0].call(n.exports,function(t){var e=r[i][1][t];return c(e||t)},n,n.exports,a,r,s,l)}return s[i].exports}for(var d="function"==typeof require&&require,t=0;t<l.length;t++)c(l[t]);return c}({1:[function(t,e,i){},{}],2:[function(t,e,i){var a=t(6);function o(t){if(t){var e=[0,0,0],i=1,o=t.match(/^#([a-fA-F0-9]{3})$/i);if(o){o=o[1];for(var n=0;n<e.length;n++)e[n]=parseInt(o[n]+o[n],16)}else if(o=t.match(/^#([a-fA-F0-9]{6})$/i)){o=o[1];for(n=0;n<e.length;n++)e[n]=parseInt(o.slice(2*n,2*n+2),16)}else if(o=t.match(/^rgba?\(\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/i)){for(n=0;n<e.length;n++)e[n]=parseInt(o[n+1]);i=parseFloat(o[4])}else if(o=t.match(/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/i)){for(n=0;n<e.length;n++)e[n]=Math.round(2.55*parseFloat(o[n+1]));i=parseFloat(o[4])}else if(o=t.match(/(\w+)/)){if("transparent"==o[1])return[0,0,0,0];if(!(e=a[o[1]]))return}for(n=0;n<e.length;n++)e[n]=d(e[n],0,255);return i=i||0==i?d(i,0,1):1,e[3]=i,e}}function n(t){if(t){var e=t.match(/^hsla?\(\s*([+-]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)/);if(e){var i=parseFloat(e[4]);return[d(parseInt(e[1]),0,360),d(parseFloat(e[2]),0,100),d(parseFloat(e[3]),0,100),d(isNaN(i)?1:i,0,1)]}}}function r(t){if(t){var e=t.match(/^hwb\(\s*([+-]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)/);if(e){var i=parseFloat(e[4]);return[d(parseInt(e[1]),0,360),d(parseFloat(e[2]),0,100),d(parseFloat(e[3]),0,100),d(isNaN(i)?1:i,0,1)]}}}function s(t,e){return void 0===e&&(e=void 0!==t[3]?t[3]:1),"rgba("+t[0]+", "+t[1]+", "+t[2]+", "+e+")"}function l(t,e){return"rgba("+Math.round(t[0]/255*100)+"%, "+Math.round(t[1]/255*100)+"%, "+Math.round(t[2]/255*100)+"%, "+(e||t[3]||1)+")"}function c(t,e){return void 0===e&&(e=void 0!==t[3]?t[3]:1),"hsla("+t[0]+", "+t[1]+"%, "+t[2]+"%, "+e+")"}function d(t,e,i){return Math.min(Math.max(e,t),i)}function u(t){var e=t.toString(16).toUpperCase();return e.length<2?"0"+e:e}e.exports={getRgba:o,getHsla:n,getRgb:function(t){var e=o(t);return e&&e.slice(0,3)},getHsl:function(t){var e=n(t);return e&&e.slice(0,3)},getHwb:r,getAlpha:function(t){var e=o(t);{if(e)return e[3];if(e=n(t))return e[3];if(e=r(t))return e[3]}},hexString:function(t){return"#"+u(t[0])+u(t[1])+u(t[2])},rgbString:function(t,e){if(e<1||t[3]&&t[3]<1)return s(t,e);return"rgb("+t[0]+", "+t[1]+", "+t[2]+")"}
vendor: 10,493 bytes, line 1
1,rgbaString:s,percentString:function(t,e){if(e<1||t[3]&&t[3]<1)return l(t,e);var i=Math.round(t[0]/255*100),o=Math.round(t[1]/255*100),n=Math.round(t[2]/255*100);return"rgb("+i+"%, "+o+"%, "+n+"%)"},percentaString:l,hslString:function(t,e){if(e<1||t[3]&&t[3]<1)return c(t,e);return"hsl("+t[0]+", "+t[1]+"%, "+t[2]+"%)"},hslaString:c,hwbString:function(t,e){void 0===e&&(e=void 0!==t[3]?t[3]:1);return"hwb("+t[0]+", "+t[1]+"%, "+t[2]+"%"+(void 0!==e&&1!==e?", "+e:"")+")"},keyword:function(t){return h[t.slice(0,3)]}};var h={};for(var f in a)h[a[f]]=f},{6:6}],3:[function(t,e,i){var d=t(5),o=t(2),r=function(t){return t instanceof r?t:this instanceof r?(this.valid=!1,this.values={rgb:[0,0,0],hsl:[0,0,0],hsv:[0,0,0],hwb:[0,0,0],cmyk:[0,0,0,0],alpha:1},void("string"==typeof t?(e=o.getRgba(t))?this.setValues("rgb",e):(e=o.getHsla(t))?this.setValues("hsl",e):(e=o.getHwb(t))&&this.setValues("hwb",e):"object"==typeof t&&(void 0!==(e=t).r||void 0!==e.red?this.setValues("rgb",e):void 0!==e.l||void 0!==e.lightness?this.setValues("hsl",e):void 0!==e.v||void 0!==e.value?this.setValues("hsv",e):void 0!==e.w||void 0!==e.whiteness?this.setValues("hwb",e):void 0===e.c&&void 0===e.cyan||this.setValues("cmyk",e)))):new r(t);var e};r.prototype={isValid:function(){return this.valid},rgb:function(){return this.setSpace("rgb",arguments)},hsl:function(){return this.setSpace("hsl",arguments)},hsv:function(){return this.setSpace("hsv",arguments)},hwb:function(){return this.setSpace("hwb",arguments)},cmyk:function(){return this.setSpace("cmyk",arguments)},rgbArray:function(){return this.values.rgb},hslArray:function(){return this.values.hsl},hsvArray:function(){return this.values.hsv},hwbArray:function(){var t=this.values;return 1!==t.alpha?t.hwb.concat([t.alpha]):t.hwb},cmykArray:function(){return this.values.cmyk},rgbaArray:function(){var t=this.values;return t.rgb.concat([t.alpha])},hslaArray:function(){var t=this.values;return t.hsl.concat([t.alpha])},alpha:function(t){return void 0===t?this.values.alpha:(this.setValues("alpha",t),this)},red:function(t){return this.setChannel("rgb",0,t)},green:function(t){return this.setChannel("rgb",1,t)},blue:function(t){return this.setChannel("rgb",2,t)},hue:function(t){return t&&(t=(t%=360)<0?360+t:t),this.setChannel("hsl",0,t)},saturation:function(t){return this.setChannel("hsl",1,t)},lightness:function(t){return this.setChannel("hsl",2,t)},saturationv:function(t){return this.setChannel("hsv",1,t)},whiteness:function(t){return this.setChannel("hwb",1,t)},blackness:function(t){return this.setChannel("hwb",2,t)},value:function(t){return this.setChannel("hsv",2,t)},cyan:function(t){return this.setChannel("cmyk",0,t)},magenta:function(t){return this.setChannel("cmyk",1,t)},yellow:function(t){return this.setChannel("cmyk",2,t)},black:function(t){return this.setChannel("cmyk",3,t)},hexString:function(){return o.hexString(this.values.rgb)},rgbString:function(){return o.rgbString(this.values.rgb,this.values.alpha)},rgbaString:function(){return o.rgbaString(this.values.rgb,this.values.alpha)},percentString:function(){return o.percentString(this.values.rgb,this.values.alpha)},hslString:function(){return o.hslString(this.values.hsl,this.values.alpha)},hslaString:function(){return o.hslaString(this.values.hsl,this.values.alpha)},hwbString:function(){return o.hwbString(this.values.hwb,this.values.alpha)},keyword:function(){return o.keyword(this.values.rgb,this.values.alpha)},rgbNumber:function(){var t=this.values.rgb;return t[0]<<16|t[1]<<8|t[2]},luminosity:function(){for(var t=this.values.rgb,e=[],i=0;i<t.length;i++){var o=t[i]/255;e[i]=o<=.03928?o/12.92:Math.pow((o+.055)/1.055,2.4)}return.2126*e[0]+.7152*e[1]+.0722*e[2]},contrast:function(t){var e=this.luminosity(),i=t.luminosity();return i<e?(e+.05)/(i+.05):(i+.05)/(e+.05)},level:function(t){var e=this.contrast(t);return 7.1<=e?"AAA":4.5<=e?"AA":""},dark:function(){var t=this.values.rgb;return(299*t[0]+587*t[1]+114*t[2])/1e3<128},light:function(){return!this.dark()},negate:function(){for(var t=[],e=0;e<3;e++)t[e]=255-this.values.rgb[e];return this.setValues("rgb",t),this},lighten:function(t){var e=this.values.hsl;return e[2]+=e[2]*t,this.setValues("hsl",e),this},darken:function(t){var e=this.values.hsl;return e[2]-=e[2]*t,this.setValues("hsl",e),this},saturate:function(t){var e=this.values.hsl;return e[1]+=e[1]*t,this.setValues("hsl",e),this},desaturate:function(t){var e=this.values.hsl;return e[1]-=e[1]*t,this.setValues("hsl",e),this},whiten:function(t){var e=this.values.hwb;return e[1]+=e[1]*t,this.setValues("hwb",e),this},blacken:function(t){var e=this.values.hwb;return e[2]+=e[2]*t,this.setValues("hwb",e),this},greyscale:function(){var t=this.values.rgb,e=.3*t[0]+.59*t[1]+.11*t[2];return this.setValues("rgb",[e,e,e]),this},clearer:function(t){var e=this.values.alpha;return this.setValues("alpha",e-e*t),this},opaquer:function(t){var e=this.values.alpha;return this.setValues("alpha",e+e*t),this},rotate:function(t){var e=this.values.hsl,i=(e[0]+t)%360;return e[0]=i<0?360+i:i,this.setValues("hsl",e),this},mix:function(t,e){var i=this,o=t,n=void 0===e?.5:e,a=2*n-1,r=i.alpha()-o.alpha(),s=((a*r==-1?a:(a+r)/(1+a*r))+1)/2,l=1-s;return this.rgb(s*i.red()+l*o.red(),s*i.green()+l*o.green(),s*i.blue()+l*o.blue()).alpha(i.alpha()*n+o.alpha()*(1-n))},toJSON:function(){return this.rgb()},clone:function(){var t,e,i=new r,o=this.values,n=i.values;for(var a in o)o.hasOwnProperty(a)&&(t=o[a],"[object Array]"===(e={}.toString.call(t))?n[a]=t.slice(0):"[object Number]"===e?n[a]=t:console.error("unexpected color value:",t));return i}},r.prototype.spaces={rgb:["red","green","blue"],hsl:["hue","saturation","lightness"],hsv:["hue","saturation","value"],hwb:["hue","whiteness","blackness"],cmyk:["cyan","magenta","yellow","black"]},r.prototype.maxes={rgb:[255,255,255],hsl:[360,100,100],hsv:[360,100,100],hwb:[360,100,100],cmyk:[100,100,100,100]},r.prototype.getValues=function(t){for(var e=this.values,i={},o=0;o<t.length;o++)i[t.charAt(o)]=e[t][o];return 1!==e.alpha&&(i.a=e.alpha),i},r.prototype.setValues=function(t,e){var i,o,n=this.values,a=this.spaces,r=this.maxes,s=1;if(this.valid=!0,"alpha"===t)s=e;else if(e.length)n[t]=e.slice(0,t.length),s=e[t.length];else if(void 0!==e[t.charAt(0)]){for(i=0;i<t.length;i++)n[t][i]=e[t.charAt(i)];s=e.a}else if(void 0!==e[a[t][0]]){var l=a[t];for(i=0;i<t.length;i++)n[t][i]=e[l[i]];s=e.alpha}if(n.alpha=Math.max(0,Math.min(1,void 0===s?n.alpha:s)),"alpha"===t)return!1;for(i=0;i<t.length;i++)o=Math.max(0,Math.min(r[t][i],n[t][i])),n[t][i]=Math.round(o);for(var c in a)c!==t&&(n[c]=d[t][c](n[t]));return!0},r.prototype.setSpace=function(t,e){var i=e[0];return void 0===i?this.getValues(t):("number"==typeof i&&(i=Array.prototype.slice.call(e)),this.setValues(t,i),this)},r.prototype.setChannel=function(t,e,i){var o=this.values[t];return void 0===i?o[e]:(i===o[e]||(o[e]=i,this.setValues(t,o)),this)},"undefined"!=typeof window&&(window.Color=r),e.exports=r},{2:2,5:5}],4:[function(t,e,i){function n(t){var e,i,o=t[0]/255,n=t[1]/255,a=t[2]/255,r=Math.min(o,n,a),s=Math.max(o,n,a),l=s-r;return s==r?e=0:o==s?e=(n-a)/l:n==s?e=2+(a-o)/l:a==s&&(e=4+(o-n)/l),(e=Math.min(60*e,360))<0&&(e+=360),i=(r+s)/2,[e,100*(s==r?0:i<=.5?l/(s+r):l/(2-s-r)),100*i]}function o(t){var e,i,o=t[0],n=t[1],a=t[2],r=Math.min(o,n,a),s=Math.max(o,n,a),l=s-r;return i=0==s?0:l/s*1e3/10,s==r?e=0:o==s?e=(n-a)/l:n==s?e=2+(a-o)/l:a==s&&(e=4+(o-n)/l),(e=Math.min(60*e,360))<0&&(e+=360),[e,i,s/255*1e3/10]}function a(t){var e=t[0],i=t[1],o=t[2];return[n(t)[0],100*(1/255*Math.min(e,Math.min(i,o))),100*(o=1-1/255*Math.max(e,Math.max(i,o)))]}function s(t){var e,i=t[0]/255,o=t[1]/255,n=t[2]/255;return[100*((1-i-(e=Math.min(1-i,1-o,1-n)))/(1-e)||0),100*((1-o-e)/(1-e)||0),100*((1-n-e)/(1-e)||0),100*e]}function l(t){return T[JSON.stringify(t)]}function c(t){var e=t[0]/255,i=t[1]/255,o=t[2]/255;return[100*(.4124*(e=.04045<e?Math.pow((e+.055)/1.055,2.4):e/12.92)+.3576*(i=.04045<i?Math.pow((i+.055)/1.055,2.4):i/12.92)+.1805*(o=.04045<o?Math.pow((o+.055)/1.055,2.4):o/12.92)),100*(.2126*e+.7152*i+.0722*o),100*(.0193*e+.1192*i+.9505*o)]}function d(t){var e=c(t),i=e[0],o=e[1],n=e[2];return o/=100,n/=108.883,i=.008856<(i/=95.047)?Math.pow(i,1/3):7.787*i+16/116,[116*(o=.008856<o?Math.pow(o,1/3):7.787*o+16/116)-16,500*(i-o),200*(o-(n=.008856<n?Math.pow(n,1/3):7.787*n+16/116))]}function u(t){var e,i,o,n,a,r=t[0]/360,s=t[1]/100,l=t[2]/100;if(0==s)return[a=255*l,a,a];e=2*l-(i=l<.5?l*(1+s):l+s-l*s),n=[0,0,0];for(var c=0;c<3;c++)(o=r+1/3*-(c-1))<0&&o++,1<o&&o--,a=6*o<1?e+6*(i-e)*o:2*o<1?i:3*o<2?e+(i-e)*(2/3-o)*6:e,n[c]=255*a;return n}function h(t){var e=t[0]/60,i=t[1]/100,o=t[2]/100,n=Math.floor(e)%6,a=e-Math.floor(e),r=255*o*(1-i),s=255*o*(1-i*a),l=255*o*(1-i*(1-a));o*=255;switch(n){case 0:return[o,l,r];case 1:return[s,o,r];case 2:return[r,o,l];case 3:return[r,s,o];case 4:return[l,r,o];case 5:return[o,r,s]}}function f(t){var e,i,o,n,a=t[0]/360,s=t[1]/100,l=t[2]/100,c=s+l;switch(1<c&&(s/=c,l/=c),o=6*a-(e=Math.floor(6*a)),0!=(1&e)&&(o=1-o),n=s+o*((i=1-l)-s),e){default:case 6:case 0:r=i,g=n,b=s;break;case 1:r=n,g=i,b=s;break;case 2:r=s,g=i,b=n;break;case 3:r=s,g=n,b=i;break;case 4:r=n,g=s,b=i;break;case 5:r=i,g=s,b=n}return[255*r,255*g,255*b]}function p(t){var e=t[0]/100,i=t[1]/100,o=t[2]/100,n=t[3]/100;return[255*(1-Math.min(1,e*(1-n)+n)),255*(1-Math.min(1,i*(1-n)+n)),255*(1-Math.min(1,o*(1-n)+n))]}function m(t){var e,i,o,n=t[0]/100,a=t[1]/100,r=t[2]/100;return i=-.9689*n+1.8758*a+.0415*r,o=.0557*n+-.204*a+1.057*r,e=.0031308<(e=3.2406*n+-1.5372*a+-.4986*r)?1.055*Math.pow(e,1/2.4)-.055:e*=12.92,i=.0031308<i?1.055*Math.pow(i,1/2.4)-.055:i*=12.92,o=.0031308<o?1.055*Math.pow(o,1/2.4)-.055:o*=12.92,[255*(e=Math.min(Math.max(0,e),1)),255*(i=Math.min(Math.max(0,i),1)),255*(o=Math.min(Math.max(0,o),1))]}function v(t){var e=t[0],i=t[1],o=t[2];return i/=100,o/=108.883,e=.008856<(e/=95.047)?Math.pow(e,1/3):7.787*e+16/116,[116*(i=.008856<i?Math.pow(i,1/3):7.787*i+16/116)-16,500*(e-i),200*(i-(o=.008856<o?Math.pow(o,1/3):7.787*o+16/116))]}function y(t){var e,i,o,n,a=t[0],r=t[1],s=t[2];return a<=8?n=(i=100*a/903.3)/100*7.787+16/116:(i=100*Math.pow((a+16)/116,3),n=Math.pow(i/100,1/3)),[e=e/95.047<=.008856?e=95.047*(r/500+n-16/116)/7.787:95.047*Math.pow(r/500+n,3),i,o=o/108.883<=.008859?o=108.883*(n-s/200-16/116)/7.787:108.883*Math.pow(n-s/200,3)]}function x(t){var e,i=t[0],o=t[1],n=t[2];return(e=360*Math.atan2(n,o)/2/Math.PI)<0&&(e+=360),[i,Math.sqrt(o*o+n*n),e]}function w(t){return m(y(t))}function k(t){var e,i=t[0],o=t[1];
vendor: 4,407 bytes, line 1
1return e=t[2]/360*2*Math.PI,[i,o*Math.cos(e),o*Math.sin(e)]}function S(t){return C[t]}e.exports={rgb2hsl:n,rgb2hsv:o,rgb2hwb:a,rgb2cmyk:s,rgb2keyword:l,rgb2xyz:c,rgb2lab:d,rgb2lch:function(t){return x(d(t))},hsl2rgb:u,hsl2hsv:function(t){var e=t[0],i=t[1]/100,o=t[2]/100;if(0===o)return[0,0,0];return[e,100*(2*(i*=(o*=2)<=1?o:2-o)/(o+i)),100*((o+i)/2)]},hsl2hwb:function(t){return a(u(t))},hsl2cmyk:function(t){return s(u(t))},hsl2keyword:function(t){return l(u(t))},hsv2rgb:h,hsv2hsl:function(t){var e,i,o=t[0],n=t[1]/100,a=t[2]/100;return e=n*a,[o,100*(e=(e/=(i=(2-n)*a)<=1?i:2-i)||0),100*(i/=2)]},hsv2hwb:function(t){return a(h(t))},hsv2cmyk:function(t){return s(h(t))},hsv2keyword:function(t){return l(h(t))},hwb2rgb:f,hwb2hsl:function(t){return n(f(t))},hwb2hsv:function(t){return o(f(t))},hwb2cmyk:function(t){return s(f(t))},hwb2keyword:function(t){return l(f(t))},cmyk2rgb:p,cmyk2hsl:function(t){return n(p(t))},cmyk2hsv:function(t){return o(p(t))},cmyk2hwb:function(t){return a(p(t))},cmyk2keyword:function(t){return l(p(t))},keyword2rgb:S,keyword2hsl:function(t){return n(S(t))},keyword2hsv:function(t){return o(S(t))},keyword2hwb:function(t){return a(S(t))},keyword2cmyk:function(t){return s(S(t))},keyword2lab:function(t){return d(S(t))},keyword2xyz:function(t){return c(S(t))},xyz2rgb:m,xyz2lab:v,xyz2lch:function(t){return x(v(t))},lab2xyz:y,lab2rgb:w,lab2lch:x,lch2lab:k,lch2xyz:function(t){return y(k(t))},lch2rgb:function(t){return w(k(t))}};var C={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87
vendor: 8,964 bytes, line 1
1],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},T={};for(var M in C)T[JSON.stringify(C[M])]=M},{}],5:[function(t,e,i){var n=t(4),a=function(){return new c};for(var o in n){a[o+"Raw"]=function(e){return function(t){return"number"==typeof t&&(t=Array.prototype.slice.call(arguments)),n[e](t)}}(o);var r=/(\w+)2(\w+)/.exec(o),s=r[1],l=r[2];(a[s]=a[s]||{})[l]=a[o]=function(o){return function(t){"number"==typeof t&&(t=Array.prototype.slice.call(arguments));var e=n[o](t);if("string"==typeof e||void 0===e)return e;for(var i=0;i<e.length;i++)e[i]=Math.round(e[i]);return e}}(o)}var c=function(){this.convs={}};c.prototype.routeSpace=function(t,e){var i=e[0];return void 0===i?this.getValues(t):("number"==typeof i&&(i=Array.prototype.slice.call(e)),this.setValues(t,i))},c.prototype.setValues=function(t,e){return this.space=t,this.convs={},this.convs[t]=e,this},c.prototype.getValues=function(t){var e=this.convs[t];if(!e){var i=this.space,o=this.convs[i];e=a[i][t](o),this.convs[t]=e}return e},["rgb","hsl","hsv","cmyk","keyword"].forEach(function(e){c.prototype[e]=function(t){return this.routeSpace(e,arguments)}}),e.exports=a},{4:4}],6:[function(t,e,i){"use strict";e.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},{}],7:[function(t,e,i){var o=t(29)();o.helpers=t(45),t(27)(o),o.defaults=t(25),o.Element=t(26),o.elements=t(40),o.Interaction=t(28),o.platform=t(48),t(31)(o),t(22)(o),t(23)(o),t(24)(o),t(30)(o),t(33)(o),t(32)(o),t(35)(o),t(54)(o),t(52)(o),t(53)(o),t(55)(o),t(56)(o),t(57)(o),t(15)(o),t(16)(o),t(17)(o),t(18)(o),t(19)(o),t(20)(o),t(21)(o),t(8)(o),t(9)(o),t(10)(o),t(11)(o),t(12)(o),t(13)(o),t(14)(o);var n=[];n.push(t(49)(o),t(50)(o),t(51)(o)),o.plugins.register(n),o.platform.initialize(),e.exports=o,"undefined"!=typeof window&&(window.Chart=o),o.canvasHelpers=o.helpers.canvas},{10:10,11:11,12:12,13:13,14:14,15:15,16:16,17:17,18:18,19:19,20:20,21:21,22:22,23:23,24:24,25:25,26:26,27:27,28:28,29:29,30:30,31:31,32:32,33:33,35:35,40:40,45:45,48:48,49:49,50:50,51:51,52:52,53:53,54:54,55:55,56:56,57:57,8:8,9:9}],8:[function(t,e,i){"use strict";e.exports=function(i){i.Bar=function(t,e){return e.type="bar",new i(t,e)}}},{}],9:[function(t,e,i){"use strict";e.exports=function(i){i.Bubble=function(t,e){return e.type="bubble",new i(t,e)}}},{}],10:[function(t,e,i){"use strict";e.exports=function(i){i.Doughnut=function(t,e){return e.type="doughnut",new i(t,e)}}},{}],11:[function(t,e,i){"use strict";e.exports=function(i){i.Line=function(t,e){return e.type="line",new i(t,e)}}},{}],12:[function(t,e,i){"use strict";e.exports=function(i){i.PolarArea=function(t,e){return e.type="polarArea",new i(t,e)}}},{}],13:[function(t,e,i){"use strict";e.exports=function(i){i.Radar=function(t,e){return e.type="radar",new i(t,e)}}},{}],14:[function(t,e,i){"use strict";e.exports=function(i){i.Scatter=function(t,e){return e.type="scatter",new i(t,e)}}},{}],15:[function(t,e,i){"use strict";var o=t(25),n=t(40),g=t(45);o._set("bar",{hover:{mode:"label"},scales:{xAxes:[{type:"category",categoryPercentage:.8,barPercentage:.9,offset:!0,gridLines:{offsetGridLines:!0}}],yAxes:[{type:"linear"}]}}),o._set("horizontalBar",{hover:{mode:"index",axis:"y"},scales:{xAxes:[{type:"linear",position:"bottom"}],yAxes:[{position:"left",type:"category",categoryPercentage:.8,barPercentage:.9,offset:!0,gridLines:{offsetGridLines:!0}}]},elements:{rectangle:{borderSkipped:"left"}},tooltips:{callbacks:{title:function(t,e){var i="";return 0<t.length&&(t[0].yLabel?i=t[0].yLabel:0<e.labels.length&&t[0].index<e.labels.length&&(i=e.labels[t[0].index])),i},label:function(t,e){return(e.datasets[t.datasetIndex].label||"")+": "+t.xLabel}},mode:"index",axis:"y"}}),e.exports=function(e){e.controllers.bar=e.DatasetController.extend({dataElementType:n.Rectangle,initialize:function(){var t;e.DatasetController.prototype.initialize.apply(this,arguments),(t=this.getMeta()).stack=this.getDataset().stack,t.bar=!0},update:function(t){var e,i,o=this.getMeta().data;for(this._ruler=this.getRuler(),e=0,i=o.length;e<i;++e)this.updateElement(o[e],e,t)},updateElement:function(t,e,i){var o=this,n=o.chart,a=o.getMeta(),r=o.getDataset(),s=t.custom||{},l=n.options.elements.rectangle;t._xScale=o.getScaleForId(a.xAxisID),t._yScale=o.getScaleForId(a.yAxisID),t._datasetIndex=o.index,t._index=e,t._model={datasetLabel:r.label,label:n.data.labels[e],borderSkipped:s.borderSkipped?s.borderSkipped:l.borderSkipped,backgroundColor:s.backgroundColor?s.backgroundColor:g.valueAtIndexOrDefault(r.backgroundColor,e,l.backgroundColor),borderColor:s.borderColor?s.borderColor:g.valueAtIndexOrDefault(r.borderColor,e,l.borderColor),borderWidth:s.borderWidth?s.borderWidth:g.valueAtIndexOrDefault(r.borderWidth,e,l.borderWidth)},o.updateElementGeometry(t,e,i),t.pivot()},updateElementGeometry:function(t,e,i){var o=this,n=t._model,a=o.getValueScale(),r=a.getBasePixel(),s=a.isHorizontal(),l=o._ruler||o.getRuler(),c=o.calculateBarValuePixels(o.index,e),d=o.calculateBarIndexPixels(o.index,e,l);n.horizontal=s,n.base=i?r:c.base,n.x=s?i?r:c.head:d.center,n.y=s?d.center:i?r:c.head,n.height=s?d.size:void 0,n.width=s?void 0:d.size},getValueScaleId:function(){return this.getMeta().yAxisID},getIndexScaleId:function(){return this.getMeta().xAxisID}
1,getValueScale:function(){return this.getScaleForId(this.getValueScaleId())},getIndexScale:function(){return this.getScaleForId(this.getIndexScaleId())},getStackCount:function(t){var e,i,o=this.chart,n=this.getIndexScale().options.stacked,a=void 0===t?o.data.datasets.length:t+1,r=[];for(e=0;e<a;++e)(i=o.getDatasetMeta(e)).bar&&o.isDatasetVisible(e)&&(!1===n||!0===n&&-1===r.indexOf(i.stack)||void 0===n&&(void 0===i.stack||-1===r.indexOf(i.stack)))&&r.push(i.stack);return r.length},getStackIndex:function(t){return this.getStackCount(t)-1},getRuler:function(){var t,e,i=this.getIndexScale(),o=this.getStackCount(),n=this.index,a=[],r=i.isHorizontal(),s=r?i.left:i.top,l=s+(r?i.width:i.height);for(t=0,e=this.getMeta().data.length;t<e;++t)a.push(i.getPixelForValue(null,t,n));return{pixels:a,start:s,end:l,stackCount:o,scale:i}},calculateBarValuePixels:function(t,e){var i,o,n,a,r,s,l=this.chart,c=this.getMeta(),d=this.getValueScale(),u=l.data.datasets,h=d.getRightValue(u[t].data[e]),f=d.options.stacked,p=c.stack,g=0;if(f||void 0===f&&void 0!==p)for(i=0;i<t;++i)(o=l.getDatasetMeta(i)).bar&&o.stack===p&&o.controller.getValueScaleId()===d.id&&l.isDatasetVisible(i)&&(n=d.getRightValue(u[i].data[e]),(h<0&&n<0||0<=h&&0<n)&&(g+=n));return a=d.getPixelForValue(g),{size:s=((r=d.getPixelForValue(g+h))-a)/2,base:a,head:r,center:r+s/2}},calculateBarIndexPixels:function(t,e,i){var o,n,a,r,s,l=i.scale.options,c=this.getStackIndex(t),d=i.pixels,u=d[e],h=d.length,f=i.start,p=i.end;return 1===h?(o=f<u?u-f:p-u,n=u<p?p-u:u-f):(0<e&&(o=(u-d[e-1])/2,e===h-1&&(n=o)),e<h-1&&(n=(d[e+1]-u)/2,0===e&&(o=n))),s=(r=((a=o*l.categoryPercentage)+n*l.categoryPercentage)/i.stackCount)*l.barPercentage,u-=a,u+=r*c,{size:s=Math.min(g.valueOrDefault(l.barThickness,s),g.valueOrDefault(l.maxBarThickness,1/0)),base:u+=(r-s)/2,head:u+s,center:u+s/2}},draw:function(){var t=this.chart,e=this.getValueScale(),i=this.getMeta().data,o=this.getDataset(),n=i.length,a=0;for(g.canvas.clipArea(t.ctx,t.chartArea);a<n;++a)isNaN(e.getRightValue(o.data[a]))||i[a].draw();g.canvas.unclipArea(t.ctx)},setHoverStyle:function(t){var e=this.chart.data.datasets[t._datasetIndex],i=t._index,o=t.custom||{},n=t._model;n.backgroundColor=o.hoverBackgroundColor?o.hoverBackgroundColor:g.valueAtIndexOrDefault(e.hoverBackgroundColor,i,g.getHoverColor(n.backgroundColor)),n.borderColor=o.hoverBorderColor?o.hoverBorderColor:g.valueAtIndexOrDefault(e.hoverBorderColor,i,g.getHoverColor(n.borderColor)),n.borderWidth=o.hoverBorderWidth?o.hoverBorderWidth:g.valueAtIndexOrDefault(e.hoverBorderWidth,i,n.borderWidth)},removeHoverStyle:function(t){var e=this.chart.data.datasets[t._datasetIndex],i=t._index,o=t.custom||{},n=t._model,a=this.chart.options.elements.rectangle;n.backgroundColor=o.backgroundColor?o.backgroundColor:g.valueAtIndexOrDefault(e.backgroundColor,i,a.backgroundColor),n.borderColor=o.borderColor?o.borderColor:g.valueAtIndexOrDefault(e.borderColor,i,a.borderColor),n.borderWidth=o.borderWidth?o.borderWidth:g.valueAtIndexOrDefault(e.borderWidth,i,a.borderWidth)}}),e.controllers.horizontalBar=e.controllers.bar.extend({getValueScaleId:function(){return this.getMeta().xAxisID},getIndexScaleId:function(){return this.getMeta().yAxisID}})}},{25:25,40:40,45:45}],16:[function(t,e,i){"use strict";var o=t(25),n=t(40),p=t(45);o._set("bubble",{hover:{mode:"single"},scales:{xAxes:[{type:"linear",position:"bottom",id:"x-axis-0"}],yAxes:[{type:"linear",position:"left",id:"y-axis-0"}]},tooltips:{callbacks:{title:function(){return""},label:function(t,e){var i=e.datasets[t.datasetIndex].label||"",o=e.datasets[t.datasetIndex].data[t.index];return i+": ("+t.xLabel+", "+t.yLabel+", "+o.r+")"}}}}),e.exports=function(t){t.controllers.bubble=t.DatasetController.extend({dataElementType:n.Point,update:function(i){var o=this,t=o.getMeta().data;p.each(t,function(t,e){o.updateElement(t,e,i)})},updateElement:function(t,e,i){var o=this,n=o.getMeta(),a=t.custom||{},r=o.getScaleForId(n.xAxisID),s=o.getScaleForId(n.yAxisID),l=o._resolveElementOptions(t,e),c=o.getDataset().data[e],d=o.index,u=i?r.getPixelForDecimal(.5):r.getPixelForValue("object"==typeof c?c:NaN,e,d),h=i?s.getBasePixel():s.getPixelForValue(c,e,d);t._xScale=r,t._yScale=s,t._options=l,t._datasetIndex=d,t._index=e,t._model={backgroundColor:l.backgroundColor,borderColor:l.borderColor,borderWidth:l.borderWidth,hitRadius:l.hitRadius,pointStyle:l.pointStyle,radius:i?0:l.radius,skip:a.skip||isNaN(u)||isNaN(h),x:u,y:h},t.pivot()},setHoverStyle:function(t){var e=t._model,i=t._options;
vendor: 7,208 bytes, line 1
1e.backgroundColor=p.valueOrDefault(i.hoverBackgroundColor,p.getHoverColor(i.backgroundColor)),e.borderColor=p.valueOrDefault(i.hoverBorderColor,p.getHoverColor(i.borderColor)),e.borderWidth=p.valueOrDefault(i.hoverBorderWidth,i.borderWidth),e.radius=i.radius+i.hoverRadius},removeHoverStyle:function(t){var e=t._model,i=t._options;e.backgroundColor=i.backgroundColor,e.borderColor=i.borderColor,e.borderWidth=i.borderWidth,e.radius=i.radius},_resolveElementOptions:function(t,e){var i,o,n,a=this.chart,r=a.data.datasets[this.index],s=t.custom||{},l=a.options.elements.point,c=p.options.resolve,d=r.data[e],u={},h={chart:a,dataIndex:e,dataset:r,datasetIndex:this.index},f=["backgroundColor","borderColor","borderWidth","hoverBackgroundColor","hoverBorderColor","hoverBorderWidth","hoverRadius","hitRadius","pointStyle"];for(i=0,o=f.length;i<o;++i)u[n=f[i]]=c([s[n],r[n],l[n]],h,e);return u.radius=c([s.radius,d?d.r:void 0,r.radius,l.radius],h,e),u}})}},{25:25,40:40,45:45}],17:[function(t,e,i){"use strict";var o=t(25),n=t(40),P=t(45);o._set("doughnut",{animation:{animateRotate:!0,animateScale:!1},hover:{mode:"single"},legendCallback:function(t){var e=[];e.push('<ul class="'+t.id+'-legend">');var i=t.data,o=i.datasets,n=i.labels;if(o.length)for(var a=0;a<o[0].data.length;++a)e.push('<li><span style="background-color:'+o[0].backgroundColor[a]+'"></span>'),n[a]&&e.push(n[a]),e.push("</li>");return e.push("</ul>"),e.join("")},legend:{labels:{generateLabels:function(l){var c=l.data;return c.labels.length&&c.datasets.length?c.labels.map(function(t,e){var i=l.getDatasetMeta(0),o=c.datasets[0],n=i.data[e],a=n&&n.custom||{},r=P.valueAtIndexOrDefault,s=l.options.elements.arc;return{text:t,fillStyle:a.backgroundColor?a.backgroundColor:r(o.backgroundColor,e,s.backgroundColor),strokeStyle:a.borderColor?a.borderColor:r(o.borderColor,e,s.borderColor),lineWidth:a.borderWidth?a.borderWidth:r(o.borderWidth,e,s.borderWidth),hidden:isNaN(o.data[e])||i.data[e].hidden,index:e}}):[]}},onClick:function(t,e){var i,o,n,a=e.index,r=this.chart;for(i=0,o=(r.data.datasets||[]).length;i<o;++i)(n=r.getDatasetMeta(i)).data[a]&&(n.data[a].hidden=!n.data[a].hidden);r.update()}},cutoutPercentage:50,rotation:-.5*Math.PI,circumference:2*Math.PI,tooltips:{callbacks:{title:function(){return""},label:function(t,e){var i=e.labels[t.index],o=": "+e.datasets[t.datasetIndex].data[t.index];return P.isArray(i)?(i=i.slice())[0]+=o:i+=o,i}}}}),o._set("pie",P.clone(o.doughnut)),o._set("pie",{cutoutPercentage:0}),e.exports=function(e){e.controllers.doughnut=e.controllers.pie=e.DatasetController.extend({dataElementType:n.Arc,linkScales:P.noop,getRingIndex:function(t){for(var e=0,i=0;i<t;++i)this.chart.isDatasetVisible(i)&&++e;return e},update:function(i){var o=this,t=o.chart,e=t.chartArea,n=t.options,a=n.elements.arc,r=e.right-e.left-a.borderWidth,s=e.bottom-e.top-a.borderWidth,l=Math.min(r,s),c={x:0,y:0},d=o.getMeta(),u=n.cutoutPercentage,h=n.circumference;if(h<2*Math.PI){var f=n.rotation%(2*Math.PI),p=(f+=2*Math.PI*(f>=Math.PI?-1:f<-Math.PI?1:0))+h,g=Math.cos(f),m=Math.sin(f),v=Math.cos(p),b=Math.sin(p),y=f<=0&&0<=p||f<=2*Math.PI&&2*Math.PI<=p,x=f<=.5*Math.PI&&.5*Math.PI<=p||f<=2.5*Math.PI&&2.5*Math.PI<=p,w=f<=-Math.PI&&-Math.PI<=p||f<=Math.PI&&Math.PI<=p,k=f<=.5*-Math.PI&&.5*-Math.PI<=p||f<=1.5*Math.PI&&1.5*Math.PI<=p,S=u/100,C=w?-1:Math.min(g*(g<0?1:S),v*(v<0?1:S)),T=k?-1:Math.min(m*(m<0?1:S),b*(b<0?1:S)),M=y?1:Math.max(g*(0<g?1:S),v*(0<v?1:S)),_=x?1:Math.max(m*(0<m?1:S),b*(0<b?1:S)),I=.5*(M-C),A=.5*(_-T);l=Math.min(r/I,s/A),c={x:-.5*(M+C),y:-.5*(_+T)}}t.borderWidth=o.getMaxBorderWidth(d.data),t.outerRadius=Math.max((l-t.borderWidth)/2,0),t.innerRadius=Math.max(u?t.outerRadius/100*u:0,0),t.radiusLength=(t.outerRadius-t.innerRadius)/t.getVisibleDatasetCount(),t.offsetX=c.x*t.outerRadius,t.offsetY=c.y*t.outerRadius,d.total=o.calculateTotal(),o.outerRadius=t.outerRadius-t.radiusLength*o.getRingIndex(o.index),o.innerRadius=Math.max(o.outerRadius-t.radiusLength,0),P.each(d.data,function(t,e){o.updateElement(t,e,i)})},updateElement:function(t,e,i){var o=this,n=o.chart,a=n.chartArea,r=n.options,s=r.animation,l=(a.left+a.right)/2,c=(a.top+a.bottom)/2,d=r.rotation,u=r.rotation,h=o.getDataset(),f=i&&s.animateRotate?0:t.hidden?0:o.calculateCircumference(h.data[e])*(r.circumference/(2*Math.PI)),p=i&&s.animateScale?0:o.innerRadius,g=i&&s.animateScale?0:o.outerRadius,m=P.valueAtIndexOrDefault;P.extend(t,{_datasetIndex:o.index,_index:e,_model:{x:l+n.offsetX,y:c+n.offsetY,startAngle:d,endAngle:u,circumference:f,outerRadius:g,innerRadius:p,label:m(h.label,e,n.data.labels[e])}});var v=t._model;this.removeHoverStyle(t),i&&s.animateRotate||(v.startAngle=0===e?r.rotation:o.getMeta().data[e-1]._model.endAngle,v.endAngle=v.startAngle+v.circumference),t.pivot()},removeHoverStyle:function(t){e.DatasetController.prototype.removeHoverStyle.call(this,t,this.chart.options.elements.arc)},calculateTotal:function(){var i,o=this.getDataset(),t=this.getMeta(),n=0;return P.each(t.data,function(t,e){i=o.data[e],isNaN(i)||t.hidden||(n+=Math.abs(i))}),n},calculateCircumference:function(t){var e=this.getMeta().total;return 0<e&&!isNaN(t)?2*Math.PI*(t/e):0},getMaxBorderWidth:function(t){for(var e,i,o=0,n=this.index,a=t.length,r=0;r<a;r++)o=(o=o<(e=t[r]._model?t[r]._model.borderWidth:0)?e:o)<(i=t[r]._chart?t[r]._chart.config.data.datasets[n].hoverBorderWidth:0)?i:o;return o}})}},{25:25,40:40,45:45}],18:[function(t,e,i){"use strict";var o=t(25),n=t(40),p=t(45);o._set("line",{showLines:!0,spanGaps:!1,hover:{mode:"label"},scales:{xAxes:[{type:"category",id:"x-axis-0"}],yAxes:[{type:"linear",id:"y-axis-0"}]}}),e.exports=function(t){function f(t,e){return p.valueOrDefault(t.showLine,e.showLines)}t.controllers.line=t.DatasetController.extend({datasetElementType:n.Line,dataElementType:n.Point,update:function(t){var e,i,o,n=this,a=n.getMeta(),r=a.dataset,s=a.data||[],l=n.chart.options,c=l.elements.line,d=n.getScaleForId(a.yAxisID),u=n.getDataset(),h=f(u,l);for(h&&(o=r.custom||{},void 0!==u.tension&&void 0===u.lineTension&&(u.lineTension=u.tension),r._scale=d,r._datasetIndex=n.index,r._children=s,r._model={spanGaps:u.spanGaps?u.spanGaps:l.spanGaps,tension:o.tension?o.tension:p.valueOrDefault(u.lineTension,c.tension),backgroundColor:o.backgroundColor?o.backgroundColor:u.backgroundColor||c.backgroundColor,borderWidth:o.borderWidth?o.borderWidth:u.borderWidth||c.borderWidth,borderColor:o.borderColor?o.borderColor:u.borderColor||c.borderColor,borderCapStyle:o.borderCapStyle?o.borderCapStyle:u.borderCapStyle||c.borderCapStyle,borderDash:o.borderDash?o.borderDash:u.borderDash||c.borderDash,borderDashOffset:o.borderDashOffset?o.borderDashOffset:u.borderDashOffset||c.borderDashOffset,borderJoinStyle:o.borderJoinStyle?o.borderJoinStyle:u.borderJoinStyle||c.borderJoinStyle,fill:o.fill?o.fill:void 0!==u.fill?u.fill:c.fill,steppedLine:o.steppedLine?o.steppedLine:p.valueOrDefault(u.steppedLine,c.stepped),cubicInterpolationMode:o.cubicInterpolationMode?o.cubicInterpolationMode:p.valueOrDefault(u.cubicInterpolationMode,c.cubicInterpolationMode)},r.pivot()),e=0,i=s.length;e<i;++e)n.updateElement(s[e],e,t);for(h&&0!==r._model.tension&&n.updateBezierControlPoints(),e=0,i=s.length;e<i;++e)s[e].pivot()}
vendor: 11,562 bytes, line 1
1,getPointBackgroundColor:function(t,e){var i=this.chart.options.elements.point.backgroundColor,o=this.getDataset(),n=t.custom||{};return n.backgroundColor?i=n.backgroundColor:o.pointBackgroundColor?i=p.valueAtIndexOrDefault(o.pointBackgroundColor,e,i):o.backgroundColor&&(i=o.backgroundColor),i},getPointBorderColor:function(t,e){var i=this.chart.options.elements.point.borderColor,o=this.getDataset(),n=t.custom||{};return n.borderColor?i=n.borderColor:o.pointBorderColor?i=p.valueAtIndexOrDefault(o.pointBorderColor,e,i):o.borderColor&&(i=o.borderColor),i},getPointBorderWidth:function(t,e){var i=this.chart.options.elements.point.borderWidth,o=this.getDataset(),n=t.custom||{};return isNaN(n.borderWidth)?!isNaN(o.pointBorderWidth)||p.isArray(o.pointBorderWidth)?i=p.valueAtIndexOrDefault(o.pointBorderWidth,e,i):isNaN(o.borderWidth)||(i=o.borderWidth):i=n.borderWidth,i},updateElement:function(t,e,i){var o,n,a=this,r=a.getMeta(),s=t.custom||{},l=a.getDataset(),c=a.index,d=l.data[e],u=a.getScaleForId(r.yAxisID),h=a.getScaleForId(r.xAxisID),f=a.chart.options.elements.point;void 0!==l.radius&&void 0===l.pointRadius&&(l.pointRadius=l.radius),void 0!==l.hitRadius&&void 0===l.pointHitRadius&&(l.pointHitRadius=l.hitRadius),o=h.getPixelForValue("object"==typeof d?d:NaN,e,c),n=i?u.getBasePixel():a.calculatePointY(d,e,c),t._xScale=h,t._yScale=u,t._datasetIndex=c,t._index=e,t._model={x:o,y:n,skip:s.skip||isNaN(o)||isNaN(n),radius:s.radius||p.valueAtIndexOrDefault(l.pointRadius,e,f.radius),pointStyle:s.pointStyle||p.valueAtIndexOrDefault(l.pointStyle,e,f.pointStyle),backgroundColor:a.getPointBackgroundColor(t,e),borderColor:a.getPointBorderColor(t,e),borderWidth:a.getPointBorderWidth(t,e),tension:r.dataset._model?r.dataset._model.tension:0,steppedLine:!!r.dataset._model&&r.dataset._model.steppedLine,hitRadius:s.hitRadius||p.valueAtIndexOrDefault(l.pointHitRadius,e,f.hitRadius)}},calculatePointY:function(t,e,i){var o,n,a,r=this.chart,s=this.getMeta(),l=this.getScaleForId(s.yAxisID),c=0,d=0;if(l.options.stacked){for(o=0;o<i;o++)if(n=r.data.datasets[o],"line"===(a=r.getDatasetMeta(o)).type&&a.yAxisID===l.id&&r.isDatasetVisible(o)){var u=Number(l.getRightValue(n.data[e]));u<0?d+=u||0:c+=u||0}var h=Number(l.getRightValue(t));return h<0?l.getPixelForValue(d+h):l.getPixelForValue(c+h)}return l.getPixelForValue(t)},updateBezierControlPoints:function(){var t,e,i,o,n=this.getMeta(),a=this.chart.chartArea,r=n.data||[];function s(t,e,i){return Math.max(Math.min(t,i),e)}if(n.dataset._model.spanGaps&&(r=r.filter(function(t){return!t._model.skip})),"monotone"===n.dataset._model.cubicInterpolationMode)p.splineCurveMonotone(r);else for(t=0,e=r.length;t<e;++t)i=r[t]._model,o=p.splineCurve(p.previousItem(r,t)._model,i,p.nextItem(r,t)._model,n.dataset._model.tension),i.controlPointPreviousX=o.previous.x,i.controlPointPreviousY=o.previous.y,i.controlPointNextX=o.next.x,i.controlPointNextY=o.next.y;if(this.chart.options.elements.line.capBezierPoints)for(t=0,e=r.length;t<e;++t)(i=r[t]._model).controlPointPreviousX=s(i.controlPointPreviousX,a.left,a.right),i.controlPointPreviousY=s(i.controlPointPreviousY,a.top,a.bottom),i.controlPointNextX=s(i.controlPointNextX,a.left,a.right),i.controlPointNextY=s(i.controlPointNextY,a.top,a.bottom)},draw:function(){var t=this.chart,e=this.getMeta(),i=e.data||[],o=t.chartArea,n=i.length,a=0;for(p.canvas.clipArea(t.ctx,o),f(this.getDataset(),t.options)&&e.dataset.draw(),p.canvas.unclipArea(t.ctx);a<n;++a)i[a].draw(o)},setHoverStyle:function(t){var e=this.chart.data.datasets[t._datasetIndex],i=t._index,o=t.custom||{},n=t._model;n.radius=o.hoverRadius||p.valueAtIndexOrDefault(e.pointHoverRadius,i,this.chart.options.elements.point.hoverRadius),n.backgroundColor=o.hoverBackgroundColor||p.valueAtIndexOrDefault(e.pointHoverBackgroundColor,i,p.getHoverColor(n.backgroundColor)),n.borderColor=o.hoverBorderColor||p.valueAtIndexOrDefault(e.pointHoverBorderColor,i,p.getHoverColor(n.borderColor)),n.borderWidth=o.hoverBorderWidth||p.valueAtIndexOrDefault(e.pointHoverBorderWidth,i,n.borderWidth)},removeHoverStyle:function(t){var e=this,i=e.chart.data.datasets[t._datasetIndex],o=t._index,n=t.custom||{},a=t._model;void 0!==i.radius&&void 0===i.pointRadius&&(i.pointRadius=i.radius),a.radius=n.radius||p.valueAtIndexOrDefault(i.pointRadius,o,e.chart.options.elements.point.radius),a.backgroundColor=e.getPointBackgroundColor(t,o),a.borderColor=e.getPointBorderColor(t,o),a.borderWidth=e.getPointBorderWidth(t,o)}})}},{25:25,40:40,45:45}],19:[function(t,e,i){"use strict";var o=t(25),n=t(40),w=t(45);o._set("polarArea",{scale:{type:"radialLinear",angleLines:{display:!1},gridLines:{circular:!0},pointLabels:{display:!1},ticks:{beginAtZero:!0}},animation:{animateRotate:!0,animateScale:!0},startAngle:-.5*Math.PI,legendCallback:function(t){var e=[];e.push('<ul class="'+t.id+'-legend">');var i=t.data,o=i.datasets,n=i.labels;if(o.length)for(var a=0;a<o[0].data.length;++a)e.push('<li><span style="background-color:'+o[0].backgroundColor[a]+'"></span>'),n[a]&&e.push(n[a]),e.push("</li>");return e.push("</ul>"),e.join("")},legend:{labels:{generateLabels:function(s){var l=s.data;return l.labels.length&&l.datasets.length?l.labels.map(function(t,e){var i=s.getDatasetMeta(0),o=l.datasets[0],n=i.data[e].custom||{},a=w.valueAtIndexOrDefault,r=s.options.elements.arc;return{text:t,fillStyle:n.backgroundColor?n.backgroundColor:a(o.backgroundColor,e,r.backgroundColor),strokeStyle:n.borderColor?n.borderColor:a(o.borderColor,e,r.borderColor),lineWidth:n.borderWidth?n.borderWidth:a(o.borderWidth,e,r.borderWidth),hidden:isNaN(o.data[e])||i.data[e].hidden,index:e}}):[]}},onClick:function(t,e){var i,o,n,a=e.index,r=this.chart;for(i=0,o=(r.data.datasets||[]).length;i<o;++i)(n=r.getDatasetMeta(i)).data[a].hidden=!n.data[a].hidden;r.update()}},tooltips:{callbacks:{title:function(){return""},label:function(t,e){return e.labels[t.index]+": "+t.yLabel}}}}),e.exports=function(e){e.controllers.polarArea=e.DatasetController.extend({dataElementType:n.Arc,linkScales:w.noop,update:function(i){var o=this,t=o.chart,e=t.chartArea,n=o.getMeta(),a=t.options,r=a.elements.arc,s=Math.min(e.right-e.left,e.bottom-e.top);t.outerRadius=Math.max((s-r.borderWidth/2)/2,0),t.innerRadius=Math.max(a.cutoutPercentage?t.outerRadius/100*a.cutoutPercentage:1,0),t.radiusLength=(t.outerRadius-t.innerRadius)/t.getVisibleDatasetCount(),o.outerRadius=t.outerRadius-t.radiusLength*o.index,o.innerRadius=o.outerRadius-t.radiusLength,n.count=o.countVisibleElements(),w.each(n.data,function(t,e){o.updateElement(t,e,i)})},updateElement:function(t,e,i){for(var o=this,n=o.chart,a=o.getDataset(),r=n.options,s=r.animation,l=n.scale,c=n.data.labels,d=o.calculateCircumference(a.data[e]),u=l.xCenter,h=l.yCenter,f=0,p=o.getMeta(),g=0;g<e;++g)isNaN(a.data[g])||p.data[g].hidden||++f;var m=r.startAngle,v=t.hidden?0:l.getDistanceFromCenterForValue(a.data[e]),b=m+d*f,y=b+(t.hidden?0:d),x=s.animateScale?0:l.getDistanceFromCenterForValue(a.data[e]);w.extend(t,{_datasetIndex:o.index,_index:e,_scale:l,_model:{x:u,y:h,innerRadius:0,outerRadius:i?x:v,startAngle:i&&s.animateRotate?m:b,endAngle:i&&s.animateRotate?m:y,label:w.valueAtIndexOrDefault(c,e,c[e])}}),o.removeHoverStyle(t),t.pivot()},removeHoverStyle:function(t){e.DatasetController.prototype.removeHoverStyle.call(this,t,this.chart.options.elements.arc)},countVisibleElements:function(){var i=this.getDataset(),t=this.getMeta(),o=0;return w.each(t.data,function(t,e){isNaN(i.data[e])||t.hidden||o++}),o},calculateCircumference:function(t){var e=this.getMeta().count;return 0<e&&!isNaN(t)?2*Math.PI/e:0}})}},{25:25,40:40,45:45}],20:[function(t,e,i){"use strict";var o=t(25),n=t(40),c=t(45);o._set("radar",{scale:{type:"radialLinear"},elements:{line:{tension:0}}}),e.exports=function(t){t.controllers.radar=t.DatasetController.extend({datasetElementType:n.Line,dataElementType:n.Point,linkScales:c.noop,update:function(i){var o=this,t=o.getMeta(),e=t.dataset,n=t.data,a=e.custom||{},r=o.getDataset(),s=o.chart.options.elements.line,l=o.chart.scale;void 0!==r.tension&&void 0===r.lineTension&&(r.lineTension=r.tension),c.extend(t.dataset,{_datasetIndex:o.index,_scale:l,_children:n,_loop:!0,_model:{tension:a.tension?a.tension:c.valueOrDefault(r.lineTension,s.tension),backgroundColor:a.backgroundColor?a.backgroundColor:r.backgroundColor||s.backgroundColor,borderWidth:a.borderWidth?a.borderWidth:r.borderWidth||s.borderWidth,borderColor:a.borderColor?a.borderColor:r.borderColor||s.borderColor,fill:a.fill?a.fill:void 0!==r.fill?r.fill:s.fill,borderCapStyle:a.borderCapStyle?a.borderCapStyle:r.borderCapStyle||s.borderCapStyle,borderDash:a.borderDash?a.borderDash:r.borderDash||s.borderDash,borderDashOffset:a.borderDashOffset?a.borderDashOffset:r.borderDashOffset||s.borderDashOffset,borderJoinStyle:a.borderJoinStyle?a.borderJoinStyle:r.borderJoinStyle||s.borderJoinStyle}}),t.dataset.pivot(),c.each(n,function(t,e){o.updateElement(t,e,i)},o),o.updateBezierControlPoints()},updateElement:function(t,e,i){var o=this,n=t.custom||{},a=o.getDataset(),r=o.chart.scale,s=o.chart.options.elements.point,l=r.getPointPositionForValue(e,a.data[e]);void 0!==a.radius&&void 0===a.pointRadius&&(a.pointRadius=a.radius),void 0!==a.hitRadius&&void 0===a.pointHitRadius&&(a.pointHitRadius=a.hitRadius),c.extend(t,{_datasetIndex:o.index,_index:e,_scale:r,_model:{x:i?r.xCenter:l.x,y:i?r.yCenter:l.y,tension:n.tension?n.tension:c.valueOrDefault(a.lineTension,o.chart.options.elements.line.tension),radius:n.radius?n.radius:c.valueAtIndexOrDefault(a.pointRadius,e,s.radius),backgroundColor:n.backgroundColor?n.backgroundColor:c.valueAtIndexOrDefault(a.pointBackgroundColor,e,s.backgroundColor),borderColor:n.borderColor?n.borderColor:c.valueAtIndexOrDefault(a.pointBorderColor,e,s.borderColor),borderWidth:n.borderWidth?n.borderWidth:c.valueAtIndexOrDefault(a.pointBorderWidth,e,s.borderWidth),pointStyle:n.pointStyle?n.pointStyle:c.valueAtIndexOrDefault(a.pointStyle,e,s.pointStyle),hitRadius:n.hitRadius?n.hitRadius:c.valueAtIndexOrDefault(a.pointHitRadius,e,s.hitRadius)}}),t._model.skip=n.skip?n.skip:isNaN(t._model.x)||isNaN(t._model.y)},updateBezierControlPoints:function(){var n=this.chart.chartArea,a=this.getMeta();c.each(a.data,function(t,e){var i=t._model,o=c.splineCurve(c.previousItem(a.data,e,!0)._model,i,c.nextItem(a.data,e,!0)._model,i.tension);i.controlPointPreviousX=Math.max(Math.min(o.previous.x,n.right),n.left),i.controlPointPreviousY=Math.max(Math.min(o.previous.y,n.bottom),n.top),i.controlPointNextX=Math.max(Math.min(o.next.x,n.right),n.left),i.controlPointNextY=Math.max(Math.min(o.next.y,n.bottom),n.top),t.pivot()})},setHoverStyle:function(t){var e=this.chart.data.datasets[t._datasetIndex],i=t.custom||{},o=t._index,n=t._model;n.radius=i.hoverRadius?i.hoverRadius:c.valueAtIndexOrDefault(e.pointHoverRadius,o,this.chart.options.elements.point.hoverRadius),n.backgroundColor=i.hoverBackgroundColor?i.hoverBackgroundColor:c.valueAtIndexOrDefault(e.pointHoverBackgroundColor,o,c.getHoverColor(n.backgroundColor)),n.borderColor=i.hoverBorderColor?i.hoverBorderColor:c.valueAtIndexOrDefault(e.pointHoverBorderColor,o,c.getHoverColor(n.borderColor)),n.borderWidth=i.hoverBorderWidth?i.hoverBorderWidth:c.valueAtIndexOrDefault(e.pointHoverBorderWidth,o,n.borderWidth)},removeHoverStyle:function(t){var e=this.chart.data.datasets[t._datasetIndex],i=t.custom||{},o=t._index,n=t._model,a=this.chart.options.elements.point;n.radius=i.radius?i.radius:c.valueAtIndexOrDefault(e.pointRadius,o,a.radius),n.backgroundColor=i.backgroundColor?i.backgroundColor:c.valueAtIndexOrDefault(e.pointBackgroun
vendor: 2,982 bytes, line 1
1dColor,o,a.backgroundColor),n.borderColor=i.borderColor?i.borderColor:c.valueAtIndexOrDefault(e.pointBorderColor,o,a.borderColor),n.borderWidth=i.borderWidth?i.borderWidth:c.valueAtIndexOrDefault(e.pointBorderWidth,o,a.borderWidth)}})}},{25:25,40:40,45:45}],21:[function(t,e,i){"use strict";t(25)._set("scatter",{hover:{mode:"single"},scales:{xAxes:[{id:"x-axis-1",type:"linear",position:"bottom"}],yAxes:[{id:"y-axis-1",type:"linear",position:"left"}]},showLines:!1,tooltips:{callbacks:{title:function(){return""},label:function(t){return"("+t.xLabel+", "+t.yLabel+")"}}}}),e.exports=function(t){t.controllers.scatter=t.controllers.line}},{25:25}],22:[function(t,e,i){"use strict";var o=t(25),n=t(26),a=t(45);o._set("global",{animation:{duration:1e3,easing:"easeOutQuart",onProgress:a.noop,onComplete:a.noop}}),e.exports=function(t){t.Animation=n.extend({chart:null,currentStep:0,numSteps:60,easing:"",render:null,onAnimationProgress:null,onAnimationComplete:null}),t.animationService={frameDuration:17,animations:[],dropFrames:0,request:null,addAnimation:function(t,e,i,o){var n,a,r=this.animations;for(e.chart=t,o||(t.animating=!0),n=0,a=r.length;n<a;++n)if(r[n].chart===t)return void(r[n]=e);r.push(e),1===r.length&&this.requestAnimationFrame()},cancelAnimation:function(e){var t=a.findIndex(this.animations,function(t){return t.chart===e});-1!==t&&(this.animations.splice(t,1),e.animating=!1)},requestAnimationFrame:function(){var t=this;null===t.request&&(t.request=a.requestAnimFrame.call(window,function(){t.request=null,t.startDigest()}))},startDigest:function(){var t=this,e=Date.now(),i=0;1<t.dropFrames&&(i=Math.floor(t.dropFrames),t.dropFrames=t.dropFrames%1),t.advance(1+i);var o=Date.now();t.dropFrames+=(o-e)/t.frameDuration,0<t.animations.length&&t.requestAnimationFrame()},advance:function(t){for(var e,i,o=this.animations,n=0;n<o.length;)i=(e=o[n]).chart,e.currentStep=(e.currentStep||0)+t,e.currentStep=Math.min(e.currentStep,e.numSteps),a.callback(e.render,[i,e],i),a.callback(e.onAnimationProgress,[e],i),e.currentStep>=e.numSteps?(a.callback(e.onAnimationComplete,[e],i),i.animating=!1,o.splice(n,1)):++n}},Object.defineProperty(t.Animation.prototype,"animationObject",{get:function(){return this}}),Object.defineProperty(t.Animation.prototype,"chartInstance",{get:function(){return this.chart},set:function(t){this.chart=t}})}},{25:25,26:26,45:45}],23:[function(t,e,i){"use strict";var d=t(25),u=t(45),n=t(28),h=t(48);e.exports=function(c){var l=c.plugins;function s(t){return"top"===t||"bottom"===t}c.types={},c.instances={},c.controllers={},u.extend(c.prototype,{construct:function(t,e){var i,o,n=this;(o=(i=(i=e)||{}).data=i.data||{}).datasets=o.datasets||[],o.labels=o.labels||[],i.options=u.configMerge(d.global,d[i.type],i.options||{}),e=i;var a=h.acquireContext(t,e),r=a&&a.canvas,s=r&&r.height,l=r&&r.width;n.id=u.uid(),n.ctx=a,n.canvas=r,n.config=e,n.width=l,n.height=s,n.aspectRatio=s?l/s:null,n.options=e.options,n._bufferedRender=!1,(n.chart=n).c
vendor: 5,756 bytes, line 1
1ontroller=n,c.instances[n.id]=n,Object.defineProperty(n,"data",{get:function(){return n.config.data},set:function(t){n.config.data=t}}),a&&r?(n.initialize(),n.update()):console.error("Failed to create chart: can't acquire context from the given item")},initialize:function(){var t=this;return l.notify(t,"beforeInit"),u.retinaScale(t,t.options.devicePixelRatio),t.bindEvents(),t.options.responsive&&t.resize(!0),t.ensureScalesHaveIDs(),t.buildScales(),t.initToolTip(),l.notify(t,"afterInit"),t},clear:function(){return u.canvas.clear(this),this},stop:function(){return c.animationService.cancelAnimation(this),this},resize:function(t){var e=this,i=e.options,o=e.canvas,n=i.maintainAspectRatio&&e.aspectRatio||null,a=Math.max(0,Math.floor(u.getMaximumWidth(o))),r=Math.max(0,Math.floor(n?a/n:u.getMaximumHeight(o)));if((e.width!==a||e.height!==r)&&(o.width=e.width=a,o.height=e.height=r,o.style.width=a+"px",o.style.height=r+"px",u.retinaScale(e,i.devicePixelRatio),!t)){var s={width:a,height:r};l.notify(e,"resize",[s]),e.options.onResize&&e.options.onResize(e,s),e.stop(),e.update(e.options.responsiveAnimationDuration)}},ensureScalesHaveIDs:function(){var t=this.options,e=t.scales||{},i=t.scale;u.each(e.xAxes,function(t,e){t.id=t.id||"x-axis-"+e}),u.each(e.yAxes,function(t,e){t.id=t.id||"y-axis-"+e}),i&&(i.id=i.id||"scale")},buildScales:function(){var a=this,t=a.options,r=a.scales={},e=[];t.scales&&(e=e.concat((t.scales.xAxes||[]).map(function(t){return{options:t,dtype:"category",dposition:"bottom"}}),(t.scales.yAxes||[]).map(function(t){return{options:t,dtype:"linear",dposition:"left"}}))),t.scale&&e.push({options:t.scale,dtype:"radialLinear",isDefault:!0,dposition:"chartArea"}),u.each(e,function(t){var e=t.options,i=u.valueOrDefault(e.type,t.dtype),o=c.scaleService.getScaleConstructor(i);if(o){s(e.position)!==s(t.dposition)&&(e.position=t.dposition);var n=new o({id:e.id,options:e,ctx:a.ctx,chart:a});(r[n.id]=n).mergeTicksOptions(),t.isDefault&&(a.scale=n)}}),c.scaleService.addScalesToLayout(this)},buildOrUpdateControllers:function(){var a=this,r=[],s=[];return u.each(a.data.datasets,function(t,e){var i=a.getDatasetMeta(e),o=t.type||a.config.type;if(i.type&&i.type!==o&&(a.destroyDatasetMeta(e),i=a.getDatasetMeta(e)),i.type=o,r.push(i.type),i.controller)i.controller.updateIndex(e);else{var n=c.controllers[i.type];if(void 0===n)throw new Error('"'+i.type+'" is not a chart type.');i.controller=new n(a,e),s.push(i.controller)}},a),s},resetElements:function(){var i=this;u.each(i.data.datasets,function(t,e){i.getDatasetMeta(e).controller.reset()},i)},reset:function(){this.resetElements(),this.tooltip.initialize()},update:function(t){var e,i,o=this;if(t&&"object"==typeof t||(t={duration:t,lazy:arguments[1]}),(i=(e=o).options).scale?e.scale.options=i.scale:i.scales&&i.scales.xAxes.concat(i.scales.yAxes).forEach(function(t){e.scales[t.id].options=t}),e.tooltip._options=i.tooltips,!1!==l.notify(o,"beforeUpdate")){o.tooltip._data=o.data;var n=o.buildOrUpdateControllers();u.each(o.data.datasets,function(t,e){o.getDatasetMeta(e).controller.buildOrUpdateElements()},o),o.updateLayout(),u.each(n,function(t){t.reset()}),o.updateDatasets(),o.tooltip.initialize(),o.lastActive=[],l.notify(o,"afterUpdate"),o._bufferedRender?o._bufferedRequest={duration:t.duration,easing:t.easing,lazy:t.lazy}:o.render(t)}},updateLayout:function(){!1!==l.notify(this,"beforeLayout")&&(c.layoutService.update(this,this.width,this.height),l.notify(this,"afterScaleUpdate"),l.notify(this,"afterLayout"))},updateDatasets:function(){if(!1!==l.notify(this,"beforeDatasetsUpdate")){for(var t=0,e=this.data.datasets.length;t<e;++t)this.updateDataset(t);l.notify(this,"afterDatasetsUpdate")}},updateDataset:function(t){var e=this.getDatasetMeta(t),i={meta:e,index:t};!1!==l.notify(this,"beforeDatasetUpdate",[i])&&(e.controller.update(),l.notify(this,"afterDatasetUpdate",[i]))},render:function(t){var e=this;t&&"object"==typeof t||(t={duration:t,lazy:arguments[1]});var i=t.duration,o=t.lazy;if(!1!==l.notify(e,"beforeRender")){var n=e.options.animation,a=function(t){l.notify(e,"afterRender"),u.callback(n&&n.onComplete,[t],e)};if(n&&(void 0!==i&&0!==i||void 0===i&&0!==n.duration)){var r=new c.Animation({numSteps:(i||n.duration)/16.66,easing:t.easing||n.easing,render:function(t,e){var i=u.easing.effects[e.easing],o=e.currentStep,n=o/e.numSteps;t.draw(i(n),n,o)},onAnimationProgress:n.onProgress,onAnimationComplete:a});c.animationService.addAnimation(e,r,i,o)}else e.draw(),a(new c.Animation({numSteps:0,chart:e}));return e}},draw:function(t){var e=this;e.clear(),u.isNullOrUndef(t)&&(t=1),e.transition(t),!1!==l.notify(e,"beforeDraw",[t])&&(u.each(e.boxes,function(t){t.draw(e.chartArea)},e),e.scale&&e.scale.draw(),e.drawDatasets(t),e._drawTooltip(t),l.notify(e,"afterDraw",[t]))},transition:function(t){for(var e=0,i=(this.data.datasets||[]).length;e<i;++e)this.isDatasetVisible(e)&&this.getDatasetMeta(e).controller.transition(t);this.tooltip.transition(t)},drawDatasets:function(t){var e=this;if(!1!==l.notify(e,"beforeDatasetsDraw",[t])){for(var i=(e.data.datasets||[]).length-1;0<=i;--i)e.isDatasetVisible(i)&&e.drawDataset(i,t);l.notify(e,"afterDatasetsDraw",[t])}},drawDataset:function(t,e){var i=this.getDatasetMeta(t),o={meta:i,index:t,easingValue:e};!1!==l.notify(this,"beforeDatasetDraw",[o])&&(i.controller.draw(e),l.notify(this,"afterDatasetDraw",[o]))},_drawTooltip:function(t){var e=this.tooltip,i={tooltip:e,easingValue:t};!1!==l.notify(this,"beforeTooltipDraw",[i])&&(e.draw(),l.notify(this,"afterTooltipDraw",[i]))},getElementAtEvent:function(t){return n.modes.single(this,t)},getElementsAtEvent:function(t){return n.modes.label(this,t,{intersect:!0})},getElementsAtXAxis:function(t){return n.modes["x-axis"](this,t,{intersect:!0})}
vendor: 18,945 bytes, line 1
1,getElementsAtEventForMode:function(t,e,i){var o=n.modes[e];return"function"==typeof o?o(this,t,i):[]},getDatasetAtEvent:function(t){return n.modes.dataset(this,t,{intersect:!0})},getDatasetMeta:function(t){var e=this.data.datasets[t];e._meta||(e._meta={});var i=e._meta[this.id];return i||(i=e._meta[this.id]={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null}),i},getVisibleDatasetCount:function(){for(var t=0,e=0,i=this.data.datasets.length;e<i;++e)this.isDatasetVisible(e)&&t++;return t},isDatasetVisible:function(t){var e=this.getDatasetMeta(t);return"boolean"==typeof e.hidden?!e.hidden:!this.data.datasets[t].hidden},generateLegend:function(){return this.options.legendCallback(this)},destroyDatasetMeta:function(t){var e=this.id,i=this.data.datasets[t],o=i._meta&&i._meta[e];o&&(o.controller.destroy(),delete i._meta[e])},destroy:function(){var t,e,i=this,o=i.canvas;for(i.stop(),t=0,e=i.data.datasets.length;t<e;++t)i.destroyDatasetMeta(t);o&&(i.unbindEvents(),u.canvas.clear(i),h.releaseContext(i.ctx),i.canvas=null,i.ctx=null),l.notify(i,"destroy"),delete c.instances[i.id]},toBase64Image:function(){return this.canvas.toDataURL.apply(this.canvas,arguments)},initToolTip:function(){var t=this;t.tooltip=new c.Tooltip({_chart:t,_chartInstance:t,_data:t.data,_options:t.options.tooltips},t)},bindEvents:function(){var e=this,i=e._listeners={},o=function(){e.eventHandler.apply(e,arguments)};u.each(e.options.events,function(t){h.addEventListener(e,t,o),i[t]=o}),e.options.responsive&&(o=function(){e.resize()},h.addEventListener(e,"resize",o),i.resize=o)},unbindEvents:function(){var i=this,t=i._listeners;t&&(delete i._listeners,u.each(t,function(t,e){h.removeEventListener(i,e,t)}))},updateHoverStyle:function(t,e,i){var o,n,a,r=i?"setHoverStyle":"removeHoverStyle";for(n=0,a=t.length;n<a;++n)(o=t[n])&&this.getDatasetMeta(o._datasetIndex).controller[r](o)},eventHandler:function(t){var e=this,i=e.tooltip;if(!1!==l.notify(e,"beforeEvent",[t])){e._bufferedRender=!0,e._bufferedRequest=null;var o=e.handleEvent(t);o|=i&&i.handleEvent(t),l.notify(e,"afterEvent",[t]);var n=e._bufferedRequest;return n?e.render(n):o&&!e.animating&&(e.stop(),e.render(e.options.hover.animationDuration,!0)),e._bufferedRender=!1,e._bufferedRequest=null,e}},handleEvent:function(t){var e,i=this,o=i.options||{},n=o.hover;return i.lastActive=i.lastActive||[],"mouseout"===t.type?i.active=[]:i.active=i.getElementsAtEventForMode(t,n.mode,n),u.callback(o.onHover||o.hover.onHover,[t.native,i.active],i),"mouseup"!==t.type&&"click"!==t.type||o.onClick&&o.onClick.call(i,t.native,i.active),i.lastActive.length&&i.updateHoverStyle(i.lastActive,n.mode,!1),i.active.length&&n.mode&&i.updateHoverStyle(i.active,n.mode,!0),e=!u.arrayEquals(i.active,i.lastActive),i.lastActive=i.active,e}}),c.Controller=c}},{25:25,28:28,45:45,48:48}],24:[function(t,e,i){"use strict";var s=t(45);e.exports=function(t){var a=["push","pop","shift","splice","unshift"];function r(e,t){var i=e._chartjs;if(i){var o=i.listeners,n=o.indexOf(t);-1!==n&&o.splice(n,1),0<o.length||(a.forEach(function(t){delete e[t]}),delete e._chartjs)}}t.DatasetController=function(t,e){this.initialize(t,e)},s.extend(t.DatasetController.prototype,{datasetElementType:null,dataElementType:null,initialize:function(t,e){this.chart=t,this.index=e,this.linkScales(),this.addElements()},updateIndex:function(t){this.index=t},linkScales:function(){var t=this.getMeta(),e=this.getDataset();null===t.xAxisID&&(t.xAxisID=e.xAxisID||this.chart.options.scales.xAxes[0].id),null===t.yAxisID&&(t.yAxisID=e.yAxisID||this.chart.options.scales.yAxes[0].id)},getDataset:function(){return this.chart.data.datasets[this.index]},getMeta:function(){return this.chart.getDatasetMeta(this.index)},getScaleForId:function(t){return this.chart.scales[t]},reset:function(){this.update(!0)},destroy:function(){this._data&&r(this._data,this)},createMetaDataset:function(){var t=this.datasetElementType;return t&&new t({_chart:this.chart,_datasetIndex:this.index})},createMetaData:function(t){var e=this.dataElementType;return e&&new e({_chart:this.chart,_datasetIndex:this.index,_index:t})},addElements:function(){var t,e,i=this.getMeta(),o=this.getDataset().data||[],n=i.data;for(t=0,e=o.length;t<e;++t)n[t]=n[t]||this.createMetaData(t);i.dataset=i.dataset||this.createMetaDataset()},addElementAndReset:function(t){var e=this.createMetaData(t);this.getMeta().data.splice(t,0,e),this.updateElement(e,t,!0)},buildOrUpdateElements:function(){var n,t,e=this,i=e.getDataset(),o=i.data||(i.data=[]);e._data!==o&&(e._data&&r(e._data,e),t=e,(n=o)._chartjs?n._chartjs.listeners.push(t):(Object.defineProperty(n,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[t]}}),a.forEach(function(t){var i="onData"+t.charAt(0).toUpperCase()+t.slice(1),o=n[t];Object.defineProperty(n,t,{configurable:!0,enumerable:!1,value:function(){var e=Array.prototype.slice.call(arguments),t=o.apply(this,e);return s.each(n._chartjs.listeners,function(t){"function"==typeof t[i]&&t[i].apply(t,e)}),t}})})),e._data=o),e.resyncElements()},update:s.noop,transition:function(t){for(var e=this.getMeta(),i=e.data||[],o=i.length,n=0;n<o;++n)i[n].transition(t);e.dataset&&e.dataset.transition(t)},draw:function(){var t=this.getMeta(),e=t.data||[],i=e.length,o=0;for(t.dataset&&t.dataset.draw();o<i;++o)e[o].draw()},removeHoverStyle:function(t,e){var i=this.chart.data.datasets[t._datasetIndex],o=t._index,n=t.custom||{},a=s.valueAtIndexOrDefault,r=t._model;r.backgroundColor=n.backgroundColor?n.backgroundColor:a(i.backgroundColor,o,e.backgroundColor),r.borderColor=n.borderColor?n.borderColor:a(i.borderColor,o,e.borderColor),r.borderWidth=n.borderWidth?n.borderWidth:a(i.borderWidth,o,e.borderWidth)},setHoverStyle:function(t){var e=this.chart.data.datasets[t._datasetIndex],i=t._index,o=t.custom||{},n=s.valueAtIndexOrDefault,a=s.getHoverColor,r=t._model;r.backgroundColor=o.hoverBackgroundColor?o.hoverBackgroundColor:n(e.hoverBackgroundColor,i,a(r.backgroundColor)),r.borderColor=o.hoverBorderColor?o.hoverBorderColor:n(e.hoverBorderColor,i,a(r.borderColor)),r.borderWidth=o.hoverBorderWidth?o.hoverBorderWidth:n(e.hoverBorderWidth,i,r.borderWidth)},resyncElements:function(){var t=this.getMeta(),e=this.getDataset().data,i=t.data.length,o=e.length;o<i?t.data.splice(o,i-o):i<o&&this.insertElements(i,o-i)},insertElements:function(t,e){for(var i=0;i<e;++i)this.addElementAndReset(t+i)},onDataPush:function(){this.insertElements(this.getDataset().data.length-1,arguments.length)},onDataPop:function(){this.getMeta().data.pop()},onDataShift:function(){this.getMeta().data.shift()},onDataSplice:function(t,e){this.getMeta().data.splice(t,e),this.insertElements(t,arguments.length-2)},onDataUnshift:function(){this.insertElements(0,arguments.length)}}),t.DatasetController.extend=s.inherits}},{45:45}],25:[function(t,e,i){"use strict";var o=t(45);e.exports={_set:function(t,e){return o.merge(this[t]||(this[t]={}),e)}}},{45:45}],26:[function(t,e,i){"use strict";var p=t(3),o=t(45);var n=function(t){o.extend(this,t),this.initialize.apply(this,arguments)};o.extend(n.prototype,{initialize:function(){this.hidden=!1},pivot:function(){var t=this;return t._view||(t._view=o.clone(t._model)),t._start={},t},transition:function(t){var e=this,i=e._model,o=e._start,n=e._view;return i&&1!==t?(n||(n=e._view={}),o||(o=e._start={}),function(t,e,i,o){var n,a,r,s,l,c,d,u,h,f=Object.keys(i);for(n=0,a=f.length;n<a;++n)if(c=i[r=f[n]],e.hasOwnProperty(r)||(e[r]=c),(s=e[r])!==c&&"_"!==r[0]){if(t.hasOwnProperty(r)||(t[r]=s),(d=typeof c)==typeof(l=t[r]))if("string"===d){if((u=p(l)).valid&&(h=p(c)).valid){e[r]=h.mix(u,o).rgbString();continue}}else if("number"===d&&isFinite(l)&&isFinite(c)){e[r]=l+(c-l)*o;continue}e[r]=c}}(o,n,i,t)):(e._view=i,e._start=null),e},tooltipPosition:function(){return{x:this._model.x,y:this._model.y}},hasValue:function(){return o.isNumber(this._model.x)&&o.isNumber(this._model.y)}}),n.extend=o.inherits,e.exports=n},{3:3,45:45}],27:[function(t,e,i){"use strict";var o=t(3),n=t(25),p=t(45);e.exports=function(l){function d(t,e,i){var o;return"string"==typeof t?(o=parseInt(t,10),-1!==t.indexOf("%")&&(o=o/100*e.parentNode[i])):o=t,o}function u(t){return null!=t&&"none"!==t}function e(t,e,i){var o=document.defaultView,n=t.parentNode,a=o.getComputedStyle(t)[e],r=o.getComputedStyle(n)[e],s=u(a),l=u(r),c=Number.POSITIVE_INFINITY;return s||l?Math.min(s?d(a,t,i):c,l?d(r,n,i):c):"none"}p.configMerge=function(){return p.merge(p.clone(arguments[0]),[].slice.call(arguments,1),{merger:function(t,e,i,o){var n=e[t]||{},a=i[t];"scales"===t?e[t]=p.scaleMerge(n,a):"scale"===t?e[t]=p.merge(n,[l.scaleService.getScaleDefaults(a.type),a]):p._merger(t,e,i,o)}})},p.scaleMerge=function(){return p.merge(p.clone(arguments[0]),[].slice.call(arguments,1),{merger:function(t,e,i,o){if("xAxes"===t||"yAxes"===t){var n,a,r,s=i[t].length;for(e[t]||(e[t]=[]),n=0;n<s;++n)r=i[t][n],a=p.valueOrDefault(r.type,"xAxes"===t?"category":"linear"),n>=e[t].length&&e[t].push({}),!e[t][n].type||r.type&&r.type!==e[t][n].type?p.merge(e[t][n],[l.scaleService.getScaleDefaults(a),r]):p.merge(e[t][n],r)}else p._merger(t,e,i,o)}})},p.where=function(t,e){if(p.isArray(t)&&Array.prototype.filter)return t.filter(e);var i=[];return p.each(t,function(t){e(t)&&i.push(t)}),i},p.findIndex=Array.prototype.findIndex?function(t,e,i){return t.findIndex(e,i)}:function(t,e,i){i=void 0===i?t:i;for(var o=0,n=t.length;o<n;++o)if(e.call(i,t[o],o,t))return o;return-1},p.findNextWhere=function(t,e,i){p.isNullOrUndef(i)&&(i=-1);for(var o=i+1;o<t.length;o++){var n=t[o];if(e(n))return n}},p.findPreviousWhere=function(t,e,i){p.isNullOrUndef(i)&&(i=t.length);for(var o=i-1;0<=o;o--){var n=t[o];if(e(n))return n}},p.isNumber=function(t){return!isNaN(parseFloat(t))&&isFinite(t)},p.almostEquals=function(t,e,i){return Math.abs(t-e)<i},p.almostWhole=function(t,e){var i=Math.round(t);return i-e<t&&t<i+e},p.max=function(t){return t.reduce(function(t,e){return isNaN(e)?t:Math.max(t,e)},Number.NEGATIVE_INFINITY)},p.min=function(t){return t.reduce(function(t,e){return isNaN(e)?t:Math.min(t,e)},Number.POSITIVE_INFINITY)},p.sign=Math.sign?function(t){return Math.sign(t)}:function(t){return 0===(t=+t)||isNaN(t)?t:0<t?1:-1},p.log10=Math.log10?function(t){return Math.log10(t)}:function(t){return Math.log(t)/Math.LN10},p.toRadians=function(t){return t*(Math.PI/180)},p.toDegrees=function(t){return t*(180/Math.PI)},p.getAngleFromPoint=function(t,e){var i=e.x-t.x,o=e.y-t.y,n=Math.sqrt(i*i+o*o),a=Math.atan2(o,i);return a<-.5*Math.PI&&(a+=2*Math.PI),{angle:a,distance:n}},p.distanceBetweenPoints=function(t,e){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))},p.aliasPixel=function(t){return t%2==0?0:.5},p.splineCurve=function(t,e,i,o){var n=t.skip?e:t,a=e,r=i.skip?e:i,s=Math.sqrt(Math.pow(a.x-n.x,2)+Math.pow(a.y-n.y,2)),l=Math.sqrt(Math.pow(r.x-a.x,2)+Math.pow(r.y-a.y,2)),c=s/(s+l),d=l/(s+l),u=o*(c=isNaN(c)?0:c),h=o*(d=isNaN(d)?0:d);return{previous:{x:a.x-u*(r.x-n.x),y:a.y-u*(r.y-n.y)},next:{x:a.x+h*(r.x-n.x),y:a.y+h*(r.y-n.y)}}},p.EPSILON=Number.EPSILON||1e-14,p.splineCurveMonotone=function(t){var e,i,o,n,a,r,s,l,c,d=(t||[]).map(function(t){return{model:t._model,deltaK:0,mK:0}}),u=d.length;for(e=0;e<u;++e)if(!(o=d[e]).model.skip){if(i=0<e?d[e-1]:null,(n=e<u-1?d[e+1]:null)&&!n.model.skip){var h=n.model.x-o.model.x;o.deltaK=0!==h?(n.model.y-o.model.y)/h:0}!i||i.model.skip?o.mK=o.deltaK:!n||n.model.skip?o.mK=i.deltaK:this.sign(i.deltaK)!==this.sign(o.deltaK)?o.mK=0:o.mK=(i.deltaK+o.deltaK)/2}for(e=0;e<u-1;++e)o=d[e],n=d[e+1],o.model.skip||n.model.skip||(p.almostEquals(o.deltaK,0,this.EPSILON)?o.mK=n.mK=0:(a=o.mK/o.deltaK,r=n.mK/o.deltaK,(l=Math.pow(a,2)+Math.pow(r,2))<=9||(s=3/Math.sqrt(l),o.mK=a*s*o.deltaK,n.mK=r*s*o.deltaK)));for(e=0;e<u;++e)(o=d[e]).model.skip||(i=0<e?d[e-1]:null,n=e<u-1?d[e+1]:null,i&&!i.model.skip&&(c=(o.model.x-i.model.x)/3,o.model.controlPointPreviousX=o.model.x-c,o.model.controlPointPreviousY=o.model.y-c*o.mK),n&&!n.model.skip&&(c=(n.model.x-o.model.x)/3,o.model.controlPointNextX=o.model.x+c,o.model.controlPointNextY=o.model.y+c*o.mK))},p.nextItem=function(t,e,i){return i?e>=t.length-1?t[0]:t[e+1]:e>=t.length-1?t[t.length-1]:t[e+1]},p.previousItem=function(t,e,i){return i?e<=0?t[t.length-1]:t[e-1]:e<=0?t[0]:t[e-1]},p.niceNum=function(t,e){var i=Math.floor(p.log10(t)),o=t/Math.pow(10,i);return(e?o<1.5?1:o<3?2:o<7?5:10:o<=1?1:o<=2?2:o<=5?5:10)*Math.pow(10,i)},p.requestAnimFrame="undefined"==typeof window?function(t){t()}:window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(t){return window.setTimeout(t,1e3/60)},p.getRelativePosition=function(t,e){var i,o,n=t.originalEvent||t,a=t.currentTarget||t.srcElement,r=a.getBoundingClientRect(),s=n.touches;s&&0<s.length?(i=s[0].clientX,o=s[0].clientY):(i=n.clientX,o=n.clientY);var l=parseFloat(p.getStyle(a,"padding-left")),c=parseFloat(p.getStyle(a,"padding-top")),d=parseFloat(p.getStyle(a,"padding-right")),u=parseFloat(p.getStyle(a,"padding-bottom")),h=r.right-r.left-l-d,f=r.bottom-r.top-c-u;return{x:i=Math.round((i-r.left-l)/h*a.width/e.currentDevicePixelRatio),y:o=Math.round((o-r.top-c)/f*a.height/e.currentDevicePixelRatio)}},p.getConstraintWidth=function(t){return e(t,"max-width","clientWidth")},p.getConstraintHeight=function(t){return e(t,"max-height","clientHeight")},p.getMaximumWidth=function(t){var e=t.parentNode;if(!e)return t.clientWidth;var i=parseInt(p.getStyle(e,"padding-left"),10),o=parseInt(p.getStyle(e,"padding-right"),10),n=e.clientWidth-i-o,a=p.getConstraintWidth(t);return isNaN(a)?n:Math.min(n,a)},p.getMaximumHeight=function(t){var e=t.parentNode;if(!e)return t.clientHeight;var i=parseInt(p.getStyle(e,"padding-top"),10),o=parseInt(p.getStyle(e,"padding-bottom"),10),n=e.clientHeight-i-o,a=p.getConstraintHeight(t);return isNaN(a)?n:Math.min(n,a)},p.getStyle=function(t,e){return t.currentStyle?t.currentStyle[e]:document.defaultView.getComputedStyle(t,null).getPropertyValue(e)},p.retinaScale=function(t,e){var i=t.currentDevicePixelRatio=e||window.devicePixelRatio||1;if(1!==i){var o=t.canvas,n=t.height,a=t.width;o.height=n*i,o.width=a*i,t.ctx.scale(i,i),o.style.height=n+"px",o.style.width=a+"px"}},p.fontString=function(t,e,i){return e+" "+t+"px "+i},p.longestText=function(e,t,i,o){var n=(o=o||{}).data=o.data||{},a=o.garbageCollect=o.garbageCollect||[];o.font!==t&&(n=o.data={},a=o.garbageCollect=[],o.font=t),e.font=t;var r=0;p.each(i,function(t){null!=t&&!0!==p.isArray(t)?r=p.measureText(e,n,a,r,t):p.isArray(t)&&p.each(t,function(t){null==t||p.isArray(t)||(r=p.measureText(e,n,a,r,t))})});var s=a.length/2;if(s>i.length){for(var l=0;l<s;l++)delete n[a[l]];a.splice(0,s)}return r},p.measureText=function(t,e,i,o,n){var a=e[n];return a||(a=e[n]=t.measureText(n).width,i.push(n)),o<a&&(o=a),o},p.numberOfLabelLines=function(t){var e=1;return p.each(t,function(t){p.isArray(t)&&t.length>e&&(e=t.length)}),e},p.color=o?function(t){return t instanceof CanvasGradient&&(t=n.global.defaultColor),o(t)}:function(t){return console.error("Color.js not found!"),t},p.getHoverColor=function(t){return t instanceof CanvasPattern?t:p.color(t).saturate(.5).darken(.1).rgbString()}}},{25:25,3:3,45:45}],28:[function(t,e,i){"use strict";var o=t(45);function s(t,e){return t.native?{x:t.x,y:t.y}:o.getRelativePosition(t,e)}function l(t,e){var i,o,n,a,r;for(o=0,a=t.data.datasets.length;o<a;++o)if(t.isDatasetVisible(o))for(n=0,r=(i=t.getDatasetMeta(o)).data.length;n<r;++n){var s=i.data[n];s._view.skip||e(s)}}function c(t,e){var i=[];return l(t,function(t){t.inRange(e.x,e.y)&&i.push(t)}),i}function d(t,o,n,a){var r=Number.POSITIVE_INFINITY,s=[];return l(t,function(t){if(!n||t.inRange(o.x,o.y)){var e=t.getCenterPoint(),i=a(o,e);i<r?(s=[t],r=i):i===r&&s.push(t)}}),s}function u(t){var n=-1!==t.indexOf("x"),a=-1!==t.indexOf("y");return function(t,e){var i=n?Math.abs(t.x-e.x):0,o=a?Math.abs(t.y-e.y):0;return Math.sqrt(Math.pow(i,2)+Math.pow(o,2))}}function n(o,t,e){var i=s(t,o);e.axis=e.axis||"x";var n=u(e.axis),a=e.intersect?c(o,i):d(o,i,!1,n),r=[];return a.length?(o.data.datasets.forEach(function(t,e){if(o.isDatasetVisible(e)){var i=o.getDatasetMeta(e).data[a[0]._index];i&&!i._view.skip&&r.push(i)}}),r):[]}e.exports={modes:{single:function(t,e){var i=s(e,t),o=[];return l(t,function(t){if(t.inRange(i.x,i.y))return o.push(t),o}),o.slice(0,1)},label:n,index:n,dataset:function(t,e,i){var o=s(e,t);i.axis=i.axis||"xy";var n=u(i.axis),a=i.intersect?c(t,o):d(t,o,!1,n);return 0<a.length&&(a=t.getDatasetMeta(a[0]._datasetIndex).data),a},"x-axis":function(t,e){return n(t,e,{intersect:!1})},point:function(t,e){return c(t,s(e,t))},nearest:function(t,e,i){var o=s(e,t);i.axis=i.axis||"xy";var n=u(i.axis),a=d(t,o,i.intersect,n);return 1<a.length&&a.sort(function(t,e){var i=t.getArea()-e.getArea();return 0===i&&(i=t._datasetIndex-e._datasetIndex),i}),a.slice(0,1)},x:function(t,e,i){var o=s(e,t),n=[],a=!1;return l(t,function(t){t.inXRange(o.x)&&n.push(t),t.inRange(o.x,o.y)&&(a=!0)}),i.intersect&&!a&&(n=[]),n},y:function(t,e,i){var o=s(e,t),n=[],a=!1;return l(t,function(t){t.inYRange(o.y)&&n.push(t),t.inRange(o.x,o.y)&&(a=!0)}),i.intersect&&!a&&(n=[]),n}}}},{45:45}],29:[function(t,e,i){"use strict";t(25)._set("global",{responsive:!0,responsiveAnimationDuration:0,maintainAspectRatio:!0,events:["mousemove","mouseout","click","touchstart","touchmove"],hover:{onHover:null,mode:"nearest",intersect:!0,animationDuration:400},onClick:null,defaultColor:"rgba(0,0,0,0.1)",defaultFontColor:"#666",defaultFontFamily:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",defaultFontSize:12,defaultFontStyle:"normal",showLines:!0,elements:{},layout:{padding:{top:0,right:0,bottom:0,left:0}}}),e.exports=function(){var t=function(t,e){return this.construct(t,e),this};return t.Chart=t}},{25:25}],30:[function(t,e,i){"use strict";var W=t(45);e.exports=function(t){function R(t,e){return W.where(t,function(t){return t.position===e})}function j(t,n){t.forEach(function(t,e){return t._tmpIndex_=e,t}),t.sort(function(t,e){var i=n?e:t,o=n?t:e;return i.weight===o.weight?i._tmpIndex_-o._tmpIndex_:i.weight-o.weight}),t.forEach(function(t){delete t._tmpIndex_})}t.layoutService={defaults:{},addBox:function(t,e){t.boxes||(t.boxes=[]),e.fullWidth=e.fullWidth||!1,e.position=e.position||"top",e.weight=e.weight||0,t.boxes.push(e)},removeBox:function(t,e){var i=t.boxes?t.boxes.indexOf(e):-1;-1!==i&&t.boxes.splice(i,1)},configure:function(t,e,i){for(var o,n=["fullWidth","position","weight"],a=n.length,r=0;r<a;++r)o=n[r],i.hasOwnProperty(o)&&(e[o]=i[o])},update:function(e,i,t){if(e){var o=e.options.layout||{},n=W.options.toPadding(o.padding),a=n.left,r=n.right,s=n.top,l=n.bottom,c=R(e.boxes,"left"),d=R(e.boxes,"right"),u=R(e.boxes,"top"),h=R(e.boxes,"bottom"),f=R(e.boxes,"chartArea");j(c,!0),j(d,!1),j(u,!0),j(h,!1);var p=i-a-r,g=t-s-l,m=g/2,v=(i-p/2)/(c.length+d.length),b=(t-m)/(u.length+h.length),y=p,x=g,w=[];
vendor: 4,983 bytes, line 1
1W.each(c.concat(d,u,h),function(t){var e,i=t.isHorizontal();i?(e=t.update(t.fullWidth?p:y,b),x-=e.height):(e=t.update(v,m),y-=e.width),w.push({horizontal:i,minSize:e,box:t})});var k=0,S=0,C=0,T=0;W.each(u.concat(h),function(t){if(t.getPadding){var e=t.getPadding();k=Math.max(k,e.left),S=Math.max(S,e.right)}}),W.each(c.concat(d),function(t){if(t.getPadding){var e=t.getPadding();C=Math.max(C,e.top),T=Math.max(T,e.bottom)}});var M=a,_=r,I=s,A=l;W.each(c.concat(d),z),W.each(c,function(t){M+=t.width}),W.each(d,function(t){_+=t.width}),W.each(u.concat(h),z),W.each(u,function(t){I+=t.height}),W.each(h,function(t){A+=t.height}),W.each(c.concat(d),function(e){var t=W.findNextWhere(w,function(t){return t.box===e}),i={left:0,right:0,top:I,bottom:A};t&&e.update(t.minSize.width,x,i)}),M=a,_=r,I=s,A=l,W.each(c,function(t){M+=t.width}),W.each(d,function(t){_+=t.width}),W.each(u,function(t){I+=t.height}),W.each(h,function(t){A+=t.height});var P=Math.max(k-M,0);M+=P,_+=Math.max(S-_,0);var $=Math.max(C-I,0);I+=$,A+=Math.max(T-A,0);var D=t-I-A,L=i-M-_;L===y&&D===x||(W.each(c,function(t){t.height=D}),W.each(d,function(t){t.height=D}),W.each(u,function(t){t.fullWidth||(t.width=L)}),W.each(h,function(t){t.fullWidth||(t.width=L)}),x=D,y=L);var O=a+P,E=s+$;W.each(c.concat(u),F),O+=y,E+=x,W.each(d,F),W.each(h,F),e.chartArea={left:M,top:I,right:M+y,bottom:I+x},W.each(f,function(t){t.left=e.chartArea.left,t.top=e.chartArea.top,t.right=e.chartArea.right,t.bottom=e.chartArea.bottom,t.update(y,x)})}function z(e){var t=W.findNextWhere(w,function(t){return t.box===e});if(t)if(e.isHorizontal()){var i={left:Math.max(M,k),right:Math.max(_,S),top:0,bottom:0};e.update(e.fullWidth?p:y,g/2,i)}else e.update(t.minSize.width,x)}function F(t){t.isHorizontal()?(t.left=t.fullWidth?a:M,t.right=t.fullWidth?i-r:M+y,t.top=E,t.bottom=E+t.height,E=t.bottom):(t.left=O,t.right=O+t.width,t.top=I,t.bottom=I+x,O=t.right)}}}}},{45:45}],31:[function(t,e,i){"use strict";var r=t(25),o=t(26),s=t(45);r._set("global",{plugins:{}}),e.exports=function(t){t.plugins={_plugins:[],_cacheId:0,register:function(t){var e=this._plugins;[].concat(t).forEach(function(t){-1===e.indexOf(t)&&e.push(t)}),this._cacheId++},unregister:function(t){var i=this._plugins;[].concat(t).forEach(function(t){var e=i.indexOf(t);-1!==e&&i.splice(e,1)}),this._cacheId++},clear:function(){this._plugins=[],this._cacheId++},count:function(){return this._plugins.length},getAll:function(){return this._plugins},notify:function(t,e,i){var o,n,a,r,s,l=this.descriptors(t),c=l.length;for(o=0;o<c;++o)if("function"==typeof(s=(a=(n=l[o]).plugin)[e])&&((r=[t].concat(i||[])).push(n.options),!1===s.apply(a,r)))return!1;return!0},descriptors:function(t){var e=t._plugins||(t._plugins={});if(e.id===this._cacheId)return e.descriptors;var o=[],n=[],i=t&&t.config||{},a=i.options&&i.options.plugins||{};return this._plugins.concat(i.plugins||[]).forEach(function(t){if(-1===o.indexOf(t)){var e=t.id,i=a[e];!1!==i&&(!0===i&&(i=s.clone(r.global.plugins[e])),o.push(t),n.push({plugin:t,options:i||{}}))}}),e.descriptors=n,e.id=this._cacheId,n}},t.pluginService=t.plugins,t.PluginBase=o.extend({})}},{25:25,26:26,45:45}],32:[function(t,e,i){"use strict";var x=t(25),o=t(26),B=t(45),n=t(34);function C(t){var e,i,o=[];for(e=0,i=t.length;e<i;++e)o.push(t[e].label);return o}function H(t,e,i){var o=t.getPixelForTick(e);return i&&(o-=0===e?(t.getPixelForTick(1)-o)/2:(o-t.getPixelForTick(e-1))/2),o}x._set("scale",{display:!0,position:"left",offset:!1,gridLines:{display:!0,color:"rgba(0, 0, 0, 0.1)",lineWidth:1,drawBorder:!0,drawOnChartArea:!0,drawTicks:!0,tickMarkLength:10,zeroLineWidth:1,zeroLineColor:"rgba(0,0,0,0.25)",zeroLineBorderDash:[],zeroLineBorderDashOffset:0,offsetGridLines:!1,borderDash:[],borderDashOffset:0},scaleLabel:{display:!1,labelString:"",lineHeight:1.2,padding:{top:4,bottom:4}},ticks:{beginAtZero:!1,minRotation:0,maxRotation:50,mirror:!1,padding:0,reverse:!1,display:!0,autoSkip:!0,autoSkipPadding:0,labelOffset:0,callback:n.formatters.values,minor:{},major:{}}}),e.exports=function(t){function w(t,e,i){return B.isArray(e)?B.longestText(t,i,e):t.measureText(e).width}function k(t){var e=B.valueOrDefault,i=x.global,o=e(t.fontSize,i.defaultFontSize),n=e(t.fontStyle,i.defaultFontStyle),a=e(t.fontFamily,i.defaultFontFamily);return{size:o,style:n,family:a,font:B.fontString(o,n,a)}}function S(t){return B.options.toLineHeight(B.valueOrDefault(t.lineHeight,1.2),B.valueOrDefault(t.fontSize,x.global.defaultFontSize))}t.Scale=o.extend({getPadding:function(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}},getTicks:function(){return this._ticks},mergeTicksOptions:function(){var t=this.options.ticks;for(var e in!1===t.minor&&(t.minor={display:!1}),!1===t.major&&(t.major={display:!1}),t)"major"!==e&&"minor"!==e&&(void 0===t.minor[e]&&(t.minor[e]=t[e]),void 0===t.major[e]&&(t.major[e]=t[e]))},beforeUpdate:function(){B.callback(this.options.beforeUpdate,[this])}
vendor: 4,797 bytes, line 1
1,update:function(t,e,i){var o,n,a,r,s,l,c=this;for(c.beforeUpdate(),c.maxWidth=t,c.maxHeight=e,c.margins=B.extend({left:0,right:0,top:0,bottom:0},i),c.longestTextCache=c.longestTextCache||{},c.beforeSetDimensions(),c.setDimensions(),c.afterSetDimensions(),c.beforeDataLimits(),c.determineDataLimits(),c.afterDataLimits(),c.beforeBuildTicks(),s=c.buildTicks()||[],c.afterBuildTicks(),c.beforeTickToLabelConversion(),a=c.convertTicksToLabels(s)||c.ticks,c.afterTickToLabelConversion(),o=0,n=(c.ticks=a).length;o<n;++o)r=a[o],(l=s[o])?l.label=r:s.push(l={label:r,major:!1});return c._ticks=s,c.beforeCalculateTickRotation(),c.calculateTickRotation(),c.afterCalculateTickRotation(),c.beforeFit(),c.fit(),c.afterFit(),c.afterUpdate(),c.minSize},afterUpdate:function(){B.callback(this.options.afterUpdate,[this])},beforeSetDimensions:function(){B.callback(this.options.beforeSetDimensions,[this])},setDimensions:function(){var t=this;t.isHorizontal()?(t.width=t.maxWidth,t.left=0,t.right=t.width):(t.height=t.maxHeight,t.top=0,t.bottom=t.height),t.paddingLeft=0,t.paddingTop=0,t.paddingRight=0,t.paddingBottom=0},afterSetDimensions:function(){B.callback(this.options.afterSetDimensions,[this])},beforeDataLimits:function(){B.callback(this.options.beforeDataLimits,[this])},determineDataLimits:B.noop,afterDataLimits:function(){B.callback(this.options.afterDataLimits,[this])},beforeBuildTicks:function(){B.callback(this.options.beforeBuildTicks,[this])},buildTicks:B.noop,afterBuildTicks:function(){B.callback(this.options.afterBuildTicks,[this])},beforeTickToLabelConversion:function(){B.callback(this.options.beforeTickToLabelConversion,[this])},convertTicksToLabels:function(){var t=this.options.ticks;this.ticks=this.ticks.map(t.userCallback||t.callback,this)},afterTickToLabelConversion:function(){B.callback(this.options.afterTickToLabelConversion,[this])},beforeCalculateTickRotation:function(){B.callback(this.options.beforeCalculateTickRotation,[this])},calculateTickRotation:function(){var t=this,e=t.ctx,i=t.options.ticks,o=C(t._ticks),n=k(i);e.font=n.font;var a=i.minRotation||0;if(o.length&&t.options.display&&t.isHorizontal())for(var r,s=B.longestText(e,n.font,o,t.longestTextCache),l=s,c=t.getPixelForTick(1)-t.getPixelForTick(0)-6;c<l&&a<i.maxRotation;){var d=B.toRadians(a);if(r=Math.cos(d),Math.sin(d)*s>t.maxHeight){a--;break}a++,l=r*s}t.labelRotation=a},afterCalculateTickRotation:function(){B.callback(this.options.afterCalculateTickRotation,[this])},beforeFit:function(){B.callback(this.options.beforeFit,[this])},fit:function(){var t=this,e=t.minSize={width:0,height:0},i=C(t._ticks),o=t.options,n=o.ticks,a=o.scaleLabel,r=o.gridLines,s=o.display,l=t.isHorizontal(),c=k(n),d=o.gridLines.tickMarkLength;if(e.width=l?t.isFullWidth()?t.maxWidth-t.margins.left-t.margins.right:t.maxWidth:s&&r.drawTicks?d:0,e.height=l?s&&r.drawTicks?d:0:t.maxHeight,a.display&&s){var u=S(a)+B.options.toPadding(a.padding).height;l?e.height+=u:e.width+=u}if(n.display&&s){var h=B.longestText(t.ctx,c.font,i,t.longestTextCache),f=B.numberOfLabelLines(i),p=.5*c.size,g=t.options.ticks.padding;if(l){t.longestLabelWidth=h;var m=B.toRadians(t.labelRotation),v=Math.cos(m),b=Math.sin(m)*h+c.size*f+p*(f-1)+p;e.height=Math.min(t.maxHeight,e.height+b+g),t.ctx.font=c.font;var y=w(t.ctx,i[0],c.font),x=w(t.ctx,i[i.length-1],c.font);0!==t.labelRotation?(t.paddingLeft="bottom"===o.position?v*y+3:v*p+3,t.paddingRight="bottom"===o.position?v*p+3:v*x+3):(t.paddingLeft=y/2+3,t.paddingRight=x/2+3)}else n.mirror?h=0:h+=g+p,e.width=Math.min(t.maxWidth,e.width+h),t.paddingTop=c.size/2,t.paddingBottom=c.size/2}t.handleMargins(),t.width=e.width,t.height=e.height},handleMargins:function(){var t=this;t.margins&&(t.paddingLeft=Math.max(t.paddingLeft-t.margins.left,0),t.paddingTop=Math.max(t.paddingTop-t.margins.top,0),t.paddingRight=Math.max(t.paddingRight-t.margins.right,0),t.paddingBottom=Math.max(t.paddingBottom-t.margins.bottom,0))},afterFit:function(){B.callback(this.options.afterFit,[this])},isHorizontal:function(){return"top"===this.options.position||"bottom"===this.options.position},isFullWidth:function(){return this.options.fullWidth},getRightValue:function(t){if(B.isNullOrUndef(t))return NaN;if("number"==typeof t&&!isFinite(t))return NaN;if(t)if(this.isHorizontal()){if(void 0!==t.x)return this.getRightValue(t.x)}else if(void 0!==t.y)return this.getRightValue(t.y);return t},getLabelForIndex:B.noop,getPixelForValue:B.noop,getValueForPixel:B.noop,getPixelForTick:function(t){var e=this,i=e.options.offset;if(e.isHorizontal()){var o=(e.width-(e.paddingLeft+e.paddingRight))/Math.max(e._ticks.length-(i?0:1),1),n=o*t+e.paddingLeft;i&&(n+=o/2);var a=e.left+Math.round(n);return a+=e.isFullWidth()?e.margins.left:0}var r=e.height-(e.paddingTop+e.paddingBottom);return e.top+t*(r/(e._ticks.length-1))}
1,getPixelForDecimal:function(t){var e=this;if(e.isHorizontal()){var i=(e.width-(e.paddingLeft+e.paddingRight))*t+e.paddingLeft,o=e.left+Math.round(i);return o+=e.isFullWidth()?e.margins.left:0}return e.top+t*e.height},getBasePixel:function(){return this.getPixelForValue(this.getBaseValue())},getBaseValue:function(){var t=this.min,e=this.max;return this.beginAtZero?0:t<0&&e<0?e:0<t&&0<e?t:0},_autoSkip:function(t){var e,i,o,n,a=this,r=a.isHorizontal(),s=a.options.ticks.minor,l=t.length,c=B.toRadians(a.labelRotation),d=Math.cos(c),u=a.longestLabelWidth*d,h=[];for(s.maxTicksLimit&&(n=s.maxTicksLimit),r&&(e=!1,(u+s.autoSkipPadding)*l>a.width-(a.paddingLeft+a.paddingRight)&&(e=1+Math.floor((u+s.autoSkipPadding)*l/(a.width-(a.paddingLeft+a.paddingRight)))),n&&n<l&&(e=Math.max(e,Math.floor(l/n)))),i=0;i<l;i++)o=t[i],(1<e&&0<i%e||i%e==0&&l<=i+e)&&i!==l-1&&delete o.label,h.push(o);return h},draw:function(T){var M=this,_=M.options;if(_.display){var n=M.ctx,I=x.global,A=_.ticks.minor,t=_.ticks.major||A,P=_.gridLines,e=_.scaleLabel,$=0!==M.labelRotation,D=M.isHorizontal(),L=A.autoSkip?M._autoSkip(M.getTicks()):M.getTicks(),a=B.valueOrDefault(A.fontColor,I.defaultFontColor),r=k(A),s=B.valueOrDefault(t.fontColor,I.defaultFontColor),l=k(t),O=P.drawTicks?P.tickMarkLength:0,i=B.valueOrDefault(e.fontColor,I.defaultFontColor),o=k(e),c=B.options.toPadding(e.padding),E=B.toRadians(M.labelRotation),z=[],F="right"===_.position?M.left:M.right-O,R="right"===_.position?M.left+O:M.right,j="bottom"===_.position?M.top:M.bottom-O,W="bottom"===_.position?M.top+O:M.bottom;if(B.each(L,function(t,e){if(!B.isNullOrUndef(t.label)){var i,o,n,a,r,s,l,c,d,u,h,f,p,g,m=t.label;e===M.zeroLineIndex&&_.offset===P.offsetGridLines?(i=P.zeroLineWi
1dth,o=P.zeroLineColor,n=P.zeroLineBorderDash,a=P.zeroLineBorderDashOffset):(i=B.valueAtIndexOrDefault(P.lineWidth,e),o=B.valueAtIndexOrDefault(P.color,e),n=B.valueOrDefault(P.borderDash,I.borderDash),a=B.valueOrDefault(P.borderDashOffset,I.borderDashOffset));var v="middle",b="middle",y=A.padding;if(D){var x=O+y;"bottom"===_.position?(b=$?"middle":"top",v=$?"right":"center",g=M.top+x):(b=$?"middle":"bottom",v=$?"left":"center",g=M.bottom-x);var w=H(M,e,P.offsetGridLines&&1<L.length);w<M.left&&(o="rgba(0,0,0,0)"),w+=B.aliasPixel(i),p=M.getPixelForTick(e)+A.labelOffset,r=l=d=h=w,s=j,c=W,u=T.top,f=T.bottom}else{var k,S="left"===_.position;A.mirror?(v=S?"left":"right",k=y):(v=S?"right":"left",k=O+y),p=S?M.right-k:M.left+k;var C=H(M,e,P.offsetGridLines&&1<L.length);C<M.top&&(o="rgba(0,0,0,0)"),C+=B.aliasPixel(i),g=M.getPixelForTick(e)+A.labelOffset,r=F,l=R,d=T.left,h=T.right,s=c=u=f=C}z.push({tx1:r,ty1:s,tx2:l,ty2:c,x1:d,y1:u,x2:h,y2:f,labelX:p,labelY:g,glWidth:i,glColor:o,glBorderDash:n,glBorderDashOffset:a,rotation:-1*E,label:m,major:t.major,textBaseline:b,textAlign:v})}}),B.each(z,function(t){if(P.display&&(n.save(),n.lineWidth=t.glWidth,n.strokeStyle=t.glColor,n.setLineDash&&(n.setLineDash(t.glBorderDash),n.lineDashOffset=t.glBorderDashOffset),n.beginPath(),P.drawTicks&&(n.moveTo(t.tx1,t.ty1),n.lineTo(t.tx2,t.ty2)),P.drawOnChartArea&&(n.moveTo(t.x1,t.y1),n.lineTo(t.x2,t.y2)),n.stroke(),n.restore()),A.display){n.save(),n.translate(t.labelX,t.labelY),n.rotate(t.rotation),n.font=t.major?l.font:r.font,n.fillStyle=t.major?s:a,n.textBaseline=t.textBaseline,n.textAlign=t.textAlign;var e=t.label;if(B.isArray(e))for(var i=0,o=0;i<e.length;++i)n.fillText(""+e[i],0,o),o+=1.5*r.size;else n.fillText(e,0,0);n.restore()}}),e.display){var d,u,h=0,f=S(e)/2;if(D)d=M.left+(M.right-M.left)/2,u="bottom"===_.position?M.bottom-f-c.bottom:M.top+f+c.top;else{var p="left"===_.position;d=p?M.left+f+c.top:M.right-f-c.top,u=M.top+(M.bottom-M.top)/2,h=p?-.5*Math.PI:.5*Math.PI}n.save(),n.translate(d,u),n.rotate(h),n.textAlign="center",n.textBaseline="middle",n.fillStyle=i,n.font=o.font,n.fillText(e.labelString,0,0),n.restore()}if(P.drawBorder){n.lineWidth=B.valueAtIndexOrDefault(P.lineWidth,0),n.strokeStyle=B.valueAtIndexOrDefault(P.color,0);var g=M.left,m=M.right,v=M.top,b=M.bottom,y=B.aliasPixel(n.lineWidth);D?(v=b="top"===_.position?M.bottom:M.top,v+=y,b+=y):(g=m="left"===_.position?M.right:M.left,g+=y,m+=y),n.beginPath(),n.moveTo(g,v),n.lineTo(m,b),n.stroke()}}}})}},{25:25,26:26,34:34,45:45}],33:[function(t,e,i){"use strict";var o=t(25),n=t(45);e.exports=function(i){i.scaleService={constructors:{},defaults:{},registerScaleType:function(t,e,i){this.constructors[t]=e,this.defaults[t]=n.clone(i)},getScaleConstructor:function(t){return this.constructors.hasOwnProperty(t)?this.constructors[t]:void 0},getScaleDefaults:function(t){return this.defaults.hasOwnProperty(t)?n.merge({},[o.scale,this.defaults[t]]):{}},updateScaleDefaults:function(t,e){this.defaults.hasOwnProperty(t)&&(this.defaults[t]=n.extend(this.defaults[t],e))},addScalesToLayout:function(e){n.each(e.scales,function(t){t.fullWidth=t.options.fullWidth,t.position=t.options.position,t.weight=t.options.weight,i.layoutService.addBox(e,t)})}}}},{25:25,45:45}],34:[function(t,e,i){"use strict";var d=t(45);e.exports={generators:{linear:function(t,e){var i,o=[];if(t.stepSize&&0<t.stepSize)i=t.stepSize;else{var n=d.niceNum(e.max-e.min,!1);i=d.niceNum(n/(t.maxTicks-1),!0)}var a=Math.floor(e.min/i)*i,r=Math.ceil(e.max/i)*i;t.min&&t.max&&t.stepSize&&d.almostWhole((t.max-t.min)/t.stepSize,i/1e3)&&(a=t.min,r=t.max);var s=(r-a)/i;s=d.almostEquals(s,Math.round(s),i/1e3)?Math.round(s):Math.ceil(s),o.push(void 0!==t.min?t.min:a);for(var l=1;l<s;++l)o.push(a+l*i);return o.push(void 0!==t.max?t.max:r),o},logarithmic:function(t,e){var i,o,n=[],a=d.valueOrDefault,r=a(t.min,Math.pow(10,Math.floor(d.log10(e.min)))),s=Math.floor(d.log10(e.max)),l=Math.ceil(e.max/Math.pow(10,s));for(0===r?(i=Math.floor(d.log10(e.minNotZero)),o=Math.floor(e.minNotZero/Math.pow(10,i)),n.push(r),r=o*Math.pow(10,i)):(i=Math.floor(d.log10(r)),o=Math.floor(r/Math.pow(10,i)));n.push(r),10===++o&&(o=1,++i),r=o*Math.pow(10,i),i<s||i===s&&o<l;);var c=a(t.max,r);return n.push(c),n}},formatters:{values:function(t){return d.isArray(t)?t:""+t}
1,linear:function(t,e,i){var o=3<i.length?i[2]-i[1]:i[1]-i[0];1<Math.abs(o)&&t!==Math.floor(t)&&(o=t-Math.floor(t));var n=d.log10(Math.abs(o)),a="";if(0!==t){var r=-1*Math.floor(n);r=Math.max(Math.min(r,20),0),a=t.toFixed(r)}else a="0";return a},logarithmic:function(t,e,i){var o=t/Math.pow(10,Math.floor(d.log10(t)));return 0===t?"0":1===o||2===o||5===o||0===e||e===i.length-1?t.toExponential():""}}}},{45:45}],35:[function(t,e,i){"use strict";var o=t(25),n=t(26),E=t(45);o._set("global",{tooltips:{enabled:!0,custom:null,mode:"nearest",position:"average",intersect:!0,backgroundColor:"rgba(0,0,0,0.8)",titleFontStyle:"bold",titleSpacing:2,titleMarginBottom:6,titleFontColor:"#fff",titleAlign:"left",bodySpacing:2,bodyFontColor:"#fff",bodyAlign:"left",footerFontStyle:"bold",footerSpacing:2,footerMarginTop:6,footerFontColor:"#fff",footerAlign:"left",yPadding:6,xPadding:6,caretPadding:2,caretSize:5,cornerRadius:6,multiKeyBackground:"#fff",displayColors:!0,borderColor:"rgba(0,0,0,0)",borderWidth:0,callbacks:{beforeTitle:E.noop,title:function(t,e){var i="",o=e.labels,n=o?o.length:0;if(0<t.length){var a=t[0];a.xLabel?i=a.xLabel:0<n&&a.index<n&&(i=o[a.index])}return i},afterTitle:E.noop,beforeBody:E.noop,beforeLabel:E.noop,label:function(t,e){var i=e.datasets[t.datasetIndex].label||"";return i&&(i+=": "),i+=t.yLabel},labelColor:function(t,e){var i=e.getDatasetMeta(t.datasetIndex).data[t.index]._view;return{borderColor:i.borderColor,backgroundColor:i.backgroundColor}},labelTextColor:function(){return this._options.bodyFontColor},afterLabel:E.noop,afterBody:E.noop,beforeFooter:E.noop,footer:E.noop,afterFooter:E.noop}}}),e.exports=function(L){function h(t,e){var i=E.color(t);return i.alpha(e*i.alpha()).rgbaString()}function r(t,e){return e&&(E.isArray(e)?Array.prototype.push.apply(t,e):t.push(e)),t}function O(t){var e=o.global,i=E.valueOrDefault;return{xPadding:t.xPadding,yPadding:t.yPadding,xAlign:t.xAlign,yAlign:t.yAlign,bodyFontColor:t.bodyFontColor,_bodyFontFamily:i(t.bodyFontFamily,e.defaultFontFamily),_bodyFontStyle:i(t.bodyFontStyle,e.defaultFontStyle),_bodyAlign:t.bodyAlign,bodyFontSize:i(t.bodyFontSize,e.defaultFontSize),bodySpacing:t.bodySpacing,titleFontColor:t.titleFontColor,_titleFontFamily:i(t.titleFontFamily,e.defaultFontFamily),_titleFontStyle:i(t.titleFontStyle,e.defaultFontStyle),titleFontSize:i(t.titleFontSize,e.defaultFontSize),_titleAlign:t.titleAlign,titleSpacing:t.titleSpacing,titleMarginBottom:t.titleMarginBottom,footerFontColor:t.footerFontColor,_footerFontFamily:i(t.footerFontFamily,e.defaultFontFamily),_footerFontStyle:i(t.footerFontStyle,e.defaultFontStyle),footerFontSize:i(t.footerFontSize,e.defaultFontSize),_footerAlign:t.footerAlign,footerSpacing:t.footerSpacing,footerMarginTop:t.footerMarginTop,caretSize:t.caretSize,cornerRadius:t.cornerRadius,backgroundColor:t.backgroundColor,opacity:0,legendColorBackground:t.multiKeyBackground,displayColors:t.displayColors,borderColor:t.borderColor,borderWidth:t.borderWidth}}L.Tooltip=n.extend({initialize:function(){this._model=O(this._options),this._lastActive=[]},getTitle:function(){var t=this._options.callbacks,e=t.beforeTitle.apply(this,arguments),i=t.title.apply(this,arguments),o=t.afterTitle.apply(this,arguments),n=[];return n=r(n=r(n=r(n,e),i),o)},getBeforeBody:function(){var t=this._options.callbacks.beforeBody.apply(this,arguments);return E.isArray(t)?t:void 0!==t?[t]:[]},getBody:function(t,i){var o=this,n=o._options.callbacks,a=[];return E.each(t,function(t){var e={before:[],lines:[],after:[]};r(e.before,n.beforeLabel.call(o,t,i)),r(e.lines,n.label.call(o,t,i)),r(e.after,n.afterLabel.call(o,t,i)),a.push(e)}),a},getAfterBody:function(){var t=this._options.callbacks.afterBody.apply(this,arguments);return E.isArray(t)?t:void 0!==t?[t]:[]},getFooter:function(){var t=this._options.callbacks,e=t.beforeFooter.apply(this,arguments),i=t.footer.apply(this,arguments),o=t.afterFooter.apply(this,arguments),n=[];return n=r(n=r(n=r(n,e),i),o)},update:function(t){var e,i,o,n,a,r,s,l,c,d,u,h,f,p,g,m,v,b,y,x=this,w=x._options,k=x._model,S=x._model=O(w),C=x._active,T=x._data,M={xAlign:k.xAlign,yAlign:k.yAlign},_={x:k.x,y:k.y},I={width:k.width,height:k.height},A={x:k.caretX,y:k.caretY};
1if(C.length){S.opacity=1;var P=[],$=[];A=L.Tooltip.positioners[w.position].call(x,C,x._eventPosition);var D=[];for(e=0,i=C.length;e<i;++e)D.push((g=C[e],v=m=void 0,m=g._xScale,v=g._yScale||g._scale,b=g._index,y=g._datasetIndex,{xLabel:m?m.getLabelForIndex(b,y):"",yLabel:v?v.getLabelForIndex(b,y):"",index:b,datasetIndex:y,x:g._model.x,y:g._model.y}));w.filter&&(D=D.filter(function(t){return w.filter(t,T)})),w.itemSort&&(D=D.sort(function(t,e){return w.itemSort(t,e,T)})),E.each(D,function(t){P.push(w.callbacks.labelColor.call(x,t,x._chart)),$.push(w.callbacks.labelTextColor.call(x,t,x._chart))}),S.title=x.getTitle(D,T),S.beforeBody=x.getBeforeBody(D,T),S.body=x.getBody(D,T),S.afterBody=x.getAfterBody(D,T),S.footer=x.getFooter(D,T),S.x=Math.round(A.x),S.y=Math.round(A.y),S.caretPadding=w.caretPadding,S.labelColors=P,S.labelTextColors=$,S.dataPoints=D,M=function(t,e){var i,o,n,a,r,s=t._model,l=t._chart,c=t._chart.chartArea,d="center",u="center";s.y<e.height?u="top":s.y>l.height-e.height&&(u="bottom");var h=(c.left+c.right)/2,f=(c.top+c.bottom)/2;"center"===u?(i=function(t){return t<=h},o=function(t){return h<t}):(i=function(t){return t<=e.width/2},o=function(t){return t>=l.width-e.width/2}),n=function(t){return t+e.width>l.width},a=function(t){return t-e.width<0},r=function(t){return t<=f?"top":"bottom"},i(s.x)?(d="left",n(s.x)&&(d="center",u=r(s.y))):o(s.x)&&(d="right",a(s.x)&&(d="center",u=r(s.y)));var p=t._options;return{xAlign:p.xAlign?p.xAlign:d,yAlign:p.yAlign?p.yAlign:u}}(this,I=function(t,e){var i=t._chart.ctx,o=2*e.yPadding,n=0,a=e.body,r=a.reduce(function(t,e){return t+e.before.length+e.lines.length+e.after.length},0);r+=e.beforeBody.length+e.afterBody.length;var s=e.title.length,l=e.footer.length,c=e.titleFontSize,d=e.bodyFontSize,u=e.footerFontSize;o+=s*c,o+=s?(s-1)*e.titleSpacing:0,o+=s?e.titleMarginBottom:0,o+=r*d,o+=r?(r-1)*e.bodySpacing:0,o+=l?e.footerMarginTop:0,o+=l*u,o+=l?(l-1)*e.footerSpacing:0;var h=0,f=function(t){n=Math.max(n,i.measureText(t).width+h)};return i.font=E.fontString(c,e._titleFontStyle,e._titleFontFamily),E.each(e.title,f),i.font=E.fontString(d,e._bodyFontStyle,e._bodyFontFamily),E.each(e.beforeBody.concat(e.afterBody),f),h=e.displayColors?d+2:0,E.each(a,function(t){E.each(t.before,f),E.each(t.lines,f),E.each(t.after,f)}),h=0,i.font=E.fontString(u,e._footerFontStyle,e._footerFontFamily),E.each(e.footer,f),{width:n+=2*e.xPadding,height:o}}(this,S)),n=I,a=M,r=(o=S).x,s=o.y,l=o.caretSize,c=o.caretPadding,d=o.cornerRadius,u=a.xAlign,h=a.yAlign,f=l+c,p=d+c,"right"===u?r-=n.width:"center"===u&&(r-=n.width/2),"top"===h?s+=f:s-="bottom"===h?n.height+f:n.height/2,"center"===h?"left"===u?r+=f:"right"===u&&(r-=f):"left"===u?r-=p:"right"===u&&(r+=p),_={x:r,y:s}}else S.opacity=0;return S.xAlign=M.xAlign,S.yAlign=M.yAlign,S.x=_.x,S.y=_.y,S.width=I.width,S.height=I.height,S.caretX=A.x,S.caretY=A.y,x._model=S,t&&w.custom&&w.custom.call(x,S),x},drawCaret:function(t,e){var i=this._chart.ctx,o=this._view,n=this.getCaretPosition(t,e,o);i.lineTo(n.x1,n.y1),i.lineTo(n.x2,n.y2),i.lineTo(n.x3,n.y3)},getCaretPosition:function(t,e,i){var o,n,a,r,s,l,c=i.caretSize,d=i.cornerRadius,u=i.xAlign,h=i.yAlign,f=t.x,p=t.y,g=e.width,m=e.height;if("center"===h)s=p+m/2,"left"===u?(n=(o=f)-c,a=o,r=s+c,l=s-c):(n=(o=f+g)+c,a=o,r=s-c,l=s+c);else if(o="left"===u?(n=f+d+c)-c:"right"===u?(n=f+g-d-c)-c:(n=f+g/2)-c,a=n+c,"top"===h)s=(r=p)-c,l=r;else{s=(r=p+m)+c,l=r;var v=a;a=o,o=v}return{x1:o,x2:n,x3:a,y1:r,y2:s,y3:l}},drawTitle:function(t,e,i,o){var n=e.title;if(n.length){i.textAlign=e._titleAlign,i.textBaseline="top";var a,r,s=e.titleFontSize,l=e.titleSpacing;for(i.fillStyle=h(e.titleFontColor,o),i.font=E.fontString(s,e._titleFontStyle,e._titleFontFamily),a=0,r=n.length;a<r;++a)i.fillText(n[a],t.x,t.y),t.y+=s+l,a+1===n.length&&(t.y+=e.titleMarginBottom-l)}},drawBody:function(o,n,a,r){var s=n.bodyFontSize,e=n.bodySpacing,t=n.body;a.textAlign=n._bodyAlign,a.textBaseline="top",a.font=E.fontString(s,n._bodyFontStyle,n._bodyFontFamily);var i=0,l=function(t){a.fillText(t,o.x+i,o.y),o.y+=s+e};a.fillStyle=h(n.bodyFontColor,r),E.each(n.beforeBody,l);var c=n.displayColors;i=c?s+2:0,E.each(t,function(t,e){var i=h(n.labelTextColors[e],r);a.fillStyle=i,E.each(t.before,l),E.each(t.lines,function(t){c&&(a.fillStyle=h(n.legendColorBackgroun
vendor: 4,984 bytes, line 1
1d,r),a.fillRect(o.x,o.y,s,s),a.lineWidth=1,a.strokeStyle=h(n.labelColors[e].borderColor,r),a.strokeRect(o.x,o.y,s,s),a.fillStyle=h(n.labelColors[e].backgroundColor,r),a.fillRect(o.x+1,o.y+1,s-2,s-2),a.fillStyle=i),l(t)}),E.each(t.after,l)}),i=0,E.each(n.afterBody,l),o.y-=e},drawFooter:function(e,i,o,t){var n=i.footer;n.length&&(e.y+=i.footerMarginTop,o.textAlign=i._footerAlign,o.textBaseline="top",o.fillStyle=h(i.footerFontColor,t),o.font=E.fontString(i.footerFontSize,i._footerFontStyle,i._footerFontFamily),E.each(n,function(t){o.fillText(t,e.x,e.y),e.y+=i.footerFontSize+i.footerSpacing}))},drawBackground:function(t,e,i,o,n){i.fillStyle=h(e.backgroundColor,n),i.strokeStyle=h(e.borderColor,n),i.lineWidth=e.borderWidth;var a=e.xAlign,r=e.yAlign,s=t.x,l=t.y,c=o.width,d=o.height,u=e.cornerRadius;i.beginPath(),i.moveTo(s+u,l),"top"===r&&this.drawCaret(t,o),i.lineTo(s+c-u,l),i.quadraticCurveTo(s+c,l,s+c,l+u),"center"===r&&"right"===a&&this.drawCaret(t,o),i.lineTo(s+c,l+d-u),i.quadraticCurveTo(s+c,l+d,s+c-u,l+d),"bottom"===r&&this.drawCaret(t,o),i.lineTo(s+u,l+d),i.quadraticCurveTo(s,l+d,s,l+d-u),"center"===r&&"left"===a&&this.drawCaret(t,o),i.lineTo(s,l+u),i.quadraticCurveTo(s,l,s+u,l),i.closePath(),i.fill(),0<e.borderWidth&&i.stroke()},draw:function(){var t=this._chart.ctx,e=this._view;if(0!==e.opacity){var i={width:e.width,height:e.height},o={x:e.x,y:e.y},n=Math.abs(e.opacity<.001)?0:e.opacity,a=e.title.length||e.beforeBody.length||e.body.length||e.afterBody.length||e.footer.length;this._options.enabled&&a&&(this.drawBackground(o,e,t,i,n),o.x+=e.xPadding,o.y+=e.yPadding,this.drawTitle(o,e,t,n),this.drawBody(o,e,t,n),this.drawFooter(o,e,t,n))}},handleEvent:function(t){var e=this,i=e._options,o=!1;if(e._lastActive=e._lastActive||[],"mouseout"===t.type?e._active=[]:e._active=e._chart.getElementsAtEventForMode(t,i.mode,i),!(o=!E.arrayEquals(e._active,e._lastActive)))return!1;if(e._lastActive=e._active,i.enabled||i.custom){e._eventPosition={x:t.x,y:t.y};var n=e._model;e.update(!0),e.pivot(),o|=n.x!==e._model.x||n.y!==e._model.y}return o}}),L.Tooltip.positioners={average:function(t){if(!t.length)return!1;var e,i,o=0,n=0,a=0;for(e=0,i=t.length;e<i;++e){var r=t[e];if(r&&r.hasValue()){var s=r.tooltipPosition();o+=s.x,n+=s.y,++a}}return{x:Math.round(o/a),y:Math.round(n/a)}},nearest:function(t,e){var i,o,n,a=e.x,r=e.y,s=Number.POSITIVE_INFINITY;for(i=0,o=t.length;i<o;++i){var l=t[i];if(l&&l.hasValue()){var c=l.getCenterPoint(),d=E.distanceBetweenPoints(e,c);d<s&&(s=d,n=l)}}if(n){var u=n.tooltipPosition();a=u.x,r=u.y}return{x:a,y:r}}}}},{25:25,26:26,45:45}],36:[function(t,e,i){"use strict";var o=t(25),n=t(26),d=t(45);o._set("global",{elements:{arc:{backgroundColor:o.global.defaultColor,borderColor:"#fff",borderWidth:2}}}),e.exports=n.extend({inLabelRange:function(t){var e=this._view;return!!e&&Math.pow(t-e.x,2)<Math.pow(e.radius+e.hoverRadius,2)},inRange:function(t,e){var i=this._view;if(i){for(var o=d.getAngleFromPoint(i,{x:t,y:e}),n=o.angle,a=o.distance,r=i.startAngle,s=i.endAngle;s<r;)s+=2*Math.PI;for(;s<n;)n-=2*Math.PI;for(;n<r;)n+=2*Math.PI;var l=r<=n&&n<=s,c=a>=i.innerRadius&&a<=i.outerRadius;return l&&c}return!1},getCenterPoint:function(){var t=this._view,e=(t.startAngle+t.endAngle)/2,i=(t.innerRadius+t.outerRadius)/2;return{x:t.x+Math.cos(e)*i,y:t.y+Math.sin(e)*i}},getArea:function(){var t=this._view;return Math.PI*((t.endAngle-t.startAngle)/(2*Math.PI))*(Math.pow(t.outerRadius,2)-Math.pow(t.innerRadius,2))},tooltipPosition:function(){var t=this._view,e=t.startAngle+(t.endAngle-t.startAngle)/2,i=(t.outerRadius-t.innerRadius)/2+t.innerRadius;return{x:t.x+Math.cos(e)*i,y:t.y+Math.sin(e)*i}},draw:function(){var t=this._chart.ctx,e=this._view,i=e.startAngle,o=e.endAngle;t.beginPath(),t.arc(e.x,e.y,e.outerRadius,i,o),t.arc(e.x,e.y,e.innerRadius,o,i,!0),t.closePath(),t.strokeStyle=e.borderColor,t.lineWidth=e.borderWidth,t.fillStyle=e.backgroundColor,t.fill(),t.lineJoin="bevel",e.borderWidth&&t.stroke()}})},{25:25,26:26,45:45}],37:[function(t,e,i){"use strict";var o=t(25),n=t(26),d=t(45),u=o.global;o._set("global",{elements:{line:{tension:.4,backgroundColor:u.defaultColor,borderWidth:3,borderColor:u.defaultColor,borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",capBezierPoints:!0,fill:!0}}}),e.exports=n.extend({draw:function(){var t,e,i,o,n=this._view,a=this._chart.ctx,r=n.spanGaps,s=this._children.slice(),l=u.elements.line,c=-1;for(this._loop&&s.length&&s.push(s[0]),a.save(),a.lineCap=n.borderCapStyle||l.borderCapStyle,a.setLineDash&&a.setLineDash(n.borderDash||l.borderDash),a.lineDashOffset=n.borderDashOffset||l.borderDashOffset,a.lineJoin=n.borderJoinStyle||l.borderJoinStyle,a.lineWidth=n.borderWidth||l.borderWidth,a.strokeStyle=n.borderColor||u.defaultColor,a.beginPath(),c=-1,t=0;t<s.length;++t)e=s[t],i=d.previousItem(s,t),o=e._view,0===t?o.skip||(a.moveTo(o.x,o.y),c=t):(i=-1===c?i:s[c],o.skip||(c!==t-1&&!r||-1===c?a.moveTo(o.x,o.y):d.canvas.lineTo(a,i._view,e._view),c=t));
1a.stroke(),a.restore()}})},{25:25,26:26,45:45}],38:[function(t,e,i){"use strict";var d=t(25),o=t(26),u=t(45),h=d.global.defaultColor;function n(t){var e=this._view;return!!e&&Math.pow(t-e.x,2)<Math.pow(e.radius+e.hitRadius,2)}d._set("global",{elements:{point:{radius:3,pointStyle:"circle",backgroundColor:h,borderColor:h,borderWidth:1,hitRadius:1,hoverRadius:4,hoverBorderWidth:1}}}),e.exports=o.extend({inRange:function(t,e){var i=this._view;return!!i&&Math.pow(t-i.x,2)+Math.pow(e-i.y,2)<Math.pow(i.hitRadius+i.radius,2)},inLabelRange:n,inXRange:n,inYRange:function(t){var e=this._view;return!!e&&Math.pow(t-e.y,2)<Math.pow(e.radius+e.hitRadius,2)},getCenterPoint:function(){var t=this._view;return{x:t.x,y:t.y}},getArea:function(){return Math.PI*Math.pow(this._view.radius,2)},tooltipPosition:function(){var t=this._view;return{x:t.x,y:t.y,padding:t.radius+t.borderWidth}},draw:function(t){var e=this._view,i=this._model,o=this._chart.ctx,n=e.pointStyle,a=e.radius,r=e.x,s=e.y,l=u.color,c=0;e.skip||(o.strokeStyle=e.borderColor||h,o.lineWidth=u.valueOrDefault(e.borderWidth,d.global.elements.point.borderWidth),o.fillStyle=e.backgroundColor||h,void 0!==t&&(i.x<t.left||1.01*t.right<i.x||i.y<t.top||1.01*t.bottom<i.y)&&(i.x<t.left?c=(r-i.x)/(t.left-i.x):1.01*t.right<i.x?c=(i.x-r)/(i.x-t.right):i.y<t.to
vendor: 4,501 bytes, line 1
1p?c=(s-i.y)/(t.top-i.y):1.01*t.bottom<i.y&&(c=(i.y-s)/(i.y-t.bottom)),c=Math.round(100*c)/100,o.strokeStyle=l(o.strokeStyle).alpha(c).rgbString(),o.fillStyle=l(o.fillStyle).alpha(c).rgbString()),u.canvas.drawPoint(o,n,a,r,s))}})},{25:25,26:26,45:45}],39:[function(t,e,i){"use strict";var o=t(25),n=t(26);function l(t){return void 0!==t._view.width}function a(t){var e,i,o,n,a=t._view;if(l(t)){var r=a.width/2;e=a.x-r,i=a.x+r,o=Math.min(a.y,a.base),n=Math.max(a.y,a.base)}else{var s=a.height/2;e=Math.min(a.x,a.base),i=Math.max(a.x,a.base),o=a.y-s,n=a.y+s}return{left:e,top:o,right:i,bottom:n}}o._set("global",{elements:{rectangle:{backgroundColor:o.global.defaultColor,borderColor:o.global.defaultColor,borderSkipped:"bottom",borderWidth:0}}}),e.exports=n.extend({draw:function(){var t,e,i,o,n,a,r,s=this._chart.ctx,l=this._view,c=l.borderWidth;if(l.horizontal?(t=l.base,e=l.x,i=l.y-l.height/2,o=l.y+l.height/2,n=t<e?1:-1,a=1,r=l.borderSkipped||"left"):(t=l.x-l.width/2,e=l.x+l.width/2,n=1,a=(i=l.y)<(o=l.base)?1:-1,r=l.borderSkipped||"bottom"),c){var d=Math.min(Math.abs(t-e),Math.abs(i-o)),u=(c=d<c?d:c)/2,h=t+("left"!==r?u*n:0),f=e+("right"!==r?-u*n:0),p=i+("top"!==r?u*a:0),g=o+("bottom"!==r?-u*a:0);h!==f&&(i=p,o=g),p!==g&&(t=h,e=f)}s.beginPath(),s.fillStyle=l.backgroundColor,s.strokeStyle=l.borderColor,s.lineWidth=c;var m=[[t,o],[t,i],[e,i],[e,o]],v=["bottom","left","top","right"].indexOf(r,0);function b(t){return m[(v+t)%4]}-1===v&&(v=0);var y=b(0);s.moveTo(y[0],y[1]);for(var x=1;x<4;x++)y=b(x),s.lineTo(y[0],y[1]);s.fill(),c&&s.stroke()},height:function(){var t=this._view;return t.base-t.y},inRange:function(t,e){var i=!1;if(this._view){var o=a(this);i=t>=o.left&&t<=o.right&&e>=o.top&&e<=o.bottom}return i},inLabelRange:function(t,e){if(!this._view)return!1;var i=a(this);return l(this)?t>=i.left&&t<=i.right:e>=i.top&&e<=i.bottom},inXRange:function(t){var e=a(this);return t>=e.left&&t<=e.right},inYRange:function(t){var e=a(this);return t>=e.top&&t<=e.bottom},getCenterPoint:function(){var t,e,i=this._view;return l(this)?(t=i.x,e=(i.y+i.base)/2):(t=(i.x+i.base)/2,e=i.y),{x:t,y:e}},getArea:function(){var t=this._view;return t.width*Math.abs(t.y-t.base)},tooltipPosition:function(){var t=this._view;return{x:t.x,y:t.y}}})},{25:25,26:26}],40:[function(t,e,i){"use strict";e.exports={},e.exports.Arc=t(36),e.exports.Line=t(37),e.exports.Point=t(38),e.exports.Rectangle=t(39)},{36:36,37:37,38:38,39:39}],41:[function(t,e,i){"use strict";var o=t(42);i=e.exports={clear:function(t){t.ctx.clearRect(0,0,t.width,t.height)},roundedRect:function(t,e,i,o,n,a){if(a){var r=Math.min(a,o/2),s=Math.min(a,n/2);t.moveTo(e+r,i),t.lineTo(e+o-r,i),t.quadraticCurveTo(e+o,i,e+o,i+s),t.lineTo(e+o,i+n-s),t.quadraticCurveTo(e+o,i+n,e+o-r,i+n),t.lineTo(e+r,i+n),t.quadraticCurveTo(e,i+n,e,i+n-s),t.lineTo(e,i+s),t.quadraticCurveTo(e,i,e+r,i)}else t.rect(e,i,o,n)},drawPoint:function(t,e,i,o,n){var a,r,s,l,c,d;if(!e||"object"!=typeof e||"[object HTMLImageElement]"!==(a=e.toString())&&"[object HTMLCanvasElement]"!==a){if(!(isNaN(i)||i<=0)){switch(e){default:t.beginPath(),t.arc(o,n,i,0,2*Math.PI),t.closePath(),t.fill();break;case"triangle":t.beginPath(),c=(r=3*i/Math.sqrt(3))*Math.sqrt(3)/2,t.moveTo(o-r/2,n+c/3),t.lineTo(o+r/2,n+c/3),t.lineTo(o,n-2*c/3),t.closePath(),t.fill();break;case"rect":d=1/Math.SQRT2*i,t.beginPath(),t.fillRect(o-d,n-d,2*d,2*d),t.strokeRect(o-d,n-d,2*d,2*d);break;case"rectRounded":var u=i/Math.SQRT2,h=o-u,f=n-u,p=Math.SQRT2*i;t.beginPath(),this.roundedRect(t,h,f,p,p,i/2),t.closePath(),t.fill();break;case"rectRot":d=1/Math.SQRT2*i,t.beginPath(),t.moveTo(o-d,n),t.lineTo(o,n+d),t.lineTo(o+d,n),t.lineTo(o,n-d),t.closePath(),t.fill();break;case"cross":t.beginPath(),t.moveTo(o,n+i),t.lineTo(o,n-i),t.moveTo(o-i,n),t.lineTo(o+i,n),t.closePath();break;case"crossRot":t.beginPath(),s=Math.cos(Math.PI/4)*i,l=Math.sin(Math.PI/4)*i,t.moveTo(o-s,n-l),t.lineTo(o+s,n+l),t.moveTo(o-s,n+l),t.lineTo(o+s,n-l),t.closePath();break;case"star":t.beginPath(),t.moveTo(o,n+i),t.lineTo(o,n-i),t.moveTo(o-i,n),t.lineTo(o+i,n),s=Math.cos(Math.PI/4)*i,l=Math.sin(Math.PI/4)*i,t.moveTo(o-s,n-l),t.lineTo(o+s,n+l),t.moveTo(o-s,n+l),t.lineTo(o+s,n-l),t.closePath();break;case"line":t.beginPath(),t.moveTo(o-i,n),t.lineTo(o+i,n),t.closePath();break;case"dash":t.beginPath(),t.moveTo(o,n),t.lineTo(o+i,n),t.closePath()}t.stroke()}}else t.drawImage(e,o-e.width/2,n-e.height/2,e.width,e.height)},clipArea:function(t,e){t.save(),t.beginPath(),t.rect(e.left,e.top,e.right-e.left,e.bottom-e.top),t.clip()}
vendor: 19,348 bytes, line 1
1,unclipArea:function(t){t.restore()},lineTo:function(t,e,i,o){if(i.steppedLine)return"after"===i.steppedLine&&!o||"after"!==i.steppedLine&&o?t.lineTo(e.x,i.y):t.lineTo(i.x,e.y),void t.lineTo(i.x,i.y);i.tension?t.bezierCurveTo(o?e.controlPointPreviousX:e.controlPointNextX,o?e.controlPointPreviousY:e.controlPointNextY,o?i.controlPointNextX:i.controlPointPreviousX,o?i.controlPointNextY:i.controlPointPreviousY,i.x,i.y):t.lineTo(i.x,i.y)}};o.clear=i.clear,o.drawRoundedRectangle=function(t){t.beginPath(),i.roundedRect.apply(i,arguments),t.closePath()}},{42:42}],42:[function(t,e,i){"use strict";var o,d={noop:function(){},uid:(o=0,function(){return o++}),isNullOrUndef:function(t){return null==t},isArray:Array.isArray?Array.isArray:function(t){return"[object Array]"===Object.prototype.toString.call(t)},isObject:function(t){return null!==t&&"[object Object]"===Object.prototype.toString.call(t)},valueOrDefault:function(t,e){return void 0===t?e:t},valueAtIndexOrDefault:function(t,e,i){return d.valueOrDefault(d.isArray(t)?t[e]:t,i)},callback:function(t,e,i){if(t&&"function"==typeof t.call)return t.apply(i,e)},each:function(t,e,i,o){var n,a,r;if(d.isArray(t))if(a=t.length,o)for(n=a-1;0<=n;n--)e.call(i,t[n],n);else for(n=0;n<a;n++)e.call(i,t[n],n);else if(d.isObject(t))for(a=(r=Object.keys(t)).length,n=0;n<a;n++)e.call(i,t[r[n]],r[n])},arrayEquals:function(t,e){var i,o,n,a;if(!t||!e||t.length!==e.length)return!1;for(i=0,o=t.length;i<o;++i)if(n=t[i],a=e[i],n instanceof Array&&a instanceof Array){if(!d.arrayEquals(n,a))return!1}else if(n!==a)return!1;return!0},clone:function(t){if(d.isArray(t))return t.map(d.clone);if(d.isObject(t)){for(var e={},i=Object.keys(t),o=i.length,n=0;n<o;++n)e[i[n]]=d.clone(t[i[n]]);return e}return t},_merger:function(t,e,i,o){var n=e[t],a=i[t];d.isObject(n)&&d.isObject(a)?d.merge(n,a,o):e[t]=d.clone(a)},_mergerIf:function(t,e,i){var o=e[t],n=i[t];d.isObject(o)&&d.isObject(n)?d.mergeIf(o,n):e.hasOwnProperty(t)||(e[t]=d.clone(n))},merge:function(t,e,i){var o,n,a,r,s,l=d.isArray(e)?e:[e],c=l.length;if(!d.isObject(t))return t;for(o=(i=i||{}).merger||d._merger,n=0;n<c;++n)if(e=l[n],d.isObject(e))for(s=0,r=(a=Object.keys(e)).length;s<r;++s)o(a[s],t,e,i);return t},mergeIf:function(t,e){return d.merge(t,e,{merger:d._mergerIf})},extend:function(i){for(var t=function(t,e){i[e]=t},e=1,o=arguments.length;e<o;++e)d.each(arguments[e],t);return i},inherits:function(t){var e=this,i=t&&t.hasOwnProperty("constructor")?t.constructor:function(){return e.apply(this,arguments)},o=function(){this.constructor=i};return o.prototype=e.prototype,i.prototype=new o,i.extend=d.inherits,t&&d.extend(i.prototype,t),i.__super__=e.prototype,i}};(e.exports=d).callCallback=d.callback,d.indexOf=function(t,e,i){return Array.prototype.indexOf.call(t,e,i)},d.getValueOrDefault=d.valueOrDefault,d.getValueAtIndexOrDefault=d.valueAtIndexOrDefault},{}],43:[function(t,e,i){"use strict";var o=t(42),n={linear:function(t){return t},easeInQuad:function(t){return t*t},easeOutQuad:function(t){return-t*(t-2)},easeInOutQuad:function(t){return(t/=.5)<1?.5*t*t:-.5*(--t*(t-2)-1)},easeInCubic:function(t){return t*t*t},easeOutCubic:function(t){return(t-=1)*t*t+1},easeInOutCubic:function(t){return(t/=.5)<1?.5*t*t*t:.5*((t-=2)*t*t+2)},easeInQuart:function(t){return t*t*t*t},easeOutQuart:function(t){return-((t-=1)*t*t*t-1)},easeInOutQuart:function(t){return(t/=.5)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2)},easeInQuint:function(t){return t*t*t*t*t},easeOutQuint:function(t){return(t-=1)*t*t*t*t+1},easeInOutQuint:function(t){return(t/=.5)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2)},easeInSine:function(t){return 1-Math.cos(t*(Math.PI/2))},easeOutSine:function(t){return Math.sin(t*(Math.PI/2))},easeInOutSine:function(t){return-.5*(Math.cos(Math.PI*t)-1)},easeInExpo:function(t){return 0===t?0:Math.pow(2,10*(t-1))},easeOutExpo:function(t){return 1===t?1:1-Math.pow(2,-10*t)},easeInOutExpo:function(t){return 0===t?0:1===t?1:(t/=.5)<1?.5*Math.pow(2,10*(t-1)):.5*(2-Math.pow(2,-10*--t))},easeInCirc:function(t){return 1<=t?t:-(Math.sqrt(1-t*t)-1)},easeOutCirc:function(t){return Math.sqrt(1-(t-=1)*t)},easeInOutCirc:function(t){return(t/=.5)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)},easeInElastic:function(t){var e=1.70158,i=0,o=1;return 0===t?0:1===t?1:(i||(i=.3),o<1?(o=1,e=i/4):e=i/(2*Math.PI)*Math.asin(1/o),-o*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/i))},easeOutElastic:function(t){var e=1.70158,i=0,o=1;return 0===t?0:1===t?1:(i||(i=.3),o<1?(o=1,e=i/4):e=i/(2*Math.PI)*Math.asin(1/o),o*Math.pow(2,-10*t)*Math.sin((t-e)*(2*Math.PI)/i)+1)},easeInOutElastic:function(t){var e=1.70158,i=0,o=1;return 0===t?0:2==(t/=.5)?1:(i||(i=.45),o<1?(o=1,e=i/4):e=i/(2*Math.PI)*Math.asin(1/o),t<1?o*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/i)*-.5:o*Math.pow(2,-10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/i)*.5+1)},easeInBack:function(t){return t*t*(2.70158*t-1.70158)},easeOutBack:function(t){return(t-=1)*t*(2.70158*t+1.70158)+1},easeInOutBack:function(t){var e=1.70158;return(t/=.5)<1?t*t*((1+(e*=1.525))*t-e)*.5:.5*((t-=2)*t*((1+(e*=1.525))*t+e)+2)},easeInBounce:function(t){return 1-n.easeOutBounce(1-t)},easeOutBounce:function(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375},easeInOutBounce:function(t){return t<.5?.5*n.easeInBounce(2*t):.5*n.easeOutBounce(2*t-1)+.5}};e.exports={effects:n},o.easingEffects=n},{42:42}],44:[function(t,e,i){"use strict";var r=t(42);e.exports={toLineHeight:function(t,e){var i=(""+t).match(/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/);if(!i||"normal"===i[1])return 1.2*e;switch(t=+i[2],i[3]){case"px":return t;case"%":t/=100}return e*t},toPadding:function(t){var e,i,o,n;return r.isObject(t)?(e=+t.top||0,i=+t.right||0,o=+t.bottom||0,n=+t.left||0):e=i=o=n=+t||0,{top:e,right:i,bottom:o,left:n,height:e+o,width:n+i}},resolve:function(t,e,i){var o,n,a;for(o=0,n=t.length;o<n;++o)if(void 0!==(a=t[o])&&(void 0!==e&&"function"==typeof a&&(a=a(e)),void 0!==i&&r.isArray(a)&&(a=a[i]),void 0!==a))return a}}},{42:42}],45:[function(t,e,i){"use strict";e.exports=t(42),e.exports.easing=t(43),e.exports.canvas=t(41),e.exports.options=t(44)},{41:41,42:42,43:43,44:44}],46:[function(t,e,i){e.exports={acquireContext:function(t){return t&&t.canvas&&(t=t.canvas),t&&t.getContext("2d")||null}}},{}],47:[function(t,e,i){"use strict";var f=t(45),p="$chartjs",g="chartjs-",m=g+"render-monitor",v=g+"render-animation",b=["animationstart","webkitAnimationStart"],s={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"};function l(t,e){var i=f.getStyle(t,e),o=i&&i.match(/^(\d+)(\.\d+)?px$/);return o?Number(o[1]):void 0}var o=!!function(){var t=!1;try{var e=Object.defineProperty({},"passive",{get:function(){t=!0}});window.addEventListener("e",null,e)}catch(t){}return t}()&&{passive:!0};function y(t,e,i){t.addEventListener(e,i,o)}function r(t,e,i){t.removeEventListener(e,i,o)}function x(t,e,i,o,n){return{type:t,chart:e,native:n||null,x:void 0!==i?i:null,y:void 0!==o?o:null}}function n(e,t,i){var o,n,a,r,s,l,c,d,u=e[p]||(e[p]={}),h=u.resizer=function(t){var e=document.createElement("div"),i=g+"size-monitor",o="position:absolute;left:0;top:0;right:0;bottom:0;overflow:hidden;pointer-events:none;visibility:hidden;z-index:-1;";e.style.cssText=o,e.className=i,e.innerHTML='<div class="'+i+'-expand" style="'+o+'"><div style="position:absolute;width:1000000px;height:1000000px;left:0;top:0"></div></div><div class="'+i+'-shrink" style="'+o+'"><div style="position:absolute;width:200%;height:200%;left:0; top:0"></div></div>';var n=e.childNodes[0],a=e.childNodes[1];e._reset=function(){n.scrollLeft=1e6,n.scrollTop=1e6,a.scrollLeft=1e6,a.scrollTop=1e6};var r=function(){e._reset(),t()};return y(n,"scroll",r.bind(n,"expand")),y(a,"scroll",r.bind(a,"shrink")),e}((a=!(o=function(){if(u.resizer)return t(x("resize",i))}),r=[],function(){r=Array.prototype.slice.call(arguments),n=n||this,a||(a=!0,f.requestAnimFrame.call(window,function(){a=!1,o.apply(n,r)}))}));l=function(){if(u.resizer){var t=e.parentNode;t&&t!==h.parentNode&&t.insertBefore(h,t.firstChild),h._reset()}},c=(s=e)[p]||(s[p]={}),d=c.renderProxy=function(t){t.animationName===v&&l()},f.each(b,function(t){y(s,t,d)}),c.reflow=!!s.offsetParent,s.classList.add(m)}function a(t){var e,i,o,n=t[p]||{},a=n.resizer;delete n.resizer,i=(e=t)[p]||{},(o=i.renderProxy)&&(f.each(b,function(t){r(e,t,o)}),delete i.renderProxy),e.classList.remove(m),a&&a.parentNode&&a.parentNode.removeChild(a)}e.exports={_enabled:"undefined"!=typeof window&&"undefined"!=typeof document,initialize:function(){var t,e,i,o="from{opacity:0.99}to{opacity:1}";e="@-webkit-keyframes "+v+"{"+o+"}@keyframes "+v+"{"+o+"}."+m+"{-webkit-animation:"+v+" 0.001s;animation:"+v+" 0.001s;}",i=(t=this)._style||document.createElement("style"),t._style||(e="/* Chart.js */\n"+e,(t._style=i).setAttribute("type","text/css"),document.getElementsByTagName("head")[0].appendChild(i)),i.appendChild(document.createTextNode(e))},acquireContext:function(t,e){"string"==typeof t?t=document.getElementById(t):t.length&&(t=t[0]),t&&t.canvas&&(t=t.canvas);var i=t&&t.getContext&&t.getContext("2d");return i&&i.canvas===t?(function(t,e){var i=t.style,o=t.getAttribute("height"),n=t.getAttribute("width");if(t[p]={initial:{height:o,width:n,style:{display:i.display,height:i.height,width:i.width}}},i.display=i.display||"block",null===n||""===n){var a=l(t,"width");void 0!==a&&(t.width=a)}if(null===o||""===o)if(""===t.style.height)t.height=t.width/(e.options.aspectRatio||2);else{var r=l(t,"height");void 0!==a&&(t.height=r)}}(t,e),i):null},releaseContext:function(t){var i=t.canvas;if(i[p]){var o=i[p].initial;["height","width"].forEach(function(t){var e=o[t];f.isNullOrUndef(e)?i.removeAttribute(t):i.setAttribute(t,e)}),f.each(o.style||{},function(t,e){i.style[e]=t}),i.width=i.width,delete i[p]}},addEventListener:function(a,t,r){var e=a.canvas;if("resize"!==t){var i=r[p]||(r[p]={});y(e,t,(i.proxies||(i.proxies={}))[a.id+"_"+t]=function(t){var e,i,o,n;r((i=a,o=s[(e=t).type]||e.type,n=f.getRelativePosition(e,i),x(o,i,n.x,n.y,e)))})}else n(e,r,a)},removeEventListener:function(t,e,i){var o=t.canvas;if("resize"!==e){var n=((i[p]||{}).proxies||{})[t.id+"_"+e];n&&r(o,e,n)}else a(o)}},f.addEvent=y,f.removeEvent=r},{45:45}],48:[function(t,e,i){"use strict";var o=t(45),n=t(46),a=t(47),r=a._enabled?a:n;e.exports=o.extend({initialize:function(){},acquireContext:function(){},releaseContext:function(){},addEventListener:function(){},removeEventListener:function(){}},r)},{45:45,46:46,47:47}],49:[function(t,e,i){"use strict";var c=t(25),m=t(40),d=t(45);c._set("global",{plugins:{filler:{propagate:!0}}}),e.exports=function(){var h={dataset:function(t){var e=t.fill,i=t.chart,o=i.getDatasetMeta(e),n=o&&i.isDatasetVisible(e)&&o.dataset._children||[],a=n.length||0;return a?function(t,e){return e<a&&n[e]._view||null}:null},boundary:function(t){var e=t.boundary,i=e?e.x:null,o=e?e.y:null;return function(t){return{x:null===i?t.x:i,y:null===o?t.y:o}}}};function f(t,e,i){var o,n=t._model||{},a=n.fill;if(void 0===a&&(a=!!n.backgroundColor),!1===a||null===a)return!1;if(!0===a)return"origin";if(o=parseFloat(a,10),isFinite(o)&&Math.floor(o)===o)return"-"!==a[0]&&"+"!==a[0]||(o=e+o),!(o===e||o<0||i<=o)&&o;switch(a){case"bottom":return"start";case"top":return"end";case"zero":return"origin";case"origin":case"start":case"end":return a;default:return!1}}function p(t){var e,i=t.el._model||{},o=t.el._scale||{},n=t.fill,a=null;if(isFinite(n))return null;if("start"===n?a=void 0===i.scaleBottom?o.bottom:i.scaleBottom:"end"===n?a=void 0===i.scaleTop?o.top:i.scaleTop:void 0!==i.scaleZero?a=i.scaleZero:o.getBasePosition?a=o.getBasePosition():o.getBasePixel&&(a=o.getBasePixel()),null!=a){if(void 0!==a.x&&void 0!==a.y)return a;if("number"==typeof a&&isFinite(a))return{x:(e=o.isHorizontal())?a:null,y:e?null:a}}return null}function g(t,e,i){var o,n=t[e].fill,a=[e];if(!i)return n;for(;!1!==n&&-1===a.indexOf(n);){if(!isFinite(n))return n;if(!(o=t[n]))return!1;if(o.visible)return n;a.push(n),n=o.fill}return!1}function y(t){return t&&!t.skip}function x(t,e,i,o,n){var a;if(o&&n){for(t.moveTo(e[0].x,e[0].y),a=1;a<o;++a)d.canvas.lineTo(t,e[a-1],e[a]);for(t.lineTo(i[n-1].x,i[n-1].y),a=n-1;0<a;--a)d.canvas.lineTo(t,i[a],i[a-1],!0)}}return{id:"filler",afterDatasetsUpdate:function(t,e){var i,o,n,a,r,s,l,c=(t.data.datasets||[]).length,d=e.propagate,u=[];for(o=0;o<c;++o)a=null,(n=(i=t.getDatasetMeta(o)).dataset)&&n._model&&n instanceof m.Line&&(a={visible:t.isDatasetVisible(o),fill:f(n,o,c),chart:t,el:n}),i.$filler=a,u.push(a);for(o=0;o<c;++o)(a=u[o])&&(a.fill=g(u,o,d),a.boundary=p(a),a.mapper=(l=void 0,s=(r=a).fill,!(l="dataset")===s?null:(isFinite(s)||(l="boundary"),h[l](r))))},beforeDatasetDraw:function(t,e){var i=e.meta.$filler;if(i){var o=t.ctx,n=i.el,a=n._view,r=n._children||[],s=i.mapper,l=a.backgroundColor||c.global.defaultColor;s&&l&&r.length&&(d.canvas.clipArea(o,t.chartArea),function(t,e,i,o,n,a){var r,s,l,c,d,u,h,f=e.length,p=o.spanGaps,g=[],m=[],v=0,b=0;for(t.beginPath(),r=0,s=f+!!a;r<s;++r)d=i(c=e[l=r%f]._view,l,o),u=y(c),h=y(d),u&&h?(v=g.push(c),b=m.push(d)):v&&b&&(p?(u&&g.push(c),h&&m.push(d)):(x(t,g,m,v,b),v=b=0,g=[],m=[]));x(t,g,m,v,b),t.closePath(),t.fillStyle=n,t.fill()}(o,r,s,a,l,n._loop),d.canvas.unclipArea(o))}}}}},{25:25,40:40,45:45}],50:[function(t,e,i){"use strict";var _=t(25),r=t(26),I=t(45);_._set("global",{legend:{display:!0,position:"top",fullWidth:!0,reverse:!1,weight:1e3,onClick:function(t,e){var i=e.datasetIndex,o=this.chart,n=o.getDatasetMeta(i);n.hidden=null===n.hidden?!o.data.datasets[i].hidden:null,o.update()},onHover:null,labels:{boxWidth:40,padding:10,generateLabels:function(i){var t=i.data;return I.isArray(t.datasets)?t.datasets.map(function(t,e){return{text:t.label,fillStyle:I.isArray(t.backgroundColor)?t.backgroundColor[0]:t.backgroundColor,hidden:!i.isDatasetVisible(e),lineCap:t.borderCapStyle,lineDash:t.borderDash,lineDashOffset:t.borderDashOffset,lineJoin:t.borderJoinStyle,lineWidth:t.borderWidth,strokeStyle:t.borderColor,pointStyle:t.pointStyle,datasetIndex:e}},this):[]}}},legendCallback:function(t){var e=[];e.push('<ul class="'+t.id+'-legend">');for(var i=0;i<t.data.datasets.length;i++)e.push('<li><span style="background-color:'+t.data.datasets[i].backgroundColor+'"></span>'),t.data.datasets[i].label&&e.push(t.data.datasets[i].label),e.push("</li>");return e.push("</ul>"),e.join("")}}),e.exports=function(o){var n=o.layoutService,t=I.noop;function M(t,e){return t.usePointStyle?e*Math.SQRT2:t.boxWidth}function a(t,e){var i=new o.Legend({ctx:t.ctx,options:e,chart:t});n.configure(t,i,e),n.addBox(t,i),t.legend=i}return o.Legend=r.extend({initialize:function(t){I.extend(this,t),this.legendHitBoxes=[],this.doughnutMode=!1},beforeUpdate:t,update:function(t,e,i){var o=this;return o.beforeUpdate(),o.maxWidth=t,o.maxHeight=e,o.margins=i,o.beforeSetDimensions(),o.setDimensions(),o.afterSetDimensions(),o.beforeBuildLabels(),o.buildLabels(),o.afterBuildLabels(),o.beforeFit(),o.fit(),o.afterFit(),o.afterUpdate(),o.minSize},afterUpdate:t,beforeSetDimensions:t,setDimensions:function(){var t=this;t.isHorizontal()?(t.width=t.maxWidth,t.left=0,t.right=t.width):(t.height=t.maxHeight,t.top=0,t.bottom=t.height),t.paddingLeft=0,t.paddingTop=0,t.paddingRight=0,t.paddingBottom=0,t.minSize={width:0,height:0}},afterSetDimensions:t,beforeBuildLabels:t,buildLabels:function(){var e=this,i=e.options.labels||{},t=I.callback(i.generateLabels,[e.chart],e)||[];i.filter&&(t=t.filter(function(t){return i.filter(t,e.chart.data)})),e.options.reverse&&t.reverse(),e.legendItems=t},afterBuildLabels:t,beforeFit:t,fit:function(){var o=this,t=o.options,n=t.labels,e=t.display,a=o.ctx,i=_.global,r=I.valueOrDefault,s=r(n.fontSize,i.defaultFontSize),l=r(n.fontStyle,i.defaultFontStyle),c=r(n.fontFamily,i.defaultFontFamily),d=I.fontString(s,l,c),u=o.legendHitBoxes=[],h=o.minSize,f=o.isHorizontal();if(f?(h.width=o.maxWidth,h.height=e?10:0):(h.width=e?10:0,h.height=o.maxHeight),e)if(a.font=d,f){var p=o.lineWidths=[0],g=o.legendItems.length?s+n.padding:0;a.textAlign="left",a.textBaseline="top",I.each(o.legendItems,function(t,e){var i=M(n,s)+s/2+a.measureText(t.text).width;p[p.length-1]+i+n.padding>=o.width&&(g+=s+n.padding,p[p.length]=o.left),u[e]={left:0,top:0,width:i,height:s},p[p.length-1]+=i+n.padding}),h.height+=g}else{var m=n.padding,v=o.columnWidths=[],b=n.padding,y=0,x=0,w=s+m;I.each(o.legendItems,function(t,e){var i=M(n,s)+s/2+a.measureText(t.text).width;x+w>h.height&&(b+=y+n.padding,v.push(y),x=y=0),y=Math.max(y,i),x+=w,u[e]={left:0,top:0,width:i,height:s}}),b+=y,v.push(y),h.width+=b}o.width=h.width,o.height=h.height},afterFit:t,isHorizontal:function(){return"top"===this.options.position||"bottom"===this.options.position},draw:function(){var u=this,h=u.options,f=h.labels,p=_.global,g=p.elements.line,m=u.width,v=u.lineWidths;if(h.display){var b,y=u.ctx,x=I.valueOrDefault,t=x(f.fontColor,p.defaultFontColor),w=x(f.fontSize,p.defaultFontSize),e=x(f.fontStyle,p.defaultFontStyle),i=x(f.fontFamily,p.defaultFontFamily),o=I.fontString(w,e,i);y.textAlign="left",y.textBaseline="middle",y.lineWidth=.5,y.strokeStyle=t,y.fillStyle=t,y.font=o;var k=M(f,w),S=u.legendHitBoxes,C=u.isHorizontal();b=C?{x:u.left+(m-v[0])/2,y:u.top+f.padding,line:0}:{x:u.left+f.padding,y:u.top+f.padding,line:0};var T=w+f.padding;I.each(u.legendItems,function(t,e){var i,o,n,a,r,s=y.measureText(t.text).width,l=k+w/2+s,c=b.x,d=b.y;C?m<=c+l&&(d=b.y+=T,b.line++,c=b.x=u.left+(m-v[b.line])/2):d+T>u.bottom&&(c=b.x=c+u.columnWidths[b.line]+f.padding,d=b.y=u.top+f.padding,b.line++),function(t,e,i){if(!(isNaN(k)||k<=0)){y.save(),y.fillStyle=x(i.fillStyle,p.defaultColor),y.lineCap=x(i.lineCap,g.borderCapStyle),y.lineDashOffset=x(i.lineDashOffset,g.borderDashOffset),y.lineJoin=x(i.lineJoin,g.borderJoinStyle),y.lineWidth=x(i.lineWidth,g.borderWidth),y.strokeStyle=x(i.strokeStyle,p.defaultColor);var o=0===x(i.lineWidth,g.borderWidth);if(y.setLineDash&&y.setLineDash(x(i.lineDash,g.borderDash)),h.labels&&h.labels.usePointStyle){var n=w*Math.SQRT2/2,a=n/Math.SQRT2,r=t+a,s=e+a;I.canvas.drawPoint(y,i.pointStyle,n,r,s)}else o||y.strokeRect(t,e,k,w),y.fillRect(t,e,k,w);y.restore()}}(c,d,t),S[e].left=c,S[e].top=d,i=t,o=s,a=k+(n=w/2)+c,r=d+n,y.fillText(i.text,a,r),i.hidden&&(y.beginPath(),y.lineWidth=2,y.moveTo(a,r),y.lineTo(a+o,r),y.stroke()),C?b.x+=l+f.padding:b.y+=T})}},handleEvent:function(t){var e=this,i=e.options,o="mouseup"===t.type?"click":t.type,n=!1;if("mousemove"===o){if(!i.onHover)return}else{if("click"!==o)return;if(!i.onClick)return}var a=t.x,r=t.y;if(a>=e.left&&a<=e.right&&r>=e.top&&r<=e.bottom)for(var s=e.legendHitBoxes,l=0;l<s.length;++l){var c=s[l];if(a>=c.left&&a<=c.left+c.width&&r>=c.top&&r<=c.top+c.height){if("click"===o){i.onClick.call(e,t.native,e.legendItems[l]),n=!0;break}if("mousemove"===o){i.onHover.call(e,t.native,e.legendItems[l]),n=!0;break}}}return n}}),{id:"legend",beforeInit:function(t){var e=t.options.legend;e&&a(t,e)},beforeUpdate:function(t){var e=t.options.legend,i=t.legend;e?(I.mergeIf(e,_.global.legend),i?(n.configure(t,i,e),i.options=e):a(t,e)):i&&(n.removeBox(t,i),delete t.legend)},afterEvent:function(t,e){var i=t.legend;i&&i.handleEvent(e)}}}},{25:25,26:26,45:45}
1],51:[function(t,e,i){"use strict";var w=t(25),r=t(26),k=t(45);w._set("global",{title:{display:!1,fontStyle:"bold",fullWidth:!0,lineHeight:1.2,padding:10,position:"top",text:"",weight:2e3}}),e.exports=function(o){var n=o.layoutService,t=k.noop;function a(t,e){var i=new o.Title({ctx:t.ctx,options:e,chart:t});n.configure(t,i,e),n.addBox(t,i),t.titleBlock=i}return o.Title=r.extend({initialize:function(t){k.extend(this,t),this.legendHitBoxes=[]},beforeUpdate:t,update:function(t,e,i){var o=this;return o.beforeUpdate(),o.maxWidth=t,o.maxHeight=e,o.margins=i,o.beforeSetDimensions(),o.setDimensions(),o.afterSetDimensions(),o.beforeBuildLabels(),o.buildLabels(),o.afterBuildLabels(),o.beforeFit(),o.fit(),o.afterFit(),o.afterUpdate(),o.minSize},afterUpdate:t,beforeSetDimensions:t,setDimensions:function(){var t=this;t.isHorizontal()?(t.width=t.maxWidth,t.left=0,t.right=t.width):(t.height=t.maxHeight,t.top=0,t.bottom=t.height),t.paddingLeft=0,t.paddingTop=0,t.paddingRight=0,t.paddingBottom=0,t.minSize={width:0,height:0}},afterSetDimensions:t,beforeBuildLabels:t,buildLabels:t,afterBuildLabels:t,beforeFit:t,fit:function(){var t=k.valueOrDefault,e=this.options,i=e.display,o=t(e.fontSize,w.global.defaultFontSize),n=this.minSize,a=k.isArray(e.text)?e.text.length:1,r=k.options.toLineHeight(e.lineHeight,o),s=i?a*r+2*e.padding:0;this.isHorizontal()?(n.width=this.maxWidth,n.height=s):(n.width=s,n.height=this.maxHeight),this.width=n.width,this.height=n.height},afterFit:t,isHorizontal:function(){var t=this.options.position;return"top"===t||"bottom"===t},draw:function(){var t=this.ctx,e=k.valueOrDefault,i=this.options,o=w.global;if(i.display){var n,a,r,s=e(i.fontSize,o.defaultFontSize),l=e(i.fontStyle,o.defaultFontStyle),c=e(i.fontFamily,o.defaultFontFamily),d=k.fontString(s,l,c),u=k.options.toLineHeight(i.lineHeight,s),h=u/2+i.padding,f
vendor: 4,884 bytes, line 1
1=0,p=this.top,g=this.left,m=this.bottom,v=this.right;t.fillStyle=e(i.fontColor,o.defaultFontColor),t.font=d,this.isHorizontal()?(a=g+(v-g)/2,r=p+h,n=v-g):(a="left"===i.position?g+h:v-h,r=p+(m-p)/2,n=m-p,f=Math.PI*("left"===i.position?-.5:.5)),t.save(),t.translate(a,r),t.rotate(f),t.textAlign="center",t.textBaseline="middle";var b=i.text;if(k.isArray(b))for(var y=0,x=0;x<b.length;++x)t.fillText(b[x],0,y,n),y+=u;else t.fillText(b,0,0,n);t.restore()}}}),{id:"title",beforeInit:function(t){var e=t.options.title;e&&a(t,e)},beforeUpdate:function(t){var e=t.options.title,i=t.titleBlock;e?(k.mergeIf(e,w.global.title),i?(n.configure(t,i,e),i.options=e):a(t,e)):i&&(o.layoutService.removeBox(t,i),delete t.titleBlock)}}}},{25:25,26:26,45:45}],52:[function(t,e,i){"use strict";e.exports=function(t){var e=t.Scale.extend({getLabels:function(){var t=this.chart.data;return this.options.labels||(this.isHorizontal()?t.xLabels:t.yLabels)||t.labels},determineDataLimits:function(){var t,e=this,i=e.getLabels();e.minIndex=0,e.maxIndex=i.length-1,void 0!==e.options.ticks.min&&(t=i.indexOf(e.options.ticks.min),e.minIndex=-1!==t?t:e.minIndex),void 0!==e.options.ticks.max&&(t=i.indexOf(e.options.ticks.max),e.maxIndex=-1!==t?t:e.maxIndex),e.min=i[e.minIndex],e.max=i[e.maxIndex]},buildTicks:function(){var t=this.getLabels();this.ticks=0===this.minIndex&&this.maxIndex===t.length-1?t:t.slice(this.minIndex,this.maxIndex+1)},getLabelForIndex:function(t,e){var i=this.chart.data,o=this.isHorizontal();return i.yLabels&&!o?this.getRightValue(i.datasets[e].data[t]):this.ticks[t-this.minIndex]},getPixelForValue:function(t,e){var i,o=this,n=o.options.offset,a=Math.max(o.maxIndex+1-o.minIndex-(n?0:1),1);if(null!=t&&(i=o.isHorizontal()?t.x:t.y),void 0!==i||void 0!==t&&isNaN(e)){t=i||t;var r=o.getLabels().indexOf(t);e=-1!==r?r:e}if(o.isHorizontal()){var s=o.width/a,l=s*(e-o.minIndex);return n&&(l+=s/2),o.left+Math.round(l)}var c=o.height/a,d=c*(e-o.minIndex);return n&&(d+=c/2),o.top+Math.round(d)},getPixelForTick:function(t){return this.getPixelForValue(this.ticks[t],t+this.minIndex,null)},getValueForPixel:function(t){var e=this.options.offset,i=Math.max(this._ticks.length-(e?0:1),1),o=this.isHorizontal(),n=(o?this.width:this.height)/i;return t-=o?this.left:this.top,e&&(t-=n/2),(t<=0?0:Math.round(t/n))+this.minIndex},getBasePixel:function(){return this.bottom}});t.scaleService.registerScaleType("category",e,{position:"bottom"})}},{}],53:[function(t,e,i){"use strict";var o=t(25),u=t(45),n=t(34);e.exports=function(t){var e={position:"left",ticks:{callback:n.formatters.linear}},i=t.LinearScaleBase.extend({determineDataLimits:function(){var r=this,s=r.options,l=r.chart,t=l.data.datasets,e=r.isHorizontal();function c(t){return e?t.xAxisID===r.id:t.yAxisID===r.id}r.min=null,r.max=null;var o=s.stacked;if(void 0===o&&u.each(t,function(t,e){if(!o){var i=l.getDatasetMeta(e);l.isDatasetVisible(e)&&c(i)&&void 0!==i.stack&&(o=!0)}}),s.stacked||o){var d={};u.each(t,function(t,e){var o=l.getDatasetMeta(e),i=[o.type,void 0===s.stacked&&void 0===o.stack?e:"",o.stack].join(".");void 0===d[i]&&(d[i]={positiveValues:[],negativeValues:[]});var n=d[i].positiveValues,a=d[i].negativeValues;l.isDatasetVisible(e)&&c(o)&&u.each(t.data,function(t,e){var i=+r.getRightValue(t);isNaN(i)||o.data[e].hidden||(n[e]=n[e]||0,a[e]=a[e]||0,s.relativePoints?n[e]=100:i<0?a[e]+=i:n[e]+=i)})}),u.each(d,function(t){var e=t.positiveValues.concat(t.negativeValues),i=u.min(e),o=u.max(e);r.min=null===r.min?i:Math.min(r.min,i),r.max=null===r.max?o:Math.max(r.max,o)})}else u.each(t,function(t,e){var o=l.getDatasetMeta(e);l.isDatasetVisible(e)&&c(o)&&u.each(t.data,function(t,e){var i=+r.getRightValue(t);isNaN(i)||o.data[e].hidden||(null===r.min?r.min=i:i<r.min&&(r.min=i),null===r.max?r.max=i:i>r.max&&(r.max=i))})});r.min=isFinite(r.min)&&!isNaN(r.min)?r.min:0,r.max=isFinite(r.max)&&!isNaN(r.max)?r.max:1,this.handleTickRangeOptions()},getTickLimit:function(){var t,e=this.options.ticks;if(this.isHorizontal())t=Math.min(e.maxTicksLimit?e.maxTicksLimit:11,Math.ceil(this.width/50));else{var i=u.valueOrDefault(e.fontSize,o.global.defaultFontSize);t=Math.min(e.maxTicksLimit?e.maxTicksLimit:11,Math.ceil(this.height/(2*i)))}return t},handleDirectionalChanges:function(){this.isHorizontal()||this.ticks.reverse()},getLabelForIndex:function(t,e){return+this.getRightValue(this.chart.data.datasets[e].data[t])},getPixelForValue:function(t){var e,i=this.start,o=+this.getRightValue(t),n=this.end-i;return e=this.isHorizontal()?this.left+this.width/n*(o-i):this.bottom-this.height/n*(o-i),Math.round(e)},getValueForPixel:function(t){var e=this.isHorizontal(),i=e?this.width:this.height,o=(e?t-this.left:this.bottom-t)/i;return this.start+(this.end-this.start)*o},getPixelForTick:function(t){return this.getPixelForValue(this.ticksAsNumbers[t])}});t.scaleService.registerScaleType("linear",i,e)}},{25:25,34:34,45:45}
1],54:[function(t,e,i){"use strict";var r=t(45),a=t(34);e.exports=function(e){var t=r.noop;e.LinearScaleBase=e.Scale.extend({getRightValue:function(t){return"string"==typeof t?+t:e.Scale.prototype.getRightValue.call(this,t)},handleTickRangeOptions:function(){var t=this,e=t.options.ticks;if(e.beginAtZero){var i=r.sign(t.min),o=r.sign(t.max);i<0&&o<0?t.max=0:0<i&&0<o&&(t.min=0)}var n=void 0!==e.min||void 0!==e.suggestedMin,a=void 0!==e.max||void 0!==e.suggestedMax;void 0!==e.min?t.min=e.min:void 0!==e.suggestedMin&&(null===t.min?t.min=e.suggestedMin:t.min=Math.min(t.min,e.suggestedMin)),void 0!==e.max?t.max=e.max:void 0!==e.suggestedMax&&(null===t.max?t.max=e.suggestedMax:t.max=Math.max(t.max,e.suggestedMax)),n!==a&&t.min>=t.max&&(n?t.max=t.min+1:t.min=t.max-1),t.min===t.max&&(t.max++,e.beginAtZero||t.min--)},getTickLimit:t,handleDirectionalChanges:t,buildTicks:function(){var t=this,e=t.options.ticks,i=t.getTickLimit(),o={maxTicks:i=Math.max(2,i),min:e.min,max:e.max,stepSize:r.valueOrDefault(e.fixedStepSize,e.stepSize)},n=t.ticks=a.generators.linear(o,t);t.handleDirectionalChanges(),t.max=r.max(n),t.min=r.min(n),e.reverse?(n.reverse(),t.start=t.max,t.end=t.min):(t.start=t.min,t.end=t.max)},convertTicksToLabels:function(){this.ticksAsNumbers=this.ticks.slice(),this.zeroLineIndex=this.ticks.indexOf(0),e.Scale.prototype.convertTicksToLabels.call(this)}})}},{34:34,45:45}],55:[function(t,e,i){"use strict";var u=t(45),n=t(34);e.exports=function(t){var e={position:"left",ticks:{callback:n.formatters.logarithmic}},i=t.Scale.extend({determineDataLimits:function(){var r=this,s=r.options,t=s.ticks,l=r.chart,e=l.data.datasets,i=u.valueOrDefault,o=r.isHorizontal();function c(t){return o?t.xAxisID===r.id:t.yAxisID===r.id}r.min=null,r.max=null,r.minNotZero=null;var n=s.stacked;if(void 0===n&&u.each(e,function(t,e){if(!n){var i=l.getDatasetMeta(e);l.isDatasetVisible(e)&&c(i)&&void 0!==i.stack&&(n=!0)}}),s.stacked||n){var d={};u.each(e,function(t,e){var n=l.getDatasetMeta(e),a=[n.type,void 0===s.stacked&&void 0===n.stack?e:"",n.stack].join(".");l.isDatasetVisible(e)&&c(n)&&(void 0===d[a]&&(d[a]=[]),u.each(t.data,function(t,e){var i=d[a],o=+r.getRightValue(t);isNaN(o)||n.data[e].hidden||(i[e]=i[e]||0,s.relativePoints?i[e]=100:i[e]+=o)}))}),u.each(d,function(t){var e=u.min(t),i=u.max(t);r.min=null===r.min?e:Math.min(r.min,e),r.max=null===r.max?i:Math.max(r.max,i)})}else u.each(e,function(t,e){var o=l.getDatasetMeta(e);l.isDatasetVisible(e)&&c(o)&&u.each(t.data,function(t,e){var i=+r.getRightValue(t);isNaN(i)||o.data[e].hidden||(null===r.min?r.min=i:i<r.min&&(r.min=i),null===r.max?r.max=i:i>r.max&&(r.max=i),0!==i&&(null===r.minNotZero||i<r.minNotZero)&&(r.minNotZero=i))})});r.min=i(t.min,r.min),r.max=i(t.max,r.max),r.min===r.max&&(0!==r.min&&null!==r.min?(r.min=Math.pow(10,Math.floor(u.log10(r.min))-1),r.max=Math.pow(10,Math.floor(u.log10(r.max))+1)):(r.min=1,r.max=10))},buildTicks:function(){var t=this,e=t.options.ticks,i={min:e.min,max:e.max},o=t.ticks=n.generators.logarithmic(i,t);t.isHorizontal()||o.reverse(),t.max=u.max(o),t.min=u.min(o),e.reverse?(o.reverse(),t.start=t.max,t.end=t.min):(t.start=t.min,t.end=t.max)},convertTicksToLabels:function(){this.tickValues=this.ticks.slice(),t.Scale.prototype.convertTicksToLabels.call(this)},getLabelForIndex:function(t,e){return+this.getRightValue(this.chart.data.datasets[e].data[t])},getPixelForTick:function(t){return this.getPixelForValue(this.tickValues[t])},getPixelForValue:function(t){var e,i,o,n=this,a=n.start,r=+n.getRightValue(t),s=n.options.ticks;return n.isHorizontal()?(o=u.log10(n.end)-u.log10(a),0===r?i=n.left:(e=n.width,i=n.left+e/o*(u.log10(r)-u.log10(a)))):(e=n.height,0!==a||s.reverse?0===n.end&&s.reverse?(o=u.log10(n.start)-u.log10(n.minNotZero),i=r===n.end?n.top:r===n.minNotZero?n.top+.02*e:n.top+.02*e+.98*e/o*(u.log10(r)-u.log10(n.minNotZero))):0===r?i=s.reverse?n.top:n.bottom:(o=u.log10(n.end)-u.log10(a),e=n.height,i=n.bottom-e/o*(u.log10(r)-u.log10(a))):(o=u.log10(n.end)-u.log10(n.minNotZero),i=r===a?n.bottom:r===n.minNotZero?n.bottom-.02*e:n.bottom-.02*e-.98*e/o*(u.log10(r)-u.log10(n.minNotZero)))),i},getValueForPixel:function(t){var e,i,o=u.log10(this.end)-u.log10(this.start);return this.isHorizontal()?(i=this.width,e=this.start*Math.pow(10,(t-this.left)*o/i)):(i=this.height,e=Math.pow(10,(this.bottom-t)*o/i)/this.start),e}});t.scaleService.registerScaleType("logarithmic",i,e)}},{34:34,45:45}
vendor: 10,523 bytes, line 1
1],56:[function(t,e,i){"use strict";var o=t(25),k=t(45),n=t(34);e.exports=function(t){var b=o.global,e={display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,color:"rgba(0, 0, 0, 0.1)",lineWidth:1},gridLines:{circular:!1},ticks:{showLabelBackdrop:!0,backdropColor:"rgba(255,255,255,0.75)",backdropPaddingY:2,backdropPaddingX:2,callback:n.formatters.linear},pointLabels:{display:!0,fontSize:10,callback:function(t){return t}}};function y(t){var e=t.options;return e.angleLines.display||e.pointLabels.display?t.chart.data.labels.length:0}function x(t){var e=t.options.pointLabels,i=k.valueOrDefault(e.fontSize,b.defaultFontSize),o=k.valueOrDefault(e.fontStyle,b.defaultFontStyle),n=k.valueOrDefault(e.fontFamily,b.defaultFontFamily);return{size:i,style:o,family:n,font:k.fontString(i,o,n)}}function m(t,e,i,o,n){return t===o||t===n?{start:e-i/2,end:e+i/2}:t<o||n<t?{start:e-i-5,end:e}:{start:e,end:e+i+5}}function w(t,e,i,o){if(k.isArray(e))for(var n=i.y,a=1.5*o,r=0;r<e.length;++r)t.fillText(e[r],i.x,n),n+=a;else t.fillText(e,i.x,i.y)}function s(t){return k.isNumber(t)?t:0}var i=t.LinearScaleBase.extend({setDimensions:function(){var t=this,e=t.options,i=e.ticks;t.width=t.maxWidth,t.height=t.maxHeight,t.xCenter=Math.round(t.width/2),t.yCenter=Math.round(t.height/2);var o=k.min([t.height,t.width]),n=k.valueOrDefault(i.fontSize,b.defaultFontSize);t.drawingArea=e.display?o/2-(n/2+i.backdropPaddingY):o/2},determineDataLimits:function(){var n=this,i=n.chart,a=Number.POSITIVE_INFINITY,r=Number.NEGATIVE_INFINITY;k.each(i.data.datasets,function(t,e){if(i.isDatasetVisible(e)){var o=i.getDatasetMeta(e);k.each(t.data,function(t,e){var i=+n.getRightValue(t);isNaN(i)||o.data[e].hidden||(a=Math.min(i,a),r=Math.max(i,r))})}}),n.min=a===Number.POSITIVE_INFINITY?0:a,n.max=r===Number.NEGATIVE_INFINITY?0:r,n.handleTickRangeOptions()},getTickLimit:function(){var t=this.options.ticks,e=k.valueOrDefault(t.fontSize,b.defaultFontSize);return Math.min(t.maxTicksLimit?t.maxTicksLimit:11,Math.ceil(this.drawingArea/(1.5*e)))},convertTicksToLabels:function(){t.LinearScaleBase.prototype.convertTicksToLabels.call(this),this.pointLabels=this.chart.data.labels.map(this.options.pointLabels.callback,this)},getLabelForIndex:function(t,e){return+this.getRightValue(this.chart.data.datasets[e].data[t])},fit:function(){var t,e;this.options.pointLabels.display?function(t){var e,i,o,n=x(t),a=Math.min(t.height/2,t.width/2),r={r:t.width,l:0,t:t.height,b:0},s={};t.ctx.font=n.font,t._pointLabelSizes=[];var l,c,d,u=y(t);for(e=0;e<u;e++){o=t.getPointPosition(e,a),l=t.ctx,c=n.size,d=t.pointLabels[e]||"",i=k.isArray(d)?{w:k.longestText(l,l.font,d),h:d.length*c+1.5*(d.length-1)*c}:{w:l.measureText(d).width,h:c},t._pointLabelSizes[e]=i;var h=t.getIndexAngle(e),f=k.toDegrees(h)%360,p=m(f,o.x,i.w,0,180),g=m(f,o.y,i.h,90,270);p.start<r.l&&(r.l=p.start,s.l=h),p.end>r.r&&(r.r=p.end,s.r=h),g.start<r.t&&(r.t=g.start,s.t=h),g.end>r.b&&(r.b=g.end,s.b=h)}t.setReductions(a,r,s)}(this):(t=this,e=Math.min(t.height/2,t.width/2),t.drawingArea=Math.round(e),t.setCenterPoint(0,0,0,0))},setReductions:function(t,e,i){var o=e.l/Math.sin(i.l),n=Math.max(e.r-this.width,0)/Math.sin(i.r),a=-e.t/Math.cos(i.t),r=-Math.max(e.b-this.height,0)/Math.cos(i.b);o=s(o),n=s(n),a=s(a),r=s(r),this.drawingArea=Math.min(Math.round(t-(o+n)/2),Math.round(t-(a+r)/2)),this.setCenterPoint(o,n,a,r)},setCenterPoint:function(t,e,i,o){var n=this,a=n.width-e-n.drawingArea,r=t+n.drawingArea,s=i+n.drawingArea,l=n.height-o-n.drawingArea;n.xCenter=Math.round((r+a)/2+n.left),n.yCenter=Math.round((s+l)/2+n.top)},getIndexAngle:function(t){return t*(2*Math.PI/y(this))+(this.chart.options&&this.chart.options.startAngle?this.chart.options.startAngle:0)*Math.PI*2/360},getDistanceFromCenterForValue:function(t){if(null===t)return 0;var e=this.drawingArea/(this.max-this.min);return this.options.ticks.reverse?(this.max-t)*e:(t-this.min)*e},getPointPosition:function(t,e){var i=this.getIndexAngle(t)-Math.PI/2;return{x:Math.round(Math.cos(i)*e)+this.xCenter,y:Math.round(Math.sin(i)*e)+this.yCenter}},getPointPositionForValue:function(t,e){return this.getPointPosition(t,this.getDistanceFromCenterForValue(e))},getBasePosition:function(){var t=this.min,e=this.max;return this.getPointPositionForValue(0,this.beginAtZero?0:t<0&&e<0?e:0<t&&0<e?t:0)},draw:function(){var a=this,t=a.options,r=t.gridLines,s=t.ticks,l=k.valueOrDefault;if(t.display){var c=a.ctx,d=this.getIndexAngle(0),u=l(s.fontSize,b.defaultFontSize),e=l(s.fontStyle,b.defaultFontStyle),i=l(s.fontFamily,b.defaultFontFamily),h=k.fontString(u,e,i);k.each(a.ticks,function(t,e){if(0<e||s.reverse){var i=a.getDistanceFromCenterForValue(a.ticksAsNumbers[e]);if(r.display&&0!==e&&function(t,e,i,o){var n=t.ctx;if(n.strokeStyle=k.valueAtIndexOrDefault(e.color,o-1),n.lineWidth=k.valueAtIndexOrDefault(e.lineWidth,o-1),t.options.gridLines.circular)n.beginPath(),n.arc(t.xCenter,t.yCenter,i,0,2*Math.PI),n.closePath(),n.stroke();else{var a=y(t);if(0===a)return;n.beginPath();var r=t.getPointPosition(0,i);n.moveTo(r.x,r.y);for(var s=1;s<a;s++)r=t.getPointPosition(s,i),n.lineTo(r.x,r.y);n.closePath(),n.stroke()}}(a,r,i,e),s.display){var o=l(s.fontColor,b.defaultFontColor);if(c.font=h,c.save(),c.translate(a.xCenter,a.yCenter),c.rotate(d),s.showLabelBackdrop){var n=c.measureText(t).width;c.fillStyle=s.backdropColor,c.fillRect(-n/2-s.backdropPaddingX,-i-u/2-s.backdropPaddingY,n+2*s.backdropPaddingX,u+2*s.backdropPaddingY)}c.textAlign="center",c.textBaseline="middle",c.fillStyle=o,c.fillText(t,0,-i),c.restore()}}}),(t.angleLines.display||t.pointLabels.display)&&function(t){var e=t.ctx,i=k.valueOrDefault,o=t.options,n=o.angleLines,a=o.pointLabels;e.lineWidth=n.lineWidth,e.strokeStyle=n.color;var r,s,l,c,d=t.getDistanceFromCenterForValue(o.ticks.reverse?t.min:t.max),u=x(t);e.textBaseline="top";for(var h=y(t)-1;0<=h;h--){if(n.display){var f=t.getPointPosition(h,d);e.beginPath(),e.moveTo(t.xCenter,t.yCenter),e.lineTo(f.x,f.y),e.stroke(),e.closePath()}if(a.display){var p=t.getPointPosition(h,d+5),g=i(a.fontColor,b.defaultFontColor);e.font=u.font,e.fillStyle=g;var m=t.getIndexAngle(h),v=k.toDegrees(m);e.textAlign=0===(c=v)||180===c?"center":c<180?"left":"right",r=v,s=t._pointLabelSizes[h],l=p,90===r||270===r?l.y-=s.h/2:(270<r||r<90)&&(l.y-=s.h),w(e,t.pointLabels[h]||"",p,u.size)}}}(a)}}});t.scaleService.registerScaleType("radialLinear",i,e)}},{25:25,34:34,45:45}],57:[function(t,e,i){"use strict";var y=t(1);y="function"==typeof y?y:window.moment;var r=t(25),m=t(45),p=Number.MIN_SAFE_INTEGER||-9007199254740991,g=Number.MAX_SAFE_INTEGER||9007199254740991,x={millisecond:{common:!0,size:1,steps:[1,2,5,10,20,50,100,250,500]},second:{common:!0,size:1e3,steps:[1,2,5,10,30]},minute:{common:!0,size:6e4,steps:[1,2,5,10,30]},hour:{common:!0,size:36e5,steps:[1,2,3,6,12]},day:{common:!0,size:864e5,steps:[1,2,5]},week:{common:!1,size:6048e5,steps:[1,2,3,4]},month:{common:!0,size:2628e6,steps:[1,2,3]},quarter:{common:!1,size:7884e6,steps:[1,2,3,4]},year:{common:!0,size:3154e7}},w=Object.keys(x);function v(t,e){return t-e}function b(t){var e,i,o,n={},a=[];for(e=0,i=t.length;e<i;++e)n[o=t[e]]||(n[o]=!0,a.push(o));return a}function k(t,e,i,o){var n=function(t,e,i){for(var o,n,a,r=0,s=t.length-1;0<=r&&r<=s;){if(n=t[(o=r+s>>1)-1]||null,a=t[o],!n)return{lo:null,hi:a};if(a[e]<i)r=o+1;else{if(!(n[e]>i))return{lo:n,hi:a};s=o-1}}return{lo:a,hi:null}}(t,e,i),a=n.lo?n.hi?n.lo:t[t.length-2]:t[0],r=n.lo?n.hi?n.hi:t[t.length-1]:t[1],s=r[e]-a[e],l=s?(i-a[e])/s:0,c=(r[o]-a[o])*l;return a[o]+c}function s(t,e){var i=e.parser,o=e.parser||e.format;return"function"==typeof i?i(t):"string"==typeof t&&"string"==typeof o?y(t,o):(t instanceof y||(t=y(t)),t.isValid()?t:"function"==typeof o?o(t):t)}function S(t,e){if(m.isNullOrUndef(t))return null;var i=e.options.time,o=s(e.getRightValue(t),i);return o.isValid()?(i.round&&o.startOf(i.round),o.valueOf()):null}function C(t){for(var e=w.indexOf(t)+1,i=w.length;e<i;++e)if(x[w[e]].common)return w[e]}function T(t,e,i,o){var n,a=o.time,r=a.unit||function(t,e,i,o){var n,a,r,s=w.length;for(n=w.indexOf(t);n<s-1;++n)if(r=(a=x[w[n]]).steps?a.steps[a.steps.length-1]:g,a.common&&Math.ceil((i-e)/(r*a.size))<=o)return w[n];return w[s-1]}(a.minUnit,t,e,i),s=C(r),l=m.valueOrDefault(a.stepSize,a.unitStepSize),c="week"===r&&a.isoWeekday,d=o.ticks.major.enabled,u=x[r],h=y(t),f=y(e),p=[];for(l||(l=function(t,e,i,o){var n,a,r,s=e-t,l=x[i],c=l.size,d=l.steps;if(!d)return Math.ceil(s/((o||1)*c));for(n=0,a=d.length;n<a&&(r=d[n],!(Math.ceil(s/(c*r))<=o));++n);return r}(t,e,r,i)),c&&(h=h.isoWeekday(c),f=f.isoWeekday(c)),h=h.startOf(c?"day":r),(f=f.startOf(c?"day":r))<e&&f.add(1,r),n=y(h),d&&s&&!c&&!a.round&&(n.startOf(s),n.add(~~((h-n)/(u.size*l))*l,r));n<f;n.add(l,r))p.push(+n);return p.push(+n),p}e.exports=function(e){var t=e.Scale.extend({initialize:function(){if(!y)throw new Error("Chart.js - Moment.js could not be found! You must include it before Chart.js to use the time scale. Download at https://momentjs.com");this.mergeTicksOptions(),e.Scale.prototype.initialize.call(this)},update:function(){var t=this.options;return t.time&&t.time.format&&console.warn("options.time.format is deprecated and replaced by options.time.parser."),e.Scale.prototype.update.apply(this,arguments)},getRightValue:function(t){return t&&void 0!==t.t&&(t=t.t),e.Scale.prototype.getRightValue.call(this,t)},determineDataLimits:function(){var t,e,i,o,n,a,r=this,s=r.chart,l=r.options.time,c=g,d=p,u=[],h=[],f=[];for(t=0,i=s.data.labels.length;t<i;++t)f.push(S(s.data.labels[t],r));for(t=0,i=(s.data.datasets||[]).length;t<i;++t)if(s.isDatasetVisible(t))if(n=s.data.datasets[t].data,m.isObject(n[0]))for(h[t]=[],e=0,o=n.length;e<o;++e)a=S(n[e],r),u.push(a),h[t][e]=a;else u.push.apply(u,f),h[t]=f.slice(0);else h[t]=[];f.length&&(f=b(f).sort(v),c=Math.min(c,f[0]),d=Math.max(d,f[f.length-1])),u.length&&(u=b(u).sort(v),c=Math.min(c,u[0]),d=Math.max(d,u[u.length-1])),c=S(l.min,r)||c,d=S(l.max,r)||d,c=c===g?+y().startOf("day"):c,d=d===p?+y().endOf("day")+1:d,r.min=Math.min(c,d),r.max=Math.max(c+1,d),r._horizontal=r.isHorizontal(),r._table=[],r._timestamps={data:u,datasets:h,labels:f}},buildTicks:function(){var t,e,i,o,n,a,r,s,l,c,d,u,h=this,f=h.min,p=h.max,g=h.options,m=g.time,v=[],b=[];switch(g.ticks.source){case"data":v=h._timestamps.data;break;case"labels":v=h._timestamps.labels;break;case"auto":default:v=T(f,p,h.getLabelCapacity(f),g)}for("ticks"===g.bounds&&v.length&&(f=v[0],p=v[v.length-1]),f=S(m.min,h)||f,p=S(m.max,h)||p,t=0,e=v.length;t<e;++t)f<=(i=v[t])&&i<=p&&b.push(i);
1return h.min=f,h.max=p,h._unit=m.unit||function(t,e,i,o){var n,a,r=y.duration(y(o).diff(y(i)));for(n=w.length-1;n>=w.indexOf(e);n--)if(a=w[n],x[a].common&&r.as(a)>=t.length)return a;return w[e?w.indexOf(e):0]}(b,m.minUnit,h.min,h.max),h._majorUnit=C(h._unit),h._table=function(t,e,i,o){if("linear"===o||!t.length)return[{time:e,pos:0},{time:i,pos:1}];var n,a,r,s,l,c=[],d=[e];for(n=0,a=t.length;n<a;++n)e<(s=t[n])&&s<i&&d.push(s);for(d.push(i),n=0,a=d.length;n<a;++n)l=d[n+1],r=d[n-1],s=d[n],void 0!==r&&void 0!==l&&Math.round((l+r)/2)===s||c.push({time:s,pos:n/(a-1)});return c}(h._timestamps.data,f,p,g.distribution),h._offsets=(o=h._table,n=b,a=f,r=p,u=d=0,(s=g).offset&&n.length&&(s.time.min||(l=1<n.length?n[1]:r,c=n[0],d=(k(o,"time",l,"pos")-k(o,"time",c,"pos"))/2),s.time.max||(l=n[n.length-1],c=1<n.length?n[n.length-2]:a,u=(k(o,"time",l,"pos")-k(o,"time",c,"pos"))/2)),{left:d,right:u}),function(t,e){var i,o,n,a,r=[];for(i=0,o=t.length;i<o;++i)n=t[i],a=!!e&&n===+y(n).startOf(e),r.push({value:n,major:a});return r}(b,h._majorUnit)},getLabelForIndex:function(t,e){var i=this.chart.data,o=this.options.time,n=i.labels&&t<i.labels.length?i.labels[t]:"",a=i.datasets[e].data[t];return m.isObject(a)&&(n=this.getRightValue(a)),o.tooltipFormat&&(n=s(n,o).format(o.tooltipFormat)),n},tickFormatFunction:function(t,e,i,o){var n=this.options,a=t.valueOf(),r=n.time.displayFormats,s=r[this._unit],l=this._majorUnit,c=r[l],d=t.clone().startOf(l).valueOf(),u=n.ticks.major,h=u.enabled&&l&&c&&a===d,f=t.format(o||(h?c:s)),p=h?u:n.ticks.minor,g=m.valueOrDefault(p.callback,p.userCallback);return g?g(f,e,i):f},convertTicksToLabels:function(t){var e,i,o=[];for(e=0,i=t.length;e<i;++e)o.push(this.tickFormatFunction(y(t[e].value),e,t));return o},getPixelForOffset:function(t){var e=this,i=e._horizontal?e.width:e.height,o=e._horizontal?e.left:e.top,n=k(e._table,"time",t,"pos");return o+i*(e._offsets.left+n)/(e._offsets.left+1+e._offsets.right)},getPixelForValue:function(t,e,i){var o=null;if(void 0!==e&&void 0!==i&&(o=this._timestamps.datasets[i][e]),null===o&&(o=S(t,this)),null!==o)return this.getPixelForOffset(o)},getPixelForTick:function(t){var e=this.getTicks();return 0<=t&&t<e.length?this.getPixelForOffset(e[t].value):null},getValueForPixel:function(t){var e=this,i=e._horizontal?e.width:e.height,o=e._horizontal?e.left:e.top,n=(i?(t-o)/i:0)*(e._offsets.left+1+e._offsets.left)-e._offsets.right,a=k(e._table,"pos",n,"time");return y(a)},getLabelWidth:function(t){var e=this.options.ticks,i=this.ctx.measureText(t).width,o=m.toRadians(e.maxRotation),n=Math.cos(o),a=Math.sin(o);return i*n+m.valueOrDefault(e.fontSize,r.global.defaultFontSize)*a},getLabelCapacity:function(t){var e=this.options.time.displayFormats.millisecond,i=this.tickFormatFunction(y(t),0,[],e),o=this.getLabelWidth(i),n=this.isHorizontal()?this.width:this.height;return Math.floor(n/o)}});e.scaleService.registerScaleType("time",t,{position:"bottom",distribution:"linear",bounds:"data",time:{parser:!1,format:!1,unit:!1,round:!1,displayFormat:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{millisecond:"h:mm:ss.SSS a",second:"h:mm:ss a",minute:"h:mm a",hour:"hA",day:"MMM D",week:"ll",month:"MMM YYYY",quarter:"[Q]Q - YYYY",year:"YYYY"}},ticks:{autoSkip:!1,source:"auto",major:{enabled:!1}}})}},{1:1,25:25,45:45}]},{},[7])(7)}),function(f){var y=window;Object.keys||(Object.keys=function(){"use strict";var n=Object.prototype.hasOwnProperty,a=!{toString:null}.propertyIsEnumerable("toString"),r=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],s=r.length;return function(t){if("object"!=typeof t&&("function"!=typeof t||null===t))throw new TypeError("Object.keys called on non-object");var e,i,o=[];for(e in t)n.call(t,e)&&o.push(e);if(a)for(i=0;i<s;i++)n.call(t,r[i])&&o.push(r[i]);return o}}());var x=!1;location.hash;var w=["Days","Hours","Minutes","Seconds"],o={Seconds:"Minutes",Minutes:"Hours",Hours:"Days",Days:"Years"},k={Seconds:1,Minutes:60,Hours:3600,Days:86400,Months:2678400,Years:31536e3};function a(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)}function S(t,e,i,o,n){for(var a={},r={},s={},l={},c={},d={},u=null,h=0;h<o.length;h++){var f,p=o[h];f=null===u?i/k[p]:k[u]/k[p];var g=t/k[p],m=e/k[p];n&&(g=0<g?Math.floor(g):Math.ceil(g),m=0<m?Math.floor(m):Math.ceil(m)),"Days"!==p&&(g%=f,m%=f),a[p]=g,s[p]=Math.abs(g),r[p]=m,d[p]=Math.abs(m),l[p]=Math.abs(g)/f,c[p]=Math.abs(m)/f,u=p}return{raw_time:a,raw_old_time:r,time:s,old_time:d,pct:l,old_pct:c}}Array.prototype.indexOf||(Array.prototype.indexOf=function(t){var e=this.length>>>0,i=Number(arguments[1])||0;for((i=i<0?Math.ceil(i):Math.floor(i))<0&&(i+=e);i<e;i++)if(i in this&&this[i]===t)return i;return-1});var r={};function n(){void 0!==y.TC_Instance_List?r=y.TC_Instance_List:y.TC_Instance_List=r,function(r){for(var t=["webkit","moz"],e=0;e<t.length&&!r.requestAnimationFrame;++e)r.requestAnimationFrame=r[t[e]+"RequestAnimationFrame"],r.cancelAnimationFrame=r[t[e]+"CancelAnimationFrame"];r.requestAnimationFrame&&r.cancelAnimationFrame||(r.requestAnimationFrame=function(t,e,
1i){void 0===i&&(i={data:{last_frame:0}});var o=(new Date).getTime(),n=Math.max(0,16-(o-i.data.last_frame)),a=r.setTimeout(function(){t(o+n)},n);return i.data.last_frame=o+n,a},r.cancelAnimationFrame=function(t){clearTimeout(t)})}(y)}var s=function(t,e){this.element=t,this.container,this.listeners=null,this.data={paused:!1,last_frame:0,animation_frame:null,interval_fallback:null,timer:!1,total_duration:null,prev_time:null,drawn_units:[],text_elements:{Days:null,Hours:null,Minutes:null,Seconds:null},attributes:{canvas:null,context:null,item_size:null,line_width:null,radius:null,outer_radius:null},state:{fading:{Days:!1,Hours:!1,Minutes:!1,Seconds:!1}}},this.config=null,this.setOptions(e),this.initialize()};s.prototype.clearListeners=function(){this.listeners={all:[],visible:[]}},s.prototype.addTime=function(t){if(this.data.attributes.ref_date instanceof Date){var e=this.data.attributes.ref_date;e.setSeconds(e.getSeconds()+t)}else isNaN(this.data.attributes.ref_date)||(this.data.attributes.ref_date+=1e3*t)},s.prototype.initialize=function(t){this.data.drawn_units=[];for(var e=0;e<Object.keys(this.config.time).length;e++){var i=Object.keys(this.config.time)[e];this.config.time[i].show&&this.data.drawn_units.push(i)}f(this.element).children("div.time_circles").remove(),void 0===t&&(t=!0),(t||null===this.listeners)&&this.clearListeners(),this.container=f("<div>"),this.container.addClass("time_circles"),this.container.appendTo(this.element);var o=this.element.offsetHeight,n=this.element.offsetWidth;0===o&&(o=f(this.element).height()),0===n&&(n=f(this.element).width()),0===o&&0<n?o=n/this.data.drawn_units.length:0===n&&0<o&&(n=o*this.data.drawn_units.length);var a=document.createElement("canvas");a.width=n,a.height=o,this.data.attributes.canvas=f(a),this.data.attributes.canvas.appendTo(this.container);var r,s=!(!(r=document.createElement("canvas")).getContext||!r.getContext("2d"));s||"undefined"==typeof G_vmlCanvasManager||(G_vmlCanvasManager.initElement(a),s=x=!0),s&&(this.data.attributes.context=a.getContext("2d")),this.data.attributes.item_size=Math.min(n/this.data.drawn_units.length,o),this.data.attributes.line_width=this.data.attributes.item_size*this.config.fg_width,this.data.attributes.radius=(.8*this.data.attributes.item_size-this.data.attributes.line_width)/2,this.data.attributes.outer_radius=this.data.attributes.radius+.5*Math.max(this.data.attributes.line_width,this.data.attributes.line_width*this.config.bg_width);e=0;for(var l in this.data.text_elements)if(this.config.time[l].show){var c=f("<div>");c.addClass("textDiv_"+l),c.css("top",Math.round(.35*this.data.attributes.item_size)),c.css("left",Math.round(e++*this.data.attributes.item_size)),c.css("width",this.data.attributes.item_size),c.appendTo(this.container);var d=f("<h4>");d.text(this.config.time[l].text),d.css("font-size",Math.round(this.config.text_size*this.data.attributes.item_size)),d.appendTo(c);var u=f("<span>");u.css("font-size",Math.round(this.config.number_size*this.data.attributes.item_size)),u.appendTo(c),this.data.text_elements[l]=u}this.start(),this.config.start||(this.data.paused=!0);var h=this;this.data.interval_fallback=y.setInterval(function(){h.update.call(h,!0)},100)},s.prototype.update=function(t){if(void 0===t)t=!1;else if(t&&this.data.paused)return;var e,i;x&&this.data.attributes.context.clearRect(0,0,this.data.attributes.canvas[0].width,this.data.attributes.canvas[0].hright);var o=this.data.prev_time,n=new Date;if(this.data.prev_time=n,null===o&&(o=n),!this.config.count_past_zero&&n>this.data.attributes.ref_date){for(var a=0;a<this.data.drawn_units.length;a++){var r=this.data.drawn_units[a];this.data.text_elements[r].text("0");var s=a*this.data.attributes.item_size+this.data.attributes.item_size/2,l=this.data.attributes.item_size/2,c=this.config.time[r].color;this.drawArc(s,l,c,0)}this.stop()}else{e=(this.data.attributes.ref_date-n)/1e3,i=(this.data.attributes.ref_date-o)/1e3;var d="smooth"!==this.config.animation,u=S(e,i,this.data.total_duration,this.data.drawn_units,d),h=S(e,i,k.Years,w,d),f=(a=0,0),p=null,g=this.data.drawn_units.slice();for(var a in w){r=w[a];if(Math.floor(h.raw_time[r])!==Math.floor(h.raw_old_time[r])&&this.notifyListeners(r,Math.floor(h.time[r]),Math.floor(e),"all"),!(g.indexOf(r)<0)){if
1(Math.floor(u.raw_time[r])!==Math.floor(u.raw_old_time[r])&&this.notifyListeners(r,Math.floor(u.time[r]),Math.floor(e),"visible"),!t){this.data.text_elements[r].text(Math.floor(Math.abs(u.time[r])));s=f*this.data.attributes.item_size+this.data.attributes.item_size/2,l=this.data.attributes.item_size/2,c=this.config.time[r].color;"smooth"===this.config.animation?(null===p||x||(Math.floor(u.time[p])>Math.floor(u.old_time[p])?(this.radialFade(s,l,c,1,r),this.data.state.fading[r]=!0):Math.floor(u.time[p])<Math.floor(u.old_time[p])&&(this.radialFade(s,l,c,0,r),this.data.state.fading[r]=!0)),this.data.state.fading[r]||this.drawArc(s,l,c,u.pct[r])):this.animateArc(s,l,c,u.pct[r],u.old_pct[r],(new Date).getTime()+200)}p=r,f++}}if(!this.data.paused&&!t){var m=this,v=function(){m.update.call(m)};if("smooth"===this.config.animation)this.data.animation_frame=y.requestAnimationFrame(v,m.element,m);else{var b=e%1*1e3;b<0&&(b=1e3+b),b+=50,m.data.animation_frame=y.setTimeout(function(){m.data.animation_frame=y.requestAnimationFrame(v,m.element,m)},b)}}}},s.prototype.animateArc=function(t,e,i,o,n,a){if(null!==this.data.attributes.context){var r=n-o;if(.5<Math.abs(r))0===o?this.radialFade(t,e,i,1):this.radialFade(t,e,i,0);else{var s=(200-(a-(new Date).getTime()))/200;1<s&&(s=1);var l=n*(1-s)+o*s;if(this.drawArc(t,e,i,l),1<=s)return;var c=this;y.requestAnimationFrame(function(){c.animateArc(t,e,i,o,n,a)},this.element)}}},s.prototype.drawArc=function(t,e,i,o){if(null!==this.data.attributes.context){var n,a,r,s=Math.max(this.data.attributes.outer_radius,this.data.attributes.item_size/2);x||this.data.attributes.context.clearRect(t-s,e-s,2*s,2*s),this.config.use_background&&(this.data.attributes.context.beginPath(),this.data.attributes.context.arc(t,e,this.data.attributes.radius,0,2*Math.PI,!1),this.data.attributes.context.lineWidth=this.data.attributes.line_width*this.config.bg_width,this.data.attributes.context.strokeStyle=this.config.circle_bg_color,this.data.attributes.context.stroke());var l=-.5*Math.PI,c=2*Math.PI;n=l+this.config.start_angle/360*c;var d=2*o*Math.PI;"Both"===this.config.direction?(r=!1,a=(n-=d/2)+d):"Clockwise"===this.config.direction?(r=!1,a=n+d):(r=!0,a=n-d),this.data.attributes.context.beginPath(),this.data.attributes.context.arc(t,e,this.data.attributes.radius,n,a,r),this.data.attributes.context.lineWidth=this.data.attributes.line_width,this.data.attributes.context.strokeStyle=i,this.data.attributes.context.stroke()}},s.prototype.radialFade=function(i,o,t,n,e){var a,r=function(t){var e=/^rgba?\(([\d]+),([\d]+),([\d]+)(,([\d\.]+))?\)$/;if(e.test(t)){var i=e.exec(t);return{r:parseInt(i[1]),g:parseInt(i[2]),b:parseInt(i[3]),a:parseInt(i[5]?i[5]:1)}}return t=t.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i,function(t,e,i,o){return e+e+i+i+o+o}),(i=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t))?{r:parseInt(i[1],16),g:parseInt(i[2],16),b:parseInt(i[3],16)}:null}(t),s=this,l=.2*(1===n?-1:1);for(a=0;n<=1&&0<=n;a++)!function(){var t=50*a,e="rgba("+r.r+", "+r.g+", "+r.b+", "+Math.round(10*n)/10+")";y.setTimeout(function(){s.drawArc(i,o,e,1)},t)}(),n+=l;void 0!==typeof e&&y.setTimeout(function(){s.data.state.fading[e]=!1},50*a)},s.prototype.timeLeft=function(){if(this.data.paused&&"number"==typeof this.data.timer)return this.data.timer;var t=new Date;return(this.data.attributes.ref_date-t)/1e3},s.prototype.start=function(){y.cancelAnimationFrame(this.data.animation_frame),y.clearTimeout(this.data.animation_frame);var t=f(this.element).data("date");if(void 0===t&&(t=f(this.element).attr("data-date")),"string"==typeof t)this.data.attributes.ref_date=function(t){var e=t.match(/^[0-9]{4}-[0-9]{2}-[0-9]{2}\s[0-9]{1,2}:[0-9]{2}:[0-9]{2}$/);if(null!==e&&0<e.length){var i=t.split(" "),o=i[0].split("-"),n=i[1].split(":");return new Date(o[0],o[1]-1,o[2],n[0],n[1],n[2])}var a=Date.parse(t);return isNaN(a)?(a=Date.parse(t.replace(/-/g,"/").replace("T"," ")),isNaN(a)?new Date:a):a}(t);else if("number"==typeof this.data.timer)this.data.paused&&(this.data.attributes.ref_date=(new Date).getTime()+1e3*this.data.timer);else{var e=f(this.element).data("timer");void 0===e&&(e=f(this.element).attr("data-timer")),"string"==typeof e&&(e=parseFloat(e)),"number"==typeof e?(this.data.timer=e,this.data.attributes.ref_date=(new Date).getTime()+1e3*e):this.data.attributes.ref_date=this.config.ref_date}this.data.paused=!1,this.update.call(this)},s.prototype.restart=function(){this.data.timer=!1,this.start()},s.prototype.stop=function(){"number"==typeof this.data.timer&&(this.data.timer=this.timeLeft(this)),this.data.paused=!0,y.cancelAnimationFrame(this.data.animation_frame)},s.prototype.destroy=function(){this.clearListeners(),this.stop(),y.clearInterval(this.data.interval_fallback),this.data.interval_fallback=null,this.container.remove(),f(this.element).removeAttr("data-tc-id"),f(this.element).removeData("tc-id")},s.prototype.setOptions=function(t){if(null===this.config&&(this.default_options.ref_date=new Date,this.config=f.extend(!0,{},this.default_options)),f.extend(!0,this.config,t),y=this.config.use_top_frame?window.top:window,n(),this.data.total_duration=this.config.total_duration,"string"==typeof this.data.total_duration)if(void 0!==k[this.data.total_duration])this.data.total_duration=k[this.data.total_duration];else if("Auto"===this.data.total_duration)for(var e=0;e<Object.keys(this.config.time).length;e++){var i=Object.keys(this.config.time)[e];if(this.config.time[i].show){this.data.total_duration=k[o[i]];break}}else this.data.total_duration=k.Years,console.error("Valid values for TimeCircles config.total_duration are either numeric, or (string) Years, Months, Days, Hours, Minutes, Auto")}
1,s.prototype.addListener=function(t,e,i){"function"==typeof t&&(void 0===i&&(i="visible"),this.listeners[i].push({func:t,scope:e}))},s.prototype.notifyListeners=function(t,e,i,o){for(var n=0;n<this.listeners[o].length;n++){var a=this.listeners[o][n];a.func.apply(a.scope,[t,e,i])}},s.prototype.default_options={ref_date:new Date,start:!0,animation:"smooth",count_past_zero:!0,circle_bg_color:"#60686F",use_background:!0,fg_width:.1,bg_width:1.2,text_size:.07,number_size:.28,total_duration:"Auto",direction:"Clockwise",use_top_frame:!1,start_angle:0,time:{Days:{show:!0,text:"Days",color:"#FC6"},Hours:{show:!0,text:"Hours",color:"#9CF"},Minutes:{show:!0,text:"Minutes",color:"#BFB"},Seconds:{show:!0,text:"Seconds",color:"#F99"}}};var e=function(t,e){this.elements=t,this.options=e,this.foreach()};e.prototype.getInstance=function(t){var e,i=f(t).data("tc-id");if(void 0===i&&(i=a()+a()+"-"+a()+"-"+a()+"-"+a()+"-"+a()+a()+a(),f(t).attr("data-tc-id",i)),void 0===r[i]){var o=this.options,n=f(t).data("options");"string"==typeof n&&(n=JSON.parse(n)),"object"==typeof n&&(o=f.extend(!0,{},this.options,n)),e=new s(t,o),r[i]=e}else e=r[i],void 0!==this.options&&e.setOptions(this.options);return e},e.prototype.addTime=function(e){this.foreach(function(t){t.addTime(e)})},e.prototype.foreach=function(e){var i=this;return this.elements.each(function(){var t=i.getInstance(this);"function"==typeof e&&e(t)}),this},e.prototype.start=function(){return this.foreach(function(t){t.start()}),this},e.prototype.stop=function(){return this.foreach(function(t){t.stop()}),this},e.prototype.restart=function(){return this.foreach(function(t){t.restart()}),this},e.prototype.rebuild=function(){return this.foreach(function(t){t.initialize(!1)}),this},e.prototype.getTime=function(){return this.getInstance(this.elements[0]).timeLeft()},e.prototype.addListener=function(e,i){void 0===i&&(i="visible");var o=this;return this.foreach(function(t){t.addListener(e,o.elements,i)}),this},e.prototype.destroy=function(){return this.foreach(function(t){t.destroy()}),this},e.prototype.end=function(){return this.elements},f.fn.TimeCircles=function(t){return new e(this,t)}}(jQuery),function(a){a.fn.niceSelect=function(t){if("string"==typeof t)return"update"==t?this.each(function(){var t=a(this),e=a(this).next(".nice-select"),i=e.hasClass("open");e.length&&(e.remove(),o(t),i&&t.next().trigger("click"))}):"destroy"==t?(this.each(function(){var t=a(this),e=a(this).next(".nice-select");e.length&&(e.remove(),t.css("display",""))}),0==a(".nice-select").length&&a(document).off(".nice_select")):console.log('Method "'+t+'" does not exist.'),this;function o(t){t.after(a("<div></div>").addClass("nice-select").addClass(t.attr("class")||"").addClass(t.attr("disabled")?"disabled":"").attr("tabindex",t.attr("disabled")?null:"0").html('<span class="current"></span><ul class="list"></ul>'));var o=t.next(),e=t.find("option"),i=t.find("option:selected");o.find(".current").html(i.data("display")||i.text()),e.each(function(t){var e=a(this),i=e.data("display");o.find("ul").append(a("<li></li>").attr("data-value",e.val()).attr("data-display",i||null).addClass("option"+(e.is(":selected")?" selected":"")+(e.is(":disabled")?" disabled":"")).html(e.text()))})}this.hide(),this.each(function(){var t=a(this);t.next().hasClass("nice-select")||o(t)}),a(document).off(".nice_select"),a(document).on("click.nice_select",".nice-select",function(t){var e=a(this);a(".nice-select").not(e).removeClass("open"),e.toggleClass("open"),e.hasClass("open")?(e.find(".option"),e.find(".focus").removeClass("focus"),e.find(".selected").addClass("focus")):e.focus()}),a(document).on("click.nice_select",function(t){0===a(t.target).closest(".nice-select").length&&a(".nice-select").removeClass("open").find(".option")}),a(document).on("click.nice_select",".nice-select .option:not(.disabled)",function(t){var e=a(this),i=e.closest(".nice-select");i.find(".selected").removeClass("selected"),e.addClass("selected");var o=e.data("display")||e.text();i.find(".current").text(o),i.prev("select").val(e.data("value")).trigger("change")}),a(document).on("keydown.nice_select",".nice-select",function(t){var e=a(this),i=a(e.find(".focus")||e.find(".list .option.selected"));if(32==t.keyCode||13==t.keyCode)return e.hasClass("open")?i.trigger("click"):e.trigger("click"),!1;if(40==t.keyCode){if(e.hasClass("open")){var o=i.nextAll(".option:not(.disabled)").first();0<o.length&&(e.find(".focus").removeClass("focus"),o.addClass("focus"))}else e.trigger("click");return!1}if(38==t.keyCode){if(e.hasClass("open")){var n=i.prevAll(".option:not(.disabled)").first();0<n.length&&(e.find(".focus").removeClass("focus"),n.addClass("focus"))}else e.trigger("click");return!1}if(27==t.keyCode)e.hasClass("open")&&e.trigger("click");else if(9==t.keyCode&&e.hasClass("open"))return!1});var e=document.createElement("a").style;return e.cssText="pointer-events:auto","auto"!==e.pointerEvents&&a("html").addClass("no-csspointerevents"),this}}(jQuery),function(b){"use strict";var e,y=b(window),x=document.documentElement,t=document.body||document.getElementsByTagName("body")[0],w=(b(t),window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame||function(t){setTimeout(t,1e3/60)});
1new LazyLoad({elements_selector:".lazy",data_src:"src",data_srcset:"srcset",threshold:500,callback_enter:function(t){},callback_load:function(t){t.removeAttribute("data-src");var e=setTimeout(function(){clearTimeout(e),AOS.refresh()},500)},callback_set:function(t){},callback_error:function(t){t.src="https://placeholdit.imgix.net/~text?txtsize=21&txt=Image%20not%20load&w=200&h=200"}});AOS.init({offset:120,delay:100,duration:450,easing:"ease-in-out-quad",once:!0,disable:"mobile"}),b(document).ready(function(){var t,e,i,o,n,a,r,s,l,c,d,u,h,f,p,g,m,v;t=document.getElementById("top-bar"),e=document.getElementById("top-bar__navigation-toggler"),i=document.getElementById("top-bar__navigation"),o=b(t),n=b(e),a=b(i),r=a.find("li a"),0<(s=a.find(".submenu")).length&&s.parent("li").addClass("has-submenu"),0===b("#start-screen").length&&b("#intro"),r.on("touchend click",function(t){var e=b(this),i=e.parent();if(n.is(":visible")&&e.next(s).length)return e.next().is(":visible")?(i.removeClass("drop_active"),e.next().slideUp("fast")):(e.closest("ul").find("li").removeClass("drop_active"),e.closest("ul").find(".submenu").slideUp("fast"),i.addClass("drop_active"),e.next().slideDown("fast")),!1}),n.on("touchend click",function(t){t.preventDefault();var e=b(this);return e.toggleClass("is-active"),o.toggleClass("is-expanded"),e.hasClass("is-active")?x.style.overflow="hidden":x.style.overflow="",!1}),y.smartresize(function(){991<=window.innerWidth&&(o.removeClass("is-expanded"),n.removeClass("is-active"),s.removeAttr("style"),x.style.overflow="")}),y.on("scroll",{previousTop:0},function(){var t=y.scrollTop();o.hasClass("is-expanded")||(t<this.previousTop?0<t&&o.hasClass("is-fixed")?o.addClass("is-visible"):(o.removeClass("is-visible is-fixed"),o.hasClass("top-bar--light")&&o.hasClass("top-bar--dark")&&o.removeClass("top-bar--dark")):(o.removeClass("is-visible"),200<t&&!o.hasClass("is-fixed")&&o.addClass("is-fixed top-bar--dark")),this.previousTop=t)}),function(){var t=document.getElementById("top-bar__choose-lang"),n=b(t);if(0<n.length){var a=n.find(".img--active"),r=n.find(".list"),e=r.children("li");n.on("click","i",function(){r.slideToggle(),n.toggleClass("is-active")}),e.on("click",function(t){t.preventDefault();var e=a.attr("src"),i=b(this).children("img"),o=i.attr("src");return a.attr("src",o),i.attr("src",e),r.delay(300).slideUp(function(){n.removeClass("is-active")}),!1})}}(),0<(l=b(".start-screen__slider")).length&&l.slick({autoplay:!0,autoplaySpeed:3e3,adaptiveHeight:!0,speed:1e3,mobileFirst:!0,slidesToShow:1,dots:!0,arrows:!1,prevArrow:'<i class="fontello-left-open slick-prev"></i>',nextArrow:'<i class="fontello-right-open slick-next"></i>'}),0<(c=b(".posts--slider")).length&&c.slick({autoplay:!0,autoplaySpeed:3e3,adaptiveHeight:!0,speed:800,mobileFirst:!0,slidesToShow:1,dots:!0,arrows:!1,prevArrow:'<i class="fontello-left-open slick-prev"></i>',nextArrow:'<i class="fontello-right-open slick-next"></i>',responsive:[{breakpoint:560,settings:{slidesToShow:2,slidesToScroll:2}},{breakpoint:992,settings:{slidesToShow:3,slidesToScroll:1}},{breakpoint:1200,settings:{slidesToShow:4,slidesToScroll:2}},{breakpoint:1700,settings:{slidesToShow:5,slidesToScroll:2}}]}),0<(d=b(".testimonial--slider")).length&&d.slick({autoplay:!0,autoplaySpeed:3e3,adaptiveHeight:!0,speed:800,dots:!0,arrows:!1,prevArrow:'<i class="fontello-left-open slick-prev"></i>',nextArrow:'<i class="fontello-right-open slick-next"></i>'}),0<(u=b(".review--slider")).length&&u.slick({autoplay:!0,autoplaySpeed:3e3,adaptiveHeight:!0,speed:800,mobileFirst:!0,slidesToShow:1,slidesToScroll:1,dots:!0,arrows:!1,prevArrow:'<i class="fontello-left-open slick-prev"></i>',nextArrow:'<i class="fontello-right-open slick-next"></i>',responsive:[{breakpoint:768,settings:{slidesToShow:2,slidesToScroll:1}}]}),0<(h=b(".word-rotating--slider")).length&&h.slick({autoplay:!0,autoplaySpeed:3e3,adaptiveHeight:!0,speed:800,dots:!0,arrows:!1,prevArrow:'<i class="fontello-left-open slick-prev"></i>',nextArrow:'<i class="fontello-right-open slick-next"></i>'}),0<(f=b(".screenshots--slider")).length&&f.slick({autoplay:!0,autoplaySpeed:3e3,adaptiveHeight:!0,speed:800,mobileFirst:!0,slidesToShow:1,slidesToScroll:1,dots:!0,arrows:!1,prevArrow:'<i class="fontello-left-open slick-prev"></i>',nextArrow:'<i class="fontello-right-open slick-next"></i>',responsive:[{breakpoint:560,settings:{centerMode:!0,centerPadding:"15%",slidesToShow:1,slidesToScroll:1}}
1,{breakpoint:1700,settings:{centerMode:!0,centerPadding:"10%",slidesToShow:2,slidesToScroll:2}}]}),0<(p=b(".feature--slider")).length&&p.slick({autoplay:!0,autoplaySpeed:3e3,adaptiveHeight:!0,speed:800,mobileFirst:!0,slidesToShow:1,slidesToScroll:1,dots:!0,arrows:!1,prevArrow:'<i class="fontello-left-open slick-prev"></i>',nextArrow:'<i class="fontello-right-open slick-next"></i>',responsive:[]}),0<(g=b(".projects--slider")).length&&g.slick({autoplay:!0,autoplaySpeed:3e3,adaptiveHeight:!0,speed:800,mobileFirst:!0,slidesToShow:1,dots:!0,arrows:!1,prevArrow:'<i class="fontello-left-open slick-prev"></i>',nextArrow:'<i class="fontello-right-open slick-next"></i>',responsive:[{breakpoint:560,settings:{slidesToShow:2,slidesToScroll:2}},{breakpoint:992,settings:{slidesToShow:3,slidesToScroll:1}}]}),0<(m=b(".events--slider")).length&&m.slick({autoplay:!0,autoplaySpeed:3e3,adaptiveHeight:!0,speed:800,mobileFirst:!0,slidesToShow:1,dots:!0,arrows:!1,prevArrow:'<i class="fontello-left-open slick-prev"></i>',nextArrow:'<i class="fontello-right-open slick-next"></i>',responsive:[{breakpoint:560,settings:{slidesToShow:2,slidesToScroll:2}},{breakpoint:992,settings:{slidesToShow:3,slidesToScroll:1}},{breakpoint:1200,settings:{slidesToShow:4,slidesToScroll:2}},{breakpoint:1700,settings:{slidesToShow:5,slidesToScroll:2}}]}),0<b("a[data-fancybox]").length&&b("[data-fancybox]").fancybox({buttons:["slideShow","fullScreen","thumbs","close"],loop:!0,protect:!0,wheel:!1,transitionEffect:"tube",fixedContentPos:!1}),function(){var t=b(".accordion-container");if(0<t.length){var n=t.find(".accordion-item"),e=t.find(".accordion-toggler");t.each(function(){b(this).find(".accordion-item:eq(0)").addClass("active")}),e.on("click",function(t){t.preventDefault();var e=b(this),i=e.parent(),o=e.next("article");return i.toggleClass("active").siblings(n).removeClass("active").find("article").not(o).slideUp(),o.stop(!1,!0).slideToggle(),!1})}}(),function(){var t=b(".tab-container");if(0<t.length){var n=t.find("nav a");t.each(function(){b(this).find("nav a:eq(0)").addClass("active").end().find(".tab-content__item:eq(0)").addClass("is-visible")}),n.on("click",function(t){t.preventDefault();var e=b(this),i=e.index(),o=e.closest(".tab-container");return e.addClass("active").siblings(n).removeClass("active"),o.find(".tab-content__item.is-visible").removeClass("is-visible").end().find(".tab-content__item:eq("+i+")").addClass("is-visible"),!1})}}(),b('a[href*="#"]').not('[href="#"]').not('[href="#0"]').on("touchend click",function(t){if($this=b(this),_offset=135,location.pathname.replace(/^\//,"")==this.pathname.replace(/^\//,"")&&location.hostname==this.hostname){var e=b(this.hash);return(e=e.length?e:b("[name="+this.hash.slice(1)+"]")).length&&b("html,body").stop().animate({scrollTop:e.offset().top-_offset},1e3),!1}}),function(){var t=document.getElementById("btn-to-top-wrap"),e=b(t);if(0<e.length){var i=document.getElementById("btn-to-top"),o=b(i);o.on("click",function(t){return t.preventDefault(),b("body,html").stop().animate({scrollTop:0},1500),!1}),y.on("scroll",function(t){y.scrollTop()>o.data("visible-offset")?e.is(":hidden")&&e.fadeIn():e.is(":visible")&&e.fadeOut()})}}(),function(){if(device.desktop()){var t=document.querySelectorAll(".jarallax");jarallax(t,{type:"scroll",zIndex:-20,onScroll:function(t){},onInit:function(){},onDestroy:function(){},onCoverImage:function(){}})}}(),function(){var t=b(".js-count");function e(){t.each(function(){var t=b(this);t.is_on_screen()&&!t.hasClass("animate")&&t.addClass("animate").countTo({from:0,speed:2e3,refreshInterval:100})})}0<t.length&&(e(),y.on("scroll",function(t){w?w(function(){e()}):e()}))}(),objectFitImages(),0<(v=b(".js-contact-form")).length&&v.each(function(){b(this).on("submit",function(){var e=b(this),t=e.serialize(),i=e.find(".form__note");return b.ajax({type:"POST",url:"send_mail/contact_process.php",data:t,success:function(t){i.html('<span style="color: green"><br/>Your message has been sent. Thank you!</span>'),e.get(0).reset(),setTimeout(function(){i.html("")},3e3)},error:function(t){var e='<span style="color: red"><br/>Your message not sent! Error: "'+t.responseJSON.message+'"</span>';i.html(e)}
1,complete:function(){}}),!1})}),0<b(".js-select").length&&b(".js-select").niceSelect()}),y.on("load",function(){var o,t=b(".js-masonry");0<t.length&&t.masonry("layout"),0<(o=b(".g_map")).length&&(o.attr("data-api-key"),b.getScript("http://maps.google.com/maps/api/js?key=&sensor=false",function(t,e,i){o.each(function(){var t=b(this),e=new google.maps.LatLng(t.attr("data-longitude"),t.attr("data-latitude")),i=t.attr("data-marker"),o={zoom:14,center:e,mapTypeId:google.maps.MapTypeId.ROADMAP,mapTypeControl:!1,scrollwheel:!1,draggable:!0,panControl:!1,zoomControl:!1,disableDefaultUI:!0},n=new google.maps.Map(t[0],o),a=new google.maps.StyledMapType([{featureType:"all",elementType:"all",stylers:[{saturation:-100}]}],{name:"Grayscale"});n.mapTypes.set("Grayscale",a),n.setMapTypeId("Grayscale"),new google.maps.Marker({map:n,icon:{size:new google.maps.Size(62,74),origin:new google.maps.Point(0,0),anchor:new google.maps.Point(0,75),url:i},position:e}),google.maps.event.addDomListener(window,"resize",function(){var t=n.getCenter();google.maps.event.trigger(n,"resize"),n.setCenter(t)})})}))}),b.fn.is_on_screen=function(){var t={top:y.scrollTop(),left:y.scrollLeft()};t.right=t.left+y.width(),t.bottom=t.top+y.height();var e=this.offset();return e.right=e.left+this.outerWidth(),e.bottom=e.top+this.outerHeight(),!(t.right<e.left||t.left>e.right||t.bottom<e.top||t.top>e.bottom)},jQuery,e="smartresize",jQuery.fn[e]=function(t){return t?this.bind("resize",(i=t,function(){var t=this,e=arguments;a?clearTimeout(a):n&&i.apply(t,e),a=setTimeout(function(){n||i.apply(t,e),a=null},o||100)})):this.trigger(e);var i,o,n,a}}(jQuery);
2//# sourceMappingURL=main.min.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.